@qynpm/ui 1.0.24 → 1.0.25

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 (96) hide show
  1. package/README.md +229 -229
  2. package/dist/index.cjs +11 -11
  3. package/dist/index.mjs +11 -11
  4. package/dist/qy-action-bar/index.cjs +1 -1
  5. package/dist/qy-action-bar/index.mjs +1 -1
  6. package/dist/qy-checkbox/index.cjs +1 -1
  7. package/dist/qy-checkbox/index.mjs +1 -1
  8. package/dist/qy-checkbox-group/index.cjs +1 -1
  9. package/dist/qy-checkbox-group/index.mjs +1 -1
  10. package/dist/qy-dialog/index.cjs +1 -1
  11. package/dist/qy-dialog/index.mjs +1 -1
  12. package/dist/qy-file-picker/index.cjs +1 -1
  13. package/dist/qy-file-picker/index.mjs +1 -1
  14. package/dist/qy-form-section/index.cjs +1 -1
  15. package/dist/qy-form-section/index.mjs +1 -1
  16. package/dist/qy-image/index.cjs +1 -1
  17. package/dist/qy-image/index.mjs +1 -1
  18. package/dist/qy-image-upload/index.cjs +1 -1
  19. package/dist/qy-image-upload/index.mjs +1 -1
  20. package/dist/qy-input-number/index.cjs +1 -1
  21. package/dist/qy-input-number/index.mjs +4 -3
  22. package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
  23. package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
  24. package/dist/qy-menu-actions/index.cjs +1 -1
  25. package/dist/qy-menu-actions/index.mjs +1 -1
  26. package/dist/qy-money-input/index.cjs +1 -1
  27. package/dist/qy-money-input/index.mjs +1 -1
  28. package/dist/qy-radio/index.cjs +1 -1
  29. package/dist/qy-radio/index.mjs +1 -1
  30. package/dist/qy-radio-group/index.cjs +1 -1
  31. package/dist/qy-radio-group/index.mjs +1 -1
  32. package/dist/qy-record-quote-search/index.cjs +1 -1
  33. package/dist/qy-record-quote-search/index.mjs +1 -1
  34. package/dist/qy-remark-image/index.cjs +1 -1
  35. package/dist/qy-remark-image/index.mjs +1 -1
  36. package/dist/qy-remote-select/index.cjs +1 -1
  37. package/dist/qy-remote-select/index.mjs +1 -1
  38. package/dist/qy-search-input/index.cjs +1 -1
  39. package/dist/qy-search-input/index.mjs +1 -1
  40. package/dist/qy-select/index.cjs +1 -1
  41. package/dist/qy-select/index.mjs +1 -1
  42. package/dist/qy-selection-dialog/index.cjs +1 -1
  43. package/dist/qy-selection-dialog/index.mjs +1 -1
  44. package/dist/qy-switch/index.cjs +1 -1
  45. package/dist/qy-switch/index.mjs +1 -1
  46. package/dist/qy-table-column-settings/index.cjs +1 -1
  47. package/dist/qy-table-column-settings/index.mjs +1 -1
  48. package/dist/qy-tag/index.cjs +1 -1
  49. package/dist/qy-tag/index.mjs +1 -1
  50. package/dist/qy-upload/index.cjs +1 -1
  51. package/dist/qy-upload/index.mjs +1 -1
  52. package/dist/shared/{index-ClmefDi6.cjs → index-528z_q7d.cjs} +1 -1
  53. package/dist/shared/{index-B_mI-37S.cjs → index-9v7CIwzO.cjs} +1 -1
  54. package/dist/shared/{index-DJnmpqCc.mjs → index-B7uyWUhS.mjs} +2 -2
  55. package/dist/shared/{index-BYme5QGm.cjs → index-BTPk2zzq.cjs} +1 -1
  56. package/dist/shared/{index-dEWJKTS-.cjs → index-BcCZMWAj.cjs} +1 -1
  57. package/dist/shared/{index-aiJ7R6G-.cjs → index-C1YwUATr.cjs} +1 -1
  58. package/dist/shared/{index-fBuu4V3A.mjs → index-C6jcSQSF.mjs} +1 -1
  59. package/dist/shared/{index-DixSXWJj.mjs → index-CbCpXtYr.mjs} +5 -5
  60. package/dist/shared/{index-BrV6CR4H.mjs → index-Cl5cuyVG.mjs} +1 -1
  61. package/dist/shared/{index-wIXCDvwC.cjs → index-CuusBxhR.cjs} +1 -1
  62. package/dist/shared/{index-DMGXEAyl.mjs → index-DZroPZ8B.mjs} +8 -8
  63. package/dist/shared/{index-M4vEHYZ_.cjs → index-DmhpD4Cp.cjs} +1 -1
  64. package/dist/shared/{index-8u4DJZwd.mjs → index-DrJuMzr1.mjs} +1 -1
  65. package/dist/shared/{index-CczrP1H7.mjs → index-Du2IqeCI.mjs} +1 -1
  66. package/dist/shared/{index-c7lnX4vT.mjs → index-DvQdcj7u.mjs} +14 -14
  67. package/dist/shared/{index-C8CA7nkO.cjs → index-EGnVOaC9.cjs} +1 -1
  68. package/dist/shared/{index-9WJeVamR.cjs → index-QQkDJv3q.cjs} +1 -1
  69. package/dist/shared/{index-DYohs_aV.mjs → index-R5B1rjXo.mjs} +1 -1
  70. package/dist/shared/{index-BDFscU3G.mjs → index-yf2Ijz_G.mjs} +5 -5
  71. package/dist/shared/{index-CTtAQ1LD.cjs → index-zJN0M-bx.cjs} +1 -1
  72. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-tyM4_aoa.cjs → index.vue_vue_type_script_setup_true_lang-C3F8M9sD.cjs} +1 -1
  73. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DmmW8UUK.mjs → index.vue_vue_type_script_setup_true_lang-CKZHI_y-.mjs} +1 -1
  74. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-BF82tses.cjs → index.vue_vue_type_script_setup_true_lang-CsKjCWIN.cjs} +1 -1
  75. package/dist/shared/{index.vue_vue_type_script_setup_true_lang-BNjoxcAR.mjs → index.vue_vue_type_script_setup_true_lang-N12Nn2uu.mjs} +1 -1
  76. package/index.d.ts +155 -155
  77. package/package.json +1 -1
  78. package/qy-autocomplete/index.d.ts +5 -5
  79. package/qy-checkbox/index.d.ts +45 -45
  80. package/qy-checkbox-group/index.d.ts +48 -48
  81. package/qy-date-picker/index.d.ts +140 -140
  82. package/qy-file-picker/index.d.ts +49 -49
  83. package/qy-image/index.d.ts +28 -28
  84. package/qy-image-preview/index.d.ts +20 -20
  85. package/qy-input/index.d.ts +50 -50
  86. package/qy-input-number/index.d.ts +45 -45
  87. package/qy-menu-actions/index.d.ts +29 -29
  88. package/qy-popover/index.d.ts +63 -63
  89. package/qy-radio/index.d.ts +44 -44
  90. package/qy-radio-group/index.d.ts +60 -60
  91. package/qy-select/index.d.ts +67 -67
  92. package/qy-switch/index.d.ts +46 -46
  93. package/qy-table-column-settings/index.d.ts +18 -18
  94. package/qy-tag/index.d.ts +44 -44
  95. package/qy-tooltip/index.d.ts +54 -54
  96. package/qy-tree-select/index.d.ts +5 -5
