@esri/solutions-components 5.1.0-next.136 → 5.1.0-next.137
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/{JSQHZGE3.js → 33UAZ7BX.js} +42 -42
- package/dist/cdn/3CSMIYZV.js +2 -0
- package/dist/cdn/{3JAQDSSF.js → 4753O4WX.js} +1 -1
- package/dist/cdn/{FOTFZKKU.js → 52QHFDTC.js} +1 -1
- package/dist/cdn/{YZVDT3ZT.js → 6RHH635X.js} +1 -1
- package/dist/cdn/{S5F6KJQM.js → 7J2F4TFI.js} +1 -1
- package/dist/cdn/{NOI3DSNQ.js → 7MFLK6JZ.js} +1 -1
- package/dist/cdn/{6SSQ6MIC.js → 7NAC32PQ.js} +1 -1
- package/dist/cdn/{WQVOA4KV.js → AYQT4HC4.js} +1 -1
- package/dist/cdn/BNRFT546.js +2 -0
- package/dist/cdn/{75WQ7UGJ.js → D4MZYBH7.js} +1 -1
- package/dist/cdn/DGNAMFJN.js +9 -0
- package/dist/cdn/{ZTO4S3BZ.js → E5EU4SVV.js} +1 -1
- package/dist/cdn/F3NG6RFP.js +117 -0
- package/dist/cdn/GWWU6HWB.js +48 -0
- package/dist/cdn/{TWJSFINX.js → KGSB4I6Y.js} +1 -1
- package/dist/cdn/{OPKSJ73H.js → NPYWZIAM.js} +1 -1
- package/dist/cdn/{VFBFI3KQ.js → NWCKV677.js} +1 -1
- package/dist/cdn/{P6ANTPJW.js → OYBEDO63.js} +1 -1
- package/dist/cdn/{I26GSBKY.js → RDAHPMNW.js} +1 -1
- package/dist/cdn/{TV3ZHJ7B.js → SAJPXZDW.js} +1 -1
- package/dist/cdn/SEHNIZKR.js +2 -0
- package/dist/cdn/WGOI2WQZ.js +2 -0
- package/dist/cdn/{R7NCPIS3.js → XVRJTKAB.js} +26 -26
- package/dist/cdn/{PPRV6EZZ.js → ZIX74MNU.js} +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/assistantResponse.js +51 -0
- package/dist/chunks/classifyIntent.js +120 -0
- package/dist/chunks/description.js +7 -31
- package/dist/chunks/description2.js +36 -0
- package/dist/chunks/solution-builder-assistant.js +935 -0
- package/dist/chunks/validators.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +596 -564
- package/dist/components/crowdsource-manager/customElement.js +7 -6
- package/dist/components/solution-builder-assistant/customElement.d.ts +62 -2
- package/dist/components/solution-builder-assistant/customElement.js +14 -883
- package/dist/components/solutions-deploy-app/customElement.js +21 -20
- 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 +7 -7
- package/package.json +5 -4
- package/dist/cdn/DJMULVG5.js +0 -2
- package/dist/cdn/JMO7ZFWL.js +0 -26
- package/dist/cdn/JQLLXM7G.js +0 -11
- package/dist/cdn/PSHFIPGT.js +0 -2
- package/dist/cdn/RSPGZ5RN.js +0 -2
- package/dist/cdn/ZS3UOY5Q.js +0 -2
- package/dist/chunks/solutions_assistant_description.js +0 -14
- package/dist/chunks/solutions_assistant_prompts.js +0 -29
- /package/dist/cdn/{GYL4W6ZG.js → JDCZUOU6.js} +0 -0
|
@@ -6,8 +6,9 @@ import { u as C } from "../../chunks/useT9n.js";
|
|
|
6
6
|
import { css as I, html as s, nothing as L } from "lit";
|
|
7
7
|
import { createRef as c, ref as u } from "lit-html/directives/ref.js";
|
|
8
8
|
import { LitElement as M, createEvent as _, noShadowRoot as x, safeClassMap as f, safeStyleMap as T } from "@arcgis/lumina";
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
import { setupViewFocusKeyboardWatcher as S } from "templates-common-library/functionality/keyboardUtils";
|
|
10
|
+
const F = I`@layer{:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-surface-2)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.z-index-2{z-index:2!important}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-top{border-top:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.display-grid{display:grid}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.border-width-0{border-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;margin:100px 0;z-index:1}.left-0{left:0}.right-0{right:0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-surface-1)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`;
|
|
11
|
+
class V extends M {
|
|
11
12
|
constructor() {
|
|
12
13
|
super(), this.coverPageEnabled = !1, this.customInfoText = "", this.defaultCenter = "", this.defaultGlobalId = "", this.defaultLayer = "", this.defaultLevel = "", this.defaultOid = "", this.defaultWebmap = "", this.honorMapFieldSettings = !1, this.introductionWindowEnabled = !1, this.enableAutoRefresh = !1, this.enableBasemap = !0, this.enableColumnReorder = !0, this.enableCSV = !0, this.enableFloorFilter = !0, this.enableFullscreen = !0, this.enableHome = !0, this.enableLegend = !0, this.enableLayerList = !0, this.enableMapList = !0, this.visibilityIcon = "eyeball", this.enableSearch = !0, this.enableShare = !1, this.enableSnapping = !0, this.enableZoom = !0, this.mapInfos = [], this.onlyShowUpdatableLayers = !1, this.popupHeaderColor = "", this.popupHeaderHoverColor = "", this.popupHeaderHoverTextColor = "", this.popupHeaderTextColor = "", this.shareIncludeEmbed = !1, this.shareIncludeSocial = !1, this.showNewestFirst = !0, this.theme = "light", this.zoomAndScrollToSelected = !1, this.enableSelectionTool = !0, this.featureSelectionMode = "multiple", this.enableCopyPaste = !0, this._deleteDialogOpen = !1, this._enableCreateFeatures = !0, this._hideFooter = !1, this._hideTable = !1, this._isMobile = !1, this._translations = C({ name: "crowdsource-manager", blocking: !0 }), this._layoutMode = "GRID", this._panelOpen = !0, this._numSelected = 0, this._filterOpen = !1, this._showInformationHeader = !0, this._layerExpressions = [], this._layerIds = [], this._isLoading = !0, this._mapExtentFilterChecked = !1, this._deleteIds = [], this._showInvalidMapAlert = !1, this._currentMapInfos = [], this._pasteEnabled = !1, this._showCopyPasteActions = !1, this._defaultAppLayoutHonored = !1, this._defaultCenterHonored = !1, this._defaultLevelHonored = !1, this._layerTable = c(), this._shouldSetMapView = !1, this._filterList = c(), this._mapCard = c(), this._isMapViewOnLoad = !1, this.showIntroductionWindow = _(), this.showCoverPage = _(), this.listenOn(window, "featureSelectionChange", this.featureSelectionChange), this.listenOn(window, "popupClosed", this.popupClosed), this.listenOn(window, "layoutChanged", this.layoutChanged), this.listenOn(window, "mapChanged", this.mapChanged), this.listenOn(window, "layerSelectionChange", this.layerSelectionChange), this.listenOn(window, "showDelete", this.showDelete), this.listenOn(window, "noLayersFound", this.noLayersFound), this.listenOn(window, "clearSelection", this.clearSelection), this.listenOn(window, "relatedRecordToggled", this.relatedRecordToggled), this.listenOn(window, "creatingFeature", this.creatingFeature), this.listenOn(window, "featuresCopied", this.featuresCopied), this.listenOn(window, "idsFound", this.idsFound), v(window);
|
|
13
14
|
}
|
|
@@ -15,7 +16,7 @@ class F extends M {
|
|
|
15
16
|
this.properties = { appLayout: 1, appProxies: 1, basemapConfig: 0, coverPageEnabled: 5, customInfoText: 1, defaultAppLayout: 1, defaultCenter: 1, defaultGlobalId: 1, defaultLayer: 1, defaultLevel: 1, defaultOid: 1, defaultWebmap: 1, honorMapFieldSettings: 5, introductionWindowEnabled: 5, enableAutoRefresh: 5, enableBasemap: 5, enableColumnReorder: 5, enableCSV: 5, enableFloorFilter: 5, enableFullscreen: 5, enableHome: 5, enableLegend: 5, enableLayerList: 5, enableMapList: 5, visibilityIcon: 1, enableSearch: 5, enableShare: 5, enableSnapping: 5, enableZoom: 5, mapInfos: 0, onlyShowUpdatableLayers: 5, popupHeaderColor: 1, popupHeaderHoverColor: 1, popupHeaderHoverTextColor: 1, popupHeaderTextColor: 1, searchConfiguration: 0, shareIncludeEmbed: 5, shareIncludeSocial: 5, showNewestFirst: 5, theme: 1, zoomAndScrollToSelected: 5, zoomToScale: 9, enableSelectionTool: 5, featureSelectionMode: 1, enableCopyPaste: 5, _deleteDialogOpen: 16, _enableCreateFeatures: 16, _hideFooter: 16, _hideTable: 16, _isMobile: 16, _translations: 16, _layer: 16, _layoutMode: 16, _mapInfo: 16, _mapView: 16, _panelOpen: 16, _numSelected: 16, _filterOpen: 16, _showInformationHeader: 16, _layerExpressions: 16, _layerIds: 16, _isLoading: 16, _mapExtentFilterChecked: 16, _deleteIds: 16, _showInvalidMapAlert: 16, _currentMapInfos: 16, _pasteEnabled: 16, _showCopyPasteActions: 16 };
|
|
16
17
|
}
|
|
17
18
|
static {
|
|
18
|
-
this.styles =
|
|
19
|
+
this.styles = F;
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
22
|
this.shadowRootOptions = x;
|
|
@@ -257,7 +258,7 @@ class F extends M {
|
|
|
257
258
|
async _setMapView() {
|
|
258
259
|
const e = this._mapChange && this._getMapInfo(this._mapChange.id);
|
|
259
260
|
if (e && this._mapChange) {
|
|
260
|
-
this._mapInfo = e, this._initLayerExpressions(), this._enableCreateFeatures = this._mapInfo.enableCreateFeatures, this._mapView = this._mapChange.mapView, this._initMapZoom(), this._mapView && (this._mapView.popupEnabled = !1);
|
|
261
|
+
this._mapInfo = e, this._initLayerExpressions(), this._enableCreateFeatures = this._mapInfo.enableCreateFeatures, this._mapView = this._mapChange.mapView, this._initMapZoom(), this._mapView && (this._mapView.popupEnabled = !1, S(this._mapView));
|
|
261
262
|
const t = !this.defaultCenter || this._defaultCenterHonored ? void 0 : this.defaultCenter?.split(";").map((a) => Number.parseFloat(a)), i = !this.defaultLevel || this._defaultLevelHonored ? void 0 : Number.parseInt(this.defaultLevel, 10);
|
|
262
263
|
t && i && (await this._mapView?.goTo({
|
|
263
264
|
center: t,
|
|
@@ -273,7 +274,7 @@ class F extends M {
|
|
|
273
274
|
}) : this._mapView?.ui.remove("zoom");
|
|
274
275
|
}
|
|
275
276
|
}
|
|
276
|
-
w("crowdsource-manager",
|
|
277
|
+
w("crowdsource-manager", V);
|
|
277
278
|
export {
|
|
278
|
-
|
|
279
|
+
V as CrowdsourceManager
|
|
279
280
|
};
|
|
@@ -35,6 +35,7 @@ export abstract class SolutionBuilderAssistant extends LitElement {
|
|
|
35
35
|
contents: string;
|
|
36
36
|
featureLayer: string;
|
|
37
37
|
customizeLayer: string;
|
|
38
|
+
layers: string;
|
|
38
39
|
solutionContentItems: string;
|
|
39
40
|
edit: string;
|
|
40
41
|
editItemContent: string;
|
|
@@ -48,6 +49,7 @@ export abstract class SolutionBuilderAssistant extends LitElement {
|
|
|
48
49
|
descriptionPlaceholder: string;
|
|
49
50
|
itemDescriptionErrorLength: string;
|
|
50
51
|
itemDescriptionErrorSpecialCharacter: string;
|
|
52
|
+
add: string;
|
|
51
53
|
apply: string;
|
|
52
54
|
close: string;
|
|
53
55
|
cancel: string;
|
|
@@ -89,7 +91,9 @@ export abstract class SolutionBuilderAssistant extends LitElement {
|
|
|
89
91
|
addDomainValue: string;
|
|
90
92
|
deleteList: string;
|
|
91
93
|
invalidSolutionName: string;
|
|
92
|
-
|
|
94
|
+
invalidLayerNameOrDescription: string;
|
|
95
|
+
invalidItemTitleOrDescription: string;
|
|
96
|
+
invalidFieldProperties: string;
|
|
93
97
|
domain: string;
|
|
94
98
|
addField: string;
|
|
95
99
|
editField: string;
|
|
@@ -132,6 +136,32 @@ export abstract class SolutionBuilderAssistant extends LitElement {
|
|
|
132
136
|
fieldValueType_coordinate: string;
|
|
133
137
|
fieldValueType_dateAndTime: string;
|
|
134
138
|
fieldValueType_none: string;
|
|
139
|
+
missingPrivilegesPopup: {
|
|
140
|
+
missingLicensingOrPrivileges: string;
|
|
141
|
+
missingPrivilegesListHeading: string;
|
|
142
|
+
requiredPrivilegesList: {
|
|
143
|
+
addMembers: string;
|
|
144
|
+
createGroup: string;
|
|
145
|
+
createItem: string;
|
|
146
|
+
publishFeatures: string;
|
|
147
|
+
shareToGroup: string;
|
|
148
|
+
publishFeeds: string;
|
|
149
|
+
publishRealTimeAnalytics: string;
|
|
150
|
+
publishBigDataAnalytics: string;
|
|
151
|
+
requiresAdmin: string;
|
|
152
|
+
requiresLocationTrackingAndAdmin: string;
|
|
153
|
+
requiresLocationTracking: string;
|
|
154
|
+
requiresNotebookServer: string;
|
|
155
|
+
hubPremium: string;
|
|
156
|
+
workflowManager: string;
|
|
157
|
+
velocity: string;
|
|
158
|
+
publishGPServices: string;
|
|
159
|
+
webtool: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
editItemPropertiesTooltip: string;
|
|
163
|
+
editLayerPropertiesTooltip: string;
|
|
164
|
+
editFieldPropertiesTooltip: string;
|
|
135
165
|
} & T9nMeta<{
|
|
136
166
|
headerTitle: string;
|
|
137
167
|
noticeMessage: string;
|
|
@@ -158,6 +188,7 @@ export abstract class SolutionBuilderAssistant extends LitElement {
|
|
|
158
188
|
contents: string;
|
|
159
189
|
featureLayer: string;
|
|
160
190
|
customizeLayer: string;
|
|
191
|
+
layers: string;
|
|
161
192
|
solutionContentItems: string;
|
|
162
193
|
edit: string;
|
|
163
194
|
editItemContent: string;
|
|
@@ -171,6 +202,7 @@ export abstract class SolutionBuilderAssistant extends LitElement {
|
|
|
171
202
|
descriptionPlaceholder: string;
|
|
172
203
|
itemDescriptionErrorLength: string;
|
|
173
204
|
itemDescriptionErrorSpecialCharacter: string;
|
|
205
|
+
add: string;
|
|
174
206
|
apply: string;
|
|
175
207
|
close: string;
|
|
176
208
|
cancel: string;
|
|
@@ -212,7 +244,9 @@ export abstract class SolutionBuilderAssistant extends LitElement {
|
|
|
212
244
|
addDomainValue: string;
|
|
213
245
|
deleteList: string;
|
|
214
246
|
invalidSolutionName: string;
|
|
215
|
-
|
|
247
|
+
invalidLayerNameOrDescription: string;
|
|
248
|
+
invalidItemTitleOrDescription: string;
|
|
249
|
+
invalidFieldProperties: string;
|
|
216
250
|
domain: string;
|
|
217
251
|
addField: string;
|
|
218
252
|
editField: string;
|
|
@@ -255,6 +289,32 @@ export abstract class SolutionBuilderAssistant extends LitElement {
|
|
|
255
289
|
fieldValueType_coordinate: string;
|
|
256
290
|
fieldValueType_dateAndTime: string;
|
|
257
291
|
fieldValueType_none: string;
|
|
292
|
+
missingPrivilegesPopup: {
|
|
293
|
+
missingLicensingOrPrivileges: string;
|
|
294
|
+
missingPrivilegesListHeading: string;
|
|
295
|
+
requiredPrivilegesList: {
|
|
296
|
+
addMembers: string;
|
|
297
|
+
createGroup: string;
|
|
298
|
+
createItem: string;
|
|
299
|
+
publishFeatures: string;
|
|
300
|
+
shareToGroup: string;
|
|
301
|
+
publishFeeds: string;
|
|
302
|
+
publishRealTimeAnalytics: string;
|
|
303
|
+
publishBigDataAnalytics: string;
|
|
304
|
+
requiresAdmin: string;
|
|
305
|
+
requiresLocationTrackingAndAdmin: string;
|
|
306
|
+
requiresLocationTracking: string;
|
|
307
|
+
requiresNotebookServer: string;
|
|
308
|
+
hubPremium: string;
|
|
309
|
+
workflowManager: string;
|
|
310
|
+
velocity: string;
|
|
311
|
+
publishGPServices: string;
|
|
312
|
+
webtool: string;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
editItemPropertiesTooltip: string;
|
|
316
|
+
editLayerPropertiesTooltip: string;
|
|
317
|
+
editFieldPropertiesTooltip: string;
|
|
258
318
|
}>;
|
|
259
319
|
/** Solution design - can be set externally for demo/testing */
|
|
260
320
|
accessor design: ISolutionDesign | null;
|