@arcgis/map-components 4.34.0-next.1 → 4.34.0-next.10
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/{F73UZHT5.js → 22CPQ4XH.js} +2 -2
- package/dist/cdn/{FSXC25CK.js → 27YHILTV.js} +2 -2
- package/dist/cdn/{Q4IIAOMJ.js → 2BG4ZSWN.js} +2 -2
- package/dist/cdn/{MWRZPTNS.js → 2DLW2TWX.js} +2 -2
- package/dist/cdn/{22XQ7GV5.js → 2KXQNIAD.js} +1 -1
- package/dist/cdn/{WHEV5PJT.js → 2PGPJAPU.js} +2 -2
- package/dist/cdn/{LNTAENM3.js → 2QU4RR7E.js} +2 -2
- package/dist/cdn/{ZSLEMX43.js → 2UTPEIQE.js} +2 -2
- package/dist/cdn/{2YDC2H7K.js → 2W6QFQ3Q.js} +2 -2
- package/dist/cdn/{CM5BYNTJ.js → 2YEN3RRG.js} +2 -2
- package/dist/cdn/{A3ZUH4XX.js → 37ROY3XI.js} +2 -2
- package/dist/cdn/{Q4KIAHIP.js → 3Y7E6HKY.js} +1 -1
- package/dist/cdn/{ZX3AAZ5M.js → 3Z6E6LUY.js} +2 -2
- package/dist/cdn/{AO5ZDDOM.js → 4SRTBAJO.js} +2 -2
- package/dist/cdn/{EFAEF7BP.js → 4XP5JP7X.js} +2 -2
- package/dist/cdn/{BY42MDY7.js → 5CPD4XYG.js} +2 -2
- package/dist/cdn/{5QLIBAHX.js → 5U65VTUS.js} +2 -2
- package/dist/cdn/{GD2FOHZY.js → 5V5NSNR7.js} +2 -2
- package/dist/cdn/{KVMUNOT7.js → 63ML34C3.js} +2 -2
- package/dist/cdn/{LOAE4AXM.js → 645ZHMYK.js} +2 -2
- package/dist/cdn/{GKTOQY3S.js → 66HH4O3P.js} +2 -2
- package/dist/cdn/{ZS6Q64CO.js → 6ETTMPIZ.js} +2 -2
- package/dist/cdn/{B4VN3JAQ.js → 6IBMQQD7.js} +1 -1
- package/dist/cdn/{RVFPHHL2.js → 6NNREAHG.js} +2 -2
- package/dist/cdn/{WCE2K76D.js → 6VCT4Q3D.js} +2 -2
- package/dist/cdn/{WDIX45UN.js → 73K54NWN.js} +2 -2
- package/dist/cdn/{IISBCUIL.js → 75WLCFEI.js} +1 -1
- package/dist/cdn/{EOI2WJEO.js → 76QAI7UH.js} +2 -2
- package/dist/cdn/{T3RJNBCT.js → 7I77MXF7.js} +2 -2
- package/dist/cdn/{5UBOP6TA.js → AFWWZ7XF.js} +1 -1
- package/dist/cdn/{OJLHFLOO.js → AKEJZRV2.js} +2 -2
- package/dist/cdn/{FMGROXJF.js → APMMPLHM.js} +2 -2
- package/dist/cdn/{QGDMS6EA.js → APZW5NF5.js} +2 -2
- package/dist/cdn/{LLROZ25L.js → AQI35YOW.js} +2 -2
- package/dist/cdn/{G2YUVF2G.js → AUDL2DQJ.js} +2 -2
- package/dist/cdn/{P45RF77O.js → AVWJJCKX.js} +2 -2
- package/dist/cdn/{2PMZSACT.js → AZGTPL2Z.js} +2 -2
- package/dist/cdn/{4LBD2ITU.js → BFGI6R5L.js} +2 -2
- package/dist/cdn/{DLCZJ6YJ.js → BJTKPMTU.js} +2 -2
- package/dist/cdn/{O3GJVY5K.js → BKANRHYB.js} +2 -2
- package/dist/cdn/{WXPRTXLW.js → BLAF5LTU.js} +1 -1
- package/dist/cdn/{PI7E2FA7.js → BM2HV6DL.js} +2 -2
- package/dist/cdn/{ALWX2ALV.js → BVVV77AF.js} +2 -2
- package/dist/cdn/BWZMIWBY.js +4 -0
- package/dist/cdn/{HCWL6CLW.js → C5LFDEPC.js} +2 -2
- package/dist/cdn/{YMMFWORE.js → CGOJBXQB.js} +2 -2
- package/dist/cdn/{K7F5M66S.js → CJWHJFHJ.js} +2 -2
- package/dist/cdn/{4IVF56FV.js → CSWSYOL2.js} +2 -2
- package/dist/cdn/{FXWPUPQW.js → D24ZOCB4.js} +2 -2
- package/dist/cdn/{R33QVEOL.js → DLBZPO4Q.js} +2 -2
- package/dist/cdn/{NW72HR5Z.js → ENJ4HE3C.js} +2 -2
- package/dist/cdn/{NR7MHE2C.js → ETXYVXCU.js} +2 -2
- package/dist/cdn/{TWAC5OEP.js → F5Q77XCM.js} +2 -2
- package/dist/cdn/{2S6TIIDB.js → FAQJ3ZLQ.js} +2 -2
- package/dist/cdn/{BQUOVH4M.js → FHPCSGNG.js} +2 -2
- package/dist/cdn/{ZS2434QV.js → FKJX5X6D.js} +2 -2
- package/dist/cdn/{F25ZYGOB.js → FRONWW33.js} +2 -2
- package/dist/cdn/{QL5NO5VC.js → G4LQJM2X.js} +2 -2
- package/dist/cdn/{MIZQTTX6.js → GRB3YDLM.js} +2 -2
- package/dist/cdn/{WMS5BZ4X.js → GRBLIE4Q.js} +2 -2
- package/dist/cdn/{H53YT2KB.js → HDVJNUUJ.js} +2 -2
- package/dist/cdn/{JZCE5XQQ.js → HHP2CSAF.js} +2 -2
- package/dist/cdn/{E3QCBVRR.js → HUAZNEYW.js} +2 -2
- package/dist/cdn/{BKZWDNEP.js → I3JV5MZC.js} +2 -2
- package/dist/cdn/{OT64W62R.js → IACGLBK2.js} +2 -2
- package/dist/cdn/ICD7RPH2.js +4 -0
- package/dist/cdn/J2MTDODP.js +4 -0
- package/dist/cdn/{ZZAJ47QE.js → J3GEXUYW.js} +2 -2
- package/dist/cdn/JHQMXRHC.js +4 -0
- package/dist/cdn/{IHZH53G7.js → JQKJNYTO.js} +2 -2
- package/dist/cdn/{TK5LJKKZ.js → JXLB6SA5.js} +2 -2
- package/dist/cdn/{PTWQKH7N.js → KMOVX7EQ.js} +2 -2
- package/dist/cdn/{ZQYIIBP4.js → KV5ZEHWX.js} +2 -2
- package/dist/cdn/{UA2H4VN5.js → L5O4XAD7.js} +2 -2
- package/dist/cdn/{ER72C6UP.js → L7TTW6B7.js} +2 -2
- package/dist/cdn/{AKHLLC2Q.js → LCJNDBF3.js} +2 -2
- package/dist/cdn/{OIWINM74.js → LMJGHDRO.js} +2 -2
- package/dist/cdn/{LEDULRXD.js → LPGU2A5R.js} +2 -2
- package/dist/cdn/{IW6ZQMHZ.js → LQVFKMLH.js} +2 -2
- package/dist/cdn/{YKA3LQRU.js → LT2OQH6Y.js} +2 -2
- package/dist/cdn/{SNR7KGH5.js → M6NBEK2V.js} +2 -2
- package/dist/cdn/{BUAKJ3P3.js → MEA3UT6O.js} +2 -2
- package/dist/cdn/MF7ST5NB.js +4 -0
- package/dist/cdn/{EZOOR7JX.js → N3MU4X6S.js} +2 -2
- package/dist/cdn/{47SBNRJH.js → NTYE62GA.js} +2 -2
- package/dist/cdn/{HUQHZUJP.js → OGZ3DANA.js} +2 -2
- package/dist/cdn/{HNRED4RD.js → OJYPMHI5.js} +2 -2
- package/dist/cdn/{LPMVG6DA.js → OV64HWMJ.js} +2 -2
- package/dist/cdn/{NUK4LTX5.js → PVNKF3M3.js} +2 -2
- package/dist/cdn/{QEUOOHFZ.js → Q5TTVEFN.js} +2 -2
- package/dist/cdn/Q6TBH52M.js +4 -0
- package/dist/cdn/{ZV5RZBYN.js → QMJTUPT4.js} +2 -2
- package/dist/cdn/{6V5QZCOZ.js → QV356VVX.js} +2 -2
- package/dist/cdn/{BU6J42GD.js → R3JFFYZ3.js} +2 -2
- package/dist/cdn/{VDHVIFNX.js → R7I7HIMR.js} +2 -2
- package/dist/cdn/{JLQNAXVY.js → R7IILRBO.js} +2 -2
- package/dist/cdn/{6BNKLHHO.js → R7VYI2AO.js} +2 -2
- package/dist/cdn/RGPEZAXD.js +4 -0
- package/dist/cdn/{VKE27GIN.js → RQSS2GQU.js} +2 -2
- package/dist/cdn/{53RL6DKS.js → S4HMQTV3.js} +2 -2
- package/dist/cdn/{ZFGL2KSG.js → TEYE4CMR.js} +1 -1
- package/dist/cdn/{JWWF5QWJ.js → TQA3YHEI.js} +2 -2
- package/dist/cdn/{SUN26GSO.js → TQEFSTH6.js} +1 -1
- package/dist/cdn/{QBP4ZPEY.js → UKZW4J7Z.js} +2 -2
- package/dist/cdn/UMKSU6KV.js +4 -0
- package/dist/cdn/{UKDFYSBU.js → URNQXRHC.js} +2 -2
- package/dist/cdn/{WT34MLXU.js → UY2FHZBS.js} +2 -2
- package/dist/cdn/V35S7J5U.js +4 -0
- package/dist/cdn/{LR76QGNT.js → V36IKRPP.js} +2 -2
- package/dist/cdn/{L3VADUDD.js → VWRZUNZU.js} +2 -2
- package/dist/cdn/{GFZEUBYN.js → VXFAVKT4.js} +2 -2
- package/dist/cdn/{CJIDMDZA.js → X7AZQXGR.js} +2 -2
- package/dist/cdn/{XQ5SHXYU.js → XCU6RDWH.js} +2 -2
- package/dist/cdn/{GWKKNXJA.js → XKYWZC3G.js} +2 -2
- package/dist/cdn/{5ZQJE4G7.js → XQ73KMWY.js} +2 -2
- package/dist/cdn/{XUQAYEQ6.js → Y7E6LPIW.js} +2 -2
- package/dist/cdn/{EVMSZC42.js → YSOBQL3F.js} +2 -2
- package/dist/cdn/{NWMCC632.js → Z5Z3MXGB.js} +2 -2
- package/dist/cdn/{4SMGMTCR.js → ZCNDZSTZ.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +123 -128
- 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/AreaMeasurement3dViewModel.d.ts +2 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.js +9 -9
- package/dist/components/arcgis-attachments/customElement.js +1 -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.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.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +2 -8
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
- 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 +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- 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.js +1 -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 +11 -9
- 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/LineOfSightViewModel.d.ts +2 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +15 -15
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- 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.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.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.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +41 -28
- package/dist/components/arcgis-search/customElement.d.ts +21 -0
- package/dist/components/arcgis-search/customElement.js +12 -12
- 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/SliceViewModel.d.ts +3 -9
- package/dist/components/arcgis-slice/customElement.js +6 -3
- package/dist/components/arcgis-slider/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -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.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 +18 -7
- package/dist/components/arcgis-video/customElement.js +10 -19
- package/dist/components/arcgis-video-player/customElement.d.ts +9 -0
- 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 +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +222 -48
- package/dist/docs/docs.json +162 -40
- package/dist/docs/vscode.html-custom-data.json +28 -10
- package/dist/docs/web-types.json +23 -15
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -4
- package/dist/support/AnalysisViewModel.d.ts +10 -13
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cdn/4Q6PGIFK.js +0 -4
- package/dist/cdn/DM77T47F.js +0 -4
- package/dist/cdn/G4YI64GR.js +0 -4
- package/dist/cdn/GIRB3I36.js +0 -4
- package/dist/cdn/P5UEKYVM.js +0 -4
- package/dist/cdn/RALVTFOZ.js +0 -4
- package/dist/cdn/RCP73QYR.js +0 -4
- package/dist/cdn/TPS72UKW.js +0 -4
- package/dist/cdn/VGUF7FV6.js +0 -4
|
@@ -16,7 +16,7 @@ import { u as T } from "../../chunks/useT9n.js";
|
|
|
16
16
|
import { watch as A } 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.10 */
|
|
20
20
|
const h = "arcgis-search", u = {
|
|
21
21
|
base: h,
|
|
22
22
|
autocomplete: `${h}__autocomplete`,
|
|
@@ -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,14 @@ 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(() => A(() => this.viewModel?.defaultPopupTemplate, (e) => {
|
|
91
|
+
e && (e.content = this._renderSearchResultsContent);
|
|
92
|
+
}, { initial: !0 }));
|
|
93
|
+
}
|
|
94
94
|
_addSearchResultRenderer() {
|
|
95
95
|
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
96
|
}
|
|
@@ -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.10 */
|
|
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.10 */
|
|
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.10 */
|
|
12
12
|
const p = g`@layer{arcgis-sketch{display:block}}`, c = r(n);
|
|
13
13
|
class m extends a {
|
|
14
14
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
import {
|
|
2
|
+
import { AnalysisViewModel } from '../../support/AnalysisViewModel';
|
|
3
3
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
4
4
|
import { default as SliceAnalysis } from '@arcgis/core/analysis/SliceAnalysis.js';
|
|
5
5
|
import { default as Layer } from '@arcgis/core/layers/Layer';
|
|
@@ -7,20 +7,14 @@ import { default as Collection } from '@arcgis/core/core/Collection.js';
|
|
|
7
7
|
import { default as SliceAnalysisView3D } from '@arcgis/core/views/3d/analysis/SliceAnalysisView3D';
|
|
8
8
|
export type SliceableLayer = __esri.BuildingComponentSublayer | Layer;
|
|
9
9
|
export type LayersMode = "exclude" | "none";
|
|
10
|
-
|
|
11
|
-
shape: __esri.SlicePlane | nullish;
|
|
12
|
-
tiltEnabled: boolean;
|
|
13
|
-
excludedLayers: Collection<SliceableLayer>;
|
|
14
|
-
excludeGroundSurface: boolean;
|
|
15
|
-
}
|
|
16
|
-
declare class SliceViewModel extends AnalysisViewModel<SceneView, SliceAnalysis> implements ConstructProperties {
|
|
10
|
+
declare class SliceViewModel extends AnalysisViewModel<SceneView, SliceAnalysis> {
|
|
17
11
|
private _excludingLayers?;
|
|
18
12
|
pickLayerToExclude(): Promise<void>;
|
|
19
13
|
place(options?: {
|
|
20
14
|
signal?: AbortSignal;
|
|
21
15
|
}): Promise<void>;
|
|
22
16
|
protected clearAnalysis(): void;
|
|
23
|
-
|
|
17
|
+
protected initialize(): void;
|
|
24
18
|
destroy(): void;
|
|
25
19
|
get state(): "disabled" | "excludingLayer" | "ready" | "sliced" | "slicing";
|
|
26
20
|
/**
|
|
@@ -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.10 */
|
|
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--)
|
|
@@ -23,8 +23,8 @@ var B = Object.defineProperty, P = Object.getOwnPropertyDescriptor, o = (e, i, t
|
|
|
23
23
|
};
|
|
24
24
|
const g = /* @__PURE__ */ new Set();
|
|
25
25
|
let n = class extends k {
|
|
26
|
-
constructor(
|
|
27
|
-
super(
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "SliceViewModel is only supported in 3D views.";
|
|
28
28
|
}
|
|
29
29
|
async pickLayerToExclude() {
|
|
30
30
|
const e = this.analysisView;
|
|
@@ -41,6 +41,9 @@ let n = class extends k {
|
|
|
41
41
|
clearAnalysis() {
|
|
42
42
|
this.analysis.shape = null;
|
|
43
43
|
}
|
|
44
|
+
initialize() {
|
|
45
|
+
g.add(this);
|
|
46
|
+
}
|
|
44
47
|
destroy() {
|
|
45
48
|
g.delete(this);
|
|
46
49
|
}
|
|
@@ -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.10 */
|
|
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() {
|
|
@@ -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.10 */
|
|
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.10 */
|
|
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.10 */
|
|
12
12
|
const m = d`@layer{arcgis-time-slider{display:block}}`, c = n(o);
|
|
13
13
|
class g extends a {
|
|
14
14
|
constructor() {
|
|
@@ -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.10 */
|
|
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 @@ 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.10 */
|
|
15
15
|
const y = T`@layer{arcgis-track{display:block}}`, $ = {
|
|
16
16
|
base: "esri-track"
|
|
17
17
|
}, D = b(v);
|
|
@@ -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.10 */
|
|
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.10 */
|
|
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.10 */
|
|
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.10 */
|
|
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.10 */
|
|
11
11
|
const l = r`@layer{arcgis-value-picker{display:block}}`, c = h(s);
|
|
12
12
|
class u extends a {
|
|
13
13
|
constructor() {
|
|
@@ -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.10 */
|
|
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.10 */
|
|
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();
|
|
@@ -3,7 +3,7 @@ import { html as c } from "lit-html";
|
|
|
3
3
|
import { LitElement as b, createEvent as f, noShadowRoot as x, nothing as I } from "@arcgis/lumina";
|
|
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.10 */
|
|
7
7
|
class E extends b {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.arcgisManageVersion = f();
|
|
@@ -5,7 +5,7 @@ import { LitElement as y, createEvent as r } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as U } 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.10 */
|
|
9
9
|
const A = U`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
10
10
|
class N extends y {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { LitElement as V, createEvent as p, noShadowRoot as I } from "@arcgis/lu
|
|
|
5
5
|
import { css as x } 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.10 */
|
|
9
9
|
const C = x`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`;
|
|
10
10
|
class k extends V {
|
|
11
11
|
constructor() {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
1
2
|
/// <reference types="../../index.d.ts" />
|
|
2
3
|
import { Use } from '@arcgis/lumina/controllers';
|
|
3
|
-
import { Nil } from '@arcgis/components-utils';
|
|
4
|
-
import { default as VideoLayer } from '@arcgis/core/layers/VideoLayer.js';
|
|
5
4
|
import { default as VideoView } from '@arcgis/core/views/VideoView.js';
|
|
6
5
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
6
|
|
|
@@ -14,14 +13,28 @@ declare const useVideoView: (component: LitElement & Omit<Pick<VideoView, "conta
|
|
|
14
13
|
* [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html).
|
|
15
14
|
* It is designed to render and interact with video layers.
|
|
16
15
|
*
|
|
17
|
-
* A Video component must have a valid
|
|
16
|
+
* A Video component must have a valid VideoLayer.
|
|
18
17
|
* It supports various features such as navigating, zooming, and panning, making it suitable for
|
|
19
18
|
* applications that require interactive video overlays.
|
|
20
19
|
*
|
|
21
20
|
* **Example**
|
|
22
21
|
*
|
|
23
22
|
* ```html
|
|
24
|
-
* <arcgis-video
|
|
23
|
+
* <arcgis-video></arcgis-video>
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ```js
|
|
27
|
+
* const VideoLayer = await $arcgis.import("@arcgis/core/layers/VideoLayer.js");
|
|
28
|
+
* const videoElement = document.querySelector("arcgis-video");
|
|
29
|
+
*
|
|
30
|
+
* const videoLayer = new VideoLayer({
|
|
31
|
+
* url: "YOUR_VIDEO_LAYER_URL",
|
|
32
|
+
* });
|
|
33
|
+
*
|
|
34
|
+
* await videoLayer.load();
|
|
35
|
+
* if (videoLayer.loaded) {
|
|
36
|
+
* videoElement.layer = videoLayer;
|
|
37
|
+
* }
|
|
25
38
|
* ```
|
|
26
39
|
*
|
|
27
40
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-video/)
|
|
@@ -45,9 +58,7 @@ export declare class ArcgisVideo extends LitElement {
|
|
|
45
58
|
*
|
|
46
59
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-VideoView.html#layer)
|
|
47
60
|
*/
|
|
48
|
-
layer: nullish | VideoLayer;
|
|
49
|
-
get layerUrl(): Nil | string;
|
|
50
|
-
set layerUrl(newValue: Nil | string);
|
|
61
|
+
layer: nullish | __esri.VideoLayer;
|
|
51
62
|
/** Destroys the view, and any associated resources, including its map, popup, and UI elements. */
|
|
52
63
|
destroy(): Promise<void>;
|
|
53
64
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
@@ -1,36 +1,27 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
2
|
import { makeAccessorController as s } from "@arcgis/lumina/controllers/accessor";
|
|
3
3
|
import { watch as i } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import r from "@arcgis/core/layers/VideoLayer.js";
|
|
5
4
|
import a from "@arcgis/core/views/VideoView.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { css as
|
|
5
|
+
import { LitElement as r, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
|
+
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
8
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
11
|
-
const
|
|
9
|
+
v4.34.0-next.10 */
|
|
10
|
+
const d = l`@layer{arcgis-video{display:block;height:100%;width:100%;.esri-view{height:100%;width:100%}}}`, c = s(a, {
|
|
12
11
|
omitProps: ["container", "navigation", "scale", "ui"]
|
|
13
12
|
});
|
|
14
|
-
class
|
|
13
|
+
class n extends r {
|
|
15
14
|
constructor() {
|
|
16
|
-
super(), this.autoDestroyDisabled = !1, this.view =
|
|
17
|
-
components: ["attribution"]
|
|
18
|
-
};
|
|
15
|
+
super(), this.autoDestroyDisabled = !1, this.view = c(this), this.ready = this.view.ready, this.layer = this.view.layer, this.arcgisViewReadyChange = o();
|
|
19
16
|
}
|
|
20
17
|
static {
|
|
21
|
-
this.properties = { autoDestroyDisabled: 5, view: 32, ready: 4, layer: 0
|
|
18
|
+
this.properties = { autoDestroyDisabled: 5, view: 32, ready: 4, layer: 0 };
|
|
22
19
|
}
|
|
23
20
|
static {
|
|
24
21
|
this.shadowRootOptions = h;
|
|
25
22
|
}
|
|
26
23
|
static {
|
|
27
|
-
this.styles =
|
|
28
|
-
}
|
|
29
|
-
get layerUrl() {
|
|
30
|
-
return this.layer?.url;
|
|
31
|
-
}
|
|
32
|
-
set layerUrl(e) {
|
|
33
|
-
this.layer = new r({ url: e });
|
|
24
|
+
this.styles = d;
|
|
34
25
|
}
|
|
35
26
|
async destroy() {
|
|
36
27
|
await this.manager.destroy();
|
|
@@ -50,7 +41,7 @@ class y extends o {
|
|
|
50
41
|
]);
|
|
51
42
|
}
|
|
52
43
|
}
|
|
53
|
-
t("arcgis-video",
|
|
44
|
+
t("arcgis-video", n);
|
|
54
45
|
export {
|
|
55
|
-
|
|
46
|
+
n as ArcgisVideo
|
|
56
47
|
};
|
|
@@ -83,13 +83,22 @@ export declare class ArcgisVideoPlayer extends LitElement {
|
|
|
83
83
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-VideoPlayer-VideoPlayerViewModel.html#state)
|
|
84
84
|
*/
|
|
85
85
|
readonly state: "ready" | "error" | "playing" | "waiting" | "can-play" | "not-ready" | "paused" | "data-loaded";
|
|
86
|
+
/**
|
|
87
|
+
* Determines which telemetry elements to follow when the video layer is playing.
|
|
88
|
+
*
|
|
89
|
+
* @default "follow-both"
|
|
90
|
+
*/
|
|
91
|
+
get followingMode(): VideoPlayerViewModel["followingMode"];
|
|
92
|
+
set followingMode(value: VideoPlayerViewModel["followingMode"]);
|
|
86
93
|
/**
|
|
87
94
|
* The [VideoLayer](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VideoLayer.html) to use as the data source for the video player.
|
|
88
95
|
*
|
|
89
96
|
* @noautocast
|
|
90
97
|
* @example
|
|
98
|
+
* ```js
|
|
91
99
|
* // Create a new Video Player with a VideoLayer
|
|
92
100
|
* videoPlayer.layer = videoLayer;
|
|
101
|
+
* ```
|
|
93
102
|
* @default null
|
|
94
103
|
*/
|
|
95
104
|
layer: nullish | __esri.VideoLayer;
|
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
2
|
+
import { html as i } from "lit-html";
|
|
3
3
|
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
4
4
|
import { classes as u } from "@arcgis/components-utils";
|
|
5
5
|
import v from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
|
|
6
6
|
import { watch as t } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { createRef as
|
|
7
|
+
import { LitElement as g, createEvent as a, noShadowRoot as m, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
+
import { createRef as f, ref as y } from "lit-html/directives/ref.js";
|
|
9
9
|
import { u as _ } from "../../chunks/useT9n.js";
|
|
10
10
|
import { m as p } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { g as w } from "../../chunks/globalCss.js";
|
|
12
12
|
import { css as V } from "@lit/reactive-element/css-tag.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
15
|
-
v4.34.0-next.
|
|
16
|
-
const
|
|
15
|
+
v4.34.0-next.10 */
|
|
16
|
+
const M = V`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`, d = "arcgis-video-player", l = {
|
|
17
17
|
base: d,
|
|
18
18
|
videoView: `${d}__video-view`
|
|
19
|
-
},
|
|
20
|
-
class
|
|
19
|
+
}, $ = p(v);
|
|
20
|
+
class b extends g {
|
|
21
21
|
constructor() {
|
|
22
|
-
super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel =
|
|
22
|
+
super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel = $(this), this._videoViewRef = f(), this._metadataVisible = !1, this._duration = 0, this._currentTime = 0, this._bufferedValue = 0, this._currentValue = 0, this._isBuffering = !1, this._videoViewReady = !1, this.position = "top-left", this.icon = "video-web", this.state = this.viewModel.state, this.layer = this.viewModel.layer, this.autoDestroyDisabled = !1, this.hideHeader = !1, this.arcgisPropertyChange = c()("state", "layer"), this.arcgisReady = a(), this.arcgisVideoReady = a();
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, referenceElement: 1, position: 3, icon: 1, state: 3, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, hideHeader: 5 };
|
|
25
|
+
this.properties = { _metadataVisible: 16, _duration: 16, _currentTime: 16, _bufferedValue: 16, _currentValue: 16, _isBuffering: 16, _videoViewReady: 16, _layerTitle: 16, referenceElement: 1, position: 3, icon: 1, state: 3, followingMode: 1, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, hideHeader: 5 };
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
|
-
this.styles =
|
|
28
|
+
this.styles = M;
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
31
|
-
this.shadowRootOptions =
|
|
31
|
+
this.shadowRootOptions = m;
|
|
32
|
+
}
|
|
33
|
+
get followingMode() {
|
|
34
|
+
return this.viewModel.followingMode;
|
|
35
|
+
}
|
|
36
|
+
set followingMode(e) {
|
|
37
|
+
this.viewModel.followingMode = e;
|
|
32
38
|
}
|
|
33
39
|
async destroy() {
|
|
34
40
|
await this.manager.destroy();
|
|
@@ -36,40 +42,40 @@ class M extends m {
|
|
|
36
42
|
loaded() {
|
|
37
43
|
this.manager.onLifecycle(() => [
|
|
38
44
|
t(() => [this.viewModel.currentTime, this.viewModel.duration, this.viewModel.duration, this.viewModel.ended], () => {
|
|
39
|
-
const { buffered:
|
|
40
|
-
this._duration = r, this._currentTime = s, this._bufferedValue =
|
|
45
|
+
const { buffered: e, currentTime: s, duration: r, ended: n } = this.viewModel;
|
|
46
|
+
this._duration = r, this._currentTime = s, this._bufferedValue = e / (r || 1), this._currentValue = s / (r || 1), this._isBuffering = !n && this._bufferedValue < this._currentValue;
|
|
41
47
|
}),
|
|
42
|
-
t(() => this._videoViewRef.value?.ready, (
|
|
43
|
-
this._videoViewReady = !!
|
|
48
|
+
t(() => this._videoViewRef.value?.ready, (e) => {
|
|
49
|
+
this._videoViewReady = !!e;
|
|
44
50
|
}, { initial: !0 }),
|
|
45
|
-
t(() => this.layer?.title, (
|
|
46
|
-
this._layerTitle =
|
|
51
|
+
t(() => this.layer?.title, (e) => {
|
|
52
|
+
this._layerTitle = e ?? void 0;
|
|
47
53
|
}, { initial: !0 })
|
|
48
54
|
]);
|
|
49
55
|
}
|
|
50
56
|
render() {
|
|
51
|
-
return
|
|
57
|
+
return i`<div class=${o(u(l.base, w.widget))}><calcite-panel .heading=${this.hideHeader ? void 0 : this._layerTitle ?? this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`;
|
|
52
58
|
}
|
|
53
59
|
_renderLoadingScrim() {
|
|
54
|
-
return this._videoViewReady ? null :
|
|
60
|
+
return this._videoViewReady ? null : i`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
|
|
55
61
|
}
|
|
56
62
|
_renderBuffering() {
|
|
57
|
-
return this._isBuffering ?
|
|
63
|
+
return this._isBuffering ? i`<calcite-progress type=indeterminate></calcite-progress>` : null;
|
|
58
64
|
}
|
|
59
65
|
_renderVideoSection() {
|
|
60
|
-
return
|
|
66
|
+
return i`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${y(this._videoViewRef)}></arcgis-video></div>`;
|
|
61
67
|
}
|
|
62
68
|
_renderSlider() {
|
|
63
|
-
return
|
|
69
|
+
return i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
64
70
|
}
|
|
65
71
|
_renderActionBar() {
|
|
66
|
-
return
|
|
72
|
+
return i`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${() => this._metadataVisible = !this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`;
|
|
67
73
|
}
|
|
68
74
|
_renderMetadataSection() {
|
|
69
|
-
return this._metadataVisible ?
|
|
75
|
+
return this._metadataVisible ? i`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>` : null;
|
|
70
76
|
}
|
|
71
77
|
}
|
|
72
|
-
h("arcgis-video-player",
|
|
78
|
+
h("arcgis-video-player", b);
|
|
73
79
|
export {
|
|
74
|
-
|
|
80
|
+
b as ArcgisVideoPlayer
|
|
75
81
|
};
|
|
@@ -5,7 +5,7 @@ import { LitElement as n, safeClassMap as e } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as d } 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.10 */
|
|
9
9
|
const p = d`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`, o = "arcgis-video-player", r = {
|
|
10
10
|
playerControlsGroup: `${o}__controls-group`,
|
|
11
11
|
playerTimecode: `${o}__timecode`,
|
|
@@ -4,7 +4,7 @@ import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as p, noShadowRoot as m } from "@arcgis/lumina";
|
|
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.10 */
|
|
8
8
|
class $ extends p {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._disabled = !1, this._playing = !1;
|