@qxs-bns/components 0.0.90 → 0.0.92

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 (908) hide show
  1. package/es/base/define.mjs +2 -0
  2. package/es/base/define.mjs.map +1 -0
  3. package/es/base/uid.mjs +2 -0
  4. package/es/base/uid.mjs.map +1 -0
  5. package/es/data-chart.mjs +143 -0
  6. package/es/data-chart.mjs.map +1 -0
  7. package/es/editor/blocksuite-editor.mjs +1126 -0
  8. package/es/editor/blocksuite-editor.mjs.map +1 -0
  9. package/es/editor/content-format.mjs +9 -0
  10. package/es/editor/content-format.mjs.map +1 -0
  11. package/es/editor/index.mjs +2 -0
  12. package/es/editor/index.mjs.map +1 -0
  13. package/es/editor/toolbar.mjs +2 -0
  14. package/es/editor/toolbar.mjs.map +1 -0
  15. package/es/entry-data-chart.mjs +2 -0
  16. package/es/entry-data-chart.mjs.map +1 -0
  17. package/es/entry-editor.mjs +2 -0
  18. package/es/entry-editor.mjs.map +1 -0
  19. package/es/entry-file-upload.mjs +2 -0
  20. package/es/entry-file-upload.mjs.map +1 -0
  21. package/es/entry-fixed-action-bar.mjs +2 -0
  22. package/es/entry-fixed-action-bar.mjs.map +1 -0
  23. package/es/entry-icon.mjs +2 -0
  24. package/es/entry-icon.mjs.map +1 -0
  25. package/es/entry-image-upload.mjs +2 -0
  26. package/es/entry-image-upload.mjs.map +1 -0
  27. package/es/entry-photo-crop-tool.mjs +2 -0
  28. package/es/entry-photo-crop-tool.mjs.map +1 -0
  29. package/es/entry-subject.mjs +2 -0
  30. package/es/entry-subject.mjs.map +1 -0
  31. package/es/file-upload.mjs +164 -0
  32. package/es/file-upload.mjs.map +1 -0
  33. package/es/fixed-action-bar.mjs +39 -0
  34. package/es/fixed-action-bar.mjs.map +1 -0
  35. package/es/icon.mjs +20 -0
  36. package/es/icon.mjs.map +1 -0
  37. package/es/image-upload.mjs +333 -0
  38. package/es/image-upload.mjs.map +1 -0
  39. package/es/index.mjs +1 -1
  40. package/es/index.mjs.map +1 -1
  41. package/es/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs +60 -0
  42. package/es/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.mjs.map +1 -0
  43. package/es/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.mjs +17 -0
  44. 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
  45. package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.browser.es.mjs +62 -0
  46. package/es/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.browser.es.mjs.map +1 -0
  47. package/es/photo-crop-tool.mjs +147 -0
  48. package/es/photo-crop-tool.mjs.map +1 -0
  49. package/es/subject/action.mjs +171 -0
  50. package/es/subject/action.mjs.map +1 -0
  51. package/es/subject/blank-fill.mjs +385 -0
  52. package/es/subject/blank-fill.mjs.map +1 -0
  53. package/es/subject/draft.mjs +2 -0
  54. package/es/subject/draft.mjs.map +1 -0
  55. package/es/subject/layout.mjs +21 -0
  56. package/es/subject/layout.mjs.map +1 -0
  57. package/es/subject/page-end.mjs +28 -0
  58. package/es/subject/page-end.mjs.map +1 -0
  59. package/es/subject/pagination.mjs +2 -0
  60. package/es/subject/pagination.mjs.map +1 -0
  61. package/es/subject/runtime.mjs +2 -0
  62. package/es/subject/runtime.mjs.map +1 -0
  63. package/es/subject/scale.mjs +270 -0
  64. package/es/subject/scale.mjs.map +1 -0
  65. package/es/subject/shared-methods.mjs +2 -0
  66. package/es/subject/shared-methods.mjs.map +1 -0
  67. package/es/subject/shared-styles.mjs +113 -0
  68. package/es/subject/shared-styles.mjs.map +1 -0
  69. package/es/subject/single-interactions.mjs +2 -0
  70. package/es/subject/single-interactions.mjs.map +1 -0
  71. package/es/subject/single-model.mjs +2 -0
  72. package/es/subject/single-model.mjs.map +1 -0
  73. package/es/subject/single-state.mjs +2 -0
  74. package/es/subject/single-state.mjs.map +1 -0
  75. package/es/subject/single.mjs +600 -0
  76. package/es/subject/single.mjs.map +1 -0
  77. package/es/subject/sort-controller.mjs +2 -0
  78. package/es/subject/sort-controller.mjs.map +1 -0
  79. package/es/subject/sortable.mjs +30 -0
  80. package/es/subject/sortable.mjs.map +1 -0
  81. package/es/subject/sorting-card.mjs +52 -0
  82. package/es/subject/sorting-card.mjs.map +1 -0
  83. package/es/subject/subject-shared.mjs +2 -0
  84. package/es/subject/subject-shared.mjs.map +1 -0
  85. package/es/subject/text-fill.mjs +395 -0
  86. package/es/subject/text-fill.mjs.map +1 -0
  87. package/es/subject/title-prefix.mjs +2 -0
  88. package/es/subject/title-prefix.mjs.map +1 -0
  89. package/es/subject/types.mjs +2 -0
  90. package/es/subject/types.mjs.map +1 -0
  91. package/lib/base/define.cjs +2 -0
  92. package/lib/base/define.cjs.map +1 -0
  93. package/lib/base/uid.cjs +2 -0
  94. package/lib/base/uid.cjs.map +1 -0
  95. package/lib/data-chart.cjs +143 -0
  96. package/lib/data-chart.cjs.map +1 -0
  97. package/lib/editor/blocksuite-editor.cjs +1126 -0
  98. package/lib/editor/blocksuite-editor.cjs.map +1 -0
  99. package/lib/editor/content-format.cjs +9 -0
  100. package/lib/editor/content-format.cjs.map +1 -0
  101. package/lib/editor/index.cjs +2 -0
  102. package/lib/editor/index.cjs.map +1 -0
  103. package/lib/editor/toolbar.cjs +2 -0
  104. package/lib/editor/toolbar.cjs.map +1 -0
  105. package/lib/entry-data-chart.cjs +2 -0
  106. package/lib/entry-data-chart.cjs.map +1 -0
  107. package/lib/entry-editor.cjs +2 -0
  108. package/lib/entry-editor.cjs.map +1 -0
  109. package/lib/entry-file-upload.cjs +2 -0
  110. package/lib/entry-file-upload.cjs.map +1 -0
  111. package/lib/entry-fixed-action-bar.cjs +2 -0
  112. package/lib/entry-fixed-action-bar.cjs.map +1 -0
  113. package/lib/entry-icon.cjs +2 -0
  114. package/lib/entry-icon.cjs.map +1 -0
  115. package/lib/entry-image-upload.cjs +2 -0
  116. package/lib/entry-image-upload.cjs.map +1 -0
  117. package/lib/entry-photo-crop-tool.cjs +2 -0
  118. package/lib/entry-photo-crop-tool.cjs.map +1 -0
  119. package/lib/entry-subject.cjs +2 -0
  120. package/lib/entry-subject.cjs.map +1 -0
  121. package/lib/file-upload.cjs +164 -0
  122. package/lib/file-upload.cjs.map +1 -0
  123. package/lib/fixed-action-bar.cjs +39 -0
  124. package/lib/fixed-action-bar.cjs.map +1 -0
  125. package/lib/icon.cjs +20 -0
  126. package/lib/icon.cjs.map +1 -0
  127. package/lib/image-upload.cjs +333 -0
  128. package/lib/image-upload.cjs.map +1 -0
  129. package/lib/index.cjs +1 -1
  130. package/lib/index.cjs.map +1 -1
  131. package/lib/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs +60 -0
  132. package/lib/node_modules/.pnpm/marked@17.0.6/node_modules/marked/lib/marked.esm.cjs.map +1 -0
  133. package/lib/node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.cjs +17 -0
  134. 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
  135. package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.browser.es.cjs +62 -0
  136. package/lib/node_modules/.pnpm/turndown@7.2.4/node_modules/turndown/lib/turndown.browser.es.cjs.map +1 -0
  137. package/lib/photo-crop-tool.cjs +147 -0
  138. package/lib/photo-crop-tool.cjs.map +1 -0
  139. package/lib/subject/action.cjs +171 -0
  140. package/lib/subject/action.cjs.map +1 -0
  141. package/lib/subject/blank-fill.cjs +385 -0
  142. package/lib/subject/blank-fill.cjs.map +1 -0
  143. package/lib/subject/draft.cjs +2 -0
  144. package/lib/subject/draft.cjs.map +1 -0
  145. package/lib/subject/layout.cjs +21 -0
  146. package/lib/subject/layout.cjs.map +1 -0
  147. package/lib/subject/page-end.cjs +28 -0
  148. package/lib/subject/page-end.cjs.map +1 -0
  149. package/lib/subject/pagination.cjs +2 -0
  150. package/lib/subject/pagination.cjs.map +1 -0
  151. package/lib/subject/runtime.cjs +2 -0
  152. package/lib/subject/runtime.cjs.map +1 -0
  153. package/lib/subject/scale.cjs +270 -0
  154. package/lib/subject/scale.cjs.map +1 -0
  155. package/lib/subject/shared-methods.cjs +2 -0
  156. package/lib/subject/shared-methods.cjs.map +1 -0
  157. package/lib/subject/shared-styles.cjs +113 -0
  158. package/lib/subject/shared-styles.cjs.map +1 -0
  159. package/lib/subject/single-interactions.cjs +2 -0
  160. package/lib/subject/single-interactions.cjs.map +1 -0
  161. package/lib/subject/single-model.cjs +2 -0
  162. package/lib/subject/single-model.cjs.map +1 -0
  163. package/lib/subject/single-state.cjs +2 -0
  164. package/lib/subject/single-state.cjs.map +1 -0
  165. package/lib/subject/single.cjs +600 -0
  166. package/lib/subject/single.cjs.map +1 -0
  167. package/lib/subject/sort-controller.cjs +2 -0
  168. package/lib/subject/sort-controller.cjs.map +1 -0
  169. package/lib/subject/sortable.cjs +30 -0
  170. package/lib/subject/sortable.cjs.map +1 -0
  171. package/lib/subject/sorting-card.cjs +52 -0
  172. package/lib/subject/sorting-card.cjs.map +1 -0
  173. package/lib/subject/subject-shared.cjs +2 -0
  174. package/lib/subject/subject-shared.cjs.map +1 -0
  175. package/lib/subject/text-fill.cjs +395 -0
  176. package/lib/subject/text-fill.cjs.map +1 -0
  177. package/lib/subject/title-prefix.cjs +2 -0
  178. package/lib/subject/title-prefix.cjs.map +1 -0
  179. package/lib/subject/types.cjs +2 -0
  180. package/lib/subject/types.cjs.map +1 -0
  181. package/package.json +98 -36
  182. package/types/base/define.d.ts +1 -0
  183. package/types/base/uid.d.ts +1 -0
  184. package/types/data-chart.d.ts +65 -0
  185. package/types/editor/blocksuite-editor.d.ts +193 -0
  186. package/types/editor/content-format.d.ts +4 -0
  187. package/types/editor/index.d.ts +4 -0
  188. package/types/editor/toolbar.d.ts +6 -0
  189. package/types/editor/types.d.ts +42 -0
  190. package/types/entry-data-chart.d.ts +1 -0
  191. package/types/entry-editor.d.ts +2 -0
  192. package/types/entry-file-upload.d.ts +1 -0
  193. package/types/entry-fixed-action-bar.d.ts +1 -0
  194. package/types/entry-icon.d.ts +2 -0
  195. package/types/entry-image-upload.d.ts +1 -0
  196. package/types/entry-photo-crop-tool.d.ts +1 -0
  197. package/types/entry-subject.d.ts +2 -0
  198. package/types/file-upload.d.ts +50 -0
  199. package/types/fixed-action-bar.d.ts +25 -0
  200. package/types/icon.d.ts +30 -0
  201. package/types/image-upload.d.ts +68 -0
  202. package/types/index.d.ts +21 -6
  203. package/types/photo-crop-tool.d.ts +43 -0
  204. package/types/subject/action.d.ts +37 -0
  205. package/types/subject/blank-fill.d.ts +79 -0
  206. package/types/subject/draft.d.ts +63 -0
  207. package/types/subject/index.d.ts +13 -0
  208. package/types/subject/layout.d.ts +7 -0
  209. package/types/subject/page-end.d.ts +16 -0
  210. package/types/subject/pagination.d.ts +23 -0
  211. package/types/subject/runtime.d.ts +12 -0
  212. package/types/subject/scale.d.ts +55 -0
  213. package/types/subject/shared-methods.d.ts +8 -0
  214. package/types/subject/shared-styles.d.ts +5 -0
  215. package/types/subject/single-interactions.d.ts +46 -0
  216. package/types/subject/single-model.d.ts +88 -0
  217. package/types/subject/single-state.d.ts +42 -0
  218. package/types/subject/single.d.ts +210 -0
  219. package/types/subject/sort-controller.d.ts +3 -0
  220. package/types/subject/sortable.d.ts +19 -0
  221. package/types/subject/sorting-card.d.ts +2 -0
  222. package/types/subject/subject-shared.d.ts +43 -0
  223. package/types/subject/text-fill.d.ts +88 -0
  224. package/types/subject/title-prefix.d.ts +2 -0
  225. package/types/subject/types.d.ts +12 -0
  226. package/README.md +0 -566
  227. package/es/_virtual/_commonjsHelpers.mjs +0 -2
  228. package/es/_virtual/_commonjsHelpers.mjs.map +0 -1
  229. package/es/_virtual/_plugin-vue_export-helper.mjs +0 -2
  230. package/es/_virtual/_plugin-vue_export-helper.mjs.map +0 -1
  231. package/es/_virtual/sortable.esm.mjs +0 -2
  232. package/es/_virtual/sortable.esm.mjs.map +0 -1
  233. package/es/_virtual/vuedraggable.umd.mjs +0 -2
  234. package/es/_virtual/vuedraggable.umd.mjs.map +0 -1
  235. package/es/_virtual/vuedraggable.umd2.mjs +0 -2
  236. package/es/_virtual/vuedraggable.umd2.mjs.map +0 -1
  237. package/es/node_modules/.pnpm/@iconify_vue@5.0.0_vue@3.5.18_typescript@5.9.2_/node_modules/@iconify/vue/dist/iconify.mjs +0 -2
  238. package/es/node_modules/.pnpm/@iconify_vue@5.0.0_vue@3.5.18_typescript@5.9.2_/node_modules/@iconify/vue/dist/iconify.mjs.map +0 -1
  239. package/es/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.mjs +0 -8
  240. package/es/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.mjs.map +0 -1
  241. package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +0 -2
  242. package/es/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs.map +0 -1
  243. 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
  244. 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
  245. package/es/package.json.mjs +0 -2
  246. package/es/package.json.mjs.map +0 -1
  247. package/es/src/alert/index.mjs +0 -2
  248. package/es/src/alert/index.mjs.map +0 -1
  249. package/es/src/alert/src/alert.mjs +0 -2
  250. package/es/src/alert/src/alert.mjs.map +0 -1
  251. package/es/src/components.mjs +0 -2
  252. package/es/src/components.mjs.map +0 -1
  253. package/es/src/data-chart/index.mjs +0 -2
  254. package/es/src/data-chart/index.mjs.map +0 -1
  255. package/es/src/data-chart/src/analyze.mjs +0 -2
  256. package/es/src/data-chart/src/analyze.mjs.map +0 -1
  257. package/es/src/data-chart/src/components/area.vue.mjs +0 -2
  258. package/es/src/data-chart/src/components/area.vue.mjs.map +0 -1
  259. package/es/src/data-chart/src/components/area.vue2.mjs +0 -2
  260. package/es/src/data-chart/src/components/area.vue2.mjs.map +0 -1
  261. package/es/src/data-chart/src/components/area.vue3.mjs +0 -2
  262. package/es/src/data-chart/src/components/area.vue3.mjs.map +0 -1
  263. package/es/src/data-chart/src/components/bar.vue.mjs +0 -2
  264. package/es/src/data-chart/src/components/bar.vue.mjs.map +0 -1
  265. package/es/src/data-chart/src/components/bar.vue2.mjs +0 -2
  266. package/es/src/data-chart/src/components/bar.vue2.mjs.map +0 -1
  267. package/es/src/data-chart/src/components/bar.vue3.mjs +0 -2
  268. package/es/src/data-chart/src/components/bar.vue3.mjs.map +0 -1
  269. package/es/src/data-chart/src/components/card.vue.mjs +0 -2
  270. package/es/src/data-chart/src/components/card.vue.mjs.map +0 -1
  271. package/es/src/data-chart/src/components/card.vue2.mjs +0 -2
  272. package/es/src/data-chart/src/components/card.vue2.mjs.map +0 -1
  273. package/es/src/data-chart/src/components/card.vue3.mjs +0 -2
  274. package/es/src/data-chart/src/components/card.vue3.mjs.map +0 -1
  275. package/es/src/data-chart/src/components/data-chart-card-bg-left.svg.mjs +0 -2
  276. package/es/src/data-chart/src/components/data-chart-card-bg-left.svg.mjs.map +0 -1
  277. package/es/src/data-chart/src/components/data-chart-card-bg-right.svg.mjs +0 -2
  278. package/es/src/data-chart/src/components/data-chart-card-bg-right.svg.mjs.map +0 -1
  279. package/es/src/data-chart/src/components/empty.svg.mjs +0 -2
  280. package/es/src/data-chart/src/components/empty.svg.mjs.map +0 -1
  281. package/es/src/data-chart/src/components/empty.vue.mjs +0 -2
  282. package/es/src/data-chart/src/components/empty.vue.mjs.map +0 -1
  283. package/es/src/data-chart/src/components/empty.vue2.mjs +0 -2
  284. package/es/src/data-chart/src/components/empty.vue2.mjs.map +0 -1
  285. package/es/src/data-chart/src/components/funnel.vue.mjs +0 -2
  286. package/es/src/data-chart/src/components/funnel.vue.mjs.map +0 -1
  287. package/es/src/data-chart/src/components/funnel.vue2.mjs +0 -2
  288. package/es/src/data-chart/src/components/funnel.vue2.mjs.map +0 -1
  289. package/es/src/data-chart/src/components/funnel.vue3.mjs +0 -2
  290. package/es/src/data-chart/src/components/funnel.vue3.mjs.map +0 -1
  291. package/es/src/data-chart/src/components/line.vue.mjs +0 -2
  292. package/es/src/data-chart/src/components/line.vue.mjs.map +0 -1
  293. package/es/src/data-chart/src/components/line.vue2.mjs +0 -2
  294. package/es/src/data-chart/src/components/line.vue2.mjs.map +0 -1
  295. package/es/src/data-chart/src/components/line.vue3.mjs +0 -2
  296. package/es/src/data-chart/src/components/line.vue3.mjs.map +0 -1
  297. package/es/src/data-chart/src/components/pie.vue.mjs +0 -2
  298. package/es/src/data-chart/src/components/pie.vue.mjs.map +0 -1
  299. package/es/src/data-chart/src/components/pie.vue2.mjs +0 -2
  300. package/es/src/data-chart/src/components/pie.vue2.mjs.map +0 -1
  301. package/es/src/data-chart/src/components/pie.vue3.mjs +0 -2
  302. package/es/src/data-chart/src/components/pie.vue3.mjs.map +0 -1
  303. package/es/src/data-chart/src/components/radar.vue.mjs +0 -2
  304. package/es/src/data-chart/src/components/radar.vue.mjs.map +0 -1
  305. package/es/src/data-chart/src/components/radar.vue2.mjs +0 -2
  306. package/es/src/data-chart/src/components/radar.vue2.mjs.map +0 -1
  307. package/es/src/data-chart/src/components/radar.vue3.mjs +0 -2
  308. package/es/src/data-chart/src/components/radar.vue3.mjs.map +0 -1
  309. package/es/src/data-chart/src/components/scatter-simple.vue.mjs +0 -2
  310. package/es/src/data-chart/src/components/scatter-simple.vue.mjs.map +0 -1
  311. package/es/src/data-chart/src/components/scatter-simple.vue2.mjs +0 -2
  312. package/es/src/data-chart/src/components/scatter-simple.vue2.mjs.map +0 -1
  313. package/es/src/data-chart/src/components/scatter-simple.vue3.mjs +0 -2
  314. package/es/src/data-chart/src/components/scatter-simple.vue3.mjs.map +0 -1
  315. package/es/src/data-chart/src/components/scatter.vue.mjs +0 -2
  316. package/es/src/data-chart/src/components/scatter.vue.mjs.map +0 -1
  317. package/es/src/data-chart/src/components/scatter.vue2.mjs +0 -2
  318. package/es/src/data-chart/src/components/scatter.vue2.mjs.map +0 -1
  319. package/es/src/data-chart/src/components/scatter.vue3.mjs +0 -2
  320. package/es/src/data-chart/src/components/scatter.vue3.mjs.map +0 -1
  321. package/es/src/data-chart/src/components/table.vue.mjs +0 -2
  322. package/es/src/data-chart/src/components/table.vue.mjs.map +0 -1
  323. package/es/src/data-chart/src/components/table.vue2.mjs +0 -2
  324. package/es/src/data-chart/src/components/table.vue2.mjs.map +0 -1
  325. package/es/src/data-chart/src/data-chart.vue.mjs +0 -2
  326. package/es/src/data-chart/src/data-chart.vue.mjs.map +0 -1
  327. package/es/src/data-chart/src/data-chart.vue2.mjs +0 -2
  328. package/es/src/data-chart/src/data-chart.vue2.mjs.map +0 -1
  329. package/es/src/data-chart/src/utils/config.mjs +0 -2
  330. package/es/src/data-chart/src/utils/config.mjs.map +0 -1
  331. package/es/src/data-chart/src/utils/injectionKeys.mjs +0 -2
  332. package/es/src/data-chart/src/utils/injectionKeys.mjs.map +0 -1
  333. package/es/src/data-chart/src/utils/mapData.mjs +0 -2
  334. package/es/src/data-chart/src/utils/mapData.mjs.map +0 -1
  335. package/es/src/data-chart/src/utils/safe-eval.mjs +0 -2
  336. package/es/src/data-chart/src/utils/safe-eval.mjs.map +0 -1
  337. package/es/src/data-chart/src/utils/types.mjs +0 -2
  338. package/es/src/data-chart/src/utils/types.mjs.map +0 -1
  339. package/es/src/data-chart/src/utils/useCharts.mjs +0 -2
  340. package/es/src/data-chart/src/utils/useCharts.mjs.map +0 -1
  341. package/es/src/defaults.mjs +0 -2
  342. package/es/src/defaults.mjs.map +0 -1
  343. package/es/src/dialog/src/dialog.mjs +0 -2
  344. package/es/src/dialog/src/dialog.mjs.map +0 -1
  345. package/es/src/feedback-plugin/index.mjs +0 -2
  346. package/es/src/feedback-plugin/index.mjs.map +0 -1
  347. package/es/src/file-upload/index.mjs +0 -2
  348. package/es/src/file-upload/index.mjs.map +0 -1
  349. package/es/src/file-upload/src/file-upload.vue.mjs +0 -2
  350. package/es/src/file-upload/src/file-upload.vue.mjs.map +0 -1
  351. package/es/src/file-upload/src/file-upload.vue2.mjs +0 -2
  352. package/es/src/file-upload/src/file-upload.vue2.mjs.map +0 -1
  353. package/es/src/file-upload/src/file-upload.vue3.mjs +0 -2
  354. package/es/src/file-upload/src/file-upload.vue3.mjs.map +0 -1
  355. package/es/src/fixed-action-bar/index.mjs +0 -2
  356. package/es/src/fixed-action-bar/index.mjs.map +0 -1
  357. package/es/src/fixed-action-bar/src/fixed-action-bar.vue.mjs +0 -2
  358. package/es/src/fixed-action-bar/src/fixed-action-bar.vue.mjs.map +0 -1
  359. package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.mjs +0 -2
  360. package/es/src/fixed-action-bar/src/fixed-action-bar.vue2.mjs.map +0 -1
  361. package/es/src/icon/index.mjs +0 -2
  362. package/es/src/icon/index.mjs.map +0 -1
  363. package/es/src/icon/src/icon.mjs +0 -2
  364. package/es/src/icon/src/icon.mjs.map +0 -1
  365. package/es/src/image-upload/index.mjs +0 -2
  366. package/es/src/image-upload/index.mjs.map +0 -1
  367. package/es/src/image-upload/src/image-upload.vue.mjs +0 -2
  368. package/es/src/image-upload/src/image-upload.vue.mjs.map +0 -1
  369. package/es/src/image-upload/src/image-upload.vue2.mjs +0 -2
  370. package/es/src/image-upload/src/image-upload.vue2.mjs.map +0 -1
  371. package/es/src/image-upload/src/image-upload.vue3.mjs +0 -2
  372. package/es/src/image-upload/src/image-upload.vue3.mjs.map +0 -1
  373. package/es/src/make-installer.mjs +0 -2
  374. package/es/src/make-installer.mjs.map +0 -1
  375. package/es/src/message/src/message.mjs +0 -2
  376. package/es/src/message/src/message.mjs.map +0 -1
  377. package/es/src/photo-crop-tool/index.mjs +0 -2
  378. package/es/src/photo-crop-tool/index.mjs.map +0 -1
  379. package/es/src/photo-crop-tool/src/composables.mjs +0 -2
  380. package/es/src/photo-crop-tool/src/composables.mjs.map +0 -1
  381. package/es/src/photo-crop-tool/src/photo-crop-tool.vue.mjs +0 -2
  382. package/es/src/photo-crop-tool/src/photo-crop-tool.vue.mjs.map +0 -1
  383. package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.mjs +0 -2
  384. package/es/src/photo-crop-tool/src/photo-crop-tool.vue2.mjs.map +0 -1
  385. package/es/src/subject-action/index.mjs +0 -2
  386. package/es/src/subject-action/index.mjs.map +0 -1
  387. package/es/src/subject-action/src/subject-action.vue.mjs +0 -2
  388. package/es/src/subject-action/src/subject-action.vue.mjs.map +0 -1
  389. package/es/src/subject-action/src/subject-action.vue2.mjs +0 -2
  390. package/es/src/subject-action/src/subject-action.vue2.mjs.map +0 -1
  391. package/es/src/subject-layout/index.mjs +0 -2
  392. package/es/src/subject-layout/index.mjs.map +0 -1
  393. package/es/src/subject-layout/src/subject-layout.vue.mjs +0 -2
  394. package/es/src/subject-layout/src/subject-layout.vue.mjs.map +0 -1
  395. package/es/src/subject-layout/src/subject-layout.vue2.mjs +0 -2
  396. package/es/src/subject-layout/src/subject-layout.vue2.mjs.map +0 -1
  397. package/es/src/subject-list/index.mjs +0 -2
  398. package/es/src/subject-list/index.mjs.map +0 -1
  399. package/es/src/subject-list/src/components/SubjectPageEnd.vue.mjs +0 -2
  400. package/es/src/subject-list/src/components/SubjectPageEnd.vue.mjs.map +0 -1
  401. package/es/src/subject-list/src/components/SubjectPageEnd.vue2.mjs +0 -2
  402. package/es/src/subject-list/src/components/SubjectPageEnd.vue2.mjs.map +0 -1
  403. package/es/src/subject-list/src/components/SubjectRichText.vue.mjs +0 -2
  404. package/es/src/subject-list/src/components/SubjectRichText.vue.mjs.map +0 -1
  405. package/es/src/subject-list/src/components/SubjectRichText.vue2.mjs +0 -2
  406. package/es/src/subject-list/src/components/SubjectRichText.vue2.mjs.map +0 -1
  407. package/es/src/subject-list/src/components/subject-blank-fill.vue.mjs +0 -2
  408. package/es/src/subject-list/src/components/subject-blank-fill.vue.mjs.map +0 -1
  409. package/es/src/subject-list/src/components/subject-blank-fill.vue2.mjs +0 -2
  410. package/es/src/subject-list/src/components/subject-blank-fill.vue2.mjs.map +0 -1
  411. package/es/src/subject-list/src/components/subject-scale.vue.mjs +0 -2
  412. package/es/src/subject-list/src/components/subject-scale.vue.mjs.map +0 -1
  413. package/es/src/subject-list/src/components/subject-scale.vue2.mjs +0 -2
  414. package/es/src/subject-list/src/components/subject-scale.vue2.mjs.map +0 -1
  415. package/es/src/subject-list/src/components/subject-single.vue.mjs +0 -2
  416. package/es/src/subject-list/src/components/subject-single.vue.mjs.map +0 -1
  417. package/es/src/subject-list/src/components/subject-single.vue2.mjs +0 -2
  418. package/es/src/subject-list/src/components/subject-single.vue2.mjs.map +0 -1
  419. package/es/src/subject-list/src/components/subject-text-fill.vue.mjs +0 -2
  420. package/es/src/subject-list/src/components/subject-text-fill.vue.mjs.map +0 -1
  421. package/es/src/subject-list/src/components/subject-text-fill.vue2.mjs +0 -2
  422. package/es/src/subject-list/src/components/subject-text-fill.vue2.mjs.map +0 -1
  423. package/es/src/subject-list/src/subject-list.vue.mjs +0 -2
  424. package/es/src/subject-list/src/subject-list.vue.mjs.map +0 -1
  425. package/es/src/subject-list/src/subject-list.vue2.mjs +0 -2
  426. package/es/src/subject-list/src/subject-list.vue2.mjs.map +0 -1
  427. package/es/src/subject-type/index.mjs +0 -2
  428. package/es/src/subject-type/index.mjs.map +0 -1
  429. package/es/src/subject-type/src/subject-type.vue.mjs +0 -2
  430. package/es/src/subject-type/src/subject-type.vue.mjs.map +0 -1
  431. package/es/src/subject-type/src/subject-type.vue2.mjs +0 -2
  432. package/es/src/subject-type/src/subject-type.vue2.mjs.map +0 -1
  433. package/es/src/tiny-mce-editor/index.mjs +0 -2
  434. package/es/src/tiny-mce-editor/index.mjs.map +0 -1
  435. package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.mjs +0 -2
  436. package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue.mjs.map +0 -1
  437. package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue2.mjs +0 -2
  438. package/es/src/tiny-mce-editor/src/tiny-mce-editor.vue2.mjs.map +0 -1
  439. package/es/src/ui/button/index.mjs +0 -2
  440. package/es/src/ui/button/index.mjs.map +0 -1
  441. package/es/src/ui/checkbox/index.mjs +0 -2
  442. package/es/src/ui/checkbox/index.mjs.map +0 -1
  443. package/es/src/ui/dialog/index.mjs +0 -2
  444. package/es/src/ui/dialog/index.mjs.map +0 -1
  445. package/es/src/ui/input/index.mjs +0 -2
  446. package/es/src/ui/input/index.mjs.map +0 -1
  447. package/es/src/ui/input-number/index.mjs +0 -2
  448. package/es/src/ui/input-number/index.mjs.map +0 -1
  449. package/es/src/ui/layout/index.mjs +0 -2
  450. package/es/src/ui/layout/index.mjs.map +0 -1
  451. package/es/src/ui/link/index.mjs +0 -2
  452. package/es/src/ui/link/index.mjs.map +0 -1
  453. package/es/src/ui/popover/index.mjs +0 -2
  454. package/es/src/ui/popover/index.mjs.map +0 -1
  455. package/es/src/ui/radio/index.mjs +0 -2
  456. package/es/src/ui/radio/index.mjs.map +0 -1
  457. package/es/src/ui/scrollbar/index.mjs +0 -2
  458. package/es/src/ui/scrollbar/index.mjs.map +0 -1
  459. package/es/src/ui/select/index.mjs +0 -2
  460. package/es/src/ui/select/index.mjs.map +0 -1
  461. package/es/src/ui/table/index.mjs +0 -2
  462. package/es/src/ui/table/index.mjs.map +0 -1
  463. package/es/src/ui/tag/index.mjs +0 -2
  464. package/es/src/ui/tag/index.mjs.map +0 -1
  465. package/es/src/withInstall.mjs +0 -2
  466. package/es/src/withInstall.mjs.map +0 -1
  467. package/lib/_virtual/_commonjsHelpers.cjs +0 -2
  468. package/lib/_virtual/_commonjsHelpers.cjs.map +0 -1
  469. package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -2
  470. package/lib/_virtual/_plugin-vue_export-helper.cjs.map +0 -1
  471. package/lib/_virtual/sortable.esm.cjs +0 -2
  472. package/lib/_virtual/sortable.esm.cjs.map +0 -1
  473. package/lib/_virtual/vuedraggable.umd.cjs +0 -2
  474. package/lib/_virtual/vuedraggable.umd.cjs.map +0 -1
  475. package/lib/_virtual/vuedraggable.umd2.cjs +0 -2
  476. package/lib/_virtual/vuedraggable.umd2.cjs.map +0 -1
  477. package/lib/node_modules/.pnpm/@iconify_vue@5.0.0_vue@3.5.18_typescript@5.9.2_/node_modules/@iconify/vue/dist/iconify.cjs +0 -2
  478. package/lib/node_modules/.pnpm/@iconify_vue@5.0.0_vue@3.5.18_typescript@5.9.2_/node_modules/@iconify/vue/dist/iconify.cjs.map +0 -1
  479. package/lib/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.cjs +0 -9
  480. package/lib/node_modules/.pnpm/sortablejs@1.14.0/node_modules/sortablejs/modular/sortable.esm.cjs.map +0 -1
  481. package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.cjs +0 -2
  482. package/lib/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.cjs.map +0 -1
  483. 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
  484. 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
  485. package/lib/package.json.cjs +0 -2
  486. package/lib/package.json.cjs.map +0 -1
  487. package/lib/src/alert/index.cjs +0 -2
  488. package/lib/src/alert/index.cjs.map +0 -1
  489. package/lib/src/alert/src/alert.cjs +0 -2
  490. package/lib/src/alert/src/alert.cjs.map +0 -1
  491. package/lib/src/components.cjs +0 -2
  492. package/lib/src/components.cjs.map +0 -1
  493. package/lib/src/data-chart/index.cjs +0 -2
  494. package/lib/src/data-chart/index.cjs.map +0 -1
  495. package/lib/src/data-chart/src/analyze.cjs +0 -2
  496. package/lib/src/data-chart/src/analyze.cjs.map +0 -1
  497. package/lib/src/data-chart/src/components/area.vue.cjs +0 -2
  498. package/lib/src/data-chart/src/components/area.vue.cjs.map +0 -1
  499. package/lib/src/data-chart/src/components/area.vue2.cjs +0 -2
  500. package/lib/src/data-chart/src/components/area.vue2.cjs.map +0 -1
  501. package/lib/src/data-chart/src/components/area.vue3.cjs +0 -2
  502. package/lib/src/data-chart/src/components/area.vue3.cjs.map +0 -1
  503. package/lib/src/data-chart/src/components/bar.vue.cjs +0 -2
  504. package/lib/src/data-chart/src/components/bar.vue.cjs.map +0 -1
  505. package/lib/src/data-chart/src/components/bar.vue2.cjs +0 -2
  506. package/lib/src/data-chart/src/components/bar.vue2.cjs.map +0 -1
  507. package/lib/src/data-chart/src/components/bar.vue3.cjs +0 -2
  508. package/lib/src/data-chart/src/components/bar.vue3.cjs.map +0 -1
  509. package/lib/src/data-chart/src/components/card.vue.cjs +0 -2
  510. package/lib/src/data-chart/src/components/card.vue.cjs.map +0 -1
  511. package/lib/src/data-chart/src/components/card.vue2.cjs +0 -2
  512. package/lib/src/data-chart/src/components/card.vue2.cjs.map +0 -1
  513. package/lib/src/data-chart/src/components/card.vue3.cjs +0 -2
  514. package/lib/src/data-chart/src/components/card.vue3.cjs.map +0 -1
  515. package/lib/src/data-chart/src/components/data-chart-card-bg-left.svg.cjs +0 -2
  516. package/lib/src/data-chart/src/components/data-chart-card-bg-left.svg.cjs.map +0 -1
  517. package/lib/src/data-chart/src/components/data-chart-card-bg-right.svg.cjs +0 -2
  518. package/lib/src/data-chart/src/components/data-chart-card-bg-right.svg.cjs.map +0 -1
  519. package/lib/src/data-chart/src/components/empty.svg.cjs +0 -2
  520. package/lib/src/data-chart/src/components/empty.svg.cjs.map +0 -1
  521. package/lib/src/data-chart/src/components/empty.vue.cjs +0 -2
  522. package/lib/src/data-chart/src/components/empty.vue.cjs.map +0 -1
  523. package/lib/src/data-chart/src/components/empty.vue2.cjs +0 -2
  524. package/lib/src/data-chart/src/components/empty.vue2.cjs.map +0 -1
  525. package/lib/src/data-chart/src/components/funnel.vue.cjs +0 -2
  526. package/lib/src/data-chart/src/components/funnel.vue.cjs.map +0 -1
  527. package/lib/src/data-chart/src/components/funnel.vue2.cjs +0 -2
  528. package/lib/src/data-chart/src/components/funnel.vue2.cjs.map +0 -1
  529. package/lib/src/data-chart/src/components/funnel.vue3.cjs +0 -2
  530. package/lib/src/data-chart/src/components/funnel.vue3.cjs.map +0 -1
  531. package/lib/src/data-chart/src/components/line.vue.cjs +0 -2
  532. package/lib/src/data-chart/src/components/line.vue.cjs.map +0 -1
  533. package/lib/src/data-chart/src/components/line.vue2.cjs +0 -2
  534. package/lib/src/data-chart/src/components/line.vue2.cjs.map +0 -1
  535. package/lib/src/data-chart/src/components/line.vue3.cjs +0 -2
  536. package/lib/src/data-chart/src/components/line.vue3.cjs.map +0 -1
  537. package/lib/src/data-chart/src/components/pie.vue.cjs +0 -2
  538. package/lib/src/data-chart/src/components/pie.vue.cjs.map +0 -1
  539. package/lib/src/data-chart/src/components/pie.vue2.cjs +0 -2
  540. package/lib/src/data-chart/src/components/pie.vue2.cjs.map +0 -1
  541. package/lib/src/data-chart/src/components/pie.vue3.cjs +0 -2
  542. package/lib/src/data-chart/src/components/pie.vue3.cjs.map +0 -1
  543. package/lib/src/data-chart/src/components/radar.vue.cjs +0 -2
  544. package/lib/src/data-chart/src/components/radar.vue.cjs.map +0 -1
  545. package/lib/src/data-chart/src/components/radar.vue2.cjs +0 -2
  546. package/lib/src/data-chart/src/components/radar.vue2.cjs.map +0 -1
  547. package/lib/src/data-chart/src/components/radar.vue3.cjs +0 -2
  548. package/lib/src/data-chart/src/components/radar.vue3.cjs.map +0 -1
  549. package/lib/src/data-chart/src/components/scatter-simple.vue.cjs +0 -2
  550. package/lib/src/data-chart/src/components/scatter-simple.vue.cjs.map +0 -1
  551. package/lib/src/data-chart/src/components/scatter-simple.vue2.cjs +0 -2
  552. package/lib/src/data-chart/src/components/scatter-simple.vue2.cjs.map +0 -1
  553. package/lib/src/data-chart/src/components/scatter-simple.vue3.cjs +0 -2
  554. package/lib/src/data-chart/src/components/scatter-simple.vue3.cjs.map +0 -1
  555. package/lib/src/data-chart/src/components/scatter.vue.cjs +0 -2
  556. package/lib/src/data-chart/src/components/scatter.vue.cjs.map +0 -1
  557. package/lib/src/data-chart/src/components/scatter.vue2.cjs +0 -2
  558. package/lib/src/data-chart/src/components/scatter.vue2.cjs.map +0 -1
  559. package/lib/src/data-chart/src/components/scatter.vue3.cjs +0 -2
  560. package/lib/src/data-chart/src/components/scatter.vue3.cjs.map +0 -1
  561. package/lib/src/data-chart/src/components/table.vue.cjs +0 -2
  562. package/lib/src/data-chart/src/components/table.vue.cjs.map +0 -1
  563. package/lib/src/data-chart/src/components/table.vue2.cjs +0 -2
  564. package/lib/src/data-chart/src/components/table.vue2.cjs.map +0 -1
  565. package/lib/src/data-chart/src/data-chart.vue.cjs +0 -2
  566. package/lib/src/data-chart/src/data-chart.vue.cjs.map +0 -1
  567. package/lib/src/data-chart/src/data-chart.vue2.cjs +0 -2
  568. package/lib/src/data-chart/src/data-chart.vue2.cjs.map +0 -1
  569. package/lib/src/data-chart/src/utils/config.cjs +0 -2
  570. package/lib/src/data-chart/src/utils/config.cjs.map +0 -1
  571. package/lib/src/data-chart/src/utils/injectionKeys.cjs +0 -2
  572. package/lib/src/data-chart/src/utils/injectionKeys.cjs.map +0 -1
  573. package/lib/src/data-chart/src/utils/mapData.cjs +0 -2
  574. package/lib/src/data-chart/src/utils/mapData.cjs.map +0 -1
  575. package/lib/src/data-chart/src/utils/safe-eval.cjs +0 -2
  576. package/lib/src/data-chart/src/utils/safe-eval.cjs.map +0 -1
  577. package/lib/src/data-chart/src/utils/types.cjs +0 -2
  578. package/lib/src/data-chart/src/utils/types.cjs.map +0 -1
  579. package/lib/src/data-chart/src/utils/useCharts.cjs +0 -2
  580. package/lib/src/data-chart/src/utils/useCharts.cjs.map +0 -1
  581. package/lib/src/defaults.cjs +0 -2
  582. package/lib/src/defaults.cjs.map +0 -1
  583. package/lib/src/dialog/src/dialog.cjs +0 -2
  584. package/lib/src/dialog/src/dialog.cjs.map +0 -1
  585. package/lib/src/feedback-plugin/index.cjs +0 -2
  586. package/lib/src/feedback-plugin/index.cjs.map +0 -1
  587. package/lib/src/file-upload/index.cjs +0 -2
  588. package/lib/src/file-upload/index.cjs.map +0 -1
  589. package/lib/src/file-upload/src/file-upload.vue.cjs +0 -2
  590. package/lib/src/file-upload/src/file-upload.vue.cjs.map +0 -1
  591. package/lib/src/file-upload/src/file-upload.vue2.cjs +0 -2
  592. package/lib/src/file-upload/src/file-upload.vue2.cjs.map +0 -1
  593. package/lib/src/file-upload/src/file-upload.vue3.cjs +0 -2
  594. package/lib/src/file-upload/src/file-upload.vue3.cjs.map +0 -1
  595. package/lib/src/fixed-action-bar/index.cjs +0 -2
  596. package/lib/src/fixed-action-bar/index.cjs.map +0 -1
  597. package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.cjs +0 -2
  598. package/lib/src/fixed-action-bar/src/fixed-action-bar.vue.cjs.map +0 -1
  599. package/lib/src/fixed-action-bar/src/fixed-action-bar.vue2.cjs +0 -2
  600. package/lib/src/fixed-action-bar/src/fixed-action-bar.vue2.cjs.map +0 -1
  601. package/lib/src/icon/index.cjs +0 -2
  602. package/lib/src/icon/index.cjs.map +0 -1
  603. package/lib/src/icon/src/icon.cjs +0 -2
  604. package/lib/src/icon/src/icon.cjs.map +0 -1
  605. package/lib/src/image-upload/index.cjs +0 -2
  606. package/lib/src/image-upload/index.cjs.map +0 -1
  607. package/lib/src/image-upload/src/image-upload.vue.cjs +0 -2
  608. package/lib/src/image-upload/src/image-upload.vue.cjs.map +0 -1
  609. package/lib/src/image-upload/src/image-upload.vue2.cjs +0 -2
  610. package/lib/src/image-upload/src/image-upload.vue2.cjs.map +0 -1
  611. package/lib/src/image-upload/src/image-upload.vue3.cjs +0 -2
  612. package/lib/src/image-upload/src/image-upload.vue3.cjs.map +0 -1
  613. package/lib/src/make-installer.cjs +0 -2
  614. package/lib/src/make-installer.cjs.map +0 -1
  615. package/lib/src/message/src/message.cjs +0 -2
  616. package/lib/src/message/src/message.cjs.map +0 -1
  617. package/lib/src/photo-crop-tool/index.cjs +0 -2
  618. package/lib/src/photo-crop-tool/index.cjs.map +0 -1
  619. package/lib/src/photo-crop-tool/src/composables.cjs +0 -2
  620. package/lib/src/photo-crop-tool/src/composables.cjs.map +0 -1
  621. package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.cjs +0 -2
  622. package/lib/src/photo-crop-tool/src/photo-crop-tool.vue.cjs.map +0 -1
  623. package/lib/src/photo-crop-tool/src/photo-crop-tool.vue2.cjs +0 -2
  624. package/lib/src/photo-crop-tool/src/photo-crop-tool.vue2.cjs.map +0 -1
  625. package/lib/src/subject-action/index.cjs +0 -2
  626. package/lib/src/subject-action/index.cjs.map +0 -1
  627. package/lib/src/subject-action/src/subject-action.vue.cjs +0 -2
  628. package/lib/src/subject-action/src/subject-action.vue.cjs.map +0 -1
  629. package/lib/src/subject-action/src/subject-action.vue2.cjs +0 -2
  630. package/lib/src/subject-action/src/subject-action.vue2.cjs.map +0 -1
  631. package/lib/src/subject-layout/index.cjs +0 -2
  632. package/lib/src/subject-layout/index.cjs.map +0 -1
  633. package/lib/src/subject-layout/src/subject-layout.vue.cjs +0 -2
  634. package/lib/src/subject-layout/src/subject-layout.vue.cjs.map +0 -1
  635. package/lib/src/subject-layout/src/subject-layout.vue2.cjs +0 -2
  636. package/lib/src/subject-layout/src/subject-layout.vue2.cjs.map +0 -1
  637. package/lib/src/subject-list/index.cjs +0 -2
  638. package/lib/src/subject-list/index.cjs.map +0 -1
  639. package/lib/src/subject-list/src/components/SubjectPageEnd.vue.cjs +0 -2
  640. package/lib/src/subject-list/src/components/SubjectPageEnd.vue.cjs.map +0 -1
  641. package/lib/src/subject-list/src/components/SubjectPageEnd.vue2.cjs +0 -2
  642. package/lib/src/subject-list/src/components/SubjectPageEnd.vue2.cjs.map +0 -1
  643. package/lib/src/subject-list/src/components/SubjectRichText.vue.cjs +0 -2
  644. package/lib/src/subject-list/src/components/SubjectRichText.vue.cjs.map +0 -1
  645. package/lib/src/subject-list/src/components/SubjectRichText.vue2.cjs +0 -2
  646. package/lib/src/subject-list/src/components/SubjectRichText.vue2.cjs.map +0 -1
  647. package/lib/src/subject-list/src/components/subject-blank-fill.vue.cjs +0 -2
  648. package/lib/src/subject-list/src/components/subject-blank-fill.vue.cjs.map +0 -1
  649. package/lib/src/subject-list/src/components/subject-blank-fill.vue2.cjs +0 -2
  650. package/lib/src/subject-list/src/components/subject-blank-fill.vue2.cjs.map +0 -1
  651. package/lib/src/subject-list/src/components/subject-scale.vue.cjs +0 -2
  652. package/lib/src/subject-list/src/components/subject-scale.vue.cjs.map +0 -1
  653. package/lib/src/subject-list/src/components/subject-scale.vue2.cjs +0 -2
  654. package/lib/src/subject-list/src/components/subject-scale.vue2.cjs.map +0 -1
  655. package/lib/src/subject-list/src/components/subject-single.vue.cjs +0 -2
  656. package/lib/src/subject-list/src/components/subject-single.vue.cjs.map +0 -1
  657. package/lib/src/subject-list/src/components/subject-single.vue2.cjs +0 -2
  658. package/lib/src/subject-list/src/components/subject-single.vue2.cjs.map +0 -1
  659. package/lib/src/subject-list/src/components/subject-text-fill.vue.cjs +0 -2
  660. package/lib/src/subject-list/src/components/subject-text-fill.vue.cjs.map +0 -1
  661. package/lib/src/subject-list/src/components/subject-text-fill.vue2.cjs +0 -2
  662. package/lib/src/subject-list/src/components/subject-text-fill.vue2.cjs.map +0 -1
  663. package/lib/src/subject-list/src/subject-list.vue.cjs +0 -2
  664. package/lib/src/subject-list/src/subject-list.vue.cjs.map +0 -1
  665. package/lib/src/subject-list/src/subject-list.vue2.cjs +0 -2
  666. package/lib/src/subject-list/src/subject-list.vue2.cjs.map +0 -1
  667. package/lib/src/subject-type/index.cjs +0 -2
  668. package/lib/src/subject-type/index.cjs.map +0 -1
  669. package/lib/src/subject-type/src/subject-type.vue.cjs +0 -2
  670. package/lib/src/subject-type/src/subject-type.vue.cjs.map +0 -1
  671. package/lib/src/subject-type/src/subject-type.vue2.cjs +0 -2
  672. package/lib/src/subject-type/src/subject-type.vue2.cjs.map +0 -1
  673. package/lib/src/tiny-mce-editor/index.cjs +0 -2
  674. package/lib/src/tiny-mce-editor/index.cjs.map +0 -1
  675. package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.cjs +0 -2
  676. package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue.cjs.map +0 -1
  677. package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue2.cjs +0 -2
  678. package/lib/src/tiny-mce-editor/src/tiny-mce-editor.vue2.cjs.map +0 -1
  679. package/lib/src/ui/button/index.cjs +0 -2
  680. package/lib/src/ui/button/index.cjs.map +0 -1
  681. package/lib/src/ui/checkbox/index.cjs +0 -2
  682. package/lib/src/ui/checkbox/index.cjs.map +0 -1
  683. package/lib/src/ui/dialog/index.cjs +0 -2
  684. package/lib/src/ui/dialog/index.cjs.map +0 -1
  685. package/lib/src/ui/input/index.cjs +0 -2
  686. package/lib/src/ui/input/index.cjs.map +0 -1
  687. package/lib/src/ui/input-number/index.cjs +0 -2
  688. package/lib/src/ui/input-number/index.cjs.map +0 -1
  689. package/lib/src/ui/layout/index.cjs +0 -2
  690. package/lib/src/ui/layout/index.cjs.map +0 -1
  691. package/lib/src/ui/link/index.cjs +0 -2
  692. package/lib/src/ui/link/index.cjs.map +0 -1
  693. package/lib/src/ui/popover/index.cjs +0 -2
  694. package/lib/src/ui/popover/index.cjs.map +0 -1
  695. package/lib/src/ui/radio/index.cjs +0 -2
  696. package/lib/src/ui/radio/index.cjs.map +0 -1
  697. package/lib/src/ui/scrollbar/index.cjs +0 -2
  698. package/lib/src/ui/scrollbar/index.cjs.map +0 -1
  699. package/lib/src/ui/select/index.cjs +0 -2
  700. package/lib/src/ui/select/index.cjs.map +0 -1
  701. package/lib/src/ui/table/index.cjs +0 -2
  702. package/lib/src/ui/table/index.cjs.map +0 -1
  703. package/lib/src/ui/tag/index.cjs +0 -2
  704. package/lib/src/ui/tag/index.cjs.map +0 -1
  705. package/lib/src/withInstall.cjs +0 -2
  706. package/lib/src/withInstall.cjs.map +0 -1
  707. package/theme-chalk/index.css +0 -1
  708. package/theme-chalk/index.scss +0 -21
  709. package/theme-chalk/src/base.css +0 -1
  710. package/theme-chalk/src/base.scss +0 -16
  711. package/theme-chalk/src/common/qxs-components.css +0 -1
  712. package/theme-chalk/src/common/qxs-components.scss +0 -4
  713. package/theme-chalk/src/common/qxs-variables.css +0 -1
  714. package/theme-chalk/src/common/qxs-variables.scss +0 -81
  715. package/theme-chalk/src/data-chart/empty.css +0 -1
  716. package/theme-chalk/src/data-chart/empty.scss +0 -24
  717. package/theme-chalk/src/data-chart/index.css +0 -1
  718. package/theme-chalk/src/data-chart/index.scss +0 -11
  719. package/theme-chalk/src/data-chart/table.css +0 -1
  720. package/theme-chalk/src/data-chart/table.scss +0 -43
  721. package/theme-chalk/src/dialog.css +0 -1
  722. package/theme-chalk/src/dialog.scss +0 -122
  723. package/theme-chalk/src/file-upload.css +0 -0
  724. package/theme-chalk/src/file-upload.scss +0 -7
  725. package/theme-chalk/src/fixed-action-bar.css +0 -1
  726. package/theme-chalk/src/fixed-action-bar.scss +0 -18
  727. package/theme-chalk/src/icon.css +0 -1
  728. package/theme-chalk/src/icon.scss +0 -35
  729. package/theme-chalk/src/image-upload.css +0 -1
  730. package/theme-chalk/src/image-upload.scss +0 -149
  731. package/theme-chalk/src/mixins/_var.css +0 -0
  732. package/theme-chalk/src/mixins/_var.scss +0 -24
  733. package/theme-chalk/src/mixins/config.css +0 -0
  734. package/theme-chalk/src/mixins/config.scss +0 -12
  735. package/theme-chalk/src/mixins/function.css +0 -0
  736. package/theme-chalk/src/mixins/function.scss +0 -95
  737. package/theme-chalk/src/mixins/mixins.css +0 -0
  738. package/theme-chalk/src/mixins/mixins.scss +0 -102
  739. package/theme-chalk/src/normalize.css +0 -1
  740. package/theme-chalk/src/normalize.scss +0 -11
  741. package/theme-chalk/src/photo-crop-tool.css +0 -1
  742. package/theme-chalk/src/photo-crop-tool.scss +0 -98
  743. package/theme-chalk/src/subject-action.css +0 -1
  744. package/theme-chalk/src/subject-action.scss +0 -78
  745. package/theme-chalk/src/subject-layout.css +0 -1
  746. package/theme-chalk/src/subject-layout.scss +0 -28
  747. package/theme-chalk/src/subject-list.css +0 -1
  748. package/theme-chalk/src/subject-list.scss +0 -568
  749. package/theme-chalk/src/subject-template.css +0 -1
  750. package/theme-chalk/src/subject-template.scss +0 -5
  751. package/theme-chalk/src/subject-type.css +0 -1
  752. package/theme-chalk/src/subject-type.scss +0 -42
  753. package/theme-chalk/src/tiny-mce-editor.css +0 -1
  754. package/theme-chalk/src/tiny-mce-editor.scss +0 -29
  755. package/theme-chalk/src/ui/button.css +0 -1
  756. package/theme-chalk/src/ui/button.scss +0 -173
  757. package/theme-chalk/src/ui/input.css +0 -1
  758. package/theme-chalk/src/ui/input.scss +0 -128
  759. package/theme-chalk/src/ui/table.css +0 -1
  760. package/theme-chalk/src/ui/table.scss +0 -166
  761. package/types/index.d.ts.map +0 -1
  762. package/types/src/alert/index.d.ts +0 -66
  763. package/types/src/alert/index.d.ts.map +0 -1
  764. package/types/src/alert/src/alert.d.ts +0 -73
  765. package/types/src/alert/src/alert.d.ts.map +0 -1
  766. package/types/src/components.d.ts +0 -15
  767. package/types/src/components.d.ts.map +0 -1
  768. package/types/src/data-chart/index.d.ts +0 -29
  769. package/types/src/data-chart/index.d.ts.map +0 -1
  770. package/types/src/data-chart/src/analyze.d.ts +0 -23
  771. package/types/src/data-chart/src/analyze.d.ts.map +0 -1
  772. package/types/src/data-chart/src/components/area.vue.d.ts +0 -12
  773. package/types/src/data-chart/src/components/area.vue.d.ts.map +0 -1
  774. package/types/src/data-chart/src/components/bar.vue.d.ts +0 -12
  775. package/types/src/data-chart/src/components/bar.vue.d.ts.map +0 -1
  776. package/types/src/data-chart/src/components/card.vue.d.ts +0 -27
  777. package/types/src/data-chart/src/components/card.vue.d.ts.map +0 -1
  778. package/types/src/data-chart/src/components/empty.vue.d.ts +0 -11
  779. package/types/src/data-chart/src/components/empty.vue.d.ts.map +0 -1
  780. package/types/src/data-chart/src/components/funnel.vue.d.ts +0 -11
  781. package/types/src/data-chart/src/components/funnel.vue.d.ts.map +0 -1
  782. package/types/src/data-chart/src/components/line.vue.d.ts +0 -12
  783. package/types/src/data-chart/src/components/line.vue.d.ts.map +0 -1
  784. package/types/src/data-chart/src/components/pie.vue.d.ts +0 -12
  785. package/types/src/data-chart/src/components/pie.vue.d.ts.map +0 -1
  786. package/types/src/data-chart/src/components/radar.vue.d.ts +0 -11
  787. package/types/src/data-chart/src/components/radar.vue.d.ts.map +0 -1
  788. package/types/src/data-chart/src/components/scatter-simple.vue.d.ts +0 -11
  789. package/types/src/data-chart/src/components/scatter-simple.vue.d.ts.map +0 -1
  790. package/types/src/data-chart/src/components/scatter.vue.d.ts +0 -11
  791. package/types/src/data-chart/src/components/scatter.vue.d.ts.map +0 -1
  792. package/types/src/data-chart/src/components/table.vue.d.ts +0 -27
  793. package/types/src/data-chart/src/components/table.vue.d.ts.map +0 -1
  794. package/types/src/data-chart/src/data-chart.vue.d.ts +0 -28
  795. package/types/src/data-chart/src/data-chart.vue.d.ts.map +0 -1
  796. package/types/src/data-chart/src/utils/config.d.ts +0 -41
  797. package/types/src/data-chart/src/utils/config.d.ts.map +0 -1
  798. package/types/src/data-chart/src/utils/injectionKeys.d.ts +0 -3
  799. package/types/src/data-chart/src/utils/injectionKeys.d.ts.map +0 -1
  800. package/types/src/data-chart/src/utils/mapData.d.ts +0 -64
  801. package/types/src/data-chart/src/utils/mapData.d.ts.map +0 -1
  802. package/types/src/data-chart/src/utils/safe-eval.d.ts +0 -9
  803. package/types/src/data-chart/src/utils/safe-eval.d.ts.map +0 -1
  804. package/types/src/data-chart/src/utils/types.d.ts +0 -72
  805. package/types/src/data-chart/src/utils/types.d.ts.map +0 -1
  806. package/types/src/data-chart/src/utils/useCharts.d.ts +0 -16
  807. package/types/src/data-chart/src/utils/useCharts.d.ts.map +0 -1
  808. package/types/src/defaults.d.ts +0 -6
  809. package/types/src/defaults.d.ts.map +0 -1
  810. package/types/src/dialog/index.d.ts +0 -3
  811. package/types/src/dialog/index.d.ts.map +0 -1
  812. package/types/src/dialog/src/dialog.d.ts +0 -25
  813. package/types/src/dialog/src/dialog.d.ts.map +0 -1
  814. package/types/src/feedback-plugin/index.d.ts +0 -9
  815. package/types/src/feedback-plugin/index.d.ts.map +0 -1
  816. package/types/src/file-upload/index.d.ts +0 -19
  817. package/types/src/file-upload/index.d.ts.map +0 -1
  818. package/types/src/file-upload/src/file-upload.vue.d.ts +0 -34
  819. package/types/src/file-upload/src/file-upload.vue.d.ts.map +0 -1
  820. package/types/src/fixed-action-bar/index.d.ts +0 -56
  821. package/types/src/fixed-action-bar/index.d.ts.map +0 -1
  822. package/types/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts +0 -31
  823. package/types/src/fixed-action-bar/src/fixed-action-bar.vue.d.ts.map +0 -1
  824. package/types/src/icon/index.d.ts +0 -56
  825. package/types/src/icon/index.d.ts.map +0 -1
  826. package/types/src/icon/src/icon.d.ts +0 -62
  827. package/types/src/icon/src/icon.d.ts.map +0 -1
  828. package/types/src/image-upload/index.d.ts +0 -27
  829. package/types/src/image-upload/index.d.ts.map +0 -1
  830. package/types/src/image-upload/src/image-upload.vue.d.ts +0 -49
  831. package/types/src/image-upload/src/image-upload.vue.d.ts.map +0 -1
  832. package/types/src/make-installer.d.ts +0 -6
  833. package/types/src/make-installer.d.ts.map +0 -1
  834. package/types/src/message/index.d.ts +0 -3
  835. package/types/src/message/index.d.ts.map +0 -1
  836. package/types/src/message/src/message.d.ts +0 -21
  837. package/types/src/message/src/message.d.ts.map +0 -1
  838. package/types/src/message/src/toaster.vue.d.ts +0 -3
  839. package/types/src/message/src/toaster.vue.d.ts.map +0 -1
  840. package/types/src/photo-crop-tool/index.d.ts +0 -55
  841. package/types/src/photo-crop-tool/index.d.ts.map +0 -1
  842. package/types/src/photo-crop-tool/src/composables.d.ts +0 -7
  843. package/types/src/photo-crop-tool/src/composables.d.ts.map +0 -1
  844. package/types/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts +0 -65
  845. package/types/src/photo-crop-tool/src/photo-crop-tool.vue.d.ts.map +0 -1
  846. package/types/src/subject-action/index.d.ts +0 -93
  847. package/types/src/subject-action/index.d.ts.map +0 -1
  848. package/types/src/subject-action/src/subject-action.vue.d.ts +0 -92
  849. package/types/src/subject-action/src/subject-action.vue.d.ts.map +0 -1
  850. package/types/src/subject-layout/index.d.ts +0 -30
  851. package/types/src/subject-layout/index.d.ts.map +0 -1
  852. package/types/src/subject-layout/src/subject-layout.vue.d.ts +0 -20
  853. package/types/src/subject-layout/src/subject-layout.vue.d.ts.map +0 -1
  854. package/types/src/subject-list/index.d.ts +0 -20
  855. package/types/src/subject-list/index.d.ts.map +0 -1
  856. package/types/src/subject-list/src/components/SubjectPageEnd.vue.d.ts +0 -24
  857. package/types/src/subject-list/src/components/SubjectPageEnd.vue.d.ts.map +0 -1
  858. package/types/src/subject-list/src/components/SubjectRichText.vue.d.ts +0 -25
  859. package/types/src/subject-list/src/components/SubjectRichText.vue.d.ts.map +0 -1
  860. package/types/src/subject-list/src/components/subject-blank-fill.vue.d.ts +0 -32
  861. package/types/src/subject-list/src/components/subject-blank-fill.vue.d.ts.map +0 -1
  862. package/types/src/subject-list/src/components/subject-scale.vue.d.ts +0 -29
  863. package/types/src/subject-list/src/components/subject-scale.vue.d.ts.map +0 -1
  864. package/types/src/subject-list/src/components/subject-single.vue.d.ts +0 -37
  865. package/types/src/subject-list/src/components/subject-single.vue.d.ts.map +0 -1
  866. package/types/src/subject-list/src/components/subject-text-fill.vue.d.ts +0 -34
  867. package/types/src/subject-list/src/components/subject-text-fill.vue.d.ts.map +0 -1
  868. package/types/src/subject-list/src/subject-list.vue.d.ts +0 -21
  869. package/types/src/subject-list/src/subject-list.vue.d.ts.map +0 -1
  870. package/types/src/subject-type/index.d.ts +0 -8
  871. package/types/src/subject-type/index.d.ts.map +0 -1
  872. package/types/src/subject-type/src/subject-type.vue.d.ts +0 -7
  873. package/types/src/subject-type/src/subject-type.vue.d.ts.map +0 -1
  874. package/types/src/tiny-mce-editor/index.d.ts +0 -20
  875. package/types/src/tiny-mce-editor/index.d.ts.map +0 -1
  876. package/types/src/tiny-mce-editor/src/tiny-mce-editor.vue.d.ts +0 -32
  877. package/types/src/tiny-mce-editor/src/tiny-mce-editor.vue.d.ts.map +0 -1
  878. package/types/src/ui/button/index.d.ts +0 -96
  879. package/types/src/ui/button/index.d.ts.map +0 -1
  880. package/types/src/ui/checkbox/index.d.ts +0 -111
  881. package/types/src/ui/checkbox/index.d.ts.map +0 -1
  882. package/types/src/ui/dialog/index.d.ts +0 -134
  883. package/types/src/ui/dialog/index.d.ts.map +0 -1
  884. package/types/src/ui/index.d.ts +0 -16
  885. package/types/src/ui/index.d.ts.map +0 -1
  886. package/types/src/ui/input/index.d.ts +0 -132
  887. package/types/src/ui/input/index.d.ts.map +0 -1
  888. package/types/src/ui/input-number/index.d.ts +0 -106
  889. package/types/src/ui/input-number/index.d.ts.map +0 -1
  890. package/types/src/ui/layout/index.d.ts +0 -373
  891. package/types/src/ui/layout/index.d.ts.map +0 -1
  892. package/types/src/ui/link/index.d.ts +0 -57
  893. package/types/src/ui/link/index.d.ts.map +0 -1
  894. package/types/src/ui/popover/index.d.ts +0 -89
  895. package/types/src/ui/popover/index.d.ts.map +0 -1
  896. package/types/src/ui/radio/index.d.ts +0 -84
  897. package/types/src/ui/radio/index.d.ts.map +0 -1
  898. package/types/src/ui/scrollbar/index.d.ts +0 -35
  899. package/types/src/ui/scrollbar/index.d.ts.map +0 -1
  900. package/types/src/ui/select/index.d.ts +0 -113
  901. package/types/src/ui/select/index.d.ts.map +0 -1
  902. package/types/src/ui/table/index.d.ts +0 -152
  903. package/types/src/ui/table/index.d.ts.map +0 -1
  904. package/types/src/ui/tag/index.d.ts +0 -69
  905. package/types/src/ui/tag/index.d.ts.map +0 -1
  906. package/types/src/withInstall.d.ts +0 -4
  907. package/types/src/withInstall.d.ts.map +0 -1
  908. package/types/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,600 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("lit"),i=require("lit/decorators.js"),w=require("../base/define.cjs"),m=require("../base/uid.cjs"),b=require("../editor/toolbar.cjs"),l=require("./shared-methods.cjs"),d=require("./shared-styles.cjs"),n=require("./single-interactions.cjs"),c=require("./single-model.cjs"),h=require("./single-state.cjs"),y=require("./sorting-card.cjs"),u=require("./subject-shared.cjs"),v=require("./types.cjs");var f=Object.defineProperty,_=Object.getOwnPropertyDescriptor,s=(x,e,t,o)=>{for(var a=o>1?void 0:o?_(e,t):e,p=x.length-1,g;p>=0;p--)(g=x[p])&&(a=(o?g(e,t,a):g(a))||a);return o&&a&&f(e,t,a),a};const S=r.html`<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>`,j=r.html`<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>`,$=r.html`<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>`;exports.QxsSubjectSingle=class extends r.LitElement{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,o)=>{const a=new FileReader;a.onload=p=>t(p.target?.result),a.onerror=o,a.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(),o=this.shadowRoot?.querySelector(".multi-select-wrapper"),a=this.shadowRoot?.querySelector(".search-wrap");o&&!t.includes(o)&&(this._sortDropdownOpen=!1),a&&!t.includes(a)&&(this._searchOpen=!1),this.requestUpdate()}}get"answer-list"(){return this._answers}set"answer-list"(e){this["is-edit"]||(this._answers=c.normalizeSingleAnswerList(e),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(t=>({...t})):[]),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"])}_applyEditorState(e){this._title=e.title,this._analysis=e.analysis,this._leastAnswerCount=e.leastAnswerCount,this._answerCheckType=e.answerCheckType,this._isKey=e.isKey,this._selectedTagList=e.selectedTagList,this._categoryId=e.categoryId,this._richText=e.richText,this._showRichText=e.showRichText,e.answers&&(this._answers=e.answers),e.orderList&&(this._orderList=e.orderList)}_buildEditorState(e=!1){return c.buildSingleEditorState({answerType:this.type,title:this.title,analysis:this.analysis,leastAnswerCount:this["least-answer-count"],answerCheckType:this["answer-check-type"],isKey:this["is-key"],tagList:this["tag-list"],categoryId:this["category-id"],richTextContent:this["rich-text-content"],answerList:this["answer-list"],examExpand:this["exam-expand"],labelForIndex:t=>this._label(t),includeOrderList:e})}_syncExternalProps(){this._applyEditorState(this._buildEditorState())}_syncProps(){this._applyEditorState(this._buildEditorState(!0))}_syncExamExpand(){!this["exam-expand"]||!this["answer-list"]?.length||(this._orderList=c.resolveSingleOrderList({examExpand:this["exam-expand"],answers:this["answer-list"],labelForIndex:e=>this._label(e)}))}_emit(e,t){l.emitSubjectEvent(this,e,t)}_queueSearch(e){this._searchTimer&&(window.clearTimeout(this._searchTimer),this._searchTimer=null);const t=e.trim();if(!t||!n.hasSingleSearchSource(this["search-api"],this["search-handler"])){this._searchResults=[],this._searchOpen=!1,this._searchLoading=!1;return}this._searchTimer=window.setTimeout(()=>{this._runSearch(t)},300)}async _runSearch(e){const t=++this._searchToken;this._searchLoading=!0,this._searchOpen=!0,this.requestUpdate();try{const o=await n.searchSingleSubjects({answerType:this.type,query:e,searchApi:this["search-api"],searchHandler:this["search-handler"]});if(t!==this._searchToken)return;this._searchResults=o}catch(o){if(t!==this._searchToken)return;this._searchResults=[],l.showSubjectToast(o?.message||"题库搜索失败")}finally{t===this._searchToken&&(this._searchLoading=!1,this.requestUpdate())}}_selectSearchResult(e){const{selectedTitle:t,detail:o}=n.buildSingleSearchSelection(e,this["custom-id"]||"");this._title=t,this._searchResults=[],this._searchOpen=!1,this["use-model"]&&l.emitSubjectModelValue(this,this._title),this._emit("title-select",o)}_applyAiAnswer(){if(!this["ai-answer"]?.trim()){l.showSubjectToast("暂无 AI 推荐答案");return}const e=h.applySingleAiAnswer({answers:this._answers,aiAnswer:this["ai-answer"],answerType:this.type});if(!e.matchedCount){l.showSubjectToast("未找到匹配的选项,请检查选项内容是否一致");return}this._answers=e.answers}_onCategoryChange(e){this._categoryId=e,this._emit("category-change",{value:e,customId:this["custom-id"]||"",examId:this["exam-id"]||0})}_setRelation(e,t){const o=e.customAnswerId?{...e}:{...e,customAnswerId:e.answerId||m.uid()};this._answers=this._answers.map((a,p)=>p===t?o:a),this.requestUpdate(),this._emit("set-relation",{customId:this["custom-id"]||"",examId:this["exam-id"]||0,answerIndex:t,answer:o})}_relationLength(e=[]){return h.countSingleRelationAnswers(e)}_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 l.getSubjectImageResources(this["resource-list"]||[])}_videoResource(){return l.getSubjectVideoResource(this["resource-list"]||[])}_openImageViewer(e=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 this.type==="single"?"单选题":this.type==="multiple"?"多选题":"排序题"}_setCorrect(e,t){if(this.lockAnswerKey)return;const o=typeof e=="number"?e:this._answers.indexOf(e);o<0||(this._answers=h.setSingleCorrectState(this._answers,this.type,o,t))}_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"]&&l.emitSubjectModelValue(this,this._title)}_onAnswerInput(e,t){const o=e.target;o.value.length>this.ANSWER_MAX&&(o.value=o.value.slice(0,this.ANSWER_MAX)),this._answers=h.updateSingleAnswerTitle(this._answers,t,o.value,this.ANSWER_MAX)}_addAnswer(e){this._answers=h.insertSingleAnswerAfter(this._answers,e,()=>m.uid())}_deleteAnswer(e){this._answers=h.deleteSingleAnswerAt(this._answers,e)}_toggleSortItem(e){this._orderList=h.toggleSingleSortLetter(this._orderList,e)}_removeSortItem(e){this._orderList=h.removeSingleSortLetter(this._orderList,e)}_getSortOrder(e){return h.getSingleSortOrder(this._orderList,this._label(e))}_sortAnswerValue(e){return h.resolveSingleSortAnswerValue(e,this._answers)}_rowMeta(){return{customId:this["custom-id"]||void 0,answerType:this.type,orderIndex:this["order-index"]}}_dialogState(){return{correctHintDialogOpen:this._correctHintDialogOpen,changeTypeDialogOpen:this._changeTypeDialogOpen,hasShownCorrectHint:this._hasShownCorrectHint}}_applyDialogState(e){this._correctHintDialogOpen=e.correctHintDialogOpen,this._changeTypeDialogOpen=e.changeTypeDialogOpen,this._hasShownCorrectHint=e.hasShownCorrectHint}_collectSnapshot(){const e=this["is-edit"]?[...this._orderList]:c.resolveSingleOrderList({examExpand:this["exam-expand"],answers:this["answer-list"],labelForIndex:t=>this._label(t)});return c.buildSingleSnapshot({answerType:this.type,title:this["is-edit"]?this._title:this.title||"",answers:this["is-edit"]?this._answers:this["answer-list"]||[],analysis:this["is-edit"]?this._analysis:this.analysis||"",leastAnswerCount:this["is-edit"]?this._leastAnswerCount:this["least-answer-count"],selectedTagList:this._selectedTagList,examExpand:this["is-edit"]?"":this["exam-expand"]||"",showRichText:this["is-edit"]?this._showRichText:!!this["rich-text-content"],richText:this["is-edit"]?this._richText:this["rich-text-content"]||"",orderList:e,sortAnswerValue:this["is-edit"]?t=>this._sortAnswerValue(t):void 0})}_serialize(e=this.type){const t=this._collectSnapshot(),{errors:o,isSetCorrectAnswer:a}=c.validateSingleSnapshot(t,e,this._rowMeta());if(o.length)throw o[0];return c.serializeSingleSnapshot(t,{answerType:e,isSetCorrectAnswer:a,examAnswerRelationType:this["exam-answer-relation-type"],customId:this["custom-id"]})}_shouldShowCorrectHint(){return h.shouldShowSingleCorrectHint({answerType:this.type,answers:this._answers,orderList:this._orderList})}async _finalizeSave(){try{const e=await this.toJSON();this._emit("save",e)}catch(e){l.showSubjectToast(e.message)}}async toJSON(){return Promise.resolve(this._serialize())}validate(){return c.validateSingleSnapshot(this._collectSnapshot(),this.type,this._rowMeta()).errors}setResultItem(e,t){e<0||e>=this._answers.length||(this._answers=this._answers.map((o,a)=>a===e?{...o,resultItem:t||""}:o),this.requestUpdate())}setAnswerRelation(e,t){e&&(this._answers=this._answers.map(o=>String(o.customAnswerId??o.answerId??"")===String(e)?{...o,answerRelations:t}:o),this.requestUpdate())}_renderCorrectHintDialog(){return this._correctHintDialogOpen?r.html`
2
+ <div class="modal-backdrop" @click=${()=>{this._applyDialogState(n.dismissSingleCorrectHintDialog(this._dialogState()))}}>
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._applyDialogState(n.acknowledgeSingleCorrectHint(this._dialogState())),await this._finalizeSave()}}>完成编辑</button>
14
+ <button class="primary" @click=${()=>{this._applyDialogState(n.dismissSingleCorrectHintDialog(this._dialogState()))}}>去设置</button>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ `:""}_renderChangeTypeDialog(){return this._changeTypeDialogOpen?r.html`
19
+ <div class="modal-backdrop" @click=${()=>{this._applyDialogState(n.dismissSingleChangeTypeDialog(this._dialogState()))}}>
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._applyDialogState(n.dismissSingleChangeTypeDialog(this._dialogState()))}}>&#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._applyDialogState(n.dismissSingleChangeTypeDialog(this._dialogState()))}}>取消</button>
30
+ <button class="primary" @click=${()=>{try{const e=this._serialize("multiple");this._applyDialogState(n.dismissSingleChangeTypeDialog(this._dialogState())),this._emit("save",e)}catch(e){l.showSubjectToast(e?.message||"保存失败")}}}>切换</button>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ `:""}_renderSearchDropdown(){return!this["is-edit"]||!this._searchOpen&&!this._searchLoading?"":r.html`
35
+ <div class="search-dropdown">
36
+ ${this._searchLoading?r.html`<div class="search-empty">搜索中...</div>`:this._searchResults.length?this._searchResults.map(e=>r.html`
37
+ <div class="search-item" @click=${()=>this._selectSearchResult(e)}>${e.value||e.title}</div>
38
+ `):r.html`<div class="search-empty">暂无匹配题目</div>`}
39
+ </div>
40
+ `}_renderCategorySection(){return this["show-category"]?r.html`
41
+ <div class="flex-items-start section-row">
42
+ <div class="label"><span>分类:</span></div>
43
+ <div style="flex:1">
44
+ ${this["is-edit"]?r.html`
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(e=>r.html`
49
+ <option value=${String(e.categoryId)} ?selected=${String(e.categoryId)===String(this._categoryId)}>${e.title}</option>
50
+ `)}
51
+ </select>
52
+ `:r.html`<span class="value-text">${l.resolveSubjectCategoryLabel(this["category-list"],this._categoryId)}</span>`}
53
+ </div>
54
+ </div>
55
+ `:""}_renderAiSection(){return!this["show-ai"]||!["single","multiple"].includes(this.type)?"":r.html`
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"]?r.html`<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 e=this._imageResources(),t=this._videoResource();return r.html`
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
+ 图片 ${e.length} 张${t?",含视频资源":""}
69
+ </div>
70
+ <div class="resource-actions">
71
+ ${e.length?r.html`<span class="el-link" @click=${()=>this._openImageViewer(0)}>查看图片</span>`:""}
72
+ ${t?.url?r.html`<span class="el-link" @click=${()=>this._openVideoViewer()}>查看视频</span>`:""}
73
+ ${!e.length&&!t?.url?r.html`<span class="muted-text">暂无资源</span>`:""}
74
+ </div>
75
+ ${e.length?r.html`
76
+ <div class="resource-thumbs">
77
+ ${e.slice(0,4).map((o,a)=>r.html`
78
+ <img class="resource-thumb" src=${o} alt="resource" @click=${()=>this._openImageViewer(a)} />
79
+ `)}
80
+ </div>
81
+ `:""}
82
+ </div>
83
+ </div>
84
+ `}_renderImageViewer(){if(!this._imageViewerOpen)return"";const e=this._imageResources(),t=e[this._imageViewerIndex];return t?r.html`
85
+ <div class="modal-backdrop" @click=${()=>this._closeImageViewer()}>
86
+ <div class="modal" @click=${o=>o.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=${t} alt="resource-preview" /></div>
93
+ </div>
94
+ <div class="modal-footer">
95
+ <div class="media-footer">
96
+ <span class="muted-text">${this._imageViewerIndex+1} / ${e.length}</span>
97
+ <div class="group">
98
+ ${e.length>1?r.html`<button @click=${()=>this._moveImage(-1)}>上一张</button>`:""}
99
+ ${e.length>1?r.html`<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 e=this._videoResource();return!this._videoViewerOpen||!e?.url?"":r.html`
107
+ <div class="modal-backdrop" @click=${()=>this._closeVideoViewer()}>
108
+ <div class="modal" @click=${t=>t.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=${e.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=n.resolveSingleSaveDecision({errors:this.validate(),hasShownCorrectHint:this._hasShownCorrectHint,shouldShowCorrectHint:this._shouldShowCorrectHint()});if(t.kind==="error"){l.showSubjectToast(t.error.message);return}const o=n.applySingleSaveDecisionToDialogs(this._dialogState(),t);this._applyDialogState(o),t.kind==="save"&&await this._finalizeSave()}_renderPreview(){const e=this.type==="single"?"(单选题)":`(${this._titlePlaceholder}${c.leastAnswerCountSuffix(c.normalizeLeastAnswerCount(this["least-answer-count"],this.type),this.type)})`,t=this["answer-list"],o=l.buildSubjectPreviewTitle(this["subject-prefix"],this["order-index"],this.title||"");return r.html`
124
+ <div class="preview">
125
+ <div class="preview-header">
126
+ <div class="preview-title-row">
127
+ <span class="title">${o}</span>
128
+ <span class="preview-type">${e.replace(/[()]/g,"")}</span>
129
+ </div>
130
+ ${this["show-rich-text"]&&this["rich-text-content"]?r.html`<div class="rich-text" .innerHTML=${this["rich-text-content"]}></div>`:""}
131
+ </div>
132
+ <div class="preview-answer">
133
+ ${t.map((a,p)=>r.html`
134
+ <div class="radio">
135
+ <input type="${this.type==="sort"?"checkbox":"radio"}" .checked=${!!a.isCorrect} disabled />
136
+ <span class="order">${this._label(p)}.</span>
137
+ <div class="answer-main">
138
+ <span class="answer-text">${a.title}</span>
139
+ ${this.type!=="sort"&&a.isCorrect?r.html`<span class="correct">推荐 / 正确选项</span>`:""}
140
+ </div>
141
+ ${this.type!=="sort"&&(this["exam-answer-relation-type"]===1||this["exam-answer-relation-type"]===2)?r.html`
142
+ <div class="answer-meta">
143
+ ${this["exam-answer-relation-type"]===1?r.html`<span class="result-info">${a.resultItem?"已设置结果项":"未设置结果项"}</span>`:""}
144
+ ${this["exam-answer-relation-type"]===2?r.html`<span class="result-info">${Array.isArray(a.answerRelations)&&a.answerRelations.length?`关联了${this._relationLength(a.answerRelations)}项`:"未设置关联"}</span>`:""}
145
+ </div>
146
+ `:""}
147
+ </div>
148
+ `)}
149
+ </div>
150
+ ${this["show-category"]&&this._categoryId?r.html`<div class="section-row"><span class="value-text">分类:${l.resolveSubjectCategoryLabel(this["category-list"],this._categoryId)}</span></div>`:""}
151
+ ${this["show-resource"]?this._renderResourceSection():""}
152
+ </div>
153
+ `}_renderSorting(){const e=u.trimText(this["is-edit"]?this._title:this.title||"")||"未命名题目",t=l.buildSubjectSortingTitle(this["subject-prefix"],this["order-index"],e);return y.renderSortingCard(t,v.SubjectTypeLabel[this.type]||this.type)}_renderEdit(){return r.html`
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)?r.html`
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=${this._leastAnswerCount===null?"":String(this._leastAnswerCount)} ?disabled=${this.lockAnswerKey}
174
+ @change=${e=>{const t=e.target.value;this._leastAnswerCount=c.normalizeLeastAnswerCount(t,this.type)}}>
175
+ <option value="">至少选择几项</option>
176
+ ${Array.from({length:Math.max(0,this._answers.length-1)},(e,t)=>t+2).map(e=>r.html`
177
+ <option value=${e} ?selected=${this._leastAnswerCount===e}>至少选择${e}项</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>${this.type==="sort"?"排序项:":"选项:"}</span></div>
186
+ <div class="row-body">
187
+ <div class="answer-list">
188
+ ${this._answers.map((e,t)=>r.html`
189
+ <div class="answer-item">
190
+ <span class="label">${this._label(t)}.</span>
191
+ <div class="input">
192
+ <input type="text" .value=${e.title}
193
+ maxlength=${this.ANSWER_MAX}
194
+ @input=${o=>this._onAnswerInput(o,t)}
195
+ placeholder="选项${this._label(t)}" />
196
+ <span class="char-counter">${e.title.length}/${this.ANSWER_MAX}</span>
197
+ </div>
198
+
199
+ ${this.type==="sort"&&this._getSortOrder(t)!==null?r.html`<span class="sort-badge">第${this._getSortOrder(t)}位</span>`:""}
200
+
201
+ ${["single","multiple"].includes(this.type)?r.html`
202
+ <label class="correct ${e.isCorrect?"is-correct":""}">
203
+ <input type="checkbox" .checked=${e.isCorrect} ?disabled=${this.lockAnswerKey}
204
+ @change=${o=>this._setCorrect(t,o.target.checked)} />
205
+ <span class="correct-text">推荐/正确选项</span>
206
+ </label>
207
+ `:""}
208
+
209
+ <span class="icon"
210
+ @click=${()=>this._addAnswer(t)}>
211
+ ${S}
212
+ </span>
213
+ <span class="icon ${this._answers.length<3?"disabled":""}"
214
+ @click=${()=>this._deleteAnswer(t)}>
215
+ ${j}
216
+ </span>
217
+
218
+ ${this["exam-answer-relation-type"]===1&&this.type!=="sort"?r.html`
219
+ <slot name=${this._resultSlotName(t)}>
220
+ <button class="el-link" @click=${()=>this._emitEditResultItem(e,t)}>
221
+ ${e.resultItem?"编辑结果":"添加结果"}
222
+ </button>
223
+ </slot>
224
+ `:""}
225
+
226
+ ${this["exam-answer-relation-type"]===2&&this.type!=="sort"?r.html`
227
+ <button class="el-link" @click=${()=>this._setRelation(e,t)}>
228
+ ${Array.isArray(e.answerRelations)&&e.answerRelations.length?`关联了${this._relationLength(e.answerRelations)}项`:"关联检查"}
229
+ </button>
230
+ `:""}
231
+
232
+ </div>
233
+ `)}
234
+ </div>
235
+ </div>
236
+ </div>
237
+
238
+ ${this.type==="sort"?r.html`
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(e=>r.html`
246
+ <span class="tag">
247
+ ${e}
248
+ <span class="tag-close" @click=${t=>{this.lockAnswerKey||(t.stopPropagation(),this._removeSortItem(e))}}>&#x2715;</span>
249
+ </span>
250
+ `):r.html`<span class="placeholder">请按顺序选择排序答案</span>`}
251
+ <span class="arrow">${$}</span>
252
+ </div>
253
+ ${this._sortDropdownOpen?r.html`
254
+ <div class="multi-select-dropdown">
255
+ ${this._answers.map((e,t)=>r.html`
256
+ <div class="multi-select-option ${this._orderList.includes(this._label(t))?"selected":""}"
257
+ @click=${()=>{this.lockAnswerKey||(this._toggleSortItem(this._label(t)),this.requestUpdate())}}>
258
+ ${this._label(t)}
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?r.html`
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=${b.SUB_TEXT_EDITOR_TOOLBAR}
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"]?"":r.html`<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"]?r.html`
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 e=this["is-edit"]?r.html`<div slot="edit">${this._renderEdit()}</div>`:r.html`<div slot="preview">${this._renderPreview()}</div>`;return r.html`
306
+ <qxs-subject-layout .show-edit=${this["is-edit"]}>
307
+ ${e}
308
+ ${this["show-action"]?r.html`
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=${t=>this._emit("move",t.detail)}
322
+ @jump=${()=>this._emit("jump",{customId:this["custom-id"]||"",examId:this["exam-id"]||0,answerType:this.type})}
323
+ @add=${t=>this._emit("add",t.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
+ `}};exports.QxsSubjectSingle.styles=[y.sortingCardStyles,d.subjectHostStyles,d.subjectControlResetStyles,d.subjectPreviewBaseStyles,d.subjectFormBaseStyles,d.subjectTextareaStyles,r.css`
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: var(--qxs-subject-text-soft, #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: var(--qxs-subject-text-primary, #303133); }
339
+ .preview-answer .answer-meta { grid-column: 3; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; line-height: 1.6; color: var(--qxs-subject-text-muted, #8b95a7); }
340
+ .preview-answer .correct { color: var(--qxs-subject-color-primary, #3D61E3); font-weight: 600; }
341
+ .preview-answer .result-info { color: var(--qxs-subject-text-muted, #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: var(--qxs-subject-text-secondary, #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: var(--qxs-subject-text-soft, #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 var(--qxs-subject-border, #dcdfe6); border-radius: 6px; width: 100%;
386
+ transition: border-color .2s; box-sizing: border-box;
387
+ }
388
+ .answer-item .input input:focus { border-color: var(--qxs-subject-color-primary, #3D61E3); outline: none; }
389
+ .answer-item .input input:disabled { background: var(--qxs-subject-fill-light, #f5f7fa); color: var(--qxs-subject-text-disabled, #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: var(--qxs-subject-text-secondary, #909399); line-height: 1; pointer-events: none;
393
+ }
394
+
395
+ .answer-item .correct {
396
+ color: var(--qxs-subject-text-secondary, #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: var(--qxs-subject-color-primary, #3D61E3); }
405
+ .answer-item .correct.is-correct { color: var(--qxs-subject-color-success, #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: var(--qxs-subject-color-primary, #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 var(--qxs-subject-border, #dcdfe6); background: var(--qxs-subject-fill-blank, #fff); color: var(--qxs-subject-text-secondary, #909399);
425
+ transition: all 0.2s;
426
+ }
427
+ .answer-item .icon:hover { color: var(--qxs-subject-color-primary, #3D61E3); border-color: var(--qxs-subject-color-primary, #3D61E3); background: var(--qxs-subject-fill-soft-primary, #ecf5ff); }
428
+ .answer-item .icon.disabled { color: var(--qxs-subject-border-light, #e4e7ed); border-color: var(--qxs-subject-border-light, #e4e7ed); cursor: not-allowed; }
429
+
430
+ .answer-item .link {
431
+ color: var(--qxs-subject-color-primary, #3D61E3);
432
+ cursor: pointer;
433
+ font-size: 12px;
434
+ white-space: nowrap;
435
+ }
436
+ .answer-item .link:hover { color: var(--qxs-subject-color-primary-hover, #2D4CB8); }
437
+
438
+ .el-select {
439
+ width: 150px; height: 34px; border: 1px solid var(--qxs-subject-border, #dcdfe6); border-radius: 6px;
440
+ padding: 0 8px; font-size: 13px; background: var(--qxs-subject-fill-blank, #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: var(--qxs-subject-color-primary, #3D61E3); outline: none; }
445
+ .el-select:disabled { background: var(--qxs-subject-fill-light, #f5f7fa); color: var(--qxs-subject-text-disabled, #c0c4cc); cursor: not-allowed; }
446
+
447
+ .sort-badge { font-weight: bold; color: var(--qxs-subject-color-primary, #3D61E3); margin-left: 10px; }
448
+
449
+ .el-link { color: var(--qxs-subject-color-primary, #3D61E3); cursor: pointer; font-size: 12px; background: none; border: none; padding: 0; margin: 0; font-family: inherit; }
450
+ .el-link:hover { color: var(--qxs-subject-color-primary-hover, #2D4CB8); }
451
+ .el-link.danger { color: var(--qxs-subject-color-danger, #f56c6c); }
452
+
453
+ .value-text { font-size: 13px; color: var(--qxs-subject-text-regular, #606266); white-space: pre-wrap; }
454
+ .muted-text { font-size: 12px; color: var(--qxs-subject-text-secondary, #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: var(--qxs-subject-fill-blank, #fff); border: 1px solid var(--qxs-subject-border-light, #e4e7ed); border-radius: 6px;
460
+ box-shadow: var(--qxs-subject-shadow-soft, 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: var(--qxs-subject-text-regular, #606266); line-height: 1.4;
465
+ }
466
+ .search-item:hover { background: var(--qxs-subject-fill-light, #f5f7fa); color: var(--qxs-subject-color-primary, #3D61E3); }
467
+ .search-empty { padding: 10px 12px; font-size: 12px; color: var(--qxs-subject-text-secondary, #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: var(--qxs-subject-color-primary, #3D61E3); background: var(--qxs-subject-fill-soft-primary, #ecf5ff); border: 1px solid var(--qxs-subject-fill-soft-primary-border, #d9ecff); border-radius: 4px;
474
+ }
475
+ .tag-item .close { cursor: pointer; color: var(--qxs-subject-text-secondary, #909399); }
476
+ .tag-item .close:hover { color: var(--qxs-subject-color-danger, #f56c6c); }
477
+ .tag-hint { font-size: 12px; color: var(--qxs-subject-text-secondary, #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: var(--qxs-subject-text-regular, #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 var(--qxs-subject-border-light, #e4e7ed); cursor: pointer; background: var(--qxs-subject-fill-light, #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 var(--qxs-subject-border, #dcdfe6); border-radius: 4px;
489
+ color: var(--qxs-subject-text-regular, #606266); background: var(--qxs-subject-fill-blank, #fff); cursor: pointer; font-size: 12px; transition: all .2s;
490
+ }
491
+ .resource-video:hover { color: var(--qxs-subject-color-primary, #3D61E3); border-color: var(--qxs-subject-color-primary, #3D61E3); background: var(--qxs-subject-fill-soft-primary, #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 var(--qxs-subject-border, #dcdfe6); border-radius: 6px;
501
+ padding: 0 30px 0 8px; font-size: 13px; background: var(--qxs-subject-fill-blank, #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: var(--qxs-subject-text-disabled, #c0c4cc); }
506
+ .multi-select.focused { border-color: var(--qxs-subject-color-primary, #3D61E3); }
507
+ .multi-select.disabled { background: var(--qxs-subject-fill-light, #f5f7fa); cursor: not-allowed; }
508
+ .multi-select .placeholder { color: var(--qxs-subject-text-disabled, #c0c4cc); font-size: 13px; padding: 4px 0; }
509
+ .multi-select .arrow {
510
+ position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
511
+ color: var(--qxs-subject-text-disabled, #c0c4cc); display: inline-flex; transition: transform .2s;
512
+ }
513
+ .multi-select.focused .arrow { transform: translateY(-50%) rotate(180deg); color: var(--qxs-subject-color-primary, #3D61E3); }
514
+ .multi-select .tag {
515
+ display: inline-flex; align-items: center; gap: 2px;
516
+ background: var(--qxs-subject-fill-dark, #f0f2f5); border-radius: 3px; padding: 0 6px; height: 20px;
517
+ font-size: 12px; color: var(--qxs-subject-text-regular, #606266); line-height: 20px;
518
+ }
519
+ .multi-select .tag .tag-close {
520
+ display: inline-flex; cursor: pointer; color: var(--qxs-subject-text-secondary, #909399); margin-left: 2px; line-height: 1;
521
+ }
522
+ .multi-select .tag .tag-close:hover { color: var(--qxs-subject-color-primary, #3D61E3); }
523
+ .multi-select-dropdown {
524
+ position: absolute; z-index: 100; background: var(--qxs-subject-fill-blank, #fff); left: 0; top: 100%; margin-top: 4px;
525
+ border: 1px solid var(--qxs-subject-border-light, #e4e7ed); border-radius: 3px;
526
+ box-shadow: var(--qxs-subject-shadow-soft, 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: var(--qxs-subject-text-regular, #606266); cursor: pointer;
530
+ transition: background .2s;
531
+ }
532
+ .multi-select-option:hover { background: var(--qxs-subject-fill-light, #f5f7fa); }
533
+ .multi-select-option.selected { color: var(--qxs-subject-color-primary, #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: var(--qxs-subject-fill-blank, #fff); border-radius: 6px; width: 520px; max-width: 90vw; box-shadow: var(--qxs-subject-shadow-soft, 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 var(--qxs-subject-border-light, #e4e7ed); }
563
+ .modal-title { font-size: 14px; font-weight: 600; color: var(--qxs-subject-text-primary, #303133); }
564
+ .modal-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--qxs-subject-text-secondary, #909399); padding: 0; line-height: 1; }
565
+ .modal-close:hover { color: var(--qxs-subject-color-primary, #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 var(--qxs-subject-border-light, #e4e7ed); }
569
+ .modal-footer button { padding: 6px 16px; font-size: 12px; border-radius: 3px; cursor: pointer; border: 1px solid var(--qxs-subject-border, #dcdfe6); background: var(--qxs-subject-fill-blank, #fff); color: var(--qxs-subject-text-regular, #606266); }
570
+ .modal-footer button:hover { color: var(--qxs-subject-color-primary, #3D61E3); border-color: var(--qxs-subject-fill-soft-primary-border-strong, #a0cfff); }
571
+ .modal-footer button.primary { background: var(--qxs-subject-color-primary, #3D61E3); border-color: var(--qxs-subject-color-primary, #3D61E3); color: var(--qxs-subject-fill-blank, #fff); }
572
+ .modal-footer button.primary:hover { background: var(--qxs-subject-color-primary-hover, #2D4CB8); border-color: var(--qxs-subject-color-primary-hover, #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: var(--qxs-subject-text-primary, #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: var(--qxs-subject-text-primary, #303133);
582
+ text-align: center;
583
+ }
584
+ .correct-hint-copy { max-width: 420px; margin: 0 auto; }
585
+ .correct-hint-highlight { color: var(--qxs-subject-color-primary, #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
+ `];s([i.property({type:Number,attribute:"order-index"})],exports.QxsSubjectSingle.prototype,"order-index",2);s([i.property({type:String,attribute:"subject-prefix"})],exports.QxsSubjectSingle.prototype,"subject-prefix",2);s([i.property({type:Boolean,attribute:"is-edit"})],exports.QxsSubjectSingle.prototype,"is-edit",2);s([i.property({type:Boolean,attribute:"is-save"})],exports.QxsSubjectSingle.prototype,"is-save",2);s([i.property({type:Boolean,attribute:"is-set"})],exports.QxsSubjectSingle.prototype,"is-set",2);s([i.property({type:Boolean,attribute:"is-set-correct-answer"})],exports.QxsSubjectSingle.prototype,"is-set-correct-answer",2);s([i.property({type:Boolean,attribute:"lock-answer-key"})],exports.QxsSubjectSingle.prototype,"lockAnswerKey",2);s([i.property({type:Boolean,attribute:"is-key"})],exports.QxsSubjectSingle.prototype,"is-key",2);s([i.property({type:Boolean,attribute:"show-action"})],exports.QxsSubjectSingle.prototype,"show-action",2);s([i.property({type:Boolean,attribute:"show-add"})],exports.QxsSubjectSingle.prototype,"show-add",2);s([i.property({type:Boolean,attribute:"hide-add-rich-text"})],exports.QxsSubjectSingle.prototype,"hide-add-rich-text",2);s([i.property({type:Boolean,attribute:"show-rich-text"})],exports.QxsSubjectSingle.prototype,"show-rich-text",2);s([i.property({type:Boolean,attribute:"show-delete-action"})],exports.QxsSubjectSingle.prototype,"show-delete-action",2);s([i.property({type:Boolean,attribute:"show-save-action"})],exports.QxsSubjectSingle.prototype,"show-save-action",2);s([i.property({type:Boolean,reflect:!0})],exports.QxsSubjectSingle.prototype,"sorting",2);s([i.property({type:Boolean,attribute:"show-answer-setting"})],exports.QxsSubjectSingle.prototype,"show-answer-setting",2);s([i.property({type:Boolean,attribute:"show-key"})],exports.QxsSubjectSingle.prototype,"show-key",2);s([i.property({type:Boolean,attribute:"show-analysis"})],exports.QxsSubjectSingle.prototype,"show-analysis",2);s([i.property({attribute:"question-type",reflect:!0})],exports.QxsSubjectSingle.prototype,"type",2);s([i.property({type:Number,attribute:"answer-check-type"})],exports.QxsSubjectSingle.prototype,"answer-check-type",2);s([i.property({type:Number,attribute:"exam-answer-relation-type"})],exports.QxsSubjectSingle.prototype,"exam-answer-relation-type",2);s([i.property({type:String,attribute:"rich-text-content"})],exports.QxsSubjectSingle.prototype,"rich-text-content",2);s([i.property({type:String})],exports.QxsSubjectSingle.prototype,"analysis",2);s([i.property({type:Number,attribute:"least-answer-count"})],exports.QxsSubjectSingle.prototype,"least-answer-count",2);s([i.property({type:String,attribute:"exam-expand"})],exports.QxsSubjectSingle.prototype,"exam-expand",2);s([i.property({type:String,attribute:"custom-id"})],exports.QxsSubjectSingle.prototype,"custom-id",2);s([i.property({type:Number,attribute:"exam-id"})],exports.QxsSubjectSingle.prototype,"exam-id",2);s([i.property({type:String,attribute:"category-id"})],exports.QxsSubjectSingle.prototype,"category-id",2);s([i.property({type:Object,attribute:"upload-image"})],exports.QxsSubjectSingle.prototype,"upload-image",2);s([i.property({type:Array,attribute:"answer-list"})],exports.QxsSubjectSingle.prototype,"answer-list",1);s([i.property({type:Array,attribute:"tag-list"})],exports.QxsSubjectSingle.prototype,"tag-list",2);s([i.property({type:Array,attribute:"category-list"})],exports.QxsSubjectSingle.prototype,"category-list",2);s([i.property({type:String,attribute:"ai-answer"})],exports.QxsSubjectSingle.prototype,"ai-answer",2);s([i.property({type:Array,attribute:"resource-list"})],exports.QxsSubjectSingle.prototype,"resource-list",2);s([i.property({type:Boolean,attribute:"show-tag"})],exports.QxsSubjectSingle.prototype,"show-tag",2);s([i.property({type:Boolean,attribute:"show-category"})],exports.QxsSubjectSingle.prototype,"show-category",2);s([i.property({type:Boolean,attribute:"show-ai"})],exports.QxsSubjectSingle.prototype,"show-ai",2);s([i.property({type:Boolean,attribute:"show-resource"})],exports.QxsSubjectSingle.prototype,"show-resource",2);s([i.property({type:Boolean,attribute:"show-jump"})],exports.QxsSubjectSingle.prototype,"show-jump",2);s([i.property({type:Boolean,attribute:"has-jump"})],exports.QxsSubjectSingle.prototype,"has-jump",2);s([i.property({type:String,attribute:"search-api"})],exports.QxsSubjectSingle.prototype,"search-api",2);s([i.property({type:Object,attribute:"search-handler"})],exports.QxsSubjectSingle.prototype,"search-handler",2);s([i.property({type:String,attribute:"model-value"})],exports.QxsSubjectSingle.prototype,"model-value",2);s([i.property({type:Boolean,attribute:"use-model"})],exports.QxsSubjectSingle.prototype,"use-model",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_answers",2);s([i.property({type:String})],exports.QxsSubjectSingle.prototype,"title",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_title",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_analysis",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_richText",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_showRichText",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_leastAnswerCount",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_answerCheckType",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_isKey",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_orderList",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_selectedTagList",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_categoryId",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_searchResults",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_searchOpen",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_searchLoading",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_sortDropdownOpen",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_imageViewerOpen",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_imageViewerIndex",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_videoViewerOpen",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_correctHintDialogOpen",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_hasShownCorrectHint",2);s([i.state()],exports.QxsSubjectSingle.prototype,"_changeTypeDialogOpen",2);exports.QxsSubjectSingle=s([w.safeCustomElement("qxs-subject-single")],exports.QxsSubjectSingle);exports.SubjectError=u.SubjectError;exports.trimCommaSeparatedText=u.trimCommaSeparatedText;exports.trimText=u.trimText;
600
+ //# sourceMappingURL=single.cjs.map