@qynpm/ui 1.0.28 → 1.0.32
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 +167 -8
- package/dist/index.cjs +9 -4
- package/dist/index.mjs +90 -62
- package/dist/qy-action-bar/index.cjs +1 -1
- package/dist/qy-action-bar/index.mjs +1 -1
- package/dist/qy-aside/index.cjs +1 -0
- package/dist/qy-aside/index.mjs +7 -0
- package/dist/qy-cascader/index.cjs +1 -1
- package/dist/qy-cascader/index.mjs +1 -1
- package/dist/qy-checkbox/index.cjs +1 -1
- package/dist/qy-checkbox/index.mjs +1 -1
- package/dist/qy-checkbox-group/index.cjs +1 -1
- package/dist/qy-checkbox-group/index.mjs +1 -1
- package/dist/qy-col/index.cjs +1 -0
- package/dist/qy-col/index.mjs +7 -0
- package/dist/qy-collapse/index.cjs +1 -1
- package/dist/qy-collapse/index.mjs +1 -1
- package/dist/qy-container/index.cjs +1 -0
- package/dist/qy-container/index.mjs +7 -0
- package/dist/qy-date-picker/index.cjs +1 -1
- package/dist/qy-date-picker/index.mjs +1 -1
- package/dist/qy-dialog/index.cjs +1 -1
- package/dist/qy-dialog/index.mjs +1 -1
- package/dist/qy-drawer/index.cjs +1 -0
- package/dist/qy-drawer/index.mjs +5 -0
- package/dist/qy-file-picker/index.cjs +1 -1
- package/dist/qy-file-picker/index.mjs +1 -1
- package/dist/qy-form-section/index.cjs +1 -1
- package/dist/qy-form-section/index.mjs +2 -2
- package/dist/qy-fullscreen/index.cjs +1 -0
- package/dist/qy-fullscreen/index.mjs +7 -0
- package/dist/qy-icon/index.cjs +1 -0
- package/dist/qy-icon/index.mjs +11 -0
- package/dist/qy-icon-picker/index.cjs +5 -0
- package/dist/qy-icon-picker/index.mjs +11 -0
- package/dist/qy-image-upload/index.cjs +1 -1
- package/dist/qy-image-upload/index.mjs +1 -1
- package/dist/qy-input/index.cjs +1 -1
- package/dist/qy-input/index.mjs +4 -5
- package/dist/qy-input-number/index.cjs +2 -2
- package/dist/qy-input-number/index.mjs +2 -2
- package/dist/qy-legacy-selection-dialog/index.cjs +1 -1
- package/dist/qy-legacy-selection-dialog/index.mjs +1 -1
- package/dist/qy-link/index.cjs +1 -1
- package/dist/qy-link/index.mjs +1 -1
- package/dist/qy-loading/index.cjs +1 -0
- package/dist/qy-loading/index.mjs +9 -0
- package/dist/qy-main/index.cjs +1 -0
- package/dist/qy-main/index.mjs +7 -0
- package/dist/qy-menu-actions/index.cjs +1 -1
- package/dist/qy-menu-actions/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-popover/index.cjs +1 -1
- package/dist/qy-popover/index.mjs +1 -1
- package/dist/qy-radio/index.cjs +1 -1
- package/dist/qy-radio/index.mjs +1 -1
- package/dist/qy-radio-group/index.cjs +1 -1
- package/dist/qy-radio-group/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-result/index.cjs +1 -0
- package/dist/qy-result/index.mjs +7 -0
- package/dist/qy-row/index.cjs +1 -0
- package/dist/qy-row/index.mjs +7 -0
- 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-statistic/index.cjs +1 -0
- package/dist/qy-statistic/index.mjs +7 -0
- package/dist/qy-switch/index.cjs +1 -1
- package/dist/qy-switch/index.mjs +1 -1
- package/dist/qy-table-column-settings/index.cjs +1 -1
- package/dist/qy-table-column-settings/index.mjs +1 -1
- package/dist/qy-tabs/index.cjs +1 -1
- package/dist/qy-tabs/index.mjs +1 -1
- package/dist/qy-tag/index.cjs +1 -1
- package/dist/qy-tag/index.mjs +1 -1
- package/dist/qy-tooltip/index.cjs +1 -1
- package/dist/qy-tooltip/index.mjs +1 -1
- package/dist/qy-tree-select/index.cjs +1 -1
- package/dist/qy-tree-select/index.mjs +1 -1
- package/dist/qy-upload/index.cjs +1 -1
- package/dist/qy-upload/index.mjs +1 -1
- package/dist/shared/{index-C7V-LeFg.mjs → index-1LT6Q6XJ.mjs} +1 -1
- package/dist/shared/{index-DleLvEzf.mjs → index-4wZQbpy3.mjs} +1039 -1002
- package/dist/shared/index-AirHUQwm.cjs +1 -0
- package/dist/shared/index-B1zDCCqy.mjs +78 -0
- package/dist/shared/index-B6xIO6kg.cjs +1 -0
- package/dist/shared/{index-B9RYNZUh.cjs → index-BWDaV6FO.cjs} +1 -1
- package/dist/shared/index-BmJPEXUM.mjs +222 -0
- package/dist/shared/{index.vue_vue_type_style_index_0_lang-aqtfjdVm.mjs → index-Bs2OQHXk.mjs} +33 -31
- package/dist/shared/index-BvKFjDgX.cjs +1 -0
- package/dist/shared/index-CaNxcPSD.mjs +254 -0
- package/dist/shared/{index-DEkng5wh.cjs → index-CwzztWPU.cjs} +1 -1
- package/dist/shared/index-D-YyFaZ6.cjs +1 -0
- package/dist/shared/{index-BTL45WYB.cjs → index-DLLDXfic.cjs} +1 -1
- package/dist/shared/{index-CVoiIRas.mjs → index-D_rRdrge.mjs} +1 -1
- package/dist/shared/{index-CYn7TvRx.mjs → index-DfR8Z9MN.mjs} +1 -1
- package/dist/shared/index-Dvf1zJ7h.cjs +1 -0
- package/dist/shared/index-rcu9CzSn.cjs +1 -0
- package/dist/shared/index-xuTVtF4x.mjs +6 -0
- package/dist/shared/index.vue_vue_type_script_lang-8AT3-xU-.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-BaIOvoQn.mjs +43 -0
- package/dist/shared/index.vue_vue_type_script_lang-BgapsQjI.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-Bk0kLg5l.mjs +34 -0
- package/dist/shared/index.vue_vue_type_script_lang-BnmY1ndj.mjs +77 -0
- package/dist/shared/index.vue_vue_type_script_lang-By3jd4gw.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-CCL57H5c.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-CKZUcaZ5.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-CWnNQBPN.mjs +31 -0
- package/dist/shared/index.vue_vue_type_script_lang-CfjfZCT3.cjs +1 -0
- package/dist/shared/index.vue_vue_type_script_lang-ChS-3_vl.mjs +43 -0
- package/dist/shared/index.vue_vue_type_script_lang-DRvk4-_O.mjs +43 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-BLF3RNlY.mjs +331 -0
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-BXnZt9UT.mjs +63 -0
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DXtovY1E.mjs → index.vue_vue_type_script_setup_true_lang-C91DUwOD.mjs} +1 -1
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-DXGjuA2f.cjs → index.vue_vue_type_script_setup_true_lang-CuXBYNXZ.cjs} +1 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-D7BlbHN5.cjs +1 -0
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-CUox3Lm-.mjs → index.vue_vue_type_script_setup_true_lang-DP-jqqo2.mjs} +1 -1
- package/dist/shared/{index.vue_vue_type_script_setup_true_lang-kje3Rtlw.cjs → index.vue_vue_type_script_setup_true_lang-DkDEcB4G.cjs} +1 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-S6QPMZay.cjs +1 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-BJXS2dVf.mjs +126 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CL_IFx-Z.cjs +1 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CUqnwExG.mjs +80 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-DXQ9l1XF.mjs +286 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-M0qKRXd2.cjs +1 -0
- package/dist/shared/index.vue_vue_type_style_index_0_lang-lmRmXLwB.cjs +1 -0
- package/index.d.ts +156 -23
- package/package.json +74 -1
- package/qy-aside/index.d.ts +47 -0
- package/qy-col/index.d.ts +65 -0
- package/qy-container/index.d.ts +49 -0
- package/qy-drawer/index.d.ts +55 -0
- package/qy-fullscreen/index.d.ts +72 -0
- package/qy-icon/index.d.ts +105 -0
- package/qy-icon-picker/index.d.ts +56 -0
- package/qy-loading/index.d.ts +25 -0
- package/qy-main/index.d.ts +45 -0
- package/qy-result/index.d.ts +64 -0
- package/qy-row/index.d.ts +59 -0
- package/qy-statistic/index.d.ts +61 -0
- package/dist/shared/index-B8phg478.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-CmQLfhRo.cjs +0 -1
- package/dist/shared/index.vue_vue_type_script_setup_true_lang-DobP199g.mjs +0 -63
- package/dist/shared/index.vue_vue_type_style_index_0_lang-C6urLjSf.cjs +0 -1
- package/dist/shared/index.vue_vue_type_style_index_0_lang-CVxWn-Vs.mjs +0 -121
- package/dist/shared/index.vue_vue_type_style_index_0_lang-Dm1r1WBK.cjs +0 -1
- /package/dist/shared/{index-PlyLRNmb.cjs → index-Bmw9BNXm.cjs} +0 -0
- /package/dist/shared/{index-UGOgNLvm.cjs → index-BpI0jwYK.cjs} +0 -0
- /package/dist/shared/{index-DA3GVIZY.cjs → index-BxvS3vlc.cjs} +0 -0
- /package/dist/shared/{index-DMiZy6gD.cjs → index-Bxz4crCd.cjs} +0 -0
- /package/dist/shared/{index-YsBzyp9n.mjs → index-C-ZAw_DP.mjs} +0 -0
- /package/dist/shared/{index-CUITnlPr.mjs → index-C31wpivi.mjs} +0 -0
- /package/dist/shared/{index-BqV6vW9P.cjs → index-CCZttbsg.cjs} +0 -0
- /package/dist/shared/{index-DjyaOKUS.cjs → index-CltDZpF9.cjs} +0 -0
- /package/dist/shared/{index-mTWXYnLm.mjs → index-CmRclPWX.mjs} +0 -0
- /package/dist/shared/{index-DvA3Wy_F.mjs → index-Co0_4YEV.mjs} +0 -0
- /package/dist/shared/{index-WP9Dbscv.mjs → index-D6ybNdgn.mjs} +0 -0
- /package/dist/shared/{index-DHJf8Zto.mjs → index-kiAR2M_e.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CWz689KH.cjs → index.vue_vue_type_style_index_0_lang-1cTut9Ql.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DVqGYfD9.mjs → index.vue_vue_type_style_index_0_lang-B0CXLnL1.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-DIMCVnQm.mjs → index.vue_vue_type_style_index_0_lang-CPxbKjvY.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CJhIFeBC.mjs → index.vue_vue_type_style_index_0_lang-CcVf5MXE.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-CnL4aeg1.cjs → index.vue_vue_type_style_index_0_lang-D9DraThL.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Cb4yMk-r.cjs → index.vue_vue_type_style_index_0_lang-DFAaBzkW.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-D1kpIund.mjs → index.vue_vue_type_style_index_0_lang-DSur831A.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-BXTkWo5P.cjs → index.vue_vue_type_style_index_0_lang-DUgOOzEZ.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-C1n-zAZh.mjs → index.vue_vue_type_style_index_0_lang-DWiolYb3.mjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-BtbAft4t.cjs → index.vue_vue_type_style_index_0_lang-DccRGtZE.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-Q2gFF0PP.cjs → index.vue_vue_type_style_index_0_lang-RiwA2WPO.cjs} +0 -0
- /package/dist/shared/{index.vue_vue_type_style_index_0_lang-dLpQXf6x.mjs → index.vue_vue_type_style_index_0_lang-gs0YJI91.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("vue"),f=require("element-plus"),n=["success","warning","info","error"],a=["401","403","404","500"],m=t=>t==="class"||t==="style"||t==="id"||t==="role"||t==="title"||t.startsWith("data-")||t.startsWith("aria-"),o={status:{type:String,default:"info",validator:t=>[...n,...a].includes(t)},title:{type:String,default:""},description:{type:String,default:""},image:{type:String,default:""},imageAlt:{type:String,default:""}},v=i.defineComponent({name:"QyResult",inheritAttrs:!1,props:o,setup(t,{attrs:r,slots:e}){const u=i.computed(()=>Object.fromEntries(Object.entries(r).filter(([s])=>m(s)))),l=i.computed(()=>["qy-result",`qy-result--${t.status}`,u.value.class]),c=i.computed(()=>["qy-result__renderer",`qy-result--${t.status}`]),d=()=>{if(e.visual)return e.visual();if(t.image)return i.h("img",{class:"qy-result__image",src:t.image,alt:t.imageAlt});if(a.includes(t.status))return i.h("div",{class:"qy-result__http-visual","aria-hidden":"true"},t.status)};return()=>{const s={};return(e.visual||t.image||a.includes(t.status))&&(s.icon=d),e.title&&(s.title=e.title),e.description&&(s["sub-title"]=e.description),e.actions&&(s.extra=e.actions),i.h("div",{...u.value,class:l.value,title:t.title},[i.h(f.ElResult,{class:c.value,icon:n.includes(t.status)?t.status:void 0,title:e.title?"":t.title,subTitle:e.description?"":t.description},s)])}}});exports._sfc_main=v;
|
package/index.d.ts
CHANGED
|
@@ -18,17 +18,28 @@ import type QyTabsComponent from './qy-tabs'
|
|
|
18
18
|
import type QyTabPaneComponent from './qy-tab-pane'
|
|
19
19
|
import type QyStepsComponent from './qy-steps'
|
|
20
20
|
import type QyStepComponent from './qy-step'
|
|
21
|
+
import type QyFullscreenComponent from './qy-fullscreen'
|
|
22
|
+
import type QyDrawerComponent from './qy-drawer'
|
|
23
|
+
import type QyIconComponent from './qy-icon'
|
|
24
|
+
import type QyIconPickerComponent from './qy-icon-picker'
|
|
25
|
+
import type QyRowComponent from './qy-row'
|
|
26
|
+
import type QyColComponent from './qy-col'
|
|
27
|
+
import type QyContainerComponent from './qy-container'
|
|
28
|
+
import type QyAsideComponent from './qy-aside'
|
|
29
|
+
import type QyMainComponent from './qy-main'
|
|
21
30
|
import type QyDescriptionsComponent from './qy-descriptions'
|
|
22
31
|
import type QyDescriptionsItemComponent from './qy-descriptions-item'
|
|
23
32
|
import type QyCollapseComponent from './qy-collapse'
|
|
24
33
|
import type QyCollapseItemComponent from './qy-collapse-item'
|
|
25
34
|
import type QyLinkComponent from './qy-link'
|
|
26
35
|
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
|
|
36
|
+
import type QyEmptyComponent from './qy-empty'
|
|
37
|
+
import type QyAlertComponent from './qy-alert'
|
|
38
|
+
import type QyCardComponent from './qy-card'
|
|
39
|
+
import type QyResultComponent from './qy-result'
|
|
40
|
+
import type QyScrollbarComponent from './qy-scrollbar'
|
|
31
41
|
import type QyProgressComponent from './qy-progress'
|
|
42
|
+
import type QyStatisticComponent from './qy-statistic'
|
|
32
43
|
import type QyAvatarComponent from './qy-avatar'
|
|
33
44
|
import type QyTreeComponent from './qy-tree'
|
|
34
45
|
import type QyInputComponent from './qy-input'
|
|
@@ -204,6 +215,88 @@ export type {
|
|
|
204
215
|
QyStepProps,
|
|
205
216
|
QyStepSlots
|
|
206
217
|
} from './qy-step'
|
|
218
|
+
export type {
|
|
219
|
+
QyIconAlias,
|
|
220
|
+
QyIconAliases,
|
|
221
|
+
QyIconAttrs,
|
|
222
|
+
QyIconDefinition,
|
|
223
|
+
QyIconDefinitionInput,
|
|
224
|
+
QyIconFallbackSlotProps,
|
|
225
|
+
QyIconProps,
|
|
226
|
+
QyIconRegistry,
|
|
227
|
+
QyIconRegistryOptions,
|
|
228
|
+
QyIconSlots,
|
|
229
|
+
QyIconSource
|
|
230
|
+
} from './qy-icon'
|
|
231
|
+
export type {
|
|
232
|
+
QyFullscreenAction,
|
|
233
|
+
QyFullscreenEmits,
|
|
234
|
+
QyFullscreenErrorCode,
|
|
235
|
+
QyFullscreenErrorSnapshot,
|
|
236
|
+
QyFullscreenExposed,
|
|
237
|
+
QyFullscreenProps,
|
|
238
|
+
QyFullscreenSize,
|
|
239
|
+
QyFullscreenSlots
|
|
240
|
+
} from './qy-fullscreen'
|
|
241
|
+
export type {
|
|
242
|
+
QyLoadingDirectiveOptions,
|
|
243
|
+
QyLoadingDirectiveValue,
|
|
244
|
+
QyLoadingHandle,
|
|
245
|
+
QyLoadingServiceOptions
|
|
246
|
+
} from './qy-loading'
|
|
247
|
+
export type {
|
|
248
|
+
QyDrawerCloseReason,
|
|
249
|
+
QyDrawerEmits,
|
|
250
|
+
QyDrawerPlacement,
|
|
251
|
+
QyDrawerProps,
|
|
252
|
+
QyDrawerSlotProps,
|
|
253
|
+
QyDrawerSlots
|
|
254
|
+
} from './qy-drawer'
|
|
255
|
+
export type {
|
|
256
|
+
QyIconPickerEmits,
|
|
257
|
+
QyIconPickerExposed,
|
|
258
|
+
QyIconPickerModelValue,
|
|
259
|
+
QyIconPickerProps,
|
|
260
|
+
QyIconPickerSize,
|
|
261
|
+
QyIconPickerSlots
|
|
262
|
+
} from './qy-icon-picker'
|
|
263
|
+
export {
|
|
264
|
+
QY_ICON_REGISTRY_KEY,
|
|
265
|
+
createQyIconPlugin,
|
|
266
|
+
createQyIconRegistry,
|
|
267
|
+
mergeQyIconRegistries,
|
|
268
|
+
normalizeQyIconName
|
|
269
|
+
} from './qy-icon'
|
|
270
|
+
export type {
|
|
271
|
+
QyRowAlign,
|
|
272
|
+
QyRowAttrs,
|
|
273
|
+
QyRowJustify,
|
|
274
|
+
QyRowProps,
|
|
275
|
+
QyRowSlots
|
|
276
|
+
} from './qy-row'
|
|
277
|
+
export type {
|
|
278
|
+
QyColAttrs,
|
|
279
|
+
QyColProps,
|
|
280
|
+
QyColSize,
|
|
281
|
+
QyColSizeObject,
|
|
282
|
+
QyColSlots
|
|
283
|
+
} from './qy-col'
|
|
284
|
+
export type {
|
|
285
|
+
QyContainerAttrs,
|
|
286
|
+
QyContainerDirection,
|
|
287
|
+
QyContainerProps,
|
|
288
|
+
QyContainerSlots
|
|
289
|
+
} from './qy-container'
|
|
290
|
+
export type {
|
|
291
|
+
QyAsideAttrs,
|
|
292
|
+
QyAsideProps,
|
|
293
|
+
QyAsideSlots
|
|
294
|
+
} from './qy-aside'
|
|
295
|
+
export type {
|
|
296
|
+
QyMainAttrs,
|
|
297
|
+
QyMainProps,
|
|
298
|
+
QyMainSlots
|
|
299
|
+
} from './qy-main'
|
|
207
300
|
export type {
|
|
208
301
|
QyDescriptionsDirection,
|
|
209
302
|
QyDescriptionsEmits,
|
|
@@ -260,14 +353,20 @@ export type {
|
|
|
260
353
|
QyAlertSlots,
|
|
261
354
|
QyAlertType
|
|
262
355
|
} from './qy-alert'
|
|
263
|
-
export type {
|
|
264
|
-
QyCardAttrs,
|
|
265
|
-
QyCardEmits,
|
|
266
|
-
QyCardProps,
|
|
267
|
-
QyCardShadow,
|
|
268
|
-
QyCardSlots
|
|
269
|
-
} from './qy-card'
|
|
270
|
-
export type {
|
|
356
|
+
export type {
|
|
357
|
+
QyCardAttrs,
|
|
358
|
+
QyCardEmits,
|
|
359
|
+
QyCardProps,
|
|
360
|
+
QyCardShadow,
|
|
361
|
+
QyCardSlots
|
|
362
|
+
} from './qy-card'
|
|
363
|
+
export type {
|
|
364
|
+
QyResultAttrs,
|
|
365
|
+
QyResultProps,
|
|
366
|
+
QyResultSlots,
|
|
367
|
+
QyResultStatus
|
|
368
|
+
} from './qy-result'
|
|
369
|
+
export type {
|
|
271
370
|
QyScrollbarAttrs,
|
|
272
371
|
QyScrollbarDirection,
|
|
273
372
|
QyScrollbarEmits,
|
|
@@ -288,6 +387,12 @@ export type {
|
|
|
288
387
|
QyProgressStrokeLinecap,
|
|
289
388
|
QyProgressType
|
|
290
389
|
} from './qy-progress'
|
|
390
|
+
export type {
|
|
391
|
+
QyStatisticAttrs,
|
|
392
|
+
QyStatisticFormatter,
|
|
393
|
+
QyStatisticProps,
|
|
394
|
+
QyStatisticSlots
|
|
395
|
+
} from './qy-statistic'
|
|
291
396
|
export type {
|
|
292
397
|
QyAvatarAttrs,
|
|
293
398
|
QyAvatarEmits,
|
|
@@ -370,18 +475,32 @@ export const QySkeletonItem: typeof QySkeletonItemComponent
|
|
|
370
475
|
export const QyTabs: typeof QyTabsComponent
|
|
371
476
|
export const QyTabPane: typeof QyTabPaneComponent
|
|
372
477
|
export const QySteps: typeof QyStepsComponent
|
|
373
|
-
export const QyStep: typeof QyStepComponent
|
|
478
|
+
export const QyStep: typeof QyStepComponent
|
|
479
|
+
export const QyFullscreen: typeof QyFullscreenComponent
|
|
480
|
+
export const QyDrawer: typeof QyDrawerComponent
|
|
481
|
+
export const QyLoading: Plugin
|
|
482
|
+
export const vQyLoading: typeof import('./qy-loading').vQyLoading
|
|
483
|
+
export const openQyLoading: typeof import('./qy-loading').openQyLoading
|
|
484
|
+
export const QyIcon: typeof QyIconComponent
|
|
485
|
+
export const QyIconPicker: typeof QyIconPickerComponent
|
|
486
|
+
export const QyRow: typeof QyRowComponent
|
|
487
|
+
export const QyCol: typeof QyColComponent
|
|
488
|
+
export const QyContainer: typeof QyContainerComponent
|
|
489
|
+
export const QyAside: typeof QyAsideComponent
|
|
490
|
+
export const QyMain: typeof QyMainComponent
|
|
374
491
|
export const QyDescriptions: typeof QyDescriptionsComponent
|
|
375
492
|
export const QyDescriptionsItem: typeof QyDescriptionsItemComponent
|
|
376
493
|
export const QyCollapse: typeof QyCollapseComponent
|
|
377
494
|
export const QyCollapseItem: typeof QyCollapseItemComponent
|
|
378
495
|
export const QyLink: typeof QyLinkComponent
|
|
379
496
|
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
|
|
497
|
+
export const QyEmpty: typeof QyEmptyComponent
|
|
498
|
+
export const QyAlert: typeof QyAlertComponent
|
|
499
|
+
export const QyCard: typeof QyCardComponent
|
|
500
|
+
export const QyResult: typeof QyResultComponent
|
|
501
|
+
export const QyScrollbar: typeof QyScrollbarComponent
|
|
384
502
|
export const QyProgress: typeof QyProgressComponent
|
|
503
|
+
export const QyStatistic: typeof QyStatisticComponent
|
|
385
504
|
export const QyAvatar: typeof QyAvatarComponent
|
|
386
505
|
export const QyTree: typeof QyTreeComponent
|
|
387
506
|
export const QyRemarkImage: Plugin
|
|
@@ -440,19 +559,33 @@ declare const _default: Plugin & {
|
|
|
440
559
|
QySkeletonItem: typeof QySkeletonItemComponent
|
|
441
560
|
QyTabs: typeof QyTabsComponent
|
|
442
561
|
QyTabPane: typeof QyTabPaneComponent
|
|
443
|
-
QySteps: typeof QyStepsComponent
|
|
444
|
-
QyStep: typeof QyStepComponent
|
|
562
|
+
QySteps: typeof QyStepsComponent
|
|
563
|
+
QyStep: typeof QyStepComponent
|
|
564
|
+
QyFullscreen: typeof QyFullscreenComponent
|
|
565
|
+
QyDrawer: typeof QyDrawerComponent
|
|
566
|
+
QyLoading: typeof QyLoading
|
|
567
|
+
vQyLoading: typeof vQyLoading
|
|
568
|
+
openQyLoading: typeof openQyLoading
|
|
569
|
+
QyIcon: typeof QyIconComponent
|
|
570
|
+
QyIconPicker: typeof QyIconPickerComponent
|
|
571
|
+
QyRow: typeof QyRowComponent
|
|
572
|
+
QyCol: typeof QyColComponent
|
|
573
|
+
QyContainer: typeof QyContainerComponent
|
|
574
|
+
QyAside: typeof QyAsideComponent
|
|
575
|
+
QyMain: typeof QyMainComponent
|
|
445
576
|
QyDescriptions: typeof QyDescriptionsComponent
|
|
446
577
|
QyDescriptionsItem: typeof QyDescriptionsItemComponent
|
|
447
578
|
QyCollapse: typeof QyCollapseComponent
|
|
448
579
|
QyCollapseItem: typeof QyCollapseItemComponent
|
|
449
580
|
QyLink: typeof QyLinkComponent
|
|
450
581
|
QyDivider: typeof QyDividerComponent
|
|
451
|
-
QyEmpty: typeof QyEmptyComponent
|
|
452
|
-
QyAlert: typeof QyAlertComponent
|
|
453
|
-
QyCard: typeof QyCardComponent
|
|
454
|
-
|
|
582
|
+
QyEmpty: typeof QyEmptyComponent
|
|
583
|
+
QyAlert: typeof QyAlertComponent
|
|
584
|
+
QyCard: typeof QyCardComponent
|
|
585
|
+
QyResult: typeof QyResultComponent
|
|
586
|
+
QyScrollbar: typeof QyScrollbarComponent
|
|
455
587
|
QyProgress: typeof QyProgressComponent
|
|
588
|
+
QyStatistic: typeof QyStatisticComponent
|
|
456
589
|
QyAvatar: typeof QyAvatarComponent
|
|
457
590
|
QyTree: typeof QyTreeComponent
|
|
458
591
|
QyRemarkImage: typeof QyRemarkImage
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qynpm/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"description": "起印公共 UI 组件包。",
|
|
5
5
|
"author": "qy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -83,6 +83,61 @@
|
|
|
83
83
|
"import": "./dist/qy-step/index.mjs",
|
|
84
84
|
"require": "./dist/qy-step/index.cjs"
|
|
85
85
|
},
|
|
86
|
+
"./qy-icon": {
|
|
87
|
+
"types": "./qy-icon/index.d.ts",
|
|
88
|
+
"import": "./dist/qy-icon/index.mjs",
|
|
89
|
+
"require": "./dist/qy-icon/index.cjs"
|
|
90
|
+
},
|
|
91
|
+
"./qy-fullscreen": {
|
|
92
|
+
"types": "./qy-fullscreen/index.d.ts",
|
|
93
|
+
"import": "./dist/qy-fullscreen/index.mjs",
|
|
94
|
+
"require": "./dist/qy-fullscreen/index.cjs"
|
|
95
|
+
},
|
|
96
|
+
"./qy-loading": {
|
|
97
|
+
"types": "./qy-loading/index.d.ts",
|
|
98
|
+
"import": "./dist/qy-loading/index.mjs",
|
|
99
|
+
"require": "./dist/qy-loading/index.cjs"
|
|
100
|
+
},
|
|
101
|
+
"./qy-drawer": {
|
|
102
|
+
"types": "./qy-drawer/index.d.ts",
|
|
103
|
+
"import": "./dist/qy-drawer/index.mjs",
|
|
104
|
+
"require": "./dist/qy-drawer/index.cjs"
|
|
105
|
+
},
|
|
106
|
+
"./qy-result": {
|
|
107
|
+
"types": "./qy-result/index.d.ts",
|
|
108
|
+
"import": "./dist/qy-result/index.mjs",
|
|
109
|
+
"require": "./dist/qy-result/index.cjs"
|
|
110
|
+
},
|
|
111
|
+
"./qy-icon-picker": {
|
|
112
|
+
"types": "./qy-icon-picker/index.d.ts",
|
|
113
|
+
"import": "./dist/qy-icon-picker/index.mjs",
|
|
114
|
+
"require": "./dist/qy-icon-picker/index.cjs"
|
|
115
|
+
},
|
|
116
|
+
"./qy-row": {
|
|
117
|
+
"types": "./qy-row/index.d.ts",
|
|
118
|
+
"import": "./dist/qy-row/index.mjs",
|
|
119
|
+
"require": "./dist/qy-row/index.cjs"
|
|
120
|
+
},
|
|
121
|
+
"./qy-col": {
|
|
122
|
+
"types": "./qy-col/index.d.ts",
|
|
123
|
+
"import": "./dist/qy-col/index.mjs",
|
|
124
|
+
"require": "./dist/qy-col/index.cjs"
|
|
125
|
+
},
|
|
126
|
+
"./qy-container": {
|
|
127
|
+
"types": "./qy-container/index.d.ts",
|
|
128
|
+
"import": "./dist/qy-container/index.mjs",
|
|
129
|
+
"require": "./dist/qy-container/index.cjs"
|
|
130
|
+
},
|
|
131
|
+
"./qy-aside": {
|
|
132
|
+
"types": "./qy-aside/index.d.ts",
|
|
133
|
+
"import": "./dist/qy-aside/index.mjs",
|
|
134
|
+
"require": "./dist/qy-aside/index.cjs"
|
|
135
|
+
},
|
|
136
|
+
"./qy-main": {
|
|
137
|
+
"types": "./qy-main/index.d.ts",
|
|
138
|
+
"import": "./dist/qy-main/index.mjs",
|
|
139
|
+
"require": "./dist/qy-main/index.cjs"
|
|
140
|
+
},
|
|
86
141
|
"./qy-descriptions": {
|
|
87
142
|
"types": "./qy-descriptions/index.d.ts",
|
|
88
143
|
"import": "./dist/qy-descriptions/index.mjs",
|
|
@@ -138,6 +193,11 @@
|
|
|
138
193
|
"import": "./dist/qy-progress/index.mjs",
|
|
139
194
|
"require": "./dist/qy-progress/index.cjs"
|
|
140
195
|
},
|
|
196
|
+
"./qy-statistic": {
|
|
197
|
+
"types": "./qy-statistic/index.d.ts",
|
|
198
|
+
"import": "./dist/qy-statistic/index.mjs",
|
|
199
|
+
"require": "./dist/qy-statistic/index.cjs"
|
|
200
|
+
},
|
|
141
201
|
"./qy-avatar": {
|
|
142
202
|
"types": "./qy-avatar/index.d.ts",
|
|
143
203
|
"import": "./dist/qy-avatar/index.mjs",
|
|
@@ -302,6 +362,17 @@
|
|
|
302
362
|
"qy-tab-pane/index.d.ts",
|
|
303
363
|
"qy-steps/index.d.ts",
|
|
304
364
|
"qy-step/index.d.ts",
|
|
365
|
+
"qy-icon/index.d.ts",
|
|
366
|
+
"qy-fullscreen/index.d.ts",
|
|
367
|
+
"qy-loading/index.d.ts",
|
|
368
|
+
"qy-drawer/index.d.ts",
|
|
369
|
+
"qy-result/index.d.ts",
|
|
370
|
+
"qy-icon-picker/index.d.ts",
|
|
371
|
+
"qy-row/index.d.ts",
|
|
372
|
+
"qy-col/index.d.ts",
|
|
373
|
+
"qy-container/index.d.ts",
|
|
374
|
+
"qy-aside/index.d.ts",
|
|
375
|
+
"qy-main/index.d.ts",
|
|
305
376
|
"qy-descriptions/index.d.ts",
|
|
306
377
|
"qy-descriptions-item/index.d.ts",
|
|
307
378
|
"qy-collapse/index.d.ts",
|
|
@@ -313,6 +384,7 @@
|
|
|
313
384
|
"qy-card/index.d.ts",
|
|
314
385
|
"qy-scrollbar/index.d.ts",
|
|
315
386
|
"qy-progress/index.d.ts",
|
|
387
|
+
"qy-statistic/index.d.ts",
|
|
316
388
|
"qy-avatar/index.d.ts",
|
|
317
389
|
"qy-popover/index.d.ts",
|
|
318
390
|
"qy-image/index.d.ts",
|
|
@@ -354,6 +426,7 @@
|
|
|
354
426
|
"clsx": ">=2.0.0"
|
|
355
427
|
},
|
|
356
428
|
"dependencies": {
|
|
429
|
+
"@qynpm/hooks": "^1.0.4",
|
|
357
430
|
"js-cookie": "^3.0.5",
|
|
358
431
|
"lodash-es": "^4.17.21",
|
|
359
432
|
"mitt": "^3.0.1"
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export interface QyAsideProps {
|
|
11
|
+
width?: string
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export interface QyAsideAttrs {
|
|
15
|
+
class?: unknown
|
|
16
|
+
style?: StyleValue
|
|
17
|
+
id?: string
|
|
18
|
+
role?: string
|
|
19
|
+
title?: string
|
|
20
|
+
[key: `data-${string}`]: unknown
|
|
21
|
+
[key: `aria-${string}`]: unknown
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface QyAsideSlots {
|
|
25
|
+
default?: () => unknown
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type QyAsideComponentProps = QyAsideProps & QyAsideAttrs
|
|
29
|
+
|
|
30
|
+
declare const QyAside: DefineComponent<
|
|
31
|
+
QyAsideProps,
|
|
32
|
+
{},
|
|
33
|
+
{},
|
|
34
|
+
{},
|
|
35
|
+
{},
|
|
36
|
+
ComponentOptionsMixin,
|
|
37
|
+
ComponentOptionsMixin,
|
|
38
|
+
{},
|
|
39
|
+
string,
|
|
40
|
+
PublicProps,
|
|
41
|
+
QyAsideComponentProps,
|
|
42
|
+
{},
|
|
43
|
+
SlotsType<QyAsideSlots>
|
|
44
|
+
> & Plugin
|
|
45
|
+
|
|
46
|
+
export { QyAside }
|
|
47
|
+
export default QyAside
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export interface QyColSizeObject {
|
|
11
|
+
span?: number
|
|
12
|
+
offset?: number
|
|
13
|
+
pull?: number
|
|
14
|
+
push?: number
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export type QyColSize = number | QyColSizeObject
|
|
18
|
+
|
|
19
|
+
export interface QyColProps {
|
|
20
|
+
tag?: string
|
|
21
|
+
span?: number
|
|
22
|
+
offset?: number
|
|
23
|
+
pull?: number
|
|
24
|
+
push?: number
|
|
25
|
+
xs?: QyColSize
|
|
26
|
+
sm?: QyColSize
|
|
27
|
+
md?: QyColSize
|
|
28
|
+
lg?: QyColSize
|
|
29
|
+
xl?: QyColSize
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface QyColAttrs {
|
|
33
|
+
class?: unknown
|
|
34
|
+
style?: StyleValue
|
|
35
|
+
id?: string
|
|
36
|
+
role?: string
|
|
37
|
+
title?: string
|
|
38
|
+
[key: `data-${string}`]: unknown
|
|
39
|
+
[key: `aria-${string}`]: unknown
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface QyColSlots {
|
|
43
|
+
default?: () => unknown
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
type QyColComponentProps = QyColProps & QyColAttrs
|
|
47
|
+
|
|
48
|
+
declare const QyCol: DefineComponent<
|
|
49
|
+
QyColProps,
|
|
50
|
+
{},
|
|
51
|
+
{},
|
|
52
|
+
{},
|
|
53
|
+
{},
|
|
54
|
+
ComponentOptionsMixin,
|
|
55
|
+
ComponentOptionsMixin,
|
|
56
|
+
{},
|
|
57
|
+
string,
|
|
58
|
+
PublicProps,
|
|
59
|
+
QyColComponentProps,
|
|
60
|
+
{},
|
|
61
|
+
SlotsType<QyColSlots>
|
|
62
|
+
> & Plugin
|
|
63
|
+
|
|
64
|
+
export { QyCol }
|
|
65
|
+
export default QyCol
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType,
|
|
7
|
+
StyleValue
|
|
8
|
+
} from 'vue'
|
|
9
|
+
|
|
10
|
+
export type QyContainerDirection = 'horizontal' | 'vertical'
|
|
11
|
+
|
|
12
|
+
export interface QyContainerProps {
|
|
13
|
+
direction?: QyContainerDirection
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface QyContainerAttrs {
|
|
17
|
+
class?: unknown
|
|
18
|
+
style?: StyleValue
|
|
19
|
+
id?: string
|
|
20
|
+
role?: string
|
|
21
|
+
title?: string
|
|
22
|
+
[key: `data-${string}`]: unknown
|
|
23
|
+
[key: `aria-${string}`]: unknown
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface QyContainerSlots {
|
|
27
|
+
default?: () => unknown
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type QyContainerComponentProps = QyContainerProps & QyContainerAttrs
|
|
31
|
+
|
|
32
|
+
declare const QyContainer: DefineComponent<
|
|
33
|
+
QyContainerProps,
|
|
34
|
+
{},
|
|
35
|
+
{},
|
|
36
|
+
{},
|
|
37
|
+
{},
|
|
38
|
+
ComponentOptionsMixin,
|
|
39
|
+
ComponentOptionsMixin,
|
|
40
|
+
{},
|
|
41
|
+
string,
|
|
42
|
+
PublicProps,
|
|
43
|
+
QyContainerComponentProps,
|
|
44
|
+
{},
|
|
45
|
+
SlotsType<QyContainerSlots>
|
|
46
|
+
> & Plugin
|
|
47
|
+
|
|
48
|
+
export { QyContainer }
|
|
49
|
+
export default QyContainer
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { DefineComponent, Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
export type QyDrawerPlacement = 'left' | 'right' | 'top' | 'bottom'
|
|
4
|
+
export type QyDrawerCloseReason = 'close-button' | 'mask' | 'escape'
|
|
5
|
+
|
|
6
|
+
export interface QyDrawerProps {
|
|
7
|
+
modelValue: boolean
|
|
8
|
+
placement?: QyDrawerPlacement
|
|
9
|
+
size?: string | number
|
|
10
|
+
title?: string
|
|
11
|
+
showHeader?: boolean
|
|
12
|
+
showClose?: boolean
|
|
13
|
+
showOverlay?: boolean
|
|
14
|
+
closeOnMask?: boolean
|
|
15
|
+
closeOnEscape?: boolean
|
|
16
|
+
destroyOnClose?: boolean
|
|
17
|
+
lockScroll?: boolean
|
|
18
|
+
autoFocus?: boolean
|
|
19
|
+
restoreFocus?: boolean
|
|
20
|
+
closeDisabled?: boolean
|
|
21
|
+
teleportTo?: string | HTMLElement
|
|
22
|
+
bodyPadding?: 'default' | 'none'
|
|
23
|
+
overlayVariant?: 'default' | 'transparent'
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface QyDrawerEmits {
|
|
27
|
+
'update:modelValue': (value: boolean) => void
|
|
28
|
+
close: (reason: QyDrawerCloseReason) => void
|
|
29
|
+
opened: () => void
|
|
30
|
+
closed: () => void
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export interface QyDrawerSlotProps {
|
|
34
|
+
close: () => void
|
|
35
|
+
titleId?: string
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface QyDrawerSlots {
|
|
39
|
+
header?: (props: QyDrawerSlotProps) => unknown
|
|
40
|
+
default?: (props: QyDrawerSlotProps) => unknown
|
|
41
|
+
footer?: (props: QyDrawerSlotProps) => unknown
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare const QyDrawer: DefineComponent<
|
|
45
|
+
QyDrawerProps,
|
|
46
|
+
{},
|
|
47
|
+
{},
|
|
48
|
+
{},
|
|
49
|
+
{},
|
|
50
|
+
{},
|
|
51
|
+
{},
|
|
52
|
+
QyDrawerEmits
|
|
53
|
+
> & Plugin
|
|
54
|
+
|
|
55
|
+
export default QyDrawer
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
ComponentOptionsMixin,
|
|
3
|
+
DefineComponent,
|
|
4
|
+
Plugin,
|
|
5
|
+
PublicProps,
|
|
6
|
+
SlotsType
|
|
7
|
+
} from 'vue'
|
|
8
|
+
|
|
9
|
+
export type QyFullscreenSize = 'small' | 'default' | 'large'
|
|
10
|
+
|
|
11
|
+
export type QyFullscreenAction = 'enter' | 'exit'
|
|
12
|
+
|
|
13
|
+
export type QyFullscreenErrorCode =
|
|
14
|
+
| 'unsupported'
|
|
15
|
+
| 'target-unavailable'
|
|
16
|
+
| 'request-rejected'
|
|
17
|
+
|
|
18
|
+
export interface QyFullscreenErrorSnapshot {
|
|
19
|
+
readonly action: QyFullscreenAction
|
|
20
|
+
readonly code: QyFullscreenErrorCode
|
|
21
|
+
readonly message: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface QyFullscreenProps {
|
|
25
|
+
target?: HTMLElement | null
|
|
26
|
+
disabled?: boolean
|
|
27
|
+
size?: QyFullscreenSize
|
|
28
|
+
enterLabel?: string
|
|
29
|
+
exitLabel?: string
|
|
30
|
+
enterIcon?: string | number
|
|
31
|
+
exitIcon?: string | number
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface QyFullscreenExposed {
|
|
35
|
+
enter(): Promise<boolean>
|
|
36
|
+
exit(): Promise<boolean>
|
|
37
|
+
toggle(): Promise<boolean>
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type QyFullscreenEmits = {
|
|
41
|
+
change: (isFullscreen: boolean) => void
|
|
42
|
+
error: (snapshot: QyFullscreenErrorSnapshot) => void
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface QyFullscreenSlots {
|
|
46
|
+
'enter-icon'?: () => unknown
|
|
47
|
+
'exit-icon'?: () => unknown
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
type QyFullscreenComponentProps = QyFullscreenProps & {
|
|
51
|
+
onChange?: QyFullscreenEmits['change']
|
|
52
|
+
onError?: QyFullscreenEmits['error']
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare const QyFullscreen: DefineComponent<
|
|
56
|
+
QyFullscreenProps,
|
|
57
|
+
QyFullscreenExposed,
|
|
58
|
+
{},
|
|
59
|
+
{},
|
|
60
|
+
{},
|
|
61
|
+
ComponentOptionsMixin,
|
|
62
|
+
ComponentOptionsMixin,
|
|
63
|
+
QyFullscreenEmits,
|
|
64
|
+
string,
|
|
65
|
+
PublicProps,
|
|
66
|
+
QyFullscreenComponentProps,
|
|
67
|
+
{},
|
|
68
|
+
SlotsType<QyFullscreenSlots>
|
|
69
|
+
> & Plugin
|
|
70
|
+
|
|
71
|
+
export { QyFullscreen }
|
|
72
|
+
export default QyFullscreen
|