@okiss/oms 0.0.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.
Files changed (84) hide show
  1. package/README.md +3 -0
  2. package/dist/index.es.js +6156 -0
  3. package/dist/index.es.js.map +1 -0
  4. package/dist/style.css +1 -0
  5. package/dist/types/auto-imports.d.ts +53 -0
  6. package/dist/types/components.d.ts +50 -0
  7. package/dist/types/src/App.vue.d.ts +125 -0
  8. package/dist/types/src/admin.d.ts +8 -0
  9. package/dist/types/src/components/PageLoad.vue.d.ts +14 -0
  10. package/dist/types/src/components/VIcon.d.ts +13 -0
  11. package/dist/types/src/components/VTree.vue.d.ts +100 -0
  12. package/dist/types/src/components/chart/index.vue.d.ts +17 -0
  13. package/dist/types/src/components/report/NumberPanel.vue.d.ts +9 -0
  14. package/dist/types/src/components/report/option.d.ts +1 -0
  15. package/dist/types/src/components/report/part.vue.d.ts +168 -0
  16. package/dist/types/src/default.d.ts +4 -0
  17. package/dist/types/src/directive/devtool.d.ts +3 -0
  18. package/dist/types/src/directive/index.d.ts +4 -0
  19. package/dist/types/src/directive/outClick.d.ts +3 -0
  20. package/dist/types/src/directive/resize.d.ts +3 -0
  21. package/dist/types/src/directive/rightClick.d.ts +3 -0
  22. package/dist/types/src/index.d.ts +13 -0
  23. package/dist/types/src/init.d.ts +3 -0
  24. package/dist/types/src/mock/apis/index.d.ts +3 -0
  25. package/dist/types/src/mock/apis/user.d.ts +3 -0
  26. package/dist/types/src/mock/data/example.d.ts +897 -0
  27. package/dist/types/src/mock/data/menu.d.ts +104 -0
  28. package/dist/types/src/mock/data/role.d.ts +68 -0
  29. package/dist/types/src/mock/index.d.ts +3 -0
  30. package/dist/types/src/mock/types.d.ts +21 -0
  31. package/dist/types/src/plugins/element-plus.d.ts +6 -0
  32. package/dist/types/src/plugins/eventBus.d.ts +6 -0
  33. package/dist/types/src/router/guard/func.d.ts +3 -0
  34. package/dist/types/src/router/guard/index.d.ts +2 -0
  35. package/dist/types/src/router/guard/nprogress.d.ts +2 -0
  36. package/dist/types/src/router/guard/permission.d.ts +2 -0
  37. package/dist/types/src/router/guard/remote-routes.d.ts +2 -0
  38. package/dist/types/src/router/guard/set-page-title.d.ts +2 -0
  39. package/dist/types/src/router/index.d.ts +2 -0
  40. package/dist/types/src/router/remote.d.ts +3 -0
  41. package/dist/types/src/router/router.d.ts +3 -0
  42. package/dist/types/src/router/vue-router.d.ts +16 -0
  43. package/dist/types/src/scaffold/404.vue.d.ts +4 -0
  44. package/dist/types/src/scaffold/container.vue.d.ts +17 -0
  45. package/dist/types/src/scaffold/dashboard.vue.d.ts +3 -0
  46. package/dist/types/src/scaffold/devtool/formBuilder/index.vue.d.ts +280 -0
  47. package/dist/types/src/scaffold/devtool/tableBuilder/index.vue.d.ts +1115 -0
  48. package/dist/types/src/scaffold/form.vue.d.ts +59 -0
  49. package/dist/types/src/scaffold/index.d.ts +5 -0
  50. package/dist/types/src/scaffold/layout/components/AppMain.vue.d.ts +24 -0
  51. package/dist/types/src/scaffold/layout/components/Breadcrumb/index.vue.d.ts +25 -0
  52. package/dist/types/src/scaffold/layout/components/Hamburger/index.vue.d.ts +16 -0
  53. package/dist/types/src/scaffold/layout/components/Navbar.vue.d.ts +49 -0
  54. package/dist/types/src/scaffold/layout/components/PageEditor.vue.d.ts +23 -0
  55. package/dist/types/src/scaffold/layout/components/Sidebar/FixiOSBug.d.ts +10 -0
  56. package/dist/types/src/scaffold/layout/components/Sidebar/Link.vue.d.ts +21 -0
  57. package/dist/types/src/scaffold/layout/components/Sidebar/Logo.vue.d.ts +16 -0
  58. package/dist/types/src/scaffold/layout/components/Sidebar/MenuContent.vue.d.ts +21 -0
  59. package/dist/types/src/scaffold/layout/components/Sidebar/SidebarItem.vue.d.ts +41 -0
  60. package/dist/types/src/scaffold/layout/components/Sidebar/index.vue.d.ts +3 -0
  61. package/dist/types/src/scaffold/layout/components/index.d.ts +3 -0
  62. package/dist/types/src/scaffold/layout/index.vue.d.ts +1965 -0
  63. package/dist/types/src/scaffold/login.vue.d.ts +17 -0
  64. package/dist/types/src/scaffold/report.vue.d.ts +485 -0
  65. package/dist/types/src/scaffold/table.vue.d.ts +54 -0
  66. package/dist/types/src/scaffold/tree.vue.d.ts +234 -0
  67. package/dist/types/src/shims-vue.d.ts +22 -0
  68. package/dist/types/src/store/index.d.ts +6 -0
  69. package/dist/types/src/store/modules/app.d.ts +5 -0
  70. package/dist/types/src/store/modules/builderSchema.d.ts +9 -0
  71. package/dist/types/src/store/modules/settings.d.ts +5 -0
  72. package/dist/types/src/store/modules/user.d.ts +5 -0
  73. package/dist/types/src/store/types.d.ts +42 -0
  74. package/dist/types/src/types.d.ts +105 -0
  75. package/dist/types/src/utils/container/index.d.ts +3 -0
  76. package/dist/types/src/utils/env.d.ts +3 -0
  77. package/dist/types/src/utils/index.d.ts +1 -0
  78. package/dist/types/src/utils/request/cache.d.ts +5 -0
  79. package/dist/types/src/utils/request/index.d.ts +8 -0
  80. package/dist/types/src/utils/request/interceptors.d.ts +3 -0
  81. package/dist/types/src/utils/request/types.d.ts +14 -0
  82. package/dist/types/src/utils/sso/index.d.ts +35 -0
  83. package/dist/types/src/utils/token.d.ts +3 -0
  84. package/package.json +80 -0
