@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.
Files changed (157) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +1 -0
  2. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +3 -3
  4. package/dist/cjs/calcite-block_5.cjs.entry.js +2 -2
  5. package/dist/cjs/card-manager_3.cjs.entry.js +2 -2
  6. package/dist/cjs/{constants-0a4fc296.js → constants-51cf394f.js} +57 -1
  7. package/dist/cjs/crowdsource-manager.cjs.entry.js +25 -29
  8. package/dist/cjs/{downloadUtils-20637f89.js → downloadUtils-76bc7e30.js} +6 -5
  9. package/dist/cjs/feature-list.cjs.entry.js +3 -3
  10. package/dist/cjs/{helpers-415179ad.js → helpers-afcac967.js} +1 -1
  11. package/dist/cjs/{index.es-a242cb45.js → index.es-8336efed.js} +2 -2
  12. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +26 -13
  13. package/dist/cjs/instant-apps-export.cjs.entry.js +1086 -59
  14. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +8 -4
  15. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +10 -5
  16. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +1 -1
  17. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +52 -12
  18. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +9 -3
  19. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +19 -13
  20. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -2
  21. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +1 -1
  22. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  23. package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
  24. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
  25. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +13 -9
  26. package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
  27. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +11 -9
  28. package/dist/cjs/loader.cjs.js +1 -1
  29. package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
  30. package/dist/cjs/{popupUtils-d477705b.js → popupUtils-bc762034.js} +1 -1
  31. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  32. package/dist/cjs/solution-item-accordion.cjs.entry.js +7 -3
  33. package/dist/cjs/solutions-components.cjs.js +1 -1
  34. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +27 -29
  35. package/dist/collection/components/map-legend/map-legend.js +1 -0
  36. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +7 -3
  37. package/dist/collection/demos/solution-item-accordion.html +32 -0
  38. package/dist/collection/utils/downloadUtils.js +5 -3
  39. package/dist/collection/utils/downloadUtils.ts +6 -3
  40. package/dist/collection/utils/test/downloadUtils.spec.tsx +10 -12
  41. package/dist/components/crowdsource-manager.js +26 -29
  42. package/dist/components/downloadUtils.js +5 -4
  43. package/dist/components/instant-apps-app-guide.js +28 -14
  44. package/dist/components/instant-apps-export.js +1119 -76
  45. package/dist/components/instant-apps-interactive-legend-classic2.js +8 -4
  46. package/dist/components/instant-apps-interactive-legend-count2.js +6 -3
  47. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +5 -2
  48. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +52 -12
  49. package/dist/components/instant-apps-interactive-legend.js +13 -4
  50. package/dist/components/instant-apps-landing-page.js +19 -13
  51. package/dist/components/instant-apps-language-switcher.js +3 -1
  52. package/dist/components/instant-apps-language-translator2.js +57 -1
  53. package/dist/components/instant-apps-measurement-tool2.js +2 -2
  54. package/dist/components/instant-apps-measurement.js +2 -2
  55. package/dist/components/instant-apps-popover.js +1 -1
  56. package/dist/components/instant-apps-scoreboard.js +1 -1
  57. package/dist/components/instant-apps-sign-in2.js +14 -9
  58. package/dist/components/instant-apps-social-share2.js +2 -2
  59. package/dist/components/instant-apps-splash.js +1 -1
  60. package/dist/components/instant-apps-time-filter.js +11 -9
  61. package/dist/components/map-legend2.js +1 -0
  62. package/dist/components/solution-item-accordion.js +7 -3
  63. package/dist/components/store.js +1 -1
  64. package/dist/esm/basemap-gallery_7.entry.js +1 -0
  65. package/dist/esm/calcite-action-pad_2.entry.js +2 -2
  66. package/dist/esm/calcite-alert_5.entry.js +3 -3
  67. package/dist/esm/calcite-block_5.entry.js +2 -2
  68. package/dist/esm/card-manager_3.entry.js +2 -2
  69. package/dist/esm/{constants-045d6a1b.js → constants-886c7c2c.js} +57 -1
  70. package/dist/esm/crowdsource-manager.entry.js +25 -29
  71. package/dist/esm/{downloadUtils-e266e98d.js → downloadUtils-bc7a4ba1.js} +6 -5
  72. package/dist/esm/feature-list.entry.js +3 -3
  73. package/dist/esm/{helpers-f9bf9c0b.js → helpers-91087955.js} +1 -1
  74. package/dist/esm/{index.es-c5f258e2.js → index.es-0d189a34.js} +2 -2
  75. package/dist/esm/instant-apps-app-guide.entry.js +26 -13
  76. package/dist/esm/instant-apps-export.entry.js +1086 -59
  77. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +8 -4
  78. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +10 -5
  79. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +1 -1
  80. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +52 -12
  81. package/dist/esm/instant-apps-interactive-legend.entry.js +9 -3
  82. package/dist/esm/instant-apps-landing-page.entry.js +19 -13
  83. package/dist/esm/instant-apps-language-switcher.entry.js +3 -2
  84. package/dist/esm/instant-apps-language-translator.entry.js +1 -1
  85. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  86. package/dist/esm/instant-apps-popover.entry.js +1 -1
  87. package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
  88. package/dist/esm/instant-apps-sign-in.entry.js +13 -9
  89. package/dist/esm/instant-apps-splash.entry.js +1 -1
  90. package/dist/esm/instant-apps-time-filter.entry.js +11 -9
  91. package/dist/esm/loader.js +1 -1
  92. package/dist/esm/map-select-tools_3.entry.js +2 -2
  93. package/dist/esm/{popupUtils-4570096e.js → popupUtils-03dc398a.js} +1 -1
  94. package/dist/esm/public-notification.entry.js +2 -2
  95. package/dist/esm/solution-item-accordion.entry.js +7 -3
  96. package/dist/esm/solutions-components.js +1 -1
  97. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +0 -5
  98. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +4 -0
  99. 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
  100. 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
  101. 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
  102. 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
  103. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +8 -0
  104. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +22 -0
  105. package/dist/solutions-components/demos/solution-item-accordion.html +32 -0
  106. package/dist/solutions-components/{p-cb3199f9.entry.js → p-04ab956c.entry.js} +1 -1
  107. package/dist/solutions-components/p-1e14b3d0.entry.js +6 -0
  108. package/dist/solutions-components/p-2542d5c9.entry.js +6 -0
  109. package/dist/solutions-components/{p-70ecc979.entry.js → p-374ddead.entry.js} +1 -1
  110. package/dist/solutions-components/{p-146acd9a.entry.js → p-3fc18283.entry.js} +1 -1
  111. package/dist/solutions-components/p-43699470.entry.js +6 -0
  112. package/dist/solutions-components/p-5585dcd3.entry.js +6 -0
  113. package/dist/solutions-components/{p-3a513c67.entry.js → p-5b3c0418.entry.js} +1 -1
  114. package/dist/solutions-components/{p-f7e7b830.entry.js → p-6438d1ea.entry.js} +1 -1
  115. package/dist/solutions-components/{p-a568af9f.js → p-6f606cdb.js} +1 -1
  116. package/dist/solutions-components/p-720de4db.entry.js +6 -0
  117. package/dist/solutions-components/p-750b3277.entry.js +6 -0
  118. package/dist/solutions-components/p-8779ee41.entry.js +6 -0
  119. package/dist/solutions-components/p-90fc786f.entry.js +6 -0
  120. package/dist/solutions-components/p-97fe6ec5.entry.js +6 -0
  121. package/dist/solutions-components/{p-43165ebd.entry.js → p-9c170b30.entry.js} +1 -1
  122. package/dist/solutions-components/{p-b4c49411.entry.js → p-9c4fef09.entry.js} +1 -1
  123. package/dist/solutions-components/p-a5b751e2.entry.js +6 -0
  124. package/dist/solutions-components/{p-89046451.entry.js → p-aac0c89c.entry.js} +1 -1
  125. package/dist/solutions-components/p-af573e0d.js +6 -0
  126. package/dist/solutions-components/p-bb8b1ee2.entry.js +6 -0
  127. package/dist/solutions-components/{p-b79f296d.entry.js → p-c48be45f.entry.js} +2 -2
  128. package/dist/solutions-components/p-ca3cbd29.entry.js +6 -0
  129. package/dist/solutions-components/p-cd482a33.js +21 -0
  130. package/dist/solutions-components/p-ceb1030b.js +6 -0
  131. package/dist/solutions-components/{p-b86b2664.entry.js → p-d2612c30.entry.js} +1 -1
  132. package/dist/solutions-components/{p-29047e77.entry.js → p-e1391389.entry.js} +1 -1
  133. package/dist/solutions-components/{p-588adf13.entry.js → p-e345f9c4.entry.js} +1 -1
  134. package/dist/solutions-components/p-f3b71784.entry.js +6 -0
  135. package/dist/solutions-components/{p-759d0beb.entry.js → p-f728af86.entry.js} +1 -1
  136. package/dist/solutions-components/{p-46c8015c.js → p-ff9e28d1.js} +30 -30
  137. package/dist/solutions-components/solutions-components.esm.js +1 -1
  138. package/dist/solutions-components/utils/downloadUtils.ts +6 -3
  139. package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +10 -12
  140. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -7
  141. package/package.json +8 -7
  142. package/dist/solutions-components/p-07a194e6.entry.js +0 -6
  143. package/dist/solutions-components/p-14d78748.entry.js +0 -6
  144. package/dist/solutions-components/p-2360802a.js +0 -21
  145. package/dist/solutions-components/p-24e3f09f.entry.js +0 -6
  146. package/dist/solutions-components/p-3a33ef72.entry.js +0 -6
  147. package/dist/solutions-components/p-402301cb.js +0 -6
  148. package/dist/solutions-components/p-41a6f03d.entry.js +0 -6
  149. package/dist/solutions-components/p-4db86c5e.entry.js +0 -6
  150. package/dist/solutions-components/p-5eb9a413.entry.js +0 -6
  151. package/dist/solutions-components/p-750f234e.entry.js +0 -6
  152. package/dist/solutions-components/p-7e97d4d6.entry.js +0 -6
  153. package/dist/solutions-components/p-7eb5d31a.js +0 -6
  154. package/dist/solutions-components/p-90d2aadc.entry.js +0 -6
  155. package/dist/solutions-components/p-b78a4ce7.entry.js +0 -6
  156. package/dist/solutions-components/p-ecf642c2.entry.js +0 -6
  157. package/dist/solutions-components/p-efb4cb43.entry.js +0 -6
