upper to timi-ts

This commit is contained in:
Timi
2026-08-28 15:19:31 +08:00
parent 7ef7653deb
commit b12cc2c243
10 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
import type { Article } from "./types"; import type { Article } from "./types";
export type { export type {
@@ -14,5 +14,5 @@ export type ArticleEditorExpose = {
getPendingMediaCount: () => number; getPendingMediaCount: () => number;
}; };
export const ArticleEditor = Toolkit.withInstall(view); export const ArticleEditor = WebToolkit.withInstall(view);
export default ArticleEditor; export default ArticleEditor;
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
export const ArticleView = Toolkit.withInstall(view); export const ArticleView = WebToolkit.withInstall(view);
export default ArticleView; export default ArticleView;
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
export const BottomPopup = Toolkit.withInstall(view); export const BottomPopup = WebToolkit.withInstall(view);
export default BottomPopup; export default BottomPopup;
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
import "./style.less"; import "./style.less";
export type CodeEditorScrollState = { export type CodeEditorScrollState = {
@@ -21,5 +21,5 @@ export type CodeEditorExpose = {
textareaRef?: HTMLTextAreaElement; textareaRef?: HTMLTextAreaElement;
}; };
export const CodeEditor = Toolkit.withInstall(view); export const CodeEditor = WebToolkit.withInstall(view);
export default CodeEditor; export default CodeEditor;
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
export const DurationPicker = Toolkit.withInstall(view); export const DurationPicker = WebToolkit.withInstall(view);
export default DurationPicker; export default DurationPicker;
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
import type { NotifyDetail } from "./types"; import type { NotifyDetail } from "./types";
export type { NotifyContentType, NotifyDetail } from "./types"; export type { NotifyContentType, NotifyDetail } from "./types";
@@ -9,5 +9,5 @@ export type NotifyEditorExpose = {
getPendingMediaCount: () => number; getPendingMediaCount: () => number;
}; };
export const NotifyEditor = Toolkit.withInstall(view); export const NotifyEditor = WebToolkit.withInstall(view);
export default NotifyEditor; export default NotifyEditor;
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
export const NotifyView = Toolkit.withInstall(view); export const NotifyView = WebToolkit.withInstall(view);
export default NotifyView; export default NotifyView;
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
export const RootLayout = Toolkit.withInstall(view); export const RootLayout = WebToolkit.withInstall(view);
export default RootLayout; export default RootLayout;
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
import type { TiptapEditorInstance } from "timi-web/editor"; import type { TiptapEditorInstance } from "timi-web/editor";
export * from "timi-web/editor"; export * from "timi-web/editor";
@@ -15,5 +15,5 @@ export type TiptapEditorExpose = {
editor?: TiptapEditorInstance; editor?: TiptapEditorInstance;
}; };
export const TiptapEditor = Toolkit.withInstall(view); export const TiptapEditor = WebToolkit.withInstall(view);
export default TiptapEditor; export default TiptapEditor;
+2 -2
View File
@@ -1,5 +1,5 @@
import view from "./index.vue"; import view from "./index.vue";
import { Toolkit } from "timi-web"; import { WebToolkit } from "timi-web";
export const TiptapView = Toolkit.withInstall(view); export const TiptapView = WebToolkit.withInstall(view);
export default TiptapView; export default TiptapView;