@fluentui-copilot/react-attachments 0.0.0-nightly-20251006-0406-b5da4f6a.1 → 0.0.0-nightly-20251010-0406-7df7c6d1.1
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/CHANGELOG.json +3 -3
- package/CHANGELOG.md +4 -4
- package/package.json +8 -8
- package/dist/index.d.ts +0 -379
- package/lib/AgentTag.js +0 -1
- package/lib/AgentTag.js.map +0 -1
- package/lib/Attachment.js +0 -1
- package/lib/Attachment.js.map +0 -1
- package/lib/AttachmentList.js +0 -1
- package/lib/AttachmentList.js.map +0 -1
- package/lib/AttachmentOverflowMenu.js +0 -1
- package/lib/AttachmentOverflowMenu.js.map +0 -1
- package/lib/AttachmentOverflowMenuButton.js +0 -1
- package/lib/AttachmentOverflowMenuButton.js.map +0 -1
- package/lib/AttachmentOverflowMenuItem.js +0 -1
- package/lib/AttachmentOverflowMenuItem.js.map +0 -1
- package/lib/components/AgentTag/AgentTag.js +0 -11
- package/lib/components/AgentTag/AgentTag.js.map +0 -1
- package/lib/components/AgentTag/AgentTag.types.js +0 -3
- package/lib/components/AgentTag/AgentTag.types.js.map +0 -1
- package/lib/components/AgentTag/index.js +0 -4
- package/lib/components/AgentTag/index.js.map +0 -1
- package/lib/components/AgentTag/renderAgentTag.js +0 -6
- package/lib/components/AgentTag/renderAgentTag.js.map +0 -1
- package/lib/components/AgentTag/useAgentTag.js +0 -18
- package/lib/components/AgentTag/useAgentTag.js.map +0 -1
- package/lib/components/AgentTag/useAgentTagStyles.styles.js +0 -95
- package/lib/components/AgentTag/useAgentTagStyles.styles.js.map +0 -1
- package/lib/components/AgentTag/useAgentTagStyles.styles.raw.js +0 -66
- package/lib/components/AgentTag/useAgentTagStyles.styles.raw.js.map +0 -1
- package/lib/components/Attachment/Attachment.js +0 -13
- package/lib/components/Attachment/Attachment.js.map +0 -1
- package/lib/components/Attachment/Attachment.types.js +0 -3
- package/lib/components/Attachment/Attachment.types.js.map +0 -1
- package/lib/components/Attachment/index.js +0 -4
- package/lib/components/Attachment/index.js.map +0 -1
- package/lib/components/Attachment/renderAttachment.js +0 -42
- package/lib/components/Attachment/renderAttachment.js.map +0 -1
- package/lib/components/Attachment/useAttachment.js +0 -103
- package/lib/components/Attachment/useAttachment.js.map +0 -1
- package/lib/components/Attachment/useAttachmentStyles.styles.js +0 -348
- package/lib/components/Attachment/useAttachmentStyles.styles.js.map +0 -1
- package/lib/components/Attachment/useAttachmentStyles.styles.raw.js +0 -328
- package/lib/components/Attachment/useAttachmentStyles.styles.raw.js.map +0 -1
- package/lib/components/AttachmentList/AttachmentList.js +0 -14
- package/lib/components/AttachmentList/AttachmentList.js.map +0 -1
- package/lib/components/AttachmentList/AttachmentList.types.js +0 -1
- package/lib/components/AttachmentList/AttachmentList.types.js.map +0 -1
- package/lib/components/AttachmentList/index.js +0 -4
- package/lib/components/AttachmentList/index.js.map +0 -1
- package/lib/components/AttachmentList/renderAttachmentList.js +0 -31
- package/lib/components/AttachmentList/renderAttachmentList.js.map +0 -1
- package/lib/components/AttachmentList/useAttachmentList.js +0 -134
- package/lib/components/AttachmentList/useAttachmentList.js.map +0 -1
- package/lib/components/AttachmentList/useAttachmentListContextValues.js +0 -12
- package/lib/components/AttachmentList/useAttachmentListContextValues.js.map +0 -1
- package/lib/components/AttachmentList/useAttachmentListStyles.styles.js +0 -48
- package/lib/components/AttachmentList/useAttachmentListStyles.styles.js.map +0 -1
- package/lib/components/AttachmentList/useAttachmentListStyles.styles.raw.js +0 -44
- package/lib/components/AttachmentList/useAttachmentListStyles.styles.raw.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js +0 -14
- package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js +0 -1
- package/lib/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/index.js +0 -4
- package/lib/components/AttachmentOverflowMenu/index.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js +0 -13
- package/lib/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js +0 -18
- package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +0 -1
- package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js +0 -12
- package/lib/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js +0 -12
- package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +0 -3
- package/lib/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/index.js +0 -4
- package/lib/components/AttachmentOverflowMenuButton/index.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +0 -15
- package/lib/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +0 -69
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.js +0 -116
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.raw.js +0 -102
- package/lib/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.raw.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js +0 -10
- package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +0 -3
- package/lib/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/index.js +0 -4
- package/lib/components/AttachmentOverflowMenuItem/index.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +0 -13
- package/lib/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +0 -56
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.js +0 -84
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.js.map +0 -1
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.raw.js +0 -59
- package/lib/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.raw.js.map +0 -1
- package/lib/components/index.js +0 -5
- package/lib/components/index.js.map +0 -1
- package/lib/components/utils/useProgressBarStyles.styles.js +0 -54
- package/lib/components/utils/useProgressBarStyles.styles.js.map +0 -1
- package/lib/components/utils/useProgressBarStyles.styles.raw.js +0 -42
- package/lib/components/utils/useProgressBarStyles.styles.raw.js.map +0 -1
- package/lib/contexts/attachmentListContext.js +0 -9
- package/lib/contexts/attachmentListContext.js.map +0 -1
- package/lib/contexts/attachmentOverflowMenuContext.js +0 -9
- package/lib/contexts/attachmentOverflowMenuContext.js.map +0 -1
- package/lib/index.js +0 -8
- package/lib/index.js.map +0 -1
- package/lib-commonjs/AgentTag.js +0 -28
- package/lib-commonjs/AgentTag.js.map +0 -1
- package/lib-commonjs/Attachment.js +0 -31
- package/lib-commonjs/Attachment.js.map +0 -1
- package/lib-commonjs/AttachmentList.js +0 -28
- package/lib-commonjs/AttachmentList.js.map +0 -1
- package/lib-commonjs/AttachmentOverflowMenu.js +0 -25
- package/lib-commonjs/AttachmentOverflowMenu.js.map +0 -1
- package/lib-commonjs/AttachmentOverflowMenuButton.js +0 -28
- package/lib-commonjs/AttachmentOverflowMenuButton.js.map +0 -1
- package/lib-commonjs/AttachmentOverflowMenuItem.js +0 -28
- package/lib-commonjs/AttachmentOverflowMenuItem.js.map +0 -1
- package/lib-commonjs/components/AgentTag/AgentTag.js +0 -21
- package/lib-commonjs/components/AgentTag/AgentTag.js.map +0 -1
- package/lib-commonjs/components/AgentTag/AgentTag.types.js +0 -6
- package/lib-commonjs/components/AgentTag/AgentTag.types.js.map +0 -1
- package/lib-commonjs/components/AgentTag/index.js +0 -31
- package/lib-commonjs/components/AgentTag/index.js.map +0 -1
- package/lib-commonjs/components/AgentTag/renderAgentTag.js +0 -14
- package/lib-commonjs/components/AgentTag/renderAgentTag.js.map +0 -1
- package/lib-commonjs/components/AgentTag/useAgentTag.js +0 -19
- package/lib-commonjs/components/AgentTag/useAgentTag.js.map +0 -1
- package/lib-commonjs/components/AgentTag/useAgentTagStyles.styles.js +0 -145
- package/lib-commonjs/components/AgentTag/useAgentTagStyles.styles.js.map +0 -1
- package/lib-commonjs/components/AgentTag/useAgentTagStyles.styles.raw.js +0 -82
- package/lib-commonjs/components/AgentTag/useAgentTagStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/Attachment/Attachment.js +0 -23
- package/lib-commonjs/components/Attachment/Attachment.js.map +0 -1
- package/lib-commonjs/components/Attachment/Attachment.types.js +0 -6
- package/lib-commonjs/components/Attachment/Attachment.types.js.map +0 -1
- package/lib-commonjs/components/Attachment/index.js +0 -34
- package/lib-commonjs/components/Attachment/index.js.map +0 -1
- package/lib-commonjs/components/Attachment/renderAttachment.js +0 -50
- package/lib-commonjs/components/Attachment/renderAttachment.js.map +0 -1
- package/lib-commonjs/components/Attachment/useAttachment.js +0 -105
- package/lib-commonjs/components/Attachment/useAttachment.js.map +0 -1
- package/lib-commonjs/components/Attachment/useAttachmentStyles.styles.js +0 -550
- package/lib-commonjs/components/Attachment/useAttachmentStyles.styles.js.map +0 -1
- package/lib-commonjs/components/Attachment/useAttachmentStyles.styles.raw.js +0 -347
- package/lib-commonjs/components/Attachment/useAttachmentStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/AttachmentList.js +0 -25
- package/lib-commonjs/components/AttachmentList/AttachmentList.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/AttachmentList.types.js +0 -4
- package/lib-commonjs/components/AttachmentList/AttachmentList.types.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/index.js +0 -31
- package/lib-commonjs/components/AttachmentList/index.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/renderAttachmentList.js +0 -39
- package/lib-commonjs/components/AttachmentList/renderAttachmentList.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/useAttachmentList.js +0 -137
- package/lib-commonjs/components/AttachmentList/useAttachmentList.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/useAttachmentListContextValues.js +0 -22
- package/lib-commonjs/components/AttachmentList/useAttachmentListContextValues.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.styles.js +0 -67
- package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.styles.js.map +0 -1
- package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.styles.raw.js +0 -60
- package/lib-commonjs/components/AttachmentList/useAttachmentListStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js +0 -24
- package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js +0 -4
- package/lib-commonjs/components/AttachmentOverflowMenu/AttachmentOverflowMenu.types.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/index.js +0 -28
- package/lib-commonjs/components/AttachmentOverflowMenu/index.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js +0 -21
- package/lib-commonjs/components/AttachmentOverflowMenu/renderAttachmentOverflowMenu.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js +0 -21
- package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenu.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js +0 -22
- package/lib-commonjs/components/AttachmentOverflowMenu/useAttachmentOverflowMenuContextValues.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js +0 -23
- package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js +0 -6
- package/lib-commonjs/components/AttachmentOverflowMenuButton/AttachmentOverflowMenuButton.types.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js +0 -31
- package/lib-commonjs/components/AttachmentOverflowMenuButton/index.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js +0 -23
- package/lib-commonjs/components/AttachmentOverflowMenuButton/renderAttachmentOverflowMenuButton.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js +0 -72
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButton.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.js +0 -178
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.raw.js +0 -118
- package/lib-commonjs/components/AttachmentOverflowMenuButton/useAttachmentOverflowMenuButtonStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js +0 -21
- package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js +0 -6
- package/lib-commonjs/components/AttachmentOverflowMenuItem/AttachmentOverflowMenuItem.types.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js +0 -31
- package/lib-commonjs/components/AttachmentOverflowMenuItem/index.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js +0 -21
- package/lib-commonjs/components/AttachmentOverflowMenuItem/renderAttachmentOverflowMenuItem.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js +0 -59
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItem.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.js +0 -109
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.js.map +0 -1
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.raw.js +0 -75
- package/lib-commonjs/components/AttachmentOverflowMenuItem/useAttachmentOverflowMenuItemStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/components/index.js +0 -92
- package/lib-commonjs/components/index.js.map +0 -1
- package/lib-commonjs/components/utils/useProgressBarStyles.styles.js +0 -103
- package/lib-commonjs/components/utils/useProgressBarStyles.styles.js.map +0 -1
- package/lib-commonjs/components/utils/useProgressBarStyles.styles.raw.js +0 -50
- package/lib-commonjs/components/utils/useProgressBarStyles.styles.raw.js.map +0 -1
- package/lib-commonjs/contexts/attachmentListContext.js +0 -30
- package/lib-commonjs/contexts/attachmentListContext.js.map +0 -1
- package/lib-commonjs/contexts/attachmentOverflowMenuContext.js +0 -30
- package/lib-commonjs/contexts/attachmentOverflowMenuContext.js.map +0 -1
- package/lib-commonjs/index.js +0 -122
- package/lib-commonjs/index.js.map +0 -1
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { __styles, mergeClasses } from '@fluentui/react-components';
|
|
2
|
-
import { useAttachmentStyles_unstable } from '..';
|
|
3
|
-
import { tokens, typographyStyles } from '@fluentui-copilot/tokens';
|
|
4
|
-
export const agentTagClassNames = {
|
|
5
|
-
root: 'fai-AgentTag',
|
|
6
|
-
primaryAction: 'fai-AgentTag__primaryAction',
|
|
7
|
-
dismissIcon: 'fai-AgentTag__dismissIcon',
|
|
8
|
-
dismissButton: 'fai-AgentTag__dismissButton',
|
|
9
|
-
media: 'fai-AgentTag__media',
|
|
10
|
-
content: 'fai-AgentTag__content',
|
|
11
|
-
progress: 'fai-AgentTag__progress'
|
|
12
|
-
};
|
|
13
|
-
const useMediaStyles = __styles({
|
|
14
|
-
canvas: {
|
|
15
|
-
a9b677: "fq4mcun",
|
|
16
|
-
Bqenvij: "frvgh55"
|
|
17
|
-
},
|
|
18
|
-
sidecar: {
|
|
19
|
-
a9b677: "f64fuq3",
|
|
20
|
-
Bqenvij: "fjamq6b"
|
|
21
|
-
}
|
|
22
|
-
}, {
|
|
23
|
-
d: [".fq4mcun{width:24px;}", ".frvgh55{height:24px;}", ".f64fuq3{width:20px;}", ".fjamq6b{height:20px;}"]
|
|
24
|
-
});
|
|
25
|
-
const useContentStyles = __styles({
|
|
26
|
-
canvas: {
|
|
27
|
-
Bahqtrf: "fk6fouc",
|
|
28
|
-
Be2twd7: "fod5ikn",
|
|
29
|
-
Bhrd7zp: "fl43uef",
|
|
30
|
-
Bg96gwp: "f1anucx2",
|
|
31
|
-
sj55zd: "fkfq4zb"
|
|
32
|
-
},
|
|
33
|
-
sidecar: {
|
|
34
|
-
Bahqtrf: "fk6fouc",
|
|
35
|
-
Be2twd7: "fkhj508",
|
|
36
|
-
Bhrd7zp: "fl43uef",
|
|
37
|
-
Bg96gwp: "f1i3iumi",
|
|
38
|
-
sj55zd: "fkfq4zb"
|
|
39
|
-
}
|
|
40
|
-
}, {
|
|
41
|
-
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1anucx2{line-height:var(--lineHeightBase450);}", ".fkfq4zb{color:var(--colorNeutralForeground2);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
|
|
42
|
-
});
|
|
43
|
-
const useDismissButtonStyles = __styles({
|
|
44
|
-
canvas: {
|
|
45
|
-
Beyfa6y: 0,
|
|
46
|
-
Bbmb7ep: 0,
|
|
47
|
-
Btl43ni: 0,
|
|
48
|
-
B7oj6ja: 0,
|
|
49
|
-
Dimara: "f1jxijnj",
|
|
50
|
-
uwmqm3: ["fhx4nu", "fjodcmx"],
|
|
51
|
-
z189sj: ["fw5db7e", "f1uw59to"]
|
|
52
|
-
},
|
|
53
|
-
sidecar: {
|
|
54
|
-
uwmqm3: ["f1uw59to", "fw5db7e"],
|
|
55
|
-
z189sj: ["f1vdfbxk", "f1f5gg8d"],
|
|
56
|
-
Beyfa6y: 0,
|
|
57
|
-
Bbmb7ep: 0,
|
|
58
|
-
Btl43ni: 0,
|
|
59
|
-
B7oj6ja: 0,
|
|
60
|
-
Dimara: "f1kijzfu"
|
|
61
|
-
}
|
|
62
|
-
}, {
|
|
63
|
-
d: [[".f1jxijnj{border-radius:var(--borderRadius2XL);}", {
|
|
64
|
-
p: -1
|
|
65
|
-
}], ".fhx4nu{padding-left:var(--spacingHorizontalL);}", ".fjodcmx{padding-right:var(--spacingHorizontalL);}", ".fw5db7e{padding-right:var(--spacingHorizontalM);}", ".f1uw59to{padding-left:var(--spacingHorizontalM);}", ".f1vdfbxk{padding-right:var(--spacingHorizontalS);}", ".f1f5gg8d{padding-left:var(--spacingHorizontalS);}", [".f1kijzfu{border-radius:var(--borderRadiusXLarge);}", {
|
|
66
|
-
p: -1
|
|
67
|
-
}]]
|
|
68
|
-
});
|
|
69
|
-
/**
|
|
70
|
-
* Apply styling to the AgentTag slots based on the state
|
|
71
|
-
*/
|
|
72
|
-
export const useAgentTagStyles_unstable = state => {
|
|
73
|
-
'use no memo';
|
|
74
|
-
|
|
75
|
-
const {
|
|
76
|
-
mode
|
|
77
|
-
} = state;
|
|
78
|
-
const contentStyles = useContentStyles();
|
|
79
|
-
const dismissButtonStyles = useDismissButtonStyles();
|
|
80
|
-
const mediaStyles = useMediaStyles();
|
|
81
|
-
state.root.className = mergeClasses(agentTagClassNames.root, state.root.className);
|
|
82
|
-
state.primaryAction.className = mergeClasses(agentTagClassNames.primaryAction, state.primaryAction.className);
|
|
83
|
-
state.dismissIcon.className = mergeClasses(agentTagClassNames.dismissIcon, state.dismissIcon.className);
|
|
84
|
-
state.dismissButton.className = mergeClasses(agentTagClassNames.dismissButton, dismissButtonStyles[mode], state.dismissButton.className);
|
|
85
|
-
if (state.media) {
|
|
86
|
-
state.media.className = mergeClasses(agentTagClassNames.media, mediaStyles[mode], state.media.className);
|
|
87
|
-
}
|
|
88
|
-
state.content.className = mergeClasses(agentTagClassNames.content, contentStyles[mode], state.content.className);
|
|
89
|
-
if (state.progress) {
|
|
90
|
-
state.progress.className = mergeClasses(agentTagClassNames.progress, state.progress.className);
|
|
91
|
-
}
|
|
92
|
-
useAttachmentStyles_unstable(state);
|
|
93
|
-
return state;
|
|
94
|
-
};
|
|
95
|
-
//# sourceMappingURL=useAgentTagStyles.styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["useAgentTagStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@fluentui/react-components';\nimport type { AgentTagSlots, AgentTagState } from './AgentTag.types';\nimport type { SlotClassNames } from '@fluentui/react-components';\nimport { useAttachmentStyles_unstable } from '..';\nimport { tokens, typographyStyles } from '@fluentui-copilot/tokens';\n\nexport const agentTagClassNames: SlotClassNames<AgentTagSlots> = {\n root: 'fai-AgentTag',\n primaryAction: 'fai-AgentTag__primaryAction',\n dismissIcon: 'fai-AgentTag__dismissIcon',\n dismissButton: 'fai-AgentTag__dismissButton',\n media: 'fai-AgentTag__media',\n content: 'fai-AgentTag__content',\n progress: 'fai-AgentTag__progress',\n};\n\nconst useMediaStyles = makeStyles({\n canvas: {\n width: '24px',\n height: '24px',\n },\n sidecar: { width: '20px', height: '20px' },\n});\n\nconst useContentStyles = makeStyles({\n canvas: {\n ...typographyStyles.subtitle2,\n color: tokens.colorNeutralForeground2,\n },\n sidecar: {\n ...typographyStyles.body1Strong,\n color: tokens.colorNeutralForeground2,\n },\n});\n\nconst useDismissButtonStyles = makeStyles({\n canvas: {\n borderRadius: tokens.borderRadius2XL,\n paddingLeft: tokens.spacingHorizontalL,\n paddingRight: tokens.spacingHorizontalM,\n },\n sidecar: {\n paddingLeft: tokens.spacingHorizontalM,\n paddingRight: tokens.spacingHorizontalS,\n borderRadius: tokens.borderRadiusXLarge,\n },\n});\n\n/**\n * Apply styling to the AgentTag slots based on the state\n */\nexport const useAgentTagStyles_unstable = (state: AgentTagState): AgentTagState => {\n 'use no memo';\n\n const { mode } = state;\n\n const contentStyles = useContentStyles();\n const dismissButtonStyles = useDismissButtonStyles();\n const mediaStyles = useMediaStyles();\n\n state.root.className = mergeClasses(agentTagClassNames.root, state.root.className);\n\n state.primaryAction.className = mergeClasses(agentTagClassNames.primaryAction, state.primaryAction.className);\n\n state.dismissIcon.className = mergeClasses(agentTagClassNames.dismissIcon, state.dismissIcon.className);\n\n state.dismissButton.className = mergeClasses(\n agentTagClassNames.dismissButton,\n dismissButtonStyles[mode],\n state.dismissButton.className,\n );\n\n if (state.media) {\n state.media.className = mergeClasses(agentTagClassNames.media, mediaStyles[mode], state.media.className);\n }\n\n state.content.className = mergeClasses(agentTagClassNames.content, contentStyles[mode], state.content.className);\n\n if (state.progress) {\n state.progress.className = mergeClasses(agentTagClassNames.progress, state.progress.className);\n }\n\n useAttachmentStyles_unstable(state);\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","useAttachmentStyles_unstable","tokens","typographyStyles","agentTagClassNames","root","primaryAction","dismissIcon","dismissButton","media","content","progress","useMediaStyles","canvas","width","height","sidecar","useContentStyles","subtitle2","color","colorNeutralForeground2","body1Strong","useDismissButtonStyles","borderRadius","borderRadius2XL","paddingLeft","spacingHorizontalL","paddingRight","spacingHorizontalM","spacingHorizontalS","borderRadiusXLarge","useAgentTagStyles_unstable","state","mode","contentStyles","dismissButtonStyles","mediaStyles","className"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,UAAU,EAAEC,YAAY,QAAQ,6BAA6B;AAGtE,SAASC,4BAA4B,QAAQ,KAAK;AAClD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,2BAA2B;AAEpE,OAAO,MAAMC,qBAAoD;IAC/DC,MAAM;IACNC,eAAe;IACfC,aAAa;IACbC,eAAe;IACfC,OAAO;IACPC,SAAS;IACTC,UAAU;AACZ,EAAE;AAEF,MAAMC,iBAAiBb,WAAW;IAChCc,QAAQ;QACNC,OAAO;QACPC,QAAQ;IACV;IACAC,SAAS;QAAEF,OAAO;QAAQC,QAAQ;IAAO;AAC3C;AAEA,MAAME,mBAAmBlB,WAAW;IAClCc,QAAQ;QACN,GAAGV,iBAAiBe,SAAS;QAC7BC,OAAOjB,OAAOkB,uBAAuB;IACvC;IACAJ,SAAS;QACP,GAAGb,iBAAiBkB,WAAW;QAC/BF,OAAOjB,OAAOkB,uBAAuB;IACvC;AACF;AAEA,MAAME,yBAAyBvB,WAAW;IACxCc,QAAQ;QACNU,cAAcrB,OAAOsB,eAAe;QACpCC,aAAavB,OAAOwB,kBAAkB;QACtCC,cAAczB,OAAO0B,kBAAkB;IACzC;IACAZ,SAAS;QACPS,aAAavB,OAAO0B,kBAAkB;QACtCD,cAAczB,OAAO2B,kBAAkB;QACvCN,cAAcrB,OAAO4B,kBAAkB;IACzC;AACF;AAEA;;CAEC,GACD,OAAO,MAAMC,6BAA6B,CAACC;IACzC;IAEA,MAAM,EAAEC,IAAI,EAAE,GAAGD;IAEjB,MAAME,gBAAgBjB;IACtB,MAAMkB,sBAAsBb;IAC5B,MAAMc,cAAcxB;IAEpBoB,MAAM3B,IAAI,CAACgC,SAAS,GAAGrC,aAAaI,mBAAmBC,IAAI,EAAE2B,MAAM3B,IAAI,CAACgC,SAAS;IAEjFL,MAAM1B,aAAa,CAAC+B,SAAS,GAAGrC,aAAaI,mBAAmBE,aAAa,EAAE0B,MAAM1B,aAAa,CAAC+B,SAAS;IAE5GL,MAAMzB,WAAW,CAAC8B,SAAS,GAAGrC,aAAaI,mBAAmBG,WAAW,EAAEyB,MAAMzB,WAAW,CAAC8B,SAAS;IAEtGL,MAAMxB,aAAa,CAAC6B,SAAS,GAAGrC,aAC9BI,mBAAmBI,aAAa,EAChC2B,mBAAmB,CAACF,KAAK,EACzBD,MAAMxB,aAAa,CAAC6B,SAAS;IAG/B,IAAIL,MAAMvB,KAAK,EAAE;QACfuB,MAAMvB,KAAK,CAAC4B,SAAS,GAAGrC,aAAaI,mBAAmBK,KAAK,EAAE2B,WAAW,CAACH,KAAK,EAAED,MAAMvB,KAAK,CAAC4B,SAAS;IACzG;IAEAL,MAAMtB,OAAO,CAAC2B,SAAS,GAAGrC,aAAaI,mBAAmBM,OAAO,EAAEwB,aAAa,CAACD,KAAK,EAAED,MAAMtB,OAAO,CAAC2B,SAAS;IAE/G,IAAIL,MAAMrB,QAAQ,EAAE;QAClBqB,MAAMrB,QAAQ,CAAC0B,SAAS,GAAGrC,aAAaI,mBAAmBO,QAAQ,EAAEqB,MAAMrB,QAAQ,CAAC0B,SAAS;IAC/F;IAEApC,6BAA6B+B;IAE7B,OAAOA;AACT,EAAE"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { makeStyles, mergeClasses } from '@fluentui/react-components';
|
|
2
|
-
import { useAttachmentStyles_unstable } from '..';
|
|
3
|
-
import { tokens, typographyStyles } from '@fluentui-copilot/tokens';
|
|
4
|
-
export const agentTagClassNames = {
|
|
5
|
-
root: 'fai-AgentTag',
|
|
6
|
-
primaryAction: 'fai-AgentTag__primaryAction',
|
|
7
|
-
dismissIcon: 'fai-AgentTag__dismissIcon',
|
|
8
|
-
dismissButton: 'fai-AgentTag__dismissButton',
|
|
9
|
-
media: 'fai-AgentTag__media',
|
|
10
|
-
content: 'fai-AgentTag__content',
|
|
11
|
-
progress: 'fai-AgentTag__progress'
|
|
12
|
-
};
|
|
13
|
-
const useMediaStyles = makeStyles({
|
|
14
|
-
canvas: {
|
|
15
|
-
width: '24px',
|
|
16
|
-
height: '24px'
|
|
17
|
-
},
|
|
18
|
-
sidecar: {
|
|
19
|
-
width: '20px',
|
|
20
|
-
height: '20px'
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
const useContentStyles = makeStyles({
|
|
24
|
-
canvas: {
|
|
25
|
-
...typographyStyles.subtitle2,
|
|
26
|
-
color: tokens.colorNeutralForeground2
|
|
27
|
-
},
|
|
28
|
-
sidecar: {
|
|
29
|
-
...typographyStyles.body1Strong,
|
|
30
|
-
color: tokens.colorNeutralForeground2
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
const useDismissButtonStyles = makeStyles({
|
|
34
|
-
canvas: {
|
|
35
|
-
borderRadius: tokens.borderRadius2XL,
|
|
36
|
-
paddingLeft: tokens.spacingHorizontalL,
|
|
37
|
-
paddingRight: tokens.spacingHorizontalM
|
|
38
|
-
},
|
|
39
|
-
sidecar: {
|
|
40
|
-
paddingLeft: tokens.spacingHorizontalM,
|
|
41
|
-
paddingRight: tokens.spacingHorizontalS,
|
|
42
|
-
borderRadius: tokens.borderRadiusXLarge
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
/**
|
|
46
|
-
* Apply styling to the AgentTag slots based on the state
|
|
47
|
-
*/ export const useAgentTagStyles_unstable = (state)=>{
|
|
48
|
-
'use no memo';
|
|
49
|
-
const { mode } = state;
|
|
50
|
-
const contentStyles = useContentStyles();
|
|
51
|
-
const dismissButtonStyles = useDismissButtonStyles();
|
|
52
|
-
const mediaStyles = useMediaStyles();
|
|
53
|
-
state.root.className = mergeClasses(agentTagClassNames.root, state.root.className);
|
|
54
|
-
state.primaryAction.className = mergeClasses(agentTagClassNames.primaryAction, state.primaryAction.className);
|
|
55
|
-
state.dismissIcon.className = mergeClasses(agentTagClassNames.dismissIcon, state.dismissIcon.className);
|
|
56
|
-
state.dismissButton.className = mergeClasses(agentTagClassNames.dismissButton, dismissButtonStyles[mode], state.dismissButton.className);
|
|
57
|
-
if (state.media) {
|
|
58
|
-
state.media.className = mergeClasses(agentTagClassNames.media, mediaStyles[mode], state.media.className);
|
|
59
|
-
}
|
|
60
|
-
state.content.className = mergeClasses(agentTagClassNames.content, contentStyles[mode], state.content.className);
|
|
61
|
-
if (state.progress) {
|
|
62
|
-
state.progress.className = mergeClasses(agentTagClassNames.progress, state.progress.className);
|
|
63
|
-
}
|
|
64
|
-
useAttachmentStyles_unstable(state);
|
|
65
|
-
return state;
|
|
66
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["useAgentTagStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } from '@fluentui/react-components';\nimport type { AgentTagSlots, AgentTagState } from './AgentTag.types';\nimport type { SlotClassNames } from '@fluentui/react-components';\nimport { useAttachmentStyles_unstable } from '..';\nimport { tokens, typographyStyles } from '@fluentui-copilot/tokens';\n\nexport const agentTagClassNames: SlotClassNames<AgentTagSlots> = {\n root: 'fai-AgentTag',\n primaryAction: 'fai-AgentTag__primaryAction',\n dismissIcon: 'fai-AgentTag__dismissIcon',\n dismissButton: 'fai-AgentTag__dismissButton',\n media: 'fai-AgentTag__media',\n content: 'fai-AgentTag__content',\n progress: 'fai-AgentTag__progress',\n};\n\nconst useMediaStyles = makeStyles({\n canvas: {\n width: '24px',\n height: '24px',\n },\n sidecar: { width: '20px', height: '20px' },\n});\n\nconst useContentStyles = makeStyles({\n canvas: {\n ...typographyStyles.subtitle2,\n color: tokens.colorNeutralForeground2,\n },\n sidecar: {\n ...typographyStyles.body1Strong,\n color: tokens.colorNeutralForeground2,\n },\n});\n\nconst useDismissButtonStyles = makeStyles({\n canvas: {\n borderRadius: tokens.borderRadius2XL,\n paddingLeft: tokens.spacingHorizontalL,\n paddingRight: tokens.spacingHorizontalM,\n },\n sidecar: {\n paddingLeft: tokens.spacingHorizontalM,\n paddingRight: tokens.spacingHorizontalS,\n borderRadius: tokens.borderRadiusXLarge,\n },\n});\n\n/**\n * Apply styling to the AgentTag slots based on the state\n */\nexport const useAgentTagStyles_unstable = (state: AgentTagState): AgentTagState => {\n 'use no memo';\n\n const { mode } = state;\n\n const contentStyles = useContentStyles();\n const dismissButtonStyles = useDismissButtonStyles();\n const mediaStyles = useMediaStyles();\n\n state.root.className = mergeClasses(agentTagClassNames.root, state.root.className);\n\n state.primaryAction.className = mergeClasses(agentTagClassNames.primaryAction, state.primaryAction.className);\n\n state.dismissIcon.className = mergeClasses(agentTagClassNames.dismissIcon, state.dismissIcon.className);\n\n state.dismissButton.className = mergeClasses(\n agentTagClassNames.dismissButton,\n dismissButtonStyles[mode],\n state.dismissButton.className,\n );\n\n if (state.media) {\n state.media.className = mergeClasses(agentTagClassNames.media, mediaStyles[mode], state.media.className);\n }\n\n state.content.className = mergeClasses(agentTagClassNames.content, contentStyles[mode], state.content.className);\n\n if (state.progress) {\n state.progress.className = mergeClasses(agentTagClassNames.progress, state.progress.className);\n }\n\n useAttachmentStyles_unstable(state);\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","useAttachmentStyles_unstable","tokens","typographyStyles","agentTagClassNames","root","primaryAction","dismissIcon","dismissButton","media","content","progress","useMediaStyles","canvas","width","height","sidecar","useContentStyles","subtitle2","color","colorNeutralForeground2","body1Strong","useDismissButtonStyles","borderRadius","borderRadius2XL","paddingLeft","spacingHorizontalL","paddingRight","spacingHorizontalM","spacingHorizontalS","borderRadiusXLarge","useAgentTagStyles_unstable","state","mode","contentStyles","dismissButtonStyles","mediaStyles","className"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,UAAU,EAAEC,YAAY,QAAQ,6BAA6B;AAGtE,SAASC,4BAA4B,QAAQ,KAAK;AAClD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,2BAA2B;AAEpE,OAAO,MAAMC,qBAAoD;IAC/DC,MAAM;IACNC,eAAe;IACfC,aAAa;IACbC,eAAe;IACfC,OAAO;IACPC,SAAS;IACTC,UAAU;AACZ,EAAE;AAEF,MAAMC,iBAAiBb,WAAW;IAChCc,QAAQ;QACNC,OAAO;QACPC,QAAQ;IACV;IACAC,SAAS;QAAEF,OAAO;QAAQC,QAAQ;IAAO;AAC3C;AAEA,MAAME,mBAAmBlB,WAAW;IAClCc,QAAQ;QACN,GAAGV,iBAAiBe,SAAS;QAC7BC,OAAOjB,OAAOkB,uBAAuB;IACvC;IACAJ,SAAS;QACP,GAAGb,iBAAiBkB,WAAW;QAC/BF,OAAOjB,OAAOkB,uBAAuB;IACvC;AACF;AAEA,MAAME,yBAAyBvB,WAAW;IACxCc,QAAQ;QACNU,cAAcrB,OAAOsB,eAAe;QACpCC,aAAavB,OAAOwB,kBAAkB;QACtCC,cAAczB,OAAO0B,kBAAkB;IACzC;IACAZ,SAAS;QACPS,aAAavB,OAAO0B,kBAAkB;QACtCD,cAAczB,OAAO2B,kBAAkB;QACvCN,cAAcrB,OAAO4B,kBAAkB;IACzC;AACF;AAEA;;CAEC,GACD,OAAO,MAAMC,6BAA6B,CAACC;IACzC;IAEA,MAAM,EAAEC,IAAI,EAAE,GAAGD;IAEjB,MAAME,gBAAgBjB;IACtB,MAAMkB,sBAAsBb;IAC5B,MAAMc,cAAcxB;IAEpBoB,MAAM3B,IAAI,CAACgC,SAAS,GAAGrC,aAAaI,mBAAmBC,IAAI,EAAE2B,MAAM3B,IAAI,CAACgC,SAAS;IAEjFL,MAAM1B,aAAa,CAAC+B,SAAS,GAAGrC,aAAaI,mBAAmBE,aAAa,EAAE0B,MAAM1B,aAAa,CAAC+B,SAAS;IAE5GL,MAAMzB,WAAW,CAAC8B,SAAS,GAAGrC,aAAaI,mBAAmBG,WAAW,EAAEyB,MAAMzB,WAAW,CAAC8B,SAAS;IAEtGL,MAAMxB,aAAa,CAAC6B,SAAS,GAAGrC,aAC9BI,mBAAmBI,aAAa,EAChC2B,mBAAmB,CAACF,KAAK,EACzBD,MAAMxB,aAAa,CAAC6B,SAAS;IAG/B,IAAIL,MAAMvB,KAAK,EAAE;QACfuB,MAAMvB,KAAK,CAAC4B,SAAS,GAAGrC,aAAaI,mBAAmBK,KAAK,EAAE2B,WAAW,CAACH,KAAK,EAAED,MAAMvB,KAAK,CAAC4B,SAAS;IACzG;IAEAL,MAAMtB,OAAO,CAAC2B,SAAS,GAAGrC,aAAaI,mBAAmBM,OAAO,EAAEwB,aAAa,CAACD,KAAK,EAAED,MAAMtB,OAAO,CAAC2B,SAAS;IAE/G,IAAIL,MAAMrB,QAAQ,EAAE;QAClBqB,MAAMrB,QAAQ,CAAC0B,SAAS,GAAGrC,aAAaI,mBAAmBO,QAAQ,EAAEqB,MAAMrB,QAAQ,CAAC0B,SAAS;IAC/F;IAEApC,6BAA6B+B;IAE7B,OAAOA;AACT,EAAE"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { useAttachment_unstable } from './useAttachment';
|
|
3
|
-
import { renderAttachment_unstable } from './renderAttachment';
|
|
4
|
-
import { useAttachmentStyles_unstable } from './useAttachmentStyles.styles';
|
|
5
|
-
import { useCustomStyleHook } from '@fluentui-copilot/react-provider';
|
|
6
|
-
// Attachment component - TODO: add more docs
|
|
7
|
-
export const Attachment = /*#__PURE__*/ React.forwardRef((props, ref)=>{
|
|
8
|
-
const state = useAttachment_unstable(props, ref);
|
|
9
|
-
useAttachmentStyles_unstable(state);
|
|
10
|
-
useCustomStyleHook('useAttachmentStyles')(state);
|
|
11
|
-
return renderAttachment_unstable(state);
|
|
12
|
-
});
|
|
13
|
-
Attachment.displayName = 'Attachment';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Attachment.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useAttachment_unstable } from './useAttachment';\nimport { renderAttachment_unstable } from './renderAttachment';\nimport { useAttachmentStyles_unstable } from './useAttachmentStyles.styles';\nimport type { AttachmentProps } from './Attachment.types';\nimport type { ForwardRefComponent } from '@fluentui/react-components';\nimport { useCustomStyleHook } from '@fluentui-copilot/react-provider';\n\n// Attachment component - TODO: add more docs\nexport const Attachment: ForwardRefComponent<AttachmentProps> = React.forwardRef((props, ref) => {\n const state = useAttachment_unstable(props, ref);\n\n useAttachmentStyles_unstable(state);\n useCustomStyleHook('useAttachmentStyles')(state);\n\n return renderAttachment_unstable(state);\n});\n\nAttachment.displayName = 'Attachment';\n"],"names":["React","useAttachment_unstable","renderAttachment_unstable","useAttachmentStyles_unstable","useCustomStyleHook","Attachment","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,sBAAsB,QAAQ,kBAAkB;AACzD,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,4BAA4B,QAAQ,+BAA+B;AAG5E,SAASC,kBAAkB,QAAQ,mCAAmC;AAEtE,6CAA6C;AAC7C,OAAO,MAAMC,2BAAmDL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IACvF,MAAMC,QAAQR,uBAAuBM,OAAOC;IAE5CL,6BAA6BM;IAC7BL,mBAAmB,uBAAuBK;IAE1C,OAAOP,0BAA0BO;AACnC,GAAG;AAEHJ,WAAWK,WAAW,GAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["Attachment.types.ts"],"sourcesContent":["import type { CopilotMode, DesignVersion } from '@fluentui-copilot/react-provider';\nimport type { ComponentProps, ComponentState, ProgressBar, Slot } from '@fluentui/react-components';\n\nexport type AttachmentSlots = {\n root: NonNullable<Slot<'div'>>;\n\n /**\n * Attachments support a primary action.\n */\n primaryAction: NonNullable<Slot<'button', 'span'>>;\n\n /**\n * Attachments have a dismiss button.\n */\n dismissButton: NonNullable<Slot<'button'>>;\n\n /**\n * Attachments can include an image or other media.\n */\n media?: Slot<'span'>;\n\n /**\n * The content of the attachment.\n */\n content: NonNullable<Slot<'span'>>;\n\n /**\n * The icon that renders for the `dismissButton`.\n */\n dismissIcon: NonNullable<Slot<'span'>>;\n\n /**\n * An attachment supports a progress bar, which can display the attachment's upload progress.\n */\n progress?: Slot<typeof ProgressBar>;\n};\n\n/**\n * Attachment Props\n */\nexport type AttachmentProps = Omit<ComponentProps<Partial<AttachmentSlots>>, 'content'> &\n Pick<Partial<AttachmentSlots>, 'content'> &\n CopilotMode &\n DesignVersion & {\n /**\n * Use this prop if an attachment has no text content.\n *\n * @default false\n */\n imageOnly?: boolean;\n\n /**\n * An attachment supports different sizes.\n *\n * @default 'medium'\n */\n size?: 'small' | 'medium';\n /**\n * Use this prop if the attachment has no primary action\n * and should be rendered as a single button\n */\n dismissOnly?: boolean;\n };\n\n/**\n * State used in rendering Attachment\n */\nexport type AttachmentState = ComponentState<AttachmentSlots> &\n Required<Pick<AttachmentProps, 'id' | 'size' | 'designVersion' | 'mode' | 'dismissOnly'>> &\n Pick<AttachmentProps, 'imageOnly'> & {\n isLoading: boolean;\n shouldUseOverflow: boolean;\n };\n"],"names":[],"rangeMappings":";;","mappings":"AAgEA;;CAEC,GACD,WAKI"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Attachment } from './Attachment';
|
|
2
|
-
export { renderAttachment_unstable } from './renderAttachment';
|
|
3
|
-
export { useAttachment_unstable } from './useAttachment';
|
|
4
|
-
export { attachmentClassNames, useAttachmentStyles_unstable, useOverflowStyles } from './useAttachmentStyles.styles';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export { Attachment } from './Attachment';\nexport type { AttachmentProps, AttachmentSlots, AttachmentState } from './Attachment.types';\nexport { renderAttachment_unstable } from './renderAttachment';\nexport { useAttachment_unstable } from './useAttachment';\nexport { attachmentClassNames, useAttachmentStyles_unstable, useOverflowStyles } from './useAttachmentStyles.styles';\n"],"names":["Attachment","renderAttachment_unstable","useAttachment_unstable","attachmentClassNames","useAttachmentStyles_unstable","useOverflowStyles"],"rangeMappings":";;;","mappings":"AAAA,SAASA,UAAU,QAAQ,eAAe;AAE1C,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,sBAAsB,QAAQ,kBAAkB;AACzD,SAASC,oBAAoB,EAAEC,4BAA4B,EAAEC,iBAAiB,QAAQ,+BAA+B"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@fluentui/react-jsx-runtime/jsx-runtime";
|
|
2
|
-
import { OverflowItem, assertSlots } from '@fluentui/react-components';
|
|
3
|
-
/**
|
|
4
|
-
* Render the final JSX of Attachment
|
|
5
|
-
*/ export const renderAttachment_unstable = (state)=>{
|
|
6
|
-
const { id, shouldUseOverflow, designVersion, dismissOnly } = state;
|
|
7
|
-
const attachment = designVersion === 'next' && dismissOnly ? renderDismissOnly(state) : renderAttachment(state);
|
|
8
|
-
return shouldUseOverflow ? /*#__PURE__*/ _jsx(OverflowItem, {
|
|
9
|
-
id: id,
|
|
10
|
-
children: attachment
|
|
11
|
-
}, id) : attachment;
|
|
12
|
-
};
|
|
13
|
-
const renderAttachment = (state)=>{
|
|
14
|
-
assertSlots(state);
|
|
15
|
-
return /*#__PURE__*/ _jsxs(state.root, {
|
|
16
|
-
children: [
|
|
17
|
-
/*#__PURE__*/ _jsxs(state.primaryAction, {
|
|
18
|
-
children: [
|
|
19
|
-
state.media && !state.imageOnly && /*#__PURE__*/ _jsx(state.media, {}),
|
|
20
|
-
/*#__PURE__*/ _jsx(state.content, {}),
|
|
21
|
-
state.progress && /*#__PURE__*/ _jsx(state.progress, {})
|
|
22
|
-
]
|
|
23
|
-
}),
|
|
24
|
-
/*#__PURE__*/ _jsx(state.dismissButton, {
|
|
25
|
-
children: /*#__PURE__*/ _jsx(state.dismissIcon, {})
|
|
26
|
-
})
|
|
27
|
-
]
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
const renderDismissOnly = (state)=>{
|
|
31
|
-
assertSlots(state);
|
|
32
|
-
return /*#__PURE__*/ _jsx(state.root, {
|
|
33
|
-
children: /*#__PURE__*/ _jsxs(state.dismissButton, {
|
|
34
|
-
children: [
|
|
35
|
-
state.media && !state.imageOnly && /*#__PURE__*/ _jsx(state.media, {}),
|
|
36
|
-
/*#__PURE__*/ _jsx(state.content, {}),
|
|
37
|
-
state.progress && /*#__PURE__*/ _jsx(state.progress, {}),
|
|
38
|
-
/*#__PURE__*/ _jsx(state.dismissIcon, {})
|
|
39
|
-
]
|
|
40
|
-
})
|
|
41
|
-
});
|
|
42
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["renderAttachment.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { OverflowItem, assertSlots } from '@fluentui/react-components';\nimport type { AttachmentState, AttachmentSlots } from './Attachment.types';\n\n/**\n * Render the final JSX of Attachment\n */\nexport const renderAttachment_unstable = (state: AttachmentState) => {\n const { id, shouldUseOverflow, designVersion, dismissOnly } = state;\n\n const attachment = designVersion === 'next' && dismissOnly ? renderDismissOnly(state) : renderAttachment(state);\n\n return shouldUseOverflow ? (\n <OverflowItem id={id} key={id}>\n {attachment}\n </OverflowItem>\n ) : (\n attachment\n );\n};\n\nconst renderAttachment = (state: AttachmentState) => {\n assertSlots<AttachmentSlots>(state);\n\n return (\n <state.root>\n <state.primaryAction>\n {state.media && !state.imageOnly && <state.media />}\n <state.content />\n {state.progress && <state.progress />}\n </state.primaryAction>\n <state.dismissButton>\n <state.dismissIcon />\n </state.dismissButton>\n </state.root>\n );\n};\n\nconst renderDismissOnly = (state: AttachmentState) => {\n assertSlots<AttachmentSlots>(state);\n\n return (\n <state.root>\n <state.dismissButton>\n {state.media && !state.imageOnly && <state.media />}\n <state.content />\n {state.progress && <state.progress />}\n <state.dismissIcon />\n </state.dismissButton>\n </state.root>\n );\n};\n"],"names":["OverflowItem","assertSlots","renderAttachment_unstable","state","id","shouldUseOverflow","designVersion","dismissOnly","attachment","renderDismissOnly","renderAttachment","root","primaryAction","media","imageOnly","content","progress","dismissButton","dismissIcon"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,YAAY,EAAEC,WAAW,QAAQ,6BAA6B;AAGvE;;CAEC,GACD,OAAO,MAAMC,4BAA4B,CAACC;IACxC,MAAM,EAAEC,EAAE,EAAEC,iBAAiB,EAAEC,aAAa,EAAEC,WAAW,EAAE,GAAGJ;IAE9D,MAAMK,aAAaF,kBAAkB,UAAUC,cAAcE,kBAAkBN,SAASO,iBAAiBP;IAEzG,OAAOE,kCACL,KAACL;QAAaI,IAAIA;kBACfI;OADwBJ,MAI3BI;AAEJ,EAAE;AAEF,MAAME,mBAAmB,CAACP;IACxBF,YAA6BE;IAE7B,qBACE,MAACA,MAAMQ,IAAI;;0BACT,MAACR,MAAMS,aAAa;;oBACjBT,MAAMU,KAAK,IAAI,CAACV,MAAMW,SAAS,kBAAI,KAACX,MAAMU,KAAK;kCAChD,KAACV,MAAMY,OAAO;oBACbZ,MAAMa,QAAQ,kBAAI,KAACb,MAAMa,QAAQ;;;0BAEpC,KAACb,MAAMc,aAAa;0BAClB,cAAA,KAACd,MAAMe,WAAW;;;;AAI1B;AAEA,MAAMT,oBAAoB,CAACN;IACzBF,YAA6BE;IAE7B,qBACE,KAACA,MAAMQ,IAAI;kBACT,cAAA,MAACR,MAAMc,aAAa;;gBACjBd,MAAMU,KAAK,IAAI,CAACV,MAAMW,SAAS,kBAAI,KAACX,MAAMU,KAAK;8BAChD,KAACV,MAAMY,OAAO;gBACbZ,MAAMa,QAAQ,kBAAI,KAACb,MAAMa,QAAQ;8BAClC,KAACb,MAAMe,WAAW;;;;AAI1B"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ProgressBar, getIntrinsicElementProps, mergeCallbacks, slot, useId } from '@fluentui/react-components';
|
|
3
|
-
import { Dismiss12Regular, Dismiss20Regular } from '@fluentui/react-icons';
|
|
4
|
-
import { useAttachmentListContext_unstable } from '../../contexts/attachmentListContext';
|
|
5
|
-
import { useCopilotMode, useDesignVersion } from '@fluentui-copilot/react-provider';
|
|
6
|
-
/**
|
|
7
|
-
* Create the state required to render Attachment.
|
|
8
|
-
*
|
|
9
|
-
* The returned state can be modified with hooks such as useAttachmentStyles_unstable,
|
|
10
|
-
* before being passed to renderAttachment_unstable.
|
|
11
|
-
*
|
|
12
|
-
* @param props - props from this instance of Attachment
|
|
13
|
-
* @param ref - reference to root HTMLElement of Attachment
|
|
14
|
-
*/ export const useAttachment_unstable = (props, ref)=>{
|
|
15
|
-
const { children, imageOnly, size = 'medium', dismissOnly = false } = props;
|
|
16
|
-
const { onAttachmentDismiss, shouldUseOverflow } = useAttachmentListContext_unstable((context)=>context);
|
|
17
|
-
const attachmentId = useId('attachment-', props.id);
|
|
18
|
-
const isLoading = !!props.progress;
|
|
19
|
-
const mode = useCopilotMode(props.mode);
|
|
20
|
-
const designVersion = useDesignVersion(props.designVersion);
|
|
21
|
-
const root = slot.always(getIntrinsicElementProps('div', {
|
|
22
|
-
ref,
|
|
23
|
-
...props,
|
|
24
|
-
id: attachmentId
|
|
25
|
-
}, // `content` is a slot and it's type clashes with the HTMLElement `content` attribute
|
|
26
|
-
[
|
|
27
|
-
'content'
|
|
28
|
-
]), {
|
|
29
|
-
elementType: 'div'
|
|
30
|
-
});
|
|
31
|
-
const primaryAction = slot.always(props.primaryAction, {
|
|
32
|
-
defaultProps: {
|
|
33
|
-
as: dismissOnly ? 'span' : undefined
|
|
34
|
-
},
|
|
35
|
-
elementType: 'button'
|
|
36
|
-
});
|
|
37
|
-
const dismissButton = slot.always(props.dismissButton, {
|
|
38
|
-
defaultProps: {
|
|
39
|
-
'aria-label': 'Remove attachment'
|
|
40
|
-
},
|
|
41
|
-
elementType: 'button'
|
|
42
|
-
});
|
|
43
|
-
dismissButton.onClick = mergeCallbacks(dismissButton.onClick, (ev)=>{
|
|
44
|
-
onAttachmentDismiss === null || onAttachmentDismiss === void 0 ? void 0 : onAttachmentDismiss(ev, {
|
|
45
|
-
content: children,
|
|
46
|
-
media,
|
|
47
|
-
id: attachmentId
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
const media = slot.optional(props.media, {
|
|
51
|
-
elementType: 'span'
|
|
52
|
-
});
|
|
53
|
-
const content = slot.always(props.content, {
|
|
54
|
-
defaultProps: {
|
|
55
|
-
children: props.children
|
|
56
|
-
},
|
|
57
|
-
elementType: 'span'
|
|
58
|
-
});
|
|
59
|
-
const dismissIcon = slot.always(props.dismissIcon, {
|
|
60
|
-
defaultProps: {
|
|
61
|
-
children: size === 'small' ? /*#__PURE__*/ React.createElement(Dismiss12Regular, null) : /*#__PURE__*/ React.createElement(Dismiss20Regular, null)
|
|
62
|
-
},
|
|
63
|
-
elementType: 'span'
|
|
64
|
-
});
|
|
65
|
-
const progress = slot.optional(props.progress, {
|
|
66
|
-
defaultProps: {
|
|
67
|
-
shape: 'square',
|
|
68
|
-
thickness: 'large',
|
|
69
|
-
'aria-labelledby': props.id
|
|
70
|
-
},
|
|
71
|
-
elementType: ProgressBar
|
|
72
|
-
});
|
|
73
|
-
const state = {
|
|
74
|
-
id: attachmentId,
|
|
75
|
-
size,
|
|
76
|
-
components: {
|
|
77
|
-
root: 'div',
|
|
78
|
-
primaryAction: 'button',
|
|
79
|
-
dismissButton: 'button',
|
|
80
|
-
media: 'span',
|
|
81
|
-
content: 'span',
|
|
82
|
-
dismissIcon: 'span',
|
|
83
|
-
progress: ProgressBar
|
|
84
|
-
},
|
|
85
|
-
root,
|
|
86
|
-
primaryAction,
|
|
87
|
-
dismissButton,
|
|
88
|
-
media,
|
|
89
|
-
content,
|
|
90
|
-
dismissIcon,
|
|
91
|
-
progress,
|
|
92
|
-
imageOnly,
|
|
93
|
-
isLoading,
|
|
94
|
-
shouldUseOverflow,
|
|
95
|
-
mode,
|
|
96
|
-
designVersion,
|
|
97
|
-
dismissOnly
|
|
98
|
-
};
|
|
99
|
-
if (state.primaryAction.as === 'span') {
|
|
100
|
-
state.components.primaryAction = 'span';
|
|
101
|
-
}
|
|
102
|
-
return state;
|
|
103
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["useAttachment.tsx"],"sourcesContent":["import * as React from 'react';\nimport { ProgressBar, getIntrinsicElementProps, mergeCallbacks, slot, useId } from '@fluentui/react-components';\nimport { Dismiss12Regular, Dismiss20Regular } from '@fluentui/react-icons';\nimport { useAttachmentListContext_unstable } from '../../contexts/attachmentListContext';\nimport type { AttachmentProps, AttachmentState } from './Attachment.types';\nimport { useCopilotMode, useDesignVersion } from '@fluentui-copilot/react-provider';\n\n/**\n * Create the state required to render Attachment.\n *\n * The returned state can be modified with hooks such as useAttachmentStyles_unstable,\n * before being passed to renderAttachment_unstable.\n *\n * @param props - props from this instance of Attachment\n * @param ref - reference to root HTMLElement of Attachment\n */\nexport const useAttachment_unstable = (props: AttachmentProps, ref: React.Ref<HTMLDivElement>): AttachmentState => {\n const { children, imageOnly, size = 'medium', dismissOnly = false } = props;\n const { onAttachmentDismiss, shouldUseOverflow } = useAttachmentListContext_unstable(context => context);\n const attachmentId = useId('attachment-', props.id);\n const isLoading = !!props.progress;\n\n const mode = useCopilotMode(props.mode);\n const designVersion = useDesignVersion(props.designVersion);\n\n const root = slot.always(\n getIntrinsicElementProps(\n 'div',\n {\n ref,\n ...props,\n id: attachmentId,\n },\n // `content` is a slot and it's type clashes with the HTMLElement `content` attribute\n ['content'],\n ),\n { elementType: 'div' },\n );\n\n const primaryAction = slot.always(props.primaryAction, {\n defaultProps: { as: dismissOnly ? 'span' : undefined },\n elementType: 'button',\n });\n\n const dismissButton = slot.always(props.dismissButton, {\n defaultProps: { 'aria-label': 'Remove attachment' },\n elementType: 'button',\n });\n\n dismissButton.onClick = mergeCallbacks(\n dismissButton.onClick as React.MouseEventHandler<HTMLAnchorElement | HTMLButtonElement>,\n (ev: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => {\n onAttachmentDismiss?.(ev, { content: children, media, id: attachmentId });\n },\n );\n\n const media = slot.optional(props.media, { elementType: 'span' });\n\n const content = slot.always(props.content, {\n defaultProps: {\n children: props.children,\n },\n elementType: 'span',\n });\n\n const dismissIcon = slot.always(props.dismissIcon, {\n defaultProps: {\n children: size === 'small' ? <Dismiss12Regular /> : <Dismiss20Regular />,\n },\n elementType: 'span',\n });\n\n const progress = slot.optional(props.progress, {\n defaultProps: {\n shape: 'square',\n thickness: 'large',\n 'aria-labelledby': props.id,\n },\n elementType: ProgressBar,\n });\n\n const state: AttachmentState = {\n id: attachmentId,\n size,\n components: {\n root: 'div',\n primaryAction: 'button',\n dismissButton: 'button',\n media: 'span',\n content: 'span',\n dismissIcon: 'span',\n progress: ProgressBar,\n },\n\n root,\n primaryAction,\n dismissButton,\n media,\n content,\n dismissIcon,\n progress,\n imageOnly,\n isLoading,\n shouldUseOverflow,\n mode,\n designVersion,\n dismissOnly,\n };\n\n if (state.primaryAction.as === 'span') {\n state.components.primaryAction = 'span';\n }\n\n return state;\n};\n"],"names":["React","ProgressBar","getIntrinsicElementProps","mergeCallbacks","slot","useId","Dismiss12Regular","Dismiss20Regular","useAttachmentListContext_unstable","useCopilotMode","useDesignVersion","useAttachment_unstable","props","ref","children","imageOnly","size","dismissOnly","onAttachmentDismiss","shouldUseOverflow","context","attachmentId","id","isLoading","progress","mode","designVersion","root","always","elementType","primaryAction","defaultProps","as","undefined","dismissButton","onClick","ev","content","media","optional","dismissIcon","shape","thickness","state","components"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,WAAW,EAAEC,wBAAwB,EAAEC,cAAc,EAAEC,IAAI,EAAEC,KAAK,QAAQ,6BAA6B;AAChH,SAASC,gBAAgB,EAAEC,gBAAgB,QAAQ,wBAAwB;AAC3E,SAASC,iCAAiC,QAAQ,uCAAuC;AAEzF,SAASC,cAAc,EAAEC,gBAAgB,QAAQ,mCAAmC;AAEpF;;;;;;;;CAQC,GACD,OAAO,MAAMC,yBAAyB,CAACC,OAAwBC;IAC7D,MAAM,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,OAAO,QAAQ,EAAEC,cAAc,KAAK,EAAE,GAAGL;IACtE,MAAM,EAAEM,mBAAmB,EAAEC,iBAAiB,EAAE,GAAGX,kCAAkCY,CAAAA,UAAWA;IAChG,MAAMC,eAAehB,MAAM,eAAeO,MAAMU,EAAE;IAClD,MAAMC,YAAY,CAAC,CAACX,MAAMY,QAAQ;IAElC,MAAMC,OAAOhB,eAAeG,MAAMa,IAAI;IACtC,MAAMC,gBAAgBhB,iBAAiBE,MAAMc,aAAa;IAE1D,MAAMC,OAAOvB,KAAKwB,MAAM,CACtB1B,yBACE,OACA;QACEW;QACA,GAAGD,KAAK;QACRU,IAAID;IACN,GACA,qFAAqF;IACrF;QAAC;KAAU,GAEb;QAAEQ,aAAa;IAAM;IAGvB,MAAMC,gBAAgB1B,KAAKwB,MAAM,CAAChB,MAAMkB,aAAa,EAAE;QACrDC,cAAc;YAAEC,IAAIf,cAAc,SAASgB;QAAU;QACrDJ,aAAa;IACf;IAEA,MAAMK,gBAAgB9B,KAAKwB,MAAM,CAAChB,MAAMsB,aAAa,EAAE;QACrDH,cAAc;YAAE,cAAc;QAAoB;QAClDF,aAAa;IACf;IAEAK,cAAcC,OAAO,GAAGhC,eACtB+B,cAAcC,OAAO,EACrB,CAACC;QACClB,gCAAAA,0CAAAA,oBAAsBkB,IAAI;YAAEC,SAASvB;YAAUwB;YAAOhB,IAAID;QAAa;IACzE;IAGF,MAAMiB,QAAQlC,KAAKmC,QAAQ,CAAC3B,MAAM0B,KAAK,EAAE;QAAET,aAAa;IAAO;IAE/D,MAAMQ,UAAUjC,KAAKwB,MAAM,CAAChB,MAAMyB,OAAO,EAAE;QACzCN,cAAc;YACZjB,UAAUF,MAAME,QAAQ;QAC1B;QACAe,aAAa;IACf;IAEA,MAAMW,cAAcpC,KAAKwB,MAAM,CAAChB,MAAM4B,WAAW,EAAE;QACjDT,cAAc;YACZjB,UAAUE,SAAS,wBAAU,oBAACV,wCAAsB,oBAACC;QACvD;QACAsB,aAAa;IACf;IAEA,MAAML,WAAWpB,KAAKmC,QAAQ,CAAC3B,MAAMY,QAAQ,EAAE;QAC7CO,cAAc;YACZU,OAAO;YACPC,WAAW;YACX,mBAAmB9B,MAAMU,EAAE;QAC7B;QACAO,aAAa5B;IACf;IAEA,MAAM0C,QAAyB;QAC7BrB,IAAID;QACJL;QACA4B,YAAY;YACVjB,MAAM;YACNG,eAAe;YACfI,eAAe;YACfI,OAAO;YACPD,SAAS;YACTG,aAAa;YACbhB,UAAUvB;QACZ;QAEA0B;QACAG;QACAI;QACAI;QACAD;QACAG;QACAhB;QACAT;QACAQ;QACAJ;QACAM;QACAC;QACAT;IACF;IAEA,IAAI0B,MAAMb,aAAa,CAACE,EAAE,KAAK,QAAQ;QACrCW,MAAMC,UAAU,CAACd,aAAa,GAAG;IACnC;IAEA,OAAOa;AACT,EAAE"}
|