@esri/solutions-components 5.1.0-next.85 → 5.1.0-next.87

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 (161) hide show
  1. package/dist/cdn/2LV7NQMM.js +2 -0
  2. package/dist/cdn/3PUFU3VY.js +2 -0
  3. package/dist/cdn/3S5XSBME.js +2 -0
  4. package/dist/cdn/5G5LMAT4.js +2 -0
  5. package/dist/cdn/5Z43RSKO.js +2 -0
  6. package/dist/cdn/67YHFNNT.js +2 -0
  7. package/dist/cdn/7FKMQ3QO.js +2 -0
  8. package/dist/cdn/{NANKLLS4.js → A73LPATI.js} +2 -2
  9. package/dist/cdn/AODE5TBO.js +2 -0
  10. package/dist/cdn/AUNFZODL.js +2 -0
  11. package/dist/cdn/{X7FPPH3E.js → B4Y2UZHO.js} +1 -1
  12. package/dist/cdn/{BXFMZEWK.js → DV6MFL2N.js} +1 -1
  13. package/dist/cdn/EJQKVRSG.js +2 -0
  14. package/dist/cdn/ERCI6HI5.js +2 -0
  15. package/dist/cdn/HWOOHVH5.js +2 -0
  16. package/dist/cdn/I33PCNP7.js +2 -0
  17. package/dist/cdn/{XZWWZKHK.js → I53PAKKW.js} +1 -1
  18. package/dist/cdn/IVFBBPSY.js +2 -0
  19. package/dist/cdn/JAITP34E.js +2 -0
  20. package/dist/cdn/{NVJH5A6R.js → JSXNTE4I.js} +1 -1
  21. package/dist/cdn/KXGN75L6.js +2 -0
  22. package/dist/cdn/LXI55MKX.js +2 -0
  23. package/dist/cdn/{6GRAP4DV.js → LYDP7VMM.js} +1 -1
  24. package/dist/cdn/N2XIWSCG.js +2 -0
  25. package/dist/cdn/{7UFXL2ZB.js → NYWSGPCD.js} +2 -2
  26. package/dist/cdn/O5CIRNTW.js +2 -0
  27. package/dist/cdn/PX2KKGLQ.js +2 -0
  28. package/dist/cdn/QHHYNSCP.js +2 -0
  29. package/dist/cdn/QK5IXICV.js +2 -0
  30. package/dist/cdn/QMPT2LSN.js +2 -0
  31. package/dist/cdn/QX5WB6H3.js +2 -0
  32. package/dist/cdn/QX742MCD.js +2 -0
  33. package/dist/cdn/R4CW26PN.js +2 -0
  34. package/dist/cdn/RLHHGWT4.js +2 -0
  35. package/dist/cdn/RQRAFBVO.js +2 -0
  36. package/dist/cdn/SY5KYHF4.js +2 -0
  37. package/dist/cdn/{IHD4JFYA.js → TMYE7YBP.js} +1 -1
  38. package/dist/cdn/TV7TG34E.js +2 -0
  39. package/dist/cdn/WOBPKAC2.js +2 -0
  40. package/dist/cdn/X7ZFLHUP.js +2 -0
  41. package/dist/cdn/{MH2KV42H.js → XFG55QXT.js} +1 -1
  42. package/dist/cdn/XYG3Z7ZY.js +2 -0
  43. package/dist/cdn/YSLCWEDP.js +2 -0
  44. package/dist/cdn/{VZ4XWWT6.js → ZDTDI643.js} +1 -1
  45. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
  46. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
  47. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
  48. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
  49. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
  50. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
  51. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
  52. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
  53. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
  54. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
  55. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
  56. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
  57. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
  58. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
  59. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
  60. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
  61. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
  62. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
  63. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
  64. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
  65. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
  66. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
  67. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
  68. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
  69. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
  70. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
  71. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
  72. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
  73. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
  74. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
  75. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
  76. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
  77. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
  78. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
  79. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
  80. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
  81. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
  82. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
  83. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
  84. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
  85. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
  86. package/dist/cdn/assets/solution-configure-titles/t9n/messages.en.json +1 -1
  87. package/dist/cdn/assets/solution-configure-titles/t9n/messages.json +1 -1
  88. package/dist/cdn/index.js +1 -1
  89. package/dist/chunks/Auth.js +1 -1
  90. package/dist/chunks/cardFetchingUtils.js +13 -12
  91. package/dist/chunks/cardsHelpers.js +1 -1
  92. package/dist/chunks/common.js +26 -0
  93. package/dist/chunks/getRelatedInfos.js +1 -1
  94. package/dist/chunks/helpers.js +81 -560
  95. package/dist/chunks/interfaces.js +446 -0
  96. package/dist/chunks/solution-deploy-dialog.js +12 -11
  97. package/dist/chunks/solutions-deploy-app-nav.js +7 -6
  98. package/dist/chunks/validators.js +127 -0
  99. package/dist/components/arcgis-solutions-assistant/customElement.js +4 -3
  100. package/dist/components/layer-table/customElement.js +11 -10
  101. package/dist/components/map-card/customElement.js +19 -18
  102. package/dist/components/solution-builder-assistant/customElement.d.ts +72 -2
  103. package/dist/components/solution-builder-assistant/customElement.js +273 -67
  104. package/dist/components/solution-configure-titles/customElement.js +42 -41
  105. package/dist/components/solution-delete-dialog/customElement.js +5 -4
  106. package/dist/components/solution-deploy-dialog/customElement.js +3 -2
  107. package/dist/components/solution-deployed-card/customElement.js +4 -2
  108. package/dist/components/solution-deployed-card-panel/customElement.js +11 -9
  109. package/dist/components/solution-details-card/customElement.js +5 -4
  110. package/dist/components/solution-details-panel/customElement.js +17 -15
  111. package/dist/components/solution-resource-card/customElement.js +7 -6
  112. package/dist/components/solution-snapshot-gallery/customElement.js +14 -13
  113. package/dist/components/solution-social-share/customElement.js +35 -34
  114. package/dist/components/solution-user-avatar/customElement.js +1 -1
  115. package/dist/components/solutions-all-panel/customElement.js +12 -11
  116. package/dist/components/solutions-all-shell/customElement.js +1 -1
  117. package/dist/components/solutions-deploy-app/customElement.js +7 -13
  118. package/dist/components/solutions-deploy-app-nav/customElement.js +5 -3
  119. package/dist/components/solutions-deployed-panel/customElement.js +5 -4
  120. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  121. package/dist/components/solutions-filter-panel/customElement.js +8 -7
  122. package/dist/components/solutions-searchsort-toolbar/customElement.js +9 -8
  123. package/dist/docs/api.json +1 -1
  124. package/dist/docs/docs.json +1 -1
  125. package/dist/docs/vscode.html-custom-data.json +1 -1
  126. package/dist/docs/web-types.json +1 -1
  127. package/dist/index.js +1 -1
  128. package/dist/solutions-components_commit.txt +8 -5
  129. package/dist/utils/interfaces.d.ts +4 -4
  130. package/package.json +1 -1
  131. package/dist/cdn/2AUHEG2A.js +0 -2
  132. package/dist/cdn/2C4TQJVZ.js +0 -2
  133. package/dist/cdn/2KKQKCK4.js +0 -2
  134. package/dist/cdn/2QEXO7ZH.js +0 -2
  135. package/dist/cdn/3DR66XVF.js +0 -2
  136. package/dist/cdn/4GJHDLZU.js +0 -2
  137. package/dist/cdn/7QNQNET4.js +0 -2
  138. package/dist/cdn/ARGV7QZA.js +0 -2
  139. package/dist/cdn/BCDBB2P5.js +0 -2
  140. package/dist/cdn/E26MY5HW.js +0 -2
  141. package/dist/cdn/EUFBJHIH.js +0 -2
  142. package/dist/cdn/FSTBKODU.js +0 -2
  143. package/dist/cdn/GNIPC2YA.js +0 -2
  144. package/dist/cdn/HYJFW2H7.js +0 -2
  145. package/dist/cdn/IKHBFQZ5.js +0 -2
  146. package/dist/cdn/J3VPCRTT.js +0 -2
  147. package/dist/cdn/JHPCQXLT.js +0 -2
  148. package/dist/cdn/MSCYNDSA.js +0 -2
  149. package/dist/cdn/OILJWT3N.js +0 -2
  150. package/dist/cdn/PDKHXNYX.js +0 -2
  151. package/dist/cdn/PUDHZZVS.js +0 -2
  152. package/dist/cdn/R7QOGWYL.js +0 -2
  153. package/dist/cdn/RHM4UJGX.js +0 -2
  154. package/dist/cdn/TJDM5OLA.js +0 -2
  155. package/dist/cdn/TNS6HDBI.js +0 -2
  156. package/dist/cdn/TQWICREM.js +0 -2
  157. package/dist/cdn/UIR3N7OD.js +0 -2
  158. package/dist/cdn/VOEOIQVJ.js +0 -2
  159. package/dist/cdn/WCTKCI5Q.js +0 -2
  160. package/dist/cdn/WVVZVPWX.js +0 -2
  161. package/dist/cdn/Y4D7GWPH.js +0 -2
