@esri/solutions-components 0.10.42 → 0.10.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_5.cjs.entry.js +25 -26
- package/dist/cjs/card-manager_3.cjs.entry.js +32 -4
- package/dist/cjs/{constants-51cf394f.js → constants-bed33322.js} +3 -11
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +112 -49
- package/dist/cjs/{helpers-afcac967.js → helpers-0493759d.js} +1 -1
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +21 -7
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -5
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +2 -2
- package/dist/cjs/{loadModules-8567855e.js → loadModules-df8b13ca.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-4a18a858.js → locale-4b820602.js} +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/{utils-fa7ad44b.js → utils-3f10ea6b.js} +2 -2
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +112 -49
- package/dist/collection/components/layer-table/layer-table.js +32 -4
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +2 -2
- package/dist/components/crowdsource-reporter.js +112 -49
- package/dist/components/instant-apps-filter-list2.js +25 -26
- package/dist/components/instant-apps-interactive-legend-relationship2.js +19 -5
- package/dist/components/instant-apps-language-switcher.js +3 -3
- package/dist/components/instant-apps-language-translator2.js +4 -12
- package/dist/components/instant-apps-splash.js +4 -3
- package/dist/components/layer-table2.js +32 -4
- package/dist/components/loadModules2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +2 -2
- package/dist/components/utils4.js +1 -1
- package/dist/esm/calcite-action-pad_2.entry.js +1 -1
- package/dist/esm/calcite-block_5.entry.js +25 -26
- package/dist/esm/card-manager_3.entry.js +32 -4
- package/dist/esm/{constants-886c7c2c.js → constants-637a40f5.js} +3 -11
- package/dist/esm/crowdsource-reporter.entry.js +112 -49
- package/dist/esm/{helpers-91087955.js → helpers-91ca0f44.js} +1 -1
- package/dist/esm/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +2 -2
- package/dist/esm/instant-apps-export-views.entry.js +2 -2
- package/dist/esm/instant-apps-export.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +21 -7
- package/dist/esm/instant-apps-interactive-legend.entry.js +3 -3
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/instant-apps-language-switcher.entry.js +7 -7
- package/dist/esm/instant-apps-language-translator.entry.js +6 -6
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +2 -2
- package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-splash.entry.js +6 -5
- package/dist/esm/instant-apps-time-filter.entry.js +2 -2
- package/dist/esm/{loadModules-03ba7abe.js → loadModules-d5a25252.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-ce177eb8.js → locale-77038bee.js} +1 -1
- package/dist/esm/solution-contents_3.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/{utils-3fc29543.js → utils-0a78d3c9.js} +2 -2
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +7 -0
- package/dist/solutions-components/{p-b739f26d.entry.js → p-053effee.entry.js} +1 -1
- package/dist/solutions-components/{p-af573e0d.js → p-09543b4e.js} +1 -1
- package/dist/solutions-components/p-1b1ff60a.entry.js +6 -0
- package/dist/solutions-components/{p-e4107150.entry.js → p-2291bf3f.entry.js} +1 -1
- package/dist/solutions-components/p-2cf41651.entry.js +6 -0
- package/dist/solutions-components/{p-fe3aea1a.entry.js → p-351c7cbf.entry.js} +1 -1
- package/dist/solutions-components/{p-90fc786f.entry.js → p-3d999f0f.entry.js} +1 -1
- package/dist/solutions-components/p-3fe6c230.entry.js +6 -0
- package/dist/solutions-components/p-4695cfab.js +6 -0
- package/dist/solutions-components/{p-43699470.entry.js → p-499489c5.entry.js} +1 -1
- package/dist/solutions-components/{p-5ff711ee.js → p-5104cc98.js} +1 -1
- package/dist/solutions-components/p-5e694bcc.entry.js +29 -0
- package/dist/solutions-components/{p-cbb86cf2.entry.js → p-6a3f2249.entry.js} +1 -1
- package/dist/solutions-components/{p-a7f56b28.entry.js → p-6e5ea1cb.entry.js} +1 -1
- package/dist/solutions-components/{p-9c170b30.entry.js → p-76a1236d.entry.js} +1 -1
- package/dist/solutions-components/{p-1e14b3d0.entry.js → p-78b6d3fe.entry.js} +1 -1
- package/dist/solutions-components/{p-c48be45f.entry.js → p-8a1a0f9b.entry.js} +1 -1
- package/dist/solutions-components/{p-5cbf3eed.entry.js → p-8d4a4498.entry.js} +1 -1
- package/dist/solutions-components/{p-4a02fd45.entry.js → p-9d9e0e74.entry.js} +1 -1
- package/dist/solutions-components/{p-50fb7f47.js → p-b49e1a78.js} +1 -1
- package/dist/solutions-components/{p-c551ffc5.entry.js → p-c399f2b8.entry.js} +1 -1
- package/dist/solutions-components/p-cb27611e.entry.js +6 -0
- package/dist/solutions-components/{p-4cd4cb85.js → p-d001e961.js} +1 -1
- package/dist/solutions-components/{p-523dcf4b.entry.js → p-d37a68f7.entry.js} +1 -1
- package/dist/solutions-components/{p-a2cf9fdc.entry.js → p-db7d5db8.entry.js} +1 -1
- package/dist/solutions-components/{p-6438d1ea.entry.js → p-e29e57db.entry.js} +1 -1
- package/dist/solutions-components/{p-a5b751e2.entry.js → p-e625aa69.entry.js} +1 -1
- package/dist/solutions-components/{p-2542d5c9.entry.js → p-e9fcc194.entry.js} +1 -1
- package/dist/solutions-components/p-f0509d41.entry.js +6 -0
- package/dist/solutions-components/{p-374ddead.entry.js → p-f4880179.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +43 -17
- package/dist/types/components/layer-table/layer-table.d.ts +4 -0
- package/package.json +7 -7
- package/dist/solutions-components/p-3fc18283.entry.js +0 -6
- package/dist/solutions-components/p-442dd59c.entry.js +0 -6
- package/dist/solutions-components/p-5585dcd3.entry.js +0 -6
- package/dist/solutions-components/p-953afbb3.entry.js +0 -29
- package/dist/solutions-components/p-a1d8aed8.entry.js +0 -6
- package/dist/solutions-components/p-ceb1030b.js +0 -6
- package/dist/solutions-components/p-f728af86.entry.js +0 -6
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const loadModules = require('./loadModules-
|
12
|
-
const locale = require('./locale-
|
11
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
12
|
+
const locale = require('./locale-4b820602.js');
|
13
13
|
const mode = require('./mode-3478ba36.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
@@ -8,9 +8,9 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const helpers = require('./helpers-
|
11
|
+
const helpers = require('./helpers-0493759d.js');
|
12
12
|
const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
|
13
|
-
const loadModules = require('./loadModules-
|
13
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
14
14
|
require('./index-2b13a4d5.js');
|
15
15
|
require('./esri-loader-08dc41bd.js');
|
16
16
|
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const loadModules = require('./loadModules-
|
12
|
-
const helpers = require('./helpers-
|
11
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
12
|
+
const helpers = require('./helpers-0493759d.js');
|
13
13
|
require('./esri-loader-08dc41bd.js');
|
14
14
|
require('./_commonjsHelpers-baf43783.js');
|
15
15
|
require('./index-2b13a4d5.js');
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const helpers = require('./helpers-
|
12
|
-
require('./loadModules-
|
11
|
+
const helpers = require('./helpers-0493759d.js');
|
12
|
+
require('./loadModules-df8b13ca.js');
|
13
13
|
require('./esri-loader-08dc41bd.js');
|
14
14
|
require('./_commonjsHelpers-baf43783.js');
|
15
15
|
require('./index-2b13a4d5.js');
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const helpers = require('./helpers-
|
12
|
-
const loadModules = require('./loadModules-
|
11
|
+
const helpers = require('./helpers-0493759d.js');
|
12
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
13
13
|
require('./index-2b13a4d5.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
@@ -349,15 +349,29 @@ const InstantAppsInteractiveLegendRelationship = class {
|
|
349
349
|
if (!cellGroup)
|
350
350
|
return;
|
351
351
|
cellGroup.map((cell, cellIndex) => {
|
352
|
-
var _a, _b;
|
352
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
353
353
|
const uvInfos = ((_b = (_a = this.activeLayerInfo) === null || _a === void 0 ? void 0 : _a.layer) === null || _b === void 0 ? void 0 : _b.renderer).uniqueValueInfos;
|
354
354
|
if (uvInfos[cellIndex]) {
|
355
|
-
const
|
355
|
+
const CIMSymbolColor_Index = (_g = (_f = (_e = (_d = (_c = uvInfos === null || uvInfos === void 0 ? void 0 : uvInfos[cellIndex]) === null || _c === void 0 ? void 0 : _c.symbol) === null || _d === void 0 ? void 0 : _d['data']) === null || _e === void 0 ? void 0 : _e.symbol) === null || _f === void 0 ? void 0 : _f.symbolLayers) === null || _g === void 0 ? void 0 : _g[1].color;
|
356
|
+
const colorFromUVInfo_Index = (_j = (_h = uvInfos === null || uvInfos === void 0 ? void 0 : uvInfos[cellIndex]) === null || _h === void 0 ? void 0 : _h.symbol) === null || _j === void 0 ? void 0 : _j.color;
|
356
357
|
uvInfos.forEach((uvInfo, index) => {
|
357
|
-
|
358
|
-
const
|
359
|
-
|
358
|
+
var _a, _b, _c, _d, _e;
|
359
|
+
const colorFromUVInfo = (_a = uvInfo === null || uvInfo === void 0 ? void 0 : uvInfo.symbol) === null || _a === void 0 ? void 0 : _a.color;
|
360
|
+
const CIMSymbolColor = (_e = (_d = (_c = (_b = uvInfo === null || uvInfo === void 0 ? void 0 : uvInfo.symbol) === null || _b === void 0 ? void 0 : _b['data']) === null || _c === void 0 ? void 0 : _c.symbol) === null || _d === void 0 ? void 0 : _d.symbolLayers) === null || _e === void 0 ? void 0 : _e[1].color;
|
361
|
+
let match = false;
|
362
|
+
if (CIMSymbolColor) {
|
363
|
+
match = CIMSymbolColor.every((value, i) => value === CIMSymbolColor_Index[i]);
|
364
|
+
}
|
365
|
+
else {
|
366
|
+
match =
|
367
|
+
colorFromUVInfo.r === colorFromUVInfo_Index.r &&
|
368
|
+
colorFromUVInfo.g === colorFromUVInfo_Index.g &&
|
369
|
+
colorFromUVInfo.b === colorFromUVInfo_Index.b &&
|
370
|
+
colorFromUVInfo.a === colorFromUVInfo_Index.a;
|
371
|
+
}
|
372
|
+
if (match) {
|
360
373
|
this.setCellAttributes(cell, index);
|
374
|
+
}
|
361
375
|
});
|
362
376
|
cell.classList.add('esri-interactive-legend__svg-rect-element');
|
363
377
|
}
|
@@ -8,9 +8,9 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const loadModules = require('./loadModules-
|
12
|
-
const locale = require('./locale-
|
13
|
-
const helpers = require('./helpers-
|
11
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
12
|
+
const locale = require('./locale-4b820602.js');
|
13
|
+
const helpers = require('./helpers-0493759d.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
16
|
require('./languageUtil-a3e1eafd.js');
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
require('./loadModules-
|
11
|
+
const locale = require('./locale-4b820602.js');
|
12
|
+
require('./loadModules-df8b13ca.js');
|
13
13
|
require('./esri-loader-08dc41bd.js');
|
14
14
|
require('./_commonjsHelpers-baf43783.js');
|
15
15
|
require('./languageUtil-a3e1eafd.js');
|
@@ -8,10 +8,10 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const utils = require('./utils-
|
12
|
-
const loadModules = require('./loadModules-
|
13
|
-
const locale = require('./locale-
|
14
|
-
const constants = require('./constants-
|
11
|
+
const utils = require('./utils-3f10ea6b.js');
|
12
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
13
|
+
const locale = require('./locale-4b820602.js');
|
14
|
+
const constants = require('./constants-bed33322.js');
|
15
15
|
require('./index-2b13a4d5.js');
|
16
16
|
require('./esri-loader-08dc41bd.js');
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
@@ -42,7 +42,7 @@ const InstantAppsLanguageSwitcher = class {
|
|
42
42
|
this.messages = await utils.getMessages(document.createElement('instant-apps-language-translator'));
|
43
43
|
try {
|
44
44
|
this.portalItemResource = (await constants.getPortalItemResource(this.portalItem));
|
45
|
-
const t9nData = await constants.fetchResourceData(
|
45
|
+
const t9nData = await constants.fetchResourceData(this.portalItemResource);
|
46
46
|
this.t9nData = t9nData !== null && t9nData !== void 0 ? t9nData : {};
|
47
47
|
}
|
48
48
|
catch (err) {
|
@@ -83,7 +83,7 @@ const InstantAppsLanguageSwitcher = class {
|
|
83
83
|
const trigger = this.renderTrigger();
|
84
84
|
const dropdown = this.renderDropdownItems();
|
85
85
|
const defaultLocale = this.renderDefaultLocale();
|
86
|
-
return (index.h("calcite-dropdown", { key: '
|
86
|
+
return (index.h("calcite-dropdown", { key: '7f9b97b70ec4a84ebd17d0d41ba598ae15304f10', onCalciteDropdownBeforeOpen: () => (this.trigger.iconEnd = 'chevron-up'), onCalciteDropdownBeforeClose: () => (this.trigger.iconEnd = 'chevron-down'), "overlay-positioning": this.calciteDropdownOverlayPositioning, "width-scale": "m" }, trigger, defaultLocale, dropdown));
|
87
87
|
}
|
88
88
|
renderDefaultLocale() {
|
89
89
|
const { userLocale } = this;
|
@@ -165,7 +165,7 @@ const InstantAppsLanguageSwitcher = class {
|
|
165
165
|
async refresh() {
|
166
166
|
try {
|
167
167
|
const resource = (await constants.getPortalItemResource(this.portalItem));
|
168
|
-
const t9nData = await constants.fetchResourceData(
|
168
|
+
const t9nData = await constants.fetchResourceData(resource);
|
169
169
|
this.t9nData = t9nData;
|
170
170
|
const refreshedData = { locale: this.selectedLanguage, data: t9nData[this.selectedLanguage] };
|
171
171
|
this.selectedLanguageUpdated.emit(refreshedData);
|
@@ -8,10 +8,10 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const utils = require('./utils-
|
12
|
-
const loadModules = require('./loadModules-
|
13
|
-
const locale = require('./locale-
|
14
|
-
const constants = require('./constants-
|
11
|
+
const utils = require('./utils-3f10ea6b.js');
|
12
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
13
|
+
const locale = require('./locale-4b820602.js');
|
14
|
+
const constants = require('./constants-bed33322.js');
|
15
15
|
require('./index-2b13a4d5.js');
|
16
16
|
require('./esri-loader-08dc41bd.js');
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
@@ -113,14 +113,14 @@ const InstantAppsLanguageTranslator = class {
|
|
113
113
|
try {
|
114
114
|
const portalItemResource = (await constants.getPortalItemResource(this.portalItem));
|
115
115
|
utils.store.set('portalItemResource', portalItemResource);
|
116
|
-
const t9nData = await constants.fetchResourceData(
|
116
|
+
const t9nData = await constants.fetchResourceData(portalItemResource);
|
117
117
|
utils.store.set('lastSave', t9nData.lastSave);
|
118
118
|
utils.store.set('portalItemResourceT9n', t9nData !== null && t9nData !== void 0 ? t9nData : {});
|
119
119
|
}
|
120
120
|
catch (_a) { }
|
121
121
|
}
|
122
122
|
render() {
|
123
|
-
return (index.h(index.Host, { key: '
|
123
|
+
return (index.h(index.Host, { key: 'bbd0cf37c4aa5e145ee14cc17f8a005bcc28ac9c' }, this.renderModal(), this.renderPopoverTip()));
|
124
124
|
}
|
125
125
|
renderModal() {
|
126
126
|
return (index.h("calcite-modal", { open: this.open, scale: "l", fullscreen: true, onCalciteModalClose: this.close.bind(this) }, this.renderHeader(), this.renderContent(), this.renderPrimaryContent()));
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
require('./loadModules-
|
11
|
+
const locale = require('./locale-4b820602.js');
|
12
|
+
require('./loadModules-df8b13ca.js');
|
13
13
|
require('./esri-loader-08dc41bd.js');
|
14
14
|
require('./_commonjsHelpers-baf43783.js');
|
15
15
|
require('./languageUtil-a3e1eafd.js');
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const locale = require('./locale-
|
12
|
-
require('./loadModules-
|
11
|
+
const locale = require('./locale-4b820602.js');
|
12
|
+
require('./loadModules-df8b13ca.js');
|
13
13
|
require('./esri-loader-08dc41bd.js');
|
14
14
|
require('./_commonjsHelpers-baf43783.js');
|
15
15
|
require('./languageUtil-a3e1eafd.js');
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const loadModules = require('./loadModules-
|
12
|
-
const locale = require('./locale-
|
11
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
12
|
+
const locale = require('./locale-4b820602.js');
|
13
13
|
const breakpoints = require('./breakpoints-7d21666f.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
@@ -8,8 +8,8 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
|
-
const loadModules = require('./loadModules-
|
12
|
-
const locale = require('./locale-
|
11
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
12
|
+
const locale = require('./locale-4b820602.js');
|
13
13
|
require('./esri-loader-08dc41bd.js');
|
14
14
|
require('./_commonjsHelpers-baf43783.js');
|
15
15
|
require('./languageUtil-a3e1eafd.js');
|
@@ -9,8 +9,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
11
|
const index$1 = require('./index-f052f656.js');
|
12
|
-
const locale = require('./locale-
|
13
|
-
require('./loadModules-
|
12
|
+
const locale = require('./locale-4b820602.js');
|
13
|
+
require('./loadModules-df8b13ca.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
16
|
require('./languageUtil-a3e1eafd.js');
|
@@ -54,11 +54,12 @@ function removeItemFromLocalStorage(key) {
|
|
54
54
|
(_a = window === null || window === void 0 ? void 0 : window.localStorage) === null || _a === void 0 ? void 0 : _a.removeItem(key);
|
55
55
|
}
|
56
56
|
|
57
|
-
const instantAppsSplashCss = ":host{display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}";
|
57
|
+
const instantAppsSplashCss = ":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}";
|
58
58
|
const InstantAppsSplashStyle0 = instantAppsSplashCss;
|
59
59
|
|
60
60
|
const CSS = {
|
61
61
|
back: 'instant-apps-splash__back-content',
|
62
|
+
content: 'instant-apps-splash__content',
|
62
63
|
};
|
63
64
|
const InstantAppsSplash = class {
|
64
65
|
constructor(hostRef) {
|
@@ -98,7 +99,7 @@ const InstantAppsSplash = class {
|
|
98
99
|
locale.getMessages(this);
|
99
100
|
}
|
100
101
|
render() {
|
101
|
-
return (index.h("calcite-modal", { key: '
|
102
|
+
return (index.h("calcite-modal", { key: '9496c3fd2cee50e19313f82ca1acd5532e8ba4d1', onCalciteModalClose: this.close.bind(this), open: this.open, closeButtonDisabled: this.closeButtonDisabled, outsideCloseDisabled: this.outsideCloseDisabled }, this.renderHeader(), this.renderContent(), this.localStorageKey ? this.renderDontShowThisAgainCheckbox() : null, this.renderPrimaryButton(), this.secondaryButton ? this.renderSecondaryButton() : null));
|
102
103
|
}
|
103
104
|
renderHeader() {
|
104
105
|
const { titleText } = this;
|
@@ -106,7 +107,7 @@ const InstantAppsSplash = class {
|
|
106
107
|
}
|
107
108
|
renderContent() {
|
108
109
|
const { content } = this;
|
109
|
-
return (index.h("div", { slot: "content", innerHTML: content }, index.h("slot", { name: "custom-action" })));
|
110
|
+
return (index.h("div", { slot: "content", class: CSS.content, innerHTML: content }, index.h("slot", { name: "custom-action" })));
|
110
111
|
}
|
111
112
|
renderDontShowThisAgainCheckbox() {
|
112
113
|
const { localStorageKey, messages } = this;
|
@@ -9,8 +9,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
10
10
|
const index$1 = require('./index-4b68e4b4.js');
|
11
11
|
const index = require('./index-2b13a4d5.js');
|
12
|
-
const loadModules = require('./loadModules-
|
13
|
-
const locale = require('./locale-
|
12
|
+
const loadModules = require('./loadModules-df8b13ca.js');
|
13
|
+
const locale = require('./locale-4b820602.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
16
|
require('./languageUtil-a3e1eafd.js');
|
@@ -15,7 +15,7 @@ const esriLoader = require('./esri-loader-08dc41bd.js');
|
|
15
15
|
* See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
|
16
16
|
*/
|
17
17
|
const loadModules = async (moduleNames, options) => {
|
18
|
-
esriLoader.esriLoader.exports.setDefaultOptions({ url: 'https://js.arcgis.com/4.
|
18
|
+
esriLoader.esriLoader.exports.setDefaultOptions({ url: 'https://js.arcgis.com/4.31/' });
|
19
19
|
const mods = await esriLoader.esriLoader.exports.loadModules(moduleNames, options);
|
20
20
|
return mods.map(mod => (mod.__esModule && mod.default ? mod.default : mod));
|
21
21
|
};
|