@sepveneto/plugin-mp-router-view 0.3.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/LICENSE +21 -0
- package/README.md +93 -0
- package/dist/chunk-NN5J6VGF.js +37202 -0
- package/dist/esbuild.cjs +37230 -0
- package/dist/esbuild.d.ts +6 -0
- package/dist/esbuild.js +9 -0
- package/dist/index.cjs +37228 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +8 -0
- package/dist/nuxt.cjs +37239 -0
- package/dist/nuxt.d.ts +5 -0
- package/dist/nuxt.js +18 -0
- package/dist/rollup.cjs +37230 -0
- package/dist/rollup.d.ts +6 -0
- package/dist/rollup.js +9 -0
- package/dist/type.d.cjs +19 -0
- package/dist/type.d.d.ts +36 -0
- package/dist/type.d.js +0 -0
- package/dist/types.cjs +19 -0
- package/dist/types.d.ts +8 -0
- package/dist/types.js +0 -0
- package/dist/vite.cjs +37230 -0
- package/dist/vite.d.ts +6 -0
- package/dist/vite.js +9 -0
- package/dist/webpack.cjs +37235 -0
- package/dist/webpack.d.ts +6 -0
- package/dist/webpack.js +15 -0
- package/package.json +107 -0
package/dist/rollup.d.ts
ADDED
package/dist/rollup.js
ADDED
package/dist/type.d.cjs
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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 __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/type.d.ts
|
|
17
|
+
var type_d_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(type_d_exports);
|
|
19
|
+
exports.default = module.exports;
|
package/dist/type.d.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type Page = {
|
|
2
|
+
path: string
|
|
3
|
+
style: Record<string, string>
|
|
4
|
+
ROUTER_VIEW_EXCLUDE?: boolean
|
|
5
|
+
pages: Page[]
|
|
6
|
+
root?: string
|
|
7
|
+
[key: string]: unknown
|
|
8
|
+
}
|
|
9
|
+
interface PageJSON {
|
|
10
|
+
easycom: {
|
|
11
|
+
autoscan?: boolean
|
|
12
|
+
custom?: Record<string, string>
|
|
13
|
+
}
|
|
14
|
+
condition: {
|
|
15
|
+
current: number
|
|
16
|
+
list: Array<{ name: string, path: string}>
|
|
17
|
+
}
|
|
18
|
+
subPackages?: Array<{root: string, pages: Page[]}>
|
|
19
|
+
pages: Page[]
|
|
20
|
+
tabBar: {
|
|
21
|
+
color?: string
|
|
22
|
+
selectedColor?: string
|
|
23
|
+
borderStyle?: string
|
|
24
|
+
backgroundColor?: string
|
|
25
|
+
list: {
|
|
26
|
+
pagePath: string
|
|
27
|
+
iconPath: string
|
|
28
|
+
selectedIconPath: string
|
|
29
|
+
text: string
|
|
30
|
+
}[]
|
|
31
|
+
}
|
|
32
|
+
permission?: Record<string, string>
|
|
33
|
+
globalStyle: Record<string, string>
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { PageJSON };
|
package/dist/type.d.js
ADDED
|
File without changes
|
package/dist/types.cjs
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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 __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
|
|
16
|
+
// src/types.ts
|
|
17
|
+
var types_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(types_exports);
|
|
19
|
+
exports.default = module.exports;
|
package/dist/types.d.ts
ADDED
package/dist/types.js
ADDED
|
File without changes
|