bm-admin-ui 1.0.0-alpha → 1.0.1-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 (126) hide show
  1. package/es/components/button/index.d.ts +9 -9
  2. package/es/components/button/index.js +1 -1
  3. package/es/components/button/src/button.vue.d.ts +9 -9
  4. package/es/components/float-table/index.d.ts +5 -0
  5. package/es/components/float-table/index.js +448 -0
  6. package/es/components/float-table/src/float-table.vue.d.ts +500 -0
  7. package/es/components/flow-designer/index.js +1 -1
  8. package/es/components/form-designer/index.js +1 -1
  9. package/es/components/index.d.ts +7 -0
  10. package/es/components/index.js +7 -0
  11. package/es/components/multi-cascader-compose/index.d.ts +135 -0
  12. package/es/components/multi-cascader-compose/index.js +1699 -0
  13. package/es/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +135 -0
  14. package/es/components/multi-cascader-compose/src/props.d.ts +32 -0
  15. package/es/components/multi-cascader-compose/types.d.ts +10 -0
  16. package/es/components/over-tooltips/index.d.ts +35 -0
  17. package/es/components/over-tooltips/index.js +117 -0
  18. package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
  19. package/es/components/search-filter/index.d.ts +1 -1
  20. package/es/components/search-filter/index.js +593 -29
  21. package/es/components/search-filter/src/search-filter.vue.d.ts +1 -1
  22. package/es/components/shops-filter/index.d.ts +99 -0
  23. package/es/components/shops-filter/index.js +1614 -0
  24. package/es/components/shops-filter/src/shops-filter.d.ts +25 -0
  25. package/es/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
  26. package/es/components/staffs-selector/index.d.ts +82 -0
  27. package/es/components/staffs-selector/index.js +1991 -0
  28. package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +79 -0
  29. package/es/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
  30. package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +81 -0
  31. package/es/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
  32. package/es/components/timeline/index.d.ts +93 -0
  33. package/es/components/timeline/index.js +164 -0
  34. package/es/components/timeline/src/props.d.ts +20 -0
  35. package/es/components/timeline/src/timeline-item.vue.d.ts +51 -0
  36. package/es/components/timeline/src/timeline.vue.d.ts +42 -0
  37. package/es/components/upload/index.d.ts +126 -0
  38. package/es/components/upload/index.js +1839 -0
  39. package/es/components/upload/src/icons.d.ts +13 -0
  40. package/es/components/upload/src/upload.vue.d.ts +125 -0
  41. package/es/components/upload/utils/index.d.ts +7 -0
  42. package/index.esm.js +62925 -1235
  43. package/index.js +63078 -1380
  44. package/lib/components/button/index.d.ts +9 -9
  45. package/lib/components/button/index.js +1 -1
  46. package/lib/components/button/src/button.vue.d.ts +9 -9
  47. package/lib/components/float-table/index.d.ts +5 -0
  48. package/lib/components/float-table/index.js +459 -0
  49. package/lib/components/float-table/src/float-table.vue.d.ts +500 -0
  50. package/lib/components/flow-designer/index.js +1 -1
  51. package/lib/components/form-designer/index.js +1 -1
  52. package/lib/components/index.d.ts +7 -0
  53. package/lib/components/index.js +49 -0
  54. package/lib/components/multi-cascader-compose/index.d.ts +135 -0
  55. package/lib/components/multi-cascader-compose/index.js +1704 -0
  56. package/lib/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +135 -0
  57. package/lib/components/multi-cascader-compose/src/props.d.ts +32 -0
  58. package/lib/components/multi-cascader-compose/types.d.ts +10 -0
  59. package/lib/components/over-tooltips/index.d.ts +35 -0
  60. package/lib/components/over-tooltips/index.js +122 -0
  61. package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
  62. package/lib/components/search-filter/index.d.ts +1 -1
  63. package/lib/components/search-filter/index.js +592 -28
  64. package/lib/components/search-filter/src/search-filter.vue.d.ts +1 -1
  65. package/lib/components/shops-filter/index.d.ts +99 -0
  66. package/lib/components/shops-filter/index.js +1626 -0
  67. package/lib/components/shops-filter/src/shops-filter.d.ts +25 -0
  68. package/lib/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
  69. package/lib/components/staffs-selector/index.d.ts +82 -0
  70. package/lib/components/staffs-selector/index.js +2005 -0
  71. package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +79 -0
  72. package/lib/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
  73. package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +81 -0
  74. package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
  75. package/lib/components/timeline/index.d.ts +93 -0
  76. package/lib/components/timeline/index.js +170 -0
  77. package/lib/components/timeline/src/props.d.ts +20 -0
  78. package/lib/components/timeline/src/timeline-item.vue.d.ts +51 -0
  79. package/lib/components/timeline/src/timeline.vue.d.ts +42 -0
  80. package/lib/components/upload/index.d.ts +126 -0
  81. package/lib/components/upload/index.js +1844 -0
  82. package/lib/components/upload/src/icons.d.ts +13 -0
  83. package/lib/components/upload/src/upload.vue.d.ts +125 -0
  84. package/lib/components/upload/utils/index.d.ts +7 -0
  85. package/package.json +6 -3
  86. package/theme-chalk/button.css +1 -1
  87. package/theme-chalk/float-table.css +1 -0
  88. package/theme-chalk/floating-vue.css +1 -0
  89. package/theme-chalk/flow-designer.css +1 -1
  90. package/theme-chalk/index.css +1 -1
  91. package/theme-chalk/multi-cascader-compose.css +1 -0
  92. package/theme-chalk/over-tooltips.css +1 -0
  93. package/theme-chalk/search-filter.css +1 -1
  94. package/theme-chalk/shops-filter.css +1 -0
  95. package/theme-chalk/staffs-selector.css +1 -0
  96. package/theme-chalk/timeline.css +1 -0
  97. package/theme-chalk/upload.css +1 -0
  98. package/types/components/button/index.d.ts +9 -9
  99. package/types/components/button/src/button.vue.d.ts +9 -9
  100. package/types/components/float-table/index.d.ts +5 -0
  101. package/types/components/float-table/src/float-table.vue.d.ts +500 -0
  102. package/types/components/index.d.ts +7 -0
  103. package/types/components/multi-cascader-compose/index.d.ts +135 -0
  104. package/types/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +135 -0
  105. package/types/components/multi-cascader-compose/src/props.d.ts +32 -0
  106. package/types/components/multi-cascader-compose/types.d.ts +10 -0
  107. package/types/components/over-tooltips/index.d.ts +35 -0
  108. package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
  109. package/types/components/search-filter/index.d.ts +1 -1
  110. package/types/components/search-filter/src/search-filter.vue.d.ts +1 -1
  111. package/types/components/shops-filter/index.d.ts +99 -0
  112. package/types/components/shops-filter/src/shops-filter.d.ts +25 -0
  113. package/types/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
  114. package/types/components/staffs-selector/index.d.ts +82 -0
  115. package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +79 -0
  116. package/types/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
  117. package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +81 -0
  118. package/types/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
  119. package/types/components/timeline/index.d.ts +93 -0
  120. package/types/components/timeline/src/props.d.ts +20 -0
  121. package/types/components/timeline/src/timeline-item.vue.d.ts +51 -0
  122. package/types/components/timeline/src/timeline.vue.d.ts +42 -0
  123. package/types/components/upload/index.d.ts +126 -0
  124. package/types/components/upload/src/icons.d.ts +13 -0
  125. package/types/components/upload/src/upload.vue.d.ts +125 -0
  126. package/types/components/upload/utils/index.d.ts +7 -0
