yahee-components 0.0.107 → 0.0.109

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 (66) hide show
  1. package/es/annex-upload/annex-upload.vue.js +51 -154
  2. package/es/annex-upload/annex-upload.vue2.js +119 -2
  3. package/es/annex-upload/index.js +3 -3
  4. package/es/border-wrap/border-wrap.vue.js +64 -95
  5. package/es/border-wrap/border-wrap.vue2.js +46 -2
  6. package/es/common-import/common-import.vue.js +369 -693
  7. package/es/common-import/common-import.vue2.js +364 -2
  8. package/es/common-import/index.js +3 -3
  9. package/es/complex-search/batch-search-dialog.vue.js +116 -4
  10. package/es/complex-search/batch-search-dialog.vue2.js +27 -136
  11. package/es/complex-search/complex-search.vue.js +14 -14
  12. package/es/copy/copy.vue.js +37 -55
  13. package/es/copy/copy.vue2.js +34 -2
  14. package/es/copy/index.js +3 -3
  15. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +114 -213
  16. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +125 -2
  17. package/es/drop-down-condition/drop-down-condition.vue.js +123 -5
  18. package/es/drop-down-condition/drop-down-condition.vue2.js +103 -259
  19. package/es/echart-gauge/echart-gauge.vue.js +12 -140
  20. package/es/echart-gauge/echart-gauge.vue2.js +147 -2
  21. package/es/echart-gauge/index.js +3 -3
  22. package/es/file-download-wrapper/file-download-wrapper.vue.js +143 -244
  23. package/es/file-download-wrapper/file-download-wrapper.vue2.js +113 -2
  24. package/es/file-download-wrapper/index.js +4 -4
  25. package/es/filter-container/filter-container.vue.js +18 -66
  26. package/es/filter-container/filter-container.vue2.js +59 -2
  27. package/es/filter-container/index.js +4 -4
  28. package/es/filter-wrapper/filter-wrapper.vue.js +16 -4
  29. package/es/filter-wrapper/filter-wrapper.vue2.js +40 -45
  30. package/es/height-collapse/height-collapse.vue.js +24 -51
  31. package/es/height-collapse/height-collapse.vue2.js +42 -2
  32. package/es/height-collapse/index.js +4 -4
  33. package/es/help-tag/help-tag.vue.js +44 -78
  34. package/es/help-tag/help-tag.vue2.js +49 -2
  35. package/es/help-tag/index.js +3 -3
  36. package/es/image-upload/image-upload.vue.js +109 -170
  37. package/es/image-upload/image-upload.vue2.js +91 -2
  38. package/es/image-upload/index.js +3 -3
  39. package/es/left-condition/index.js +3 -3
  40. package/es/left-condition/left-condition-sub.vue.js +32 -91
  41. package/es/left-condition/left-condition-sub.vue2.js +76 -2
  42. package/es/left-condition/left-condition.vue.js +70 -218
  43. package/es/left-condition/left-condition.vue2.js +160 -2
  44. package/es/left-condition-enum/index.js +3 -3
  45. package/es/left-condition-enum/left-condition-enum.vue.js +20 -49
  46. package/es/left-condition-enum/left-condition-enum.vue2.js +40 -2
  47. package/es/operation-log/operation-log-content.vue.js +71 -92
  48. package/es/operation-log/operation-log-content.vue2.js +39 -2
  49. package/es/operation-log/operation-log-dialog.vue.js +45 -67
  50. package/es/operation-log/operation-log-dialog.vue2.js +38 -2
  51. package/es/operation-log/operation-log-form.vue.js +108 -183
  52. package/es/operation-log/operation-log-form.vue2.js +104 -2
  53. package/es/operation-log/operation-log.vue.js +119 -228
  54. package/es/operation-log/operation-log.vue2.js +135 -2
  55. package/es/packages/components/api/log-server.js +6 -6
  56. package/es/packages/components/api/upload-server.js +1 -1
  57. package/es/packages/components/hooks/useEcharts.js +19 -19
  58. package/es/packages/components/hooks/useImg.js +8 -8
  59. package/es/scale-screen/index.js +4 -4
  60. package/es/scale-screen/scale-screen.vue.js +19 -126
  61. package/es/scale-screen/scale-screen.vue2.js +125 -2
  62. package/es/yahee-components.css +1 -1
  63. package/package.json +1 -1
  64. package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +15 -27
  65. package/types/src/drop-down-condition/index.d.ts +25 -25
  66. package/types/src/installs.d.ts +25 -25
