@arcgis/portal-components 6.0.0-next.37 → 6.0.0-next.39

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 (218) hide show
  1. package/dist/cdn/2574FNAZ.js +2 -0
  2. package/dist/cdn/3DOZPC3W.js +2 -0
  3. package/dist/cdn/{R5LNWMD4.js → 3HZI6MKD.js} +1 -1
  4. package/dist/cdn/{ASLKTYLX.js → 3KGSWW6B.js} +1 -1
  5. package/dist/cdn/{VWV2LCNA.js → 3OL7A2UC.js} +1 -1
  6. package/dist/cdn/3Q7UJKKN.js +2 -0
  7. package/dist/cdn/43A74S72.js +2 -0
  8. package/dist/cdn/46HNNQAD.js +2 -0
  9. package/dist/cdn/46MYBPSS.js +2 -0
  10. package/dist/cdn/{H25PBZPU.js → 47DKAGRV.js} +1 -1
  11. package/dist/cdn/{5VFGR7LA.js → 4CBRO7JP.js} +1 -1
  12. package/dist/cdn/{NLFBHNSX.js → 5M25PCH2.js} +1 -1
  13. package/dist/cdn/5MLBK66O.js +2 -0
  14. package/dist/cdn/5RBH3LGK.js +2 -0
  15. package/dist/cdn/5ZHNRQOW.js +2 -0
  16. package/dist/cdn/62TL6V4N.js +2 -0
  17. package/dist/cdn/{IWQ5I2DD.js → 66VV7NHO.js} +1 -1
  18. package/dist/cdn/{US37IXWO.js → 6AHPTR2E.js} +1 -1
  19. package/dist/cdn/{ZQ6SGKLT.js → 6APPSZ7E.js} +1 -1
  20. package/dist/cdn/{XH6RD5BO.js → 6CUXEL27.js} +1 -1
  21. package/dist/cdn/{6HNKQNS5.js → 6QI7DAS2.js} +1 -1
  22. package/dist/cdn/{324F5URQ.js → 6ZJNZZPC.js} +1 -1
  23. package/dist/cdn/{5CEFJTG4.js → 75CT6IMW.js} +1 -1
  24. package/dist/cdn/{CJ4S56BE.js → 7J22VLBO.js} +1 -1
  25. package/dist/cdn/7VPB6Q55.js +63 -0
  26. package/dist/cdn/7ZU43BL6.js +2 -0
  27. package/dist/cdn/A5QLPZ57.js +2 -0
  28. package/dist/cdn/AZTAWZI5.js +2 -0
  29. package/dist/cdn/{WIUFH5SJ.js → BNWJUQDF.js} +1 -1
  30. package/dist/cdn/{UBPCKCW2.js → BUYOYUA2.js} +1 -1
  31. package/dist/cdn/BX7Q3V2Y.js +43 -0
  32. package/dist/cdn/BXPNB7VJ.js +2 -0
  33. package/dist/cdn/{4Y73LE7P.js → BZEKNJUA.js} +1 -1
  34. package/dist/cdn/{WCZJXBW3.js → C6RUWLEJ.js} +1 -1
  35. package/dist/cdn/C7SNE6YG.js +2 -0
  36. package/dist/cdn/DENQY4OE.js +2 -0
  37. package/dist/cdn/DT4HGMLS.js +2 -0
  38. package/dist/cdn/{NYBLHT3F.js → DTGPLVZF.js} +1 -1
  39. package/dist/cdn/DU2R3VC4.js +2 -0
  40. package/dist/cdn/{RJRTGF33.js → E5HCHRAI.js} +1 -1
  41. package/dist/cdn/{IX4WEZZ2.js → EBL7YSRM.js} +1 -1
  42. package/dist/cdn/EDGE3T36.js +2 -0
  43. package/dist/cdn/{HBO7XTIL.js → EFMYI4L2.js} +1 -1
  44. package/dist/cdn/{XOM3GLYF.js → FFL2L4X5.js} +1 -1
  45. package/dist/cdn/{PST62OKJ.js → FIAEPK5L.js} +1 -1
  46. package/dist/cdn/{L25GEXL6.js → FTKSVLDI.js} +1 -1
  47. package/dist/cdn/{QMIVFHQE.js → G272JPUS.js} +1 -1
  48. package/dist/cdn/{D52TYBRX.js → GFUKRB6D.js} +1 -1
  49. package/dist/cdn/{ZGSAH7Z7.js → GG6U75ZA.js} +1 -1
  50. package/dist/cdn/{O4YFPGD5.js → GZ4ONSFV.js} +1 -1
  51. package/dist/cdn/{YP7T6NKR.js → HOIZXTOD.js} +1 -1
  52. package/dist/cdn/{DV57AOBF.js → IAMPUXPT.js} +1 -1
  53. package/dist/cdn/{AUM2QTBQ.js → IAWL475A.js} +1 -1
  54. package/dist/cdn/IGLODZPX.js +2 -0
  55. package/dist/cdn/{KTWSNYYZ.js → IOF72CDU.js} +1 -1
  56. package/dist/cdn/ITRJGXFV.js +93 -0
  57. package/dist/cdn/{EDQSL2P3.js → ITWLFQI4.js} +1 -1
  58. package/dist/cdn/{B343BOVA.js → IYICIRGI.js} +1 -1
  59. package/dist/cdn/{OVAOMUO3.js → JFGXTJY4.js} +1 -1
  60. package/dist/cdn/{5E4EL6TF.js → JIU6MBGB.js} +1 -1
  61. package/dist/cdn/{5Y32T5IJ.js → JTA223NH.js} +1 -1
  62. package/dist/cdn/KA2MXQTR.js +2 -0
  63. package/dist/cdn/KAK6CNI7.js +2 -0
  64. package/dist/cdn/{5S4JV6IY.js → KPZGBBDG.js} +1 -1
  65. package/dist/cdn/{M664QA6J.js → KRO5XRZ7.js} +1 -1
  66. package/dist/cdn/KWL2D56D.js +3 -0
  67. package/dist/cdn/{BRWHEYLW.js → KXVXQYIB.js} +1 -1
  68. package/dist/cdn/L3YOPSRB.js +135 -0
  69. package/dist/cdn/{QF626JXP.js → LEESUFWE.js} +1 -1
  70. package/dist/cdn/{CMNTOT5D.js → LGKI24ZT.js} +1 -1
  71. package/dist/cdn/LTD5KLLE.js +2 -0
  72. package/dist/cdn/{VFECPSKA.js → MB32XRI5.js} +1 -1
  73. package/dist/cdn/{3T3QBPC3.js → MSL36HAR.js} +1 -1
  74. package/dist/cdn/{ARAHDT2O.js → N3WRMPM6.js} +1 -1
  75. package/dist/cdn/N47MW5HI.js +9 -0
  76. package/dist/cdn/{G7DJPREL.js → N7XYFVOI.js} +1 -1
  77. package/dist/cdn/{WZFGZEQI.js → NU4K2AV3.js} +1 -1
  78. package/dist/cdn/{ESKKH4DE.js → ONRTCGLU.js} +1 -1
  79. package/dist/cdn/{WSQLSDQY.js → OPI4P6VO.js} +1 -1
  80. package/dist/cdn/{YYKKXL62.js → OPMM7QH5.js} +1 -1
  81. package/dist/cdn/{PRBP4AP6.js → OXF2WDSW.js} +1 -1
  82. package/dist/cdn/P3FFM322.js +2 -0
  83. package/dist/cdn/QAXFE5DD.js +2 -0
  84. package/dist/cdn/{6EMK2BU6.js → QKRLO5CJ.js} +1 -1
  85. package/dist/cdn/{FVHP6PFG.js → R26RBXQW.js} +1 -1
  86. package/dist/cdn/R6KJVAX3.js +99 -0
  87. package/dist/cdn/RA2NMLMP.js +2 -0
  88. package/dist/cdn/{365ICWHN.js → RJXIU4GH.js} +1 -1
  89. package/dist/cdn/{6FFYU4NI.js → RKHNP3KL.js} +1 -1
  90. package/dist/cdn/RR56BOTV.js +2 -0
  91. package/dist/cdn/RTZ2TKM5.js +2 -0
  92. package/dist/cdn/RX64JXHI.js +170 -0
  93. package/dist/cdn/{26KZUWNM.js → RXMM6CFK.js} +1 -1
  94. package/dist/cdn/{JA3GGSJJ.js → S4N5QMSN.js} +1 -1
  95. package/dist/cdn/{3CXU5CCM.js → SCLYGIHM.js} +1 -1
  96. package/dist/cdn/{PJZZIITX.js → SLK7PV62.js} +1 -1
  97. package/dist/cdn/{SUA7ZZUH.js → SUN4MBT3.js} +1 -1
  98. package/dist/cdn/SYXCSFIA.js +2 -0
  99. package/dist/cdn/{3QWNGHAK.js → TBSNDRRE.js} +1 -1
  100. package/dist/cdn/TP7V25GT.js +2 -0
  101. package/dist/cdn/{FGDSHTJ5.js → UBMZBXT7.js} +1 -1
  102. package/dist/cdn/UIK6LPA7.js +2 -0
  103. package/dist/cdn/{7DAB2CEU.js → VQRMXBPQ.js} +1 -1
  104. package/dist/cdn/{AM3UTQWH.js → VWOBCSD6.js} +1 -1
  105. package/dist/cdn/{C3F24ZOM.js → W3JJBZYX.js} +1 -1
  106. package/dist/cdn/W6WVMRGQ.js +2 -0
  107. package/dist/cdn/{TO666HVV.js → WNXDXB3M.js} +1 -1
  108. package/dist/cdn/{XEVOU7SJ.js → WOSWA2VI.js} +1 -1
  109. package/dist/cdn/{DMS3R2W5.js → WTKLB3R6.js} +1 -1
  110. package/dist/cdn/{LR33CLTB.js → X7W4VJO7.js} +1 -1
  111. package/dist/cdn/{CIRCDM5E.js → XCOP6QHA.js} +1 -1
  112. package/dist/cdn/{C4GK263H.js → XVV75AX3.js} +1 -1
  113. package/dist/cdn/XYHIVGUK.js +2 -0
  114. package/dist/cdn/{2GZVUHL5.js → Y4JOEFBJ.js} +1 -1
  115. package/dist/cdn/{CNEJPW3I.js → Y7ZCEONL.js} +1 -1
  116. package/dist/cdn/YELHAJB3.js +2 -0
  117. package/dist/cdn/YH2OFXPU.js +2 -0
  118. package/dist/cdn/{HVQ7FKJ5.js → YYVLFAFT.js} +1 -1
  119. package/dist/cdn/{BX2LXI3N.js → ZDH4KVAV.js} +1 -1
  120. package/dist/cdn/{SO3IBFEU.js → ZECUXVTO.js} +1 -1
  121. package/dist/cdn/ZG7OW456.js +2 -0
  122. package/dist/cdn/{7BFTXD5J.js → ZLNBCJE4.js} +1 -1
  123. package/dist/cdn/{GC4BV7IZ.js → ZNNEU5QW.js} +1 -1
  124. package/dist/cdn/assets/portal-item-status-card/t9n/messages.en.json +1 -0
  125. package/dist/cdn/assets/portal-review-layer-sharing/t9n/messages.en.json +1 -0
  126. package/dist/cdn/index.js +1 -1
  127. package/dist/cdn/main.css +1 -1
  128. package/dist/chunks/constants.js +7 -0
  129. package/dist/chunks/contextUsage.js +208 -0
  130. package/dist/chunks/createPortalTool.js +8 -8
  131. package/dist/chunks/fieldAddDelete.js +1 -1
  132. package/dist/chunks/groups2.js +1 -1
  133. package/dist/chunks/help.js +22 -0
  134. package/dist/chunks/item.js +29 -25
  135. package/dist/chunks/item2.js +66 -30
  136. package/dist/chunks/itemThumbnail.js +1 -1
  137. package/dist/chunks/items.js +11 -11
  138. package/dist/chunks/layers.js +1 -1
  139. package/dist/chunks/portal-item-preview-sublayer.js +1 -1
  140. package/dist/chunks/portal-item-status-card.js +81 -0
  141. package/dist/chunks/portal.js +2 -2
  142. package/dist/chunks/portal2.js +1 -1
  143. package/dist/chunks/previewSessionController.js +33 -0
  144. package/dist/chunks/request.js +9 -9
  145. package/dist/chunks/services.js +1 -1
  146. package/dist/chunks/user.js +2 -2
  147. package/dist/chunks/utils2.js +4 -4
  148. package/dist/components/arcgis-portal-ai-assistant/customElement.js +241 -219
  149. package/dist/components/arcgis-portal-ai-assistant/index.js +1 -0
  150. package/dist/components/arcgis-portal-ai-assistant-diagnostics/contextUsage.d.ts +46 -0
  151. package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.d.ts +26 -0
  152. package/dist/components/arcgis-portal-ai-assistant-diagnostics/customElement.js +46 -0
  153. package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.d.ts +1 -0
  154. package/dist/components/arcgis-portal-ai-assistant-diagnostics/index.js +10 -0
  155. package/dist/components/arcgis-portal-delete-items/customElement.js +95 -110
  156. package/dist/components/arcgis-portal-entity-picker/customElement.js +1 -1
  157. package/dist/components/arcgis-portal-field-delete/customElement.js +1 -1
  158. package/dist/components/arcgis-portal-group-browser/customElement.js +62 -90
  159. package/dist/components/arcgis-portal-group-thumbnail/customElement.js +1 -1
  160. package/dist/components/arcgis-portal-item-share-summary/customElement.js +1 -1
  161. package/dist/components/arcgis-portal-item-status-card/customElement.d.ts +82 -0
  162. package/dist/components/arcgis-portal-item-status-card/customElement.js +12 -0
  163. package/dist/components/arcgis-portal-item-status-card/index.d.ts +1 -0
  164. package/dist/components/arcgis-portal-item-status-card/index.js +4 -0
  165. package/dist/components/arcgis-portal-navigation/customElement.js +1 -1
  166. package/dist/components/arcgis-portal-navigation/index.js +4 -4
  167. package/dist/components/arcgis-portal-review-layer-sharing/customElement.d.ts +139 -0
  168. package/dist/components/arcgis-portal-review-layer-sharing/customElement.js +593 -0
  169. package/dist/components/arcgis-portal-review-layer-sharing/index.d.ts +1 -0
  170. package/dist/components/arcgis-portal-review-layer-sharing/index.js +10 -0
  171. package/dist/components/arcgis-portal-review-layer-sharing/types.d.ts +27 -0
  172. package/dist/components/arcgis-portal-user-popup/customElement.js +1 -1
  173. package/dist/docs/api.json +1 -1
  174. package/dist/docs/docs.json +1 -1
  175. package/dist/docs/vscode.html-custom-data.json +1 -1
  176. package/dist/docs/web-types.json +1 -1
  177. package/dist/index.d.ts +24 -0
  178. package/dist/index.js +1 -1
  179. package/dist/loader.js +3 -0
  180. package/dist/types/item.d.ts +2 -0
  181. package/dist/types/lumina.d.ts +18 -0
  182. package/dist/types/preact.d.ts +21 -0
  183. package/dist/types/react.d.ts +24 -0
  184. package/dist/types/stencil.d.ts +18 -0
  185. package/package.json +10 -10
  186. package/dist/cdn/234TH32X.js +0 -106
  187. package/dist/cdn/25K5D5HL.js +0 -2
  188. package/dist/cdn/4KTRAA2J.js +0 -2
  189. package/dist/cdn/4X4EYM3Q.js +0 -2
  190. package/dist/cdn/4YJGTINX.js +0 -2
  191. package/dist/cdn/A3OUZJ44.js +0 -2
  192. package/dist/cdn/ASID6YW7.js +0 -135
  193. package/dist/cdn/AYESDOK5.js +0 -2
  194. package/dist/cdn/BOEGDK4D.js +0 -2
  195. package/dist/cdn/CBFFZMX4.js +0 -2
  196. package/dist/cdn/FACH2JTF.js +0 -2
  197. package/dist/cdn/FGRMURKX.js +0 -2
  198. package/dist/cdn/GBG25IJ2.js +0 -2
  199. package/dist/cdn/H6MGSC3Y.js +0 -2
  200. package/dist/cdn/IKRGN33H.js +0 -93
  201. package/dist/cdn/K3GAZFRI.js +0 -63
  202. package/dist/cdn/LBW47BJG.js +0 -2
  203. package/dist/cdn/LRL2RJID.js +0 -2
  204. package/dist/cdn/MHQ5BATZ.js +0 -2
  205. package/dist/cdn/NJB24AIV.js +0 -2
  206. package/dist/cdn/NQ2IAQKL.js +0 -41
  207. package/dist/cdn/OEG4XCKY.js +0 -2
  208. package/dist/cdn/OHAQPQAP.js +0 -2
  209. package/dist/cdn/OYTK2VF2.js +0 -2
  210. package/dist/cdn/QPBWKASC.js +0 -2
  211. package/dist/cdn/RJ3SU3EV.js +0 -2
  212. package/dist/cdn/U2HTYOBB.js +0 -150
  213. package/dist/cdn/VLD3MVSG.js +0 -2
  214. package/dist/cdn/WMKG3CBK.js +0 -2
  215. package/dist/cdn/X4R2NVDQ.js +0 -2
  216. package/dist/cdn/X7C4PAJY.js +0 -2
  217. package/dist/cdn/YGZICQBT.js +0 -2
  218. package/dist/cdn/YNGFN7AY.js +0 -2
