@altinn/altinn-components 0.63.8 → 0.64.0
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/AuthEvidenceItem.module-CCavPar4.js +9 -0
- package/dist/File-DzH8Xshn.js +24 -0
- package/dist/Package-C1PB2awv.js +24 -0
- package/dist/{ToolbarSearch-DXJIRXFI.js → ToolbarSearch-DeQTx93w.js} +716 -713
- package/dist/assets/AuthEvidence.css +1 -0
- package/dist/assets/AuthEvidenceItem.css +1 -0
- package/dist/assets/AuthEvidenceParent.css +1 -0
- package/dist/components/AccessAreaListItem/AccessAreaListItem.js +1 -1
- package/dist/components/AccessPackageListItem/AccessPackageListItem.js +23 -41
- package/dist/components/Account/AccountList.js +1 -1
- package/dist/components/Account/AccountListItem.js +1 -1
- package/dist/components/Account/AccountListItemControls.js +1 -1
- package/dist/components/Account/AccountListItemDetails.js +1 -1
- package/dist/components/Account/AccountListVirtual.js +1 -1
- package/dist/components/Account/AccountMenu.js +1 -1
- package/dist/components/Account/AccountNotificationSettings.js +1 -1
- package/dist/components/Account/AccountOrganization.js +1 -1
- package/dist/components/AccountSelector/AccountSelector.js +1 -1
- package/dist/components/ActivityLog/ActivityLog.js +1 -1
- package/dist/components/ActivityLog/ActivityLogItem.js +1 -1
- package/dist/components/ActivityLog/ActivityLogSegment.js +1 -1
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Article/Article.js +1 -1
- package/dist/components/Article/ArticleContact.js +1 -1
- package/dist/components/Article/ArticleHeader.js +1 -1
- package/dist/components/Attachment/AttachmentLink.js +38 -55
- package/dist/components/AuthEvidence/AuthEvidence.js +40 -0
- package/dist/components/AuthEvidence/AuthEvidenceItem.js +61 -0
- package/dist/components/AuthEvidence/AuthEvidenceOwner.js +20 -0
- package/dist/components/AuthEvidence/AuthEvidenceParent.js +31 -0
- package/dist/components/AuthEvidence/AuthEvidenceService.js +20 -0
- package/dist/components/AuthEvidence/index.js +13 -0
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Banner/Banner.js +1 -1
- package/dist/components/Bookmarks/BookmarkModal.js +1 -1
- package/dist/components/Bookmarks/BookmarkSettingsItem.js +1 -1
- package/dist/components/Bookmarks/BookmarkSettingsItemLabel.js +1 -1
- package/dist/components/Bookmarks/BookmarkSettingsList.js +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/components/Bulk/BulkHeader.js +1 -1
- package/dist/components/Button/ButtonIcon.js +1 -1
- package/dist/components/Button/ComboButton.js +1 -1
- package/dist/components/Button/FloatingActionButton.js +1 -1
- package/dist/components/Button/IconButton.js +1 -1
- package/dist/components/Byline/Byline.js +1 -1
- package/dist/components/Byline/index.js +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +1 -1
- package/dist/components/Dashboard/DashboardCard.js +1 -1
- package/dist/components/Dashboard/DashboardHeader.js +1 -1
- package/dist/components/Datepicker/Datepicker.js +1 -1
- package/dist/components/Datepicker/DatepickerHeader.js +1 -1
- package/dist/components/Datepicker/DatepickerTable.js +1 -1
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dialog/DialogActions.js +1 -1
- package/dist/components/Dialog/DialogActivityLog.js +1 -1
- package/dist/components/Dialog/DialogAttachments.js +1 -1
- package/dist/components/Dialog/DialogBody.js +1 -1
- package/dist/components/Dialog/DialogByline.js +1 -1
- package/dist/components/Dialog/DialogContact.js +1 -1
- package/dist/components/Dialog/DialogHeader.js +25 -23
- package/dist/components/Dialog/DialogHistory.js +1 -1
- package/dist/components/Dialog/DialogHistoryItem.js +1 -1
- package/dist/components/Dialog/DialogHistorySegment.js +1 -1
- package/dist/components/Dialog/DialogLayout.js +1 -1
- package/dist/components/Dialog/DialogList.js +1 -1
- package/dist/components/Dialog/DialogListItem.js +1 -1
- package/dist/components/Dialog/DialogMetadata.js +1 -1
- package/dist/components/Dialog/DialogSection.js +1 -1
- package/dist/components/Dialog/DialogSeenBy.js +1 -1
- package/dist/components/Dialog/DialogSelect.js +1 -1
- package/dist/components/Dialog/DialogStatus.js +1 -1
- package/dist/components/Dialog/DialogTabs.js +1 -1
- package/dist/components/Dialog/SeenByLog.js +1 -1
- package/dist/components/Dialog/SeenByLogButton.js +1 -1
- package/dist/components/Dialog/SeenByLogItem.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Dropdown/DrawerButton.js +1 -1
- package/dist/components/Dropdown/DrawerHeader.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/Dropdown/DropdownBase.js +1 -1
- package/dist/components/Dropdown/FloatingDropdown.js +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Forms/Checkbox.js +1 -1
- package/dist/components/Forms/CheckboxOptions.js +1 -1
- package/dist/components/Forms/FieldBase.js +1 -1
- package/dist/components/Forms/FieldsetBase.js +1 -1
- package/dist/components/Forms/Radio.js +1 -1
- package/dist/components/Forms/RadioOptions.js +1 -1
- package/dist/components/Forms/SearchField.js +1 -1
- package/dist/components/Forms/SelectField.js +1 -1
- package/dist/components/Forms/Switch.js +1 -1
- package/dist/components/Forms/SwitchOptions.js +1 -1
- package/dist/components/Forms/TextField.js +1 -1
- package/dist/components/Forms/TextFieldDropdown.js +1 -1
- package/dist/components/Forms/TextareaField.js +1 -1
- package/dist/components/Forms/index.js +1 -1
- package/dist/components/GlobalHeader/GlobalAccountButton.js +1 -1
- package/dist/components/GlobalHeader/GlobalHeader.js +1 -1
- package/dist/components/GlobalHeader/GlobalMenuButton.js +1 -1
- package/dist/components/GlobalHeader/HeaderDrawer.js +1 -1
- package/dist/components/GlobalHeader/HeaderDropdown.js +1 -1
- package/dist/components/GlobalHeader/HeaderLogo.js +1 -1
- package/dist/components/GlobalMenu/GlobalMenu.js +1 -1
- package/dist/components/GlobalMenu/LocaleSwitcher.js +1 -1
- package/dist/components/GlobalMenu/LogoutButton.js +1 -1
- package/dist/components/Icon/Icon.js +1 -1
- package/dist/components/Icon/index.js +1 -1
- package/dist/components/Inbox/InboxPage.js +1 -1
- package/dist/components/InboxSearch/InboxSearch.js +1 -1
- package/dist/components/Item/ItemLabel.js +1 -1
- package/dist/components/Item/ItemMedia.js +1 -1
- package/dist/components/Item/ItemSelect.js +1 -1
- package/dist/components/Item/index.js +1 -1
- package/dist/components/Layout/Layout.js +1 -1
- package/dist/components/List/List.js +1 -1
- package/dist/components/List/ListBase.js +1 -1
- package/dist/components/List/ListItemHeader.js +1 -1
- package/dist/components/List/ListItemIcon.js +1 -1
- package/dist/components/List/ListItemLabel.js +1 -1
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuItem.js +1 -1
- package/dist/components/Menu/MenuItems.js +1 -1
- package/dist/components/Menu/MenuListSearch.js +1 -1
- package/dist/components/Menu/MenuOption.js +1 -1
- package/dist/components/Menu/TabMenu.js +1 -1
- package/dist/components/Menu/VirtualizedMenuItems.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/useMenuSearch.js +1 -1
- package/dist/components/Metadata/MetaItem.js +1 -1
- package/dist/components/Metadata/MetaItemIcon.js +1 -1
- package/dist/components/Metadata/MetaTimestamp.js +1 -1
- package/dist/components/Metadata/Metadata.js +1 -1
- package/dist/components/Metadata/index.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/ModalBase.js +1 -1
- package/dist/components/Modal/ModalHeader.js +1 -1
- package/dist/components/Modal/ModalIcon.js +1 -1
- package/dist/components/Notifications/NotificationItem.js +1 -1
- package/dist/components/Notifications/NotificationItemBase.js +1 -1
- package/dist/components/Notifications/NotificationItemControls.js +1 -1
- package/dist/components/Notifications/NotificationItemIcon.js +1 -1
- package/dist/components/Page/AccordionSection.js +1 -1
- package/dist/components/Page/ContactButtons.js +1 -1
- package/dist/components/Page/ContactSection.js +1 -1
- package/dist/components/Page/PageMenu.js +1 -1
- package/dist/components/Page/PageNav.js +1 -1
- package/dist/components/Page/Section.js +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/ResourceListItem/ResourceListItem.js +1 -1
- package/dist/components/RootProvider/RootProvider.js +1 -1
- package/dist/components/RootProvider/index.js +1 -1
- package/dist/components/Search/SearchItem.js +1 -1
- package/dist/components/Searchbar/Autocomplete.js +1 -1
- package/dist/components/Searchbar/AutocompleteItem.js +1 -1
- package/dist/components/Searchbar/Searchbar.js +1 -1
- package/dist/components/Searchbar/SearchbarField.js +1 -1
- package/dist/components/Settings/SettingsItem.js +1 -1
- package/dist/components/Settings/SettingsItemBase.js +1 -1
- package/dist/components/Settings/SettingsList.js +1 -1
- package/dist/components/Settings/SettingsListVirtual.js +1 -1
- package/dist/components/Settings/SettingsModal.js +1 -1
- package/dist/components/Settings/SettingsSection.js +1 -1
- package/dist/components/Settings/UsedByLog.js +1 -1
- package/dist/components/Settings/UsedByLogItem.js +1 -1
- package/dist/components/Snackbar/SnackbarItem.js +1 -1
- package/dist/components/Timeline/Timeline.js +1 -1
- package/dist/components/Timeline/TimelineActivity.js +1 -1
- package/dist/components/Timeline/TimelineBase.js +1 -1
- package/dist/components/Timeline/TimelineFooter.js +1 -1
- package/dist/components/Timeline/TimelineHeader.js +1 -1
- package/dist/components/Timeline/TimelineIcon.js +1 -1
- package/dist/components/Timeline/TimelineSection.js +1 -1
- package/dist/components/Timeline/TimelineSegment.js +1 -1
- package/dist/components/Toolbar/DatepickerFilter.js +1 -1
- package/dist/components/Toolbar/SelectDateFilter.js +1 -1
- package/dist/components/Toolbar/Toolbar.js +1 -1
- package/dist/components/Toolbar/ToolbarFilter.js +1 -1
- package/dist/components/Toolbar/ToolbarFilterAddMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarFilterButton.js +1 -1
- package/dist/components/Toolbar/ToolbarFilterMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarMenu.js +1 -1
- package/dist/components/Toolbar/ToolbarSearch.js +1 -1
- package/dist/components/Toolbar/index.js +1 -1
- package/dist/components/Transmission/Transmission.js +1 -1
- package/dist/components/Transmission/TransmissionList.js +1 -1
- package/dist/components/Transmission/TransmissionType.js +1 -1
- package/dist/components/Typography/Heading.js +1 -1
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/UserListItem/UserListItem.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/hooks/useAccountSelector.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/lib/components/AuthEvidence/AuthEvidence.d.ts +11 -0
- package/dist/types/lib/components/AuthEvidence/AuthEvidence.stories.d.ts +65 -0
- package/dist/types/lib/components/AuthEvidence/AuthEvidenceItem.d.ts +18 -0
- package/dist/types/lib/components/AuthEvidence/AuthEvidenceOwner.d.ts +8 -0
- package/dist/types/lib/components/AuthEvidence/AuthEvidenceParent.d.ts +9 -0
- package/dist/types/lib/components/AuthEvidence/AuthEvidenceService.d.ts +7 -0
- package/dist/types/lib/components/AuthEvidence/index.d.ts +5 -0
- package/dist/types/lib/components/Dialog/DialogActivityLog.stories.d.ts +18 -0
- package/dist/types/lib/components/Dialog/DialogHeader.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogHeader.stories.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogListItem.d.ts +1 -1
- package/dist/types/lib/components/Dialog/DialogMetadata.d.ts +3 -1
- package/dist/types/lib/components/Dialog/DialogMetadata.stories.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as a, jsxs as
|
|
2
|
+
import { jsx as a, jsxs as x, Fragment as xe } from "react/jsx-runtime";
|
|
3
3
|
import * as G from "react";
|
|
4
|
-
import
|
|
4
|
+
import k, { forwardRef as Y, useRef as Z, useState as oe, useMemo as ie, 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
5
|
import "./tooltip-Ct39-719.js";
|
|
6
6
|
import { c as V } from "./index-p1eeF8LQ.js";
|
|
7
7
|
import { useEscapeKey as it } from "./hooks/useEscapeKey.js";
|
|
@@ -47,11 +47,11 @@ import './assets/ToolbarSearch.css';var Nt = function(e, o) {
|
|
|
47
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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
54
|
+
k.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
57
|
var Ct = function(e, o) {
|
|
@@ -65,11 +65,11 @@ var Ct = function(e, o) {
|
|
|
65
65
|
const Et = Y((e, o) => {
|
|
66
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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
72
|
+
k.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
75
|
var St = function(e, o) {
|
|
@@ -83,11 +83,11 @@ var St = function(e, o) {
|
|
|
83
83
|
const Qe = Y((e, o) => {
|
|
84
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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
90
|
+
k.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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
108
|
+
k.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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
126
|
+
k.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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
144
|
+
k.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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
162
|
+
k.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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
180
|
+
k.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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
198
|
+
k.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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
216
|
+
k.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,30 +227,30 @@ 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, k.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 ? k.createElement("title", { id: s }, n) : null,
|
|
234
|
+
k.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,
|
|
238
238
|
label: Kt
|
|
239
|
-
},
|
|
239
|
+
}, re = ({
|
|
240
240
|
label: e,
|
|
241
241
|
color: o,
|
|
242
242
|
variant: n = "subtle",
|
|
243
243
|
theme: t,
|
|
244
244
|
size: r = "sm",
|
|
245
245
|
tooltip: s,
|
|
246
|
-
className:
|
|
247
|
-
style:
|
|
246
|
+
className: f,
|
|
247
|
+
style: p,
|
|
248
248
|
children: l
|
|
249
249
|
}) => s ? /* @__PURE__ */ a($e, { content: s, children: /* @__PURE__ */ a(
|
|
250
250
|
"span",
|
|
251
251
|
{
|
|
252
|
-
className: V(ye.badge,
|
|
253
|
-
style:
|
|
252
|
+
className: V(ye.badge, f),
|
|
253
|
+
style: p,
|
|
254
254
|
"data-color": o,
|
|
255
255
|
"data-variant": n,
|
|
256
256
|
"data-theme": t,
|
|
@@ -261,8 +261,8 @@ const Ae = Y((e, o) => {
|
|
|
261
261
|
) }) : /* @__PURE__ */ a(
|
|
262
262
|
"span",
|
|
263
263
|
{
|
|
264
|
-
className: V(ye.badge,
|
|
265
|
-
style:
|
|
264
|
+
className: V(ye.badge, f),
|
|
265
|
+
style: p,
|
|
266
266
|
"data-color": o,
|
|
267
267
|
"data-variant": n,
|
|
268
268
|
"data-theme": t,
|
|
@@ -282,15 +282,15 @@ const Ae = Y((e, o) => {
|
|
|
282
282
|
size: t,
|
|
283
283
|
color: r,
|
|
284
284
|
iconUrl: s,
|
|
285
|
-
className:
|
|
286
|
-
style:
|
|
285
|
+
className: f,
|
|
286
|
+
style: p,
|
|
287
287
|
children: l
|
|
288
|
-
}) => /* @__PURE__ */ a("span", { "data-ui": "icon", "data-size": t, "data-color": r, className: V(fe.icon,
|
|
288
|
+
}) => /* @__PURE__ */ a("span", { "data-ui": "icon", "data-size": t, "data-color": r, className: V(fe.icon, f), style: p, children: /* @__PURE__ */ x(ue, { loading: e, variant: "circle", className: fe.shape, children: [
|
|
289
289
|
/* @__PURE__ */ a("span", { className: fe.shape }),
|
|
290
290
|
n && /* @__PURE__ */ a(n, { "aria-hidden": "true", "alt-label": o, className: fe.svg }),
|
|
291
291
|
s && /* @__PURE__ */ a("img", { src: s, alt: o, className: fe.image }),
|
|
292
292
|
l
|
|
293
|
-
] }) }), Qt = ({ size: e, color: o, label: n, htmlFor: t, helperText: r, children: s, ...
|
|
293
|
+
] }) }), Qt = ({ size: e, color: o, label: n, htmlFor: t, helperText: r, children: s, ...f }) => /* @__PURE__ */ x(mt, { size: e, color: o, ...f, children: [
|
|
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 })
|
|
@@ -304,21 +304,21 @@ const Ae = Y((e, o) => {
|
|
|
304
304
|
value: t,
|
|
305
305
|
placeholder: r = "Search",
|
|
306
306
|
clearButtonAltText: s = "Clear search",
|
|
307
|
-
onChange:
|
|
308
|
-
onClear:
|
|
307
|
+
onChange: f,
|
|
308
|
+
onClear: p,
|
|
309
309
|
onNavigate: l,
|
|
310
310
|
combobox: c = !1,
|
|
311
|
-
listId:
|
|
311
|
+
listId: y,
|
|
312
312
|
"aria-activedescendant": i,
|
|
313
313
|
onKeyDown: b,
|
|
314
|
-
onInput:
|
|
315
|
-
onFocus:
|
|
316
|
-
...
|
|
314
|
+
onInput: h,
|
|
315
|
+
onFocus: _,
|
|
316
|
+
...P
|
|
317
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>
|
|
321
|
-
/* @__PURE__ */ a("div", { role: "combobox", "aria-expanded": !0, "aria-haspopup": "listbox", "aria-owns":
|
|
321
|
+
/* @__PURE__ */ a("div", { role: "combobox", "aria-expanded": !0, "aria-haspopup": "listbox", "aria-owns": y, children: /* @__PURE__ */ a(
|
|
322
322
|
Pe,
|
|
323
323
|
{
|
|
324
324
|
size: "xs",
|
|
@@ -326,22 +326,22 @@ const Ae = Y((e, o) => {
|
|
|
326
326
|
name: n,
|
|
327
327
|
value: t,
|
|
328
328
|
placeholder: r,
|
|
329
|
-
onChange:
|
|
330
|
-
onClear:
|
|
329
|
+
onChange: f,
|
|
330
|
+
onClear: p,
|
|
331
331
|
clearButtonAltText: s,
|
|
332
332
|
autoComplete: "off",
|
|
333
333
|
autoCorrect: "off",
|
|
334
334
|
autoCapitalize: "off",
|
|
335
335
|
"aria-autocomplete": "list",
|
|
336
|
-
"aria-controls":
|
|
336
|
+
"aria-controls": y,
|
|
337
337
|
"aria-activedescendant": i,
|
|
338
338
|
autoFocus: !0,
|
|
339
|
-
onKeyDown: (
|
|
340
|
-
(
|
|
339
|
+
onKeyDown: (v) => {
|
|
340
|
+
(v.key === "ArrowUp" || v.key === "ArrowDown") && (v.preventDefault(), l?.()), b?.(v);
|
|
341
341
|
},
|
|
342
|
-
onInput:
|
|
343
|
-
onFocus:
|
|
344
|
-
...
|
|
342
|
+
onInput: h,
|
|
343
|
+
onFocus: _,
|
|
344
|
+
...P
|
|
345
345
|
}
|
|
346
346
|
) })
|
|
347
347
|
) : /* @__PURE__ */ a(
|
|
@@ -352,19 +352,19 @@ const Ae = Y((e, o) => {
|
|
|
352
352
|
name: n,
|
|
353
353
|
value: t,
|
|
354
354
|
placeholder: r,
|
|
355
|
-
onChange:
|
|
356
|
-
onClear:
|
|
355
|
+
onChange: f,
|
|
356
|
+
onClear: p,
|
|
357
357
|
clearButtonAltText: s,
|
|
358
358
|
autoComplete: "off",
|
|
359
359
|
autoCorrect: "off",
|
|
360
360
|
autoCapitalize: "off",
|
|
361
361
|
autoFocus: !0,
|
|
362
|
-
onKeyDown: (
|
|
363
|
-
(
|
|
362
|
+
onKeyDown: (v) => {
|
|
363
|
+
(v.key === "ArrowUp" || v.key === "ArrowDown") && (v.preventDefault(), l?.()), b?.(v);
|
|
364
364
|
},
|
|
365
|
-
onInput:
|
|
366
|
-
onFocus:
|
|
367
|
-
...
|
|
365
|
+
onInput: h,
|
|
366
|
+
onFocus: _,
|
|
367
|
+
...P
|
|
368
368
|
}
|
|
369
369
|
) }), Je = ({
|
|
370
370
|
level: e = 0,
|
|
@@ -373,134 +373,134 @@ const Ae = Y((e, o) => {
|
|
|
373
373
|
a11yMode: t = "menu",
|
|
374
374
|
open: r,
|
|
375
375
|
scrollToTopOnOpen: s = !1,
|
|
376
|
-
autoActivateFirstItem:
|
|
377
|
-
autoFocusList:
|
|
376
|
+
autoActivateFirstItem: f = !0,
|
|
377
|
+
autoFocusList: p = !0,
|
|
378
378
|
announceNoResults: l = !1,
|
|
379
379
|
search: c,
|
|
380
|
-
items:
|
|
380
|
+
items: y,
|
|
381
381
|
groups: i = {},
|
|
382
382
|
size: b,
|
|
383
|
-
id:
|
|
384
|
-
color:
|
|
385
|
-
variant:
|
|
386
|
-
scrollRefStyles:
|
|
387
|
-
keyboardEvents:
|
|
388
|
-
onSelect:
|
|
383
|
+
id: h,
|
|
384
|
+
color: _,
|
|
385
|
+
variant: P,
|
|
386
|
+
scrollRefStyles: v = {},
|
|
387
|
+
keyboardEvents: I = !1,
|
|
388
|
+
onSelect: D = () => {
|
|
389
389
|
},
|
|
390
|
-
onActiveItemIdChange:
|
|
390
|
+
onActiveItemIdChange: C
|
|
391
391
|
}) => {
|
|
392
392
|
if (o && e >= o)
|
|
393
393
|
return null;
|
|
394
|
-
const
|
|
395
|
-
() =>
|
|
396
|
-
...
|
|
397
|
-
id:
|
|
394
|
+
const O = t === "combobox", d = O && h ? `${h}-listbox` : h, R = Z(r), M = Z(r), [A, j] = oe(!1), z = ie(
|
|
395
|
+
() => y.map((m, N) => ({
|
|
396
|
+
...m,
|
|
397
|
+
id: m.id || `${h}-item-${N}`
|
|
398
398
|
})),
|
|
399
|
-
[
|
|
400
|
-
),
|
|
401
|
-
items:
|
|
399
|
+
[y, h]
|
|
400
|
+
), $ = Z(null), { menu: E, setActiveIndex: S, activeItem: u } = Me({
|
|
401
|
+
items: z,
|
|
402
402
|
groups: i,
|
|
403
403
|
groupByKey: "groupId",
|
|
404
|
-
keyboardEvents:
|
|
405
|
-
autoActivateFirstItem:
|
|
406
|
-
onSelect:
|
|
407
|
-
ref:
|
|
404
|
+
keyboardEvents: I,
|
|
405
|
+
autoActivateFirstItem: f,
|
|
406
|
+
onSelect: D,
|
|
407
|
+
ref: $
|
|
408
408
|
});
|
|
409
409
|
return W(() => {
|
|
410
|
-
|
|
411
|
-
}, [
|
|
410
|
+
C?.(u?.id);
|
|
411
|
+
}, [u?.id, C]), W(() => {
|
|
412
412
|
if (!s) {
|
|
413
|
-
|
|
413
|
+
R.current = r;
|
|
414
414
|
return;
|
|
415
415
|
}
|
|
416
|
-
const
|
|
417
|
-
|
|
416
|
+
const m = R.current;
|
|
417
|
+
R.current = r, r && !m && $.current?.scrollTo({ top: 0 });
|
|
418
418
|
}, [r, s]), W(() => {
|
|
419
|
-
const
|
|
420
|
-
|
|
421
|
-
}, [r,
|
|
422
|
-
if (
|
|
423
|
-
|
|
419
|
+
const m = M.current;
|
|
420
|
+
M.current = r, !(!I || c || !p) && r && !m && requestAnimationFrame(() => $.current?.focus?.({ preventScroll: !0 }));
|
|
421
|
+
}, [r, I, c]), W(() => {
|
|
422
|
+
if (O && l) {
|
|
423
|
+
S(0), j(!0);
|
|
424
424
|
return;
|
|
425
425
|
}
|
|
426
|
-
}, [l,
|
|
426
|
+
}, [l, O, S]), /* @__PURE__ */ x(
|
|
427
427
|
Ie,
|
|
428
428
|
{
|
|
429
|
-
variant:
|
|
429
|
+
variant: P,
|
|
430
430
|
expanded: n,
|
|
431
|
-
ref:
|
|
432
|
-
style:
|
|
433
|
-
id:
|
|
434
|
-
role:
|
|
435
|
-
tabIndex:
|
|
431
|
+
ref: $,
|
|
432
|
+
style: v,
|
|
433
|
+
id: d,
|
|
434
|
+
role: O ? "listbox" : void 0,
|
|
435
|
+
tabIndex: I ? -1 : void 0,
|
|
436
436
|
children: [
|
|
437
437
|
c && /* @__PURE__ */ a(
|
|
438
438
|
Xe,
|
|
439
439
|
{
|
|
440
440
|
...c,
|
|
441
|
-
combobox:
|
|
442
|
-
listId:
|
|
443
|
-
"aria-activedescendant":
|
|
444
|
-
onNavigate:
|
|
445
|
-
onChange: (
|
|
446
|
-
|
|
441
|
+
combobox: O,
|
|
442
|
+
listId: d,
|
|
443
|
+
"aria-activedescendant": O && A ? u?.id : void 0,
|
|
444
|
+
onNavigate: O ? () => j(!0) : void 0,
|
|
445
|
+
onChange: (m) => {
|
|
446
|
+
j(!1), c.onChange?.(m);
|
|
447
447
|
},
|
|
448
|
-
onFocus: (
|
|
449
|
-
|
|
448
|
+
onFocus: (m) => {
|
|
449
|
+
j(!1), c.onFocus?.(m);
|
|
450
450
|
},
|
|
451
|
-
onInput: (
|
|
452
|
-
|
|
451
|
+
onInput: (m) => {
|
|
452
|
+
j(!1), c.onInput?.(m);
|
|
453
453
|
},
|
|
454
|
-
onKeyDown: (
|
|
455
|
-
const
|
|
456
|
-
|
|
454
|
+
onKeyDown: (m) => {
|
|
455
|
+
const N = m.key === "ArrowUp" || m.key === "ArrowDown", L = m.key.length === 1 || m.key === "Backspace" || m.key === "Delete";
|
|
456
|
+
O && !N && L && j(!1), c.onKeyDown?.(m);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
),
|
|
460
|
-
E.map((
|
|
461
|
-
const
|
|
462
|
-
return /* @__PURE__ */
|
|
463
|
-
(e > 0 ||
|
|
464
|
-
/* @__PURE__ */ a(Ue, { hidden:
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
const { active:
|
|
468
|
-
return /* @__PURE__ */
|
|
460
|
+
E.map((m, N) => {
|
|
461
|
+
const L = m?.props || {}, { title: F, hidden: H = !1, divider: q = !0 } = L;
|
|
462
|
+
return /* @__PURE__ */ x(He, { children: [
|
|
463
|
+
(e > 0 || N) && q ? /* @__PURE__ */ a(We, {}) : "",
|
|
464
|
+
/* @__PURE__ */ a(Ue, { hidden: H, children: /* @__PURE__ */ x(Ie, { role: "presentation", children: [
|
|
465
|
+
F && /* @__PURE__ */ a(Ye, { title: F, level: e }),
|
|
466
|
+
m?.items.filter((ee) => !ee.props?.hidden).map((ee, g) => {
|
|
467
|
+
const { active: w, onMouseEnter: B } = ee, { groupId: U, ...T } = ee.props || {}, { expanded: X } = T, le = Array.isArray(T?.items) && T.items.length > 0, ge = T.role === "checkbox" || T.role === "radio", Ne = O && !ge ? "option" : T.role;
|
|
468
|
+
return /* @__PURE__ */ x(
|
|
469
469
|
Ve,
|
|
470
470
|
{
|
|
471
|
-
expanded:
|
|
472
|
-
onMouseLeave: () =>
|
|
473
|
-
role:
|
|
471
|
+
expanded: X,
|
|
472
|
+
onMouseLeave: () => S(-1),
|
|
473
|
+
role: O || ge ? "presentation" : void 0,
|
|
474
474
|
children: [
|
|
475
475
|
/* @__PURE__ */ a(
|
|
476
476
|
tt,
|
|
477
477
|
{
|
|
478
|
-
...
|
|
479
|
-
size:
|
|
480
|
-
color:
|
|
481
|
-
variant:
|
|
482
|
-
active:
|
|
478
|
+
...T,
|
|
479
|
+
size: T?.size || L?.size || b,
|
|
480
|
+
color: T?.color || L?.color || _,
|
|
481
|
+
variant: T?.variant || L?.variant || P,
|
|
482
|
+
active: w,
|
|
483
483
|
role: Ne,
|
|
484
|
-
selected:
|
|
485
|
-
tabIndex:
|
|
486
|
-
onMouseEnter:
|
|
484
|
+
selected: T.selected,
|
|
485
|
+
tabIndex: T?.disabled || I ? -1 : T.tabIndex ?? 0,
|
|
486
|
+
onMouseEnter: B,
|
|
487
487
|
"aria-haspopup": le ? "menu" : void 0,
|
|
488
|
-
"aria-expanded": le ?
|
|
489
|
-
"aria-controls": le ?
|
|
488
|
+
"aria-expanded": le ? X : void 0,
|
|
489
|
+
"aria-controls": le ? T.id + "-menu" : void 0
|
|
490
490
|
}
|
|
491
491
|
),
|
|
492
|
-
|
|
492
|
+
X && T?.items && /* @__PURE__ */ a(
|
|
493
493
|
Je,
|
|
494
494
|
{
|
|
495
|
-
id:
|
|
496
|
-
expanded:
|
|
495
|
+
id: T.id + "-menu",
|
|
496
|
+
expanded: X,
|
|
497
497
|
level: e + 1,
|
|
498
498
|
maxLevels: o,
|
|
499
|
-
items:
|
|
499
|
+
items: T?.items,
|
|
500
500
|
groups: i,
|
|
501
501
|
size: b,
|
|
502
|
-
color:
|
|
503
|
-
variant:
|
|
502
|
+
color: _,
|
|
503
|
+
variant: P
|
|
504
504
|
}
|
|
505
505
|
)
|
|
506
506
|
]
|
|
@@ -508,147 +508,147 @@ const Ae = Y((e, o) => {
|
|
|
508
508
|
g
|
|
509
509
|
);
|
|
510
510
|
})
|
|
511
|
-
] }) },
|
|
512
|
-
] },
|
|
511
|
+
] }) }, N)
|
|
512
|
+
] }, N);
|
|
513
513
|
})
|
|
514
514
|
]
|
|
515
515
|
}
|
|
516
516
|
);
|
|
517
517
|
}, Zt = (e) => {
|
|
518
|
-
const o =
|
|
518
|
+
const o = Z(null), n = Z(null), [t, r] = oe(0), {
|
|
519
519
|
search: s,
|
|
520
|
-
items:
|
|
521
|
-
groups:
|
|
520
|
+
items: f,
|
|
521
|
+
groups: p = {},
|
|
522
522
|
size: l,
|
|
523
523
|
color: c,
|
|
524
|
-
variant:
|
|
524
|
+
variant: y,
|
|
525
525
|
keyboardEvents: i,
|
|
526
526
|
scrollRefStyles: b = {},
|
|
527
|
-
id:
|
|
528
|
-
expanded:
|
|
529
|
-
a11yMode:
|
|
530
|
-
open:
|
|
531
|
-
scrollToTopOnOpen:
|
|
532
|
-
autoActivateFirstItem:
|
|
533
|
-
announceNoResults:
|
|
534
|
-
onActiveItemIdChange:
|
|
535
|
-
} = e,
|
|
536
|
-
() =>
|
|
527
|
+
id: h,
|
|
528
|
+
expanded: _,
|
|
529
|
+
a11yMode: P = "menu",
|
|
530
|
+
open: v,
|
|
531
|
+
scrollToTopOnOpen: I = !1,
|
|
532
|
+
autoActivateFirstItem: D = !0,
|
|
533
|
+
announceNoResults: C = !1,
|
|
534
|
+
onActiveItemIdChange: O
|
|
535
|
+
} = e, d = P === "combobox", R = d && h ? `${h}-listbox` : h, M = Z(v), [A, j] = oe(!1), z = ie(
|
|
536
|
+
() => f.map((g, w) => ({
|
|
537
537
|
...g,
|
|
538
|
-
id: g.id || `${
|
|
538
|
+
id: g.id || `${h}-item-${w}`
|
|
539
539
|
})),
|
|
540
|
-
[
|
|
541
|
-
), { menu:
|
|
542
|
-
items:
|
|
543
|
-
groups:
|
|
540
|
+
[f, h]
|
|
541
|
+
), { menu: $, activeItem: E, setActiveIndex: S, activeIndex: u } = Me({
|
|
542
|
+
items: z,
|
|
543
|
+
groups: p,
|
|
544
544
|
groupByKey: "groupId",
|
|
545
545
|
keyboardEvents: i,
|
|
546
|
-
autoActivateFirstItem:
|
|
546
|
+
autoActivateFirstItem: D,
|
|
547
547
|
ref: o
|
|
548
|
-
}), { flatMenu:
|
|
549
|
-
menu:
|
|
548
|
+
}), { flatMenu: m, virtualizer: N, scrollMaxHeight: L } = vt({
|
|
549
|
+
menu: $,
|
|
550
550
|
scrollRef: o
|
|
551
551
|
});
|
|
552
552
|
Ce(() => {
|
|
553
553
|
const g = n.current;
|
|
554
554
|
if (!g) return;
|
|
555
|
-
const
|
|
556
|
-
r((
|
|
555
|
+
const w = Math.round(g.offsetTop);
|
|
556
|
+
r((B) => B === w ? B : w);
|
|
557
557
|
});
|
|
558
|
-
const
|
|
558
|
+
const F = ie(() => {
|
|
559
559
|
const g = E?.id;
|
|
560
560
|
if (g)
|
|
561
|
-
return
|
|
562
|
-
if (
|
|
563
|
-
let
|
|
564
|
-
for (let
|
|
565
|
-
if (
|
|
566
|
-
return
|
|
561
|
+
return m.findIndex((B) => B.type === "item" && B.itemProps?.id === g);
|
|
562
|
+
if (u < 0) return -1;
|
|
563
|
+
let w = -1;
|
|
564
|
+
for (let B = 0; B < m.length; B++)
|
|
565
|
+
if (m[B]?.type === "item" && (w += 1, w === u))
|
|
566
|
+
return B;
|
|
567
567
|
return -1;
|
|
568
|
-
}, [E?.id,
|
|
568
|
+
}, [E?.id, u, m]), H = Z(null);
|
|
569
569
|
Ce(() => {
|
|
570
|
-
const g =
|
|
571
|
-
|
|
572
|
-
const
|
|
573
|
-
if (!
|
|
574
|
-
const le =
|
|
570
|
+
const g = H?.current, w = typeof g == "number" ? F <= g : !1;
|
|
571
|
+
H.current = F;
|
|
572
|
+
const B = w ? F : F + 2;
|
|
573
|
+
if (!w) {
|
|
574
|
+
const le = N.getOffsetForIndex(B, "auto");
|
|
575
575
|
if (!le) return;
|
|
576
576
|
const [ge, Ne] = le;
|
|
577
577
|
if (Ne === "auto") return;
|
|
578
|
-
|
|
578
|
+
N.scrollToOffset(ge + t + 10, { align: "start" });
|
|
579
579
|
return;
|
|
580
580
|
}
|
|
581
|
-
if (
|
|
582
|
-
|
|
581
|
+
if (F <= 3) {
|
|
582
|
+
N.scrollToOffset(0);
|
|
583
583
|
return;
|
|
584
584
|
}
|
|
585
|
-
const U =
|
|
585
|
+
const U = N.getOffsetForIndex(F - 1, "auto");
|
|
586
586
|
if (!U) return;
|
|
587
|
-
const [
|
|
588
|
-
|
|
589
|
-
}, [
|
|
587
|
+
const [T, X] = U;
|
|
588
|
+
X !== "auto" && N.scrollToOffset(T + t + 10, { align: "start" });
|
|
589
|
+
}, [F, t, N, H]);
|
|
590
590
|
const q = ie(() => {
|
|
591
591
|
const g = /* @__PURE__ */ new Map();
|
|
592
|
-
let
|
|
593
|
-
return
|
|
594
|
-
|
|
595
|
-
}), { positions: g, total:
|
|
596
|
-
}, [
|
|
592
|
+
let w = 0;
|
|
593
|
+
return m.forEach((B, U) => {
|
|
594
|
+
B.type === "item" && (w += 1, g.set(U, w));
|
|
595
|
+
}), { positions: g, total: w };
|
|
596
|
+
}, [m]);
|
|
597
597
|
W(() => {
|
|
598
|
-
|
|
599
|
-
}, [E?.id,
|
|
600
|
-
if (
|
|
601
|
-
|
|
598
|
+
O?.(E?.id);
|
|
599
|
+
}, [E?.id, O]), W(() => {
|
|
600
|
+
if (d && C) {
|
|
601
|
+
S(0), j(!0);
|
|
602
602
|
return;
|
|
603
603
|
}
|
|
604
|
-
}, [
|
|
605
|
-
if (!
|
|
606
|
-
|
|
604
|
+
}, [C, d, S]), W(() => {
|
|
605
|
+
if (!I) {
|
|
606
|
+
M.current = v;
|
|
607
607
|
return;
|
|
608
608
|
}
|
|
609
|
-
const g =
|
|
610
|
-
|
|
611
|
-
}, [
|
|
612
|
-
const
|
|
609
|
+
const g = M.current;
|
|
610
|
+
M.current = v, v && !g && o.current?.scrollTo({ top: 0 });
|
|
611
|
+
}, [v, I]);
|
|
612
|
+
const ee = {
|
|
613
613
|
position: "relative",
|
|
614
|
-
maxHeight: b?.maxHeight ||
|
|
614
|
+
maxHeight: b?.maxHeight || L,
|
|
615
615
|
margin: "-0.5rem",
|
|
616
616
|
padding: "0.5rem 0.5rem 1rem 0.5rem",
|
|
617
617
|
minWidth: b?.minWidth ?? "20rem",
|
|
618
618
|
overflowY: "auto",
|
|
619
619
|
...b
|
|
620
620
|
};
|
|
621
|
-
return /* @__PURE__ */
|
|
621
|
+
return /* @__PURE__ */ x(
|
|
622
622
|
Ie,
|
|
623
623
|
{
|
|
624
624
|
ref: o,
|
|
625
|
-
style:
|
|
626
|
-
variant:
|
|
625
|
+
style: ee,
|
|
626
|
+
variant: y,
|
|
627
627
|
color: c,
|
|
628
|
-
expanded:
|
|
629
|
-
id:
|
|
630
|
-
role:
|
|
628
|
+
expanded: _,
|
|
629
|
+
id: R,
|
|
630
|
+
role: d ? "listbox" : void 0,
|
|
631
631
|
children: [
|
|
632
632
|
s && /* @__PURE__ */ a(
|
|
633
633
|
Xe,
|
|
634
634
|
{
|
|
635
635
|
...s,
|
|
636
|
-
combobox:
|
|
637
|
-
listId:
|
|
638
|
-
"aria-activedescendant":
|
|
639
|
-
onNavigate:
|
|
636
|
+
combobox: d,
|
|
637
|
+
listId: R,
|
|
638
|
+
"aria-activedescendant": d && A ? E?.id : void 0,
|
|
639
|
+
onNavigate: d ? () => j(!0) : void 0,
|
|
640
640
|
onChange: (g) => {
|
|
641
|
-
|
|
641
|
+
j(!1), s.onChange?.(g);
|
|
642
642
|
},
|
|
643
643
|
onFocus: (g) => {
|
|
644
|
-
|
|
644
|
+
j(!1), s.onFocus?.(g);
|
|
645
645
|
},
|
|
646
646
|
onInput: (g) => {
|
|
647
|
-
|
|
647
|
+
j(!1), s.onInput?.(g);
|
|
648
648
|
},
|
|
649
649
|
onKeyDown: (g) => {
|
|
650
|
-
const
|
|
651
|
-
|
|
650
|
+
const w = g.key === "ArrowUp" || g.key === "ArrowDown", B = g.key.length === 1 || g.key === "Backspace" || g.key === "Delete";
|
|
651
|
+
d && !w && B && j(!1), s.onKeyDown?.(g);
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
),
|
|
@@ -658,56 +658,56 @@ const Ae = Y((e, o) => {
|
|
|
658
658
|
ref: n,
|
|
659
659
|
style: {
|
|
660
660
|
position: "relative",
|
|
661
|
-
height: `${
|
|
661
|
+
height: `${N.getTotalSize()}px`,
|
|
662
662
|
width: "100%"
|
|
663
663
|
},
|
|
664
|
-
children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children:
|
|
665
|
-
const
|
|
666
|
-
if (!
|
|
667
|
-
const
|
|
664
|
+
children: /* @__PURE__ */ a(Ie, { style: { width: "100%", minWidth: "100%" }, children: N.getVirtualItems().map((g) => {
|
|
665
|
+
const w = m[g.index];
|
|
666
|
+
if (!w) return null;
|
|
667
|
+
const B = {
|
|
668
668
|
position: "absolute",
|
|
669
669
|
top: 0,
|
|
670
670
|
left: 0,
|
|
671
671
|
width: "100%",
|
|
672
672
|
transform: `translateY(${g.start}px)`
|
|
673
673
|
}, U = {
|
|
674
|
-
style:
|
|
674
|
+
style: B,
|
|
675
675
|
index: g.index,
|
|
676
676
|
"data-index": g.index,
|
|
677
|
-
ref:
|
|
677
|
+
ref: N.measureElement
|
|
678
678
|
};
|
|
679
|
-
switch (
|
|
679
|
+
switch (w.type) {
|
|
680
680
|
case "divider":
|
|
681
681
|
return /* @__PURE__ */ a(
|
|
682
682
|
We,
|
|
683
683
|
{
|
|
684
684
|
...U,
|
|
685
|
-
style: { ...
|
|
685
|
+
style: { ...B, padding: "0.25rem 0" }
|
|
686
686
|
},
|
|
687
687
|
g.key
|
|
688
688
|
);
|
|
689
689
|
case "header":
|
|
690
|
-
return /* @__PURE__ */ a(Ye, { ...U, title:
|
|
690
|
+
return /* @__PURE__ */ a(Ye, { ...U, title: w.title || "", level: 1 }, g.key);
|
|
691
691
|
default: {
|
|
692
|
-
const
|
|
692
|
+
const T = w.itemProps?.role === "checkbox" || w.itemProps?.role === "radio", X = d && !T ? "option" : w.itemProps?.role;
|
|
693
693
|
return /* @__PURE__ */ a(
|
|
694
694
|
Ve,
|
|
695
695
|
{
|
|
696
696
|
...U,
|
|
697
|
-
role:
|
|
697
|
+
role: d || T ? "presentation" : "menuitem",
|
|
698
698
|
children: /* @__PURE__ */ a(
|
|
699
699
|
tt,
|
|
700
700
|
{
|
|
701
|
-
...
|
|
702
|
-
size:
|
|
703
|
-
color:
|
|
704
|
-
variant:
|
|
705
|
-
active:
|
|
706
|
-
role:
|
|
707
|
-
selected:
|
|
708
|
-
"aria-posinset":
|
|
709
|
-
"aria-setsize":
|
|
710
|
-
tabIndex:
|
|
701
|
+
...w.itemProps || {},
|
|
702
|
+
size: w.itemProps?.size || l,
|
|
703
|
+
color: w.itemProps?.color || c,
|
|
704
|
+
variant: w.itemProps?.variant || y,
|
|
705
|
+
active: w.active,
|
|
706
|
+
role: X,
|
|
707
|
+
selected: w.itemProps?.selected,
|
|
708
|
+
"aria-posinset": d ? q.positions.get(g.index) : void 0,
|
|
709
|
+
"aria-setsize": d ? q.total : void 0,
|
|
710
|
+
tabIndex: w.itemProps?.disabled || i ? -1 : 0
|
|
711
711
|
}
|
|
712
712
|
)
|
|
713
713
|
},
|
|
@@ -733,15 +733,15 @@ const Ae = Y((e, o) => {
|
|
|
733
733
|
},
|
|
734
734
|
languageCode: "nb"
|
|
735
735
|
}, Ze = ot(en), Jr = ({ children: e, initialValue: o, debug: n, languageCode: t }) => {
|
|
736
|
-
const [r, s] = oe(o?.currentId || ""), [
|
|
736
|
+
const [r, s] = oe(o?.currentId || ""), [f, p] = oe(o?.previousId || "");
|
|
737
737
|
return /* @__PURE__ */ a(
|
|
738
738
|
Ze.Provider,
|
|
739
739
|
{
|
|
740
740
|
value: {
|
|
741
741
|
currentId: r,
|
|
742
742
|
setCurrentId: s,
|
|
743
|
-
setPreviousId:
|
|
744
|
-
previousId:
|
|
743
|
+
setPreviousId: p,
|
|
744
|
+
previousId: f,
|
|
745
745
|
debug: n,
|
|
746
746
|
languageCode: t
|
|
747
747
|
},
|
|
@@ -752,12 +752,12 @@ const Ae = Y((e, o) => {
|
|
|
752
752
|
const e = at(Ze);
|
|
753
753
|
if (!e)
|
|
754
754
|
throw new Error("useRootContext must be used within a RootProvider.");
|
|
755
|
-
const { currentId: o, setCurrentId: n, debug: t, setPreviousId: r, previousId: s, languageCode:
|
|
755
|
+
const { currentId: o, setCurrentId: n, debug: t, setPreviousId: r, previousId: s, languageCode: f } = e, p = (i) => {
|
|
756
756
|
o && r(o), n(i);
|
|
757
757
|
}, l = (i) => {
|
|
758
|
-
t && console.debug(`useRootContext: toggleId called with value: ${i}`),
|
|
758
|
+
t && console.debug(`useRootContext: toggleId called with value: ${i}`), p(o === i ? "" : i);
|
|
759
759
|
}, c = () => {
|
|
760
|
-
t && console.debug("useRootContext: closeAll called"),
|
|
760
|
+
t && console.debug("useRootContext: closeAll called"), p("");
|
|
761
761
|
};
|
|
762
762
|
return it(c), {
|
|
763
763
|
currentId: o,
|
|
@@ -765,9 +765,9 @@ const Ae = Y((e, o) => {
|
|
|
765
765
|
toggleId: l,
|
|
766
766
|
closeAll: c,
|
|
767
767
|
openId: (i) => {
|
|
768
|
-
t && console.debug(`useRootContext: openId called with value: ${i}`),
|
|
768
|
+
t && console.debug(`useRootContext: openId called with value: ${i}`), p(i);
|
|
769
769
|
},
|
|
770
|
-
languageCode:
|
|
770
|
+
languageCode: f
|
|
771
771
|
};
|
|
772
772
|
}, nn = (e) => {
|
|
773
773
|
switch (e) {
|
|
@@ -811,16 +811,16 @@ const Ae = Y((e, o) => {
|
|
|
811
811
|
onClear: t,
|
|
812
812
|
clearButtonAltText: r,
|
|
813
813
|
items: s = [],
|
|
814
|
-
groups:
|
|
814
|
+
groups: f = {}
|
|
815
815
|
}) => {
|
|
816
|
-
const { languageCode:
|
|
817
|
-
(
|
|
818
|
-
|
|
816
|
+
const { languageCode: p } = tn(), l = G.useMemo(() => nn(p), [p]), [c, y] = G.useState(""), i = G.useCallback(
|
|
817
|
+
(u) => {
|
|
818
|
+
y(u.target.value), n?.(u);
|
|
819
819
|
},
|
|
820
820
|
[n]
|
|
821
821
|
), b = G.useCallback(() => {
|
|
822
|
-
|
|
823
|
-
}, [t]),
|
|
822
|
+
y(""), t?.();
|
|
823
|
+
}, [t]), h = G.useMemo(() => c.trim().replace(/\s+/g, " "), [c]), _ = h.length > 0, P = G.useMemo(() => h.toLowerCase(), [h]), v = G.useMemo(() => h ? h.split(" ") : [], [h]), I = G.useMemo(
|
|
824
824
|
() => ({
|
|
825
825
|
placeholder: e ?? l.placeholder,
|
|
826
826
|
name: o ?? "search",
|
|
@@ -830,16 +830,16 @@ const Ae = Y((e, o) => {
|
|
|
830
830
|
clearButtonAltText: r
|
|
831
831
|
}),
|
|
832
832
|
[e, l.placeholder, o, c, i, b, r]
|
|
833
|
-
),
|
|
834
|
-
() => s.map((
|
|
835
|
-
const
|
|
833
|
+
), D = G.useMemo(
|
|
834
|
+
() => s.map((u) => {
|
|
835
|
+
const m = u?.searchWords?.length ? u.searchWords : [u?.title, u?.description].filter(Boolean);
|
|
836
836
|
return {
|
|
837
|
-
...
|
|
838
|
-
searchWords:
|
|
837
|
+
...u,
|
|
838
|
+
searchWords: m ?? []
|
|
839
839
|
};
|
|
840
840
|
}),
|
|
841
841
|
[s]
|
|
842
|
-
),
|
|
842
|
+
), C = G.useMemo(
|
|
843
843
|
() => [
|
|
844
844
|
{
|
|
845
845
|
id: "emptySearch",
|
|
@@ -852,61 +852,61 @@ const Ae = Y((e, o) => {
|
|
|
852
852
|
}
|
|
853
853
|
],
|
|
854
854
|
[l.noResults]
|
|
855
|
-
),
|
|
856
|
-
const
|
|
857
|
-
return
|
|
858
|
-
}, [s,
|
|
859
|
-
if (!
|
|
860
|
-
const
|
|
861
|
-
for (const
|
|
862
|
-
|
|
863
|
-
...
|
|
855
|
+
), O = G.useMemo(() => {
|
|
856
|
+
const u = s.filter((m) => m.groupId === "emptySearch").map((m) => ({ ...m, hidden: !1 }));
|
|
857
|
+
return u.length ? u : C;
|
|
858
|
+
}, [s, C]), { selectedItems: d, results: R } = G.useMemo(() => {
|
|
859
|
+
if (!_) return { selectedItems: [], results: [] };
|
|
860
|
+
const u = [], m = [];
|
|
861
|
+
for (const N of D)
|
|
862
|
+
N.checked === !0 && u.push({ ...N, groupId: "selected" }), (N.searchWords ?? []).some((H) => String(H).toLowerCase().includes(P)) && m.push({
|
|
863
|
+
...N,
|
|
864
864
|
groupId: "search",
|
|
865
|
-
highlightWords:
|
|
865
|
+
highlightWords: v
|
|
866
866
|
});
|
|
867
|
-
return { selectedItems:
|
|
868
|
-
}, [
|
|
867
|
+
return { selectedItems: u, results: m };
|
|
868
|
+
}, [_, D, P, v]), M = R.length, A = d.length, j = G.useMemo(
|
|
869
869
|
() => ({
|
|
870
870
|
search: {
|
|
871
871
|
hidden: !0,
|
|
872
|
-
title: l.hits(
|
|
872
|
+
title: l.hits(M)
|
|
873
873
|
},
|
|
874
874
|
selected: {
|
|
875
875
|
hidden: !0,
|
|
876
|
-
title: l.selected(
|
|
876
|
+
title: l.selected(A)
|
|
877
877
|
},
|
|
878
878
|
emptySearch: {
|
|
879
879
|
hidden: !0,
|
|
880
880
|
title: l.noResults
|
|
881
881
|
},
|
|
882
|
-
...
|
|
882
|
+
...f
|
|
883
883
|
}),
|
|
884
|
-
[l,
|
|
885
|
-
),
|
|
884
|
+
[l, M, A, f]
|
|
885
|
+
), z = G.useMemo(
|
|
886
886
|
() => ({
|
|
887
|
-
...
|
|
887
|
+
...j,
|
|
888
888
|
search: {
|
|
889
|
-
hidden: !
|
|
890
|
-
title: l.hits(
|
|
889
|
+
hidden: !_,
|
|
890
|
+
title: l.hits(M)
|
|
891
891
|
},
|
|
892
892
|
selected: {
|
|
893
|
-
hidden:
|
|
894
|
-
title: l.selected(
|
|
893
|
+
hidden: A === 0,
|
|
894
|
+
title: l.selected(A)
|
|
895
895
|
},
|
|
896
896
|
emptySearch: {
|
|
897
|
-
hidden:
|
|
897
|
+
hidden: _ && (M > 0 || A > 0),
|
|
898
898
|
title: l.noResults
|
|
899
899
|
}
|
|
900
900
|
}),
|
|
901
|
-
[
|
|
902
|
-
),
|
|
901
|
+
[j, _, l, M, A]
|
|
902
|
+
), $ = G.useMemo(() => _ ? rn([...R, ...d]) : [], [_, R, d]), E = G.useMemo(() => [...O || [], ...d || []], [O, d]), S = G.useMemo(() => _ ? M ? $ : E : s, [_, s, M, $, E]);
|
|
903
903
|
return {
|
|
904
|
-
search:
|
|
905
|
-
results:
|
|
906
|
-
resultCount:
|
|
907
|
-
hasQuery:
|
|
908
|
-
items:
|
|
909
|
-
groups:
|
|
904
|
+
search: I,
|
|
905
|
+
results: R,
|
|
906
|
+
resultCount: M,
|
|
907
|
+
hasQuery: _,
|
|
908
|
+
items: S,
|
|
909
|
+
groups: z
|
|
910
910
|
};
|
|
911
911
|
}, et = ({
|
|
912
912
|
searchable: e,
|
|
@@ -915,60 +915,60 @@ const Ae = Y((e, o) => {
|
|
|
915
915
|
groups: t = {},
|
|
916
916
|
variant: r = "default",
|
|
917
917
|
size: s,
|
|
918
|
-
level:
|
|
919
|
-
maxLevels:
|
|
918
|
+
level: f = 0,
|
|
919
|
+
maxLevels: p = 3,
|
|
920
920
|
virtualized: l = !1,
|
|
921
921
|
keyboardEvents: c = !1,
|
|
922
|
-
scrollRefStyles:
|
|
922
|
+
scrollRefStyles: y = {},
|
|
923
923
|
onActiveItemIdChange: i,
|
|
924
924
|
a11yMode: b = "menu",
|
|
925
|
-
open:
|
|
926
|
-
scrollToTopOnOpen:
|
|
927
|
-
autoFocusList:
|
|
928
|
-
id:
|
|
925
|
+
open: h,
|
|
926
|
+
scrollToTopOnOpen: _,
|
|
927
|
+
autoFocusList: P,
|
|
928
|
+
id: v
|
|
929
929
|
}) => {
|
|
930
|
-
const
|
|
930
|
+
const I = on({ ...o, items: n, groups: t }), D = e ? I.search : o, C = e && I.hasQuery && I.resultCount === 0, O = e ? I.items : n, d = e ? { ...t, ...I.groups } : t, R = b !== "combobox";
|
|
931
931
|
return l ? /* @__PURE__ */ a(
|
|
932
932
|
Zt,
|
|
933
933
|
{
|
|
934
|
-
id:
|
|
935
|
-
search:
|
|
936
|
-
announceNoResults:
|
|
937
|
-
items:
|
|
938
|
-
groups:
|
|
934
|
+
id: v,
|
|
935
|
+
search: D,
|
|
936
|
+
announceNoResults: C,
|
|
937
|
+
items: O,
|
|
938
|
+
groups: d,
|
|
939
939
|
variant: r,
|
|
940
940
|
size: s,
|
|
941
|
-
level:
|
|
942
|
-
maxLevels:
|
|
941
|
+
level: f,
|
|
942
|
+
maxLevels: p,
|
|
943
943
|
keyboardEvents: c,
|
|
944
|
-
scrollRefStyles:
|
|
944
|
+
scrollRefStyles: y,
|
|
945
945
|
onActiveItemIdChange: i,
|
|
946
946
|
a11yMode: b,
|
|
947
|
-
open:
|
|
948
|
-
scrollToTopOnOpen:
|
|
949
|
-
autoActivateFirstItem:
|
|
950
|
-
autoFocusList:
|
|
947
|
+
open: h,
|
|
948
|
+
scrollToTopOnOpen: _,
|
|
949
|
+
autoActivateFirstItem: R,
|
|
950
|
+
autoFocusList: P
|
|
951
951
|
}
|
|
952
952
|
) : /* @__PURE__ */ a(
|
|
953
953
|
Je,
|
|
954
954
|
{
|
|
955
|
-
id:
|
|
956
|
-
search:
|
|
957
|
-
announceNoResults:
|
|
958
|
-
items:
|
|
959
|
-
groups:
|
|
955
|
+
id: v,
|
|
956
|
+
search: D,
|
|
957
|
+
announceNoResults: C,
|
|
958
|
+
items: O,
|
|
959
|
+
groups: d,
|
|
960
960
|
variant: r,
|
|
961
961
|
size: s,
|
|
962
|
-
level:
|
|
963
|
-
maxLevels:
|
|
962
|
+
level: f,
|
|
963
|
+
maxLevels: p,
|
|
964
964
|
keyboardEvents: c,
|
|
965
|
-
scrollRefStyles:
|
|
965
|
+
scrollRefStyles: y,
|
|
966
966
|
onActiveItemIdChange: i,
|
|
967
967
|
a11yMode: b,
|
|
968
|
-
open:
|
|
969
|
-
scrollToTopOnOpen:
|
|
970
|
-
autoActivateFirstItem:
|
|
971
|
-
autoFocusList:
|
|
968
|
+
open: h,
|
|
969
|
+
scrollToTopOnOpen: _,
|
|
970
|
+
autoActivateFirstItem: R,
|
|
971
|
+
autoFocusList: P
|
|
972
972
|
}
|
|
973
973
|
);
|
|
974
974
|
}, an = "_media_1089b_3", sn = "_icon_1089b_10", ln = "_avatar_1089b_14", cn = "_avatarGroup_1089b_18", ae = {
|
|
@@ -986,7 +986,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
986
986
|
if (o)
|
|
987
987
|
return /* @__PURE__ */ a("div", { className: V(ae.icon, e), children: /* @__PURE__ */ a(se, { svgElement: Ae, loading: !0 }) });
|
|
988
988
|
const r = Ee(n) ? "avatar" : Se(n) ? "avatarGroup" : (ze(n), "icon");
|
|
989
|
-
return /* @__PURE__ */
|
|
989
|
+
return /* @__PURE__ */ x("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
|
] });
|
|
@@ -999,28 +999,28 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
999
999
|
as: t = "h2",
|
|
1000
1000
|
size: r,
|
|
1001
1001
|
leading: s = "tight",
|
|
1002
|
-
weight:
|
|
1003
|
-
color:
|
|
1002
|
+
weight: f = "medium",
|
|
1003
|
+
color: p,
|
|
1004
1004
|
variant: l,
|
|
1005
1005
|
maxRows: c,
|
|
1006
|
-
className:
|
|
1006
|
+
className: y,
|
|
1007
1007
|
style: i,
|
|
1008
1008
|
children: b
|
|
1009
1009
|
}) => {
|
|
1010
|
-
const
|
|
1010
|
+
const h = t, _ = ct(b, n || []);
|
|
1011
1011
|
return /* @__PURE__ */ a(
|
|
1012
|
-
|
|
1012
|
+
h,
|
|
1013
1013
|
{
|
|
1014
1014
|
id: e,
|
|
1015
|
-
className: V(mn.heading,
|
|
1015
|
+
className: V(mn.heading, y),
|
|
1016
1016
|
style: i,
|
|
1017
1017
|
"data-size": r,
|
|
1018
1018
|
"data-leading": s,
|
|
1019
|
-
"data-weight":
|
|
1020
|
-
"data-color":
|
|
1019
|
+
"data-weight": f,
|
|
1020
|
+
"data-color": p,
|
|
1021
1021
|
"data-variant": r === "xxs" && "default" || l,
|
|
1022
1022
|
"data-max-rows": c,
|
|
1023
|
-
children: /* @__PURE__ */ a(ue, { loading: o, children:
|
|
1023
|
+
children: /* @__PURE__ */ a(ue, { loading: o, children: _ })
|
|
1024
1024
|
}
|
|
1025
1025
|
);
|
|
1026
1026
|
}, fn = "_label_e5q28_3", pn = {
|
|
@@ -1032,10 +1032,10 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1032
1032
|
description: t,
|
|
1033
1033
|
descriptionProps: r = {},
|
|
1034
1034
|
highlightWords: s,
|
|
1035
|
-
loading:
|
|
1036
|
-
children:
|
|
1037
|
-
}) => /* @__PURE__ */ a("span", { className: V(pn.label, e), children:
|
|
1038
|
-
o && /* @__PURE__ */ a(me, { ...n, as: "span", loading:
|
|
1035
|
+
loading: f,
|
|
1036
|
+
children: p
|
|
1037
|
+
}) => /* @__PURE__ */ a("span", { className: V(pn.label, e), children: p || /* @__PURE__ */ x(xe, { children: [
|
|
1038
|
+
o && /* @__PURE__ */ a(me, { ...n, as: "span", loading: f, highlightWords: s, maxRows: 2, children: o }),
|
|
1039
1039
|
t && /* @__PURE__ */ a(
|
|
1040
1040
|
me,
|
|
1041
1041
|
{
|
|
@@ -1043,7 +1043,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1043
1043
|
as: "span",
|
|
1044
1044
|
weight: "normal",
|
|
1045
1045
|
leading: "inherit",
|
|
1046
|
-
loading:
|
|
1046
|
+
loading: f,
|
|
1047
1047
|
highlightWords: s,
|
|
1048
1048
|
maxRows: 2,
|
|
1049
1049
|
children: t
|
|
@@ -1064,109 +1064,109 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1064
1064
|
as: t,
|
|
1065
1065
|
href: r,
|
|
1066
1066
|
onClick: s,
|
|
1067
|
-
onChange:
|
|
1068
|
-
onKeyPress:
|
|
1067
|
+
onChange: f,
|
|
1068
|
+
onKeyPress: p,
|
|
1069
1069
|
onMouseEnter: l,
|
|
1070
1070
|
size: c = "sm",
|
|
1071
|
-
variant:
|
|
1071
|
+
variant: y,
|
|
1072
1072
|
color: i,
|
|
1073
1073
|
name: b,
|
|
1074
|
-
value:
|
|
1075
|
-
checked:
|
|
1076
|
-
icon:
|
|
1077
|
-
label:
|
|
1078
|
-
badge:
|
|
1079
|
-
controls:
|
|
1080
|
-
title:
|
|
1081
|
-
description:
|
|
1082
|
-
highlightWords:
|
|
1083
|
-
count:
|
|
1084
|
-
linkIcon:
|
|
1085
|
-
disabled:
|
|
1086
|
-
selected:
|
|
1087
|
-
active:
|
|
1088
|
-
tabIndex:
|
|
1074
|
+
value: h,
|
|
1075
|
+
checked: _,
|
|
1076
|
+
icon: P,
|
|
1077
|
+
label: v,
|
|
1078
|
+
badge: I,
|
|
1079
|
+
controls: D,
|
|
1080
|
+
title: C,
|
|
1081
|
+
description: O,
|
|
1082
|
+
highlightWords: d,
|
|
1083
|
+
count: R,
|
|
1084
|
+
linkIcon: M = !1,
|
|
1085
|
+
disabled: A,
|
|
1086
|
+
selected: j,
|
|
1087
|
+
active: z,
|
|
1088
|
+
tabIndex: $ = 0,
|
|
1089
1089
|
className: E,
|
|
1090
|
-
"data-testid":
|
|
1091
|
-
...
|
|
1090
|
+
"data-testid": S,
|
|
1091
|
+
...u
|
|
1092
1092
|
}) => {
|
|
1093
|
-
const
|
|
1093
|
+
const m = typeof v == "function" ? v() : v, N = ht(u);
|
|
1094
1094
|
if (n === "checkbox" || n === "radio") {
|
|
1095
|
-
const
|
|
1096
|
-
return /* @__PURE__ */
|
|
1095
|
+
const H = P || (_ ? Qe : Lt);
|
|
1096
|
+
return /* @__PURE__ */ x(
|
|
1097
1097
|
"label",
|
|
1098
1098
|
{
|
|
1099
|
-
...
|
|
1099
|
+
...N,
|
|
1100
1100
|
className: V(K.item, E),
|
|
1101
1101
|
id: e,
|
|
1102
1102
|
"data-id": e,
|
|
1103
1103
|
"data-group-id": o,
|
|
1104
1104
|
"data-size": c,
|
|
1105
|
-
"data-variant":
|
|
1105
|
+
"data-variant": y,
|
|
1106
1106
|
"data-color": i,
|
|
1107
|
-
"data-active":
|
|
1107
|
+
"data-active": z,
|
|
1108
1108
|
role: n,
|
|
1109
|
-
"aria-disabled":
|
|
1110
|
-
"aria-checked":
|
|
1111
|
-
"aria-selected":
|
|
1112
|
-
"data-selected":
|
|
1113
|
-
"aria-label":
|
|
1114
|
-
"data-testid":
|
|
1109
|
+
"aria-disabled": A,
|
|
1110
|
+
"aria-checked": _,
|
|
1111
|
+
"aria-selected": _,
|
|
1112
|
+
"data-selected": _,
|
|
1113
|
+
"aria-label": C,
|
|
1114
|
+
"data-testid": S,
|
|
1115
1115
|
onKeyUp: (q) => {
|
|
1116
|
-
|
|
1116
|
+
A || (q.target === q.currentTarget && q.key === "Enter" && s?.(), p?.(q));
|
|
1117
1117
|
},
|
|
1118
1118
|
onClick: s,
|
|
1119
1119
|
onMouseEnter: l,
|
|
1120
|
-
tabIndex:
|
|
1120
|
+
tabIndex: $,
|
|
1121
1121
|
children: [
|
|
1122
1122
|
/* @__PURE__ */ a(
|
|
1123
1123
|
"input",
|
|
1124
1124
|
{
|
|
1125
1125
|
name: b,
|
|
1126
|
-
value:
|
|
1126
|
+
value: h,
|
|
1127
1127
|
type: n,
|
|
1128
|
-
checked: !!
|
|
1129
|
-
onChange:
|
|
1130
|
-
readOnly: !
|
|
1128
|
+
checked: !!_,
|
|
1129
|
+
onChange: f,
|
|
1130
|
+
readOnly: !f,
|
|
1131
1131
|
style: { opacity: 0, position: "absolute" },
|
|
1132
1132
|
tabIndex: -1
|
|
1133
1133
|
}
|
|
1134
1134
|
),
|
|
1135
|
-
/* @__PURE__ */ a(Te, { icon:
|
|
1135
|
+
/* @__PURE__ */ a(Te, { icon: H, className: K.media }),
|
|
1136
1136
|
/* @__PURE__ */ a(
|
|
1137
1137
|
Le,
|
|
1138
1138
|
{
|
|
1139
1139
|
className: K.label,
|
|
1140
|
-
highlightWords:
|
|
1141
|
-
title: /* @__PURE__ */
|
|
1142
|
-
|
|
1140
|
+
highlightWords: d,
|
|
1141
|
+
title: /* @__PURE__ */ x(xe, { children: [
|
|
1142
|
+
C,
|
|
1143
1143
|
" ",
|
|
1144
|
-
|
|
1144
|
+
R && /* @__PURE__ */ a("i", { className: K.count, children: R })
|
|
1145
1145
|
] }),
|
|
1146
1146
|
titleProps: {
|
|
1147
1147
|
weight: "medium",
|
|
1148
1148
|
className: K.title
|
|
1149
1149
|
},
|
|
1150
|
-
description:
|
|
1150
|
+
description: O,
|
|
1151
1151
|
descriptionProps: {
|
|
1152
1152
|
weight: "normal",
|
|
1153
1153
|
variant: "subtle",
|
|
1154
1154
|
className: K.description
|
|
1155
1155
|
},
|
|
1156
|
-
children:
|
|
1156
|
+
children: m
|
|
1157
1157
|
}
|
|
1158
1158
|
),
|
|
1159
|
-
/* @__PURE__ */
|
|
1160
|
-
|
|
1161
|
-
!
|
|
1159
|
+
/* @__PURE__ */ x(Re, { children: [
|
|
1160
|
+
I && /* @__PURE__ */ a(re, { ...I }),
|
|
1161
|
+
!A && D
|
|
1162
1162
|
] })
|
|
1163
1163
|
]
|
|
1164
1164
|
}
|
|
1165
1165
|
);
|
|
1166
1166
|
}
|
|
1167
|
-
const
|
|
1168
|
-
return /* @__PURE__ */
|
|
1169
|
-
|
|
1167
|
+
const L = t || (r ? "a" : "button"), F = M && zt;
|
|
1168
|
+
return /* @__PURE__ */ x(
|
|
1169
|
+
L,
|
|
1170
1170
|
{
|
|
1171
1171
|
href: r,
|
|
1172
1172
|
className: V(K.item, E),
|
|
@@ -1174,57 +1174,57 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1174
1174
|
"data-id": e,
|
|
1175
1175
|
"data-group-id": o,
|
|
1176
1176
|
"data-size": c,
|
|
1177
|
-
"data-variant":
|
|
1177
|
+
"data-variant": y,
|
|
1178
1178
|
"data-color": i,
|
|
1179
|
-
"data-active":
|
|
1180
|
-
"aria-disabled":
|
|
1181
|
-
...
|
|
1182
|
-
"aria-current": n !== "option" &&
|
|
1183
|
-
"aria-selected": n === "option" ?
|
|
1184
|
-
"data-selected":
|
|
1185
|
-
"aria-label":
|
|
1186
|
-
"data-testid":
|
|
1187
|
-
onKeyUp: (
|
|
1188
|
-
|
|
1179
|
+
"data-active": z,
|
|
1180
|
+
"aria-disabled": A,
|
|
1181
|
+
...A ? { disabled: A } : {},
|
|
1182
|
+
"aria-current": n !== "option" && j ? "page" : void 0,
|
|
1183
|
+
"aria-selected": n === "option" ? j : void 0,
|
|
1184
|
+
"data-selected": j,
|
|
1185
|
+
"aria-label": C,
|
|
1186
|
+
"data-testid": S,
|
|
1187
|
+
onKeyUp: (H) => {
|
|
1188
|
+
A || (H.target === H.currentTarget && H.key === "Enter" && s?.(), p?.(H));
|
|
1189
1189
|
},
|
|
1190
1190
|
onClick: s,
|
|
1191
1191
|
onMouseEnter: l,
|
|
1192
|
-
tabIndex:
|
|
1192
|
+
tabIndex: A ? -1 : $ ?? 0,
|
|
1193
1193
|
role: n === "menuItem" ? "menuitem" : n,
|
|
1194
|
-
...
|
|
1194
|
+
...N,
|
|
1195
1195
|
children: [
|
|
1196
|
-
|
|
1196
|
+
P && /* @__PURE__ */ a(Te, { icon: P, className: K.media }),
|
|
1197
1197
|
/* @__PURE__ */ a(
|
|
1198
1198
|
Le,
|
|
1199
1199
|
{
|
|
1200
1200
|
className: K.label,
|
|
1201
|
-
highlightWords:
|
|
1202
|
-
title: /* @__PURE__ */
|
|
1203
|
-
|
|
1201
|
+
highlightWords: d,
|
|
1202
|
+
title: /* @__PURE__ */ x(xe, { children: [
|
|
1203
|
+
C,
|
|
1204
1204
|
" ",
|
|
1205
|
-
|
|
1205
|
+
R && /* @__PURE__ */ a("i", { className: K.count, children: R })
|
|
1206
1206
|
] }),
|
|
1207
1207
|
titleProps: {
|
|
1208
1208
|
weight: "medium",
|
|
1209
1209
|
className: K.title
|
|
1210
1210
|
},
|
|
1211
|
-
description:
|
|
1211
|
+
description: O,
|
|
1212
1212
|
descriptionProps: {
|
|
1213
1213
|
variant: "subtle",
|
|
1214
1214
|
className: K.description
|
|
1215
1215
|
},
|
|
1216
|
-
children:
|
|
1216
|
+
children: m
|
|
1217
1217
|
}
|
|
1218
1218
|
),
|
|
1219
|
-
/* @__PURE__ */
|
|
1220
|
-
|
|
1221
|
-
!
|
|
1222
|
-
|
|
1219
|
+
/* @__PURE__ */ x(Re, { children: [
|
|
1220
|
+
I && /* @__PURE__ */ a(re, { ...I }),
|
|
1221
|
+
!A && D,
|
|
1222
|
+
M && /* @__PURE__ */ a(se, { svgElement: F, className: K.linkIcon })
|
|
1223
1223
|
] })
|
|
1224
1224
|
]
|
|
1225
1225
|
}
|
|
1226
1226
|
);
|
|
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",
|
|
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", te = {
|
|
1228
1228
|
fieldContainer: xn,
|
|
1229
1229
|
field: In,
|
|
1230
1230
|
input: On,
|
|
@@ -1240,94 +1240,94 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1240
1240
|
loadingLabel: t = "Loading ...",
|
|
1241
1241
|
size: r,
|
|
1242
1242
|
color: s = "neutral",
|
|
1243
|
-
label:
|
|
1244
|
-
hideLabel:
|
|
1243
|
+
label: f,
|
|
1244
|
+
hideLabel: p,
|
|
1245
1245
|
value: l,
|
|
1246
1246
|
onClear: c,
|
|
1247
|
-
clearButtonAltText:
|
|
1247
|
+
clearButtonAltText: y = "Clear search",
|
|
1248
1248
|
menu: i,
|
|
1249
1249
|
minLength: b,
|
|
1250
|
-
...
|
|
1250
|
+
...h
|
|
1251
1251
|
}) => {
|
|
1252
|
-
const
|
|
1253
|
-
...
|
|
1252
|
+
const _ = De(), [P, v] = oe(!1), I = h.id || `search-field-${_}`, D = `${I}-listbox`, [C, O] = oe(void 0), d = "searchfield-clear-button-" + De(), R = ie(() => !i || !l || typeof b == "number" && typeof l == "string" && l.length < b ? !1 : P, [i, P, b, l]), M = ie(() => (i?.items ?? []).map((u) => ({
|
|
1253
|
+
...u,
|
|
1254
1254
|
onClick: () => {
|
|
1255
|
-
|
|
1255
|
+
u.onClick?.(), v(!1);
|
|
1256
1256
|
}
|
|
1257
|
-
})), [i]),
|
|
1258
|
-
if (
|
|
1259
|
-
i?.items?.[0]?.onClick?.(),
|
|
1257
|
+
})), [i]), A = (u) => {
|
|
1258
|
+
if (u.key === "Enter" && R) {
|
|
1259
|
+
i?.items?.[0]?.onClick?.(), v(!1);
|
|
1260
1260
|
return;
|
|
1261
1261
|
}
|
|
1262
|
-
if (
|
|
1263
|
-
|
|
1262
|
+
if (u.key === "Escape" && R) {
|
|
1263
|
+
u.preventDefault(), u.stopPropagation(), v(!1), i?.onClose(), document.getElementById(I)?.focus();
|
|
1264
1264
|
return;
|
|
1265
1265
|
}
|
|
1266
|
-
|
|
1267
|
-
},
|
|
1268
|
-
|
|
1269
|
-
},
|
|
1270
|
-
if (!
|
|
1271
|
-
const
|
|
1272
|
-
|
|
1273
|
-
},
|
|
1274
|
-
|
|
1275
|
-
}, E = (
|
|
1276
|
-
|
|
1277
|
-
},
|
|
1266
|
+
h.onKeyDown?.(u), v(!0);
|
|
1267
|
+
}, j = () => {
|
|
1268
|
+
v(!0);
|
|
1269
|
+
}, z = (u) => {
|
|
1270
|
+
if (!P) return;
|
|
1271
|
+
const m = u.relatedTarget;
|
|
1272
|
+
m && u.currentTarget.contains(m) || v(!1);
|
|
1273
|
+
}, $ = (u) => {
|
|
1274
|
+
u.preventDefault();
|
|
1275
|
+
}, E = (u) => {
|
|
1276
|
+
u.relatedTarget?.id === d && O(void 0), h.onBlur?.(u);
|
|
1277
|
+
}, S = /* @__PURE__ */ x(
|
|
1278
1278
|
Qt,
|
|
1279
1279
|
{
|
|
1280
1280
|
size: r,
|
|
1281
1281
|
color: s,
|
|
1282
|
-
label:
|
|
1283
|
-
htmlFor:
|
|
1284
|
-
className: V(
|
|
1282
|
+
label: p ? void 0 : f,
|
|
1283
|
+
htmlFor: I,
|
|
1284
|
+
className: V(te.field, e),
|
|
1285
1285
|
"data-collapsible": o ? !0 : void 0,
|
|
1286
|
-
onBlurCapture:
|
|
1286
|
+
onBlurCapture: z,
|
|
1287
1287
|
children: [
|
|
1288
|
-
/* @__PURE__ */ a("span", { className:
|
|
1288
|
+
/* @__PURE__ */ a("span", { className: te.hiddenInput, "aria-hidden": "true", children: l + " " }),
|
|
1289
1289
|
/* @__PURE__ */ a(
|
|
1290
1290
|
ut,
|
|
1291
1291
|
{
|
|
1292
|
-
...
|
|
1293
|
-
id:
|
|
1294
|
-
"aria-label":
|
|
1292
|
+
...h,
|
|
1293
|
+
id: I,
|
|
1294
|
+
"aria-label": p && typeof f == "string" ? f : void 0,
|
|
1295
1295
|
inputSize: 5,
|
|
1296
1296
|
type: "search",
|
|
1297
1297
|
value: l,
|
|
1298
|
-
className:
|
|
1298
|
+
className: te.input,
|
|
1299
1299
|
"data-collapsible": o ? !0 : void 0,
|
|
1300
1300
|
autoCapitalize: "off",
|
|
1301
1301
|
autoComplete: "off",
|
|
1302
1302
|
minLength: b,
|
|
1303
|
-
onKeyDown:
|
|
1303
|
+
onKeyDown: A,
|
|
1304
1304
|
onBlur: E,
|
|
1305
1305
|
...i && {
|
|
1306
1306
|
role: "combobox",
|
|
1307
1307
|
"aria-autocomplete": "list",
|
|
1308
|
-
"aria-expanded": !!
|
|
1308
|
+
"aria-expanded": !!R,
|
|
1309
1309
|
"aria-haspopup": "listbox",
|
|
1310
|
-
"aria-controls":
|
|
1311
|
-
"aria-activedescendant":
|
|
1312
|
-
onFocus:
|
|
1310
|
+
"aria-controls": D,
|
|
1311
|
+
"aria-activedescendant": R ? C : void 0,
|
|
1312
|
+
onFocus: j
|
|
1313
1313
|
}
|
|
1314
1314
|
}
|
|
1315
1315
|
),
|
|
1316
|
-
n ? /* @__PURE__ */ a(pt, { "aria-hidden": !0, className:
|
|
1317
|
-
c && !!l && /* @__PURE__ */ a("span", { className:
|
|
1316
|
+
n ? /* @__PURE__ */ a(pt, { "aria-hidden": !0, className: te.icon }) : /* @__PURE__ */ a(Bt, { "aria-hidden": !0, className: te.icon }),
|
|
1317
|
+
c && !!l && /* @__PURE__ */ a("span", { className: te.clear, children: /* @__PURE__ */ a(
|
|
1318
1318
|
ve,
|
|
1319
1319
|
{
|
|
1320
|
-
id:
|
|
1320
|
+
id: d,
|
|
1321
1321
|
"data-testid": "clear-button",
|
|
1322
1322
|
size: "xs",
|
|
1323
1323
|
rounded: !0,
|
|
1324
1324
|
icon: !0,
|
|
1325
1325
|
variant: "tinted",
|
|
1326
|
-
className:
|
|
1326
|
+
className: te.clearButton,
|
|
1327
1327
|
onClick: () => {
|
|
1328
|
-
c?.(), document.getElementById(
|
|
1328
|
+
c?.(), document.getElementById(I)?.focus();
|
|
1329
1329
|
},
|
|
1330
|
-
"aria-label":
|
|
1330
|
+
"aria-label": y,
|
|
1331
1331
|
"data-action": "clear-input",
|
|
1332
1332
|
children: /* @__PURE__ */ a(Ae, {})
|
|
1333
1333
|
}
|
|
@@ -1335,23 +1335,23 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1335
1335
|
]
|
|
1336
1336
|
}
|
|
1337
1337
|
);
|
|
1338
|
-
return i ? /* @__PURE__ */
|
|
1339
|
-
|
|
1340
|
-
|
|
1338
|
+
return i ? /* @__PURE__ */ x("div", { className: te.fieldContainer, children: [
|
|
1339
|
+
S,
|
|
1340
|
+
R && /* @__PURE__ */ a("div", { className: te.autocomplete, "aria-hidden": !R, onMouseDown: $, children: /* @__PURE__ */ a(
|
|
1341
1341
|
et,
|
|
1342
1342
|
{
|
|
1343
1343
|
...i,
|
|
1344
|
-
id:
|
|
1345
|
-
items:
|
|
1344
|
+
id: D,
|
|
1345
|
+
items: M,
|
|
1346
1346
|
groups: i?.groups,
|
|
1347
1347
|
keyboardEvents: !0,
|
|
1348
1348
|
a11yMode: "combobox",
|
|
1349
|
-
open:
|
|
1349
|
+
open: R,
|
|
1350
1350
|
autoFocusList: !1,
|
|
1351
|
-
onActiveItemIdChange:
|
|
1351
|
+
onActiveItemIdChange: O
|
|
1352
1352
|
}
|
|
1353
1353
|
) })
|
|
1354
|
-
] }) :
|
|
1354
|
+
] }) : S;
|
|
1355
1355
|
}, Rn = "_byline_fzp7k_1", zn = "_avatar_fzp7k_7", Pn = "_avatarGroup_fzp7k_12", Mn = "_label_fzp7k_26", pe = {
|
|
1356
1356
|
byline: Rn,
|
|
1357
1357
|
avatar: zn,
|
|
@@ -1364,14 +1364,14 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1364
1364
|
avatar: t,
|
|
1365
1365
|
avatarGroup: r,
|
|
1366
1366
|
datetime: s,
|
|
1367
|
-
children:
|
|
1368
|
-
as:
|
|
1367
|
+
children: f,
|
|
1368
|
+
as: p,
|
|
1369
1369
|
...l
|
|
1370
1370
|
}) => {
|
|
1371
|
-
const c =
|
|
1372
|
-
return /* @__PURE__ */
|
|
1371
|
+
const c = p || "div", y = s ? "time" : "span";
|
|
1372
|
+
return /* @__PURE__ */ x(c, { ...l, className: pe.byline, "data-color": o, "data-size": n, children: [
|
|
1373
1373
|
(r || t) && /* @__PURE__ */ a(ue, { variant: "circle", className: pe.avatar, loading: e, children: r ? /* @__PURE__ */ a(be, { ...r, size: n, className: pe.avatarGroup }) : t && /* @__PURE__ */ a(je, { ...t, size: n, className: pe.avatar }) }),
|
|
1374
|
-
/* @__PURE__ */ a(
|
|
1374
|
+
/* @__PURE__ */ a(y, { "data-size": n, dateTime: s, className: pe.label, children: /* @__PURE__ */ a(ue, { loading: e, children: f }) })
|
|
1375
1375
|
] });
|
|
1376
1376
|
}, jn = "_dropdown_11cza_1", An = "_content_11cza_17", Dn = "_backdrop_11cza_47", Bn = "_header_11cza_76", Tn = "_footer_11cza_77", Ln = "_title_11cza_156", ce = {
|
|
1377
1377
|
dropdown: jn,
|
|
@@ -1403,140 +1403,140 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1403
1403
|
backdrop: t = !0,
|
|
1404
1404
|
placement: r = "bottom-left",
|
|
1405
1405
|
variant: s = "dropdown",
|
|
1406
|
-
title:
|
|
1407
|
-
closeLabel:
|
|
1406
|
+
title: f = "Title",
|
|
1407
|
+
closeLabel: p = "Close",
|
|
1408
1408
|
submitLabel: l,
|
|
1409
1409
|
trigger: c,
|
|
1410
|
-
children:
|
|
1410
|
+
children: y,
|
|
1411
1411
|
open: i,
|
|
1412
1412
|
onClose: b,
|
|
1413
|
-
color:
|
|
1414
|
-
onSubmit:
|
|
1415
|
-
activeDescendantId:
|
|
1416
|
-
useFixedPosition:
|
|
1417
|
-
expanded:
|
|
1413
|
+
color: h,
|
|
1414
|
+
onSubmit: _,
|
|
1415
|
+
activeDescendantId: P,
|
|
1416
|
+
useFixedPosition: v = !1,
|
|
1417
|
+
expanded: I = !1
|
|
1418
1418
|
}) => {
|
|
1419
|
-
const
|
|
1419
|
+
const D = Z(null), C = Z(null), O = Z(i);
|
|
1420
1420
|
W(() => {
|
|
1421
|
-
|
|
1421
|
+
O.current = i;
|
|
1422
1422
|
}, [i]);
|
|
1423
|
-
const [
|
|
1423
|
+
const [d, R] = oe({
|
|
1424
1424
|
yDir: r.includes("top") ? "top" : "bottom",
|
|
1425
1425
|
xDir: r.includes("right") ? "right" : "left",
|
|
1426
1426
|
maxHeight: 300
|
|
1427
|
-
}),
|
|
1428
|
-
if (i &&
|
|
1429
|
-
const
|
|
1430
|
-
|
|
1431
|
-
...
|
|
1432
|
-
yDir:
|
|
1427
|
+
}), M = qe(() => {
|
|
1428
|
+
if (i && D.current && C.current) {
|
|
1429
|
+
const z = D.current.getBoundingClientRect(), $ = C.current.getBoundingClientRect(), E = window.innerHeight, S = window.innerWidth, u = 16, m = E - z.bottom, N = z.top, L = S - z.right - $.width, F = m < 250 && N > m, H = F ? "top" : "bottom", q = (F ? N : m) - u, g = L < u ? "right" : "left";
|
|
1430
|
+
R((w) => ({
|
|
1431
|
+
...w,
|
|
1432
|
+
yDir: H,
|
|
1433
1433
|
maxHeight: q,
|
|
1434
1434
|
xDir: g,
|
|
1435
|
-
triggerRect:
|
|
1435
|
+
triggerRect: v ? z : void 0
|
|
1436
1436
|
}));
|
|
1437
1437
|
}
|
|
1438
|
-
}, [i,
|
|
1439
|
-
Ce(() => (
|
|
1440
|
-
window.removeEventListener("resize",
|
|
1441
|
-
}), [
|
|
1438
|
+
}, [i, v]);
|
|
1439
|
+
Ce(() => (M(), window.addEventListener("resize", M), v && window.addEventListener("scroll", M, !0), () => {
|
|
1440
|
+
window.removeEventListener("resize", M), v && window.removeEventListener("scroll", M, !0);
|
|
1441
|
+
}), [M, v]), W(() => {
|
|
1442
1442
|
if (!i) return;
|
|
1443
|
-
const
|
|
1444
|
-
const
|
|
1445
|
-
if (
|
|
1446
|
-
const E =
|
|
1443
|
+
const z = requestAnimationFrame(() => {
|
|
1444
|
+
const $ = C.current;
|
|
1445
|
+
if (!$) return;
|
|
1446
|
+
const E = $.querySelector(
|
|
1447
1447
|
'input[type="search"]:not([disabled]), input[role="searchbox"]:not([disabled]), input[data-dropdown-search]:not([disabled])'
|
|
1448
1448
|
);
|
|
1449
1449
|
if (E) {
|
|
1450
|
-
const
|
|
1450
|
+
const S = E.value.length;
|
|
1451
1451
|
E.focus({ preventScroll: !0 });
|
|
1452
1452
|
try {
|
|
1453
|
-
E.setSelectionRange(
|
|
1453
|
+
E.setSelectionRange(S, S);
|
|
1454
1454
|
} catch {
|
|
1455
1455
|
}
|
|
1456
1456
|
return;
|
|
1457
1457
|
}
|
|
1458
|
-
|
|
1458
|
+
$.focus?.({ preventScroll: !0 });
|
|
1459
1459
|
});
|
|
1460
|
-
return () => cancelAnimationFrame(
|
|
1460
|
+
return () => cancelAnimationFrame(z);
|
|
1461
1461
|
}, [i]), W(() => {
|
|
1462
|
-
const
|
|
1462
|
+
const z = (E) => {
|
|
1463
1463
|
E.key === "Escape" && (E.preventDefault(), b());
|
|
1464
|
-
},
|
|
1465
|
-
const
|
|
1466
|
-
!
|
|
1464
|
+
}, $ = (E) => {
|
|
1465
|
+
const S = E.target, u = D.current?.contains(S), m = C.current?.contains(S);
|
|
1466
|
+
!u && !m && b();
|
|
1467
1467
|
};
|
|
1468
|
-
return i && (document.addEventListener("mousedown",
|
|
1469
|
-
document.removeEventListener("mousedown",
|
|
1468
|
+
return i && (document.addEventListener("mousedown", $), document.addEventListener("keydown", z)), () => {
|
|
1469
|
+
document.removeEventListener("mousedown", $), document.removeEventListener("keydown", z);
|
|
1470
1470
|
};
|
|
1471
1471
|
}, [i, b]), W(() => {
|
|
1472
1472
|
if (!i) return;
|
|
1473
|
-
const
|
|
1474
|
-
if (
|
|
1475
|
-
const
|
|
1476
|
-
if (!
|
|
1473
|
+
const z = C.current;
|
|
1474
|
+
if (!z) return;
|
|
1475
|
+
const $ = (S) => {
|
|
1476
|
+
if (!O.current)
|
|
1477
1477
|
return;
|
|
1478
|
-
const
|
|
1479
|
-
|
|
1480
|
-
}, E = (
|
|
1481
|
-
if (
|
|
1482
|
-
const
|
|
1483
|
-
if (
|
|
1484
|
-
|
|
1478
|
+
const u = S.target;
|
|
1479
|
+
u && !z.contains(u) && Hn(z);
|
|
1480
|
+
}, E = (S) => {
|
|
1481
|
+
if (S.key !== "Tab") return;
|
|
1482
|
+
const u = nt(z);
|
|
1483
|
+
if (u.length === 0) {
|
|
1484
|
+
S.preventDefault(), z.focus?.({ preventScroll: !0 });
|
|
1485
1485
|
return;
|
|
1486
1486
|
}
|
|
1487
|
-
const
|
|
1488
|
-
|
|
1487
|
+
const m = u[0], N = u[u.length - 1], L = document.activeElement;
|
|
1488
|
+
S.shiftKey ? L === m && (S.preventDefault(), N.focus({ preventScroll: !0 })) : L === N && (S.preventDefault(), m.focus({ preventScroll: !0 }));
|
|
1489
1489
|
};
|
|
1490
|
-
return document.addEventListener("focusin",
|
|
1491
|
-
document.removeEventListener("focusin",
|
|
1490
|
+
return document.addEventListener("focusin", $), document.addEventListener("keydown", E), () => {
|
|
1491
|
+
document.removeEventListener("focusin", $), document.removeEventListener("keydown", E);
|
|
1492
1492
|
};
|
|
1493
1493
|
}, [i]);
|
|
1494
|
-
const
|
|
1494
|
+
const A = v && d.triggerRect ? {
|
|
1495
1495
|
position: "fixed",
|
|
1496
1496
|
zIndex: 1e3,
|
|
1497
1497
|
width: "max-content",
|
|
1498
|
-
maxHeight: `${
|
|
1498
|
+
maxHeight: `${d.maxHeight}px`,
|
|
1499
1499
|
overflowY: "auto",
|
|
1500
|
-
[
|
|
1501
|
-
[
|
|
1500
|
+
[d.xDir === "left" ? "left" : "right"]: d.xDir === "left" ? d.triggerRect.left : window.innerWidth - d.triggerRect.right,
|
|
1501
|
+
[d.yDir === "bottom" ? "top" : "bottom"]: d.yDir === "bottom" ? d.triggerRect.bottom + 8 : window.innerHeight - d.triggerRect.top + 8
|
|
1502
1502
|
} : {
|
|
1503
1503
|
position: "absolute",
|
|
1504
1504
|
zIndex: 50,
|
|
1505
1505
|
width: "max-content",
|
|
1506
|
-
maxHeight: `${
|
|
1506
|
+
maxHeight: `${d.maxHeight}px`,
|
|
1507
1507
|
overflowY: "auto",
|
|
1508
|
-
[
|
|
1509
|
-
[
|
|
1510
|
-
},
|
|
1508
|
+
[d.xDir]: 0,
|
|
1509
|
+
[d.yDir === "bottom" ? "top" : "bottom"]: "100%"
|
|
1510
|
+
}, j = /* @__PURE__ */ x(
|
|
1511
1511
|
"div",
|
|
1512
1512
|
{
|
|
1513
|
-
ref:
|
|
1513
|
+
ref: C,
|
|
1514
1514
|
className: V(ce.dropdown, n),
|
|
1515
|
-
style:
|
|
1515
|
+
style: A,
|
|
1516
1516
|
"aria-hidden": !i,
|
|
1517
1517
|
"data-variant": s,
|
|
1518
|
-
"data-color":
|
|
1519
|
-
"data-expanded":
|
|
1518
|
+
"data-color": h,
|
|
1519
|
+
"data-expanded": I,
|
|
1520
1520
|
"data-size": o,
|
|
1521
1521
|
tabIndex: -1,
|
|
1522
1522
|
role: "menu",
|
|
1523
1523
|
"aria-modal": s === "drawer-dropdown" ? !0 : void 0,
|
|
1524
|
-
"aria-activedescendant":
|
|
1524
|
+
"aria-activedescendant": P,
|
|
1525
1525
|
children: [
|
|
1526
|
-
/* @__PURE__ */
|
|
1527
|
-
/* @__PURE__ */ a("h2", { className: ce.title, children:
|
|
1528
|
-
/* @__PURE__ */ a(ve, { size: "sm", variant: "outline", onClick: b, "aria-label":
|
|
1526
|
+
/* @__PURE__ */ x("header", { className: ce.header, children: [
|
|
1527
|
+
/* @__PURE__ */ a("h2", { className: ce.title, children: f }),
|
|
1528
|
+
/* @__PURE__ */ a(ve, { size: "sm", variant: "outline", onClick: b, "aria-label": p, children: /* @__PURE__ */ a(Ae, {}) })
|
|
1529
1529
|
] }),
|
|
1530
|
-
/* @__PURE__ */ a("div", { className: ce.content, children:
|
|
1531
|
-
l && /* @__PURE__ */ a("footer", { className: ce.footer, children: /* @__PURE__ */ a(ve, { size: "lg", variant: "solid", onClick:
|
|
1530
|
+
/* @__PURE__ */ a("div", { className: ce.content, children: y }),
|
|
1531
|
+
l && /* @__PURE__ */ a("footer", { className: ce.footer, children: /* @__PURE__ */ a(ve, { size: "lg", variant: "solid", onClick: _ || b, rounded: !0, children: /* @__PURE__ */ a("span", { "data-size": "md", children: l }) }) })
|
|
1532
1532
|
]
|
|
1533
1533
|
}
|
|
1534
1534
|
);
|
|
1535
|
-
return /* @__PURE__ */
|
|
1535
|
+
return /* @__PURE__ */ x(xe, { children: [
|
|
1536
1536
|
t && /* @__PURE__ */ a("div", { className: ce.backdrop, "aria-hidden": !i }),
|
|
1537
|
-
/* @__PURE__ */
|
|
1537
|
+
/* @__PURE__ */ x("div", { id: e + "-root", ref: D, style: { position: "relative", display: "inline-block" }, children: [
|
|
1538
1538
|
c,
|
|
1539
|
-
|
|
1539
|
+
v ? lt(j, document.body) : j
|
|
1540
1540
|
] })
|
|
1541
1541
|
] });
|
|
1542
1542
|
}, qn = "_section_1v20z_1", Kn = "_header_1v20z_7", Vn = "_list_1v20z_13", _e = {
|
|
@@ -1544,26 +1544,26 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1544
1544
|
header: Kn,
|
|
1545
1545
|
list: Vn
|
|
1546
1546
|
}, Un = Oe(
|
|
1547
|
-
({ title: e, description: o, items: n, groups: t = {}, sortGroupBy: r, highlightWords: s, isLoading:
|
|
1548
|
-
const { menu:
|
|
1547
|
+
({ title: e, description: o, items: n, groups: t = {}, sortGroupBy: r, highlightWords: s, isLoading: f }) => {
|
|
1548
|
+
const { menu: p } = Me({
|
|
1549
1549
|
items: n,
|
|
1550
1550
|
groups: t,
|
|
1551
1551
|
groupByKey: "groupId",
|
|
1552
1552
|
keyboardEvents: !1,
|
|
1553
1553
|
sortGroupBy: r
|
|
1554
1554
|
});
|
|
1555
|
-
return /* @__PURE__ */
|
|
1556
|
-
e || o ? /* @__PURE__ */
|
|
1555
|
+
return /* @__PURE__ */ x("section", { className: _e.section, "aria-busy": f, children: [
|
|
1556
|
+
e || o ? /* @__PURE__ */ x("header", { className: _e.header, children: [
|
|
1557
1557
|
e && /* @__PURE__ */ a(me, { as: "h1", size: "lg", children: e }),
|
|
1558
1558
|
o && /* @__PURE__ */ a(Ke, { as: "p", size: "sm", variant: "subtle", className: _e.description, children: o })
|
|
1559
1559
|
] }) : null,
|
|
1560
|
-
|
|
1561
|
-
const
|
|
1562
|
-
return /* @__PURE__ */
|
|
1563
|
-
|
|
1560
|
+
p?.map((l, c) => {
|
|
1561
|
+
const y = l.props || {};
|
|
1562
|
+
return /* @__PURE__ */ x(He, { children: [
|
|
1563
|
+
y?.title && /* @__PURE__ */ a(me, { as: "h2", size: "lg", children: y.title }),
|
|
1564
1564
|
/* @__PURE__ */ a("ul", { className: _e.list, children: l?.items.map((i, b) => {
|
|
1565
|
-
const
|
|
1566
|
-
return /* @__PURE__ */ st(rt, { ...
|
|
1565
|
+
const h = i.props || {};
|
|
1566
|
+
return /* @__PURE__ */ st(rt, { ...h, highlightWords: s, key: "dialog-list-item" + b });
|
|
1567
1567
|
}) })
|
|
1568
1568
|
] }, "dialog-list-item" + c);
|
|
1569
1569
|
})
|
|
@@ -1571,7 +1571,7 @@ const Te = ({ className: e, loading: o, icon: n, children: t }) => {
|
|
|
1571
1571
|
}
|
|
1572
1572
|
);
|
|
1573
1573
|
Un.displayName = "DialogList";
|
|
1574
|
-
const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn = "_summary_1cw3x_102", Jn = "_controls_1cw3x_116", Zn = "_footer_1cw3x_123", er = "_seenBy_1cw3x_128", tr = "_link_1cw3x_138", nr = "_title_1cw3x_143",
|
|
1574
|
+
const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn = "_summary_1cw3x_102", Jn = "_controls_1cw3x_116", Zn = "_footer_1cw3x_123", er = "_seenBy_1cw3x_128", tr = "_link_1cw3x_138", nr = "_title_1cw3x_143", J = {
|
|
1575
1575
|
item: Wn,
|
|
1576
1576
|
border: Yn,
|
|
1577
1577
|
header: Qn,
|
|
@@ -1589,73 +1589,74 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
|
|
|
1589
1589
|
color: t,
|
|
1590
1590
|
loading: r,
|
|
1591
1591
|
controls: s,
|
|
1592
|
-
selectable:
|
|
1593
|
-
selected:
|
|
1592
|
+
selectable: f,
|
|
1593
|
+
selected: p,
|
|
1594
1594
|
status: l,
|
|
1595
1595
|
extendedStatusLabel: c,
|
|
1596
|
-
sender:
|
|
1596
|
+
sender: y,
|
|
1597
1597
|
recipient: i,
|
|
1598
1598
|
recipientLabel: b = "to",
|
|
1599
|
-
grouped:
|
|
1600
|
-
updatedAt:
|
|
1601
|
-
updatedAtLabel:
|
|
1602
|
-
archived:
|
|
1603
|
-
archivedAt:
|
|
1604
|
-
archivedAtLabel:
|
|
1605
|
-
trashed:
|
|
1606
|
-
trashedAt:
|
|
1607
|
-
trashedAtLabel:
|
|
1608
|
-
badge:
|
|
1609
|
-
dueAt:
|
|
1610
|
-
|
|
1611
|
-
|
|
1599
|
+
grouped: h = !1,
|
|
1600
|
+
updatedAt: _,
|
|
1601
|
+
updatedAtLabel: P,
|
|
1602
|
+
archived: v,
|
|
1603
|
+
archivedAt: I,
|
|
1604
|
+
archivedAtLabel: D,
|
|
1605
|
+
trashed: C,
|
|
1606
|
+
trashedAt: O,
|
|
1607
|
+
trashedAtLabel: d,
|
|
1608
|
+
badge: R,
|
|
1609
|
+
dueAt: M,
|
|
1610
|
+
dueAtExpired: A,
|
|
1611
|
+
dueAtLabel: j,
|
|
1612
|
+
unread: z,
|
|
1612
1613
|
unreadLabel: $ = "Ulest",
|
|
1613
|
-
unreadItems:
|
|
1614
|
-
unreadItemsLabel:
|
|
1615
|
-
seenByLog:
|
|
1614
|
+
unreadItems: E,
|
|
1615
|
+
unreadItemsLabel: S = "Ulest innhold",
|
|
1616
|
+
seenByLog: u,
|
|
1616
1617
|
draftsLabel: m,
|
|
1617
|
-
sentCount:
|
|
1618
|
-
receivedCount:
|
|
1618
|
+
sentCount: N,
|
|
1619
|
+
receivedCount: L,
|
|
1619
1620
|
attachmentsCount: F,
|
|
1620
1621
|
attachmentsLabel: H,
|
|
1621
|
-
tooltips:
|
|
1622
|
-
title:
|
|
1623
|
-
description:
|
|
1624
|
-
summary:
|
|
1625
|
-
highlightWords:
|
|
1626
|
-
id:
|
|
1627
|
-
...
|
|
1622
|
+
tooltips: q = {},
|
|
1623
|
+
title: ee,
|
|
1624
|
+
description: g,
|
|
1625
|
+
summary: w,
|
|
1626
|
+
highlightWords: B,
|
|
1627
|
+
id: U,
|
|
1628
|
+
...T
|
|
1628
1629
|
}) => {
|
|
1629
|
-
const
|
|
1630
|
-
return /* @__PURE__ */
|
|
1630
|
+
const X = f ? "select" : n;
|
|
1631
|
+
return /* @__PURE__ */ x(
|
|
1631
1632
|
wt,
|
|
1632
1633
|
{
|
|
1633
1634
|
as: "li",
|
|
1634
|
-
id:
|
|
1635
|
-
className:
|
|
1635
|
+
id: U,
|
|
1636
|
+
className: J.item,
|
|
1636
1637
|
size: o,
|
|
1637
1638
|
color: t,
|
|
1638
|
-
variant:
|
|
1639
|
-
"data-unread":
|
|
1640
|
-
"data-selected":
|
|
1641
|
-
"data-trashed":
|
|
1642
|
-
"data-archived":
|
|
1639
|
+
variant: X,
|
|
1640
|
+
"data-unread": z ? "true" : "false",
|
|
1641
|
+
"data-selected": p,
|
|
1642
|
+
"data-trashed": C,
|
|
1643
|
+
"data-archived": v,
|
|
1643
1644
|
"data-loading": r,
|
|
1644
1645
|
children: [
|
|
1645
|
-
/* @__PURE__ */ a(xt, { ...
|
|
1646
|
-
/* @__PURE__ */
|
|
1647
|
-
/* @__PURE__ */
|
|
1646
|
+
/* @__PURE__ */ a(xt, { ...T, className: J.link, as: e, children: /* @__PURE__ */ x("div", { className: J.border, children: [
|
|
1647
|
+
/* @__PURE__ */ x("header", { className: J.header, children: [
|
|
1648
|
+
/* @__PURE__ */ x(
|
|
1648
1649
|
me,
|
|
1649
1650
|
{
|
|
1650
1651
|
as: "h2",
|
|
1651
|
-
highlightWords:
|
|
1652
|
-
weight:
|
|
1652
|
+
highlightWords: B,
|
|
1653
|
+
weight: z ? "bold" : "normal",
|
|
1653
1654
|
loading: r,
|
|
1654
1655
|
maxRows: 2,
|
|
1655
|
-
className:
|
|
1656
|
+
className: J.title,
|
|
1656
1657
|
children: [
|
|
1657
|
-
|
|
1658
|
-
|
|
1658
|
+
ee,
|
|
1659
|
+
z && /* @__PURE__ */ a(re, { label: $, variant: "tinted", style: { marginLeft: "0.75em", marginTop: "-2px" } }) || E && /* @__PURE__ */ a(re, { label: S, style: { marginLeft: "0.75em", marginTop: "-2px" } })
|
|
1659
1660
|
]
|
|
1660
1661
|
}
|
|
1661
1662
|
),
|
|
@@ -1664,52 +1665,53 @@ const Wn = "_item_1cw3x_3", Yn = "_border_1cw3x_75", Qn = "_header_1cw3x_86", Xn
|
|
|
1664
1665
|
{
|
|
1665
1666
|
size: "xs",
|
|
1666
1667
|
loading: r,
|
|
1667
|
-
sender:
|
|
1668
|
+
sender: y,
|
|
1668
1669
|
recipient: i,
|
|
1669
1670
|
recipientLabel: b,
|
|
1670
|
-
grouped:
|
|
1671
|
+
grouped: h
|
|
1671
1672
|
}
|
|
1672
1673
|
),
|
|
1673
|
-
|
|
1674
|
+
w && /* @__PURE__ */ a(
|
|
1674
1675
|
me,
|
|
1675
1676
|
{
|
|
1676
1677
|
as: "h3",
|
|
1677
|
-
highlightWords:
|
|
1678
|
+
highlightWords: B,
|
|
1678
1679
|
weight: "normal",
|
|
1679
|
-
className:
|
|
1680
|
+
className: J.summary,
|
|
1680
1681
|
loading: r,
|
|
1681
1682
|
maxRows: 2,
|
|
1682
|
-
children:
|
|
1683
|
+
children: w
|
|
1683
1684
|
}
|
|
1684
1685
|
)
|
|
1685
1686
|
] }),
|
|
1686
1687
|
/* @__PURE__ */ a(
|
|
1687
1688
|
rr,
|
|
1688
1689
|
{
|
|
1689
|
-
className:
|
|
1690
|
+
className: J.footer,
|
|
1690
1691
|
loading: r,
|
|
1691
|
-
badge:
|
|
1692
|
+
badge: R,
|
|
1692
1693
|
status: l,
|
|
1693
1694
|
extendedStatusLabel: c,
|
|
1694
1695
|
draftsLabel: m,
|
|
1695
|
-
sentCount:
|
|
1696
|
-
receivedCount:
|
|
1697
|
-
updatedAt:
|
|
1698
|
-
updatedAtLabel:
|
|
1699
|
-
archivedAt:
|
|
1700
|
-
archivedAtLabel:
|
|
1701
|
-
trashedAt:
|
|
1702
|
-
trashedAtLabel:
|
|
1703
|
-
dueAt:
|
|
1704
|
-
|
|
1696
|
+
sentCount: N,
|
|
1697
|
+
receivedCount: L,
|
|
1698
|
+
updatedAt: _,
|
|
1699
|
+
updatedAtLabel: P,
|
|
1700
|
+
archivedAt: I,
|
|
1701
|
+
archivedAtLabel: D,
|
|
1702
|
+
trashedAt: O,
|
|
1703
|
+
trashedAtLabel: d,
|
|
1704
|
+
dueAt: M,
|
|
1705
|
+
dueAtExpired: A,
|
|
1706
|
+
dueAtLabel: j,
|
|
1705
1707
|
attachmentsCount: F,
|
|
1706
1708
|
attachmentsLabel: H,
|
|
1707
|
-
tooltips:
|
|
1709
|
+
tooltips: q
|
|
1708
1710
|
}
|
|
1709
1711
|
),
|
|
1710
|
-
|
|
1712
|
+
u && q?.seenBy ? /* @__PURE__ */ a($e, { placement: "bottom", content: q?.seenBy, children: /* @__PURE__ */ a("span", { className: J.seenBy, children: /* @__PURE__ */ a(be, { items: u.items }) }) }) : u && /* @__PURE__ */ a(be, { items: u.items, className: J.seenBy })
|
|
1711
1713
|
] }) }),
|
|
1712
|
-
/* @__PURE__ */ a(Re, { className:
|
|
1714
|
+
/* @__PURE__ */ a(Re, { className: J.controls, children: s })
|
|
1713
1715
|
]
|
|
1714
1716
|
}
|
|
1715
1717
|
);
|
|
@@ -1723,81 +1725,82 @@ const rr = ({
|
|
|
1723
1725
|
sender: t,
|
|
1724
1726
|
updatedAt: r,
|
|
1725
1727
|
updatedAtLabel: s,
|
|
1726
|
-
dueAt:
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1728
|
+
dueAt: f,
|
|
1729
|
+
dueAtExpired: p,
|
|
1730
|
+
dueAtLabel: l,
|
|
1731
|
+
archivedAt: c,
|
|
1732
|
+
archivedAtLabel: y,
|
|
1733
|
+
trashedAt: i,
|
|
1734
|
+
trashedAtLabel: b,
|
|
1735
|
+
draftsLabel: h,
|
|
1736
|
+
sentCount: _ = 0,
|
|
1737
|
+
receivedCount: P = 0,
|
|
1738
|
+
attachmentsCount: v = 0,
|
|
1739
|
+
attachmentsLabel: I,
|
|
1740
|
+
transmissionsLabel: D,
|
|
1741
|
+
activityLog: C,
|
|
1742
|
+
extendedStatusLabel: O,
|
|
1743
|
+
tooltips: d = {}
|
|
1744
|
+
}) => /* @__PURE__ */ x(It, { className: e, size: "xs", children: [
|
|
1745
|
+
n && /* @__PURE__ */ a(mr, { tooltip: d.status, loading: o, ...n }),
|
|
1746
|
+
O && /* @__PURE__ */ a(re, { tooltip: d.extendedStatus, variant: "outline", children: O }),
|
|
1747
|
+
h && /* @__PURE__ */ a(re, { tooltip: d.drafts, variant: "dotted", children: h }),
|
|
1748
|
+
r && /* @__PURE__ */ x(ne, { tooltip: d.updatedAt, loading: o, datetime: r, size: "xs", children: [
|
|
1746
1749
|
/* @__PURE__ */ a("strong", { children: t && t.name + ", " }),
|
|
1747
1750
|
s
|
|
1748
1751
|
] }),
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1752
|
+
v > 0 && /* @__PURE__ */ a(ne, { tooltip: d.attachments, loading: o, size: "xs", icon: gt, children: I || v }),
|
|
1753
|
+
D && /* @__PURE__ */ a(ne, { tooltip: d.transmissions, loading: o, size: "xs", icon: At, children: D }),
|
|
1754
|
+
_ > 0 && /* @__PURE__ */ a(ne, { tooltip: d.sent, size: "xs", icon: Qe, children: _ }),
|
|
1755
|
+
P > 0 && /* @__PURE__ */ a(ne, { tooltip: d.received, size: "xs", icon: Et, children: P }),
|
|
1756
|
+
f && l && /* @__PURE__ */ a(
|
|
1757
|
+
ne,
|
|
1755
1758
|
{
|
|
1756
1759
|
variant: "tinted",
|
|
1757
|
-
color: "warning",
|
|
1758
|
-
tooltip:
|
|
1760
|
+
color: p ? "danger" : "warning",
|
|
1761
|
+
tooltip: d.dueAt,
|
|
1759
1762
|
loading: o,
|
|
1760
|
-
datetime:
|
|
1763
|
+
datetime: f,
|
|
1761
1764
|
size: "xs",
|
|
1762
1765
|
icon: yt,
|
|
1763
|
-
children:
|
|
1766
|
+
children: l
|
|
1764
1767
|
}
|
|
1765
1768
|
),
|
|
1766
|
-
|
|
1767
|
-
|
|
1769
|
+
b && /* @__PURE__ */ a(
|
|
1770
|
+
ne,
|
|
1768
1771
|
{
|
|
1769
1772
|
variant: "tinted",
|
|
1770
1773
|
color: "neutral",
|
|
1771
|
-
tooltip:
|
|
1774
|
+
tooltip: d.trashedAt,
|
|
1772
1775
|
loading: o,
|
|
1773
|
-
datetime:
|
|
1776
|
+
datetime: i,
|
|
1774
1777
|
size: "xs",
|
|
1775
1778
|
icon: Ht,
|
|
1776
|
-
children:
|
|
1779
|
+
children: b
|
|
1777
1780
|
}
|
|
1778
|
-
) ||
|
|
1779
|
-
|
|
1781
|
+
) || y && /* @__PURE__ */ a(
|
|
1782
|
+
ne,
|
|
1780
1783
|
{
|
|
1781
1784
|
variant: "tinted",
|
|
1782
1785
|
color: "neutral",
|
|
1783
|
-
tooltip:
|
|
1786
|
+
tooltip: d.archivedAt,
|
|
1784
1787
|
loading: o,
|
|
1785
|
-
datetime:
|
|
1788
|
+
datetime: c,
|
|
1786
1789
|
size: "xs",
|
|
1787
1790
|
icon: kt,
|
|
1788
|
-
children:
|
|
1791
|
+
children: y
|
|
1789
1792
|
}
|
|
1790
1793
|
),
|
|
1791
|
-
|
|
1792
|
-
|
|
1794
|
+
C && /* @__PURE__ */ a(
|
|
1795
|
+
ne,
|
|
1793
1796
|
{
|
|
1794
|
-
tooltip:
|
|
1797
|
+
tooltip: d.activityLog,
|
|
1795
1798
|
loading: o,
|
|
1796
1799
|
size: "xs",
|
|
1797
1800
|
icon: $t,
|
|
1798
|
-
as:
|
|
1799
|
-
onClick:
|
|
1800
|
-
children:
|
|
1801
|
+
as: C?.onClick ? "button" : "span",
|
|
1802
|
+
onClick: C?.onClick,
|
|
1803
|
+
children: C?.label || "Activity log"
|
|
1801
1804
|
}
|
|
1802
1805
|
)
|
|
1803
1806
|
] }), or = ({
|
|
@@ -1807,7 +1810,7 @@ const rr = ({
|
|
|
1807
1810
|
grouped: t = !1,
|
|
1808
1811
|
loading: r,
|
|
1809
1812
|
size: s = "xs"
|
|
1810
|
-
}) => !e && !o ? null : /* @__PURE__ */
|
|
1813
|
+
}) => !e && !o ? null : /* @__PURE__ */ x($n, { loading: r, size: s, avatar: e, avatarGroup: !r && t && e && o ? {
|
|
1811
1814
|
items: [o, e]
|
|
1812
1815
|
} : void 0, children: [
|
|
1813
1816
|
/* @__PURE__ */ a("strong", { children: e?.name }),
|
|
@@ -1821,38 +1824,38 @@ const rr = ({
|
|
|
1821
1824
|
function lr(e) {
|
|
1822
1825
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null || Ge(e);
|
|
1823
1826
|
}
|
|
1824
|
-
const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "number" ? !1 : /* @__PURE__ */
|
|
1827
|
+
const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "number" ? !1 : /* @__PURE__ */ x("span", { className: de.media, "data-size": e, children: [
|
|
1825
1828
|
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 }) || lr(o) && o || /* @__PURE__ */ a(se, { svgElement: o, className: de.icon }),
|
|
1826
1829
|
n && /* @__PURE__ */ a(Ot, { value: n, className: de.icon })
|
|
1827
1830
|
] }), cr = "_item_cqtms_1", dr = "_label_cqtms_54", we = {
|
|
1828
1831
|
item: cr,
|
|
1829
1832
|
label: dr
|
|
1830
|
-
},
|
|
1833
|
+
}, ne = ({
|
|
1831
1834
|
as: e,
|
|
1832
1835
|
loading: o,
|
|
1833
1836
|
className: n,
|
|
1834
1837
|
reverse: t,
|
|
1835
1838
|
size: r = "xs",
|
|
1836
1839
|
variant: s,
|
|
1837
|
-
color:
|
|
1838
|
-
icon:
|
|
1840
|
+
color: f,
|
|
1841
|
+
icon: p,
|
|
1839
1842
|
children: l,
|
|
1840
1843
|
datetime: c,
|
|
1841
|
-
tooltip:
|
|
1844
|
+
tooltip: y,
|
|
1842
1845
|
...i
|
|
1843
1846
|
}) => {
|
|
1844
1847
|
const b = e || (c ? "time" : "span");
|
|
1845
|
-
return
|
|
1848
|
+
return y ? /* @__PURE__ */ a($e, { content: y, placement: "bottom", children: /* @__PURE__ */ a(
|
|
1846
1849
|
b,
|
|
1847
1850
|
{
|
|
1848
1851
|
"data-size": r,
|
|
1849
|
-
"data-color":
|
|
1852
|
+
"data-color": f,
|
|
1850
1853
|
"data-variant": s,
|
|
1851
1854
|
dateTime: c,
|
|
1852
1855
|
className: V(we.item, n),
|
|
1853
1856
|
...i,
|
|
1854
|
-
children: /* @__PURE__ */
|
|
1855
|
-
!o &&
|
|
1857
|
+
children: /* @__PURE__ */ x(ue, { loading: o, children: [
|
|
1858
|
+
!o && p && /* @__PURE__ */ a(Fe, { size: r, icon: p }),
|
|
1856
1859
|
/* @__PURE__ */ a("span", { className: we.label, children: l })
|
|
1857
1860
|
] })
|
|
1858
1861
|
}
|
|
@@ -1860,13 +1863,13 @@ const Fe = ({ size: e = "xs", icon: o, progress: n }) => !o && typeof n != "numb
|
|
|
1860
1863
|
b,
|
|
1861
1864
|
{
|
|
1862
1865
|
"data-size": r,
|
|
1863
|
-
"data-color":
|
|
1866
|
+
"data-color": f,
|
|
1864
1867
|
"data-variant": s,
|
|
1865
1868
|
dateTime: c,
|
|
1866
1869
|
className: V(we.item, n),
|
|
1867
1870
|
...i,
|
|
1868
|
-
children: /* @__PURE__ */
|
|
1869
|
-
!o &&
|
|
1871
|
+
children: /* @__PURE__ */ x(ue, { loading: o, children: [
|
|
1872
|
+
!o && p && /* @__PURE__ */ a(Fe, { size: r, icon: p }),
|
|
1870
1873
|
/* @__PURE__ */ a("span", { className: we.label, children: l })
|
|
1871
1874
|
] })
|
|
1872
1875
|
}
|
|
@@ -1878,13 +1881,13 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
|
|
|
1878
1881
|
return null;
|
|
1879
1882
|
switch (o) {
|
|
1880
1883
|
case "draft":
|
|
1881
|
-
return /* @__PURE__ */ a(
|
|
1884
|
+
return /* @__PURE__ */ a(re, { tooltip: t, variant: "dotted", children: n || o });
|
|
1882
1885
|
case "requires-attention":
|
|
1883
|
-
return /* @__PURE__ */ a(
|
|
1886
|
+
return /* @__PURE__ */ a(re, { tooltip: t, variant: "strong", children: n || o });
|
|
1884
1887
|
case "not-applicable":
|
|
1885
1888
|
return null;
|
|
1886
1889
|
default:
|
|
1887
|
-
return /* @__PURE__ */ a(
|
|
1890
|
+
return /* @__PURE__ */ a(re, { tooltip: t, variant: "outline", children: n || o });
|
|
1888
1891
|
}
|
|
1889
1892
|
}, fr = "_menu_16mue_4", pr = "_button_16mue_12", hr = "_label_16mue_16", he = {
|
|
1890
1893
|
menu: fr,
|
|
@@ -1898,33 +1901,33 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
|
|
|
1898
1901
|
title: t = "Title",
|
|
1899
1902
|
items: r = [],
|
|
1900
1903
|
dropdownSize: s = "sm",
|
|
1901
|
-
id:
|
|
1902
|
-
onSelectId:
|
|
1904
|
+
id: f = "toolbar-menu",
|
|
1905
|
+
onSelectId: p,
|
|
1903
1906
|
...l
|
|
1904
1907
|
}) => {
|
|
1905
|
-
const c = _t({ id:
|
|
1906
|
-
(
|
|
1907
|
-
|
|
1908
|
+
const c = _t({ id: f, returnFocusOnClose: !0 }), y = l.searchable ? "combobox" : "menu", i = qe(
|
|
1909
|
+
(h) => {
|
|
1910
|
+
p?.(h?.id ?? ""), h?.role !== "checkbox" && c.setOpen(!1);
|
|
1908
1911
|
},
|
|
1909
|
-
[
|
|
1912
|
+
[p, c]
|
|
1910
1913
|
), b = ie(
|
|
1911
|
-
() => r.map((
|
|
1912
|
-
...
|
|
1913
|
-
onClick: () => i(
|
|
1914
|
+
() => r.map((h) => ({
|
|
1915
|
+
...h,
|
|
1916
|
+
onClick: () => i(h)
|
|
1914
1917
|
})),
|
|
1915
1918
|
[r, i]
|
|
1916
1919
|
);
|
|
1917
|
-
return e ? /* @__PURE__ */
|
|
1920
|
+
return e ? /* @__PURE__ */ x(ve, { className: he.button, variant: n, disabled: !0, children: [
|
|
1918
1921
|
/* @__PURE__ */ a("span", { className: he.label, children: o }),
|
|
1919
1922
|
/* @__PURE__ */ a(Be, { "aria-hidden": "true", focusable: "false" })
|
|
1920
1923
|
] }) : /* @__PURE__ */ a("span", { className: he.menu, children: /* @__PURE__ */ a(
|
|
1921
1924
|
Gn,
|
|
1922
1925
|
{
|
|
1923
|
-
id:
|
|
1926
|
+
id: f,
|
|
1924
1927
|
variant: "drawer-dropdown",
|
|
1925
1928
|
title: t,
|
|
1926
1929
|
size: s,
|
|
1927
|
-
trigger: /* @__PURE__ */
|
|
1930
|
+
trigger: /* @__PURE__ */ x(
|
|
1928
1931
|
ve,
|
|
1929
1932
|
{
|
|
1930
1933
|
className: he.button,
|
|
@@ -1949,10 +1952,10 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
|
|
|
1949
1952
|
...l,
|
|
1950
1953
|
items: b,
|
|
1951
1954
|
keyboardEvents: c.open,
|
|
1952
|
-
a11yMode:
|
|
1955
|
+
a11yMode: y,
|
|
1953
1956
|
open: c.open,
|
|
1954
1957
|
scrollToTopOnOpen: l.virtualized,
|
|
1955
|
-
...
|
|
1958
|
+
...y === "combobox" ? { id: c.menuId } : c.menuA11yProps
|
|
1956
1959
|
}
|
|
1957
1960
|
)
|
|
1958
1961
|
}
|
|
@@ -1966,14 +1969,14 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
|
|
|
1966
1969
|
name: t,
|
|
1967
1970
|
placeholder: r = "Search",
|
|
1968
1971
|
loading: s,
|
|
1969
|
-
collapsible:
|
|
1970
|
-
clearButtonAltText:
|
|
1972
|
+
collapsible: f,
|
|
1973
|
+
clearButtonAltText: p = "Clear search",
|
|
1971
1974
|
onChange: l,
|
|
1972
1975
|
onClear: c,
|
|
1973
|
-
onKeyDown:
|
|
1976
|
+
onKeyDown: y,
|
|
1974
1977
|
menu: i,
|
|
1975
1978
|
minLength: b,
|
|
1976
|
-
disabled:
|
|
1979
|
+
disabled: h
|
|
1977
1980
|
}) => /* @__PURE__ */ a(
|
|
1978
1981
|
Pe,
|
|
1979
1982
|
{
|
|
@@ -1983,23 +1986,23 @@ const mr = ({ loading: e, value: o = "not-applicable", label: n, tooltip: t }) =
|
|
|
1983
1986
|
value: n,
|
|
1984
1987
|
name: t,
|
|
1985
1988
|
placeholder: r,
|
|
1986
|
-
clearButtonAltText:
|
|
1989
|
+
clearButtonAltText: p,
|
|
1987
1990
|
onChange: l,
|
|
1988
1991
|
onClear: c,
|
|
1989
|
-
onKeyDown:
|
|
1990
|
-
collapsible:
|
|
1992
|
+
onKeyDown: y,
|
|
1993
|
+
collapsible: f,
|
|
1991
1994
|
autoComplete: "off",
|
|
1992
1995
|
autoCapitalize: "off",
|
|
1993
1996
|
type: "search",
|
|
1994
1997
|
minLength: b,
|
|
1995
1998
|
loading: s,
|
|
1996
1999
|
menu: i,
|
|
1997
|
-
disabled:
|
|
2000
|
+
disabled: h
|
|
1998
2001
|
}
|
|
1999
2002
|
)
|
|
2000
2003
|
);
|
|
2001
2004
|
export {
|
|
2002
|
-
|
|
2005
|
+
re as B,
|
|
2003
2006
|
or as D,
|
|
2004
2007
|
Qt as F,
|
|
2005
2008
|
me as H,
|
|
@@ -2021,7 +2024,7 @@ export {
|
|
|
2021
2024
|
tt as j,
|
|
2022
2025
|
Je as k,
|
|
2023
2026
|
Xe as l,
|
|
2024
|
-
|
|
2027
|
+
ne as m,
|
|
2025
2028
|
Fe as n,
|
|
2026
2029
|
Qe as o,
|
|
2027
2030
|
zt as p,
|