@baishuyun/ui-base 6.33.1 → 6.35.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.
Files changed (42) hide show
  1. package/dist/AiRuntimeContainer/index.js +100 -98
  2. package/dist/Amap/index.js +1 -1
  3. package/dist/Calendar/{Calendar-sHaTag1q.js → Calendar-DWJZdsLP.js} +1 -1
  4. package/dist/Calendar/index.js +3 -3
  5. package/dist/Card/index.js +1 -1
  6. package/dist/CheckBox/index.js +1 -1
  7. package/dist/ColorPicker/index.js +1 -1
  8. package/dist/ConfigProvider/index.js +1 -1
  9. package/dist/DatePicker/{DatePicker-C0Nmq8I2.js → DatePicker-S_3B0hvP.js} +1 -1
  10. package/dist/DatePicker/{DatePickerPanel-DfcL9HJ5.js → DatePickerPanel-CJ37HEd0.js} +1 -1
  11. package/dist/DatePicker/index.js +2 -2
  12. package/dist/DropDown/{DropDown-Bb4dkd_c.js → DropDown-D97QGQpV.js} +1 -1
  13. package/dist/DropDown/index.js +3 -3
  14. package/dist/Editor/index.js +3 -3
  15. package/dist/FieldCard/{FieldCard-DNwwutu3.js → FieldCard-CTrNTXFc.js} +1 -1
  16. package/dist/FieldCard/index.js +4 -4
  17. package/dist/Gantt/index.js +31 -31
  18. package/dist/Icon/index.js +1 -1
  19. package/dist/InputTag/{InputTag-3sZTy2HT.js → InputTag-5NTrA5bA.js} +1 -1
  20. package/dist/InputTag/index.js +3 -3
  21. package/dist/Kanban/index.js +4 -4
  22. package/dist/Loading/index.js +1 -1
  23. package/dist/Modal/index.js +1 -1
  24. package/dist/NotFoundContent/index.js +1 -1
  25. package/dist/Overlay/index.js +1 -1
  26. package/dist/Radio/index.js +1 -1
  27. package/dist/ScrollBar/ScrollBar-DJ6DaHDb.js +98 -0
  28. package/dist/ScrollBar/index.js +2 -2
  29. package/dist/Segmented/index.js +1 -1
  30. package/dist/Select/{Select-Bio92QMl.js → Select-cIKwnIMD.js} +1 -1
  31. package/dist/Select/index.js +3 -3
  32. package/dist/Table/{Table-CCyC7VdA.js → Table-B7fDob3i.js} +138 -138
  33. package/dist/Table/index.js +2 -2
  34. package/dist/Tabs/index.js +1 -1
  35. package/dist/Tooltip/index.js +1 -1
  36. package/dist/Tree/index.js +1 -1
  37. package/dist/components/AiRuntimeContainer/index.d.ts +1 -1
  38. package/dist/components/ScrollBar/interface.d.ts +8 -4
  39. package/dist/index.js +9 -9
  40. package/dist/vendors/{version-PykRMMOY.js → version-C8xqF4_b.js} +1 -1
  41. package/package.json +1 -1
  42. package/dist/ScrollBar/ScrollBar-B7R4brL_.js +0 -67
@@ -1,26 +1,27 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import { jsx as e } from "react/jsx-runtime";
3
3
  import * as t from "react";
4
4
  import { Component as n, useCallback as r, useEffect as i, useLayoutEffect as a, useMemo as ee, useRef as o } from "react";
5
- import { createRoot as s } from "react-dom/client";
6
- import * as c from "@babel/standalone";
7
- import { parse as l, walk as u } from "css-tree";
8
- import * as d from "lucide-react";
5
+ import { createRoot as te } from "react-dom/client";
6
+ import * as s from "@babel/standalone";
7
+ import { parse as c, walk as l } from "css-tree";
8
+ import * as u from "lucide-react";
9
9
  //#region ../shared/src/ai-runtime/moduleNames.ts
