@qynpm/ui 1.0.27 → 1.0.28
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.
- package/README.md +313 -313
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +1 -1
- package/dist/qy-form-section/index.cjs +1 -1
- package/dist/qy-form-section/index.mjs +1 -1
- package/dist/qy-image-upload/index.cjs +1 -1
- package/dist/qy-image-upload/index.mjs +1 -1
- package/dist/qy-input-number/index.cjs +2 -0
- package/dist/qy-input-number/index.mjs +2 -0
- package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
- package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
- package/dist/qy-money-input/index.cjs +1 -1
- package/dist/qy-money-input/index.mjs +1 -1
- package/dist/qy-record-quote-search/index.cjs +1 -1
- package/dist/qy-record-quote-search/index.mjs +1 -1
- package/dist/qy-remark-image/index.cjs +1 -1
- package/dist/qy-remark-image/index.mjs +1 -1
- package/dist/qy-remote-select/index.cjs +1 -1
- package/dist/qy-remote-select/index.mjs +1 -1
- package/dist/qy-search-input/index.cjs +1 -1
- package/dist/qy-search-input/index.mjs +1 -1
- package/dist/qy-select/index.cjs +1 -1
- package/dist/qy-select/index.mjs +1 -1
- package/dist/qy-selection-dialog/index.cjs +1 -1
- package/dist/qy-selection-dialog/index.mjs +1 -1
- package/dist/qy-upload/index.cjs +1 -1
- package/dist/qy-upload/index.mjs +1 -1
- package/dist/shared/{index-CnZNcnTs.cjs → index-B8phg478.cjs} +1 -1
- package/dist/shared/index-BTL45WYB.cjs +1 -0
- package/dist/shared/{index-BbDWedqW.mjs → index-CVoiIRas.mjs} +10 -10
- package/dist/shared/{index-T9Om5Csd.mjs → index-DleLvEzf.mjs} +2 -1
- package/index.d.ts +272 -272
- package/package.json +1 -1
- package/dist/shared/index-ceTTRCGJ.cjs +0 -1
package/index.d.ts
CHANGED
|
@@ -4,33 +4,33 @@ import type QyCheckboxComponent from './qy-checkbox'
|
|
|
4
4
|
import type QyCheckboxGroupComponent from './qy-checkbox-group'
|
|
5
5
|
import type QyRadioComponent from './qy-radio'
|
|
6
6
|
import type QyRadioGroupComponent from './qy-radio-group'
|
|
7
|
-
import type QySelectComponent from './qy-select'
|
|
8
|
-
import type QyTreeSelectComponent from './qy-tree-select'
|
|
9
|
-
import type QySwitchComponent from './qy-switch'
|
|
10
|
-
import type QyTagComponent from './qy-tag'
|
|
11
|
-
import type QyBadgeComponent from './qy-badge'
|
|
12
|
-
import type QyCascaderComponent from './qy-cascader'
|
|
13
|
-
import type QyTooltipComponent from './qy-tooltip'
|
|
14
|
-
import type QyPopoverComponent from './qy-popover'
|
|
15
|
-
import type QySkeletonComponent from './qy-skeleton'
|
|
16
|
-
import type QySkeletonItemComponent from './qy-skeleton-item'
|
|
17
|
-
import type QyTabsComponent from './qy-tabs'
|
|
18
|
-
import type QyTabPaneComponent from './qy-tab-pane'
|
|
19
|
-
import type QyStepsComponent from './qy-steps'
|
|
20
|
-
import type QyStepComponent from './qy-step'
|
|
21
|
-
import type QyDescriptionsComponent from './qy-descriptions'
|
|
22
|
-
import type QyDescriptionsItemComponent from './qy-descriptions-item'
|
|
23
|
-
import type QyCollapseComponent from './qy-collapse'
|
|
24
|
-
import type QyCollapseItemComponent from './qy-collapse-item'
|
|
25
|
-
import type QyLinkComponent from './qy-link'
|
|
26
|
-
import type QyDividerComponent from './qy-divider'
|
|
27
|
-
import type QyEmptyComponent from './qy-empty'
|
|
28
|
-
import type QyAlertComponent from './qy-alert'
|
|
29
|
-
import type QyCardComponent from './qy-card'
|
|
30
|
-
import type QyScrollbarComponent from './qy-scrollbar'
|
|
31
|
-
import type QyProgressComponent from './qy-progress'
|
|
32
|
-
import type QyAvatarComponent from './qy-avatar'
|
|
33
|
-
import type QyTreeComponent from './qy-tree'
|
|
7
|
+
import type QySelectComponent from './qy-select'
|
|
8
|
+
import type QyTreeSelectComponent from './qy-tree-select'
|
|
9
|
+
import type QySwitchComponent from './qy-switch'
|
|
10
|
+
import type QyTagComponent from './qy-tag'
|
|
11
|
+
import type QyBadgeComponent from './qy-badge'
|
|
12
|
+
import type QyCascaderComponent from './qy-cascader'
|
|
13
|
+
import type QyTooltipComponent from './qy-tooltip'
|
|
14
|
+
import type QyPopoverComponent from './qy-popover'
|
|
15
|
+
import type QySkeletonComponent from './qy-skeleton'
|
|
16
|
+
import type QySkeletonItemComponent from './qy-skeleton-item'
|
|
17
|
+
import type QyTabsComponent from './qy-tabs'
|
|
18
|
+
import type QyTabPaneComponent from './qy-tab-pane'
|
|
19
|
+
import type QyStepsComponent from './qy-steps'
|
|
20
|
+
import type QyStepComponent from './qy-step'
|
|
21
|
+
import type QyDescriptionsComponent from './qy-descriptions'
|
|
22
|
+
import type QyDescriptionsItemComponent from './qy-descriptions-item'
|
|
23
|
+
import type QyCollapseComponent from './qy-collapse'
|
|
24
|
+
import type QyCollapseItemComponent from './qy-collapse-item'
|
|
25
|
+
import type QyLinkComponent from './qy-link'
|
|
26
|
+
import type QyDividerComponent from './qy-divider'
|
|
27
|
+
import type QyEmptyComponent from './qy-empty'
|
|
28
|
+
import type QyAlertComponent from './qy-alert'
|
|
29
|
+
import type QyCardComponent from './qy-card'
|
|
30
|
+
import type QyScrollbarComponent from './qy-scrollbar'
|
|
31
|
+
import type QyProgressComponent from './qy-progress'
|
|
32
|
+
import type QyAvatarComponent from './qy-avatar'
|
|
33
|
+
import type QyTreeComponent from './qy-tree'
|
|
34
34
|
import type QyInputComponent from './qy-input'
|
|
35
35
|
import type QyDatePickerComponent from './qy-date-picker'
|
|
36
36
|
|
|
@@ -98,218 +98,218 @@ export type {
|
|
|
98
98
|
QySelectProps,
|
|
99
99
|
QySelectSize,
|
|
100
100
|
QySelectValue
|
|
101
|
-
} from './qy-select'
|
|
102
|
-
export type {
|
|
103
|
-
QyTreeSelectEmits,
|
|
104
|
-
QyTreeSelectExposed,
|
|
105
|
-
QyTreeSelectKey,
|
|
106
|
-
QyTreeSelectModelValue,
|
|
107
|
-
QyTreeSelectNodeData,
|
|
108
|
-
QyTreeSelectNodeProps,
|
|
109
|
-
QyTreeSelectNodeSnapshot,
|
|
110
|
-
QyTreeSelectObjectValue,
|
|
111
|
-
QyTreeSelectPrimitive,
|
|
112
|
-
QyTreeSelectProps,
|
|
113
|
-
QyTreeSelectSlots,
|
|
114
|
-
QyTreeSelectTagSnapshot,
|
|
115
|
-
QyTreeSelectValue
|
|
116
|
-
} from './qy-tree-select'
|
|
101
|
+
} from './qy-select'
|
|
102
|
+
export type {
|
|
103
|
+
QyTreeSelectEmits,
|
|
104
|
+
QyTreeSelectExposed,
|
|
105
|
+
QyTreeSelectKey,
|
|
106
|
+
QyTreeSelectModelValue,
|
|
107
|
+
QyTreeSelectNodeData,
|
|
108
|
+
QyTreeSelectNodeProps,
|
|
109
|
+
QyTreeSelectNodeSnapshot,
|
|
110
|
+
QyTreeSelectObjectValue,
|
|
111
|
+
QyTreeSelectPrimitive,
|
|
112
|
+
QyTreeSelectProps,
|
|
113
|
+
QyTreeSelectSlots,
|
|
114
|
+
QyTreeSelectTagSnapshot,
|
|
115
|
+
QyTreeSelectValue
|
|
116
|
+
} from './qy-tree-select'
|
|
117
117
|
export type {
|
|
118
118
|
QySwitchEmits,
|
|
119
119
|
QySwitchProps,
|
|
120
120
|
QySwitchSize,
|
|
121
121
|
QySwitchValue
|
|
122
122
|
} from './qy-switch'
|
|
123
|
-
export type {
|
|
124
|
-
QyTagEffect,
|
|
123
|
+
export type {
|
|
124
|
+
QyTagEffect,
|
|
125
125
|
QyTagEmits,
|
|
126
126
|
QyTagProps,
|
|
127
127
|
QyTagSize,
|
|
128
|
-
QyTagTone
|
|
129
|
-
} from './qy-tag'
|
|
130
|
-
export type {
|
|
131
|
-
QyBadgeAttrs,
|
|
132
|
-
QyBadgeExposes,
|
|
133
|
-
QyBadgeProps,
|
|
134
|
-
QyBadgeSlots,
|
|
135
|
-
QyBadgeType
|
|
136
|
-
} from './qy-badge'
|
|
137
|
-
export type {
|
|
138
|
-
QyCascaderConfig,
|
|
139
|
-
QyCascaderEmits,
|
|
140
|
-
QyCascaderExposes,
|
|
141
|
-
QyCascaderLazyLoad,
|
|
142
|
-
QyCascaderNodePathValue,
|
|
143
|
-
QyCascaderNodeSnapshot,
|
|
144
|
-
QyCascaderNodeValue,
|
|
145
|
-
QyCascaderOption,
|
|
146
|
-
QyCascaderPlacement,
|
|
147
|
-
QyCascaderProps,
|
|
148
|
-
QyCascaderResolve,
|
|
149
|
-
QyCascaderSize,
|
|
150
|
-
QyCascaderSlots,
|
|
151
|
-
QyCascaderTagData,
|
|
152
|
-
QyCascaderValue
|
|
153
|
-
} from './qy-cascader'
|
|
128
|
+
QyTagTone
|
|
129
|
+
} from './qy-tag'
|
|
130
|
+
export type {
|
|
131
|
+
QyBadgeAttrs,
|
|
132
|
+
QyBadgeExposes,
|
|
133
|
+
QyBadgeProps,
|
|
134
|
+
QyBadgeSlots,
|
|
135
|
+
QyBadgeType
|
|
136
|
+
} from './qy-badge'
|
|
137
|
+
export type {
|
|
138
|
+
QyCascaderConfig,
|
|
139
|
+
QyCascaderEmits,
|
|
140
|
+
QyCascaderExposes,
|
|
141
|
+
QyCascaderLazyLoad,
|
|
142
|
+
QyCascaderNodePathValue,
|
|
143
|
+
QyCascaderNodeSnapshot,
|
|
144
|
+
QyCascaderNodeValue,
|
|
145
|
+
QyCascaderOption,
|
|
146
|
+
QyCascaderPlacement,
|
|
147
|
+
QyCascaderProps,
|
|
148
|
+
QyCascaderResolve,
|
|
149
|
+
QyCascaderSize,
|
|
150
|
+
QyCascaderSlots,
|
|
151
|
+
QyCascaderTagData,
|
|
152
|
+
QyCascaderValue
|
|
153
|
+
} from './qy-cascader'
|
|
154
154
|
export type {
|
|
155
155
|
QyTooltipEffect,
|
|
156
156
|
QyTooltipEmits,
|
|
157
157
|
QyTooltipPlacement,
|
|
158
158
|
QyTooltipProps
|
|
159
159
|
} from './qy-tooltip'
|
|
160
|
-
export type {
|
|
161
|
-
QyPopoverEffect,
|
|
160
|
+
export type {
|
|
161
|
+
QyPopoverEffect,
|
|
162
162
|
QyPopoverEmits,
|
|
163
163
|
QyPopoverExposed,
|
|
164
164
|
QyPopoverPlacement,
|
|
165
165
|
QyPopoverProps,
|
|
166
|
-
QyPopoverTrigger
|
|
167
|
-
} from './qy-popover'
|
|
168
|
-
export type {
|
|
169
|
-
QySkeletonAttrs,
|
|
170
|
-
QySkeletonProps,
|
|
171
|
-
QySkeletonSlots,
|
|
172
|
-
QySkeletonThrottle
|
|
173
|
-
} from './qy-skeleton'
|
|
174
|
-
export type {
|
|
175
|
-
QySkeletonItemAttrs,
|
|
176
|
-
QySkeletonItemProps,
|
|
177
|
-
QySkeletonItemVariant
|
|
178
|
-
} from './qy-skeleton-item'
|
|
179
|
-
export type {
|
|
180
|
-
QyTabName,
|
|
181
|
-
QyTabPaneSnapshot,
|
|
182
|
-
QyTabsBeforeLeave,
|
|
183
|
-
QyTabsEmits,
|
|
184
|
-
QyTabsPosition,
|
|
185
|
-
QyTabsProps,
|
|
186
|
-
QyTabsSlots,
|
|
187
|
-
QyTabsType
|
|
188
|
-
} from './qy-tabs'
|
|
189
|
-
export type {
|
|
190
|
-
QyTabPaneProps,
|
|
191
|
-
QyTabPaneSlots
|
|
192
|
-
} from './qy-tab-pane'
|
|
193
|
-
export type {
|
|
194
|
-
QyStepStatus,
|
|
195
|
-
QyStepsAttrs,
|
|
196
|
-
QyStepsDirection,
|
|
197
|
-
QyStepsEmits,
|
|
198
|
-
QyStepsProps,
|
|
199
|
-
QyStepsSlots
|
|
200
|
-
} from './qy-steps'
|
|
201
|
-
export type {
|
|
202
|
-
QyStepAttrs,
|
|
203
|
-
QyStepIcon,
|
|
204
|
-
QyStepProps,
|
|
205
|
-
QyStepSlots
|
|
206
|
-
} from './qy-step'
|
|
207
|
-
export type {
|
|
208
|
-
QyDescriptionsDirection,
|
|
209
|
-
QyDescriptionsEmits,
|
|
210
|
-
QyDescriptionsProps,
|
|
211
|
-
QyDescriptionsSize,
|
|
212
|
-
QyDescriptionsSlots
|
|
213
|
-
} from './qy-descriptions'
|
|
214
|
-
export type {
|
|
215
|
-
QyDescriptionsItemAlign,
|
|
216
|
-
QyDescriptionsItemProps,
|
|
217
|
-
QyDescriptionsItemSlots
|
|
218
|
-
} from './qy-descriptions-item'
|
|
219
|
-
export type {
|
|
220
|
-
QyCollapseActiveName,
|
|
221
|
-
QyCollapseBeforeCollapse,
|
|
222
|
-
QyCollapseEmits,
|
|
223
|
-
QyCollapseExposes,
|
|
224
|
-
QyCollapseIconPosition,
|
|
225
|
-
QyCollapseModelValue,
|
|
226
|
-
QyCollapseProps,
|
|
227
|
-
QyCollapseSlots
|
|
228
|
-
} from './qy-collapse'
|
|
229
|
-
export type {
|
|
230
|
-
QyCollapseItemExposes,
|
|
231
|
-
QyCollapseItemProps,
|
|
232
|
-
QyCollapseItemSlots
|
|
233
|
-
} from './qy-collapse-item'
|
|
234
|
-
export type {
|
|
235
|
-
QyLinkAttrs,
|
|
236
|
-
QyLinkEmits,
|
|
237
|
-
QyLinkProps,
|
|
238
|
-
QyLinkSlots,
|
|
239
|
-
QyLinkType,
|
|
240
|
-
QyLinkUnderline
|
|
241
|
-
} from './qy-link'
|
|
242
|
-
export type {
|
|
243
|
-
QyDividerAttrs,
|
|
244
|
-
QyDividerBorderStyle,
|
|
245
|
-
QyDividerContentPosition,
|
|
246
|
-
QyDividerDirection,
|
|
247
|
-
QyDividerProps,
|
|
248
|
-
QyDividerSlots
|
|
249
|
-
} from './qy-divider'
|
|
250
|
-
export type {
|
|
251
|
-
QyEmptyAttrs,
|
|
252
|
-
QyEmptyProps,
|
|
253
|
-
QyEmptySlots
|
|
254
|
-
} from './qy-empty'
|
|
255
|
-
export type {
|
|
256
|
-
QyAlertAttrs,
|
|
257
|
-
QyAlertEffect,
|
|
258
|
-
QyAlertEmits,
|
|
259
|
-
QyAlertProps,
|
|
260
|
-
QyAlertSlots,
|
|
261
|
-
QyAlertType
|
|
262
|
-
} from './qy-alert'
|
|
263
|
-
export type {
|
|
264
|
-
QyCardAttrs,
|
|
265
|
-
QyCardEmits,
|
|
266
|
-
QyCardProps,
|
|
267
|
-
QyCardShadow,
|
|
268
|
-
QyCardSlots
|
|
269
|
-
} from './qy-card'
|
|
270
|
-
export type {
|
|
271
|
-
QyScrollbarAttrs,
|
|
272
|
-
QyScrollbarDirection,
|
|
273
|
-
QyScrollbarEmits,
|
|
274
|
-
QyScrollbarExposed,
|
|
275
|
-
QyScrollbarProps,
|
|
276
|
-
QyScrollbarScrollPosition,
|
|
277
|
-
QyScrollbarSlots
|
|
278
|
-
} from './qy-scrollbar'
|
|
279
|
-
export type {
|
|
280
|
-
QyProgressAttrs,
|
|
281
|
-
QyProgressColor,
|
|
282
|
-
QyProgressColorFunction,
|
|
283
|
-
QyProgressFormat,
|
|
284
|
-
QyProgressProps,
|
|
285
|
-
QyProgressSlotProps,
|
|
286
|
-
QyProgressSlots,
|
|
287
|
-
QyProgressStatus,
|
|
288
|
-
QyProgressStrokeLinecap,
|
|
289
|
-
QyProgressType
|
|
290
|
-
} from './qy-progress'
|
|
291
|
-
export type {
|
|
292
|
-
QyAvatarAttrs,
|
|
293
|
-
QyAvatarEmits,
|
|
294
|
-
QyAvatarFit,
|
|
295
|
-
QyAvatarIcon,
|
|
296
|
-
QyAvatarProps,
|
|
297
|
-
QyAvatarShape,
|
|
298
|
-
QyAvatarSize,
|
|
299
|
-
QyAvatarSlots
|
|
300
|
-
} from './qy-avatar'
|
|
301
|
-
export type {
|
|
302
|
-
QyTreeCheckedInfo,
|
|
303
|
-
QyTreeDropPosition,
|
|
304
|
-
QyTreeEmits,
|
|
305
|
-
QyTreeKey,
|
|
306
|
-
QyTreeNodeData,
|
|
307
|
-
QyTreeNodeProps,
|
|
308
|
-
QyTreeNodeSnapshot,
|
|
309
|
-
QyTreeProps,
|
|
310
|
-
QyTreeRef,
|
|
311
|
-
QyTreeSlots
|
|
312
|
-
} from './qy-tree'
|
|
166
|
+
QyPopoverTrigger
|
|
167
|
+
} from './qy-popover'
|
|
168
|
+
export type {
|
|
169
|
+
QySkeletonAttrs,
|
|
170
|
+
QySkeletonProps,
|
|
171
|
+
QySkeletonSlots,
|
|
172
|
+
QySkeletonThrottle
|
|
173
|
+
} from './qy-skeleton'
|
|
174
|
+
export type {
|
|
175
|
+
QySkeletonItemAttrs,
|
|
176
|
+
QySkeletonItemProps,
|
|
177
|
+
QySkeletonItemVariant
|
|
178
|
+
} from './qy-skeleton-item'
|
|
179
|
+
export type {
|
|
180
|
+
QyTabName,
|
|
181
|
+
QyTabPaneSnapshot,
|
|
182
|
+
QyTabsBeforeLeave,
|
|
183
|
+
QyTabsEmits,
|
|
184
|
+
QyTabsPosition,
|
|
185
|
+
QyTabsProps,
|
|
186
|
+
QyTabsSlots,
|
|
187
|
+
QyTabsType
|
|
188
|
+
} from './qy-tabs'
|
|
189
|
+
export type {
|
|
190
|
+
QyTabPaneProps,
|
|
191
|
+
QyTabPaneSlots
|
|
192
|
+
} from './qy-tab-pane'
|
|
193
|
+
export type {
|
|
194
|
+
QyStepStatus,
|
|
195
|
+
QyStepsAttrs,
|
|
196
|
+
QyStepsDirection,
|
|
197
|
+
QyStepsEmits,
|
|
198
|
+
QyStepsProps,
|
|
199
|
+
QyStepsSlots
|
|
200
|
+
} from './qy-steps'
|
|
201
|
+
export type {
|
|
202
|
+
QyStepAttrs,
|
|
203
|
+
QyStepIcon,
|
|
204
|
+
QyStepProps,
|
|
205
|
+
QyStepSlots
|
|
206
|
+
} from './qy-step'
|
|
207
|
+
export type {
|
|
208
|
+
QyDescriptionsDirection,
|
|
209
|
+
QyDescriptionsEmits,
|
|
210
|
+
QyDescriptionsProps,
|
|
211
|
+
QyDescriptionsSize,
|
|
212
|
+
QyDescriptionsSlots
|
|
213
|
+
} from './qy-descriptions'
|
|
214
|
+
export type {
|
|
215
|
+
QyDescriptionsItemAlign,
|
|
216
|
+
QyDescriptionsItemProps,
|
|
217
|
+
QyDescriptionsItemSlots
|
|
218
|
+
} from './qy-descriptions-item'
|
|
219
|
+
export type {
|
|
220
|
+
QyCollapseActiveName,
|
|
221
|
+
QyCollapseBeforeCollapse,
|
|
222
|
+
QyCollapseEmits,
|
|
223
|
+
QyCollapseExposes,
|
|
224
|
+
QyCollapseIconPosition,
|
|
225
|
+
QyCollapseModelValue,
|
|
226
|
+
QyCollapseProps,
|
|
227
|
+
QyCollapseSlots
|
|
228
|
+
} from './qy-collapse'
|
|
229
|
+
export type {
|
|
230
|
+
QyCollapseItemExposes,
|
|
231
|
+
QyCollapseItemProps,
|
|
232
|
+
QyCollapseItemSlots
|
|
233
|
+
} from './qy-collapse-item'
|
|
234
|
+
export type {
|
|
235
|
+
QyLinkAttrs,
|
|
236
|
+
QyLinkEmits,
|
|
237
|
+
QyLinkProps,
|
|
238
|
+
QyLinkSlots,
|
|
239
|
+
QyLinkType,
|
|
240
|
+
QyLinkUnderline
|
|
241
|
+
} from './qy-link'
|
|
242
|
+
export type {
|
|
243
|
+
QyDividerAttrs,
|
|
244
|
+
QyDividerBorderStyle,
|
|
245
|
+
QyDividerContentPosition,
|
|
246
|
+
QyDividerDirection,
|
|
247
|
+
QyDividerProps,
|
|
248
|
+
QyDividerSlots
|
|
249
|
+
} from './qy-divider'
|
|
250
|
+
export type {
|
|
251
|
+
QyEmptyAttrs,
|
|
252
|
+
QyEmptyProps,
|
|
253
|
+
QyEmptySlots
|
|
254
|
+
} from './qy-empty'
|
|
255
|
+
export type {
|
|
256
|
+
QyAlertAttrs,
|
|
257
|
+
QyAlertEffect,
|
|
258
|
+
QyAlertEmits,
|
|
259
|
+
QyAlertProps,
|
|
260
|
+
QyAlertSlots,
|
|
261
|
+
QyAlertType
|
|
262
|
+
} from './qy-alert'
|
|
263
|
+
export type {
|
|
264
|
+
QyCardAttrs,
|
|
265
|
+
QyCardEmits,
|
|
266
|
+
QyCardProps,
|
|
267
|
+
QyCardShadow,
|
|
268
|
+
QyCardSlots
|
|
269
|
+
} from './qy-card'
|
|
270
|
+
export type {
|
|
271
|
+
QyScrollbarAttrs,
|
|
272
|
+
QyScrollbarDirection,
|
|
273
|
+
QyScrollbarEmits,
|
|
274
|
+
QyScrollbarExposed,
|
|
275
|
+
QyScrollbarProps,
|
|
276
|
+
QyScrollbarScrollPosition,
|
|
277
|
+
QyScrollbarSlots
|
|
278
|
+
} from './qy-scrollbar'
|
|
279
|
+
export type {
|
|
280
|
+
QyProgressAttrs,
|
|
281
|
+
QyProgressColor,
|
|
282
|
+
QyProgressColorFunction,
|
|
283
|
+
QyProgressFormat,
|
|
284
|
+
QyProgressProps,
|
|
285
|
+
QyProgressSlotProps,
|
|
286
|
+
QyProgressSlots,
|
|
287
|
+
QyProgressStatus,
|
|
288
|
+
QyProgressStrokeLinecap,
|
|
289
|
+
QyProgressType
|
|
290
|
+
} from './qy-progress'
|
|
291
|
+
export type {
|
|
292
|
+
QyAvatarAttrs,
|
|
293
|
+
QyAvatarEmits,
|
|
294
|
+
QyAvatarFit,
|
|
295
|
+
QyAvatarIcon,
|
|
296
|
+
QyAvatarProps,
|
|
297
|
+
QyAvatarShape,
|
|
298
|
+
QyAvatarSize,
|
|
299
|
+
QyAvatarSlots
|
|
300
|
+
} from './qy-avatar'
|
|
301
|
+
export type {
|
|
302
|
+
QyTreeCheckedInfo,
|
|
303
|
+
QyTreeDropPosition,
|
|
304
|
+
QyTreeEmits,
|
|
305
|
+
QyTreeKey,
|
|
306
|
+
QyTreeNodeData,
|
|
307
|
+
QyTreeNodeProps,
|
|
308
|
+
QyTreeNodeSnapshot,
|
|
309
|
+
QyTreeProps,
|
|
310
|
+
QyTreeRef,
|
|
311
|
+
QyTreeSlots
|
|
312
|
+
} from './qy-tree'
|
|
313
313
|
export type {
|
|
314
314
|
QyDatePickerCalendarChangeValue,
|
|
315
315
|
QyDatePickerDateCell,
|
|
@@ -353,38 +353,38 @@ export const QyRemoteSelect: Plugin
|
|
|
353
353
|
export const QySearchInput: Plugin
|
|
354
354
|
export const QyRecordQuoteSearch: Plugin
|
|
355
355
|
export const QySelect: typeof QySelectComponent
|
|
356
|
-
export const QyTreeSelect: typeof QyTreeSelectComponent
|
|
356
|
+
export const QyTreeSelect: typeof QyTreeSelectComponent
|
|
357
357
|
export const QySelectionDialog: Plugin
|
|
358
358
|
export const QyLegacySelectionDialog: Plugin
|
|
359
359
|
export const QyFormSection: Plugin
|
|
360
360
|
export const QyActionBar: Plugin
|
|
361
361
|
export const QyFilePicker: typeof QyFilePickerComponent
|
|
362
362
|
export const QySwitch: typeof QySwitchComponent
|
|
363
|
-
export const QyTag: typeof QyTagComponent
|
|
364
|
-
export const QyBadge: typeof QyBadgeComponent
|
|
365
|
-
export const QyCascader: typeof QyCascaderComponent
|
|
366
|
-
export const QyTooltip: typeof QyTooltipComponent
|
|
367
|
-
export const QyPopover: typeof QyPopoverComponent
|
|
368
|
-
export const QySkeleton: typeof QySkeletonComponent
|
|
369
|
-
export const QySkeletonItem: typeof QySkeletonItemComponent
|
|
370
|
-
export const QyTabs: typeof QyTabsComponent
|
|
371
|
-
export const QyTabPane: typeof QyTabPaneComponent
|
|
372
|
-
export const QySteps: typeof QyStepsComponent
|
|
373
|
-
export const QyStep: typeof QyStepComponent
|
|
374
|
-
export const QyDescriptions: typeof QyDescriptionsComponent
|
|
375
|
-
export const QyDescriptionsItem: typeof QyDescriptionsItemComponent
|
|
376
|
-
export const QyCollapse: typeof QyCollapseComponent
|
|
377
|
-
export const QyCollapseItem: typeof QyCollapseItemComponent
|
|
378
|
-
export const QyLink: typeof QyLinkComponent
|
|
379
|
-
export const QyDivider: typeof QyDividerComponent
|
|
380
|
-
export const QyEmpty: typeof QyEmptyComponent
|
|
381
|
-
export const QyAlert: typeof QyAlertComponent
|
|
382
|
-
export const QyCard: typeof QyCardComponent
|
|
383
|
-
export const QyScrollbar: typeof QyScrollbarComponent
|
|
384
|
-
export const QyProgress: typeof QyProgressComponent
|
|
385
|
-
export const QyAvatar: typeof QyAvatarComponent
|
|
386
|
-
export const QyTree: typeof QyTreeComponent
|
|
387
|
-
export const QyRemarkImage: Plugin
|
|
363
|
+
export const QyTag: typeof QyTagComponent
|
|
364
|
+
export const QyBadge: typeof QyBadgeComponent
|
|
365
|
+
export const QyCascader: typeof QyCascaderComponent
|
|
366
|
+
export const QyTooltip: typeof QyTooltipComponent
|
|
367
|
+
export const QyPopover: typeof QyPopoverComponent
|
|
368
|
+
export const QySkeleton: typeof QySkeletonComponent
|
|
369
|
+
export const QySkeletonItem: typeof QySkeletonItemComponent
|
|
370
|
+
export const QyTabs: typeof QyTabsComponent
|
|
371
|
+
export const QyTabPane: typeof QyTabPaneComponent
|
|
372
|
+
export const QySteps: typeof QyStepsComponent
|
|
373
|
+
export const QyStep: typeof QyStepComponent
|
|
374
|
+
export const QyDescriptions: typeof QyDescriptionsComponent
|
|
375
|
+
export const QyDescriptionsItem: typeof QyDescriptionsItemComponent
|
|
376
|
+
export const QyCollapse: typeof QyCollapseComponent
|
|
377
|
+
export const QyCollapseItem: typeof QyCollapseItemComponent
|
|
378
|
+
export const QyLink: typeof QyLinkComponent
|
|
379
|
+
export const QyDivider: typeof QyDividerComponent
|
|
380
|
+
export const QyEmpty: typeof QyEmptyComponent
|
|
381
|
+
export const QyAlert: typeof QyAlertComponent
|
|
382
|
+
export const QyCard: typeof QyCardComponent
|
|
383
|
+
export const QyScrollbar: typeof QyScrollbarComponent
|
|
384
|
+
export const QyProgress: typeof QyProgressComponent
|
|
385
|
+
export const QyAvatar: typeof QyAvatarComponent
|
|
386
|
+
export const QyTree: typeof QyTreeComponent
|
|
387
|
+
export const QyRemarkImage: Plugin
|
|
388
388
|
export function parseRemarkText(remarkText: string): {
|
|
389
389
|
imageUrl: string
|
|
390
390
|
text: string
|
|
@@ -431,31 +431,31 @@ declare const _default: Plugin & {
|
|
|
431
431
|
QyActionBar: typeof QyActionBar
|
|
432
432
|
QyFilePicker: typeof QyFilePicker
|
|
433
433
|
QySwitch: typeof QySwitch
|
|
434
|
-
QyTag: typeof QyTag
|
|
435
|
-
QyBadge: typeof QyBadgeComponent
|
|
436
|
-
QyCascader: typeof QyCascader
|
|
437
|
-
QyTooltip: typeof QyTooltip
|
|
438
|
-
QyPopover: typeof QyPopover
|
|
439
|
-
QySkeleton: typeof QySkeletonComponent
|
|
440
|
-
QySkeletonItem: typeof QySkeletonItemComponent
|
|
441
|
-
QyTabs: typeof QyTabsComponent
|
|
442
|
-
QyTabPane: typeof QyTabPaneComponent
|
|
443
|
-
QySteps: typeof QyStepsComponent
|
|
444
|
-
QyStep: typeof QyStepComponent
|
|
445
|
-
QyDescriptions: typeof QyDescriptionsComponent
|
|
446
|
-
QyDescriptionsItem: typeof QyDescriptionsItemComponent
|
|
447
|
-
QyCollapse: typeof QyCollapseComponent
|
|
448
|
-
QyCollapseItem: typeof QyCollapseItemComponent
|
|
449
|
-
QyLink: typeof QyLinkComponent
|
|
450
|
-
QyDivider: typeof QyDividerComponent
|
|
451
|
-
QyEmpty: typeof QyEmptyComponent
|
|
452
|
-
QyAlert: typeof QyAlertComponent
|
|
453
|
-
QyCard: typeof QyCardComponent
|
|
454
|
-
QyScrollbar: typeof QyScrollbarComponent
|
|
455
|
-
QyProgress: typeof QyProgressComponent
|
|
456
|
-
QyAvatar: typeof QyAvatarComponent
|
|
457
|
-
QyTree: typeof QyTreeComponent
|
|
458
|
-
QyRemarkImage: typeof QyRemarkImage
|
|
459
|
-
}
|
|
434
|
+
QyTag: typeof QyTag
|
|
435
|
+
QyBadge: typeof QyBadgeComponent
|
|
436
|
+
QyCascader: typeof QyCascader
|
|
437
|
+
QyTooltip: typeof QyTooltip
|
|
438
|
+
QyPopover: typeof QyPopover
|
|
439
|
+
QySkeleton: typeof QySkeletonComponent
|
|
440
|
+
QySkeletonItem: typeof QySkeletonItemComponent
|
|
441
|
+
QyTabs: typeof QyTabsComponent
|
|
442
|
+
QyTabPane: typeof QyTabPaneComponent
|
|
443
|
+
QySteps: typeof QyStepsComponent
|
|
444
|
+
QyStep: typeof QyStepComponent
|
|
445
|
+
QyDescriptions: typeof QyDescriptionsComponent
|
|
446
|
+
QyDescriptionsItem: typeof QyDescriptionsItemComponent
|
|
447
|
+
QyCollapse: typeof QyCollapseComponent
|
|
448
|
+
QyCollapseItem: typeof QyCollapseItemComponent
|
|
449
|
+
QyLink: typeof QyLinkComponent
|
|
450
|
+
QyDivider: typeof QyDividerComponent
|
|
451
|
+
QyEmpty: typeof QyEmptyComponent
|
|
452
|
+
QyAlert: typeof QyAlertComponent
|
|
453
|
+
QyCard: typeof QyCardComponent
|
|
454
|
+
QyScrollbar: typeof QyScrollbarComponent
|
|
455
|
+
QyProgress: typeof QyProgressComponent
|
|
456
|
+
QyAvatar: typeof QyAvatarComponent
|
|
457
|
+
QyTree: typeof QyTreeComponent
|
|
458
|
+
QyRemarkImage: typeof QyRemarkImage
|
|
459
|
+
}
|
|
460
460
|
|
|
461
461
|
export default _default
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),h=require("element-plus"),L=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),U=t.defineComponent({name:"QySelect",inheritAttrs:!1,__name:"index",props:{modelValue:{type:[String,Number,Boolean,Object,Array,null],default:void 0},options:{default:()=>[]},labelKey:{default:"label"},valueKey:{default:"value"},objectIdentityKey:{default:void 0},disabledKey:{default:"disabled"},placeholder:{default:"请选择"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},filterable:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},collapseTags:{type:Boolean,default:!1},collapseTagsTooltip:{type:Boolean,default:!1},autoSelectSingle:{type:Boolean,default:!1},size:{default:void 0},teleported:{type:Boolean,default:!0},appendTo:{default:"body"},fitInputWidth:{type:Boolean,default:!0},popperClass:{default:""}},emits:["update:modelValue","change","clear","visible-change","focus","blur"],setup(o,{expose:S,emit:V}){const u=Symbol("invalid-select-value"),a=o,r=V,B=t.useAttrs(),A=t.useSlots(),f=t.ref(null),C=t.computed(()=>Object.fromEntries(Object.entries(B).filter(([e])=>e==="class"||e==="style"||e==="id"||e==="name"||e==="role"||e==="title"||e==="tabindex"||e==="remote"||e==="remoteMethod"||e==="remote-method"||e==="remoteShowSuffix"||e==="remote-show-suffix"||e.startsWith("data-")||e.startsWith("aria-")))),K=t.computed(()=>["qy-select__popper",a.popperClass].filter(Boolean).join(" ")),g=t.computed(()=>{const e=y(a.modelValue);return e===u?void 0:e}),d=t.computed(()=>a.options.map(e=>({raw:e,label:I(e),value:O(e),disabled:!!e[a.disabledKey]}))),p=t.computed(()=>{const e=A.default;return e?e().some(v):!1}),j=t.computed(()=>{if(!a.objectIdentityKey)return;const e=g.value,l=Array.isArray(e)?e.some(c):c(e),n=!p.value&&d.value.some(s=>c(s.value));return l||n?a.objectIdentityKey:void 0});function v(e){return e.type===t.Comment?!1:e.type===t.Text?typeof e.children=="string"&&e.children.trim()!=="":e.type!==t.Fragment||!Array.isArray(e.children)?!0:e.children.some(l=>t.isVNode(l)?v(l):typeof l=="string"?l.trim()!=="":l!=null)}function c(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function m(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||c(e)?e:u}function y(e){if(e==null)return e;if(Array.isArray(e)){const l=e;return l.every(n=>m(n)!==u)?l:u}return m(e)}function I(e){const l=e[a.labelKey]??e.label??e.value??"";return typeof l=="string"||typeof l=="number"?l:typeof l=="boolean"?String(l):""}function O(e){const l=e[a.valueKey]??e.value??e.label,n=m(l);return n===u?void 0:n}function w(e){return Array.isArray(e)?e.length===0:e===""||e===null||e===void 0}let i=null;t.watch([d,()=>a.modelValue,()=>a.autoSelectSingle,()=>a.disabled,()=>a.multiple],([e])=>b(e),{flush:"post"}),t.onMounted(()=>b(d.value)),t.onUpdated(()=>b(d.value));function b(e){if(!w(a.modelValue)){i=null;return}if(!a.autoSelectSingle||a.disabled||p.value||e.length!==1)return;const[l]=e;if(l.disabled||l.value===void 0)return;const n=x(l.value);if(i&&i.identityKey===a.objectIdentityKey&&i.multiple===a.multiple&&Object.is(i.candidate,n))return;i={candidate:n,identityKey:a.objectIdentityKey,multiple:a.multiple};const s=a.multiple?[l.value]:l.value;r("update:modelValue",s),r("change",s)}function x(e){return!c(e)||!a.objectIdentityKey?e:e[a.objectIdentityKey]??e}function $(e,l){return`${String(e.value??e.label??"")}-${l}`}function T(e){const l=y(e);l!==u&&r("update:modelValue",l)}function z(e){const l=y(e);l!==u&&r("change",l)}function E(){r("clear")}function q(e){r("visible-change",e)}function M(e){r("focus",e)}function P(e){r("blur",e)}function F(){var e,l;(l=(e=f.value)==null?void 0:e.focus)==null||l.call(e)}function H(){var e,l;(l=(e=f.value)==null?void 0:e.blur)==null||l.call(e)}return S({focus:F,blur:H}),(e,l)=>(t.openBlock(),t.createBlock(t.unref(h.ElSelect),t.mergeProps({ref_key:"selectRef",ref:f,class:"qy-select"},C.value,{"model-value":g.value,placeholder:o.placeholder,disabled:o.disabled,clearable:o.clearable,filterable:o.filterable,loading:o.loading,multiple:o.multiple,"collapse-tags":o.collapseTags,"collapse-tags-tooltip":o.collapseTagsTooltip,size:o.size,teleported:o.teleported,"fit-input-width":o.fitInputWidth,"popper-class":K.value,"append-to":o.appendTo,"value-key":j.value,"onUpdate:modelValue":T,onChange:z,onClear:E,onVisibleChange:q,onFocus:M,onBlur:P}),t.createSlots({default:t.withCtx(()=>[p.value?t.renderSlot(e.$slots,"default",{},void 0,!0,0):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(d.value,(n,s)=>(t.openBlock(),t.createBlock(t.unref(h.ElOption),{key:$(n,s),label:n.label,value:n.value,disabled:n.disabled},null,8,["label","value","disabled"]))),128))]),_:2},[e.$slots.prefix?{name:"prefix",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"prefix",{},void 0,!0)]),key:"0"}:void 0,e.$slots.empty?{name:"empty",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"empty",{},void 0,!0)]),key:"1"}:void 0,e.$slots.loading?{name:"loading",fn:t.withCtx(()=>[t.renderSlot(e.$slots,"loading",{},void 0,!0)]),key:"2"}:void 0,e.$slots.tag?{name:"tag",fn:t.withCtx(n=>[t.renderSlot(e.$slots,"tag",t.normalizeProps(t.guardReactiveProps(n)),void 0,!0)]),key:"3"}:void 0]),1040,["model-value","placeholder","disabled","clearable","filterable","loading","multiple","collapse-tags","collapse-tags-tooltip","size","teleported","fit-input-width","popper-class","append-to","value-key"]))}}),W=L._export_sfc(U,[["__scopeId","data-v-3d7d9a0a"]]);exports.Select=W;
|