@esri/solutions-components 5.1.0-next.20 → 5.1.0-next.21

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 (110) hide show
  1. package/dist/cdn/27JLIL6T.js +2 -0
  2. package/dist/cdn/2B6VLP3A.js +2 -0
  3. package/dist/cdn/{6DLDJH6I.js → 4DFGN2VE.js} +1 -1
  4. package/dist/cdn/{P5Q3LVYT.js → 4GZBBPZQ.js} +1 -1
  5. package/dist/cdn/5PUFVAJH.js +2 -0
  6. package/dist/cdn/{A5STEAY7.js → 6NE73ZT3.js} +1 -1
  7. package/dist/cdn/{AC3MHBPK.js → 7SLUGAMA.js} +1 -1
  8. package/dist/cdn/{FV7G3BY6.js → ACF2RXCB.js} +1 -1
  9. package/dist/cdn/ALB3HUJ2.js +2 -0
  10. package/dist/cdn/{Z6H6J4QH.js → ASTBVDA3.js} +1 -1
  11. package/dist/cdn/{BT2W7DVK.js → BPSXSDMN.js} +1 -1
  12. package/dist/cdn/{NOOFAZCT.js → CWEEG5MA.js} +1 -1
  13. package/dist/cdn/DJFFGBHM.js +2 -0
  14. package/dist/cdn/{673T7ZBJ.js → EBU4JF4W.js} +1 -1
  15. package/dist/cdn/EC6NYTSJ.js +2 -0
  16. package/dist/cdn/EDVUYJ5Q.js +2 -0
  17. package/dist/cdn/EIVJQY2S.js +2 -0
  18. package/dist/cdn/{4GHX4MVD.js → F7DLM4RF.js} +1 -1
  19. package/dist/cdn/{M4OPXH3T.js → FRWN4Q5V.js} +1 -1
  20. package/dist/cdn/G5MDCRT6.js +2 -0
  21. package/dist/cdn/{IORIFDK6.js → GJFVHF5H.js} +1 -1
  22. package/dist/cdn/{3ME5BVUE.js → GN6MDWLZ.js} +1 -1
  23. package/dist/cdn/GTD4LCLX.js +2 -0
  24. package/dist/cdn/HGEF25RL.js +2 -0
  25. package/dist/cdn/{5FKEDJRU.js → I5PBBAVM.js} +1 -1
  26. package/dist/cdn/{GTKRTZK6.js → IMPGTDMV.js} +1 -1
  27. package/dist/cdn/{UME5GDA2.js → ITULTY6G.js} +1 -1
  28. package/dist/cdn/JCDM3IJE.js +2 -0
  29. package/dist/cdn/KRFYU445.js +2 -0
  30. package/dist/cdn/N2KU5PYY.js +2 -0
  31. package/dist/cdn/NDGFJPG7.js +2 -0
  32. package/dist/cdn/NNCQFR7K.js +2 -0
  33. package/dist/cdn/NYUVCFEV.js +2 -0
  34. package/dist/cdn/{IUPEGG4M.js → OMIISLTG.js} +1 -1
  35. package/dist/cdn/OMURSGFL.js +2 -0
  36. package/dist/cdn/{BK3QFV3M.js → P65BBQ5T.js} +1 -1
  37. package/dist/cdn/{AGC6ZWMH.js → POE2XE6Y.js} +1 -1
  38. package/dist/cdn/{GGBXY3NT.js → PUCQJ7PY.js} +1 -1
  39. package/dist/cdn/QNNQGJS4.js +2 -0
  40. package/dist/cdn/QZ3GHISD.js +2 -0
  41. package/dist/cdn/R3KUBISH.js +2 -0
  42. package/dist/cdn/RF7NG5JX.js +2 -0
  43. package/dist/cdn/{EJRSL3ID.js → RTG3SBDS.js} +1 -1
  44. package/dist/cdn/{4L3MVJ5S.js → STEJOS7Q.js} +1 -1
  45. package/dist/cdn/U4MNIZYO.js +2 -0
  46. package/dist/cdn/UQ3MLIHV.js +21 -0
  47. package/dist/cdn/UY2AFOXQ.js +2 -0
  48. package/dist/cdn/{LI4CAGAZ.js → UYYMXFYQ.js} +1 -1
  49. package/dist/cdn/{3JF5JLS4.js → V3S3BZEP.js} +1 -1
  50. package/dist/cdn/{66Q5IRVS.js → V5PIAPEA.js} +1 -1
  51. package/dist/cdn/{DMRQFYLJ.js → VLZNUN6G.js} +12 -12
  52. package/dist/cdn/{C44FH5Z2.js → ZCGIQK3H.js} +1 -1
  53. package/dist/cdn/index.js +1 -1
  54. package/dist/chunks/helpers.js +1 -1
  55. package/dist/chunks/solution-deploy-dialog.js +1 -1
  56. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  57. package/dist/components/crowdsource-manager/customElement.js +3 -3
  58. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  59. package/dist/components/edit-card/customElement.js +4 -4
  60. package/dist/components/feature-details/customElement.js +1 -1
  61. package/dist/components/feature-list/customElement.js +1 -1
  62. package/dist/components/info-card/customElement.js +1 -1
  63. package/dist/components/layer-table/customElement.js +1 -1
  64. package/dist/components/map-picker/customElement.js +1 -1
  65. package/dist/components/public-notification/customElement.js +1 -1
  66. package/dist/components/refine-selection/customElement.js +1 -1
  67. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  68. package/dist/components/solution-deployed-card-panel/customElement.js +8 -8
  69. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  70. package/dist/components/solution-details-panel/customElement.js +1 -1
  71. package/dist/components/solution-item-diagram/customElement.js +1 -1
  72. package/dist/components/solution-snapshot-gallery/customElement.js +7 -7
  73. package/dist/components/solution-social-share/customElement.js +35 -35
  74. package/dist/components/solutions-all-panel/customElement.js +1 -1
  75. package/dist/components/solutions-all-shell/customElement.js +1 -1
  76. package/dist/components/solutions-deploy-app/customElement.js +4 -4
  77. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  78. package/dist/components/solutions-deployed-shell/customElement.js +5 -5
  79. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  80. package/dist/components/solutions-resources-shell/customElement.js +38 -38
  81. package/dist/docs/api.json +1 -1
  82. package/dist/docs/docs.json +1 -1
  83. package/dist/docs/web-types.json +1 -1
  84. package/dist/solutions-components_commit.txt +7 -7
  85. package/package.json +1 -1
  86. package/dist/cdn/2WPJOTMI.js +0 -2
  87. package/dist/cdn/2XQOWXMT.js +0 -2
  88. package/dist/cdn/3SYLXG32.js +0 -2
  89. package/dist/cdn/3WO3DS32.js +0 -2
  90. package/dist/cdn/5GIHSPJZ.js +0 -2
  91. package/dist/cdn/74557KPJ.js +0 -2
  92. package/dist/cdn/A2LNKTGU.js +0 -2
  93. package/dist/cdn/AF2YWYJQ.js +0 -2
  94. package/dist/cdn/AT2EES2R.js +0 -21
  95. package/dist/cdn/DQV46RIT.js +0 -2
  96. package/dist/cdn/J5VTBFGR.js +0 -2
  97. package/dist/cdn/K5VEUOS3.js +0 -2
  98. package/dist/cdn/KKYXQLBJ.js +0 -2
  99. package/dist/cdn/KZDTATOG.js +0 -2
  100. package/dist/cdn/LO5Q55JH.js +0 -2
  101. package/dist/cdn/NIUMAAOQ.js +0 -2
  102. package/dist/cdn/OYQYXNHJ.js +0 -2
  103. package/dist/cdn/PKRYRZL7.js +0 -2
  104. package/dist/cdn/RKMY6VWP.js +0 -2
  105. package/dist/cdn/ULXATJK5.js +0 -2
  106. package/dist/cdn/VJEG4LOG.js +0 -2
  107. package/dist/cdn/VJYMTG4U.js +0 -2
  108. package/dist/cdn/WUCVRGH6.js +0 -2
  109. package/dist/cdn/XKDPK7SD.js +0 -2
  110. package/dist/cdn/Y6I6QW4M.js +0 -2