@@ -1,13 +1,13 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { c as E } from "../../chunks/runtime.js";
3
- import { css as L, html as u } from "lit";
4
- import { keyed as q } from "lit/directives/keyed.js";
3
+ import { css as q, html as u } from "lit";
4
+ import { keyed as D } from "lit/directives/keyed.js";
5
5
  import { substitute as f } from "@arcgis/core/intl.js";
6
- import { LitElement as D, createEvent as g, nothing as U, safeClassMap as Q } from "@arcgis/lumina";
6
+ import { LitElement as L, createEvent as g, nothing as U, safeClassMap as Q } from "@arcgis/lumina";
7
7
  import { u as R } from "../../chunks/useT9n.js";
8
8
  import { a as $, i as w } from "../../chunks/functionalities.js";
9
- import { b as z, a as H, r as T } from "../../chunks/string.js";
10
- import { i as V } from "../../chunks/users.js";
9
+ import { b as z, a as V, r as T } from "../../chunks/string.js";
10
+ import { i as H } from "../../chunks/users.js";
11
11
  import "../arcgis-portal-browser-search/customElement.js";
12
12
  import "../arcgis-portal-browser-top-bar/customElement.js";
13
13
  import { c as N, a as j } from "../../chunks/portal-browser.js";
@@ -19,16 +19,17 @@ import { i as J, g as X, b as Y, a as Z, c as ee, d as re } from "../../chunks/q
19
19
  import { s as se } from "../../chunks/groups2.js";