package/index.d.ts CHANGED
@@ -1,128 +1,128 @@
1
- import type { App, Plugin } from 'vue'
2
- import type QyFilePickerComponent from './qy-file-picker'
3
- import type QyCheckboxComponent from './qy-checkbox'
4
- import type QyCheckboxGroupComponent from './qy-checkbox-group'
5
- import type QyRadioComponent from './qy-radio'
6
- import type QyRadioGroupComponent from './qy-radio-group'
7
- import type QySelectComponent from './qy-select'
8
- import type QySwitchComponent from './qy-switch'
9
- import type QyTagComponent from './qy-tag'
10
- import type QyTooltipComponent from './qy-tooltip'
11
- import type QyPopoverComponent from './qy-popover'
12
- import type QyInputComponent from './qy-input'
13
- import type QyDatePickerComponent from './qy-date-picker'
14
-
15
- export type {
16
- QyInputNumberClearValue,
17
- QyInputNumberControlsPosition,
18
- QyInputNumberEmits,
19
- QyInputNumberExposed,
20
- QyInputNumberProps,
21
- QyInputNumberSize,
22
- QyInputNumberValue
23
- } from './qy-input-number'
24
-
25
- export type {
26
- QyInputEmits,
27
- QyInputExposed,
28
- QyInputModelValue,
29
- QyInputProps,
30
- QyInputSize,
31
- QyInputTrimMode,
32
- QyInputType,
33
- QyInputValue
34
- } from './qy-input'
35
-
36
- export type {
37
- QyFilePickerExposed,
38
- QyFilePickerEmits,
39
- QyFilePickerInvalidCode,
40
- QyFilePickerInvalidDetail,
41
- QyFilePickerProps
42
- } from './qy-file-picker'
43
- export type {
44
- QyCheckboxEmits,
45
- QyCheckboxProps,
46
- QyCheckboxSize,
47
- QyCheckboxValue
48
- } from './qy-checkbox'
49
- export type {
50
- QyCheckboxGroupEmits,
51
- QyCheckboxGroupOption,
52
- QyCheckboxGroupProps,
53
- QyCheckboxGroupSize
54
- } from './qy-checkbox-group'
55
- export type {
56
- QyRadioEmits,
57
- QyRadioProps,
58
- QyRadioSize,
59
- QyRadioValue
60
- } from './qy-radio'
61
- export type {
62
- QyRadioGroupEmits,
63
- QyRadioGroupExposed,
64
- QyRadioGroupOption,
65
- QyRadioGroupProps,
66
- QyRadioGroupSize,
67
- QyRadioGroupType
68
- } from './qy-radio-group'
69
- export type {
70
- QySelectEmits,
71
- QySelectExposed,
72
- QySelectModelValue,
73
- QySelectObjectValue,
74
- QySelectOption,
75
- QySelectPrimitive,
76
- QySelectProps,
77
- QySelectSize,
78
- QySelectValue
79
- } from './qy-select'
80
- export type {
81
- QySwitchEmits,
82
- QySwitchProps,
83
- QySwitchSize,
84
- QySwitchValue
85
- } from './qy-switch'
86
- export type {
87
- QyTagEffect,
88
- QyTagEmits,
89
- QyTagProps,
90
- QyTagSize,
91
- QyTagTone
92
- } from './qy-tag'
93
- export type {
94
- QyTooltipEffect,
95
- QyTooltipEmits,
96
- QyTooltipPlacement,
97
- QyTooltipProps
98
- } from './qy-tooltip'
99
- export type {
100
- QyPopoverEffect,
101
- QyPopoverEmits,
102
- QyPopoverExposed,
103
- QyPopoverPlacement,
104
- QyPopoverProps,
105
- QyPopoverTrigger
106
- } from './qy-popover'
107
- export type {
108
- QyDatePickerCalendarChangeValue,
109
- QyDatePickerDateCell,
110
- QyDatePickerEmits,
111
- QyDatePickerExposed,
112
- QyDatePickerModelValue,
113
- QyDatePickerPanelDate,
114
- QyDatePickerPanelMode,
115
- QyDatePickerPanelSlotProps,
116
- QyDatePickerPanelView,
117
- QyDatePickerProps,
118
- QyDatePickerRangeValue,
119
- QyDatePickerScalarValue,
120
- QyDatePickerShortcut,
121
- QyDatePickerShortcutValue,
122
- QyDatePickerSize,
123
- QyDatePickerSlots,
124
- QyDatePickerType
125
- } from './qy-date-picker'
1
+ import type { App, Plugin } from 'vue'
2
+ import type QyFilePickerComponent from './qy-file-picker'
3
+ import type QyCheckboxComponent from './qy-checkbox'
4
+ import type QyCheckboxGroupComponent from './qy-checkbox-group'
5
+ import type QyRadioComponent from './qy-radio'
6
+ import type QyRadioGroupComponent from './qy-radio-group'
7
+ import type QySelectComponent from './qy-select'
8
+ import type QySwitchComponent from './qy-switch'
9
+ import type QyTagComponent from './qy-tag'
10
+ import type QyTooltipComponent from './qy-tooltip'
11
+ import type QyPopoverComponent from './qy-popover'
12
+ import type QyInputComponent from './qy-input'
13
+ import type QyDatePickerComponent from './qy-date-picker'
14
+
15
+ export type {
16
+ QyInputNumberClearValue,
17
+ QyInputNumberControlsPosition,
18
+ QyInputNumberEmits,
19
+ QyInputNumberExposed,
20
+ QyInputNumberProps,
21
+ QyInputNumberSize,
22
+ QyInputNumberValue
23
+ } from './qy-input-number'
24
+
25
+ export type {
26
+ QyInputEmits,
27
+ QyInputExposed,
28
+ QyInputModelValue,
29
+ QyInputProps,
30
+ QyInputSize,
31
+ QyInputTrimMode,
32
+ QyInputType,
33
+ QyInputValue
34
+ } from './qy-input'
35
+
36
+ export type {
37
+ QyFilePickerExposed,
38
+ QyFilePickerEmits,
39
+ QyFilePickerInvalidCode,
40
+ QyFilePickerInvalidDetail,
41
+ QyFilePickerProps
42
+ } from './qy-file-picker'
43
+ export type {
44
+ QyCheckboxEmits,
45
+ QyCheckboxProps,
46
+ QyCheckboxSize,
47
+ QyCheckboxValue
48
+ } from './qy-checkbox'
49
+ export type {
50
+ QyCheckboxGroupEmits,
51
+ QyCheckboxGroupOption,
52
+ QyCheckboxGroupProps,
53
+ QyCheckboxGroupSize
54
+ } from './qy-checkbox-group'
55
+ export type {
56
+ QyRadioEmits,
57
+ QyRadioProps,
58
+ QyRadioSize,
59
+ QyRadioValue
60
+ } from './qy-radio'
61
+ export type {
62
+ QyRadioGroupEmits,
63
+ QyRadioGroupExposed,
64
+ QyRadioGroupOption,
65
+ QyRadioGroupProps,
66
+ QyRadioGroupSize,
67
+ QyRadioGroupType
68
+ } from './qy-radio-group'
69
+ export type {
70
+ QySelectEmits,
71
+ QySelectExposed,
72
+ QySelectModelValue,
73
+ QySelectObjectValue,
74
+ QySelectOption,
75
+ QySelectPrimitive,
76
+ QySelectProps,
77
+ QySelectSize,
78
+ QySelectValue
79
+ } from './qy-select'
80
+ export type {
81
+ QySwitchEmits,
82
+ QySwitchProps,
83
+ QySwitchSize,
84
+ QySwitchValue
85
+ } from './qy-switch'
86
+ export type {
87
+ QyTagEffect,
88
+ QyTagEmits,
89
+ QyTagProps,
90
+ QyTagSize,
91
+ QyTagTone
92
+ } from './qy-tag'
93
+ export type {
94
+ QyTooltipEffect,
95
+ QyTooltipEmits,
96
+ QyTooltipPlacement,
97
+ QyTooltipProps
98
+ } from './qy-tooltip'
99
+ export type {
100
+ QyPopoverEffect,
101
+ QyPopoverEmits,
102
+ QyPopoverExposed,
103
+ QyPopoverPlacement,
104
+ QyPopoverProps,
105
+ QyPopoverTrigger
106
+ } from './qy-popover'
107
+ export type {
108
+ QyDatePickerCalendarChangeValue,
109
+ QyDatePickerDateCell,
110
+ QyDatePickerEmits,
111
+ QyDatePickerExposed,
112
+ QyDatePickerModelValue,
113
+ QyDatePickerPanelDate,
114
+ QyDatePickerPanelMode,
115
+ QyDatePickerPanelSlotProps,
116
+ QyDatePickerPanelView,
117
+ QyDatePickerProps,
118
+ QyDatePickerRangeValue,
119
+ QyDatePickerScalarValue,
120
+ QyDatePickerShortcut,
121
+ QyDatePickerShortcutValue,
122
+ QyDatePickerSize,
123
+ QyDatePickerSlots,
124
+ QyDatePickerType
125
+ } from './qy-date-picker'
126
126
 
