@esri/solutions-components 0.10.36 → 0.10.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
  2. package/dist/cjs/calcite-block_5.cjs.entry.js +2 -2
  3. package/dist/cjs/{constants-0a4fc296.js → constants-51cf394f.js} +57 -1
  4. package/dist/cjs/{helpers-415179ad.js → helpers-afcac967.js} +1 -1
  5. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +26 -13
  6. package/dist/cjs/instant-apps-export.cjs.entry.js +1086 -59
  7. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +8 -4
  8. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +10 -5
  9. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +1 -1
  10. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +52 -12
  11. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +9 -3
  12. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +19 -13
  13. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -2
  14. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +1 -1
  15. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  16. package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
  17. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
  18. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +13 -9
  19. package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
  20. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +11 -9
  21. package/dist/cjs/loader.cjs.js +1 -1
  22. package/dist/cjs/solution-item-accordion.cjs.entry.js +15 -6
  23. package/dist/cjs/solutions-components.cjs.js +1 -1
  24. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +15 -6
  25. package/dist/collection/demos/solution-item-accordion.html +32 -0
  26. package/dist/components/instant-apps-app-guide.js +28 -14
  27. package/dist/components/instant-apps-export.js +1119 -76
  28. package/dist/components/instant-apps-interactive-legend-classic2.js +8 -4
  29. package/dist/components/instant-apps-interactive-legend-count2.js +6 -3
  30. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +5 -2
  31. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +52 -12
  32. package/dist/components/instant-apps-interactive-legend.js +13 -4
  33. package/dist/components/instant-apps-landing-page.js +19 -13
  34. package/dist/components/instant-apps-language-switcher.js +3 -1
  35. package/dist/components/instant-apps-language-translator2.js +57 -1
  36. package/dist/components/instant-apps-measurement-tool2.js +2 -2
  37. package/dist/components/instant-apps-measurement.js +2 -2
  38. package/dist/components/instant-apps-popover.js +1 -1
  39. package/dist/components/instant-apps-scoreboard.js +1 -1
  40. package/dist/components/instant-apps-sign-in2.js +14 -9
  41. package/dist/components/instant-apps-social-share2.js +2 -2
  42. package/dist/components/instant-apps-splash.js +1 -1
  43. package/dist/components/instant-apps-time-filter.js +11 -9
  44. package/dist/components/solution-item-accordion.js +15 -6
  45. package/dist/components/store.js +1 -1
  46. package/dist/esm/calcite-action-pad_2.entry.js +2 -2
  47. package/dist/esm/calcite-block_5.entry.js +2 -2
  48. package/dist/esm/{constants-045d6a1b.js → constants-886c7c2c.js} +57 -1
  49. package/dist/esm/{helpers-f9bf9c0b.js → helpers-91087955.js} +1 -1
  50. package/dist/esm/instant-apps-app-guide.entry.js +26 -13
  51. package/dist/esm/instant-apps-export.entry.js +1086 -59
  52. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +8 -4
  53. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +10 -5
  54. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +1 -1
  55. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +52 -12
  56. package/dist/esm/instant-apps-interactive-legend.entry.js +9 -3
  57. package/dist/esm/instant-apps-landing-page.entry.js +19 -13
  58. package/dist/esm/instant-apps-language-switcher.entry.js +3 -2
  59. package/dist/esm/instant-apps-language-translator.entry.js +1 -1
  60. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  61. package/dist/esm/instant-apps-popover.entry.js +1 -1
  62. package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
  63. package/dist/esm/instant-apps-sign-in.entry.js +13 -9
  64. package/dist/esm/instant-apps-splash.entry.js +1 -1
  65. package/dist/esm/instant-apps-time-filter.entry.js +11 -9
  66. package/dist/esm/loader.js +1 -1
  67. package/dist/esm/solution-item-accordion.entry.js +15 -6
  68. package/dist/esm/solutions-components.js +1 -1
  69. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +0 -5
  70. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +4 -0
  71. 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
  72. 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
  73. 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
  74. 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
  75. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +8 -0
  76. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +22 -0
  77. package/dist/solutions-components/demos/solution-item-accordion.html +32 -0
  78. package/dist/solutions-components/p-1e14b3d0.entry.js +6 -0
  79. package/dist/solutions-components/p-2542d5c9.entry.js +6 -0
  80. package/dist/solutions-components/{p-70ecc979.entry.js → p-374ddead.entry.js} +1 -1
  81. package/dist/solutions-components/{p-146acd9a.entry.js → p-3fc18283.entry.js} +1 -1
  82. package/dist/solutions-components/p-43699470.entry.js +6 -0
  83. package/dist/solutions-components/p-5585dcd3.entry.js +6 -0
  84. package/dist/solutions-components/{p-3a513c67.entry.js → p-5b3c0418.entry.js} +1 -1
  85. package/dist/solutions-components/{p-f7e7b830.entry.js → p-6438d1ea.entry.js} +1 -1
  86. package/dist/solutions-components/p-750b3277.entry.js +6 -0
  87. package/dist/solutions-components/p-8779ee41.entry.js +6 -0
  88. package/dist/solutions-components/p-90fc786f.entry.js +6 -0
  89. package/dist/solutions-components/{p-43165ebd.entry.js → p-9c170b30.entry.js} +1 -1
  90. package/dist/solutions-components/p-a5b751e2.entry.js +6 -0
  91. package/dist/solutions-components/p-af573e0d.js +6 -0
  92. package/dist/solutions-components/p-bb8b1ee2.entry.js +6 -0
  93. package/dist/solutions-components/{p-b79f296d.entry.js → p-c48be45f.entry.js} +2 -2
  94. package/dist/solutions-components/p-ca3cbd29.entry.js +6 -0
  95. package/dist/solutions-components/p-ceb1030b.js +6 -0
  96. package/dist/solutions-components/{p-29047e77.entry.js → p-e1391389.entry.js} +1 -1
  97. package/dist/solutions-components/{p-759d0beb.entry.js → p-f728af86.entry.js} +1 -1
  98. package/dist/solutions-components/p-ff3858c6.entry.js +6 -0
  99. package/dist/solutions-components/solutions-components.esm.js +1 -1
  100. package/package.json +7 -7
  101. package/dist/solutions-components/p-07a194e6.entry.js +0 -6
  102. package/dist/solutions-components/p-14d78748.entry.js +0 -6
  103. package/dist/solutions-components/p-24e3f09f.entry.js +0 -6
  104. package/dist/solutions-components/p-3a33ef72.entry.js +0 -6
  105. package/dist/solutions-components/p-402301cb.js +0 -6
  106. package/dist/solutions-components/p-41a6f03d.entry.js +0 -6
  107. package/dist/solutions-components/p-4db86c5e.entry.js +0 -6
  108. package/dist/solutions-components/p-750f234e.entry.js +0 -6
  109. package/dist/solutions-components/p-7e97d4d6.entry.js +0 -6
  110. package/dist/solutions-components/p-7eb5d31a.js +0 -6
  111. package/dist/solutions-components/p-90d2aadc.entry.js +0 -6
  112. package/dist/solutions-components/p-b78a4ce7.entry.js +0 -6
  113. package/dist/solutions-components/p-efb4cb43.entry.js +0 -6
