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';
@@ -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';
@@ -65,7 +65,7 @@ function boundAlpha(a) {
65
65
  */
66
66
  function convertToPercentage(n) {
67
67
  if (n <= 1) {
68
- return "".concat(Number(n) * 100, "%");
68
+ return Number(n) * 100 + "%";
69
69
  }
70
70
  return n;
71
71
  }
@@ -447,12 +447,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
447
447
  // <http://www.w3.org/TR/css3-values/#number-value>
448
448
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
449
449
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
450
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
450
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
451
451
  // Actual matching.
452
452
  // Parentheses and commas are optional, but not required.
453
453
  // Whitespace can take the place of commas or opening paren
454
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
455
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
454
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
455
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
456
456
  var matchers = {
457
457
  CSS_UNIT: new RegExp(CSS_UNIT),
458
458
  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;
@@ -1,5 +1,5 @@
1
1
  import { withInstall } from 'bm-admin-ui/es/utils/with-install';
2
- import { h, nextTick, createVNode, defineComponent, ref, resolveComponent, openBlock, createElementBlock, createTextVNode, toDisplayString, createBlock, unref, normalizeStyle, createCommentVNode, withCtx, computed, Fragment, renderList, createElementVNode, withModifiers, normalizeClass, renderSlot, reactive, onBeforeUnmount, watch } from 'vue';
2
+ import { h, nextTick, createVNode, defineComponent, ref, resolveComponent, openBlock, createElementBlock, createTextVNode, toDisplayString, createBlock, unref, createCommentVNode, createElementVNode, withCtx, computed, Fragment, renderList, withModifiers, normalizeClass, renderSlot, reactive, onBeforeUnmount, watch } from 'vue';
3
3
  import FormCreateCtr from '@form-create/ant-design-vue';
4
4
 
5
5
  /**
@@ -66,7 +66,7 @@ function boundAlpha(a) {
66
66
  */
67
67
  function convertToPercentage(n) {
68
68
  if (n <= 1) {
69
- return "".concat(Number(n) * 100, "%");
69
+ return Number(n) * 100 + "%";
70
70
  }
71
71
  return n;
72
72
  }
@@ -448,12 +448,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
448
448
  // <http://www.w3.org/TR/css3-values/#number-value>
449
449
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
450
450
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
451
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
451
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
452
452
  // Actual matching.
453
453
  // Parentheses and commas are optional, but not required.
454
454
  // Whitespace can take the place of commas or opening paren
455
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
456
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
455
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
456
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
457
457
  var matchers = {
458
458
  CSS_UNIT: new RegExp(CSS_UNIT),
459
459
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -1235,6 +1235,17 @@ const searchFilterProps = Object.assign({ userRule: {
1235
1235
  default() {
1236
1236
  return {};
1237
1237
  },
1238
+ }, fixedCount: {
1239
+ type: Number,
1240
+ default: 0,
1241
+ }, fixedFields: {
1242
+ type: Array,
1243
+ default() {
1244
+ return [];
1245
+ },
1246
+ }, expandPlacement: {
1247
+ type: String,
1248
+ default: 'left',
1238
1249
  } }, searchResetBtnProps);
1239
1250
 
1240
1251
  var _export_sfc = (sfc, props) => {
@@ -1245,18 +1256,15 @@ var _export_sfc = (sfc, props) => {
1245
1256
  return target;
1246
1257
  };
1247
1258
 
1248
- const _hoisted_1$2 = { class: "bm-search-filter-btn" };
1249
- const _hoisted_2$1 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
1259
+ const _hoisted_1$1 = { class: "bm-search-filter-btn" };
1260
+ const _hoisted_2$1 = { class: "bm-search-filter-actions" };
1250
1261
  const _hoisted_3$1 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
1262
+ const _hoisted_4$1 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
1251
1263
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1252
1264
  props: searchResetBtnProps,
1253
1265
  emits: ["submit", "reset", "expand"],
1254
1266
  setup(__props, { emit: emits }) {
1255
1267
  const props = __props;
1256
- const expandBtnStyle = {
1257
- fontSize: "16px",
1258
- marginLeft: "2px"
1259
- };
1260
1268
  const isExpand = ref(false);
1261
1269
  function handleExpandBtnChange() {
1262
1270
  isExpand.value = !isExpand.value;
@@ -1270,36 +1278,32 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1270
1278
  }
1271
1279
  return (_ctx, _cache) => {
1272
1280
  const _component_a_button = resolveComponent("a-button");
1273
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
1281
+ return openBlock(), createElementBlock("div", _hoisted_1$1, [
1274
1282
  props.showExpandBtn ? (openBlock(), createElementBlock("span", {
1275
1283
  key: 0,
1276
- class: "expand-btn",
1284
+ class: "bm-search-filter-expand",
1277
1285
  onClick: handleExpandBtnChange
1278
1286
  }, [
1279
1287
  createTextVNode(toDisplayString(isExpand.value ? "\u6536\u8D77" : "\u5C55\u5F00"), 1),
1280
- isExpand.value ? (openBlock(), createBlock(unref(UpOutlined$1), {
1281
- key: 0,
1282
- style: normalizeStyle(Object.assign(expandBtnStyle))
1283
- }, null, 8, ["style"])) : (openBlock(), createBlock(unref(DownOutlined$1), {
1284
- key: 1,
1285
- style: normalizeStyle(Object.assign(expandBtnStyle))
1286
- }, null, 8, ["style"]))
1288
+ isExpand.value ? (openBlock(), createBlock(unref(UpOutlined$1), { key: 0 })) : (openBlock(), createBlock(unref(DownOutlined$1), { key: 1 }))
1287
1289
  ])) : createCommentVNode("v-if", true),
1288
- createVNode(_component_a_button, {
1289
- type: "primary",
1290
- onClick: handleSubmit
1291
- }, {
1292
- default: withCtx(() => [
1293
- _hoisted_2$1
1294
- ]),
1295
- _: 1
1296
- }),
1297
- createVNode(_component_a_button, { onClick: handleReset }, {
1298
- default: withCtx(() => [
1299
- _hoisted_3$1
1300
- ]),
1301
- _: 1
1302
- })
1290
+ createElementVNode("span", _hoisted_2$1, [
1291
+ createVNode(_component_a_button, { onClick: handleReset }, {
1292
+ default: withCtx(() => [
1293
+ _hoisted_3$1
1294
+ ]),
1295
+ _: 1
1296
+ }),
1297
+ createVNode(_component_a_button, {
1298
+ type: "primary",
1299
+ onClick: handleSubmit
1300
+ }, {
1301
+ default: withCtx(() => [
1302
+ _hoisted_4$1
1303
+ ]),
1304
+ _: 1
1305
+ })
1306
+ ])
1303
1307
  ]);
1304
1308
  };
1305
1309
  }
@@ -1347,7 +1351,7 @@ function multiCascaderComposeProps() {
1347
1351
  };
1348
1352
  }
1349
1353
 
1350
- const _hoisted_1$1 = { class: "bm-multi-cascader-wrapper" };
1354
+ const _hoisted_1 = { class: "bm-multi-cascader-wrapper" };
1351
1355
  const _hoisted_2 = { class: "bm-multi-cascader" };
1352
1356
  const _hoisted_3 = { class: "bm-multi-cascader-inner" };
1353
1357
  const _hoisted_4 = {
@@ -1695,7 +1699,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1695
1699
  const _component_a_form_item_rest = resolveComponent("a-form-item-rest");
1696
1700
  const _component_a_empty = resolveComponent("a-empty");
1697
1701
  const _component_v_dropdown = resolveComponent("v-dropdown");
1698
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
1702
+ return openBlock(), createElementBlock("div", _hoisted_1, [
1699
1703
  createVNode(_component_v_dropdown, {
1700
1704
  placement: "bottom-start",
1701
1705
  container: false,
@@ -1820,14 +1824,13 @@ var MultiCascaderCompose = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file",
1820
1824
  const BmMultiCascaderCompose = withInstall(MultiCascaderCompose);
1821
1825
  var BmMultiCascaderCompose$1 = BmMultiCascaderCompose;
1822
1826
 
1823
- const _hoisted_1 = { class: "bm-search-filter" };
1824
1827
  const __default__ = {
1825
1828
  name: "BmSearchFilter"
1826
1829
  };
1827
1830
  const _sfc_main = /* @__PURE__ */ defineComponent({
1828
1831
  ...__default__,
1829
1832
  props: searchFilterProps,
1830
- emits: ["update:value", "submit", "reset"],
1833
+ emits: ["update:value", "submit", "reset", "expand"],
1831
1834
  setup(__props, { expose, emit: emits }) {
1832
1835
  const props = __props;
1833
1836
  FormCreateCtr.component("SearchResetBtn", SearchResetBtn);
@@ -1844,10 +1847,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1844
1847
  emits("submit", fApi.value.formData());
1845
1848
  },
1846
1849
  reset() {
1850
+ fApi.value?.resetFields?.();
1847
1851
  emits("reset");
1848
1852
  },
1849
1853
  expand(value) {
1850
1854
  isExpand.value = value;
1855
+ emits("expand", value);
1851
1856
  }
1852
1857
  }
1853
1858
  }
@@ -1872,13 +1877,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1872
1877
  const rule = computed(() => {
1873
1878
  if (!props.userRule)
1874
1879
  return [];
1875
- let rule2 = [];
1876
- if (isExpand.value) {
1877
- rule2 = props.userRule;
1878
- } else {
1879
- rule2 = props.userRule.slice(0, 2);
1880
- }
1881
- return rule2.concat(searchResetBtnRule);
1880
+ return [...props.userRule, ...searchResetBtnRule];
1882
1881
  });
1883
1882
  function handleShowExpandBtn(val) {
1884
1883
  searchResetBtnRule[0].props.showExpandBtn = val;
@@ -1912,21 +1911,46 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1912
1911
  }, {
1913
1912
  immediate: true
1914
1913
  });
1914
+ const expandRule = computed(() => {
1915
+ const fixedCount = props.fixedCount && props.fixedCount >= 0 ? props.fixedCount : 0;
1916
+ const fixedFields = props.fixedFields?.length ? props.fixedFields : [];
1917
+ return (props.userRule || []).filter((ruleItem, index) => {
1918
+ return index + 1 > fixedCount && !fixedFields.includes(ruleItem.field || ruleItem.name);
1919
+ });
1920
+ });
1921
+ function handleChangeExpand(value) {
1922
+ if (value) {
1923
+ expandRule.value.forEach((ruleItem) => {
1924
+ ruleItem.hidden = false;
1925
+ });
1926
+ } else {
1927
+ expandRule.value.forEach((ruleItem) => {
1928
+ ruleItem.hidden = true;
1929
+ });
1930
+ }
1931
+ }
1932
+ watch(isExpand, (val) => {
1933
+ handleChangeExpand(val);
1934
+ }, {
1935
+ immediate: true
1936
+ });
1915
1937
  expose({
1916
1938
  fApi
1917
1939
  });
1918
1940
  return (_ctx, _cache) => {
1919
1941
  const _component_form_create = resolveComponent("form-create");
1920
- return openBlock(), createElementBlock("div", _hoisted_1, [
1942
+ return openBlock(), createElementBlock("div", {
1943
+ class: normalizeClass(["bm-search-filter", ["bm-search-filter-expand-" + props.expandPlacement]])
1944
+ }, [
1921
1945
  createVNode(_component_form_create, {
1922
1946
  api: fApi.value,
1923
1947
  "onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
1924
- "model-value": _ctx.value,
1948
+ "model-value": props.value,
1925
1949
  rule: unref(rule),
1926
1950
  option: unref(option),
1927
1951
  onChange: handleChange
1928
1952
  }, null, 8, ["api", "model-value", "rule", "option"])
1929
- ]);
1953
+ ], 2);
1930
1954
  };
1931
1955
  }
1932
1956
  });
@@ -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>;