@arcgis/portal-components 5.2.0-next.61 → 5.2.0-next.63

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 (82) hide show
  1. package/dist/cdn/{25BWGJFT.js → 332KSPIN.js} +1 -1
  2. package/dist/cdn/5KADGOPQ.js +2 -0
  3. package/dist/cdn/6RLJVPF6.js +2 -0
  4. package/dist/cdn/7PPA7V23.js +2 -0
  5. package/dist/cdn/{KZVNGOD4.js → 7YQTBSDS.js} +56 -56
  6. package/dist/cdn/CG4WYBHN.js +2 -0
  7. package/dist/cdn/{NMAP3FYP.js → DML7662F.js} +1 -1
  8. package/dist/cdn/{UL2NWFFH.js → EEELQMTE.js} +1 -1
  9. package/dist/cdn/{IXATTQKO.js → G2KWSRCG.js} +1 -1
  10. package/dist/cdn/JZTBGLFH.js +2 -0
  11. package/dist/cdn/{UDTQ7U6L.js → LUT4IGPP.js} +1 -1
  12. package/dist/cdn/RKWOBE3M.js +2 -0
  13. package/dist/cdn/SOJU4OFZ.js +2 -0
  14. package/dist/cdn/{6LMJGR6F.js → WEJQVIN4.js} +1 -1
  15. package/dist/cdn/XW42SAEJ.js +2 -0
  16. package/dist/cdn/{THRK2DGY.js → ZK2VXTNX.js} +1 -1
  17. package/dist/cdn/{5VMPZXL3.js → ZXIRKL4X.js} +1 -1
  18. package/dist/cdn/assets/portal-navigation/apps/notebook.avif +0 -0
  19. package/dist/cdn/assets/portal-navigation/t9n/messages.en.json +1 -1
  20. package/dist/cdn/index.js +1 -1
  21. package/dist/cdn/main.css +1 -1
  22. package/dist/chunks/portal-browser.js +0 -3
  23. package/dist/components/arcgis-portal-account-switcher/customElement.js +124 -115
  24. package/dist/components/arcgis-portal-ai-assistant/agents/types.d.ts +3 -1
  25. package/dist/components/arcgis-portal-ai-assistant/customElement.d.ts +2 -0
  26. package/dist/components/arcgis-portal-ai-assistant/customElement.js +144 -149
  27. package/dist/components/arcgis-portal-ai-assistant/data/capability-registries/types.d.ts +34 -0
  28. package/dist/components/arcgis-portal-browser/customElement.js +2 -5
  29. package/dist/components/arcgis-portal-browser/utils/store.d.ts +7 -3
  30. package/dist/components/arcgis-portal-classification-config/customElement.js +6 -6
  31. package/dist/components/arcgis-portal-group-browser/customElement.d.ts +174 -0
  32. package/dist/components/arcgis-portal-group-browser/customElement.js +66 -68
  33. package/dist/components/arcgis-portal-group-browser/types.d.ts +3 -3
  34. package/dist/components/arcgis-portal-navigation/customElement.d.ts +7 -0
  35. package/dist/components/arcgis-portal-navigation/customElement.js +398 -395
  36. package/dist/components/arcgis-portal-navigation/index.js +4 -6
  37. package/dist/components/portal-browser/components/portal-browser-filter/customElement.js +14 -0
  38. package/dist/components/{arcgis-portal-browser-filter → portal-browser/components/portal-browser-filter}/index.js +0 -1
  39. package/dist/components/portal-browser/components/portal-browser-filter-date/customElement.js +59 -0
  40. package/dist/components/{arcgis-portal-browser-filter-date → portal-browser/components/portal-browser-filter-date}/index.js +1 -2
  41. package/dist/components/portal-browser/components/portal-browser-filter-date/portal-browser-filter-date.d.ts +122 -0
  42. package/dist/components/portal-browser/components/portal-browser-filters/customElement.js +11 -0
  43. package/dist/components/portal-group-browser-filters/customElement.js +113 -86
  44. package/dist/components/portal-group-browser-filters/index.js +0 -3
  45. package/dist/docs/api.json +1 -1
  46. package/dist/docs/docs.json +1 -1
  47. package/dist/docs/vscode.css-custom-data.json +1 -1
  48. package/dist/docs/vscode.html-custom-data.json +1 -1
  49. package/dist/docs/web-types.json +1 -1
  50. package/dist/index.d.ts +0 -24
  51. package/dist/loader.js +2 -5
  52. package/dist/types/lumina.d.ts +1 -18
  53. package/dist/types/preact.d.ts +1 -21
  54. package/dist/types/react.d.ts +1 -24
  55. package/dist/types/stencil.d.ts +1 -18
  56. package/package.json +4 -4
  57. package/dist/cdn/3527GI5O.js +0 -2
  58. package/dist/cdn/3Y33UPZ6.js +0 -2
  59. package/dist/cdn/744FUP4K.js +0 -2
  60. package/dist/cdn/DUBJA7PZ.js +0 -2
  61. package/dist/cdn/FGJNEKPQ.js +0 -2
  62. package/dist/cdn/HEA66RTI.js +0 -2
  63. package/dist/cdn/JPHGWARN.js +0 -2
  64. package/dist/cdn/JUNNQTQU.js +0 -2
  65. package/dist/cdn/MNU537SB.js +0 -2
  66. package/dist/cdn/SE5YJGIJ.js +0 -2
  67. package/dist/cdn/XMUR4HRH.js +0 -2
  68. package/dist/cdn/XX4U6IRN.js +0 -2
  69. package/dist/cdn/Y3RUZTB3.js +0 -2
  70. package/dist/cdn/YIU7GBUN.js +0 -2
  71. package/dist/cdn/ZOEF7HBV.js +0 -2
  72. package/dist/components/arcgis-portal-browser-filter/customElement.d.ts +0 -226
  73. package/dist/components/arcgis-portal-browser-filter/customElement.js +0 -32
  74. package/dist/components/arcgis-portal-browser-filter/index.d.ts +0 -1
  75. package/dist/components/arcgis-portal-browser-filter-date/customElement.d.ts +0 -233
  76. package/dist/components/arcgis-portal-browser-filter-date/customElement.js +0 -118
  77. package/dist/components/arcgis-portal-browser-filter-date/index.d.ts +0 -1
  78. package/dist/components/arcgis-portal-browser-filters/customElement.d.ts +0 -7
  79. package/dist/components/arcgis-portal-browser-filters/customElement.js +0 -29
  80. package/dist/components/arcgis-portal-browser-filters/index.d.ts +0 -1
  81. /package/dist/cdn/{F3PB42AG.js → 4E65YWCP.js} +0 -0
  82. /package/dist/components/{arcgis-portal-browser-filters → portal-browser/components/portal-browser-filters}/index.js +0 -0
