@esri/solutions-components 5.1.0-next.109 → 5.1.0-next.110

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 (182) hide show
  1. package/dist/cdn/{ZVHRGKDC.js → 25VAC27I.js} +1 -1
  2. package/dist/cdn/{PMASTSAY.js → 35JHUNE2.js} +1 -1
  3. package/dist/cdn/{FIHH22PH.js → 3CDGBSG2.js} +1 -1
  4. package/dist/cdn/{BBVI22DX.js → 3JVQG3QA.js} +1 -1
  5. package/dist/cdn/42SCVEP5.js +2 -0
  6. package/dist/cdn/{WPB3VJUM.js → 4DNXJC4H.js} +1 -1
  7. package/dist/cdn/{ZTU7ACFT.js → 4LXJECAT.js} +1 -1
  8. package/dist/cdn/{MVD3VVPZ.js → 4SU2ROO4.js} +1 -1
  9. package/dist/cdn/{ZGX5BDIO.js → 5TJMXQ6I.js} +1 -1
  10. package/dist/cdn/{T3NHBHAI.js → 5X73H45I.js} +1 -1
  11. package/dist/cdn/{6OCDWG7P.js → 74KPJ6CS.js} +1 -1
  12. package/dist/cdn/{HIV2GYY7.js → 7K2BSAIP.js} +1 -1
  13. package/dist/cdn/{EZUDAXHT.js → A4RZESK7.js} +1 -1
  14. package/dist/cdn/{ON4MWXBI.js → A75GYZAK.js} +1 -1
  15. package/dist/cdn/{E4MLV2FE.js → AC4RMGO6.js} +1 -1
  16. package/dist/cdn/{XGXFBOJN.js → AN52NHQI.js} +1 -1
  17. package/dist/cdn/{M5OSUYVD.js → AVRGQSFV.js} +1 -1
  18. package/dist/cdn/BJDRTFKQ.js +2 -0
  19. package/dist/cdn/{LG67HAE5.js → BJR4LFTB.js} +1 -1
  20. package/dist/cdn/{UWOL7IKX.js → BKDURHMM.js} +1 -1
  21. package/dist/cdn/{GE57TEEE.js → BMF7MU4P.js} +1 -1
  22. package/dist/cdn/BTGIA7F4.js +2 -0
  23. package/dist/cdn/{FJAKNWL6.js → BXRB7X5V.js} +25 -25
  24. package/dist/cdn/{KUFPXZWQ.js → CCUDERJM.js} +1 -1
  25. package/dist/cdn/CYOAGVBU.js +2 -0
  26. package/dist/cdn/D4YPSPYU.js +2 -0
  27. package/dist/cdn/{F5IR4RHL.js → DGUS2OKW.js} +1 -1
  28. package/dist/cdn/{WVGQGW4R.js → DMAGF5NK.js} +1 -1
  29. package/dist/cdn/{UEITESQY.js → EKVVDMWB.js} +1 -1
  30. package/dist/cdn/{52KJS4OG.js → EMYFWPJ5.js} +1 -1
  31. package/dist/cdn/{PWTAOSL7.js → FJ7ETLF7.js} +1 -1
  32. package/dist/cdn/{CETY3FEP.js → FKA4WB46.js} +1 -1
  33. package/dist/cdn/{4H6WLS2C.js → FTVYIREU.js} +1 -1
  34. package/dist/cdn/{WOVQTNTH.js → G4RZYVWS.js} +1 -1
  35. package/dist/cdn/GQLCVOIO.js +2 -0
  36. package/dist/cdn/{N6HPF764.js → GWKYLTEJ.js} +1 -1
  37. package/dist/cdn/{DPIB437L.js → GWS7GDTT.js} +1 -1
  38. package/dist/cdn/{ALQ5DBK4.js → HG7ONXRZ.js} +1 -1
  39. package/dist/cdn/{RAVGZ37K.js → I4N2RPKJ.js} +1 -1
  40. package/dist/cdn/JDVRT3UI.js +2 -0
  41. package/dist/cdn/{KRFMW3F6.js → JHEOWKJP.js} +1 -1
  42. package/dist/cdn/{LGFATGO3.js → KLK6VI3Y.js} +1 -1
  43. package/dist/cdn/{EX2M356A.js → KRK3HJKJ.js} +1 -1
  44. package/dist/cdn/LES6DTSC.js +2 -0
  45. package/dist/cdn/{L3R23ENZ.js → LL62WUTX.js} +1 -1
  46. package/dist/cdn/LS5WOH7V.js +2 -0
  47. package/dist/cdn/{YBFRVRRL.js → LUPN4QGH.js} +1 -1
  48. package/dist/cdn/{MNCCEYE3.js → MBLK4P7W.js} +1 -1
  49. package/dist/cdn/NUVJH534.js +2 -0
  50. package/dist/cdn/OJ75PR7L.js +2 -0
  51. package/dist/cdn/{JCQ3GAY6.js → PD2CPL77.js} +1 -1
  52. package/dist/cdn/{RTENTU3I.js → PERCQYO6.js} +2 -2
  53. package/dist/cdn/{GXH52TKB.js → Q2I3FISB.js} +1 -1
  54. package/dist/cdn/{Y4QO5HTT.js → Q5XUSNQQ.js} +1 -1
  55. package/dist/cdn/{R6RHNEU5.js → QCXFCAG2.js} +1 -1
  56. package/dist/cdn/{EZXOFWRE.js → QGAFD25H.js} +1 -1
  57. package/dist/cdn/{54YUJSPE.js → QK5JWCPU.js} +1 -1
  58. package/dist/cdn/QOJ6NBZ7.js +2 -0
  59. package/dist/cdn/{CTGCWSCT.js → R5EBB32O.js} +112 -112
  60. package/dist/cdn/{AV2VGLDZ.js → RTEEGE26.js} +1 -1
  61. package/dist/cdn/{7OCLTZG6.js → RYM3WNKW.js} +1 -1
  62. package/dist/cdn/T5VGITRO.js +2 -0
  63. package/dist/cdn/{QETCNT3V.js → TCEWQ6AH.js} +1 -1
  64. package/dist/cdn/{RHYPLQ7P.js → TUB2CVLR.js} +3 -3
  65. package/dist/cdn/{UZ7C6CMQ.js → UQVDQ3RW.js} +1 -1
  66. package/dist/cdn/{Z5DIDVKZ.js → VEZDLO5O.js} +1 -1
  67. package/dist/cdn/{MMSWM6TE.js → VJCNI3S6.js} +1 -1
  68. package/dist/cdn/{JXLUOBPY.js → VLTIETO7.js} +1 -1
  69. package/dist/cdn/{CFD3KIYJ.js → VMSV2EDE.js} +1 -1
  70. package/dist/cdn/WCS5ISFW.js +2 -0
  71. package/dist/cdn/{AO6CNZVY.js → WNZGZMLN.js} +1 -1
  72. package/dist/cdn/{2M47YJSF.js → X3AFBSXC.js} +1 -1
  73. package/dist/cdn/{MEETZUH6.js → XFSGLLBP.js} +1 -1
  74. package/dist/cdn/YOO4OQMD.js +2 -0
  75. package/dist/cdn/Z7UB6Y73.js +2 -0
  76. package/dist/cdn/{DNTFTT5U.js → ZGAP3FGE.js} +1 -1
  77. package/dist/cdn/ZHIIV7VJ.js +2 -0
  78. package/dist/cdn/{REGMSP2R.js → ZKWM223Q.js} +1 -1
  79. package/dist/cdn/assets/buffer-tools/t9n/messages.en.json +1 -1
  80. package/dist/cdn/assets/buffer-tools/t9n/messages.json +1 -1
  81. package/dist/cdn/assets/card-manager/t9n/messages.en.json +1 -1
  82. package/dist/cdn/assets/card-manager/t9n/messages.json +1 -1
  83. package/dist/cdn/assets/create-related-feature/t9n/messages.en.json +1 -1
  84. package/dist/cdn/assets/create-related-feature/t9n/messages.json +1 -1
  85. package/dist/cdn/assets/crowdsource-manager/t9n/messages.en.json +1 -1
  86. package/dist/cdn/assets/crowdsource-manager/t9n/messages.json +1 -1
  87. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.en.json +1 -1
  88. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.json +1 -1
  89. package/dist/cdn/assets/edit-card/t9n/messages.en.json +1 -1
  90. package/dist/cdn/assets/edit-card/t9n/messages.json +1 -1
  91. package/dist/cdn/assets/info-card/t9n/messages.en.json +1 -1
  92. package/dist/cdn/assets/info-card/t9n/messages.json +1 -1
  93. package/dist/cdn/assets/map-picker/t9n/messages.en.json +1 -1
  94. package/dist/cdn/assets/map-picker/t9n/messages.json +1 -1
  95. package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
  96. package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
  97. package/dist/cdn/assets/solutions-deployed-list/t9n/messages.en.json +1 -1
  98. package/dist/cdn/assets/solutions-deployed-list/t9n/messages.json +1 -1
  99. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  100. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  101. package/dist/cdn/index.js +1 -1
  102. package/dist/chunks/interfaces.js +1 -1
  103. package/dist/chunks/solution-deploy-dialog.js +2 -2
  104. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  105. package/dist/components/arcgis-solutions-assistant/customElement.js +5312 -5307
  106. package/dist/components/buffer-tools/customElement.d.ts +2 -0
  107. package/dist/components/buffer-tools/customElement.js +5 -5
  108. package/dist/components/card-manager/customElement.d.ts +2 -0
  109. package/dist/components/card-manager/customElement.js +1 -1
  110. package/dist/components/create-feature/customElement.js +9 -9
  111. package/dist/components/create-related-feature/customElement.d.ts +7 -1
  112. package/dist/components/create-related-feature/customElement.js +6 -6
  113. package/dist/components/crowdsource-manager/customElement.d.ts +2 -0
  114. package/dist/components/crowdsource-manager/customElement.js +5 -5
  115. package/dist/components/crowdsource-reporter/customElement.d.ts +8 -0
  116. package/dist/components/crowdsource-reporter/customElement.js +7 -7
  117. package/dist/components/deduct-calculator/customElement.js +5 -5
  118. package/dist/components/delete-button/customElement.js +1 -1
  119. package/dist/components/edit-card/customElement.d.ts +7 -1
  120. package/dist/components/edit-card/customElement.js +1 -1
  121. package/dist/components/feature-details/customElement.js +2 -2
  122. package/dist/components/feature-list/customElement.js +1 -1
  123. package/dist/components/field-selection/customElement.js +75 -67
  124. package/dist/components/info-card/customElement.d.ts +2 -0
  125. package/dist/components/info-card/customElement.js +1 -1
  126. package/dist/components/layer-list/customElement.js +1 -1
  127. package/dist/components/layer-table/customElement.js +1 -1
  128. package/dist/components/map-layer-picker/customElement.js +8 -8
  129. package/dist/components/map-picker/customElement.d.ts +7 -1
  130. package/dist/components/map-picker/customElement.js +2 -2
  131. package/dist/components/map-select-tools/customElement.js +3 -3
  132. package/dist/components/map-tools/customElement.js +1 -1
  133. package/dist/components/pci-calculator/customElement.js +5 -5
  134. package/dist/components/pdf-download/customElement.js +1 -1
  135. package/dist/components/public-notification/customElement.js +3 -3
  136. package/dist/components/refine-selection/customElement.js +1 -1
  137. package/dist/components/solution-builder-assistant/customElement.js +56 -56
  138. package/dist/components/solution-builder-assistant/index.js +1 -1
  139. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  140. package/dist/components/solution-deployed-card-panel/customElement.js +9 -9
  141. package/dist/components/solution-deploying-dialog/customElement.js +8 -8
  142. package/dist/components/solution-details-card/customElement.js +5 -5
  143. package/dist/components/solution-item-accordion/customElement.js +1 -1
  144. package/dist/components/solution-item-diagram/customElement.js +113 -113
  145. package/dist/components/solution-item-icon/customElement.js +3 -3
  146. package/dist/components/solution-resource-card/customElement.js +3 -3
  147. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  148. package/dist/components/solution-social-share/customElement.js +11 -11
  149. package/dist/components/solutions-all-panel/customElement.js +1 -1
  150. package/dist/components/solutions-all-shell/customElement.d.ts +2 -0
  151. package/dist/components/solutions-all-shell/customElement.js +5 -5
  152. package/dist/components/solutions-deployed-list/customElement.d.ts +7 -1
  153. package/dist/components/solutions-deployed-list/customElement.js +25 -22
  154. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  155. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  156. package/dist/components/solutions-filter-panel/customElement.d.ts +2 -0
  157. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  158. package/dist/components/solutions-resources-section/customElement.js +10 -9
  159. package/dist/components/solutions-resources-shell/customElement.js +3 -3
  160. package/dist/components/solutions-searchsort-toolbar/customElement.js +11 -11
  161. package/dist/docs/api.json +1 -1
  162. package/dist/docs/docs.json +1 -1
  163. package/dist/docs/web-types.json +1 -1
  164. package/dist/solutions-components_commit.txt +7 -7
  165. package/package.json +1 -1
  166. package/dist/cdn/5Q6CJZ7M.js +0 -2
  167. package/dist/cdn/7O7OFAXY.js +0 -2
  168. package/dist/cdn/A77WR5MD.js +0 -2
  169. package/dist/cdn/AKEEHAGV.js +0 -2
  170. package/dist/cdn/BX4LWPBE.js +0 -2
  171. package/dist/cdn/F7GWD5GZ.js +0 -2
  172. package/dist/cdn/I5STLCQ7.js +0 -2
  173. package/dist/cdn/KXU6CODF.js +0 -2
  174. package/dist/cdn/MRTCK3MT.js +0 -2
  175. package/dist/cdn/NGWZKWTA.js +0 -2
  176. package/dist/cdn/OZGADKJE.js +0 -2
  177. package/dist/cdn/SE4ZDMV4.js +0 -2
  178. package/dist/cdn/SHXJ4Z2A.js +0 -2
  179. package/dist/cdn/TJ7VHVTC.js +0 -2
  180. package/dist/cdn/WHXJW7ZE.js +0 -2
  181. package/dist/cdn/Z3NAMBE6.js +0 -2
  182. package/dist/cdn/ZTVWTQFN.js +0 -2
