wimui 0.76.3 → 0.77.0
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/ai-core.d.ts +1 -0
- package/dist/ai.cjs +1 -1
- package/dist/ai.js +11 -10
- package/dist/components/ai/AILabel/AILabel.cjs +2 -0
- package/dist/components/ai/AILabel/AILabel.d.ts +68 -0
- package/dist/components/ai/AILabel/AILabel.js +51 -0
- package/dist/components/ai/AILabel/ai-label.module.cjs +2 -0
- package/dist/components/ai/AILabel/ai-label.module.js +15 -0
- package/dist/components/ai/MarkdownRenderer/MarkdownRenderer.cjs +1 -1
- package/dist/components/ai/MarkdownRenderer/MarkdownRenderer.js +11 -11
- package/dist/components/data-display/FAQSection/FAQSection.cjs +1 -1
- package/dist/components/data-display/FAQSection/FAQSection.js +10 -10
- package/dist/components/layout/PageHeader/PageHeader.cjs +2 -0
- package/dist/components/layout/PageHeader/PageHeader.d.ts +51 -0
- package/dist/components/layout/PageHeader/PageHeader.js +55 -0
- package/dist/components/layout/PageHeader/page-header.module.cjs +2 -0
- package/dist/components/layout/PageHeader/page-header.module.js +16 -0
- package/dist/components/overlay/Popover/Popover.cjs +1 -1
- package/dist/components/overlay/Popover/Popover.js +2 -2
- package/dist/i18n/generated/ai.cjs +2 -0
- package/dist/i18n/generated/ai.d.ts +3 -0
- package/dist/i18n/generated/ai.js +21 -0
- package/dist/i18n/generated/components.d.ts +1 -1
- package/dist/i18n/generated/keys.d.ts +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +175 -173
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +1 -0
- package/dist/layout.js +2 -1
- package/dist/llms/AILabel.md +27 -0
- package/dist/llms/PageHeader.md +30 -0
- package/dist/llms-full.txt +22 -1
- package/dist/llms.txt +3 -1
- package/dist/locales/en/components.json +3 -1
- package/dist/locales/ja/components.json +3 -1
- package/dist/locales/pt/components.json +3 -1
- package/dist/styles.css +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +5 -5
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +5 -5
- package/package.json +5 -5
package/dist/ai-core.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './components/ai/PromptInput/PromptInput.js';
|
|
|
2
2
|
export * from './components/ai/ThoughtProcess/ThoughtProcess.js';
|
|
3
3
|
export * from './components/ai/AIResponseFeedback/AIResponseFeedback.js';
|
|
4
4
|
export * from './components/ai/SourceCitation/SourceCitation.js';
|
|
5
|
+
export * from './components/ai/AILabel/AILabel.js';
|
|
5
6
|
export * from './components/ai/CodeBlock/CodeBlock.js';
|
|
6
7
|
export * from './components/ai/Terminal/Terminal.js';
|
|
7
8
|
export * from './components/ai/AgentStatus/AgentStatus.js';
|
package/dist/ai.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./components/ai/PromptInput/PromptInput.cjs"),t=require("./components/ai/ThoughtProcess/ThoughtProcess.cjs"),n=require("./components/ai/AIResponseFeedback/AIResponseFeedback.cjs"),r=require("./components/ai/SourceCitation/SourceCitation.cjs"),i=require("./components/ai/CodeBlock/CodeBlock.cjs"),
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./components/ai/PromptInput/PromptInput.cjs"),t=require("./components/ai/ThoughtProcess/ThoughtProcess.cjs"),n=require("./components/ai/AIResponseFeedback/AIResponseFeedback.cjs"),r=require("./components/ai/SourceCitation/SourceCitation.cjs"),i=require("./components/ai/AILabel/AILabel.cjs"),a=require("./components/ai/CodeBlock/CodeBlock.cjs"),o=require("./components/ai/Terminal/Terminal.cjs"),s=require("./components/ai/AgentStatus/AgentStatus.cjs"),c=require("./components/ai/VoiceVisualizer/VoiceVisualizer.cjs"),l=require("./components/ai/ModelSelector/ModelSelector.cjs"),u=require("./components/ai/ThreadList/ThreadList.cjs"),d=require("./components/ai/UsageMeter/UsageMeter.cjs"),f=require("./components/ai/ChatUI/ChatUI.cjs"),p=require("./components/ai/ArtifactsOverlay/ArtifactsOverlay.cjs");exports.AILabel=i.AILabel,exports.AIResponseFeedback=n.AIResponseFeedback,exports.AgentStatus=s.AgentStatus,exports.ArtifactsOverlay=p.ArtifactsOverlay,exports.ChatAvatar=f.ChatAvatar,exports.ChatContainer=f.ChatContainer,exports.ChatInput=f.ChatInput,exports.ChatInputArea=f.ChatInputArea,exports.ChatMessage=f.ChatMessage,exports.ChatMessageList=f.ChatMessageList,exports.ChatSystemMessage=f.ChatSystemMessage,exports.ChatToolCall=f.ChatToolCall,exports.CodeBlock=a.CodeBlock,exports.ConversationList=u.ConversationList,exports.ModelSelector=l.ModelSelector,exports.PromptInput=e.PromptInput,exports.SourceCitation=r.SourceCitation,exports.SourceCitationList=r.SourceCitationList,exports.Terminal=o.Terminal,exports.ThoughtProcess=t.ThoughtProcess,exports.ThoughtStep=t.ThoughtStep,exports.ThreadList=u.ThreadList,exports.TokenCounter=d.TokenCounter,exports.UsageMeter=d.UsageMeter,exports.VoiceVisualizer=c.VoiceVisualizer;
|
package/dist/ai.js
CHANGED
|
@@ -3,13 +3,14 @@ import { PromptInput as e } from "./components/ai/PromptInput/PromptInput.js";
|
|
|
3
3
|
import { ThoughtProcess as t, ThoughtStep as n } from "./components/ai/ThoughtProcess/ThoughtProcess.js";
|
|
4
4
|
import { AIResponseFeedback as r } from "./components/ai/AIResponseFeedback/AIResponseFeedback.js";
|
|
5
5
|
import { SourceCitation as i, SourceCitationList as a } from "./components/ai/SourceCitation/SourceCitation.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
|
|
6
|
+
import { AILabel as o } from "./components/ai/AILabel/AILabel.js";
|
|
7
|
+
import { CodeBlock as s } from "./components/ai/CodeBlock/CodeBlock.js";
|
|
8
|
+
import { Terminal as c } from "./components/ai/Terminal/Terminal.js";
|
|
9
|
+
import { AgentStatus as l } from "./components/ai/AgentStatus/AgentStatus.js";
|
|
10
|
+
import { VoiceVisualizer as u } from "./components/ai/VoiceVisualizer/VoiceVisualizer.js";
|
|
11
|
+
import { ModelSelector as d } from "./components/ai/ModelSelector/ModelSelector.js";
|
|
12
|
+
import { ConversationList as f, ThreadList as p } from "./components/ai/ThreadList/ThreadList.js";
|
|
13
|
+
import { TokenCounter as m, UsageMeter as h } from "./components/ai/UsageMeter/UsageMeter.js";
|
|
14
|
+
import { ChatAvatar as g, ChatContainer as _, ChatInput as v, ChatInputArea as y, ChatMessage as b, ChatMessageList as x, ChatSystemMessage as S, ChatToolCall as C } from "./components/ai/ChatUI/ChatUI.js";
|
|
15
|
+
import { ArtifactsOverlay as w } from "./components/ai/ArtifactsOverlay/ArtifactsOverlay.js";
|
|
16
|
+
export { o as AILabel, r as AIResponseFeedback, l as AgentStatus, w as ArtifactsOverlay, g as ChatAvatar, _ as ChatContainer, v as ChatInput, y as ChatInputArea, b as ChatMessage, x as ChatMessageList, S as ChatSystemMessage, C as ChatToolCall, s as CodeBlock, f as ConversationList, d as ModelSelector, e as PromptInput, i as SourceCitation, a as SourceCitationList, c as Terminal, t as ThoughtProcess, n as ThoughtStep, p as ThreadList, m as TokenCounter, h as UsageMeter, u as VoiceVisualizer };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../overlay/Popover/Popover.cjs"),r=require("../../../i18n/generated/ai.cjs"),i=require("./ai-label.module.cjs");let a=require("react");a=e.__toESM(a,1);let o=require("classnames");o=e.__toESM(o,1);let s=require("react/jsx-runtime");var c=a.default.forwardRef(({children:e,title:c,size:l=`md`,placement:u=`bottom-start`,defaultOpen:d,open:f,onOpenChange:p,className:m,"aria-label":h,...g},_)=>{let{t:v}=t.useWimTranslation(r.aiNs),y=a.default.useId(),b=v(`ai_label.name`);return(0,s.jsxs)(n.Popover,{defaultOpen:d,open:f,onOpenChange:p,placement:u,className:i.default.anchor,children:[(0,s.jsx)(n.PopoverTrigger,{asChild:!0,children:(0,s.jsx)(`button`,{ref:_,type:`button`,className:(0,o.default)(`wim-ai-label`,i.default.root,i.default[l],m),...g,"aria-label":h??b,children:(0,s.jsx)(`span`,{className:i.default.mark,"data-part":`mark`,"aria-hidden":`true`,children:v(`ai_label.text`)})})}),(0,s.jsxs)(n.PopoverContent,{className:i.default.content,"data-part":`content`,"aria-labelledby":y,children:[(0,s.jsx)(`p`,{id:y,className:i.default.title,"data-part":`title`,children:c??b}),(0,s.jsx)(`div`,{className:i.default.body,children:e})]})]})});c.displayName=`AILabel`,exports.AILabel=c;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { Placement } from '@floating-ui/react';
|
|
3
|
+
import { ComponentSizeBasic } from '../../../types/tokens.js';
|
|
4
|
+
export type AILabelProps = Omit<React.ComponentPropsWithoutRef<"button">, "children" | "title" | "type"> & {
|
|
5
|
+
/**
|
|
6
|
+
* What the AI did, shown when the label is pressed — for example which model
|
|
7
|
+
* produced the value, from what, and how to check or replace it.
|
|
8
|
+
*/
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Heading of the explanation. Defaults to the localized "AI-generated".
|
|
12
|
+
*/
|
|
13
|
+
title?: ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Size of the mark. `sm` fits inside a field or a table cell; `md` sits next
|
|
16
|
+
* to a heading or in the corner of a card.
|
|
17
|
+
* @default "md"
|
|
18
|
+
*/
|
|
19
|
+
size?: ComponentSizeBasic;
|
|
20
|
+
/**
|
|
21
|
+
* Preferred placement of the explanation.
|
|
22
|
+
* @default "bottom-start"
|
|
23
|
+
*/
|
|
24
|
+
placement?: Placement;
|
|
25
|
+
/** Opens the explanation on the first render (uncontrolled). */
|
|
26
|
+
defaultOpen?: boolean;
|
|
27
|
+
/** Controls whether the explanation is open. */
|
|
28
|
+
open?: boolean;
|
|
29
|
+
/** Called when the explanation opens or closes. */
|
|
30
|
+
onOpenChange?: (open: boolean) => void;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* AILabel marks a value or a block as produced by AI. It is a small button
|
|
34
|
+
* that reads "AI"; pressing it opens an explanation the app provides.
|
|
35
|
+
*
|
|
36
|
+
* Composition Contract:
|
|
37
|
+
* - Managed by: App consumption (the explanation is the app's content)
|
|
38
|
+
* - Portal: The explanation renders through Popover (FloatingPortal)
|
|
39
|
+
* - Scroll lock: No
|
|
40
|
+
*/
|
|
41
|
+
export declare const AILabel: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "title" | "children" | "type"> & {
|
|
42
|
+
/**
|
|
43
|
+
* What the AI did, shown when the label is pressed — for example which model
|
|
44
|
+
* produced the value, from what, and how to check or replace it.
|
|
45
|
+
*/
|
|
46
|
+
children: ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* Heading of the explanation. Defaults to the localized "AI-generated".
|
|
49
|
+
*/
|
|
50
|
+
title?: ReactNode;
|
|
51
|
+
/**
|
|
52
|
+
* Size of the mark. `sm` fits inside a field or a table cell; `md` sits next
|
|
53
|
+
* to a heading or in the corner of a card.
|
|
54
|
+
* @default "md"
|
|
55
|
+
*/
|
|
56
|
+
size?: ComponentSizeBasic;
|
|
57
|
+
/**
|
|
58
|
+
* Preferred placement of the explanation.
|
|
59
|
+
* @default "bottom-start"
|
|
60
|
+
*/
|
|
61
|
+
placement?: Placement;
|
|
62
|
+
/** Opens the explanation on the first render (uncontrolled). */
|
|
63
|
+
defaultOpen?: boolean;
|
|
64
|
+
/** Controls whether the explanation is open. */
|
|
65
|
+
open?: boolean;
|
|
66
|
+
/** Called when the explanation opens or closes. */
|
|
67
|
+
onOpenChange?: (open: boolean) => void;
|
|
68
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useWimTranslation as e } from "../../../i18n/useWimTranslation.js";
|
|
3
|
+
import { Popover as t, PopoverContent as n, PopoverTrigger as r } from "../../overlay/Popover/Popover.js";
|
|
4
|
+
import { aiNs as i } from "../../../i18n/generated/ai.js";
|
|
5
|
+
import a from "./ai-label.module.js";
|
|
6
|
+
import o from "react";
|
|
7
|
+
import s from "classnames";
|
|
8
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
9
|
+
//#region src/components/ai/AILabel/AILabel.tsx
|
|
10
|
+
var u = o.forwardRef(({ children: u, title: d, size: f = "md", placement: p = "bottom-start", defaultOpen: m, open: h, onOpenChange: g, className: _, "aria-label": v, ...y }, b) => {
|
|
11
|
+
let { t: x } = e(i), S = o.useId(), C = x("ai_label.name");
|
|
12
|
+
return /* @__PURE__ */ l(t, {
|
|
13
|
+
defaultOpen: m,
|
|
14
|
+
open: h,
|
|
15
|
+
onOpenChange: g,
|
|
16
|
+
placement: p,
|
|
17
|
+
className: a.anchor,
|
|
18
|
+
children: [/* @__PURE__ */ c(r, {
|
|
19
|
+
asChild: !0,
|
|
20
|
+
children: /* @__PURE__ */ c("button", {
|
|
21
|
+
ref: b,
|
|
22
|
+
type: "button",
|
|
23
|
+
className: s("wim-ai-label", a.root, a[f], _),
|
|
24
|
+
...y,
|
|
25
|
+
"aria-label": v ?? C,
|
|
26
|
+
children: /* @__PURE__ */ c("span", {
|
|
27
|
+
className: a.mark,
|
|
28
|
+
"data-part": "mark",
|
|
29
|
+
"aria-hidden": "true",
|
|
30
|
+
children: x("ai_label.text")
|
|
31
|
+
})
|
|
32
|
+
})
|
|
33
|
+
}), /* @__PURE__ */ l(n, {
|
|
34
|
+
className: a.content,
|
|
35
|
+
"data-part": "content",
|
|
36
|
+
"aria-labelledby": S,
|
|
37
|
+
children: [/* @__PURE__ */ c("p", {
|
|
38
|
+
id: S,
|
|
39
|
+
className: a.title,
|
|
40
|
+
"data-part": "title",
|
|
41
|
+
children: d ?? C
|
|
42
|
+
}), /* @__PURE__ */ c("div", {
|
|
43
|
+
className: a.body,
|
|
44
|
+
children: u
|
|
45
|
+
})]
|
|
46
|
+
})]
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
u.displayName = "AILabel";
|
|
50
|
+
//#endregion
|
|
51
|
+
export { u as AILabel };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var e=`_anchor_1lo6m_4`,t=`_root_1lo6m_8`,n=`_mark_1lo6m_25`,r=`_sm_1lo6m_50`,i=`_md_1lo6m_54`,a=`_lg_1lo6m_58`,o=`_content_1lo6m_62`,s=`_title_1lo6m_66`,c=`_body_1lo6m_71`,l={anchor:e,root:t,mark:n,sm:r,md:i,lg:a,content:o,title:s,body:c};exports.anchor=e,exports.body=c,exports.content=o,exports.default=l,exports.lg=a,exports.mark=n,exports.md=i,exports.root=t,exports.sm=r,exports.title=s;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region src/components/ai/AILabel/ai-label.module.scss
|
|
3
|
+
var e = "_anchor_1lo6m_4", t = "_root_1lo6m_8", n = "_mark_1lo6m_25", r = "_sm_1lo6m_50", i = "_md_1lo6m_54", a = "_lg_1lo6m_58", o = "_content_1lo6m_62", s = "_title_1lo6m_66", c = "_body_1lo6m_71", l = {
|
|
4
|
+
anchor: e,
|
|
5
|
+
root: t,
|
|
6
|
+
mark: n,
|
|
7
|
+
sm: r,
|
|
8
|
+
md: i,
|
|
9
|
+
lg: a,
|
|
10
|
+
content: o,
|
|
11
|
+
title: s,
|
|
12
|
+
body: c
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { e as anchor, c as body, o as content, l as default, a as lg, n as mark, i as md, t as root, r as sm, s as title };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../typography/Title/Title.cjs"),r=require("../../../i18n/generated/form.cjs"),i=require("../../typography/Text/Text.cjs"),a=require("../../navigation/Link/Link.cjs"),o=require("../../typography/Blockquote/Blockquote.cjs"),s=require("../CodeBlock/CodeBlock.cjs"),c=require("./markdown-renderer.module.cjs");let l=require("react");l=e.__toESM(l,1);let u=require("classnames");u=e.__toESM(u,1);let d=require("react/jsx-runtime"),f=require("react-markdown");f=e.__toESM(f,1);let p=require("remark-gfm");p=e.__toESM(p,1);var m=[`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`];function h(e,t){let n=m.indexOf(t);return m[Math.max(0,n-(e-1))]}var g=({content:e,baseLevel:l=`2xl`,className:m})=>{let{t:g}=t.useWimTranslation(r.formNs);return(0,d.jsx)(`div`,{className:(0,u.default)(`wim-markdown-renderer`,c.default.root,m),children:(0,d.jsx)(f.default,{remarkPlugins:[p.default],components:{h1:({children:e})=>(0,d.jsx)(n.Title,{tag:`h1`,size:h(1,l),className:c.default.heading,children:e}),h2:({children:e})=>(0,d.jsx)(n.Title,{tag:`h2`,size:h(2,l),className:c.default.heading,children:e}),h3:({children:e})=>(0,d.jsx)(n.Title,{tag:`h3`,size:h(3,l),className:c.default.heading,children:e}),h4:({children:e})=>(0,d.jsx)(n.Title,{tag:`h4`,size:h(4,l),className:c.default.heading,children:e}),p:({children:e})=>(0,d.jsx)(i.Text,{className:c.default.paragraph,children:e}),a:({href:e,children:t})=>(0,d.jsx)(a.Link,{href:e,children:t}),blockquote:({children:e})=>(0,d.jsx)(o.Blockquote,{children:e}),ul:({children:e})=>(0,d.jsx)(`ul`,{className:c.default.list,children:e}),ol:({children:e})=>(0,d.jsx)(`ol`,{className:c.default.list,children:e}),li:({children:e})=>(0,d.jsx)(`li`,{className:c.default.listItem,children:e}),code({className:e,children:t,...n}){let r=/language-(\w+)/.exec(e||``);return r?(0,d.jsx)(s.CodeBlock,{code:String(t).replace(/\n$/,``),language:r[1],className:c.default.codeBlock}):(0,d.jsx)(`code`,{className:c.default.inlineCode,...n,children:t})},table:({children:e})=>(0,d.jsx)(`div`,{className:c.default.tableWrapper,children:(0,d.jsx)(`table`,{className:c.default.table,children:e})}),th:({children:e})=>(0,d.jsx)(`th`,{className:c.default.th,children:e}),td:({children:e})=>(0,d.jsx)(`td`,{className:c.default.td,children:e}),input:({type:e,checked:t,disabled:n})=>e===`checkbox`?(0,d.jsx)(`input`,{type:`checkbox`,checked:t,disabled:n,readOnly:!0,"aria-label":g(t?`markdown.task_done`:`markdown.task_todo`)}):null},children:e})})};g.displayName=`MarkdownRenderer`,exports.MarkdownRenderer=g;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useWimTranslation as e } from "../../../i18n/useWimTranslation.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { Title as t } from "../../typography/Title/Title.js";
|
|
4
|
+
import { formNs as n } from "../../../i18n/generated/form.js";
|
|
5
|
+
import { Text as r } from "../../typography/Text/Text.js";
|
|
6
|
+
import { Link as i } from "../../navigation/Link/Link.js";
|
|
7
7
|
import { Blockquote as a } from "../../typography/Blockquote/Blockquote.js";
|
|
8
8
|
import { CodeBlock as o } from "../CodeBlock/CodeBlock.js";
|
|
9
9
|
import s from "./markdown-renderer.module.js";
|
|
@@ -28,41 +28,41 @@ function p(e, t) {
|
|
|
28
28
|
return f[Math.max(0, n - (e - 1))];
|
|
29
29
|
}
|
|
30
30
|
var m = ({ content: f, baseLevel: m = "2xl", className: h }) => {
|
|
31
|
-
let { t: g } = e(
|
|
31
|
+
let { t: g } = e(n);
|
|
32
32
|
return /* @__PURE__ */ l("div", {
|
|
33
33
|
className: c("wim-markdown-renderer", s.root, h),
|
|
34
34
|
children: /* @__PURE__ */ l(u, {
|
|
35
35
|
remarkPlugins: [d],
|
|
36
36
|
components: {
|
|
37
|
-
h1: ({ children: e }) => /* @__PURE__ */ l(
|
|
37
|
+
h1: ({ children: e }) => /* @__PURE__ */ l(t, {
|
|
38
38
|
tag: "h1",
|
|
39
39
|
size: p(1, m),
|
|
40
40
|
className: s.heading,
|
|
41
41
|
children: e
|
|
42
42
|
}),
|
|
43
|
-
h2: ({ children: e }) => /* @__PURE__ */ l(
|
|
43
|
+
h2: ({ children: e }) => /* @__PURE__ */ l(t, {
|
|
44
44
|
tag: "h2",
|
|
45
45
|
size: p(2, m),
|
|
46
46
|
className: s.heading,
|
|
47
47
|
children: e
|
|
48
48
|
}),
|
|
49
|
-
h3: ({ children: e }) => /* @__PURE__ */ l(
|
|
49
|
+
h3: ({ children: e }) => /* @__PURE__ */ l(t, {
|
|
50
50
|
tag: "h3",
|
|
51
51
|
size: p(3, m),
|
|
52
52
|
className: s.heading,
|
|
53
53
|
children: e
|
|
54
54
|
}),
|
|
55
|
-
h4: ({ children: e }) => /* @__PURE__ */ l(
|
|
55
|
+
h4: ({ children: e }) => /* @__PURE__ */ l(t, {
|
|
56
56
|
tag: "h4",
|
|
57
57
|
size: p(4, m),
|
|
58
58
|
className: s.heading,
|
|
59
59
|
children: e
|
|
60
60
|
}),
|
|
61
|
-
p: ({ children: e }) => /* @__PURE__ */ l(
|
|
61
|
+
p: ({ children: e }) => /* @__PURE__ */ l(r, {
|
|
62
62
|
className: s.paragraph,
|
|
63
63
|
children: e
|
|
64
64
|
}),
|
|
65
|
-
a: ({ href: e, children: t }) => /* @__PURE__ */ l(
|
|
65
|
+
a: ({ href: e, children: t }) => /* @__PURE__ */ l(i, {
|
|
66
66
|
href: e,
|
|
67
67
|
children: t
|
|
68
68
|
}),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../typography/
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../typography/Title/Title.cjs"),n=require("../../typography/Text/Text.cjs"),r=require("../Accordion/Accordion.cjs"),i=require("./faq-section.module.cjs");let a=require("react");a=e.__toESM(a,1);let o=require("classnames");o=e.__toESM(o,1);let s=require("react/jsx-runtime");var c=({items:e,title:a,description:c,layout:l=`top`,accordionProps:u,className:d,"aria-label":f,"aria-labelledby":p})=>{let m=!!(a||c);return(0,s.jsx)(`section`,{className:(0,o.default)(`wim-faq-section`,i.default.root,i.default[`layout-${l}`],d),"aria-label":p?void 0:f,"aria-labelledby":p,children:(0,s.jsxs)(`div`,{className:i.default.layout,children:[m&&(0,s.jsxs)(`div`,{className:i.default.header,children:[a&&(0,s.jsx)(t.Title,{tag:`h2`,size:`xl`,className:i.default.title,children:a}),c&&(0,s.jsx)(n.Text,{content:c,color:`text-secondary`,className:i.default.description})]}),(0,s.jsx)(`div`,{className:i.default.content,children:(0,s.jsx)(r.Accordion,{type:`multiple`,collapsible:!0,...u,className:u?.className,children:e.map((e,t)=>(0,s.jsxs)(r.Accordion.Item,{value:`faq-item-${t}`,children:[(0,s.jsx)(r.Accordion.Trigger,{children:e.question}),(0,s.jsx)(r.Accordion.Content,{children:e.answer})]},t))})})]})})};exports.FAQSection=c;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Title as e } from "../../typography/Title/Title.js";
|
|
3
|
+
import { Text as t } from "../../typography/Text/Text.js";
|
|
4
|
+
import { Accordion as n } from "../Accordion/Accordion.js";
|
|
5
5
|
import r from "./faq-section.module.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import i from "classnames";
|
|
@@ -17,27 +17,27 @@ var s = ({ items: s, title: c, description: l, layout: u = "top", accordionProps
|
|
|
17
17
|
className: r.layout,
|
|
18
18
|
children: [h && /* @__PURE__ */ o("div", {
|
|
19
19
|
className: r.header,
|
|
20
|
-
children: [c && /* @__PURE__ */ a(
|
|
20
|
+
children: [c && /* @__PURE__ */ a(e, {
|
|
21
21
|
tag: "h2",
|
|
22
22
|
size: "xl",
|
|
23
23
|
className: r.title,
|
|
24
24
|
children: c
|
|
25
|
-
}), l && /* @__PURE__ */ a(
|
|
25
|
+
}), l && /* @__PURE__ */ a(t, {
|
|
26
26
|
content: l,
|
|
27
27
|
color: "text-secondary",
|
|
28
28
|
className: r.description
|
|
29
29
|
})]
|
|
30
30
|
}), /* @__PURE__ */ a("div", {
|
|
31
31
|
className: r.content,
|
|
32
|
-
children: /* @__PURE__ */ a(
|
|
32
|
+
children: /* @__PURE__ */ a(n, {
|
|
33
33
|
type: "multiple",
|
|
34
34
|
collapsible: !0,
|
|
35
35
|
...d,
|
|
36
36
|
className: d?.className,
|
|
37
|
-
children: s.map((e,
|
|
38
|
-
value: `faq-item-${
|
|
39
|
-
children: [/* @__PURE__ */ a(
|
|
40
|
-
},
|
|
37
|
+
children: s.map((e, t) => /* @__PURE__ */ o(n.Item, {
|
|
38
|
+
value: `faq-item-${t}`,
|
|
39
|
+
children: [/* @__PURE__ */ a(n.Trigger, { children: e.question }), /* @__PURE__ */ a(n.Content, { children: e.answer })]
|
|
40
|
+
}, t))
|
|
41
41
|
})
|
|
42
42
|
})]
|
|
43
43
|
})
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../typography/Title/Title.cjs"),n=require("./page-header.module.cjs");let r=require("react");r=e.__toESM(r,1);let i=require("classnames");i=e.__toESM(i,1);let a=require("react/jsx-runtime");var o=r.default.forwardRef(({title:e,breadcrumb:r,status:o,description:s,actions:c,tabs:l,className:u,...d},f)=>(0,a.jsxs)(`div`,{ref:f,className:(0,i.default)(`wim-page-header`,n.default.root,u),...d,children:[r!=null&&(0,a.jsx)(`div`,{className:n.default.breadcrumb,"data-part":`breadcrumb`,children:r}),(0,a.jsxs)(`div`,{className:n.default.main,children:[(0,a.jsxs)(`div`,{className:n.default.heading,children:[(0,a.jsxs)(`div`,{className:n.default.titleRow,children:[(0,a.jsx)(t.Title,{tag:`h1`,size:`lg`,className:n.default.title,"data-part":`title`,children:e}),o!=null&&(0,a.jsx)(`div`,{className:n.default.status,"data-part":`status`,children:o})]}),s!=null&&(0,a.jsx)(`div`,{className:n.default.description,"data-part":`description`,children:s})]}),c!=null&&(0,a.jsx)(`div`,{className:n.default.actions,"data-part":`actions`,children:c})]}),l!=null&&(0,a.jsx)(`div`,{className:n.default.tabs,"data-part":`tabs`,children:l})]}));o.displayName=`PageHeader`,exports.PageHeader=o;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type PageHeaderProps = Omit<React.ComponentPropsWithoutRef<"div">, "title"> & {
|
|
3
|
+
/**
|
|
4
|
+
* The page title. Always rendered as the page's `h1` at one fixed size; a
|
|
5
|
+
* long title wraps instead of being cut.
|
|
6
|
+
*/
|
|
7
|
+
title: React.ReactNode;
|
|
8
|
+
/** Breadcrumb shown above the title (usually a `Breadcrumb`). */
|
|
9
|
+
breadcrumb?: React.ReactNode;
|
|
10
|
+
/** A short status next to the title, such as a `Badge`. */
|
|
11
|
+
status?: React.ReactNode;
|
|
12
|
+
/** One or two lines under the title that say what is on the page. */
|
|
13
|
+
description?: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Page actions, such as `Button`s. They sit to the right of the title and
|
|
16
|
+
* move to their own line under it when the header is too narrow.
|
|
17
|
+
*/
|
|
18
|
+
actions?: React.ReactNode;
|
|
19
|
+
/** Navigation between the page's views, such as `TabNavigation`, at the bottom. */
|
|
20
|
+
tabs?: React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* PageHeader is the head of a page: breadcrumb, title, status, description,
|
|
24
|
+
* actions and tabs in a fixed order and spacing. Use one per page.
|
|
25
|
+
*
|
|
26
|
+
* Composition Contract:
|
|
27
|
+
* - Managed by: App consumption (one per page, inside the main region)
|
|
28
|
+
* - Landmark: None. The root is a `div`, not `header`, so it never becomes a
|
|
29
|
+
* second banner next to the app's `Header`
|
|
30
|
+
* - Scroll lock: No
|
|
31
|
+
*/
|
|
32
|
+
export declare const PageHeader: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title"> & {
|
|
33
|
+
/**
|
|
34
|
+
* The page title. Always rendered as the page's `h1` at one fixed size; a
|
|
35
|
+
* long title wraps instead of being cut.
|
|
36
|
+
*/
|
|
37
|
+
title: React.ReactNode;
|
|
38
|
+
/** Breadcrumb shown above the title (usually a `Breadcrumb`). */
|
|
39
|
+
breadcrumb?: React.ReactNode;
|
|
40
|
+
/** A short status next to the title, such as a `Badge`. */
|
|
41
|
+
status?: React.ReactNode;
|
|
42
|
+
/** One or two lines under the title that say what is on the page. */
|
|
43
|
+
description?: React.ReactNode;
|
|
44
|
+
/**
|
|
45
|
+
* Page actions, such as `Button`s. They sit to the right of the title and
|
|
46
|
+
* move to their own line under it when the header is too narrow.
|
|
47
|
+
*/
|
|
48
|
+
actions?: React.ReactNode;
|
|
49
|
+
/** Navigation between the page's views, such as `TabNavigation`, at the bottom. */
|
|
50
|
+
tabs?: React.ReactNode;
|
|
51
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Title as e } from "../../typography/Title/Title.js";
|
|
3
|
+
import t from "./page-header.module.js";
|
|
4
|
+
import n from "react";
|
|
5
|
+
import r from "classnames";
|
|
6
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
7
|
+
//#region src/components/layout/PageHeader/PageHeader.tsx
|
|
8
|
+
var o = n.forwardRef(({ title: n, breadcrumb: o, status: s, description: c, actions: l, tabs: u, className: d, ...f }, p) => /* @__PURE__ */ a("div", {
|
|
9
|
+
ref: p,
|
|
10
|
+
className: r("wim-page-header", t.root, d),
|
|
11
|
+
...f,
|
|
12
|
+
children: [
|
|
13
|
+
o != null && /* @__PURE__ */ i("div", {
|
|
14
|
+
className: t.breadcrumb,
|
|
15
|
+
"data-part": "breadcrumb",
|
|
16
|
+
children: o
|
|
17
|
+
}),
|
|
18
|
+
/* @__PURE__ */ a("div", {
|
|
19
|
+
className: t.main,
|
|
20
|
+
children: [/* @__PURE__ */ a("div", {
|
|
21
|
+
className: t.heading,
|
|
22
|
+
children: [/* @__PURE__ */ a("div", {
|
|
23
|
+
className: t.titleRow,
|
|
24
|
+
children: [/* @__PURE__ */ i(e, {
|
|
25
|
+
tag: "h1",
|
|
26
|
+
size: "lg",
|
|
27
|
+
className: t.title,
|
|
28
|
+
"data-part": "title",
|
|
29
|
+
children: n
|
|
30
|
+
}), s != null && /* @__PURE__ */ i("div", {
|
|
31
|
+
className: t.status,
|
|
32
|
+
"data-part": "status",
|
|
33
|
+
children: s
|
|
34
|
+
})]
|
|
35
|
+
}), c != null && /* @__PURE__ */ i("div", {
|
|
36
|
+
className: t.description,
|
|
37
|
+
"data-part": "description",
|
|
38
|
+
children: c
|
|
39
|
+
})]
|
|
40
|
+
}), l != null && /* @__PURE__ */ i("div", {
|
|
41
|
+
className: t.actions,
|
|
42
|
+
"data-part": "actions",
|
|
43
|
+
children: l
|
|
44
|
+
})]
|
|
45
|
+
}),
|
|
46
|
+
u != null && /* @__PURE__ */ i("div", {
|
|
47
|
+
className: t.tabs,
|
|
48
|
+
"data-part": "tabs",
|
|
49
|
+
children: u
|
|
50
|
+
})
|
|
51
|
+
]
|
|
52
|
+
}));
|
|
53
|
+
o.displayName = "PageHeader";
|
|
54
|
+
//#endregion
|
|
55
|
+
export { o as PageHeader };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var e=`_root_7qibi_3`,t=`_breadcrumb_7qibi_10`,n=`_main_7qibi_17`,r=`_heading_7qibi_27`,i=`_titleRow_7qibi_34`,a=`_title_7qibi_34`,o=`_status_7qibi_49`,s=`_description_7qibi_54`,c=`_actions_7qibi_58`,l=`_tabs_7qibi_66`,u={root:e,breadcrumb:t,main:n,heading:r,titleRow:i,title:a,status:o,description:s,actions:c,tabs:l};exports.actions=c,exports.breadcrumb=t,exports.default=u,exports.description=s,exports.heading=r,exports.main=n,exports.root=e,exports.status=o,exports.tabs=l,exports.title=a,exports.titleRow=i;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region src/components/layout/PageHeader/page-header.module.scss
|
|
3
|
+
var e = "_root_7qibi_3", t = "_breadcrumb_7qibi_10", n = "_main_7qibi_17", r = "_heading_7qibi_27", i = "_titleRow_7qibi_34", a = "_title_7qibi_34", o = "_status_7qibi_49", s = "_description_7qibi_54", c = "_actions_7qibi_58", l = "_tabs_7qibi_66", u = {
|
|
4
|
+
root: e,
|
|
5
|
+
breadcrumb: t,
|
|
6
|
+
main: n,
|
|
7
|
+
heading: r,
|
|
8
|
+
titleRow: i,
|
|
9
|
+
title: a,
|
|
10
|
+
status: o,
|
|
11
|
+
description: s,
|
|
12
|
+
actions: c,
|
|
13
|
+
tabs: l
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
export { c as actions, t as breadcrumb, u as default, s as description, r as heading, n as main, e as root, o as status, l as tabs, a as title, i as titleRow };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../../i18n/generated/common.cjs"),r=require("../../layout/Transition/Transition.cjs"),i=require("../../../icon/close.cjs"),a=require("../../media/Icon/Icon.cjs"),o=require("./popover.module.cjs"),s=require("../../_internal/useFloatingElement.cjs");let c=require("react");c=e.__toESM(c,1);let l=require("classnames");l=e.__toESM(l,1);let u=require("react/jsx-runtime"),d=require("@floating-ui/react");var f=c.default.createContext(null),p=({children:e,className:t,defaultOpen:n=!1,open:r,onOpenChange:i,placement:a=`bottom-start`,variant:d=`default`})=>{let{isOpen:p,setOpen:m,refs:h,floatingStyles:g,context:_,getReferenceProps:v,getFloatingProps:y}=s.useFloatingElement({placement:a,open:r,defaultOpen:n,onOpenChange:i,trigger:`click`}),b=()=>m(!1),x=c.default.useId(),[S,C]=c.default.useState(`wim-popover-trigger-${x}`);return(0,u.jsx)(f.Provider,{value:{open:p,onOpenChange:m,refs:h,floatingStyles:g,context:_,getReferenceProps:v,getFloatingProps:y,close:b,variant:d,triggerId:S,setTriggerId:C},children:(0,u.jsx)(`div`,{className:(0,l.default)(`wim-popover`,o.default.root,t),children:e})})},m=c.default.forwardRef(({children:e,className:t,asChild:n,...r},i)=>{let a=c.default.useContext(f);if(a==null)throw Error(`Popover components must be wrapped in <Popover />`);let s=e.ref,p=(0,d.useMergeRefs)([a.refs.setReference,i,s??null]),m=n&&c.default.isValidElement(e)?e.props.id:void 0,h=r.id??m??a.triggerId,{setTriggerId:g}=a;if(c.default.useLayoutEffect(()=>{g(h)},[h,g]),n&&c.default.isValidElement(e)){let n=e.props,i=a.getReferenceProps({
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../i18n/useWimTranslation.cjs"),n=require("../../../i18n/generated/common.cjs"),r=require("../../layout/Transition/Transition.cjs"),i=require("../../../icon/close.cjs"),a=require("../../media/Icon/Icon.cjs"),o=require("./popover.module.cjs"),s=require("../../_internal/useFloatingElement.cjs");let c=require("react");c=e.__toESM(c,1);let l=require("classnames");l=e.__toESM(l,1);let u=require("react/jsx-runtime"),d=require("@floating-ui/react");var f=c.default.createContext(null),p=({children:e,className:t,defaultOpen:n=!1,open:r,onOpenChange:i,placement:a=`bottom-start`,variant:d=`default`})=>{let{isOpen:p,setOpen:m,refs:h,floatingStyles:g,context:_,getReferenceProps:v,getFloatingProps:y}=s.useFloatingElement({placement:a,open:r,defaultOpen:n,onOpenChange:i,trigger:`click`}),b=()=>m(!1),x=c.default.useId(),[S,C]=c.default.useState(`wim-popover-trigger-${x}`);return(0,u.jsx)(f.Provider,{value:{open:p,onOpenChange:m,refs:h,floatingStyles:g,context:_,getReferenceProps:v,getFloatingProps:y,close:b,variant:d,triggerId:S,setTriggerId:C},children:(0,u.jsx)(`div`,{className:(0,l.default)(`wim-popover`,o.default.root,t),children:e})})},m=c.default.forwardRef(({children:e,className:t,asChild:n,...r},i)=>{let a=c.default.useContext(f);if(a==null)throw Error(`Popover components must be wrapped in <Popover />`);let s=c.default.isValidElement(e)?e.props.ref??e.ref:void 0,p=(0,d.useMergeRefs)([a.refs.setReference,i,s??null]),m=n&&c.default.isValidElement(e)?e.props.id:void 0,h=r.id??m??a.triggerId,{setTriggerId:g}=a;if(c.default.useLayoutEffect(()=>{g(h)},[h,g]),n&&c.default.isValidElement(e)){let n=e.props,i=a.getReferenceProps({...r,...n,ref:p,id:h,className:(0,l.default)(t,n.className)});return c.default.cloneElement(e,{...i,"data-state":a.open?`open`:`closed`})}return(0,u.jsx)(`button`,{ref:p,type:`button`,className:(0,l.default)(o.default.trigger,t),"data-state":a.open?`open`:`closed`,...a.getReferenceProps({...r,id:h}),children:e})});m.displayName=`PopoverTrigger`;var h=c.default.forwardRef(({children:e,className:t,style:n,modal:i=!1,...a},s)=>{let p=c.default.useContext(f);if(p==null)throw Error(`Popover components must be wrapped in <Popover />`);let{open:m,refs:h,floatingStyles:g,getFloatingProps:_,context:v,triggerId:y}=p,b=a[`aria-label`]!=null||a[`aria-labelledby`]!=null?a[`aria-labelledby`]:y,x=(0,d.useMergeRefs)([h.setFloating,s]),[S,C]=c.default.useState(!m);return!m&&!S&&C(!0),(0,u.jsx)(d.FloatingPortal,{children:(0,u.jsx)(r.Transition,{show:m,preset:`fade`,children:(0,u.jsx)(d.FloatingFocusManager,{context:v,modal:i,initialFocus:i||S?0:-1,children:(0,u.jsx)(`div`,{ref:x,style:{...g,...n},className:(0,l.default)(o.default.content,o.default[p.variant],t),role:`dialog`,..._(a),"aria-labelledby":b,children:e})})})})});h.displayName=`PopoverContent`;var g=({children:e,className:r,asChild:s,ariaLabel:d,...p})=>{let{t:m}=t.useWimTranslation(n.commonNs),h=d??m(`a11y.close`),g=c.default.useContext(f);if(!g)return null;let{close:_}=g,v=e=>{_(),p.onClick?.(e)};return s&&c.default.isValidElement(e)?c.default.cloneElement(e,{onClick:t=>{e.props.onClick?.(t),v(t)},className:(0,l.default)(r,e.props.className)}):(0,u.jsx)(`button`,{type:`button`,className:(0,l.default)(o.default.close,r),"aria-label":h,...p,onClick:v,children:e||(0,u.jsx)(a.Icon,{component:i.default,size:`sm`})})};exports.Popover=p,exports.PopoverClose=g,exports.PopoverContent=h,exports.PopoverTrigger=m;
|
|
@@ -41,7 +41,7 @@ var p = s.createContext(null), m = ({ children: e, className: t, defaultOpen: n
|
|
|
41
41
|
}, h = s.forwardRef(({ children: e, className: t, asChild: n, ...r }, i) => {
|
|
42
42
|
let o = s.useContext(p);
|
|
43
43
|
if (o == null) throw Error("Popover components must be wrapped in <Popover />");
|
|
44
|
-
let u = e.ref, d = f([
|
|
44
|
+
let u = s.isValidElement(e) ? e.props.ref ?? e.ref : void 0, d = f([
|
|
45
45
|
o.refs.setReference,
|
|
46
46
|
i,
|
|
47
47
|
u ?? null
|
|
@@ -50,9 +50,9 @@ var p = s.createContext(null), m = ({ children: e, className: t, defaultOpen: n
|
|
|
50
50
|
g(h);
|
|
51
51
|
}, [h, g]), n && s.isValidElement(e)) {
|
|
52
52
|
let n = e.props, i = o.getReferenceProps({
|
|
53
|
-
ref: d,
|
|
54
53
|
...r,
|
|
55
54
|
...n,
|
|
55
|
+
ref: d,
|
|
56
56
|
id: h,
|
|
57
57
|
className: c(t, n.className)
|
|
58
58
|
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
//#region src/i18n/generated/ai.ts
|
|
3
|
+
var e = {
|
|
4
|
+
name: "ai",
|
|
5
|
+
resources: {
|
|
6
|
+
en: { ai_label: {
|
|
7
|
+
text: "AI",
|
|
8
|
+
name: "AI-generated"
|
|
9
|
+
} },
|
|
10
|
+
ja: { ai_label: {
|
|
11
|
+
text: "AI",
|
|
12
|
+
name: "AI が作成"
|
|
13
|
+
} },
|
|
14
|
+
pt: { ai_label: {
|
|
15
|
+
text: "IA",
|
|
16
|
+
name: "Gerado por IA"
|
|
17
|
+
} }
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { e as aiNs };
|