@a2simcode/ui 0.0.156 → 0.0.157

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.
@@ -26,4 +26,10 @@ export declare const getLabel: (value: any, getLabelFromApp: any, data: {
26
26
  formData: Record<string, any>;
27
27
  getTableData?: () => Record<string, any>[];
28
28
  row?: Record<string, any>;
29
- }) => any;
29
+ }) => {
30
+ label: any;
31
+ config: {
32
+ [x: string]: any;
33
+ };
34
+ type: any;
35
+ };
@@ -535,13 +535,11 @@ var bc = (e, t, n, a) => {
535
535
  type: o
536
536
  };
537
537
  if (o === "j-autocomplete") return i;
538
- if (a && a.options) {
539
- if (e?.split) {
540
- const r = e.split(","), l = $f(a.options);
541
- return r.map((c) => l.find((s) => s.value === c)?.label).join(o === "j-cascader-select" ? "/" : ",");
542
- }
543
- i.label = a.options.find((r) => r.value === e)?.label;
544
- } else t && (i.label = t({
538
+ if (a && a.options) if (e?.split) {
539
+ const r = e.split(","), l = $f(a.options);
540
+ i.label = r.map((c) => l.find((s) => s.value === c)?.label).join(o === "j-cascader-select" ? "/" : ",");
541
+ } else i.label = a.options.find((r) => r.value === e)?.label;
542
+ else t && (i.label = t({
545
543
  value: e,
546
544
  type: o,
547
545
  config: a,
@@ -5377,7 +5375,7 @@ var jp = class {
5377
5375
  formData: s || {},
5378
5376
  row: v,
5379
5377
  getTableData: y
5380
- }) || [] : [];
5378
+ }) || [] : C.value.options || [];
5381
5379
  }), A = O(() => n.isTableCell && (S.value === "j-radio" || S.value === "j-checkbox") ? "j-select" : S.value === "j-textarea" ? "j-input" : ((S.value == null || S.value === "") && console.warn("组件类型不能为空"), S.value)), H = (P) => l({
5382
5380
  value: P,
5383
5381
  config: D.value || {},