bm-admin-ui 1.0.3-alpha → 1.0.6-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.
Files changed (54) hide show
  1. package/es/components/feedback/index.d.ts +1037 -0
  2. package/es/components/feedback/index.js +1559 -0
  3. package/es/components/feedback/src/bmAlert.vue.d.ts +193 -0
  4. package/es/components/feedback/src/bmModal.vue.d.ts +839 -0
  5. package/es/components/index.d.ts +1 -0
  6. package/es/components/index.js +1 -0
  7. package/es/components/multi-cascader-compose/index.js +4 -4
  8. package/es/components/search-filter/index.d.ts +48 -5
  9. package/es/components/search-filter/index.js +73 -49
  10. package/es/components/search-filter/src/search-filter.vue.d.ts +48 -5
  11. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +2 -6
  12. package/es/components/search-filter/src/serach-filter.d.ts +13 -1
  13. package/es/components/shops-filter/index.js +55 -49
  14. package/es/components/staffs-selector/index.js +4 -4
  15. package/es/components/upload/index.js +4 -4
  16. package/index.esm.js +32475 -27977
  17. package/index.js +32478 -27975
  18. package/lib/components/feedback/index.d.ts +1037 -0
  19. package/lib/components/feedback/index.js +1573 -0
  20. package/lib/components/feedback/src/bmAlert.vue.d.ts +193 -0
  21. package/lib/components/feedback/src/bmModal.vue.d.ts +839 -0
  22. package/lib/components/index.d.ts +1 -0
  23. package/lib/components/index.js +7 -0
  24. package/lib/components/multi-cascader-compose/index.js +4 -4
  25. package/lib/components/search-filter/index.d.ts +48 -5
  26. package/lib/components/search-filter/index.js +72 -48
  27. package/lib/components/search-filter/src/search-filter.vue.d.ts +48 -5
  28. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +2 -6
  29. package/lib/components/search-filter/src/serach-filter.d.ts +13 -1
  30. package/lib/components/shops-filter/index.js +54 -48
  31. package/lib/components/staffs-selector/index.js +4 -4
  32. package/lib/components/upload/index.js +4 -4
  33. package/package.json +2 -2
  34. package/theme-chalk/alert.css +1 -0
  35. package/theme-chalk/button.css +1 -1
  36. package/theme-chalk/feedback.css +1 -0
  37. package/theme-chalk/float-table.css +1 -1
  38. package/theme-chalk/floating-vue.css +1 -1
  39. package/theme-chalk/flow-designer.css +1 -1
  40. package/theme-chalk/index.css +1 -1
  41. package/theme-chalk/modal.css +1 -0
  42. package/theme-chalk/multi-cascader-compose.css +1 -1
  43. package/theme-chalk/over-tooltips.css +1 -1
  44. package/theme-chalk/search-filter.css +1 -1
  45. package/theme-chalk/timeline.css +1 -1
  46. package/theme-chalk/upload.css +1 -1
  47. package/types/components/feedback/index.d.ts +1037 -0
  48. package/types/components/feedback/src/bmAlert.vue.d.ts +193 -0
  49. package/types/components/feedback/src/bmModal.vue.d.ts +839 -0
  50. package/types/components/index.d.ts +1 -0
  51. package/types/components/search-filter/index.d.ts +48 -5
  52. package/types/components/search-filter/src/search-filter.vue.d.ts +48 -5
  53. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +2 -6
  54. package/types/components/search-filter/src/serach-filter.d.ts +13 -1
@@ -1,6 +1,7 @@
1
1
  export * from './button';
2
2
  export * from './form-designer';
3
3
  export * from './flow-designer';
4
+ export * from './feedback';
4
5
  export * from './search-filter';
5
6
  export * from './multi-cascader-compose';
6
7
  export * from './shops-filter';
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var button = require('./button');
6
6
  var formDesigner = require('./form-designer');
7
7
  var flowDesigner = require('./flow-designer');
8
+ var feedback = require('./feedback');
8
9
  var searchFilter = require('./search-filter');
9
10
  var multiCascaderCompose = require('./multi-cascader-compose');
10
11
  var shopsFilter = require('./shops-filter');
@@ -34,6 +35,12 @@ Object.keys(flowDesigner).forEach(function (k) {
34
35
  get: function () { return flowDesigner[k]; }
35
36
  });
