cosey 0.1.1 → 0.1.4

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 (321) hide show
  1. package/components/audio-card/audio-card.vue.js +1 -1
  2. package/components/audio-card/style/index.d.ts +1 -1
  3. package/components/audio-viewer/style/index.d.ts +1 -1
  4. package/components/close/close.vue.js +1 -1
  5. package/components/close/style/index.d.ts +1 -1
  6. package/components/col/style/index.d.ts +1 -1
  7. package/components/col/style/index.js +1 -1
  8. package/components/components.d.ts +98 -44
  9. package/components/config-provider/config-provider.js +1 -3
  10. package/components/config-provider/config-provider.vue.d.ts +2 -7
  11. package/components/config-provider/config-provider.vue.js +8 -4
  12. package/components/config-provider/index.d.ts +1 -1
  13. package/components/config-provider/override-element-plus.d.ts +3 -2
  14. package/components/config-provider/override-element-plus.js +2 -2
  15. package/components/container/container.d.ts +0 -1
  16. package/components/container/container.vue.js +0 -4
  17. package/components/container/style/index.d.ts +1 -1
  18. package/components/context-menu/content.vue.js +1 -1
  19. package/components/context-menu/context-menu.vue.js +2 -2
  20. package/components/context-menu/style/index.d.ts +1 -1
  21. package/components/copy/copy.d.ts +0 -2
  22. package/components/copy/copy.vue.d.ts +1 -7
  23. package/components/copy/copy.vue.js +1 -2
  24. package/components/copy/index.d.ts +3 -19
  25. package/components/copy/style/index.d.ts +1 -1
  26. package/components/cssinjs/parser.js +8 -25
  27. package/components/dnd-sort/dnd-sort-item.vue.js +3 -4
  28. package/components/dnd-sort/dnd-sort.vue.js +1 -2
  29. package/components/dnd-sort/index.d.ts +1 -1
  30. package/components/dnd-sort/style/index.d.ts +1 -1
  31. package/components/dnd-sort/style/index.js +1 -0
  32. package/components/editor/components/button-group.vue.d.ts +2 -7
  33. package/components/editor/components/button.vue.d.ts +2 -7
  34. package/components/editor/components/color-picker/color-picker.style.d.ts +1 -1
  35. package/components/editor/components/color-picker/color-picker.vue.d.ts +2 -43
  36. package/components/editor/components/color-picker/color-picker.vue.js +14 -11
  37. package/components/editor/components/list/list.style.d.ts +1 -1
  38. package/components/editor/components/picker/picker.style.d.ts +1 -1
  39. package/components/editor/components/picker/picker.vue.d.ts +2 -15
  40. package/components/editor/components/resize/resize.js +4 -4
  41. package/components/editor/components/resize/resize.style.d.ts +1 -1
  42. package/components/editor/components/resize/resize.style.js +9 -32
  43. package/components/editor/components/resize/resize.vue.js +21 -14
  44. package/components/editor/components/select-button.vue.d.ts +2 -9
  45. package/components/editor/components/select-button.vue.js +1 -1
  46. package/components/editor/components/split-button.vue.d.ts +2 -19
  47. package/components/editor/components/split-button.vue.js +1 -1
  48. package/components/editor/components/table-toolbar/table-toolbar.style.d.ts +1 -1
  49. package/components/editor/components/table-toolbar/table-toolbar.vue.js +9 -9
  50. package/components/editor/components/toolbar/formats/align.vue.js +4 -4
  51. package/components/editor/components/toolbar/formats/blockquote.vue.js +1 -1
  52. package/components/editor/components/toolbar/formats/bold.vue.js +1 -1
  53. package/components/editor/components/toolbar/formats/clean.vue.js +1 -1
  54. package/components/editor/components/toolbar/formats/code-block.vue.js +1 -1
  55. package/components/editor/components/toolbar/formats/code.vue.js +1 -1
  56. package/components/editor/components/toolbar/formats/formula.vue.js +4 -3
  57. package/components/editor/components/toolbar/formats/image.vue.js +1 -1
  58. package/components/editor/components/toolbar/formats/indent.vue.js +2 -2
  59. package/components/editor/components/toolbar/formats/italic.vue.js +1 -1
  60. package/components/editor/components/toolbar/formats/link.vue.js +15 -13
  61. package/components/editor/components/toolbar/formats/list.vue.js +3 -3
  62. package/components/editor/components/toolbar/formats/script.vue.js +2 -2
  63. package/components/editor/components/toolbar/formats/size-delta.vue.js +2 -2
  64. package/components/editor/components/toolbar/formats/strike.vue.js +1 -1
  65. package/components/editor/components/toolbar/formats/table.style.d.ts +1 -1
  66. package/components/editor/components/toolbar/formats/table.vue.js +1 -1
  67. package/components/editor/components/toolbar/formats/underline.vue.js +1 -1
  68. package/components/editor/components/toolbar/formats/video.vue.js +1 -1
  69. package/components/editor/components/toolbar/toolbar.d.ts +1 -2
  70. package/components/editor/components/toolbar/toolbar.js +17 -21
  71. package/components/editor/components/toolbar/toolbarContext.js +1 -3
  72. package/components/editor/editor.d.ts +0 -2
  73. package/components/editor/editor.vue.js +1 -11
  74. package/components/editor/formats/image.d.ts +13 -0
  75. package/components/editor/formats/image.js +46 -0
  76. package/components/editor/formats/indent.d.ts +2 -0
  77. package/components/editor/formats/indent.js +12 -7
  78. package/components/editor/formats/link.js +1 -5
  79. package/components/editor/formats/list.d.ts +0 -4
  80. package/components/editor/formats/list.js +10 -5
  81. package/components/editor/formats/video.js +6 -9
  82. package/components/editor/modules/custom-list.js +1 -6
  83. package/components/editor/modules/image-uploader/formats/image-loading.style.d.ts +1 -1
  84. package/components/editor/modules/image-uploader/formats/image-loading.style.js +4 -4
  85. package/components/editor/modules/image-uploader/image-uploader.js +1 -3
  86. package/components/editor/quill.js +7 -4
  87. package/components/editor/quillContext.js +1 -3
  88. package/components/editor/style/hljs.d.ts +1 -1
  89. package/components/editor/style/index.d.ts +1 -1
  90. package/components/editor/style/index.js +1 -5
  91. package/components/field/components/checkbox-group/panel.vue.d.ts +2 -20
  92. package/components/field/components/checkbox-group/panel.vue.js +2 -2
  93. package/components/field/components/tree-select/tree-select.d.ts +1 -2
  94. package/components/field/components/tree-select/tree-select.js +69 -0
  95. package/components/file-card/file-card.vue.js +1 -1
  96. package/components/file-card/style/index.d.ts +1 -1
  97. package/components/form/form-item.vue.js +1 -1
  98. package/components/form/style/index.d.ts +1 -1
  99. package/components/form/useFormItemWidth.js +1 -1
  100. package/components/form/useFormTemplate.js +2 -10
  101. package/components/form-dialog/form-dialog.vue.d.ts +0 -1
  102. package/components/form-dialog/form-dialog.vue.js +1 -1
  103. package/components/form-dialog/index.d.ts +0 -3
  104. package/components/form-group/form-group.vue.js +1 -1
  105. package/components/form-list/form-list.js +1 -6
  106. package/components/form-list/form-list.vue.js +2 -2
  107. package/components/form-list/style/index.d.ts +1 -1
  108. package/components/form-query/form-query.vue.js +5 -5
  109. package/components/form-query/style/index.d.ts +1 -1
  110. package/components/highlight/highlight.d.ts +1 -1
  111. package/components/highlight/highlight.vue.js +11 -4
  112. package/components/highlight/style/index.d.ts +1 -1
  113. package/components/highlight/style/index.js +15 -5
  114. package/components/horizontal-tree/horizontal-tree.vue.js +16 -12
  115. package/components/horizontal-tree/style/index.d.ts +1 -1
  116. package/components/icon/style/index.d.ts +1 -1
  117. package/components/iconify-icon/iconify-icon.d.ts +3 -0
  118. package/components/iconify-icon/iconify-icon.js +9 -0
  119. package/components/iconify-icon/iconify-icon.vue.js +2 -5
  120. package/components/iconify-icon/index.js +1 -0
  121. package/components/image-card/style/index.d.ts +1 -1
  122. package/components/index.js +4 -2
  123. package/components/long-text/style/index.d.ts +1 -1
  124. package/components/mask/style/index.d.ts +1 -1
  125. package/components/media-card-group/media-card-group.vue.js +4 -3
  126. package/components/media-card-group/style/index.d.ts +1 -1
  127. package/components/panel/style/index.d.ts +1 -1
  128. package/components/row/style/index.d.ts +1 -1
  129. package/components/scroll-view/scroll-view.vue.js +1 -2
  130. package/components/scroll-view/style/index.d.ts +1 -1
  131. package/components/snug-menu/snug-menu.vue.js +1 -2
  132. package/components/snug-menu/style/index.d.ts +1 -1
  133. package/components/style/animation.d.ts +5 -0
  134. package/components/style/animation.js +33 -0
  135. package/components/style/index.d.ts +1 -1
  136. package/components/style/index.js +2 -2
  137. package/components/style/mixins.d.ts +2 -0
  138. package/components/style/mixins.js +10 -1
  139. package/components/table/index.d.ts +0 -8
  140. package/components/table/style/index.d.ts +1 -1
  141. package/components/table/style/index.js +2 -2
  142. package/components/table/table-column/renderer.js +22 -18
  143. package/components/table/table-column/style/index.d.ts +1 -1
  144. package/components/table/table-column/table-column.vue.d.ts +3 -3
  145. package/components/table/table-column-editor/item.vue.js +5 -8
  146. package/components/table/table-column-editor/style/index.d.ts +1 -1
  147. package/components/table/table-column-editor/style/index.js +1 -0
  148. package/components/table/table-column-editor/table-column-editor.vue.d.ts +2 -246
  149. package/components/table/table-column-editor/table-column-editor.vue.js +9 -9
  150. package/components/table/table-export/style/index.d.ts +1 -1
  151. package/components/table/table-export/table-export.vue.js +2 -2
  152. package/components/table/table-query/table-query.d.ts +0 -4
  153. package/components/table/table-query/table-query.js +0 -4
  154. package/components/table/table-query/table-query.vue.d.ts +0 -9
  155. package/components/table/table-query/table-query.vue.js +14 -12
  156. package/components/table/table.js +1 -3
  157. package/components/table/table.vue.js +22 -24
  158. package/components/table/useTable.js +1 -4
  159. package/components/table/utils.js +1 -3
  160. package/components/table-action/item.vue.js +5 -5
  161. package/components/table-action/style/index.d.ts +1 -1
  162. package/components/table-action/table-action.vue.js +4 -3
  163. package/components/theme/StyleContext.js +1 -3
  164. package/components/theme/createCacheToken.js +1 -4
  165. package/components/theme/getGlobalStyleHook.d.ts +2 -3
  166. package/components/theme/getGlobalStyleHook.js +5 -13
  167. package/components/theme/getOverrideStyleHook.d.ts +8 -0
  168. package/components/theme/getOverrideStyleHook.js +39 -0
  169. package/components/theme/getSimpleStyleHook.d.ts +2 -2
  170. package/components/theme/getSimpleStyleHook.js +4 -11
  171. package/components/theme/getStyleHook.d.ts +2 -2
  172. package/components/theme/getStyleHook.js +4 -11
  173. package/components/theme/index.d.ts +2 -1
  174. package/components/theme/index.js +1 -0
  175. package/components/theme/interface/index.d.ts +1 -1
  176. package/components/theme/theme-context.d.ts +11 -2
  177. package/components/theme/theme-context.js +36 -6
  178. package/components/theme/themes/shared/genColorMapToken.js +1 -4
  179. package/components/theme/useStyleRegister.d.ts +1 -7
  180. package/components/theme/useStyleRegister.js +3 -6
  181. package/components/theme/util/alias.js +4 -16
  182. package/components/theme/util/getAlphaColor.js +1 -6
  183. package/components/theme/util/normalizeStyle.js +1 -1
  184. package/components/theme/util/statistic.js +4 -1
  185. package/components/theme/util/useToken.d.ts +4 -4
  186. package/components/theme/util/useToken.js +7 -10
  187. package/components/toggle/toggle.vue.js +1 -1
  188. package/components/transition/style/index.d.ts +1 -1
  189. package/components/transition/transition.vue.js +1 -2
  190. package/components/transition-group/index.d.ts +3 -3
  191. package/components/transition-group/style/index.d.ts +1 -1
  192. package/components/transition-group/transition-group.vue.d.ts +1 -1
  193. package/components/upload/index.d.ts +0 -3
  194. package/components/upload/style/index.d.ts +1 -1
  195. package/components/upload/upload-item.vue.js +8 -8
  196. package/components/upload/upload.d.ts +0 -2
  197. package/components/upload/upload.js +0 -1
  198. package/components/upload/upload.vue.d.ts +0 -1
  199. package/components/upload/upload.vue.js +1 -5
  200. package/components/video-card/style/index.d.ts +1 -1
  201. package/components/video-card/video-card.vue.js +1 -1
  202. package/components/video-viewer/style/index.d.ts +1 -1
  203. package/config/http.d.ts +1 -1
  204. package/config/http.js +1 -1
  205. package/config/index.d.ts +23 -22
  206. package/config/index.js +2 -7
  207. package/config/layout.d.ts +36 -0
  208. package/config/layout.js +37 -1
  209. package/config/nprogress.style.d.ts +2 -0
  210. package/config/nprogress.style.js +51 -0
  211. package/config/root-config-provider.vue.d.ts +2 -20
  212. package/config/root-config-provider.vue.js +2 -0
  213. package/hooks/useColorScheme.js +5 -9
  214. package/hooks/useEcharts.js +2 -4
  215. package/hooks/useFetch.d.ts +1 -1
  216. package/hooks/useFetch.js +1 -7
  217. package/hooks/useFullPage.js +7 -9
  218. package/hooks/useLocale.js +1 -3
  219. package/hooks/useLockscreenObserver.js +1 -1
  220. package/hooks/usePersist.js +1 -3
  221. package/hooks/useTreeCheck.js +13 -26
  222. package/hooks/useUpsert.d.ts +15 -16
  223. package/hooks/useUpsert.js +3 -3
  224. package/index.d.ts +1 -0
  225. package/index.js +5 -4
  226. package/layout/index.js +2 -2
  227. package/layout/layout-aside/layout-aside.vue.js +2 -1
  228. package/layout/layout-aside/style/index.d.ts +1 -1
  229. package/layout/layout-auth/style/index.d.ts +1 -1
  230. package/layout/layout-base/layout-base.vue.js +9 -9
  231. package/layout/layout-base/style/index.d.ts +1 -1
  232. package/layout/layout-brand/style/index.d.ts +1 -1
  233. package/layout/layout-change-password/layout-change-password.vue.js +8 -8
  234. package/layout/layout-change-password/style/index.d.ts +1 -1
  235. package/layout/layout-change-password/style/index.js +1 -1
  236. package/layout/layout-color-scheme/layout-color-scheme.vue.js +8 -14
  237. package/layout/layout-color-scheme/style/index.d.ts +2 -5
  238. package/layout/layout-color-scheme/style/index.js +26 -44
  239. package/layout/layout-content/layout-content.vue.d.ts +2 -13
  240. package/layout/layout-content/style/index.d.ts +1 -1
  241. package/layout/layout-exception/style/index.d.ts +1 -1
  242. package/layout/layout-forbidden/layout-forbidden.vue.js +2 -2
  243. package/layout/layout-header/layout-header.vue.d.ts +2 -14
  244. package/layout/layout-header/style/index.d.ts +1 -1
  245. package/layout/layout-iframe/style/index.d.ts +1 -1
  246. package/layout/layout-internal-server-error/layout-internal-server-error.vue.js +2 -2
  247. package/layout/layout-login/layout-login.vue.js +5 -5
  248. package/layout/layout-login/style/index.d.ts +1 -1
  249. package/layout/layout-login/style/index.js +1 -1
  250. package/layout/layout-main/style/index.d.ts +1 -1
  251. package/layout/layout-mask/style/index.d.ts +1 -1
  252. package/layout/layout-mask/style/index.js +1 -1
  253. package/layout/layout-menu/layout-menu.vue.js +5 -0
  254. package/layout/layout-menu/style/index.d.ts +1 -1
  255. package/layout/layout-not-found/layout-not-found.vue.js +2 -2
  256. package/layout/layout-search/layout-search.vue.js +37 -34
  257. package/layout/layout-search/style/index.d.ts +1 -1
  258. package/layout/layout-sidebar/layout-sidebar.vue.d.ts +2 -15
  259. package/layout/layout-sidebar/style/index.d.ts +1 -1
  260. package/layout/layout-sidebar/style/index.js +1 -1
  261. package/layout/layout-snug-aside/style/index.d.ts +1 -1
  262. package/layout/layout-switch-effect/layout-switch-effect.vue.d.ts +2 -7
  263. package/layout/layout-switch-effect/style/index.d.ts +1 -1
  264. package/layout/layout-tabbar/layout-tabbar.vue.js +8 -3
  265. package/layout/layout-tabbar/reload.vue.js +1 -1
  266. package/layout/layout-tabbar/style/index.d.ts +1 -1
  267. package/layout/layout-tabbar/style/index.js +6 -2
  268. package/layout/layout-toggle/layout-toggle.vue.js +1 -1
  269. package/layout/layout-top-snug-menu/layout-top-snug-menu.vue.js +4 -3
  270. package/layout/layout-topbar/layout-topbar.vue.d.ts +2 -1217
  271. package/layout/layout-topbar/style/index.d.ts +1 -1
  272. package/layout/layout-user-menu/index.d.ts +1 -0
  273. package/layout/layout-user-menu/index.js +1 -0
  274. package/layout/{layout-user/layout-user.vue.js → layout-user-menu/layout-user-menu.vue.js} +18 -13
  275. package/layout/{layout-user → layout-user-menu}/style/index.d.ts +1 -1
  276. package/layout/{layout-user → layout-user-menu}/style/index.js +9 -5
  277. package/layout/layout.d.ts +1 -1
  278. package/layout/layout.js +1 -1
  279. package/layout/merged/index.d.ts +1 -1
  280. package/layout/merged/index.js +1 -1
  281. package/layout/merged/{layout-user.js → layout-user-menu.js} +1 -1
  282. package/layout/utils.js +1 -4
  283. package/package.json +16 -6
  284. package/request/useRequest.js +1 -1
  285. package/router/guard/auth.js +2 -5
  286. package/router/guard/index.js +2 -2
  287. package/router/guard/pageTitle.d.ts +2 -0
  288. package/router/guard/pageTitle.js +11 -0
  289. package/router/guard/progress.js +11 -1
  290. package/router/index.d.ts +22 -0
  291. package/router/index.js +1 -1
  292. package/router/routes/static/auth.js +5 -6
  293. package/router/routes/static/exception.js +3 -3
  294. package/router/utils.js +11 -3
  295. package/store/layout.d.ts +4 -10
  296. package/store/layout.js +19 -31
  297. package/store/user.d.ts +4 -4
  298. package/store/user.js +2 -1
  299. package/utils/array.js +3 -0
  300. package/utils/dynamicCSS.d.ts +3 -2
  301. package/utils/dynamicCSS.js +12 -1
  302. package/utils/excel/index.js +1 -3
  303. package/utils/excel/utils.js +1 -5
  304. package/utils/file.js +1 -3
  305. package/utils/index.js +1 -1
  306. package/utils/object.js +1 -3
  307. package/utils/tree.js +2 -11
  308. package/utils/vue.js +1 -1
  309. package/components/global.d.js +0 -1
  310. package/components/style/motion/index.d.ts +0 -1
  311. package/components/style/motion/index.js +0 -1
  312. package/components/style/motion/loading.d.ts +0 -3
  313. package/components/style/motion/loading.js +0 -23
  314. package/layout/layout-user/index.d.ts +0 -1
  315. package/layout/layout-user/index.js +0 -1
  316. package/router/guard/popup.d.ts +0 -2
  317. package/router/guard/popup.js +0 -6
  318. package/types/vue-router.d.js +0 -1
  319. package/types/vue.d.js +0 -1
  320. /package/layout/{layout-user/layout-user.vue.d.ts → layout-user-menu/layout-user-menu.vue.d.ts} +0 -0
  321. /package/layout/merged/{layout-user.d.ts → layout-user-menu.d.ts} +0 -0
