vft 0.0.1 → 0.0.3
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/dist/index.css +1 -0
- package/es/component.d.ts +3 -0
- package/es/component.mjs +18 -0
- package/es/component.mjs.map +1 -0
- package/es/components/avatar/avatar.vue.d.ts +64 -0
- package/es/components/avatar/avatar.vue.mjs +5 -0
- package/es/components/avatar/avatar.vue.mjs.map +1 -0
- package/es/components/avatar/avatar.vue2.mjs +51 -0
- package/es/components/avatar/avatar.vue2.mjs.map +1 -0
- package/es/components/avatar/index.d.ts +62 -0
- package/es/components/avatar/index.mjs +9 -0
- package/es/components/avatar/index.mjs.map +1 -0
- package/es/components/avatar/style/css.d.ts +0 -0
- package/es/components/avatar/style/css.mjs +3 -0
- package/es/components/avatar/style/css.mjs.map +1 -0
- package/es/components/avatar/style/index.d.ts +0 -0
- package/es/components/avatar/style/index.mjs +3 -0
- package/es/components/avatar/style/index.mjs.map +1 -0
- package/es/components/back-top/back-top.vue.d.ts +48 -0
- package/es/components/back-top/back-top.vue.mjs +5 -0
- package/es/components/back-top/back-top.vue.mjs.map +1 -0
- package/es/components/back-top/back-top.vue2.mjs +62 -0
- package/es/components/back-top/back-top.vue2.mjs.map +1 -0
- package/es/components/back-top/index.d.ts +47 -0
- package/es/components/back-top/index.mjs +9 -0
- package/es/components/back-top/index.mjs.map +1 -0
- package/es/components/back-top/style/css.d.ts +0 -0
- package/es/components/back-top/style/css.mjs +3 -0
- package/es/components/back-top/style/css.mjs.map +1 -0
- package/es/components/back-top/style/index.d.ts +0 -0
- package/es/components/back-top/style/index.mjs +3 -0
- package/es/components/back-top/style/index.mjs.map +1 -0
- package/es/components/back-top/types.d.ts +13 -0
- package/es/components/back-top/types.mjs +2 -0
- package/es/components/back-top/types.mjs.map +1 -0
- package/es/components/back-top/use-back-top.d.ts +5 -0
- package/es/components/back-top/use-back-top.mjs +32 -0
- package/es/components/back-top/use-back-top.mjs.map +1 -0
- package/es/components/base/style/css.d.ts +0 -0
- package/es/components/base/style/css.mjs +2 -0
- package/es/components/base/style/css.mjs.map +1 -0
- package/es/components/base/style/index.d.ts +0 -0
- package/es/components/base/style/index.mjs +2 -0
- package/es/components/base/style/index.mjs.map +1 -0
- package/es/components/divider/divider.vue.d.ts +53 -0
- package/es/components/divider/divider.vue.mjs +5 -0
- package/es/components/divider/divider.vue.mjs.map +1 -0
- package/es/components/divider/divider.vue2.mjs +44 -0
- package/es/components/divider/divider.vue2.mjs.map +1 -0
- package/es/components/divider/index.d.ts +52 -0
- package/es/components/divider/index.mjs +9 -0
- package/es/components/divider/index.mjs.map +1 -0
- package/es/components/divider/style/css.d.ts +0 -0
- package/es/components/divider/style/css.mjs +3 -0
- package/es/components/divider/style/css.mjs.map +1 -0
- package/es/components/divider/style/index.d.ts +0 -0
- package/es/components/divider/style/index.mjs +3 -0
- package/es/components/divider/style/index.mjs.map +1 -0
- package/es/components/divider/types.d.ts +2 -0
- package/es/components/divider/types.mjs +2 -0
- package/es/components/divider/types.mjs.map +1 -0
- package/es/components/empty/assets/no-collect.png.mjs +5 -0
- package/es/components/empty/assets/no-collect.png.mjs.map +1 -0
- package/es/components/empty/assets/no-data.png.mjs +5 -0
- package/es/components/empty/assets/no-data.png.mjs.map +1 -0
- package/es/components/empty/assets/no-filter.png.mjs +5 -0
- package/es/components/empty/assets/no-filter.png.mjs.map +1 -0
- package/es/components/empty/assets/no-page-data.png.mjs +5 -0
- package/es/components/empty/assets/no-page-data.png.mjs.map +1 -0
- package/es/components/empty/assets/no-search.png.mjs +5 -0
- package/es/components/empty/assets/no-search.png.mjs.map +1 -0
- package/es/components/empty/constants.d.ts +12 -0
- package/es/components/empty/constants.mjs +5 -0
- package/es/components/empty/constants.mjs.map +1 -0
- package/es/components/empty/empty.vue.d.ts +39 -0
- package/es/components/empty/empty.vue.mjs +5 -0
- package/es/components/empty/empty.vue.mjs.map +1 -0
- package/es/components/empty/empty.vue2.mjs +98 -0
- package/es/components/empty/empty.vue2.mjs.map +1 -0
- package/es/components/empty/index.d.ts +37 -0
- package/es/components/empty/index.mjs +11 -0
- package/es/components/empty/index.mjs.map +1 -0
- package/es/components/empty/style/css.d.ts +0 -0
- package/es/components/empty/style/css.mjs +3 -0
- package/es/components/empty/style/css.mjs.map +1 -0
- package/es/components/empty/style/index.d.ts +0 -0
- package/es/components/empty/style/index.mjs +3 -0
- package/es/components/empty/style/index.mjs.map +1 -0
- package/es/components/exception/exception.png.mjs +5 -0
- package/es/components/exception/exception.png.mjs.map +1 -0
- package/es/components/exception/exception.vue.d.ts +29 -0
- package/es/components/exception/exception.vue.mjs +5 -0
- package/es/components/exception/exception.vue.mjs.map +1 -0
- package/es/components/exception/exception.vue2.mjs +47 -0
- package/es/components/exception/exception.vue2.mjs.map +1 -0
- package/es/components/exception/index.d.ts +28 -0
- package/es/components/exception/index.mjs +9 -0
- package/es/components/exception/index.mjs.map +1 -0
- package/es/components/exception/style/css.d.ts +0 -0
- package/es/components/exception/style/css.mjs +3 -0
- package/es/components/exception/style/css.mjs.map +1 -0
- package/es/components/exception/style/index.d.ts +0 -0
- package/es/components/exception/style/index.mjs +3 -0
- package/es/components/exception/style/index.mjs.map +1 -0
- package/es/components/icon/icon.vue.d.ts +96 -0
- package/es/components/icon/icon.vue.mjs +5 -0
- package/es/components/icon/icon.vue.mjs.map +1 -0
- package/es/components/icon/icon.vue2.mjs +37 -0
- package/es/components/icon/icon.vue2.mjs.map +1 -0
- package/es/components/icon/index.d.ts +79 -0
- package/es/components/icon/index.mjs +9 -0
- package/es/components/icon/index.mjs.map +1 -0
- package/es/components/icon/style/css.d.ts +0 -0
- package/es/components/icon/style/css.mjs +3 -0
- package/es/components/icon/style/css.mjs.map +1 -0
- package/es/components/icon/style/index.d.ts +0 -0
- package/es/components/icon/style/index.mjs +3 -0
- package/es/components/icon/style/index.mjs.map +1 -0
- package/es/components/index.d.ts +6 -0
- package/es/components/index.mjs +17 -0
- package/es/components/index.mjs.map +1 -0
- package/es/components/result/index.d.ts +28 -0
- package/es/components/result/index.mjs +9 -0
- package/es/components/result/index.mjs.map +1 -0
- package/es/components/result/result.vue.d.ts +30 -0
- package/es/components/result/result.vue.mjs +5 -0
- package/es/components/result/result.vue.mjs.map +1 -0
- package/es/components/result/result.vue2.mjs +56 -0
- package/es/components/result/result.vue2.mjs.map +1 -0
- package/es/components/result/style/css.d.ts +0 -0
- package/es/components/result/style/css.mjs +3 -0
- package/es/components/result/style/css.mjs.map +1 -0
- package/es/components/result/style/index.d.ts +0 -0
- package/es/components/result/style/index.mjs +3 -0
- package/es/components/result/style/index.mjs.map +1 -0
- package/es/components/types.mjs +2 -0
- package/es/components/types.mjs.map +1 -0
- package/es/constants/aria.d.ts +17 -0
- package/es/constants/aria.mjs +25 -0
- package/es/constants/aria.mjs.map +1 -0
- package/es/constants/date.d.ts +3 -0
- package/es/constants/date.mjs +24 -0
- package/es/constants/date.mjs.map +1 -0
- package/es/constants/event.d.ts +3 -0
- package/es/constants/event.mjs +7 -0
- package/es/constants/event.mjs.map +1 -0
- package/es/constants/index.d.ts +5 -0
- package/es/constants/index.mjs +17 -0
- package/es/constants/index.mjs.map +1 -0
- package/es/constants/key.d.ts +1 -0
- package/es/constants/key.mjs +5 -0
- package/es/constants/key.mjs.map +1 -0
- package/es/constants/size.d.ts +7 -0
- package/es/constants/size.mjs +10 -0
- package/es/constants/size.mjs.map +1 -0
- package/es/defaults.d.ts +5 -0
- package/es/defaults.mjs +7 -0
- package/es/defaults.mjs.map +1 -0
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +7 -0
- package/es/hooks/index.mjs.map +1 -0
- package/es/hooks/use-namespace/index.d.ts +21 -0
- package/es/hooks/use-namespace/index.mjs +42 -0
- package/es/hooks/use-namespace/index.mjs.map +1 -0
- package/es/index.d.ts +9 -0
- package/es/index.mjs +44 -0
- package/es/index.mjs.map +1 -0
- package/es/make-installer.d.ts +5 -0
- package/es/make-installer.mjs +12 -0
- package/es/make-installer.mjs.map +1 -0
- package/es/package.json.mjs +5 -0
- package/es/package.json.mjs.map +1 -0
- package/es/style.css +1 -0
- package/es/theme-style/src/avatar.scss.mjs +5 -0
- package/es/theme-style/src/avatar.scss.mjs.map +1 -0
- package/es/theme-style/src/back-top.scss.mjs +5 -0
- package/es/theme-style/src/back-top.scss.mjs.map +1 -0
- package/es/theme-style/src/base.scss.mjs +5 -0
- package/es/theme-style/src/base.scss.mjs.map +1 -0
- package/es/theme-style/src/divider.scss.mjs +5 -0
- package/es/theme-style/src/divider.scss.mjs.map +1 -0
- package/es/theme-style/src/empty.scss.mjs +5 -0
- package/es/theme-style/src/empty.scss.mjs.map +1 -0
- package/es/theme-style/src/icon.scss.mjs +5 -0
- package/es/theme-style/src/icon.scss.mjs.map +1 -0
- package/es/theme-style/src/result.scss.mjs +5 -0
- package/es/theme-style/src/result.scss.mjs.map +1 -0
- package/es/utils/error.d.ts +3 -0
- package/es/utils/error.mjs +20 -0
- package/es/utils/error.mjs.map +1 -0
- package/es/utils/helper.d.ts +1 -0
- package/es/utils/helper.mjs +5 -0
- package/es/utils/helper.mjs.map +1 -0
- package/es/utils/index.d.ts +3 -0
- package/es/utils/index.mjs +13 -0
- package/es/utils/index.mjs.map +1 -0
- package/es/utils/vue/index.d.ts +2 -0
- package/es/utils/vue/index.mjs +8 -0
- package/es/utils/vue/index.mjs.map +1 -0
- package/es/utils/vue/install.d.ts +6 -0
- package/es/utils/vue/install.mjs +21 -0
- package/es/utils/vue/install.mjs.map +1 -0
- package/es/utils/vue/typescript.d.ts +5 -0
- package/es/utils/vue/typescript.mjs +2 -0
- package/es/utils/vue/typescript.mjs.map +1 -0
- package/lib/component.d.ts +3 -0
- package/lib/component.js +2 -0
- package/lib/component.js.map +1 -0
- package/lib/components/avatar/avatar.vue.d.ts +64 -0
- package/lib/components/avatar/avatar.vue.js +2 -0
- package/lib/components/avatar/avatar.vue.js.map +1 -0
- package/lib/components/avatar/avatar.vue2.js +2 -0
- package/lib/components/avatar/avatar.vue2.js.map +1 -0
- package/lib/components/avatar/index.d.ts +62 -0
- package/lib/components/avatar/index.js +2 -0
- package/lib/components/avatar/index.js.map +1 -0
- package/lib/components/avatar/style/css.d.ts +0 -0
- package/lib/components/avatar/style/css.js +2 -0
- package/lib/components/avatar/style/css.js.map +1 -0
- package/lib/components/avatar/style/index.d.ts +0 -0
- package/lib/components/avatar/style/index.js +2 -0
- package/lib/components/avatar/style/index.js.map +1 -0
- package/lib/components/back-top/back-top.vue.d.ts +48 -0
- package/lib/components/back-top/back-top.vue.js +2 -0
- package/lib/components/back-top/back-top.vue.js.map +1 -0
- package/lib/components/back-top/back-top.vue2.js +2 -0
- package/lib/components/back-top/back-top.vue2.js.map +1 -0
- package/lib/components/back-top/index.d.ts +47 -0
- package/lib/components/back-top/index.js +2 -0
- package/lib/components/back-top/index.js.map +1 -0
- package/lib/components/back-top/style/css.d.ts +0 -0
- package/lib/components/back-top/style/css.js +2 -0
- package/lib/components/back-top/style/css.js.map +1 -0
- package/lib/components/back-top/style/index.d.ts +0 -0
- package/lib/components/back-top/style/index.js +2 -0
- package/lib/components/back-top/style/index.js.map +1 -0
- package/lib/components/back-top/types.d.ts +13 -0
- package/lib/components/back-top/types.js +2 -0
- package/lib/components/back-top/types.js.map +1 -0
- package/lib/components/back-top/use-back-top.d.ts +5 -0
- package/lib/components/back-top/use-back-top.js +2 -0
- package/lib/components/back-top/use-back-top.js.map +1 -0
- package/lib/components/base/style/css.d.ts +0 -0
- package/lib/components/base/style/css.js +2 -0
- package/lib/components/base/style/css.js.map +1 -0
- package/lib/components/base/style/index.d.ts +0 -0
- package/lib/components/base/style/index.js +2 -0
- package/lib/components/base/style/index.js.map +1 -0
- package/lib/components/divider/divider.vue.d.ts +53 -0
- package/lib/components/divider/divider.vue.js +2 -0
- package/lib/components/divider/divider.vue.js.map +1 -0
- package/lib/components/divider/divider.vue2.js +2 -0
- package/lib/components/divider/divider.vue2.js.map +1 -0
- package/lib/components/divider/index.d.ts +52 -0
- package/lib/components/divider/index.js +2 -0
- package/lib/components/divider/index.js.map +1 -0
- package/lib/components/divider/style/css.d.ts +0 -0
- package/lib/components/divider/style/css.js +2 -0
- package/lib/components/divider/style/css.js.map +1 -0
- package/lib/components/divider/style/index.d.ts +0 -0
- package/lib/components/divider/style/index.js +2 -0
- package/lib/components/divider/style/index.js.map +1 -0
- package/lib/components/divider/types.d.ts +2 -0
- package/lib/components/divider/types.js +2 -0
- package/lib/components/divider/types.js.map +1 -0
- package/lib/components/empty/assets/no-collect.png.js +2 -0
- package/lib/components/empty/assets/no-collect.png.js.map +1 -0
- package/lib/components/empty/assets/no-data.png.js +2 -0
- package/lib/components/empty/assets/no-data.png.js.map +1 -0
- package/lib/components/empty/assets/no-filter.png.js +2 -0
- package/lib/components/empty/assets/no-filter.png.js.map +1 -0
- package/lib/components/empty/assets/no-page-data.png.js +2 -0
- package/lib/components/empty/assets/no-page-data.png.js.map +1 -0
- package/lib/components/empty/assets/no-search.png.js +2 -0
- package/lib/components/empty/assets/no-search.png.js.map +1 -0
- package/lib/components/empty/constants.d.ts +12 -0
- package/lib/components/empty/constants.js +2 -0
- package/lib/components/empty/constants.js.map +1 -0
- package/lib/components/empty/empty.vue.d.ts +39 -0
- package/lib/components/empty/empty.vue.js +2 -0
- package/lib/components/empty/empty.vue.js.map +1 -0
- package/lib/components/empty/empty.vue2.js +2 -0
- package/lib/components/empty/empty.vue2.js.map +1 -0
- package/lib/components/empty/index.d.ts +37 -0
- package/lib/components/empty/index.js +2 -0
- package/lib/components/empty/index.js.map +1 -0
- package/lib/components/empty/style/css.d.ts +0 -0
- package/lib/components/empty/style/css.js +2 -0
- package/lib/components/empty/style/css.js.map +1 -0
- package/lib/components/empty/style/index.d.ts +0 -0
- package/lib/components/empty/style/index.js +2 -0
- package/lib/components/empty/style/index.js.map +1 -0
- package/lib/components/exception/exception.png.js +2 -0
- package/lib/components/exception/exception.png.js.map +1 -0
- package/lib/components/exception/exception.vue.d.ts +29 -0
- package/lib/components/exception/exception.vue.js +2 -0
- package/lib/components/exception/exception.vue.js.map +1 -0
- package/lib/components/exception/exception.vue2.js +2 -0
- package/lib/components/exception/exception.vue2.js.map +1 -0
- package/lib/components/exception/index.d.ts +28 -0
- package/lib/components/exception/index.js +2 -0
- package/lib/components/exception/index.js.map +1 -0
- package/lib/components/exception/style/css.d.ts +0 -0
- package/lib/components/exception/style/css.js +2 -0
- package/lib/components/exception/style/css.js.map +1 -0
- package/lib/components/exception/style/index.d.ts +0 -0
- package/lib/components/exception/style/index.js +2 -0
- package/lib/components/exception/style/index.js.map +1 -0
- package/lib/components/icon/icon.vue.d.ts +96 -0
- package/lib/components/icon/icon.vue.js +2 -0
- package/lib/components/icon/icon.vue.js.map +1 -0
- package/lib/components/icon/icon.vue2.js +2 -0
- package/lib/components/icon/icon.vue2.js.map +1 -0
- package/lib/components/icon/index.d.ts +79 -0
- package/lib/components/icon/index.js +2 -0
- package/lib/components/icon/index.js.map +1 -0
- package/lib/components/icon/style/css.d.ts +0 -0
- package/lib/components/icon/style/css.js +2 -0
- package/lib/components/icon/style/css.js.map +1 -0
- package/lib/components/icon/style/index.d.ts +0 -0
- package/lib/components/icon/style/index.js +2 -0
- package/lib/components/icon/style/index.js.map +1 -0
- package/lib/components/index.d.ts +6 -0
- package/lib/components/index.js +2 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/result/index.d.ts +28 -0
- package/lib/components/result/index.js +2 -0
- package/lib/components/result/index.js.map +1 -0
- package/lib/components/result/result.vue.d.ts +30 -0
- package/lib/components/result/result.vue.js +2 -0
- package/lib/components/result/result.vue.js.map +1 -0
- package/lib/components/result/result.vue2.js +2 -0
- package/lib/components/result/result.vue2.js.map +1 -0
- package/lib/components/result/style/css.d.ts +0 -0
- package/lib/components/result/style/css.js +2 -0
- package/lib/components/result/style/css.js.map +1 -0
- package/lib/components/result/style/index.d.ts +0 -0
- package/lib/components/result/style/index.js +2 -0
- package/lib/components/result/style/index.js.map +1 -0
- package/lib/components/types.d.ts +1 -0
- package/lib/components/types.js +2 -0
- package/lib/components/types.js.map +1 -0
- package/lib/constants/aria.d.ts +17 -0
- package/lib/constants/aria.js +2 -0
- package/lib/constants/aria.js.map +1 -0
- package/lib/constants/date.d.ts +3 -0
- package/lib/constants/date.js +2 -0
- package/lib/constants/date.js.map +1 -0
- package/lib/constants/event.d.ts +3 -0
- package/lib/constants/event.js +2 -0
- package/lib/constants/event.js.map +1 -0
- package/lib/constants/index.d.ts +5 -0
- package/lib/constants/index.js +2 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/constants/key.d.ts +1 -0
- package/lib/constants/key.js +2 -0
- package/lib/constants/key.js.map +1 -0
- package/lib/constants/size.d.ts +7 -0
- package/lib/constants/size.js +2 -0
- package/lib/constants/size.js.map +1 -0
- package/lib/defaults.d.ts +5 -0
- package/lib/defaults.js +2 -0
- package/lib/defaults.js.map +1 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/index.js.map +1 -0
- package/lib/hooks/use-namespace/index.d.ts +21 -0
- package/lib/hooks/use-namespace/index.js +2 -0
- package/lib/hooks/use-namespace/index.js.map +1 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/lib/make-installer.d.ts +5 -0
- package/lib/make-installer.js +2 -0
- package/lib/make-installer.js.map +1 -0
- package/lib/package.json.js +2 -0
- package/lib/package.json.js.map +1 -0
- package/lib/theme-style/src/avatar.scss.js +2 -0
- package/lib/theme-style/src/avatar.scss.js.map +1 -0
- package/lib/theme-style/src/back-top.scss.js +2 -0
- package/lib/theme-style/src/back-top.scss.js.map +1 -0
- package/lib/theme-style/src/base.scss.js +2 -0
- package/lib/theme-style/src/base.scss.js.map +1 -0
- package/lib/theme-style/src/divider.scss.js +2 -0
- package/lib/theme-style/src/divider.scss.js.map +1 -0
- package/lib/theme-style/src/empty.scss.js +2 -0
- package/lib/theme-style/src/empty.scss.js.map +1 -0
- package/lib/theme-style/src/icon.scss.js +2 -0
- package/lib/theme-style/src/icon.scss.js.map +1 -0
- package/lib/theme-style/src/result.scss.js +2 -0
- package/lib/theme-style/src/result.scss.js.map +1 -0
- package/lib/utils/error.d.ts +3 -0
- package/lib/utils/error.js +2 -0
- package/lib/utils/error.js.map +1 -0
- package/lib/utils/helper.d.ts +1 -0
- package/lib/utils/helper.js +2 -0
- package/lib/utils/helper.js.map +1 -0
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.js +2 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/vue/index.d.ts +2 -0
- package/lib/utils/vue/index.js +2 -0
- package/lib/utils/vue/index.js.map +1 -0
- package/lib/utils/vue/install.d.ts +6 -0
- package/lib/utils/vue/install.js +2 -0
- package/lib/utils/vue/install.js.map +1 -0
- package/lib/utils/vue/typescript.d.ts +5 -0
- package/lib/utils/vue/typescript.js +2 -0
- package/lib/utils/vue/typescript.js.map +1 -0
- package/package.json +50 -44
- package/theme-style/base.css +1 -0
- package/theme-style/dark/css-vars.css +1 -0
- package/theme-style/index.css +1 -0
- package/{src/web/avatar/index.scss → theme-style/src/avatar.scss} +7 -4
- package/{src/web/back-top/index.scss → theme-style/src/back-top.scss} +3 -6
- package/theme-style/src/base.scss +2 -0
- package/theme-style/src/color/index.scss +17 -0
- package/theme-style/src/common/transition.scss +128 -0
- package/theme-style/src/common/var.scss +841 -0
- package/theme-style/src/dark/css-vars.scss +41 -0
- package/theme-style/src/dark/var.scss +221 -0
- package/{src/web/divider/index.scss → theme-style/src/divider.scss} +4 -1
- package/{src/web/empty/index.scss → theme-style/src/empty.scss} +3 -10
- package/{src/web/full-screen/index.scss → theme-style/src/full-screen.scss} +3 -0
- package/{src/common/icon/index.scss → theme-style/src/icon.scss} +2 -1
- package/{src/web/image/index.scss → theme-style/src/image.scss} +3 -0
- package/theme-style/src/index.scss +7 -0
- package/{src/web/input/index.scss → theme-style/src/input.scss} +3 -0
- package/theme-style/src/mixins/_var.scss +91 -0
- package/theme-style/src/mixins/config.scss +5 -0
- package/theme-style/src/mixins/function.scss +86 -0
- package/theme-style/src/mixins/mixins.scss +258 -0
- package/{src/web/result/index.scss → theme-style/src/result.scss} +3 -9
- package/theme-style/src/var.scss +73 -0
- package/theme-style/vft-avatar.css +1 -0
- package/theme-style/vft-back-top.css +1 -0
- package/theme-style/vft-divider.css +1 -0
- package/theme-style/vft-empty.css +1 -0
- package/theme-style/vft-full-screen.css +1 -0
- package/theme-style/vft-icon.css +1 -0
- package/theme-style/vft-image.css +1 -0
- package/theme-style/vft-input.css +1 -0
- package/theme-style/vft-result.css +1 -0
- package/theme-style/vft-var.css +1 -0
- package/theme-style/vft-virtual-list.css +1 -0
- package/src/app/index.ts +0 -3
- package/src/app/page-loading/assets/spin.gif +0 -0
- package/src/app/page-loading/index.less +0 -10
- package/src/app/page-loading/index.ts +0 -3
- package/src/app/page-loading/index.vue +0 -38
- package/src/app/table/assets/sort_triangle.png +0 -0
- package/src/app/table/demos/basic.vue +0 -117
- package/src/app/table/demos/complex.vue +0 -2543
- package/src/app/table/demos/index.vue +0 -453
- package/src/app/table/demos/rightAngle.png +0 -0
- package/src/app/table/header.vue +0 -203
- package/src/app/table/index.less +0 -119
- package/src/app/table/index.ts +0 -5
- package/src/app/table/index.vue +0 -478
- package/src/app/table/md/api.md +0 -23
- package/src/app/table/md/demo.md +0 -3
- package/src/app/table/types.ts +0 -45
- package/src/common/badge/index.scss +0 -78
- package/src/common/badge/index.ts +0 -4
- package/src/common/badge/index.vue +0 -111
- package/src/common/badge/types.ts +0 -1
- package/src/common/clamp/clamp-toggle.vue +0 -91
- package/src/common/clamp/index.ts +0 -4
- package/src/common/clamp/index.vue +0 -247
- package/src/common/code/index.less +0 -321
- package/src/common/code/index.ts +0 -3
- package/src/common/code/index.vue +0 -60
- package/src/common/config-provider/index.ts +0 -4
- package/src/common/config-provider/index.vue +0 -94
- package/src/common/config-provider/types.ts +0 -29
- package/src/common/icon/iconfont/iconfont.css +0 -334
- package/src/common/icon/index.ts +0 -4
- package/src/common/icon/index.vue +0 -74
- package/src/common/icon/types.ts +0 -16
- package/src/common/index.ts +0 -6
- package/src/common/message/index.ts +0 -5
- package/src/common/message/instance.ts +0 -29
- package/src/common/message/message.scss +0 -108
- package/src/common/message/message.ts +0 -80
- package/src/common/message/message.vue +0 -162
- package/src/common/message/method.ts +0 -172
- package/src/common/overlay/index.scss +0 -14
- package/src/common/overlay/index.ts +0 -3
- package/src/common/overlay/index.vue +0 -117
- package/src/constants/comp.ts +0 -1
- package/src/constants/index.ts +0 -1
- package/src/index.ts +0 -3
- package/src/page/index.ts +0 -1
- package/src/page/page-wrapper/index.scss +0 -31
- package/src/page/page-wrapper/index.ts +0 -5
- package/src/page/page-wrapper/index.vue +0 -31
- package/src/styles/vars.scss +0 -500
- package/src/use/index.ts +0 -14
- package/src/use/onPopupReopen.ts +0 -15
- package/src/use/use-delayed-toggle/index.ts +0 -30
- package/src/use/use-floating/index.ts +0 -121
- package/src/use/use-forward-ref.ts +0 -35
- package/src/use/use-global-config/index.ts +0 -81
- package/src/use/use-id/index.ts +0 -43
- package/src/use/use-model-toggle/index.ts +0 -151
- package/src/use/use-namespace/index.ts +0 -91
- package/src/use/use-ordered-children/index.ts +0 -43
- package/src/use/use-popper-container/index.ts +0 -43
- package/src/use/use-timeout/index.ts +0 -18
- package/src/use/use-z-index/index.ts +0 -20
- package/src/use/useGlobalZIndex.ts +0 -24
- package/src/use/useLazyRender.ts +0 -17
- package/src/use/useLockScroll.ts +0 -66
- package/src/utils/aria.ts +0 -126
- package/src/utils/arrays.ts +0 -13
- package/src/utils/error.ts +0 -23
- package/src/utils/event.ts +0 -15
- package/src/utils/helper.ts +0 -7
- package/src/utils/index.ts +0 -8
- package/src/utils/interceptor.ts +0 -39
- package/src/utils/mount-component.ts +0 -65
- package/src/utils/popper.ts +0 -6
- package/src/utils/rand.ts +0 -12
- package/src/utils/scroll.ts +0 -101
- package/src/utils/vnode.ts +0 -169
- package/src/web/avatar/index.ts +0 -3
- package/src/web/avatar/index.vue +0 -83
- package/src/web/back-top/index.ts +0 -3
- package/src/web/back-top/index.vue +0 -72
- package/src/web/back-top/types.ts +0 -14
- package/src/web/back-top/use-back-top.ts +0 -65
- package/src/web/cascader/index.scss +0 -214
- package/src/web/cascader/index.ts +0 -5
- package/src/web/cascader/index.vue +0 -767
- package/src/web/cascader-panel/config.ts +0 -44
- package/src/web/cascader-panel/index.scss +0 -134
- package/src/web/cascader-panel/index.ts +0 -5
- package/src/web/cascader-panel/index.vue +0 -319
- package/src/web/cascader-panel/menu.vue +0 -135
- package/src/web/cascader-panel/node-content.ts +0 -23
- package/src/web/cascader-panel/node.ts +0 -218
- package/src/web/cascader-panel/node.vue +0 -197
- package/src/web/cascader-panel/store.ts +0 -83
- package/src/web/cascader-panel/types.ts +0 -56
- package/src/web/cascader-panel/utils.ts +0 -40
- package/src/web/cascader-select/README.md +0 -31
- package/src/web/cascader-select/index.scss +0 -54
- package/src/web/cascader-select/index.ts +0 -5
- package/src/web/cascader-select/index.vue +0 -132
- package/src/web/cascader-select/types.ts +0 -9
- package/src/web/context-menu/createContextMenu.ts +0 -72
- package/src/web/context-menu/index.ts +0 -4
- package/src/web/context-menu/index.vue +0 -89
- package/src/web/context-menu/types.ts +0 -27
- package/src/web/context-menu/useContextMenu.ts +0 -14
- package/src/web/descriptions/description-item.vue +0 -34
- package/src/web/descriptions/description.vue +0 -124
- package/src/web/descriptions/descriptions-cell.ts +0 -95
- package/src/web/descriptions/descriptions-item.scss +0 -68
- package/src/web/descriptions/descriptions-row.vue +0 -49
- package/src/web/descriptions/descriptions.scss +0 -153
- package/src/web/descriptions/descriptions.type.ts +0 -19
- package/src/web/descriptions/index.ts +0 -4
- package/src/web/descriptions/token.ts +0 -4
- package/src/web/divider/index.ts +0 -5
- package/src/web/divider/index.vue +0 -60
- package/src/web/divider/types.ts +0 -2
- package/src/web/empty/assets/no-collect.png +0 -0
- package/src/web/empty/assets/no-data.png +0 -0
- package/src/web/empty/assets/no-filter.png +0 -0
- package/src/web/empty/assets/no-page-data.png +0 -0
- package/src/web/empty/assets/no-search.png +0 -0
- package/src/web/empty/constants.ts +0 -12
- package/src/web/empty/index.ts +0 -5
- package/src/web/empty/index.vue +0 -96
- package/src/web/exception/exception.png +0 -0
- package/src/web/exception/index.ts +0 -3
- package/src/web/exception/index.vue +0 -44
- package/src/web/filter/README.md +0 -25
- package/src/web/filter/index.scss +0 -14
- package/src/web/filter/index.ts +0 -5
- package/src/web/filter/index.vue +0 -60
- package/src/web/filter/type.ts +0 -13
- package/src/web/focus-trap/index.ts +0 -6
- package/src/web/focus-trap/index.vue +0 -328
- package/src/web/focus-trap/tokens.ts +0 -23
- package/src/web/focus-trap/utils.ts +0 -178
- package/src/web/full-screen/index.ts +0 -3
- package/src/web/full-screen/index.vue +0 -24
- package/src/web/icon-text/index.ts +0 -3
- package/src/web/icon-text/index.vue +0 -77
- package/src/web/image/index.ts +0 -5
- package/src/web/image/index.vue +0 -251
- package/src/web/image/types.ts +0 -1
- package/src/web/index.ts +0 -33
- package/src/web/input/index.ts +0 -3
- package/src/web/input/index.vue +0 -533
- package/src/web/input/utils.ts +0 -102
- package/src/web/layouts/blank.vue +0 -4
- package/src/web/layouts/footer/index.scss +0 -31
- package/src/web/layouts/footer/index.ts +0 -3
- package/src/web/layouts/footer/index.vue +0 -38
- package/src/web/layouts/header/index.scss +0 -35
- package/src/web/layouts/header/index.ts +0 -3
- package/src/web/layouts/header/index.vue +0 -47
- package/src/web/layouts/iframe/index.scss +0 -18
- package/src/web/layouts/iframe/index.vue +0 -36
- package/src/web/layouts/iframe/page.vue +0 -30
- package/src/web/layouts/index.ts +0 -8
- package/src/web/layouts/router-view-content/index.vue +0 -70
- package/src/web/link/index.scss +0 -95
- package/src/web/link/index.ts +0 -3
- package/src/web/link/index.vue +0 -68
- package/src/web/loading/directive.ts +0 -104
- package/src/web/loading/index.ts +0 -6
- package/src/web/loading/loading.scss +0 -108
- package/src/web/loading/loading.ts +0 -156
- package/src/web/loading/service.ts +0 -145
- package/src/web/loading/types.ts +0 -29
- package/src/web/logo/index.scss +0 -31
- package/src/web/logo/index.ts +0 -5
- package/src/web/logo/index.vue +0 -45
- package/src/web/logo/types.ts +0 -6
- package/src/web/menu/index.scss +0 -336
- package/src/web/menu/index.ts +0 -8
- package/src/web/menu/menu-collapse-transition.vue +0 -62
- package/src/web/menu/menu-item-group.vue +0 -27
- package/src/web/menu/menu-item.vue +0 -126
- package/src/web/menu/menu.vue +0 -459
- package/src/web/menu/sub-menu.vue +0 -440
- package/src/web/menu/types.ts +0 -66
- package/src/web/menu/use-menu-css-var.ts +0 -11
- package/src/web/menu/use-menu.ts +0 -60
- package/src/web/menu/utils/menu-bar.ts +0 -19
- package/src/web/menu/utils/menu-item.ts +0 -55
- package/src/web/menu/utils/submenu.ts +0 -66
- package/src/web/multiple-select-flat/index.ts +0 -5
- package/src/web/multiple-select-flat/index.vue +0 -53
- package/src/web/multiple-select-flat/types.ts +0 -5
- package/src/web/multiple-tabs/index.scss +0 -16
- package/src/web/multiple-tabs/index.ts +0 -5
- package/src/web/multiple-tabs/index.vue +0 -193
- package/src/web/multiple-tabs/tab-content.vue +0 -40
- package/src/web/multiple-tabs/types.ts +0 -3
- package/src/web/multiple-tabs/use/index.ts +0 -2
- package/src/web/multiple-tabs/use/use-multiple-tabs.ts +0 -86
- package/src/web/multiple-tabs/use/use-tab-dropdown.ts +0 -101
- package/src/web/nodata/README.md +0 -42
- package/src/web/nodata/fail.vue +0 -13
- package/src/web/nodata/img/100.png +0 -0
- package/src/web/nodata/img/101.png +0 -0
- package/src/web/nodata/img/102.png +0 -0
- package/src/web/nodata/img/103.png +0 -0
- package/src/web/nodata/img/104.png +0 -0
- package/src/web/nodata/img/105.png +0 -0
- package/src/web/nodata/img/106.png +0 -0
- package/src/web/nodata/img/107.png +0 -0
- package/src/web/nodata/img/200.png +0 -0
- package/src/web/nodata/img/201.png +0 -0
- package/src/web/nodata/img/202.png +0 -0
- package/src/web/nodata/img/203.png +0 -0
- package/src/web/nodata/index.scss +0 -37
- package/src/web/nodata/index.ts +0 -6
- package/src/web/nodata/index.vue +0 -46
- package/src/web/nodata/types.ts +0 -17
- package/src/web/only-child/index.tsx +0 -69
- package/src/web/pagination/components/jumper.vue +0 -49
- package/src/web/pagination/components/next.vue +0 -40
- package/src/web/pagination/components/pager.vue +0 -215
- package/src/web/pagination/components/prev.vue +0 -35
- package/src/web/pagination/components/sizes.vue +0 -76
- package/src/web/pagination/components/total.vue +0 -21
- package/src/web/pagination/index.scss +0 -231
- package/src/web/pagination/index.ts +0 -5
- package/src/web/pagination/pagination.ts +0 -363
- package/src/web/pagination/usePagination.ts +0 -13
- package/src/web/popover/directive.ts +0 -21
- package/src/web/popover/index.scss +0 -58
- package/src/web/popover/index.ts +0 -3
- package/src/web/popover/index.vue +0 -161
- package/src/web/popover/types.ts +0 -26
- package/src/web/popper/arrow.vue +0 -45
- package/src/web/popper/content.vue +0 -311
- package/src/web/popper/index.scss +0 -108
- package/src/web/popper/index.ts +0 -11
- package/src/web/popper/popper.vue +0 -57
- package/src/web/popper/tokens.ts +0 -28
- package/src/web/popper/trigger.vue +0 -166
- package/src/web/popper/types.ts +0 -49
- package/src/web/popper/utils.ts +0 -81
- package/src/web/qrcode/drawCanvas.ts +0 -32
- package/src/web/qrcode/drawLogo.ts +0 -82
- package/src/web/qrcode/index.ts +0 -5
- package/src/web/qrcode/index.vue +0 -107
- package/src/web/qrcode/qrcodePlus.ts +0 -4
- package/src/web/qrcode/toCanvas.ts +0 -11
- package/src/web/qrcode/types.ts +0 -38
- package/src/web/result/index.ts +0 -3
- package/src/web/result/index.vue +0 -63
- package/src/web/scrollbar/bar.vue +0 -48
- package/src/web/scrollbar/index.scss +0 -91
- package/src/web/scrollbar/index.ts +0 -5
- package/src/web/scrollbar/index.vue +0 -236
- package/src/web/scrollbar/thumb.vue +0 -183
- package/src/web/scrollbar/tokens.ts +0 -10
- package/src/web/scrollbar/types.ts +0 -7
- package/src/web/scrollbar/util.ts +0 -38
- package/src/web/select/constants.ts +0 -13
- package/src/web/select/index.ts +0 -11
- package/src/web/select/index.vue +0 -555
- package/src/web/select/option-group.scss +0 -49
- package/src/web/select/option-group.vue +0 -97
- package/src/web/select/option-item.scss +0 -66
- package/src/web/select/option.scss +0 -32
- package/src/web/select/option.vue +0 -110
- package/src/web/select/select-dropdown.scss +0 -86
- package/src/web/select/select-dropdown.vue +0 -51
- package/src/web/select/select.scss +0 -213
- package/src/web/select/token.ts +0 -56
- package/src/web/select/useOption.ts +0 -146
- package/src/web/select/useSelect.ts +0 -942
- package/src/web/select/utils.ts +0 -5
- package/src/web/side-menu/index.scss +0 -66
- package/src/web/side-menu/index.ts +0 -4
- package/src/web/side-menu/index.vue +0 -228
- package/src/web/side-menu/types.ts +0 -20
- package/src/web/single-select/index.scss +0 -60
- package/src/web/single-select/index.ts +0 -5
- package/src/web/single-select/index.vue +0 -70
- package/src/web/single-select/select@2x.png +0 -0
- package/src/web/single-select/types.ts +0 -5
- package/src/web/svg/index.ts +0 -3
- package/src/web/svg/index.vue +0 -22
- package/src/web/tabs/index.scss +0 -579
- package/src/web/tabs/index.ts +0 -6
- package/src/web/tabs/index.vue +0 -236
- package/src/web/tabs/tab-bar.vue +0 -90
- package/src/web/tabs/tab-nav.vue +0 -403
- package/src/web/tabs/tab-pane.vue +0 -90
- package/src/web/tabs/types.ts +0 -66
- package/src/web/tag/index.scss +0 -182
- package/src/web/tag/index.ts +0 -5
- package/src/web/tag/index.vue +0 -78
- package/src/web/tag/types.ts +0 -2
- package/src/web/tooltip/content.vue +0 -239
- package/src/web/tooltip/index.ts +0 -4
- package/src/web/tooltip/tokens.ts +0 -21
- package/src/web/tooltip/tooltip.vue +0 -270
- package/src/web/tooltip/trigger.vue +0 -119
- package/src/web/tooltip/types.ts +0 -56
- package/src/web/tooltip/utils.ts +0 -20
- package/src/web/transition/collapse-transition.vue +0 -73
- package/src/web/transition/index.ts +0 -5
- package/tsconfig.json +0 -8
- package/types/index.d.ts +0 -286
- /package/{types/component.ts → es/components/types.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"result.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vft/utils");class n extends Error{constructor(o){super(o),this.name="VriError"}}function i(r,o){throw new n(`[${r}] ${o}`)}function s(r,o){if(process.env.NODE_ENV!=="production"){const t=e.isString(r)?new n(`[${r}] ${o}`):r;console.warn(t)}}exports.debugWarn=s;exports.throwError=i;
|
|
2
|
+
//# sourceMappingURL=error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.js","sources":["../../../../packages/utils/error.ts"],"sourcesContent":["import { isString } from '@vft/utils';\n\nclass VriError extends Error {\n constructor(m: string) {\n super(m);\n this.name = 'VriError';\n }\n}\n\nexport function throwError(scope: string, m: string): never {\n throw new VriError(`[${scope}] ${m}`);\n}\n\nexport function debugWarn(err: Error): void;\nexport function debugWarn(scope: string, message: string): void;\nexport function debugWarn(scope: string | Error, message?: string): void {\n if (process.env.NODE_ENV !== 'production') {\n const error: Error = isString(scope) ? new VriError(`[${scope}] ${message}`) : scope;\n console.warn(error);\n }\n}\n"],"names":["VriError","m","throwError","scope","debugWarn","message","error","isString"],"mappings":"8GAEA,MAAMA,UAAiB,KAAM,CAC3B,YAAYC,EAAW,CACrB,MAAMA,CAAC,EACP,KAAK,KAAO,UACd,CACF,CAEgB,SAAAC,EAAWC,EAAeF,EAAkB,CAC1D,MAAM,IAAID,EAAS,IAAIG,MAAUF,GAAG,CACtC,CAIgB,SAAAG,EAAUD,EAAuBE,EAAwB,CACnE,GAAA,QAAQ,IAAI,WAAa,aAAc,CACnC,MAAAC,EAAeC,WAASJ,CAAK,EAAI,IAAIH,EAAS,IAAIG,MAAUE,GAAS,EAAIF,EAC/E,QAAQ,KAAKG,CAAK,CACpB,CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getSizeType: (type: string) => string | false;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.js","sources":["../../../../packages/utils/helper.ts"],"sourcesContent":["export const getSizeType = (type: string) => {\n\tconst typeList = ['large', 'small'];\n\tif (typeList.includes(type)) {\n\t\treturn type;\n\t}\n\treturn false;\n};\n"],"names":["getSizeType","type"],"mappings":"gFAAa,MAAAA,EAAeC,GACV,CAAC,QAAS,OAAO,EACrB,SAASA,CAAI,EAClBA,EAED"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./vue/install.js"),r=require("./helper.js"),e=require("./error.js");exports.withInstall=t.withInstall;exports.withInstallDirective=t.withInstallDirective;exports.withInstallFunction=t.withInstallFunction;exports.withNoopInstall=t.withNoopInstall;exports.getSizeType=r.getSizeType;exports.debugWarn=e.debugWarn;exports.throwError=e.throwError;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./install.js");exports.withInstall=t.withInstall;exports.withInstallDirective=t.withInstallDirective;exports.withInstallFunction=t.withInstallFunction;exports.withNoopInstall=t.withNoopInstall;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
import type { SFCInstallWithContext, SFCWithInstall } from './typescript';
|
|
3
|
+
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E | undefined) => SFCWithInstall<T> & E;
|
|
4
|
+
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
|
|
5
|
+
export declare const withInstallDirective: <T extends Directive<any, any>>(directive: T, name: string) => SFCWithInstall<T>;
|
|
6
|
+
export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vue/shared"),s=(t,n)=>{if(t.install=l=>{for(const o of[t,...Object.values(n??{})])l.component(o.name,o)},n)for(const[l,o]of Object.entries(n))t[l]=o;return t},i=(t,n)=>(t.install=l=>{t._context=l._context,l.config.globalProperties[n]=t},t),c=(t,n)=>(t.install=l=>{l.directive(n,t)},t),r=t=>(t.install=e.NOOP,t);exports.withInstall=s;exports.withInstallDirective=c;exports.withInstallFunction=i;exports.withNoopInstall=r;
|
|
2
|
+
//# sourceMappingURL=install.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.js","sources":["../../../../../packages/utils/vue/install.ts"],"sourcesContent":["import { NOOP } from '@vue/shared'\n\nimport type { App, Directive } from 'vue'\nimport type { SFCInstallWithContext, SFCWithInstall } from './typescript'\n\nexport const withInstall = <T, E extends Record<string, any>>(\n main: T,\n extra?: E\n) => {\n ;(main as SFCWithInstall<T>).install = (app): void => {\n for (const comp of [main, ...Object.values(extra ?? {})]) {\n app.component(comp.name, comp)\n }\n }\n\n if (extra) {\n for (const [key, comp] of Object.entries(extra)) {\n ;(main as any)[key] = comp\n }\n }\n return main as SFCWithInstall<T> & E\n}\n\nexport const withInstallFunction = <T>(fn: T, name: string) => {\n ;(fn as SFCWithInstall<T>).install = (app: App) => {\n ;(fn as SFCInstallWithContext<T>)._context = app._context\n app.config.globalProperties[name] = fn\n }\n\n return fn as SFCInstallWithContext<T>\n}\n\nexport const withInstallDirective = <T extends Directive>(\n directive: T,\n name: string\n) => {\n ;(directive as SFCWithInstall<T>).install = (app: App): void => {\n app.directive(name, directive)\n }\n\n return directive as SFCWithInstall<T>\n}\n\nexport const withNoopInstall = <T>(component: T) => {\n ;(component as SFCWithInstall<T>).install = NOOP\n\n return component as SFCWithInstall<T>\n}\n"],"names":["withInstall","main","extra","app","comp","key","withInstallFunction","fn","name","withInstallDirective","directive","withNoopInstall","component","NOOP"],"mappings":"+GAKaA,EAAc,CACzBC,EACAC,IACG,CAOH,GANED,EAA2B,QAAWE,GAAc,CACzC,UAAAC,IAAQ,CAACH,EAAM,GAAG,OAAO,OAAOC,GAAS,CAAE,CAAA,CAAC,EACjDC,EAAA,UAAUC,EAAK,KAAMA,CAAI,CAC/B,EAGEF,EACF,SAAW,CAACG,EAAKD,CAAI,IAAK,OAAO,QAAQF,CAAK,EAC1CD,EAAaI,CAAG,EAAID,EAGnB,OAAAH,CACT,EAEaK,EAAsB,CAAIC,EAAOC,KAC1CD,EAAyB,QAAWJ,GAAa,CAC/CI,EAAgC,SAAWJ,EAAI,SAC7CA,EAAA,OAAO,iBAAiBK,CAAI,EAAID,CAAA,EAG/BA,GAGIE,EAAuB,CAClCC,EACAF,KAEEE,EAAgC,QAAWP,GAAmB,CAC1DA,EAAA,UAAUK,EAAME,CAAS,CAAA,EAGxBA,GAGIC,EAAsBC,IAC/BA,EAAgC,QAAUC,OAErCD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typescript.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,54 +1,60 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vft",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "es/index.mjs",
|
|
7
|
+
"types": "es/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./es/index.d.ts",
|
|
11
|
+
"import": "./es/index.mjs",
|
|
12
|
+
"require": "./lib/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./es": "./es/index.mjs",
|
|
15
|
+
"./lib": "./lib/index.js",
|
|
16
|
+
"./es/*.mjs": "./es/*.mjs",
|
|
17
|
+
"./es/*": "./es/*.mjs",
|
|
18
|
+
"./lib/*.js": "./lib/*.js",
|
|
19
|
+
"./lib/*": "./lib/*.js",
|
|
20
|
+
"./*": "./*"
|
|
21
|
+
},
|
|
22
|
+
"unpkg": "dist/index.full.js",
|
|
23
|
+
"jsdelivr": "dist/index.full.js",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/element-plus/element-plus.git"
|
|
27
|
+
},
|
|
10
28
|
"publishConfig": {
|
|
11
29
|
"access": "public",
|
|
12
30
|
"registry": "https://registry.npmjs.org"
|
|
13
31
|
},
|
|
32
|
+
"style": "dist/index.css",
|
|
33
|
+
"sideEffects": [
|
|
34
|
+
"dist/*",
|
|
35
|
+
"theme-style/**/*.css",
|
|
36
|
+
"theme-style/src/**/*.scss",
|
|
37
|
+
"es/components/*/style/*",
|
|
38
|
+
"lib/components/*/style/*"
|
|
39
|
+
],
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"vue": ">=3.2.0",
|
|
42
|
+
"vue-router": ">=4.0.16",
|
|
43
|
+
"pinia": ">=2.0.0"
|
|
44
|
+
},
|
|
14
45
|
"dependencies": {
|
|
15
|
-
"@
|
|
16
|
-
"@
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"@types/sortablejs": "^1.15.0",
|
|
20
|
-
"@vue/repl": "^1.3.2",
|
|
21
|
-
"@vue/shared": "^3.2.40",
|
|
22
|
-
"@waline/client": "^2.14.7",
|
|
23
|
-
"fflate": "^0.7.4",
|
|
24
|
-
"lodash": "^4.17.21",
|
|
25
|
-
"photoswipe": "^5.3.4",
|
|
26
|
-
"prismjs": "^1.29.0",
|
|
27
|
-
"resize-detector": "^0.3.0",
|
|
28
|
-
"reveal.js": "^4.4.0",
|
|
29
|
-
"ts-debounce": "^4.0.0",
|
|
30
|
-
"unocss": "^0.46.5",
|
|
31
|
-
"vant": "^3.6.4",
|
|
32
|
-
"yaml": "^2.2.1",
|
|
33
|
-
"@vri/styles": "0.0.3"
|
|
46
|
+
"@types/lodash": "^4.14.182",
|
|
47
|
+
"@vueuse/core": "^9.1.0",
|
|
48
|
+
"dayjs": "^1.11.3",
|
|
49
|
+
"lodash": "^4.17.21"
|
|
34
50
|
},
|
|
35
51
|
"devDependencies": {
|
|
36
|
-
"
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
},
|
|
44
|
-
"peerDependencies": {
|
|
45
|
-
"pinia": "^2.0.23",
|
|
46
|
-
"pinia-plugin-persistedstate": "^3.0.1",
|
|
47
|
-
"vue": "^3.2.45",
|
|
48
|
-
"vue-router": "^4.1.5"
|
|
49
|
-
},
|
|
50
|
-
"scripts": {
|
|
51
|
-
"clean": "pnpm rimraf node_modules && pnpm rimraf dist && pnpm rimraf .turbo",
|
|
52
|
-
"pub": "pnpm version patch && pnpm publish"
|
|
52
|
+
"@vft/utils": "*",
|
|
53
|
+
"@vft/constants": "*",
|
|
54
|
+
"@vft/router": "*",
|
|
55
|
+
"@vft/store": "*",
|
|
56
|
+
"@vft/use": "*",
|
|
57
|
+
"vue": "^3.2.37",
|
|
58
|
+
"vue-router": "^4.0.16"
|
|
53
59
|
}
|
|
54
|
-
}
|
|
60
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";:root{--vft-color-white:#fff;--vft-color-black:#000;--vft-theme-color:#fff;--vft-theme-color-reverse:#000;--vft-font-size-extra-large:20px;--vft-font-size-large:18px;--vft-font-size-medium:16px;--vft-font-size-base:14px;--vft-font-size-small:13px;--vft-font-size-extra-small:12px;--vft-font-family:'Helvetica Neue',Helvetica,'PingFang SC','Hiragino Sans GB','Microsoft YaHei','微软雅黑',Arial,sans-serif;--vft-font-weight-primary:500;--vft-font-line-height-primary:24px;--vft-index-normal:1;--vft-index-top:1000;--vft-index-popper:2000;--vft-border-radius-base:4px;--vft-border-radius-small:2px;--vft-border-radius-round:20px;--vft-border-radius-circle:100%;--vft-transition-duration:0.3s;--vft-transition-duration-fast:0.2s;--vft-transition-function-ease-in-out-bezier:cubic-bezier(0.645, 0.045, 0.355, 1);--vft-transition-function-fast-bezier:cubic-bezier(0.23, 1, 0.32, 1);--vft-transition-all:all var(--vft-transition-duration) var(--vft-transition-function-ease-in-out-bezier);--vft-transition-fade:opacity var(--vft-transition-duration) var(--vft-transition-function-fast-bezier);--vft-transition-md-fade:transform var(--vft-transition-duration) var(--vft-transition-function-fast-bezier),opacity var(--vft-transition-duration) var(--vft-transition-function-fast-bezier);--vft-transition-fade-linear:opacity var(--vft-transition-duration-fast) linear;--vft-transition-border:border-color var(--vft-transition-duration-fast) var(--vft-transition-function-ease-in-out-bezier);--vft-transition-box-shadow:box-shadow var(--vft-transition-duration-fast) var(--vft-transition-function-ease-in-out-bezier);--vft-transition-color:color var(--vft-transition-duration-fast) var(--vft-transition-function-ease-in-out-bezier)}:root{color-scheme:light;--vft-primary-color:#2196f3;--vft-primary-color-light-3:#64b6f7;--vft-primary-color-light-5:#90cbf9;--vft-primary-color-light-7:#bce0fb;--vft-primary-color-light-8:#d3eafd;--vft-primary-color-light-9:#e9f5fe;--vft-primary-color-dark-2:#1a78c2;--vft-success-color:#3eaf7c;--vft-success-color-light-3:#78c7a3;--vft-success-color-light-5:#9fd7be;--vft-success-color-light-7:#c5e7d8;--vft-success-color-light-8:#d8efe5;--vft-success-color-light-9:#ecf7f2;--vft-success-color-dark-2:#328c63;--vft-warning-color:#fb9b5f;--vft-warning-color-light-3:#fcb98f;--vft-warning-color-light-5:#fdcdaf;--vft-warning-color-light-7:#fee1cf;--vft-warning-color-light-8:#feebdf;--vft-warning-color-light-9:#fff5ef;--vft-warning-color-dark-2:#c97c4c;--vft-danger-color:#f26d6d;--vft-danger-color-light-3:#f69999;--vft-danger-color-light-5:#f9b6b6;--vft-danger-color-light-7:#fbd3d3;--vft-danger-color-light-8:#fce2e2;--vft-danger-color-light-9:#fef0f0;--vft-danger-color-dark-2:#c25757;--vft-error-color:#f26d6d;--vft-error-color-light-3:#f69999;--vft-error-color-light-5:#f9b6b6;--vft-error-color-light-7:#fbd3d3;--vft-error-color-light-8:#fce2e2;--vft-error-color-light-9:#fef0f0;--vft-error-color-dark-2:#c25757;--vft-info-color:#909399;--vft-info-color-light-3:#b1b3b8;--vft-info-color-light-5:#c8c9cc;--vft-info-color-light-7:#dedfe0;--vft-info-color-light-8:#e9e9eb;--vft-info-color-light-9:#f4f4f5;--vft-info-color-dark-2:#73767a;--vft-bg-color:#fff;--vft-bg-color-page:#f2f3f5;--vft-bg-color-overlay:#fff;--vft-text-primary-color:#303133;--vft-text-regular-color:#606266;--vft-text-secondary-color:#909399;--vft-text-placeholder-color:#a8abb2;--vft-text-disabled-color:#c0c4cc;--vft-border-color:#dcdfe6;--vft-border-color-light:#e4e7ed;--vft-border-color-lighter:#ebeef5;--vft-border-color-extra-light:#f2f6fc;--vft-border-color-dark:#d4d7de;--vft-border-color-darker:#cdd0d6;--vft-fill-color:#f0f2f5;--vft-fill-color-light:#f5f7fa;--vft-fill-color-lighter:#fafafa;--vft-fill-color-extra-light:#fafcff;--vft-fill-color-dark:#ebedf0;--vft-fill-color-darker:#e6e8eb;--vft-fill-color-blank:#fff;--vft-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, 0.04),0px 8px 20px rgba(0, 0, 0, 0.08);--vft-box-shadow-light:0px 0px 12px rgba(0, 0, 0, 0.12);--vft-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, 0.12);--vft-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, 0.08),0px 12px 32px rgba(0, 0, 0, 0.12),0px 8px 16px -8px rgba(0, 0, 0, 0.16);--vft-disabled-bg-color:var(--vft-fill-color-light);--vft-disabled-text-color:var(--vft-text-color-placeholder);--vft-disabled-border-color:var(--vft-border-color-light);--vft-overlay-color:rgba(0, 0, 0, 0.8);--vft-overlay-color-light:rgba(0, 0, 0, 0.7);--vft-overlay-color-lighter:rgba(0, 0, 0, 0.5);--vft-mask-color:rgba(255, 255, 255, 0.9);--vft-mask-color-extra-light:rgba(255, 255, 255, 0.3);--vft-border-width:1px;--vft-border-style:solid;--vft-border-color-hover:var(--vft-text-disabled-color);--vft-border:var(--vft-border-width) var(--vft-border-style) var(--vft-border-color);--vft-svg-monochrome-grey:var(--vft-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--vft-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.vft-fade-in-linear-enter-active,.vft-fade-in-linear-leave-active{transition:var(--vft-transition-fade-linear)}.vft-fade-in-linear-enter-from,.vft-fade-in-linear-leave-to{opacity:0}.vft-fade-in-enter-active,.vft-fade-in-leave-active{transition:all var(--vft-transition-duration) cubic-bezier(.55,0,.1,1)}.vft-fade-in-enter-from,.vft-fade-in-leave-active{opacity:0}.vft-zoom-in-center-enter-active,.vft-zoom-in-center-leave-active{transition:all var(--vft-transition-duration) cubic-bezier(.55,0,.1,1)}.vft-zoom-in-center-enter-from,.vft-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.vft-zoom-in-top-enter-active,.vft-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--vft-transition-md-fade);transform-origin:center top}.vft-zoom-in-top-enter-active[data-popper-placement^=top],.vft-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.vft-zoom-in-top-enter-from,.vft-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.vft-zoom-in-bottom-enter-active,.vft-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--vft-transition-md-fade);transform-origin:center bottom}.vft-zoom-in-bottom-enter-from,.vft-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.vft-zoom-in-left-enter-active,.vft-zoom-in-left-leave-active{opacity:1;transform:scale(1,1);transition:var(--vft-transition-md-fade);transform-origin:top left}.vft-zoom-in-left-enter-from,.vft-zoom-in-left-leave-active{opacity:0;transform:scale(.45,.45)}.collapse-transition{transition:var(--vft-transition-duration) height ease-in-out,var(--vft-transition-duration) padding-top ease-in-out,var(--vft-transition-duration) padding-bottom ease-in-out}.vft-collapse-transition-enter-active,.vft-collapse-transition-leave-active{transition:var(--vft-transition-duration) max-height ease-in-out,var(--vft-transition-duration) padding-top ease-in-out,var(--vft-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--vft-transition-duration) width ease-in-out,var(--vft-transition-duration) padding-left ease-in-out,var(--vft-transition-duration) padding-right ease-in-out}.vft-list-enter-active,.vft-list-leave-active{transition:all 1s}.vft-list-enter-from,.vft-list-leave-to{opacity:0;transform:translateY(-30px)}.vft-list-leave-active{position:absolute!important}.vft-opacity-transition{transition:opacity var(--vft-transition-duration) cubic-bezier(.55,0,.1,1)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";html.dark{color-scheme:dark;--vft-primary-color:#2196f3;--vft-primary-color-light-3:#1d6fb0;--vft-primary-color-light-5:#1b5584;--vft-primary-color-light-7:#183b57;--vft-primary-color-light-8:#172e41;--vft-primary-color-light-9:#15212a;--vft-primary-color-dark-2:#4dabf5;--vft-success-color:#3eaf7c;--vft-success-color-light-3:#31815d;--vft-success-color-light-5:#296248;--vft-success-color-light-7:#214333;--vft-success-color-light-8:#1c3329;--vft-success-color-light-9:#18241e;--vft-success-color-dark-2:#65bf96;--vft-warning-color:#fb9b5f;--vft-warning-color-light-3:#b67349;--vft-warning-color-light-5:#88583a;--vft-warning-color-light-7:#593d2b;--vft-warning-color-light-8:#422f23;--vft-warning-color-light-9:#2b221c;--vft-warning-color-dark-2:#fcaf7f;--vft-danger-color:#f26d6d;--vft-danger-color-light-3:#af5252;--vft-danger-color-light-5:#834141;--vft-danger-color-light-7:#572f2f;--vft-danger-color-light-8:#402626;--vft-danger-color-light-9:#2a1d1d;--vft-danger-color-dark-2:#f58a8a;--vft-error-color:#f26d6d;--vft-error-color-light-3:#af5252;--vft-error-color-light-5:#834141;--vft-error-color-light-7:#572f2f;--vft-error-color-light-8:#402626;--vft-error-color-light-9:#2a1d1d;--vft-error-color-dark-2:#f58a8a;--vft-info-color:#909399;--vft-info-color-light-3:#6b6d71;--vft-info-color-light-5:#525457;--vft-info-color-light-7:#393a3c;--vft-info-color-light-8:#2d2d2f;--vft-info-color-light-9:#202121;--vft-info-color-dark-2:#a6a9ad;--vft-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, 0.36),0px 8px 20px rgba(0, 0, 0, 0.72);--vft-box-shadow-light:0px 0px 12px rgba(0, 0, 0, 0.72);--vft-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, 0.72);--vft-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, 0.72),0px 12px 32px #000000,0px 8px 16px -8px #000000;--vft-bg-color-page:#0a0a0a;--vft-bg-color:#141414;--vft-bg-color-overlay:#1d1e1f;--vft-text-color-primary:#E5EAF3;--vft-text-color-regular:#CFD3DC;--vft-text-color-secondary:#A3A6AD;--vft-text-color-placeholder:#8D9095;--vft-text-color-disabled:#6C6E72;--vft-border-color-darker:#636466;--vft-border-color-dark:#58585B;--vft-border-color:#4C4D4F;--vft-border-color-light:#414243;--vft-border-color-lighter:#363637;--vft-border-color-extra-light:#2B2B2C;--vft-fill-color-darker:#424243;--vft-fill-color-dark:#39393A;--vft-fill-color:#303030;--vft-fill-color-light:#262727;--vft-fill-color-lighter:#1D1D1D;--vft-fill-color-extra-light:#191919;--vft-fill-color-blank:transparent;--vft-mask-color:rgba(0, 0, 0, 0.8);--vft-mask-color-extra-light:rgba(0, 0, 0, 0.3)}html.dark .vft-button{--vft-button-disabled-text-color:rgba(255, 255, 255, 0.5)}html.dark .vft-card{--vft-card-bg-color:var(--vft-bg-color-overlay)}html.dark .vft-empty{--vft-empty-fill-color-0:var(--vft-color-black);--vft-empty-fill-color-1:#4b4b52;--vft-empty-fill-color-2:#36383d;--vft-empty-fill-color-3:#1e1e20;--vft-empty-fill-color-4:#262629;--vft-empty-fill-color-5:#202124;--vft-empty-fill-color-6:#212224;--vft-empty-fill-color-7:#1b1c1f;--vft-empty-fill-color-8:#1c1d1f;--vft-empty-fill-color-9:#18181a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";:root{--vft-color-white:#fff;--vft-color-black:#000;--vft-theme-color:#fff;--vft-theme-color-reverse:#000;--vft-font-size-extra-large:20px;--vft-font-size-large:18px;--vft-font-size-medium:16px;--vft-font-size-base:14px;--vft-font-size-small:13px;--vft-font-size-extra-small:12px;--vft-font-family:'Helvetica Neue',Helvetica,'PingFang SC','Hiragino Sans GB','Microsoft YaHei','微软雅黑',Arial,sans-serif;--vft-font-weight-primary:500;--vft-font-line-height-primary:24px;--vft-index-normal:1;--vft-index-top:1000;--vft-index-popper:2000;--vft-border-radius-base:4px;--vft-border-radius-small:2px;--vft-border-radius-round:20px;--vft-border-radius-circle:100%;--vft-transition-duration:0.3s;--vft-transition-duration-fast:0.2s;--vft-transition-function-ease-in-out-bezier:cubic-bezier(0.645, 0.045, 0.355, 1);--vft-transition-function-fast-bezier:cubic-bezier(0.23, 1, 0.32, 1);--vft-transition-all:all var(--vft-transition-duration) var(--vft-transition-function-ease-in-out-bezier);--vft-transition-fade:opacity var(--vft-transition-duration) var(--vft-transition-function-fast-bezier);--vft-transition-md-fade:transform var(--vft-transition-duration) var(--vft-transition-function-fast-bezier),opacity var(--vft-transition-duration) var(--vft-transition-function-fast-bezier);--vft-transition-fade-linear:opacity var(--vft-transition-duration-fast) linear;--vft-transition-border:border-color var(--vft-transition-duration-fast) var(--vft-transition-function-ease-in-out-bezier);--vft-transition-box-shadow:box-shadow var(--vft-transition-duration-fast) var(--vft-transition-function-ease-in-out-bezier);--vft-transition-color:color var(--vft-transition-duration-fast) var(--vft-transition-function-ease-in-out-bezier)}:root{color-scheme:light;--vft-primary-color:#2196f3;--vft-primary-color-light-3:#64b6f7;--vft-primary-color-light-5:#90cbf9;--vft-primary-color-light-7:#bce0fb;--vft-primary-color-light-8:#d3eafd;--vft-primary-color-light-9:#e9f5fe;--vft-primary-color-dark-2:#1a78c2;--vft-success-color:#3eaf7c;--vft-success-color-light-3:#78c7a3;--vft-success-color-light-5:#9fd7be;--vft-success-color-light-7:#c5e7d8;--vft-success-color-light-8:#d8efe5;--vft-success-color-light-9:#ecf7f2;--vft-success-color-dark-2:#328c63;--vft-warning-color:#fb9b5f;--vft-warning-color-light-3:#fcb98f;--vft-warning-color-light-5:#fdcdaf;--vft-warning-color-light-7:#fee1cf;--vft-warning-color-light-8:#feebdf;--vft-warning-color-light-9:#fff5ef;--vft-warning-color-dark-2:#c97c4c;--vft-danger-color:#f26d6d;--vft-danger-color-light-3:#f69999;--vft-danger-color-light-5:#f9b6b6;--vft-danger-color-light-7:#fbd3d3;--vft-danger-color-light-8:#fce2e2;--vft-danger-color-light-9:#fef0f0;--vft-danger-color-dark-2:#c25757;--vft-error-color:#f26d6d;--vft-error-color-light-3:#f69999;--vft-error-color-light-5:#f9b6b6;--vft-error-color-light-7:#fbd3d3;--vft-error-color-light-8:#fce2e2;--vft-error-color-light-9:#fef0f0;--vft-error-color-dark-2:#c25757;--vft-info-color:#909399;--vft-info-color-light-3:#b1b3b8;--vft-info-color-light-5:#c8c9cc;--vft-info-color-light-7:#dedfe0;--vft-info-color-light-8:#e9e9eb;--vft-info-color-light-9:#f4f4f5;--vft-info-color-dark-2:#73767a;--vft-bg-color:#fff;--vft-bg-color-page:#f2f3f5;--vft-bg-color-overlay:#fff;--vft-text-primary-color:#303133;--vft-text-regular-color:#606266;--vft-text-secondary-color:#909399;--vft-text-placeholder-color:#a8abb2;--vft-text-disabled-color:#c0c4cc;--vft-border-color:#dcdfe6;--vft-border-color-light:#e4e7ed;--vft-border-color-lighter:#ebeef5;--vft-border-color-extra-light:#f2f6fc;--vft-border-color-dark:#d4d7de;--vft-border-color-darker:#cdd0d6;--vft-fill-color:#f0f2f5;--vft-fill-color-light:#f5f7fa;--vft-fill-color-lighter:#fafafa;--vft-fill-color-extra-light:#fafcff;--vft-fill-color-dark:#ebedf0;--vft-fill-color-darker:#e6e8eb;--vft-fill-color-blank:#fff;--vft-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, 0.04),0px 8px 20px rgba(0, 0, 0, 0.08);--vft-box-shadow-light:0px 0px 12px rgba(0, 0, 0, 0.12);--vft-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, 0.12);--vft-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, 0.08),0px 12px 32px rgba(0, 0, 0, 0.12),0px 8px 16px -8px rgba(0, 0, 0, 0.16);--vft-disabled-bg-color:var(--vft-fill-color-light);--vft-disabled-text-color:var(--vft-text-color-placeholder);--vft-disabled-border-color:var(--vft-border-color-light);--vft-overlay-color:rgba(0, 0, 0, 0.8);--vft-overlay-color-light:rgba(0, 0, 0, 0.7);--vft-overlay-color-lighter:rgba(0, 0, 0, 0.5);--vft-mask-color:rgba(255, 255, 255, 0.9);--vft-mask-color-extra-light:rgba(255, 255, 255, 0.3);--vft-border-width:1px;--vft-border-style:solid;--vft-border-color-hover:var(--vft-text-disabled-color);--vft-border:var(--vft-border-width) var(--vft-border-style) var(--vft-border-color);--vft-svg-monochrome-grey:var(--vft-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--vft-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.vft-fade-in-linear-enter-active,.vft-fade-in-linear-leave-active{transition:var(--vft-transition-fade-linear)}.vft-fade-in-linear-enter-from,.vft-fade-in-linear-leave-to{opacity:0}.vft-fade-in-enter-active,.vft-fade-in-leave-active{transition:all var(--vft-transition-duration) cubic-bezier(.55,0,.1,1)}.vft-fade-in-enter-from,.vft-fade-in-leave-active{opacity:0}.vft-zoom-in-center-enter-active,.vft-zoom-in-center-leave-active{transition:all var(--vft-transition-duration) cubic-bezier(.55,0,.1,1)}.vft-zoom-in-center-enter-from,.vft-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.vft-zoom-in-top-enter-active,.vft-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--vft-transition-md-fade);transform-origin:center top}.vft-zoom-in-top-enter-active[data-popper-placement^=top],.vft-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.vft-zoom-in-top-enter-from,.vft-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.vft-zoom-in-bottom-enter-active,.vft-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--vft-transition-md-fade);transform-origin:center bottom}.vft-zoom-in-bottom-enter-from,.vft-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.vft-zoom-in-left-enter-active,.vft-zoom-in-left-leave-active{opacity:1;transform:scale(1,1);transition:var(--vft-transition-md-fade);transform-origin:top left}.vft-zoom-in-left-enter-from,.vft-zoom-in-left-leave-active{opacity:0;transform:scale(.45,.45)}.collapse-transition{transition:var(--vft-transition-duration) height ease-in-out,var(--vft-transition-duration) padding-top ease-in-out,var(--vft-transition-duration) padding-bottom ease-in-out}.vft-collapse-transition-enter-active,.vft-collapse-transition-leave-active{transition:var(--vft-transition-duration) max-height ease-in-out,var(--vft-transition-duration) padding-top ease-in-out,var(--vft-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--vft-transition-duration) width ease-in-out,var(--vft-transition-duration) padding-left ease-in-out,var(--vft-transition-duration) padding-right ease-in-out}.vft-list-enter-active,.vft-list-leave-active{transition:all 1s}.vft-list-enter-from,.vft-list-leave-to{opacity:0;transform:translateY(-30px)}.vft-list-leave-active{position:absolute!important}.vft-opacity-transition{transition:opacity var(--vft-transition-duration) cubic-bezier(.55,0,.1,1)}:root{--vft-divider-margin-y:24px;--vft-divider-margin-x:8px;--vft-divider-border-color:#dcdfe6;--vft-divider-border-style:solid}.vft-divider{position:relative}.vft-divider--horizontal{display:block;height:1px;width:100%;margin:var(--vft-divider-margin-y) 0;border-top:1px var(--vft-divider-border-color) var(--vft-divider-border-style)}.vft-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 var(--vft-divider-margin-x);vertical-align:middle;position:relative;border-left:1px var(--vft-divider-border-color) var(--vft-divider-border-style)}.vft-divider__text{position:absolute;background-color:var(--vft-bg-color);padding:0 20px;font-weight:500;color:var(--vft-text-primary-color);font-size:14px}.vft-divider__text.is-left{left:20px;transform:translateY(-50%)}.vft-divider__text.is-center{left:50%;transform:translateX(-50%) translateY(-50%)}.vft-divider__text.is-right{right:20px;transform:translateY(-50%)}:root{--vft-avatar-text-color:var(--vft-color-white);--vft-avatar-bg-color:var(--vft-text-disabled-color);--vft-avatar-text-size:14px;--vft-avatar-icon-size:18px;--vft-avatar-border-radius:var(--vft-border-radius-base)}.vft-avatar{--vft-avatar-size-large:56px;--vft-avatar-size:40px;--vft-avatar-size-small:24px;--vft-avatar-size:40px;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;text-align:center;overflow:hidden;color:var(--vft-avatar-text-color);background:var(--vft-avatar-bg-color);width:var(--vft-avatar-size);height:var(--vft-avatar-size);font-size:var(--vft-avatar-text-size)}.vft-avatar>img{display:block;height:100%}.vft-avatar--circle{border-radius:50%}.vft-avatar--square{border-radius:var(--vft-avatar-border-radius)}.vft-avatar--icon{font-size:var(--vft-avatar-icon-size)}.vft-avatar--small{--vft-avatar-size:24px}.vft-avatar--large{--vft-avatar-size:56px}.vft-back-top{--vft-backtop-bg-color:var(--vft-bg-color-overlay);--vft-backtop-text-color:var(--vft-primary-color);--vft-backtop-hover-bg-color:var(--vft-border-color-extra-light);position:fixed;background-color:var(--vft-backtop-bg-color);width:40px;height:40px;border-radius:50%;color:var(--vft-backtop-text-color);display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:var(--vft-box-shadow-lighter);cursor:pointer;z-index:5}.vft-back-top:hover{background-color:var(--vft-backtop-hover-bg-color)}.vft-back-top__icon{font-size:20px}:root{--vft-empty-img-size:160px;--vft-empty-img-size-small:80px;--vft-empty-img-size-large:240px;--vft-empty-text-color:white;--vft-empty-desc-top:10px;--vft-empty-desc-color:var(--vft-text-placeholder-color);--vft-empty-desc-size:14px}.vft-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:10px 0}.vft-empty__image{width:var(--vft-empty-img-size);height:var(--vft-empty-img-size)}.vft-empty__image img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.vft-empty--large .vft-empty__image{width:var(--vft-empty-img-size-large);height:var(--vft-empty-img-size-large)}.vft-empty--small .vft-empty__image{width:var(--vft-empty-img-size-small);height:var(--vft-empty-img-size-small)}.vft-empty__desc{margin-top:var(--vft-empty-desc-top);color:var(--vft-empty-desc-color);font-size:var(--vft-empty-desc-size)}.vft-empty__bottom{margin-top:5px}:root{--vft-result-padding:40px 30px;--vft-result-icon-font-size:64px;--vft-result-title-font-size:20px;--vft-result-title-margin-top:20px;--vft-result-sub-title-margin-top:10px;--vft-result-extra-margin-top:30px}.vft-result{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:var(--vft-result-padding)}.vft-result__icon svg{width:var(--vft-result-icon-font-size);height:var(--vft-result-icon-font-size)}.vft-result__icon [class~=vft-icon]{font-size:var(--vft-result-icon-font-size)}.vft-result__title{margin-top:var(--vft-result-title-margin-top)}.vft-result__title p{margin:0;font-size:var(--vft-result-title-font-size);color:var(--vft-text-color-primary);line-height:1.3}.vft-result__sub-title{margin-top:var(--vft-result-sub-title-margin-top)}.vft-result__sub-title p{margin:0;font-size:var(--vft-font-size-base);color:var(--vft-text-color-regular);line-height:1.3}.vft-result__extra{margin-top:var(--vft-result-extra-margin-top)}.vft-result .icon-primary{--vft-result-color:var(--vft-color-primary);color:var(--vft-result-color)}.vft-result .icon-success{--vft-result-color:var(--vft-color-success);color:var(--vft-result-color)}.vft-result .icon-warning{--vft-result-color:var(--vft-color-warning);color:var(--vft-result-color)}.vft-result .icon-danger{--vft-result-color:var(--vft-color-danger);color:var(--vft-result-color)}.vft-result .icon-error{--vft-result-color:var(--vft-color-error);color:var(--vft-result-color)}.vft-result .icon-info{--vft-result-color:var(--vft-color-info);color:var(--vft-result-color)}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use 'common/var' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
|
|
1
4
|
$name: avatar;
|
|
2
5
|
|
|
3
6
|
@include set-root-css-vars($name, $avatar);
|
|
@@ -6,8 +9,8 @@ $name: avatar;
|
|
|
6
9
|
@include set-component-css-var('avatar-size', $avatar-size);
|
|
7
10
|
|
|
8
11
|
@include set-css-var-value(
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
('avatar', 'size'),
|
|
13
|
+
map-get($avatar-size, 'default')
|
|
11
14
|
);
|
|
12
15
|
|
|
13
16
|
display: inline-flex;
|
|
@@ -42,8 +45,8 @@ $name: avatar;
|
|
|
42
45
|
@each $size in (small, large) {
|
|
43
46
|
@include m($size) {
|
|
44
47
|
@include set-css-var-value(
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
('avatar', 'size'),
|
|
49
|
+
map-get($avatar-size, $size)
|
|
47
50
|
);
|
|
48
51
|
}
|
|
49
52
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
+
@use 'common/var' as *;
|
|
2
|
+
@use 'mixins/mixins' as *;
|
|
3
|
+
|
|
1
4
|
$name: back-top;
|
|
2
|
-
$back-top: () !default;
|
|
3
|
-
$back-top: map-merge((
|
|
4
|
-
'bg-color': getCssVar('bg-color', 'overlay'),
|
|
5
|
-
'text-color': getCssVar('primary-color'),
|
|
6
|
-
'hover-bg-color': getCssVar('border-color-extra-light'),
|
|
7
|
-
), $back-top);
|
|
8
5
|
|
|
9
6
|
@include b($name) {
|
|
10
7
|
@include set-component-css-var('backtop', $back-top);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use 'sass:color';
|
|
2
|
+
@use 'sass:string';
|
|
3
|
+
|
|
4
|
+
@function rgb2hex($color) {
|
|
5
|
+
@return unquote('#' + #{string.slice(color.ie-hex-str($color), 4)});
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// rgba color above solid color
|
|
9
|
+
@function mix-overlay-color($upper, $lower) {
|
|
10
|
+
$opacity: color.alpha($upper);
|
|
11
|
+
|
|
12
|
+
$red: color.red($upper) * $opacity + color.red($lower) * (1 - $opacity);
|
|
13
|
+
$green: color.green($upper) * $opacity + color.green($lower) * (1 - $opacity);
|
|
14
|
+
$blue: color.blue($upper) * $opacity + color.blue($lower) * (1 - $opacity);
|
|
15
|
+
|
|
16
|
+
@return rgb2hex(rgb($red, $green, $blue));
|
|
17
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
@use "../mixins/config" as *;
|
|
2
|
+
@use "../mixins/mixins" as *;
|
|
3
|
+
|
|
4
|
+
.fade-in-linear-enter-active,
|
|
5
|
+
.fade-in-linear-leave-active {
|
|
6
|
+
transition: getCssVar("transition-fade", "linear");
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.fade-in-linear-enter-from,
|
|
10
|
+
.fade-in-linear-leave-to {
|
|
11
|
+
opacity: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.#{$namespace}-fade-in-linear-enter-active,
|
|
15
|
+
.#{$namespace}-fade-in-linear-leave-active {
|
|
16
|
+
transition: getCssVar("transition-fade", "linear");
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.#{$namespace}-fade-in-linear-enter-from,
|
|
20
|
+
.#{$namespace}-fade-in-linear-leave-to {
|
|
21
|
+
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.#{$namespace}-fade-in-enter-active,
|
|
25
|
+
.#{$namespace}-fade-in-leave-active {
|
|
26
|
+
transition: all getCssVar("transition-duration") cubic-bezier(0.55, 0, 0.1, 1);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.#{$namespace}-fade-in-enter-from,
|
|
30
|
+
.#{$namespace}-fade-in-leave-active {
|
|
31
|
+
opacity: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.#{$namespace}-zoom-in-center-enter-active,
|
|
35
|
+
.#{$namespace}-zoom-in-center-leave-active {
|
|
36
|
+
transition: all getCssVar("transition-duration") cubic-bezier(0.55, 0, 0.1, 1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.#{$namespace}-zoom-in-center-enter-from,
|
|
40
|
+
.#{$namespace}-zoom-in-center-leave-active {
|
|
41
|
+
opacity: 0;
|
|
42
|
+
transform: scaleX(0);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.#{$namespace}-zoom-in-top-enter-active,
|
|
46
|
+
.#{$namespace}-zoom-in-top-leave-active {
|
|
47
|
+
opacity: 1;
|
|
48
|
+
transform: scaleY(1);
|
|
49
|
+
transition: getCssVar("transition-md-fade");
|
|
50
|
+
transform-origin: center top;
|
|
51
|
+
|
|
52
|
+
&[data-popper-placement^="top"] {
|
|
53
|
+
transform-origin: center bottom;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.#{$namespace}-zoom-in-top-enter-from,
|
|
58
|
+
.#{$namespace}-zoom-in-top-leave-active {
|
|
59
|
+
opacity: 0;
|
|
60
|
+
transform: scaleY(0);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.#{$namespace}-zoom-in-bottom-enter-active,
|
|
64
|
+
.#{$namespace}-zoom-in-bottom-leave-active {
|
|
65
|
+
opacity: 1;
|
|
66
|
+
transform: scaleY(1);
|
|
67
|
+
transition: getCssVar("transition-md-fade");
|
|
68
|
+
transform-origin: center bottom;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.#{$namespace}-zoom-in-bottom-enter-from,
|
|
72
|
+
.#{$namespace}-zoom-in-bottom-leave-active {
|
|
73
|
+
opacity: 0;
|
|
74
|
+
transform: scaleY(0);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.#{$namespace}-zoom-in-left-enter-active,
|
|
78
|
+
.#{$namespace}-zoom-in-left-leave-active {
|
|
79
|
+
opacity: 1;
|
|
80
|
+
transform: scale(1, 1);
|
|
81
|
+
transition: getCssVar("transition-md-fade");
|
|
82
|
+
transform-origin: top left;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.#{$namespace}-zoom-in-left-enter-from,
|
|
86
|
+
.#{$namespace}-zoom-in-left-leave-active {
|
|
87
|
+
opacity: 0;
|
|
88
|
+
transform: scale(0.45, 0.45);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.collapse-transition {
|
|
92
|
+
transition: getCssVar("transition-duration") height ease-in-out,
|
|
93
|
+
getCssVar("transition-duration") padding-top ease-in-out,
|
|
94
|
+
getCssVar("transition-duration") padding-bottom ease-in-out;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.#{$namespace}-collapse-transition-leave-active,
|
|
98
|
+
.#{$namespace}-collapse-transition-enter-active {
|
|
99
|
+
transition: getCssVar("transition-duration") max-height ease-in-out,
|
|
100
|
+
getCssVar("transition-duration") padding-top ease-in-out,
|
|
101
|
+
getCssVar("transition-duration") padding-bottom ease-in-out;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.horizontal-collapse-transition {
|
|
105
|
+
transition: getCssVar("transition-duration") width ease-in-out,
|
|
106
|
+
getCssVar("transition-duration") padding-left ease-in-out,
|
|
107
|
+
getCssVar("transition-duration") padding-right ease-in-out;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.#{$namespace}-list-enter-active,
|
|
111
|
+
.#{$namespace}-list-leave-active {
|
|
112
|
+
transition: all 1s;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.#{$namespace}-list-enter-from,
|
|
116
|
+
.#{$namespace}-list-leave-to {
|
|
117
|
+
opacity: 0;
|
|
118
|
+
transform: translateY(-30px);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.#{$namespace}-list-leave-active {
|
|
122
|
+
position: absolute !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.#{$namespace}-opacity-transition {
|
|
126
|
+
transition: opacity getCssVar("transition-duration")
|
|
127
|
+
cubic-bezier(0.55, 0, 0.1, 1);
|
|
128
|
+
}
|