@@ -1,130 +1,23 @@
1
- import { defineComponent as z, reactive as k, ref as v, watch as T, onMounted as L, nextTick as S, onUnmounted as _, createElementBlock as j, openBlock as B, createElementVNode as b, normalizeStyle as x, renderSlot as E } from "vue";
2
- const M = { class: "yahee-scale-screen" }, O = /* @__PURE__ */ z({
3
- __name: "scale-screen",
4
- props: {
5
- width: {
6
- type: [String, Number],
7
- default: 1920
8
- },
9
- height: {
10
- type: [String, Number],
11
- default: 1080
12
- },
13
- fullScreen: {
14
- type: Boolean,
15
- default: !1
16
- },
17
- autoScale: {
18
- type: [Object, Boolean],
19
- default: !0
20
- },
21
- delay: {
22
- type: Number,
23
- default: 500
24
- },
25
- boxStyle: {
26
- type: Object,
27
- default: () => ({})
28
- },
29
- wrapperStyle: {
30
- type: Object,
31
- default: () => ({})
32
- }
33
- },
34
- setup(h) {
35
- function W(i, l) {
36
- let o;
37
- return function(...a) {
38
- o && clearTimeout(o), o = setTimeout(
39
- () => {
40
- typeof i == "function" && i.apply(null, a), clearTimeout(o);
41
- },
42
- l > 0 ? l : 100
43
- );
44
- };
45
- }
46
- const n = h, e = k({
47
- width: 0,
48
- height: 0,
49
- originalWidth: 0,
50
- originalHeight: 0,
51
- observer: null
52
- }), g = {
53
- box: {
54
- overflow: "hidden",
55
- backgroundSize: "100% 100%",
56
- background: "#000",
57
- width: "100vw",
58
- height: "100vh"
59
- },
60
- wrapper: {
61
- transitionProperty: "all",
62
- transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
63
- transitionDuration: "500ms",
64
- position: "relative",
65
- overflow: "hidden",
66
- zIndex: 100,
67
- transformOrigin: "left top"
68
- }
69
- }, t = v(), d = v();
70
- T(
71
- () => n.autoScale,
72
- async (i) => {
73
- i ? (u(), w()) : (m(), H());
74
- }
75
- );
76
- const f = () => new Promise((i) => {
77
- d.value.scrollLeft = 0, d.value.scrollTop = 0, S(() => {
78
- var l, o;
79
- n.width && n.height ? (e.width = n.width, e.height = n.height) : (e.width = (l = t.value) == null ? void 0 : l.clientWidth, e.height = (o = t.value) == null ? void 0 : o.clientHeight), (!e.originalHeight || !e.originalWidth) && (e.originalWidth = window.screen.width, e.originalHeight = window.screen.height), i();
80
- });
81
- }), p = () => {
82
- e.width && e.height ? (t.value.style.width = `${e.width}px`, t.value.style.height = `${e.height}px`) : (t.value.style.width = `${e.originalWidth}px`, t.value.style.height = `${e.originalHeight}px`);
83
- }, H = () => {
84
- t.value && (t.value.style.transform = "", t.value.style.margin = "");
85
- }, $ = (i) => {
86
- if (!n.autoScale)
87
- return;
88
- const l = t.value.clientWidth, o = t.value.clientHeight, a = document.body.clientWidth, c = document.body.clientHeight;
89
- t.value.style.transform = `scale(${i},${i})`;
90
- let r = Math.max((a - l * i) / 2, 0), s = Math.max((c - o * i) / 2, 0);
91
- typeof n.autoScale == "object" && (!n.autoScale.x && (r = 0), !n.autoScale.y && (s = 0)), t.value.style.margin = `${s}px ${r}px`;
92
- }, y = () => {
93
- const i = document.body.clientWidth, l = document.body.clientHeight, o = e.width || e.originalWidth, a = e.height || e.originalHeight, c = i / +o, r = l / +a;
94
- if (n.fullScreen)
95
- return t.value.style.transform = `scale(${c},${r})`, !1;
96
- const s = Math.min(c, r);
97
- $(s);
98
- }, u = W(async () => {
99
- await f(), p(), y();
100
- }, n.delay), m = () => {
101
- window.removeEventListener("resize", u);
102
- }, w = () => {
103
- window.addEventListener("resize", u);
104
- };
105
- return L(() => {
106
- S(async () => {
107
- await f(), p(), y(), w();
108
- });
109
- }), _(() => {
110
- m();
111
- }), (i, l) => (B(), j("div", M, [
112
- b("section", {
113
- style: x({ ...g.box, ...h.boxStyle }),
114
- ref_key: "box",
115
- ref: d
1
+ import s from "./scale-screen.vue2.js";
2
+ import { createElementBlock as n, openBlock as l, createElementVNode as o, normalizeStyle as t, renderSlot as a } from "vue";
3
+ import m from "../_virtual/_plugin-vue_export-helper.js";
4
+ const p = { class: "yahee-scale-screen" };
5
+ function f(c, i, e, r, _, d) {
6
+ return l(), n("div", p, [
7
+ o("section", {
8
+ style: t({ ...r.styles.box, ...e.boxStyle }),
9
+ ref: "box"
10
+ }, [
11
+ o("div", {
12
+ style: t({ ...r.styles.wrapper, ...e.wrapperStyle }),
13
+ ref: "screenWrapper"
116
14
  }, [
117
- b("div", {
118
- style: x({ ...g.wrapper, ...h.wrapperStyle }),
119
- ref_key: "screenWrapper",
120
- ref: t
121
- }, [
122
- E(i.$slots, "default")
123
- ], 4)
15
+ a(c.$slots, "default")
124
16
  ], 4)
125
- ]));
126
- }
127
- });
17
+ ], 4)
18
+ ]);
19
+ }
20
+ const b = /* @__PURE__ */ m(s, [["render", f], ["__file", "E:/工作/项目代码/common_componentsweb/packages/components/src/scale-screen/scale-screen.vue"]]);
128
21
  export {
129
- O as default
22
+ b as default
130
23
  };
@@ -1,4 +1,127 @@
1
- import f from "./scale-screen.vue.js";
1
+ import { defineComponent as z, reactive as O, ref as S, watch as M, onMounted as T, nextTick as x, onUnmounted as j } from "vue";
2
+ const k = /* @__PURE__ */ z({
3
+ __name: "scale-screen",
4
+ props: {
5
+ width: {
6
+ type: [String, Number],
7
+ default: 1920
8
+ },
9
+ height: {
10
+ type: [String, Number],
11
+ default: 1080
12
+ },
13
+ fullScreen: {
14
+ type: Boolean,
15
+ default: !1
16
+ },
17
+ autoScale: {
18
+ type: [Object, Boolean],
19
+ default: !0
20
+ },
21
+ delay: {
22
+ type: Number,
23
+ default: 500
24
+ },
25
+ boxStyle: {
26
+ type: Object,
27
+ default: () => ({})
28
+ },
29
+ wrapperStyle: {
30
+ type: Object,
31
+ default: () => ({})
32
+ }
33
+ },
34
+ setup(W, { expose: H }) {
35
+ H();
36
+ function m(i, o) {
37
+ let r;
38
+ return function(...l) {
39
+ r && clearTimeout(r), r = setTimeout(
40
+ () => {
41
+ typeof i == "function" && i.apply(null, l), clearTimeout(r);
42
+ },
43
+ o > 0 ? o : 100
44
+ );
45
+ };
46
+ }
47
+ const n = W, e = O({
48
+ width: 0,
49
+ height: 0,
50
+ originalWidth: 0,
51
+ originalHeight: 0,
52
+ observer: null
53
+ }), _ = {
54
+ box: {
55
+ overflow: "hidden",
56
+ backgroundSize: "100% 100%",
57
+ background: "#000",
58
+ width: "100vw",
59
+ height: "100vh"
60
+ },
61
+ wrapper: {
62
+ transitionProperty: "all",
63
+ transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
64
+ transitionDuration: "500ms",
65
+ position: "relative",
66
+ overflow: "hidden",
67
+ zIndex: 100,
68
+ transformOrigin: "left top"
69
+ }
70
+ }, t = S(), h = S();
71
+ M(
72
+ () => n.autoScale,
73
+ async (i) => {
74
+ i ? (a(), y()) : (f(), v());
75
+ }
76
+ );
77
+ const d = () => new Promise((i) => {
78
+ h.value.scrollLeft = 0, h.value.scrollTop = 0, x(() => {
79
+ var o, r;
80
+ n.width && n.height ? (e.width = n.width, e.height = n.height) : (e.width = (o = t.value) == null ? void 0 : o.clientWidth, e.height = (r = t.value) == null ? void 0 : r.clientHeight), (!e.originalHeight || !e.originalWidth) && (e.originalWidth = window.screen.width, e.originalHeight = window.screen.height), i();
81
+ });
82
+ }), g = () => {
83
+ e.width && e.height ? (t.value.style.width = `${e.width}px`, t.value.style.height = `${e.height}px`) : (t.value.style.width = `${e.originalWidth}px`, t.value.style.height = `${e.originalHeight}px`);
84
+ }, v = () => {
85
+ t.value && (t.value.style.transform = "", t.value.style.margin = "");
86
+ }, w = (i) => {
87
+ if (!n.autoScale)
88
+ return;
89
+ const o = t.value.clientWidth, r = t.value.clientHeight, l = document.body.clientWidth, s = document.body.clientHeight;
90
+ t.value.style.transform = `scale(${i},${i})`;
91
+ let c = Math.max((l - o * i) / 2, 0), u = Math.max((s - r * i) / 2, 0);
92
+ typeof n.autoScale == "object" && (!n.autoScale.x && (c = 0), !n.autoScale.y && (u = 0)), t.value.style.margin = `${u}px ${c}px`;
93
+ }, p = () => {
94
+ const i = document.body.clientWidth, o = document.body.clientHeight, r = e.width || e.originalWidth, l = e.height || e.originalHeight, s = i / +r, c = o / +l;
95
+ if (n.fullScreen)
96
+ return t.value.style.transform = `scale(${s},${c})`, !1;
97
+ const u = Math.min(s, c);
98
+ w(u);
99
+ }, a = m(async () => {
100
+ await d(), g(), p();
101
+ }, n.delay), $ = () => {
102
+ (e.observer = new MutationObserver(() => {
103
+ a();
104
+ })).observe(t.value, {
105
+ attributes: !0,
106
+ attributeFilter: ["style"],
107
+ attributeOldValue: !0
108
+ });
109
+ }, f = () => {
110
+ window.removeEventListener("resize", a);
111
+ }, y = () => {
112
+ window.addEventListener("resize", a);
113
+ };
114
+ T(() => {
115
+ x(async () => {
116
+ await d(), g(), p(), y();
117
+ });
118
+ }), j(() => {
119
+ f();
120
+ });
121
+ const b = { debounce: m, props: n, state: e, styles: _, screenWrapper: t, box: h, initSize: d, updateSize: g, clearScreenWrapperStyle: v, autoScale: w, updateScale: p, onResize: a, initMutationObserver: $, clearListener: f, addListener: y };
122
+ return Object.defineProperty(b, "__isScriptSetup", { enumerable: !1, value: !0 }), b;
123
+ }
124
+ });
2
125
  export {
3
- f as default
126
+ k as default
4
127
  };
@@ -1 +1 @@
1
- .row-class[data-v-12186e80]{margin-bottom:16px}.dialog-footer[data-v-12186e80]{display:flex;justify-content:flex-end;gap:12px}.yahee-complex-search[data-v-c03e960b]{width:100%}.search-type-checkbox[data-v-c03e960b]{display:flex;justify-content:space-between;margin-top:8px;align-items:center}.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-1188ff04]{display:inline-block;margin-right:16px;margin-bottom:16px;vertical-align:top}
1
+ .row-class[data-v-5ba0516b]{margin-bottom:16px}.dialog-footer[data-v-5ba0516b]{display:flex;justify-content:flex-end;gap:12px}.yahee-complex-search[data-v-75f47f8c]{width:100%}.search-type-checkbox[data-v-75f47f8c]{display:flex;justify-content:space-between;margin-top:8px;align-items:center}.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-d9497b3a]{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.107",
4
+ "version": "0.0.109",
5
5
  "description": "深圳前海亚讯前端组件库",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -1,40 +1,28 @@
1
- import { DropdownEntity, CountItem } from './drop-down-condition';
1
+ import { DropdownEntity } from './drop-down-condition';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComputedRef, Ref, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives } from 'vue';
3
3
  import { TooltipTriggerType, PopperEffect, Placement, Options, ButtonProps, Translator, TooltipInstance } from 'element-plus';
