yahee-components 0.0.97 → 0.0.98-beta-01

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 (37) hide show
  1. package/es/complex-search/complex-search.vue.js +12 -12
  2. package/es/complex-search/complex-search.vue2.js +105 -112
  3. package/es/complex-search/props.js +1 -1
  4. package/es/filter-container/filter-container.vue.js +70 -0
  5. package/es/filter-container/filter-container.vue2.js +4 -0
  6. package/es/filter-container/index.js +7 -0
  7. package/es/filter-container/key.js +4 -0
  8. package/es/filter-wrapper/filter-wrapper.vue.js +7 -0
  9. package/es/filter-wrapper/filter-wrapper.vue2.js +60 -0
  10. package/es/filter-wrapper/index.js +7 -0
  11. package/es/index.js +38 -34
  12. package/es/installs.js +9 -7
  13. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js +5 -0
  14. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js +10 -0
  15. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTrim.js +8 -0
  16. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js +4 -0
  17. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js +15 -0
  18. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js +7 -0
  19. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js +5 -0
  20. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_trimmedEndIndex.js +9 -0
  21. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/debounce.js +54 -0
  22. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js +7 -0
  23. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js +6 -0
  24. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js +9 -0
  25. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/now.js +7 -0
  26. package/es/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/toNumber.js +22 -0
  27. package/es/yahee-components.css +1 -1
  28. package/package.json +1 -1
  29. package/types/src/complex-search/props.d.ts +1 -1
  30. package/types/src/components.d.ts +2 -0
  31. package/types/src/filter-container/filter-container.vue.d.ts +7 -15
  32. package/types/src/filter-container/key.d.ts +21 -0
  33. package/types/src/filter-wrapper/filter-wrapper.vue.d.ts +4 -5
  34. package/types/src/left-condition/index.d.ts +1 -1
  35. package/types/src/left-condition/left-condition.vue.d.ts +1 -1
  36. package/types/src/left-condition-enum/index.d.ts +1 -1
  37. package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +1 -1
@@ -1,9 +1,9 @@
1
1
  import _ from "./complex-search.vue2.js";
2
- import { resolveComponent as r, createElementBlock as d, openBlock as n, Fragment as u, createElementVNode as b, createVNode as t, withKeys as B, createSlots as U, withCtx as a, renderList as i, createBlock as s, createCommentVNode as V, createTextVNode as h, toDisplayString as c } from "vue";
2
+ import { resolveComponent as r, createElementBlock as d, openBlock as n, Fragment as u, createElementVNode as b, createVNode as t, withKeys as B, createSlots as U, withCtx as a, renderList as i, createBlock as s, createCommentVNode as V, createTextVNode as c, toDisplayString as h } from "vue";
3
3
  /* empty css */
4
4
  import O from "../_virtual/_plugin-vue_export-helper.js";