@@ -4,9 +4,11 @@ import { u as f } from "./useT9n.js";
4
4
  import { LitElement as y, createEvent as p, safeClassMap as w, nothing as h } from "@arcgis/lumina";
5
5
  import { css as M, html as a, svg as C } from "lit";
6
6
  import { A as S } from "./Auth.js";
7
- import { _ as k, K as c, T as _, J as $ } from "./helpers.js";
7
+ import { o as k, h as c } from "./helpers.js";
8
+ import { T as _ } from "./interfaces.js";
8
9
  import { createRef as o, ref as l } from "lit-html/directives/ref.js";
9
- import { UserSession as E } from "@esri/solution-common";
10
+ import { UserSession as $ } from "@esri/solution-common";
11
+ import { u as E } from "./common.js";
10
12
  const u = {
11
13
  name: "arcgis-solutions-app",
12
14
  version: "2.0",
@@ -260,7 +262,7 @@ class A extends y {
260
262
  }
261
263
  async connectedCallback() {
262
264
  super.connectedCallback();
263
- const e = new E({
265
+ const e = new $({
264
266
  username: "",
265
267
  password: ""
266
268
  });
@@ -337,8 +339,7 @@ class A extends y {
337
339
  "my-content": "My Content",
338
340
  resources: "Resources",
339
341
  details: void 0,
340
- "deployed-card": void 0,
341
- "solution-builder": void 0
342
+ "deployed-card": void 0
342
343
  }[e];
343
344
  n && this._telemetry?.logEvent({
344
345
  category: _.GLOBAL_NAVIGATION,
@@ -394,7 +395,7 @@ class A extends y {
394
395
  this._cardType === "details" ? this._handleMenuClick("all-solutions", this._menuItemAll, [this._menuItemMy, this._menuItemResources], !0) : this._cardType === "deployed" && this._handleMenuClick("deployments", this._menuItemMy, [this._menuItemAll, this._menuItemResources], !0);
395
396
  }
396
397
  _updateThumbnailToken(e) {
397
- this._thumbnailUrl !== "" && (this._thumbnailUrl = $(this._thumbnailUrl, e));
398
+ this._thumbnailUrl !== "" && (this._thumbnailUrl = E(this._thumbnailUrl, e));
398
399
  }
399
400
  }
400
401
  I("solutions-deploy-app-nav", A);
@@ -0,0 +1,127 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import * as l from "@esri/solution-common";
3
+ const T = 250, F = /* @__PURE__ */ new Set([
4
+ "add",
5
+ "all",
6
+ "alter",
7
+ "and",
8
+ "any",
9
+ "as",
10
+ "asc",
11
+ "backup",
12
+ "between",
13
+ "by",
14
+ "case",
15
+ "check",
16
+ "column",
17
+ "constraint",
18
+ "create",
19
+ "database",
20
+ "date",
21
+ "default",
22
+ "delete",
23
+ "desc",
24
+ "distinct",
25
+ "drop",
26
+ "exec",
27
+ "exists",
28
+ "foreign",
29
+ "from",
30
+ "full",
31
+ "group",
32
+ "having",
33
+ "in",
34
+ "index",
35
+ "inner",
36
+ "insert",
37
+ "into",
38
+ "is",
39
+ "join",
40
+ "key",
41
+ "left",
42
+ "like",
43
+ "limit",
44
+ "not",
45
+ "null",
46
+ "on",
47
+ "or",
48
+ "order",
49
+ "outer",
50
+ "primary",
51
+ "procedure",
52
+ "right",
53
+ "rownum",
54
+ "select",
55
+ "set",
56
+ "table",
57
+ "top",
58
+ "truncate",
59
+ "union",
60
+ "unique",
61
+ "update",
62
+ "values",
63
+ "view",
64
+ "where"
65
+ ]), g = /* @__PURE__ */ new Set([
66
+ "objectid",
67
+ "globalid",
68
+ "created_date",
69
+ "created_user",
70
+ "last_edited_date",
71
+ "last_edited_user",
72
+ "fid",
73
+ "shape",
74
+ "shape_length",
75
+ "shape_area"
76
+ ]), V = /[\u{1F600}-\u{1F64F}\u{1F300}-\u{1F5FF}\u{1F680}-\u{1F6FF}\u{1F1E0}-\u{1F1FF}\u{2600}-\u{26FF}\u{2700}-\u{27BF}\u{1F900}-\u{1F9FF}\u{1F018}-\u{1F270}\u{238C}-\u{2454}\u{20D0}-\u{20FF}\u{FE0F}]/u;
77
+ function n(e) {
78
+ return !e || e.trim().length === 0;
79
+ }
80
+ function u(e) {
81
+ return e.length > T;
82
+ }
83
+ function s(e, r) {
84
+ return V.test(e) ? !0 : r === "item" ? /[><~`$^+=|]/u.test(e) : /[/<>]/u.test(e);
85
+ }
86
+ async function w(e, r) {
87
+ const t = r, a = await t.getUsername(), f = {
88
+ q: new l.SearchQueryBuilder().match(e).in("title").and().match(a).in("owner"),
89
+ filter: "type:Solution",
90
+ authentication: t
91
+ }, d = (await l.searchAllItems(f)).results.map((i) => i.title), { folders: y } = await l.getFoldersAndGroups(t), h = y.map((i) => i.title), o = [...d, ...h].map((i) => i.trim().toLowerCase()), c = e.toLowerCase(), p = o.filter((i) => i === c), m = o.filter((i) => i.startsWith(c));
92
+ return { conflictingNames: p, similiarNames: m };
93
+ }
94
+ async function v(e, r, t = !1) {
95
+ return n(e) ? { isValid: !1, errorType: "empty" } : u(e) ? { isValid: !1, errorType: "exceed-length" } : s(e, "folder") || s(e, "item") ? { isValid: !1, errorType: "special-character" } : !t && r && (await w(e.trim(), r)).conflictingNames.length > 0 ? { isValid: !1, errorType: "not-unique" } : { isValid: !0, errorType: null };
96
+ }
97
+ function x(e) {
98
+ return n(e) ? { isValid: !1, errorType: "empty" } : u(e) ? { isValid: !1, errorType: "exceed-length" } : s(e, "item") ? { isValid: !1, errorType: "special-character" } : { isValid: !0, errorType: null };
99
+ }
100
+ function L(e, r, t = !1) {
101
+ if (e.length > r)
102
+ return { isValid: !1, errorType: "exceed-length" };
103
+ const a = [];
104
+ return e.includes("<") && a.push("<"), e.includes(">") && a.push(">"), !t && e.includes("/") && a.push("/"), a.length > 0 ? { isValid: !1, errorType: "special-character" } : { isValid: !0, errorType: null };
105
+ }
106
+ function C(e) {
107
+ return n(e) ? { isValid: !1, errorType: "empty" } : u(e) ? { isValid: !1, errorType: "exceed-length" } : { isValid: !0, errorType: null };
108
+ }
109
+ function S(e, r = []) {
110
+ return n(e) ? { isValid: !1, errorType: "empty" } : /^[a-zA-Z][a-zA-Z0-9_]*$/.test(e) ? e.length > 31 ? { isValid: !1, errorType: "exceed-length" } : F.has(e.toLowerCase()) ? { isValid: !1, errorType: "sql-keyword" } : g.has(e.toLowerCase()) ? { isValid: !1, errorType: "system-field" } : r.includes(e.toLowerCase()) ? { isValid: !1, errorType: "duplicate-field" } : { isValid: !0, errorType: null } : { isValid: !1, errorType: "invalid-format" };
111
+ }
112
+ function b(e) {
113
+ return e < 1 || e > 4e3 ? { isValid: !1, errorType: "out-of-range" } : { isValid: !0, errorType: null };
114
+ }
115
+ function I(e, r, t = !1) {
116
+ return t ? { isValid: !0, errorType: null } : e.trim().length === 0 ? { isValid: !1, errorType: "empty" } : e.length > r ? { isValid: !1, errorType: "exceed-length" } : { isValid: !0, errorType: null };
117
+ }
118
+ export {
119
+ v as a,
120
+ L as b,
121
+ C as c,
122
+ S as d,
123
+ I as e,
124
+ b as f,
125
+ w as g,
126
+ x as v
127
+ };
@@ -6,7 +6,8 @@ import { css as CP, html as va } from "lit";
6
6
  import { unsafeHTML as PP } from "lit/directives/unsafe-html.js";
7
7
  import { useContextConsumer as NP } from "@arcgis/lumina/context";
8
8
  import { c as RP } from "../../chunks/deployAppContexts.js";
9
- import { W as MP, T as jP } from "../../chunks/helpers.js";
9
+ import { T as MP } from "../../chunks/interfaces.js";
10
+ import { m as jP } from "../../chunks/helpers.js";
10
11
  import DP from "@arcgis/core/config.js";
11
12
  import { createRef as UP, ref as zP } from "lit-html/directives/ref.js";
12
13
  import { c as Xo, w as Kr, g as LP, r as FP, f as BP } from "../../chunks/get.js";
@@ -52791,9 +52792,9 @@ class jq extends OP {
52791
52792
  this._conversationId = void 0, this._suggestedPrompts = [], this._hasInteracted = !1, this._assistantRef.value?.clearChatHistory();
52792
52793
  }} scale=m slot=header-actions-end></calcite-action><calcite-tooltip placement=bottom reference-element=newChatButton><span>${this._translations.tooltips.newConversation}</span></calcite-tooltip>${!this._isMobile && va`<calcite-tooltip placement=bottom reference-element=solutionBuilderAction><span>${this._translations.tooltips.toggleSolutionBuilder}</span></calcite-tooltip>` || ""}<arcgis-assistant reference-element copy-enabled feedback-enabled heading description entry-message=${this._translations.defaultStartUpMessage ?? cv} .suggestedPrompts=${t} @arcgisSubmit=${(n) => {
52793
52794
  console.log("arcgis submit: ", n.detail), this._suggestedPrompts = [], this._hasInteracted = !0;
52794
- const r = Date.now(), i = MP(r), a = n.detail || "Unknown";
52795
+ const r = Date.now(), i = jP(r), a = n.detail || "Unknown";
52795
52796
  this._telemetry?.logEvent({
52796
- category: jP.ASSISTANT,
52797
+ category: MP.ASSISTANT,
52797
52798
  action: "Chat",
52798
52799
  dimensions: [a],
52799
52800
  metrics: [i]
@@ -3,20 +3,21 @@ import { c as I } from "../../chunks/runtime.js";
3
3
  import { e as w, g as T, c as v } from "../../chunks/mapViewUtils.js";
4
4
  import { b as E } from "../../chunks/queryUtils.js";
5
5
  import { d as x } from "../../chunks/downloadUtils.js";
6
- import { C as S, b } from "../../chunks/helpers.js";
7
- import { defineCustomElements as F } from "@arcgis/instant-apps-components/loader";
8
- import { u as O } from "../../chunks/useT9n.js";
9
- import { css as C, html as o, nothing as c } from "lit";
6
+ import { b } from "../../chunks/interfaces.js";
7
+ import { defineCustomElements as S } from "@arcgis/instant-apps-components/loader";
8
+ import { u as F } from "../../chunks/useT9n.js";
9
+ import { css as O, html as o, nothing as c } from "lit";
10
10
  import { createRef as g, ref as p } from "lit-html/directives/ref.js";
11
- import { LitElement as A, createEvent as _, noShadowRoot as H, safeClassMap as y } from "@arcgis/lumina";
11
+ import { LitElement as C, createEvent as _, noShadowRoot as A, safeClassMap as y } from "@arcgis/lumina";
12
+ import { c as H } from "../../chunks/helpers.js";
12
13
  import L from "@arcgis/core/widgets/FeatureTable";
13
14
  import * as u from "@arcgis/core/core/reactiveUtils";
14
15
  import $ from "@arcgis/core/rest/support/RelationshipQuery";
15
16
  import m from "@arcgis/core/widgets/FeatureTable/support/TableTemplate";
16
- const D = C`@layer{:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-surface-1)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-dialog-content-space: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-surface-2)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
17
- class M extends A {
17
+ const D = O`@layer{:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-surface-1)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-dialog-content-space: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-surface-2)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
18
+ class M extends C {
18
19
  constructor() {
19
- super(), this.defaultGlobalId = [], this.defaultLayerId = "", this.defaultOid = [], this.enableAutoRefresh = !1, this.enableColumnReorder = !0, this.enableCSV = !1, this.enableInlineEdit = !1, this.enableShare = !1, this.enableTableAutosave = !0, this.featureSelectionMode = "multiple", this.selectedRelatedIds = [], this.honorMapFieldSettings = !1, this.isMobile = !1, this.mapHidden = !1, this.showOnlyUpdatableLayers = !1, this.selectedIds = [], this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.showNewestFirst = !1, this.zoomAndScrollToSelected = !1, this._allIds = [], this._configLayerOrderDefined = !1, this._csvExporting = !1, this._fetchingData = !1, this._hideTable = !1, this._filterActive = !1, this._selectAllActive = !1, this._showHideOpen = !1, this._showOnlySelected = !1, this._toolInfos = [], this._translations = O({ name: "layer-table", blocking: !0 }), this._fullTextSearchInfo = [], this._searchPlaceHolder = "", this._size = 0, this._queryingData = !1, this._editEnabled = !1, this._enabledLayerIds = [], this._defaultGlobalIdHonored = !1, this._defaultOidHonored = !1, this._deleteEnabled = !1, this._floorExpression = "", this._floorField = "", this._floorLevel = "", this._loaded = !1, this._shareNode = g(), this._toolbar = g(), this._searchExpression = "", this._skipEditCheck = !1, this._tempSelectedIds = [], this._outOFExtentOids = [], this._shouldUpdateTableOnExtentChange = !0, this._creatingFeature = !1, this._searchNode = g(), this.columnReorder = _(), this.featureSelectionChange = _(), this.toggleFilter = _(), this.showDelete = _(), this.relatedRecordToggled = _(), this.editMultipleFeatures = _(), this.listenOn(window, "beforeMapInfoChange", this.beforeMapInfoChange, { capture: !0 }), this.listenOn(window, "editorInitialized", this.editorInitialized), this.listenOn(window, "closeEdit", this.closeEdit), this.listenOn(window, "selectionChanged", this.selectionChanged), this.listenOn(window, "beforeLayerSelectionChange", this.beforeLayerSelectionChange), this.listenOn(window, "layerSelectionChange", this.layerSelectionChange), this.listenOn(window, "editsComplete", this.editsComplete), this.listenOn(window, "facilityChanged", this.facilityChanged), this.listenOn(window, "levelChanged", this.levelChanged), this.listenOn(window, "siteChanged", this.siteChanged), this.listenOn(window, "noLayersFound", this.noLayersFound), this.listenOn(window, "clearSelection", this.clearSelection), this.listenOn(window, "mapChanged", this.mapChanged), this.listenOn(window, "featuresSelected", this.featuresSelected), this.listenOn(window, "createWorkFlowStarted", this.createWorkFlowStarted), this.listenOn(window, "backFromCreateWorkFlow", this.backFromCreateWorkFlow), F(window);
20
+ super(), this.defaultGlobalId = [], this.defaultLayerId = "", this.defaultOid = [], this.enableAutoRefresh = !1, this.enableColumnReorder = !0, this.enableCSV = !1, this.enableInlineEdit = !1, this.enableShare = !1, this.enableTableAutosave = !0, this.featureSelectionMode = "multiple", this.selectedRelatedIds = [], this.honorMapFieldSettings = !1, this.isMobile = !1, this.mapHidden = !1, this.showOnlyUpdatableLayers = !1, this.selectedIds = [], this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.showNewestFirst = !1, this.zoomAndScrollToSelected = !1, this._allIds = [], this._configLayerOrderDefined = !1, this._csvExporting = !1, this._fetchingData = !1, this._hideTable = !1, this._filterActive = !1, this._selectAllActive = !1, this._showHideOpen = !1, this._showOnlySelected = !1, this._toolInfos = [], this._translations = F({ name: "layer-table", blocking: !0 }), this._fullTextSearchInfo = [], this._searchPlaceHolder = "", this._size = 0, this._queryingData = !1, this._editEnabled = !1, this._enabledLayerIds = [], this._defaultGlobalIdHonored = !1, this._defaultOidHonored = !1, this._deleteEnabled = !1, this._floorExpression = "", this._floorField = "", this._floorLevel = "", this._loaded = !1, this._shareNode = g(), this._toolbar = g(), this._searchExpression = "", this._skipEditCheck = !1, this._tempSelectedIds = [], this._outOFExtentOids = [], this._shouldUpdateTableOnExtentChange = !0, this._creatingFeature = !1, this._searchNode = g(), this.columnReorder = _(), this.featureSelectionChange = _(), this.toggleFilter = _(), this.showDelete = _(), this.relatedRecordToggled = _(), this.editMultipleFeatures = _(), this.listenOn(window, "beforeMapInfoChange", this.beforeMapInfoChange, { capture: !0 }), this.listenOn(window, "editorInitialized", this.editorInitialized), this.listenOn(window, "closeEdit", this.closeEdit), this.listenOn(window, "selectionChanged", this.selectionChanged), this.listenOn(window, "beforeLayerSelectionChange", this.beforeLayerSelectionChange), this.listenOn(window, "layerSelectionChange", this.layerSelectionChange), this.listenOn(window, "editsComplete", this.editsComplete), this.listenOn(window, "facilityChanged", this.facilityChanged), this.listenOn(window, "levelChanged", this.levelChanged), this.listenOn(window, "siteChanged", this.siteChanged), this.listenOn(window, "noLayersFound", this.noLayersFound), this.listenOn(window, "clearSelection", this.clearSelection), this.listenOn(window, "mapChanged", this.mapChanged), this.listenOn(window, "featuresSelected", this.featuresSelected), this.listenOn(window, "createWorkFlowStarted", this.createWorkFlowStarted), this.listenOn(window, "backFromCreateWorkFlow", this.backFromCreateWorkFlow), S(window);
20
21
  }
21
22
  static {
22
23
  this.properties = { appLayout: 1, defaultGlobalId: 0, defaultLayerId: 1, defaultOid: 0, enableAutoRefresh: 5, enableColumnReorder: 5, enableCSV: 5, enableInlineEdit: 5, enableShare: 5, enableTableAutosave: 5, featureSelectionMode: 1, selectedRelatedIds: 0, honorMapFieldSettings: 5, isMobile: 5, mapHidden: 5, mapInfo: 0, mapView: 0, showOnlyUpdatableLayers: 5, selectedIds: 0, shareIncludeEmbed: 5, shareIncludeSocial: 5, showNewestFirst: 5, zoomAndScrollToSelected: 5, zoomToScale: 9, _allIds: 16, _configLayerOrderDefined: 16, _csvExporting: 16, _fetchingData: 16, _hideTable: 16, _filterActive: 16, _layer: 16, _selectAllActive: 16, _showHideOpen: 16, _showOnlySelected: 16, _toolInfos: 16, _translations: 16, _fullTextSearchInfo: 16, _searchPlaceHolder: 16, _size: 16, _queryingData: 16 };
@@ -25,7 +26,7 @@ class M extends A {
25
26
  this.styles = D;
26
27
  }
27
28
  static {
28
- this.shadowRootOptions = H;
29
+ this.shadowRootOptions = A;
29
30
  }
30
31
  willUpdate(e) {
31
32
  if (e.has("appLayout") && this.appLayoutWatchHandler(), e.has("defaultOid") && this.defaultOidWatchHandler(), e.has("defaultGlobalId") && this.defaultGlobalIdWatchHandler(), e.has("enableCSV") && this.enableCSVWatchHandler(), e.has("enableInlineEdit") && this.enableInlineEditWatchHandler(), e.has("mapHidden") && this.mapHiddenWatchHandler(), e.has("isMobile") && this.isMobileWatchHandler(), e.has("mapInfo") && this.mapInfoWatchHandler(), e.has("mapView") && this.mapViewWatchHandler(), e.has("_layer") && this._layerWatchHandler(), e.has("selectedIds") && (this.hasUpdated || JSON.stringify(e.get("selectedIds")) !== JSON.stringify(this.selectedIds)) && this.selectedIdsWatchHandler(), e.has("selectedRelatedIds") && (this.hasUpdated || JSON.stringify(e.get("selectedRelatedIds")) !== JSON.stringify(this.selectedRelatedIds)) && this.selectedRelatedIdsWatchHandler(), e.has("enableTableAutosave") && this.hasUpdated && this._table && (this._table.autoSaveEnabled = this.enableTableAutosave), e.has("_translations")) {
@@ -55,7 +56,7 @@ class M extends A {
55
56
  !this._toolInfos && !this.isMobile && await this._initToolInfos();
56
57
  }
57
58
  async mapInfoWatchHandler() {
58
- this._configLayerOrderDefined = "configLayerOrder" in (this.mapInfo?.layerOptions || {}), this._enabledLayerIds = S(this.mapInfo?.layerOptions?.layers || [], this.mapInfo?.layerOptions?.configLayerOrder), this._table && (this._resetColumnTemplates(), this._sortTable(), await this._initToolInfos());
59
+ this._configLayerOrderDefined = "configLayerOrder" in (this.mapInfo?.layerOptions || {}), this._enabledLayerIds = H(this.mapInfo?.layerOptions?.layers || [], this.mapInfo?.layerOptions?.configLayerOrder), this._table && (this._resetColumnTemplates(), this._sortTable(), await this._initToolInfos());
59
60
  }
60
61
  async mapViewWatchHandler() {
61
62
  this._mapClickHandle && this._mapClickHandle.remove(), this.mapView && (this._floorExpression = "", this._searchExpression = "undefined", this.mapView.highlights = [
@@ -1,29 +1,30 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as b } from "../../chunks/runtime.js";
3
- import { C as y, b as c } from "../../chunks/helpers.js";
4
- import { joinAppProxies as _ } from "templates-common-library/functionality/proxy";
5
- import { c as g, e as v } from "../../chunks/mapViewUtils.js";
6
- import { u as I } from "../../chunks/useT9n.js";
7
- import { css as $, html as o, nothing as m } from "lit";
3
+ import { b as c } from "../../chunks/interfaces.js";
4
+ import { joinAppProxies as y } from "templates-common-library/functionality/proxy";
5
+ import { c as _, e as g } from "../../chunks/mapViewUtils.js";
6
+ import { u as v } from "../../chunks/useT9n.js";
7
+ import { css as I, html as o, nothing as m } from "lit";
8
8
  import { createRef as d, ref as r } from "lit-html/directives/ref.js";
9
- import { LitElement as L, createEvent as p, noShadowRoot as w, safeClassMap as f } from "@arcgis/lumina";
10
- import { defineCustomElements as M } from "@arcgis/instant-apps-components/loader";
9
+ import { LitElement as $, createEvent as p, noShadowRoot as L, safeClassMap as f } from "@arcgis/lumina";
10
+ import { defineCustomElements as w } from "@arcgis/instant-apps-components/loader";
11
+ import { c as M } from "../../chunks/helpers.js";
11
12
  import S from "@arcgis/core/config";
12
13
  import T from "@arcgis/core/views/MapView";
13
14
  import W from "@arcgis/core/WebMap";
14
- const C = $`@layer{:host{display:block;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.hidden{visibility:hidden!important}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}.esri-ui-inner-container.esri-ui-corner-container{direction:ltr}html[dir=rtl] .absolute-right{left:0;right:unset}.panel-header-override{--calcite-panel-header-content-space: 0px;--calcite-internal-panel-action-spacing: 0px !important}@media only screen and (max-width:1024px){.esri-zoom{display:none!important}}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
15
- class k extends L {
15
+ const k = I`@layer{:host{display:block;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.hidden{visibility:hidden!important}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}.esri-ui-inner-container.esri-ui-corner-container{direction:ltr}html[dir=rtl] .absolute-right{left:0;right:unset}.panel-header-override{--calcite-panel-header-content-space: 0px;--calcite-internal-panel-action-spacing: 0px !important}@media only screen and (max-width:1024px){.esri-zoom{display:none!important}}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
16
+ class C extends $ {
16
17
  constructor() {
17
- super(), this.defaultWebmapId = "", this.defaultLayerId = "", this.enableHome = !1, this.enableLegend = !1, this.enableLayerList = !0, this.enableFloorFilter = !1, this.enableFullscreen = !1, this.enableShare = !1, this.enableMapLayerPicker = !1, this.enableMapPicker = !1, this.enableSingleExpand = !1, this.enableSearch = !1, this.enableBasemap = !1, this.featureSelectionMode = "multiple", this.hide = !1, this.zoomToolsSize = "m", this.mapInfos = [], this.mapWidgetsIndex = 0, this.mapWidgetsPosition = "top-leading", this.mobileMapWidgetsPosition = "top-right", this.mapWidgetsSize = "m", this.stackTools = !1, this.mapToolsOrder = [], this.mobileToolsOrder = [], this.isMapLayout = !1, this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.selectedFeaturesIds = [], this.showOnlyUpdatableLayers = !1, this.isMobile = !1, this.enableSelectionTool = !1, this.visibilityIcon = "eyeball", this._configLayerOrderDefined = !1, this._translations = I({ name: "map-card", blocking: !0 }), this._toolInfos = [], this._filterActive = !1, this._layerIds = [], this._enabledLayerIds = [], this._defaultWebmapHonored = !1, this._loadedId = "", this._mapDiv = d(), this._mapPicker = d(), this._mapTools = d(), this._mobMapTools = d(), this._mapLayerPicker = d(), this._selectedWebMapId = "", this._isValidWebMap = !0, this.mapChanged = p(), this.beforeMapChanged = p(), this.toggleFilter = p(), this.clearSelection = p(), this.editMultipleFeatures = p(), this.listenOn(window, "mapInfoChange", this.mapInfoChange), this.listenOn(window, "noLayersFound", this.noLayersFound), this.listenOn(window, "layerSelectionChange", this.layerSelectionChange), this.listenOn(window, "idsFound", this._idsFound), this.enableSingleExpand = !0, this.stackTools = !0, M(window);
18
+ super(), this.defaultWebmapId = "", this.defaultLayerId = "", this.enableHome = !1, this.enableLegend = !1, this.enableLayerList = !0, this.enableFloorFilter = !1, this.enableFullscreen = !1, this.enableShare = !1, this.enableMapLayerPicker = !1, this.enableMapPicker = !1, this.enableSingleExpand = !1, this.enableSearch = !1, this.enableBasemap = !1, this.featureSelectionMode = "multiple", this.hide = !1, this.zoomToolsSize = "m", this.mapInfos = [], this.mapWidgetsIndex = 0, this.mapWidgetsPosition = "top-leading", this.mobileMapWidgetsPosition = "top-right", this.mapWidgetsSize = "m", this.stackTools = !1, this.mapToolsOrder = [], this.mobileToolsOrder = [], this.isMapLayout = !1, this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.selectedFeaturesIds = [], this.showOnlyUpdatableLayers = !1, this.isMobile = !1, this.enableSelectionTool = !1, this.visibilityIcon = "eyeball", this._configLayerOrderDefined = !1, this._translations = v({ name: "map-card", blocking: !0 }), this._toolInfos = [], this._filterActive = !1, this._layerIds = [], this._enabledLayerIds = [], this._defaultWebmapHonored = !1, this._loadedId = "", this._mapDiv = d(), this._mapPicker = d(), this._mapTools = d(), this._mobMapTools = d(), this._mapLayerPicker = d(), this._selectedWebMapId = "", this._isValidWebMap = !0, this.mapChanged = p(), this.beforeMapChanged = p(), this.toggleFilter = p(), this.clearSelection = p(), this.editMultipleFeatures = p(), this.listenOn(window, "mapInfoChange", this.mapInfoChange), this.listenOn(window, "noLayersFound", this.noLayersFound), this.listenOn(window, "layerSelectionChange", this.layerSelectionChange), this.listenOn(window, "idsFound", this._idsFound), this.enableSingleExpand = !0, this.stackTools = !0, w(window);
18
19
  }
19
20
  static {
20
21
  this.properties = { appLayout: 1, appProxies: 1, defaultWebmapId: 1, defaultLayerId: 1, enableHome: 5, enableLegend: 5, enableLayerList: 5, enableFloorFilter: 5, enableFullscreen: 5, enableShare: 5, enableMapLayerPicker: 5, enableMapPicker: 5, enableSingleExpand: 5, enableSearch: 5, enableBasemap: 5, featureSelectionMode: 1, basemapConfig: 0, hide: 5, zoomToolsSize: 1, mapInfos: 0, mapWidgetsIndex: 9, mapWidgetsPosition: 1, mobileMapWidgetsPosition: 1, mapWidgetsSize: 1, mapView: 0, stackTools: 5, theme: 1, mapToolsOrder: 0, mobileToolsOrder: 0, isMapLayout: 5, shareIncludeEmbed: 5, shareIncludeSocial: 5, selectedFeaturesIds: 0, selectedLayer: 0, zoomToScale: 9, showOnlyUpdatableLayers: 5, isMobile: 5, mapInfo: 0, enableSelectionTool: 5, visibilityIcon: 1, _configLayerOrderDefined: 16, _translations: 16, _searchConfiguration: 16, _webMapInfo: 16, _toolInfos: 16, _filterActive: 16, _mapDivHeight: 16, _mapDivWidth: 16, _layerIds: 16 };
21
22
  }
22
23
  static {
23
- this.styles = C;
24
+ this.styles = k;
24
25
  }
25
26
  static {
26
- this.shadowRootOptions = w;
27
+ this.shadowRootOptions = L;
27
28
  }
28
29
  willUpdate(e) {
29
30
  e.has("appLayout") && this.appLayoutWatchHandler(), e.has("mapView") && this.mapViewWatchHandler(), e.has("mapInfo") && this.mapInfoWatchHandler(), e.has("selectedFeaturesIds") && this.selectedFeaturesIdsWatchHandler();
@@ -32,7 +33,7 @@ class k extends L {
32
33
  this._updateShareUrl();
33
34
  }
34
35
  async mapInfoWatchHandler() {
35
- this._configLayerOrderDefined = "configLayerOrder" in (this.mapInfo?.layerOptions || {}), this._enabledLayerIds = y(this.mapInfo?.layerOptions?.layers || [], this.mapInfo?.layerOptions?.configLayerOrder);
36
+ this._configLayerOrderDefined = "configLayerOrder" in (this.mapInfo?.layerOptions || {}), this._enabledLayerIds = M(this.mapInfo?.layerOptions?.layers || [], this.mapInfo?.layerOptions?.configLayerOrder);
36
37
  }
37
38
  async mapViewWatchHandler() {
38
39
  this.mapView && this._updateShareUrl();
@@ -87,7 +88,7 @@ class k extends L {
87
88
  portalItem: { id: s }
88
89
  });
89
90
  try {
90
- l && await l.load(), this.appProxies && l && await _(l, S, this.appProxies), this.mapView = new T({
91
+ l && await l.load(), this.appProxies && l && await y(l, S, this.appProxies), this.mapView = new T({
91
92
  container: this._mapDiv.value,
92
93
  map: l,
93
94
  resizeAlign: "center"
@@ -203,8 +204,8 @@ class k extends L {
203
204
  }
204
205
  async _zoom() {
205
206
  if (this.selectedLayer && this.mapView) {
206
- const e = await g(this.mapView, this.selectedLayer.id);
207
- e && await v(this.selectedFeaturesIds, e, this.mapView, !0, void 0, this.zoomToScale);
207
+ const e = await _(this.mapView, this.selectedLayer.id);
208
+ e && await g(this.selectedFeaturesIds, e, this.mapView, !0, void 0, this.zoomToScale);
208
209
  }
209
210
  }
210
211
  async _toggleFilter() {
@@ -224,7 +225,7 @@ class k extends L {
224
225
  return `solutions-action-${e}`;
225
226
  }
226
227
  }
227
- b("map-card", k);
228
+ b("map-card", C);
228
229
  export {
229
- k as MapCard
230
+ C as MapCard
230
231
  };
@@ -18,8 +18,13 @@ export abstract class SolutionBuilderAssistant extends LitElement {
18
18
  hideBuilder: string;
19
19
  name: string;
20
20
  namePlaceholder: string;
21
+ solutionNameErrorBlank: string;
22
+ solutionNameErrorLength: string;
23
+ solutionNameErrorSpecialCharacter: string;
21
24
  description: string;
22
- descriptionPlaceholder: string;
25
+ solutionDescriptionPlaceholder: string;
26
+ descriptionErrorLength: string;
27
+ descriptionErrorSpecialCharacter: string;
23
28
  deploy: string;
24
29
  viewDiagram: string;
25
30
  openHelp: string;
@@ -30,21 +35,47 @@ export abstract class SolutionBuilderAssistant extends LitElement {
30
35
  edit: string;
31
36
  editItemContent: string;
32
37
  title: string;
38
+ titlePlaceholder: string;
39
+ itemTitleErrorBlank: string;
40
+ itemTitleErrorLength: string;
41
+ itemTitleErrorSpecialCharacter: string;
42
+ descriptionPlaceholder: string;
43
+ itemDescriptionErrorLength: string;
44
+ itemDescriptionErrorSpecialCharacter: string;
33
45
  apply: string;
34
46
  close: string;
35
47
  solutionThumbnail: string;
36
48
  layer: string;
37
49
  addLayer: string;
38
50
  layerNamePlaceholder: string;
51
+ layerNameErrorBlank: string;
52
+ layerNameErrorLength: string;
53
+ layerNameErrorSpecialCharacter: string;
39
54
  type: string;
40
55
  pointLayer: string;
41
56
  lineLayer: string;
42
57
  polygonLayer: string;
43
58
  tableLayer: string;
44
59
  layerDescriptionPlaceholder: string;
60
+ layerDescriptionErrorLength: string;
61
+ layerDescriptionErrorSpecialCharacter: string;
45
62
  fields: string;
46
63
  displayName: string;
64
+ displayNamePlaceholder: string;
65
+ displayNameErrorBlank: string;
66
+ displayNameErrorLength: string;
47
67
  fieldName: string;
68
+ fieldNamePlaceholder: string;
69
+ fieldNameErrorBlank: string;
70
+ fieldNameErrorInvalidChars: string;
71
+ fieldNameErrorLength: string;
72
+ fieldNameErrorExists: string;
73
+ fieldNameErrorSQLKeyword: string;
74
+ fieldNameErrorSystemField: string;
75
+ fieldDescription: string;
76
+ fieldDescriptionPlaceholder: string;
77
+ fieldDescriptionErrorLength: string;
78
+ fieldDescriptionErrorSpecialCharacter: string;
48
79
  domain: string;
49
80
  addField: string;
50
81
  systemFieldsNote: string;
@@ -59,6 +90,10 @@ export abstract class SolutionBuilderAssistant extends LitElement {
59
90
  dateType: string;
60
91
  guidType: string;
61
92
  length: string;
93
+ lengthErrorOutOfRange: string;
94
+ domainValuePlaceholder: string;
95
+ domainValueErrorEmpty: string;
96
+ domainValueErrorExceedsLength: string;
62
97
  } & T9nMeta<{
63
98
  headerTitle: string;
64
99
  noticeMessage: string;
@@ -68,8 +103,13 @@ export abstract class SolutionBuilderAssistant extends LitElement {
68
103
  hideBuilder: string;
69
104
  name: string;
70
105
  namePlaceholder: string;
106
+ solutionNameErrorBlank: string;
107
+ solutionNameErrorLength: string;
108
+ solutionNameErrorSpecialCharacter: string;
71
109
  description: string;
72
- descriptionPlaceholder: string;
110
+ solutionDescriptionPlaceholder: string;
111
+ descriptionErrorLength: string;
112
+ descriptionErrorSpecialCharacter: string;
73
113
  deploy: string;
74
114
  viewDiagram: string;
75
115
  openHelp: string;
@@ -80,21 +120,47 @@ export abstract class SolutionBuilderAssistant extends LitElement {
80
120
  edit: string;
81
121
  editItemContent: string;
82
122
  title: string;
123
+ titlePlaceholder: string;
124
+ itemTitleErrorBlank: string;
125
+ itemTitleErrorLength: string;
126
+ itemTitleErrorSpecialCharacter: string;
127
+ descriptionPlaceholder: string;
128
+ itemDescriptionErrorLength: string;
129
+ itemDescriptionErrorSpecialCharacter: string;
83
130
  apply: string;
84
131
  close: string;
85
132
  solutionThumbnail: string;
86
133
  layer: string;
87
134
  addLayer: string;
88
135
  layerNamePlaceholder: string;
136
+ layerNameErrorBlank: string;
137
+ layerNameErrorLength: string;
138
+ layerNameErrorSpecialCharacter: string;
89
139
  type: string;
90
140
  pointLayer: string;
91
141
  lineLayer: string;
92
142
  polygonLayer: string;
93
143
  tableLayer: string;
94
144
  layerDescriptionPlaceholder: string;
145
+ layerDescriptionErrorLength: string;
146
+ layerDescriptionErrorSpecialCharacter: string;
95
147
  fields: string;
96
148
  displayName: string;
149
+ displayNamePlaceholder: string;
150
+ displayNameErrorBlank: string;
151
+ displayNameErrorLength: string;
97
152
  fieldName: string;
153
+ fieldNamePlaceholder: string;
154
+ fieldNameErrorBlank: string;
155
+ fieldNameErrorInvalidChars: string;
156
+ fieldNameErrorLength: string;
157
+ fieldNameErrorExists: string;
158
+ fieldNameErrorSQLKeyword: string;
159
+ fieldNameErrorSystemField: string;
160
+ fieldDescription: string;
161
+ fieldDescriptionPlaceholder: string;
162
+ fieldDescriptionErrorLength: string;
163
+ fieldDescriptionErrorSpecialCharacter: string;
98
164
  domain: string;
99
165
  addField: string;
100
166
  systemFieldsNote: string;
@@ -109,6 +175,10 @@ export abstract class SolutionBuilderAssistant extends LitElement {
109
175
  dateType: string;
110
176
  guidType: string;
111
177
  length: string;
178
+ lengthErrorOutOfRange: string;
179
+ domainValuePlaceholder: string;
180
+ domainValueErrorEmpty: string;
181
+ domainValueErrorExceedsLength: string;
112
182
  }>;
113
183
  /** Solution design - can be set externally for demo/testing */
114
184
  accessor design: ISolutionDesign | null;