@@ -1,15 +1,10 @@
1
1
  type __VLS_Props = {
2
2
  active?: boolean;
3
3
  };
4
- declare const prefixCls: import("vue").ComputedRef<string>;
5
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
6
4
  declare var __VLS_1: {};
7
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
5
+ type __VLS_Slots = {} & {
8
6
  default?: (props: typeof __VLS_1) => any;
9
- }>;
10
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
11
- prefixCls: typeof prefixCls;
12
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ };
13
8
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
14
9
  el: Readonly<import("vue").ShallowRef<HTMLButtonElement | null>>;
15
10
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
- declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, theme?: import("vue").ComputedRef<import("../../..").ThemeConfig | undefined>) => {
1
+ declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../../theme/theme-context").ThemeManager) => {
2
2
  hashId: import("vue").Ref<string, string>;
3
3
  };
4
4
  export default _default;
@@ -1,51 +1,10 @@
1
- import Picker from '../picker/picker.vue';
2
- import { colorPalettes } from './color-picker';
3
- import { Icon } from '../../../icon';
4
- import { ElInput } from 'element-plus';
5
- declare const prefixCls: import("vue").ComputedRef<string>;
6
- declare const hashId: import("vue").Ref<string, string>;
7
1
  type __VLS_Props = {
8
2
  visible?: boolean;
9
3
  };
