@wukang17681264762/npmapps-new 1.0.0
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/package.json +11 -0
- package/wujie-wk/t.html +90 -0
- package/wujie-wk/wujie-react-child/README.md +126 -0
- package/wujie-wk/wujie-react-child/eslint.config.js +28 -0
- package/wujie-wk/wujie-react-child/index.html +13 -0
- package/wujie-wk/wujie-react-child/package-lock.json +4344 -0
- package/wujie-wk/wujie-react-child/package.json +32 -0
- package/wujie-wk/wujie-react-child/public/vite.svg +1 -0
- package/wujie-wk/wujie-react-child/src/App.css +0 -0
- package/wujie-wk/wujie-react-child/src/App.tsx +72 -0
- package/wujie-wk/wujie-react-child/src/assets/react.svg +1 -0
- package/wujie-wk/wujie-react-child/src/components/FeatureCards.css +63 -0
- package/wujie-wk/wujie-react-child/src/components/FeatureCards.tsx +112 -0
- package/wujie-wk/wujie-react-child/src/components/LightCard/index.tsx +36 -0
- package/wujie-wk/wujie-react-child/src/components/LightCard/style.css +20 -0
- package/wujie-wk/wujie-react-child/src/hooks/use3DCard.ts +53 -0
- package/wujie-wk/wujie-react-child/src/hooks/useLightCard.ts +141 -0
- package/wujie-wk/wujie-react-child/src/index.css +0 -0
- package/wujie-wk/wujie-react-child/src/main.tsx +8 -0
- package/wujie-wk/wujie-react-child/src/pages/ChildToParent/index.css +55 -0
- package/wujie-wk/wujie-react-child/src/pages/ChildToParent/index.tsx +88 -0
- package/wujie-wk/wujie-react-child/src/pages/Css.tsx +28 -0
- package/wujie-wk/wujie-react-child/src/pages/Home.tsx +72 -0
- package/wujie-wk/wujie-react-child/src/pages/ParentToChild.css +85 -0
- package/wujie-wk/wujie-react-child/src/pages/ParentToChild.tsx +119 -0
- package/wujie-wk/wujie-react-child/src/pages/RouterJump/index.css +61 -0
- package/wujie-wk/wujie-react-child/src/pages/RouterJump/index.tsx +87 -0
- package/wujie-wk/wujie-react-child/src/router/index.tsx +63 -0
- package/wujie-wk/wujie-react-child/src/types/wujie.d.ts +26 -0
- package/wujie-wk/wujie-react-child/src/vite-env.d.ts +1 -0
- package/wujie-wk/wujie-react-child/tsconfig.app.json +26 -0
- package/wujie-wk/wujie-react-child/tsconfig.json +7 -0
- package/wujie-wk/wujie-react-child/tsconfig.node.json +24 -0
- package/wujie-wk/wujie-react-child/vite.config.ts +10 -0
- package/wujie-wk/wujie-vue2-child/.eslintrc.js +19 -0
- package/wujie-wk/wujie-vue2-child/README.md +24 -0
- package/wujie-wk/wujie-vue2-child/babel.config.js +5 -0
- package/wujie-wk/wujie-vue2-child/jsconfig.json +19 -0
- package/wujie-wk/wujie-vue2-child/package-lock.json +21162 -0
- package/wujie-wk/wujie-vue2-child/package.json +61 -0
- package/wujie-wk/wujie-vue2-child/postcss.config.js +10 -0
- package/wujie-wk/wujie-vue2-child/public/favicon.ico +0 -0
- package/wujie-wk/wujie-vue2-child/public/index.html +17 -0
- package/wujie-wk/wujie-vue2-child/public//344/270/200/351/224/256/351/273/221/346/232/227.html +136 -0
- package/wujie-wk/wujie-vue2-child/src/App.vue +110 -0
- package/wujie-wk/wujie-vue2-child/src/assets/bpmn-camunda.jpg +0 -0
- package/wujie-wk/wujie-vue2-child/src/assets/css/diagram.less +17 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/Icon.less +31 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/app-codes.css +26 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.eot +0 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.svg +60 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.ttf +0 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.woff +0 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.woff2 +0 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/config.json +248 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-bottom-tool.svg +30 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-horizontal-center-tool.svg +85 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-left-tool.svg +84 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-right-tool.svg +80 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-top-tool.svg +84 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-vertical-center-tool.svg +89 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-horizontally-tool.svg +95 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-vertically-tool.svg +99 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/set-color-tool.svg +111 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-bottom-tool.svg +30 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-horizontal-center-tool.svg +30 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-left-tool.svg +30 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-right-tool.svg +30 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-top-tool.svg +30 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-vertical-center-tool.svg +30 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-horizontally-tool.svg +30 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-vertically-tool.svg +30 -0
- package/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/set-color-tool.svg +63 -0
- package/wujie-wk/wujie-vue2-child/src/assets/logo.png +0 -0
- package/wujie-wk/wujie-vue2-child/src/components/EllTable/README.md +70 -0
- package/wujie-wk/wujie-vue2-child/src/components/EllTable/article.md +184 -0
- package/wujie-wk/wujie-vue2-child/src/components/EllTable/index.js +213 -0
- package/wujie-wk/wujie-vue2-child/src/components/HelloWorld.vue +58 -0
- package/wujie-wk/wujie-vue2-child/src/components/Splitter/README.md +144 -0
- package/wujie-wk/wujie-vue2-child/src/components/Splitter/example.vue +84 -0
- package/wujie-wk/wujie-vue2-child/src/components/Splitter/index.vue +203 -0
- package/wujie-wk/wujie-vue2-child/src/components/diagram/ToolBar.vue +357 -0
- package/wujie-wk/wujie-vue2-child/src/components/diagram/customTranslate/customTranslate.js +12 -0
- package/wujie-wk/wujie-vue2-child/src/components/diagram/customTranslate/translationsGerman.js +241 -0
- package/wujie-wk/wujie-vue2-child/src/components/diagram/index.vue +261 -0
- package/wujie-wk/wujie-vue2-child/src/components/diagram/xmlData.js +29 -0
- package/wujie-wk/wujie-vue2-child/src/main.js +36 -0
- package/wujie-wk/wujie-vue2-child/src/router/index.js +81 -0
- package/wujie-wk/wujie-vue2-child/src/store/index.js +23 -0
- package/wujie-wk/wujie-vue2-child/src/utils/winBox.js +23 -0
- package/wujie-wk/wujie-vue2-child/src/views/Extend/A.vue +12 -0
- package/wujie-wk/wujie-vue2-child/src/views/Extend/B.vue +10 -0
- package/wujie-wk/wujie-vue2-child/src/views/Extend/MagicalComponentsForELFormItem.vue +78 -0
- package/wujie-wk/wujie-vue2-child/src/views/Extend/index.vue +64 -0
- package/wujie-wk/wujie-vue2-child/src/views/Extend/tableMouseHorizontalWheel.vue +184 -0
- package/wujie-wk/wujie-vue2-child/src/views/Home.vue +27 -0
- package/wujie-wk/wujie-vue2-child/src/views/RouterJump.vue +140 -0
- package/wujie-wk/wujie-vue2-child/src/views/Test.vue +5 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/home/components/DashboardCard.vue +71 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/home/crossInstitutionalCapacityDashboard/index.vue +111 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/home/earlyWarning/index.vue +157 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/home/index.vue +74 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/home/institutionalCapacityDashboard/aChart.vue +48 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/home/institutionalCapacityDashboard/analogData.js +405 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/home/institutionalCapacityDashboard/index.vue +110 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/home/institutionalCapacityDashboard/moreDialog.vue +173 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/home/performanceLeaderboard/index.vue +80 -0
- package/wujie-wk/wujie-vue2-child/src/views/capacityDashboard/index.vue +89 -0
- package/wujie-wk/wujie-vue2-child/src/views/css.vue +41 -0
- package/wujie-wk/wujie-vue2-child/src/views/cssComponents/EllipsisText.vue +71 -0
- package/wujie-wk/wujie-vue2-child/src/views/cssComponents/HoverCard.vue +64 -0
- package/wujie-wk/wujie-vue2-child/src/views/cssComponents/TableHover.vue +130 -0
- package/wujie-wk/wujie-vue2-child/src/views/cssComponents/inputSlo.vue +41 -0
- package/wujie-wk/wujie-vue2-child/src/views/cssComponents/tableFixed.vue +148 -0
- package/wujie-wk/wujie-vue2-child/src/views/echarts/echart-dome.vue +64 -0
- package/wujie-wk/wujie-vue2-child/src/views/echarts/index.vue +118 -0
- package/wujie-wk/wujie-vue2-child/src/views/echarts/pei3d.vue +652 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/bpmn/index.vue +15 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/calendar/README.md +329 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/calendar/customCalendar.vue +327 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/calendar/data.js +177 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/calendar/index.vue +175 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/components/attendanceCycle/index.vue +131 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/components/attendanceGroup/index.vue +147 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/components/attendancePersonnel/index.vue +158 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/components/companyCalendar/index.vue +147 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/components/shift/index.vue +147 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/components/shiftRotationSystem/index.vue +147 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFn/com.vue +66 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFn/com11.vue +31 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFn/index.js +76 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFn/index.vue +45 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFnJsx/DialogForm.vue +51 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFnJsx/README.md +98 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFnJsx/com.vue +74 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFnJsx/com11.vue +31 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFnJsx/dialog/index.js +8 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFnJsx/dialog/src/component.vue +212 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFnJsx/examples.vue +205 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFnJsx/index.js +59 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/dialogFnJsx/index.vue +91 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/columnManagement.vue +340 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/dialogInput.vue +71 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/elTableJsx.vue +1826 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/formTable.vue +595 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/index.vue +29 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/simpleTable.vue +189 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx.zip +0 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/elTreeCheckStrictly.vue +144 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/employeeSchedulingManagement/batchScheduling/index.vue +401 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/employeeSchedulingManagement/batchShiftChange/index.vue +204 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/employeeSchedulingManagement/data.js +768 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/employeeSchedulingManagement/index.vue +436 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/employeeSchedulingManagement/shiftChangeRecord/index.vue +250 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/employeeSchedulingManagement/shiftItem.vue +107 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/index.vue +71 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/sort/index.vue +109 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/sort/sortTable.md +71 -0
- package/wujie-wk/wujie-vue2-child/src/views/element/sort/sortTable.vue +321 -0
- package/wujie-wk/wujie-vue2-child/vue.config.js +13 -0
- package/wujie-wk/wujie-vue3-child/.claude/settings.local.json +8 -0
- package/wujie-wk/wujie-vue3-child/.vscode/extensions.json +3 -0
- package/wujie-wk/wujie-vue3-child/PROJECT_MEMORY.md +427 -0
- package/wujie-wk/wujie-vue3-child/README.md +5 -0
- package/wujie-wk/wujie-vue3-child/index.html +13 -0
- package/wujie-wk/wujie-vue3-child/package-lock.json +5744 -0
- package/wujie-wk/wujie-vue3-child/package.json +28 -0
- package/wujie-wk/wujie-vue3-child/public/vite.svg +1 -0
- package/wujie-wk/wujie-vue3-child/src/App.vue +130 -0
- package/wujie-wk/wujie-vue3-child/src/assets/vue.svg +1 -0
- package/wujie-wk/wujie-vue3-child/src/components/HelloWorld.vue +43 -0
- package/wujie-wk/wujie-vue3-child/src/components/tags-view.vue +193 -0
- package/wujie-wk/wujie-vue3-child/src/components/tags-view1.vue +131 -0
- package/wujie-wk/wujie-vue3-child/src/hooks/useClickOutside.js +11 -0
- package/wujie-wk/wujie-vue3-child/src/hooks/useTableDragSort.js +28 -0
- package/wujie-wk/wujie-vue3-child/src/main.js +15 -0
- package/wujie-wk/wujie-vue3-child/src/router/index.js +104 -0
- package/wujie-wk/wujie-vue3-child/src/store/tagsViewStroe.js +34 -0
- package/wujie-wk/wujie-vue3-child/src/style.css +4 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.jsx +108 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.module.scss +97 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/README.md +836 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/REFLEX_EXAMPLES.md +728 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.jsx +893 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.module.scss +559 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.jsx +622 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.module.scss +328 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.jsx +378 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.module.scss +226 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.jsx +637 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.module.scss +329 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.jsx +392 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.module.scss +39 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/README.md +248 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/index.jsx +936 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/mockData.js +301 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.jsx +182 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.module.scss +28 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/index.jsx +32 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.jsx +121 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.module.scss +76 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/DonutChart/index.jsx +104 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.jsx +75 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.module.scss +12 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.jsx +62 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.module.scss +43 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.jsx +29 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.module.scss +5 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.jsx +58 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.module.scss +85 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.jsx +92 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.module.scss +56 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.jsx +40 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.module.scss +53 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsDonut.jsx +106 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsRankBar.jsx +132 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.jsx +176 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.module.scss +96 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.jsx +162 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.module.scss +16 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.jsx +29 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.module.scss +25 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.jsx +106 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.module.scss +164 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.jsx +182 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.module.scss +203 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.jsx +145 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.module.scss +126 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.jsx +67 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.module.scss +105 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.jsx +81 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.module.scss +47 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.jsx +64 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.module.scss +85 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.jsx +39 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.module.scss +44 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.jsx +83 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.module.scss +101 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/index.jsx +50 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/index.module.scss +25 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/index.jsx +196 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/index.module.scss +41 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.jsx +183 -0
- package/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.module.scss +115 -0
- package/wujie-wk/wujie-vue3-child/src/views/child-to-parent.vue +117 -0
- package/wujie-wk/wujie-vue3-child/src/views/home.vue +53 -0
- package/wujie-wk/wujie-vue3-child/src/views/jsx/btnSelect/btnSelect.vue +169 -0
- package/wujie-wk/wujie-vue3-child/src/views/jsx/btnSelect/index.vue +69 -0
- package/wujie-wk/wujie-vue3-child/src/views/jsx/com.vue +44 -0
- package/wujie-wk/wujie-vue3-child/src/views/jsx/dialog.jsx +66 -0
- package/wujie-wk/wujie-vue3-child/src/views/jsx/index.vue +72 -0
- package/wujie-wk/wujie-vue3-child/src/views/jsx/props.vue +33 -0
- package/wujie-wk/wujie-vue3-child/src/views/parent-to-child.vue +225 -0
- package/wujie-wk/wujie-vue3-child/src/views/phone-code.vue +318 -0
- package/wujie-wk/wujie-vue3-child/src/views/router-jump.vue +123 -0
- package/wujie-wk/wujie-vue3-child/src/views/test.vue +192 -0
- package/wujie-wk/wujie-vue3-child/vite.config.js +15 -0
- package/wujie-wk/wujie-vue3-child copy/.vscode/extensions.json +3 -0
- package/wujie-wk/wujie-vue3-child copy/README.md +5 -0
- package/wujie-wk/wujie-vue3-child copy/index.html +13 -0
- package/wujie-wk/wujie-vue3-child copy/package-lock.json +4617 -0
- package/wujie-wk/wujie-vue3-child copy/package.json +22 -0
- package/wujie-wk/wujie-vue3-child copy/public/vite.svg +1 -0
- package/wujie-wk/wujie-vue3-child copy/src/App.vue +124 -0
- package/wujie-wk/wujie-vue3-child copy/src/assets/vue.svg +1 -0
- package/wujie-wk/wujie-vue3-child copy/src/components/HelloWorld.vue +43 -0
- package/wujie-wk/wujie-vue3-child copy/src/main.js +12 -0
- package/wujie-wk/wujie-vue3-child copy/src/router/index.js +84 -0
- package/wujie-wk/wujie-vue3-child copy/src/style.css +4 -0
- package/wujie-wk/wujie-vue3-child copy/src/views/child-to-parent.vue +117 -0
- package/wujie-wk/wujie-vue3-child copy/src/views/home.vue +53 -0
- package/wujie-wk/wujie-vue3-child copy/src/views/parent-to-child.vue +225 -0
- package/wujie-wk/wujie-vue3-child copy/src/views/phone-code.vue +318 -0
- package/wujie-wk/wujie-vue3-child copy/src/views/router-jump.vue +115 -0
- package/wujie-wk/wujie-vue3-child copy/src/views/test.vue +192 -0
- package/wujie-wk/wujie-vue3-child copy/vite.config.js +10 -0
- package/wujie-wk/wujie-vue3-main/.vscode/extensions.json +3 -0
- package/wujie-wk/wujie-vue3-main/README.md +154 -0
- package/wujie-wk/wujie-vue3-main/index.html +13 -0
- package/wujie-wk/wujie-vue3-main/package-lock.json +4736 -0
- package/wujie-wk/wujie-vue3-main/package.json +25 -0
- package/wujie-wk/wujie-vue3-main/public/vite.svg +1 -0
- package/wujie-wk/wujie-vue3-main/src/App.vue +879 -0
- package/wujie-wk/wujie-vue3-main/src/assets/vue.svg +1 -0
- package/wujie-wk/wujie-vue3-main/src/components/HelloWorld.vue +43 -0
- package/wujie-wk/wujie-vue3-main/src/components/WujieReact/index.vue +20 -0
- package/wujie-wk/wujie-vue3-main/src/components/WujieVue2/index.vue +8 -0
- package/wujie-wk/wujie-vue3-main/src/components/WujieVue3/index.vue +8 -0
- package/wujie-wk/wujie-vue3-main/src/components/WujieVue3Copy/index.vue +8 -0
- package/wujie-wk/wujie-vue3-main/src/main.js +23 -0
- package/wujie-wk/wujie-vue3-main/src/router/index.js +88 -0
- package/wujie-wk/wujie-vue3-main/src/store/useMicroAppStore.js +66 -0
- package/wujie-wk/wujie-vue3-main/src/style.css +3 -0
- package/wujie-wk/wujie-vue3-main/src/views/home.vue +103 -0
- package/wujie-wk/wujie-vue3-main/src/views/router-jump.vue +159 -0
- package/wujie-wk/wujie-vue3-main/src/views/test.vue +125 -0
- package/wujie-wk/wujie-vue3-main/src/views/vue3-child-msg.vue +108 -0
- package/wujie-wk/wujie-vue3-main/vite.config.js +12 -0
package/package.json
ADDED
package/wujie-wk/t.html
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>vue.draggable vue3例子</title>
|
|
6
|
+
<meta name="viewport"
|
|
7
|
+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
|
|
8
|
+
<script src="https://www.itxst.com/package/vue3/vue.global.js"></script>
|
|
9
|
+
<script src="https://www.itxst.com/package/sortable/Sortable.min.js"></script>
|
|
10
|
+
<script src="https://www.itxst.com/package/vuedraggablenext/vuedraggable.umd.min.js"></script>
|
|
11
|
+
</head>
|
|
12
|
+
<body style="padding:10px;">
|
|
13
|
+
<div id="app" class="demo">
|
|
14
|
+
<draggable :list="list" ghost-class="ghost" :force-fallback="true" chosen-class="chosenClass" animation="300"
|
|
15
|
+
@start="onStart" @end="onEnd">
|
|
16
|
+
<template #item="{ element }">
|
|
17
|
+
<div class="item">
|
|
18
|
+
{{ element.name }}
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
</draggable>
|
|
22
|
+
</div>
|
|
23
|
+
<script>
|
|
24
|
+
const app = {
|
|
25
|
+
data() {
|
|
26
|
+
return {
|
|
27
|
+
//需要拖拽的数据
|
|
28
|
+
list: [
|
|
29
|
+
{ name: "www.itxst.com", id: 0 },
|
|
30
|
+
{ name: "www.baidu.com", id: 1 },
|
|
31
|
+
{ name: "www.google.com", id: 2 },
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
//注册draggable组件
|
|
36
|
+
components: {
|
|
37
|
+
'draggable': window.vuedraggable
|
|
38
|
+
},
|
|
39
|
+
methods: {
|
|
40
|
+
//开始拖拽事件
|
|
41
|
+
onStart() {
|
|
42
|
+
|
|
43
|
+
},
|
|
44
|
+
//结束拖拽事件
|
|
45
|
+
onEnd() {
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
Vue.createApp(app).mount('#app')
|
|
51
|
+
</script>
|
|
52
|
+
<style>
|
|
53
|
+
.itxst {
|
|
54
|
+
width: 600px;
|
|
55
|
+
display: flex;
|
|
56
|
+
}
|
|
57
|
+
.itxst>div:nth-of-type(1) {
|
|
58
|
+
flex: 1;
|
|
59
|
+
}
|
|
60
|
+
.itxst>div:nth-of-type(2) {
|
|
61
|
+
width: 270px;
|
|
62
|
+
padding-left: 20px;
|
|
63
|
+
}
|
|
64
|
+
.item {
|
|
65
|
+
border: solid 1px #eee;
|
|
66
|
+
padding: 6px 10px;
|
|
67
|
+
text-align: left;
|
|
68
|
+
}
|
|
69
|
+
.item:hover {
|
|
70
|
+
cursor: move;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.item+.item {
|
|
74
|
+
margin-top: 10px;
|
|
75
|
+
}
|
|
76
|
+
.ghost {
|
|
77
|
+
border: solid 1px rgb(19, 41, 239) !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.chosenClass {
|
|
81
|
+
background-color: #eee;
|
|
82
|
+
opacity: 1;
|
|
83
|
+
border: solid 1px red;
|
|
84
|
+
}
|
|
85
|
+
.fallbackClass {
|
|
86
|
+
background-color: aquamarine;
|
|
87
|
+
}
|
|
88
|
+
</style>
|
|
89
|
+
</body>
|
|
90
|
+
</html>
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# Wujie React 子应用
|
|
2
|
+
|
|
3
|
+
## 项目简介
|
|
4
|
+
|
|
5
|
+
这是一个基于 React + TypeScript + Vite 构建的无界微前端子应用。项目采用现代化的技术栈和工具链,提供了完整的开发环境配置和类型支持。
|
|
6
|
+
|
|
7
|
+
## 技术栈
|
|
8
|
+
|
|
9
|
+
- React 18
|
|
10
|
+
- TypeScript
|
|
11
|
+
- Vite
|
|
12
|
+
- ESLint
|
|
13
|
+
- React Router
|
|
14
|
+
|
|
15
|
+
## 项目结构
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
├── public/ # 静态资源目录
|
|
19
|
+
├── src/ # 源代码目录
|
|
20
|
+
│ ├── assets/ # 资源文件
|
|
21
|
+
│ ├── pages/ # 页面组件
|
|
22
|
+
│ ├── router/ # 路由配置
|
|
23
|
+
│ ├── types/ # TypeScript 类型定义
|
|
24
|
+
│ ├── App.tsx # 应用入口组件
|
|
25
|
+
│ └── main.tsx # 应用入口文件
|
|
26
|
+
├── index.html # HTML 模板
|
|
27
|
+
├── package.json # 项目依赖配置
|
|
28
|
+
├── tsconfig.json # TypeScript 配置
|
|
29
|
+
└── vite.config.ts # Vite 配置
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## 快速开始
|
|
33
|
+
|
|
34
|
+
### 安装依赖
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm install
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### 开发模式
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm run dev
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### 构建生产版本
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npm run build
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## 无界微前端配置
|
|
53
|
+
|
|
54
|
+
### 子应用配置
|
|
55
|
+
|
|
56
|
+
作为无界微前端的子应用,本项目已经完成了必要的配置:
|
|
57
|
+
|
|
58
|
+
1. 路由采用 history 模式
|
|
59
|
+
2. 资源路径配置为相对路径
|
|
60
|
+
3. 导出生命周期钩子供主应用调用
|
|
61
|
+
|
|
62
|
+
### 与主应用通信
|
|
63
|
+
|
|
64
|
+
子应用可以通过以下方式与主应用进行通信:
|
|
65
|
+
|
|
66
|
+
1. 通过 `window.$wujie` 获取无界提供的通信方法
|
|
67
|
+
2. 使用 `props` 接收主应用传递的数据
|
|
68
|
+
3. 通过事件总线进行消息通信
|
|
69
|
+
|
|
70
|
+
示例:
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
// 接收主应用传递的数据
|
|
74
|
+
window.$wujie?.props
|
|
75
|
+
|
|
76
|
+
// 向主应用发送消息
|
|
77
|
+
window.$wujie?.bus.$emit('eventName', data)
|
|
78
|
+
|
|
79
|
+
// 监听主应用消息
|
|
80
|
+
window.$wujie?.bus.$on('eventName', (data) => {
|
|
81
|
+
console.log(data)
|
|
82
|
+
})
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## 开发指南
|
|
86
|
+
|
|
87
|
+
### ESLint 配置
|
|
88
|
+
|
|
89
|
+
项目使用 ESLint 进行代码规范检查,支持 TypeScript。主要配置包括:
|
|
90
|
+
|
|
91
|
+
- 类型检查规则
|
|
92
|
+
- React 最佳实践规则
|
|
93
|
+
- 代码风格规则
|
|
94
|
+
|
|
95
|
+
### 类型检查
|
|
96
|
+
|
|
97
|
+
启用了严格的 TypeScript 类型检查,确保代码质量:
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
{
|
|
101
|
+
"compilerOptions": {
|
|
102
|
+
"strict": true,
|
|
103
|
+
"noImplicitAny": true
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### 开发建议
|
|
109
|
+
|
|
110
|
+
1. 遵循 React 组件最佳实践
|
|
111
|
+
2. 使用 TypeScript 类型标注
|
|
112
|
+
3. 保持良好的代码组织结构
|
|
113
|
+
4. 编写必要的注释和文档
|
|
114
|
+
|
|
115
|
+
## 注意事项
|
|
116
|
+
|
|
117
|
+
1. 避免修改 window 对象上的全局变量
|
|
118
|
+
2. 注意样式隔离,防止与其他应用样式冲突
|
|
119
|
+
3. 合理使用生命周期钩子,确保应用可以被正确加载和卸载
|
|
120
|
+
|
|
121
|
+
## 相关文档
|
|
122
|
+
|
|
123
|
+
- [无界文档](https://wujie-micro.github.io/doc/)
|
|
124
|
+
- [React 文档](https://react.dev/)
|
|
125
|
+
- [Vite 文档](https://vitejs.dev/)
|
|
126
|
+
- [TypeScript 文档](https://www.typescriptlang.org/)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import js from '@eslint/js'
|
|
2
|
+
import globals from 'globals'
|
|
3
|
+
import reactHooks from 'eslint-plugin-react-hooks'
|
|
4
|
+
import reactRefresh from 'eslint-plugin-react-refresh'
|
|
5
|
+
import tseslint from 'typescript-eslint'
|
|
6
|
+
|
|
7
|
+
export default tseslint.config(
|
|
8
|
+
{ ignores: ['dist'] },
|
|
9
|
+
{
|
|
10
|
+
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
|
11
|
+
files: ['**/*.{ts,tsx}'],
|
|
12
|
+
languageOptions: {
|
|
13
|
+
ecmaVersion: 2020,
|
|
14
|
+
globals: globals.browser,
|
|
15
|
+
},
|
|
16
|
+
plugins: {
|
|
17
|
+
'react-hooks': reactHooks,
|
|
18
|
+
'react-refresh': reactRefresh,
|
|
19
|
+
},
|
|
20
|
+
rules: {
|
|
21
|
+
...reactHooks.configs.recommended.rules,
|
|
22
|
+
'react-refresh/only-export-components': [
|
|
23
|
+
'warn',
|
|
24
|
+
{ allowConstantExport: true },
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>Vite + React + TS</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div id="root"></div>
|
|
11
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|