20
20
  import { g as b, a as v, d as x, w as te } from "../../chunks/portal-browser-filter-date.js";
21
21
  import { b as O } from "../../chunks/ui.js";
22
- import { watch as ie } from "@arcgis/core/core/reactiveUtils.js";
23
- import { PortalGroupBrowserSort as oe } from "../portal-group-browser-sort/customElement.js";
24
- import { PortalGroupBrowserPagination as ae } from "../portal-group-browser-pagination/customElement.js";
25
- import { PortalGroupBrowserFilters as ne } from "../portal-group-browser-filters/customElement.js";
22
+ import { c as ie } from "../../chunks/previewSessionController.js";
23
+ import { watch as oe } from "@arcgis/core/core/reactiveUtils.js";
24
+ import { PortalGroupBrowserSort as ae } from "../portal-group-browser-sort/customElement.js";
25
+ import { PortalGroupBrowserPagination as ne } from "../portal-group-browser-pagination/customElement.js";
26
+ import { PortalGroupBrowserFilters as le } from "../portal-group-browser-filters/customElement.js";
26
27
  const M = {
27
28
  select: "arcgisGroupCardSelect",
28
29
  preview: "arcgisGroupBrowserCardPreview"
29
- }, le = L`:host{position:relative;background-color:var(--calcite-color-background);display:flex;flex-direction:column;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;--portal-group-browser-max-width: var(--group-browser-max-width, 100%);--portal-group-browser-pane-width: 18.75rem;--portal-group-browser-pane-z-index: 11;container-type:inline-size;container-name:portal-group-browser}arcgis-portal-browser{--arcgis-browser-max-width: var(--portal-group-browser-max-width);--arcgis-browser-pane-width: var(--portal-group-browser-pane-width);--arcgis-browser-pane-z-index: var(--portal-group-browser-pane-z-index)}.filters-title__heading{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);line-height:1.2;margin:0;padding:1rem .5rem}.filters-title:has(>slot[name=before-filters][data-has-before-filters=true]) .filters-title__heading{border-bottom:1px solid var(--calcite-color-border-2)}.filters-shell{display:block}.filters-shell__top{padding:0}.filters-shell__top--padded{padding:0 1rem 1rem}.filter__accordion-item{--calcite-accordion-item-content-space: .75rem .25rem;--calcite-accordion-icon-margin: .5rem;border-top:1px solid var(--calcite-color-border-1)}.filter__actions-slot{display:flex;align-self:center;align-items:center;line-height:0}.filter__content{margin:0}.filter__content--padded{margin:-.75rem .5rem 0}.filter__content>calcite-tree>calcite-tree-item>a{padding-block:.25rem}.clear-button{line-height:1;margin-inline:.25rem}.custom-date-picker{margin-block:.5rem;margin-inline-start:1.75rem;width:12.75rem}.groups-by-user__label{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.special-groups-settings-option{display:inline-flex;align-items:center;gap:.25rem}.special-groups-settings-icon{display:inline-flex;align-items:center}.group-browser__results{display:grid;gap:.5rem}.group-browser__results--compact{gap:0}.group-browser__result-card{margin:0}@container portal-group-browser (max-width: 640px){arcgis-portal-browser{--portal-group-browser-pane-width: 100%}}.empty-text-slot{width:100%;height:100%;display:flex;justify-content:center}.empty-text-slot__default{@apply max-w-lg mx-auto px-6 pb-16;max-width:32rem;margin-inline:auto;padding-inline:1.5rem;padding-bottom:4rem;margin-top:min(8rem,30vh)}`;
30
- async function ce(t, e) {
31
- const r = pe(e), s = me(e), i = !!e.searchUser?.trim();
30
+ }, ce = q`:host{position:relative;background-color:var(--calcite-color-background);display:flex;flex-direction:column;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;--portal-group-browser-max-width: var(--group-browser-max-width, 100%);--portal-group-browser-pane-width: 18.75rem;--portal-group-browser-pane-z-index: 11;container-type:inline-size;container-name:portal-group-browser}arcgis-portal-browser{--arcgis-browser-max-width: var(--portal-group-browser-max-width);--arcgis-browser-pane-width: var(--portal-group-browser-pane-width);--arcgis-browser-pane-z-index: var(--portal-group-browser-pane-z-index)}.filters-title__heading{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);line-height:1.2;margin:0;padding:1rem .5rem}.filters-title:has(>slot[name=before-filters][data-has-before-filters=true]) .filters-title__heading{border-bottom:1px solid var(--calcite-color-border-2)}.filters-shell{display:block}.filters-shell__top{padding:0}.filters-shell__top--padded{padding:0 1rem 1rem}.filter__accordion-item{--calcite-accordion-item-content-space: .75rem .25rem;--calcite-accordion-icon-margin: .5rem;border-top:1px solid var(--calcite-color-border-1)}.filter__actions-slot{display:flex;align-self:center;align-items:center;line-height:0}.filter__content{margin:0}.filter__content--padded{margin:-.75rem .5rem 0}.filter__content>calcite-tree>calcite-tree-item>a{padding-block:.25rem}.clear-button{line-height:1;margin-inline:.25rem}.custom-date-picker{margin-block:.5rem;margin-inline-start:1.75rem;width:12.75rem}.groups-by-user__label{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.special-groups-settings-option{display:inline-flex;align-items:center;gap:.25rem}.special-groups-settings-icon{display:inline-flex;align-items:center}.group-browser__results{display:grid;gap:.5rem}.group-browser__results--compact{gap:0}.group-browser__result-card{margin:0}@container portal-group-browser (max-width: 640px){arcgis-portal-browser{--portal-group-browser-pane-width: 100%}}.empty-text-slot{width:100%;height:100%;display:flex;justify-content:center}.empty-text-slot__default{@apply max-w-lg mx-auto px-6 pb-16;max-width:32rem;margin-inline:auto;padding-inline:1.5rem;padding-bottom:4rem;margin-top:min(8rem,30vh)}`;
31
+ async function he(t, e) {
32
+ const r = me(e), s = ue(e), i = !!e.searchUser?.trim();
32
33
  if (!r.trim() && !i)
33
34
  return {
34
35
  nextStart: -1,
@@ -46,31 +47,31 @@ async function ce(t, e) {
46
47
  queryParams: n
47
48
  };
48
49
  }
49
- const he = ["created", "modified", "owner", "title"];
50
- function de(t) {
51
- return !!t && he.includes(t);
52
- }
50
+ const de = ["created", "modified", "owner", "title"];
53
51
  function pe(t) {
52
+ return !!t && de.includes(t);
53
+ }
54
+ function me(t) {
54
55
  const e = [], r = t.baseQuery?.trim();
55
56
  r && e.push(r);
56
57
  const s = t.searchTerm?.trim();
57
58
  s && e.push(z(s));
58
59
  for (const i of Object.values(t.filters ?? {}))
59
60
  typeof i.value == "string" && i.value.trim() && e.push(i.value), typeof i.additionalParams == "string" && i.additionalParams.trim() && e.push(i.additionalParams);
60
- return H(...e);
61
+ return V(...e);
61
62
  }
62
- function me(t) {
63
+ function ue(t) {
63
64
  return {
64
65
  num: t.num,
65
66
  start: t.start,
66
67
  ...t.searchUser ? { searchUserAccess: "groupMember", searchUserName: t.searchUser } : {},
67
- ...t.sortField === "relevance" || !de(t.sortField) ? {} : {
68
+ ...t.sortField === "relevance" || !pe(t.sortField) ? {} : {
68
69
  sortField: t.sortField,
69
70
  sortOrder: t.sortOrder
70
71
  }
71
72
  };
72
73
  }
73
- function ue(t, e, r) {
74
+ function ge(t, e, r) {
74
75
  switch (t) {
75
76
  case "yesterday": {
76
77
  const s = b();
@@ -90,7 +91,7 @@ function ue(t, e, r) {
90
91
  return $(t);
91
92
  }
92
93
  }
93
- const ge = ["created", "modified", "owner", "relevance", "title"], we = ["asc", "desc"], fe = ["custom", "last7", "last30", "never", "today", "yesterday"], be = ["inOrg", "outsideOrg", "owner"], ve = ["anyOrg", "collaboration", "org"], ye = ["anotherOrg", "myOrg"], Fe = ["admin", "distributed", "openData", "settings", "sharedUpdate"], Ge = ["org", "private", "public"], Se = [
94
+ const we = ["created", "modified", "owner", "relevance", "title"], fe = ["asc", "desc"], be = ["custom", "last7", "last30", "never", "today", "yesterday"], ve = ["inOrg", "outsideOrg", "owner"], ye = ["anyOrg", "collaboration", "org"], Ge = ["anotherOrg", "myOrg"], Se = ["admin", "distributed", "openData", "settings", "sharedUpdate"], Fe = ["org", "private", "public"], Oe = [
94
95
  "access",
95
96
  "created",
96
97
  "created_from",
@@ -117,7 +118,7 @@ function y(t) {
117
118
  }
118
119
  function k(t, e) {
119
120
  const r = t.get(e);
120
- if (!w(fe, r))
121
+ if (!w(be, r))
121
122
  return;
122
123
  if (r !== "custom")
123
124
  return { range: r };
@@ -132,28 +133,28 @@ function I(t) {
132
133
  const e = t.get("searchTerm")?.trim() || t.get("q")?.trim() || void 0, r = t.get("sortField"), s = t.get("sortOrder"), i = y(t.get("start")), n = y(t.get("num")), a = t.get("access"), o = t.get("memberorgids"), c = t.get("membershipaccess"), l = t.get("owner"), p = t.get("specialGroups"), h = k(t, "created"), m = k(t, "modified");
133
134
  return {
134
135
  ...e ? { searchTerm: e } : {},
135
- ...w(ge, r) ? { sortField: r } : {},
136
- ...w(we, s) ? { sortOrder: s } : {},
136
+ ...w(we, r) ? { sortField: r } : {},
137
+ ...w(fe, s) ? { sortOrder: s } : {},
137
138
  ...i ? { start: i } : {},
138
139
  ...n ? { num: n } : {},
139
140
  filters: {
140
- ...w(Ge, a) ? { access: a } : {},
141
+ ...w(Fe, a) ? { access: a } : {},
141
142
  ...h ? { created: h } : {},
142
- ...w(ye, o) ? { memberOrg: o } : {},
143
- ...w(ve, c) ? { membership: c } : {},
143
+ ...w(Ge, o) ? { memberOrg: o } : {},
144
+ ...w(ye, c) ? { membership: c } : {},
144
145
  ...m ? { modified: m } : {},
145
- ...w(be, l) ? { owner: l } : {},
146
- ...w(Fe, p) ? { specialGroups: p } : {}
146
+ ...w(ve, l) ? { owner: l } : {},
147
+ ...w(Se, p) ? { specialGroups: p } : {}
147
148
  }
148
149
  };
149
150
  }
150
151
  function B(t) {
151
- const e = I(t), { filters: r, num: s, sortField: i, sortOrder: n, start: a } = e, { access: o, created: c, memberOrg: l, membership: p, modified: h, owner: m, specialGroups: P } = r, d = {}, C = t.get("searchTerm")?.trim() || void 0, _ = t.get("q")?.trim() || void 0;
152
- return C && (d.searchTerm = C), _ && (d.q = _), i && (d.sortField = i), n && (d.sortOrder = n), a && (d.start = a), s && (d.num = s), o && (d.access = o), m && (d.owner = m), p && (d.membershipAccess = p), l && (d.memberOrgIds = l), P && (d.specialGroups = P), c?.range && (d.created = c.range), c?.start && (d.createdFrom = c.start.getTime()), c?.end && (d.createdTo = c.end.getTime()), h?.range && (d.modified = h.range), h?.start && (d.modifiedFrom = h.start.getTime()), h?.end && (d.modifiedTo = h.end.getTime()), d;
152
+ const e = I(t), { filters: r, num: s, sortField: i, sortOrder: n, start: a } = e, { access: o, created: c, memberOrg: l, membership: p, modified: h, owner: m, specialGroups: C } = r, d = {}, P = t.get("searchTerm")?.trim() || void 0, _ = t.get("q")?.trim() || void 0;
153
+ return P && (d.searchTerm = P), _ && (d.q = _), i && (d.sortField = i), n && (d.sortOrder = n), a && (d.start = a), s && (d.num = s), o && (d.access = o), m && (d.owner = m), p && (d.membershipAccess = p), l && (d.memberOrgIds = l), C && (d.specialGroups = C), c?.range && (d.created = c.range), c?.start && (d.createdFrom = c.start.getTime()), c?.end && (d.createdTo = c.end.getTime()), h?.range && (d.modified = h.range), h?.start && (d.modifiedFrom = h.start.getTime()), h?.end && (d.modifiedTo = h.end.getTime()), d;
153
154
  }
154
- function Oe(t) {
155
+ function Be(t) {
155
156
  const e = new URLSearchParams(t.currentSearchParams);
156
- return Se.forEach((r) => {
157
+ return Oe.forEach((r) => {
157
158
  e.delete(r);
158
159
  }), t.searchTerm?.trim() && e.set("searchTerm", t.searchTerm.trim()), t.sortField && e.set("sortField", t.sortField), t.sortOrder && e.set("sortOrder", t.sortOrder), Object.values(t.filters ?? {}).forEach((r) => {
159
160
  if (r)
@@ -184,7 +185,7 @@ function Oe(t) {
184
185
  }
185
186
  }), e;
186
187
  }
187
- function F(t, e = "desc") {
188
+ function G(t, e = "desc") {
188
189
  switch (t) {
189
190
  case "owner":
190
191
  case "title":
@@ -197,40 +198,11 @@ function F(t, e = "desc") {
197
198
  return e;
198
199
  }
199
200
  }
200
- function Be(t) {
201
- return !t || !(t instanceof HTMLElement) ? null : t;
202
- }
203
- async function $e(t) {
204
- if (t) {
205
- if (t.restoreFocus) {
206
- await t.restoreFocus();
207
- return;
208
- }
209
- if (t.setFocus) {
210
- await t.setFocus();
211
- return;
212
- }
213
- t.focus?.();
214
- }
215
- }
216
- function Pe(t) {
217
- let e = null;
218
- const r = async (i = {}) => {
219
- t.onClose(), i.restoreFocus && await $e(e);
220
- };
221
- return { handlePreview: (i, n) => {
222
- if (!i?.id) {
223
- r();
224
- return;
225
- }
226
- e = Be(n), t.onOpen({ preview: i });
227
- }, closePreview: r };
228
- }
229
- function Ce(t) {
201
+ function $e(t) {
230
202
  let e, r, s;
231
203
  const i = () => {
232
204
  e?.();
233
- const l = ie(
205
+ const l = oe(
234
206
  () => t.getStore().width,
235
207
  () => {
236
208
  n();
@@ -277,7 +249,7 @@ function Ce(t) {
277
249
  updateResponsiveLayout: n
278
250
  };
279
251
  }
280
- function _e(t) {
252
+ function Ce(t) {
281
253
  let e = !1;
282
254
  const r = () => !!t.getSearchParamInteraction()?.read, s = () => !!t.getSearchParamInteraction()?.write;
283
255
  return { hydrateFromLocation: async () => {
@@ -309,7 +281,7 @@ function _e(t) {
309
281
  });
310
282
  } };
311
283
  }
312
- const G = ["title", "relevance", "modified"], S = {
284
+ const S = ["title", "relevance", "modified"], F = {
313
285
  queryParams: void 0,
314
286
  nextStart: -1,
315
287
  results: [],
@@ -323,9 +295,9 @@ const G = ["title", "relevance", "modified"], S = {
323
295
  "admin",
324
296
  "settings"
325
297
  ];
326
- class Ue extends D {
298
+ class Pe extends L {
327
299
  constructor() {
328
- super(), this._messages = R({ name: "portal-group-browser", blocking: !0 }), this._browserMessages = R({ name: "portal-browser", blocking: !0 }), this.responsiveLayoutController = Ce({
300
+ super(), this._messages = R({ name: "portal-group-browser", blocking: !0 }), this._browserMessages = R({ name: "portal-browser", blocking: !0 }), this.responsiveLayoutController = $e({
329
301
  el: this.el,
330
302
  getStore: () => this.store,
331
303
  getViewportWidth: () => this.viewportWidth,
@@ -340,14 +312,14 @@ class Ue extends D {
340
312
  setResponsiveFormFactor: (e) => {
341
313
  this.responsiveFormFactor = e;
342
314
  }
343
- }), this.previewSessionController = Pe({
315
+ }), this.previewSessionController = ie({
344
316
  onOpen: ({ preview: e }) => {
345
317
  this.store.preview = e.id, this.arcgisGroupBrowserPreview.emit(e);
346
318
  },
347
319
  onClose: () => {
348
320
  this.store.preview = null, this.arcgisGroupBrowserPreview.emit(null), this.arcgisGroupBrowserSublayerPreview.emit(null);
349
321
  }
350
- }), this.browserResponse = this.getBrowserResponseFromQueryResponse(S), this.previewGroupsById = /* @__PURE__ */ new Map(), this.searchParamController = _e({
322
+ }), this.browserResponse = this.getBrowserResponseFromQueryResponse(F), this.previewGroupsById = /* @__PURE__ */ new Map(), this.searchParamController = Ce({
351
323
  applySearchParams: async (e) => {
352
324
  await this.applySearchParams(e);
353
325
  },
@@ -364,7 +336,7 @@ class Ue extends D {
364
336
  this.handleGroupCardSelect(e);
365
337
  }, this.onDelegatedGroupCardPreview = (e) => {
366
338
  this.handleGroupCardPreview(e);
367
- }, this.selectedOwner = null, this.selectedMembership = null, this.selectedMemberOrg = null, this.selectedSpecialGroup = null, this.selectedAccess = null, this.selectedGroups = [], this.queryResponse = S, this.specialGroupOptions = A, this.responsiveFormFactor = "large", this.viewportWidth = typeof window > "u" ? O.lg : window.innerWidth, this.hostWidth = 0, this.store = K({
339
+ }, this.selectedOwner = null, this.selectedMembership = null, this.selectedMemberOrg = null, this.selectedSpecialGroup = null, this.selectedAccess = null, this.selectedGroups = [], this.queryResponse = F, this.specialGroupOptions = A, this.responsiveFormFactor = "large", this.viewportWidth = typeof window > "u" ? O.lg : window.innerWidth, this.hostWidth = 0, this.store = K({
368
340
  type: "group-browser",
369
341
  width: window?.innerWidth ?? O.lg,
370
342
  hiddenFilters: [],
@@ -377,7 +349,7 @@ class Ue extends D {
377
349
  }), this.filters = {}, this.loading = !1, this.formFactor = "large", this.height = "full", this.searchTerm = "", this.messageOverrides = {}, this.hideTopBar = !1, this.cards = {}, this.preview = "top", this.q = "", this.num = 60, this.sort = {
378
350
  enabled: !0,
379
351
  props: {
380
- options: G
352
+ options: S
381
353
  }
382
354
  }, this.searchParamInteraction = {
383
355
  read: !1,
@@ -388,7 +360,7 @@ class Ue extends D {
388
360
  this.properties = { selectedGroupsByUser: 16, selectedOwner: 16, selectedMembership: 16, selectedMemberOrg: 16, selectedSpecialGroup: 16, selectedAccess: 16, selectedGroups: 16, queryResponse: 16, specialGroupOptions: 16, sortField: 16, sortOrder: 16, responsiveFormFactor: 16, viewportWidth: 16, hostWidth: 16, store: 0, filters: 0, loading: 5, formFactor: 1, height: 3, searchTerm: 1, messageOverrides: 0, hideTopBar: 5, selected: 0, view: 1, cards: 0, preview: 1, q: 1, portal: 0, num: 9, sort: 0, fetch: 0, preflight: 0, searchUser: 1, searchParamInteraction: 0, selection: 1, alwaysShowSelection: 5, hidePreviewFooter: 5, hidePreviewBadges: 5, hasIndoorsSpaces: 5 };
389
361
  }
390
362
  static {
391
- this.styles = le;
363
+ this.styles = ce;
392
364
  }
393
365
  get currentUsername() {
394
366
  return this.portal.user?.username ?? "";
@@ -451,7 +423,7 @@ class Ue extends D {
451
423
  this.selectedGroupsByUser = this.filters.groupsByUser?.props?.selectedUsername ?? this.currentUsername, this.selectedOwner = null, this.selectedMembership = null, this.selectedMemberOrg = null, this.selectedSpecialGroup = null, this.selectedAccess = null;
452
424
  }
453
425
  getSearchParamsSnapshot(e, r) {
454
- return Oe({
426
+ return Be({
455
427
  currentSearchParams: typeof window > "u" ? void 0 : new URLSearchParams(window.location.search),
456
428
  filters: this.store.filters,
457
429
  searchTerm: r,
@@ -476,7 +448,7 @@ class Ue extends D {
476
448
  this.store.filtersEmpty = !r;
477
449
  }
478
450
  syncSortFromConfig() {
479
- const e = this.sort, r = e.props?.options ?? G;
451
+ const e = this.sort, r = e.props?.options ?? S;
480
452
  if (!e.enabled) {
481
453
  this.sortField = void 0, this.sortOrder = void 0;
482
454
  return;
@@ -486,7 +458,7 @@ class Ue extends D {
486
458
  return;
487
459
  }
488
460
  const s = e.props?.field, i = s && r.includes(s) ? s : r[0];
489
- this.sortField = i, this.sortOrder = e.props?.order ?? F(i, this.sortOrder);
461
+ this.sortField = i, this.sortOrder = e.props?.order ?? G(i, this.sortOrder);
490
462
  }
491
463
  async updateSpecialGroupOptions(e = !0) {
492
464
  if (!this.portal || !this.filters.specialGroups?.enabled) {
@@ -514,15 +486,15 @@ class Ue extends D {
514
486
  async applySearchParams(e) {
515
487
  const r = I(e);
516
488
  if (!this.searchTerm && r.searchTerm && (this.searchTerm = r.searchTerm), this.sort.enabled) {
517
- const s = this.sort.props?.options ?? G;
518
- r.sortField && this.sort.props?.field === void 0 && s.includes(r.sortField) && (this.sortField = r.sortField), r.sortOrder && this.sort.props?.order === void 0 ? this.sortOrder = r.sortOrder : r.sortField && this.sort.props?.order === void 0 && (this.sortOrder = F(r.sortField, this.sortOrder));
489
+ const s = this.sort.props?.options ?? S;
490
+ r.sortField && this.sort.props?.field === void 0 && s.includes(r.sortField) && (this.sortField = r.sortField), r.sortOrder && this.sort.props?.order === void 0 ? this.sortOrder = r.sortOrder : r.sortField && this.sort.props?.order === void 0 && (this.sortOrder = G(r.sortField, this.sortOrder));
519
491
  }
520
492
  await this.applyFilterSearchParams(r.filters);
521
493
  }
522
494
  async applyFilterSearchParams(e) {
523
495
  const r = { ...this.store.filters };
524
496
  let s = !1;
525
- const i = V(this.portal.user);
497
+ const i = H(this.portal.user);
526
498
  if (e.owner && this.filters.owner?.enabled && !this.filters.owner.props?.owner) {
527
499
  const o = this.filters.owner.props?.username ?? this.currentUsername;
528
500
  r.owner = {
@@ -577,7 +549,7 @@ class Ue extends D {
577
549
  const s = this.filters[e];
578
550
  if (!s?.enabled || s.props?.range || s.props?.start || s.props?.end || !r?.range)
579
551
  return;
580
- const i = ue(r.range, r.start, r.end);
552
+ const i = ge(r.range, r.start, r.end);
581
553
  if (!i)
582
554
  return;
583
555
  const n = this._browserMessages.filterDate[r.range], [a, o] = i;
@@ -676,7 +648,7 @@ class Ue extends D {
676
648
  this.previewSessionController.closePreview(e);
677
649
  }
678
650
  async handleSortFieldChange(e) {
679
- this.sortField = e, this.sortOrder = F(e, this.sortOrder), this.loading = !0, this.arcgisGroupBrowserLoading.emit();
651
+ this.sortField = e, this.sortOrder = G(e, this.sortOrder), this.loading = !0, this.arcgisGroupBrowserLoading.emit();
680
652
  const r = this.createQuery({ start: 1, total: 0 });
681
653
  await this.fetchAndEmit(r, this.searchTerm);
682
654
  }
@@ -698,7 +670,7 @@ class Ue extends D {
698
670
  }), this.writeSearchParams(i);
699
671
  }
700
672
  async queryGroups(e) {
701
- return await (this.fetch?.(e) ?? ce(this.portal, e));
673
+ return await (this.fetch?.(e) ?? he(this.portal, e));
702
674
  }
703
675
  async fetchAndEmit(e, r) {
704
676
  this.preflight && (e = await this.preflight(e));
@@ -729,7 +701,7 @@ class Ue extends D {
729
701
  await this.fetchAndEmit(i, this.searchTerm);
730
702
  }
731
703
  getBrowserResponseFromQueryResponse(e) {
732
- const { nextStart: r, num: s, queryParams: i, results: n, start: a, total: o } = e ?? S;
704
+ const { nextStart: r, num: s, queryParams: i, results: n, start: a, total: o } = e ?? F;
733
705
  return {
734
706
  nextStart: r ?? -1,
735
707
  num: s ?? i?.num ?? 0,
@@ -765,7 +737,7 @@ class Ue extends D {
765
737
  }), n = i.length > 0 && s === "compact";
766
738
  return u`<div slot=content class=${Q({ "group-browser__results": !0, "group-browser__results--compact": n })} .part=${"results"}>${r ? u`<slot name=group-cards></slot>` : u`<slot name=group-cards>${i.map(({ group: a, cardProps: o }) => {
767
739
  const c = a.id;
768
- return q(c, u`<arcgis-portal-group-card class="group-browser__result-card" .portal=${this.portal} .group=${a} .user=${o.user} .indeterminate=${o.indeterminate} .view=${s} .selection=${this.selection} .selected=${e.has(c)} .preview=${o.preview ?? this.preview} .previewed=${o.previewed ?? this.store.preview === c} .name=${o.name} .showSummary=${o.showSummary ?? !0} .hideBadges=${o.hideBadges ?? !1} .hideDateUpdated=${o.hideDateUpdated ?? !1} .showDateCreated=${o.showDateCreated ?? !1} .hideViewableBy=${o.hideViewableBy ?? !1} .hideOwner=${o.hideOwner ?? !1} .link=${o.link} .linkHandler=${o.linkHandler} .newTab=${o.newTab ?? !1} .disabled=${o.disabled ?? !1}></arcgis-portal-group-card>`);
740
+ return D(c, u`<arcgis-portal-group-card class="group-browser__result-card" .portal=${this.portal} .group=${a} .user=${o.user} .indeterminate=${o.indeterminate} .view=${s} .selection=${this.selection} .selected=${e.has(c)} .preview=${o.preview ?? this.preview} .previewed=${o.previewed ?? this.store.preview === c} .name=${o.name} .showSummary=${o.showSummary ?? !0} .hideBadges=${o.hideBadges ?? !1} .hideDateUpdated=${o.hideDateUpdated ?? !1} .showDateCreated=${o.showDateCreated ?? !1} .hideViewableBy=${o.hideViewableBy ?? !1} .hideOwner=${o.hideOwner ?? !1} .link=${o.link} .linkHandler=${o.linkHandler} .newTab=${o.newTab ?? !1} .disabled=${o.disabled ?? !1}></arcgis-portal-group-card>`);
769
741
  })}</slot>`}</div>`;
770
742
  }
771
743
  render() {
@@ -774,17 +746,17 @@ class Ue extends D {
774
746
  s.stopPropagation(), this.closePreview({ restoreFocus: !0 });
775
747
  }} @arcgisAriaUpdate=${(s) => {
776
748
  this.arcgisAriaUpdate.emit(s.detail);
777
- }}>${!this.hideTopBar && u`<slot name=top-bar slot=top-bar>${this.renderTopBar()}</slot>` || ""}<slot name=content-start slot=content-start></slot><slot name=selection slot=selection></slot><slot name=actions slot=actions></slot><slot name=view slot=view></slot>${oe({ slot: "sort", sort: this.sort, formFactor: e, sortField: this.sortField, sortOrder: this.sortOrder, onSortFieldChange: (s) => {
749
+ }}>${!this.hideTopBar && u`<slot name=top-bar slot=top-bar>${this.renderTopBar()}</slot>` || ""}<slot name=content-start slot=content-start></slot><slot name=selection slot=selection></slot><slot name=actions slot=actions></slot><slot name=view slot=view></slot>${ae({ slot: "sort", sort: this.sort, formFactor: e, sortField: this.sortField, sortOrder: this.sortOrder, onSortFieldChange: (s) => {
778
750
  this.handleSortFieldChange(s);
779
751
  }, onSortOrderChange: (s) => {
780
752
  this.handleSortOrderChange(s);
781
- } })}${this.renderDefaultContent()}${ae({ slot: "pagination", store: this.store, total: this.queryResponse.total, start: this.queryResponse?.queryParams?.start ?? 1, num: this.queryResponse?.queryParams?.num ?? this.num, onPage: (s) => {
753
+ } })}${this.renderDefaultContent()}${ne({ slot: "pagination", store: this.store, total: this.queryResponse.total, start: this.queryResponse?.queryParams?.start ?? 1, num: this.queryResponse?.queryParams?.num ?? this.num, onPage: (s) => {
782
754
  this.handlePage(s);
783
755
  } })}<slot name=content-end slot=content-end></slot><slot name=preview slot=preview>${r && u`<arcgis-portal-group-browser-preview .group=${r} .portal=${this.portal} .user=${this.portal.user ?? void 0} .hideBadges=${this.hidePreviewBadges} .hidePreviewFooter=${this.hidePreviewFooter} .currentResponse=${this.queryResponse} .previewFooterActionsSpaced=${!this.getPreviewFooterActionsEmpty()} @arcgisGroupBrowserInternalUIAction=${(s) => {
784
756
  this.arcgisGroupBrowserInternalUIAction.emit(s.detail);
785
757
  }} @arcgisGroupBrowserPreviewClose=${() => {
786
758
  this.closePreview({ restoreFocus: !0 });
787
- }}><slot name=preview-footer-action slot=footer-action></slot></arcgis-portal-group-browser-preview>` || ""}</slot>${this.renderEmptyTextSlot("no-results", this._messages.content.noResults)}${this.renderEmptyTextSlot("no-content", this._messages.content.noContent)}<slot name=scroll-end slot=scroll-end></slot>${ne({ slot: "filters", filters: this.filters, messages: this._messages, browserMessages: this._browserMessages, store: this.store, portal: this.portal, hasIndoorsSpaces: this.hasIndoorsSpaces, selectedGroupsByUser: this.selectedGroupsByUser, selectedOwner: this.selectedOwner, selectedMembership: this.selectedMembership, selectedMemberOrg: this.selectedMemberOrg, selectedSpecialGroup: this.selectedSpecialGroup, specialGroupOptions: this.specialGroupOptions, selectedAccess: this.selectedAccess, isFilterActive: (s) => this.isFilterActive(s), handleSelect: (s) => {
759
+ }}><slot name=preview-footer-action slot=footer-action></slot></arcgis-portal-group-browser-preview>` || ""}</slot>${this.renderEmptyTextSlot("no-results", this._messages.content.noResults)}${this.renderEmptyTextSlot("no-content", this._messages.content.noContent)}<slot name=scroll-end slot=scroll-end></slot>${le({ slot: "filters", filters: this.filters, messages: this._messages, browserMessages: this._browserMessages, store: this.store, portal: this.portal, hasIndoorsSpaces: this.hasIndoorsSpaces, selectedGroupsByUser: this.selectedGroupsByUser, selectedOwner: this.selectedOwner, selectedMembership: this.selectedMembership, selectedMemberOrg: this.selectedMemberOrg, selectedSpecialGroup: this.selectedSpecialGroup, specialGroupOptions: this.specialGroupOptions, selectedAccess: this.selectedAccess, isFilterActive: (s) => this.isFilterActive(s), handleSelect: (s) => {
788
760
  this.setFilterSelection(s);
789
761
  }, handleUserFilterChange: (s) => {
790
762
  this.arcgisGroupBrowserUserFilterChange.emit(s);
@@ -795,7 +767,7 @@ class Ue extends D {
795
767
  } })}</arcgis-portal-browser>`;
796
768
  }
797
769
  }
798
- E("arcgis-portal-group-browser", Ue);
770
+ E("arcgis-portal-group-browser", Pe);
799
771
  export {
800
- Ue as ArcgisPortalGroupBrowser
772
+ Pe as ArcgisPortalGroupBrowser
801
773
  };
@@ -3,7 +3,7 @@ import { c as p } from "../../chunks/runtime.js";
3
3
  import { LitElement as m, nothing as f, safeStyleMap as g } from "@arcgis/lumina";
4
4
  import { css as d, html as l } from "lit";
5
5
  import { createRef as c, ref as h } from "lit/directives/ref.js";
6
- import { b as $, g as b } from "../../chunks/portal.js";
6
+ import { b as $, a as b } from "../../chunks/portal.js";
7
7
  const x = /^#[0-9a-f]{3}$/iu, k = /^#[0-9a-f]{6}$/iu;
8
8
  function u(r) {
9
9
  return E(r) || I(r);
@@ -4,7 +4,7 @@ import { LitElement as v, createEvent as b, nothing as y } from "@arcgis/lumina"
4
4
  import { css as x, html as c } from "lit";
5
5
  import { createRef as g, ref as m } from "lit/directives/ref.js";
6
6
  import { u as w } from "../../chunks/useT9n.js";
7
- import { g as d } from "../../chunks/portal.js";
7
+ import { a as d } from "../../chunks/portal.js";
8
8
  import { f as $, c as G } from "../../chunks/item2.js";
9
9
  import { r as h } from "../../chunks/request.js";
10
10
  async function z(i, t, r = {}) {
@@ -0,0 +1,82 @@
1
+ /// <reference path="../../index.d.ts" />
2
+ import type Portal from "@arcgis/core/portal/Portal.js";
3
+ import type PortalItem from "@arcgis/core/portal/PortalItem.js";
4
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
5
+ import type { ReviewLayerSharingIssueState } from "../arcgis-portal-review-layer-sharing/types.js";
6
+ import type { T9nMeta } from "@arcgis/lumina/controllers";
7
+
8
+ export abstract class ArcgisPortalItemStatusCard extends LitElement {
9
+ /** The item to display. */
10
+ accessor item: PortalItem;
11
+ /** @internal */
12
+ protected messages: {
13
+ status: {
14
+ noPermission: {
15
+ notice: string;
16
+ panel: string;
17
+ };
18
+ pdc: {
19
+ notice: string;
20
+ panel: string;
21
+ learnMore: string;
22
+ };
23
+ premium: {
24
+ notice: string;
25
+ panel: string;
26
+ learnMore: string;
27
+ };
28
+ sharingPDCEnabled: {
29
+ notice: string;
30
+ panel: string;
31
+ };
32
+ needsAuthentication: {
33
+ notice: string;
34
+ panel: string;
35
+ };
36
+ };
37
+ goToItem: string;
38
+ } & T9nMeta<{
39
+ status: {
40
+ noPermission: {
41
+ notice: string;
42
+ panel: string;
43
+ };
44
+ pdc: {
45
+ notice: string;
46
+ panel: string;
47
+ learnMore: string;
48
+ };
49
+ premium: {
50
+ notice: string;
51
+ panel: string;
52
+ learnMore: string;
53
+ };
54
+ sharingPDCEnabled: {
55
+ notice: string;
56
+ panel: string;
57
+ };
58
+ needsAuthentication: {
59
+ notice: string;
60
+ panel: string;
61
+ };
62
+ };
63
+ goToItem: string;
64
+ }>;
65
+ /** Current portal instance for link generation. */
66
+ accessor portal: Portal;
67
+ /**
68
+ * Whether this item's preview is open.
69
+ *
70
+ * @default false
71
+ */
72
+ accessor previewed: boolean;
73
+ /** The issue state that determines status content. */
74
+ accessor state: ReviewLayerSharingIssueState;
75
+ /** Returns keyboard focus to the card after its preview closes. */
76
+ restoreFocus(): Promise<void>;
77
+ /** Requests previewing this item. */
78
+ readonly arcgisItemBrowserCardPreview: import("@arcgis/lumina").TargetedEvent<this, PortalItem | null>;
79
+ readonly "@eventTypes": {
80
+ arcgisItemBrowserCardPreview: ArcgisPortalItemStatusCard["arcgisItemBrowserCardPreview"]["detail"];
81
+ };
82
+ }
@@ -0,0 +1,12 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import "../../chunks/runtime.js";
3
+ import "lit";
4
+ import "@arcgis/lumina";
5
+ import "lit/directives/ref.js";
6
+ import "../arcgis-portal-item-card/customElement.js";
7
+ import "../../chunks/useT9n.js";
8
+ import "../../chunks/url.js";
9
+ import { A } from "../../chunks/portal-item-status-card.js";
10
+ export {
11
+ A as ArcgisPortalItemStatusCard
12
+ };
@@ -0,0 +1 @@
1
+ export * from "./customElement.js";
@@ -0,0 +1,4 @@
1
+ import "../arcgis-portal-item-card/index.js";
2
+ import "@esri/calcite-components/components/calcite-icon";
3
+ import "@esri/calcite-components/components/calcite-button";
4
+ export * from "./customElement.js";
@@ -15,7 +15,7 @@ import { i as zt, a as Gt } from "../../chunks/utils4.js";
15
15
  import { e as Ut, g as Pe } from "../../chunks/item2.js";
16
16
  import { g as Bt } from "../../chunks/request.js";
17
17
  import { keyed as le } from "lit/directives/keyed.js";
18
- import { a as ue, n as Ft, g as de, e as J, b as Rt } from "../../chunks/portal.js";
18
+ import { g as ue, n as Ft, a as de, e as J, b as Rt } from "../../chunks/portal.js";
19
19
  import { ref as W, createRef as R } from "lit/directives/ref.js";
20
20
  import { c as Wt, g as Vt } from "../../chunks/dom.js";
21
21
  import { debounce as be } from "@arcgis/toolkit/function";
@@ -2,13 +2,13 @@ import "@esri/calcite-components/components/calcite-chip";
2
2
  import "@esri/calcite-components/components/calcite-tooltip";
3
3
  import "@esri/calcite-components/components/calcite-list-item";
4
4
  import "@esri/calcite-components/components/calcite-action";
5
- import "@esri/calcite-components/components/calcite-icon";
6
- import "@esri/calcite-components/components/calcite-popover";
7
- import "@esri/calcite-components/components/calcite-list";
8
5
  import "../arcgis-portal-item-type/index.js";
9
- import "@esri/calcite-components/components/calcite-loader";
10
6
  import "@esri/calcite-components/components/calcite-button";
7
+ import "@esri/calcite-components/components/calcite-list";
11
8
  import "@esri/calcite-components/components/calcite-input";
9
+ import "@esri/calcite-components/components/calcite-icon";
10
+ import "@esri/calcite-components/components/calcite-popover";
11
+ import "@esri/calcite-components/components/calcite-loader";
12
12
  import "@esri/calcite-components/components/calcite-dropdown-item";
13
13
  import "@esri/calcite-components/components/calcite-dropdown";
14
14
  import "../arcgis-portal-user-avatar/index.js";