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,155 @@
|
|
|
1
|
+
import { NButton as D, NInputNumber as M } from "naive-ui";
|
|
2
|
+
import { defineComponent as F, shallowRef as B, ref as A, computed as b, watch as H, resolveComponent as L, createElementBlock as f, openBlock as t, normalizeStyle as W, normalizeClass as v, createBlock as d, createCommentVNode as a, createVNode as r, mergeProps as C, withCtx as u, createSlots as E, Fragment as O, renderSlot as I, createElementVNode as z } from "vue";
|
|
3
|
+
import P from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
4
|
+
const T = {
|
|
5
|
+
key: 1,
|
|
6
|
+
class: "inner-controls"
|
|
7
|
+
}, G = /* @__PURE__ */ F({
|
|
8
|
+
name: "BaseInputNumber",
|
|
9
|
+
__name: "index",
|
|
10
|
+
props: {
|
|
11
|
+
style: {},
|
|
12
|
+
prefixIcon: { default: "" },
|
|
13
|
+
suffixIcon: { default: "" },
|
|
14
|
+
addIcon: { default: "" },
|
|
15
|
+
minusIcon: { default: "" },
|
|
16
|
+
controlsInner: { type: Boolean },
|
|
17
|
+
disabled: { type: Boolean },
|
|
18
|
+
min: {},
|
|
19
|
+
max: {},
|
|
20
|
+
value: {},
|
|
21
|
+
size: { default: "medium" }
|
|
22
|
+
},
|
|
23
|
+
emits: ["update:value"],
|
|
24
|
+
setup(n, { emit: N }) {
|
|
25
|
+
const m = n, w = N, { mergedThemeOverridesRef: S } = P(), g = B({}), c = B({}), o = A(), h = b({
|
|
26
|
+
get() {
|
|
27
|
+
return m.value;
|
|
28
|
+
},
|
|
29
|
+
set(e) {
|
|
30
|
+
w("update:value", e);
|
|
31
|
+
}
|
|
32
|
+
}), l = b(() => m.disabled || !o.value?.addable), s = b(() => m.disabled || !o.value?.minusable), y = () => {
|
|
33
|
+
!o.value || l.value || o.value.handleAddClick();
|
|
34
|
+
}, k = () => {
|
|
35
|
+
!o.value || s.value || o.value.handleMinusClick();
|
|
36
|
+
};
|
|
37
|
+
return H(
|
|
38
|
+
() => S?.value?.InputNumber,
|
|
39
|
+
(e) => {
|
|
40
|
+
g.value = {
|
|
41
|
+
"--n-input-number-controls-color": e.controlsFontColor,
|
|
42
|
+
"--n-input-number-controls-color-disabled": e.controlFontColorDisabled,
|
|
43
|
+
"--n-input-number-inner-controls-width-large": e.innerControlsLargeWidth,
|
|
44
|
+
"--n-input-number-inner-controls-width-medium": e.innerControlsMediumWidth,
|
|
45
|
+
"--n-input-number-inner-controls-width-small": e.innerControlsSmallWidth,
|
|
46
|
+
"--n-input-number-inner-controls-height-large": e.innerControlsLargeHeight,
|
|
47
|
+
"--n-input-number-inner-controls-height-medium": e.innerControlsMediumHeight,
|
|
48
|
+
"--n-input-number-inner-controls-height-small": e.innerControlsSmallHeight,
|
|
49
|
+
"--n-input-number-inner-controls-background": e.innerControlsBackground,
|
|
50
|
+
"--n-input-number-inner-controls-background-disabled": e.innerControlsDisabledBackground,
|
|
51
|
+
"--n-input-number-inner-controls-border-radius-large": e.innerControlsLargeBorderRadius,
|
|
52
|
+
"--n-input-number-inner-controls-border-radius-medium": e.innerControlsMediumBorderRadius,
|
|
53
|
+
"--n-input-number-inner-controls-border-radius-small": e.innerControlsSmallBorderRadius
|
|
54
|
+
}, c.value = {
|
|
55
|
+
"--n-border": e.outerControlsBorderStyle,
|
|
56
|
+
"--n-border-disabled": e.outerControlsBorderStyleDisabled,
|
|
57
|
+
"--n-text-color": e.controlsFontColor,
|
|
58
|
+
"--n-text-color-disabled": e.controlFontColorDisabled,
|
|
59
|
+
"--n-color": e.outerControlsBackground,
|
|
60
|
+
"--n-color-disabled": e.outerControlsBackgroundDisabled,
|
|
61
|
+
"--n-opacity-disabled": e.outerControlsOpacityDisabled
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
immediate: !0
|
|
66
|
+
}
|
|
67
|
+
), (e, p) => {
|
|
68
|
+
const i = L("svg-icon"), x = D, $ = M;
|
|
69
|
+
return t(), f("div", {
|
|
70
|
+
class: v(["base-input-number", [`base-input-number--${n.size}`]]),
|
|
71
|
+
style: W([g.value, n.style])
|
|
72
|
+
}, [
|
|
73
|
+
n.controlsInner ? a("", !0) : (t(), d(x, C({
|
|
74
|
+
key: 0,
|
|
75
|
+
style: c.value,
|
|
76
|
+
ghost: !s.value,
|
|
77
|
+
class: "outer-controls minus-btn"
|
|
78
|
+
}, e.$attrs, {
|
|
79
|
+
disabled: s.value,
|
|
80
|
+
size: n.size,
|
|
81
|
+
onClick: k
|
|
82
|
+
}), {
|
|
83
|
+
default: u(() => [
|
|
84
|
+
r(i, { icon: "operate-minus" })
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}, 16, ["style", "ghost", "disabled", "size"])),
|
|
88
|
+
r($, C(e.$attrs, {
|
|
89
|
+
ref_key: "inputNumberRef",
|
|
90
|
+
ref: o,
|
|
91
|
+
"show-button": !1,
|
|
92
|
+
size: n.size,
|
|
93
|
+
disabled: n.disabled,
|
|
94
|
+
min: n.min,
|
|
95
|
+
max: n.max,
|
|
96
|
+
value: h.value,
|
|
97
|
+
"onUpdate:value": p[0] || (p[0] = (R) => h.value = R)
|
|
98
|
+
}), E({
|
|
99
|
+
suffix: u(() => [
|
|
100
|
+
e.$slots.suffix || n.suffixIcon ? (t(), f(O, { key: 0 }, [
|
|
101
|
+
e.$slots.suffix ? I(e.$slots, "suffix", { key: 0 }, void 0, !0) : (t(), d(i, {
|
|
102
|
+
key: 1,
|
|
103
|
+
icon: n.suffixIcon
|
|
104
|
+
}, null, 8, ["icon"]))
|
|
105
|
+
], 64)) : a("", !0),
|
|
106
|
+
n.controlsInner ? (t(), f("div", T, [
|
|
107
|
+
z("div", {
|
|
108
|
+
class: v(["add", [l.value ? "is-disabled" : ""]]),
|
|
109
|
+
onClick: y
|
|
110
|
+
}, [
|
|
111
|
+
r(i, { icon: "arrow-top" })
|
|
112
|
+
], 2),
|
|
113
|
+
z("div", {
|
|
114
|
+
class: v(["minus", [s.value ? "is-disabled" : ""]]),
|
|
115
|
+
onClick: k
|
|
116
|
+
}, [
|
|
117
|
+
r(i, { icon: "arrow-down" })
|
|
118
|
+
], 2)
|
|
119
|
+
])) : a("", !0)
|
|
120
|
+
]),
|
|
121
|
+
_: 2
|
|
122
|
+
}, [
|
|
123
|
+
e.$slots.prefix || n.prefixIcon ? {
|
|
124
|
+
name: "prefix",
|
|
125
|
+
fn: u(() => [
|
|
126
|
+
e.$slots.prefix ? I(e.$slots, "prefix", { key: 0 }, void 0, !0) : (t(), d(i, {
|
|
127
|
+
key: 1,
|
|
128
|
+
icon: n.prefixIcon
|
|
129
|
+
}, null, 8, ["icon"]))
|
|
130
|
+
]),
|
|
131
|
+
key: "0"
|
|
132
|
+
} : void 0
|
|
133
|
+
]), 1040, ["size", "disabled", "min", "max", "value"]),
|
|
134
|
+
n.controlsInner ? a("", !0) : (t(), d(x, C({
|
|
135
|
+
key: 1,
|
|
136
|
+
size: n.size,
|
|
137
|
+
ghost: !l.value,
|
|
138
|
+
style: c.value,
|
|
139
|
+
class: "outer-controls add-btn"
|
|
140
|
+
}, e.$attrs, {
|
|
141
|
+
disabled: l.value,
|
|
142
|
+
onClick: y
|
|
143
|
+
}), {
|
|
144
|
+
default: u(() => [
|
|
145
|
+
r(i, { icon: "operate-add" })
|
|
146
|
+
]),
|
|
147
|
+
_: 1
|
|
148
|
+
}, 16, ["size", "ghost", "style", "disabled"]))
|
|
149
|
+
], 6);
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
export {
|
|
154
|
+
G as default
|
|
155
|
+
};
|
|
@@ -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,56 @@
|
|
|
1
|
+
import { NScrollbar as c } from "naive-ui";
|
|
2
|
+
import { defineComponent as m, shallowRef as t, watch as v, createElementBlock as y, openBlock as g, mergeProps as h, createElementVNode as l, normalizeStyle as a, normalizeClass as n, renderSlot as s, createVNode as C, withCtx as S } from "vue";
|
|
3
|
+
import p from "../../../hooks/useNaiveConfigProvideContext.mjs";
|
|
4
|
+
const w = { class: "flex-1 overflow-hidden" }, L = /* @__PURE__ */ m({
|
|
5
|
+
__name: "index",
|
|
6
|
+
props: {
|
|
7
|
+
logoClass: {},
|
|
8
|
+
logoStyle: {},
|
|
9
|
+
footerClass: {},
|
|
10
|
+
footerStyle: {}
|
|
11
|
+
},
|
|
12
|
+
setup(o) {
|
|
13
|
+
const { mergedThemeOverridesRef: d } = p(), r = t({}), i = t({}), f = t({});
|
|
14
|
+
return v(
|
|
15
|
+
() => d?.value?.Layout,
|
|
16
|
+
(e) => {
|
|
17
|
+
e && (r.value = {
|
|
18
|
+
"--n-color": e.siderColor || void 0
|
|
19
|
+
});
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
immediate: !0
|
|
23
|
+
}
|
|
24
|
+
), (e, b) => {
|
|
25
|
+
const u = c;
|
|
26
|
+
return g(), y("aside", h({
|
|
27
|
+
class: "h-full w-full flex-col-stretch base-layout-aside",
|
|
28
|
+
style: r.value
|
|
29
|
+
}, e.$attrs), [
|
|
30
|
+
l("div", {
|
|
31
|
+
class: n(["base-layout-aside-logo-wrap", o.logoClass]),
|
|
32
|
+
style: a([i.value, o.logoStyle])
|
|
33
|
+
}, [
|
|
34
|
+
s(e.$slots, "header", {}, void 0, !0)
|
|
35
|
+
], 6),
|
|
36
|
+
l("div", w, [
|
|
37
|
+
C(u, null, {
|
|
38
|
+
default: S(() => [
|
|
39
|
+
s(e.$slots, "default", {}, void 0, !0)
|
|
40
|
+
]),
|
|
41
|
+
_: 3
|
|
42
|
+
})
|
|
43
|
+
]),
|
|
44
|
+
l("div", {
|
|
45
|
+
class: n(["base-layout-aside-footer", o.footerClass]),
|
|
46
|
+
style: a([f.value, o.footerStyle])
|
|
47
|
+
}, [
|
|
48
|
+
s(e.$slots, "footer", {}, void 0, !0)
|
|
49
|
+
], 6)
|
|
50
|
+
], 16);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
L as default
|
|
56
|
+
};
|
|
@@ -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,81 @@
|
|
|
1
|
+
import { defineComponent as f, shallowRef as m, watch as p, h as e } from "vue";
|
|
2
|
+
import { progressProps as g, NProgress as h } from "naive-ui";
|
|
3
|
+
import { SvgIcon as u } from "../../node_modules/.pnpm/lib-materials@0.0.8_typescript@5.7.2/node_modules/lib-materials/dist/lib-materials.mjs";
|
|
4
|
+
import v from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
5
|
+
const z = {
|
|
6
|
+
...g,
|
|
7
|
+
circleSize: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "medium"
|
|
10
|
+
},
|
|
11
|
+
tip: String
|
|
12
|
+
}, P = f({
|
|
13
|
+
name: "BaseProgress",
|
|
14
|
+
props: z,
|
|
15
|
+
setup(t, { slots: r }) {
|
|
16
|
+
const o = "base-progress-", { mergedThemeOverridesRef: s } = v(), n = m({}), c = () => e(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
class: `${o}dashboard-content`
|
|
20
|
+
},
|
|
21
|
+
[
|
|
22
|
+
e(
|
|
23
|
+
"div",
|
|
24
|
+
{
|
|
25
|
+
class: `${o}dashboard-content-logo`,
|
|
26
|
+
style: "height:24px;width:24px"
|
|
27
|
+
},
|
|
28
|
+
r.icon ? r.icon() : e(u, { icon: "progress-default", size: "18" })
|
|
29
|
+
),
|
|
30
|
+
e(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
class: `${o}dashboard-content-title`
|
|
34
|
+
},
|
|
35
|
+
[
|
|
36
|
+
e("span", {}, `${t.percentage}`),
|
|
37
|
+
e("span", {}, "%")
|
|
38
|
+
]
|
|
39
|
+
),
|
|
40
|
+
t.tip ? e(
|
|
41
|
+
"div",
|
|
42
|
+
{
|
|
43
|
+
class: `${o}dashboard-content-tip`
|
|
44
|
+
},
|
|
45
|
+
t.tip
|
|
46
|
+
) : void 0
|
|
47
|
+
]
|
|
48
|
+
), d = () => {
|
|
49
|
+
if (r.default) return () => r.default();
|
|
50
|
+
if (t.type === "dashboard") return c;
|
|
51
|
+
};
|
|
52
|
+
return p(
|
|
53
|
+
() => s?.value?.Progress,
|
|
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,
|
|
68
|
+
{
|
|
69
|
+
...t,
|
|
70
|
+
class: "base-progress",
|
|
71
|
+
style: n.value
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
default: d()
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
export {
|
|
80
|
+
P as default
|
|
81
|
+
};
|
|
@@ -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,42 @@
|
|
|
1
|
+
import { NRadio as d } from "naive-ui";
|
|
2
|
+
import { defineComponent as r, shallowRef as n, watch as l, createBlock as m, openBlock as c, mergeProps as f, createSlots as b, renderList as v, withCtx as u, renderSlot as h } from "vue";
|
|
3
|
+
import p from "../../hooks/useNaiveConfigProvideContext.mjs";
|
|
4
|
+
const y = /* @__PURE__ */ r({
|
|
5
|
+
name: "BaseRadio",
|
|
6
|
+
__name: "index",
|
|
7
|
+
props: {
|
|
8
|
+
className: { default: "" },
|
|
9
|
+
style: { default: () => ({}) }
|
|
10
|
+
},
|
|
11
|
+
setup(o) {
|
|
12
|
+
const { mergedThemeOverridesRef: s } = p(), t = n({});
|
|
13
|
+
return l(
|
|
14
|
+
() => s?.value?.Radio,
|
|
15
|
+
(e) => {
|
|
16
|
+
e && (t.value = {
|
|
17
|
+
"--n-box-shadow-active-disabled": e.boxShadowActiveDisabled || e.boxShadowDisabled,
|
|
18
|
+
"--n-color-active-disabled": e.colorActiveDisabled || e.boxShadowDisabled
|
|
19
|
+
});
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
immediate: !0
|
|
23
|
+
}
|
|
24
|
+
), (e, w) => {
|
|
25
|
+
const i = d;
|
|
26
|
+
return c(), m(i, f(e.$attrs, {
|
|
27
|
+
class: ["base-radio", o.className],
|
|
28
|
+
style: [t.value, o.style]
|
|
29
|
+
}), b({ _: 2 }, [
|
|
30
|
+
v(e.$slots, (x, a) => ({
|
|
31
|
+
name: a,
|
|
32
|
+
fn: u(() => [
|
|
33
|
+
h(e.$slots, a, {}, void 0, !0)
|
|
34
|
+
])
|
|
35
|
+
}))
|
|
36
|
+
]), 1040, ["class", "style"]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
y as default
|
|
42
|
+
};
|