@pusdn/pgz-comp-elep 0.2.13 → 0.2.14

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 (118) hide show
  1. package/lib/adaptive-page/index.d.ts +17096 -0
  2. package/lib/adaptive-page/src/index.vue.d.ts +5731 -0
  3. package/lib/adaptive-page/src/type.d.ts +9 -0
  4. package/lib/button/index.d.ts +134 -0
  5. package/lib/button/src/index.vue.d.ts +67 -0
  6. package/lib/button/src/type.d.ts +10 -0
  7. package/lib/chart/index.d.ts +164 -0
  8. package/lib/chart/src/index.vue.d.ts +77 -0
  9. package/lib/chart/src/type.d.ts +7 -0
  10. package/lib/checkbox/index.d.ts +206 -0
  11. package/lib/checkbox/src/checkbox.d.ts +5 -0
  12. package/lib/checkbox/src/index.vue.d.ts +91 -0
  13. package/lib/components.d.ts +57 -0
  14. package/lib/date-picker/index.d.ts +170 -0
  15. package/lib/date-picker/src/index.vue.d.ts +77 -0
  16. package/lib/date-picker/src/type.d.ts +10 -0
  17. package/lib/detail/index.d.ts +182 -0
  18. package/lib/detail/src/index.vue.d.ts +88 -0
  19. package/lib/detail/src/renderLabel.vue.d.ts +8 -0
  20. package/lib/detail/src/renderTooltip.vue.d.ts +8 -0
  21. package/lib/detail/src/type.d.ts +27 -0
  22. package/lib/favicon.ico +0 -0
  23. package/lib/form/index.d.ts +308 -0
  24. package/lib/form/src/index.vue.d.ts +125 -0
  25. package/lib/form/src/renderBtn.vue.d.ts +8 -0
  26. package/lib/form/src/renderComp.vue.d.ts +8 -0
  27. package/lib/form/src/type.d.ts +26 -0
  28. package/lib/index.d.ts +42 -0
  29. package/lib/input/index.d.ts +215 -0
  30. package/lib/input/src/index.vue.d.ts +109 -0
  31. package/lib/input/src/type.d.ts +13 -0
  32. package/lib/layout-page/index.d.ts +114 -0
  33. package/lib/layout-page/src/index.vue.d.ts +62 -0
  34. package/lib/layout-page-item/index.d.ts +35 -0
  35. package/lib/layout-page-item/src/index.vue.d.ts +14 -0
  36. package/lib/module-form/index.d.ts +530 -0
  37. package/lib/module-form/src/index.vue.d.ts +243 -0
  38. package/lib/module-form/src/moduleDetail.vue.d.ts +30 -0
  39. package/lib/module-form/src/moduleForm.vue.d.ts +36 -0
  40. package/lib/module-form/src/type.d.ts +19 -0
  41. package/lib/pgz-checkbox/index.d.ts +149 -0
  42. package/lib/pgz-checkbox/src/index.vue.d.ts +65 -0
  43. package/lib/pgz-checkbox/src/type.d.ts +12 -0
  44. package/lib/pgz-comp-elep.es.js +39723 -0
  45. package/lib/pgz-comp-elep.es.js.gz +0 -0
  46. package/lib/pgz-comp-elep.umd.js +261 -0
  47. package/lib/pgz-comp-elep.umd.js.gz +0 -0
  48. package/lib/pgz-html-preview-modal/index.d.ts +77 -0
  49. package/lib/pgz-html-preview-modal/src/index.vue.d.ts +22 -0
  50. package/lib/pgz-html-preview-modal/src/type.d.ts +7 -0
  51. package/lib/pgz-search-select/index.d.ts +5 -0
  52. package/lib/pgz-search-select/src/index.vue.d.ts +194 -0
  53. package/lib/pgz-search-select/src/type.d.ts +16 -0
  54. package/lib/pgz-tdt-mark/index.d.ts +407 -0
  55. package/lib/pgz-tdt-mark/src/env.d.ts +7 -0
  56. package/lib/pgz-tdt-mark/src/index.vue.d.ts +167 -0
  57. package/lib/pgz-tdt-mark/src/props.d.ts +63 -0
  58. package/lib/pgz-tdt-mark/src/types/index.d.ts +1 -0
  59. package/lib/pgz-tdt-mark/src/types/tdt.d.ts +88 -0
  60. package/lib/pgz-tdt-ploygon/index.d.ts +401 -0
  61. package/lib/pgz-tdt-ploygon/src/env.d.ts +7 -0
  62. package/lib/pgz-tdt-ploygon/src/index.vue.d.ts +164 -0
  63. package/lib/pgz-tdt-ploygon/src/props.d.ts +35 -0
  64. package/lib/pgz-tdt-ploygon/src/tmp-fix.d.ts +10 -0
  65. package/lib/pgz-tdt-ploygon/src/types/index.d.ts +1 -0
  66. package/lib/pgz-tdt-ploygon/src/types/tdt.d.ts +120 -0
  67. package/lib/pgz-tdt-ploygon/src/types.d.ts +27 -0
  68. package/lib/pgz-video-xg-modal/index.d.ts +181 -0
  69. package/lib/pgz-video-xg-modal/src/env.d.ts +7 -0
  70. package/lib/pgz-video-xg-modal/src/index.vue.d.ts +73 -0
  71. package/lib/pgz-video-xg-modal/src/types/xgplayer.d.ts +59 -0
  72. package/lib/query-condition/index.d.ts +701 -0
  73. package/lib/query-condition/src/index.vue.d.ts +326 -0
  74. package/lib/query-condition/src/moreChoose.vue.d.ts +37 -0
  75. package/lib/query-condition/src/renderComp.vue.d.ts +8 -0
  76. package/lib/query-condition/src/type.d.ts +21 -0
  77. package/lib/query-condition/src/useComputed.d.ts +27 -0
  78. package/lib/radio/index.d.ts +206 -0
  79. package/lib/radio/src/index.vue.d.ts +91 -0
  80. package/lib/radio/src/radio.d.ts +12 -0
  81. package/lib/select/index.d.ts +371 -0
  82. package/lib/select/src/index.vue.d.ts +200 -0
  83. package/lib/select/src/type.d.ts +42 -0
  84. package/lib/select-icon/index.d.ts +174 -0
  85. package/lib/select-icon/src/index.vue.d.ts +89 -0
  86. package/lib/select-table/index.d.ts +2165 -0
  87. package/lib/select-table/src/index.vue.d.ts +963 -0
  88. package/lib/select-table/src/renderCol.vue.d.ts +20 -0
  89. package/lib/select-table/src/type.d.ts +56 -0
  90. package/lib/select-table/src/useVirtualized.d.ts +11 -0
  91. package/lib/step-wizard/index.d.ts +146 -0
  92. package/lib/step-wizard/src/index.vue.d.ts +71 -0
  93. package/lib/step-wizard/src/type.d.ts +25 -0
  94. package/lib/style.css +1 -0
  95. package/lib/style.css.gz +0 -0
  96. package/lib/table/index.d.ts +2540 -0
  97. package/lib/table/src/ColumnSet.vue.d.ts +148 -0
  98. package/lib/table/src/TTableColumn.vue.d.ts +173 -0
  99. package/lib/table/src/index.vue.d.ts +941 -0
  100. package/lib/table/src/operator.vue.d.ts +80 -0
  101. package/lib/table/src/renderCol.vue.d.ts +20 -0
  102. package/lib/table/src/renderHeader.vue.d.ts +16 -0
  103. package/lib/table/src/singleEdit.vue.d.ts +122 -0
  104. package/lib/table/src/singleEditCell.vue.d.ts +120 -0
  105. package/lib/table/src/tableProps.d.ts +100 -0
  106. package/lib/table/src/useExpose.d.ts +16 -0
  107. package/lib/table/src/useVirtualized.d.ts +9 -0
  108. package/lib/tabs/index.d.ts +69 -0
  109. package/lib/tabs/src/index.vue.d.ts +34 -0
  110. package/lib/timer-btn/index.d.ts +92 -0
  111. package/lib/timer-btn/src/index.vue.d.ts +43 -0
  112. package/lib/utils/directives/click-outside/index.d.ts +3 -0
  113. package/lib/utils/http/api.d.ts +76 -0
  114. package/lib/utils/http/index.d.ts +79 -0
  115. package/lib/utils/http/types.d.ts +13 -0
  116. package/lib/utils/index.d.ts +40 -0
  117. package/lib/withInstall.d.ts +4 -0
  118. package/package.json +1 -1
