@partex/one-core 1.0.4 → 1.0.6

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/README.md CHANGED
@@ -417,6 +417,8 @@ authorizationGroupArray: string[]
417
417
  authorizationMachineArray: string[]
418
418
  iot_menu_authorization: string[]
419
419
  tdm_menu_authorization: string[]
420
+ qms_menu_authorization: string[]
421
+ maintain_menu_authorization: string[]
420
422
  info: IUserInfo
421
423
  endTime: number
422
424
  tenantStatus: 0 | 1 | 2
@@ -98,3 +98,4 @@ export declare const fnCheckIoTRole: (role: string) => boolean;
98
98
  export declare const fnCheckTDMRole: (role: string) => boolean;
99
99
  export declare const fnCheckQMSRole: (role: string) => boolean;
100
100
  export declare const fnCheckDashRole: (role: string) => boolean;
101
+ export declare const fnCheckMaintainRole: (role: string) => boolean;
@@ -5,6 +5,10 @@ declare const _default: DefineComponent<{
5
5
  type: PropType<boolean>;
6
6
  default: boolean;
7
7
  };
8
+ mainUrl: {
9
+ type: PropType<string>;
10
+ default: string;
11
+ };
8
12
  language: {
9
13
  type: PropType<boolean>;
10
14
  default: boolean;
@@ -48,6 +52,7 @@ declare const _default: DefineComponent<{
48
52
  iot_menu_authorization: string[];
49
53
  tdm_menu_authorization: string[];
50
54
  qms_menu_authorization: string[];
55
+ maintain_menu_authorization: string[];
51
56
  info: {
52
57
  type: 0 | 1 | 2 | 3 | 4;
53
58
  id: string | string[];
@@ -93,6 +98,10 @@ declare const _default: DefineComponent<{
93
98
  type: PropType<boolean>;
94
99
  default: boolean;
95
100
  };
101
+ mainUrl: {
102
+ type: PropType<string>;
103
+ default: string;
104
+ };
96
105
  language: {
97
106
  type: PropType<boolean>;
98
107
  default: boolean;
@@ -108,6 +117,7 @@ declare const _default: DefineComponent<{
108
117
  };
109
118
  }>>, {
110
119
  qiankun: boolean;
120
+ mainUrl: string;
111
121
  language: boolean;
112
122
  report: boolean;
113
123
  menuOptions: IHeaderMenu;
@@ -26,6 +26,7 @@ export interface IUserModel {
26
26
  iot_menu_authorization: string[];
27
27
  tdm_menu_authorization: string[];
28
28
  qms_menu_authorization: string[];
29
+ maintain_menu_authorization: string[];
29
30
  info: IUserInfo;
30
31
  endTime: number;
31
32
  tenantStatus: 0 | 1 | 2;
@@ -28,6 +28,7 @@ export declare const userStore: {
28
28
  iot_menu_authorization: string[];
29
29
  tdm_menu_authorization: string[];
30
30
  qms_menu_authorization: string[];
31
+ maintain_menu_authorization: string[];
31
32
  info: {
32
33
  type: 0 | 1 | 2 | 3 | 4;
33
34
  id: string | string[];
@@ -10,8 +10,13 @@ declare const _default: DefineComponent<{
10
10
  type: StringConstructor;
11
11
  default: string;
12
12
  };
13
+ disabled: {
14
+ required: false;
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
13
18
  clearable: {
14
- required: true;
19
+ required: false;
15
20
  type: BooleanConstructor;
16
21
  default: boolean;
17
22
  };
@@ -20,8 +25,6 @@ declare const _default: DefineComponent<{
20
25
  endTime: Ref<number | null>;
21
26
  updateStartValue: (value: number | null) => void;
22
27
  updateEndValue: (value: number | null) => void;
23
- isHourDisabled: (hour: number) => boolean;
24
- isMinuteDisabled: (minute: number, selectedHour: number | null) => boolean;
25
28
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "on-update:value"[], "on-update:value", PublicProps, Readonly<ExtractPropTypes<{
26
29
  value: {
27
30
  required: true;
@@ -33,15 +36,22 @@ declare const _default: DefineComponent<{
33
36
  type: StringConstructor;
34
37
  default: string;
35
38
  };
39
+ disabled: {
40
+ required: false;
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
36
44
  clearable: {
37
- required: true;
45
+ required: false;
38
46
  type: BooleanConstructor;
39
47
  default: boolean;
40
48
  };
41
49
  }>> & {
42
50
  "onOn-update:value"?: ((...args: any[]) => any) | undefined;
43
51
  }, {
52
+ disabled: boolean;
44
53
  value: unknown[];
54
+ clearable: boolean;
45
55
  format: string;
46
56
  }, {}>;
47
57
  export default _default;
@@ -4,6 +4,7 @@ interface Base {
4
4
  show?: boolean;
5
5
  clearable?: boolean;
6
6
  placeholder?: (() => string) | string;
7
+ disabled?: boolean;
7
8
  updateValue?: (value: [] | string | number | null, data: any) => void;
8
9
  }
9
10
  export interface Input extends Base {