@esri/solutions-components 5.1.0-next.165 → 5.1.0-next.167
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/{S37TPZAO.js → 2LCG2XWX.js} +1 -1
- package/dist/cdn/2MCOUOTQ.js +2 -0
- package/dist/cdn/{MOSQBUUZ.js → 4D46WTPB.js} +1 -1
- package/dist/cdn/4L7TJNAM.js +43 -0
- package/dist/cdn/{OBCXHY24.js → 6LN2ZRAZ.js} +1 -1
- package/dist/cdn/{EUI6UDCN.js → 6WPQPRJ5.js} +8 -2
- package/dist/cdn/{GVMTSUDH.js → 7P57UVVG.js} +1 -1
- package/dist/cdn/{5W7G3TSG.js → 7X2SPNNK.js} +21 -19
- package/dist/cdn/BYOO7TWU.js +2 -0
- package/dist/cdn/{MFFM74RG.js → CVHZAZLS.js} +1 -1
- package/dist/cdn/DFHULDJT.js +3 -0
- package/dist/cdn/{JFPR5QIQ.js → DGGIENYR.js} +1 -1
- package/dist/cdn/{HDMAFAEM.js → DSJRQHKW.js} +1 -1
- package/dist/cdn/{4HRGPGDM.js → EBAOA6CS.js} +1 -1
- package/dist/cdn/{P666D4WT.js → F5463ORT.js} +1 -1
- package/dist/cdn/{FMPY32BG.js → FK6Q2LYR.js} +1 -1
- package/dist/cdn/{C4F2OOUL.js → G2H3X6NS.js} +1 -1
- package/dist/cdn/{3UCDO65S.js → GDUCH242.js} +1 -1
- package/dist/cdn/{ENXQ33P7.js → HGOH5KSX.js} +1 -1
- package/dist/cdn/{VL2NVCIB.js → HLCHUP24.js} +3 -3
- package/dist/cdn/{OZ4IYASP.js → HOCCKT72.js} +1 -1
- package/dist/cdn/{WXDMML76.js → HUYLWWWJ.js} +1 -1
- package/dist/cdn/{CU2JLCTZ.js → I6EH3H6Z.js} +1 -1
- package/dist/cdn/{YW2WMW6B.js → IP7IUAM5.js} +1 -1
- package/dist/cdn/{OUMIC7G7.js → JCGZXASG.js} +1 -1
- package/dist/cdn/JJLYSRRX.js +2 -0
- package/dist/cdn/{7VY3RI7C.js → JS2MTHHP.js} +1 -1
- package/dist/cdn/{6PZSOVYB.js → K6O33P5T.js} +1 -1
- package/dist/cdn/{ITCC5G26.js → KWAQEZ3T.js} +2 -2
- package/dist/cdn/{AAUM57XI.js → LQ6PZESP.js} +1 -1
- package/dist/cdn/{2D6HFQD5.js → LUIN5XSX.js} +1 -1
- package/dist/cdn/LWQ4SBU2.js +2 -0
- package/dist/cdn/{I4PBOBUM.js → LXGPZJIZ.js} +1 -1
- package/dist/cdn/{QYCERRRZ.js → LXNQ32NZ.js} +1 -1
- package/dist/cdn/{SNZRQPXI.js → MFVXFKKM.js} +1 -1
- package/dist/cdn/{25HVM373.js → MVDJOENC.js} +1 -1
- package/dist/cdn/{354D2K6F.js → MXF4BYLT.js} +1 -1
- package/dist/cdn/{A2A3RFJ6.js → OTQLLNFG.js} +1 -1
- package/dist/cdn/{W5TNQMAJ.js → PM7QF66M.js} +1 -1
- package/dist/cdn/{3SMHMC4L.js → QKSC4XFL.js} +1 -1
- package/dist/cdn/{UDPMO6YN.js → ROGRXRFI.js} +1 -1
- package/dist/cdn/{3J5ZSELO.js → RWHR4UZT.js} +1 -1
- package/dist/cdn/{Y3GFBLXF.js → S5RB3GMN.js} +1 -1
- package/dist/cdn/SHQFXQEI.js +2 -0
- package/dist/cdn/{SHEDDVHQ.js → T5R4UF7Y.js} +1 -1
- package/dist/cdn/{JFMNVOWH.js → TFO2AK45.js} +1 -1
- package/dist/cdn/{22BT2PBE.js → TSDKMOES.js} +12 -10
- package/dist/cdn/U76GHEKJ.js +71 -0
- package/dist/cdn/UIZL3C3H.js +2 -0
- package/dist/cdn/{QH6PUU3Q.js → UOQSRV3X.js} +3 -8
- package/dist/cdn/{ATEW4U4A.js → V6N4G75E.js} +1 -1
- package/dist/cdn/{26LDC3OX.js → VJBL5ZUX.js} +1 -1
- package/dist/cdn/{6WVYNWVR.js → VLBNRURV.js} +1 -1
- package/dist/cdn/{VBJJQPZT.js → VLF76E2L.js} +1 -1
- package/dist/cdn/{CV4B2O7J.js → VY364MR6.js} +1 -1
- package/dist/cdn/{ON4EBR25.js → WKRSOM6J.js} +1 -1
- package/dist/cdn/{VN3AKGAY.js → X6TQNCB3.js} +1 -1
- package/dist/cdn/Y2MAVMNV.js +2 -0
- package/dist/cdn/{67CEWYTY.js → YPBSKBT2.js} +1 -1
- package/dist/cdn/YVWFYZTI.js +4 -0
- package/dist/cdn/{YLIWN2J2.js → YWX2U5OD.js} +1 -1
- package/dist/cdn/ZSTC2DJY.js +2 -0
- package/dist/cdn/{HRQVJBRJ.js → ZWL4JFKS.js} +1 -1
- package/dist/cdn/{DVPYGOBV.js → ZZOMKTFL.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/assessBuildRequest.js +3 -8
- package/dist/chunks/assessUpdateRequest.js +21 -19
- package/dist/chunks/assistantResponse.js +23 -29
- package/dist/chunks/converter.js +75 -44
- package/dist/chunks/interfaces.js +32 -29
- package/dist/chunks/solution-builder-assistant.js +12 -14
- package/dist/chunks/transformQuery.js +1 -1
- package/dist/chunks/updateDesign.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +251 -231
- package/dist/components/card-manager/customElement.d.ts +0 -3
- package/dist/components/card-manager/customElement.js +6 -6
- package/dist/components/create-feature/customElement.js +17 -6
- package/dist/components/crowdsource-manager/customElement.js +3 -3
- package/dist/components/layer-table/customElement.js +13 -13
- package/dist/components/solution-configure-titles/customElement.js +2 -1
- package/dist/components/solution-delete-dialog/customElement.js +2 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +8 -4
- package/dist/components/solutions-deploy-app/customElement.js +15 -15
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +8 -5
- package/dist/types/lumina.d.ts +0 -1
- package/dist/types/preact.d.ts +0 -1
- package/dist/types/react.d.ts +0 -1
- package/dist/types/stencil.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cdn/62GTPPV5.js +0 -2
- package/dist/cdn/632J5NXN.js +0 -49
- package/dist/cdn/AYHTQTVS.js +0 -2
- package/dist/cdn/HAMYUUYZ.js +0 -2
- package/dist/cdn/HQCHD3FH.js +0 -2
- package/dist/cdn/OAUHQK3Y.js +0 -54
- package/dist/cdn/PGTLLFW6.js +0 -3
- package/dist/cdn/SIODWUWX.js +0 -2
- package/dist/cdn/SYISCXZY.js +0 -4
- package/dist/cdn/U27263JW.js +0 -2
- package/dist/cdn/U2FC3BET.js +0 -2
- package/dist/cdn/YEDC2OLI.js +0 -2
|
@@ -119,8 +119,6 @@ export abstract class CardManager extends LitElement {
|
|
|
119
119
|
readonly createWorkFlowStarted: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
120
120
|
/** Emitted when the paste action should be disabled */
|
|
121
121
|
readonly disablePaste: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
122
|
-
/** Emits when feature/record is submitted */
|
|
123
|
-
readonly featureOrRecordSubmitted: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
124
122
|
/** Emitted when the features have been copied to the clipboard */
|
|
125
123
|
readonly featuresCopied: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
126
124
|
/** Emitted when the features have been pasted from the clipboard */
|
|
@@ -129,7 +127,6 @@ export abstract class CardManager extends LitElement {
|
|
|
129
127
|
backFromCreateWorkFlow: CardManager["backFromCreateWorkFlow"]["detail"];
|
|
130
128
|
createWorkFlowStarted: CardManager["createWorkFlowStarted"]["detail"];
|
|
131
129
|
disablePaste: CardManager["disablePaste"]["detail"];
|
|
132
|
-
featureOrRecordSubmitted: CardManager["featureOrRecordSubmitted"]["detail"];
|
|
133
130
|
featuresCopied: CardManager["featuresCopied"]["detail"];
|
|
134
131
|
featuresPasted: CardManager["featuresPasted"]["detail"];
|
|
135
132
|
};
|
|
@@ -8,14 +8,14 @@ import { createRef as d, ref as p } from "lit-html/directives/ref.js";
|
|
|
8
8
|
import { LitElement as y, createEvent as n, noShadowRoot as F, safeClassMap as v } from "@arcgis/lumina";
|
|
9
9
|
import * as $ from "@arcgis/core/core/reactiveUtils.js";
|
|
10
10
|
const k = b`@layer{:host{display:block!important}.display-none{display:none}.padding-1{padding:1rem}.position-relative{position:relative}.overflow-auto{overflow:auto}.height-full{height:100%}.paste-component{--arcgis-paste-height: 100%;--arcgis-paste-width: 100%;height:100%;width:100%}.position-static{position:static!important}.z-index-500{z-index:500!important}.margin-top-10{margin-top:10px}card-manager{display:block}}`;
|
|
11
|
-
class
|
|
11
|
+
class B extends y {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(), this.customInfoText = "", this.enableEditGeometry = !1, this.enableSnapping = !1, this.isMobile = !1, this.zoomAndScrollToSelected = !1, this.selectedFeaturesIds = [], this.enableCreateFeatures = !0, this.createBtnLabel = "", this.selectingFeatureFromMap = !1, this.showSketchWidgets = !1, this.mapComponentId = "", this.pasteEnabled = !1, this.showCopyPasteActions = !1, this.allowedPasteLayerIds = [], this._cardLoading = !1, this._graphics = [], this._showCreateFeatureComponent = !1, this._showSubmitBtn = !1, this._activeFeatureCreationCount = 1, this._createAndBackBtnDisabled = !1, this._translations = g({ name: "card-manager", blocking: !0 }), this._isFeatureCreated = !1, this._createFeature = d(), this._pasteComponent = d(), this.createWorkFlowStarted = n(), this.backFromCreateWorkFlow = n(), this.
|
|
13
|
+
super(), this.customInfoText = "", this.enableEditGeometry = !1, this.enableSnapping = !1, this.isMobile = !1, this.zoomAndScrollToSelected = !1, this.selectedFeaturesIds = [], this.enableCreateFeatures = !0, this.createBtnLabel = "", this.selectingFeatureFromMap = !1, this.showSketchWidgets = !1, this.mapComponentId = "", this.pasteEnabled = !1, this.showCopyPasteActions = !1, this.allowedPasteLayerIds = [], this._cardLoading = !1, this._graphics = [], this._showCreateFeatureComponent = !1, this._showSubmitBtn = !1, this._activeFeatureCreationCount = 1, this._createAndBackBtnDisabled = !1, this._translations = g({ name: "card-manager", blocking: !0 }), this._isFeatureCreated = !1, this._createFeature = d(), this._pasteComponent = d(), this.createWorkFlowStarted = n(), this.backFromCreateWorkFlow = n(), this.featuresCopied = n(), this.featuresPasted = n(), this.disablePaste = n(), this._handleCreateAndBackBtn = (e) => {
|
|
14
14
|
this._createFeatureEditor && (this._createAndBackBtnDisabled = e);
|
|
15
15
|
}, this._featuresAdded = () => {
|
|
16
16
|
this._pasteComponent.value && this._resetPasteWorkflow();
|
|
17
17
|
}, this._initCreateComponent = () => {
|
|
18
|
-
this._showCreateFeatureComponent = !0;
|
|
18
|
+
this._isFeatureCreated = !1, this._handleCreateAndBackBtn(!1), this._showCreateFeatureComponent = !0;
|
|
19
19
|
}, this._createFeatureEditorInitialized = (e) => {
|
|
20
20
|
this._createFeatureEditor = e.detail;
|
|
21
21
|
}, this._createFeatureEditorClosed = () => {
|
|
@@ -167,10 +167,10 @@ class S extends y {
|
|
|
167
167
|
return this._createFeatureEditor?.activeWorkflow?.hasPendingEdits;
|
|
168
168
|
}
|
|
169
169
|
_featureCreated() {
|
|
170
|
-
this.
|
|
170
|
+
this._showSubmitBtn = !1, this._isFeatureCreated = !0;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
w("card-manager",
|
|
173
|
+
w("card-manager", B);
|
|
174
174
|
export {
|
|
175
|
-
|
|
175
|
+
B as CardManager
|
|
176
176
|
};
|
|
@@ -79,10 +79,21 @@ class N extends E {
|
|
|
79
79
|
}
|
|
80
80
|
async submit() {
|
|
81
81
|
const e = this._editor.value?.activeWorkflow;
|
|
82
|
-
if (e
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
if (e) {
|
|
83
|
+
this._pendingAttachmentUpload = !!(this._selectedLayer && this._selectedLayer.capabilities.data.supportsAttachment && this._selectedImageBase64), this._awaitingLayerEdits = !0, e.data?.creationInfo && this._updatedMapView && (e.data.creationInfo.view = this._updatedMapView);
|
|
84
|
+
try {
|
|
85
|
+
await e.save();
|
|
86
|
+
} catch (t) {
|
|
87
|
+
if (this._awaitingLayerEdits = !1, this._pendingAttachmentUpload = !1, t?.name === "AbortError")
|
|
88
|
+
return;
|
|
89
|
+
this._onFail(t);
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
if (e.data.viewModel.failures.length) {
|
|
93
|
+
const t = e.data.viewModel.failures[0].error;
|
|
94
|
+
this._currentPage = "drawing", this._onFail(t);
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
86
97
|
}
|
|
87
98
|
}
|
|
88
99
|
async refresh(e) {
|
|
@@ -108,8 +119,8 @@ class N extends E {
|
|
|
108
119
|
}
|
|
109
120
|
this.reportingAreaMessage && this._guidingMessageRefNode.value?.children[0] && (this._guidingMessageRefNode.value.children[0].style.margin = "0px");
|
|
110
121
|
}
|
|
111
|
-
disconnectedCallback() {
|
|
112
|
-
super.disconnectedCallback(), this._editor.value && (this._editor.value.destroy(), this.enableSnapping && this.mapView?.ui.view && (this.mapView.ui.view.grid = null), this._removeHandlers(), this.createFeatureEditorClosed.emit());
|
|
122
|
+
async disconnectedCallback() {
|
|
123
|
+
super.disconnectedCallback(), this._editor.value && (this._editor.value.activeWorkflow?.activeWorkflow?.hasPendingEdits && (await this._editor.value.activeWorkflow.reset(), await this._editor.value.cancelWorkflow()), await this._editor.value.destroy(), this.enableSnapping && this.mapView?.ui.view && (this.mapView.ui.view.grid = null), this._removeHandlers(), this.createFeatureEditorClosed.emit());
|
|
113
124
|
}
|
|
114
125
|
render() {
|
|
115
126
|
const e = this._currentPage === "loading" ? "" : "display-none", t = this.isMobile && this.updateMapPosition ? "show-map" : "display-none", i = this._inValidGeometryDrawn ? "danger" : "success", a = this._inValidGeometryDrawn ? "exclamation-mark-triangle" : "lightbulb", s = this.showLayerVisibilityMsg && this._currentPage === "templatePicker", r = (this.showGuidingMsg || s) && this._currentPage !== "loading" && this._currentPage !== "drawingMultipleFeatures";
|
|
@@ -157,7 +157,7 @@ class V extends M {
|
|
|
157
157
|
_getPopupExpandNode() {
|
|
158
158
|
const e = this._isMobile ? "height-full" : "height-full position-relative", t = this._isMobile && this._showInformationHeader ? "display-none height-0" : "", i = this.popupHeaderColor ? "" : this._isMobile ? "calcite-mode-light" : "calcite-mode-dark", a = this._isMobile && this._hideTable ? "position-absolute-0 width-full height-full" : this._isMobile ? "display-none height-0" : "", l = this._currentMapInfos?.length > 1 && this.appLayout === "tableView" ? "position-relative top-51" : "", o = this.appLayout !== "tableView" ? "position-sticky" : "";
|
|
159
159
|
return s`<div class=${`${i} ${e} ${a} ${l} ${o}`} style=${T({
|
|
160
|
-
"--calcite-
|
|
160
|
+
"--calcite-panel-header-background-color": this.popupHeaderColor,
|
|
161
161
|
"--calcite-color-surface-3": this.popupHeaderHoverColor,
|
|
162
162
|
"--calcite-color-text-3": this.popupHeaderTextColor,
|
|
163
163
|
"--calcite-color-text-2": this.popupHeaderTextColor
|
|
@@ -169,7 +169,7 @@ class V extends M {
|
|
|
169
169
|
this._showInformationHeader = !0;
|
|
170
170
|
}} @createWorkFlowStarted=${() => {
|
|
171
171
|
this.appLayout = l?.isTable ? "tableView" : "mapView", this._showInformationHeader = !1;
|
|
172
|
-
}}
|
|
172
|
+
}} .pasteEnabled=${this._pasteEnabled} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout === "mapView"} .showCopyPasteActions=${this._showCopyPasteActions} .showSketchWidgets=${l?.geometryType !== "point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`;
|
|
173
173
|
}
|
|
174
174
|
_getTable(e, t, i) {
|
|
175
175
|
const a = this.appLayout === "mapView", l = this.appLayout === "tableView", o = i && this._isMobile ? "visibility-hidden" : a ? "display-none" : "", r = a ? "height-full width-full z-index-0" : "display-none", h = this._getTableSizeClass(e, t), n = e === "HORIZONTAL" ? "horizontal" : "vertical", d = e === "HORIZONTAL" ? "header" : "panel-start", p = this.defaultWebmap && this.defaultLayer, m = this._isMobile ? "border-top" : "", b = this.defaultGlobalId ? this.defaultGlobalId?.indexOf(",") > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId] : void 0, g = this.defaultOid ? this.defaultOid?.indexOf(",") > -1 ? this.defaultOid.split(",").map((y) => Number.parseInt(y, 10)) : [Number.parseInt(this.defaultOid, 10)] : void 0;
|
|
@@ -218,7 +218,7 @@ class V extends M {
|
|
|
218
218
|
this._filterOpen = !this._filterOpen;
|
|
219
219
|
}
|
|
220
220
|
_handleFilterListReset() {
|
|
221
|
-
this._mapExtentFilterChecked = !1, this._mapCard.value && this._mapCard.value.resetFilter(), this._layerTable.value && this._layerTable.value.filterReset();
|
|
221
|
+
this._mapExtentFilterChecked = !1, this._mapCard.value && this._mapCard.value.resetFilter(), this._layerTable.value && this._layerTable.value._filterActive && this._layerTable.value.filterReset();
|
|
222
222
|
}
|
|
223
223
|
async _closeFilter() {
|
|
224
224
|
this._filterOpen && (this._filterOpen = !1, this._layerTable.value && this._layerTable.value.closeFilter());
|
|
@@ -15,7 +15,7 @@ import * as p from "@arcgis/core/core/reactiveUtils.js";
|
|
|
15
15
|
import D from "@arcgis/core/rest/support/RelationshipQuery.js";
|
|
16
16
|
import w from "@arcgis/core/widgets/FeatureTable/support/TableTemplate.js";
|
|
17
17
|
const M = 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}}`;
|
|
18
|
-
class
|
|
18
|
+
class V extends A {
|
|
19
19
|
constructor() {
|
|
20
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.pasteEnabled = !1, this.showCopyPasteActions = !1, this.layerIds = [], 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 = y(), this._toolbar = y(), this._searchExpression = "", this._skipEditCheck = !1, this._tempSelectedIds = [], this._outOFExtentOids = [], this._shouldUpdateTableOnExtentChange = !0, this._creatingFeature = !1, this._searchNode = y(), this._layerEditsHandles = [], this._pastedFeaturesIds = [], this._shouldSelectCreatedFeatures = !1, this.columnReorder = o(), this.featureSelectionChange = o(), this.toggleFilter = o(), this.showDelete = o(), this.relatedRecordToggled = o(), this.editMultipleFeatures = o(), this.copyFeatures = o(), this.pasteFeatures = o(), this.featuresAdded = o(), this.initCreateComponent = o(), this.requestLayerSelectionChange = o(), this.beforeFeatureSelectionChange = o(), this.continueEditing = o(), this.createFeatureEditorInitialized = (e) => {
|
|
21
21
|
this._createFeatureEditor = e.detail;
|
|
@@ -220,21 +220,21 @@ class k extends A {
|
|
|
220
220
|
t.searchTerm = e.target.value;
|
|
221
221
|
}), this._searchFullText();
|
|
222
222
|
}
|
|
223
|
-
async _searchFullText() {
|
|
224
|
-
let
|
|
223
|
+
async _searchFullText(e = !1) {
|
|
224
|
+
let t = [], i = !1;
|
|
225
225
|
if (this._showOnlySelected)
|
|
226
|
-
|
|
227
|
-
else if (await this._validateActiveEdits([], this.selectedIds))
|
|
226
|
+
t = this._tempSelectedIds, i = !0;
|
|
227
|
+
else if (e ? !0 : await this._validateActiveEdits([], this.selectedIds))
|
|
228
228
|
this._clearSelection(), this._tempSelectedIds = [];
|
|
229
229
|
else
|
|
230
230
|
return;
|
|
231
231
|
this._searchExpression && this._clearSearchDefinitionExpression();
|
|
232
|
-
let
|
|
232
|
+
let s = [];
|
|
233
233
|
if (this._fullTextSearchInfo?.length && this._fullTextSearchInfo[0].searchTerm) {
|
|
234
|
-
const
|
|
235
|
-
|
|
234
|
+
const a = this._layer?.createQuery();
|
|
235
|
+
a.fullText = this._fullTextSearchInfo, s = this._layer ? await this._layer.queryObjectIds(a) : [], i && t?.length && (s = s.filter((l) => t.includes(l))), await this._updateSearchDefinitionExpression(s?.length ? s : [-1]);
|
|
236
236
|
}
|
|
237
|
-
|
|
237
|
+
i && s?.length && (this._showOnlySelected = !0, this._table?.highlightIds.addMany(s.reverse())), this._selectedLayerView ? await p.once(() => !this._selectedLayerView.updating) : await new Promise((a) => setTimeout(a, 800)), this._allIds = await this.queryAllIds(), this.selectedIds = this.selectedIds.filter((a) => this._allIds.indexOf(a) > -1), await this._refresh(!1, !0);
|
|
238
238
|
}
|
|
239
239
|
_clearSearchDefinitionExpression() {
|
|
240
240
|
const e = this._layer?.definitionExpression;
|
|
@@ -441,7 +441,7 @@ class k extends A {
|
|
|
441
441
|
if (this._shouldSelectCreatedFeatures) {
|
|
442
442
|
await this._selectFeatures(n, i), i === f && this.featuresAdded.emit(n);
|
|
443
443
|
return;
|
|
444
|
-
} else i === f && n.length > 0 ? (this._searchExpression
|
|
444
|
+
} else i === f && n.length > 0 ? (this._searchExpression ? (this._clearSelection(), await this._searchFullText(!0)) : await this._refresh(!1, !0), this.initCreateComponent.emit()) : i === f && d.length > 0 && this._searchExpression && await this._selectFeatures(d, i);
|
|
445
445
|
});
|
|
446
446
|
a && this._layerEditsHandles.push(a);
|
|
447
447
|
}
|
|
@@ -450,7 +450,7 @@ class k extends A {
|
|
|
450
450
|
try {
|
|
451
451
|
const i = this._layer?.id;
|
|
452
452
|
if (t === i) {
|
|
453
|
-
await this.
|
|
453
|
+
this._searchExpression ? (await this._searchFullText(!0), this._allIds = await this.queryAllIds()) : (await this._refresh(!1, !0), this._clearSelection());
|
|
454
454
|
const s = [];
|
|
455
455
|
for (const a of e)
|
|
456
456
|
this._allIds.includes(a) && s.push(a);
|
|
@@ -952,7 +952,7 @@ class k extends A {
|
|
|
952
952
|
}));
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
|
-
E("layer-table",
|
|
955
|
+
E("layer-table", V);
|
|
956
956
|
export {
|
|
957
|
-
|
|
957
|
+
V as LayerTable
|
|
958
958
|
};
|
|
@@ -116,7 +116,8 @@ class k extends D {
|
|
|
116
116
|
category: V.DEPLOYMENTS,
|
|
117
117
|
action: "Rename Items",
|
|
118
118
|
dimensions: [
|
|
119
|
-
|
|
119
|
+
"",
|
|
120
|
+
// Remove to prevent PII from being logged
|
|
120
121
|
this.card?.deployCommonId || "",
|
|
121
122
|
this.card?.deployVersion || "",
|
|
122
123
|
this.source,
|
|
@@ -45,7 +45,8 @@ class E extends g {
|
|
|
45
45
|
category: I.DEPLOYMENTS,
|
|
46
46
|
action: "Delete Solution",
|
|
47
47
|
dimensions: [
|
|
48
|
-
|
|
48
|
+
"",
|
|
49
|
+
// Remove to prevent PII from being logged
|
|
49
50
|
this.card?.deployCommonId || "",
|
|
50
51
|
this.card?.deployVersion || "",
|
|
51
52
|
this.source,
|
|
@@ -134,7 +134,8 @@ class V extends v {
|
|
|
134
134
|
category: n.DEPLOYMENTS,
|
|
135
135
|
action: "Open Help",
|
|
136
136
|
dimensions: [
|
|
137
|
-
|
|
137
|
+
"",
|
|
138
|
+
// Remove to prevent PII from being logged
|
|
138
139
|
this.card?.deployCommonId || "",
|
|
139
140
|
this.card?.deployVersion || "",
|
|
140
141
|
"Details Page",
|
|
@@ -147,7 +148,8 @@ class V extends v {
|
|
|
147
148
|
category: n.DEPLOYMENTS,
|
|
148
149
|
action: "Open Item Details",
|
|
149
150
|
dimensions: [
|
|
150
|
-
|
|
151
|
+
"",
|
|
152
|
+
// Remove to prevent PII from being logged
|
|
151
153
|
this.card?.deployCommonId || "",
|
|
152
154
|
this.card?.deployVersion || "",
|
|
153
155
|
"Details Page",
|
|
@@ -168,7 +170,8 @@ class V extends v {
|
|
|
168
170
|
category: n.DEPLOYMENTS,
|
|
169
171
|
action: "View Diagram",
|
|
170
172
|
dimensions: [
|
|
171
|
-
|
|
173
|
+
"",
|
|
174
|
+
// Remove to prevent PII from being logged
|
|
172
175
|
this.card?.deployCommonId || "",
|
|
173
176
|
this.card?.deployVersion || "",
|
|
174
177
|
"Details Page",
|
|
@@ -208,7 +211,8 @@ class V extends v {
|
|
|
208
211
|
category: n.DEPLOYMENTS,
|
|
209
212
|
action: "View Latest Version",
|
|
210
213
|
dimensions: [
|
|
211
|
-
|
|
214
|
+
"",
|
|
215
|
+
// Remove to prevent PII from being logged
|
|
212
216
|
this.card?.deployCommonId || "",
|
|
213
217
|
this.card?.deployVersion || ""
|
|
214
218
|
]
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { c as f } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
4
4
|
import { u as T } from "../../chunks/useT9n.js";
|
|
5
|
-
import { LitElement as w, createEvent as d, safeClassMap as
|
|
5
|
+
import { LitElement as w, createEvent as d, safeClassMap as _, nothing as C } from "@arcgis/lumina";
|
|
6
6
|
import { css as S, html as c } from "lit";
|
|
7
|
-
import { T as
|
|
7
|
+
import { T as y } from "../../chunks/solutions-deploy-app-nav.js";
|
|
8
8
|
import { a as D, T as h, y as A, B as x, e as I } from "../../chunks/interfaces.js";
|
|
9
9
|
import { createRef as o, ref as a } from "lit-html/directives/ref.js";
|
|
10
|
-
import { C as
|
|
10
|
+
import { C as g } from "../../chunks/CardsFetcher.js";
|
|
11
11
|
import { g as O } from "../../chunks/cardFetchingUtils.js";
|
|
12
|
-
import { useContextProvider as
|
|
12
|
+
import { useContextProvider as m } from "@arcgis/lumina/context";
|
|
13
13
|
import { c as F, b as $, i as L } from "../../chunks/deployAppContexts.js";
|
|
14
14
|
import { t as M } from "../../chunks/solution-builder-assistant.js";
|
|
15
15
|
import { h as k, a as E } from "../../chunks/cardsHelpers.js";
|
|
@@ -24,7 +24,7 @@ import "../solutions-deployed-shell/customElement.js";
|
|
|
24
24
|
import "../solutions-resources-shell/customElement.js";
|
|
25
25
|
import "../solution-details-panel/customElement.js";
|
|
26
26
|
import "../solution-deployed-card-panel/customElement.js";
|
|
27
|
-
const R = S`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--panel-edge-adjustment: 2vw;--assistant-panel-min-width: 420px;--assistant-panel-width: max(var(--assistant-panel-min-width), calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment) - 15px))}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-2);flex:1;min-height:0}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-deployed-shell,solutions-all-shell,solutions-resources-shell,calcite-tab-nav,solution-deployed-card-panel,.resources-menu-container{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.resources-menu-container{background-color:var(--calcite-color-foreground-1)}.resources-menu-toolbar{height:
|
|
27
|
+
const R = S`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--panel-edge-adjustment: 2vw;--assistant-panel-min-width: 420px;--assistant-panel-width: max(var(--assistant-panel-min-width), calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment) - 15px))}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-2);flex:1;min-height:0}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-deployed-shell,solutions-all-shell,solutions-resources-shell,calcite-tab-nav,solution-deployed-card-panel,.resources-menu-container{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.resources-menu-container{background-color:var(--calcite-color-foreground-1)}.resources-menu-toolbar{height:66px;display:flex;align-items:center}.resources-menu-toolbar calcite-menu-item{transition:border-color .2s ease}.resources-menu-toolbar calcite-menu-item[active]{border-bottom-color:var(--calcite-color-brand)}.border{height:0;box-shadow:0 1px 0 0 var(--calcite-color-border-2)}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}.main-content{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden}.main-content.assistant-open{margin-inline-end:var(--assistant-panel-width)}.assistant-open solutions-searchsort-toolbar,.assistant-open solution-details-panel,.assistant-open solutions-deployed-shell,.assistant-open solutions-all-shell,.assistant-open solutions-resources-shell,.assistant-open calcite-tab-nav,.assistant-open solution-deployed-card-panel,.assistant-open .resources-menu-container,.assistant-open .border{margin-inline-start:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));margin-inline-end:0;width:auto;max-width:1440px}.assistant-open solutions-searchsort-toolbar{overflow:hidden;scrollbar-gutter:stable}.builder-panel{position:fixed;top:65px;inset-inline-start:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));inset-inline-end:var(--assistant-panel-width);bottom:0;z-index:400;display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.4,0,.2,1);pointer-events:auto}.builder-panel.display-none{display:flex!important;transform:translate(100%);pointer-events:none}.builder-panel:dir(rtl).display-none{transform:translate(-100%)}@supports (-webkit-touch-callout: none){.builder-panel.display-none{display:none!important;transform:none}.builder-panel:dir(rtl).display-none{transform:none}}.builder-panel.display-none:has(~.assistant-panel.display-none){display:none!important;transition:none}.assistant-panel{position:fixed;top:65px;inset-inline-end:0;bottom:0;width:var(--assistant-panel-width);min-width:var(--assistant-panel-min-width);z-index:400;display:flex;flex-direction:column}@media(max-width:800px){.builder-panel{display:none!important}.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-inline-end:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);inset-inline-end:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}.assistant-fab-popover{--calcite-popover-max-size-x: 16rem}.assistant-fab-popover__content{display:block;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md);font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);font-weight:var(--calcite-font-weight-medium);word-wrap:break-word;word-break:break-word}`, N = {
|
|
28
28
|
solution: {
|
|
29
29
|
title: "Bus Stop ADA Compliance Inspections",
|
|
30
30
|
description: "Bus Stop ADA Compliance Inspections can be used to perform routine inspections of bus stops for ADA compliance and monitor inspection progress.",
|
|
@@ -677,10 +677,10 @@ const R = S`.back-color-override{background-color:var(--calcite-color-surface-3)
|
|
|
677
677
|
};
|
|
678
678
|
class V extends w {
|
|
679
679
|
constructor() {
|
|
680
|
-
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.loadExampleBuilderData = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._isViewportMobile = window.innerWidth <= 800, this._isAssistantOpen = !1, this._builderVisible = !1, this._hasActiveBuilderDesign = !1, this._showFabTooltip = !0, this._fabTooltipDismissed = !1, this._activeTab = "all-solutions", this._activeResourcesMenuItem = "getStarted", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations = T({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${D}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider =
|
|
680
|
+
super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.loadExampleBuilderData = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._isViewportMobile = window.innerWidth <= 800, this._isAssistantOpen = !1, this._builderVisible = !1, this._hasActiveBuilderDesign = !1, this._showFabTooltip = !0, this._fabTooltipDismissed = !1, this._activeTab = "all-solutions", this._activeResourcesMenuItem = "getStarted", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations = T({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${D}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = m({ context: F }), this._delay = !1, this._deployAppNav = o(), this._deployedCardPanel = o(), this._deployCardFetchFailedMessage = "", this._deployedCardTab = o(), this._deployedCardTabTitle = o(), this._detailsShell = o(), this._detailsTab = o(), this._detailsTabTitle = o(), this._forceInit = !1, this._getSuggested = !1, this._tabpanelsFixed = !1, this._solutionBuilderPanel = o(), this._builderDesignContextProvider = m({ context: $ }), this._isMobileContextProvider = m({ context: L }), this._handleWindowResize = () => {
|
|
681
681
|
const e = window.innerWidth <= 800;
|
|
682
682
|
this._isViewportMobile !== e && (this._isViewportMobile = e, e && (this._isAssistantOpen = !1, this._builderVisible = !1));
|
|
683
|
-
}, this._mainContentRef = o(), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._resourcesShell = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new
|
|
683
|
+
}, this._mainContentRef = o(), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._resourcesShell = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new y(), this.deployAppTabSelected = d(), this.deployedCardFetchFailed = d(), this.detailsCardSelected = d(), this.deployedCardSelected = d(), this.metaTagStringsReady = d(), this.sessionRefreshed = d(), this.tabChanged = d(), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "displayDeployedCard", this._handleDeployedCardDisplay), this.listenOn(window, "navTabSelected", this._setActiveTab), this.listenOn(window, "forceSelectTab", (e) => this.selectTab(e.detail, {})), this.listenOn(window, "showGlobalAlert", this._handleShowGlobalAlert), this.listenOn(window, "openAssistant", () => {
|
|
684
684
|
this._openAssistant();
|
|
685
685
|
}), this.listenOn(window, "closeAssistant", () => {
|
|
686
686
|
this._isAssistantOpen = !1, this._builderVisible = !1;
|
|
@@ -809,9 +809,9 @@ class V extends w {
|
|
|
809
809
|
}
|
|
810
810
|
render() {
|
|
811
811
|
const e = this._isLoaded ? "display-none" : "", t = this._isLoaded ? "" : "display-none";
|
|
812
|
-
return c`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${a(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen ? " assistant-open" : ""}`} ${a(this._mainContentRef)}>${this._isSearchToolbarShowing() && c`<div class="border"></div>` || ""}<solutions-searchsort-toolbar class=${
|
|
812
|
+
return c`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${a(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen ? " assistant-open" : ""}`} ${a(this._mainContentRef)}>${this._isSearchToolbarShowing() && c`<div class="border"></div>` || ""}<solutions-searchsort-toolbar class=${_(this._activeTab === "resources" ? "display-none" : "")} ${a(async (i) => {
|
|
813
813
|
i && (await this._deployAppNav.value?.componentOnReady(), this._searchSortToolbar = i, i.scope = this._activeTab);
|
|
814
|
-
})}></solutions-searchsort-toolbar>${this._activeTab === "resources" && c`<div class="border"></div><div class="resources-menu-container"><calcite-menu .label=${this._translations.resourcesNavigationMenuLabel} class="resources-menu-toolbar"><calcite-menu-item .active=${this._activeResourcesMenuItem === "getStarted" || void 0} .label=${this._translations.resourcesGetStarted} .text=${this._translations.resourcesGetStarted} @click=${() => this._handleResourcesMenuClick("getStarted")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "documentation" || void 0} .label=${this._translations.resourcesDocumentation} .text=${this._translations.resourcesDocumentation} @click=${() => this._handleResourcesMenuClick("documentation")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "support" || void 0} .label=${this._translations.resourcesSupport} .text=${this._translations.resourcesSupport} @click=${() => this._handleResourcesMenuClick("support")}></calcite-menu-item></calcite-menu></div>` || ""}<calcite-loader class=${
|
|
814
|
+
})}></solutions-searchsort-toolbar>${this._activeTab === "resources" && c`<div class="border"></div><div class="resources-menu-container"><calcite-menu .label=${this._translations.resourcesNavigationMenuLabel} class="resources-menu-toolbar"><calcite-menu-item .active=${this._activeResourcesMenuItem === "getStarted" || void 0} .label=${this._translations.resourcesGetStarted} .text=${this._translations.resourcesGetStarted} @click=${() => this._handleResourcesMenuClick("getStarted")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "documentation" || void 0} .label=${this._translations.resourcesDocumentation} .text=${this._translations.resourcesDocumentation} @click=${() => this._handleResourcesMenuClick("documentation")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "support" || void 0} .label=${this._translations.resourcesSupport} .text=${this._translations.resourcesSupport} @click=${() => this._handleResourcesMenuClick("support")}></calcite-menu-item></calcite-menu></div>` || ""}<calcite-loader class=${_(e)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${_(t)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell class="height-100" ${a(this._resourcesShell)}></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${a(this._detailsTab)}><solution-details-panel class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise && c`<div class=${`builder-panel${this._builderVisible && !this._isViewportMobile ? "" : " display-none"}`}><solution-builder-assistant class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._solutionBuilderPanel)}></solution-builder-assistant></div><div class=${`assistant-panel${this._isAssistantOpen && !this._isViewportMobile ? "" : " display-none"}`}><arcgis-solutions-assistant class="height-100" .builderVisible=${this._builderVisible} .hasActiveBuilderDesign=${this._hasActiveBuilderDesign}></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip ?? C} class=${`assistant-fab${this._isAssistantOpen || this._isViewportMobile ? " display-none" : ""}`} icon=effects id=assistant-fab-button @click=${() => {
|
|
815
815
|
this._openAssistant(), this._fabTooltipDismissed = !0, this._showFabTooltip = !1;
|
|
816
816
|
}} scale=l></calcite-fab>${!this._fabTooltipDismissed && c`<calcite-popover closable class=${`assistant-fab-popover${this._isAssistantOpen || this._isViewportMobile ? " display-none" : ""}`} .label=${this._translations.assistantFabTooltip} overlay-positioning=fixed @calcitePopoverClose=${() => {
|
|
817
817
|
this._fabTooltipDismissed = !0, this._showFabTooltip = !1;
|
|
@@ -831,7 +831,7 @@ class V extends w {
|
|
|
831
831
|
}
|
|
832
832
|
async _handleAuthInit(e) {
|
|
833
833
|
const t = e.detail;
|
|
834
|
-
t.telemetrySession || (t.telemetrySession =
|
|
834
|
+
t.telemetrySession || (t.telemetrySession = y.getDisabledSession()), this._configContextProvider.setValue(t), t.authentication && (this.authentication = t.authentication), this._cardFetcherDeployed = new g(t.locale, t.orgUrl, t.portalURL), this._cardsFetcher = new g(t.locale, t.orgUrl, t.portalURL), this._isDisconnectedEnvironment || await this._getSolutions(t.primarySolutionsGroupId, t.agoBasedEnterpriseSolutionsGroupId), this._configContextProvider.value.allCards = this._allCards, this._configContextProvider.value.anonAgolSession = this._cardsFetcher.anonAgolSession, this._configContextProvider.value.agolPortalUrl = this._cardsFetcher.agolPortalUrl, await this._initializeTelemetry(), this._isLoaded = !0, this._setRefreshInterval(), this._initTab ? (this.selectTab(this._initTab, this._initFilters), this._logTabViewTelemetry(this._initTab.tabType), this._initTab = void 0, this._initFilters = void 0) : this.authentication?.IsSignedIn && (this.initTab === "details" || this.initTab === "deployed-card" || (this._logTabViewTelemetry(this._activeTab), this._emitMetaTagStrings(this._activeTab)));
|
|
835
835
|
}
|
|
836
836
|
_setActiveTab(e) {
|
|
837
837
|
const i = e.detail.tabType, s = this._activeTab !== i;
|
|
@@ -876,8 +876,8 @@ class V extends w {
|
|
|
876
876
|
if (!((e === "details" || e === "deployed-card") && !t) && i) {
|
|
877
877
|
const s = [];
|
|
878
878
|
if ((e === "details" || e === "deployed-card") && t) {
|
|
879
|
-
const l = t;
|
|
880
|
-
s.push(
|
|
879
|
+
const l = t, p = e === "deployed-card" ? "" : l.title || "";
|
|
880
|
+
s.push(p), s.push(l.deployCommonId || ""), s.push(l.deployVersion || ""), s.push(""), s.push(P(l.typeKeywords));
|
|
881
881
|
}
|
|
882
882
|
const n = e === "deployed-card" ? "Open" : "View";
|
|
883
883
|
this._telemetry?.logEvent({
|
|
@@ -999,12 +999,12 @@ class V extends w {
|
|
|
999
999
|
_getDefaultSearchOptions(e) {
|
|
1000
1000
|
let t;
|
|
1001
1001
|
if (e) {
|
|
1002
|
-
const i = e.domain, s = e.industry === "AEC" ? I.AEC : e.industry, n = e.offerType, l = e.searchTerm,
|
|
1002
|
+
const i = e.domain, s = e.industry === "AEC" ? I.AEC : e.industry, n = e.offerType, l = e.searchTerm, p = "";
|
|
1003
1003
|
let r = e.sortField;
|
|
1004
|
-
const
|
|
1004
|
+
const u = e.owner, b = e.filter;
|
|
1005
1005
|
r === "suggested" && !this.authentication?.IsSignedIn && (r = this.sortType), t = i || s ? {
|
|
1006
1006
|
type: i ? "domain" : s ? "industry" : ""
|
|
1007
|
-
} : void 0, i && (t = t ? { ...t, domain: i } : { domain: i }), s && (t = t ? { ...t, industry: s } : { industry: s }), l && (t = t ? { ...t, searchTerm: l } : { searchTerm: l }), t && (t = { ...t, displayValue:
|
|
1007
|
+
} : void 0, i && (t = t ? { ...t, domain: i } : { domain: i }), s && (t = t ? { ...t, industry: s } : { industry: s }), l && (t = t ? { ...t, searchTerm: l } : { searchTerm: l }), t && (t = { ...t, displayValue: p }), r && (t = t ? { ...t, sortType: r } : { sortType: r }), n && (r = n.toLowerCase(), t = t ? { ...t, sortType: r } : { sortType: r }), u && (t = t ? { ...t, owner: u } : { owner: u }), b && (t = t ? { ...t, filter: b } : { filter: b });
|
|
1008
1008
|
}
|
|
1009
1009
|
return t;
|
|
1010
1010
|
}
|
|
@@ -7,7 +7,7 @@ import { useContextConsumer as h } from "@arcgis/lumina/context";
|
|
|
7
7
|
import { c as m, i as y } from "../../chunks/deployAppContexts.js";
|
|
8
8
|
import { l } from "../../chunks/helpers.js";
|
|
9
9
|
import { c as p } from "../../chunks/interfaces.js";
|
|
10
|
-
const _ = u`.toolbar-sizing{display:flex;align-items:center;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box;height:
|
|
10
|
+
const _ = u`.toolbar-sizing{display:flex;align-items:center;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box;height:66px}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-color-focus: transparent;--calcite-input-text-border-color: transparent;--calcite-color-border-input: transparent;--calcite-color-brand: transparent;display:grid;block-size:65px;box-sizing:border-box;border-bottom:2px solid transparent}@media(prefers-color-scheme:dark){calcite-input-text:focus{border-bottom:2px solid #009AF2}}@media(prefers-color-scheme:light){calcite-input-text:focus{border-bottom:2px solid #007AC2}}.padding-end-1-2{padding-inline-end:.5rem}`;
|
|
11
11
|
class f extends S {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(), this.defaultSortType = "relevance", this.isOrgSolutions = !1, this._activeSearchSortSettings = [
|