@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
|
@@ -90,9 +90,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
90
90
|
* geocoded results, you can set up a [search-complete](#event-search-complete) event handler and get the results
|
|
91
91
|
* through the event object.
|
|
92
92
|
*
|
|
93
|
-
* @default
|
|
93
|
+
* @default false
|
|
94
94
|
*/
|
|
95
|
-
|
|
95
|
+
autoSelectDisabled: boolean;
|
|
96
96
|
/**
|
|
97
97
|
* A read-only property that is a [Collection](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html)
|
|
98
98
|
* of [LayerSearchSource](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-LayerSearchSource.html)
|
|
@@ -117,9 +117,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
117
117
|
* Indicates whether or not to include [defaultSources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#defaultSources) in the Search UI.
|
|
118
118
|
* This can be a boolean value or a function that returns an array of Search [sources](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#sources).
|
|
119
119
|
*
|
|
120
|
-
* @default
|
|
120
|
+
* @default false
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
includeDefaultSourcesDisabled: boolean | Function;
|
|
123
123
|
/**
|
|
124
124
|
* Enables location services within the component.
|
|
125
125
|
*
|
|
@@ -133,9 +133,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
133
133
|
* (currently Chrome and Firefox).
|
|
134
134
|
* :::
|
|
135
135
|
*
|
|
136
|
-
* @default
|
|
136
|
+
* @default false
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
locationDisabled: boolean;
|
|
139
139
|
/**
|
|
140
140
|
* The maximum number of results returned by the component if not specified by the source.
|
|
141
141
|
*
|
|
@@ -162,9 +162,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
162
162
|
* Indicates whether to display the [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) on feature click. The graphic can
|
|
163
163
|
* be clicked to display a [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html).
|
|
164
164
|
*
|
|
165
|
-
* @default
|
|
165
|
+
* @default false
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
popupDisabled: boolean;
|
|
168
168
|
/**
|
|
169
169
|
* A customized [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) for the selected feature.
|
|
170
170
|
* Note that any [templates](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html)
|
|
@@ -196,9 +196,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
196
196
|
* Indicates if the [resultGraphic](#resultGraphic) will display at the
|
|
197
197
|
* location of the selected feature.
|
|
198
198
|
*
|
|
199
|
-
* @default
|
|
199
|
+
* @default false
|
|
200
200
|
*/
|
|
201
|
-
|
|
201
|
+
resultGraphicDisabled: boolean;
|
|
202
202
|
/**
|
|
203
203
|
* An array of objects, each containing a [SearchResult](#SearchResult) from the search.
|
|
204
204
|
*
|
|
@@ -215,9 +215,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
215
215
|
*
|
|
216
216
|
* 
|
|
217
217
|
*
|
|
218
|
-
* @default
|
|
218
|
+
* @default false
|
|
219
219
|
*/
|
|
220
|
-
|
|
220
|
+
searchAllDisabled: boolean;
|
|
221
221
|
/** The value of the search box input text string. */
|
|
222
222
|
searchTerm: string;
|
|
223
223
|
/**
|
|
@@ -267,9 +267,9 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
267
267
|
* This is only available if working with a 10.3 or greater geocoding service that has [suggest capability
|
|
268
268
|
* loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a 10.3 or greater feature layer that supports pagination, i.e. `supportsPagination = true`.
|
|
269
269
|
*
|
|
270
|
-
* @default
|
|
270
|
+
* @default false
|
|
271
271
|
*/
|
|
272
|
-
|
|
272
|
+
suggestionsDisabled: boolean;
|
|
273
273
|
/**
|
|
274
274
|
* If true, the component will not be destroyed automatically when it is
|
|
275
275
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -280,7 +280,11 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
280
280
|
* @default false
|
|
281
281
|
*/
|
|
282
282
|
autoDestroyDisabled: boolean;
|
|
283
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* Replace localized message strings with your own strings.
|
|
285
|
+
*
|
|
286
|
+
* _**Note**: Individual message keys may change between releases._
|
|
287
|
+
*/
|
|
284
288
|
messageOverrides?: typeof this.messages._overrides;
|
|
285
289
|
/** The component's default label. */
|
|
286
290
|
label?: string;
|
|
@@ -292,8 +296,29 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
292
296
|
* @default "ready"
|
|
293
297
|
*/
|
|
294
298
|
readonly state: "ready" | "loading" | "disabled" | "searching";
|
|
299
|
+
/**
|
|
300
|
+
* Clears the current searchTerm, search results, suggest results, graphic, and graphics layer.
|
|
301
|
+
* It also hides any open menus.
|
|
302
|
+
*/
|
|
303
|
+
clear(): void;
|
|
295
304
|
/** Permanently destroy the component. */
|
|
296
305
|
destroy(): Promise<void>;
|
|
306
|
+
/**
|
|
307
|
+
* Depending on the sources specified, search() queries the feature layer(s) and/or performs
|
|
308
|
+
* address matching using any specified [locator(s)](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-locator.html) and
|
|
309
|
+
* returns any applicable results.
|
|
310
|
+
*/
|
|
311
|
+
search(searchItem?: __esri.Graphic | __esri.Point | __esri.SuggestResult | Nil | number[] | string): Promise<__esri.SearchResponse | Nil>;
|
|
312
|
+
/**
|
|
313
|
+
* Performs a suggest() request on the active Locator. It also uses the current value of
|
|
314
|
+
* the component or one that is passed in.
|
|
315
|
+
*
|
|
316
|
+
* Suggestions are available if working with a 10.3 or greater geocoding service that has
|
|
317
|
+
* [suggest capability
|
|
318
|
+
* loaded](https://developers.arcgis.com/rest/geocode/api-reference/geocoding-suggest.htm) or a 10.3 or greater feature layer that supports pagination, i.e.
|
|
319
|
+
* `supportsPagination = true`.
|
|
320
|
+
*/
|
|
321
|
+
suggest(query?: string): Promise<__esri.SuggestResponse | Nil>;
|
|
297
322
|
/** Brings focus to the component's text input. */
|
|
298
323
|
setFocus(): Promise<void>;
|
|
299
324
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
2
|
import { ref as d } from "lit-html/directives/ref.js";
|
|
3
3
|
import _ from "@arcgis/core/widgets/Search/SearchViewModel.js";
|
|
4
|
-
import { LitElement as v, createEvent as w, noShadowRoot as f, safeClassMap as
|
|
4
|
+
import { LitElement as v, createEvent as w, noShadowRoot as f, safeClassMap as n, nothing as S } from "@arcgis/lumina";
|
|
5
5
|
import { reEmitEvent as l } from "@arcgis/lumina/controllers/accessor";
|
|
6
6
|
import { a as g } from "../../chunks/maybe.js";
|
|
7
7
|
import { classes as M } from "@arcgis/components-utils";
|
|
8
|
-
import { g as
|
|
9
|
-
import { isAbortError as
|
|
10
|
-
import { m as
|
|
8
|
+
import { g as b } from "../../chunks/globalCss.js";
|
|
9
|
+
import { isAbortError as C } from "@arcgis/core/core/promiseUtils.js";
|
|
10
|
+
import { m as $ } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { render as R, html as o } from "lit-html";
|
|
12
12
|
import { css as x } from "@lit/reactive-element/css-tag.js";
|
|
13
13
|
import { substitute as y } from "@arcgis/core/intl.js";
|
|
14
|
-
import { usePropertyChange as
|
|
15
|
-
import { u as
|
|
16
|
-
import { watch as
|
|
14
|
+
import { usePropertyChange as T } from "@arcgis/lumina/controllers";
|
|
15
|
+
import { u as A } from "../../chunks/useT9n.js";
|
|
16
|
+
import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
19
|
-
v4.34.0-next.
|
|
19
|
+
v4.34.0-next.21 */
|
|
20
20
|
const h = "arcgis-search", u = {
|
|
21
21
|
base: h,
|
|
22
22
|
autocomplete: `${h}__autocomplete`,
|
|
23
23
|
dropdown: `${h}__dropdown`,
|
|
24
24
|
container: `${h}__container`,
|
|
25
25
|
form: `${h}__form`
|
|
26
|
-
},
|
|
27
|
-
class
|
|
26
|
+
}, E = x`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}}`, N = $(_);
|
|
27
|
+
class I extends v {
|
|
28
28
|
constructor() {
|
|
29
|
-
super(...arguments), this.viewModel =
|
|
29
|
+
super(...arguments), this.viewModel = N(this), this._currentLocationValue = "search-use-current-location", this._autocompleteEl = void 0, this._searchResultRendererContainerEl = document.createElement("div"), this._searchResultRendererEl = void 0, this._suggestController = void 0, this._searchController = void 0, this._lastSearchTerm = "", this.messages = A({}), this._setSearchResultRendererRef = (e) => {
|
|
30
30
|
this._searchResultRendererEl = e;
|
|
31
|
-
}, this._locateFailed = !1, this._showNoResults = !1, this.position = "top-left", this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigate = this.viewModel.autoNavigate, this.
|
|
31
|
+
}, this._locateFailed = !1, this._showNoResults = !1, this.position = "top-left", this.goToOverride = this.viewModel.goToOverride, this.icon = "search", this.activeMenu = "none", this.activeSourceIndex = this.viewModel.activeSourceIndex, this.allPlaceholder = this.viewModel.allPlaceholder, this.allSources = this.viewModel.allSources, this.autoNavigate = this.viewModel.autoNavigate, this.autoSelectDisabled = this.viewModel.autoSelect, this.defaultSources = this.viewModel.defaultSources, this.disabled = !1, this.includeDefaultSourcesDisabled = this.viewModel.includeDefaultSources, this.locationDisabled = this.viewModel.locationEnabled, this.maxResults = this.viewModel.maxResults, this.maxSuggestions = this.viewModel.maxSuggestions, this.minSuggestCharacters = this.viewModel.minSuggestCharacters, this.popupDisabled = this.viewModel.popupEnabled, this.popupTemplate = this.viewModel.popupTemplate, this.portal = this.viewModel.portal, this.resultGraphic = this.viewModel.resultGraphic, this.resultGraphicDisabled = this.viewModel.resultGraphicEnabled, this.results = this.viewModel.results, this.searchAllDisabled = this.viewModel.searchAllEnabled, this.searchTerm = this.viewModel.searchTerm, this.selectedResult = this.viewModel.selectedResult, this.sources = this.viewModel.sources, this.suggestions = this.viewModel.suggestions, this.suggestionsDisabled = this.viewModel.suggestionsEnabled, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = T()("state"), this.arcgisReady = w(), this.arcgisSearchClear = l(() => this.viewModel, "search-clear"), this.arcgisSearchComplete = l(() => this.viewModel, "search-complete"), this.arcgisSearchStart = l(() => this.viewModel, "search-start"), this.arcgisSelectResult = l(() => this.viewModel, "select-result"), this.arcgisSuggestComplete = l(() => this.viewModel, "suggest-complete"), this.arcgisSuggestStart = l(() => this.viewModel, "suggest-start");
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.properties = { _locateFailed: 16, _showNoResults: 16, _isDisabled: 16, _showCurrentLocation: 16, _effectiveActiveMenu: 16, referenceElement: 1, position: 3, goToOverride: 0, icon: 1, activeMenu: 1, activeSource: 32, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0, autoNavigate: 5,
|
|
34
|
+
this.properties = { _locateFailed: 16, _showNoResults: 16, _isDisabled: 16, _showCurrentLocation: 16, _effectiveActiveMenu: 16, referenceElement: 1, position: 3, goToOverride: 0, icon: 1, activeMenu: 1, activeSource: 32, activeSourceIndex: 9, allPlaceholder: 1, allSources: 0, autoNavigate: 5, autoSelectDisabled: 5, defaultSources: 0, disabled: 5, includeDefaultSourcesDisabled: 5, locationDisabled: 5, maxResults: 9, maxSuggestions: 9, minSuggestCharacters: 9, popupDisabled: 5, popupTemplate: 0, portal: 0, resultGraphic: 0, resultGraphicDisabled: 5, results: 0, searchAllDisabled: 5, searchTerm: 1, selectedResult: 0, sources: 0, suggestions: 0, suggestionsDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
|
-
this.styles =
|
|
37
|
+
this.styles = E;
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
40
|
this.shadowRootOptions = f;
|
|
@@ -44,7 +44,7 @@ class L extends v {
|
|
|
44
44
|
return e === "disabled" || e === "loading" || this.disabled;
|
|
45
45
|
}
|
|
46
46
|
get _showCurrentLocation() {
|
|
47
|
-
return this.
|
|
47
|
+
return !this.locationDisabled && !this.searchTerm?.trim();
|
|
48
48
|
}
|
|
49
49
|
get _effectiveActiveMenu() {
|
|
50
50
|
return this._isDisabled ? "none" : this.activeMenu;
|
|
@@ -52,20 +52,12 @@ class L extends v {
|
|
|
52
52
|
get activeSource() {
|
|
53
53
|
return this.viewModel?.activeSource;
|
|
54
54
|
}
|
|
55
|
-
async destroy() {
|
|
56
|
-
await this.manager.destroy(), await this._searchResultRendererEl?.destroy(), this._cancelQueries();
|
|
57
|
-
}
|
|
58
|
-
async setFocus() {
|
|
59
|
-
await this._autocompleteEl?.setFocus();
|
|
60
|
-
}
|
|
61
|
-
loaded() {
|
|
62
|
-
this._addSearchResultRenderer(), this.manager.onLifecycle(() => A(() => this.viewModel?.defaultPopupTemplate, (e) => {
|
|
63
|
-
e && (e.content = this._renderSearchResultsContent);
|
|
64
|
-
}, { initial: !0 }));
|
|
65
|
-
}
|
|
66
55
|
clear() {
|
|
67
56
|
this._locateFailed = !1, this.viewModel.clear();
|
|
68
57
|
}
|
|
58
|
+
async destroy() {
|
|
59
|
+
await this.manager.destroy(), await this._searchResultRendererEl?.destroy(), this._cancelQueries();
|
|
60
|
+
}
|
|
69
61
|
async search(e) {
|
|
70
62
|
this._cancelQueries();
|
|
71
63
|
const t = new AbortController(), { signal: s } = t;
|
|
@@ -91,6 +83,17 @@ class L extends v {
|
|
|
91
83
|
return this._suggestController !== t || (this._suggestController = void 0), null;
|
|
92
84
|
}
|
|
93
85
|
}
|
|
86
|
+
async setFocus() {
|
|
87
|
+
await this._autocompleteEl?.setFocus();
|
|
88
|
+
}
|
|
89
|
+
loaded() {
|
|
90
|
+
this._addSearchResultRenderer(), this.manager.onLifecycle(() => D(() => this.viewModel?.defaultPopupTemplate, (e) => {
|
|
91
|
+
if (e) {
|
|
92
|
+
const t = document.createElement("div");
|
|
93
|
+
t.appendChild(this._searchResultRendererContainerEl), e.content = t;
|
|
94
|
+
}
|
|
95
|
+
}, { initial: !0 }));
|
|
96
|
+
}
|
|
94
97
|
_addSearchResultRenderer() {
|
|
95
98
|
R(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`, this._searchResultRendererContainerEl);
|
|
96
99
|
}
|
|
@@ -126,7 +129,7 @@ class L extends v {
|
|
|
126
129
|
try {
|
|
127
130
|
await this.viewModel.searchNearby({ signal: t });
|
|
128
131
|
} catch (s) {
|
|
129
|
-
|
|
132
|
+
C(s) || (this._locateFailed = !0, this.activeMenu = "suggestion");
|
|
130
133
|
} finally {
|
|
131
134
|
this._searchController = void 0;
|
|
132
135
|
}
|
|
@@ -158,22 +161,22 @@ class L extends v {
|
|
|
158
161
|
return (e === -1 ? t.all : i?.name || t.untitledSource) || "";
|
|
159
162
|
}
|
|
160
163
|
render() {
|
|
161
|
-
return o`<div class=${
|
|
164
|
+
return this._addSearchResultRenderer(), o`<div class=${n(M(u.base, b.widget))}><div class=${n(u.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`;
|
|
162
165
|
}
|
|
163
166
|
_renderSourcesMenu() {
|
|
164
167
|
const { messages: e, _isDisabled: t, _effectiveActiveMenu: s } = this, { allSources: i, searchAllEnabled: r } = this.viewModel;
|
|
165
|
-
return i.length > 1 ? o`<calcite-dropdown class=${
|
|
168
|
+
return i.length > 1 ? o`<calcite-dropdown class=${n(u.dropdown)} .disabled=${t} .open=${s === "source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${r ? this._renderSource(-1) : null}${i.map((a, c) => this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
|
|
166
169
|
}
|
|
167
170
|
_renderUseCurrentLocation() {
|
|
168
171
|
const { _currentLocationValue: e } = this;
|
|
169
172
|
return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation ?? ""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`;
|
|
170
173
|
}
|
|
171
174
|
_renderAutocomplete() {
|
|
172
|
-
const { _effectiveActiveMenu: e, messages: t, _isDisabled: s } = this, { maxInputLength: i, placeholder: r, searchTerm: a, state:
|
|
173
|
-
return o`<calcite-autocomplete .autocomplete=${"off"} class=${
|
|
175
|
+
const { _effectiveActiveMenu: e, messages: t, _isDisabled: s } = this, { maxInputLength: i, placeholder: r, searchTerm: a, state: c } = this.viewModel, m = this.label ?? t.searchButtonTitle ?? "";
|
|
176
|
+
return o`<calcite-autocomplete .autocomplete=${"off"} class=${n(u.autocomplete)} .disabled=${s} .icon=${this.icon} .inputValue=${a} .label=${m} .loading=${c === "searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${r} title=${(a ? "" : r) ?? S} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
|
|
174
177
|
}
|
|
175
178
|
_renderForm() {
|
|
176
|
-
return o`<form class=${
|
|
179
|
+
return o`<form class=${n(u.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}</form>`;
|
|
177
180
|
}
|
|
178
181
|
_renderSuggestGroup(e) {
|
|
179
182
|
return e.results?.map((t) => this._renderSuggestion(t));
|
|
@@ -183,8 +186,8 @@ class L extends v {
|
|
|
183
186
|
return this._showNoResults ? null : this._showCurrentLocation ? this._renderUseCurrentLocation() : e?.map((t) => this._renderSuggestResults(t));
|
|
184
187
|
}
|
|
185
188
|
_renderSuggestResults(e) {
|
|
186
|
-
const { allSources: t, activeSourceIndex: s } = this.viewModel, { sourceIndex: i } = e, r = e.results?.length, a = t.length > 1 && s === -1,
|
|
187
|
-
return r && a ? o`<calcite-autocomplete-item-group .heading=${
|
|
189
|
+
const { allSources: t, activeSourceIndex: s } = this.viewModel, { sourceIndex: i } = e, r = e.results?.length, a = t.length > 1 && s === -1, c = this._getSourceName(i);
|
|
190
|
+
return r && a ? o`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>` : this._renderSuggestGroup(e);
|
|
188
191
|
}
|
|
189
192
|
_renderSuggestion({ key: e, sourceIndex: t, text: s }) {
|
|
190
193
|
const i = {
|
|
@@ -210,7 +213,7 @@ class L extends v {
|
|
|
210
213
|
return this._locateFailed ? this._renderLocateError() : this._showNoResults ? this._renderNoResultsWarning(this._lastSearchTerm ?? this.viewModel.searchTerm) : null;
|
|
211
214
|
}
|
|
212
215
|
}
|
|
213
|
-
p("arcgis-search",
|
|
216
|
+
p("arcgis-search", I);
|
|
214
217
|
export {
|
|
215
|
-
|
|
218
|
+
I as ArcgisSearch
|
|
216
219
|
};
|
|
@@ -9,7 +9,7 @@ import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
9
9
|
import { substitute as M } from "@arcgis/core/intl.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 n = "arcgis-search-result-renderer", h = {
|
|
14
14
|
base: n,
|
|
15
15
|
moreResults: `${n}__more-results`
|
|
@@ -6,7 +6,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as a } 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 = a`@layer{arcgis-shadow-cast{display:block}}`, n = l(s);
|
|
11
11
|
class m extends o {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { m as r } from "../../chunks/useWidget.js";
|
|
|
8
8
|
import { css as g } from "@lit/reactive-element/css-tag.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 p = g`@layer{arcgis-sketch{display:block}}`, c = r(n);
|
|
13
13
|
class m extends a {
|
|
14
14
|
constructor() {
|
|
@@ -66,15 +66,20 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
66
66
|
icon?: HTMLCalciteIconElement["icon"];
|
|
67
67
|
/** The component's default label. */
|
|
68
68
|
label?: string;
|
|
69
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* Replace localized message strings with your own strings.
|
|
71
|
+
*
|
|
72
|
+
* _**Note**: Individual message keys may change between releases._
|
|
73
|
+
*/
|
|
70
74
|
messageOverrides?: typeof this._messages._overrides;
|
|
71
75
|
/** @default "bottom-left" */
|
|
72
76
|
position: __esri.UIPosition;
|
|
73
77
|
referenceElement?: ArcgisReferenceElement | string;
|
|
74
78
|
/**
|
|
75
79
|
* The shape used to slice elements in a 3D scene. Currently the only supported shape is a plane.
|
|
76
|
-
*
|
|
77
|
-
*
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* ```js
|
|
78
83
|
* // Clone the shape to modify its properties
|
|
79
84
|
* const shape = slice.shape.clone();
|
|
80
85
|
* // Set new values for heading and tilt
|
|
@@ -14,7 +14,7 @@ import { g as m } from "../../chunks/globalCss.js";
|
|
|
14
14
|
import { watch as H } from "@arcgis/core/core/reactiveUtils.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 O = E`@layer{arcgis-slice{display:block}.arcgis-slice__container{display:flex;padding:var(--esri-widget-padding-y) var(--esri-widget-padding-x);overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`;
|
|
19
19
|
var B = Object.defineProperty, P = Object.getOwnPropertyDescriptor, o = (e, i, t, u) => {
|
|
20
20
|
for (var c = u > 1 ? void 0 : u ? P(i, t) : i, y = e.length - 1, h; y >= 0; y--)
|
|
@@ -7,7 +7,7 @@ import { m as g } 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 c = m`@layer{arcgis-slider{min-width:200px;min-height:25px}}`, r = g(n);
|
|
12
12
|
class d extends a {
|
|
13
13
|
constructor() {
|
|
@@ -15,7 +15,7 @@ declare const useSwipeViewModel: (component: LitElement & Pick<SwipeViewModel, n
|
|
|
15
15
|
* properties to determine what will be compared on either side of the component. If one of these properties
|
|
16
16
|
* is not set, then the Swipe component will overlay the existing map.
|
|
17
17
|
*
|
|
18
|
-
* **Known
|
|
18
|
+
* **Known limitations**
|
|
19
19
|
*
|
|
20
20
|
* - This component is not currently supported within a Scene component.
|
|
21
21
|
*
|
|
@@ -74,7 +74,11 @@ export declare class ArcgisSwipe extends LitElement {
|
|
|
74
74
|
label?: string;
|
|
75
75
|
/** A collection of layers that will show on the left or top side of the Swipe component. */
|
|
76
76
|
leadingLayers: __esri.Collection<__esri.Layer>;
|
|
77
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* Replace localized message strings with your own strings.
|
|
79
|
+
*
|
|
80
|
+
* _**Note**: Individual message keys may change between releases._
|
|
81
|
+
*/
|
|
78
82
|
messageOverrides?: typeof this.messages._overrides;
|
|
79
83
|
/** @default "manual" */
|
|
80
84
|
position: __esri.UIPosition;
|
|
@@ -11,7 +11,7 @@ import { l as b } from "../../chunks/legacyIcon.js";
|
|
|
11
11
|
import { css as A } 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 H = A`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`, l = "arcgis-swipe", n = {
|
|
16
16
|
base: l,
|
|
17
17
|
baseDisabled: `${l}--disabled`,
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c as d } 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 n = h`@layer{arcgis-table-list{display:block}}`, m = a(s);
|
|
13
13
|
class c extends o {
|
|
14
14
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { when as r } from "@arcgis/core/core/reactiveUtils.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 m = d`@layer{arcgis-time-slider{display:block}}`, c = n(o);
|
|
13
13
|
class g extends a {
|
|
14
14
|
constructor() {
|
|
@@ -49,7 +49,9 @@ export declare class ArcgisTimeZoneLabel extends LitElement {
|
|
|
49
49
|
*/
|
|
50
50
|
expanded: boolean;
|
|
51
51
|
/**
|
|
52
|
-
* Replace localized message strings with your own strings.
|
|
52
|
+
* Replace localized message strings with your own strings.
|
|
53
|
+
*
|
|
54
|
+
* _**Note**: Individual message keys may change between releases._
|
|
53
55
|
*
|
|
54
56
|
* @property
|
|
55
57
|
* ({ reflect: true })
|
|
@@ -10,7 +10,7 @@ import { u as $ } from "../../chunks/useView.js";
|
|
|
10
10
|
import { when as y, watch as z } from "@arcgis/core/core/reactiveUtils.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 = f`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`, t = "esri-time-zone-label", i = {
|
|
15
15
|
base: t,
|
|
16
16
|
badge: `${t}__badge`,
|
|
@@ -11,7 +11,7 @@ declare const useTrackViewModel: (component: LitElement & Pick<TrackViewModel, n
|
|
|
11
11
|
* The view rotates based on device heading.
|
|
12
12
|
* The default heading symbol will display when speed is greater than zero and the browser provides heading information.
|
|
13
13
|
*
|
|
14
|
-
* **Known
|
|
14
|
+
* **Known limitations**
|
|
15
15
|
*
|
|
16
16
|
* - The heading symbol is not currently supported within a Scene component.
|
|
17
17
|
*
|
|
@@ -70,7 +70,11 @@ export declare class ArcgisTrack extends LitElement {
|
|
|
70
70
|
icon?: string;
|
|
71
71
|
/** The component's default label. */
|
|
72
72
|
label?: string;
|
|
73
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Replace localized message strings with your own strings.
|
|
75
|
+
*
|
|
76
|
+
* _**Note**: Individual message keys may change between releases._
|
|
77
|
+
*/
|
|
74
78
|
messageOverrides?: typeof this.messages._overrides;
|
|
75
79
|
/** @default "top-left" */
|
|
76
80
|
position: __esri.UIPosition;
|
|
@@ -11,7 +11,7 @@ import { g as c } from "../../chunks/globalCss.js";
|
|
|
11
11
|
import { css as T } 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 y = T`@layer{arcgis-track{display:block}}`, $ = {
|
|
16
16
|
base: "esri-track"
|
|
17
17
|
}, D = b(v);
|
|
@@ -15,7 +15,11 @@ export declare class ArcgisUnitSelect<Unit extends UnitUnion = UnitUnion> extend
|
|
|
15
15
|
options: Unit[];
|
|
16
16
|
selectLabel: string;
|
|
17
17
|
value: Unit;
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Replace localized message strings with your own strings.
|
|
20
|
+
*
|
|
21
|
+
* _**Note**: Individual message keys may change between releases._
|
|
22
|
+
*/
|
|
19
23
|
messageOverrides?: typeof this.messages._overrides;
|
|
20
24
|
label?: string;
|
|
21
25
|
/** Permanently destroy the component. */
|
|
@@ -6,7 +6,7 @@ import { LitElement as g, createEvent as u, safeClassMap as p } from "@arcgis/lu
|
|
|
6
6
|
import { css as h } 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 b = h`.arcgis-unit-select{width:100%}.arcgis-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}`, $ = "arcgis-unit-select", d = {
|
|
11
11
|
label: `${$}__label`
|
|
12
12
|
};
|
|
@@ -4,7 +4,7 @@ import { LitElement as c, createEvent as r, noShadowRoot as h } from "@arcgis/lu
|
|
|
4
4
|
import { m as A } from "../../chunks/useWidget.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.21 */
|
|
8
8
|
const S = A(a);
|
|
9
9
|
class g extends c {
|
|
10
10
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { LitElement as r, createEvent as a, noShadowRoot as o } from "@arcgis/lu
|
|
|
6
6
|
import { m as l } from "../../chunks/useWidget.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 d = l(s);
|
|
11
11
|
class h extends r {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as r, noShadowRoot as l } from "@arcgis/lu
|
|
|
6
6
|
import { m as h } from "../../chunks/useWidget.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 w = h(
|
|
11
11
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/69562
|
|
12
12
|
s
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as r } 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 = r`@layer{arcgis-value-picker{display:block}}`, c = h(s);
|
|
12
12
|
class u extends a {
|
|
13
13
|
constructor() {
|
|
@@ -44,18 +44,22 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
44
44
|
/** @default false */
|
|
45
45
|
closable: boolean;
|
|
46
46
|
/**
|
|
47
|
-
* The `initialVersionInfos` property enables users to initialize the Version Management
|
|
47
|
+
* The `initialVersionInfos` property enables users to initialize the Version Management component with a predefined set of versions.
|
|
48
48
|
* By providing an array of `InitialVersionInfo`, the component displays a specified version for each feature service upon initialization.
|
|
49
49
|
*/
|
|
50
50
|
get initialVersionInfos(): InitialVersionInfo[];
|
|
51
51
|
set initialVersionInfos(value: InitialVersionInfo[]);
|
|
52
52
|
icon?: string;
|
|
53
53
|
label?: string;
|
|
54
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Replace localized message strings with your own strings.
|
|
56
|
+
*
|
|
57
|
+
* _**Note**: Individual message keys may change between releases._
|
|
58
|
+
*/
|
|
55
59
|
messageOverrides?: typeof this.messages._overrides;
|
|
56
60
|
mode?: string;
|
|
57
61
|
/**
|
|
58
|
-
* Specifies the number of versions displayed on each page of the Version Management
|
|
62
|
+
* Specifies the number of versions displayed on each page of the Version Management component.
|
|
59
63
|
*
|
|
60
64
|
* @default 5
|
|
61
65
|
*/
|
|
@@ -71,8 +75,8 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
71
75
|
readonly state: "ready" | "loading" | "disabled" | "executing" | "failed" | "success";
|
|
72
76
|
/**
|
|
73
77
|
* This class provides functionality for managing versions in a versioned geodatabase.
|
|
74
|
-
* In the event that the Version Management component is destroyed, the VersioningStates can be utilized to maintain the current state of the Version Management
|
|
75
|
-
* The Version Management
|
|
78
|
+
* In the event that the Version Management component is destroyed, the VersioningStates can be utilized to maintain the current state of the Version Management component.
|
|
79
|
+
* The Version Management component can be reinitialized using a `Collection<VersioningState>`, or a predefined `Collection<VersioningState>` can be provided during the initial instantiation of the Version Management component.
|
|
76
80
|
*/
|
|
77
81
|
versioningStates: __esri.Collection<__esri.VersioningState>;
|
|
78
82
|
/** Permanently destroy the component. */
|
|
@@ -9,7 +9,7 @@ import { m as $ } from "../../chunks/useViewModel.js";
|
|
|
9
9
|
import { css as T } 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 O = T`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`, U = $(C), I = "map-components:version-management";
|
|
14
14
|
class R extends y {
|
|
15
15
|
constructor() {
|
|
@@ -3,7 +3,7 @@ import { LitElement as U, createEvent as t, noShadowRoot as _, safeClassMap as v
|
|
|
3
3
|
import { html as s, render as S } from "lit-html";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.21 */
|
|
7
7
|
class F extends U {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._showInvalidVersionNotice = !0, this.arcgisCreateVersionList = t(), this.arcgisFlowItemBack = t(), this.arcgisFlowItemClose = t(), this.arcgisGetVersions = t(), this.arcgisManageVersion = t(), this.arcgisNewVersion = t();
|