labull-framework 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 +28 -0
- package/README.md +82 -0
- package/dist/auth.d.ts +1 -0
- package/dist/auth.js +17 -0
- package/dist/chunk-_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/chunk-index-BWpDbB19.js +129 -0
- package/dist/chunk-index-_jasBCim.js +526 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +30 -0
- package/dist/magic-block.d.ts +1 -0
- package/dist/magic-block.js +1580 -0
- package/dist/style.css +1 -0
- package/dist/theme.d.ts +1 -0
- package/dist/theme.js +4 -0
- package/dist/types/auth-real.d.ts +60 -0
- package/dist/types/auth.d.ts +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/magic-block-MagicBlockConsole.vue.d.ts +2 -0
- package/dist/types/magic-block-MagicBlockHost.vue.d.ts +21 -0
- package/dist/types/magic-block-bridge.d.ts +22 -0
- package/dist/types/magic-block-devkit.d.ts +15 -0
- package/dist/types/magic-block-instances.d.ts +34 -0
- package/dist/types/magic-block-localfs.d.ts +126 -0
- package/dist/types/magic-block-manifest.d.ts +64 -0
- package/dist/types/magic-block-preview.d.ts +11 -0
- package/dist/types/magic-block-real.d.ts +7 -0
- package/dist/types/magic-block-render.d.ts +12 -0
- package/dist/types/magic-block-theme.d.ts +33 -0
- package/dist/types/magic-block.d.ts +1 -0
- package/dist/types/theme.d.ts +3 -0
- package/dist/types/ui-AppSearch.vue.d.ts +2 -0
- package/dist/types/ui-ProductShell.vue.d.ts +31 -0
- package/dist/types/ui-ProductSide.vue.d.ts +14 -0
- package/dist/types/ui-ProductTabs.vue.d.ts +2 -0
- package/dist/types/ui-UserMenu.vue.d.ts +2 -0
- package/dist/types/ui-gate.d.ts +9 -0
- package/dist/types/ui-real.d.ts +16 -0
- package/dist/types/ui-tabs.d.ts +31 -0
- package/dist/types/ui-types.d.ts +20 -0
- package/dist/types/ui.d.ts +1 -0
- package/dist/ui.d.ts +1 -0
- package/dist/ui.js +15 -0
- package/package.json +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "labull-framework",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "Labull 前端 SDK:主题 CSS + 登录态 / 外壳组件 / magic block(四块合一,一个包)",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"*.css",
|
|
10
|
+
"./dist/*.css"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE"
|
|
16
|
+
],
|
|
17
|
+
"main": "./dist/index.js",
|
|
18
|
+
"module": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./theme": {
|
|
26
|
+
"types": "./dist/theme.d.ts",
|
|
27
|
+
"import": "./dist/theme.js"
|
|
28
|
+
},
|
|
29
|
+
"./ui": {
|
|
30
|
+
"types": "./dist/ui.d.ts",
|
|
31
|
+
"import": "./dist/ui.js"
|
|
32
|
+
},
|
|
33
|
+
"./auth": {
|
|
34
|
+
"types": "./dist/auth.d.ts",
|
|
35
|
+
"import": "./dist/auth.js"
|
|
36
|
+
},
|
|
37
|
+
"./magic-block": {
|
|
38
|
+
"types": "./dist/magic-block.d.ts",
|
|
39
|
+
"import": "./dist/magic-block.js"
|
|
40
|
+
},
|
|
41
|
+
"./style.css": "./dist/style.css",
|
|
42
|
+
"./package.json": "./package.json"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"vue": "^3.4"
|
|
46
|
+
},
|
|
47
|
+
"peerDependenciesMeta": {
|
|
48
|
+
"vue-router": {
|
|
49
|
+
"optional": true
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"clean": "node -e \"import('node:fs').then(fs=>{for(const d of ['dist','dist-types'])fs.rmSync(d,{recursive:true,force:true})})\"",
|
|
54
|
+
"build:js": "vite build",
|
|
55
|
+
"build:types": "vue-tsc -p tsconfig.build.json && node flatten-types.mjs",
|
|
56
|
+
"build": "npm run build:js && npm run build:types && node self-check.mjs",
|
|
57
|
+
"pack:check": "npm pack --dry-run"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
61
|
+
"typescript": "^5.9.3",
|
|
62
|
+
"vite": "^5.4.21",
|
|
63
|
+
"vue": "^3.5.43",
|
|
64
|
+
"vue-router": "^4.6.4",
|
|
65
|
+
"vue-tsc": "^2.2.12"
|
|
66
|
+
}
|
|
67
|
+
}
|