5
- const z = { class: "yahee-complex-search" }, P = { class: "search-type-checkbox" }, W = { class: "dialog-footer" };
6
- function E(e, o, N, $, I, K) {
5
+ const z = { class: "yahee-complex-search" }, I = { class: "search-type-checkbox" }, P = { class: "dialog-footer" };
6
+ function W(e, o, E, N, $, K) {
7
7
  const m = r("el-option"), p = r("el-select"), C = r("Search"), w = r("el-icon"), f = r("el-input"), g = r("el-checkbox"), v = r("el-link"), y = r("el-form-item"), S = r("el-row"), F = r("el-form"), k = r("el-button"), T = r("el-dialog");
8
8
  return n(), d(u, null, [
9
9
  b("div", z, [
@@ -78,15 +78,15 @@ function E(e, o, N, $, I, K) {
78
78
  key: "1"
79
79
  }
80
80
  ]), 1032, ["modelValue", "placeholder", "onChange", "onKeyup", "onPaste", "onClear"]),
81
- b("div", P, [
81
+ b("div", I, [
82
82
  e.showWithinFilterCheckbox ? (n(), s(g, {
83
83
  key: 0,
84
- modelValue: e.isWithinFilterOptions,
85
- "onUpdate:modelValue": o[3] || (o[3] = (l) => e.isWithinFilterOptions = l),
84
+ modelValue: e.localIsWithinFilterOptions,
85
+ "onUpdate:modelValue": o[3] || (o[3] = (l) => e.localIsWithinFilterOptions = l),
86
86
  onChange: e.searchWithinFilterOptions
87
87
  }, {
88
88
  default: a(() => o[8] || (o[8] = [
89
- h(c("在筛选条件内查询"))
89
+ c(h("在筛选条件内查询"))
90
90
  ])),
91
91
  _: 1,
92
92
  __: [8]
@@ -97,7 +97,7 @@ function E(e, o, N, $, I, K) {
97
97
  onClick: e.showBatchSearchDialog
98
98
  }, {
99
99
  default: a(() => o[9] || (o[9] = [
100
- h(c("批量查询"))
100
+ c(h("批量查询"))
101
101
  ])),
102
102
  _: 1,
103
103
  __: [9]
@@ -114,21 +114,21 @@ function E(e, o, N, $, I, K) {
114
114
  draggable: ""
115
115
  }, {
116
116
  footer: a(() => [
117
- b("div", W, [
117
+ b("div", P, [
118
118
  t(k, {
119
119
  type: "primary",
120
120
  loading: e.confirmLoading,
121
121
  onClick: e.confirmSearch
122
122
  }, {
123
123
  default: a(() => o[10] || (o[10] = [
124
- h(c("确认"))
124
+ c(h("确认"))
125
125
  ])),
126
126
  _: 1,
127
127
  __: [10]
128
128
  }, 8, ["loading", "onClick"]),
129
129
  t(k, { onClick: e.handleBatchSearchClose }, {
130
130
  default: a(() => o[11] || (o[11] = [
131
- h(c("关闭"))
131
+ c(h("关闭"))
132
132
  ])),
133
133
  _: 1,
134
134
  __: [11]
@@ -213,7 +213,7 @@ function E(e, o, N, $, I, K) {
213
213
  }, 8, ["modelValue", "before-close"])
214
214
  ], 64);
215
215
  }
216
- const j = /* @__PURE__ */ O(_, [["render", E], ["__scopeId", "data-v-814a7364"]]);
216
+ const j = /* @__PURE__ */ O(_, [["render", W], ["__scopeId", "data-v-715db21e"]]);
217
217
  export {
218
218
  j as default
219
219
  };
@@ -1,7 +1,6 @@
1
- import { defineComponent as R, toRefs as _, ref as l, watch as k } from "vue";
2
- import v from "../_virtual/lodash.js";
3
- import { defaultComplexSearchProps as o } from "./props.js";
4
- import { ElLink as L, ElOption as P, ElButton as G, ElRow as K, ElFormItem as V, ElForm as j, ElIcon as q, ElDialog as Y, ElSelect as $, ElCheckbox as z, ElInput as J } from "element-plus";
1
+ import { defineComponent as w, toRefs as B, ref as n, watch as f } from "vue";
2
+ import { defaultComplexSearchProps as a } from "./props.js";
3
+ import { ElLink as g, ElOption as H, ElButton as x, ElRow as A, ElFormItem as R, ElForm as L, ElIcon as _, ElDialog as D, ElSelect as k, ElCheckbox as P, ElInput as j } from "element-plus";
5
4
  import "element-plus/theme-chalk/src/base.scss";
6
5
  import "element-plus/theme-chalk/src/input.scss";
7
6
  import "element-plus/theme-chalk/src/checkbox.scss";
@@ -18,167 +17,161 @@ import "element-plus/theme-chalk/src/form-item.scss";
18
17
  import "element-plus/theme-chalk/src/row.scss";
19
18
  import "element-plus/theme-chalk/src/button.scss";
20
19
  import "element-plus/theme-chalk/src/link.scss";
21
- import { Search as M } from "@element-plus/icons-vue";
22
- const ye = R({
20
+ import { Search as q } from "@element-plus/icons-vue";
21
+ const se = w({
23
22
  name: "YaheeComplexSearch",
24
23
  components: {
25
- ElInput: J,
26
- ElCheckbox: z,
27
- ElSelect: $,
28
- ElDialog: Y,
29
- ElIcon: q,
30
- ElForm: j,
31
- ElFormItem: V,
32
- ElRow: K,
33
- ElButton: G,
34
- ElOption: P,
35
- ElLink: L,
36
- Search: M
24
+ ElInput: j,
25
+ ElCheckbox: P,
26
+ ElSelect: k,
27
+ ElDialog: D,
28
+ ElIcon: _,
29
+ ElForm: L,
30
+ ElFormItem: R,
31
+ ElRow: A,
32
+ ElButton: x,
33
+ ElOption: H,
34
+ ElLink: g,
35
+ Search: q
37
36
  },
38
37
  props: {
39
38
  defaultSearch: {
40
39
  type: String,
41
- default: o().defaultSearch
40
+ default: a().defaultSearch
42
41
  },
43
42
  options: {
44
43
  type: Array,
45
- default: o().options
44
+ default: a().options
46
45
  },
47
46
  placeholderText: {
48
47
  type: String,
49
- default: o().placeholderText
48
+ default: a().placeholderText
50
49
  },
51
50
  showPatchSearch: {
52
51
  type: Boolean,
53
- default: o().showPatchSearch
52
+ default: a().showPatchSearch
54
53
  },
55
54
  showWithinFilterCheckbox: {
56
55
  type: Boolean,
57
- default: o().showWithinFilterCheckbox
56
+ default: a().showWithinFilterCheckbox
57
+ },
58
+ isWithinFilterOptions: {
59
+ type: Boolean,
60
+ default: !1
58
61
  },
59
62
  specialOptions: {
60
63
  type: Array,
61
- default: o().specialOptions
64
+ default: a().specialOptions
62
65
  },
63
66
  normalOptions: {
64
67
  type: Array,
65
- default: o().normalOptions
68
+ default: a().normalOptions
66
69
  },
67
70
  showSelect: {
68
71
  type: Boolean,
69
- default: o().showSelect
72
+ default: a().showSelect
70
73
  },
71
74
  searchItem: {
72
75
  type: Object,
73
- default: o().searchItem
76
+ default: a().searchItem
74
77
  },
75
78
  isBatchSelectOptionsSameWithInput: {
76
79
  type: Boolean,
77
- default: o().isBatchSelectOptionsSameWithInput
80
+ default: a().isBatchSelectOptionsSameWithInput
78
81
  },
79
82
  batchOptions: {
80
83
  type: Array,
81
- default: o().batchOptions
84
+ default: a().batchOptions
82
85
  }
83
86
  },
84
- emits: ["filterChangeGrandson", "update:searchItem"],
85
- setup(y, { emit: f }) {
86
- const { specialOptions: C, normalOptions: g, searchItem: E } = _(y), i = l(y.defaultSearch || "WHOLE_SEARCH"), h = l(""), p = l(!1), d = l(!1), u = l(!1), S = l(null), r = l({ searchType: "WHOLE_SEARCH", searchContent: "" }), I = [{ value: "WHOLE_SEARCH", label: "综合搜索" }], T = {
87
+ emits: ["update:isWithinFilterOptions", "search"],
88
+ setup(c, { emit: i }) {
89
+ const { searchItem: S } = B(c), h = n(c.defaultSearch || "WHOLE_SEARCH"), s = n(""), o = n(c.isWithinFilterOptions), u = n(!1), p = n(!1), m = n(null), r = n({ searchType: "WHOLE_SEARCH", searchContent: "" }), v = [{ value: "WHOLE_SEARCH", label: "综合搜索" }], O = {
87
90
  searchContent: [{ required: !0, message: "请输入查询内容", trigger: "blur" }]
88
- }, n = l({ ...E.value });
89
- k(
90
- () => E.value,
91
- (t) => {
92
- n.value = { ...t }, s();
91
+ }, y = n({ ...S.value });
92
+ f(
93
+ () => S.value,
94
+ (e) => {
95
+ y.value = { ...e };
93
96
  },
94
97
  { deep: !0 }
95
- );
96
- const b = () => {
97
- s();
98
- }, w = () => {
99
- h.value = "", s();
100
- }, s = () => {
101
- let t = {};
102
- p.value ? t = {
103
- ...n.value,
104
- putSearch: h.value || "",
105
- searchType: i.value
106
- } : t = {
107
- putSearch: h.value || "",
108
- searchType: i.value
109
- }, f("filterChangeGrandson", t, i.value);
98
+ ), f(
99
+ () => c.isWithinFilterOptions,
100
+ (e) => {
101
+ o.value = e;
102
+ }
103
+ ), f(o, (e) => {
104
+ i("update:isWithinFilterOptions", e);
105
+ });
106
+ const C = () => {
107
+ i("search", {
108
+ putSearch: s.value || "",
109
+ searchType: h.value,
110
+ isWithinFilterOptions: o.value
111
+ });
112
+ }, E = () => {
113
+ s.value = "", i("search", {
114
+ putSearch: "",
115
+ searchType: h.value,
116
+ isWithinFilterOptions: o.value
117
+ });
110
118
  }, W = () => {
111
- s();
112
- }, x = () => {
113
- u.value = !0;
114
- }, B = () => {
115
- u.value = !1, r.value = { searchType: "WHOLE_SEARCH", searchContent: "" };
116
- }, F = (t, e) => {
117
- const a = { ...t };
118
- return v.map(C.value, (c) => c.key).includes(e.filterKey) ? C.value.forEach((c) => delete a[c.key]) : delete a[e.filterKey], a;
119
- }, H = (t) => {
120
- let e = { ...n.value };
121
- v.forEach(t, (a) => {
122
- e = F(e, a);
123
- const { checkedValues: c, filterKey: m } = a;
124
- v.isEmpty(c) ? delete e[m] : g.value.includes(m) ? e[m] = c[0] : e[m] = c;
125
- }), n.value = e, f("update:searchItem", e), p.value && s();
126
- }, A = (t) => {
127
- const e = O(t);
128
- e !== null && (h.value = e, setTimeout(() => {
129
- s();
119
+ i("update:isWithinFilterOptions", o.value);
120
+ }, F = () => {
121
+ p.value = !0;
122
+ }, I = () => {
123
+ p.value = !1, r.value = { searchType: "WHOLE_SEARCH", searchContent: "" };
124
+ }, T = (e) => {
125
+ const t = d(e);
126
+ t !== null && (s.value = t, setTimeout(() => {
127
+ i("search", {
128
+ putSearch: s.value || "",
129
+ searchType: h.value,
130
+ isWithinFilterOptions: o.value
131
+ });
130
132
  }, 50));
131
- }, D = (t) => {
132
- const e = O(t);
133
- if (e) {
134
- const a = r.value.searchContent || "";
135
- r.value.searchContent = a ? `${a},${e}` : e;
133
+ }, b = (e) => {
134
+ const t = d(e);
135
+ if (t) {
136
+ const l = r.value.searchContent || "";
137
+ r.value.searchContent = l ? `${l},${t}` : t;
136
138
  }
137
- }, O = (t) => {
138
- var a;
139
- t.preventDefault();
140
- const e = (a = t.clipboardData) == null ? void 0 : a.getData("text/plain");
141
- return e == null ? void 0 : e.replace(/[\n\r\t]+/g, ",");
139
+ }, d = (e) => {
140
+ var l;
141
+ e.preventDefault();
142
+ const t = (l = e.clipboardData) == null ? void 0 : l.getData("text/plain");
143
+ return t == null ? void 0 : t.replace(/[\n\r\t]+/g, ",");
142
144
  };
143
145
  return {
144
- selectedSearchType: i,
145
- putSearch: h,
146
- isWithinFilterOptions: p,
147
- confirmLoading: d,
148
- showBatchSearch: u,
149
- batchSearchFormRef: S,
146
+ selectedSearchType: h,
147
+ putSearch: s,
148
+ localIsWithinFilterOptions: o,
149
+ confirmLoading: u,
150
+ showBatchSearch: p,
151
+ batchSearchFormRef: m,
150
152
  batchSearchForm: r,
151
- defalutOptions: I,
152
- rules: T,
153
- showBatchSearchDialog: x,
154
- handleBatchSearchClose: B,
153
+ defalutOptions: v,
154
+ rules: O,
155
+ showBatchSearchDialog: F,
156
+ handleBatchSearchClose: I,
155
157
  searchWithinFilterOptions: W,
156
- handleSearch: b,
157
- handleClear: w,
158
- pasteFormatInput: A,
158
+ handleSearch: C,
159
+ handleClear: E,
160
+ pasteFormatInput: T,
159
161
  confirmSearch: () => {
160
- S.value && S.value.validate((t) => {
161
- var e;
162
- if (t && ((e = r.value.searchContent) != null && e.trim())) {
163
- d.value = !0;
164
- let a = {};
165
- p.value ? a = {
166
- ...n.value,
167
- putSearch: r.value.searchContent.trim(),
168
- searchType: r.value.searchType
169
- } : a = {
170
- putSearch: r.value.searchContent.trim(),
171
- searchType: r.value.searchType
172
- }, f("filterChangeGrandson", a, r.value.searchType), r.value = { searchType: "WHOLE_SEARCH", searchContent: "" }, u.value = !1, d.value = !1;
173
- }
162
+ m.value && m.value.validate((t) => {
163
+ var l;
164
+ t && ((l = r.value.searchContent) != null && l.trim()) && (u.value = !0, i("search", {
165
+ putSearch: r.value.searchContent.trim(),
166
+ searchType: r.value.searchType,
167
+ isWithinFilterOptions: o.value
168
+ }), r.value = { searchType: "WHOLE_SEARCH", searchContent: "" }, p.value = !1, u.value = !1);
174
169
  });
175
170
  },
176
- pasteFormat: D,
177
- filterChange: H,
178
- getSearchItem: () => n.value
171
+ pasteFormat: b
179
172
  };
180
173
  }
181
174
  });
182
175
  export {
183
- ye as default
176
+ se as default
184
177
  };
@@ -6,7 +6,7 @@ function e() {
6
6
  options: () => [],
7
7
  placeholderText: "",
8
8
  showPatchSearch: !1,
9
- showWithinFilterCheckbox: !1,
9
+ showWithinFilterCheckbox: !0,
10
10
  specialOptions: () => [],
11
11
  normalOptions: () => [],
12
12
  showSelect: !1,
@@ -0,0 +1,70 @@
1
+ import { defineComponent as K, ref as v, computed as p, useSlots as S, provide as M, onMounted as O, onUnmounted as V, createElementBlock as i, openBlock as u, createCommentVNode as y, renderSlot as I } from "vue";
2
+ import { filterContainerKey as $ } from "./key.js";
3
+ import g from "../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/debounce.js";
4
+ const x = { class: "yahee-filter-container" }, z = {
5
+ key: 0,
6
+ class: "filter-section"
7
+ }, N = {
8
+ key: 1,
9
+ class: "search-section"
10
+ }, H = /* @__PURE__ */ K({
11
+ __name: "filter-container",
12
+ props: {
13
+ debounceInterval: { default: 300 },
14
+ immediate: { type: Boolean, default: !1 },
15
+ initialSearchItem: { default: () => ({}) },
16
+ showSearchSection: { type: Boolean, default: !1 }
17
+ },
18
+ emits: ["change", "search"],
19
+ setup(_, { expose: b, emit: C }) {
20
+ const n = _, c = C, t = v({});
21
+ n.initialSearchItem && Object.keys(n.initialSearchItem).length > 0 && (t.value = { ...n.initialSearchItem });
22
+ const s = v(/* @__PURE__ */ new Map()), k = p(() => s.value.size > 0 || !!S().filters), A = p(() => n.showSearchSection || Array.from(s.value.values()).some((e) => e.type === "search") || !!S().search), h = g((e) => {
23
+ c("change", e);
24
+ }, n.debounceInterval), m = g((e) => {
25
+ c("search", e);
26
+ }, n.debounceInterval), w = (e, a, r = "filter") => {
27
+ s.value.set(e, { methods: a, type: r });
28
+ }, E = (e) => {
29
+ s.value.delete(e);
30
+ }, d = (e) => {
31
+ const a = Array.isArray(e) ? e : [e], r = { ...t.value };
32
+ a.forEach((F) => {
33
+ const { filterKey: l, checkedValues: o } = F;
34
+ o.length === 0 || o[0] === "" || o[0] === null || o[0] === void 0 ? delete r[l] : o.length === 1 ? r[l] = o[0] : r[l] = o;
35
+ }), t.value = r, h({ ...r });
36
+ }, B = (e) => {
37
+ const a = { ...t.value, ...e };
38
+ t.value = a, m({ ...a });
39
+ }, j = () => {
40
+ t.value = { ...n.initialSearchItem }, s.value.forEach((e) => {
41
+ e.methods.reset && e.methods.reset();
42
+ }), c("change", { ...t.value });
43
+ }, f = () => ({ ...t.value });
44
+ return M($, {
45
+ registerComponent: w,
46
+ unregisterComponent: E,
47
+ updateSearchItem: d,
48
+ handleSearch: B,
49
+ getCurrentSearchItem: f
50
+ }), b({
51
+ resetAllFilters: j,
52
+ getCurrentSearchItem: f,
53
+ updateSearchItem: d
54
+ }), O(() => {
55
+ n.immediate && Object.keys(t.value).length > 0 && c("change", { ...t.value });
56
+ }), V(() => {
57
+ h.cancel(), m.cancel();
58
+ }), (e, a) => (u(), i("div", x, [
59
+ k.value ? (u(), i("div", z, [
60
+ I(e.$slots, "filters")
61
+ ])) : y("", !0),
62
+ A.value ? (u(), i("div", N, [
63
+ I(e.$slots, "search")
64
+ ])) : y("", !0)
65
+ ]));
66
+ }
67
+ });
68
+ export {
69
+ H as default
70
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./filter-container.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,7 @@
1
+ import { withInstall as t } from "../utils/install.js";
2
+ import o from "./filter-container.vue.js";
3
+ const e = t(o);
4
+ export {
5
+ e as YaheeFilterContainer,
6
+ e as default
7
+ };
@@ -0,0 +1,4 @@
1
+ const e = Symbol("filterContainer");
2
+ export {
3
+ e as filterContainerKey
4
+ };
@@ -0,0 +1,7 @@
1
+ import r from "./filter-wrapper.vue2.js";
2
+ /* empty css */
3
+ import o from "../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ o(r, [["__scopeId", "data-v-ad18c668"]]);
5
+ export {
6
+ e as default
7
+ };
@@ -0,0 +1,60 @@
1
+ import { defineComponent as f, inject as l, onMounted as d, onUnmounted as m, createElementBlock as h, openBlock as y, renderSlot as S } from "vue";
2
+ import { filterContainerKey as g } from "../filter-container/key.js";
3
+ const I = { class: "filter-wrapper yahee-filter-wrapper" }, v = /* @__PURE__ */ f({
4
+ name: "YaheeFilterWrapper",
5
+ __name: "filter-wrapper",
6
+ props: {
7
+ id: {},
8
+ filterKey: {},
9
+ type: { default: "filter" },
10
+ reset: { type: Function, default: void 0 },
11
+ immediate: { type: Boolean, default: !1 }
12
+ },
13
+ setup(p, { expose: u }) {
14
+ const r = p, e = l(g), n = (t = {}) => {
15
+ e && e.registerComponent(
16
+ r.id,
17
+ {
18
+ reset: r.reset || t.reset,
19
+ ...t
20
+ },
21
+ r.type
22
+ );
23
+ }, a = (t) => {
24
+ if (!e) return;
25
+ const c = Array.isArray(t) ? t : [t];
26
+ e.updateSearchItem({
27
+ filterKey: r.filterKey,
28
+ checkedValues: c
29
+ });
30
+ }, o = () => e != null && e.getCurrentSearchItem ? e.getCurrentSearchItem() : {}, s = (t) => {
31
+ e != null && e.handleSearch && e.handleSearch(t);
32
+ }, i = () => {
33
+ r.reset && r.reset();
34
+ };
35
+ return u({
36
+ register: n,
37
+ updateFilter: a,
38
+ getCurrentSearchItem: o,
39
+ handleSearch: s,
40
+ reset: i
41
+ }), d(() => {
42
+ if (n({ reset: i }), r.immediate && (e != null && e.getCurrentSearchItem)) {
43
+ const t = e.getCurrentSearchItem();
44
+ t[r.filterKey] && a(t[r.filterKey]);
45
+ }
46
+ }), m(() => {
47
+ e && e.unregisterComponent(r.id);
48
+ }), (t, c) => (y(), h("div", I, [
49
+ S(t.$slots, "default", {
50
+ register: n,
51
+ update: a,
52
+ getCurrentSearchItem: o,
53
+ handleSearch: s
54
+ }, void 0, !0)
55
+ ]));
56
+ }
57
+ });
58
+ export {
59
+ v as default
60
+ };
@@ -0,0 +1,7 @@
1
+ import { withInstall as r } from "../utils/install.js";
2
+ import t from "./filter-wrapper.vue.js";
3
+ const a = r(t);
4
+ export {
5
+ a as YaheeFilterWrapper,
6
+ a as default
7
+ };
package/es/index.js CHANGED
@@ -1,53 +1,57 @@
1
- import { makeInstaller as e } from "./utils/install.js";
1
+ import { makeInstaller as o } from "./utils/install.js";
2
2
  import r from "./installs.js";
3
3
  import { config as t } from "./utils/config.js";
4
4
  import { YaheeInput as i } from "./input/index.js";
5
- import { YaheeComplexSearch as s } from "./complex-search/index.js";
5
+ import { YaheeComplexSearch as d } from "./complex-search/index.js";
6
6
  import { YaheeCopy as u } from "./copy/index.js";
7
- import { YaheeImageUpload as C } from "./image-upload/index.js";
7
+ import { YaheeImageUpload as c } from "./image-upload/index.js";
8
8
  import { YaheeAnnexUpload as P } from "./annex-upload/index.js";
9
9
  import { YaheeOperationLog as I } from "./operation-log/index.js";
10
10
  import { YaheeCountryPlatformShopCondition as E } from "./country-platform-shop-condition/index.js";
11
11
  import { YaheeLeftCondition as L } from "./left-condition/index.js";
12
- import { YaheeLeftConditionEnum as D } from "./left-condition-enum/index.js";
13
- import { YaheeDropDownCondition as T } from "./drop-down-condition/index.js";
14
- import { YaheeCommonImport as W } from "./common-import/index.js";
15
- import { YaheeBorderWrap as k } from "./border-wrap/index.js";
16
- import { YaheeEchartGauge as A } from "./echart-gauge/index.js";
17
- import { YaheeScaleScreen as j } from "./scale-screen/index.js";
18
- import { YaheeHelpTag as v } from "./help-tag/index.js";
19
- import { defaultComplexSearchProps as F } from "./complex-search/props.js";
20
- import { defaultCopyProps as K } from "./copy/props.js";
21
- import { defaultBorderWrapPropsProps as N } from "./border-wrap/props.js";
22
- import { defaultEchartGaugeProps as R } from "./echart-gauge/props.js";
23
- import { defaultScaleScreenProps as X } from "./scale-screen/props.js";
24
- import { defaultHelpTagProps as _ } from "./help-tag/props.js";
25
- const { setConfig: p } = t(), n = e([...r]);
26
- function x(o) {
27
- p(o);
12
+ import { YaheeLeftConditionEnum as B } from "./left-condition-enum/index.js";
13
+ import { YaheeDropDownCondition as F } from "./drop-down-condition/index.js";
14
+ import { YaheeCommonImport as T } from "./common-import/index.js";
15
+ import { YaheeBorderWrap as b } from "./border-wrap/index.js";
16
+ import { YaheeEchartGauge as w } from "./echart-gauge/index.js";
17
+ import { YaheeScaleScreen as O } from "./scale-screen/index.js";
18
+ import { YaheeHelpTag as q } from "./help-tag/index.js";
19
+ import { YaheeFilterContainer as z } from "./filter-container/index.js";
20
+ import { YaheeFilterWrapper as K } from "./filter-wrapper/index.js";
21
+ import { defaultComplexSearchProps as N } from "./complex-search/props.js";
22
+ import { defaultCopyProps as R } from "./copy/props.js";
23
+ import { defaultBorderWrapPropsProps as X } from "./border-wrap/props.js";
24
+ import { defaultEchartGaugeProps as _ } from "./echart-gauge/props.js";
25
+ import { defaultScaleScreenProps as ee } from "./scale-screen/props.js";
26
+ import { defaultHelpTagProps as re } from "./help-tag/props.js";
27
+ const { setConfig: p } = t(), n = o([...r]);
28
+ function x(e) {
29
+ p(e);
28
30
  }
29
31
  export {
30
32
  P as YaheeAnnexUpload,
31
- k as YaheeBorderWrap,
32
- W as YaheeCommonImport,
33
- s as YaheeComplexSearch,
33
+ b as YaheeBorderWrap,
34
+ T as YaheeCommonImport,
35
+ d as YaheeComplexSearch,
34
36
  u as YaheeCopy,
35
37
  E as YaheeCountryPlatformShopCondition,
36
- T as YaheeDropDownCondition,
37
- A as YaheeEchartGauge,
38
- v as YaheeHelpTag,
39
- C as YaheeImageUpload,
38
+ F as YaheeDropDownCondition,
39
+ w as YaheeEchartGauge,
40
+ z as YaheeFilterContainer,
41
+ K as YaheeFilterWrapper,
42
+ q as YaheeHelpTag,
43
+ c as YaheeImageUpload,
40
44
  i as YaheeInput,
41
45
  L as YaheeLeftCondition,
42
- D as YaheeLeftConditionEnum,
46
+ B as YaheeLeftConditionEnum,
43
47
  I as YaheeOperationLog,
44
- j as YaheeScaleScreen,
48
+ O as YaheeScaleScreen,
45
49
  n as default,
46
- N as defaultBorderWrapPropsProps,
47
- F as defaultComplexSearchProps,
48
- K as defaultCopyProps,
49
- R as defaultEchartGaugeProps,
50
- _ as defaultHelpTagProps,
51
- X as defaultScaleScreenProps,
50
+ X as defaultBorderWrapPropsProps,
51
+ N as defaultComplexSearchProps,
52
+ R as defaultCopyProps,
53
+ _ as defaultEchartGaugeProps,
54
+ re as defaultHelpTagProps,
55
+ ee as defaultScaleScreenProps,
52
56
  x as useGlobalConfig
53
57
  };
package/es/installs.js CHANGED
@@ -11,9 +11,11 @@ import { YaheeCountryPlatformShopCondition as n } from "./country-platform-shop-
11
11
  import { YaheeCommonImport as h } from "./common-import/index.js";
12
12
  import { YaheeBorderWrap as Y } from "./border-wrap/index.js";
13
13
  import { YaheeEchartGauge as l } from "./echart-gauge/index.js";
14
- import { YaheeScaleScreen as d } from "./scale-screen/index.js";
15
- import { YaheeHelpTag as C } from "./help-tag/index.js";
16
- const G = [
14
+ import { YaheeScaleScreen as C } from "./scale-screen/index.js";
15
+ import { YaheeHelpTag as d } from "./help-tag/index.js";
16
+ import { YaheeFilterContainer as c } from "./filter-container/index.js";
17
+ import { YaheeFilterWrapper as u } from "./filter-wrapper/index.js";
18
+ const O = [
17
19
  o,
18
20
  e,
19
21
  r,
@@ -27,11 +29,11 @@ const G = [
27
29
  h,
28
30
  Y,
29
31
  l,
32
+ C,
30
33
  d,
31
- C
32
- // YaheeFilterContainer,
33
- // YaheeFilterWrapper,
34
+ c,
35
+ u
34
36
  ];
35
37
  export {
36
- G as default
38
+ O as default
37
39
  };
@@ -0,0 +1,5 @@
1
+ import o from "./_root.js";
2
+ var m = o.Symbol;
3
+ export {
4
+ m as default
5
+ };
@@ -0,0 +1,10 @@
1
+ import t from "./_Symbol.js";
2
+ import e from "./_getRawTag.js";
3
+ import o from "./_objectToString.js";
4
+ var i = "[object Null]", f = "[object Undefined]", r = t ? t.toStringTag : void 0;
5
+ function m(n) {
6
+ return n == null ? n === void 0 ? f : i : r && r in Object(n) ? e(n) : o(n);
7
+ }
8
+ export {
9
+ m as default
10
+ };
@@ -0,0 +1,8 @@
1
+ import r from "./_trimmedEndIndex.js";
2
+ var a = /^\s+/;
3
+ function t(e) {
4
+ return e && e.slice(0, r(e) + 1).replace(a, "");
5
+ }
6
+ export {
7
+ t as default
8
+ };
@@ -0,0 +1,4 @@
1
+ var l = typeof global == "object" && global && global.Object === Object && global;
2
+ export {
3
+ l as default
4
+ };
@@ -0,0 +1,15 @@
1
+ import e from "./_Symbol.js";
2
+ var o = Object.prototype, c = o.hasOwnProperty, f = o.toString, r = e ? e.toStringTag : void 0;
3
+ function p(t) {
4
+ var a = c.call(t, r), n = t[r];
5
+ try {
6
+ t[r] = void 0;
7
+ var i = !0;
8
+ } catch {
9
+ }
10
+ var g = f.call(t);
11
+ return i && (a ? t[r] = n : delete t[r]), g;
12
+ }
13
+ export {
14
+ p as default
15
+ };
@@ -0,0 +1,7 @@
1
+ var o = Object.prototype, r = o.toString;
2
+ function e(t) {
3
+ return r.call(t);
4
+ }
5
+ export {
6
+ e as default
7
+ };
@@ -0,0 +1,5 @@
1
+ import e from "./_freeGlobal.js";
2
+ var t = typeof self == "object" && self && self.Object === Object && self, r = e || t || Function("return this")();
3
+ export {
4
+ r as default
5
+ };
@@ -0,0 +1,9 @@
1
+ var r = /\s/;
2
+ function a(t) {
3
+ for (var e = t.length; e-- && r.test(t.charAt(e)); )
4
+ ;
5
+ return e;
6
+ }
7
+ export {
8
+ a as default
9
+ };
@@ -0,0 +1,54 @@
1
+ import S from "./isObject.js";
2
+ import h from "./now.js";
3
+ import W from "./toNumber.js";
4
+ var y = "Expected a function", R = Math.max, A = Math.min;
5
+ function _(x, i, u) {
6
+ var a, d, c, f, n, r, l = 0, E = !1, m = !1, g = !0;
7
+ if (typeof x != "function")
8
+ throw new TypeError(y);
9
+ i = W(i) || 0, S(u) && (E = !!u.leading, m = "maxWait" in u, c = m ? R(W(u.maxWait) || 0, i) : c, g = "trailing" in u ? !!u.trailing : g);
10
+ function v(e) {
11
+ var t = a, o = d;
12
+ return a = d = void 0, l = e, f = x.apply(o, t), f;
13
+ }
14
+ function b(e) {
15
+ return l = e, n = setTimeout(s, i), E ? v(e) : f;
16
+ }
17
+ function C(e) {
18
+ var t = e - r, o = e - l, p = i - t;
19
+ return m ? A(p, c - o) : p;
20
+ }
21
+ function k(e) {
22
+ var t = e - r, o = e - l;
23
+ return r === void 0 || t >= i || t < 0 || m && o >= c;
24
+ }
25
+ function s() {
26
+ var e = h();
27
+ if (k(e))
28
+ return I(e);
29
+ n = setTimeout(s, C(e));
30
+ }
31
+ function I(e) {
32
+ return n = void 0, g && a ? v(e) : (a = d = void 0, f);
33
+ }
34
+ function L() {
35
+ n !== void 0 && clearTimeout(n), l = 0, a = r = d = n = void 0;
36
+ }
37
+ function M() {
38
+ return n === void 0 ? f : I(h());
39
+ }
40
+ function T() {
41
+ var e = h(), t = k(e);
42
+ if (a = arguments, d = this, r = e, t) {
43
+ if (n === void 0)
44
+ return b(r);
45
+ if (m)
46
+ return clearTimeout(n), n = setTimeout(s, i), v(r);
47
+ }
48
+ return n === void 0 && (n = setTimeout(s, i)), f;
49
+ }
50
+ return T.cancel = L, T.flush = M, T;
51
+ }
52
+ export {
53
+ _ as default
54
+ };
@@ -0,0 +1,7 @@
1
+ function n(t) {
2
+ var e = typeof t;
3
+ return t != null && (e == "object" || e == "function");
4
+ }
5
+ export {
6
+ n as default
7
+ };
@@ -0,0 +1,6 @@
1
+ function e(t) {
2
+ return t != null && typeof t == "object";
3
+ }
4
+ export {
5
+ e as default
6
+ };
@@ -0,0 +1,9 @@
1
+ import t from "./_baseGetTag.js";
2
+ import m from "./isObjectLike.js";
3
+ var r = "[object Symbol]";
4
+ function i(o) {
5
+ return typeof o == "symbol" || m(o) && t(o) == r;
6
+ }
7
+ export {
8
+ i as default
9
+ };
@@ -0,0 +1,7 @@
1
+ import o from "./_root.js";
2
+ var t = function() {
3
+ return o.Date.now();
4
+ };
5
+ export {
6
+ t as default
7
+ };
@@ -0,0 +1,22 @@
1
+ import n from "./_baseTrim.js";
2
+ import f from "./isObject.js";
3
+ import o from "./isSymbol.js";
4
+ var s = NaN, m = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, e = /^0o[0-7]+$/i, b = parseInt;
5
+ function O(r) {
6
+ if (typeof r == "number")
7
+ return r;
8
+ if (o(r))
9
+ return s;
10
+ if (f(r)) {
11
+ var t = typeof r.valueOf == "function" ? r.valueOf() : r;
12
+ r = f(t) ? t + "" : t;
13
+ }
14
+ if (typeof r != "string")
15
+ return r === 0 ? r : +r;
16
+ r = n(r);
17
+ var i = p.test(r);
18
+ return i || e.test(r) ? b(r.slice(2), i ? 2 : 8) : m.test(r) ? s : +r;
19
+ }
20
+ export {
21
+ O as default
22
+ };
@@ -1 +1 @@
1
- .yahee-complex-search[data-v-814a7364]{width:100%}.search-type-checkbox[data-v-814a7364]{display:flex;justify-content:space-between;margin-top:8px;align-items:center}.row-class[data-v-814a7364]{margin-bottom:16px}.dialog-footer[data-v-814a7364]{display:flex;justify-content:flex-end;gap:12px}.container[data-v-d3e37633]{box-sizing:initial;display:inline-block;text-align:center;border-radius:50%;overflow:hidden}.spinner[data-v-d3e37633]{box-sizing:initial;border:2px solid #a1a1a1;border-right-color:transparent;width:23px;height:23px;border-radius:50%;animation:spin-d3e37633 .9s linear infinite}@keyframes spin-d3e37633{to{transform:rotate(360deg)}}.v3-infinite-loading[data-v-4bdee133]{width:100%;height:44px}.state-error[data-v-4bdee133]{display:flex;flex-direction:column;align-items:center}.retry[data-v-4bdee133]{margin-top:8px;padding:2px 6px 4px;width:60px;color:inherit;font-size:14px;font-family:inherit;background:transparent;border:2px solid currentColor;border-radius:5px;outline:none;cursor:pointer}.retry[data-v-4bdee133]:hover{opacity:.8}
1
+ .yahee-complex-search[data-v-715db21e]{width:100%}.search-type-checkbox[data-v-715db21e]{display:flex;justify-content:space-between;margin-top:8px;align-items:center}.row-class[data-v-715db21e]{margin-bottom:16px}.dialog-footer[data-v-715db21e]{display:flex;justify-content:flex-end;gap:12px}.container[data-v-d3e37633]{box-sizing:initial;display:inline-block;text-align:center;border-radius:50%;overflow:hidden}.spinner[data-v-d3e37633]{box-sizing:initial;border:2px solid #a1a1a1;border-right-color:transparent;width:23px;height:23px;border-radius:50%;animation:spin-d3e37633 .9s linear infinite}@keyframes spin-d3e37633{to{transform:rotate(360deg)}}.v3-infinite-loading[data-v-4bdee133]{width:100%;height:44px}.state-error[data-v-4bdee133]{display:flex;flex-direction:column;align-items:center}.retry[data-v-4bdee133]{margin-top:8px;padding:2px 6px 4px;width:60px;color:inherit;font-size:14px;font-family:inherit;background:transparent;border:2px solid currentColor;border-radius:5px;outline:none;cursor:pointer}.retry[data-v-4bdee133]:hover{opacity:.8}.filter-wrapper[data-v-ad18c668]{display:inline-block;margin-right:16px;margin-bottom:16px;vertical-align:top}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yahee-components",
3
3
  "private": false,
4
- "version": "0.0.97",
4
+ "version": "0.0.98-beta-01",
5
5
  "description": "深圳前海亚讯前端组件库",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -65,7 +65,7 @@ export declare function defaultComplexSearchProps(): {
65
65
  options: () => SearchOptions[];
66
66
  placeholderText: string;
67
67
  showPatchSearch: false;
68
- showWithinFilterCheckbox: false;
68
+ showWithinFilterCheckbox: true;
69
69
  specialOptions: () => SearchDataOptions[];
70
70
  normalOptions: () => SearchDataOptions[];
71
71
  showSelect: false;
@@ -13,3 +13,5 @@ export * from './border-wrap';
13
13
  export * from './echart-gauge';
14
14
  export * from './scale-screen';
15
15
  export * from './help-tag';
16
+ export * from './filter-container';
17
+ export * from './filter-wrapper';
@@ -1,17 +1,9 @@
1
+ import { FilterChangeEvent, SearchItem } from './key';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type Primitive = string | number | boolean | null | undefined;
3
- type FilterValue = Primitive | Primitive[];
4
- interface FilterChangeEvent {
5
- filterKey: string;
6
- checkedValues: FilterValue[];
7
- }
8
- interface SearchItem {
9
- [key: string]: FilterValue;
10
- }
11
3
  interface FilterContainerProps {
12
4
  debounceInterval?: number;
13
5
  immediate?: boolean;
14
- initialSearchItem?: SearchItem;
6
+ initialSearchItem?: Record<string, unknown>;
15
7
  showSearchSection?: boolean;
16
8
  }
17
9
  declare function __VLS_template(): {
@@ -29,15 +21,15 @@ declare const __VLS_component: DefineComponent<FilterContainerProps, {
29
21
  getCurrentSearchItem: () => SearchItem;
30
22
  updateSearchItem: (changes: FilterChangeEvent | FilterChangeEvent[]) => void;
31
23
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
32
- change: (searchItem: SearchItem) => any;
33
- search: (searchItem: SearchItem) => any;
24
+ change: (searchItem: Record<string, unknown>) => any;
25
+ search: (searchItem: Record<string, unknown>) => any;
34
26
  }, string, PublicProps, Readonly<FilterContainerProps> & Readonly<{
35
- onChange?: (searchItem: SearchItem) => any;
36
- onSearch?: (searchItem: SearchItem) => any;
27
+ onChange?: (searchItem: Record<string, unknown>) => any;
28
+ onSearch?: (searchItem: Record<string, unknown>) => any;
37
29
  }>, {
38
30
  debounceInterval: number;
39
31
  immediate: boolean;
40
- initialSearchItem: SearchItem;
32
+ initialSearchItem: Record<string, unknown>;
41
33
  showSearchSection: boolean;
42
34
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
43
35
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -0,0 +1,21 @@
1
+ import { InjectionKey } from 'vue';
2
+ export type Primitive = string | number | boolean | null | undefined;
3
+ export interface FilterChangeEvent {
4
+ filterKey: string;
5
+ checkedValues: Array<Primitive | Primitive[] | Record<string, unknown>>;
6
+ }
7
+ export type FilterValue = Primitive | Primitive[] | Record<string, unknown>;
8
+ export type SearchItem = Record<string, FilterValue>;
9
+ export interface ComponentMethods {
10
+ reset?: () => void;
11
+ getValue?: () => unknown;
12
+ setValue?: (value: unknown) => void;
13
+ }
14
+ export interface FilterContainerApi {
15
+ registerComponent: (id: string, component: ComponentMethods, type?: 'filter' | 'search') => void;
16
+ unregisterComponent: (id: string) => void;
17
+ updateSearchItem: (changes: FilterChangeEvent | FilterChangeEvent[]) => void;
18
+ handleSearch: (searchData: SearchItem) => void;
19
+ getCurrentSearchItem: () => SearchItem;
20
+ }
21
+ export declare const filterContainerKey: InjectionKey<FilterContainerApi>;
@@ -1,9 +1,7 @@
1
+ import { FilterValue as SharedFilterValue, SearchItem as SharedSearchItem } from '../filter-container/key';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type Primitive = string | number | boolean | null | undefined;
3
- type FilterValue = Primitive | Primitive[] | Record<string, Primitive>;
4
- interface SearchItem {
5
- [key: string]: FilterValue;
6
- }
3
+ type FilterValue = SharedFilterValue;
4
+ type SearchItem = SharedSearchItem;
7
5
  interface ComponentMethods {
8
6
  reset?: () => void;
9
7
  getValue?: () => FilterValue;
@@ -37,6 +35,7 @@ declare const __VLS_component: DefineComponent<FilterWrapperProps, {
37
35
  handleSearch: (searchData: SearchItem) => void;
38
36
  reset: () => void;
39
37
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FilterWrapperProps> & Readonly<{}>, {
38
+ reset: () => void;
40
39
  type: "filter" | "search";
41
40
  immediate: boolean;
42
41
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -52,7 +52,6 @@ export declare const YaheeLeftCondition: SFCWithInstall<DefineComponent<{
52
52
  onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
53
53
  }>, {
54
54
  label: string;
55
- filterKey: string;
56
55
  multiSelectList: Array<any>;
57
56
  countList: Array<any>;
58
57
  hasNum: boolean;
@@ -66,6 +65,7 @@ export declare const YaheeLeftCondition: SFCWithInstall<DefineComponent<{
66
65
  allIsEmpty: boolean;
67
66
  staticSearch: boolean;
68
67
  noNeedRefreshNumFilterName: string;
68
+ filterKey: string;
69
69
  defaultValues: Array<string | number | boolean>;
70
70
  showTotal: boolean;
71
71
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -34,7 +34,6 @@ declare const _default: DefineComponent<__VLS_Props, {
34
34
  onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
35
35
  }>, {
36
36
  label: string;
37
- filterKey: string;
38
37
  multiSelectList: Array<any>;
39
38
  countList: Array<any>;
40
39
  hasNum: boolean;
@@ -48,6 +47,7 @@ declare const _default: DefineComponent<__VLS_Props, {
48
47
  allIsEmpty: boolean;
49
48
  staticSearch: boolean;
50
49
  noNeedRefreshNumFilterName: string;
50
+ filterKey: string;
51
51
  defaultValues: Array<string | number | boolean>;
52
52
  showTotal: boolean;
53
53
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -32,11 +32,11 @@ export declare const YaheeLeftConditionEnum: SFCWithInstall<DefineComponent<{
32
32
  onFilterChange?: (...args: any[]) => any;
33
33
  onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
34
34
  }>, {
35
- filterKey: string;
36
35
  countList: any[];
37
36
  selectList: Option[];
38
37
  totalCount: number;
39
38
  noNeedRefreshNumFilterName: string;
39
+ filterKey: string;
40
40
  defaultValues: (string | boolean | number)[];
41
41
  enumEntity: string;
42
42
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>> & Record<string, any>;
@@ -20,11 +20,11 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
20
20
  onFilterChange?: (...args: any[]) => any;
21
21
  onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
22
22
  }>, {
23
- filterKey: string;
24
23
  countList: any[];
25
24
  selectList: Option[];
26
25
  totalCount: number;
27
26
  noNeedRefreshNumFilterName: string;
27
+ filterKey: string;
28
28
  defaultValues: (string | boolean | number)[];
29
29
  enumEntity: string;
30
30
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;