@altinn/altinn-components 0.54.2 → 0.55.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/{PersonCircle-DlX_3kRO.js → ChevronUpDown-DqGsU4MC.js} +5 -5
- package/dist/Eye-BrbjRZJp.js +24 -0
- package/dist/InboxFill-vGck_zM_.js +81 -0
- package/dist/InformationSquare-D3WAxfVw.js +24 -0
- package/dist/Trash-DBcymOP9.js +81 -0
- package/dist/assets/AccountMenuButton.css +1 -1
- package/dist/assets/AccountSelector.css +1 -1
- package/dist/assets/AutocompleteBase.css +1 -1
- package/dist/assets/ButtonGroup.css +1 -1
- package/dist/assets/ButtonIcon.css +1 -1
- package/dist/assets/DashboardCard.css +1 -0
- package/dist/assets/DashboardHeader.css +1 -0
- package/dist/assets/DialogListItem.css +1 -1
- package/dist/assets/Dropdown.css +1 -0
- package/dist/assets/DropdownBase.css +1 -1
- package/dist/assets/GlobalHeader.css +1 -1
- package/dist/assets/ItemControls.css +1 -0
- package/dist/assets/ItemLabel.css +1 -0
- package/dist/assets/ItemMedia.css +1 -0
- package/dist/assets/MenuItem.css +1 -1
- package/dist/assets/MenuListDivider.css +1 -0
- package/dist/assets/MenuListHeading.css +1 -0
- package/dist/assets/MenuListItem.css +1 -0
- package/dist/assets/MenuListSearch.css +1 -0
- package/dist/assets/MetaItemIcon.css +1 -1
- package/dist/assets/SearchField.css +1 -1
- package/dist/assets/SeenByLogButton.css +1 -0
- package/dist/assets/Switch.css +1 -0
- package/dist/assets/TabMenu.css +1 -0
- package/dist/assets/Tooltip.css +1 -0
- package/dist/assets/menuList.css +1 -0
- package/dist/components/Account/AccountList.js +1 -1
- package/dist/components/Account/AccountListVirtual.js +4 -4
- package/dist/components/Account/AccountMenu.js +14 -11
- package/dist/components/Account/AccountMenuButton.js +58 -56
- package/dist/components/Attachment/AttachmentLink.js +47 -41
- package/dist/components/Avatar/Avatar.js +11 -12
- package/dist/components/Avatar/AvatarGroup.js +38 -28
- package/dist/components/Banner/Banner.js +20 -38
- package/dist/components/Button/ButtonGroup.js +28 -12
- package/dist/components/Button/ButtonIcon.js +15 -15
- package/dist/components/Button/FloatingActionButton.js +22 -19
- package/dist/components/Byline/Byline.js +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +73 -67
- package/dist/components/Dashboard/DashboardCard.js +24 -21
- package/dist/components/Dashboard/DashboardHeader.js +16 -14
- package/dist/components/Dashboard/index.js +2 -4
- package/dist/components/Datepicker/Datepicker.js +16 -14
- package/dist/components/Datepicker/DatepickerHeader.js +13 -13
- package/dist/components/Dialog/DialogActions.js +9 -9
- package/dist/components/Dialog/DialogAttachments.js +1 -1
- package/dist/components/Dialog/DialogListItem.js +113 -112
- package/dist/components/Dialog/DialogMetadata.js +83 -154
- package/dist/components/Dialog/DialogSeenBy.js +24 -41
- package/dist/components/Dialog/DialogTabs.js +4 -4
- package/dist/components/Dialog/SeenByLog.js +7 -7
- package/dist/components/Dialog/SeenByLogButton.js +12 -6
- package/dist/components/Dropdown/DrawerOrDropdown.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +160 -0
- package/dist/components/Dropdown/DropdownBase.js +12 -12
- package/dist/components/Dropdown/FloatingDropdown.js +119 -74
- package/dist/components/Dropdown/index.js +18 -16
- package/dist/components/DsComponents/index.js +2 -2
- package/dist/components/Forms/SearchField.js +44 -29
- package/dist/components/Forms/Switch.js +10 -8
- package/dist/components/GlobalHeader/AccountSelector.js +55 -55
- package/dist/components/GlobalHeader/GlobalHeader.js +55 -54
- package/dist/components/GlobalHeader/GlobalSearch.js +1 -1
- package/dist/components/GlobalHeader/GlobalSearchButton.js +1 -0
- package/dist/components/GlobalMenu/BackButton.js +1 -1
- package/dist/components/GlobalMenu/GlobalMenu.js +52 -43
- package/dist/components/GlobalMenu/GlobalMenuButton.js +15 -14
- package/dist/components/GlobalMenu/LocaleSwitcher.js +30 -24
- package/dist/components/GlobalMenu_old/BackButton.js +1 -1
- package/dist/components/GlobalMenu_old/CurrentAccount.js +8 -9
- package/dist/components/GlobalMenu_old/EndUserLabel.js +29 -10
- package/dist/components/GlobalMenu_old/GlobalMenu.js +15 -8
- package/dist/components/GlobalMenu_old/GlobalMenuButton.js +1 -1
- package/dist/components/Header/Header.js +6 -6
- package/dist/components/Header/HeaderBase.js +1 -1
- package/dist/components/Header/LocaleSwitcher.js +10 -10
- package/dist/components/Icon/Icon.js +19 -20
- package/dist/components/Icon/ProgressIcon.js +1 -0
- package/dist/components/Icon/index.js +4 -6
- package/dist/components/Item/ItemControls.js +8 -0
- package/dist/components/Item/ItemLabel.js +34 -0
- package/dist/components/Item/ItemMedia.js +33 -0
- package/dist/components/Item/index.js +8 -0
- package/dist/components/Layout/Layout.js +4 -4
- package/dist/components/Menu/Menu.js +67 -45
- package/dist/components/Menu/MenuItem.js +192 -66
- package/dist/components/Menu/MenuItems.js +154 -71
- package/dist/components/Menu/MenuList.js +39 -0
- package/dist/components/Menu/MenuListDivider.js +8 -0
- package/dist/components/Menu/MenuListGroup.js +7 -0
- package/dist/components/Menu/MenuListHeading.js +7 -0
- package/dist/components/Menu/MenuListItem.js +34 -0
- package/dist/components/Menu/MenuListSearch.js +83 -0
- package/dist/components/Menu/MenuOption.js +4 -87
- package/dist/components/Menu/TabMenu.js +15 -0
- package/dist/components/Menu/VirtualizedMenuItems.js +227 -0
- package/dist/components/Menu/aria.js +9 -0
- package/dist/components/Menu/example.data.js +373 -0
- package/dist/components/Menu/example.hooks.js +75 -0
- package/dist/components/Menu/index.js +24 -25
- package/dist/components/Menu/types.js +1 -0
- package/dist/components/Menu/useDropdownMenuController.js +43 -0
- package/dist/components/Menu/useMenuSearch.js +146 -0
- package/dist/components/Menu/useMenuVirtualization.js +5 -0
- package/dist/components/Metadata/MetaItemIcon.js +4 -4
- package/dist/components/Notifications/NotificationItemBase.js +49 -50
- package/dist/components/Page/ContactButtons.js +13 -10
- package/dist/components/Page/PageTabs.js +4 -13
- package/dist/components/Searchbar/Autocomplete.js +34 -32
- package/dist/components/Searchbar/AutocompleteBase.js +3 -3
- package/dist/components/Searchbar/AutocompleteItem.js +29 -42
- package/dist/components/Settings/SettingsItemBase.js +25 -26
- package/dist/components/Settings/UsedByLog.js +6 -6
- package/dist/components/Toolbar/DatepickerFilter.js +87 -0
- package/dist/components/Toolbar/SelectDateFilter.js +51 -0
- package/dist/components/Toolbar/Toolbar.js +18 -104
- package/dist/components/Toolbar/ToolbarFilter.js +69 -73
- package/dist/components/Toolbar/ToolbarFilterAddMenu.js +82 -0
- package/dist/components/Toolbar/ToolbarFilterButton.js +46 -0
- package/dist/components/Toolbar/ToolbarFilterMenu.js +117 -0
- package/dist/components/Toolbar/ToolbarMenu.js +58 -21
- package/dist/components/Toolbar/ToolbarSearch.js +15 -10
- package/dist/components/Toolbar/example.data.js +388 -0
- package/dist/components/Toolbar/example.hooks.js +68 -0
- package/dist/components/Toolbar/formatDateRange.js +19 -0
- package/dist/components/Toolbar/index.js +12 -14
- package/dist/components/Toolbar/useFilter.js +63 -0
- package/dist/components/Tooltip/Tooltip.js +101 -0
- package/dist/components/Tooltip/index.js +4 -0
- package/dist/components/UserListItem/UserListItem.js +15 -13
- package/dist/components/index.js +389 -386
- package/dist/floating-ui.dom-bEgaHJCq.js +997 -0
- package/dist/global.css +1 -1
- package/dist/hooks/useAccountSelector.js +9 -9
- package/dist/hooks/useMenu.js +48 -47
- package/dist/index--jNxJmA8.js +2000 -0
- package/dist/index.js +402 -399
- package/dist/menuList.module-DFH60CqT.js +6 -0
- package/dist/{textfield-DAuYWtUj.js → textfield-Drdr9bio.js} +40 -39
- package/dist/types/lib/components/Account/AccountList.d.ts +2 -2
- package/dist/types/lib/components/Account/AccountList.stories.d.ts +3 -4
- package/dist/types/lib/components/Account/AccountMenu.d.ts +3 -3
- package/dist/types/lib/components/Account/AccountMenu.stories.d.ts +1 -1
- package/dist/types/lib/components/Account/AccountMenuButton.stories.d.ts +10 -2
- package/dist/types/lib/components/Attachment/AttachmentLink.d.ts +3 -1
- package/dist/types/lib/components/Attachment/AttachmentLink.stories.d.ts +1 -1
- package/dist/types/lib/components/Button/ButtonGroup.d.ts +3 -1
- package/dist/types/lib/components/Button/ButtonGroup.stories.d.ts +1 -1
- package/dist/types/lib/components/Button/FloatingActionButton.d.ts +1 -6
- package/dist/types/lib/components/ContextMenu/ContextMenu.d.ts +7 -8
- package/dist/types/lib/components/Dashboard/DashboardCard.d.ts +2 -2
- package/dist/types/lib/components/Dashboard/DashboardHeader.d.ts +2 -2
- package/dist/types/lib/components/Dashboard/index.d.ts +0 -1
- package/dist/types/lib/components/Dialog/DialogTabs.d.ts +2 -4
- package/dist/types/lib/components/Dialog/SeenByLogButton.d.ts +8 -5
- package/dist/types/lib/components/Dropdown/Dropdown.d.ts +22 -0
- package/dist/types/lib/components/Dropdown/Dropdown.stories.d.ts +14 -0
- package/dist/types/lib/components/Dropdown/DropdownBase.d.ts +3 -2
- package/dist/types/lib/components/Dropdown/index.d.ts +1 -0
- package/dist/types/lib/components/Forms/SearchField.d.ts +2 -1
- package/dist/types/lib/components/Forms/SearchField.stories.d.ts +1 -1
- package/dist/types/lib/components/Forms/Switch.d.ts +2 -1
- package/dist/types/lib/components/Forms/Switch.stories.d.ts +1 -1
- package/dist/types/lib/components/GlobalMenu/GlobalMenu.d.ts +1 -1
- package/dist/types/lib/components/GlobalMenu/GlobalMenu.stories.d.ts +1 -3
- package/dist/types/lib/components/GlobalMenu/LocaleSwitcher.d.ts +1 -1
- package/dist/types/lib/components/Header/HeaderButton.d.ts +0 -4
- package/dist/types/lib/components/Header/HeaderButton.stories.d.ts +0 -1
- package/dist/types/lib/components/Icon/Icon.d.ts +3 -2
- package/dist/types/lib/components/Icon/index.d.ts +0 -1
- package/dist/types/lib/components/Item/ItemControls.d.ts +7 -0
- package/dist/types/lib/components/Item/ItemLabel.d.ts +14 -0
- package/dist/types/lib/components/Item/ItemMedia.d.ts +9 -0
- package/dist/types/lib/components/Item/index.d.ts +3 -0
- package/dist/types/lib/components/Menu/Menu.d.ts +4 -7
- package/dist/types/lib/components/Menu/Menu.stories.d.ts +64 -4
- package/dist/types/lib/components/Menu/MenuItem.d.ts +53 -21
- package/dist/types/lib/components/Menu/MenuItems.d.ts +21 -14
- package/dist/types/lib/components/Menu/MenuList.d.ts +21 -0
- package/dist/types/lib/components/Menu/MenuListDivider.d.ts +6 -0
- package/dist/types/lib/components/Menu/MenuListGroup.d.ts +8 -0
- package/dist/types/lib/components/Menu/MenuListHeading.d.ts +8 -0
- package/dist/types/lib/components/Menu/MenuListItem.d.ts +9 -0
- package/dist/types/lib/components/Menu/MenuListSearch.d.ts +15 -0
- package/dist/types/lib/components/Menu/MenuListSearch.stories.d.ts +18 -0
- package/dist/types/lib/components/Menu/MenuOption.d.ts +5 -16
- package/dist/types/lib/components/Menu/TabMenu.d.ts +8 -0
- package/dist/types/lib/components/Menu/VirtualizedMenu.stories.d.ts +22 -0
- package/dist/types/lib/components/Menu/VirtualizedMenuItems.d.ts +2 -0
- package/dist/types/lib/components/Menu/aria.d.ts +1 -0
- package/dist/types/lib/components/Menu/example.hooks.d.ts +24 -0
- package/dist/types/lib/components/Menu/index.d.ts +10 -9
- package/dist/types/lib/components/Menu/types.d.ts +1 -0
- package/dist/types/lib/components/Menu/useDropdownMenuController.d.ts +27 -0
- package/dist/types/lib/components/Menu/useMenuSearch.d.ts +129 -0
- package/dist/types/lib/components/Menu/useMenuVirtualization.d.ts +35 -0
- package/dist/types/lib/components/Page/ContactButtons.d.ts +6 -2
- package/dist/types/lib/components/Page/PageTabs.d.ts +3 -10
- package/dist/types/lib/components/Page/PageTabs.stories.d.ts +1 -1
- package/dist/types/lib/components/Searchbar/AutocompleteItem.d.ts +3 -3
- package/dist/types/lib/components/Searchbar/Searchbar.stories.d.ts +1 -1
- package/dist/types/lib/components/Toolbar/DatepickerFilter.d.ts +15 -0
- package/dist/types/lib/components/Toolbar/SelectDateFilter.d.ts +8 -0
- package/dist/types/lib/components/Toolbar/SelectDateFilter.stories.d.ts +9 -0
- package/dist/types/lib/components/Toolbar/Toolbar.d.ts +6 -19
- package/dist/types/lib/components/Toolbar/Toolbar.stories.d.ts +21 -19
- package/dist/types/lib/components/Toolbar/ToolbarFilter.d.ts +11 -23
- package/dist/types/lib/components/Toolbar/ToolbarFilter.stories.d.ts +6 -13
- package/dist/types/lib/components/Toolbar/ToolbarFilterAddMenu.d.ts +8 -0
- package/dist/types/lib/components/Toolbar/ToolbarFilterButton.d.ts +15 -0
- package/dist/types/lib/components/Toolbar/ToolbarFilterMenu.d.ts +15 -0
- package/dist/types/lib/components/Toolbar/ToolbarMenu.d.ts +5 -10
- package/dist/types/lib/components/Toolbar/ToolbarSearch.d.ts +3 -5
- package/dist/types/lib/components/Toolbar/ToolbarSearch.stories.d.ts +635 -1
- package/dist/types/lib/components/Toolbar/example.hooks.d.ts +41 -0
- package/dist/types/lib/components/Toolbar/formatDateRange.d.ts +10 -0
- package/dist/types/lib/components/Toolbar/index.d.ts +4 -5
- package/dist/types/lib/components/Toolbar/useFilter.d.ts +173 -0
- package/dist/types/lib/components/Tooltip/Tooltip.d.ts +8 -0
- package/dist/types/lib/components/Tooltip/Tooltip.stories.d.ts +9 -0
- package/dist/types/lib/components/Tooltip/index.d.ts +1 -0
- package/dist/types/lib/components/Transmission/Transmission.stories.d.ts +2 -2
- package/dist/types/lib/components/Typography/Heading.d.ts +2 -2
- package/dist/types/lib/components/UserListItem/UserListItem.d.ts +3 -1
- package/dist/types/lib/components/UserListItem/UserListItem.stories.d.ts +7 -1
- package/dist/types/lib/components/index.d.ts +2 -0
- package/dist/types/lib/hooks/useAccountSelector.d.ts +2 -2
- package/dist/types/lib/hooks/useMenu.d.ts +3 -1
- package/dist/{index-De5bF0Gf.js → useMenuVirtualization-DpvWCsyD.js} +216 -165
- package/package.json +1 -1
- package/dist/assets/ContextMenu.css +0 -1
- package/dist/assets/IconOrAvatar.css +0 -1
- package/dist/assets/MenuBase.css +0 -1
- package/dist/assets/MenuHeader.css +0 -1
- package/dist/assets/MenuInputField.css +0 -1
- package/dist/assets/MenuItemBase.css +0 -1
- package/dist/assets/MenuItemIcon.css +0 -1
- package/dist/assets/MenuItemLabel.css +0 -1
- package/dist/assets/MenuItemsVirtual.css +0 -1
- package/dist/assets/MenuOption.css +0 -1
- package/dist/assets/MenuSearch.css +0 -1
- package/dist/assets/PageTabs.css +0 -1
- package/dist/assets/ToolbarBase.css +0 -1
- package/dist/assets/ToolbarButton.css +0 -1
- package/dist/assets/ToolbarDaterange.css +0 -1
- package/dist/assets/ToolbarFilterBase.css +0 -1
- package/dist/components/Dashboard/DashboardIcon.js +0 -11
- package/dist/components/Datepicker/DatepickerBase.js +0 -8
- package/dist/components/GlobalMenu/EndUserLabel.js +0 -13
- package/dist/components/GlobalMenu/LocaleButton.js +0 -13
- package/dist/components/Icon/IconOrAvatar.js +0 -33
- package/dist/components/Menu/MenuBase.js +0 -56
- package/dist/components/Menu/MenuHeader.js +0 -8
- package/dist/components/Menu/MenuInputField.js +0 -31
- package/dist/components/Menu/MenuItemBase.js +0 -58
- package/dist/components/Menu/MenuItemIcon.js +0 -27
- package/dist/components/Menu/MenuItemLabel.js +0 -76
- package/dist/components/Menu/MenuItemsVirtual.js +0 -168
- package/dist/components/Menu/MenuSearch.js +0 -41
- package/dist/components/Toolbar/ToolbarAccountMenu.js +0 -52
- package/dist/components/Toolbar/ToolbarAdd.js +0 -24
- package/dist/components/Toolbar/ToolbarBase.js +0 -8
- package/dist/components/Toolbar/ToolbarButton.js +0 -115
- package/dist/components/Toolbar/ToolbarDaterange.js +0 -58
- package/dist/components/Toolbar/ToolbarFilterBase.js +0 -17
- package/dist/components/Toolbar/ToolbarOptions.js +0 -84
- package/dist/index-DttADHE1.js +0 -2993
- package/dist/types/lib/components/ContextMenu/ContextMenu.stories.d.ts +0 -8
- package/dist/types/lib/components/Dashboard/DashboardIcon.d.ts +0 -7
- package/dist/types/lib/components/Datepicker/DatepickerBase.d.ts +0 -6
- package/dist/types/lib/components/GlobalMenu/EndUserLabel.d.ts +0 -5
- package/dist/types/lib/components/GlobalMenu/LocaleButton.d.ts +0 -3
- package/dist/types/lib/components/Icon/IconOrAvatar.d.ts +0 -13
- package/dist/types/lib/components/Menu/MenuBase.d.ts +0 -42
- package/dist/types/lib/components/Menu/MenuHeader.d.ts +0 -4
- package/dist/types/lib/components/Menu/MenuInputField.d.ts +0 -12
- package/dist/types/lib/components/Menu/MenuItemBase.d.ts +0 -28
- package/dist/types/lib/components/Menu/MenuItemIcon.d.ts +0 -10
- package/dist/types/lib/components/Menu/MenuItemLabel.d.ts +0 -15
- package/dist/types/lib/components/Menu/MenuItemsVirtual.d.ts +0 -2
- package/dist/types/lib/components/Menu/MenuSearch.d.ts +0 -10
- package/dist/types/lib/components/Menu/MenuSearch.stories.d.ts +0 -18
- package/dist/types/lib/components/Toolbar/ToolbarAccountMenu.d.ts +0 -8
- package/dist/types/lib/components/Toolbar/ToolbarAdd.d.ts +0 -8
- package/dist/types/lib/components/Toolbar/ToolbarAdd.stories.d.ts +0 -13
- package/dist/types/lib/components/Toolbar/ToolbarBase.d.ts +0 -5
- package/dist/types/lib/components/Toolbar/ToolbarButton.d.ts +0 -16
- package/dist/types/lib/components/Toolbar/ToolbarButton.stories.d.ts +0 -15
- package/dist/types/lib/components/Toolbar/ToolbarDate.stories.d.ts +0 -26
- package/dist/types/lib/components/Toolbar/ToolbarDaterange.d.ts +0 -11
- package/dist/types/lib/components/Toolbar/ToolbarDaterange.stories.d.ts +0 -15
- package/dist/types/lib/components/Toolbar/ToolbarFilterBase.d.ts +0 -8
- package/dist/types/lib/components/Toolbar/ToolbarMenu.stories.d.ts +0 -19
- package/dist/types/lib/components/Toolbar/ToolbarOptions.d.ts +0 -22
- package/dist/types/lib/components/Toolbar/ToolbarOptions.stories.d.ts +0 -12
- /package/dist/assets/{DatepickerBase.css → Datepicker.css} +0 -0
- /package/dist/types/lib/components/GlobalHeader/{AccountSector.stories.d.ts → AccountSelector.stories.d.ts} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { Badge as K } from "../Badge/Badge.js";
|
|
3
3
|
import "../../index-p1eeF8LQ.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import {
|
|
5
|
+
import { AvatarGroup as O } from "../Avatar/AvatarGroup.js";
|
|
6
|
+
import { Heading as b } from "../Typography/Heading.js";
|
|
6
7
|
import "../Button/Button.js";
|
|
7
8
|
import "../RootProvider/RootProvider.js";
|
|
8
|
-
import { DialogMetadata as
|
|
9
|
-
import { DialogByline as
|
|
10
|
-
import {
|
|
11
|
-
import { ListItem as b } from "../List/ListItem.js";
|
|
9
|
+
import { DialogMetadata as P } from "./DialogMetadata.js";
|
|
10
|
+
import { DialogByline as Q } from "./DialogByline.js";
|
|
11
|
+
import { ListItem as x } from "../List/ListItem.js";
|
|
12
12
|
import "../Snackbar/useSnackbar.js";
|
|
13
|
-
import '../../assets/DialogListItem.css';const S = "
|
|
13
|
+
import '../../assets/DialogListItem.css';const S = "_border_lwts6_1", T = "_title_lwts6_27", U = "_controls_lwts6_58", X = "_header_lwts6_65", Y = "_summary_lwts6_82", Z = "_footer_lwts6_96", $ = "_seenBy_lwts6_101", z = "_dot_lwts6_108", W = "_heading_lwts6_112", a = {
|
|
14
14
|
border: S,
|
|
15
15
|
title: T,
|
|
16
16
|
controls: U,
|
|
@@ -18,148 +18,149 @@ import '../../assets/DialogListItem.css';const S = "_border_jg0tu_1", T = "_titl
|
|
|
18
18
|
summary: Y,
|
|
19
19
|
footer: Z,
|
|
20
20
|
seenBy: $,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
dot: z,
|
|
22
|
+
heading: W
|
|
23
|
+
}, ht = ({
|
|
24
|
+
size: e = "xl",
|
|
25
|
+
state: tt = "normal",
|
|
26
|
+
loading: s,
|
|
27
|
+
controls: N,
|
|
28
|
+
select: at,
|
|
28
29
|
selected: o,
|
|
29
|
-
status:
|
|
30
|
-
extendedStatusLabel:
|
|
31
|
-
sender:
|
|
32
|
-
recipient:
|
|
33
|
-
recipientLabel:
|
|
34
|
-
grouped:
|
|
35
|
-
updatedAt:
|
|
36
|
-
updatedAtLabel:
|
|
37
|
-
archived:
|
|
38
|
-
archivedAt:
|
|
39
|
-
archivedAtLabel:
|
|
40
|
-
trashed:
|
|
41
|
-
trashedAt:
|
|
30
|
+
status: n,
|
|
31
|
+
extendedStatusLabel: v,
|
|
32
|
+
sender: c,
|
|
33
|
+
recipient: u,
|
|
34
|
+
recipientLabel: y = "to",
|
|
35
|
+
grouped: B = !1,
|
|
36
|
+
updatedAt: D,
|
|
37
|
+
updatedAtLabel: j,
|
|
38
|
+
archived: I,
|
|
39
|
+
archivedAt: L,
|
|
40
|
+
archivedAtLabel: R,
|
|
41
|
+
trashed: A,
|
|
42
|
+
trashedAt: G,
|
|
42
43
|
trashedAtLabel: H,
|
|
43
44
|
badge: d,
|
|
44
|
-
dueAt:
|
|
45
|
-
dueAtLabel:
|
|
45
|
+
dueAt: M,
|
|
46
|
+
dueAtLabel: V,
|
|
46
47
|
unread: _,
|
|
47
48
|
seenByLog: p,
|
|
48
|
-
draftsLabel:
|
|
49
|
-
sentCount:
|
|
50
|
-
receivedCount:
|
|
51
|
-
attachmentsCount:
|
|
52
|
-
attachmentsLabel:
|
|
53
|
-
title:
|
|
54
|
-
description:
|
|
55
|
-
summary:
|
|
56
|
-
highlightWords:
|
|
49
|
+
draftsLabel: g,
|
|
50
|
+
sentCount: k,
|
|
51
|
+
receivedCount: q,
|
|
52
|
+
attachmentsCount: C,
|
|
53
|
+
attachmentsLabel: E,
|
|
54
|
+
title: r,
|
|
55
|
+
description: F,
|
|
56
|
+
summary: l,
|
|
57
|
+
highlightWords: m,
|
|
57
58
|
variant: J = "default",
|
|
58
59
|
id: h,
|
|
59
60
|
...f
|
|
60
61
|
}) => {
|
|
61
|
-
const
|
|
62
|
-
return
|
|
63
|
-
|
|
62
|
+
const w = o ? "tinted" : J;
|
|
63
|
+
return e === "xs" || e === "sm" ? /* @__PURE__ */ t(
|
|
64
|
+
x,
|
|
64
65
|
{
|
|
65
66
|
...f,
|
|
66
67
|
id: h,
|
|
67
|
-
size:
|
|
68
|
+
size: e,
|
|
68
69
|
selected: o,
|
|
69
|
-
variant:
|
|
70
|
-
ariaLabel:
|
|
71
|
-
disabled:
|
|
72
|
-
icon:
|
|
73
|
-
title:
|
|
74
|
-
description:
|
|
75
|
-
highlightWords:
|
|
70
|
+
variant: w,
|
|
71
|
+
ariaLabel: r,
|
|
72
|
+
disabled: s,
|
|
73
|
+
icon: c,
|
|
74
|
+
title: r,
|
|
75
|
+
description: l || F,
|
|
76
|
+
highlightWords: m
|
|
76
77
|
}
|
|
77
|
-
) : /* @__PURE__ */
|
|
78
|
-
|
|
78
|
+
) : /* @__PURE__ */ t(
|
|
79
|
+
x,
|
|
79
80
|
{
|
|
80
81
|
...f,
|
|
81
82
|
id: h,
|
|
82
|
-
size:
|
|
83
|
+
size: e,
|
|
83
84
|
selected: o,
|
|
84
|
-
variant:
|
|
85
|
-
controls: /* @__PURE__ */
|
|
86
|
-
title:
|
|
87
|
-
disabled:
|
|
88
|
-
label: /* @__PURE__ */
|
|
85
|
+
variant: w,
|
|
86
|
+
controls: /* @__PURE__ */ t("div", { className: a.controls, children: N }),
|
|
87
|
+
title: r,
|
|
88
|
+
disabled: s,
|
|
89
|
+
label: /* @__PURE__ */ i(
|
|
89
90
|
"div",
|
|
90
91
|
{
|
|
91
|
-
className:
|
|
92
|
+
className: a.border,
|
|
92
93
|
"data-selected": o,
|
|
93
|
-
"data-status":
|
|
94
|
-
"data-size":
|
|
94
|
+
"data-status": n?.value,
|
|
95
|
+
"data-size": e,
|
|
95
96
|
"data-unread": _,
|
|
96
|
-
"data-archived":
|
|
97
|
-
"data-trashed":
|
|
98
|
-
"data-loading":
|
|
97
|
+
"data-archived": I,
|
|
98
|
+
"data-trashed": A,
|
|
99
|
+
"data-loading": s,
|
|
99
100
|
children: [
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
|
|
101
|
+
/* @__PURE__ */ i("header", { className: a.header, "data-size": e, children: [
|
|
102
|
+
/* @__PURE__ */ t("span", { className: a.heading, children: /* @__PURE__ */ i(
|
|
103
|
+
b,
|
|
104
|
+
{
|
|
105
|
+
as: "h2",
|
|
106
|
+
highlightWords: m,
|
|
107
|
+
weight: _ ? "bold" : "normal",
|
|
108
|
+
loading: s,
|
|
109
|
+
maxRows: 2,
|
|
110
|
+
className: a.title,
|
|
111
|
+
children: [
|
|
112
|
+
r,
|
|
113
|
+
d && /* @__PURE__ */ t(K, { className: a.dot, variant: "tinted", size: "xs", ...d })
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
) }),
|
|
117
|
+
/* @__PURE__ */ t(
|
|
118
|
+
Q,
|
|
118
119
|
{
|
|
119
120
|
size: "xs",
|
|
120
|
-
loading:
|
|
121
|
-
sender:
|
|
122
|
-
recipient:
|
|
123
|
-
recipientLabel:
|
|
124
|
-
grouped:
|
|
121
|
+
loading: s,
|
|
122
|
+
sender: c,
|
|
123
|
+
recipient: u,
|
|
124
|
+
recipientLabel: y,
|
|
125
|
+
grouped: B
|
|
125
126
|
}
|
|
126
127
|
),
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
l && /* @__PURE__ */ t(
|
|
129
|
+
b,
|
|
129
130
|
{
|
|
130
131
|
as: "h3",
|
|
131
|
-
highlightWords:
|
|
132
|
+
highlightWords: m,
|
|
132
133
|
weight: "normal",
|
|
133
|
-
className:
|
|
134
|
-
loading:
|
|
134
|
+
className: a.summary,
|
|
135
|
+
loading: s,
|
|
135
136
|
maxRows: 2,
|
|
136
|
-
children:
|
|
137
|
+
children: l
|
|
137
138
|
}
|
|
138
139
|
)
|
|
139
140
|
] }),
|
|
140
|
-
/* @__PURE__ */
|
|
141
|
-
|
|
141
|
+
/* @__PURE__ */ t(
|
|
142
|
+
P,
|
|
142
143
|
{
|
|
143
|
-
className:
|
|
144
|
-
loading:
|
|
145
|
-
status:
|
|
146
|
-
extendedStatusLabel:
|
|
147
|
-
draftsLabel:
|
|
148
|
-
sentCount:
|
|
149
|
-
receivedCount:
|
|
150
|
-
updatedAt:
|
|
151
|
-
updatedAtLabel:
|
|
152
|
-
archivedAt:
|
|
153
|
-
archivedAtLabel:
|
|
154
|
-
trashedAt:
|
|
144
|
+
className: a.footer,
|
|
145
|
+
loading: s,
|
|
146
|
+
status: n,
|
|
147
|
+
extendedStatusLabel: v,
|
|
148
|
+
draftsLabel: g,
|
|
149
|
+
sentCount: k,
|
|
150
|
+
receivedCount: q,
|
|
151
|
+
updatedAt: D,
|
|
152
|
+
updatedAtLabel: j,
|
|
153
|
+
archivedAt: L,
|
|
154
|
+
archivedAtLabel: R,
|
|
155
|
+
trashedAt: G,
|
|
155
156
|
trashedAtLabel: H,
|
|
156
|
-
dueAt:
|
|
157
|
-
dueAtLabel:
|
|
158
|
-
attachmentsCount:
|
|
159
|
-
attachmentsLabel:
|
|
157
|
+
dueAt: M,
|
|
158
|
+
dueAtLabel: V,
|
|
159
|
+
attachmentsCount: C,
|
|
160
|
+
attachmentsLabel: E
|
|
160
161
|
}
|
|
161
162
|
),
|
|
162
|
-
p && /* @__PURE__ */
|
|
163
|
+
p && /* @__PURE__ */ t(O, { className: a.seenBy, items: p.items })
|
|
163
164
|
]
|
|
164
165
|
}
|
|
165
166
|
)
|
|
@@ -167,5 +168,5 @@ import '../../assets/DialogListItem.css';const S = "_border_jg0tu_1", T = "_titl
|
|
|
167
168
|
);
|
|
168
169
|
};
|
|
169
170
|
export {
|
|
170
|
-
|
|
171
|
+
ht as DialogListItem
|
|
171
172
|
};
|
|
@@ -1,188 +1,117 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as I, jsx as o } from "react/jsx-runtime";
|
|
3
3
|
import "../../index-p1eeF8LQ.js";
|
|
4
|
-
import
|
|
4
|
+
import a, { forwardRef as d } from "react";
|
|
5
5
|
import "../Button/Button.js";
|
|
6
6
|
import "../RootProvider/RootProvider.js";
|
|
7
|
-
import { MetaBase as
|
|
7
|
+
import { MetaBase as _ } from "../Metadata/MetaBase.js";
|
|
8
8
|
import { MetaItem as c } from "../Metadata/MetaItem.js";
|
|
9
|
-
import { MetaTimestamp as
|
|
10
|
-
import { DialogStatus as
|
|
9
|
+
import { MetaTimestamp as m } from "../Metadata/MetaTimestamp.js";
|
|
10
|
+
import { DialogStatus as E } from "./DialogStatus.js";
|
|
11
11
|
import "../Snackbar/useSnackbar.js";
|
|
12
|
-
import { S as
|
|
13
|
-
import { u as
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
import { S as M } from "../../Checkmark-Byz_C9x4.js";
|
|
13
|
+
import { u as s } from "../../useId-BVFxCjkq.js";
|
|
14
|
+
import { S as P, a as k, c as C, b as R } from "../../Trash-DBcymOP9.js";
|
|
15
|
+
var q = function(t, i) {
|
|
16
|
+
var l = {};
|
|
17
|
+
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && i.indexOf(e) < 0 && (l[e] = t[e]);
|
|
17
18
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
18
|
-
for (var
|
|
19
|
-
|
|
20
|
-
return
|
|
19
|
+
for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
|
|
20
|
+
i.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (l[e[r]] = t[e[r]]);
|
|
21
|
+
return l;
|
|
21
22
|
};
|
|
22
|
-
const
|
|
23
|
-
var { title:
|
|
24
|
-
let
|
|
25
|
-
return
|
|
23
|
+
const B = d((t, i) => {
|
|
24
|
+
var { title: l, titleId: e } = t, r = q(t, ["title", "titleId"]);
|
|
25
|
+
let n = s();
|
|
26
|
+
return n = l ? e || "title-" + n : void 0, a.createElement(
|
|
26
27
|
"svg",
|
|
27
|
-
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:
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
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: i, "aria-labelledby": n }, r),
|
|
29
|
+
l ? a.createElement("title", { id: n }, l) : null,
|
|
30
|
+
a.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" })
|
|
30
31
|
);
|
|
31
32
|
});
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) &&
|
|
33
|
+
var D = function(t, i) {
|
|
34
|
+
var l = {};
|
|
35
|
+
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && i.indexOf(e) < 0 && (l[e] = t[e]);
|
|
35
36
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
36
|
-
for (var
|
|
37
|
-
|
|
38
|
-
return
|
|
37
|
+
for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
|
|
38
|
+
i.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (l[e[r]] = t[e[r]]);
|
|
39
|
+
return l;
|
|
39
40
|
};
|
|
40
|
-
const
|
|
41
|
-
var { title:
|
|
42
|
-
let
|
|
43
|
-
return
|
|
41
|
+
const H = d((t, i) => {
|
|
42
|
+
var { title: l, titleId: e } = t, r = D(t, ["title", "titleId"]);
|
|
43
|
+
let n = s();
|
|
44
|
+
return n = l ? e || "title-" + n : void 0, a.createElement(
|
|
44
45
|
"svg",
|
|
45
|
-
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:
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
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: i, "aria-labelledby": n }, r),
|
|
47
|
+
l ? a.createElement("title", { id: n }, l) : null,
|
|
48
|
+
a.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" })
|
|
48
49
|
);
|
|
49
50
|
});
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) &&
|
|
51
|
+
var T = function(t, i) {
|
|
52
|
+
var l = {};
|
|
53
|
+
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && i.indexOf(e) < 0 && (l[e] = t[e]);
|
|
53
54
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
54
|
-
for (var
|
|
55
|
-
|
|
56
|
-
return
|
|
55
|
+
for (var r = 0, e = Object.getOwnPropertySymbols(t); r < e.length; r++)
|
|
56
|
+
i.indexOf(e[r]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[r]) && (l[e[r]] = t[e[r]]);
|
|
57
|
+
return l;
|
|
57
58
|
};
|
|
58
|
-
const
|
|
59
|
-
var { title:
|
|
60
|
-
let
|
|
61
|
-
return
|
|
59
|
+
const V = d((t, i) => {
|
|
60
|
+
var { title: l, titleId: e } = t, r = T(t, ["title", "titleId"]);
|
|
61
|
+
let n = s();
|
|
62
|
+
return n = l ? e || "title-" + n : void 0, a.createElement(
|
|
62
63
|
"svg",
|
|
63
|
-
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:
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
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: i, "aria-labelledby": n }, r),
|
|
65
|
+
l ? a.createElement("title", { id: n }, l) : null,
|
|
66
|
+
a.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" })
|
|
66
67
|
);
|
|
67
|
-
})
|
|
68
|
-
var k = function(t, n) {
|
|
69
|
-
var r = {};
|
|
70
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
|
|
71
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
72
|
-
for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
|
|
73
|
-
n.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
|
|
74
|
-
return r;
|
|
75
|
-
};
|
|
76
|
-
const A = f((t, n) => {
|
|
77
|
-
var { title: r, titleId: e } = t, l = k(t, ["title", "titleId"]);
|
|
78
|
-
let i = d();
|
|
79
|
-
return i = r ? e || "title-" + i : void 0, o.createElement(
|
|
80
|
-
"svg",
|
|
81
|
-
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: n, "aria-labelledby": i }, l),
|
|
82
|
-
r ? o.createElement("title", { id: i }, r) : null,
|
|
83
|
-
o.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" })
|
|
84
|
-
);
|
|
85
|
-
});
|
|
86
|
-
var $ = function(t, n) {
|
|
87
|
-
var r = {};
|
|
88
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
|
|
89
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
90
|
-
for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
|
|
91
|
-
n.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
|
|
92
|
-
return r;
|
|
93
|
-
};
|
|
94
|
-
const q = f((t, n) => {
|
|
95
|
-
var { title: r, titleId: e } = t, l = $(t, ["title", "titleId"]);
|
|
96
|
-
let i = d();
|
|
97
|
-
return i = r ? e || "title-" + i : void 0, o.createElement(
|
|
98
|
-
"svg",
|
|
99
|
-
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: n, "aria-labelledby": i }, l),
|
|
100
|
-
r ? o.createElement("title", { id: i }, r) : null,
|
|
101
|
-
o.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" })
|
|
102
|
-
);
|
|
103
|
-
});
|
|
104
|
-
var D = function(t, n) {
|
|
105
|
-
var r = {};
|
|
106
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
|
|
107
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
108
|
-
for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
|
|
109
|
-
n.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
|
|
110
|
-
return r;
|
|
111
|
-
};
|
|
112
|
-
const T = f((t, n) => {
|
|
113
|
-
var { title: r, titleId: e } = t, l = D(t, ["title", "titleId"]);
|
|
114
|
-
let i = d();
|
|
115
|
-
return i = r ? e || "title-" + i : void 0, o.createElement(
|
|
116
|
-
"svg",
|
|
117
|
-
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: n, "aria-labelledby": i }, l),
|
|
118
|
-
r ? o.createElement("title", { id: i }, r) : null,
|
|
119
|
-
o.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M15.912 4.382c-.546.032-1.086.292-1.503.71l-8.132 8.131c-1.2 1.201-1.754 3.549 0 5.304 1.755 1.754 4.103 1.2 5.304 0l7.424-7.425a.75.75 0 0 1 1.06 1.06l-7.424 7.425c-1.627 1.628-4.936 2.488-7.424 0s-1.628-5.797 0-7.424l8.131-8.132c.644-.643 1.518-1.09 2.475-1.146.976-.058 1.978.295 2.829 1.146.85.851 1.203 1.853 1.146 2.828-.056.957-.503 1.832-1.146 2.475l-7.425 7.425c-.316.316-.838.553-1.376.613-.568.063-1.255-.062-1.806-.613-.55-.55-.676-1.238-.613-1.806.06-.538.297-1.06.613-1.376l6.718-6.718a.75.75 0 0 1 1.06 1.061l-6.717 6.718a.95.95 0 0 0-.183.48c-.025.227.026.424.183.58.156.157.353.208.58.183a.95.95 0 0 0 .48-.183l7.425-7.424c.417-.418.678-.957.71-1.503.03-.527-.147-1.116-.71-1.68s-1.152-.74-1.68-.71", clipRule: "evenodd" })
|
|
120
|
-
);
|
|
121
|
-
});
|
|
122
|
-
var F = function(t, n) {
|
|
123
|
-
var r = {};
|
|
124
|
-
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && n.indexOf(e) < 0 && (r[e] = t[e]);
|
|
125
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
126
|
-
for (var l = 0, e = Object.getOwnPropertySymbols(t); l < e.length; l++)
|
|
127
|
-
n.indexOf(e[l]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[l]) && (r[e[l]] = t[e[l]]);
|
|
128
|
-
return r;
|
|
129
|
-
};
|
|
130
|
-
const G = f((t, n) => {
|
|
131
|
-
var { title: r, titleId: e } = t, l = F(t, ["title", "titleId"]);
|
|
132
|
-
let i = d();
|
|
133
|
-
return i = r ? e || "title-" + i : void 0, o.createElement(
|
|
134
|
-
"svg",
|
|
135
|
-
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: n, "aria-labelledby": i }, l),
|
|
136
|
-
r ? o.createElement("title", { id: i }, r) : null,
|
|
137
|
-
o.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 6.25a.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.876-11.384h.805a.75.75 0 0 0 0-1.5h-2.75V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25zm5.5-1.5c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25zm-3.19 3 .867 11.27c.01.13.118.23.249.23h8.148c.13 0 .24-.1.25-.23l.866-11.27zm3.19 2a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75m4 0a.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" })
|
|
138
|
-
);
|
|
139
|
-
}), le = ({
|
|
68
|
+
}), L = ({
|
|
140
69
|
className: t,
|
|
141
|
-
loading:
|
|
142
|
-
status:
|
|
70
|
+
loading: i,
|
|
71
|
+
status: l,
|
|
143
72
|
sender: e,
|
|
144
|
-
updatedAt:
|
|
145
|
-
updatedAtLabel:
|
|
146
|
-
dueAt:
|
|
147
|
-
dueAtLabel:
|
|
73
|
+
updatedAt: r,
|
|
74
|
+
updatedAtLabel: n,
|
|
75
|
+
dueAt: p,
|
|
76
|
+
dueAtLabel: v,
|
|
148
77
|
archivedAt: u,
|
|
149
|
-
archivedAtLabel:
|
|
78
|
+
archivedAtLabel: h,
|
|
150
79
|
trashedAt: b,
|
|
151
|
-
trashedAtLabel:
|
|
152
|
-
draftsLabel:
|
|
153
|
-
sentCount:
|
|
154
|
-
receivedCount:
|
|
80
|
+
trashedAtLabel: w,
|
|
81
|
+
draftsLabel: O,
|
|
82
|
+
sentCount: g = 0,
|
|
83
|
+
receivedCount: y = 0,
|
|
155
84
|
attachmentsCount: x = 0,
|
|
156
|
-
attachmentsLabel:
|
|
157
|
-
transmissionsLabel:
|
|
158
|
-
activityLog:
|
|
159
|
-
extendedStatusLabel:
|
|
160
|
-
}) => /* @__PURE__ */ _
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
|
|
85
|
+
attachmentsLabel: S,
|
|
86
|
+
transmissionsLabel: z,
|
|
87
|
+
activityLog: f,
|
|
88
|
+
extendedStatusLabel: j
|
|
89
|
+
}) => /* @__PURE__ */ I(_, { className: t, size: "xs", children: [
|
|
90
|
+
l && /* @__PURE__ */ o(E, { loading: i, size: "xs", ...l }),
|
|
91
|
+
j && /* @__PURE__ */ o(c, { size: "xs", variant: "outline", children: j }),
|
|
92
|
+
O && /* @__PURE__ */ o(c, { size: "xs", variant: "dotted", children: O }),
|
|
93
|
+
g > 0 && /* @__PURE__ */ o(c, { size: "xs", variant: "outline", icon: M, children: g }),
|
|
94
|
+
y > 0 && /* @__PURE__ */ o(c, { size: "xs", variant: "outline", icon: B, children: y }),
|
|
95
|
+
r && /* @__PURE__ */ I(m, { loading: i, datetime: r, size: "xs", children: [
|
|
96
|
+
/* @__PURE__ */ o("strong", { children: e && e.name + ", " }),
|
|
97
|
+
n
|
|
169
98
|
] }),
|
|
170
|
-
|
|
171
|
-
x > 0 && /* @__PURE__ */
|
|
172
|
-
|
|
173
|
-
b &&
|
|
174
|
-
|
|
99
|
+
p && v && /* @__PURE__ */ o(m, { loading: i, datetime: p, size: "xs", icon: P, children: v }),
|
|
100
|
+
x > 0 && /* @__PURE__ */ o(c, { loading: i, size: "xs", icon: k, children: S || x }),
|
|
101
|
+
z && /* @__PURE__ */ o(c, { loading: i, size: "xs", icon: V, children: z }),
|
|
102
|
+
b && w && /* @__PURE__ */ o(m, { loading: i, datetime: b, size: "xs", icon: C, children: w }) || u && h && /* @__PURE__ */ o(m, { loading: i, datetime: u, size: "xs", icon: R, children: h }),
|
|
103
|
+
f && /* @__PURE__ */ o(
|
|
175
104
|
c,
|
|
176
105
|
{
|
|
177
|
-
loading:
|
|
106
|
+
loading: i,
|
|
178
107
|
size: "xs",
|
|
179
|
-
icon:
|
|
180
|
-
as:
|
|
181
|
-
onClick:
|
|
182
|
-
children:
|
|
108
|
+
icon: H,
|
|
109
|
+
as: f?.onClick ? "button" : "span",
|
|
110
|
+
onClick: f?.onClick,
|
|
111
|
+
children: f?.label || "Activity log"
|
|
183
112
|
}
|
|
184
113
|
)
|
|
185
114
|
] });
|
|
186
115
|
export {
|
|
187
|
-
|
|
116
|
+
L as DialogMetadata
|
|
188
117
|
};
|