@feedmepos/mf-common 1.12.4 → 1.12.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/app.d.ts +10 -0
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +19647 -19599
- package/dist/components/AllBusinessDialog.vue.d.ts.map +1 -1
- package/dist/components/MyBusinessDialog.vue.d.ts.map +1 -1
- package/dist/components/NoPermission.vue.d.ts +3 -0
- package/dist/components/NoPermission.vue.d.ts.map +1 -0
- package/dist/components/PermissionWrapper.vue.d.ts +10 -0
- package/dist/components/PermissionWrapper.vue.d.ts.map +1 -0
- package/dist/permission/permission.d.ts +6 -0
- package/dist/permission/permission.d.ts.map +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AllBusinessDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AllBusinessDialog.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"AllBusinessDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AllBusinessDialog.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,SAAS,CAAA;AAOxD,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,cAAc,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,KAAK,IAAI,CAAA;CACvE;;AAmSD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MyBusinessDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MyBusinessDialog.vue.ts"],"names":[],"mappings":"AASA,UAAU,KAAK;IACb,UAAU,EAAE,OAAO,CAAA;CACpB;;
|
1
|
+
{"version":3,"file":"MyBusinessDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/MyBusinessDialog.vue.ts"],"names":[],"mappings":"AASA,UAAU,KAAK;IACb,UAAU,EAAE,OAAO,CAAA;CACpB;;AA8TD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
3
|
+
//# sourceMappingURL=NoPermission.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NoPermission.vue.d.ts","sourceRoot":"","sources":["../../../src/components/NoPermission.vue.ts"],"names":[],"mappings":";AAgIA,wBAKG"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
2
|
+
default?(_: {}): any;
|
3
|
+
}>;
|
4
|
+
export default _default;
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
6
|
+
new (): {
|
7
|
+
$slots: S;
|
8
|
+
};
|
9
|
+
};
|
10
|
+
//# sourceMappingURL=PermissionWrapper.vue.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PermissionWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PermissionWrapper.vue.ts"],"names":[],"mappings":";;;AAmFA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { type RawRule, Ability } from "@casl/ability";
|
2
2
|
import { type RouteLocationNormalizedLoaded, type Router } from "vue-router";
|
3
3
|
import type { FmpUser } from "@/store";
|
4
|
+
import { type Component } from "vue";
|
4
5
|
export declare namespace Permission {
|
5
6
|
enum Level {
|
6
7
|
feedMe = 0,
|
@@ -98,4 +99,9 @@ declare module "vue-router" {
|
|
98
99
|
}
|
99
100
|
export declare function validateRoute(route: RouteLocationNormalizedLoaded): Promise<RouteValidationResult>;
|
100
101
|
export declare function installRouteValidation(router: Router): void;
|
102
|
+
export declare function withPermission(Comp: Component): {
|
103
|
+
render: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
104
|
+
[key: string]: any;
|
105
|
+
}>;
|
106
|
+
};
|
101
107
|
//# sourceMappingURL=permission.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../../src/permission/permission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,6BAA6B,EAAE,KAAK,MAAM,EAAE,MAAM,YAAY,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../../src/permission/permission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,6BAA6B,EAAE,KAAK,MAAM,EAAE,MAAM,YAAY,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,EAAK,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAGvC,yBAAiB,UAAU,CAAC;IAC1B,KAAY,KAAK;QACf,MAAM,IAAI;QACV,QAAQ,IAAI;QACZ,UAAU,IAAI;KACf;IAED,KAAY,MAAM;QAChB,MAAM,WAAW;QACjB,MAAM,WAAW;QACjB,IAAI,SAAS;QACb,MAAM,WAAW;QACjB,MAAM,WAAW;KAClB;CACF;AAED,yBAAiB,UAAU,CAAC,OAAO,CAAC;IAClC,KAAY,MAAM;QAChB,GAAG,QAAQ;QACX,UAAU,eAAe;QACzB,QAAQ,aAAa;QACrB,QAAQ,aAAa;QACrB,KAAK,UAAU;KAChB;IAED,KAAY,mBAAmB;QAC7B,KAAK,UAAU;QACf,KAAK,UAAU;KAChB;IAED,KAAY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