@@ -0,0 +1,34 @@
1
+ /** Shape exported by a TypeScript module under data/capability-registries/. */
2
+ export interface CapabilityRegistry {
3
+ schemaVersion: "1.0";
4
+ capabilities: readonly Capability[];
5
+ }
6
+
7
+ /** One destination the assistant can take the user to. */
8
+ export interface Capability {
9
+ /** Stable identifier, unique across every registry module. */
10
+ id: string;
11
+ /** Display name shown to the user. */
12
+ title: string;
13
+ /** What the capability does; used for matching and suggestion text. */
14
+ description: string;
15
+ /** Example phrasings a user might say to reach this capability. */
16
+ hints: string[];
17
+ /** Portal platforms that offer this capability. */
18
+ platforms: readonly CapabilityPlatform[];
19
+ /** Label for the navigation button */
20
+ buttonLabel?: string;
21
+ resolutions: { navigate: NavigateResolution; };
22
+ }
23
+
24
+ export type CapabilityPlatform = "enterprise" | "online";
25
+
26
+ /** Host-independent navigation details declared by a capability. */
27
+ export interface NavigateResolution {
28
+ /** Key into the navigation target map, e.g. "content", "groups", or "organization". */
29
+ routeKey: string;
30
+ /** Query parameters appended to the resolved route, e.g. { tab: "security" }. */
31
+ queryParams?: Record<string, string>;
32
+ /** Fragment appended to the resolved route, e.g. "settings". */
33
+ hash?: string;
34
+ }
@@ -8,12 +8,9 @@ import "lit/directives/ref.js";
8
8
  import "../../chunks/useT9n.js";
9
9
  import "../../chunks/dom.js";
10
10
  import "../../chunks/functionalities.js";
11
- import "../arcgis-portal-browser-filter-date/customElement.js";
12
11
  import "../arcgis-portal-browser-filter-status/customElement.js";
13
- import "../arcgis-portal-browser-filter/customElement.js";
14
- import "../arcgis-portal-browser-filters/customElement.js";
15
- import { A as B } from "../../chunks/portal-browser.js";
12
+ import { A as l } from "../../chunks/portal-browser.js";
16
13
  import "../../chunks/store.js";
17
14
  export {
18
- B as ArcgisPortalBrowser
15
+ l as ArcgisPortalBrowser
19
16
  };
@@ -13,7 +13,7 @@ export type PortalBrowserStore = ReturnType<typeof createPortalBrowserStore>;
13
13
  /** @param initialState */
14
14
  export function createPortalBrowserStore<Type extends PortalBrowserState>(initialState?: PortalBrowserState): Accessor & Type;
15
15
 
16
- export interface PortalBrowserState {
16
+ export interface PortalBrowserState<Filters extends PortalBrowserTypedFilters = PortalBrowserFilterMap> {
17
17
  type?: "group-browser" | "item-browser" | "member-browser";
18
18
  width?: number;
19
19
  height?: number;
@@ -26,6 +26,10 @@ export interface PortalBrowserState {
26
26
  preview?: string;
27
27
  searchTerm?: string;
28
28
  hiddenFilters?: string[];
29
- filters: Record<string, PortalBrowserFilterDetail>;
29
+ filters: Filters & PortalBrowserFilterMap;
30
30
  recycleBin?: boolean;
31
- }
31
+ }
32
+
33
+ export type PortalBrowserFilterMap = Record<string, PortalBrowserFilterDetail>;
34
+
35
+ export type PortalBrowserTypedFilters = Partial<Record<string, PortalBrowserFilterDetail>>;
@@ -1,12 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as C } from "../../chunks/runtime.js";
3
3
  import { LitElement as v, nothing as E } from "@arcgis/lumina";
4
- import { css as y, html as n } from "lit";
5
- import { Task as I, TaskStatus as x } from "@lit/task";
4
+ import { css as I, html as n } from "lit";
5
+ import { Task as y, TaskStatus as x } from "@lit/task";
6
6
  import { createRef as f, ref as u } from "lit/directives/ref.js";
7
7
  import { usePropertyChange as w } from "@arcgis/lumina/controllers";
8
8
  import { getClosestElement as R } from "@arcgis/toolkit/dom";
9
- import { u as $, c as P } from "../../chunks/loadClassificationData.js";
9
+ import { u as P, c as $ } from "../../chunks/loadClassificationData.js";
10
10
  import { createArcadeExecutor as S } from "@arcgis/core/arcade.js";
11
11
  import { u as V } from "../../chunks/useT9n.js";
12
12
  import { d as m, a as d, g as O, r as p, c as _, b as A } from "../../chunks/common.js";
@@ -144,10 +144,10 @@ async function L(a) {
144
144
  ]
145
145
  });
146
146
  }
