@sepveneto/dnde-core 0.1.0
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/LICENSE +21 -0
- package/dist/Widget-BRcHUoH6.d.cts +166 -0
- package/dist/Widget-BRcHUoH6.d.ts +166 -0
- package/dist/chunk-4QIIKQ6B.js +8 -0
- package/dist/chunk-4QVESRP3.js +0 -0
- package/dist/chunk-6FNC3XMI.js +45 -0
- package/dist/chunk-AEGKV2TZ.js +65 -0
- package/dist/chunk-CJZUQN2X.js +50 -0
- package/dist/chunk-D2MSIUE2.js +6 -0
- package/dist/chunk-QYATL3P2.js +15 -0
- package/dist/chunk-TM53N6AZ.js +24 -0
- package/dist/chunk-W776G2UQ.js +36 -0
- package/dist/chunk-WPER3YKQ.js +111 -0
- package/dist/chunk-XJ2IJHKH.js +8 -0
- package/dist/chunk-YSTVVZUQ.js +48 -0
- package/dist/class/Container.cjs +94 -0
- package/dist/class/Container.d.cts +10 -0
- package/dist/class/Container.d.ts +10 -0
- package/dist/class/Container.js +8 -0
- package/dist/class/Node.cjs +167 -0
- package/dist/class/Node.d.cts +49 -0
- package/dist/class/Node.d.ts +49 -0
- package/dist/class/Node.js +9 -0
- package/dist/class/Widget.cjs +84 -0
- package/dist/class/Widget.d.cts +4 -0
- package/dist/class/Widget.d.ts +4 -0
- package/dist/class/Widget.js +7 -0
- package/dist/class/index.cjs +238 -0
- package/dist/class/index.d.cts +6 -0
- package/dist/class/index.d.ts +6 -0
- package/dist/class/index.js +17 -0
- package/dist/helper/EventEmitter.cjs +60 -0
- package/dist/helper/EventEmitter.d.cts +12 -0
- package/dist/helper/EventEmitter.d.ts +12 -0
- package/dist/helper/EventEmitter.js +7 -0
- package/dist/helper/index.cjs +175 -0
- package/dist/helper/index.d.cts +7 -0
- package/dist/helper/index.d.ts +7 -0
- package/dist/helper/index.js +19 -0
- package/dist/helper/schema.cjs +92 -0
- package/dist/helper/schema.d.cts +27 -0
- package/dist/helper/schema.d.ts +27 -0
- package/dist/helper/schema.js +8 -0
- package/dist/helper/widget.cjs +73 -0
- package/dist/helper/widget.d.cts +51 -0
- package/dist/helper/widget.d.ts +51 -0
- package/dist/helper/widget.js +9 -0
- package/dist/index.cjs +211 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +33 -0
- package/dist/internal.cjs +49 -0
- package/dist/internal.d.cts +18 -0
- package/dist/internal.d.ts +18 -0
- package/dist/internal.js +9 -0
- package/dist/tokens.cjs +30 -0
- package/dist/tokens.d.cts +15 -0
- package/dist/tokens.d.ts +15 -0
- package/dist/tokens.js +7 -0
- package/dist/types.cjs +32 -0
- package/dist/types.d.cts +4 -0
- package/dist/types.d.ts +4 -0
- package/dist/types.js +7 -0
- package/dist/utils.cjs +32 -0
- package/dist/utils.d.cts +3 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.js +7 -0
- package/package.json +60 -0
package/dist/types.cjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/types.ts
|
|
21
|
+
var types_exports = {};
|
|
22
|
+
__export(types_exports, {
|
|
23
|
+
isBox: () => isBox
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(types_exports);
|
|
26
|
+
function isBox(schema) {
|
|
27
|
+
return schema.type === "box";
|
|
28
|
+
}
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
isBox
|
|
32
|
+
});
|
package/dist/types.d.cts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import 'element-plus';
|
|
2
|
+
import 'vue';
|
|
3
|
+
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-BRcHUoH6.cjs';
|
|
4
|
+
import 'async-validator';
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import 'element-plus';
|
|
2
|
+
import 'vue';
|
|
3
|
+
export { B as Base, D as DisabledItemFn, E as EditorConfig, h as EditorData, e as EditorRoute, c as EditorSchema, g as EditorSettings, d as EditorWidget, f as EditorWidgets, b as ISchema, I as IWidget, a as SchemaBox, S as SchemaOther, W as WidgetPos, i as isBox } from './Widget-BRcHUoH6.js';
|
|
4
|
+
import 'async-validator';
|
package/dist/types.js
ADDED
package/dist/utils.cjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/utils.ts
|
|
21
|
+
var utils_exports = {};
|
|
22
|
+
__export(utils_exports, {
|
|
23
|
+
likeArray: () => likeArray
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(utils_exports);
|
|
26
|
+
function likeArray(val) {
|
|
27
|
+
return Array.isArray(val) ? val : [val];
|
|
28
|
+
}
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
likeArray
|
|
32
|
+
});
|
package/dist/utils.d.cts
ADDED
package/dist/utils.d.ts
ADDED
package/dist/utils.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sepveneto/dnde-core",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "",
|
|
6
|
+
"author": "sepveneto",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://github.com/SepVeneto/miniprogram-design/blob/master/packages/core",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/SepVeneto/miniprogram-design"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"require": "./dist/index.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./vue": {
|
|
21
|
+
"types": "./dist/vue/index.d.ts",
|
|
22
|
+
"import": "./dist/vue/index.js",
|
|
23
|
+
"require": "./dist/vue/index.cjs"
|
|
24
|
+
},
|
|
25
|
+
"./class": {
|
|
26
|
+
"types": "./dist/class/index.d.ts",
|
|
27
|
+
"import": "./dist/class/index.js",
|
|
28
|
+
"require": "./dist/class/index.cjs"
|
|
29
|
+
},
|
|
30
|
+
"./helper": {
|
|
31
|
+
"types": "./dist/helper/index.d.ts",
|
|
32
|
+
"import": "./dist/helper/index.js",
|
|
33
|
+
"require": "./dist/helper/index.cjs"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"main": "./dist/index.cjs",
|
|
37
|
+
"module": "./dist/index.js",
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
|
+
"files": [
|
|
40
|
+
"dist"
|
|
41
|
+
],
|
|
42
|
+
"changelog": "https://github.com/SepVeneto/miniprogram-design/blob/master/packages/core/CHANGELOG.md",
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"async-validator": "^4.2.5",
|
|
45
|
+
"uuid": "^11.1.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"element-plus": "^2.9.11",
|
|
49
|
+
"tsup": "^8.4.0",
|
|
50
|
+
"vite": "^4.5.5",
|
|
51
|
+
"vitest": "^0.28.5",
|
|
52
|
+
"vue": "^3.5.12"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "tsup",
|
|
56
|
+
"test": "vitest",
|
|
57
|
+
"version": " pnpm changelog && git add CHANGELOG.md",
|
|
58
|
+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . --lerna-package core -t core@"
|
|
59
|
+
}
|
|
60
|
+
}
|