10
- declare const innerVisible: import("vue").WritableComputedRef<boolean, boolean>;
11
- declare const inputColor: import("vue").Ref<string, string>;
12
- declare const mapHistoryColors: import("vue").ComputedRef<string[]>;
13
- declare const normalInputColor: import("vue").ComputedRef<string>;
14
- declare const isEyeDropperSupported: import("vue").ComputedRef<boolean>;
15
- declare const onSelect: (color: string) => void;
16
- declare const onCustomSelect: () => void;
17
- declare const onClear: () => void;
18
- declare const onAbsorb: () => void;
19
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
20
4
  declare var __VLS_5: {};
21
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
5
+ type __VLS_Slots = {} & {
22
6
  default?: (props: typeof __VLS_5) => any;
23
- }>;
24
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
25
- Picker: typeof Picker;
26
- colorPalettes: typeof colorPalettes;
27
- Icon: typeof Icon;
28
- ElInput: typeof ElInput;
29
- prefixCls: typeof prefixCls;
30
- hashId: typeof hashId;
31
- innerVisible: typeof innerVisible;
32
- inputColor: typeof inputColor;
33
- mapHistoryColors: typeof mapHistoryColors;
34
- normalInputColor: typeof normalInputColor;
35
- isEyeDropperSupported: typeof isEyeDropperSupported;
36
- onSelect: typeof onSelect;
37
- onCustomSelect: typeof onCustomSelect;
38
- onClear: typeof onClear;
39
- onAbsorb: typeof onAbsorb;
40
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
- clear: () => any;
42
- select: (color: string) => any;
43
- "update:visible": (visible: boolean) => any;
44
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
45
- onClear?: (() => any) | undefined;
46
- onSelect?: ((color: string) => any) | undefined;
47
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
48
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ };
49
8
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
50
9
  clear: () => any;
