@esri/solutions-components 5.1.0-next.155 → 5.1.0-next.157

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/cdn/{G4ADX65Y.js → 6RTL3IJQ.js} +1 -1
  2. package/dist/cdn/{5KWJUQRY.js → 7CZG6NDM.js} +1 -1
  3. package/dist/cdn/{CEPWTLDN.js → 7NKBQ4G6.js} +1 -1
  4. package/dist/cdn/{MDXI36JJ.js → BYGOJ5ML.js} +141 -138
  5. package/dist/cdn/{TM6TYAW2.js → CNGHMKQK.js} +24 -24
  6. package/dist/cdn/{CSAXBV46.js → DQ7I7HGP.js} +1 -1
  7. package/dist/cdn/E4BPYNC5.js +4 -0
  8. package/dist/cdn/EKRMEQQI.js +2 -0
  9. package/dist/cdn/EW4MNCWO.js +2 -0
  10. package/dist/cdn/EZ5PKNLU.js +2 -0
  11. package/dist/cdn/HDTRW7I6.js +4 -0
  12. package/dist/cdn/{M3NML7ZV.js → IMJTIIHG.js} +1 -1
  13. package/dist/cdn/{CPBEDBQJ.js → JAYARGS3.js} +1 -1
  14. package/dist/cdn/LZTAD4IE.js +2 -0
  15. package/dist/cdn/{QSGVCMF2.js → OL5LAOD5.js} +1 -1
  16. package/dist/cdn/{QCNGBMWJ.js → PBENK36A.js} +1 -1
  17. package/dist/cdn/{PJTHEJG4.js → QCXOGAWW.js} +1 -1
  18. package/dist/cdn/{2K4FSWCI.js → R7A62RZ4.js} +1 -1
  19. package/dist/cdn/{QU25YPPX.js → ZZJHOJM5.js} +1 -1
  20. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  21. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  22. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
  23. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
  24. package/dist/cdn/index.js +1 -1
  25. package/dist/chunks/solution-builder-assistant.js +3 -3
  26. package/dist/chunks/updateDesign.js +1 -1
  27. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +6 -0
  28. package/dist/components/arcgis-solutions-assistant/customElement.js +81 -67
  29. package/dist/components/create-feature/customElement.js +101 -74
  30. package/dist/components/crowdsource-reporter/customElement.d.ts +6 -2
  31. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  32. package/dist/components/solutions-deploy-app/customElement.d.ts +8 -0
  33. package/dist/components/solutions-deploy-app/customElement.js +19 -19
  34. package/dist/docs/api.json +1 -1
  35. package/dist/docs/docs.json +1 -1
  36. package/dist/docs/web-types.json +1 -1
  37. package/dist/solutions-components_commit.txt +6 -6
  38. package/package.json +1 -1
  39. package/dist/cdn/6Y47Z4QA.js +0 -4
  40. package/dist/cdn/GYTMAAVH.js +0 -2
  41. package/dist/cdn/ON244IGD.js +0 -2
  42. package/dist/cdn/OVKPT3QA.js +0 -2
  43. package/dist/cdn/WFWEWVGR.js +0 -2
  44. package/dist/cdn/WUKFT5AY.js +0 -4
@@ -10,7 +10,7 @@ import { createRef as o, ref as a } from "lit-html/directives/ref.js";
10
10
  import { C as y } from "../../chunks/CardsFetcher.js";
11
11
  import { g as O } from "../../chunks/cardFetchingUtils.js";
12
12
  import { useContextProvider as b } from "@arcgis/lumina/context";
13
- import { c as F, b as L, i as $ } from "../../chunks/deployAppContexts.js";
13
+ import { c as F, b as $, i as L } from "../../chunks/deployAppContexts.js";
14
14
  import { t as M } from "../../chunks/solution-builder-assistant.js";
15
15
  import { h as k, a as E } from "../../chunks/cardsHelpers.js";
16
16
  import "@esri/solution-common";
