@esri/solutions-components 5.1.0-next.146 → 5.1.0-next.148

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 (107) hide show
  1. package/dist/cdn/{BQE6IVEF.js → 3A2YSBVB.js} +1 -1
  2. package/dist/cdn/{QKJJHBMB.js → 42GXADY4.js} +1 -1
  3. package/dist/cdn/{L3UI7EZZ.js → 4DAGSZIC.js} +1 -1
  4. package/dist/cdn/{ULUJKWT5.js → 4FRYNYQ6.js} +1 -1
  5. package/dist/cdn/4RJURJQ5.js +2 -0
  6. package/dist/cdn/{7CLM77HQ.js → 4SBOBTOR.js} +1 -1
  7. package/dist/cdn/{CVRBLJ5O.js → 5MPDXVRM.js} +1 -1
  8. package/dist/cdn/{MPCJZCL5.js → 5O7LFBHI.js} +2 -2
  9. package/dist/cdn/{7ADKNWWI.js → 6AUKNSKW.js} +1 -1
  10. package/dist/cdn/{FSWG7SUT.js → 6K3C5JX2.js} +1 -1
  11. package/dist/cdn/6VCG2ITQ.js +2 -0
  12. package/dist/cdn/{NOXANMDF.js → 757HAEJS.js} +1 -1
  13. package/dist/cdn/{P4XNRWG7.js → 7Q5BT35O.js} +1 -1
  14. package/dist/cdn/{4NZDPHHF.js → 7WYPODAB.js} +1 -1
  15. package/dist/cdn/{463VANZI.js → BH42V5CR.js} +1 -1
  16. package/dist/cdn/DD2Y5NOB.js +2 -0
  17. package/dist/cdn/{J5K2SIY6.js → DMM5WA5Q.js} +3 -3
  18. package/dist/cdn/DO7NLLUV.js +2 -0
  19. package/dist/cdn/{UKQPYE7U.js → DQQTSOMQ.js} +1 -1
  20. package/dist/cdn/{Y4KGXRSD.js → FWLPMS4Q.js} +1 -1
  21. package/dist/cdn/{M4II4TSX.js → G3C6IL5Y.js} +1 -1
  22. package/dist/cdn/{3DCFUYKP.js → GG4IIHQE.js} +1 -1
  23. package/dist/cdn/GRQLB7ZG.js +2 -0
  24. package/dist/cdn/{5DEYOM7D.js → HQLA2AI4.js} +1 -1
  25. package/dist/cdn/{MHVLVLRA.js → HYQVSB6C.js} +1 -1
  26. package/dist/cdn/I46CXTVR.js +2 -0
  27. package/dist/cdn/{MIH5YMTN.js → JMBANG5V.js} +1 -1
  28. package/dist/cdn/KETYOYXQ.js +2 -0
  29. package/dist/cdn/{GJD7AOUI.js → KH5WPLZK.js} +1 -1
  30. package/dist/cdn/{IDEOFV22.js → LTLR4VF3.js} +1 -1
  31. package/dist/cdn/NQH7ZZWD.js +2 -0
  32. package/dist/cdn/OANAQ6HY.js +2 -0
  33. package/dist/cdn/{FAIQTEVJ.js → PP7EF7UU.js} +1 -1
  34. package/dist/cdn/{L6P26BYB.js → Q2DJUFVO.js} +1 -1
  35. package/dist/cdn/{LCV5GKUD.js → Q35DDH7J.js} +123 -123
  36. package/dist/cdn/{RIHOGDUV.js → QC4MO5BO.js} +1 -1
  37. package/dist/cdn/QDKHYQJB.js +2 -0
  38. package/dist/cdn/{FCJSMT5G.js → RMO244NW.js} +1 -1
  39. package/dist/cdn/RY6KZ77P.js +2 -0
  40. package/dist/cdn/{PBGG3TGN.js → RYBSWXQQ.js} +1 -1
  41. package/dist/cdn/{2UMMLVCR.js → SYQ5E5TV.js} +1 -1
  42. package/dist/cdn/{E6YCTW3S.js → TKOGOWYQ.js} +14 -14
  43. package/dist/cdn/UBEU6ULP.js +2 -0
  44. package/dist/cdn/UCQJWFUW.js +2 -0
  45. package/dist/cdn/{2PUK3PST.js → W7I22AW3.js} +1 -1
  46. package/dist/cdn/{RUQ4RO4T.js → WUEJANIZ.js} +1 -1
  47. package/dist/cdn/{BMMIXOTR.js → WXL7GVUU.js} +1 -1
  48. package/dist/cdn/{B5MBF4JC.js → XO54BFTC.js} +1 -1
  49. package/dist/cdn/{XGYNSCTA.js → Y37QLEAM.js} +1 -1
  50. package/dist/cdn/{O6ZQYZKL.js → YFJZN5K5.js} +1 -1
  51. package/dist/cdn/{6T35OGRG.js → YTU2BYBP.js} +1 -1
  52. package/dist/cdn/{5LF6C3S5.js → YWALGZAG.js} +1 -1
  53. package/dist/cdn/{F26SXWZ5.js → ZNH7LRND.js} +1 -1
  54. package/dist/cdn/index.js +1 -1
  55. package/dist/chunks/Auth.js +1 -1
  56. package/dist/chunks/deployFlowController.js +1 -1
  57. package/dist/chunks/helpers.js +47 -43
  58. package/dist/chunks/interfaces.js +105 -102
  59. package/dist/chunks/solution-builder-assistant.js +183 -119
  60. package/dist/chunks/solution-deploy-dialog.js +4 -4
  61. package/dist/chunks/solutions-deploy-app-nav.js +2 -2
  62. package/dist/chunks/validators.js +3 -3
  63. package/dist/components/arcgis-solutions-assistant/customElement.js +115 -101
  64. package/dist/components/arcgis-solutions-assistant/index.js +1 -0
  65. package/dist/components/card-manager/customElement.js +8 -8
  66. package/dist/components/create-feature/customElement.js +107 -113
  67. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  68. package/dist/components/layer-table/customElement.d.ts +3 -0
  69. package/dist/components/layer-table/customElement.js +110 -100
  70. package/dist/components/solution-configure-titles/customElement.js +11 -10
  71. package/dist/components/solution-delete-dialog/customElement.js +9 -8
  72. package/dist/components/solution-deploy-dialog/customElement.d.ts +6 -2
  73. package/dist/components/solution-deployed-card-panel/customElement.js +41 -38
  74. package/dist/components/solution-details-card/customElement.js +1 -1
  75. package/dist/components/solution-details-panel/customElement.js +114 -100
  76. package/dist/components/solution-item-diagram/customElement.js +6 -6
  77. package/dist/components/solution-resource-card/customElement.js +1 -1
  78. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  79. package/dist/components/solutions-all-panel/customElement.js +1 -1
  80. package/dist/components/solutions-deploy-app/customElement.js +9 -11
  81. package/dist/components/solutions-deployed-panel/customElement.js +7 -7
  82. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  83. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  84. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  85. package/dist/docs/api.json +1 -1
  86. package/dist/docs/docs.json +1 -1
  87. package/dist/docs/vscode.html-custom-data.json +1 -1
  88. package/dist/docs/web-types.json +1 -1
  89. package/dist/solutions-components_commit.txt +9 -6
  90. package/dist/types/lumina.d.ts +1 -0
  91. package/dist/types/preact.d.ts +1 -0
  92. package/dist/types/react.d.ts +1 -0
  93. package/dist/types/stencil.d.ts +1 -0
  94. package/package.json +1 -1
  95. package/dist/cdn/3JQ2RXVJ.js +0 -2
  96. package/dist/cdn/54AE7WD2.js +0 -2
  97. package/dist/cdn/7WD3GNG4.js +0 -2
  98. package/dist/cdn/D3XPV5W4.js +0 -2
  99. package/dist/cdn/KDNGZ47C.js +0 -2
  100. package/dist/cdn/KIPRPYME.js +0 -2
  101. package/dist/cdn/PBMTIFFX.js +0 -2
  102. package/dist/cdn/PECGJO2P.js +0 -2
  103. package/dist/cdn/QGCF64WY.js +0 -2
  104. package/dist/cdn/Z3B5KW2S.js +0 -2
  105. package/dist/cdn/ZM27FRZG.js +0 -2
  106. package/dist/cdn/ZUPXKH75.js +0 -2
  107. package/dist/cdn/ZYLKUZID.js +0 -2