51
10
  select: (color: string) => any;
@@ -84,11 +84,13 @@ var stdin_default = /* @__PURE__ */defineComponent({
84
84
  }, "\u9884\u8BBE", 2
85
85
  /* CLASS */), createElementVNode("div", {
86
86
  class: normalizeClass(`${unref(prefixCls)}-preset`)
87
- }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(colorPalettes), row => {
87
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(colorPalettes), (row, i) => {
88
88
  return openBlock(), createElementBlock("div", {
89
+ key: i,
89
90
  class: normalizeClass(`${unref(prefixCls)}-row`)
90
- }, [(openBlock(true), createElementBlock(Fragment, null, renderList(row, color => {
91
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(row, (color, j) => {
91
92
  return openBlock(), createElementBlock("div", {
93
+ key: j,
92
94
  class: normalizeClass(`${unref(prefixCls)}-item`)
93
95
  }, [createElementVNode("button", {
94
96
  type: "button",
@@ -99,18 +101,19 @@ var stdin_default = /* @__PURE__ */defineComponent({
99
101
  onClick: $event => onSelect(color)
100
102
  }, null, 14, _hoisted_1)], 2
101
103
  /* CLASS */);
102
- }), 256
103
- /* UNKEYED_FRAGMENT */))], 2
104
+ }), 128
105
+ /* KEYED_FRAGMENT */))], 2
104
106
  /* CLASS */);
105
- }), 256
106
- /* UNKEYED_FRAGMENT */))], 2
107
+ }), 128
108
+ /* KEYED_FRAGMENT */))], 2
107
109
  /* CLASS */), createElementVNode("div", {
108
110
  class: normalizeClass(`${unref(prefixCls)}-title`)
109
111
  }, "\u6700\u8FD1\u4F7F\u7528", 2
110
112
  /* CLASS */), createElementVNode("div", {
111
113
  class: normalizeClass(`${unref(prefixCls)}-row`)
112
- }, [(openBlock(true), createElementBlock(Fragment, null, renderList(mapHistoryColors.value, color => {
114
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList(mapHistoryColors.value, (color, i) => {
113
115
  return openBlock(), createElementBlock("div", {
116
+ key: i,
114
117
  class: normalizeClass(`${unref(prefixCls)}-item`)
115
118
  }, [createElementVNode("button", {
116
119
  type: "button",
@@ -123,8 +126,8 @@ var stdin_default = /* @__PURE__ */defineComponent({
123
126
  onClick: $event => onSelect(color)
124
127
  }, null, 14, _hoisted_2)], 2
125
128
  /* CLASS */);
126
- }), 256
127
- /* UNKEYED_FRAGMENT */))], 2
129
+ }), 128
130
+ /* KEYED_FRAGMENT */))], 2
128
131
  /* CLASS */), createElementVNode("div", {
129
132
  class: normalizeClass(`${unref(prefixCls)}-title`)
130
133
  }, "\u624B\u52A8\u8BBE\u7F6E", 2
@@ -136,7 +139,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
136
139
  class: normalizeClass([`${unref(prefixCls)}-btn`]),
137
140
  onClick: onAbsorb
138
141
  }, [createVNode(unref(_Icon), {
139
- name: "mdi:eyedropper",
142
+ name: "co:eyedropper",
140
143
  size: "lg"
141
144
  })], 2