@@ -10,7 +10,7 @@ import './esri-loader-c6842c6b.js';
10
10
  import './_commonjsHelpers-089957fe.js';
11
11
  import './languageUtil-2b6e191a.js';
12
12
 
13
- 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}}";
13
+ 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}}";
14
14
  const InstantAppsSignInStyle0 = instantAppsSignInCss;
15
15
 
16
16
  const CSS = {
@@ -18,6 +18,7 @@ const CSS = {
18
18
  SignInBtn: 'instant-apps-sign-in__sign-in-btn',
19
19
  buttonContainer: 'instant-apps-sign-in__entry-button-container',
20
20
  entryButton: 'instant-apps-sign-in__entry-button',
21
+ indicator: 'instant-apps-sign-in__indicator',
21
22
  };
22
23
  const InstantAppsSignIn = class {
23
24
  constructor(hostRef) {
@@ -32,6 +33,7 @@ const InstantAppsSignIn = class {
32
33
  this.titleText = undefined;
33
34
  this.subtitleText = undefined;
34
35
  this.descriptionText = undefined;
36
+ this.showIndicator = true;
35
37
  this.closeLandingPage = undefined;
36
38
  this.signInDropdownItems = undefined;
37
39
  this.ready = false;
@@ -49,7 +51,7 @@ const InstantAppsSignIn = class {
49
51
  }
50
52
  render() {
51
53
  const signIn = this.ready ? this.renderContent() : null;
52
- return h(Host, { key: 'af7ff807a996fd2dbbc647988fc24e5a122c4efe' }, signIn);
54
+ return h(Host, { key: 'c8ef9d8b827f4d7f137cb051209a77450d6ab48c' }, signIn);
53
55
  }
54
56
  renderContent() {
55
57
  return this.type === 'landingPage' ? this.renderLandingPageSignIn() : this.renderSignInContainer();
@@ -58,10 +60,11 @@ const InstantAppsSignIn = class {
58
60
  return h("div", { class: CSS.base }, this.isSignedIn ? this.renderSignInDropdown() : this.renderSignInButton());
59
61
  }
60
62
  renderSignInDropdown() {
61
- var _a, _b, _c, _d, _e, _f, _g, _h;
63
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
62
64
  const dropdownScale = this.type === 'navigation' ? 'm' : 's';
63
- return (h("calcite-dropdown", { placement: "bottom-end", scale: dropdownScale }, this.type === 'navigation' ? (h("calcite-navigation-user", { 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, textDisabled: true })) : (h("button", { slot: "trigger" }, h("calcite-avatar", { thumbnail: (_d = this.user) === null || _d === void 0 ? void 0 : _d.thumbnailUrl, "full-name": (_e = this.user) === null || _e === void 0 ? void 0 : _e.fullName, username: (_f = this.user) === null || _f === void 0 ? void 0 : _f.username }))), h("slot", { name: "sign-in-dropdown-top" }), h("calcite-dropdown-group", { "selection-mode": "none" }, (_g = this.signInDropdownItems) === null || _g === void 0 ? void 0 :
64
- _g.map(item => h("calcite-dropdown-item", { onClick: item.onClick }, item.label)), h("calcite-dropdown-item", { onClick: this.signOut.bind(this) }, (_h = this.messages) === null || _h === void 0 ? void 0 : _h.signOut))));
65
+ const avatarClass = this.showIndicator ? CSS.indicator : '';
66
+ 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 :
67
+ _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))));
65
68
  }
66
69
  renderSignInButton() {
67
70
  var _a;
@@ -71,7 +74,7 @@ const InstantAppsSignIn = class {
71
74
  }
72
75
  renderLandingPageSignIn() {
73
76
  var _a, _b;
74
- return (h("div", { class: CSS.buttonContainer }, h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", width: "half", 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", width: "half", onClick: this.guestOnClick.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.continueAsGuest)));
77
+ 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)));
75
78
  }
