upper to timi-ts
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import view from "./index.vue";
|
||||
import { Toolkit } from "timi-web";
|
||||
import { WebToolkit } from "timi-web";
|
||||
import type { Article } from "./types";
|
||||
|
||||
export type {
|
||||
@@ -14,5 +14,5 @@ export type ArticleEditorExpose = {
|
||||
getPendingMediaCount: () => number;
|
||||
};
|
||||
|
||||
export const ArticleEditor = Toolkit.withInstall(view);
|
||||
export const ArticleEditor = WebToolkit.withInstall(view);
|
||||
export default ArticleEditor;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import view from "./index.vue";
|
||||
import { Toolkit } from "timi-web";
|
||||
import { WebToolkit } from "timi-web";
|
||||
import "./style.less";
|
||||
|
||||
export type CodeEditorScrollState = {
|
||||
@@ -21,5 +21,5 @@ export type CodeEditorExpose = {
|
||||
textareaRef?: HTMLTextAreaElement;
|
||||
};
|
||||
|
||||
export const CodeEditor = Toolkit.withInstall(view);
|
||||
export const CodeEditor = WebToolkit.withInstall(view);
|
||||
export default CodeEditor;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import view from "./index.vue";
|
||||
import { Toolkit } from "timi-web";
|
||||
import { WebToolkit } from "timi-web";
|
||||
import type { NotifyDetail } from "./types";
|
||||
|
||||
export type { NotifyContentType, NotifyDetail } from "./types";
|
||||
@@ -9,5 +9,5 @@ export type NotifyEditorExpose = {
|
||||
getPendingMediaCount: () => number;
|
||||
};
|
||||
|
||||
export const NotifyEditor = Toolkit.withInstall(view);
|
||||
export const NotifyEditor = WebToolkit.withInstall(view);
|
||||
export default NotifyEditor;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import view from "./index.vue";
|
||||
import { Toolkit } from "timi-web";
|
||||
import { WebToolkit } from "timi-web";
|
||||
import type { TiptapEditorInstance } from "timi-web/editor";
|
||||
|
||||
export * from "timi-web/editor";
|
||||
@@ -15,5 +15,5 @@ export type TiptapEditorExpose = {
|
||||
editor?: TiptapEditorInstance;
|
||||
};
|
||||
|
||||
export const TiptapEditor = Toolkit.withInstall(view);
|
||||
export const TiptapEditor = WebToolkit.withInstall(view);
|
||||
export default TiptapEditor;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user