base6-ui 1.1.14 → 1.1.16
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/components/BaseCascader/cssVar.d.ts +10 -0
- package/dist/components/BaseConfigProvider/constants.d.ts +3 -0
- package/dist/components/BaseConfigProvider/index.d.ts +2 -0
- package/dist/components/BaseConfigProvider/index.vue.d.ts +18 -0
- package/dist/components/BaseConfigProvider/locale-base.d.ts +3 -0
- package/dist/components/BaseConfigProvider/locale-naive.d.ts +4 -0
- package/dist/components/BaseConfigProvider/type.d.ts +17 -0
- package/dist/components/BaseDataTable/index.vue.d.ts +1 -1
- package/dist/components/BaseDialog/index.vue.d.ts +2 -2
- package/dist/components/BaseInputNumber/index.vue.d.ts +0 -1
- package/dist/components/BaseLayout/Default/index.vue.d.ts +8 -6
- package/dist/components/BaseLayout/Default/type.d.ts +7 -9
- package/dist/components/BaseLayout/index.vue.d.ts +1 -1
- package/dist/components/BaseProductIntroduction/cssVar.d.ts +3 -0
- package/dist/components/BaseProgress/cssVar.d.ts +8 -0
- package/dist/components/BaseProgress/index.d.ts +128 -3
- package/dist/components/BaseRadio/cssVar.d.ts +5 -0
- package/dist/components/BaseSelect/index.vue.d.ts +1 -1
- package/dist/components/BaseSteps/index.d.ts +1 -0
- package/dist/components/BaseSteps/steps.d.ts +25 -0
- package/dist/components/BaseSwitch/cssVar.d.ts +7 -0
- package/dist/components/BaseSystemActions/cssVar.d.ts +7 -0
- package/dist/components/BaseSystemActions/index.d.ts +2 -0
- package/dist/components/BaseSystemActions/index.vue.d.ts +13 -0
- package/dist/components/BaseSystemActions/type.d.ts +9 -0
- package/dist/components/BaseTabs/cssVar.d.ts +4 -0
- package/dist/components/BaseTabs/index.d.ts +2 -0
- package/dist/components/BaseTabs/tabs.d.ts +699 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/config/themes/common.d.ts +1 -0
- package/dist/config/themes/components/baseComponent/dark.d.ts +3 -2
- package/dist/config/themes/components/baseComponent/light.d.ts +3 -2
- package/dist/config/themes/components/cascader/common.d.ts +2 -2
- package/dist/config/themes/components/cascader/dark.d.ts +2 -2
- package/dist/config/themes/components/cascader/light.d.ts +2 -2
- package/dist/config/themes/components/progress/dark.d.ts +2 -3
- package/dist/config/themes/components/progress/light.d.ts +2 -3
- package/dist/config/themes/components/radio/dark.d.ts +2 -3
- package/dist/config/themes/components/radio/light.d.ts +2 -3
- package/dist/config/themes/components/switch/common.d.ts +2 -3
- package/dist/config/themes/components/switch/dark.d.ts +2 -3
- package/dist/config/themes/components/switch/light.d.ts +2 -3
- package/dist/enum/locale.d.ts +4 -0
- package/dist/fonts/MiSans-Medium.ttf +0 -0
- package/dist/fonts/MiSans-Regular.ttf +0 -0
- package/dist/hooks/useAnimationHook.d.ts +1 -1
- package/dist/hooks/useLocale.d.ts +17 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.umd.js +1 -1
- package/dist/locale/index.d.ts +3 -0
- package/dist/locale/lang/en-us.d.ts +26 -0
- package/dist/locale/lang/zh-cn.d.ts +3 -0
- package/dist/types/themes/components.d.ts +7 -0
- package/dist/types/themes/extendThemes.d.ts +10 -0
- package/dist/utils/render.d.ts +3 -0
- package/dist/utils/typescript.d.ts +61 -0
- package/es/_virtual/virtual_svg-icons-register.mjs +1 -1
- package/es/assets/logo/logo-dark-full.svg.mjs +2 -2
- package/es/assets/logo/logo-light-full.svg.mjs +2 -2
- package/es/components/BaseButton/index.vue.mjs +14 -14
- package/es/components/BaseCascader/cssVar.d.ts +10 -0
- package/es/components/BaseCascader/cssVar.mjs +13 -0
- package/es/components/BaseCascader/index.vue.mjs +2 -2
- package/es/components/BaseCascader/index.vue2.mjs +19 -13
- package/es/components/BaseConfigProvider/constants.d.ts +3 -0
- package/es/components/BaseConfigProvider/constants.mjs +4 -0
- package/es/components/BaseConfigProvider/index.d.ts +2 -0
- package/es/components/BaseConfigProvider/index.vue.d.ts +18 -0
- package/es/components/BaseConfigProvider/index.vue.mjs +54 -0
- package/es/components/BaseConfigProvider/index.vue2.mjs +4 -0
- package/es/components/BaseConfigProvider/locale-base.d.ts +3 -0
- package/es/components/BaseConfigProvider/locale-base.mjs +9 -0
- package/es/components/BaseConfigProvider/locale-naive.d.ts +4 -0
- package/es/components/BaseConfigProvider/locale-naive.mjs +12 -0
- package/es/components/BaseConfigProvider/type.d.ts +17 -0
- package/es/components/BaseDataTable/index.vue.d.ts +1 -1
- package/es/components/BaseDataTable/index.vue2.mjs +13 -13
- package/es/components/BaseDialog/index.vue.d.ts +2 -2
- package/es/components/BaseDialog/index.vue.mjs +43 -43
- package/es/components/BaseInputNumber/index.vue.d.ts +0 -1
- package/es/components/BaseInputNumber/index.vue.mjs +1 -1
- package/es/components/BaseInputNumber/index.vue2.mjs +57 -57
- package/es/components/BaseLayout/ASide/index.vue.mjs +2 -2
- package/es/components/BaseLayout/ASide/index.vue2.mjs +27 -27
- package/es/components/BaseLayout/Default/index.vue.d.ts +8 -6
- package/es/components/BaseLayout/Default/index.vue.mjs +2 -2
- package/es/components/BaseLayout/Default/index.vue2.mjs +77 -73
- package/es/components/BaseLayout/Default/layoutHeader/index.vue.mjs +26 -19
- package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.mjs +30 -30
- package/es/components/BaseLayout/Default/type.d.ts +7 -9
- package/es/components/BaseLayout/components/WrapFooter.vue.mjs +14 -14
- package/es/components/BaseLayout/components/WrapHeader.vue2.mjs +8 -8
- package/es/components/BaseLayout/components/WrapTab.vue.mjs +12 -12
- package/es/components/BaseLayout/index.vue.d.ts +1 -1
- package/es/components/BaseLayout/index.vue2.mjs +36 -36
- package/es/components/BaseNavIcon/index.vue2.mjs +14 -14
- package/es/components/BaseProductIntroduction/cssVar.d.ts +3 -0
- package/es/components/BaseProductIntroduction/cssVar.mjs +29 -24
- package/es/components/BaseProductIntroduction/index.vue.mjs +2 -2
- package/es/components/BaseProductIntroduction/index.vue2.mjs +94 -88
- package/es/components/BaseProgress/cssVar.d.ts +8 -0
- package/es/components/BaseProgress/cssVar.mjs +14 -0
- package/es/components/BaseProgress/index.d.ts +128 -3
- package/es/components/BaseProgress/index.mjs +22 -34
- package/es/components/BaseRadio/cssVar.d.ts +5 -0
- package/es/components/BaseRadio/cssVar.mjs +8 -0
- package/es/components/BaseRadio/index.vue.mjs +2 -2
- package/es/components/BaseRadio/index.vue2.mjs +17 -27
- package/es/components/BaseSelect/index.vue.d.ts +1 -1
- package/es/components/BaseSelect/index.vue.mjs +2 -2
- package/es/components/BaseSelect/index.vue2.mjs +32 -30
- package/es/components/BaseSlider/index.vue2.mjs +44 -44
- package/es/components/BaseSteps/index.d.ts +1 -0
- package/es/components/BaseSteps/steps.d.ts +25 -0
- package/es/components/BaseSteps/steps.mjs +27 -0
- package/es/components/BaseSwitch/cssVar.d.ts +7 -0
- package/es/components/BaseSwitch/cssVar.mjs +10 -0
- package/es/components/BaseSwitch/index.vue.mjs +2 -2
- package/es/components/BaseSwitch/index.vue2.mjs +16 -28
- package/es/components/BaseSystemActions/cssVar.d.ts +7 -0
- package/es/components/BaseSystemActions/cssVar.mjs +63 -0
- package/es/components/BaseSystemActions/index.d.ts +2 -0
- package/es/components/BaseSystemActions/index.vue.d.ts +13 -0
- package/es/components/BaseSystemActions/index.vue.mjs +7 -0
- package/es/components/BaseSystemActions/index.vue2.mjs +102 -0
- package/es/components/BaseSystemActions/type.d.ts +9 -0
- package/es/components/BaseTabs/cssVar.d.ts +4 -0
- package/es/components/BaseTabs/cssVar.mjs +7 -0
- package/es/components/BaseTabs/index.d.ts +2 -0
- package/es/components/BaseTabs/tabs.d.ts +699 -0
- package/es/components/BaseTabs/tabs.mjs +43 -0
- package/es/components/index.d.ts +4 -0
- package/es/config/themes/common.d.ts +1 -0
- package/es/config/themes/common.mjs +2 -1
- package/es/config/themes/components/baseComponent/dark.d.ts +3 -2
- package/es/config/themes/components/baseComponent/dark.mjs +13 -6
- package/es/config/themes/components/baseComponent/light.d.ts +3 -2
- package/es/config/themes/components/baseComponent/light.mjs +10 -5
- package/es/config/themes/components/button/common.mjs +4 -4
- package/es/config/themes/components/cascader/common.d.ts +2 -2
- package/es/config/themes/components/cascader/common.mjs +4 -2
- package/es/config/themes/components/cascader/dark.d.ts +2 -2
- package/es/config/themes/components/cascader/dark.mjs +6 -2
- package/es/config/themes/components/cascader/light.d.ts +2 -2
- package/es/config/themes/components/cascader/light.mjs +10 -6
- package/es/config/themes/components/dataTable/dark.mjs +2 -0
- package/es/config/themes/components/dataTable/light.mjs +2 -0
- package/es/config/themes/components/input/dark.mjs +1 -1
- package/es/config/themes/components/progress/dark.d.ts +2 -3
- package/es/config/themes/components/progress/light.d.ts +2 -3
- package/es/config/themes/components/radio/dark.d.ts +2 -3
- package/es/config/themes/components/radio/light.d.ts +2 -3
- package/es/config/themes/components/select/dark.mjs +3 -2
- package/es/config/themes/components/select/light.mjs +1 -0
- package/es/config/themes/components/slider/dark.mjs +2 -1
- package/es/config/themes/components/slider/light.mjs +2 -1
- package/es/config/themes/components/switch/common.d.ts +2 -3
- package/es/config/themes/components/switch/dark.d.ts +2 -3
- package/es/config/themes/components/switch/light.d.ts +2 -3
- package/es/enum/locale.d.ts +4 -0
- package/es/fonts/MiSans-Medium.ttf +0 -0
- package/es/fonts/MiSans-Regular.ttf +0 -0
- package/es/hooks/useAnimationHook.d.ts +1 -1
- package/es/hooks/useAnimationHook.mjs +17 -14
- package/es/hooks/useLocale.d.ts +17 -0
- package/es/hooks/useLocale.mjs +24 -0
- package/es/index.css +1 -1
- package/es/index.d.ts +2 -0
- package/es/index.mjs +69 -54
- package/es/locale/index.d.ts +3 -0
- package/es/locale/lang/en-us.d.ts +26 -0
- package/es/locale/lang/en-us.mjs +27 -0
- package/es/locale/lang/zh-cn.d.ts +3 -0
- package/es/locale/lang/zh-cn.mjs +27 -0
- package/es/node_modules/.pnpm/{@vueuse_core@13.0.0_vue@3.5.13_typescript@5.7.2_ → @vueuse_core@13.0.0_vue@3.5.22_typescript@5.7.2_}/node_modules/@vueuse/core/index.mjs +1 -1
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs +12 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/toKey.mjs +6 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/object/get.mjs +44 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/util/toPath.mjs +21 -0
- package/es/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/util/toString.mjs +13 -0
- package/es/types/themes/components.d.ts +7 -0
- package/es/types/themes/extendThemes.d.ts +10 -0
- package/es/utils/render.d.ts +3 -0
- package/es/utils/render.mjs +9 -0
- package/es/utils/typescript.d.ts +61 -0
- package/lib/_virtual/virtual_svg-icons-register.js +1 -1
- package/lib/assets/logo/logo-dark-full.svg.js +1 -1
- package/lib/assets/logo/logo-light-full.svg.js +1 -1
- package/lib/components/BaseButton/index.vue.js +1 -1
- package/lib/components/BaseCascader/cssVar.d.ts +10 -0
- package/lib/components/BaseCascader/cssVar.js +1 -0
- package/lib/components/BaseCascader/index.vue.js +1 -1
- package/lib/components/BaseCascader/index.vue2.js +1 -1
- package/lib/components/BaseConfigProvider/constants.d.ts +3 -0
- package/lib/components/BaseConfigProvider/constants.js +1 -0
- package/lib/components/BaseConfigProvider/index.d.ts +2 -0
- package/lib/components/BaseConfigProvider/index.vue.d.ts +18 -0
- package/lib/components/BaseConfigProvider/index.vue.js +1 -0
- package/lib/components/BaseConfigProvider/index.vue2.js +1 -0
- package/lib/components/BaseConfigProvider/locale-base.d.ts +3 -0
- package/lib/components/BaseConfigProvider/locale-base.js +1 -0
- package/lib/components/BaseConfigProvider/locale-naive.d.ts +4 -0
- package/lib/components/BaseConfigProvider/locale-naive.js +1 -0
- package/lib/components/BaseConfigProvider/type.d.ts +17 -0
- package/lib/components/BaseDataTable/index.vue.d.ts +1 -1
- package/lib/components/BaseDataTable/index.vue2.js +1 -1
- package/lib/components/BaseDialog/index.vue.d.ts +2 -2
- package/lib/components/BaseDialog/index.vue.js +1 -1
- package/lib/components/BaseInputNumber/index.vue.d.ts +0 -1
- package/lib/components/BaseInputNumber/index.vue.js +1 -1
- package/lib/components/BaseInputNumber/index.vue2.js +1 -1
- package/lib/components/BaseLayout/ASide/index.vue.js +1 -1
- package/lib/components/BaseLayout/ASide/index.vue2.js +1 -1
- package/lib/components/BaseLayout/Default/index.vue.d.ts +8 -6
- package/lib/components/BaseLayout/Default/index.vue.js +1 -1
- package/lib/components/BaseLayout/Default/index.vue2.js +1 -1
- package/lib/components/BaseLayout/Default/layoutHeader/index.vue.js +1 -1
- package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.js +1 -1
- package/lib/components/BaseLayout/Default/type.d.ts +7 -9
- package/lib/components/BaseLayout/components/WrapFooter.vue.js +1 -1
- package/lib/components/BaseLayout/components/WrapHeader.vue2.js +1 -1
- package/lib/components/BaseLayout/components/WrapTab.vue.js +1 -1
- package/lib/components/BaseLayout/index.vue.d.ts +1 -1
- package/lib/components/BaseLayout/index.vue2.js +1 -1
- package/lib/components/BaseNavIcon/index.vue2.js +1 -1
- package/lib/components/BaseProductIntroduction/cssVar.d.ts +3 -0
- package/lib/components/BaseProductIntroduction/cssVar.js +1 -1
- package/lib/components/BaseProductIntroduction/index.vue.js +1 -1
- package/lib/components/BaseProductIntroduction/index.vue2.js +1 -1
- package/lib/components/BaseProgress/cssVar.d.ts +8 -0
- package/lib/components/BaseProgress/cssVar.js +1 -0
- package/lib/components/BaseProgress/index.d.ts +128 -3
- package/lib/components/BaseProgress/index.js +1 -1
- package/lib/components/BaseRadio/cssVar.d.ts +5 -0
- package/lib/components/BaseRadio/cssVar.js +1 -0
- package/lib/components/BaseRadio/index.vue.js +1 -1
- package/lib/components/BaseRadio/index.vue2.js +1 -1
- package/lib/components/BaseSelect/index.vue.d.ts +1 -1
- package/lib/components/BaseSelect/index.vue.js +1 -1
- package/lib/components/BaseSelect/index.vue2.js +1 -1
- package/lib/components/BaseSlider/index.vue2.js +1 -1
- package/lib/components/BaseSteps/index.d.ts +1 -0
- package/lib/components/BaseSteps/steps.d.ts +25 -0
- package/lib/components/BaseSteps/steps.js +1 -0
- package/lib/components/BaseSwitch/cssVar.d.ts +7 -0
- package/lib/components/BaseSwitch/cssVar.js +1 -0
- package/lib/components/BaseSwitch/index.vue.js +1 -1
- package/lib/components/BaseSwitch/index.vue2.js +1 -1
- package/lib/components/BaseSystemActions/cssVar.d.ts +7 -0
- package/lib/components/BaseSystemActions/cssVar.js +1 -0
- package/lib/components/BaseSystemActions/index.d.ts +2 -0
- package/lib/components/BaseSystemActions/index.vue.d.ts +13 -0
- package/lib/components/BaseSystemActions/index.vue.js +1 -0
- package/lib/components/BaseSystemActions/index.vue2.js +1 -0
- package/lib/components/BaseSystemActions/type.d.ts +9 -0
- package/lib/components/BaseTabs/cssVar.d.ts +4 -0
- package/lib/components/BaseTabs/cssVar.js +1 -0
- package/lib/components/BaseTabs/index.d.ts +2 -0
- package/lib/components/BaseTabs/tabs.d.ts +699 -0
- package/lib/components/BaseTabs/tabs.js +1 -0
- package/lib/components/index.d.ts +4 -0
- package/lib/config/themes/common.d.ts +1 -0
- package/lib/config/themes/common.js +1 -1
- package/lib/config/themes/components/baseComponent/dark.d.ts +3 -2
- package/lib/config/themes/components/baseComponent/dark.js +1 -1
- package/lib/config/themes/components/baseComponent/light.d.ts +3 -2
- package/lib/config/themes/components/baseComponent/light.js +1 -1
- package/lib/config/themes/components/button/common.js +1 -1
- package/lib/config/themes/components/cascader/common.d.ts +2 -2
- package/lib/config/themes/components/cascader/common.js +1 -1
- package/lib/config/themes/components/cascader/dark.d.ts +2 -2
- package/lib/config/themes/components/cascader/dark.js +1 -1
- package/lib/config/themes/components/cascader/light.d.ts +2 -2
- package/lib/config/themes/components/cascader/light.js +1 -1
- package/lib/config/themes/components/dataTable/dark.js +1 -1
- package/lib/config/themes/components/dataTable/light.js +1 -1
- package/lib/config/themes/components/input/dark.js +1 -1
- package/lib/config/themes/components/progress/dark.d.ts +2 -3
- package/lib/config/themes/components/progress/light.d.ts +2 -3
- package/lib/config/themes/components/radio/dark.d.ts +2 -3
- package/lib/config/themes/components/radio/light.d.ts +2 -3
- package/lib/config/themes/components/select/dark.js +1 -1
- package/lib/config/themes/components/select/light.js +1 -1
- package/lib/config/themes/components/slider/dark.js +1 -1
- package/lib/config/themes/components/slider/light.js +1 -1
- package/lib/config/themes/components/switch/common.d.ts +2 -3
- package/lib/config/themes/components/switch/dark.d.ts +2 -3
- package/lib/config/themes/components/switch/light.d.ts +2 -3
- package/lib/enum/locale.d.ts +4 -0
- package/lib/fonts/MiSans-Medium.ttf +0 -0
- package/lib/fonts/MiSans-Regular.ttf +0 -0
- package/lib/hooks/useAnimationHook.d.ts +1 -1
- package/lib/hooks/useAnimationHook.js +1 -1
- package/lib/hooks/useLocale.d.ts +17 -0
- package/lib/hooks/useLocale.js +1 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +1 -1
- package/lib/locale/index.d.ts +3 -0
- package/lib/locale/lang/en-us.d.ts +26 -0
- package/lib/locale/lang/en-us.js +1 -0
- package/lib/locale/lang/zh-cn.d.ts +3 -0
- package/lib/locale/lang/zh-cn.js +1 -0
- package/lib/node_modules/.pnpm/{@vueuse_core@13.0.0_vue@3.5.13_typescript@5.7.2_ → @vueuse_core@13.0.0_vue@3.5.22_typescript@5.7.2_}/node_modules/@vueuse/core/index.js +1 -1
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/_internal/toKey.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/object/get.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/util/toPath.js +1 -0
- package/lib/node_modules/.pnpm/es-toolkit@1.41.0/node_modules/es-toolkit/dist/compat/util/toString.js +1 -0
- package/lib/types/themes/components.d.ts +7 -0
- package/lib/types/themes/extendThemes.d.ts +10 -0
- package/lib/utils/render.d.ts +3 -0
- package/lib/utils/render.js +1 -0
- package/lib/utils/typescript.d.ts +61 -0
- package/package.json +3 -1
- package/es/components/BaseLayout/Default/layoutHeader/action.vue.mjs +0 -7
- package/es/components/BaseLayout/Default/layoutHeader/action.vue2.mjs +0 -85
- package/lib/components/BaseLayout/Default/layoutHeader/action.vue.js +0 -1
- package/lib/components/BaseLayout/Default/layoutHeader/action.vue2.js +0 -1
- /package/es/node_modules/.pnpm/{@vueuse_shared@13.0.0_vue@3.5.13_typescript@5.7.2_ → @vueuse_shared@13.0.0_vue@3.5.22_typescript@5.7.2_}/node_modules/@vueuse/shared/index.mjs +0 -0
- /package/lib/node_modules/.pnpm/{@vueuse_shared@13.0.0_vue@3.5.13_typescript@5.7.2_ → @vueuse_shared@13.0.0_vue@3.5.22_typescript@5.7.2_}/node_modules/@vueuse/shared/index.js +0 -0
|
@@ -1,6 +1,131 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
export type Size = 'medium' | 'large';
|
|
3
|
-
declare const
|
|
3
|
+
export declare const baseProgressProps: {
|
|
4
|
+
readonly circleSize: {
|
|
5
|
+
readonly type: PropType<Size>;
|
|
6
|
+
readonly default: "medium";
|
|
7
|
+
};
|
|
8
|
+
readonly tip: StringConstructor;
|
|
9
|
+
readonly processing: BooleanConstructor;
|
|
10
|
+
readonly type: {
|
|
11
|
+
readonly type: PropType<"line" | "circle" | "multiple-circle" | "dashboard">;
|
|
12
|
+
readonly default: "line";
|
|
13
|
+
};
|
|
14
|
+
readonly gapDegree: NumberConstructor;
|
|
15
|
+
readonly gapOffsetDegree: NumberConstructor;
|
|
16
|
+
readonly status: {
|
|
17
|
+
readonly type: PropType<import('naive-ui').ProgressStatus>;
|
|
18
|
+
readonly default: "default";
|
|
19
|
+
};
|
|
20
|
+
readonly railColor: PropType<string | string[]>;
|
|
21
|
+
readonly railStyle: PropType<string | import('vue').CSSProperties | Array<string | import('vue').CSSProperties>>;
|
|
22
|
+
readonly color: PropType<string | string[] | import('naive-ui').ProgressGradient | import('naive-ui').ProgressGradient[]>;
|
|
23
|
+
readonly viewBoxWidth: {
|
|
24
|
+
readonly type: NumberConstructor;
|
|
25
|
+
readonly default: 100;
|
|
26
|
+
};
|
|
27
|
+
readonly strokeWidth: {
|
|
28
|
+
readonly type: NumberConstructor;
|
|
29
|
+
readonly default: 7;
|
|
30
|
+
};
|
|
31
|
+
readonly percentage: PropType<number | number[]>;
|
|
32
|
+
readonly unit: {
|
|
33
|
+
readonly type: StringConstructor;
|
|
34
|
+
readonly default: "%";
|
|
35
|
+
};
|
|
36
|
+
readonly showIndicator: {
|
|
37
|
+
readonly type: BooleanConstructor;
|
|
38
|
+
readonly default: true;
|
|
39
|
+
};
|
|
40
|
+
readonly indicatorPosition: {
|
|
41
|
+
readonly type: PropType<"inside" | "outside">;
|
|
42
|
+
readonly default: "outside";
|
|
43
|
+
};
|
|
44
|
+
readonly indicatorPlacement: {
|
|
45
|
+
readonly type: PropType<"inside" | "outside">;
|
|
46
|
+
readonly default: "outside";
|
|
47
|
+
};
|
|
48
|
+
readonly indicatorTextColor: StringConstructor;
|
|
49
|
+
readonly circleGap: {
|
|
50
|
+
readonly type: NumberConstructor;
|
|
51
|
+
readonly default: 1;
|
|
52
|
+
};
|
|
53
|
+
readonly height: NumberConstructor;
|
|
54
|
+
readonly borderRadius: PropType<string | number>;
|
|
55
|
+
readonly fillBorderRadius: PropType<string | number>;
|
|
56
|
+
readonly offsetDegree: NumberConstructor;
|
|
57
|
+
readonly theme: PropType<import('naive-ui/es/_mixins').Theme<"Progress", {
|
|
58
|
+
fontSize: string;
|
|
59
|
+
fontSizeCircle: string;
|
|
60
|
+
fontWeightCircle: string;
|
|
61
|
+
railColor: string;
|
|
62
|
+
railHeight: string;
|
|
63
|
+
iconSizeCircle: string;
|
|
64
|
+
iconSizeLine: string;
|
|
65
|
+
iconColor: string;
|
|
66
|
+
iconColorInfo: string;
|
|
67
|
+
iconColorSuccess: string;
|
|
68
|
+
iconColorWarning: string;
|
|
69
|
+
iconColorError: string;
|
|
70
|
+
textColorCircle: string;
|
|
71
|
+
textColorLineInner: string;
|
|
72
|
+
textColorLineOuter: string;
|
|
73
|
+
fillColor: string;
|
|
74
|
+
fillColorInfo: string;
|
|
75
|
+
fillColorSuccess: string;
|
|
76
|
+
fillColorWarning: string;
|
|
77
|
+
fillColorError: string;
|
|
78
|
+
lineBgProcessing: string;
|
|
79
|
+
}, any>>;
|
|
80
|
+
readonly themeOverrides: PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Progress", {
|
|
81
|
+
fontSize: string;
|
|
82
|
+
fontSizeCircle: string;
|
|
83
|
+
fontWeightCircle: string;
|
|
84
|
+
railColor: string;
|
|
85
|
+
railHeight: string;
|
|
86
|
+
iconSizeCircle: string;
|
|
87
|
+
iconSizeLine: string;
|
|
88
|
+
iconColor: string;
|
|
89
|
+
iconColorInfo: string;
|
|
90
|
+
iconColorSuccess: string;
|
|
91
|
+
iconColorWarning: string;
|
|
92
|
+
iconColorError: string;
|
|
93
|
+
textColorCircle: string;
|
|
94
|
+
textColorLineInner: string;
|
|
95
|
+
textColorLineOuter: string;
|
|
96
|
+
fillColor: string;
|
|
97
|
+
fillColorInfo: string;
|
|
98
|
+
fillColorSuccess: string;
|
|
99
|
+
fillColorWarning: string;
|
|
100
|
+
fillColorError: string;
|
|
101
|
+
lineBgProcessing: string;
|
|
102
|
+
}, any>>>;
|
|
103
|
+
readonly builtinThemeOverrides: PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Progress", {
|
|
104
|
+
fontSize: string;
|
|
105
|
+
fontSizeCircle: string;
|
|
106
|
+
fontWeightCircle: string;
|
|
107
|
+
railColor: string;
|
|
108
|
+
railHeight: string;
|
|
109
|
+
iconSizeCircle: string;
|
|
110
|
+
iconSizeLine: string;
|
|
111
|
+
iconColor: string;
|
|
112
|
+
iconColorInfo: string;
|
|
113
|
+
iconColorSuccess: string;
|
|
114
|
+
iconColorWarning: string;
|
|
115
|
+
iconColorError: string;
|
|
116
|
+
textColorCircle: string;
|
|
117
|
+
textColorLineInner: string;
|
|
118
|
+
textColorLineOuter: string;
|
|
119
|
+
fillColor: string;
|
|
120
|
+
fillColorInfo: string;
|
|
121
|
+
fillColorSuccess: string;
|
|
122
|
+
fillColorWarning: string;
|
|
123
|
+
fillColorError: string;
|
|
124
|
+
lineBgProcessing: string;
|
|
125
|
+
}, any>>>;
|
|
126
|
+
};
|
|
127
|
+
export type BaseProgressProps = ExtractPropTypes<typeof baseProgressProps>;
|
|
128
|
+
declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
4
129
|
readonly circleSize: {
|
|
5
130
|
readonly type: PropType<Size>;
|
|
6
131
|
readonly default: "medium";
|
|
@@ -125,7 +250,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
125
250
|
}, any>>>;
|
|
126
251
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
127
252
|
[key: string]: any;
|
|
128
|
-
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
253
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
129
254
|
readonly circleSize: {
|
|
130
255
|
readonly type: PropType<Size>;
|
|
131
256
|
readonly default: "medium";
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { progressProps as
|
|
3
|
-
import { SvgIcon as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { defineComponent as d, computed as c, h as e } from "vue";
|
|
2
|
+
import { progressProps as l, NProgress as f } from "naive-ui";
|
|
3
|
+
import { SvgIcon as p } from "../../node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.mjs";
|
|
4
|
+
import g from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
5
|
+
import { getStyleCssVar as m } from "./cssVar.mjs";
|
|
6
|
+
const u = {
|
|
7
|
+
...l,
|
|
7
8
|
circleSize: {
|
|
8
9
|
type: String,
|
|
9
10
|
default: "medium"
|
|
10
11
|
},
|
|
11
12
|
tip: String
|
|
12
|
-
},
|
|
13
|
+
}, S = d({
|
|
13
14
|
name: "BaseProgress",
|
|
14
|
-
props:
|
|
15
|
+
props: u,
|
|
15
16
|
setup(t, { slots: r }) {
|
|
16
|
-
const
|
|
17
|
+
const s = "base-progress-", { mergedThemeOverridesRef: o } = g(), n = c(() => m(t.circleSize), o?.value?.Progress), a = () => e(
|
|
17
18
|
"div",
|
|
18
19
|
{
|
|
19
|
-
class: `${
|
|
20
|
+
class: `${s}dashboard-content`
|
|
20
21
|
},
|
|
21
22
|
[
|
|
22
23
|
e(
|
|
23
24
|
"div",
|
|
24
25
|
{
|
|
25
|
-
class: `${
|
|
26
|
+
class: `${s}dashboard-content-logo`,
|
|
26
27
|
style: "height:24px;width:24px"
|
|
27
28
|
},
|
|
28
|
-
r.icon ? r.icon() : e(
|
|
29
|
+
r.icon ? r.icon() : e(p, { icon: "progress-default", size: "18" })
|
|
29
30
|
),
|
|
30
31
|
e(
|
|
31
32
|
"div",
|
|
32
33
|
{
|
|
33
|
-
class: `${
|
|
34
|
+
class: `${s}dashboard-content-title`
|
|
34
35
|
},
|
|
35
36
|
[
|
|
36
37
|
e("span", {}, `${t.percentage}`),
|
|
@@ -40,42 +41,29 @@ const z = {
|
|
|
40
41
|
t.tip ? e(
|
|
41
42
|
"div",
|
|
42
43
|
{
|
|
43
|
-
class: `${
|
|
44
|
+
class: `${s}dashboard-content-tip`
|
|
44
45
|
},
|
|
45
46
|
t.tip
|
|
46
47
|
) : void 0
|
|
47
48
|
]
|
|
48
|
-
),
|
|
49
|
+
), i = () => {
|
|
49
50
|
if (r.default) return () => r.default();
|
|
50
|
-
if (t.type === "dashboard") return
|
|
51
|
+
if (t.type === "dashboard") return a;
|
|
51
52
|
};
|
|
52
|
-
return
|
|
53
|
-
|
|
54
|
-
(i) => {
|
|
55
|
-
const a = t.circleSize === "medium" ? i.fontSizeCircleMedium : i.fontSizeCircleLarge, l = t.circleSize === "medium" ? i.circleWidthMedium : i.circleWidthLarge;
|
|
56
|
-
n.value = {
|
|
57
|
-
"--n-tip-color-circle": i.tipColorCircle || "#56647A",
|
|
58
|
-
"--n-tip-font-size-circle": i.tipFontSizeCircle || "14px",
|
|
59
|
-
"--n-content-font-size": a || "var(--n-font-size)",
|
|
60
|
-
"--n-circle-width": l || "120px"
|
|
61
|
-
};
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
immediate: !0
|
|
65
|
-
}
|
|
66
|
-
), () => e(
|
|
67
|
-
h,
|
|
53
|
+
return () => e(
|
|
54
|
+
f,
|
|
68
55
|
{
|
|
69
56
|
...t,
|
|
70
57
|
class: "base-progress",
|
|
71
58
|
style: n.value
|
|
72
59
|
},
|
|
73
60
|
{
|
|
74
|
-
default:
|
|
61
|
+
default: i()
|
|
75
62
|
}
|
|
76
63
|
);
|
|
77
64
|
}
|
|
78
65
|
});
|
|
79
66
|
export {
|
|
80
|
-
|
|
67
|
+
u as baseProgressProps,
|
|
68
|
+
S as default
|
|
81
69
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RadioThemeLight as a } from "../../config/themes/components/radio/light.mjs";
|
|
2
|
+
const e = (o) => ({
|
|
3
|
+
"--n-box-shadow-active-disabled": o?.boxShadowActiveDisabled || a.boxShadowDisabled,
|
|
4
|
+
"--n-color-active-disabled": o?.colorActiveDisabled || a.boxShadowDisabled
|
|
5
|
+
});
|
|
6
|
+
export {
|
|
7
|
+
e as getStyleCssVar
|
|
8
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-11776497"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ as default
|
|
7
7
|
};
|
|
@@ -1,36 +1,26 @@
|
|
|
1
|
-
import { NRadio as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { NRadio as n } from "naive-ui";
|
|
2
|
+
import { defineComponent as l, computed as m, createBlock as i, openBlock as d, mergeProps as c, createSlots as f, renderList as u, withCtx as p, renderSlot as v } from "vue";
|
|
3
|
+
import y from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
4
|
+
import { getStyleCssVar as C } from "./cssVar.mjs";
|
|
5
|
+
const x = /* @__PURE__ */ l({
|
|
5
6
|
name: "BaseRadio",
|
|
6
7
|
__name: "index",
|
|
7
8
|
props: {
|
|
8
9
|
className: { default: "" },
|
|
9
10
|
style: { default: () => ({}) }
|
|
10
11
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const { mergedThemeOverridesRef:
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"--n-color-active-disabled": e.colorActiveDisabled || e.boxShadowDisabled
|
|
19
|
-
});
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
immediate: !0
|
|
23
|
-
}
|
|
24
|
-
), (e, w) => {
|
|
25
|
-
const s = i;
|
|
26
|
-
return m(), l(s, c(e.$attrs, {
|
|
27
|
-
class: ["base-radio", e.className],
|
|
28
|
-
style: [o.value, e.style]
|
|
12
|
+
setup(t) {
|
|
13
|
+
const { mergedThemeOverridesRef: r } = y(), s = m(() => C(r?.value?.Radio));
|
|
14
|
+
return (e, _) => {
|
|
15
|
+
const a = n;
|
|
16
|
+
return d(), i(a, c(e.$attrs, {
|
|
17
|
+
class: ["base-radio", t.className],
|
|
18
|
+
style: [s.value, t.style]
|
|
29
19
|
}), f({ _: 2 }, [
|
|
30
|
-
|
|
31
|
-
name:
|
|
32
|
-
fn:
|
|
33
|
-
v(e.$slots,
|
|
20
|
+
u(e.$slots, (g, o) => ({
|
|
21
|
+
name: o,
|
|
22
|
+
fn: p(() => [
|
|
23
|
+
v(e.$slots, o, {}, void 0, !0)
|
|
34
24
|
])
|
|
35
25
|
}))
|
|
36
26
|
]), 1040, ["class", "style"]);
|
|
@@ -38,5 +28,5 @@ const y = /* @__PURE__ */ r({
|
|
|
38
28
|
}
|
|
39
29
|
});
|
|
40
30
|
export {
|
|
41
|
-
|
|
31
|
+
x as default
|
|
42
32
|
};
|
|
@@ -3,6 +3,7 @@ type PropsType = {
|
|
|
3
3
|
disabled?: SelectProps['disabled'];
|
|
4
4
|
multiple?: boolean;
|
|
5
5
|
size?: SelectProps['size'];
|
|
6
|
+
maxTagCount?: SelectProps['maxTagCount'];
|
|
6
7
|
};
|
|
7
8
|
declare function __VLS_template(): {
|
|
8
9
|
attrs: Partial<{}>;
|
|
@@ -13,7 +14,6 @@ declare function __VLS_template(): {
|
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
15
|
declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{}>, {
|
|
15
16
|
disabled: boolean;
|
|
16
|
-
size: import('naive-ui/es/select/src/interface').Size;
|
|
17
17
|
multiple: boolean;
|
|
18
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -2,7 +2,7 @@ import o from "./index.vue2.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
-
const
|
|
5
|
+
const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-26671a0a"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
i as default
|
|
8
8
|
};
|
|
@@ -1,65 +1,67 @@
|
|
|
1
|
-
import { NSelect as i, NCheckbox as u, NTag as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
const
|
|
1
|
+
import { NSelect as i, NCheckbox as u, NTag as m } from "naive-ui";
|
|
2
|
+
import { defineComponent as c, createBlock as b, openBlock as f, mergeProps as p, createSlots as g, renderList as C, withCtx as T, renderSlot as x, h as d } from "vue";
|
|
3
|
+
const B = /* @__PURE__ */ c({
|
|
4
4
|
name: "BaseSelect",
|
|
5
5
|
__name: "index",
|
|
6
6
|
props: {
|
|
7
7
|
disabled: { default: !1 },
|
|
8
8
|
multiple: { type: Boolean, default: !1 },
|
|
9
|
-
size: {
|
|
9
|
+
size: {},
|
|
10
|
+
maxTagCount: {}
|
|
10
11
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
|
|
12
|
+
setup(l) {
|
|
13
|
+
const s = l, r = (e, a) => [
|
|
14
|
+
d(
|
|
14
15
|
u,
|
|
15
16
|
{
|
|
16
|
-
checked:
|
|
17
|
+
checked: a,
|
|
17
18
|
disabled: e.disabled
|
|
18
19
|
},
|
|
19
20
|
{
|
|
20
21
|
default: () => e.label
|
|
21
22
|
}
|
|
22
23
|
)
|
|
23
|
-
],
|
|
24
|
-
|
|
24
|
+
], o = ({ option: e, handleClose: a }) => d(
|
|
25
|
+
m,
|
|
25
26
|
{
|
|
26
27
|
type: "default",
|
|
27
28
|
closable: !0,
|
|
28
29
|
bordered: !1,
|
|
29
|
-
disabled:
|
|
30
|
-
size:
|
|
31
|
-
onMousedown: (
|
|
32
|
-
|
|
30
|
+
disabled: s.disabled,
|
|
31
|
+
size: s.size,
|
|
32
|
+
onMousedown: (t) => {
|
|
33
|
+
t.preventDefault();
|
|
33
34
|
},
|
|
34
|
-
onClose: (
|
|
35
|
-
|
|
35
|
+
onClose: (t) => {
|
|
36
|
+
t.stopPropagation(), a();
|
|
36
37
|
}
|
|
37
38
|
},
|
|
38
39
|
{ default: () => e.label }
|
|
39
40
|
);
|
|
40
|
-
return (e,
|
|
41
|
-
const
|
|
42
|
-
return
|
|
41
|
+
return (e, a) => {
|
|
42
|
+
const t = i;
|
|
43
|
+
return f(), b(t, p({
|
|
43
44
|
class: "base-select",
|
|
44
|
-
disabled:
|
|
45
|
-
renderTag:
|
|
46
|
-
"render-label":
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
disabled: l.disabled,
|
|
46
|
+
renderTag: l.multiple ? o : void 0,
|
|
47
|
+
"render-label": l.multiple ? r : void 0,
|
|
48
|
+
maxTagCount: l.maxTagCount,
|
|
49
|
+
multiple: l.multiple,
|
|
50
|
+
size: l.size,
|
|
49
51
|
"menu-props": {
|
|
50
52
|
class: "base-select-menu"
|
|
51
53
|
}
|
|
52
54
|
}, e.$attrs), g({ _: 2 }, [
|
|
53
|
-
|
|
54
|
-
name:
|
|
55
|
-
fn:
|
|
56
|
-
|
|
55
|
+
C(e.$slots, (z, n) => ({
|
|
56
|
+
name: n,
|
|
57
|
+
fn: T(() => [
|
|
58
|
+
x(e.$slots, n, {}, void 0, !0)
|
|
57
59
|
])
|
|
58
60
|
}))
|
|
59
|
-
]), 1040, ["disabled", "renderTag", "render-label", "multiple", "size"]);
|
|
61
|
+
]), 1040, ["disabled", "renderTag", "render-label", "maxTagCount", "multiple", "size"]);
|
|
60
62
|
};
|
|
61
63
|
}
|
|
62
64
|
});
|
|
63
65
|
export {
|
|
64
|
-
|
|
66
|
+
B as default
|
|
65
67
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { NSlider as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { NSlider as h, NInputNumber as z } from "naive-ui";
|
|
2
|
+
import { defineComponent as w, shallowRef as b, computed as B, watch as k, createElementBlock as u, openBlock as i, normalizeStyle as N, createElementVNode as o, createCommentVNode as r, createVNode as s, mergeProps as S, toDisplayString as v, createBlock as C, Fragment as p } from "vue";
|
|
3
|
+
import E from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
4
|
+
const I = { class: "slider-content" }, T = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "extreme-value-text"
|
|
7
|
-
},
|
|
7
|
+
}, U = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "slider-input"
|
|
10
|
-
}, D = /* @__PURE__ */
|
|
10
|
+
}, D = /* @__PURE__ */ w({
|
|
11
11
|
name: "BaseSlider",
|
|
12
12
|
__name: "index",
|
|
13
13
|
props: {
|
|
@@ -22,82 +22,82 @@ const T = { class: "slider-content" }, U = {
|
|
|
22
22
|
precision: { default: 0 }
|
|
23
23
|
},
|
|
24
24
|
emits: ["update:value"],
|
|
25
|
-
setup(
|
|
26
|
-
const f =
|
|
25
|
+
setup(e, { emit: x }) {
|
|
26
|
+
const f = e, { mergedThemeOverridesRef: c } = E(), d = b({}), y = x, t = B({
|
|
27
27
|
get() {
|
|
28
28
|
return f.value;
|
|
29
29
|
},
|
|
30
|
-
set(
|
|
31
|
-
|
|
30
|
+
set(l) {
|
|
31
|
+
y("update:value", l);
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
|
-
return
|
|
35
|
-
() =>
|
|
36
|
-
(
|
|
37
|
-
|
|
38
|
-
"--n-slider-handler-border":
|
|
39
|
-
"--n-slider-input-width":
|
|
40
|
-
"--n-slider-range-input-line-color":
|
|
41
|
-
"--n-slider-extreme-value-text-color":
|
|
34
|
+
return k(
|
|
35
|
+
() => c?.value?.Slider,
|
|
36
|
+
(l) => {
|
|
37
|
+
l && (d.value = {
|
|
38
|
+
"--n-slider-handler-border": l.handleBorderStyle,
|
|
39
|
+
"--n-slider-input-width": l.inputWidth,
|
|
40
|
+
"--n-slider-range-input-line-color": l.rangeInputLineColor,
|
|
41
|
+
"--n-slider-extreme-value-text-color": l.extremeValueTextColor
|
|
42
42
|
});
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
immediate: !0
|
|
46
46
|
}
|
|
47
|
-
), (
|
|
48
|
-
const
|
|
49
|
-
return i(),
|
|
47
|
+
), (l, n) => {
|
|
48
|
+
const g = h, m = z;
|
|
49
|
+
return i(), u("div", {
|
|
50
50
|
class: "base-slider",
|
|
51
|
-
style:
|
|
51
|
+
style: N([d.value, e.style])
|
|
52
52
|
}, [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
value:
|
|
56
|
-
"onUpdate:value":
|
|
53
|
+
o("div", I, [
|
|
54
|
+
s(g, S(l.$attrs, {
|
|
55
|
+
value: t.value,
|
|
56
|
+
"onUpdate:value": n[0] || (n[0] = (a) => t.value = a),
|
|
57
57
|
min: e.min,
|
|
58
58
|
max: e.max,
|
|
59
59
|
range: e.range
|
|
60
60
|
}), null, 16, ["value", "min", "max", "range"]),
|
|
61
|
-
e.showExtremeValueText ? (i(),
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
])) :
|
|
61
|
+
e.showExtremeValueText ? (i(), u("div", T, [
|
|
62
|
+
o("div", null, v(e.min), 1),
|
|
63
|
+
o("div", null, v(e.max), 1)
|
|
64
|
+
])) : r("", !0)
|
|
65
65
|
]),
|
|
66
|
-
e.showInput ? (i(),
|
|
67
|
-
!e.range && typeof
|
|
66
|
+
e.showInput ? (i(), u("div", U, [
|
|
67
|
+
!e.range && typeof t.value == "number" ? (i(), C(m, {
|
|
68
68
|
key: 0,
|
|
69
69
|
"show-button": !1,
|
|
70
70
|
placeholder: "",
|
|
71
71
|
size: e.size,
|
|
72
|
-
value:
|
|
73
|
-
"onUpdate:value":
|
|
72
|
+
value: t.value,
|
|
73
|
+
"onUpdate:value": n[1] || (n[1] = (a) => t.value = a),
|
|
74
74
|
min: e.min,
|
|
75
75
|
max: e.max,
|
|
76
76
|
precision: e.precision
|
|
77
|
-
}, null, 8, ["size", "value", "min", "max", "precision"])) : e.range && typeof
|
|
78
|
-
|
|
77
|
+
}, null, 8, ["size", "value", "min", "max", "precision"])) : e.range && typeof t.value != "number" ? (i(), u(p, { key: 1 }, [
|
|
78
|
+
s(m, {
|
|
79
79
|
"show-button": !1,
|
|
80
80
|
placeholder: "",
|
|
81
81
|
size: e.size,
|
|
82
|
-
value:
|
|
83
|
-
"onUpdate:value":
|
|
82
|
+
value: t.value[0],
|
|
83
|
+
"onUpdate:value": n[2] || (n[2] = (a) => t.value[0] = a),
|
|
84
84
|
min: e.min,
|
|
85
85
|
max: e.max,
|
|
86
86
|
precision: e.precision
|
|
87
87
|
}, null, 8, ["size", "value", "min", "max", "precision"]),
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
n[4] || (n[4] = o("div", { class: "line" }, null, -1)),
|
|
89
|
+
s(m, {
|
|
90
90
|
"show-button": !1,
|
|
91
91
|
placeholder: "",
|
|
92
92
|
size: e.size,
|
|
93
|
-
value:
|
|
94
|
-
"onUpdate:value":
|
|
93
|
+
value: t.value[1],
|
|
94
|
+
"onUpdate:value": n[3] || (n[3] = (a) => t.value[1] = a),
|
|
95
95
|
min: e.min,
|
|
96
96
|
max: e.max,
|
|
97
97
|
precision: e.precision
|
|
98
98
|
}, null, 8, ["size", "value", "min", "max", "precision"])
|
|
99
|
-
], 64)) :
|
|
100
|
-
])) :
|
|
99
|
+
], 64)) : r("", !0)
|
|
100
|
+
])) : r("", !0)
|
|
101
101
|
], 4);
|
|
102
102
|
};
|
|
103
103
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseSteps } from './steps';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
readonly status: import('vue').PropType<"process" | "finish" | "error" | "wait">;
|
|
3
|
+
readonly title: StringConstructor;
|
|
4
|
+
readonly description: StringConstructor;
|
|
5
|
+
readonly disabled: BooleanConstructor;
|
|
6
|
+
readonly internalIndex: {
|
|
7
|
+
readonly type: NumberConstructor;
|
|
8
|
+
readonly default: 0;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
readonly status: import('vue').PropType<"process" | "finish" | "error" | "wait">;
|
|
14
|
+
readonly title: StringConstructor;
|
|
15
|
+
readonly description: StringConstructor;
|
|
16
|
+
readonly disabled: BooleanConstructor;
|
|
17
|
+
readonly internalIndex: {
|
|
18
|
+
readonly type: NumberConstructor;
|
|
19
|
+
readonly default: 0;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {
|
|
22
|
+
readonly disabled: boolean;
|
|
23
|
+
readonly internalIndex: number;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as t, h as i } from "vue";
|
|
2
|
+
import { stepProps as p, NSteps as s } from "naive-ui";
|
|
3
|
+
import { renderStepsFinishIcon as f } from "../../utils/render.mjs";
|
|
4
|
+
const a = t({
|
|
5
|
+
name: "BaseSteps",
|
|
6
|
+
props: p,
|
|
7
|
+
setup(e, { slots: r }) {
|
|
8
|
+
const n = () => r.finishIcon ? () => r.finishIcon() : () => f("16"), o = () => {
|
|
9
|
+
if (r.errorIcon) return () => r.errorIcon();
|
|
10
|
+
};
|
|
11
|
+
return () => i(
|
|
12
|
+
s,
|
|
13
|
+
{
|
|
14
|
+
...e,
|
|
15
|
+
class: "base-steps"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
default: () => r.default ? r.default() : void 0,
|
|
19
|
+
"finish-icon": n(),
|
|
20
|
+
"error-icon": o()
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
a as default
|
|
27
|
+
};
|