@esri/solutions-components 5.1.0-next.144 → 5.1.0-next.145
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.
- package/dist/cdn/{LEK4P4OY.js → 25NZZKXC.js} +1 -1
- package/dist/cdn/2BIUOM64.js +2 -0
- package/dist/cdn/{S5AQVTR2.js → 2PUK3PST.js} +1 -1
- package/dist/cdn/{KUGXNF5Y.js → 2UMMLVCR.js} +1 -1
- package/dist/cdn/{LYAXTCCM.js → 34CZ4EWR.js} +4 -3
- package/dist/cdn/{SOLCNPHW.js → 3DCFUYKP.js} +1 -1
- package/dist/cdn/{65L2LQGD.js → 3JQ2RXVJ.js} +1 -1
- package/dist/cdn/3V2UWENT.js +2 -0
- package/dist/cdn/{7WD3GNG4.js → 4JVDUPVW.js} +1 -1
- package/dist/cdn/{BNRFT546.js → 5DEYOM7D.js} +1 -1
- package/dist/cdn/{WLM4HMMF.js → 5LF6C3S5.js} +1 -1
- package/dist/cdn/{4JGB6WLL.js → 5NQNJZTE.js} +1 -1
- package/dist/cdn/{4MAZNAHZ.js → 5OFQVDNK.js} +1 -1
- package/dist/cdn/{NV2DLQDN.js → 6MOTC6CE.js} +1 -1
- package/dist/cdn/{PUCDO65D.js → 6T35OGRG.js} +1 -1
- package/dist/cdn/{FVOCVCEE.js → 72X4E4QW.js} +1 -1
- package/dist/cdn/{Y77RX7KL.js → 7ADKNWWI.js} +1 -1
- package/dist/cdn/{DKEYOEI7.js → 7CLM77HQ.js} +1 -1
- package/dist/cdn/{IFONVCBL.js → A27DLHRU.js} +1 -1
- package/dist/cdn/{3UKDJZ2D.js → AE5HNAOV.js} +1 -1
- package/dist/cdn/{YQWQG523.js → AOWNMC3W.js} +1 -1
- package/dist/cdn/{U4RHWD57.js → AZN2E5DL.js} +1 -1
- package/dist/cdn/BMMIXOTR.js +2 -0
- package/dist/cdn/{6Z3DXRF6.js → BQE6IVEF.js} +1 -1
- package/dist/cdn/{EDZIFJZR.js → C5ZH23YO.js} +1 -1
- package/dist/cdn/{7GXMCAWQ.js → CVRBLJ5O.js} +1 -1
- package/dist/cdn/{ENG5BCAV.js → DXQQQNOF.js} +1 -1
- package/dist/cdn/{BGLTC5SO.js → F26SXWZ5.js} +1 -1
- package/dist/cdn/{4RLG6MXK.js → G3F52QRW.js} +1 -1
- package/dist/cdn/{IEOFEUZI.js → G3FTF6WH.js} +1 -1
- package/dist/cdn/{AHB7W7RI.js → GJD7AOUI.js} +1 -1
- package/dist/cdn/{RRD4QUQS.js → HLKEBN2O.js} +1 -1
- package/dist/cdn/{J3HJC4SO.js → HPWNNMVU.js} +2 -2
- package/dist/cdn/{ZCSF2MJ5.js → I7XBRB6B.js} +1 -1
- package/dist/cdn/{SGQBWAPU.js → IDEOFV22.js} +1 -1
- package/dist/cdn/{FW2HWQC7.js → IEC46RE7.js} +1 -1
- package/dist/cdn/{ULFPP7PF.js → IEN3TA4W.js} +1 -1
- package/dist/cdn/{LKZFKOG4.js → KDNGZ47C.js} +1 -1
- package/dist/cdn/{7FJTZ7VA.js → L3UI7EZZ.js} +1 -1
- package/dist/cdn/{MC5ARLKZ.js → L6P26BYB.js} +1 -1
- package/dist/cdn/{YLC2EM5A.js → LCV5GKUD.js} +2 -2
- package/dist/cdn/{X6JL6SAH.js → LJY6BB64.js} +1 -1
- package/dist/cdn/{MT5J66WR.js → LL647FJR.js} +1 -1
- package/dist/cdn/{KSQHSNTW.js → M4II4TSX.js} +1 -1
- package/dist/cdn/{5YXQ4UXZ.js → MEZL3ZHS.js} +24 -23
- package/dist/cdn/MHVLVLRA.js +2 -0
- package/dist/cdn/{UOGZGAJD.js → MIH5YMTN.js} +1 -1
- package/dist/cdn/{K4TDKKPB.js → MPCJZCL5.js} +1 -1
- package/dist/cdn/MZ73EAAV.js +29 -0
- package/dist/cdn/{C4OXBZJK.js → NIYB3TEW.js} +1 -1
- package/dist/cdn/{TX3LBQ6V.js → NOXANMDF.js} +1 -1
- package/dist/cdn/{QHDEVLC3.js → P4XNRWG7.js} +1 -1
- package/dist/cdn/{EPOIEXNS.js → PBGG3TGN.js} +1 -1
- package/dist/cdn/{H2UL463J.js → PBMTIFFX.js} +1 -1
- package/dist/cdn/{VBJSVR6T.js → PECGJO2P.js} +1 -1
- package/dist/cdn/{FILMKUOU.js → PNESECPO.js} +1 -1
- package/dist/cdn/{Z23BVIGQ.js → QFZK4TD4.js} +1 -1
- package/dist/cdn/QGCF64WY.js +2 -0
- package/dist/cdn/{5LIR6BQY.js → QKJJHBMB.js} +1 -1
- package/dist/cdn/{ZCPVOS4Q.js → QQXQAU33.js} +1 -1
- package/dist/cdn/{56XVVIG7.js → RIHOGDUV.js} +1 -1
- package/dist/cdn/{AGB374BK.js → RUQ4RO4T.js} +1 -1
- package/dist/cdn/{MVF7I3RU.js → UKQPYE7U.js} +1 -1
- package/dist/cdn/{BVSSQNES.js → ULUJKWT5.js} +1 -1
- package/dist/cdn/{U6JZYJ4D.js → UM3P3Q52.js} +1 -1
- package/dist/cdn/VO53567V.js +2 -0
- package/dist/cdn/WKS3TKDC.js +2 -0
- package/dist/cdn/WUKFT5AY.js +4 -0
- package/dist/cdn/{QQEYWBVV.js → XGWDWPRK.js} +1 -1
- package/dist/cdn/{XXGM7HGO.js → XGYNSCTA.js} +1 -1
- package/dist/cdn/{DNPN62O5.js → Y4KGXRSD.js} +1 -1
- package/dist/cdn/{SSIUWTQX.js → Y6QJCLML.js} +1 -1
- package/dist/cdn/{WGS5W6W5.js → YVIEKHQQ.js} +1 -1
- package/dist/cdn/{I22C4HE4.js → ZHXREM2D.js} +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/converter.js +633 -367
- package/dist/chunks/deployFlowController.js +46 -0
- package/dist/chunks/designSolution.js +4 -3
- package/dist/chunks/explainValidationFailure.js +32 -0
- package/dist/chunks/solution-builder-assistant.js +157 -71
- package/dist/chunks/updateDesign.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +334 -248
- package/dist/components/solution-builder-assistant/customElement.js +3 -2
- package/dist/components/solution-deploying-dialog/customElement.js +12 -12
- package/dist/components/solution-details-panel/customElement.js +112 -102
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/package.json +1 -1
- package/dist/cdn/5MPYPIR2.js +0 -2
- package/dist/cdn/CGCNGFBL.js +0 -2
- package/dist/cdn/FE2GEHNL.js +0 -2
- package/dist/cdn/GLQZHYJP.js +0 -4
- package/dist/cdn/LYK2CASU.js +0 -2
- package/dist/cdn/S6U6SXMD.js +0 -2
- package/dist/cdn/SYZEWVHU.js +0 -2
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
class n {
|
|
3
|
+
constructor(l) {
|
|
4
|
+
this.hooks = l, this.pendingDeployedSolutionId = null, this._isCancelling = !1, this.handleDeployCancelled = () => {
|
|
5
|
+
this.pendingDeployedSolutionId = null, this.hooks.onDeployCancelled?.();
|
|
6
|
+
}, this.handleDeployFailed = (e) => {
|
|
7
|
+
if (this.pendingDeployedSolutionId = null, this._isCancelling) {
|
|
8
|
+
this.closeDialogs();
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
this.hooks.onDeployFailedReal?.(e.detail?.error), this.closeDialogs(!0);
|
|
12
|
+
}, this.handleDeploySuccess = (e) => {
|
|
13
|
+
this.pendingDeployedSolutionId = e?.detail || null;
|
|
14
|
+
const o = this.hooks.deployingDialogRef.value;
|
|
15
|
+
o && (o.isWaitingForCard = !0, o.deploymentProgress = 100), this.hooks.onDeploySuccess?.(e?.detail || "");
|
|
16
|
+
}, this.deployProgressStart = (e) => {
|
|
17
|
+
const o = this.hooks.deployingDialogRef.value;
|
|
18
|
+
o && (o.card = this.hooks.getCard(), o.abortController = e.detail, o.deploymentProgress = 0, o.isWaitingForCard = !1, o.open = !0), this.hooks.deployDialogRef.value && this.hooks.deployDialogRef.value.classList.add("display-none"), this.hooks.onDeployStarted?.(e.detail);
|
|
19
|
+
}, this.deployProgressUpdated = (e) => {
|
|
20
|
+
const o = this.hooks.deployingDialogRef.value;
|
|
21
|
+
o && (o.deploymentProgress = e.detail.progress);
|
|
22
|
+
}, this.handleDeploymentProcessCancelled = () => {
|
|
23
|
+
this.pendingDeployedSolutionId = null, this._isCancelling = !0, this.hooks.onDeploymentProcessCancelled?.();
|
|
24
|
+
}, this.handleDeployedCardReady = async (e) => {
|
|
25
|
+
!this.pendingDeployedSolutionId || e.detail?.card?.id !== this.pendingDeployedSolutionId || (this.pendingDeployedSolutionId = null, this.closeDialogs(), await new Promise((i) => requestAnimationFrame(() => requestAnimationFrame(i))), this.hooks.onDeployedCardReady?.(e.detail));
|
|
26
|
+
}, this.handleDeploymentFallback = (e) => {
|
|
27
|
+
!this.pendingDeployedSolutionId || e.detail?.solutionId !== this.pendingDeployedSolutionId || (this.pendingDeployedSolutionId = null, this.closeDialogs(), this.hooks.onDeploymentFallback?.(e.detail));
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
//--------------------------------------------------------------------------
|
|
31
|
+
// Imperative helpers
|
|
32
|
+
//--------------------------------------------------------------------------
|
|
33
|
+
/**
|
|
34
|
+
* Close the deploying dialog and (optionally) the deploy dialog. Calls
|
|
35
|
+
* the deploy dialog's `close()` so internal alert/form state is reset.
|
|
36
|
+
* Fires `onCloseAfterCancel` exactly once if a cancellation was in flight.
|
|
37
|
+
*/
|
|
38
|
+
closeDialogs(l = !1) {
|
|
39
|
+
this._isCancelling && (this.hooks.onCloseAfterCancel?.(), this._isCancelling = !1), this.hooks.deployingDialogRef.value && this.hooks.deployingDialogRef.value.close();
|
|
40
|
+
const e = this.hooks.deployDialogRef.value;
|
|
41
|
+
e && (e.classList.remove("display-none"), l ? e.open = !0 : e.close());
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
n as D
|
|
46
|
+
};
|
|
@@ -83,9 +83,10 @@ Please review the draft design and let me know if you’d like to make any chang
|
|
|
83
83
|
### Custom Fields\r
|
|
84
84
|
- Add business-relevant fields only when clearly supported by the User Query or Template Instructions\r
|
|
85
85
|
- Field \`name\` must:\r
|
|
86
|
-
- be lowercase\r
|
|
87
|
-
-
|
|
88
|
-
- contain
|
|
86
|
+
- be lowercase in the detected User Query language when that language has letter case\r
|
|
87
|
+
- contain letters from any writing system (Unicode letters are allowed, e.g., \`ä\`, \`ñ\`, \`名\`, \`あ\`)\r
|
|
88
|
+
- not contain special characters other than underscores (\`_\`)\r
|
|
89
|
+
- not start with a number or underscore\r
|
|
89
90
|
- Localize the field \`name\` to the detected User Query language\r
|
|
90
91
|
- Valid field types: \`string\`, \`integer\`, \`double\`, \`date\`\r
|
|
91
92
|
- String fields:\r
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
const e = `# Your Role\r
|
|
3
|
+
You are a user-facing ArcGIS Solutions assistant. Your role is to explain why a requested design change will NOT be applied to the current design.\r
|
|
4
|
+
\r
|
|
5
|
+
# Your Task\r
|
|
6
|
+
Use the User Query and Validation Errors to produce a brief response that:\r
|
|
7
|
+
- quickly explains the specific reason(s) why the change cannot be applied\r
|
|
8
|
+
- directly addresses the change requested in the User Query\r
|
|
9
|
+
- translates technical validation errors into clear, user-friendly language\r
|
|
10
|
+
- avoids internal implementation details, JSON pointers, schema names, or validator class names\r
|
|
11
|
+
\r
|
|
12
|
+
# Response Rules\r
|
|
13
|
+
- Match the primary language used in the User Query\r
|
|
14
|
+
- Start directly with the reason the change cannot be applied\r
|
|
15
|
+
- If there is 1-2 distinct issue(s), use short clear prose (no bullets)\r
|
|
16
|
+
- If there are more than 2 distinct issues, use concise bullets\r
|
|
17
|
+
- Always make it clear that the current design remains unchanged\r
|
|
18
|
+
- Keep the response concise and focused on the specific blocking reason(s)\r
|
|
19
|
+
\r
|
|
20
|
+
# User Query\r
|
|
21
|
+
{query}\r
|
|
22
|
+
\r
|
|
23
|
+
# Validation Error Count\r
|
|
24
|
+
{validationIssueCount}\r
|
|
25
|
+
\r
|
|
26
|
+
# Validation Errors\r
|
|
27
|
+
{validationIssues}\r
|
|
28
|
+
\r
|
|
29
|
+
`;
|
|
30
|
+
export {
|
|
31
|
+
e as default
|
|
32
|
+
};
|