4
4
  type __VLS_Props = {
5
- /** 最大可选数量,默认不限制,传1即为单选 */
6
- max?: number;
7
- /** 父子层级渲染条件项(优先级最高,传入后跳过接口请求) */
8
- filterList?: DropdownEntity[];
9
- /** 当前条件下显示的条数 */
5
+ filterList?: Array<DropdownEntity>;
10
6
  totalCount?: number;
11
- /** 父级显示条数 */
12
- level1Count?: CountItem[];
13
- /** 子级显示数量 */
14
- level2Count?: CountItem[];
15
- /** 发往后端的请求参数key */
7
+ level1Count?: Array<{
8
+ value: string;
9
+ count: number;
10
+ }>;
11
+ level2Count?: Array<{
12
+ value: string;
13
+ count: number;
14
+ }>;
16
15
  filterKey: string;
17
- /** 后端接口枚举标识(用于缓存key) */
18
16
  enumEntity: string;
19
- /** 是否需要刷新当前项 */
20
17
  noNeedRefreshNumFilterName?: string;
21
- /** 查询接口方法(仅当未传入filterList时调用) */
22
- initFilters?: (enumEntity: string) => Promise<{
23
- data: DropdownEntity[];
24
- }>;
18
+ initFilters?: Function;
25
19
  };
