npmapps 1.1.6 → 1.3.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.
Files changed (297) hide show
  1. package/README.md +41 -0
  2. package/files/part-002 +4 -0
  3. package/get.js +193 -0
  4. package/manifest.json +28 -0
  5. package/package.json +17 -10
  6. package/PUBLISH.md +0 -268
  7. package/app/wujie-wk/dev.log +0 -1979
  8. package/app/wujie-wk/t.html +0 -90
  9. package/app/wujie-wk/wujie-react-child/README.md +0 -126
  10. package/app/wujie-wk/wujie-react-child/eslint.config.js +0 -28
  11. package/app/wujie-wk/wujie-react-child/index.html +0 -13
  12. package/app/wujie-wk/wujie-react-child/package-lock.json +0 -4344
  13. package/app/wujie-wk/wujie-react-child/package.json +0 -32
  14. package/app/wujie-wk/wujie-react-child/public/vite.svg +0 -1
  15. package/app/wujie-wk/wujie-react-child/src/App.css +0 -0
  16. package/app/wujie-wk/wujie-react-child/src/App.tsx +0 -72
  17. package/app/wujie-wk/wujie-react-child/src/assets/react.svg +0 -1
  18. package/app/wujie-wk/wujie-react-child/src/components/FeatureCards.css +0 -63
  19. package/app/wujie-wk/wujie-react-child/src/components/FeatureCards.tsx +0 -112
  20. package/app/wujie-wk/wujie-react-child/src/components/LightCard/index.tsx +0 -36
  21. package/app/wujie-wk/wujie-react-child/src/components/LightCard/style.css +0 -20
  22. package/app/wujie-wk/wujie-react-child/src/hooks/use3DCard.ts +0 -53
  23. package/app/wujie-wk/wujie-react-child/src/hooks/useLightCard.ts +0 -141
  24. package/app/wujie-wk/wujie-react-child/src/index.css +0 -0
  25. package/app/wujie-wk/wujie-react-child/src/main.tsx +0 -8
  26. package/app/wujie-wk/wujie-react-child/src/pages/ChildToParent/index.css +0 -55
  27. package/app/wujie-wk/wujie-react-child/src/pages/ChildToParent/index.tsx +0 -88
  28. package/app/wujie-wk/wujie-react-child/src/pages/Css.tsx +0 -28
  29. package/app/wujie-wk/wujie-react-child/src/pages/Home.tsx +0 -72
  30. package/app/wujie-wk/wujie-react-child/src/pages/ParentToChild.css +0 -85
  31. package/app/wujie-wk/wujie-react-child/src/pages/ParentToChild.tsx +0 -119
  32. package/app/wujie-wk/wujie-react-child/src/pages/RouterJump/index.css +0 -61
  33. package/app/wujie-wk/wujie-react-child/src/pages/RouterJump/index.tsx +0 -87
  34. package/app/wujie-wk/wujie-react-child/src/router/index.tsx +0 -63
  35. package/app/wujie-wk/wujie-react-child/src/types/wujie.d.ts +0 -26
  36. package/app/wujie-wk/wujie-react-child/src/vite-env.d.ts +0 -1
  37. package/app/wujie-wk/wujie-react-child/tsconfig.app.json +0 -26
  38. package/app/wujie-wk/wujie-react-child/tsconfig.json +0 -7
  39. package/app/wujie-wk/wujie-react-child/tsconfig.node.json +0 -24
  40. package/app/wujie-wk/wujie-react-child/vite.config.ts +0 -10
  41. package/app/wujie-wk/wujie-vue2-child/.eslintrc.js +0 -19
  42. package/app/wujie-wk/wujie-vue2-child/README.md +0 -24
  43. package/app/wujie-wk/wujie-vue2-child/babel.config.js +0 -5
  44. package/app/wujie-wk/wujie-vue2-child/docs/superpowers/plans/2026-05-29-quill-editor.md +0 -836
  45. package/app/wujie-wk/wujie-vue2-child/docs/superpowers/specs/2026-05-29-quill-editor-design.md +0 -210
  46. package/app/wujie-wk/wujie-vue2-child/jsconfig.json +0 -19
  47. package/app/wujie-wk/wujie-vue2-child/package-lock.json +0 -21333
  48. package/app/wujie-wk/wujie-vue2-child/package.json +0 -63
  49. package/app/wujie-wk/wujie-vue2-child/postcss.config.js +0 -10
  50. package/app/wujie-wk/wujie-vue2-child/public/favicon.ico +0 -0
  51. package/app/wujie-wk/wujie-vue2-child/public/index.html +0 -17
  52. package/app/wujie-wk/wujie-vue2-child/public/rili.jpg +0 -0
  53. package/app/wujie-wk/wujie-vue2-child/public//344/270/200/351/224/256/351/273/221/346/232/227.html +0 -136
  54. package/app/wujie-wk/wujie-vue2-child/src/App.vue +0 -110
  55. package/app/wujie-wk/wujie-vue2-child/src/assets/bpmn-camunda.jpg +0 -0
  56. package/app/wujie-wk/wujie-vue2-child/src/assets/css/diagram.less +0 -17
  57. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/Icon.less +0 -31
  58. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app-codes.css +0 -26
  59. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.eot +0 -0
  60. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.svg +0 -60
  61. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.ttf +0 -0
  62. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.woff +0 -0
  63. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/app.woff2 +0 -0
  64. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/config.json +0 -248
  65. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-bottom-tool.svg +0 -30
  66. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-horizontal-center-tool.svg +0 -85
  67. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-left-tool.svg +0 -84
  68. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-right-tool.svg +0 -80
  69. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-top-tool.svg +0 -84
  70. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/align-vertical-center-tool.svg +0 -89
  71. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-horizontally-tool.svg +0 -95
  72. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/distribute-vertically-tool.svg +0 -99
  73. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/raw/set-color-tool.svg +0 -111
  74. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-bottom-tool.svg +0 -30
  75. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-horizontal-center-tool.svg +0 -30
  76. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-left-tool.svg +0 -30
  77. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-right-tool.svg +0 -30
  78. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-top-tool.svg +0 -30
  79. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/align-vertical-center-tool.svg +0 -30
  80. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-horizontally-tool.svg +0 -30
  81. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/distribute-vertically-tool.svg +0 -30
  82. package/app/wujie-wk/wujie-vue2-child/src/assets/icon/font/source/symbols/set-color-tool.svg +0 -63
  83. package/app/wujie-wk/wujie-vue2-child/src/assets/logo.png +0 -0
  84. package/app/wujie-wk/wujie-vue2-child/src/components/EllTable/README.md +0 -70
  85. package/app/wujie-wk/wujie-vue2-child/src/components/EllTable/article.md +0 -184
  86. package/app/wujie-wk/wujie-vue2-child/src/components/EllTable/index.js +0 -213
  87. package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/CalendarSkeleton.vue +0 -147
  88. package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/CodeBlock.vue +0 -199
  89. package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/MonthSelect.vue +0 -376
  90. package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/README.md +0 -485
  91. package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/example.vue +0 -1747
  92. package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/index.vue +0 -2720
  93. package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/mockData.js +0 -475
  94. package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/recruitmentAdapter.js +0 -51
  95. package/app/wujie-wk/wujie-vue2-child/src/components/EventCalendar/utils.js +0 -202
  96. package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/FunctionSelector.vue +0 -123
  97. package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/OperatorSelector.vue +0 -184
  98. package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/ParameterSelector.vue +0 -123
  99. package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/api.js +0 -69
  100. package/app/wujie-wk/wujie-vue2-child/src/components/FormulaEditor/index.vue +0 -435
  101. package/app/wujie-wk/wujie-vue2-child/src/components/HelloWorld.vue +0 -58
  102. package/app/wujie-wk/wujie-vue2-child/src/components/PageHeader/index.vue +0 -158
  103. package/app/wujie-wk/wujie-vue2-child/src/components/Splitter/README.md +0 -144
  104. package/app/wujie-wk/wujie-vue2-child/src/components/Splitter/example.vue +0 -84
  105. package/app/wujie-wk/wujie-vue2-child/src/components/Splitter/index.vue +0 -203
  106. package/app/wujie-wk/wujie-vue2-child/src/components/diagram/ToolBar.vue +0 -357
  107. package/app/wujie-wk/wujie-vue2-child/src/components/diagram/customTranslate/customTranslate.js +0 -12
  108. package/app/wujie-wk/wujie-vue2-child/src/components/diagram/customTranslate/translationsGerman.js +0 -241
  109. package/app/wujie-wk/wujie-vue2-child/src/components/diagram/index.vue +0 -261
  110. package/app/wujie-wk/wujie-vue2-child/src/components/diagram/xmlData.js +0 -29
  111. package/app/wujie-wk/wujie-vue2-child/src/directives/filldown.js +0 -155
  112. package/app/wujie-wk/wujie-vue2-child/src/directives/filldownTable.js +0 -291
  113. package/app/wujie-wk/wujie-vue2-child/src/main.js +0 -40
  114. package/app/wujie-wk/wujie-vue2-child/src/router/index.js +0 -72
  115. package/app/wujie-wk/wujie-vue2-child/src/store/index.js +0 -23
  116. package/app/wujie-wk/wujie-vue2-child/src/utils/winBox.js +0 -23
  117. package/app/wujie-wk/wujie-vue2-child/src/views/Extend/A.vue +0 -12
  118. package/app/wujie-wk/wujie-vue2-child/src/views/Extend/B.vue +0 -10
  119. package/app/wujie-wk/wujie-vue2-child/src/views/Extend/MagicalComponentsForELFormItem.vue +0 -78
  120. package/app/wujie-wk/wujie-vue2-child/src/views/Extend/index.vue +0 -59
  121. package/app/wujie-wk/wujie-vue2-child/src/views/Extend/tableMouseHorizontalWheel.vue +0 -184
  122. package/app/wujie-wk/wujie-vue2-child/src/views/Home.vue +0 -27
  123. package/app/wujie-wk/wujie-vue2-child/src/views/RouterJump.vue +0 -145
  124. package/app/wujie-wk/wujie-vue2-child/src/views/calendar/index.vue +0 -19
  125. package/app/wujie-wk/wujie-vue2-child/src/views/css.vue +0 -57
  126. package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/EllipsisText.vue +0 -73
  127. package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/HoverCard.vue +0 -69
  128. package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/TableHover.vue +0 -130
  129. package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/inputSlo.vue +0 -42
  130. package/app/wujie-wk/wujie-vue2-child/src/views/cssComponents/tableFixed.vue +0 -148
  131. package/app/wujie-wk/wujie-vue2-child/src/views/echarts/echart-dome.vue +0 -73
  132. package/app/wujie-wk/wujie-vue2-child/src/views/echarts/index.vue +0 -118
  133. package/app/wujie-wk/wujie-vue2-child/src/views/echarts/pei3d.vue +0 -658
  134. package/app/wujie-wk/wujie-vue2-child/src/views/element/bpmn/index.vue +0 -15
  135. package/app/wujie-wk/wujie-vue2-child/src/views/element/components/attendanceCycle/index.vue +0 -131
  136. package/app/wujie-wk/wujie-vue2-child/src/views/element/components/attendanceGroup/index.vue +0 -147
  137. package/app/wujie-wk/wujie-vue2-child/src/views/element/components/attendancePersonnel/index.vue +0 -158
  138. package/app/wujie-wk/wujie-vue2-child/src/views/element/components/companyCalendar/index.vue +0 -147
  139. package/app/wujie-wk/wujie-vue2-child/src/views/element/components/shift/index.vue +0 -147
  140. package/app/wujie-wk/wujie-vue2-child/src/views/element/components/shiftRotationSystem/index.vue +0 -147
  141. package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/columnManagement.vue +0 -340
  142. package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/dialogInput.vue +0 -71
  143. package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/elTableJsx.vue +0 -1826
  144. package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/formTable.vue +0 -595
  145. package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/index.vue +0 -29
  146. package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx/simpleTable.vue +0 -189
  147. package/app/wujie-wk/wujie-vue2-child/src/views/element/elTableJsx.zip +0 -0
  148. package/app/wujie-wk/wujie-vue2-child/src/views/element/index.vue +0 -39
  149. package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/README.md +0 -163
  150. package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/example.vue +0 -307
  151. package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/index.vue +0 -409
  152. package/app/wujie-wk/wujie-vue2-child/src/views/element/quillEditor/toolbar.js +0 -122
  153. package/app/wujie-wk/wujie-vue2-child/vue.config.js +0 -15
  154. package/app/wujie-wk/wujie-vue3-child/.claude/settings.local.json +0 -8
  155. package/app/wujie-wk/wujie-vue3-child/.vscode/extensions.json +0 -3
  156. package/app/wujie-wk/wujie-vue3-child/PROJECT_MEMORY.md +0 -427
  157. package/app/wujie-wk/wujie-vue3-child/README.md +0 -5
  158. package/app/wujie-wk/wujie-vue3-child/index.html +0 -13
  159. package/app/wujie-wk/wujie-vue3-child/package-lock.json +0 -5744
  160. package/app/wujie-wk/wujie-vue3-child/package.json +0 -28
  161. package/app/wujie-wk/wujie-vue3-child/public/vite.svg +0 -1
  162. package/app/wujie-wk/wujie-vue3-child/src/App.vue +0 -130
  163. package/app/wujie-wk/wujie-vue3-child/src/assets/vue.svg +0 -1
  164. package/app/wujie-wk/wujie-vue3-child/src/components/HelloWorld.vue +0 -43
  165. package/app/wujie-wk/wujie-vue3-child/src/components/SmartAnchorTabs/index.jsx +0 -224
  166. package/app/wujie-wk/wujie-vue3-child/src/components/SmartAnchorTabs/style.css +0 -154
  167. package/app/wujie-wk/wujie-vue3-child/src/components/tags-view.vue +0 -193
  168. package/app/wujie-wk/wujie-vue3-child/src/components/tags-view1.vue +0 -131
  169. package/app/wujie-wk/wujie-vue3-child/src/directives/aiLoading.js +0 -182
  170. package/app/wujie-wk/wujie-vue3-child/src/hooks/useClickOutside.js +0 -11
  171. package/app/wujie-wk/wujie-vue3-child/src/hooks/useTableDragSort.js +0 -28
  172. package/app/wujie-wk/wujie-vue3-child/src/main.js +0 -18
  173. package/app/wujie-wk/wujie-vue3-child/src/router/index.js +0 -104
  174. package/app/wujie-wk/wujie-vue3-child/src/store/tagsViewStroe.js +0 -34
  175. package/app/wujie-wk/wujie-vue3-child/src/style.css +0 -171
  176. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.jsx +0 -108
  177. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/collapseExpand/index.module.scss +0 -97
  178. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/README.md +0 -836
  179. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/REFLEX_EXAMPLES.md +0 -728
  180. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.jsx +0 -687
  181. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentPersonnelSelector.module.scss +0 -560
  182. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.jsx +0 -570
  183. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelector.module.scss +0 -330
  184. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.jsx +0 -378
  185. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/DepartmentSelectorV2.module.scss +0 -228
  186. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.jsx +0 -399
  187. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/OptionsSelector.module.scss +0 -252
  188. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.jsx +0 -585
  189. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PersonnelSelector.module.scss +0 -331
  190. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.jsx +0 -392
  191. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/PopoverSelector.module.scss +0 -39
  192. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/README.md +0 -248
  193. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/components/SelectorTrigger.jsx +0 -194
  194. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/index.jsx +0 -1459
  195. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/departmentPersonnel/mockData.js +0 -301
  196. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.jsx +0 -182
  197. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/dialogueSegment/index.module.scss +0 -28
  198. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/index.jsx +0 -375
  199. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.jsx +0 -121
  200. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ChartsPanel/index.module.scss +0 -76
  201. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/DonutChart/index.jsx +0 -104
  202. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.jsx +0 -75
  203. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/PracticeTable/index.module.scss +0 -12
  204. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.jsx +0 -62
  205. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankBarChart/index.module.scss +0 -43
  206. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.jsx +0 -29
  207. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingGroup/index.module.scss +0 -5
  208. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.jsx +0 -58
  209. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/RankingList/index.module.scss +0 -85
  210. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.jsx +0 -92
  211. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/ScriptStatsPanel/index.module.scss +0 -56
  212. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.jsx +0 -40
  213. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/StatCardsRow/index.module.scss +0 -53
  214. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsDonut.jsx +0 -106
  215. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/components/echarts/EchartsRankBar.jsx +0 -132
  216. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.jsx +0 -176
  217. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/practiceStatus/index.module.scss +0 -96
  218. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.jsx +0 -162
  219. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/CoachReport/index.module.scss +0 -16
  220. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.jsx +0 -29
  221. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ComprehensiveEvaluation/index.module.scss +0 -25
  222. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.jsx +0 -106
  223. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueBubble/index.module.scss +0 -164
  224. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.jsx +0 -182
  225. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DialogueRecord/index.module.scss +0 -203
  226. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.jsx +0 -145
  227. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionDetail/index.module.scss +0 -126
  228. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.jsx +0 -67
  229. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/DimensionScores/index.module.scss +0 -105
  230. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.jsx +0 -81
  231. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ReportHeader/index.module.scss +0 -47
  232. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.jsx +0 -64
  233. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/RoleInfo/index.module.scss +0 -85
  234. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.jsx +0 -39
  235. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/ScoreBadge/index.module.scss +0 -44
  236. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.jsx +0 -83
  237. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/components/SubDimensionItem/index.module.scss +0 -101
  238. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/index.jsx +0 -50
  239. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/reportDetail/index.module.scss +0 -25
  240. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/index.jsx +0 -196
  241. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/index.module.scss +0 -41
  242. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.jsx +0 -183
  243. package/app/wujie-wk/wujie-vue3-child/src/views/aiCoach/scriptTable/inputColumn/index.module.scss +0 -115
  244. package/app/wujie-wk/wujie-vue3-child/src/views/child-to-parent.vue +0 -117
  245. package/app/wujie-wk/wujie-vue3-child/src/views/home.vue +0 -53
  246. package/app/wujie-wk/wujie-vue3-child/src/views/jsx/btnSelect/btnSelect.vue +0 -169
  247. package/app/wujie-wk/wujie-vue3-child/src/views/jsx/btnSelect/index.vue +0 -69
  248. package/app/wujie-wk/wujie-vue3-child/src/views/jsx/com.vue +0 -44
  249. package/app/wujie-wk/wujie-vue3-child/src/views/jsx/dialog.jsx +0 -66
  250. package/app/wujie-wk/wujie-vue3-child/src/views/jsx/index.vue +0 -72
  251. package/app/wujie-wk/wujie-vue3-child/src/views/jsx/props.vue +0 -33
  252. package/app/wujie-wk/wujie-vue3-child/src/views/parent-to-child.vue +0 -225
  253. package/app/wujie-wk/wujie-vue3-child/src/views/phone-code.vue +0 -318
  254. package/app/wujie-wk/wujie-vue3-child/src/views/router-jump.vue +0 -123
  255. package/app/wujie-wk/wujie-vue3-child/src/views/test.vue +0 -192
  256. package/app/wujie-wk/wujie-vue3-child/vite.config.js +0 -15
  257. package/app/wujie-wk/wujie-vue3-child copy/.vscode/extensions.json +0 -3
  258. package/app/wujie-wk/wujie-vue3-child copy/README.md +0 -5
  259. package/app/wujie-wk/wujie-vue3-child copy/index.html +0 -13
  260. package/app/wujie-wk/wujie-vue3-child copy/package-lock.json +0 -4617
  261. package/app/wujie-wk/wujie-vue3-child copy/package.json +0 -22
  262. package/app/wujie-wk/wujie-vue3-child copy/public/vite.svg +0 -1
  263. package/app/wujie-wk/wujie-vue3-child copy/src/App.vue +0 -124
  264. package/app/wujie-wk/wujie-vue3-child copy/src/assets/vue.svg +0 -1
  265. package/app/wujie-wk/wujie-vue3-child copy/src/components/HelloWorld.vue +0 -43
  266. package/app/wujie-wk/wujie-vue3-child copy/src/main.js +0 -12
  267. package/app/wujie-wk/wujie-vue3-child copy/src/router/index.js +0 -84
  268. package/app/wujie-wk/wujie-vue3-child copy/src/style.css +0 -4
  269. package/app/wujie-wk/wujie-vue3-child copy/src/views/child-to-parent.vue +0 -117
  270. package/app/wujie-wk/wujie-vue3-child copy/src/views/home.vue +0 -53
  271. package/app/wujie-wk/wujie-vue3-child copy/src/views/parent-to-child.vue +0 -225
  272. package/app/wujie-wk/wujie-vue3-child copy/src/views/phone-code.vue +0 -318
  273. package/app/wujie-wk/wujie-vue3-child copy/src/views/router-jump.vue +0 -115
  274. package/app/wujie-wk/wujie-vue3-child copy/src/views/test.vue +0 -192
  275. package/app/wujie-wk/wujie-vue3-child copy/vite.config.js +0 -10
  276. package/app/wujie-wk/wujie-vue3-main/.vscode/extensions.json +0 -3
  277. package/app/wujie-wk/wujie-vue3-main/README.md +0 -154
  278. package/app/wujie-wk/wujie-vue3-main/index.html +0 -13
  279. package/app/wujie-wk/wujie-vue3-main/package-lock.json +0 -4736
  280. package/app/wujie-wk/wujie-vue3-main/package.json +0 -25
  281. package/app/wujie-wk/wujie-vue3-main/public/vite.svg +0 -1
  282. package/app/wujie-wk/wujie-vue3-main/src/App.vue +0 -879
  283. package/app/wujie-wk/wujie-vue3-main/src/assets/vue.svg +0 -1
  284. package/app/wujie-wk/wujie-vue3-main/src/components/HelloWorld.vue +0 -43
  285. package/app/wujie-wk/wujie-vue3-main/src/components/WujieReact/index.vue +0 -20
  286. package/app/wujie-wk/wujie-vue3-main/src/components/WujieVue2/index.vue +0 -8
  287. package/app/wujie-wk/wujie-vue3-main/src/components/WujieVue3/index.vue +0 -8
  288. package/app/wujie-wk/wujie-vue3-main/src/components/WujieVue3Copy/index.vue +0 -8
  289. package/app/wujie-wk/wujie-vue3-main/src/main.js +0 -23
  290. package/app/wujie-wk/wujie-vue3-main/src/router/index.js +0 -88
  291. package/app/wujie-wk/wujie-vue3-main/src/store/useMicroAppStore.js +0 -66
  292. package/app/wujie-wk/wujie-vue3-main/src/style.css +0 -3
  293. package/app/wujie-wk/wujie-vue3-main/src/views/home.vue +0 -103
  294. package/app/wujie-wk/wujie-vue3-main/src/views/router-jump.vue +0 -159
  295. package/app/wujie-wk/wujie-vue3-main/src/views/test.vue +0 -125
  296. package/app/wujie-wk/wujie-vue3-main/src/views/vue3-child-msg.vue +0 -108
  297. package/app/wujie-wk/wujie-vue3-main/vite.config.js +0 -12
