@wx-design/components 1.5.2 → 1.5.3
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/es/core/ConfigProvider/index.d.ts +9 -0
- package/es/index.mjs +71 -26
- package/es/locales/lang/bn.d.ts +9 -0
- package/es/locales/lang/en.d.ts +9 -0
- package/es/locales/lang/vi.d.ts +9 -0
- package/es/locales/lang/zh-cn.d.ts +9 -0
- package/es/locales/useLocale.d.ts +9 -0
- package/lib/core/ConfigProvider/index.d.ts +9 -0
- package/lib/index.js +2 -2
- package/lib/locales/lang/bn.d.ts +9 -0
- package/lib/locales/lang/en.d.ts +9 -0
- package/lib/locales/lang/vi.d.ts +9 -0
- package/lib/locales/lang/zh-cn.d.ts +9 -0
- package/lib/locales/useLocale.d.ts +9 -0
- package/package.json +1 -1
|
@@ -34,6 +34,15 @@ export declare const useConfigProvide: () => {
|
|
|
34
34
|
total: string;
|
|
35
35
|
close: string;
|
|
36
36
|
confirm: string;
|
|
37
|
+
custom: {
|
|
38
|
+
confirmButtonText: string;
|
|
39
|
+
resetButtonText: string;
|
|
40
|
+
cancelButtonText: string;
|
|
41
|
+
closeButtonText: string;
|
|
42
|
+
modal: {
|
|
43
|
+
title: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
37
46
|
};
|
|
38
47
|
};
|
|
39
48
|
};
|
package/es/index.mjs
CHANGED
|
@@ -16544,7 +16544,16 @@ const LC = /* @__PURE__ */ Qr(eY), Uf = {
|
|
|
16544
16544
|
emptyText: "暂无数据",
|
|
16545
16545
|
total: "汇总",
|
|
16546
16546
|
close: "关闭",
|
|
16547
|
-
confirm: "确认"
|
|
16547
|
+
confirm: "确认",
|
|
16548
|
+
custom: {
|
|
16549
|
+
confirmButtonText: "确认",
|
|
16550
|
+
resetButtonText: "重置",
|
|
16551
|
+
cancelButtonText: "取消",
|
|
16552
|
+
closeButtonText: "关闭",
|
|
16553
|
+
modal: {
|
|
16554
|
+
title: "列设置"
|
|
16555
|
+
}
|
|
16556
|
+
}
|
|
16548
16557
|
}
|
|
16549
16558
|
}
|
|
16550
16559
|
};
|
|
@@ -18658,7 +18667,16 @@ const tY = {
|
|
|
18658
18667
|
emptyText: "No data available",
|
|
18659
18668
|
total: "Total",
|
|
18660
18669
|
close: "Close",
|
|
18661
|
-
confirm: "Confirm"
|
|
18670
|
+
confirm: "Confirm",
|
|
18671
|
+
custom: {
|
|
18672
|
+
confirmButtonText: "Confirm",
|
|
18673
|
+
resetButtonText: "Reset",
|
|
18674
|
+
cancelButtonText: "Cancel",
|
|
18675
|
+
closeButtonText: "Close",
|
|
18676
|
+
modal: {
|
|
18677
|
+
title: "Column Settings"
|
|
18678
|
+
}
|
|
18679
|
+
}
|
|
18662
18680
|
}
|
|
18663
18681
|
}
|
|
18664
18682
|
}, nY = {
|
|
@@ -18692,7 +18710,16 @@ const tY = {
|
|
|
18692
18710
|
emptyText: "Không có dữ liệu",
|
|
18693
18711
|
total: "Tổng cộng",
|
|
18694
18712
|
close: "Đóng",
|
|
18695
|
-
confirm: "Xác nhận"
|
|
18713
|
+
confirm: "Xác nhận",
|
|
18714
|
+
custom: {
|
|
18715
|
+
confirmButtonText: "Xác nhận",
|
|
18716
|
+
resetButtonText: "Đặt lại",
|
|
18717
|
+
cancelButtonText: "Hủy",
|
|
18718
|
+
closeButtonText: "Đóng",
|
|
18719
|
+
modal: {
|
|
18720
|
+
title: "Cấu hình cột"
|
|
18721
|
+
}
|
|
18722
|
+
}
|
|
18696
18723
|
}
|
|
18697
18724
|
}
|
|
18698
18725
|
}, oY = {
|
|
@@ -18726,7 +18753,16 @@ const tY = {
|
|
|
18726
18753
|
emptyText: "কোনো ডেটা নেই",
|
|
18727
18754
|
total: "মোট",
|
|
18728
18755
|
close: "বন্ধ করুন",
|
|
18729
|
-
confirm: "নিশ্চিত করুন"
|
|
18756
|
+
confirm: "নিশ্চিত করুন",
|
|
18757
|
+
custom: {
|
|
18758
|
+
confirmButtonText: "নিশ্চিত করুন",
|
|
18759
|
+
resetButtonText: "রিসেট",
|
|
18760
|
+
cancelButtonText: "বাতিল",
|
|
18761
|
+
closeButtonText: "বন্ধ করুন",
|
|
18762
|
+
modal: {
|
|
18763
|
+
title: "কলাম সেটিংস"
|
|
18764
|
+
}
|
|
18765
|
+
}
|
|
18730
18766
|
}
|
|
18731
18767
|
}
|
|
18732
18768
|
};
|
|
@@ -44802,50 +44838,59 @@ function wJ(e) {
|
|
|
44802
44838
|
} = e, n = Te(), {
|
|
44803
44839
|
locale: o
|
|
44804
44840
|
} = Wa(), r = R(() => {
|
|
44805
|
-
var f, u;
|
|
44841
|
+
var f, u, d, p, h, g, C, S, E, v, T, x;
|
|
44806
44842
|
const c = a5({
|
|
44807
44843
|
keyboardConfig: {
|
|
44808
44844
|
editMethod({
|
|
44809
|
-
row:
|
|
44810
|
-
column:
|
|
44845
|
+
row: b,
|
|
44846
|
+
column: y
|
|
44811
44847
|
}) {
|
|
44812
|
-
return n.value.setEditCell(
|
|
44848
|
+
return n.value.setEditCell(b, y), !0;
|
|
44849
|
+
}
|
|
44850
|
+
},
|
|
44851
|
+
customConfig: {
|
|
44852
|
+
confirmButtonText: (u = (f = o.value) == null ? void 0 : f.sabDesign) == null ? void 0 : u.table.custom.confirmButtonText,
|
|
44853
|
+
resetButtonText: (p = (d = o.value) == null ? void 0 : d.sabDesign) == null ? void 0 : p.table.custom.resetButtonText,
|
|
44854
|
+
closeButtonText: (g = (h = o.value) == null ? void 0 : h.sabDesign) == null ? void 0 : g.table.custom.closeButtonText,
|
|
44855
|
+
cancelButtonText: (S = (C = o.value) == null ? void 0 : C.sabDesign) == null ? void 0 : S.table.custom.cancelButtonText,
|
|
44856
|
+
modalOptions: {
|
|
44857
|
+
title: (v = (E = o.value) == null ? void 0 : E.sabDesign) == null ? void 0 : v.table.custom.modal.title
|
|
44813
44858
|
}
|
|
44814
44859
|
}
|
|
44815
44860
|
}, Jp(t, "data"));
|
|
44816
|
-
return c.columns = hJ(c.columns || [], c), c.name ? c.name && ((
|
|
44861
|
+
return c.columns = hJ(c.columns || [], c), c.name ? c.name && ((T = c.customConfig) == null ? void 0 : T.enabled) !== !1 && ((x = c.customConfig) != null && x.useSabModal) && (c.customConfig = Object.assign({
|
|
44817
44862
|
mode: "modal",
|
|
44818
44863
|
storage: !0,
|
|
44819
44864
|
visibleMethod({
|
|
44820
|
-
column:
|
|
44865
|
+
column: b
|
|
44821
44866
|
}) {
|
|
44822
|
-
return !!(
|
|
44867
|
+
return !!(b.field !== "sab-table-seq" && b.field !== "sab-table-checkbox" && b.field);
|
|
44823
44868
|
},
|
|
44824
44869
|
restoreStore({
|
|
44825
|
-
id:
|
|
44870
|
+
id: b
|
|
44826
44871
|
}) {
|
|
44827
|
-
var
|
|
44872
|
+
var w, O;
|
|
44828
44873
|
return Qf({
|
|
44829
|
-
name:
|
|
44830
|
-
getTableConfig: (
|
|
44831
|
-
setTableConfig: (
|
|
44874
|
+
name: b,
|
|
44875
|
+
getTableConfig: (w = c.tableSetConfig) == null ? void 0 : w.getTableConfig,
|
|
44876
|
+
setTableConfig: (O = c.tableSetConfig) == null ? void 0 : O.setTableConfig
|
|
44832
44877
|
}).get();
|
|
44833
44878
|
},
|
|
44834
44879
|
updateStore({
|
|
44835
|
-
id:
|
|
44836
|
-
storeData:
|
|
44880
|
+
id: b,
|
|
44881
|
+
storeData: y
|
|
44837
44882
|
}) {
|
|
44838
|
-
var
|
|
44883
|
+
var O, N;
|
|
44839
44884
|
return Qf({
|
|
44840
|
-
name:
|
|
44841
|
-
getTableConfig: (
|
|
44842
|
-
setTableConfig: (
|
|
44843
|
-
}).set(
|
|
44885
|
+
name: b,
|
|
44886
|
+
getTableConfig: (O = c.tableSetConfig) == null ? void 0 : O.getTableConfig,
|
|
44887
|
+
setTableConfig: (N = c.tableSetConfig) == null ? void 0 : N.setTableConfig
|
|
44888
|
+
}).set(y);
|
|
44844
44889
|
},
|
|
44845
44890
|
slots: {
|
|
44846
|
-
default(
|
|
44847
|
-
return Zt(CJ, Pn(
|
|
44848
|
-
tableRef:
|
|
44891
|
+
default(b) {
|
|
44892
|
+
return Zt(CJ, Pn(b, {
|
|
44893
|
+
tableRef: b.$table
|
|
44849
44894
|
}), null);
|
|
44850
44895
|
}
|
|
44851
44896
|
}
|
package/es/locales/lang/bn.d.ts
CHANGED
|
@@ -30,6 +30,15 @@ declare const _default: {
|
|
|
30
30
|
total: string;
|
|
31
31
|
close: string;
|
|
32
32
|
confirm: string;
|
|
33
|
+
custom: {
|
|
34
|
+
confirmButtonText: string;
|
|
35
|
+
resetButtonText: string;
|
|
36
|
+
cancelButtonText: string;
|
|
37
|
+
closeButtonText: string;
|
|
38
|
+
modal: {
|
|
39
|
+
title: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
44
|
};
|
package/es/locales/lang/en.d.ts
CHANGED
|
@@ -30,6 +30,15 @@ declare const _default: {
|
|
|
30
30
|
total: string;
|
|
31
31
|
close: string;
|
|
32
32
|
confirm: string;
|
|
33
|
+
custom: {
|
|
34
|
+
confirmButtonText: string;
|
|
35
|
+
resetButtonText: string;
|
|
36
|
+
cancelButtonText: string;
|
|
37
|
+
closeButtonText: string;
|
|
38
|
+
modal: {
|
|
39
|
+
title: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
44
|
};
|
package/es/locales/lang/vi.d.ts
CHANGED
|
@@ -30,6 +30,15 @@ declare const _default: {
|
|
|
30
30
|
total: string;
|
|
31
31
|
close: string;
|
|
32
32
|
confirm: string;
|
|
33
|
+
custom: {
|
|
34
|
+
confirmButtonText: string;
|
|
35
|
+
resetButtonText: string;
|
|
36
|
+
cancelButtonText: string;
|
|
37
|
+
closeButtonText: string;
|
|
38
|
+
modal: {
|
|
39
|
+
title: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
44
|
};
|
|
@@ -30,6 +30,15 @@ declare const _default: {
|
|
|
30
30
|
total: string;
|
|
31
31
|
close: string;
|
|
32
32
|
confirm: string;
|
|
33
|
+
custom: {
|
|
34
|
+
confirmButtonText: string;
|
|
35
|
+
resetButtonText: string;
|
|
36
|
+
cancelButtonText: string;
|
|
37
|
+
closeButtonText: string;
|
|
38
|
+
modal: {
|
|
39
|
+
title: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
44
|
};
|
|
@@ -32,6 +32,15 @@ declare const useLocale: (lang: Ref<string>) => {
|
|
|
32
32
|
total: string;
|
|
33
33
|
close: string;
|
|
34
34
|
confirm: string;
|
|
35
|
+
custom: {
|
|
36
|
+
confirmButtonText: string;
|
|
37
|
+
resetButtonText: string;
|
|
38
|
+
cancelButtonText: string;
|
|
39
|
+
closeButtonText: string;
|
|
40
|
+
modal: {
|
|
41
|
+
title: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
35
44
|
};
|
|
36
45
|
};
|
|
37
46
|
}>;
|
|
@@ -34,6 +34,15 @@ export declare const useConfigProvide: () => {
|
|
|
34
34
|
total: string;
|
|
35
35
|
close: string;
|
|
36
36
|
confirm: string;
|
|
37
|
+
custom: {
|
|
38
|
+
confirmButtonText: string;
|
|
39
|
+
resetButtonText: string;
|
|
40
|
+
cancelButtonText: string;
|
|
41
|
+
closeButtonText: string;
|
|
42
|
+
modal: {
|
|
43
|
+
title: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
37
46
|
};
|
|
38
47
|
};
|
|
39
48
|
};
|