10
- var f = ["react", "lucide-react"], p = new Set(f), m = f.join("、"), h = [
10
+ var d = ["react", "lucide-react"], f = new Set(d), p = d.join("、"), m = [
11
11
  "value",
12
12
  "onChange",
13
13
  "disabled",
14
14
  "readOnly",
15
15
  "formData",
16
- "env"
17
- ], g = new Set([
16
+ "env",
17
+ "widget"
18
+ ], h = new Set([
18
19
  "script",
19
20
  "iframe",
20
21
  "object",
21
22
  "embed",
22
23
  "link"
23
- ]), _ = new Set([
24
+ ]), g = new Set([
24
25
  "loc",
25
26
  "start",
26
27
  "end",
@@ -29,73 +30,73 @@ var f = ["react", "lucide-react"], p = new Set(f), m = f.join("、"), h = [
29
30
  "leadingComments",
30
31
  "trailingComments",
31
32
  "innerComments"
32
- ]), v = /url\(\s*['"]?\s*(?:https?:)?\/\//i, y = (e) => e?.type === "FunctionDeclaration" || e?.type === "FunctionExpression" || e?.type === "ArrowFunctionExpression";
33
- function b(e, t) {
33
+ ]), _ = /url\(\s*['"]?\s*(?:https?:)?\/\//i, v = (e) => e?.type === "FunctionDeclaration" || e?.type === "FunctionExpression" || e?.type === "ArrowFunctionExpression";
34
+ function y(e, t) {
34
35
  if (!(!e || typeof e.type != "string") && t(e) !== !1) for (let n of Object.keys(e)) {
35
- if (_.has(n)) continue;
36
+ if (g.has(n)) continue;
36
37
  let r = e[n];
37
- Array.isArray(r) ? r.forEach((e) => b(e, t)) : r && typeof r == "object" && b(r, t);
38
+ Array.isArray(r) ? r.forEach((e) => y(e, t)) : r && typeof r == "object" && y(r, t);
38
39
  }
39
40
  }
40
- function x(e) {
41
+ function b(e) {
41
42
  let t = e.body.find((e) => e.type === "ExportDefaultDeclaration")?.declaration;
42
43
  if (!t) return null;
43
- if (y(t)) return t;
44
+ if (v(t)) return t;
44
45
  if (t.type !== "Identifier") return null;
45
46
  for (let n of e.body) {
46
47
  if (n.type === "FunctionDeclaration" && n.id?.name === t.name) return n;
47
48
  if (n.type === "VariableDeclaration") {
48
- let e = n.declarations.find((e) => e.id?.name === t.name && y(e.init));
49
+ let e = n.declarations.find((e) => e.id?.name === t.name && v(e.init));
49
50
  if (e) return e.init;
50
51
  }
51
52
  }
52
53
  return null;
53
54
  }
54
- var S = (e) => e.computed ? null : e.key.type === "Identifier" ? e.key.name : e.key.type === "StringLiteral" ? e.key.value : null;
55
- function C(e, t, n) {
55
+ var x = (e) => e.computed ? null : e.key.type === "Identifier" ? e.key.name : e.key.type === "StringLiteral" ? e.key.value : null;
56
+ function S(e, t, n) {
56
57
  for (let r of e.properties) {
57
58
  if (r.type === "RestElement") {
58
- n.push(`组件不能用 ...rest 收集 props,请只解构 ${h.join("、")}。`);
59
+ n.push(`组件不能用 ...rest 收集 props,请只解构 ${m.join("、")}。`);
59
60
  continue;
60
61
  }
61
- let e = S(r);
62
- e === null ? n.push("组件的 props 不能使用计算属性名。") : h.includes(e) || t.add(e);
62
+ let e = x(r);
63
+ e === null ? n.push("组件的 props 不能使用计算属性名。") : m.includes(e) || t.add(e);
63
64
  }
64
65
  }
65
- function w(e) {
66
+ function C(e) {
66
67
  let t = [], n = /* @__PURE__ */ new Set(), [r] = e.params;
67
- return e.params.length > 1 && t.push("组件只接收一个 props 参数,不能有第二个参数(如 ref)。"), r?.type === "AssignmentPattern" && (r = r.left), r?.type === "ObjectPattern" ? C(r, n, t) : r?.type === "Identifier" && b(e.body, (e) => {
68
+ return e.params.length > 1 && t.push("组件只接收一个 props 参数,不能有第二个参数(如 ref)。"), r?.type === "AssignmentPattern" && (r = r.left), r?.type === "ObjectPattern" ? S(r, n, t) : r?.type === "Identifier" && y(e.body, (e) => {
68
69
  if (e.type === "MemberExpression" && e.object?.name === r.name) {
69
70
  let r = e.computed ? null : e.property.name;
70
- return r === null ? t.push("组件不能用动态键读取 props。") : h.includes(r) || n.add(r), !1;
71
+ return r === null ? t.push("组件不能用动态键读取 props。") : m.includes(r) || n.add(r), !1;
71
72
  }
72
- return e.type === "VariableDeclarator" && e.init?.name === r.name && e.id.type === "ObjectPattern" ? (C(e.id, n, t), !1) : !0;
73
- }), n.size && t.unshift(`组件签名只能接收 ${h.join("、")},发现多余的 props:${[...n].join("、")}。平台不会传入它们,请删除,需要的文案或配置直接写在组件内部。`), t;
73
+ return e.type === "VariableDeclarator" && e.init?.name === r.name && e.id.type === "ObjectPattern" ? (S(e.id, n, t), !1) : !0;
74
+ }), n.size && t.unshift(`组件签名只能接收 ${m.join("、")},发现多余的 props:${[...n].join("、")}。平台不会传入它们,请删除。`), t;
74
75
  }
75
- function T(e) {
76
+ function w(e) {
76
77
  let t = /* @__PURE__ */ new Set();
77
- return b(e, (e) => {
78
+ return y(e, (e) => {
78
79
  switch (e.type) {
79
- case "ImportDeclaration": return p.has(e.source.value) || t.add(`import "${e.source.value}"(只能 import ${m})`), !1;
80
+ case "ImportDeclaration": return f.has(e.source.value) || t.add(`import "${e.source.value}"(只能 import ${p})`), !1;
80
81
  case "Import":
81
82
  case "ImportExpression": return t.add("动态 import()"), !0;
82
83
  case "JSXOpeningElement": {
83
84
  let n = e.name?.name;
84
- return g.has(n) && t.add(`<${n}>`), !0;
85
+ return h.has(n) && t.add(`<${n}>`), !0;
85
86
  }
86
87
  case "JSXAttribute": return e.name?.name === "dangerouslySetInnerHTML" && t.add("dangerouslySetInnerHTML"), !0;
87
88
  default: return !0;
88
89
  }
89
90
  }), [...t];
90
91
  }
91
- function E(e) {
92
+ function T(e) {
92
93
  let t = [];
93
- return /@import\b/i.test(e) && t.push("CSS 中不能使用 @import。"), v.test(e) && t.push("CSS 中不能引用外部地址,图片请用内联 svg 或 data: 地址。"), t;
94
+ return /@import\b/i.test(e) && t.push("CSS 中不能使用 @import。"), _.test(e) && t.push("CSS 中不能引用外部地址,图片请用内联 svg 或 data: 地址。"), t;
94
95
  }
95
- function D(e, t = null) {
96
+ function E(e, t = null) {
96
97
  let n = [], r = null;
97
98
  try {
98
- r = c.packages.parser.parse(e, {
99
+ r = s.packages.parser.parse(e, {
99
100
  sourceType: "module",
100
101
  plugins: ["jsx"]
101
102
  }).program;
@@ -103,21 +104,21 @@ function D(e, t = null) {
103
104
  if (!(e instanceof SyntaxError)) throw e;
104
105
  }
105
106
  if (r) {
106
- let e = x(r);
107
- e && n.push(...w(e));
108
- let t = T(r);
107
+ let e = b(r);
108
+ e && n.push(...C(e));
109
+ let t = w(r);
109
110
  t.length && n.push(`不允许使用:${t.join("、")}。组件只能 import 宿主注册过的模块,也不能注入脚本和原始 HTML。`);
110
111
  }
111
- return t != null && n.push(...E(t)), n;
112
+ return t != null && n.push(...T(t)), n;
112
113
  }
113
- function O(e, t = null) {
114
- let n = D(e, t);
114
+ function D(e, t = null) {
115
+ let n = E(e, t);
115
116
  if (n.length) throw Error(`组件不符合运行时约束:\n${n.map((e) => `- ${e}`).join("\n")}`);
116
117
  }
117
118
  //#endregion
118
119
  //#region ../shared/src/ai-runtime/checkCssSyntax.ts
119
- function k(e, t = "style.css") {
120
- e?.trim() && u(l(e, {
120
+ function O(e, t = "style.css") {
121
+ e?.trim() && l(c(e, {
121
122
  filename: t,
122
123
  positions: !0,
123
124
  onParseError(e) {
@@ -130,15 +131,15 @@ function k(e, t = "style.css") {
130
131
  }
131
132
  //#endregion
132
133
  //#region ../shared/src/ai-runtime/sourceText.ts
133
- var A = /function\s+([A-Za-z_$][\w$]*)/, j = /export\s+default\b/;
134
- function M(e) {
135
- if (!e || j.test(e)) return e;
136
- let t = e.match(A)?.[1];
134
+ var k = /function\s+([A-Za-z_$][\w$]*)/, A = /export\s+default\b/;
135
+ function j(e) {
136
+ if (!e || A.test(e)) return e;
137
+ let t = e.match(k)?.[1];
137
138
  return t ? `${e.trim()}\nexport default ${t};\n` : e;
138
139
  }
139
140
  //#endregion
140
141
  //#region ../shared/src/ai-runtime/parseSourceCode.ts
141
- var N = /<(jsx|css)>([\s\S]*?)<\/\1>/g, te = {
142
+ var M = /<(jsx|css)>([\s\S]*?)<\/\1>/g, N = {
142
143
  ast: !1,
143
144
  sourceType: "module",
144
145
  presets: [["react", {
@@ -150,7 +151,7 @@ var N = /<(jsx|css)>([\s\S]*?)<\/\1>/g, te = {
150
151
  function P(e) {
151
152
  if (typeof e != "string" || !e.trim()) return null;
152
153
  let t = null, n = null;
153
- for (let r of e.matchAll(N)) {
154
+ for (let r of e.matchAll(M)) {
154
155
  let e = r[2].trim();
155
156
  r[1] === "jsx" && (t = e), r[1] === "css" && (n = e);
156
157
  }
@@ -163,10 +164,10 @@ var ne = "export default function AiRuntimeField() {\n return null;\n}";
163
164
  function F(e, t = "ai") {
164
165
  let n = P(e);
165
166
  if (!n) throw Error("code 里没有可用的 <jsx> 或 <css>。");
166
- let r = M(n.jsx || ne), i = n.css ?? "";
167
- i && k(i, `${t}.css`), O(r, i || null);
168
- let a = c.transform(r, {
169
- ...te,
167
+ let r = j(n.jsx || ne), i = n.css ?? "";
168
+ i && O(i, `${t}.css`), D(r, i || null);
169
+ let a = s.transform(r, {
170
+ ...N,
170
171
  filename: `${t}.jsx`
171
172
  });
172
173
  if (!a?.code) throw Error("Babel 没有产出可执行的代码。");
@@ -177,15 +178,15 @@ function F(e, t = "ai") {
177
178
  }
178
179
  //#endregion
179
180
  //#region ../shared/src/ai-runtime/compileCache.ts
180
- var re = 200, I = /* @__PURE__ */ new Map(), ie = Object.freeze({
181
+ var I = 200, L = /* @__PURE__ */ new Map(), re = Object.freeze({
181
182
  ok: !1,
182
183
  code: "",
183
184
  css: "",
184
185
  error: null
185
- }), L = (e, t) => {
186
- if (typeof e != "string" || !e.trim()) return ie;
187
- let n = I.get(e);
188
- if (n) return I.delete(e), I.set(e, n), n;
186
+ }), R = (e, t) => {
187
+ if (typeof e != "string" || !e.trim()) return re;
188
+ let n = L.get(e);
189
+ if (n) return L.delete(e), L.set(e, n), n;
189
190
  let r;
190
191
  try {
191
192
  let n = F(e, t);
@@ -203,42 +204,42 @@ var re = 200, I = /* @__PURE__ */ new Map(), ie = Object.freeze({
203
204
  error: e
204
205
  };
205
206
  }
206
- if (I.size >= re) {
207
- let e = I.keys().next().value;
208
- e !== void 0 && I.delete(e);
207
+ if (L.size >= I) {
208
+ let e = L.keys().next().value;
209
+ e !== void 0 && L.delete(e);
209
210
  }
210
- return I.set(e, r), r;
211
- }, ae = () => {
212
- I.clear();
213
- }, R = (e, t) => {
211
+ return L.set(e, r), r;
212
+ }, ie = () => {
213
+ L.clear();
214
+ }, z = (e, t) => {
214
215
  let n = {};
215
216
  for (let t of Object.keys(e)) n[t] = e[t];
216
217
  return (n.default === void 0 || n.default === null) && (n.default = t), Object.defineProperty(n, "__esModule", { value: !0 }), n;
217
- }, z = t.default || t, oe = {
218
- react: R(t, z),
219
- "lucide-react": R(d, d)
220
- }, B = {};
221
- for (let e of f) {
222
- let t = oe[e];
218
+ }, B = t.default || t, ae = {
219
+ react: z(t, B),
220
+ "lucide-react": z(u, u)
221
+ }, V = {};
222
+ for (let e of d) {
223
+ let t = ae[e];
223
224
  if (!t) throw Error(`模块 ${e} 在白名单里但没有实现。`);
224
- B[e] = t;
225
+ V[e] = t;
225
226
  }
226
- var V = Object.keys(B), se = (e) => {
227
- let t = B[e];
227
+ var H = Object.keys(V), oe = (e) => {
228
+ let t = V[e];
228
229
  if (t) return t;
229
- throw Error(`Unknown module: ${e}(组件只能 require ${V.join("、")})`);
230
- }, H = {
230
+ throw Error(`Unknown module: ${e}(组件只能 require ${H.join("、")})`);
231
+ }, U = {
231
232
  COMPILE: 4001,
232
233
  EXECUTE: 4002,
233
234
  RENDER: 5001,
234
235
  RUNTIME: 5002
235
- }, U = new Set(Object.values(H)), W = (e, t) => {
236
+ }, se = new Set(Object.values(U)), W = (e, t) => {
236
237
  let n = e instanceof Error ? e : Error(String(e)), r = n.code;
237
- return (typeof r != "number" || !U.has(r)) && (n.code = t), n;
238
+ return (typeof r != "number" || !se.has(r)) && (n.code = t), n;
238
239
  }, G = 0, ce = (e) => (G += 1, `ai-runtime-${e}-${G}.js`), le = (e, t) => {
239
240
  if (!e) throw Error("没有可执行的代码。");
240
241
  let n = {}, r = `${e}\n//# sourceURL=${t}`;
241
- if (Function("require", "exports", "React", r)(se, n, z), typeof n.default != "function") throw Error("Missing default export:组件必须默认导出一个函数。");
242
+ if (Function("require", "exports", "React", r)(oe, n, B), typeof n.default != "function") throw Error("Missing default export:组件必须默认导出一个函数。");
242
243
  return n.default;
243
244
  }, K = /* @__PURE__ */ new Map(), q = !1, J = /* @__PURE__ */ new WeakSet(), ue = (e) => {
244
245
  e && typeof e == "object" && J.add(e);
@@ -247,7 +248,7 @@ var V = Object.keys(B), se = (e) => {
247
248
  let t = e instanceof Error ? e.stack : void 0;
248
249
  if (typeof t == "string") {
249
250
  for (let [n, r] of K) if (t.includes(n)) {
250
- r(W(e, H.RUNTIME));
251
+ r(W(e, U.RUNTIME));
251
252
  return;
252
253
  }
253
254
  }
@@ -263,41 +264,41 @@ var V = Object.keys(B), se = (e) => {
263
264
  de(), K.set(e, t);
264
265
  }, pe = (e) => {
265
266
  K.delete(e);
266
- }, me = /(^|[\s,>+~(])(?::root\b|html\b|body\b)/gi, X = (e) => typeof e != "string" || !e ? "" : e.replace(me, "$1:host"), he = typeof window > "u" ? i : a, Z = class extends n {
267
+ }, me = /(^|[\s,>+~(])(?::root\b|html\b|body\b)/gi, X = (e) => typeof e != "string" || !e ? "" : e.replace(me, "$1:host"), he = typeof window > "u" ? i : a, ge = class extends n {
267
268
  state = { failed: !1 };
268
269
  static getDerivedStateFromError() {
269
270
  return { failed: !0 };
270
271
  }
271
272
  componentDidCatch(e) {
272
- ue(e), this.props.onError(W(e, H.RENDER));
273
+ ue(e), this.props.onError(W(e, U.RENDER));
273
274
  }
274
275
  render() {
275
276
  return this.state.failed ? null : this.props.children;
276
277
  }
277
- }, ge = new Set([
278
+ }, _e = new Set([
278
279
  "form",
279
280
  "table",
280
281
  "card"
281
- ]), _e = (e) => ({
282
- view: ge.has(e?.view) ? e?.view : "form",
282
+ ]), Z = (e) => ({
283
+ view: _e.has(e?.view) ? e?.view : "form",
283
284
  platform: e?.platform === "mobile" ? "mobile" : "pc"
284
285
  }), Q = (e, t) => {
285
- let n = e ?? {};
286
- return {
286
+ let n = e ?? {}, r = {
287
287
  value: n.value ?? "",
288
288
  disabled: !!n.disabled,
289
289
  readOnly: !!n.readOnly,
290
290
  formData: n.formData || {},
291
- env: _e(n.env),
291
+ env: Z(n.env),
292
292
  onChange: t
293
293
  };
294
+ return n.widget && (r.widget = n.widget), r;
294
295
  }, ve = {
295
296
  ok: !1,
296
297
  error: null,
297
298
  Component: null
298
299
  };
299
300
  function ye(t) {
300
- let n = ({ code: n, value: a, disabled: c, readOnly: l, formData: u, env: d, runToken: f, height: p, minHeight: m, className: h, style: g, onChange: _, onError: v }) => {
301
+ let n = ({ code: n, value: a, disabled: s, readOnly: c, formData: l, env: u, widget: d, runToken: f, height: p, minHeight: m, className: h, style: g, onChange: _, onError: v }) => {
301
302
  let y = o(null), b = o(null), x = o(null), S = o({});
302
303
  S.current = {
303
304
  onChange: _,
@@ -305,7 +306,7 @@ function ye(t) {
305
306
  };
306
307
  let C = o(null);
307
308
  C.current === null && (C.current = ce(t));
308
- let w = C.current, T = L(n), E = o({
309
+ let w = C.current, T = R(n), E = o({
309
310
  source: void 0,
310
311
  token: void 0,
311
312
  result: ve
@@ -342,18 +343,20 @@ function ye(t) {
342
343
  if (!e) return null;
343
344
  let t = e.shadowRoot || e.attachShadow({ mode: "open" }), n = document.createElement("style"), r = document.createElement("div");
344
345
  return r.setAttribute("data-ai-runtime-mount", ""), r.style.height = "100%", t.append(n, r), b.current = {
345
- root: s(r, { onUncaughtError: (e) => S.current.onError?.(W(e, H.RUNTIME)) }),
346
+ root: te(r, { onUncaughtError: (e) => S.current.onError?.(W(e, U.RUNTIME)) }),
346
347
  styleEl: n,
347
348
  mountEl: r
348
349
  }, b.current;
349
350
  }, []), j = ee(() => Q({
350
351
  value: a,
351
- disabled: c,
352
- readOnly: l,
353
- formData: u,
354
- env: d
352
+ disabled: s,
353
+ readOnly: c,
354
+ formData: l,
355
+ env: u,
356
+ widget: d
355
357
  }, O), [
356
358
  a,
359
+ s,
357
360
  c,
358
361
  l,
359
362
  u,
@@ -366,7 +369,7 @@ function ye(t) {
366
369
  let { root: n, styleEl: r } = t;
367
370
  if (!D.ok) {
368
371
  if (x.current !== D && (x.current = D, r.textContent = "", n.render(null), D.error)) {
369
- let e = T.ok ? H.EXECUTE : H.COMPILE;
372
+ let e = T.ok ? U.EXECUTE : U.COMPILE;
370
373
  S.current.onError?.(W(D.error, e));
371
374
  }
372
375
  return;
@@ -375,7 +378,7 @@ function ye(t) {
375
378
  let i = X(T.css);
376
379
  r.textContent !== i && (r.textContent = i);
377
380
  let a = D.Component;
378
- n.render(/* @__PURE__ */ e(Z, {
381
+ n.render(/* @__PURE__ */ e(ge, {
379
382
  onError: k,
380
383
  children: /* @__PURE__ */ e(a, { ...j })
381
384
  }));
@@ -392,7 +395,6 @@ function ye(t) {
392
395
  let M = {
393
396
  height: p ?? "auto",
394
397
  minHeight: m ?? 32,
395
- overflow: "auto",
396
398
  contain: "layout paint",
397
399
  ...g
398
400
  };
@@ -409,4 +411,4 @@ function ye(t) {
409
411
  //#region src/components/AiRuntimeContainer/index.ts
410
412
  var $ = ye("ui-base");
411
413
  //#endregion
412
- export { $ as AiRuntimeContainer, $ as default, H as ERROR_CODE, V as MODULE_NAMES, O as assertFieldSource, ae as clearCompileCache, F as compileAiCode, L as compileCached, X as scopeCss, P as splitAiCode, Q as toPlainProps, D as validateFieldSource };
414
+ export { $ as AiRuntimeContainer, $ as default, U as ERROR_CODE, H as MODULE_NAMES, D as assertFieldSource, ie as clearCompileCache, F as compileAiCode, R as compileCached, X as scopeCss, P as splitAiCode, Q as toPlainProps, E as validateFieldSource };
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../vendors/LocaleContext-CsTLO_Y2.js";
3
3
  import "../vendors/ConfigProvider-BDmu_0qa.js";
4
4
  import "../Overlay/OverlayContext-CVSFoyqN.js";
@@ -3,7 +3,7 @@ import { t } from "../vendors/cssVars-BbL_cmFM.js";
3
3
  import { t as n } from "../vendors/useLocale-DvhRopWF.js";
4
4
  import { t as r } from "../Segmented/Segmented-AHLqTK7U.js";
5
5
  import { t as i } from "../Tooltip/Tooltip-N-w19uRu.js";
6
- import { t as a } from "../DatePicker/DatePicker-C0Nmq8I2.js";
6
+ import { t as a } from "../DatePicker/DatePicker-S_3B0hvP.js";
7
7
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
8
8
  import { memo as c, useCallback as l, useEffect as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
9
9
  import h from "clsx";
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../Icon/Icon-CcKDWNGy.js";
3
3
  import "../vendors/LocaleContext-CsTLO_Y2.js";
4
4
  import "../Overlay/OverlayContext-CVSFoyqN.js";
@@ -7,7 +7,7 @@ import "../vendors/useLocale-DvhRopWF.js";
7
7
  import "../vendors/useLatchedPopupPortalRoot-Cu3oUL9h.js";
8
8
  import "../Segmented/Segmented-AHLqTK7U.js";
9
9
  import "../Tooltip/Tooltip-N-w19uRu.js";
10
- import { n as e, r as t, t as n } from "./Calendar-sHaTag1q.js";
11
- import "../DatePicker/DatePicker-C0Nmq8I2.js";
10
+ import { n as e, r as t, t as n } from "./Calendar-DWJZdsLP.js";
11
+ import "../DatePicker/DatePicker-S_3B0hvP.js";
12
12
  import "../DatePicker/pickerLocale-Brf7_Tnd.js";
13
13
  export { n as Calendar, n as default, t as resolveCalendarThemeVars, e as resolvePlatformCalendarTheme };
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../Icon/Icon-CcKDWNGy.js";
3
3
  import { t as e } from "./Card-Cdb5cVMG.js";
4
4
  export { e as default };
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../Icon/Icon-CcKDWNGy.js";
3
3
  import "./CheckBox-BXKoPSBh.js";
4
4
  import { t as e } from "./CheckBox-DihUnPT-.js";
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../Icon/Icon-CcKDWNGy.js";
3
3
  import "../vendors/LocaleContext-CsTLO_Y2.js";
4
4
  import "../Overlay/OverlayContext-CVSFoyqN.js";
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../vendors/LocaleContext-CsTLO_Y2.js";
3
3
  import { n as e, t } from "../vendors/ConfigProvider-BDmu_0qa.js";
4
4
  import "../Overlay/OverlayContext-CVSFoyqN.js";
@@ -48,7 +48,7 @@ var w = {
48
48
  "bsy-date-picker__content": "_bsy-date-picker__content_1i2le_33",
49
49
  "bsy-date-picker__divider": "_bsy-date-picker__divider_1i2le_43",
50
50
  "bsy-date-picker__panel-loading": "_bsy-date-picker__panel-loading_1i2le_49"
51
- }, j = m(() => import("./DatePickerPanel-DfcL9HJ5.js")), M = (n) => {
51
+ }, j = m(() => import("./DatePickerPanel-CJ37HEd0.js")), M = (n) => {
52
52
  let { children: m, picker: S = "date", theme: w, getPopupContainer: D, triggerActiveClassName: O, zIndex: M } = n, { locale: N } = i(), P = e(M), [F, I] = v(n, {
53
53
  defaultValuePropName: "defaultValue",
54
54
  valuePropName: "value",
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import { t as e } from "../Icon/Icon-CcKDWNGy.js";
3
3
  import "../vendors/LocaleContext-CsTLO_Y2.js";
4
4
  import { t } from "../vendors/useLocale-DvhRopWF.js";
@@ -1,9 +1,9 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../vendors/LocaleContext-CsTLO_Y2.js";
3
3
  import "../Overlay/OverlayContext-CVSFoyqN.js";
4
4
  import "../vendors/useFloatingOverlay-DlLAeqUv.js";
5
5
  import "../vendors/useLocale-DvhRopWF.js";
6
6
  import "../vendors/useLatchedPopupPortalRoot-Cu3oUL9h.js";
7
- import { t as e } from "./DatePicker-C0Nmq8I2.js";
7
+ import { t as e } from "./DatePicker-S_3B0hvP.js";
8
8
  import "./pickerLocale-Brf7_Tnd.js";
9
9
  export { e as default };
@@ -6,7 +6,7 @@ import { r as a } from "../vendors/animations-DNlwdSQ2.js";
6
6
  import { t as o } from "../vendors/useLatchedPopupPortalRoot-Cu3oUL9h.js";
7
7
  import { t as s } from "../Select/SelectInputSearch-Bt2i3y3d.js";
8
8
  import { t as c } from "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
9
- import { t as l } from "../ScrollBar/ScrollBar-B7R4brL_.js";
9
+ import { t as l } from "../ScrollBar/ScrollBar-DJ6DaHDb.js";
10
10
  import { t as u } from "../vendors/useFloatingPortal-DJ1iKmW-.js";
11
11
  import { isEmpty as d, isNumber as f } from "lodash-es";
12
12
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../ScrollBar/style-D26azwz6.js";
3
3
  import "../Icon/Icon-CcKDWNGy.js";
4
4
  import "../vendors/LocaleContext-CsTLO_Y2.js";
@@ -7,7 +7,7 @@ import "../vendors/useLocale-DvhRopWF.js";
7
7
  import "../vendors/useLatchedPopupPortalRoot-Cu3oUL9h.js";
8
8
  import "../Select/SelectInputSearch-Bt2i3y3d.js";
9
9
  import "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
10
- import "../ScrollBar/ScrollBar-B7R4brL_.js";
10
+ import "../ScrollBar/ScrollBar-DJ6DaHDb.js";
11
11
  import "../vendors/useFloatingPortal-DJ1iKmW-.js";
12
- import { t as e } from "./DropDown-Bb4dkd_c.js";
12
+ import { t as e } from "./DropDown-D97QGQpV.js";
13
13
  export { e as default };
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../ScrollBar/style-D26azwz6.js";
3
3
  import { t as e } from "../Icon/Icon-CcKDWNGy.js";
4
4
  import "../vendors/LocaleContext-CsTLO_Y2.js";
@@ -16,9 +16,9 @@ import "../Select/SelectInputSearch-Bt2i3y3d.js";
16
16
  import "../CheckBox/CheckBox-BXKoPSBh.js";
17
17
  import { t as l } from "../CheckBox/CheckBox-DihUnPT-.js";
18
18
  import "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
19
- import { t as u } from "../ScrollBar/ScrollBar-B7R4brL_.js";
19
+ import { t as u } from "../ScrollBar/ScrollBar-DJ6DaHDb.js";
20
20
  import { t as d } from "../vendors/useFloatingPortal-DJ1iKmW-.js";
21
- import { t as f } from "../DropDown/DropDown-Bb4dkd_c.js";
21
+ import { t as f } from "../DropDown/DropDown-D97QGQpV.js";
22
22
  import { dropRightWhile as p, dropWhile as m, keyBy as h, omit as g, range as _ } from "lodash-es";
23
23
  import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
24
24
  import x, { createContext as S, forwardRef as C, memo as w, useCallback as T, useContext as E, useDeferredValue as D, useEffect as O, useId as ee, useImperativeHandle as te, useLayoutEffect as k, useMemo as A, useRef as j, useState as M } from "react";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../Icon/Icon-CcKDWNGy.js";
2
2
  import { t } from "../vendors/cssVars-BbL_cmFM.js";
3
- import { t as n } from "../DropDown/DropDown-Bb4dkd_c.js";
3
+ import { t as n } from "../DropDown/DropDown-D97QGQpV.js";
4
4
  import { t as r } from "../vendors/hasTextSelection-7Q4xY0kK.js";
5
5
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
6
  import { Children as o, isValidElement as s, useMemo as c, useState as l } from "react";
@@ -1,4 +1,4 @@
1
- import "../vendors/version-PykRMMOY.js";
1
+ import "../vendors/version-C8xqF4_b.js";
2
2
  import "../ScrollBar/style-D26azwz6.js";
3
3
  import "../Icon/Icon-CcKDWNGy.js";
4
4
  import "../vendors/LocaleContext-CsTLO_Y2.js";
@@ -7,8 +7,8 @@ import "../vendors/useLocale-DvhRopWF.js";
7
7
  import "../vendors/useLatchedPopupPortalRoot-Cu3oUL9h.js";
8
8
  import "../Select/SelectInputSearch-Bt2i3y3d.js";
9
9
  import "../NotFoundContent/NotFoundContent-DJUQ0_2D.js";
10
- import "../ScrollBar/ScrollBar-B7R4brL_.js";
10
+ import "../ScrollBar/ScrollBar-DJ6DaHDb.js";
11
11
  import "../vendors/useFloatingPortal-DJ1iKmW-.js";
12
- import "../DropDown/DropDown-Bb4dkd_c.js";
13
- import { t as e } from "./FieldCard-DNwwutu3.js";
12
+ import "../DropDown/DropDown-D97QGQpV.js";
13
+ import { t as e } from "./FieldCard-CTrNTXFc.js";
14
14
  export { e as FieldCard, e as default };