@azure/communication-react 1.11.0-alpha-202312120013 → 1.11.0-alpha-202312150013

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.
Files changed (102) hide show
  1. package/dist/communication-react.d.ts +200 -1
  2. package/dist/dist-cjs/communication-react/index.js +488 -62
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetry.js +2 -2
  5. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  8. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +2 -0
  9. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +39 -26
  10. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  11. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +0 -1
  12. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  13. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  14. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  15. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +2 -2
  16. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  17. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +20 -6
  18. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  19. package/dist/dist-esm/communication-react/src/index.d.ts +2 -0
  20. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +4 -1
  22. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +64 -0
  24. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +54 -0
  25. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -0
  26. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +14 -0
  27. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +39 -0
  28. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -0
  29. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +141 -0
  30. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +4 -0
  31. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -0
  32. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +59 -0
  33. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +81 -0
  34. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -0
  35. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +14 -0
  36. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +30 -0
  37. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -0
  38. package/dist/dist-esm/react-components/src/components/index.d.ts +5 -0
  39. package/dist/dist-esm/react-components/src/components/index.js +6 -0
  40. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  41. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +1 -1
  42. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +13 -9
  43. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  44. package/dist/dist-esm/react-components/src/index.d.ts +2 -0
  45. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  46. package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -0
  47. package/dist/dist-esm/react-components/src/theming/icons.js +7 -1
  48. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  49. package/dist/dist-esm/react-components/src/types/SurveyIssues.d.ts +45 -0
  50. package/dist/dist-esm/react-components/src/types/SurveyIssues.js +4 -0
  51. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -0
  52. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.d.ts +11 -0
  53. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js +4 -0
  54. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -0
  55. package/dist/dist-esm/react-components/src/types/index.d.ts +2 -0
  56. package/dist/dist-esm/react-components/src/types/index.js +2 -0
  57. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  58. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +33 -0
  59. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +17 -7
  60. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +61 -0
  62. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  63. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +2 -0
  64. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +11 -3
  65. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  66. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +7 -0
  67. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  68. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +12 -1
  69. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  70. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +4 -0
  71. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  72. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +33 -0
  73. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +9 -1
  74. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  75. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +33 -0
  76. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +6 -0
  77. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  78. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +2 -0
  79. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +6 -0
  80. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  81. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +7 -0
  82. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  83. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +2 -0
  84. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +6 -0
  85. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  86. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +2 -5
  87. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  88. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +6 -0
  89. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +29 -0
  90. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -0
  91. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.d.ts +7 -0
  92. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js +23 -0
  93. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js.map +1 -0
  94. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.d.ts +10 -0
  95. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js +106 -0
  96. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js.map +1 -0
  97. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +8 -0
  98. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +22 -0
  99. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -0
  100. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -0
  101. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +59 -0
  102. package/package.json +2 -2