@@ -677,7 +677,7 @@ const R = S`.back-color-override{background-color:var(--calcite-color-surface-3)
677
677
  };
678
678
  class V extends w {
679
679
  constructor() {
680
- super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.loadExampleBuilderData = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._isViewportMobile = window.innerWidth <= 800, this._isAssistantOpen = !1, this._builderVisible = !1, this._hasActiveBuilderDesign = !1, this._showFabTooltip = !0, this._fabTooltipDismissed = !1, this._activeTab = "all-solutions", this._activeResourcesMenuItem = "getStarted", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations = T({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${D}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = b({ context: F }), this._delay = !1, this._deployAppNav = o(), this._deployedCardPanel = o(), this._deployCardFetchFailedMessage = "", this._deployedCardTab = o(), this._deployedCardTabTitle = o(), this._detailsShell = o(), this._detailsTab = o(), this._detailsTabTitle = o(), this._forceInit = !1, this._getSuggested = !1, this._tabpanelsFixed = !1, this._solutionBuilderPanel = o(), this._builderDesignContextProvider = b({ context: L }), this._isMobileContextProvider = b({ context: $ }), this._handleWindowResize = () => {
680
+ super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.loadExampleBuilderData = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._isViewportMobile = window.innerWidth <= 800, this._isAssistantOpen = !1, this._builderVisible = !1, this._hasActiveBuilderDesign = !1, this._showFabTooltip = !0, this._fabTooltipDismissed = !1, this._activeTab = "all-solutions", this._activeResourcesMenuItem = "getStarted", this._showDeployedCardFetchFailed = !1, this._globalAlerts = [], this._translations = T({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${D}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = b({ context: F }), this._delay = !1, this._deployAppNav = o(), this._deployedCardPanel = o(), this._deployCardFetchFailedMessage = "", this._deployedCardTab = o(), this._deployedCardTabTitle = o(), this._detailsShell = o(), this._detailsTab = o(), this._detailsTabTitle = o(), this._forceInit = !1, this._getSuggested = !1, this._tabpanelsFixed = !1, this._solutionBuilderPanel = o(), this._builderDesignContextProvider = b({ context: $ }), this._isMobileContextProvider = b({ context: L }), this._handleWindowResize = () => {
681
681
  const e = window.innerWidth <= 800;
682
682
  this._isViewportMobile !== e && (this._isViewportMobile = e, e && (this._isAssistantOpen = !1, this._builderVisible = !1));
683
683
  }, this._mainContentRef = o(), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._resourcesShell = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new m(), this.deployAppTabSelected = c(), this.deployedCardFetchFailed = c(), this.detailsCardSelected = c(), this.deployedCardSelected = c(), this.metaTagStringsReady = c(), this.sessionRefreshed = c(), this.tabChanged = c(), this.listenOn(window, "detailsCardSelected", this._detailsCardSelected), this.listenOn(window, "deployedCardSelected", this._deployedCardSelected), this.listenOn(window, "displayDeployedCard", this._handleDeployedCardDisplay), this.listenOn(window, "navTabSelected", this._setActiveTab), this.listenOn(window, "forceSelectTab", (e) => this.selectTab(e.detail, {})), this.listenOn(window, "showGlobalAlert", this._handleShowGlobalAlert), this.listenOn(window, "openAssistant", () => {
@@ -742,7 +742,7 @@ class V extends w {
742
742
  if (this.authentication?.IsSignedIn) {
743
743
  if (this._forceInit = !0, this._isLoaded = !1, this._cardFetcherDeployed && await this._getDeployedSolution(e.tabTitleOrId), this._deployedSolutions?.cards?.length > 0) {
744
744
  let s;
745
- this._deployedSolutions.cards.some((l) => l.id === e.tabTitleOrId ? (s = l, this.deployedCardSelected.emit({ card: s }), !0) : !1), this._isLoaded = !0, this._forceInit = !1;
745
+ this._deployedSolutions.cards.some((n) => n.id === e.tabTitleOrId ? (s = n, this.deployedCardSelected.emit({ card: s }), !0) : !1), this._isLoaded = !0, this._forceInit = !1;
746
746
  } else
747
747
  return this._isLoaded = !0, this._forceInit = !1, this.selectTab({ tabTitleOrId: "", tabType: "deployments" }, t);
748
748
  break;
@@ -811,7 +811,7 @@ class V extends w {
811
811
  const e = this._isLoaded ? "display-none" : "", t = this._isLoaded ? "" : "display-none";
812
812
  return d`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${a(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen ? " assistant-open" : ""}`} ${a(this._mainContentRef)}>${this._isSearchToolbarShowing() && d`<div class="border"></div>` || ""}${this._activeTab !== "resources" && d`<solutions-searchsort-toolbar ${a(async (i) => {
813
813
  i && (await this._deployAppNav.value?.componentOnReady(), this._searchSortToolbar = i);
814
- })}></solutions-searchsort-toolbar>` || ""}${this._activeTab === "resources" && d`<div class="border"></div><div class="resources-menu-container"><calcite-menu label="Resources Navigation" class="resources-menu-toolbar"><calcite-menu-item .active=${this._activeResourcesMenuItem === "getStarted" || void 0} label="Get Started" text="Get Started" @click=${() => this._handleResourcesMenuClick("getStarted")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "documentation" || void 0} label=Documentation text=Documentation @click=${() => this._handleResourcesMenuClick("documentation")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "support" || void 0} label=Support text=Support @click=${() => this._handleResourcesMenuClick("support")}></calcite-menu-item></calcite-menu></div>` || ""}<calcite-loader class=${_(e)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${_(t)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell class="height-100" ${a(this._resourcesShell)}></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${a(this._detailsTab)}><solution-details-panel class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise && d`<div class=${`builder-panel${this._builderVisible && !this._isViewportMobile ? "" : " display-none"}`}><solution-builder-assistant class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._solutionBuilderPanel)}></solution-builder-assistant></div><div class=${`assistant-panel${this._isAssistantOpen && !this._isViewportMobile ? "" : " display-none"}`}><arcgis-solutions-assistant class="height-100" .builderVisible=${this._builderVisible} .hasActiveBuilderDesign=${this._hasActiveBuilderDesign}></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip ?? C} class=${`assistant-fab${this._isAssistantOpen || this._isViewportMobile ? " display-none" : ""}`} icon=effects id=assistant-fab-button @click=${() => {
814
+ })}></solutions-searchsort-toolbar>` || ""}${this._activeTab === "resources" && d`<div class="border"></div><div class="resources-menu-container"><calcite-menu .label=${this._translations.resourcesNavigationMenuLabel} class="resources-menu-toolbar"><calcite-menu-item .active=${this._activeResourcesMenuItem === "getStarted" || void 0} .label=${this._translations.resourcesGetStarted} .text=${this._translations.resourcesGetStarted} @click=${() => this._handleResourcesMenuClick("getStarted")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "documentation" || void 0} .label=${this._translations.resourcesDocumentation} .text=${this._translations.resourcesDocumentation} @click=${() => this._handleResourcesMenuClick("documentation")}></calcite-menu-item><calcite-menu-item .active=${this._activeResourcesMenuItem === "support" || void 0} .label=${this._translations.resourcesSupport} .text=${this._translations.resourcesSupport} @click=${() => this._handleResourcesMenuClick("support")}></calcite-menu-item></calcite-menu></div>` || ""}<calcite-loader class=${_(e)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${_(t)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell class="height-100" ${a(this._resourcesShell)}></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${a(this._detailsTab)}><solution-details-panel class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise && d`<div class=${`builder-panel${this._builderVisible && !this._isViewportMobile ? "" : " display-none"}`}><solution-builder-assistant class="height-100" .readOnlyNotice=${this._readOnlyNotice} ${a(this._solutionBuilderPanel)}></solution-builder-assistant></div><div class=${`assistant-panel${this._isAssistantOpen && !this._isViewportMobile ? "" : " display-none"}`}><arcgis-solutions-assistant class="height-100" .builderVisible=${this._builderVisible} .hasActiveBuilderDesign=${this._hasActiveBuilderDesign}></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip ?? C} class=${`assistant-fab${this._isAssistantOpen || this._isViewportMobile ? " display-none" : ""}`} icon=effects id=assistant-fab-button @click=${() => {
815
815
  this._openAssistant(), this._fabTooltipDismissed = !0, this._showFabTooltip = !1;
816
816
  }} scale=l></calcite-fab>${!this._fabTooltipDismissed && d`<calcite-popover closable class=${`assistant-fab-popover${this._isAssistantOpen || this._isViewportMobile ? " display-none" : ""}`} .label=${this._translations.assistantFabTooltip} overlay-positioning=fixed @calcitePopoverClose=${() => {
817
817
  this._fabTooltipDismissed = !0, this._showFabTooltip = !1;
@@ -876,13 +876,13 @@ class V extends w {
876
876
  if (!((e === "details" || e === "deployed-card") && !t) && i) {
877
877
  const s = [];
878
878
  if ((e === "details" || e === "deployed-card") && t) {
879
- const n = t;
880
- s.push(n.title || ""), s.push(n.deployCommonId || ""), s.push(n.deployVersion || ""), s.push(""), s.push(P(n.typeKeywords));
879
+ const l = t;
880
+ s.push(l.title || ""), s.push(l.deployCommonId || ""), s.push(l.deployVersion || ""), s.push(""), s.push(P(l.typeKeywords));
881
881
  }
882
- const l = e === "deployed-card" ? "Open" : "View";
882
+ const n = e === "deployed-card" ? "Open" : "View";
883
883
  this._telemetry?.logEvent({
884
884
  category: i,
885
- action: l,
885
+ action: n,
886
886
  dimensions: s.length > 0 ? s : void 0
887
887
  });
888
888
  }
@@ -982,11 +982,11 @@ class V extends w {
982
982
  this._abortControllerDeployed ? (this._abortControllerDeployed.abort(), this._abortControllerDeployed = new AbortController()) : this._abortControllerDeployed = new AbortController();
983
983
  const s = A(t);
984
984
  try {
985
- const l = await O(t, i, this._cardsFetcher, this._cardFetcherDeployed, x, "created", "desc", !1, [], [], this._abortControllerDeployed.signal, s ? "My organization's solutions" : "My solutions", e);
986
- l.cards.length === 0 || l.cards[0].typeKeywords.indexOf("Deployed") < 0 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchNotSolution.replace("{{ITEMID}}", e), this._showDeployedCardFetchFailed = !0) : this._deployedSolutions = l;
987
- } catch (l) {
988
- const n = l.message;
989
- n.indexOf("CONT_0001") > -1 || n.indexOf("Item does not exist or is inaccessible.") > -1 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchWrongId.replace("{{ITEMID}}", e), this._showDeployedCardFetchFailed = !0) : n.indexOf("GWM_0003") > -1 || n.indexOf("You do not have permissions to access this resource or perform this operation.") > -1 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchWrongPermissions.replace("{{ITEMID}}", e), this._showDeployedCardFetchFailed = !0) : (this._showDeployedCardFetchFailed = !0, this._deployCardFetchFailedMessage = ""), console.warn(l);
985
+ const n = await O(t, i, this._cardsFetcher, this._cardFetcherDeployed, x, "created", "desc", !1, [], [], this._abortControllerDeployed.signal, s ? "My organization's solutions" : "My solutions", e);
986
+ n.cards.length === 0 || n.cards[0].typeKeywords.indexOf("Deployed") < 0 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchNotSolution.replace("{{ITEMID}}", e), this._showDeployedCardFetchFailed = !0) : this._deployedSolutions = n;
987
+ } catch (n) {
988
+ const l = n.message;
989
+ l.indexOf("CONT_0001") > -1 || l.indexOf("Item does not exist or is inaccessible.") > -1 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchWrongId.replace("{{ITEMID}}", e), this._showDeployedCardFetchFailed = !0) : l.indexOf("GWM_0003") > -1 || l.indexOf("You do not have permissions to access this resource or perform this operation.") > -1 ? (this._deployCardFetchFailedMessage = this._translations.failedToFetchWrongPermissions.replace("{{ITEMID}}", e), this._showDeployedCardFetchFailed = !0) : (this._showDeployedCardFetchFailed = !0, this._deployCardFetchFailedMessage = ""), console.warn(n);
990
990
  }
991
991
  }
992
992
  }
@@ -999,12 +999,12 @@ class V extends w {
999
999
  _getDefaultSearchOptions(e) {
1000
1000
  let t;
1001
1001
  if (e) {
1002
- const i = e.domain, s = e.industry === "AEC" ? I.AEC : e.industry, l = e.offerType, n = e.searchTerm, g = "";
1002
+ const i = e.domain, s = e.industry === "AEC" ? I.AEC : e.industry, n = e.offerType, l = e.searchTerm, g = "";
1003
1003
  let r = e.sortField;
1004
1004
  const p = e.owner, u = e.filter;
1005
1005
  r === "suggested" && !this.authentication?.IsSignedIn && (r = this.sortType), t = i || s ? {
1006
1006
  type: i ? "domain" : s ? "industry" : ""
1007
- } : void 0, i && (t = t ? { ...t, domain: i } : { domain: i }), s && (t = t ? { ...t, industry: s } : { industry: s }), n && (t = t ? { ...t, searchTerm: n } : { searchTerm: n }), t && (t = { ...t, displayValue: g }), r && (t = t ? { ...t, sortType: r } : { sortType: r }), l && (r = l.toLowerCase(), t = t ? { ...t, sortType: r } : { sortType: r }), p && (t = t ? { ...t, owner: p } : { owner: p }), u && (t = t ? { ...t, filter: u } : { filter: u });
1007
+ } : void 0, i && (t = t ? { ...t, domain: i } : { domain: i }), s && (t = t ? { ...t, industry: s } : { industry: s }), l && (t = t ? { ...t, searchTerm: l } : { searchTerm: l }), t && (t = { ...t, displayValue: g }), r && (t = t ? { ...t, sortType: r } : { sortType: r }), n && (r = n.toLowerCase(), t = t ? { ...t, sortType: r } : { sortType: r }), p && (t = t ? { ...t, owner: p } : { owner: p }), u && (t = t ? { ...t, filter: u } : { filter: u });
1008
1008
  }
1009
1009
  return t;
1010
1010
  }
@@ -1017,14 +1017,14 @@ class V extends w {
1017
1017
  _setRefreshInterval() {
1018
1018
  const { userSession: e, authentication: t } = this._configContextProvider.value;
1019
1019
  if (e && e.tokenDuration && t?.IsSignedIn) {
1020
- const i = Date.now(), l = (t.Credential?.expires - i) * 0.95;
1020
+ const i = Date.now(), n = (t.Credential?.expires - i) * 0.95;
1021
1021
  setInterval(async () => {
1022
1022
  if (t.Credential && t.Credential.expires) {
1023
1023
  await t.Credential?.refreshToken();
1024
- const n = new Date(t.Credential.expires);
1025
- e.updateToken(t.Credential.token, n), this.sessionRefreshed.emit(e.token);
1024
+ const l = new Date(t.Credential.expires);
1025
+ e.updateToken(t.Credential.token, l), this.sessionRefreshed.emit(e.token);
1026
1026
  }
1027
- }, l);
1027
+ }, n);
1028
1028
  }
1029
1029
  }
1030
1030
  }