@@ -5,11 +5,11 @@ import { u as S } from "../../chunks/useT9n.js";
5
5
  import { LitElement as w, createEvent as F, safeClassMap as p, safeStyleMap as c } from "@arcgis/lumina";
6
6
  import { useContextConsumer as f } from "@arcgis/lumina/context";
7
7
  import { css as C, html as r } from "lit";
8
- import { c as R, i as T } from "../../chunks/deployAppContexts.js";
8
+ import { c as R, i as $ } from "../../chunks/deployAppContexts.js";
9
9
  import { e as g, d as _, T as m } from "../../chunks/interfaces.js";
10
10
  import { createRef as h, ref as n } from "lit/directives/ref.js";
11
11
  import "../solutions-filter-panel/customElement.js";
12
- const $ = C`.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}@container (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%;overflow:hidden}.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%}@container (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 T = C`.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}@container (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%;overflow:hidden}.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%}@container (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 P extends w {
14
14
  constructor() {
15
15
  super(), this.solutionsCount = 0, this._isLoading = !0, this._filterOpen = !0, this._filters = {
@@ -19,7 +19,7 @@ class P extends w {
19
19
  context: R,
20
20
  subscribe: !0
21
21
  }), this._isMobileContextConsumer = f({
22
- context: T,
22
+ context: $,
23
23
  subscribe: !0,
24
24
  callback: (e) => this._isMobile = e
25
25
  }), this.filterRemoved = F(), this.listenOn(window, "searchChanged", (e) => {
@@ -34,7 +34,7 @@ class P extends w {
34
34
  this.properties = { solutionsCount: 9, _isLoading: 16, _filterOpen: 16, _filters: 16, _isMobile: 16, _translations: 16 };
35
35
  }
36
36
  static {
37
- this.styles = $;
37
+ this.styles = T;
38
38
  }
39
39
  willUpdate(e) {
40
40
  e.has("_isMobile") && (this._filterOpen = !this._isMobile);
@@ -125,7 +125,7 @@ class P extends w {
125
125
  return;
126
126
  const e = this._filters.categories.filter((t) => t.type === "industry" || t.type === "domain" || t.type === "solution");
127
127
  if (e.length !== 0)
128
- return r`<calcite-chip-group class="chip-group" label>${x(e, (t) => `${t.type}:${t.value}`, (t) => r`<calcite-chip appearance=outline-fill class=${p(this._isMobile ? "responsive-chip" : "padding-start responsive-chip")} closable .label=${t.displayValue} @calciteChipClose=${() => this._chipClosed(t.displayValue, t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`)}</calcite-chip-group>`;
128
+ return r`<calcite-chip-group class="chip-group" .label=${this._translations.appliedFilters}>${x(e, (t) => `${t.type}:${t.value}`, (t) => r`<calcite-chip appearance=outline-fill class=${p(this._isMobile ? "responsive-chip" : "padding-start responsive-chip")} closable .label=${t.displayValue} @calciteChipClose=${() => this._chipClosed(t.displayValue, t.type)} .value=${t.displayValue}>${t.displayValue}</calcite-chip>`)}</calcite-chip-group>`;
129
129
  }
130
130
  _updateSolutionCount(e) {
131
131
  this.solutionsCount = e.detail;
@@ -12,7 +12,13 @@ export abstract class SolutionsDeployedList extends LitElement {
12
12
  *
13
13
  * @internal
14
14
  */
15
- protected _translations: { deployedVersion: string; } & T9nMeta<{ deployedVersion: string; }>;
15
+ protected _translations: {
16
+ deployedVersion: string;
17
+ dependencyList: string;
18
+ } & T9nMeta<{
19
+ deployedVersion: string;
20
+ dependencyList: string;
21
+ }>;
16
22
  /**
17
23
  * Should the content be linkable
18
24
  *
@@ -1,18 +1,18 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as l } from "../../chunks/runtime.js";
3
- import { css as o, html as i } from "lit";
4
- import { u as n } from "../../chunks/useT9n.js";
5
- import { LitElement as r, createEvent as c } from "@arcgis/lumina";
6
- import { c as a } from "../../chunks/deployAppContexts.js";
7
- import { useContextConsumer as d } from "@arcgis/lumina/context";
8
- import { C as u } from "../../chunks/CardsFetcher.js";
2
+ import { c as o } from "../../chunks/runtime.js";
3
+ import { css as n, html as s } from "lit";
4
+ import { u as r } from "../../chunks/useT9n.js";
5
+ import { LitElement as a, createEvent as c, nothing as l } from "@arcgis/lumina";
6
+ import { c as d } from "../../chunks/deployAppContexts.js";
7
+ import { useContextConsumer as u } from "@arcgis/lumina/context";
8
+ import { C as m } from "../../chunks/CardsFetcher.js";
9
9
  import "@esri/solution-common";
10
- import { s as m } from "../../chunks/helpers.js";
11
- const h = o`.text-center{text-align:center}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex;align-items:center}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.padding-10{padding:10px}.padding-y-10{padding-top:10px;padding-bottom:10px}.subnote{font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`;
12
- class f extends r {
10
+ import { s as h } from "../../chunks/helpers.js";
11
+ const f = n`.text-center{text-align:center}.no-solutions{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:calc(100vh - 190px)}.display-flex{display:flex;align-items:center}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.padding-10{padding:10px}.padding-y-10{padding-top:10px;padding-bottom:10px}.subnote{font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal)}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}.underline{text-decoration:underline}`;
12
+ class p extends a {
13
13
  constructor() {
14
- super(), this.referenceCards = [], this.results = null, this.hasLinks = !1, this.listTitle = "", this._translations = n({ name: "solutions-deployed-list", blocking: !0 }), this._cardsFetcher = null, this._configContextConsumer = d({
15
- context: a,
14
+ super(), this.referenceCards = [], this.results = null, this.hasLinks = !1, this.listTitle = "", this._translations = r({ name: "solutions-deployed-list", blocking: !0 }), this._cardsFetcher = null, this._configContextConsumer = u({
15
+ context: d,
16
16
  subscribe: !0
17
17
  }), this.deployedCardSelected = c();
18
18
  }
@@ -20,41 +20,44 @@ class f extends r {
20
20
  this.properties = { referenceCards: 0, results: 0, hasLinks: 5, listTitle: 1, _translations: 16, _cardsFetcher: 16 };
21
21
  }
22
22
  static {
23
- this.styles = h;
23
+ this.styles = f;
24
24
  }
25
25
  async load() {
26
26
  if (this._configContextConsumer?.value) {
27
27
  const t = this._configContextConsumer.value;
28
- this._cardsFetcher = new u(t.locale, t.orgUrl, t.portalURL);
28
+ this._cardsFetcher = new m(t.locale, t.orgUrl, t.portalURL);
29
29
  }
30
30
  }
31
31
  disconnectedCallback() {
32
32
  super.disconnectedCallback();
33
33
  }
34
34
  render() {
35
- return this.results ? i`${this.listTitle !== "" && i`<div>${this.listTitle}</div>` || ""}${this.hasLinks ? i`<calcite-list label="dependency list">${this._renderCards()}</calcite-list>` : i`<calcite-list label="dependency list" selection-mode=none interaction-mode=static>${this._renderCards()}</calcite-list>`}` : i`<div class="no-solutions"></div>`;
35
+ if (!this.results)
36
+ return s`<div class="no-solutions"></div>`;
37
+ const t = this.listTitle || this._translations.dependencyList, e = "solutions-deployed-list-title";
38
+ return s`${this.listTitle !== "" && s`<div class="solutions-deployed-list-title" id=${e}>${this.listTitle}</div>` || ""}${this.hasLinks ? s`<calcite-list aria-labelledby=${(this.listTitle !== "" ? e : void 0) ?? l} .label=${t}>${this._renderCards()}</calcite-list>` : s`<calcite-list aria-labelledby=${(this.listTitle !== "" ? e : void 0) ?? l} .label=${t} selection-mode=none interaction-mode=static>${this._renderCards()}</calcite-list>`}`;
36
39
  }
37
40
  _renderCards() {
38
41
  if (this._cardsFetcher && this.results) {
39
42
  const t = { ...this.results };
40
- return t.results = m(t.results), this._cardsFetcher.getCardsFromResponse(t).map((e) => i`<calcite-list-item .label=${e.title} @calciteListItemSelect=${() => {
41
- this.hasLinks && this._cardSelected(e);
42
- }} .value=${e.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${this.hasLinks ? "underline" : ""}`}>${e.title}</div><div class="solution-list-item-description">${`${this._translations.deployedVersion} ${e.deployVersion} - ${new Date(e.created).toLocaleDateString(this._configContextConsumer.value?.locale, { year: "numeric", month: "long", day: "numeric" })}`}</div></div></calcite-list-item>`);
43
+ return t.results = h(t.results), this._cardsFetcher.getCardsFromResponse(t).map((i) => s`<calcite-list-item .label=${i.title} @calciteListItemSelect=${() => {
44
+ this.hasLinks && this._cardSelected(i);
45
+ }} .value=${i.id}><div class="solution-list-item-content" slot=content><div class=${`solution-list-item-label ${this.hasLinks ? "underline" : ""}`}>${i.title}</div><div class="solution-list-item-description">${`${this._translations.deployedVersion} ${i.deployVersion} - ${new Date(i.created).toLocaleDateString(this._configContextConsumer.value?.locale, { year: "numeric", month: "long", day: "numeric" })}`}</div></div></calcite-list-item>`);
43
46
  }
44
47
  return [];
45
48
  }
46
49
  async _cardSelected(t) {
47
- const s = {
50
+ const e = {
48
51
  tabType: "deployed-card",
49
52
  tabTitleOrId: t.id
50
53
  };
51
54
  window.dispatchEvent(new CustomEvent("forceSelectTab", {
52
- detail: s
55
+ detail: e
53
56
  // Pass the payload here
54
57
  }));
55
58
  }
56
59
  }
57
- l("solutions-deployed-list", f);
60
+ o("solutions-deployed-list", p);
58
61
  export {
59
- f as SolutionsDeployedList
62
+ p as SolutionsDeployedList
60
63
  };
@@ -161,7 +161,7 @@ class R extends w {
161
161
  }
162
162
  }
163
163
  _getSolutionsBriefcase() {
164
- return a`<div><svg viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${y`<path d="M10.723 54.9h6.409a7.896 7.896 0 0 0 13.736 0h23.896a4.137 4.137 0 0 0 4.136-4.136l-.004-32.446a3.222 3.222 0 0 0-3.217-3.219l-10.779.064V9.836A3.741 3.741 0 0 0 41.163 6.1H23.837A3.741 3.741 0 0 0 20.1 9.836l.067 5.264-10.8.004A3.275 3.275 0 0 0 6.1 18.37L6.096 26a.893.893 0 0 0 .263.636.907.907 0 0 0 .638.263l5.902-.014.013-5.985 38.781.01a.407.407 0 0 1 .407.407l.008 22.925a2.858 2.858 0 0 1-2.857 2.858H30.868a7.896 7.896 0 0 0-13.736 0H12.9v-5.2a.801.801 0 0 0-.8-.8H6.9a.801.801 0 0 0-.8.8l-.001 8.375a4.59 4.59 0 0 0 1.353 3.27 4.658 4.658 0 0 0 3.27 1.355zM6.9 41.9h5.2v6h5.51l.112-.213a7.098 7.098 0 0 1 12.556 0l.113.213h18.86a3.683 3.683 0 0 0 2.587-1.071 3.635 3.635 0 0 0 1.071-2.587L52.9 21.317a1.208 1.208 0 0 0-1.207-1.207l-38.867-.01a.714.714 0 0 0-.714.712l-.011 5.275-5.106.012.001.4-.1-.499.003-7.628a2.471 2.471 0 0 1 2.468-2.469l10.8-.003a.734.734 0 0 0 .733-.733v-5.33A2.94 2.94 0 0 1 23.837 6.9h17.326A2.94 2.94 0 0 1 44.1 9.836v5.327a.734.734 0 0 0 .733.733l10.846.003a2.421 2.421 0 0 1 2.417 2.419l.004 32.446a3.337 3.337 0 0 1-3.336 3.336H30.39l-.113.213a7.098 7.098 0 0 1-12.556 0l-.113-.213h-6.886a3.85 3.85 0 0 1-2.704-1.12 3.796 3.796 0 0 1-1.12-2.705zm17.1 13a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm10-6a7.918 7.918 0 0 0 7.349-5h4.818a.734.734 0 0 0 .733-.733v-4.334a.734.734 0 0 0-.733-.733h-4.818a7.9 7.9 0 0 0-14.698 0H5.833a.734.734 0 0 0-.733.733v4.334a.734.734 0 0 0 .733.733h20.818a7.918 7.918 0 0 0 7.349 5zm-28.167-10h21.378l.095-.266a7.1 7.1 0 0 1 13.388 0l.095.266 5.31-.066.068 4.266h-5.378l-.095.266a7.1 7.1 0 0 1-13.388 0l-.095-.266-21.31.066zM34 37.9a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm5.658-20.8H25.342a1.244 1.244 0 0 0-1.242 1.242V15.9h16.8v-4.558a1.244 1.244 0 0 0-1.242-1.242zm.442 5H24.9v-3.758a.443.443 0 0 1 .442-.442h14.316a.443.443 0 0 1 .442.442z" />`}</svg></div>`;
164
+ return a`<div><svg aria-hidden=true viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${y`<path d="M10.723 54.9h6.409a7.896 7.896 0 0 0 13.736 0h23.896a4.137 4.137 0 0 0 4.136-4.136l-.004-32.446a3.222 3.222 0 0 0-3.217-3.219l-10.779.064V9.836A3.741 3.741 0 0 0 41.163 6.1H23.837A3.741 3.741 0 0 0 20.1 9.836l.067 5.264-10.8.004A3.275 3.275 0 0 0 6.1 18.37L6.096 26a.893.893 0 0 0 .263.636.907.907 0 0 0 .638.263l5.902-.014.013-5.985 38.781.01a.407.407 0 0 1 .407.407l.008 22.925a2.858 2.858 0 0 1-2.857 2.858H30.868a7.896 7.896 0 0 0-13.736 0H12.9v-5.2a.801.801 0 0 0-.8-.8H6.9a.801.801 0 0 0-.8.8l-.001 8.375a4.59 4.59 0 0 0 1.353 3.27 4.658 4.658 0 0 0 3.27 1.355zM6.9 41.9h5.2v6h5.51l.112-.213a7.098 7.098 0 0 1 12.556 0l.113.213h18.86a3.683 3.683 0 0 0 2.587-1.071 3.635 3.635 0 0 0 1.071-2.587L52.9 21.317a1.208 1.208 0 0 0-1.207-1.207l-38.867-.01a.714.714 0 0 0-.714.712l-.011 5.275-5.106.012.001.4-.1-.499.003-7.628a2.471 2.471 0 0 1 2.468-2.469l10.8-.003a.734.734 0 0 0 .733-.733v-5.33A2.94 2.94 0 0 1 23.837 6.9h17.326A2.94 2.94 0 0 1 44.1 9.836v5.327a.734.734 0 0 0 .733.733l10.846.003a2.421 2.421 0 0 1 2.417 2.419l.004 32.446a3.337 3.337 0 0 1-3.336 3.336H30.39l-.113.213a7.098 7.098 0 0 1-12.556 0l-.113-.213h-6.886a3.85 3.85 0 0 1-2.704-1.12 3.796 3.796 0 0 1-1.12-2.705zm17.1 13a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm10-6a7.918 7.918 0 0 0 7.349-5h4.818a.734.734 0 0 0 .733-.733v-4.334a.734.734 0 0 0-.733-.733h-4.818a7.9 7.9 0 0 0-14.698 0H5.833a.734.734 0 0 0-.733.733v4.334a.734.734 0 0 0 .733.733h20.818a7.918 7.918 0 0 0 7.349 5zm-28.167-10h21.378l.095-.266a7.1 7.1 0 0 1 13.388 0l.095.266 5.31-.066.068 4.266h-5.378l-.095.266a7.1 7.1 0 0 1-13.388 0l-.095-.266-21.31.066zM34 37.9a3.9 3.9 0 1 0-3.9-3.9 3.905 3.905 0 0 0 3.9 3.9zm0-7a3.1 3.1 0 1 1-3.1 3.1 3.103 3.103 0 0 1 3.1-3.1zm5.658-20.8H25.342a1.244 1.244 0 0 0-1.242 1.242V15.9h16.8v-4.558a1.244 1.244 0 0 0-1.242-1.242zm.442 5H24.9v-3.758a.443.443 0 0 1 .442-.442h14.316a.443.443 0 0 1 .442.442z" />`}</svg></div>`;
165
165
  }
166
166
  _setSearchTerm(e) {
167
167
  this._agoTerms = this._baseAgoTerms + ` ${e}`;
@@ -99,7 +99,7 @@ class _ extends p {
99
99
  this.solutionsCount = e.detail;
100
100
  }
101
101
  _getSignInIcon() {
102
- return i`<div class="sign-in-icon"><svg viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${g`<path d="M56.9 4.1V60h-.8V4.9H23.3l25.6 7.47v39.26l-28.8 8.4V35h.8v23.97l27.2-7.94V12.97L20.9 5.03V30h-.8V4.1h36.8zM30.735 41.7l.565.566 9.766-9.766-9.766-9.766-.565.567 8.799 8.799H5v.8h34.534l-8.8 8.8z" fill=var(--calcite-color-text-3) />`}</svg></div>`;
102
+ return i`<div class="sign-in-icon"><svg aria-hidden=true viewBox="0 0 64 64" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${g`<path d="M56.9 4.1V60h-.8V4.9H23.3l25.6 7.47v39.26l-28.8 8.4V35h.8v23.97l27.2-7.94V12.97L20.9 5.03V30h-.8V4.1h36.8zM30.735 41.7l.565.566 9.766-9.766-9.766-9.766-.565.567 8.799 8.799H5v.8h34.534l-8.8 8.8z" fill=var(--calcite-color-text-3) />`}</svg></div>`;
103
103
  }
104
104
  }
105
105
  c("solutions-deployed-shell", _);
@@ -6,6 +6,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
6
6
  export abstract class SolutionsFilterPanel extends LitElement {
7
7
  /** @internal */
8
8
  protected _translations: {
9
+ close: string;
9
10
  resetFilters: string;
10
11
  filters: string;
11
12
  filterSolutionsBy: string;
@@ -53,6 +54,7 @@ export abstract class SolutionsFilterPanel extends LitElement {
53
54
  search: { solutions: string; };
54
55
  assistant: { welcomeTip: string; };
55
56
  } & T9nMeta<{
57
+ close: string;
56
58
  resetFilters: string;
57
59
  filters: string;
58
60
  filterSolutionsBy: string;
@@ -145,7 +145,7 @@ class T extends S {
145
145
  });
146
146
  }} .selected=${o || void 0} .expanded=${m ? !0 : void 0}>${s}${n.length > 0 && d`<calcite-tree slot=children selection-mode=multiple>${h(i, n)}</calcite-tree>` || ""}</calcite-tree-item>`;
147
147
  });
148
- return d`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-action class=${f(this._isMobile ? "" : "display-none")} icon=x @click=${this._toggleFilter} slot=content-end text></calcite-action><calcite-tree selection-mode=single-persist class="tree-padding">${r}</calcite-tree></calcite-block>`;
148
+ return d`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-action class=${f(this._isMobile ? "" : "display-none")} icon=x @click=${this._toggleFilter} slot=content-end .text=${this._translations.close}></calcite-action><calcite-tree selection-mode=single-persist class="tree-padding">${r}</calcite-tree></calcite-block>`;
149
149
  }
150
150
  _toggleFilter() {
151
151
  this.toggleFilter.emit();
@@ -1,10 +1,10 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { c as t } from "../../chunks/runtime.js";
3
- import { css as s, html as e } from "lit";
4
- import { LitElement as n } from "@arcgis/lumina";
2
+ import { c as n } from "../../chunks/runtime.js";
3
+ import { css as a, html as t } from "lit";
4
+ import { LitElement as o, nothing as s } from "@arcgis/lumina";
5
5
  import "../solution-resource-card/customElement.js";
6
- const o = s`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.resources-section{padding:3rem var(--calcite-spacing-md);max-width:1440px;margin:0 auto;box-sizing:border-box}.section-header{margin-bottom:3rem;text-align:center}.section-heading{font-size:var(--calcite-font-size-3);font-weight:var(--calcite-font-weight-small);margin:0 0 var(--calcite-spacing-lg) 0;color:var(--calcite-color-text-1)}.section-subheading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);margin:0}.cards-container{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap}.cards-container solution-resource-card{flex:1 1 200px}`;
7
- class a extends n {
6
+ const r = a`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.resources-section{padding:3rem var(--calcite-spacing-md);max-width:1440px;margin:0 auto;box-sizing:border-box}.section-header{margin-bottom:3rem;text-align:center}.section-heading{font-size:var(--calcite-font-size-3);font-weight:var(--calcite-font-weight-small);margin:0 0 var(--calcite-spacing-lg) 0;color:var(--calcite-color-text-1)}.section-subheading{font-size:var(--calcite-font-size-0);color:var(--calcite-color-text-2);margin:0}.cards-container{display:flex;gap:var(--calcite-spacing-md);flex-wrap:wrap}.cards-container solution-resource-card{flex:1 1 200px}`;
7
+ class c extends o {
8
8
  constructor() {
9
9
  super(...arguments), this.heading = "", this.subheading = "", this.cards = [];
10
10
  }
@@ -12,13 +12,14 @@ class a extends n {
12
12
  this.properties = { heading: [1, { type: String }], subheading: [1, { type: String }], cards: [1, { type: Array }] };
13
13
  }
14
14
  static {
15
- this.styles = o;
15
+ this.styles = r;
16
16
  }
17
17
  render() {
18
- return e`<div class="resources-section"><div class="section-header"><h2 class="section-heading" tabindex=0>${this.heading}</h2><p class="section-subheading" tabindex=0>${this.subheading}</p></div><div class="cards-container">${this.cards.map((i) => e`<solution-resource-card .icon=${i.icon} .meridianIcon=${i.meridianIcon} .heading=${i.heading} .description=${i.description} .url=${i.url} .headingEn=${i.headingEn} .sectionHeadingEn=${i.sectionHeadingEn}></solution-resource-card>`)}</div></div>`;
18
+ const i = `section-heading-${this.heading.replace(/\s+/g, "-").toLowerCase()}`;
19
+ return t`<div class="resources-section" aria-labelledby=${i ?? s}><div class="section-header"><h2 class="section-heading" id=${i ?? s} tabindex=0>${this.heading}</h2><p class="section-subheading" tabindex=0>${this.subheading}</p></div><div class="cards-container">${this.cards.map((e) => t`<solution-resource-card .icon=${e.icon} .meridianIcon=${e.meridianIcon} .heading=${e.heading} .description=${e.description} .url=${e.url} .headingEn=${e.headingEn} .sectionHeadingEn=${e.sectionHeadingEn}></solution-resource-card>`)}</div></div>`;
19
20
  }
20
21
  }
21
- t("solutions-resources-section", a);
22
+ n("solutions-resources-section", c);
22
23
  export {
23
- a as SolutionsResourcesSection
24
+ c as SolutionsResourcesSection
24
25
  };
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as s } from "../../chunks/runtime.js";
3
- import { css as o, html as r } from "lit";
3
+ import { css as r, html as o } 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
6
  import { createRef as h, ref as p } from "lit/directives/ref.js";
@@ -9,7 +9,7 @@ const g = { heading: "Get Started", card1: { heading: "What's new in the app" },
9
9
  getStarted: g,
10
10
  documentation: u,
11
11
  support: m
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;height:auto}.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}.content-wrapper{max-width:1440px;width:100%;margin-left:auto;margin-right:auto;padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md);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-content{max-width:1440px;width:100%;margin-left:auto;margin-right:auto}.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}.assistant-open{margin-left:max(2vw,calc((100vw - 1440px)/2));margin-right:0;width:auto;max-width:1440px}`;
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-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;height:auto}.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}.content-wrapper{max-width:1440px;width:100%;margin-left:auto;margin-right:auto;padding-left:var(--calcite-spacing-md);padding-right:var(--calcite-spacing-md);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-content{max-width:1440px;width:100%;margin-left:auto;margin-right:auto}.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}.assistant-open{margin-left:max(2vw,calc((100vw - 1440px)/2));margin-right:0;width:auto;max-width:1440px}`;
13
13
  class v extends c {
14
14
  constructor() {
15
15
  super(), this.assistantOpen = !1, this._translations = d({ name: "solutions-resources-shell", blocking: !0 }), this._mainPanelRef = h(), this._panelFixed = !1, this.sortTypeChanged = l(), this.listenOn(window, "deployAppTabSelected", this._handleDeployAppTabSelected);
@@ -58,7 +58,7 @@ class v extends c {
58
58
  }
59
59
  render() {
60
60
  const e = this._translations, n = this.assistantOpen ? "assistant-open" : "";
61
- return r`<calcite-shell class="position-relative"><calcite-panel ${p(this._mainPanelRef)}><div class="resources-container"><div class="hero-banner"><div class=${`hero-content ${n}`}><h1 class="hero-heading" tabindex=0>${e.hero.heading}</h1><p class="hero-subheading" tabindex=0>${e.hero.subheading}</p></div></div><div class=${`content-wrapper ${n}`}><solutions-resources-section .heading=${e.getStarted.heading} .subheading=${e.getStarted.subheading} .cards=${[
61
+ return o`<calcite-shell class="position-relative"><calcite-panel ${p(this._mainPanelRef)}><div class="resources-container"><div class="hero-banner" aria-labelledby=resources-hero-heading><div class=${`hero-content ${n}`}><h1 class="hero-heading" id=resources-hero-heading tabindex=0>${e.hero.heading}</h1><p class="hero-subheading" tabindex=0>${e.hero.subheading}</p></div></div><div class=${`content-wrapper ${n}`}><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,
@@ -2,13 +2,13 @@
2
2
  import { c as d } from "../../chunks/runtime.js";
3
3
  import { css as u, html as n } from "lit";
4
4
  import { u as g } from "../../chunks/useT9n.js";
5
- import { LitElement as m, createEvent as a, nothing as c } from "@arcgis/lumina";
5
+ import { LitElement as S, createEvent as a, nothing as c } from "@arcgis/lumina";
6
6
  import { useContextConsumer as h } from "@arcgis/lumina/context";
7
- import { c as S, i as y } from "../../chunks/deployAppContexts.js";
7
+ import { c as m, i as y } from "../../chunks/deployAppContexts.js";
8
8
  import { k as l } from "../../chunks/helpers.js";
9
9
  import { c as p } from "../../chunks/interfaces.js";
10
- const f = u`.toolbar-sizing{display:flex;align-items:center;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box;height:65px}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-color-focus: transparent;--calcite-input-text-border-color: transparent;--calcite-color-border-input: transparent;--calcite-color-brand: transparent;display:grid;block-size:65px;box-sizing:border-box;border-bottom:2px solid transparent}@media(prefers-color-scheme:dark){calcite-input-text:focus{border-bottom:2px solid #009AF2}}@media(prefers-color-scheme:light){calcite-input-text:focus{border-bottom:2px solid #007AC2}}.padding-end-1-2{padding-inline-end:.5rem}`;
11
- class _ extends m {
10
+ const _ = u`.toolbar-sizing{display:flex;align-items:center;padding-right:0;padding-left:0;margin-left:auto;margin-right:auto;box-sizing:border-box;height:65px}.flex-row{display:flex;flex-direction:row}.flex-grow-1{flex-grow:1}calcite-input-text{--calcite-color-focus: transparent;--calcite-input-text-border-color: transparent;--calcite-color-border-input: transparent;--calcite-color-brand: transparent;display:grid;block-size:65px;box-sizing:border-box;border-bottom:2px solid transparent}@media(prefers-color-scheme:dark){calcite-input-text:focus{border-bottom:2px solid #009AF2}}@media(prefers-color-scheme:light){calcite-input-text:focus{border-bottom:2px solid #007AC2}}.padding-end-1-2{padding-inline-end:.5rem}`;
11
+ class f extends S {
12
12
  constructor() {
13
13
  super(), this.defaultSortType = "relevance", this.isOrgSolutions = !1, this._activeSearchSortSettings = [
14
14
  {
@@ -30,7 +30,7 @@ class _ extends m {
30
30
  }
31
31
  }
32
32
  ], this._isMobile = !1, this._canViewOrg = !1, this._translations = g({ name: "solutions-searchsort-toolbar", blocking: !0 }), this._configContextConsumer = h({
33
- context: S,
33
+ context: m,
34
34
  subscribe: !0,
35
35
  callback: async (t) => {
36
36
  t && t.authentication && (this._canViewOrg = t.authentication.CanViewOrg);
@@ -59,7 +59,7 @@ class _ extends m {
59
59
  this.properties = { defaultSortType: [0, { type: String, attribute: "default-sort-type" }], isOrgSolutions: 5, scope: 1, _activeSearchSortSettings: 16, _isMobile: 16, _canViewOrg: 16, _translations: 16 };
60
60
  }
61
61
  static {
62
- this.styles = f;
62
+ this.styles = _;
63
63
  }
64
64
  changeOwnerFilter(t) {
65
65
  this.isOrgSolutions = !t, this._activeSearchSortSettings = this._activeSearchSortSettings.map((s) => s.scope === this.scope ? {
@@ -103,7 +103,7 @@ class _ extends m {
103
103
  }
104
104
  render() {
105
105
  const t = this.scope === "all-solutions" || this.scope === "deployments" && this._configContextConsumer.value?.authentication?.IsSignedIn, e = t ? this._getCurrentScopeSetting() : void 0, s = this.scope === "deployments" ? this._translations.search.deployments : this._translations.search.solutions, i = this._isMobile ? "padding-end-1-2" : "";
106
- return t ? n`<div class="flex-row toolbar-sizing"><calcite-input-text class="flex-grow-1" clearable icon=search @calciteInputTextChange=${(r) => {
106
+ return t ? n`<div class="flex-row toolbar-sizing"><calcite-input-text class="flex-grow-1" clearable icon=search .label=${s} @calciteInputTextChange=${(r) => {
107
107
  const o = r.target;
108
108
  this.changeSearchFilter(o.value, !0, !1);
109
109
  }} @keyup=${(r) => {
@@ -112,7 +112,7 @@ class _ extends m {
112
112
  }} .placeholder=${s} scale=l slot=content-top .value=${e?.searchTerm}></calcite-input-text>${this._isMobile && this.scope === "all-solutions" ? n`<calcite-button appearance=transparent class=${`focus-color ${i}`} icon-start=filter kind=neutral .label=${this._translations.showFilters} @click=${this._toggleFilter}></calcite-button>` : ""}${this.scope === "deployments" && this._canViewOrg && this._renderOwnerBlock() || ""}${this._renderDropdown()}</div>` : "";
113
113
  }
114
114
  _renderOwnerBlock() {
115
- return n`<calcite-dropdown width=m overlay-positioning=fixed><calcite-button appearance=transparent class="header-button-padding" .iconStart=${this.isOrgSolutions ? "organization" : "user"} kind=neutral slot=trigger>${this._isMobile ? "" : this.isOrgSolutions ? this._translations.myOrgSolutions : this._translations.mySolutions}</calcite-button><calcite-dropdown-group group-title=${this._translations.filterBy ?? c}><calcite-dropdown-item icon-start=user @click=${(t) => {
115
+ return n`<calcite-dropdown width=m overlay-positioning=fixed><calcite-button appearance=transparent class="header-button-padding" .iconStart=${this.isOrgSolutions ? "organization" : "user"} kind=neutral .label=${this.isOrgSolutions ? this._translations.myOrgSolutions : this._translations.mySolutions} slot=trigger>${this._isMobile ? "" : this.isOrgSolutions ? this._translations.myOrgSolutions : this._translations.mySolutions}</calcite-button><calcite-dropdown-group group-title=${this._translations.filterBy ?? c}><calcite-dropdown-item icon-start=user @click=${(t) => {
116
116
  t.detail !== 0 && this.changeOwnerFilter(!0);
117
117
  }} @keydown=${(t) => l(t, () => this.changeOwnerFilter(!0))} .selected=${!this.isOrgSolutions}>${this._translations.mySolutions}</calcite-dropdown-item><calcite-dropdown-item icon-start=organization @click=${(t) => {
118
118
  t.detail !== 0 && this.changeOwnerFilter(!1);
@@ -140,7 +140,7 @@ class _ extends m {
140
140
  sortType: "suggested"
141
141
  }));
142
142
  const e = this._getCurrentScopeSetting();
143
- return n`<calcite-dropdown width=m><calcite-button appearance=transparent class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this._isMobile ? "" : e?.sortType ? this._getString(e.sortType) : ""}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType ?? c}>${t.map((s) => this._getDropdownItem(s.displayValue, s.sortType))}</calcite-dropdown-group></calcite-dropdown>`;
143
+ return n`<calcite-dropdown width=m><calcite-button appearance=transparent class="header-button-padding" icon-start=sort-descending kind=neutral .label=${e?.sortType ? this._getString(e.sortType) : this._translations.chooseSortType} slot=trigger>${this._isMobile ? "" : e?.sortType ? this._getString(e.sortType) : ""}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType ?? c}>${t.map((s) => this._getDropdownItem(s.displayValue, s.sortType))}</calcite-dropdown-group></calcite-dropdown>`;
144
144
  }
145
145
  _getDropdownItem(t, e) {
146
146
  const s = this._getCurrentScopeSetting();
@@ -186,7 +186,7 @@ class _ extends m {
186
186
  this._activeSearchSortSettings.some((i) => i.scope === e ? (s = i, !0) : !1), s && this.updateUrlParams.emit(s);
187
187
  }
188
188
  }
189
- d("solutions-searchsort-toolbar", _);
189
+ d("solutions-searchsort-toolbar", f);
190
190
  export {
191
- _ as SolutionsSearchSortToolbar
191
+ f as SolutionsSearchSortToolbar
192
192
  };