@okiss/oms 0.0.8 → 0.0.9

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 (68) hide show
  1. package/package.json +3 -3
  2. package/dist/types/App.d.ts +0 -124
  3. package/dist/types/admin.d.ts +0 -12
  4. package/dist/types/components/PageLoad.d.ts +0 -29
  5. package/dist/types/components/RightMenu.d.ts +0 -43
  6. package/dist/types/components/VLoading.d.ts +0 -0
  7. package/dist/types/components/VTree.d.ts +0 -129
  8. package/dist/types/components/report/NumberPanel.d.ts +0 -14
  9. package/dist/types/components/report/option.d.ts +0 -1
  10. package/dist/types/components/report/part.d.ts +0 -66
  11. package/dist/types/default.d.ts +0 -4
  12. package/dist/types/directive/devtool.d.ts +0 -3
  13. package/dist/types/directive/index.d.ts +0 -4
  14. package/dist/types/directive/outClick.d.ts +0 -3
  15. package/dist/types/directive/resize.d.ts +0 -3
  16. package/dist/types/directive/rightClick.d.ts +0 -3
  17. package/dist/types/index.d.ts +0 -11
  18. package/dist/types/init.d.ts +0 -3
  19. package/dist/types/mock/apis/index.d.ts +0 -3
  20. package/dist/types/mock/apis/user.d.ts +0 -3
  21. package/dist/types/mock/data/example.d.ts +0 -897
  22. package/dist/types/mock/data/menu.d.ts +0 -104
  23. package/dist/types/mock/data/role.d.ts +0 -68
  24. package/dist/types/mock/index.d.ts +0 -3
  25. package/dist/types/mock/types.d.ts +0 -21
  26. package/dist/types/plugins/element-plus.d.ts +0 -6
  27. package/dist/types/plugins/eventBus.d.ts +0 -5
  28. package/dist/types/router/guard/func.d.ts +0 -3
  29. package/dist/types/router/guard/index.d.ts +0 -2
  30. package/dist/types/router/guard/nprogress.d.ts +0 -3
  31. package/dist/types/router/guard/permission.d.ts +0 -2
  32. package/dist/types/router/guard/remote-routes.d.ts +0 -2
  33. package/dist/types/router/guard/set-page-title.d.ts +0 -2
  34. package/dist/types/router/index.d.ts +0 -2
  35. package/dist/types/router/remote.d.ts +0 -3
  36. package/dist/types/router/router.d.ts +0 -2
  37. package/dist/types/router/types.d.ts +0 -5
  38. package/dist/types/scaffold/404.d.ts +0 -4
  39. package/dist/types/scaffold/container.d.ts +0 -10
  40. package/dist/types/scaffold/dashboard.d.ts +0 -2
  41. package/dist/types/scaffold/devtool/DevLayout.d.ts +0 -0
  42. package/dist/types/scaffold/devtool/base.d.ts +0 -5
  43. package/dist/types/scaffold/devtool/formBuilder/ctrls/checkbox.d.ts +0 -32
  44. package/dist/types/scaffold/devtool/formBuilder/ctrls/code.d.ts +0 -17
  45. package/dist/types/scaffold/devtool/formBuilder/ctrls/icon-select.d.ts +0 -17
  46. package/dist/types/scaffold/devtool/formBuilder/ctrls/input.d.ts +0 -38
  47. package/dist/types/scaffold/devtool/formBuilder/ctrls/json.d.ts +0 -17
  48. package/dist/types/scaffold/devtool/formBuilder/ctrls/number-range.d.ts +0 -32
  49. package/dist/types/scaffold/devtool/formBuilder/ctrls/number.d.ts +0 -32
  50. package/dist/types/scaffold/devtool/formBuilder/ctrls/radio.d.ts +0 -31
  51. package/dist/types/scaffold/devtool/formBuilder/ctrls/select.d.ts +0 -90
  52. package/dist/types/scaffold/devtool/formBuilder/ctrls/sub-form.d.ts +0 -57
  53. package/dist/types/scaffold/devtool/formBuilder/ctrls/switch.d.ts +0 -32
  54. package/dist/types/scaffold/devtool/formBuilder/ctrls/template.d.ts +0 -17
  55. package/dist/types/scaffold/devtool/formBuilder/ctrls/upload.d.ts +0 -17
  56. package/dist/types/scaffold/devtool/formBuilder/form.d.ts +0 -76
  57. package/dist/types/scaffold/devtool/formBuilder/index.d.ts +0 -47
  58. package/dist/types/scaffold/devtool/tableBuilder/btn/api.d.ts +0 -57
  59. package/dist/types/scaffold/devtool/tableBuilder/btn/form.d.ts +0 -50
  60. package/dist/types/scaffold/devtool/tableBuilder/index.d.ts +0 -51
  61. package/dist/types/scaffold/devtool/tableBuilder/table.d.ts +0 -18
  62. package/dist/types/scaffold/form.d.ts +0 -22
  63. package/dist/types/scaffold/index.d.ts +0 -5
  64. package/dist/types/scaffold/login.d.ts +0 -14
  65. package/dist/types/scaffold/report.d.ts +0 -11
  66. package/dist/types/scaffold/table.d.ts +0 -17
  67. package/dist/types/scaffold/tree.d.ts +0 -10
  68. package/dist/types/types.d.ts +0 -109
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@okiss/oms",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "scripts": {
5
- "build": "vite build --config build/lib.config.ts && vue-dts-generator"
5
+ "build": "vite build --config build/lib.config.ts"
6
6
  },