127
127
  // 根入口类型声明,对应 @qynpm/ui 的命名导出和 app.use(QyUI) 整包注册。
128
128
  export const QyUpload: Plugin
@@ -132,32 +132,32 @@ export const QyImageUpload: Plugin
132
132
  export const QyDialog: Plugin
133
133
  export const QyButton: Plugin
134
134
  export const QyDropdown: Plugin
135
- export const QyInput: typeof QyInputComponent
136
- export { QyInputNumber } from './qy-input-number'
137
- export const QyMoneyInput: Plugin
138
- export const QyDatePicker: typeof QyDatePickerComponent
139
- export const QyCheckbox: typeof QyCheckboxComponent
140
- export const QyCheckboxGroup: typeof QyCheckboxGroupComponent
141
- export const QyRadio: typeof QyRadioComponent
135
+ export const QyInput: typeof QyInputComponent
136
+ export { QyInputNumber } from './qy-input-number'
137
+ export const QyMoneyInput: Plugin
138
+ export const QyDatePicker: typeof QyDatePickerComponent
139
+ export const QyCheckbox: typeof QyCheckboxComponent
140
+ export const QyCheckboxGroup: typeof QyCheckboxGroupComponent
141
+ export const QyRadio: typeof QyRadioComponent
142
142
  export const QyAutocomplete: Plugin