142
145
  /* CLASS */)) : createCommentVNode("v-if", true), createVNode(unref(ElInput), {
@@ -158,7 +161,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
158
161
  class: normalizeClass([`${unref(prefixCls)}-color`, `${unref(prefixCls)}-btn`, `${unref(prefixCls)}-clear`]),
159
162
  onClick: onClear
160
163
  }, [createVNode(unref(_Icon), {
161
- name: "mdi:slash-forward",
164
+ name: "co:slash-forward",
162
165
  size: "lg"
163
166
  })], 2
164
167
  /* CLASS */)], 2
@@ -1,4 +1,4 @@
1
- declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, theme?: import("vue").ComputedRef<import("../../..").ThemeConfig | undefined>) => {
1
+ declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../../theme/theme-context").ThemeManager) => {
2
2
  hashId: import("vue").Ref<string, string>;
3
3
  };
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, theme?: import("vue").ComputedRef<import("../../..").ThemeConfig | undefined>) => {
1
+ declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../../theme/theme-context").ThemeManager) => {
2
2
  hashId: import("vue").Ref<string, string>;
3
3
  };
4
4
  export default _default;
@@ -1,4 +1,3 @@
1
- import { ElTooltip } from 'element-plus';
2
1
  type __VLS_Props = {
3
2
  popperClass?: any;
4
3
  visible?: boolean;
@@ -6,24 +5,12 @@ type __VLS_Props = {
6
5
  triggerTarget?: HTMLElement | null;
7
6
  nopadding?: boolean;
8
7
  };
9
- declare const prefixCls: import("vue").ComputedRef<string>;
10
- declare const hashId: import("vue").Ref<string, string>;
11
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
12
8
  declare var __VLS_6: {}, __VLS_8: {};
13
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ type __VLS_Slots = {} & {
14
10
  content?: (props: typeof __VLS_6) => any;
15
11
  } & {
16
12
  default?: (props: typeof __VLS_8) => any;
17
- }>;
18
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
19
- ElTooltip: typeof ElTooltip;
20
- prefixCls: typeof prefixCls;
21
- hashId: typeof hashId;
22
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
- "update:visible": (visible: boolean) => any;
24
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
26
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ };
27
14
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
15
  "update:visible": (visible: boolean) => any;
29
16
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -1,7 +1,7 @@
1
1
  const mapIcons = {
2
- left: "mdi:format-align-left",
3
- center: "mdi:format-align-center",
4
- right: "mdi:format-align-right"
2
+ left: "co:text-align-left",
3
+ center: "co:text-align-center",
4
+ right: "co:text-align-right"
5
5
  };