36
37
  });
38
+ Object.keys(feedback).forEach(function (k) {
39
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
40
+ enumerable: true,
41
+ get: function () { return feedback[k]; }
42
+ });
43
+ });
37
44
  Object.keys(searchFilter).forEach(function (k) {
38
45
  if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
39
46
  enumerable: true,
@@ -69,7 +69,7 @@ function boundAlpha(a) {
69
69
  */
70
70
  function convertToPercentage(n) {
71
71
  if (n <= 1) {
72
- return "".concat(Number(n) * 100, "%");
72
+ return Number(n) * 100 + "%";
73
73
  }
74
74
  return n;
75
75
  }
@@ -451,12 +451,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
451
451
  // <http://www.w3.org/TR/css3-values/#number-value>
452
452
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
453
453
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
454
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
454
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
455
455
  // Actual matching.
456
456
  // Parentheses and commas are optional, but not required.
457
457
  // Whitespace can take the place of commas or opening paren
458
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
459
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
458
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
459
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
460
460
  var matchers = {
461
461
  CSS_UNIT: new RegExp(CSS_UNIT),
462
462
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -21,6 +21,18 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
21
21
  type: ObjectConstructor;
22
22
  default(): {};
23
23
  };
24
+ fixedCount: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ fixedFields: {
29
+ type: import("vue").PropType<string[]>;
30
+ default(): never[];
31
+ };
32
+ expandPlacement: {
33
+ type: import("vue").PropType<"left" | "right">;
34
+ default: string;
35
+ };
24
36
  }, {
25
37
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
26
38
  showExpandBtn: {
@@ -45,12 +57,25 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
45
57
  type: ObjectConstructor;
46
58
  default(): {};
47
59
  };
60
+ fixedCount: {
61
+ type: NumberConstructor;
62
+ default: number;
63
+ };
64
+ fixedFields: {
65
+ type: import("vue").PropType<string[]>;
66
+ default(): never[];
67
+ };
68
+ expandPlacement: {
69
+ type: import("vue").PropType<"left" | "right">;
70
+ default: string;
71
+ };
48
72
  }>> & {
49
- onSubmit?: ((...args: any[]) => any) | undefined;
50
73
  onReset?: ((...args: any[]) => any) | undefined;
74
+ onSubmit?: ((...args: any[]) => any) | undefined;
51
75
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
76
+ onExpand?: ((...args: any[]) => any) | undefined;
52
77
  }>>;
53
- emits: (event: "submit" | "reset" | "update:value", ...args: any[]) => void;
78
+ emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
54
79
  isExpand: import("vue").Ref<boolean>;
55
80
  searchResetBtnRule: {
56
81
  type: string;
@@ -82,11 +107,13 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
82
107
  };
83
108
  submitBtn: boolean;
84
109
  };
85
- rule: import("vue").ComputedRef<any>;
110
+ rule: import("vue").ComputedRef<unknown[]>;
86
111
  handleShowExpandBtn: (val: any) => void;
87
112
  handleChange: () => void;
88
113
  handleResize: () => void;
89
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "update:value")[], "submit" | "reset" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
114
+ expandRule: import("vue").ComputedRef<unknown[]>;
115
+ handleChangeExpand: (value: any) => void;
116
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "update:value" | "expand")[], "submit" | "reset" | "update:value" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
90
117
  showExpandBtn: {
91
118
  type: BooleanConstructor;
92
119
  default: boolean;
@@ -109,16 +136,32 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
109
136
  type: ObjectConstructor;
110
137
  default(): {};
111
138
  };
139
+ fixedCount: {
140
+ type: NumberConstructor;
141
+ default: number;
142
+ };
143
+ fixedFields: {
144
+ type: import("vue").PropType<string[]>;
145
+ default(): never[];
146
+ };
147
+ expandPlacement: {
148
+ type: import("vue").PropType<"left" | "right">;
149
+ default: string;
150
+ };
112
151
  }>> & {
113
- onSubmit?: ((...args: any[]) => any) | undefined;
114
152
  onReset?: ((...args: any[]) => any) | undefined;
153
+ onSubmit?: ((...args: any[]) => any) | undefined;
115
154
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
155
+ onExpand?: ((...args: any[]) => any) | undefined;
116
156
  }, {
117
157
  showExpandBtn: boolean;
118
158
  userRule: unknown[];
119
159
  labelCol: Record<string, any>;
120
160
  value: Record<string, any>;
121
161
  ruleSpan: Record<string, any>;
162
+ fixedCount: number;
163
+ fixedFields: string[];
164
+ expandPlacement: "left" | "right";
122
165
  }>>;
