@esri/solutions-components 0.10.40 → 0.10.41
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-block_5.cjs.entry.js +75 -65
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +5 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +6 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/components/instant-apps-app-guide.js +1 -1
- package/dist/components/instant-apps-export.js +5 -1
- package/dist/components/instant-apps-filter-list2.js +75 -66
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +2 -2
- package/dist/components/instant-apps-time-filter.js +6 -6
- package/dist/esm/calcite-block_5.entry.js +75 -65
- package/dist/esm/instant-apps-app-guide.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +5 -1
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-time-filter.entry.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +1 -1
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +43 -26
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +6 -0
- package/dist/solutions-components/p-523dcf4b.entry.js +6 -0
- package/dist/solutions-components/p-8f8c7045.entry.js +6 -0
- package/dist/solutions-components/p-953afbb3.entry.js +29 -0
- package/dist/solutions-components/{p-bb8b1ee2.entry.js → p-a2cf9fdc.entry.js} +1 -1
- package/dist/solutions-components/p-a7f56b28.entry.js +6 -0
- package/dist/solutions-components/p-e4107150.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/package.json +4 -4
- package/dist/solutions-components/p-5b3c0418.entry.js +0 -6
- package/dist/solutions-components/p-750b3277.entry.js +0 -6
- package/dist/solutions-components/p-8779ee41.entry.js +0 -6
- package/dist/solutions-components/p-ca3cbd29.entry.js +0 -6
- package/dist/solutions-components/p-e1391389.entry.js +0 -29
@@ -1514,6 +1514,7 @@ const InstantAppsFilterList = class {
|
|
1514
1514
|
registerInstance(this, hostRef);
|
1515
1515
|
this.filterListReset = createEvent(this, "filterListReset", 7);
|
1516
1516
|
this.filterUpdate = createEvent(this, "filterUpdate", 7);
|
1517
|
+
this.isLayerExpUpdated = false;
|
1517
1518
|
this.layerExpressions = undefined;
|
1518
1519
|
this.autoUpdateUrl = false;
|
1519
1520
|
this.closeBtn = false;
|
@@ -1534,7 +1535,6 @@ const InstantAppsFilterList = class {
|
|
1534
1535
|
this.messages = undefined;
|
1535
1536
|
this.baseClass = baseClassLight;
|
1536
1537
|
this.disabled = true;
|
1537
|
-
this.hasLayerExpression = false;
|
1538
1538
|
this.initDefExpressions = undefined;
|
1539
1539
|
this.initMapImageExpressions = undefined;
|
1540
1540
|
this.initPointCloudFilters = undefined;
|
@@ -1543,11 +1543,9 @@ const InstantAppsFilterList = class {
|
|
1543
1543
|
this.handleWhenView();
|
1544
1544
|
}
|
1545
1545
|
watchLayerExpressions() {
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
this.hasLayerExpression = true;
|
1550
|
-
}
|
1546
|
+
this.resetAllFilters();
|
1547
|
+
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1548
|
+
this.handleLayerExpressionsUpdate();
|
1551
1549
|
}
|
1552
1550
|
getFilterInitState() {
|
1553
1551
|
return Promise.resolve({
|
@@ -1557,7 +1555,6 @@ const InstantAppsFilterList = class {
|
|
1557
1555
|
});
|
1558
1556
|
}
|
1559
1557
|
forceReset() {
|
1560
|
-
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1561
1558
|
this.handleResetFilter();
|
1562
1559
|
return this.initExpressions();
|
1563
1560
|
}
|
@@ -1572,28 +1569,28 @@ const InstantAppsFilterList = class {
|
|
1572
1569
|
}
|
1573
1570
|
return this.initExpressions();
|
1574
1571
|
}
|
1572
|
+
connectedCallback() {
|
1573
|
+
var _a;
|
1574
|
+
if (this.layerExpressions == null && this.view == null)
|
1575
|
+
return;
|
1576
|
+
this.isLayerExpUpdated = true;
|
1577
|
+
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1578
|
+
this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
|
1579
|
+
this.handleLayerExpressionsUpdate();
|
1580
|
+
}
|
1575
1581
|
async componentWillLoad() {
|
1576
1582
|
var _a;
|
1577
1583
|
this.baseClass = getMode(this.el) === 'dark' ? baseClassDark : baseClassLight;
|
1578
1584
|
await this.initializeModules();
|
1579
1585
|
getMessages(this);
|
1580
|
-
|
1586
|
+
if (this.isLayerExpUpdated)
|
1587
|
+
return;
|
1588
|
+
this.isLayerExpUpdated = true;
|
1581
1589
|
this.filterLayerExpressions = this.layerExpressions != null ? structuredClone(this.layerExpressions) : [];
|
1582
1590
|
this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
if (name === 'view' && newValue != null) {
|
1587
|
-
this.handleWhenView();
|
1588
|
-
}
|
1589
|
-
else if (name === 'layerExpressions') {
|
1590
|
-
if (this.hasLayerExpression) {
|
1591
|
-
this.resetAllFilters();
|
1592
|
-
}
|
1593
|
-
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1594
|
-
this.handleLayerExpressionsUpdate();
|
1595
|
-
this.hasLayerExpression = true;
|
1596
|
-
}
|
1591
|
+
if (this.view == null)
|
1592
|
+
return;
|
1593
|
+
this.handleLayerExpressionsUpdate();
|
1597
1594
|
}
|
1598
1595
|
componentWillRender() {
|
1599
1596
|
var _a;
|
@@ -1601,21 +1598,21 @@ const InstantAppsFilterList = class {
|
|
1601
1598
|
}
|
1602
1599
|
disconnectedCallback() {
|
1603
1600
|
if (this.resetFiltersOnDisconnect) {
|
1601
|
+
this.isLayerExpUpdated = false;
|
1604
1602
|
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1605
1603
|
this.resetAllFilters();
|
1606
1604
|
}
|
1607
1605
|
}
|
1608
1606
|
async initializeModules() {
|
1609
|
-
const [intl, geometryJsonUtils
|
1607
|
+
const [intl, geometryJsonUtils] = await loadModules(['esri/intl', 'esri/geometry/support/jsonUtils']);
|
1610
1608
|
this.geometryJsonUtils = geometryJsonUtils;
|
1611
|
-
this.reactiveUtils = reactiveUtils;
|
1612
1609
|
this.locale = intl.getLocale();
|
1613
1610
|
this.intl = intl;
|
1614
1611
|
}
|
1615
1612
|
render() {
|
1616
1613
|
const filterConfig = this.loading ? this.renderLoading() : this.initFilterConfig();
|
1617
|
-
const footer = this.renderFooter(
|
1618
|
-
return (h(Host, { key: '
|
1614
|
+
const footer = this.renderFooter();
|
1615
|
+
return (h(Host, { key: '055d2a02c5118e59462af8759c6bf2f39304fd75' }, h("calcite-panel", { key: '0335c9b28101257551902737ef373543aebee1f6', class: this.baseClass, ref: el => (this.panelEl = el) }, h("slot", { key: '4b471e66583b3f2fd733688d65ce8d3b2acbeb66', slot: "header-content", name: "filter-header-content" }), h("slot", { key: 'f5832075687a6812b902643fd057587b438b38cf', slot: "header-actions-end", name: "filter-header-actions-end" }), h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
|
1619
1616
|
}
|
1620
1617
|
renderLoading() {
|
1621
1618
|
return h("calcite-loader", { label: "Loading filters..." });
|
@@ -1684,10 +1681,11 @@ const InstantAppsFilterList = class {
|
|
1684
1681
|
const check = min != null && max != null;
|
1685
1682
|
return check ? (h("label", { class: CSS$1.filterUIItemContainer }, h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), h("div", { class: CSS$1.dateInputContainer }, h("calcite-input-date-picker", { id: expression === null || expression === void 0 ? void 0 : expression.id.toString(), onCalciteInputDatePickerChange: this.handleDatePickerRangeChange.bind(this, expression, layerExpression), min: min, max: max, "overlay-positioning": "fixed", lang: (_c = this.locale) !== null && _c !== void 0 ? _c : 'en', layout: "vertical", value: value, range: true }), h("calcite-action", { onClick: this.handleResetDatePicker.bind(this, expression, layerExpression), icon: "reset", text: (_d = this.messages) === null || _d === void 0 ? void 0 : _d.resetDatePicker, scale: "s" })))) : null;
|
1686
1683
|
}
|
1687
|
-
renderFooter(
|
1684
|
+
renderFooter() {
|
1688
1685
|
var _a, _b, _c;
|
1689
1686
|
const closeText = this.closeBtnText != null ? this.closeBtnText : (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close;
|
1690
|
-
|
1687
|
+
const btnWidth = this.closeBtn && this.resetBtn ? 'half' : 'full';
|
1688
|
+
return (h("div", { class: CSS$1.footer, slot: "footer" }, this.resetBtn ? (h("calcite-button", { appearance: "outline", width: btnWidth, disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.resetFilter)) : undefined, this.closeBtn ? (h("calcite-button", { appearance: "solid", width: btnWidth, kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)) : undefined));
|
1691
1689
|
}
|
1692
1690
|
renderZoomTo(layerExpression) {
|
1693
1691
|
var _a;
|
@@ -1718,23 +1716,21 @@ const InstantAppsFilterList = class {
|
|
1718
1716
|
}
|
1719
1717
|
async initExpressions() {
|
1720
1718
|
this.loading = true;
|
1721
|
-
if (this.filterLayerExpressions == null)
|
1719
|
+
if (this.filterLayerExpressions == null || this.view == null)
|
1722
1720
|
return;
|
1723
|
-
|
1721
|
+
await this.processExpressions();
|
1724
1722
|
this.loading = false;
|
1725
|
-
this.filterLayerExpressions = [...tmpLE];
|
1726
1723
|
}
|
1727
1724
|
async processExpressions() {
|
1728
1725
|
var _a;
|
1729
1726
|
if (!this.filterLayerExpressions)
|
1730
|
-
return
|
1727
|
+
return;
|
1731
1728
|
for (const layerExpression of this.filterLayerExpressions) {
|
1732
1729
|
for (const expression of layerExpression.expressions || []) {
|
1733
1730
|
expression.active = (_a = expression.active) !== null && _a !== void 0 ? _a : expression.definitionExpression != null;
|
1734
1731
|
await this.setInitExpression(layerExpression, expression);
|
1735
1732
|
}
|
1736
1733
|
}
|
1737
|
-
return this.filterLayerExpressions;
|
1738
1734
|
}
|
1739
1735
|
handleResetFilter() {
|
1740
1736
|
var _a;
|
@@ -1804,6 +1800,8 @@ const InstantAppsFilterList = class {
|
|
1804
1800
|
}
|
1805
1801
|
resetAllFilters() {
|
1806
1802
|
var _a, _b, _c, _d, _e;
|
1803
|
+
if (this.initDefExpressions == null)
|
1804
|
+
return;
|
1807
1805
|
const allLayersAndTables = (_c = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.map) === null || _b === void 0 ? void 0 : _b.allLayers) === null || _c === void 0 ? void 0 : _c.concat((_e = (_d = this.view) === null || _d === void 0 ? void 0 : _d.map) === null || _e === void 0 ? void 0 : _e.allTables);
|
1808
1806
|
allLayersAndTables === null || allLayersAndTables === void 0 ? void 0 : allLayersAndTables.forEach(layer => {
|
1809
1807
|
var _a, _b;
|
@@ -1905,18 +1903,19 @@ const InstantAppsFilterList = class {
|
|
1905
1903
|
}
|
1906
1904
|
return false;
|
1907
1905
|
}
|
1908
|
-
updateCodedValueExpression(expression, layerField) {
|
1906
|
+
async updateCodedValueExpression(layerExpression, expression, layerField) {
|
1909
1907
|
var _a, _b;
|
1910
1908
|
if (!(layerField === null || layerField === void 0 ? void 0 : layerField.domain) || ((_a = layerField === null || layerField === void 0 ? void 0 : layerField.domain) === null || _a === void 0 ? void 0 : _a.type) !== 'coded-value') {
|
1911
1909
|
return false;
|
1912
1910
|
}
|
1911
|
+
const layer = this.findFilterLayer(layerExpression);
|
1912
|
+
await this.getFeatureAttributes(layer, expression);
|
1913
1913
|
const domain = layerField.domain;
|
1914
1914
|
const codedValuesMap = domain.codedValues.reduce((acc, { code, name }) => {
|
1915
1915
|
acc[code] = name;
|
1916
1916
|
return acc;
|
1917
1917
|
}, {});
|
1918
1918
|
expression.codedValues = codedValuesMap;
|
1919
|
-
expression.fields = Object.keys(codedValuesMap);
|
1920
1919
|
if ((_b = expression.selectedFields) === null || _b === void 0 ? void 0 : _b.length) {
|
1921
1920
|
const selectedFieldsExpression = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`)).join(',');
|
1922
1921
|
expression.definitionExpression = `${expression.field} IN (${selectedFieldsExpression})`;
|
@@ -1985,7 +1984,7 @@ const InstantAppsFilterList = class {
|
|
1985
1984
|
if (features === null || features === void 0 ? void 0 : features.length) {
|
1986
1985
|
expression.fields = [...new Set(features)];
|
1987
1986
|
if (expression.type === 'string') {
|
1988
|
-
expression.fields = expression.fields.sort();
|
1987
|
+
expression.fields = expression.fields.sort((a, b) => a.localeCompare(b));
|
1989
1988
|
}
|
1990
1989
|
else if (expression.type === 'number') {
|
1991
1990
|
expression.fields = expression.fields.sort((a, b) => a - b);
|
@@ -2014,8 +2013,15 @@ const InstantAppsFilterList = class {
|
|
2014
2013
|
expression.fields.push(...features);
|
2015
2014
|
}
|
2016
2015
|
});
|
2017
|
-
expression.
|
2018
|
-
|
2016
|
+
if (expression.type === 'string') {
|
2017
|
+
expression.fields = [...new Set(expression.fields)].sort((a, b) => a.localeCompare(b));
|
2018
|
+
}
|
2019
|
+
else if (expression.type === 'number') {
|
2020
|
+
expression.fields = [...new Set(expression.fields)].sort((a, b) => a - b);
|
2021
|
+
}
|
2022
|
+
else {
|
2023
|
+
expression.fields = [...new Set(expression.fields)].sort();
|
2024
|
+
}
|
2019
2025
|
});
|
2020
2026
|
}
|
2021
2027
|
async queryForFeatures(layer, query, field) {
|
@@ -2098,13 +2104,14 @@ const InstantAppsFilterList = class {
|
|
2098
2104
|
case 'number':
|
2099
2105
|
return await this.updateNumberExpression(layerExpression, expression);
|
2100
2106
|
case 'date':
|
2101
|
-
return this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
|
2107
|
+
return await this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
|
2102
2108
|
case 'coded-value':
|
2103
|
-
return this.updateCodedValueExpression(expression, layerField);
|
2109
|
+
return await this.updateCodedValueExpression(layerExpression, expression, layerField);
|
2104
2110
|
case 'range':
|
2105
|
-
return this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
|
2111
|
+
return await this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
|
2106
2112
|
case 'checkbox':
|
2107
2113
|
case null:
|
2114
|
+
case undefined:
|
2108
2115
|
return (_a = expression.active) !== null && _a !== void 0 ? _a : false;
|
2109
2116
|
default:
|
2110
2117
|
return false;
|
@@ -2304,31 +2311,9 @@ const InstantAppsFilterList = class {
|
|
2304
2311
|
this.handleLayerExpressionsUpdate();
|
2305
2312
|
}
|
2306
2313
|
async handleLayerExpressionsUpdate() {
|
2307
|
-
|
2308
|
-
return;
|
2309
|
-
const map = this.view.map;
|
2310
|
-
this.initDefExpressions = {};
|
2311
|
-
this.initPointCloudFilters = {};
|
2312
|
-
this.initMapImageExpressions = {};
|
2313
|
-
map.allLayers.concat(map.allTables).forEach(layer => {
|
2314
|
-
if (!supportedTypes.includes(layer.type))
|
2315
|
-
return;
|
2316
|
-
const fl = layer;
|
2317
|
-
if (fl.type === 'point-cloud') {
|
2318
|
-
this.initPointCloudFilters[fl.id] = fl.filters;
|
2319
|
-
}
|
2320
|
-
else if (fl.type === 'map-image') {
|
2321
|
-
this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
|
2322
|
-
acc[sublayer.id] = sublayer.definitionExpression;
|
2323
|
-
return acc;
|
2324
|
-
}, {});
|
2325
|
-
}
|
2326
|
-
else {
|
2327
|
-
this.initDefExpressions[fl.id] = fl.definitionExpression;
|
2328
|
-
}
|
2329
|
-
});
|
2330
|
-
this.initExpressions();
|
2314
|
+
this.updateInitExpressions();
|
2331
2315
|
this.handleURLParams();
|
2316
|
+
this.initExpressions();
|
2332
2317
|
}
|
2333
2318
|
async handleZoomTo(layerExpression) {
|
2334
2319
|
const zoomId = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `#zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `#zoom-to-${layerExpression.id}`;
|
@@ -2499,6 +2484,31 @@ const InstantAppsFilterList = class {
|
|
2499
2484
|
query.geometry = geometry;
|
2500
2485
|
query.spatialRelationship = 'intersects';
|
2501
2486
|
}
|
2487
|
+
updateInitExpressions() {
|
2488
|
+
if (this.view == null)
|
2489
|
+
return;
|
2490
|
+
const map = this.view.map;
|
2491
|
+
this.initDefExpressions = {};
|
2492
|
+
this.initPointCloudFilters = {};
|
2493
|
+
this.initMapImageExpressions = {};
|
2494
|
+
map.allLayers.concat(map.allTables).forEach(layer => {
|
2495
|
+
if (!supportedTypes.includes(layer.type))
|
2496
|
+
return;
|
2497
|
+
const fl = layer;
|
2498
|
+
if (fl.type === 'point-cloud') {
|
2499
|
+
this.initPointCloudFilters[fl.id] = fl.filters;
|
2500
|
+
}
|
2501
|
+
else if (fl.type === 'map-image') {
|
2502
|
+
this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
|
2503
|
+
acc[sublayer.id] = sublayer.definitionExpression;
|
2504
|
+
return acc;
|
2505
|
+
}, {});
|
2506
|
+
}
|
2507
|
+
else {
|
2508
|
+
this.initDefExpressions[fl.id] = fl.definitionExpression;
|
2509
|
+
}
|
2510
|
+
});
|
2511
|
+
}
|
2502
2512
|
get el() { return getElement(this); }
|
2503
2513
|
static get watchers() { return {
|
2504
2514
|
"view": ["watchViewHandler"],
|
@@ -25,7 +25,7 @@ class AppGuideViewModel {
|
|
25
25
|
}
|
26
26
|
}
|
27
27
|
|
28
|
-
const instantAppsAppGuideCss = ":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;
|
28
|
+
const instantAppsAppGuideCss = ":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}";
|
29
29
|
const InstantAppsAppGuideStyle0 = instantAppsAppGuideCss;
|
30
30
|
|
31
31
|
const CSS = {
|
@@ -935,6 +935,10 @@ const printStyling = `
|
|
935
935
|
grid-row: 1 / span 2;
|
936
936
|
grid-column: 2;
|
937
937
|
}
|
938
|
+
|
939
|
+
.instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {
|
940
|
+
display: block;
|
941
|
+
}
|
938
942
|
|
939
943
|
.instant-apps-export-print__popup-container {
|
940
944
|
height: min-content;
|
@@ -993,7 +997,7 @@ const printStyling = `
|
|
993
997
|
}
|
994
998
|
|
995
999
|
.instant-apps-export-print .esri-widget__heading {
|
996
|
-
margin:
|
1000
|
+
margin: 4pt 7pt;
|
997
1001
|
padding: 0;
|
998
1002
|
color: #323232;
|
999
1003
|
}
|
@@ -19,7 +19,7 @@ var AlignmentPositions;
|
|
19
19
|
AlignmentPositions["BottomRight"] = "bottom-right";
|
20
20
|
})(AlignmentPositions || (AlignmentPositions = {}));
|
21
21
|
|
22
|
-
const instantAppsLandingPageCss = ":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size)
|
22
|
+
const instantAppsLandingPageCss = ":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size)}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px;max-width:50%}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}";
|
23
23
|
const InstantAppsLandingPageStyle0 = instantAppsLandingPageCss;
|
24
24
|
|
25
25
|
const CSS = {
|
@@ -10,7 +10,7 @@ import './esri-loader-c6842c6b.js';
|
|
10
10
|
import './_commonjsHelpers-089957fe.js';
|
11
11
|
import './languageUtil-2b6e191a.js';
|
12
12
|
|
13
|
-
const instantAppsSignInCss = ":host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}";
|
13
|
+
const instantAppsSignInCss = ":host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}";
|
14
14
|
const InstantAppsSignInStyle0 = instantAppsSignInCss;
|
15
15
|
|
16
16
|
const CSS = {
|
@@ -74,7 +74,7 @@ const InstantAppsSignIn = class {
|
|
74
74
|
}
|
75
75
|
renderLandingPageSignIn() {
|
76
76
|
var _a, _b;
|
77
|
-
return (h("div", { class: CSS.buttonContainer }, h("calcite-button", { class: CSS.entryButton, scale: "l",
|
77
|
+
return (h("div", { class: CSS.buttonContainer }, h("calcite-button", { class: CSS.entryButton, scale: "l", onClick: this.landingPageSignIn.bind(this) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.signIn), h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", onClick: this.guestOnClick.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.continueAsGuest)));
|
78
78
|
}
|
79
79
|
async initSignIn() {
|
80
80
|
if (this.portal == null || this.oauthappid == null)
|
@@ -33,31 +33,31 @@ let e$a;function has(a){return "function"==typeof e$a[a]?e$a[a]=e$a[a](globalThi
|
|
33
33
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
34
34
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
35
35
|
*/
|
36
|
-
function o$8(n){return "Int8Array"===n?.constructor?.name}function u$6(n){return "Uint8Array"===n?.constructor?.name}function e$9(n){return "Uint8ClampedArray"===n?.constructor?.name}function c$
|
36
|
+
function o$8(n){return "Int8Array"===n?.constructor?.name}function u$6(n){return "Uint8Array"===n?.constructor?.name}function e$9(n){return "Uint8ClampedArray"===n?.constructor?.name}function c$6(n){return "Int16Array"===n?.constructor?.name}function i$6(n){return "Uint16Array"===n?.constructor?.name}function a$6(n){return "Int32Array"===n?.constructor?.name}function f$5(n){return "Uint32Array"===n?.constructor?.name}function s$6(n){return "Float32Array"===n?.constructor?.name}function m$5(n){return "Float64Array"===n?.constructor?.name}
|
37
37
|
|
38
38
|
/*
|
39
39
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
40
40
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
41
41
|
*/
|
42
|
-
function a$
|
42
|
+
function a$5(t){if(!t||"object"!=typeof t||"function"==typeof t)return t;const n=O$2(t);if(null!=n)return n;if(y$4(t))return t.clone();if(m$4(t))return t.map(a$5);if(b$2(t))return t.clone();const e={};for(const r of Object.getOwnPropertyNames(t))e[r]=a$5(t[r]);return e}function y$4(t){return "function"==typeof t.clone}function m$4(t){return "function"==typeof t.map&&"function"==typeof t.forEach}function b$2(t){return "function"==typeof t.notifyChange&&"function"==typeof t.watch}function O$2(t){if(o$8(t)||u$6(t)||e$9(t)||c$6(t)||i$6(t)||a$6(t)||f$5(t)||s$6(t)||m$5(t))return t.slice();if(t instanceof Date)return new Date(t.getTime());if(t instanceof ArrayBuffer){return t.slice(0,t.byteLength)}if(t instanceof Map){const n=new Map;for(const[e,r]of t)n.set(e,a$5(r));return n}if(t instanceof Set){const n=new Set;for(const e of t)n.add(a$5(e));return n}return null}
|
43
43
|
|
44
44
|
/*
|
45
45
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
46
46
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
47
47
|
*/
|
48
|
-
function n$7(r,n,t=!1){return f$4(r,n,t)}function t$4(r,n){if(null!=n)return n[r]||u$5(r.split("."),!1,n)}function u$5(r,n,t){let e=t;for(const i of r){if(null==e)return;if(!(i in e)){if(!n)return;e[i]={};}e=e[i];}return e}function f$4(n,t,e){return t?Object.keys(t).reduce(((n,i)=>{let u=n[i],l=t[i];return u===l?n:void 0===u?(n[i]=a$
|
48
|
+
function n$7(r,n,t=!1){return f$4(r,n,t)}function t$4(r,n){if(null!=n)return n[r]||u$5(r.split("."),!1,n)}function u$5(r,n,t){let e=t;for(const i of r){if(null==e)return;if(!(i in e)){if(!n)return;e[i]={};}e=e[i];}return e}function f$4(n,t,e){return t?Object.keys(t).reduce(((n,i)=>{let u=n[i],l=t[i];return u===l?n:void 0===u?(n[i]=a$5(l),n):(Array.isArray(l)||Array.isArray(n)?(u=u?Array.isArray(u)?n[i]=u.slice():n[i]=[u]:n[i]=[],l&&(Array.isArray(l)||(l=[l]),e?l.forEach((r=>{u.includes(r)||u.push(r);})):n[i]=l.slice())):l&&"object"==typeof l?n[i]=f$4(u,l,e):n.hasOwnProperty(i)&&!t.hasOwnProperty(i)||(n[i]=l),n)}),n||{}):n}
|
49
49
|
|
50
50
|
/*
|
51
51
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
52
52
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
53
53
|
*/
|
54
|
-
const
|
54
|
+
const a$4="20241101";
|
55
55
|
|
56
56
|
/*
|
57
57
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
58
58
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
59
59
|
*/
|
60
|
-
const s$5={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:
|
60
|
+
const s$5={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(n$7(s$5,globalThis.esriConfig,!0),delete s$5.has),!s$5.assetsPath){{const e="4.31.0";s$5.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}-next.${a$4}/assets`;}s$5.defaultAssetsPath=s$5.assetsPath;}
|
61
61
|
|
62
62
|
/*
|
63
63
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -81,7 +81,7 @@ function s$4(s,e){return s.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,((s,r)
|
|
81
81
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
82
82
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
83
83
|
*/
|
84
|
-
class s$3 extends e$8{constructor(e,t,r){super(e,t,r);}toJSON(){if(null!=this.details)try{return {name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((t,r)=>{if(r&&"object"==typeof r&&"function"==typeof r.toJSON)return r;try{return a$
|
84
|
+
class s$3 extends e$8{constructor(e,t,r){super(e,t,r);}toJSON(){if(null!=this.details)try{return {name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((t,r)=>{if(r&&"object"==typeof r&&"function"==typeof r.toJSON)return r;try{return a$5(r)}catch(s){return "[object]"}})))}}catch(r){throw n$6.getLogger("esri.core.Error").error(r),r}return {name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new s$3(e.name,e.message,e.details)}}s$3.prototype.type="error";
|
85
85
|
|
86
86
|
/*
|
87
87
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|