@@ -9,7 +9,7 @@ import { T as w, K as y } from "../../chunks/helpers.js";
9
9
  import { createRef as n, ref as r } from "lit-html/directives/ref.js";
10
10
  import * as $ from "@arcgis/core/intl";
11
11
  import k from "@arcgis/core/request";
12
- const R = v`:host{display:block;--solutions-social-share-action-width: initial;--solutions-social-share-width--s: 200px;--solutions-social-share-width--m: 280px;--solutions-social-share-width--l: 320px;--solutions-social-share-width-horizontal--s: 300px;--solutions-social-share-width-horizontal--m: 380px;--solutions-social-share-width-horizontal--l: 420px;--solutions-social-share-background-color: var(--calcite-color-foreground-1);--solutions-social-share-popover-button-background-color: transparent;--solutions-social-share-popover-button-icon-color: var(--calcite-ui-icon-color);--solutions-social-share-border: 1px solid var(--calcite-color-border-1);position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-flow:column;align-items:stretch}.solutions-social-share__popover-button{background-color:var(--solutions-social-share-popover-button-background-color);--calcite-color-focus: initial}.solutions-social-share__popover-button calcite-icon{color:var(--solutions-social-share-popover-button-icon-color)}.solutions-social-share__dialog{background-color:var(--solutions-social-share-background-color);border:var(--solutions-social-share-border);box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}.solutions-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}.solutions-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}.solutions-social-share__options li .solutions-social-share__icon,.solutions-social-share__options li .solutions-social-share__option-text{display:inline-block}.solutions-social-share__options li .solutions-social-share__icon{display:flex;align-items:center}.solutions-social-share__options li .solutions-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}.solutions-social-share__options li .solutions-social-share__option-text--rtl{margin-left:0;margin-right:10px}.solutions-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}.solutions-social-share__options li:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.solutions-social-share__x-logo{color:var(--calcite-color-text-1)}.solutions-social-share__success{display:flex;flex-direction:column;padding:15px}.solutions-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}.solutions-social-share__success-icon{display:flex;align-items:center;margin-right:5px}.solutions-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}.solutions-social-share__success-message{line-height:16px}.solutions-social-share__layout--horizontal .solutions-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}.solutions-social-share__layout--horizontal .solutions-social-share__options li{flex-direction:column;padding:0}.solutions-social-share__layout--horizontal .solutions-social-share__options li .solutions-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}.solutions-social-share__layout--horizontal .solutions-social-share__options li:hover{background-color:unset}.solutions-social-share__icon-container{display:flex;align-items:center}calcite-action{width:var(--solutions-social-share-action-width)}:host([scale=s]) .solutions-social-share__dialog{width:var(--solutions-social-share-width--s)}:host([scale=s]) .solutions-social-share__icon{width:16px;height:16px}:host([scale=s]) .solutions-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .solutions-social-share__dialog.solutions-social-share__layout--horizontal{width:var(--solutions-social-share-width-horizontal--s)}:host([scale=m]) .solutions-social-share__dialog{width:var(--solutions-social-share-width--m)}:host([scale=m]) .solutions-social-share__icon{width:24px;height:24px}:host([scale=m]) .solutions-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .solutions-social-share__dialog.solutions-social-share__layout--horizontal{width:var(--solutions-social-share-width-horizontal--m)}:host([scale=l]) .solutions-social-share__dialog{width:var(--solutions-social-share-width--l)}:host([scale=l]) .solutions-social-share__icon{width:32px;height:32px}:host([scale=l]) .solutions-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .solutions-social-share__dialog.solutions-social-share__layout--horizontal{width:var(--solutions-social-share-width-horizontal--l)}`, L = ".calcite-mode-dark", S = {
12
+ const R = v`:host{display:block;--solutions-social-share-action-width: initial;--solutions-social-share-width--s: 200px;--solutions-social-share-width--m: 280px;--solutions-social-share-width--l: 320px;--solutions-social-share-width-horizontal--s: 300px;--solutions-social-share-width-horizontal--m: 380px;--solutions-social-share-width-horizontal--l: 420px;--solutions-social-share-background-color: var(--calcite-color-surface-2);--solutions-social-share-popover-button-background-color: transparent;--solutions-social-share-popover-button-icon-color: var(--calcite-ui-icon-color);--solutions-social-share-border: 1px solid var(--calcite-color-border-1);position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-flow:column;align-items:stretch}.solutions-social-share__popover-button{background-color:var(--solutions-social-share-popover-button-background-color);--calcite-color-focus: initial}.solutions-social-share__popover-button calcite-icon{color:var(--solutions-social-share-popover-button-icon-color)}.solutions-social-share__dialog{background-color:var(--solutions-social-share-background-color);border:var(--solutions-social-share-border);box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}.solutions-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}.solutions-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}.solutions-social-share__options li .solutions-social-share__icon,.solutions-social-share__options li .solutions-social-share__option-text{display:inline-block}.solutions-social-share__options li .solutions-social-share__icon{display:flex;align-items:center}.solutions-social-share__options li .solutions-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}.solutions-social-share__options li .solutions-social-share__option-text--rtl{margin-left:0;margin-right:10px}.solutions-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-surface-3)}.solutions-social-share__options li:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.solutions-social-share__x-logo{color:var(--calcite-color-text-1)}.solutions-social-share__success{display:flex;flex-direction:column;padding:15px}.solutions-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}.solutions-social-share__success-icon{display:flex;align-items:center;margin-right:5px}.solutions-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}.solutions-social-share__success-message{line-height:16px}.solutions-social-share__layout--horizontal .solutions-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}.solutions-social-share__layout--horizontal .solutions-social-share__options li{flex-direction:column;padding:0}.solutions-social-share__layout--horizontal .solutions-social-share__options li .solutions-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}.solutions-social-share__layout--horizontal .solutions-social-share__options li:hover{background-color:unset}.solutions-social-share__icon-container{display:flex;align-items:center}calcite-action{width:var(--solutions-social-share-action-width)}:host([scale=s]) .solutions-social-share__dialog{width:var(--solutions-social-share-width--s)}:host([scale=s]) .solutions-social-share__icon{width:16px;height:16px}:host([scale=s]) .solutions-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .solutions-social-share__dialog.solutions-social-share__layout--horizontal{width:var(--solutions-social-share-width-horizontal--s)}:host([scale=m]) .solutions-social-share__dialog{width:var(--solutions-social-share-width--m)}:host([scale=m]) .solutions-social-share__icon{width:24px;height:24px}:host([scale=m]) .solutions-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .solutions-social-share__dialog.solutions-social-share__layout--horizontal{width:var(--solutions-social-share-width-horizontal--m)}:host([scale=l]) .solutions-social-share__dialog{width:var(--solutions-social-share-width--l)}:host([scale=l]) .solutions-social-share__icon{width:32px;height:32px}:host([scale=l]) .solutions-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .solutions-social-share__dialog.solutions-social-share__layout--horizontal{width:var(--solutions-social-share-width-horizontal--l)}`, L = ".calcite-mode-dark", S = {
13
13
  facebook: "https://www.facebook.com/sharer/sharer.php?u={url}",
14
14
  x: "https://x.com/intent/post?url={url}",
15
15
  linkedIn: "https://www.linkedin.com/sharing/share-offsite/?url={url}",
@@ -39,7 +39,7 @@ class P extends m {
39
39
  }), this.listenOn(this._popoverRef.value, "keydown", this._handlePopoverRefKeyDown));