26
20
  declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
27
- filterChange: (payload: {
28
- filterKey: string;
29
- checkedValues: string[];
30
- }[]) => any;
31
- setNoNeedRefreshNumFilterName: (filterKey: string) => any;
21
+ filterChange: (...args: any[]) => void;
22
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
32
23
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
33
- onFilterChange?: (payload: {
34
- filterKey: string;
35
- checkedValues: string[];
36
- }[]) => any;
37
- onSetNoNeedRefreshNumFilterName?: (filterKey: string) => any;
24
+ onFilterChange?: (...args: any[]) => any;
25
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
38
26
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
39
27
  dropdown1: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
40
28
  readonly trigger: {
@@ -1,43 +1,43 @@
1
1
  import { SFCWithInstall } from '../utils/typescript';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComputedRef, Ref, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives } from 'vue';
3
- import { DropdownEntity, CountItem } from './drop-down-condition';
3
+ import { DropdownEntity } from './drop-down-condition';
4
4
  import { TooltipTriggerType, PopperEffect, Placement, Options, ButtonProps, Translator, TooltipInstance } from 'element-plus';
5
5
  export declare const YaheeDropDownCondition: SFCWithInstall<DefineComponent<{
6
- max?: number;
7
- filterList?: DropdownEntity[];
6
+ filterList?: Array< DropdownEntity>;
8
7
  totalCount?: number;
9
- level1Count?: CountItem[];
10
- level2Count?: CountItem[];
8
+ level1Count?: Array<{
9
+ value: string;
10
+ count: number;
11
+ }>;
12
+ level2Count?: Array<{
13
+ value: string;
14
+ count: number;
15
+ }>;
11
16
  filterKey: string;
12
17
  enumEntity: string;
13
18
  noNeedRefreshNumFilterName?: string;
14
- initFilters?: (enumEntity: string) => Promise<{
15
- data: DropdownEntity[];
16
- }>;
19
+ initFilters?: Function;
17
20
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
18
- filterChange: (payload: {
19
- filterKey: string;
20
- checkedValues: string[];
21
- }[]) => any;
22
- setNoNeedRefreshNumFilterName: (filterKey: string) => any;
21
+ filterChange: (...args: any[]) => void;
22
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
23
23
  }, string, PublicProps, Readonly<{
24
- max?: number;
25
- filterList?: DropdownEntity[];
24
+ filterList?: Array< DropdownEntity>;
26
25
  totalCount?: number;
27
- level1Count?: CountItem[];
28
- level2Count?: CountItem[];
26
+ level1Count?: Array<{
27
+ value: string;
28
+ count: number;
29
+ }>;
30
+ level2Count?: Array<{
31
+ value: string;
32
+ count: number;
33
+ }>;
29
34
  filterKey: string;
30
35
  enumEntity: string;
31
36
  noNeedRefreshNumFilterName?: string;
32
- initFilters?: (enumEntity: string) => Promise<{
33
- data: DropdownEntity[];
34
- }>;
37
+ initFilters?: Function;
35
38
  }> & Readonly<{
36
- onFilterChange?: (payload: {
37
- filterKey: string;
38
- checkedValues: string[];
39
- }[]) => any;
40
- onSetNoNeedRefreshNumFilterName?: (filterKey: string) => any;
39
+ onFilterChange?: (...args: any[]) => any;
40
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
41
41
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
42
42
  dropdown1: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
43
43
  readonly trigger: {
@@ -8,7 +8,7 @@ import { ScrollbarDirection, UploadFile, UploadFiles, UploadProgressEvent, Uploa
8
8
  import { OnCleanup } from '@vue/reactivity';
9
9
  import { AnnexUploadProps } from './annex-upload';
10
10
  import { Option } from './static/CommonObject';
11
- import { DropdownEntity, CountItem } from './drop-down-condition/drop-down-condition';
11
+ import { DropdownEntity } from './drop-down-condition/drop-down-condition';
12
12
  import { data } from './country-platform-shop-condition/country-platform-shop-condition';
13
13
  import { CommonImportProps } from './common-import/props';
14
14
  import { PageObj } from './common-import/common-import';
@@ -1419,41 +1419,41 @@ declare const _default: (( SFCWithInstall<DefineComponent<ExtractPropTypes<{
1419
1419
  defaultValues: (string | boolean | number)[];
1420
1420
  enumEntity: string;
1421
1421
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
1422
- max?: number;
1423
- filterList?: DropdownEntity[];
1422
+ filterList?: Array< DropdownEntity>;
1424
1423
  totalCount?: number;
1425
- level1Count?: CountItem[];
1426
- level2Count?: CountItem[];
1424
+ level1Count?: Array<{
1425
+ value: string;
1426
+ count: number;
1427
+ }>;
1428
+ level2Count?: Array<{
1429
+ value: string;
1430
+ count: number;
1431
+ }>;
1427
1432
  filterKey: string;
1428
1433
  enumEntity: string;
1429
1434
  noNeedRefreshNumFilterName?: string;
1430
- initFilters?: (enumEntity: string) => Promise<{
1431
- data: DropdownEntity[];
1432
- }>;
1435
+ initFilters?: Function;
1433
1436
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1434
- filterChange: (payload: {
1435
- filterKey: string;
1436
- checkedValues: string[];
1437
- }[]) => any;
1438
- setNoNeedRefreshNumFilterName: (filterKey: string) => any;
1437
+ filterChange: (...args: any[]) => void;
1438
+ setNoNeedRefreshNumFilterName: (...args: any[]) => void;
1439
1439
  }, string, PublicProps, Readonly<{
1440
- max?: number;
1441
- filterList?: DropdownEntity[];
1440
+ filterList?: Array< DropdownEntity>;
1442
1441
  totalCount?: number;
1443
- level1Count?: CountItem[];
1444
- level2Count?: CountItem[];
1442
+ level1Count?: Array<{
1443
+ value: string;
1444
+ count: number;
1445
+ }>;
1446
+ level2Count?: Array<{
1447
+ value: string;
1448
+ count: number;
1449
+ }>;
1445
1450
  filterKey: string;
1446
1451
  enumEntity: string;
1447
1452
  noNeedRefreshNumFilterName?: string;
1448
- initFilters?: (enumEntity: string) => Promise<{
1449
- data: DropdownEntity[];
1450
- }>;
1453
+ initFilters?: Function;
1451
1454
  }> & Readonly<{
1452
- onFilterChange?: (payload: {
1453
- filterKey: string;
1454
- checkedValues: string[];
1455
- }[]) => any;
1456
- onSetNoNeedRefreshNumFilterName?: (filterKey: string) => any;
1455
+ onFilterChange?: (...args: any[]) => any;
1456
+ onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
1457
1457
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1458
1458
  dropdown1: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
1459
1459
  readonly trigger: {