@unizhen/ui 0.1.94 → 0.1.95
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.
|
@@ -7,6 +7,8 @@ export declare const fnRenderAction: ({ buttons, rowData, callback, tableId, hPr
|
|
|
7
7
|
callback?: Fn;
|
|
8
8
|
tableId?: string;
|
|
9
9
|
hProps?: {
|
|
10
|
+
secondary?: boolean;
|
|
11
|
+
tertiary?: boolean;
|
|
10
12
|
quaternary?: boolean;
|
|
11
13
|
size?: "tiny" | "small" | "medium" | "large";
|
|
12
14
|
text?: boolean;
|
|
@@ -15,12 +15,16 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
15
15
|
};
|
|
16
16
|
hProps: {
|
|
17
17
|
type: PropType<{
|
|
18
|
+
secondary?: boolean;
|
|
19
|
+
tertiary?: boolean;
|
|
18
20
|
quaternary?: boolean;
|
|
19
21
|
size?: "tiny" | "small" | "medium" | "large";
|
|
20
22
|
text?: boolean;
|
|
21
23
|
class?: string;
|
|
22
24
|
}>;
|
|
23
25
|
default: () => {
|
|
26
|
+
secondary: boolean;
|
|
27
|
+
tertiary: boolean;
|
|
24
28
|
quaternary: boolean;
|
|
25
29
|
size: string;
|
|
26
30
|
text: boolean;
|
|
@@ -38,12 +42,16 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
38
42
|
};
|
|
39
43
|
hProps: {
|
|
40
44
|
type: PropType<{
|
|
45
|
+
secondary?: boolean;
|
|
46
|
+
tertiary?: boolean;
|
|
41
47
|
quaternary?: boolean;
|
|
42
48
|
size?: "tiny" | "small" | "medium" | "large";
|
|
43
49
|
text?: boolean;
|
|
44
50
|
class?: string;
|
|
45
51
|
}>;
|
|
46
52
|
default: () => {
|
|
53
|
+
secondary: boolean;
|
|
54
|
+
tertiary: boolean;
|
|
47
55
|
quaternary: boolean;
|
|
48
56
|
size: string;
|
|
49
57
|
text: boolean;
|
|
@@ -53,6 +61,8 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
53
61
|
data: IUzActionButton[];
|
|
54
62
|
rowData: ObjectKey;
|
|
55
63
|
hProps: {
|
|
64
|
+
secondary?: boolean;
|
|
65
|
+
tertiary?: boolean;
|
|
56
66
|
quaternary?: boolean;
|
|
57
67
|
size?: "tiny" | "small" | "medium" | "large";
|
|
58
68
|
text?: boolean;
|
|
@@ -1490,7 +1490,6 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
|
|
|
1490
1490
|
action: "check" | "uncheck" | "checkAll" | "uncheckAll";
|
|
1491
1491
|
}) => void;
|
|
1492
1492
|
handleExpandedRowKeys: (keys: Array<string | number>) => void;
|
|
1493
|
-
checkRowKeysData: Ref<any[], any[]>;
|
|
1494
1493
|
checkRole: (key: string) => boolean;
|
|
1495
1494
|
rebuild: () => Promise<void>;
|
|
1496
1495
|
summaryFn: ComputedRef<Fn<any, any>>;
|
package/lib/ui.js
CHANGED
|
@@ -34,6 +34,8 @@ var ut = Object.defineProperty, dt = (e, t) => {
|
|
|
34
34
|
hProps: {
|
|
35
35
|
type: Object,
|
|
36
36
|
default: () => ({
|
|
37
|
+
secondary: !1,
|
|
38
|
+
tertiary: !1,
|
|
37
39
|
quaternary: !1,
|
|
38
40
|
size: "small",
|
|
39
41
|
text: !0
|
|
@@ -2720,6 +2722,8 @@ var pf = "/apiserver/", mf = () => {
|
|
|
2720
2722
|
}
|
|
2721
2723
|
}, jf = (e, t, n, r, i) => {
|
|
2722
2724
|
let a = {
|
|
2725
|
+
secondary: i?.secondary || !1,
|
|
2726
|
+
tertiary: i?.tertiary || !1,
|
|
2723
2727
|
quaternary: i?.quaternary || !1,
|
|
2724
2728
|
size: i?.size || "small",
|
|
2725
2729
|
type: e.color || "default",
|
|
@@ -6740,6 +6744,7 @@ var ih = f({
|
|
|
6740
6744
|
let n = U(e.onClick);
|
|
6741
6745
|
e.onClick = () => {
|
|
6742
6746
|
t("update:suffixes", {
|
|
6747
|
+
isTop: !0,
|
|
6743
6748
|
title: e.buttonText,
|
|
6744
6749
|
footer: e.footer,
|
|
6745
6750
|
width: e.width,
|
|
@@ -6832,7 +6837,6 @@ var ih = f({
|
|
|
6832
6837
|
handleColumnChange: ke,
|
|
6833
6838
|
handleCheckRowKeys: ce,
|
|
6834
6839
|
handleExpandedRowKeys: le,
|
|
6835
|
-
checkRowKeysData: z,
|
|
6836
6840
|
checkRole: ve,
|
|
6837
6841
|
rebuild: Ne,
|
|
6838
6842
|
summaryFn: ue,
|
|
@@ -7018,7 +7022,7 @@ function uh(t, n, c, d, f, p) {
|
|
|
7018
7022
|
key: 1,
|
|
7019
7023
|
data: t.suffixes,
|
|
7020
7024
|
hProps: {
|
|
7021
|
-
|
|
7025
|
+
secondary: !0,
|
|
7022
7026
|
size: "medium",
|
|
7023
7027
|
text: !1
|
|
7024
7028
|
}
|
|
@@ -9227,7 +9231,7 @@ function r_(e, t, n) {
|
|
|
9227
9231
|
}
|
|
9228
9232
|
//#endregion
|
|
9229
9233
|
//#region package.json
|
|
9230
|
-
var i_ = "0.1.
|
|
9234
|
+
var i_ = "0.1.95", a_;
|
|
9231
9235
|
async function o_() {
|
|
9232
9236
|
let e = await fetch(`${window.location.protocol}//${window.location.host}`, {
|
|
9233
9237
|
method: "HEAD",
|