@esri/solutions-components 0.10.36 → 0.10.37
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 +2 -2
- package/dist/cjs/calcite-block_5.cjs.entry.js +2 -2
- package/dist/cjs/{constants-0a4fc296.js → constants-51cf394f.js} +57 -1
- package/dist/cjs/{helpers-415179ad.js → helpers-afcac967.js} +1 -1
- 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/solution-item-accordion.cjs.entry.js +7 -3
- package/dist/cjs/solutions-components.cjs.js +1 -1
- 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/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/solution-item-accordion.js +7 -3
- package/dist/components/store.js +1 -1
- package/dist/esm/calcite-action-pad_2.entry.js +2 -2
- package/dist/esm/calcite-block_5.entry.js +2 -2
- package/dist/esm/{constants-045d6a1b.js → constants-886c7c2c.js} +57 -1
- package/dist/esm/{helpers-f9bf9c0b.js → helpers-91087955.js} +1 -1
- 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/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-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-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-43165ebd.entry.js → p-9c170b30.entry.js} +1 -1
- package/dist/solutions-components/p-a5b751e2.entry.js +6 -0
- 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-ceb1030b.js +6 -0
- package/dist/solutions-components/{p-29047e77.entry.js → p-e1391389.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/solutions-components.esm.js +1 -1
- package/package.json +7 -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-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-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-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
|
}
|
@@ -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(),
|
@@ -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
|
};
|
@@ -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
|
|
@@ -17,16 +17,19 @@ require('./languageUtil-a3e1eafd.js');
|
|
17
17
|
class AppGuideViewModel {
|
18
18
|
constructor() {
|
19
19
|
this.pages = [];
|
20
|
+
this.headerText = '';
|
21
|
+
this.pages = [];
|
20
22
|
}
|
21
|
-
|
22
|
-
this.pages =
|
23
|
+
setPages(pages) {
|
24
|
+
this.pages = pages;
|
25
|
+
this.setDefaultHeaderText();
|
23
26
|
}
|
24
|
-
|
25
|
-
this.
|
27
|
+
setDefaultHeaderText() {
|
28
|
+
this.headerText = !!this.pages.length ? this.pages[0].title : '';
|
26
29
|
}
|
27
30
|
}
|
28
31
|
|
29
|
-
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;overflow:scroll;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1)}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem
|
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;overflow:scroll;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1)}: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)}";
|
30
33
|
const InstantAppsAppGuideStyle0 = instantAppsAppGuideCss;
|
31
34
|
|
32
35
|
const CSS = {
|
@@ -37,6 +40,9 @@ const CSS = {
|
|
37
40
|
const InstantAppsAppGuide = class {
|
38
41
|
constructor(hostRef) {
|
39
42
|
index.registerInstance(this, hostRef);
|
43
|
+
/**
|
44
|
+
* Private Variables
|
45
|
+
*/
|
40
46
|
this._viewModel = new AppGuideViewModel();
|
41
47
|
this.header = true;
|
42
48
|
this.data = undefined;
|
@@ -44,19 +50,25 @@ const InstantAppsAppGuide = class {
|
|
44
50
|
this.headerText = undefined;
|
45
51
|
}
|
46
52
|
watchPropHandler(newValue) {
|
47
|
-
this.
|
48
|
-
|
53
|
+
this._setContent(newValue);
|
54
|
+
}
|
55
|
+
watchStateHandler(newValue) {
|
56
|
+
this._viewModel.headerText = newValue;
|
49
57
|
}
|
50
|
-
|
51
|
-
|
52
|
-
this._viewModel.pages = (this === null || this === void 0 ? void 0 : this.data) || [];
|
53
|
-
this.headerText = (_c = (_b = (_a = this === null || this === void 0 ? void 0 : this.data) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.title) !== null && _c !== void 0 ? _c : (_d = this === null || this === void 0 ? void 0 : this.messages) === null || _d === void 0 ? void 0 : _d.headerText;
|
58
|
+
componentWillLoad() {
|
59
|
+
this._setContent(this === null || this === void 0 ? void 0 : this.data);
|
54
60
|
}
|
55
61
|
componentDidLoad() {
|
56
62
|
locale.getMessages(this);
|
57
63
|
}
|
58
64
|
render() {
|
59
|
-
|
65
|
+
const pages = this._renderAppGuidePages(this._viewModel.pages);
|
66
|
+
const header = this._renderAppGuideHeader();
|
67
|
+
return (index.h(index.Host, { key: 'a6969274bbb9e917869c4c09910ef04b2d40c49a' }, index.h("calcite-panel", { key: 'f203f430978eed0db5aa0058ae53bd811ba0fdfe', scale: "s" }, header, index.h("calcite-carousel", { key: 'afd572b169f27b03616e568b9146cb2e52f04cae', onCalciteCarouselChange: () => this._updateHeaderText(), ref: el => this._carouselRef = el, "arrow-type": this._getArrowType() }, pages))));
|
68
|
+
}
|
69
|
+
_setContent(content) {
|
70
|
+
this._viewModel.setPages(content);
|
71
|
+
this.headerText = this._viewModel.headerText;
|
60
72
|
}
|
61
73
|
_updateHeaderText() {
|
62
74
|
var _a;
|
@@ -98,7 +110,8 @@ const InstantAppsAppGuide = class {
|
|
98
110
|
}
|
99
111
|
get el() { return index.getElement(this); }
|
100
112
|
static get watchers() { return {
|
101
|
-
"data": ["watchPropHandler"]
|
113
|
+
"data": ["watchPropHandler"],
|
114
|
+
"headerText": ["watchStateHandler"]
|
102
115
|
}; }
|
103
116
|
};
|
104
117
|
InstantAppsAppGuide.style = InstantAppsAppGuideStyle0;
|