147
- const B = y`:host{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.header-section{padding:var(--calcite-spacing-sm)}.header-section__title-container{display:flex;align-items:center;justify-content:space-between}.header-section__title-text{margin:unset;font-weight:unset;font-size:var(--calcite-font-size)}.header-section__title-popover{padding:var(--calcite-spacing-md)}.form-section{display:flex;border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding:var(--calcite-spacing-sm);height:100%;overflow:hidden}.form-section__sidebar{flex:1;padding:var(--calcite-spacing-sm)}.form-section__main-content{flex:3;padding:var(--calcite-spacing-sm);overflow:auto}.danger{color:var(--calcite-color-status-danger)}.spacing-y{margin:var(--calcite-spacing-md) 0}`;
147
+ const B = I`:host{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.header-section{padding:var(--calcite-spacing-sm)}.header-section__title-container{display:flex;align-items:center;justify-content:space-between}.header-section__title-text{margin:unset;font-weight:unset;font-size:var(--calcite-font-size)}.header-section__title-popover{padding:var(--calcite-spacing-md)}.form-section{display:flex;border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding:var(--calcite-spacing-sm);height:100%;overflow:hidden}.form-section__sidebar{flex:1;padding:var(--calcite-spacing-sm)}.form-section__main-content{flex:3;padding:var(--calcite-spacing-sm);overflow:auto}.danger{color:var(--calcite-color-status-danger)}.spacing-y{margin:var(--calcite-spacing-md) 0}`;
148
148
  class J extends v {
149
149
  constructor() {
150
- super(), this.classificationModel = $(this), this.messages = V(), this.formMainContentRef = f(), this.bannerRef = f(), this._classificationDataTask = P(this), this._formCreationTask = new I(this, {
150
+ super(), this.classificationModel = P(this), this.messages = V(), this.formMainContentRef = f(), this.bannerRef = f(), this._classificationDataTask = $(this), this._formCreationTask = new y(this, {
151
151
  task: async () => {
152
152
  if (await this._classificationDataTask.taskComplete, !this.portalClassificationSchema || !this.portalItem)
153
153
  throw new Error("Portal item and classification schema are required to render the form");
@@ -163,7 +163,7 @@ class J extends v {
163
163
  console.error(s);
164
164
  });
165
165
  }
166
- }), this._itemClassificationWatchPortalItem = this.portalItem, this._itemClassificationWatchPortalItem.addHandles(this._itemClassificationWatchHandle, "arcgis-classification-config"), await this.evaluateAttributeExpressions(this.portalClassificationSchema, this.pendingPortalItem), this.pendingPortalItem.classification = d(this.pendingPortalItem.classification, this.attributeExpressionResults), this.existingClassification && this.validateForm();
166
+ }), this._itemClassificationWatchPortalItem = this.portalItem, this._itemClassificationWatchPortalItem.addHandles(this._itemClassificationWatchHandle, "arcgis-classification-config"), await this.evaluateAttributeExpressions(this.portalClassificationSchema, this.pendingPortalItem), this.pendingPortalItem.classification = d(this.pendingPortalItem.classification, this.attributeExpressionResults), this.pendingPortalItem = this.pendingPortalItem.clone(), this.existingClassification && this.validateForm();
167
167
  },
168
168
  args: () => [this.portalItem, this.portalClassificationSchema]
