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";
|
|
@@ -860,9 +860,9 @@ function insertCss(css, options) {
|
|
|
860
860
|
return styleElement;
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
function _objectSpread$
|
|
863
|
+
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; }
|
|
864
864
|
|
|
865
|
-
function _defineProperty$
|
|
865
|
+
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; }
|
|
866
866
|
function warn(valid, message) {
|
|
867
867
|
// Support uglify
|
|
868
868
|
if (process.env.NODE_ENV !== 'production' && !valid && console !== undefined) {
|
|
@@ -878,14 +878,14 @@ function isIconDefinition(target) {
|
|
|
878
878
|
}
|
|
879
879
|
function generate(node, key, rootProps) {
|
|
880
880
|
if (!rootProps) {
|
|
881
|
-
return vue.h(node.tag, _objectSpread$
|
|
881
|
+
return vue.h(node.tag, _objectSpread$8({
|
|
882
882
|
key: key
|
|
883
883
|
}, node.attrs), (node.children || []).map(function (child, index) {
|
|
884
884
|
return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
|
885
885
|
}));
|
|
886
886
|
}
|
|
887
887
|
|
|
888
|
-
return vue.h(node.tag, _objectSpread$
|
|
888
|
+
return vue.h(node.tag, _objectSpread$8({
|
|
889
889
|
key: key
|
|
890
890
|
}, rootProps, node.attrs), (node.children || []).map(function (child, index) {
|
|
891
891
|
return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index));
|
|
@@ -925,9 +925,9 @@ function _objectWithoutProperties$1(source, excluded) { if (source == null) retu
|
|
|
925
925
|
|
|
926
926
|
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; }
|
|
927
927
|
|
|
928
|
-
function _objectSpread$
|
|
928
|
+
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; }
|
|
929
929
|
|
|
930
|
-
function _defineProperty$
|
|
930
|
+
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; }
|
|
931
931
|
var twoToneColorPalette = {
|
|
932
932
|
primaryColor: '#333',
|
|
933
933
|
secondaryColor: '#E6E6E6',
|
|
@@ -943,11 +943,11 @@ function setTwoToneColors(_ref) {
|
|
|
943
943
|
}
|
|
944
944
|
|
|
945
945
|
function getTwoToneColors() {
|
|
946
|
-
return _objectSpread$
|
|
946
|
+
return _objectSpread$7({}, twoToneColorPalette);
|
|
947
947
|
}
|
|
948
948
|
|
|
949
949
|
var IconBase = function IconBase(props, context) {
|
|
950
|
-
var _props$context$attrs = _objectSpread$
|
|
950
|
+
var _props$context$attrs = _objectSpread$7({}, props, context.attrs),
|
|
951
951
|
icon = _props$context$attrs.icon,
|
|
952
952
|
primaryColor = _props$context$attrs.primaryColor,
|
|
953
953
|
secondaryColor = _props$context$attrs.secondaryColor,
|
|
@@ -972,12 +972,12 @@ var IconBase = function IconBase(props, context) {
|
|
|
972
972
|
var target = icon;
|
|
973
973
|
|
|
974
974
|
if (target && typeof target.icon === 'function') {
|
|
975
|
-
target = _objectSpread$
|
|
975
|
+
target = _objectSpread$7({}, target, {
|
|
976
976
|
icon: target.icon(colors.primaryColor, colors.secondaryColor)
|
|
977
977
|
});
|
|
978
978
|
}
|
|
979
979
|
|
|
980
|
-
return generate(target.icon, "svg-".concat(target.name), _objectSpread$
|
|
980
|
+
return generate(target.icon, "svg-".concat(target.name), _objectSpread$7({}, restProps, {
|
|
981
981
|
'data-icon': target.name,
|
|
982
982
|
width: '1em',
|
|
983
983
|
height: '1em',
|
|
@@ -1044,9 +1044,9 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
1044
1044
|
|
|
1045
1045
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
1046
1046
|
|
|
1047
|
-
function _objectSpread$
|
|
1047
|
+
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; }
|
|
1048
1048
|
|
|
1049
|
-
function _defineProperty$
|
|
1049
|
+
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; }
|
|
1050
1050
|
|
|
1051
1051
|
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; }
|
|
1052
1052
|
|
|
@@ -1057,7 +1057,7 @@ setTwoToneColor('#1890ff');
|
|
|
1057
1057
|
var Icon = function Icon(props, context) {
|
|
1058
1058
|
var _classObj;
|
|
1059
1059
|
|
|
1060
|
-
var _props$context$attrs = _objectSpread$
|
|
1060
|
+
var _props$context$attrs = _objectSpread$6({}, props, context.attrs),
|
|
1061
1061
|
cls = _props$context$attrs["class"],
|
|
1062
1062
|
icon = _props$context$attrs.icon,
|
|
1063
1063
|
spin = _props$context$attrs.spin,
|
|
@@ -1069,7 +1069,7 @@ var Icon = function Icon(props, context) {
|
|
|
1069
1069
|
|
|
1070
1070
|
var classObj = (_classObj = {
|
|
1071
1071
|
anticon: true
|
|
1072
|
-
}, _defineProperty$
|
|
1072
|
+
}, _defineProperty$6(_classObj, "anticon-".concat(icon.name), Boolean(icon.name)), _defineProperty$6(_classObj, cls, cls), _classObj);
|
|
1073
1073
|
var svgClassString = spin === '' || !!spin || icon.name === 'loading' ? 'anticon-spin' : '';
|
|
1074
1074
|
var iconTabIndex = tabindex;
|
|
1075
1075
|
|
|
@@ -1088,7 +1088,7 @@ var Icon = function Icon(props, context) {
|
|
|
1088
1088
|
primaryColor = _normalizeTwoToneColo2[0],
|
|
1089
1089
|
secondaryColor = _normalizeTwoToneColo2[1];
|
|
1090
1090
|
|
|
1091
|
-
return vue.createVNode("span", _objectSpread$
|
|
1091
|
+
return vue.createVNode("span", _objectSpread$6({
|
|
1092
1092
|
"role": "img",
|
|
1093
1093
|
"aria-label": icon.name
|
|
1094
1094
|
}, restProps, {
|
|
@@ -1119,14 +1119,14 @@ var AntdIcon = Icon;
|
|
|
1119
1119
|
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" };
|
|
1120
1120
|
var CloseCircleFilledSvg = CloseCircleFilled$2;
|
|
1121
1121
|
|
|
1122
|
-
function _objectSpread$
|
|
1122
|
+
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; }
|
|
1123
1123
|
|
|
1124
|
-
function _defineProperty$
|
|
1124
|
+
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; }
|
|
1125
1125
|
|
|
1126
1126
|
var CloseCircleFilled = function CloseCircleFilled(props, context) {
|
|
1127
|
-
var p = _objectSpread$
|
|
1127
|
+
var p = _objectSpread$5({}, props, context.attrs);
|
|
1128
1128
|
|
|
1129
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1129
|
+
return vue.createVNode(AntdIcon, _objectSpread$5({}, p, {
|
|
1130
1130
|
"icon": CloseCircleFilledSvg
|
|
1131
1131
|
}), null);
|
|
1132
1132
|
};
|
|
@@ -1139,14 +1139,14 @@ var CloseCircleFilled$1 = CloseCircleFilled;
|
|
|
1139
1139
|
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" };
|
|
1140
1140
|
var CloseOutlinedSvg = CloseOutlined$2;
|
|
1141
1141
|
|
|
1142
|
-
function _objectSpread$
|
|
1142
|
+
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; }
|
|
1143
1143
|
|
|
1144
|
-
function _defineProperty$
|
|
1144
|
+
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; }
|
|
1145
1145
|
|
|
1146
1146
|
var CloseOutlined = function CloseOutlined(props, context) {
|
|
1147
|
-
var p = _objectSpread$
|
|
1147
|
+
var p = _objectSpread$4({}, props, context.attrs);
|
|
1148
1148
|
|
|
1149
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1149
|
+
return vue.createVNode(AntdIcon, _objectSpread$4({}, p, {
|
|
1150
1150
|
"icon": CloseOutlinedSvg
|
|
1151
1151
|
}), null);
|
|
1152
1152
|
};
|
|
@@ -1159,14 +1159,14 @@ var CloseOutlined$1 = CloseOutlined;
|
|
|
1159
1159
|
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" };
|
|
1160
1160
|
var DownOutlinedSvg = DownOutlined$2;
|
|
1161
1161
|
|
|
1162
|
-
function _objectSpread$
|
|
1162
|
+
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; }
|
|
1163
1163
|
|
|
1164
|
-
function _defineProperty$
|
|
1164
|
+
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; }
|
|
1165
1165
|
|
|
1166
1166
|
var DownOutlined = function DownOutlined(props, context) {
|
|
1167
|
-
var p = _objectSpread$
|
|
1167
|
+
var p = _objectSpread$3({}, props, context.attrs);
|
|
1168
1168
|
|
|
1169
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1169
|
+
return vue.createVNode(AntdIcon, _objectSpread$3({}, p, {
|
|
1170
1170
|
"icon": DownOutlinedSvg
|
|
1171
1171
|
}), null);
|
|
1172
1172
|
};
|
|
@@ -1179,14 +1179,14 @@ var DownOutlined$1 = DownOutlined;
|
|
|
1179
1179
|
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" };
|
|
1180
1180
|
var RightOutlinedSvg = RightOutlined$2;
|
|
1181
1181
|
|
|
1182
|
-
function _objectSpread$
|
|
1182
|
+
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; }
|
|
1183
1183
|
|
|
1184
|
-
function _defineProperty$
|
|
1184
|
+
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; }
|
|
1185
1185
|
|
|
1186
1186
|
var RightOutlined = function RightOutlined(props, context) {
|
|
1187
|
-
var p = _objectSpread$
|
|
1187
|
+
var p = _objectSpread$2({}, props, context.attrs);
|
|
1188
1188
|
|
|
1189
|
-
return vue.createVNode(AntdIcon, _objectSpread$
|
|
1189
|
+
return vue.createVNode(AntdIcon, _objectSpread$2({}, p, {
|
|
1190
1190
|
"icon": RightOutlinedSvg
|
|
1191
1191
|
}), null);
|
|
1192
1192
|
};
|
|
@@ -1195,6 +1195,26 @@ RightOutlined.displayName = 'RightOutlined';
|
|
|
1195
1195
|
RightOutlined.inheritAttrs = false;
|
|
1196
1196
|
var RightOutlined$1 = RightOutlined;
|
|
1197
1197
|
|
|
1198
|
+
// This icon file is generated automatically.
|
|
1199
|
+
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" };
|
|
1200
|
+
var SearchOutlinedSvg = SearchOutlined$2;
|
|
1201
|
+
|
|
1202
|
+
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; }
|
|
1203
|
+
|
|
1204
|
+
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; }
|
|
1205
|
+
|
|
1206
|
+
var SearchOutlined = function SearchOutlined(props, context) {
|
|
1207
|
+
var p = _objectSpread$1({}, props, context.attrs);
|
|
1208
|
+
|
|
1209
|
+
return vue.createVNode(AntdIcon, _objectSpread$1({}, p, {
|
|
1210
|
+
"icon": SearchOutlinedSvg
|
|
1211
|
+
}), null);
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
SearchOutlined.displayName = 'SearchOutlined';
|
|
1215
|
+
SearchOutlined.inheritAttrs = false;
|
|
1216
|
+
var SearchOutlined$1 = SearchOutlined;
|
|
1217
|
+
|
|
1198
1218
|
// This icon file is generated automatically.
|
|
1199
1219
|
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" };
|
|
1200
1220
|
var UpOutlinedSvg = UpOutlined$2;
|
|
@@ -1220,6 +1240,10 @@ const searchResetBtnProps = {
|
|
|
1220
1240
|
type: Boolean,
|
|
1221
1241
|
default: false,
|
|
1222
1242
|
},
|
|
1243
|
+
showSearchIcon: {
|
|
1244
|
+
type: Boolean,
|
|
1245
|
+
default: false,
|
|
1246
|
+
},
|
|
1223
1247
|
};
|
|
1224
1248
|
const searchFilterProps = Object.assign({ userRule: {
|
|
1225
1249
|
type: Array,
|
|
@@ -1243,6 +1267,11 @@ const searchFilterProps = Object.assign({ userRule: {
|
|
|
1243
1267
|
default() {
|
|
1244
1268
|
return {};
|
|
1245
1269
|
},
|
|
1270
|
+
}, gutter: {
|
|
1271
|
+
type: Array,
|
|
1272
|
+
default() {
|
|
1273
|
+
return [24, 16];
|
|
1274
|
+
},
|
|
1246
1275
|
}, fixedCount: {
|
|
1247
1276
|
type: Number,
|
|
1248
1277
|
default: 999999,
|
|
@@ -1269,7 +1298,6 @@ const _hoisted_2$1 = { class: "bm-search-filter-actions" };
|
|
|
1269
1298
|
const _hoisted_3$1 = /* @__PURE__ */ vue.createTextVNode("\u91CD\u7F6E");
|
|
1270
1299
|
const _hoisted_4$1 = /* @__PURE__ */ vue.createTextVNode("\u67E5\u8BE2");
|
|
1271
1300
|
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
1272
|
-
name: "search-reset-btn",
|
|
1273
1301
|
props: searchResetBtnProps,
|
|
1274
1302
|
emits: ["submit", "reset", "expand"],
|
|
1275
1303
|
setup(__props, { emit: emits }) {
|
|
@@ -1308,6 +1336,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1308
1336
|
onClick: handleSubmit
|
|
1309
1337
|
}, {
|
|
1310
1338
|
default: vue.withCtx(() => [
|
|
1339
|
+
props.showSearchIcon ? (vue.openBlock(), vue.createBlock(vue.unref(SearchOutlined$1), { key: 0 })) : vue.createCommentVNode("v-if", true),
|
|
1311
1340
|
_hoisted_4$1
|
|
1312
1341
|
]),
|
|
1313
1342
|
_: 1
|
|
@@ -1849,7 +1878,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1849
1878
|
{
|
|
1850
1879
|
type: "SearchResetBtn",
|
|
1851
1880
|
props: {
|
|
1852
|
-
showExpandBtn: props.showExpandBtn
|
|
1881
|
+
showExpandBtn: props.showExpandBtn,
|
|
1882
|
+
showSearchIcon: props.showSearchIcon
|
|
1853
1883
|
},
|
|
1854
1884
|
on: {
|
|
1855
1885
|
submit() {
|
|
@@ -1872,7 +1902,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1872
1902
|
span: 8
|
|
1873
1903
|
},
|
|
1874
1904
|
row: {
|
|
1875
|
-
gutter:
|
|
1905
|
+
gutter: props.gutter
|
|
1876
1906
|
},
|
|
1877
1907
|
form: {
|
|
1878
1908
|
labelCol: props.labelCol,
|
|
@@ -1956,7 +1986,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1956
1986
|
"onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
|
|
1957
1987
|
"model-value": props.value,
|
|
1958
1988
|
rule: vue.unref(rule),
|
|
1959
|
-
option,
|
|
1989
|
+
option: vue.unref(option),
|
|
1960
1990
|
onChange: handleChange
|
|
1961
1991
|
}, null, 8, ["api", "model-value", "rule", "option"])
|
|
1962
1992
|
], 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;
|