@arcgis/portal-components 5.0.0-next.14 → 5.0.0-next.141

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 (214) hide show
  1. package/dist/cdn/2QNNOF35.js +4 -0
  2. package/dist/cdn/3PW365TA.js +4 -0
  3. package/dist/cdn/3TWP2RZQ.js +4 -0
  4. package/dist/cdn/{YBZHLIFY.js → 445AZMC5.js} +1 -1
  5. package/dist/cdn/DA4DAZQZ.js +4 -0
  6. package/dist/cdn/FCSBMJLE.js +4 -0
  7. package/dist/cdn/{E2UQO7Z7.js → FECCDTEG.js} +2 -2
  8. package/dist/cdn/FHB4YXY5.js +6 -0
  9. package/dist/cdn/LDGKDN4B.js +4 -0
  10. package/dist/cdn/LJFF4SBX.js +4 -0
  11. package/dist/cdn/MUZZAYF2.js +4 -0
  12. package/dist/cdn/PO7P4R6V.js +4 -0
  13. package/dist/cdn/PUHQ4XQ5.js +4 -0
  14. package/dist/cdn/SXN747Q7.js +4 -0
  15. package/dist/cdn/THZEVQB5.js +4 -0
  16. package/dist/cdn/XINMYRZV.js +4 -0
  17. package/dist/cdn/{HJFZ3UZA.js → ZX56HBSP.js} +2 -2
  18. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ar.json +1 -1
  19. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.bg.json +1 -1
  20. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.bs.json +1 -1
  21. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ca.json +1 -1
  22. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.cs.json +1 -1
  23. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.da.json +1 -1
  24. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.de.json +1 -1
  25. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.el.json +1 -1
  26. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.es.json +1 -1
  27. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.et.json +1 -1
  28. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.fi.json +1 -1
  29. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.fr.json +1 -1
  30. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.he.json +1 -1
  31. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.hr.json +1 -1
  32. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.hu.json +1 -1
  33. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.id.json +1 -1
  34. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.it.json +1 -1
  35. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ja.json +1 -1
  36. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ko.json +1 -1
  37. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.lt.json +1 -1
  38. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.lv.json +1 -1
  39. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.nl.json +1 -1
  40. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.no.json +1 -1
  41. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pl.json +1 -1
  42. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pt-BR.json +1 -1
  43. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.pt-PT.json +1 -1
  44. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ro.json +1 -1
  45. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.ru.json +1 -1
  46. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sk.json +1 -1
  47. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sl.json +1 -1
  48. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sr.json +1 -1
  49. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.sv.json +1 -1
  50. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.th.json +1 -1
  51. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.tr.json +1 -1
  52. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.uk.json +1 -1
  53. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.vi.json +1 -1
  54. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-CN.json +1 -1
  55. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-HK.json +1 -1
  56. package/dist/cdn/assets/portal-classification-favorite/t9n/messages.zh-TW.json +1 -1
  57. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ar.json +1 -0
  58. package/dist/cdn/assets/portal-extent-picker/t9n/messages.bg.json +1 -0
  59. package/dist/cdn/assets/portal-extent-picker/t9n/messages.bs.json +1 -0
  60. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ca.json +1 -0
  61. package/dist/cdn/assets/portal-extent-picker/t9n/messages.cs.json +1 -0
  62. package/dist/cdn/assets/portal-extent-picker/t9n/messages.da.json +1 -0
  63. package/dist/cdn/assets/portal-extent-picker/t9n/messages.de.json +1 -0
  64. package/dist/cdn/assets/portal-extent-picker/t9n/messages.el.json +1 -0
  65. package/dist/cdn/assets/portal-extent-picker/t9n/messages.en.json +1 -0
  66. package/dist/cdn/assets/portal-extent-picker/t9n/messages.es.json +1 -0
  67. package/dist/cdn/assets/portal-extent-picker/t9n/messages.et.json +1 -0
  68. package/dist/cdn/assets/portal-extent-picker/t9n/messages.fi.json +1 -0
  69. package/dist/cdn/assets/portal-extent-picker/t9n/messages.fr.json +1 -0
  70. package/dist/cdn/assets/portal-extent-picker/t9n/messages.he.json +1 -0
  71. package/dist/cdn/assets/portal-extent-picker/t9n/messages.hr.json +1 -0
  72. package/dist/cdn/assets/portal-extent-picker/t9n/messages.hu.json +1 -0
  73. package/dist/cdn/assets/portal-extent-picker/t9n/messages.id.json +1 -0
  74. package/dist/cdn/assets/portal-extent-picker/t9n/messages.it.json +1 -0
  75. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ja.json +1 -0
  76. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ko.json +1 -0
  77. package/dist/cdn/assets/portal-extent-picker/t9n/messages.lt.json +1 -0
  78. package/dist/cdn/assets/portal-extent-picker/t9n/messages.lv.json +1 -0
  79. package/dist/cdn/assets/portal-extent-picker/t9n/messages.nb.json +1 -0
  80. package/dist/cdn/assets/portal-extent-picker/t9n/messages.nl.json +1 -0
  81. package/dist/cdn/assets/portal-extent-picker/t9n/messages.no.json +1 -0
  82. package/dist/cdn/assets/portal-extent-picker/t9n/messages.pl.json +1 -0
  83. package/dist/cdn/assets/portal-extent-picker/t9n/messages.pt-BR.json +1 -0
  84. package/dist/cdn/assets/portal-extent-picker/t9n/messages.pt-PT.json +1 -0
  85. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ro.json +1 -0
  86. package/dist/cdn/assets/portal-extent-picker/t9n/messages.ru.json +1 -0
  87. package/dist/cdn/assets/portal-extent-picker/t9n/messages.sk.json +1 -0
  88. package/dist/cdn/assets/portal-extent-picker/t9n/messages.sl.json +1 -0
  89. package/dist/cdn/assets/portal-extent-picker/t9n/messages.sr.json +1 -0
  90. package/dist/cdn/assets/portal-extent-picker/t9n/messages.sv.json +1 -0
  91. package/dist/cdn/assets/portal-extent-picker/t9n/messages.th.json +1 -0
  92. package/dist/cdn/assets/portal-extent-picker/t9n/messages.tr.json +1 -0
  93. package/dist/cdn/assets/portal-extent-picker/t9n/messages.uk.json +1 -0
  94. package/dist/cdn/assets/portal-extent-picker/t9n/messages.vi.json +1 -0
  95. package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-CN.json +1 -0
  96. package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-HK.json +1 -0
  97. package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-TW.json +1 -0
  98. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ar.json +1 -0
  99. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.bg.json +1 -0
  100. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.bs.json +1 -0
  101. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ca.json +1 -0
  102. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.cs.json +1 -0
  103. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.da.json +1 -0
  104. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.de.json +1 -0
  105. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.el.json +1 -0
  106. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.en.json +1 -0
  107. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.es.json +1 -0
  108. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.et.json +1 -0
  109. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.fi.json +1 -0
  110. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.fr.json +1 -0
  111. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.he.json +1 -0
  112. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.hr.json +1 -0
  113. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.hu.json +1 -0
  114. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.id.json +1 -0
  115. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.it.json +1 -0
  116. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ja.json +1 -0
  117. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ko.json +1 -0
  118. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.lt.json +1 -0
  119. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.lv.json +1 -0
  120. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.nl.json +1 -0
  121. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.no.json +1 -0
  122. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pl.json +1 -0
  123. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pt-BR.json +1 -0
  124. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.pt-PT.json +1 -0
  125. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ro.json +1 -0
  126. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.ru.json +1 -0
  127. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sk.json +1 -0
  128. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sl.json +1 -0
  129. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sr.json +1 -0
  130. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.sv.json +1 -0
  131. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.th.json +1 -0
  132. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.tr.json +1 -0
  133. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.uk.json +1 -0
  134. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.vi.json +1 -0
  135. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-CN.json +1 -0
  136. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-HK.json +1 -0
  137. package/dist/cdn/assets/portal-replacement-item-redirect/t9n/messages.zh-TW.json +1 -0
  138. package/dist/cdn/index.js +2 -2
  139. package/dist/cdn/main.css +1 -1
  140. package/dist/chunks/common.js +1 -1
  141. package/dist/chunks/fieldAddDelete.js +153 -226
  142. package/dist/chunks/item.js +103 -0
  143. package/dist/chunks/loadClassificationData.js +1 -1
  144. package/dist/chunks/requests.js +2 -2
  145. package/dist/chunks/runtime.js +2 -2
  146. package/dist/chunks/useT9n.js +1 -1
  147. package/dist/components/arcgis-portal-classification-banner/customElement.d.ts +39 -34
  148. package/dist/components/arcgis-portal-classification-banner/customElement.js +18 -17
  149. package/dist/components/arcgis-portal-classification-banner/index.d.ts +0 -1
  150. package/dist/components/arcgis-portal-classification-config/customElement.d.ts +67 -38
  151. package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
  152. package/dist/components/arcgis-portal-classification-config/index.d.ts +0 -11
  153. package/dist/components/arcgis-portal-classification-favorite/customElement.d.ts +61 -16
  154. package/dist/components/arcgis-portal-classification-favorite/customElement.js +2 -2
  155. package/dist/components/arcgis-portal-classification-favorite/index.d.ts +0 -11
  156. package/dist/components/arcgis-portal-classification-form-element/customElement.d.ts +27 -12
  157. package/dist/components/arcgis-portal-classification-form-element/customElement.js +7 -7
  158. package/dist/components/arcgis-portal-classification-form-element/index.d.ts +0 -8
  159. package/dist/components/arcgis-portal-extent-picker/customElement.d.ts +124 -0
  160. package/dist/components/arcgis-portal-extent-picker/customElement.js +553 -0
  161. package/dist/components/arcgis-portal-extent-picker/index.d.ts +1 -0
  162. package/dist/components/arcgis-portal-extent-picker/index.js +8 -0
  163. package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.js +60 -0
  164. package/dist/components/arcgis-portal-extent-picker-coord-field/index.js +3 -0
  165. package/dist/components/arcgis-portal-field-delete/customElement.d.ts +88 -21
  166. package/dist/components/arcgis-portal-field-delete/customElement.js +81 -78
  167. package/dist/components/arcgis-portal-field-delete/index.d.ts +0 -9
  168. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.d.ts +43 -0
  169. package/dist/components/arcgis-portal-replacement-item-redirect/customElement.js +151 -0
  170. package/dist/components/arcgis-portal-replacement-item-redirect/index.d.ts +1 -0
  171. package/dist/components/arcgis-portal-replacement-item-redirect/index.js +6 -0
  172. package/dist/docs/api.json +1 -1174
  173. package/dist/docs/docs.json +1 -1076
  174. package/dist/docs/vscode.css-custom-data.json +1 -6
  175. package/dist/docs/vscode.html-custom-data.json +1 -98
  176. package/dist/docs/web-types.json +1 -313
  177. package/dist/index.d.ts +73 -61
  178. package/dist/index.js +1 -1
  179. package/dist/loader.d.ts +1 -1
  180. package/dist/loader.js +11 -8
  181. package/dist/models/classificationModel.d.ts +1 -68
  182. package/dist/types/classification.d.ts +89 -165
  183. package/dist/types/components.d.ts +2 -1
  184. package/dist/types/lumina.d.ts +30 -15
  185. package/dist/types/preact.d.ts +32 -15
  186. package/dist/types/react.d.ts +34 -15
  187. package/dist/types/stencil.d.ts +30 -15
  188. package/dist/utils/fieldAddDelete.d.ts +12 -3
  189. package/dist/utils/types.d.ts +25 -24
  190. package/package.json +8 -7
  191. package/dist/cdn/GAVE7GOE.js +0 -4
  192. package/dist/cdn/GCTEBF5M.js +0 -4
  193. package/dist/cdn/IQGOBW2Z.js +0 -4
  194. package/dist/cdn/MCC56U5S.js +0 -4
  195. package/dist/cdn/NIHR6VOM.js +0 -4
  196. package/dist/cdn/NNI54DSU.js +0 -4
  197. package/dist/cdn/OB7YFCHE.js +0 -4
  198. package/dist/cdn/ORW2D6UX.js +0 -4
  199. package/dist/cdn/UYVWH4TJ.js +0 -6
  200. package/dist/components/arcgis-portal-field-delete/types.d.ts +0 -5
  201. package/dist/controllers/loadClassificationData.d.ts +0 -11
  202. package/dist/controllers/useClassificationModel.d.ts +0 -9
  203. package/dist/controllers/useT9n.d.ts +0 -1
  204. package/dist/runtime.d.ts +0 -6
  205. package/dist/types/preact10.d.ts +0 -54
  206. package/dist/utils/arcade.d.ts +0 -27
  207. package/dist/utils/common.d.ts +0 -29
  208. package/dist/utils/commonEnums.d.ts +0 -5
  209. package/dist/utils/commonFunctions.d.ts +0 -11
  210. package/dist/utils/functionalComponents/FieldIcons.d.ts +0 -6
  211. package/dist/utils/item.d.ts +0 -21
  212. package/dist/utils/portal.d.ts +0 -2
  213. package/dist/utils/requests.d.ts +0 -15
  214. package/dist/utils/url.d.ts +0 -1
