qy-ui-for-ls 0.4.54 → 0.4.55
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.
|
@@ -95,6 +95,10 @@ declare const QyTablePlus: ({
|
|
|
95
95
|
type: PropType<boolean>;
|
|
96
96
|
default: boolean;
|
|
97
97
|
};
|
|
98
|
+
selectionFixedRight: {
|
|
99
|
+
type: PropType<boolean>;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
98
102
|
}>> & Readonly<{
|
|
99
103
|
onSearch?: (() => any) | undefined;
|
|
100
104
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
@@ -1033,6 +1037,7 @@ declare const QyTablePlus: ({
|
|
|
1033
1037
|
treeOptions: TreeProps;
|
|
1034
1038
|
isOldApi: boolean;
|
|
1035
1039
|
hideSelection: boolean;
|
|
1040
|
+
selectionFixedRight: boolean;
|
|
1036
1041
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
1037
1042
|
P: {};
|
|
1038
1043
|
B: {};
|
|
@@ -1127,6 +1132,10 @@ declare const QyTablePlus: ({
|
|
|
1127
1132
|
type: PropType<boolean>;
|
|
1128
1133
|
default: boolean;
|
|
1129
1134
|
};
|
|
1135
|
+
selectionFixedRight: {
|
|
1136
|
+
type: PropType<boolean>;
|
|
1137
|
+
default: boolean;
|
|
1138
|
+
};
|
|
1130
1139
|
}>> & Readonly<{
|
|
1131
1140
|
onSearch?: (() => any) | undefined;
|
|
1132
1141
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
@@ -2055,6 +2064,7 @@ declare const QyTablePlus: ({
|
|
|
2055
2064
|
treeOptions: TreeProps;
|
|
2056
2065
|
isOldApi: boolean;
|
|
2057
2066
|
hideSelection: boolean;
|
|
2067
|
+
selectionFixedRight: boolean;
|
|
2058
2068
|
}>;
|
|
2059
2069
|
__isFragment?: never;
|
|
2060
2070
|
__isTeleport?: never;
|
|
@@ -2146,6 +2156,10 @@ declare const QyTablePlus: ({
|
|
|
2146
2156
|
type: PropType<boolean>;
|
|
2147
2157
|
default: boolean;
|
|
2148
2158
|
};
|
|
2159
|
+
selectionFixedRight: {
|
|
2160
|
+
type: PropType<boolean>;
|
|
2161
|
+
default: boolean;
|
|
2162
|
+
};
|
|
2149
2163
|
}>> & Readonly<{
|
|
2150
2164
|
onSearch?: (() => any) | undefined;
|
|
2151
2165
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
@@ -3084,6 +3098,7 @@ declare const QyTablePlus: ({
|
|
|
3084
3098
|
treeOptions: TreeProps;
|
|
3085
3099
|
isOldApi: boolean;
|
|
3086
3100
|
hideSelection: boolean;
|
|
3101
|
+
selectionFixedRight: boolean;
|
|
3087
3102
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
3088
3103
|
$slots: Partial<Record<"expand", (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
3089
3104
|
"search-top"?(_: {}): any;
|
|
@@ -30,6 +30,7 @@ export interface ProTableProps {
|
|
|
30
30
|
treeOptions?: TreeProps;
|
|
31
31
|
isOldApi?: boolean;
|
|
32
32
|
hideSelection?: boolean;
|
|
33
|
+
selectionFixedRight?: boolean;
|
|
33
34
|
}
|
|
34
35
|
declare function __VLS_template(): Partial<Record<"expand", (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
35
36
|
"search-top"?(_: {}): any;
|
|
@@ -67,6 +68,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
67
68
|
beforeReset: () => void;
|
|
68
69
|
isOldApi: boolean;
|
|
69
70
|
hideSelection: boolean;
|
|
71
|
+
selectionFixedRight: boolean;
|
|
70
72
|
}>>, {
|
|
71
73
|
element: Ref< CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
72
74
|
data: {
|
|
@@ -1001,6 +1003,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
1001
1003
|
beforeReset: () => void;
|
|
1002
1004
|
isOldApi: boolean;
|
|
1003
1005
|
hideSelection: boolean;
|
|
1006
|
+
selectionFixedRight: boolean;
|
|
1004
1007
|
}>>> & Readonly<{
|
|
1005
1008
|
onSearch?: (() => any) | undefined;
|
|
1006
1009
|
onRadioChange?: ((args_0: any) => any) | undefined;
|
|
@@ -1029,6 +1032,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
1029
1032
|
treeOptions: TreeProps;
|
|
1030
1033
|
isOldApi: boolean;
|
|
1031
1034
|
hideSelection: boolean;
|
|
1035
|
+
selectionFixedRight: boolean;
|
|
1032
1036
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1033
1037
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
1034
1038
|
export default _default;
|
package/dist/qy-ui-for-ls.es.js
CHANGED
|
@@ -26210,7 +26210,8 @@ const sje = ["src"], lje = ["href"], uje = /* @__PURE__ */ te({
|
|
|
26210
26210
|
} },
|
|
26211
26211
|
treeOptions: { default: void 0 },
|
|
26212
26212
|
isOldApi: { type: Boolean, default: !1 },
|
|
26213
|
-
hideSelection: { type: Boolean, default: !1 }
|
|
26213
|
+
hideSelection: { type: Boolean, default: !1 },
|
|
26214
|
+
selectionFixedRight: { type: Boolean, default: !1 }
|
|
26214
26215
|
},
|
|
26215
26216
|
emits: ["search", "reset", "dargSort", "radioChange", "tabChange", "handleDownload"],
|
|
26216
26217
|
setup(e, { expose: t, emit: r }) {
|
|
@@ -26222,8 +26223,8 @@ const sje = ["src"], lje = ["href"], uje = /* @__PURE__ */ te({
|
|
|
26222
26223
|
"expand",
|
|
26223
26224
|
"sort"
|
|
26224
26225
|
], d = V(() => a.showSearch), h = se(null), p = V(() => {
|
|
26225
|
-
var Oe, Qe;
|
|
26226
|
-
return !!(a != null && a.tabsOptions) && !!((Qe = (Oe = a.tabsOptions) == null ? void 0 : Oe.tabs) != null && Qe.length) && !!a.tabsOptions.show;
|
|
26226
|
+
var Oe, Qe, nt;
|
|
26227
|
+
return !!(a != null && a.tabsOptions) && !!((Qe = (Oe = a.tabsOptions) == null ? void 0 : Oe.tabs) != null && Qe.length) && !!((nt = a.tabsOptions) != null && nt.show);
|
|
26227
26228
|
}), v = V(() => {
|
|
26228
26229
|
let Oe = "0";
|
|
26229
26230
|
return i["search-left-one"] && i["search-left-two"] ? Oe = "3" : i["search-left-one"] ? Oe = "1" : i["search-left-two"] && (Oe = "2"), Oe;
|
|
@@ -26385,7 +26386,7 @@ const sje = ["src"], lje = ["href"], uje = /* @__PURE__ */ te({
|
|
|
26385
26386
|
p.value ? (B(), Ge(Mze, {
|
|
26386
26387
|
key: 0,
|
|
26387
26388
|
style: { "margin-bottom": "20px", "padding-top": "0" },
|
|
26388
|
-
tabs: (Te = Oe.tabsOptions) == null ? void 0 : Te.tabs,
|
|
26389
|
+
tabs: ((Te = Oe.tabsOptions) == null ? void 0 : Te.tabs) || [],
|
|
26389
26390
|
active: s.value,
|
|
26390
26391
|
"onUpdate:active": Qe[0] || (Qe[0] = (Cn) => s.value = Cn),
|
|
26391
26392
|
onChange: j
|
|
@@ -26497,8 +26498,9 @@ const sje = ["src"], lje = ["href"], uje = /* @__PURE__ */ te({
|
|
|
26497
26498
|
type: "selection",
|
|
26498
26499
|
width: "30",
|
|
26499
26500
|
selectable: (Cn = Oe.$attrs) == null ? void 0 : Cn.selectable,
|
|
26501
|
+
fixed: Oe.selectionFixedRight ? "left" : !1,
|
|
26500
26502
|
align: "center"
|
|
26501
|
-
}, null, 8, ["selectable"])),
|
|
26503
|
+
}, null, 8, ["selectable", "fixed"])),
|
|
26502
26504
|
Ue(Oe.$slots, "default"),
|
|
26503
26505
|
(B(!0), Q(Qt, null, mn(ee, (xr) => (B(), Q(Qt, { key: xr }, [
|
|
26504
26506
|
xr.type && f.includes(xr.type) ? (B(), Ge(xt, Ft({
|