@ant-design/agentic-ui 2.0.25 → 2.0.26
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/I18n/locales.d.ts
CHANGED
package/dist/I18n/locales.js
CHANGED
|
@@ -84,6 +84,7 @@ var cnLabels = {
|
|
|
84
84
|
"think.deepThinking": "深度思考",
|
|
85
85
|
"think.deepThinkingInProgress": "深度思考...",
|
|
86
86
|
switchLanguage: "切换语言",
|
|
87
|
+
welcome: "欢迎使用多语言支持",
|
|
87
88
|
insertLink: "插入链接",
|
|
88
89
|
clearFormatting: "清除格式",
|
|
89
90
|
undo: "撤销",
|
|
@@ -354,6 +355,7 @@ var enLabels = {
|
|
|
354
355
|
undo: "Undo",
|
|
355
356
|
redo: "Redo",
|
|
356
357
|
switchLanguage: "Switch Language",
|
|
358
|
+
welcome: "Welcome to Multilingual Support",
|
|
357
359
|
insertLink: "Insert Link",
|
|
358
360
|
attachmentSupportedFormats: "Supported file types and formats:",
|
|
359
361
|
clearFormatting: "Clear Formatting",
|
|
@@ -237,6 +237,9 @@ var BarChart = ({
|
|
|
237
237
|
const neg = color[1] || color[0] || baseColor;
|
|
238
238
|
base2 = value2 >= 0 ? pos : neg;
|
|
239
239
|
}
|
|
240
|
+
if (value2 === 0) {
|
|
241
|
+
return hexToRgba(base2, 0.75);
|
|
242
|
+
}
|
|
240
243
|
const x0 = xScale.getPixelForValue(0);
|
|
241
244
|
const x1 = xScale.getPixelForValue(value2);
|
|
242
245
|
if (!Number.isFinite(x0) || !Number.isFinite(x1)) {
|
|
@@ -256,6 +259,9 @@ var BarChart = ({
|
|
|
256
259
|
const neg = color[1] || color[0] || baseColor;
|
|
257
260
|
base = value >= 0 ? pos : neg;
|
|
258
261
|
}
|
|
262
|
+
if (value === 0) {
|
|
263
|
+
return hexToRgba(base, 0.75);
|
|
264
|
+
}
|
|
259
265
|
const y0 = yScale.getPixelForValue(0);
|
|
260
266
|
const y1 = yScale.getPixelForValue(value);
|
|
261
267
|
if (!Number.isFinite(y0) || !Number.isFinite(y1)) {
|