@epie/bi-crud 2.0.2 → 2.0.3
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/README.md +2 -1
- package/lib/bi-crud.esm.js +19695 -0
- package/lib/bi-crud.umd.js +19716 -0
- package/{types → lib}/components/add-btn.d.ts +2 -2
- package/{types → lib}/components/adv-btn.d.ts +2 -2
- package/{types → lib}/components/adv-search.d.ts +48 -48
- package/{types → lib}/components/context-menu/index.d.ts +54 -55
- package/{types → lib}/components/crud/helper.d.ts +16 -15
- package/lib/components/crud/index.d.ts +103 -0
- package/{types → lib}/components/dialog/index.d.ts +79 -79
- package/{types → lib}/components/error-message.d.ts +6 -6
- package/lib/components/export-btn.d.ts +11 -0
- package/{types → lib}/components/filter-group.d.ts +41 -41
- package/{types → lib}/components/filter.d.ts +6 -6
- package/{types → lib}/components/flex1.d.ts +2 -2
- package/{types → lib}/components/form/helper.d.ts +28 -28
- package/{types → lib}/components/form/index.d.ts +11 -11
- package/{types → lib}/components/form-tabs.d.ts +44 -44
- package/{types → lib}/components/index.d.ts +2 -2
- package/lib/components/inline-search/helper.d.ts +6 -0
- package/lib/components/inline-search/index.d.ts +41 -0
- package/{types → lib}/components/multi-delete-btn.d.ts +2 -2
- package/{types → lib}/components/pagination.d.ts +9 -9
- package/{types → lib}/components/query.d.ts +35 -35
- package/{types → lib}/components/refresh-btn.d.ts +2 -2
- package/{types → lib}/components/search-key.d.ts +41 -41
- package/{types → lib}/components/table/helper.d.ts +23 -23
- package/{types → lib}/components/table/index.d.ts +59 -59
- package/{types → lib}/components/upsert/index.d.ts +58 -58
- package/lib/css/bi-crud.min.css +1 -0
- package/lib/emitter.d.ts +3 -0
- package/{types → lib}/hooks/browser.d.ts +4 -4
- package/{types → lib}/hooks/core.d.ts +13 -13
- package/{types → lib}/hooks/crud.d.ts +13 -13
- package/{types → lib}/hooks/form.d.ts +6 -6
- package/{types → lib}/hooks/index.d.ts +4 -4
- package/{types → lib}/hooks/proxy.d.ts +1 -1
- package/{types → lib}/index.d.ts +10 -10
- package/lib/types/base/adv-search.d.ts +15 -0
- package/lib/types/base/browser.d.ts +4 -0
- package/lib/types/base/context-menu.d.ts +31 -0
- package/lib/types/base/crud.d.ts +130 -0
- package/lib/types/base/element-plus.d.ts +15 -0
- package/lib/types/base/emitter.d.ts +14 -0
- package/lib/types/base/form.d.ts +101 -0
- package/lib/types/base/hook.d.ts +8 -0
- package/lib/types/base/index.d.ts +11 -0
- package/{types/types → lib/types/base}/render.d.ts +2 -1
- package/lib/types/base/table.d.ts +85 -0
- package/{types/types → lib/types/base}/test.d.ts +1 -1
- package/lib/types/base/upsert.d.ts +24 -0
- package/{types → lib/types}/emitter.d.ts +3 -3
- package/lib/types/index.d.ts +3 -0
- package/{types → lib}/utils/index.d.ts +18 -18
- package/{types → lib}/utils/mitt.d.ts +9 -9
- package/{types → lib}/utils/parse.d.ts +8 -8
- package/{types → lib}/utils/test.d.ts +23 -23
- package/{types → lib}/utils/vnode.d.ts +16 -16
- package/package.json +62 -15
- package/dist/demo.html +0 -1
- package/dist/index.common.js +0 -22408
- package/dist/index.common.js.map +0 -1
- package/dist/index.css +0 -2
- package/dist/index.umd.js +0 -22435
- package/dist/index.umd.js.map +0 -1
- package/dist/index.umd.min.js +0 -20
- package/dist/index.umd.min.js.map +0 -1
- package/index.d.ts +0 -479
- package/types/components/context-menu/context-menu.d.ts +0 -44
- package/types/components/crud/index.d.ts +0 -184
- package/types/components/custom-column.d.ts +0 -37
- package/types/types/adv-search.d.ts +0 -16
- package/types/types/browser.d.ts +0 -4
- package/types/types/context-menu.d.ts +0 -26
- package/types/types/crud.d.ts +0 -137
- package/types/types/element-plus.d.ts +0 -15
- package/types/types/emitter.d.ts +0 -16
- package/types/types/form.d.ts +0 -112
- package/types/types/hook.d.ts +0 -18
- package/types/types/index.d.ts +0 -1
- package/types/types/table.d.ts +0 -91
- package/types/types/upsert.d.ts +0 -29
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Ref as VueRef } from "vue";
|
|
2
|
+
import { fun, NSClContextMenu, Render } from ".";
|
|
3
|
+
export declare namespace ClTable {
|
|
4
|
+
type Dict = Array<{
|
|
5
|
+
label: string;
|
|
6
|
+
value?: any;
|
|
7
|
+
type?: "success" | "warning" | "info" | "danger";
|
|
8
|
+
size?: "medium" | "default" | "small";
|
|
9
|
+
effect?: "dark" | "light" | "plain";
|
|
10
|
+
color?: string;
|
|
11
|
+
}> | VueRef<Dict>;
|
|
12
|
+
interface Column {
|
|
13
|
+
type?: "index" | "selection" | "expand" | "op";
|
|
14
|
+
hidden?: boolean;
|
|
15
|
+
component?: Render.Options;
|
|
16
|
+
dict?: Array<{
|
|
17
|
+
label: string;
|
|
18
|
+
value?: any;
|
|
19
|
+
type?: "success" | "warning" | "info" | "danger";
|
|
20
|
+
size?: "medium" | "default" | "small";
|
|
21
|
+
effect?: "dark" | "light" | "plain";
|
|
22
|
+
color?: string;
|
|
23
|
+
}>;
|
|
24
|
+
buttons?: Array<"edit" | "delete" | Render.OpButton>;
|
|
25
|
+
align?: "left" | "center" | "right";
|
|
26
|
+
label?: string;
|
|
27
|
+
className?: string;
|
|
28
|
+
prop?: string;
|
|
29
|
+
width?: number;
|
|
30
|
+
minWidth?: number | string;
|
|
31
|
+
renderHeader?: fun;
|
|
32
|
+
sortable?: boolean | "desc" | "descending" | "ascending" | "asc" | "custom" | string;
|
|
33
|
+
sortMethod?: fun;
|
|
34
|
+
sortBy?: string | fun | unknown[];
|
|
35
|
+
resizable?: {
|
|
36
|
+
type: boolean;
|
|
37
|
+
default: true;
|
|
38
|
+
};
|
|
39
|
+
columnKey?: string;
|
|
40
|
+
headerAlign?: string;
|
|
41
|
+
showOverflowTooltip?: boolean;
|
|
42
|
+
fixed?: boolean | string;
|
|
43
|
+
formatter?: ((row: any, column: any, value: any, index: number) => any) | undefined;
|
|
44
|
+
selectable?: fun;
|
|
45
|
+
reserveSelection?: boolean;
|
|
46
|
+
filterMethod?: fun;
|
|
47
|
+
filteredValue?: unknown[];
|
|
48
|
+
filters?: unknown[];
|
|
49
|
+
filterPlacement?: string;
|
|
50
|
+
filterMultiple?: {
|
|
51
|
+
type: boolean;
|
|
52
|
+
default: true;
|
|
53
|
+
};
|
|
54
|
+
index?: number | fun;
|
|
55
|
+
sortOrders?: unknown[];
|
|
56
|
+
}
|
|
57
|
+
interface Props {
|
|
58
|
+
columns: Column[];
|
|
59
|
+
contextMenu?: boolean | Array<NSClContextMenu.Item | ((row: any) => NSClContextMenu.Item) | "refresh" | "check" | "update" | "edit" | "delete" | "order-desc" | "order-asc">;
|
|
60
|
+
}
|
|
61
|
+
interface Ref {
|
|
62
|
+
selection: any[];
|
|
63
|
+
data: any[];
|
|
64
|
+
columns: Column[];
|
|
65
|
+
showColumn(prop: string | string[], status?: boolean): void;
|
|
66
|
+
hideColumn(prop: string | string[]): void;
|
|
67
|
+
changeSort(prop: string, order: string): void;
|
|
68
|
+
clearSelection(): void;
|
|
69
|
+
getSelectionRows(): any[];
|
|
70
|
+
toggleRowSelection(row: any, selected: any[]): void;
|
|
71
|
+
toggleAllSelection(): void;
|
|
72
|
+
toggleRowExpansion(row: any, expanded: any[]): void;
|
|
73
|
+
setCurrentRow(row: any): void;
|
|
74
|
+
clearSort(): void;
|
|
75
|
+
clearFilter(columnKeys: string[]): void;
|
|
76
|
+
doLayout(): void;
|
|
77
|
+
sort(prop: string, order: string): void;
|
|
78
|
+
scrollTo(position: {
|
|
79
|
+
top?: number;
|
|
80
|
+
left?: number;
|
|
81
|
+
}): void;
|
|
82
|
+
setScrollTop(top: number): void;
|
|
83
|
+
setScrollLeft(left: number): void;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ClForm, fun, ClCrud } from ".";
|
|
2
|
+
export declare namespace ClUpsert {
|
|
3
|
+
interface Props {
|
|
4
|
+
items: ClForm.Item[];
|
|
5
|
+
props?: ClForm.Options["props"];
|
|
6
|
+
sync?: boolean;
|
|
7
|
+
op?: ClForm.Options["op"];
|
|
8
|
+
dialog?: ClForm.Options["dialog"];
|
|
9
|
+
onOpen?(isEdit: boolean, data: any): void;
|
|
10
|
+
onClose?(done: fun): void;
|
|
11
|
+
onInfo?(data: ClCrud.Service["info"]["params"], event: {
|
|
12
|
+
close: fun;
|
|
13
|
+
done(data: any): void;
|
|
14
|
+
next: ClCrud.Service["info"]["request"];
|
|
15
|
+
}): void;
|
|
16
|
+
onSubmit?(isEdit: boolean, data: any, event: {
|
|
17
|
+
close: fun;
|
|
18
|
+
done: fun;
|
|
19
|
+
next: ClCrud.Service["upsert"]["request"];
|
|
20
|
+
}): void;
|
|
21
|
+
}
|
|
22
|
+
interface Ref extends ClForm.Ref {
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const crudList: ClCrud.Ref[];
|
|
3
|
-
export declare const emitter: Emitter;
|
|
1
|
+
import { ClCrud, Emitter } from ".";
|
|
2
|
+
export declare const crudList: ClCrud.Ref[];
|
|
3
|
+
export declare const emitter: Emitter;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import cloneDeep from "clone-deep";
|
|
2
|
-
import flat from "array.prototype.flat";
|
|
3
|
-
import merge from "merge";
|
|
4
|
-
export declare function isArray(value: any): boolean;
|
|
5
|
-
export declare function isObject(value: any): boolean;
|
|
6
|
-
export declare function isNumber(value: any): boolean;
|
|
7
|
-
export declare function isFunction(value: any): boolean;
|
|
8
|
-
export declare function isString(value: any): boolean;
|
|
9
|
-
export declare function isNull(value: any): boolean;
|
|
10
|
-
export declare function isBoolean(value: any): boolean;
|
|
11
|
-
export declare function isEmpty(value: any): boolean;
|
|
12
|
-
export declare function clone(obj: any): any;
|
|
13
|
-
export declare function dataset(obj: any, key: string, value: any): any;
|
|
14
|
-
export declare function contains(parent: any, node: any): any;
|
|
15
|
-
export declare function deepMerge(a: any, b: any): any;
|
|
16
|
-
export declare function addClass(el: Element, name: string): void;
|
|
17
|
-
export declare function removeClass(el: Element, name: string): void;
|
|
18
|
-
export { cloneDeep, flat, merge };
|
|
1
|
+
import cloneDeep from "clone-deep";
|
|
2
|
+
import flat from "array.prototype.flat";
|
|
3
|
+
import merge from "merge";
|
|
4
|
+
export declare function isArray(value: any): boolean;
|
|
5
|
+
export declare function isObject(value: any): boolean;
|
|
6
|
+
export declare function isNumber(value: any): boolean;
|
|
7
|
+
export declare function isFunction(value: any): boolean;
|
|
8
|
+
export declare function isString(value: any): boolean;
|
|
9
|
+
export declare function isNull(value: any): boolean;
|
|
10
|
+
export declare function isBoolean(value: any): boolean;
|
|
11
|
+
export declare function isEmpty(value: any): boolean;
|
|
12
|
+
export declare function clone(obj: any): any;
|
|
13
|
+
export declare function dataset(obj: any, key: string, value: any): any;
|
|
14
|
+
export declare function contains(parent: any, node: any): any;
|
|
15
|
+
export declare function deepMerge(a: any, b: any): any;
|
|
16
|
+
export declare function addClass(el: Element, name: string): void;
|
|
17
|
+
export declare function removeClass(el: Element, name: string): void;
|
|
18
|
+
export { cloneDeep, flat, merge };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare class Emitter {
|
|
2
|
-
id: number;
|
|
3
|
-
constructor(id?: number);
|
|
4
|
-
send(type: string, name: string, ...args: any[]): void;
|
|
5
|
-
on(name: string, ...args: any[]): void;
|
|
6
|
-
emit(name: string, ...args: any[]): void;
|
|
7
|
-
off(name: string, ...args: any[]): void;
|
|
8
|
-
}
|
|
9
|
-
export default Emitter;
|
|
1
|
+
declare class Emitter {
|
|
2
|
+
id: number;
|
|
3
|
+
constructor(id?: number);
|
|
4
|
+
send(type: string, name: string, ...args: any[]): void;
|
|
5
|
+
on(name: string, ...args: any[]): void;
|
|
6
|
+
emit(name: string, ...args: any[]): void;
|
|
7
|
+
off(name: string, ...args: any[]): void;
|
|
8
|
+
}
|
|
9
|
+
export default Emitter;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* parse hidden
|
|
3
|
-
* 1 Boolean
|
|
4
|
-
* 2 Function({ scope })
|
|
5
|
-
* 3 :[prop] is bind form[prop] value
|
|
6
|
-
* @param {*} value
|
|
7
|
-
*/
|
|
8
|
-
export default function (method: string, { value, scope, data }: any): any;
|
|
1
|
+
/**
|
|
2
|
+
* parse hidden
|
|
3
|
+
* 1 Boolean
|
|
4
|
+
* 2 Function({ scope })
|
|
5
|
+
* 3 :[prop] is bind form[prop] value
|
|
6
|
+
* @param {*} value
|
|
7
|
+
*/
|
|
8
|
+
export default function (method: string, { value, scope, data }: any): any;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export declare const UserList: ({
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
createTime: string;
|
|
5
|
-
price: number;
|
|
6
|
-
status: number;
|
|
7
|
-
hook: string;
|
|
8
|
-
} | {
|
|
9
|
-
id: number;
|
|
10
|
-
name: string;
|
|
11
|
-
createTime: string;
|
|
12
|
-
price: number;
|
|
13
|
-
status: number;
|
|
14
|
-
hook?: undefined;
|
|
15
|
-
})[];
|
|
16
|
-
export declare const TestService: {
|
|
17
|
-
page: (p: any) => Promise<unknown>;
|
|
18
|
-
list: (p: any) => Promise<unknown>;
|
|
19
|
-
info: (d: any) => Promise<unknown>;
|
|
20
|
-
add: (d: any) => Promise<void>;
|
|
21
|
-
delete: (d: any) => Promise<void>;
|
|
22
|
-
update: (d: any) => Promise<void>;
|
|
23
|
-
};
|
|
1
|
+
export declare const UserList: ({
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
createTime: string;
|
|
5
|
+
price: number;
|
|
6
|
+
status: number;
|
|
7
|
+
hook: string;
|
|
8
|
+
} | {
|
|
9
|
+
id: number;
|
|
10
|
+
name: string;
|
|
11
|
+
createTime: string;
|
|
12
|
+
price: number;
|
|
13
|
+
status: number;
|
|
14
|
+
hook?: undefined;
|
|
15
|
+
})[];
|
|
16
|
+
export declare const TestService: {
|
|
17
|
+
page: (p: any) => Promise<unknown>;
|
|
18
|
+
list: (p: any) => Promise<unknown>;
|
|
19
|
+
info: (d: any) => Promise<unknown>;
|
|
20
|
+
add: (d: any) => Promise<void>;
|
|
21
|
+
delete: (d: any) => Promise<void>;
|
|
22
|
+
update: (d: any) => Promise<void>;
|
|
23
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
interface Options {
|
|
2
|
-
prop?: string;
|
|
3
|
-
scope?: any;
|
|
4
|
-
item?: any;
|
|
5
|
-
slots?: any;
|
|
6
|
-
type?: "table-op" | "form-op";
|
|
7
|
-
render?: "slot" | null;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 渲染节点
|
|
12
|
-
* @param {*} vnode
|
|
13
|
-
* @param {*} options
|
|
14
|
-
*/
|
|
15
|
-
export declare function renderNode(vnode: any, options: Options): any;
|
|
16
|
-
export {};
|
|
1
|
+
interface Options {
|
|
2
|
+
prop?: string;
|
|
3
|
+
scope?: any;
|
|
4
|
+
item?: any;
|
|
5
|
+
slots?: any;
|
|
6
|
+
type?: "table-op" | "form-op";
|
|
7
|
+
render?: "slot" | null;
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 渲染节点
|
|
12
|
+
* @param {*} vnode
|
|
13
|
+
* @param {*} options
|
|
14
|
+
*/
|
|
15
|
+
export declare function renderNode(vnode: any, options: Options): any;
|
|
16
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,17 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epie/bi-crud",
|
|
3
|
-
"
|
|
3
|
+
"simpleName": "bi-crud",
|
|
4
|
+
"version": "2.0.3",
|
|
4
5
|
"private": false,
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
6
|
+
"main": "lib/bi-crud.umd.js",
|
|
7
|
+
"module": "lib/bi-crud.esm.js",
|
|
8
|
+
"typings": "lib/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"lib",
|
|
11
|
+
"types",
|
|
12
|
+
"packages"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./lib/bi-crud.esm.js",
|
|
17
|
+
"require": "./lib/bi-crud.umd.js"
|
|
18
|
+
},
|
|
19
|
+
"./lib/index.css": {
|
|
20
|
+
"import": "./lib/css/bi-crud.min.css",
|
|
21
|
+
"require": "./lib/css/bi-crud.min.css"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
7
24
|
"scripts": {
|
|
8
25
|
"serve": "vue-cli-service serve",
|
|
9
|
-
"build": "vue-cli-service build",
|
|
10
26
|
"lint": "vue-cli-service lint",
|
|
11
|
-
"
|
|
12
|
-
"crud": "tsc && yarn build --target lib --name
|
|
13
|
-
"
|
|
14
|
-
"
|
|
27
|
+
"build:lib": "vue-cli-service build",
|
|
28
|
+
"crud": "tsc && yarn build:lib --target lib --name bi-crud ./src/index.ts",
|
|
29
|
+
"dev": "npm run clean && npm run lint && rollup -c config/rollup.config.js -w --environment NODE_ENV:development,IS_SERVE",
|
|
30
|
+
"build": "npm run clean && rollup -c config/rollup.config.js --environment NODE_ENV:production",
|
|
31
|
+
"build:components": "npm run clean:components && npm run lint && rollup -c config/rollup.config.js --environment NODE_ENV:production,BUILD:components",
|
|
32
|
+
"build:bundle": "npm run clean:bundle && npm run lint && rollup -c config/rollup.config.js --environment NODE_ENV:production,BUILD:bundle",
|
|
33
|
+
"clean": "rimraf ./lib ./dist ./coverage",
|
|
34
|
+
"clean:test": "rimraf ./coverage",
|
|
35
|
+
"clean:bundle": "rimraf ./lib/*.js ./lib/*.js.map",
|
|
36
|
+
"clean:components": "rimraf ./lib/components ",
|
|
37
|
+
"watch": "rollup -c config/rollup.config.js -w --environment NODE_ENV:production --watch.onEnd 'yalc push'"
|
|
15
38
|
},
|
|
16
39
|
"dependencies": {
|
|
17
40
|
"array.prototype.flat": "^1.2.4",
|
|
@@ -19,24 +42,48 @@
|
|
|
19
42
|
"element-plus": "^2.2.6",
|
|
20
43
|
"merge": "^2.1.1",
|
|
21
44
|
"mitt": "^3.0.0",
|
|
45
|
+
"rollup": "^2.76.0",
|
|
22
46
|
"vue": "^3.2.37"
|
|
23
47
|
},
|
|
24
48
|
"devDependencies": {
|
|
49
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
50
|
+
"@rollup/plugin-alias": "^3.1.9",
|
|
51
|
+
"@rollup/plugin-babel": "^5.3.1",
|
|
52
|
+
"@rollup/plugin-commonjs": "^22.0.1",
|
|
53
|
+
"@rollup/plugin-image": "^2.1.1",
|
|
54
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
55
|
+
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
25
56
|
"@types/array.prototype.flat": "^1.2.1",
|
|
26
57
|
"@types/clone-deep": "^4.0.1",
|
|
58
|
+
"@types/html-minifier": "^4.0.2",
|
|
59
|
+
"@vue/babel-plugin-jsx": "^1.1.1",
|
|
27
60
|
"@vue/cli-plugin-babel": "^5.0.1",
|
|
28
61
|
"@vue/cli-plugin-typescript": "^5.0.3",
|
|
29
62
|
"@vue/cli-service": "^5.0.3",
|
|
30
63
|
"@vue/compiler-sfc": "^3.2.31",
|
|
64
|
+
"esbuild": "^0.14.48",
|
|
31
65
|
"node-sass": "^7.0.1",
|
|
32
66
|
"nodemon": "^2.0.19",
|
|
67
|
+
"postcss": "^8.4.14",
|
|
68
|
+
"postcss-import": "^14.1.0",
|
|
69
|
+
"postcss-minify": "^1.1.0",
|
|
70
|
+
"postcss-preset-env": "^7.7.2",
|
|
33
71
|
"prettier": "^2.4.1",
|
|
72
|
+
"rimraf": "^3.0.2",
|
|
73
|
+
"rollup-plugin-browsersync": "^1.3.3",
|
|
74
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
75
|
+
"rollup-plugin-esbuild": "^4.9.1",
|
|
76
|
+
"rollup-plugin-filesize": "^9.1.2",
|
|
77
|
+
"rollup-plugin-html2": "^3.1.0",
|
|
78
|
+
"rollup-plugin-polyfill-node": "^0.10.1",
|
|
79
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
80
|
+
"rollup-plugin-progress": "^1.1.2",
|
|
81
|
+
"rollup-plugin-replace": "^2.2.0",
|
|
82
|
+
"rollup-plugin-scss": "^3.0.0",
|
|
83
|
+
"rollup-plugin-typescript2": "^0.32.1",
|
|
84
|
+
"rollup-plugin-vue": "^6.0.0",
|
|
85
|
+
"rollup-plugin-vue-jsx-compat": "^0.0.6",
|
|
34
86
|
"sass-loader": "^12.6.0",
|
|
35
87
|
"typescript": "^4.6.2"
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
"dist",
|
|
39
|
-
"types",
|
|
40
|
-
"index.d.ts"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
88
|
+
}
|
|
89
|
+
}
|
package/dist/demo.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<!doctype html><meta charset="utf-8"><title>index demo</title><script src="./index.umd.js"></script><link rel="stylesheet" href="./index.css"><script>console.log(index)</script>
|