123
166
  export { BmSearchFilter };
124
167
  export default BmSearchFilter;
@@ -74,7 +74,7 @@ function boundAlpha(a) {
74
74
  */
75
75
  function convertToPercentage(n) {
76
76
  if (n <= 1) {
77
- return "".concat(Number(n) * 100, "%");
77
+ return Number(n) * 100 + "%";
78
78
  }
79
79
  return n;
80
80
  }
@@ -456,12 +456,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
456
456
  // <http://www.w3.org/TR/css3-values/#number-value>
457
457
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
458
458
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
459
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
459
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
460
460
  // Actual matching.
461
461
  // Parentheses and commas are optional, but not required.
462
462
  // Whitespace can take the place of commas or opening paren
463
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
464
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
463
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
464
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
465
465
  var matchers = {
466
466
  CSS_UNIT: new RegExp(CSS_UNIT),
467
467
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -1243,6 +1243,17 @@ const searchFilterProps = Object.assign({ userRule: {
1243
1243
  default() {
1244
1244
  return {};
1245
1245
  },
1246
+ }, fixedCount: {
1247
+ type: Number,
1248
+ default: 0,
1249
+ }, fixedFields: {
1250
+ type: Array,
1251
+ default() {
1252
+ return [];
1253
+ },
1254
+ }, expandPlacement: {
1255
+ type: String,
1256
+ default: 'left',
1246
1257
  } }, searchResetBtnProps);
1247
1258
 
1248
1259
  var _export_sfc = (sfc, props) => {
@@ -1253,18 +1264,15 @@ var _export_sfc = (sfc, props) => {
1253
1264
  return target;
1254
1265
  };
1255
1266
 
1256
- const _hoisted_1$2 = { class: "bm-search-filter-btn" };
1257
- const _hoisted_2$1 = /* @__PURE__ */ vue.createTextVNode("\u67E5\u8BE2");
1267
+ const _hoisted_1$1 = { class: "bm-search-filter-btn" };
1268
+ const _hoisted_2$1 = { class: "bm-search-filter-actions" };
1258
1269
  const _hoisted_3$1 = /* @__PURE__ */ vue.createTextVNode("\u91CD\u7F6E");
1270
+ const _hoisted_4$1 = /* @__PURE__ */ vue.createTextVNode("\u67E5\u8BE2");
1259
1271
  const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
1260
1272
  props: searchResetBtnProps,
1261
1273
  emits: ["submit", "reset", "expand"],
1262
1274
  setup(__props, { emit: emits }) {
1263
1275
  const props = __props;
1264
- const expandBtnStyle = {
1265
- fontSize: "16px",
1266
- marginLeft: "2px"
1267
- };
1268
1276
  const isExpand = vue.ref(false);
1269
1277
  function handleExpandBtnChange() {
1270
1278
  isExpand.value = !isExpand.value;
@@ -1278,36 +1286,32 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
1278
1286
  }
1279
1287
  return (_ctx, _cache) => {
1280
1288
  const _component_a_button = vue.resolveComponent("a-button");
1281
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
1289
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
1282
1290
  props.showExpandBtn ? (vue.openBlock(), vue.createElementBlock("span", {
1283
1291
  key: 0,
1284
- class: "expand-btn",
1292
+ class: "bm-search-filter-expand",
1285
1293
  onClick: handleExpandBtnChange
1286
1294
  }, [
1287
1295
  vue.createTextVNode(vue.toDisplayString(isExpand.value ? "\u6536\u8D77" : "\u5C55\u5F00"), 1),
1288
- isExpand.value ? (vue.openBlock(), vue.createBlock(vue.unref(UpOutlined$1), {
1289
- key: 0,
1290
- style: vue.normalizeStyle(Object.assign(expandBtnStyle))
1291
- }, null, 8, ["style"])) : (vue.openBlock(), vue.createBlock(vue.unref(DownOutlined$1), {
1292
- key: 1,
1293
- style: vue.normalizeStyle(Object.assign(expandBtnStyle))
1294
- }, null, 8, ["style"]))
1296
+ isExpand.value ? (vue.openBlock(), vue.createBlock(vue.unref(UpOutlined$1), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(DownOutlined$1), { key: 1 }))
1295
1297
  ])) : vue.createCommentVNode("v-if", true),
1296
- vue.createVNode(_component_a_button, {
1297
- type: "primary",
1298
- onClick: handleSubmit
1299
- }, {
1300
- default: vue.withCtx(() => [
1301
- _hoisted_2$1
1302
- ]),
1303
- _: 1
1304
- }),
1305
- vue.createVNode(_component_a_button, { onClick: handleReset }, {
1306
- default: vue.withCtx(() => [
1307
- _hoisted_3$1
1308
- ]),
1309
- _: 1
1310
- })
1298
+ vue.createElementVNode("span", _hoisted_2$1, [
1299
+ vue.createVNode(_component_a_button, { onClick: handleReset }, {
1300
+ default: vue.withCtx(() => [
1301
+ _hoisted_3$1
1302
+ ]),
1303
+ _: 1
1304
+ }),
1305
+ vue.createVNode(_component_a_button, {
1306
+ type: "primary",
1307
+ onClick: handleSubmit
1308
+ }, {
1309
+ default: vue.withCtx(() => [
1310
+ _hoisted_4$1
1311
+ ]),
1312
+ _: 1
1313
+ })
1314
+ ])
1311
1315
  ]);
1312
1316
  };
1313
1317
  }
@@ -1355,7 +1359,7 @@ function multiCascaderComposeProps() {
1355
1359
  };
1356
1360
  }