6
6
  const getAlign = (el) => {
7
7
  if (!el) {
@@ -20,7 +20,7 @@ const getAlign = (el) => {
20
20
  return null;
21
21
  };
22
22
  const onDrag = (downRect, currRect, options) => {
23
- let { x, y } = currRect;
23
+ const { x, y } = currRect;
24
24
  const aspectScale = downRect.width / downRect.height;
25
25
  let width = 0;
26
26
  switch (options.position) {
@@ -1,4 +1,4 @@
1
- declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, theme?: import("vue").ComputedRef<import("../../..").ThemeConfig | undefined>) => {
1
+ declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../../theme/theme-context").ThemeManager) => {
2
2
  hashId: import("vue").Ref<string, string>;
3
3
  };
4
4
  export default _default;
@@ -44,40 +44,17 @@ var stdin_default = getSimpleStyleHook("EditorResize", (token) => {
44
44
  },
45
45
  [`${componentCls}-align`]: {
46
46
  position: "absolute",
47
+ bottom: "100%",
47
48
  left: "50%",
48
- zIndex: 1,
49
- top: token.sizeXXS,
50
49
  display: "flex",
51
- transform: "translateX(-50%)",
52
- "&-btn": {
53
- boxSizing: "border-box",
54
- display: "flex",
55
- justifyContent: "center",
56
- alignItems: "center",
57
- width: 28,
58
- height: 28,
59
- fontSize: token.fontSizeXL,
60
- border: `${token.lineWidth} ${token.lineType} ${token.colorBorder}`,
61
- backgroundColor: token.colorBgElevated,
62
- cursor: "pointer",
63
- "&:hover": {
64
- backgroundColor: token.colorFillSecondary
65
- },
66
- "&.is-active": {
67
- backgroundColor: token.colorPrimaryBg
68
- },
69
- "&:not(:first-child)": {
70
- borderLeft: "none"
71
- },
72
- "&:first-child": {
73
- borderTopLeftRadius: token.borderRadiusSM,
74
- borderBottomLeftRadius: token.borderRadiusSM
75
- },
76
- "&:last-child": {
77
- borderTopRightRadius: token.borderRadiusSM,
78
- borderBottomRightRadius: token.borderRadiusSM
79
- }
80
- }
50
+ columnGap: token.padding,
51
+ paddingInline: token.paddingXS,
52
+ paddingBlock: token.paddingXXS,
53
+ border: `${token.lineWidth} ${token.lineType} ${token.colorBorderSecondary}`,
54
+ borderRadius: token.borderRadius,
55
+ backgroundColor: token.colorBgElevated,
56
+ boxShadow: token.boxShadow,
57
+ transform: `translate(-50%, -4px)`
81
58
  },
82
59
  [`${componentCls}-size`]: {
83
60
  position: "absolute",
@@ -1,14 +1,15 @@
1
- import { defineComponent, useTemplateRef, inject, ref, shallowRef, watch, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, Fragment, renderList, createVNode, toDisplayString } from 'vue';
1
+ import { defineComponent, useTemplateRef, inject, ref, shallowRef, watch, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, Fragment, renderList, createVNode, withCtx, toDisplayString } from 'vue';
2
2
  import Quill from 'quill';
3
3
  import stdin_default$1 from './resize.style.js';
4
4
  import { getAlign, mapIcons, onDrag, setAlignStyle } from './resize.js';
5
5
  import { Icon as _Icon } from '../../../icon/index.js';
6
+ import stdin_default$3 from '../button.vue.js';
7
+ import stdin_default$2 from '../button-group.vue.js';
6
8
  import { editorContextKey } from '../../quillContext.js';
7
9
  import { useRectObserver } from '../../../../hooks/useRectObserver.js';
8
10
  import { useComponentConfig } from '../../../config-provider/config-provider.js';
9
11
 
10
12
  const _hoisted_1 = ["onPointerdown", "onPointermove", "onPointerup", "onPointercancel"];
11
- const _hoisted_2 = ["onClick"];
12
13
  var stdin_default = /* @__PURE__ */defineComponent({
13
14
  __name: "resize",
14
15
  setup(__props) {
@@ -171,18 +172,24 @@ var stdin_default = /* @__PURE__ */defineComponent({
171
172
  }), 64
172
173
  /* STABLE_FRAGMENT */)), createElementVNode("div", {
173
174
  class: normalizeClass(`${unref(prefixCls)}-align`)
174
- }, [(openBlock(), createElementBlock(Fragment, null, renderList(aligns, align => {
175
- return createElementVNode("div", {
176
- key: align,
177
- class: normalizeClass([`${unref(prefixCls)}-align-btn`, `${unref(prefixCls)}-align-${align}`, {
178
- "is-active": align === currentAlign.value
179
- }]),
180
- onClick: $event => onAlignClick(align)
181
- }, [createVNode(unref(_Icon), {
182
- name: unref(mapIcons)[align]
183
- }, null, 8, ["name"])], 10, _hoisted_2);
184
- }), 64
185
- /* STABLE_FRAGMENT */))], 2
175
+ }, [createVNode(stdin_default$2, null, {
176
+ default: withCtx(() => [(openBlock(), createElementBlock(Fragment, null, renderList(aligns, align => {
177
+ return createVNode(stdin_default$3, {
178
+ key: align,
179
+ active: align === currentAlign.value,
180
+ onClick: $event => onAlignClick(align)
181
+ }, {
182
+ default: withCtx(() => [createVNode(unref(_Icon), {
183
+ name: unref(mapIcons)[align]
184
+ }, null, 8, ["name"])]),
185
+ _: 2
186
+ /* DYNAMIC */
187
+ }, 1032, ["active", "onClick"]);
188
+ }), 64
189
+ /* STABLE_FRAGMENT */))]),
190
+ _: 1
191
+ /* STABLE */
192
+ })], 2
186
193
  /* CLASS */), createElementVNode("div", {
187
194
  class: normalizeClass([`${unref(prefixCls)}-size`, {
188
195
  "is-outside": isOutSize.value
@@ -1,17 +1,10 @@
1
- import { Icon } from '../../icon';
2
1
  type __VLS_Props = {
3
2
  width?: string;
4
3
  };
5
- declare const prefixCls: import("vue").ComputedRef<string>;
6
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
4
  declare var __VLS_1: {};
8
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
5
+ type __VLS_Slots = {} & {
9
6
  default?: (props: typeof __VLS_1) => any;
10
- }>;
11
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
12
- Icon: typeof Icon;
13
- prefixCls: typeof prefixCls;
14
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ };
15
8
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
9
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
10
  export default _default;
@@ -35,7 +35,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
35
35
  }, [renderSlot(_ctx.$slots, "default")], 2
36
36
  /* CLASS */), createVNode(unref(_Icon), {
37
37
  class: normalizeClass(`${unref(prefixCls)}-arrow`),
38
- name: "mdi:chevron-down",
38
+ name: "co:chevron-down",
39
39
  size: "lg"
40
40
  }, null, 8, ["class"])], 6
41
41
  /* CLASS, STYLE */);
@@ -1,28 +1,11 @@
1
- import { Icon } from '../../icon';
2
1
  type __VLS_Props = {
3
2
  chevronActive?: boolean;
4
3
  active?: boolean;
5
4
  };
6
- declare const prefixCls: import("vue").ComputedRef<string>;
7
- declare const onBtnClick: (event: MouseEvent) => void;
8
- declare const onChevronClick: (event: MouseEvent) => void;
9
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
5
  declare var __VLS_1: {};
11
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
6
+ type __VLS_Slots = {} & {
12
7
  default?: (props: typeof __VLS_1) => any;
13
- }>;
14
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
15
- Icon: typeof Icon;
16
- prefixCls: typeof prefixCls;
17
- onBtnClick: typeof onBtnClick;
18
- onChevronClick: typeof onChevronClick;
19
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
- click: (event: MouseEvent) => any;
21
- "chevron-click": (event: MouseEvent) => any;
22
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
23
- onClick?: ((event: MouseEvent) => any) | undefined;
24
- "onChevron-click"?: ((event: MouseEvent) => any) | undefined;
25
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ };
26
9
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
27
10
  click: (event: MouseEvent) => any;
28
11
  "chevron-click": (event: MouseEvent) => any;
@@ -57,7 +57,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
57
57
  onClick: onChevronClick
58
58
  }, [createVNode(unref(_Icon), {
59
59
  class: normalizeClass(`${unref(prefixCls)}-arrow`),
60
- name: "mdi:chevron-down",
60
+ name: "co:chevron-down",
61
61
  size: "lg"
62
62
  }, null, 8, ["class"])], 2
63
63
  /* CLASS */)], 2
@@ -1,4 +1,4 @@
1
- declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, theme?: import("vue").ComputedRef<import("../../..").ThemeConfig | undefined>) => {
1
+ declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../../theme/theme-context").ThemeManager) => {
2
2
  hashId: import("vue").Ref<string, string>;
3
3
  };
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, useTemplateRef, watch, computed, inject, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createVNode, createCommentVNode, withCtx } from 'vue';
1
+ import { defineComponent, ref, useTemplateRef, watch, computed, inject, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createVNode, withCtx } from 'vue';
2
2
  import { offset, flip, shift } from '@floating-ui/dom';