76
79
  async initSignIn() {
77
80
  if (this.portal == null || this.oauthappid == null)
@@ -87,9 +90,10 @@ const InstantAppsSignIn = class {
87
90
  this.idManager.registerOAuthInfos([this.info]);
88
91
  this.isSignedIn = await this.checkSignInStatus();
89
92
  this.ready = true;
90
- await reactiveUtils.whenOnce(() => this.portal.user);
91
- this.user = this.portal.user;
92
- this.ready = true;
93
+ if (this.isSignedIn) {
94
+ await reactiveUtils.whenOnce(() => this.portal.user);
95
+ this.user = this.portal.user;
96
+ }
93
97
  }
94
98
  async signIn() {
95
99
  this.setSignInLocalStorage();
@@ -94,7 +94,7 @@ const InstantAppsSplash = class {
94
94
  getMessages(this);
95
95
  }
96
96
  render() {
97
- return (h("calcite-modal", { key: 'd7ae1e9533ce3ac221547530c509e1682e253ab2', 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));
97
+ 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));
98
98
  }
99
99
  renderHeader() {
100
100
  const { titleText } = this;
@@ -352,14 +352,16 @@ class InstantAppsTimeFilterViewModel {
352
352
  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);
353
353
  if (defaultItem) {
354
354
  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;
355
- return 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, stops: ((_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)
356
- ? {
357
- interval: new TimeInterval({
358
- unit: (_g = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _g === void 0 ? void 0 : _g.unit,
359
- value: (_h = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _h === void 0 ? void 0 : _h.value,
360
- }),
361
- }
362
- : null });
355
+ 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 });
356
+ 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)) {
357
+ config.stops = {
358
+ interval: new TimeInterval({
359
+ unit: (_g = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _g === void 0 ? void 0 : _g.unit,
360
+ value: (_h = timeSlider === null || timeSlider === void 0 ? void 0 : timeSlider.stopInterval) === null || _h === void 0 ? void 0 : _h.value,
361
+ }),
362
+ };
363
+ }
364
+ return config;
363
365
  }
364
366
  else {
365
367
  const [{ timeExtent, rangeStart, rangeEnd, unit, timeIntervalValue }] = state.timeInfoItems;
@@ -531,7 +533,7 @@ const InstantAppsTimeFilter = class {
531
533
  viewModel.destroy();
532
534
  }
533
535
  render() {
534
- return h$2(Host, { key: '9366ce36d85d1b97ff9dad8a93f5cfb93d12551b' }, this._renderBase());
536
+ return h$2(Host, { key: 'fdced64d842efb4c65a5518a0feb95637a147383' }, this._renderBase());
535
537
  }
536
538
  _renderBase() {
537
539
  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) })));