@@ -0,0 +1,59 @@
1
+ import type { DefineComponent, ComponentPropsOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComponentObjectPropsOptions } from 'vue';
2
+ export default _sfc_main;
3
+ declare namespace _sfc_main {
4
+ function setup(__props: any, { expose }: {
5
+ expose: any;
6
+ }): {
7
+ route: any;
8
+ schemaHandler: (schema: any, project: any) => any;
9
+ VForm: any;
10
+ PageLoad: DefineComponent<Readonly<ComponentPropsOptions<{
11
+ [x: string]: unknown;
12
+ }>>, unknown, {
13
+ loading: boolean;
14
+ haveNotice: boolean;
15
+ notice: {};
16
+ schema: {};
17
+ }, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, readonly string[] | Readonly<ExtractPropTypes<Readonly<ComponentObjectPropsOptions<{
18
+ [x: string]: unknown;
19
+ }>>>>, {
20
+ [x: number]: string;
21
+ } | {}>;
22
+ strVarReplace: typeof strVarReplace;
23
+ merge: {
24
+ <TObject, TSource>(object: TObject, source: TSource): TObject & TSource;
25
+ <TObject_1, TSource1, TSource2>(object: TObject_1, source1: TSource1, source2: TSource2): TObject_1 & TSource1 & TSource2;
26
+ <TObject_2, TSource1_1, TSource2_1, TSource3>(object: TObject_2, source1: TSource1_1, source2: TSource2_1, source3: TSource3): TObject_2 & TSource1_1 & TSource2_1 & TSource3;
27
+ <TObject_3, TSource1_2, TSource2_2, TSource3_1, TSource4>(object: TObject_3, source1: TSource1_2, source2: TSource2_2, source3: TSource3_1, source4: TSource4): TObject_3 & TSource1_2 & TSource2_2 & TSource3_1 & TSource4;
28
+ (object: any, ...otherArgs: any[]): any;
29
+ };
30
+ };
31
+ function setup(__props: any, { expose }: {
32
+ expose: any;
33
+ }): {
34
+ route: any;
35
+ schemaHandler: (schema: any, project: any) => any;
36
+ VForm: any;
37
+ PageLoad: DefineComponent<Readonly<ComponentPropsOptions<{
38
+ [x: string]: unknown;
39
+ }>>, unknown, {
40
+ loading: boolean;
41
+ haveNotice: boolean;
42
+ notice: {};
43
+ schema: {};
44
+ }, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, readonly string[] | Readonly<ExtractPropTypes<Readonly<ComponentObjectPropsOptions<{
45
+ [x: string]: unknown;
46
+ }>>>>, {
47
+ [x: number]: string;
48
+ } | {}>;
49
+ strVarReplace: typeof strVarReplace;
50
+ merge: {
51
+ <TObject, TSource>(object: TObject, source: TSource): TObject & TSource;
52
+ <TObject_1, TSource1, TSource2>(object: TObject_1, source1: TSource1, source2: TSource2): TObject_1 & TSource1 & TSource2;
53
+ <TObject_2, TSource1_1, TSource2_1, TSource3>(object: TObject_2, source1: TSource1_1, source2: TSource2_1, source3: TSource3): TObject_2 & TSource1_1 & TSource2_1 & TSource3;
54
+ <TObject_3, TSource1_2, TSource2_2, TSource3_1, TSource4>(object: TObject_3, source1: TSource1_2, source2: TSource2_2, source3: TSource3_1, source4: TSource4): TObject_3 & TSource1_2 & TSource2_2 & TSource3_1 & TSource4;
55
+ (object: any, ...otherArgs: any[]): any;
56
+ };
57
+ };
58
+ }
59
+ import { strVarReplace } from "@okiss/utils/dist/types/src/string";
@@ -0,0 +1,5 @@
1
+ export { default as Table } from './table.vue';
2
+ export { default as Form } from './form.vue';
3
+ export { default as Tree } from './tree.vue';
4
+ export { default as Container } from './container.vue';
5
+ export { default as Report } from './report.vue';
@@ -0,0 +1,24 @@
1
+ import type { Ref } from 'vue';
2
+ export default _sfc_main;
3
+ declare namespace _sfc_main {
4
+ function setup(__props: any, { expose }: {
5
+ expose: any;
6
+ }): {
7
+ route: RouteLocationNormalizedLoaded;
8
+ include: any[];
9
+ key: Ref<number>;
10
+ useRoute: typeof useRoute;
11
+ onBeforeRouteLeave: typeof onBeforeRouteLeave;
12
+ };
13
+ function setup(__props: any, { expose }: {
14
+ expose: any;
15
+ }): {
16
+ route: RouteLocationNormalizedLoaded;
17
+ include: any[];
18
+ key: Ref<number>;
19
+ useRoute: typeof useRoute;
20
+ onBeforeRouteLeave: typeof onBeforeRouteLeave;
21
+ };
22
+ }
23
+ import type { RouteLocationNormalizedLoaded, useRoute } from 'vue-router';
24
+ import { onBeforeRouteLeave } from "vue-router";
@@ -0,0 +1,25 @@
1
+ export default _sfc_main;
2
+ declare namespace _sfc_main {
3
+ function data(): {
4
+ levelList: null;
5
+ };
6
+ function data(): {
7
+ levelList: null;
8
+ };
9
+ namespace watch {
10
+ function $route(): void;
11
+ function $route(): void;
12
+ }
13
+ function created(): void;
14
+ function created(): void;
15
+ namespace methods {
16
+ function getBreadcrumb(): void;
17
+ function getBreadcrumb(): void;
18
+ function isDashboard(route: any): boolean;
19
+ function isDashboard(route: any): boolean;
20
+ function pathCompile(path: any): any;
21
+ function pathCompile(path: any): any;
22
+ function handleLink(item: any): void;
23
+ function handleLink(item: any): void;
24
+ }
25
+ }
@@ -0,0 +1,16 @@
1
+ export default _sfc_main;
2
+ declare namespace _sfc_main {
3
+ const name: string;
4
+ namespace props {
5
+ namespace isActive {
6
+ export const type: BooleanConstructor;
7
+ const _default: boolean;
8
+ export { _default as default };
9
+ }
10
+ }
11
+ const emits: string[];
12
+ namespace methods {
13
+ function toggleClick(): void;
14
+ function toggleClick(): void;
15
+ }
16
+ }
@@ -0,0 +1,49 @@
1
+ import type { Computed } from 'vuex';
2
+ export default _sfc_main;
3
+ declare namespace _sfc_main {
4
+ namespace components {
5
+ export { Breadcrumb };
6
+ export { Hamburger };
7
+ export { VBtn };
8
+ export { PageEditor };
9
+ }
10
+ function data(): any;
11
+ function data(): any;
12
+ namespace computed {
13
+ function hasNewMessage(): any;
14
+ function hasNewMessage(): any;
15
+ function moduleName(): any;
16
+ function moduleName(): any;
17
+ function showPageJsonSchemaIcon(): any;
18
+ function showPageJsonSchemaIcon(): any;
19
+ const name: Computed;
20
+ const sidebar: Computed;
21
+ const avatar: Computed;
22
+ const nickname: Computed;
23
+ const nav: Computed;
24
+ }
25
+ function mounted(): void;
26
+ function mounted(): void;
27
+ namespace methods {
28
+ function toggleSideBar(): void;
29
+ function toggleSideBar(): void;
30
+ function logout(): Promise<void>;
31
+ function logout(): Promise<void>;
32
+ function getSetting(name: any): any;
33
+ function getSetting(name: any): any;
34
+ function closeNavBarNotice(): Promise<void>;
35
+ function closeNavBarNotice(): Promise<void>;
36
+ function showPopover(): void;
37
+ function showPopover(): void;
38
+ function showNotice(text: any): boolean;
39
+ function showNotice(text: any): boolean;
40
+ function closeNotice(text: any): void;
41
+ function closeNotice(text: any): void;
42
+ function gotoMenuEdit(): void;
43
+ function gotoMenuEdit(): void;
44
+ }
45
+ }
46
+ import Breadcrumb from "./Breadcrumb/index.vue";
47
+ import Hamburger from "./Hamburger/index.vue";
48
+ import { VBtn } from "@okiss/lib/dist/types/vbutton";
49
+ import PageEditor from "./PageEditor.vue";
@@ -0,0 +1,23 @@
1
+ import type { Ref, ComputedRef } from 'vue';
2
+ export default _sfc_main;
3
+ declare namespace _sfc_main {
4
+ const name: string;
5
+ namespace components {
6
+ export { FormBuilder };
7
+ export { TableBuilder };
8
+ }
9
+ function setup(): {
10
+ show: Ref<boolean>;
11
+ key: Ref<number>;
12
+ direction: string;
13
+ pageSchema: ComputedRef<any>;
14
+ };
15
+ function setup(): {
16
+ show: Ref<boolean>;
17
+ key: Ref<number>;
18
+ direction: string;
19
+ pageSchema: ComputedRef<any>;
20
+ };
21
+ }
22
+ import FormBuilder from "../../devtool/formBuilder/index.vue";
23
+ import TableBuilder from "../../devtool/tableBuilder/index.vue";
@@ -0,0 +1,10 @@
1
+ declare const _default: {
2
+ computed: {
3
+ device(): any;
4
+ };
5
+ mounted(): void;
6
+ methods: {
7
+ fixBugIniOS(): void;
8
+ };
9
+ };
10
+ export default _default;
@@ -0,0 +1,21 @@
1
+ export default _sfc_main;
2
+ declare namespace _sfc_main {
3
+ namespace props {
4
+ namespace to {
5
+ const type: StringConstructor;
6
+ const required: boolean;
7
+ }
8
+ namespace newTab {
9
+ const type_1: BooleanConstructor;
10
+ export { type_1 as type };
11
+ const required_1: boolean;
12
+ export { required_1 as required };
13
+ }
14
+ }
15
+ namespace methods {
16
+ function compType(url: any): "a" | "router-link";
17
+ function compType(url: any): "a" | "router-link";
18
+ function linkProps(url: any): any;
19
+ function linkProps(url: any): any;
20
+ }
21
+ }
@@ -0,0 +1,16 @@
1
+ export default _sfc_main;
2
+ declare namespace _sfc_main {
3
+ const name: string;
4
+ namespace props {
5
+ namespace collapse {
6
+ const type: BooleanConstructor;
7
+ const required: boolean;
8
+ }
9
+ }
10
+ namespace computed {
11
+ function title(): any;
12
+ function title(): any;
13
+ function logo(): any;
14
+ function logo(): any;
15
+ }
16
+ }
@@ -0,0 +1,21 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ declare const _sfc_main: DefineComponent<{
3
+ meta: {
4
+ type: ObjectConstructor;
5
+ default: () => {
6
+ icon: string;
7
+ title: string;
8
+ };
9
+ };
10
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
11
+ meta: {
12
+ type: ObjectConstructor;
13
+ default: () => {
14
+ icon: string;
15
+ title: string;
16
+ };
17
+ };
18
+ }>>, {
19
+ meta: Record<string, any>;
20
+ }>;
21
+ export default _sfc_main;
@@ -0,0 +1,41 @@
1
+ export default _sfc_main;
2
+ declare namespace _sfc_main {
3
+ const name: string;
4
+ namespace components {
5
+ export { AppLink };
6
+ export { MenuContent };
7
+ }
8
+ const mixins: {
9
+ computed: {
10
+ device(): any;
11
+ };
12
+ mounted(): void;
13
+ methods: {
14
+ fixBugIniOS(): void;
15
+ };
16
+ }[];
17
+ namespace props {
18
+ namespace item {
19
+ const type: ObjectConstructor;
20
+ const required: boolean;
21
+ }
22
+ namespace isNest {
23
+ const type_1: BooleanConstructor;
24
+ export { type_1 as type };
25
+ const _default: boolean;
26
+ export { _default as default };
27
+ }
28
+ namespace to {
29
+ const type_2: StringConstructor;
30
+ export { type_2 as type };
31
+ const _default_1: string;
32
+ export { _default_1 as default };
33
+ }
34
+ }
35
+ namespace methods {
36
+ function getTo(child: any): any;
37
+ function getTo(child: any): any;
38
+ }
39
+ }
40
+ import AppLink from "./Link.vue";
41
+ import MenuContent from "./MenuContent.vue";
@@ -0,0 +1,3 @@
1
+ import type { DefineComponent, ComponentOptionsMixin, EmitsOptions, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ export default _sfc_main;
3
+ declare const _sfc_main: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
@@ -0,0 +1,3 @@
1
+ export { default as Navbar } from './Navbar.vue';
2
+ export { default as Sidebar } from './Sidebar/index.vue';
3
+ export { default as AppMain } from './AppMain.vue';