@@ -8,7 +8,7 @@ import { createLongId as C, UserSession as $, getItemBase as O, getProp as D } f
8
8
  import { C as E } from "./converter.js";
9
9
  import { c as x } from "./deployAppContexts.js";
10
10
  import { deploySolution as A } from "@esri/solution-deployer";
11
- import { a as U, i as T, p as F } from "./helpers.js";
11
+ import { a as U, i as T, q as F } from "./helpers.js";
12
12
  import { a as P, c as I } from "./validators.js";
13
13
  import { createRef as u, ref as p } from "lit/directives/ref.js";
14
14
  const V = R`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.error-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.outline{--calcite-block-border-color: var(--calcite-color-border-2);border:1px solid var(--calcite-color-border-input)}.space-around{margin:.5rem}.title-label{--calcite-label-margin-bottom: 1rem;font-weight:var(--calcite-font-weight-medium)}.padding-around{padding:1rem}.padding-top{padding-top:.5rem}.hidden{display:none}`, _ = "", m = "AzMGxyZ9AveCc5IZ", f = "dev", g = !1, b = "https://devext.arcgis.com", w = "9133940fea834c6fa8cd055d7e3d4802", j = {
@@ -41,8 +41,8 @@ class M extends v {
41
41
  static {
42
42
  this.styles = V;
43
43
  }
44
- close() {
45
- this._isFormValid = !0, this._showAlertNameError = !1, this._showAlertFailed = !1, this._solutionTitle = this._tempUniqueTitle, this.open = !1, this.deployCancelled.emit();
44
+ close(e = !0) {
45
+ this._isFormValid = !0, this._showAlertNameError = !1, this._showAlertFailed = !1, this._solutionTitle = this._tempUniqueTitle, this.open = !1, e && this.deployCancelled.emit();
46
46
  }
47
47
  closeAlert() {
48
48
  this._showAlertFailed = !1;
@@ -83,7 +83,7 @@ class M extends v {
83
83
  (t || o) && this._configContextConsumer.value?.authentication?.IsSignedIn && this._generateSolutionName(this._solutionTitle.trim()), (e.has("userOptions") || e.has("open")) && (await this._checkUserOptionState(), this._hasSpatialReferenceOption && this._wkid === "" && (this._isFormValid = !1));
84
84
  }
85
85
  render() {
86
- return this.open ? l`<calcite-dialog .heading=${this._translations.title.replace("{{solutionTitle}}", this.card?.title ?? "")} id=${this._translations.title.replace("{{solutionTitle}}", this.card?.title ?? "") ?? S} modal open outside-close-disabled @calciteDialogClose=${this.close} width=m><div class="space-around">${this.renderUpdateSolutionName()}${this.renderSpatialReferenceSelection()}</div><calcite-button appearance=outline @click=${this.close} slot=footer-end>${this._translations.cancel}</calcite-button>${this._isFormValid ? l`<calcite-button kind=brand @click=${this.deploy} slot=footer-end>${this._translations.deploy}</calcite-button>` : l`<calcite-button kind=brand slot=footer-end disabled>${this._translations.deploy}</calcite-button>`}<calcite-alert auto-close icon=exclamation-mark-triangle kind=danger .label=${this._translations.failedToDeploy.replace("{{solutionTitle}}", this.card.title)} @calciteAlertClose=${() => {
86
+ return this.open ? l`<calcite-dialog .heading=${this._translations.title.replace("{{solutionTitle}}", this.card?.title ?? "")} id=${this._translations.title.replace("{{solutionTitle}}", this.card?.title ?? "") ?? S} modal open outside-close-disabled @calciteDialogClose=${() => this.close()} width=m><div class="space-around">${this.renderUpdateSolutionName()}${this.renderSpatialReferenceSelection()}</div><calcite-button appearance=outline @click=${() => this.close()} slot=footer-end>${this._translations.cancel}</calcite-button>${this._isFormValid ? l`<calcite-button kind=brand @click=${this.deploy} slot=footer-end>${this._translations.deploy}</calcite-button>` : l`<calcite-button kind=brand slot=footer-end disabled>${this._translations.deploy}</calcite-button>`}<calcite-alert auto-close icon=exclamation-mark-triangle kind=danger .label=${this._translations.failedToDeploy.replace("{{solutionTitle}}", this.card.title)} @calciteAlertClose=${() => {
87
87
  this._showAlertFailed = !1;
88
88
  }} .open=${this._showAlertFailed} ${p(this._failedAlertRef)}><div slot=title>${this._translations.failedToDeploy.replace("{{solutionTitle}}", this.card.title)}</div></calcite-alert></calcite-dialog>` : "";
89
89
  }
@@ -4,13 +4,13 @@ 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 { q as k, k as c } from "./helpers.js";
7
+ import { u as k, l as c } from "./helpers.js";
8
8
  import { T as _, A as $ } from "./interfaces.js";
9
9
  import { createRef as o, ref as l } from "lit-html/directives/ref.js";
10
10
  import { UserSession as E } from "@esri/solution-common";
11
11
  const T = M`.esri-global-nav__title{margin-block-start:0;position:relative;margin-bottom:0;font-size:var(--calcite-font-size-xl);font-weight:var(--calcite-font-weight-medium);padding-inline-end:var(--calcite-spacing-xxl);align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link{color:var(--calcite-color-text-1);text-decoration:unset;margin-block-start:0px;position:relative;margin-bottom:0;align-self:center;height:100%;display:flex;align-items:center}.esri-global-nav__logo-link:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.cursor-pointer{cursor:pointer}.side{border-right:solid 1px;color:var(--calcite-color-text-1);height:34px;align-self:center}.display-flex{display:flex}.align-self-center{align-self:center}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.margin-start-end-1{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-start-end-1-5{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.height-full{height:100%}.user-label{--calcite-label-margin-bottom: 0px}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-normal{font-weight:var(--calcite-font-weight-normal)}.logo-padding{padding-inline-start:var(--calcite-spacing-none);height:100%}@media(max-width:800px){.logo-padding{padding-inline-start:var(--calcite-spacing-lg)}}.signin-padding{padding-inline-end:var(--calcite-spacing-none)}@media(max-width:800px){.signin-padding{padding-inline-end:var(--calcite-spacing-lg)}}calcite-action{--calcite-font-size-0: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: var(--calcite-spacing-lg)}calcite-navigation{--calcite-color-border-3: transparent}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box;position:absolute;top:65px;left:0;width:100%;z-index:1}.height-66{height:66px}.sub-nav-constrained{width:calc(100% - var(--assistant-panel-width, 420px));overflow:hidden}`, u = {
12
12
  name: "arcgis-solutions-app",
13
- version: "2.0",
13
+ version: "2.1",
14
14
  dev: {
15
15
  amazon: {
16
16
  userPoolID: "us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",
@@ -88,8 +88,8 @@ async function w(e, r) {
88
88
  q: new l.SearchQueryBuilder().match(e).in("title").and().match(a).in("owner"),
89
89
  filter: "type:Solution",
90
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 };
91
+ }, d = (await l.searchAllItems(f)).results.map((i) => i.title), { folders: y } = await l.getFoldersAndGroups(t), p = y.map((i) => i.title), o = [...d, ...p].map((i) => i.trim().toLowerCase()), c = e.toLowerCase(), h = o.filter((i) => i === c), m = o.filter((i) => i.startsWith(c));
92
+ return { conflictingNames: h, similiarNames: m };
93
93
  }
94
94
  async function v(e, r, t = !1) {
95
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 };
@@ -107,7 +107,7 @@ function C(e) {
107
107
  return n(e) ? { isValid: !1, errorType: "empty" } : u(e) ? { isValid: !1, errorType: "exceed-length" } : { isValid: !0, errorType: null };
108
108
  }
109
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" };
110
+ return n(e) ? { isValid: !1, errorType: "empty" } : /^[\p{L}][\p{L}\p{N}\p{M}_]*$/u.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
111
  }
112
112
  function b(e) {
113
113
  return e < 1 || e > 4e3 ? { isValid: !1, errorType: "out-of-range" } : { isValid: !0, errorType: null };