botframework-webchat-api 4.18.0 → 4.18.1-hotfix.20260127.b53acdf
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/decorator.js +1 -1
- package/dist/botframework-webchat-api.d.mts +196 -48
- package/dist/botframework-webchat-api.d.ts +1612 -0
- package/dist/botframework-webchat-api.decorator.d.mts +24 -30
- package/dist/botframework-webchat-api.decorator.d.ts +30 -0
- package/dist/botframework-webchat-api.decorator.js +3 -0
- package/dist/botframework-webchat-api.decorator.js.map +1 -0
- package/dist/botframework-webchat-api.decorator.mjs +1 -1
- package/dist/botframework-webchat-api.decorator.mjs.map +1 -1
- package/dist/botframework-webchat-api.internal.d.mts +18 -1
- package/dist/botframework-webchat-api.internal.d.ts +20 -0
- package/dist/botframework-webchat-api.internal.js +3 -0
- package/dist/botframework-webchat-api.internal.js.map +1 -0
- package/dist/botframework-webchat-api.internal.mjs +1 -1
- package/dist/botframework-webchat-api.internal.mjs.map +1 -1
- package/dist/botframework-webchat-api.js +3 -0
- package/dist/botframework-webchat-api.js.map +1 -0
- package/dist/botframework-webchat-api.mjs +1 -139
- package/dist/botframework-webchat-api.mjs.map +1 -1
- package/dist/chunk-2HABAU7C.mjs +3 -0
- package/dist/chunk-2HABAU7C.mjs.LEGAL.txt +0 -0
- package/dist/chunk-2HABAU7C.mjs.map +1 -0
- package/dist/chunk-45Z2ZE4M.js +3 -0
- package/dist/chunk-45Z2ZE4M.js.LEGAL.txt +0 -0
- package/dist/chunk-45Z2ZE4M.js.map +1 -0
- package/dist/chunk-7K3OK5TS.mjs +3 -0
- package/dist/chunk-7K3OK5TS.mjs.LEGAL.txt +0 -0
- package/dist/chunk-7K3OK5TS.mjs.map +1 -0
- package/dist/chunk-LXPINC7N.js +3 -0
- package/dist/chunk-LXPINC7N.js.LEGAL.txt +0 -0
- package/dist/chunk-LXPINC7N.js.map +1 -0
- package/dist/chunk-PRWGXTDA.mjs +3 -0
- package/dist/chunk-PRWGXTDA.mjs.LEGAL.txt +0 -0
- package/dist/chunk-PRWGXTDA.mjs.map +1 -0
- package/dist/chunk-WH7VSYKK.js +3 -0
- package/dist/chunk-WH7VSYKK.js.LEGAL.txt +0 -0
- package/dist/chunk-WH7VSYKK.js.map +1 -0
- package/dist/metafile-cjs.json +1 -0
- package/dist/metafile-esm.json +1 -1
- package/dist/types-BXPldIKA.d.mts +86 -0
- package/dist/types-BXPldIKA.d.ts +86 -0
- package/internal.js +1 -1
- package/package.json +59 -71
- package/src/StyleOptions.ts +123 -4
- package/src/decorator/ActivityBorder/ActivityBorderDecorator.tsx +48 -0
- package/src/decorator/ActivityBorder/private/ActivityBorderDecoratorMiddleware.ts +51 -0
- package/src/decorator/ActivityBorder/types.ts +1 -0
- package/src/decorator/ActivityGrouping/ActivityGroupingDecorator.tsx +31 -0
- package/src/decorator/ActivityGrouping/private/ActivityGroupingDecoratorMiddleware.ts +38 -0
- package/src/decorator/ActivityGrouping/types.ts +1 -0
- package/src/decorator/DecoratorComposer.tsx +22 -0
- package/src/decorator/internal/InternalDecoratorComposer.tsx +61 -0
- package/src/decorator/internal/LowPriorityDecoratorComposer.tsx +19 -0
- package/src/decorator/private/DecoratorComposerContext.ts +16 -0
- package/src/decorator/private/PassthroughFallback.tsx +12 -0
- package/src/decorator/private/templateMiddleware.test.tsx +5 -1
- package/src/decorator/private/templateMiddleware.ts +11 -9
- package/src/decorator/types.ts +15 -0
- package/src/decorator.ts +16 -0
- package/src/defaultStyleOptions.ts +26 -5
- package/src/hooks/Composer.tsx +59 -45
- package/src/hooks/index.ts +5 -1
- package/src/hooks/internal/SendBoxMiddleware.ts +3 -1
- package/src/hooks/internal/SendBoxToolbarMiddleware.ts +3 -1
- package/src/hooks/internal/Tracker.ts +1 -1
- package/src/hooks/internal/WebChatAPIContext.ts +12 -5
- package/src/hooks/middleware/concatMiddleware.spec.js +20 -0
- package/src/hooks/middleware/concatMiddleware.ts +6 -5
- package/src/hooks/private/reduceIterable.spec.ts +0 -2
- package/src/hooks/useActiveTyping.ts +3 -2
- package/src/hooks/useDisabled.ts +8 -2
- package/src/hooks/useSuggestedActions.ts +17 -4
- package/src/hooks/useUIState.ts +18 -0
- package/src/hooks/validation/uiState.parseUIState.spec.ts +21 -0
- package/src/hooks/validation/uiState.ts +10 -0
- package/src/internal.ts +3 -1
- package/src/localization/ar-SA.json +20 -16
- package/src/localization/bg-BG.json +20 -16
- package/src/localization/ca-ES.json +20 -16
- package/src/localization/cs-CZ.json +20 -16
- package/src/localization/da-DK.json +20 -16
- package/src/localization/de-DE.json +20 -16
- package/src/localization/el-GR.json +20 -16
- package/src/localization/en-US.json +21 -19
- package/src/localization/es-ES.json +20 -16
- package/src/localization/et-EE.json +20 -16
- package/src/localization/eu-ES.json +20 -16
- package/src/localization/fi-FI.json +20 -16
- package/src/localization/fr-FR.json +20 -16
- package/src/localization/gl-ES.json +20 -16
- package/src/localization/he-IL.json +20 -16
- package/src/localization/hi-IN.json +20 -16
- package/src/localization/hr-HR.json +20 -16
- package/src/localization/hu-HU.json +20 -16
- package/src/localization/id-ID.json +20 -16
- package/src/localization/it-IT.json +20 -16
- package/src/localization/ja-JP.json +20 -16
- package/src/localization/kk-KZ.json +20 -16
- package/src/localization/ko-KR.json +20 -16
- package/src/localization/lt-LT.json +20 -16
- package/src/localization/lv-LV.json +20 -16
- package/src/localization/ms-MY.json +20 -16
- package/src/localization/nb-NO.json +20 -16
- package/src/localization/nl-NL.json +20 -16
- package/src/localization/pl-PL.json +20 -16
- package/src/localization/pt-BR.json +20 -16
- package/src/localization/pt-PT.json +20 -16
- package/src/localization/ro-RO.json +20 -16
- package/src/localization/ru-RU.json +20 -16
- package/src/localization/sk-SK.json +20 -16
- package/src/localization/sl-SI.json +20 -16
- package/src/localization/sr-Cyrl-CS.json +20 -16
- package/src/localization/sr-Latn-CS.json +20 -16
- package/src/localization/sv-SE.json +20 -16
- package/src/localization/th-TH.json +20 -16
- package/src/localization/tr-TR.json +20 -16
- package/src/localization/uk-UA.json +20 -16
- package/src/localization/vi-VN.json +20 -16
- package/src/localization/yue.json +1 -16
- package/src/localization/zh-CN.json +22 -18
- package/src/localization/zh-HK.json +20 -16
- package/src/localization/zh-TW.json +20 -16
- package/src/normalizeStyleOptions.ts +45 -0
- package/src/providers/ActivityKeyer/ActivityKeyerComposer.tsx +9 -26
- package/src/providers/ActivityKeyer/private/someIterable.spec.ts +0 -2
- package/src/providers/ActivitySendStatus/ActivitySendStatusComposer.tsx +2 -2
- package/src/providers/ActivityTyping/ActivityTypingComposer.tsx +144 -59
- package/src/providers/ActivityTyping/private/useReduceActivities.spec.tsx +231 -0
- package/src/providers/ActivityTyping/private/useReduceActivities.ts +48 -0
- package/src/providers/GroupActivities/GroupActivitiesComposer.tsx +115 -0
- package/src/providers/GroupActivities/private/GroupActivitiesContext.ts +23 -0
- package/src/providers/GroupActivities/private/createDefaultGroupActivitiesMiddleware.ts +93 -0
- package/src/providers/GroupActivities/private/isGroupingValid.ts +41 -0
- package/src/providers/GroupActivities/private/useGroupActivitiesContext.ts +6 -0
- package/src/providers/GroupActivities/useGroupActivities.ts +20 -0
- package/src/providers/GroupActivities/useGroupActivitiesByName.ts +17 -0
- package/src/tsconfig.json +1 -5
- package/src/types/AttachmentForScreenReaderMiddleware.ts +9 -2
- package/src/types/AvatarMiddleware.ts +5 -1
- package/src/types/CardActionMiddleware.ts +2 -0
- package/src/types/ComponentMiddleware.ts +1 -1
- package/src/types/GroupActivitiesMiddleware.ts +7 -11
- package/src/utils/validateProps.spec.ts +74 -0
- package/src/utils/validateProps.ts +56 -0
- package/dist/chunk-2S76JUVM.mjs +0 -3
- package/dist/chunk-2S76JUVM.mjs.map +0 -1
- package/dist/chunk-J6D5YEY6.mjs +0 -3
- package/dist/chunk-J6D5YEY6.mjs.map +0 -1
- package/dist/chunk-ZAMHKQQC.mjs +0 -3
- package/dist/chunk-ZAMHKQQC.mjs.map +0 -1
- package/lib/StyleOptions.d.ts +0 -697
- package/lib/StyleOptions.d.ts.map +0 -1
- package/lib/StyleOptions.js +0 -2
- package/lib/decorator/index.d.ts +0 -5
- package/lib/decorator/index.d.ts.map +0 -1
- package/lib/decorator/index.js +0 -28
- package/lib/decorator/private/ActivityBorderDecoratorMiddleware.d.ts +0 -27
- package/lib/decorator/private/ActivityBorderDecoratorMiddleware.d.ts.map +0 -1
- package/lib/decorator/private/ActivityBorderDecoratorMiddleware.js +0 -19
- package/lib/decorator/private/ActivityDecorator.d.ts +0 -9
- package/lib/decorator/private/ActivityDecorator.d.ts.map +0 -1
- package/lib/decorator/private/ActivityDecorator.js +0 -36
- package/lib/decorator/private/DecoratorComposer.d.ts +0 -3
- package/lib/decorator/private/DecoratorComposer.d.ts.map +0 -1
- package/lib/decorator/private/DecoratorComposer.js +0 -13
- package/lib/decorator/private/activityDecoratorRequest.d.ts +0 -6
- package/lib/decorator/private/activityDecoratorRequest.d.ts.map +0 -1
- package/lib/decorator/private/activityDecoratorRequest.js +0 -2
- package/lib/decorator/private/createDecoratorComposer.d.ts +0 -11
- package/lib/decorator/private/createDecoratorComposer.d.ts.map +0 -1
- package/lib/decorator/private/createDecoratorComposer.js +0 -27
- package/lib/decorator/private/templateMiddleware.d.ts +0 -30
- package/lib/decorator/private/templateMiddleware.d.ts.map +0 -1
- package/lib/decorator/private/templateMiddleware.js +0 -53
- package/lib/decorator/private/templateMiddleware.test.d.ts +0 -3
- package/lib/decorator/private/templateMiddleware.test.d.ts.map +0 -1
- package/lib/defaultStyleOptions.d.ts +0 -4
- package/lib/defaultStyleOptions.d.ts.map +0 -1
- package/lib/defaultStyleOptions.js +0 -277
- package/lib/external/PrecompiledGlobalize.js +0 -6361
- package/lib/hooks/Composer.d.ts +0 -88
- package/lib/hooks/Composer.d.ts.map +0 -1
- package/lib/hooks/Composer.js +0 -605
- package/lib/hooks/index.d.ts +0 -73
- package/lib/hooks/index.d.ts.map +0 -1
- package/lib/hooks/index.js +0 -504
- package/lib/hooks/internal/ErrorBox.js +0 -47
- package/lib/hooks/internal/SendBoxMiddleware.d.ts +0 -37
- package/lib/hooks/internal/SendBoxMiddleware.d.ts.map +0 -1
- package/lib/hooks/internal/SendBoxMiddleware.js +0 -17
- package/lib/hooks/internal/SendBoxToolbarMiddleware.d.ts +0 -37
- package/lib/hooks/internal/SendBoxToolbarMiddleware.d.ts.map +0 -1
- package/lib/hooks/internal/SendBoxToolbarMiddleware.js +0 -17
- package/lib/hooks/internal/Tracker.d.ts +0 -4
- package/lib/hooks/internal/Tracker.d.ts.map +0 -1
- package/lib/hooks/internal/Tracker.js +0 -15
- package/lib/hooks/internal/WebChatAPIContext.d.ts +0 -80
- package/lib/hooks/internal/WebChatAPIContext.d.ts.map +0 -1
- package/lib/hooks/internal/WebChatAPIContext.js +0 -12
- package/lib/hooks/internal/WebChatReduxContext.js +0 -17
- package/lib/hooks/internal/defaultSelectVoice.js +0 -28
- package/lib/hooks/internal/private/templateMiddleware.d.ts +0 -3
- package/lib/hooks/internal/private/templateMiddleware.d.ts.map +0 -1
- package/lib/hooks/internal/private/templateMiddleware.js +0 -12
- package/lib/hooks/internal/useCreateActivityRendererInternal.d.ts +0 -4
- package/lib/hooks/internal/useCreateActivityRendererInternal.d.ts.map +0 -1
- package/lib/hooks/internal/useCreateActivityRendererInternal.js +0 -37
- package/lib/hooks/internal/useDebugDeps.js +0 -39
- package/lib/hooks/internal/useDirFromProps.js +0 -12
- package/lib/hooks/internal/useErrorBoxClass.js +0 -14
- package/lib/hooks/internal/useForceRender.js +0 -24
- package/lib/hooks/internal/useLocalizedGlobalize.js +0 -12
- package/lib/hooks/internal/useLocalizedStrings.js +0 -14
- package/lib/hooks/internal/useMarkActivity.js +0 -12
- package/lib/hooks/internal/usePrevious.d.ts +0 -3
- package/lib/hooks/internal/usePrevious.d.ts.map +0 -1
- package/lib/hooks/internal/usePrevious.js +0 -15
- package/lib/hooks/internal/useReadTelemetryDimensions.js +0 -20
- package/lib/hooks/internal/useSetDictateState.d.ts +0 -2
- package/lib/hooks/internal/useSetDictateState.d.ts.map +0 -1
- package/lib/hooks/internal/useSetDictateState.js +0 -12
- package/lib/hooks/internal/useTimer.d.ts +0 -5
- package/lib/hooks/internal/useTimer.d.ts.map +0 -1
- package/lib/hooks/internal/useTimer.js +0 -43
- package/lib/hooks/internal/useTracker.js +0 -42
- package/lib/hooks/internal/useValueRef.d.ts +0 -3
- package/lib/hooks/internal/useValueRef.d.ts.map +0 -1
- package/lib/hooks/internal/useValueRef.js +0 -22
- package/lib/hooks/internal/useWebChatAPIContext.d.ts +0 -83
- package/lib/hooks/internal/useWebChatAPIContext.d.ts.map +0 -1
- package/lib/hooks/internal/useWebChatAPIContext.js +0 -17
- package/lib/hooks/middleware/UserlandBoundary.js +0 -48
- package/lib/hooks/middleware/applyMiddleware.js +0 -122
- package/lib/hooks/middleware/concatMiddleware.d.ts +0 -6
- package/lib/hooks/middleware/concatMiddleware.d.ts.map +0 -1
- package/lib/hooks/middleware/concatMiddleware.js +0 -33
- package/lib/hooks/middleware/createDefaultCardActionMiddleware.d.ts +0 -3
- package/lib/hooks/middleware/createDefaultCardActionMiddleware.d.ts.map +0 -1
- package/lib/hooks/middleware/createDefaultCardActionMiddleware.js +0 -43
- package/lib/hooks/middleware/createDefaultGroupActivitiesMiddleware.d.ts +0 -7
- package/lib/hooks/middleware/createDefaultGroupActivitiesMiddleware.d.ts.map +0 -1
- package/lib/hooks/middleware/createDefaultGroupActivitiesMiddleware.js +0 -68
- package/lib/hooks/private/numberWithInfinity.d.ts +0 -3
- package/lib/hooks/private/numberWithInfinity.d.ts.map +0 -1
- package/lib/hooks/private/numberWithInfinity.js +0 -17
- package/lib/hooks/private/numberWithInfinity.spec.d.ts +0 -2
- package/lib/hooks/private/numberWithInfinity.spec.d.ts.map +0 -1
- package/lib/hooks/private/reduceIterable.d.ts +0 -2
- package/lib/hooks/private/reduceIterable.d.ts.map +0 -1
- package/lib/hooks/private/reduceIterable.js +0 -26
- package/lib/hooks/private/reduceIterable.spec.d.ts +0 -2
- package/lib/hooks/private/reduceIterable.spec.d.ts.map +0 -1
- package/lib/hooks/useActiveTyping.d.ts +0 -4
- package/lib/hooks/useActiveTyping.d.ts.map +0 -1
- package/lib/hooks/useActiveTyping.js +0 -81
- package/lib/hooks/useActivities.d.ts +0 -3
- package/lib/hooks/useActivities.d.ts.map +0 -1
- package/lib/hooks/useActivities.js +0 -14
- package/lib/hooks/useActivityKeys.d.ts +0 -3
- package/lib/hooks/useActivityKeys.d.ts.map +0 -1
- package/lib/hooks/useActivityKeys.js +0 -11
- package/lib/hooks/useActivityKeysByRead.d.ts +0 -3
- package/lib/hooks/useActivityKeysByRead.d.ts.map +0 -1
- package/lib/hooks/useActivityKeysByRead.js +0 -11
- package/lib/hooks/useAvatarForBot.d.ts +0 -5
- package/lib/hooks/useAvatarForBot.d.ts.map +0 -1
- package/lib/hooks/useAvatarForBot.js +0 -26
- package/lib/hooks/useAvatarForUser.d.ts +0 -5
- package/lib/hooks/useAvatarForUser.d.ts.map +0 -1
- package/lib/hooks/useAvatarForUser.js +0 -26
- package/lib/hooks/useByteFormatter.d.ts +0 -2
- package/lib/hooks/useByteFormatter.d.ts.map +0 -1
- package/lib/hooks/useByteFormatter.js +0 -43
- package/lib/hooks/useConnectivityStatus.d.ts +0 -2
- package/lib/hooks/useConnectivityStatus.d.ts.map +0 -1
- package/lib/hooks/useConnectivityStatus.js +0 -14
- package/lib/hooks/useCreateActivityRenderer.d.ts +0 -3
- package/lib/hooks/useCreateActivityRenderer.d.ts.map +0 -1
- package/lib/hooks/useCreateActivityRenderer.js +0 -14
- package/lib/hooks/useCreateActivityStatusRenderer.d.ts +0 -10
- package/lib/hooks/useCreateActivityStatusRenderer.d.ts.map +0 -1
- package/lib/hooks/useCreateActivityStatusRenderer.js +0 -72
- package/lib/hooks/useCreateAttachmentForScreenReaderRenderer.d.ts +0 -3
- package/lib/hooks/useCreateAttachmentForScreenReaderRenderer.d.ts.map +0 -1
- package/lib/hooks/useCreateAttachmentForScreenReaderRenderer.js +0 -12
- package/lib/hooks/useCreateAvatarRenderer.d.ts +0 -6
- package/lib/hooks/useCreateAvatarRenderer.d.ts.map +0 -1
- package/lib/hooks/useCreateAvatarRenderer.js +0 -44
- package/lib/hooks/useCreateScrollToEndButtonRenderer.d.ts +0 -3
- package/lib/hooks/useCreateScrollToEndButtonRenderer.d.ts.map +0 -1
- package/lib/hooks/useCreateScrollToEndButtonRenderer.js +0 -12
- package/lib/hooks/useDateFormatter.d.ts +0 -2
- package/lib/hooks/useDateFormatter.d.ts.map +0 -1
- package/lib/hooks/useDateFormatter.js +0 -35
- package/lib/hooks/useDebouncedNotifications.d.ts +0 -13
- package/lib/hooks/useDebouncedNotifications.d.ts.map +0 -1
- package/lib/hooks/useDebouncedNotifications.js +0 -118
- package/lib/hooks/useDictateInterims.d.ts +0 -2
- package/lib/hooks/useDictateInterims.d.ts.map +0 -1
- package/lib/hooks/useDictateInterims.js +0 -16
- package/lib/hooks/useDictateState.d.ts +0 -2
- package/lib/hooks/useDictateState.d.ts.map +0 -1
- package/lib/hooks/useDictateState.js +0 -15
- package/lib/hooks/useDirection.d.ts +0 -2
- package/lib/hooks/useDirection.d.ts.map +0 -1
- package/lib/hooks/useDirection.js +0 -38
- package/lib/hooks/useDisabled.d.ts +0 -2
- package/lib/hooks/useDisabled.d.ts.map +0 -1
- package/lib/hooks/useDisabled.js +0 -12
- package/lib/hooks/useDismissNotification.d.ts +0 -2
- package/lib/hooks/useDismissNotification.d.ts.map +0 -1
- package/lib/hooks/useDismissNotification.js +0 -12
- package/lib/hooks/useEmitTypingIndicator.d.ts +0 -2
- package/lib/hooks/useEmitTypingIndicator.d.ts.map +0 -1
- package/lib/hooks/useEmitTypingIndicator.js +0 -12
- package/lib/hooks/useGetActivitiesByKey.d.ts +0 -3
- package/lib/hooks/useGetActivitiesByKey.d.ts.map +0 -1
- package/lib/hooks/useGetActivitiesByKey.js +0 -11
- package/lib/hooks/useGetActivityByKey.d.ts +0 -3
- package/lib/hooks/useGetActivityByKey.d.ts.map +0 -1
- package/lib/hooks/useGetActivityByKey.js +0 -11
- package/lib/hooks/useGetHasAcknowledgedByActivityKey.d.ts +0 -3
- package/lib/hooks/useGetHasAcknowledgedByActivityKey.d.ts.map +0 -1
- package/lib/hooks/useGetHasAcknowledgedByActivityKey.js +0 -11
- package/lib/hooks/useGetKeyByActivity.d.ts +0 -3
- package/lib/hooks/useGetKeyByActivity.d.ts.map +0 -1
- package/lib/hooks/useGetKeyByActivity.js +0 -11
- package/lib/hooks/useGetKeyByActivityId.d.ts +0 -3
- package/lib/hooks/useGetKeyByActivityId.d.ts.map +0 -1
- package/lib/hooks/useGetKeyByActivityId.js +0 -11
- package/lib/hooks/useGetSendTimeoutForActivity.d.ts +0 -5
- package/lib/hooks/useGetSendTimeoutForActivity.d.ts.map +0 -1
- package/lib/hooks/useGetSendTimeoutForActivity.js +0 -33
- package/lib/hooks/useGrammars.d.ts +0 -2
- package/lib/hooks/useGrammars.d.ts.map +0 -1
- package/lib/hooks/useGrammars.js +0 -12
- package/lib/hooks/useGroupActivities.d.ts +0 -8
- package/lib/hooks/useGroupActivities.d.ts.map +0 -1
- package/lib/hooks/useGroupActivities.js +0 -12
- package/lib/hooks/useGroupTimestamp.d.ts +0 -2
- package/lib/hooks/useGroupTimestamp.d.ts.map +0 -1
- package/lib/hooks/useGroupTimestamp.js +0 -21
- package/lib/hooks/useLanguage.d.ts +0 -2
- package/lib/hooks/useLanguage.d.ts.map +0 -1
- package/lib/hooks/useLanguage.js +0 -19
- package/lib/hooks/useLastAcknowledgedActivityKey.d.ts +0 -3
- package/lib/hooks/useLastAcknowledgedActivityKey.d.ts.map +0 -1
- package/lib/hooks/useLastAcknowledgedActivityKey.js +0 -11
- package/lib/hooks/useLastReadActivityKey.d.ts +0 -3
- package/lib/hooks/useLastReadActivityKey.d.ts.map +0 -1
- package/lib/hooks/useLastReadActivityKey.js +0 -11
- package/lib/hooks/useLocalizer.d.ts +0 -13
- package/lib/hooks/useLocalizer.d.ts.map +0 -1
- package/lib/hooks/useLocalizer.js +0 -75
- package/lib/hooks/useMarkActivityAsSpoken.d.ts +0 -3
- package/lib/hooks/useMarkActivityAsSpoken.d.ts.map +0 -1
- package/lib/hooks/useMarkActivityAsSpoken.js +0 -16
- package/lib/hooks/useMarkActivityKeyAsRead.d.ts +0 -3
- package/lib/hooks/useMarkActivityKeyAsRead.d.ts.map +0 -1
- package/lib/hooks/useMarkActivityKeyAsRead.js +0 -11
- package/lib/hooks/useMarkAllAsAcknowledged.d.ts +0 -3
- package/lib/hooks/useMarkAllAsAcknowledged.d.ts.map +0 -1
- package/lib/hooks/useMarkAllAsAcknowledged.js +0 -11
- package/lib/hooks/useNotifications.d.ts +0 -3
- package/lib/hooks/useNotifications.d.ts.map +0 -1
- package/lib/hooks/useNotifications.js +0 -14
- package/lib/hooks/usePerformCardAction.d.ts +0 -3
- package/lib/hooks/usePerformCardAction.d.ts.map +0 -1
- package/lib/hooks/usePerformCardAction.js +0 -12
- package/lib/hooks/usePonyfill.d.ts +0 -3
- package/lib/hooks/usePonyfill.d.ts.map +0 -1
- package/lib/hooks/usePonyfill.js +0 -11
- package/lib/hooks/usePostActivity.d.ts +0 -3
- package/lib/hooks/usePostActivity.d.ts.map +0 -1
- package/lib/hooks/usePostActivity.js +0 -12
- package/lib/hooks/useReferenceGrammarID.d.ts +0 -2
- package/lib/hooks/useReferenceGrammarID.d.ts.map +0 -1
- package/lib/hooks/useReferenceGrammarID.js +0 -14
- package/lib/hooks/useRelativeTimeFormatter.d.ts +0 -2
- package/lib/hooks/useRelativeTimeFormatter.d.ts.map +0 -1
- package/lib/hooks/useRelativeTimeFormatter.js +0 -61
- package/lib/hooks/useRenderAttachment.d.ts +0 -3
- package/lib/hooks/useRenderAttachment.d.ts.map +0 -1
- package/lib/hooks/useRenderAttachment.js +0 -14
- package/lib/hooks/useRenderToast.d.ts +0 -3
- package/lib/hooks/useRenderToast.d.ts.map +0 -1
- package/lib/hooks/useRenderToast.js +0 -12
- package/lib/hooks/useRenderTypingIndicator.d.ts +0 -3
- package/lib/hooks/useRenderTypingIndicator.d.ts.map +0 -1
- package/lib/hooks/useRenderTypingIndicator.js +0 -12
- package/lib/hooks/useSendBoxAttachments.d.ts +0 -6
- package/lib/hooks/useSendBoxAttachments.d.ts.map +0 -1
- package/lib/hooks/useSendBoxAttachments.js +0 -23
- package/lib/hooks/useSendBoxValue.d.ts +0 -2
- package/lib/hooks/useSendBoxValue.d.ts.map +0 -1
- package/lib/hooks/useSendBoxValue.js +0 -16
- package/lib/hooks/useSendEvent.d.ts +0 -2
- package/lib/hooks/useSendEvent.d.ts.map +0 -1
- package/lib/hooks/useSendEvent.js +0 -12
- package/lib/hooks/useSendFiles.d.ts +0 -10
- package/lib/hooks/useSendFiles.d.ts.map +0 -1
- package/lib/hooks/useSendFiles.js +0 -35
- package/lib/hooks/useSendMessage.d.ts +0 -6
- package/lib/hooks/useSendMessage.d.ts.map +0 -1
- package/lib/hooks/useSendMessage.js +0 -33
- package/lib/hooks/useSendMessageBack.d.ts +0 -2
- package/lib/hooks/useSendMessageBack.d.ts.map +0 -1
- package/lib/hooks/useSendMessageBack.js +0 -12
- package/lib/hooks/useSendPostBack.d.ts +0 -2
- package/lib/hooks/useSendPostBack.d.ts.map +0 -1
- package/lib/hooks/useSendPostBack.js +0 -12
- package/lib/hooks/useSendStatusByActivityKey.d.ts +0 -22
- package/lib/hooks/useSendStatusByActivityKey.d.ts.map +0 -1
- package/lib/hooks/useSendStatusByActivityKey.js +0 -31
- package/lib/hooks/useSendTimeoutForActivity.d.ts +0 -4
- package/lib/hooks/useSendTimeoutForActivity.d.ts.map +0 -1
- package/lib/hooks/useSendTimeoutForActivity.js +0 -22
- package/lib/hooks/useSendTypingIndicator.d.ts +0 -2
- package/lib/hooks/useSendTypingIndicator.d.ts.map +0 -1
- package/lib/hooks/useSendTypingIndicator.js +0 -14
- package/lib/hooks/useSetNotification.d.ts +0 -3
- package/lib/hooks/useSetNotification.d.ts.map +0 -1
- package/lib/hooks/useSetNotification.js +0 -12
- package/lib/hooks/useShouldSpeakIncomingActivity.d.ts +0 -2
- package/lib/hooks/useShouldSpeakIncomingActivity.d.ts.map +0 -1
- package/lib/hooks/useShouldSpeakIncomingActivity.js +0 -22
- package/lib/hooks/useStartDictate.d.ts +0 -2
- package/lib/hooks/useStartDictate.d.ts.map +0 -1
- package/lib/hooks/useStartDictate.js +0 -12
- package/lib/hooks/useStopDictate.d.ts +0 -2
- package/lib/hooks/useStopDictate.d.ts.map +0 -1
- package/lib/hooks/useStopDictate.js +0 -12
- package/lib/hooks/useStyleOptions.d.ts +0 -3
- package/lib/hooks/useStyleOptions.d.ts.map +0 -1
- package/lib/hooks/useStyleOptions.js +0 -12
- package/lib/hooks/useSubmitSendBox.d.ts +0 -4
- package/lib/hooks/useSubmitSendBox.d.ts.map +0 -1
- package/lib/hooks/useSubmitSendBox.js +0 -49
- package/lib/hooks/useSuggestedActions.d.ts +0 -3
- package/lib/hooks/useSuggestedActions.d.ts.map +0 -1
- package/lib/hooks/useSuggestedActions.js +0 -25
- package/lib/hooks/useTimeoutForSend.d.ts +0 -3
- package/lib/hooks/useTimeoutForSend.d.ts.map +0 -1
- package/lib/hooks/useTimeoutForSend.js +0 -21
- package/lib/hooks/useTrackDimension.d.ts +0 -2
- package/lib/hooks/useTrackDimension.d.ts.map +0 -1
- package/lib/hooks/useTrackDimension.js +0 -14
- package/lib/hooks/useTrackEvent.d.ts +0 -10
- package/lib/hooks/useTrackEvent.d.ts.map +0 -1
- package/lib/hooks/useTrackEvent.js +0 -51
- package/lib/hooks/useTrackException.d.ts +0 -2
- package/lib/hooks/useTrackException.d.ts.map +0 -1
- package/lib/hooks/useTrackException.js +0 -31
- package/lib/hooks/useTrackTiming.d.ts +0 -2
- package/lib/hooks/useTrackTiming.d.ts.map +0 -1
- package/lib/hooks/useTrackTiming.js +0 -93
- package/lib/hooks/useUserID.d.ts +0 -2
- package/lib/hooks/useUserID.d.ts.map +0 -1
- package/lib/hooks/useUserID.js +0 -12
- package/lib/hooks/useUsername.d.ts +0 -2
- package/lib/hooks/useUsername.d.ts.map +0 -1
- package/lib/hooks/useUsername.js +0 -12
- package/lib/hooks/useVoiceSelector.d.ts +0 -2
- package/lib/hooks/useVoiceSelector.d.ts.map +0 -1
- package/lib/hooks/useVoiceSelector.js +0 -16
- package/lib/hooks/utils/ErrorBoundary.js +0 -68
- package/lib/hooks/utils/observableToPromise.d.ts +0 -3
- package/lib/hooks/utils/observableToPromise.d.ts.map +0 -1
- package/lib/hooks/utils/observableToPromise.js +0 -28
- package/lib/index.d.ts +0 -37
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -88
- package/lib/internal.d.ts +0 -3
- package/lib/internal.d.ts.map +0 -1
- package/lib/internal.js +0 -14
- package/lib/localization/Localize.d.ts +0 -4
- package/lib/localization/Localize.d.ts.map +0 -1
- package/lib/localization/Localize.js +0 -50
- package/lib/localization/ar-EG.json +0 -42
- package/lib/localization/ar-JO.json +0 -45
- package/lib/localization/ar-SA.json +0 -112
- package/lib/localization/bg-BG.json +0 -112
- package/lib/localization/ca-ES.json +0 -112
- package/lib/localization/cs-CZ.json +0 -112
- package/lib/localization/da-DK.json +0 -112
- package/lib/localization/de-DE.json +0 -112
- package/lib/localization/el-GR.json +0 -112
- package/lib/localization/en-US.json +0 -183
- package/lib/localization/es-ES.json +0 -112
- package/lib/localization/et-EE.json +0 -112
- package/lib/localization/eu-ES.json +0 -112
- package/lib/localization/fi-FI.json +0 -112
- package/lib/localization/fr-FR.json +0 -112
- package/lib/localization/getAllLocalizedStrings.d.ts +0 -6
- package/lib/localization/getAllLocalizedStrings.d.ts.map +0 -1
- package/lib/localization/getAllLocalizedStrings.js +0 -117
- package/lib/localization/getRTLList.d.ts +0 -2
- package/lib/localization/getRTLList.d.ts.map +0 -1
- package/lib/localization/getRTLList.js +0 -46
- package/lib/localization/gl-ES.json +0 -112
- package/lib/localization/he-IL.json +0 -112
- package/lib/localization/hi-IN.json +0 -112
- package/lib/localization/hr-HR.json +0 -112
- package/lib/localization/hu-HU.json +0 -112
- package/lib/localization/id-ID.json +0 -112
- package/lib/localization/it-IT.json +0 -112
- package/lib/localization/ja-JP.json +0 -112
- package/lib/localization/kk-KZ.json +0 -112
- package/lib/localization/ko-KR.json +0 -112
- package/lib/localization/lt-LT.json +0 -112
- package/lib/localization/lv-LV.json +0 -112
- package/lib/localization/mergeLocalizedStrings.d.ts +0 -7
- package/lib/localization/mergeLocalizedStrings.d.ts.map +0 -1
- package/lib/localization/mergeLocalizedStrings.js +0 -49
- package/lib/localization/ms-MY.json +0 -112
- package/lib/localization/nb-NO.json +0 -112
- package/lib/localization/nl-NL.json +0 -112
- package/lib/localization/overrides.json +0 -257
- package/lib/localization/pl-PL.json +0 -112
- package/lib/localization/pt-BR.json +0 -112
- package/lib/localization/pt-PT.json +0 -112
- package/lib/localization/ro-RO.json +0 -112
- package/lib/localization/ru-RU.json +0 -112
- package/lib/localization/sk-SK.json +0 -112
- package/lib/localization/sl-SI.json +0 -112
- package/lib/localization/sl-SL.json +0 -3
- package/lib/localization/sr-Cyrl-CS.json +0 -112
- package/lib/localization/sr-Cyrl.json +0 -3
- package/lib/localization/sr-Latn-CS.json +0 -112
- package/lib/localization/sr-Latn.json +0 -3
- package/lib/localization/sv-SE.json +0 -112
- package/lib/localization/th-TH.json +0 -112
- package/lib/localization/tr-TR.json +0 -112
- package/lib/localization/uk-UA.json +0 -112
- package/lib/localization/vi-VN.json +0 -112
- package/lib/localization/yue.json +0 -115
- package/lib/localization/zh-CN.json +0 -112
- package/lib/localization/zh-HK.json +0 -112
- package/lib/localization/zh-TW.json +0 -112
- package/lib/normalizeStyleOptions.d.ts +0 -3
- package/lib/normalizeStyleOptions.d.ts.map +0 -1
- package/lib/normalizeStyleOptions.js +0 -147
- package/lib/patchStyleOptionsFromDeprecatedProps.js +0 -21
- package/lib/providers/ActivityAcknowledgement/ActivityAcknowledgementComposer.d.ts +0 -6
- package/lib/providers/ActivityAcknowledgement/ActivityAcknowledgementComposer.d.ts.map +0 -1
- package/lib/providers/ActivityAcknowledgement/ActivityAcknowledgementComposer.js +0 -153
- package/lib/providers/ActivityAcknowledgement/private/Context.d.ts +0 -13
- package/lib/providers/ActivityAcknowledgement/private/Context.d.ts.map +0 -1
- package/lib/providers/ActivityAcknowledgement/private/Context.js +0 -14
- package/lib/providers/ActivityAcknowledgement/private/useContext.d.ts +0 -3
- package/lib/providers/ActivityAcknowledgement/private/useContext.d.ts.map +0 -1
- package/lib/providers/ActivityAcknowledgement/private/useContext.js +0 -18
- package/lib/providers/ActivityAcknowledgement/useActivityKeysByRead.d.ts +0 -5
- package/lib/providers/ActivityAcknowledgement/useActivityKeysByRead.d.ts.map +0 -1
- package/lib/providers/ActivityAcknowledgement/useActivityKeysByRead.js +0 -15
- package/lib/providers/ActivityAcknowledgement/useGetHasAcknowledgedByActivityKey.d.ts +0 -2
- package/lib/providers/ActivityAcknowledgement/useGetHasAcknowledgedByActivityKey.d.ts.map +0 -1
- package/lib/providers/ActivityAcknowledgement/useGetHasAcknowledgedByActivityKey.js +0 -12
- package/lib/providers/ActivityAcknowledgement/useLastAcknowledgedActivityKey.d.ts +0 -2
- package/lib/providers/ActivityAcknowledgement/useLastAcknowledgedActivityKey.d.ts.map +0 -1
- package/lib/providers/ActivityAcknowledgement/useLastAcknowledgedActivityKey.js +0 -12
- package/lib/providers/ActivityAcknowledgement/useLastReadActivityKey.d.ts +0 -2
- package/lib/providers/ActivityAcknowledgement/useLastReadActivityKey.d.ts.map +0 -1
- package/lib/providers/ActivityAcknowledgement/useLastReadActivityKey.js +0 -12
- package/lib/providers/ActivityAcknowledgement/useMarkActivityKeyAsRead.d.ts +0 -2
- package/lib/providers/ActivityAcknowledgement/useMarkActivityKeyAsRead.d.ts.map +0 -1
- package/lib/providers/ActivityAcknowledgement/useMarkActivityKeyAsRead.js +0 -12
- package/lib/providers/ActivityAcknowledgement/useMarkAllAsAcknowledged.d.ts +0 -2
- package/lib/providers/ActivityAcknowledgement/useMarkAllAsAcknowledged.d.ts.map +0 -1
- package/lib/providers/ActivityAcknowledgement/useMarkAllAsAcknowledged.js +0 -12
- package/lib/providers/ActivityKeyer/ActivityKeyerComposer.d.ts +0 -20
- package/lib/providers/ActivityKeyer/ActivityKeyerComposer.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/ActivityKeyerComposer.js +0 -149
- package/lib/providers/ActivityKeyer/private/Context.d.ts +0 -13
- package/lib/providers/ActivityKeyer/private/Context.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/private/Context.js +0 -10
- package/lib/providers/ActivityKeyer/private/getActivityId.d.ts +0 -3
- package/lib/providers/ActivityKeyer/private/getActivityId.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/private/getActivityId.js +0 -10
- package/lib/providers/ActivityKeyer/private/getClientActivityId.d.ts +0 -3
- package/lib/providers/ActivityKeyer/private/getClientActivityId.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/private/getClientActivityId.js +0 -11
- package/lib/providers/ActivityKeyer/private/lastOf.d.ts +0 -2
- package/lib/providers/ActivityKeyer/private/lastOf.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/private/lastOf.js +0 -10
- package/lib/providers/ActivityKeyer/private/lastOf.spec.d.ts +0 -2
- package/lib/providers/ActivityKeyer/private/lastOf.spec.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/private/someIterable.d.ts +0 -2
- package/lib/providers/ActivityKeyer/private/someIterable.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/private/someIterable.js +0 -27
- package/lib/providers/ActivityKeyer/private/someIterable.spec.d.ts +0 -2
- package/lib/providers/ActivityKeyer/private/someIterable.spec.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/private/uniqueId.d.ts +0 -2
- package/lib/providers/ActivityKeyer/private/uniqueId.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/private/uniqueId.js +0 -15
- package/lib/providers/ActivityKeyer/private/useContext.d.ts +0 -3
- package/lib/providers/ActivityKeyer/private/useContext.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/private/useContext.js +0 -18
- package/lib/providers/ActivityKeyer/useActivityKeys.d.ts +0 -2
- package/lib/providers/ActivityKeyer/useActivityKeys.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/useActivityKeys.js +0 -12
- package/lib/providers/ActivityKeyer/useGetActivitiesByKey.d.ts +0 -3
- package/lib/providers/ActivityKeyer/useGetActivitiesByKey.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/useGetActivitiesByKey.js +0 -12
- package/lib/providers/ActivityKeyer/useGetActivityByKey.d.ts +0 -3
- package/lib/providers/ActivityKeyer/useGetActivityByKey.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/useGetActivityByKey.js +0 -12
- package/lib/providers/ActivityKeyer/useGetKeyByActivity.d.ts +0 -3
- package/lib/providers/ActivityKeyer/useGetKeyByActivity.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/useGetKeyByActivity.js +0 -12
- package/lib/providers/ActivityKeyer/useGetKeyByActivityId.d.ts +0 -2
- package/lib/providers/ActivityKeyer/useGetKeyByActivityId.d.ts.map +0 -1
- package/lib/providers/ActivityKeyer/useGetKeyByActivityId.js +0 -12
- package/lib/providers/ActivityListener/ActivityListenerComposer.d.ts +0 -7
- package/lib/providers/ActivityListener/ActivityListenerComposer.d.ts.map +0 -1
- package/lib/providers/ActivityListener/ActivityListenerComposer.js +0 -55
- package/lib/providers/ActivityListener/private/Context.d.ts +0 -8
- package/lib/providers/ActivityListener/private/Context.d.ts.map +0 -1
- package/lib/providers/ActivityListener/private/Context.js +0 -15
- package/lib/providers/ActivityListener/private/useContext.d.ts +0 -2
- package/lib/providers/ActivityListener/private/useContext.d.ts.map +0 -1
- package/lib/providers/ActivityListener/private/useContext.js +0 -13
- package/lib/providers/ActivityListener/useUpsertedActivities.d.ts +0 -3
- package/lib/providers/ActivityListener/useUpsertedActivities.d.ts.map +0 -1
- package/lib/providers/ActivityListener/useUpsertedActivities.js +0 -12
- package/lib/providers/ActivitySendStatus/ActivitySendStatusComposer.d.ts +0 -4
- package/lib/providers/ActivitySendStatus/ActivitySendStatusComposer.d.ts.map +0 -1
- package/lib/providers/ActivitySendStatus/ActivitySendStatusComposer.js +0 -149
- package/lib/providers/ActivitySendStatus/private/Context.d.ts +0 -9
- package/lib/providers/ActivitySendStatus/private/Context.d.ts.map +0 -1
- package/lib/providers/ActivitySendStatus/private/Context.js +0 -13
- package/lib/providers/ActivitySendStatus/private/isMapEqual.d.ts +0 -7
- package/lib/providers/ActivitySendStatus/private/isMapEqual.d.ts.map +0 -1
- package/lib/providers/ActivitySendStatus/private/isMapEqual.js +0 -55
- package/lib/providers/ActivitySendStatus/private/useContext.d.ts +0 -3
- package/lib/providers/ActivitySendStatus/private/useContext.d.ts.map +0 -1
- package/lib/providers/ActivitySendStatus/private/useContext.js +0 -18
- package/lib/providers/ActivitySendStatus/useSendStatusByActivityKey.d.ts +0 -22
- package/lib/providers/ActivitySendStatus/useSendStatusByActivityKey.d.ts.map +0 -1
- package/lib/providers/ActivitySendStatus/useSendStatusByActivityKey.js +0 -31
- package/lib/providers/ActivitySendStatusTelemetry/ActivitySendStatusTelemetryComposer.d.ts +0 -3
- package/lib/providers/ActivitySendStatusTelemetry/ActivitySendStatusTelemetryComposer.d.ts.map +0 -1
- package/lib/providers/ActivitySendStatusTelemetry/ActivitySendStatusTelemetryComposer.js +0 -71
- package/lib/providers/ActivityTyping/ActivityTypingComposer.d.ts +0 -9
- package/lib/providers/ActivityTyping/ActivityTypingComposer.d.ts.map +0 -1
- package/lib/providers/ActivityTyping/ActivityTypingComposer.js +0 -98
- package/lib/providers/ActivityTyping/private/Context.d.ts +0 -8
- package/lib/providers/ActivityTyping/private/Context.d.ts.map +0 -1
- package/lib/providers/ActivityTyping/private/Context.js +0 -15
- package/lib/providers/ActivityTyping/private/useContext.d.ts +0 -3
- package/lib/providers/ActivityTyping/private/useContext.d.ts.map +0 -1
- package/lib/providers/ActivityTyping/private/useContext.js +0 -13
- package/lib/providers/ActivityTyping/private/useMemoWithPrevious.d.ts +0 -3
- package/lib/providers/ActivityTyping/private/useMemoWithPrevious.d.ts.map +0 -1
- package/lib/providers/ActivityTyping/private/useMemoWithPrevious.js +0 -22
- package/lib/providers/ActivityTyping/types/AllTyping.d.ts +0 -9
- package/lib/providers/ActivityTyping/types/AllTyping.d.ts.map +0 -1
- package/lib/providers/ActivityTyping/types/AllTyping.js +0 -2
- package/lib/providers/ActivityTyping/useAllTyping.d.ts +0 -3
- package/lib/providers/ActivityTyping/useAllTyping.d.ts.map +0 -1
- package/lib/providers/ActivityTyping/useAllTyping.js +0 -12
- package/lib/providers/Ponyfill/PonyfillComposer.d.ts +0 -17
- package/lib/providers/Ponyfill/PonyfillComposer.d.ts.map +0 -1
- package/lib/providers/Ponyfill/PonyfillComposer.js +0 -87
- package/lib/providers/Ponyfill/private/PonyfillContext.d.ts +0 -8
- package/lib/providers/Ponyfill/private/PonyfillContext.d.ts.map +0 -1
- package/lib/providers/Ponyfill/private/PonyfillContext.js +0 -10
- package/lib/providers/Ponyfill/private/useContext.d.ts +0 -6
- package/lib/providers/Ponyfill/private/useContext.d.ts.map +0 -1
- package/lib/providers/Ponyfill/private/useContext.js +0 -17
- package/lib/providers/Ponyfill/usePonyfill.d.ts +0 -3
- package/lib/providers/Ponyfill/usePonyfill.d.ts.map +0 -1
- package/lib/providers/Ponyfill/usePonyfill.js +0 -12
- package/lib/tsconfig.json +0 -18
- package/lib/types/ActivityMiddleware.d.ts +0 -24
- package/lib/types/ActivityMiddleware.d.ts.map +0 -1
- package/lib/types/ActivityMiddleware.js +0 -2
- package/lib/types/ActivityStatusMiddleware.d.ts +0 -17
- package/lib/types/ActivityStatusMiddleware.d.ts.map +0 -1
- package/lib/types/ActivityStatusMiddleware.js +0 -2
- package/lib/types/AttachmentForScreenReaderMiddleware.d.ts +0 -14
- package/lib/types/AttachmentForScreenReaderMiddleware.d.ts.map +0 -1
- package/lib/types/AttachmentForScreenReaderMiddleware.js +0 -2
- package/lib/types/AttachmentMiddleware.d.ts +0 -12
- package/lib/types/AttachmentMiddleware.d.ts.map +0 -1
- package/lib/types/AttachmentMiddleware.js +0 -2
- package/lib/types/AvatarMiddleware.d.ts +0 -15
- package/lib/types/AvatarMiddleware.d.ts.map +0 -1
- package/lib/types/AvatarMiddleware.js +0 -2
- package/lib/types/CardActionMiddleware.d.ts +0 -19
- package/lib/types/CardActionMiddleware.d.ts.map +0 -1
- package/lib/types/CardActionMiddleware.js +0 -2
- package/lib/types/ComponentMiddleware.d.ts +0 -31
- package/lib/types/ComponentMiddleware.d.ts.map +0 -1
- package/lib/types/ComponentMiddleware.js +0 -2
- package/lib/types/ContextOf.d.ts +0 -4
- package/lib/types/ContextOf.d.ts.map +0 -1
- package/lib/types/ContextOf.js +0 -2
- package/lib/types/FunctionMiddleware.d.ts +0 -6
- package/lib/types/FunctionMiddleware.d.ts.map +0 -1
- package/lib/types/FunctionMiddleware.js +0 -2
- package/lib/types/GroupActivitiesMiddleware.d.ts +0 -22
- package/lib/types/GroupActivitiesMiddleware.d.ts.map +0 -1
- package/lib/types/GroupActivitiesMiddleware.js +0 -2
- package/lib/types/LocalizedStrings.d.ts +0 -5
- package/lib/types/LocalizedStrings.d.ts.map +0 -1
- package/lib/types/LocalizedStrings.js +0 -2
- package/lib/types/Notification.d.ts +0 -10
- package/lib/types/Notification.d.ts.map +0 -1
- package/lib/types/Notification.js +0 -2
- package/lib/types/PrecompiledGlobalize.d.ts +0 -13
- package/lib/types/PrecompiledGlobalize.d.ts.map +0 -1
- package/lib/types/PrecompiledGlobalize.js +0 -2
- package/lib/types/ScrollToEndButtonMiddleware.d.ts +0 -30
- package/lib/types/ScrollToEndButtonMiddleware.d.ts.map +0 -1
- package/lib/types/ScrollToEndButtonMiddleware.js +0 -2
- package/lib/types/SendStatus.d.ts +0 -3
- package/lib/types/SendStatus.d.ts.map +0 -1
- package/lib/types/SendStatus.js +0 -2
- package/lib/types/TelemetryMeasurementEvent.d.ts +0 -31
- package/lib/types/TelemetryMeasurementEvent.d.ts.map +0 -1
- package/lib/types/TelemetryMeasurementEvent.js +0 -2
- package/lib/types/ToastMiddleware.d.ts +0 -11
- package/lib/types/ToastMiddleware.d.ts.map +0 -1
- package/lib/types/ToastMiddleware.js +0 -2
- package/lib/types/Typing.d.ts +0 -8
- package/lib/types/Typing.d.ts.map +0 -1
- package/lib/types/Typing.js +0 -2
- package/lib/types/TypingIndicatorMiddleware.d.ts +0 -17
- package/lib/types/TypingIndicatorMiddleware.d.ts.map +0 -1
- package/lib/types/TypingIndicatorMiddleware.js +0 -2
- package/lib/types/WebSpeechPonyfill.d.ts +0 -19
- package/lib/types/WebSpeechPonyfill.d.ts.map +0 -1
- package/lib/types/WebSpeechPonyfill.js +0 -2
- package/lib/types/WebSpeechPonyfillFactory.d.ts +0 -6
- package/lib/types/WebSpeechPonyfillFactory.d.ts.map +0 -1
- package/lib/types/WebSpeechPonyfillFactory.js +0 -2
- package/lib/utils/createCustomEvent.d.ts +0 -4
- package/lib/utils/createCustomEvent.d.ts.map +0 -1
- package/lib/utils/createCustomEvent.js +0 -34
- package/lib/utils/findLastIndex.d.ts +0 -2
- package/lib/utils/findLastIndex.d.ts.map +0 -1
- package/lib/utils/findLastIndex.js +0 -22
- package/lib/utils/findMin.d.ts +0 -7
- package/lib/utils/findMin.d.ts.map +0 -1
- package/lib/utils/findMin.js +0 -46
- package/lib/utils/freezeArray.d.ts +0 -8
- package/lib/utils/freezeArray.d.ts.map +0 -1
- package/lib/utils/freezeArray.js +0 -19
- package/lib/utils/isObject.js +0 -12
- package/lib/utils/mapMap.d.ts +0 -6
- package/lib/utils/mapMap.d.ts.map +0 -1
- package/lib/utils/mapMap.js +0 -27
- package/lib/utils/normalizeLanguage.d.ts +0 -2
- package/lib/utils/normalizeLanguage.d.ts.map +0 -1
- package/lib/utils/normalizeLanguage.js +0 -115
- package/lib/utils/randomId.d.ts +0 -2
- package/lib/utils/randomId.d.ts.map +0 -1
- package/lib/utils/randomId.js +0 -15
- package/lib/utils/warnOnce.d.ts +0 -2
- package/lib/utils/warnOnce.d.ts.map +0 -1
- package/lib/utils/warnOnce.js +0 -16
- package/src/decorator/index.ts +0 -4
- package/src/decorator/private/ActivityBorderDecoratorMiddleware.ts +0 -31
- package/src/decorator/private/ActivityDecorator.tsx +0 -31
- package/src/decorator/private/DecoratorComposer.tsx +0 -6
- package/src/decorator/private/activityDecoratorRequest.ts +0 -6
- package/src/decorator/private/createDecoratorComposer.tsx +0 -36
- package/src/hooks/middleware/createDefaultGroupActivitiesMiddleware.ts +0 -75
- package/src/hooks/useGroupActivities.ts +0 -10
- /package/dist/{chunk-2S76JUVM.mjs.LEGAL.txt → botframework-webchat-api.decorator.js.LEGAL.txt} +0 -0
- /package/dist/{chunk-J6D5YEY6.mjs.LEGAL.txt → botframework-webchat-api.internal.js.LEGAL.txt} +0 -0
- /package/dist/{chunk-ZAMHKQQC.mjs.LEGAL.txt → botframework-webchat-api.js.LEGAL.txt} +0 -0
|
@@ -1,36 +1,30 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
1
|
import react__default, { ReactNode } from 'react';
|
|
3
|
-
import
|
|
4
|
-
|
|
2
|
+
import { D as DecoratorMiddleware } from './types-BXPldIKA.mjs';
|
|
3
|
+
export { a as DecoratorMiddlewareInit, b as DecoratorMiddlewareTypes } from './types-BXPldIKA.mjs';
|
|
5
4
|
import { WebChatActivity } from 'botframework-webchat-core';
|
|
5
|
+
import 'react-chain-of-responsibility';
|
|
6
|
+
import 'type-fest';
|
|
6
7
|
|
|
7
|
-
type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
8
|
+
type DecoratorComposerProps = Readonly<{
|
|
9
|
+
children?: ReactNode | undefined;
|
|
10
|
+
middleware?: readonly DecoratorMiddleware[] | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
declare function DecoratorComposer({ children, middleware }: DecoratorComposerProps): react__default.JSX.Element;
|
|
13
|
+
declare const _default$2: react__default.MemoExoticComponent<typeof DecoratorComposer>;
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
type ActivityBorderDecoratorMiddleware = typeof types.middleware;
|
|
19
|
-
declare const activityBorderDecoratorTypeName: "activity border";
|
|
15
|
+
type ActivityBorderDecoratorProps = Readonly<{
|
|
16
|
+
activity?: WebChatActivity | undefined;
|
|
17
|
+
children?: ReactNode | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
declare function ActivityBorderDecorator({ activity, children }: ActivityBorderDecoratorProps): react__default.JSX.Element;
|
|
20
|
+
declare const _default$1: react__default.MemoExoticComponent<typeof ActivityBorderDecorator>;
|
|
20
21
|
|
|
21
|
-
type
|
|
22
|
-
|
|
23
|
-
children?: ReactNode;
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
22
|
+
type ActivityGroupingDecoratorProps = Readonly<{
|
|
23
|
+
activities: readonly WebChatActivity[];
|
|
24
|
+
children?: ReactNode | undefined;
|
|
25
|
+
groupingName: string;
|
|
26
|
+
}>;
|
|
27
|
+
declare function ActivityGroupingDecorator({ activities, children, groupingName }: ActivityGroupingDecoratorProps): react__default.JSX.Element;
|
|
28
|
+
declare const _default: react__default.MemoExoticComponent<typeof ActivityGroupingDecorator>;
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
declare function ActivityDecorator({ children, activity }: Readonly<{
|
|
31
|
-
activity?: WebChatActivity;
|
|
32
|
-
children?: ReactNode;
|
|
33
|
-
}>): react__default.JSX.Element;
|
|
34
|
-
declare const _default: react__default.MemoExoticComponent<typeof ActivityDecorator>;
|
|
35
|
-
|
|
36
|
-
export { _default as ActivityDecorator, type ActivityDecoratorRequestType as ActivityDecoratorRequest, DecoratorComposer, type DecoratorMiddleware };
|
|
30
|
+
export { _default$1 as ActivityBorderDecorator, _default as ActivityGroupingDecorator, _default$2 as DecoratorComposer, DecoratorMiddleware };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import react__default, { ReactNode } from 'react';
|
|
2
|
+
import { D as DecoratorMiddleware } from './types-BXPldIKA.js';
|
|
3
|
+
export { a as DecoratorMiddlewareInit, b as DecoratorMiddlewareTypes } from './types-BXPldIKA.js';
|
|
4
|
+
import { WebChatActivity } from 'botframework-webchat-core';
|
|
5
|
+
import 'react-chain-of-responsibility';
|
|
6
|
+
import 'type-fest';
|
|
7
|
+
|
|
8
|
+
type DecoratorComposerProps = Readonly<{
|
|
9
|
+
children?: ReactNode | undefined;
|
|
10
|
+
middleware?: readonly DecoratorMiddleware[] | undefined;
|
|
11
|
+
}>;
|
|
12
|
+
declare function DecoratorComposer({ children, middleware }: DecoratorComposerProps): react__default.JSX.Element;
|
|
13
|
+
declare const _default$2: react__default.MemoExoticComponent<typeof DecoratorComposer>;
|
|
14
|
+
|
|
15
|
+
type ActivityBorderDecoratorProps = Readonly<{
|
|
16
|
+
activity?: WebChatActivity | undefined;
|
|
17
|
+
children?: ReactNode | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
declare function ActivityBorderDecorator({ activity, children }: ActivityBorderDecoratorProps): react__default.JSX.Element;
|
|
20
|
+
declare const _default$1: react__default.MemoExoticComponent<typeof ActivityBorderDecorator>;
|
|
21
|
+
|
|
22
|
+
type ActivityGroupingDecoratorProps = Readonly<{
|
|
23
|
+
activities: readonly WebChatActivity[];
|
|
24
|
+
children?: ReactNode | undefined;
|
|
25
|
+
groupingName: string;
|
|
26
|
+
}>;
|
|
27
|
+
declare function ActivityGroupingDecorator({ activities, children, groupingName }: ActivityGroupingDecoratorProps): react__default.JSX.Element;
|
|
28
|
+
declare const _default: react__default.MemoExoticComponent<typeof ActivityGroupingDecorator>;
|
|
29
|
+
|
|
30
|
+
export { _default$1 as ActivityBorderDecorator, _default as ActivityGroupingDecorator, _default$2 as DecoratorComposer, DecoratorMiddleware };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk45Z2ZE4Mjs = require('./chunk-45Z2ZE4M.js');require('./chunk-LXPINC7N.js');var _react = require('react'); var _react2 = _interopRequireDefault(_react);function u({children:e,middleware:r}){return r?_react2.default.createElement(_chunk45Z2ZE4Mjs.c,{middleware:r,priority:"normal"},e):_react2.default.createElement(_react.Fragment,null,e)}var y=_react.memo.call(void 0, u);var _botframeworkwebchatcore = require('botframework-webchat-core');function A({children:e}){return _react2.default.createElement(_react.Fragment,null,e)}var i=_react.memo.call(void 0, A);var R=["bot","channel","user",void 0];function x({activity:e,children:r}){let t=_react.useMemo.call(void 0, ()=>{var a,d;let{type:o}=_botframeworkwebchatcore.getActivityLivestreamingMetadata.call(void 0, e)||{};return{livestreamingState:o==="final activity"?"completing":o==="informative message"?"preparing":o==="interim activity"?"ongoing":void 0,from:R.includes((a=e==null?void 0:e.from)==null?void 0:a.role)?(d=e==null?void 0:e.from)==null?void 0:d.role:void 0}},[e]);return _react2.default.createElement(_chunk45Z2ZE4Mjs.a,{fallbackComponent:i,request:t},r)}var w=_react.memo.call(void 0, x);function F({activities:e,children:r,groupingName:t}){let o=_react.useMemo.call(void 0, ()=>({groupingName:t}),[t]);return _react2.default.createElement(_chunk45Z2ZE4Mjs.b,{activities:e,fallbackComponent:i,request:o},r)}var q=_react.memo.call(void 0, F);exports.ActivityBorderDecorator = w; exports.ActivityGroupingDecorator = q; exports.DecoratorComposer = y;
|
|
2
|
+
/*! For license information please see botframework-webchat-api.decorator.js.LEGAL.txt */
|
|
3
|
+
//# sourceMappingURL=botframework-webchat-api.decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/__w/1/s/BotFramework-WebChat/packages/api/dist/botframework-webchat-api.decorator.js","../src/decorator/DecoratorComposer.tsx","../src/decorator/ActivityBorder/ActivityBorderDecorator.tsx","../src/decorator/private/PassthroughFallback.tsx","../src/decorator/ActivityGrouping/ActivityGroupingDecorator.tsx"],"names":["DecoratorComposer","children","middleware","React","InternalDecoratorComposer_default","Fragment","DecoratorComposer_default","memo","PassthroughFallback","PassthroughFallback_default","supportedActivityRoles","ActivityBorderDecorator","activity","request","useMemo","_a","_b","type","getActivityLivestreamingMetadata","ActivityBorderDecoratorMiddlewareProxy","ActivityBorderDecorator_default","ActivityGroupingDecorator","activities","groupingName","ActivityGroupingDecoratorMiddlewareProxy","ActivityGroupingDecorator_default"],"mappings":"AAAA,+NAAgD,+BAA4B,4ECAtB,SAS7CA,CAAAA,CAAkB,CAAE,QAAA,CAAAC,CAAAA,CAAU,UAAA,CAAAC,CAAW,CAAA,CAA2B,CAC3E,OAAOA,CAAAA,CACLC,eAAAA,CAAA,aAAA,CAACC,kBAAAA,CAAA,CAA0B,UAAA,CAAYF,CAAAA,CAAY,QAAA,CAAS,QAAA,CAAA,CACzDD,CACH,CAAA,CAGAE,eAAAA,CAAA,aAAA,CAACE,eAAAA,CAAA,IAAA,CAAUJ,CAAS,CAExB,CAEA,IAAOK,CAAAA,CAAQC,yBAAAA,CAAsB,CAAA,CCpBrC,oEAAuE,SCM9DC,CAAAA,CAAoB,CAAE,QAAA,CAAAP,CAAS,CAAA,CAA6B,CACnE,OAAOE,eAAAA,CAAA,aAAA,CAACE,eAAAA,CAAA,IAAA,CAAUJ,CAAS,CAC7B,CAEA,IAAOQ,CAAAA,CAAQF,yBAAAA,CAAwB,CAAA,CDFvC,IAAMG,CAAAA,CAA6E,CACjF,KAAA,CACA,SAAA,CACA,MAAA,CACA,KAAA,CACF,CAAA,CAOA,SAASC,CAAAA,CAAwB,CAAE,QAAA,CAAAC,CAAAA,CAAU,QAAA,CAAAX,CAAS,CAAA,CAAiC,CACrF,IAAMY,CAAAA,CAAUC,4BAAAA,CAAkD,CAAA,EAAM,CArB1E,IAAAC,CAAAA,CAAAC,CAAAA,CAsBI,GAAM,CAAE,IAAA,CAAAC,CAAK,CAAA,CAAIC,uEAAAA,CAAyC,CAAA,EAAK,CAAC,CAAA,CAEhE,MAAO,CACL,kBAAA,CACED,CAAAA,GAAS,gBAAA,CACL,YAAA,CACAA,CAAAA,GAAS,qBAAA,CACP,WAAA,CACAA,CAAAA,GAAS,kBAAA,CACP,SAAA,CAEE,KAAA,CAAA,CAEZ,IAAA,CAAMP,CAAAA,CAAuB,QAAA,CAAA,CAASK,CAAAA,CAAAH,CAAAA,EAAA,IAAA,CAAA,KAAA,CAAA,CAAAA,CAAAA,CAAU,IAAA,CAAA,EAAV,IAAA,CAAA,KAAA,CAAA,CAAAG,CAAAA,CAAgB,IAAI,CAAA,CAAA,CAAIC,CAAAA,CAAAJ,CAAAA,EAAA,IAAA,CAAA,KAAA,CAAA,CAAAA,CAAAA,CAAU,IAAA,CAAA,EAAV,IAAA,CAAA,KAAA,CAAA,CAAAI,CAAAA,CAAgB,IAAA,CAAO,KAAA,CACvF,CACF,CAAA,CAAG,CAACJ,CAAQ,CAAC,CAAA,CAEb,OACET,eAAAA,CAAA,aAAA,CAACgB,kBAAAA,CAAA,CAAuC,iBAAA,CAAmBV,CAAAA,CAAqB,OAAA,CAASI,CAAAA,CAAAA,CACtFZ,CACH,CAEJ,CAEA,IAAOmB,CAAAA,CAAQb,yBAAAA,CAA4B,CAAA,CE7C3C,SAcSc,CAAAA,CAA0B,CAAE,UAAA,CAAAC,CAAAA,CAAY,QAAA,CAAArB,CAAAA,CAAU,YAAA,CAAAsB,CAAa,CAAA,CAAmC,CACzG,IAAMV,CAAAA,CAAUC,4BAAAA,CAAoD,CAAA,EAAA,CAAO,CAAE,YAAA,CAAAS,CAAa,CAAA,CAAA,CAAI,CAACA,CAAY,CAAC,CAAA,CAE5G,OACEpB,eAAAA,CAAA,aAAA,CAACqB,kBAAAA,CAAA,CACC,UAAA,CAAYF,CAAAA,CACZ,iBAAA,CAAmBb,CAAAA,CACnB,OAAA,CAASI,CAAAA,CAAAA,CAERZ,CACH,CAEJ,CAEA,IAAOwB,CAAAA,CAAQlB,yBAAAA,CAA8B,CAAA,CAAA,0GAAA;AJ5B7C","file":"/__w/1/s/BotFramework-WebChat/packages/api/dist/botframework-webchat-api.decorator.js","sourcesContent":[null,"import React, { Fragment, memo, type ReactNode } from 'react';\nimport InternalDecoratorComposer from './internal/InternalDecoratorComposer';\nimport { type DecoratorMiddleware } from './types';\n\ntype DecoratorComposerProps = Readonly<{\n children?: ReactNode | undefined;\n middleware?: readonly DecoratorMiddleware[] | undefined;\n}>;\n\nfunction DecoratorComposer({ children, middleware }: DecoratorComposerProps) {\n return middleware ? (\n <InternalDecoratorComposer middleware={middleware} priority=\"normal\">\n {children}\n </InternalDecoratorComposer>\n ) : (\n // We can't return `children` unless we are not using memo().\n <Fragment>{children}</Fragment>\n );\n}\n\nexport default memo(DecoratorComposer);\nexport { type DecoratorComposerProps };\n","import { getActivityLivestreamingMetadata, type WebChatActivity } from 'botframework-webchat-core';\nimport React, { memo, useMemo, type ReactNode } from 'react';\nimport PassthroughFallback from '../private/PassthroughFallback';\nimport {\n ActivityBorderDecoratorMiddlewareProxy,\n type ActivityBorderDecoratorMiddlewareRequest\n} from './private/ActivityBorderDecoratorMiddleware';\n\nconst supportedActivityRoles: ActivityBorderDecoratorMiddlewareRequest['from'][] = [\n 'bot',\n 'channel',\n 'user',\n undefined\n];\n\ntype ActivityBorderDecoratorProps = Readonly<{\n activity?: WebChatActivity | undefined;\n children?: ReactNode | undefined;\n}>;\n\nfunction ActivityBorderDecorator({ activity, children }: ActivityBorderDecoratorProps) {\n const request = useMemo<ActivityBorderDecoratorMiddlewareRequest>(() => {\n const { type } = getActivityLivestreamingMetadata(activity) || {};\n\n return {\n livestreamingState:\n type === 'final activity'\n ? 'completing'\n : type === 'informative message'\n ? 'preparing'\n : type === 'interim activity'\n ? 'ongoing'\n : type === 'contentless'\n ? undefined // No bubble is shown for \"contentless\" livestream, should not decorate.\n : undefined,\n from: supportedActivityRoles.includes(activity?.from?.role) ? activity?.from?.role : undefined\n };\n }, [activity]);\n\n return (\n <ActivityBorderDecoratorMiddlewareProxy fallbackComponent={PassthroughFallback} request={request}>\n {children}\n </ActivityBorderDecoratorMiddlewareProxy>\n );\n}\n\nexport default memo(ActivityBorderDecorator);\nexport { type ActivityBorderDecoratorProps };\n","import React, { Fragment, memo, type ReactNode } from 'react';\n\ntype PassthroughFallbackProps = Readonly<{\n children?: ReactNode | undefined;\n}>;\n\nfunction PassthroughFallback({ children }: PassthroughFallbackProps) {\n return <Fragment>{children}</Fragment>;\n}\n\nexport default memo(PassthroughFallback);\nexport { type PassthroughFallbackProps };\n","import { type WebChatActivity } from 'botframework-webchat-core';\nimport React, { memo, useMemo, type ReactNode } from 'react';\n\nimport PassthroughFallback from '../private/PassthroughFallback';\nimport {\n ActivityGroupingDecoratorMiddlewareProxy,\n type ActivityGroupingDecoratorMiddlewareRequest\n} from './private/ActivityGroupingDecoratorMiddleware';\n\ntype ActivityGroupingDecoratorProps = Readonly<{\n activities: readonly WebChatActivity[];\n children?: ReactNode | undefined;\n groupingName: string;\n}>;\n\nfunction ActivityGroupingDecorator({ activities, children, groupingName }: ActivityGroupingDecoratorProps) {\n const request = useMemo<ActivityGroupingDecoratorMiddlewareRequest>(() => ({ groupingName }), [groupingName]);\n\n return (\n <ActivityGroupingDecoratorMiddlewareProxy\n activities={activities}\n fallbackComponent={PassthroughFallback}\n request={request}\n >\n {children}\n </ActivityGroupingDecoratorMiddlewareProxy>\n );\n}\n\nexport default memo(ActivityGroupingDecorator);\nexport { type ActivityGroupingDecoratorProps };\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a,b as c,c as d}from"./chunk-PRWGXTDA.mjs";import"./chunk-2HABAU7C.mjs";import n,{Fragment as p,memo as m}from"react";function s({children:e,middleware:r}){return r?n.createElement(d,{middleware:r,priority:"normal"},e):n.createElement(p,null,e)}var l=m(s);import{getActivityLivestreamingMetadata as v}from"botframework-webchat-core";import g,{memo as A,useMemo as P}from"react";import y,{Fragment as u,memo as f}from"react";function D({children:e}){return y.createElement(u,null,e)}var i=f(D);var h=["bot","channel","user",void 0];function M({activity:e,children:r}){let t=P(()=>{let{type:o}=v(e)||{};return{livestreamingState:o==="final activity"?"completing":o==="informative message"?"preparing":o==="interim activity"?"ongoing":void 0,from:h.includes(e?.from?.role)?e?.from?.role:void 0}},[e]);return g.createElement(a,{fallbackComponent:i,request:t},r)}var R=A(M);import x,{memo as w,useMemo as b}from"react";function C({activities:e,children:r,groupingName:t}){let o=b(()=>({groupingName:t}),[t]);return x.createElement(c,{activities:e,fallbackComponent:i,request:o},r)}var B=w(C);export{R as ActivityBorderDecorator,B as ActivityGroupingDecorator,l as DecoratorComposer};
|
|
2
2
|
/*! For license information please see botframework-webchat-api.decorator.mjs.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat-api.decorator.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/decorator/
|
|
1
|
+
{"version":3,"sources":["../src/decorator/DecoratorComposer.tsx","../src/decorator/ActivityBorder/ActivityBorderDecorator.tsx","../src/decorator/private/PassthroughFallback.tsx","../src/decorator/ActivityGrouping/ActivityGroupingDecorator.tsx"],"sourcesContent":["import React, { Fragment, memo, type ReactNode } from 'react';\nimport InternalDecoratorComposer from './internal/InternalDecoratorComposer';\nimport { type DecoratorMiddleware } from './types';\n\ntype DecoratorComposerProps = Readonly<{\n children?: ReactNode | undefined;\n middleware?: readonly DecoratorMiddleware[] | undefined;\n}>;\n\nfunction DecoratorComposer({ children, middleware }: DecoratorComposerProps) {\n return middleware ? (\n <InternalDecoratorComposer middleware={middleware} priority=\"normal\">\n {children}\n </InternalDecoratorComposer>\n ) : (\n // We can't return `children` unless we are not using memo().\n <Fragment>{children}</Fragment>\n );\n}\n\nexport default memo(DecoratorComposer);\nexport { type DecoratorComposerProps };\n","import { getActivityLivestreamingMetadata, type WebChatActivity } from 'botframework-webchat-core';\nimport React, { memo, useMemo, type ReactNode } from 'react';\nimport PassthroughFallback from '../private/PassthroughFallback';\nimport {\n ActivityBorderDecoratorMiddlewareProxy,\n type ActivityBorderDecoratorMiddlewareRequest\n} from './private/ActivityBorderDecoratorMiddleware';\n\nconst supportedActivityRoles: ActivityBorderDecoratorMiddlewareRequest['from'][] = [\n 'bot',\n 'channel',\n 'user',\n undefined\n];\n\ntype ActivityBorderDecoratorProps = Readonly<{\n activity?: WebChatActivity | undefined;\n children?: ReactNode | undefined;\n}>;\n\nfunction ActivityBorderDecorator({ activity, children }: ActivityBorderDecoratorProps) {\n const request = useMemo<ActivityBorderDecoratorMiddlewareRequest>(() => {\n const { type } = getActivityLivestreamingMetadata(activity) || {};\n\n return {\n livestreamingState:\n type === 'final activity'\n ? 'completing'\n : type === 'informative message'\n ? 'preparing'\n : type === 'interim activity'\n ? 'ongoing'\n : type === 'contentless'\n ? undefined // No bubble is shown for \"contentless\" livestream, should not decorate.\n : undefined,\n from: supportedActivityRoles.includes(activity?.from?.role) ? activity?.from?.role : undefined\n };\n }, [activity]);\n\n return (\n <ActivityBorderDecoratorMiddlewareProxy fallbackComponent={PassthroughFallback} request={request}>\n {children}\n </ActivityBorderDecoratorMiddlewareProxy>\n );\n}\n\nexport default memo(ActivityBorderDecorator);\nexport { type ActivityBorderDecoratorProps };\n","import React, { Fragment, memo, type ReactNode } from 'react';\n\ntype PassthroughFallbackProps = Readonly<{\n children?: ReactNode | undefined;\n}>;\n\nfunction PassthroughFallback({ children }: PassthroughFallbackProps) {\n return <Fragment>{children}</Fragment>;\n}\n\nexport default memo(PassthroughFallback);\nexport { type PassthroughFallbackProps };\n","import { type WebChatActivity } from 'botframework-webchat-core';\nimport React, { memo, useMemo, type ReactNode } from 'react';\n\nimport PassthroughFallback from '../private/PassthroughFallback';\nimport {\n ActivityGroupingDecoratorMiddlewareProxy,\n type ActivityGroupingDecoratorMiddlewareRequest\n} from './private/ActivityGroupingDecoratorMiddleware';\n\ntype ActivityGroupingDecoratorProps = Readonly<{\n activities: readonly WebChatActivity[];\n children?: ReactNode | undefined;\n groupingName: string;\n}>;\n\nfunction ActivityGroupingDecorator({ activities, children, groupingName }: ActivityGroupingDecoratorProps) {\n const request = useMemo<ActivityGroupingDecoratorMiddlewareRequest>(() => ({ groupingName }), [groupingName]);\n\n return (\n <ActivityGroupingDecoratorMiddlewareProxy\n activities={activities}\n fallbackComponent={PassthroughFallback}\n request={request}\n >\n {children}\n </ActivityGroupingDecoratorMiddlewareProxy>\n );\n}\n\nexport default memo(ActivityGroupingDecorator);\nexport { type ActivityGroupingDecoratorProps };\n"],"mappings":"+EAAA,OAAOA,GAAS,YAAAC,EAAU,QAAAC,MAA4B,QAStD,SAASC,EAAkB,CAAE,SAAAC,EAAU,WAAAC,CAAW,EAA2B,CAC3E,OAAOA,EACLC,EAAA,cAACC,EAAA,CAA0B,WAAYF,EAAY,SAAS,UACzDD,CACH,EAGAE,EAAA,cAACE,EAAA,KAAUJ,CAAS,CAExB,CAEA,IAAOK,EAAQC,EAAKP,CAAiB,ECpBrC,OAAS,oCAAAQ,MAA8D,4BACvE,OAAOC,GAAS,QAAAC,EAAM,WAAAC,MAA+B,QCDrD,OAAOC,GAAS,YAAAC,EAAU,QAAAC,MAA4B,QAMtD,SAASC,EAAoB,CAAE,SAAAC,CAAS,EAA6B,CACnE,OAAOJ,EAAA,cAACC,EAAA,KAAUG,CAAS,CAC7B,CAEA,IAAOC,EAAQH,EAAKC,CAAmB,EDFvC,IAAMG,EAA6E,CACjF,MACA,UACA,OACA,MACF,EAOA,SAASC,EAAwB,CAAE,SAAAC,EAAU,SAAAC,CAAS,EAAiC,CACrF,IAAMC,EAAUC,EAAkD,IAAM,CACtE,GAAM,CAAE,KAAAC,CAAK,EAAIC,EAAiCL,CAAQ,GAAK,CAAC,EAEhE,MAAO,CACL,mBACEI,IAAS,iBACL,aACAA,IAAS,sBACP,YACAA,IAAS,mBACP,UAEE,OAEZ,KAAMN,EAAuB,SAASE,GAAU,MAAM,IAAI,EAAIA,GAAU,MAAM,KAAO,MACvF,CACF,EAAG,CAACA,CAAQ,CAAC,EAEb,OACEM,EAAA,cAACC,EAAA,CAAuC,kBAAmBC,EAAqB,QAASN,GACtFD,CACH,CAEJ,CAEA,IAAOQ,EAAQC,EAAKX,CAAuB,EE7C3C,OAAOY,GAAS,QAAAC,EAAM,WAAAC,MAA+B,QAcrD,SAASC,EAA0B,CAAE,WAAAC,EAAY,SAAAC,EAAU,aAAAC,CAAa,EAAmC,CACzG,IAAMC,EAAUC,EAAoD,KAAO,CAAE,aAAAF,CAAa,GAAI,CAACA,CAAY,CAAC,EAE5G,OACEG,EAAA,cAACC,EAAA,CACC,WAAYN,EACZ,kBAAmBO,EACnB,QAASJ,GAERF,CACH,CAEJ,CAEA,IAAOO,EAAQC,EAAKV,CAAyB","names":["React","Fragment","memo","DecoratorComposer","children","middleware","React","InternalDecoratorComposer_default","Fragment","DecoratorComposer_default","memo","getActivityLivestreamingMetadata","React","memo","useMemo","React","Fragment","memo","PassthroughFallback","children","PassthroughFallback_default","supportedActivityRoles","ActivityBorderDecorator","activity","children","request","useMemo","type","getActivityLivestreamingMetadata","React","ActivityBorderDecoratorMiddlewareProxy","PassthroughFallback_default","ActivityBorderDecorator_default","memo","React","memo","useMemo","ActivityGroupingDecorator","activities","children","groupingName","request","useMemo","React","ActivityGroupingDecoratorMiddlewareProxy","PassthroughFallback_default","ActivityGroupingDecorator_default","memo"]}
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
import react__default, { ReactNode } from 'react';
|
|
2
|
+
import { D as DecoratorMiddleware } from './types-BXPldIKA.mjs';
|
|
3
|
+
import { BaseSchema, BaseIssue, InferInput, InferOutput } from 'valibot';
|
|
4
|
+
import 'react-chain-of-responsibility';
|
|
5
|
+
import 'type-fest';
|
|
6
|
+
import 'botframework-webchat-core';
|
|
7
|
+
|
|
8
|
+
type LowPriorityDecoratorComposerProps = Readonly<{
|
|
9
|
+
children?: ReactNode | undefined;
|
|
10
|
+
middleware: readonly DecoratorMiddleware[];
|
|
11
|
+
}>;
|
|
12
|
+
declare function LowPriorityDecoratorDecomposer({ children, middleware }: LowPriorityDecoratorComposerProps): react__default.JSX.Element;
|
|
13
|
+
declare const _default: react__default.MemoExoticComponent<typeof LowPriorityDecoratorDecomposer>;
|
|
14
|
+
|
|
1
15
|
declare function useSetDictateState(): (dictateState: number) => void;
|
|
2
16
|
|
|
3
|
-
|
|
17
|
+
declare function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(propsSchema: TSchema, props: unknown, isolationMode?: 'no isolation' | undefined): InferInput<TSchema>;
|
|
18
|
+
declare function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(propsSchema: TSchema, props: unknown, isolationMode?: 'strict'): InferOutput<TSchema>;
|
|
19
|
+
|
|
20
|
+
export { _default as LowPriorityDecoratorComposer, useSetDictateState, validateProps };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import react__default, { ReactNode } from 'react';
|
|
2
|
+
import { D as DecoratorMiddleware } from './types-BXPldIKA.js';
|
|
3
|
+
import { BaseSchema, BaseIssue, InferInput, InferOutput } from 'valibot';
|
|
4
|
+
import 'react-chain-of-responsibility';
|
|
5
|
+
import 'type-fest';
|
|
6
|
+
import 'botframework-webchat-core';
|
|
7
|
+
|
|
8
|
+
type LowPriorityDecoratorComposerProps = Readonly<{
|
|
9
|
+
children?: ReactNode | undefined;
|
|
10
|
+
middleware: readonly DecoratorMiddleware[];
|
|
11
|
+
}>;
|
|
12
|
+
declare function LowPriorityDecoratorDecomposer({ children, middleware }: LowPriorityDecoratorComposerProps): react__default.JSX.Element;
|
|
13
|
+
declare const _default: react__default.MemoExoticComponent<typeof LowPriorityDecoratorDecomposer>;
|
|
14
|
+
|
|
15
|
+
declare function useSetDictateState(): (dictateState: number) => void;
|
|
16
|
+
|
|
17
|
+
declare function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(propsSchema: TSchema, props: unknown, isolationMode?: 'no isolation' | undefined): InferInput<TSchema>;
|
|
18
|
+
declare function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(propsSchema: TSchema, props: unknown, isolationMode?: 'strict'): InferOutput<TSchema>;
|
|
19
|
+
|
|
20
|
+
export { _default as LowPriorityDecoratorComposer, useSetDictateState, validateProps };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkWH7VSYKKjs = require('./chunk-WH7VSYKK.js');var _chunk45Z2ZE4Mjs = require('./chunk-45Z2ZE4M.js');require('./chunk-LXPINC7N.js');var _react = require('react'); var _react2 = _interopRequireDefault(_react);function u({children:o,middleware:e}){return _react2.default.createElement(_chunk45Z2ZE4Mjs.c,{middleware:e,priority:"low"},o)}var m=_react.memo.call(void 0, u);function a(){return _chunkWH7VSYKKjs.b.call(void 0, ).setDictateState}var _valibot = require('valibot');function s(o,e,i){return e;try{return _valibot.parse.call(void 0, o,e)}catch(t){throw console.error("botframework-webchat: Validation error while parsing props.",t.issues),t}}exports.LowPriorityDecoratorComposer = m; exports.useSetDictateState = a; exports.validateProps = s;
|
|
2
|
+
/*! For license information please see botframework-webchat-api.internal.js.LEGAL.txt */
|
|
3
|
+
//# sourceMappingURL=botframework-webchat-api.internal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/__w/1/s/BotFramework-WebChat/packages/api/dist/botframework-webchat-api.internal.js","../src/decorator/internal/LowPriorityDecoratorComposer.tsx","../src/hooks/internal/useSetDictateState.ts","../src/utils/validateProps.ts"],"names":["LowPriorityDecoratorDecomposer","children","middleware","React","InternalDecoratorComposer_default","LowPriorityDecoratorComposer_default","memo","useSetDictateState","useWebChatAPIContext","validateProps","propsSchema","props","isolationMode","parse","error"],"mappings":"AAAA,+NAAuC,sDAAwC,+BAA4B,4ECA/D,SASnCA,CAAAA,CAA+B,CAAE,QAAA,CAAAC,CAAAA,CAAU,UAAA,CAAAC,CAAW,CAAA,CAAsC,CACnG,OACEC,eAAAA,CAAA,aAAA,CAACC,kBAAAA,CAAA,CAA0B,UAAA,CAAYF,CAAAA,CAAY,QAAA,CAAS,KAAA,CAAA,CACzDD,CACH,CAEJ,CAEA,IAAOI,CAAAA,CAAQC,yBAAAA,CAAmC,CAAA,CCfnC,SAARC,CAAAA,CAAAA,CAAsE,CAC3E,OAAOC,gCAAAA,CAAqB,CAAE,eAChC,CCJA,kCAAqG,SAiC9FC,CAAAA,CACLC,CAAAA,CACAC,CAAAA,CACAC,CAAAA,CAC4C,CAE1C,OAAOD,CAAAA,CAST,GAAI,CACF,OAAOE,4BAAAA,CAAMH,CAAaC,CAAK,CACjC,CAAA,KAAA,CAASG,CAAAA,CAAO,CACd,MAAA,OAAA,CAAQ,KAAA,CAAM,6DAAA,CAA+DA,CAAAA,CAAM,MAAM,CAAA,CAEnFA,CACR,CACF,CAAA,oGAAA;AHtDA","file":"/__w/1/s/BotFramework-WebChat/packages/api/dist/botframework-webchat-api.internal.js","sourcesContent":[null,"import React, { memo, type ReactNode } from 'react';\nimport { type DecoratorMiddleware } from '../types';\nimport InternalDecoratorComposer from './InternalDecoratorComposer';\n\ntype LowPriorityDecoratorComposerProps = Readonly<{\n children?: ReactNode | undefined;\n middleware: readonly DecoratorMiddleware[];\n}>;\n\nfunction LowPriorityDecoratorDecomposer({ children, middleware }: LowPriorityDecoratorComposerProps) {\n return (\n <InternalDecoratorComposer middleware={middleware} priority=\"low\">\n {children}\n </InternalDecoratorComposer>\n );\n}\n\nexport default memo(LowPriorityDecoratorDecomposer);\nexport { type LowPriorityDecoratorComposerProps };\n","import useWebChatAPIContext from './useWebChatAPIContext';\n\nexport default function useSetDictateState(): (dictateState: number) => void {\n return useWebChatAPIContext().setDictateState;\n}\n","import { parse, safeParse, type BaseIssue, type BaseSchema, type InferInput, type InferOutput } from 'valibot';\n\n/**\n * Specifies the props isolation mode.\n *\n * - `\"no isolation\"` will return the props as-is without cloning or modifications\n * - `\"strict\"` will isolate the props using `valibot.parse()`\n * - Depends on schema design, it could clone object instances, remove extraneous properties from objects, or fill in optional fields\n */\ntype IsolationMode = 'no isolation' | 'strict';\n\nexport default function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(\n propsSchema: TSchema,\n props: unknown,\n isolationMode?: 'no isolation' | undefined\n): InferInput<TSchema>;\n\nexport default function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(\n propsSchema: TSchema,\n props: unknown,\n isolationMode?: 'strict'\n): InferOutput<TSchema>;\n\n/**\n * Validates props against the specified valibot schema when running under development mode.\n *\n * This function will not perform any validations when running under production mode.\n *\n * @param propsSchema validation schema\n * @param props props to validate\n * @param mode specifies the isolation mode, default to `\"no isolation\"`\n * @returns\n */\nexport default function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(\n propsSchema: TSchema,\n props: InferInput<TSchema>,\n isolationMode?: IsolationMode | undefined\n): InferInput<TSchema> | InferOutput<TSchema> {\n if (process.env.NODE_ENV === 'production') {\n return props as unknown as InferInput<TSchema>;\n }\n\n if (isolationMode !== 'strict' && safeParse(propsSchema, props).success) {\n return props as unknown as InferInput<TSchema>;\n }\n\n // Code path hit here when under strict isolation, or no isolation and failed earlier.\n\n try {\n return parse(propsSchema, props);\n } catch (error) {\n console.error('botframework-webchat: Validation error while parsing props.', error.issues);\n\n throw error;\n }\n}\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{b as
|
|
1
|
+
import{b as r}from"./chunk-7K3OK5TS.mjs";import{c as n}from"./chunk-PRWGXTDA.mjs";import"./chunk-2HABAU7C.mjs";import c,{memo as p}from"react";function u({children:o,middleware:e}){return c.createElement(n,{middleware:e,priority:"low"},o)}var m=p(u);function a(){return r().setDictateState}import{parse as d,safeParse as f}from"valibot";function s(o,e,i){return e;try{return d(o,e)}catch(t){throw console.error("botframework-webchat: Validation error while parsing props.",t.issues),t}}export{m as LowPriorityDecoratorComposer,a as useSetDictateState,s as validateProps};
|
|
2
2
|
/*! For license information please see botframework-webchat-api.internal.mjs.LEGAL.txt */
|
|
3
3
|
//# sourceMappingURL=botframework-webchat-api.internal.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/hooks/internal/useSetDictateState.ts"],"sourcesContent":["import useWebChatAPIContext from './useWebChatAPIContext';\n\nexport default function useSetDictateState(): (dictateState: number) => void {\n return useWebChatAPIContext().setDictateState;\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/decorator/internal/LowPriorityDecoratorComposer.tsx","../src/hooks/internal/useSetDictateState.ts","../src/utils/validateProps.ts"],"sourcesContent":["import React, { memo, type ReactNode } from 'react';\nimport { type DecoratorMiddleware } from '../types';\nimport InternalDecoratorComposer from './InternalDecoratorComposer';\n\ntype LowPriorityDecoratorComposerProps = Readonly<{\n children?: ReactNode | undefined;\n middleware: readonly DecoratorMiddleware[];\n}>;\n\nfunction LowPriorityDecoratorDecomposer({ children, middleware }: LowPriorityDecoratorComposerProps) {\n return (\n <InternalDecoratorComposer middleware={middleware} priority=\"low\">\n {children}\n </InternalDecoratorComposer>\n );\n}\n\nexport default memo(LowPriorityDecoratorDecomposer);\nexport { type LowPriorityDecoratorComposerProps };\n","import useWebChatAPIContext from './useWebChatAPIContext';\n\nexport default function useSetDictateState(): (dictateState: number) => void {\n return useWebChatAPIContext().setDictateState;\n}\n","import { parse, safeParse, type BaseIssue, type BaseSchema, type InferInput, type InferOutput } from 'valibot';\n\n/**\n * Specifies the props isolation mode.\n *\n * - `\"no isolation\"` will return the props as-is without cloning or modifications\n * - `\"strict\"` will isolate the props using `valibot.parse()`\n * - Depends on schema design, it could clone object instances, remove extraneous properties from objects, or fill in optional fields\n */\ntype IsolationMode = 'no isolation' | 'strict';\n\nexport default function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(\n propsSchema: TSchema,\n props: unknown,\n isolationMode?: 'no isolation' | undefined\n): InferInput<TSchema>;\n\nexport default function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(\n propsSchema: TSchema,\n props: unknown,\n isolationMode?: 'strict'\n): InferOutput<TSchema>;\n\n/**\n * Validates props against the specified valibot schema when running under development mode.\n *\n * This function will not perform any validations when running under production mode.\n *\n * @param propsSchema validation schema\n * @param props props to validate\n * @param mode specifies the isolation mode, default to `\"no isolation\"`\n * @returns\n */\nexport default function validateProps<const TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>>(\n propsSchema: TSchema,\n props: InferInput<TSchema>,\n isolationMode?: IsolationMode | undefined\n): InferInput<TSchema> | InferOutput<TSchema> {\n if (process.env.NODE_ENV === 'production') {\n return props as unknown as InferInput<TSchema>;\n }\n\n if (isolationMode !== 'strict' && safeParse(propsSchema, props).success) {\n return props as unknown as InferInput<TSchema>;\n }\n\n // Code path hit here when under strict isolation, or no isolation and failed earlier.\n\n try {\n return parse(propsSchema, props);\n } catch (error) {\n console.error('botframework-webchat: Validation error while parsing props.', error.issues);\n\n throw error;\n }\n}\n"],"mappings":"+GAAA,OAAOA,GAAS,QAAAC,MAA4B,QAS5C,SAASC,EAA+B,CAAE,SAAAC,EAAU,WAAAC,CAAW,EAAsC,CACnG,OACEC,EAAA,cAACC,EAAA,CAA0B,WAAYF,EAAY,SAAS,OACzDD,CACH,CAEJ,CAEA,IAAOI,EAAQC,EAAKN,CAA8B,ECfnC,SAARO,GAAsE,CAC3E,OAAOC,EAAqB,EAAE,eAChC,CCJA,OAAS,SAAAC,EAAO,aAAAC,MAAqF,UAiCtF,SAARC,EACLC,EACAC,EACAC,EAC4C,CAE1C,OAAOD,EAST,GAAI,CACF,OAAOJ,EAAMG,EAAaC,CAAK,CACjC,OAASE,EAAO,CACd,cAAQ,MAAM,8DAA+DA,EAAM,MAAM,EAEnFA,CACR,CACF","names":["React","memo","LowPriorityDecoratorDecomposer","children","middleware","React","InternalDecoratorComposer_default","LowPriorityDecoratorComposer_default","memo","useSetDictateState","useWebChatAPIContext","parse","safeParse","validateProps","propsSchema","props","isolationMode","error"]}
|