@arcgis/common-components 5.1.0-next.10 → 5.1.0-next.100
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/README.md +24 -1
- package/dist/cdn/3Y4H3CAQ.js +2 -0
- package/dist/cdn/43KGVFBF.js +2 -0
- package/dist/cdn/B43M633Q.js +2 -0
- package/dist/cdn/DDJDHAHT.js +2 -0
- package/dist/cdn/GFUGR2W7.js +2 -0
- package/dist/cdn/{7Y42J3JI.js → GPVWNUMW.js} +1 -1
- package/dist/cdn/GSNPEBGQ.js +4 -0
- package/dist/cdn/{C6JAR4IN.js → H74W6KYI.js} +1 -1
- package/dist/cdn/{7CI55VCH.js → HYLC5GEB.js} +1 -1
- package/dist/cdn/{AXTSUI2Q.js → JJZBCHU4.js} +3 -3
- package/dist/cdn/{7PB2GGQH.js → JRF33N6C.js} +1 -1
- package/dist/cdn/LVSH5I3Q.js +2 -0
- package/dist/cdn/MHJWVKG5.js +2 -0
- package/dist/cdn/MNN3QF54.js +2 -0
- package/dist/cdn/O3CBCQNL.js +2 -0
- package/dist/cdn/O6ZASYX6.js +2 -0
- package/dist/cdn/{YVSTPEPS.js → OQF4LYVE.js} +1 -1
- package/dist/cdn/{ZOWIFVL3.js → P4CF7V4U.js} +1 -1
- package/dist/cdn/QEPJM6XG.js +2 -0
- package/dist/cdn/{J5X5TNVW.js → TTV4Z2RR.js} +1 -1
- package/dist/cdn/WG5GA6QX.js +2 -0
- package/dist/cdn/{7HQMPKZO.js → YZGTCNEQ.js} +1 -1
- package/dist/cdn/assets/field-pick-list/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.en-US.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/spatial-reference-picker/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/commonFunctions.js +7 -3
- package/dist/components/arcgis-ckeditor5/customElement.js +12 -12
- package/dist/components/arcgis-ckeditor5-popover/customElement.js +1 -1
- package/dist/components/arcgis-color-input/customElement.d.ts +2 -2
- package/dist/components/arcgis-field-info/customElement.d.ts +2 -2
- package/dist/components/arcgis-field-info/customElement.js +7 -9
- package/dist/components/arcgis-field-info/utils/basic.d.ts +20 -2
- package/dist/components/arcgis-field-pick-list/customElement.d.ts +13 -10
- package/dist/components/arcgis-field-pick-list/customElement.js +2 -2
- package/dist/components/arcgis-field-pick-list/utils/types.d.ts +20 -2
- package/dist/components/arcgis-histogram/customElement.d.ts +10 -10
- package/dist/components/arcgis-histogram/customElement.js +81 -90
- package/dist/components/arcgis-histogram/types.d.ts +1 -3
- package/dist/components/arcgis-label-input/customElement.d.ts +5 -6
- package/dist/components/arcgis-label-input/customElement.js +22 -17
- package/dist/components/arcgis-picker-input/customElement.d.ts +2 -2
- package/dist/components/arcgis-picker-input/customElement.js +11 -11
- package/dist/components/arcgis-slider/customElement.d.ts +72 -67
- package/dist/components/arcgis-slider/customElement.js +349 -304
- package/dist/components/arcgis-slider-input/customElement.d.ts +6 -0
- package/dist/components/arcgis-slider-input/customElement.js +12 -12
- package/dist/components/arcgis-spatial-reference-picker/customElement.d.ts +327 -0
- package/dist/components/arcgis-spatial-reference-picker/customElement.js +7702 -0
- package/dist/components/arcgis-spatial-reference-picker/index.d.ts +1 -0
- package/dist/components/arcgis-spatial-reference-picker/index.js +3 -0
- package/dist/components/arcgis-spatial-reference-picker-tree/customElement.d.ts +35 -0
- package/dist/components/arcgis-spatial-reference-picker-tree/customElement.js +77 -0
- package/dist/components/arcgis-spatial-reference-picker-tree/index.d.ts +1 -0
- package/dist/components/arcgis-spatial-reference-picker-tree/index.js +3 -0
- package/dist/components/arcgis-ticks/customElement.d.ts +20 -23
- package/dist/components/arcgis-ticks/customElement.js +7 -7
- package/dist/components/arcgis-ticks/types.d.ts +23 -0
- package/dist/components/arcgis-unique-values-list/customElement.d.ts +9 -4
- package/dist/components/arcgis-unique-values-list/customElement.js +158 -151
- package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +13 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +39 -1
- package/dist/loader.js +4 -2
- package/dist/types/lumina.d.ts +14 -2
- package/dist/types/preact.d.ts +16 -2
- package/dist/types/react.d.ts +18 -2
- package/dist/types/stencil.d.ts +14 -2
- package/dist/utils/internal-types.d.ts +1 -0
- package/dist/utils/spatial-references.d.ts +1 -0
- package/dist/utils/types.d.ts +21 -18
- package/package.json +8 -6
- package/dist/cdn/23DDMSOB.js +0 -2
- package/dist/cdn/2BDHDUXG.js +0 -2
- package/dist/cdn/3O7GAC23.js +0 -2
- package/dist/cdn/4CW7U27R.js +0 -2
- package/dist/cdn/4DCAUWTC.js +0 -2
- package/dist/cdn/57I35HLF.js +0 -2
- package/dist/cdn/6DQVLQL6.js +0 -2
- package/dist/cdn/EKKJN7WZ.js +0 -2
- package/dist/cdn/UTXWKXMT.js +0 -4
- package/dist/cdn/XEB2RUND.js +0 -2
- package/dist/cdn/ZL3E4ZGE.js +0 -2
- package/dist/cdn/ZLXAKPUH.js +0 -2
- /package/dist/cdn/{CSDKXC4T.js → TJNYRK5P.js} +0 -0
- /package/dist/chunks/{types.js → internal-types.js} +0 -0
|
@@ -5,7 +5,7 @@ import { createRef as fB, ref as kB } from "lit/directives/ref.js";
|
|
|
5
5
|
import { css as bB, html as wB } from "lit";
|
|
6
6
|
import { unsafeGetElementDirection as _B } from "@arcgis/toolkit/dom";
|
|
7
7
|
import AB from "@esri/arcgis-html-sanitizer";
|
|
8
|
-
import { F as CB } from "../../chunks/types.js";
|
|
8
|
+
import { F as CB } from "../../chunks/internal-types.js";
|
|
9
9
|
import { C as sr } from "../../chunks/resources.js";
|
|
10
10
|
var aa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
11
11
|
function vB(Ke) {
|
|
@@ -9245,7 +9245,7 @@ Read more: ${ce}#error-${i}`;
|
|
|
9245
9245
|
const Me = "41.3.1", gn = new Date(2024, 3, 16);
|
|
9246
9246
|
if (globalThis.CKEDITOR_VERSION) throw new C("ckeditor-duplicated-modules", null);
|
|
9247
9247
|
globalThis.CKEDITOR_VERSION = Me;
|
|
9248
|
-
const rt = Symbol("listeningTo"), Dn = Symbol("emitterId"), xt = Symbol("delegations"), nd = pe(Object);
|
|
9248
|
+
const rt = /* @__PURE__ */ Symbol("listeningTo"), Dn = /* @__PURE__ */ Symbol("emitterId"), xt = /* @__PURE__ */ Symbol("delegations"), nd = pe(Object);
|
|
9249
9249
|
function pe(i) {
|
|
9250
9250
|
return i ? class extends i {
|
|
9251
9251
|
on(e, t, n) {
|
|
@@ -9381,7 +9381,7 @@ Read more: ${ce}#error-${i}`;
|
|
|
9381
9381
|
const Ce = function(i) {
|
|
9382
9382
|
var e = typeof i;
|
|
9383
9383
|
return i != null && (e == "object" || e == "function");
|
|
9384
|
-
}, lr = Symbol("observableProperties"), cr = Symbol("boundObservables"), dr = Symbol("boundProperties"), co = Symbol("decoratedMethods"), ad = Symbol("decoratedOriginal"), ld = fe(pe());
|
|
9384
|
+
}, lr = /* @__PURE__ */ Symbol("observableProperties"), cr = /* @__PURE__ */ Symbol("boundObservables"), dr = /* @__PURE__ */ Symbol("boundProperties"), co = /* @__PURE__ */ Symbol("decoratedMethods"), ad = /* @__PURE__ */ Symbol("decoratedOriginal"), ld = fe(pe());
|
|
9385
9385
|
function fe(i) {
|
|
9386
9386
|
return i ? class extends i {
|
|
9387
9387
|
set(e, t) {
|
|
@@ -11693,7 +11693,7 @@ Read more: ${ce}#error-${i}`;
|
|
|
11693
11693
|
Br.prototype.is = function(i, e) {
|
|
11694
11694
|
return e ? e === this.name && (i === "editableElement" || i === "view:editableElement" || i === "containerElement" || i === "view:containerElement" || i === "element" || i === "view:element") : i === "editableElement" || i === "view:editableElement" || i === "containerElement" || i === "view:containerElement" || i === "element" || i === "view:element" || i === "node" || i === "view:node";
|
|
11695
11695
|
};
|
|
11696
|
-
const ju = Symbol("rootName");
|
|
11696
|
+
const ju = /* @__PURE__ */ Symbol("rootName");
|
|
11697
11697
|
class Hu extends Br {
|
|
11698
11698
|
constructor(e, t) {
|
|
11699
11699
|
super(e, t), this.rootName = "main";
|
|
@@ -12207,7 +12207,7 @@ Read more: ${ce}#error-${i}`;
|
|
|
12207
12207
|
return this._currentTarget;
|
|
12208
12208
|
}
|
|
12209
12209
|
}
|
|
12210
|
-
const Ja = Symbol("bubbling contexts");
|
|
12210
|
+
const Ja = /* @__PURE__ */ Symbol("bubbling contexts");
|
|
12211
12211
|
function Xa(i) {
|
|
12212
12212
|
return class extends i {
|
|
12213
12213
|
fire(e, ...t) {
|
|
@@ -15141,7 +15141,7 @@ Read more: ${ce}#error-${i}`;
|
|
|
15141
15141
|
return t || (t = this._addSymbolForTextProxy(e)), t;
|
|
15142
15142
|
}
|
|
15143
15143
|
_addSymbolForTextProxy(e) {
|
|
15144
|
-
const t = e.startOffset, n = e.endOffset, o = e.parent, r = Symbol("$textProxy:" + e.data);
|
|
15144
|
+
const t = e.startOffset, n = e.endOffset, o = e.parent, r = /* @__PURE__ */ Symbol("$textProxy:" + e.data);
|
|
15145
15145
|
let s, a;
|
|
15146
15146
|
return s = this._textProxyRegistry.get(t), s || (s = /* @__PURE__ */ new Map(), this._textProxyRegistry.set(t, s)), a = s.get(n), a || (a = /* @__PURE__ */ new Map(), s.set(n, a)), a.set(o, r), r;
|
|
15147
15147
|
}
|
|
@@ -21156,7 +21156,7 @@ Read more: ${ce}#error-${i}`;
|
|
|
21156
21156
|
return { s: t ? Pi(this.hsva.s + 100 * e.x, 0, 100) : 100 * e.x, v: t ? Pi(this.hsva.v - 100 * e.y, 0, 100) : Math.round(100 - 100 * e.y) };
|
|
21157
21157
|
}
|
|
21158
21158
|
}
|
|
21159
|
-
const ss = Symbol("same"), Pl = Symbol("color"), mg = Symbol("hsva"), Ll = Symbol("update"), gg = Symbol("parts"), pg = Symbol("css"), fg = Symbol("sliders");
|
|
21159
|
+
const ss = /* @__PURE__ */ Symbol("same"), Pl = /* @__PURE__ */ Symbol("color"), mg = /* @__PURE__ */ Symbol("hsva"), Ll = /* @__PURE__ */ Symbol("update"), gg = /* @__PURE__ */ Symbol("parts"), pg = /* @__PURE__ */ Symbol("css"), fg = /* @__PURE__ */ Symbol("sliders");
|
|
21160
21160
|
class y1 extends HTMLElement {
|
|
21161
21161
|
static get observedAttributes() {
|
|
21162
21162
|
return ["color"];
|
|
@@ -23078,7 +23078,7 @@ Read more: ${ce}#error-${i}`;
|
|
|
23078
23078
|
}));
|
|
23079
23079
|
}
|
|
23080
23080
|
}
|
|
23081
|
-
const Ri = Symbol("MainQueueId");
|
|
23081
|
+
const Ri = /* @__PURE__ */ Symbol("MainQueueId");
|
|
23082
23082
|
class Jx {
|
|
23083
23083
|
constructor() {
|
|
23084
23084
|
this._onEmptyCallbacks = [], this._queues = /* @__PURE__ */ new Map(), this._activeActions = 0;
|
|
@@ -33221,11 +33221,11 @@ $&
|
|
|
33221
33221
|
this.editor.execute("mention", { marker: "{", mention: l });
|
|
33222
33222
|
}));
|
|
33223
33223
|
};
|
|
33224
|
-
return r.addEventListener("
|
|
33224
|
+
return r.addEventListener("arcgisClose", ((a) => {
|
|
33225
33225
|
if (!a.detail) return void this._cleanUp(r, t, e, n);
|
|
33226
33226
|
const l = a.detail.selectedFields.length > 0, c = a.detail.selectedFields;
|
|
33227
33227
|
r.multiple && l && s(c), this._cleanUp(r, t, e, n);
|
|
33228
|
-
})), r.addEventListener("
|
|
33228
|
+
})), r.addEventListener("arcgisChange", ((a) => {
|
|
33229
33229
|
const l = a.detail.selectedFields;
|
|
33230
33230
|
!r.multiple && s(l);
|
|
33231
33231
|
})), r;
|
|
@@ -33337,7 +33337,7 @@ $&
|
|
|
33337
33337
|
}));
|
|
33338
33338
|
};
|
|
33339
33339
|
_loadUI = () => {
|
|
33340
|
-
this.popover = document.createElement("calcite-popover"), this.divContainer = document.createElement("div"), this.panel = document.createElement("calcite-panel"), this.tabs = document.createElement("calcite-tabs"), this.tabNav = document.createElement("calcite-tab-nav"), this.customTab = document.createElement("calcite-tab"), this.customTabTitle = document.createElement("calcite-tab-title"), this.doneButton = document.createElement("calcite-button"), this.popover.placement = "bottom-start", this.popover.offsetDistance = 5, this.popover.focusTrapDisabled = !0, this.popover.pointerDisabled = !0, this.popover.style = "--calcite-popover-z-index: 101", this.popover.autoClose = !0, this.popover.appendChild(this.divContainer), this.divContainer.appendChild(this.panel), this.panel.appendChild(this.tabs), this.panel.appendChild(this.doneButton), this.tabNav.appendChild(this.customTabTitle), this.tabs.appendChild(this.customTab), this.customTab.appendChild(this.colorPicker), this.enableFields && (this.attributeTab = document.createElement("calcite-tab"), this.attributeTabTitle = document.createElement("calcite-tab-title"), this.attributeList = document.createElement("calcite-list"), this.tabs.appendChild(this.tabNav), this.tabs.appendChild(this.attributeTab), this.tabNav.appendChild(this.attributeTabTitle), this.attributeTab.appendChild(this.attributeList), this.attributeTabTitle.innerText = this.attributeText, this.attributeList.selectionMode = "single", this.attributeList.filterEnabled = !0, this.attributeList.filterPlaceholder = this.filterPlaceholder, this.attributeTab.style.width = "294px", this.attributeList.style.maxHeight = "300px", this.tabs.bordered = !0, this.tabs.layout = "center", this.tabNav.slot = "title-group", this.data && this.data.forEach(((e) => {
|
|
33340
|
+
this.popover = document.createElement("calcite-popover"), this.divContainer = document.createElement("div"), this.panel = document.createElement("calcite-panel"), this.tabs = document.createElement("calcite-tabs"), this.tabNav = document.createElement("calcite-tab-nav"), this.customTab = document.createElement("calcite-tab"), this.customTabTitle = document.createElement("calcite-tab-title"), this.doneButton = document.createElement("calcite-button"), this.popover.placement = "bottom-start", this.popover.offsetDistance = 5, this.popover.focusTrapDisabled = !0, this.popover.pointerDisabled = !0, this.popover.topLayerDisabled = !0, this.popover.style = "--calcite-popover-z-index: 101", this.popover.autoClose = !0, this.popover.appendChild(this.divContainer), this.divContainer.appendChild(this.panel), this.panel.appendChild(this.tabs), this.panel.appendChild(this.doneButton), this.tabNav.appendChild(this.customTabTitle), this.tabs.appendChild(this.customTab), this.customTab.appendChild(this.colorPicker), this.enableFields && (this.attributeTab = document.createElement("calcite-tab"), this.attributeTabTitle = document.createElement("calcite-tab-title"), this.attributeList = document.createElement("calcite-list"), this.tabs.appendChild(this.tabNav), this.tabs.appendChild(this.attributeTab), this.tabNav.appendChild(this.attributeTabTitle), this.attributeTab.appendChild(this.attributeList), this.attributeTabTitle.innerText = this.attributeText, this.attributeList.selectionMode = "single", this.attributeList.filterEnabled = !0, this.attributeList.filterPlaceholder = this.filterPlaceholder, this.attributeTab.style.width = "294px", this.attributeList.style.maxHeight = "300px", this.tabs.bordered = !0, this.tabs.layout = "center", this.tabNav.slot = "title-group", this.data && this.data.forEach(((e) => {
|
|
33341
33341
|
const { name: t, alias: n, description: o } = e, r = document.createElement("calcite-list-item");
|
|
33342
33342
|
r.label = n, r.style.textAlign = "start", r.description = `{${t}}`, r.id = `{${t}}`, r.value = n, r.style.whiteSpace = "normal", r.addEventListener("calciteListItemSelect", (() => {
|
|
33343
33343
|
const s = this.editor.model.document.selection;
|
|
@@ -33811,7 +33811,7 @@ $&
|
|
|
33811
33811
|
}
|
|
33812
33812
|
}];
|
|
33813
33813
|
var e_ = { columns: 10, documentColors: 0, colors: [{ color: "#ffffff", label: " " }, { color: "#fff5ee", label: " " }, { color: "#fff8dc", label: " " }, { color: "#fffacd", label: " " }, { color: "#ffffe0", label: " " }, { color: "#98fb98", label: " " }, { color: "#afeeee", label: " " }, { color: "#e0ffff", label: " " }, { color: "#e6e6fa", label: " " }, { color: "#dda0dd", label: " " }, { color: "#d3d3d3", label: " " }, { color: "#ffc0cb", label: " " }, { color: "#ffe4c4", label: " " }, { color: "#ffe4b5", label: " " }, { color: "#f0e68c", label: " " }, { color: "#90ee90", label: " " }, { color: "#20b2aa", label: " " }, { color: "#87cefa", label: " " }, { color: "#6495ed", label: " " }, { color: "#ee82ee", label: " " }, { color: "#c0c0c0", label: " " }, { color: "#f08080", label: " " }, { color: "#f4a460", label: " " }, { color: "#ffa500", label: " " }, { color: "#eee8aa", label: " " }, { color: "#7fff00", label: " " }, { color: "#48d1cc", label: " " }, { color: "#87ceeb", label: " " }, { color: "#7b68ee", label: " " }, { color: "#da70d6", label: " " }, { color: "#808080", label: " " }, { color: "#ff0000", label: " " }, { color: "#ff4500", label: " " }, { color: "#ff8c00", label: " " }, { color: "#ffff00", label: " " }, { color: "#32cd32", label: " " }, { color: "#8fbc8f", label: " " }, { color: "#4169e1", label: " " }, { color: "#6a5acd", label: " " }, { color: "#ba55d3", label: " " }, { color: "#696969", label: " " }, { color: "#dc143c", label: " " }, { color: "#d2691e", label: " " }, { color: "#ff7f50", label: " " }, { color: "#ffd700", label: " " }, { color: "#228b22", label: " " }, { color: "#2e8b57", label: " " }, { color: "#0000ff", label: " " }, { color: "#8a2be2", label: " " }, { color: "#9932cc", label: " " }, { color: "#2f4f4f", label: " " }, { color: "#b22222", label: " " }, { color: "#8b4513", label: " " }, { color: "#a0522d", label: " " }, { color: "#808000", label: " " }, { color: "#008000", label: " " }, { color: "#008b8b", label: " " }, { color: "#0000cd", label: " " }, { color: "#483d8b", label: " " }, { color: "#8b008b", label: " " }, { color: "#000000", label: " " }, { color: "#8b0000", label: " " }, { color: "#800000", label: " " }, { color: "#a52a2a", label: " " }, { color: "#556b2f", label: " " }, { color: "#006400", label: " " }, { color: "#191970", label: " " }, { color: "#000080", label: " " }, { color: "#4b0082", label: " " }, { color: "#800080", label: " " }] };
|
|
33814
|
-
rr.defaultConfig = { licenseKey: "WlZCOVRvK1lBTUdYRG13dnQ3L1krYTlycHc5dTVZbm5kWmRoMkpIRS9ETHBGbzd1YzBYUGNxcTZVbVljTkprQldwTjlqbzJIa3Jidmd6SXBtdUU9LU1qQXlOREE1TWpRPQ==", link: { addTargetToExternalLinks: !0 }, toolbar: { items: ["fontSize", "fontFamily", "arcgis-color-picker", "|", "sourceEditing", "arcgis-field-expression", "link", "|", "insertTable", "numberedList", "bulletedList", "alignment", "|", "bold", "italic", "underline", "|", "removeFormat", "undo", "redo"] }, image: { toolbar: ["imageStyle:alignLeft", "imageStyle:alignRight", "imageStyle:alignBlockLeft", "imageStyle:alignCenter", "imageStyle:alignBlockRight", "toggleImageCaption"] }, fontFamily: { options: ["default", { title: "Arial", model: "Arial", view: { name: "span", styles: { "font-family": "Arial, Helvetica, sans-serif" } } }, { title: "Courier New", model: "Courier", view: { name: "span", styles: { "font-family": "Courier New, Courier, monospace" } } }, { title: "Tahoma", model: "Tahoma", view: { name: "span", styles: { "font-family": "Tahoma, Geneva, sans-serif" } } }, { title: "Times New Roman", model: "Times", view: { name: "span", styles: { "font-family": "Times New Roman, Times, serif" } } }, { title: "Verdana", model: "Verdana", view: { name: "span", styles: { "font-family": "Verdana, Geneva, sans-serif" } } }], supportAllValues: !0 }, fontSize: { options: [10, 12, 14, 18, 24], supportAllValues: !0 }, fontColor: { ...e_ }, fontBackgroundColor: { ...e_ }, table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"], tableProperties: { colorPicker: { format: "hex" } }, tableCellProperties: { colorPicker: { format: "hex" }, defaultProperties: { horizontalAlignment: "center" } } }, htmlSupport: { allow: [{ name: "p", styles: !0 }, { name: "a", styles: !0, attributes: !0 }, { name: "div", styles: !0, attributes: ["align", "aria-hidden", "aria-label"] }, { name: "video", styles: !0, attributes: ["autoplay", "controls", "height", "loop", "muted", "poster", "preload", "width"] }, { name: "audio", styles: !0, attributes: ["autoplay", "controls", "loop", "muted", "preload"] }, { name: "ul" }, { name: "ol" }, { name: "li" }, { name: "tbody" }, { name: "br" }, { name: "hr" }, { name: "source", styles: !0, attributes: ["media", "src", "type"] }, { name: "table", styles: !0, attributes: ["width", "height", "cellpadding", "cellspacing", "border"] }, { name: "td", styles: !0, attributes: ["height", "width", "valign", "align", "colspan", "rowspan", "nowrap"] }, { name: "th", styles: !0, attributes: ["height", "width", "valign", "align", "colspan", "rowspan", "nowrap"] }, { name: "tr", styles: !0, attributes: !0 }, { name: "tbody", styles: !0, attributes: !0 }, { name: "hr", styles: !0, attributes: !0 }, { name: "img", styles: !0, attributes: !0 }, { name: "abbr", attributes: ["title"] }, { name: "font", styles: !0, attributes: !0 }, { name: "dd", styles: !0 }, { name: "dl", styles: !0 }, { name: "dt", styles: !0 }, { name: "
|
|
33814
|
+
rr.defaultConfig = { licenseKey: "WlZCOVRvK1lBTUdYRG13dnQ3L1krYTlycHc5dTVZbm5kWmRoMkpIRS9ETHBGbzd1YzBYUGNxcTZVbVljTkprQldwTjlqbzJIa3Jidmd6SXBtdUU9LU1qQXlOREE1TWpRPQ==", link: { addTargetToExternalLinks: !0 }, toolbar: { items: ["fontSize", "fontFamily", "arcgis-color-picker", "|", "sourceEditing", "arcgis-field-expression", "link", "|", "insertTable", "numberedList", "bulletedList", "alignment", "|", "bold", "italic", "underline", "|", "removeFormat", "undo", "redo"] }, image: { toolbar: ["imageStyle:alignLeft", "imageStyle:alignRight", "imageStyle:alignBlockLeft", "imageStyle:alignCenter", "imageStyle:alignBlockRight", "toggleImageCaption"] }, fontFamily: { options: ["default", { title: "Arial", model: "Arial", view: { name: "span", styles: { "font-family": "Arial, Helvetica, sans-serif" } } }, { title: "Courier New", model: "Courier", view: { name: "span", styles: { "font-family": "Courier New, Courier, monospace" } } }, { title: "Tahoma", model: "Tahoma", view: { name: "span", styles: { "font-family": "Tahoma, Geneva, sans-serif" } } }, { title: "Times New Roman", model: "Times", view: { name: "span", styles: { "font-family": "Times New Roman, Times, serif" } } }, { title: "Verdana", model: "Verdana", view: { name: "span", styles: { "font-family": "Verdana, Geneva, sans-serif" } } }], supportAllValues: !0 }, fontSize: { options: [10, 12, 14, 18, 24], supportAllValues: !0 }, fontColor: { ...e_ }, fontBackgroundColor: { ...e_ }, table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"], tableProperties: { colorPicker: { format: "hex" } }, tableCellProperties: { colorPicker: { format: "hex" }, defaultProperties: { horizontalAlignment: "center" } } }, htmlSupport: { allow: [{ name: "p", styles: !0 }, { name: "a", styles: !0, attributes: !0 }, { name: "div", styles: !0, attributes: ["align", "aria-hidden", "aria-label"] }, { name: "video", styles: !0, attributes: ["autoplay", "controls", "height", "loop", "muted", "poster", "preload", "width"] }, { name: "audio", styles: !0, attributes: ["autoplay", "controls", "loop", "muted", "preload"] }, { name: "ul" }, { name: "ol" }, { name: "li" }, { name: "tbody" }, { name: "br" }, { name: "hr" }, { name: "source", styles: !0, attributes: ["media", "src", "type"] }, { name: "table", styles: !0, attributes: ["width", "height", "cellpadding", "cellspacing", "border"] }, { name: "td", styles: !0, attributes: ["height", "width", "valign", "align", "colspan", "rowspan", "nowrap"] }, { name: "th", styles: !0, attributes: ["height", "width", "valign", "align", "colspan", "rowspan", "nowrap"] }, { name: "tr", styles: !0, attributes: !0 }, { name: "tbody", styles: !0, attributes: !0 }, { name: "hr", styles: !0, attributes: !0 }, { name: "img", styles: !0, attributes: !0 }, { name: "abbr", attributes: ["title"] }, { name: "font", styles: !0, attributes: !0 }, { name: "dd", styles: !0 }, { name: "dl", styles: !0 }, { name: "dt", styles: !0 }, { name: "h2", styles: !0 }, { name: "h3", styles: !0 }, { name: "h4", styles: !0 }, { name: "h5", styles: !0 }, { name: "h6", styles: !0 }, { name: "sub", styles: !0 }, { name: "sup", styles: !0 }, { name: "figcaption", styles: !0 }, { name: "article", styles: !0 }, { name: "aside", styles: !0 }, { name: "details", styles: !0, attributes: ["open"] }, { name: "footer", styles: !0 }, { name: "header", styles: !0 }, { name: "main", styles: !0 }, { name: "mark", styles: !0 }, { name: "nav", styles: !0 }, { name: "section", styles: !0 }, { name: "summary", styles: !0 }, { name: "time", styles: !0 }, { name: "pre", styles: !0 }, { name: "code", styles: !0 }, { name: "blockquote", styles: !0 }, { name: "del", styles: !0 }, { name: "span", styles: !0, attributes: ["aria-label", "aria-hidden"] }], disallow: [{ name: "a", attributes: { rel: !0 } }] }, language: "en" };
|
|
33815
33815
|
const wI = rr;
|
|
33816
33816
|
function En(i, e, t, n) {
|
|
33817
33817
|
let o, r = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as a } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as l, html as n } from "lit";
|
|
4
|
-
import { LitElement as d, createEvent as o,
|
|
4
|
+
import { LitElement as d, createEvent as o, nothing as c, safeClassMap as e } from "@arcgis/lumina";
|
|
5
5
|
import { createRef as s, ref as r } from "lit/directives/ref.js";
|
|
6
6
|
import { Task as p } from "@lit/task";
|
|
7
7
|
import { unsafeGetElementDirection as h } from "@arcgis/toolkit/dom";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type {
|
|
3
|
+
import type { PopoverProps } from "../../utils/types.js";
|
|
4
4
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
5
|
import type { Popover as Popover } from "@esri/calcite-components/components/calcite-popover";
|
|
6
6
|
|
|
@@ -64,7 +64,7 @@ export abstract class ArcgisColorInput extends LitElement {
|
|
|
64
64
|
*/
|
|
65
65
|
accessor placement: Popover["placement"];
|
|
66
66
|
/** Convenience prop to specify common popover props. */
|
|
67
|
-
accessor popoverProps:
|
|
67
|
+
accessor popoverProps: PopoverProps | undefined;
|
|
68
68
|
/**
|
|
69
69
|
* If true, allow transparency to be modified within the color picker.
|
|
70
70
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type View from "@arcgis/core/views/View.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { FieldInfoLayer } from "./utils/basic.js";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -193,7 +193,7 @@ export abstract class ArcgisFieldInfo extends LitElement {
|
|
|
193
193
|
/** Required layer instance. */
|
|
194
194
|
accessor layer: FieldInfoLayer | undefined;
|
|
195
195
|
/** View instance. If no view is provided all dates will show in 'system' timezone. */
|
|
196
|
-
accessor view:
|
|
196
|
+
accessor view: View | undefined;
|
|
197
197
|
/** Refresh the field info display after external changes are made. */
|
|
198
198
|
refresh(): Promise<void>;
|
|
199
199
|
/** Emitted once all information is displayed. */
|
|
@@ -13,13 +13,11 @@ import * as N from "@arcgis/core/applications/PortalApp/layerUtils.js";
|
|
|
13
13
|
import * as S from "@arcgis/core/core/lang.js";
|
|
14
14
|
import R from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
15
15
|
import A from "@arcgis/core/smartMapping/statistics/uniqueValues.js";
|
|
16
|
+
import { i as p } from "../../chunks/commonFunctions.js";
|
|
16
17
|
import L from "@arcgis/core/rest/support/Query.js";
|
|
17
18
|
import { u as Z } from "../../chunks/useT9n.js";
|
|
18
|
-
function p(a) {
|
|
19
|
-
return a != null;
|
|
20
|
-
}
|
|
21
19
|
function P(a) {
|
|
22
|
-
return a.type === "scene" ? a.associatedLayer?.url : a.url;
|
|
20
|
+
return a.type === "scene" ? a.associatedLayer?.url : a.url ?? void 0;
|
|
23
21
|
}
|
|
24
22
|
const M = {
|
|
25
23
|
dateStyle: "short",
|
|
@@ -35,7 +33,7 @@ function G(a) {
|
|
|
35
33
|
"popupTemplate" in e && (s = e.popupTemplate);
|
|
36
34
|
const r = s ? s.fieldInfos : [];
|
|
37
35
|
return O(a)?.filter((u) => u.name === t).forEach((u) => {
|
|
38
|
-
const l = !n && r ? r.filter((g) => g.fieldName === u.name) :
|
|
36
|
+
const l = !n && r ? r.filter((g) => g.fieldName === u.name) : void 0, o = n ? e.getFieldAlias(t) : l?.length ? l[0].label : u.alias;
|
|
39
37
|
/^raster.(item|service)pixelvalue/iu.test(t) && (u.type = "double");
|
|
40
38
|
const c = {
|
|
41
39
|
layerField: u,
|
|
@@ -169,7 +167,7 @@ function j(a, e) {
|
|
|
169
167
|
g.code === o.code && (c = !0, `, ${g.name},`.includes(`, ${o.name},`) || (g.name += `, ${o.name}`));
|
|
170
168
|
}), c || s.push(S.clone(o));
|
|
171
169
|
});
|
|
172
|
-
})), !s.length && u?.codedValues && (s = S.clone(u.codedValues))) : u?.codedValues && (s = m.domain.codedValues), s?.length ? s :
|
|
170
|
+
})), !s.length && u?.codedValues && (s = S.clone(u.codedValues))) : u?.codedValues && (s = m.domain.codedValues), s?.length ? s : void 0;
|
|
173
171
|
}
|
|
174
172
|
async function J(a) {
|
|
175
173
|
const { view: e, layer: t } = a;
|
|
@@ -422,7 +420,7 @@ class Y extends x {
|
|
|
422
420
|
case "email-address":
|
|
423
421
|
return "emailAddress";
|
|
424
422
|
default:
|
|
425
|
-
return e.layerField.valueType;
|
|
423
|
+
return e.layerField.valueType ?? void 0;
|
|
426
424
|
}
|
|
427
425
|
}
|
|
428
426
|
_getDisplayString(e, t) {
|
|
@@ -491,7 +489,7 @@ class Y extends x {
|
|
|
491
489
|
}
|
|
492
490
|
getCurrentFieldFormat() {
|
|
493
491
|
const { props: e } = this, { layer: t, fieldName: i } = e;
|
|
494
|
-
return (this.originalLayerSupportsFieldConfigs() ? t.getFieldConfiguration(i) : void 0)?.fieldFormat;
|
|
492
|
+
return (this.originalLayerSupportsFieldConfigs() ? t.getFieldConfiguration(i) : void 0)?.fieldFormat ?? void 0;
|
|
495
493
|
}
|
|
496
494
|
getIntlNumberFormattingOptions(e) {
|
|
497
495
|
const t = this.getCurrentFieldFormat();
|
|
@@ -579,7 +577,7 @@ class Y extends x {
|
|
|
579
577
|
return "";
|
|
580
578
|
t === "success" ? e.features.forEach((h) => {
|
|
581
579
|
(f === void 0 || f === null && h.attributes[o] !== null) && (f = h.attributes[o]);
|
|
582
|
-
}) : i === "success" ? f = n?.min : s === "success" && (f = r?.uniqueValueInfos?.[0]?.value
|
|
580
|
+
}) : i === "success" ? f = n?.min ?? void 0 : s === "success" && (f = r?.uniqueValueInfos?.[0]?.value ?? r?.uniqueValueInfos?.[1]?.value ?? void 0);
|
|
583
581
|
const $ = c.codedValues;
|
|
584
582
|
return p(f) && ($ ? f = $.find((h) => f === h.code)?.name || f : f = this._getDisplayString(f, { useFieldFormatting: !0 })), d`<div class="section"><div class="title">${m.fieldSampleValue}</div><div class=${F(t === "failed" && i === "failed" && s === "failed" || !p(f) ? "missing" : "")}>${t === "success" || i === "success" || s === "success" ? f?.toString() ?? g.allNulls : t === "failed" && i === "failed" && s === "failed" ? m.fieldSampleNotAvailable : m.fieldSampleRetrieving}</div></div>`;
|
|
585
583
|
}
|
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import type SceneLayer from "@arcgis/core/layers/SceneLayer.js";
|
|
2
|
+
import type OGCFeatureLayer from "@arcgis/core/layers/OGCFeatureLayer.js";
|
|
3
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
4
|
+
import type WFSLayer from "@arcgis/core/layers/WFSLayer.js";
|
|
5
|
+
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
6
|
+
import type VoxelLayer from "@arcgis/core/layers/VoxelLayer.js";
|
|
7
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
8
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
9
|
+
import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
|
|
10
|
+
import type StreamLayer from "@arcgis/core/layers/StreamLayer.js";
|
|
11
|
+
import type ParquetLayer from "@arcgis/core/layers/ParquetLayer.js";
|
|
12
|
+
import type OrientedImageryLayer from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
13
|
+
import type KnowledgeGraphSublayer from "@arcgis/core/layers/knowledgeGraph/KnowledgeGraphSublayer.js";
|
|
14
|
+
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
15
|
+
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
16
|
+
import type GeoJSONLayer from "@arcgis/core/layers/GeoJSONLayer.js";
|
|
17
|
+
import type CSVLayer from "@arcgis/core/layers/CSVLayer.js";
|
|
18
|
+
import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
19
|
+
import type CatalogFootprintLayer from "@arcgis/core/layers/catalog/CatalogFootprintLayer.js";
|
|
2
20
|
|
|
3
21
|
/** @internal */
|
|
4
|
-
export type FieldInfoLayer =
|
|
22
|
+
export type FieldInfoLayer = CatalogFootprintLayer | CatalogLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | ImageryTileLayer | KnowledgeGraphSublayer | OGCFeatureLayer | OrientedImageryLayer | ParquetLayer | SceneLayer | StreamLayer | Sublayer | SubtypeGroupLayer | SubtypeSublayer | VoxelLayer | WCSLayer | WFSLayer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
|
|
2
|
+
import type View from "@arcgis/core/views/View.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type {
|
|
4
|
+
import type { PickListFieldInfo, PickListGroupInfo, PopoverProps } from "../../utils/types.js";
|
|
5
5
|
import type { FieldPickListLayer } from "./utils/types.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
|
|
@@ -57,14 +57,14 @@ export abstract class ArcgisFieldPickList extends LitElement {
|
|
|
57
57
|
noMatches: string;
|
|
58
58
|
}>;
|
|
59
59
|
/** Custom function to distinguish expressions from fields. */
|
|
60
|
-
accessor customExpressionCheck: ((field:
|
|
60
|
+
accessor customExpressionCheck: ((field: PickListFieldInfo) => boolean) | undefined;
|
|
61
61
|
/** Header text for group containing expressions, if 'groupFieldsAndExpressions' is set to true. */
|
|
62
62
|
accessor expressionsGroupHeading: string | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* All display fields with name, alias, type, and description, sorted by default order.
|
|
65
65
|
* A field with type "none" will always show at the bottom of the list without an info action.
|
|
66
66
|
*/
|
|
67
|
-
accessor fields:
|
|
67
|
+
accessor fields: PickListFieldInfo[] | PickListGroupInfo[];
|
|
68
68
|
/** Header text for group containing fields, if 'groupFieldsAndExpressions' is set to true. */
|
|
69
69
|
accessor fieldsGroupHeading: string | undefined;
|
|
70
70
|
/** Filter no results text. If empty string ("") no text will be shown. */
|
|
@@ -101,7 +101,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
|
|
|
101
101
|
*/
|
|
102
102
|
accessor listOnly: boolean;
|
|
103
103
|
/** @deprecated use view instead */
|
|
104
|
-
accessor mapView:
|
|
104
|
+
accessor mapView: View | undefined;
|
|
105
105
|
/**
|
|
106
106
|
* If true, allows for multiple selection. If false, the
|
|
107
107
|
* popover will close once an item has been selected.
|
|
@@ -112,7 +112,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
|
|
|
112
112
|
/** Ok button text. Ok button only shows when multiple set to true. Valid only if listOnly is not set to true. */
|
|
113
113
|
accessor okBtnText: string | undefined;
|
|
114
114
|
/** Convenience prop to specify common popover props, `popoverProps.refElement` is required. Valid only if listOnly is not set to true. */
|
|
115
|
-
accessor popoverProps:
|
|
115
|
+
accessor popoverProps: PopoverProps | undefined;
|
|
116
116
|
/** The initially selected fields. Will use selectedFields[0] when multiple is set to false. */
|
|
117
117
|
accessor selectedFields: string[];
|
|
118
118
|
/**
|
|
@@ -168,7 +168,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
|
|
|
168
168
|
*/
|
|
169
169
|
accessor sortBy: LastSortBy;
|
|
170
170
|
/** View instance. */
|
|
171
|
-
accessor view:
|
|
171
|
+
accessor view: View | undefined;
|
|
172
172
|
/** Reposition the component. */
|
|
173
173
|
reposition(): Promise<void>;
|
|
174
174
|
/**
|
|
@@ -183,9 +183,9 @@ export abstract class ArcgisFieldPickList extends LitElement {
|
|
|
183
183
|
readonly arcgisChange: import("@arcgis/lumina").TargetedEvent<this, { selectedFields: string[]; }>;
|
|
184
184
|
/** Emitted when the pick list has been closed. */
|
|
185
185
|
readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, { selectedFields: string[]; } | void>;
|
|
186
|
-
/** Emitted when the delete icon of a field has been clicked. The field must have
|
|
186
|
+
/** Emitted when the delete icon of a field has been clicked. The field must have PickListFieldInfo.showDeleteAction set to true. */
|
|
187
187
|
readonly arcgisDeleteField: import("@arcgis/lumina").TargetedEvent<this, { fieldName: string; }>;
|
|
188
|
-
/** Emitted when the edit icon of a field has been clicked. The field must have
|
|
188
|
+
/** Emitted when the edit icon of a field has been clicked. The field must have PickListFieldInfo.showEditAction set to true. */
|
|
189
189
|
readonly arcgisEditField: import("@arcgis/lumina").TargetedEvent<this, { fieldName: string; }>;
|
|
190
190
|
/** @deprecated use arcgisChange instead */
|
|
191
191
|
readonly arcgisFieldPickListChange: import("@arcgis/lumina").TargetedEvent<this, { selectedFields: string[]; }>;
|
|
@@ -205,4 +205,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
|
|
|
205
205
|
arcgisFieldPickListSortByChange: ArcgisFieldPickList["arcgisFieldPickListSortByChange"]["detail"];
|
|
206
206
|
arcgisSortByChange: ArcgisFieldPickList["arcgisSortByChange"]["detail"];
|
|
207
207
|
};
|
|
208
|
-
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/** @internal */
|
|
211
|
+
export type LastSortBy = "default" | "display" | "field" | "type";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as y } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as F } from "lit/directives/keyed.js";
|
|
4
|
-
import { LitElement as w, createEvent as n, renderElement as $,
|
|
4
|
+
import { LitElement as w, createEvent as n, renderElement as $, nothing as d, safeStyleMap as g, safeClassMap as S } from "@arcgis/lumina";
|
|
5
5
|
import { createRef as r, ref as h } from "lit/directives/ref.js";
|
|
6
6
|
import { html as l, css as C } from "lit";
|
|
7
7
|
import { Task as v } from "@lit/task";
|
|
8
8
|
import { log as u, composeMissingPropertyMessage as k } from "@arcgis/toolkit/log";
|
|
9
|
+
import { F as f } from "../../chunks/internal-types.js";
|
|
9
10
|
import { i as B } from "../../chunks/commonFunctions.js";
|
|
10
|
-
import { F as f } from "../../chunks/types.js";
|
|
11
11
|
import { u as x } from "../../chunks/useT9n.js";
|
|
12
12
|
const o = /* @__PURE__ */ new Map();
|
|
13
13
|
o.set("oid", "key");
|
|
@@ -1,8 +1,26 @@
|
|
|
1
|
-
|
|
1
|
+
import type WFSLayer from "@arcgis/core/layers/WFSLayer.js";
|
|
2
|
+
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
3
|
+
import type VoxelLayer from "@arcgis/core/layers/VoxelLayer.js";
|
|
4
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
5
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
6
|
+
import type Sublayer from "@arcgis/core/layers/support/Sublayer.js";
|
|
7
|
+
import type StreamLayer from "@arcgis/core/layers/StreamLayer.js";
|
|
8
|
+
import type SceneLayer from "@arcgis/core/layers/SceneLayer.js";
|
|
9
|
+
import type ParquetLayer from "@arcgis/core/layers/ParquetLayer.js";
|
|
10
|
+
import type OrientedImageryLayer from "@arcgis/core/layers/OrientedImageryLayer.js";
|
|
11
|
+
import type OGCFeatureLayer from "@arcgis/core/layers/OGCFeatureLayer.js";
|
|
12
|
+
import type KnowledgeGraphSublayer from "@arcgis/core/layers/knowledgeGraph/KnowledgeGraphSublayer.js";
|
|
13
|
+
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
14
|
+
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
15
|
+
import type GeoJSONLayer from "@arcgis/core/layers/GeoJSONLayer.js";
|
|
16
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
17
|
+
import type CSVLayer from "@arcgis/core/layers/CSVLayer.js";
|
|
18
|
+
import type CatalogLayer from "@arcgis/core/layers/CatalogLayer.js";
|
|
19
|
+
import type CatalogFootprintLayer from "@arcgis/core/layers/catalog/CatalogFootprintLayer.js";
|
|
2
20
|
|
|
3
21
|
/**
|
|
4
22
|
* All supported layer types
|
|
5
23
|
*
|
|
6
24
|
* @internal
|
|
7
25
|
*/
|
|
8
|
-
export type FieldPickListLayer =
|
|
26
|
+
export type FieldPickListLayer = CatalogFootprintLayer | CatalogLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | ImageryTileLayer | KnowledgeGraphSublayer | OGCFeatureLayer | OrientedImageryLayer | ParquetLayer | SceneLayer | StreamLayer | Sublayer | SubtypeGroupLayer | SubtypeSublayer | VoxelLayer | WCSLayer | WFSLayer;
|
|
@@ -5,7 +5,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Renders a histogram to visualize the spread of a dataset based on [bins](
|
|
8
|
+
* Renders a histogram to visualize the spread of a dataset based on [bins](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#bins) representing buckets, or sub-ranges, of
|
|
9
9
|
* data. Each [bin](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/types/#HistogramBin) is defined by a minimum and maximum value and a total count.
|
|
10
10
|
*
|
|
11
11
|
* You can generate the underlying histogram's bins with the [histogram](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/statistics/histogram/)
|
|
@@ -27,19 +27,19 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
27
27
|
* histogramElement.max = results.maxValue;
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
|
-
* Other properties of this component allow you to display meaningful values on the histogram, such as the [average](
|
|
31
|
-
* [
|
|
30
|
+
* Other properties of this component allow you to display meaningful values on the histogram, such as the [average](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#average),
|
|
31
|
+
* [standardDeviation](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#standardDeviation), and the [dataLines](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#dataLines) properties.
|
|
32
32
|
*
|
|
33
|
-
* The [layout](
|
|
33
|
+
* The [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#layout) property allows you to set the orientation of the histogram, and the [colorStops](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#colorStops)
|
|
34
34
|
* property allows you to set a gradient or color scheme for the histogram bars.
|
|
35
35
|
*
|
|
36
36
|
* See the image below for a summary of the configurable options available on the histogram.
|
|
37
37
|
*
|
|
38
|
-
* 
|
|
39
39
|
*
|
|
40
|
-
* The [colorStops](
|
|
40
|
+
* The [colorStops](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#colorStops) property may be used to define a color scheme for the histogram bars.
|
|
41
41
|
*
|
|
42
|
-
* 
|
|
43
43
|
*
|
|
44
44
|
* @cssproperty [--arcgis-histogram-bar-color] - Specifies the color of the histogram bars when the bin doesn't have a corresponding color stop.
|
|
45
45
|
* @cssproperty [--arcgis-histogram-stop-color] - Specifies the default color for color stops.
|
|
@@ -107,7 +107,7 @@ export abstract class ArcgisHistogram extends LitElement {
|
|
|
107
107
|
* When set to `true`, overlapping classed color stops will be blended together to create the color of the bar.
|
|
108
108
|
* This allows to show a if a bar representing a bin overlaps with multiple classed color stops.
|
|
109
109
|
*
|
|
110
|
-
* This property is only applicable when the [colorStops](
|
|
110
|
+
* This property is only applicable when the [colorStops](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#colorStops) property is set to classed color stops.
|
|
111
111
|
*
|
|
112
112
|
* @default false
|
|
113
113
|
*/
|
|
@@ -200,7 +200,7 @@ export abstract class ArcgisHistogram extends LitElement {
|
|
|
200
200
|
accessor layout: HistogramLayout;
|
|
201
201
|
/**
|
|
202
202
|
* The maximum value or bound of the entire histogram. This
|
|
203
|
-
* should match the maximum bound of the last [
|
|
203
|
+
* should match the maximum bound of the last [bins](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#bins).
|
|
204
204
|
*
|
|
205
205
|
* @example
|
|
206
206
|
* ```js
|
|
@@ -224,7 +224,7 @@ export abstract class ArcgisHistogram extends LitElement {
|
|
|
224
224
|
};
|
|
225
225
|
/**
|
|
226
226
|
* The minimum value or bound of the entire histogram. This
|
|
227
|
-
* should match the minimum bound of the first [
|
|
227
|
+
* should match the minimum bound of the first [bins](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-histogram/#bins).
|
|
228
228
|
*
|
|
229
229
|
* @example
|
|
230
230
|
* ```js
|