bm-admin-ui 1.0.8-alpha → 1.0.9-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/feedback/index.d.ts +4 -4
- package/es/components/feedback/src/bmAlert.vue.d.ts +1 -1
- package/es/components/feedback/src/bmModal.vue.d.ts +3 -3
- package/es/components/multi-cascader-compose/index.d.ts +3 -3
- package/es/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +3 -3
- package/es/components/search-filter/index.d.ts +33 -4
- package/es/components/search-filter/index.js +65 -35
- package/es/components/search-filter/src/{serach-filter.d.ts → search-filter.d.ts} +12 -0
- package/es/components/search-filter/src/search-filter.vue.d.ts +33 -4
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +16 -2
- package/es/components/staffs-selector/index.js +1 -1
- package/es/components/upload/index.js +2 -2
- package/index.esm.js +175 -346
- package/index.js +173 -344
- package/lib/components/feedback/index.d.ts +4 -4
- package/lib/components/feedback/src/bmAlert.vue.d.ts +1 -1
- package/lib/components/feedback/src/bmModal.vue.d.ts +3 -3
- package/lib/components/multi-cascader-compose/index.d.ts +3 -3
- package/lib/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +3 -3
- package/lib/components/search-filter/index.d.ts +33 -4
- package/lib/components/search-filter/index.js +65 -35
- package/lib/components/search-filter/src/{serach-filter.d.ts → search-filter.d.ts} +12 -0
- package/lib/components/search-filter/src/search-filter.vue.d.ts +33 -4
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +16 -2
- package/lib/components/staffs-selector/index.js +1 -1
- package/lib/components/upload/index.js +2 -2
- package/package.json +1 -1
- package/theme-chalk/feedback.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/multi-cascader-compose.css +1 -1
- package/types/components/feedback/index.d.ts +4 -4
- package/types/components/feedback/src/bmAlert.vue.d.ts +1 -1
- package/types/components/feedback/src/bmModal.vue.d.ts +3 -3
- package/types/components/multi-cascader-compose/index.d.ts +3 -3
- package/types/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +3 -3
- package/types/components/search-filter/index.d.ts +33 -4
- package/types/components/search-filter/src/{serach-filter.d.ts → search-filter.d.ts} +12 -0
- package/types/components/search-filter/src/search-filter.vue.d.ts +33 -4
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +16 -2
|
@@ -38,8 +38,8 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
40
|
}>> & {
|
|
41
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
42
41
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
}>>;
|
|
44
44
|
caculWidth: import("vue").ComputedRef<string>;
|
|
45
45
|
onOkCallback: (e: any) => void;
|
|
@@ -835,12 +835,12 @@ declare const BmModal: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
835
835
|
default: string;
|
|
836
836
|
};
|
|
837
837
|
}>> & {
|
|
838
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
839
838
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
839
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
840
840
|
}, {
|
|
841
841
|
size: string;
|
|
842
|
-
visible: boolean;
|
|
843
842
|
width: string;
|
|
843
|
+
visible: boolean;
|
|
844
844
|
}>>;
|
|
845
845
|
declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
|
|
846
846
|
type: {
|
|
@@ -872,7 +872,7 @@ declare const BmAlert: import("bm-admin-ui/es/utils/with-install").SFCWithInstal
|
|
|
872
872
|
}>> & {
|
|
873
873
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
874
874
|
}>>;
|
|
875
|
-
getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/
|
|
875
|
+
getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/CheckCircleFilled").CheckCircleFilledIconType | undefined>;
|
|
876
876
|
AAlert: {
|
|
877
877
|
new (...args: any[]): {
|
|
878
878
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
}>> & {
|
|
29
29
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
30
30
|
}>>;
|
|
31
|
-
getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/
|
|
31
|
+
getIconCmp: import("vue").ComputedRef<import("@ant-design/icons-vue/lib/icons/CheckCircleFilled").CheckCircleFilledIconType | undefined>;
|
|
32
32
|
AAlert: {
|
|
33
33
|
new (...args: any[]): {
|
|
34
34
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -32,8 +32,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
}>> & {
|
|
35
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
36
35
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
37
37
|
}>>;
|
|
38
38
|
caculWidth: import("vue").ComputedRef<string>;
|
|
39
39
|
onOkCallback: (e: any) => void;
|
|
@@ -829,11 +829,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
829
829
|
default: string;
|
|
830
830
|
};
|
|
831
831
|
}>> & {
|
|
832
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
833
832
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
833
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
834
834
|
}, {
|
|
835
835
|
size: string;
|
|
836
|
-
visible: boolean;
|
|
837
836
|
width: string;
|
|
837
|
+
visible: boolean;
|
|
838
838
|
}>;
|
|
839
839
|
export default _default;
|
|
@@ -74,8 +74,8 @@ declare const BmMultiCascaderCompose: import("bm-admin-ui/es/utils/with-install"
|
|
|
74
74
|
default: undefined;
|
|
75
75
|
};
|
|
76
76
|
}>> & {
|
|
77
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
78
77
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
79
79
|
}>>;
|
|
80
80
|
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
81
81
|
path: import("vue").Ref<{
|
|
@@ -144,15 +144,15 @@ declare const BmMultiCascaderCompose: import("bm-admin-ui/es/utils/with-install"
|
|
|
144
144
|
default: undefined;
|
|
145
145
|
};
|
|
146
146
|
}>> & {
|
|
147
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
148
147
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
148
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
149
149
|
}, {
|
|
150
|
+
placeholder: string;
|
|
150
151
|
options: import("./types").MutilCascaderItem[];
|
|
151
152
|
modelValue: string[];
|
|
152
153
|
optionValueName: string;
|
|
153
154
|
optionLabelName: string;
|
|
154
155
|
maxTagCount: number;
|
|
155
|
-
placeholder: string;
|
|
156
156
|
allowClear: boolean;
|
|
157
157
|
emptyImage: JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
158
158
|
[key: string]: any;
|
|
@@ -75,8 +75,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
default: undefined;
|
|
76
76
|
};
|
|
77
77
|
}>> & {
|
|
78
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
79
78
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
80
80
|
}>>;
|
|
81
81
|
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
82
82
|
path: import("vue").Ref<{
|
|
@@ -145,15 +145,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
145
145
|
default: undefined;
|
|
146
146
|
};
|
|
147
147
|
}>> & {
|
|
148
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
149
148
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
149
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
150
150
|
}, {
|
|
151
|
+
placeholder: string;
|
|
151
152
|
options: MutilCascaderItem[];
|
|
152
153
|
modelValue: string[];
|
|
153
154
|
optionValueName: string;
|
|
154
155
|
optionLabelName: string;
|
|
155
156
|
maxTagCount: number;
|
|
156
|
-
placeholder: string;
|
|
157
157
|
allowClear: boolean;
|
|
158
158
|
emptyImage: JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
159
159
|
[key: string]: any;
|
|
@@ -3,6 +3,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
|
+
showSearchIcon: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
6
10
|
userRule: {
|
|
7
11
|
type: ArrayConstructor;
|
|
8
12
|
default(): never[];
|
|
@@ -21,6 +25,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
21
25
|
type: ObjectConstructor;
|
|
22
26
|
default(): {};
|
|
23
27
|
};
|
|
28
|
+
gutter: {
|
|
29
|
+
type: ArrayConstructor;
|
|
30
|
+
default(): number[];
|
|
31
|
+
};
|
|
24
32
|
fixedCount: {
|
|
25
33
|
type: NumberConstructor;
|
|
26
34
|
default: number;
|
|
@@ -39,6 +47,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
39
47
|
type: BooleanConstructor;
|
|
40
48
|
default: boolean;
|
|
41
49
|
};
|
|
50
|
+
showSearchIcon: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
42
54
|
userRule: {
|
|
43
55
|
type: ArrayConstructor;
|
|
44
56
|
default(): never[];
|
|
@@ -57,6 +69,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
57
69
|
type: ObjectConstructor;
|
|
58
70
|
default(): {};
|
|
59
71
|
};
|
|
72
|
+
gutter: {
|
|
73
|
+
type: ArrayConstructor;
|
|
74
|
+
default(): number[];
|
|
75
|
+
};
|
|
60
76
|
fixedCount: {
|
|
61
77
|
type: NumberConstructor;
|
|
62
78
|
default: number;
|
|
@@ -70,8 +86,8 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
70
86
|
default: string;
|
|
71
87
|
};
|
|
72
88
|
}>> & {
|
|
73
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
74
89
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
90
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
75
91
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
76
92
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
77
93
|
}>>;
|
|
@@ -81,6 +97,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
81
97
|
type: string;
|
|
82
98
|
props: {
|
|
83
99
|
showExpandBtn: boolean;
|
|
100
|
+
showSearchIcon: boolean;
|
|
84
101
|
};
|
|
85
102
|
on: {
|
|
86
103
|
submit: () => void;
|
|
@@ -94,10 +111,12 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
94
111
|
span: number;
|
|
95
112
|
};
|
|
96
113
|
row: {
|
|
97
|
-
gutter:
|
|
114
|
+
gutter: unknown[];
|
|
98
115
|
};
|
|
99
116
|
form: {
|
|
100
|
-
labelCol:
|
|
117
|
+
labelCol: {
|
|
118
|
+
[x: string]: any;
|
|
119
|
+
};
|
|
101
120
|
labelAlign: string;
|
|
102
121
|
wrapperCol: {
|
|
103
122
|
span: number;
|
|
@@ -116,6 +135,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
116
135
|
type: BooleanConstructor;
|
|
117
136
|
default: boolean;
|
|
118
137
|
};
|
|
138
|
+
showSearchIcon: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
119
142
|
userRule: {
|
|
120
143
|
type: ArrayConstructor;
|
|
121
144
|
default(): never[];
|
|
@@ -134,6 +157,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
134
157
|
type: ObjectConstructor;
|
|
135
158
|
default(): {};
|
|
136
159
|
};
|
|
160
|
+
gutter: {
|
|
161
|
+
type: ArrayConstructor;
|
|
162
|
+
default(): number[];
|
|
163
|
+
};
|
|
137
164
|
fixedCount: {
|
|
138
165
|
type: NumberConstructor;
|
|
139
166
|
default: number;
|
|
@@ -147,16 +174,18 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
147
174
|
default: string;
|
|
148
175
|
};
|
|
149
176
|
}>> & {
|
|
150
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
151
177
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
178
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
152
179
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
153
180
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
154
181
|
}, {
|
|
155
182
|
value: Record<string, any>;
|
|
156
183
|
showExpandBtn: boolean;
|
|
184
|
+
showSearchIcon: boolean;
|
|
157
185
|
userRule: unknown[];
|
|
158
186
|
labelCol: Record<string, any>;
|
|
159
187
|
ruleSpan: Record<string, any>;
|
|
188
|
+
gutter: unknown[];
|
|
160
189
|
fixedCount: number;
|
|
161
190
|
fixedFields: string[];
|
|
162
191
|
expandPlacement: "left" | "right";
|
|
@@ -852,9 +852,9 @@ function insertCss(css, options) {
|
|
|
852
852
|
return styleElement;
|
|
853
853
|
}
|
|
854
854
|
|
|
855
|
-
function _objectSpread$
|
|
855
|
+
function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$8(target, key, source[key]); }); } return target; }
|
|
856
856
|
|
|
857
|
-
function _defineProperty$
|
|
857
|
+
function _defineProperty$8(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
858
858
|
function warn(valid, message) {
|
|
859
859
|
// Support uglify
|
|
860
860
|
if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
|
|
@@ -870,14 +870,14 @@ function isIconDefinition(target) {
|
|
|
870
870
|
}
|
|
871
871
|
function generate(node, key, rootProps) {
|
|
872
872
|
if (!rootProps) {
|
|
873
|
-
return h(node.tag, _objectSpread$
|
|
873
|
+
return h(node.tag, _objectSpread$8({
|
|
874
874
|
key: key
|
|
875
875
|
}, node.attrs), (node.children || []).map(function (child, index) {
|
|
876
876
|
return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
|
877
877
|
}));
|
|
878
878
|
}
|
|
879
879
|
|
|
880
|
-
return h(node.tag, _objectSpread$
|
|
880
|
+
return h(node.tag, _objectSpread$8({
|
|
881
881
|
key: key
|
|
882
882
|
}, rootProps, node.attrs), (node.children || []).map(function (child, index) {
|
|
883
883
|
return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
|
@@ -917,9 +917,9 @@ function _objectWithoutProperties$1(source, excluded) { if (source == null) retu
|
|
|
917
917
|
|
|
918
918
|
function _objectWithoutPropertiesLoose$1(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
919
919
|
|
|
920
|
-
function _objectSpread$
|
|
920
|
+
function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$7(target, key, source[key]); }); } return target; }
|
|
921
921
|
|
|
922
|
-
function _defineProperty$
|
|
922
|
+
function _defineProperty$7(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
923
923
|
var twoToneColorPalette = {
|
|
924
924
|
primaryColor: '#333',
|
|
925
925
|
secondaryColor: '#E6E6E6',
|
|
@@ -935,11 +935,11 @@ function setTwoToneColors(_ref) {
|
|
|
935
935
|
}
|
|
936
936
|
|
|
937
937
|
function getTwoToneColors() {
|
|
938
|
-
return _objectSpread$
|
|
938
|
+
return _objectSpread$7({}, twoToneColorPalette);
|
|
939
939
|
}
|
|
940
940
|
|
|
941
941
|
var IconBase = function IconBase(props, context) {
|
|
942
|
-
var _props$context$attrs = _objectSpread$
|
|
942
|
+
var _props$context$attrs = _objectSpread$7({}, props, context.attrs),
|
|
943
943
|
icon = _props$context$attrs.icon,
|
|
944
944
|
primaryColor = _props$context$attrs.primaryColor,
|
|
945
945
|
secondaryColor = _props$context$attrs.secondaryColor,
|
|
@@ -964,12 +964,12 @@ var IconBase = function IconBase(props, context) {
|
|
|
964
964
|
var target = icon;
|
|
965
965
|
|
|
966
966
|
if (target && typeof target.icon === 'function') {
|
|
967
|
-
target = _objectSpread$
|
|
967
|
+
target = _objectSpread$7({}, target, {
|
|
968
968
|
icon: target.icon(colors.primaryColor, colors.secondaryColor)
|
|
969
969
|
});
|
|
970
970
|
}
|
|
971
971
|
|
|
972
|
-
return generate(target.icon, "svg-".concat(target.name), _objectSpread$
|
|
972
|
+
return generate(target.icon, "svg-".concat(target.name), _objectSpread$7({}, restProps, {
|
|
973
973
|
'data-icon': target.name,
|
|
974
974
|
width: '1em',
|
|
975
975
|
height: '1em',
|
|
@@ -1036,9 +1036,9 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
1036
1036
|
|
|
1037
1037
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
1038
1038
|
|
|
1039
|
-
function _objectSpread$
|
|
1039
|
+
function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$6(target, key, source[key]); }); } return target; }
|
|
1040
1040
|
|
|
1041
|
-
function _defineProperty$
|
|
1041
|
+
function _defineProperty$6(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1042
1042
|
|
|
1043
1043
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
1044
1044
|
|
|
@@ -1049,7 +1049,7 @@ setTwoToneColor('#1890ff');
|
|
|
1049
1049
|
var Icon = function Icon(props, context) {
|
|
1050
1050
|
var _classObj;
|
|
1051
1051
|
|
|
1052
|
-
var _props$context$attrs = _objectSpread$
|
|
1052
|
+
var _props$context$attrs = _objectSpread$6({}, props, context.attrs),
|
|
1053
1053
|
cls = _props$context$attrs["class"],
|
|
1054
1054
|
icon = _props$context$attrs.icon,
|
|
1055
1055
|
spin = _props$context$attrs.spin,
|
|
@@ -1061,7 +1061,7 @@ var Icon = function Icon(props, context) {
|
|
|
1061
1061
|
|
|
1062
1062
|
var classObj = (_classObj = {
|
|
1063
1063
|
anticon: true
|
|
1064
|
-
}, _defineProperty$
|
|
1064
|
+
}, _defineProperty$6(_classObj, "anticon-".concat(icon.name), Boolean(icon.name)), _defineProperty$6(_classObj, cls, cls), _classObj);
|
|
1065
1065
|
var svgClassString = spin === '' || !!spin || icon.name === 'loading' ? 'anticon-spin' : '';
|
|
1066
1066
|
var iconTabIndex = tabindex;
|
|
1067
1067
|
|
|
@@ -1080,7 +1080,7 @@ var Icon = function Icon(props, context) {
|
|
|
1080
1080
|
primaryColor = _normalizeTwoToneColo2[0],
|
|
1081
1081
|
secondaryColor = _normalizeTwoToneColo2[1];
|
|
1082
1082
|
|
|
1083
|
-
return createVNode("span", _objectSpread$
|
|
1083
|
+
return createVNode("span", _objectSpread$6({
|
|
1084
1084
|
"role": "img",
|
|
1085
1085
|
"aria-label": icon.name
|
|
1086
1086
|
}, restProps, {
|
|
@@ -1111,14 +1111,14 @@ var AntdIcon = Icon;
|
|
|
1111
1111
|
var CloseCircleFilled$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" } }] }, "name": "close-circle", "theme": "filled" };
|
|
1112
1112
|
var CloseCircleFilledSvg = CloseCircleFilled$2;
|
|
1113
1113
|
|
|
1114
|
-
function _objectSpread$
|
|
1114
|
+
function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$5(target, key, source[key]); }); } return target; }
|
|
1115
1115
|
|
|
1116
|
-
function _defineProperty$
|
|
1116
|
+
function _defineProperty$5(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1117
1117
|
|
|
1118
1118
|
var CloseCircleFilled = function CloseCircleFilled(props, context) {
|
|
1119
|
-
var p = _objectSpread$
|
|
1119
|
+
var p = _objectSpread$5({}, props, context.attrs);
|
|
1120
1120
|
|
|
1121
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1121
|
+
return createVNode(AntdIcon, _objectSpread$5({}, p, {
|
|
1122
1122
|
"icon": CloseCircleFilledSvg
|
|
1123
1123
|
}), null);
|
|
1124
1124
|
};
|
|
@@ -1131,14 +1131,14 @@ var CloseCircleFilled$1 = CloseCircleFilled;
|
|
|
1131
1131
|
var CloseOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" };
|
|
1132
1132
|
var CloseOutlinedSvg = CloseOutlined$2;
|
|
1133
1133
|
|
|
1134
|
-
function _objectSpread$
|
|
1134
|
+
function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } return target; }
|
|
1135
1135
|
|
|
1136
|
-
function _defineProperty$
|
|
1136
|
+
function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1137
1137
|
|
|
1138
1138
|
var CloseOutlined = function CloseOutlined(props, context) {
|
|
1139
|
-
var p = _objectSpread$
|
|
1139
|
+
var p = _objectSpread$4({}, props, context.attrs);
|
|
1140
1140
|
|
|
1141
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1141
|
+
return createVNode(AntdIcon, _objectSpread$4({}, p, {
|
|
1142
1142
|
"icon": CloseOutlinedSvg
|
|
1143
1143
|
}), null);
|
|
1144
1144
|
};
|
|
@@ -1151,14 +1151,14 @@ var CloseOutlined$1 = CloseOutlined;
|
|
|
1151
1151
|
var DownOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" };
|
|
1152
1152
|
var DownOutlinedSvg = DownOutlined$2;
|
|
1153
1153
|
|
|
1154
|
-
function _objectSpread$
|
|
1154
|
+
function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } return target; }
|
|
1155
1155
|
|
|
1156
|
-
function _defineProperty$
|
|
1156
|
+
function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1157
1157
|
|
|
1158
1158
|
var DownOutlined = function DownOutlined(props, context) {
|
|
1159
|
-
var p = _objectSpread$
|
|
1159
|
+
var p = _objectSpread$3({}, props, context.attrs);
|
|
1160
1160
|
|
|
1161
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1161
|
+
return createVNode(AntdIcon, _objectSpread$3({}, p, {
|
|
1162
1162
|
"icon": DownOutlinedSvg
|
|
1163
1163
|
}), null);
|
|
1164
1164
|
};
|
|
@@ -1171,14 +1171,14 @@ var DownOutlined$1 = DownOutlined;
|
|
|
1171
1171
|
var RightOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, "name": "right", "theme": "outlined" };
|
|
1172
1172
|
var RightOutlinedSvg = RightOutlined$2;
|
|
1173
1173
|
|
|
1174
|
-
function _objectSpread$
|
|
1174
|
+
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
|
|
1175
1175
|
|
|
1176
|
-
function _defineProperty$
|
|
1176
|
+
function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1177
1177
|
|
|
1178
1178
|
var RightOutlined = function RightOutlined(props, context) {
|
|
1179
|
-
var p = _objectSpread$
|
|
1179
|
+
var p = _objectSpread$2({}, props, context.attrs);
|
|
1180
1180
|
|
|
1181
|
-
return createVNode(AntdIcon, _objectSpread$
|
|
1181
|
+
return createVNode(AntdIcon, _objectSpread$2({}, p, {
|
|
1182
1182
|
"icon": RightOutlinedSvg
|
|
1183
1183
|
}), null);
|
|
1184
1184
|
};
|
|
@@ -1187,6 +1187,26 @@ RightOutlined.displayName = 'RightOutlined';
|
|
|
1187
1187
|
RightOutlined.inheritAttrs = false;
|
|
1188
1188
|
var RightOutlined$1 = RightOutlined;
|
|
1189
1189
|
|
|
1190
|
+
// This icon file is generated automatically.
|
|
1191
|
+
var SearchOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
|
|
1192
|
+
var SearchOutlinedSvg = SearchOutlined$2;
|
|
1193
|
+
|
|
1194
|
+
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
|
|
1195
|
+
|
|
1196
|
+
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1197
|
+
|
|
1198
|
+
var SearchOutlined = function SearchOutlined(props, context) {
|
|
1199
|
+
var p = _objectSpread$1({}, props, context.attrs);
|
|
1200
|
+
|
|
1201
|
+
return createVNode(AntdIcon, _objectSpread$1({}, p, {
|
|
1202
|
+
"icon": SearchOutlinedSvg
|
|
1203
|
+
}), null);
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
SearchOutlined.displayName = 'SearchOutlined';
|
|
1207
|
+
SearchOutlined.inheritAttrs = false;
|
|
1208
|
+
var SearchOutlined$1 = SearchOutlined;
|
|
1209
|
+
|
|
1190
1210
|
// This icon file is generated automatically.
|
|
1191
1211
|
var UpOutlined$2 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" };
|
|
1192
1212
|
var UpOutlinedSvg = UpOutlined$2;
|
|
@@ -1212,6 +1232,10 @@ const searchResetBtnProps = {
|
|
|
1212
1232
|
type: Boolean,
|
|
1213
1233
|
default: false,
|
|
1214
1234
|
},
|
|
1235
|
+
showSearchIcon: {
|
|
1236
|
+
type: Boolean,
|
|
1237
|
+
default: false,
|
|
1238
|
+
},
|
|
1215
1239
|
};
|
|
1216
1240
|
const searchFilterProps = Object.assign({ userRule: {
|
|
1217
1241
|
type: Array,
|
|
@@ -1235,6 +1259,11 @@ const searchFilterProps = Object.assign({ userRule: {
|
|
|
1235
1259
|
default() {
|
|
1236
1260
|
return {};
|
|
1237
1261
|
},
|
|
1262
|
+
}, gutter: {
|
|
1263
|
+
type: Array,
|
|
1264
|
+
default() {
|
|
1265
|
+
return [24, 16];
|
|
1266
|
+
},
|
|
1238
1267
|
}, fixedCount: {
|
|
1239
1268
|
type: Number,
|
|
1240
1269
|
default: 999999,
|
|
@@ -1261,7 +1290,6 @@ const _hoisted_2$1 = { class: "bm-search-filter-actions" };
|
|
|
1261
1290
|
const _hoisted_3$1 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
|
|
1262
1291
|
const _hoisted_4$1 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
|
|
1263
1292
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
1264
|
-
name: "search-reset-btn",
|
|
1265
1293
|
props: searchResetBtnProps,
|
|
1266
1294
|
emits: ["submit", "reset", "expand"],
|
|
1267
1295
|
setup(__props, { emit: emits }) {
|
|
@@ -1300,6 +1328,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1300
1328
|
onClick: handleSubmit
|
|
1301
1329
|
}, {
|
|
1302
1330
|
default: withCtx(() => [
|
|
1331
|
+
props.showSearchIcon ? (openBlock(), createBlock(unref(SearchOutlined$1), { key: 0 })) : createCommentVNode("v-if", true),
|
|
1303
1332
|
_hoisted_4$1
|
|
1304
1333
|
]),
|
|
1305
1334
|
_: 1
|
|
@@ -1841,7 +1870,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1841
1870
|
{
|
|
1842
1871
|
type: "SearchResetBtn",
|
|
1843
1872
|
props: {
|
|
1844
|
-
showExpandBtn: props.showExpandBtn
|
|
1873
|
+
showExpandBtn: props.showExpandBtn,
|
|
1874
|
+
showSearchIcon: props.showSearchIcon
|
|
1845
1875
|
},
|
|
1846
1876
|
on: {
|
|
1847
1877
|
submit() {
|
|
@@ -1864,7 +1894,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1864
1894
|
span: 8
|
|
1865
1895
|
},
|
|
1866
1896
|
row: {
|
|
1867
|
-
gutter:
|
|
1897
|
+
gutter: props.gutter
|
|
1868
1898
|
},
|
|
1869
1899
|
form: {
|
|
1870
1900
|
labelCol: props.labelCol,
|
|
@@ -1948,7 +1978,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1948
1978
|
"onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
|
|
1949
1979
|
"model-value": props.value,
|
|
1950
1980
|
rule: unref(rule),
|
|
1951
|
-
option,
|
|
1981
|
+
option: unref(option),
|
|
1952
1982
|
onChange: handleChange
|
|
1953
1983
|
}, null, 8, ["api", "model-value", "rule", "option"])
|
|
1954
1984
|
], 2);
|
|
@@ -4,12 +4,20 @@ export declare const searchResetBtnProps: {
|
|
|
4
4
|
type: BooleanConstructor;
|
|
5
5
|
default: boolean;
|
|
6
6
|
};
|
|
7
|
+
showSearchIcon: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
7
11
|
};
|
|
8
12
|
export declare const searchFilterProps: {
|
|
9
13
|
showExpandBtn: {
|
|
10
14
|
type: BooleanConstructor;
|
|
11
15
|
default: boolean;
|
|
12
16
|
};
|
|
17
|
+
showSearchIcon: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
13
21
|
userRule: {
|
|
14
22
|
type: ArrayConstructor;
|
|
15
23
|
default(): never[];
|
|
@@ -28,6 +36,10 @@ export declare const searchFilterProps: {
|
|
|
28
36
|
type: ObjectConstructor;
|
|
29
37
|
default(): {};
|
|
30
38
|
};
|
|
39
|
+
gutter: {
|
|
40
|
+
type: ArrayConstructor;
|
|
41
|
+
default(): number[];
|
|
42
|
+
};
|
|
31
43
|
fixedCount: {
|
|
32
44
|
type: NumberConstructor;
|
|
33
45
|
default: number;
|