@qxs-bns/components 0.0.90 → 0.0.91

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 (771) hide show
  1. package/README.md +11 -15
  2. package/es/base/define.mjs +2 -0
  3. package/es/base/define.mjs.map +1 -0
  4. package/es/base/uid.mjs +2 -0
  5. package/es/base/uid.mjs.map +1 -0
  6. package/es/data-chart.mjs +142 -0
  7. package/es/data-chart.mjs.map +1 -0
  8. package/es/editor/blocksuite-editor.mjs +1115 -0
  9. package/es/editor/blocksuite-editor.mjs.map +1 -0
  10. package/es/editor/content-format.mjs +2 -0
  11. package/es/editor/content-format.mjs.map +1 -0
  12. package/es/editor/index.mjs +2 -0
  13. package/es/editor/index.mjs.map +1 -0
  14. package/es/editor/toolbar.mjs +2 -0
  15. package/es/editor/toolbar.mjs.map +1 -0
  16. package/es/entry-data-chart.mjs +2 -0
  17. package/es/entry-data-chart.mjs.map +1 -0
  18. package/es/entry-editor.mjs +2 -0
  19. package/es/entry-editor.mjs.map +1 -0
  20. package/es/entry-file-upload.mjs +2 -0
  21. package/es/entry-file-upload.mjs.map +1 -0
  22. package/es/entry-fixed-action-bar.mjs +2 -0
  23. package/es/entry-fixed-action-bar.mjs.map +1 -0
  24. package/es/entry-icon.mjs +2 -0
  25. package/es/entry-icon.mjs.map +1 -0
  26. package/es/entry-image-upload.mjs +2 -0
  27. package/es/entry-image-upload.mjs.map +1 -0
  28. package/es/entry-photo-crop-tool.mjs +2 -0
  29. package/es/entry-photo-crop-tool.mjs.map +1 -0
  30. package/es/entry-subject.mjs +2 -0
  31. package/es/entry-subject.mjs.map +1 -0
  32. package/es/file-upload.mjs +157 -0
  33. package/es/file-upload.mjs.map +1 -0
  34. package/es/fixed-action-bar.mjs +39 -0
  35. package/es/fixed-action-bar.mjs.map +1 -0
  36. package/es/icon.mjs +20 -0
  37. package/es/icon.mjs.map +1 -0
  38. package/es/image-upload.mjs +333 -0
  39. package/es/image-upload.mjs.map +1 -0
  40. package/es/index.mjs +1 -1
  41. package/es/index.mjs.map +1 -1
  42. package/es/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs +2 -0
  43. package/es/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs.map +1 -0
  44. package/es/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.mjs +2 -0
  45. package/es/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.mjs.map +1 -0
  46. package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.mjs +2 -0
  47. package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.mjs.map +1 -0
  48. package/es/photo-crop-tool.mjs +147 -0
  49. package/es/photo-crop-tool.mjs.map +1 -0
  50. package/es/src/alert/src/alert.mjs.map +1 -1
  51. package/es/src/components.mjs +1 -1
  52. package/es/src/data-chart/index.mjs +1 -1
  53. package/es/src/data-chart/index.mjs.map +1 -1
  54. package/es/src/dialog/src/dialog.mjs +1 -1
  55. package/es/src/dialog/src/dialog.mjs.map +1 -1
  56. package/es/src/file-upload/index.mjs +1 -1
  57. package/es/src/file-upload/index.mjs.map +1 -1
  58. package/es/src/image-upload/index.mjs +1 -1
  59. package/es/src/image-upload/index.mjs.map +1 -1
  60. package/es/src/message/src/message.mjs +1 -1
  61. package/es/src/message/src/message.mjs.map +1 -1
  62. package/es/src/photo-crop-tool/index.mjs +1 -1
  63. package/es/src/photo-crop-tool/index.mjs.map +1 -1
  64. package/es/src/ui/button/index.mjs.map +1 -1
  65. package/es/src/ui/checkbox/index.mjs.map +1 -1
  66. package/es/src/ui/dialog/index.mjs.map +1 -1
  67. package/es/src/ui/input/index.mjs +1 -1
  68. package/es/src/ui/input/index.mjs.map +1 -1
  69. package/es/src/ui/input-number/index.mjs.map +1 -1
  70. package/es/src/ui/layout/index.mjs.map +1 -1
  71. package/es/src/ui/popover/index.mjs.map +1 -1
  72. package/es/src/ui/radio/index.mjs.map +1 -1
  73. package/es/src/ui/scrollbar/index.mjs.map +1 -1
  74. package/es/src/ui/select/index.mjs +1 -1
  75. package/es/src/ui/select/index.mjs.map +1 -1
  76. package/es/src/ui/table/index.mjs.map +1 -1
  77. package/es/src/ui/tag/index.mjs.map +1 -1
  78. package/es/src/wc-bridge.mjs +2 -0
  79. package/es/src/wc-bridge.mjs.map +1 -0
  80. package/es/subject/action.mjs +171 -0
  81. package/es/subject/action.mjs.map +1 -0
  82. package/es/subject/blank-fill.mjs +385 -0
  83. package/es/subject/blank-fill.mjs.map +1 -0
  84. package/es/subject/draft.mjs +2 -0
  85. package/es/subject/draft.mjs.map +1 -0
  86. package/es/subject/layout.mjs +21 -0
  87. package/es/subject/layout.mjs.map +1 -0
  88. package/es/subject/page-end.mjs +28 -0
  89. package/es/subject/page-end.mjs.map +1 -0
  90. package/es/subject/pagination.mjs +2 -0
  91. package/es/subject/pagination.mjs.map +1 -0
  92. package/es/subject/runtime.mjs +2 -0
  93. package/es/subject/runtime.mjs.map +1 -0
  94. package/es/subject/scale.mjs +267 -0
  95. package/es/subject/scale.mjs.map +1 -0
  96. package/es/subject/shared-methods.mjs +2 -0
  97. package/es/subject/shared-methods.mjs.map +1 -0
  98. package/es/subject/shared-styles.mjs +75 -0
  99. package/es/subject/shared-styles.mjs.map +1 -0
  100. package/es/subject/single.mjs +600 -0
  101. package/es/subject/single.mjs.map +1 -0
  102. package/es/subject/sort-controller.mjs +2 -0
  103. package/es/subject/sort-controller.mjs.map +1 -0
  104. package/es/subject/sortable.mjs +30 -0
  105. package/es/subject/sortable.mjs.map +1 -0
  106. package/es/subject/sorting-card.mjs +52 -0
  107. package/es/subject/sorting-card.mjs.map +1 -0
  108. package/es/subject/text-fill.mjs +395 -0
  109. package/es/subject/text-fill.mjs.map +1 -0
  110. package/es/subject/title-prefix.mjs +2 -0
  111. package/es/subject/title-prefix.mjs.map +1 -0
  112. package/es/subject/types.mjs +2 -0
  113. package/es/subject/types.mjs.map +1 -0
  114. package/lib/base/define.cjs +2 -0
  115. package/lib/base/define.cjs.map +1 -0
  116. package/lib/base/uid.cjs +2 -0
  117. package/lib/base/uid.cjs.map +1 -0
  118. package/lib/data-chart.cjs +142 -0
  119. package/lib/data-chart.cjs.map +1 -0
  120. package/lib/editor/blocksuite-editor.cjs +1115 -0
  121. package/lib/editor/blocksuite-editor.cjs.map +1 -0
  122. package/lib/editor/content-format.cjs +2 -0
  123. package/lib/editor/content-format.cjs.map +1 -0
  124. package/lib/editor/index.cjs +2 -0
  125. package/lib/editor/index.cjs.map +1 -0
  126. package/lib/editor/toolbar.cjs +2 -0
  127. package/lib/editor/toolbar.cjs.map +1 -0
  128. package/lib/entry-data-chart.cjs +2 -0
  129. package/lib/entry-data-chart.cjs.map +1 -0
  130. package/lib/entry-editor.cjs +2 -0
  131. package/lib/entry-editor.cjs.map +1 -0
  132. package/lib/entry-file-upload.cjs +2 -0
  133. package/lib/entry-file-upload.cjs.map +1 -0
  134. package/lib/entry-fixed-action-bar.cjs +2 -0
  135. package/lib/entry-fixed-action-bar.cjs.map +1 -0
  136. package/lib/entry-icon.cjs +2 -0
  137. package/lib/entry-icon.cjs.map +1 -0
  138. package/lib/entry-image-upload.cjs +2 -0
  139. package/lib/entry-image-upload.cjs.map +1 -0
  140. package/lib/entry-photo-crop-tool.cjs +2 -0
  141. package/lib/entry-photo-crop-tool.cjs.map +1 -0
  142. package/lib/entry-subject.cjs +2 -0
  143. package/lib/entry-subject.cjs.map +1 -0
  144. package/lib/file-upload.cjs +157 -0
  145. package/lib/file-upload.cjs.map +1 -0
  146. package/lib/fixed-action-bar.cjs +39 -0
  147. package/lib/fixed-action-bar.cjs.map +1 -0
  148. package/lib/icon.cjs +20 -0
  149. package/lib/icon.cjs.map +1 -0
  150. package/lib/image-upload.cjs +333 -0
  151. package/lib/image-upload.cjs.map +1 -0
  152. package/lib/index.cjs +1 -1
  153. package/lib/index.cjs.map +1 -1
  154. package/lib/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs +2 -0
  155. package/lib/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs.map +1 -0
  156. package/lib/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.cjs +2 -0
  157. package/lib/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.cjs.map +1 -0
  158. package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.cjs +2 -0
  159. package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.es.cjs.map +1 -0
  160. package/lib/photo-crop-tool.cjs +147 -0
  161. package/lib/photo-crop-tool.cjs.map +1 -0
  162. package/lib/src/alert/src/alert.cjs.map +1 -1
  163. package/lib/src/components.cjs +1 -1
  164. package/lib/src/data-chart/index.cjs +1 -1
  165. package/lib/src/data-chart/index.cjs.map +1 -1
  166. package/lib/src/dialog/src/dialog.cjs +1 -1
  167. package/lib/src/dialog/src/dialog.cjs.map +1 -1
  168. package/lib/src/file-upload/index.cjs +1 -1
  169. package/lib/src/file-upload/index.cjs.map +1 -1
  170. package/lib/src/image-upload/index.cjs +1 -1
  171. package/lib/src/image-upload/index.cjs.map +1 -1
  172. package/lib/src/message/src/message.cjs +1 -1
  173. package/lib/src/message/src/message.cjs.map +1 -1
  174. package/lib/src/photo-crop-tool/index.cjs +1 -1
  175. package/lib/src/photo-crop-tool/index.cjs.map +1 -1
  176. package/lib/src/ui/button/index.cjs.map +1 -1
  177. package/lib/src/ui/checkbox/index.cjs.map +1 -1
  178. package/lib/src/ui/dialog/index.cjs.map +1 -1
  179. package/lib/src/ui/input/index.cjs +1 -1
  180. package/lib/src/ui/input/index.cjs.map +1 -1
  181. package/lib/src/ui/input-number/index.cjs.map +1 -1
  182. package/lib/src/ui/layout/index.cjs.map +1 -1
  183. package/lib/src/ui/popover/index.cjs.map +1 -1
  184. package/lib/src/ui/radio/index.cjs.map +1 -1
  185. package/lib/src/ui/scrollbar/index.cjs.map +1 -1
  186. package/lib/src/ui/select/index.cjs +1 -1
  187. package/lib/src/ui/select/index.cjs.map +1 -1
  188. package/lib/src/ui/table/index.cjs.map +1 -1
  189. package/lib/src/ui/tag/index.cjs.map +1 -1
  190. package/lib/src/wc-bridge.cjs +2 -0
  191. package/lib/src/wc-bridge.cjs.map +1 -0
  192. package/lib/subject/action.cjs +171 -0
  193. package/lib/subject/action.cjs.map +1 -0
  194. package/lib/subject/blank-fill.cjs +385 -0
  195. package/lib/subject/blank-fill.cjs.map +1 -0
  196. package/lib/subject/draft.cjs +2 -0
  197. package/lib/subject/draft.cjs.map +1 -0
  198. package/lib/subject/layout.cjs +21 -0
  199. package/lib/subject/layout.cjs.map +1 -0
  200. package/lib/subject/page-end.cjs +28 -0
  201. package/lib/subject/page-end.cjs.map +1 -0
  202. package/lib/subject/pagination.cjs +2 -0
  203. package/lib/subject/pagination.cjs.map +1 -0
  204. package/lib/subject/runtime.cjs +2 -0
  205. package/lib/subject/runtime.cjs.map +1 -0
  206. package/lib/subject/scale.cjs +267 -0
  207. package/lib/subject/scale.cjs.map +1 -0
  208. package/lib/subject/shared-methods.cjs +2 -0
  209. package/lib/subject/shared-methods.cjs.map +1 -0
  210. package/lib/subject/shared-styles.cjs +75 -0
  211. package/lib/subject/shared-styles.cjs.map +1 -0
  212. package/lib/subject/single.cjs +600 -0
  213. package/lib/subject/single.cjs.map +1 -0
  214. package/lib/subject/sort-controller.cjs +2 -0
  215. package/lib/subject/sort-controller.cjs.map +1 -0
  216. package/lib/subject/sortable.cjs +30 -0
  217. package/lib/subject/sortable.cjs.map +1 -0
  218. package/lib/subject/sorting-card.cjs +52 -0
  219. package/lib/subject/sorting-card.cjs.map +1 -0
  220. package/lib/subject/text-fill.cjs +395 -0
  221. package/lib/subject/text-fill.cjs.map +1 -0
  222. package/lib/subject/title-prefix.cjs +2 -0
  223. package/lib/subject/title-prefix.cjs.map +1 -0
  224. package/lib/subject/types.cjs +2 -0
  225. package/lib/subject/types.cjs.map +1 -0
  226. package/package.json +94 -32
  227. package/types/base/define.d.ts +1 -0
  228. package/types/base/uid.d.ts +1 -0
  229. package/types/data-chart.d.ts +65 -0
  230. package/types/editor/blocksuite-editor.d.ts +191 -0
  231. package/types/editor/content-format.d.ts +4 -0
  232. package/types/editor/index.d.ts +4 -0
  233. package/types/editor/toolbar.d.ts +6 -0
  234. package/types/editor/types.d.ts +42 -0
  235. package/types/entry-data-chart.d.ts +1 -0
  236. package/types/entry-editor.d.ts +2 -0
  237. package/types/entry-file-upload.d.ts +1 -0
  238. package/types/entry-fixed-action-bar.d.ts +1 -0
  239. package/types/entry-icon.d.ts +2 -0
  240. package/types/entry-image-upload.d.ts +1 -0
  241. package/types/entry-photo-crop-tool.d.ts +1 -0
  242. package/types/entry-subject.d.ts +2 -0
  243. package/types/file-upload.d.ts +48 -0
  244. package/types/fixed-action-bar.d.ts +25 -0
  245. package/types/icon.d.ts +30 -0
  246. package/types/image-upload.d.ts +68 -0
  247. package/types/index.d.ts +21 -6
  248. package/types/photo-crop-tool.d.ts +43 -0
  249. package/types/src/components.d.ts +2 -7
  250. package/types/src/components.d.ts.map +1 -1
  251. package/types/src/data-chart/index.d.ts +11 -27
  252. package/types/src/data-chart/index.d.ts.map +1 -1
  253. package/types/src/dialog/src/dialog.d.ts.map +1 -1
  254. package/types/src/file-upload/index.d.ts +10 -17
  255. package/types/src/file-upload/index.d.ts.map +1 -1
  256. package/types/src/icon/index.d.ts +1 -1
  257. package/types/src/icon/src/icon.d.ts +1 -1
  258. package/types/src/image-upload/index.d.ts +10 -25
  259. package/types/src/image-upload/index.d.ts.map +1 -1
  260. package/types/src/message/index.d.ts +2 -2
  261. package/types/src/message/index.d.ts.map +1 -1
  262. package/types/src/message/src/message.d.ts.map +1 -1
  263. package/types/src/photo-crop-tool/index.d.ts +9 -52
  264. package/types/src/photo-crop-tool/index.d.ts.map +1 -1
  265. package/types/src/subject-action/src/subject-action.vue.d.ts.map +1 -1
  266. package/types/src/subject-list/src/components/SubjectPageEnd.vue.d.ts +2 -2
  267. package/types/src/subject-list/src/components/subject-blank-fill.vue.d.ts +2 -2
  268. package/types/src/subject-list/src/components/subject-scale.vue.d.ts +2 -2
  269. package/types/src/subject-list/src/components/subject-scale.vue.d.ts.map +1 -1
  270. package/types/src/subject-list/src/components/subject-single.vue.d.ts +2 -2
  271. package/types/src/subject-list/src/components/subject-single.vue.d.ts.map +1 -1
  272. package/types/src/subject-list/src/components/subject-text-fill.vue.d.ts +2 -2
  273. package/types/src/subject-list/src/subject-list.vue.d.ts.map +1 -1
  274. package/types/src/subject-type/src/subject-type.vue.d.ts.map +1 -1
  275. package/types/src/ui/button/index.d.ts +4 -4
  276. package/types/src/ui/checkbox/index.d.ts +2 -2
  277. package/types/src/ui/checkbox/index.d.ts.map +1 -1
  278. package/types/src/ui/dialog/index.d.ts +2 -2
  279. package/types/src/ui/dialog/index.d.ts.map +1 -1
  280. package/types/src/ui/index.d.ts +9 -9
  281. package/types/src/ui/index.d.ts.map +1 -1
  282. package/types/src/ui/input/index.d.ts +4 -4
  283. package/types/src/ui/input-number/index.d.ts +4 -4
  284. package/types/src/ui/input-number/index.d.ts.map +1 -1
  285. package/types/src/ui/layout/index.d.ts +6 -6
  286. package/types/src/ui/layout/index.d.ts.map +1 -1
  287. package/types/src/ui/popover/index.d.ts +4 -4
  288. package/types/src/ui/popover/index.d.ts.map +1 -1
  289. package/types/src/ui/radio/index.d.ts.map +1 -1
  290. package/types/src/ui/scrollbar/index.d.ts.map +1 -1
  291. package/types/src/ui/select/index.d.ts +4 -4
  292. package/types/src/ui/select/index.d.ts.map +1 -1
  293. package/types/src/ui/table/index.d.ts +3 -3
  294. package/types/src/ui/table/index.d.ts.map +1 -1
  295. package/types/src/ui/tag/index.d.ts +2 -2
  296. package/types/src/ui/tag/index.d.ts.map +1 -1
  297. package/types/src/wc-bridge.d.ts +23 -0
  298. package/types/src/wc-bridge.d.ts.map +1 -0
  299. package/types/subject/action.d.ts +37 -0
  300. package/types/subject/blank-fill.d.ts +79 -0
  301. package/types/subject/draft.d.ts +63 -0
  302. package/types/subject/index.d.ts +13 -0
  303. package/types/subject/layout.d.ts +7 -0
  304. package/types/subject/page-end.d.ts +16 -0
  305. package/types/subject/pagination.d.ts +23 -0
  306. package/types/subject/runtime.d.ts +12 -0
  307. package/types/subject/scale.d.ts +55 -0
  308. package/types/subject/shared-methods.d.ts +8 -0
  309. package/types/subject/shared-styles.d.ts +5 -0
  310. package/types/subject/single.d.ts +288 -0
  311. package/types/subject/sort-controller.d.ts +3 -0
  312. package/types/subject/sortable.d.ts +19 -0
  313. package/types/subject/sorting-card.d.ts +2 -0
  314. package/types/subject/text-fill.d.ts +88 -0
  315. package/types/subject/title-prefix.d.ts +2 -0
  316. package/types/subject/types.d.ts +12 -0
  317. package/types/tsconfig.tsbuildinfo +1 -1
  318. package/es/_virtual/_commonjsHelpers.mjs +0 -2
  319. package/es/_virtual/_commonjsHelpers.mjs.map +0 -1
  320. package/es/_virtual/_plugin-vue_export-helper.mjs +0 -2
  321. package/es/_virtual/_plugin-vue_export-helper.mjs.map +0 -1
  322. package/es/_virtual/sortable.esm.mjs +0 -2
  323. package/es/_virtual/sortable.esm.mjs.map +0 -1
  324. package/es/_virtual/vuedraggable.umd.mjs +0 -2
  325. package/es/_virtual/vuedraggable.umd.mjs.map +0 -1
  326. package/es/_virtual/vuedraggable.umd2.mjs +0 -2
  327. package/es/_virtual/vuedraggable.umd2.mjs.map +0 -1
  328. package/es/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.mjs +0 -8
  329. package/es/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.mjs.map +0 -1
  330. package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +0 -2
  331. package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs.map +0 -1
  332. package/es/node_modules/.pnpm/vuedraggable@4.1.0_vue@3.5.18_typescript@5.9.2_/node_modules/vuedraggable/dist/vuedraggable.umd.mjs +0 -2
  333. package/es/node_modules/.pnpm/vuedraggable@4.1.0_vue@3.5.18_typescript@5.9.2_/node_modules/vuedraggable/dist/vuedraggable.umd.mjs.map +0 -1
  334. package/es/src/data-chart/src/analyze.mjs +0 -2
  335. package/es/src/data-chart/src/analyze.mjs.map +0 -1
  336. package/es/src/data-chart/src/components/area.vue.mjs +0 -2
  337. package/es/src/data-chart/src/components/area.vue.mjs.map +0 -1
  338. package/es/src/data-chart/src/components/area.vue2.mjs +0 -2
  339. package/es/src/data-chart/src/components/area.vue2.mjs.map +0 -1
  340. package/es/src/data-chart/src/components/area.vue3.mjs +0 -2
  341. package/es/src/data-chart/src/components/area.vue3.mjs.map +0 -1
  342. package/es/src/data-chart/src/components/bar.vue.mjs +0 -2
  343. package/es/src/data-chart/src/components/bar.vue.mjs.map +0 -1
  344. package/es/src/data-chart/src/components/bar.vue2.mjs +0 -2
  345. package/es/src/data-chart/src/components/bar.vue2.mjs.map +0 -1
  346. package/es/src/data-chart/src/components/bar.vue3.mjs +0 -2
  347. package/es/src/data-chart/src/components/bar.vue3.mjs.map +0 -1
  348. package/es/src/data-chart/src/components/card.vue.mjs +0 -2
  349. package/es/src/data-chart/src/components/card.vue.mjs.map +0 -1
  350. package/es/src/data-chart/src/components/card.vue2.mjs +0 -2
  351. package/es/src/data-chart/src/components/card.vue2.mjs.map +0 -1
  352. package/es/src/data-chart/src/components/card.vue3.mjs +0 -2
  353. package/es/src/data-chart/src/components/card.vue3.mjs.map +0 -1
  354. package/es/src/data-chart/src/components/data-chart-card-bg-left.svg.mjs +0 -2
  355. package/es/src/data-chart/src/components/data-chart-card-bg-left.svg.mjs.map +0 -1
  356. package/es/src/data-chart/src/components/data-chart-card-bg-right.svg.mjs +0 -2
  357. package/es/src/data-chart/src/components/data-chart-card-bg-right.svg.mjs.map +0 -1
  358. package/es/src/data-chart/src/components/empty.svg.mjs +0 -2
  359. package/es/src/data-chart/src/components/empty.svg.mjs.map +0 -1
  360. package/es/src/data-chart/src/components/empty.vue.mjs +0 -2
  361. package/es/src/data-chart/src/components/empty.vue.mjs.map +0 -1
  362. package/es/src/data-chart/src/components/empty.vue2.mjs +0 -2
  363. package/es/src/data-chart/src/components/empty.vue2.mjs.map +0 -1
  364. package/es/src/data-chart/src/components/funnel.vue.mjs +0 -2
  365. package/es/src/data-chart/src/components/funnel.vue.mjs.map +0 -1
  366. package/es/src/data-chart/src/components/funnel.vue2.mjs +0 -2
  367. package/es/src/data-chart/src/components/funnel.vue2.mjs.map +0 -1
  368. package/es/src/data-chart/src/components/funnel.vue3.mjs +0 -2
  369. package/es/src/data-chart/src/components/funnel.vue3.mjs.map +0 -1
  370. package/es/src/data-chart/src/components/line.vue.mjs +0 -2
  371. package/es/src/data-chart/src/components/line.vue.mjs.map +0 -1
  372. package/es/src/data-chart/src/components/line.vue2.mjs +0 -2
  373. package/es/src/data-chart/src/components/line.vue2.mjs.map +0 -1
  374. package/es/src/data-chart/src/components/line.vue3.mjs +0 -2
  375. package/es/src/data-chart/src/components/line.vue3.mjs.map +0 -1
  376. package/es/src/data-chart/src/components/pie.vue.mjs +0 -2
  377. package/es/src/data-chart/src/components/pie.vue.mjs.map +0 -1
  378. package/es/src/data-chart/src/components/pie.vue2.mjs +0 -2
  379. package/es/src/data-chart/src/components/pie.vue2.mjs.map +0 -1
  380. package/es/src/data-chart/src/components/pie.vue3.mjs +0 -2
  381. package/es/src/data-chart/src/components/pie.vue3.mjs.map +0 -1
  382. package/es/src/data-chart/src/components/radar.vue.mjs +0 -2
  383. package/es/src/data-chart/src/components/radar.vue.mjs.map +0 -1
  384. package/es/src/data-chart/src/components/radar.vue2.mjs +0 -2
  385. package/es/src/data-chart/src/components/radar.vue2.mjs.map +0 -1
  386. package/es/src/data-chart/src/components/radar.vue3.mjs +0 -2
  387. package/es/src/data-chart/src/components/radar.vue3.mjs.map +0 -1
  388. package/es/src/data-chart/src/components/scatter-simple.vue.mjs +0 -2
  389. package/es/src/data-chart/src/components/scatter-simple.vue.mjs.map +0 -1
  390. package/es/src/data-chart/src/components/scatter-simple.vue2.mjs +0 -2
  391. package/es/src/data-chart/src/components/scatter-simple.vue2.mjs.map +0 -1
  392. package/es/src/data-chart/src/components/scatter-simple.vue3.mjs +0 -2
  393. package/es/src/data-chart/src/components/scatter-simple.vue3.mjs.map +0 -1
  394. package/es/src/data-chart/src/components/scatter.vue.mjs +0 -2
  395. package/es/src/data-chart/src/components/scatter.vue.mjs.map +0 -1
  396. package/es/src/data-chart/src/components/scatter.vue2.mjs +0 -2
  397. package/es/src/data-chart/src/components/scatter.vue2.mjs.map +0 -1
  398. package/es/src/data-chart/src/components/scatter.vue3.mjs +0 -2
  399. package/es/src/data-chart/src/components/scatter.vue3.mjs.map +0 -1
  400. package/es/src/data-chart/src/components/table.vue.mjs +0 -2
  401. package/es/src/data-chart/src/components/table.vue.mjs.map +0 -1
  402. package/es/src/data-chart/src/components/table.vue2.mjs +0 -2
  403. package/es/src/data-chart/src/components/table.vue2.mjs.map +0 -1
  404. package/es/src/data-chart/src/data-chart.vue.mjs +0 -2
  405. package/es/src/data-chart/src/data-chart.vue.mjs.map +0 -1
  406. package/es/src/data-chart/src/data-chart.vue2.mjs +0 -2
  407. package/es/src/data-chart/src/data-chart.vue2.mjs.map +0 -1
  408. package/es/src/data-chart/src/utils/config.mjs +0 -2
  409. package/es/src/data-chart/src/utils/config.mjs.map +0 -1
  410. package/es/src/data-chart/src/utils/injectionKeys.mjs +0 -2
  411. package/es/src/data-chart/src/utils/injectionKeys.mjs.map +0 -1
  412. package/es/src/data-chart/src/utils/mapData.mjs +0 -2
  413. package/es/src/data-chart/src/utils/mapData.mjs.map +0 -1
  414. package/es/src/data-chart/src/utils/safe-eval.mjs +0 -2
  415. package/es/src/data-chart/src/utils/safe-eval.mjs.map +0 -1
  416. package/es/src/data-chart/src/utils/types.mjs +0 -2
  417. package/es/src/data-chart/src/utils/types.mjs.map +0 -1
  418. package/es/src/data-chart/src/utils/useCharts.mjs +0 -2
  419. package/es/src/data-chart/src/utils/useCharts.mjs.map +0 -1
  420. package/es/src/file-upload/src/file-upload.vue.mjs +0 -2
  421. package/es/src/file-upload/src/file-upload.vue.mjs.map +0 -1
  422. package/es/src/file-upload/src/file-upload.vue2.mjs +0 -2
  423. package/es/src/file-upload/src/file-upload.vue2.mjs.map +0 -1
  424. package/es/src/file-upload/src/file-upload.vue3.mjs +0 -2
  425. package/es/src/file-upload/src/file-upload.vue3.mjs.map +0 -1
  426. package/es/src/fixed-action-bar/index.mjs +0 -2
  427. package/es/src/fixed-action-bar/index.mjs.map +0 -1
  428. package/es/src/fixed-action-bar/src/fixed-action-bar.vue.mjs +0 -2
  429. package/es/src/fixed-action-bar/src/fixed-action-bar.vue.mjs.map +0 -1
  430. package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.mjs +0 -2
  431. package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.mjs.map +0 -1
  432. package/es/src/image-upload/src/image-upload.vue.mjs +0 -2
  433. package/es/src/image-upload/src/image-upload.vue.mjs.map +0 -1
  434. package/es/src/image-upload/src/image-upload.vue2.mjs +0 -2
  435. package/es/src/image-upload/src/image-upload.vue2.mjs.map +0 -1
  436. package/es/src/image-upload/src/image-upload.vue3.mjs +0 -2
  437. package/es/src/image-upload/src/image-upload.vue3.mjs.map +0 -1
  438. package/es/src/photo-crop-tool/src/composables.mjs +0 -2
  439. package/es/src/photo-crop-tool/src/composables.mjs.map +0 -1
  440. package/es/src/photo-crop-tool/src/photo-crop-tool.vue.mjs +0 -2
  441. package/es/src/photo-crop-tool/src/photo-crop-tool.vue.mjs.map +0 -1
  442. package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.mjs +0 -2
  443. package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.mjs.map +0 -1
  444. package/es/src/subject-action/index.mjs +0 -2
  445. package/es/src/subject-action/index.mjs.map +0 -1
  446. package/es/src/subject-action/src/subject-action.vue.mjs +0 -2
  447. package/es/src/subject-action/src/subject-action.vue.mjs.map +0 -1
  448. package/es/src/subject-action/src/subject-action.vue2.mjs +0 -2
  449. package/es/src/subject-action/src/subject-action.vue2.mjs.map +0 -1
  450. package/es/src/subject-layout/index.mjs +0 -2
  451. package/es/src/subject-layout/index.mjs.map +0 -1
  452. package/es/src/subject-layout/src/subject-layout.vue.mjs +0 -2
  453. package/es/src/subject-layout/src/subject-layout.vue.mjs.map +0 -1
  454. package/es/src/subject-layout/src/subject-layout.vue2.mjs +0 -2
  455. package/es/src/subject-layout/src/subject-layout.vue2.mjs.map +0 -1
  456. package/es/src/subject-list/index.mjs +0 -2
  457. package/es/src/subject-list/index.mjs.map +0 -1
  458. package/es/src/subject-list/src/components/SubjectPageEnd.vue.mjs +0 -2
  459. package/es/src/subject-list/src/components/SubjectPageEnd.vue.mjs.map +0 -1
  460. package/es/src/subject-list/src/components/SubjectPageEnd.vue2.mjs +0 -2
  461. package/es/src/subject-list/src/components/SubjectPageEnd.vue2.mjs.map +0 -1
  462. package/es/src/subject-list/src/components/SubjectRichText.vue.mjs +0 -2
  463. package/es/src/subject-list/src/components/SubjectRichText.vue.mjs.map +0 -1
  464. package/es/src/subject-list/src/components/SubjectRichText.vue2.mjs +0 -2
  465. package/es/src/subject-list/src/components/SubjectRichText.vue2.mjs.map +0 -1
  466. package/es/src/subject-list/src/components/subject-blank-fill.vue.mjs +0 -2
  467. package/es/src/subject-list/src/components/subject-blank-fill.vue.mjs.map +0 -1
  468. package/es/src/subject-list/src/components/subject-blank-fill.vue2.mjs +0 -2
  469. package/es/src/subject-list/src/components/subject-blank-fill.vue2.mjs.map +0 -1
  470. package/es/src/subject-list/src/components/subject-scale.vue.mjs +0 -2
  471. package/es/src/subject-list/src/components/subject-scale.vue.mjs.map +0 -1
  472. package/es/src/subject-list/src/components/subject-scale.vue2.mjs +0 -2
  473. package/es/src/subject-list/src/components/subject-scale.vue2.mjs.map +0 -1
  474. package/es/src/subject-list/src/components/subject-single.vue.mjs +0 -2
  475. package/es/src/subject-list/src/components/subject-single.vue.mjs.map +0 -1
  476. package/es/src/subject-list/src/components/subject-single.vue2.mjs +0 -2
  477. package/es/src/subject-list/src/components/subject-single.vue2.mjs.map +0 -1
  478. package/es/src/subject-list/src/components/subject-text-fill.vue.mjs +0 -2
  479. package/es/src/subject-list/src/components/subject-text-fill.vue.mjs.map +0 -1
  480. package/es/src/subject-list/src/components/subject-text-fill.vue2.mjs +0 -2
  481. package/es/src/subject-list/src/components/subject-text-fill.vue2.mjs.map +0 -1
  482. package/es/src/subject-list/src/subject-list.vue.mjs +0 -2
  483. package/es/src/subject-list/src/subject-list.vue.mjs.map +0 -1
  484. package/es/src/subject-list/src/subject-list.vue2.mjs +0 -2
  485. package/es/src/subject-list/src/subject-list.vue2.mjs.map +0 -1
  486. package/es/src/subject-type/index.mjs +0 -2
  487. package/es/src/subject-type/index.mjs.map +0 -1
  488. package/es/src/subject-type/src/subject-type.vue.mjs +0 -2
  489. package/es/src/subject-type/src/subject-type.vue.mjs.map +0 -1
  490. package/es/src/subject-type/src/subject-type.vue2.mjs +0 -2
  491. package/es/src/subject-type/src/subject-type.vue2.mjs.map +0 -1
  492. package/lib/_virtual/_commonjsHelpers.cjs +0 -2
  493. package/lib/_virtual/_commonjsHelpers.cjs.map +0 -1
  494. package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -2
  495. package/lib/_virtual/_plugin-vue_export-helper.cjs.map +0 -1
  496. package/lib/_virtual/sortable.esm.cjs +0 -2
  497. package/lib/_virtual/sortable.esm.cjs.map +0 -1
  498. package/lib/_virtual/vuedraggable.umd.cjs +0 -2
  499. package/lib/_virtual/vuedraggable.umd.cjs.map +0 -1
  500. package/lib/_virtual/vuedraggable.umd2.cjs +0 -2
  501. package/lib/_virtual/vuedraggable.umd2.cjs.map +0 -1
  502. package/lib/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.cjs +0 -9
  503. package/lib/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.cjs.map +0 -1
  504. package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.cjs +0 -2
  505. package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.cjs.map +0 -1
  506. package/lib/node_modules/.pnpm/vuedraggable@4.1.0_vue@3.5.18_typescript@5.9.2_/node_modules/vuedraggable/dist/vuedraggable.umd.cjs +0 -2
  507. package/lib/node_modules/.pnpm/vuedraggable@4.1.0_vue@3.5.18_typescript@5.9.2_/node_modules/vuedraggable/dist/vuedraggable.umd.cjs.map +0 -1
  508. package/lib/src/data-chart/src/analyze.cjs +0 -2
  509. package/lib/src/data-chart/src/analyze.cjs.map +0 -1
  510. package/lib/src/data-chart/src/components/area.vue.cjs +0 -2
  511. package/lib/src/data-chart/src/components/area.vue.cjs.map +0 -1
  512. package/lib/src/data-chart/src/components/area.vue2.cjs +0 -2
  513. package/lib/src/data-chart/src/components/area.vue2.cjs.map +0 -1
  514. package/lib/src/data-chart/src/components/area.vue3.cjs +0 -2
  515. package/lib/src/data-chart/src/components/area.vue3.cjs.map +0 -1
  516. package/lib/src/data-chart/src/components/bar.vue.cjs +0 -2
  517. package/lib/src/data-chart/src/components/bar.vue.cjs.map +0 -1
  518. package/lib/src/data-chart/src/components/bar.vue2.cjs +0 -2
  519. package/lib/src/data-chart/src/components/bar.vue2.cjs.map +0 -1
  520. package/lib/src/data-chart/src/components/bar.vue3.cjs +0 -2
  521. package/lib/src/data-chart/src/components/bar.vue3.cjs.map +0 -1
  522. package/lib/src/data-chart/src/components/card.vue.cjs +0 -2
  523. package/lib/src/data-chart/src/components/card.vue.cjs.map +0 -1
  524. package/lib/src/data-chart/src/components/card.vue2.cjs +0 -2
  525. package/lib/src/data-chart/src/components/card.vue2.cjs.map +0 -1
  526. package/lib/src/data-chart/src/components/card.vue3.cjs +0 -2
  527. package/lib/src/data-chart/src/components/card.vue3.cjs.map +0 -1
  528. package/lib/src/data-chart/src/components/data-chart-card-bg-left.svg.cjs +0 -2
  529. package/lib/src/data-chart/src/components/data-chart-card-bg-left.svg.cjs.map +0 -1
  530. package/lib/src/data-chart/src/components/data-chart-card-bg-right.svg.cjs +0 -2
  531. package/lib/src/data-chart/src/components/data-chart-card-bg-right.svg.cjs.map +0 -1
  532. package/lib/src/data-chart/src/components/empty.svg.cjs +0 -2
  533. package/lib/src/data-chart/src/components/empty.svg.cjs.map +0 -1
  534. package/lib/src/data-chart/src/components/empty.vue.cjs +0 -2
  535. package/lib/src/data-chart/src/components/empty.vue.cjs.map +0 -1
  536. package/lib/src/data-chart/src/components/empty.vue2.cjs +0 -2
  537. package/lib/src/data-chart/src/components/empty.vue2.cjs.map +0 -1
  538. package/lib/src/data-chart/src/components/funnel.vue.cjs +0 -2
  539. package/lib/src/data-chart/src/components/funnel.vue.cjs.map +0 -1
  540. package/lib/src/data-chart/src/components/funnel.vue2.cjs +0 -2
  541. package/lib/src/data-chart/src/components/funnel.vue2.cjs.map +0 -1
  542. package/lib/src/data-chart/src/components/funnel.vue3.cjs +0 -2
  543. package/lib/src/data-chart/src/components/funnel.vue3.cjs.map +0 -1
  544. package/lib/src/data-chart/src/components/line.vue.cjs +0 -2
  545. package/lib/src/data-chart/src/components/line.vue.cjs.map +0 -1
  546. package/lib/src/data-chart/src/components/line.vue2.cjs +0 -2
  547. package/lib/src/data-chart/src/components/line.vue2.cjs.map +0 -1
  548. package/lib/src/data-chart/src/components/line.vue3.cjs +0 -2
  549. package/lib/src/data-chart/src/components/line.vue3.cjs.map +0 -1
  550. package/lib/src/data-chart/src/components/pie.vue.cjs +0 -2
  551. package/lib/src/data-chart/src/components/pie.vue.cjs.map +0 -1
  552. package/lib/src/data-chart/src/components/pie.vue2.cjs +0 -2
  553. package/lib/src/data-chart/src/components/pie.vue2.cjs.map +0 -1
  554. package/lib/src/data-chart/src/components/pie.vue3.cjs +0 -2
  555. package/lib/src/data-chart/src/components/pie.vue3.cjs.map +0 -1
  556. package/lib/src/data-chart/src/components/radar.vue.cjs +0 -2
  557. package/lib/src/data-chart/src/components/radar.vue.cjs.map +0 -1
  558. package/lib/src/data-chart/src/components/radar.vue2.cjs +0 -2
  559. package/lib/src/data-chart/src/components/radar.vue2.cjs.map +0 -1
  560. package/lib/src/data-chart/src/components/radar.vue3.cjs +0 -2
  561. package/lib/src/data-chart/src/components/radar.vue3.cjs.map +0 -1
  562. package/lib/src/data-chart/src/components/scatter-simple.vue.cjs +0 -2
  563. package/lib/src/data-chart/src/components/scatter-simple.vue.cjs.map +0 -1
  564. package/lib/src/data-chart/src/components/scatter-simple.vue2.cjs +0 -2
  565. package/lib/src/data-chart/src/components/scatter-simple.vue2.cjs.map +0 -1
  566. package/lib/src/data-chart/src/components/scatter-simple.vue3.cjs +0 -2
  567. package/lib/src/data-chart/src/components/scatter-simple.vue3.cjs.map +0 -1
  568. package/lib/src/data-chart/src/components/scatter.vue.cjs +0 -2
  569. package/lib/src/data-chart/src/components/scatter.vue.cjs.map +0 -1
  570. package/lib/src/data-chart/src/components/scatter.vue2.cjs +0 -2
  571. package/lib/src/data-chart/src/components/scatter.vue2.cjs.map +0 -1
  572. package/lib/src/data-chart/src/components/scatter.vue3.cjs +0 -2
  573. package/lib/src/data-chart/src/components/scatter.vue3.cjs.map +0 -1
  574. package/lib/src/data-chart/src/components/table.vue.cjs +0 -2
  575. package/lib/src/data-chart/src/components/table.vue.cjs.map +0 -1
  576. package/lib/src/data-chart/src/components/table.vue2.cjs +0 -2
  577. package/lib/src/data-chart/src/components/table.vue2.cjs.map +0 -1
  578. package/lib/src/data-chart/src/data-chart.vue.cjs +0 -2
  579. package/lib/src/data-chart/src/data-chart.vue.cjs.map +0 -1
  580. package/lib/src/data-chart/src/data-chart.vue2.cjs +0 -2
  581. package/lib/src/data-chart/src/data-chart.vue2.cjs.map +0 -1
  582. package/lib/src/data-chart/src/utils/config.cjs +0 -2
  583. package/lib/src/data-chart/src/utils/config.cjs.map +0 -1
  584. package/lib/src/data-chart/src/utils/injectionKeys.cjs +0 -2
  585. package/lib/src/data-chart/src/utils/injectionKeys.cjs.map +0 -1
  586. package/lib/src/data-chart/src/utils/mapData.cjs +0 -2
  587. package/lib/src/data-chart/src/utils/mapData.cjs.map +0 -1
  588. package/lib/src/data-chart/src/utils/safe-eval.cjs +0 -2
  589. package/lib/src/data-chart/src/utils/safe-eval.cjs.map +0 -1
  590. package/lib/src/data-chart/src/utils/types.cjs +0 -2
  591. package/lib/src/data-chart/src/utils/types.cjs.map +0 -1
  592. package/lib/src/data-chart/src/utils/useCharts.cjs +0 -2
  593. package/lib/src/data-chart/src/utils/useCharts.cjs.map +0 -1
  594. package/lib/src/file-upload/src/file-upload.vue.cjs +0 -2
  595. package/lib/src/file-upload/src/file-upload.vue.cjs.map +0 -1
  596. package/lib/src/file-upload/src/file-upload.vue2.cjs +0 -2
  597. package/lib/src/file-upload/src/file-upload.vue2.cjs.map +0 -1
  598. package/lib/src/file-upload/src/file-upload.vue3.cjs +0 -2
  599. package/lib/src/file-upload/src/file-upload.vue3.cjs.map +0 -1
  600. package/lib/src/fixed-action-bar/index.cjs +0 -2
  601. package/lib/src/fixed-action-bar/index.cjs.map +0 -1
  602. package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.cjs +0 -2
  603. package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.cjs.map +0 -1
  604. package/lib/src/fixed-action-bar/src/fixed-action-bar.vue2.cjs +0 -2
  605. package/lib/src/fixed-action-bar/src/fixed-action-bar.vue2.cjs.map +0 -1
  606. package/lib/src/image-upload/src/image-upload.vue.cjs +0 -2
  607. package/lib/src/image-upload/src/image-upload.vue.cjs.map +0 -1
  608. package/lib/src/image-upload/src/image-upload.vue2.cjs +0 -2
  609. package/lib/src/image-upload/src/image-upload.vue2.cjs.map +0 -1
  610. package/lib/src/image-upload/src/image-upload.vue3.cjs +0 -2
  611. package/lib/src/image-upload/src/image-upload.vue3.cjs.map +0 -1
  612. package/lib/src/photo-crop-tool/src/composables.cjs +0 -2
  613. package/lib/src/photo-crop-tool/src/composables.cjs.map +0 -1
  614. package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.cjs +0 -2
  615. package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.cjs.map +0 -1
  616. package/lib/src/photo-crop-tool/src/photo-crop-tool.vue2.cjs +0 -2
  617. package/lib/src/photo-crop-tool/src/photo-crop-tool.vue2.cjs.map +0 -1
  618. package/lib/src/subject-action/index.cjs +0 -2
  619. package/lib/src/subject-action/index.cjs.map +0 -1
  620. package/lib/src/subject-action/src/subject-action.vue.cjs +0 -2
  621. package/lib/src/subject-action/src/subject-action.vue.cjs.map +0 -1
  622. package/lib/src/subject-action/src/subject-action.vue2.cjs +0 -2
  623. package/lib/src/subject-action/src/subject-action.vue2.cjs.map +0 -1
  624. package/lib/src/subject-layout/index.cjs +0 -2
  625. package/lib/src/subject-layout/index.cjs.map +0 -1
  626. package/lib/src/subject-layout/src/subject-layout.vue.cjs +0 -2
  627. package/lib/src/subject-layout/src/subject-layout.vue.cjs.map +0 -1
  628. package/lib/src/subject-layout/src/subject-layout.vue2.cjs +0 -2
  629. package/lib/src/subject-layout/src/subject-layout.vue2.cjs.map +0 -1
  630. package/lib/src/subject-list/index.cjs +0 -2
  631. package/lib/src/subject-list/index.cjs.map +0 -1
  632. package/lib/src/subject-list/src/components/SubjectPageEnd.vue.cjs +0 -2
  633. package/lib/src/subject-list/src/components/SubjectPageEnd.vue.cjs.map +0 -1
  634. package/lib/src/subject-list/src/components/SubjectPageEnd.vue2.cjs +0 -2
  635. package/lib/src/subject-list/src/components/SubjectPageEnd.vue2.cjs.map +0 -1
  636. package/lib/src/subject-list/src/components/SubjectRichText.vue.cjs +0 -2
  637. package/lib/src/subject-list/src/components/SubjectRichText.vue.cjs.map +0 -1
  638. package/lib/src/subject-list/src/components/SubjectRichText.vue2.cjs +0 -2
  639. package/lib/src/subject-list/src/components/SubjectRichText.vue2.cjs.map +0 -1
  640. package/lib/src/subject-list/src/components/subject-blank-fill.vue.cjs +0 -2
  641. package/lib/src/subject-list/src/components/subject-blank-fill.vue.cjs.map +0 -1
  642. package/lib/src/subject-list/src/components/subject-blank-fill.vue2.cjs +0 -2
  643. package/lib/src/subject-list/src/components/subject-blank-fill.vue2.cjs.map +0 -1
  644. package/lib/src/subject-list/src/components/subject-scale.vue.cjs +0 -2
  645. package/lib/src/subject-list/src/components/subject-scale.vue.cjs.map +0 -1
  646. package/lib/src/subject-list/src/components/subject-scale.vue2.cjs +0 -2
  647. package/lib/src/subject-list/src/components/subject-scale.vue2.cjs.map +0 -1
  648. package/lib/src/subject-list/src/components/subject-single.vue.cjs +0 -2
  649. package/lib/src/subject-list/src/components/subject-single.vue.cjs.map +0 -1
  650. package/lib/src/subject-list/src/components/subject-single.vue2.cjs +0 -2
  651. package/lib/src/subject-list/src/components/subject-single.vue2.cjs.map +0 -1
  652. package/lib/src/subject-list/src/components/subject-text-fill.vue.cjs +0 -2
  653. package/lib/src/subject-list/src/components/subject-text-fill.vue.cjs.map +0 -1
  654. package/lib/src/subject-list/src/components/subject-text-fill.vue2.cjs +0 -2
  655. package/lib/src/subject-list/src/components/subject-text-fill.vue2.cjs.map +0 -1
  656. package/lib/src/subject-list/src/subject-list.vue.cjs +0 -2
  657. package/lib/src/subject-list/src/subject-list.vue.cjs.map +0 -1
  658. package/lib/src/subject-list/src/subject-list.vue2.cjs +0 -2
  659. package/lib/src/subject-list/src/subject-list.vue2.cjs.map +0 -1
  660. package/lib/src/subject-type/index.cjs +0 -2
  661. package/lib/src/subject-type/index.cjs.map +0 -1
  662. package/lib/src/subject-type/src/subject-type.vue.cjs +0 -2
  663. package/lib/src/subject-type/src/subject-type.vue.cjs.map +0 -1
  664. package/lib/src/subject-type/src/subject-type.vue2.cjs +0 -2
  665. package/lib/src/subject-type/src/subject-type.vue2.cjs.map +0 -1
  666. package/theme-chalk/index.css +0 -1
  667. package/theme-chalk/index.scss +0 -21
  668. package/theme-chalk/src/base.css +0 -1
  669. package/theme-chalk/src/base.scss +0 -16
  670. package/theme-chalk/src/common/qxs-components.css +0 -1
  671. package/theme-chalk/src/common/qxs-components.scss +0 -4
  672. package/theme-chalk/src/common/qxs-variables.css +0 -1
  673. package/theme-chalk/src/common/qxs-variables.scss +0 -81
  674. package/theme-chalk/src/data-chart/empty.css +0 -1
  675. package/theme-chalk/src/data-chart/empty.scss +0 -24
  676. package/theme-chalk/src/data-chart/index.css +0 -1
  677. package/theme-chalk/src/data-chart/index.scss +0 -11
  678. package/theme-chalk/src/data-chart/table.css +0 -1
  679. package/theme-chalk/src/data-chart/table.scss +0 -43
  680. package/theme-chalk/src/dialog.css +0 -1
  681. package/theme-chalk/src/dialog.scss +0 -122
  682. package/theme-chalk/src/file-upload.css +0 -0
  683. package/theme-chalk/src/file-upload.scss +0 -7
  684. package/theme-chalk/src/fixed-action-bar.css +0 -1
  685. package/theme-chalk/src/fixed-action-bar.scss +0 -18
  686. package/theme-chalk/src/icon.css +0 -1
  687. package/theme-chalk/src/icon.scss +0 -35
  688. package/theme-chalk/src/image-upload.css +0 -1
  689. package/theme-chalk/src/image-upload.scss +0 -149
  690. package/theme-chalk/src/mixins/_var.css +0 -0
  691. package/theme-chalk/src/mixins/_var.scss +0 -24
  692. package/theme-chalk/src/mixins/config.css +0 -0
  693. package/theme-chalk/src/mixins/config.scss +0 -12
  694. package/theme-chalk/src/mixins/function.css +0 -0
  695. package/theme-chalk/src/mixins/function.scss +0 -95
  696. package/theme-chalk/src/mixins/mixins.css +0 -0
  697. package/theme-chalk/src/mixins/mixins.scss +0 -102
  698. package/theme-chalk/src/normalize.css +0 -1
  699. package/theme-chalk/src/normalize.scss +0 -11
  700. package/theme-chalk/src/photo-crop-tool.css +0 -1
  701. package/theme-chalk/src/photo-crop-tool.scss +0 -98
  702. package/theme-chalk/src/subject-action.css +0 -1
  703. package/theme-chalk/src/subject-action.scss +0 -78
  704. package/theme-chalk/src/subject-layout.css +0 -1
  705. package/theme-chalk/src/subject-layout.scss +0 -28
  706. package/theme-chalk/src/subject-list.css +0 -1
  707. package/theme-chalk/src/subject-list.scss +0 -568
  708. package/theme-chalk/src/subject-template.css +0 -1
  709. package/theme-chalk/src/subject-template.scss +0 -5
  710. package/theme-chalk/src/subject-type.css +0 -1
  711. package/theme-chalk/src/subject-type.scss +0 -42
  712. package/theme-chalk/src/tiny-mce-editor.css +0 -1
  713. package/theme-chalk/src/tiny-mce-editor.scss +0 -29
  714. package/theme-chalk/src/ui/button.css +0 -1
  715. package/theme-chalk/src/ui/button.scss +0 -173
  716. package/theme-chalk/src/ui/input.css +0 -1
  717. package/theme-chalk/src/ui/input.scss +0 -128
  718. package/theme-chalk/src/ui/table.css +0 -1
  719. package/theme-chalk/src/ui/table.scss +0 -166
  720. package/types/src/data-chart/src/analyze.d.ts +0 -23
  721. package/types/src/data-chart/src/analyze.d.ts.map +0 -1
  722. package/types/src/data-chart/src/components/area.vue.d.ts +0 -12
  723. package/types/src/data-chart/src/components/area.vue.d.ts.map +0 -1
  724. package/types/src/data-chart/src/components/bar.vue.d.ts +0 -12
  725. package/types/src/data-chart/src/components/bar.vue.d.ts.map +0 -1
  726. package/types/src/data-chart/src/components/card.vue.d.ts +0 -27
  727. package/types/src/data-chart/src/components/card.vue.d.ts.map +0 -1
  728. package/types/src/data-chart/src/components/empty.vue.d.ts +0 -11
  729. package/types/src/data-chart/src/components/empty.vue.d.ts.map +0 -1
  730. package/types/src/data-chart/src/components/funnel.vue.d.ts +0 -11
  731. package/types/src/data-chart/src/components/funnel.vue.d.ts.map +0 -1
  732. package/types/src/data-chart/src/components/line.vue.d.ts +0 -12
  733. package/types/src/data-chart/src/components/line.vue.d.ts.map +0 -1
  734. package/types/src/data-chart/src/components/pie.vue.d.ts +0 -12
  735. package/types/src/data-chart/src/components/pie.vue.d.ts.map +0 -1
  736. package/types/src/data-chart/src/components/radar.vue.d.ts +0 -11
  737. package/types/src/data-chart/src/components/radar.vue.d.ts.map +0 -1
  738. package/types/src/data-chart/src/components/scatter-simple.vue.d.ts +0 -11
  739. package/types/src/data-chart/src/components/scatter-simple.vue.d.ts.map +0 -1
  740. package/types/src/data-chart/src/components/scatter.vue.d.ts +0 -11
  741. package/types/src/data-chart/src/components/scatter.vue.d.ts.map +0 -1
  742. package/types/src/data-chart/src/components/table.vue.d.ts +0 -27
  743. package/types/src/data-chart/src/components/table.vue.d.ts.map +0 -1
  744. package/types/src/data-chart/src/data-chart.vue.d.ts +0 -28
  745. package/types/src/data-chart/src/data-chart.vue.d.ts.map +0 -1
  746. package/types/src/data-chart/src/utils/config.d.ts +0 -41
  747. package/types/src/data-chart/src/utils/config.d.ts.map +0 -1
  748. package/types/src/data-chart/src/utils/injectionKeys.d.ts +0 -3
  749. package/types/src/data-chart/src/utils/injectionKeys.d.ts.map +0 -1
  750. package/types/src/data-chart/src/utils/mapData.d.ts +0 -64
  751. package/types/src/data-chart/src/utils/mapData.d.ts.map +0 -1
  752. package/types/src/data-chart/src/utils/safe-eval.d.ts +0 -9
  753. package/types/src/data-chart/src/utils/safe-eval.d.ts.map +0 -1
  754. package/types/src/data-chart/src/utils/types.d.ts +0 -72
  755. package/types/src/data-chart/src/utils/types.d.ts.map +0 -1
  756. package/types/src/data-chart/src/utils/useCharts.d.ts +0 -16
  757. package/types/src/data-chart/src/utils/useCharts.d.ts.map +0 -1
  758. package/types/src/file-upload/src/file-upload.vue.d.ts +0 -34
  759. package/types/src/file-upload/src/file-upload.vue.d.ts.map +0 -1
  760. package/types/src/fixed-action-bar/index.d.ts +0 -56
  761. package/types/src/fixed-action-bar/index.d.ts.map +0 -1
  762. package/types/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts +0 -31
  763. package/types/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts.map +0 -1
  764. package/types/src/image-upload/src/image-upload.vue.d.ts +0 -49
  765. package/types/src/image-upload/src/image-upload.vue.d.ts.map +0 -1
  766. package/types/src/photo-crop-tool/src/composables.d.ts +0 -7
  767. package/types/src/photo-crop-tool/src/composables.d.ts.map +0 -1
  768. package/types/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts +0 -65
  769. package/types/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts.map +0 -1
  770. package/types/src/subject-list/src/components/SubjectRichText.vue.d.ts +0 -25
  771. package/types/src/subject-list/src/components/SubjectRichText.vue.d.ts.map +0 -1
