@altinn/altinn-components 0.56.20 → 0.56.22
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.
- package/dist/assets/AccountSelector.css +1 -1
- package/dist/assets/AccountSelectorButton.css +1 -0
- package/dist/assets/DatepickerFilter.css +1 -1
- package/dist/assets/Dropdown.css +1 -1
- package/dist/assets/GlobalHeader.css +1 -1
- package/dist/assets/GlobalMenuButton2.css +1 -1
- package/dist/assets/HeaderLogo2.css +1 -1
- package/dist/assets/LayoutGrid.css +1 -1
- package/dist/assets/ModalBase.css +1 -1
- package/dist/assets/ModalFooter.css +1 -0
- package/dist/assets/SettingsSection.css +1 -1
- package/dist/components/Account/AccountMenu.js +20 -20
- package/dist/components/Bookmarks/BookmarkSettingsList.js +41 -11
- package/dist/components/Dropdown/Dropdown.js +10 -10
- package/dist/components/DsComponents/index.js +20 -21
- package/dist/components/GlobalHeader/AccountSelector.js +64 -124
- package/dist/components/GlobalHeader/AccountSelectorButton.js +127 -0
- package/dist/components/GlobalHeader/DigdirLogomark.js +23 -109
- package/dist/components/GlobalHeader/GlobalHeader.js +84 -117
- package/dist/components/GlobalHeader/GlobalMenuButton.js +64 -0
- package/dist/components/GlobalHeader/HeaderLogo.js +20 -13
- package/dist/components/GlobalHeader/index.js +2 -2
- package/dist/components/GlobalMenu/GlobalMenu.js +11 -10
- package/dist/components/GlobalMenu/index.js +2 -4
- package/dist/components/Layout/Layout.js +30 -30
- package/dist/components/Layout/LayoutGrid.js +3 -3
- package/dist/components/Modal/ModalBase.js +35 -33
- package/dist/components/Modal/ModalFooter.js +7 -10
- package/dist/components/Modal/index.js +8 -6
- package/dist/components/Settings/SettingsItem.js +53 -35
- package/dist/components/Settings/SettingsItemBase.js +19 -20
- package/dist/components/Settings/SettingsSection.js +10 -10
- package/dist/components/index.js +89 -88
- package/dist/functions/index.js +6 -4
- package/dist/functions/orgno/index.js +4 -0
- package/dist/functions/orgno/orgno.js +4 -0
- package/dist/hooks/useAccountSelector.js +77 -75
- package/dist/index.js +88 -85
- package/dist/textfield-CNXt-27J.js +3403 -0
- package/dist/types/lib/components/Bookmarks/BookmarkSettingsItem.d.ts +2 -0
- package/dist/types/lib/components/Bookmarks/BookmarkSettingsList.d.ts +7 -1
- package/dist/types/lib/components/Bookmarks/BookmarkSettingsList.stories.d.ts +4 -1
- package/dist/types/lib/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/types/lib/components/{Account/AccountMenuButton.d.ts → GlobalHeader/AccountSelectorButton.d.ts} +2 -2
- package/dist/types/lib/components/{Account/AccountMenuButton.stories.d.ts → GlobalHeader/AccountSelectorButton.stories.d.ts} +1 -1
- package/dist/types/lib/components/GlobalHeader/DigdirLogomark.d.ts +1 -2
- package/dist/types/lib/components/GlobalHeader/GlobalHeader.d.ts +1 -3
- package/dist/types/lib/components/GlobalHeader/GlobalHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/{GlobalMenu → GlobalHeader}/GlobalMenuButton.d.ts +2 -2
- package/dist/types/lib/components/{GlobalMenu → GlobalHeader}/GlobalMenuButton.stories.d.ts +1 -1
- package/dist/types/lib/components/GlobalHeader/index.d.ts +1 -1
- package/dist/types/lib/components/GlobalMenu/index.d.ts +0 -1
- package/dist/types/lib/components/Modal/ModalBase.d.ts +2 -1
- package/dist/types/lib/components/Modal/ModalFooter.d.ts +3 -3
- package/dist/types/lib/components/Modal/index.d.ts +1 -0
- package/dist/types/lib/components/Settings/SettingsModal.stories.d.ts +2 -1
- package/dist/types/lib/functions/index.d.ts +1 -0
- package/dist/types/lib/functions/orgno/index.d.ts +1 -0
- package/dist/types/lib/functions/orgno/orgno.d.ts +1 -0
- package/package.json +1 -1
- package/dist/assets/AccountMenuButton.css +0 -1
- package/dist/assets/GlobalHeaderBase.css +0 -1
- package/dist/assets/HeaderGroup2.css +0 -1
- package/dist/assets/globalSearch.css +0 -1
- package/dist/components/Account/AccountMenuButton.js +0 -134
- package/dist/components/GlobalHeader/GlobalHeaderBase.js +0 -24
- package/dist/components/GlobalHeader/GlobalSearch.js +0 -62
- package/dist/components/GlobalHeader/GlobalSearchButton.js +0 -54
- package/dist/components/GlobalHeader/HeaderGroup.js +0 -8
- package/dist/components/GlobalMenu/GlobalMenuButton.js +0 -83
- package/dist/globalSearch.module-DziLSGZg.js +0 -9
- package/dist/index--jNxJmA8.js +0 -2000
- package/dist/textfield-Drdr9bio.js +0 -1439
- package/dist/types/lib/components/GlobalHeader/GlobalHeaderBase.d.ts +0 -9
- package/dist/types/lib/components/GlobalHeader/GlobalSearch.d.ts +0 -4
- package/dist/types/lib/components/GlobalHeader/GlobalSearchButton.d.ts +0 -6
- package/dist/types/lib/components/GlobalHeader/HeaderGroup.d.ts +0 -6
|
@@ -1,125 +1,126 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useMemo as
|
|
1
|
+
import { jsx as U } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as V } from "react";
|
|
3
3
|
import "../index-p1eeF8LQ.js";
|
|
4
|
-
import { Button as
|
|
4
|
+
import { Button as G } from "../components/Button/Button.js";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
import "../components/RootProvider/RootProvider.js";
|
|
7
|
-
import { useIsDesktop as
|
|
7
|
+
import { useIsDesktop as W } from "./useIsDesktop.js";
|
|
8
8
|
import "../components/Snackbar/useSnackbar.js";
|
|
9
9
|
import { formatDisplayName as S } from "../functions/name/name.js";
|
|
10
10
|
import { formatDate as E } from "../functions/date/date.js";
|
|
11
|
-
import {
|
|
12
|
-
|
|
11
|
+
import { formatOrgNo as x } from "../functions/orgno/orgno.js";
|
|
12
|
+
import { S as R, a as Y } from "../HeartFill-CYSrJ_xK.js";
|
|
13
|
+
const D = (e) => e === "Organization" ? "company" : "person", st = ({
|
|
13
14
|
partyListDTO: e = [],
|
|
14
15
|
favoriteAccountUuids: o,
|
|
15
|
-
currentAccountUuid:
|
|
16
|
-
selfAccountUuid:
|
|
16
|
+
currentAccountUuid: c,
|
|
17
|
+
selfAccountUuid: v,
|
|
17
18
|
isLoading: d = !1,
|
|
18
19
|
onSelectAccount: b,
|
|
19
20
|
virtualized: I = !1,
|
|
20
21
|
onToggleFavorite: r,
|
|
21
22
|
languageCode: i,
|
|
22
|
-
showDeletedUnits:
|
|
23
|
+
showDeletedUnits: f,
|
|
23
24
|
onShowDeletedUnitsChange: n
|
|
24
25
|
}) => {
|
|
25
|
-
const
|
|
26
|
-
if (d || !e || !
|
|
26
|
+
const a = W(), [z, m, p] = V(() => {
|
|
27
|
+
if (d || !e || !v)
|
|
27
28
|
return [[], {}, void 0];
|
|
28
|
-
const s = (t) => o?.includes(t), _ = (t) => !t.isDeleted ||
|
|
29
|
+
const s = (t) => o?.includes(t), _ = (t) => !t.isDeleted || f !== !1 || t.partyUuid === c, N = B(i), F = i || "nb", k = (t, u) => t.name.localeCompare(u.name, F, {
|
|
29
30
|
sensitivity: "base",
|
|
30
31
|
ignorePunctuation: !0
|
|
31
|
-
}),
|
|
32
|
-
let
|
|
33
|
-
const
|
|
34
|
-
for (const t of
|
|
35
|
-
if (
|
|
36
|
-
if (t.partyUuid ===
|
|
37
|
-
|
|
32
|
+
}), j = [...e].sort(k);
|
|
33
|
+
let P;
|
|
34
|
+
const O = [], y = [], g = [];
|
|
35
|
+
for (const t of j)
|
|
36
|
+
if (w(t.type)) {
|
|
37
|
+
if (t.partyUuid === v)
|
|
38
|
+
P = h(
|
|
38
39
|
i,
|
|
39
40
|
t,
|
|
40
41
|
"favorites",
|
|
41
|
-
|
|
42
|
+
c,
|
|
42
43
|
!1,
|
|
43
44
|
r,
|
|
44
|
-
|
|
45
|
+
a,
|
|
45
46
|
void 0,
|
|
46
47
|
!0
|
|
47
48
|
);
|
|
48
49
|
else if (_(t) || s(t.partyUuid)) {
|
|
49
|
-
const
|
|
50
|
+
const u = h(
|
|
50
51
|
i,
|
|
51
52
|
t,
|
|
52
53
|
t.partyUuid,
|
|
53
|
-
|
|
54
|
+
c,
|
|
54
55
|
s(t.partyUuid),
|
|
55
56
|
r,
|
|
56
|
-
|
|
57
|
+
a
|
|
57
58
|
);
|
|
58
|
-
|
|
59
|
+
O.push(u), s(t.partyUuid) && g.push({ ...u, groupId: "favorites" });
|
|
59
60
|
}
|
|
60
|
-
} else if (
|
|
61
|
+
} else if (q(t.type)) {
|
|
61
62
|
if (_(t) || s(t.partyUuid)) {
|
|
62
|
-
const
|
|
63
|
+
const u = h(
|
|
63
64
|
i,
|
|
64
65
|
t,
|
|
65
66
|
t.partyUuid,
|
|
66
|
-
|
|
67
|
+
c,
|
|
67
68
|
s(t.partyUuid),
|
|
68
69
|
r,
|
|
69
|
-
|
|
70
|
+
a
|
|
70
71
|
);
|
|
71
|
-
_(t) && y.push(
|
|
72
|
+
_(t) && y.push(u), s(t.partyUuid) && g.push({ ...u, groupId: "favorites" });
|
|
72
73
|
}
|
|
73
74
|
if (t.subunits && t.subunits.length > 0) {
|
|
74
|
-
const
|
|
75
|
-
for (const
|
|
76
|
-
if (_(
|
|
77
|
-
const
|
|
75
|
+
const u = [...t.subunits].sort(k);
|
|
76
|
+
for (const l of u)
|
|
77
|
+
if (_(l) || s(l.partyUuid)) {
|
|
78
|
+
const $ = h(
|
|
78
79
|
i,
|
|
79
|
-
|
|
80
|
+
l,
|
|
80
81
|
t.partyUuid,
|
|
81
|
-
|
|
82
|
-
s(
|
|
82
|
+
c,
|
|
83
|
+
s(l.partyUuid),
|
|
83
84
|
r,
|
|
84
|
-
|
|
85
|
+
a,
|
|
85
86
|
t
|
|
86
87
|
);
|
|
87
|
-
_(
|
|
88
|
-
|
|
88
|
+
_(l) && y.push($), s(l.partyUuid) && g.push({
|
|
89
|
+
...$,
|
|
89
90
|
groupId: "favorites"
|
|
90
91
|
});
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
|
-
if (
|
|
95
|
+
if (P === void 0)
|
|
95
96
|
return [[], {}, void 0];
|
|
96
|
-
const
|
|
97
|
+
const A = [P, ...g, ...O, ...y], H = A.find((t) => t?.selected === !0), M = {
|
|
97
98
|
[y[0]?.groupId || "company"]: {
|
|
98
|
-
title:
|
|
99
|
+
title: N.account_orgs,
|
|
99
100
|
divider: !0
|
|
100
101
|
},
|
|
101
|
-
[
|
|
102
|
-
title:
|
|
102
|
+
[O[0]?.groupId || "person"]: {
|
|
103
|
+
title: N.account_persons,
|
|
103
104
|
divider: !0
|
|
104
105
|
},
|
|
105
106
|
favorites: {
|
|
106
|
-
title:
|
|
107
|
+
title: N.account_favorites,
|
|
107
108
|
divider: !0
|
|
108
109
|
}
|
|
109
110
|
};
|
|
110
|
-
return [
|
|
111
|
+
return [A, M, H];
|
|
111
112
|
}, [
|
|
112
113
|
e,
|
|
113
|
-
|
|
114
|
+
v,
|
|
114
115
|
o,
|
|
115
|
-
|
|
116
|
+
c,
|
|
116
117
|
d,
|
|
117
118
|
r,
|
|
118
119
|
i,
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
a,
|
|
121
|
+
f
|
|
121
122
|
]);
|
|
122
|
-
return d || !e || !
|
|
123
|
+
return d || !e || !p ? {
|
|
123
124
|
accountMenu: {
|
|
124
125
|
items: [],
|
|
125
126
|
groups: {},
|
|
@@ -131,36 +132,36 @@ const x = (e) => e === "Organization" ? "company" : "person", ot = ({
|
|
|
131
132
|
loading: d
|
|
132
133
|
} : {
|
|
133
134
|
accountMenu: {
|
|
134
|
-
items:
|
|
135
|
+
items: z,
|
|
135
136
|
groups: m,
|
|
136
137
|
virtualized: I,
|
|
137
138
|
onSelectAccount: b,
|
|
138
|
-
currentAccount:
|
|
139
|
+
currentAccount: p
|
|
139
140
|
},
|
|
140
141
|
loading: !1,
|
|
141
|
-
showDeletedUnits:
|
|
142
|
+
showDeletedUnits: f,
|
|
142
143
|
onShowDeletedUnitsChange: n
|
|
143
144
|
};
|
|
144
|
-
}, h = (e, o,
|
|
145
|
-
const
|
|
145
|
+
}, h = (e, o, c, v, d, b, I, r, i) => {
|
|
146
|
+
const f = D(o?.type ?? ""), n = B(e), a = S({
|
|
146
147
|
fullName: o?.name,
|
|
147
|
-
type:
|
|
148
|
-
}),
|
|
148
|
+
type: f
|
|
149
|
+
}), z = r ? S({
|
|
149
150
|
fullName: r?.name,
|
|
150
|
-
type:
|
|
151
|
+
type: D(r?.type ?? ""),
|
|
151
152
|
reverseNameOrder: !1
|
|
152
153
|
}) : void 0;
|
|
153
154
|
let m = "";
|
|
154
|
-
const
|
|
155
|
-
switch (
|
|
155
|
+
const p = f === "company" && r ? "subunit" : f;
|
|
156
|
+
switch (p) {
|
|
156
157
|
case "company":
|
|
157
|
-
m = `${n.org_no}. ${o.organizationNumber}`;
|
|
158
|
+
m = `${n.org_no}. ${x(o.organizationNumber)}`;
|
|
158
159
|
break;
|
|
159
160
|
case "person":
|
|
160
161
|
m = o?.dateOfBirth ? `${n.birthdate}: ${E(o?.dateOfBirth)}` : "";
|
|
161
162
|
break;
|
|
162
163
|
case "subunit":
|
|
163
|
-
m = `↳ ${n.org_no}
|
|
164
|
+
m = `↳ ${n.org_no}. ${x(o?.organizationNumber)}, ${n.subunit_of} ${z}`;
|
|
164
165
|
break;
|
|
165
166
|
default:
|
|
166
167
|
m = "";
|
|
@@ -168,20 +169,21 @@ const x = (e) => e === "Organization" ? "company" : "person", ot = ({
|
|
|
168
169
|
return {
|
|
169
170
|
id: o?.partyUuid,
|
|
170
171
|
icon: {
|
|
171
|
-
name:
|
|
172
|
-
type:
|
|
172
|
+
name: a,
|
|
173
|
+
type: f,
|
|
173
174
|
isParent: !r,
|
|
174
175
|
isDeleted: o?.isDeleted
|
|
175
176
|
},
|
|
176
|
-
name:
|
|
177
|
+
name: a,
|
|
177
178
|
description: m,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
searchWords: p === "company" ? [a, o?.organizationNumber ?? ""] : [a, o?.dateOfBirth ?? ""],
|
|
180
|
+
groupId: c,
|
|
181
|
+
type: p,
|
|
182
|
+
selected: v === o?.partyUuid,
|
|
181
183
|
disabled: !!o?.onlyHierarchyElementWithNoAccess,
|
|
182
184
|
badge: i ? { label: n.you, color: "person" } : o.isDeleted && I ? { label: n.deleted, color: "neutral" } : void 0,
|
|
183
|
-
controls: !i && /* @__PURE__ */
|
|
184
|
-
|
|
185
|
+
controls: !i && /* @__PURE__ */ U(
|
|
186
|
+
G,
|
|
185
187
|
{
|
|
186
188
|
rounded: !0,
|
|
187
189
|
variant: "ghost",
|
|
@@ -190,11 +192,11 @@ const x = (e) => e === "Organization" ? "company" : "person", ot = ({
|
|
|
190
192
|
b && (s.stopPropagation(), b(o?.partyUuid));
|
|
191
193
|
},
|
|
192
194
|
size: "xs",
|
|
193
|
-
children: d ? /* @__PURE__ */
|
|
195
|
+
children: d ? /* @__PURE__ */ U(R, {}) : /* @__PURE__ */ U(Y, {})
|
|
194
196
|
}
|
|
195
197
|
)
|
|
196
198
|
};
|
|
197
|
-
},
|
|
199
|
+
}, q = (e) => e === "Organization", w = (e) => e === "Person" || e === "SelfIdentified", B = (e) => {
|
|
198
200
|
switch (e) {
|
|
199
201
|
case "nn":
|
|
200
202
|
return {
|
|
@@ -238,5 +240,5 @@ const x = (e) => e === "Organization" ? "company" : "person", ot = ({
|
|
|
238
240
|
}
|
|
239
241
|
};
|
|
240
242
|
export {
|
|
241
|
-
|
|
243
|
+
st as useAccountSelector
|
|
242
244
|
};
|
package/dist/index.js
CHANGED
|
@@ -11,10 +11,10 @@ import { AccountNotificationSettings as b } from "./components/Account/AccountNo
|
|
|
11
11
|
import { AccountOrganization as A } from "./components/Account/AccountOrganization.js";
|
|
12
12
|
import { Alert as T } from "./components/Alert/Alert.js";
|
|
13
13
|
import { Badge as h } from "./components/Badge/Badge.js";
|
|
14
|
-
import { Banner as
|
|
14
|
+
import { Banner as F, BannerColorEnum as H } from "./components/Banner/Banner.js";
|
|
15
15
|
import { BookmarkSettingsItem as v } from "./components/Bookmarks/BookmarkSettingsItem.js";
|
|
16
16
|
import { BookmarkSettingsList as G } from "./components/Bookmarks/BookmarkSettingsList.js";
|
|
17
|
-
import { BookmarkModal as
|
|
17
|
+
import { BookmarkModal as N } from "./components/Bookmarks/BookmarkModal.js";
|
|
18
18
|
import { Breadcrumbs as R } from "./components/Breadcrumbs/Breadcrumbs.js";
|
|
19
19
|
import { BreadcrumbsLink as V } from "./components/Breadcrumbs/BreadcrumbsLink.js";
|
|
20
20
|
import { Button as Q } from "./components/Button/Button.js";
|
|
@@ -37,11 +37,11 @@ import { DialogContact as bo } from "./components/Dialog/DialogContact.js";
|
|
|
37
37
|
import { DialogHistory as Ao } from "./components/Dialog/DialogHistory.js";
|
|
38
38
|
import { DialogHistorySegment as To } from "./components/Dialog/DialogHistorySegment.js";
|
|
39
39
|
import { DialogHistoryItem as ho } from "./components/Dialog/DialogHistoryItem.js";
|
|
40
|
-
import { DialogList as
|
|
40
|
+
import { DialogList as Fo } from "./components/Dialog/DialogList.js";
|
|
41
41
|
import { DialogListGroup as Po } from "./components/Dialog/DialogListGroup.js";
|
|
42
42
|
import { DialogListItem as wo } from "./components/Dialog/DialogListItem.js";
|
|
43
43
|
import { DialogMetadata as Oo } from "./components/Dialog/DialogMetadata.js";
|
|
44
|
-
import { DialogByline as
|
|
44
|
+
import { DialogByline as Eo } from "./components/Dialog/DialogByline.js";
|
|
45
45
|
import { DialogActions as Uo } from "./components/Dialog/DialogActions.js";
|
|
46
46
|
import { DialogActivityLog as zo } from "./components/Dialog/DialogActivityLog.js";
|
|
47
47
|
import { DialogSeenBy as _o } from "./components/Dialog/DialogSeenBy.js";
|
|
@@ -64,10 +64,10 @@ import { DrawerOrDropdown as Mr } from "./components/Dropdown/DrawerOrDropdown.j
|
|
|
64
64
|
import { FloatingDropdown as yr } from "./components/Dropdown/FloatingDropdown.js";
|
|
65
65
|
import { Footer as kr } from "./components/Footer/Footer.js";
|
|
66
66
|
import { CurrentAccount as Cr } from "./components/GlobalMenu_old/CurrentAccount.js";
|
|
67
|
-
import { BackButton as
|
|
67
|
+
import { BackButton as Hr } from "./components/GlobalMenu_old/BackButton.js";
|
|
68
68
|
import { LogoutButton as vr } from "./components/GlobalMenu_old/LogoutButton.js";
|
|
69
69
|
import { EndUserLabel as Gr } from "./components/GlobalMenu_old/EndUserLabel.js";
|
|
70
|
-
import { GlobalMenu_old as
|
|
70
|
+
import { GlobalMenu_old as Nr } from "./components/GlobalMenu_old/GlobalMenu.js";
|
|
71
71
|
import { GlobalMenuButton_old as Rr } from "./components/GlobalMenu_old/GlobalMenuButton.js";
|
|
72
72
|
import { Header as Vr } from "./components/Header/Header.js";
|
|
73
73
|
import { HeaderBase as Qr } from "./components/Header/HeaderBase.js";
|
|
@@ -90,11 +90,11 @@ import { LayoutBody as be } from "./components/Layout/LayoutBody.js";
|
|
|
90
90
|
import { LayoutContent as Ae } from "./components/Layout/LayoutContent.js";
|
|
91
91
|
import { LayoutSidebar as Te } from "./components/Layout/LayoutSidebar.js";
|
|
92
92
|
import { Layout as he } from "./components/Layout/Layout.js";
|
|
93
|
-
import { ActionHeader as
|
|
93
|
+
import { ActionHeader as Fe } from "./components/LayoutAction/ActionHeader.js";
|
|
94
94
|
import { ActionFooter as Pe } from "./components/LayoutAction/ActionFooter.js";
|
|
95
95
|
import { LayoutAction as we } from "./components/LayoutAction/LayoutAction.js";
|
|
96
96
|
import { ListItemBase as Oe } from "./components/List/ListItemBase.js";
|
|
97
|
-
import { ListItemLink as
|
|
97
|
+
import { ListItemLink as Ee } from "./components/List/ListItemLink.js";
|
|
98
98
|
import { ListItemHeader as Ue } from "./components/List/ListItemHeader.js";
|
|
99
99
|
import { ListItemLabel as ze, isHeadingProps as Qe } from "./components/List/ListItemLabel.js";
|
|
100
100
|
import { ListItemIcon as Ke } from "./components/List/ListItemIcon.js";
|
|
@@ -115,10 +115,10 @@ import { MetaBase as Mt } from "./components/Metadata/MetaBase.js";
|
|
|
115
115
|
import { MetaItemBase as yt } from "./components/Metadata/MetaItemBase.js";
|
|
116
116
|
import { MetaItemIcon as kt } from "./components/Metadata/MetaItemIcon.js";
|
|
117
117
|
import { MetaItemLabel as Ct } from "./components/Metadata/MetaItemLabel.js";
|
|
118
|
-
import { MetaItem as
|
|
118
|
+
import { MetaItem as Ht } from "./components/Metadata/MetaItem.js";
|
|
119
119
|
import { MetaProgress as vt } from "./components/Metadata/MetaProgress.js";
|
|
120
120
|
import { MetaTimestamp as Gt } from "./components/Metadata/MetaTimestamp.js";
|
|
121
|
-
import { MetaListItem as
|
|
121
|
+
import { MetaListItem as Nt, Metadata as Et } from "./components/Metadata/Metadata.js";
|
|
122
122
|
import { NotificationItem as Ut } from "./components/Notifications/NotificationItem.js";
|
|
123
123
|
import { NotificationItemBase as zt } from "./components/Notifications/NotificationItemBase.js";
|
|
124
124
|
import { NotificationItemControls as _t } from "./components/Notifications/NotificationItemControls.js";
|
|
@@ -139,10 +139,10 @@ import { SnackbarDuration as Im, SnackbarProvider as bm, useSnackbar as Mm } fro
|
|
|
139
139
|
import { Skeleton as ym } from "./components/Skeleton/Skeleton.js";
|
|
140
140
|
import { Timeline as km } from "./components/Timeline/Timeline.js";
|
|
141
141
|
import { TimelineSegment as Cm } from "./components/Timeline/TimelineSegment.js";
|
|
142
|
-
import { TimelineActivity as
|
|
142
|
+
import { TimelineActivity as Hm } from "./components/Timeline/TimelineActivity.js";
|
|
143
143
|
import { TimelineBase as vm } from "./components/Timeline/TimelineBase.js";
|
|
144
144
|
import { TimelineSection as Gm } from "./components/Timeline/TimelineSection.js";
|
|
145
|
-
import { TimelineHeader as
|
|
145
|
+
import { TimelineHeader as Nm } from "./components/Timeline/TimelineHeader.js";
|
|
146
146
|
import { TimelineFooter as Rm } from "./components/Timeline/TimelineFooter.js";
|
|
147
147
|
import { TimelineIcon as Vm } from "./components/Timeline/TimelineIcon.js";
|
|
148
148
|
import { Toolbar as Qm } from "./components/Toolbar/Toolbar.js";
|
|
@@ -165,11 +165,11 @@ import { ContactButtons as Ip } from "./components/Page/ContactButtons.js";
|
|
|
165
165
|
import { AccordionSection as Mp } from "./components/Page/AccordionSection.js";
|
|
166
166
|
import { Transmission as yp } from "./components/Transmission/Transmission.js";
|
|
167
167
|
import { TransmissionType as kp, TransmissionTypeEnum as hp } from "./components/Transmission/TransmissionType.js";
|
|
168
|
-
import { TransmissionList as
|
|
168
|
+
import { TransmissionList as Fp } from "./components/Transmission/TransmissionList.js";
|
|
169
169
|
import { Typography as Pp } from "./components/Typography/Typography.js";
|
|
170
170
|
import { Heading as wp } from "./components/Typography/Heading.js";
|
|
171
171
|
import { ResourceListItem as Op } from "./components/ResourceListItem/ResourceListItem.js";
|
|
172
|
-
import { AccessAreaListItem as
|
|
172
|
+
import { AccessAreaListItem as Ep } from "./components/AccessAreaListItem/AccessAreaListItem.js";
|
|
173
173
|
import { AccessPackageListItem as Up } from "./components/AccessPackageListItem/AccessPackageListItem.js";
|
|
174
174
|
import { UserListItem as zp } from "./components/UserListItem/UserListItem.js";
|
|
175
175
|
import { Field as _p } from "./components/Forms/Field.js";
|
|
@@ -192,11 +192,11 @@ import { OptionsBase as ba } from "./components/Forms/OptionsBase.js";
|
|
|
192
192
|
import { RadioOptions as Aa } from "./components/Forms/RadioOptions.js";
|
|
193
193
|
import { SwitchOptions as Ta } from "./components/Forms/SwitchOptions.js";
|
|
194
194
|
import { CheckboxOptions as ha } from "./components/Forms/CheckboxOptions.js";
|
|
195
|
-
import { SettingsItem as
|
|
195
|
+
import { SettingsItem as Fa } from "./components/Settings/SettingsItem.js";
|
|
196
196
|
import { SettingsItemBase as Pa } from "./components/Settings/SettingsItemBase.js";
|
|
197
197
|
import { SettingsList as wa } from "./components/Settings/SettingsList.js";
|
|
198
198
|
import { SettingsSection as Oa } from "./components/Settings/SettingsSection.js";
|
|
199
|
-
import { SettingsModal as
|
|
199
|
+
import { SettingsModal as Ea } from "./components/Settings/SettingsModal.js";
|
|
200
200
|
import { UsedByLog as Ua } from "./components/Settings/UsedByLog.js";
|
|
201
201
|
import { UsedByLogItem as za } from "./components/Settings/UsedByLogItem.js";
|
|
202
202
|
import { DashboardHeader as _a } from "./components/Dashboard/DashboardHeader.js";
|
|
@@ -209,26 +209,27 @@ import { ArticleContact as ex } from "./components/Article/ArticleContact.js";
|
|
|
209
209
|
import { Article as mx } from "./components/Article/Article.js";
|
|
210
210
|
import { ModalBase as ax } from "./components/Modal/ModalBase.js";
|
|
211
211
|
import { ModalHeader as fx } from "./components/Modal/ModalHeader.js";
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
216
|
-
import {
|
|
217
|
-
import {
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
212
|
+
import { ModalFooter as sx } from "./components/Modal/ModalFooter.js";
|
|
213
|
+
import { ModalIcon as cx } from "./components/Modal/ModalIcon.js";
|
|
214
|
+
import { ModalBody as ux } from "./components/Modal/ModalBody.js";
|
|
215
|
+
import { Modal as Dx } from "./components/Modal/Modal.js";
|
|
216
|
+
import { Tooltip as Lx } from "./components/Tooltip/Tooltip.js";
|
|
217
|
+
import { useClickOutside as Sx } from "./hooks/useClickOutside.js";
|
|
218
|
+
import { useEscapeKey as bx } from "./hooks/useEscapeKey.js";
|
|
219
|
+
import { useMenu as Ax } from "./hooks/useMenu.js";
|
|
220
|
+
import { useAccountSelector as Tx } from "./hooks/useAccountSelector.js";
|
|
221
|
+
import { formatDisplayName as hx } from "./functions/name/name.js";
|
|
222
|
+
import { formatDate as Fx } from "./functions/date/date.js";
|
|
223
|
+
import { formatOrgNo as Px } from "./functions/orgno/orgno.js";
|
|
224
|
+
import { A as wx } from "./alert-BzifOfXl.js";
|
|
225
|
+
import { B as Ox, C as Nx, a as Ex, b as Rx, D as Ux, L as Vx, c as zx, d as Qx, P as _x, e as Kx, S as jx, f as qx, g as Jx, T as Wx, u as Xx } from "./textfield-CNXt-27J.js";
|
|
226
|
+
import { B as Zx, S as $x } from "./button-BB5sYVKY.js";
|
|
227
|
+
import { H as rf, S as ef } from "./switch-Cemfhx0H.js";
|
|
228
|
+
import { D as mf } from "./index-Q0EA2XB0.js";
|
|
229
|
+
import { P as af } from "./paragraph-BRiIBpbY.js";
|
|
230
|
+
import { V as ff } from "./index-z82sbSVU.js";
|
|
230
231
|
export {
|
|
231
|
-
|
|
232
|
+
Ep as AccessAreaListItem,
|
|
232
233
|
Up as AccessPackageListItem,
|
|
233
234
|
Mp as AccordionSection,
|
|
234
235
|
S as AccountList,
|
|
@@ -238,7 +239,7 @@ export {
|
|
|
238
239
|
b as AccountNotificationSettings,
|
|
239
240
|
A as AccountOrganization,
|
|
240
241
|
Pe as ActionFooter,
|
|
241
|
-
|
|
242
|
+
Fe as ActionHeader,
|
|
242
243
|
Ja as ActivityLog,
|
|
243
244
|
Za as ActivityLogItem,
|
|
244
245
|
Xa as ActivityLogSegment,
|
|
@@ -254,12 +255,12 @@ export {
|
|
|
254
255
|
nm as AutocompleteItem,
|
|
255
256
|
f as Avatar,
|
|
256
257
|
n as AvatarGroup,
|
|
257
|
-
|
|
258
|
+
Hr as BackButton,
|
|
258
259
|
nr as Backdrop,
|
|
259
260
|
h as Badge,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
F as Banner,
|
|
262
|
+
H as BannerColorEnum,
|
|
263
|
+
N as BookmarkModal,
|
|
263
264
|
v as BookmarkSettingsItem,
|
|
264
265
|
G as BookmarkSettingsList,
|
|
265
266
|
R as Breadcrumbs,
|
|
@@ -285,14 +286,14 @@ export {
|
|
|
285
286
|
zo as DialogActivityLog,
|
|
286
287
|
Yo as DialogAttachments,
|
|
287
288
|
Do as DialogBody,
|
|
288
|
-
|
|
289
|
+
Eo as DialogByline,
|
|
289
290
|
bo as DialogContact,
|
|
290
291
|
lo as DialogHeader,
|
|
291
292
|
Ao as DialogHistory,
|
|
292
293
|
ho as DialogHistoryItem,
|
|
293
294
|
To as DialogHistorySegment,
|
|
294
295
|
no as DialogLayout,
|
|
295
|
-
|
|
296
|
+
Fo as DialogList,
|
|
296
297
|
Po as DialogListGroup,
|
|
297
298
|
wo as DialogListItem,
|
|
298
299
|
Oo as DialogMetadata,
|
|
@@ -311,28 +312,28 @@ export {
|
|
|
311
312
|
Mr as DrawerOrDropdown,
|
|
312
313
|
ir as Dropdown,
|
|
313
314
|
xr as DropdownBase,
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
315
|
+
wx as DsAlert,
|
|
316
|
+
Ox as DsBadge,
|
|
317
|
+
Zx as DsButton,
|
|
318
|
+
Nx as DsCheckbox,
|
|
319
|
+
Ex as DsChip,
|
|
320
|
+
Rx as DsCombobox,
|
|
321
|
+
mf as DsDetails,
|
|
322
|
+
Ux as DsDialog,
|
|
323
|
+
rf as DsHeading,
|
|
324
|
+
Vx as DsLink,
|
|
325
|
+
zx as DsListItem,
|
|
326
|
+
Qx as DsListUnordered,
|
|
327
|
+
_x as DsPagination,
|
|
328
|
+
af as DsParagraph,
|
|
329
|
+
Kx as DsPopover,
|
|
330
|
+
jx as DsSearch,
|
|
331
|
+
qx as DsSkeleton,
|
|
332
|
+
$x as DsSpinner,
|
|
333
|
+
ef as DsSwitch,
|
|
334
|
+
Jx as DsTabs,
|
|
335
|
+
Wx as DsTextfield,
|
|
336
|
+
ff as DsValidationMessage,
|
|
336
337
|
Gr as EndUserLabel,
|
|
337
338
|
_p as Field,
|
|
338
339
|
sa as FieldBase,
|
|
@@ -343,7 +344,7 @@ export {
|
|
|
343
344
|
yr as FloatingDropdown,
|
|
344
345
|
kr as Footer,
|
|
345
346
|
Rr as GlobalMenuButton_old,
|
|
346
|
-
|
|
347
|
+
Nr as GlobalMenu_old,
|
|
347
348
|
dp as Grid,
|
|
348
349
|
Vr as Header,
|
|
349
350
|
Qr as HeaderBase,
|
|
@@ -374,7 +375,7 @@ export {
|
|
|
374
375
|
Ue as ListItemHeader,
|
|
375
376
|
Ke as ListItemIcon,
|
|
376
377
|
ze as ListItemLabel,
|
|
377
|
-
|
|
378
|
+
Ee as ListItemLink,
|
|
378
379
|
We as ListItemSelect,
|
|
379
380
|
$r as LocaleButton,
|
|
380
381
|
re as LocaleSwitcher,
|
|
@@ -390,19 +391,20 @@ export {
|
|
|
390
391
|
tt as MenuListSearch,
|
|
391
392
|
Bt as MenuOption,
|
|
392
393
|
Mt as MetaBase,
|
|
393
|
-
|
|
394
|
+
Ht as MetaItem,
|
|
394
395
|
yt as MetaItemBase,
|
|
395
396
|
kt as MetaItemIcon,
|
|
396
397
|
Ct as MetaItemLabel,
|
|
397
|
-
|
|
398
|
+
Nt as MetaListItem,
|
|
398
399
|
vt as MetaProgress,
|
|
399
400
|
Gt as MetaTimestamp,
|
|
400
|
-
|
|
401
|
-
|
|
401
|
+
Et as Metadata,
|
|
402
|
+
Dx as Modal,
|
|
402
403
|
ax as ModalBase,
|
|
403
|
-
|
|
404
|
+
ux as ModalBody,
|
|
405
|
+
sx as ModalFooter,
|
|
404
406
|
fx as ModalHeader,
|
|
405
|
-
|
|
407
|
+
cx as ModalIcon,
|
|
406
408
|
Ut as NotificationItem,
|
|
407
409
|
zt as NotificationItemBase,
|
|
408
410
|
_t as NotificationItemControls,
|
|
@@ -433,10 +435,10 @@ export {
|
|
|
433
435
|
ea as Select,
|
|
434
436
|
rp as SelectDateFilter,
|
|
435
437
|
Da as SelectField,
|
|
436
|
-
|
|
438
|
+
Fa as SettingsItem,
|
|
437
439
|
Pa as SettingsItemBase,
|
|
438
440
|
wa as SettingsList,
|
|
439
|
-
|
|
441
|
+
Ea as SettingsModal,
|
|
440
442
|
Oa as SettingsSection,
|
|
441
443
|
e as SizeEnum,
|
|
442
444
|
ym as Skeleton,
|
|
@@ -453,10 +455,10 @@ export {
|
|
|
453
455
|
oa as Textarea,
|
|
454
456
|
ua as TextareaField,
|
|
455
457
|
km as Timeline,
|
|
456
|
-
|
|
458
|
+
Hm as TimelineActivity,
|
|
457
459
|
vm as TimelineBase,
|
|
458
460
|
Rm as TimelineFooter,
|
|
459
|
-
|
|
461
|
+
Nm as TimelineHeader,
|
|
460
462
|
Vm as TimelineIcon,
|
|
461
463
|
Gm as TimelineSection,
|
|
462
464
|
Cm as TimelineSegment,
|
|
@@ -465,9 +467,9 @@ export {
|
|
|
465
467
|
qm as ToolbarFilterMenu,
|
|
466
468
|
Ym as ToolbarMenu,
|
|
467
469
|
Wm as ToolbarSearch,
|
|
468
|
-
|
|
470
|
+
Lx as Tooltip,
|
|
469
471
|
yp as Transmission,
|
|
470
|
-
|
|
472
|
+
Fp as TransmissionList,
|
|
471
473
|
kp as TransmissionType,
|
|
472
474
|
hp as TransmissionTypeEnum,
|
|
473
475
|
Pp as Typography,
|
|
@@ -475,18 +477,19 @@ export {
|
|
|
475
477
|
za as UsedByLogItem,
|
|
476
478
|
zp as UserListItem,
|
|
477
479
|
pt as VirtualizedMenuItems,
|
|
478
|
-
|
|
479
|
-
|
|
480
|
+
Fx as formatDate,
|
|
481
|
+
hx as formatDisplayName,
|
|
482
|
+
Px as formatOrgNo,
|
|
480
483
|
c as isAvatarGroupProps,
|
|
481
484
|
i as isAvatarProps,
|
|
482
485
|
Qe as isHeadingProps,
|
|
483
486
|
me as isIconProps,
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
487
|
+
Tx as useAccountSelector,
|
|
488
|
+
Sx as useClickOutside,
|
|
489
|
+
Xx as useDsPagination,
|
|
490
|
+
bx as useEscapeKey,
|
|
488
491
|
$m as useFilter,
|
|
489
|
-
|
|
492
|
+
Ax as useMenu,
|
|
490
493
|
Wt as useRootContext,
|
|
491
494
|
Mm as useSnackbar
|
|
492
495
|
};
|