@@ -0,0 +1,54 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import React, { useState, useCallback } from 'react';
4
+ import { Text, useTheme, Stack } from '@fluentui/react';
5
+ import { Rating, RatingSize } from '@fluentui/react';
6
+ import { helperTextStyle, ratingStyles, titleContainerClassName } from './StarSurvey.styles';
7
+ /**
8
+ * A component to allow users to send numerical ratings regarding call quality
9
+ *
10
+ * @internal
11
+ */
12
+ export const _StarSurvey = (props) => {
13
+ const { onStarRatingSelected, selectedIcon, unselectedIcon, strings } = props;
14
+ const [rating, setRating] = useState(0);
15
+ const [helperText, setHelperText] = useState(strings === null || strings === void 0 ? void 0 : strings.starSurveyHelperText);
16
+ const theme = useTheme();
17
+ const onRatingChange = useCallback((ev, rating) => {
18
+ if (rating) {
19
+ setRating(rating);
20
+ switch (rating) {
21
+ case 1:
22
+ setHelperText(strings === null || strings === void 0 ? void 0 : strings.starSurveyOneStarText);
23
+ break;
24
+ case 2:
25
+ setHelperText(strings === null || strings === void 0 ? void 0 : strings.starSurveyTwoStarText);
26
+ break;
27
+ case 3:
28
+ setHelperText(strings === null || strings === void 0 ? void 0 : strings.starSurveyThreeStarText);
29
+ break;
30
+ case 4:
31
+ setHelperText(strings === null || strings === void 0 ? void 0 : strings.starSurveyFourStarText);
32
+ break;
33
+ case 5:
34
+ setHelperText(strings === null || strings === void 0 ? void 0 : strings.starSurveyFiveStarText);
35
+ break;
36
+ default:
37
+ break;
38
+ }
39
+ onStarRatingSelected === null || onStarRatingSelected === void 0 ? void 0 : onStarRatingSelected(rating);
40
+ }
41
+ }, [
42
+ strings === null || strings === void 0 ? void 0 : strings.starSurveyOneStarText,
43
+ strings === null || strings === void 0 ? void 0 : strings.starSurveyTwoStarText,
44
+ strings === null || strings === void 0 ? void 0 : strings.starSurveyThreeStarText,
45
+ strings === null || strings === void 0 ? void 0 : strings.starSurveyFourStarText,
46
+ strings === null || strings === void 0 ? void 0 : strings.starSurveyFiveStarText,
47
+ onStarRatingSelected
48
+ ]);
49
+ return (React.createElement(Stack, { verticalAlign: "center" },
50
+ React.createElement(Stack, { className: titleContainerClassName },
51
+ React.createElement(Text, { className: helperTextStyle(theme) }, helperText)),
52
+ React.createElement(Rating, { max: 5, size: RatingSize.Large, defaultRating: 0, allowZeroStars: true, rating: rating, onChange: onRatingChange, styles: ratingStyles(theme), icon: selectedIcon !== null && selectedIcon !== void 0 ? selectedIcon : 'SurveyStarIconFilled', unselectedIcon: unselectedIcon !== null && unselectedIcon !== void 0 ? unselectedIcon : 'SurveyStarIcon', ariaLabelFormat: strings === null || strings === void 0 ? void 0 : strings.starRatingAriaLabel })));
53
+ };
54
+ //# sourceMappingURL=StarSurvey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StarSurvey.js","sourceRoot":"","sources":["../../../../../../../../react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AAO,uBAAP,OAAO,CAAE,mBAAmB,GAC7C,CACI,CACT,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { useState, useCallback } from 'react';\nimport { Text, useTheme, Stack } from '@fluentui/react';\nimport { Rating, RatingSize } from '@fluentui/react';\nimport { _formatString, _pxToRem } from '@internal/acs-ui-common';\nimport { helperTextStyle, ratingStyles, titleContainerClassName } from './StarSurvey.styles';\nimport { _CallSurvey, _CallSurveyResponse } from '../SurveyTypes';\n/**\n * Strings of {@link StarSurvey} that can be overridden.\n *\n * @internal\n */\nexport interface _StarSurveyStrings {\n /**\n * Helper text displayed below survey question before user choose a response\n */\n starSurveyHelperText?: string;\n /**\n * Helper text displayed below survey question after user select one star\n */\n starSurveyOneStarText?: string;\n /**\n * Helper text displayed below survey question after user select two star\n */\n starSurveyTwoStarText?: string;\n /**\n * Helper text displayed below survey question after user select three star\n */\n starSurveyThreeStarText?: string;\n /**\n * Helper text displayed below survey question after user select four star\n */\n starSurveyFourStarText?: string;\n /**\n * Helper text displayed below survey question after user select five star\n */\n starSurveyFiveStarText?: string;\n /**\n * Aria Label for each individual star rating\n */\n starRatingAriaLabel?: string;\n}\n\n/**\n * Props for {@link StarSurvey} component.\n *\n * @internal\n */\nexport interface _StarSurveyProps {\n /**\n * Custom icon name for selected rating elements.\n * @defaultvalue FavoriteStarFill\n */\n selectedIcon?: string;\n /**\n * Custom icon name for unselected rating elements.\n * @defaultvalue FavoriteStar\n */\n unselectedIcon?: string;\n /** function called on star rating click*/\n onStarRatingSelected?: (ratings: number) => void;\n /** Star survey strings */\n strings?: _StarSurveyStrings;\n}\n\n/**\n * A component to allow users to send numerical ratings regarding call quality\n *\n * @internal\n */\nexport const _StarSurvey = (props: _StarSurveyProps): JSX.Element => {\n const { onStarRatingSelected, selectedIcon, unselectedIcon, strings } = props;\n\n const [rating, setRating] = useState(0);\n\n const [helperText, setHelperText] = useState(strings?.starSurveyHelperText);\n\n const theme = useTheme();\n\n const onRatingChange = useCallback(\n (ev: React.FormEvent<HTMLElement>, rating?: number | undefined): void => {\n if (rating) {\n setRating(rating);\n\n switch (rating) {\n case 1:\n setHelperText(strings?.starSurveyOneStarText);\n break;\n case 2:\n setHelperText(strings?.starSurveyTwoStarText);\n break;\n case 3:\n setHelperText(strings?.starSurveyThreeStarText);\n break;\n case 4:\n setHelperText(strings?.starSurveyFourStarText);\n break;\n case 5:\n setHelperText(strings?.starSurveyFiveStarText);\n break;\n default:\n break;\n }\n\n onStarRatingSelected?.(rating);\n }\n },\n [\n strings?.starSurveyOneStarText,\n strings?.starSurveyTwoStarText,\n strings?.starSurveyThreeStarText,\n strings?.starSurveyFourStarText,\n strings?.starSurveyFiveStarText,\n onStarRatingSelected\n ]\n );\n\n return (\n <Stack verticalAlign=\"center\">\n <Stack className={titleContainerClassName}>\n <Text className={helperTextStyle(theme)}>{helperText}</Text>\n </Stack>\n <Rating\n max={5}\n size={RatingSize.Large}\n defaultRating={0}\n allowZeroStars\n rating={rating}\n onChange={onRatingChange}\n styles={ratingStyles(theme)}\n icon={selectedIcon ?? 'SurveyStarIconFilled'}\n unselectedIcon={unselectedIcon ?? 'SurveyStarIcon'}\n ariaLabelFormat={strings?.starRatingAriaLabel}\n />\n </Stack>\n );\n};\n"]}
@@ -0,0 +1,14 @@
1
+ import { IRatingStyles, Theme } from '@fluentui/react';
2
+ /**
3
+ * @private
4
+ */
5
+ export declare const helperTextStyle: (theme: Theme) => string;
6
+ /**
7
+ * @private
8
+ */
9
+ export declare const ratingStyles: (theme: Theme) => Partial<IRatingStyles>;
10
+ /**
11
+ * @private
12
+ */
13
+ export declare const titleContainerClassName: string;
14
+ //# sourceMappingURL=StarSurvey.styles.d.ts.map
@@ -0,0 +1,39 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { mergeStyles } from '@fluentui/react';
4
+ import { _pxToRem } from "../../../../../acs-ui-common/src";
5
+ /**
6
+ * @private
7
+ */
8
+ export const helperTextStyle = (theme) => mergeStyles({
9
+ fontWeight: 600,
10
+ fontSize: _pxToRem(14),
11
+ lineHeight: _pxToRem(20),
12
+ color: theme.palette.neutralPrimary,
13
+ paddingTop: _pxToRem(20)
14
+ });
15
+ /**
16
+ * @private
17
+ */
18
+ export const ratingStyles = (theme) => {
19
+ return {
20
+ root: {
21
+ marginBottom: _pxToRem(24),
22
+ textAlign: 'center'
23
+ },
24
+ ratingStar: {
25
+ fontSize: _pxToRem(35),
26
+ margin: _pxToRem(5)
27
+ },
28
+ ratingStarFront: {
29
+ color: theme.palette.themePrimary
30
+ }
31
+ };
32
+ };
33
+ /**
34
+ * @private
35
+ */
36
+ export const titleContainerClassName = mergeStyles({
37
+ paddingBottom: _pxToRem(6)
38
+ });
39
+ //# sourceMappingURL=StarSurvey.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StarSurvey.styles.js","sourceRoot":"","sources":["../../../../../../../../react-components/src/components/Survey/StarSurvey/StarSurvey.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAwB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,yCAAgC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAY,EAAU,EAAE,CACtD,WAAW,CAAC;IACV,UAAU,EAAE,GAAG;IACf,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;IACtB,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;IACnC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;CACzB,CAAC,CAAC;AAEL;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAY,EAA0B,EAAE;IACnE,OAAO;QACL,IAAI,EAAE;YACJ,YAAY,EAAE,QAAQ,CAAC,EAAE,CAAC;YAC1B,SAAS,EAAE,QAAQ;SACpB;QACD,UAAU,EAAE;YACV,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;YACtB,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;SACpB;QACD,eAAe,EAAE;YACf,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,YAAY;SAClC;KACF,CAAC;AACJ,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,WAAW,CAAC;IACjD,aAAa,EAAE,QAAQ,CAAC,CAAC,CAAC;CAC3B,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IRatingStyles, Theme, mergeStyles } from '@fluentui/react';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\n/**\n * @private\n */\nexport const helperTextStyle = (theme: Theme): string =>\n mergeStyles({\n fontWeight: 600,\n fontSize: _pxToRem(14),\n lineHeight: _pxToRem(20),\n color: theme.palette.neutralPrimary,\n paddingTop: _pxToRem(20)\n });\n\n/**\n * @private\n */\nexport const ratingStyles = (theme: Theme): Partial<IRatingStyles> => {\n return {\n root: {\n marginBottom: _pxToRem(24),\n textAlign: 'center'\n },\n ratingStar: {\n fontSize: _pxToRem(35),\n margin: _pxToRem(5)\n },\n ratingStarFront: {\n color: theme.palette.themePrimary\n }\n };\n};\n\n/**\n * @private\n */\nexport const titleContainerClassName = mergeStyles({\n paddingBottom: _pxToRem(6)\n});\n"]}
@@ -0,0 +1,141 @@
1
+ /**
2
+ *
3
+ * Represents a call survey rating.
4
+ *
5
+ * @internal
6
+ */
7
+ export declare interface _CallRating<TIssue extends _AudioIssue | _OverallIssue | _ScreenshareIssue | _VideoIssue> {
8
+ /**
9
+ * The rating value should follow rating scale.
10
+ */
11
+ score: number;
12
+ /**
13
+ * Call rating type with issues.
14
+ */
15
+ issues?: TIssue[];
16
+ /**
17
+ * Rating scale default 1-5 rating
18
+ */
19
+ scale?: _RatingScale;
20
+ }
21
+ /**
22
+ * Represents the end of call survey.
23
+ * @internal
24
+ */
25
+ export declare interface _CallSurvey {
26
+ /**
27
+ * Overall call rating with optional overall issues
28
+ */
29
+ overallRating?: _CallRating<_OverallIssue>;
30
+ /**
31
+ * Audio rating with optional audio issues
32
+ */
33
+ audioRating?: _CallRating<_AudioIssue>;
34
+ /**
35
+ * Video rating with optional video issues
36
+ */
37
+ videoRating?: _CallRating<_VideoIssue>;
38
+ /**
39
+ * Screenshare rating with optional screenshare issues
40
+ */
41
+ screenshareRating?: _CallRating<_ScreenshareIssue>;
42
+ }
43
+ /**
44
+ * Represents the end of call survey response.
45
+ * @internal
46
+ */
47
+ export declare interface _CallSurveyResponse extends _CallSurvey {
48
+ /**
49
+ * Uniquely identify the call survey
50
+ */
51
+ readonly id: string;
52
+ /**
53
+ * Uniquely identify the call being served
54
+ */
55
+ readonly callId: string;
56
+ /**
57
+ * The participant submitting the survey
58
+ */
59
+ readonly localParticipantId: string;
60
+ }
61
+ /**
62
+ * Represents the end of call survey call issues.
63
+ * @example
64
+ * CallCannotJoin - participant is unable to join the call.
65
+ * CallCannotInvite - participant is unable to add another participant in the call.
66
+ * HadToRejoin - participant rejoined the call due the call quality issue.
67
+ * CallEndedUnexpectedly - when the call ended unexpectedly.
68
+ * OtherIssues - any other overall call issue not listed here.
69
+ *
70
+ * @internal
71
+ *
72
+ */
73
+ export declare type _OverallIssue = 'CallCannotJoin' | 'CallCannotInvite' | 'HadToRejoin' | 'CallEndedUnexpectedly' | 'OtherIssues';
74
+ /**
75
+ * Represents the end of call survey audio issues.
76
+ * @example
77
+ * NoLocalAudio - other participants unable to hear me.
78
+ * NoRemoteAudio - participant unable to hear another participant's audio.
79
+ * Echo - heard echo.
80
+ * AudioNoise - heard audio noise.
81
+ * LowVolume - call audio volume was low.
82
+ * AudioStoppedUnexpectedly - call audio stopped unexpectedly.
83
+ * DistortedSpeech - audio was distorted.
84
+ * AudioInterruption - audio was interrupted.
85
+ * OtherIssues - any other audio issue not listed here.
86
+ *
87
+ * @internal
88
+ *
89
+ */
90
+ export declare type _AudioIssue = 'NoLocalAudio' | 'NoRemoteAudio' | 'Echo' | 'AudioNoise' | 'LowVolume' | 'AudioStoppedUnexpectedly' | 'DistortedSpeech' | 'AudioInterruption' | 'OtherIssues';
91
+ /**
92
+ * Represents the end of call survey screenshare issues.
93
+ * @example
94
+ * NoContentLocal - other participants unable to see my screen.
95
+ * NoContentRemote - participant unable to saw another participant's screen share.
96
+ * CannotPresent - participant was unable to share the screen.
97
+ * LowQuality - screen share video quality was low.
98
+ * Freezes - screen share freezes.
99
+ * StoppedUnexpectedly - screen share stopped unexpectedly.
100
+ * LargeDelay - watch screen share having large delay.
101
+ * OtherIssues - any other screen share issue not listed here.
102
+ *
103
+ * @internal
104
+ *
105
+ */
106
+ export declare type _ScreenshareIssue = 'NoContentLocal' | 'NoContentRemote' | 'CannotPresent' | 'LowQuality' | 'Freezes' | 'StoppedUnexpectedly' | 'LargeDelay' | 'OtherIssues';
107
+ /**
108
+ * Represents the end of call survey video issues.
109
+ * @example
110
+ * NoVideoReceived - participant unable to saw another participant's video.
111
+ * NoVideoSent - other participants unable to see me.
112
+ * LowQuality - video quality was low.
113
+ * Freezes - video freezes.
114
+ * StoppedUnexpectedly - video stopped unexpectedly.
115
+ * DarkVideoReceived - participant receives dark video.
116
+ * AudioVideoOutOfSync - participant watch video and audio out of sync.
117
+ * OtherIssues - any other video issue not listed here.
118
+ *
119
+ * @internal
120
+ *
121
+ */
122
+ export declare type _VideoIssue = 'NoVideoReceived' | 'NoVideoSent' | 'LowQuality' | 'Freezes' | 'StoppedUnexpectedly' | 'DarkVideoReceived' | 'AudioVideoOutOfSync' | 'OtherIssues';
123
+ /**
124
+ * Rating scale to override the default scale
125
+ * @internal
126
+ */
127
+ export declare interface _RatingScale {
128
+ /**
129
+ * Lower bound of the rating value 0 to 100 (default 1)
130
+ */
131
+ lowerBound: number;
132
+ /**
133
+ * Upper bound of the rating value 0 to 100 (default 5)
134
+ */
135
+ upperBound: number;
136
+ /**
137
+ * The rating value greater than the threshold will be considered as good
138
+ */
139
+ lowScoreThreshold: number;
140
+ }
141
+ //# sourceMappingURL=SurveyTypes.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=SurveyTypes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SurveyTypes.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/Survey/SurveyTypes.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n *\n * Represents a call survey rating.\n *\n * @internal\n */\nexport declare interface _CallRating<TIssue extends _AudioIssue | _OverallIssue | _ScreenshareIssue | _VideoIssue> {\n /**\n * The rating value should follow rating scale.\n */\n score: number;\n /**\n * Call rating type with issues.\n */\n issues?: TIssue[];\n /**\n * Rating scale default 1-5 rating\n */\n scale?: _RatingScale;\n}\n\n/**\n * Represents the end of call survey.\n * @internal\n */\nexport declare interface _CallSurvey {\n /**\n * Overall call rating with optional overall issues\n */\n overallRating?: _CallRating<_OverallIssue>;\n /**\n * Audio rating with optional audio issues\n */\n audioRating?: _CallRating<_AudioIssue>;\n /**\n * Video rating with optional video issues\n */\n videoRating?: _CallRating<_VideoIssue>;\n /**\n * Screenshare rating with optional screenshare issues\n */\n screenshareRating?: _CallRating<_ScreenshareIssue>;\n}\n\n/**\n * Represents the end of call survey response.\n * @internal\n */\nexport declare interface _CallSurveyResponse extends _CallSurvey {\n /**\n * Uniquely identify the call survey\n */\n readonly id: string;\n /**\n * Uniquely identify the call being served\n */\n readonly callId: string;\n /**\n * The participant submitting the survey\n */\n readonly localParticipantId: string;\n}\n\n/**\n * Represents the end of call survey call issues.\n * @example\n * CallCannotJoin - participant is unable to join the call.\n * CallCannotInvite - participant is unable to add another participant in the call.\n * HadToRejoin - participant rejoined the call due the call quality issue.\n * CallEndedUnexpectedly - when the call ended unexpectedly.\n * OtherIssues - any other overall call issue not listed here.\n *\n * @internal\n *\n */\nexport declare type _OverallIssue =\n | 'CallCannotJoin'\n | 'CallCannotInvite'\n | 'HadToRejoin'\n | 'CallEndedUnexpectedly'\n | 'OtherIssues';\n\n/**\n * Represents the end of call survey audio issues.\n * @example\n * NoLocalAudio - other participants unable to hear me.\n * NoRemoteAudio - participant unable to hear another participant's audio.\n * Echo - heard echo.\n * AudioNoise - heard audio noise.\n * LowVolume - call audio volume was low.\n * AudioStoppedUnexpectedly - call audio stopped unexpectedly.\n * DistortedSpeech - audio was distorted.\n * AudioInterruption - audio was interrupted.\n * OtherIssues - any other audio issue not listed here.\n *\n * @internal\n *\n */\nexport declare type _AudioIssue =\n | 'NoLocalAudio'\n | 'NoRemoteAudio'\n | 'Echo'\n | 'AudioNoise'\n | 'LowVolume'\n | 'AudioStoppedUnexpectedly'\n | 'DistortedSpeech'\n | 'AudioInterruption'\n | 'OtherIssues';\n\n/**\n * Represents the end of call survey screenshare issues.\n * @example\n * NoContentLocal - other participants unable to see my screen.\n * NoContentRemote - participant unable to saw another participant's screen share.\n * CannotPresent - participant was unable to share the screen.\n * LowQuality - screen share video quality was low.\n * Freezes - screen share freezes.\n * StoppedUnexpectedly - screen share stopped unexpectedly.\n * LargeDelay - watch screen share having large delay.\n * OtherIssues - any other screen share issue not listed here.\n *\n * @internal\n *\n */\nexport declare type _ScreenshareIssue =\n | 'NoContentLocal'\n | 'NoContentRemote'\n | 'CannotPresent'\n | 'LowQuality'\n | 'Freezes'\n | 'StoppedUnexpectedly'\n | 'LargeDelay'\n | 'OtherIssues';\n\n/**\n * Represents the end of call survey video issues.\n * @example\n * NoVideoReceived - participant unable to saw another participant's video.\n * NoVideoSent - other participants unable to see me.\n * LowQuality - video quality was low.\n * Freezes - video freezes.\n * StoppedUnexpectedly - video stopped unexpectedly.\n * DarkVideoReceived - participant receives dark video.\n * AudioVideoOutOfSync - participant watch video and audio out of sync.\n * OtherIssues - any other video issue not listed here.\n *\n * @internal\n *\n */\nexport declare type _VideoIssue =\n | 'NoVideoReceived'\n | 'NoVideoSent'\n | 'LowQuality'\n | 'Freezes'\n | 'StoppedUnexpectedly'\n | 'DarkVideoReceived'\n | 'AudioVideoOutOfSync'\n | 'OtherIssues';\n\n/**\n * Rating scale to override the default scale\n * @internal\n */\nexport declare interface _RatingScale {\n /**\n * Lower bound of the rating value 0 to 100 (default 1)\n */\n lowerBound: number;\n /**\n * Upper bound of the rating value 0 to 100 (default 5)\n */\n upperBound: number;\n /**\n * The rating value greater than the threshold will be considered as good\n */\n lowScoreThreshold: number;\n}\n"]}
@@ -0,0 +1,59 @@
1
+ /// <reference types="react" />
2
+ import { _AudioIssue, _CallSurvey, _OverallIssue, _ScreenshareIssue, _VideoIssue } from '../SurveyTypes';
3
+ import { SurveyIssuesHeadingStrings, SurveyIssues } from '../../../types';
4
+ /**
5
+ * Strings of {@link TagsSurvey} that can be overridden.
6
+ *
7
+ * @internal
8
+ */
9
+ export interface _TagsSurveyStrings {
10
+ /**
11
+ * Survey question
12
+ */
13
+ tagsSurveyQuestion?: string;
14
+ /**
15
+ * Helper text for tag survey explaining what the survey is for
16
+ */
17
+ tagsSurveyHelperText?: string;
18
+ }
19
+ /**
20
+ * Survey Issue categories
21
+ *
22
+ * @internal
23
+ */
24
+ export type _IssueCategory = 'overallRating' | 'audioRating' | 'videoRating' | 'screenshareRating';
25
+ /**
26
+ * Key value pair of survey catogories and corresponding message/issue
27
+ *
28
+ * @internal
29
+ */
30
+ export type _SurveyTag = {
31
+ [issueCategory: string]: {
32
+ message: string;
33
+ issue: _AudioIssue | _OverallIssue | _ScreenshareIssue | _VideoIssue;
34
+ }[];
35
+ };
36
+ /**
37
+ * Props for {@link TagsSurvey} component.
38
+ *
39
+ * @internal
40
+ */
41
+ export interface _TagsSurveyProps {
42
+ /** Issues included in the survey */
43
+ issues: (_AudioIssue | _OverallIssue | _ScreenshareIssue | _VideoIssue)[];
44
+ /** Mappings from call issues to tags displayed on the survey*/
45
+ callIssuesToTag: SurveyIssues;
46
+ /** Mappings from issue category to categories displayed on survey*/
47
+ categoryHeadings: SurveyIssuesHeadingStrings;
48
+ /** Function to send TagsSurvey results*/
49
+ onConfirm?: (selectedTags: _CallSurvey) => void;
50
+ /** Tags survey strings */
51
+ strings?: _TagsSurveyStrings;
52
+ }
53
+ /**
54
+ * A component to allow users to send numerical ratings regarding call quality
55
+ *
56
+ * @internal
57
+ */
58
+ export declare const _TagsSurvey: (props: _TagsSurveyProps) => JSX.Element;
59
+ //# sourceMappingURL=TagsSurvey.d.ts.map
@@ -0,0 +1,81 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import React, { useMemo, useState } from 'react';
4
+ import { Text, useTheme, Stack, Checkbox, Pivot, PivotItem } from '@fluentui/react';
5
+ import { checkboxClassName, questionTextStyle, helperTextStyle } from './TagsSurvey.styles';
6
+ /**
7
+ * A component to allow users to send numerical ratings regarding call quality
8
+ *
9
+ * @internal
10
+ */
11
+ export const _TagsSurvey = (props) => {
12
+ const { issues, callIssuesToTag, categoryHeadings, onConfirm, strings } = props;
13
+ const [selectedTags, setSelectedTags] = useState({});
14
+ const tags = useMemo(() => {
15
+ const tags = [];
16
+ issues.forEach((issue) => {
17
+ const issueCamelCase = (issue === null || issue === void 0 ? void 0 : issue.charAt(0).toLowerCase()) + (issue === null || issue === void 0 ? void 0 : issue.slice(1));
18
+ const issueCategory = Object.keys(callIssuesToTag).find((key) => callIssuesToTag[key][issueCamelCase] !== undefined);
19
+ if (issueCategory) {
20
+ if (tags[issueCategory]) {
21
+ tags[issueCategory].push({
22
+ message: callIssuesToTag[issueCategory][issueCamelCase],
23
+ issue: issue
24
+ });
25
+ }
26
+ else {
27
+ tags[issueCategory] = [
28
+ {
29
+ message: callIssuesToTag[issueCategory][issueCamelCase],
30
+ issue: issue
31
+ }
32
+ ];
33
+ }
34
+ }
35
+ });
36
+ return tags;
37
+ }, [issues, callIssuesToTag]);
38
+ const onChange = React.useCallback((issue, issueCategory, checked) => {
39
+ if (checked) {
40
+ setSelectedTags((prevState) => {
41
+ if (prevState[issueCategory]) {
42
+ prevState[issueCategory].issues.push(issue);
43
+ }
44
+ else {
45
+ prevState[issueCategory] = { score: 1, issues: [issue] };
46
+ }
47
+ return prevState;
48
+ });
49
+ }
50
+ else {
51
+ setSelectedTags((prevState) => {
52
+ if (prevState[issueCategory]) {
53
+ prevState[issueCategory].issues = prevState[issueCategory].issues.filter(function (value) {
54
+ return value !== issue;
55
+ });
56
+ if (prevState[issueCategory].issues.length === 0) {
57
+ delete prevState[issueCategory];
58
+ }
59
+ }
60
+ return prevState;
61
+ });
62
+ }
63
+ if (onConfirm) {
64
+ onConfirm(selectedTags);
65
+ }
66
+ }, [onConfirm, selectedTags]);
67
+ const theme = useTheme();
68
+ return (React.createElement(React.Fragment, null,
69
+ React.createElement(Stack, { verticalAlign: "center" },
70
+ React.createElement(Text, { className: questionTextStyle(theme) }, strings === null || strings === void 0 ? void 0 : strings.tagsSurveyQuestion),
71
+ React.createElement(Text, { className: helperTextStyle(theme) }, strings === null || strings === void 0 ? void 0 : strings.tagsSurveyHelperText)),
72
+ React.createElement(Pivot, null, Object.keys(tags).map((key, i) => {
73
+ return (React.createElement(PivotItem, { key: `key-${i}`, headerText: categoryHeadings[key], headerButtonProps: {
74
+ 'data-order': i,
75
+ 'data-title': key
76
+ }, alwaysRender: true }, tags[key].map((t, i) => {
77
+ return (React.createElement(Checkbox, { className: checkboxClassName, key: `checkBox_${i}`, label: t.message, onChange: (ev, checked) => onChange(t.issue, key, checked !== null && checked !== void 0 ? checked : false) }));
78
+ })));
79
+ }))));
80
+ };
81
+ //# sourceMappingURL=TagsSurvey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagsSurvey.js","sourceRoot":"","sources":["../../../../../../../../react-components/src/components/Survey/TagsSurvey/TagsSurvey.tsx"],"names":[],"mappings":"AAAA,uCAA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EAAE,GAAG,EAAE,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,KAAK,CAAC,GACnE,CACH,CAAC;YACJ,CAAC,CAAC,CACQ,CACb,CAAC;QACJ,CAAC,CAAC,CACI,CACP,CACJ,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { useMemo, useState } from 'react';\nimport { Text, useTheme, Stack, Checkbox, Pivot, PivotItem } from '@fluentui/react';\nimport { _formatString, _pxToRem } from '@internal/acs-ui-common';\nimport { checkboxClassName, questionTextStyle, helperTextStyle } from './TagsSurvey.styles';\nimport {\n _AudioIssue,\n _CallSurvey,\n _CallSurveyResponse,\n _OverallIssue,\n _ScreenshareIssue,\n _VideoIssue\n} from '../SurveyTypes';\nimport { SurveyIssuesHeadingStrings, SurveyIssues } from '../../../types';\n/**\n * Strings of {@link TagsSurvey} that can be overridden.\n *\n * @internal\n */\nexport interface _TagsSurveyStrings {\n /**\n * Survey question\n */\n tagsSurveyQuestion?: string;\n /**\n * Helper text for tag survey explaining what the survey is for\n */\n tagsSurveyHelperText?: string;\n}\n\n/**\n * Survey Issue categories\n *\n * @internal\n */\nexport type _IssueCategory = 'overallRating' | 'audioRating' | 'videoRating' | 'screenshareRating';\n\n/**\n * Key value pair of survey catogories and corresponding message/issue\n *\n * @internal\n */\nexport type _SurveyTag = {\n [issueCategory: string]: {\n message: string;\n issue: _AudioIssue | _OverallIssue | _ScreenshareIssue | _VideoIssue;\n }[];\n};\n\n/**\n * Props for {@link TagsSurvey} component.\n *\n * @internal\n */\nexport interface _TagsSurveyProps {\n /** Issues included in the survey */\n issues: (_AudioIssue | _OverallIssue | _ScreenshareIssue | _VideoIssue)[];\n /** Mappings from call issues to tags displayed on the survey*/\n callIssuesToTag: SurveyIssues;\n /** Mappings from issue category to categories displayed on survey*/\n categoryHeadings: SurveyIssuesHeadingStrings;\n /** Function to send TagsSurvey results*/\n onConfirm?: (selectedTags: _CallSurvey) => void;\n /** Tags survey strings */\n strings?: _TagsSurveyStrings;\n}\n\n/**\n * A component to allow users to send numerical ratings regarding call quality\n *\n * @internal\n */\nexport const _TagsSurvey = (props: _TagsSurveyProps): JSX.Element => {\n const { issues, callIssuesToTag, categoryHeadings, onConfirm, strings } = props;\n\n const [selectedTags, setSelectedTags] = useState({});\n\n const tags: _SurveyTag[] = useMemo(() => {\n const tags: _SurveyTag[] = [];\n issues.forEach((issue) => {\n const issueCamelCase = issue?.charAt(0).toLowerCase() + issue?.slice(1);\n const issueCategory = Object.keys(callIssuesToTag).find(\n (key) => callIssuesToTag[key][issueCamelCase] !== undefined\n );\n if (issueCategory) {\n if (tags[issueCategory]) {\n tags[issueCategory].push({\n message: callIssuesToTag[issueCategory][issueCamelCase],\n issue: issue\n });\n } else {\n tags[issueCategory] = [\n {\n message: callIssuesToTag[issueCategory][issueCamelCase],\n issue: issue\n }\n ];\n }\n }\n });\n return tags;\n }, [issues, callIssuesToTag]);\n\n const onChange = React.useCallback(\n (issue: string, issueCategory: string, checked: boolean): void => {\n if (checked) {\n setSelectedTags((prevState) => {\n if (prevState[issueCategory]) {\n prevState[issueCategory].issues.push(issue);\n } else {\n prevState[issueCategory] = { score: 1, issues: [issue] };\n }\n return prevState;\n });\n } else {\n setSelectedTags((prevState) => {\n if (prevState[issueCategory]) {\n prevState[issueCategory].issues = prevState[issueCategory].issues.filter(function (value) {\n return value !== issue;\n });\n if (prevState[issueCategory].issues.length === 0) {\n delete prevState[issueCategory];\n }\n }\n return prevState;\n });\n }\n\n if (onConfirm) {\n onConfirm(selectedTags);\n }\n },\n [onConfirm, selectedTags]\n );\n\n const theme = useTheme();\n\n return (\n <>\n <Stack verticalAlign=\"center\">\n <Text className={questionTextStyle(theme)}>{strings?.tagsSurveyQuestion}</Text>\n <Text className={helperTextStyle(theme)}>{strings?.tagsSurveyHelperText}</Text>\n </Stack>\n\n <Pivot>\n {Object.keys(tags).map((key, i) => {\n return (\n <PivotItem\n key={`key-${i}`}\n headerText={categoryHeadings[key]}\n headerButtonProps={{\n 'data-order': i,\n 'data-title': key\n }}\n alwaysRender\n >\n {tags[key].map((t, i) => {\n return (\n <Checkbox\n className={checkboxClassName}\n key={`checkBox_${i}`}\n label={t.message}\n onChange={(ev, checked) => onChange(t.issue, key, checked ?? false)}\n />\n );\n })}\n </PivotItem>\n );\n })}\n </Pivot>\n </>\n );\n};\n"]}
@@ -0,0 +1,14 @@
1
+ import { Theme } from '@fluentui/react';
2
+ /**
3
+ * @private
4
+ */
5
+ export declare const questionTextStyle: (theme: Theme) => string;
6
+ /**
7
+ * @private
8
+ */
9
+ export declare const helperTextStyle: (theme: Theme) => string;
10
+ /**
11
+ * @private
12
+ */
13
+ export declare const checkboxClassName: string;
14
+ //# sourceMappingURL=TagsSurvey.styles.d.ts.map
@@ -0,0 +1,30 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { mergeStyles } from '@fluentui/react';
4
+ import { _pxToRem } from "../../../../../acs-ui-common/src";
5
+ /**
6
+ * @private
7
+ */
8
+ export const questionTextStyle = (theme) => mergeStyles({
9
+ fontWeight: 600,
10
+ fontSize: _pxToRem(14),
11
+ lineHeight: _pxToRem(20),
12
+ color: theme.palette.neutralPrimary,
13
+ paddingTop: _pxToRem(20)
14
+ });
15
+ /**
16
+ * @private
17
+ */
18
+ export const helperTextStyle = (theme) => mergeStyles({
19
+ fontWeight: 400,
20
+ fontSize: _pxToRem(12),
21
+ lineHeight: _pxToRem(16),
22
+ color: theme.palette.neutralPrimary
23
+ });
24
+ /**
25
+ * @private
26
+ */
27
+ export const checkboxClassName = mergeStyles({
28
+ padding: _pxToRem(8)
29
+ });
30
+ //# sourceMappingURL=TagsSurvey.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagsSurvey.styles.js","sourceRoot":"","sources":["../../../../../../../../react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAS,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,yCAAgC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAY,EAAU,EAAE,CACxD,WAAW,CAAC;IACV,UAAU,EAAE,GAAG;IACf,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;IACtB,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;IACnC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;CACzB,CAAC,CAAC;AAEL;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAY,EAAU,EAAE,CACtD,WAAW,CAAC;IACV,UAAU,EAAE,GAAG;IACf,QAAQ,EAAE,QAAQ,CAAC,EAAE,CAAC;IACtB,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc;CACpC,CAAC,CAAC;AAEL;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,WAAW,CAAC;IAC3C,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;CACrB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Theme, mergeStyles } from '@fluentui/react';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\n/**\n * @private\n */\nexport const questionTextStyle = (theme: Theme): string =>\n mergeStyles({\n fontWeight: 600,\n fontSize: _pxToRem(14),\n lineHeight: _pxToRem(20),\n color: theme.palette.neutralPrimary,\n paddingTop: _pxToRem(20)\n });\n\n/**\n * @private\n */\nexport const helperTextStyle = (theme: Theme): string =>\n mergeStyles({\n fontWeight: 400,\n fontSize: _pxToRem(12),\n lineHeight: _pxToRem(16),\n color: theme.palette.neutralPrimary\n });\n\n/**\n * @private\n */\nexport const checkboxClassName = mergeStyles({\n padding: _pxToRem(8)\n});\n"]}
@@ -77,6 +77,11 @@ export { _ComplianceBanner } from './ComplianceBanner';
77
77
  export type { _ComplianceBannerProps, _ComplianceBannerStrings } from './ComplianceBanner';