@@ -0,0 +1,600 @@
1
+ import{html as e,css as t,LitElement as s}from"lit";import{property as i,state as r}from"lit/decorators.js";import{safeCustomElement as o}from"../base/define.mjs";import{uid as a}from"../base/uid.mjs";import{SUB_TEXT_EDITOR_TOOLBAR as n}from"../editor/toolbar.mjs";import{emitSubjectEvent as l,showSubjectToast as c,emitSubjectModelValue as h,getSubjectImageResources as d,getSubjectVideoResource as p,resolveSubjectCategoryLabel as u,buildSubjectPreviewTitle as w,buildSubjectSortingTitle as m}from"./shared-methods.mjs";import{subjectHostStyles as g,subjectControlResetStyles as x,subjectPreviewBaseStyles as y,subjectFormBaseStyles as _,subjectTextareaStyles as v}from"./shared-styles.mjs";import{sortingCardStyles as f,renderSortingCard as b}from"./sorting-card.mjs";import{SubjectTypeLabel as $}from"./types.mjs";var k=Object.defineProperty,A=Object.getOwnPropertyDescriptor,C=(e,t,s,i)=>{for(var r,o=i>1?void 0:i?A(t,s):t,a=e.length-1;a>=0;a--)(r=e[a])&&(o=(i?r(t,s,o):r(o))||o);return i&&o&&k(t,s,o),o};class I extends Error{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"VALIDATION_ERROR",s=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;super(e),this.code=t,this.field=s,this.row=i,this.name="SubjectError"}static from(e){return new I(e.message,e.code,e.field,e.row)}}const T=e`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>`,S=e`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="5" y1="12" x2="19" y2="12"/></svg>`,E=e`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="6 9 12 15 18 9"/></svg>`;function R(e){return e.replace(/^\d+\.\s*/,"").replace(/[\s,,。.!!??;;::、'"“”‘’()()[\]【】\-_/\\]+/g,"").toLowerCase()}function L(e){return String(e??"").trim()}function D(e){return String(e??"").split(",").map(e=>e.trim()).filter(Boolean).join(",")}let O=class extends s{constructor(){super(...arguments),this["order-index"]=0,this["is-edit"]=!1,this["is-save"]=!1,this["is-set"]=!1,this["is-set-correct-answer"]=!1,this.lockAnswerKey=!1,this["is-key"]=!1,this["show-action"]=!0,this["show-add"]=!0,this["hide-add-rich-text"]=!1,this["show-rich-text"]=!1,this["show-delete-action"]=!0,this["show-save-action"]=!0,this.sorting=!1,this["show-answer-setting"]=!1,this["show-key"]=!1,this["show-analysis"]=!1,this.type="single",this["answer-check-type"]=1,this["exam-answer-relation-type"]=0,this["rich-text-content"]="",this.analysis="",this["least-answer-count"]=null,this["exam-expand"]="",this["custom-id"]="",this["exam-id"]=0,this["category-id"]="",this["upload-image"]=async e=>new Promise((t,s)=>{const i=new FileReader;i.onload=e=>t(e.target?.result),i.onerror=s,i.readAsDataURL(e)}),this["tag-list"]=[],this["category-list"]=[],this["ai-answer"]="",this["resource-list"]=[],this["show-tag"]=!1,this["show-category"]=!1,this["show-ai"]=!1,this["show-resource"]=!1,this["show-jump"]=!1,this["has-jump"]=!1,this["search-api"]="",this["model-value"]="",this["use-model"]=!1,this._answers=[{title:"",isCorrect:!1},{title:"",isCorrect:!1},{title:"",isCorrect:!1},{title:"",isCorrect:!1}],this.title="",this._title="",this._analysis="",this._richText="",this._showRichText=!1,this._leastAnswerCount=null,this._answerCheckType=1,this._isKey=!1,this._orderList=[],this._selectedTagList=[],this._categoryId="",this._searchResults=[],this._searchOpen=!1,this._searchLoading=!1,this._sortDropdownOpen=!1,this._imageViewerOpen=!1,this._imageViewerIndex=0,this._videoViewerOpen=!1,this._correctHintDialogOpen=!1,this._hasShownCorrectHint=!1,this._changeTypeDialogOpen=!1,this._searchTimer=null,this._searchToken=0,this.TITLE_MAX=200,this.ANSWER_MAX=100,this._handleDocumentClick=e=>{const t=e.composedPath(),s=this.shadowRoot?.querySelector(".multi-select-wrapper"),i=this.shadowRoot?.querySelector(".search-wrap");s&&!t.includes(s)&&(this._sortDropdownOpen=!1),i&&!t.includes(i)&&(this._searchOpen=!1),this.requestUpdate()}}get"answer-list"(){return this._answers}set"answer-list"(e){if(this["is-edit"])return;const t=Array.isArray(e)?e:[];this._answers=t.length?t.map(e=>this._normalizeAnswerItem(e)):[{title:"",isCorrect:!1},{title:"",isCorrect:!1},{title:"",isCorrect:!1},{title:"",isCorrect:!1}],this.requestUpdate("answer-list")}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleDocumentClick),this._syncExternalProps()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleDocumentClick),this._searchTimer&&(window.clearTimeout(this._searchTimer),this._searchTimer=null)}willUpdate(e){e.has("is-edit")&&this["is-edit"]&&this._syncProps(),!this["is-edit"]&&(e.has("title")||e.has("answer-list")||e.has("analysis")||e.has("least-answer-count")||e.has("answer-check-type")||e.has("tag-list")||e.has("category-id")||e.has("rich-text-content"))&&this._syncExternalProps(),e.has("is-key")&&(this._isKey=this["is-key"]),e.has("tag-list")&&(this._selectedTagList=Array.isArray(this["tag-list"])?this["tag-list"].map(e=>({...e})):[]),e.has("category-id")&&(this._categoryId=this["category-id"]?String(this["category-id"]):""),(e.has("exam-expand")||e.has("answer-list"))&&this._syncExamExpand(),e.has("model-value")&&this["use-model"]&&(this._title=this["model-value"])}_supportsLeastAnswerCount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type;return"multiple"===e||"sort"===e}_normalizeLeastAnswerCount(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.type;if(!this._supportsLeastAnswerCount(t)||""===e||null==e)return null;const s=Number(e);return Number.isFinite(s)&&s>0?s:null}_leastAnswerCountSuffix(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.type;return this._supportsLeastAnswerCount(t)&&null!==e?`,至少选${e}项${"sort"===t?"并排序":""}`:""}_normalizeAnswerItem(e){const t={...e,title:L(e?.title??e?.answer??""),isCorrect:!!e?.isCorrect},s=e?.answerId??e?.examAnswerId;return void 0!==s&&(t.answerId=s),t}_syncExternalProps(){this._title=this.title||"",this._analysis=this.analysis||"",this._leastAnswerCount=this._normalizeLeastAnswerCount(this["least-answer-count"]),this._answerCheckType=this["answer-check-type"]||1,this._isKey=this["is-key"],this._selectedTagList=Array.isArray(this["tag-list"])?this["tag-list"].map(e=>({...e})):[],this._categoryId=this["category-id"]?String(this["category-id"]):"",this._richText=this["rich-text-content"]||"",this._showRichText=!!this["rich-text-content"],this["answer-list"]?.length&&(this._answers=this["answer-list"].map(e=>this._normalizeAnswerItem(e)))}_syncProps(){this._title=this.title||"",this._analysis=this.analysis||"",this._leastAnswerCount=this._normalizeLeastAnswerCount(this["least-answer-count"]),this._answerCheckType=this["answer-check-type"]||1,this._isKey=this["is-key"],this._selectedTagList=Array.isArray(this["tag-list"])?this["tag-list"].map(e=>({...e})):[],this._categoryId=this["category-id"]?String(this["category-id"]):"",this._richText=this["rich-text-content"]||"",this._showRichText=!!this["rich-text-content"],this["answer-list"]?.length&&(this._answers=this["answer-list"].map(e=>this._normalizeAnswerItem(e))),this._syncExamExpand()}_syncExamExpand(){if(!this["exam-expand"]||!this["answer-list"]?.length)return;const e=this["exam-expand"].split(","),t=this["answer-list"];this._orderList=e.map(e=>{const s=t.findIndex((t,s)=>String(t.answerId??t.orderIndex??s+1)===String(e));return s>=0?this._label(s):""}).filter(Boolean)}_emit(e,t){l(this,e,t)}_searchAnswerType(){return"single"===this.type?0:"multiple"===this.type?1:5}_queueSearch(e){this._searchTimer&&(window.clearTimeout(this._searchTimer),this._searchTimer=null);const t=e.trim();if(!t||!this["search-api"]&&"function"!=typeof this["search-handler"])return this._searchResults=[],this._searchOpen=!1,void(this._searchLoading=!1);this._searchTimer=window.setTimeout(()=>{this._runSearch(t)},300)}async _runSearch(e){const t=++this._searchToken;this._searchLoading=!0,this._searchOpen=!0,this.requestUpdate();try{let s=[];if("function"==typeof this["search-handler"])s=await this["search-handler"](e,this._searchAnswerType());else if(this["search-api"]){const t=new URLSearchParams({searchKey:e,answerType:String(this._searchAnswerType())}),i=await fetch(`${this["search-api"]}${this["search-api"].includes("?")?"&":"?"}${t.toString()}`);if(!i.ok)throw new Error(`HTTP ${i.status}`);const r=await i.json();s=(Array.isArray(r)?r:Array.isArray(r?.data)?r.data:[]).map(e=>({...e,value:e?.value||e?.title||""}))}if(t!==this._searchToken)return;this._searchResults=Array.isArray(s)?s:[]}catch(e){if(t!==this._searchToken)return;this._searchResults=[],c(e?.message||"题库搜索失败")}finally{t===this._searchToken&&(this._searchLoading=!1,this.requestUpdate())}}_selectSearchResult(e){const t=e.value||e.title||"";this._title=t,this._searchResults=[],this._searchOpen=!1,this["use-model"]&&h(this,this._title),this._emit("title-select",{...e,id:e.id??e.examId??e.questionId,title:e.title||t,value:t,customId:this["custom-id"]||""})}_applyAiAnswer(){if(!this["ai-answer"]?.trim())return void c("暂无 AI 推荐答案");const e=this["ai-answer"].split(/\r?\n/).map(e=>R(e)).filter(Boolean);let t=0;if("single"===this.type){let s=!1;this._answers=this._answers.map(i=>{const r=!s&&e.includes(R(i.title||""));return r&&(s=!0,t++),{...i,isCorrect:r}})}else this._answers=this._answers.map(s=>{const i=e.includes(R(s.title||""));return i&&t++,{...s,isCorrect:i}});t?this.requestUpdate():c("未找到匹配的选项,请检查选项内容是否一致")}_onCategoryChange(e){this._categoryId=e,this._emit("category-change",{value:e,customId:this["custom-id"]||"",examId:this["exam-id"]||0})}_setRelation(e,t){const s=e.customAnswerId?{...e}:{...e,customAnswerId:e.answerId||a()};this._answers=this._answers.map((e,i)=>i===t?s:e),this.requestUpdate(),this._emit("set-relation",{customId:this["custom-id"]||"",examId:this["exam-id"]||0,answerIndex:t,answer:s})}_relationLength(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((e,t)=>e+(Array.isArray(t?.relationAnswers)?t.relationAnswers.length:0),0)}_emitEditResultItem(e,t){this._emit("edit-result-item",{customId:this["custom-id"]||"",examId:this["exam-id"]||0,answerIndex:t,answer:{...e},resultItem:e.resultItem||""})}_resultSlotName(e){return`business-result-item-${e}`}_imageResources(){return d(this["resource-list"]||[])}_videoResource(){return p(this["resource-list"]||[])}_openImageViewer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._imageResources().length&&(this._imageViewerIndex=e,this._imageViewerOpen=!0)}_closeImageViewer(){this._imageViewerOpen=!1}_moveImage(e){const t=this._imageResources();t.length&&(this._imageViewerIndex=(this._imageViewerIndex+e+t.length)%t.length)}_openVideoViewer(){this._videoResource()?.url&&(this._videoViewerOpen=!0)}_closeVideoViewer(){this._videoViewerOpen=!1}_label(e){return String.fromCharCode(65+e)}get _titlePlaceholder(){return"single"===this.type?"单选题":"multiple"===this.type?"多选题":"排序题"}_setCorrect(e,t){this.lockAnswerKey||("single"===this.type?this._answers=this._answers.map(s=>({...s,isCorrect:s===e?t:!t&&!!s.isCorrect})):this._answers=this._answers.map(s=>s===e?{...s,isCorrect:t}:s),this.requestUpdate())}_onTitleInput(e){const t=e.target;t.value.length>this.TITLE_MAX&&(t.value=t.value.slice(0,this.TITLE_MAX)),this._title=t.value,this._queueSearch(this._title),this["use-model"]&&h(this,this._title)}_onAnswerInput(e,t){const s=e.target;s.value.length>this.ANSWER_MAX&&(s.value=s.value.slice(0,this.ANSWER_MAX)),this._answers[t].title=s.value,this.requestUpdate()}_addAnswer(e){const t=[...this._answers];t.splice(e+1,0,{title:"",isCorrect:!1,customAnswerId:a()}),this._answers=t}_deleteAnswer(e){this._answers.length<3||(this._answers=this._answers.filter((t,s)=>s!==e))}_toggleSortItem(e){const t=this._orderList.indexOf(e);this._orderList=t>=0?this._orderList.filter(t=>t!==e):[...this._orderList,e],this.requestUpdate()}_removeSortItem(e){this._orderList=this._orderList.filter(t=>t!==e),this.requestUpdate()}_getSortOrder(e){const t=this._orderList.indexOf(this._label(e));return t>=0?t+1:null}_sortAnswerValue(e){const t=e.charCodeAt(0)-65,s=this._answers[t];return s?.answerId??t+1}_rowMeta(){return{customId:this["custom-id"]||void 0,answerType:this.type,orderIndex:this["order-index"]}}_collectSnapshot(){const e=(this["is-edit"]?this._answers:this["answer-list"]||[]).map(e=>({...e,title:L(e?.title??e?.answer??""),isCorrect:!!e?.isCorrect,resultItem:L(e?.resultItem??"")})),t=this["is-edit"]?[...this._orderList]:(()=>{const e=this["exam-expand"];return e?e.split(",").map(e=>{const t=this["answer-list"]?.findIndex((t,s)=>String(t.answerId??t.orderIndex??s+1)===String(e));return t>=0?this._label(t):""}).filter(Boolean):[]})();return{title:L(this["is-edit"]?this._title:this.title||""),answers:e,analysis:L(this["is-edit"]?this._analysis:this.analysis||""),leastAnswerCount:this["is-edit"]?this._leastAnswerCount:this._normalizeLeastAnswerCount(this["least-answer-count"]),selectedTagList:Array.isArray(this._selectedTagList)?[...this._selectedTagList]:[],examExpand:this["is-edit"]?t.map(e=>this._sortAnswerValue(e)).join(","):this["exam-expand"]||"",showRichText:this["is-edit"]?this._showRichText:!!this["rich-text-content"],richText:this["is-edit"]?this._richText:this["rich-text-content"]||"",orderList:t}}_validateSnapshot(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.type;const s=this._rowMeta(),i=[];e.title||i.push(new I("题目标题不能为空!","EMPTY_TITLE","title",s));let r=!1,o=0;e.answers.forEach((e,a)=>{e.title?.trim()||i.push(new I(`选项${String.fromCharCode(65+a)}未填写`,"ANSWER_EMPTY","answers",s)),"sort"!==t&&e.isCorrect&&(r=!0,o++)});return new Set(e.answers.map(e=>e.title)).size!==e.answers.length&&e.answers.length>0&&i.push(new I("选项不能重复","DUPLICATE_ANSWERS","answers",s)),"single"===t&&o>1&&i.push(new I("此题为单选题,设置了多个推荐/正确选项,请保存时确认是否切换为多选题","SINGLE_MULTI_CORRECT","answers",s)),"multiple"===t&&(1===o&&i.push(new I("请设置至少两个推荐/正确选项","CORRECT_COUNT_INVALID","answers",s)),o>0&&(r=!0),r&&null!==e.leastAnswerCount&&o<e.leastAnswerCount&&i.push(new I("至少选几项与推荐/正确选项数不符","LEAST_ANSWER_COUNT_INVALID","answers",s))),"sort"===t&&(r=e.orderList.length>0,null!==e.leastAnswerCount&&e.orderList.length<e.leastAnswerCount&&i.push(new I("至少选几项与推荐/正确选项数不符","LEAST_ANSWER_COUNT_INVALID","orderList",s))),{errors:i,isSetCorrectAnswer:r,correctAnswerCount:o}}_serialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.type;const t=this._collectSnapshot(),{errors:s,isSetCorrectAnswer:i}=this._validateSnapshot(t,e);if(s.length)throw s[0];const r={answerType:String(e),examTypeEnum:String(e),title:t.title,answers:t.answers.map((e,t)=>{const s=e.resultItem?1:Array.isArray(e.answerRelations)&&e.answerRelations.length?2:null,i={...e,orderIndex:t+1,answer:e.title,relationType:s};return void 0!==e.answerId&&(i.examAnswerId=e.answerId),null===s&&delete i.relationType,i}),examExpand:t.examExpand,analysis:t.analysis,isSetCorrectAnswer:i,examRichTextContent:t.showRichText?t.richText:""};return this["exam-answer-relation-type"]&&(r.examAnswerRelationType=this["exam-answer-relation-type"]),this._supportsLeastAnswerCount(e)&&(r.leastAnswerCount=t.leastAnswerCount),this["custom-id"]&&(r.customId=this["custom-id"]),r}_shouldShowCorrectHint(){return"sort"===this.type?!this._orderList.length:!this._answers.some(e=>!!e.isCorrect)}async _finalizeSave(){try{const e=await this.toJSON();this._emit("save",e)}catch(e){c(e.message)}}async toJSON(){return Promise.resolve(this._serialize())}validate(){return this._validateSnapshot(this._collectSnapshot()).errors}setResultItem(e,t){e<0||e>=this._answers.length||(this._answers=this._answers.map((s,i)=>i===e?{...s,resultItem:t||""}:s),this.requestUpdate())}setAnswerRelation(e,t){e&&(this._answers=this._answers.map(s=>String(s.customAnswerId??s.answerId??"")===String(e)?{...s,answerRelations:t}:s),this.requestUpdate())}_renderCorrectHintDialog(){return this._correctHintDialogOpen?e`
2
+ <div class="modal-backdrop" @click=${()=>{this._correctHintDialogOpen=!1}}>
3
+ <div class="modal correct-hint-dialog" @click=${e=>e.stopPropagation()}>
4
+ <div class="modal-header">
5
+ <span class="modal-title">温馨提示</span>
6
+ </div>
7
+ <div class="modal-body">
8
+ <div class="correct-hint-copy">
9
+ 为了收集更全面、有价值的数据,建议您为问卷每题设定<span class="correct-hint-highlight">推荐/正确选项</span>。这将助力深入分析,让调研结果更精准、有意义。
10
+ </div>
11
+ </div>
12
+ <div class="modal-footer">
13
+ <button @click=${async()=>{this._hasShownCorrectHint=!0,this._correctHintDialogOpen=!1,await this._finalizeSave()}}>完成编辑</button>
14
+ <button class="primary" @click=${()=>{this._correctHintDialogOpen=!1}}>去设置</button>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ `:""}_renderChangeTypeDialog(){return this._changeTypeDialogOpen?e`
19
+ <div class="modal-backdrop" @click=${()=>{this._changeTypeDialogOpen=!1}}>
20
+ <div class="modal" @click=${e=>e.stopPropagation()}>
21
+ <div class="modal-header">
22
+ <span class="modal-title">提示</span>
23
+ <button class="modal-close" @click=${()=>{this._changeTypeDialogOpen=!1}}>&#x2715;</button>
24
+ </div>
25
+ <div class="modal-body">
26
+ <div class="value-text">此题为单选题,设置了多个推荐/正确选项,是否切换成多选题?</div>
27
+ </div>
28
+ <div class="modal-footer">
29
+ <button @click=${()=>{this._changeTypeDialogOpen=!1}}>取消</button>
30
+ <button class="primary" @click=${()=>{try{const e=this._serialize("multiple");this._changeTypeDialogOpen=!1,this._emit("save",e)}catch(e){c(e?.message||"保存失败")}}}>切换</button>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ `:""}_renderSearchDropdown(){return this["is-edit"]&&(this._searchOpen||this._searchLoading)?e`
35
+ <div class="search-dropdown">
36
+ ${this._searchLoading?e`<div class="search-empty">搜索中...</div>`:this._searchResults.length?this._searchResults.map(t=>e`
37
+ <div class="search-item" @click=${()=>this._selectSearchResult(t)}>${t.value||t.title}</div>
38
+ `):e`<div class="search-empty">暂无匹配题目</div>`}
39
+ </div>
40
+ `:""}_renderCategorySection(){return this["show-category"]?e`
41
+ <div class="flex-items-start section-row">
42
+ <div class="label"><span>分类:</span></div>
43
+ <div style="flex:1">
44
+ ${this["is-edit"]?e`
45
+ <select class="el-select" .value=${String(this._categoryId)}
46
+ @change=${e=>this._onCategoryChange(e.target.value)}>
47
+ <option value="">选择分类</option>
48
+ ${this["category-list"].map(t=>e`
49
+ <option value=${String(t.categoryId)} ?selected=${String(t.categoryId)===String(this._categoryId)}>${t.title}</option>
50
+ `)}
51
+ </select>
52
+ `:e`<span class="value-text">${u(this["category-list"],this._categoryId)}</span>`}
53
+ </div>
54
+ </div>
55
+ `:""}_renderAiSection(){return this["show-ai"]&&["single","multiple"].includes(this.type)?e`
56
+ <div class="flex-items-start section-row">
57
+ <div class="label"><span>AI推荐:</span></div>
58
+ <div style="flex:1">
59
+ <span class="value-text">${this["ai-answer"]||"暂无"}</span>
60
+ ${this["is-edit"]?e`<div style="margin-top:8px"><span class="el-link" @click=${()=>this._applyAiAnswer()}>一键勾选</span></div>`:""}
61
+ </div>
62
+ </div>
63
+ `:""}_renderResourceSection(){if(!this["show-resource"])return"";const t=this._imageResources(),s=this._videoResource();return e`
64
+ <div class="flex-items-start section-row">
65
+ <div class="label"><span>资源:</span></div>
66
+ <div style="flex:1">
67
+ <div class="resource-summary">
68
+ 图片 ${t.length} 张${s?",含视频资源":""}
69
+ </div>
70
+ <div class="resource-actions">
71
+ ${t.length?e`<span class="el-link" @click=${()=>this._openImageViewer(0)}>查看图片</span>`:""}
72
+ ${s?.url?e`<span class="el-link" @click=${()=>this._openVideoViewer()}>查看视频</span>`:""}
73
+ ${t.length||s?.url?"":e`<span class="muted-text">暂无资源</span>`}
74
+ </div>
75
+ ${t.length?e`
76
+ <div class="resource-thumbs">
77
+ ${t.slice(0,4).map((t,s)=>e`
78
+ <img class="resource-thumb" src=${t} alt="resource" @click=${()=>this._openImageViewer(s)} />
79
+ `)}
80
+ </div>
81
+ `:""}
82
+ </div>
83
+ </div>
84
+ `}_renderImageViewer(){if(!this._imageViewerOpen)return"";const t=this._imageResources(),s=t[this._imageViewerIndex];return s?e`
85
+ <div class="modal-backdrop" @click=${()=>this._closeImageViewer()}>
86
+ <div class="modal" @click=${e=>e.stopPropagation()}>
87
+ <div class="modal-header">
88
+ <span class="modal-title">图片预览</span>
89
+ <button class="modal-close" @click=${()=>this._closeImageViewer()}>&#x2715;</button>
90
+ </div>
91
+ <div class="modal-body">
92
+ <div class="media-stage"><img src=${s} alt="resource-preview" /></div>
93
+ </div>
94
+ <div class="modal-footer">
95
+ <div class="media-footer">
96
+ <span class="muted-text">${this._imageViewerIndex+1} / ${t.length}</span>
97
+ <div class="group">
98
+ ${t.length>1?e`<button @click=${()=>this._moveImage(-1)}>上一张</button>`:""}
99
+ ${t.length>1?e`<button @click=${()=>this._moveImage(1)}>下一张</button>`:""}
100
+ <button class="primary" @click=${()=>this._closeImageViewer()}>关闭</button>
101
+ </div>
102
+ </div>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ `:""}_renderVideoViewer(){const t=this._videoResource();return this._videoViewerOpen&&t?.url?e`
107
+ <div class="modal-backdrop" @click=${()=>this._closeVideoViewer()}>
108
+ <div class="modal" @click=${e=>e.stopPropagation()}>
109
+ <div class="modal-header">
110
+ <span class="modal-title">视频预览</span>
111
+ <button class="modal-close" @click=${()=>this._closeVideoViewer()}>&#x2715;</button>
112
+ </div>
113
+ <div class="modal-body">
114
+ <div class="media-stage">
115
+ <video src=${t.url} controls playsinline></video>
116
+ </div>
117
+ </div>
118
+ <div class="modal-footer">
119
+ <button class="primary" @click=${()=>this._closeVideoViewer()}>关闭</button>
120
+ </div>
121
+ </div>
122
+ </div>
123
+ `:""}async _save(e){e?.stopImmediatePropagation();const t=this.validate(),s=t.find(e=>"SINGLE_MULTI_CORRECT"===e.code),i=t.filter(e=>"SINGLE_MULTI_CORRECT"!==e.code);i.length?c(i[0].message):s?this._changeTypeDialogOpen=!0:this._hasShownCorrectHint||!this._shouldShowCorrectHint()?await this._finalizeSave():this._correctHintDialogOpen=!0}_renderPreview(){const t="single"===this.type?"(单选题)":`(${this._titlePlaceholder}${this._leastAnswerCountSuffix(this._normalizeLeastAnswerCount(this["least-answer-count"]))})`,s=this["answer-list"],i=w(this["subject-prefix"],this["order-index"],this.title||"");return e`
124
+ <div class="preview">
125
+ <div class="preview-header">
126
+ <div class="preview-title-row">
127
+ <span class="title">${i}</span>
128
+ <span class="preview-type">${t.replace(/[()]/g,"")}</span>
129
+ </div>
130
+ ${this["show-rich-text"]&&this["rich-text-content"]?e`<div class="rich-text" .innerHTML=${this["rich-text-content"]}></div>`:""}
131
+ </div>
132
+ <div class="preview-answer">
133
+ ${s.map((t,s)=>e`
134
+ <div class="radio">
135
+ <input type="${"sort"===this.type?"checkbox":"radio"}" .checked=${!!t.isCorrect} disabled />
136
+ <span class="order">${this._label(s)}.</span>
137
+ <div class="answer-main">
138
+ <span class="answer-text">${t.title}</span>
139
+ ${"sort"!==this.type&&t.isCorrect?e`<span class="correct">推荐 / 正确选项</span>`:""}
140
+ </div>
141
+ ${"sort"===this.type||1!==this["exam-answer-relation-type"]&&2!==this["exam-answer-relation-type"]?"":e`
142
+ <div class="answer-meta">
143
+ ${1===this["exam-answer-relation-type"]?e`<span class="result-info">${t.resultItem?"已设置结果项":"未设置结果项"}</span>`:""}
144
+ ${2===this["exam-answer-relation-type"]?e`<span class="result-info">${Array.isArray(t.answerRelations)&&t.answerRelations.length?`关联了${this._relationLength(t.answerRelations)}项`:"未设置关联"}</span>`:""}
145
+ </div>
146
+ `}
147
+ </div>
148
+ `)}
149
+ </div>
150
+ ${this["show-category"]&&this._categoryId?e`<div class="section-row"><span class="value-text">分类:${u(this["category-list"],this._categoryId)}</span></div>`:""}
151
+ ${this["show-resource"]?this._renderResourceSection():""}
152
+ </div>
153
+ `}_renderSorting(){const e=L(this["is-edit"]?this._title:this.title||"")||"未命名题目",t=m(this["subject-prefix"],this["order-index"],e);return b(t,$[this.type]||this.type)}_renderEdit(){return e`
154
+ <div class="edit-form">
155
+ <div class="edit-row">
156
+ <div class="label"><span>题目:</span></div>
157
+ <div class="row-body">
158
+ <div class="el-input search-wrap">
159
+ <textarea rows="2" .value=${this._title}
160
+ maxlength=${this.TITLE_MAX}
161
+ @input=${e=>this._onTitleInput(e)}
162
+ placeholder="【${this._titlePlaceholder}】请输入问题"></textarea>
163
+ <span class="char-counter">${this._title.length}/${this.TITLE_MAX}</span>
164
+ ${this._renderSearchDropdown()}
165
+ </div>
166
+ </div>
167
+ </div>
168
+
169
+ ${["multiple","sort"].includes(this.type)?e`
170
+ <div class="edit-row section-row">
171
+ <div class="label"><span>设置:</span></div>
172
+ <div class="row-body">
173
+ <select class="el-select" .value=${null===this._leastAnswerCount?"":String(this._leastAnswerCount)} ?disabled=${this.lockAnswerKey}
174
+ @change=${e=>{const t=e.target.value;this._leastAnswerCount=this._normalizeLeastAnswerCount(t)}}>
175
+ <option value="">至少选择几项</option>
176
+ ${Array.from({length:Math.max(0,this._answers.length-1)},(e,t)=>t+2).map(t=>e`
177
+ <option value=${t} ?selected=${this._leastAnswerCount===t}>至少选择${t}项</option>
178
+ `)}
179
+ </select>
180
+ </div>
181
+ </div>
182
+ `:""}
183
+
184
+ <div class="edit-row section-row edit-row--compact">
185
+ <div class="label"><span>${"sort"===this.type?"排序项:":"选项:"}</span></div>
186
+ <div class="row-body">
187
+ <div class="answer-list">
188
+ ${this._answers.map((t,s)=>e`
189
+ <div class="answer-item">
190
+ <span class="label">${this._label(s)}.</span>
191
+ <div class="input">
192
+ <input type="text" .value=${t.title}
193
+ maxlength=${this.ANSWER_MAX}
194
+ @input=${e=>this._onAnswerInput(e,s)}
195
+ placeholder="选项${this._label(s)}" />
196
+ <span class="char-counter">${t.title.length}/${this.ANSWER_MAX}</span>
197
+ </div>
198
+
199
+ ${"sort"===this.type&&null!==this._getSortOrder(s)?e`<span class="sort-badge">第${this._getSortOrder(s)}位</span>`:""}
200
+
201
+ ${["single","multiple"].includes(this.type)?e`
202
+ <label class="correct ${t.isCorrect?"is-correct":""}">
203
+ <input type="checkbox" .checked=${t.isCorrect} ?disabled=${this.lockAnswerKey}
204
+ @change=${e=>this._setCorrect(t,e.target.checked)} />
205
+ <span class="correct-text">推荐/正确选项</span>
206
+ </label>
207
+ `:""}
208
+
209
+ <span class="icon"
210
+ @click=${()=>this._addAnswer(s)}>
211
+ ${T}
212
+ </span>
213
+ <span class="icon ${this._answers.length<3?"disabled":""}"
214
+ @click=${()=>this._deleteAnswer(s)}>
215
+ ${S}
216
+ </span>
217
+
218
+ ${1===this["exam-answer-relation-type"]&&"sort"!==this.type?e`
219
+ <slot name=${this._resultSlotName(s)}>
220
+ <button class="el-link" @click=${()=>this._emitEditResultItem(t,s)}>
221
+ ${t.resultItem?"编辑结果":"添加结果"}
222
+ </button>
223
+ </slot>
224
+ `:""}
225
+
226
+ ${2===this["exam-answer-relation-type"]&&"sort"!==this.type?e`
227
+ <button class="el-link" @click=${()=>this._setRelation(t,s)}>
228
+ ${Array.isArray(t.answerRelations)&&t.answerRelations.length?`关联了${this._relationLength(t.answerRelations)}项`:"关联检查"}
229
+ </button>
230
+ `:""}
231
+
232
+ </div>
233
+ `)}
234
+ </div>
235
+ </div>
236
+ </div>
237
+
238
+ ${"sort"===this.type?e`
239
+ <div class="edit-row section-row">
240
+ <div class="label"><span>排序答案:</span></div>
241
+ <div class="row-body">
242
+ <div class="multi-select-wrapper">
243
+ <div class="multi-select ${this._sortDropdownOpen?"focused":""} ${this.lockAnswerKey?"disabled":""}"
244
+ @click=${()=>{this.lockAnswerKey||(this._sortDropdownOpen=!this._sortDropdownOpen,this.requestUpdate())}}>
245
+ ${this._orderList.length>0?this._orderList.map(t=>e`
246
+ <span class="tag">
247
+ ${t}
248
+ <span class="tag-close" @click=${e=>{this.lockAnswerKey||(e.stopPropagation(),this._removeSortItem(t))}}>&#x2715;</span>
249
+ </span>
250
+ `):e`<span class="placeholder">请按顺序选择排序答案</span>`}
251
+ <span class="arrow">${E}</span>
252
+ </div>
253
+ ${this._sortDropdownOpen?e`
254
+ <div class="multi-select-dropdown">
255
+ ${this._answers.map((t,s)=>e`
256
+ <div class="multi-select-option ${this._orderList.includes(this._label(s))?"selected":""}"
257
+ @click=${()=>{this.lockAnswerKey||(this._toggleSortItem(this._label(s)),this.requestUpdate())}}>
258
+ ${this._label(s)}
259
+ </div>
260
+ `)}
261
+ </div>
262
+ `:""}
263
+ </div>
264
+ </div>
265
+ </div>
266
+ `:""}
267
+
268
+ <slot name="business-tag"></slot>
269
+
270
+ ${this._renderCategorySection()}
271
+
272
+ ${this._renderAiSection()}
273
+
274
+ ${this._renderResourceSection()}
275
+
276
+ ${this["show-rich-text"]&&this._showRichText?e`
277
+ <div class="edit-row section-row">
278
+ <div class="label"><span>副文本:</span></div>
279
+ <div class="row-body">
280
+ <slot name="sub-text">
281
+ <qxs-blocksuite-editor
282
+ .content=${this._richText}
283
+ .toolbar=${n}
284
+ .upload-image=${this["upload-image"]}
285
+ ?is-edit=${!0}
286
+ @input=${e=>{this._richText=e.target.getContent()}}
287
+ ></qxs-blocksuite-editor>
288
+ </slot>
289
+ ${this["show-action"]?"":e`<div class="flex-justify-end" style="margin-top:8px"><span class="el-link danger" @click=${()=>{this._showRichText=!1,this._richText=""}}>删除富文本</span></div>`}
290
+ </div>
291
+ </div>
292
+ `:""}
293
+
294
+ ${this["show-analysis"]?e`
295
+ <div class="edit-row section-row">
296
+ <div class="label"><span>解析:</span></div>
297
+ <div class="row-body">
298
+ <textarea rows="2" .value=${this._analysis}
299
+ @input=${e=>{this._analysis=e.target.value}}
300
+ placeholder="请输入题目解析"></textarea>
301
+ </div>
302
+ </div>
303
+ `:""}
304
+ </div>
305
+ `}render(){if(this.sorting)return this._renderSorting();const t=this["is-edit"]?e`<div slot="edit">${this._renderEdit()}</div>`:e`<div slot="preview">${this._renderPreview()}</div>`;return e`
306
+ <qxs-subject-layout .show-edit=${this["is-edit"]}>
307
+ ${t}
308
+ ${this["show-action"]?e`
309
+ <qxs-subject-action
310
+ .is-edit=${this["is-edit"]}
311
+ .is-set=${this["is-set"]}
312
+ .show-add=${this["show-add"]}
313
+ .show-rich-text=${this["show-rich-text"]&&this._showRichText}
314
+ .hide-add-rich-text=${!this["show-rich-text"]||this["hide-add-rich-text"]}
315
+ .show-delete-action=${this["show-delete-action"]}
316
+ .show-save-action=${this["show-save-action"]}
317
+ .show-jump=${this["show-jump"]}
318
+ @delete=${()=>this._emit("delete")}
319
+ @save=${this._save}
320
+ @edit=${()=>this._emit("edit")}
321
+ @move=${e=>this._emit("move",e.detail)}
322
+ @jump=${()=>this._emit("jump",{customId:this["custom-id"]||"",examId:this["exam-id"]||0,answerType:this.type})}
323
+ @add=${e=>this._emit("add",e.detail)}
324
+ @on-show-rich-text=${()=>{this._showRichText=!this._showRichText,this._showRichText||(this._richText="")}}
325
+ ></qxs-subject-action>
326
+ `:""}
327
+ <slot name="action"></slot>
328
+ </qxs-subject-layout>
329
+ ${this._renderCorrectHintDialog()}
330
+ ${this._renderChangeTypeDialog()}
331
+ ${this._renderImageViewer()}
332
+ ${this._renderVideoViewer()}
333
+ `}};O.styles=[f,g,x,y,_,v,t`
334
+ .preview-answer { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
335
+ .preview-answer .radio { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 10px; row-gap: 3px; align-items: center; }
336
+ .preview-answer .order { color: #6b7280; font-size: 13px; font-weight: 600; }
337
+ .preview-answer .answer-main { min-width: 0; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
338
+ .preview-answer .answer-text { min-width: 0; font-size: 14px; line-height: 1.7; font-weight: 500; color: #303133; }
339
+ .preview-answer .answer-meta { grid-column: 3; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; line-height: 1.6; color: #8b95a7; }
340
+ .preview-answer .correct { color: #3D61E3; font-weight: 600; }
341
+ .preview-answer .result-info { color: #8b95a7; }
342
+
343
+ .flex { display: flex; }
344
+ .flex-items-center { display: flex; align-items: center; }
345
+ .flex-items-start { display: flex; align-items: flex-start; }
346
+ .flex-justify-end { display: flex; justify-content: flex-end; }
347
+ .edit-actions {
348
+ display: flex;
349
+ justify-content: flex-end;
350
+ padding-left: 88px;
351
+ }
352
+ .edit-inline {
353
+ display: flex;
354
+ align-items: center;
355
+ flex-wrap: wrap;
356
+ gap: 8px 14px;
357
+ min-height: 32px;
358
+ }
359
+ .edit-note {
360
+ margin-top: 6px;
361
+ font-size: 12px;
362
+ line-height: 1.6;
363
+ color: #909399;
364
+ }
365
+
366
+ .answer-list { display: flex; flex-direction: column; gap: 10px; }
367
+ .answer-item {
368
+ display: flex;
369
+ align-items: center;
370
+ flex-wrap: wrap;
371
+ gap: 8px;
372
+ border-radius: 4px;
373
+ }
374
+ .answer-item .label {
375
+ min-width: 28px;
376
+ font-size: 13px;
377
+ font-weight: 600;
378
+ color: #6b7280;
379
+ letter-spacing: 0;
380
+ }
381
+ .answer-item .input { flex: 1; min-width: 240px; max-width: 380px; position: relative; display: block; }
382
+ .answer-item .input input {
383
+ height: 36px; padding: 0 56px 0 10px;
384
+ font-size: 13px; line-height: 32px;
385
+ border: 1px solid #dcdfe6; border-radius: 6px; width: 100%;
386
+ transition: border-color .2s; box-sizing: border-box;
387
+ }
388
+ .answer-item .input input:focus { border-color: #3D61E3; outline: none; }
389
+ .answer-item .input input:disabled { background: #f5f7fa; color: #c0c4cc; cursor: not-allowed; }
390
+ .answer-item .input .char-counter {
391
+ position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
392
+ font-size: 12px; color: #909399; line-height: 1; pointer-events: none;
393
+ }
394
+
395
+ .answer-item .correct {
396
+ color: #909399;
397
+ cursor: pointer;
398
+ display: inline-flex;
399
+ align-items: center;
400
+ gap: 6px;
401
+ min-height: 20px;
402
+ white-space: nowrap;
403
+ }
404
+ .answer-item .correct:hover { color: #3D61E3; }
405
+ .answer-item .correct.is-correct { color: #67c23a; }
406
+ .answer-item .correct input {
407
+ width: 14px;
408
+ height: 14px;
409
+ margin: 0;
410
+ flex: 0 0 auto;
411
+ cursor: pointer;
412
+ accent-color: #3D61E3;
413
+ }
414
+ .answer-item .correct .correct-text {
415
+ display: inline-flex;
416
+ align-items: center;
417
+ line-height: 1.2;
418
+ }
419
+
420
+ .answer-item .icon {
421
+ margin-left: 6px; cursor: pointer; display: inline-flex;
422
+ align-items: center; justify-content: center;
423
+ width: 24px; height: 24px; border-radius: 4px;
424
+ border: 1px solid #dcdfe6; background: #fff; color: #909399;
425
+ transition: all 0.2s;
426
+ }
427
+ .answer-item .icon:hover { color: #3D61E3; border-color: #3D61E3; background: #ecf5ff; }
428
+ .answer-item .icon.disabled { color: #e4e7ed; border-color: #e4e7ed; cursor: not-allowed; }
429
+
430
+ .answer-item .link {
431
+ color: #3D61E3;
432
+ cursor: pointer;
433
+ font-size: 12px;
434
+ white-space: nowrap;
435
+ }
436
+ .answer-item .link:hover { color: #2D4CB8; }
437
+
438
+ .el-select {
439
+ width: 150px; height: 34px; border: 1px solid #dcdfe6; border-radius: 6px;
440
+ padding: 0 8px; font-size: 13px; background: #fff; appearance: none;
441
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c0c4cc' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
442
+ background-repeat: no-repeat; background-position: right 8px center;
443
+ }
444
+ .el-select:focus { border-color: #3D61E3; outline: none; }
445
+ .el-select:disabled { background: #f5f7fa; color: #c0c4cc; cursor: not-allowed; }
446
+
447
+ .sort-badge { font-weight: bold; color: #3D61E3; margin-left: 10px; }
448
+
449
+ .el-link { color: #3D61E3; cursor: pointer; font-size: 12px; background: none; border: none; padding: 0; margin: 0; font-family: inherit; }
450
+ .el-link:hover { color: #2D4CB8; }
451
+ .el-link.danger { color: #f56c6c; }
452
+
453
+ .value-text { font-size: 13px; color: #606266; white-space: pre-wrap; }
454
+ .muted-text { font-size: 12px; color: #909399; }
455
+
456
+ .search-wrap { position: relative; }
457
+ .search-dropdown {
458
+ position: absolute; z-index: 120; left: 0; right: 0; top: calc(100% + 4px);
459
+ background: #fff; border: 1px solid #e4e7ed; border-radius: 6px;
460
+ box-shadow: 0 8px 20px rgba(0,0,0,.12); overflow: hidden;
461
+ }
462
+ .search-item {
463
+ padding: 10px 12px; cursor: pointer; transition: background .2s;
464
+ font-size: 13px; color: #606266; line-height: 1.4;
465
+ }
466
+ .search-item:hover { background: #f5f7fa; color: #3D61E3; }
467
+ .search-empty { padding: 10px 12px; font-size: 12px; color: #909399; }
468
+
469
+ .tag-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 32px; }
470
+ .tag-item {
471
+ display: inline-flex; align-items: center; gap: 4px;
472
+ padding: 4px 8px; font-size: 12px; line-height: 1;
473
+ color: #3D61E3; background: #ecf5ff; border: 1px solid #d9ecff; border-radius: 4px;
474
+ }
475
+ .tag-item .close { cursor: pointer; color: #909399; }
476
+ .tag-item .close:hover { color: #f56c6c; }
477
+ .tag-hint { font-size: 12px; color: #909399; }
478
+
479
+ .resource-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
480
+ .resource-summary { font-size: 12px; color: #606266; }
481
+ .resource-thumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
482
+ .resource-thumb {
483
+ width: 72px; height: 72px; object-fit: cover; border-radius: 6px;
484
+ border: 1px solid #e4e7ed; cursor: pointer; background: #f5f7fa;
485
+ }
486
+ .resource-video {
487
+ display: inline-flex; align-items: center; justify-content: center;
488
+ min-width: 88px; height: 30px; padding: 0 10px; border: 1px solid #dcdfe6; border-radius: 4px;
489
+ color: #606266; background: #fff; cursor: pointer; font-size: 12px; transition: all .2s;
490
+ }
491
+ .resource-video:hover { color: #3D61E3; border-color: #3D61E3; background: #ecf5ff; }
492
+ .media-stage { display: flex; align-items: center; justify-content: center; min-height: 240px; }
493
+ .media-stage img, .media-stage video { max-width: 100%; max-height: 60vh; border-radius: 6px; }
494
+ .media-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; }
495
+ .media-footer .group { display: flex; gap: 8px; }
496
+
497
+ /* Multi-select with tags (Element Plus style) */
498
+ .multi-select-wrapper { position: relative; }
499
+ .multi-select {
500
+ width: 240px; min-height: 36px; border: 1px solid #dcdfe6; border-radius: 6px;
501
+ padding: 0 30px 0 8px; font-size: 13px; background: #fff; cursor: pointer;
502
+ display: flex; flex-wrap: nowrap; align-items: center; gap: 4px;
503
+ transition: border-color .2s; position: relative; overflow: hidden;
504
+ }
505
+ .multi-select:hover { border-color: #c0c4cc; }
506
+ .multi-select.focused { border-color: #3D61E3; }
507
+ .multi-select.disabled { background: #f5f7fa; cursor: not-allowed; }
508
+ .multi-select .placeholder { color: #c0c4cc; font-size: 13px; padding: 4px 0; }
509
+ .multi-select .arrow {
510
+ position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
511
+ color: #c0c4cc; display: inline-flex; transition: transform .2s;
512
+ }
513
+ .multi-select.focused .arrow { transform: translateY(-50%) rotate(180deg); color: #3D61E3; }
514
+ .multi-select .tag {
515
+ display: inline-flex; align-items: center; gap: 2px;
516
+ background: #f0f2f5; border-radius: 3px; padding: 0 6px; height: 20px;
517
+ font-size: 12px; color: #606266; line-height: 20px;
518
+ }
519
+ .multi-select .tag .tag-close {
520
+ display: inline-flex; cursor: pointer; color: #909399; margin-left: 2px; line-height: 1;
521
+ }
522
+ .multi-select .tag .tag-close:hover { color: #3D61E3; }
523
+ .multi-select-dropdown {
524
+ position: absolute; z-index: 100; background: #fff; left: 0; top: 100%; margin-top: 4px;
525
+ border: 1px solid #e4e7ed; border-radius: 3px;
526
+ box-shadow: 0 4px 12px rgba(0,0,0,.12); min-width: 240px; max-height: 140px; overflow-y: auto;
527
+ }
528
+ .multi-select-option {
529
+ padding: 4px 12px; font-size: 13px; color: #606266; cursor: pointer;
530
+ transition: background .2s;
531
+ }
532
+ .multi-select-option:hover { background: #f5f7fa; }
533
+ .multi-select-option.selected { color: #3D61E3; font-weight: 500; }
534
+
535
+ @media (max-width: 720px) {
536
+ .edit-row,
537
+ .section-row {
538
+ flex-direction: column;
539
+ gap: 8px;
540
+ }
541
+
542
+ .edit-row > .label,
543
+ .section-row > .label {
544
+ min-width: 0;
545
+ padding-top: 0;
546
+ }
547
+
548
+ .edit-actions {
549
+ padding-left: 0;
550
+ justify-content: flex-start;
551
+ }
552
+
553
+ .answer-item .input {
554
+ min-width: 0;
555
+ max-width: none;
556
+ width: 100%;
557
+ }
558
+ }
559
+
560
+ .modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9000; display: flex; align-items: center; justify-content: center; }
561
+ .modal { background: #fff; border-radius: 6px; width: 520px; max-width: 90vw; box-shadow: 0 12px 32px rgba(0,0,0,.12); display: flex; flex-direction: column; }
562
+ .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 12px; border-bottom: 1px solid #e4e7ed; }
563
+ .modal-title { font-size: 14px; font-weight: 600; color: #303133; }
564
+ .modal-close { background: none; border: none; font-size: 18px; cursor: pointer; color: #909399; padding: 0; line-height: 1; }
565
+ .modal-close:hover { color: #3D61E3; }
566
+ .modal-body { padding: 20px; }
567
+ .modal-body textarea { min-height: 120px; }
568
+ .modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid #e4e7ed; }
569
+ .modal-footer button { padding: 6px 16px; font-size: 12px; border-radius: 3px; cursor: pointer; border: 1px solid #dcdfe6; background: #fff; color: #606266; }
570
+ .modal-footer button:hover { color: #3D61E3; border-color: #a0cfff; }
571
+ .modal-footer button.primary { background: #3D61E3; border-color: #3D61E3; color: #fff; }
572
+ .modal-footer button.primary:hover { background: #2D4CB8; border-color: #2D4CB8; }
573
+ .correct-hint-dialog { width: 520px; max-width: min(90vw, 520px); }
574
+ .correct-hint-dialog .modal-header { padding: 18px 20px 14px; }
575
+ .correct-hint-dialog .modal-title { font-size: 16px; font-weight: 700; color: #303133; }
576
+ .correct-hint-dialog .modal-close { display: none; }
577
+ .correct-hint-dialog .modal-body {
578
+ padding: 32px 28px 20px;
579
+ font-size: 14px;
580
+ line-height: 1.8;
581
+ color: #303133;
582
+ text-align: center;
583
+ }
584
+ .correct-hint-copy { max-width: 420px; margin: 0 auto; }
585
+ .correct-hint-highlight { color: #4c6fff; }
586
+ .correct-hint-dialog .modal-footer {
587
+ justify-content: center;
588
+ gap: 12px;
589
+ padding: 0 28px 28px;
590
+ border-top: none;
591
+ }
592
+ .correct-hint-dialog .modal-footer button {
593
+ min-width: 120px;
594
+ height: 36px;
595
+ padding: 0 18px;
596
+ font-size: 14px;
597
+ border-radius: 4px;
598
+ }
599
+ `],C([i({type:Number,attribute:"order-index"})],O.prototype,"order-index",2),C([i({type:String,attribute:"subject-prefix"})],O.prototype,"subject-prefix",2),C([i({type:Boolean,attribute:"is-edit"})],O.prototype,"is-edit",2),C([i({type:Boolean,attribute:"is-save"})],O.prototype,"is-save",2),C([i({type:Boolean,attribute:"is-set"})],O.prototype,"is-set",2),C([i({type:Boolean,attribute:"is-set-correct-answer"})],O.prototype,"is-set-correct-answer",2),C([i({type:Boolean,attribute:"lock-answer-key"})],O.prototype,"lockAnswerKey",2),C([i({type:Boolean,attribute:"is-key"})],O.prototype,"is-key",2),C([i({type:Boolean,attribute:"show-action"})],O.prototype,"show-action",2),C([i({type:Boolean,attribute:"show-add"})],O.prototype,"show-add",2),C([i({type:Boolean,attribute:"hide-add-rich-text"})],O.prototype,"hide-add-rich-text",2),C([i({type:Boolean,attribute:"show-rich-text"})],O.prototype,"show-rich-text",2),C([i({type:Boolean,attribute:"show-delete-action"})],O.prototype,"show-delete-action",2),C([i({type:Boolean,attribute:"show-save-action"})],O.prototype,"show-save-action",2),C([i({type:Boolean,reflect:!0})],O.prototype,"sorting",2),C([i({type:Boolean,attribute:"show-answer-setting"})],O.prototype,"show-answer-setting",2),C([i({type:Boolean,attribute:"show-key"})],O.prototype,"show-key",2),C([i({type:Boolean,attribute:"show-analysis"})],O.prototype,"show-analysis",2),C([i({attribute:"question-type",reflect:!0})],O.prototype,"type",2),C([i({type:Number,attribute:"answer-check-type"})],O.prototype,"answer-check-type",2),C([i({type:Number,attribute:"exam-answer-relation-type"})],O.prototype,"exam-answer-relation-type",2),C([i({type:String,attribute:"rich-text-content"})],O.prototype,"rich-text-content",2),C([i({type:String})],O.prototype,"analysis",2),C([i({type:Number,attribute:"least-answer-count"})],O.prototype,"least-answer-count",2),C([i({type:String,attribute:"exam-expand"})],O.prototype,"exam-expand",2),C([i({type:String,attribute:"custom-id"})],O.prototype,"custom-id",2),C([i({type:Number,attribute:"exam-id"})],O.prototype,"exam-id",2),C([i({type:String,attribute:"category-id"})],O.prototype,"category-id",2),C([i({type:Object,attribute:"upload-image"})],O.prototype,"upload-image",2),C([i({type:Array,attribute:"answer-list"})],O.prototype,"answer-list",1),C([i({type:Array,attribute:"tag-list"})],O.prototype,"tag-list",2),C([i({type:Array,attribute:"category-list"})],O.prototype,"category-list",2),C([i({type:String,attribute:"ai-answer"})],O.prototype,"ai-answer",2),C([i({type:Array,attribute:"resource-list"})],O.prototype,"resource-list",2),C([i({type:Boolean,attribute:"show-tag"})],O.prototype,"show-tag",2),C([i({type:Boolean,attribute:"show-category"})],O.prototype,"show-category",2),C([i({type:Boolean,attribute:"show-ai"})],O.prototype,"show-ai",2),C([i({type:Boolean,attribute:"show-resource"})],O.prototype,"show-resource",2),C([i({type:Boolean,attribute:"show-jump"})],O.prototype,"show-jump",2),C([i({type:Boolean,attribute:"has-jump"})],O.prototype,"has-jump",2),C([i({type:String,attribute:"search-api"})],O.prototype,"search-api",2),C([i({type:Object,attribute:"search-handler"})],O.prototype,"search-handler",2),C([i({type:String,attribute:"model-value"})],O.prototype,"model-value",2),C([i({type:Boolean,attribute:"use-model"})],O.prototype,"use-model",2),C([r()],O.prototype,"_answers",2),C([i({type:String})],O.prototype,"title",2),C([r()],O.prototype,"_title",2),C([r()],O.prototype,"_analysis",2),C([r()],O.prototype,"_richText",2),C([r()],O.prototype,"_showRichText",2),C([r()],O.prototype,"_leastAnswerCount",2),C([r()],O.prototype,"_answerCheckType",2),C([r()],O.prototype,"_isKey",2),C([r()],O.prototype,"_orderList",2),C([r()],O.prototype,"_selectedTagList",2),C([r()],O.prototype,"_categoryId",2),C([r()],O.prototype,"_searchResults",2),C([r()],O.prototype,"_searchOpen",2),C([r()],O.prototype,"_searchLoading",2),C([r()],O.prototype,"_sortDropdownOpen",2),C([r()],O.prototype,"_imageViewerOpen",2),C([r()],O.prototype,"_imageViewerIndex",2),C([r()],O.prototype,"_videoViewerOpen",2),C([r()],O.prototype,"_correctHintDialogOpen",2),C([r()],O.prototype,"_hasShownCorrectHint",2),C([r()],O.prototype,"_changeTypeDialogOpen",2),O=C([o("qxs-subject-single")],O);export{O as QxsSubjectSingle,I as SubjectError,D as trimCommaSeparatedText,L as trimText};
600
+ //# sourceMappingURL=single.mjs.map