@@ -0,0 +1,135 @@
1
+ declare const BmMultiCascaderCompose: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
+ options: {
3
+ type: import("vue").PropType<import("./types").MutilCascaderItem[]>;
4
+ default(): import("./types").MutilCascaderItem[];
5
+ };
6
+ modelValue: {
7
+ type: import("vue").PropType<string[]>;
8
+ default(): string[];
9
+ };
10
+ optionValueName: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ optionLabelName: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ maxTagCount: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
22
+ placeholder: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ allowClear: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }, {
31
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
32
+ options: {
33
+ type: import("vue").PropType<import("./types").MutilCascaderItem[]>;
34
+ default(): import("./types").MutilCascaderItem[];
35
+ };
36
+ modelValue: {
37
+ type: import("vue").PropType<string[]>;
38
+ default(): string[];
39
+ };
40
+ optionValueName: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ optionLabelName: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ maxTagCount: {
49
+ type: NumberConstructor;
50
+ default: number;
51
+ };
52
+ placeholder: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
56
+ allowClear: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ }>> & {
61
+ onChange?: ((...args: any[]) => any) | undefined;
62
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
63
+ }>>;
64
+ emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
65
+ path: import("vue").Ref<{
66
+ [x: string]: any;
67
+ index: number;
68
+ children?: {
69
+ [x: string]: any;
70
+ children?: any[] | undefined;
71
+ }[] | undefined;
72
+ }[]>;
73
+ optionsMap: import("vue").ComputedRef<{
74
+ [key: string]: import("./types").MutilCascaderItem;
75
+ }>;
76
+ checkedMap: import("vue").ComputedRef<import("./types").MutilCascaderItem[]>;
77
+ checkedHideCount: import("vue").ComputedRef<number>;
78
+ checkedShowMap: import("vue").ComputedRef<import("./types").MutilCascaderItem[]>;
79
+ modulersOptions: import("vue").ComputedRef<import("./types").MutilCascaderItem[]>;
80
+ modulersStatusOptions: import("vue").ComputedRef<import("./types").CheckedStatus[][]>;
81
+ modulersAllStatusOptions: import("vue").ComputedRef<import("./types").CheckedStatus[]>;
82
+ handleClick: (option: import("./types").MutilCascaderItem, level: number, index: number) => void;
83
+ handleClickCheckbox: (option: import("./types").MutilCascaderItem, level: number, index: number) => void;
84
+ handleToggle: (option: import("./types").MutilCascaderItem, level: number, index: number) => void;
85
+ handleClickAll: (level: number) => void;
86
+ getAllSonValues: (data: import("./types").MutilCascaderItem[]) => string[];
87
+ removeItem: (value: string) => void;
88
+ removeAll: () => void;
89
+ CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
90
+ RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
91
+ DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
92
+ CloseCircleFilled: import("@ant-design/icons-vue/lib/icons/CloseCircleFilled").CloseCircleFilledIconType;
93
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
94
+ options: {
95
+ type: import("vue").PropType<import("./types").MutilCascaderItem[]>;
96
+ default(): import("./types").MutilCascaderItem[];
97
+ };
98
+ modelValue: {
99
+ type: import("vue").PropType<string[]>;
100
+ default(): string[];
101
+ };
102
+ optionValueName: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ optionLabelName: {
107
+ type: StringConstructor;
108
+ default: string;
109
+ };
110
+ maxTagCount: {
111
+ type: NumberConstructor;
112
+ default: number;
113
+ };
114
+ placeholder: {
115
+ type: StringConstructor;
116
+ default: string;
117
+ };
118
+ allowClear: {
119
+ type: BooleanConstructor;
120
+ default: boolean;
121
+ };
122
+ }>> & {
123
+ onChange?: ((...args: any[]) => any) | undefined;
124
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
125
+ }, {
126
+ options: import("./types").MutilCascaderItem[];
127
+ modelValue: string[];
128
+ optionValueName: string;
129
+ optionLabelName: string;
130
+ maxTagCount: number;
131
+ placeholder: string;
132
+ allowClear: boolean;
133
+ }>>;
134
+ export { BmMultiCascaderCompose };
135
+ export default BmMultiCascaderCompose;
@@ -0,0 +1,135 @@
1
+ import { MutilCascaderItem, CheckedStatus } from '../types';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ options: {
4
+ type: import("vue").PropType<MutilCascaderItem[]>;
5
+ default(): MutilCascaderItem[];
6
+ };
7
+ modelValue: {
8
+ type: import("vue").PropType<string[]>;
9
+ default(): string[];
10
+ };
11
+ optionValueName: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ optionLabelName: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ maxTagCount: {
20
+ type: NumberConstructor;
21
+ default: number;
22
+ };
23
+ placeholder: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ allowClear: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ }, {
32
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
33
+ options: {
34
+ type: import("vue").PropType<MutilCascaderItem[]>;
35
+ default(): MutilCascaderItem[];
36
+ };
37
+ modelValue: {
38
+ type: import("vue").PropType<string[]>;
39
+ default(): string[];
40
+ };
41
+ optionValueName: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ optionLabelName: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ maxTagCount: {
50
+ type: NumberConstructor;
51
+ default: number;
52
+ };
53
+ placeholder: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ };
57
+ allowClear: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ }>> & {
62
+ onChange?: ((...args: any[]) => any) | undefined;
63
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
64
+ }>>;
65
+ emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
66
+ path: import("vue").Ref<{
67
+ [x: string]: any;
68
+ index: number;
69
+ children?: {
70
+ [x: string]: any;
71
+ children?: any[] | undefined;
72
+ }[] | undefined;
73
+ }[]>;
74
+ optionsMap: import("vue").ComputedRef<{
75
+ [key: string]: MutilCascaderItem;
76
+ }>;
77
+ checkedMap: import("vue").ComputedRef<MutilCascaderItem[]>;
78
+ checkedHideCount: import("vue").ComputedRef<number>;
79
+ checkedShowMap: import("vue").ComputedRef<MutilCascaderItem[]>;
80
+ modulersOptions: import("vue").ComputedRef<MutilCascaderItem[]>;
81
+ modulersStatusOptions: import("vue").ComputedRef<CheckedStatus[][]>;
82
+ modulersAllStatusOptions: import("vue").ComputedRef<CheckedStatus[]>;
83
+ handleClick: (option: MutilCascaderItem, level: number, index: number) => void;
84
+ handleClickCheckbox: (option: MutilCascaderItem, level: number, index: number) => void;
85
+ handleToggle: (option: MutilCascaderItem, level: number, index: number) => void;
86
+ handleClickAll: (level: number) => void;
87
+ getAllSonValues: (data: MutilCascaderItem[]) => string[];
88
+ removeItem: (value: string) => void;
89
+ removeAll: () => void;
90
+ CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
91
+ RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
92
+ DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
93
+ CloseCircleFilled: import("@ant-design/icons-vue/lib/icons/CloseCircleFilled").CloseCircleFilledIconType;
94
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
95
+ options: {
96
+ type: import("vue").PropType<MutilCascaderItem[]>;
97
+ default(): MutilCascaderItem[];
98
+ };
99
+ modelValue: {
100
+ type: import("vue").PropType<string[]>;
101
+ default(): string[];
102
+ };
103
+ optionValueName: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ optionLabelName: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ maxTagCount: {
112
+ type: NumberConstructor;
113
+ default: number;
114
+ };
115
+ placeholder: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ allowClear: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ }>> & {
124
+ onChange?: ((...args: any[]) => any) | undefined;
125
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
126
+ }, {
127
+ options: MutilCascaderItem[];
128
+ modelValue: string[];
129
+ optionValueName: string;
130
+ optionLabelName: string;
131
+ maxTagCount: number;
132
+ placeholder: string;
133
+ allowClear: boolean;
134
+ }>;
135
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import type { PropType } from 'vue';
2
+ import { MutilCascaderItem } from '../types';
3
+ export declare const propsConfig: {
4
+ options: {
5
+ type: PropType<MutilCascaderItem[]>;
6
+ default(): MutilCascaderItem[];
7
+ };
8
+ modelValue: {
9
+ type: PropType<string[]>;
10
+ default(): string[];
11
+ };
12
+ optionValueName: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ optionLabelName: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ maxTagCount: {
21
+ type: NumberConstructor;
22
+ default: number;
23
+ };
24
+ placeholder: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ allowClear: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ };
@@ -0,0 +1,10 @@
1
+ export interface MutilCascaderItem extends Record<string, any> {
2
+ children?: MutilCascaderItem[];
3
+ }
4
+ export interface PathItem extends MutilCascaderItem {
5
+ index: number;
6
+ }
7
+ export interface CheckedStatus {
8
+ checked?: boolean;
9
+ indeterminate?: boolean;
10
+ }
@@ -0,0 +1,35 @@
1
+ declare const BmOverTooltips: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<{
2
+ name: string;
3
+ props: {
4
+ title: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ labelTitle: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ line: {
13
+ type: NumberConstructor;
14
+ default: number;
15
+ };
16
+ width: {
17
+ type: (StringConstructor | NumberConstructor)[];
18
+ default: number;
19
+ };
20
+ showAlways: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ };
25
+ setup(props: any, context: any): {
26
+ mySelf: import("vue").Ref<any>;
27
+ handleVisibleChange: (val: any) => void;
28
+ getPopupContainer: () => HTMLElement;
29
+ mSlots: import("vue").Ref<{}>;
30
+ isShow: import("vue").Ref<boolean>;
31
+ openShow: import("vue").Ref<boolean>;
32
+ };
33
+ }>;
34
+ export { BmOverTooltips };
35
+ export default BmOverTooltips;
@@ -0,0 +1,34 @@
1
+ declare const _default: {
2
+ name: string;
3
+ props: {
4
+ title: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ labelTitle: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ line: {
13
+ type: NumberConstructor;
14
+ default: number;
15
+ };
16
+ width: {
17
+ type: (StringConstructor | NumberConstructor)[];
18
+ default: number;
19
+ };
20
+ showAlways: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ };
25
+ setup(props: any, context: any): {
26
+ mySelf: import("vue").Ref<any>;
27
+ handleVisibleChange: (val: any) => void;
28
+ getPopupContainer: () => HTMLElement;
29
+ mSlots: import("vue").Ref<{}>;
30
+ isShow: import("vue").Ref<boolean>;
31
+ openShow: import("vue").Ref<boolean>;
32
+ };
33
+ };
34
+ export default _default;
@@ -114,10 +114,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
114
114
  onReset?: ((...args: any[]) => any) | undefined;