1357
1361
 
1358
- const _hoisted_1$1 = { class: "bm-multi-cascader-wrapper" };
1362
+ const _hoisted_1 = { class: "bm-multi-cascader-wrapper" };
1359
1363
  const _hoisted_2 = { class: "bm-multi-cascader" };
1360
1364
  const _hoisted_3 = { class: "bm-multi-cascader-inner" };
1361
1365
  const _hoisted_4 = {
@@ -1703,7 +1707,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
1703
1707
  const _component_a_form_item_rest = vue.resolveComponent("a-form-item-rest");
1704
1708
  const _component_a_empty = vue.resolveComponent("a-empty");
1705
1709
  const _component_v_dropdown = vue.resolveComponent("v-dropdown");
1706
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
1710
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
1707
1711
  vue.createVNode(_component_v_dropdown, {
1708
1712
  placement: "bottom-start",
1709
1713
  container: false,
@@ -1828,14 +1832,13 @@ var MultiCascaderCompose = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file",
1828
1832
  const BmMultiCascaderCompose = withInstall.withInstall(MultiCascaderCompose);
1829
1833
  var BmMultiCascaderCompose$1 = BmMultiCascaderCompose;
1830
1834
 
1831
- const _hoisted_1 = { class: "bm-search-filter" };
1832
1835
  const __default__ = {
1833
1836
  name: "BmSearchFilter"
1834
1837
  };
1835
1838
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1836
1839
  ...__default__,
1837
1840
  props: searchFilterProps,
1838
- emits: ["update:value", "submit", "reset"],
1841
+ emits: ["update:value", "submit", "reset", "expand"],
1839
1842
  setup(__props, { expose, emit: emits }) {
1840
1843
  const props = __props;
1841
1844
  FormCreateCtr__default["default"].component("SearchResetBtn", SearchResetBtn);
@@ -1852,10 +1855,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1852
1855
  emits("submit", fApi.value.formData());
1853
1856
  },
1854
1857
  reset() {
1858
+ fApi.value?.resetFields?.();
1855
1859
  emits("reset");
1856
1860
  },
1857
1861
  expand(value) {
1858
1862
  isExpand.value = value;
1863
+ emits("expand", value);
1859
1864
  }
1860
1865
  }
1861
1866
  }
@@ -1880,13 +1885,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1880
1885
  const rule = vue.computed(() => {
1881
1886
  if (!props.userRule)
1882
1887
  return [];
1883
- let rule2 = [];
1884
- if (isExpand.value) {
1885
- rule2 = props.userRule;
1886
- } else {
1887
- rule2 = props.userRule.slice(0, 2);
1888
- }
1889
- return rule2.concat(searchResetBtnRule);
1888
+ return [...props.userRule, ...searchResetBtnRule];
1890
1889
  });
1891
1890
  function handleShowExpandBtn(val) {
1892
1891
  searchResetBtnRule[0].props.showExpandBtn = val;
@@ -1920,21 +1919,46 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1920
1919
  }, {
1921
1920
  immediate: true
1922
1921
  });
