@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
@@ -142,6 +142,7 @@ const LANGUAGE_DATA = {
|
|
142
142
|
id: {
|
143
143
|
language: "Indonesian",
|
144
144
|
translated: "Bahasa Indonesia",
|
145
|
+
supportsAutoTranslate: true,
|
145
146
|
},
|
146
147
|
it: {
|
147
148
|
language: "Italian",
|
@@ -248,6 +249,7 @@ const LANGUAGE_DATA = {
|
|
248
249
|
af: {
|
249
250
|
language: "Afrikaans",
|
250
251
|
translated: "Afrikaans",
|
252
|
+
supportsAutoTranslate: true,
|
251
253
|
},
|
252
254
|
ak: {
|
253
255
|
language: "Akan",
|
@@ -256,10 +258,12 @@ const LANGUAGE_DATA = {
|
|
256
258
|
sq: {
|
257
259
|
language: "Albanian",
|
258
260
|
translated: "Shqip",
|
261
|
+
supportsAutoTranslate: true,
|
259
262
|
},
|
260
263
|
am: {
|
261
264
|
language: "Amharic",
|
262
265
|
translated: "አማርኛ",
|
266
|
+
supportsAutoTranslate: true,
|
263
267
|
},
|
264
268
|
an: {
|
265
269
|
language: "Aragonese",
|
@@ -268,10 +272,12 @@ const LANGUAGE_DATA = {
|
|
268
272
|
hy: {
|
269
273
|
language: "Armenian",
|
270
274
|
translated: "Հայերեն",
|
275
|
+
supportsAutoTranslate: true,
|
271
276
|
},
|
272
277
|
as: {
|
273
278
|
language: "Assamese",
|
274
279
|
translated: "অসমীয়া",
|
280
|
+
supportsAutoTranslate: true,
|
275
281
|
},
|
276
282
|
av: {
|
277
283
|
language: "Avaric",
|
@@ -296,10 +302,12 @@ const LANGUAGE_DATA = {
|
|
296
302
|
ba: {
|
297
303
|
language: "Bashkir",
|
298
304
|
translated: "Башҡорт теле",
|
305
|
+
supportsAutoTranslate: true,
|
299
306
|
},
|
300
307
|
eu: {
|
301
308
|
language: "Basque",
|
302
309
|
translated: "euskara",
|
310
|
+
supportsAutoTranslate: true,
|
303
311
|
},
|
304
312
|
be: {
|
305
313
|
language: "Belarusian",
|
@@ -360,6 +368,7 @@ const LANGUAGE_DATA = {
|
|
360
368
|
dv: {
|
361
369
|
language: "Divehi",
|
362
370
|
translated: "ދިވެހި",
|
371
|
+
supportsAutoTranslate: true,
|
363
372
|
},
|
364
373
|
eo: {
|
365
374
|
language: "Esperanto",
|
@@ -372,6 +381,7 @@ const LANGUAGE_DATA = {
|
|
372
381
|
fo: {
|
373
382
|
language: "Faroese",
|
374
383
|
translated: "føroyskt",
|
384
|
+
supportsAutoTranslate: true,
|
375
385
|
},
|
376
386
|
fj: {
|
377
387
|
language: "Fijian",
|
@@ -384,10 +394,12 @@ const LANGUAGE_DATA = {
|
|
384
394
|
gl: {
|
385
395
|
language: "Galician",
|
386
396
|
translated: "galego",
|
397
|
+
supportsAutoTranslate: true,
|
387
398
|
},
|
388
399
|
ka: {
|
389
400
|
language: "Georgian",
|
390
401
|
translated: "ქართული",
|
402
|
+
supportsAutoTranslate: true,
|
391
403
|
},
|
392
404
|
gn: {
|
393
405
|
language: "Guarani",
|
@@ -396,14 +408,17 @@ const LANGUAGE_DATA = {
|
|
396
408
|
gu: {
|
397
409
|
language: "Gujarati",
|
398
410
|
translated: "ગુજરાતી",
|
411
|
+
supportsAutoTranslate: true,
|
399
412
|
},
|
400
413
|
ht: {
|
401
|
-
language: "Haitian",
|
414
|
+
language: "Haitian Creole",
|
402
415
|
translated: "Kreyòl Ayisyen",
|
416
|
+
supportsAutoTranslate: true,
|
403
417
|
},
|
404
418
|
ha: {
|
405
419
|
language: "Hausa",
|
406
420
|
translated: "هَوُسَ",
|
421
|
+
supportsAutoTranslate: true,
|
407
422
|
},
|
408
423
|
hz: {
|
409
424
|
language: "Herero",
|
@@ -420,6 +435,7 @@ const LANGUAGE_DATA = {
|
|
420
435
|
is: {
|
421
436
|
language: "Icelandic",
|
422
437
|
translated: "Íslenska",
|
438
|
+
supportsAutoTranslate: true,
|
423
439
|
},
|
424
440
|
io: {
|
425
441
|
language: "Ido",
|
@@ -428,6 +444,7 @@ const LANGUAGE_DATA = {
|
|
428
444
|
ig: {
|
429
445
|
language: "Igbo",
|
430
446
|
translated: "Asụsụ Igbo",
|
447
|
+
supportsAutoTranslate: true,
|
431
448
|
},
|
432
449
|
ia: {
|
433
450
|
language: "Interlingua",
|
@@ -440,6 +457,7 @@ const LANGUAGE_DATA = {
|
|
440
457
|
iu: {
|
441
458
|
language: "Inuktitut",
|
442
459
|
translated: "ᐃᓄᒃᑎᑐᑦ",
|
460
|
+
supportsAutoTranslate: true,
|
443
461
|
},
|
444
462
|
ip: {
|
445
463
|
language: "Inupiaq",
|
@@ -448,6 +466,7 @@ const LANGUAGE_DATA = {
|
|
448
466
|
ga: {
|
449
467
|
language: "Irish",
|
450
468
|
translated: "Gaeilge",
|
469
|
+
supportsAutoTranslate: true,
|
451
470
|
},
|
452
471
|
jv: {
|
453
472
|
language: "Javanese",
|
@@ -460,6 +479,7 @@ const LANGUAGE_DATA = {
|
|
460
479
|
kn: {
|
461
480
|
language: "Kannada",
|
462
481
|
translated: "ಕನ್ನಡ",
|
482
|
+
supportsAutoTranslate: true,
|
463
483
|
},
|
464
484
|
kr: {
|
465
485
|
language: "Kanuri",
|
@@ -468,14 +488,17 @@ const LANGUAGE_DATA = {
|
|
468
488
|
ks: {
|
469
489
|
language: "Kashmiri",
|
470
490
|
translated: "कश्मीरी",
|
491
|
+
supportsAutoTranslate: true,
|
471
492
|
},
|
472
493
|
kk: {
|
473
494
|
language: "Kazakh",
|
474
495
|
translated: "қазақ тілі",
|
496
|
+
supportsAutoTranslate: true,
|
475
497
|
},
|
476
498
|
km: {
|
477
499
|
language: "Khmer",
|
478
500
|
translated: "ខ្មែរ",
|
501
|
+
supportsAutoTranslate: true,
|
479
502
|
},
|
480
503
|
ki: {
|
481
504
|
language: "Kikuyu",
|
@@ -484,6 +507,7 @@ const LANGUAGE_DATA = {
|
|
484
507
|
rw: {
|
485
508
|
language: "Kinyarwanda",
|
486
509
|
translated: "Kinyarwanda",
|
510
|
+
supportsAutoTranslate: true,
|
487
511
|
},
|
488
512
|
rn: {
|
489
513
|
language: "Kirundi",
|
@@ -500,6 +524,7 @@ const LANGUAGE_DATA = {
|
|
500
524
|
ku: {
|
501
525
|
language: "Kurdish",
|
502
526
|
translated: "Kurdî",
|
527
|
+
supportsAutoTranslate: true,
|
503
528
|
},
|
504
529
|
kj: {
|
505
530
|
language: "Kwanyama",
|
@@ -512,6 +537,7 @@ const LANGUAGE_DATA = {
|
|
512
537
|
lo: {
|
513
538
|
language: "Lao",
|
514
539
|
translated: "ພາສາລາວ",
|
540
|
+
supportsAutoTranslate: true,
|
515
541
|
},
|
516
542
|
la: {
|
517
543
|
language: "Latin",
|
@@ -540,22 +566,27 @@ const LANGUAGE_DATA = {
|
|
540
566
|
mk: {
|
541
567
|
language: "Macedonian",
|
542
568
|
translated: "македонски јазик",
|
569
|
+
supportsAutoTranslate: true,
|
543
570
|
},
|
544
571
|
mg: {
|
545
572
|
language: "Malagasy",
|
546
573
|
translated: "fiteny malagasy",
|
574
|
+
supportsAutoTranslate: true,
|
547
575
|
},
|
548
576
|
ms: {
|
549
577
|
language: "Malay",
|
550
578
|
translated: "Bahasa Melayu",
|
579
|
+
supportsAutoTranslate: true,
|
551
580
|
},
|
552
581
|
ml: {
|
553
582
|
language: "Malayalam",
|
554
583
|
translated: "മലയാളം",
|
584
|
+
supportsAutoTranslate: true,
|
555
585
|
},
|
556
586
|
mt: {
|
557
587
|
language: "Maltese",
|
558
588
|
translated: "Malti",
|
589
|
+
supportsAutoTranslate: true,
|
559
590
|
},
|
560
591
|
gv: {
|
561
592
|
language: "Manx",
|
@@ -564,10 +595,12 @@ const LANGUAGE_DATA = {
|
|
564
595
|
mi: {
|
565
596
|
language: "Maori",
|
566
597
|
translated: "te reo Māori",
|
598
|
+
supportsAutoTranslate: true,
|
567
599
|
},
|
568
600
|
mr: {
|
569
601
|
language: "Marathi",
|
570
602
|
translated: "मराठी",
|
603
|
+
supportsAutoTranslate: true,
|
571
604
|
},
|
572
605
|
mh: {
|
573
606
|
language: "Marshallese",
|
@@ -592,6 +625,7 @@ const LANGUAGE_DATA = {
|
|
592
625
|
ne: {
|
593
626
|
language: "Nepali",
|
594
627
|
translated: "नेपाली",
|
628
|
+
supportsAutoTranslate: true,
|
595
629
|
},
|
596
630
|
nd: {
|
597
631
|
language: "North Ndebele",
|
@@ -624,6 +658,7 @@ const LANGUAGE_DATA = {
|
|
624
658
|
or: {
|
625
659
|
language: "Oriya",
|
626
660
|
translated: "ଓଡ଼ିଆ",
|
661
|
+
supportsAutoTranslate: true,
|
627
662
|
},
|
628
663
|
om: {
|
629
664
|
language: "Oromo",
|
@@ -644,10 +679,12 @@ const LANGUAGE_DATA = {
|
|
644
679
|
ps: {
|
645
680
|
language: "Pashto",
|
646
681
|
translated: "پښتو",
|
682
|
+
supportsAutoTranslate: true,
|
647
683
|
},
|
648
684
|
fa: {
|
649
685
|
language: "Persian",
|
650
686
|
translated: "فارسی",
|
687
|
+
supportsAutoTranslate: true,
|
651
688
|
},
|
652
689
|
qu: {
|
653
690
|
language: "Quechua",
|
@@ -660,6 +697,7 @@ const LANGUAGE_DATA = {
|
|
660
697
|
sm: {
|
661
698
|
language: "Samoan",
|
662
699
|
translated: "gagana fa'a Samoa",
|
700
|
+
supportsAutoTranslate: true,
|
663
701
|
},
|
664
702
|
sg: {
|
665
703
|
language: "Sango",
|
@@ -684,14 +722,17 @@ const LANGUAGE_DATA = {
|
|
684
722
|
sd: {
|
685
723
|
language: "Sindhi",
|
686
724
|
translated: "सिन्धी",
|
725
|
+
supportsAutoTranslate: true,
|
687
726
|
},
|
688
727
|
si: {
|
689
728
|
language: "Sinhala",
|
690
729
|
translated: "සිංහල",
|
730
|
+
supportsAutoTranslate: true,
|
691
731
|
},
|
692
732
|
so: {
|
693
733
|
language: "Somali",
|
694
734
|
translated: "Soomaaliga",
|
735
|
+
supportsAutoTranslate: true,
|
695
736
|
},
|
696
737
|
nr: {
|
697
738
|
language: "South Ndebele",
|
@@ -708,6 +749,7 @@ const LANGUAGE_DATA = {
|
|
708
749
|
sw: {
|
709
750
|
language: "Swahili",
|
710
751
|
translated: "Kiswahili",
|
752
|
+
supportsAutoTranslate: true,
|
711
753
|
},
|
712
754
|
ss: {
|
713
755
|
language: "Swati",
|
@@ -720,6 +762,7 @@ const LANGUAGE_DATA = {
|
|
720
762
|
ty: {
|
721
763
|
language: "Tahitian",
|
722
764
|
translated: "Reo Tahiti",
|
765
|
+
supportsAutoTranslate: true,
|
723
766
|
},
|
724
767
|
tg: {
|
725
768
|
language: "Tajik",
|
@@ -728,26 +771,32 @@ const LANGUAGE_DATA = {
|
|
728
771
|
ta: {
|
729
772
|
language: "Tamil",
|
730
773
|
translated: "தமிழ்",
|
774
|
+
supportsAutoTranslate: true,
|
731
775
|
},
|
732
776
|
tt: {
|
733
777
|
language: "Tatar",
|
734
778
|
translated: "татар теле",
|
779
|
+
supportsAutoTranslate: true,
|
735
780
|
},
|
736
781
|
te: {
|
737
782
|
language: "Telugu",
|
738
783
|
translated: "తెలుగు",
|
784
|
+
supportsAutoTranslate: true,
|
739
785
|
},
|
740
786
|
bo: {
|
741
787
|
language: "Tibetan",
|
742
788
|
translated: "བོད་ཡིག",
|
789
|
+
supportsAutoTranslate: true,
|
743
790
|
},
|
744
791
|
ti: {
|
745
792
|
language: "Tigrinya",
|
746
793
|
translated: "ትግርኛ",
|
794
|
+
supportsAutoTranslate: true,
|
747
795
|
},
|
748
796
|
to: {
|
749
797
|
language: "Tonga",
|
750
798
|
translated: "faka Tonga",
|
799
|
+
supportsAutoTranslate: true,
|
751
800
|
},
|
752
801
|
ts: {
|
753
802
|
language: "Tsonga",
|
@@ -760,6 +809,7 @@ const LANGUAGE_DATA = {
|
|
760
809
|
tk: {
|
761
810
|
language: "Turkmen",
|
762
811
|
translated: "Türkmen",
|
812
|
+
supportsAutoTranslate: true,
|
763
813
|
},
|
764
814
|
tw: {
|
765
815
|
language: "Twi",
|
@@ -772,10 +822,12 @@ const LANGUAGE_DATA = {
|
|
772
822
|
ur: {
|
773
823
|
language: "Urdu",
|
774
824
|
translated: "اردو",
|
825
|
+
supportsAutoTranslate: true,
|
775
826
|
},
|
776
827
|
uz: {
|
777
828
|
language: "Uzbek",
|
778
829
|
translated: "O'zbek",
|
830
|
+
supportsAutoTranslate: true,
|
779
831
|
},
|
780
832
|
ve: {
|
781
833
|
language: "Venda",
|
@@ -792,6 +844,7 @@ const LANGUAGE_DATA = {
|
|
792
844
|
cy: {
|
793
845
|
language: "Welsh",
|
794
846
|
translated: "Cymraeg",
|
847
|
+
supportsAutoTranslate: true,
|
795
848
|
},
|
796
849
|
fy: {
|
797
850
|
language: "Western Frisian",
|
@@ -804,6 +857,7 @@ const LANGUAGE_DATA = {
|
|
804
857
|
xh: {
|
805
858
|
language: "Xhosa",
|
806
859
|
translated: "isiXhosa",
|
860
|
+
supportsAutoTranslate: true,
|
807
861
|
},
|
808
862
|
yi: {
|
809
863
|
language: "Yiddish",
|
@@ -812,6 +866,7 @@ const LANGUAGE_DATA = {
|
|
812
866
|
yo: {
|
813
867
|
language: "Yoruba",
|
814
868
|
translated: "Yorùbá",
|
869
|
+
supportsAutoTranslate: true,
|
815
870
|
},
|
816
871
|
za: {
|
817
872
|
language: "Zhuang",
|
@@ -820,6 +875,7 @@ const LANGUAGE_DATA = {
|
|
820
875
|
zu: {
|
821
876
|
language: "Zulu",
|
822
877
|
translated: "isiZulu",
|
878
|
+
supportsAutoTranslate: true,
|
823
879
|
},
|
824
880
|
},
|
825
881
|
};
|
@@ -39,9 +39,9 @@ const InstantAppsMeasurementTool = /*@__PURE__*/ proxyCustomElement(class Instan
|
|
39
39
|
this._init();
|
40
40
|
}
|
41
41
|
render() {
|
42
|
-
return (h(Host, { key: '
|
42
|
+
return (h(Host, { key: 'eabd8e43ae6d095e02bcc99935a2069ba620d66a' }, h("div", { key: '5bb33f7f1785e60e4cde37ee8ba08bae4681751d', class: CSS.base }, h("div", { key: '8826eb9665c17f8eed640e0bcab3cff50a02ec23', ref: el => {
|
43
43
|
this._measureElement = el;
|
44
|
-
} }), h("div", { key: '
|
44
|
+
} }), h("div", { key: '0e3b7364403866976f5e6578c08b8fdc50d1e33f', class: CSS.hide, ref: el => {
|
45
45
|
this._coordinateElement = el;
|
46
46
|
} }))));
|
47
47
|
}
|
@@ -42,7 +42,7 @@ const InstantAppsMeasurement$1 = /*@__PURE__*/ proxyCustomElement(class InstantA
|
|
42
42
|
componentDidLoad() { }
|
43
43
|
render() {
|
44
44
|
var _a;
|
45
|
-
return (h(Host, { key: '843dd716e3f9b125044afd9a2919a60b937ae8b0' }, h("calcite-panel", { key: '45dd9e43decdcdc0526139938751d727bd73b3e0', heading: (_a = this === null || this === void 0 ? void 0 : this.messages) === null || _a === void 0 ? void 0 : _a.label, closable: this.closable }, h("div", { key: '
|
45
|
+
return (h(Host, { key: '843dd716e3f9b125044afd9a2919a60b937ae8b0' }, h("calcite-panel", { key: '45dd9e43decdcdc0526139938751d727bd73b3e0', heading: (_a = this === null || this === void 0 ? void 0 : this.messages) === null || _a === void 0 ? void 0 : _a.label, closable: this.closable }, h("div", { key: '953365a04fd1f977b08d4b9309fdb52d44363b67', slot: "content-top" }, this.renderActionPad()), h("div", { key: '57ce5b75a8aff0d796073bbf2a2f36ea71f65b3c' }, this.renderMeasureToolPanel()))));
|
46
46
|
}
|
47
47
|
renderMeasureToolPanel() {
|
48
48
|
const { view, coordinateFormat, areaUnit, linearUnit, activeToolType } = this;
|
@@ -52,7 +52,7 @@ const InstantAppsMeasurement$1 = /*@__PURE__*/ proxyCustomElement(class InstantA
|
|
52
52
|
}
|
53
53
|
renderActionPad() {
|
54
54
|
const { messages, activeToolType } = this;
|
55
|
-
return (h("calcite-action-pad", { "expand-disabled": true, layout: "horizontal", position: "end" }, h("calcite-action", { class: activeToolType === 'distance' ? 'active-tool' : '', text: messages === null || messages === void 0 ? void 0 : messages.line, icon: "measure", scale: "m", "data-value": "distance", onClick: this._handleToolClick.bind(this) }, h("calcite-tooltip", { "close-on-click": true, placement: "
|
55
|
+
return (h("calcite-action-pad", { "expand-disabled": true, layout: "horizontal", position: "end" }, h("calcite-action", { class: activeToolType === 'distance' ? 'active-tool' : '', text: messages === null || messages === void 0 ? void 0 : messages.line, icon: "measure", scale: "m", "data-value": "distance", onClick: this._handleToolClick.bind(this) }, h("calcite-tooltip", { "close-on-click": true, placement: "top", slot: "tooltip" }, messages === null || messages === void 0 ? void 0 : messages.line)), h("calcite-action", { class: activeToolType === 'area' ? 'active-tool' : '', text: messages === null || messages === void 0 ? void 0 : messages.area, scale: "m", icon: "measure-area", "data-value": "area", onClick: this._handleToolClick.bind(this) }, h("calcite-tooltip", { "close-on-click": true, placement: "top", slot: "tooltip" }, messages === null || messages === void 0 ? void 0 : messages.area)), h("calcite-action", { class: activeToolType === 'point' ? 'active-tool' : '', text: messages === null || messages === void 0 ? void 0 : messages.point, scale: "m", icon: "pin-plus", "data-value": "point", onClick: this._handleToolClick.bind(this) }, h("calcite-tooltip", { "close-on-click": true, placement: "top", slot: "tooltip" }, messages === null || messages === void 0 ? void 0 : messages.point)), h("calcite-action", { text: messages === null || messages === void 0 ? void 0 : messages.clear, scale: "m", icon: "trash", "data-value": "clear", onClick: this._handleToolClick.bind(this) }, h("calcite-tooltip", { "close-on-click": true, placement: "top", slot: "tooltip" }, messages === null || messages === void 0 ? void 0 : messages.clear))));
|
56
56
|
}
|
57
57
|
_handleToolClick(e) {
|
58
58
|
var _a, _b, _c, _d;
|
@@ -51,7 +51,7 @@ const InstantAppsPopover$1 = /*@__PURE__*/ proxyCustomElement(class InstantAppsP
|
|
51
51
|
}
|
52
52
|
render() {
|
53
53
|
var _a, _b, _c, _d, _e;
|
54
|
-
return (h("calcite-popover", { key: '
|
54
|
+
return (h("calcite-popover", { key: '19a392c5daebebf9aab291173df40f53e8fd9c87', ref: (el) => (this.popoverEl = el), heading: this.popoverTitle, "auto-close": true, placement: this.placement, messageOverrides: { close: (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close }, "trigger-disabled": true, "ref-id": this.refId, closable: true, referenceElement: this.referenceElement, label: this.popoverTitle }, h("div", { key: 'e7b7453dbfcd60f0b78fee35ba4392e4ee854092', class: `${CSS.content}${this.disableAction ? ` ${CSS.actionDisabled}` : ''}` }, !this.disableAction ? (h("calcite-action", { key: "popover-action", class: CSS.action, onClick: this.popoverAction, icon: document.dir === 'rtl' ? 'chevron-right' : 'chevron-left', compact: true, "text-enabled": true, text: (((_b = this.messageOverrides) === null || _b === void 0 ? void 0 : _b.popoverAction) ? this.messageOverrides.popoverAction : this.messages.back) })) : null, h("section", { key: '502e168445d4518c31d01e8a92b9c6b40212b34a' }, h("span", { key: '7f5227a9a17d1fdbdcebded50374325c9bf5dcc9', id: "subtitle" }, this.subtitle), h("p", { key: '37234d37274863d17a693fc1a525441a1f7e9832' }, this.content), this.imgSrc ? h("img", { key: `iac-popover-img-${this.refId}`, class: CSS.img, src: this.imgSrc, alt: this.imgAlt ? this.imgAlt : '' }) : null), this.pagination ? (h("div", { key: `iac-popover-footer-${this.index}`, class: CSS.footer }, h("span", null, this.index + 1, " ", (_c = this.messages) === null || _c === void 0 ? void 0 :
|
55
55
|
_c.of, " ", (_e = (_d = this.parent) === null || _d === void 0 ? void 0 : _d.instantAppsPopovers) === null || _e === void 0 ? void 0 :
|
56
56
|
_e.size), this.renderPagination())) : null)));
|
57
57
|
}
|
@@ -247,7 +247,7 @@ const InstantAppsScoreboard$1 = /*@__PURE__*/ proxyCustomElement(class InstantAp
|
|
247
247
|
const progress = isLoading || isCalculating || ((_a = this.view) === null || _a === void 0 ? void 0 : _a.updating) ? this.renderProgress() : null;
|
248
248
|
const positionClass = this.getPositionClass;
|
249
249
|
const styleClass = this.getStyleClass;
|
250
|
-
return h(Host, { key: '
|
250
|
+
return h(Host, { key: '5fed5010f728e5d8c4866af3bc38b41ac9b5424f', class: `${positionClass} ${styleClass}` }, isDisabled ? null : [progress, ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > 0 ? this.renderBase() : null]);
|
251
251
|
}
|
252
252
|
renderBase() {
|
253
253
|
return (h("div", { key: "instant-apps-scoreboard-base", class: BASE }, this.renderContent()));
|
@@ -15,7 +15,7 @@ import { d as defineCustomElement$3 } from './icon.js';
|
|
15
15
|
import { d as defineCustomElement$2 } from './loader.js';
|
16
16
|
import { d as defineCustomElement$1 } from './navigation-user.js';
|
17
17
|
|
18
|
-
const instantAppsSignInCss = ":host{display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}";
|
18
|
+
const instantAppsSignInCss = ":host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}";
|
19
19
|
const InstantAppsSignInStyle0 = instantAppsSignInCss;
|
20
20
|
|
21
21
|
const CSS = {
|
@@ -23,6 +23,7 @@ const CSS = {
|
|
23
23
|
SignInBtn: 'instant-apps-sign-in__sign-in-btn',
|
24
24
|
buttonContainer: 'instant-apps-sign-in__entry-button-container',
|
25
25
|
entryButton: 'instant-apps-sign-in__entry-button',
|
26
|
+
indicator: 'instant-apps-sign-in__indicator',
|
26
27
|
};
|
27
28
|
const InstantAppsSignIn = /*@__PURE__*/ proxyCustomElement(class InstantAppsSignIn extends HTMLElement {
|
28
29
|
constructor() {
|
@@ -39,6 +40,7 @@ const InstantAppsSignIn = /*@__PURE__*/ proxyCustomElement(class InstantAppsSign
|
|
39
40
|
this.titleText = undefined;
|
40
41
|
this.subtitleText = undefined;
|
41
42
|
this.descriptionText = undefined;
|
43
|
+
this.showIndicator = true;
|
42
44
|
this.closeLandingPage = undefined;
|
43
45
|
this.signInDropdownItems = undefined;
|
44
46
|
this.ready = false;
|
@@ -56,7 +58,7 @@ const InstantAppsSignIn = /*@__PURE__*/ proxyCustomElement(class InstantAppsSign
|
|
56
58
|
}
|
57
59
|
render() {
|
58
60
|
const signIn = this.ready ? this.renderContent() : null;
|
59
|
-
return h(Host, { key: '
|
61
|
+
return h(Host, { key: 'c8ef9d8b827f4d7f137cb051209a77450d6ab48c' }, signIn);
|
60
62
|
}
|
61
63
|
renderContent() {
|
62
64
|
return this.type === 'landingPage' ? this.renderLandingPageSignIn() : this.renderSignInContainer();
|
@@ -65,10 +67,11 @@ const InstantAppsSignIn = /*@__PURE__*/ proxyCustomElement(class InstantAppsSign
|
|
65
67
|
return h("div", { class: CSS.base }, this.isSignedIn ? this.renderSignInDropdown() : this.renderSignInButton());
|
66
68
|
}
|
67
69
|
renderSignInDropdown() {
|
68
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
70
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
69
71
|
const dropdownScale = this.type === 'navigation' ? 'm' : 's';
|
70
|
-
|
71
|
-
|
72
|
+
const avatarClass = this.showIndicator ? CSS.indicator : '';
|
73
|
+
return (h("calcite-dropdown", { placement: "bottom-end", scale: dropdownScale }, this.type === 'navigation' ? (h("calcite-navigation-user", { class: avatarClass, slot: "trigger", thumbnail: (_a = this.user) === null || _a === void 0 ? void 0 : _a.thumbnailUrl, "full-name": (_b = this.user) === null || _b === void 0 ? void 0 : _b.fullName, username: (_c = this.user) === null || _c === void 0 ? void 0 : _c.username, "user-id": (_e = (_d = this.user) === null || _d === void 0 ? void 0 : _d.id) !== null && _e !== void 0 ? _e : (_g = (_f = this.user) === null || _f === void 0 ? void 0 : _f.sourceJSON) === null || _g === void 0 ? void 0 : _g.id, textDisabled: true })) : (h("button", { slot: "trigger" }, h("calcite-avatar", { class: avatarClass, thumbnail: (_h = this.user) === null || _h === void 0 ? void 0 : _h.thumbnailUrl, "full-name": (_j = this.user) === null || _j === void 0 ? void 0 : _j.fullName, username: (_k = this.user) === null || _k === void 0 ? void 0 : _k.username, "user-id": (_m = (_l = this.user) === null || _l === void 0 ? void 0 : _l.id) !== null && _m !== void 0 ? _m : (_p = (_o = this.user) === null || _o === void 0 ? void 0 : _o.sourceJSON) === null || _p === void 0 ? void 0 : _p.id }))), h("slot", { name: "sign-in-dropdown-top" }), h("calcite-dropdown-group", { "selection-mode": "none" }, (_q = this.signInDropdownItems) === null || _q === void 0 ? void 0 :
|
74
|
+
_q.map(item => h("calcite-dropdown-item", { onClick: item.onClick }, item.label)), h("calcite-dropdown-item", { onClick: this.signOut.bind(this) }, (_r = this.messages) === null || _r === void 0 ? void 0 : _r.signOut))));
|
72
75
|
}
|
73
76
|
renderSignInButton() {
|
74
77
|
var _a;
|
@@ -78,7 +81,7 @@ const InstantAppsSignIn = /*@__PURE__*/ proxyCustomElement(class InstantAppsSign
|
|
78
81
|
}
|
79
82
|
renderLandingPageSignIn() {
|
80
83
|
var _a, _b;
|
81
|
-
return (h("div", { class: CSS.buttonContainer }, h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill",
|
84
|
+
return (h("div", { class: CSS.buttonContainer }, h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", onClick: this.landingPageSignIn.bind(this) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.signIn), h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", onClick: this.guestOnClick.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.continueAsGuest)));
|
82
85
|
}
|
83
86
|
async initSignIn() {
|
84
87
|
if (this.portal == null || this.oauthappid == null)
|
@@ -94,9 +97,10 @@ const InstantAppsSignIn = /*@__PURE__*/ proxyCustomElement(class InstantAppsSign
|
|
94
97
|
this.idManager.registerOAuthInfos([this.info]);
|
95
98
|
this.isSignedIn = await this.checkSignInStatus();
|
96
99
|
this.ready = true;
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
+
if (this.isSignedIn) {
|
101
|
+
await reactiveUtils.whenOnce(() => this.portal.user);
|
102
|
+
this.user = this.portal.user;
|
103
|
+
}
|
100
104
|
}
|
101
105
|
async signIn() {
|
102
106
|
this.setSignInLocalStorage();
|
@@ -163,6 +167,7 @@ const InstantAppsSignIn = /*@__PURE__*/ proxyCustomElement(class InstantAppsSign
|
|
163
167
|
"titleText": [1, "title-text"],
|
164
168
|
"subtitleText": [1, "subtitle-text"],
|
165
169
|
"descriptionText": [1, "description-text"],
|
170
|
+
"showIndicator": [4, "show-indicator"],
|
166
171
|
"closeLandingPage": [16],
|
167
172
|
"signInDropdownItems": [16],
|
168
173
|
"isSignedIn": [32],
|
@@ -213,10 +213,10 @@ const InstantAppsSocialShare = /*@__PURE__*/ proxyCustomElement(class InstantApp
|
|
213
213
|
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));
|
214
214
|
const layoutClass = this.shareIconsLayout === 'vertical' ? ` ${CSS.layout.vertical}` : ` ${CSS.layout.horizontal}`;
|
215
215
|
const mode = ` calcite-mode-${!!this.el.closest(CALCITE_MODE_DARK) ? 'dark' : 'light'}`;
|
216
|
-
const dialogContent = (h("div", { key: '
|
216
|
+
const dialogContent = (h("div", { key: 'f205f0e614bc6c4a645f7047951979f88b8c61e3', ref: el => (this.dialogContentRef = el), class: `${CSS.dialog}${layoutClass}${mode}` }, content));
|
217
217
|
const defaultOffset = 6;
|
218
218
|
const offsetDistance = this.removePopoverOffset ? 0 : defaultOffset;
|
219
|
-
return (h(Host, { key: '
|
219
|
+
return (h(Host, { key: 'efe99545244d7b5f9ae4065bba069c25d45beb0a' }, this.mode === 'popover'
|
220
220
|
? [
|
221
221
|
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),
|
222
222
|
this.renderButton(),
|
@@ -99,7 +99,7 @@ const InstantAppsSplash$1 = /*@__PURE__*/ proxyCustomElement(class InstantAppsSp
|
|
99
99
|
getMessages(this);
|
100
100
|
}
|
101
101
|
render() {
|
102
|
-
return (h("calcite-modal", { key: '
|
102
|
+
return (h("calcite-modal", { key: '1ab8d4142fe5c3ac087c2146af6f8510183af8a8', onCalciteModalClose: this.close.bind(this), open: this.open, closeButtonDisabled: this.closeButtonDisabled, outsideCloseDisabled: this.outsideCloseDisabled }, this.renderHeader(), this.renderContent(), this.localStorageKey ? this.renderDontShowThisAgainCheckbox() : null, this.renderPrimaryButton(), this.secondaryButton ? this.renderSecondaryButton() : null));
|
103
103
|
}
|
104
104
|
renderHeader() {
|
105
105
|
const { titleText } = this;
|
@@ -354,14 +354,16 @@ class InstantAppsTimeFilterViewModel {
|
|
354
354
|
const baseConfig = Object.assign({ container: timeSliderRef, mode: 'time-window', view: ((_a = state.view) === null || _a === void 0 ? void 0 : _a.type) === '3d' ? state.view : null }, state.timeSliderConfig);
|
355
355
|
if (defaultItem) {
|
356
356
|
const timeSlider = (_d = (_c = (_b = state.view) === null || _b === void 0 ? void 0 : _b.map) === null || _c === void 0 ? void 0 : _c.widgets) === null || _d === void 0 ? void 0 : _d.timeSlider;
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
}
|
364
|
-
|
357
|
+
const config = Object.assign(Object.assign({}, baseConfig), { fullTimeExtent: timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.fullTimeExtent, timeExtent: timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.currentTimeExtent });
|
358
|
+
if (((_e = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _e === void 0 ? void 0 : _e.unit) && ((_f = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _f === void 0 ? void 0 : _f.value)) {
|
359
|
+
config.stops = {
|
360
|
+
interval: new TimeInterval({
|
361
|
+
unit: (_g = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _g === void 0 ? void 0 : _g.unit,
|
362
|
+
value: (_h = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _h === void 0 ? void 0 : _h.value,
|
363
|
+
}),
|
364
|
+
};
|
365
|
+
}
|
366
|
+
return config;
|
365
367
|
}
|
366
368
|
else {
|
367
369
|
const [{ timeExtent, rangeStart, rangeEnd, unit, timeIntervalValue }] = state.timeInfoItems;
|
@@ -534,7 +536,7 @@ const InstantAppsTimeFilter$1 = /*@__PURE__*/ proxyCustomElement(class InstantAp
|
|
534
536
|
viewModel.destroy();
|
535
537
|
}
|
536
538
|
render() {
|
537
|
-
return h$2(Host, { key: '
|
539
|
+
return h$2(Host, { key: 'fdced64d842efb4c65a5518a0feb95637a147383' }, this._renderBase());
|
538
540
|
}
|
539
541
|
_renderBase() {
|
540
542
|
return (h$2("div", { class: `${CSS.base}${this.view.type !== '2d' ? CSS.threeD : ''}` }, this._renderLoader(), this.view.type === '2d' && this._renderTopEl(), h$2("div", { key: "time-slider", ref: (ref) => (this.timeSliderRef = ref) })));
|
@@ -109,6 +109,7 @@ const MapLegend = /*@__PURE__*/ proxyCustomElement(class MapLegend extends HTMLE
|
|
109
109
|
if (!this.legendWidget) {
|
110
110
|
this.legendWidget = new this.Legend({
|
111
111
|
container: this._legendElement,
|
112
|
+
respectLayerDefinitionExpression: true,
|
112
113
|
view
|
113
114
|
});
|
114
115
|
}
|
@@ -65,6 +65,8 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
65
65
|
"Web Scene",
|
66
66
|
"Feature Layer (hosted, view)",
|
67
67
|
"Feature Layer (hosted)",
|
68
|
+
"Table (hosted, view)",
|
69
|
+
"Table (hosted)",
|
68
70
|
"Tile Layer",
|
69
71
|
"CSV",
|
70
72
|
"Microsoft Excel",
|
@@ -120,7 +122,7 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
120
122
|
* Renders the component.
|
121
123
|
*/
|
122
124
|
render() {
|
123
|
-
return (h(Host, { key: '
|
125
|
+
return (h(Host, { key: 'bf7f34f247fd1936435394aa8740bfc1136325ed' }, this._getAccordion()));
|
124
126
|
}
|
125
127
|
//--------------------------------------------------------------------------
|
126
128
|
//
|
@@ -252,8 +254,10 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
252
254
|
_getTypeForDisplay(type, typeKeywords) {
|
253
255
|
let _type = type;
|
254
256
|
if (type === "Feature Service") {
|
255
|
-
|
256
|
-
|
257
|
+
const isView = typeKeywords.indexOf("View Service") > -1;
|
258
|
+
const isTable = typeKeywords.indexOf("Table") > -1;
|
259
|
+
_type = isView && isTable ? "Table (hosted, view)" : isTable ? "Table (hosted)" :
|
260
|
+
isView ? "Feature Layer (hosted, view)" : "Feature Layer (hosted)";
|
257
261
|
}
|
258
262
|
if (type === "Web Mapping Application") {
|
259
263
|
_type = typeKeywords.indexOf("configurableApp") > -1 ?
|
package/dist/components/store.js
CHANGED
@@ -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
|
|