@@ -0,0 +1,243 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ handleType: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ default: string;
6
+ };
7
+ isShowHeader: {
8
+ type: BooleanConstructor;
9
+ required: false;
10
+ default: boolean;
11
+ };
12
+ titleSlot: {
13
+ type: BooleanConstructor;
14
+ required: false;
15
+ default: boolean;
16
+ };
17
+ isShowBack: {
18
+ type: BooleanConstructor;
19
+ required: false;
20
+ default: boolean;
21
+ };
22
+ isGoBackEvent: {
23
+ type: BooleanConstructor;
24
+ required: false;
25
+ default: boolean;
26
+ };
27
+ btnSaveBind: {
28
+ type: ObjectConstructor;
29
+ required: false;
30
+ default: () => {};
31
+ };
32
+ btnCancelBind: {
33
+ type: ObjectConstructor;
34
+ required: false;
35
+ default: () => {};
36
+ };
37
+ isTabMargin: {
38
+ type: BooleanConstructor;
39
+ required: false;
40
+ default: boolean;
41
+ };
42
+ tabMarginNum: {
43
+ type: NumberConstructor;
44
+ required: false;
45
+ default: number;
46
+ };
47
+ footer: {
48
+ type: null;
49
+ required: false;
50
+ };
51
+ title: {
52
+ type: StringConstructor;
53
+ required: false;
54
+ default: string;
55
+ };
56
+ subTitle: {
57
+ type: StringConstructor;
58
+ required: false;
59
+ default: string;
60
+ };
61
+ tabs: {
62
+ type: ArrayConstructor;
63
+ required: false;
64
+ default: () => never[];
65
+ };
66
+ submit: {
67
+ type: FunctionConstructor;
68
+ required: false;
69
+ default: () => Promise<boolean>;
70
+ };
71
+ }>, {
72
+ props: any;
73
+ attrs: any;
74
+ slots: Readonly<{
75
+ [name: string]: import("vue").Slot<any> | undefined;
76
+ }>;
77
+ activeName: import("vue").Ref<any, any>;
78
+ loading: import("vue").Ref<boolean, boolean>;
79
+ saveAttrs: import("vue").ComputedRef<any>;
80
+ cancelAttrs: import("vue").ComputedRef<any>;
81
+ tForm: any;
82
+ emits: (event: "validateError" | "back" | "tabsChange", ...args: any[]) => void;
83
+ saveHandle: () => Promise<void>;
84
+ back: () => void;
85
+ setSelectedTab: (key: any) => void;
86
+ tabsChange: (tab: any) => void;
87
+ resetFormFields: () => void;
88
+ clearValidate: () => void;
89
+ updateFormFields: () => void;
90
+ ModuleDetail: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
91
+ descData: {
92
+ type: ObjectConstructor;
93
+ default: () => {};
94
+ };
95
+ titleBold: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ }>, {
100
+ props: any;
101
+ slots: Readonly<{
102
+ [name: string]: import("vue").Slot<any> | undefined;
103
+ }>;
104
+ attrs: any;
105
+ defaultActiveKey: import("vue").WritableComputedRef<string[], string[]>;
106
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
107
+ descData: {
108
+ type: ObjectConstructor;
109
+ default: () => {};
110
+ };
111
+ titleBold: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ }>> & Readonly<{}>, {
116
+ descData: Record<string, any>;
117
+ titleBold: boolean;
118
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
119
+ ModuleForm: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
120
+ formOpts: {
121
+ type: ObjectConstructor;
122
+ default: () => {};
123
+ };
124
+ titleBold: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ }>, {
129
+ props: any;
130
+ dashboardRef: any;
131
+ slots: Readonly<{
132
+ [name: string]: import("vue").Slot<any> | undefined;
133
+ }>;
134
+ attrs: any;
135
+ getChildRef: (index: string | number) => any;
136
+ defaultActiveKey: import("vue").WritableComputedRef<string[], string[]>;
137
+ emits: (event: "handleEvent", ...args: any[]) => void;
138
+ handleEvent: (val: any, type: any) => void;
139
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handleEvent"[], "handleEvent", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
140
+ formOpts: {
141
+ type: ObjectConstructor;
142
+ default: () => {};
143
+ };
144
+ titleBold: {
145
+ type: BooleanConstructor;
146
+ default: boolean;
147
+ };
148
+ }>> & Readonly<{
149
+ onHandleEvent?: ((...args: any[]) => any) | undefined;
150
+ }>, {
151
+ formOpts: Record<string, any>;
152
+ titleBold: boolean;
153
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
154
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("validateError" | "back" | "tabsChange")[], "validateError" | "back" | "tabsChange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
155
+ handleType: {
156
+ type: StringConstructor;
157
+ required: false;
158
+ default: string;
159
+ };
160
+ isShowHeader: {
161
+ type: BooleanConstructor;
162
+ required: false;
163
+ default: boolean;
164
+ };
165
+ titleSlot: {
166
+ type: BooleanConstructor;
167
+ required: false;
168
+ default: boolean;
169
+ };
170
+ isShowBack: {
171
+ type: BooleanConstructor;
172
+ required: false;
173
+ default: boolean;
174
+ };
175
+ isGoBackEvent: {
176
+ type: BooleanConstructor;
177
+ required: false;
178
+ default: boolean;
179
+ };
180
+ btnSaveBind: {
181
+ type: ObjectConstructor;
182
+ required: false;
183
+ default: () => {};
184
+ };
185
+ btnCancelBind: {
186
+ type: ObjectConstructor;
187
+ required: false;
188
+ default: () => {};
189
+ };
190
+ isTabMargin: {
191
+ type: BooleanConstructor;
192
+ required: false;
193
+ default: boolean;
194
+ };
195
+ tabMarginNum: {
196
+ type: NumberConstructor;
197
+ required: false;
198
+ default: number;
199
+ };
200
+ footer: {
201
+ type: null;
202
+ required: false;
203
+ };
204
+ title: {
205
+ type: StringConstructor;
206
+ required: false;
207
+ default: string;
208
+ };
209
+ subTitle: {
210
+ type: StringConstructor;
211
+ required: false;
212
+ default: string;
213
+ };
214
+ tabs: {
215
+ type: ArrayConstructor;
216
+ required: false;
217
+ default: () => never[];
218
+ };
219
+ submit: {
220
+ type: FunctionConstructor;
221
+ required: false;
222
+ default: () => Promise<boolean>;
223
+ };
224
+ }>> & Readonly<{
225
+ onValidateError?: ((...args: any[]) => any) | undefined;
226
+ onBack?: ((...args: any[]) => any) | undefined;
227
+ onTabsChange?: ((...args: any[]) => any) | undefined;
228
+ }>, {
229
+ submit: Function;
230
+ title: string;
231
+ handleType: string;
232
+ isShowHeader: boolean;
233
+ titleSlot: boolean;
234
+ isShowBack: boolean;
235
+ isGoBackEvent: boolean;
236
+ btnSaveBind: Record<string, any>;
237
+ btnCancelBind: Record<string, any>;
238
+ isTabMargin: boolean;
239
+ tabMarginNum: number;
240
+ subTitle: string;
241
+ tabs: unknown[];
242
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
243
+ export default _sfc_main;
@@ -0,0 +1,30 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ descData: {
3
+ type: ObjectConstructor;
4
+ default: () => {};
5
+ };
6
+ titleBold: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ }>, {
11
+ props: any;
12
+ slots: Readonly<{
13
+ [name: string]: import("vue").Slot<any> | undefined;
14
+ }>;
15
+ attrs: any;
16
+ defaultActiveKey: import("vue").WritableComputedRef<string[], string[]>;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ descData: {
19
+ type: ObjectConstructor;
20
+ default: () => {};
21
+ };
22
+ titleBold: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ }>> & Readonly<{}>, {
27
+ descData: Record<string, any>;
28
+ titleBold: boolean;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
30
+ export default _sfc_main;
@@ -0,0 +1,36 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ formOpts: {
3
+ type: ObjectConstructor;
4
+ default: () => {};
5
+ };
6
+ titleBold: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ }>, {
11
+ props: any;
12
+ dashboardRef: any;
13
+ slots: Readonly<{
14
+ [name: string]: import("vue").Slot<any> | undefined;
15
+ }>;
16
+ attrs: any;
17
+ getChildRef: (index: string | number) => any;
18
+ defaultActiveKey: import("vue").WritableComputedRef<string[], string[]>;
19
+ emits: (event: "handleEvent", ...args: any[]) => void;
20
+ handleEvent: (val: any, type: any) => void;
21
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handleEvent"[], "handleEvent", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ formOpts: {
23
+ type: ObjectConstructor;
24
+ default: () => {};
25
+ };
26
+ titleBold: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>> & Readonly<{
31
+ onHandleEvent?: ((...args: any[]) => any) | undefined;
32
+ }>, {
33
+ formOpts: Record<string, any>;
34
+ titleBold: boolean;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
+ export default _sfc_main;
@@ -0,0 +1,19 @@
1
+ export interface TModuleFormProps {
2
+ handleType?: "edit" | "desc";
3
+ isShowHeader?: boolean;
4
+ titleSlot?: boolean;
5
+ isShowBack?: boolean;
6
+ isGoBackEvent?: boolean;
7
+ btnSaveBind?: Record<string, any>;
8
+ btnCancelBind?: Record<string, any>;
9
+ isTabMargin?: boolean;
10
+ tabMarginNum?: number;
11
+ footer?: any;
12
+ title?: string;
13
+ subTitle?: string;
14
+ tabs?: Array<{
15
+ key: string;
16
+ title: string;
17
+ }>;
18
+ submit?: (form: Record<string, any>) => Promise<boolean>;
19
+ }
@@ -0,0 +1,149 @@
1
+ import PCheckbox from "./src/index.vue";
2
+ export type PgzCheckboxInstance = InstanceType<typeof PCheckbox>;
3
+ declare const PgzCheckbox: ({
4
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
+ value: {
6
+ type: import("vue").PropType<string | number>;
7
+ default: undefined;
8
+ };
9
+ dictCode: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ useDicColor: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ options: {
18
+ type: import("vue").PropType<import("./src/type").DictOption[]>;
19
+ default: () => never[];
20
+ };
21
+ }>> & Readonly<{
22
+ onChange?: ((...args: any[]) => any) | undefined;
23
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
24
+ }>, {
25
+ props: any;
26
+ emit: (event: "change" | "update:value", ...args: any[]) => void;
27
+ checkOptions: import("vue").Ref<{
28
+ [x: string]: any;
29
+ value: string | number;
30
+ label: string;
31
+ color?: string | undefined;
32
+ }[], import("./src/type").DictOption[] | {
33
+ [x: string]: any;
34
+ value: string | number;
35
+ label: string;
36
+ color?: string | undefined;
37
+ }[]>;
38
+ checkboxArray: import("vue").Ref<(string | number)[], (string | number)[]>;
39
+ loadDictOptions: () => Promise<void>;
40
+ initOptions: () => Promise<void>;
41
+ handleChange: (checkedValues: (string | number)[]) => void;
42
+ getDicColor: (value: string | number) => string | null;
43
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value")[], import("vue").PublicProps, {
44
+ value: string | number;
45
+ options: import("./src/type").DictOption[];
46
+ dictCode: string;
47
+ useDicColor: boolean;
48
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
49
+ P: {};
50
+ B: {};
51
+ D: {};
52
+ C: {};
53
+ M: {};
54
+ Defaults: {};
55
+ }, Readonly<import("vue").ExtractPropTypes<{
56
+ value: {
57
+ type: import("vue").PropType<string | number>;
58
+ default: undefined;
59
+ };
60
+ dictCode: {
61
+ type: StringConstructor;
62
+ default: string;
63
+ };
64
+ useDicColor: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ options: {
69
+ type: import("vue").PropType<import("./src/type").DictOption[]>;
70
+ default: () => never[];
71
+ };
72
+ }>> & Readonly<{
73
+ onChange?: ((...args: any[]) => any) | undefined;
74
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
75
+ }>, {
76
+ props: any;
77
+ emit: (event: "change" | "update:value", ...args: any[]) => void;
78
+ checkOptions: import("vue").Ref<{
79
+ [x: string]: any;
80
+ value: string | number;
81
+ label: string;
82
+ color?: string | undefined;
83
+ }[], import("./src/type").DictOption[] | {
84
+ [x: string]: any;
85
+ value: string | number;
86
+ label: string;
87
+ color?: string | undefined;
88
+ }[]>;
89
+ checkboxArray: import("vue").Ref<(string | number)[], (string | number)[]>;
90
+ loadDictOptions: () => Promise<void>;
91
+ initOptions: () => Promise<void>;
92
+ handleChange: (checkedValues: (string | number)[]) => void;
93
+ getDicColor: (value: string | number) => string | null;
94
+ }, {}, {}, {}, {
95
+ value: string | number;
96
+ options: import("./src/type").DictOption[];
97
+ dictCode: string;
98
+ useDicColor: boolean;
99
+ }>;
100
+ __isFragment?: undefined;
101
+ __isTeleport?: undefined;
102
+ __isSuspense?: undefined;
103
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
104
+ value: {
105
+ type: import("vue").PropType<string | number>;
106
+ default: undefined;
107
+ };
108
+ dictCode: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ useDicColor: {
113
+ type: BooleanConstructor;
114
+ default: boolean;
115
+ };
116
+ options: {
117
+ type: import("vue").PropType<import("./src/type").DictOption[]>;
118
+ default: () => never[];
119
+ };
120
+ }>> & Readonly<{
121
+ onChange?: ((...args: any[]) => any) | undefined;
122
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
123
+ }>, {
124
+ props: any;
125
+ emit: (event: "change" | "update:value", ...args: any[]) => void;
126
+ checkOptions: import("vue").Ref<{
127
+ [x: string]: any;
128
+ value: string | number;
129
+ label: string;
130
+ color?: string | undefined;
131
+ }[], import("./src/type").DictOption[] | {
132
+ [x: string]: any;
133
+ value: string | number;
134
+ label: string;
135
+ color?: string | undefined;
136
+ }[]>;
137
+ checkboxArray: import("vue").Ref<(string | number)[], (string | number)[]>;
138
+ loadDictOptions: () => Promise<void>;
139
+ initOptions: () => Promise<void>;
140
+ handleChange: (checkedValues: (string | number)[]) => void;
141
+ getDicColor: (value: string | number) => string | null;
142
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", {
143
+ value: string | number;
144
+ options: import("./src/type").DictOption[];
145
+ dictCode: string;
146
+ useDicColor: boolean;
147
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>) & Record<string, any>;
148
+ export default PgzCheckbox;
149
+ export * from './src/type';
@@ -0,0 +1,65 @@
1
+ import type { PropType } from 'vue';
2
+ import { DictOption } from './type';
3
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ value: {
5
+ type: PropType<string | number>;
6
+ default: undefined;
7
+ };
8
+ dictCode: {
9
+ type: StringConstructor;
10
+ default: string;
11
+ };
12
+ useDicColor: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ options: {
17
+ type: PropType<DictOption[]>;
18
+ default: () => never[];
19
+ };
20
+ }>, {
21
+ props: any;
22
+ emit: (event: "change" | "update:value", ...args: any[]) => void;
23
+ checkOptions: import("vue").Ref<{
24
+ [x: string]: any;
25
+ value: string | number;
26
+ label: string;
27
+ color?: string | undefined;
28
+ }[], DictOption[] | {
29
+ [x: string]: any;
30
+ value: string | number;
31
+ label: string;
32
+ color?: string | undefined;
33
+ }[]>;
34
+ checkboxArray: import("vue").Ref<(string | number)[], (string | number)[]>;
35
+ loadDictOptions: () => Promise<void>;
36
+ initOptions: () => Promise<void>;
37
+ handleChange: (checkedValues: (string | number)[]) => void;
38
+ getDicColor: (value: string | number) => string | null;
39
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
+ value: {
41
+ type: PropType<string | number>;
42
+ default: undefined;
43
+ };
44
+ dictCode: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ useDicColor: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ options: {
53
+ type: PropType<DictOption[]>;
54
+ default: () => never[];
55
+ };
56
+ }>> & Readonly<{
57
+ onChange?: ((...args: any[]) => any) | undefined;
58
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
59
+ }>, {
60
+ value: string | number;
61
+ options: DictOption[];
62
+ dictCode: string;
63
+ useDicColor: boolean;
64
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
65
+ export default _sfc_main;
@@ -0,0 +1,12 @@
1
+ export interface PgzCheckboxProps {
2
+ value: string | number | undefined;
3
+ dictCode?: string;
4
+ useDicColor?: boolean;
5
+ options?: Array<DictOption>;
6
+ }
7
+ export interface DictOption {
8
+ value: string | number;
9
+ label: string;
10
+ color?: string;
11
+ [key: string]: any;
12
+ }