bm-admin-ui 1.0.24-alpha → 1.0.26-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/timeline/index.d.ts +11 -0
- package/es/components/timeline/index.js +9 -6
- package/es/components/timeline/src/props.d.ts +3 -0
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -0
- package/es/components/timeline/src/timeline.vue.d.ts +10 -0
- package/index.esm.js +33 -22
- package/index.js +32 -21
- 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/timeline/index.d.ts +11 -0
- package/lib/components/timeline/index.js +9 -6
- package/lib/components/timeline/src/props.d.ts +3 -0
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -0
- package/lib/components/timeline/src/timeline.vue.d.ts +10 -0
- package/package.json +1 -1
- package/theme-chalk/feedback.css +1 -1
- package/theme-chalk/float-table.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/search-filter.css +1 -1
- package/theme-chalk/timeline.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/types/components/timeline/index.d.ts +11 -0
- package/types/components/timeline/src/props.d.ts +3 -0
- package/types/components/timeline/src/timeline-item.vue.d.ts +1 -0
- package/types/components/timeline/src/timeline.vue.d.ts +10 -0
|
@@ -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<
|
|
45
|
+
simpleImage: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
46
|
[key: string]: any;
|
|
47
|
-
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
|
+
}> | null | undefined) | JSX.Element | (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<
|
|
45
|
+
simpleImage: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
46
46
|
[key: string]: any;
|
|
47
|
-
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
47
|
+
}> | null | undefined) | JSX.Element | (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
|
}>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withInstall } from 'bm-admin-ui/es/utils/with-install';
|
|
2
|
-
import { h, nextTick, createVNode, defineComponent, ref, resolveComponent, openBlock, createElementBlock, createTextVNode, toDisplayString, createBlock,
|
|
2
|
+
import { h, nextTick, createVNode, defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, unref, createTextVNode, toDisplayString, createBlock, createCommentVNode, createElementVNode, withCtx, Fragment, renderList, withModifiers, normalizeClass, renderSlot, reactive, onBeforeUnmount, watch } from 'vue';
|
|
3
3
|
import FormCreateCtr from '@form-create/ant-design-vue';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1248,6 +1248,12 @@ const searchResetBtnProps = {
|
|
|
1248
1248
|
type: String,
|
|
1249
1249
|
default: '收起',
|
|
1250
1250
|
},
|
|
1251
|
+
gutter: {
|
|
1252
|
+
type: Array,
|
|
1253
|
+
default() {
|
|
1254
|
+
return [24, 16];
|
|
1255
|
+
},
|
|
1256
|
+
},
|
|
1251
1257
|
};
|
|
1252
1258
|
const searchFilterProps = Object.assign({ userRule: {
|
|
1253
1259
|
type: Array,
|
|
@@ -1271,11 +1277,6 @@ const searchFilterProps = Object.assign({ userRule: {
|
|
|
1271
1277
|
default() {
|
|
1272
1278
|
return {};
|
|
1273
1279
|
},
|
|
1274
|
-
}, gutter: {
|
|
1275
|
-
type: Array,
|
|
1276
|
-
default() {
|
|
1277
|
-
return [24, 16];
|
|
1278
|
-
},
|
|
1279
1280
|
}, fixedCount: {
|
|
1280
1281
|
type: Number,
|
|
1281
1282
|
default: 999999,
|
|
@@ -1294,16 +1295,19 @@ var _export_sfc = (sfc, props) => {
|
|
|
1294
1295
|
return target;
|
|
1295
1296
|
};
|
|
1296
1297
|
|
|
1297
|
-
const _hoisted_1$1 = { class: "bm-search-filter-
|
|
1298
|
-
const _hoisted_2$1 =
|
|
1299
|
-
const _hoisted_3$1 = /* @__PURE__ */ createTextVNode("\
|
|
1300
|
-
const _hoisted_4$1 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
|
|
1298
|
+
const _hoisted_1$1 = { class: "bm-search-filter-actions" };
|
|
1299
|
+
const _hoisted_2$1 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
|
|
1300
|
+
const _hoisted_3$1 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
|
|
1301
1301
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
1302
1302
|
props: searchResetBtnProps,
|
|
1303
1303
|
emits: ["submit", "reset", "expand"],
|
|
1304
1304
|
setup(__props, { emit: emits }) {
|
|
1305
1305
|
const props = __props;
|
|
1306
1306
|
const isExpand = ref(false);
|
|
1307
|
+
const wrapperStyle = computed(() => {
|
|
1308
|
+
let gutter = props.gutter?.[0] || 24;
|
|
1309
|
+
return { paddingLeft: gutter / 2 + "px", paddingRight: gutter / 2 + "px" };
|
|
1310
|
+
});
|
|
1307
1311
|
function handleExpandBtnChange() {
|
|
1308
1312
|
isExpand.value = !isExpand.value;
|
|
1309
1313
|
emits("expand", isExpand.value);
|
|
@@ -1316,7 +1320,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1316
1320
|
}
|
|
1317
1321
|
return (_ctx, _cache) => {
|
|
1318
1322
|
const _component_a_button = resolveComponent("a-button");
|
|
1319
|
-
return openBlock(), createElementBlock("div",
|
|
1323
|
+
return openBlock(), createElementBlock("div", {
|
|
1324
|
+
class: "bm-search-filter-btn",
|
|
1325
|
+
style: normalizeStyle(unref(wrapperStyle))
|
|
1326
|
+
}, [
|
|
1320
1327
|
props.showExpandBtn ? (openBlock(), createElementBlock("span", {
|
|
1321
1328
|
key: 0,
|
|
1322
1329
|
class: "bm-search-filter-expand",
|
|
@@ -1325,10 +1332,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1325
1332
|
createTextVNode(toDisplayString(isExpand.value ? props.collapseText : props.expandText), 1),
|
|
1326
1333
|
isExpand.value ? (openBlock(), createBlock(unref(UpOutlined$1), { key: 0 })) : (openBlock(), createBlock(unref(DownOutlined$1), { key: 1 }))
|
|
1327
1334
|
])) : createCommentVNode("v-if", true),
|
|
1328
|
-
createElementVNode("span",
|
|
1335
|
+
createElementVNode("span", _hoisted_1$1, [
|
|
1329
1336
|
createVNode(_component_a_button, { onClick: handleReset }, {
|
|
1330
1337
|
default: withCtx(() => [
|
|
1331
|
-
|
|
1338
|
+
_hoisted_2$1
|
|
1332
1339
|
]),
|
|
1333
1340
|
_: 1
|
|
1334
1341
|
}),
|
|
@@ -1338,12 +1345,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1338
1345
|
}, {
|
|
1339
1346
|
default: withCtx(() => [
|
|
1340
1347
|
props.showSearchIcon ? (openBlock(), createBlock(unref(SearchOutlined$1), { key: 0 })) : createCommentVNode("v-if", true),
|
|
1341
|
-
|
|
1348
|
+
_hoisted_3$1
|
|
1342
1349
|
]),
|
|
1343
1350
|
_: 1
|
|
1344
1351
|
})
|
|
1345
1352
|
])
|
|
1346
|
-
]);
|
|
1353
|
+
], 4);
|
|
1347
1354
|
};
|
|
1348
1355
|
}
|
|
1349
1356
|
});
|
|
@@ -1882,7 +1889,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1882
1889
|
showExpandBtn: props.showExpandBtn,
|
|
1883
1890
|
showSearchIcon: props.showSearchIcon,
|
|
1884
1891
|
expandText: props.expandText,
|
|
1885
|
-
collapseText: props.collapseText
|
|
1892
|
+
collapseText: props.collapseText,
|
|
1893
|
+
gutter: props.gutter
|
|
1886
1894
|
},
|
|
1887
1895
|
on: {
|
|
1888
1896
|
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<
|
|
43
|
+
emptyPic: import("vue").Ref<(string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
44
44
|
[key: string]: any;
|
|
45
|
-
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
+
}> | null | undefined) | JSX.Element | (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<{}>;
|
|
@@ -3,6 +3,9 @@ declare const BmTimeline: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
3
3
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
6
9
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
7
10
|
default: string;
|
|
8
11
|
} & {
|
|
@@ -13,6 +16,9 @@ declare const BmTimeline: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
13
16
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
14
17
|
default: string;
|
|
15
18
|
};
|
|
19
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
16
22
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
17
23
|
default: string;
|
|
18
24
|
} & {
|
|
@@ -31,12 +37,16 @@ declare const BmTimeline: import("bm-admin-ui/es/utils/with-install").SFCWithIns
|
|
|
31
37
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
32
38
|
default: string;
|
|
33
39
|
};
|
|
40
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
34
43
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
35
44
|
default: string;
|
|
36
45
|
} & {
|
|
37
46
|
default: string;
|
|
38
47
|
};
|
|
39
48
|
}>>, {
|
|
49
|
+
size: string;
|
|
40
50
|
mode: string;
|
|
41
51
|
labelWidth: string;
|
|
42
52
|
}>>;
|
|
@@ -81,6 +91,7 @@ declare const BmTimelineItem: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
81
91
|
}>;
|
|
82
92
|
itemClassName: import("vue").ComputedRef<{
|
|
83
93
|
'bm-timeline-item': boolean;
|
|
94
|
+
'bm-timeline-item-has-label': any;
|
|
84
95
|
}>;
|
|
85
96
|
dotClassName: import("vue").ComputedRef<{
|
|
86
97
|
[x: string]: any;
|
|
@@ -38,6 +38,7 @@ function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;
|
|
|
38
38
|
|
|
39
39
|
const timelineProps = () => ({
|
|
40
40
|
mode: z.oneOf(['left', 'right']).def('left'),
|
|
41
|
+
size: z.oneOf(['normal', 'small']).def('normal'),
|
|
41
42
|
labelWidth: z.string.def(''),
|
|
42
43
|
});
|
|
43
44
|
const timelineItemProps = () => ({
|
|
@@ -69,11 +70,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
69
70
|
const className = computed(() => {
|
|
70
71
|
return {
|
|
71
72
|
"bm-timeline": true,
|
|
72
|
-
[`bm-timeline-${props.mode}`]: true
|
|
73
|
+
[`bm-timeline-${props.mode}`]: true,
|
|
74
|
+
[`bm-timeline-${props.size}`]: true
|
|
73
75
|
};
|
|
74
76
|
});
|
|
75
77
|
return (_ctx, _cache) => {
|
|
76
|
-
return openBlock(), createElementBlock("
|
|
78
|
+
return openBlock(), createElementBlock("div", {
|
|
77
79
|
class: normalizeClass(unref(className))
|
|
78
80
|
}, [
|
|
79
81
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -99,9 +101,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
99
101
|
const offsetStyle = computed(() => {
|
|
100
102
|
if (labelWidth.value) {
|
|
101
103
|
if (mode.value !== "right") {
|
|
102
|
-
return { left: `calc(${labelWidth.value}
|
|
104
|
+
return { left: `calc(${labelWidth.value})` };
|
|
103
105
|
} else {
|
|
104
|
-
return { right: `calc(${labelWidth.value}
|
|
106
|
+
return { right: `calc(${labelWidth.value})` };
|
|
105
107
|
}
|
|
106
108
|
} else {
|
|
107
109
|
return {};
|
|
@@ -109,7 +111,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
109
111
|
});
|
|
110
112
|
const itemClassName = computed(() => {
|
|
111
113
|
return {
|
|
112
|
-
"bm-timeline-item": true
|
|
114
|
+
"bm-timeline-item": true,
|
|
115
|
+
"bm-timeline-item-has-label": labelWidth.value
|
|
113
116
|
};
|
|
114
117
|
});
|
|
115
118
|
const dotClassName = computed(() => {
|
|
@@ -123,7 +126,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
123
126
|
return /blue|red|green|gray/.test(props.color || "") ? void 0 : props.color;
|
|
124
127
|
});
|
|
125
128
|
return (_ctx, _cache) => {
|
|
126
|
-
return openBlock(), createElementBlock("
|
|
129
|
+
return openBlock(), createElementBlock("div", {
|
|
127
130
|
class: normalizeClass(unref(itemClassName))
|
|
128
131
|
}, [
|
|
129
132
|
createElementVNode("div", {
|
|
@@ -3,6 +3,9 @@ export declare const timelineProps: () => {
|
|
|
3
3
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
4
4
|
default: string;
|
|
5
5
|
};
|
|
6
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
6
9
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
7
10
|
default: string;
|
|
8
11
|
} & {
|
|
@@ -2,6 +2,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2
2
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
3
3
|
default: string;
|
|
4
4
|
};
|
|
5
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
5
8
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
6
9
|
default: string;
|
|
7
10
|
} & {
|
|
@@ -12,6 +15,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
15
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
13
16
|
default: string;
|
|
14
17
|
};
|
|
18
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
15
21
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
16
22
|
default: string;
|
|
17
23
|
} & {
|
|
@@ -30,12 +36,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
36
|
mode: import("vue-types").VueTypeDef<string> & {
|
|
31
37
|
default: string;
|
|
32
38
|
};
|
|
39
|
+
size: import("vue-types").VueTypeDef<string> & {
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
33
42
|
labelWidth: import("vue-types").VueTypeValidableDef<string> & {
|
|
34
43
|
default: string;
|
|
35
44
|
} & {
|
|
36
45
|
default: string;
|
|
37
46
|
};
|
|
38
47
|
}>>, {
|
|
48
|
+
size: string;
|
|
39
49
|
mode: string;
|
|
40
50
|
labelWidth: string;
|
|
41
51
|
}>;
|