@judo/model-api 0.1.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.
- package/LICENSE +277 -0
- package/README.md +210 -0
- package/dist/data/elements.d.ts +194 -0
- package/dist/data/elements.d.ts.map +1 -0
- package/dist/data/index.d.ts +3 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/data/types.d.ts +84 -0
- package/dist/data/types.d.ts.map +1 -0
- package/dist/enums.d.ts +203 -0
- package/dist/enums.d.ts.map +1 -0
- package/dist/extensibility.d.ts +663 -0
- package/dist/extensibility.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +150 -0
- package/dist/index.js.map +1 -0
- package/dist/services.d.ts +244 -0
- package/dist/services.d.ts.map +1 -0
- package/dist/structural/actions.d.ts +173 -0
- package/dist/structural/actions.d.ts.map +1 -0
- package/dist/structural/application.d.ts +137 -0
- package/dist/structural/application.d.ts.map +1 -0
- package/dist/structural/index.d.ts +3 -0
- package/dist/structural/index.d.ts.map +1 -0
- package/dist/visual/base.d.ts +32 -0
- package/dist/visual/base.d.ts.map +1 -0
- package/dist/visual/buttons.d.ts +32 -0
- package/dist/visual/buttons.d.ts.map +1 -0
- package/dist/visual/display.d.ts +36 -0
- package/dist/visual/display.d.ts.map +1 -0
- package/dist/visual/index.d.ts +9 -0
- package/dist/visual/index.d.ts.map +1 -0
- package/dist/visual/inputs.d.ts +196 -0
- package/dist/visual/inputs.d.ts.map +1 -0
- package/dist/visual/layout.d.ts +185 -0
- package/dist/visual/layout.d.ts.map +1 -0
- package/dist/visual/link.d.ts +32 -0
- package/dist/visual/link.d.ts.map +1 -0
- package/dist/visual/table.d.ts +103 -0
- package/dist/visual/table.d.ts.map +1 -0
- package/dist/visual/tabs.d.ts +26 -0
- package/dist/visual/tabs.d.ts.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { ClassBehaviourType, MemberType, OperationTargetBehaviourType, OperationTypeEnum, RelationBehaviourType, RelationKind } from '../enums';
|
|
2
|
+
import { NamedElement } from '../visual/base';
|
|
3
|
+
import { EnumerationType } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* Annotation for model elements.
|
|
6
|
+
* Maps to: data:Annotation
|
|
7
|
+
*/
|
|
8
|
+
export interface Annotation {
|
|
9
|
+
name?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Base data element - abstract.
|
|
13
|
+
* Maps to: data:DataElement
|
|
14
|
+
*/
|
|
15
|
+
export interface DataElement extends NamedElement {
|
|
16
|
+
"@type"?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Base data type - abstract.
|
|
20
|
+
* Maps to: data:DataType
|
|
21
|
+
*/
|
|
22
|
+
export interface DataType extends NamedElement {
|
|
23
|
+
"@type": string;
|
|
24
|
+
/** Resolved reference to operator EnumerationType */
|
|
25
|
+
operator?: EnumerationType;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Attribute type - scalar property.
|
|
29
|
+
* Maps to: data:AttributeType
|
|
30
|
+
*
|
|
31
|
+
* EMF Defaults:
|
|
32
|
+
* - memberType: STORED
|
|
33
|
+
* - isReadOnly: true
|
|
34
|
+
* - isProfilePicture: false
|
|
35
|
+
*/
|
|
36
|
+
export interface AttributeType extends DataElement {
|
|
37
|
+
"@type": "data:AttributeType";
|
|
38
|
+
/** Resolved reference to DataType */
|
|
39
|
+
dataType: DataType;
|
|
40
|
+
/** Member storage type. @default STORED */
|
|
41
|
+
memberType?: MemberType;
|
|
42
|
+
/** Whether attribute is read-only. @default true */
|
|
43
|
+
isReadOnly?: boolean;
|
|
44
|
+
isFilterable?: boolean;
|
|
45
|
+
isRequired?: boolean;
|
|
46
|
+
/** Whether attribute is a profile picture. @default false */
|
|
47
|
+
isProfilePicture?: boolean;
|
|
48
|
+
/** Resolved reference to original AttributeType */
|
|
49
|
+
originalAttributeType?: AttributeType;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Relation type - reference to another class.
|
|
53
|
+
* Maps to: data:RelationType
|
|
54
|
+
*
|
|
55
|
+
* EMF Defaults:
|
|
56
|
+
* - relationKind: ASSOCIATION
|
|
57
|
+
* - memberType: STORED
|
|
58
|
+
* - isCollection: true
|
|
59
|
+
* - isOptional: true
|
|
60
|
+
* - isOrderable: false
|
|
61
|
+
* - isAccess: false
|
|
62
|
+
* - isReadOnly: false
|
|
63
|
+
*/
|
|
64
|
+
export interface RelationType extends DataElement {
|
|
65
|
+
"@type": "data:RelationType";
|
|
66
|
+
/** Resolved reference to target ClassType */
|
|
67
|
+
target: ClassType;
|
|
68
|
+
/** Kind of relation. @default ASSOCIATION */
|
|
69
|
+
relationKind?: RelationKind;
|
|
70
|
+
/** Member storage type. @default STORED */
|
|
71
|
+
memberType?: MemberType;
|
|
72
|
+
/** Whether relation targets multiple elements. @default true */
|
|
73
|
+
isCollection?: boolean;
|
|
74
|
+
/** Whether relation target is optional. @default true */
|
|
75
|
+
isOptional?: boolean;
|
|
76
|
+
/** Whether relation is orderable. @default false */
|
|
77
|
+
isOrderable?: boolean;
|
|
78
|
+
isFilterable?: boolean;
|
|
79
|
+
/** Whether relation is read-only. @default false */
|
|
80
|
+
isReadOnly?: boolean;
|
|
81
|
+
/** Whether relation represents an access relation. @default false */
|
|
82
|
+
isAccess?: boolean;
|
|
83
|
+
isInlineCreatable?: boolean;
|
|
84
|
+
behaviours: RelationBehaviourType[];
|
|
85
|
+
/** Resolved reference to original RelationType */
|
|
86
|
+
originalRelationType?: RelationType;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Class type representing a transfer object.
|
|
90
|
+
* Maps to: data:ClassType
|
|
91
|
+
*
|
|
92
|
+
* EMF Defaults:
|
|
93
|
+
* - isMapped: true
|
|
94
|
+
* - isPrincipal: false
|
|
95
|
+
* - isActor: false
|
|
96
|
+
* - isOptional: false
|
|
97
|
+
* - isForCreateOrUpdateType: false
|
|
98
|
+
*/
|
|
99
|
+
export interface ClassType extends DataElement {
|
|
100
|
+
"@type": "data:ClassType";
|
|
101
|
+
attributes: AttributeType[];
|
|
102
|
+
relations: RelationType[];
|
|
103
|
+
operations: OperationType[];
|
|
104
|
+
/** Whether class is mapped to a backend transfer. @default true */
|
|
105
|
+
isMapped?: boolean;
|
|
106
|
+
/** Whether class represents the principal. @default false */
|
|
107
|
+
isPrincipal?: boolean;
|
|
108
|
+
/** Whether class represents an actor. @default false */
|
|
109
|
+
isActor?: boolean;
|
|
110
|
+
/** Whether class is optional. @default false */
|
|
111
|
+
isOptional?: boolean;
|
|
112
|
+
/** Whether class is for create/update operations. @default false */
|
|
113
|
+
isForCreateOrUpdateType?: boolean;
|
|
114
|
+
transferObjectTypeName?: string;
|
|
115
|
+
simpleName?: string;
|
|
116
|
+
packageNameTokens?: string[];
|
|
117
|
+
behaviours: ClassBehaviourType[];
|
|
118
|
+
/** Resolved reference to representation AttributeType */
|
|
119
|
+
representation?: AttributeType;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Access-based navigation for operation results.
|
|
123
|
+
* Maps to: data:AccessBasedNavigation
|
|
124
|
+
*/
|
|
125
|
+
export interface AccessBasedNavigation {
|
|
126
|
+
/** Resolved reference to access RelationType */
|
|
127
|
+
accessRelation: RelationType;
|
|
128
|
+
/** Resolved reference to PageDefinition - NOTE: This creates a circular dependency that must be handled */
|
|
129
|
+
pageDefinition: unknown;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Operation parameter type.
|
|
133
|
+
* Maps to: data:OperationParameterType
|
|
134
|
+
*
|
|
135
|
+
* EMF Defaults:
|
|
136
|
+
* - isCollection: true
|
|
137
|
+
* - isOptional: true
|
|
138
|
+
* - isOrderable: false
|
|
139
|
+
*/
|
|
140
|
+
export interface OperationParameterType extends DataElement {
|
|
141
|
+
"@type": "data:OperationParameterType";
|
|
142
|
+
/** Resolved reference to target ClassType */
|
|
143
|
+
target: ClassType;
|
|
144
|
+
/** Whether parameter accepts multiple values. @default true */
|
|
145
|
+
isCollection?: boolean;
|
|
146
|
+
/** Whether parameter is optional. @default true */
|
|
147
|
+
isOptional?: boolean;
|
|
148
|
+
/** Whether parameter is orderable. @default false */
|
|
149
|
+
isOrderable?: boolean;
|
|
150
|
+
isFilterable?: boolean;
|
|
151
|
+
behaviours?: OperationTargetBehaviourType[];
|
|
152
|
+
/** Resolved reference to original OperationParameterType */
|
|
153
|
+
originalOperationParameterType?: OperationParameterType;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Operation type - callable method.
|
|
157
|
+
* Maps to: data:OperationType
|
|
158
|
+
*
|
|
159
|
+
* EMF Defaults:
|
|
160
|
+
* - operationType: MAPPED
|
|
161
|
+
* - isStateful: true
|
|
162
|
+
*/
|
|
163
|
+
export interface OperationType extends DataElement {
|
|
164
|
+
"@type": "data:OperationType";
|
|
165
|
+
input?: OperationParameterType;
|
|
166
|
+
output?: OperationParameterType;
|
|
167
|
+
faults?: OperationParameterType[];
|
|
168
|
+
/** Type of operation. @default MAPPED */
|
|
169
|
+
operationType?: OperationTypeEnum;
|
|
170
|
+
/** Whether operation is stateful. @default true */
|
|
171
|
+
isStateful?: boolean;
|
|
172
|
+
/** Resolved reference to original OperationType */
|
|
173
|
+
originalOperationType?: OperationType;
|
|
174
|
+
postCallAccessNavigation?: AccessBasedNavigation;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Application type reference.
|
|
178
|
+
* Maps to: data:ApplicationType
|
|
179
|
+
*/
|
|
180
|
+
export interface ApplicationType extends DataElement {
|
|
181
|
+
"@type": "data:ApplicationType";
|
|
182
|
+
/** Resolved reference to target ClassType */
|
|
183
|
+
target: ClassType;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* MimeType definition.
|
|
187
|
+
* Maps to: data:MimeType
|
|
188
|
+
*/
|
|
189
|
+
export interface MimeType {
|
|
190
|
+
"xmi:id"?: string;
|
|
191
|
+
type: string;
|
|
192
|
+
subType: string;
|
|
193
|
+
}
|
|
194
|
+
//# sourceMappingURL=elements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elements.d.ts","sourceRoot":"","sources":["../../src/data/elements.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,kBAAkB,EAClB,UAAU,EACV,4BAA4B,EAC5B,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C;;;GAGG;AACH,MAAM,WAAW,UAAU;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,WAAY,SAAQ,YAAY;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,QAAS,SAAQ,YAAY;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,aAAc,SAAQ,WAAW;IACjD,OAAO,EAAE,oBAAoB,CAAC;IAC9B,qCAAqC;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mDAAmD;IACnD,qBAAqB,CAAC,EAAE,aAAa,CAAC;CACtC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,YAAa,SAAQ,WAAW;IA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AAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/data/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { NamedElement } from '../visual/base';
|
|
2
|
+
import { DataType, MimeType } from './elements';
|
|
3
|
+
/**
|
|
4
|
+
* String type.
|
|
5
|
+
* Maps to: data:StringType
|
|
6
|
+
*/
|
|
7
|
+
export interface StringType extends DataType {
|
|
8
|
+
"@type": "data:StringType";
|
|
9
|
+
maxLength?: number;
|
|
10
|
+
regExp?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Numeric type.
|
|
14
|
+
* Maps to: data:NumericType
|
|
15
|
+
*/
|
|
16
|
+
export interface NumericType extends DataType {
|
|
17
|
+
"@type": "data:NumericType";
|
|
18
|
+
precision: number;
|
|
19
|
+
scale: number;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Boolean type.
|
|
23
|
+
* Maps to: data:BooleanType
|
|
24
|
+
*/
|
|
25
|
+
export interface BooleanType extends DataType {
|
|
26
|
+
"@type": "data:BooleanType";
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Date type.
|
|
30
|
+
* Maps to: data:DateType
|
|
31
|
+
*/
|
|
32
|
+
export interface DateType extends DataType {
|
|
33
|
+
"@type": "data:DateType";
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Time type.
|
|
37
|
+
* Maps to: data:TimeType
|
|
38
|
+
*/
|
|
39
|
+
export interface TimeType extends DataType {
|
|
40
|
+
"@type": "data:TimeType";
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Timestamp type.
|
|
44
|
+
* Maps to: data:TimestampType
|
|
45
|
+
*/
|
|
46
|
+
export interface TimestampType extends DataType {
|
|
47
|
+
"@type": "data:TimestampType";
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Password type.
|
|
51
|
+
* Maps to: data:PasswordType
|
|
52
|
+
*/
|
|
53
|
+
export interface PasswordType extends DataType {
|
|
54
|
+
"@type": "data:PasswordType";
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Enumeration member.
|
|
58
|
+
* Maps to: data:EnumerationMember
|
|
59
|
+
*/
|
|
60
|
+
export interface EnumerationMember extends NamedElement {
|
|
61
|
+
ordinal: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Enumeration type.
|
|
65
|
+
* Maps to: data:EnumerationType
|
|
66
|
+
*/
|
|
67
|
+
export interface EnumerationType extends DataType {
|
|
68
|
+
"@type": "data:EnumerationType";
|
|
69
|
+
members: EnumerationMember[];
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Binary type.
|
|
73
|
+
* Maps to: data:BinaryType
|
|
74
|
+
*/
|
|
75
|
+
export interface BinaryType extends DataType {
|
|
76
|
+
"@type": "data:BinaryType";
|
|
77
|
+
mimeTypes: MimeType[];
|
|
78
|
+
maxFileSize?: number;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Union type for all data types.
|
|
82
|
+
*/
|
|
83
|
+
export type AnyDataType = StringType | NumericType | BooleanType | DateType | TimeType | TimestampType | PasswordType | EnumerationType | BinaryType;
|
|
84
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/data/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAErD;;;GAGG;AACH,MAAM,WAAW,UAAW,SAAQ,QAA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U,CAAC"}
|
package/dist/enums.d.ts
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
export declare const Axis: {
|
|
2
|
+
readonly HORIZONTAL: "HORIZONTAL";
|
|
3
|
+
readonly VERTICAL: "VERTICAL";
|
|
4
|
+
};
|
|
5
|
+
export type Axis = (typeof Axis)[keyof typeof Axis];
|
|
6
|
+
export declare const Fit: {
|
|
7
|
+
readonly NONE: "NONE";
|
|
8
|
+
readonly LOOSE: "LOOSE";
|
|
9
|
+
readonly TIGHT: "TIGHT";
|
|
10
|
+
};
|
|
11
|
+
export type Fit = (typeof Fit)[keyof typeof Fit];
|
|
12
|
+
export declare const Stretch: {
|
|
13
|
+
readonly NONE: "NONE";
|
|
14
|
+
readonly HORIZONTAL: "HORIZONTAL";
|
|
15
|
+
readonly VERTICAL: "VERTICAL";
|
|
16
|
+
readonly BOTH: "BOTH";
|
|
17
|
+
};
|
|
18
|
+
export type Stretch = (typeof Stretch)[keyof typeof Stretch];
|
|
19
|
+
export declare const MainAxisAlignment: {
|
|
20
|
+
readonly CENTER: "CENTER";
|
|
21
|
+
readonly END: "END";
|
|
22
|
+
readonly SPACEAROUND: "SPACEAROUND";
|
|
23
|
+
readonly SPACEBETWEEN: "SPACEBETWEEN";
|
|
24
|
+
readonly SPACEEVENLY: "SPACEEVENLY";
|
|
25
|
+
readonly START: "START";
|
|
26
|
+
};
|
|
27
|
+
export type MainAxisAlignment = (typeof MainAxisAlignment)[keyof typeof MainAxisAlignment];
|
|
28
|
+
export declare const CrossAxisAlignment: {
|
|
29
|
+
readonly BASELINE: "BASELINE";
|
|
30
|
+
readonly CENTER: "CENTER";
|
|
31
|
+
readonly END: "END";
|
|
32
|
+
readonly START: "START";
|
|
33
|
+
readonly STRETCH: "STRETCH";
|
|
34
|
+
};
|
|
35
|
+
export type CrossAxisAlignment = (typeof CrossAxisAlignment)[keyof typeof CrossAxisAlignment];
|
|
36
|
+
export declare const MainAxisSize: {
|
|
37
|
+
readonly MIN: "MIN";
|
|
38
|
+
readonly MAX: "MAX";
|
|
39
|
+
};
|
|
40
|
+
export type MainAxisSize = (typeof MainAxisSize)[keyof typeof MainAxisSize];
|
|
41
|
+
export declare const Alignment: {
|
|
42
|
+
readonly TOP_LEFT: "TOP_LEFT";
|
|
43
|
+
readonly TOP_CENTER: "TOP_CENTER";
|
|
44
|
+
readonly TOP_RIGHT: "TOP_RIGHT";
|
|
45
|
+
readonly CENTER_LEFT: "CENTER_LEFT";
|
|
46
|
+
readonly CENTER: "CENTER";
|
|
47
|
+
readonly CENTER_RIGHT: "CENTER_RIGHT";
|
|
48
|
+
readonly BOTTOM_LEFT: "BOTTOM_LEFT";
|
|
49
|
+
readonly BOTTOM_CENTER: "BOTTOM_CENTER";
|
|
50
|
+
readonly BOTTOM_RIGHT: "BOTTOM_RIGHT";
|
|
51
|
+
};
|
|
52
|
+
export type Alignment = (typeof Alignment)[keyof typeof Alignment];
|
|
53
|
+
export declare const DialogSize: {
|
|
54
|
+
readonly XS: "XS";
|
|
55
|
+
readonly SM: "SM";
|
|
56
|
+
readonly MD: "MD";
|
|
57
|
+
readonly LG: "LG";
|
|
58
|
+
readonly XL: "XL";
|
|
59
|
+
};
|
|
60
|
+
export type DialogSize = (typeof DialogSize)[keyof typeof DialogSize];
|
|
61
|
+
export declare const PageContainerType: {
|
|
62
|
+
readonly TABLE: "TABLE";
|
|
63
|
+
readonly FORM: "FORM";
|
|
64
|
+
readonly VIEW: "VIEW";
|
|
65
|
+
};
|
|
66
|
+
export type PageContainerType = (typeof PageContainerType)[keyof typeof PageContainerType];
|
|
67
|
+
export declare const ButtonStyle: {
|
|
68
|
+
readonly CONTAINED: "contained";
|
|
69
|
+
readonly TEXT: "text";
|
|
70
|
+
readonly OUTLINED: "outlined";
|
|
71
|
+
};
|
|
72
|
+
export type ButtonStyle = (typeof ButtonStyle)[keyof typeof ButtonStyle];
|
|
73
|
+
export declare const ConfirmationType: {
|
|
74
|
+
readonly NONE: "NONE";
|
|
75
|
+
readonly CONDITIONAL: "CONDITIONAL";
|
|
76
|
+
readonly MANDATORY: "MANDATORY";
|
|
77
|
+
};
|
|
78
|
+
export type ConfirmationType = (typeof ConfirmationType)[keyof typeof ConfirmationType];
|
|
79
|
+
export declare const Sort: {
|
|
80
|
+
readonly NONE: "NONE";
|
|
81
|
+
readonly ASC: "ASC";
|
|
82
|
+
readonly DESC: "DESC";
|
|
83
|
+
};
|
|
84
|
+
export type Sort = (typeof Sort)[keyof typeof Sort];
|
|
85
|
+
export declare const FilterOperationType: {
|
|
86
|
+
readonly EQUAL: "EQUAL";
|
|
87
|
+
readonly NOT_EQUAL: "NOT_EQUAL";
|
|
88
|
+
readonly IS_EMPTY: "IS_EMPTY";
|
|
89
|
+
readonly IS_NOT_EMPTY: "IS_NOT_EMPTY";
|
|
90
|
+
readonly LESS: "LESS";
|
|
91
|
+
readonly LESS_OR_EQUAL: "LESS_OR_EQUAL";
|
|
92
|
+
readonly GREATER: "GREATER";
|
|
93
|
+
readonly GREATER_OR_EQUAL: "GREATER_OR_EQUAL";
|
|
94
|
+
readonly LIKE: "LIKE";
|
|
95
|
+
};
|
|
96
|
+
export type FilterOperationType = (typeof FilterOperationType)[keyof typeof FilterOperationType];
|
|
97
|
+
export declare const CheckboxSelection: {
|
|
98
|
+
readonly AUTO: "AUTO";
|
|
99
|
+
readonly ENABLED: "ENABLED";
|
|
100
|
+
readonly DISABLED: "DISABLED";
|
|
101
|
+
};
|
|
102
|
+
export type CheckboxSelection = (typeof CheckboxSelection)[keyof typeof CheckboxSelection];
|
|
103
|
+
export declare const TableRepresentation: {
|
|
104
|
+
readonly TABLE: "TABLE";
|
|
105
|
+
readonly TAG: "TAG";
|
|
106
|
+
readonly CARD: "CARD";
|
|
107
|
+
};
|
|
108
|
+
export type TableRepresentation = (typeof TableRepresentation)[keyof typeof TableRepresentation];
|
|
109
|
+
export declare const MenuLayout: {
|
|
110
|
+
readonly VERTICAL: "VERTICAL";
|
|
111
|
+
readonly HORIZONTAL: "HORIZONTAL";
|
|
112
|
+
};
|
|
113
|
+
export type MenuLayout = (typeof MenuLayout)[keyof typeof MenuLayout];
|
|
114
|
+
export declare const TabOrientation: {
|
|
115
|
+
readonly HORIZONTAL: "HORIZONTAL";
|
|
116
|
+
readonly VERTICAL: "VERTICAL";
|
|
117
|
+
};
|
|
118
|
+
export type TabOrientation = (typeof TabOrientation)[keyof typeof TabOrientation];
|
|
119
|
+
export declare const DurationUnit: {
|
|
120
|
+
readonly NANOSECOND: "NANOSECOND";
|
|
121
|
+
readonly MICROSECOND: "MICROSECOND";
|
|
122
|
+
readonly MILLISECOND: "MILLISECOND";
|
|
123
|
+
readonly SECOND: "SECOND";
|
|
124
|
+
readonly MINUTE: "MINUTE";
|
|
125
|
+
readonly HOUR: "HOUR";
|
|
126
|
+
readonly DAY: "DAY";
|
|
127
|
+
readonly WEEK: "WEEK";
|
|
128
|
+
readonly MONTH: "MONTH";
|
|
129
|
+
readonly YEAR: "YEAR";
|
|
130
|
+
};
|
|
131
|
+
export type DurationUnit = (typeof DurationUnit)[keyof typeof DurationUnit];
|
|
132
|
+
export declare const Placement: {
|
|
133
|
+
readonly TOP: "TOP";
|
|
134
|
+
readonly BOTTOM: "BOTTOM";
|
|
135
|
+
readonly START: "START";
|
|
136
|
+
readonly END: "END";
|
|
137
|
+
readonly DEFAULT: "DEFAULT";
|
|
138
|
+
};
|
|
139
|
+
export type Placement = (typeof Placement)[keyof typeof Placement];
|
|
140
|
+
export declare const TitleFrom: {
|
|
141
|
+
readonly LABEL: "LABEL";
|
|
142
|
+
readonly ATTRIBUTE: "ATTRIBUTE";
|
|
143
|
+
};
|
|
144
|
+
export type TitleFrom = (typeof TitleFrom)[keyof typeof TitleFrom];
|
|
145
|
+
export declare const ClaimType: {
|
|
146
|
+
readonly UNDEFINED: "UNDEFINED";
|
|
147
|
+
readonly EMAIL: "EMAIL";
|
|
148
|
+
readonly USERNAME: "USERNAME";
|
|
149
|
+
};
|
|
150
|
+
export type ClaimType = (typeof ClaimType)[keyof typeof ClaimType];
|
|
151
|
+
export declare const RelationKind: {
|
|
152
|
+
readonly ASSOCIATION: "ASSOCIATION";
|
|
153
|
+
readonly COMPOSITION: "COMPOSITION";
|
|
154
|
+
readonly AGGREGATION: "AGGREGATION";
|
|
155
|
+
readonly STATIC: "STATIC";
|
|
156
|
+
};
|
|
157
|
+
export type RelationKind = (typeof RelationKind)[keyof typeof RelationKind];
|
|
158
|
+
export declare const MemberType: {
|
|
159
|
+
readonly STORED: "STORED";
|
|
160
|
+
readonly DERIVED: "DERIVED";
|
|
161
|
+
readonly MAPPED: "MAPPED";
|
|
162
|
+
readonly TRANSIENT: "TRANSIENT";
|
|
163
|
+
readonly ACCESS: "ACCESS";
|
|
164
|
+
};
|
|
165
|
+
export type MemberType = (typeof MemberType)[keyof typeof MemberType];
|
|
166
|
+
export declare const RelationBehaviourType: {
|
|
167
|
+
readonly LIST: "LIST";
|
|
168
|
+
readonly CREATE: "CREATE";
|
|
169
|
+
readonly SET: "SET";
|
|
170
|
+
readonly UNSET: "UNSET";
|
|
171
|
+
readonly ADD: "ADD";
|
|
172
|
+
readonly REMOVE: "REMOVE";
|
|
173
|
+
readonly RANGE: "RANGE";
|
|
174
|
+
readonly VALIDATE_CREATE: "VALIDATE_CREATE";
|
|
175
|
+
readonly TEMPLATE: "TEMPLATE";
|
|
176
|
+
readonly UPDATE: "UPDATE";
|
|
177
|
+
readonly VALIDATE_UPDATE: "VALIDATE_UPDATE";
|
|
178
|
+
readonly DELETE: "DELETE";
|
|
179
|
+
readonly REFRESH: "REFRESH";
|
|
180
|
+
readonly EXPORT: "EXPORT";
|
|
181
|
+
};
|
|
182
|
+
export type RelationBehaviourType = (typeof RelationBehaviourType)[keyof typeof RelationBehaviourType];
|
|
183
|
+
export declare const ClassBehaviourType: {
|
|
184
|
+
readonly REFRESH: "REFRESH";
|
|
185
|
+
readonly UPDATE: "UPDATE";
|
|
186
|
+
readonly VALIDATE_UPDATE: "VALIDATE_UPDATE";
|
|
187
|
+
readonly DELETE: "DELETE";
|
|
188
|
+
readonly TEMPLATE: "TEMPLATE";
|
|
189
|
+
};
|
|
190
|
+
export type ClassBehaviourType = (typeof ClassBehaviourType)[keyof typeof ClassBehaviourType];
|
|
191
|
+
export declare const OperationTypeEnum: {
|
|
192
|
+
readonly MAPPED: "MAPPED";
|
|
193
|
+
readonly STATIC: "STATIC";
|
|
194
|
+
};
|
|
195
|
+
export type OperationTypeEnum = (typeof OperationTypeEnum)[keyof typeof OperationTypeEnum];
|
|
196
|
+
export declare const OperationTargetBehaviourType: {
|
|
197
|
+
readonly REFRESH: "REFRESH";
|
|
198
|
+
readonly UPDATE: "UPDATE";
|
|
199
|
+
readonly DELETE: "DELETE";
|
|
200
|
+
readonly VALIDATE_INPUT: "VALIDATE_INPUT";
|
|
201
|
+
};
|
|
202
|
+
export type OperationTargetBehaviourType = (typeof OperationTargetBehaviourType)[keyof typeof OperationTargetBehaviourType];
|
|
203
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI;;;CAGP,CAAC;AACX,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAEpD,eAAO,MAAM,GAAG;;;;CAIN,CAAC;AACX,MAAM,MAAM,GAAG,GAAG,CAAC,OAAO,GAAG,CAAC,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC;AAEjD,eAAO,MAAM,OAAO;;;;;CAKV,CAAC;AACX,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAE7D,eAAO,MAAM,iBAAiB;;;;;;;CAOpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,i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