3
3
  import stdin_default$1 from './table-toolbar.style.js';
4
4
  import { Icon as _Icon } from '../../../icon/index.js';
@@ -110,7 +110,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
110
110
  onClick: _cache[0] || (_cache[0] = $event => table.insertRowAbove())
111
111
  }, {
112
112
  default: withCtx(() => [createVNode(unref(_Icon), {
113
- name: "mdi:table-row-plus-before"
113
+ name: "co:table-row-plus-before"
114
114
  })]),
115
115
  _: 1
116
116
  /* STABLE */
@@ -118,7 +118,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
118
118
  onClick: _cache[1] || (_cache[1] = $event => table.insertRowBelow())
119
119
  }, {
120
120
  default: withCtx(() => [createVNode(unref(_Icon), {
121
- name: "mdi:table-row-plus-after"
121
+ name: "co:table-row-plus-after"
122
122
  })]),
123
123
  _: 1
124
124
  /* STABLE */
@@ -126,7 +126,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
126
126
  onClick: _cache[2] || (_cache[2] = $event => table.deleteRow())
127
127
  }, {
128
128
  default: withCtx(() => [createVNode(unref(_Icon), {
129
- name: "mdi:table-row-remove"
129
+ name: "co:table-row-remove"
130
130
  })]),
131
131
  _: 1
132
132
  /* STABLE */
@@ -138,7 +138,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
138
138
  onClick: _cache[3] || (_cache[3] = $event => table.insertColumnLeft())
139
139
  }, {
140
140
  default: withCtx(() => [createVNode(unref(_Icon), {
141
- name: "mdi:table-column-plus-before"
141
+ name: "co:table-column-plus-before"
142
142
  })]),
143
143
  _: 1
144
144
  /* STABLE */
@@ -146,7 +146,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
146
146
  onClick: _cache[4] || (_cache[4] = $event => table.insertColumnRight())
147
147
  }, {
148
148
  default: withCtx(() => [createVNode(unref(_Icon), {
149
- name: "mdi:table-column-plus-after"
149
+ name: "co:table-column-plus-after"
150
150
  })]),
151
151
  _: 1
152
152
  /* STABLE */
@@ -154,19 +154,19 @@ var stdin_default = /* @__PURE__ */defineComponent({
154
154
  onClick: _cache[5] || (_cache[5] = $event => table.deleteColumn())
155
155
  }, {
156
156
  default: withCtx(() => [createVNode(unref(_Icon), {
157
- name: "mdi:table-column-remove"
157
+ name: "co:table-column-remove"
158
158
  })]),
159
159
  _: 1
160
160
  /* STABLE */
161
161
  })]),
162
162
  _: 1
163
163
  /* STABLE */
