botframework-webchat-component 4.19.0 → 4.19.1-main.20260529.6bcfcee
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dtsroll-chunks/CwOuXmoL-botframework-webchat-styles.react.d.ts +68 -0
- package/dist/botframework-webchat-component.component.d.mts +1 -1
- package/dist/botframework-webchat-component.component.d.ts +1 -1
- package/dist/botframework-webchat-component.component.js +1 -1
- package/dist/botframework-webchat-component.component.mjs +1 -1
- package/dist/botframework-webchat-component.d.mts +1 -3
- package/dist/botframework-webchat-component.d.ts +1 -3
- package/dist/botframework-webchat-component.decorator.js +1 -1
- package/dist/botframework-webchat-component.decorator.js.map +1 -1
- package/dist/botframework-webchat-component.decorator.mjs +1 -1
- package/dist/botframework-webchat-component.decorator.mjs.map +1 -1
- package/dist/botframework-webchat-component.hook.js +1 -1
- package/dist/botframework-webchat-component.hook.mjs +1 -1
- package/dist/botframework-webchat-component.internal.d.mts +2 -6
- package/dist/botframework-webchat-component.internal.d.ts +2 -6
- package/dist/botframework-webchat-component.internal.js +1 -1
- package/dist/botframework-webchat-component.internal.js.map +1 -1
- package/dist/botframework-webchat-component.internal.mjs +1 -1
- package/dist/botframework-webchat-component.js +1 -1
- package/dist/botframework-webchat-component.js.map +1 -1
- package/dist/botframework-webchat-component.mjs +1 -1
- package/dist/botframework-webchat-component.mjs.map +1 -1
- package/dist/chunk-4EA5WZBJ.mjs +80 -0
- package/dist/chunk-4EA5WZBJ.mjs.map +1 -0
- package/dist/{chunk-H5YR7OLF.js → chunk-B2XHGOQH.js} +2 -2
- package/dist/{chunk-H5YR7OLF.js.map → chunk-B2XHGOQH.js.map} +1 -1
- package/dist/chunk-C2RHHZZQ.mjs +2 -0
- package/dist/chunk-C2RHHZZQ.mjs.map +1 -0
- package/dist/{chunk-TYPS3H4I.mjs → chunk-FIPA3BLZ.mjs} +2 -2
- package/dist/{chunk-TYPS3H4I.mjs.map → chunk-FIPA3BLZ.mjs.map} +1 -1
- package/dist/{chunk-LVVCSDZ4.mjs → chunk-HWDSXHRJ.mjs} +2 -2
- package/dist/chunk-JCX7GSY7.js +2 -0
- package/dist/{chunk-2R7BJ63Z.js.map → chunk-JCX7GSY7.js.map} +1 -1
- package/dist/{chunk-U6OWCHTQ.js → chunk-K4QNZHM5.js} +2 -2
- package/dist/chunk-K4QNZHM5.js.map +1 -0
- package/dist/{chunk-MOJMHOVH.js → chunk-OJOV52AD.js} +2 -2
- package/dist/{chunk-MOJMHOVH.js.map → chunk-OJOV52AD.js.map} +1 -1
- package/dist/{chunk-GTOP3WPD.mjs → chunk-WPWJFSZC.mjs} +2 -2
- package/dist/chunk-WPWJFSZC.mjs.map +1 -0
- package/dist/chunk-ZUKHLDZN.js +80 -0
- package/dist/chunk-ZUKHLDZN.js.map +1 -0
- package/dist/{component-BtSxgJS5.d.mts → component-BeCWAilk.d.mts} +34 -43
- package/dist/{component-Fyy8iCRE.d.ts → component-BtDQyqSP.d.ts} +34 -43
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +12 -14
- package/src/ActivityStatus/SendStatus/private/SendFailedRetry.tsx +31 -0
- package/src/BasicToast.js +4 -5
- package/src/BasicToaster.js +2 -3
- package/src/Composer.tsx +0 -20
- package/src/Utils/InlineMarkdown.tsx +121 -0
- package/src/Utils/LocalizedString.tsx +123 -124
- package/src/Utils/addTargetBlankToHyperlinks.spec.ts +52 -0
- package/src/Utils/addTargetBlankToHyperlinks.ts +14 -0
- package/src/boot/internal.ts +7 -2
- package/src/hooks/internal/WebChatUIContext.ts +0 -2
- package/src/hooks/useRenderMarkdownAsHTML.ts +5 -3
- package/src/hooks/useStreamingMarkdownWithDefinitions.ts +2 -2
- package/src/private/renderMarkdownInline.ts +19 -0
- package/src/providers/CustomElements/customElements/CodeBlock.ts +2 -2
- package/dist/_dtsroll-chunks/Cha1SOtx-botframework-webchat-styles.react.d.ts +0 -38
- package/dist/chunk-2R7BJ63Z.js +0 -2
- package/dist/chunk-A4NDFSZM.mjs +0 -77
- package/dist/chunk-A4NDFSZM.mjs.map +0 -1
- package/dist/chunk-CNTMOACS.mjs +0 -2
- package/dist/chunk-CNTMOACS.mjs.map +0 -1
- package/dist/chunk-GTOP3WPD.mjs.map +0 -1
- package/dist/chunk-U6OWCHTQ.js.map +0 -1
- package/dist/chunk-VDF6GQAL.js +0 -77
- package/dist/chunk-VDF6GQAL.js.map +0 -1
- package/src/ActivityStatus/SendStatus/private/SendFailedRetry.js +0 -28
- package/src/Utils/InlineMarkdown.js +0 -154
- package/src/Utils/addTargetBlankToHyperlinksMarkdown.js +0 -28
- package/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js +0 -45
- package/src/Utils/betterLinks.ts +0 -157
- package/src/Utils/parseDocumentFragmentFromString.ts +0 -9
- package/src/Utils/serializeDocumentFragmentIntoString.ts +0 -3
- package/src/Utils/updateMarkdownAttrs.js +0 -10
- package/src/Utils/updateMarkdownAttrs.spec.js +0 -71
- package/src/Utils/walkMarkdownTokens.js +0 -15
- package/src/Utils/walkMarkdownTokens.spec.js +0 -18
- package/src/hooks/internal/useInternalMarkdownIt.js +0 -7
- package/src/hooks/internal/useInternalRenderMarkdownInline.js +0 -9
- /package/dist/{chunk-LVVCSDZ4.mjs.map → chunk-HWDSXHRJ.mjs.map} +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { betterLinkDocumentMod } from '@msinternal/botframework-webchat-component-better-link';
|
|
2
|
+
|
|
3
|
+
function addTargetBlankToHyperlinks(documentFragment: DocumentFragment) {
|
|
4
|
+
betterLinkDocumentMod(documentFragment, href => {
|
|
5
|
+
if (href && /^\w/u.test(href)) {
|
|
6
|
+
return {
|
|
7
|
+
rel: 'noopener noreferrer',
|
|
8
|
+
target: '_blank'
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export default addTargetBlankToHyperlinks;
|
package/src/boot/internal.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
export {
|
|
2
|
+
betterLinkDocumentMod,
|
|
3
|
+
parseDocumentFragmentFromString,
|
|
4
|
+
serializeDocumentFragmentIntoString,
|
|
5
|
+
type BetterLinkDocumentModAttributeSetter,
|
|
6
|
+
type BetterLinkDocumentModDecoration
|
|
7
|
+
} from '@msinternal/botframework-webchat-component-better-link';
|
|
1
8
|
export { InjectStyleElements, injectStyleElementsPropsSchema } from '@msinternal/botframework-webchat-styles/react';
|
|
2
9
|
export {
|
|
3
10
|
CodeHighlighterComposer,
|
|
@@ -8,8 +15,6 @@ export { default as PartGrouping } from '../Middleware/ActivityGrouping/ui/PartG
|
|
|
8
15
|
export { useLiveRegion } from '../providers/LiveRegionTwin/index';
|
|
9
16
|
export { default as ScreenReaderText } from '../ScreenReaderText';
|
|
10
17
|
export { default as createIconComponent } from '../Utils/createIconComponent';
|
|
11
|
-
export { default as parseDocumentFragmentFromString } from '../Utils/parseDocumentFragmentFromString';
|
|
12
|
-
export { default as serializeDocumentFragmentIntoString } from '../Utils/serializeDocumentFragmentIntoString';
|
|
13
18
|
|
|
14
19
|
// For type portability
|
|
15
20
|
export { type __INTERNAL_DO_NOT_USE__avatarPolymiddlewareRequestStyleOptionsSymbol } from 'botframework-webchat-api/internal.js';
|
|
@@ -10,8 +10,6 @@ export type ContextType = {
|
|
|
10
10
|
dictateAbortable: any;
|
|
11
11
|
dispatchScrollPosition: any;
|
|
12
12
|
dispatchTranscriptFocusByActivityKey: any;
|
|
13
|
-
internalMarkdownItState: [any];
|
|
14
|
-
internalRenderMarkdownInline: any;
|
|
15
13
|
numTranscriptFocusObservers: any;
|
|
16
14
|
observeScrollPosition: any;
|
|
17
15
|
observeTranscriptFocus: any;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { cx } from '@emotion/css';
|
|
2
|
+
import {
|
|
3
|
+
parseDocumentFragmentFromString,
|
|
4
|
+
serializeDocumentFragmentIntoString
|
|
5
|
+
} from '@msinternal/botframework-webchat-component-better-link';
|
|
2
6
|
import { hooks, StrictStyleOptions } from 'botframework-webchat-api';
|
|
3
7
|
import { useMemo } from 'react';
|
|
4
8
|
|
|
9
|
+
import { useStyles } from '@msinternal/botframework-webchat-styles/react';
|
|
5
10
|
import { useTransformHTMLContent } from '../providers/HTMLContentTransformCOR/index';
|
|
6
|
-
import parseDocumentFragmentFromString from '../Utils/parseDocumentFragmentFromString';
|
|
7
|
-
import serializeDocumentFragmentIntoString from '../Utils/serializeDocumentFragmentIntoString';
|
|
8
11
|
import useWebChatUIContext from './internal/useWebChatUIContext';
|
|
9
|
-
import { useStyles } from '@msinternal/botframework-webchat-styles/react';
|
|
10
12
|
|
|
11
13
|
import styles from './RenderMarkdown.module.css';
|
|
12
14
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { cx } from '@emotion/css';
|
|
2
|
+
import { parseDocumentFragmentFromString } from '@msinternal/botframework-webchat-component-better-link';
|
|
3
|
+
import { useStyles } from '@msinternal/botframework-webchat-styles/react';
|
|
2
4
|
import { hooks } from 'botframework-webchat-api';
|
|
3
5
|
import type { Definition } from 'mdast';
|
|
4
6
|
import { fromMarkdown } from 'mdast-util-from-markdown';
|
|
5
7
|
import { useLayoutEffect, useMemo, useRef, useState } from 'react';
|
|
6
|
-
import { useStyles } from '@msinternal/botframework-webchat-styles/react';
|
|
7
8
|
import { useRefFrom } from 'use-ref-from';
|
|
8
9
|
|
|
9
10
|
import { useTransformHTMLContent } from '../providers/HTMLContentTransformCOR/index';
|
|
10
|
-
import parseDocumentFragmentFromString from '../Utils/parseDocumentFragmentFromString';
|
|
11
11
|
import useWebChatUIContext from './internal/useWebChatUIContext';
|
|
12
12
|
|
|
13
13
|
import styles from './RenderMarkdown.module.css';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseDocumentFragmentFromString,
|
|
3
|
+
serializeDocumentFragmentIntoString,
|
|
4
|
+
stripParagraphContainer
|
|
5
|
+
} from '@msinternal/botframework-webchat-component-better-link';
|
|
6
|
+
import { micromark } from 'micromark';
|
|
7
|
+
import addTargetBlankToHyperlinks from '../Utils/addTargetBlankToHyperlinks';
|
|
8
|
+
|
|
9
|
+
function renderMarkdownInline(markdown: string): string {
|
|
10
|
+
const documentFragment = parseDocumentFragmentFromString(micromark(markdown));
|
|
11
|
+
|
|
12
|
+
addTargetBlankToHyperlinks(documentFragment);
|
|
13
|
+
|
|
14
|
+
const html = serializeDocumentFragmentIntoString(documentFragment);
|
|
15
|
+
|
|
16
|
+
return stripParagraphContainer(html);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default renderMarkdownInline;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint-disable class-methods-use-this */
|
|
2
|
-
import {
|
|
2
|
+
import { parseDocumentFragmentFromString } from '@msinternal/botframework-webchat-component-better-link';
|
|
3
3
|
import { useStyles } from '@msinternal/botframework-webchat-styles/react';
|
|
4
|
+
import { hooks } from 'botframework-webchat-api';
|
|
4
5
|
import { ReactNode, useMemo, useRef } from 'react';
|
|
5
6
|
|
|
6
7
|
import { useCodeHighlighter } from '../../../hooks/internal/codeHighlighter';
|
|
7
8
|
import { defaultHighlightCode, HighlightCodeFn } from '../../../hooks/internal/codeHighlighter/index';
|
|
8
|
-
import parseDocumentFragmentFromString from '../../../Utils/parseDocumentFragmentFromString';
|
|
9
9
|
|
|
10
10
|
import styles from './CodeBlock.module.css';
|
|
11
11
|
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as valibot from 'valibot';
|
|
2
|
-
import { InferOutput } from 'valibot';
|
|
3
|
-
|
|
4
|
-
declare const injectedStylesElementSchema: valibot.UnionSchema<[valibot.CustomSchema<HTMLLinkElement & {
|
|
5
|
-
rel: "stylesheet";
|
|
6
|
-
}, undefined>, valibot.InstanceSchema<{
|
|
7
|
-
new (): HTMLStyleElement;
|
|
8
|
-
prototype: HTMLStyleElement;
|
|
9
|
-
}, undefined>], "botframework-webchat: <InjectStyleElements> supports injecting <link rel=\"stylesheet\"> and <style> only">;
|
|
10
|
-
type InjectedStylesElement = InferOutput<typeof injectedStylesElementSchema>;
|
|
11
|
-
declare const injectStyleElementsPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
12
|
-
readonly at: valibot.UndefinedableSchema<valibot.CustomSchema<Node, valibot.ErrorMessage<valibot.CustomIssue> | undefined>, undefined>;
|
|
13
|
-
readonly children: valibot.OptionalSchema<valibot.NeverSchema<undefined>, undefined>;
|
|
14
|
-
readonly nonce: valibot.UndefinedableSchema<valibot.StringSchema<undefined>, undefined>;
|
|
15
|
-
readonly styleElements: valibot.SchemaWithPipe<readonly [valibot.ArraySchema<valibot.UnionSchema<[valibot.CustomSchema<HTMLLinkElement & {
|
|
16
|
-
rel: "stylesheet";
|
|
17
|
-
}, undefined>, valibot.InstanceSchema<{
|
|
18
|
-
new (): HTMLStyleElement;
|
|
19
|
-
prototype: HTMLStyleElement;
|
|
20
|
-
}, undefined>], "botframework-webchat: <InjectStyleElements> supports injecting <link rel=\"stylesheet\"> and <style> only">, undefined>, valibot.ReadonlyAction<((HTMLLinkElement & {
|
|
21
|
-
rel: "stylesheet";
|
|
22
|
-
}) | HTMLStyleElement)[]>]>;
|
|
23
|
-
}, undefined>, valibot.ReadonlyAction<{
|
|
24
|
-
at: Node | undefined;
|
|
25
|
-
children?: undefined;
|
|
26
|
-
nonce: string | undefined;
|
|
27
|
-
readonly styleElements: readonly ((HTMLLinkElement & {
|
|
28
|
-
rel: "stylesheet";
|
|
29
|
-
}) | HTMLStyleElement)[];
|
|
30
|
-
}>]>;
|
|
31
|
-
type InjectStyleElementsProps = {
|
|
32
|
-
readonly at?: Node | undefined;
|
|
33
|
-
readonly nonce: string | undefined;
|
|
34
|
-
readonly styleElements: readonly InjectedStylesElement[];
|
|
35
|
-
};
|
|
36
|
-
declare function InjectStyleElements(props: InjectStyleElementsProps): null;
|
|
37
|
-
|
|
38
|
-
export { InjectStyleElements as I, injectStyleElementsPropsSchema as i };
|
package/dist/chunk-2R7BJ63Z.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkTMUNLKZWjs = require('./chunk-TMUNLKZW.js');var _classnames = require('classnames'); var _classnames2 = _interopRequireDefault(_classnames);var _valibot = require('valibot');var _react = require('react'); var _react2 = _interopRequireDefault(_react);function he(e,i){let o=Object.keys(e).reduce((n,s)=>{let[m,c]=s.split("--");if(!c)return n;let p=m;if(!i.includes(p))return n;let l=n.get(p);return l||(l=new Set,n.set(p,l)),l.add(c),n},new Map),t=Array.from(o.entries()).reduce((n,[s,m])=>{let c=Array.from(m);return c.length&&(n[s]=_valibot.optional.call(void 0, _valibot.picklist.call(void 0, c))),n},{}),r=_valibot.object.call(void 0, t);return _valibot.pipe.call(void 0, r,_valibot.readonly.call(void 0, ))}function k(e,i,o){let t=he(e,i);return{component:(n=>{let{className:s,...m}=n,c=_chunkTMUNLKZWjs.h.call(void 0, t,n),p=_chunkTMUNLKZWjs.k.call(void 0, e),l=Object.entries(c).map(([_,w])=>p[`${_}--${w}`]);return _react2.default.createElement(o,{className:_classnames2.default.call(void 0, s,l),...m})}),modifierPropsSchema:t}}function ue(e){let o=new DOMParser().parseFromString(e,"text/html"),t=o.createDocumentFragment();return t.append(...o.body.childNodes),t}function we(e){return new XMLSerializer().serializeToString(e)}var _usereffrom = require('use-ref-from');var _botframeworkwebchatapi = require('botframework-webchat-api');function M(){let{markAllAsRendered:e}=h();_react.useEffect.call(void 0, e)}function E(){return h().staticElementEntriesState}var Ce=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-label":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),"aria-live":_valibot.union.call(void 0, [_valibot.literal.call(void 0, "assertive"),_valibot.literal.call(void 0, "polite")]),"aria-roledescription":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),role:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),textElementClassName:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function Se(e){let{"aria-label":i,"aria-live":o,"aria-roledescription":t,className:r,role:n,textElementClassName:s}=_chunkTMUNLKZWjs.h.call(void 0, Ce,e),[m]=E();return M(),_react2.default.createElement("div",{"aria-label":i,"aria-live":o,"aria-roledescription":t,className:r,role:n},m.map(({element:c,key:p})=>typeof c=="string"?_react2.default.createElement("div",{"aria-atomic":!0,className:s,key:p},c):_react2.default.createElement(_react.Fragment,{key:p},c)))}var z=Se;var{usePonyfill:Ee}=_botframeworkwebchatapi.hooks,Re="polite",Pe=1e3,Le=({Provider:e})=>{let i=({"aria-label":o,"aria-live":t=Re,"aria-roledescription":r,children:n,className:s,fadeAfter:m=Pe,role:c,textElementClassName:p})=>{let[{clearTimeout:l,setTimeout:_}]=Ee(),[w,x]=_react.useState.call(void 0, []),V=_usereffrom.useRefFrom.call(void 0, m),d=_react.useRef.call(void 0, ),y=_react.useRef.call(void 0, 1),T=_usereffrom.useRefFrom.call(void 0, w),O=_react.useCallback.call(void 0, ()=>{T.current.length&&(d.current&&l(d.current),d.current=_(()=>{T.current.length&&x([])},V.current))},[l,V,d,x,_,T]);_react.useEffect.call(void 0, ()=>()=>d.current&&l(d.current),[l,d]);let N=_react.useCallback.call(void 0, ne=>{let ae=y.current;y.current=y.current+1,x(ie=>[...ie,{element:ne,key:ae}])},[y,x]),j=_react.useMemo.call(void 0, ()=>Object.freeze([Object.freeze(w)]),[w]),te=_react.useMemo.call(void 0, ()=>({markAllAsRendered:O,queueStaticElement:N,staticElementEntriesState:j}),[O,N,j]);return _react2.default.createElement(e,{value:te},_react2.default.createElement(z,{"aria-label":o,"aria-live":t,"aria-roledescription":r,className:s,role:c,textElementClassName:p}),n)};return i.displayName="LiveRegionTwinComposer",_react.memo.call(void 0, i)},K=Le;var P=_react.createContext.call(void 0, new Proxy({},{get(e,i){throw new Error(`botframework-webchat: LiveRegionTwinContext.${i} can only be used inside of <LiveRegionTwinComposer>.`)}})),Ie=K(P),Ze= exports.h =Ie;function h(){return _react.useContext.call(void 0, P)}function S(){return h().queueStaticElement}function Q(e,i){let o=_usereffrom.useRefFrom.call(void 0, e),t=S();_react.useMemo.call(void 0, ()=>{let r=o==null?void 0:o.current();r&&t(r)},[...i,o,t])}var _createinstance = require('@emotion/css/create-instance'); var _createinstance2 = _interopRequireDefault(_createinstance);var _mathrandom = require('math-random'); var _mathrandom2 = _interopRequireDefault(_mathrandom);function L(){return _mathrandom2.default.call(void 0, ).toString(26).substr(2,5).replace(/\d/gu,e=>String.fromCharCode(e.charCodeAt(0)+65))}var v=[];function A(e,i){let o=_react.useMemo.call(void 0, ()=>{let t=v.find(({sheet:n})=>n.nonce===e&&n.container===i),r=t!=null?t:_createinstance2.default.call(void 0, {container:i,key:`webchat--css-${L()}`,nonce:e});return v.push(r),r},[i,e]);return _react.useEffect.call(void 0, ()=>()=>{var r;let t=v.lastIndexOf(o);if(~t&&v.splice(t,1),!v.includes(o)&&((r=o.sheet)!=null&&r.tags))for(let n of o.sheet.tags)n.remove()},[o]),o}var{useStyleOptions:Ke}=_botframeworkwebchatapi.hooks,Qe=({Provider:e})=>({children:i,nonce:o})=>{let[{stylesRoot:t}]=Ke(),r=A(o,t),n=_react.useCallback.call(void 0, m=>r.css(m),[r]),s=_usereffrom.useRefFrom.call(void 0, n);return _react2.default.createElement(e,{value:s},n&&i)},U=Qe;var X=_react.createContext.call(void 0, new Proxy(_react.createRef.call(void 0, ),{get(){throw new Error("StyleToEmotionObjectContext was used without StyleToEmotionObjectComposer")}}));function We(){return _react.useContext.call(void 0, X).current}var G=_react.memo.call(void 0, U(X));G.displayName="StyleToEmotionObjectComposer";var a={"icon--copy-code":"w61aa0a_icon--copy-code","direction--follow":"w61aa0a_direction--follow","icon--thumb-up-filled":"w61aa0a_icon--thumb-up-filled","icon--thumb-down-filled":"w61aa0a_icon--thumb-down-filled","icon--microphone":"w61aa0a_icon--microphone","component-icon":"w61aa0a_component-icon","appearance--text":"w61aa0a_appearance--text","icon--copy":"w61aa0a_icon--copy","icon--attachment-checkmark":"w61aa0a_icon--attachment-checkmark","icon--chevron":"w61aa0a_icon--chevron","icon--copy-code-checkmark":"w61aa0a_icon--copy-code-checkmark","icon--view-code":"w61aa0a_icon--view-code","icon--thumb-up":"w61aa0a_icon--thumb-up","icon--unchecked-circle":"w61aa0a_icon--unchecked-circle","direction--rtl":"w61aa0a_direction--rtl","icon--attachment":"w61aa0a_icon--attachment","icon--thumb-down":"w61aa0a_icon--thumb-down","icon--download":"w61aa0a_icon--download","icon--dismiss":"w61aa0a_icon--dismiss","icon--send":"w61aa0a_icon--send","icon--checkmark-circle":"w61aa0a_icon--checkmark-circle"},I=a,ht=a["icon--copy-code"];var ut=a["direction--follow"];var wt=a["icon--thumb-up-filled"];var ft=a["icon--thumb-down-filled"];var gt=a["icon--microphone"];var vt=a["component-icon"];var _t=a["appearance--text"];var xt=a["icon--copy"];var yt=a["icon--attachment-checkmark"];var Ct=a["icon--chevron"];var St=a["icon--copy-code-checkmark"];var bt=a["icon--view-code"];var Tt=a["icon--thumb-up"];var kt=a["icon--unchecked-circle"];var Mt=a["direction--rtl"];var Et=a["icon--attachment"];var Rt=a["icon--thumb-down"];var Pt=a["icon--download"];var Lt=a["icon--dismiss"];var At=a["icon--send"];var It=a["icon--checkmark-circle"];var ee=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {"aria-hidden":_valibot.optional.call(void 0, _valibot.literal.call(void 0, "true")),"aria-label":_valibot.optional.call(void 0, _valibot.string.call(void 0, )),className:_valibot.optional.call(void 0, _valibot.string.call(void 0, )),role:_valibot.optional.call(void 0, _valibot.string.call(void 0, ))}),_valibot.readonly.call(void 0, ));function no(e){let{className:i,"aria-hidden":o,"aria-label":t,role:r}=_chunkTMUNLKZWjs.h.call(void 0, ee,e),n=_chunkTMUNLKZWjs.k.call(void 0, I);return _react2.default.createElement("div",{"aria-hidden":o,"aria-label":t,className:_classnames2.default.call(void 0, n["component-icon"],i),role:r})}var{component:oe,modifierPropsSchema:ao}=k(I,["appearance","direction","icon"],no);oe.displayName="ComponentIcon";var io=_valibot.pipe.call(void 0, _valibot.object.call(void 0, {...ee.entries,...ao.entries}),_valibot.readonly.call(void 0, )),ro= exports.e =_react.memo.call(void 0, oe);exports.a = We; exports.b = G; exports.c = k; exports.d = io; exports.e = ro; exports.f = ue; exports.g = we; exports.h = Ze; exports.i = S; exports.j = Q;
|
|
2
|
-
//# sourceMappingURL=chunk-2R7BJ63Z.js.map
|