143
143
  export const QyMenuActions: Plugin
144
144
  export const QyTableColumnSettings: Plugin
145
- export const QyRadioGroup: typeof QyRadioGroupComponent
145
+ export const QyRadioGroup: typeof QyRadioGroupComponent
146
146
  export const QyRemoteSelect: Plugin
147
147
  export const QySearchInput: Plugin
148
148
  export const QyRecordQuoteSearch: Plugin
149
- export const QySelect: typeof QySelectComponent
149
+ export const QySelect: typeof QySelectComponent
150
150
  export const QyTreeSelect: Plugin
151
151
  export const QySelectionDialog: Plugin
152
152
  export const QyLegacySelectionDialog: Plugin
153
153
  export const QyFormSection: Plugin
154
- export const QyActionBar: Plugin
155
- export const QyFilePicker: typeof QyFilePickerComponent
156
- export const QySwitch: typeof QySwitchComponent
157
- export const QyTag: typeof QyTagComponent
158
- export const QyTooltip: typeof QyTooltipComponent
159
- export const QyPopover: typeof QyPopoverComponent
160
- export const QyRemarkImage: Plugin
154
+ export const QyActionBar: Plugin
155
+ export const QyFilePicker: typeof QyFilePickerComponent
156
+ export const QySwitch: typeof QySwitchComponent
157
+ export const QyTag: typeof QyTagComponent
158
+ export const QyTooltip: typeof QyTooltipComponent
159
+ export const QyPopover: typeof QyPopoverComponent
160
+ export const QyRemarkImage: Plugin
161
161
  export function parseRemarkText(remarkText: string): {
162
162
  imageUrl: string
163
163
  text: string
@@ -183,12 +183,12 @@ declare const _default: Plugin & {
183
183
  QyButton: typeof QyButton
184
184
  QyDropdown: typeof QyDropdown
185
185
  QyInput: typeof QyInput
186
- QyInputNumber: typeof QyInputNumber
187
- QyMoneyInput: typeof QyMoneyInput
188
- QyDatePicker: typeof QyDatePickerComponent
189
- QyCheckbox: typeof QyCheckbox
190
- QyCheckboxGroup: typeof QyCheckboxGroup
191
- QyRadio: typeof QyRadio
186
+ QyInputNumber: typeof QyInputNumber
187
+ QyMoneyInput: typeof QyMoneyInput
188
+ QyDatePicker: typeof QyDatePickerComponent
189
+ QyCheckbox: typeof QyCheckbox
190
+ QyCheckboxGroup: typeof QyCheckboxGroup
191
+ QyRadio: typeof QyRadio
192
192
  QyAutocomplete: typeof QyAutocomplete
193
193
  QyMenuActions: typeof QyMenuActions
194
194
  QyTableColumnSettings: typeof QyTableColumnSettings
@@ -201,13 +201,13 @@ declare const _default: Plugin & {
201
201
  QySelectionDialog: typeof QySelectionDialog
202
202
  QyLegacySelectionDialog: typeof QyLegacySelectionDialog
203
203
  QyFormSection: typeof QyFormSection
204
- QyActionBar: typeof QyActionBar
205
- QyFilePicker: typeof QyFilePicker
206
- QySwitch: typeof QySwitch
207
- QyTag: typeof QyTag
208
- QyTooltip: typeof QyTooltip
209
- QyPopover: typeof QyPopover
210
- QyRemarkImage: typeof QyRemarkImage
211
- }
204
+ QyActionBar: typeof QyActionBar
205
+ QyFilePicker: typeof QyFilePicker
206
+ QySwitch: typeof QySwitch
207
+ QyTag: typeof QyTag
208
+ QyTooltip: typeof QyTooltip
209
+ QyPopover: typeof QyPopover
210
+ QyRemarkImage: typeof QyRemarkImage
211
+ }
212
212
 
213
213
  export default _default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qynpm/ui",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "起印公共 UI 组件包。",
5
5
  "author": "qy",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
- import type { DefineComponent, Plugin } from 'vue'
2
-
3
- declare const QyAutocomplete: DefineComponent<any, any, any> & Plugin
4
-
5
- export default QyAutocomplete
1
+ import type { DefineComponent, Plugin } from 'vue'
2
+
3
+ declare const QyAutocomplete: DefineComponent<any, any, any> & Plugin
4
+
5
+ export default QyAutocomplete
@@ -1,45 +1,45 @@
1
- import type {
2
- ComponentOptionsMixin,
3
- DefineComponent,
4
- Plugin
5
- } from 'vue'
6
-
7
- export type QyCheckboxValue = boolean | string | number
8
- export type QyCheckboxSize = 'small' | 'default' | 'large'
9
-
10
- export interface QyCheckboxProps {
11
- modelValue?: QyCheckboxValue
12
- value?: QyCheckboxValue
13
- indeterminate?: boolean
14
- disabled?: boolean
15
- size?: QyCheckboxSize
16
- trueValue?: QyCheckboxValue
17
- falseValue?: QyCheckboxValue
18
- name?: string
19
- id?: string
20
- tabindex?: string | number
21
- ariaLabel?: string
22
- ariaControls?: string
23
- }
24
-
25
- export type QyCheckboxEmits = {
26
- 'update:modelValue': (value: QyCheckboxValue) => void
27
- change: (value: QyCheckboxValue) => void
28
- focus: (event: FocusEvent) => void
29
- blur: (event: FocusEvent) => void
30
- }
31
-
32
- declare const QyCheckbox: DefineComponent<
33
- QyCheckboxProps,
34
- {},
35
- {},
36
- {},
37
- {},
38
- ComponentOptionsMixin,
39
- ComponentOptionsMixin,
40
- QyCheckboxEmits
41
- > &
42
- Plugin
43
-
44
- export { QyCheckbox }
45
- export default QyCheckbox
1
+ import type {
2
+ ComponentOptionsMixin,
3
+ DefineComponent,
4
+ Plugin
5
+ } from 'vue'
6
+
7
+ export type QyCheckboxValue = boolean | string | number
8
+ export type QyCheckboxSize = 'small' | 'default' | 'large'
9
+
10
+ export interface QyCheckboxProps {
11
+ modelValue?: QyCheckboxValue
12
+ value?: QyCheckboxValue
13
+ indeterminate?: boolean
14
+ disabled?: boolean
15
+ size?: QyCheckboxSize
16
+ trueValue?: QyCheckboxValue
17
+ falseValue?: QyCheckboxValue
18
+ name?: string
19
+ id?: string
20
+ tabindex?: string | number
21
+ ariaLabel?: string
22
+ ariaControls?: string
23
+ }
24
+
25
+ export type QyCheckboxEmits = {
26
+ 'update:modelValue': (value: QyCheckboxValue) => void
27
+ change: (value: QyCheckboxValue) => void
28
+ focus: (event: FocusEvent) => void
29
+ blur: (event: FocusEvent) => void
30
+ }
31
+
32
+ declare const QyCheckbox: DefineComponent<
33
+ QyCheckboxProps,
34
+ {},
35
+ {},
36
+ {},
37
+ {},
38
+ ComponentOptionsMixin,
39
+ ComponentOptionsMixin,
40
+ QyCheckboxEmits
41
+ > &
42
+ Plugin
43
+
44
+ export { QyCheckbox }
45
+ export default QyCheckbox
@@ -1,48 +1,48 @@
1
- import type {
2
- ComponentOptionsMixin,
3
- DefineComponent,
4
- Plugin
5
- } from 'vue'
6
- import type {
7
- QyCheckboxSize,
8
- QyCheckboxValue
9
- } from '../qy-checkbox'
10
-
11
- export type QyCheckboxGroupSize = QyCheckboxSize
12
-
13
- export interface QyCheckboxGroupOption {
14
- label: string
15
- value: QyCheckboxValue
16
- disabled?: boolean
17
- }
18
-
19
- export interface QyCheckboxGroupProps {
20
- modelValue?: QyCheckboxValue[]
21
- options?: QyCheckboxGroupOption[]
22
- disabled?: boolean
23
- min?: number
24
- max?: number
25
- size?: QyCheckboxGroupSize
26
- ariaLabel?: string
27
- }
28
-
29
- export type QyCheckboxGroupEmits = {
30
- 'update:modelValue': (value: QyCheckboxValue[]) => void
31
- change: (value: QyCheckboxValue[]) => void
32
- }
33
-
34
- declare const QyCheckboxGroup: DefineComponent<
35
- QyCheckboxGroupProps,
36
- {},
37
- {},
38
- {},
39
- {},
40
- ComponentOptionsMixin,
41
- ComponentOptionsMixin,
42
- QyCheckboxGroupEmits
43
- > &
44
- Plugin
45
-
46
- export { QyCheckboxGroup }
47
- export type { QyCheckboxSize, QyCheckboxValue }
48
- export default QyCheckboxGroup
1
+ import type {
2
+ ComponentOptionsMixin,
3
+ DefineComponent,
4
+ Plugin
5
+ } from 'vue'
6
+ import type {
7
+ QyCheckboxSize,
8
+ QyCheckboxValue
9
+ } from '../qy-checkbox'
10
+
11
+ export type QyCheckboxGroupSize = QyCheckboxSize
12
+
13
+ export interface QyCheckboxGroupOption {
14
+ label: string
15
+ value: QyCheckboxValue
16
+ disabled?: boolean
17
+ }
18
+
19
+ export interface QyCheckboxGroupProps {
20
+ modelValue?: QyCheckboxValue[]
21
+ options?: QyCheckboxGroupOption[]
22
+ disabled?: boolean
23
+ min?: number
24
+ max?: number
25
+ size?: QyCheckboxGroupSize
26
+ ariaLabel?: string
27
+ }
28
+
29
+ export type QyCheckboxGroupEmits = {
30
+ 'update:modelValue': (value: QyCheckboxValue[]) => void
31
+ change: (value: QyCheckboxValue[]) => void
32
+ }
33
+
34
+ declare const QyCheckboxGroup: DefineComponent<
35
+ QyCheckboxGroupProps,
36
+ {},
37
+ {},
38
+ {},
39
+ {},
40
+ ComponentOptionsMixin,
41
+ ComponentOptionsMixin,
42
+ QyCheckboxGroupEmits
43
+ > &
44
+ Plugin
45
+
46
+ export { QyCheckboxGroup }
47
+ export type { QyCheckboxSize, QyCheckboxValue }
48
+ export default QyCheckboxGroup