@altinn/altinn-components 0.63.5 → 0.63.7
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/README.md +0 -1
- package/dist/{HeartFill-CYSrJ_xK.js → HeartFill-CbQmSZr5.js} +2 -2
- package/dist/{Paperclip-DjN7qVfQ.js → Paperclip-DhP0Uo69.js} +2 -2
- package/dist/{ToolbarSearch-BQfKHZnX.js → ToolbarSearch-dnQTefZM.js} +183 -171
- package/dist/{Trash-B4TuJwxR.js → Trash-C8XKwDQS.js} +5 -5
- package/dist/assets/ToolbarSearch.css +1 -1
- package/dist/components/AccessAreaListItem/AccessAreaListItem.js +2 -2
- package/dist/components/AccessPackageListItem/AccessPackageListItem.js +2 -2
- package/dist/components/Account/AccountList.js +2 -2
- package/dist/components/Account/AccountListItem.js +2 -2
- package/dist/components/Account/AccountListItemControls.js +3 -3
- package/dist/components/Account/AccountListItemDetails.js +2 -2
- package/dist/components/Account/AccountListVirtual.js +3 -3
- package/dist/components/Account/AccountMenu.js +2 -2
- package/dist/components/Account/AccountNotificationSettings.js +2 -2
- package/dist/components/Account/AccountOrganization.js +2 -2
- package/dist/components/AccountSelector/AccountSelector.js +6 -6
- package/dist/components/ActivityLog/ActivityLog.js +2 -2
- package/dist/components/ActivityLog/ActivityLogItem.js +2 -2
- package/dist/components/ActivityLog/ActivityLogSegment.js +2 -2
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/Article/Article.js +2 -2
- package/dist/components/Article/ArticleContact.js +2 -2
- package/dist/components/Article/ArticleHeader.js +2 -2
- package/dist/components/Attachment/AttachmentLink.js +1 -1
- package/dist/components/Badge/Badge.js +2 -2
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Banner/Banner.js +3 -3
- package/dist/components/Bookmarks/BookmarkModal.js +4 -4
- package/dist/components/Bookmarks/BookmarkSettingsItem.js +4 -4
- package/dist/components/Bookmarks/BookmarkSettingsItemLabel.js +2 -2
- package/dist/components/Bookmarks/BookmarkSettingsList.js +2 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/components/Bulk/BulkHeader.js +2 -2
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/ButtonIcon.js +5 -5
- package/dist/components/Button/ComboButton.js +2 -2
- package/dist/components/Button/FloatingActionButton.js +3 -3
- package/dist/components/Button/IconButton.js +2 -2
- package/dist/components/Byline/Byline.js +2 -2
- package/dist/components/Byline/index.js +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +8 -8
- package/dist/components/Dashboard/DashboardCard.js +4 -4
- package/dist/components/Dashboard/DashboardHeader.js +2 -2
- package/dist/components/Datepicker/Datepicker.js +7 -7
- package/dist/components/Datepicker/DatepickerHeader.js +6 -6
- package/dist/components/Datepicker/DatepickerTable.js +2 -2
- package/dist/components/Dialog/Dialog.js +2 -2
- package/dist/components/Dialog/DialogActions.js +5 -5
- package/dist/components/Dialog/DialogActivityLog.js +2 -2
- package/dist/components/Dialog/DialogAttachments.js +2 -2
- package/dist/components/Dialog/DialogBody.js +2 -2
- package/dist/components/Dialog/DialogByline.js +2 -2
- package/dist/components/Dialog/DialogContact.js +2 -2
- package/dist/components/Dialog/DialogHeader.js +6 -6
- package/dist/components/Dialog/DialogHistory.js +2 -2
- package/dist/components/Dialog/DialogHistoryItem.js +2 -2
- package/dist/components/Dialog/DialogHistorySegment.js +2 -2
- package/dist/components/Dialog/DialogLayout.js +2 -2
- package/dist/components/Dialog/DialogList.js +2 -2
- package/dist/components/Dialog/DialogListItem.js +2 -2
- package/dist/components/Dialog/DialogMetadata.js +4 -4
- package/dist/components/Dialog/DialogSection.js +2 -2
- package/dist/components/Dialog/DialogSeenBy.js +2 -2
- package/dist/components/Dialog/DialogSelect.js +2 -2
- package/dist/components/Dialog/DialogStatus.js +2 -2
- package/dist/components/Dialog/DialogTabs.js +2 -2
- package/dist/components/Dialog/SeenByLog.js +2 -2
- package/dist/components/Dialog/SeenByLogButton.js +2 -2
- package/dist/components/Dialog/SeenByLogItem.js +2 -2
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Dropdown/DrawerButton.js +2 -2
- package/dist/components/Dropdown/DrawerHeader.js +2 -2
- package/dist/components/Dropdown/Dropdown.js +2 -2
- package/dist/components/Dropdown/DropdownBase.js +2 -2
- package/dist/components/Dropdown/FloatingDropdown.js +2 -2
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/DsComponents/index.js +14 -14
- package/dist/components/Forms/Checkbox.js +2 -2
- package/dist/components/Forms/CheckboxOptions.js +2 -2
- package/dist/components/Forms/Field.js +1 -1
- package/dist/components/Forms/FieldBase.js +2 -2
- package/dist/components/Forms/Fieldset.js +1 -1
- package/dist/components/Forms/FieldsetBase.js +2 -2
- package/dist/components/Forms/Input.js +1 -1
- package/dist/components/Forms/Label.js +1 -1
- package/dist/components/Forms/Legend.js +5 -5
- package/dist/components/Forms/Radio.js +2 -2
- package/dist/components/Forms/RadioOptions.js +2 -2
- package/dist/components/Forms/SearchField.js +2 -2
- package/dist/components/Forms/Select.js +3 -3
- package/dist/components/Forms/SelectField.js +2 -2
- package/dist/components/Forms/Switch.js +2 -2
- package/dist/components/Forms/SwitchOptions.js +2 -2
- package/dist/components/Forms/TextField.js +2 -2
- package/dist/components/Forms/TextFieldDropdown.js +10 -10
- package/dist/components/Forms/Textarea.js +1 -1
- package/dist/components/Forms/TextareaField.js +2 -2
- package/dist/components/Forms/index.js +1 -1
- package/dist/components/GlobalHeader/GlobalAccountButton.js +2 -2
- package/dist/components/GlobalHeader/GlobalHeader.js +7 -7
- package/dist/components/GlobalHeader/GlobalMenuButton.js +2 -2
- package/dist/components/GlobalHeader/HeaderDrawer.js +2 -2
- package/dist/components/GlobalHeader/HeaderDropdown.js +2 -2
- package/dist/components/GlobalHeader/HeaderLogo.js +2 -2
- package/dist/components/GlobalMenu/GlobalMenu.js +2 -2
- package/dist/components/GlobalMenu/LocaleSwitcher.js +8 -8
- package/dist/components/GlobalMenu/LogoutButton.js +2 -2
- package/dist/components/Icon/Icon.js +3 -3
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Inbox/InboxPage.js +2 -2
- package/dist/components/InboxSearch/InboxSearch.js +2 -2
- package/dist/components/Item/ItemLabel.js +1 -1
- package/dist/components/Item/ItemMedia.js +3 -3
- package/dist/components/Item/ItemSelect.js +2 -2
- package/dist/components/Item/index.js +3 -3
- package/dist/components/Layout/Layout.js +16 -16
- package/dist/components/List/List.js +2 -2
- package/dist/components/List/ListBase.js +2 -2
- package/dist/components/List/ListItemHeader.js +8 -8
- package/dist/components/List/ListItemIcon.js +5 -5
- package/dist/components/List/ListItemLabel.js +2 -2
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuItem.js +2 -2
- package/dist/components/Menu/MenuItems.js +2 -2
- package/dist/components/Menu/MenuListSearch.js +2 -2
- package/dist/components/Menu/MenuOption.js +1 -1
- package/dist/components/Menu/TabMenu.js +4 -4
- package/dist/components/Menu/VirtualizedMenuItems.js +3 -3
- package/dist/components/Menu/example.data.js +2 -2
- package/dist/components/Menu/index.js +4 -4
- package/dist/components/Menu/useMenuSearch.js +2 -2
- package/dist/components/Menu/useMenuVirtualization.js +2 -2
- package/dist/components/Metadata/MetaItem.js +1 -1
- package/dist/components/Metadata/MetaItemIcon.js +2 -2
- package/dist/components/Metadata/MetaTimestamp.js +3 -3
- package/dist/components/Metadata/Metadata.js +3 -3
- package/dist/components/Metadata/index.js +2 -2
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/ModalBase.js +2 -2
- package/dist/components/Modal/ModalHeader.js +2 -2
- package/dist/components/Modal/ModalIcon.js +6 -6
- package/dist/components/Notifications/NotificationItem.js +2 -2
- package/dist/components/Notifications/NotificationItemBase.js +2 -2
- package/dist/components/Notifications/NotificationItemControls.js +2 -2
- package/dist/components/Notifications/NotificationItemIcon.js +2 -2
- package/dist/components/Page/AccordionSection.js +2 -2
- package/dist/components/Page/ContactButtons.js +2 -2
- package/dist/components/Page/ContactSection.js +2 -2
- package/dist/components/Page/PageDetails.js +5 -5
- package/dist/components/Page/PageMenu.js +2 -2
- package/dist/components/Page/PageNav.js +2 -2
- package/dist/components/Page/Section.js +2 -2
- package/dist/components/Pagination/Pagination.js +2 -2
- package/dist/components/ResourceListItem/ResourceListItem.js +2 -2
- package/dist/components/RootProvider/RootProvider.js +4 -4
- package/dist/components/RootProvider/index.js +1 -1
- package/dist/components/Search/SearchItem.js +2 -2
- package/dist/components/Searchbar/Autocomplete.js +2 -2
- package/dist/components/Searchbar/AutocompleteItem.js +2 -2
- package/dist/components/Searchbar/Searchbar.js +4 -4
- package/dist/components/Searchbar/SearchbarField.js +4 -4
- package/dist/components/Settings/SettingsItem.js +2 -2
- package/dist/components/Settings/SettingsItemBase.js +11 -11
- package/dist/components/Settings/SettingsList.js +2 -2
- package/dist/components/Settings/SettingsListVirtual.js +3 -3
- package/dist/components/Settings/SettingsModal.js +2 -2
- package/dist/components/Settings/SettingsSection.js +2 -2
- package/dist/components/Settings/UsedByLog.js +2 -2
- package/dist/components/Settings/UsedByLogItem.js +2 -2
- package/dist/components/SkipLink/SkipLink.js +4 -4
- package/dist/components/Snackbar/SnackbarItem.js +2 -2
- package/dist/components/Timeline/Timeline.js +2 -2
- package/dist/components/Timeline/TimelineActivity.js +2 -2
- package/dist/components/Timeline/TimelineBase.js +2 -2
- package/dist/components/Timeline/TimelineFooter.js +2 -2
- package/dist/components/Timeline/TimelineHeader.js +2 -2
- package/dist/components/Timeline/TimelineIcon.js +2 -2
- package/dist/components/Timeline/TimelineSection.js +2 -2
- package/dist/components/Timeline/TimelineSegment.js +2 -2
- package/dist/components/Toolbar/DatepickerFilter.js +4 -4
- package/dist/components/Toolbar/SelectDateFilter.js +2 -2
- package/dist/components/Toolbar/Toolbar.js +6 -6
- package/dist/components/Toolbar/ToolbarFilter.js +2 -2
- package/dist/components/Toolbar/ToolbarFilterAddMenu.js +2 -2
- package/dist/components/Toolbar/ToolbarFilterButton.js +4 -4
- package/dist/components/Toolbar/ToolbarFilterMenu.js +2 -2
- package/dist/components/Toolbar/ToolbarMenu.js +3 -3
- package/dist/components/Toolbar/ToolbarSearch.js +3 -3
- package/dist/components/Toolbar/example.data.js +2 -2
- package/dist/components/Toolbar/example.hooks.js +1 -1
- package/dist/components/Toolbar/index.js +2 -2
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Transmission/Transmission.js +2 -2
- package/dist/components/Transmission/TransmissionList.js +2 -2
- package/dist/components/Transmission/TransmissionType.js +2 -2
- package/dist/components/Typography/Heading.js +2 -2
- package/dist/components/Typography/Link.js +1 -1
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/UserListItem/UserListItem.js +2 -2
- package/dist/components/index.js +3 -3
- package/dist/hooks/useAccountSelector.js +3 -3
- package/dist/index.js +3 -3
- package/dist/{tooltip-B5zQ3zF0.js → tooltip-Ct39-719.js} +26 -26
- package/dist/types/lib/components/Dialog/DialogMetadata.stories.d.ts +2 -0
- package/dist/{use-pagination-mAaJfKMF.js → use-pagination-BBfRRN5_.js} +1 -1
- package/dist/{useMenuVirtualization-Cs426RCN.js → useMenuVirtualization-DpvWCsyD.js} +2 -2
- package/package.json +5 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as a, jsxs as I, Fragment as xe } from "react/jsx-runtime";
|
|
3
3
|
import * as G from "react";
|
|
4
|
-
import
|
|
5
|
-
import "./tooltip-
|
|
4
|
+
import C, { forwardRef as Y, useRef as J, useState as oe, useMemo as le, useEffect as W, Fragment as He, useLayoutEffect as Ce, createContext as ot, useContext as at, isValidElement as Ge, useId as De, useCallback as qe, memo as Oe, createElement as st } from "react";
|
|
5
|
+
import "./tooltip-Ct39-719.js";
|
|
6
6
|
import { c as V } from "./index-p1eeF8LQ.js";
|
|
7
7
|
import { useEscapeKey as lt } from "./hooks/useEscapeKey.js";
|
|
8
8
|
import "./components/Typography/Link.js";
|
|
@@ -20,8 +20,8 @@ import { Field as mt } from "./components/Forms/Field.js";
|
|
|
20
20
|
import { Label as ft } from "./components/Forms/Label.js";
|
|
21
21
|
import { TypingIcon as pt } from "./components/Icon/TypingIcon.js";
|
|
22
22
|
import { u as Q } from "./useId-BVFxCjkq.js";
|
|
23
|
-
import { isAvatarProps as
|
|
24
|
-
import { isAvatarGroupProps as
|
|
23
|
+
import { isAvatarProps as Ee, Avatar as je } from "./components/Avatar/Avatar.js";
|
|
24
|
+
import { isAvatarGroupProps as Se, AvatarGroup as be } from "./components/Avatar/AvatarGroup.js";
|
|
25
25
|
import { ItemControls as Re } from "./components/Item/ItemControls.js";
|
|
26
26
|
import { pickAriaProps as ht } from "./components/Menu/aria.js";
|
|
27
27
|
import { MenuList as Ie } from "./components/Menu/MenuList.js";
|
|
@@ -29,8 +29,8 @@ import { MenuListItem as Ve } from "./components/Menu/MenuListItem.js";
|
|
|
29
29
|
import { MenuListGroup as Ue } from "./components/Menu/MenuListGroup.js";
|
|
30
30
|
import { MenuListDivider as We } from "./components/Menu/MenuListDivider.js";
|
|
31
31
|
import { MenuListHeading as Ye } from "./components/Menu/MenuListHeading.js";
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
32
|
+
import { u as vt } from "./useMenuVirtualization-DpvWCsyD.js";
|
|
33
|
+
import { a as bt, b as gt, S as yt } from "./Paperclip-DhP0Uo69.js";
|
|
34
34
|
import { useDropdownMenuController as _t } from "./components/Menu/useDropdownMenuController.js";
|
|
35
35
|
import { ItemBase as wt } from "./components/Item/ItemBase.js";
|
|
36
36
|
import { ItemLink as xt } from "./components/Item/ItemLink.js";
|
|
@@ -44,17 +44,17 @@ import './assets/ToolbarSearch.css';var Nt = function(e, o) {
|
|
|
44
44
|
o.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (n[t[r]] = e[t[r]]);
|
|
45
45
|
return n;
|
|
46
46
|
};
|
|
47
|
-
const
|
|
47
|
+
const kt = Y((e, o) => {
|
|
48
48
|
var { title: n, titleId: t } = e, r = Nt(e, ["title", "titleId"]);
|
|
49
49
|
let s = Q();
|
|
50
|
-
return s = n ? t || "title-" + s : void 0,
|
|
50
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
51
51
|
"svg",
|
|
52
52
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
53
|
-
n ?
|
|
54
|
-
|
|
53
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
54
|
+
C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4 3.25a.75.75 0 0 0-.75.75v3.5c0 .414.336.75.75.75h16a.75.75 0 0 0 .75-.75V4a.75.75 0 0 0-.75-.75zm15.5 6a.25.25 0 0 1 .25.25V19A1.75 1.75 0 0 1 18 20.75H6A1.75 1.75 0 0 1 4.25 19V9.5a.25.25 0 0 1 .25-.25zm-4.75 3.25a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75", clipRule: "evenodd" })
|
|
55
55
|
);
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Ct = function(e, o) {
|
|
58
58
|
var n = {};
|
|
59
59
|
for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && o.indexOf(t) < 0 && (n[t] = e[t]);
|
|
60
60
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -62,17 +62,17 @@ var Et = function(e, o) {
|
|
|
62
62
|
o.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[r]) && (n[t[r]] = e[t[r]]);
|
|
63
63
|
return n;
|
|
64
64
|
};
|
|
65
|
-
const
|
|
66
|
-
var { title: n, titleId: t } = e, r =
|
|
65
|
+
const Et = Y((e, o) => {
|
|
66
|
+
var { title: n, titleId: t } = e, r = Ct(e, ["title", "titleId"]);
|
|
67
67
|
let s = Q();
|
|
68
|
-
return s = n ? t || "title-" + s : void 0,
|
|
68
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
69
69
|
"svg",
|
|
70
70
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
71
|
-
n ?
|
|
72
|
-
|
|
71
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
72
|
+
C.createElement("path", { fill: "currentColor", d: "M12.75 5a.75.75 0 0 0-1.5 0v12.19l-3.22-3.22a.75.75 0 0 0-1.06 1.06l4.5 4.5a.75.75 0 0 0 1.06 0l4.5-4.5a.75.75 0 1 0-1.06-1.06l-3.22 3.22z" })
|
|
73
73
|
);
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var St = function(e, o) {
|
|
76
76
|
var n = {};
|
|
77
77
|
for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && o.indexOf(t) < 0 && (n[t] = e[t]);
|
|
78
78
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -81,13 +81,13 @@ var kt = function(e, o) {
|
|
|
81
81
|
return n;
|
|
82
82
|
};
|
|
83
83
|
const Qe = Y((e, o) => {
|
|
84
|
-
var { title: n, titleId: t } = e, r =
|
|
84
|
+
var { title: n, titleId: t } = e, r = St(e, ["title", "titleId"]);
|
|
85
85
|
let s = Q();
|
|
86
|
-
return s = n ? t || "title-" + s : void 0,
|
|
86
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
87
87
|
"svg",
|
|
88
88
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
89
|
-
n ?
|
|
90
|
-
|
|
89
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
90
|
+
C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.998 6.94a.75.75 0 0 1 .063 1.058l-8 9a.75.75 0 0 1-1.091.032l-5-5a.75.75 0 1 1 1.06-1.06l4.438 4.437 7.471-8.405A.75.75 0 0 1 19 6.939", clipRule: "evenodd" })
|
|
91
91
|
);
|
|
92
92
|
});
|
|
93
93
|
var Rt = function(e, o) {
|
|
@@ -101,11 +101,11 @@ var Rt = function(e, o) {
|
|
|
101
101
|
const zt = Y((e, o) => {
|
|
102
102
|
var { title: n, titleId: t } = e, r = Rt(e, ["title", "titleId"]);
|
|
103
103
|
let s = Q();
|
|
104
|
-
return s = n ? t || "title-" + s : void 0,
|
|
104
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
105
105
|
"svg",
|
|
106
106
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
107
|
-
n ?
|
|
108
|
-
|
|
107
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
108
|
+
C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.47 5.97a.75.75 0 0 1 1.06 0l5.5 5.5a.75.75 0 0 1 0 1.06l-5.5 5.5a.75.75 0 1 1-1.06-1.06L14.44 12 9.47 7.03a.75.75 0 0 1 0-1.06", clipRule: "evenodd" })
|
|
109
109
|
);
|
|
110
110
|
});
|
|
111
111
|
var Pt = function(e, o) {
|
|
@@ -119,11 +119,11 @@ var Pt = function(e, o) {
|
|
|
119
119
|
const Be = Y((e, o) => {
|
|
120
120
|
var { title: n, titleId: t } = e, r = Pt(e, ["title", "titleId"]);
|
|
121
121
|
let s = Q();
|
|
122
|
-
return s = n ? t || "title-" + s : void 0,
|
|
122
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
123
123
|
"svg",
|
|
124
124
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
125
|
-
n ?
|
|
126
|
-
|
|
125
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
126
|
+
C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-3.5 3.5a.75.75 0 0 0 1.06 1.06L12 6.06l2.97 2.97a.75.75 0 1 0 1.06-1.06zm-3.5 10.5a.75.75 0 0 0-1.06 1.06l3.5 3.5a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 1 0-1.06-1.06L12 17.94z", clipRule: "evenodd" })
|
|
127
127
|
);
|
|
128
128
|
});
|
|
129
129
|
var Mt = function(e, o) {
|
|
@@ -137,11 +137,11 @@ var Mt = function(e, o) {
|
|
|
137
137
|
const $t = Y((e, o) => {
|
|
138
138
|
var { title: n, titleId: t } = e, r = Mt(e, ["title", "titleId"]);
|
|
139
139
|
let s = Q();
|
|
140
|
-
return s = n ? t || "title-" + s : void 0,
|
|
140
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
141
141
|
"svg",
|
|
142
142
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
143
|
-
n ?
|
|
144
|
-
|
|
143
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
144
|
+
C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 1.75a.75.75 0 0 1 .75.75v2.464a9.75 9.75 0 1 1 12.342 15.023.75.75 0 1 1-.86-1.229A8.251 8.251 0 1 0 6.084 6.25H9a.75.75 0 0 1 0 1.5H4.5A.75.75 0 0 1 3.75 7V2.5a.75.75 0 0 1 .75-.75M12.75 6a.75.75 0 0 0-1.5 0v6c0 .199.079.39.22.53l2.5 2.5a.75.75 0 1 0 1.06-1.06l-2.28-2.28zM3 11.25a.75.75 0 0 1 .75.75q0 .66.105 1.31a.75.75 0 0 1-1.481.24A10 10 0 0 1 2.25 12a.75.75 0 0 1 .75-.75m1.855 4.875a.75.75 0 0 0-1.299.75q.39.675.882 1.28a.75.75 0 1 0 1.163-.947 8 8 0 0 1-.746-1.083m1.995 3.294a.75.75 0 0 1 1.025-.274q.57.33 1.188.564a.75.75 0 1 1-.535 1.402 10 10 0 0 1-1.403-.667.75.75 0 0 1-.275-1.025m6.7 2.207a.75.75 0 1 0-.24-1.48q-.65.104-1.31.104a.75.75 0 0 0 0 1.5q.78 0 1.55-.124", clipRule: "evenodd" })
|
|
145
145
|
);
|
|
146
146
|
});
|
|
147
147
|
var jt = function(e, o) {
|
|
@@ -155,11 +155,11 @@ var jt = function(e, o) {
|
|
|
155
155
|
const At = Y((e, o) => {
|
|
156
156
|
var { title: n, titleId: t } = e, r = jt(e, ["title", "titleId"]);
|
|
157
157
|
let s = Q();
|
|
158
|
-
return s = n ? t || "title-" + s : void 0,
|
|
158
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
159
159
|
"svg",
|
|
160
160
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
161
|
-
n ?
|
|
162
|
-
|
|
161
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
162
|
+
C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.25 3.5c0-.69.56-1.25 1.25-1.25H14a.75.75 0 0 1 .53.22l5 5c.141.14.22.331.22.53v8.5c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25zm6.25 5.25c-.69 0-1.25-.56-1.25-1.25V3.75h-3.5v12.5h8.5v-7.5zm.25-3.94 2.44 2.44h-2.44zM6.502 7.75H5.75v12.5h8.5v-.748a.75.75 0 0 1 1.5 0v.998c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25h1.002a.75.75 0 1 1 0 1.5", clipRule: "evenodd" })
|
|
163
163
|
);
|
|
164
164
|
});
|
|
165
165
|
var Dt = function(e, o) {
|
|
@@ -173,11 +173,11 @@ var Dt = function(e, o) {
|
|
|
173
173
|
const Bt = Y((e, o) => {
|
|
174
174
|
var { title: n, titleId: t } = e, r = Dt(e, ["title", "titleId"]);
|
|
175
175
|
let s = Q();
|
|
176
|
-
return s = n ? t || "title-" + s : void 0,
|
|
176
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
177
177
|
"svg",
|
|
178
178
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
179
|
-
n ?
|
|
180
|
-
|
|
179
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
180
|
+
C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.5 3.25a7.25 7.25 0 1 0 4.569 12.88l5.411 5.41a.75.75 0 1 0 1.06-1.06l-5.41-5.411A7.25 7.25 0 0 0 10.5 3.25M4.75 10.5a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0", clipRule: "evenodd" })
|
|
181
181
|
);
|
|
182
182
|
});
|
|
183
183
|
var Tt = function(e, o) {
|
|
@@ -191,11 +191,11 @@ var Tt = function(e, o) {
|
|
|
191
191
|
const Lt = Y((e, o) => {
|
|
192
192
|
var { title: n, titleId: t } = e, r = Tt(e, ["title", "titleId"]);
|
|
193
193
|
let s = Q();
|
|
194
|
-
return s = n ? t || "title-" + s : void 0,
|
|
194
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
195
195
|
"svg",
|
|
196
196
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
197
|
-
n ?
|
|
198
|
-
|
|
197
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
198
|
+
C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.75 12a.75.75 0 0 1 .75-.75h13a.75.75 0 1 1 0 1.5h-13a.75.75 0 0 1-.75-.75", clipRule: "evenodd" })
|
|
199
199
|
);
|
|
200
200
|
});
|
|
201
201
|
var Ft = function(e, o) {
|
|
@@ -209,11 +209,11 @@ var Ft = function(e, o) {
|
|
|
209
209
|
const Ht = Y((e, o) => {
|
|
210
210
|
var { title: n, titleId: t } = e, r = Ft(e, ["title", "titleId"]);
|
|
211
211
|
let s = Q();
|
|
212
|
-
return s = n ? t || "title-" + s : void 0,
|
|
212
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
213
213
|
"svg",
|
|
214
214
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
215
|
-
n ?
|
|
216
|
-
|
|
215
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
216
|
+
C.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10 4.75c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25zm6.75 1.5V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25H4.5a.75.75 0 0 0 0 1.5h.805l.876 11.384a1.75 1.75 0 0 0 1.745 1.616h8.148a1.75 1.75 0 0 0 1.745-1.616l.875-11.384h.806a.75.75 0 0 0 0-1.5h-2.75m-6 4.25a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0zM14 9.75a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75", clipRule: "evenodd" })
|
|
217
217
|
);
|
|
218
218
|
});
|
|
219
219
|
var Gt = function(e, o) {
|
|
@@ -227,11 +227,11 @@ var Gt = function(e, o) {
|
|
|
227
227
|
const Ae = Y((e, o) => {
|
|
228
228
|
var { title: n, titleId: t } = e, r = Gt(e, ["title", "titleId"]);
|
|
229
229
|
let s = Q();
|
|
230
|
-
return s = n ? t || "title-" + s : void 0,
|
|
230
|
+
return s = n ? t || "title-" + s : void 0, C.createElement(
|
|
231
231
|
"svg",
|
|
232
232
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: o, "aria-labelledby": s }, r),
|
|
233
|
-
n ?
|
|
234
|
-
|
|
233
|
+
n ? C.createElement("title", { id: s }, n) : null,
|
|
234
|
+
C.createElement("path", { fill: "currentColor", d: "M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z" })
|
|
235
235
|
);
|
|
236
236
|
}), qt = "_badge_5li3b_1", Kt = "_label_5li3b_33", ye = {
|
|
237
237
|
badge: qt,
|
|
@@ -294,7 +294,7 @@ const Ae = Y((e, o) => {
|
|
|
294
294
|
n && /* @__PURE__ */ a(ft, { size: e, htmlFor: t, children: n }),
|
|
295
295
|
s,
|
|
296
296
|
r && /* @__PURE__ */ a(Ke, { size: "xs", children: r })
|
|
297
|
-
] }), Xt = "_search_18jfe_1", Jt = "_searchInput_18jfe_8",
|
|
297
|
+
] }), Xt = "_search_18jfe_1", Jt = "_searchInput_18jfe_8", ke = {
|
|
298
298
|
search: Xt,
|
|
299
299
|
searchInput: Jt
|
|
300
300
|
}, Xe = ({
|
|
@@ -314,7 +314,7 @@ const Ae = Y((e, o) => {
|
|
|
314
314
|
onInput: p,
|
|
315
315
|
onFocus: w,
|
|
316
316
|
...z
|
|
317
|
-
}) => /* @__PURE__ */ a("li", { className:
|
|
317
|
+
}) => /* @__PURE__ */ a("li", { className: ke.search, style: e, "data-index": o, "data-menu-search": "true", children: c ? (
|
|
318
318
|
// biome-ignore lint/a11y/useFocusableInteractive: <explanation>
|
|
319
319
|
// biome-ignore lint/a11y/useAriaPropsForRole: <explanation>
|
|
320
320
|
// biome-ignore lint/a11y/useSemanticElements: <explanation>
|
|
@@ -322,7 +322,7 @@ const Ae = Y((e, o) => {
|
|
|
322
322
|
Pe,
|
|
323
323
|
{
|
|
324
324
|
size: "xs",
|
|
325
|
-
className:
|
|
325
|
+
className: ke.searchInput,
|
|
326
326
|
name: n,
|
|
327
327
|
value: t,
|
|
328
328
|
placeholder: r,
|
|
@@ -348,7 +348,7 @@ const Ae = Y((e, o) => {
|
|
|
348
348
|
Pe,
|
|
349
349
|
{
|
|
350
350
|
size: "xs",
|
|
351
|
-
className:
|
|
351
|
+
className: ke.searchInput,
|
|
352
352
|
name: n,
|
|
353
353
|
value: t,
|
|
354
354
|
placeholder: r,
|
|
@@ -391,13 +391,13 @@ const Ae = Y((e, o) => {
|
|
|
391
391
|
}) => {
|
|
392
392
|
if (o && e >= o)
|
|
393
393
|
return null;
|
|
394
|
-
const y = t === "combobox", v = y && p ? `${p}-listbox` : p,
|
|
395
|
-
() => _.map((d,
|
|
394
|
+
const y = t === "combobox", v = y && p ? `${p}-listbox` : p, S = J(r), P = J(r), [D, M] = oe(!1), $ = le(
|
|
395
|
+
() => _.map((d, k) => ({
|
|
396
396
|
...d,
|
|
397
|
-
id: d.id || `${p}-item-${
|
|
397
|
+
id: d.id || `${p}-item-${k}`
|
|
398
398
|
})),
|
|
399
399
|
[_, p]
|
|
400
|
-
), j = J(null), { menu:
|
|
400
|
+
), j = J(null), { menu: E, setActiveIndex: O, activeItem: m } = Me({
|
|
401
401
|
items: $,
|
|
402
402
|
groups: l,
|
|
403
403
|
groupByKey: "groupId",
|
|
@@ -410,11 +410,11 @@ const Ae = Y((e, o) => {
|
|
|
410
410
|
R?.(m?.id);
|
|
411
411
|
}, [m?.id, R]), W(() => {
|
|
412
412
|
if (!s) {
|
|
413
|
-
|
|
413
|
+
S.current = r;
|
|
414
414
|
return;
|
|
415
415
|
}
|
|
416
|
-
const d =
|
|
417
|
-
|
|
416
|
+
const d = S.current;
|
|
417
|
+
S.current = r, r && !d && j.current?.scrollTo({ top: 0 });
|
|
418
418
|
}, [r, s]), W(() => {
|
|
419
419
|
const d = P.current;
|
|
420
420
|
P.current = r, !(!N || c || !f) && r && !d && requestAnimationFrame(() => j.current?.focus?.({ preventScroll: !0 }));
|
|
@@ -452,15 +452,15 @@ const Ae = Y((e, o) => {
|
|
|
452
452
|
M(!1), c.onInput?.(d);
|
|
453
453
|
},
|
|
454
454
|
onKeyDown: (d) => {
|
|
455
|
-
const
|
|
456
|
-
y && !
|
|
455
|
+
const k = d.key === "ArrowUp" || d.key === "ArrowDown", F = d.key.length === 1 || d.key === "Backspace" || d.key === "Delete";
|
|
456
|
+
y && !k && F && M(!1), c.onKeyDown?.(d);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
),
|
|
460
|
-
|
|
460
|
+
E.map((d, k) => {
|
|
461
461
|
const F = d?.props || {}, { title: H, hidden: L = !1, divider: q = !0 } = F;
|
|
462
462
|
return /* @__PURE__ */ I(He, { children: [
|
|
463
|
-
(e > 0 ||
|
|
463
|
+
(e > 0 || k) && q ? /* @__PURE__ */ a(We, {}) : "",
|
|
464
464
|
/* @__PURE__ */ a(Ue, { hidden: L, children: /* @__PURE__ */ I(Ie, { role: "presentation", children: [
|
|
465
465
|
H && /* @__PURE__ */ a(Ye, { title: H, level: e }),
|
|
466
466
|
d?.items.filter((ne) => !ne.props?.hidden).map((ne, g) => {
|
|
@@ -508,8 +508,8 @@ const Ae = Y((e, o) => {
|
|
|
508
508
|
g
|
|
509
509
|
);
|
|
510
510
|
})
|
|
511
|
-
] }) },
|
|
512
|
-
] },
|
|
511
|
+
] }) }, k)
|
|
512
|
+
] }, k);
|
|
513
513
|
})
|
|
514
514
|
]
|
|
515
515
|
}
|
|
@@ -532,31 +532,31 @@ const Ae = Y((e, o) => {
|
|
|
532
532
|
autoActivateFirstItem: A = !0,
|
|
533
533
|
announceNoResults: R = !1,
|
|
534
534
|
onActiveItemIdChange: y
|
|
535
|
-
} = e, v = z === "combobox",
|
|
535
|
+
} = e, v = z === "combobox", S = v && p ? `${p}-listbox` : p, P = J(h), [D, M] = oe(!1), $ = le(
|
|
536
536
|
() => u.map((g, x) => ({
|
|
537
537
|
...g,
|
|
538
538
|
id: g.id || `${p}-item-${x}`
|
|
539
539
|
})),
|
|
540
540
|
[u, p]
|
|
541
|
-
), { menu: j, activeItem:
|
|
541
|
+
), { menu: j, activeItem: E, setActiveIndex: O, activeIndex: m } = Me({
|
|
542
542
|
items: $,
|
|
543
543
|
groups: f,
|
|
544
544
|
groupByKey: "groupId",
|
|
545
545
|
keyboardEvents: l,
|
|
546
546
|
autoActivateFirstItem: A,
|
|
547
547
|
ref: o
|
|
548
|
-
}), { flatMenu: d, virtualizer:
|
|
548
|
+
}), { flatMenu: d, virtualizer: k, scrollMaxHeight: F } = vt({
|
|
549
549
|
menu: j,
|
|
550
550
|
scrollRef: o
|
|
551
551
|
});
|
|
552
|
-
|
|
552
|
+
Ce(() => {
|
|
553
553
|
const g = n.current;
|
|
554
554
|
if (!g) return;
|
|
555
555
|
const x = Math.round(g.offsetTop);
|
|
556
556
|
r((T) => T === x ? T : x);
|
|
557
557
|
});
|
|
558
558
|
const H = le(() => {
|
|
559
|
-
const g =
|
|
559
|
+
const g = E?.id;
|
|
560
560
|
if (g)
|
|
561
561
|
return d.findIndex((T) => T.type === "item" && T.itemProps?.id === g);
|
|
562
562
|
if (m < 0) return -1;
|
|
@@ -565,28 +565,28 @@ const Ae = Y((e, o) => {
|
|
|
565
565
|
if (d[T]?.type === "item" && (x += 1, x === m))
|
|
566
566
|
return T;
|
|
567
567
|
return -1;
|
|
568
|
-
}, [
|
|
569
|
-
|
|
568
|
+
}, [E?.id, m, d]), L = J(null);
|
|
569
|
+
Ce(() => {
|
|
570
570
|
const g = L?.current, x = typeof g == "number" ? H <= g : !1;
|
|
571
571
|
L.current = H;
|
|
572
572
|
const T = x ? H : H + 2;
|
|
573
573
|
if (!x) {
|
|
574
|
-
const ie =
|
|
574
|
+
const ie = k.getOffsetForIndex(T, "auto");
|
|
575
575
|
if (!ie) return;
|
|
576
576
|
const [ge, Ne] = ie;
|
|
577
577
|
if (Ne === "auto") return;
|
|
578
|
-
|
|
578
|
+
k.scrollToOffset(ge + t + 10, { align: "start" });
|
|
579
579
|
return;
|
|
580
580
|
}
|
|
581
581
|
if (H <= 3) {
|
|
582
|
-
|
|
582
|
+
k.scrollToOffset(0);
|
|
583
583
|
return;
|
|
584
584
|
}
|
|
585
|
-
const U =
|
|
585
|
+
const U = k.getOffsetForIndex(H - 1, "auto");
|
|
586
586
|
if (!U) return;
|
|
587
587
|
const [B, re] = U;
|
|
588
|
-
re !== "auto" &&
|
|
589
|
-
}, [H, t,
|
|
588
|
+
re !== "auto" && k.scrollToOffset(B + t + 10, { align: "start" });
|
|
589
|
+
}, [H, t, k, L]);
|
|
590
590
|
const q = le(() => {
|
|
591
591
|
const g = /* @__PURE__ */ new Map();
|
|
592
592
|
let x = 0;
|
|
@@ -595,8 +595,8 @@ const Ae = Y((e, o) => {
|
|
|
595
595
|
}), { positions: g, total: x };
|
|
596
596
|
}, [d]);
|
|
597
597
|
W(() => {
|
|
598
|
-
y?.(
|
|
599
|
-
}, [
|
|
598
|
+
y?.(E?.id);
|
|
599
|
+
}, [E?.id, y]), W(() => {
|
|
600
600
|
if (v && R) {
|
|
601
601
|
O(0), M(!0);
|
|
602
602
|
return;
|
|
@@ -626,7 +626,7 @@ const Ae = Y((e, o) => {
|
|
|
626
626
|
variant: _,
|
|
627
627
|
color: c,
|
|
628
628
|
expanded: w,
|
|
629
|
-
id:
|
|
629
|
+
id: S,
|
|
630
630
|
role: v ? "listbox" : void 0,
|
|
631
631
|
children: [
|
|
632
632
|
s && /* @__PURE__ */ a(
|
|
@@ -634,8 +634,8 @@ const Ae = Y((e, o) => {
|
|
|
634
634
|
{
|
|
635
635
|
...s,
|
|
636
636
|
combobox: v,
|
|
637
|
-
listId:
|
|
638
|
-
"aria-activedescendant": v && D ?
|
|
637
|
+
listId: S,
|
|
638
|
+
"aria-activedescendant": v && D ? E?.id : void 0,
|
|
639
639
|
onNavigate: v ? () => M(!0) : void 0,
|
|
640
640
|
onChange: (g) => {
|
|
641
641
|
M(!1), s.onChange?.(g);
|
|
@@ -658,10 +658,10 @@ const Ae = Y((e, o) => {
|
|
|
658
658
|
ref: n,
|
|
659
659
|
style: {
|
|
660
660
|
position: "relative",
|
|
661
|
-
height: `${
|
|
661
|
+
height: `${k.getTotalSize()}px`,
|
|
662
662
|
width: "100%"
|
|
663
663
|
},
|
|
664
|
-
children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children:
|
|
664
|
+
children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children: k.getVirtualItems().map((g) => {
|
|
665
665
|
const x = d[g.index];
|
|
666
666
|
if (!x) return null;
|
|
667
667
|
const T = {
|
|
@@ -674,7 +674,7 @@ const Ae = Y((e, o) => {
|
|
|
674
674
|
style: T,
|
|
675
675
|
index: g.index,
|
|
676
676
|
"data-index": g.index,
|
|
677
|
-
ref:
|
|
677
|
+
ref: k.measureElement
|
|
678
678
|
};
|
|
679
679
|
switch (x.type) {
|
|
680
680
|
case "divider":
|
|
@@ -855,17 +855,17 @@ const Ae = Y((e, o) => {
|
|
|
855
855
|
), y = G.useMemo(() => {
|
|
856
856
|
const m = s.filter((d) => d.groupId === "emptySearch").map((d) => ({ ...d, hidden: !1 }));
|
|
857
857
|
return m.length ? m : R;
|
|
858
|
-
}, [s, R]), { selectedItems: v, results:
|
|
858
|
+
}, [s, R]), { selectedItems: v, results: S } = G.useMemo(() => {
|
|
859
859
|
if (!w) return { selectedItems: [], results: [] };
|
|
860
860
|
const m = [], d = [];
|
|
861
|
-
for (const
|
|
862
|
-
|
|
863
|
-
...
|
|
861
|
+
for (const k of A)
|
|
862
|
+
k.checked === !0 && m.push({ ...k, groupId: "selected" }), (k.searchWords ?? []).some((L) => String(L).toLowerCase().includes(z)) && d.push({
|
|
863
|
+
...k,
|
|
864
864
|
groupId: "search",
|
|
865
865
|
highlightWords: h
|
|
866
866
|
});
|
|
867
867
|
return { selectedItems: m, results: d };
|
|
868
|
-
}, [w, A, z, h]), P =
|
|
868
|
+
}, [w, A, z, h]), P = S.length, D = v.length, M = G.useMemo(
|
|
869
869
|
() => ({
|
|
870
870
|
search: {
|
|
871
871
|
hidden: !0,
|
|
@@ -899,10 +899,10 @@ const Ae = Y((e, o) => {
|
|
|
899
899
|
}
|
|
900
900
|
}),
|
|
901
901
|
[M, w, i, P, D]
|
|
902
|
-
), j = G.useMemo(() => w ? rn([...
|
|
902
|
+
), j = G.useMemo(() => w ? rn([...S, ...v]) : [], [w, S, v]), E = G.useMemo(() => [...y || [], ...v || []], [y, v]), O = G.useMemo(() => w ? P ? j : E : s, [w, s, P, j, E]);
|
|
903
903
|
return {
|
|
904
904
|
search: N,
|
|
905
|
-
results:
|
|
905
|
+
results: S,
|
|
906
906
|
resultCount: P,
|
|
907
907
|
hasQuery: w,
|
|
908
908
|
items: O,
|
|
@@ -927,7 +927,7 @@ const Ae = Y((e, o) => {
|
|
|
927
927
|
autoFocusList: z,
|
|
928
928
|
id: h
|
|
929
929
|
}) => {
|
|
930
|
-
const N = on({ ...o, items: n, groups: t }), A = e ? N.search : o, R = e && N.hasQuery && N.resultCount === 0, y = e ? N.items : n, v = e ? { ...t, ...N.groups } : t,
|
|
930
|
+
const N = on({ ...o, items: n, groups: t }), A = e ? N.search : o, R = e && N.hasQuery && N.resultCount === 0, y = e ? N.items : n, v = e ? { ...t, ...N.groups } : t, S = b !== "combobox";
|
|
931
931
|
return i ? /* @__PURE__ */ a(
|
|
932
932
|
Zt,
|
|
933
933
|
{
|
|
@@ -946,7 +946,7 @@ const Ae = Y((e, o) => {
|
|
|
946
946
|
a11yMode: b,
|
|
947
947
|
open: p,
|
|
948
948
|
scrollToTopOnOpen: w,
|
|
949
|
-
autoActivateFirstItem:
|
|
949
|
+
autoActivateFirstItem: S,
|
|
950
950
|
autoFocusList: z
|
|
951
951
|
}
|
|
952
952
|
) : /* @__PURE__ */ a(
|
|
@@ -967,7 +967,7 @@ const Ae = Y((e, o) => {
|
|
|
967
967
|
a11yMode: b,
|
|
968
968
|
open: p,
|
|
969
969
|
scrollToTopOnOpen: w,
|
|
970
|
-
autoActivateFirstItem:
|
|
970
|
+
autoActivateFirstItem: S,
|
|
971
971
|
autoFocusList: z
|
|
972
972
|
}
|
|
973
973
|
);
|
|
@@ -985,9 +985,9 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
985
985
|
return null;
|
|
986
986
|
if (o)
|
|
987
987
|
return /* @__PURE__ */ a("div", { className: V(ae.icon, e), children: /* @__PURE__ */ a(se, { svgElement: Ae, loading: !0 }) });
|
|
988
|
-
const r =
|
|
988
|
+
const r = Ee(n) ? "avatar" : Se(n) ? "avatarGroup" : (ze(n), "icon");
|
|
989
989
|
return /* @__PURE__ */ I("div", { className: V(ae.media, e), "data-variant": r, children: [
|
|
990
|
-
|
|
990
|
+
Ee(n) && /* @__PURE__ */ a(je, { ...n, className: ae.avatar }) || Se(n) && /* @__PURE__ */ a(be, { ...n, className: ae.avatarGroup }) || ze(n) && /* @__PURE__ */ a(se, { ...n, className: ae.icon }) || dn(n) && /* @__PURE__ */ a(se, { className: ae.icon, children: n }) || /* @__PURE__ */ a(se, { className: ae.icon, svgElement: n }),
|
|
991
991
|
t
|
|
992
992
|
] });
|
|
993
993
|
}, un = "_heading_ydkmu_1", mn = {
|
|
@@ -1080,24 +1080,24 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1080
1080
|
title: R,
|
|
1081
1081
|
description: y,
|
|
1082
1082
|
highlightWords: v,
|
|
1083
|
-
count:
|
|
1083
|
+
count: S,
|
|
1084
1084
|
linkIcon: P = !1,
|
|
1085
1085
|
disabled: D,
|
|
1086
1086
|
selected: M,
|
|
1087
1087
|
active: $,
|
|
1088
1088
|
tabIndex: j = 0,
|
|
1089
|
-
className:
|
|
1089
|
+
className: E,
|
|
1090
1090
|
"data-testid": O,
|
|
1091
1091
|
...m
|
|
1092
1092
|
}) => {
|
|
1093
|
-
const d = typeof h == "function" ? h() : h,
|
|
1093
|
+
const d = typeof h == "function" ? h() : h, k = ht(m);
|
|
1094
1094
|
if (n === "checkbox" || n === "radio") {
|
|
1095
1095
|
const L = z || (w ? Qe : Lt);
|
|
1096
1096
|
return /* @__PURE__ */ I(
|
|
1097
1097
|
"label",
|
|
1098
1098
|
{
|
|
1099
|
-
...
|
|
1100
|
-
className: V(K.item,
|
|
1099
|
+
...k,
|
|
1100
|
+
className: V(K.item, E),
|
|
1101
1101
|
id: e,
|
|
1102
1102
|
"data-id": e,
|
|
1103
1103
|
"data-group-id": o,
|
|
@@ -1141,7 +1141,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1141
1141
|
title: /* @__PURE__ */ I(xe, { children: [
|
|
1142
1142
|
R,
|
|
1143
1143
|
" ",
|
|
1144
|
-
|
|
1144
|
+
S && /* @__PURE__ */ a("i", { className: K.count, children: S })
|
|
1145
1145
|
] }),
|
|
1146
1146
|
titleProps: {
|
|
1147
1147
|
weight: "medium",
|
|
@@ -1169,7 +1169,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1169
1169
|
F,
|
|
1170
1170
|
{
|
|
1171
1171
|
href: r,
|
|
1172
|
-
className: V(K.item,
|
|
1172
|
+
className: V(K.item, E),
|
|
1173
1173
|
id: e,
|
|
1174
1174
|
"data-id": e,
|
|
1175
1175
|
"data-group-id": o,
|
|
@@ -1191,7 +1191,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1191
1191
|
onMouseEnter: i,
|
|
1192
1192
|
tabIndex: D ? -1 : j ?? 0,
|
|
1193
1193
|
role: n === "menuItem" ? "menuitem" : n,
|
|
1194
|
-
...
|
|
1194
|
+
...k,
|
|
1195
1195
|
children: [
|
|
1196
1196
|
z && /* @__PURE__ */ a(Te, { icon: z, className: K.media }),
|
|
1197
1197
|
/* @__PURE__ */ a(
|
|
@@ -1202,7 +1202,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1202
1202
|
title: /* @__PURE__ */ I(xe, { children: [
|
|
1203
1203
|
R,
|
|
1204
1204
|
" ",
|
|
1205
|
-
|
|
1205
|
+
S && /* @__PURE__ */ a("i", { className: K.count, children: S })
|
|
1206
1206
|
] }),
|
|
1207
1207
|
titleProps: {
|
|
1208
1208
|
weight: "medium",
|
|
@@ -1224,15 +1224,15 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1224
1224
|
]
|
|
1225
1225
|
}
|
|
1226
1226
|
);
|
|
1227
|
-
}, xn = "
|
|
1227
|
+
}, xn = "_fieldContainer_kk0vx_13", In = "_field_kk0vx_13", On = "_input_kk0vx_28", Nn = "_hiddenInput_kk0vx_29", kn = "_icon_kk0vx_62", Cn = "_clear_kk0vx_80", En = "_clearButton_kk0vx_93", Sn = "_autocomplete_kk0vx_120", Z = {
|
|
1228
1228
|
fieldContainer: xn,
|
|
1229
1229
|
field: In,
|
|
1230
1230
|
input: On,
|
|
1231
1231
|
hiddenInput: Nn,
|
|
1232
|
-
icon:
|
|
1233
|
-
clear:
|
|
1234
|
-
clearButton:
|
|
1235
|
-
autocomplete:
|
|
1232
|
+
icon: kn,
|
|
1233
|
+
clear: Cn,
|
|
1234
|
+
clearButton: En,
|
|
1235
|
+
autocomplete: Sn
|
|
1236
1236
|
}, Pe = ({
|
|
1237
1237
|
className: e,
|
|
1238
1238
|
collapsible: o,
|
|
@@ -1249,17 +1249,17 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1249
1249
|
minLength: b,
|
|
1250
1250
|
...p
|
|
1251
1251
|
}) => {
|
|
1252
|
-
const w = De(), [z, h] = oe(!1), N = p.id || `search-field-${w}`, A = `${N}-listbox`, [R, y] = oe(void 0), v = "searchfield-clear-button-" + De(),
|
|
1252
|
+
const w = De(), [z, h] = oe(!1), N = p.id || `search-field-${w}`, A = `${N}-listbox`, [R, y] = oe(void 0), v = "searchfield-clear-button-" + De(), S = le(() => !l || !i || typeof b == "number" && typeof i == "string" && i.length < b ? !1 : z, [l, z, b, i]), P = le(() => (l?.items ?? []).map((m) => ({
|
|
1253
1253
|
...m,
|
|
1254
1254
|
onClick: () => {
|
|
1255
1255
|
m.onClick?.(), h(!1);
|
|
1256
1256
|
}
|
|
1257
1257
|
})), [l]), D = (m) => {
|
|
1258
|
-
if (m.key === "Enter" &&
|
|
1258
|
+
if (m.key === "Enter" && S) {
|
|
1259
1259
|
l?.items?.[0]?.onClick?.(), h(!1);
|
|
1260
1260
|
return;
|
|
1261
1261
|
}
|
|
1262
|
-
if (m.key === "Escape" &&
|
|
1262
|
+
if (m.key === "Escape" && S) {
|
|
1263
1263
|
m.preventDefault(), m.stopPropagation(), h(!1), l?.onClose(), document.getElementById(N)?.focus();
|
|
1264
1264
|
return;
|
|
1265
1265
|
}
|
|
@@ -1272,7 +1272,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1272
1272
|
d && m.currentTarget.contains(d) || h(!1);
|
|
1273
1273
|
}, j = (m) => {
|
|
1274
1274
|
m.preventDefault();
|
|
1275
|
-
},
|
|
1275
|
+
}, E = (m) => {
|
|
1276
1276
|
m.relatedTarget?.id === v && y(void 0), p.onBlur?.(m);
|
|
1277
1277
|
}, O = /* @__PURE__ */ I(
|
|
1278
1278
|
Qt,
|
|
@@ -1282,7 +1282,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1282
1282
|
label: f ? void 0 : u,
|
|
1283
1283
|
htmlFor: N,
|
|
1284
1284
|
className: V(Z.field, e),
|
|
1285
|
-
"data-collapsible": o,
|
|
1285
|
+
"data-collapsible": o ? !0 : void 0,
|
|
1286
1286
|
onBlurCapture: $,
|
|
1287
1287
|
children: [
|
|
1288
1288
|
/* @__PURE__ */ a("span", { className: Z.hiddenInput, "aria-hidden": "true", children: i + " " }),
|
|
@@ -1296,19 +1296,19 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1296
1296
|
type: "search",
|
|
1297
1297
|
value: i,
|
|
1298
1298
|
className: Z.input,
|
|
1299
|
-
"data-collapsible": o,
|
|
1299
|
+
"data-collapsible": o ? !0 : void 0,
|
|
1300
1300
|
autoCapitalize: "off",
|
|
1301
1301
|
autoComplete: "off",
|
|
1302
1302
|
minLength: b,
|
|
1303
1303
|
onKeyDown: D,
|
|
1304
|
-
onBlur:
|
|
1304
|
+
onBlur: E,
|
|
1305
1305
|
...l && {
|
|
1306
1306
|
role: "combobox",
|
|
1307
1307
|
"aria-autocomplete": "list",
|
|
1308
|
-
"aria-expanded": !!
|
|
1308
|
+
"aria-expanded": !!S,
|
|
1309
1309
|
"aria-haspopup": "listbox",
|
|
1310
1310
|
"aria-controls": A,
|
|
1311
|
-
"aria-activedescendant":
|
|
1311
|
+
"aria-activedescendant": S ? R : void 0,
|
|
1312
1312
|
onFocus: M
|
|
1313
1313
|
}
|
|
1314
1314
|
}
|
|
@@ -1337,7 +1337,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1337
1337
|
);
|
|
1338
1338
|
return l ? /* @__PURE__ */ I("div", { className: Z.fieldContainer, children: [
|
|
1339
1339
|
O,
|
|
1340
|
-
|
|
1340
|
+
S && /* @__PURE__ */ a("div", { className: Z.autocomplete, "aria-hidden": !S, onMouseDown: j, children: /* @__PURE__ */ a(
|
|
1341
1341
|
et,
|
|
1342
1342
|
{
|
|
1343
1343
|
...l,
|
|
@@ -1346,7 +1346,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1346
1346
|
groups: l?.groups,
|
|
1347
1347
|
keyboardEvents: !0,
|
|
1348
1348
|
a11yMode: "combobox",
|
|
1349
|
-
open:
|
|
1349
|
+
open: S,
|
|
1350
1350
|
autoFocusList: !1,
|
|
1351
1351
|
onActiveItemIdChange: y
|
|
1352
1352
|
}
|
|
@@ -1420,14 +1420,14 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1420
1420
|
W(() => {
|
|
1421
1421
|
y.current = l;
|
|
1422
1422
|
}, [l]);
|
|
1423
|
-
const [v,
|
|
1423
|
+
const [v, S] = oe({
|
|
1424
1424
|
yDir: r.includes("top") ? "top" : "bottom",
|
|
1425
1425
|
xDir: r.includes("right") ? "right" : "left",
|
|
1426
1426
|
maxHeight: 300
|
|
1427
1427
|
}), P = qe(() => {
|
|
1428
1428
|
if (l && A.current && R.current) {
|
|
1429
|
-
const $ = A.current.getBoundingClientRect(), j = R.current.getBoundingClientRect(),
|
|
1430
|
-
|
|
1429
|
+
const $ = A.current.getBoundingClientRect(), j = R.current.getBoundingClientRect(), E = window.innerHeight, O = window.innerWidth, m = 16, d = E - $.bottom, k = $.top, F = O - $.right - j.width, H = d < 250 && k > d, L = H ? "top" : "bottom", q = (H ? k : d) - m, g = F < m ? "right" : "left";
|
|
1430
|
+
S((x) => ({
|
|
1431
1431
|
...x,
|
|
1432
1432
|
yDir: L,
|
|
1433
1433
|
maxHeight: q,
|
|
@@ -1436,21 +1436,21 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1436
1436
|
}));
|
|
1437
1437
|
}
|
|
1438
1438
|
}, [l, h]);
|
|
1439
|
-
|
|
1439
|
+
Ce(() => (P(), window.addEventListener("resize", P), h && window.addEventListener("scroll", P, !0), () => {
|
|
1440
1440
|
window.removeEventListener("resize", P), h && window.removeEventListener("scroll", P, !0);
|
|
1441
1441
|
}), [P, h]), W(() => {
|
|
1442
1442
|
if (!l) return;
|
|
1443
1443
|
const $ = requestAnimationFrame(() => {
|
|
1444
1444
|
const j = R.current;
|
|
1445
1445
|
if (!j) return;
|
|
1446
|
-
const
|
|
1446
|
+
const E = j.querySelector(
|
|
1447
1447
|
'input[type="search"]:not([disabled]), input[role="searchbox"]:not([disabled]), input[data-dropdown-search]:not([disabled])'
|
|
1448
1448
|
);
|
|
1449
|
-
if (
|
|
1450
|
-
const O =
|
|
1451
|
-
|
|
1449
|
+
if (E) {
|
|
1450
|
+
const O = E.value.length;
|
|
1451
|
+
E.focus({ preventScroll: !0 });
|
|
1452
1452
|
try {
|
|
1453
|
-
|
|
1453
|
+
E.setSelectionRange(O, O);
|
|
1454
1454
|
} catch {
|
|
1455
1455
|
}
|
|
1456
1456
|
return;
|
|
@@ -1459,10 +1459,10 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1459
1459
|
});
|
|
1460
1460
|
return () => cancelAnimationFrame($);
|
|
1461
1461
|
}, [l]), W(() => {
|
|
1462
|
-
const $ = (
|
|
1463
|
-
|
|
1464
|
-
}, j = (
|
|
1465
|
-
const O =
|
|
1462
|
+
const $ = (E) => {
|
|
1463
|
+
E.key === "Escape" && (E.preventDefault(), b());
|
|
1464
|
+
}, j = (E) => {
|
|
1465
|
+
const O = E.target, m = A.current?.contains(O), d = R.current?.contains(O);
|
|
1466
1466
|
!m && !d && b();
|
|
1467
1467
|
};
|
|
1468
1468
|
return l && (document.addEventListener("mousedown", j), document.addEventListener("keydown", $)), () => {
|
|
@@ -1477,18 +1477,18 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1477
1477
|
return;
|
|
1478
1478
|
const m = O.target;
|
|
1479
1479
|
m && !$.contains(m) && Hn($);
|
|
1480
|
-
},
|
|
1480
|
+
}, E = (O) => {
|
|
1481
1481
|
if (O.key !== "Tab") return;
|
|
1482
1482
|
const m = nt($);
|
|
1483
1483
|
if (m.length === 0) {
|
|
1484
1484
|
O.preventDefault(), $.focus?.({ preventScroll: !0 });
|
|
1485
1485
|
return;
|
|
1486
1486
|
}
|
|
1487
|
-
const d = m[0],
|
|
1488
|
-
O.shiftKey ? F === d && (O.preventDefault(),
|
|
1487
|
+
const d = m[0], k = m[m.length - 1], F = document.activeElement;
|
|
1488
|
+
O.shiftKey ? F === d && (O.preventDefault(), k.focus({ preventScroll: !0 })) : F === k && (O.preventDefault(), d.focus({ preventScroll: !0 }));
|
|
1489
1489
|
};
|
|
1490
|
-
return document.addEventListener("focusin", j), document.addEventListener("keydown",
|
|
1491
|
-
document.removeEventListener("focusin", j), document.removeEventListener("keydown",
|
|
1490
|
+
return document.addEventListener("focusin", j), document.addEventListener("keydown", E), () => {
|
|
1491
|
+
document.removeEventListener("focusin", j), document.removeEventListener("keydown", E);
|
|
1492
1492
|
};
|
|
1493
1493
|
}, [l]);
|
|
1494
1494
|
const D = h && v.triggerRect ? {
|
|
@@ -1605,17 +1605,17 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
|
|
|
1605
1605
|
trashed: R,
|
|
1606
1606
|
trashedAt: y,
|
|
1607
1607
|
trashedAtLabel: v,
|
|
1608
|
-
badge:
|
|
1608
|
+
badge: S,
|
|
1609
1609
|
dueAt: P,
|
|
1610
1610
|
dueAtLabel: D,
|
|
1611
1611
|
unread: M,
|
|
1612
1612
|
unreadLabel: $ = "Ulest",
|
|
1613
1613
|
unreadItems: j,
|
|
1614
|
-
unreadItemsLabel:
|
|
1614
|
+
unreadItemsLabel: E = "Ulest innhold",
|
|
1615
1615
|
seenByLog: O,
|
|
1616
1616
|
draftsLabel: m,
|
|
1617
1617
|
sentCount: d,
|
|
1618
|
-
receivedCount:
|
|
1618
|
+
receivedCount: k,
|
|
1619
1619
|
attachmentsCount: F,
|
|
1620
1620
|
attachmentsLabel: H,
|
|
1621
1621
|
tooltips: L = {},
|
|
@@ -1655,7 +1655,7 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
|
|
|
1655
1655
|
className: X.title,
|
|
1656
1656
|
children: [
|
|
1657
1657
|
q,
|
|
1658
|
-
M && /* @__PURE__ */ a(te, { label: $, variant: "tinted", style: { marginLeft: "0.75em", marginTop: "-2px" } }) || j && /* @__PURE__ */ a(te, { label:
|
|
1658
|
+
M && /* @__PURE__ */ a(te, { label: $, variant: "tinted", style: { marginLeft: "0.75em", marginTop: "-2px" } }) || j && /* @__PURE__ */ a(te, { label: E, style: { marginLeft: "0.75em", marginTop: "-2px" } })
|
|
1659
1659
|
]
|
|
1660
1660
|
}
|
|
1661
1661
|
),
|
|
@@ -1688,12 +1688,12 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
|
|
|
1688
1688
|
{
|
|
1689
1689
|
className: X.footer,
|
|
1690
1690
|
loading: r,
|
|
1691
|
-
badge:
|
|
1691
|
+
badge: S,
|
|
1692
1692
|
status: i,
|
|
1693
1693
|
extendedStatusLabel: c,
|
|
1694
1694
|
draftsLabel: m,
|
|
1695
1695
|
sentCount: d,
|
|
1696
|
-
receivedCount:
|
|
1696
|
+
receivedCount: k,
|
|
1697
1697
|
updatedAt: w,
|
|
1698
1698
|
updatedAtLabel: z,
|
|
1699
1699
|
archivedAt: N,
|
|
@@ -1746,11 +1746,23 @@ const rr = ({
|
|
|
1746
1746
|
/* @__PURE__ */ a("strong", { children: t && t.name + ", " }),
|
|
1747
1747
|
s
|
|
1748
1748
|
] }),
|
|
1749
|
-
|
|
1750
|
-
z > 0 && /* @__PURE__ */ a(ee, { tooltip: y.attachments, loading: o, size: "xs", icon: yt, children: h || z }),
|
|
1749
|
+
z > 0 && /* @__PURE__ */ a(ee, { tooltip: y.attachments, loading: o, size: "xs", icon: gt, children: h || z }),
|
|
1751
1750
|
N && /* @__PURE__ */ a(ee, { tooltip: y.transmissions, loading: o, size: "xs", icon: At, children: N }),
|
|
1752
1751
|
p > 0 && /* @__PURE__ */ a(ee, { tooltip: y.sent, size: "xs", icon: Qe, children: p }),
|
|
1753
|
-
w > 0 && /* @__PURE__ */ a(ee, { tooltip: y.received, size: "xs", icon:
|
|
1752
|
+
w > 0 && /* @__PURE__ */ a(ee, { tooltip: y.received, size: "xs", icon: Et, children: w }),
|
|
1753
|
+
u && f && /* @__PURE__ */ a(
|
|
1754
|
+
ee,
|
|
1755
|
+
{
|
|
1756
|
+
variant: "tinted",
|
|
1757
|
+
color: "warning",
|
|
1758
|
+
tooltip: y.dueAt,
|
|
1759
|
+
loading: o,
|
|
1760
|
+
datetime: u,
|
|
1761
|
+
size: "xs",
|
|
1762
|
+
icon: yt,
|
|
1763
|
+
children: f
|
|
1764
|
+
}
|
|
1765
|
+
),
|
|
1754
1766
|
l && /* @__PURE__ */ a(
|
|
1755
1767
|
ee,
|
|
1756
1768
|
{
|
|
@@ -1772,7 +1784,7 @@ const rr = ({
|
|
|
1772
1784
|
loading: o,
|
|
1773
1785
|
datetime: i,
|
|
1774
1786
|
size: "xs",
|
|
1775
|
-
icon:
|
|
1787
|
+
icon: kt,
|
|
1776
1788
|
children: c
|
|
1777
1789
|
}
|
|
1778
1790
|
),
|
|
@@ -1810,9 +1822,9 @@ function ir(e) {
|
|
|
1810
1822
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null || Ge(e);
|
|
1811
1823
|
}
|
|
1812
1824
|
const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "number" ? !1 : /* @__PURE__ */ I("span", { className: de.media, "data-size": e, children: [
|
|
1813
|
-
|
|
1825
|
+
Ee(o) && /* @__PURE__ */ a(je, { ...o, className: de.avatar }) || Se(o) && /* @__PURE__ */ a(be, { ...o, className: de.avatarGroup }) || ze(o) && /* @__PURE__ */ a(se, { ...o, className: de.icon }) || ir(o) && o || /* @__PURE__ */ a(se, { svgElement: o, className: de.icon }),
|
|
1814
1826
|
n && /* @__PURE__ */ a(Ot, { value: n, className: de.icon })
|
|
1815
|
-
] }), cr = "
|
|
1827
|
+
] }), cr = "_item_cqtms_1", dr = "_label_cqtms_54", we = {
|
|
1816
1828
|
item: cr,
|
|
1817
1829
|
label: dr
|
|
1818
1830
|
}, ee = ({
|
|
@@ -1988,36 +2000,36 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
|
|
|
1988
2000
|
);
|
|
1989
2001
|
export {
|
|
1990
2002
|
te as B,
|
|
1991
|
-
|
|
2003
|
+
or as D,
|
|
1992
2004
|
Qt as F,
|
|
1993
2005
|
me as H,
|
|
1994
2006
|
se as I,
|
|
1995
2007
|
et as M,
|
|
1996
2008
|
Jr as R,
|
|
1997
2009
|
Pe as S,
|
|
1998
|
-
|
|
2010
|
+
Zr as T,
|
|
1999
2011
|
Zt as V,
|
|
2000
2012
|
$n as a,
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2013
|
+
Un as b,
|
|
2014
|
+
rt as c,
|
|
2015
|
+
rr as d,
|
|
2016
|
+
mr as e,
|
|
2017
|
+
ur as f,
|
|
2006
2018
|
Gn as g,
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2019
|
+
Le as h,
|
|
2020
|
+
Te as i,
|
|
2021
|
+
tt as j,
|
|
2022
|
+
Je as k,
|
|
2023
|
+
Xe as l,
|
|
2024
|
+
ee as m,
|
|
2013
2025
|
Fe as n,
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2026
|
+
Qe as o,
|
|
2027
|
+
zt as p,
|
|
2028
|
+
Be as q,
|
|
2029
|
+
Bt as r,
|
|
2018
2030
|
Ae as s,
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2031
|
+
eo as t,
|
|
2032
|
+
ze as u,
|
|
2033
|
+
on as v,
|
|
2034
|
+
tn as w
|
|
2023
2035
|
};
|