vxe-pc-ui 0.0.1 → 0.0.2
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/LICENSE +21 -0
- package/README.md +48 -5
- package/es/anchor/index.js +8 -0
- package/es/anchor/src/anchor.js +202 -0
- package/es/anchor/style.css +40 -0
- package/es/anchor/style.min.css +1 -0
- package/es/anchor-link/index.js +8 -0
- package/es/anchor-link/src/anchor-link.js +94 -0
- package/es/anchor-link/src/util.js +19 -0
- package/es/anchor-link/style.css +0 -0
- package/es/anchor-link/style.min.css +0 -0
- package/es/breadcrumb/index.js +8 -0
- package/es/breadcrumb/src/breadcrumb.js +44 -0
- package/es/breadcrumb/style.css +19 -0
- package/es/breadcrumb/style.min.css +1 -0
- package/es/breadcrumb-item/index.js +8 -0
- package/es/breadcrumb-item/src/breadcrumb-item.js +54 -0
- package/es/breadcrumb-item/style.css +0 -0
- package/es/breadcrumb-item/style.min.css +0 -0
- package/es/button/index.js +8 -0
- package/es/button/src/button.js +487 -0
- package/es/button/style.css +513 -0
- package/es/button/style.min.css +1 -0
- package/es/button-group/index.js +8 -0
- package/es/button-group/src/button-group.js +66 -0
- package/es/button-group/style.css +0 -0
- package/es/button-group/style.min.css +0 -0
- package/es/col/index.js +8 -0
- package/es/col/src/col.js +80 -0
- package/es/col/style.css +95 -0
- package/es/col/style.min.css +1 -0
- package/es/components.js +57 -0
- package/es/design/index.js +8 -0
- package/es/design/src/design.js +41 -0
- package/es/design/style.css +0 -0
- package/es/design/style.min.css +0 -0
- package/es/hooks/size.js +10 -0
- package/es/icon/index.js +8 -0
- package/es/icon/src/icon.js +24 -0
- package/es/icon/style.css +766 -0
- package/es/icon/style.min.css +1 -0
- package/es/index.esm.js +3 -0
- package/es/layout-aside/index.js +8 -0
- package/es/layout-aside/src/layout-aside.js +68 -0
- package/es/layout-aside/style.css +12 -0
- package/es/layout-aside/style.min.css +1 -0
- package/es/layout-body/index.js +8 -0
- package/es/layout-body/src/layout-body.js +37 -0
- package/es/layout-body/style.css +3 -0
- package/es/layout-body/style.min.css +1 -0
- package/es/layout-container/index.js +8 -0
- package/es/layout-container/src/layout-container.js +41 -0
- package/es/layout-container/style.css +10 -0
- package/es/layout-container/style.min.css +1 -0
- package/es/layout-footer/index.js +8 -0
- package/es/layout-footer/src/layout-footer.js +41 -0
- package/es/layout-footer/style.css +10 -0
- package/es/layout-footer/style.min.css +1 -0
- package/es/layout-header/index.js +8 -0
- package/es/layout-header/src/layout-header.js +41 -0
- package/es/layout-header/style.css +10 -0
- package/es/layout-header/style.min.css +1 -0
- package/es/locale/lang/en-US.d.ts +2 -0
- package/es/locale/lang/en-US.js +463 -0
- package/es/locale/lang/es-ES.d.ts +2 -0
- package/es/locale/lang/es-ES.js +463 -0
- package/es/locale/lang/ja-JP.d.ts +2 -0
- package/es/locale/lang/ja-JP.js +463 -0
- package/es/locale/lang/pt-BR.d.ts +2 -0
- package/es/locale/lang/pt-BR.js +463 -0
- package/es/locale/lang/zh-CN.d.ts +2 -0
- package/es/locale/lang/zh-CN.js +463 -0
- package/es/locale/lang/zh-HK.d.ts +2 -0
- package/es/locale/lang/zh-HK.js +2 -0
- package/es/locale/lang/zh-MO.d.ts +2 -0
- package/es/locale/lang/zh-MO.js +2 -0
- package/es/locale/lang/zh-TC.d.ts +2 -0
- package/es/locale/lang/zh-TC.js +463 -0
- package/es/locale/lang/zh-TW.d.ts +2 -0
- package/es/locale/lang/zh-TW.js +2 -0
- package/es/row/index.js +8 -0
- package/es/row/src/row.js +69 -0
- package/es/row/style.css +10 -0
- package/es/row/style.min.css +1 -0
- package/es/style.css +1 -0
- package/es/style.min.css +1 -0
- package/es/ui/index.js +4 -0
- package/es/ui/src/core.js +41 -0
- package/es/ui/src/dom.js +90 -0
- package/es/ui/src/event.js +75 -0
- package/es/ui/src/globalStore.js +8 -0
- package/es/ui/src/iconStore.js +76 -0
- package/es/ui/src/log.js +13 -0
- package/es/ui/src/theme.js +10 -0
- package/es/ui/src/utils.js +17 -0
- package/es/ui/style.css +0 -0
- package/es/ui/style.min.css +0 -0
- package/es/vxe-anchor/index.js +3 -0
- package/es/vxe-anchor/style.css +40 -0
- package/es/vxe-anchor/style.min.css +1 -0
- package/es/vxe-anchor-link/index.js +3 -0
- package/es/vxe-anchor-link/style.css +0 -0
- package/es/vxe-anchor-link/style.min.css +0 -0
- package/es/vxe-breadcrumb/index.js +3 -0
- package/es/vxe-breadcrumb/style.css +19 -0
- package/es/vxe-breadcrumb/style.min.css +1 -0
- package/es/vxe-breadcrumb-item/index.js +3 -0
- package/es/vxe-breadcrumb-item/style.css +0 -0
- package/es/vxe-breadcrumb-item/style.min.css +0 -0
- package/es/vxe-button/index.js +3 -0
- package/es/vxe-button/style.css +513 -0
- package/es/vxe-button/style.min.css +1 -0
- package/es/vxe-button-group/index.js +3 -0
- package/es/vxe-button-group/style.css +0 -0
- package/es/vxe-button-group/style.min.css +0 -0
- package/es/vxe-col/index.js +3 -0
- package/es/vxe-col/style.css +95 -0
- package/es/vxe-col/style.min.css +1 -0
- package/es/vxe-design/index.js +3 -0
- package/es/vxe-design/style.css +0 -0
- package/es/vxe-design/style.min.css +0 -0
- package/es/vxe-icon/index.js +3 -0
- package/es/vxe-icon/style.css +766 -0
- package/es/vxe-icon/style.min.css +1 -0
- package/es/vxe-layout-aside/index.js +3 -0
- package/es/vxe-layout-aside/style.css +12 -0
- package/es/vxe-layout-aside/style.min.css +1 -0
- package/es/vxe-layout-body/index.js +3 -0
- package/es/vxe-layout-body/style.css +3 -0
- package/es/vxe-layout-body/style.min.css +1 -0
- package/es/vxe-layout-container/index.js +3 -0
- package/es/vxe-layout-container/style.css +10 -0
- package/es/vxe-layout-container/style.min.css +1 -0
- package/es/vxe-layout-footer/index.js +3 -0
- package/es/vxe-layout-footer/style.css +10 -0
- package/es/vxe-layout-footer/style.min.css +1 -0
- package/es/vxe-layout-header/index.js +3 -0
- package/es/vxe-layout-header/style.css +10 -0
- package/es/vxe-layout-header/style.min.css +1 -0
- package/es/vxe-row/index.js +3 -0
- package/es/vxe-row/style.css +10 -0
- package/es/vxe-row/style.min.css +1 -0
- package/es/vxe-ui/index.js +3 -0
- package/es/vxe-ui/style.css +0 -0
- package/es/vxe-ui/style.min.css +0 -0
- package/lib/anchor/index.js +15 -0
- package/lib/anchor/index.min.js +1 -0
- package/lib/anchor/src/anchor.js +220 -0
- package/lib/anchor/src/anchor.min.js +1 -0
- package/lib/anchor/style/index.js +1 -0
- package/lib/anchor/style/style.css +40 -0
- package/lib/anchor/style/style.min.css +1 -0
- package/lib/anchor-link/index.js +15 -0
- package/lib/anchor-link/index.min.js +1 -0
- package/lib/anchor-link/src/anchor-link.js +106 -0
- package/lib/anchor-link/src/anchor-link.min.js +1 -0
- package/lib/anchor-link/src/util.js +29 -0
- package/lib/anchor-link/src/util.min.js +1 -0
- package/lib/anchor-link/style/index.js +1 -0
- package/lib/anchor-link/style/style.css +0 -0
- package/lib/anchor-link/style/style.min.css +0 -0
- package/lib/breadcrumb/index.js +15 -0
- package/lib/breadcrumb/index.min.js +1 -0
- package/lib/breadcrumb/src/breadcrumb.js +53 -0
- package/lib/breadcrumb/src/breadcrumb.min.js +1 -0
- package/lib/breadcrumb/style/index.js +1 -0
- package/lib/breadcrumb/style/style.css +19 -0
- package/lib/breadcrumb/style/style.min.css +1 -0
- package/lib/breadcrumb-item/index.js +15 -0
- package/lib/breadcrumb-item/index.min.js +1 -0
- package/lib/breadcrumb-item/src/breadcrumb-item.js +58 -0
- package/lib/breadcrumb-item/src/breadcrumb-item.min.js +1 -0
- package/lib/breadcrumb-item/style/index.js +1 -0
- package/lib/breadcrumb-item/style/style.css +0 -0
- package/lib/breadcrumb-item/style/style.min.css +0 -0
- package/lib/button/index.js +15 -0
- package/lib/button/index.min.js +1 -0
- package/lib/button/src/button.js +540 -0
- package/lib/button/src/button.min.js +1 -0
- package/lib/button/style/index.js +1 -0
- package/lib/button/style/style.css +513 -0
- package/lib/button/style/style.min.css +1 -0
- package/lib/button-group/index.js +15 -0
- package/lib/button-group/index.min.js +1 -0
- package/lib/button-group/src/button-group.js +88 -0
- package/lib/button-group/src/button-group.min.js +1 -0
- package/lib/button-group/style/index.js +1 -0
- package/lib/button-group/style/style.css +0 -0
- package/lib/button-group/style/style.min.css +0 -0
- package/lib/col/index.js +15 -0
- package/lib/col/index.min.js +1 -0
- package/lib/col/src/col.js +96 -0
- package/lib/col/src/col.min.js +1 -0
- package/lib/col/style/index.js +1 -0
- package/lib/col/style/style.css +95 -0
- package/lib/col/style/style.min.css +1 -0
- package/lib/components.js +230 -0
- package/lib/components.min.js +1 -0
- package/lib/design/index.js +15 -0
- package/lib/design/index.min.js +1 -0
- package/lib/design/src/design.js +48 -0
- package/lib/design/src/design.min.js +1 -0
- package/lib/design/style/index.js +1 -0
- package/lib/design/style/style.css +0 -0
- package/lib/design/style/style.min.css +0 -0
- package/lib/hooks/size.js +16 -0
- package/lib/hooks/size.min.js +1 -0
- package/lib/icon/index.js +15 -0
- package/lib/icon/index.min.js +1 -0
- package/lib/icon/src/icon.js +36 -0
- package/lib/icon/src/icon.min.js +1 -0
- package/lib/icon/style/index.js +1 -0
- package/lib/icon/style/style.css +766 -0
- package/lib/icon/style/style.min.css +1 -0
- package/lib/index.common.js +22 -0
- package/lib/index.umd.js +4461 -0
- package/lib/index.umd.min.js +1 -0
- package/lib/layout-aside/index.js +15 -0
- package/lib/layout-aside/index.min.js +1 -0
- package/lib/layout-aside/src/layout-aside.js +80 -0
- package/lib/layout-aside/src/layout-aside.min.js +1 -0
- package/lib/layout-aside/style/index.js +1 -0
- package/lib/layout-aside/style/style.css +12 -0
- package/lib/layout-aside/style/style.min.css +1 -0
- package/lib/layout-body/index.js +15 -0
- package/lib/layout-body/index.min.js +1 -0
- package/lib/layout-body/src/layout-body.js +46 -0
- package/lib/layout-body/src/layout-body.min.js +1 -0
- package/lib/layout-body/style/index.js +1 -0
- package/lib/layout-body/style/style.css +3 -0
- package/lib/layout-body/style/style.min.css +1 -0
- package/lib/layout-container/index.js +15 -0
- package/lib/layout-container/index.min.js +1 -0
- package/lib/layout-container/src/layout-container.js +50 -0
- package/lib/layout-container/src/layout-container.min.js +1 -0
- package/lib/layout-container/style/index.js +1 -0
- package/lib/layout-container/style/style.css +10 -0
- package/lib/layout-container/style/style.min.css +1 -0
- package/lib/layout-footer/index.js +15 -0
- package/lib/layout-footer/index.min.js +1 -0
- package/lib/layout-footer/src/layout-footer.js +50 -0
- package/lib/layout-footer/src/layout-footer.min.js +1 -0
- package/lib/layout-footer/style/index.js +1 -0
- package/lib/layout-footer/style/style.css +10 -0
- package/lib/layout-footer/style/style.min.css +1 -0
- package/lib/layout-header/index.js +15 -0
- package/lib/layout-header/index.min.js +1 -0
- package/lib/layout-header/src/layout-header.js +50 -0
- package/lib/layout-header/src/layout-header.min.js +1 -0
- package/lib/layout-header/style/index.js +1 -0
- package/lib/layout-header/style/style.css +10 -0
- package/lib/layout-header/style/style.min.css +1 -0
- package/lib/locale/lang/en-US.d.ts +2 -0
- package/lib/locale/lang/en-US.js +469 -0
- package/lib/locale/lang/en-US.min.js +1 -0
- package/lib/locale/lang/en-US.umd.js +483 -0
- package/lib/locale/lang/es-ES.d.ts +2 -0
- package/lib/locale/lang/es-ES.js +469 -0
- package/lib/locale/lang/es-ES.min.js +1 -0
- package/lib/locale/lang/es-ES.umd.js +483 -0
- package/lib/locale/lang/ja-JP.d.ts +2 -0
- package/lib/locale/lang/ja-JP.js +469 -0
- package/lib/locale/lang/ja-JP.min.js +1 -0
- package/lib/locale/lang/ja-JP.umd.js +483 -0
- package/lib/locale/lang/pt-BR.d.ts +2 -0
- package/lib/locale/lang/pt-BR.js +469 -0
- package/lib/locale/lang/pt-BR.min.js +1 -0
- package/lib/locale/lang/pt-BR.umd.js +483 -0
- package/lib/locale/lang/zh-CN.d.ts +2 -0
- package/lib/locale/lang/zh-CN.js +469 -0
- package/lib/locale/lang/zh-CN.min.js +1 -0
- package/lib/locale/lang/zh-CN.umd.js +483 -0
- package/lib/locale/lang/zh-HK.d.ts +2 -0
- package/lib/locale/lang/zh-HK.js +9 -0
- package/lib/locale/lang/zh-HK.min.js +1 -0
- package/lib/locale/lang/zh-HK.umd.js +483 -0
- package/lib/locale/lang/zh-MO.d.ts +2 -0
- package/lib/locale/lang/zh-MO.js +9 -0
- package/lib/locale/lang/zh-MO.min.js +1 -0
- package/lib/locale/lang/zh-MO.umd.js +483 -0
- package/lib/locale/lang/zh-TC.d.ts +2 -0
- package/lib/locale/lang/zh-TC.js +469 -0
- package/lib/locale/lang/zh-TC.min.js +1 -0
- package/lib/locale/lang/zh-TC.umd.js +483 -0
- package/lib/locale/lang/zh-TW.d.ts +2 -0
- package/lib/locale/lang/zh-TW.js +9 -0
- package/lib/locale/lang/zh-TW.min.js +1 -0
- package/lib/locale/lang/zh-TW.umd.js +483 -0
- package/lib/row/index.js +15 -0
- package/lib/row/index.min.js +1 -0
- package/lib/row/src/row.js +82 -0
- package/lib/row/src/row.min.js +1 -0
- package/lib/row/style/index.js +1 -0
- package/lib/row/style/style.css +10 -0
- package/lib/row/style/style.min.css +1 -0
- package/lib/style.css +1 -0
- package/lib/style.min.css +1 -0
- package/lib/ui/index.js +25 -0
- package/lib/ui/index.min.js +1 -0
- package/lib/ui/src/core.js +53 -0
- package/lib/ui/src/core.min.js +1 -0
- package/lib/ui/src/dom.js +127 -0
- package/lib/ui/src/dom.min.js +1 -0
- package/lib/ui/src/event.js +100 -0
- package/lib/ui/src/event.min.js +1 -0
- package/lib/ui/src/globalStore.js +14 -0
- package/lib/ui/src/globalStore.min.js +1 -0
- package/lib/ui/src/iconStore.js +82 -0
- package/lib/ui/src/iconStore.min.js +1 -0
- package/lib/ui/src/log.js +22 -0
- package/lib/ui/src/log.min.js +1 -0
- package/lib/ui/src/theme.js +17 -0
- package/lib/ui/src/theme.min.js +1 -0
- package/lib/ui/src/utils.js +28 -0
- package/lib/ui/src/utils.min.js +1 -0
- package/lib/ui/style/index.js +1 -0
- package/lib/ui/style/style.css +0 -0
- package/lib/ui/style/style.min.css +0 -0
- package/lib/vxe-anchor/index.js +22 -0
- package/lib/vxe-anchor/index.min.js +1 -0
- package/lib/vxe-anchor/style/index.js +1 -0
- package/lib/vxe-anchor/style/style.css +40 -0
- package/lib/vxe-anchor/style/style.min.css +1 -0
- package/lib/vxe-anchor-link/index.js +22 -0
- package/lib/vxe-anchor-link/index.min.js +1 -0
- package/lib/vxe-anchor-link/style/index.js +1 -0
- package/lib/vxe-anchor-link/style/style.css +0 -0
- package/lib/vxe-anchor-link/style/style.min.css +0 -0
- package/lib/vxe-breadcrumb/index.js +22 -0
- package/lib/vxe-breadcrumb/index.min.js +1 -0
- package/lib/vxe-breadcrumb/style/index.js +1 -0
- package/lib/vxe-breadcrumb/style/style.css +19 -0
- package/lib/vxe-breadcrumb/style/style.min.css +1 -0
- package/lib/vxe-breadcrumb-item/index.js +22 -0
- package/lib/vxe-breadcrumb-item/index.min.js +1 -0
- package/lib/vxe-breadcrumb-item/style/index.js +1 -0
- package/lib/vxe-breadcrumb-item/style/style.css +0 -0
- package/lib/vxe-breadcrumb-item/style/style.min.css +0 -0
- package/lib/vxe-button/index.js +22 -0
- package/lib/vxe-button/index.min.js +1 -0
- package/lib/vxe-button/style/index.js +1 -0
- package/lib/vxe-button/style/style.css +513 -0
- package/lib/vxe-button/style/style.min.css +1 -0
- package/lib/vxe-button-group/index.js +22 -0
- package/lib/vxe-button-group/index.min.js +1 -0
- package/lib/vxe-button-group/style/index.js +1 -0
- package/lib/vxe-button-group/style/style.css +0 -0
- package/lib/vxe-button-group/style/style.min.css +0 -0
- package/lib/vxe-col/index.js +22 -0
- package/lib/vxe-col/index.min.js +1 -0
- package/lib/vxe-col/style/index.js +1 -0
- package/lib/vxe-col/style/style.css +95 -0
- package/lib/vxe-col/style/style.min.css +1 -0
- package/lib/vxe-design/index.js +22 -0
- package/lib/vxe-design/index.min.js +1 -0
- package/lib/vxe-design/style/index.js +1 -0
- package/lib/vxe-design/style/style.css +0 -0
- package/lib/vxe-design/style/style.min.css +0 -0
- package/lib/vxe-icon/index.js +22 -0
- package/lib/vxe-icon/index.min.js +1 -0
- package/lib/vxe-icon/style/index.js +1 -0
- package/lib/vxe-icon/style/style.css +766 -0
- package/lib/vxe-icon/style/style.min.css +1 -0
- package/lib/vxe-layout-aside/index.js +22 -0
- package/lib/vxe-layout-aside/index.min.js +1 -0
- package/lib/vxe-layout-aside/style/index.js +1 -0
- package/lib/vxe-layout-aside/style/style.css +12 -0
- package/lib/vxe-layout-aside/style/style.min.css +1 -0
- package/lib/vxe-layout-body/index.js +22 -0
- package/lib/vxe-layout-body/index.min.js +1 -0
- package/lib/vxe-layout-body/style/index.js +1 -0
- package/lib/vxe-layout-body/style/style.css +3 -0
- package/lib/vxe-layout-body/style/style.min.css +1 -0
- package/lib/vxe-layout-container/index.js +22 -0
- package/lib/vxe-layout-container/index.min.js +1 -0
- package/lib/vxe-layout-container/style/index.js +1 -0
- package/lib/vxe-layout-container/style/style.css +10 -0
- package/lib/vxe-layout-container/style/style.min.css +1 -0
- package/lib/vxe-layout-footer/index.js +22 -0
- package/lib/vxe-layout-footer/index.min.js +1 -0
- package/lib/vxe-layout-footer/style/index.js +1 -0
- package/lib/vxe-layout-footer/style/style.css +10 -0
- package/lib/vxe-layout-footer/style/style.min.css +1 -0
- package/lib/vxe-layout-header/index.js +22 -0
- package/lib/vxe-layout-header/index.min.js +1 -0
- package/lib/vxe-layout-header/style/index.js +1 -0
- package/lib/vxe-layout-header/style/style.css +10 -0
- package/lib/vxe-layout-header/style/style.min.css +1 -0
- package/lib/vxe-row/index.js +22 -0
- package/lib/vxe-row/index.min.js +1 -0
- package/lib/vxe-row/style/index.js +1 -0
- package/lib/vxe-row/style/style.css +10 -0
- package/lib/vxe-row/style/style.min.css +1 -0
- package/lib/vxe-ui/index.js +22 -0
- package/lib/vxe-ui/index.min.js +1 -0
- package/lib/vxe-ui/style/index.js +1 -0
- package/lib/vxe-ui/style/style.css +0 -0
- package/lib/vxe-ui/style/style.min.css +0 -0
- package/package.json +83 -55
- package/packages/anchor/index.ts +11 -0
- package/packages/anchor/src/anchor.ts +233 -0
- package/packages/anchor-link/index.ts +11 -0
- package/packages/anchor-link/src/anchor-link.ts +118 -0
- package/packages/anchor-link/src/util.ts +23 -0
- package/packages/breadcrumb/index.ts +11 -0
- package/packages/breadcrumb/src/breadcrumb.ts +60 -0
- package/packages/breadcrumb-item/index.ts +11 -0
- package/packages/breadcrumb-item/src/breadcrumb-item.ts +71 -0
- package/packages/button/index.ts +11 -0
- package/packages/button/src/button.ts +526 -0
- package/packages/button-group/index.ts +11 -0
- package/packages/button-group/src/button-group.ts +81 -0
- package/packages/col/index.ts +11 -0
- package/packages/col/src/col.ts +98 -0
- package/packages/components.ts +66 -0
- package/packages/design/index.ts +11 -0
- package/packages/design/src/design.ts +55 -0
- package/packages/hooks/size.ts +14 -0
- package/packages/icon/index.ts +11 -0
- package/packages/icon/src/icon.ts +27 -0
- package/packages/index.ts +4 -0
- package/packages/layout-aside/index.ts +11 -0
- package/packages/layout-aside/src/layout-aside.ts +85 -0
- package/packages/layout-body/index.ts +11 -0
- package/packages/layout-body/src/layout-body.ts +52 -0
- package/packages/layout-container/index.ts +11 -0
- package/packages/layout-container/src/layout-container.ts +56 -0
- package/packages/layout-footer/index.ts +11 -0
- package/packages/layout-footer/src/layout-footer.ts +56 -0
- package/packages/layout-header/index.ts +11 -0
- package/packages/layout-header/src/layout-header.ts +56 -0
- package/packages/locale/lang/en-US.ts +465 -0
- package/packages/locale/lang/es-ES.ts +465 -0
- package/packages/locale/lang/ja-JP.ts +465 -0
- package/packages/locale/lang/pt-BR.ts +465 -0
- package/packages/locale/lang/zh-CN.ts +465 -0
- package/packages/locale/lang/zh-HK.ts +3 -0
- package/packages/locale/lang/zh-MO.ts +3 -0
- package/packages/locale/lang/zh-TC.ts +465 -0
- package/packages/locale/lang/zh-TW.ts +3 -0
- package/packages/row/index.ts +11 -0
- package/packages/row/src/row.ts +86 -0
- package/packages/ui/index.ts +6 -0
- package/packages/ui/src/core.ts +51 -0
- package/packages/ui/src/dom.ts +103 -0
- package/packages/ui/src/event.ts +88 -0
- package/packages/ui/src/globalStore.ts +11 -0
- package/packages/ui/src/iconStore.ts +88 -0
- package/packages/ui/src/log.ts +16 -0
- package/packages/ui/src/theme.ts +13 -0
- package/packages/ui/src/utils.ts +22 -0
- package/styles/all.scss +17 -0
- package/styles/base.scss +16 -0
- package/styles/components/anchor-link.scss +0 -0
- package/styles/components/anchor.scss +42 -0
- package/styles/components/breadcrumb-item.scss +0 -0
- package/styles/components/breadcrumb.scss +20 -0
- package/styles/components/button-group.scss +0 -0
- package/styles/components/button.scss +357 -0
- package/styles/components/col.scss +32 -0
- package/styles/components/design.scss +1 -0
- package/styles/components/icon.scss +785 -0
- package/styles/components/layout-aside.scss +14 -0
- package/styles/components/layout-body.scss +5 -0
- package/styles/components/layout-container.scss +12 -0
- package/styles/components/layout-footer.scss +12 -0
- package/styles/components/layout-header.scss +12 -0
- package/styles/components/row.scss +10 -0
- package/styles/components/ui.scss +0 -0
- package/styles/helpers/mixin.scss +82 -0
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/styles/theme/base.scss +81 -0
- package/styles/theme/dark.scss +7 -0
- package/styles/theme/default.scss +5 -0
- package/types/all.d.ts +67 -0
- package/types/component/anchor-link.d.ts +74 -0
- package/types/component/anchor.d.ts +79 -0
- package/types/component/breadcrumb-item.d.ts +58 -0
- package/types/component/breadcrumb.d.ts +61 -0
- package/types/component/button-group.d.ts +86 -0
- package/types/component/button.d.ts +157 -0
- package/types/component/col.d.ts +58 -0
- package/types/component/design.d.ts +63 -0
- package/types/component/icon.d.ts +67 -0
- package/types/component/layout-aside.d.ts +57 -0
- package/types/component/layout-body.d.ts +58 -0
- package/types/component/layout-container.d.ts +58 -0
- package/types/component/layout-footer.d.ts +58 -0
- package/types/component/layout-header.d.ts +58 -0
- package/types/component/row.d.ts +65 -0
- package/types/index.d.ts +4 -0
- package/types/tool/common.d.ts +52 -0
- package/types/tool/index.d.ts +6 -0
- package/types/ui/global-config.d.ts +15 -0
- package/types/ui/global-icon.d.ts +15 -0
- package/types/ui/index.d.ts +42 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@import '../helpers/mixin.scss';
|
|
2
|
+
|
|
3
|
+
.vxe-layout-aside {
|
|
4
|
+
flex-shrink: 0;
|
|
5
|
+
transition: width .3s;
|
|
6
|
+
overflow-y: auto;
|
|
7
|
+
overflow-x: hidden;
|
|
8
|
+
&.is--default-width {
|
|
9
|
+
width: var(--vxe-ui-layout-aside-default-width);
|
|
10
|
+
}
|
|
11
|
+
&.is--collapse {
|
|
12
|
+
width: var(--vxe-ui-layout-aside-collapse-width);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@mixin createAnimationTransition ($property, $duration: .1s, $func: ease-in-out) {
|
|
2
|
+
transition: $property $duration $func;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
@mixin createCheckboxIcon {
|
|
6
|
+
.vxe-checkbox--icon {
|
|
7
|
+
font-size: 1.34em;
|
|
8
|
+
}
|
|
9
|
+
.vxe-checkbox--icon {
|
|
10
|
+
color: var(--vxe-input-border-color);
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
font-weight: 700;
|
|
13
|
+
user-select: none;
|
|
14
|
+
}
|
|
15
|
+
&.is--checked,
|
|
16
|
+
&.is--indeterminate {
|
|
17
|
+
color: var(--vxe-primary-color);
|
|
18
|
+
.vxe-checkbox--icon {
|
|
19
|
+
color: var(--vxe-primary-color);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&:not(.is--disabled) {
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
&:hover {
|
|
25
|
+
.vxe-checkbox--icon {
|
|
26
|
+
color: var(--vxe-primary-color);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&.is--hidden {
|
|
31
|
+
cursor: default;
|
|
32
|
+
}
|
|
33
|
+
&.is--disabled {
|
|
34
|
+
color: var(--vxe-font-disabled-color);
|
|
35
|
+
cursor: not-allowed;
|
|
36
|
+
.vxe-checkbox--icon {
|
|
37
|
+
color: var(--vxe-input-disabled-color);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.vxe-checkbox--label {
|
|
41
|
+
padding-left: 0.5em;
|
|
42
|
+
vertical-align: middle;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@mixin createRadioIcon {
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
.vxe-radio--icon {
|
|
49
|
+
font-size: 1.4em;
|
|
50
|
+
}
|
|
51
|
+
.vxe-radio--icon {
|
|
52
|
+
color: var(--vxe-input-border-color);
|
|
53
|
+
vertical-align: middle;
|
|
54
|
+
font-weight: 700;
|
|
55
|
+
user-select: none;
|
|
56
|
+
}
|
|
57
|
+
&.is--checked {
|
|
58
|
+
color: var(--vxe-primary-color);
|
|
59
|
+
.vxe-radio--icon {
|
|
60
|
+
color: var(--vxe-primary-color);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
&:not(.is--disabled) {
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
&:hover {
|
|
66
|
+
.vxe-radio--icon {
|
|
67
|
+
color: var(--vxe-primary-color);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
&.is--disabled {
|
|
72
|
+
color: var(--vxe-font-disabled-color);
|
|
73
|
+
cursor: not-allowed;
|
|
74
|
+
.vxe-radio--icon {
|
|
75
|
+
color: var(--vxe-input-disabled-color);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.vxe-radio--label {
|
|
79
|
+
padding-left: 0.5em;
|
|
80
|
+
vertical-align: middle;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
$vxe-ui-font-color: #606266;
|
|
2
|
+
$vxe-ui-font-primary-color: #409eff;
|
|
3
|
+
|
|
4
|
+
$vxe-ui-status-success-color: #67c23a;
|
|
5
|
+
$vxe-ui-status-info-color: #909399;
|
|
6
|
+
$vxe-ui-status-warning-color: #e6a23c;
|
|
7
|
+
$vxe-ui-status-danger-color: #f56c6c;
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
/*font*/
|
|
11
|
+
--vxe-ui-font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
|
|
12
|
+
|
|
13
|
+
/*font size*/
|
|
14
|
+
--vxe-ui-font-size: 14px;
|
|
15
|
+
--vxe-ui-font-size-medium: 14px;
|
|
16
|
+
--vxe-ui-font-size-small: 13px;
|
|
17
|
+
--vxe-ui-font-size-mini: 12px;
|
|
18
|
+
|
|
19
|
+
/*font color*/
|
|
20
|
+
--vxe-ui-font-color: #{$vxe-ui-font-color}; // 全局默认字体颜色
|
|
21
|
+
--vxe-ui-font-primary-color: #{$vxe-ui-font-primary-color}; // 主要字体颜色
|
|
22
|
+
--vxe-ui-font-secondary-color: #909399; // 次要字体颜色
|
|
23
|
+
--vxe-ui-font-placeholder-color: #a8abb2; // 占位符字体颜色
|
|
24
|
+
|
|
25
|
+
/*base border*/
|
|
26
|
+
--vxe-ui-border-radius: 4px;
|
|
27
|
+
|
|
28
|
+
/*base status*/
|
|
29
|
+
--vxe-ui-status-success-color: #{$vxe-ui-status-success-color};
|
|
30
|
+
--vxe-ui-status-info-color: #{$vxe-ui-status-info-color};
|
|
31
|
+
--vxe-ui-status-warning-color: #{$vxe-ui-status-warning-color};
|
|
32
|
+
--vxe-ui-status-danger-color: #{$vxe-ui-status-danger-color};
|
|
33
|
+
|
|
34
|
+
--vxe-ui-status-font-lighten-color: #{lighten($vxe-ui-font-color, 10%)};
|
|
35
|
+
--vxe-ui-status-primary-lighten-color: #{lighten($vxe-ui-font-primary-color, 10%)};
|
|
36
|
+
--vxe-ui-status-success-lighten-color: #{lighten($vxe-ui-status-success-color, 10%)};
|
|
37
|
+
--vxe-ui-status-info-lighten-color: #{lighten($vxe-ui-status-info-color, 10%)};
|
|
38
|
+
--vxe-ui-status-warning-lighten-color: #{lighten($vxe-ui-status-warning-color, 10%)};
|
|
39
|
+
--vxe-ui-status-danger-lighten-color: #{lighten($vxe-ui-status-danger-color, 10%)};
|
|
40
|
+
|
|
41
|
+
--vxe-ui-status-font-darken-color: #{darken($vxe-ui-font-color, 10%)};
|
|
42
|
+
--vxe-ui-status-primary-darken-color: #{darken($vxe-ui-font-primary-color, 10%)};
|
|
43
|
+
--vxe-ui-status-success-darken-color: #{darken($vxe-ui-status-success-color, 10%)};
|
|
44
|
+
--vxe-ui-status-info-darken-color: #{darken($vxe-ui-status-info-color, 10%)};
|
|
45
|
+
--vxe-ui-status-warning-darken-color: #{darken($vxe-ui-status-warning-color, 10%)};
|
|
46
|
+
--vxe-ui-status-danger-darken-color: #{darken($vxe-ui-status-danger-color, 10%)};
|
|
47
|
+
|
|
48
|
+
--vxe-ui-status-font-disabled-color: #BFBFBF;
|
|
49
|
+
--vxe-ui-status-primary-disabled-color: #{lighten($vxe-ui-font-primary-color, 20%)};
|
|
50
|
+
--vxe-ui-status-success-disabled-color: #{lighten($vxe-ui-status-success-color, 20%)};
|
|
51
|
+
--vxe-ui-status-info-disabled-color: #{lighten($vxe-ui-status-info-color, 20%)};
|
|
52
|
+
--vxe-ui-status-warning-disabled-color: #{lighten($vxe-ui-status-warning-color, 20%)};
|
|
53
|
+
--vxe-ui-status-danger-disabled-color: #{lighten($vxe-ui-status-danger-color, 20%)};
|
|
54
|
+
|
|
55
|
+
/*layout*/
|
|
56
|
+
--vxe-ui-layout-aside-default-width: 300px;
|
|
57
|
+
--vxe-ui-layout-aside-collapse-width: 60px;
|
|
58
|
+
|
|
59
|
+
// icon
|
|
60
|
+
|
|
61
|
+
// button
|
|
62
|
+
--vxe-ui-button-max-width: 500px;
|
|
63
|
+
--vxe-ui-button-default-background-color: #fff;
|
|
64
|
+
--vxe-ui-button-dropdown-panel-background-color: #fff;
|
|
65
|
+
--vxe-ui-button-height-default: 34px;
|
|
66
|
+
--vxe-ui-button-height-medium: 32px;
|
|
67
|
+
--vxe-ui-button-height-small: 30px;
|
|
68
|
+
--vxe-ui-button-height-mini: 28px;
|
|
69
|
+
--vxe-ui-button-round-border-radius-default: 17px;
|
|
70
|
+
--vxe-ui-button-round-border-radius-medium: 16px;
|
|
71
|
+
--vxe-ui-button-round-border-radius-small: 15px;
|
|
72
|
+
--vxe-ui-button-round-border-radius-mini: 14px;
|
|
73
|
+
|
|
74
|
+
// anchor
|
|
75
|
+
--vxe-ui-anchor-link-color: var(--vxe-ui-font-secondary-color);
|
|
76
|
+
--vxe-ui-anchor-link-active-color: var(--vxe-ui-font-primary-color);
|
|
77
|
+
|
|
78
|
+
// breadcrumb
|
|
79
|
+
--vxe-ui-breadcrumb-color: var(--vxe-ui-font-secondary-color);
|
|
80
|
+
--vxe-ui-breadcrumb-current-item-color: var(--vxe-ui-font-color);
|
|
81
|
+
}
|
package/types/all.d.ts
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { App } from 'vue'
|
|
2
|
+
import { VxeUIExport, VxeGlobalConfig } from './ui'
|
|
3
|
+
import VxeIcon from './component/icon'
|
|
4
|
+
import VxeLayoutContainer from './component/layout-container'
|
|
5
|
+
import VxeLayoutHeader from './component/layout-header'
|
|
6
|
+
import VxeLayoutAside from './component/layout-aside'
|
|
7
|
+
import VxeLayoutBody from './component/layout-body'
|
|
8
|
+
import VxeLayoutFooter from './component/layout-footer'
|
|
9
|
+
import VxeRow from './component/row'
|
|
10
|
+
import VxeCol from './component/col'
|
|
11
|
+
import VxeBreadcrumb from './component/breadcrumb'
|
|
12
|
+
import VxeBreadcrumbItem from './component/breadcrumb-item'
|
|
13
|
+
import VxeButton from './component/button'
|
|
14
|
+
import VxeButtonGroup from './component/button-group'
|
|
15
|
+
import VxeAnchor from './component/anchor'
|
|
16
|
+
import VxeAnchorLink from './component/anchor-link'
|
|
17
|
+
import VxeDesign from './component/design'
|
|
18
|
+
|
|
19
|
+
export function install (app: App, options?: VxeGlobalConfig): void
|
|
20
|
+
|
|
21
|
+
declare module '@vue/runtime-core' {
|
|
22
|
+
export interface GlobalComponents {
|
|
23
|
+
VxeIcon: typeof VxeIcon
|
|
24
|
+
VxeLayoutContainer: typeof VxeLayoutContainer
|
|
25
|
+
VxeLayoutHeader: typeof VxeLayoutHeader
|
|
26
|
+
VxeLayoutAside: typeof VxeLayoutAside
|
|
27
|
+
VxeLayoutBody: typeof VxeLayoutBody
|
|
28
|
+
VxeLayoutFooter: typeof VxeLayoutFooter
|
|
29
|
+
VxeRow: typeof VxeRow
|
|
30
|
+
VxeCol: typeof VxeCol
|
|
31
|
+
VxeBreadcrumb: typeof VxeBreadcrumb
|
|
32
|
+
VxeBreadcrumbItem: typeof VxeBreadcrumbItem
|
|
33
|
+
VxeButton: typeof VxeButton
|
|
34
|
+
VxeButtonGroup: typeof VxeButtonGroup
|
|
35
|
+
VxeAnchor: typeof VxeAnchor
|
|
36
|
+
VxeAnchorLink: typeof VxeAnchorLink
|
|
37
|
+
VxeButton: typeof Button
|
|
38
|
+
VxeButtonGroup: typeof ButtonGroup
|
|
39
|
+
VxeDesign: typeof VxeDesign
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare global {
|
|
44
|
+
interface Window {
|
|
45
|
+
VxeUI: VxeUIExport;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export * from './tool'
|
|
50
|
+
export * from './ui'
|
|
51
|
+
|
|
52
|
+
// Components
|
|
53
|
+
export * from './component/icon'
|
|
54
|
+
export * from './component/layout-container'
|
|
55
|
+
export * from './component/layout-header'
|
|
56
|
+
export * from './component/layout-aside'
|
|
57
|
+
export * from './component/layout-body'
|
|
58
|
+
export * from './component/layout-footer'
|
|
59
|
+
export * from './component/row'
|
|
60
|
+
export * from './component/col'
|
|
61
|
+
export * from './component/breadcrumb'
|
|
62
|
+
export * from './component/breadcrumb-item'
|
|
63
|
+
export * from './component/button'
|
|
64
|
+
export * from './component/button-group'
|
|
65
|
+
export * from './component/anchor'
|
|
66
|
+
export * from './component/anchor-link'
|
|
67
|
+
export * from './component/design'
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
+
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent } from '../tool'
|
|
3
|
+
|
|
4
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
|
+
|
|
6
|
+
declare const VxeAnchorLink: defineVxeComponent<VxeAnchorLinkProps, VxeAnchorLinkEventProps>
|
|
7
|
+
|
|
8
|
+
export interface VxeAnchorLinkConstructor extends VxeComponentBase, VxeAnchorLinkMethods {
|
|
9
|
+
props: VxeAnchorLinkProps
|
|
10
|
+
context: SetupContext<VxeAnchorLinkEmits>
|
|
11
|
+
reactData: AnchorLinkReactData
|
|
12
|
+
linkConfig: VxeAnchorLinkDefines.LinkConfig
|
|
13
|
+
getRefMaps(): AnchorLinkPrivateRef
|
|
14
|
+
getComputeMaps(): AnchorLinkPrivateComputed
|
|
15
|
+
renderVN: RenderFunction
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface AnchorLinkPrivateRef {
|
|
19
|
+
refElem: Ref<HTMLDivElement | undefined>
|
|
20
|
+
}
|
|
21
|
+
export interface VxeAnchorLinkPrivateRef extends AnchorLinkPrivateRef { }
|
|
22
|
+
|
|
23
|
+
export namespace VxeAnchorLinkPropTypes {
|
|
24
|
+
export type Content = string | number
|
|
25
|
+
export type Title = string | number
|
|
26
|
+
export type Href = string
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type VxeAnchorLinkProps = {
|
|
30
|
+
content?: VxeAnchorLinkPropTypes.Content
|
|
31
|
+
title?: VxeAnchorLinkPropTypes.Title
|
|
32
|
+
href?: VxeAnchorLinkPropTypes.Href
|
|
33
|
+
|
|
34
|
+
children?: VxeAnchorLinkProps[]
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface AnchorLinkPrivateComputed {
|
|
38
|
+
}
|
|
39
|
+
export interface VxeAnchorLinkPrivateComputed extends AnchorLinkPrivateComputed { }
|
|
40
|
+
|
|
41
|
+
export interface AnchorLinkReactData {
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface AnchorLinkMethods {
|
|
45
|
+
}
|
|
46
|
+
export interface VxeAnchorLinkMethods extends AnchorLinkMethods { }
|
|
47
|
+
|
|
48
|
+
export interface AnchorLinkPrivateMethods { }
|
|
49
|
+
export interface VxeAnchorLinkPrivateMethods extends AnchorLinkPrivateMethods { }
|
|
50
|
+
|
|
51
|
+
export type VxeAnchorLinkEmits = []
|
|
52
|
+
|
|
53
|
+
export namespace VxeAnchorLinkDefines {
|
|
54
|
+
export interface LinkConfig {
|
|
55
|
+
id: string
|
|
56
|
+
href: VxeAnchorPropTypes.ModelValue | undefined
|
|
57
|
+
children: StaticLinkObj[]
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface AnchorLinkEventParams extends VxeComponentEvent {
|
|
61
|
+
$anchorLink: VxeAnchorLinkConstructor
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export type VxeAnchorLinkEventProps = {}
|
|
66
|
+
|
|
67
|
+
export interface VxeAnchorLinkListeners { }
|
|
68
|
+
|
|
69
|
+
export namespace VxeAnchorLinkEvents { }
|
|
70
|
+
|
|
71
|
+
export interface VxeAnchorLinkSlots {
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export default VxeAnchorLink
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
+
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent, ValueOf } from '../tool'
|
|
3
|
+
import { VxeAnchorLinkProps, VxeAnchorLinkPropTypes, VxeAnchorLinkDefines } from './anchor-link'
|
|
4
|
+
|
|
5
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
6
|
+
|
|
7
|
+
declare const VxeAnchor: defineVxeComponent<VxeAnchorProps, VxeAnchorEventProps>
|
|
8
|
+
|
|
9
|
+
export interface VxeAnchorConstructor extends VxeComponentBase, VxeAnchorMethods {
|
|
10
|
+
props: VxeAnchorProps
|
|
11
|
+
context: SetupContext<VxeAnchorEmits>
|
|
12
|
+
reactData: AnchorReactData
|
|
13
|
+
getRefMaps(): AnchorPrivateRef
|
|
14
|
+
getComputeMaps(): AnchorPrivateComputed
|
|
15
|
+
renderVN: RenderFunction
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface AnchorPrivateRef {
|
|
19
|
+
refElem: Ref<HTMLDivElement | undefined>
|
|
20
|
+
}
|
|
21
|
+
export interface VxeAnchorPrivateRef extends AnchorPrivateRef { }
|
|
22
|
+
|
|
23
|
+
export namespace VxeAnchorPropTypes {
|
|
24
|
+
export type ModelValue = string | null
|
|
25
|
+
export type Options = VxeAnchorLinkProps[]
|
|
26
|
+
export type Container = string | HTMLElement | ((params: {
|
|
27
|
+
$anchor: VxeAnchorConstructor
|
|
28
|
+
}) => HTMLElement)
|
|
29
|
+
export type ShowMarker = boolean
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type VxeAnchorProps = {
|
|
33
|
+
modelValue?: VxeAnchorPropTypes.ModelValue
|
|
34
|
+
options?: VxeAnchorPropTypes.Options
|
|
35
|
+
container?: VxeAnchorPropTypes.Container
|
|
36
|
+
showMarker?: VxeAnchorPropTypes.ShowMarker
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface AnchorPrivateComputed {
|
|
40
|
+
}
|
|
41
|
+
export interface VxeAnchorPrivateComputed extends AnchorPrivateComputed { }
|
|
42
|
+
|
|
43
|
+
export interface AnchorReactData {
|
|
44
|
+
activeHref: VxeAnchorPropTypes.ModelValue | undefined
|
|
45
|
+
staticLinks: VxeAnchorLinkDefines.LinkConfig[]
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface AnchorMethods {
|
|
49
|
+
dispatchEvent(type: ValueOf<VxeAnchorEmits>, params: any, evnt: Event): void
|
|
50
|
+
}
|
|
51
|
+
export interface VxeAnchorMethods extends AnchorMethods { }
|
|
52
|
+
|
|
53
|
+
export interface AnchorPrivateMethods {
|
|
54
|
+
handleClickLink(evnt: KeyboardEvent, href?: VxeAnchorLinkPropTypes.Href)
|
|
55
|
+
}
|
|
56
|
+
export interface VxeAnchorPrivateMethods extends AnchorPrivateMethods { }
|
|
57
|
+
|
|
58
|
+
export type VxeAnchorEmits = [
|
|
59
|
+
'update:modelValue',
|
|
60
|
+
'change',
|
|
61
|
+
'click'
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
export namespace VxeAnchorDefines {
|
|
65
|
+
export interface AnchorEventParams extends VxeComponentEvent {
|
|
66
|
+
$anchor: VxeAnchorConstructor
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export type VxeAnchorEventProps = {}
|
|
71
|
+
|
|
72
|
+
export interface VxeAnchorListeners { }
|
|
73
|
+
|
|
74
|
+
export namespace VxeAnchorEvents { }
|
|
75
|
+
|
|
76
|
+
export interface VxeAnchorSlots {
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export default VxeAnchor
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
+
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent } from '../tool'
|
|
3
|
+
|
|
4
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
|
+
|
|
6
|
+
declare const VxeBreadcrumbItem: defineVxeComponent<VxeBreadcrumbItemProps, VxeBreadcrumbItemEventProps>
|
|
7
|
+
|
|
8
|
+
export interface VxeBreadcrumbItemConstructor extends VxeComponentBase, VxeBreadcrumbItemMethods {
|
|
9
|
+
props: VxeBreadcrumbItemProps
|
|
10
|
+
context: SetupContext<VxeBreadcrumbItemEmits>
|
|
11
|
+
reactData: BreadcrumbItemReactData
|
|
12
|
+
getRefMaps(): BreadcrumbItemPrivateRef
|
|
13
|
+
getComputeMaps(): BreadcrumbItemPrivateComputed
|
|
14
|
+
renderVN: RenderFunction
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface BreadcrumbItemPrivateRef {
|
|
18
|
+
refElem: Ref<HTMLDivElement | undefined>
|
|
19
|
+
}
|
|
20
|
+
export interface VxeBreadcrumbItemPrivateRef extends BreadcrumbItemPrivateRef { }
|
|
21
|
+
|
|
22
|
+
export namespace VxeBreadcrumbItemPropTypes {
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type VxeBreadcrumbItemProps = {}
|
|
26
|
+
|
|
27
|
+
export interface BreadcrumbItemPrivateComputed {
|
|
28
|
+
}
|
|
29
|
+
export interface VxeBreadcrumbItemPrivateComputed extends BreadcrumbItemPrivateComputed { }
|
|
30
|
+
|
|
31
|
+
export interface BreadcrumbItemReactData {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface BreadcrumbItemMethods {
|
|
35
|
+
}
|
|
36
|
+
export interface VxeBreadcrumbItemMethods extends BreadcrumbItemMethods { }
|
|
37
|
+
|
|
38
|
+
export interface BreadcrumbItemPrivateMethods { }
|
|
39
|
+
export interface VxeBreadcrumbItemPrivateMethods extends BreadcrumbItemPrivateMethods { }
|
|
40
|
+
|
|
41
|
+
export type VxeBreadcrumbItemEmits = []
|
|
42
|
+
|
|
43
|
+
export namespace VxeBreadcrumbItemDefines {
|
|
44
|
+
export interface BreadcrumbItemEventParams extends VxeComponentEvent {
|
|
45
|
+
$breadcrumbItem: VxeBreadcrumbItemConstructor
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type VxeBreadcrumbItemEventProps = {}
|
|
50
|
+
|
|
51
|
+
export interface VxeBreadcrumbItemListeners { }
|
|
52
|
+
|
|
53
|
+
export namespace VxeBreadcrumbItemEvents { }
|
|
54
|
+
|
|
55
|
+
export interface VxeBreadcrumbItemSlots {
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export default VxeBreadcrumbItem
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
+
import { defineVxeComponent, VxeComponentBase, VxeComponentEvent } from '../tool'
|
|
3
|
+
|
|
4
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
5
|
+
|
|
6
|
+
declare const VxeBreadcrumb: defineVxeComponent<VxeBreadcrumbProps, VxeBreadcrumbEventProps>
|
|
7
|
+
|
|
8
|
+
export interface VxeBreadcrumbConstructor extends VxeComponentBase, VxeBreadcrumbMethods {
|
|
9
|
+
props: VxeBreadcrumbProps
|
|
10
|
+
context: SetupContext<VxeBreadcrumbEmits>
|
|
11
|
+
reactData: BreadcrumbReactData
|
|
12
|
+
getRefMaps(): BreadcrumbPrivateRef
|
|
13
|
+
getComputeMaps(): BreadcrumbPrivateComputed
|
|
14
|
+
renderVN: RenderFunction
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface BreadcrumbPrivateRef {
|
|
18
|
+
refElem: Ref<HTMLDivElement | undefined>
|
|
19
|
+
}
|
|
20
|
+
export interface VxeBreadcrumbPrivateRef extends BreadcrumbPrivateRef { }
|
|
21
|
+
|
|
22
|
+
export namespace VxeBreadcrumbPropTypes {
|
|
23
|
+
export type Separator = string
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type VxeBreadcrumbProps = {
|
|
27
|
+
separator?: VxeBreadcrumbPropTypes.Separator
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface BreadcrumbPrivateComputed {
|
|
31
|
+
}
|
|
32
|
+
export interface VxeBreadcrumbPrivateComputed extends BreadcrumbPrivateComputed { }
|
|
33
|
+
|
|
34
|
+
export interface BreadcrumbReactData {
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface BreadcrumbMethods {
|
|
38
|
+
}
|
|
39
|
+
export interface VxeBreadcrumbMethods extends BreadcrumbMethods { }
|
|
40
|
+
|
|
41
|
+
export interface BreadcrumbPrivateMethods { }
|
|
42
|
+
export interface VxeBreadcrumbPrivateMethods extends BreadcrumbPrivateMethods { }
|
|
43
|
+
|
|
44
|
+
export type VxeBreadcrumbEmits = []
|
|
45
|
+
|
|
46
|
+
export namespace VxeBreadcrumbDefines {
|
|
47
|
+
export interface BreadcrumbEventParams extends VxeComponentEvent {
|
|
48
|
+
$breadcrumb: VxeBreadcrumbConstructor
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type VxeBreadcrumbEventProps = {}
|
|
53
|
+
|
|
54
|
+
export interface VxeBreadcrumbListeners { }
|
|
55
|
+
|
|
56
|
+
export namespace VxeBreadcrumbEvents { }
|
|
57
|
+
|
|
58
|
+
export interface VxeBreadcrumbSlots {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export default VxeBreadcrumb
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref } from 'vue'
|
|
2
|
+
import { defineVxeComponent, VxeComponentBase, VxeComponentSize, VxeComponentEvent } from '../tool'
|
|
3
|
+
import { VxeButtonProps, VxeButtonPropTypes } from './button'
|
|
4
|
+
|
|
5
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
6
|
+
|
|
7
|
+
declare const VxeButtonGroup: defineVxeComponent<VxeButtonGroupProps, VxeButtonGroupEventProps>
|
|
8
|
+
|
|
9
|
+
export interface VxeButtonGroupConstructor extends VxeComponentBase, VxeButtonGroupMethods {
|
|
10
|
+
props: VxeButtonGroupProps
|
|
11
|
+
context: SetupContext<VxeButtonGroupEmits>
|
|
12
|
+
reactData: ButtonGroupReactData
|
|
13
|
+
getRefMaps(): ButtonGroupPrivateRef
|
|
14
|
+
getComputeMaps(): ButtonGroupPrivateComputed
|
|
15
|
+
renderVN: RenderFunction
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface ButtonGroupPrivateRef {
|
|
19
|
+
refElem: Ref<HTMLDivElement | undefined>
|
|
20
|
+
}
|
|
21
|
+
export interface VxeButtonGroupPrivateRef extends ButtonGroupPrivateRef { }
|
|
22
|
+
|
|
23
|
+
export namespace VxeButtonGroupPropTypes {
|
|
24
|
+
export type Size = VxeComponentSize
|
|
25
|
+
export type Options = VxeButtonProps[]
|
|
26
|
+
export type Round = boolean
|
|
27
|
+
export type Circle = boolean
|
|
28
|
+
export type Disabled = boolean
|
|
29
|
+
export type Mode = VxeButtonPropTypes.Mode
|
|
30
|
+
export type Status = VxeButtonPropTypes.Status
|
|
31
|
+
export type ClassName = string | ((params: { $buttonGroup: VxeButtonGroupConstructor }) => string)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type VxeButtonGroupProps = {
|
|
35
|
+
size?: VxeButtonGroupPropTypes.Size
|
|
36
|
+
options?: VxeButtonGroupPropTypes.Options
|
|
37
|
+
mode?: VxeButtonGroupPropTypes.Mode
|
|
38
|
+
status?: VxeButtonGroupPropTypes.Status
|
|
39
|
+
round?: VxeButtonGroupPropTypes.Round
|
|
40
|
+
circle?: VxeButtonGroupPropTypes.Circle
|
|
41
|
+
/**
|
|
42
|
+
* 是否禁用
|
|
43
|
+
*/
|
|
44
|
+
disabled?: VxeButtonGroupPropTypes.Disabled
|
|
45
|
+
className?: VxeButtonGroupPropTypes.ClassName
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface ButtonGroupPrivateComputed {
|
|
49
|
+
}
|
|
50
|
+
export interface VxeButtonGroupPrivateComputed extends ButtonGroupPrivateComputed { }
|
|
51
|
+
|
|
52
|
+
export interface ButtonGroupReactData {
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface ButtonGroupMethods {
|
|
56
|
+
dispatchEvent(type: ValueOf<VxeButtonGroupEmits>, params: any, evnt: Event): void
|
|
57
|
+
}
|
|
58
|
+
export interface VxeButtonGroupMethods extends ButtonGroupMethods { }
|
|
59
|
+
|
|
60
|
+
export interface ButtonGroupPrivateMethods {
|
|
61
|
+
handleClick(params: {
|
|
62
|
+
name: VxeButtonPropTypes.Name
|
|
63
|
+
}, evnt: Event): void
|
|
64
|
+
}
|
|
65
|
+
export interface VxeButtonGroupPrivateMethods extends ButtonGroupPrivateMethods { }
|
|
66
|
+
|
|
67
|
+
export type VxeButtonGroupEmits = [
|
|
68
|
+
'click'
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
export namespace VxeButtonGroupDefines {
|
|
72
|
+
export interface ButtonGroupEventParams extends VxeComponentEvent {
|
|
73
|
+
$buttonGroup: VxeButtonGroupConstructor
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type VxeButtonGroupEventProps = {}
|
|
78
|
+
|
|
79
|
+
export interface VxeButtonGroupListeners { }
|
|
80
|
+
|
|
81
|
+
export namespace VxeButtonGroupEvents { }
|
|
82
|
+
|
|
83
|
+
export interface VxeButtonGroupSlots {
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export default VxeButtonGroup
|