1922
+ const expandRule = vue.computed(() => {
1923
+ const fixedCount = props.fixedCount && props.fixedCount >= 0 ? props.fixedCount : 0;
1924
+ const fixedFields = props.fixedFields?.length ? props.fixedFields : [];
1925
+ return (props.userRule || []).filter((ruleItem, index) => {
1926
+ return index + 1 > fixedCount && !fixedFields.includes(ruleItem.field || ruleItem.name);
1927
+ });
1928
+ });
1929
+ function handleChangeExpand(value) {
1930
+ if (value) {
1931
+ expandRule.value.forEach((ruleItem) => {
1932
+ ruleItem.hidden = false;
1933
+ });
1934
+ } else {
1935
+ expandRule.value.forEach((ruleItem) => {
1936
+ ruleItem.hidden = true;
1937
+ });
1938
+ }
1939
+ }
1940
+ vue.watch(isExpand, (val) => {
1941
+ handleChangeExpand(val);
1942
+ }, {
1943
+ immediate: true
1944
+ });
1923
1945
  expose({
1924
1946
  fApi
1925
1947
  });
1926
1948
  return (_ctx, _cache) => {
1927
1949
  const _component_form_create = vue.resolveComponent("form-create");
1928
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
1950
+ return vue.openBlock(), vue.createElementBlock("div", {
1951
+ class: vue.normalizeClass(["bm-search-filter", ["bm-search-filter-expand-" + props.expandPlacement]])
1952
+ }, [
1929
1953
  vue.createVNode(_component_form_create, {
1930
1954
  api: fApi.value,
1931
1955
  "onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
1932
- "model-value": _ctx.value,
1956
+ "model-value": props.value,
1933
1957
  rule: vue.unref(rule),
1934
1958
  option: vue.unref(option),
1935
1959
  onChange: handleChange
1936
1960
  }, null, 8, ["api", "model-value", "rule", "option"])
1937
- ]);
1961
+ ], 2);
1938
1962
  };
1939
1963
  }
1940
1964
  });
@@ -21,6 +21,18 @@ declare const _default: import("vue").DefineComponent<{
21
21
  type: ObjectConstructor;
22
22
  default(): {};
23
23
  };
