@arcgis/map-components 4.32.0-next.83 → 4.32.0-next.85
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/arcgis-map-components/{Z2H33RAX.js → 2TNEAZAF.js} +2 -2
- package/dist/arcgis-map-components/{LAGUAHVX.js → 32WNMGSE.js} +2 -2
- package/dist/arcgis-map-components/{HZGL3SLW.js → 35HPYV25.js} +2 -2
- package/dist/arcgis-map-components/{LMQDVVYO.js → 3LZI4V7A.js} +2 -2
- package/dist/arcgis-map-components/{AWFYQPKD.js → 44SXKBON.js} +2 -2
- package/dist/arcgis-map-components/{PMRLGSCG.js → 4GMWGCYP.js} +2 -2
- package/dist/arcgis-map-components/{A6UASEWJ.js → 4OPF2YIS.js} +2 -2
- package/dist/arcgis-map-components/{VNWOPD5J.js → 564KMD2H.js} +2 -2
- package/dist/arcgis-map-components/{V7M5KB7D.js → 5TMK2FY7.js} +2 -2
- package/dist/arcgis-map-components/{SVWOQROO.js → 6ADYLVHO.js} +2 -2
- package/dist/arcgis-map-components/{733DYCVI.js → 6IUOO2CX.js} +2 -2
- package/dist/arcgis-map-components/{VZPTH3WC.js → 7XE2PHMN.js} +2 -2
- package/dist/arcgis-map-components/{QOBPPCP6.js → AHJ77DDX.js} +2 -2
- package/dist/arcgis-map-components/BO53EV22.js +4 -0
- package/dist/arcgis-map-components/{X7KWIITV.js → CCYD3GJL.js} +2 -2
- package/dist/arcgis-map-components/{FATDSUTZ.js → CF5DOP3R.js} +2 -2
- package/dist/arcgis-map-components/{BKTRWHQA.js → CSHTSK3A.js} +2 -2
- package/dist/arcgis-map-components/{UUUSXKHX.js → CZMG37KX.js} +2 -2
- package/dist/arcgis-map-components/{Z27NUIOA.js → D727YOOX.js} +2 -2
- package/dist/arcgis-map-components/{BUDWVBYE.js → DBPKJOYW.js} +1 -1
- package/dist/arcgis-map-components/{MF7RFMSW.js → DLEN4ORI.js} +2 -2
- package/dist/arcgis-map-components/{EORMIB3R.js → DWMEEDHE.js} +2 -2
- package/dist/arcgis-map-components/{NLNFZP4Q.js → DZF434YD.js} +2 -2
- package/dist/arcgis-map-components/{U5UL33ZU.js → ELYTB4XJ.js} +2 -2
- package/dist/arcgis-map-components/{GS66LFP4.js → ERS4HX5J.js} +1 -1
- package/dist/arcgis-map-components/{ONE2UFPZ.js → FHOJWHL5.js} +2 -2
- package/dist/arcgis-map-components/{LTOLVVCM.js → FRIJ3FSA.js} +2 -2
- package/dist/arcgis-map-components/GAAOXAL6.js +4 -0
- package/dist/arcgis-map-components/{B4N3XXMN.js → HG2VALA3.js} +2 -2
- package/dist/arcgis-map-components/HW7Z4CZB.js +4 -0
- package/dist/arcgis-map-components/{V5KVHTTD.js → HZNRXF47.js} +2 -2
- package/dist/arcgis-map-components/{GAVRDI2M.js → IKGSM2C2.js} +2 -2
- package/dist/arcgis-map-components/{JMKTTV47.js → ITFN6HQK.js} +2 -2
- package/dist/arcgis-map-components/{3PBNMPLN.js → IUDW2ZVM.js} +2 -2
- package/dist/arcgis-map-components/{DT43KNRP.js → IW775SZ3.js} +2 -2
- package/dist/arcgis-map-components/{K6JLYC4K.js → IXPHHN4Z.js} +2 -2
- package/dist/arcgis-map-components/{HZXLMWI4.js → J7HGN3TZ.js} +1 -1
- package/dist/arcgis-map-components/{PEYSQ5ZQ.js → JAQQBKX6.js} +2 -2
- package/dist/arcgis-map-components/{YAEO7FHZ.js → K6PW23T7.js} +2 -2
- package/dist/arcgis-map-components/{GARYG4ZV.js → K77QPLOY.js} +2 -2
- package/dist/arcgis-map-components/{W3IEUQ3T.js → LMOFB4IY.js} +2 -2
- package/dist/arcgis-map-components/{UKXESHIF.js → M6O6GD4O.js} +2 -2
- package/dist/arcgis-map-components/{4ZLOFJWK.js → MAMFUB2L.js} +2 -2
- package/dist/arcgis-map-components/{5R7JAA4K.js → MDHKEFLL.js} +1 -1
- package/dist/arcgis-map-components/{3DJSR4KM.js → MP3QQQKU.js} +2 -2
- package/dist/arcgis-map-components/{UG5BOEWQ.js → MSOBY6NR.js} +2 -2
- package/dist/arcgis-map-components/{KVQFHHCG.js → NCWZPEUO.js} +2 -2
- package/dist/arcgis-map-components/{CI3ZCOKX.js → NVIX6GNC.js} +2 -2
- package/dist/arcgis-map-components/{KMGWVWD7.js → NYN35UXK.js} +2 -2
- package/dist/arcgis-map-components/{JQ5QQDDP.js → OMIYZ5A3.js} +2 -2
- package/dist/arcgis-map-components/{RTYGOYIP.js → OYUYZKN2.js} +2 -2
- package/dist/arcgis-map-components/PFRBRWGY.js +4 -0
- package/dist/arcgis-map-components/{3QB2C2MK.js → QBCARJYO.js} +2 -2
- package/dist/arcgis-map-components/QCYDFQGT.js +4 -0
- package/dist/arcgis-map-components/{C62ATYLY.js → QVOQDJ5B.js} +2 -2
- package/dist/arcgis-map-components/{NC64HBQN.js → R3AVBSDU.js} +2 -2
- package/dist/arcgis-map-components/{VEQBFBC6.js → RBXK5JR3.js} +2 -2
- package/dist/arcgis-map-components/{4ZMZRT6C.js → S3H7IQQP.js} +2 -2
- package/dist/arcgis-map-components/{NGYG2LMH.js → S76V3WVV.js} +2 -2
- package/dist/arcgis-map-components/{APRFYSM6.js → SI357SRE.js} +2 -2
- package/dist/arcgis-map-components/{W6ON5IY6.js → SPVD3PYB.js} +2 -2
- package/dist/arcgis-map-components/{IRHZH6RD.js → U6C4ZCMS.js} +2 -2
- package/dist/arcgis-map-components/{OW6VZAYK.js → VHE6RZA2.js} +2 -2
- package/dist/arcgis-map-components/{UJEL34OH.js → VIUD4NSE.js} +2 -2
- package/dist/arcgis-map-components/{3FHA5Q35.js → VIVRU3Y4.js} +2 -2
- package/dist/arcgis-map-components/{ME4MZYGO.js → VWEH2LWN.js} +2 -2
- package/dist/arcgis-map-components/{GIEN743A.js → WZV3Y366.js} +2 -2
- package/dist/arcgis-map-components/X7EWPPQH.js +4 -0
- package/dist/arcgis-map-components/{K4M5MK2I.js → YHASKKJ6.js} +2 -2
- package/dist/arcgis-map-components/{QRMNTHS2.js → YK5CBUJC.js} +2 -2
- package/dist/arcgis-map-components/YXSRE3F6.js +4 -0
- package/dist/arcgis-map-components/{BLLGRMVV.js → Z6JJJVA2.js} +2 -2
- package/dist/arcgis-map-components/{QZBWHUJL.js → ZVNCPLXY.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +43 -43
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -2
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +18 -18
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +9 -9
- 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.d.ts +11 -11
- 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.d.ts +3 -3
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +14 -11
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +12 -12
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +10 -10
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +4 -4
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +6 -3
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +18 -18
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +6 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +16 -16
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +12 -9
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +13 -10
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +17 -17
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +10 -10
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +11 -11
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -2
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +3 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +10 -10
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +3 -3
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +22 -16
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +2 -2
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +53 -47
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +10 -10
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +10 -10
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +6 -6
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +23 -23
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +13 -10
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +10 -10
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +84 -13
- package/dist/components/arcgis-utility-network-associations/customElement.js +33 -210
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +4 -4
- package/dist/components/arcgis-value-picker/customElement.d.ts +8 -5
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +9 -9
- 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.d.ts +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-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/docs/api.json +851 -167
- package/dist/docs/docs.json +681 -179
- package/dist/docs/vscode.html-custom-data.json +100 -8
- package/dist/docs/web-types.json +288 -79
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/testing/commonSpatialReferences.d.ts +8 -0
- package/dist/testing/mockServices.d.ts +9 -0
- package/dist/testing/setupFile.d.ts +1 -0
- package/dist/testing/testUtils.d.ts +49 -0
- package/dist/testing/tileInfoUtils.d.ts +10 -0
- package/dist/types/lumina.d.ts +6 -6
- package/dist/types/preact.d.ts +6 -6
- package/dist/types/react.d.ts +233 -232
- package/dist/types/stencil.d.ts +6 -6
- package/dist/utils/component-utils.d.ts +2 -2
- package/package.json +5 -5
- package/dist/arcgis-map-components/3TIH7FJM.js +0 -4
- package/dist/arcgis-map-components/5UCZ2NP2.js +0 -4
- package/dist/arcgis-map-components/5YLNK34L.js +0 -4
- package/dist/arcgis-map-components/D7SX7VI7.js +0 -4
- package/dist/arcgis-map-components/FQKPPNHX.js +0 -4
- package/dist/arcgis-map-components/RU3VPZSZ.js +0 -4
- package/dist/arcgis-map-components/XJPV2XF5.js +0 -4
|
@@ -60,11 +60,11 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
60
60
|
label: string;
|
|
61
61
|
portal: __esri.Portal;
|
|
62
62
|
position: __esri.UIPosition;
|
|
63
|
-
printServiceUrl: string;
|
|
63
|
+
printServiceUrl: string | nullish;
|
|
64
64
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
65
65
|
showPrintAreaEnabled: boolean;
|
|
66
66
|
readonly state: "ready" | "disabled" | "error" | "initializing";
|
|
67
|
-
templateCustomTextElements: HashMap<HashMap<string>[]>;
|
|
67
|
+
templateCustomTextElements: nullish | HashMap<HashMap<string>[]>;
|
|
68
68
|
templateOptions: __esri.TemplateOptions;
|
|
69
69
|
/** Permanently destroy the component */
|
|
70
70
|
destroy(): Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { reEmitEvent as e } from "@arcgis/components-controllers/accessor";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
const d = h`arcgis-print{display:block}`, m = o(s);
|
|
12
12
|
class p extends a {
|
|
13
13
|
constructor() {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { ref as
|
|
1
|
+
import { c as g } from "../../chunks/runtime.js";
|
|
2
|
+
import { ref as w } from "lit-html/directives/ref.js";
|
|
3
3
|
import { html as u } from "lit-html";
|
|
4
|
-
import { g as
|
|
4
|
+
import { g as v } from "../../chunks/globalCss.js";
|
|
5
5
|
import { u as y, m as S } from "../../chunks/useViewModel.js";
|
|
6
6
|
import { classes as d } from "@arcgis/components-utils";
|
|
7
7
|
import { load as _ } from "@arcgis/components-controllers";
|
|
8
|
-
import { importIntl as B, importCoreReactiveUtils as L, importApplicationsComponentsGetDefaultUnits as
|
|
9
|
-
import { LitElement as R, createEvent as D, noShadowRoot as x, safeClassMap as
|
|
8
|
+
import { importIntl as B, importCoreReactiveUtils as L, importApplicationsComponentsGetDefaultUnits as U, newWidgetsScaleBarScaleBarViewModel as M } from "@arcgis/core-adapter";
|
|
9
|
+
import { LitElement as R, createEvent as D, noShadowRoot as x, safeClassMap as a, safeStyleMap as C } from "@arcgis/lumina";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
12
|
-
v4.32.0-next.
|
|
13
|
-
const
|
|
14
|
-
base:
|
|
15
|
-
labelContainer: `${
|
|
16
|
-
rulerLabelContainer: `${
|
|
17
|
-
lineLabelContainer: `${
|
|
18
|
-
topLabelContainer: `${
|
|
19
|
-
bottomLabelContainer: `${
|
|
20
|
-
label: `${
|
|
21
|
-
line: `${
|
|
22
|
-
topLine: `${
|
|
23
|
-
bottomLine: `${
|
|
24
|
-
ruler: `${
|
|
25
|
-
rulerBlock: `${
|
|
26
|
-
barContainer: `${
|
|
27
|
-
rulerBarContainer: `${
|
|
28
|
-
lineBarContainer: `${
|
|
12
|
+
v4.32.0-next.85 */
|
|
13
|
+
const r = "esri-scale-bar", t = {
|
|
14
|
+
base: r,
|
|
15
|
+
labelContainer: `${r}__label-container`,
|
|
16
|
+
rulerLabelContainer: `${r}__label-container--ruler`,
|
|
17
|
+
lineLabelContainer: `${r}__label-container--line`,
|
|
18
|
+
topLabelContainer: `${r}__label-container--top`,
|
|
19
|
+
bottomLabelContainer: `${r}__label-container--bottom`,
|
|
20
|
+
label: `${r}__label`,
|
|
21
|
+
line: `${r}__line`,
|
|
22
|
+
topLine: `${r}__line--top`,
|
|
23
|
+
bottomLine: `${r}__line--bottom`,
|
|
24
|
+
ruler: `${r}__ruler`,
|
|
25
|
+
rulerBlock: `${r}__ruler-block`,
|
|
26
|
+
barContainer: `${r}__bar-container`,
|
|
27
|
+
rulerBarContainer: `${r}__bar-container--ruler`,
|
|
28
|
+
lineBarContainer: `${r}__bar-container--line`
|
|
29
29
|
};
|
|
30
|
-
function $(
|
|
31
|
-
return { x:
|
|
30
|
+
function $(f = 0, e = 0) {
|
|
31
|
+
return { x: f, y: e };
|
|
32
32
|
}
|
|
33
|
-
const k = S(
|
|
33
|
+
const k = S(M);
|
|
34
34
|
class O extends R {
|
|
35
35
|
constructor() {
|
|
36
|
-
super(...arguments), this.intlUtils = _(B), this.messages = y(), this.reactiveUtils = _(L), this._scaleComputedFrom = $(), this.unitUtils = _(
|
|
36
|
+
super(...arguments), this._defaultUnit = "metric", this.intlUtils = _(B), this.messages = y(), this.reactiveUtils = _(L), this._scaleComputedFrom = $(), this.unitUtils = _(U), this.viewModel = k(this), this.autoDestroyDisabled = !1, this.barStyle = "line", this.icon = "actual-size", this.position = "top-left", this.arcgisReady = D();
|
|
37
37
|
}
|
|
38
38
|
static {
|
|
39
39
|
this.properties = { autoDestroyDisabled: 5, barStyle: 1, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, unit: 1 };
|
|
@@ -65,11 +65,17 @@ class O extends R {
|
|
|
65
65
|
this._handleRootCreateOrUpdate();
|
|
66
66
|
}
|
|
67
67
|
loaded() {
|
|
68
|
-
this.
|
|
68
|
+
this.manager.onLifecycle(() => this.reactiveUtils.watch(() => {
|
|
69
69
|
const e = this.viewModel.view;
|
|
70
|
-
return
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
return {
|
|
71
|
+
defaultUnit: e ? this.unitUtils.getDefaultUnitForView(e) : void 0,
|
|
72
|
+
stationary: e?.stationary,
|
|
73
|
+
center: e?.center,
|
|
74
|
+
scale: e?.scale,
|
|
75
|
+
zoom: e?.zoom
|
|
76
|
+
};
|
|
77
|
+
}, ({ defaultUnit: e, stationary: i }) => {
|
|
78
|
+
this._defaultUnit = e ?? "metric", i && this.requestUpdate();
|
|
73
79
|
}));
|
|
74
80
|
}
|
|
75
81
|
// #endregion
|
|
@@ -80,21 +86,21 @@ class O extends R {
|
|
|
80
86
|
_handleRootCreateOrUpdate() {
|
|
81
87
|
if (!this.viewModel)
|
|
82
88
|
return;
|
|
83
|
-
const e = this._scaleComputedFrom,
|
|
89
|
+
const e = this._scaleComputedFrom, i = this.el.getBoundingClientRect(), l = i.left + window.pageXOffset, o = i.top + window.pageYOffset, s = $(l, o);
|
|
84
90
|
(s.x !== e.x || s.y !== e.y) && (this._scaleComputedFrom = s);
|
|
85
91
|
}
|
|
86
|
-
_formatDistance(e,
|
|
92
|
+
_formatDistance(e, i) {
|
|
87
93
|
return this.intlUtils.formatNumber(e, {
|
|
88
94
|
style: "unit",
|
|
89
|
-
unit:
|
|
95
|
+
unit: i,
|
|
90
96
|
unitDisplay: "short"
|
|
91
97
|
});
|
|
92
98
|
}
|
|
93
99
|
// #endregion
|
|
94
100
|
// #region Rendering
|
|
95
101
|
render() {
|
|
96
|
-
const e = this.viewModel.state === "disabled",
|
|
97
|
-
[
|
|
102
|
+
const e = this.viewModel.state === "disabled", i = {
|
|
103
|
+
[v.disabled]: e
|
|
98
104
|
};
|
|
99
105
|
let l, o;
|
|
100
106
|
if (!e) {
|
|
@@ -108,24 +114,24 @@ class O extends R {
|
|
|
108
114
|
n && (l = h === "ruler" ? this._renderRuler(n) : this._renderLine(n, "top"));
|
|
109
115
|
}
|
|
110
116
|
}
|
|
111
|
-
return u`<div class=${
|
|
117
|
+
return u`<div class=${a(d(t.base, v.widget, i))} ${w(this._handleContainerRef)}>${l}${o}</div>`;
|
|
112
118
|
}
|
|
113
119
|
_renderRuler(e) {
|
|
114
|
-
const { length:
|
|
115
|
-
return u`<div class=${
|
|
120
|
+
const { length: i, unit: l, value: o } = e, s = Math.round(i), c = this._formatDistance(o, l);
|
|
121
|
+
return u`<div class=${a(d(t.barContainer, t.rulerBarContainer))}><div class=${a(t.ruler)} style=${C({ width: `${s}px` })}><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div><div class=${a(t.rulerBlock)}></div></div><div class=${a(d(t.labelContainer, t.rulerLabelContainer))}><div class=${a(t.label)}>0</div><div class=${a(t.label)}>${c}</div></div></div>`;
|
|
116
122
|
}
|
|
117
|
-
_renderLine(e,
|
|
123
|
+
_renderLine(e, i) {
|
|
118
124
|
const { length: l, unit: o, value: s } = e, c = Math.round(l), p = this._formatDistance(s, o), b = {
|
|
119
|
-
[t.topLabelContainer]:
|
|
120
|
-
[t.bottomLabelContainer]:
|
|
121
|
-
}, m = u`<div class=${
|
|
122
|
-
[t.topLine]:
|
|
123
|
-
[t.bottomLine]:
|
|
124
|
-
}, n = u`<div class=${
|
|
125
|
-
return u`<div class=${
|
|
125
|
+
[t.topLabelContainer]: i === "top",
|
|
126
|
+
[t.bottomLabelContainer]: i === "bottom"
|
|
127
|
+
}, m = u`<div class=${a(d(t.labelContainer, t.lineLabelContainer, b))}><div class=${a(t.label)}>${p}</div></div>`, h = {
|
|
128
|
+
[t.topLine]: i === "top",
|
|
129
|
+
[t.bottomLine]: i === "bottom"
|
|
130
|
+
}, n = u`<div class=${a(d(t.line, h))} style=${C({ width: `${c}px` })}></div>`;
|
|
131
|
+
return u`<div class=${a(d(t.barContainer, t.lineBarContainer))}>${[n, m]}</div>`;
|
|
126
132
|
}
|
|
127
133
|
}
|
|
128
|
-
|
|
134
|
+
g("arcgis-scale-bar", O);
|
|
129
135
|
export {
|
|
130
136
|
O as ArcgisScaleBar
|
|
131
137
|
};
|
|
@@ -56,7 +56,7 @@ export declare class ArcgisScaleRangeSlider extends LitElement {
|
|
|
56
56
|
icon: string;
|
|
57
57
|
/** The component's default label. */
|
|
58
58
|
label: string;
|
|
59
|
-
layer: __esri.Layer | __esri.Sublayer;
|
|
59
|
+
layer: nullish | __esri.Layer | __esri.Sublayer;
|
|
60
60
|
maxScale: number;
|
|
61
61
|
maxScaleLimit: number;
|
|
62
62
|
minScale: number;
|
|
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as l, noShadowRoot as n } from "@arcgis/lu
|
|
|
6
6
|
import { css as o } 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.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.85 */
|
|
10
10
|
const c = o`arcgis-scale-range-slider{display:block}`, r = s(i);
|
|
11
11
|
class d extends a {
|
|
12
12
|
constructor() {
|
|
@@ -21,7 +21,7 @@ declare const useSceneView: (component: import('@arcgis/components-controllers')
|
|
|
21
21
|
el: HTMLElement;
|
|
22
22
|
autoDestroyDisabled?: boolean;
|
|
23
23
|
destroy?: () => Promise<void>;
|
|
24
|
-
} & Pick<__esri.SceneView, "map" | "
|
|
24
|
+
} & Pick<__esri.SceneView, "map" | "basemapView" | "constraints" | "extent" | "fatalError" | "floors" | "graphics" | "highlightOptions" | "layerViews" | "navigation" | "padding" | "popup" | "scale" | "spatialReference" | "theme" | "timeExtent" | "viewpoint" | "zoom" | "alphaCompositingEnabled" | "analyses" | "camera" | "clippingArea" | "environment" | "qualityProfile" | "viewingMode"> & {
|
|
25
25
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
26
26
|
autoDestroyDisabled: boolean;
|
|
27
27
|
destroy: () => Promise<void>;
|
|
@@ -37,7 +37,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
37
37
|
* Collection containing a flat list of all the created LayerViews
|
|
38
38
|
* related to the basemap, operational layers, and group layers in this view.
|
|
39
39
|
*/
|
|
40
|
-
allLayerViews: __esri.Collection<__esri.LayerView>;
|
|
40
|
+
readonly allLayerViews: __esri.Collection<__esri.LayerView>;
|
|
41
41
|
alphaCompositingEnabled: boolean;
|
|
42
42
|
analyses: __esri.Collection<__esri.DimensionAnalysis | __esri.DirectLineMeasurementAnalysis | __esri.AreaMeasurementAnalysis | __esri.SliceAnalysis | __esri.LineOfSightAnalysis | __esri.ViewshedAnalysis>;
|
|
43
43
|
/**
|
|
@@ -53,7 +53,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
53
53
|
* geographic context to the MapView or SceneView and the other operational layers
|
|
54
54
|
* in the map.
|
|
55
55
|
*/
|
|
56
|
-
basemap: __esri.Basemap | string;
|
|
56
|
+
basemap: __esri.Basemap | nullish | string;
|
|
57
57
|
/** Represents the view for a single basemap after it has been added to the map. */
|
|
58
58
|
basemapView: __esri.BasemapView;
|
|
59
59
|
get camera(): __esri.Camera;
|
|
@@ -105,7 +105,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
105
105
|
*/
|
|
106
106
|
get center(): __esri.SceneView["center"];
|
|
107
107
|
set center(newValue: __esri.SceneView["center"] | Nil | number[] | string);
|
|
108
|
-
clippingArea: __esri.Extent;
|
|
108
|
+
clippingArea: nullish | __esri.Extent;
|
|
109
109
|
/** Specifies constraints to scale, zoom, and rotation that may be applied to the MapView. */
|
|
110
110
|
constraints: __esri.SceneViewConstraints;
|
|
111
111
|
/**
|
|
@@ -123,7 +123,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
123
123
|
get extent(): __esri.SceneView["extent"];
|
|
124
124
|
set extent(newValue: __esri.SceneView["extent"]);
|
|
125
125
|
/** A rejected view indicates a fatal error making it unable to display. */
|
|
126
|
-
fatalError: __esri.Error;
|
|
126
|
+
fatalError: nullish | __esri.Error;
|
|
127
127
|
/**
|
|
128
128
|
* Applies a display filter on the view for a specific set of floor levels.
|
|
129
129
|
* It can filter the map display on floor-aware layers by zero or more level IDs.
|
|
@@ -151,7 +151,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
151
151
|
* The highlights property is a collection of HighlightGroup objects that
|
|
152
152
|
* allow you to visually emphasize specific features on the map.
|
|
153
153
|
*/
|
|
154
|
-
highlights: __esri.Collection<any>;
|
|
154
|
+
readonly highlights: __esri.Collection<any>;
|
|
155
155
|
/**
|
|
156
156
|
* @deprecated
|
|
157
157
|
*
|
|
@@ -189,7 +189,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
189
189
|
* details for layers about memory consumption and number of features.
|
|
190
190
|
*/
|
|
191
191
|
get performanceInfo(): __esri.SceneViewPerformanceInfo;
|
|
192
|
-
popup: __esri.Popup;
|
|
192
|
+
popup: nullish | __esri.Popup;
|
|
193
193
|
/** Controls whether the popup opens when users click on the view. */
|
|
194
194
|
popupDisabled: boolean;
|
|
195
195
|
qualityProfile: "medium" | "low" | "high";
|
|
@@ -224,14 +224,14 @@ export declare class ArcgisScene extends LitElement {
|
|
|
224
224
|
* This property specifies the base colors used by some widgets
|
|
225
225
|
* and components to render graphics and labels.
|
|
226
226
|
*/
|
|
227
|
-
theme: __esri.Theme;
|
|
227
|
+
theme: nullish | __esri.Theme;
|
|
228
228
|
/**
|
|
229
229
|
* The view's time extent. Time-aware layers display their temporal data that falls within
|
|
230
230
|
* the view's time extent. Setting the view's time extent is similar to setting the spatial
|
|
231
231
|
* extent because once the time extent is set, the
|
|
232
232
|
* view updates automatically to conform to the change.
|
|
233
233
|
*/
|
|
234
|
-
timeExtent: __esri.TimeExtent;
|
|
234
|
+
timeExtent: nullish | __esri.TimeExtent;
|
|
235
235
|
/**
|
|
236
236
|
* Indicates whether the view is being updated by additional data requests to the network,
|
|
237
237
|
* or by processing received data.
|
|
@@ -277,7 +277,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
277
277
|
openPopup(options?: __esri.PopupViewOpenPopupOptions): Promise<void>;
|
|
278
278
|
/** Create a screenshot of the current view. */
|
|
279
279
|
takeScreenshot(options?: __esri.SceneViewTakeScreenshotOptions): Promise<__esri.Screenshot>;
|
|
280
|
-
toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point;
|
|
280
|
+
toMap(screenPoint: __esri.SceneViewScreenPoint | MouseEvent, options?: __esri.SceneViewToMapOptions): __esri.Point | nullish;
|
|
281
281
|
toScreen(point: __esri.Point): __esri.SceneViewScreenPoint;
|
|
282
282
|
/** Call this method to clear any fatal errors resulting from a lost WebGL context. */
|
|
283
283
|
tryFatalErrorRecovery(): Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { LitElement as p, createEvent as n, noShadowRoot as y } from "@arcgis/lu
|
|
|
7
7
|
import { css as u } 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.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
const f = u`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`, _ = o(v, {}), b = o(l, {});
|
|
12
12
|
class V extends p {
|
|
13
13
|
constructor() {
|
|
@@ -37,9 +37,9 @@ declare const useSearchWidget: (component: import('@arcgis/components-controller
|
|
|
37
37
|
*/
|
|
38
38
|
export declare class ArcgisSearch extends LitElement {
|
|
39
39
|
activeMenu: "source" | "none" | "warning" | "suggestion";
|
|
40
|
-
readonly activeSource: __esri.LayerSearchSource | __esri.LocatorSearchSource;
|
|
40
|
+
readonly activeSource: nullish | __esri.LayerSearchSource | __esri.LocatorSearchSource;
|
|
41
41
|
activeSourceIndex: number;
|
|
42
|
-
allPlaceholder: string;
|
|
42
|
+
allPlaceholder: string | nullish;
|
|
43
43
|
readonly allSources: __esri.Collection<__esri.LayerSearchSource | __esri.LocatorSearchSource>;
|
|
44
44
|
/**
|
|
45
45
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -66,27 +66,27 @@ export declare class ArcgisSearch extends LitElement {
|
|
|
66
66
|
maxSuggestions: number;
|
|
67
67
|
minSuggestCharacters: number;
|
|
68
68
|
popupDisabled: boolean;
|
|
69
|
-
popupTemplate: __esri.PopupTemplate;
|
|
70
|
-
portal: __esri.Portal;
|
|
69
|
+
popupTemplate: nullish | __esri.PopupTemplate;
|
|
70
|
+
portal: nullish | __esri.Portal;
|
|
71
71
|
position: __esri.UIPosition;
|
|
72
72
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
73
|
-
readonly resultGraphic: __esri.Graphic;
|
|
73
|
+
readonly resultGraphic: nullish | __esri.Graphic;
|
|
74
74
|
resultGraphicDisabled: boolean;
|
|
75
|
-
readonly results: any[];
|
|
75
|
+
readonly results: any[] | nullish;
|
|
76
76
|
searchAllDisabled: boolean;
|
|
77
77
|
searchTerm: string;
|
|
78
|
-
readonly selectedResult: __esri.SearchResult;
|
|
78
|
+
readonly selectedResult: nullish | __esri.SearchResult;
|
|
79
79
|
sources: __esri.Collection<__esri.SearchSource>;
|
|
80
80
|
readonly state: "ready" | "disabled" | "loading" | "searching";
|
|
81
|
-
readonly suggestions: __esri.SearchResultsSuggestions[];
|
|
81
|
+
readonly suggestions: nullish | __esri.SearchResultsSuggestions[];
|
|
82
82
|
suggestionsDisabled: boolean;
|
|
83
83
|
blurSearch(): Promise<void>;
|
|
84
84
|
clearSearch(): Promise<void>;
|
|
85
85
|
/** Permanently destroy the component */
|
|
86
86
|
destroy(): Promise<void>;
|
|
87
87
|
focusSearch(): Promise<void>;
|
|
88
|
-
search(term: __esri.Point | __esri.SuggestResult | number[] | string): Promise<__esri.SearchResponse>;
|
|
89
|
-
suggest(term: string): Promise<__esri.SuggestResponse>;
|
|
88
|
+
search(term: __esri.Point | __esri.SuggestResult | nullish | number[] | string): Promise<__esri.SearchResponse | nullish>;
|
|
89
|
+
suggest(term: string): Promise<__esri.SuggestResponse | nullish>;
|
|
90
90
|
readonly arcgisBlur: TargetedEvent<this, __esri.SearchSearchBlurEvent>;
|
|
91
91
|
readonly arcgisClear: TargetedEvent<this, __esri.SearchSearchClearEvent>;
|
|
92
92
|
readonly arcgisComplete: TargetedEvent<this, __esri.SearchSearchCompleteEvent>;
|
|
@@ -7,7 +7,7 @@ import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
|
7
7
|
import { css as o } 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.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
const g = o`arcgis-search{display:block}`, d = r(a);
|
|
12
12
|
class u extends h {
|
|
13
13
|
constructor() {
|
|
@@ -48,12 +48,12 @@ export declare class ArcgisShadowCast extends LitElement {
|
|
|
48
48
|
durationOptions: __esri.ShadowCastViewModelDurationOptions;
|
|
49
49
|
endTimeOfDay: number;
|
|
50
50
|
headingLevel: number;
|
|
51
|
-
hideColorPicker: boolean
|
|
52
|
-
hideDatePicker: boolean
|
|
53
|
-
hideTimeRangeSlider: boolean
|
|
54
|
-
hideTimezone: boolean
|
|
55
|
-
hideTooltip: boolean
|
|
56
|
-
hideVisualizationOptions: boolean
|
|
51
|
+
hideColorPicker: boolean;
|
|
52
|
+
hideDatePicker: boolean;
|
|
53
|
+
hideTimeRangeSlider: boolean;
|
|
54
|
+
hideTimezone: boolean;
|
|
55
|
+
hideTooltip: boolean;
|
|
56
|
+
hideVisualizationOptions: boolean;
|
|
57
57
|
/**
|
|
58
58
|
* Icon which represents the component.
|
|
59
59
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as h, noShadowRoot as d } from "@arcgis/lu
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.85 */
|
|
10
10
|
const r = n`arcgis-shadow-cast{display:block}`, l = o(e);
|
|
11
11
|
class c extends a {
|
|
12
12
|
constructor() {
|
|
@@ -36,7 +36,7 @@ declare const useSketchWidget: (component: import('@arcgis/components-controller
|
|
|
36
36
|
/** [Sketch](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch.html) provides a simple UI for creating and updating graphics on a [MapView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html) or a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
37
37
|
*/
|
|
38
38
|
export declare class ArcgisSketch extends LitElement {
|
|
39
|
-
readonly activeTool: "
|
|
39
|
+
readonly activeTool: nullish | "rectangle" | "polygon" | "point" | "move" | "circle" | "reshape" | "polyline" | "transform" | "multipoint" | "mesh" | "rectangle-selection" | "lasso-selection" | "custom-selection";
|
|
40
40
|
/**
|
|
41
41
|
* If true, the component will not be destroyed automatically when it is
|
|
42
42
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -45,9 +45,9 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
45
45
|
* memory leaks.
|
|
46
46
|
*/
|
|
47
47
|
autoDestroyDisabled: boolean;
|
|
48
|
-
availableCreateTools: string[];
|
|
49
|
-
readonly createGraphic: __esri.Graphic;
|
|
50
|
-
creationMode: "
|
|
48
|
+
availableCreateTools: nullish | string[];
|
|
49
|
+
readonly createGraphic: nullish | __esri.Graphic;
|
|
50
|
+
creationMode: "update" | "single" | "continuous";
|
|
51
51
|
defaultCreateOptions: __esri.SketchDefaultCreateOptions;
|
|
52
52
|
/**
|
|
53
53
|
* By default, sketch will auto-create a new graphics layer if none was
|
|
@@ -55,23 +55,23 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
55
55
|
*/
|
|
56
56
|
defaultGraphicsLayerDisabled: boolean;
|
|
57
57
|
defaultUpdateOptions: __esri.SketchDefaultUpdateOptions;
|
|
58
|
-
hideCreateToolsCircle: boolean
|
|
59
|
-
hideCreateToolsPoint: boolean
|
|
60
|
-
hideCreateToolsPolygon: boolean
|
|
61
|
-
hideCreateToolsPolyline: boolean
|
|
62
|
-
hideCreateToolsRectangle: boolean
|
|
63
|
-
hideDuplicateButton: boolean
|
|
64
|
-
hideLabelsToggle: boolean
|
|
65
|
-
hideSelectionToolsLassoSelection: boolean
|
|
66
|
-
hideSelectionToolsRectangleSelection: boolean
|
|
67
|
-
hideSettingsMenu: boolean
|
|
68
|
-
hideSnappingControls: boolean
|
|
69
|
-
hideSnappingControlsElementsEnabledToggle: boolean
|
|
70
|
-
hideSnappingControlsElementsFeatureEnabledToggle: boolean
|
|
71
|
-
hideSnappingControlsElementsLayerList: boolean
|
|
72
|
-
hideSnappingControlsElementsSelfEnabledToggle: boolean
|
|
73
|
-
hideTooltipsToggle: boolean
|
|
74
|
-
hideUndoRedoMenu: boolean
|
|
58
|
+
hideCreateToolsCircle: boolean;
|
|
59
|
+
hideCreateToolsPoint: boolean;
|
|
60
|
+
hideCreateToolsPolygon: boolean;
|
|
61
|
+
hideCreateToolsPolyline: boolean;
|
|
62
|
+
hideCreateToolsRectangle: boolean;
|
|
63
|
+
hideDuplicateButton: boolean;
|
|
64
|
+
hideLabelsToggle: boolean;
|
|
65
|
+
hideSelectionToolsLassoSelection: boolean;
|
|
66
|
+
hideSelectionToolsRectangleSelection: boolean;
|
|
67
|
+
hideSettingsMenu: boolean;
|
|
68
|
+
hideSnappingControls: boolean;
|
|
69
|
+
hideSnappingControlsElementsEnabledToggle: boolean;
|
|
70
|
+
hideSnappingControlsElementsFeatureEnabledToggle: boolean;
|
|
71
|
+
hideSnappingControlsElementsLayerList: boolean;
|
|
72
|
+
hideSnappingControlsElementsSelfEnabledToggle: boolean;
|
|
73
|
+
hideTooltipsToggle: boolean;
|
|
74
|
+
hideUndoRedoMenu: boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Icon which represents the component.
|
|
77
77
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
@@ -82,7 +82,7 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
82
82
|
label: string;
|
|
83
83
|
labelOptions: __esri.SketchLabelOptions;
|
|
84
84
|
layer: __esri.GraphicsLayer;
|
|
85
|
-
layout: "
|
|
85
|
+
layout: "vertical" | "horizontal";
|
|
86
86
|
pointSymbol: __esri.SimpleMarkerSymbol | __esri.PictureMarkerSymbol | __esri.PointSymbol3D | __esri.TextSymbol | __esri.CIMSymbol | __esri.WebStyleSymbol;
|
|
87
87
|
polygonSymbol: __esri.CIMSymbol | __esri.SimpleFillSymbol | __esri.PolygonSymbol3D;
|
|
88
88
|
polylineSymbol: __esri.SimpleLineSymbol | __esri.CIMSymbol | __esri.LineSymbol3D;
|
|
@@ -90,7 +90,7 @@ export declare class ArcgisSketch extends LitElement {
|
|
|
90
90
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
91
91
|
scale: "s" | "l" | "m";
|
|
92
92
|
selectionManagementStyle: "inline" | "separate";
|
|
93
|
-
showSnappingControlsElementsHeader: boolean
|
|
93
|
+
showSnappingControlsElementsHeader: boolean;
|
|
94
94
|
snappingOptions: __esri.SnappingOptions;
|
|
95
95
|
readonly state: "ready" | "disabled" | "active";
|
|
96
96
|
tooltipOptions: __esri.SketchTooltipOptions;
|
|
@@ -7,7 +7,7 @@ import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
|
7
7
|
import { css as g } 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.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
const p = g`arcgis-sketch{display:block}`, c = n(l);
|
|
12
12
|
class m extends h {
|
|
13
13
|
// #endregion
|
|
@@ -58,7 +58,7 @@ export declare class ArcgisSlice extends LitElement {
|
|
|
58
58
|
label: string;
|
|
59
59
|
position: __esri.UIPosition;
|
|
60
60
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
61
|
-
shape: __esri.SlicePlane;
|
|
61
|
+
shape: nullish | __esri.SlicePlane;
|
|
62
62
|
readonly state: "ready" | "disabled" | "slicing" | "sliced";
|
|
63
63
|
tiltEnabled: boolean;
|
|
64
64
|
clear(): Promise<void>;
|
|
@@ -6,7 +6,7 @@ import { LitElement as a, createEvent as o, noShadowRoot as l } from "@arcgis/lu
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
9
|
+
v4.32.0-next.85 */
|
|
10
10
|
const d = r`arcgis-slice{display:block}`, h = i(t);
|
|
11
11
|
class c extends a {
|
|
12
12
|
constructor() {
|
|
@@ -33,6 +33,9 @@ declare const useSliderWidget: (component: import('@arcgis/components-controller
|
|
|
33
33
|
}, options?: {
|
|
34
34
|
editConstructorProperties(props: __esri.SliderProperties): __esri.SliderProperties | Promise<__esri.SliderProperties>;
|
|
35
35
|
} | undefined) => __esri.Slider;
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
36
39
|
export declare class ArcgisSlider extends LitElement {
|
|
37
40
|
/**
|
|
38
41
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -43,8 +46,8 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
43
46
|
*/
|
|
44
47
|
autoDestroyDisabled: boolean;
|
|
45
48
|
draggableSegmentsEnabled: boolean;
|
|
46
|
-
effectiveMax: number;
|
|
47
|
-
effectiveMin: number;
|
|
49
|
+
effectiveMax: number | nullish;
|
|
50
|
+
effectiveMin: number | nullish;
|
|
48
51
|
readonly effectiveSegmentElements: __esri.Collection<HTMLElement>;
|
|
49
52
|
/**
|
|
50
53
|
* Icon which represents the component.
|
|
@@ -57,11 +60,11 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
57
60
|
readonly labelElements: __esri.Collection<HTMLElement>;
|
|
58
61
|
labelInputsEnabled: boolean;
|
|
59
62
|
readonly labels: __esri.LabelInfos;
|
|
60
|
-
layout: "
|
|
61
|
-
max: number;
|
|
62
|
-
readonly maxLabelElement: HTMLElement;
|
|
63
|
-
min: number;
|
|
64
|
-
readonly minLabelElement: HTMLElement;
|
|
63
|
+
layout: "vertical" | "horizontal" | "horizontal-reversed" | "vertical-reversed";
|
|
64
|
+
max: number | nullish;
|
|
65
|
+
readonly maxLabelElement: HTMLElement | nullish;
|
|
66
|
+
min: number | nullish;
|
|
67
|
+
readonly minLabelElement: HTMLElement | nullish;
|
|
65
68
|
position: __esri.UIPosition;
|
|
66
69
|
precision: number;
|
|
67
70
|
rangeLabelInputsEnabled: boolean;
|
|
@@ -69,14 +72,14 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
69
72
|
readonly segmentElements: __esri.Collection<HTMLElement>;
|
|
70
73
|
snapOnClickEnabled: boolean;
|
|
71
74
|
readonly state: "ready" | "disabled" | "editing" | "dragging";
|
|
72
|
-
steps: number | number[];
|
|
75
|
+
steps: number | nullish | number[];
|
|
73
76
|
syncedSegmentsEnabled: boolean;
|
|
74
77
|
readonly thumbElements: __esri.Collection<HTMLElement>;
|
|
75
78
|
thumbsConstrained: boolean;
|
|
76
79
|
tickConfigs: __esri.TickConfig[];
|
|
77
80
|
readonly tickElements: __esri.Collection<__esri.Collection<__esri.TickElementGroup>>;
|
|
78
|
-
trackElement: HTMLElement;
|
|
79
|
-
values: number[];
|
|
81
|
+
trackElement: HTMLElement | nullish;
|
|
82
|
+
values: nullish | number[];
|
|
80
83
|
/** Permanently destroy the component */
|
|
81
84
|
destroy(): Promise<void>;
|
|
82
85
|
readonly arcgisMaxChange: TargetedEvent<this, __esri.SliderMaxChangeEvent>;
|
|
@@ -7,7 +7,7 @@ import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
|
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.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
10
|
+
v4.32.0-next.85 */
|
|
11
11
|
const c = m`arcgis-slider{min-width:200px;min-height:25px}`, r = a(s);
|
|
12
12
|
class d extends h {
|
|
13
13
|
constructor() {
|
|
@@ -50,7 +50,7 @@ export declare class ArcgisSwipe extends LitElement {
|
|
|
50
50
|
* If `"horizontal"`, the component will move left and right and
|
|
51
51
|
* if `"vertical"`, the component will move up and down.
|
|
52
52
|
*/
|
|
53
|
-
direction: "
|
|
53
|
+
direction: "vertical" | "horizontal";
|
|
54
54
|
/**
|
|
55
55
|
* When `true`, sets the component to a disabled state so the user cannot interact with it.
|
|
56
56
|
*/
|
|
@@ -10,7 +10,7 @@ import { LitElement as M, createEvent as K, noShadowRoot as z, safeClassMap as h
|
|
|
10
10
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
v4.32.0-next.
|
|
13
|
+
v4.32.0-next.85 */
|
|
14
14
|
const H = A`arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none}.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 = {
|
|
15
15
|
base: l,
|
|
16
16
|
baseDisabled: `${l}--disabled`,
|
|
@@ -53,7 +53,7 @@ export declare class ArcgisTableList extends LitElement {
|
|
|
53
53
|
collapsed: boolean;
|
|
54
54
|
dragEnabled: boolean;
|
|
55
55
|
filterPlaceholder: string;
|
|
56
|
-
filterPredicate: __esri.TableListFilterPredicate;
|
|
56
|
+
filterPredicate: nullish | __esri.TableListFilterPredicate;
|
|
57
57
|
filterText: string;
|
|
58
58
|
/**
|
|
59
59
|
* Icon which represents the component.
|
|
@@ -63,7 +63,7 @@ export declare class ArcgisTableList extends LitElement {
|
|
|
63
63
|
icon: string;
|
|
64
64
|
/** The component's default label. */
|
|
65
65
|
label: string;
|
|
66
|
-
listItemCreatedFunction: __esri.TableListListItemCreatedHandler;
|
|
66
|
+
listItemCreatedFunction: nullish | __esri.TableListListItemCreatedHandler;
|
|
67
67
|
minDragEnabledItems: number;
|
|
68
68
|
minFilterItems: number;
|
|
69
69
|
position: __esri.UIPosition;
|
|
@@ -73,14 +73,14 @@ export declare class ArcgisTableList extends LitElement {
|
|
|
73
73
|
readonly state: "ready" | "disabled" | "loading";
|
|
74
74
|
/** The collection of table ListItems displayed within the component. */
|
|
75
75
|
get tableItems(): __esri.Collection<__esri.TableListListItem>;
|
|
76
|
-
showCloseButton: boolean
|
|
77
|
-
showCollapseButton: boolean
|
|
78
|
-
showErrors: boolean
|
|
79
|
-
showFilter: boolean
|
|
80
|
-
hideFlow: boolean
|
|
81
|
-
showHeading: boolean
|
|
82
|
-
hideStatusIndicators: boolean
|
|
83
|
-
showTemporaryTableIndicators: boolean
|
|
76
|
+
showCloseButton: boolean;
|
|
77
|
+
showCollapseButton: boolean;
|
|
78
|
+
showErrors: boolean;
|
|
79
|
+
showFilter: boolean;
|
|
80
|
+
hideFlow: boolean;
|
|
81
|
+
showHeading: boolean;
|
|
82
|
+
hideStatusIndicators: boolean;
|
|
83
|
+
showTemporaryTableIndicators: boolean;
|
|
84
84
|
/** Permanently destroy the component */
|
|
85
85
|
destroy(): Promise<void>;
|
|
86
86
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|