@@ -1,347 +1,274 @@
1
- import * as I from "@arcgis/core/layers/support/fieldUtils.js";
1
+ import * as p from "@arcgis/core/layers/support/fieldUtils.js";
2
2
  import Q from "@arcgis/core/layers/support/FeatureReductionBinning.js";
3
- import K from "@arcgis/core/layers/support/FeatureReductionCluster.js";
4
- import * as T from "@arcgis/core/renderers/support/jsonUtils.js";
5
- import v from "@arcgis/core/request.js";
3
+ import q from "@arcgis/core/layers/support/FeatureReductionCluster.js";
4
+ import * as R from "@arcgis/core/renderers/support/jsonUtils.js";
5
+ import x from "@arcgis/core/request.js";
6
6
  import * as L from "@arcgis/core/core/sql.js";
7
+ import { i as J, a as N, l as T, b as G, c as H, u as P, d as E, e as D, f as V, h as C, g as z } from "./item.js";
7
8
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
9
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.14 */
10
- var b = /* @__PURE__ */ ((e) => (e.expression = "expression/", e.raster = "Raster.", e.relationship = "relationships/", e))(b || {});
11
- function x(e) {
12
- return e != null;
10
+ v5.0.0-next.141 */
11
+ var O = /* @__PURE__ */ ((r) => (r.expression = "expression/", r.raster = "Raster.", r.relationship = "relationships/", r))(O || {});
12
+ const K = ["feature"];
13
+ function X(r) {
14
+ return "fieldConfigurations" in r && K.includes(r.type);
13
15
  }
14
- function ge(e, t) {
15
- const r = e.fieldName;
16
- if (r.includes(b.expression)) {
17
- const i = t.get(r);
18
- return i?.title ? i.title : r;
19
- } else
20
- return e.label ? e.label : r;
16
+ function b(r) {
17
+ return r != null;
18
+ }
19
+ function Oe(r, e, i) {
20
+ const t = e.fieldName;
21
+ if (t.includes(O.expression)) {
22
+ const s = i.get(t);
23
+ return s?.title ? s.title : t;
24
+ } else return X(r) && r.getFieldConfiguration(t) ? r.getFieldAlias(t) || t : e.label || t;
21
25
  }
22
- function ve(e, t, r) {
23
- let i = "";
24
- if (/^raster.(?:item|service)pixelvalue/iu.test(e))
25
- i = "number";
26
- else if (t.has(e)) {
27
- const s = t.get(e);
28
- i = s.type ? s.type.toLowerCase() : "";
29
- } else if (r.has(e)) {
30
- const s = r.get(e);
31
- i = s.returnType ? s.returnType.toLowerCase() : "";
26
+ function ve(r, e, i) {
27
+ let t = "";
28
+ if (/^raster.(?:item|service)pixelvalue/iu.test(r))
29
+ t = "number";
30
+ else if (e.has(r)) {
31
+ const s = e.get(r);
32
+ t = s.type ? s.type.toLowerCase() : "";
33
+ } else if (i.has(r)) {
34
+ const s = i.get(r);
35
+ t = s.returnType ? s.returnType.toLowerCase() : "";
32
36
  } else
33
- i = "number";
34
- return i;
37
+ t = "number";
38
+ return t;
35
39
  }
36
- async function Le(e) {
40
+ async function be(r) {
37
41
  return new Map(
38
- (await _(e)).filter((t) => t.visible).map((t) => [t.name, t])
42
+ (await Y(r)).filter((e) => e.visible).map((e) => [e.name, e])
39
43
  );
40
44
  }
41
- function Oe(e) {
42
- const t = /* @__PURE__ */ new Map();
43
- return e?.expressionInfos && e.expressionInfos.forEach((r) => {
44
- const i = `${b.expression}${r.name}`;
45
- t.set(i, r);
46
- }), t;
45
+ function Re(r) {
46
+ const e = /* @__PURE__ */ new Map();
47
+ return r?.expressionInfos && r.expressionInfos.forEach((i) => {
48
+ const t = `${O.expression}${i.name}`;
49
+ e.set(t, i);
50
+ }), e;
47
51
  }
48
- async function _(e) {
49
- return await new Promise((t, r) => {
50
- switch (e.type) {
52
+ async function Y(r) {
53
+ return await new Promise((e, i) => {
54
+ switch (r.type) {
51
55
  case "feature":
52
56
  case "ogc-feature":
53
57
  case "stream":
54
- t(e.fields);
58
+ e(r.fields);
55
59
  break;
56
60
  case "sublayer": {
57
- const i = e, s = i?.layer;
61
+ const t = r, s = t?.layer;
58
62
  s?.portalItem && s.url.includes("https://demographics") && s.url.includes(".arcgis.com") ? s.portalItem?.fetchData().then((n) => {
59
63
  if (n?.thematicGroup) {
60
64
  const a = new Map(
61
- i.fields.map((l) => [l.name, l])
62
- ), u = n.thematicGroup.fieldNames, c = [];
63
- u.forEach((l) => {
65
+ t.fields.map((l) => [l.name, l])
66
+ ), f = n.thematicGroup.fieldNames, c = [];
67
+ f.forEach((l) => {
64
68
  a.has(l) && c.push(a.get(l));
65
- }), t(c);
69
+ }), e(c);
66
70
  } else
67
- t(i.fields);
71
+ e(t.fields);
68
72
  }).catch((n) => {
69
- r(new Error(n));
70
- }) : t(i.fields);
73
+ i(new Error(n));
74
+ }) : e(t.fields);
71
75
  break;
72
76
  }
73
77
  case "imagery":
74
78
  case "imagery-tile":
75
79
  case "wcs":
76
- t(e.rasterFields);
80
+ e(r.rasterFields);
77
81
  break;
78
82
  default:
79
- t("fields" in e ? e.fields ?? [] : []);
83
+ e("fields" in r ? r.fields ?? [] : []);
80
84
  }
81
85
  });
82
86
  }
83
- const H = (e) => e && !e.endsWith("/") ? `${e}/` : e;
84
- function O(e) {
85
- return H(e.restUrl);
86
- }
87
- function P(e, t) {
88
- return J(e, t) || z(e, t);
89
- }
90
- function J(e, t) {
91
- return e.owner === t.username;
92
- }
93
- function z(e, t) {
94
- const r = e.owner, i = e.itemControl === "admin", s = ["esri_livingatlas", "esri_demographics", "esri_boundaries"];
95
- return e.portal?.isPortal && !J(e, t) && i && r?.includes("esri_") && // portal incorrectly returns "itemControl="admin" for esri owned items
96
- !s.includes(r) ? !1 : i;
97
- }
98
- function X(e) {
99
- return e.typeKeywords?.includes("Spatiotemporal");
100
- }
101
- function N(e) {
102
- return e.typeKeywords?.includes("View Service");
103
- }
104
- function E(e) {
105
- return e.typeKeywords?.includes("Hosted Service");
106
- }
107
- function V(e) {
108
- return e.typeKeywords?.includes("Multi Services View");
109
- }
110
- function D(e) {
111
- return e?.hasViews && !e.sourceSchemaChangesAllowed;
112
- }
113
- async function G(e) {
114
- const t = e?.portalItem;
115
- if (!t)
116
- return await Promise.resolve(null);
117
- const r = t.portal;
118
- if (r?.user) {
119
- const i = `${O(r)}community/users/${r.user.username}`;
120
- return await v(i, {
121
- query: {
122
- f: "json",
123
- token: t.portal.credential?.token
124
- },
125
- responseType: "json"
126
- }).then(
127
- async (s) => {
128
- const n = s.data?.groups ?? [];
129
- return await Promise.resolve(n);
130
- },
131
- async () => await Promise.reject(new Error("Failed to fetch user groups"))
132
- );
133
- }
134
- return await Promise.resolve(null);
135
- }
136
- async function k(e) {
137
- const t = e?.portalItem;
138
- if (!t)
139
- return await Promise.resolve(null);
140
- const r = t.portal, i = `${O(r)}content/items/${t.id}/groups`;
141
- return await v(i, {
142
- query: {
143
- f: "json",
144
- token: t.portal.credential?.token
145
- },
146
- responseType: "json"
147
- }).then(
148
- async (s) => {
149
- const n = s.data?.admin ?? [], a = s.data?.member ?? [], u = s.data?.other ?? [], c = [...n, ...a, ...u];
150
- return await Promise.resolve(c);
151
- },
152
- async () => await Promise.reject(new Error("Failed to fetch item groups"))
153
- );
87
+ function o(r, e) {
88
+ return !r || !e ? !1 : r.toLocaleLowerCase() === e.toLocaleLowerCase();
154
89
  }
155
- async function j(e, t, { relationshipType: r, direction: i }) {
156
- const s = `${O(t)}content/items/${e}/relatedItems`;
157
- return await v(s, {
158
- query: { f: "json", relationshipType: r, direction: i },
159
- responseType: "json"
160
- });
161
- }
162
- function A(e, t) {
163
- return e?.some(
164
- (r) => t?.some(
165
- (i) => r.id === i.id && r.capabilities.includes("updateitemcontrol")
166
- )
167
- );
168
- }
169
- function o(e, t) {
170
- return !e || !t ? !1 : e.toLocaleLowerCase() === t.toLocaleLowerCase();
171
- }
172
- async function be(e) {
173
- const t = ["feature", "oriented-imagery"].includes(e.type), r = e?.portalItem, i = e.sourceJSON;
174
- if (!t || !r)
90
+ async function xe(r) {
91
+ const e = ["feature", "oriented-imagery"].includes(r.type), i = r?.portalItem, t = r.sourceJSON;
92
+ if (!e || !i)
175
93
  return !1;
176
- const s = r.portal;
177
- if (!s?.user || N(r) || !E(r) || V(r) || D(i))
94
+ const s = i.portal;
95
+ if (!s?.user || N(i) || !J(i) || T(i) || G(t))
178
96
  return !1;
179
- const l = P(r, s.user), w = await G(e) ?? [], F = await k(e) ?? [], f = A(w, F);
180
- if (!l && !f)
97
+ const l = P(i, s.user), I = await E(r) ?? [], F = await D(r) ?? [], u = V(I, F);
98
+ if (!l && !u)
181
99
  return !1;
182
- const m = await j(r.id, s, {
100
+ const S = await C(i.id, s, {
183
101
  relationshipType: "Service2Service"
184
102
  });
185
- return !(m?.data?.relatedItems && m.data.relatedItems.some(
186
- (S) => ["WMTS", "Map Service", "Vector Tile Service"].includes(S.type)
103
+ return !(S?.data?.relatedItems && S.data.relatedItems.some(
104
+ (g) => ["WMTS", "Map Service", "Vector Tile Service"].includes(g.type)
187
105
  ));
188
106
  }
189
- async function Re(e, t, r, i) {
190
- if (!r)
107
+ async function Je(r, e, i, t) {
108
+ if (!i)
191
109
  return !1;
192
- const s = ["feature", "oriented-imagery"].includes(t.type), n = i?.item ?? t.portalItem, a = t.sourceJSON;
193
- if (!s || !n || !n.portal.user || !E(n) || N(n) || V(n) || D(a) || n.portal.isPortal && X(n) || ["oid", "global-id", "geometry"].includes(r.type))
110
+ const s = ["feature", "oriented-imagery"].includes(e.type), n = t?.item ?? e.portalItem, a = e.sourceJSON;
111
+ if (!s || !n || !n.portal.user || !J(n) || N(n) || T(n) || G(a) || n.portal.isPortal && H(n) || ["oid", "global-id", "geometry"].includes(i.type) || await Z(e, i.name, t))
194
112
  return !1;
195
- const m = t.sourceJSON.geometryProperties, y = m?.shapeLengthFieldName, S = m?.shapeAreaFieldName;
196
- if (o(y, r.name) || o(S, r.name))
113
+ const w = e.sourceJSON.geometryProperties, g = w?.shapeLengthFieldName, M = w?.shapeAreaFieldName;
114
+ if (o(g, i.name) || o(M, i.name))
197
115
  return !1;
198
- const g = t.editFieldsInfo;
199
- if (g && (o(g.creationDateField, r.name) || o(g.creatorField, r.name) || o(g.editDateField, r.name) || o(g.editorField, r.name)) || o(t.objectIdField, r.name) || o(t.displayField, r.name) || o(t.typeIdField, r.name) || o(t.subtypeField, r.name) || t.timeInfo && (o(t.timeInfo.startField, r.name) || o(t.timeInfo.endField, r.name) || o(t.timeInfo.trackIdField, r.name)))
116
+ const y = e.editFieldsInfo;
117
+ if (y && (o(y.creationDateField, i.name) || o(y.creatorField, i.name) || o(y.editDateField, i.name) || o(y.editorField, i.name)) || o(e.objectIdField, i.name) || o(e.displayField, i.name) || o(e.typeIdField, i.name) || o(e.subtypeField, i.name) || e.timeInfo && (o(e.timeInfo.startField, i.name) || o(e.timeInfo.endField, i.name) || o(e.timeInfo.trackIdField, i.name)))
200
118
  return !1;
201
- if (!i?.ignoreLayerRenderer && t.featureReduction) {
119
+ if (!t?.ignoreLayerRenderer && e.featureReduction) {
202
120
  const d = /* @__PURE__ */ new Set();
203
- if (await I.collectFeatureReductionFields(
121
+ if (await p.collectFeatureReductionFields(
204
122
  d,
205
- t,
206
- t.featureReduction
123
+ e,
124
+ e.featureReduction
207
125
  ), Array.from(d).some(
208
- (h) => o(h, r.name)
126
+ (h) => o(h, i.name)
209
127
  ))
210
128
  return !1;
211
129
  }
212
- if (!i?.ignoreLayerRenderer && (await I.getRendererFields(t.renderer, t.fieldsIndex)).some((h) => o(h, r.name)))
130
+ if (!t?.ignoreLayerRenderer && (await p.getRendererFields(e.renderer, e.fieldsIndex)).some((h) => o(h, i.name)))
213
131
  return !1;
214
- if (!i?.ignoreLayerLabelingInfo) {
215
- const d = t.labelingInfo?.map(
216
- (p) => p.labelExpressionInfo?.expression
132
+ if (!t?.ignoreLayerLabelingInfo) {
133
+ const d = e.labelingInfo?.map(
134
+ (m) => m.labelExpressionInfo?.expression
217
135
  );
218
- if (d && ((await I.getExpressionFields(t, d)).some((q) => o(q, r.name)) || await U(t, r, "layer")))
136
+ if (d && ((await p.getExpressionFields(e, d)).some(($) => o($, i.name)) || await k(e, i, "layer")))
219
137
  return !1;
220
138
  }
221
- if (!i?.ignoreLayerDefinitionExpression && t.definitionExpression && (await L.parseWhereClause(t.definitionExpression, t.fieldsIndex)).fieldNames.some((h) => o(h, r.name)) || await Z(t, r, i) || await ee(t, r))
139
+ if (!t?.ignoreLayerDefinitionExpression && e.definitionExpression && (await L.parseWhereClause(e.definitionExpression, e.fieldsIndex)).fieldNames.some((h) => o(h, i.name)) || await ee(e, i, t) || await re(e, i))
222
140
  return !1;
223
- if (await te(t, r))
141
+ if (await ie(e, i))
224
142
  return await Promise.resolve(!1);
225
- if (await re(t, r))
143
+ if (await te(e, i))
226
144
  return await Promise.resolve(!1);
227
- if (Y(e, t, r) || t.relationships?.map((d) => d.keyField)?.some((d) => o(d, r.name)))
145
+ if (_(r, e, i) || e.relationships?.map((d) => d.keyField)?.some((d) => o(d, i.name)))
228
146
  return !1;
229
- const C = P(n, n.portal.user), $ = i?.userItemInfo?.userGroups ?? await G(t) ?? [], W = i?.userItemInfo?.itemGroups ?? await k(t) ?? [], B = A($, W);
230
- if (!C && !B)
147
+ const U = P(n, n.portal.user), j = t?.userItemInfo?.userGroups ?? await E(e) ?? [], W = t?.userItemInfo?.itemGroups ?? await D(e) ?? [], B = V(j, W);
148
+ if (!U && !B)
231
149
  return !1;
232
- const R = i?.userItemInfo?.relatedItems ?? await j(n.id, n.portal, {
150
+ const v = t?.userItemInfo?.relatedItems ?? await C(n.id, n.portal, {
233
151
  relationshipType: "Service2Service"
234
152
  });
235
- return !(R?.data?.relatedItems && R.data.relatedItems.some(
236
- (p) => ["WMTS", "Map Service", "Vector Tile Service"].includes(p.type)
153
+ return !(v?.data?.relatedItems && v.data.relatedItems.some(
154
+ (m) => ["WMTS", "Map Service", "Vector Tile Service"].includes(m.type)
237
155
  ));
238
156
  }
239
- function Y(e, t, r) {
240
- if (!e)
157
+ async function Z(r, e, i) {
158
+ const t = `${r.url}/${r.layerId}/fieldGroups`, s = i?.userItemInfo && "fieldGroups" in i.userItemInfo ? i.userItemInfo.fieldGroups : (await x(t, {
159
+ query: { f: "json" },
160
+ responseType: "json"
161
+ }))?.data?.fieldGroups;
162
+ return s ? s.some(
163
+ (a) => a.fields.some((f) => o(f, e))
164
+ ) : !1;
165
+ }
166
+ function _(r, e, i) {
167
+ if (!r)
241
168
  return !1;
242
- const i = e.map?.applicationProperties?.viewing?.search;
243
- if (i) {
244
- const s = i.layers?.find((n) => n.id === t.id);
169
+ const t = r.map?.applicationProperties?.viewing?.search;
170
+ if (t) {
171
+ const s = t.layers?.find((n) => n.id === e.id);
245
172
  if (s) {
246
173
  const n = s?.field?.name;
247
174
  if (n)
248
- return o(n, r.name);
175
+ return o(n, i.name);
249
176
  }
250
177
  }
251
178
  return !1;
252
179
  }
253
- async function U(e, t, r) {
254
- const i = r === "layer" ? e.labelingInfo?.filter((a) => x(a.where)) : e.sourceJSON?.drawingInfo?.labelingInfo?.filter((a) => x(a.where));
255
- if (!i?.length)
180
+ async function k(r, e, i) {
181
+ const t = i === "layer" ? r.labelingInfo?.filter((a) => b(a.where)) : r.sourceJSON?.drawingInfo?.labelingInfo?.filter((a) => b(a.where));
182
+ if (!t?.length)
256
183
  return !1;
257
184
  const s = [
258
185
  ...await Promise.all(
259
- i.map(
260
- async (a) => await L.parseWhereClause(a.where, e.fieldsIndex)
186
+ t.map(
187
+ async (a) => await L.parseWhereClause(a.where, r.fieldsIndex)
261
188
  )
262
189
  )
263
190
  ];
264
191
  let n = !1;
265
192
  for (let a = 0; a < s.length; a++) {
266
- const u = s[a].fieldNames?.some((c) => o(c, t.name));
267
- if (!n && u) {
193
+ const f = s[a].fieldNames?.some((c) => o(c, e.name));
194
+ if (!n && f) {
268
195
  n = !0;
269
196
  break;
270
197
  }
271
198
  }
272
199
  return await Promise.resolve(n);
273
200
  }
274
- async function Z(e, t, r) {
275
- const i = e.portalItem;
276
- if (!i)
201
+ async function ee(r, e, i) {
202
+ const t = r.portalItem;
203
+ if (!t)
277
204
  return !1;
278
- const s = `${O(i.portal)}content/items/${i.id}/data`, a = (r?.userItemInfo?.itemData ?? await v(s, {
205
+ const s = `${z(t.portal)}content/items/${t.id}/data`, a = (i?.userItemInfo?.itemData ?? await x(s, {
279
206
  query: { f: "json" },
280
207
  responseType: "json"
281
208
  }))?.data;
282
209
  if (!a)
283
210
  return !1;
284
211
  if (a?.layers) {
285
- const c = a.layers.find((f) => f.id === e.layerId), l = c?.layerDefinition?.drawingInfo?.renderer, w = c?.layerDefinition?.featureReduction, F = c?.layerDefinition?.definitionExpression;
286
- if (!l && !w && !F)
212
+ const c = a.layers.find((u) => u.id === r.layerId), l = c?.layerDefinition?.drawingInfo?.renderer, I = c?.layerDefinition?.featureReduction, F = c?.layerDefinition?.definitionExpression;
213
+ if (!l && !I && !F)
287
214
  return !1;
288
- if (!r?.ignoreItemRenderer && l) {
289
- const f = T.fromJSON(l);
290
- if ((await I.getRendererFields(f, e.fieldsIndex)).some((S) => o(S, t.name)))
215
+ if (!i?.ignoreItemRenderer && l) {
216
+ const u = R.fromJSON(l);
217
+ if ((await p.getRendererFields(u, r.fieldsIndex)).some((g) => o(g, e.name)))
291
218
  return !0;
292
219
  }
293
- if (!r?.ignoreItemFeatureReduction && w && await M(e, t, w) || F && (await L.parseWhereClause(F, e.fieldsIndex)).fieldNames.some((y) => o(y, t.name)))
220
+ if (!i?.ignoreItemFeatureReduction && I && await A(r, e, I) || F && (await L.parseWhereClause(F, r.fieldsIndex)).fieldNames.some((w) => o(w, e.name)))
294
221
  return !0;
295
222
  }
296
223
  return !1;
297
224
  }
298
- async function ee(e, t) {
299
- const r = e.sourceJSON, i = r?.drawingInfo?.renderer, s = r?.featureReduction;
300
- if (!i && !s)
225
+ async function re(r, e) {
226
+ const i = r.sourceJSON, t = i?.drawingInfo?.renderer, s = i?.featureReduction;
227
+ if (!t && !s)
301
228
  return !1;
302
- if (i) {
303
- const n = T.fromJSON(i);
304
- if ((await I.getRendererFields(n, e.fieldsIndex)).some((c) => o(c, t.name)))
229
+ if (t) {
230
+ const n = R.fromJSON(t);
231
+ if ((await p.getRendererFields(n, r.fieldsIndex)).some((c) => o(c, e.name)))
305
232
  return !0;
306
233
  }
307
- return !!(s && await M(
234
+ return !!(s && await A(
235
+ r,
308
236
  e,
309
- t,
310
237
  s
311
238
  ));
312
239
  }
313
- async function te(e, t) {
314
- const i = e.sourceJSON?.drawingInfo?.labelingInfo;
315
- if (!i)
240
+ async function ie(r, e) {
241
+ const t = r.sourceJSON?.drawingInfo?.labelingInfo;
242
+ if (!t)
316
243
  return await Promise.resolve(!1);
317
- const s = i?.map(
244
+ const s = t?.map(
318
245
  (n) => n.labelExpressionInfo?.expression
319
246
  );
320
247
  if (s) {
321
- if ((await I.getExpressionFields(e, s)).some((c) => o(c, t.name)))
248
+ if ((await p.getExpressionFields(r, s)).some((c) => o(c, e.name)))
322
249
  return await Promise.resolve(!0);
323
- if (await U(e, t, "service"))
250
+ if (await k(r, e, "service"))
324
251
  return await Promise.resolve(!0);
325
252
  }
326
253
  return await Promise.resolve(!1);
327
254
  }
328
- async function re(e, t) {
329
- const i = e.sourceJSON?.definitionQuery;
330
- return i ? (await L.parseWhereClause(i, e.fieldsIndex)).fieldNames.some((a) => o(a, t.name)) ? await Promise.resolve(!0) : await Promise.resolve(!1) : await Promise.resolve(!1);
255
+ async function te(r, e) {
256
+ const t = r.sourceJSON?.definitionQuery;
257
+ return t ? (await L.parseWhereClause(t, r.fieldsIndex)).fieldNames.some((a) => o(a, e.name)) ? await Promise.resolve(!0) : await Promise.resolve(!1) : await Promise.resolve(!1);
331
258
  }
332
- async function M(e, t, r) {
333
- const i = r.type === "binning" ? Q.fromJSON(r) : K.fromJSON(r), s = /* @__PURE__ */ new Set();
334
- return await I.collectFeatureReductionFields(s, e, i), !!Array.from(s).some(
335
- (a) => o(a, t.name)
259
+ async function A(r, e, i) {
260
+ const t = i.type === "binning" ? Q.fromJSON(i) : q.fromJSON(i), s = /* @__PURE__ */ new Set();
261
+ return await p.collectFeatureReductionFields(s, r, t), !!Array.from(s).some(
262
+ (a) => o(a, e.name)
336
263
  );
337
264
  }
338
265
  export {
339
- Re as a,
340
- Oe as b,
341
- be as c,
342
- ge as d,
343
- O as e,
344
- ve as f,
345
- Le as g,
346
- x as i
266
+ Je as a,
267
+ Re as b,
268
+ xe as c,
269
+ Oe as d,
270
+ ve as e,
271
+ be as g,
272
+ b as i,
273
+ X as s
347
274
  };
@@ -0,0 +1,103 @@
1
+ import i from "@arcgis/core/request.js";
2
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ See https://js.arcgis.com/5.0/esri/copyright.txt for details.
4
+ v5.0.0-next.141 */
5
+ const m = (e) => e && !e.endsWith("/") ? `${e}/` : e;
6
+ function a(e) {
7
+ return m(e.restUrl);
8
+ }
9
+ function w(e, r) {
10
+ return u(e, r) || p(e, r);
11
+ }
12
+ function u(e, r) {
13
+ return e.owner === r.username;
14
+ }
15
+ function p(e, r) {
16
+ const t = e.owner, n = e.itemControl === "admin", s = ["esri_livingatlas", "esri_demographics", "esri_boundaries"];
17
+ return e.portal?.isPortal && !u(e, r) && n && t?.includes("esri_") && // portal incorrectly returns "itemControl="admin" for esri owned items
18
+ !s.includes(t) ? !1 : n;
19
+ }
20
+ function y(e) {
21
+ return e.typeKeywords?.includes("Spatiotemporal");
22
+ }
23
+ function g(e) {
24
+ return e.typeKeywords?.includes("View Service");
25
+ }
26
+ function h(e) {
27
+ return e.typeKeywords?.includes("Hosted Service");
28
+ }
29
+ function v(e) {
30
+ return e.typeKeywords?.includes("Multi Services View");
31
+ }
32
+ function I(e) {
33
+ return e?.hasViews && !e.sourceSchemaChangesAllowed;
34
+ }
35
+ async function P(e) {
36
+ const r = e?.portalItem;
37
+ if (!r)
38
+ return await Promise.resolve(null);
39
+ const t = r.portal;
40
+ if (t?.user) {
41
+ const n = `${a(t)}community/users/${t.user.username}`;
42
+ return await i(n, {
43
+ query: {
44
+ f: "json",
45
+ token: r.portal.credential?.token
46
+ },
47
+ responseType: "json"
48
+ }).then(
49
+ async (s) => {
50
+ const o = s.data?.groups ?? [];
51
+ return await Promise.resolve(o);
52
+ },
53
+ async () => await Promise.reject(new Error("Failed to fetch user groups"))
54
+ );
55
+ }
56
+ return await Promise.resolve(null);
57
+ }
58
+ async function S(e) {
59
+ const r = e?.portalItem;
60
+ if (!r)
61
+ return await Promise.resolve(null);
62
+ const t = r.portal, n = `${a(t)}content/items/${r.id}/groups`;
63
+ return await i(n, {
64
+ query: {
65
+ f: "json",
66
+ token: r.portal.credential?.token
67
+ },
68
+ responseType: "json"
69
+ }).then(
70
+ async (s) => {
71
+ const o = s.data?.admin ?? [], c = s.data?.member ?? [], l = s.data?.other ?? [], d = [...o, ...c, ...l];
72
+ return await Promise.resolve(d);
73
+ },
74
+ async () => await Promise.reject(new Error("Failed to fetch item groups"))
75
+ );
76
+ }
77
+ async function j(e, r, { relationshipType: t, direction: n }) {
78
+ const s = `${a(r)}content/items/${e}/relatedItems`;
79
+ return await i(s, {
80
+ query: { f: "json", relationshipType: t, direction: n },
81
+ responseType: "json"
82
+ });
83
+ }
84
+ function G(e, r) {
85
+ return e?.some(
86
+ (t) => r?.some(
87
+ (n) => t.id === n.id && t.capabilities.includes("updateitemcontrol")
88
+ )
89
+ );
90
+ }
91
+ export {
92
+ g as a,
93
+ I as b,
94
+ y as c,
95
+ P as d,
96
+ S as e,
97
+ G as f,
98
+ a as g,
99
+ j as h,
100
+ h as i,
101
+ v as l,
102
+ w as u
103
+ };
@@ -6,7 +6,7 @@ import { makeAccessorController as C } from "@arcgis/lumina/controllers/accessor
6
6
  import { Task as v } from "@lit/task";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
9
- v5.0.0-next.14 */
9
+ v5.0.0-next.141 */
10
10
  var w = Object.defineProperty, g = Object.getOwnPropertyDescriptor, e = (i, a, s, t) => {
11
11
  for (var r = t > 1 ? void 0 : t ? g(a, s) : a, l = i.length - 1, c; l >= 0; l--)
12
12
  (c = i[l]) && (r = (t ? c(a, s, r) : c(r)) || r);
@@ -2,7 +2,7 @@ import n from "@arcgis/core/request.js";
2
2
  import { once as c } from "@arcgis/core/core/reactiveUtils.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.14 */
5
+ v5.0.0-next.141 */
6
6
  async function f(s, t) {
7
7
  const i = `${s}/portals/self/classification/classificationSchema`, e = {};
8
8
  try {
@@ -59,7 +59,7 @@ async function v(s, t) {
59
59
  const o = await n(e, { query: a, method: "post" });
60
60
  r.result = o.data.success;
61
61
  } catch (o) {
62
- console.error("error: ", o), r.error = o;
62
+ console.error(o), r.error = o;
63
63
  }
64
64
  return r;
65
65
  }
@@ -3,8 +3,8 @@ import { makeRuntime as e } from "@arcgis/lumina";
3
3
  import { trackAccess as s, createObservable as r, createTrackingTarget as a, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.14 */
7
- const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/portal-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
6
+ v5.0.0-next.141 */
7
+ const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/5.0.0-next/portal-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
8
8
  t.t = s;
9
9
  t.o = r;
10
10
  t.c = a;
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
2
2
  import { g as t } from "./runtime.js";
3
3
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
4
4
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
5
- v5.0.0-next.14 */
5
+ v5.0.0-next.141 */
6
6
  const s = o(t);
7
7
  export {
8
8
  s as u