40
40
  }
41
41
  render() {
42
- const o = this._copied && this.mode === "popover" ? this._renderSuccess() : e`<div class=solutions-social-share__dialog-content>${this._renderOptions()}</div>`, s = this.shareIconsLayout === "vertical" ? " solutions-social-share__layout--vertical" : " solutions-social-share__layout--horizontal", t = ` calcite-mode-${this.el.closest(L) ? "dark" : "light"}`, i = e`<div class=${`solutions-social-share__dialog${s}${t}`} ${r(this._dialogContentRef)}>${o}</div>`, a = this.removePopoverOffset ? 0 : 6;
42
+ const s = this._copied && this.mode === "popover" ? this._renderSuccess() : e`<div class=solutions-social-share__dialog-content>${this._renderOptions()}</div>`, o = this.shareIconsLayout === "vertical" ? " solutions-social-share__layout--vertical" : " solutions-social-share__layout--horizontal", t = ` calcite-mode-${this.el.closest(L) ? "dark" : "light"}`, i = e`<div class=${`solutions-social-share__dialog${o}${t}`} ${r(this._dialogContentRef)}>${s}</div>`, a = this.removePopoverOffset ? 0 : 6;
43
43
  return this.mode === "popover" ? [
44
44
  e`<calcite-popover .label=${this._translations.share?.label ?? ""} reference-element=shareButton placement=bottom-start .scale=${this.scale} overlay-positioning=${this.popoverPositioning ?? h} offset-distance=${a ?? h} pointer-disabled=${this.removePopoverOffset ?? h} ${r(this._popoverRef)}>${i}</calcite-popover>`,
45
45
  this._renderButton()
@@ -51,19 +51,19 @@ class P extends m {
51
51
  _setupAutoCloseListeners() {
52
52
  this.listenOn(document.documentElement, "click", this._autoCloseCallback), this.mode === "popover" && this._popoverRef.value ? (this.listenOn(this._popoverRef.value, "click", this._stopPropagationCallback), this.listenOn(this._popoverRef.value, "calcitePopoverClose", this._resetPopoverCopyState)) : this._dialogContentRef.value && this.listenOn(this._dialogContentRef.value, "click", this._stopPropagationCallback);
53
53
  }
54
- _handlePopoverRefKeyDown(o) {
55
- if (o.code === "Tab") {
54
+ _handlePopoverRefKeyDown(s) {
55
+ if (s.code === "Tab") {
56
56
  if (!this._shareListRef.value)
57
57
  return;
58
- const s = o.target, t = this._shareListRef.value.children[0], i = this._shareListRef.value.children[this._shareListRef.value.children.length - 1];
59
- o.shiftKey && s === t ? (o.preventDefault(), i.focus()) : !o.shiftKey && s === i && (o.preventDefault(), t.focus());
60
- } else o.code === "Escape" && (this._closePopover(), this.shareButtonType === "button" ? this._popoverButtonRef.value?.setFocus() : this._popoverActionRef.value?.setFocus());
58
+ const o = s.target, t = this._shareListRef.value.children[0], i = this._shareListRef.value.children[this._shareListRef.value.children.length - 1];
59
+ s.shiftKey && o === t ? (s.preventDefault(), i.focus()) : !s.shiftKey && o === i && (s.preventDefault(), t.focus());
60
+ } else s.code === "Escape" && (this._closePopover(), this.shareButtonType === "button" ? this._popoverButtonRef.value?.setFocus() : this._popoverActionRef.value?.setFocus());
61
61
  }
62
62
  _autoCloseCallback() {
63
63
  this.mode === "popover" ? (this._opened = !1, this._popoverRef.value.open = this._opened) : (this._copyLinkPopoverRef.value && (this._copyLinkPopoverRef.value.open = !1), this._inlineCopyLinkOpened = !1);
64
64
  }
65
- _stopPropagationCallback(o) {
66
- o.stopPropagation();
65
+ _stopPropagationCallback(s) {
66
+ s.stopPropagation();
67
67
  }
68
68
  _resetPopoverCopyState() {
69
69
  this.shareButtonType === "button" ? this._popoverButtonRef.value?.setFocus() : this._popoverActionRef.value?.setFocus(), setTimeout(() => {
@@ -71,26 +71,26 @@ class P extends m {
71
71
  }, 200);
72
72
  }
73
73
  _renderButton() {
74
- const o = this.shareButtonScale != null ? this.shareButtonScale : this.scale;
75
- return this.shareButtonType === "button" ? e`<calcite-button .appearance=${this.buttonAppearance} class=solutions-social-share__popover-button id=shareButton .kind=${this.shareButtonKind} .label=${this._translations.share?.label} @click=${this._togglePopover.bind(this)} .scale=${o} title=${this._translations.share?.label ?? h} ${r(this._popoverButtonRef)}>${this.shareButtonText}</calcite-button>` : e`<calcite-action alignment=center .appearance=${this.actionApperance} class=solutions-social-share__popover-button id=shareButton .label=${this._translations.share?.label} @click=${this._togglePopover.bind(this)} .scale=${o} text title=${this._translations.share?.label ?? h} ${r(this._popoverActionRef)}><div class=solutions-social-share__icon-container><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div></calcite-action>`;
74
+ const s = this.shareButtonScale != null ? this.shareButtonScale : this.scale;
75
+ return this.shareButtonType === "button" ? e`<calcite-button .appearance=${this.buttonAppearance} class=solutions-social-share__popover-button id=shareButton .kind=${this.shareButtonKind} .label=${this._translations.share?.label} @click=${this._togglePopover.bind(this)} .scale=${s} title=${this._translations.share?.label ?? h} ${r(this._popoverButtonRef)}>${this.shareButtonText}</calcite-button>` : e`<calcite-action alignment=center .appearance=${this.actionApperance} class=solutions-social-share__popover-button id=shareButton .label=${this._translations.share?.label} @click=${this._togglePopover.bind(this)} .scale=${s} text title=${this._translations.share?.label ?? h} ${r(this._popoverActionRef)}><div class=solutions-social-share__icon-container><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div></calcite-action>`;
76
76
  }
77
77
  _renderSuccess() {
78
- const o = this._translations.success;
79
- return e`<div class=solutions-social-share__success><span class=solutions-social-share__success-header><span class=solutions-social-share__success-icon><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${o?.label}</span><span class=solutions-social-share__success-message>${this.successMessage || o?.url}</span></div>`;
78
+ const s = this._translations.success;
79
+ return e`<div class=solutions-social-share__success><span class=solutions-social-share__success-header><span class=solutions-social-share__success-icon><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${s?.label}</span><span class=solutions-social-share__success-message>${this.successMessage || s?.url}</span></div>`;
80
80
  }
81
81
  _renderOptions() {
82
- const o = this._translations.options, s = document.dir === "rtl" ? " solutions-social-share__option-text--rtl" : "";
83
- return e`<ul class=solutions-social-share__options role=menu ${r(this._shareListRef)}><li id=copyToClipboard @click=${this._handleShareItem.bind(this, "link")} @keydown=${this._handleOptionKeyDown("link")} role=menuitem tabindex=0><span class=solutions-social-share__icon><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`solutions-social-share__option-text${s}`}>${o?.link?.label}</span></li>${this.socialMedia ? [
84
- e`<li @click=${this._handleShareItem.bind(this, "facebook")} @keydown=${this._handleOptionKeyDown("facebook")} role=menuitem tabindex=0><span class=solutions-social-share__icon>${this._renderFacebookIcon()}</span><span class=${`solutions-social-share__option-text${s}`}>${o?.facebook?.label}</span></li>`,
85
- e`<li @click=${this._handleShareItem.bind(this, "x")} @keydown=${this._handleOptionKeyDown("x")} role=menuitem tabindex=0><span class=solutions-social-share__icon>${this._renderXIcon()}</span><span class=${`solutions-social-share__option-text${s}`}>\r\n X</span></li>`,
86
- e`<li @click=${this._handleShareItem.bind(this, "linkedIn")} @keydown=${this._handleOptionKeyDown("linkedIn")} role=menuitem tabindex=0><span class=solutions-social-share__icon>${this._renderLinkedInIcon()}</span><span class=${`solutions-social-share__option-text${s}`}>${o?.linkedIn?.label}</span></li>`,
87
- e`<li @click=${this._handleShareItem.bind(this, "bluesky")} @keydown=${this._handleOptionKeyDown("bluesky")} role=menuitem tabindex=0><span class=solutions-social-share__icon>${this._renderBlueSkyIcon()}</span><span class=${`solutions-social-share__option-text${s}`}>${o?.blueSky?.label}</span></li>`
82
+ const s = this._translations.options, o = document.dir === "rtl" ? " solutions-social-share__option-text--rtl" : "";
83
+ return e`<ul class=solutions-social-share__options role=menu ${r(this._shareListRef)}><li id=copyToClipboard @click=${this._handleShareItem.bind(this, "link")} @keydown=${this._handleOptionKeyDown("link")} role=menuitem tabindex=0><span class=solutions-social-share__icon><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`solutions-social-share__option-text${o}`}>${s?.link?.label}</span></li>${this.socialMedia ? [
84
+ e`<li @click=${this._handleShareItem.bind(this, "facebook")} @keydown=${this._handleOptionKeyDown("facebook")} role=menuitem tabindex=0><span class=solutions-social-share__icon>${this._renderFacebookIcon()}</span><span class=${`solutions-social-share__option-text${o}`}>${s?.facebook?.label}</span></li>`,
85
+ e`<li @click=${this._handleShareItem.bind(this, "x")} @keydown=${this._handleOptionKeyDown("x")} role=menuitem tabindex=0><span class=solutions-social-share__icon>${this._renderXIcon()}</span><span class=${`solutions-social-share__option-text${o}`}>\r\n X</span></li>`,
86
+ e`<li @click=${this._handleShareItem.bind(this, "linkedIn")} @keydown=${this._handleOptionKeyDown("linkedIn")} role=menuitem tabindex=0><span class=solutions-social-share__icon>${this._renderLinkedInIcon()}</span><span class=${`solutions-social-share__option-text${o}`}>${s?.linkedIn?.label}</span></li>`,
87
+ e`<li @click=${this._handleShareItem.bind(this, "bluesky")} @keydown=${this._handleOptionKeyDown("bluesky")} role=menuitem tabindex=0><span class=solutions-social-share__icon>${this._renderBlueSkyIcon()}</span><span class=${`solutions-social-share__option-text${o}`}>${s?.blueSky?.label}</span></li>`
88
88
  ] : null}</ul>`;
89
89
  }
90
- _handleOptionKeyDown(o) {
91
- return (s) => {
92
- const t = s.code;
93
- (t === "Space" || t === "Enter" || t === "NumpadEnter") && this._handleShareItem(o);
90
+ _handleOptionKeyDown(s) {
91
+ return (o) => {
92
+ const t = o.code;
93
+ (t === "Space" || t === "Enter" || t === "NumpadEnter") && this._handleShareItem(s);
94
94
  };
95
95
  }
96
96
  _renderFacebookIcon() {
@@ -105,13 +105,13 @@ class P extends m {
105
105
  _renderLinkedInIcon() {
106
106
  return e`<svg height=100% style=${l({ fillRule: "evenodd", clipRule: "evenodd", strokeLinejoin: "round", strokeMiterlimit: "2" })} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${p`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${l({ fill: "#2867b2" })} /><g id=shapes><rect height=257.962 id=rect11 style=${l({ fill: "#fff" })} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${l({ fill: "#fff", fillRule: "nonzero" })} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${l({ fill: "#fff", fillRule: "nonzero" })} /></g></g>`}</svg>`;
107
107
  }
108
- _togglePopover(o) {
109
- o.stopPropagation(), this._opened = !this._opened, this._popoverRef.value.open = this._opened;
108
+ _togglePopover(s) {
109
+ s.stopPropagation(), this._opened = !this._opened, this._popoverRef.value.open = this._opened;
110
110
  }
111
111
  _closePopover() {
112
112
  this._opened = !1, this._popoverRef.value.open = this._opened;
113
113
  }
114
- async _handleShareItem(o) {
114
+ async _handleShareItem(s) {
115
115
  this._telemetry?.logEvent({
116
116
  category: w.SOLUTION_DETAILS,
117
117
  action: "Share",
@@ -119,14 +119,14 @@ class P extends m {
119
119
  this.solutionTitle,
120
120
  this.solutionId,
121
121
  this.solutionVersion,
122
- y(o)
122
+ y(s)
123
123
  ]
124
124
  }), this.shareUrl = await this._generateShareUrl();
125
- let s = null;
125
+ let o = null;
126
126
  const t = navigator?.userAgent?.includes("Chrome") ?? !1, i = (navigator?.userAgent?.includes("Safari") ?? !1) && !t;
127
- !i && this.shortenShareUrl && (s = await this._shortenUrl(this.shareUrl));
128
- let c = s || this.shareUrl;
129
- switch (o) {
127
+ !i && this.shortenShareUrl && (o = await this._shortenUrl(this.shareUrl));
128
+ let c = o || this.shareUrl;
129
+ switch (s) {
130
130
  case "link":
131
131
  navigator.clipboard.writeText(c), this.mode === "inline" && (this._copyLinkPopoverRef.value.open = !0, setTimeout(() => this._copyLinkPopoverRef.value.open = !1, 3e3)), this._inlineCopyLinkOpened = !0, this._copied = !0, this.mode === "popover" && setTimeout(() => this._closePopover(), 2e3);
132
132
  return;
@@ -139,16 +139,16 @@ class P extends m {
139
139
  i && (a = window.open("", "_blank"), this.shortenShareUrl && (c = await this._shortenUrl(this.shareUrl) || c));
140
140
  const u = {
141
141
  url: encodeURI(c)
142
- }, _ = o === "x" ? { ...u, text: this.shareText } : u, d = $.substitute(S[o], _);
143
- this.mode === "popover" && this._closePopover(), i && a ? (a.location = d, a.focus()) : window.open(encodeURI(d), "_blank");
142
+ }, d = s === "x" ? { ...u, text: this.shareText } : u, _ = $.substitute(S[s], d);
143
+ this.mode === "popover" && this._closePopover(), i && a ? (a.location = _, a.focus()) : window.open(encodeURI(_), "_blank");
144
144
  }
145
145
  return;
146
146
  }
147
147
  }
148
- async _shortenUrl(o) {
148
+ async _shortenUrl(s) {
149
149
  const t = (await k(C, {
150
150
  query: {
151
- longUrl: o,
151
+ longUrl: s,
152
152
  f: "json"
153
153
  }
154
154
  }))?.data?.data?.url;
@@ -8,7 +8,7 @@ import { a as u, T as _, L as w, H as x, B as T, d as E, e as b } from "../../ch
8
8
  import { C as g, g as A } from "../../chunks/cardFetchingUtils.js";
9
9
  import { b as D } from "../../chunks/cardsHelpers.js";
10
10
  import { c as I } from "../../chunks/deployAppContexts.js";
11
- const L = f`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-md) var(--calcite-spacing-md)}solution-details-card{width:calc(25% - .6rem)}@media(max-width:1234px){solution-details-card{width:calc(33.333% - .6rem)}}@media(max-width:1010px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:800px){.card-group{padding-left:0;padding-right:0}solution-details-card{width:calc(33.33% - .6rem)}}@media(max-width:680px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:440px){solution-details-card{width:calc(100% - .75rem)}}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.margin-top-half{margin-top:.5rem}.margin-top-1{margin-top:1rem}.no-solutions-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%}`, m = 5;
11
+ const L = f`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-md) var(--calcite-spacing-md)}solution-details-card{width:calc(25% - .6rem)}@media(max-width:1234px){solution-details-card{width:calc(33.333% - .6rem)}}@media(max-width:1010px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:800px){.card-group{padding-left:0;padding-right:0}solution-details-card{width:calc(33.33% - .6rem)}}@media(max-width:680px){solution-details-card{width:calc(50% - .6rem)}}@media(max-width:440px){solution-details-card{width:calc(100% - .75rem)}}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.margin-top-half{margin-top:.5rem}.margin-top-1{margin-top:1rem}.no-solutions-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%}`, m = 5;
12
12
  class F extends S {
13
13
  constructor() {
14
14
  super(), this.sortType = "relevance", this._cards = [], this._isLoading = !0, this._modifiedCheckTry = 0, this._translations = C({ name: "solutions-all-panel", blocking: !0 }), this._agoTerms = `${u}`, this._allCards = [], this._baseAgoTerms = u, this._categories = [], this._configContextConsumer = v({
@@ -9,7 +9,7 @@ import { c as v, i as y } from "../../chunks/deployAppContexts.js";
9
9
  import { e as d, d as h, T as p } from "../../chunks/helpers.js";
10
10
  import { createRef as n, ref as a } from "lit/directives/ref.js";
11
11
  import "../solutions-filter-panel/customElement.js";
12
- const x = b`.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;font-weight:var(--calcite-font-weight-medium)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-sm)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.chips-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--calcite-spacing-xs);flex:1;padding-block:var(--calcite-spacing-xs)}.header-content-wrapper{min-height:50px;flex-wrap:wrap;gap:var(--calcite-spacing-xs);padding-inline-start:var(--calcite-spacing-lg);padding-top:8px}.position-relative{position:relative}.height-100{height:100%}.border-none{border:none}.height-50{height:50px}.chip-group{max-width:100%}.chip-group{display:flex;flex-wrap:wrap}.responsive-chip{max-width:100%}.responsive-chip .chip-text{display:inline-flex;align-items:center;line-height:1;max-width:100%}@media(max-width:800px){.responsive-chip{max-width:100%;min-width:0}.responsive-chip .chip-text{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.mobile-stack{flex-direction:column;align-items:flex-start;padding-top:var(--calcite-spacing-md)}`;
12
+ const x = b`.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;font-weight:var(--calcite-font-weight-medium)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-sm)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-surface-4);--calcite-panel-background-color: var(--calcite-color-surface-4)}.chips-container{display:flex;flex-wrap:wrap;align-items:center;gap:var(--calcite-spacing-xs);flex:1;padding-block:var(--calcite-spacing-xs)}.header-content-wrapper{min-height:50px;flex-wrap:wrap;gap:var(--calcite-spacing-xs);padding-inline-start:var(--calcite-spacing-lg);padding-top:8px}.position-relative{position:relative}.height-100{height:100%}.border-none{border:none}.height-50{height:50px}.chip-group{max-width:100%}.chip-group{display:flex;flex-wrap:wrap}.responsive-chip{max-width:100%}.responsive-chip .chip-text{display:inline-flex;align-items:center;line-height:1;max-width:100%}@media(max-width:800px){.responsive-chip{max-width:100%;min-width:0}.responsive-chip .chip-text{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.mobile-stack{flex-direction:column;align-items:flex-start;padding-top:var(--calcite-spacing-md)}`;
13
13
  class w extends _ {
14
14
  constructor() {
15
15
  super(), this.solutionsCount = 0, this._isLoading = !0, this._filterOpen = !0, this._filters = {
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as g } from "../../chunks/runtime.js";
3
- import { css as f, html as b } from "lit";
2
+ import { c as f } from "../../chunks/runtime.js";
3
+ import { css as g, html as b } from "lit";
4
4
  import { u as v } from "../../chunks/useT9n.js";
5
5
  import { LitElement as C, createEvent as n, safeClassMap as p } from "@arcgis/lumina";
6
6
  import { T as _ } from "../../chunks/solutions-deploy-app-nav.js";
@@ -20,7 +20,7 @@ import "../solutions-all-shell/customElement.js";
20
20
  import "../solutions-deployed-shell/customElement.js";
21
21
  import "../solution-details-panel/customElement.js";
22
22
  import "../solution-deployed-card-panel/customElement.js";
23
- const M = f`.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-3);height:100%}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-resources-shell,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}`;
23
+ const M = g`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-3);height:100%}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-resources-shell,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}`;
24
24
  class L extends C {
25
25
  constructor() {
26
26
  super(), this.initTitleOrId = "", this.sortType = "relevance", this.useLocalAppConfig = !1, this.authentication = void 0, this._isLoaded = !1, this.isMobile = !1, this._activeTab = "all-solutions", this._showDeployedCardFetchFailed = !1, this._translations = v({ name: "solutions-deploy-app", blocking: !0 }), this._agoTerms = `${S}`, this._allCards = [], this._allShell = o(), this._allTab = o(), this._allTabTitle = o(), this._resourcesTab = o(), this._resourcesTabTitle = o(), this._categories = [], this._configContextProvider = T({ context: I }), 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._isMobileContextProvider = T({ context: O }), this._mySolutionsShell = o(), this._mySolutionsTab = o(), this._mySolutionsTabTitle = o(), this._sortField = "relevance", this._sortOrder = "desc", this._telemetryManager = new _(), this.deployAppTabSelected = n(), this.deployedCardFetchFailed = n(), this.detailsCardSelected = n(), this.deployedCardSelected = n(), this.metaTagStringsReady = n(), this.sessionRefreshed = n(), this.tabChanged = n(), 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", (t) => this.selectTab(t.detail, {})), this._mediaQueryChange = this._mediaQueryChange.bind(this);
@@ -303,7 +303,7 @@ class L extends C {
303
303
  }
304
304
  }
305
305
  }
306
- g("solutions-deploy-app", L);
306
+ f("solutions-deploy-app", L);
307
307
  export {
308
308
  L as SolutionsDeployApp
309
309
  };
@@ -8,7 +8,7 @@ import { createRef as T, ref as d } from "lit/directives/ref.js";
8
8
  import { C as c, g as v } from "../../chunks/cardFetchingUtils.js";
9
9
  import { c as b } from "../../chunks/deployAppContexts.js";
10
10
  import { B as h, T as n, L as S, c as D } from "../../chunks/helpers.js";
11
- const F = f`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@media(max-width:1280px){solution-deployed-card{width:calc(25% - .75rem)}}@media(max-width:1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@media(max-width:740px){solution-deployed-card{width:calc(50% - .75rem)}}@media(max-width:440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`, m = 5;
11
+ const F = f`calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-surface-3)}.card-group{overflow:hidden;padding:.25rem var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}solution-deployed-card{width:calc(20% - .75rem)}@media(max-width:1280px){solution-deployed-card{width:calc(25% - .75rem)}}@media(max-width:1010px){solution-deployed-card{width:calc(33.333% - .75rem)}}@media(max-width:740px){solution-deployed-card{width:calc(50% - .75rem)}}@media(max-width:440px){solution-deployed-card{width:calc(100% - .75rem)}}.margin-top-half{margin-top:.5rem}`, m = 5;
12
12
  class E extends w {
13
13
  constructor() {
14
14
  super(), this.sortType = "created", this._cards = [], this._cardsFetching = !1, this._modifiedCheckTry = 0, this._newId = "", this._refs = {}, this._showDeleteCompleteAlert = !1, this._deletedSolutionName = "", this._translations = g({ name: "solutions-deployed-panel", blocking: !0 }), this._agoTerms = h, this._allCards = [], this._baseAgoTerms = h, this._categories = [], this._mainPanelRef = T(), this._panelFixed = !1, this._configContextConsumer = x({
@@ -7,7 +7,7 @@ import { css as u, html as i, svg as g } from "lit";
7
7
  import { c as f, i as b } from "../../chunks/deployAppContexts.js";
8
8
  import { createRef as s, ref as r } from "lit/directives/ref.js";
9
9
  import { H as v } from "../../chunks/helpers.js";
10
- const m = u`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.justify-content-start{justify-content:start}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-8{padding-top:8px}`;
10
+ const m = u`calcite-shell-panel{z-index:var(--calcite-z-index-1)}.display-flex{display:flex}.flex-1,.flex-grow{flex:1}.flex-shrink-0{flex:0 0 auto}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto;font-size:var(--calcite-font-size-md)}.text-center{text-align:center}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: var(--calcite-spacing-none);--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none);font-weight:var(--calcite-font-weight-medium)}.header-content-wrapper{padding-inline-start:var(--calcite-spacing-xxs)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.justify-content-start{justify-content:start}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.position-relative{position:relative}.height-100{height:100%}.height-50{height:50px}.sign-in-prompt{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}.sign-in-icon{transform:translate(-20px)}.height-150{height:150px}.width-150{width:150px}.padding-top-8{padding-top:8px}`;
11
11
  class x extends h {
12
12
  constructor() {
13
13
  super(), this.solutionsCount = 0, this.filterOpen = !0, this.isMobile = !1, this._showAlertFailed = !1, this._translations = d({ name: "solutions-deployed-shell", blocking: !0 }), this._configContextConsumer = o({
@@ -60,10 +60,10 @@ class x extends h {
60
60
  if (this._panelObserver)
61
61
  return;
62
62
  this._panelObserver = new MutationObserver((t) => {
63
- t.forEach((n) => {
64
- if (n.type === "attributes" && n.attributeName === "tabindex") {
65
- const a = n.target;
66
- a.classList.contains("content-wrapper") && a.tabIndex === 0 && (a.tabIndex = -1);
63
+ t.forEach((a) => {
64
+ if (a.type === "attributes" && a.attributeName === "tabindex") {
65
+ const n = a.target;
66
+ n.classList.contains("content-wrapper") && n.tabIndex === 0 && (n.tabIndex = -1);
67
67
  }
68
68
  });
69
69
  });
@@ -7,7 +7,7 @@ import { LitElement as N, createEvent as p, safeClassMap as S } from "@arcgis/lu
7
7
  import { c as A, i as I } from "../../chunks/deployAppContexts.js";
8
8
  import { useContextConsumer as _ } from "@arcgis/lumina/context";
9
9
  import { e as F, d as C, T as O, H as E } from "../../chunks/helpers.js";
10
- const T = f`.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1);--calcite-panel-footer-space: var(--calcite-spacing-sm)}.border-color{--calcite-block-border-color: transparent}calcite-block{margin:0;--calcite-block-content-space: 0}.tree-padding{padding:0 .2rem}.display-none{display:none}`, R = {
10
+ const T = f`.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-panel-footer-space: var(--calcite-spacing-sm)}.border-color{--calcite-block-border-color: transparent}calcite-block{margin:0;--calcite-block-content-space: 0}.tree-padding{padding:0 .2rem}.display-none{display:none}`, R = {
11
11
  PUBLICSAFETY: ["EMERGENCYMANAGEMENT", "FIRESERVICE", "LAWENFORCEMENT"],
12
12
  STATEANDLOCALGOVERNMENT: [
13
13
  "AGRICULTURE",
@@ -1,15 +1,15 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as o } from "../../chunks/runtime.js";
3
- import { css as r, html as s } from "lit";
2
+ import { c as s } from "../../chunks/runtime.js";
3
+ import { css as o, html as r } from "lit";
4
4
  import { u as d } from "../../chunks/useT9n.js";
5
5
  import { LitElement as c, createEvent as l } from "@arcgis/lumina";
6
- import { createRef as h, ref as g } from "lit/directives/ref.js";
6
+ import { createRef as h, ref as p } from "lit/directives/ref.js";
7
7
  import "../solutions-resources-section/customElement.js";
8
- const p = { heading: "Get Started", card1: { heading: "What's new in the app" }, card2: { heading: "Deploy a solution" }, card3: { heading: "Manage a deployment" }, card4: { heading: "AI Assistant" } }, u = { heading: "Documentation", card1: { heading: "Help" }, card2: { heading: "What's new" }, card3: { heading: "FAQ" }, card4: { heading: "ArcGIS Blog" } }, m = { heading: "Support", card1: { heading: "Esri Community" }, card2: { heading: "ArcGIS Ideas" }, card3: { heading: "Esri Video" }, card4: { heading: "Technical support" } }, n = {
9
- getStarted: p,
8
+ const g = { heading: "Get Started", card1: { heading: "What's new in the app" }, card2: { heading: "Deploy a solution" }, card3: { heading: "Manage a deployment" }, card4: { heading: "AI Assistant" } }, u = { heading: "Documentation", card1: { heading: "Help" }, card2: { heading: "What's new" }, card3: { heading: "FAQ" }, card4: { heading: "ArcGIS Blog" } }, m = { heading: "Support", card1: { heading: "Esri Community" }, card2: { heading: "ArcGIS Ideas" }, card3: { heading: "Esri Video" }, card4: { heading: "Technical support" } }, i = {
9
+ getStarted: g,
10
10
  documentation: u,
11
11
  support: m
12
- }, b = r`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.position-relative{position:relative}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-background-color: var(--calcite-color-foreground-2)}.width-350{--calcite-shell-panel-width: 350px}.height-full{height:100%}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}calcite-panel{--calcite-panel-background-color: var(--calcite-color-foreground-1)}calcite-shell{background-color:unset}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.margin-end-md{margin-inline-end:var(--calcite-spacing-md)}.resources-container{width:100%;box-sizing:border-box}.hero-banner{background-color:var(--calcite-color-foreground-2);padding:4.25rem var(--calcite-spacing-md);text-align:center;width:100%;box-sizing:border-box;margin-bottom:3rem}.hero-heading{font-size:var(--calcite-font-size-5);font-weight:var(--calcite-font-weight-medium);margin:0 0 var(--calcite-spacing-xxl) 0;color:var(--calcite-color-text-1)}.hero-subheading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);max-width:600px;margin:0 auto}`;
12
+ }, b = o`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.position-relative{position:relative}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-background-color: var(--calcite-color-surface-3)}.width-350{--calcite-shell-panel-width: 350px}.height-full{height:100%}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}calcite-panel{--calcite-panel-background-color: var(--calcite-color-surface-2)}calcite-shell{background-color:unset}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.margin-end-md{margin-inline-end:var(--calcite-spacing-md)}.resources-container{width:100%;box-sizing:border-box}.hero-banner{background-color:var(--calcite-color-surface-3);padding:4.25rem var(--calcite-spacing-md);text-align:center;width:100%;box-sizing:border-box;margin-bottom:3rem}.hero-heading{font-size:var(--calcite-font-size-5);font-weight:var(--calcite-font-weight-medium);margin:0 0 var(--calcite-spacing-xxl) 0;color:var(--calcite-color-text-1)}.hero-subheading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);max-width:600px;margin:0 auto}`;
13
13
  class f extends c {
14
14
  constructor() {
15
15
  super(), this._translations = d({ name: "solutions-resources-shell", blocking: !0 }), this._mainPanelRef = h(), this._panelFixed = !1, this.sortTypeChanged = l(), this.listenOn(window, "deployAppTabSelected", this._handleDeployAppTabSelected);
@@ -28,8 +28,8 @@ class f extends c {
28
28
  const e = this._mainPanelRef.value;
29
29
  e.componentOnReady?.().then(() => {
30
30
  if (e.shadowRoot) {
31
- const i = e.shadowRoot.querySelector(".content-wrapper");
32
- i && (i.tabIndex = -1, this._panelFixed = !0, this._setupPanelObserver());
31
+ const n = e.shadowRoot.querySelector(".content-wrapper");
32
+ n && (n.tabIndex = -1, this._panelFixed = !0, this._setupPanelObserver());
33
33
  }
34
34
  }).catch(() => {
35
35
  this._panelFixed = !0;
@@ -39,8 +39,8 @@ class f extends c {
39
39
  _setupPanelObserver() {
40
40
  if (this._panelObserver)
41
41
  return;
42
- this._panelObserver = new MutationObserver((i) => {
43
- i.forEach((t) => {
42
+ this._panelObserver = new MutationObserver((n) => {
43
+ n.forEach((t) => {
44
44
  if (t.type === "attributes" && t.attributeName === "tabindex") {
45
45
  const a = t.target;
46
46
  a.classList.contains("content-wrapper") && a.tabIndex === 0 && (a.tabIndex = -1);
@@ -49,8 +49,8 @@ class f extends c {
49
49
  });
50
50
  const e = this._mainPanelRef.value;
51
51
  if (e?.shadowRoot) {
52
- const i = e.shadowRoot.querySelector(".content-wrapper");
53
- i && this._panelObserver.observe(i, { attributes: !0, attributeFilter: ["tabindex"] });
52
+ const n = e.shadowRoot.querySelector(".content-wrapper");
53
+ n && this._panelObserver.observe(n, { attributes: !0, attributeFilter: ["tabindex"] });
54
54
  }
55
55
  }
56
56
  disconnectedCallback() {
@@ -58,38 +58,38 @@ class f extends c {
58
58
  }
59
59
  render() {
60
60
  const e = this._translations;
61
- return s`<calcite-shell><calcite-panel ${g(this._mainPanelRef)}><div class="resources-container"><div class="hero-banner"><h1 class="hero-heading" tabindex=0>${e.hero.heading}</h1><p class="hero-subheading" tabindex=0>${e.hero.subheading}</p></div><solutions-resources-section .heading=${e.getStarted.heading} .subheading=${e.getStarted.subheading} .cards=${[
61
+ return r`<calcite-shell><calcite-panel ${p(this._mainPanelRef)}><div class="resources-container"><div class="hero-banner"><h1 class="hero-heading" tabindex=0>${e.hero.heading}</h1><p class="hero-subheading" tabindex=0>${e.hero.subheading}</p></div><solutions-resources-section .heading=${e.getStarted.heading} .subheading=${e.getStarted.subheading} .cards=${[
62
62
  {
63
63
  meridianIcon: "value",
64
64
  heading: e.getStarted.card1.heading,
65
65
  description: e.getStarted.card1.description,
66
66
  url: "https://links.esri.com/solutions/whats-new-in-the-app",
67
- headingEn: n.getStarted.card1.heading,
68
- sectionHeadingEn: n.getStarted.heading
67
+ headingEn: i.getStarted.card1.heading,
68
+ sectionHeadingEn: i.getStarted.heading
69
69
  },
70
70
  {
71
71
  meridianIcon: "install",
72
72
  heading: e.getStarted.card2.heading,
73
73
  description: e.getStarted.card2.description,
74
74
  url: "https://links.esri.com/solutions/deploy-a-solution",
75
- headingEn: n.getStarted.card2.heading,
76
- sectionHeadingEn: n.getStarted.heading
75
+ headingEn: i.getStarted.card2.heading,
76
+ sectionHeadingEn: i.getStarted.heading
77
77
  },
78
78
  {
79
79
  meridianIcon: "keys",
80
80
  heading: e.getStarted.card3.heading,
81
81
  description: e.getStarted.card3.description,
82
82
  url: "https://links.esri.com/solutions/manage-a-deployment",
83
- headingEn: n.getStarted.card3.heading,
84
- sectionHeadingEn: n.getStarted.heading
83
+ headingEn: i.getStarted.card3.heading,
84
+ sectionHeadingEn: i.getStarted.heading
85
85
  },
86
86
  {
87
87
  meridianIcon: "speech-bubbles",
88
88
  heading: e.getStarted.card4.heading,
89
89
  description: e.getStarted.card4.description,
90
90
  url: "https://links.esri.com/solutions/ai-assistant",
91
- headingEn: n.getStarted.card4.heading,
92
- sectionHeadingEn: n.getStarted.heading
91
+ headingEn: i.getStarted.card4.heading,
92
+ sectionHeadingEn: i.getStarted.heading
93
93
  }
94
94
  ]}></solutions-resources-section><solutions-resources-section .heading=${e.documentation.heading} .subheading=${e.documentation.subheading} .cards=${[
95
95
  {
@@ -97,32 +97,32 @@ class f extends c {
97
97
  heading: e.documentation.card1.heading,
98
98
  description: e.documentation.card1.description,
99
99
  url: "https://links.esri.com/solutions/help",
100
- headingEn: n.documentation.card1.heading,
101
- sectionHeadingEn: n.documentation.heading
100
+ headingEn: i.documentation.card1.heading,
101
+ sectionHeadingEn: i.documentation.heading
102
102
  },
103
103
  {
104
104
  meridianIcon: "value",
105
105
  heading: e.documentation.card2.heading,
106
106
  description: e.documentation.card2.description,
107
107
  url: "https://links.esri.com/solutions/whats-new",
108
- headingEn: n.documentation.card2.heading,
109
- sectionHeadingEn: n.documentation.heading
108
+ headingEn: i.documentation.card2.heading,
109
+ sectionHeadingEn: i.documentation.heading
110
110
  },
111
111
  {
112
112
  meridianIcon: "faq",
113
113
  heading: e.documentation.card3.heading,
114
114
  description: e.documentation.card3.description,
115
115
  url: "https://links.esri.com/solutions/faq",
116
- headingEn: n.documentation.card3.heading,
117
- sectionHeadingEn: n.documentation.heading
116
+ headingEn: i.documentation.card3.heading,
117
+ sectionHeadingEn: i.documentation.heading
118
118
  },
119
119
  {
120
120
  meridianIcon: "arcmap-blog",
121
121
  heading: e.documentation.card4.heading,
122
122
  description: e.documentation.card4.description,
123
123
  url: "https://links.esri.com/solutions/arcgis-blogs",
124
- headingEn: n.documentation.card4.heading,
125
- sectionHeadingEn: n.documentation.heading
124
+ headingEn: i.documentation.card4.heading,
125
+ sectionHeadingEn: i.documentation.heading
126
126
  }
127
127
  ]}></solutions-resources-section><solutions-resources-section .heading=${e.support.heading} .subheading=${e.support.subheading} .cards=${[
128
128
  {
@@ -130,32 +130,32 @@ class f extends c {
130
130
  heading: e.support.card1.heading,
131
131
  description: e.support.card1.description,
132
132
  url: "https://links.esri.com/solutions/esri-community",
133
- headingEn: n.support.card1.heading,
134
- sectionHeadingEn: n.support.heading
133
+ headingEn: i.support.card1.heading,
134
+ sectionHeadingEn: i.support.heading
135
135
  },
136
136
  {
137
137
  meridianIcon: "idea",
138
138
  heading: e.support.card2.heading,
139
139
  description: e.support.card2.description,
140
140
  url: "https://links.esri.com/solutions/arcgis-ideas",
141
- headingEn: n.support.card2.heading,
142
- sectionHeadingEn: n.support.heading
141
+ headingEn: i.support.card2.heading,
142
+ sectionHeadingEn: i.support.heading
143
143
  },
144
144
  {
145
145
  meridianIcon: "video",
146
146
  heading: e.support.card3.heading,
147
147
  description: e.support.card3.description,
148
148
  url: "https://links.esri.com/solutions/esri-video",
149
- headingEn: n.support.card3.heading,
150
- sectionHeadingEn: n.support.heading
149
+ headingEn: i.support.card3.heading,
150
+ sectionHeadingEn: i.support.heading
151
151
  },
152
152
  {
153
153
  meridianIcon: "support",
154
154
  heading: e.support.card4.heading,
155
155
  description: e.support.card4.description,
156
156
  url: "https://links.esri.com/solutions/technical-support",
157
- headingEn: n.support.card4.heading,
158
- sectionHeadingEn: n.support.heading
157
+ headingEn: i.support.card4.heading,
158
+ sectionHeadingEn: i.support.heading
159
159
  }
160
160
  ]}></solutions-resources-section></div></calcite-panel></calcite-shell>`;
161
161
  }
@@ -163,7 +163,7 @@ class f extends c {
163
163
  e.detail === "resources" && this.sortTypeChanged.emit("");
164
164
  }
165
165
  }
166
- o("solutions-resources-shell", f);
166
+ s("solutions-resources-shell", f);
167
167
  export {
168
168
  f as SolutionsResourcesShell
169
169
  };