78
78
  export { Dialpad } from './Dialpad/Dialpad';
79
79
  export type { DialpadProps, DialpadStrings, DialpadStyles, DtmfTone } from './Dialpad/Dialpad';
80
+ export { _StarSurvey } from './Survey/StarSurvey/StarSurvey';
81
+ export type { _StarSurveyProps, _StarSurveyStrings } from './Survey/StarSurvey/StarSurvey';
82
+ export * from './Survey/SurveyTypes';
83
+ export { _TagsSurvey } from './Survey/TagsSurvey/TagsSurvey';
84
+ export type { _TagsSurveyProps, _TagsSurveyStrings, _IssueCategory, _SurveyTag } from './Survey/TagsSurvey/TagsSurvey';
80
85
  export { HoldButton } from './HoldButton';
81
86
  export type { HoldButtonProps, HoldButtonStrings } from './HoldButton';
82
87
  export { _LocalVideoTile } from './LocalVideoTile';
@@ -42,6 +42,12 @@ export * from './FileDownloadCards';
42
42
  export { _useContainerHeight, _useContainerWidth } from './utils/responsive';
43
43
  export { _ComplianceBanner } from './ComplianceBanner';
44
44
  export { Dialpad } from './Dialpad/Dialpad';
45
+ /* @conditional-compile-remove(end-of-call-survey) */
46
+ export { _StarSurvey } from './Survey/StarSurvey/StarSurvey';
47
+ /* @conditional-compile-remove(end-of-call-survey) */
48
+ export * from './Survey/SurveyTypes';
49
+ /* @conditional-compile-remove(end-of-call-survey) */
50
+ export { _TagsSurvey } from './Survey/TagsSurvey/TagsSurvey';
45
51
  /* @conditional-compile-remove(PSTN-calls) */
