@azure/communication-react 1.18.0-alpha-202407180014 → 1.18.0-alpha-202407191547
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/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-Bi4Or6hk.js → ChatMessageComponentAsRichTextEditBox-ChK7xe6Z.js} +2 -2
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-Bi4Or6hk.js.map → ChatMessageComponentAsRichTextEditBox-ChK7xe6Z.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CaXswhPn.js → RichTextSendBoxWrapper-BLCHZv_g.js} +2 -2
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CaXswhPn.js.map → RichTextSendBoxWrapper-BLCHZv_g.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index-B3X0l4SB.js → index-BWVQuckY.js} +76 -72
- package/dist/dist-cjs/communication-react/index-BWVQuckY.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +14 -8
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +15 -17
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +101 -63
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +99 -61
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +99 -61
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +99 -61
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +99 -61
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +99 -61
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +102 -64
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +99 -61
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +99 -61
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +101 -63
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +106 -68
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +99 -61
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +105 -67
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +104 -66
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +102 -64
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +99 -61
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +101 -63
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +100 -62
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +10 -5
- package/package.json +7 -7
- package/dist/dist-cjs/communication-react/index-B3X0l4SB.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.18.0-alpha-
|
1
|
+
{"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.18.0-alpha-202407191547';\n"]}
|
@@ -16,7 +16,7 @@ import React from 'react';
|
|
16
16
|
import { Announcer } from '../Announcer';
|
17
17
|
import { useEffect, useState, useMemo } from 'react';
|
18
18
|
import { useLocaleAttachmentCardStringsTrampoline } from '../utils/common';
|
19
|
-
import { useAttachmentCardStyles,
|
19
|
+
import { useAttachmentCardStyles, ATTACHMENT_CARD_MIN_PROGRESS, titleTooltipContainerStyle } from '../styles/AttachmentCard.styles';
|
20
20
|
/**
|
21
21
|
* @internal
|
22
22
|
* A component for displaying an attachment card with attachment icon and progress bar.
|
@@ -56,18 +56,24 @@ export const _AttachmentCard = (props) => {
|
|
56
56
|
return (React.createElement("div", { "data-is-focusable": true },
|
57
57
|
React.createElement(Announcer, { announcementString: announcerString, ariaLive: 'polite' }),
|
58
58
|
React.createElement(Card, { className: mergeClasses(attachmentCardStyles.root, selfResizing ? attachmentCardStyles.dynamicWidth : attachmentCardStyles.staticWidth), size: "small", role: "listitem", appearance: "filled-alternative", "aria-label": attachment.name, "data-testid": 'attachment-card' },
|
59
|
-
React.createElement(CardHeader, { className: attachmentCardStyles.content, image:
|
60
|
-
|
59
|
+
React.createElement(CardHeader, { className: attachmentCardStyles.content, image: {
|
60
|
+
className: attachmentCardStyles.fileIcon,
|
61
|
+
children: (React.createElement(Icon, { "data-ui-id": 'attachmenttype-icon', iconName: getFileTypeIconProps({
|
61
62
|
extension: extension,
|
62
63
|
size: 24,
|
63
64
|
imageFileType: 'svg'
|
64
|
-
}).iconName }))
|
65
|
-
|
65
|
+
}).iconName }))
|
66
|
+
}, header: {
|
67
|
+
id: 'attachment-' + attachment.id,
|
68
|
+
children: (React.createElement(TooltipHost, { content: attachment.name, calloutProps: {
|
66
69
|
gapSpace: 0,
|
67
70
|
target: '#attachment-' + attachment.id
|
68
|
-
} },
|
69
|
-
React.createElement(
|
70
|
-
|
71
|
+
}, hostClassName: titleTooltipContainerStyle },
|
72
|
+
React.createElement(Text, { className: attachmentCardStyles.title, "aria-label": attachment.name }, attachment.name)))
|
73
|
+
}, action: {
|
74
|
+
className: attachmentCardStyles.actions,
|
75
|
+
children: MappedMenuItems(menuActions, Object.assign(Object.assign({}, attachment), { url: (_e = attachment.url) !== null && _e !== void 0 ? _e : '' }), onActionHandlerFailed)
|
76
|
+
} })),
|
71
77
|
isUploadInProgress ? (React.createElement(CardFooter, null,
|
72
78
|
React.createElement(ProgressBar, { thickness: "medium", value: Math.max(progress !== null && progress !== void 0 ? progress : 0, ATTACHMENT_CARD_MIN_PROGRESS), shape: "rounded" }))) : (React.createElement(React.Fragment, null, " "))));
|
73
79
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AttachmentCard.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/Attachment/AttachmentCard.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EACL,IAAI,EACJ,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,aAAa,EACb,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,UAAU,EACV,WAAW,EACX,YAAY,EACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,wCAAwC,EAAE,MAAM,iBAAiB,CAAC;AAG3E,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAChC,4BAA4B,EAC7B,MAAM,iCAAiC,CAAC;AA6BzC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAA2B,EAAe,EAAE;;IAC1E,MAAM,EAAE,UAAU,EAAE,WAA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AI,EACzB,OAAO,EAAE,GAAG,EAAE;gBACZ,IAAI,CAAC;oBACH,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;gBACrC,CAAC;gBAAC,OAAO,CAAC,EAAE,CAAC;oBACX,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAI,CAAW,CAAC,OAAO,CAAC,CAAC;gBAC7C,CAAC;YACH,CAAC,GACD,CACU,CACf,CAAC,CAAC,CAAC,CACF,oBAAC,OAAO;QACN,oBAAC,IAAI;YACH,oBAAC,WAAW,IAAC,OAAO,EAAE,aAAa,CAAC,kBAAkB;gBACpD,oBAAC,WAAW;oBACV,oBAAC,aAAa,kBACA,aAAa,CAAC,kBAAkB,EAC5C,IAAI,EAAC,QAAQ,EACb,IAAI,EAAE,oBAAC,IAAI,IAAC,QAAQ,EAAC,oBAAoB,GAAG,GAC5C,CACU,CACF;YACd,oBAAC,WAAW;gBACV,oBAAC,QAAQ,QACN,WAAW,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC,CACpC,oBAAC,QAAQ,kBACK,QAAQ,CAAC,IAAI,EACzB,GAAG,EAAE,KAAK,EACV,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,EAAE,GAAS,EAAE;wBAClB,IAAI,CAAC;4BACH,MAAM,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;wBACrC,CAAC;wBAAC,OAAO,CAAC,EAAE,CAAC;4BACX,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAI,CAAW,CAAC,OAAO,CAAC,CAAC;wBAC7C,CAAC;oBACH,CAAC,CAAA,IAEA,QAAQ,CAAC,IAAI,CACL,CACZ,CAAC,CACO,CACC,CACT,CACC,CACX,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Icon, TooltipHost } from '@fluentui/react';\nimport {\n Card,\n CardHeader,\n Text,\n Menu,\n MenuTrigger,\n ToolbarButton,\n MenuPopover,\n MenuItem,\n MenuList,\n Toolbar,\n CardFooter,\n ProgressBar,\n mergeClasses\n} from '@fluentui/react-components';\nimport { getFileTypeIconProps } from '@fluentui/react-file-type-icons';\nimport React from 'react';\nimport { _pxToRem } from '@internal/acs-ui-common';\nimport { Announcer } from '../Announcer';\nimport { useEffect, useState, useMemo } from 'react';\nimport { _AttachmentUploadCardsStrings } from './AttachmentUploadCards';\nimport { useLocaleAttachmentCardStringsTrampoline } from '../utils/common';\nimport { AttachmentMenuAction } from '../../types/Attachment';\nimport { AttachmentMetadata, AttachmentMetadataInProgress } from '@internal/acs-ui-common';\nimport {\n useAttachmentCardStyles,\n attachmentNameContainerClassName,\n ATTACHMENT_CARD_MIN_PROGRESS\n} from '../styles/AttachmentCard.styles';\n\n/**\n * @internal\n * AttachmentCard Component Props.\n */\nexport interface _AttachmentCardProps {\n /**\n * Attachment details including name, extension, url, etc.\n */\n attachment: AttachmentMetadata | AttachmentMetadataInProgress;\n /**\n * An array of menu actions to be displayed in the attachment card.\n */\n menuActions: AttachmentMenuAction[];\n /**\n * Optional aria label strings for attachment upload cards\n */\n strings?: _AttachmentUploadCardsStrings;\n /**\n * Optional callback that runs if menu bar action onclick throws.\n */\n onActionHandlerFailed?: (errMsg: string) => void;\n /**\n * Optional flag to enable self resizing of the attachment card.\n */\n selfResizing?: boolean;\n}\n\n/**\n * @internal\n * A component for displaying an attachment card with attachment icon and progress bar.\n *\n * `_AttachmentCard` internally uses the `Card` component from `@fluentui/react-components`. You can checkout the details about these components [here](https://react.fluentui.dev/?path=/docs/components-card).\n */\nexport const _AttachmentCard = (props: _AttachmentCardProps): JSX.Element => {\n const { attachment, menuActions, onActionHandlerFailed, selfResizing } = props;\n const attachmentCardStyles = useAttachmentCardStyles();\n\n const progress = useMemo(() => {\n return 'progress' in attachment ? attachment.progress : undefined;\n }, [attachment]);\n\n const isUploadInProgress = useMemo(() => {\n return progress !== undefined && progress >= 0 && progress < 1;\n }, [progress]);\n\n const [announcerString, setAnnouncerString] = useState<string | undefined>(undefined);\n const localeStrings = useLocaleAttachmentCardStringsTrampoline();\n const uploadStartedString = props.strings?.uploading ?? localeStrings.uploading;\n const uploadCompletedString = props.strings?.uploadCompleted ?? localeStrings.uploadCompleted;\n\n useEffect(() => {\n if (isUploadInProgress) {\n setAnnouncerString(`${uploadStartedString} ${attachment.name}`);\n } else if (progress === 1) {\n setAnnouncerString(`${attachment.name} ${uploadCompletedString}`);\n } else {\n setAnnouncerString(undefined);\n }\n }, [progress, isUploadInProgress, attachment.name, uploadStartedString, uploadCompletedString]);\n\n const extension = useMemo((): string => {\n const re = /(?:\\.([^.]+))?$/;\n const match = re.exec(attachment.name);\n return match && match[1] ? match[1] : '';\n }, [attachment]);\n return (\n <div data-is-focusable={true}>\n <Announcer announcementString={announcerString} ariaLive={'polite'} />\n <Card\n className={mergeClasses(\n attachmentCardStyles.root,\n selfResizing ? attachmentCardStyles.dynamicWidth : attachmentCardStyles.staticWidth\n )}\n size=\"small\"\n role=\"listitem\"\n appearance=\"filled-alternative\"\n aria-label={attachment.name}\n data-testid={'attachment-card'}\n >\n <CardHeader\n className={attachmentCardStyles.content}\n image={\n <div className={attachmentCardStyles.fileIcon}>\n <Icon\n data-ui-id={'attachmenttype-icon'}\n iconName={\n getFileTypeIconProps({\n extension: extension,\n size: 24,\n imageFileType: 'svg'\n }).iconName\n }\n />\n </div>\n }\n header={\n <div className={attachmentNameContainerClassName} id={'attachment-' + attachment.id}>\n <TooltipHost\n content={attachment.name}\n calloutProps={{\n gapSpace: 0,\n target: '#attachment-' + attachment.id\n }}\n >\n <div className={attachmentCardStyles.fileNameLabel}>\n <Text className={attachmentCardStyles.title} aria-label={attachment.name}>\n {attachment.name}\n </Text>\n </div>\n </TooltipHost>\n </div>\n }\n action={\n <div className={attachmentCardStyles.focusState}>\n {MappedMenuItems(\n menuActions,\n {\n ...attachment,\n url: attachment.url ?? ''\n },\n onActionHandlerFailed\n )}\n </div>\n }\n />\n </Card>\n {isUploadInProgress ? (\n <CardFooter>\n <ProgressBar\n thickness=\"medium\"\n value={Math.max(progress ?? 0, ATTACHMENT_CARD_MIN_PROGRESS)}\n shape=\"rounded\"\n />\n </CardFooter>\n ) : (\n <> </>\n )}\n </div>\n );\n};\n\nconst MappedMenuItems = (\n menuActions: AttachmentMenuAction[],\n attachment: AttachmentMetadata,\n handleOnClickError?: (errMsg: string) => void\n): JSX.Element => {\n const localeStrings = useLocaleAttachmentCardStringsTrampoline();\n\n if (menuActions.length === 0) {\n return <></>;\n }\n return menuActions.length === 1 ? (\n <TooltipHost content={menuActions[0].name}>\n <ToolbarButton\n aria-label={menuActions[0].name}\n role=\"button\"\n icon={menuActions[0].icon}\n onClick={() => {\n try {\n menuActions[0].onClick(attachment);\n } catch (e) {\n handleOnClickError?.((e as Error).message);\n }\n }}\n />\n </TooltipHost>\n ) : (\n <Toolbar>\n <Menu>\n <TooltipHost content={localeStrings.attachmentMoreMenu}>\n <MenuTrigger>\n <ToolbarButton\n aria-label={localeStrings.attachmentMoreMenu}\n role=\"button\"\n icon={<Icon iconName=\"AttachmentMoreMenu\" />}\n />\n </MenuTrigger>\n </TooltipHost>\n <MenuPopover>\n <MenuList>\n {menuActions.map((menuItem, index) => (\n <MenuItem\n aria-label={menuItem.name}\n key={index}\n icon={menuItem.icon}\n onClick={async () => {\n try {\n await menuItem.onClick(attachment);\n } catch (e) {\n handleOnClickError?.((e as Error).message);\n }\n }}\n >\n {menuItem.name}\n </MenuItem>\n ))}\n </MenuList>\n </MenuPopover>\n </Menu>\n </Toolbar>\n );\n};\n"]}
|
1
|
+
{"version":3,"file":"AttachmentCard.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/Attachment/AttachmentCard.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;A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oBAAC,WAAW;gBACV,oBAAC,QAAQ,QACN,WAAW,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC,CACpC,oBAAC,QAAQ,kBACK,QAAQ,CAAC,IAAI,EACzB,GAAG,EAAE,KAAK,EACV,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,OAAO,EAAE,GAAS,EAAE;wBAClB,IAAI,CAAC;4BACH,MAAM,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;wBACrC,CAAC;wBAAC,OAAO,CAAC,EAAE,CAAC;4BACX,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAI,CAAW,CAAC,OAAO,CAAC,CAAC;wBAC7C,CAAC;oBACH,CAAC,CAAA,IAEA,QAAQ,CAAC,IAAI,CACL,CACZ,CAAC,CACO,CACC,CACT,CACC,CACX,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Icon, TooltipHost } from '@fluentui/react';\nimport {\n Card,\n CardHeader,\n Text,\n Menu,\n MenuTrigger,\n ToolbarButton,\n MenuPopover,\n MenuItem,\n MenuList,\n Toolbar,\n CardFooter,\n ProgressBar,\n mergeClasses\n} from '@fluentui/react-components';\nimport { getFileTypeIconProps } from '@fluentui/react-file-type-icons';\nimport React from 'react';\nimport { _pxToRem } from '@internal/acs-ui-common';\nimport { Announcer } from '../Announcer';\nimport { useEffect, useState, useMemo } from 'react';\nimport { _AttachmentUploadCardsStrings } from './AttachmentUploadCards';\nimport { useLocaleAttachmentCardStringsTrampoline } from '../utils/common';\nimport { AttachmentMenuAction } from '../../types/Attachment';\nimport { AttachmentMetadata, AttachmentMetadataInProgress } from '@internal/acs-ui-common';\nimport {\n useAttachmentCardStyles,\n ATTACHMENT_CARD_MIN_PROGRESS,\n titleTooltipContainerStyle\n} from '../styles/AttachmentCard.styles';\n\n/**\n * @internal\n * AttachmentCard Component Props.\n */\nexport interface _AttachmentCardProps {\n /**\n * Attachment details including name, extension, url, etc.\n */\n attachment: AttachmentMetadata | AttachmentMetadataInProgress;\n /**\n * An array of menu actions to be displayed in the attachment card.\n */\n menuActions: AttachmentMenuAction[];\n /**\n * Optional aria label strings for attachment upload cards\n */\n strings?: _AttachmentUploadCardsStrings;\n /**\n * Optional callback that runs if menu bar action onclick throws.\n */\n onActionHandlerFailed?: (errMsg: string) => void;\n /**\n * Optional flag to enable self resizing of the attachment card.\n */\n selfResizing?: boolean;\n}\n\n/**\n * @internal\n * A component for displaying an attachment card with attachment icon and progress bar.\n *\n * `_AttachmentCard` internally uses the `Card` component from `@fluentui/react-components`. You can checkout the details about these components [here](https://react.fluentui.dev/?path=/docs/components-card).\n */\nexport const _AttachmentCard = (props: _AttachmentCardProps): JSX.Element => {\n const { attachment, menuActions, onActionHandlerFailed, selfResizing } = props;\n const attachmentCardStyles = useAttachmentCardStyles();\n\n const progress = useMemo(() => {\n return 'progress' in attachment ? attachment.progress : undefined;\n }, [attachment]);\n\n const isUploadInProgress = useMemo(() => {\n return progress !== undefined && progress >= 0 && progress < 1;\n }, [progress]);\n\n const [announcerString, setAnnouncerString] = useState<string | undefined>(undefined);\n const localeStrings = useLocaleAttachmentCardStringsTrampoline();\n const uploadStartedString = props.strings?.uploading ?? localeStrings.uploading;\n const uploadCompletedString = props.strings?.uploadCompleted ?? localeStrings.uploadCompleted;\n\n useEffect(() => {\n if (isUploadInProgress) {\n setAnnouncerString(`${uploadStartedString} ${attachment.name}`);\n } else if (progress === 1) {\n setAnnouncerString(`${attachment.name} ${uploadCompletedString}`);\n } else {\n setAnnouncerString(undefined);\n }\n }, [progress, isUploadInProgress, attachment.name, uploadStartedString, uploadCompletedString]);\n\n const extension = useMemo((): string => {\n const re = /(?:\\.([^.]+))?$/;\n const match = re.exec(attachment.name);\n return match && match[1] ? match[1] : '';\n }, [attachment]);\n return (\n <div data-is-focusable={true}>\n <Announcer announcementString={announcerString} ariaLive={'polite'} />\n <Card\n className={mergeClasses(\n attachmentCardStyles.root,\n selfResizing ? attachmentCardStyles.dynamicWidth : attachmentCardStyles.staticWidth\n )}\n size=\"small\"\n role=\"listitem\"\n appearance=\"filled-alternative\"\n aria-label={attachment.name}\n data-testid={'attachment-card'}\n >\n <CardHeader\n className={attachmentCardStyles.content}\n image={{\n className: attachmentCardStyles.fileIcon,\n children: (\n <Icon\n data-ui-id={'attachmenttype-icon'}\n iconName={\n getFileTypeIconProps({\n extension: extension,\n size: 24,\n imageFileType: 'svg'\n }).iconName\n }\n />\n )\n }}\n header={{\n id: 'attachment-' + attachment.id,\n children: (\n <TooltipHost\n content={attachment.name}\n calloutProps={{\n gapSpace: 0,\n target: '#attachment-' + attachment.id\n }}\n hostClassName={titleTooltipContainerStyle}\n >\n <Text className={attachmentCardStyles.title} aria-label={attachment.name}>\n {attachment.name}\n </Text>\n </TooltipHost>\n )\n }}\n action={{\n className: attachmentCardStyles.actions,\n children: MappedMenuItems(\n menuActions,\n {\n ...attachment,\n url: attachment.url ?? ''\n },\n onActionHandlerFailed\n )\n }}\n />\n </Card>\n {isUploadInProgress ? (\n <CardFooter>\n <ProgressBar\n thickness=\"medium\"\n value={Math.max(progress ?? 0, ATTACHMENT_CARD_MIN_PROGRESS)}\n shape=\"rounded\"\n />\n </CardFooter>\n ) : (\n <> </>\n )}\n </div>\n );\n};\n\nconst MappedMenuItems = (\n menuActions: AttachmentMenuAction[],\n attachment: AttachmentMetadata,\n handleOnClickError?: (errMsg: string) => void\n): JSX.Element => {\n const localeStrings = useLocaleAttachmentCardStringsTrampoline();\n\n if (menuActions.length === 0) {\n return <></>;\n }\n return menuActions.length === 1 ? (\n <TooltipHost content={menuActions[0].name}>\n <ToolbarButton\n aria-label={menuActions[0].name}\n role=\"button\"\n icon={menuActions[0].icon}\n onClick={() => {\n try {\n menuActions[0].onClick(attachment);\n } catch (e) {\n handleOnClickError?.((e as Error).message);\n }\n }}\n />\n </TooltipHost>\n ) : (\n <Toolbar>\n <Menu>\n <TooltipHost content={localeStrings.attachmentMoreMenu}>\n <MenuTrigger>\n <ToolbarButton\n aria-label={localeStrings.attachmentMoreMenu}\n role=\"button\"\n icon={<Icon iconName=\"AttachmentMoreMenu\" />}\n />\n </MenuTrigger>\n </TooltipHost>\n <MenuPopover>\n <MenuList>\n {menuActions.map((menuItem, index) => (\n <MenuItem\n aria-label={menuItem.name}\n key={index}\n icon={menuItem.icon}\n onClick={async () => {\n try {\n await menuItem.onClick(attachment);\n } catch (e) {\n handleOnClickError?.((e as Error).message);\n }\n }}\n >\n {menuItem.name}\n </MenuItem>\n ))}\n </MenuList>\n </MenuPopover>\n </Menu>\n </Toolbar>\n );\n};\n"]}
|
@@ -9,11 +9,11 @@ export declare const _ATTACHMENT_CARD_MARGIN_IN_PX = 2;
|
|
9
9
|
/**
|
10
10
|
* @private
|
11
11
|
*/
|
12
|
-
export declare const useAttachmentCardStyles: () => Record<"content" | "title" | "root" | "
|
12
|
+
export declare const useAttachmentCardStyles: () => Record<"content" | "title" | "root" | "actions" | "dynamicWidth" | "staticWidth" | "fileIcon", string>;
|
13
13
|
/**
|
14
14
|
* @private
|
15
15
|
*/
|
16
|
-
export declare const
|
16
|
+
export declare const titleTooltipContainerStyle: string;
|
17
17
|
/**
|
18
18
|
* @private
|
19
19
|
*/
|
@@ -1,8 +1,8 @@
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
2
2
|
// Licensed under the MIT License.
|
3
|
-
import { mergeStyles } from '@fluentui/react';
|
4
3
|
import { makeStyles, shorthands } from '@fluentui/react-components';
|
5
4
|
import { _pxToRem } from "../../../../acs-ui-common/src";
|
5
|
+
import { mergeStyles } from '@fluentui/react';
|
6
6
|
/**
|
7
7
|
* @private
|
8
8
|
*/
|
@@ -25,39 +25,37 @@ export const useAttachmentCardStyles = makeStyles({
|
|
25
25
|
width: `${_ATTACHMENT_CARD_WIDTH_IN_REM}rem`
|
26
26
|
},
|
27
27
|
fileIcon: {
|
28
|
-
marginLeft: _pxToRem(4)
|
28
|
+
marginLeft: _pxToRem(4),
|
29
|
+
// don't shrink the file icon container
|
30
|
+
flexShrink: 0
|
29
31
|
},
|
30
32
|
content: {
|
31
33
|
'> div': {
|
32
|
-
width: '100%',
|
33
34
|
overflow: 'hidden',
|
34
35
|
textOverflow: 'ellipsis'
|
35
36
|
}
|
36
37
|
},
|
37
38
|
title: {
|
38
|
-
|
39
|
+
overflow: 'hidden',
|
40
|
+
whiteSpace: 'nowrap',
|
41
|
+
textOverflow: 'ellipsis'
|
39
42
|
},
|
40
|
-
|
43
|
+
actions: {
|
41
44
|
'& > * button:focus': {
|
42
45
|
border: `black solid ${_pxToRem(1)}`
|
43
|
-
}
|
44
|
-
|
45
|
-
|
46
|
-
textOverflow: 'ellipsis',
|
47
|
-
whiteSpace: 'nowrap',
|
48
|
-
overflowX: 'clip'
|
46
|
+
},
|
47
|
+
// don't shrink the actions container
|
48
|
+
flexShrink: 0
|
49
49
|
}
|
50
50
|
});
|
51
51
|
/**
|
52
52
|
* @private
|
53
53
|
*/
|
54
|
-
export const
|
55
|
-
|
56
|
-
overflow: 'hidden',
|
54
|
+
export const titleTooltipContainerStyle = mergeStyles({
|
55
|
+
width: '100%',
|
57
56
|
textOverflow: 'ellipsis',
|
58
|
-
|
59
|
-
|
60
|
-
}
|
57
|
+
whiteSpace: 'nowrap',
|
58
|
+
overflowX: 'clip'
|
61
59
|
});
|
62
60
|
/**
|
63
61
|
* @private
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AttachmentCard.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/AttachmentCard.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"AttachmentCard.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/AttachmentCard.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,UAAU,EAAE,UAAU,EAA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poration.\n// Licensed under the MIT License.\n\nimport { makeStyles, shorthands } from '@fluentui/react-components';\nimport { _pxToRem } from '@internal/acs-ui-common';\nimport { mergeStyles } from '@fluentui/react';\n\n/**\n * @private\n */\nexport const _ATTACHMENT_CARD_WIDTH_IN_REM = 12;\n/**\n * @private\n */\nexport const _ATTACHMENT_CARD_MARGIN_IN_PX = 2;\n\n/**\n * @private\n */\nexport const useAttachmentCardStyles = makeStyles({\n root: {\n '& div[role=toolbar]': {\n ...shorthands.padding(0)\n }\n },\n dynamicWidth: {\n minWidth: `${_ATTACHMENT_CARD_WIDTH_IN_REM}rem`\n },\n staticWidth: {\n width: `${_ATTACHMENT_CARD_WIDTH_IN_REM}rem`\n },\n fileIcon: {\n marginLeft: _pxToRem(4),\n // don't shrink the file icon container\n flexShrink: 0\n },\n content: {\n '> div': {\n overflow: 'hidden',\n textOverflow: 'ellipsis'\n }\n },\n title: {\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis'\n },\n actions: {\n '& > * button:focus': {\n border: `black solid ${_pxToRem(1)}`\n },\n // don't shrink the actions container\n flexShrink: 0\n }\n});\n\n/**\n * @private\n */\nexport const titleTooltipContainerStyle = mergeStyles({\n width: '100%',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflowX: 'clip'\n});\n\n/**\n * @private\n */\nexport const ATTACHMENT_CARD_MIN_PROGRESS = 0.05;\n"]}
|
@@ -185,8 +185,8 @@
|
|
185
185
|
"failToSendTag": "فشل الإرسال",
|
186
186
|
"editedTag": "تم التحرير",
|
187
187
|
"liveAuthorIntro": "قال {author}",
|
188
|
-
"messageContentAriaText": "{author} قال {message}",
|
189
|
-
"messageContentMineAriaText": "
|
188
|
+
"messageContentAriaText": "{status} {author} قال {message}",
|
189
|
+
"messageContentMineAriaText": "{status} أنت قولت {message}",
|
190
190
|
"editBoxTextLimit": "تجاوزت رسالتك الحد الأقصى لعدد الأحرف {limitNumber}",
|
191
191
|
"editBoxPlaceholderText": "تحرير رسالتك",
|
192
192
|
"newMessagesIndicator": "رسائل جديدة",
|
@@ -220,7 +220,8 @@
|
|
220
220
|
"richTextDeleteColumnMenu": "حذف العمود",
|
221
221
|
"richTextDeleteRowMenu": "حذف الصف",
|
222
222
|
"richTextDeleteTableMenu": "حذف الجدول",
|
223
|
-
"richTextToolbarMoreButtonAriaLabel": "خيارات إضافية"
|
223
|
+
"richTextToolbarMoreButtonAriaLabel": "خيارات إضافية",
|
224
|
+
"attachmentUploadsPendingError": "يتم الآن التحميل... الرجاء الانتظار."
|
224
225
|
},
|
225
226
|
"errorBar": {
|
226
227
|
"unableToReachChatService": "أنت غير متصل",
|
@@ -237,6 +238,7 @@
|
|
237
238
|
"startScreenShareGeneric": "حدثت مشكلة أثناء بدء مشاركة الشاشة.",
|
238
239
|
"stopScreenShareGeneric": "فشل إيقاف مشاركة الشاشة",
|
239
240
|
"callNetworkQualityLow": "جودة الشبكة مقبولة.",
|
241
|
+
"teamsMeetingCallNetworkQualityLow": "جودة الشبكة منخفضة.",
|
240
242
|
"callNoSpeakerFound": "لم يتم العثور على سماعات أو سماعات رأس. قم بتوصيل جهاز صوت لسماع المكالمة.",
|
241
243
|
"callNoMicrophoneFound": "لم يتم العثور على ميكروفونات. قم بتوصيل جهاز إدخال صوت.",
|
242
244
|
"callMicrophoneAccessDenied": "يتعذر الوصول إلى الميكروفون. انقر فوق التأمين في شريط العناوين لمنح الإذن لصفحة ويب هذه.",
|
@@ -257,160 +259,189 @@
|
|
257
259
|
"failedToJoinCallInvalidMeetingLink": "تعذر الانضمام إلى الاجتماع. ارتباط غير صالح.",
|
258
260
|
"cameraFrozenForRemoteParticipants": "يواجه المستخدمون في المكالمة مشكلات في رؤية الفيديو الخاص بك. الرجاء التحقق من أجهزتك وشبكتك.",
|
259
261
|
"unableToStartVideoEffect": "يتعذر تطبيق تأثير الفيديو.",
|
260
|
-
"startSpotlightWhileMaxParticipantsAreSpotlighted": "لا يمكن بدء تسليط الضوء على المشاركين (المشاركين) لأنه تم بالفعل تسليط الضوء على الحد الأقصى لعدد المشاركين."
|
262
|
+
"startSpotlightWhileMaxParticipantsAreSpotlighted": "لا يمكن بدء تسليط الضوء على المشاركين (المشاركين) لأنه تم بالفعل تسليط الضوء على الحد الأقصى لعدد المشاركين.",
|
263
|
+
"mutedByRemoteParticipant": "تم كتم صوتك من قبل مشارك آخر."
|
261
264
|
},
|
262
|
-
"
|
263
|
-
"unableToReachChatService": {
|
264
|
-
"title": "أنت غير متصل.",
|
265
|
-
"closeButtonAriaLabel": "إغلاق"
|
266
|
-
},
|
267
|
-
"accessDenied": {
|
268
|
-
"title": "غير قادر على الوصول إلى خدمات الدردشة",
|
269
|
-
"message": "الرجاء التحقق من بيانات اعتماد المستخدم المقدمة",
|
270
|
-
"closeButtonAriaLabel": "إغلاق"
|
271
|
-
},
|
272
|
-
"userNotInChatThread": {
|
273
|
-
"title": "لم تعد في مؤشر ترابط الدردشة هذا.",
|
274
|
-
"closeButtonAriaLabel": "إغلاق"
|
275
|
-
},
|
276
|
-
"sendMessageNotInChatThread": {
|
277
|
-
"title": "فشل إرسال الرسالة",
|
278
|
-
"message": "لم تعد مضمناً في هذا ترابط الدردشة هذا",
|
279
|
-
"closeButtonAriaLabel": "إغلاق"
|
280
|
-
},
|
281
|
-
"sendMessageGeneric": {
|
282
|
-
"title": "فشل إرسال الرسالة.",
|
283
|
-
"closeButtonAriaLabel": "إغلاق"
|
284
|
-
},
|
265
|
+
"notificationStack": {
|
285
266
|
"callingNetworkFailure": {
|
286
267
|
"title": "مكالمة مزعجة",
|
287
268
|
"message": "يبدو أنك غير متصل. الرجاء التحقق من اتصال الشبكة والمحاولة مرة أخرى.",
|
288
|
-
"
|
269
|
+
"dismissButtonAriaLabel": "إغلاق"
|
289
270
|
},
|
290
271
|
"startVideoGeneric": {
|
291
272
|
"title": "فشل بدء الفيديو.",
|
292
|
-
"
|
273
|
+
"dismissButtonAriaLabel": "إغلاق"
|
293
274
|
},
|
294
275
|
"stopVideoGeneric": {
|
295
276
|
"title": "فشل إيقاف الفيديو.",
|
296
|
-
"
|
277
|
+
"dismissButtonAriaLabel": "إغلاق"
|
297
278
|
},
|
298
279
|
"muteGeneric": {
|
299
280
|
"title": "فشل كتم صوت الميكروفون.",
|
300
|
-
"
|
281
|
+
"dismissButtonAriaLabel": "إغلاق"
|
301
282
|
},
|
302
283
|
"unmuteGeneric": {
|
303
|
-
"title": "فشل إلغاء كتم صوت
|
304
|
-
"
|
284
|
+
"title": "فشل إلغاء كتم صوت الميكروفون.",
|
285
|
+
"dismissButtonAriaLabel": "إغلاق"
|
305
286
|
},
|
306
287
|
"speakingWhileMuted": {
|
307
288
|
"title": "تم كتم صوتك.",
|
308
|
-
"
|
289
|
+
"dismissButtonAriaLabel": "إغلاق"
|
309
290
|
},
|
310
291
|
"startScreenShareGeneric": {
|
311
292
|
"title": "حدثت مشكلة أثناء بدء مشاركة الشاشة.",
|
312
|
-
"
|
293
|
+
"dismissButtonAriaLabel": "إغلاق"
|
313
294
|
},
|
314
295
|
"stopScreenShareGeneric": {
|
315
296
|
"title": "فشل إيقاف مشاركة الشاشة",
|
316
|
-
"
|
297
|
+
"dismissButtonAriaLabel": "إغلاق"
|
317
298
|
},
|
318
299
|
"callNetworkQualityLow": {
|
319
300
|
"title": "جودة الشبكة مقبولة.",
|
320
|
-
"
|
301
|
+
"dismissButtonAriaLabel": "إغلاق"
|
302
|
+
},
|
303
|
+
"teamsMeetingCallNetworkQualityLow": {
|
304
|
+
"title": "جودة الشبكة منخفضة.",
|
305
|
+
"dismissButtonAriaLabel": "إغلاق",
|
306
|
+
"message": "انضم إلى هذه المكالمة من هاتفك للحصول على صوت أفضل. يمكنك متابعة عرض الاجتماع على هذا الجهاز.",
|
307
|
+
"primaryButtonLabel": "انضمام عبر الهاتف"
|
321
308
|
},
|
322
309
|
"callNoSpeakerFound": {
|
323
310
|
"title": "لم يتم العثور على سماعات أو سماعات رأس",
|
324
311
|
"message": "قم بتوصيل جهاز صوت لسماع المكالمة.",
|
325
|
-
"
|
312
|
+
"dismissButtonAriaLabel": "إغلاق"
|
326
313
|
},
|
327
314
|
"callNoMicrophoneFound": {
|
328
315
|
"title": "لم يتم العثور على ميكروفونات",
|
329
316
|
"message": "قم بتوصيل جهاز إدخال صوت.",
|
330
|
-
"
|
317
|
+
"dismissButtonAriaLabel": "إغلاق"
|
331
318
|
},
|
332
319
|
"callMicrophoneAccessDenied": {
|
333
320
|
"title": "يتعذر الوصول إلى الميكروفون",
|
334
321
|
"message": "انقر فوق التأمين في شريط العناوين لمنح الإذن لصفحة ويب هذه.",
|
335
|
-
"
|
322
|
+
"dismissButtonAriaLabel": "إغلاق"
|
336
323
|
},
|
337
324
|
"callMicrophoneAccessDeniedSafari": {
|
338
325
|
"title": "يتعذر الوصول إلى الميكروفون",
|
339
326
|
"message": "قم بتحديث الصفحة للسماح بالأذونات، أو تحقق من إعدادات هذا المستعرض وتحقق من تمكين الأذونات لموقع الويب هذا.",
|
340
|
-
"
|
327
|
+
"dismissButtonAriaLabel": "إغلاق"
|
341
328
|
},
|
342
329
|
"callMicrophoneMutedBySystem": {
|
343
330
|
"title": "تم كتم صوتك بواسطة النظام.",
|
344
|
-
"
|
331
|
+
"dismissButtonAriaLabel": "إغلاق"
|
345
332
|
},
|
346
333
|
"callMicrophoneUnmutedBySystem": {
|
347
334
|
"title": "تم استرداد الميكروفون وتم إلغاء كتم صوتك من قبل النظام.",
|
348
|
-
"
|
335
|
+
"dismissButtonAriaLabel": "إغلاق"
|
349
336
|
},
|
350
337
|
"callMacOsMicrophoneAccessDenied": {
|
351
338
|
"title": "يتعذر الوصول إلى الميكروفون",
|
352
339
|
"message": "امنح الميكروفون إذنا في إعدادات خصوصية macOS.",
|
353
|
-
"
|
340
|
+
"dismissButtonAriaLabel": "إغلاق"
|
354
341
|
},
|
355
342
|
"callLocalVideoFreeze": {
|
356
343
|
"title": "النطاق الترددي للشبكة ضعيف.",
|
357
344
|
"message": "قد يظهر الفيديو متوقفا مؤقتا للآخرين في المكالمة.",
|
358
|
-
"
|
345
|
+
"dismissButtonAriaLabel": "إغلاق"
|
359
346
|
},
|
360
347
|
"callCameraAccessDenied": {
|
361
348
|
"title": "تعذر الوصول إلى الكاميرا",
|
362
349
|
"message": "انقر فوق التأمين في شريط العناوين لمنح الإذن لصفحة ويب هذه.",
|
363
|
-
"
|
350
|
+
"dismissButtonAriaLabel": "إغلاق"
|
364
351
|
},
|
365
352
|
"callCameraAccessDeniedSafari": {
|
366
353
|
"title": "تعذر الوصول إلى الكاميرا",
|
367
354
|
"message": "قم بتحديث الصفحة للسماح بالأذونات، أو تحقق من إعدادات هذا المستعرض وتحقق من تمكين الأذونات لموقع الويب هذا.",
|
368
|
-
"
|
355
|
+
"dismissButtonAriaLabel": "إغلاق"
|
369
356
|
},
|
370
357
|
"callCameraAlreadyInUse": {
|
371
358
|
"title": "تعذر الوصول إلى الكاميرا",
|
372
359
|
"message": "قد يكون قيد الاستخدام بالفعل بواسطة تطبيق آخر.",
|
373
|
-
"
|
360
|
+
"dismissButtonAriaLabel": "إغلاق"
|
374
361
|
},
|
375
362
|
"callVideoStoppedBySystem": {
|
376
363
|
"title": "تم إيقاف الفيديو الخاص بك من قبل النظام.",
|
377
|
-
"
|
364
|
+
"dismissButtonAriaLabel": "إغلاق"
|
378
365
|
},
|
379
366
|
"callVideoRecoveredBySystem": {
|
380
367
|
"title": "تم استئناف الفيديو الخاص بك.",
|
381
|
-
"
|
368
|
+
"dismissButtonAriaLabel": "إغلاق"
|
382
369
|
},
|
383
370
|
"callMacOsCameraAccessDenied": {
|
384
371
|
"title": "يقوم MacOS بحظر الوصول إلى الكاميرا",
|
385
372
|
"message": "قم بتحديث إعدادات الخصوصية للسماح لهذا المستعرض بالوصول إلى الكاميرا.",
|
386
|
-
"
|
373
|
+
"dismissButtonAriaLabel": "إغلاق"
|
387
374
|
},
|
388
375
|
"callMacOsScreenShareAccessDenied": {
|
389
376
|
"title": "يقوم MacOS بحظر مشاركة الشاشة",
|
390
377
|
"message": "قم بتحديث إعدادات الخصوصية للسماح لهذا المستعرض بتسجيل الشاشة.",
|
391
|
-
"
|
378
|
+
"dismissButtonAriaLabel": "إغلاق"
|
392
379
|
},
|
393
380
|
"failedToJoinCallGeneric": {
|
394
|
-
"title": "فشل
|
395
|
-
"
|
381
|
+
"title": "فشل الانضمام إلى المكالمة.",
|
382
|
+
"dismissButtonAriaLabel": "إغلاق"
|
396
383
|
},
|
397
384
|
"failedToJoinCallInvalidMeetingLink": {
|
398
385
|
"title": "تعذر الانضمام إلى الاجتماع. ارتباط غير صالح.",
|
399
|
-
"
|
386
|
+
"dismissButtonAriaLabel": "إغلاق"
|
400
387
|
},
|
401
388
|
"cameraFrozenForRemoteParticipants": {
|
402
389
|
"title": "يواجه المستخدمون في المكالمة مشكلات في رؤية الفيديو الخاص بك.",
|
403
390
|
"message": "الرجاء التحقق من أجهزتك وشبكتك.",
|
404
|
-
"
|
391
|
+
"dismissButtonAriaLabel": "إغلاق"
|
405
392
|
},
|
406
393
|
"unableToStartVideoEffect": {
|
407
394
|
"title": "يتعذر تطبيق تأثير الفيديو.",
|
408
|
-
"
|
395
|
+
"dismissButtonAriaLabel": "إغلاق"
|
409
396
|
},
|
410
397
|
"startSpotlightWhileMaxParticipantsAreSpotlighted": {
|
411
398
|
"title": "يتعذر بدء تسليط ضوء على المشاركين.",
|
412
399
|
"message": "يتم تسليط الضوء على الحد الأقصى لعدد المشاركين بالفعل.",
|
413
|
-
"
|
400
|
+
"dismissButtonAriaLabel": "إغلاق"
|
401
|
+
},
|
402
|
+
"mutedByRemoteParticipant": {
|
403
|
+
"title": "تم كتم صوتك من قبل مشارك آخر.",
|
404
|
+
"dismissButtonAriaLabel": "إغلاق"
|
405
|
+
},
|
406
|
+
"recordingStarted": {
|
407
|
+
"title": "بدأ التسجيل.",
|
408
|
+
"message": "من خلال الانضمام، فأنت توافق على كتابة هذا الاجتماع.",
|
409
|
+
"dismissButtonAriaLabel": "إغلاق"
|
410
|
+
},
|
411
|
+
"transcriptionStarted": {
|
412
|
+
"title": "بدأت كتابة الحديث.",
|
413
|
+
"message": "من خلال الانضمام، فأنت توافق على كتابة هذا الاجتماع.",
|
414
|
+
"dismissButtonAriaLabel": "إغلاق"
|
415
|
+
},
|
416
|
+
"recordingStopped": {
|
417
|
+
"title": "يتم الآن حفظ التسجيل.",
|
418
|
+
"message": "لقد توقف التسجيل.",
|
419
|
+
"dismissButtonAriaLabel": "إغلاق"
|
420
|
+
},
|
421
|
+
"transcriptionStopped": {
|
422
|
+
"title": "يتم الآن حفظ كتابة الحديث.",
|
423
|
+
"message": "توقفت كتابة الحديث.",
|
424
|
+
"dismissButtonAriaLabel": "إغلاق"
|
425
|
+
},
|
426
|
+
"recordingAndTranscriptionStarted": {
|
427
|
+
"title": "بدء التسجيل والنسخ. ",
|
428
|
+
"message": "من خلال الانضمام، فأنت توافق على كتابة هذا الاجتماع.",
|
429
|
+
"dismissButtonAriaLabel": "إغلاق"
|
430
|
+
},
|
431
|
+
"recordingAndTranscriptionStopped": {
|
432
|
+
"title": "يتم حفظ التسجيل وكتابة الحديث.",
|
433
|
+
"message": "التسجيل وكتابة الحديث متوقفان.",
|
434
|
+
"dismissButtonAriaLabel": "إغلاق"
|
435
|
+
},
|
436
|
+
"recordingStoppedStillTranscribing": {
|
437
|
+
"title": "لقد توقف التسجيل.",
|
438
|
+
"message": "أنت الآن تقوم فقط بكتابة الحديث لهذا الاجتماع.",
|
439
|
+
"dismissButtonAriaLabel": "إغلاق"
|
440
|
+
},
|
441
|
+
"transcriptionStoppedStillRecording": {
|
442
|
+
"title": "توقفت كتابة الحديث.",
|
443
|
+
"message": "أنت الآن تسجل هذا الاجتماع فقط.",
|
444
|
+
"dismissButtonAriaLabel": "إغلاق"
|
414
445
|
}
|
415
446
|
},
|
416
447
|
"videoGallery": {
|
@@ -436,7 +467,8 @@
|
|
436
467
|
"spotlightLimitReachedMenuTitle": "تم الوصول إلى الحد الأقصى لتسليط الضوء",
|
437
468
|
"stopSpotlightVideoTileMenuLabel": "التوقف عن تسليط الضوء",
|
438
469
|
"stopSpotlightOnSelfVideoTileMenuLabel": "الخروج من وضع تسليط الضوء",
|
439
|
-
"attendeeRole": "الحضور"
|
470
|
+
"attendeeRole": "الحضور",
|
471
|
+
"muteParticipantMenuItemLabel": "كتم الصوت"
|
440
472
|
},
|
441
473
|
"dialpad": {
|
442
474
|
"placeholderText": "أدخل رقم الهاتف",
|
@@ -578,9 +610,15 @@
|
|
578
610
|
"meetingConferencePhoneInfoModalMeetingId": "أدخل معرف الاجتماع",
|
579
611
|
"meetingConferencePhoneInfoModalWait": "انتظر حتى يتم القبول من قبل المنظم",
|
580
612
|
"meetingConferencePhoneInfoModalNoPhoneAvailable": "لا يتوفر هاتف",
|
581
|
-
"
|
582
|
-
"
|
583
|
-
"meetingConferencePhoneInfoModalToll": "
|
584
|
-
|
613
|
+
"meetingConferencePhoneInfoModalTollGeoData": "{country}، {city}",
|
614
|
+
"meetingConferencePhoneInfoModalTollFree": "(رقم مجاني)",
|
615
|
+
"meetingConferencePhoneInfoModalToll": "(الرقم غير المجاني)"
|
616
|
+
},
|
617
|
+
"IncomingCallNotification": {
|
618
|
+
"incomingCallNotificationPlaceholderId": "مستخدم غير معروف",
|
619
|
+
"incomingCallNotificationPlaceholderAlert": "مكالمة واردة",
|
620
|
+
"incomingCallNoticicationAcceptWithAudioAriaLabel": "قبول مع الصوت",
|
621
|
+
"incomingCallNoticicationAcceptWithVideoAriaLabel": "قبول مع الفيديو",
|
622
|
+
"incomingCallNoticicationRejectAriaLabel": "رفض"
|
585
623
|
}
|
586
624
|
}
|