bm-admin-ui 1.0.25-alpha → 1.0.27-alpha
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/components/float-table/index.d.ts +2 -2
- package/es/components/float-table/src/float-table.vue.d.ts +2 -2
- package/es/components/search-filter/index.d.ts +15 -14
- package/es/components/search-filter/index.js +24 -16
- package/es/components/search-filter/src/search-filter.d.ts +8 -4
- package/es/components/search-filter/src/search-filter.vue.d.ts +15 -14
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +17 -0
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/es/components/upload/index.js +23 -2
- package/index.esm.js +47 -18
- package/index.js +46 -17
- package/lib/components/float-table/index.d.ts +2 -2
- package/lib/components/float-table/src/float-table.vue.d.ts +2 -2
- package/lib/components/search-filter/index.d.ts +15 -14
- package/lib/components/search-filter/index.js +23 -15
- package/lib/components/search-filter/src/search-filter.d.ts +8 -4
- package/lib/components/search-filter/src/search-filter.vue.d.ts +15 -14
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +17 -0
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
- package/lib/components/upload/index.js +23 -2
- package/package.json +1 -1
- package/theme-chalk/feedback.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/search-filter.css +1 -1
- package/theme-chalk/upload.css +1 -1
- package/types/components/float-table/index.d.ts +2 -2
- package/types/components/float-table/src/float-table.vue.d.ts +2 -2
- package/types/components/search-filter/index.d.ts +15 -14
- package/types/components/search-filter/src/search-filter.d.ts +8 -4
- package/types/components/search-filter/src/search-filter.vue.d.ts +15 -14
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +17 -0
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +2 -2
package/index.js
CHANGED
|
@@ -27432,6 +27432,12 @@ var process = {
|
|
|
27432
27432
|
type: String,
|
|
27433
27433
|
default: '收起',
|
|
27434
27434
|
},
|
|
27435
|
+
gutter: {
|
|
27436
|
+
type: Array,
|
|
27437
|
+
default() {
|
|
27438
|
+
return [24, 16];
|
|
27439
|
+
},
|
|
27440
|
+
},
|
|
27435
27441
|
};
|
|
27436
27442
|
const searchFilterProps = Object.assign({ userRule: {
|
|
27437
27443
|
type: Array,
|
|
@@ -27455,11 +27461,6 @@ var process = {
|
|
|
27455
27461
|
default() {
|
|
27456
27462
|
return {};
|
|
27457
27463
|
},
|
|
27458
|
-
}, gutter: {
|
|
27459
|
-
type: Array,
|
|
27460
|
-
default() {
|
|
27461
|
-
return [24, 16];
|
|
27462
|
-
},
|
|
27463
27464
|
}, fixedCount: {
|
|
27464
27465
|
type: Number,
|
|
27465
27466
|
default: 999999,
|
|
@@ -27470,16 +27471,19 @@ var process = {
|
|
|
27470
27471
|
},
|
|
27471
27472
|
} }, searchResetBtnProps);
|
|
27472
27473
|
|
|
27473
|
-
const _hoisted_1$a = { class: "bm-search-filter-
|
|
27474
|
-
const _hoisted_2$8 =
|
|
27475
|
-
const _hoisted_3$7 = /* @__PURE__ */ require$$1$1.createTextVNode("\
|
|
27476
|
-
const _hoisted_4$7 = /* @__PURE__ */ require$$1$1.createTextVNode("\u67E5\u8BE2");
|
|
27474
|
+
const _hoisted_1$a = { class: "bm-search-filter-actions" };
|
|
27475
|
+
const _hoisted_2$8 = /* @__PURE__ */ require$$1$1.createTextVNode("\u91CD\u7F6E");
|
|
27476
|
+
const _hoisted_3$7 = /* @__PURE__ */ require$$1$1.createTextVNode("\u67E5\u8BE2");
|
|
27477
27477
|
const _sfc_main$d = /* @__PURE__ */ require$$1$1.defineComponent({
|
|
27478
27478
|
props: searchResetBtnProps,
|
|
27479
27479
|
emits: ["submit", "reset", "expand"],
|
|
27480
27480
|
setup(__props, { emit: emits }) {
|
|
27481
27481
|
const props = __props;
|
|
27482
27482
|
const isExpand = require$$1$1.ref(false);
|
|
27483
|
+
const wrapperStyle = require$$1$1.computed(() => {
|
|
27484
|
+
let gutter = props.gutter?.[0] || 24;
|
|
27485
|
+
return { paddingLeft: gutter / 2 + "px", paddingRight: gutter / 2 + "px" };
|
|
27486
|
+
});
|
|
27483
27487
|
function handleExpandBtnChange() {
|
|
27484
27488
|
isExpand.value = !isExpand.value;
|
|
27485
27489
|
emits("expand", isExpand.value);
|
|
@@ -27492,7 +27496,10 @@ var process = {
|
|
|
27492
27496
|
}
|
|
27493
27497
|
return (_ctx, _cache) => {
|
|
27494
27498
|
const _component_a_button = require$$1$1.resolveComponent("a-button");
|
|
27495
|
-
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div",
|
|
27499
|
+
return require$$1$1.openBlock(), require$$1$1.createElementBlock("div", {
|
|
27500
|
+
class: "bm-search-filter-btn",
|
|
27501
|
+
style: require$$1$1.normalizeStyle(require$$1$1.unref(wrapperStyle))
|
|
27502
|
+
}, [
|
|
27496
27503
|
props.showExpandBtn ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("span", {
|
|
27497
27504
|
key: 0,
|
|
27498
27505
|
class: "bm-search-filter-expand",
|
|
@@ -27501,10 +27508,10 @@ var process = {
|
|
|
27501
27508
|
require$$1$1.createTextVNode(require$$1$1.toDisplayString(isExpand.value ? props.collapseText : props.expandText), 1),
|
|
27502
27509
|
isExpand.value ? (require$$1$1.openBlock(), require$$1$1.createBlock(require$$1$1.unref(UpOutlined$1), { key: 0 })) : (require$$1$1.openBlock(), require$$1$1.createBlock(require$$1$1.unref(DownOutlined$1), { key: 1 }))
|
|
27503
27510
|
])) : require$$1$1.createCommentVNode("v-if", true),
|
|
27504
|
-
require$$1$1.createElementVNode("span",
|
|
27511
|
+
require$$1$1.createElementVNode("span", _hoisted_1$a, [
|
|
27505
27512
|
require$$1$1.createVNode(_component_a_button, { onClick: handleReset }, {
|
|
27506
27513
|
default: require$$1$1.withCtx(() => [
|
|
27507
|
-
|
|
27514
|
+
_hoisted_2$8
|
|
27508
27515
|
]),
|
|
27509
27516
|
_: 1
|
|
27510
27517
|
}),
|
|
@@ -27514,12 +27521,12 @@ var process = {
|
|
|
27514
27521
|
}, {
|
|
27515
27522
|
default: require$$1$1.withCtx(() => [
|
|
27516
27523
|
props.showSearchIcon ? (require$$1$1.openBlock(), require$$1$1.createBlock(require$$1$1.unref(SearchOutlined$4), { key: 0 })) : require$$1$1.createCommentVNode("v-if", true),
|
|
27517
|
-
|
|
27524
|
+
_hoisted_3$7
|
|
27518
27525
|
]),
|
|
27519
27526
|
_: 1
|
|
27520
27527
|
})
|
|
27521
27528
|
])
|
|
27522
|
-
]);
|
|
27529
|
+
], 4);
|
|
27523
27530
|
};
|
|
27524
27531
|
}
|
|
27525
27532
|
});
|
|
@@ -28057,7 +28064,8 @@ var process = {
|
|
|
28057
28064
|
showExpandBtn: props.showExpandBtn,
|
|
28058
28065
|
showSearchIcon: props.showSearchIcon,
|
|
28059
28066
|
expandText: props.expandText,
|
|
28060
|
-
collapseText: props.collapseText
|
|
28067
|
+
collapseText: props.collapseText,
|
|
28068
|
+
gutter: props.gutter
|
|
28061
28069
|
},
|
|
28062
28070
|
on: {
|
|
28063
28071
|
submit() {
|
|
@@ -46108,6 +46116,8 @@ var process = {
|
|
|
46108
46116
|
".JPEG",
|
|
46109
46117
|
".png",
|
|
46110
46118
|
".PNG",
|
|
46119
|
+
".gif",
|
|
46120
|
+
".GIF",
|
|
46111
46121
|
".rar",
|
|
46112
46122
|
".RAR",
|
|
46113
46123
|
".zip",
|
|
@@ -46255,7 +46265,21 @@ var process = {
|
|
|
46255
46265
|
state.onepViewImageHover[uid] = false;
|
|
46256
46266
|
},
|
|
46257
46267
|
viewOnePicture(item) {
|
|
46258
|
-
if ([
|
|
46268
|
+
if ([
|
|
46269
|
+
"img",
|
|
46270
|
+
"image",
|
|
46271
|
+
"png",
|
|
46272
|
+
"PNG",
|
|
46273
|
+
"image/png",
|
|
46274
|
+
"jpg",
|
|
46275
|
+
"JPG",
|
|
46276
|
+
"jpeg",
|
|
46277
|
+
"JPEG",
|
|
46278
|
+
"image/jpeg",
|
|
46279
|
+
"gif",
|
|
46280
|
+
"GIF",
|
|
46281
|
+
"image/gif"
|
|
46282
|
+
].includes(item.type.toLowerCase())) {
|
|
46259
46283
|
state.previewVisible = true;
|
|
46260
46284
|
state.onepViewImage = item;
|
|
46261
46285
|
return;
|
|
@@ -46670,10 +46694,15 @@ var process = {
|
|
|
46670
46694
|
"image",
|
|
46671
46695
|
"png",
|
|
46672
46696
|
"PNG",
|
|
46697
|
+
"image/png",
|
|
46673
46698
|
"jpg",
|
|
46674
46699
|
"JPG",
|
|
46675
46700
|
"jpeg",
|
|
46676
|
-
"JPEG"
|
|
46701
|
+
"JPEG",
|
|
46702
|
+
"image/jpeg",
|
|
46703
|
+
"gif",
|
|
46704
|
+
"GIF",
|
|
46705
|
+
"image/gif"
|
|
46677
46706
|
].includes(_ctx.onepViewImage.type) ? (require$$1$1.openBlock(), require$$1$1.createElementBlock("img", {
|
|
46678
46707
|
key: 0,
|
|
46679
46708
|
style: { "width": "100%" },
|
|
@@ -42,9 +42,9 @@ declare const BmFloatTable: import("bm-admin-ui/es/utils/with-install").SFCWithI
|
|
|
42
42
|
gridOptions: import("vue").ComputedRef<any>;
|
|
43
43
|
gridEvents: import("vue").ComputedRef<any>;
|
|
44
44
|
pager: import("vue").ComputedRef<any>;
|
|
45
|
-
simpleImage: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
+
simpleImage: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
46
|
[key: string]: any;
|
|
47
|
-
}> | null | undefined) |
|
|
47
|
+
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
48
|
[key: string]: any;
|
|
49
49
|
}> | null | undefined)[]>;
|
|
50
50
|
floatRefsId: import("vue").Ref<{}>;
|
|
@@ -42,9 +42,9 @@ declare const _default: {
|
|
|
42
42
|
gridOptions: import("vue").ComputedRef<any>;
|
|
43
43
|
gridEvents: import("vue").ComputedRef<any>;
|
|
44
44
|
pager: import("vue").ComputedRef<any>;
|
|
45
|
-
simpleImage: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
+
simpleImage: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
46
|
[key: string]: any;
|
|
47
|
-
}> | null | undefined) |
|
|
47
|
+
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
48
|
[key: string]: any;
|
|
49
49
|
}> | null | undefined)[]>;
|
|
50
50
|
floatRefsId: import("vue").Ref<{}>;
|
|
@@ -19,6 +19,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
+
gutter: {
|
|
23
|
+
type: import("vue").PropType<number[]>;
|
|
24
|
+
default(): number[];
|
|
25
|
+
};
|
|
22
26
|
userRule: {
|
|
23
27
|
type: ArrayConstructor;
|
|
24
28
|
default(): never[];
|
|
@@ -37,10 +41,6 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
37
41
|
type: ObjectConstructor;
|
|
38
42
|
default(): {};
|
|
39
43
|
};
|
|
40
|
-
gutter: {
|
|
41
|
-
type: ArrayConstructor;
|
|
42
|
-
default(): number[];
|
|
43
|
-
};
|
|
44
44
|
fixedCount: {
|
|
45
45
|
type: NumberConstructor;
|
|
46
46
|
default: number;
|
|
@@ -71,6 +71,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
71
71
|
type: StringConstructor;
|
|
72
72
|
default: string;
|
|
73
73
|
};
|
|
74
|
+
gutter: {
|
|
75
|
+
type: import("vue").PropType<number[]>;
|
|
76
|
+
default(): number[];
|
|
77
|
+
};
|
|
74
78
|
userRule: {
|
|
75
79
|
type: ArrayConstructor;
|
|
76
80
|
default(): never[];
|
|
@@ -89,10 +93,6 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
89
93
|
type: ObjectConstructor;
|
|
90
94
|
default(): {};
|
|
91
95
|
};
|
|
92
|
-
gutter: {
|
|
93
|
-
type: ArrayConstructor;
|
|
94
|
-
default(): number[];
|
|
95
|
-
};
|
|
96
96
|
fixedCount: {
|
|
97
97
|
type: NumberConstructor;
|
|
98
98
|
default: number;
|
|
@@ -116,6 +116,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
116
116
|
showSearchIcon: boolean;
|
|
117
117
|
expandText: string;
|
|
118
118
|
collapseText: string;
|
|
119
|
+
gutter: number[];
|
|
119
120
|
};
|
|
120
121
|
on: {
|
|
121
122
|
submit: () => void;
|
|
@@ -129,7 +130,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
129
130
|
span: number;
|
|
130
131
|
};
|
|
131
132
|
row: {
|
|
132
|
-
gutter:
|
|
133
|
+
gutter: number[];
|
|
133
134
|
};
|
|
134
135
|
form: {
|
|
135
136
|
labelCol: {
|
|
@@ -169,6 +170,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
169
170
|
type: StringConstructor;
|
|
170
171
|
default: string;
|
|
171
172
|
};
|
|
173
|
+
gutter: {
|
|
174
|
+
type: import("vue").PropType<number[]>;
|
|
175
|
+
default(): number[];
|
|
176
|
+
};
|
|
172
177
|
userRule: {
|
|
173
178
|
type: ArrayConstructor;
|
|
174
179
|
default(): never[];
|
|
@@ -187,10 +192,6 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
187
192
|
type: ObjectConstructor;
|
|
188
193
|
default(): {};
|
|
189
194
|
};
|
|
190
|
-
gutter: {
|
|
191
|
-
type: ArrayConstructor;
|
|
192
|
-
default(): number[];
|
|
193
|
-
};
|
|
194
195
|
fixedCount: {
|
|
195
196
|
type: NumberConstructor;
|
|
196
197
|
default: number;
|
|
@@ -211,10 +212,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
211
212
|
expandPlacement: "left" | "right";
|
|
212
213
|
expandText: string;
|
|
213
214
|
collapseText: string;
|
|
215
|
+
gutter: number[];
|
|
214
216
|
userRule: unknown[];
|
|
215
217
|
labelCol: Record<string, any>;
|
|
216
218
|
ruleSpan: Record<string, any>;
|
|
217
|
-
gutter: unknown[];
|
|
218
219
|
fixedCount: number;
|
|
219
220
|
fixedFields: string[];
|
|
220
221
|
}>>;
|
|
@@ -1256,6 +1256,12 @@ const searchResetBtnProps = {
|
|
|
1256
1256
|
type: String,
|
|
1257
1257
|
default: '收起',
|
|
1258
1258
|
},
|
|
1259
|
+
gutter: {
|
|
1260
|
+
type: Array,
|
|
1261
|
+
default() {
|
|
1262
|
+
return [24, 16];
|
|
1263
|
+
},
|
|
1264
|
+
},
|
|
1259
1265
|
};
|
|
1260
1266
|
const searchFilterProps = Object.assign({ userRule: {
|
|
1261
1267
|
type: Array,
|
|
@@ -1279,11 +1285,6 @@ const searchFilterProps = Object.assign({ userRule: {
|
|
|
1279
1285
|
default() {
|
|
1280
1286
|
return {};
|
|
1281
1287
|
},
|
|
1282
|
-
}, gutter: {
|
|
1283
|
-
type: Array,
|
|
1284
|
-
default() {
|
|
1285
|
-
return [24, 16];
|
|
1286
|
-
},
|
|
1287
1288
|
}, fixedCount: {
|
|
1288
1289
|
type: Number,
|
|
1289
1290
|
default: 999999,
|
|
@@ -1302,16 +1303,19 @@ var _export_sfc = (sfc, props) => {
|
|
|
1302
1303
|
return target;
|
|
1303
1304
|
};
|
|
1304
1305
|
|
|
1305
|
-
const _hoisted_1$1 = { class: "bm-search-filter-
|
|
1306
|
-
const _hoisted_2$1 =
|
|
1307
|
-
const _hoisted_3$1 = /* @__PURE__ */ vue.createTextVNode("\
|
|
1308
|
-
const _hoisted_4$1 = /* @__PURE__ */ vue.createTextVNode("\u67E5\u8BE2");
|
|
1306
|
+
const _hoisted_1$1 = { class: "bm-search-filter-actions" };
|
|
1307
|
+
const _hoisted_2$1 = /* @__PURE__ */ vue.createTextVNode("\u91CD\u7F6E");
|
|
1308
|
+
const _hoisted_3$1 = /* @__PURE__ */ vue.createTextVNode("\u67E5\u8BE2");
|
|
1309
1309
|
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
1310
1310
|
props: searchResetBtnProps,
|
|
1311
1311
|
emits: ["submit", "reset", "expand"],
|
|
1312
1312
|
setup(__props, { emit: emits }) {
|
|
1313
1313
|
const props = __props;
|
|
1314
1314
|
const isExpand = vue.ref(false);
|
|
1315
|
+
const wrapperStyle = vue.computed(() => {
|
|
1316
|
+
let gutter = props.gutter?.[0] || 24;
|
|
1317
|
+
return { paddingLeft: gutter / 2 + "px", paddingRight: gutter / 2 + "px" };
|
|
1318
|
+
});
|
|
1315
1319
|
function handleExpandBtnChange() {
|
|
1316
1320
|
isExpand.value = !isExpand.value;
|
|
1317
1321
|
emits("expand", isExpand.value);
|
|
@@ -1324,7 +1328,10 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1324
1328
|
}
|
|
1325
1329
|
return (_ctx, _cache) => {
|
|
1326
1330
|
const _component_a_button = vue.resolveComponent("a-button");
|
|
1327
|
-
return vue.openBlock(), vue.createElementBlock("div",
|
|
1331
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
1332
|
+
class: "bm-search-filter-btn",
|
|
1333
|
+
style: vue.normalizeStyle(vue.unref(wrapperStyle))
|
|
1334
|
+
}, [
|
|
1328
1335
|
props.showExpandBtn ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
1329
1336
|
key: 0,
|
|
1330
1337
|
class: "bm-search-filter-expand",
|
|
@@ -1333,10 +1340,10 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1333
1340
|
vue.createTextVNode(vue.toDisplayString(isExpand.value ? props.collapseText : props.expandText), 1),
|
|
1334
1341
|
isExpand.value ? (vue.openBlock(), vue.createBlock(vue.unref(UpOutlined$1), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(DownOutlined$1), { key: 1 }))
|
|
1335
1342
|
])) : vue.createCommentVNode("v-if", true),
|
|
1336
|
-
vue.createElementVNode("span",
|
|
1343
|
+
vue.createElementVNode("span", _hoisted_1$1, [
|
|
1337
1344
|
vue.createVNode(_component_a_button, { onClick: handleReset }, {
|
|
1338
1345
|
default: vue.withCtx(() => [
|
|
1339
|
-
|
|
1346
|
+
_hoisted_2$1
|
|
1340
1347
|
]),
|
|
1341
1348
|
_: 1
|
|
1342
1349
|
}),
|
|
@@ -1346,12 +1353,12 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1346
1353
|
}, {
|
|
1347
1354
|
default: vue.withCtx(() => [
|
|
1348
1355
|
props.showSearchIcon ? (vue.openBlock(), vue.createBlock(vue.unref(SearchOutlined$1), { key: 0 })) : vue.createCommentVNode("v-if", true),
|
|
1349
|
-
|
|
1356
|
+
_hoisted_3$1
|
|
1350
1357
|
]),
|
|
1351
1358
|
_: 1
|
|
1352
1359
|
})
|
|
1353
1360
|
])
|
|
1354
|
-
]);
|
|
1361
|
+
], 4);
|
|
1355
1362
|
};
|
|
1356
1363
|
}
|
|
1357
1364
|
});
|
|
@@ -1890,7 +1897,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1890
1897
|
showExpandBtn: props.showExpandBtn,
|
|
1891
1898
|
showSearchIcon: props.showSearchIcon,
|
|
1892
1899
|
expandText: props.expandText,
|
|
1893
|
-
collapseText: props.collapseText
|
|
1900
|
+
collapseText: props.collapseText,
|
|
1901
|
+
gutter: props.gutter
|
|
1894
1902
|
},
|
|
1895
1903
|
on: {
|
|
1896
1904
|
submit() {
|
|
@@ -20,6 +20,10 @@ export declare const searchResetBtnProps: {
|
|
|
20
20
|
type: StringConstructor;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
+
gutter: {
|
|
24
|
+
type: PropType<number[]>;
|
|
25
|
+
default(): number[];
|
|
26
|
+
};
|
|
23
27
|
};
|
|
24
28
|
export declare const searchFilterProps: {
|
|
25
29
|
showExpandBtn: {
|
|
@@ -42,6 +46,10 @@ export declare const searchFilterProps: {
|
|
|
42
46
|
type: StringConstructor;
|
|
43
47
|
default: string;
|
|
44
48
|
};
|
|
49
|
+
gutter: {
|
|
50
|
+
type: PropType<number[]>;
|
|
51
|
+
default(): number[];
|
|
52
|
+
};
|
|
45
53
|
userRule: {
|
|
46
54
|
type: ArrayConstructor;
|
|
47
55
|
default(): never[];
|
|
@@ -60,10 +68,6 @@ export declare const searchFilterProps: {
|
|
|
60
68
|
type: ObjectConstructor;
|
|
61
69
|
default(): {};
|
|
62
70
|
};
|
|
63
|
-
gutter: {
|
|
64
|
-
type: ArrayConstructor;
|
|
65
|
-
default(): number[];
|
|
66
|
-
};
|
|
67
71
|
fixedCount: {
|
|
68
72
|
type: NumberConstructor;
|
|
69
73
|
default: number;
|
|
@@ -19,6 +19,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
+
gutter: {
|
|
23
|
+
type: import("vue").PropType<number[]>;
|
|
24
|
+
default(): number[];
|
|
25
|
+
};
|
|
22
26
|
userRule: {
|
|
23
27
|
type: ArrayConstructor;
|
|
24
28
|
default(): never[];
|
|
@@ -37,10 +41,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
41
|
type: ObjectConstructor;
|
|
38
42
|
default(): {};
|
|
39
43
|
};
|
|
40
|
-
gutter: {
|
|
41
|
-
type: ArrayConstructor;
|
|
42
|
-
default(): number[];
|
|
43
|
-
};
|
|
44
44
|
fixedCount: {
|
|
45
45
|
type: NumberConstructor;
|
|
46
46
|
default: number;
|
|
@@ -71,6 +71,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
type: StringConstructor;
|
|
72
72
|
default: string;
|
|
73
73
|
};
|
|
74
|
+
gutter: {
|
|
75
|
+
type: import("vue").PropType<number[]>;
|
|
76
|
+
default(): number[];
|
|
77
|
+
};
|
|
74
78
|
userRule: {
|
|
75
79
|
type: ArrayConstructor;
|
|
76
80
|
default(): never[];
|
|
@@ -89,10 +93,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
93
|
type: ObjectConstructor;
|
|
90
94
|
default(): {};
|
|
91
95
|
};
|
|
92
|
-
gutter: {
|
|
93
|
-
type: ArrayConstructor;
|
|
94
|
-
default(): number[];
|
|
95
|
-
};
|
|
96
96
|
fixedCount: {
|
|
97
97
|
type: NumberConstructor;
|
|
98
98
|
default: number;
|
|
@@ -116,6 +116,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
116
|
showSearchIcon: boolean;
|
|
117
117
|
expandText: string;
|
|
118
118
|
collapseText: string;
|
|
119
|
+
gutter: number[];
|
|
119
120
|
};
|
|
120
121
|
on: {
|
|
121
122
|
submit: () => void;
|
|
@@ -129,7 +130,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
130
|
span: number;
|
|
130
131
|
};
|
|
131
132
|
row: {
|
|
132
|
-
gutter:
|
|
133
|
+
gutter: number[];
|
|
133
134
|
};
|
|
134
135
|
form: {
|
|
135
136
|
labelCol: {
|
|
@@ -169,6 +170,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
170
|
type: StringConstructor;
|
|
170
171
|
default: string;
|
|
171
172
|
};
|
|
173
|
+
gutter: {
|
|
174
|
+
type: import("vue").PropType<number[]>;
|
|
175
|
+
default(): number[];
|
|
176
|
+
};
|
|
172
177
|
userRule: {
|
|
173
178
|
type: ArrayConstructor;
|
|
174
179
|
default(): never[];
|
|
@@ -187,10 +192,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
187
192
|
type: ObjectConstructor;
|
|
188
193
|
default(): {};
|
|
189
194
|
};
|
|
190
|
-
gutter: {
|
|
191
|
-
type: ArrayConstructor;
|
|
192
|
-
default(): number[];
|
|
193
|
-
};
|
|
194
195
|
fixedCount: {
|
|
195
196
|
type: NumberConstructor;
|
|
196
197
|
default: number;
|
|
@@ -211,10 +212,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
211
212
|
expandPlacement: "left" | "right";
|
|
212
213
|
expandText: string;
|
|
213
214
|
collapseText: string;
|
|
215
|
+
gutter: number[];
|
|
214
216
|
userRule: unknown[];
|
|
215
217
|
labelCol: Record<string, any>;
|
|
216
218
|
ruleSpan: Record<string, any>;
|
|
217
|
-
gutter: unknown[];
|
|
218
219
|
fixedCount: number;
|
|
219
220
|
fixedFields: string[];
|
|
220
221
|
}>;
|
|
@@ -19,6 +19,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: StringConstructor;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
|
+
gutter: {
|
|
23
|
+
type: import("vue").PropType<number[]>;
|
|
24
|
+
default(): number[];
|
|
25
|
+
};
|
|
22
26
|
}, {
|
|
23
27
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
24
28
|
showExpandBtn: {
|
|
@@ -41,6 +45,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
45
|
type: StringConstructor;
|
|
42
46
|
default: string;
|
|
43
47
|
};
|
|
48
|
+
gutter: {
|
|
49
|
+
type: import("vue").PropType<number[]>;
|
|
50
|
+
default(): number[];
|
|
51
|
+
};
|
|
44
52
|
}>> & {
|
|
45
53
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
46
54
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
@@ -48,6 +56,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
56
|
}>>;
|
|
49
57
|
emits: (event: "submit" | "reset" | "expand", ...args: any[]) => void;
|
|
50
58
|
isExpand: import("vue").Ref<boolean>;
|
|
59
|
+
wrapperStyle: import("vue").ComputedRef<{
|
|
60
|
+
paddingLeft: string;
|
|
61
|
+
paddingRight: string;
|
|
62
|
+
}>;
|
|
51
63
|
handleExpandBtnChange: () => void;
|
|
52
64
|
handleSubmit: () => void;
|
|
53
65
|
handleReset: () => void;
|
|
@@ -75,6 +87,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
87
|
type: StringConstructor;
|
|
76
88
|
default: string;
|
|
77
89
|
};
|
|
90
|
+
gutter: {
|
|
91
|
+
type: import("vue").PropType<number[]>;
|
|
92
|
+
default(): number[];
|
|
93
|
+
};
|
|
78
94
|
}>> & {
|
|
79
95
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
80
96
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
@@ -85,5 +101,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
101
|
expandPlacement: "left" | "right";
|
|
86
102
|
expandText: string;
|
|
87
103
|
collapseText: string;
|
|
104
|
+
gutter: number[];
|
|
88
105
|
}>;
|
|
89
106
|
export default _default;
|
|
@@ -40,9 +40,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
searchVal: import("vue").Ref<string>;
|
|
41
41
|
selectAll: import("vue").Ref<boolean>;
|
|
42
42
|
indeterminate: import("vue").Ref<boolean>;
|
|
43
|
-
emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
|
+
emptyPic: import("vue").Ref<JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
44
44
|
[key: string]: any;
|
|
45
|
-
}> | null | undefined) |
|
|
45
|
+
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
46
|
[key: string]: any;
|
|
47
47
|
}> | null | undefined)[]>;
|
|
48
48
|
listChecked: import("vue").Ref<{}>;
|
|
@@ -1376,6 +1376,8 @@ const _sfc_main = {
|
|
|
1376
1376
|
".JPEG",
|
|
1377
1377
|
".png",
|
|
1378
1378
|
".PNG",
|
|
1379
|
+
".gif",
|
|
1380
|
+
".GIF",
|
|
1379
1381
|
".rar",
|
|
1380
1382
|
".RAR",
|
|
1381
1383
|
".zip",
|
|
@@ -1523,7 +1525,21 @@ const _sfc_main = {
|
|
|
1523
1525
|
state.onepViewImageHover[uid] = false;
|
|
1524
1526
|
},
|
|
1525
1527
|
viewOnePicture(item) {
|
|
1526
|
-
if ([
|
|
1528
|
+
if ([
|
|
1529
|
+
"img",
|
|
1530
|
+
"image",
|
|
1531
|
+
"png",
|
|
1532
|
+
"PNG",
|
|
1533
|
+
"image/png",
|
|
1534
|
+
"jpg",
|
|
1535
|
+
"JPG",
|
|
1536
|
+
"jpeg",
|
|
1537
|
+
"JPEG",
|
|
1538
|
+
"image/jpeg",
|
|
1539
|
+
"gif",
|
|
1540
|
+
"GIF",
|
|
1541
|
+
"image/gif"
|
|
1542
|
+
].includes(item.type.toLowerCase())) {
|
|
1527
1543
|
state.previewVisible = true;
|
|
1528
1544
|
state.onepViewImage = item;
|
|
1529
1545
|
return;
|
|
@@ -1938,10 +1954,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1938
1954
|
"image",
|
|
1939
1955
|
"png",
|
|
1940
1956
|
"PNG",
|
|
1957
|
+
"image/png",
|
|
1941
1958
|
"jpg",
|
|
1942
1959
|
"JPG",
|
|
1943
1960
|
"jpeg",
|
|
1944
|
-
"JPEG"
|
|
1961
|
+
"JPEG",
|
|
1962
|
+
"image/jpeg",
|
|
1963
|
+
"gif",
|
|
1964
|
+
"GIF",
|
|
1965
|
+
"image/gif"
|
|
1945
1966
|
].includes(_ctx.onepViewImage.type) ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
1946
1967
|
key: 0,
|
|
1947
1968
|
style: { "width": "100%" },
|