@arcgis/common-components 5.1.0-next.1 → 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.
Files changed (132) hide show
  1. package/README.md +24 -1
  2. package/dist/cdn/3Y4H3CAQ.js +2 -0
  3. package/dist/cdn/{S7T3XQPB.js → 43KGVFBF.js} +1 -1
  4. package/dist/cdn/B43M633Q.js +2 -0
  5. package/dist/cdn/DDJDHAHT.js +2 -0
  6. package/dist/cdn/GFUGR2W7.js +2 -0
  7. package/dist/cdn/{7Y42J3JI.js → GPVWNUMW.js} +1 -1
  8. package/dist/cdn/GSNPEBGQ.js +4 -0
  9. package/dist/cdn/{C6JAR4IN.js → H74W6KYI.js} +1 -1
  10. package/dist/cdn/{7CI55VCH.js → HYLC5GEB.js} +1 -1
  11. package/dist/cdn/{AXTSUI2Q.js → JJZBCHU4.js} +3 -3
  12. package/dist/cdn/{7PB2GGQH.js → JRF33N6C.js} +1 -1
  13. package/dist/cdn/LVSH5I3Q.js +2 -0
  14. package/dist/cdn/MHJWVKG5.js +2 -0
  15. package/dist/cdn/{6NYYZIHB.js → MNN3QF54.js} +1 -1
  16. package/dist/cdn/{GQLKGVRX.js → O3CBCQNL.js} +1 -1
  17. package/dist/cdn/O6ZASYX6.js +2 -0
  18. package/dist/cdn/{YVSTPEPS.js → OQF4LYVE.js} +1 -1
  19. package/dist/cdn/{ZOWIFVL3.js → P4CF7V4U.js} +1 -1
  20. package/dist/cdn/QEPJM6XG.js +2 -0
  21. package/dist/cdn/{J5X5TNVW.js → TTV4Z2RR.js} +1 -1
  22. package/dist/cdn/WG5GA6QX.js +2 -0
  23. package/dist/cdn/{7HQMPKZO.js → YZGTCNEQ.js} +1 -1
  24. package/dist/cdn/assets/field-pick-list/t9n/messages.no.json +1 -1
  25. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ar.json +1 -0
  26. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.bg.json +1 -0
  27. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.bs.json +1 -0
  28. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ca.json +1 -0
  29. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.cs.json +1 -0
  30. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.da.json +1 -0
  31. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.de.json +1 -0
  32. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.el.json +1 -0
  33. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.en-US.json +1 -0
  34. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.en.json +1 -0
  35. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.es.json +1 -0
  36. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.et.json +1 -0
  37. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.fi.json +1 -0
  38. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.fr.json +1 -0
  39. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.he.json +1 -0
  40. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.hr.json +1 -0
  41. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.hu.json +1 -0
  42. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.id.json +1 -0
  43. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.it.json +1 -0
  44. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ja.json +1 -0
  45. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ko.json +1 -0
  46. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.lt.json +1 -0
  47. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.lv.json +1 -0
  48. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.nl.json +1 -0
  49. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.no.json +1 -0
  50. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.pl.json +1 -0
  51. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.pt-BR.json +1 -0
  52. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.pt-PT.json +1 -0
  53. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ro.json +1 -0
  54. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.ru.json +1 -0
  55. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sk.json +1 -0
  56. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sl.json +1 -0
  57. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sr.json +1 -0
  58. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.sv.json +1 -0
  59. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.th.json +1 -0
  60. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.tr.json +1 -0
  61. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.uk.json +1 -0
  62. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.vi.json +1 -0
  63. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.zh-CN.json +1 -0
  64. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.zh-HK.json +1 -0
  65. package/dist/cdn/assets/spatial-reference-picker/t9n/messages.zh-TW.json +1 -0
  66. package/dist/cdn/index.js +1 -1
  67. package/dist/cdn/main.css +1 -1
  68. package/dist/chunks/commonFunctions.js +5 -11
  69. package/dist/components/arcgis-ckeditor5/customElement.d.ts +1 -0
  70. package/dist/components/arcgis-ckeditor5/customElement.js +12 -12
  71. package/dist/components/arcgis-ckeditor5/types.d.ts +9 -0
  72. package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +1 -0
  73. package/dist/components/arcgis-ckeditor5-popover/customElement.js +1 -1
  74. package/dist/components/arcgis-color-input/customElement.d.ts +3 -2
  75. package/dist/components/arcgis-field-info/customElement.d.ts +3 -2
  76. package/dist/components/arcgis-field-info/customElement.js +16 -18
  77. package/dist/components/arcgis-field-info/utils/basic.d.ts +21 -2
  78. package/dist/components/arcgis-field-pick-list/customElement.d.ts +14 -10
  79. package/dist/components/arcgis-field-pick-list/customElement.js +2 -2
  80. package/dist/components/arcgis-field-pick-list/utils/types.d.ts +25 -3
  81. package/dist/components/arcgis-histogram/customElement.d.ts +46 -28
  82. package/dist/components/arcgis-histogram/customElement.js +81 -90
  83. package/dist/components/arcgis-histogram/types.d.ts +1 -3
  84. package/dist/components/arcgis-label-input/customElement.d.ts +6 -6
  85. package/dist/components/arcgis-label-input/customElement.js +22 -17
  86. package/dist/components/arcgis-picker-input/customElement.d.ts +3 -2
  87. package/dist/components/arcgis-picker-input/customElement.js +11 -11
  88. package/dist/components/arcgis-ramp-color/customElement.d.ts +2 -0
  89. package/dist/components/arcgis-ramp-color-break/customElement.d.ts +2 -0
  90. package/dist/components/arcgis-ramp-opacity/customElement.d.ts +1 -0
  91. package/dist/components/arcgis-slider/customElement.d.ts +282 -83
  92. package/dist/components/arcgis-slider/customElement.js +434 -360
  93. package/dist/components/arcgis-slider-input/customElement.d.ts +7 -0
  94. package/dist/components/arcgis-slider-input/customElement.js +12 -12
  95. package/dist/components/arcgis-spatial-reference-picker/customElement.d.ts +327 -0
  96. package/dist/components/arcgis-spatial-reference-picker/customElement.js +7702 -0
  97. package/dist/components/arcgis-spatial-reference-picker/index.d.ts +1 -0
  98. package/dist/components/arcgis-spatial-reference-picker/index.js +3 -0
  99. package/dist/components/arcgis-spatial-reference-picker-tree/customElement.d.ts +35 -0
  100. package/dist/components/arcgis-spatial-reference-picker-tree/customElement.js +77 -0
  101. package/dist/components/arcgis-spatial-reference-picker-tree/index.d.ts +1 -0
  102. package/dist/components/arcgis-spatial-reference-picker-tree/index.js +3 -0
  103. package/dist/components/arcgis-ticks/customElement.d.ts +110 -20
  104. package/dist/components/arcgis-ticks/customElement.js +30 -30
  105. package/dist/components/arcgis-ticks/types.d.ts +23 -0
  106. package/dist/components/arcgis-unique-values-list/customElement.d.ts +14 -5
  107. package/dist/components/arcgis-unique-values-list/customElement.js +158 -151
  108. package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +14 -2
  109. package/dist/docs/api.json +1 -1
  110. package/dist/docs/docs.json +1 -1
  111. package/dist/docs/vscode.html-custom-data.json +1 -1
  112. package/dist/docs/web-types.json +1 -1
  113. package/dist/index.d.ts +39 -1
  114. package/dist/loader.js +5 -3
  115. package/dist/types/lumina.d.ts +15 -3
  116. package/dist/types/preact.d.ts +17 -3
  117. package/dist/types/react.d.ts +19 -3
  118. package/dist/types/stencil.d.ts +15 -3
  119. package/dist/utils/internal-types.d.ts +1 -0
  120. package/dist/utils/spatial-references.d.ts +1 -0
  121. package/dist/utils/types.d.ts +39 -22
  122. package/package.json +8 -6
  123. package/dist/cdn/6DQVLQL6.js +0 -2
  124. package/dist/cdn/6MGBOM6S.js +0 -2
  125. package/dist/cdn/BAVGT3I5.js +0 -2
  126. package/dist/cdn/P45VPBNI.js +0 -2
  127. package/dist/cdn/UTXWKXMT.js +0 -4
  128. package/dist/cdn/XEB2RUND.js +0 -2
  129. package/dist/cdn/ZL3E4ZGE.js +0 -2
  130. package/dist/cdn/ZP76EPVI.js +0 -2
  131. /package/dist/cdn/{CSDKXC4T.js → TJNYRK5P.js} +0 -0
  132. /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("arcgisFieldPickListDismissed", ((a) => {
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("arcgisFieldPickListChange", ((a) => {
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: "h1", 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"] }, { name: "figure", styles: !0 }], disallow: [{ name: "a", attributes: { rel: !0 } }] }, language: "en" };
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,6 +1,15 @@
1
+ /** @internal */
1
2
  export type InputMentionField = {
2
3
  id: string;
3
4
  name: string;
4
5
  };
5
6
 
7
+ /** @internal */
8
+ export type DisplayMentionField = InputMentionField
9
+ & {
10
+ isFirstExpression: boolean;
11
+ isFirstField: boolean;
12
+ };
13
+
14
+ /** @internal */
6
15
  export type EditorType = "html" | "markdown";
@@ -1,6 +1,7 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
 
4
+ /** @internal */
4
5
  export abstract class ArcgisCkeditor5Popover extends LitElement {
5
6
  /** Guid for ckeditor popover instance. */
6
7
  accessor guid: `${string}-${string}-${string}-${string}-${string}`;
@@ -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, safeClassMap as e, nothing as c } from "@arcgis/lumina";
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,9 +1,10 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { IPopoverProps } from "../../utils/types.js";
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
 
7
+ /** @internal */
7
8
  export abstract class ArcgisColorInput extends LitElement {
8
9
  /** @internal */
9
10
  protected _messages: Partial<{
@@ -63,7 +64,7 @@ export abstract class ArcgisColorInput extends LitElement {
63
64
  */
64
65
  accessor placement: Popover["placement"];
65
66
  /** Convenience prop to specify common popover props. */
66
- accessor popoverProps: IPopoverProps | undefined;
67
+ accessor popoverProps: PopoverProps | undefined;
67
68
  /**
68
69
  * If true, allow transparency to be modified within the color picker.
69
70
  *
@@ -1,9 +1,10 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- /// <reference types="@arcgis/core/interfaces.d.ts" />
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";
6
6
 
7
+ /** @internal */
7
8
  export abstract class ArcgisFieldInfo extends LitElement {
8
9
  /** @internal */
9
10
  protected _messages: {
@@ -192,7 +193,7 @@ export abstract class ArcgisFieldInfo extends LitElement {
192
193
  /** Required layer instance. */
193
194
  accessor layer: FieldInfoLayer | undefined;
194
195
  /** View instance. If no view is provided all dates will show in 'system' timezone. */
195
- accessor view: __esri.View | undefined;
196
+ accessor view: View | undefined;
196
197
  /** Refresh the field info display after external changes are made. */
197
198
  refresh(): Promise<void>;
198
199
  /** Emitted once all information is displayed. */
@@ -9,33 +9,31 @@ import { log as V, composeMissingPropertyMessage as I } from "@arcgis/toolkit/lo
9
9
  import E from "@arcgis/core/config.js";
10
10
  import * as _ from "@arcgis/core/core/reactiveUtils.js";
11
11
  import * as y from "@arcgis/core/intl.js";
12
+ import * as N from "@arcgis/core/applications/PortalApp/layerUtils.js";
12
13
  import * as S from "@arcgis/core/core/lang.js";
13
14
  import R from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
14
15
  import A from "@arcgis/core/smartMapping/statistics/uniqueValues.js";
15
- import { s as N } from "../../chunks/commonFunctions.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",
26
24
  timeStyle: "short"
27
- }, G = {
25
+ }, U = {
28
26
  timeStyle: "medium"
29
27
  };
30
- function U(a) {
28
+ function G(a) {
31
29
  const { layer: e, fieldName: t } = a;
32
30
  let i;
33
- const n = N(e);
31
+ const n = N.supportsFieldConfiguration(e);
34
32
  let s;
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) : null, o = n ? e.getFieldAlias(t) : l?.length ? l[0].label : u.alias;
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 : null;
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;
@@ -271,7 +269,7 @@ class Y extends x {
271
269
  layer: s ?? t,
272
270
  fieldName: i,
273
271
  hideStatistics: n
274
- }, this.props.fieldInfo = U(this.props), t.type === "scene" && E.request.interceptors?.push({
272
+ }, this.props.fieldInfo = G(this.props), t.type === "scene" && E.request.interceptors?.push({
275
273
  urls: `${P(t)}/${t.layerId}`,
276
274
  before(r) {
277
275
  r.requestOptions.authMode = "no-prompt";
@@ -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.originalLayerSupportsFieldConfiguration() ? 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();
@@ -517,7 +515,7 @@ class Y extends x {
517
515
  getIntlDateTimeFormattingOptions(e, t) {
518
516
  const i = this.getCurrentFieldFormat();
519
517
  if (!t?.useFieldFormatting)
520
- return i ? t?.isTimeOnly ? G : M : y.convertDateFormatToIntlOptions(e);
518
+ return i ? t?.isTimeOnly ? U : M : y.convertDateFormatToIntlOptions(e);
521
519
  const n = i ? {
522
520
  dateStyle: t?.isTimeOnly ? void 0 : i.dateStyle ?? void 0,
523
521
  // year/month is overridden if dateStyle is set
@@ -531,9 +529,9 @@ class Y extends x {
531
529
  const s = this.getPopupTemplateFieldInfo();
532
530
  return y.convertDateFormatToIntlOptions(s?.format?.dateFormat ?? e);
533
531
  }
534
- originalLayerSupportsFieldConfiguration() {
532
+ originalLayerSupportsFieldConfigs() {
535
533
  const { layer: e } = this;
536
- return N(e);
534
+ return N.supportsFieldConfiguration(e);
537
535
  }
538
536
  getPopupTemplateFieldInfo() {
539
537
  const { props: e } = this, { layer: t, fieldName: i } = e;
@@ -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 || r?.uniqueValueInfos?.[1]?.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
  }
@@ -587,7 +585,7 @@ class Y extends x {
587
585
  const { _messages: e, props: t, hideNumericFormat: i } = this, { fieldName: n, fieldInfo: s, layer: r } = t;
588
586
  if (i || !["double", "long", "single"].includes(s.layerField.type))
589
587
  return "";
590
- const m = this.originalLayerSupportsFieldConfiguration() ? r.getFieldConfiguration(n) : void 0;
588
+ const m = this.originalLayerSupportsFieldConfigs() ? r.getFieldConfiguration(n) : void 0;
591
589
  if (m?.fieldFormat) {
592
590
  const { minimumFractionDigits: l, maximumFractionDigits: o } = m.fieldFormat;
593
591
  return d`<div class="section"><div class="title">${e.fieldDecimalPlaces}</div><div>${e.fieldMinimumFractionDigits.replace("${number}", l.toString())}</div><div>${e.fieldMaximumFractionDigits.replace("${number}", o.toString())}</div></div>`;
@@ -1,3 +1,22 @@
1
- /// <reference types="@arcgis/core/interfaces.d.ts" />
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
- export type FieldInfoLayer = __esri.CatalogFootprintLayer | __esri.CatalogLayer | __esri.CSVLayer | __esri.FeatureLayer | __esri.GeoJSONLayer | __esri.ImageryLayer | __esri.ImageryTileLayer | __esri.KnowledgeGraphSublayer | __esri.OGCFeatureLayer | __esri.OrientedImageryLayer | __esri.ParquetLayer | __esri.SceneLayer | __esri.StreamLayer | __esri.Sublayer | __esri.SubtypeGroupLayer | __esri.SubtypeSublayer | __esri.VoxelLayer | __esri.WCSLayer | __esri.WFSLayer;
21
+ /** @internal */
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
- /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ import type View from "@arcgis/core/views/View.js";
3
3
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
- import type { IPickListFieldInfo, IPickListGroupInfo, IPopoverProps, LastSortBy } from "../../utils/types.js";
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
 
@@ -13,6 +13,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
13
13
  * @slot [content-bottom] - A slot for content below the list, non-scrollable. Valid only if listOnly is not set to true.
14
14
  * @slot [content-footer] - A slot for content below the list inside the panel's footer, non-scrollable. Valid only if listOnly is not set to true.
15
15
  * @slot [no-fields] - A slot for content, e.g. a message, that displays if the list of fields is empty.
16
+ * @internal
16
17
  */
17
18
  export abstract class ArcgisFieldPickList extends LitElement {
18
19
  /** @internal */
@@ -56,14 +57,14 @@ export abstract class ArcgisFieldPickList extends LitElement {
56
57
  noMatches: string;
57
58
  }>;
58
59
  /** Custom function to distinguish expressions from fields. */
59
- accessor customExpressionCheck: ((field: IPickListFieldInfo) => boolean) | undefined;
60
+ accessor customExpressionCheck: ((field: PickListFieldInfo) => boolean) | undefined;
60
61
  /** Header text for group containing expressions, if 'groupFieldsAndExpressions' is set to true. */
61
62
  accessor expressionsGroupHeading: string | undefined;
62
63
  /**
63
64
  * All display fields with name, alias, type, and description, sorted by default order.
64
65
  * A field with type "none" will always show at the bottom of the list without an info action.
65
66
  */
66
- accessor fields: IPickListFieldInfo[] | IPickListGroupInfo[];
67
+ accessor fields: PickListFieldInfo[] | PickListGroupInfo[];
67
68
  /** Header text for group containing fields, if 'groupFieldsAndExpressions' is set to true. */
68
69
  accessor fieldsGroupHeading: string | undefined;
69
70
  /** Filter no results text. If empty string ("") no text will be shown. */
@@ -100,7 +101,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
100
101
  */
101
102
  accessor listOnly: boolean;
102
103
  /** @deprecated use view instead */
103
- accessor mapView: __esri.View | undefined;
104
+ accessor mapView: View | undefined;
104
105
  /**
105
106
  * If true, allows for multiple selection. If false, the
106
107
  * popover will close once an item has been selected.
@@ -111,7 +112,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
111
112
  /** Ok button text. Ok button only shows when multiple set to true. Valid only if listOnly is not set to true. */
112
113
  accessor okBtnText: string | undefined;
113
114
  /** Convenience prop to specify common popover props, `popoverProps.refElement` is required. Valid only if listOnly is not set to true. */
114
- accessor popoverProps: IPopoverProps | undefined;
115
+ accessor popoverProps: PopoverProps | undefined;
115
116
  /** The initially selected fields. Will use selectedFields[0] when multiple is set to false. */
116
117
  accessor selectedFields: string[];
117
118
  /**
@@ -167,7 +168,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
167
168
  */
168
169
  accessor sortBy: LastSortBy;
169
170
  /** View instance. */
170
- accessor view: __esri.View | undefined;
171
+ accessor view: View | undefined;
171
172
  /** Reposition the component. */
172
173
  reposition(): Promise<void>;
173
174
  /**
@@ -182,9 +183,9 @@ export abstract class ArcgisFieldPickList extends LitElement {
182
183
  readonly arcgisChange: import("@arcgis/lumina").TargetedEvent<this, { selectedFields: string[]; }>;
183
184
  /** Emitted when the pick list has been closed. */
184
185
  readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, { selectedFields: string[]; } | void>;
185
- /** Emitted when the delete icon of a field has been clicked. The field must have IPickListFieldInfo.showDeleteAction set to true. */
186
+ /** Emitted when the delete icon of a field has been clicked. The field must have PickListFieldInfo.showDeleteAction set to true. */
186
187
  readonly arcgisDeleteField: import("@arcgis/lumina").TargetedEvent<this, { fieldName: string; }>;
187
- /** Emitted when the edit icon of a field has been clicked. The field must have IPickListFieldInfo.showEditAction set to true. */
188
+ /** Emitted when the edit icon of a field has been clicked. The field must have PickListFieldInfo.showEditAction set to true. */
188
189
  readonly arcgisEditField: import("@arcgis/lumina").TargetedEvent<this, { fieldName: string; }>;
189
190
  /** @deprecated use arcgisChange instead */
190
191
  readonly arcgisFieldPickListChange: import("@arcgis/lumina").TargetedEvent<this, { selectedFields: string[]; }>;
@@ -204,4 +205,7 @@ export abstract class ArcgisFieldPickList extends LitElement {
204
205
  arcgisFieldPickListSortByChange: ArcgisFieldPickList["arcgisFieldPickListSortByChange"]["detail"];
205
206
  arcgisSortByChange: ArcgisFieldPickList["arcgisSortByChange"]["detail"];
206
207
  };
207
- }
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 $, safeStyleMap as g, nothing as d, safeClassMap as S } from "@arcgis/lumina";
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,4 +1,26 @@
1
- /// <reference types="@arcgis/core/interfaces.d.ts" />
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
- /** All supported layer types */
4
- export type FieldPickListLayer = __esri.CatalogFootprintLayer | __esri.CatalogLayer | __esri.CSVLayer | __esri.FeatureLayer | __esri.GeoJSONLayer | __esri.ImageryLayer | __esri.ImageryTileLayer | __esri.KnowledgeGraphSublayer | __esri.OGCFeatureLayer | __esri.OrientedImageryLayer | __esri.ParquetLayer | __esri.SceneLayer | __esri.StreamLayer | __esri.Sublayer | __esri.SubtypeGroupLayer | __esri.SubtypeSublayer | __esri.VoxelLayer | __esri.WCSLayer | __esri.WFSLayer;
21
+ /**
22
+ * All supported layer types
23
+ *
24
+ * @internal
25
+ */
26
+ export type FieldPickListLayer = CatalogFootprintLayer | CatalogLayer | CSVLayer | FeatureLayer | GeoJSONLayer | ImageryLayer | ImageryTileLayer | KnowledgeGraphSublayer | OGCFeatureLayer | OrientedImageryLayer | ParquetLayer | SceneLayer | StreamLayer | Sublayer | SubtypeGroupLayer | SubtypeSublayer | VoxelLayer | WCSLayer | WFSLayer;