koishi-plugin-drf 0.0.1

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.
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ import{resolveComponent as r,createBlock as a,openBlock as s,withCtx as _,createTextVNode as p}from"vue";const l=(t,e)=>{const o=t.__vccOpts||t;for(const[n,c]of e)o[n]=c;return o},u={};function f(t,e){const o=r("k-layout");return s(),a(o,null,{default:_(()=>[...e[0]||(e[0]=[p("扩展内容",-1)])]),_:1})}const m=l(u,[["render",f]]),x=t=>{t.page({name:"扩展页面",path:"/custom-page",component:m})};export{x as default};
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+
package/lib/index.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ import { Context, Schema } from 'koishi';
2
+ export declare const name = "function-plotter";
3
+ export interface Config {
4
+ width: number;
5
+ height: number;
6
+ xMin: number;
7
+ xMax: number;
8
+ step: number;
9
+ backgroundColor: string;
10
+ lineColor: string;
11
+ gridColor: string;
12
+ showGrid: boolean;
13
+ }
14
+ export declare const Config: Schema<Config>;
15
+ export declare function apply(ctx: Context, config: Config): void;
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "koishi-plugin-drf",
3
+ "description": "draw math function in your group",
4
+ "version": "0.0.1",
5
+ "main": "lib/index.js",
6
+ "typings": "lib/index.d.ts",
7
+ "files": [
8
+ "lib",
9
+ "dist"
10
+ ],
11
+ "license": "MIT",
12
+ "keywords": [
13
+ "chatbot",
14
+ "koishi",
15
+ "plugin",
16
+ "math",
17
+ "function",
18
+ "draw",
19
+ "函数",
20
+ "绘图"
21
+ ],
22
+ "contributors": [
23
+ "Duo xngc2021@gmail.com"
24
+ ],
25
+ "devDependencies": {
26
+ "@koishijs/client": "^5.30.4"
27
+ },
28
+ "peerDependencies": {
29
+ "@koishijs/plugin-console": "^5.30.4",
30
+ "koishi": "^4.18.7"
31
+ },
32
+ "koishi": {
33
+ "description": {
34
+ "en": "draw math function in your group",
35
+ "zh": "在你的群组中绘制函数图像"
36
+ }
37
+ }
38
+ }
package/readme.md ADDED
@@ -0,0 +1,5 @@
1
+ # koishi-plugin-drf
2
+
3
+ [![npm](https://img.shields.io/npm/v/koishi-plugin-drf?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-drf)
4
+
5
+ draw math function in your group