@arcgis/portal-components 5.0.5 → 5.0.6

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 (61) hide show
  1. package/dist/cdn/{IRYOTWE2.js → 5JF6Z3HL.js} +1 -1
  2. package/dist/cdn/{2ACEEWQD.js → AJPW4Z5G.js} +1 -1
  3. package/dist/cdn/{4PSTCHVO.js → BEBFHC6H.js} +1 -1
  4. package/dist/cdn/F7RUE2YB.js +2 -0
  5. package/dist/cdn/{UI6MSLI2.js → KFIUC3GJ.js} +1 -1
  6. package/dist/cdn/{M7S2HGG2.js → LCWPNZKW.js} +1 -1
  7. package/dist/cdn/{ULDDTECU.js → MMBQZAMQ.js} +1 -1
  8. package/dist/cdn/{F6AOQAUI.js → PM5KCOGL.js} +1 -1
  9. package/dist/cdn/{CCF64C3P.js → QUPL6QGH.js} +1 -1
  10. package/dist/cdn/{CIDT6ZQI.js → RSFKVQL6.js} +1 -1
  11. package/dist/cdn/{VSBRMAWX.js → S6OBQLFZ.js} +1 -1
  12. package/dist/cdn/{SDNWSKHP.js → SPS4PWHS.js} +1 -1
  13. package/dist/cdn/{3BI4LD66.js → UZ5DC2UN.js} +1 -1
  14. package/dist/cdn/{TDXYRDZZ.js → XPRVKKBL.js} +1 -1
  15. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ar.json +1 -1
  16. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.bg.json +1 -1
  17. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.bs.json +1 -1
  18. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ca.json +1 -1
  19. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.cs.json +1 -1
  20. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.da.json +1 -1
  21. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.de.json +1 -1
  22. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.el.json +1 -1
  23. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.es.json +1 -1
  24. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.et.json +1 -1
  25. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.fi.json +1 -1
  26. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.fr.json +1 -1
  27. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.he.json +1 -1
  28. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.hr.json +1 -1
  29. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.hu.json +1 -1
  30. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.id.json +1 -1
  31. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.it.json +1 -1
  32. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ja.json +1 -1
  33. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ko.json +1 -1
  34. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.lt.json +1 -1
  35. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.lv.json +1 -1
  36. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.nl.json +1 -1
  37. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.no.json +1 -1
  38. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pl.json +1 -1
  39. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pt-BR.json +1 -1
  40. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pt-PT.json +1 -1
  41. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ro.json +1 -1
  42. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ru.json +1 -1
  43. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sk.json +1 -1
  44. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sl.json +1 -1
  45. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sr.json +1 -1
  46. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sv.json +1 -1
  47. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.th.json +1 -1
  48. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.tr.json +1 -1
  49. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.uk.json +1 -1
  50. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.vi.json +1 -1
  51. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-CN.json +1 -1
  52. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-HK.json +1 -1
  53. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-TW.json +1 -1
  54. package/dist/cdn/index.js +1 -1
  55. package/dist/chunks/runtime.js +1 -1
  56. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +45 -21
  57. package/dist/docs/api.json +1 -1
  58. package/dist/docs/docs.json +1 -1
  59. package/dist/docs/web-types.json +1 -1
  60. package/package.json +3 -3
  61. package/dist/cdn/V7BQ43LU.js +0 -2
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
2
  import { g as d, c as g } from "../../chunks/runtime.js";
3
- import { LitElement as h, createEvent as b, nothing as f } from "@arcgis/lumina";
4
- import { h as y } from "../../chunks/item.js";
3
+ import { LitElement as h, createEvent as b, nothing as y } from "@arcgis/lumina";
4
+ import { h as f } from "../../chunks/item.js";
5
5
  import { u as I } from "../../chunks/useT9n.js";
6
- import { createRef as w, ref as k } from "lit/directives/ref.js";
7
- import { unsafeHTML as R } from "lit/directives/unsafe-html.js";
6
+ import { createRef as w, ref as R } from "lit/directives/ref.js";
7
+ import { unsafeHTML as k } from "lit/directives/unsafe-html.js";
8
8
  import { css as v, html as l } from "lit";
9
9
  import "@arcgis/core/request.js";
10
10
  import p from "@arcgis/core/portal/PortalItem.js";
