@esri/solutions-components 0.10.35 → 0.10.37
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +1 -0
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert_5.cjs.entry.js +3 -3
- package/dist/cjs/calcite-block_5.cjs.entry.js +2 -2
- package/dist/cjs/card-manager_3.cjs.entry.js +2 -2
- package/dist/cjs/{constants-0a4fc296.js → constants-51cf394f.js} +57 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +25 -29
- package/dist/cjs/{downloadUtils-20637f89.js → downloadUtils-76bc7e30.js} +6 -5
- package/dist/cjs/feature-list.cjs.entry.js +3 -3
- package/dist/cjs/{helpers-415179ad.js → helpers-afcac967.js} +1 -1
- package/dist/cjs/{index.es-a242cb45.js → index.es-8336efed.js} +2 -2
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +26 -13
- package/dist/cjs/instant-apps-export.cjs.entry.js +1086 -59
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +8 -4
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +10 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +52 -12
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +9 -3
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +19 -13
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -2
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +13 -9
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +11 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/{popupUtils-d477705b.js → popupUtils-bc762034.js} +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-accordion.cjs.entry.js +7 -3
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +27 -29
- package/dist/collection/components/map-legend/map-legend.js +1 -0
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +7 -3
- package/dist/collection/demos/solution-item-accordion.html +32 -0
- package/dist/collection/utils/downloadUtils.js +5 -3
- package/dist/collection/utils/downloadUtils.ts +6 -3
- package/dist/collection/utils/test/downloadUtils.spec.tsx +10 -12
- package/dist/components/crowdsource-manager.js +26 -29
- package/dist/components/downloadUtils.js +5 -4
- package/dist/components/instant-apps-app-guide.js +28 -14
- package/dist/components/instant-apps-export.js +1119 -76
- package/dist/components/instant-apps-interactive-legend-classic2.js +8 -4
- package/dist/components/instant-apps-interactive-legend-count2.js +6 -3
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +5 -2
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +52 -12
- package/dist/components/instant-apps-interactive-legend.js +13 -4
- package/dist/components/instant-apps-landing-page.js +19 -13
- package/dist/components/instant-apps-language-switcher.js +3 -1
- package/dist/components/instant-apps-language-translator2.js +57 -1
- package/dist/components/instant-apps-measurement-tool2.js +2 -2
- package/dist/components/instant-apps-measurement.js +2 -2
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +14 -9
- package/dist/components/instant-apps-social-share2.js +2 -2
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/instant-apps-time-filter.js +11 -9
- package/dist/components/map-legend2.js +1 -0
- package/dist/components/solution-item-accordion.js +7 -3
- package/dist/components/store.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +1 -0
- package/dist/esm/calcite-action-pad_2.entry.js +2 -2
- package/dist/esm/calcite-alert_5.entry.js +3 -3
- package/dist/esm/calcite-block_5.entry.js +2 -2
- package/dist/esm/card-manager_3.entry.js +2 -2
- package/dist/esm/{constants-045d6a1b.js → constants-886c7c2c.js} +57 -1
- package/dist/esm/crowdsource-manager.entry.js +25 -29
- package/dist/esm/{downloadUtils-e266e98d.js → downloadUtils-bc7a4ba1.js} +6 -5
- package/dist/esm/feature-list.entry.js +3 -3
- package/dist/esm/{helpers-f9bf9c0b.js → helpers-91087955.js} +1 -1
- package/dist/esm/{index.es-c5f258e2.js → index.es-0d189a34.js} +2 -2
- package/dist/esm/instant-apps-app-guide.entry.js +26 -13
- package/dist/esm/instant-apps-export.entry.js +1086 -59
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +8 -4
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +10 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +52 -12
- package/dist/esm/instant-apps-interactive-legend.entry.js +9 -3
- package/dist/esm/instant-apps-landing-page.entry.js +19 -13
- package/dist/esm/instant-apps-language-switcher.entry.js +3 -2
- package/dist/esm/instant-apps-language-translator.entry.js +1 -1
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-sign-in.entry.js +13 -9
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +11 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +2 -2
- package/dist/esm/{popupUtils-4570096e.js → popupUtils-03dc398a.js} +1 -1
- package/dist/esm/public-notification.entry.js +2 -2
- package/dist/esm/solution-item-accordion.entry.js +7 -3
- 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 +0 -5
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +4 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +14 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +9 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +5 -3
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +29 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +8 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +22 -0
- package/dist/solutions-components/demos/solution-item-accordion.html +32 -0
- package/dist/solutions-components/{p-cb3199f9.entry.js → p-04ab956c.entry.js} +1 -1
- package/dist/solutions-components/p-1e14b3d0.entry.js +6 -0
- package/dist/solutions-components/p-2542d5c9.entry.js +6 -0
- package/dist/solutions-components/{p-70ecc979.entry.js → p-374ddead.entry.js} +1 -1
- package/dist/solutions-components/{p-146acd9a.entry.js → p-3fc18283.entry.js} +1 -1
- package/dist/solutions-components/p-43699470.entry.js +6 -0
- package/dist/solutions-components/p-5585dcd3.entry.js +6 -0
- package/dist/solutions-components/{p-3a513c67.entry.js → p-5b3c0418.entry.js} +1 -1
- package/dist/solutions-components/{p-f7e7b830.entry.js → p-6438d1ea.entry.js} +1 -1
- package/dist/solutions-components/{p-a568af9f.js → p-6f606cdb.js} +1 -1
- package/dist/solutions-components/p-720de4db.entry.js +6 -0
- package/dist/solutions-components/p-750b3277.entry.js +6 -0
- package/dist/solutions-components/p-8779ee41.entry.js +6 -0
- package/dist/solutions-components/p-90fc786f.entry.js +6 -0
- package/dist/solutions-components/p-97fe6ec5.entry.js +6 -0
- package/dist/solutions-components/{p-43165ebd.entry.js → p-9c170b30.entry.js} +1 -1
- package/dist/solutions-components/{p-b4c49411.entry.js → p-9c4fef09.entry.js} +1 -1
- package/dist/solutions-components/p-a5b751e2.entry.js +6 -0
- package/dist/solutions-components/{p-89046451.entry.js → p-aac0c89c.entry.js} +1 -1
- package/dist/solutions-components/p-af573e0d.js +6 -0
- package/dist/solutions-components/p-bb8b1ee2.entry.js +6 -0
- package/dist/solutions-components/{p-b79f296d.entry.js → p-c48be45f.entry.js} +2 -2
- package/dist/solutions-components/p-ca3cbd29.entry.js +6 -0
- package/dist/solutions-components/p-cd482a33.js +21 -0
- package/dist/solutions-components/p-ceb1030b.js +6 -0
- package/dist/solutions-components/{p-b86b2664.entry.js → p-d2612c30.entry.js} +1 -1
- package/dist/solutions-components/{p-29047e77.entry.js → p-e1391389.entry.js} +1 -1
- package/dist/solutions-components/{p-588adf13.entry.js → p-e345f9c4.entry.js} +1 -1
- package/dist/solutions-components/p-f3b71784.entry.js +6 -0
- package/dist/solutions-components/{p-759d0beb.entry.js → p-f728af86.entry.js} +1 -1
- package/dist/solutions-components/{p-46c8015c.js → p-ff9e28d1.js} +30 -30
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +6 -3
- package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +10 -12
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -7
- package/package.json +8 -7
- package/dist/solutions-components/p-07a194e6.entry.js +0 -6
- package/dist/solutions-components/p-14d78748.entry.js +0 -6
- package/dist/solutions-components/p-2360802a.js +0 -21
- package/dist/solutions-components/p-24e3f09f.entry.js +0 -6
- package/dist/solutions-components/p-3a33ef72.entry.js +0 -6
- package/dist/solutions-components/p-402301cb.js +0 -6
- package/dist/solutions-components/p-41a6f03d.entry.js +0 -6
- package/dist/solutions-components/p-4db86c5e.entry.js +0 -6
- package/dist/solutions-components/p-5eb9a413.entry.js +0 -6
- package/dist/solutions-components/p-750f234e.entry.js +0 -6
- package/dist/solutions-components/p-7e97d4d6.entry.js +0 -6
- package/dist/solutions-components/p-7eb5d31a.js +0 -6
- package/dist/solutions-components/p-90d2aadc.entry.js +0 -6
- package/dist/solutions-components/p-b78a4ce7.entry.js +0 -6
- package/dist/solutions-components/p-ecf642c2.entry.js +0 -6
- package/dist/solutions-components/p-efb4cb43.entry.js +0 -6
@@ -199,9 +199,9 @@ const InstantAppsMeasurementTool = class {
|
|
199
199
|
this._init();
|
200
200
|
}
|
201
201
|
render() {
|
202
|
-
return (index.h(index.Host, { key: '
|
202
|
+
return (index.h(index.Host, { key: 'eabd8e43ae6d095e02bcc99935a2069ba620d66a' }, index.h("div", { key: '5bb33f7f1785e60e4cde37ee8ba08bae4681751d', class: CSS.base }, index.h("div", { key: '8826eb9665c17f8eed640e0bcab3cff50a02ec23', ref: el => {
|
203
203
|
this._measureElement = el;
|
204
|
-
} }), index.h("div", { key: '
|
204
|
+
} }), index.h("div", { key: '0e3b7364403866976f5e6578c08b8fdc50d1e33f', class: CSS.hide, ref: el => {
|
205
205
|
this._coordinateElement = el;
|
206
206
|
} }))));
|
207
207
|
}
|
@@ -19,7 +19,7 @@ const interactive = require('./interactive-a128ac30.js');
|
|
19
19
|
const resources$1 = require('./resources-535f936c.js');
|
20
20
|
const locale$1 = require('./locale-339b55f0.js');
|
21
21
|
const mapViewUtils = require('./mapViewUtils-18c46b84.js');
|
22
|
-
const popupUtils = require('./popupUtils-
|
22
|
+
const popupUtils = require('./popupUtils-bc762034.js');
|
23
23
|
require('./guid-e84a8375.js');
|
24
24
|
require('./resources-18f799c7.js');
|
25
25
|
require('./browser-333a21c5.js');
|
@@ -28,9 +28,9 @@ require('./observers-18d87cb5.js');
|
|
28
28
|
require('./esri-loader-08dc41bd.js');
|
29
29
|
require('./_commonjsHelpers-baf43783.js');
|
30
30
|
require('./interfaces-09c4c40e.js');
|
31
|
-
require('./downloadUtils-
|
32
|
-
require('./solution-resource-40e70253.js');
|
31
|
+
require('./downloadUtils-76bc7e30.js');
|
33
32
|
require('./index-f052f656.js');
|
33
|
+
require('./solution-resource-40e70253.js');
|
34
34
|
require('./restHelpersGet-5c2245a3.js');
|
35
35
|
|
36
36
|
/*!
|
@@ -2710,10 +2710,10 @@ const InstantAppsSocialShare = class {
|
|
2710
2710
|
const content = this.copied && this.mode === 'popover' ? (this.renderSuccess()) : (index.h("div", { class: CSS.dialogContent }, this.renderOptions(), this.displayTipText ? this.renderTip() : null, this.embed ? this.renderEmbed() : null));
|
2711
2711
|
const layoutClass = this.shareIconsLayout === 'vertical' ? ` ${CSS.layout.vertical}` : ` ${CSS.layout.horizontal}`;
|
2712
2712
|
const mode = ` calcite-mode-${!!this.el.closest(CALCITE_MODE_DARK) ? 'dark' : 'light'}`;
|
2713
|
-
const dialogContent = (index.h("div", { key: '
|
2713
|
+
const dialogContent = (index.h("div", { key: 'f205f0e614bc6c4a645f7047951979f88b8c61e3', ref: el => (this.dialogContentRef = el), class: `${CSS.dialog}${layoutClass}${mode}` }, content));
|
2714
2714
|
const defaultOffset = 6;
|
2715
2715
|
const offsetDistance = this.removePopoverOffset ? 0 : defaultOffset;
|
2716
|
-
return (index.h(index.Host, { key: '
|
2716
|
+
return (index.h(index.Host, { key: 'efe99545244d7b5f9ae4065bba069c25d45beb0a' }, this.mode === 'popover'
|
2717
2717
|
? [
|
2718
2718
|
index.h("calcite-popover", { ref: (el) => (this.popoverRef = el), label: (_b = (_a = this.messages) === null || _a === void 0 ? void 0 : _a.share) === null || _b === void 0 ? void 0 : _b.label, referenceElement: "shareButton", placement: "bottom-start", scale: this.scale, "overlay-positioning": this.popoverPositioning, "offset-distance": offsetDistance, "pointer-disabled": this.removePopoverOffset }, dialogContent),
|
2719
2719
|
this.renderButton(),
|
@@ -10,12 +10,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
11
|
const locale = require('./locale-339b55f0.js');
|
12
12
|
const mapViewUtils = require('./mapViewUtils-18c46b84.js');
|
13
|
-
const downloadUtils = require('./downloadUtils-
|
13
|
+
const downloadUtils = require('./downloadUtils-76bc7e30.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
16
|
require('./interfaces-09c4c40e.js');
|
17
|
-
require('./solution-resource-40e70253.js');
|
18
17
|
require('./index-f052f656.js');
|
18
|
+
require('./solution-resource-40e70253.js');
|
19
19
|
require('./restHelpersGet-5c2245a3.js');
|
20
20
|
|
21
21
|
const cardManagerCss = ":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";
|
@@ -125,6 +125,7 @@ const LANGUAGE_DATA = {
|
|
125
125
|
id: {
|
126
126
|
language: "Indonesian",
|
127
127
|
translated: "Bahasa Indonesia",
|
128
|
+
supportsAutoTranslate: true,
|
128
129
|
},
|
129
130
|
it: {
|
130
131
|
language: "Italian",
|
@@ -231,6 +232,7 @@ const LANGUAGE_DATA = {
|
|
231
232
|
af: {
|
232
233
|
language: "Afrikaans",
|
233
234
|
translated: "Afrikaans",
|
235
|
+
supportsAutoTranslate: true,
|
234
236
|
},
|
235
237
|
ak: {
|
236
238
|
language: "Akan",
|
@@ -239,10 +241,12 @@ const LANGUAGE_DATA = {
|
|
239
241
|
sq: {
|
240
242
|
language: "Albanian",
|
241
243
|
translated: "Shqip",
|
244
|
+
supportsAutoTranslate: true,
|
242
245
|
},
|
243
246
|
am: {
|
244
247
|
language: "Amharic",
|
245
248
|
translated: "አማርኛ",
|
249
|
+
supportsAutoTranslate: true,
|
246
250
|
},
|
247
251
|
an: {
|
248
252
|
language: "Aragonese",
|
@@ -251,10 +255,12 @@ const LANGUAGE_DATA = {
|
|
251
255
|
hy: {
|
252
256
|
language: "Armenian",
|
253
257
|
translated: "Հայերեն",
|
258
|
+
supportsAutoTranslate: true,
|
254
259
|
},
|
255
260
|
as: {
|
256
261
|
language: "Assamese",
|
257
262
|
translated: "অসমীয়া",
|
263
|
+
supportsAutoTranslate: true,
|
258
264
|
},
|
259
265
|
av: {
|
260
266
|
language: "Avaric",
|
@@ -279,10 +285,12 @@ const LANGUAGE_DATA = {
|
|
279
285
|
ba: {
|
280
286
|
language: "Bashkir",
|
281
287
|
translated: "Башҡорт теле",
|
288
|
+
supportsAutoTranslate: true,
|
282
289
|
},
|
283
290
|
eu: {
|
284
291
|
language: "Basque",
|
285
292
|
translated: "euskara",
|
293
|
+
supportsAutoTranslate: true,
|
286
294
|
},
|
287
295
|
be: {
|
288
296
|
language: "Belarusian",
|
@@ -343,6 +351,7 @@ const LANGUAGE_DATA = {
|
|
343
351
|
dv: {
|
344
352
|
language: "Divehi",
|
345
353
|
translated: "ދިވެހި",
|
354
|
+
supportsAutoTranslate: true,
|
346
355
|
},
|
347
356
|
eo: {
|
348
357
|
language: "Esperanto",
|
@@ -355,6 +364,7 @@ const LANGUAGE_DATA = {
|
|
355
364
|
fo: {
|
356
365
|
language: "Faroese",
|
357
366
|
translated: "føroyskt",
|
367
|
+
supportsAutoTranslate: true,
|
358
368
|
},
|
359
369
|
fj: {
|
360
370
|
language: "Fijian",
|
@@ -367,10 +377,12 @@ const LANGUAGE_DATA = {
|
|
367
377
|
gl: {
|
368
378
|
language: "Galician",
|
369
379
|
translated: "galego",
|
380
|
+
supportsAutoTranslate: true,
|
370
381
|
},
|
371
382
|
ka: {
|
372
383
|
language: "Georgian",
|
373
384
|
translated: "ქართული",
|
385
|
+
supportsAutoTranslate: true,
|
374
386
|
},
|
375
387
|
gn: {
|
376
388
|
language: "Guarani",
|
@@ -379,14 +391,17 @@ const LANGUAGE_DATA = {
|
|
379
391
|
gu: {
|
380
392
|
language: "Gujarati",
|
381
393
|
translated: "ગુજરાતી",
|
394
|
+
supportsAutoTranslate: true,
|
382
395
|
},
|
383
396
|
ht: {
|
384
|
-
language: "Haitian",
|
397
|
+
language: "Haitian Creole",
|
385
398
|
translated: "Kreyòl Ayisyen",
|
399
|
+
supportsAutoTranslate: true,
|
386
400
|
},
|
387
401
|
ha: {
|
388
402
|
language: "Hausa",
|
389
403
|
translated: "هَوُسَ",
|
404
|
+
supportsAutoTranslate: true,
|
390
405
|
},
|
391
406
|
hz: {
|
392
407
|
language: "Herero",
|
@@ -403,6 +418,7 @@ const LANGUAGE_DATA = {
|
|
403
418
|
is: {
|
404
419
|
language: "Icelandic",
|
405
420
|
translated: "Íslenska",
|
421
|
+
supportsAutoTranslate: true,
|
406
422
|
},
|
407
423
|
io: {
|
408
424
|
language: "Ido",
|
@@ -411,6 +427,7 @@ const LANGUAGE_DATA = {
|
|
411
427
|
ig: {
|
412
428
|
language: "Igbo",
|
413
429
|
translated: "Asụsụ Igbo",
|
430
|
+
supportsAutoTranslate: true,
|
414
431
|
},
|
415
432
|
ia: {
|
416
433
|
language: "Interlingua",
|
@@ -423,6 +440,7 @@ const LANGUAGE_DATA = {
|
|
423
440
|
iu: {
|
424
441
|
language: "Inuktitut",
|
425
442
|
translated: "ᐃᓄᒃᑎᑐᑦ",
|
443
|
+
supportsAutoTranslate: true,
|
426
444
|
},
|
427
445
|
ip: {
|
428
446
|
language: "Inupiaq",
|
@@ -431,6 +449,7 @@ const LANGUAGE_DATA = {
|
|
431
449
|
ga: {
|
432
450
|
language: "Irish",
|
433
451
|
translated: "Gaeilge",
|
452
|
+
supportsAutoTranslate: true,
|
434
453
|
},
|
435
454
|
jv: {
|
436
455
|
language: "Javanese",
|
@@ -443,6 +462,7 @@ const LANGUAGE_DATA = {
|
|
443
462
|
kn: {
|
444
463
|
language: "Kannada",
|
445
464
|
translated: "ಕನ್ನಡ",
|
465
|
+
supportsAutoTranslate: true,
|
446
466
|
},
|
447
467
|
kr: {
|
448
468
|
language: "Kanuri",
|
@@ -451,14 +471,17 @@ const LANGUAGE_DATA = {
|
|
451
471
|
ks: {
|
452
472
|
language: "Kashmiri",
|
453
473
|
translated: "कश्मीरी",
|
474
|
+
supportsAutoTranslate: true,
|
454
475
|
},
|
455
476
|
kk: {
|
456
477
|
language: "Kazakh",
|
457
478
|
translated: "қазақ тілі",
|
479
|
+
supportsAutoTranslate: true,
|
458
480
|
},
|
459
481
|
km: {
|
460
482
|
language: "Khmer",
|
461
483
|
translated: "ខ្មែរ",
|
484
|
+
supportsAutoTranslate: true,
|
462
485
|
},
|
463
486
|
ki: {
|
464
487
|
language: "Kikuyu",
|
@@ -467,6 +490,7 @@ const LANGUAGE_DATA = {
|
|
467
490
|
rw: {
|
468
491
|
language: "Kinyarwanda",
|
469
492
|
translated: "Kinyarwanda",
|
493
|
+
supportsAutoTranslate: true,
|
470
494
|
},
|
471
495
|
rn: {
|
472
496
|
language: "Kirundi",
|
@@ -483,6 +507,7 @@ const LANGUAGE_DATA = {
|
|
483
507
|
ku: {
|
484
508
|
language: "Kurdish",
|
485
509
|
translated: "Kurdî",
|
510
|
+
supportsAutoTranslate: true,
|
486
511
|
},
|
487
512
|
kj: {
|
488
513
|
language: "Kwanyama",
|
@@ -495,6 +520,7 @@ const LANGUAGE_DATA = {
|
|
495
520
|
lo: {
|
496
521
|
language: "Lao",
|
497
522
|
translated: "ພາສາລາວ",
|
523
|
+
supportsAutoTranslate: true,
|
498
524
|
},
|
499
525
|
la: {
|
500
526
|
language: "Latin",
|
@@ -523,22 +549,27 @@ const LANGUAGE_DATA = {
|
|
523
549
|
mk: {
|
524
550
|
language: "Macedonian",
|
525
551
|
translated: "македонски јазик",
|
552
|
+
supportsAutoTranslate: true,
|
526
553
|
},
|
527
554
|
mg: {
|
528
555
|
language: "Malagasy",
|
529
556
|
translated: "fiteny malagasy",
|
557
|
+
supportsAutoTranslate: true,
|
530
558
|
},
|
531
559
|
ms: {
|
532
560
|
language: "Malay",
|
533
561
|
translated: "Bahasa Melayu",
|
562
|
+
supportsAutoTranslate: true,
|
534
563
|
},
|
535
564
|
ml: {
|
536
565
|
language: "Malayalam",
|
537
566
|
translated: "മലയാളം",
|
567
|
+
supportsAutoTranslate: true,
|
538
568
|
},
|
539
569
|
mt: {
|
540
570
|
language: "Maltese",
|
541
571
|
translated: "Malti",
|
572
|
+
supportsAutoTranslate: true,
|
542
573
|
},
|
543
574
|
gv: {
|
544
575
|
language: "Manx",
|
@@ -547,10 +578,12 @@ const LANGUAGE_DATA = {
|
|
547
578
|
mi: {
|
548
579
|
language: "Maori",
|
549
580
|
translated: "te reo Māori",
|
581
|
+
supportsAutoTranslate: true,
|
550
582
|
},
|
551
583
|
mr: {
|
552
584
|
language: "Marathi",
|
553
585
|
translated: "मराठी",
|
586
|
+
supportsAutoTranslate: true,
|
554
587
|
},
|
555
588
|
mh: {
|
556
589
|
language: "Marshallese",
|
@@ -575,6 +608,7 @@ const LANGUAGE_DATA = {
|
|
575
608
|
ne: {
|
576
609
|
language: "Nepali",
|
577
610
|
translated: "नेपाली",
|
611
|
+
supportsAutoTranslate: true,
|
578
612
|
},
|
579
613
|
nd: {
|
580
614
|
language: "North Ndebele",
|
@@ -607,6 +641,7 @@ const LANGUAGE_DATA = {
|
|
607
641
|
or: {
|
608
642
|
language: "Oriya",
|
609
643
|
translated: "ଓଡ଼ିଆ",
|
644
|
+
supportsAutoTranslate: true,
|
610
645
|
},
|
611
646
|
om: {
|
612
647
|
language: "Oromo",
|
@@ -627,10 +662,12 @@ const LANGUAGE_DATA = {
|
|
627
662
|
ps: {
|
628
663
|
language: "Pashto",
|
629
664
|
translated: "پښتو",
|
665
|
+
supportsAutoTranslate: true,
|
630
666
|
},
|
631
667
|
fa: {
|
632
668
|
language: "Persian",
|
633
669
|
translated: "فارسی",
|
670
|
+
supportsAutoTranslate: true,
|
634
671
|
},
|
635
672
|
qu: {
|
636
673
|
language: "Quechua",
|
@@ -643,6 +680,7 @@ const LANGUAGE_DATA = {
|
|
643
680
|
sm: {
|
644
681
|
language: "Samoan",
|
645
682
|
translated: "gagana fa'a Samoa",
|
683
|
+
supportsAutoTranslate: true,
|
646
684
|
},
|
647
685
|
sg: {
|
648
686
|
language: "Sango",
|
@@ -667,14 +705,17 @@ const LANGUAGE_DATA = {
|
|
667
705
|
sd: {
|
668
706
|
language: "Sindhi",
|
669
707
|
translated: "सिन्धी",
|
708
|
+
supportsAutoTranslate: true,
|
670
709
|
},
|
671
710
|
si: {
|
672
711
|
language: "Sinhala",
|
673
712
|
translated: "සිංහල",
|
713
|
+
supportsAutoTranslate: true,
|
674
714
|
},
|
675
715
|
so: {
|
676
716
|
language: "Somali",
|
677
717
|
translated: "Soomaaliga",
|
718
|
+
supportsAutoTranslate: true,
|
678
719
|
},
|
679
720
|
nr: {
|
680
721
|
language: "South Ndebele",
|
@@ -691,6 +732,7 @@ const LANGUAGE_DATA = {
|
|
691
732
|
sw: {
|
692
733
|
language: "Swahili",
|
693
734
|
translated: "Kiswahili",
|
735
|
+
supportsAutoTranslate: true,
|
694
736
|
},
|
695
737
|
ss: {
|
696
738
|
language: "Swati",
|
@@ -703,6 +745,7 @@ const LANGUAGE_DATA = {
|
|
703
745
|
ty: {
|
704
746
|
language: "Tahitian",
|
705
747
|
translated: "Reo Tahiti",
|
748
|
+
supportsAutoTranslate: true,
|
706
749
|
},
|
707
750
|
tg: {
|
708
751
|
language: "Tajik",
|
@@ -711,26 +754,32 @@ const LANGUAGE_DATA = {
|
|
711
754
|
ta: {
|
712
755
|
language: "Tamil",
|
713
756
|
translated: "தமிழ்",
|
757
|
+
supportsAutoTranslate: true,
|
714
758
|
},
|
715
759
|
tt: {
|
716
760
|
language: "Tatar",
|
717
761
|
translated: "татар теле",
|
762
|
+
supportsAutoTranslate: true,
|
718
763
|
},
|
719
764
|
te: {
|
720
765
|
language: "Telugu",
|
721
766
|
translated: "తెలుగు",
|
767
|
+
supportsAutoTranslate: true,
|
722
768
|
},
|
723
769
|
bo: {
|
724
770
|
language: "Tibetan",
|
725
771
|
translated: "བོད་ཡིག",
|
772
|
+
supportsAutoTranslate: true,
|
726
773
|
},
|
727
774
|
ti: {
|
728
775
|
language: "Tigrinya",
|
729
776
|
translated: "ትግርኛ",
|
777
|
+
supportsAutoTranslate: true,
|
730
778
|
},
|
731
779
|
to: {
|
732
780
|
language: "Tonga",
|
733
781
|
translated: "faka Tonga",
|
782
|
+
supportsAutoTranslate: true,
|
734
783
|
},
|
735
784
|
ts: {
|
736
785
|
language: "Tsonga",
|
@@ -743,6 +792,7 @@ const LANGUAGE_DATA = {
|
|
743
792
|
tk: {
|
744
793
|
language: "Turkmen",
|
745
794
|
translated: "Türkmen",
|
795
|
+
supportsAutoTranslate: true,
|
746
796
|
},
|
747
797
|
tw: {
|
748
798
|
language: "Twi",
|
@@ -755,10 +805,12 @@ const LANGUAGE_DATA = {
|
|
755
805
|
ur: {
|
756
806
|
language: "Urdu",
|
757
807
|
translated: "اردو",
|
808
|
+
supportsAutoTranslate: true,
|
758
809
|
},
|
759
810
|
uz: {
|
760
811
|
language: "Uzbek",
|
761
812
|
translated: "O'zbek",
|
813
|
+
supportsAutoTranslate: true,
|
762
814
|
},
|
763
815
|
ve: {
|
764
816
|
language: "Venda",
|
@@ -775,6 +827,7 @@ const LANGUAGE_DATA = {
|
|
775
827
|
cy: {
|
776
828
|
language: "Welsh",
|
777
829
|
translated: "Cymraeg",
|
830
|
+
supportsAutoTranslate: true,
|
778
831
|
},
|
779
832
|
fy: {
|
780
833
|
language: "Western Frisian",
|
@@ -787,6 +840,7 @@ const LANGUAGE_DATA = {
|
|
787
840
|
xh: {
|
788
841
|
language: "Xhosa",
|
789
842
|
translated: "isiXhosa",
|
843
|
+
supportsAutoTranslate: true,
|
790
844
|
},
|
791
845
|
yi: {
|
792
846
|
language: "Yiddish",
|
@@ -795,6 +849,7 @@ const LANGUAGE_DATA = {
|
|
795
849
|
yo: {
|
796
850
|
language: "Yoruba",
|
797
851
|
translated: "Yorùbá",
|
852
|
+
supportsAutoTranslate: true,
|
798
853
|
},
|
799
854
|
za: {
|
800
855
|
language: "Zhuang",
|
@@ -803,6 +858,7 @@ const LANGUAGE_DATA = {
|
|
803
858
|
zu: {
|
804
859
|
language: "Zulu",
|
805
860
|
translated: "isiZulu",
|
861
|
+
supportsAutoTranslate: true,
|
806
862
|
},
|
807
863
|
},
|
808
864
|
};
|
@@ -135,6 +135,22 @@ const CrowdsourceManager = class {
|
|
135
135
|
// Watch handlers
|
136
136
|
//
|
137
137
|
//--------------------------------------------------------------------------
|
138
|
+
/**
|
139
|
+
* Adjust layout based on current appLayout value
|
140
|
+
*/
|
141
|
+
appLayoutWatchHandler(newAppLayout, oldAppLayout) {
|
142
|
+
if (newAppLayout !== oldAppLayout) {
|
143
|
+
this._setActiveLayout(newAppLayout);
|
144
|
+
// update the layer if table selected while switching to map view
|
145
|
+
if (this.appLayout === "mapView" && this._layer.isTable) {
|
146
|
+
void this._mapCard.updateLayer();
|
147
|
+
}
|
148
|
+
if (this._isMapViewOnLoad) {
|
149
|
+
void this._layerTable.refresh();
|
150
|
+
this._isMapViewOnLoad = false;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
138
154
|
/**
|
139
155
|
* When true the map zoom tools will be available
|
140
156
|
*/
|
@@ -203,7 +219,7 @@ const CrowdsourceManager = class {
|
|
203
219
|
layer && await layer.when(() => {
|
204
220
|
// on render if no layer is present and only one table is present in map and app is in map view layer then change it to split layout
|
205
221
|
if (this._layerIds.length === 0 && this.appLayout === 'mapView' && layer.isTable) {
|
206
|
-
this.
|
222
|
+
this.appLayout = "splitView";
|
207
223
|
}
|
208
224
|
this._layer = layer;
|
209
225
|
this._initLayerExpressions();
|
@@ -236,7 +252,7 @@ const CrowdsourceManager = class {
|
|
236
252
|
render() {
|
237
253
|
// only avoid border when we have a header color that is not white
|
238
254
|
const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
|
239
|
-
return (index.h(index.Host, { key: '
|
255
|
+
return (index.h(index.Host, { key: 'ace73bfa1aa7d460f1cba60d13e94c4f47f77bd0' }, index.h("calcite-shell", { key: 'f14e70be762bf236be566111b45e40a42f0997f7', class: "position-relative" }, index.h("calcite-panel", { key: '0dde9426295a780b6a12cd98513f655914c0dab5', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal()));
|
240
256
|
}
|
241
257
|
/**
|
242
258
|
* Called after each render
|
@@ -469,10 +485,9 @@ const CrowdsourceManager = class {
|
|
469
485
|
const cardManagerHeight = isTableLayout && this.mapInfos?.length > 1 ? "adjusted-height-100-51" : isMapLayout || isTableLayout ? "height-full" : (this._numSelected > 0 && !this._isMobile) ? "height-50" : !this._showInformationHeader ? "adjusted-height-50_25" : !this._isPortraitMobile ? "height-50" : "height-full";
|
470
486
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
471
487
|
return (index.h("div", { class: `width-50 height-full ${themeClass}` }, index.h("card-manager", { class: `${cardManagerHeight} width-full`, customInfoText: this.customInfoText, enableCreateFeatures: this._enableCreateFeatures && !this._isMobile, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isPortraitMobile, layer: this._layer, mapView: this?._mapView, onBackFromCreateWorkFlow: () => {
|
472
|
-
this._changeLayout(this.appLayout);
|
473
488
|
this._showInformationHeader = true;
|
474
489
|
}, onCreateWorkFlowStarted: () => {
|
475
|
-
this.
|
490
|
+
this.appLayout = this._layer.isTable ? "tableView" : "mapView";
|
476
491
|
this._showInformationHeader = false;
|
477
492
|
}, onFeatureOrRecordSubmitted: () => void this._layerTable.refresh(), selectedFeaturesIds: this._layerTable?.selectedIds, selectingFeatureFromMap: this.appLayout === "mapView", zoomAndScrollToSelected: this.zoomAndScrollToSelected })));
|
478
493
|
}
|
@@ -510,7 +525,7 @@ const CrowdsourceManager = class {
|
|
510
525
|
const icon = this._getDividerIcon(layoutMode, panelOpen);
|
511
526
|
const tooltip = panelOpen ? this._translations.close : this._translations.open;
|
512
527
|
const id = "toggle-layout";
|
513
|
-
return (index.h(index.Fragment, null, index.h("calcite-action", { active: this.appLayout === 'splitView', class: "toggle-node", icon: "browser", id: "browser-action", onClick: () => { this.
|
528
|
+
return (index.h(index.Fragment, null, index.h("calcite-action", { active: this.appLayout === 'splitView', class: "toggle-node", icon: "browser", id: "browser-action", onClick: () => { this.appLayout = "splitView"; }, text: "" }), index.h("calcite-tooltip", { placement: "right", "reference-element": "browser-action" }, index.h("span", null, this._translations.splitView)), index.h("calcite-action", { active: this.appLayout === 'tableView', class: "toggle-node", icon: "dock-left", id: "dock-left-action", onClick: () => { this.appLayout = "tableView"; }, text: "" }), index.h("calcite-tooltip", { placement: "right", "reference-element": "dock-left-action" }, index.h("span", null, this._translations.tableView)), index.h("calcite-action", { active: this.appLayout === 'mapView', class: "toggle-node", disabled: this._layerIds?.length === 0, icon: "browser-map", id: "browser-map-action", onClick: () => { this.appLayout = "mapView"; }, text: "" }), index.h("calcite-tooltip", { placement: "right", "reference-element": "browser-map-action" }, index.h("span", null, this._translations.mapView)), index.h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), slot: "actions-end", text: "" }), index.h("calcite-tooltip", { placement: "bottom", "reference-element": id }, index.h("span", null, tooltip))));
|
514
529
|
}
|
515
530
|
/**
|
516
531
|
* Show filter component in modal
|
@@ -583,7 +598,7 @@ const CrowdsourceManager = class {
|
|
583
598
|
if (this._isMobile) {
|
584
599
|
this.showHideMapPopupAndTable(!this._isMobile);
|
585
600
|
this._isPortraitMobile = !!window.matchMedia("(orientation: portrait)").matches;
|
586
|
-
this.
|
601
|
+
this.appLayout = "splitView";
|
587
602
|
}
|
588
603
|
else {
|
589
604
|
this._isPortraitMobile = false;
|
@@ -599,34 +614,14 @@ const CrowdsourceManager = class {
|
|
599
614
|
_toggleLayout() {
|
600
615
|
this._panelOpen = !this._panelOpen;
|
601
616
|
}
|
602
|
-
/**
|
603
|
-
* Changes the layout mode
|
604
|
-
* @param appLayout selected active app layout
|
605
|
-
*
|
606
|
-
* @protected
|
607
|
-
*/
|
608
|
-
_changeLayout(appLayout) {
|
609
|
-
if (this.appLayout !== appLayout) {
|
610
|
-
this._setActiveLayout(appLayout);
|
611
|
-
this.appLayout = appLayout;
|
612
|
-
// update the layer if table selected while switching to map view
|
613
|
-
if (this.appLayout === "mapView" && this._layer.isTable) {
|
614
|
-
void this._mapCard.updateLayer();
|
615
|
-
}
|
616
|
-
if (this._isMapViewOnLoad) {
|
617
|
-
void this._layerTable.refresh();
|
618
|
-
this._isMapViewOnLoad = false;
|
619
|
-
}
|
620
|
-
}
|
621
|
-
}
|
622
617
|
/**
|
623
618
|
* shows the map in card view
|
624
619
|
*
|
625
620
|
* @protected
|
626
621
|
*/
|
627
622
|
_showMapInCardView() {
|
628
|
-
if (this.appLayout
|
629
|
-
const fullMapView = document.getElementById('full-map-view')
|
623
|
+
if (this.appLayout !== "mapView") {
|
624
|
+
const fullMapView = document.getElementById('full-map-view')?.childNodes[0];
|
630
625
|
const splitMapClass = document.getElementById('card-mapView');
|
631
626
|
if (fullMapView) {
|
632
627
|
splitMapClass.appendChild(fullMapView);
|
@@ -639,7 +634,7 @@ const CrowdsourceManager = class {
|
|
639
634
|
* @protected
|
640
635
|
*/
|
641
636
|
_showMapInFullView() {
|
642
|
-
const splitMap = document.getElementById('card-mapView')
|
637
|
+
const splitMap = document.getElementById('card-mapView')?.childNodes[0];
|
643
638
|
const fullMapViewClass = document.getElementById('full-map-view');
|
644
639
|
if (splitMap) {
|
645
640
|
fullMapViewClass.appendChild(splitMap);
|
@@ -724,6 +719,7 @@ const CrowdsourceManager = class {
|
|
724
719
|
this._translations = messages[0];
|
725
720
|
}
|
726
721
|
static get watchers() { return {
|
722
|
+
"appLayout": ["appLayoutWatchHandler"],
|
727
723
|
"enableZoom": ["enableZoomWatchHandler"],
|
728
724
|
"hideMapOnLoad": ["hideMapOnLoadWatchHandler"]
|
729
725
|
}; }
|
@@ -9,8 +9,8 @@ const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
|
|
9
9
|
const index = require('./index-4b68e4b4.js');
|
10
10
|
const locale = require('./locale-339b55f0.js');
|
11
11
|
const mapViewUtils = require('./mapViewUtils-18c46b84.js');
|
12
|
+
const index$1 = require('./index-f052f656.js');
|
12
13
|
require('./solution-resource-40e70253.js');
|
13
|
-
require('./index-f052f656.js');
|
14
14
|
const restHelpersGet = require('./restHelpersGet-5c2245a3.js');
|
15
15
|
|
16
16
|
/** @license
|
@@ -1587,7 +1587,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
|
|
1587
1587
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1588
1588
|
* ====================================================================
|
1589
1589
|
*/
|
1590
|
-
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-
|
1590
|
+
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-8336efed.js'); })).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
|
1591
1591
|
/** ====================================================================
|
1592
1592
|
* @license
|
1593
1593
|
* jsPDF XMP metadata plugin
|
@@ -2543,12 +2543,13 @@ function _cleanupLabel(labelText) {
|
|
2543
2543
|
labelText = labelText.replace(/<\/p>/gi, "");
|
2544
2544
|
// Replace \n with the line separator character
|
2545
2545
|
labelText = labelText.replace(/\n/gi, "|");
|
2546
|
-
// Remove
|
2546
|
+
// Remove tricky stuff
|
2547
|
+
const sanitizer = new index$1.Sanitizer();
|
2548
|
+
labelText = sanitizer.sanitize(labelText);
|
2549
|
+
// Remove remaining HTML tags, replace 0xA0 that popup uses for spaces, and replace
|
2547
2550
|
labelText = labelText
|
2548
2551
|
.replace(/<[\s.]*[^<>]*\/?>/gi, "")
|
2549
2552
|
.replace(/\xA0/gi, " ")
|
2550
|
-
.replace(/</gi, "<")
|
2551
|
-
.replace(/>/gi, ">")
|
2552
2553
|
.replace(/ /gi, " ");
|
2553
2554
|
// Trim each line
|
2554
2555
|
labelText = labelText.replace(/\s*\|\s*/g, "|");
|
@@ -9,13 +9,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
10
10
|
const index = require('./index-4b68e4b4.js');
|
11
11
|
const locale = require('./locale-339b55f0.js');
|
12
|
-
const popupUtils = require('./popupUtils-
|
12
|
+
const popupUtils = require('./popupUtils-bc762034.js');
|
13
13
|
const mapViewUtils = require('./mapViewUtils-18c46b84.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
|
-
require('./downloadUtils-
|
17
|
-
require('./solution-resource-40e70253.js');
|
16
|
+
require('./downloadUtils-76bc7e30.js');
|
18
17
|
require('./index-f052f656.js');
|
18
|
+
require('./solution-resource-40e70253.js');
|
19
19
|
require('./restHelpersGet-5c2245a3.js');
|
20
20
|
require('./interfaces-09c4c40e.js');
|
21
21
|
|
@@ -81,7 +81,7 @@ async function getMergedEffect(presetLayerEffect, featureLayerView, type) {
|
|
81
81
|
return mergedEffect;
|
82
82
|
}
|
83
83
|
|
84
|
-
const InteractiveLegendStore = index.createStore({ data: {}, relationshipRampExpandStates: {} });
|
84
|
+
const InteractiveLegendStore = index.createStore({ data: {}, relationshipRampExpandStates: {}, compact: false });
|
85
85
|
const interactiveLegendState = InteractiveLegendStore.state;
|
86
86
|
const store = InteractiveLegendStore;
|
87
87
|
|