115
115
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
116
116
  }, {
117
+ value: Record<string, any>;
117
118
  showExpandBtn: boolean;
118
119
  userRule: unknown[];
119
120
  labelCol: Record<string, any>;
120
- value: Record<string, any>;
121
121
  ruleSpan: Record<string, any>;
122
122
  }>>;
123
123
  export { BmSearchFilter };
@@ -114,10 +114,10 @@ declare const _default: import("vue").DefineComponent<{
114
114
  onReset?: ((...args: any[]) => any) | undefined;
115
115
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
116
116
  }, {
117
+ value: Record<string, any>;
117
118
  showExpandBtn: boolean;
118
119
  userRule: unknown[];
119
120
  labelCol: Record<string, any>;
120
- value: Record<string, any>;
121
121
  ruleSpan: Record<string, any>;
122
122
  }>;
123
123
  export default _default;
@@ -0,0 +1,99 @@
1
+ declare const BmShopsFilter: import("bm-admin-ui/es/utils/with-install").SFCWithInstall<import("vue").DefineComponent<{
2
+ labelTitle: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ showAlways: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ displayParams: {
11
+ type: ObjectConstructor;
12
+ default: () => {
13
+ width: string;
14
+ labelOffset: string;
15
+ labelWidth: string;
16
+ searchWidth: string;
17
+ listMaxHeight: string;
18
+ };
19
+ };
20
+ loadFilter: {
21
+ type: FunctionConstructor;
22
+ default: () => Promise<never[]>;
23
+ };
24
+ loadData: {
25
+ type: FunctionConstructor;
26
+ default: () => Promise<never>;
27
+ };
28
+ }, {
29
+ triggleActive(): void;
30
+ outSideClick(): void;
31
+ changeFilterSelect(index: any, code: any): void;
32
+ onCheckAllChange(e: any): void;
33
+ checkboxChange(): void;
34
+ invertChange(): void;
35
+ clearAll(): void;
36
+ fetchData(): void;
37
+ clearAllSelected(e: any): void;
38
+ filterIsActive(filterIndex: any, code: any): boolean;
39
+ isActive: import("vue").Ref<boolean>;
40
+ searchVal: import("vue").Ref<string>;
41
+ selected: import("vue").Ref<any[]>;
42
+ shopList: import("vue").Ref<{
43
+ shopCode: string;
44
+ shopName: string;
45
+ }[]>;
46
+ shopListByCode: import("vue").Ref<{}>;
47
+ checkAll: import("vue").Ref<boolean>;
48
+ hasCheck: import("vue").Ref<boolean>;
49
+ inverSelect: import("vue").Ref<boolean>;
50
+ shopCheck: import("vue").Ref<{}>;
51
+ filterSelects: import("vue").Ref<never[]>;
52
+ filterArr: import("vue").Ref<{
53
+ list: {
54
+ code: string;
55
+ label: string;
56
+ }[];
57
+ paramsStr: string;
58
+ label?: string | undefined;
59
+ multiple?: boolean | undefined;
60
+ }[]>;
61
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:selected")[], "change" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
62
+ labelTitle: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ showAlways: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ displayParams: {
71
+ type: ObjectConstructor;
72
+ default: () => {
73
+ width: string;
74
+ labelOffset: string;
75
+ labelWidth: string;
76
+ searchWidth: string;
77
+ listMaxHeight: string;
78
+ };
79
+ };
80
+ loadFilter: {
81
+ type: FunctionConstructor;
82
+ default: () => Promise<never[]>;
83
+ };
84
+ loadData: {
85
+ type: FunctionConstructor;
86
+ default: () => Promise<never>;
87
+ };
88
+ }>> & {
89
+ onChange?: ((...args: any[]) => any) | undefined;
90
+ "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
91
+ }, {
92
+ labelTitle: string;
93
+ showAlways: boolean;
94
+ displayParams: Record<string, any>;
95
+ loadFilter: Function;
96
+ loadData: Function;
97
+ }>>;
98
+ export { BmShopsFilter };
99
+ export default BmShopsFilter;
@@ -0,0 +1,25 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ export declare const shopsFilterProps: {
3
+ labelTitle: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ showAlways: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ displayParams: {
12
+ type: ObjectConstructor;
13
+ default: () => {
14
+ width: string;
15
+ labelOffset: string;
16
+ labelWidth: string;
17
+ searchWidth: string;
18
+ };
19
+ };
20
+ filterArr: {
21
+ type: PromiseConstructor;
22
+ default: () => never[];
23
+ };
24
+ };
25
+ export declare type ShopsFilterProps = ExtractPropTypes<typeof shopsFilterProps>;
@@ -0,0 +1,98 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ labelTitle: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ showAlways: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ displayParams: {
11
+ type: ObjectConstructor;
12
+ default: () => {
13
+ width: string;
14
+ labelOffset: string;
15
+ labelWidth: string;
16
+ searchWidth: string;
17
+ listMaxHeight: string;
18
+ };
19
+ };
20
+ loadFilter: {
21
+ type: FunctionConstructor;
22
+ default: () => Promise<never[]>;
23
+ };
24
+ loadData: {
25
+ type: FunctionConstructor;
26
+ default: () => Promise<never>;
27
+ };
28
+ }, {
29
+ triggleActive(): void;
30
+ outSideClick(): void;
31
+ changeFilterSelect(index: any, code: any): void;
32
+ onCheckAllChange(e: any): void;
33
+ checkboxChange(): void;
34
+ invertChange(): void;
35
+ clearAll(): void;
36
+ fetchData(): void;
37
+ clearAllSelected(e: any): void;
38
+ filterIsActive(filterIndex: any, code: any): boolean;
39
+ isActive: import("vue").Ref<boolean>;
40
+ searchVal: import("vue").Ref<string>;
41
+ selected: import("vue").Ref<any[]>;
42
+ shopList: import("vue").Ref<{
43
+ shopCode: string;
44
+ shopName: string;
45
+ }[]>;
46
+ shopListByCode: import("vue").Ref<{}>;
47
+ checkAll: import("vue").Ref<boolean>;
48
+ hasCheck: import("vue").Ref<boolean>;
49
+ inverSelect: import("vue").Ref<boolean>;
50
+ shopCheck: import("vue").Ref<{}>;
51
+ filterSelects: import("vue").Ref<never[]>;
52
+ filterArr: import("vue").Ref<{
53
+ list: {
54
+ code: string;
55
+ label: string;
56
+ }[];
57
+ paramsStr: string;
58
+ label?: string | undefined;
59
+ multiple?: boolean | undefined;
60
+ }[]>;
61
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:selected")[], "change" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
62
+ labelTitle: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ };
66
+ showAlways: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ displayParams: {
71
+ type: ObjectConstructor;
72
+ default: () => {
73
+ width: string;
74
+ labelOffset: string;
75
+ labelWidth: string;
76
+ searchWidth: string;
77
+ listMaxHeight: string;
78
+ };
79
+ };
80
+ loadFilter: {
81
+ type: FunctionConstructor;
82
+ default: () => Promise<never[]>;
83
+ };
84
+ loadData: {
85
+ type: FunctionConstructor;
86
+ default: () => Promise<never>;
87
+ };
88
+ }>> & {
89
+ onChange?: ((...args: any[]) => any) | undefined;
90
+ "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
91
+ }, {
92
+ labelTitle: string;
93
+ showAlways: boolean;
94
+ displayParams: Record<string, any>;
95
+ loadFilter: Function;
96
+ loadData: Function;
97
+ }>;
98
+ export default _default;