@iblai/iblai-js 2.71.1 → 2.73.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/data-layer/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/data-layer/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/data-layer/playwright/index.d.ts +3 -2
- package/dist/data-layer/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/data-layer/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/playwright/index.cjs +306 -193
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.d.ts +133 -71
- package/dist/playwright/index.esm.js +293 -194
- package/dist/playwright/index.esm.js.map +1 -1
- package/dist/playwright/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/playwright/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/playwright/playwright/index.d.ts +3 -2
- package/dist/playwright/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/playwright/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/security/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/security/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/security/playwright/index.d.ts +3 -2
- package/dist/security/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/security/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/web-containers/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/web-containers/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/web-containers/playwright/index.d.ts +3 -2
- package/dist/web-containers/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/web-containers/playwright/spend-limits-helpers.d.ts +5 -4
- package/dist/web-containers/source/add-credits-modal.js +170 -24
- package/dist/web-containers/source/add-credits-modal.js.map +1 -1
- package/dist/web-containers/source/auto-recharge-modal.js +1 -1
- package/dist/web-containers/source/auto-recharge-modal.js.map +1 -1
- package/dist/web-containers/source/billing-credits.js +4 -4
- package/dist/web-containers/source/billing-credits.js.map +1 -1
- package/dist/web-containers/source/billing.js +60 -101
- package/dist/web-containers/source/billing.js.map +1 -1
- package/dist/web-containers/source/components/credit-balance.js +44 -72
- package/dist/web-containers/source/components/credit-balance.js.map +1 -1
- package/dist/web-containers/source/components/modals/contact-admin-modal.js +32 -0
- package/dist/web-containers/source/components/modals/contact-admin-modal.js.map +1 -0
- package/dist/web-containers/source/components/modals/upgrade-package-modal.js +281 -20
- package/dist/web-containers/source/components/modals/upgrade-package-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/add-credits-modal.js +170 -24
- package/dist/web-containers/source/components/profile/add-credits-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/auto-recharge-modal.js +1 -1
- package/dist/web-containers/source/components/profile/auto-recharge-modal.js.map +1 -1
- package/dist/web-containers/source/components/profile/billing-credits.js +4 -4
- package/dist/web-containers/source/components/profile/billing-credits.js.map +1 -1
- package/dist/web-containers/source/components/profile/billing.js +60 -101
- package/dist/web-containers/source/components/profile/billing.js.map +1 -1
- package/dist/web-containers/source/components/profile/pending-credit-top-up.js +202 -0
- package/dist/web-containers/source/components/profile/pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/components/profile/use-complete-pending-credit-top-up.js +68 -0
- package/dist/web-containers/source/components/profile/use-complete-pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/components/subscription-top-banner.js +119 -0
- package/dist/web-containers/source/components/subscription-top-banner.js.map +1 -0
- package/dist/web-containers/source/components/welcome-chat/welcome-message.js +23 -3
- package/dist/web-containers/source/components/welcome-chat/welcome-message.js.map +1 -1
- package/dist/web-containers/source/contact-admin-modal.js +32 -0
- package/dist/web-containers/source/contact-admin-modal.js.map +1 -0
- package/dist/web-containers/source/credit-balance.js +44 -72
- package/dist/web-containers/source/credit-balance.js.map +1 -1
- package/dist/web-containers/source/en.json.js +125 -21
- package/dist/web-containers/source/en.json.js.map +1 -1
- package/dist/web-containers/source/es.json.js +127 -23
- package/dist/web-containers/source/es.json.js.map +1 -1
- package/dist/web-containers/source/fr.json.js +125 -21
- package/dist/web-containers/source/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/en.json.js +125 -21
- package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/es.json.js +127 -23
- package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js +125 -21
- package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js +126 -22
- package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/messages/en.json.js +125 -21
- package/dist/web-containers/source/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/messages/es.json.js +127 -23
- package/dist/web-containers/source/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/messages/fr.json.js +125 -21
- package/dist/web-containers/source/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/messages/zh.json.js +126 -22
- package/dist/web-containers/source/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/modals/contact-admin-modal.js +32 -0
- package/dist/web-containers/source/modals/contact-admin-modal.js.map +1 -0
- package/dist/web-containers/source/modals/upgrade-package-modal.js +281 -20
- package/dist/web-containers/source/modals/upgrade-package-modal.js.map +1 -1
- package/dist/web-containers/source/pending-credit-top-up.js +202 -0
- package/dist/web-containers/source/pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/profile/add-credits-modal.js +170 -24
- package/dist/web-containers/source/profile/add-credits-modal.js.map +1 -1
- package/dist/web-containers/source/profile/auto-recharge-modal.js +1 -1
- package/dist/web-containers/source/profile/auto-recharge-modal.js.map +1 -1
- package/dist/web-containers/source/profile/billing-credits.js +4 -4
- package/dist/web-containers/source/profile/billing-credits.js.map +1 -1
- package/dist/web-containers/source/profile/billing.js +60 -101
- package/dist/web-containers/source/profile/billing.js.map +1 -1
- package/dist/web-containers/source/profile/pending-credit-top-up.js +202 -0
- package/dist/web-containers/source/profile/pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/profile/use-complete-pending-credit-top-up.js +68 -0
- package/dist/web-containers/source/profile/use-complete-pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/subscription-top-banner.js +119 -0
- package/dist/web-containers/source/subscription-top-banner.js.map +1 -0
- package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/upgrade-package-modal.js +281 -20
- package/dist/web-containers/source/upgrade-package-modal.js.map +1 -1
- package/dist/web-containers/source/use-complete-pending-credit-top-up.js +68 -0
- package/dist/web-containers/source/use-complete-pending-credit-top-up.js.map +1 -0
- package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/welcome-chat/welcome-message.js +23 -3
- package/dist/web-containers/source/welcome-chat/welcome-message.js.map +1 -1
- package/dist/web-containers/source/welcome-message.js +23 -3
- package/dist/web-containers/source/welcome-message.js.map +1 -1
- package/dist/web-containers/source/zh.json.js +126 -22
- package/dist/web-containers/source/zh.json.js.map +1 -1
- package/dist/web-utils/playwright/billing-tab-helpers.d.ts +61 -48
- package/dist/web-utils/playwright/credit-balance-helpers.d.ts +40 -18
- package/dist/web-utils/playwright/index.d.ts +3 -2
- package/dist/web-utils/playwright/plan-picker-helpers.d.ts +26 -0
- package/dist/web-utils/playwright/spend-limits-helpers.d.ts +5 -4
- package/package.json +5 -5
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { useRef, useId, useState, useLayoutEffect } from 'react';
|
|
3
|
+
import { useChatHost, useChatMarkdown, useChatT } from '../chat/chat-host-context.js';
|
|
3
4
|
import { useChatWelcomeMessage } from '../chat/hooks/use-chat-welcome-message.js';
|
|
4
5
|
|
|
5
6
|
function WelcomeMessage({ aiWelcomeMessage, sessionId, username, tenantKey, mentorUniqueId, token, isNewSession, className = 'text-gray-600 text-lg max-w-3xl', }) {
|
|
6
7
|
var _a;
|
|
7
8
|
const { config } = useChatHost();
|
|
8
9
|
const Markdown = useChatMarkdown();
|
|
10
|
+
const t = useChatT();
|
|
9
11
|
const { welcomeMessage } = useChatWelcomeMessage({
|
|
10
12
|
sessionId,
|
|
11
13
|
username,
|
|
@@ -15,7 +17,25 @@ function WelcomeMessage({ aiWelcomeMessage, sessionId, username, tenantKey, ment
|
|
|
15
17
|
wsUrl: `${(_a = config === null || config === void 0 ? void 0 : config.baseWsUrl()) !== null && _a !== void 0 ? _a : ''}/ws/langflow/`,
|
|
16
18
|
isNewSession,
|
|
17
19
|
});
|
|
18
|
-
|
|
20
|
+
const text = welcomeMessage || aiWelcomeMessage || '';
|
|
21
|
+
const boxRef = useRef(null);
|
|
22
|
+
const boxId = useId();
|
|
23
|
+
const [overflows, setOverflows] = useState(false);
|
|
24
|
+
// Keyed on the session so every new chat starts collapsed.
|
|
25
|
+
const [expandedSession, setExpandedSession] = useState(null);
|
|
26
|
+
const expanded = overflows && expandedSession === sessionId;
|
|
27
|
+
// The greeting streams in, so overflow is re-measured on every text change,
|
|
28
|
+
// and only while clamped: the opened box has its own scroll height.
|
|
29
|
+
useLayoutEffect(() => {
|
|
30
|
+
const box = boxRef.current;
|
|
31
|
+
if (!box || expanded)
|
|
32
|
+
return;
|
|
33
|
+
// A box scrolled while open keeps its offset under the clamp, which would
|
|
34
|
+
// show the middle of the greeting instead of its first lines.
|
|
35
|
+
box.scrollTop = 0;
|
|
36
|
+
setOverflows(box.scrollHeight > box.clientHeight);
|
|
37
|
+
}, [text, expanded]);
|
|
38
|
+
return (jsxs(Fragment, { children: [jsx("div", { ref: boxRef, id: boxId, "data-testid": "welcome-message-box", className: expanded ? 'max-h-[40vh] overflow-y-auto overscroll-contain text-left' : 'line-clamp-3', children: jsx(Markdown, { className: className, children: text }) }), overflows && (jsx("button", { type: "button", "aria-expanded": expanded, "aria-controls": boxId, onClick: () => setExpandedSession(expanded ? null : sessionId), className: "mt-1 text-sm font-medium text-blue-600 hover:text-blue-700 hover:underline", "data-testid": "welcome-message-toggle", children: expanded ? t('chat.welcomeMessage.showLess') : t('chat.welcomeMessage.showMore') }))] }));
|
|
19
39
|
}
|
|
20
40
|
|
|
21
41
|
export { WelcomeMessage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome-message.js","sources":["../../../../../../../src/components/welcome-chat/welcome-message.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"welcome-message.js","sources":["../../../../../../../src/components/welcome-chat/welcome-message.tsx"],"sourcesContent":[null],"names":["_jsxs","_Fragment","_jsx"],"mappings":";;;;;AAiBM,SAAU,cAAc,CAAC,EAC7B,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,SAAS,EACT,cAAc,EACd,KAAK,EACL,YAAY,EACZ,SAAS,GAAG,iCAAiC,GACzB,EAAA;;AACpB,IAAA,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE;AAChC,IAAA,MAAM,QAAQ,GAAG,eAAe,EAAE;AAClC,IAAA,MAAM,CAAC,GAAG,QAAQ,EAAE;AACpB,IAAA,MAAM,EAAE,cAAc,EAAE,GAAG,qBAAqB,CAAC;QAC/C,SAAS;QACT,QAAQ;QACR,SAAS;QACT,cAAc;QACd,KAAK;AACL,QAAA,KAAK,EAAE,CAAA,EAAG,CAAA,EAAA,GAAA,MAAM,KAAA,IAAA,IAAN,MAAM,KAAA,MAAA,GAAA,MAAA,GAAN,MAAM,CAAE,SAAS,EAAE,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,EAAE,CAAA,aAAA,CAAe;QAClD,YAAY;AACb,KAAA,CAAC;AACF,IAAA,MAAM,IAAI,GAAG,cAAc,IAAI,gBAAgB,IAAI,EAAE;AAErD,IAAA,MAAM,MAAM,GAAG,MAAM,CAAiB,IAAI,CAAC;AAC3C,IAAA,MAAM,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time';
|
|
2
|
-
import {
|
|
1
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { useRef, useId, useState, useLayoutEffect } from 'react';
|
|
3
|
+
import { useChatHost, useChatMarkdown, useChatT } from '../chat/chat-host-context.js';
|
|
3
4
|
import { useChatWelcomeMessage } from '../chat/hooks/use-chat-welcome-message.js';
|
|
4
5
|
|
|
5
6
|
function WelcomeMessage({ aiWelcomeMessage, sessionId, username, tenantKey, mentorUniqueId, token, isNewSession, className = 'text-gray-600 text-lg max-w-3xl', }) {
|
|
6
7
|
var _a;
|
|
7
8
|
const { config } = useChatHost();
|
|
8
9
|
const Markdown = useChatMarkdown();
|
|
10
|
+
const t = useChatT();
|
|
9
11
|
const { welcomeMessage } = useChatWelcomeMessage({
|
|
10
12
|
sessionId,
|
|
11
13
|
username,
|
|
@@ -15,7 +17,25 @@ function WelcomeMessage({ aiWelcomeMessage, sessionId, username, tenantKey, ment
|
|
|
15
17
|
wsUrl: `${(_a = config === null || config === void 0 ? void 0 : config.baseWsUrl()) !== null && _a !== void 0 ? _a : ''}/ws/langflow/`,
|
|
16
18
|
isNewSession,
|
|
17
19
|
});
|
|
18
|
-
|
|
20
|
+
const text = welcomeMessage || aiWelcomeMessage || '';
|
|
21
|
+
const boxRef = useRef(null);
|
|
22
|
+
const boxId = useId();
|
|
23
|
+
const [overflows, setOverflows] = useState(false);
|
|
24
|
+
// Keyed on the session so every new chat starts collapsed.
|
|
25
|
+
const [expandedSession, setExpandedSession] = useState(null);
|
|
26
|
+
const expanded = overflows && expandedSession === sessionId;
|
|
27
|
+
// The greeting streams in, so overflow is re-measured on every text change,
|
|
28
|
+
// and only while clamped: the opened box has its own scroll height.
|
|
29
|
+
useLayoutEffect(() => {
|
|
30
|
+
const box = boxRef.current;
|
|
31
|
+
if (!box || expanded)
|
|
32
|
+
return;
|
|
33
|
+
// A box scrolled while open keeps its offset under the clamp, which would
|
|
34
|
+
// show the middle of the greeting instead of its first lines.
|
|
35
|
+
box.scrollTop = 0;
|
|
36
|
+
setOverflows(box.scrollHeight > box.clientHeight);
|
|
37
|
+
}, [text, expanded]);
|
|
38
|
+
return (jsxs(Fragment, { children: [jsx("div", { ref: boxRef, id: boxId, "data-testid": "welcome-message-box", className: expanded ? 'max-h-[40vh] overflow-y-auto overscroll-contain text-left' : 'line-clamp-3', children: jsx(Markdown, { className: className, children: text }) }), overflows && (jsx("button", { type: "button", "aria-expanded": expanded, "aria-controls": boxId, onClick: () => setExpandedSession(expanded ? null : sessionId), className: "mt-1 text-sm font-medium text-blue-600 hover:text-blue-700 hover:underline", "data-testid": "welcome-message-toggle", children: expanded ? t('chat.welcomeMessage.showLess') : t('chat.welcomeMessage.showMore') }))] }));
|
|
19
39
|
}
|
|
20
40
|
|
|
21
41
|
export { WelcomeMessage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome-message.js","sources":["../../../../../../../src/components/welcome-chat/welcome-message.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"welcome-message.js","sources":["../../../../../../../src/components/welcome-chat/welcome-message.tsx"],"sourcesContent":[null],"names":["_jsxs","_Fragment","_jsx"],"mappings":";;;;;AAiBM,SAAU,cAAc,CAAC,EAC7B,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,SAAS,EACT,cAAc,EACd,KAAK,EACL,YAAY,EACZ,SAAS,GAAG,iCAAiC,GACzB,EAAA;;AACpB,IAAA,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,EAAE;AAChC,IAAA,MAAM,QAAQ,GAAG,eAAe,EAAE;AAClC,IAAA,MAAM,CAAC,GAAG,QAAQ,EAAE;AACpB,IAAA,MAAM,EAAE,cAAc,EAAE,GAAG,qBAAqB,CAAC;QAC/C,SAAS;QACT,QAAQ;QACR,SAAS;QACT,cAAc;QACd,KAAK;AACL,QAAA,KAAK,EAAE,CAAA,EAAG,CAAA,EAAA,GAAA,MAAM,KAAA,IAAA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ACpB,OAAO,EAAE,MAAM,kBAAkB,CAAC,QAAQ,GAAG,IAAI,GAAG,SAAS,CAAC,EAC9D,SAAS,EAAC,4EAA4E,iBAC1E,wBAAwB,EAAA,QAAA,EAEnC,QAAQ,GAAG,CAAC,CAAC,8BAA8B,CAAC,GAAG,CAAC,CAAC,8BAA8B,CAAC,GAC1E,CACV,CAAA,EAAA,CACA;AAEP;;;;"}
|
|
@@ -2343,15 +2343,13 @@ var creditBalance = {
|
|
|
2343
2343
|
spendingLimit: "消费限额",
|
|
2344
2344
|
unlimited: "无限制",
|
|
2345
2345
|
billing: "账单",
|
|
2346
|
-
planFree: "
|
|
2346
|
+
planFree: "免费版",
|
|
2347
2347
|
planTrial: "试用",
|
|
2348
|
-
planPremium: "高级版",
|
|
2349
2348
|
redirecting: "正在跳转...",
|
|
2350
|
-
|
|
2349
|
+
upgrade: "升级",
|
|
2350
|
+
changePlan: "更改套餐",
|
|
2351
2351
|
manageUsage: "管理用量",
|
|
2352
|
-
addCredits: "添加积分"
|
|
2353
|
-
manageBilling: "管理账单",
|
|
2354
|
-
failedToOpenPaymentSettings: "无法打开支付设置"
|
|
2352
|
+
addCredits: "添加积分"
|
|
2355
2353
|
};
|
|
2356
2354
|
var integrationsTab = {
|
|
2357
2355
|
tabSecrets: "机密",
|
|
@@ -3491,6 +3489,11 @@ var modalsChatActionBlockingOverlay = {
|
|
|
3491
3489
|
stopScreenSharing: "停止屏幕共享",
|
|
3492
3490
|
backgroundHandleDescription: "此窗口将在后台处理您的{actionLabel}。完成后您可以关闭此窗口。"
|
|
3493
3491
|
};
|
|
3492
|
+
var modalsContactAdminModal = {
|
|
3493
|
+
title: "您的组织已用完积分",
|
|
3494
|
+
description: "请联系您的管理员以继续使用平台。",
|
|
3495
|
+
contactNow: "立即联系 🫶"
|
|
3496
|
+
};
|
|
3494
3497
|
var modalsDisclaimerModal = {
|
|
3495
3498
|
userAgreement: "用户协议",
|
|
3496
3499
|
submitting: "提交中...",
|
|
@@ -3514,6 +3517,91 @@ var modalsPaywallModal = {
|
|
|
3514
3517
|
thisIncludes: "包含以下内容:",
|
|
3515
3518
|
secureCheckout: "安全结账"
|
|
3516
3519
|
};
|
|
3520
|
+
var planPicker = {
|
|
3521
|
+
title: "选择您的套餐",
|
|
3522
|
+
description: "您正在免费试用。选择适合您的套餐。",
|
|
3523
|
+
mostPopular: "最受欢迎",
|
|
3524
|
+
choosePlan: "选择{plan}",
|
|
3525
|
+
redirecting: "正在跳转...",
|
|
3526
|
+
updating: "正在更新...",
|
|
3527
|
+
loadingPlans: "正在加载套餐...",
|
|
3528
|
+
loadFailed: "无法加载套餐,请重试。",
|
|
3529
|
+
tryAgain: "重试",
|
|
3530
|
+
noPlans: "目前没有可用的套餐,请稍后再试。",
|
|
3531
|
+
changed: "您现在使用的是 {plan} 套餐。",
|
|
3532
|
+
scheduled: "您当前的套餐将于 {date} 结束,之后将转为 {plan}。",
|
|
3533
|
+
scheduledSoon: "您当前的套餐将在本计费周期结束时终止,之后将转为 {plan}。",
|
|
3534
|
+
changeFailed: "无法更改套餐,请重试。",
|
|
3535
|
+
enterprise: {
|
|
3536
|
+
text: "如需企业代码所有权或 AI 转型服务,请",
|
|
3537
|
+
link: "联系我们的团队"
|
|
3538
|
+
},
|
|
3539
|
+
oneTimeCreditsText: "只需要更多积分?一次性充值即可,无需更换套餐。",
|
|
3540
|
+
oneTimeCreditsCta: "一次性添加积分",
|
|
3541
|
+
changeTitle: "更改您的套餐",
|
|
3542
|
+
changeDescription: "您当前使用的是 {plan} 套餐。升级将于今日扣费。",
|
|
3543
|
+
currentPlan: "当前套餐",
|
|
3544
|
+
upgradeTo: "升级到{plan}",
|
|
3545
|
+
downgradeTo: "降级到{plan}",
|
|
3546
|
+
switchTo: "切换到{plan}",
|
|
3547
|
+
perDay: "/天",
|
|
3548
|
+
perWeek: "/周",
|
|
3549
|
+
perMonth: "/月",
|
|
3550
|
+
perYear: "/年",
|
|
3551
|
+
forever: "永久",
|
|
3552
|
+
everyCount: "每{count}{interval}",
|
|
3553
|
+
days: "天",
|
|
3554
|
+
weeks: "周",
|
|
3555
|
+
months: "个月",
|
|
3556
|
+
years: "年",
|
|
3557
|
+
singleLink: {
|
|
3558
|
+
feature1: "您自己的工作区和智能体",
|
|
3559
|
+
feature2: "邀请您的团队",
|
|
3560
|
+
feature3: "随时按需添加积分"
|
|
3561
|
+
},
|
|
3562
|
+
plans: {
|
|
3563
|
+
free: {
|
|
3564
|
+
name: "免费版",
|
|
3565
|
+
tagline: "快速上手",
|
|
3566
|
+
audience: "适合想先试用的个人",
|
|
3567
|
+
priceNote: "无需信用卡",
|
|
3568
|
+
feature1: "**每月积分**,用于试用智能体,每月更新",
|
|
3569
|
+
feature2: "使用任意模型构建智能体,并用您的文档训练",
|
|
3570
|
+
feature3: "在网页、桌面和移动端聊天",
|
|
3571
|
+
feature4: "文档与社区支持"
|
|
3572
|
+
},
|
|
3573
|
+
premium: {
|
|
3574
|
+
name: "Pro",
|
|
3575
|
+
tagline: "适合日常工作",
|
|
3576
|
+
audience: "适合每天使用智能体的专业人士和小团队",
|
|
3577
|
+
featuresLead: "包含免费版的全部功能,另有:",
|
|
3578
|
+
feature1: "**每月更多积分**,可按需开启自动充值",
|
|
3579
|
+
feature2: "语音、工作流以及通过 MCP 连接您的工具",
|
|
3580
|
+
feature3: "分析、嵌入和 API",
|
|
3581
|
+
feature4: "**邮件支持**"
|
|
3582
|
+
},
|
|
3583
|
+
max: {
|
|
3584
|
+
name: "Max",
|
|
3585
|
+
tagline: "适合全天工作",
|
|
3586
|
+
audience: "适合依赖智能体的团队和部门",
|
|
3587
|
+
featuresLead: "包含 Pro 的全部功能,另有:",
|
|
3588
|
+
feature1: "**大幅提升的每月积分额度**",
|
|
3589
|
+
feature2: "评测、支出上限和变现",
|
|
3590
|
+
feature3: "用角色和团队管理访问权限",
|
|
3591
|
+
feature4: "**优先支持**和抢先体验"
|
|
3592
|
+
},
|
|
3593
|
+
ultra: {
|
|
3594
|
+
name: "Ultra",
|
|
3595
|
+
tagline: "适合最大规模的部署",
|
|
3596
|
+
audience: "适合在多个团队中正式推广智能体的组织",
|
|
3597
|
+
featuresLead: "包含 Max 的全部功能,另有:",
|
|
3598
|
+
feature1: "**最高的每月积分额度**",
|
|
3599
|
+
feature2: "多个组织和单点登录",
|
|
3600
|
+
feature3: "转接人工客服",
|
|
3601
|
+
feature4: "**专属支持**和上手指导"
|
|
3602
|
+
}
|
|
3603
|
+
}
|
|
3604
|
+
};
|
|
3517
3605
|
var modalsPromptGalleryModal = {
|
|
3518
3606
|
promptGallery: "提示库",
|
|
3519
3607
|
dialogDescription: "查看和编辑您的智能体的自定义提示。",
|
|
@@ -3999,7 +4087,7 @@ var profileAccount = {
|
|
|
3999
4087
|
descOrganization: "管理您的组织设置。",
|
|
4000
4088
|
descSecrets: "来自其他服务(例如 OpenAI 或 Stripe)的密钥,供 ibl.ai 和您的智能体使用。",
|
|
4001
4089
|
descApi: "让您自己的软件与 ibl.ai 协同工作。",
|
|
4002
|
-
descBilling: "
|
|
4090
|
+
descBilling: "管理您的积分和账单。",
|
|
4003
4091
|
descMonetization: "配置付费墙、定价和收入。",
|
|
4004
4092
|
descAdvanced: "配置组织的高级设置。",
|
|
4005
4093
|
descBasic: "管理您的基本账户信息和偏好设置。",
|
|
@@ -4023,15 +4111,28 @@ var profileAddCreditsModal = {
|
|
|
4023
4111
|
title: "添加积分",
|
|
4024
4112
|
description: "使用您存档的付款方式为账户添加积分。",
|
|
4025
4113
|
amountLabel: "金额(美元)",
|
|
4026
|
-
|
|
4114
|
+
quickAmounts: "快捷金额",
|
|
4115
|
+
customAmountPlaceholder: "自定义金额",
|
|
4116
|
+
otherAmount: "其他金额",
|
|
4027
4117
|
paymentMethodNotice: "您存档的付款方式将被收取该金额。",
|
|
4028
4118
|
cancel: "取消",
|
|
4029
4119
|
processing: "处理中...",
|
|
4030
4120
|
addCredits: "添加积分",
|
|
4031
|
-
pleaseEnterAmount: "
|
|
4032
|
-
pleaseEnterValidAmount: "
|
|
4121
|
+
pleaseEnterAmount: "请选择金额",
|
|
4122
|
+
pleaseEnterValidAmount: "请输入至少 $0.50 的金额",
|
|
4033
4123
|
creditsAddedSuccessfully: "积分添加成功",
|
|
4034
|
-
failedToAddCredits: "添加积分失败"
|
|
4124
|
+
failedToAddCredits: "添加积分失败",
|
|
4125
|
+
descriptionNoPaymentMethod: "为您的账户添加积分。您需要先在 Stripe 上添加付款方式。",
|
|
4126
|
+
paymentMethodSetupNotice: "在 Stripe 上保存付款方式后,我们将立即扣除该金额并添加您的积分。",
|
|
4127
|
+
continueToPayment: "继续",
|
|
4128
|
+
redirecting: "正在跳转...",
|
|
4129
|
+
failedToOpenPaymentSettings: "无法打开付款设置",
|
|
4130
|
+
paymentMethodRefused: "您的付款方式被拒绝。",
|
|
4131
|
+
paymentMethodProblemHint: "请在 Stripe 更新您的付款方式,返回后积分将自动添加。",
|
|
4132
|
+
updatePaymentMethod: "更新付款方式",
|
|
4133
|
+
addingCredits: "正在添加您的积分...",
|
|
4134
|
+
creditsAddedAfterPayment: "付款方式已保存。已向您的账户添加 {amount} 的积分。",
|
|
4135
|
+
failedToAddCreditsAfterPayment: "您的付款方式已保存,但我们无法添加您的积分。请再次尝试添加积分。"
|
|
4035
4136
|
};
|
|
4036
4137
|
var profileAdmin = {
|
|
4037
4138
|
readLess: "收起",
|
|
@@ -4079,19 +4180,17 @@ var profileAutoRechargeModal = {
|
|
|
4079
4180
|
failedToUpdateUsageSettings: "更新用量设置失败"
|
|
4080
4181
|
};
|
|
4081
4182
|
var profileBilling = {
|
|
4082
|
-
failedToOpenPaymentSettings: "无法打开付款设置",
|
|
4083
|
-
trialEndsOn: "试用于 {date} 结束 · 剩余 {days} 天",
|
|
4084
|
-
renewsOn: "于 {date} 续订",
|
|
4085
|
-
youAreOnFreePlan: "您正在使用免费计划",
|
|
4086
|
-
manageSubscriptionAndBilling: "管理您的订阅和账单详情",
|
|
4087
|
-
planSectionTitle: "计划",
|
|
4088
4183
|
redirecting: "正在跳转...",
|
|
4184
|
+
tabCredits: "积分",
|
|
4185
|
+
trialDescription: "您正在免费试用。选择一个套餐以获得自己的工作区并添加积分。",
|
|
4186
|
+
trialDescriptionWithEnd: "您的免费试用将于 {date} 结束(剩余 {days} 天)。选择一个套餐以获得自己的工作区并添加积分。",
|
|
4187
|
+
freePlanDescription: "您正在使用免费版。随时可以添加更多积分。",
|
|
4188
|
+
freePlanNoPaymentMethodDescription: "您正在使用免费版。随时添加积分。首次添加时需要先添加付款方式。",
|
|
4089
4189
|
upgrade: "升级",
|
|
4090
|
-
|
|
4190
|
+
changePlan: "更改套餐",
|
|
4191
|
+
planDescription: "您当前使用的是 {plan} 套餐。您可以随时添加积分。",
|
|
4091
4192
|
creditsSectionTitle: "积分",
|
|
4092
|
-
creditsDescription: "查看您的可用积分和使用情况。",
|
|
4093
4193
|
addCredits: "添加积分",
|
|
4094
|
-
manageBilling: "管理账单",
|
|
4095
4194
|
availableLabel: "可用",
|
|
4096
4195
|
creditsUsdEquivalent: "约合 {amount}",
|
|
4097
4196
|
creditsConversionHint: "{credits} 积分 = $1",
|
|
@@ -4114,7 +4213,6 @@ var profileBilling = {
|
|
|
4114
4213
|
unlimited: "无限制",
|
|
4115
4214
|
autoRechargeDisabledMessage: "自动充值当前已禁用。启用后可在不中断服务的情况下保持余额充足。",
|
|
4116
4215
|
billingTabsAriaLabel: "账单板块",
|
|
4117
|
-
tabPlanAndCredits: "套餐与积分",
|
|
4118
4216
|
tabSpendLimits: "支出限额",
|
|
4119
4217
|
tabAgentLimits: "智能体限额",
|
|
4120
4218
|
tabUserLimits: "用户限额"
|
|
@@ -7787,6 +7885,10 @@ var profileLlmUsage = {
|
|
|
7787
7885
|
scopeUser: "{username} 的用量"
|
|
7788
7886
|
};
|
|
7789
7887
|
var chat = {
|
|
7888
|
+
welcomeMessage: {
|
|
7889
|
+
showMore: "显示更多",
|
|
7890
|
+
showLess: "收起"
|
|
7891
|
+
},
|
|
7790
7892
|
chatAiMessageBubble: {
|
|
7791
7893
|
retryScreenReader: "重试以获取新的回复",
|
|
7792
7894
|
retryTooltip: "重试",
|
|
@@ -9024,9 +9126,11 @@ var zh = {
|
|
|
9024
9126
|
mentorsMentorSelectionGrid: mentorsMentorSelectionGrid,
|
|
9025
9127
|
modalsAddPromptModal: modalsAddPromptModal,
|
|
9026
9128
|
modalsChatActionBlockingOverlay: modalsChatActionBlockingOverlay,
|
|
9129
|
+
modalsContactAdminModal: modalsContactAdminModal,
|
|
9027
9130
|
modalsDisclaimerModal: modalsDisclaimerModal,
|
|
9028
9131
|
modalsEditPromptModal: modalsEditPromptModal,
|
|
9029
9132
|
modalsPaywallModal: modalsPaywallModal,
|
|
9133
|
+
planPicker: planPicker,
|
|
9030
9134
|
modalsPromptGalleryModal: modalsPromptGalleryModal,
|
|
9031
9135
|
modalsUserProfileModal: modalsUserProfileModal,
|
|
9032
9136
|
modalsVoiceChatModal: modalsVoiceChatModal,
|
|
@@ -9190,5 +9294,5 @@ var zh = {
|
|
|
9190
9294
|
activityTab: activityTab
|
|
9191
9295
|
};
|
|
9192
9296
|
|
|
9193
|
-
export { accessTabAddAccess, accessTabLabels, accessTabUpdateAccess, accessibility, activityTab, advancePagination, advancedAdvanced, advancedAdvancedCss, advancedAuthSpaCustomization, advancedChatAdvancedChatHeader, advancedChatAreaWidth, advancedChatPrivacy, advancedCustomDomain, advancedExternalMapping, advancedMemsearchConfig, advancedPlatformMembership, advancedProviderConfig, advancedRecommendationSystemPrompts, advancedSeoDiscoverability, advancedSmtp, advancedStartScreen, advancedStudentMentorCreation, agentSearchLabels, agentSettingsLink, analyticsAccessTimeHeatmap, analyticsAgentScopeLink, analyticsAnalyticsAgentPicker, analyticsAnalyticsAuditLogStats, analyticsAnalyticsCourseDetail, analyticsAnalyticsCourses, analyticsAnalyticsFinancialStats, analyticsAnalyticsMemoryStats, analyticsAnalyticsMonetizationStats, analyticsAnalyticsOverview, analyticsAnalyticsPlatformAuditLog, analyticsAnalyticsProgramDetail, analyticsAnalyticsPrograms, analyticsAnalyticsReports, analyticsAnalyticsTopicsStats, analyticsAnalyticsTranscriptsStats, analyticsAnalyticsUsersStats, analyticsAuditLogJsonView, analyticsChartCard, analyticsControlBar, analyticsCostTabs, analyticsGroupsFilterDropdown, analyticsLlmUsage, analyticsPlatformAuditLogDetailSheet, analyticsSourceChip, analyticsStatCard, analyticsTabLabels, analyticsTraces, analyticsTranscriptTurnDetails, analyticsUsePlatformAuditLabels, analyticsUserFilterSelect, apiTab, apiTabApiKeyModal, apiTabCreateApiModal2, apiTabDeleteApiModal2, apiTabEditApiModal, apiTabLabels, apiTabTokenPolicies, appSidebarIndex, appSidebarProjectItem, appSidebarProjectsSidebarDropdown, appSidebarToggleSidebarButton, applyApplyWizard, benchmarksAddItemsModal, benchmarksBenchmarkItemsModal, benchmarksCreateBenchmarkModal, benchmarksDeleteItemConfirm, benchmarksIndex, canvasBinaryCanvas, canvasCanvasComponent, canvasCanvasControls, canvasCanvasExportHandlers, canvasCanvasRichTextEditor, canvasCodeCanvasComponent, canvasSessionCanvasCards, canvasUseCanvasVersionNavigation, careerCompanyDialog, careerEducationDialog, careerEducationTab, careerExperienceDialog, careerExperienceTab, careerInstitutionDialog, careerResumeTab, chat, chatAiMessageBubble, chatAiMessageCopy, chatAiMessageRating, chatAiMessageReportInappropriateContent, chatAiMessageShare, chatHistoryChatHistoryTab, chatHistoryReportHistory, chatIndex, chatInputForm, chatInputFormFileAttachmentsList, chatInputFormInsideButtons, chatInputFormMemoryMenu, chatInputFormOutsideButtons, chatInputFormScreenSharingButton, chatInputFormUploadMenu, chatInputFormVoiceCallButton, chatInputFormVoiceChatButton, chatPrivacyChatPrivacyToggle, chatStopStreamingButton, clawSandboxAgentConfigPrompts, clawSandboxAgentSkills, clawSandboxHelpers, clawSandboxLlmProviderModal, clawSandboxOverlayModal, clawSandboxSandboxConfig, common, componentsHumanSupportSection, componentsMentorPromptDialog, componentsPolicyAssignmentSection, componentsPolicyConfigDialog, componentsProactiveSettingsSection, componentsTemplateActionsSection, componentsTemplateVariablesHelper, componentsUserProgressSettingsSection, componentsWatcherEmailSection, courseContentAccessiblePaginate, courseContentCourseContentLayout, courseContentDiscoverFacetsFilter, courseContentDiscoverFilterDrawer, createAgentModalCreateAgentForm, createAgentModalLabels, creditBalance, datasetsTabAddResourceModal, datasetsTabDatasetItem, datasetsTabLabels, datasetsTabRetrainScheduleModal, zh as default, disclaimersTabLabels, documentSidebar, embedTabLabels, evaluationTabLabels, fieldInfo, gradebookGradebookTab, graderTabLabels, guidedSuggestedPrompts, historyTabLabels, humanSupportTabLabels, integrationsTab, inviteCoursesTab, inviteProgramsTab, inviteUsersTab, liveKitVoiceChat, llmTabLabels, localLlmLocalLlmTab, localLlmUseModelDownload, ltiTabLabels, mcpOAuthApp, mcpServersMenu, mcpTab, mcpTabConnectorDialogs, mcpTabConnectorManagementContent, memoryAddMemoryDialog, memoryAdminAgentMemoriesModal, memoryAdminTab, memoryAdminUserMemoriesModal, memoryEditMemoryDialog, memoryMemoryTab, memoryTabAddMemoryModal, memoryTabDeleteMemoryModal, memoryTabEditMemoryModal, memoryTabLabels, memoryTabLearnersMemories, memoryTabManageCategoriesModal, memoryTabManageMemories, memoryTabSavedMemoriesModal, mentorsMentorSelectionGrid, modalsAddPromptModal, modalsChatActionBlockingOverlay, modalsDisclaimerModal, modalsEditPromptModal, modalsPaywallModal, modalsPromptGalleryModal, modalsUserProfileModal, modalsVoiceChatModal, monetizationCancelSubscription, monetizationItemSearchDropdown, monetizationPaywallDetail, monetizationPaywalledItemsList, monetizationPriceManagement, monetizationStripeConnect, navbar, notificationsAlertsTab, notificationsEditAlertDialog, notificationsNotificationDisplay, notificationsNotificationDropdown, notificationsSendNotificationDialog, onboardingOnboardingWizard, onboardingUserOnboarding, pipChat, placementExam, platformNavbar, platformSidebar, privacyAuditLog, privacyTabLabels, profileAccount, profileAddCreditsModal, profileAdmin, profileApplicationsQuestionsEditor, profileApplicationsTab, profileAutoRechargeModal, profileBilling, profileCatalogInviteModal, profileChatPrivacyTab, profileCsvEditor, profileIndex, profileInviteUserContent, profileInvitedUsers, profileLlmUsage, profileOnboardingTab, profileOrganization, profileOverviewTab, profileSecurity, projectsAddMentorToProjectModal, projectsCreateProjectModal, projectsDeleteProjectModal, projectsMinimumMentorAlert, projectsProjectActionButtons, projectsProjectFilesModal, projectsProjectInstructionsModal, projectsProjectLandingPage, projectsProjectMentorsList, projectsProjectsPage, projectsRenameProjectModal, promptGalleryModalEmptyPrompts, promptGalleryModalPromptCard, promptsTabAddPromptModal, promptsTabEditPromptModal, promptsTabLabels, purchasesPurchasesTab, resourceModalGithubFileUploadModal, resourceModalLocalFileUploadModal, resourceModalUrlUploadModal, resourceModalWebsiteCrawlModal, resourcePicker, retrievedDocumentsButton, richTextEditor, safetyTabLabels, screenshareTabLabels, secrets, settingsTabCopyMentorModal, settingsTabLabels, settingsTabWelcomeScreen, skillsProfileAddSkillDialog, skillsProfileCreatePathwayModal, skillsProfileCredentialBox, skillsProfileCredentialDetailModal, skillsProfileEducationBox, skillsProfileExperienceBox, skillsProfileMediaBox, skillsProfilePathwayDetailModal, skillsProfileProfileInfoCards, skillsProfileProgramDetailModal, skillsProfileResumeBox, skillsProfileSkillDetailModal, skillsProfileSkillsBox, skillsTabLabels, slashSkillPicker, spendCapUsage, spendCapsTabLabels, summernoteTextEditor, tabsAlertstab, tabsDisclaimersTab, tabsEmbedTab, tabsGroupstab, tabsHistoryTab, tabsHumanSupportTab, tabsPoliciestab, tabsPrivacyTab, tabsPromptsTab, tabsRolestab, tabsSafetyTab, tabsSettingsTab, tabsTeamsaccesspanel, tabsUserstab, tabsVoiceTab, tasksTabLabels, tenantSwitchIndex, toolsTabLabels, topBannerIndex, uiDialog, uiPagination, uiSheet, uiSidebar, userProfileDropdownIndex, usersModelsTab, version, virtualMachineAdminTab, virtualMachineHostInput, virtualMachineNetworkPolicies, virtualMachineNetworkSection, voiceTabCallConfigSection, voiceTabLabels, voiceTabVoicePicker, welcomeChatConversationStarters, welcomeChatExploreMentors, workflowsClassifierPanel, workflowsConnectorManagementDialog, workflowsCreateWorkflowModal, workflowsDeleteWorkflowModal, workflowsNodeConfigPanel, workflowsToolDialogs, workflowsWorkflowCanvas, workflowsWorkflowEditor, workflowsWorkflowPreviewChat, workflowsWorkflowsList };
|
|
9297
|
+
export { accessTabAddAccess, accessTabLabels, accessTabUpdateAccess, accessibility, activityTab, advancePagination, advancedAdvanced, advancedAdvancedCss, advancedAuthSpaCustomization, advancedChatAdvancedChatHeader, advancedChatAreaWidth, advancedChatPrivacy, advancedCustomDomain, advancedExternalMapping, advancedMemsearchConfig, advancedPlatformMembership, advancedProviderConfig, advancedRecommendationSystemPrompts, advancedSeoDiscoverability, advancedSmtp, advancedStartScreen, advancedStudentMentorCreation, agentSearchLabels, agentSettingsLink, analyticsAccessTimeHeatmap, analyticsAgentScopeLink, analyticsAnalyticsAgentPicker, analyticsAnalyticsAuditLogStats, analyticsAnalyticsCourseDetail, analyticsAnalyticsCourses, analyticsAnalyticsFinancialStats, analyticsAnalyticsMemoryStats, analyticsAnalyticsMonetizationStats, analyticsAnalyticsOverview, analyticsAnalyticsPlatformAuditLog, analyticsAnalyticsProgramDetail, analyticsAnalyticsPrograms, analyticsAnalyticsReports, analyticsAnalyticsTopicsStats, analyticsAnalyticsTranscriptsStats, analyticsAnalyticsUsersStats, analyticsAuditLogJsonView, analyticsChartCard, analyticsControlBar, analyticsCostTabs, analyticsGroupsFilterDropdown, analyticsLlmUsage, analyticsPlatformAuditLogDetailSheet, analyticsSourceChip, analyticsStatCard, analyticsTabLabels, analyticsTraces, analyticsTranscriptTurnDetails, analyticsUsePlatformAuditLabels, analyticsUserFilterSelect, apiTab, apiTabApiKeyModal, apiTabCreateApiModal2, apiTabDeleteApiModal2, apiTabEditApiModal, apiTabLabels, apiTabTokenPolicies, appSidebarIndex, appSidebarProjectItem, appSidebarProjectsSidebarDropdown, appSidebarToggleSidebarButton, applyApplyWizard, benchmarksAddItemsModal, benchmarksBenchmarkItemsModal, benchmarksCreateBenchmarkModal, benchmarksDeleteItemConfirm, benchmarksIndex, canvasBinaryCanvas, canvasCanvasComponent, canvasCanvasControls, canvasCanvasExportHandlers, canvasCanvasRichTextEditor, canvasCodeCanvasComponent, canvasSessionCanvasCards, canvasUseCanvasVersionNavigation, careerCompanyDialog, careerEducationDialog, careerEducationTab, careerExperienceDialog, careerExperienceTab, careerInstitutionDialog, careerResumeTab, chat, chatAiMessageBubble, chatAiMessageCopy, chatAiMessageRating, chatAiMessageReportInappropriateContent, chatAiMessageShare, chatHistoryChatHistoryTab, chatHistoryReportHistory, chatIndex, chatInputForm, chatInputFormFileAttachmentsList, chatInputFormInsideButtons, chatInputFormMemoryMenu, chatInputFormOutsideButtons, chatInputFormScreenSharingButton, chatInputFormUploadMenu, chatInputFormVoiceCallButton, chatInputFormVoiceChatButton, chatPrivacyChatPrivacyToggle, chatStopStreamingButton, clawSandboxAgentConfigPrompts, clawSandboxAgentSkills, clawSandboxHelpers, clawSandboxLlmProviderModal, clawSandboxOverlayModal, clawSandboxSandboxConfig, common, componentsHumanSupportSection, componentsMentorPromptDialog, componentsPolicyAssignmentSection, componentsPolicyConfigDialog, componentsProactiveSettingsSection, componentsTemplateActionsSection, componentsTemplateVariablesHelper, componentsUserProgressSettingsSection, componentsWatcherEmailSection, courseContentAccessiblePaginate, courseContentCourseContentLayout, courseContentDiscoverFacetsFilter, courseContentDiscoverFilterDrawer, createAgentModalCreateAgentForm, createAgentModalLabels, creditBalance, datasetsTabAddResourceModal, datasetsTabDatasetItem, datasetsTabLabels, datasetsTabRetrainScheduleModal, zh as default, disclaimersTabLabels, documentSidebar, embedTabLabels, evaluationTabLabels, fieldInfo, gradebookGradebookTab, graderTabLabels, guidedSuggestedPrompts, historyTabLabels, humanSupportTabLabels, integrationsTab, inviteCoursesTab, inviteProgramsTab, inviteUsersTab, liveKitVoiceChat, llmTabLabels, localLlmLocalLlmTab, localLlmUseModelDownload, ltiTabLabels, mcpOAuthApp, mcpServersMenu, mcpTab, mcpTabConnectorDialogs, mcpTabConnectorManagementContent, memoryAddMemoryDialog, memoryAdminAgentMemoriesModal, memoryAdminTab, memoryAdminUserMemoriesModal, memoryEditMemoryDialog, memoryMemoryTab, memoryTabAddMemoryModal, memoryTabDeleteMemoryModal, memoryTabEditMemoryModal, memoryTabLabels, memoryTabLearnersMemories, memoryTabManageCategoriesModal, memoryTabManageMemories, memoryTabSavedMemoriesModal, mentorsMentorSelectionGrid, modalsAddPromptModal, modalsChatActionBlockingOverlay, modalsContactAdminModal, modalsDisclaimerModal, modalsEditPromptModal, modalsPaywallModal, modalsPromptGalleryModal, modalsUserProfileModal, modalsVoiceChatModal, monetizationCancelSubscription, monetizationItemSearchDropdown, monetizationPaywallDetail, monetizationPaywalledItemsList, monetizationPriceManagement, monetizationStripeConnect, navbar, notificationsAlertsTab, notificationsEditAlertDialog, notificationsNotificationDisplay, notificationsNotificationDropdown, notificationsSendNotificationDialog, onboardingOnboardingWizard, onboardingUserOnboarding, pipChat, placementExam, planPicker, platformNavbar, platformSidebar, privacyAuditLog, privacyTabLabels, profileAccount, profileAddCreditsModal, profileAdmin, profileApplicationsQuestionsEditor, profileApplicationsTab, profileAutoRechargeModal, profileBilling, profileCatalogInviteModal, profileChatPrivacyTab, profileCsvEditor, profileIndex, profileInviteUserContent, profileInvitedUsers, profileLlmUsage, profileOnboardingTab, profileOrganization, profileOverviewTab, profileSecurity, projectsAddMentorToProjectModal, projectsCreateProjectModal, projectsDeleteProjectModal, projectsMinimumMentorAlert, projectsProjectActionButtons, projectsProjectFilesModal, projectsProjectInstructionsModal, projectsProjectLandingPage, projectsProjectMentorsList, projectsProjectsPage, projectsRenameProjectModal, promptGalleryModalEmptyPrompts, promptGalleryModalPromptCard, promptsTabAddPromptModal, promptsTabEditPromptModal, promptsTabLabels, purchasesPurchasesTab, resourceModalGithubFileUploadModal, resourceModalLocalFileUploadModal, resourceModalUrlUploadModal, resourceModalWebsiteCrawlModal, resourcePicker, retrievedDocumentsButton, richTextEditor, safetyTabLabels, screenshareTabLabels, secrets, settingsTabCopyMentorModal, settingsTabLabels, settingsTabWelcomeScreen, skillsProfileAddSkillDialog, skillsProfileCreatePathwayModal, skillsProfileCredentialBox, skillsProfileCredentialDetailModal, skillsProfileEducationBox, skillsProfileExperienceBox, skillsProfileMediaBox, skillsProfilePathwayDetailModal, skillsProfileProfileInfoCards, skillsProfileProgramDetailModal, skillsProfileResumeBox, skillsProfileSkillDetailModal, skillsProfileSkillsBox, skillsTabLabels, slashSkillPicker, spendCapUsage, spendCapsTabLabels, summernoteTextEditor, tabsAlertstab, tabsDisclaimersTab, tabsEmbedTab, tabsGroupstab, tabsHistoryTab, tabsHumanSupportTab, tabsPoliciestab, tabsPrivacyTab, tabsPromptsTab, tabsRolestab, tabsSafetyTab, tabsSettingsTab, tabsTeamsaccesspanel, tabsUserstab, tabsVoiceTab, tasksTabLabels, tenantSwitchIndex, toolsTabLabels, topBannerIndex, uiDialog, uiPagination, uiSheet, uiSidebar, userProfileDropdownIndex, usersModelsTab, version, virtualMachineAdminTab, virtualMachineHostInput, virtualMachineNetworkPolicies, virtualMachineNetworkSection, voiceTabCallConfigSection, voiceTabLabels, voiceTabVoicePicker, welcomeChatConversationStarters, welcomeChatExploreMentors, workflowsClassifierPanel, workflowsConnectorManagementDialog, workflowsCreateWorkflowModal, workflowsDeleteWorkflowModal, workflowsNodeConfigPanel, workflowsToolDialogs, workflowsWorkflowCanvas, workflowsWorkflowEditor, workflowsWorkflowPreviewChat, workflowsWorkflowsList };
|
|
9194
9298
|
//# sourceMappingURL=zh.json.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"zh.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;"}
|
|
@@ -1,88 +1,101 @@
|
|
|
1
1
|
import { Locator, Page } from '@playwright/test';
|
|
2
2
|
import type { CreditBalancePlan } from './credit-balance-helpers';
|
|
3
3
|
export type BillingAutoRechargeStatus = 'Enabled' | 'Disabled';
|
|
4
|
-
/** Locator for the
|
|
5
|
-
export declare function billingPlanSection(page: Page): Locator;
|
|
6
|
-
/** Locator for the Credits section card on the BillingTab. */
|
|
4
|
+
/** Locator for the Credits section card on the BillingTab (there is no Plan card). */
|
|
7
5
|
export declare function billingCreditsSection(page: Page): Locator;
|
|
8
6
|
/** Locator for the Auto Recharge section card on the BillingTab.
|
|
9
|
-
*
|
|
7
|
+
* Rendered whenever a payment method is on file (never on the free trial).
|
|
10
8
|
*/
|
|
11
9
|
export declare function billingAutoRechargeSection(page: Page): Locator;
|
|
12
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Detects the billing state from the Credits section: "Trial" when it offers
|
|
12
|
+
* "Upgrade" (the plan picker), "Free" otherwise. Returns null while the
|
|
13
|
+
* section is not rendered (loading skeletons).
|
|
14
|
+
*/
|
|
13
15
|
export declare function getBillingPlanLabel(page: Page): Promise<CreditBalancePlan | null>;
|
|
14
16
|
/** Reads the auto-recharge status badge (Enabled / Disabled) when the section is rendered. */
|
|
15
17
|
export declare function getBillingAutoRechargeStatus(page: Page): Promise<BillingAutoRechargeStatus | null>;
|
|
16
|
-
/** Waits for the BillingTab loading skeletons to clear by waiting for the
|
|
17
|
-
* section card to mount. */
|
|
18
|
+
/** Waits for the BillingTab loading skeletons to clear by waiting for the
|
|
19
|
+
* Credits section card to mount. */
|
|
18
20
|
export declare function waitForBillingTabReady(page: Page): Promise<void>;
|
|
19
|
-
/**
|
|
20
|
-
* Asserts the Plan section state for a given plan. Verifies:
|
|
21
|
-
* - The plan label text matches `options.plan`
|
|
22
|
-
* - The "Current" pill is visible
|
|
23
|
-
* - The Upgrade button is visible iff the plan is not Premium
|
|
24
|
-
*/
|
|
25
|
-
export declare function expectBillingPlanSection(page: Page, options: {
|
|
26
|
-
plan: CreditBalancePlan;
|
|
27
|
-
}): Promise<void>;
|
|
28
21
|
/**
|
|
29
22
|
* Asserts the Credits section state. Always verifies the "Available" stat row.
|
|
30
23
|
* The action button rule mirrors the component:
|
|
31
|
-
* -
|
|
32
|
-
* -
|
|
33
|
-
*
|
|
34
|
-
*
|
|
24
|
+
* - Trial → "Upgrade" visible; no Add Credits
|
|
25
|
+
* - Free → "Add Credits" visible whether or not a card is on file (the
|
|
26
|
+
* dialog collects one on Stripe first when there is none); never
|
|
27
|
+
* "Upgrade". `hasPaymentMethod` only matters to the Auto
|
|
28
|
+
* Recharge section (see `expectBillingAutoRechargeSection`).
|
|
35
29
|
*/
|
|
36
30
|
export declare function expectBillingCreditsSection(page: Page, options: {
|
|
37
31
|
plan: CreditBalancePlan;
|
|
38
32
|
hasPaymentMethod?: boolean;
|
|
39
33
|
}): Promise<void>;
|
|
40
34
|
/**
|
|
41
|
-
* Asserts the Auto Recharge section visibility.
|
|
42
|
-
*
|
|
43
|
-
* to assert the section is absent. When visible and
|
|
44
|
-
* asserts the Enabled/Disabled badge text.
|
|
35
|
+
* Asserts the Auto Recharge section visibility. The component renders it when
|
|
36
|
+
* a payment method is on file and the account is not on the free trial. Pass
|
|
37
|
+
* `expectVisible: false` to assert the section is absent. When visible and
|
|
38
|
+
* `status` is provided, also asserts the Enabled/Disabled badge text.
|
|
45
39
|
*/
|
|
46
40
|
export declare function expectBillingAutoRechargeSection(page: Page, options: {
|
|
47
41
|
expectVisible: boolean;
|
|
48
42
|
status?: BillingAutoRechargeStatus;
|
|
49
43
|
}): Promise<void>;
|
|
50
44
|
/**
|
|
51
|
-
* Free plan:
|
|
52
|
-
*
|
|
53
|
-
|
|
54
|
-
export declare function expectBillingTabForFreePlan(page: Page): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* Trial plan: Plan="Trial" with Upgrade visible; Credits action depends on
|
|
57
|
-
* `hasPaymentMethod` (Add Credits when true, Manage Billing when false);
|
|
58
|
-
* Auto Recharge section is rendered iff `hasPaymentMethod` is true.
|
|
45
|
+
* Free plan: no "Upgrade", "Add Credits" always; the Auto Recharge section
|
|
46
|
+
* follows `hasPaymentMethod` (shown when true, absent when false). With
|
|
47
|
+
* `hasPaymentMethod` omitted only the Credits card is verified.
|
|
59
48
|
*/
|
|
60
|
-
export declare function
|
|
61
|
-
hasPaymentMethod
|
|
49
|
+
export declare function expectBillingTabForStandardPlan(page: Page, options?: {
|
|
50
|
+
hasPaymentMethod?: boolean;
|
|
62
51
|
}): Promise<void>;
|
|
63
52
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* Auto Recharge section is rendered iff `hasPaymentMethod` is true.
|
|
53
|
+
* Trial: "Upgrade" (opens the plan picker) is the only Credits action and the
|
|
54
|
+
* Auto Recharge section is hidden entirely (regardless of has_payment_method).
|
|
67
55
|
*/
|
|
68
|
-
export declare function
|
|
69
|
-
hasPaymentMethod: boolean;
|
|
70
|
-
}): Promise<void>;
|
|
56
|
+
export declare function expectBillingTabForTrialPlan(page: Page): Promise<void>;
|
|
71
57
|
/**
|
|
72
|
-
* Convenience: detects the
|
|
73
|
-
* the matching
|
|
58
|
+
* Convenience: detects the billing state from the Credits section and runs
|
|
59
|
+
* the matching assertions. Returns the detected plan.
|
|
74
60
|
*
|
|
75
|
-
*
|
|
76
|
-
* sub-states; if omitted, only the
|
|
61
|
+
* On the Free plan, pass `hasPaymentMethod` to assert the Credits/Auto Recharge
|
|
62
|
+
* sub-states; if omitted, only the base Credits row is verified.
|
|
77
63
|
*/
|
|
78
64
|
export declare function expectBillingTabForCurrentPlan(page: Page, options?: {
|
|
79
65
|
hasPaymentMethod?: boolean;
|
|
80
66
|
}): Promise<CreditBalancePlan>;
|
|
81
|
-
/** Clicks the Upgrade button in the
|
|
67
|
+
/** Clicks the Upgrade button in the Credits section (free trial only); it opens the plan picker. */
|
|
82
68
|
export declare function clickBillingUpgrade(page: Page): Promise<void>;
|
|
83
|
-
/** Clicks the
|
|
69
|
+
/** Clicks Upgrade in the Credits section and waits for the plan picker to show its plans. */
|
|
70
|
+
export declare function openPlanPickerFromBilling(page: Page): Promise<Locator>;
|
|
71
|
+
/** Clicks the Add Credits button in the Credits section (Free plan, with or without a card). */
|
|
84
72
|
export declare function clickBillingAddCredits(page: Page): Promise<void>;
|
|
85
|
-
/**
|
|
86
|
-
export declare function
|
|
73
|
+
/** Locator for the Add Credits dialog (opened from the Billing tab or the credit dropdown). */
|
|
74
|
+
export declare function addCreditsDialog(page: Page): Locator;
|
|
75
|
+
/**
|
|
76
|
+
* Types a USD amount into the open Add Credits dialog and submits it. With a
|
|
77
|
+
* payment method on file the submit button reads "Add Credits" and the charge
|
|
78
|
+
* runs at once; without one it reads "Continue" and the page navigates to the
|
|
79
|
+
* Stripe customer portal to save a card (the charge runs when Stripe returns
|
|
80
|
+
* to the app). Returns once that finished (the dialog closed after the
|
|
81
|
+
* charge, or the browser left for Stripe), with which of the two buttons was
|
|
82
|
+
* pressed. A refused charge keeps the dialog open, so this then times out.
|
|
83
|
+
*/
|
|
84
|
+
export declare function submitAddCreditsAmount(page: Page, amountUsd: string | number): Promise<'Add Credits' | 'Continue'>;
|
|
87
85
|
/** Clicks the Manage Usage button in the Auto Recharge section. */
|
|
88
86
|
export declare function clickBillingManageUsage(page: Page): Promise<void>;
|
|
87
|
+
/** @deprecated There is no Plan card any more; use `billingCreditsSection`. */
|
|
88
|
+
export declare const billingPlanSection: typeof billingCreditsSection;
|
|
89
|
+
/** @deprecated The plan now shows in the Credits card; use `expectBillingCreditsSection`. */
|
|
90
|
+
export declare const expectBillingPlanSection: typeof expectBillingCreditsSection;
|
|
91
|
+
/** @deprecated The Free plan is now the free trial; use `expectBillingTabForTrialPlan`. */
|
|
92
|
+
export declare const expectBillingTabForFreePlan: typeof expectBillingTabForTrialPlan;
|
|
93
|
+
/** @deprecated The Premium plan is now the Free plan; use `expectBillingTabForStandardPlan`. */
|
|
94
|
+
export declare const expectBillingTabForPremiumPlan: typeof expectBillingTabForStandardPlan;
|
|
95
|
+
/** @deprecated The trial button reads "Upgrade" and opens the plan picker; use `clickBillingUpgrade`. */
|
|
96
|
+
export declare const clickBillingUpgradeToStandard: typeof clickBillingUpgrade;
|
|
97
|
+
/**
|
|
98
|
+
* @deprecated Manage Billing is gone; Add Credits collects a card when none is on file. Use
|
|
99
|
+
* `clickBillingAddCredits`. Note it opens the Add Credits dialog and no longer leaves for Stripe.
|
|
100
|
+
*/
|
|
101
|
+
export declare const clickBillingManageBilling: typeof clickBillingAddCredits;
|