11
- const $ = v`.thumbnail-container{width:100%}.replacement-container{margin:.5rem}.replacement-message{margin-bottom:.5rem}.replacement-card__title{margin-bottom:.25rem}`, T = [
11
+ const S = v`.thumbnail-container{width:100%}.replacement-container{margin:.5rem}.replacement-message{margin-bottom:.5rem}.replacement-card__title{margin-bottom:.25rem}`, $ = [
12
12
  "3DInsetMap",
13
13
  "3DScene",
14
14
  "3DViz",
@@ -90,19 +90,43 @@ const $ = v`.thumbnail-container{width:100%}.replacement-container{margin:.5rem}
90
90
  "View",
91
91
  "Viewer",
92
92
  "ZoneLookup"
93
- ], C = (r) => {
93
+ ], M = (r) => {
94
94
  if (!r)
95
95
  return !1;
96
- const e = T.some((t) => {
96
+ const e = $.some((t) => {
97
97
  const i = t.includes(".html"), n = `/apps/${t}${i ? "" : "/"}`;
98
98
  return decodeURIComponent(r.url)?.includes(n);
99
99
  });
100
100
  return r.type === "Web Mapping Application" && !!r.url && e;
101
101
  };
102
- function M(r) {
103
- return r.type === "Web Mapping Application" && S(["Story Map"], r);
102
+ function T(r) {
103
+ const e = [
104
+ "Cascade",
105
+ "MapTour",
106
+ "MapJournal",
107
+ "MapSeries",
108
+ "Shortlist",
109
+ "StoryMapCrowdsource",
110
+ "SwipeSpyglass",
111
+ "Story Map"
112
+ ];
113
+ return r.type === "Web Mapping Application" && (U(e, r) || C(r));
104
114
  }
105
- function S(r, e) {
115
+ function C(r) {
116
+ return [
117
+ "Cascade",
118
+ "MapTour",
119
+ "MapJournal",
120
+ "MapSeries",
121
+ "Shortlist",
122
+ "StoryMapCrowdsource",
123
+ "StorytellingSwipe"
124
+ ].some((t) => {
125
+ const i = `/apps/${t}/index.html`;
126
+ return decodeURIComponent(r.url)?.includes(i);
127
+ });
128
+ }
129
+ function U(r, e) {
106
130
  return r?.some((t) => e?.typeKeywords?.includes(t));
107
131
  }
108
132
  function u(r) {
@@ -269,7 +293,7 @@ function A(r) {
269
293
  return "default.png";
270
294
  }
271
295
  }
272
- function U(r, e, t) {
296
+ function P(r, e, t) {
273
297
  const { restUrl: i } = r, n = D(r), a = n ? `token=${n}` : "", c = `${i}/content/items/${e.id}`;
274
298
  if (e.thumbnail) {
275
299
  const o = e.thumbnailUrl;
@@ -289,7 +313,7 @@ function D(r) {
289
313
  );
290
314
  }
291
315
  const m = 5e3;
292
- class P extends h {
316
+ class L extends h {
293
317
  constructor() {
294
318
  super(...arguments), this.replacementId = null, this.replacementItemInRecycleBin = !1, this.hasInaccessibleReplacementItem = !1, this.thumbnailUrl = null, this.timer = void 0, this.t9n = I({ blocking: !0 }), this.primaryActionRef = w(), this.getItemDetailsUrl = ({ portal: e, itemId: t, redirect: i }) => {
295
319
  const n = e.restUrl;
@@ -304,7 +328,7 @@ class P extends h {
304
328
  this.properties = { item: 16, replacementItem: 16, redirectAction: 16, canRedirect: 16, redirectDisabled: 16, open: 16, redirectTimeRemaining: 16, itemId: 1, portal: 0, user: 0 };
305
329
  }
306
330
  static {
307
- this.styles = $;
331
+ this.styles = S;
308
332
  }
309
333
  async setFocus() {
310
334
  this.primaryActionRef.value?.setFocus();
@@ -331,7 +355,7 @@ class P extends h {
331
355
  this.cancelTimer(), this.redirectDisabled = this.canRedirect;
332
356
  }
333
357
  isItemRetired(e) {
334
- return C(e) || M(e);
358
+ return M(e) || T(e);
335
359
  }
336
360
  async initItem() {
337
361
  if (!this.itemId)
@@ -341,7 +365,7 @@ class P extends h {
341
365
  portal: t
342
366
  });
343
367
  this.item = await n?.load();
344
- const a = await y(e, t, {
368
+ const a = await f(e, t, {
345
369
  relationshipType: "ReplacementItem2Item",
346
370
  direction: "reverse"
347
371
  }, !0), c = a.data?.relatedItems?.[0];
@@ -352,7 +376,7 @@ class P extends h {
352
376
  }) : null;
353
377
  await s?.load(), this.replacementItem = s, this.hasInaccessibleReplacementItem = this.replacementItemInRecycleBin || !s && a.data?.aggregations?.total?.count > 0 && a.data?.relatedItems?.length === 0, this.arcgisPortalReplacementItemFetch.emit({
354
378
  replacementItem: this.hasInaccessibleReplacementItem ? {} : s || null
355
- }), this.replacementItem = s, this.thumbnailUrl = U(t, s ?? this.item), this.canRedirect = !!s && this.isItemRetired(n), this.replacementId = s?.id || null, this.canRedirect && this.setupTimer({
379
+ }), this.replacementItem = s, this.thumbnailUrl = P(t, s ?? this.item), this.canRedirect = !!s && this.isItemRetired(n), this.replacementId = s?.id || null, this.canRedirect && this.setupTimer({
356
380
  onComplete: () => i()
357
381
  }), this.open = !0;
358
382
  }
@@ -366,19 +390,19 @@ class P extends h {
366
390
  }
367
391
  renderCard(e) {
368
392
  const { canRedirect: t, t9n: i } = this;
369
- return l`<calcite-card thumbnail-position=inline-start><img slot=thumbnail class="thumbnail" src=${(this.thumbnailUrl || void 0) ?? f} @error=${async () => this.thumbnailUrl = u(e)}><span slot=heading class="replacement-card__title">${e.title}</span><span slot=description>${i.ownedBy?.replace("${owner}", e.owner || "") || ""}</span>${t && l`<calcite-link slot=footer-start icon-end=launch .href=${this.getItemDetailsUrl({ portal: this.portal, itemId: this.replacementId })} target=_blank>${i.moreDetails}</calcite-link>` || ""}</calcite-card>`;
393
+ return l`<calcite-card thumbnail-position=inline-start><img slot=thumbnail class="thumbnail" src=${(this.thumbnailUrl || void 0) ?? y} @error=${async () => this.thumbnailUrl = u(e)}><span slot=heading class="replacement-card__title">${e.title}</span><span slot=description>${i.ownedBy?.replace("${owner}", e.owner || "") || ""}</span>${t && l`<calcite-link slot=footer-start icon-end=launch .href=${this.getItemDetailsUrl({ portal: this.portal, itemId: this.replacementId })} target=_blank>${i.moreDetails}</calcite-link>` || ""}</calcite-card>`;
370
394
  }
371
395
  render() {
372
396
  const { open: e, t9n: t, item: i, replacementItem: n, canRedirect: a, redirectDisabled: c, redirectTimeRemaining: o } = this;
373
397
  if (!(!i || !this.isItemRetired(i)))
374
- return l`<calcite-dialog modal .open=${e} width=s kind=info outside-close-disabled escape-disabled close-disabled .heading=${this.getReplacementHeading()} @calciteDialogClose=${() => this.handleClose()}><div class="replacement-container"><div class="replacement-message">${R(this.getReplacementMessage()?.replace("${itemTitle}", this.item?.title || ""))}</div>${this.renderCard(a ? n : i)}</div>${a && !c && l`<calcite-button slot=footer-end appearance=outline-fill kind=neutral @click=${() => {
398
+ return l`<calcite-dialog modal .open=${e} width=s kind=info outside-close-disabled escape-disabled close-disabled .heading=${this.getReplacementHeading()} @calciteDialogClose=${() => this.handleClose()}><div class="replacement-container"><div class="replacement-message">${k(this.getReplacementMessage()?.replace("${itemTitle}", this.item?.title || ""))}</div>${this.renderCard(a ? n : i)}</div>${a && !c && l`<calcite-button slot=footer-end appearance=outline-fill kind=neutral @click=${() => {
375
399
  this.disableRedirect();
376
400
  }}>${t.cancel}</calcite-button>` || ""}<calcite-button .disabled=${c} slot=footer-end @click=${() => {
377
401
  this.cancelTimer(), a ? this.performRedirectAction() : this.viewItemDetailsPage();
378
- }} .iconEnd=${a ? void 0 : "launch"} ${k(this.primaryActionRef)}>${a ? t.redirect.replace("${seconds}", `${o}`) : t.moreDetails}</calcite-button></calcite-dialog>`;
402
+ }} .iconEnd=${a ? void 0 : "launch"} ${R(this.primaryActionRef)}>${a ? t.redirect.replace("${seconds}", `${o}`) : t.moreDetails}</calcite-button></calcite-dialog>`;
379
403
  }
380
404
  }
381
- g("arcgis-portal-replacement-item-redirect", P);
405
+ g("arcgis-portal-replacement-item-redirect", L);
382
406
  export {
383
- P as ArcgisPortalReplacementItemRedirect
407
+ L as ArcgisPortalReplacementItemRedirect
384
408
  };
@@ -1 +1 @@
1
- {"timestamp":"2026-02-26T19:41:42","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.5","typescriptVersion":"5.9.3"},"schemaVersion":"2.1.0","modules":[{"kind":"javascript-module","path":"index","sourcePath":"src/index.ts","declarations":[{"kind":"function","name":"getAssetPath","description":"Get a resolved path from where an asset can be loaded.","parameters":[{"name":"suffix","description":"The relative path for the asset.","type":{"text":"string"}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"setAssetPath","description":"Used to manually set the base path where package assets (like localization\nand icons) can be found.\n\nBy default, the package assets are loaded from\n`https://js.arcgis.com/<version>/<simplified-package-name>/`. We are hosting\nour assets on a CDN (Content Delivery Network) to ensure fast and reliable\naccess. It is CORS-enabled, so you can load the assets from any domain. This\nis the recommended way to load the assets and avoid bundling them with your\napplication.\n\nHowever, if you need to host the assets locally, you can copy them manually\nas part of your build process and use `setAssetPath` to customize where the\nbrowser will load the assets from.","parameters":[{"name":"path","description":"Relative or absolute path to the assets folder.","type":{"text":"URL | string","references":[{"name":"URL","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/URL","start":0,"end":3}]}}],"return":{"type":{"text":"void"}}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-banner","sourcePath":"src/components/portal-classification-banner/portal-classification-banner.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationBanner","customElement":true,"tagName":"arcgis-portal-classification-banner","pascalCaseName":"ArcgisPortalClassificationBanner","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"missingExistingClassification","description":"If the portal item has a classification previously","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"missing-existing-classification"},{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"validation-errors"},{"kind":"field","name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":{"text":"\"full\" | \"preview\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}]},"default":"\"full\"","attribute":"variant"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationBanner = document.querySelector(\"arcgis-portal-classification-banner\");\ndocument.body.append(arcgisPortalClassificationBanner);\nawait arcgisPortalClassificationBanner.componentOnReady();\nconsole.log(\"arcgis-portal-classification-banner is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"destroy","description":"Permanently destroy the component","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"missingExistingClassification"},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"validationErrors"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":{"text":"\"full\" | \"preview\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}]},"default":"\"full\"","fieldName":"variant"}],"importPath":"components/arcgis-portal-classification-banner"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-banner","declaration":{"name":"ArcgisPortalClassificationBanner"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-config","sourcePath":"src/components/portal-classification-config/portal-classification-config.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationConfig","customElement":true,"tagName":"arcgis-portal-classification-config","pascalCaseName":"ArcgisPortalClassificationConfig","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","docsTags":[{"name":"required"}],"type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":{"text":"Status","references":[{"name":"Status","module":"models/classificationModel","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/models/classificationModel/#Status","start":0,"end":6}],"values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}]},"default":"\"idle\"","readonly":true,"attribute":"status","reflects":true},{"kind":"field","name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"valid","reflects":true},{"kind":"field","name":"values","description":"The edited classification values of the portal item.","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]},"attribute":"values"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationConfig = document.querySelector(\"arcgis-portal-classification-config\");\ndocument.body.append(arcgisPortalClassificationConfig);\nawait arcgisPortalClassificationConfig.componentOnReady();\nconsole.log(\"arcgis-portal-classification-config is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"destroy","description":"Permanently destroy the component.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"resetForm","description":"Reset the form to the initial classification values from the portalItem","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"validateForm","description":"Validates the form and sets the formValidationErrors state.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":{"text":"\"loading\" | \"loaded\" | \"error\" | \"idle\"","values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}]},"default":"\"idle\"","fieldName":"status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"valid"},{"name":"values","description":"The edited classification values of the portal item.","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]},"fieldName":"values"}],"events":[{"name":"arcgisPropertyChange","description":"Event emitted when component property values status, values, or valid change.","type":{"text":"{ name: \"status\" | \"values\" | \"valid\"; }"}}],"importPath":"components/arcgis-portal-classification-config"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-config","declaration":{"name":"ArcgisPortalClassificationConfig"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-favorite","sourcePath":"src/components/portal-classification-favorite/portal-classification-favorite.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationFavorite","customElement":true,"tagName":"arcgis-portal-classification-favorite","pascalCaseName":"ArcgisPortalClassificationFavorite","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"attributeExpressionResults","type":{"text":"AttributeExpressionResults | undefined","references":[{"name":"AttributeExpressionResults","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#AttributeExpressionResults","start":0,"end":26}]}},{"kind":"field","name":"classificationValue","description":"Current classification value","type":{"text":"__esri.PortalItem[\"classification\"] | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"favoriteClassifications","description":"List of favorite classifications","type":{"text":"FavoriteClassification[]","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":0,"end":22}]}},{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"resetFavoriteClassification","type":{"text":"(favoriteClassifications: FavoriteClassification[]) => void","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":26,"end":48}]}},{"kind":"field","name":"selectedFavoriteClassificationName","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"selected-favorite-classification-name"},{"kind":"field","name":"updateClassificationData","type":{"text":"(selectedClassification: FavoriteClassification) => void","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":25,"end":47}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFavorite = document.querySelector(\"arcgis-portal-classification-favorite\");\ndocument.body.append(arcgisPortalClassificationFavorite);\nawait arcgisPortalClassificationFavorite.componentOnReady();\nconsole.log(\"arcgis-portal-classification-favorite is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"selected-favorite-classification-name","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"selectedFavoriteClassificationName"}],"importPath":"components/arcgis-portal-classification-favorite"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-favorite","declaration":{"name":"ArcgisPortalClassificationFavorite"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-form-element","sourcePath":"src/components/portal-classification-form-element/portal-classification-form-element.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationFormElement","customElement":true,"tagName":"arcgis-portal-classification-form-element","pascalCaseName":"ArcgisPortalClassificationFormElement","description":"A web component that renders form elements for a classification schema attribute.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"attribute","type":{"text":"ClassificationSchema[\"attributes\"][string]","references":[{"name":"ClassificationSchema","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationSchema","start":0,"end":20}]}},{"kind":"field","name":"attributeKey","type":{"text":"string","values":[{"type":"string"}]},"attribute":"attribute-key"},{"kind":"field","name":"isRequiredErrors","type":{"text":"Set<string>","references":[{"name":"Set","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set","start":0,"end":3}]}},{"kind":"field","name":"renderingInfo","type":{"text":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","references":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","start":0,"end":4},{"name":"NonNullable","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union","start":5,"end":16},{"name":"ReturnType","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype","start":17,"end":27},{"name":"AttributeExpressionResults","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#AttributeExpressionResults","start":28,"end":54}]}},{"kind":"field","name":"value","type":{"text":"unknown"}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFormElement = document.querySelector(\"arcgis-portal-classification-form-element\");\ndocument.body.append(arcgisPortalClassificationFormElement);\nawait arcgisPortalClassificationFormElement.componentOnReady();\nconsole.log(\"arcgis-portal-classification-form-element is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"attribute-key","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"attributeKey"}],"events":[{"name":"arcgisAttributeValueChange","description":"The attribute value has changed.","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-portal-classification-form-element"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-form-element","declaration":{"name":"ArcgisPortalClassificationFormElement"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-extent-picker","sourcePath":"src/components/portal-extent-picker/portal-extent-picker.tsx","declarations":[{"kind":"class","name":"ArcgisPortalExtentPicker","customElement":true,"tagName":"arcgis-portal-extent-picker","pascalCaseName":"ArcgisPortalExtentPicker","description":"To select extent value from a map or by entering coordinates.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"active","description":"if true, open the dialog","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"active"},{"kind":"field","name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"content-only"},{"kind":"field","name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"extent-service"},{"kind":"field","name":"extentValue","description":"current extent value","type":{"text":"ExtentValue | undefined","references":[{"name":"ExtentValue","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentValue","start":0,"end":11}]}},{"kind":"field","name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-area"},{"kind":"field","name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"portal","description":"Optional; Portal instance","type":{"text":"Portal | undefined","references":[{"name":"default","module":"portal/Portal.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/Portal/","start":0,"end":6}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getExtent","description":"Returns the current extent value","return":{"type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}},"signature":"(): ExtentObj"}],"attributes":[{"name":"active","description":"if true, open the dialog","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"active"},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"contentOnly"},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"extentService"},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isArea"},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"}],"events":[{"name":"arcgisExtentPickerChange","description":"Emitted when the extent value changes","type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}},{"name":"arcgisExtentPickerClose","description":"Emitted when the dialog is closed","type":{"text":"void"}},{"name":"arcgisExtentPickerSave","description":"Emitted when the save button is clicked","type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}}],"importPath":"components/arcgis-portal-extent-picker"},{"kind":"interface","name":"ExtentValue","members":[{"kind":"field","name":"ymin","type":{"text":"string"}},{"kind":"field","name":"ymax","type":{"text":"string"}},{"kind":"field","name":"xmin","type":{"text":"string"}},{"kind":"field","name":"xmax","type":{"text":"string"}}]},{"kind":"interface","name":"ExtentObj","members":[{"kind":"field","name":"extent","type":{"text":"ExtentValue","references":[{"name":"ExtentValue","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentValue","start":0,"end":11}]}}]}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-extent-picker","declaration":{"name":"ArcgisPortalExtentPicker"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-field-delete","sourcePath":"src/components/portal-field-delete/portal-field-delete.tsx","declarations":[{"kind":"class","name":"ArcgisPortalFieldDelete","customElement":true,"tagName":"arcgis-portal-field-delete","pascalCaseName":"ArcgisPortalFieldDelete","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"config","description":"For documentation links.","type":{"text":"IConfig | undefined","references":[{"name":"IConfig","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#IConfig","start":0,"end":7}]}},{"kind":"field","name":"fieldNames","description":"The fields to delete.","type":{"text":"string[] | undefined"}},{"kind":"field","name":"layer","description":"The layer whose field is being deleted.","type":{"text":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7},{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":22,"end":29}]}},{"kind":"field","name":"mapView","description":"The MapView instance.","type":{"text":"__esri.MapView | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":{"text":"FieldDeleteOptions | undefined","references":[{"name":"FieldDeleteOptions","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#FieldDeleteOptions","start":0,"end":18}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalFieldDelete = document.querySelector(\"arcgis-portal-field-delete\");\ndocument.body.append(arcgisPortalFieldDelete);\nawait arcgisPortalFieldDelete.componentOnReady();\nconsole.log(\"arcgis-portal-field-delete is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"events":[{"name":"arcgisBeforeDelete","description":"Emitted when the user initiates the delete process.","type":{"text":"void"}},{"name":"arcgisBeforeModalClose","description":"Emitted before the modal is closed if the alert is handled in consumer.","type":{"text":"string"}},{"name":"arcgisClose","description":"Emitted when the component is closed for any reason.","type":{"text":"void"}},{"name":"arcgisFieldsDeleted","description":"Emitted when the field is successfully deleted.","type":{"text":"void"}}],"importPath":"components/arcgis-portal-field-delete"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-field-delete","declaration":{"name":"ArcgisPortalFieldDelete"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-replacement-item-redirect","sourcePath":"src/components/portal-replacement-item-redirect/portal-replacement-item-redirect.tsx","declarations":[{"kind":"class","name":"ArcgisPortalReplacementItemRedirect","customElement":true,"tagName":"arcgis-portal-replacement-item-redirect","pascalCaseName":"ArcgisPortalReplacementItemRedirect","description":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":{"text":"string","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"portal","description":"The portal instance","type":{"text":"Portal","references":[{"name":"default","module":"portal/Portal","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/Portal/","start":0,"end":6}]}},{"kind":"field","name":"user","description":"The user. Defaults to `portal.user` if omitted","type":{"text":"PortalUser | undefined","references":[{"name":"default","module":"portal/PortalUser","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/PortalUser/","start":0,"end":10}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalReplacementItemRedirect = document.querySelector(\"arcgis-portal-replacement-item-redirect\");\ndocument.body.append(arcgisPortalReplacementItemRedirect);\nawait arcgisPortalReplacementItemRedirect.componentOnReady();\nconsole.log(\"arcgis-portal-replacement-item-redirect is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"setFocus","description":"Set focus on the component","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":{"text":"{ replacementItem: PortalItem | object | null; }","references":[{"name":"default","module":"portal/PortalItem.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/PortalItem/","start":19,"end":29}]}}],"importPath":"components/arcgis-portal-replacement-item-redirect"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-replacement-item-redirect","declaration":{"name":"ArcgisPortalReplacementItemRedirect"}}]},{"kind":"javascript-module","path":"models/classificationModel","sourcePath":"src/models/classificationModel.ts","declarations":[{"kind":"interface","name":"Status","type":{"text":"\"error\" | \"idle\" | \"loaded\" | \"loading\""}}]},{"kind":"javascript-module","path":"types/classification","sourcePath":"src/types/classification.ts","declarations":[{"kind":"interface","name":"ClassificationSchema","description":"The classification schema defined on the portal.","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n attributeCategories?: string[];\n attributes: Record<string, ClassificationAttributesValues>;\n bannerExpression?: string;\n classificationMetadata: ClassificationMetadata;\n grammarVersion: string;\n layouts: Record<string, DefaultLayout>;\n name: string;\n selectionTextExpression?: string;\n version: string;\n helpUrl?: string;\n helpTooltip?: string;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":54,"end":60},{"name":"ClassificationAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationAttributesValues","start":69,"end":99},{"name":"ClassificationMetadata","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationMetadata","start":161,"end":183},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":226,"end":232},{"name":"DefaultLayout","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#DefaultLayout","start":241,"end":254}]}]}]},{"kind":"interface","name":"FavoriteClassification","members":[{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"classification","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}}]},{"kind":"interface","name":"AttributeExpressionResults","description":"State object that is used to store arcade expression results from expressions\nthat are evaluated for each attribute in the classification schema.","supertypes":[{"name":"Map","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map","typeArguments":[{"text":"string"},{"text":"{\n enabled: boolean;\n valueExpressionResult: Record<string, ValueOption[]> | ValueOption[] | null;\n attributeValidationResult: string | null;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":51,"end":57},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":66,"end":77},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":83,"end":94}]}]}]},{"kind":"interface","name":"ClassificationMetadata","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n primaryAttribute: string;\n defaultValue: string;\n classificationValueProperties: ClassificationType[];\n}","references":[{"name":"ClassificationType","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationType","start":93,"end":111}]}]}]},{"kind":"interface","name":"ValueOption","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n label: string;\n value: string;\n}"}]}]},{"kind":"interface","name":"ClassificationAttributesValues","type":{"text":"CheckboxAttributesValues | DateAttributesValues | MultiGroupedSelectNestedAttributesValues | MultiSelectAttributesValues | SingleSelectAttributesValues | TextAttributesValues","references":[{"name":"CheckboxAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#CheckboxAttributesValues","start":0,"end":24},{"name":"DateAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#DateAttributesValues","start":27,"end":47},{"name":"MultiGroupedSelectNestedAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#MultiGroupedSelectNestedAttributesValues","start":50,"end":90},{"name":"MultiSelectAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#MultiSelectAttributesValues","start":93,"end":120},{"name":"SingleSelectAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#SingleSelectAttributesValues","start":123,"end":151},{"name":"TextAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#TextAttributesValues","start":154,"end":174}]}},{"kind":"interface","name":"DefaultLayout","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{ layoutElements: Record<string, ClassificationLayoutElements>; }","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":18,"end":24},{"name":"ClassificationLayoutElements","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationLayoutElements","start":33,"end":61}]}]}]},{"kind":"interface","name":"ClassificationType","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n [index: string]: string | undefined;\n value: string;\n acronym?: string;\n backgroundColor?: string;\n textColor?: string;\n}"}]}]},{"kind":"interface","name":"SingleSelectAttributesValues","description":"Create narrowed types for each of the possible UI elements.\nNever is used to inform users that the property will never be defined\nwhen uiElement is a specific value.","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"single-select\";\n validValues?: ValueOption[];\n validValuesMap?: never;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":52,"end":63}]}]}]},{"kind":"interface","name":"MultiSelectAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"multi-select\";\n validValues?: ValueOption[];\n validValuesMap?: never;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":51,"end":62}]}]}]},{"kind":"interface","name":"MultiGroupedSelectNestedAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"multi-grouped-select-nested\";\n validValuesMap: Record<string, ValueOption[]>;\n validValues?: never;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":68,"end":74},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":83,"end":94}]}]}]},{"kind":"interface","name":"CheckboxAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"checkbox\";\n type: \"boolean\";\n validValues?: never;\n validValuesMap?: never;\n defaultDateTimeline?: never;\n defaultDateTimelineUnits?: never;\n}"}]}]},{"kind":"interface","name":"DateAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"date\";\n type: \"date\";\n defaultDateTimeline: number;\n defaultDateTimelineUnits: string;\n validValues?: never;\n validValuesMap?: never;\n}"}]}]},{"kind":"interface","name":"TextAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"text\";\n type: \"string\";\n validValues?: never;\n validValuesMap?: never;\n defaultDateTimeline?: never;\n defaultDateTimelineUnits?: never;\n}"}]}]},{"kind":"interface","name":"ClassificationLayoutElements","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{ formDisplayOrder: number; }"}]}]},{"kind":"interface","name":"BaseAttributesValues","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n label: string;\n description?: string;\n type: string;\n uiElement: string;\n isRequired?: boolean;\n defaultValue?: string;\n defaultDateTimeline?: number;\n defaultDateTimelineUnits?: string;\n validValues?: ValueOption[];\n validValuesMap?: Record<string, ValueOption[]>;\n isAttributeEnabled?: string;\n valueExpression?: string;\n attributeValidation?: string;\n arcadeResultLookup?: Record<string, ValueOption[]>;\n attributeCategory?: string;\n selectionDisplayOrder?: number;\n selectionDisplayLabel?: string;\n bannerOrder?: number;\n bannerLabel?: string;\n labelDelimiter?: string;\n labelTooltip?: string;\n valueDelimiter?: string;\n attributeDelimiter?: string;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":232,"end":243},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":268,"end":274},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":283,"end":294},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":421,"end":427},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":436,"end":447}]}]}]}]},{"kind":"javascript-module","path":"utils/fieldAddDelete","sourcePath":"src/utils/fieldAddDelete.ts","declarations":[{"kind":"function","name":"canAddField","parameters":[{"name":"layer","type":{"text":"any"}}],"return":{"type":{"text":"Promise<boolean>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}}},{"kind":"function","name":"canDeleteField","parameters":[{"name":"mapView","type":{"text":"__esri.MapView | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"name":"layer","type":{"text":"any"}},{"name":"field","type":{"text":"__esri.Field","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"name":"options","optional":true,"type":{"text":"FieldDeleteOptions","references":[{"name":"FieldDeleteOptions","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#FieldDeleteOptions","start":0,"end":18}]}}],"return":{"type":{"text":"Promise<boolean>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}}}]},{"kind":"javascript-module","path":"utils/types","sourcePath":"src/utils/types.ts","declarations":[{"kind":"interface","name":"IConfig","description":"Configuration","members":[{"kind":"field","name":"arcadeEditor","type":{"text":"string | undefined"}},{"kind":"field","name":"jsapiUrl","type":{"text":"string | undefined"}},{"kind":"field","name":"helpMap","type":{"text":"Record<string, string> | undefined","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}},{"kind":"field","name":"helpBase","type":{"text":"string | undefined"}}]},{"kind":"interface","name":"FieldDeleteOptions","members":[{"kind":"field","name":"item","type":{"text":"__esri.PortalItem","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"portal","type":{"text":"__esri.Portal","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"handleCloseOnConsumer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignorePopupTemplate","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerRenderer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerFeatureReduction","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerLabelingInfo","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerDefinitionExpression","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreItemRenderer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreItemFeatureReduction","type":{"text":"boolean | undefined"}},{"kind":"field","name":"userItemInfo","type":{"text":"UserItemInfo | undefined","references":[{"name":"UserItemInfo","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#UserItemInfo","start":0,"end":12}]}}]},{"kind":"interface","name":"UserItemInfo","members":[{"kind":"field","name":"itemData","type":{"text":"any"}},{"kind":"field","name":"userGroups","type":{"text":"any[]"}},{"kind":"field","name":"itemGroups","type":{"text":"any[]"}},{"kind":"field","name":"relatedItems","type":{"text":"any[]"}},{"kind":"field","name":"fieldGroups","type":{"text":"any[]"}}]}]}]}
1
+ {"timestamp":"2026-02-27T19:19:57","compiler":{"name":"@arcgis/lumina-compiler","version":"5.0.6","typescriptVersion":"5.9.3"},"schemaVersion":"2.1.0","modules":[{"kind":"javascript-module","path":"index","sourcePath":"src/index.ts","declarations":[{"kind":"function","name":"getAssetPath","description":"Get a resolved path from where an asset can be loaded.","parameters":[{"name":"suffix","description":"The relative path for the asset.","type":{"text":"string"}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"setAssetPath","description":"Used to manually set the base path where package assets (like localization\nand icons) can be found.\n\nBy default, the package assets are loaded from\n`https://js.arcgis.com/<version>/<simplified-package-name>/`. We are hosting\nour assets on a CDN (Content Delivery Network) to ensure fast and reliable\naccess. It is CORS-enabled, so you can load the assets from any domain. This\nis the recommended way to load the assets and avoid bundling them with your\napplication.\n\nHowever, if you need to host the assets locally, you can copy them manually\nas part of your build process and use `setAssetPath` to customize where the\nbrowser will load the assets from.","parameters":[{"name":"path","description":"Relative or absolute path to the assets folder.","type":{"text":"URL | string","references":[{"name":"URL","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/URL","start":0,"end":3}]}}],"return":{"type":{"text":"void"}}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-banner","sourcePath":"src/components/portal-classification-banner/portal-classification-banner.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationBanner","customElement":true,"tagName":"arcgis-portal-classification-banner","pascalCaseName":"ArcgisPortalClassificationBanner","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"missingExistingClassification","description":"If the portal item has a classification previously","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"missing-existing-classification"},{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"validation-errors"},{"kind":"field","name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":{"text":"\"full\" | \"preview\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}]},"default":"\"full\"","attribute":"variant"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationBanner = document.querySelector(\"arcgis-portal-classification-banner\");\ndocument.body.append(arcgisPortalClassificationBanner);\nawait arcgisPortalClassificationBanner.componentOnReady();\nconsole.log(\"arcgis-portal-classification-banner is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"destroy","description":"Permanently destroy the component","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"missingExistingClassification"},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"validationErrors"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":{"text":"\"full\" | \"preview\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}]},"default":"\"full\"","fieldName":"variant"}],"importPath":"components/arcgis-portal-classification-banner"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-banner","declaration":{"name":"ArcgisPortalClassificationBanner"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-config","sourcePath":"src/components/portal-classification-config/portal-classification-config.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationConfig","customElement":true,"tagName":"arcgis-portal-classification-config","pascalCaseName":"ArcgisPortalClassificationConfig","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","docsTags":[{"name":"required"}],"type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":{"text":"Status","references":[{"name":"Status","module":"models/classificationModel","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/models/classificationModel/#Status","start":0,"end":6}],"values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}]},"default":"\"idle\"","readonly":true,"attribute":"status","reflects":true},{"kind":"field","name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"valid","reflects":true},{"kind":"field","name":"values","description":"The edited classification values of the portal item.","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]},"attribute":"values"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationConfig = document.querySelector(\"arcgis-portal-classification-config\");\ndocument.body.append(arcgisPortalClassificationConfig);\nawait arcgisPortalClassificationConfig.componentOnReady();\nconsole.log(\"arcgis-portal-classification-config is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"destroy","description":"Permanently destroy the component.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"resetForm","description":"Reset the form to the initial classification values from the portalItem","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"validateForm","description":"Validates the form and sets the formValidationErrors state.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":{"text":"\"loading\" | \"loaded\" | \"error\" | \"idle\"","values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}]},"default":"\"idle\"","fieldName":"status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"valid"},{"name":"values","description":"The edited classification values of the portal item.","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]},"fieldName":"values"}],"events":[{"name":"arcgisPropertyChange","description":"Event emitted when component property values status, values, or valid change.","type":{"text":"{ name: \"status\" | \"values\" | \"valid\"; }"}}],"importPath":"components/arcgis-portal-classification-config"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-config","declaration":{"name":"ArcgisPortalClassificationConfig"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-favorite","sourcePath":"src/components/portal-classification-favorite/portal-classification-favorite.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationFavorite","customElement":true,"tagName":"arcgis-portal-classification-favorite","pascalCaseName":"ArcgisPortalClassificationFavorite","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"attributeExpressionResults","type":{"text":"AttributeExpressionResults | undefined","references":[{"name":"AttributeExpressionResults","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#AttributeExpressionResults","start":0,"end":26}]}},{"kind":"field","name":"classificationValue","description":"Current classification value","type":{"text":"__esri.PortalItem[\"classification\"] | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"favoriteClassifications","description":"List of favorite classifications","type":{"text":"FavoriteClassification[]","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":0,"end":22}]}},{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"resetFavoriteClassification","type":{"text":"(favoriteClassifications: FavoriteClassification[]) => void","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":26,"end":48}]}},{"kind":"field","name":"selectedFavoriteClassificationName","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"selected-favorite-classification-name"},{"kind":"field","name":"updateClassificationData","type":{"text":"(selectedClassification: FavoriteClassification) => void","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":25,"end":47}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFavorite = document.querySelector(\"arcgis-portal-classification-favorite\");\ndocument.body.append(arcgisPortalClassificationFavorite);\nawait arcgisPortalClassificationFavorite.componentOnReady();\nconsole.log(\"arcgis-portal-classification-favorite is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"selected-favorite-classification-name","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"selectedFavoriteClassificationName"}],"importPath":"components/arcgis-portal-classification-favorite"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-favorite","declaration":{"name":"ArcgisPortalClassificationFavorite"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-form-element","sourcePath":"src/components/portal-classification-form-element/portal-classification-form-element.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationFormElement","customElement":true,"tagName":"arcgis-portal-classification-form-element","pascalCaseName":"ArcgisPortalClassificationFormElement","description":"A web component that renders form elements for a classification schema attribute.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"attribute","type":{"text":"ClassificationSchema[\"attributes\"][string]","references":[{"name":"ClassificationSchema","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationSchema","start":0,"end":20}]}},{"kind":"field","name":"attributeKey","type":{"text":"string","values":[{"type":"string"}]},"attribute":"attribute-key"},{"kind":"field","name":"isRequiredErrors","type":{"text":"Set<string>","references":[{"name":"Set","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set","start":0,"end":3}]}},{"kind":"field","name":"renderingInfo","type":{"text":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","references":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","start":0,"end":4},{"name":"NonNullable","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union","start":5,"end":16},{"name":"ReturnType","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype","start":17,"end":27},{"name":"AttributeExpressionResults","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#AttributeExpressionResults","start":28,"end":54}]}},{"kind":"field","name":"value","type":{"text":"unknown"}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFormElement = document.querySelector(\"arcgis-portal-classification-form-element\");\ndocument.body.append(arcgisPortalClassificationFormElement);\nawait arcgisPortalClassificationFormElement.componentOnReady();\nconsole.log(\"arcgis-portal-classification-form-element is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"attribute-key","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"attributeKey"}],"events":[{"name":"arcgisAttributeValueChange","description":"The attribute value has changed.","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-portal-classification-form-element"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-form-element","declaration":{"name":"ArcgisPortalClassificationFormElement"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-extent-picker","sourcePath":"src/components/portal-extent-picker/portal-extent-picker.tsx","declarations":[{"kind":"class","name":"ArcgisPortalExtentPicker","customElement":true,"tagName":"arcgis-portal-extent-picker","pascalCaseName":"ArcgisPortalExtentPicker","description":"To select extent value from a map or by entering coordinates.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"active","description":"if true, open the dialog","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"active"},{"kind":"field","name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"content-only"},{"kind":"field","name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"extent-service"},{"kind":"field","name":"extentValue","description":"current extent value","type":{"text":"ExtentValue | undefined","references":[{"name":"ExtentValue","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentValue","start":0,"end":11}]}},{"kind":"field","name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-area"},{"kind":"field","name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"portal","description":"Optional; Portal instance","type":{"text":"Portal | undefined","references":[{"name":"default","module":"portal/Portal.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/Portal/","start":0,"end":6}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getExtent","description":"Returns the current extent value","return":{"type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}},"signature":"(): ExtentObj"}],"attributes":[{"name":"active","description":"if true, open the dialog","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"active"},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"contentOnly"},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"extentService"},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isArea"},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"}],"events":[{"name":"arcgisExtentPickerChange","description":"Emitted when the extent value changes","type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}},{"name":"arcgisExtentPickerClose","description":"Emitted when the dialog is closed","type":{"text":"void"}},{"name":"arcgisExtentPickerSave","description":"Emitted when the save button is clicked","type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}}],"importPath":"components/arcgis-portal-extent-picker"},{"kind":"interface","name":"ExtentValue","members":[{"kind":"field","name":"ymin","type":{"text":"string"}},{"kind":"field","name":"ymax","type":{"text":"string"}},{"kind":"field","name":"xmin","type":{"text":"string"}},{"kind":"field","name":"xmax","type":{"text":"string"}}]},{"kind":"interface","name":"ExtentObj","members":[{"kind":"field","name":"extent","type":{"text":"ExtentValue","references":[{"name":"ExtentValue","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentValue","start":0,"end":11}]}}]}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-extent-picker","declaration":{"name":"ArcgisPortalExtentPicker"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-field-delete","sourcePath":"src/components/portal-field-delete/portal-field-delete.tsx","declarations":[{"kind":"class","name":"ArcgisPortalFieldDelete","customElement":true,"tagName":"arcgis-portal-field-delete","pascalCaseName":"ArcgisPortalFieldDelete","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"config","description":"For documentation links.","type":{"text":"IConfig | undefined","references":[{"name":"IConfig","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#IConfig","start":0,"end":7}]}},{"kind":"field","name":"fieldNames","description":"The fields to delete.","type":{"text":"string[] | undefined"}},{"kind":"field","name":"layer","description":"The layer whose field is being deleted.","type":{"text":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7},{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":22,"end":29}]}},{"kind":"field","name":"mapView","description":"The MapView instance.","type":{"text":"__esri.MapView | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":{"text":"FieldDeleteOptions | undefined","references":[{"name":"FieldDeleteOptions","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#FieldDeleteOptions","start":0,"end":18}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalFieldDelete = document.querySelector(\"arcgis-portal-field-delete\");\ndocument.body.append(arcgisPortalFieldDelete);\nawait arcgisPortalFieldDelete.componentOnReady();\nconsole.log(\"arcgis-portal-field-delete is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"events":[{"name":"arcgisBeforeDelete","description":"Emitted when the user initiates the delete process.","type":{"text":"void"}},{"name":"arcgisBeforeModalClose","description":"Emitted before the modal is closed if the alert is handled in consumer.","type":{"text":"string"}},{"name":"arcgisClose","description":"Emitted when the component is closed for any reason.","type":{"text":"void"}},{"name":"arcgisFieldsDeleted","description":"Emitted when the field is successfully deleted.","type":{"text":"void"}}],"importPath":"components/arcgis-portal-field-delete"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-field-delete","declaration":{"name":"ArcgisPortalFieldDelete"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-replacement-item-redirect","sourcePath":"src/components/portal-replacement-item-redirect/portal-replacement-item-redirect.tsx","declarations":[{"kind":"class","name":"ArcgisPortalReplacementItemRedirect","customElement":true,"tagName":"arcgis-portal-replacement-item-redirect","pascalCaseName":"ArcgisPortalReplacementItemRedirect","description":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":{"text":"string","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"portal","description":"The portal instance","type":{"text":"Portal","references":[{"name":"default","module":"portal/Portal","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/Portal/","start":0,"end":6}]}},{"kind":"field","name":"user","description":"The user. Defaults to `portal.user` if omitted","type":{"text":"PortalUser | undefined","references":[{"name":"default","module":"portal/PortalUser","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/PortalUser/","start":0,"end":10}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalReplacementItemRedirect = document.querySelector(\"arcgis-portal-replacement-item-redirect\");\ndocument.body.append(arcgisPortalReplacementItemRedirect);\nawait arcgisPortalReplacementItemRedirect.componentOnReady();\nconsole.log(\"arcgis-portal-replacement-item-redirect is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"setFocus","description":"Set focus on the component","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":{"text":"{ replacementItem: PortalItem | object | null; }","references":[{"name":"default","module":"portal/PortalItem.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/PortalItem/","start":19,"end":29}]}}],"importPath":"components/arcgis-portal-replacement-item-redirect"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-replacement-item-redirect","declaration":{"name":"ArcgisPortalReplacementItemRedirect"}}]},{"kind":"javascript-module","path":"models/classificationModel","sourcePath":"src/models/classificationModel.ts","declarations":[{"kind":"interface","name":"Status","type":{"text":"\"error\" | \"idle\" | \"loaded\" | \"loading\""}}]},{"kind":"javascript-module","path":"types/classification","sourcePath":"src/types/classification.ts","declarations":[{"kind":"interface","name":"ClassificationSchema","description":"The classification schema defined on the portal.","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n attributeCategories?: string[];\n attributes: Record<string, ClassificationAttributesValues>;\n bannerExpression?: string;\n classificationMetadata: ClassificationMetadata;\n grammarVersion: string;\n layouts: Record<string, DefaultLayout>;\n name: string;\n selectionTextExpression?: string;\n version: string;\n helpUrl?: string;\n helpTooltip?: string;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":54,"end":60},{"name":"ClassificationAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationAttributesValues","start":69,"end":99},{"name":"ClassificationMetadata","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationMetadata","start":161,"end":183},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":226,"end":232},{"name":"DefaultLayout","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#DefaultLayout","start":241,"end":254}]}]}]},{"kind":"interface","name":"FavoriteClassification","members":[{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"classification","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}}]},{"kind":"interface","name":"AttributeExpressionResults","description":"State object that is used to store arcade expression results from expressions\nthat are evaluated for each attribute in the classification schema.","supertypes":[{"name":"Map","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map","typeArguments":[{"text":"string"},{"text":"{\n enabled: boolean;\n valueExpressionResult: Record<string, ValueOption[]> | ValueOption[] | null;\n attributeValidationResult: string | null;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":51,"end":57},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":66,"end":77},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":83,"end":94}]}]}]},{"kind":"interface","name":"ClassificationMetadata","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n primaryAttribute: string;\n defaultValue: string;\n classificationValueProperties: ClassificationType[];\n}","references":[{"name":"ClassificationType","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationType","start":93,"end":111}]}]}]},{"kind":"interface","name":"ValueOption","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n label: string;\n value: string;\n}"}]}]},{"kind":"interface","name":"ClassificationAttributesValues","type":{"text":"CheckboxAttributesValues | DateAttributesValues | MultiGroupedSelectNestedAttributesValues | MultiSelectAttributesValues | SingleSelectAttributesValues | TextAttributesValues","references":[{"name":"CheckboxAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#CheckboxAttributesValues","start":0,"end":24},{"name":"DateAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#DateAttributesValues","start":27,"end":47},{"name":"MultiGroupedSelectNestedAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#MultiGroupedSelectNestedAttributesValues","start":50,"end":90},{"name":"MultiSelectAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#MultiSelectAttributesValues","start":93,"end":120},{"name":"SingleSelectAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#SingleSelectAttributesValues","start":123,"end":151},{"name":"TextAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#TextAttributesValues","start":154,"end":174}]}},{"kind":"interface","name":"DefaultLayout","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{ layoutElements: Record<string, ClassificationLayoutElements>; }","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":18,"end":24},{"name":"ClassificationLayoutElements","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationLayoutElements","start":33,"end":61}]}]}]},{"kind":"interface","name":"ClassificationType","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n [index: string]: string | undefined;\n value: string;\n acronym?: string;\n backgroundColor?: string;\n textColor?: string;\n}"}]}]},{"kind":"interface","name":"SingleSelectAttributesValues","description":"Create narrowed types for each of the possible UI elements.\nNever is used to inform users that the property will never be defined\nwhen uiElement is a specific value.","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"single-select\";\n validValues?: ValueOption[];\n validValuesMap?: never;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":52,"end":63}]}]}]},{"kind":"interface","name":"MultiSelectAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"multi-select\";\n validValues?: ValueOption[];\n validValuesMap?: never;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":51,"end":62}]}]}]},{"kind":"interface","name":"MultiGroupedSelectNestedAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"multi-grouped-select-nested\";\n validValuesMap: Record<string, ValueOption[]>;\n validValues?: never;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":68,"end":74},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":83,"end":94}]}]}]},{"kind":"interface","name":"CheckboxAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"checkbox\";\n type: \"boolean\";\n validValues?: never;\n validValuesMap?: never;\n defaultDateTimeline?: never;\n defaultDateTimelineUnits?: never;\n}"}]}]},{"kind":"interface","name":"DateAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"date\";\n type: \"date\";\n defaultDateTimeline: number;\n defaultDateTimelineUnits: string;\n validValues?: never;\n validValuesMap?: never;\n}"}]}]},{"kind":"interface","name":"TextAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"text\";\n type: \"string\";\n validValues?: never;\n validValuesMap?: never;\n defaultDateTimeline?: never;\n defaultDateTimelineUnits?: never;\n}"}]}]},{"kind":"interface","name":"ClassificationLayoutElements","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{ formDisplayOrder: number; }"}]}]},{"kind":"interface","name":"BaseAttributesValues","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n label: string;\n description?: string;\n type: string;\n uiElement: string;\n isRequired?: boolean;\n defaultValue?: string;\n defaultDateTimeline?: number;\n defaultDateTimelineUnits?: string;\n validValues?: ValueOption[];\n validValuesMap?: Record<string, ValueOption[]>;\n isAttributeEnabled?: string;\n valueExpression?: string;\n attributeValidation?: string;\n arcadeResultLookup?: Record<string, ValueOption[]>;\n attributeCategory?: string;\n selectionDisplayOrder?: number;\n selectionDisplayLabel?: string;\n bannerOrder?: number;\n bannerLabel?: string;\n labelDelimiter?: string;\n labelTooltip?: string;\n valueDelimiter?: string;\n attributeDelimiter?: string;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":232,"end":243},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":268,"end":274},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":283,"end":294},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":421,"end":427},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":436,"end":447}]}]}]}]},{"kind":"javascript-module","path":"utils/fieldAddDelete","sourcePath":"src/utils/fieldAddDelete.ts","declarations":[{"kind":"function","name":"canAddField","parameters":[{"name":"layer","type":{"text":"any"}}],"return":{"type":{"text":"Promise<boolean>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}}},{"kind":"function","name":"canDeleteField","parameters":[{"name":"mapView","type":{"text":"__esri.MapView | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"name":"layer","type":{"text":"any"}},{"name":"field","type":{"text":"__esri.Field","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"name":"options","optional":true,"type":{"text":"FieldDeleteOptions","references":[{"name":"FieldDeleteOptions","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#FieldDeleteOptions","start":0,"end":18}]}}],"return":{"type":{"text":"Promise<boolean>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}}}]},{"kind":"javascript-module","path":"utils/types","sourcePath":"src/utils/types.ts","declarations":[{"kind":"interface","name":"IConfig","description":"Configuration","members":[{"kind":"field","name":"arcadeEditor","type":{"text":"string | undefined"}},{"kind":"field","name":"jsapiUrl","type":{"text":"string | undefined"}},{"kind":"field","name":"helpMap","type":{"text":"Record<string, string> | undefined","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}},{"kind":"field","name":"helpBase","type":{"text":"string | undefined"}}]},{"kind":"interface","name":"FieldDeleteOptions","members":[{"kind":"field","name":"item","type":{"text":"__esri.PortalItem","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"portal","type":{"text":"__esri.Portal","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"handleCloseOnConsumer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignorePopupTemplate","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerRenderer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerFeatureReduction","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerLabelingInfo","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerDefinitionExpression","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreItemRenderer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreItemFeatureReduction","type":{"text":"boolean | undefined"}},{"kind":"field","name":"userItemInfo","type":{"text":"UserItemInfo | undefined","references":[{"name":"UserItemInfo","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#UserItemInfo","start":0,"end":12}]}}]},{"kind":"interface","name":"UserItemInfo","members":[{"kind":"field","name":"itemData","type":{"text":"any"}},{"kind":"field","name":"userGroups","type":{"text":"any[]"}},{"kind":"field","name":"itemGroups","type":{"text":"any[]"}},{"kind":"field","name":"relatedItems","type":{"text":"any[]"}},{"kind":"field","name":"fieldGroups","type":{"text":"any[]"}}]}]}]}