164
- }), createCommentVNode(' <ButtonGroup>\n <Button @click="table.setTopHeader()">\n <Icon name="mdi:table-large" />\n </Button>\n <Button @click="table.setLeftHeader()">\n <Icon name="mdi:table-large" style="transform: rotate(-90deg)" />\n </Button>\n </ButtonGroup> '), createVNode(stdin_default$2, null, {
164
+ }), createVNode(stdin_default$2, null, {
165
165
  default: withCtx(() => [createVNode(stdin_default$3, {
166
166
  onClick: _cache[6] || (_cache[6] = $event => table.deleteTable())
167
167
  }, {
168
168
  default: withCtx(() => [createVNode(unref(_Icon), {
169
- name: "mdi:table-remove"
169
+ name: "co:table-remove"
170
170
  })]),
171
171
  _: 1
172
172
  /* STABLE */
@@ -19,10 +19,10 @@ var stdin_default = /* @__PURE__ */defineComponent({
19
19
  } = inject(toolbarContextKey);
20
20
  const isActive = ref(false);
21
21
  const mapIcons = {
22
- left: "mdi:format-align-left",
23
- center: "mdi:format-align-center",
24
- right: "mdi:format-align-right",
25
- justify: "mdi:format-align-justify"
22
+ left: "co:text-align-left",
23
+ center: "co:text-align-center",
24
+ right: "co:text-align-right",
25
+ justify: "co:text-align-justify"
26
26
  };
27
27
  watch(toolbar, toolbar2 => {
28
28
  if (toolbar2) {
@@ -27,7 +27,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
27
27
  onClick: _cache[0] || (_cache[0] = $event => unref(toolbar)?.blockquote(!isActive.value))
28
28
  }, {
29
29
  default: withCtx(() => [createVNode(unref(stdin_default$2), {
30
- name: "mdi:format-quote-open"
30
+ name: "co:quotes"
31
31
  })]),
32
32
  _: 1
33
33
  /* STABLE */
@@ -27,7 +27,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
27
27
  onClick: _cache[0] || (_cache[0] = $event => unref(toolbar)?.bold(!isActive.value))
28
28
  }, {
29
29
  default: withCtx(() => [createVNode(unref(stdin_default$2), {
30
- name: "mdi:format-bold"
30
+ name: "co:text-bold"
31
31
  })]),
32
32
  _: 1
33
33
  /* STABLE */
@@ -14,7 +14,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
14
14
  onClick: _cache[0] || (_cache[0] = $event => unref(toolbar)?.clean())
15
15
  }, {
16
16
  default: withCtx(() => [createVNode(unref(stdin_default$2), {
17
- name: "mdi:format-clear"
17
+ name: "co:text-clear-format"
18
18
  })]),
19
19
  _: 1
20
20
  /* STABLE */
@@ -27,7 +27,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
27
27
  onClick: _cache[0] || (_cache[0] = $event => unref(toolbar)?.codeBlock(!isActive.value))
28
28
  }, {
29
29
  default: withCtx(() => [createVNode(unref(stdin_default$2), {
30
- name: "mdi:code-braces"
30
+ name: "co:code-block"
31
31
  })]),
32
32
  _: 1
33
33
  /* STABLE */
@@ -27,7 +27,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
27
27
  onClick: _cache[0] || (_cache[0] = $event => unref(toolbar)?.code(!isActive.value))
28
28
  }, {
29
29
  default: withCtx(() => [createVNode(unref(stdin_default$2), {
30
- name: "mdi:code-tags"
30
+ name: "co:code"
31
31
  })]),
32
32
  _: 1
33
33
  /* STABLE */
@@ -51,7 +51,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
51
51
  onClick: onBtnClick
52
52
  }, {
53
53
  default: withCtx(() => [createVNode(unref(stdin_default$2), {
54
- name: "mdi:function-variant"
54
+ name: "co:function-math"
55
55
  })]),
56
56
  _: 1
57
57
  /* STABLE */
@@ -79,6 +79,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
79
79
  }, {
80
80
  default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(formulas), item => {
81
81
  return openBlock(), createBlock(unref(ElButton), {
82
+ key: item.formula,
82
83
  onClick: $event => formModel.formula = item.formula
83
84
  }, {
84
85
  default: withCtx(() => [createTextVNode(toDisplayString(item.name), 1
@@ -86,8 +87,8 @@ var stdin_default = /* @__PURE__ */defineComponent({
86
87
  _: 2
87
88
  /* DYNAMIC */
88
89
  }, 1032, ["onClick"]);
89
- }), 256
90
- /* UNKEYED_FRAGMENT */))]),
90
+ }), 128
91
+ /* KEYED_FRAGMENT */))]),
91
92
  _: 1
92
93
  /* STABLE */
93
94
  })]),
@@ -14,7 +14,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
14
14
  onClick: _cache[0] || (_cache[0] = $event => unref(toolbar)?.image())
15
15
  }, {
16
16
  default: withCtx(() => [createVNode(unref(stdin_default$2), {
17
- name: "mdi:image-outline"
17
+ name: "co:image"
18
18
  })]),
19
19
  _: 1
20
20
  /* STABLE */
@@ -13,8 +13,8 @@ var stdin_default = /* @__PURE__ */defineComponent({
13
13
  },
14
14
  setup(__props) {
15
15
  const mapIcons = {
16
- "-1": "mdi:format-indent-decrease",
17
- "+1": "mdi:format-indent-increase"
16
+ "-1": "co:text-indent-less",
17
+ "+1": "co:text-indent-more"
18
18
  };
19
19
  const {
20
20
  toolbar
@@ -27,7 +27,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
27
27
  onClick: _cache[0] || (_cache[0] = $event => unref(toolbar)?.italic(!isActive.value))
28
28
  }, {
29
29
  default: withCtx(() => [createVNode(unref(stdin_default$2), {
30
- name: "mdi:format-italic"
30
+ name: "co:text-italic"
31
31
  })]),
32
32
  _: 1
33
33
  /* STABLE */