46
52
  export { HoldButton } from './HoldButton';
47
53
  export { _LocalVideoTile } from './LocalVideoTile';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAA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wCAAwC,CAAC;AAEhD,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAQ5F,iDAAiD;AACjD,cAAc,kBAAkB,CAAC;AACjC,iDAAiD;AACjD,cAAc,WAAW,CAAC;AAC1B,iDAAiD;AACjD,cAAc,uBAAuB,CAAC;AACtC,iDAAiD;AACjD,cAAc,yBAAyB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { TypingIndicator } from './TypingIndicator';\nexport type { TypingIndicatorProps, TypingIndicatorStrings, TypingIndicatorStylesProps } from './TypingIndicator';\n\nexport { ErrorBar } from './ErrorBar';\nexport type { ActiveErrorMessage, ErrorBarProps, ErrorBarStrings, ErrorType } from './ErrorBar';\n\nexport { GridLayout } from './GridLayout';\nexport type { GridLayoutProps, GridLayoutStyles } from './GridLayout';\n\nexport { SendBox } from './SendBox';\n/* @conditional-compile-remove(mention) */\nexport { _MentionPopover } from './MentionPopover';\n\n/* @conditional-compile-remove(image-gallery) */\nexport { ImageGallery } from './ImageGallery';\n/* @conditional-compile-remove(image-gallery) */\nexport type { ImageGalleryStrings } from './ImageGallery';\n\nexport type { SendBoxProps, SendBoxStrings, SendBoxStylesProps } from './SendBox';\n\n/* @conditional-compile-remove(mention) */\nexport type {\n _MentionPopoverProps,\n MentionLookupOptions,\n MentionDisplayOptions,\n MentionOptions,\n Mention,\n MentionPopoverStrings\n} from './MentionPopover';\n\n/* @conditional-compile-remove(image-gallery) */\nexport type { ImageGalleryProps, ImageGalleryImageProps } from './ImageGallery';\n\n/* @conditional-compile-remove(file-sharing) */\nexport type { ActiveFileUpload } from './SendBox';\n\nexport { MessageStatusIndicator } from './MessageStatusIndicator';\nexport type { MessageStatusIndicatorProps, MessageStatusIndicatorStrings } from './MessageStatusIndicator';\n\nexport { MessageThread } from './MessageThread';\nexport type {\n MessageProps,\n MessageThreadProps,\n MessageThreadStrings,\n MessageThreadStyles,\n JumpToNewMessageButtonProps,\n MessageRenderer,\n UpdateMessageCallback,\n CancelEditCallback\n} from './MessageThread';\n\nexport { StreamMedia } from './StreamMedia';\nexport type { StreamMediaProps } from './StreamMedia';\nexport type { LoadingState } from './StreamMedia';\n\nexport { ParticipantItem } from './ParticipantItem';\nexport type { ParticipantItemProps, ParticipantItemStrings, ParticipantItemStyles } from './ParticipantItem';\n\nexport { ParticipantList } from './ParticipantList';\nexport type {\n ParticipantListItemStyles,\n ParticipantListProps,\n ParticipantListStyles,\n ParticipantMenuItemsCallback\n} from './ParticipantList';\n\n/* @conditional-compile-remove(total-participant-count) */\nexport type { ParticipantListStrings } from './ParticipantList';\n\nexport { Announcer } from './Announcer';\nexport type { AnnouncerProps } from './Announcer';\n\nexport { VideoGallery } from './VideoGallery';\nexport type { VideoGalleryProps, VideoGalleryStrings, VideoGalleryStyles, VideoGalleryLayout } from './VideoGallery';\n/* @conditional-compile-remove(pinned-participants) */\nexport type { VideoTileContextualMenuProps, VideoTileDrawerMenuProps } from './VideoGallery';\n/* @conditional-compile-remove(vertical-gallery) */\nexport type { OverflowGalleryPosition } from './VideoGallery';\n/* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */\nexport type { LocalVideoTileSize } from './VideoGallery';\nexport type { HorizontalGalleryStyles } from './HorizontalGallery';\n\nexport { LocalVideoCameraCycleButton } from './LocalVideoCameraButton';\nexport type { LocalVideoCameraCycleButtonProps } from './LocalVideoCameraButton';\n\nexport { CameraButton } from './CameraButton';\nexport type {\n CameraButtonContextualMenuStyles,\n CameraButtonProps,\n CameraButtonStrings,\n CameraButtonStyles\n} from './CameraButton';\n\nexport { ControlBar } from './ControlBar';\nexport type { ControlBarProps, ControlBarLayout } from './ControlBar';\n\nexport { ControlBarButton } from './ControlBarButton';\nexport type { ControlBarButtonProps, ControlBarButtonStrings, ControlBarButtonStyles } from './ControlBarButton';\n\nexport { EndCallButton } from './EndCallButton';\nexport type { EndCallButtonProps, EndCallButtonStrings } from './EndCallButton';\n\nexport { MicrophoneButton } from './MicrophoneButton';\nexport type {\n MicrophoneButtonStyles,\n MicrophoneButtonContextualMenuStyles,\n MicrophoneButtonProps,\n MicrophoneButtonStrings\n} from './MicrophoneButton';\n\nexport { DevicesButton, generateDefaultDeviceMenuProps as _generateDefaultDeviceMenuProps } from './DevicesButton';\nexport type {\n OptionsDevice,\n DevicesButtonProps,\n DevicesButtonStrings,\n DevicesButtonStyles,\n DevicesButtonContextualMenuStyles,\n DeviceMenuProps as _DeviceMenuProps,\n DeviceMenuStrings as _DeviceMenuStrings,\n DeviceMenuStyles as _DeviceMenuStyles\n} from './DevicesButton';\n\n/* @conditional-compile-remove(call-readiness) */\nexport {\n CameraAndMicrophoneSitePermissions,\n MicrophoneSitePermissions,\n CameraSitePermissions\n} from './DevicePermissions/SitePermissions';\n/* @conditional-compile-remove(call-readiness) */\nexport type { SitePermissionsStrings, SitePermissionsStyles } from './DevicePermissions/SitePermissionsScaffolding';\n/* @conditional-compile-remove(call-readiness) */\nexport type {\n CameraAndMicrophoneSitePermissionsStrings,\n CameraAndMicrophoneSitePermissionsProps,\n CameraSitePermissionsStrings,\n CameraSitePermissionsProps,\n CommonSitePermissionsProps,\n MicrophoneSitePermissionsStrings,\n MicrophoneSitePermissionsProps\n} from './DevicePermissions/SitePermissions';\n/* @conditional-compile-remove(call-readiness) */\nexport { BrowserPermissionDenied } from './DevicePermissions/BrowserPermissionDenied';\n/* @conditional-compile-remove(call-readiness) */\nexport type {\n BrowserPermissionDeniedStrings,\n BrowserPermissionDeniedStyles,\n BrowserPermissionDeniedProps\n} from './DevicePermissions/BrowserPermissionDenied';\n/* @conditional-compile-remove(call-readiness) */\nexport { BrowserPermissionDeniedIOS } from './DevicePermissions/BrowserPermissionDeniedIOS';\n/* @conditional-compile-remove(call-readiness) */\nexport type {\n BrowserPermissionDeniedIOSStrings,\n BrowserPermissionDeniedIOSProps\n} from './DevicePermissions/BrowserPermissionDeniedIOS';\n\nexport { ParticipantsButton } from './ParticipantsButton';\nexport type {\n ParticipantsButtonContextualMenuStyles,\n ParticipantsButtonProps,\n ParticipantsButtonStrings,\n ParticipantsButtonStyles\n} from './ParticipantsButton';\n\nexport { ScreenShareButton } from './ScreenShareButton';\nexport type { ScreenShareButtonProps, ScreenShareButtonStrings } from './ScreenShareButton';\n\n/* @conditional-compile-remove(raise-hand) */\nexport { RaiseHandButton } from './RaiseHandButton';\n/* @conditional-compile-remove(raise-hand) */\nexport type { RaiseHandButtonProps, RaiseHandButtonStrings } from './RaiseHandButton';\n\nexport { VideoTile } from './VideoTile';\nexport type { VideoTileProps, VideoTileStylesProps } from './VideoTile';\n/* @conditional-compile-remove(PSTN-calls) */\nexport type { VideoTileStrings } from './VideoTile';\n\nexport { _PictureInPictureInPicture } from './PictureInPictureInPicture/PictureInPictureInPicture';\nexport type {\n _PictureInPictureInPictureProps,\n _PictureInPictureInPictureStrings\n} from './PictureInPictureInPicture/PictureInPictureInPicture';\nexport type {\n _PictureInPictureInPictureTileProps,\n _TileOrientation\n} from './PictureInPictureInPicture/PictureInPictureInPictureTile';\n\nexport * from './Drawer';\n/* @conditional-compile-remove(file-sharing) */\nexport type { SendBoxErrorBarError } from './SendBoxErrorBar';\nexport * from './FileCard';\nexport * from './FileCardGroup';\nexport * from './ModalClone/ModalClone';\nexport * from './FileDownloadCards';\nexport type { _FileUploadCardsStrings } from './FileUploadCards';\n\nexport { _useContainerHeight, _useContainerWidth } from './utils/responsive';\n\nexport { _ComplianceBanner } from './ComplianceBanner';\nexport type { _ComplianceBannerProps, _ComplianceBannerStrings } from './ComplianceBanner';\nexport { Dialpad } from './Dialpad/Dialpad';\nexport type { DialpadProps, DialpadStrings, DialpadStyles, DtmfTone } from './Dialpad/Dialpad';\n\n/* @conditional-compile-remove(PSTN-calls) */\nexport { HoldButton } from './HoldButton';\n/* @conditional-compile-remove(PSTN-calls) */\nexport type { HoldButtonProps, HoldButtonStrings } from './HoldButton';\n\nexport { _LocalVideoTile } from './LocalVideoTile';\nexport { _RemoteVideoTile } from './RemoteVideoTile';\nexport { _HighContrastAwareIcon } from './HighContrastAwareIcon';\nexport type { _HighContrastAwareIconProps } from './HighContrastAwareIcon';\n\nexport { UnsupportedBrowser } from './UnsupportedBrowser';\nexport type { UnsupportedBrowserStrings, UnsupportedBrowserProps } from './UnsupportedBrowser';\nexport { UnsupportedBrowserVersion } from './UnsupportedBrowserVersion';\nexport type { UnsupportedBrowserVersionStrings, UnsupportedBrowserVersionProps } from './UnsupportedBrowserVersion';\nexport { UnsupportedOperatingSystem } from './UnsupportedOperatingSystem';\nexport type { UnsupportedOperatingSystemStrings, UnsupportedOperatingSystemProps } from './UnsupportedOperatingSystem';\n\nexport { _TroubleshootingGuideErrorBar } from './TroubleshootingGuideErrorBar';\nexport type {\n _TroubleshootingGuideErrorBarStrings,\n _TroubleshootingGuideErrorBarProps\n} from './TroubleshootingGuideErrorBar';\n\nexport { _DevicePermissionDropdown } from './DevicePermissions/DevicePermissionDropdown';\nexport type {\n _DevicePermissionDropdownStrings,\n _DevicePermissionDropdownProps,\n _PermissionConstraints\n} from './DevicePermissions/DevicePermissionDropdown';\n\nexport { _VideoEffectsItem } from './VideoEffects/VideoEffectsItem';\nexport type { _VideoEffectsItemProps, _VideoEffectsItemStyles } from './VideoEffects/VideoEffectsItem';\nexport {\n _VideoEffectsItemNoBackground,\n _VideoEffectsItemBlur,\n _VideoEffectsItemAddImage\n} from './VideoEffects/PresetVideoEffectsItems';\n\nexport { _VideoBackgroundEffectsPicker } from './VideoEffects/VideoBackgroundEffectsPicker';\nexport type {\n _VideoBackgroundEffectsPickerProps,\n _VideoBackgroundEffectChoiceOption,\n _VideoBackgroundEffectsPickerStyles\n} from './VideoEffects/VideoBackgroundEffectsPicker';\n\nexport type { VerticalGalleryStyles, VerticalGalleryStrings, VerticalGalleryControlBarStyles } from './VerticalGallery';\n/* @conditional-compile-remove(close-captions) */\nexport * from './CaptionsBanner';\n/* @conditional-compile-remove(close-captions) */\nexport * from './Caption';\n/* @conditional-compile-remove(close-captions) */\nexport * from './StartCaptionsButton';\n/* @conditional-compile-remove(close-captions) */\nexport * from './CaptionsSettingsModal';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,0CAA0C;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,gDAAgD;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAsB9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAYhD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAWpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAU9C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAGvE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQ9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQtD,OAAO,EAAE,aAAa,EAAE,8BAA8B,IAAI,+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M,yBAAyB,CAAC;AAGjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAM/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAOzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EACrB,yBAAyB,EAC1B,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAQ5F,iDAAiD;AACjD,cAAc,kBAAkB,CAAC;AACjC,iDAAiD;AACjD,cAAc,WAAW,CAAC;AAC1B,iDAAiD;AACjD,cAAc,uBAAuB,CAAC;AACtC,iDAAiD;AACjD,cAAc,yBAAyB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { TypingIndicator } from './TypingIndicator';\nexport type { TypingIndicatorProps, TypingIndicatorStrings, TypingIndicatorStylesProps } from './TypingIndicator';\n\nexport { ErrorBar } from './ErrorBar';\nexport type { ActiveErrorMessage, ErrorBarProps, ErrorBarStrings, ErrorType } from './ErrorBar';\n\nexport { GridLayout } from './GridLayout';\nexport type { GridLayoutProps, GridLayoutStyles } from './GridLayout';\n\nexport { SendBox } from './SendBox';\n/* @conditional-compile-remove(mention) */\nexport { _MentionPopover } from './MentionPopover';\n\n/* @conditional-compile-remove(image-gallery) */\nexport { ImageGallery } from './ImageGallery';\n/* @conditional-compile-remove(image-gallery) */\nexport type { ImageGalleryStrings } from './ImageGallery';\n\nexport type { SendBoxProps, SendBoxStrings, SendBoxStylesProps } from './SendBox';\n\n/* @conditional-compile-remove(mention) */\nexport type {\n _MentionPopoverProps,\n MentionLookupOptions,\n MentionDisplayOptions,\n MentionOptions,\n Mention,\n MentionPopoverStrings\n} from './MentionPopover';\n\n/* @conditional-compile-remove(image-gallery) */\nexport type { ImageGalleryProps, ImageGalleryImageProps } from './ImageGallery';\n\n/* @conditional-compile-remove(file-sharing) */\nexport type { ActiveFileUpload } from './SendBox';\n\nexport { MessageStatusIndicator } from './MessageStatusIndicator';\nexport type { MessageStatusIndicatorProps, MessageStatusIndicatorStrings } from './MessageStatusIndicator';\n\nexport { MessageThread } from './MessageThread';\nexport type {\n MessageProps,\n MessageThreadProps,\n MessageThreadStrings,\n MessageThreadStyles,\n JumpToNewMessageButtonProps,\n MessageRenderer,\n UpdateMessageCallback,\n CancelEditCallback\n} from './MessageThread';\n\nexport { StreamMedia } from './StreamMedia';\nexport type { StreamMediaProps } from './StreamMedia';\nexport type { LoadingState } from './StreamMedia';\n\nexport { ParticipantItem } from './ParticipantItem';\nexport type { ParticipantItemProps, ParticipantItemStrings, ParticipantItemStyles } from './ParticipantItem';\n\nexport { ParticipantList } from './ParticipantList';\nexport type {\n ParticipantListItemStyles,\n ParticipantListProps,\n ParticipantListStyles,\n ParticipantMenuItemsCallback\n} from './ParticipantList';\n\n/* @conditional-compile-remove(total-participant-count) */\nexport type { ParticipantListStrings } from './ParticipantList';\n\nexport { Announcer } from './Announcer';\nexport type { AnnouncerProps } from './Announcer';\n\nexport { VideoGallery } from './VideoGallery';\nexport type { VideoGalleryProps, VideoGalleryStrings, VideoGalleryStyles, VideoGalleryLayout } from './VideoGallery';\n/* @conditional-compile-remove(pinned-participants) */\nexport type { VideoTileContextualMenuProps, VideoTileDrawerMenuProps } from './VideoGallery';\n/* @conditional-compile-remove(vertical-gallery) */\nexport type { OverflowGalleryPosition } from './VideoGallery';\n/* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */\nexport type { LocalVideoTileSize } from './VideoGallery';\nexport type { HorizontalGalleryStyles } from './HorizontalGallery';\n\nexport { LocalVideoCameraCycleButton } from './LocalVideoCameraButton';\nexport type { LocalVideoCameraCycleButtonProps } from './LocalVideoCameraButton';\n\nexport { CameraButton } from './CameraButton';\nexport type {\n CameraButtonContextualMenuStyles,\n CameraButtonProps,\n CameraButtonStrings,\n CameraButtonStyles\n} from './CameraButton';\n\nexport { ControlBar } from './ControlBar';\nexport type { ControlBarProps, ControlBarLayout } from './ControlBar';\n\nexport { ControlBarButton } from './ControlBarButton';\nexport type { ControlBarButtonProps, ControlBarButtonStrings, ControlBarButtonStyles } from './ControlBarButton';\n\nexport { EndCallButton } from './EndCallButton';\nexport type { EndCallButtonProps, EndCallButtonStrings } from './EndCallButton';\n\nexport { MicrophoneButton } from './MicrophoneButton';\nexport type {\n MicrophoneButtonStyles,\n MicrophoneButtonContextualMenuStyles,\n MicrophoneButtonProps,\n MicrophoneButtonStrings\n} from './MicrophoneButton';\n\nexport { DevicesButton, generateDefaultDeviceMenuProps as _generateDefaultDeviceMenuProps } from './DevicesButton';\nexport type {\n OptionsDevice,\n DevicesButtonProps,\n DevicesButtonStrings,\n DevicesButtonStyles,\n DevicesButtonContextualMenuStyles,\n DeviceMenuProps as _DeviceMenuProps,\n DeviceMenuStrings as _DeviceMenuStrings,\n DeviceMenuStyles as _DeviceMenuStyles\n} from './DevicesButton';\n\n/* @conditional-compile-remove(call-readiness) */\nexport {\n CameraAndMicrophoneSitePermissions,\n MicrophoneSitePermissions,\n CameraSitePermissions\n} from './DevicePermissions/SitePermissions';\n/* @conditional-compile-remove(call-readiness) */\nexport type { SitePermissionsStrings, SitePermissionsStyles } from './DevicePermissions/SitePermissionsScaffolding';\n/* @conditional-compile-remove(call-readiness) */\nexport type {\n CameraAndMicrophoneSitePermissionsStrings,\n CameraAndMicrophoneSitePermissionsProps,\n CameraSitePermissionsStrings,\n CameraSitePermissionsProps,\n CommonSitePermissionsProps,\n MicrophoneSitePermissionsStrings,\n MicrophoneSitePermissionsProps\n} from './DevicePermissions/SitePermissions';\n/* @conditional-compile-remove(call-readiness) */\nexport { BrowserPermissionDenied } from './DevicePermissions/BrowserPermissionDenied';\n/* @conditional-compile-remove(call-readiness) */\nexport type {\n BrowserPermissionDeniedStrings,\n BrowserPermissionDeniedStyles,\n BrowserPermissionDeniedProps\n} from './DevicePermissions/BrowserPermissionDenied';\n/* @conditional-compile-remove(call-readiness) */\nexport { BrowserPermissionDeniedIOS } from './DevicePermissions/BrowserPermissionDeniedIOS';\n/* @conditional-compile-remove(call-readiness) */\nexport type {\n BrowserPermissionDeniedIOSStrings,\n BrowserPermissionDeniedIOSProps\n} from './DevicePermissions/BrowserPermissionDeniedIOS';\n\nexport { ParticipantsButton } from './ParticipantsButton';\nexport type {\n ParticipantsButtonContextualMenuStyles,\n ParticipantsButtonProps,\n ParticipantsButtonStrings,\n ParticipantsButtonStyles\n} from './ParticipantsButton';\n\nexport { ScreenShareButton } from './ScreenShareButton';\nexport type { ScreenShareButtonProps, ScreenShareButtonStrings } from './ScreenShareButton';\n\n/* @conditional-compile-remove(raise-hand) */\nexport { RaiseHandButton } from './RaiseHandButton';\n/* @conditional-compile-remove(raise-hand) */\nexport type { RaiseHandButtonProps, RaiseHandButtonStrings } from './RaiseHandButton';\n\nexport { VideoTile } from './VideoTile';\nexport type { VideoTileProps, VideoTileStylesProps } from './VideoTile';\n/* @conditional-compile-remove(PSTN-calls) */\nexport type { VideoTileStrings } from './VideoTile';\n\nexport { _PictureInPictureInPicture } from './PictureInPictureInPicture/PictureInPictureInPicture';\nexport type {\n _PictureInPictureInPictureProps,\n _PictureInPictureInPictureStrings\n} from './PictureInPictureInPicture/PictureInPictureInPicture';\nexport type {\n _PictureInPictureInPictureTileProps,\n _TileOrientation\n} from './PictureInPictureInPicture/PictureInPictureInPictureTile';\n\nexport * from './Drawer';\n/* @conditional-compile-remove(file-sharing) */\nexport type { SendBoxErrorBarError } from './SendBoxErrorBar';\nexport * from './FileCard';\nexport * from './FileCardGroup';\nexport * from './ModalClone/ModalClone';\nexport * from './FileDownloadCards';\nexport type { _FileUploadCardsStrings } from './FileUploadCards';\n\nexport { _useContainerHeight, _useContainerWidth } from './utils/responsive';\n\nexport { _ComplianceBanner } from './ComplianceBanner';\nexport type { _ComplianceBannerProps, _ComplianceBannerStrings } from './ComplianceBanner';\nexport { Dialpad } from './Dialpad/Dialpad';\nexport type { DialpadProps, DialpadStrings, DialpadStyles, DtmfTone } from './Dialpad/Dialpad';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport { _StarSurvey } from './Survey/StarSurvey/StarSurvey';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport type { _StarSurveyProps, _StarSurveyStrings } from './Survey/StarSurvey/StarSurvey';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport * from './Survey/SurveyTypes';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport { _TagsSurvey } from './Survey/TagsSurvey/TagsSurvey';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport type { _TagsSurveyProps, _TagsSurveyStrings, _IssueCategory, _SurveyTag } from './Survey/TagsSurvey/TagsSurvey';\n/* @conditional-compile-remove(PSTN-calls) */\nexport { HoldButton } from './HoldButton';\n/* @conditional-compile-remove(PSTN-calls) */\nexport type { HoldButtonProps, HoldButtonStrings } from './HoldButton';\n\nexport { _LocalVideoTile } from './LocalVideoTile';\nexport { _RemoteVideoTile } from './RemoteVideoTile';\nexport { _HighContrastAwareIcon } from './HighContrastAwareIcon';\nexport type { _HighContrastAwareIconProps } from './HighContrastAwareIcon';\n\nexport { UnsupportedBrowser } from './UnsupportedBrowser';\nexport type { UnsupportedBrowserStrings, UnsupportedBrowserProps } from './UnsupportedBrowser';\nexport { UnsupportedBrowserVersion } from './UnsupportedBrowserVersion';\nexport type { UnsupportedBrowserVersionStrings, UnsupportedBrowserVersionProps } from './UnsupportedBrowserVersion';\nexport { UnsupportedOperatingSystem } from './UnsupportedOperatingSystem';\nexport type { UnsupportedOperatingSystemStrings, UnsupportedOperatingSystemProps } from './UnsupportedOperatingSystem';\n\nexport { _TroubleshootingGuideErrorBar } from './TroubleshootingGuideErrorBar';\nexport type {\n _TroubleshootingGuideErrorBarStrings,\n _TroubleshootingGuideErrorBarProps\n} from './TroubleshootingGuideErrorBar';\n\nexport { _DevicePermissionDropdown } from './DevicePermissions/DevicePermissionDropdown';\nexport type {\n _DevicePermissionDropdownStrings,\n _DevicePermissionDropdownProps,\n _PermissionConstraints\n} from './DevicePermissions/DevicePermissionDropdown';\n\nexport { _VideoEffectsItem } from './VideoEffects/VideoEffectsItem';\nexport type { _VideoEffectsItemProps, _VideoEffectsItemStyles } from './VideoEffects/VideoEffectsItem';\nexport {\n _VideoEffectsItemNoBackground,\n _VideoEffectsItemBlur,\n _VideoEffectsItemAddImage\n} from './VideoEffects/PresetVideoEffectsItems';\n\nexport { _VideoBackgroundEffectsPicker } from './VideoEffects/VideoBackgroundEffectsPicker';\nexport type {\n _VideoBackgroundEffectsPickerProps,\n _VideoBackgroundEffectChoiceOption,\n _VideoBackgroundEffectsPickerStyles\n} from './VideoEffects/VideoBackgroundEffectsPicker';\n\nexport type { VerticalGalleryStyles, VerticalGalleryStrings, VerticalGalleryControlBarStyles } from './VerticalGallery';\n/* @conditional-compile-remove(close-captions) */\nexport * from './CaptionsBanner';\n/* @conditional-compile-remove(close-captions) */\nexport * from './Caption';\n/* @conditional-compile-remove(close-captions) */\nexport * from './StartCaptionsButton';\n/* @conditional-compile-remove(close-captions) */\nexport * from './CaptionsSettingsModal';\n"]}
@@ -36,7 +36,7 @@ export declare const chatMessageDateStyle: CSSProperties;
36
36
  /**
37
37
  * @private
38
38
  */
39
- export declare const useChatMessageStyles: () => Record<"root" | "body" | "bodyWithoutAvatar" | "bodyWithAvatar" | "avatarNoOverlap" | "avatarOverlap", string>;
39
+ export declare const useChatMessageStyles: () => Record<"root" | "body" | "bodyWithoutAvatar" | "bodyWithAvatar" | "avatarNoOverlap" | "avatarOverlap" | "bodyWithPlaceholderImage", string>;
40
40
  /**
41
41
  * @private
42
42
  */