npmapps 1.0.21 → 1.0.23

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.
Files changed (105) hide show
  1. package/app/Wscats.vue-1.0.26.vsix +0 -0
  2. package/app/febean.vue-format-0.1.8.vsix +0 -0
  3. package/app/wujie-vue3-child/.claude/settings.local.json +8 -0
  4. package/app/wujie-vue3-child/.vscode/extensions.json +3 -0
  5. package/app/wujie-vue3-child/PROJECT_MEMORY.md +427 -0
  6. package/app/wujie-vue3-child/README.md +5 -0
  7. package/app/wujie-vue3-child/index.html +13 -0
  8. package/app/wujie-vue3-child/package-lock.json +5744 -0
  9. package/app/wujie-vue3-child/package.json +28 -0
  10. package/app/wujie-vue3-child/public/vite.svg +1 -0
  11. package/app/wujie-vue3-child/src/App.vue +130 -0
  12. package/app/wujie-vue3-child/src/assets/vue.svg +1 -0
  13. package/app/wujie-vue3-child/src/components/HelloWorld.vue +43 -0
  14. package/app/wujie-vue3-child/src/components/tags-view.vue +193 -0
  15. package/app/wujie-vue3-child/src/components/tags-view1.vue +131 -0
  16. package/app/wujie-vue3-child/src/hooks/useClickOutside.js +11 -0
  17. package/app/wujie-vue3-child/src/hooks/useTableDragSort.js +28 -0
  18. package/app/wujie-vue3-child/src/main.js +15 -0
  19. package/app/wujie-vue3-child/src/router/index.js +104 -0
  20. package/app/wujie-vue3-child/src/store/tagsViewStroe.js +34 -0
  21. package/app/wujie-vue3-child/src/style.css +4 -0
  22. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/README.md +836 -0
  23. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/REFLEX_EXAMPLES.md +728 -0
  24. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.jsx +687 -0
  25. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.module.scss +560 -0
  26. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.jsx +570 -0
  27. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.module.scss +330 -0
  28. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.jsx +378 -0
  29. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.module.scss +228 -0
  30. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.jsx +399 -0
  31. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.module.scss +252 -0
  32. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.jsx +585 -0
  33. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.module.scss +331 -0
  34. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.jsx +392 -0
  35. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.module.scss +39 -0
  36. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/README.md +248 -0
  37. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/SelectorTrigger.jsx +194 -0
  38. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/index.jsx +1459 -0
  39. package/app/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/mockData.js +301 -0
  40. package/app/{aiCoach → wujie-vue3-child/src/views/aiCoach}/dialogueSegment/index.jsx +28 -4
  41. package/app/wujie-vue3-child/src/views/aiCoach/index.jsx +32 -0
  42. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.jsx +121 -0
  43. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.module.scss +76 -0
  44. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/DonutChart/index.jsx +104 -0
  45. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.jsx +75 -0
  46. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.module.scss +12 -0
  47. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.jsx +62 -0
  48. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.module.scss +43 -0
  49. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.jsx +29 -0
  50. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.module.scss +5 -0
  51. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.jsx +58 -0
  52. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.module.scss +85 -0
  53. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.jsx +92 -0
  54. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.module.scss +56 -0
  55. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.jsx +40 -0
  56. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.module.scss +53 -0
  57. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsDonut.jsx +106 -0
  58. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsRankBar.jsx +132 -0
  59. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.jsx +176 -0
  60. package/app/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.module.scss +96 -0
  61. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.jsx +162 -0
  62. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.module.scss +16 -0
  63. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.jsx +29 -0
  64. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.module.scss +25 -0
  65. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.jsx +106 -0
  66. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.module.scss +164 -0
  67. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.jsx +182 -0
  68. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.module.scss +203 -0
  69. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.jsx +145 -0
  70. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.module.scss +126 -0
  71. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.jsx +67 -0
  72. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.module.scss +105 -0
  73. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.jsx +81 -0
  74. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.module.scss +47 -0
  75. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.jsx +64 -0
  76. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.module.scss +85 -0
  77. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.jsx +39 -0
  78. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.module.scss +44 -0
  79. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.jsx +83 -0
  80. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.module.scss +101 -0
  81. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/index.jsx +50 -0
  82. package/app/wujie-vue3-child/src/views/aiCoach/reportDetail/index.module.scss +25 -0
  83. package/app/wujie-vue3-child/src/views/child-to-parent.vue +117 -0
  84. package/app/wujie-vue3-child/src/views/home.vue +53 -0
  85. package/app/wujie-vue3-child/src/views/jsx/btnSelect/btnSelect.vue +169 -0
  86. package/app/wujie-vue3-child/src/views/jsx/btnSelect/index.vue +69 -0
  87. package/app/wujie-vue3-child/src/views/jsx/com.vue +44 -0
  88. package/app/wujie-vue3-child/src/views/jsx/dialog.jsx +66 -0
  89. package/app/wujie-vue3-child/src/views/jsx/index.vue +72 -0
  90. package/app/wujie-vue3-child/src/views/jsx/props.vue +33 -0
  91. package/app/wujie-vue3-child/src/views/parent-to-child.vue +225 -0
  92. package/app/wujie-vue3-child/src/views/phone-code.vue +318 -0
  93. package/app/wujie-vue3-child/src/views/router-jump.vue +123 -0
  94. package/app/wujie-vue3-child/src/views/test.vue +192 -0
  95. package/app/wujie-vue3-child/vite.config.js +15 -0
  96. package/package.json +1 -1
  97. package/app/aiCoach/index.jsx +0 -20
  98. package/npmapps-1.0.20.tgz +0 -0
  99. /package/app/{aiCoach → wujie-vue3-child/src/views/aiCoach}/collapseExpand/index.jsx +0 -0
  100. /package/app/{aiCoach → wujie-vue3-child/src/views/aiCoach}/collapseExpand/index.module.scss +0 -0
  101. /package/app/{aiCoach → wujie-vue3-child/src/views/aiCoach}/dialogueSegment/index.module.scss +0 -0
  102. /package/app/{aiCoach → wujie-vue3-child/src/views/aiCoach}/scriptTable/index.jsx +0 -0
  103. /package/app/{aiCoach → wujie-vue3-child/src/views/aiCoach}/scriptTable/index.module.scss +0 -0
  104. /package/app/{aiCoach → wujie-vue3-child/src/views/aiCoach}/scriptTable/inputColumn/index.jsx +0 -0
  105. /package/app/{aiCoach → wujie-vue3-child/src/views/aiCoach}/scriptTable/inputColumn/index.module.scss +0 -0
