@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
@@ -1518,6 +1518,7 @@ const InstantAppsFilterList = class {
|
|
1518
1518
|
index.registerInstance(this, hostRef);
|
1519
1519
|
this.filterListReset = index.createEvent(this, "filterListReset", 7);
|
1520
1520
|
this.filterUpdate = index.createEvent(this, "filterUpdate", 7);
|
1521
|
+
this.isLayerExpUpdated = false;
|
1521
1522
|
this.layerExpressions = undefined;
|
1522
1523
|
this.autoUpdateUrl = false;
|
1523
1524
|
this.closeBtn = false;
|
@@ -1538,7 +1539,6 @@ const InstantAppsFilterList = class {
|
|
1538
1539
|
this.messages = undefined;
|
1539
1540
|
this.baseClass = baseClassLight;
|
1540
1541
|
this.disabled = true;
|
1541
|
-
this.hasLayerExpression = false;
|
1542
1542
|
this.initDefExpressions = undefined;
|
1543
1543
|
this.initMapImageExpressions = undefined;
|
1544
1544
|
this.initPointCloudFilters = undefined;
|
@@ -1547,11 +1547,9 @@ const InstantAppsFilterList = class {
|
|
1547
1547
|
this.handleWhenView();
|
1548
1548
|
}
|
1549
1549
|
watchLayerExpressions() {
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
this.hasLayerExpression = true;
|
1554
|
-
}
|
1550
|
+
this.resetAllFilters();
|
1551
|
+
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1552
|
+
this.handleLayerExpressionsUpdate();
|
1555
1553
|
}
|
1556
1554
|
getFilterInitState() {
|
1557
1555
|
return Promise.resolve({
|
@@ -1561,7 +1559,6 @@ const InstantAppsFilterList = class {
|
|
1561
1559
|
});
|
1562
1560
|
}
|
1563
1561
|
forceReset() {
|
1564
|
-
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1565
1562
|
this.handleResetFilter();
|
1566
1563
|
return this.initExpressions();
|
1567
1564
|
}
|
@@ -1576,28 +1573,28 @@ const InstantAppsFilterList = class {
|
|
1576
1573
|
}
|
1577
1574
|
return this.initExpressions();
|
1578
1575
|
}
|
1576
|
+
connectedCallback() {
|
1577
|
+
var _a;
|
1578
|
+
if (this.layerExpressions == null && this.view == null)
|
1579
|
+
return;
|
1580
|
+
this.isLayerExpUpdated = true;
|
1581
|
+
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1582
|
+
this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
|
1583
|
+
this.handleLayerExpressionsUpdate();
|
1584
|
+
}
|
1579
1585
|
async componentWillLoad() {
|
1580
1586
|
var _a;
|
1581
1587
|
this.baseClass = mode.getMode(this.el) === 'dark' ? baseClassDark : baseClassLight;
|
1582
1588
|
await this.initializeModules();
|
1583
1589
|
locale$1.getMessages(this);
|
1584
|
-
|
1590
|
+
if (this.isLayerExpUpdated)
|
1591
|
+
return;
|
1592
|
+
this.isLayerExpUpdated = true;
|
1585
1593
|
this.filterLayerExpressions = this.layerExpressions != null ? structuredClone(this.layerExpressions) : [];
|
1586
1594
|
this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
if (name === 'view' && newValue != null) {
|
1591
|
-
this.handleWhenView();
|
1592
|
-
}
|
1593
|
-
else if (name === 'layerExpressions') {
|
1594
|
-
if (this.hasLayerExpression) {
|
1595
|
-
this.resetAllFilters();
|
1596
|
-
}
|
1597
|
-
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1598
|
-
this.handleLayerExpressionsUpdate();
|
1599
|
-
this.hasLayerExpression = true;
|
1600
|
-
}
|
1595
|
+
if (this.view == null)
|
1596
|
+
return;
|
1597
|
+
this.handleLayerExpressionsUpdate();
|
1601
1598
|
}
|
1602
1599
|
componentWillRender() {
|
1603
1600
|
var _a;
|
@@ -1605,21 +1602,21 @@ const InstantAppsFilterList = class {
|
|
1605
1602
|
}
|
1606
1603
|
disconnectedCallback() {
|
1607
1604
|
if (this.resetFiltersOnDisconnect) {
|
1605
|
+
this.isLayerExpUpdated = false;
|
1608
1606
|
this.filterLayerExpressions = structuredClone(this.layerExpressions);
|
1609
1607
|
this.resetAllFilters();
|
1610
1608
|
}
|
1611
1609
|
}
|
1612
1610
|
async initializeModules() {
|
1613
|
-
const [intl, geometryJsonUtils
|
1611
|
+
const [intl, geometryJsonUtils] = await loadModules.loadModules(['esri/intl', 'esri/geometry/support/jsonUtils']);
|
1614
1612
|
this.geometryJsonUtils = geometryJsonUtils;
|
1615
|
-
this.reactiveUtils = reactiveUtils;
|
1616
1613
|
this.locale = intl.getLocale();
|
1617
1614
|
this.intl = intl;
|
1618
1615
|
}
|
1619
1616
|
render() {
|
1620
1617
|
const filterConfig = this.loading ? this.renderLoading() : this.initFilterConfig();
|
1621
|
-
const footer = this.renderFooter(
|
1622
|
-
return (index.h(index.Host, { key: '
|
1618
|
+
const footer = this.renderFooter();
|
1619
|
+
return (index.h(index.Host, { key: '055d2a02c5118e59462af8759c6bf2f39304fd75' }, index.h("calcite-panel", { key: '0335c9b28101257551902737ef373543aebee1f6', class: this.baseClass, ref: el => (this.panelEl = el) }, index.h("slot", { key: '4b471e66583b3f2fd733688d65ce8d3b2acbeb66', slot: "header-content", name: "filter-header-content" }), index.h("slot", { key: 'f5832075687a6812b902643fd057587b438b38cf', slot: "header-actions-end", name: "filter-header-actions-end" }), index.h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
|
1623
1620
|
}
|
1624
1621
|
renderLoading() {
|
1625
1622
|
return index.h("calcite-loader", { label: "Loading filters..." });
|
@@ -1688,10 +1685,11 @@ const InstantAppsFilterList = class {
|
|
1688
1685
|
const check = min != null && max != null;
|
1689
1686
|
return check ? (index.h("label", { class: CSS$1.filterUIItemContainer }, index.h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), index.h("div", { class: CSS$1.dateInputContainer }, index.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 }), index.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;
|
1690
1687
|
}
|
1691
|
-
renderFooter(
|
1688
|
+
renderFooter() {
|
1692
1689
|
var _a, _b, _c;
|
1693
1690
|
const closeText = this.closeBtnText != null ? this.closeBtnText : (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close;
|
1694
|
-
|
1691
|
+
const btnWidth = this.closeBtn && this.resetBtn ? 'half' : 'full';
|
1692
|
+
return (index.h("div", { class: CSS$1.footer, slot: "footer" }, this.resetBtn ? (index.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 ? (index.h("calcite-button", { appearance: "solid", width: btnWidth, kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)) : undefined));
|
1695
1693
|
}
|
1696
1694
|
renderZoomTo(layerExpression) {
|
1697
1695
|
var _a;
|
@@ -1722,23 +1720,21 @@ const InstantAppsFilterList = class {
|
|
1722
1720
|
}
|
1723
1721
|
async initExpressions() {
|
1724
1722
|
this.loading = true;
|
1725
|
-
if (this.filterLayerExpressions == null)
|
1723
|
+
if (this.filterLayerExpressions == null || this.view == null)
|
1726
1724
|
return;
|
1727
|
-
|
1725
|
+
await this.processExpressions();
|
1728
1726
|
this.loading = false;
|
1729
|
-
this.filterLayerExpressions = [...tmpLE];
|
1730
1727
|
}
|
1731
1728
|
async processExpressions() {
|
1732
1729
|
var _a;
|
1733
1730
|
if (!this.filterLayerExpressions)
|
1734
|
-
return
|
1731
|
+
return;
|
1735
1732
|
for (const layerExpression of this.filterLayerExpressions) {
|
1736
1733
|
for (const expression of layerExpression.expressions || []) {
|
1737
1734
|
expression.active = (_a = expression.active) !== null && _a !== void 0 ? _a : expression.definitionExpression != null;
|
1738
1735
|
await this.setInitExpression(layerExpression, expression);
|
1739
1736
|
}
|
1740
1737
|
}
|
1741
|
-
return this.filterLayerExpressions;
|
1742
1738
|
}
|
1743
1739
|
handleResetFilter() {
|
1744
1740
|
var _a;
|
@@ -1808,6 +1804,8 @@ const InstantAppsFilterList = class {
|
|
1808
1804
|
}
|
1809
1805
|
resetAllFilters() {
|
1810
1806
|
var _a, _b, _c, _d, _e;
|
1807
|
+
if (this.initDefExpressions == null)
|
1808
|
+
return;
|
1811
1809
|
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);
|
1812
1810
|
allLayersAndTables === null || allLayersAndTables === void 0 ? void 0 : allLayersAndTables.forEach(layer => {
|
1813
1811
|
var _a, _b;
|
@@ -1909,18 +1907,19 @@ const InstantAppsFilterList = class {
|
|
1909
1907
|
}
|
1910
1908
|
return false;
|
1911
1909
|
}
|
1912
|
-
updateCodedValueExpression(expression, layerField) {
|
1910
|
+
async updateCodedValueExpression(layerExpression, expression, layerField) {
|
1913
1911
|
var _a, _b;
|
1914
1912
|
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') {
|
1915
1913
|
return false;
|
1916
1914
|
}
|
1915
|
+
const layer = this.findFilterLayer(layerExpression);
|
1916
|
+
await this.getFeatureAttributes(layer, expression);
|
1917
1917
|
const domain = layerField.domain;
|
1918
1918
|
const codedValuesMap = domain.codedValues.reduce((acc, { code, name }) => {
|
1919
1919
|
acc[code] = name;
|
1920
1920
|
return acc;
|
1921
1921
|
}, {});
|
1922
1922
|
expression.codedValues = codedValuesMap;
|
1923
|
-
expression.fields = Object.keys(codedValuesMap);
|
1924
1923
|
if ((_b = expression.selectedFields) === null || _b === void 0 ? void 0 : _b.length) {
|
1925
1924
|
const selectedFieldsExpression = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`)).join(',');
|
1926
1925
|
expression.definitionExpression = `${expression.field} IN (${selectedFieldsExpression})`;
|
@@ -1989,7 +1988,7 @@ const InstantAppsFilterList = class {
|
|
1989
1988
|
if (features === null || features === void 0 ? void 0 : features.length) {
|
1990
1989
|
expression.fields = [...new Set(features)];
|
1991
1990
|
if (expression.type === 'string') {
|
1992
|
-
expression.fields = expression.fields.sort();
|
1991
|
+
expression.fields = expression.fields.sort((a, b) => a.localeCompare(b));
|
1993
1992
|
}
|
1994
1993
|
else if (expression.type === 'number') {
|
1995
1994
|
expression.fields = expression.fields.sort((a, b) => a - b);
|
@@ -2018,8 +2017,15 @@ const InstantAppsFilterList = class {
|
|
2018
2017
|
expression.fields.push(...features);
|
2019
2018
|
}
|
2020
2019
|
});
|
2021
|
-
expression.
|
2022
|
-
|
2020
|
+
if (expression.type === 'string') {
|
2021
|
+
expression.fields = [...new Set(expression.fields)].sort((a, b) => a.localeCompare(b));
|
2022
|
+
}
|
2023
|
+
else if (expression.type === 'number') {
|
2024
|
+
expression.fields = [...new Set(expression.fields)].sort((a, b) => a - b);
|
2025
|
+
}
|
2026
|
+
else {
|
2027
|
+
expression.fields = [...new Set(expression.fields)].sort();
|
2028
|
+
}
|
2023
2029
|
});
|
2024
2030
|
}
|
2025
2031
|
async queryForFeatures(layer, query, field) {
|
@@ -2102,13 +2108,14 @@ const InstantAppsFilterList = class {
|
|
2102
2108
|
case 'number':
|
2103
2109
|
return await this.updateNumberExpression(layerExpression, expression);
|
2104
2110
|
case 'date':
|
2105
|
-
return this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
|
2111
|
+
return await this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
|
2106
2112
|
case 'coded-value':
|
2107
|
-
return this.updateCodedValueExpression(expression, layerField);
|
2113
|
+
return await this.updateCodedValueExpression(layerExpression, expression, layerField);
|
2108
2114
|
case 'range':
|
2109
|
-
return this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
|
2115
|
+
return await this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
|
2110
2116
|
case 'checkbox':
|
2111
2117
|
case null:
|
2118
|
+
case undefined:
|
2112
2119
|
return (_a = expression.active) !== null && _a !== void 0 ? _a : false;
|
2113
2120
|
default:
|
2114
2121
|
return false;
|
@@ -2308,31 +2315,9 @@ const InstantAppsFilterList = class {
|
|
2308
2315
|
this.handleLayerExpressionsUpdate();
|
2309
2316
|
}
|
2310
2317
|
async handleLayerExpressionsUpdate() {
|
2311
|
-
|
2312
|
-
return;
|
2313
|
-
const map = this.view.map;
|
2314
|
-
this.initDefExpressions = {};
|
2315
|
-
this.initPointCloudFilters = {};
|
2316
|
-
this.initMapImageExpressions = {};
|
2317
|
-
map.allLayers.concat(map.allTables).forEach(layer => {
|
2318
|
-
if (!supportedTypes.includes(layer.type))
|
2319
|
-
return;
|
2320
|
-
const fl = layer;
|
2321
|
-
if (fl.type === 'point-cloud') {
|
2322
|
-
this.initPointCloudFilters[fl.id] = fl.filters;
|
2323
|
-
}
|
2324
|
-
else if (fl.type === 'map-image') {
|
2325
|
-
this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
|
2326
|
-
acc[sublayer.id] = sublayer.definitionExpression;
|
2327
|
-
return acc;
|
2328
|
-
}, {});
|
2329
|
-
}
|
2330
|
-
else {
|
2331
|
-
this.initDefExpressions[fl.id] = fl.definitionExpression;
|
2332
|
-
}
|
2333
|
-
});
|
2334
|
-
this.initExpressions();
|
2318
|
+
this.updateInitExpressions();
|
2335
2319
|
this.handleURLParams();
|
2320
|
+
this.initExpressions();
|
2336
2321
|
}
|
2337
2322
|
async handleZoomTo(layerExpression) {
|
2338
2323
|
const zoomId = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `#zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `#zoom-to-${layerExpression.id}`;
|
@@ -2503,6 +2488,31 @@ const InstantAppsFilterList = class {
|
|
2503
2488
|
query.geometry = geometry;
|
2504
2489
|
query.spatialRelationship = 'intersects';
|
2505
2490
|
}
|
2491
|
+
updateInitExpressions() {
|
2492
|
+
if (this.view == null)
|
2493
|
+
return;
|
2494
|
+
const map = this.view.map;
|
2495
|
+
this.initDefExpressions = {};
|
2496
|
+
this.initPointCloudFilters = {};
|
2497
|
+
this.initMapImageExpressions = {};
|
2498
|
+
map.allLayers.concat(map.allTables).forEach(layer => {
|
2499
|
+
if (!supportedTypes.includes(layer.type))
|
2500
|
+
return;
|
2501
|
+
const fl = layer;
|
2502
|
+
if (fl.type === 'point-cloud') {
|
2503
|
+
this.initPointCloudFilters[fl.id] = fl.filters;
|
2504
|
+
}
|
2505
|
+
else if (fl.type === 'map-image') {
|
2506
|
+
this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
|
2507
|
+
acc[sublayer.id] = sublayer.definitionExpression;
|
2508
|
+
return acc;
|
2509
|
+
}, {});
|
2510
|
+
}
|
2511
|
+
else {
|
2512
|
+
this.initDefExpressions[fl.id] = fl.definitionExpression;
|
2513
|
+
}
|
2514
|
+
});
|
2515
|
+
}
|
2506
2516
|
get el() { return index.getElement(this); }
|
2507
2517
|
static get watchers() { return {
|
2508
2518
|
"view": ["watchViewHandler"],
|
@@ -29,7 +29,7 @@ class AppGuideViewModel {
|
|
29
29
|
}
|
30
30
|
}
|
31
31
|
|
32
|
-
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;
|
32
|
+
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)}";
|
33
33
|
const InstantAppsAppGuideStyle0 = instantAppsAppGuideCss;
|
34
34
|
|
35
35
|
const CSS = {
|
@@ -939,6 +939,10 @@ const printStyling = `
|
|
939
939
|
grid-row: 1 / span 2;
|
940
940
|
grid-column: 2;
|
941
941
|
}
|
942
|
+
|
943
|
+
.instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {
|
944
|
+
display: block;
|
945
|
+
}
|
942
946
|
|
943
947
|
.instant-apps-export-print__popup-container {
|
944
948
|
height: min-content;
|
@@ -997,7 +1001,7 @@ const printStyling = `
|
|
997
1001
|
}
|
998
1002
|
|
999
1003
|
.instant-apps-export-print .esri-widget__heading {
|
1000
|
-
margin:
|
1004
|
+
margin: 4pt 7pt;
|
1001
1005
|
padding: 0;
|
1002
1006
|
color: #323232;
|
1003
1007
|
}
|
@@ -23,7 +23,7 @@ var AlignmentPositions;
|
|
23
23
|
AlignmentPositions["BottomRight"] = "bottom-right";
|
24
24
|
})(AlignmentPositions || (AlignmentPositions = {}));
|
25
25
|
|
26
|
-
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)
|
26
|
+
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%}}";
|
27
27
|
const InstantAppsLandingPageStyle0 = instantAppsLandingPageCss;
|
28
28
|
|
29
29
|
const CSS = {
|
@@ -14,7 +14,7 @@ require('./esri-loader-08dc41bd.js');
|
|
14
14
|
require('./_commonjsHelpers-baf43783.js');
|
15
15
|
require('./languageUtil-a3e1eafd.js');
|
16
16
|
|
17
|
-
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}}";
|
17
|
+
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}}";
|
18
18
|
const InstantAppsSignInStyle0 = instantAppsSignInCss;
|
19
19
|
|
20
20
|
const CSS = {
|
@@ -78,7 +78,7 @@ const InstantAppsSignIn = class {
|
|
78
78
|
}
|
79
79
|
renderLandingPageSignIn() {
|
80
80
|
var _a, _b;
|
81
|
-
return (index.h("div", { class: CSS.buttonContainer }, index.h("calcite-button", { class: CSS.entryButton, scale: "l",
|
81
|
+
return (index.h("div", { class: CSS.buttonContainer }, index.h("calcite-button", { class: CSS.entryButton, scale: "l", onClick: this.landingPageSignIn.bind(this) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.signIn), index.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)));
|
82
82
|
}
|
83
83
|
async initSignIn() {
|
84
84
|
if (this.portal == null || this.oauthappid == null)
|
@@ -37,31 +37,31 @@ let e$a;function has(a){return "function"==typeof e$a[a]?e$a[a]=e$a[a](globalThi
|
|
37
37
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
38
38
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
39
39
|
*/
|
40
|
-
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$
|
40
|
+
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}
|
41
41
|
|
42
42
|
/*
|
43
43
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
44
44
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
45
45
|
*/
|
46
|
-
function a$
|
46
|
+
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}
|
47
47
|
|
48
48
|
/*
|
49
49
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
50
50
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
51
51
|
*/
|
52
|
-
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$
|
52
|
+
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}
|
53
53
|
|
54
54
|
/*
|
55
55
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
56
56
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
57
57
|
*/
|
58
|
-
const
|
58
|
+
const a$4="20241101";
|
59
59
|
|
60
60
|
/*
|
61
61
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
62
62
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
63
63
|
*/
|
64
|
-
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:
|
64
|
+
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;}
|
65
65
|
|
66
66
|
/*
|
67
67
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -85,7 +85,7 @@ function s$4(s,e){return s.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,((s,r)
|
|
85
85
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
86
86
|
See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
87
87
|
*/
|
88
|
-
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$
|
88
|
+
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";
|
89
89
|
|
90
90
|
/*
|
91
91
|
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|