7
7
  "dependencies": {
8
8
  "@element-plus/icons-vue": "^2.0.4",
9
9
  "@okiss/utils": "^0.0.2",
10
- "@okiss/vbtf": "^0.0.7",
10
+ "@okiss/vbtf": "^0.0.8",
11
11
  "@vueuse/core": "^8.7.4",
12
12
  "axios": "^0.27.2",
13
13
  "dayjs": "^1.11.3",
@@ -1,124 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- locale: {
3
- name: string;
4
- el: {
5
- colorpicker: {
6
- confirm: string;
7
- clear: string;
8
- };
9
- datepicker: {
10
- now: string;
11
- today: string;
12
- cancel: string;
13
- clear: string;
14
- confirm: string;
15
- selectDate: string;
16
- selectTime: string;
17
- startDate: string;
18
- startTime: string;
19
- endDate: string;
20
- endTime: string;
21
- prevYear: string;
22
- nextYear: string;
23
- prevMonth: string;
24
- nextMonth: string;
25
- year: string;
26
- month1: string;
27
- month2: string;
28
- month3: string;
29
- month4: string;
30
- month5: string;
31
- month6: string;
32
- month7: string;
33
- month8: string;
34
- month9: string;
35
- month10: string;
36
- month11: string;
37
- month12: string;
38
- weeks: {
39
- sun: string;
40
- mon: string;
41
- tue: string;
42
- wed: string;
43
- thu: string;
44
- fri: string;
45
- sat: string;
46
- };
47
- months: {
48
- jan: string;
49
- feb: string;
50
- mar: string;
51
- apr: string;
52
- may: string;
53
- jun: string;
54
- jul: string;
55
- aug: string;
56
- sep: string;
57
- oct: string;
58
- nov: string;
59
- dec: string;
60
- };
61
- };
62
- select: {
63
- loading: string;
64
- noMatch: string;
65
- noData: string;
66
- placeholder: string;
67
- };
68
- cascader: {
69
- noMatch: string;
70
- loading: string;
71
- placeholder: string;
72
- noData: string;
73
- };
74
- pagination: {
75
- goto: string;
76
- pagesize: string;
77
- total: string;
78
- pageClassifier: string;
79
- deprecationWarning: string;
80
- };
81
- messagebox: {
82
- title: string;
83
- confirm: string;
84
- cancel: string;
85
- error: string;
86
- };
87
- upload: {
88
- deleteTip: string;
89
- delete: string;
90
- preview: string;
91
- continue: string;
92
- };
93
- table: {
94
- emptyText: string;
95
- confirmFilter: string;
96
- resetFilter: string;
97
- clearFilter: string;
98
- sumText: string;
99
- };
100
- tree: {
101
- emptyText: string;
102
- };
103
- transfer: {
104
- noMatch: string;
105
- noData: string;
106
- titles: string[];
107
- filterPlaceholder: string;
108
- noCheckedFormat: string;
109
- hasCheckedFormat: string;
110
- };
111
- image: {
112
- error: string;
113
- };
114
- pageHeader: {
115
- title: string;
116
- };
117
- popconfirm: {
118
- confirmButtonText: string;
119
- cancelButtonText: string;
120
- };
121
- };
122
- };
123
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
124
- export default _default;
@@ -1,12 +0,0 @@
1
- import type { App } from "vue'";
2
- import type { OmsOptions, OmsPlugin } from "./types'";
3
- import type { AxiosInstance } from "axios'";
4
- import { AxiosRequestConfig } from "./utils/request'";
5
- import "normalize.css/normalize.css'";
6
- import "./styles/index.scss'";
7
- import "@okiss/vbtf/style.css'";
8
- export declare let http: AxiosInstance;
9
- export declare function useHttp(options?: AxiosRequestConfig): AxiosInstance;
10
- export declare function createAdmin(omsOptions?: OmsOptions): void;
11
- export declare function regPlugin(app: App, plugin: OmsPlugin): void;
12
- export declare function createOmsPlugin(options: OmsOptions): OmsPlugin;
@@ -1,29 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- schemaHandler: {
3
- type: FunctionConstructor;
4
- default: (val: any, project: string) => any;
5
- };
6
- schemaApi: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- }, unknown, {
11
- loading: boolean;
12
- haveNotice: boolean;
13
- notice: {};
14
- schema: {};
15
- owners: never[];
16
- }, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
- schemaHandler: {
18
- type: FunctionConstructor;
19
- default: (val: any, project: string) => any;
20
- };
21
- schemaApi: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- }>>, {
26
- schemaHandler: Function;
27
- schemaApi: string;
28
- }>;
29
- export default _default;
@@ -1,43 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- status: {
3
- type: BooleanConstructor;
4
- default: boolean;
5
- };
6
- top: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- left: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- menus: {
15
- type: ArrayConstructor;
16
- default: () => never[];
17
- };
18
- }, unknown, unknown, {}, {
19
- onclick(callback: any): void;
20
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
- status: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- top: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- left: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- menus: {
34
- type: ArrayConstructor;
35
- default: () => never[];
36
- };
37
- }>>, {
38
- status: boolean;
39
- top: string;
40
- left: string;
41
- menus: unknown[];
42
- }>;
43
- export default _default;
File without changes
@@ -1,129 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- treeApi: {
3
- type: StringConstructor;
4
- default: string;
5
- require: boolean;
6
- };
7
- getApi: {
8
- type: StringConstructor;
9
- default: string;
10
- require: boolean;
11
- };
12
- saveApi: {
13
- type: StringConstructor;
14
- default: string;
15
- require: boolean;
16
- };
17
- createApi: {
18
- type: StringConstructor;
19
- default: string;
20
- require: boolean;
21
- };
22
- deleteApi: {
23
- type: StringConstructor;
24
- default: string;
25
- require: boolean;
26
- };
27
- formItems: {
28
- type: ArrayConstructor;
29
- default: () => never[];
30
- };
31
- treeProps: {
32
- type: ObjectConstructor;
33
- default: () => void;
34
- };
35
- maxDepth: {
36
- type: NumberConstructor;
37
- default: number;
38
- };
39
- props: {
40
- type: ObjectConstructor;
41
- default: () => void;
42
- };
43
- }, unknown, {
44
- type: number;
45
- treeData: never[];
46
- formData: {};
47
- localTreeProps: {
48
- 'default-expand-all': boolean;
49
- 'expand-on-click-node': boolean;
50
- props: {
51
- children: string;
52
- label: string;
53
- };
54
- } & Record<string, any>;
55
- formkey: number;
56
- tablekey: number;
57
- menuOptions: {};
58
- }, {
59
- formType(): string;
60
- formProps(): {
61
- saveApi: string;
62
- getApi: string;
63
- formItems: unknown[];
64
- };
65
- }, {
66
- loadTree(): void;
67
- onclick(data: any): void;
68
- append(data: any, node: any): void;
69
- canAppend(data: any, node: any): boolean;
70
- appendNew(): void;
71
- remove(data: any): void;
72
- submit(): void;
73
- allowDrap(draggingNode: any): true;
74
- allowDrop(draggingNode: any, dropNode: any, type: any): boolean;
75
- handleDragEnd(draggingNode: any, dropNode: any, dropType: any, ev: any): void;
76
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
77
- treeApi: {
78
- type: StringConstructor;
79
- default: string;
80
- require: boolean;
81
- };
82
- getApi: {
83
- type: StringConstructor;
84
- default: string;
85
- require: boolean;
86
- };
87
- saveApi: {
88
- type: StringConstructor;
89
- default: string;
90
- require: boolean;
91
- };
92
- createApi: {
93
- type: StringConstructor;
94
- default: string;
95
- require: boolean;
96
- };
97
- deleteApi: {
98
- type: StringConstructor;
99
- default: string;
100
- require: boolean;
101
- };
102
- formItems: {
103
- type: ArrayConstructor;
104
- default: () => never[];
105
- };
106
- treeProps: {
107
- type: ObjectConstructor;
108
- default: () => void;
109
- };
110
- maxDepth: {
111
- type: NumberConstructor;
112
- default: number;
113
- };
114
- props: {
115
- type: ObjectConstructor;
116
- default: () => void;
117
- };
118
- }>>, {
119
- props: Record<string, any>;
120
- treeApi: string;
121
- getApi: string;
122
- saveApi: string;
123
- createApi: string;
124
- deleteApi: string;
125
- formItems: unknown[];
126
- treeProps: Record<string, any>;
127
- maxDepth: number;
128
- }>;
129
- export default _default;
@@ -1,14 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- dataList: {
3
- type: ArrayConstructor;
4
- default: (_: any) => never[];
5
- };
6
- }, unknown, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- dataList: {
8
- type: ArrayConstructor;
9
- default: (_: any) => never[];
10
- };
11
- }>>, {
12
- dataList: unknown[];
13
- }>;
14
- export default _default;
@@ -1 +0,0 @@
1
- export declare function makeOption(id: string, config: Object | string, data: Array<Record<string, any>>): {};
@@ -1,66 +0,0 @@
1
- declare const _default: {
2
- components: {
3
- Chart: any;
4
- Md: any;
5
- Json: any;
6
- Table: any;
7
- Number: any;
8
- Html: string;
9
- };
10
- props: {
11
- option: {
12
- type: ObjectConstructor;
13
- default: () => void;
14
- };
15
- };
16
- setup(props: Record<string, any>): {
17
- compprops: (item: Record<string, any>) => {
18
- dataList: any;
19
- options?: undefined;
20
- source?: undefined;
21
- showPagination?: undefined;
22
- headers?: undefined;
23
- list?: undefined;
24
- } | {
25
- options: {};
26
- dataList?: undefined;
27
- source?: undefined;
28
- showPagination?: undefined;
29
- headers?: undefined;
30
- list?: undefined;
31
- } | {
32
- source: any;
33
- dataList?: undefined;
34
- options?: undefined;
35
- showPagination?: undefined;
36
- headers?: undefined;
37
- list?: undefined;
38
- } | {
39
- showPagination: boolean;
40
- dataList?: undefined;
41
- options?: undefined;
42
- source?: undefined;
43
- headers?: undefined;
44
- list?: undefined;
45
- } | {
46
- headers: {
47
- field: string;
48
- label: string;
49
- }[];
50
- list: any;
51
- showPagination: boolean;
52
- dataList?: undefined;
53
- options?: undefined;
54
- source?: undefined;
55
- } | {
56
- dataList?: undefined;
57
- options?: undefined;
58
- source?: undefined;
59
- showPagination?: undefined;
60
- headers?: undefined;
61
- list?: undefined;
62
- };
63
- comptype: () => any;
64
- };
65
- };
66
- export default _default;
@@ -1,4 +0,0 @@
1
- import { OmsOptions } from "./types'";
2
- import { Settings } from "./types'";
3
- export declare const defaultSettings: Settings;
4
- export declare const defaultOptions: OmsOptions;
@@ -1,3 +0,0 @@
1
- import type { ObjectDirective } from "vue'";
2
- declare const devtool: ObjectDirective;
3
- export default devtool;
@@ -1,4 +0,0 @@
1
- export { default as outClick } from './outClick';
2
- export { default as rightClick } from './rightClick';
3
- export { default as resize } from './resize';
4
- export { default as devtool } from './devtool';
@@ -1,3 +0,0 @@
1
- import type { ObjectDirective } from "vue'";
2
- declare const outClick: ObjectDirective;
3
- export default outClick;
@@ -1,3 +0,0 @@
1
- import type { ObjectDirective } from "vue'";
2
- declare const resize: ObjectDirective;
3
- export default resize;
@@ -1,3 +0,0 @@
1
- import type { ObjectDirective } from "vue'";
2
- declare const rightClient: ObjectDirective;
3
- export default rightClient;
@@ -1,11 +0,0 @@
1
- import "./init'";
2
- export { createAdmin, useHttp, http } from './admin';
3
- export { default as Layout } from './scaffold/layout/index.vue';
4
- export { default as Container } from './scaffold/container.vue';
5
- export { default as eventBus } from './plugins/eventBus';
6
- export * from './types';
7
- export { Message, MessageBox } from './plugins/element-plus';
8
- export * from './utils/request';
9
- export * from './utils/container';
10
- export * from './utils/sso';
11
- export * from './router/remote';
@@ -1,3 +0,0 @@
1
- interface String {
2
- format(...replacements: string[]): string;
3
- }
@@ -1,3 +0,0 @@
1
- import { MockApi } from "../types'";
2
- declare const apis: MockApi[];
3
- export default apis;
@@ -1,3 +0,0 @@
1
- import { MockApi } from "../types'";
2
- declare const userApis: MockApi[];
3
- export default userApis;