@tonar/vue-kit 0.2.7 → 0.3.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.
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import _default from "./so-authority/index.js";
|
|
2
|
-
import
|
|
3
|
-
export { _default as SoAuthority,
|
|
2
|
+
import _default$1 from "./so-test/so-test.vue.js";
|
|
3
|
+
export { _default as SoAuthority, _default$1 as SoTest };
|
|
@@ -4,12 +4,12 @@ import { PropType } from "vue";
|
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
/** 组件需要的权限 */
|
|
6
6
|
requiredPermissions: {
|
|
7
|
-
type: PropType<AuthorityProps[
|
|
7
|
+
type: PropType<AuthorityProps["requiredPermissions"]>;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
/** 用户具有的权限 */
|
|
11
11
|
userPermissions: {
|
|
12
|
-
type: PropType<AuthorityProps[
|
|
12
|
+
type: PropType<AuthorityProps["userPermissions"]>;
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -17,12 +17,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17
17
|
}>[] | null | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
/** 组件需要的权限 */
|
|
19
19
|
requiredPermissions: {
|
|
20
|
-
type: PropType<AuthorityProps[
|
|
20
|
+
type: PropType<AuthorityProps["requiredPermissions"]>;
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
23
|
/** 用户具有的权限 */
|
|
24
24
|
userPermissions: {
|
|
25
|
-
type: PropType<AuthorityProps[
|
|
25
|
+
type: PropType<AuthorityProps["userPermissions"]>;
|
|
26
26
|
required: true;
|
|
27
27
|
};
|
|
28
28
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
//#region src/components/so-test/so-test.vue.d.ts
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
//#endregion
|
|
5
|
+
export { _default as default };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _default from "./components/so-authority/index.js";
|
|
2
|
-
import
|
|
2
|
+
import _default$1 from "./components/so-test/so-test.vue.js";
|
|
3
3
|
import "./components/index.js";
|
|
4
4
|
import { useStorage } from "./composables/storage/index.js";
|
|
5
|
-
export { _default as SoAuthority,
|
|
5
|
+
export { _default as SoAuthority, _default$1 as SoTest, useStorage };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonar/vue-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "@tonar/vue-kit: Vue 3 ESM toolkit with permission-based rendering components such as SoAuthority.",
|
|
6
6
|
"keywords": [
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"dist",
|
|
20
20
|
"package.json",
|
|
21
21
|
"README.md",
|
|
22
|
-
"LICENSE"
|
|
22
|
+
"LICENSE",
|
|
23
|
+
".npmrc"
|
|
23
24
|
],
|
|
24
25
|
"type": "module",
|
|
25
26
|
"sideEffects": [
|
|
@@ -42,14 +43,12 @@
|
|
|
42
43
|
}
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
|
-
"@tonar/utils": "0.
|
|
46
|
+
"@tonar/utils": "0.3.0"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
|
-
"@typescript/typescript6": "^6.0.2",
|
|
49
49
|
"@vue/test-utils": "^2.4.11",
|
|
50
50
|
"unplugin-vue": "^7.2.0",
|
|
51
|
-
"vue": "^3.5.
|
|
52
|
-
"vue-tsc": "^3.3.8"
|
|
51
|
+
"vue": "^3.5.41"
|
|
53
52
|
},
|
|
54
53
|
"peerDependencies": {
|
|
55
54
|
"vue": "^3.0.0"
|