169
169
  }), this.getFormDisplayOrder = (t) => this.portalClassificationSchema?.layouts.default.layoutElements[t].formDisplayOrder ?? 0, this.addEditInfoAttributes = () => {
@@ -10,6 +10,180 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
10
10
 
11
11
  /** A group-browser wrapper around `arcgis-portal-browser` that renders filters from declarative config. */
12
12
  export abstract class ArcgisPortalGroupBrowser extends LitElement {
13
+ /** @internal */
14
+ protected _browserMessages: {
15
+ browser: {
16
+ refineContent: string;
17
+ filters: string;
18
+ pageRange: string;
19
+ pageRangeAria: string;
20
+ pageRangeWithRecycleBin: string;
21
+ pageRangeAriaWithRecycleBin: string;
22
+ totalSize: string;
23
+ loading: string;
24
+ close: string;
25
+ };
26
+ actions: { more: string; };
27
+ filter: { clear: string; };
28
+ filterDate: {
29
+ today: string;
30
+ yesterday: string;
31
+ last7: string;
32
+ last30: string;
33
+ never: string;
34
+ custom: string;
35
+ title: {
36
+ created: string;
37
+ modified: string;
38
+ joined: string;
39
+ lastLogin: string;
40
+ };
41
+ created: string;
42
+ modified: string;
43
+ joined: string;
44
+ lastLogin: string;
45
+ };
46
+ pagination: {
47
+ next: string;
48
+ prev: string;
49
+ };
50
+ search: {
51
+ label: string;
52
+ search: string;
53
+ clear: string;
54
+ wildcard: string;
55
+ };
56
+ sort: {
57
+ sortDirection: string;
58
+ title: string;
59
+ relevance: string;
60
+ modified: string;
61
+ deleted: string;
62
+ created: string;
63
+ added: string;
64
+ size: string;
65
+ owner: string;
66
+ sizeAsc: string;
67
+ sizeDesc: string;
68
+ numviews: string;
69
+ numAsc: string;
70
+ numDesc: string;
71
+ alphabeticalAsc: string;
72
+ alphabeticalDesc: string;
73
+ recentAsc: string;
74
+ recentDesc: string;
75
+ sort: string;
76
+ sortBy: string;
77
+ sortByColon: string;
78
+ fullname: string;
79
+ username: string;
80
+ name: string;
81
+ membertype: string;
82
+ joined: string;
83
+ lastlogin: string;
84
+ dataset: string;
85
+ mfaenabled: string;
86
+ description: string;
87
+ lastSyncFailureCount: string;
88
+ invitationsPendingCount: string;
89
+ participantGroupLinksCount: string;
90
+ defaultAsc: string;
91
+ defaultDesc: string;
92
+ };
93
+ topBar: { filter: string; };
94
+ filterStatus: {
95
+ clear: string;
96
+ filters: string;
97
+ additional: string;
98
+ clearAllFilters: string;
99
+ };
100
+ } & T9nMeta<{
101
+ browser: {
102
+ refineContent: string;
103
+ filters: string;
104
+ pageRange: string;
105
+ pageRangeAria: string;
106
+ pageRangeWithRecycleBin: string;
107
+ pageRangeAriaWithRecycleBin: string;
108
+ totalSize: string;
109
+ loading: string;
110
+ close: string;
111
+ };
112
+ actions: { more: string; };
113
+ filter: { clear: string; };
114
+ filterDate: {
115
+ today: string;
116
+ yesterday: string;
117
+ last7: string;
118
+ last30: string;
119
+ never: string;
120
+ custom: string;
121
+ title: {
122
+ created: string;
123
+ modified: string;
124
+ joined: string;
125
+ lastLogin: string;
126
+ };
127
+ created: string;
128
+ modified: string;
129
+ joined: string;
130
+ lastLogin: string;
131
+ };
132
+ pagination: {
133
+ next: string;
134
+ prev: string;
135
+ };
136
+ search: {
137
+ label: string;
138
+ search: string;
139
+ clear: string;
140
+ wildcard: string;
141
+ };
142
+ sort: {
143
+ sortDirection: string;
144
+ title: string;
145
+ relevance: string;
146
+ modified: string;
147
+ deleted: string;
148
+ created: string;
149
+ added: string;
150
+ size: string;
151
+ owner: string;
152
+ sizeAsc: string;
153
+ sizeDesc: string;
154
+ numviews: string;
155
+ numAsc: string;
156
+ numDesc: string;
157
+ alphabeticalAsc: string;
158
+ alphabeticalDesc: string;
159
+ recentAsc: string;
160
+ recentDesc: string;
161
+ sort: string;
162
+ sortBy: string;
163
+ sortByColon: string;
164
+ fullname: string;
165
+ username: string;
166
+ name: string;
167
+ membertype: string;
168
+ joined: string;
169
+ lastlogin: string;
170
+ dataset: string;
171
+ mfaenabled: string;
172
+ description: string;
173
+ lastSyncFailureCount: string;
174
+ invitationsPendingCount: string;
175
+ participantGroupLinksCount: string;
176
+ defaultAsc: string;
177
+ defaultDesc: string;
178
+ };
179
+ topBar: { filter: string; };
180
+ filterStatus: {
181
+ clear: string;
182
+ filters: string;
183
+ additional: string;
184
+ clearAllFilters: string;
185
+ };
186
+ }>;
13
187
  /** @internal */
14
188
  protected _messages: {
15
189
  browser: {
@@ -1,29 +1,29 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as G } from "../../chunks/runtime.js";
3
- import { css as S, html as u } from "lit";
4
- import { keyed as $ } from "lit/directives/keyed.js";
5
- import { LitElement as B, createEvent as p, nothing as g, safeClassMap as O } from "@arcgis/lumina";
6
- import { u as C } from "../../chunks/useT9n.js";
7
- import { a as R } from "../../chunks/functionalities.js";
8
- import { c as U, r as f } from "../../chunks/string.js";
2
+ import { c as S } from "../../chunks/runtime.js";
3
+ import { css as $, html as u } from "lit";
4
+ import { keyed as B } from "lit/directives/keyed.js";
5
+ import { LitElement as O, createEvent as p, nothing as w, safeClassMap as C } from "@arcgis/lumina";
6
+ import { u as f } from "../../chunks/useT9n.js";
7
+ import { a as U } from "../../chunks/functionalities.js";
8
+ import { c as x, r as v } from "../../chunks/string.js";
9
9
  import "../arcgis-portal-browser-search/customElement.js";
10
10
  import "../arcgis-portal-browser-top-bar/customElement.js";
11
- import { c as x, a as W } from "../../chunks/portal-browser.js";
11
+ import { c as R, a as _ } from "../../chunks/portal-browser.js";
12
12
  import "../arcgis-portal-group-card/customElement.js";
13
13
  import "../arcgis-portal-group-browser-preview/customElement.js";
14
- import { c as P } from "../../chunks/store.js";
15
- import { i as A } from "../../chunks/query.js";
14
+ import { c as W } from "../../chunks/store.js";
15
+ import { i as P } from "../../chunks/query.js";
16
16
  import k from "@arcgis/core/portal/PortalGroup.js";
17
- import { r as E } from "../../chunks/request.js";
18
- import { g as T } from "../../chunks/portal.js";
19
- import { b as w } from "../../chunks/ui.js";
20
- import { watch as _ } from "@arcgis/core/core/reactiveUtils.js";
21
- import { PortalGroupBrowserSort as M } from "../portal-group-browser-sort/customElement.js";
22
- import { PortalGroupBrowserPagination as L } from "../portal-group-browser-pagination/customElement.js";
23
- import { PortalGroupBrowserFilters as q } from "../portal-group-browser-filters/customElement.js";
24
- const z = S`: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}.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){:host{--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)}`;
17
+ import { r as A } from "../../chunks/request.js";
18
+ import { g as M } from "../../chunks/portal.js";
19
+ import { b as g } from "../../chunks/ui.js";
20
+ import { watch as T } from "@arcgis/core/core/reactiveUtils.js";
21
+ import { PortalGroupBrowserSort as E } from "../portal-group-browser-sort/customElement.js";
22
+ import { PortalGroupBrowserPagination as q } from "../portal-group-browser-pagination/customElement.js";
23
+ import { PortalGroupBrowserFilters as L } from "../portal-group-browser-filters/customElement.js";
24
+ const z = $`: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-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){:host{--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)}`;
25
25
  async function Q(s, e) {
26
- const t = `${T(s)}community/groups`, r = D(e), o = H(e), i = !!e.searchUser?.trim();
26
+ const t = `${M(s)}community/groups`, r = D(e), o = H(e), i = !!e.searchUser?.trim();
27
27
  if (!r.trim() && !i)
28
28
  return {
29
29
  nextStart: -1,
@@ -34,19 +34,19 @@ async function Q(s, e) {
34
34
  start: 0,
35
35
  total: 0
36
36
  };
37
- const l = { ...o, q: r }, n = await E({
37
+ const l = { ...o, q: r }, n = await A({
38
38
  url: t,
39
39
  portal: s,
40
40
  params: l
41
- }), c = n.results.map((a) => {
42
- const h = k.fromJSON(a);
43
- return h.portal = s, h;
41
+ }), h = n.results.map((a) => {
42
+ const c = k.fromJSON(a);
43
+ return c.portal = s, c;
44
44
  });
45
45
  return {
46
46
  ...n,
47
47
  q: r,
48
48
  queryParams: l,
49
- results: c
49
+ results: h
50
50
  };
51
51
  }
52
52
  const I = ["created", "modified", "owner", "title"];
@@ -57,7 +57,7 @@ function D(s) {
57
57
  const e = [], t = s.baseQuery?.trim();
58
58
  t && e.push(`(${t})`);
59
59
  const r = s.searchTerm?.trim();
60
- r && e.push(`(${U(r)})`);
60
+ r && e.push(`(${x(r)})`);
61
61
  for (const o of Object.values(s.filters ?? {}))
62
62
  typeof o.value == "string" && o.value.trim() && e.push(`(${o.value.trim()})`), typeof o.additionalParams == "string" && o.additionalParams.trim() && e.push(`(${o.additionalParams.trim()})`);
63
63
  return e.join(" AND ");
@@ -73,7 +73,7 @@ function H(s) {
73
73
  }
74
74
  };
75
75
  }
76
- function v(s, e = "desc") {
76
+ function b(s, e = "desc") {
77
77
  switch (s) {
78
78
  case "owner":
79
79
  case "title":
@@ -90,7 +90,7 @@ function N(s) {
90
90
  let e, t, r;
91
91
  const o = () => {
92
92
  e?.();
93
- const a = _(
93
+ const a = T(
94
94
  () => s.getStore().width,
95
95
  () => {
96
96
  i();
@@ -100,17 +100,17 @@ function N(s) {
100
100
  a.remove();
101
101
  };
102
102
  }, i = () => {
103
- const a = s.getStore(), h = a.width || s.getHostWidth() || s.getViewportWidth(), d = Math.min(h, s.getViewportWidth());
103
+ const a = s.getStore(), c = a.width || s.getHostWidth() || s.getViewportWidth(), d = Math.min(c, s.getViewportWidth());
104
104
  a.width !== d && (a.width = d);
105
- const m = d > w.md ? "large" : "small";
105
+ const m = d > g.md ? "large" : "small";
106
106
  s.getResponsiveFormFactor() === "large" && m === "small" && (a.panel = !1, a.filtersExpanded = !1), s.getResponsiveFormFactor() === "small" && m === "large" && (a.panel = !1, a.filtersExpanded = !0), s.setResponsiveFormFactor(m);
107
107
  };
108
108
  return {
109
109
  connect: () => {
110
110
  typeof ResizeObserver < "u" && (t = new ResizeObserver((a) => {
111
- const h = a[0]?.contentRect?.width ?? 0;
112
- if (h > 0) {
113
- const d = Math.round(h);
111
+ const c = a[0]?.contentRect?.width ?? 0;
112
+ if (c > 0) {
113
+ const d = Math.round(c);
114
114
  s.setHostWidth(d), s.getStore().width = d, i();
115
115
  }
116
116
  }), t.observe(s.el)), o(), i();
@@ -127,8 +127,8 @@ function N(s) {
127
127
  r = void 0;
128
128
  const a = Math.round(
129
129
  s.el.getBoundingClientRect().width || s.getHostWidth() || s.getViewportWidth()
130
- ), h = Math.min(a, s.getViewportWidth()), d = s.getStore();
131
- d.width !== h && (d.width = h), i();
130
+ ), c = Math.min(a, s.getViewportWidth()), d = s.getStore();
131
+ d.width !== c && (d.width = c), i();
132
132
  });
133
133
  return;
134
134
  }
@@ -137,23 +137,23 @@ function N(s) {
137
137
  updateResponsiveLayout: i
138
138
  };
139
139
  }
140
- const b = ["title", "relevance", "modified"], F = {
140
+ const y = ["title", "relevance", "modified"], F = {
141
141
  queryParams: void 0,
142
142
  nextStart: -1,
143
143
  results: [],
144
144
  start: -1,
145
145
  num: 0,
146
146
  total: 0
147
- }, y = [
147
+ }, G = [
148
148
  "openData",
149
149
  "sharedUpdate",
150
150
  "distributed",
151
151
  "admin",
152
152
  "settings"
153
153
  ];
154
- class j extends B {
154
+ class j extends O {
155
155
  constructor() {
156
- super(...arguments), this._messages = C({ name: "portal-group-browser", blocking: !0 }), this.responsiveLayoutController = N({
156
+ super(...arguments), this._messages = f({ name: "portal-group-browser", blocking: !0 }), this._browserMessages = f({ name: "portal-browser", blocking: !0 }), this.responsiveLayoutController = N({
157
157
  el: this.el,
158
158
  getStore: () => this.store,
159
159
  getViewportWidth: () => this.viewportWidth,
@@ -173,9 +173,9 @@ class j extends B {
173
173
  }, this.handleBrowserFilterRemove = (e) => {
174
174
  const t = e.detail;
175
175
  t && this.removeFilter(t);
176
- }, this.selectedOwner = null, this.selectedMembership = null, this.selectedMemberOrg = null, this.selectedSpecialGroup = null, this.selectedAccess = null, this.selectedGroups = [], this.previewGroup = null, this.queryResponse = F, this.specialGroupOptions = y, this.responsiveFormFactor = "large", this.viewportWidth = typeof window > "u" ? w.lg : window.innerWidth, this.hostWidth = 0, this.store = P({
176
+ }, this.selectedOwner = null, this.selectedMembership = null, this.selectedMemberOrg = null, this.selectedSpecialGroup = null, this.selectedAccess = null, this.selectedGroups = [], this.previewGroup = null, this.queryResponse = F, this.specialGroupOptions = G, this.responsiveFormFactor = "large", this.viewportWidth = typeof window > "u" ? g.lg : window.innerWidth, this.hostWidth = 0, this.store = W({
177
177
  type: "group-browser",
178
- width: window?.innerWidth ?? w.lg,
178
+ width: window?.innerWidth ?? g.lg,
179
179
  hiddenFilters: [],
180
180
  filtersEmpty: !1,
181
181
  topbarEmpty: !1,
@@ -186,7 +186,7 @@ class j extends B {
186
186
  }), this.filters = {}, this.loading = !1, this.formFactor = "large", this.height = "full", this.searchTerm = "", this.cards = {}, this.preview = "top", this.q = "", this.num = 60, this.sort = {
187
187
  enabled: !0,
188
188
  props: {
189
- options: b
189
+ options: y
190
190
  }
191
191
  }, this.selection = "none", this.alwaysShowSelection = !1, this.hidePreviewFooter = !1, this.hidePreviewBadges = !1, this.hasIndoorsSpaces = !1, this.arcgisGroupBrowserLoading = p(), this.arcgisGroupBrowserPreview = p(), this.arcgisGroupBrowserSelect = p(), this.arcgisGroupBrowserSublayerPreview = p(), this.arcgisGroupBrowserUpdate = p(), this.arcgisGroupBrowserInternalUIAction = p(), this.arcgisGroupBrowserUserFilterChange = p(), this.arcgisAriaUpdate = p();
192
192
  }
@@ -203,7 +203,7 @@ class j extends B {
203
203
  await this.fetchGroups();
204
204
  }
205
205
  connectedCallback() {
206
- super.connectedCallback(), window.addEventListener("resize", this.responsiveLayoutController.handleWindowResize), this.el.addEventListener("arcgisBrowserFilterClear", this.handleBrowserFilterClear), this.el.addEventListener("arcgisBrowserFilterRemove", this.handleBrowserFilterRemove), this.responsiveLayoutController.connect(), this.syncSortFromConfig(), this.selectedGroups = this.selected || [], this.syncSelectionsFromConfig(), this.updateSpecialGroupOptions(), this.fetchGroups();
206
+ super.connectedCallback(), window.addEventListener("resize", this.responsiveLayoutController.handleWindowResize), this.responsiveLayoutController.connect(), this.syncSortFromConfig(), this.selectedGroups = this.selected || [], this.syncSelectionsFromConfig(), this.updateSpecialGroupOptions(), this.fetchGroups();
207
207
  }
208
208
  updated(e) {
209
209
  e.has("store") && (this.responsiveLayoutController.refreshStoreWatcher(), this.responsiveLayoutController.updateResponsiveLayout()), e.has("selected") && (this.selectedGroups = this.selected || []);
@@ -211,7 +211,7 @@ class j extends B {
211
211
  t !== void 0 && t !== this.num && this.fetchGroups(), (e.has("portal") || e.has("hasIndoorsSpaces")) && this.updateSpecialGroupOptions(), e.has("sort") && this.syncSortFromConfig();
212
212
  }
213
213
  disconnectedCallback() {
214
- this.responsiveLayoutController.disconnect(), window.removeEventListener("resize", this.responsiveLayoutController.handleWindowResize), this.el.removeEventListener("arcgisBrowserFilterClear", this.handleBrowserFilterClear), this.el.removeEventListener("arcgisBrowserFilterRemove", this.handleBrowserFilterRemove), super.disconnectedCallback();
214
+ this.responsiveLayoutController.disconnect(), window.removeEventListener("resize", this.responsiveLayoutController.handleWindowResize), super.disconnectedCallback();
215
215
  }
216
216
  syncSelectionsFromConfig() {
217
217
  this.selectedGroupsByUser = this.filters.groupsByUser?.props?.selectedUsername ?? this.currentUsername, this.selectedOwner = this.filters.owner?.props?.owner || null, this.selectedMembership = this.filters.membership?.props?.membership || null, this.selectedMemberOrg = this.filters.memberOrg?.props?.memberOrg || null, this.selectedSpecialGroup = this.filters.specialGroups?.props?.specialGroup || null, this.selectedAccess = this.filters.access?.props?.access || null;
@@ -245,7 +245,7 @@ class j extends B {
245
245
  this.requestUpdate();
246
246
  }
247
247
  syncSortFromConfig() {
248
- const e = this.sort, t = e.props?.options ?? b;
248
+ const e = this.sort, t = e.props?.options ?? y;
249
249
  if (!e.enabled) {
250
250
  this.sortField = void 0, this.sortOrder = void 0;
251
251
  return;
@@ -255,7 +255,7 @@ class j extends B {
255
255
  return;
256
256
  }
257
257
  const r = e.props?.field, o = r && t.includes(r) ? r : t[0];
258
- this.sortField = o, this.sortOrder = e.props?.order ?? v(o, this.sortOrder);
258
+ this.sortField = o, this.sortOrder = e.props?.order ?? b(o, this.sortOrder);
259
259
  }
260
260
  async updateSpecialGroupOptions() {
261
261
  if (!this.portal) {
@@ -264,11 +264,11 @@ class j extends B {
264
264
  }
265
265
  let e = "";
266
266
  try {
267
- e = await A(this.portal);
267
+ e = await P(this.portal);
268
268
  } catch {
269
269
  e = "";
270
270
  }
271
- this.specialGroupOptions = y.filter((t) => !(t === "openData" && this.portal.isPortal || // https://devtopia.esri.com/webgis/arcgis-portal-app/issues/37831
271
+ this.specialGroupOptions = G.filter((t) => !(t === "openData" && this.portal.isPortal || // https://devtopia.esri.com/webgis/arcgis-portal-app/issues/37831
272
272
  t === "distributed" && this.hasIndoorsSpaces || // https://devtopia.esri.com/WebGIS/arcgis-portal-app/issues/45449 orgs with no settings
273
273
  t === "settings" && !e)), this.selectedSpecialGroup && !this.specialGroupOptions.includes(this.selectedSpecialGroup) && this.removeFilter("specialGroups");
274
274
  }
@@ -281,11 +281,11 @@ class j extends B {
281
281
  const t = this.store.filters[e];
282
282
  t && (this.store.filters = {
283
283
  ...this.store.filters,
284
- [e]: x(t)
284
+ [e]: R(t)
285
285
  }, this.resetSelectionByFilterId(e), this.publishFilterStateChange(), this.fetchGroups());
286
286
  }
287
287
  clearFilters() {
288
- this.store.filters = W(this.store.filters, {
288
+ this.store.filters = _(this.store.filters, {
289
289
  hiddenFilterIds: this.store.hiddenFilters
290
290
  }), this.resetAllFilterSelections(), this.publishFilterStateChange(), this.fetchGroups();
291
291
  }
@@ -314,7 +314,7 @@ class j extends B {
314
314
  this.selectedSpecialGroup = e.value;
315
315
  break;
316
316
  default:
317
- R(e);
317
+ U(e);
318
318
  }
319
319
  }
320
320
  selectGroup(e) {
@@ -358,7 +358,7 @@ class j extends B {
358
358
  }
359
359
  }
360
360
  async handleSortFieldChange(e) {
361
- this.sortField = e, this.sortOrder = v(e, this.sortOrder), this.loading = !0, this.arcgisGroupBrowserLoading.emit();
361
+ this.sortField = e, this.sortOrder = b(e, this.sortOrder), this.loading = !0, this.arcgisGroupBrowserLoading.emit();
362
362
  const t = this.createQuery({ start: 1, total: 0 });
363
363
  await this.fetchAndEmit(t, this.searchTerm);
364
364
  }
@@ -422,21 +422,19 @@ class j extends B {
422
422
  async formatRange({ start: e, end: t, total: r }) {
423
423
  if (this._messages._lang === "en")
424
424
  return [`${e}-${t} of ${r}`, `${e}-${t} of ${r} group${r === "1" ? "" : "s"}`];
425
- const i = this._messages.browser, l = { start: e, end: t, total: r }, n = f(i.pageRange, l), c = f(i.pageRangeAria, l);
426
- return [n, c];
425
+ const i = this._messages.browser, l = { start: e, end: t, total: r }, n = v(i.pageRange, l), h = v(i.pageRangeAria, l);
426
+ return [n, h];
427
427
  }
428
428
  getPreviewFooterActionsEmpty() {
429
429
  return !this.el?.querySelector('[slot="preview-footer-action"]');
430
430
  }
431
431
  renderTopBar() {
432
- return u`<arcgis-portal-browser-top-bar slot=top-bar .store=${this.store} @arcgisBrowserFilterClear=${() => this.clearFilters()} @arcgisBrowserFilterRemove=${(e) => {
433
- this.removeFilter(e.detail);
434
- }}><arcgis-portal-browser-search slot=search .store=${this.store} .term=${this.searchTerm} @arcgisBrowserSearch=${(e) => {
432
+ return u`<arcgis-portal-browser-top-bar slot=top-bar .store=${this.store}><arcgis-portal-browser-search slot=search .store=${this.store} .term=${this.searchTerm} @arcgisBrowserSearch=${(e) => {
435
433
  this.handleSearch(e.detail);
436
434
  }}></arcgis-portal-browser-search></arcgis-portal-browser-top-bar>`;
437
435
  }
438
436
  renderEmptyTextSlot(e, t) {
439
- return u`<div slot=${e ?? g} class="empty-text-slot"><slot name=${e ?? g}><p class="empty-text-slot__default">${t}</p></slot></div>`;
437
+ return u`<div slot=${e ?? w} class="empty-text-slot"><slot name=${e ?? w}><p class="empty-text-slot__default">${t}</p></slot></div>`;
440
438
  }
441
439
  renderContent() {
442
440
  const e = new Set(this.selectedGroups.map((o) => o.id)), t = this.queryResponse.results.map((o) => {
@@ -447,29 +445,29 @@ class j extends B {
447
445
  view: l
448
446
  };
449
447
  }), r = t.length > 0 && t.every(({ view: o }) => o === "compact");
450
- return u`<div class=${O({ "group-browser__results": !0, "group-browser__results--compact": r })} .part=${"results"}>${t.map(({ group: o, cardProps: i, view: l }) => {
448
+ return u`<div class=${C({ "group-browser__results": !0, "group-browser__results--compact": r })} .part=${"results"}>${t.map(({ group: o, cardProps: i, view: l }) => {
451
449
  const n = o.id;
452
- return $(n, u`<arcgis-portal-group-card class="group-browser__result-card" .portal=${this.portal} .group=${o} .user=${i.user} .indeterminate=${i.indeterminate} .view=${l} .selection=${this.selection} .selected=${e.has(n)} .preview=${i.preview ?? this.preview} .previewed=${i.previewed ?? this.store.preview === n} .name=${i.name} .showSummary=${i.showSummary ?? !0} .showBadges=${i.showBadges ?? !0} .showDateUpdated=${i.showDateUpdated ?? !0} .showDateCreated=${i.showDateCreated ?? !1} .showViewableBy=${i.showViewableBy ?? !0} .showOwner=${i.showOwner ?? !0} .link=${i.link} .linkHandler=${i.linkHandler} .newTab=${i.newTab ?? !1} .disabled=${i.disabled ?? !1} @arcgisGroupCardSelect=${(c) => {
453
- this.handleGroupCardSelect(c);
454
- }} @arcgisGroupBrowserCardPreview=${(c) => {
455
- const a = c.detail;
450
+ return B(n, u`<arcgis-portal-group-card class="group-browser__result-card" .portal=${this.portal} .group=${o} .user=${i.user} .indeterminate=${i.indeterminate} .view=${l} .selection=${this.selection} .selected=${e.has(n)} .preview=${i.preview ?? this.preview} .previewed=${i.previewed ?? this.store.preview === n} .name=${i.name} .showSummary=${i.showSummary ?? !0} .showBadges=${i.showBadges ?? !0} .showDateUpdated=${i.showDateUpdated ?? !0} .showDateCreated=${i.showDateCreated ?? !1} .showViewableBy=${i.showViewableBy ?? !0} .showOwner=${i.showOwner ?? !0} .link=${i.link} .linkHandler=${i.linkHandler} .newTab=${i.newTab ?? !1} .disabled=${i.disabled ?? !1} @arcgisGroupCardSelect=${(h) => {
451
+ this.handleGroupCardSelect(h);
452
+ }} @arcgisGroupBrowserCardPreview=${(h) => {
453
+ const a = h.detail;
456
454
  if (this.store.filtersExpanded = !1, !a || this.store.preview === a.id) {
457
455
  this.closePreview();
458
456
  return;
459
457
  }
460
- this.restoreFocusTarget = c.currentTarget, this.store.preview = a.id, this.previewGroup = a, this.arcgisGroupBrowserPreview.emit(a);
458
+ this.restoreFocusTarget = h.currentTarget, this.store.preview = a.id, this.previewGroup = a, this.arcgisGroupBrowserPreview.emit(a);
461
459
  }}></arcgis-portal-group-card>`);
462
460
  })}</div>`;
463
461
  }
464
462
  render() {
465
463
  const e = this.responsiveFormFactor === "small" ? "small" : this.formFactor;
466
- return u`<arcgis-portal-browser .store=${this.store} .response=${this.getBrowserResponseFromQueryResponse(this.queryResponse)} .loading=${this.loading} .formFactor=${e} .height=${this.height} .searchTerm=${this.searchTerm} .rangeFormatter=${this.formatRange} .selected=${this.selectedGroups} .alwaysShowSelection=${this.alwaysShowSelection} @arcgisAriaUpdate=${(t) => {
464
+ return u`<arcgis-portal-browser .store=${this.store} .response=${this.getBrowserResponseFromQueryResponse(this.queryResponse)} .loading=${this.loading} .formFactor=${e} .height=${this.height} .searchTerm=${this.searchTerm} .rangeFormatter=${this.formatRange} .selected=${this.selectedGroups} .alwaysShowSelection=${this.alwaysShowSelection} @arcgisBrowserFilterClear=${this.handleBrowserFilterClear} @arcgisBrowserFilterRemove=${this.handleBrowserFilterRemove} @arcgisAriaUpdate=${(t) => {
467
465
  this.arcgisAriaUpdate.emit(t.detail);
468
- }}><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>${M({ slot: "sort", sort: this.sort, formFactor: e, sortField: this.sortField, sortOrder: this.sortOrder, onSortFieldChange: (t) => {
466
+ }}><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>${E({ slot: "sort", sort: this.sort, formFactor: e, sortField: this.sortField, sortOrder: this.sortOrder, onSortFieldChange: (t) => {
469
467
  this.handleSortFieldChange(t);
470
468
  }, onSortOrderChange: (t) => {
471
469
  this.handleSortOrderChange(t);
472
- } })}<slot name=content slot=content>${this.renderContent()}</slot>${L({ slot: "pagination", store: this.store, total: this.queryResponse.total, start: this.queryResponse?.queryParams?.start ?? 1, num: this.queryResponse?.queryParams?.num ?? this.num, onPage: (t) => {
470
+ } })}<slot name=content slot=content>${this.renderContent()}</slot>${q({ slot: "pagination", store: this.store, total: this.queryResponse.total, start: this.queryResponse?.queryParams?.start ?? 1, num: this.queryResponse?.queryParams?.num ?? this.num, onPage: (t) => {
473
471
  this.handlePage(t);
474
472
  } })}<slot name=content-end slot=content-end></slot><slot name=preview slot=preview>${this.previewGroup && u`<arcgis-portal-group-browser-preview .group=${this.previewGroup} .portal=${this.portal} .user=${this.portal.user ?? void 0} .showBadges=${!this.hidePreviewBadges} .hidePreviewFooter=${this.hidePreviewFooter} .currentResponse=${this.queryResponse} .previewFooterActionsEmpty=${this.getPreviewFooterActionsEmpty()} @arcgisGroupBrowserInternalUIAction=${(t) => {
475
473
  this.arcgisGroupBrowserInternalUIAction.emit(t.detail);
@@ -477,7 +475,7 @@ class j extends B {
477
475
  this.closePreview({ restoreFocus: !0 });
478
476
  }} @arcgisPreviewClose=${() => {
479
477
  this.closePreview({ restoreFocus: !0 });
480
- }}><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>${q({ slot: "filters", filters: this.filters, messages: this._messages, 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: (t) => this.isFilterActive(t), handleSelect: (t) => {
478
+ }}><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>${L({ 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: (t) => this.isFilterActive(t), handleSelect: (t) => {
481
479
  this.setFilterSelection(t);
482
480
  }, handleUserFilterChange: (t) => {
483
481
  this.arcgisGroupBrowserUserFilterChange.emit(t);
@@ -488,7 +486,7 @@ class j extends B {
488
486
  } })}</arcgis-portal-browser>`;
489
487
  }
490
488
  }
491
- G("arcgis-portal-group-browser", j);
489
+ S("arcgis-portal-group-browser", j);
492
490
  export {
493
491
  j as ArcgisPortalGroupBrowser
494
492
  };