@@ -0,0 +1,123 @@
1
+ <template>
2
+ <div class="flex-container">
3
+ <div class="container">
4
+ <h1>子应用路由跳转</h1>
5
+ <el-input v-model="url" placeholder="请输入地址"></el-input>
6
+ <el-input v-model="name" placeholder="请输入姓名"></el-input>
7
+ <el-input v-model="age" placeholder="请输入年龄" type="number"></el-input>
8
+ <el-select v-model="selectedApp" placeholder="请选择应用">
9
+ <el-option label="main" value="main"></el-option>
10
+ <el-option label="vue3-child-copy" value="vue3-child-copy"></el-option>
11
+ <el-option label="vue2-child" value="vue2-child"></el-option>
12
+ </el-select>
13
+ <el-button type="primary" @click="jumpToMain">跳转到主应用</el-button>
14
+ </div>
15
+ <div class="route-params">
16
+ <h1>接收到的路由参数:</h1>
17
+ <p>路径: {{ $route.path }}</p>
18
+ <p v-for="(item,key) in $route.query" :key="item">{{ key }}:{{ item }}</p>
19
+ </div>
20
+ </div>
21
+ </template>
22
+
23
+ <script setup>
24
+ import { ref } from 'vue'
25
+ import { ElInput, ElButton, ElSelect, ElOption } from 'element-plus'
26
+ const url = ref('/router-jump')
27
+ const name = ref('name')
28
+ const age = ref('age')
29
+ const selectedApp = ref('main')
30
+ const jumpToMain = () => {
31
+ window.$wujie?.bus.$emit('router-jump-to-main', {
32
+ app: selectedApp.value,
33
+ path: url.value,
34
+ query: {
35
+ name: name.value,
36
+ age: age.value
37
+ }
38
+ })
39
+ }
40
+
41
+
42
+
43
+ </script>
44
+
45
+ <style scoped>
46
+ .container {
47
+ display: flex;
48
+ flex-direction: column;
49
+ align-items: center;
50
+ gap: 20px;
51
+ padding: 20px;
52
+ background-color: #f8f8f8;
53
+ border-radius: 10px;
54
+ box-shadow: 0 4px 8px rgba(0,0,0,0.15);
55
+ width: 45%;
56
+ margin: 0;
57
+ transition: box-shadow 0.3s ease-in-out;
58
+ }
59
+
60
+ h1 {
61
+ color: #333;
62
+ margin-bottom: 20px;
63
+ font-family: 'Helvetica Neue', Arial, sans-serif;
64
+ }
65
+
66
+ el-input, el-select {
67
+ width: 100%;
68
+ border: 1px solid #ccc;
69
+ border-radius: 5px;
70
+ padding: 10px;
71
+ transition: border-color 0.3s ease-in-out;
72
+ }
73
+
74
+ el-input:focus, el-select:focus {
75
+ border-color: #007BFF;
76
+ }
77
+
78
+ el-button {
79
+ width: 100%;
80
+ height: 40px;
81
+ background-color: #007BFF;
82
+ color: white;
83
+ border: none;
84
+ border-radius: 5px;
85
+ transition: background-color 0.3s ease-in-out;
86
+ }
87
+
88
+ el-button:hover {
89
+ background-color: #0056b3;
90
+ }
91
+
92
+ .route-params {
93
+ padding: 20px;
94
+ background-color: #eef2f7;
95
+ border-radius: 8px;
96
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1);
97
+ width: 45%;
98
+ margin: 0;
99
+ }
100
+
101
+ .route-params h1 {
102
+ color: #007BFF;
103
+ font-size: 24px;
104
+ }
105
+
106
+ .route-params p {
107
+ font-size: 16px;
108
+ color: #333;
109
+ margin-bottom: 10px;
110
+ background-color: #fff;
111
+ padding: 10px;
112
+ border-radius: 5px;
113
+ border: 1px solid #ccc;
114
+ }
115
+
116
+ .flex-container {
117
+ display: flex;
118
+ justify-content: space-around;
119
+ align-items: flex-start;
120
+ padding: 20px;
121
+ gap: 20px;
122
+ }
123
+ </style>
@@ -0,0 +1,192 @@
1
+ <template>
2
+ <div class="test-container">
3
+ <h1 class="test-title">vue3子应用功能测试页面</h1>
4
+ <button class="primary-btn" @click="sendMessage">发送消息</button>
5
+ <div class="test-section">
6
+ <h2 class="section-title">基础功能演示</h2>
7
+
8
+ <div class="card">
9
+ <h3>计数器示例</h3>
10
+ <div class="counter-wrapper">
11
+ <button class="btn" @click="decrease">-</button>
12
+ <span class="counter">{{ counter }}</span>
13
+ <button class="btn" @click="increase">+</button>
14
+ </div>
15
+ </div>
16
+
17
+ <div class="card">
18
+ <h3>数据列表示例</h3>
19
+ <ul class="test-list">
20
+ <li v-for="item in items" :key="item.id" class="list-item">
21
+ {{ item.name }}
22
+ </li>
23
+ </ul>
24
+ </div>
25
+ </div>
26
+ </div>
27
+ </template>
28
+
29
+ <script setup>
30
+ import { ref } from 'vue'
31
+ import { useRoute } from 'vue-router'
32
+ const counter = ref(0)
33
+ const items = ref([
34
+ { id: 1, name: '测试项目 1' },
35
+ { id: 2, name: '测试项目 2' },
36
+ { id: 3, name: '测试项目 3' }
37
+ ])
38
+
39
+ const increase = () => {
40
+ counter.value++
41
+ }
42
+
43
+ const decrease = () => {
44
+ counter.value--
45
+ }
46
+
47
+ const sendMessage = () => {
48
+
49
+ window.$wujie?.bus.$emit('child-event', {
50
+ message: 'Hello from Vue3 Child',
51
+ type: 'success',
52
+ duration: 3000,
53
+ title: 'vue3子应用测试消息'
54
+ })
55
+ }
56
+ // 获取路由参数
57
+ const route = useRoute()
58
+ </script>
59
+
60
+ <style scoped>
61
+ .test-container {
62
+ padding: 3rem;
63
+ margin: 0 auto;
64
+ background-color: #f5f7fa;
65
+ min-height: 100vh;
66
+ }
67
+
68
+ .test-title {
69
+ color: #1a1a1a;
70
+ font-size: 2.5rem;
71
+ margin-bottom: 2rem;
72
+ text-align: center;
73
+ font-weight: 600;
74
+ text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
75
+ }
76
+
77
+ .primary-btn {
78
+ background: linear-gradient(135deg, #42b983 0%, #3aa876 100%);
79
+ color: white;
80
+ border: none;
81
+ padding: 0.8rem 1.5rem;
82
+ border-radius: 6px;
83
+ cursor: pointer;
84
+ font-size: 1rem;
85
+ font-weight: 500;
86
+ transition: all 0.3s ease;
87
+ display: block;
88
+ margin: 0 auto;
89
+ box-shadow: 0 2px 8px rgba(66, 185, 131, 0.2);
90
+ }
91
+
92
+ .primary-btn:hover {
93
+ transform: translateY(-2px);
94
+ box-shadow: 0 4px 12px rgba(66, 185, 131, 0.3);
95
+ }
96
+
97
+ .test-section {
98
+ margin-top: 3rem;
99
+ }
100
+
101
+ .section-title {
102
+ color: #2c3e50;
103
+ font-size: 1.8rem;
104
+ margin-bottom: 2rem;
105
+ font-weight: 600;
106
+ position: relative;
107
+ padding-left: 1rem;
108
+ }
109
+
110
+ .section-title::before {
111
+ content: '';
112
+ position: absolute;
113
+ left: 0;
114
+ top: 50%;
115
+ transform: translateY(-50%);
116
+ width: 4px;
117
+ height: 24px;
118
+ background: #42b983;
119
+ border-radius: 2px;
120
+ }
121
+
122
+ .card {
123
+ background-color: #fff;
124
+ border-radius: 12px;
125
+ padding: 2rem;
126
+ margin-bottom: 2rem;
127
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
128
+ transition: transform 0.3s ease;
129
+ }
130
+
131
+ .card:hover {
132
+ transform: translateY(-4px);
133
+ }
134
+
135
+ .card h3 {
136
+ color: #2c3e50;
137
+ margin-bottom: 1.5rem;
138
+ font-weight: 600;
139
+ font-size: 1.4rem;
140
+ }
141
+
142
+ .counter-wrapper {
143
+ display: flex;
144
+ align-items: center;
145
+ justify-content: center;
146
+ gap: 1.5rem;
147
+ }
148
+
149
+ .counter {
150
+ font-size: 2rem;
151
+ min-width: 4rem;
152
+ text-align: center;
153
+ font-weight: 600;
154
+ color: #42b983;
155
+ }
156
+
157
+ .btn {
158
+ background-color: #42b983;
159
+ color: white;
160
+ border: none;
161
+ padding: 0.8rem 1.2rem;
162
+ border-radius: 6px;
163
+ cursor: pointer;
164
+ font-size: 1.2rem;
165
+ transition: all 0.3s ease;
166
+ box-shadow: 0 2px 8px rgba(66, 185, 131, 0.2);
167
+ }
168
+
169
+ .btn:hover {
170
+ background-color: #3aa876;
171
+ transform: scale(1.05);
172
+ }
173
+
174
+ .test-list {
175
+ list-style: none;
176
+ padding: 0;
177
+ }
178
+
179
+ .list-item {
180
+ padding: 1rem;
181
+ border-bottom: 1px solid #eee;
182
+ transition: background-color 0.3s ease;
183
+ }
184
+
185
+ .list-item:hover {
186
+ background-color: #f8f9fa;
187
+ }
188
+
189
+ .list-item:last-child {
190
+ border-bottom: none;
191
+ }
192
+ </style>
@@ -0,0 +1,15 @@
1
+ import { defineConfig } from 'vite'
2
+ import vue from '@vitejs/plugin-vue'
3
+ import vueJsx from '@vitejs/plugin-vue-jsx'
4
+
5
+ // https://vite.dev/config/
6
+ export default defineConfig({
7
+ plugins: [vue(), vueJsx()],
8
+ esbuild: {
9
+ jsxFactory: 'h',
10
+ jsxFragment: 'Fragment'
11
+ },
12
+ server: {
13
+ port: 3001
14
+ }
15
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npmapps",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,20 +0,0 @@
1
- import { defineComponent, ref } from 'vue'
2
- import DialogueSegment from './dialogueSegment/index.jsx'
3
-
4
- export default defineComponent({
5
- // 智能教练
6
- name: 'AiCoach',
7
-
8
- setup() {
9
- const activeTab = ref('dialogue-segment')
10
- return () => {
11
- return <div style={{padding: '30px'}}>
12
- <el-tabs v-model={activeTab.value} type="border-card">
13
- <el-tab-pane label="对话环节" name="dialogue-segment">
14
- <DialogueSegment />
15
- </el-tab-pane>
16
- </el-tabs>
17
- </div>
18
- }
19
- },
20
- })
Binary file