@@ -1,409 +0,0 @@
1
- <template>
2
- <div class="quill-editor-wrapper" :class="{ 'is-disabled': disabled }">
3
- <div ref="editor" :style="editorStyle"></div>
4
- <input
5
- ref="fileInput"
6
- type="file"
7
- accept="image/*"
8
- style="display: none"
9
- @change="onFileChange"
10
- />
11
- </div>
12
- </template>
13
-
14
- <script>
15
- import Quill from 'quill';
16
- import QuillTableBetter from 'quill-table-better';
17
- import 'quill/dist/quill.snow.css';
18
- import 'quill-table-better/dist/quill-table-better.css';
19
- import { toolbarPresets, buildDefaultModules } from './toolbar.js';
20
-
21
- const SIZE_THRESHOLD =5 *1024 *1024; //5MB
22
-
23
- export default {
24
- name: 'QuillEditor',
25
-
26
- model: {
27
- prop: 'value',
28
- event: 'input',
29
- },
30
-
31
- props: {
32
- value: {
33
- type: String,
34
- default: '',
35
- },
36
- placeholder: {
37
- type: String,
38
- default: '请输入内容...',
39
- },
40
- readonly: {
41
- type: Boolean,
42
- default: false,
43
- },
44
- disabled: {
45
- type: Boolean,
46
- default: false,
47
- },
48
- height: {
49
- type: [String, Number],
50
- default:300,
51
- },
52
- toolbar: {
53
- type: [Array, Object],
54
- default: null,
55
- },
56
- toolbarPreset: {
57
- type: String,
58
- default: 'default',
59
- validator: (v) => ['simple', 'default', 'full'].includes(v),
60
- },
61
- imageHandler: {
62
- type: Function,
63
- default: null,
64
- },
65
- theme: {
66
- type: String,
67
- default: 'snow',
68
- },
69
- },
70
-
71
- data() {
72
- return {
73
- quill: null,
74
- isInternalChange: false,
75
- changeTimer: null,
76
- };
77
- },
78
-
79
- computed: {
80
- editorStyle() {
81
- const h = typeof this.height === 'number' ? `${this.height}px` : this.height;
82
- return { minHeight: h };
83
- },
84
- },
85
-
86
- watch: {
87
- value(newVal) {
88
- if (this.isInternalChange) {
89
- this.isInternalChange = false;
90
- return;
91
- }
92
- if (this.quill && newVal !== this.getHtml()) {
93
- this.setHtml(newVal);
94
- }
95
- },
96
- readonly(val) {
97
- if (this.quill) {
98
- this.quill.enable(!val);
99
- }
100
- },
101
- disabled(val) {
102
- if (this.quill) {
103
- this.quill.enable(!val);
104
- }
105
- },
106
- },
107
-
108
- mounted() {
109
- this.$nextTick(() => {
110
- this.initQuill();
111
- });
112
- },
113
-
114
- beforeDestroy() {
115
- if (this.changeTimer) {
116
- clearTimeout(this.changeTimer);
117
- this.changeTimer = null;
118
- }
119
- if (this.quill) {
120
- try {
121
- this.quill.off('text-change', this.onTextChange);
122
- this.quill.off('selection-change', this.onSelectionChange);
123
- } catch (e) {
124
- // ignore
125
- }
126
- this.quill = null;
127
- }
128
- },
129
-
130
- methods: {
131
- initQuill() {
132
- if (typeof Quill === 'undefined' || !Quill) {
133
- this.renderError('Quill 未安装,请先执行 npm install quill');
134
- return;
135
- }
136
-
137
- // 注册 table-better 模块
138
- Quill.register(
139
- { 'modules/table-better': QuillTableBetter },
140
- true
141
- );
142
-
143
- // 注册 undo / redo 图标(Quill 默认不带这两个按钮的图标)
144
- const icons = Quill.import('ui/icons');
145
- icons.undo = '<svg viewbox="0 0 18 18"><polygon class="ql-fill ql-stroke" points="6 10 4 12 2 10 6 10"></polygon><path class="ql-stroke" d="M8.09,13.91A4.6,4.6,0,0,0,9,14,5,5,0,1,0,4,9"></path></svg>';
146
- icons.redo = '<svg viewbox="0 0 18 18"><polygon class="ql-fill ql-stroke" points="12 10 14 12 16 10 12 10"></polygon><path class="ql-stroke" d="M9.91,13.91A4.6,4.6,0,0,1,9,14a5,5,0,1,1,5-5"></path></svg>';
147
-
148
- const modules = this.buildModules();
149
-
150
- this.quill = new Quill(this.$refs.editor, {
151
- theme: this.theme,
152
- placeholder: this.placeholder,
153
- readOnly: this.readonly || this.disabled,
154
- modules,
155
- });
156
-
157
- //初始内容
158
- if (this.value) {
159
- this.setHtml(this.value);
160
- }
161
-
162
- //监听内容变化
163
- this.quill.on('text-change', this.onTextChange);
164
-
165
- //焦点事件
166
- this.quill.on('selection-change', this.onSelectionChange);
167
-
168
- this.$emit('ready', this.quill);
169
- },
170
-
171
- buildModules() {
172
- const baseModules = buildDefaultModules(QuillTableBetter);
173
- const preset = toolbarPresets[this.toolbarPreset] || toolbarPresets.default;
174
- const toolbarConfig = this.toolbar || preset;
175
- const handlers = {
176
- image: this.handleImage,
177
- undo: this.handleUndo,
178
- redo: this.handleRedo,
179
- };
180
-
181
- //复制 toolbar 配置,添加 image / undo / redo handler
182
- const modules = {
183
- ...baseModules,
184
- toolbar: Array.isArray(toolbarConfig)
185
- ? { container: toolbarConfig, handlers }
186
- : { ...toolbarConfig, handlers: { ...handlers, ...(toolbarConfig.handlers || {}) } },
187
- };
188
-
189
- return modules;
190
- },
191
-
192
- onTextChange(delta, oldDelta, source) {
193
- if (source === Quill.sources.SILENT) return;
194
- const html = this.getHtml();
195
- this.isInternalChange = true;
196
- this.$emit('input', html);
197
-
198
- if (this.changeTimer) clearTimeout(this.changeTimer);
199
- this.changeTimer = setTimeout(() => {
200
- this.$emit('change', html);
201
- },300);
202
- },
203
-
204
- onSelectionChange(range, oldRange) {
205
- if (range === null && oldRange !== null) {
206
- this.$emit('blur');
207
- } else if (range !== null && oldRange === null) {
208
- this.$emit('focus');
209
- }
210
- },
211
-
212
- handleImage() {
213
- if (this.disabled || this.readonly) return;
214
- this.$refs.fileInput.value = '';
215
- this.$refs.fileInput.click();
216
- },
217
-
218
- handleUndo() {
219
- const history = this.quill && this.quill.getModule('history');
220
- if (history) history.undo();
221
- },
222
-
223
- handleRedo() {
224
- const history = this.quill && this.quill.getModule('history');
225
- if (history) history.redo();
226
- },
227
-
228
- onFileChange(e) {
229
- const file = e.target.files && e.target.files[0];
230
- if (!file) return;
231
-
232
- if (this.imageHandler) {
233
- const range = this.quill.getSelection(true);
234
- Promise.resolve(this.imageHandler(file, range, this.quill))
235
- .then((result) => {
236
- if (result === false) {
237
- this.insertImageAsBase64(file);
238
- }
239
- })
240
- .catch(() => {
241
- this.insertImageAsBase64(file);
242
- });
243
- return;
244
- }
245
-
246
- this.insertImageAsBase64(file);
247
- },
248
-
249
- insertImageAsBase64(file) {
250
- if (file.size > SIZE_THRESHOLD) {
251
- if (this.$message && this.$message.warning) {
252
- this.$message.warning('图片过大(>5MB),建议压缩后上传');
253
- }
254
- }
255
- const reader = new FileReader();
256
- reader.onload = (e) => {
257
- const dataUrl = e.target.result;
258
- const range = this.quill.getSelection(true);
259
- const index = range ? range.index : this.quill.getLength();
260
- this.quill.insertEmbed(index, 'image', dataUrl, Quill.sources.USER);
261
- };
262
- reader.readAsDataURL(file);
263
- },
264
-
265
- renderError(msg) {
266
- console.error('[QuillEditor]', msg);
267
- const el = this.$refs.editor;
268
- if (el) {
269
- el.innerHTML = `<div class="quill-editor-error" style="padding:16px;border:1px dashed #f56c6c;color:#f56c6c;">${msg}</div>`;
270
- }
271
- },
272
-
273
- // ====== Public Methods ======
274
-
275
- getHtml() {
276
- if (!this.quill) return String(this.value || '');
277
- return this.quill.root.innerHTML;
278
- },
279
-
280
- getText() {
281
- if (!this.quill) return '';
282
- return this.quill.getText();
283
- },
284
-
285
- setHtml(html) {
286
- if (!this.quill) return;
287
- const safe = String(html || '');
288
- this.quill.clipboard.dangerouslyPasteHTML(0, safe);
289
- },
290
-
291
- clear() {
292
- if (!this.quill) return;
293
- this.quill.setText('');
294
- },
295
-
296
- focus() {
297
- if (this.quill) this.quill.focus();
298
- },
299
-
300
- getQuill() {
301
- return this.quill;
302
- },
303
- },
304
- };
305
- </script>
306
-
307
- <style scoped>
308
- .quill-editor-wrapper {
309
- background: #fff;
310
- border:1px solid #dcdfe6;
311
- border-radius:4px;
312
- }
313
-
314
- .quill-editor-wrapper.is-disabled {
315
- background: #f5f7fa;
316
- pointer-events: none;
317
- opacity:0.7;
318
- }
319
-
320
- .quill-editor-wrapper >>> .ql-toolbar {
321
- border-bottom:1px solid #dcdfe6;
322
- border-top-left-radius:4px;
323
- border-top-right-radius:4px;
324
- }
325
-
326
- .quill-editor-wrapper >>> .ql-container {
327
- border-bottom-left-radius:4px;
328
- border-bottom-right-radius:4px;
329
- font-size:14px;
330
- }
331
-
332
- .quill-editor-wrapper >>> .ql-editor {
333
- min-height:200px;
334
- }
335
-
336
- .quill-editor-wrapper >>> .ql-editor img {
337
- max-width:100%;
338
- }
339
-
340
- /* ===== 工具栏下拉汉化(标题 / 字体 / 字号) =====
341
- * Quill snow 主题用 ::before 的 content 渲染这三个下拉的文字标签,默认是英文。
342
- * 这里按 data-value 覆盖为中文:
343
- * - selectItem() 会把选中项的 data-value 同步到 .ql-picker-label,
344
- * 因此同一套规则同时覆盖「展开后的选项」和「收起后显示的当前值」;
345
- * - 不带 data-value 的默认项(正文 / 默认字体 / 默认)用基础规则覆盖。
346
- * 选择器加 .quill-editor-wrapper 前缀提升优先级并限定到本组件。 */
347
-
348
- /* 标题 header */
349
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-label::before,
350
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-item::before {
351
- content: '正文';
352
- }
353
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
354
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
355
- content: '标题 1';
356
- }
357
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
358
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
359
- content: '标题 2';
360
- }
361
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
362
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
363
- content: '标题 3';
364
- }
365
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,
366
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
367
- content: '标题 4';
368
- }
369
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,
370
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
371
- content: '标题 5';
372
- }
373
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,
374
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
375
- content: '标题 6';
376
- }
377
-
378
- /* 字体 font */
379
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-font .ql-picker-label::before,
380
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-font .ql-picker-item::before {
381
- content: '默认字体';
382
- }
383
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="serif"]::before,
384
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]::before {
385
- content: '衬线';
386
- }
387
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="monospace"]::before,
388
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before {
389
- content: '等宽';
390
- }
391
-
392
- /* 字号 size */
393
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-size .ql-picker-label::before,
394
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-size .ql-picker-item::before {
395
- content: '默认';
396
- }
397
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="small"]::before,
398
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before {
399
- content: '小号';
400
- }
401
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="large"]::before,
402
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before {
403
- content: '大号';
404
- }
405
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="huge"]::before,
406
- .quill-editor-wrapper >>> .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before {
407
- content: '超大';
408
- }
409
- </style>
@@ -1,122 +0,0 @@
1
- /**
2
- * QuillEditor 工具栏配置与预设
3
- *
4
- * 暴露:
5
- * - simpleToolbar / defaultToolbar / fullToolbar: 三种工具栏按钮数组
6
- * - toolbarPresets: { simple, default, full } 预设映射, 供组件 toolbarPreset 属性使用
7
- * - defaultTableBetterConfig: table-better 模块配置
8
- * - buildDefaultModules: 组装好的 modules 对象(toolbar + table-better + keyboard)
9
- *
10
- * 用法说明:
11
- * - 组件通过 toolbarPreset('simple' | 'default' | 'full') 选择预设;
12
- * 也可直接传 toolbar(数组/对象)完全自定义, 优先级高于预设。
13
- * - image 的 handler 在组件 initQuill 时通过 modules.toolbar.handlers.image 注册;
14
- * undo / redo 的图标与 handler 也在组件中注册(Quill 默认不带这两个按钮)。
15
- * - header / font / size 下拉的中文汉化由 index.vue 的 <style> 用 CSS 覆盖 ::before 实现。
16
- *
17
- * ── 按钮 token 功能对照 ───────────────────────────────────
18
- * { header: [1..6, false] } 标题级别下拉(1~6 级 + false 正文)
19
- * { size: [...] } 字号下拉(small 小号 / false 默认 / large 大号 / huge 超大)
20
- * 'bold' 加粗
21
- * 'italic' 斜体
22
- * 'underline' 下划线
23
- * 'strike' 删除线
24
- * { color: [] } 文字颜色
25
- * { background: [] } 文字背景色
26
- * { script: 'sub' } 下标
27
- * { script: 'super' } 上标
28
- * 'blockquote' 引用块
29
- * 'code-block' 代码块
30
- * { list: 'ordered' } 有序列表
31
- * { list: 'bullet' } 无序列表
32
- * { indent: '-1' } 减少缩进
33
- * { indent: '+1' } 增加缩进
34
- * { align: [] } 对齐方式(左 / 居中 / 右 / 两端)
35
- * 'link' 插入 / 编辑超链接
36
- * 'image' 插入图片(默认 base64 内联, 可用 imageHandler 自定义上传)
37
- * 'video' 插入视频(嵌入 iframe)
38
- * 'table-better' 插入表格(quill-table-better, 右键单元格有操作菜单)
39
- * 'clean' 清除所选内容的所有格式
40
- * 'undo' 撤销(组件注册图标 + handler, 走 Quill history 模块)
41
- * 'redo' 重做
42
- * { font: [] } 字体下拉 —— 当前未启用: 空白名单点开为空, 如需中文字体
43
- * 须先注册 font whitelist, 故三个预设均不含它。
44
- * ─────────────────────────────────────────────────────────
45
- */
46
-
47
- /**
48
- * 精简版工具栏 —— 日常轻量文字编辑。
49
- * 加粗 / 斜体 / 下划线、基础标题(1~3)、有序 / 无序列表、链接、清除格式。
50
- */
51
- export const simpleToolbar = [
52
- ['bold', 'italic', 'underline'],
53
- [{ header: [1, 2, 3, false] }],
54
- [{ list: 'ordered' }, { list: 'bullet' }],
55
- ['link', 'clean'],
56
- ];
57
-
58
- /**
59
- * 默认版工具栏(组件默认 toolbarPreset)—— 覆盖大多数业务场景的常用格式。
60
- * 含: 标题 / 字号、基础格式 + 删除线、颜色 / 背景、引用 / 代码、列表、缩进、
61
- * 对齐、链接 / 图片、清除格式、撤销 / 重做。
62
- * 不含(留给 full): 字体、上下标、视频、表格。
63
- */
64
- export const defaultToolbar = [
65
- [{ header: [1, 2, 3, 4, 5, 6, false] }],
66
- [{ size: ['small', false, 'large', 'huge'] }],
67
- ['bold', 'italic', 'underline', 'strike'],
68
- [{ color: [] }, { background: [] }],
69
- ['blockquote', 'code-block'],
70
- [{ list: 'ordered' }, { list: 'bullet' }],
71
- [{ indent: '-1' }, { indent: '+1' }],
72
- [{ align: [] }],
73
- ['link', 'image'],
74
- ['clean'],
75
- ['undo', 'redo'],
76
- ];
77
-
78
- /**
79
- * 全部版工具栏 —— 在默认版基础上再加 上标 / 下标、视频、表格, 功能最全。
80
- * (不含空的 font 字体下拉)
81
- */
82
- export const fullToolbar = [
83
- [{ header: [1, 2, 3, 4, 5, 6, false] }],
84
- [{ size: ['small', false, 'large', 'huge'] }],
85
- ['bold', 'italic', 'underline', 'strike'],
86
- [{ color: [] }, { background: [] }],
87
- [{ script: 'sub' }, { script: 'super' }],
88
- ['blockquote', 'code-block'],
89
- [{ list: 'ordered' }, { list: 'bullet' }],
90
- [{ indent: '-1' }, { indent: '+1' }],
91
- [{ align: [] }],
92
- ['link', 'image', 'video'],
93
- ['table-better'],
94
- ['clean'],
95
- ['undo', 'redo'],
96
- ];
97
-
98
- /**
99
- * 预设映射: 组件 toolbarPreset 属性据此取对应工具栏。
100
- */
101
- export const toolbarPresets = {
102
- simple: simpleToolbar,
103
- default: defaultToolbar,
104
- full: fullToolbar,
105
- };
106
-
107
- export const defaultTableBetterConfig = {
108
- language: 'zh_CN',
109
- menus: ['column', 'row', 'merge', 'table', 'cell', 'wrap', 'copy', 'delete'],
110
- toolbarTable: true,
111
- };
112
-
113
- export function buildDefaultModules(quillTableBetter) {
114
- return {
115
- toolbar: defaultToolbar,
116
- table: false,
117
- 'table-better': defaultTableBetterConfig,
118
- keyboard: {
119
- bindings: quillTableBetter.keyboardBindings,
120
- },
121
- };
122
- }
@@ -1,15 +0,0 @@
1
- const { defineConfig } = require('@vue/cli-service')
2
- module.exports = defineConfig({
3
- transpileDependencies: true,
4
- lintOnSave: false,
5
- devServer: {
6
- host: '::',
7
- port: 3004,
8
- allowedHosts: 'all',
9
- headers: {
10
- 'Access-Control-Allow-Origin': '*',
11
- 'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH, OPTIONS',
12
- 'Access-Control-Allow-Headers': 'X-Requested-With, content-type, Authorization'
13
- }
14
- }
15
- })
@@ -1,8 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(wc -l \"D:\\\\web\\\\wujieblack\\\\wujie-wk\\\\wujie-vue3-child\\\\src\\\\views\\\\aiCoach\\\\practiceStatus\\\\components\"/**/*.jsx)",
5
- "Bash(npm run dev:*)"
6
- ]
7
- }
8
- }
@@ -1,3 +0,0 @@
1
- {
2
- "recommendations": ["Vue.volar"]
3
- }