base6-ui 1.1.1
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/CHANGELOG.md +13 -0
- package/build/plugins.ts +31 -0
- package/build/unPlugin.ts +37 -0
- package/dist/components/AppProvider/index.d.ts +1 -0
- package/dist/components/AppProvider/index.vue.d.ts +17 -0
- package/dist/components/BaseButton/index.d.ts +1 -0
- package/dist/components/BaseButton/index.vue.d.ts +24 -0
- package/dist/components/BaseDataTable/index.d.ts +1 -0
- package/dist/components/BaseDataTable/index.vue.d.ts +22 -0
- package/dist/components/BaseDialog/index.d.ts +2 -0
- package/dist/components/BaseDialog/index.vue.d.ts +56 -0
- package/dist/components/BaseDialog/options.d.ts +2 -0
- package/dist/components/BaseDialog/type.d.ts +29 -0
- package/dist/components/BaseInputNumber/index.d.ts +1 -0
- package/dist/components/BaseInputNumber/index.vue.d.ts +5368 -0
- package/dist/components/BaseLayout/ASide/index.vue.d.ts +20 -0
- package/dist/components/BaseLayout/ASide/type.d.ts +7 -0
- package/dist/components/BaseLayout/index.d.ts +1 -0
- package/dist/components/BaseProgress/index.d.ts +264 -0
- package/dist/components/BaseRadio/index.d.ts +1 -0
- package/dist/components/BaseRadio/index.vue.d.ts +23 -0
- package/dist/components/BaseSelect/index.d.ts +1 -0
- package/dist/components/BaseSelect/index.vue.d.ts +20 -0
- package/dist/components/BaseSlider/index.d.ts +1 -0
- package/dist/components/BaseSlider/index.vue.d.ts +27 -0
- package/dist/components/BaseSwitch/index.d.ts +1 -0
- package/dist/components/BaseSwitch/index.vue.d.ts +23 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/types/themes/extendThemes.d.ts +44 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/themes/color/dark.d.ts +54 -0
- package/dist/config/themes/color/index.d.ts +2 -0
- package/dist/config/themes/color/light.d.ts +53 -0
- package/dist/config/themes/common.d.ts +41 -0
- package/dist/config/themes/components/alert/common.d.ts +2 -0
- package/dist/config/themes/components/alert/dark.d.ts +2 -0
- package/dist/config/themes/components/alert/light.d.ts +2 -0
- package/dist/config/themes/components/baseComponent/dark.d.ts +8 -0
- package/dist/config/themes/components/baseComponent/light.d.ts +8 -0
- package/dist/config/themes/components/button/common.d.ts +2 -0
- package/dist/config/themes/components/button/dark.d.ts +2 -0
- package/dist/config/themes/components/button/light.d.ts +2 -0
- package/dist/config/themes/components/card/dark.d.ts +2 -0
- package/dist/config/themes/components/card/light.d.ts +2 -0
- package/dist/config/themes/components/charts/dark.d.ts +398 -0
- package/dist/config/themes/components/charts/light.d.ts +396 -0
- package/dist/config/themes/components/checkbox/common.d.ts +2 -0
- package/dist/config/themes/components/checkbox/dark.d.ts +2 -0
- package/dist/config/themes/components/checkbox/light.d.ts +2 -0
- package/dist/config/themes/components/dataTable/dark.d.ts +2 -0
- package/dist/config/themes/components/dataTable/light.d.ts +2 -0
- package/dist/config/themes/components/datePicker/dark.d.ts +2 -0
- package/dist/config/themes/components/datePicker/light.d.ts +2 -0
- package/dist/config/themes/components/dialog/common.d.ts +8 -0
- package/dist/config/themes/components/dialog/dark.d.ts +15 -0
- package/dist/config/themes/components/dialog/light.d.ts +15 -0
- package/dist/config/themes/components/dropdown/dark.d.ts +2 -0
- package/dist/config/themes/components/dropdown/light.d.ts +2 -0
- package/dist/config/themes/components/form/dark.d.ts +2 -0
- package/dist/config/themes/components/form/light.d.ts +2 -0
- package/dist/config/themes/components/input/common.d.ts +2 -0
- package/dist/config/themes/components/input/dark.d.ts +2 -0
- package/dist/config/themes/components/input/light.d.ts +2 -0
- package/dist/config/themes/components/inputNumber/common.d.ts +3 -0
- package/dist/config/themes/components/inputNumber/dark.d.ts +3 -0
- package/dist/config/themes/components/inputNumber/light.d.ts +3 -0
- package/dist/config/themes/components/layout/dark.d.ts +5 -0
- package/dist/config/themes/components/layout/light.d.ts +5 -0
- package/dist/config/themes/components/menu/dark.d.ts +2 -0
- package/dist/config/themes/components/menu/light.d.ts +2 -0
- package/dist/config/themes/components/progress/dark.d.ts +3 -0
- package/dist/config/themes/components/progress/light.d.ts +3 -0
- package/dist/config/themes/components/radio/dark.d.ts +3 -0
- package/dist/config/themes/components/radio/light.d.ts +3 -0
- package/dist/config/themes/components/select/dark.d.ts +2 -0
- package/dist/config/themes/components/select/light.d.ts +2 -0
- package/dist/config/themes/components/slider/dark.d.ts +3 -0
- package/dist/config/themes/components/slider/light.d.ts +3 -0
- package/dist/config/themes/components/switch/common.d.ts +3 -0
- package/dist/config/themes/components/switch/dark.d.ts +3 -0
- package/dist/config/themes/components/switch/light.d.ts +3 -0
- package/dist/config/themes/components/tag/dark.d.ts +2 -0
- package/dist/config/themes/components/tag/light.d.ts +2 -0
- package/dist/config/themes/components/transfer/dark.d.ts +2 -0
- package/dist/config/themes/components/transfer/light.d.ts +2 -0
- package/dist/config/themes/dark.d.ts +2 -0
- package/dist/config/themes/index.d.ts +7 -0
- package/dist/config/themes/light.d.ts +2 -0
- package/dist/config/themes/token/dark.d.ts +28 -0
- package/dist/config/themes/token/index.d.ts +2 -0
- package/dist/config/themes/token/light.d.ts +9 -0
- package/dist/globalMethods/index.d.ts +2 -0
- package/dist/globalMethods/modules/confirmTip.d.ts +2 -0
- package/dist/globalMethods/modules/message.d.ts +4 -0
- package/dist/hooks/useNaiveConfigProvideContext.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/types/themes/extendThemes.d.ts +44 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/_virtual/virtual_svg-icons-register.mjs +7 -0
- package/es/components/AppProvider/index.d.ts +1 -0
- package/es/components/AppProvider/index.vue.d.ts +17 -0
- package/es/components/AppProvider/index.vue.mjs +45 -0
- package/es/components/AppProvider/index.vue2.mjs +4 -0
- package/es/components/BaseButton/index.d.ts +1 -0
- package/es/components/BaseButton/index.vue.d.ts +24 -0
- package/es/components/BaseButton/index.vue.mjs +36 -0
- package/es/components/BaseButton/index.vue2.mjs +4 -0
- package/es/components/BaseDataTable/index.d.ts +1 -0
- package/es/components/BaseDataTable/index.vue.d.ts +22 -0
- package/es/components/BaseDataTable/index.vue.mjs +7 -0
- package/es/components/BaseDataTable/index.vue2.mjs +70 -0
- package/es/components/BaseDialog/index.d.ts +2 -0
- package/es/components/BaseDialog/index.vue.d.ts +56 -0
- package/es/components/BaseDialog/index.vue.mjs +141 -0
- package/es/components/BaseDialog/index.vue2.mjs +4 -0
- package/es/components/BaseDialog/options.d.ts +2 -0
- package/es/components/BaseDialog/options.mjs +27 -0
- package/es/components/BaseDialog/type.d.ts +29 -0
- package/es/components/BaseInputNumber/index.d.ts +1 -0
- package/es/components/BaseInputNumber/index.vue.d.ts +5368 -0
- package/es/components/BaseInputNumber/index.vue.mjs +7 -0
- package/es/components/BaseInputNumber/index.vue2.mjs +155 -0
- package/es/components/BaseLayout/ASide/index.vue.d.ts +20 -0
- package/es/components/BaseLayout/ASide/index.vue.mjs +7 -0
- package/es/components/BaseLayout/ASide/index.vue2.mjs +56 -0
- package/es/components/BaseLayout/ASide/type.d.ts +7 -0
- package/es/components/BaseLayout/index.d.ts +1 -0
- package/es/components/BaseProgress/index.d.ts +264 -0
- package/es/components/BaseProgress/index.mjs +81 -0
- package/es/components/BaseRadio/index.d.ts +1 -0
- package/es/components/BaseRadio/index.vue.d.ts +23 -0
- package/es/components/BaseRadio/index.vue.mjs +7 -0
- package/es/components/BaseRadio/index.vue2.mjs +42 -0
- package/es/components/BaseSelect/index.d.ts +1 -0
- package/es/components/BaseSelect/index.vue.d.ts +20 -0
- package/es/components/BaseSelect/index.vue.mjs +56 -0
- package/es/components/BaseSelect/index.vue2.mjs +4 -0
- package/es/components/BaseSlider/index.d.ts +1 -0
- package/es/components/BaseSlider/index.vue.d.ts +27 -0
- package/es/components/BaseSlider/index.vue.mjs +7 -0
- package/es/components/BaseSlider/index.vue2.mjs +107 -0
- package/es/components/BaseSwitch/index.d.ts +1 -0
- package/es/components/BaseSwitch/index.vue.d.ts +23 -0
- package/es/components/BaseSwitch/index.vue.mjs +7 -0
- package/es/components/BaseSwitch/index.vue2.mjs +44 -0
- package/es/components/index.d.ts +11 -0
- package/es/components/types/themes/extendThemes.d.ts +44 -0
- package/es/config/index.d.ts +1 -0
- package/es/config/themes/color/dark.d.ts +54 -0
- package/es/config/themes/color/dark.mjs +61 -0
- package/es/config/themes/color/index.d.ts +2 -0
- package/es/config/themes/color/light.d.ts +53 -0
- package/es/config/themes/color/light.mjs +60 -0
- package/es/config/themes/common.d.ts +41 -0
- package/es/config/themes/common.mjs +39 -0
- package/es/config/themes/components/alert/common.d.ts +2 -0
- package/es/config/themes/components/alert/common.mjs +10 -0
- package/es/config/themes/components/alert/dark.d.ts +2 -0
- package/es/config/themes/components/alert/dark.mjs +21 -0
- package/es/config/themes/components/alert/light.d.ts +2 -0
- package/es/config/themes/components/alert/light.mjs +17 -0
- package/es/config/themes/components/baseComponent/dark.d.ts +8 -0
- package/es/config/themes/components/baseComponent/dark.mjs +249 -0
- package/es/config/themes/components/baseComponent/light.d.ts +8 -0
- package/es/config/themes/components/baseComponent/light.mjs +350 -0
- package/es/config/themes/components/button/common.d.ts +2 -0
- package/es/config/themes/components/button/common.mjs +17 -0
- package/es/config/themes/components/button/dark.d.ts +2 -0
- package/es/config/themes/components/button/dark.mjs +109 -0
- package/es/config/themes/components/button/light.d.ts +2 -0
- package/es/config/themes/components/button/light.mjs +88 -0
- package/es/config/themes/components/card/dark.d.ts +2 -0
- package/es/config/themes/components/card/dark.mjs +14 -0
- package/es/config/themes/components/card/light.d.ts +2 -0
- package/es/config/themes/components/card/light.mjs +14 -0
- package/es/config/themes/components/charts/dark.d.ts +398 -0
- package/es/config/themes/components/charts/dark.mjs +428 -0
- package/es/config/themes/components/charts/light.d.ts +396 -0
- package/es/config/themes/components/charts/light.mjs +426 -0
- package/es/config/themes/components/checkbox/common.d.ts +2 -0
- package/es/config/themes/components/checkbox/common.mjs +7 -0
- package/es/config/themes/components/checkbox/dark.d.ts +2 -0
- package/es/config/themes/components/checkbox/dark.mjs +21 -0
- package/es/config/themes/components/checkbox/light.d.ts +2 -0
- package/es/config/themes/components/checkbox/light.mjs +20 -0
- package/es/config/themes/components/dataTable/dark.d.ts +2 -0
- package/es/config/themes/components/dataTable/dark.mjs +14 -0
- package/es/config/themes/components/dataTable/light.d.ts +2 -0
- package/es/config/themes/components/dataTable/light.mjs +14 -0
- package/es/config/themes/components/datePicker/dark.d.ts +2 -0
- package/es/config/themes/components/datePicker/dark.mjs +11 -0
- package/es/config/themes/components/datePicker/light.d.ts +2 -0
- package/es/config/themes/components/datePicker/light.mjs +11 -0
- package/es/config/themes/components/dialog/common.d.ts +8 -0
- package/es/config/themes/components/dialog/common.mjs +11 -0
- package/es/config/themes/components/dialog/dark.d.ts +15 -0
- package/es/config/themes/components/dialog/dark.mjs +16 -0
- package/es/config/themes/components/dialog/light.d.ts +15 -0
- package/es/config/themes/components/dialog/light.mjs +15 -0
- package/es/config/themes/components/dropdown/dark.d.ts +2 -0
- package/es/config/themes/components/dropdown/dark.mjs +8 -0
- package/es/config/themes/components/dropdown/light.d.ts +2 -0
- package/es/config/themes/components/dropdown/light.mjs +8 -0
- package/es/config/themes/components/form/dark.d.ts +2 -0
- package/es/config/themes/components/form/dark.mjs +8 -0
- package/es/config/themes/components/form/light.d.ts +2 -0
- package/es/config/themes/components/form/light.mjs +8 -0
- package/es/config/themes/components/input/common.d.ts +2 -0
- package/es/config/themes/components/input/common.mjs +11 -0
- package/es/config/themes/components/input/dark.d.ts +2 -0
- package/es/config/themes/components/input/dark.mjs +22 -0
- package/es/config/themes/components/input/light.d.ts +2 -0
- package/es/config/themes/components/input/light.mjs +21 -0
- package/es/config/themes/components/inputNumber/common.d.ts +3 -0
- package/es/config/themes/components/inputNumber/common.mjs +14 -0
- package/es/config/themes/components/inputNumber/dark.d.ts +3 -0
- package/es/config/themes/components/inputNumber/dark.mjs +21 -0
- package/es/config/themes/components/inputNumber/light.d.ts +3 -0
- package/es/config/themes/components/inputNumber/light.mjs +17 -0
- package/es/config/themes/components/layout/dark.d.ts +5 -0
- package/es/config/themes/components/layout/dark.mjs +10 -0
- package/es/config/themes/components/layout/light.d.ts +5 -0
- package/es/config/themes/components/layout/light.mjs +11 -0
- package/es/config/themes/components/menu/dark.d.ts +2 -0
- package/es/config/themes/components/menu/dark.mjs +17 -0
- package/es/config/themes/components/menu/light.d.ts +2 -0
- package/es/config/themes/components/menu/light.mjs +16 -0
- package/es/config/themes/components/progress/dark.d.ts +3 -0
- package/es/config/themes/components/progress/dark.mjs +21 -0
- package/es/config/themes/components/progress/light.d.ts +3 -0
- package/es/config/themes/components/progress/light.mjs +20 -0
- package/es/config/themes/components/radio/dark.d.ts +3 -0
- package/es/config/themes/components/radio/dark.mjs +20 -0
- package/es/config/themes/components/radio/light.d.ts +3 -0
- package/es/config/themes/components/radio/light.mjs +18 -0
- package/es/config/themes/components/select/dark.d.ts +2 -0
- package/es/config/themes/components/select/dark.mjs +40 -0
- package/es/config/themes/components/select/light.d.ts +2 -0
- package/es/config/themes/components/select/light.mjs +36 -0
- package/es/config/themes/components/slider/dark.d.ts +3 -0
- package/es/config/themes/components/slider/dark.mjs +15 -0
- package/es/config/themes/components/slider/light.d.ts +3 -0
- package/es/config/themes/components/slider/light.mjs +15 -0
- package/es/config/themes/components/switch/common.d.ts +3 -0
- package/es/config/themes/components/switch/common.mjs +14 -0
- package/es/config/themes/components/switch/dark.d.ts +3 -0
- package/es/config/themes/components/switch/dark.mjs +15 -0
- package/es/config/themes/components/switch/light.d.ts +3 -0
- package/es/config/themes/components/switch/light.mjs +15 -0
- package/es/config/themes/components/tag/dark.d.ts +2 -0
- package/es/config/themes/components/tag/dark.mjs +34 -0
- package/es/config/themes/components/tag/light.d.ts +2 -0
- package/es/config/themes/components/tag/light.mjs +33 -0
- package/es/config/themes/components/transfer/dark.d.ts +2 -0
- package/es/config/themes/components/transfer/dark.mjs +9 -0
- package/es/config/themes/components/transfer/light.d.ts +2 -0
- package/es/config/themes/components/transfer/light.mjs +9 -0
- package/es/config/themes/dark.d.ts +2 -0
- package/es/config/themes/dark.mjs +53 -0
- package/es/config/themes/index.d.ts +7 -0
- package/es/config/themes/index.mjs +50 -0
- package/es/config/themes/light.d.ts +2 -0
- package/es/config/themes/light.mjs +53 -0
- package/es/config/themes/token/dark.d.ts +28 -0
- package/es/config/themes/token/dark.mjs +31 -0
- package/es/config/themes/token/index.d.ts +2 -0
- package/es/config/themes/token/light.d.ts +9 -0
- package/es/config/themes/token/light.mjs +11 -0
- package/es/globalMethods/index.d.ts +2 -0
- package/es/globalMethods/index.mjs +8 -0
- package/es/globalMethods/modules/confirmTip.d.ts +2 -0
- package/es/globalMethods/modules/confirmTip.mjs +45 -0
- package/es/globalMethods/modules/message.d.ts +4 -0
- package/es/globalMethods/modules/message.mjs +15 -0
- package/es/hooks/useNaiveConfigProvideContext.d.ts +2 -0
- package/es/hooks/useNaiveConfigProvideContext.mjs +8 -0
- package/es/index.css +1 -0
- package/es/index.d.ts +3 -0
- package/es/index.mjs +47 -0
- package/es/node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.mjs +750 -0
- package/es/types/themes/extendThemes.d.ts +44 -0
- package/eslint.config.js +114 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
- package/lib/_virtual/virtual_svg-icons-register.js +1 -0
- package/lib/components/AppProvider/index.d.ts +1 -0
- package/lib/components/AppProvider/index.vue.d.ts +17 -0
- package/lib/components/AppProvider/index.vue.js +1 -0
- package/lib/components/AppProvider/index.vue2.js +1 -0
- package/lib/components/BaseButton/index.d.ts +1 -0
- package/lib/components/BaseButton/index.vue.d.ts +24 -0
- package/lib/components/BaseButton/index.vue.js +1 -0
- package/lib/components/BaseButton/index.vue2.js +1 -0
- package/lib/components/BaseDataTable/index.d.ts +1 -0
- package/lib/components/BaseDataTable/index.vue.d.ts +22 -0
- package/lib/components/BaseDataTable/index.vue.js +1 -0
- package/lib/components/BaseDataTable/index.vue2.js +1 -0
- package/lib/components/BaseDialog/index.d.ts +2 -0
- package/lib/components/BaseDialog/index.vue.d.ts +56 -0
- package/lib/components/BaseDialog/index.vue.js +1 -0
- package/lib/components/BaseDialog/index.vue2.js +1 -0
- package/lib/components/BaseDialog/options.d.ts +2 -0
- package/lib/components/BaseDialog/options.js +1 -0
- package/lib/components/BaseDialog/type.d.ts +29 -0
- package/lib/components/BaseInputNumber/index.d.ts +1 -0
- package/lib/components/BaseInputNumber/index.vue.d.ts +5368 -0
- package/lib/components/BaseInputNumber/index.vue.js +1 -0
- package/lib/components/BaseInputNumber/index.vue2.js +1 -0
- package/lib/components/BaseLayout/ASide/index.vue.d.ts +20 -0
- package/lib/components/BaseLayout/ASide/index.vue.js +1 -0
- package/lib/components/BaseLayout/ASide/index.vue2.js +1 -0
- package/lib/components/BaseLayout/ASide/type.d.ts +7 -0
- package/lib/components/BaseLayout/index.d.ts +1 -0
- package/lib/components/BaseProgress/index.d.ts +264 -0
- package/lib/components/BaseProgress/index.js +1 -0
- package/lib/components/BaseRadio/index.d.ts +1 -0
- package/lib/components/BaseRadio/index.vue.d.ts +23 -0
- package/lib/components/BaseRadio/index.vue.js +1 -0
- package/lib/components/BaseRadio/index.vue2.js +1 -0
- package/lib/components/BaseSelect/index.d.ts +1 -0
- package/lib/components/BaseSelect/index.vue.d.ts +20 -0
- package/lib/components/BaseSelect/index.vue.js +1 -0
- package/lib/components/BaseSelect/index.vue2.js +1 -0
- package/lib/components/BaseSlider/index.d.ts +1 -0
- package/lib/components/BaseSlider/index.vue.d.ts +27 -0
- package/lib/components/BaseSlider/index.vue.js +1 -0
- package/lib/components/BaseSlider/index.vue2.js +1 -0
- package/lib/components/BaseSwitch/index.d.ts +1 -0
- package/lib/components/BaseSwitch/index.vue.d.ts +23 -0
- package/lib/components/BaseSwitch/index.vue.js +1 -0
- package/lib/components/BaseSwitch/index.vue2.js +1 -0
- package/lib/components/index.d.ts +11 -0
- package/lib/components/types/themes/extendThemes.d.ts +44 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/config/themes/color/dark.d.ts +54 -0
- package/lib/config/themes/color/dark.js +1 -0
- package/lib/config/themes/color/index.d.ts +2 -0
- package/lib/config/themes/color/light.d.ts +53 -0
- package/lib/config/themes/color/light.js +1 -0
- package/lib/config/themes/common.d.ts +41 -0
- package/lib/config/themes/common.js +1 -0
- package/lib/config/themes/components/alert/common.d.ts +2 -0
- package/lib/config/themes/components/alert/common.js +1 -0
- package/lib/config/themes/components/alert/dark.d.ts +2 -0
- package/lib/config/themes/components/alert/dark.js +1 -0
- package/lib/config/themes/components/alert/light.d.ts +2 -0
- package/lib/config/themes/components/alert/light.js +1 -0
- package/lib/config/themes/components/baseComponent/dark.d.ts +8 -0
- package/lib/config/themes/components/baseComponent/dark.js +1 -0
- package/lib/config/themes/components/baseComponent/light.d.ts +8 -0
- package/lib/config/themes/components/baseComponent/light.js +1 -0
- package/lib/config/themes/components/button/common.d.ts +2 -0
- package/lib/config/themes/components/button/common.js +1 -0
- package/lib/config/themes/components/button/dark.d.ts +2 -0
- package/lib/config/themes/components/button/dark.js +1 -0
- package/lib/config/themes/components/button/light.d.ts +2 -0
- package/lib/config/themes/components/button/light.js +1 -0
- package/lib/config/themes/components/card/dark.d.ts +2 -0
- package/lib/config/themes/components/card/dark.js +1 -0
- package/lib/config/themes/components/card/light.d.ts +2 -0
- package/lib/config/themes/components/card/light.js +1 -0
- package/lib/config/themes/components/charts/dark.d.ts +398 -0
- package/lib/config/themes/components/charts/dark.js +1 -0
- package/lib/config/themes/components/charts/light.d.ts +396 -0
- package/lib/config/themes/components/charts/light.js +1 -0
- package/lib/config/themes/components/checkbox/common.d.ts +2 -0
- package/lib/config/themes/components/checkbox/common.js +1 -0
- package/lib/config/themes/components/checkbox/dark.d.ts +2 -0
- package/lib/config/themes/components/checkbox/dark.js +1 -0
- package/lib/config/themes/components/checkbox/light.d.ts +2 -0
- package/lib/config/themes/components/checkbox/light.js +1 -0
- package/lib/config/themes/components/dataTable/dark.d.ts +2 -0
- package/lib/config/themes/components/dataTable/dark.js +1 -0
- package/lib/config/themes/components/dataTable/light.d.ts +2 -0
- package/lib/config/themes/components/dataTable/light.js +1 -0
- package/lib/config/themes/components/datePicker/dark.d.ts +2 -0
- package/lib/config/themes/components/datePicker/dark.js +1 -0
- package/lib/config/themes/components/datePicker/light.d.ts +2 -0
- package/lib/config/themes/components/datePicker/light.js +1 -0
- package/lib/config/themes/components/dialog/common.d.ts +8 -0
- package/lib/config/themes/components/dialog/common.js +1 -0
- package/lib/config/themes/components/dialog/dark.d.ts +15 -0
- package/lib/config/themes/components/dialog/dark.js +1 -0
- package/lib/config/themes/components/dialog/light.d.ts +15 -0
- package/lib/config/themes/components/dialog/light.js +1 -0
- package/lib/config/themes/components/dropdown/dark.d.ts +2 -0
- package/lib/config/themes/components/dropdown/dark.js +1 -0
- package/lib/config/themes/components/dropdown/light.d.ts +2 -0
- package/lib/config/themes/components/dropdown/light.js +1 -0
- package/lib/config/themes/components/form/dark.d.ts +2 -0
- package/lib/config/themes/components/form/dark.js +1 -0
- package/lib/config/themes/components/form/light.d.ts +2 -0
- package/lib/config/themes/components/form/light.js +1 -0
- package/lib/config/themes/components/input/common.d.ts +2 -0
- package/lib/config/themes/components/input/common.js +1 -0
- package/lib/config/themes/components/input/dark.d.ts +2 -0
- package/lib/config/themes/components/input/dark.js +1 -0
- package/lib/config/themes/components/input/light.d.ts +2 -0
- package/lib/config/themes/components/input/light.js +1 -0
- package/lib/config/themes/components/inputNumber/common.d.ts +3 -0
- package/lib/config/themes/components/inputNumber/common.js +1 -0
- package/lib/config/themes/components/inputNumber/dark.d.ts +3 -0
- package/lib/config/themes/components/inputNumber/dark.js +1 -0
- package/lib/config/themes/components/inputNumber/light.d.ts +3 -0
- package/lib/config/themes/components/inputNumber/light.js +1 -0
- package/lib/config/themes/components/layout/dark.d.ts +5 -0
- package/lib/config/themes/components/layout/dark.js +1 -0
- package/lib/config/themes/components/layout/light.d.ts +5 -0
- package/lib/config/themes/components/layout/light.js +1 -0
- package/lib/config/themes/components/menu/dark.d.ts +2 -0
- package/lib/config/themes/components/menu/dark.js +1 -0
- package/lib/config/themes/components/menu/light.d.ts +2 -0
- package/lib/config/themes/components/menu/light.js +1 -0
- package/lib/config/themes/components/progress/dark.d.ts +3 -0
- package/lib/config/themes/components/progress/dark.js +1 -0
- package/lib/config/themes/components/progress/light.d.ts +3 -0
- package/lib/config/themes/components/progress/light.js +1 -0
- package/lib/config/themes/components/radio/dark.d.ts +3 -0
- package/lib/config/themes/components/radio/dark.js +1 -0
- package/lib/config/themes/components/radio/light.d.ts +3 -0
- package/lib/config/themes/components/radio/light.js +1 -0
- package/lib/config/themes/components/select/dark.d.ts +2 -0
- package/lib/config/themes/components/select/dark.js +1 -0
- package/lib/config/themes/components/select/light.d.ts +2 -0
- package/lib/config/themes/components/select/light.js +1 -0
- package/lib/config/themes/components/slider/dark.d.ts +3 -0
- package/lib/config/themes/components/slider/dark.js +1 -0
- package/lib/config/themes/components/slider/light.d.ts +3 -0
- package/lib/config/themes/components/slider/light.js +1 -0
- package/lib/config/themes/components/switch/common.d.ts +3 -0
- package/lib/config/themes/components/switch/common.js +1 -0
- package/lib/config/themes/components/switch/dark.d.ts +3 -0
- package/lib/config/themes/components/switch/dark.js +1 -0
- package/lib/config/themes/components/switch/light.d.ts +3 -0
- package/lib/config/themes/components/switch/light.js +1 -0
- package/lib/config/themes/components/tag/dark.d.ts +2 -0
- package/lib/config/themes/components/tag/dark.js +1 -0
- package/lib/config/themes/components/tag/light.d.ts +2 -0
- package/lib/config/themes/components/tag/light.js +1 -0
- package/lib/config/themes/components/transfer/dark.d.ts +2 -0
- package/lib/config/themes/components/transfer/dark.js +1 -0
- package/lib/config/themes/components/transfer/light.d.ts +2 -0
- package/lib/config/themes/components/transfer/light.js +1 -0
- package/lib/config/themes/dark.d.ts +2 -0
- package/lib/config/themes/dark.js +1 -0
- package/lib/config/themes/index.d.ts +7 -0
- package/lib/config/themes/index.js +1 -0
- package/lib/config/themes/light.d.ts +2 -0
- package/lib/config/themes/light.js +1 -0
- package/lib/config/themes/token/dark.d.ts +28 -0
- package/lib/config/themes/token/dark.js +1 -0
- package/lib/config/themes/token/index.d.ts +2 -0
- package/lib/config/themes/token/light.d.ts +9 -0
- package/lib/config/themes/token/light.js +1 -0
- package/lib/globalMethods/index.d.ts +2 -0
- package/lib/globalMethods/index.js +1 -0
- package/lib/globalMethods/modules/confirmTip.d.ts +2 -0
- package/lib/globalMethods/modules/confirmTip.js +1 -0
- package/lib/globalMethods/modules/message.d.ts +4 -0
- package/lib/globalMethods/modules/message.js +1 -0
- package/lib/hooks/useNaiveConfigProvideContext.d.ts +2 -0
- package/lib/hooks/useNaiveConfigProvideContext.js +1 -0
- package/lib/index.css +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +1 -0
- package/lib/node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.js +1 -0
- package/lib/types/themes/extendThemes.d.ts +44 -0
- package/package.json +43 -0
- package/readme.md +83 -0
- package/src/components/AppProvider/index.ts +1 -0
- package/src/components/AppProvider/index.vue +38 -0
- package/src/components/BaseButton/index.ts +1 -0
- package/src/components/BaseButton/index.vue +21 -0
- package/src/components/BaseDataTable/index.ts +1 -0
- package/src/components/BaseDataTable/index.vue +120 -0
- package/src/components/BaseDialog/index.ts +2 -0
- package/src/components/BaseDialog/index.vue +104 -0
- package/src/components/BaseDialog/options.ts +25 -0
- package/src/components/BaseDialog/type.ts +30 -0
- package/src/components/BaseInputNumber/index.ts +1 -0
- package/src/components/BaseInputNumber/index.vue +188 -0
- package/src/components/BaseLayout/ASide/index.vue +104 -0
- package/src/components/BaseLayout/ASide/type.ts +11 -0
- package/src/components/BaseLayout/index.ts +1 -0
- package/src/components/BaseProgress/index.ts +99 -0
- package/src/components/BaseRadio/index.ts +1 -0
- package/src/components/BaseRadio/index.vue +45 -0
- package/src/components/BaseSelect/index.ts +1 -0
- package/src/components/BaseSelect/index.vue +59 -0
- package/src/components/BaseSlider/index.ts +1 -0
- package/src/components/BaseSlider/index.vue +114 -0
- package/src/components/BaseSwitch/index.ts +1 -0
- package/src/components/BaseSwitch/index.vue +69 -0
- package/src/components/index.ts +11 -0
- package/src/components/types/themes/extendThemes.ts +50 -0
- package/src/config/index.ts +1 -0
- package/src/config/themes/color/dark.ts +60 -0
- package/src/config/themes/color/index.ts +2 -0
- package/src/config/themes/color/light.ts +59 -0
- package/src/config/themes/common.ts +50 -0
- package/src/config/themes/components/alert/common.ts +13 -0
- package/src/config/themes/components/alert/dark.ts +23 -0
- package/src/config/themes/components/alert/light.ts +18 -0
- package/src/config/themes/components/baseComponent/dark.ts +189 -0
- package/src/config/themes/components/baseComponent/light.ts +297 -0
- package/src/config/themes/components/button/common.ts +20 -0
- package/src/config/themes/components/button/dark.ts +127 -0
- package/src/config/themes/components/button/light.ts +102 -0
- package/src/config/themes/components/card/dark.ts +13 -0
- package/src/config/themes/components/card/light.ts +13 -0
- package/src/config/themes/components/charts/dark.ts +425 -0
- package/src/config/themes/components/charts/light.ts +424 -0
- package/src/config/themes/components/checkbox/common.ts +7 -0
- package/src/config/themes/components/checkbox/dark.ts +23 -0
- package/src/config/themes/components/checkbox/light.ts +22 -0
- package/src/config/themes/components/dataTable/dark.ts +14 -0
- package/src/config/themes/components/dataTable/light.ts +14 -0
- package/src/config/themes/components/datePicker/dark.ts +10 -0
- package/src/config/themes/components/datePicker/light.ts +10 -0
- package/src/config/themes/components/dialog/common.ts +8 -0
- package/src/config/themes/components/dialog/dark.ts +14 -0
- package/src/config/themes/components/dialog/light.ts +13 -0
- package/src/config/themes/components/dropdown/dark.ts +7 -0
- package/src/config/themes/components/dropdown/light.ts +7 -0
- package/src/config/themes/components/form/dark.ts +7 -0
- package/src/config/themes/components/form/light.ts +7 -0
- package/src/config/themes/components/input/common.ts +13 -0
- package/src/config/themes/components/input/dark.ts +25 -0
- package/src/config/themes/components/input/light.ts +24 -0
- package/src/config/themes/components/inputNumber/common.ts +14 -0
- package/src/config/themes/components/inputNumber/dark.ts +24 -0
- package/src/config/themes/components/inputNumber/light.ts +20 -0
- package/src/config/themes/components/layout/dark.ts +8 -0
- package/src/config/themes/components/layout/light.ts +9 -0
- package/src/config/themes/components/menu/dark.ts +18 -0
- package/src/config/themes/components/menu/light.ts +17 -0
- package/src/config/themes/components/progress/dark.ts +25 -0
- package/src/config/themes/components/progress/light.ts +25 -0
- package/src/config/themes/components/radio/dark.ts +20 -0
- package/src/config/themes/components/radio/light.ts +21 -0
- package/src/config/themes/components/select/dark.ts +42 -0
- package/src/config/themes/components/select/light.ts +38 -0
- package/src/config/themes/components/slider/dark.ts +16 -0
- package/src/config/themes/components/slider/light.ts +16 -0
- package/src/config/themes/components/switch/common.ts +17 -0
- package/src/config/themes/components/switch/dark.ts +17 -0
- package/src/config/themes/components/switch/light.ts +17 -0
- package/src/config/themes/components/tag/dark.ts +40 -0
- package/src/config/themes/components/tag/light.ts +39 -0
- package/src/config/themes/components/transfer/dark.ts +8 -0
- package/src/config/themes/components/transfer/light.ts +8 -0
- package/src/config/themes/dark.ts +61 -0
- package/src/config/themes/index.ts +12 -0
- package/src/config/themes/light.ts +61 -0
- package/src/config/themes/token/dark.ts +32 -0
- package/src/config/themes/token/index.ts +2 -0
- package/src/config/themes/token/light.ts +11 -0
- package/src/globalMethods/index.ts +8 -0
- package/src/globalMethods/modules/confirmTip.ts +49 -0
- package/src/globalMethods/modules/message.ts +20 -0
- package/src/hooks/useNaiveConfigProvideContext.ts +10 -0
- package/src/index.ts +8 -0
- package/src/style/index.scss +63 -0
- package/src/svg-icons/add.svg +1 -0
- package/src/svg-icons/arrow/down.svg +1 -0
- package/src/svg-icons/arrow/top.svg +1 -0
- package/src/svg-icons/logo.svg +4 -0
- package/src/svg-icons/operate/add.svg +1 -0
- package/src/svg-icons/operate/close.svg +1 -0
- package/src/svg-icons/operate/minus.svg +1 -0
- package/src/svg-icons/progress-default.svg +3 -0
- package/src/types/themes/extendThemes.ts +50 -0
- package/tsconfig.json +38 -0
- package/typing/components.d.ts +38 -0
- package/typing/global.d.ts +19 -0
- package/vite.config.ts +61 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue2.js");;/* empty css */const r=require("../../_virtual/_plugin-vue_export-helper.js"),t=r(e,[["__scopeId","data-v-f500335a"]]);module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const f=require("naive-ui"),e=require("vue"),B=require("../../hooks/useNaiveConfigProvideContext.js"),y={key:1,class:"inner-controls"},x=e.defineComponent({name:"BaseInputNumber",__name:"index",props:{style:{},prefixIcon:{default:""},suffixIcon:{default:""},addIcon:{default:""},minusIcon:{default:""},controlsInner:{type:Boolean},disabled:{type:Boolean},min:{},max:{},value:{},size:{default:"medium"}},emits:["update:value"],setup(o,{emit:C}){const s=o,k=C,{mergedThemeOverridesRef:h}=B(),a=e.shallowRef({}),d=e.shallowRef({}),t=e.ref(),u=e.computed({get(){return s.value},set(n){k("update:value",n)}}),l=e.computed(()=>s.disabled||!t.value?.addable),i=e.computed(()=>s.disabled||!t.value?.minusable),c=()=>{!t.value||l.value||t.value.handleAddClick()},m=()=>{!t.value||i.value||t.value.handleMinusClick()};return e.watch(()=>h?.value?.InputNumber,n=>{a.value={"--n-input-number-controls-color":n.controlsFontColor,"--n-input-number-controls-color-disabled":n.controlFontColorDisabled,"--n-input-number-inner-controls-width-large":n.innerControlsLargeWidth,"--n-input-number-inner-controls-width-medium":n.innerControlsMediumWidth,"--n-input-number-inner-controls-width-small":n.innerControlsSmallWidth,"--n-input-number-inner-controls-height-large":n.innerControlsLargeHeight,"--n-input-number-inner-controls-height-medium":n.innerControlsMediumHeight,"--n-input-number-inner-controls-height-small":n.innerControlsSmallHeight,"--n-input-number-inner-controls-background":n.innerControlsBackground,"--n-input-number-inner-controls-background-disabled":n.innerControlsDisabledBackground,"--n-input-number-inner-controls-border-radius-large":n.innerControlsLargeBorderRadius,"--n-input-number-inner-controls-border-radius-medium":n.innerControlsMediumBorderRadius,"--n-input-number-inner-controls-border-radius-small":n.innerControlsSmallBorderRadius},d.value={"--n-border":n.outerControlsBorderStyle,"--n-border-disabled":n.outerControlsBorderStyleDisabled,"--n-text-color":n.controlsFontColor,"--n-text-color-disabled":n.controlFontColorDisabled,"--n-color":n.outerControlsBackground,"--n-color-disabled":n.outerControlsBackgroundDisabled,"--n-opacity-disabled":n.outerControlsOpacityDisabled}},{immediate:!0}),(n,b)=>{const r=e.resolveComponent("svg-icon"),v=f.NButton,p=f.NInputNumber;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["base-input-number",[`base-input-number--${o.size}`]]),style:e.normalizeStyle([a.value,o.style])},[o.controlsInner?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(v,e.mergeProps({key:0,style:d.value,ghost:!i.value,class:"outer-controls minus-btn"},n.$attrs,{disabled:i.value,size:o.size,onClick:m}),{default:e.withCtx(()=>[e.createVNode(r,{icon:"operate-minus"})]),_:1},16,["style","ghost","disabled","size"])),e.createVNode(p,e.mergeProps(n.$attrs,{ref_key:"inputNumberRef",ref:t,"show-button":!1,size:o.size,disabled:o.disabled,min:o.min,max:o.max,value:u.value,"onUpdate:value":b[0]||(b[0]=g=>u.value=g)}),e.createSlots({suffix:e.withCtx(()=>[n.$slots.suffix||o.suffixIcon?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[n.$slots.suffix?e.renderSlot(n.$slots,"suffix",{key:0},void 0,!0):(e.openBlock(),e.createBlock(r,{key:1,icon:o.suffixIcon},null,8,["icon"]))],64)):e.createCommentVNode("",!0),o.controlsInner?(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",{class:e.normalizeClass(["add",[l.value?"is-disabled":""]]),onClick:c},[e.createVNode(r,{icon:"arrow-top"})],2),e.createElementVNode("div",{class:e.normalizeClass(["minus",[i.value?"is-disabled":""]]),onClick:m},[e.createVNode(r,{icon:"arrow-down"})],2)])):e.createCommentVNode("",!0)]),_:2},[n.$slots.prefix||o.prefixIcon?{name:"prefix",fn:e.withCtx(()=>[n.$slots.prefix?e.renderSlot(n.$slots,"prefix",{key:0},void 0,!0):(e.openBlock(),e.createBlock(r,{key:1,icon:o.prefixIcon},null,8,["icon"]))]),key:"0"}:void 0]),1040,["size","disabled","min","max","value"]),o.controlsInner?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(v,e.mergeProps({key:1,size:o.size,ghost:!l.value,style:d.value,class:"outer-controls add-btn"},n.$attrs,{disabled:l.value,onClick:c}),{default:e.withCtx(()=>[e.createVNode(r,{icon:"operate-add"})]),_:1},16,["size","ghost","style","disabled"]))],6)}}});module.exports=x;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseLayoutASidePropsType } from './type';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
header?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
footer?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<BaseLayoutASidePropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseLayoutASidePropsType> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue2.js");;/* empty css */const r=require("../../../_virtual/_plugin-vue_export-helper.js"),t=r(e,[["__scopeId","data-v-f3d4084e"]]);module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("naive-ui"),e=require("vue"),d=require("../../../hooks/useNaiveConfigProvideContext.js"),c={class:"flex-1 overflow-hidden"},u=e.defineComponent({__name:"index",props:{logoClass:{},logoStyle:{},footerClass:{},footerStyle:{}},setup(l){const{mergedThemeOverridesRef:s}=d(),t=e.shallowRef({}),r=e.shallowRef({}),a=e.shallowRef({});return e.watch(()=>s?.value?.Layout,o=>{o&&(t.value={"--n-color":o.siderColor||void 0})},{immediate:!0}),(o,f)=>{const n=i.NScrollbar;return e.openBlock(),e.createElementBlock("aside",e.mergeProps({class:"h-full w-full flex-col-stretch base-layout-aside",style:t.value},o.$attrs),[e.createElementVNode("div",{class:e.normalizeClass(["base-layout-aside-logo-wrap",l.logoClass]),style:e.normalizeStyle([r.value,l.logoStyle])},[e.renderSlot(o.$slots,"header",{},void 0,!0)],6),e.createElementVNode("div",c,[e.createVNode(n,null,{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3})]),e.createElementVNode("div",{class:e.normalizeClass(["base-layout-aside-footer",l.footerClass]),style:e.normalizeStyle([a.value,l.footerStyle])},[e.renderSlot(o.$slots,"footer",{},void 0,!0)],6)],16)}}});module.exports=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseLayoutAside } from './ASide/index.vue';
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export type Size = 'medium' | 'large';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
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
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
127
|
+
[key: string]: any;
|
|
128
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
129
|
+
readonly circleSize: {
|
|
130
|
+
readonly type: PropType<Size>;
|
|
131
|
+
readonly default: "medium";
|
|
132
|
+
};
|
|
133
|
+
readonly tip: StringConstructor;
|
|
134
|
+
readonly processing: BooleanConstructor;
|
|
135
|
+
readonly type: {
|
|
136
|
+
readonly type: PropType<"line" | "circle" | "multiple-circle" | "dashboard">;
|
|
137
|
+
readonly default: "line";
|
|
138
|
+
};
|
|
139
|
+
readonly gapDegree: NumberConstructor;
|
|
140
|
+
readonly gapOffsetDegree: NumberConstructor;
|
|
141
|
+
readonly status: {
|
|
142
|
+
readonly type: PropType<import('naive-ui').ProgressStatus>;
|
|
143
|
+
readonly default: "default";
|
|
144
|
+
};
|
|
145
|
+
readonly railColor: PropType<string | string[]>;
|
|
146
|
+
readonly railStyle: PropType<string | import('vue').CSSProperties | Array<string | import('vue').CSSProperties>>;
|
|
147
|
+
readonly color: PropType<string | string[] | import('naive-ui').ProgressGradient | import('naive-ui').ProgressGradient[]>;
|
|
148
|
+
readonly viewBoxWidth: {
|
|
149
|
+
readonly type: NumberConstructor;
|
|
150
|
+
readonly default: 100;
|
|
151
|
+
};
|
|
152
|
+
readonly strokeWidth: {
|
|
153
|
+
readonly type: NumberConstructor;
|
|
154
|
+
readonly default: 7;
|
|
155
|
+
};
|
|
156
|
+
readonly percentage: PropType<number | number[]>;
|
|
157
|
+
readonly unit: {
|
|
158
|
+
readonly type: StringConstructor;
|
|
159
|
+
readonly default: "%";
|
|
160
|
+
};
|
|
161
|
+
readonly showIndicator: {
|
|
162
|
+
readonly type: BooleanConstructor;
|
|
163
|
+
readonly default: true;
|
|
164
|
+
};
|
|
165
|
+
readonly indicatorPosition: {
|
|
166
|
+
readonly type: PropType<"inside" | "outside">;
|
|
167
|
+
readonly default: "outside";
|
|
168
|
+
};
|
|
169
|
+
readonly indicatorPlacement: {
|
|
170
|
+
readonly type: PropType<"inside" | "outside">;
|
|
171
|
+
readonly default: "outside";
|
|
172
|
+
};
|
|
173
|
+
readonly indicatorTextColor: StringConstructor;
|
|
174
|
+
readonly circleGap: {
|
|
175
|
+
readonly type: NumberConstructor;
|
|
176
|
+
readonly default: 1;
|
|
177
|
+
};
|
|
178
|
+
readonly height: NumberConstructor;
|
|
179
|
+
readonly borderRadius: PropType<string | number>;
|
|
180
|
+
readonly fillBorderRadius: PropType<string | number>;
|
|
181
|
+
readonly offsetDegree: NumberConstructor;
|
|
182
|
+
readonly theme: PropType<import('naive-ui/es/_mixins').Theme<"Progress", {
|
|
183
|
+
fontSize: string;
|
|
184
|
+
fontSizeCircle: string;
|
|
185
|
+
fontWeightCircle: string;
|
|
186
|
+
railColor: string;
|
|
187
|
+
railHeight: string;
|
|
188
|
+
iconSizeCircle: string;
|
|
189
|
+
iconSizeLine: string;
|
|
190
|
+
iconColor: string;
|
|
191
|
+
iconColorInfo: string;
|
|
192
|
+
iconColorSuccess: string;
|
|
193
|
+
iconColorWarning: string;
|
|
194
|
+
iconColorError: string;
|
|
195
|
+
textColorCircle: string;
|
|
196
|
+
textColorLineInner: string;
|
|
197
|
+
textColorLineOuter: string;
|
|
198
|
+
fillColor: string;
|
|
199
|
+
fillColorInfo: string;
|
|
200
|
+
fillColorSuccess: string;
|
|
201
|
+
fillColorWarning: string;
|
|
202
|
+
fillColorError: string;
|
|
203
|
+
lineBgProcessing: string;
|
|
204
|
+
}, any>>;
|
|
205
|
+
readonly themeOverrides: PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Progress", {
|
|
206
|
+
fontSize: string;
|
|
207
|
+
fontSizeCircle: string;
|
|
208
|
+
fontWeightCircle: string;
|
|
209
|
+
railColor: string;
|
|
210
|
+
railHeight: string;
|
|
211
|
+
iconSizeCircle: string;
|
|
212
|
+
iconSizeLine: string;
|
|
213
|
+
iconColor: string;
|
|
214
|
+
iconColorInfo: string;
|
|
215
|
+
iconColorSuccess: string;
|
|
216
|
+
iconColorWarning: string;
|
|
217
|
+
iconColorError: string;
|
|
218
|
+
textColorCircle: string;
|
|
219
|
+
textColorLineInner: string;
|
|
220
|
+
textColorLineOuter: string;
|
|
221
|
+
fillColor: string;
|
|
222
|
+
fillColorInfo: string;
|
|
223
|
+
fillColorSuccess: string;
|
|
224
|
+
fillColorWarning: string;
|
|
225
|
+
fillColorError: string;
|
|
226
|
+
lineBgProcessing: string;
|
|
227
|
+
}, any>>>;
|
|
228
|
+
readonly builtinThemeOverrides: PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Progress", {
|
|
229
|
+
fontSize: string;
|
|
230
|
+
fontSizeCircle: string;
|
|
231
|
+
fontWeightCircle: string;
|
|
232
|
+
railColor: string;
|
|
233
|
+
railHeight: string;
|
|
234
|
+
iconSizeCircle: string;
|
|
235
|
+
iconSizeLine: string;
|
|
236
|
+
iconColor: string;
|
|
237
|
+
iconColorInfo: string;
|
|
238
|
+
iconColorSuccess: string;
|
|
239
|
+
iconColorWarning: string;
|
|
240
|
+
iconColorError: string;
|
|
241
|
+
textColorCircle: string;
|
|
242
|
+
textColorLineInner: string;
|
|
243
|
+
textColorLineOuter: string;
|
|
244
|
+
fillColor: string;
|
|
245
|
+
fillColorInfo: string;
|
|
246
|
+
fillColorSuccess: string;
|
|
247
|
+
fillColorWarning: string;
|
|
248
|
+
fillColorError: string;
|
|
249
|
+
lineBgProcessing: string;
|
|
250
|
+
}, any>>>;
|
|
251
|
+
}>> & Readonly<{}>, {
|
|
252
|
+
readonly type: "circle" | "line" | "multiple-circle" | "dashboard";
|
|
253
|
+
readonly status: import('naive-ui').ProgressStatus;
|
|
254
|
+
readonly processing: boolean;
|
|
255
|
+
readonly viewBoxWidth: number;
|
|
256
|
+
readonly strokeWidth: number;
|
|
257
|
+
readonly unit: string;
|
|
258
|
+
readonly showIndicator: boolean;
|
|
259
|
+
readonly indicatorPosition: "outside" | "inside";
|
|
260
|
+
readonly indicatorPlacement: "outside" | "inside";
|
|
261
|
+
readonly circleGap: number;
|
|
262
|
+
readonly circleSize: Size;
|
|
263
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
264
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),o=require("naive-ui"),u=require("../../node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.js"),f=require("../../hooks/useNaiveConfigProvideContext.js"),g={...o.progressProps,circleSize:{type:String,default:"medium"},tip:String},p=e.defineComponent({name:"BaseProgress",props:g,setup(t,{slots:r}){const n="base-progress-",{mergedThemeOverridesRef:c}=f(),s=e.shallowRef({}),d=()=>e.h("div",{class:`${n}dashboard-content`},[e.h("div",{class:`${n}dashboard-content-logo`,style:"height:24px;width:24px"},r.icon?r.icon():e.h(u.SvgIcon,{icon:"progress-default",size:"18"})),e.h("div",{class:`${n}dashboard-content-title`},[e.h("span",{},`${t.percentage}`),e.h("span",{},"%")]),t.tip?e.h("div",{class:`${n}dashboard-content-tip`},t.tip):void 0]),a=()=>{if(r.default)return()=>r.default();if(t.type==="dashboard")return d};return e.watch(()=>c?.value?.Progress,i=>{const l=t.circleSize==="medium"?i.fontSizeCircleMedium:i.fontSizeCircleLarge,h=t.circleSize==="medium"?i.circleWidthMedium:i.circleWidthLarge;s.value={"--n-tip-color-circle":i.tipColorCircle||"#56647A","--n-tip-font-size-circle":i.tipFontSizeCircle||"14px","--n-content-font-size":l||"var(--n-font-size)","--n-circle-width":h||"120px"}},{immediate:!0}),()=>e.h(o.NProgress,{...t,class:"base-progress",style:s.value},{default:a()})}});module.exports=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseRadio } from './index.vue';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
type PropsType = {
|
|
3
|
+
className?: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: any;
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{}>, {
|
|
14
|
+
style: CSSProperties;
|
|
15
|
+
className: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue2.js");;/* empty css */const r=require("../../_virtual/_plugin-vue_export-helper.js"),t=r(e,[["__scopeId","data-v-2b3eac12"]]);module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("naive-ui"),e=require("vue"),d=require("../../hooks/useNaiveConfigProvideContext.js"),l=e.defineComponent({name:"BaseRadio",__name:"index",props:{className:{default:""},style:{default:()=>({})}},setup(s){const{mergedThemeOverridesRef:i}=d(),o=e.shallowRef({});return e.watch(()=>i?.value?.Radio,t=>{t&&(o.value={"--n-box-shadow-active-disabled":t.boxShadowActiveDisabled||t.boxShadowDisabled,"--n-color-active-disabled":t.colorActiveDisabled||t.boxShadowDisabled})},{immediate:!0}),(t,c)=>{const n=r.NRadio;return e.openBlock(),e.createBlock(n,e.mergeProps(t.$attrs,{class:["base-radio",s.className],style:[o.value,s.style]}),e.createSlots({_:2},[e.renderList(t.$slots,(m,a)=>({name:a,fn:e.withCtx(()=>[e.renderSlot(t.$slots,a,{},void 0,!0)])}))]),1040,["class","style"])}}});module.exports=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseSelect } from './index.vue';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type PropsType = {
|
|
2
|
+
multiple?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: any;
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{}>, {
|
|
12
|
+
multiple: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("naive-ui"),e=require("vue"),d=e.defineComponent({name:"BaseSelect",__name:"index",props:{multiple:{type:Boolean,default:!1}},setup(n){const s=(l,r)=>[e.h(a.NCheckbox,{checked:r,disabled:l.disabled},{default:()=>l.label})],u=({option:l,handleClose:r})=>e.h(a.NTag,{type:"default",closable:!0,bordered:!1,onMousedown:t=>{t.preventDefault()},onClose:t=>{t.stopPropagation(),r()}},{default:()=>l.label});return(l,r)=>{const t=a.NSelect;return e.openBlock(),e.createBlock(t,e.mergeProps({class:"base-select",renderTag:n.multiple?u:void 0,"render-label":n.multiple?s:void 0,multiple:n.multiple},l.$attrs),e.createSlots({_:2},[e.renderList(l.$slots,(i,o)=>({name:o,fn:e.withCtx(()=>[e.renderSlot(l.$slots,o)])}))]),1040,["renderTag","render-label","multiple"])}}});module.exports=d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue.js");module.exports=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseSlider } from './index.vue';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
type PropsType = {
|
|
3
|
+
style?: CSSProperties;
|
|
4
|
+
showInput?: boolean;
|
|
5
|
+
size?: 'small' | 'medium';
|
|
6
|
+
value: number | number[];
|
|
7
|
+
min?: number;
|
|
8
|
+
max?: number;
|
|
9
|
+
range?: boolean;
|
|
10
|
+
showExtremeValueText?: boolean;
|
|
11
|
+
precision?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:value": (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{
|
|
16
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
style: CSSProperties;
|
|
19
|
+
max: number;
|
|
20
|
+
size: "small" | "medium";
|
|
21
|
+
min: number;
|
|
22
|
+
precision: number;
|
|
23
|
+
range: boolean;
|
|
24
|
+
showInput: boolean;
|
|
25
|
+
showExtremeValueText: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue2.js");;/* empty css */const r=require("../../_virtual/_plugin-vue_export-helper.js"),t=r(e,[["__scopeId","data-v-9881a15b"]]);module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("naive-ui"),e=require("vue"),x=require("../../hooks/useNaiveConfigProvideContext.js"),f={class:"slider-content"},y={key:0,class:"extreme-value-text"},g={key:0,class:"slider-input"},B=e.defineComponent({name:"BaseSlider",__name:"index",props:{style:{default:()=>({})},showInput:{type:Boolean,default:!1},size:{default:"medium"},value:{},min:{default:0},max:{default:100},range:{type:Boolean,default:!1},showExtremeValueText:{type:Boolean,default:!1},precision:{default:0}},emits:["update:value"],setup(t,{emit:m}){const s=t,{mergedThemeOverridesRef:d}=x(),u=e.shallowRef({}),c=m,n=e.computed({get(){return s.value},set(a){c("update:value",a)}});return e.watch(()=>d?.value?.Slider,a=>{a&&(u.value={"--n-slider-handler-border":a.handleBorderStyle,"--n-slider-input-width":a.inputWidth,"--n-slider-range-input-line-color":a.rangeInputLineColor,"--n-slider-extreme-value-text-color":a.extremeValueTextColor})},{immediate:!0}),(a,l)=>{const v=r.NSlider,o=r.NInputNumber;return e.openBlock(),e.createElementBlock("div",{class:"base-slider",style:e.normalizeStyle([u.value,t.style])},[e.createElementVNode("div",f,[e.createVNode(v,e.mergeProps(a.$attrs,{value:n.value,"onUpdate:value":l[0]||(l[0]=i=>n.value=i),min:t.min,max:t.max,range:t.range}),null,16,["value","min","max","range"]),t.showExtremeValueText?(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",null,e.toDisplayString(t.min),1),e.createElementVNode("div",null,e.toDisplayString(t.max),1)])):e.createCommentVNode("",!0)]),t.showInput?(e.openBlock(),e.createElementBlock("div",g,[!t.range&&typeof n.value=="number"?(e.openBlock(),e.createBlock(o,{key:0,"show-button":!1,placeholder:"",size:t.size,value:n.value,"onUpdate:value":l[1]||(l[1]=i=>n.value=i),min:t.min,max:t.max,precision:t.precision},null,8,["size","value","min","max","precision"])):t.range&&typeof n.value!="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(o,{"show-button":!1,placeholder:"",size:t.size,value:n.value[0],"onUpdate:value":l[2]||(l[2]=i=>n.value[0]=i),min:t.min,max:t.max,precision:t.precision},null,8,["size","value","min","max","precision"]),l[4]||(l[4]=e.createElementVNode("div",{class:"line"},null,-1)),e.createVNode(o,{"show-button":!1,placeholder:"",size:t.size,value:n.value[1],"onUpdate:value":l[3]||(l[3]=i=>n.value[1]=i),min:t.min,max:t.max,precision:t.precision},null,8,["size","value","min","max","precision"])],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)}}});module.exports=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseSwitch } from './index.vue';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
type PropsType = {
|
|
3
|
+
className?: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: any;
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<PropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PropsType> & Readonly<{}>, {
|
|
14
|
+
style: CSSProperties;
|
|
15
|
+
className: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./index.vue2.js");;/* empty css */const r=require("../../_virtual/_plugin-vue_export-helper.js"),t=r(e,[["__scopeId","data-v-70cc237c"]]);module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("naive-ui"),e=require("vue"),a=require("../../hooks/useNaiveConfigProvideContext.js"),c=e.defineComponent({name:"BaseSwitch",__name:"index",props:{className:{default:""},style:{default:()=>({})}},setup(s){const l=a(),o=e.shallowRef({});return e.watch(()=>l?.mergedThemeOverridesRef.value.Switch,t=>{console.log(r.useThemeVars(),"useThemeVars"),t&&(o.value={"--n-rail-color-active-disabled":t.railColorActiveDisabled,"--n-rail-color-disabled":t.railColorDisabled,"--n-button-color-disabled":t.buttonColorDisabled,"--n-button-color-active-disabled":t.buttonColorActiveDisabled})},{immediate:!0}),(t,d)=>{const n=r.NSwitch;return e.openBlock(),e.createBlock(n,e.mergeProps(t.$attrs,{class:`base-switch ${s.className}`,style:[o.value,s.style]}),e.createSlots({_:2},[e.renderList(t.$slots,(u,i)=>({name:i,fn:e.withCtx(()=>[e.renderSlot(t.$slots,i,{},void 0,!0)])}))]),1040,["class","style"])}}});module.exports=c;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './AppProvider';
|
|
2
|
+
export * from './BaseButton';
|
|
3
|
+
export * from './BaseDataTable';
|
|
4
|
+
export * from './BaseDialog';
|
|
5
|
+
export * from './BaseInputNumber';
|
|
6
|
+
export * from './BaseLayout';
|
|
7
|
+
export * from './BaseRadio';
|
|
8
|
+
export { default as BaseProgress } from './BaseProgress';
|
|
9
|
+
export * from './BaseSelect';
|
|
10
|
+
export * from './BaseSlider';
|
|
11
|
+
export * from './BaseSwitch';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type ExtendThemeRadio = {
|
|
2
|
+
colorActiveDisabled?: string;
|
|
3
|
+
boxShadowActiveDisabled?: string;
|
|
4
|
+
};
|
|
5
|
+
export type ExtendThemeSwitch = {
|
|
6
|
+
railColorActiveDisabled?: string;
|
|
7
|
+
railColorDisabled?: string;
|
|
8
|
+
buttonColorActiveDisabled?: string;
|
|
9
|
+
buttonColorDisabled?: string;
|
|
10
|
+
};
|
|
11
|
+
export type ExtendThemeSlider = {
|
|
12
|
+
handleBorderStyle?: string;
|
|
13
|
+
inputWidth?: string;
|
|
14
|
+
rangeInputLineColor?: string;
|
|
15
|
+
extremeValueTextColor?: string;
|
|
16
|
+
};
|
|
17
|
+
export type ExtendInputNumber = {
|
|
18
|
+
controlsFontColor?: string;
|
|
19
|
+
controlFontColorDisabled?: string;
|
|
20
|
+
innerControlsLargeWidth?: string;
|
|
21
|
+
innerControlsMediumWidth?: string;
|
|
22
|
+
innerControlsSmallWidth?: string;
|
|
23
|
+
innerControlsLargeHeight?: string;
|
|
24
|
+
innerControlsMediumHeight?: string;
|
|
25
|
+
innerControlsSmallHeight?: string;
|
|
26
|
+
innerControlsBackground?: string;
|
|
27
|
+
innerControlsDisabledBackground?: string;
|
|
28
|
+
innerControlsLargeBorderRadius?: string;
|
|
29
|
+
innerControlsMediumBorderRadius?: string;
|
|
30
|
+
innerControlsSmallBorderRadius?: string;
|
|
31
|
+
outerControlsBorderStyle?: string;
|
|
32
|
+
outerControlsBackground?: string;
|
|
33
|
+
outerControlsBorderStyleDisabled?: string;
|
|
34
|
+
outerControlsBackgroundDisabled?: string;
|
|
35
|
+
outerControlsOpacityDisabled?: number;
|
|
36
|
+
};
|
|
37
|
+
export type ExtendProgress = {
|
|
38
|
+
circleWidthMedium?: string;
|
|
39
|
+
circleWidthLarge?: string;
|
|
40
|
+
fontSizeCircleMedium?: string;
|
|
41
|
+
fontSizeCircleLarge?: string;
|
|
42
|
+
tipColorCircle?: string;
|
|
43
|
+
tipFontSizeCircle?: string;
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './themes/index';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const darkBase: {
|
|
2
|
+
'color-primary-1': string;
|
|
3
|
+
'color-primary-2': string;
|
|
4
|
+
'color-primary-3': string;
|
|
5
|
+
'color-primary-4': string;
|
|
6
|
+
'color-primary-5': string;
|
|
7
|
+
'color-primary-6': string;
|
|
8
|
+
'color-primary-7': string;
|
|
9
|
+
'color-primary-8': string;
|
|
10
|
+
'color-primary-9': string;
|
|
11
|
+
'color-primary-10': string;
|
|
12
|
+
'color-green-1': string;
|
|
13
|
+
'color-green-2': string;
|
|
14
|
+
'color-green-3': string;
|
|
15
|
+
'color-green-4': string;
|
|
16
|
+
'color-green-5': string;
|
|
17
|
+
'color-green-6': string;
|
|
18
|
+
'color-green-7': string;
|
|
19
|
+
'color-green-8': string;
|
|
20
|
+
'color-green-9': string;
|
|
21
|
+
'color-green-10': string;
|
|
22
|
+
'color-red-1': string;
|
|
23
|
+
'color-red-2': string;
|
|
24
|
+
'color-red-3': string;
|
|
25
|
+
'color-red-4': string;
|
|
26
|
+
'color-red-5': string;
|
|
27
|
+
'color-red-6': string;
|
|
28
|
+
'color-red-7': string;
|
|
29
|
+
'color-red-8': string;
|
|
30
|
+
'color-red-9': string;
|
|
31
|
+
'color-red-10': string;
|
|
32
|
+
'color-origin-1': string;
|
|
33
|
+
'color-origin-2': string;
|
|
34
|
+
'color-origin-3': string;
|
|
35
|
+
'color-origin-4': string;
|
|
36
|
+
'color-origin-5': string;
|
|
37
|
+
'color-origin-6': string;
|
|
38
|
+
'color-origin-7': string;
|
|
39
|
+
'color-origin-8': string;
|
|
40
|
+
'color-origin-9': string;
|
|
41
|
+
'color-origin-10': string;
|
|
42
|
+
'color-gray-1': string;
|
|
43
|
+
'color-gray-2': string;
|
|
44
|
+
'color-gray-3': string;
|
|
45
|
+
'color-gray-4': string;
|
|
46
|
+
'color-gray-5': string;
|
|
47
|
+
'color-gray-6': string;
|
|
48
|
+
'color-gray-7': string;
|
|
49
|
+
'color-gray-8': string;
|
|
50
|
+
'color-gray-9': string;
|
|
51
|
+
'color-gray-10': string;
|
|
52
|
+
'color-gray-11': string;
|
|
53
|
+
};
|
|
54
|
+
export default darkBase;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r={"color-primary-1":"#263658","color-primary-2":"#1D4184","color-primary-3":"#184391","color-primary-4":"#18429D","color-primary-5":"#296BD0","color-primary-6":"#3693FF","color-primary-7":"#3693FF","color-primary-8":"#BBD1FF","color-primary-9":"#CBDEFF","color-primary-10":"#E8F1FF","color-green-1":"#163A2A","color-green-2":"#0D4934","color-green-3":"#005C3A","color-green-4":"#006D55","color-green-5":"#047D4C","color-green-6":"#10C278","color-green-7":"#6DD68E","color-green-8":"#91E9CA","color-green-9":"#C6F0E0","color-green-10":"#E7FFF8","color-red-1":"#431B1B","color-red-2":"#5E201D","color-red-3":"#76201B","color-red-4":"#96241B","color-red-5":"#C82D25","color-red-6":"#EA4D44","color-red-7":"#EA4D44","color-red-8":"#FFD2CF","color-red-9":"#F9DAD8","color-red-10":"#FFEEEC","color-origin-1":"#3F260A","color-origin-2":"#703510","color-origin-3":"#9B5020","color-origin-4":"#A65519","color-origin-5":"#A74800","color-origin-6":"#FF9939","color-origin-7":"#F7A55D","color-origin-8":"#FFB677","color-origin-9":"#FFD59F","color-origin-10":"#FFF7D9","color-gray-1":"#161C28","color-gray-2":"#222833","color-gray-3":"#2F3A4B","color-gray-4":"#474E58","color-gray-5":"#818691","color-gray-6":"#9DA3AF","color-gray-7":"#AFB4BE","color-gray-8":"#C7CAD1","color-gray-9":"#E5E9EF","color-gray-10":"#F6F6F6","color-gray-11":"#636467"};module.exports=r;
|