@@ -195,9 +195,9 @@ const InstantAppsMeasurementTool = class {
195
195
  this._init();
196
196
  }
197
197
  render() {
198
- return (h(Host, { key: '4357b8a39789ea390bedfcd96f4d21c1a0211484' }, h("div", { key: 'b42cca8e290ba490b8a1afca1818c9d95dfcc32b', class: CSS.base }, h("div", { key: '59be3dd42e293dcd8f7fa3e132fa65cfef12ffa7', ref: el => {
198
+ return (h(Host, { key: 'eabd8e43ae6d095e02bcc99935a2069ba620d66a' }, h("div", { key: '5bb33f7f1785e60e4cde37ee8ba08bae4681751d', class: CSS.base }, h("div", { key: '8826eb9665c17f8eed640e0bcab3cff50a02ec23', ref: el => {
199
199
  this._measureElement = el;
200
- } }), h("div", { key: '2ee6045804e3b7eeb3db1a5bdb5dc5d0cf15a5c8', class: CSS.hide, ref: el => {
200
+ } }), h("div", { key: '0e3b7364403866976f5e6578c08b8fdc50d1e33f', class: CSS.hide, ref: el => {
201
201
  this._coordinateElement = el;
202
202
  } }))));
203
203
  }
@@ -2706,10 +2706,10 @@ const InstantAppsSocialShare = class {
2706
2706
  const content = this.copied && this.mode === 'popover' ? (this.renderSuccess()) : (h("div", { class: CSS.dialogContent }, this.renderOptions(), this.displayTipText ? this.renderTip() : null, this.embed ? this.renderEmbed() : null));
2707
2707
  const layoutClass = this.shareIconsLayout === 'vertical' ? ` ${CSS.layout.vertical}` : ` ${CSS.layout.horizontal}`;
2708
2708
  const mode = ` calcite-mode-${!!this.el.closest(CALCITE_MODE_DARK) ? 'dark' : 'light'}`;
2709
- const dialogContent = (h("div", { key: 'b23e14b1ba2ca6f64137f676aae9f19fde42260d', ref: el => (this.dialogContentRef = el), class: `${CSS.dialog}${layoutClass}${mode}` }, content));
2709
+ const dialogContent = (h("div", { key: 'f205f0e614bc6c4a645f7047951979f88b8c61e3', ref: el => (this.dialogContentRef = el), class: `${CSS.dialog}${layoutClass}${mode}` }, content));
2710
2710
  const defaultOffset = 6;
2711
2711
  const offsetDistance = this.removePopoverOffset ? 0 : defaultOffset;
2712
- return (h(Host, { key: '5143e472b8381d068e6cc6f155b5c65d3aaf4c53' }, this.mode === 'popover'
2712
+ return (h(Host, { key: 'efe99545244d7b5f9ae4065bba069c25d45beb0a' }, this.mode === 'popover'
2713
2713
  ? [
2714
2714
  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),
2715
2715
  this.renderButton(),
@@ -123,6 +123,7 @@ const LANGUAGE_DATA = {
123
123
  id: {
124
124
  language: "Indonesian",
125
125
  translated: "Bahasa Indonesia",
126
+ supportsAutoTranslate: true,
126
127
  },
127
128
  it: {
128
129
  language: "Italian",
@@ -229,6 +230,7 @@ const LANGUAGE_DATA = {
229
230
  af: {
230
231
  language: "Afrikaans",
231
232
  translated: "Afrikaans",
233
+ supportsAutoTranslate: true,
232
234
  },
233
235
  ak: {
234
236
  language: "Akan",
@@ -237,10 +239,12 @@ const LANGUAGE_DATA = {
237
239
  sq: {
238
240
  language: "Albanian",
239
241
  translated: "Shqip",
242
+ supportsAutoTranslate: true,
240
243
  },
241
244
  am: {
242
245
  language: "Amharic",
243
246
  translated: "አማርኛ",
247
+ supportsAutoTranslate: true,
244
248
  },
245
249
  an: {
246
250
  language: "Aragonese",
@@ -249,10 +253,12 @@ const LANGUAGE_DATA = {
249
253
  hy: {
250
254
  language: "Armenian",
251
255
  translated: "Հայերեն",
256
+ supportsAutoTranslate: true,
252
257
  },
253
258
  as: {
254
259
  language: "Assamese",
255
260
  translated: "অসমীয়া",
261
+ supportsAutoTranslate: true,
256
262
  },
257
263
  av: {
258
264
  language: "Avaric",
@@ -277,10 +283,12 @@ const LANGUAGE_DATA = {
277
283
  ba: {
278
284
  language: "Bashkir",
279
285
  translated: "Башҡорт теле",
286
+ supportsAutoTranslate: true,
280
287
  },
281
288
  eu: {
282
289
  language: "Basque",
283
290
  translated: "euskara",
291
+ supportsAutoTranslate: true,
284
292
  },
285
293
  be: {
286
294
  language: "Belarusian",
@@ -341,6 +349,7 @@ const LANGUAGE_DATA = {
341
349
  dv: {
342
350
  language: "Divehi",
343
351
  translated: "ދިވެހި",
352
+ supportsAutoTranslate: true,
344
353
  },
345
354
  eo: {
346
355
  language: "Esperanto",
@@ -353,6 +362,7 @@ const LANGUAGE_DATA = {
353
362
  fo: {
354
363
  language: "Faroese",
355
364
  translated: "føroyskt",
365
+ supportsAutoTranslate: true,
356
366
  },
357
367
  fj: {
358
368
  language: "Fijian",
@@ -365,10 +375,12 @@ const LANGUAGE_DATA = {
365
375
  gl: {
366
376
  language: "Galician",
367
377
  translated: "galego",
378
+ supportsAutoTranslate: true,
368
379
  },
369
380
  ka: {
370
381
  language: "Georgian",
371
382
  translated: "ქართული",
383
+ supportsAutoTranslate: true,
372
384
  },
373
385
  gn: {
374
386
  language: "Guarani",
@@ -377,14 +389,17 @@ const LANGUAGE_DATA = {
377
389
  gu: {
378
390
  language: "Gujarati",
379
391
  translated: "ગુજરાતી",
392
+ supportsAutoTranslate: true,
380
393
  },
381
394
  ht: {
382
- language: "Haitian",
395
+ language: "Haitian Creole",
383
396
  translated: "Kreyòl Ayisyen",
397
+ supportsAutoTranslate: true,
384
398
  },
385
399
  ha: {
386
400
  language: "Hausa",
387
401
  translated: "هَوُسَ",
402
+ supportsAutoTranslate: true,
388
403
  },
389
404
  hz: {
390
405
  language: "Herero",
@@ -401,6 +416,7 @@ const LANGUAGE_DATA = {
401
416
  is: {
402
417
  language: "Icelandic",
403
418
  translated: "Íslenska",
419
+ supportsAutoTranslate: true,
404
420
  },
405
421
  io: {
406
422
  language: "Ido",
@@ -409,6 +425,7 @@ const LANGUAGE_DATA = {
409
425
  ig: {
410
426
  language: "Igbo",
411
427
  translated: "Asụsụ Igbo",
428
+ supportsAutoTranslate: true,
412
429
  },
413
430
  ia: {
414
431
  language: "Interlingua",
@@ -421,6 +438,7 @@ const LANGUAGE_DATA = {
421
438
  iu: {
422
439
  language: "Inuktitut",
423
440
  translated: "ᐃᓄᒃᑎᑐᑦ",
441
+ supportsAutoTranslate: true,
424
442
  },
425
443
  ip: {
426
444
  language: "Inupiaq",
@@ -429,6 +447,7 @@ const LANGUAGE_DATA = {
429
447
  ga: {
430
448
  language: "Irish",
431
449
  translated: "Gaeilge",
450
+ supportsAutoTranslate: true,
432
451
  },
433
452
  jv: {
434
453
  language: "Javanese",
@@ -441,6 +460,7 @@ const LANGUAGE_DATA = {
441
460
  kn: {
442
461
  language: "Kannada",
443
462
  translated: "ಕನ್ನಡ",
463
+ supportsAutoTranslate: true,
444
464
  },
445
465
  kr: {
446
466
  language: "Kanuri",
@@ -449,14 +469,17 @@ const LANGUAGE_DATA = {
449
469
  ks: {
450
470
  language: "Kashmiri",
451
471
  translated: "कश्मीरी",
472
+ supportsAutoTranslate: true,
452
473
  },
453
474
  kk: {
454
475
  language: "Kazakh",
455
476
  translated: "қазақ тілі",
477
+ supportsAutoTranslate: true,
456
478
  },
457
479
  km: {
458
480
  language: "Khmer",
459
481
  translated: "ខ្មែរ",
482
+ supportsAutoTranslate: true,
460
483
  },
461
484
  ki: {
462
485
  language: "Kikuyu",
@@ -465,6 +488,7 @@ const LANGUAGE_DATA = {
465
488
  rw: {
466
489
  language: "Kinyarwanda",
467
490
  translated: "Kinyarwanda",
491
+ supportsAutoTranslate: true,
468
492
  },
469
493
  rn: {
470
494
  language: "Kirundi",
@@ -481,6 +505,7 @@ const LANGUAGE_DATA = {
481
505
  ku: {
482
506
  language: "Kurdish",
483
507
  translated: "Kurdî",
508
+ supportsAutoTranslate: true,
484
509
  },
485
510
  kj: {
486
511
  language: "Kwanyama",
@@ -493,6 +518,7 @@ const LANGUAGE_DATA = {
493
518
  lo: {
494
519
  language: "Lao",
495
520
  translated: "ພາສາລາວ",
521
+ supportsAutoTranslate: true,
496
522
  },
497
523
  la: {
498
524
  language: "Latin",
@@ -521,22 +547,27 @@ const LANGUAGE_DATA = {
521
547
  mk: {
522
548
  language: "Macedonian",
523
549
  translated: "македонски јазик",
550
+ supportsAutoTranslate: true,
524
551
  },
525
552
  mg: {
526
553
  language: "Malagasy",
527
554
  translated: "fiteny malagasy",
555
+ supportsAutoTranslate: true,
528
556
  },
529
557
  ms: {
530
558
  language: "Malay",
531
559
  translated: "Bahasa Melayu",
560
+ supportsAutoTranslate: true,
532
561
  },
533
562
  ml: {
534
563
  language: "Malayalam",
535
564
  translated: "മലയാളം",
565
+ supportsAutoTranslate: true,
536
566
  },
537
567
  mt: {
538
568
  language: "Maltese",
539
569
  translated: "Malti",
570
+ supportsAutoTranslate: true,
540
571
  },
541
572
  gv: {
542
573
  language: "Manx",
@@ -545,10 +576,12 @@ const LANGUAGE_DATA = {
545
576
  mi: {
546
577
  language: "Maori",
547
578
  translated: "te reo Māori",
579
+ supportsAutoTranslate: true,
548
580
  },
549
581
  mr: {
550
582
  language: "Marathi",
551
583
  translated: "मराठी",
584
+ supportsAutoTranslate: true,
552
585
  },
553
586
  mh: {
554
587
  language: "Marshallese",
@@ -573,6 +606,7 @@ const LANGUAGE_DATA = {
573
606
  ne: {
574
607
  language: "Nepali",
575
608
  translated: "नेपाली",
609
+ supportsAutoTranslate: true,
576
610
  },
577
611
  nd: {
578
612
  language: "North Ndebele",
@@ -605,6 +639,7 @@ const LANGUAGE_DATA = {
605
639
  or: {
606
640
  language: "Oriya",
607
641
  translated: "ଓଡ଼ିଆ",
642
+ supportsAutoTranslate: true,
608
643
  },
609
644
  om: {
610
645
  language: "Oromo",
@@ -625,10 +660,12 @@ const LANGUAGE_DATA = {
625
660
  ps: {
626
661
  language: "Pashto",
627
662
  translated: "پښتو",
663
+ supportsAutoTranslate: true,
628
664
  },
629
665
  fa: {
630
666
  language: "Persian",
631
667
  translated: "فارسی",
668
+ supportsAutoTranslate: true,
632
669
  },
633
670
  qu: {
634
671
  language: "Quechua",
@@ -641,6 +678,7 @@ const LANGUAGE_DATA = {
641
678
  sm: {
642
679
  language: "Samoan",
643
680
  translated: "gagana fa'a Samoa",
681
+ supportsAutoTranslate: true,
644
682
  },
645
683
  sg: {
646
684
  language: "Sango",
@@ -665,14 +703,17 @@ const LANGUAGE_DATA = {
665
703
  sd: {
666
704
  language: "Sindhi",
667
705
  translated: "सिन्धी",
706
+ supportsAutoTranslate: true,
668
707
  },
669
708
  si: {
670
709
  language: "Sinhala",
671
710
  translated: "සිංහල",
711
+ supportsAutoTranslate: true,
672
712
  },
673
713
  so: {
674
714
  language: "Somali",
675
715
  translated: "Soomaaliga",
716
+ supportsAutoTranslate: true,
676
717
  },
677
718
  nr: {
678
719
  language: "South Ndebele",
@@ -689,6 +730,7 @@ const LANGUAGE_DATA = {
689
730
  sw: {
690
731
  language: "Swahili",
691
732
  translated: "Kiswahili",
733
+ supportsAutoTranslate: true,
692
734
  },
693
735
  ss: {
694
736
  language: "Swati",
@@ -701,6 +743,7 @@ const LANGUAGE_DATA = {
701
743
  ty: {
702
744
  language: "Tahitian",
703
745
  translated: "Reo Tahiti",
746
+ supportsAutoTranslate: true,
704
747
  },
705
748
  tg: {
706
749
  language: "Tajik",
@@ -709,26 +752,32 @@ const LANGUAGE_DATA = {
709
752
  ta: {
710
753
  language: "Tamil",
711
754
  translated: "தமிழ்",
755
+ supportsAutoTranslate: true,
712
756
  },
713
757
  tt: {
714
758
  language: "Tatar",
715
759
  translated: "татар теле",
760
+ supportsAutoTranslate: true,
716
761
  },
717
762
  te: {
718
763
  language: "Telugu",
719
764
  translated: "తెలుగు",
765
+ supportsAutoTranslate: true,
720
766
  },
721
767
  bo: {
722
768
  language: "Tibetan",
723
769
  translated: "བོད་ཡིག",
770
+ supportsAutoTranslate: true,
724
771
  },
725
772
  ti: {
726
773
  language: "Tigrinya",
727
774
  translated: "ትግርኛ",
775
+ supportsAutoTranslate: true,
728
776
  },
729
777
  to: {
730
778
  language: "Tonga",
731
779
  translated: "faka Tonga",
780
+ supportsAutoTranslate: true,
732
781
  },
733
782
  ts: {
734
783
  language: "Tsonga",
@@ -741,6 +790,7 @@ const LANGUAGE_DATA = {
741
790
  tk: {
742
791
  language: "Turkmen",
743
792
  translated: "Türkmen",
793
+ supportsAutoTranslate: true,
744
794
  },
745
795
  tw: {
746
796
  language: "Twi",
@@ -753,10 +803,12 @@ const LANGUAGE_DATA = {
753
803
  ur: {
754
804
  language: "Urdu",
755
805
  translated: "اردو",
806
+ supportsAutoTranslate: true,
756
807
  },
757
808
  uz: {
758
809
  language: "Uzbek",
759
810
  translated: "O'zbek",
811
+ supportsAutoTranslate: true,
760
812
  },
761
813
  ve: {
762
814
  language: "Venda",
@@ -773,6 +825,7 @@ const LANGUAGE_DATA = {
773
825
  cy: {
774
826
  language: "Welsh",
775
827
  translated: "Cymraeg",
828
+ supportsAutoTranslate: true,
776
829
  },
777
830
  fy: {
778
831
  language: "Western Frisian",
@@ -785,6 +838,7 @@ const LANGUAGE_DATA = {
785
838
  xh: {
786
839
  language: "Xhosa",
787
840
  translated: "isiXhosa",
841
+ supportsAutoTranslate: true,
788
842
  },
789
843
  yi: {
790
844
  language: "Yiddish",
@@ -793,6 +847,7 @@ const LANGUAGE_DATA = {
793
847
  yo: {
794
848
  language: "Yoruba",
795
849
  translated: "Yorùbá",
850
+ supportsAutoTranslate: true,
796
851
  },
797
852
  za: {
798
853
  language: "Zhuang",
@@ -801,6 +856,7 @@ const LANGUAGE_DATA = {
801
856
  zu: {
802
857
  language: "Zulu",
803
858
  translated: "isiZulu",
859
+ supportsAutoTranslate: true,
804
860
  },
805
861
  },
806
862
  };
@@ -79,7 +79,7 @@ async function getMergedEffect(presetLayerEffect, featureLayerView, type) {
79
79
  return mergedEffect;
80
80
  }
81
81
 
82
- const InteractiveLegendStore = createStore({ data: {}, relationshipRampExpandStates: {} });
82
+ const InteractiveLegendStore = createStore({ data: {}, relationshipRampExpandStates: {}, compact: false });
83
83
  const interactiveLegendState = InteractiveLegendStore.state;
84
84
  const store = InteractiveLegendStore;
85
85
 
@@ -13,16 +13,19 @@ import './languageUtil-2b6e191a.js';
13
13
  class AppGuideViewModel {
14
14
  constructor() {
15
15
  this.pages = [];
16
+ this.headerText = '';
17
+ this.pages = [];
16
18
  }
17
- addPage(page) {
18
- this.pages = [...this.pages, page];
19
+ setPages(pages) {
20
+ this.pages = pages;
21
+ this.setDefaultHeaderText();
19
22
  }
20
- removePage(page) {
21
- this.pages = this.pages.filter(p => p !== page);
23
+ setDefaultHeaderText() {
24
+ this.headerText = !!this.pages.length ? this.pages[0].title : '';
22
25
  }
23
26
  }
24
27
 
25
- 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}:host .content-heading{font-weight:var(--calcite-font-weight-bold);display:flex;gap:var(--calcite-spacing-sm);line-height:var(--calcite-font-line-height-fixed-lg)}: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)}";
28
+ const instantAppsAppGuideCss = ":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;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)}";
26
29
  const InstantAppsAppGuideStyle0 = instantAppsAppGuideCss;
27
30
 
28
31
  const CSS = {
@@ -33,6 +36,9 @@ const CSS = {
33
36
  const InstantAppsAppGuide = class {
34
37
  constructor(hostRef) {
35
38
  registerInstance(this, hostRef);
39
+ /**
40
+ * Private Variables
41
+ */
36
42
  this._viewModel = new AppGuideViewModel();
37
43
  this.header = true;
38
44
  this.data = undefined;
@@ -40,19 +46,25 @@ const InstantAppsAppGuide = class {
40
46
  this.headerText = undefined;
41
47
  }
42
48
  watchPropHandler(newValue) {
43
- this._viewModel.pages = newValue;
44
- this._updateHeaderText();
49
+ this._setContent(newValue);
50
+ }
51
+ watchStateHandler(newValue) {
52
+ this._viewModel.headerText = newValue;
45
53
  }
46
- connectedCallback() {
47
- var _a, _b, _c, _d;
48
- this._viewModel.pages = (this === null || this === void 0 ? void 0 : this.data) || [];
49
- 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;
54
+ componentWillLoad() {
55
+ this._setContent(this === null || this === void 0 ? void 0 : this.data);
50
56
  }
51
57
  componentDidLoad() {
52
58
  getMessages(this);
53
59
  }
54
60
  render() {
55
- return (h(Host, { key: '3c6bf465e2543e62f8e991a22a4f8b8420556285' }, h("calcite-panel", { key: '15a145d4f930de4325716dcd8b73fdcbbe5fa31e', scale: "s" }, this._renderAppGuideHeader(), h("calcite-carousel", { key: '8f962b828f76b8a68f19b71fb79d3f4c93420e38', onCalciteCarouselChange: () => this._updateHeaderText(), ref: el => this._carouselRef = el, "arrow-type": this._getArrowType() }, this._renderAppGuidePages(this._viewModel.pages)))));
61
+ const pages = this._renderAppGuidePages(this._viewModel.pages);
62
+ const header = this._renderAppGuideHeader();
63
+ return (h(Host, { key: 'a6969274bbb9e917869c4c09910ef04b2d40c49a' }, h("calcite-panel", { key: 'f203f430978eed0db5aa0058ae53bd811ba0fdfe', scale: "s" }, header, h("calcite-carousel", { key: 'afd572b169f27b03616e568b9146cb2e52f04cae', onCalciteCarouselChange: () => this._updateHeaderText(), ref: el => this._carouselRef = el, "arrow-type": this._getArrowType() }, pages))));
64
+ }
65
+ _setContent(content) {
66
+ this._viewModel.setPages(content);
67
+ this.headerText = this._viewModel.headerText;
56
68
  }
57
69
  _updateHeaderText() {
58
70
  var _a;
@@ -94,7 +106,8 @@ const InstantAppsAppGuide = class {
94
106
  }
95
107
  get el() { return getElement(this); }
96
108
  static get watchers() { return {
97
- "data": ["watchPropHandler"]
109
+ "data": ["watchPropHandler"],
110
+ "headerText": ["watchStateHandler"]
98
111
  }; }
99
112
  };
100
113
  InstantAppsAppGuide.style = InstantAppsAppGuideStyle0;