24
+ fixedCount: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ fixedFields: {
29
+ type: import("vue").PropType<string[]>;
30
+ default(): never[];
31
+ };
32
+ expandPlacement: {
33
+ type: import("vue").PropType<"left" | "right">;
34
+ default: string;
35
+ };
24
36
  }, {
25
37
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
26
38
  showExpandBtn: {
@@ -45,12 +57,25 @@ declare const _default: import("vue").DefineComponent<{
45
57
  type: ObjectConstructor;
46
58
  default(): {};
47
59
  };
60
+ fixedCount: {
61
+ type: NumberConstructor;
62
+ default: number;
63
+ };
64
+ fixedFields: {
65
+ type: import("vue").PropType<string[]>;
66
+ default(): never[];
67
+ };
68
+ expandPlacement: {
69
+ type: import("vue").PropType<"left" | "right">;
70
+ default: string;
71
+ };
48
72
  }>> & {
49
- onSubmit?: ((...args: any[]) => any) | undefined;
50
73
  onReset?: ((...args: any[]) => any) | undefined;
74
+ onSubmit?: ((...args: any[]) => any) | undefined;
51
75
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
76
+ onExpand?: ((...args: any[]) => any) | undefined;
52
77
  }>>;
53
- emits: (event: "submit" | "reset" | "update:value", ...args: any[]) => void;
78
+ emits: (event: "submit" | "reset" | "update:value" | "expand", ...args: any[]) => void;
54
79
  isExpand: import("vue").Ref<boolean>;
55
80
  searchResetBtnRule: {
56
81
  type: string;
@@ -82,11 +107,13 @@ declare const _default: import("vue").DefineComponent<{
82
107
  };
83
108
  submitBtn: boolean;
84
109
  };
85
- rule: import("vue").ComputedRef<any>;
110
+ rule: import("vue").ComputedRef<unknown[]>;
86
111
  handleShowExpandBtn: (val: any) => void;
87
112
  handleChange: () => void;
88
113
  handleResize: () => void;
89
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "update:value")[], "submit" | "reset" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
114
+ expandRule: import("vue").ComputedRef<unknown[]>;
115
+ handleChangeExpand: (value: any) => void;
116
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "update:value" | "expand")[], "submit" | "reset" | "update:value" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
90
117
  showExpandBtn: {
91
118
  type: BooleanConstructor;
92
119
  default: boolean;
@@ -109,15 +136,31 @@ declare const _default: import("vue").DefineComponent<{
109
136
  type: ObjectConstructor;
110
137
  default(): {};
111
138
  };
139
+ fixedCount: {
140
+ type: NumberConstructor;
141
+ default: number;
142
+ };
143
+ fixedFields: {
144
+ type: import("vue").PropType<string[]>;
145
+ default(): never[];
146
+ };
147
+ expandPlacement: {
148
+ type: import("vue").PropType<"left" | "right">;
149
+ default: string;
150
+ };
112
151
  }>> & {
113
- onSubmit?: ((...args: any[]) => any) | undefined;
114
152
  onReset?: ((...args: any[]) => any) | undefined;
153
+ onSubmit?: ((...args: any[]) => any) | undefined;
115
154
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
155
+ onExpand?: ((...args: any[]) => any) | undefined;
116
156
  }, {
117
157
  showExpandBtn: boolean;
118
158
  userRule: unknown[];
119
159
  labelCol: Record<string, any>;
120
160
  value: Record<string, any>;
121
161
  ruleSpan: Record<string, any>;
162
+ fixedCount: number;
163
+ fixedFields: string[];
164
+ expandPlacement: "left" | "right";
122
165
  }>;
123
166
  export default _default;
@@ -4,18 +4,14 @@ declare const _default: import("vue").DefineComponent<{
4
4
  default: boolean;
5
5
  };
6
6
  }, {
7
- expandBtnStyle: {
8
- fontSize: string;
9
- marginLeft: string;
10
- };
11
7
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
12
8
  showExpandBtn: {
13
9
  type: BooleanConstructor;
14
10
  default: boolean;
15
11
  };
16
12
  }>> & {
17
- onSubmit?: ((...args: any[]) => any) | undefined;
18
13
  onReset?: ((...args: any[]) => any) | undefined;
14
+ onSubmit?: ((...args: any[]) => any) | undefined;
19
15
  onExpand?: ((...args: any[]) => any) | undefined;
20
16
  }>>;
21
17
  emits: (event: "submit" | "reset" | "expand", ...args: any[]) => void;
@@ -31,8 +27,8 @@ declare const _default: import("vue").DefineComponent<{
31
27
  default: boolean;
32
28
  };
33
29
  }>> & {
34
- onSubmit?: ((...args: any[]) => any) | undefined;
35
30
  onReset?: ((...args: any[]) => any) | undefined;
31
+ onSubmit?: ((...args: any[]) => any) | undefined;
36
32
  onExpand?: ((...args: any[]) => any) | undefined;
37
33
  }, {
38
34
  showExpandBtn: boolean;
@@ -1,4 +1,4 @@
1
- import type { ExtractPropTypes } from 'vue';
1
+ import type { ExtractPropTypes, PropType } from 'vue';
2
2
  export declare const searchResetBtnProps: {
3
3
  showExpandBtn: {
4
4
  type: BooleanConstructor;
@@ -28,6 +28,18 @@ export declare const searchFilterProps: {
28
28
  type: ObjectConstructor;
29
29
  default(): {};
30
30
  };
31
+ fixedCount: {
32
+ type: NumberConstructor;
33
+ default: number;
34
+ };
35
+ fixedFields: {
36
+ type: PropType<string[]>;
37
+ default(): never[];
38
+ };
39
+ expandPlacement: {
40
+ type: PropType<"left" | "right">;
41
+ default: string;
42
+ };
31
43
  };
32
44
  export declare type SerachFilterProps = ExtractPropTypes<typeof searchFilterProps>;
33
45
  export declare type SearchResetBtnProps = ExtractPropTypes<typeof searchResetBtnProps>;