bm-admin-ui 1.0.6-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/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 +29 -2
- package/es/components/search-filter/index.js +65 -34
- 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 +29 -2
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +14 -0
- package/es/components/shops-filter/index.d.ts +1 -1
- package/es/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
- package/index.esm.js +14 -3
- package/index.js +14 -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 +29 -2
- package/lib/components/search-filter/index.js +65 -34
- 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 +29 -2
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +14 -0
- package/lib/components/shops-filter/index.d.ts +1 -1
- package/lib/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
- package/package.json +1 -1
- package/theme-chalk/feedback.css +1 -1
- package/theme-chalk/float-table.css +1 -1
- package/theme-chalk/floating-vue.css +1 -1
- package/theme-chalk/flow-designer.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/multi-cascader-compose.css +1 -1
- package/theme-chalk/over-tooltips.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/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 +29 -2
- 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 +29 -2
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +14 -0
- package/types/components/shops-filter/index.d.ts +1 -1
- package/types/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
package/index.esm.js
CHANGED
|
@@ -27391,6 +27391,10 @@ const searchResetBtnProps = {
|
|
|
27391
27391
|
type: Boolean,
|
|
27392
27392
|
default: false,
|
|
27393
27393
|
},
|
|
27394
|
+
showSearchIcon: {
|
|
27395
|
+
type: Boolean,
|
|
27396
|
+
default: false,
|
|
27397
|
+
},
|
|
27394
27398
|
};
|
|
27395
27399
|
const searchFilterProps = Object.assign({ userRule: {
|
|
27396
27400
|
type: Array,
|
|
@@ -27414,9 +27418,14 @@ const searchFilterProps = Object.assign({ userRule: {
|
|
|
27414
27418
|
default() {
|
|
27415
27419
|
return {};
|
|
27416
27420
|
},
|
|
27421
|
+
}, gutter: {
|
|
27422
|
+
type: Array,
|
|
27423
|
+
default() {
|
|
27424
|
+
return [24, 16];
|
|
27425
|
+
},
|
|
27417
27426
|
}, fixedCount: {
|
|
27418
27427
|
type: Number,
|
|
27419
|
-
default:
|
|
27428
|
+
default: 999999,
|
|
27420
27429
|
}, fixedFields: {
|
|
27421
27430
|
type: Array,
|
|
27422
27431
|
default() {
|
|
@@ -27470,6 +27479,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
27470
27479
|
onClick: handleSubmit
|
|
27471
27480
|
}, {
|
|
27472
27481
|
default: withCtx(() => [
|
|
27482
|
+
props.showSearchIcon ? (openBlock(), createBlock(unref(SearchOutlined$4), { key: 0 })) : createCommentVNode("v-if", true),
|
|
27473
27483
|
_hoisted_4$6
|
|
27474
27484
|
]),
|
|
27475
27485
|
_: 1
|
|
@@ -28010,7 +28020,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
28010
28020
|
{
|
|
28011
28021
|
type: "SearchResetBtn",
|
|
28012
28022
|
props: {
|
|
28013
|
-
showExpandBtn: props.showExpandBtn
|
|
28023
|
+
showExpandBtn: props.showExpandBtn,
|
|
28024
|
+
showSearchIcon: props.showSearchIcon
|
|
28014
28025
|
},
|
|
28015
28026
|
on: {
|
|
28016
28027
|
submit() {
|
|
@@ -28033,7 +28044,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
28033
28044
|
span: 8
|
|
28034
28045
|
},
|
|
28035
28046
|
row: {
|
|
28036
|
-
gutter:
|
|
28047
|
+
gutter: props.gutter
|
|
28037
28048
|
},
|
|
28038
28049
|
form: {
|
|
28039
28050
|
labelCol: props.labelCol,
|
package/index.js
CHANGED
|
@@ -27399,6 +27399,10 @@ var process = {
|
|
|
27399
27399
|
type: Boolean,
|
|
27400
27400
|
default: false,
|
|
27401
27401
|
},
|
|
27402
|
+
showSearchIcon: {
|
|
27403
|
+
type: Boolean,
|
|
27404
|
+
default: false,
|
|
27405
|
+
},
|
|
27402
27406
|
};
|
|
27403
27407
|
const searchFilterProps = Object.assign({ userRule: {
|
|
27404
27408
|
type: Array,
|
|
@@ -27422,9 +27426,14 @@ var process = {
|
|
|
27422
27426
|
default() {
|
|
27423
27427
|
return {};
|
|
27424
27428
|
},
|
|
27429
|
+
}, gutter: {
|
|
27430
|
+
type: Array,
|
|
27431
|
+
default() {
|
|
27432
|
+
return [24, 16];
|
|
27433
|
+
},
|
|
27425
27434
|
}, fixedCount: {
|
|
27426
27435
|
type: Number,
|
|
27427
|
-
default:
|
|
27436
|
+
default: 999999,
|
|
27428
27437
|
}, fixedFields: {
|
|
27429
27438
|
type: Array,
|
|
27430
27439
|
default() {
|
|
@@ -27478,6 +27487,7 @@ var process = {
|
|
|
27478
27487
|
onClick: handleSubmit
|
|
27479
27488
|
}, {
|
|
27480
27489
|
default: require$$1$1.withCtx(() => [
|
|
27490
|
+
props.showSearchIcon ? (require$$1$1.openBlock(), require$$1$1.createBlock(require$$1$1.unref(SearchOutlined$4), { key: 0 })) : require$$1$1.createCommentVNode("v-if", true),
|
|
27481
27491
|
_hoisted_4$6
|
|
27482
27492
|
]),
|
|
27483
27493
|
_: 1
|
|
@@ -28018,7 +28028,8 @@ var process = {
|
|
|
28018
28028
|
{
|
|
28019
28029
|
type: "SearchResetBtn",
|
|
28020
28030
|
props: {
|
|
28021
|
-
showExpandBtn: props.showExpandBtn
|
|
28031
|
+
showExpandBtn: props.showExpandBtn,
|
|
28032
|
+
showSearchIcon: props.showSearchIcon
|
|
28022
28033
|
},
|
|
28023
28034
|
on: {
|
|
28024
28035
|
submit() {
|
|
@@ -28041,7 +28052,7 @@ var process = {
|
|
|
28041
28052
|
span: 8
|
|
28042
28053
|
},
|
|
28043
28054
|
row: {
|
|
28044
|
-
gutter:
|
|
28055
|
+
gutter: props.gutter
|
|
28045
28056
|
},
|
|
28046
28057
|
form: {
|
|
28047
28058
|
labelCol: props.labelCol,
|
|
@@ -77,7 +77,7 @@ declare const BmMultiCascaderCompose: import("bm-admin-ui/es/utils/with-install"
|
|
|
77
77
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
79
79
|
}>>;
|
|
80
|
-
emits: (event: "
|
|
80
|
+
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
81
81
|
path: import("vue").Ref<{
|
|
82
82
|
[x: string]: any;
|
|
83
83
|
index: number;
|
|
@@ -106,7 +106,7 @@ declare const BmMultiCascaderCompose: import("bm-admin-ui/es/utils/with-install"
|
|
|
106
106
|
RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
|
|
107
107
|
DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
|
|
108
108
|
CloseCircleFilled: import("@ant-design/icons-vue/lib/icons/CloseCircleFilled").CloseCircleFilledIconType;
|
|
109
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
109
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
110
110
|
options: {
|
|
111
111
|
type: import("vue").PropType<import("./types").MutilCascaderItem[]>;
|
|
112
112
|
default(): import("./types").MutilCascaderItem[];
|
|
@@ -148,12 +148,12 @@ declare const BmMultiCascaderCompose: import("bm-admin-ui/es/utils/with-install"
|
|
|
148
148
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
149
149
|
}, {
|
|
150
150
|
placeholder: string;
|
|
151
|
-
allowClear: boolean;
|
|
152
151
|
options: import("./types").MutilCascaderItem[];
|
|
153
152
|
modelValue: string[];
|
|
154
153
|
optionValueName: string;
|
|
155
154
|
optionLabelName: string;
|
|
156
155
|
maxTagCount: number;
|
|
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;
|
|
159
159
|
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
79
79
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
80
80
|
}>>;
|
|
81
|
-
emits: (event: "
|
|
81
|
+
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
|
|
82
82
|
path: import("vue").Ref<{
|
|
83
83
|
[x: string]: any;
|
|
84
84
|
index: number;
|
|
@@ -107,7 +107,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
107
107
|
RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
|
|
108
108
|
DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
|
|
109
109
|
CloseCircleFilled: import("@ant-design/icons-vue/lib/icons/CloseCircleFilled").CloseCircleFilledIconType;
|
|
110
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
110
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111
111
|
options: {
|
|
112
112
|
type: import("vue").PropType<MutilCascaderItem[]>;
|
|
113
113
|
default(): MutilCascaderItem[];
|
|
@@ -149,12 +149,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
149
149
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
150
150
|
}, {
|
|
151
151
|
placeholder: string;
|
|
152
|
-
allowClear: boolean;
|
|
153
152
|
options: MutilCascaderItem[];
|
|
154
153
|
modelValue: string[];
|
|
155
154
|
optionValueName: string;
|
|
156
155
|
optionLabelName: string;
|
|
157
156
|
maxTagCount: number;
|
|
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;
|
|
160
160
|
}> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -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;
|
|
@@ -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,7 +111,7 @@ 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
117
|
labelCol: {
|
|
@@ -118,6 +135,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
118
135
|
type: BooleanConstructor;
|
|
119
136
|
default: boolean;
|
|
120
137
|
};
|
|
138
|
+
showSearchIcon: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
121
142
|
userRule: {
|
|
122
143
|
type: ArrayConstructor;
|
|
123
144
|
default(): never[];
|
|
@@ -136,6 +157,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
136
157
|
type: ObjectConstructor;
|
|
137
158
|
default(): {};
|
|
138
159
|
};
|
|
160
|
+
gutter: {
|
|
161
|
+
type: ArrayConstructor;
|
|
162
|
+
default(): number[];
|
|
163
|
+
};
|
|
139
164
|
fixedCount: {
|
|
140
165
|
type: NumberConstructor;
|
|
141
166
|
default: number;
|
|
@@ -154,11 +179,13 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
|
|
|
154
179
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
155
180
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
156
181
|
}, {
|
|
182
|
+
value: Record<string, any>;
|
|
157
183
|
showExpandBtn: boolean;
|
|
184
|
+
showSearchIcon: boolean;
|
|
158
185
|
userRule: unknown[];
|
|
159
186
|
labelCol: Record<string, any>;
|
|
160
|
-
value: Record<string, any>;
|
|
161
187
|
ruleSpan: Record<string, any>;
|
|
188
|
+
gutter: unknown[];
|
|
162
189
|
fixedCount: number;
|
|
163
190
|
fixedFields: string[];
|
|
164
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,9 +1267,14 @@ 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
|
-
default:
|
|
1277
|
+
default: 999999,
|
|
1249
1278
|
}, fixedFields: {
|
|
1250
1279
|
type: Array,
|
|
1251
1280
|
default() {
|
|
@@ -1307,6 +1336,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1307
1336
|
onClick: handleSubmit
|
|
1308
1337
|
}, {
|
|
1309
1338
|
default: vue.withCtx(() => [
|
|
1339
|
+
props.showSearchIcon ? (vue.openBlock(), vue.createBlock(vue.unref(SearchOutlined$1), { key: 0 })) : vue.createCommentVNode("v-if", true),
|
|
1310
1340
|
_hoisted_4$1
|
|
1311
1341
|
]),
|
|
1312
1342
|
_: 1
|
|
@@ -1848,7 +1878,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1848
1878
|
{
|
|
1849
1879
|
type: "SearchResetBtn",
|
|
1850
1880
|
props: {
|
|
1851
|
-
showExpandBtn: props.showExpandBtn
|
|
1881
|
+
showExpandBtn: props.showExpandBtn,
|
|
1882
|
+
showSearchIcon: props.showSearchIcon
|
|
1852
1883
|
},
|
|
1853
1884
|
on: {
|
|
1854
1885
|
submit() {
|
|
@@ -1871,7 +1902,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1871
1902
|
span: 8
|
|
1872
1903
|
},
|
|
1873
1904
|
row: {
|
|
1874
|
-
gutter:
|
|
1905
|
+
gutter: props.gutter
|
|
1875
1906
|
},
|
|
1876
1907
|
form: {
|
|
1877
1908
|
labelCol: props.labelCol,
|
|
@@ -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;
|