@sap/ux-specification 1.124.35 → 1.124.36
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/CHANGELOG.md +29 -0
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ListReportNew.html +2 -2
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +267 -263
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v4/BuildingBlocksConfig.json +2 -2
- package/dist/specification/package.json +6 -6
- package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
- package/dist/specification/scripts/macros/corrections.js +33 -1
- package/dist/specification/scripts/macros/corrections.js.map +1 -1
- package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
- package/dist/specification/scripts/macros/schema.js +13 -0
- package/dist/specification/scripts/macros/schema.js.map +1 -1
- package/dist/specification/src/i18n/i18n.d.ts.map +1 -1
- package/dist/specification/src/i18n/i18n.js +2 -1
- package/dist/specification/src/i18n/i18n.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +6 -40
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +26 -91
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js +7 -7
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.js +56 -2
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/application.d.ts +11 -0
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/application.js +16 -1
- package/dist/specification/src/sync/v4/application.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +2 -2
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +19 -11
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +17 -23
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts +119 -127
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +168 -168
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -1
- package/package.json +7 -7
|
@@ -15,15 +15,15 @@ export declare class BaseConstruct {
|
|
|
15
15
|
protected readonly page: Page;
|
|
16
16
|
protected readonly logger?: ExtensionLogger;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Creates the base construct with access to the app schema, app/page configuration, and logger.
|
|
19
19
|
*
|
|
20
|
-
* @param settings -
|
|
20
|
+
* @param settings - Shared context (appSchema, app, page, logger) passed to all decorator classes
|
|
21
21
|
*/
|
|
22
22
|
constructor(settings?: GeneralSettings);
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Returns the shared context (appSchema, app, page, logger) for use by subclasses or callers.
|
|
25
25
|
*
|
|
26
|
-
* @returns The
|
|
26
|
+
* @returns The current settings object
|
|
27
27
|
*/
|
|
28
28
|
getSettings(): GeneralSettings;
|
|
29
29
|
}
|
|
@@ -34,64 +34,57 @@ export interface Base {
|
|
|
34
34
|
export declare class BaseClass extends BaseConstruct {
|
|
35
35
|
private readonly base;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Looks up the matching schema definition by class name and stores it as the base.
|
|
38
38
|
*
|
|
39
|
-
* @param settings -
|
|
39
|
+
* @param settings - Shared context (appSchema, app, page, logger) passed to all decorator classes
|
|
40
40
|
*/
|
|
41
41
|
constructor(settings?: GeneralSettings);
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Returns the class name used to look up the matching schema definition.
|
|
44
44
|
*
|
|
45
|
-
* @returns The name of
|
|
45
|
+
* @returns The constructor name of this class
|
|
46
46
|
*/
|
|
47
47
|
getClassName(): string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Returns the name stored at construction time for the schema definition lookup.
|
|
50
50
|
*
|
|
51
|
-
* @returns The base name
|
|
51
|
+
* @returns The base definition name
|
|
52
52
|
*/
|
|
53
53
|
getBaseName(): string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Returns the schema definition that decorators are applied to.
|
|
56
56
|
*
|
|
57
|
-
* @returns The
|
|
57
|
+
* @returns The JSON schema definition for this class
|
|
58
58
|
*/
|
|
59
59
|
getBase(): Definition;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Builds an annotation path like `/<EntityType>/@<Term>#<Qualifier>` and stores it on the schema definition.
|
|
62
62
|
*
|
|
63
|
-
* @param entityTypeName -
|
|
64
|
-
* @param term -
|
|
65
|
-
* @param qualifier -
|
|
66
|
-
* @returns
|
|
63
|
+
* @param entityTypeName - The OData entity type name (e.g. "SalesOrderItem")
|
|
64
|
+
* @param term - The annotation term (e.g. "com.sap.vocabularies.UI.v1.LineItem")
|
|
65
|
+
* @param qualifier - Optional qualifier to disambiguate multiple annotations of the same term
|
|
66
|
+
* @returns The built annotation path, or undefined if entityTypeName is empty
|
|
67
67
|
*/
|
|
68
68
|
createAnnotationPath(entityTypeName: string, term: string, qualifier?: string): string | undefined;
|
|
69
69
|
}
|
|
70
70
|
export declare class Decorator extends BaseClass {
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* Defined as non-enumerable to hide from serialization.
|
|
72
|
+
* Evaluation context built from app config, page config, and optional custom values.
|
|
73
|
+
* Non-enumerable to stay hidden from serialization.
|
|
75
74
|
*/
|
|
76
75
|
private decoratorContext;
|
|
77
76
|
/**
|
|
78
|
-
*
|
|
77
|
+
* Sets up the decorator context as non-enumerable so it stays hidden from serialization.
|
|
79
78
|
*
|
|
80
|
-
* @param settings -
|
|
79
|
+
* @param settings - Shared context (appSchema, app, page, logger) passed to all decorator classes
|
|
81
80
|
*/
|
|
82
81
|
constructor(settings?: GeneralSettings);
|
|
83
82
|
/**
|
|
84
|
-
*
|
|
83
|
+
* Builds the decorator context from app, page, and custom values, then applies all
|
|
84
|
+
* decorators (enums, message, hide, readonly) to the schema definition.
|
|
85
85
|
*
|
|
86
|
-
*
|
|
87
|
-
* -
|
|
88
|
-
* - `page`: The Page configuration (from `this.page.config`)
|
|
89
|
-
* - `custom`: Custom context provided by the caller.
|
|
90
|
-
*
|
|
91
|
-
* @param customContext - Optional custom context for decorator conditions.
|
|
92
|
-
* Use this for runtime-specific conditions like table state, section state, etc.
|
|
93
|
-
* @param definition - Optional custom definition to apply decorators to.
|
|
94
|
-
* If provided, decorators are applied to this definition instead of the one from appSchema.
|
|
86
|
+
* @param customContext - Specific values (e.g. table state, section state) used for condition evaluation
|
|
87
|
+
* @param definition - Override the schema definition to decorate (defaults to getBase())
|
|
95
88
|
* @example
|
|
96
89
|
* ```typescript
|
|
97
90
|
* // Basic initialization (app and page auto-injected)
|
|
@@ -108,12 +101,12 @@ export declare class Decorator extends BaseClass {
|
|
|
108
101
|
*/
|
|
109
102
|
init(customContext?: Record<string, unknown>, definition?: Definition): void;
|
|
110
103
|
/**
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
104
|
+
* Resolves a dotted property path (e.g. `page.isALP`, `custom.items[0].name`) against
|
|
105
|
+
* the decorator context using JSONPath. The path must start with a known source prefix
|
|
106
|
+
* (`app`, `page`, or `custom`).
|
|
114
107
|
*
|
|
115
|
-
* @param propertyPath -
|
|
116
|
-
* @returns
|
|
108
|
+
* @param propertyPath - Dotted path with source prefix, supports full JSONPath syntax
|
|
109
|
+
* @returns The resolved `{ key, value }` pair, or undefined if the path does not resolve
|
|
117
110
|
* @example
|
|
118
111
|
* ```typescript
|
|
119
112
|
* // With decoratorContext = {
|
|
@@ -131,170 +124,169 @@ export declare class Decorator extends BaseClass {
|
|
|
131
124
|
*/
|
|
132
125
|
private getPropertyKeyValue;
|
|
133
126
|
/**
|
|
134
|
-
* Evaluates
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
* @param condition
|
|
138
|
-
* @
|
|
139
|
-
* @param condition.expectedValue - Optional expected value for equality check
|
|
140
|
-
* @param condition.negate - Optional flag to invert the condition result
|
|
141
|
-
* @returns Object containing whether condition passed and the dependency value
|
|
127
|
+
* Evaluates one condition: resolves the path, applies the check (custom function,
|
|
128
|
+
* equality, or truthy), and optionally negates the result (for `not()` conditions).
|
|
129
|
+
*
|
|
130
|
+
* @param condition - A single condition with path, expected value, and optional negate flag
|
|
131
|
+
* @returns Whether the condition passed along with the resolved value and key
|
|
142
132
|
*/
|
|
143
133
|
private evaluateSingleCondition;
|
|
144
134
|
/**
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* @param
|
|
149
|
-
* @param
|
|
150
|
-
* @param
|
|
151
|
-
* @param i18nProperties
|
|
152
|
-
* @param i18nProperties.
|
|
135
|
+
* Translates and attaches a message to a schema property.
|
|
136
|
+
* Supports both the new `MessageConfig` format (from `msg()` helper) and the legacy `DependsOnMessage` format.
|
|
137
|
+
*
|
|
138
|
+
* @param condition - The decorator metadata or enum value condition containing the message definition
|
|
139
|
+
* @param decoratedClass - The decorated class instance, used for legacy function-based message text
|
|
140
|
+
* @param definition - The schema property definition to attach the message to
|
|
141
|
+
* @param i18nProperties - Context for i18n translation (propertyName, evaluation context)
|
|
142
|
+
* @param i18nProperties.propertyName - The property name used as i18n parameter
|
|
143
|
+
* @param i18nProperties.context - The evaluation context string used as i18n parameter
|
|
153
144
|
*/
|
|
154
145
|
private addConditionalMessage;
|
|
155
146
|
/**
|
|
156
|
-
* Resolves PathNode values in message params to their actual values from the decorator context.
|
|
147
|
+
* Resolves any `PathNode` values in message params to their actual values from the decorator context.
|
|
157
148
|
*
|
|
158
|
-
* @param params -
|
|
159
|
-
* @returns
|
|
149
|
+
* @param params - Message parameters that may contain PathNode references
|
|
150
|
+
* @returns A new params object with PathNode values replaced by their resolved context values
|
|
160
151
|
*/
|
|
161
152
|
private resolveMessageParams;
|
|
162
153
|
/**
|
|
163
|
-
*
|
|
154
|
+
* Builds a human-readable context string from the evaluation results that did not pass.
|
|
155
|
+
* Used for diagnostic messages showing which conditions were unmet.
|
|
164
156
|
*
|
|
165
|
-
* @param results - The evaluation results
|
|
166
|
-
* @returns
|
|
157
|
+
* @param results - The condition evaluation results to summarize
|
|
158
|
+
* @returns A comma-separated string of `key: value` pairs for failed conditions
|
|
167
159
|
*/
|
|
168
160
|
private getContextForMessage;
|
|
169
161
|
/**
|
|
170
|
-
* Evaluates
|
|
162
|
+
* Evaluates one item inside an AND group — either a single condition or a nested OR group.
|
|
171
163
|
*
|
|
172
|
-
* @param conditionItem -
|
|
173
|
-
* @returns
|
|
164
|
+
* @param conditionItem - A single condition or a nested `{ __orConditions }` group
|
|
165
|
+
* @returns Whether the item passed and the detailed evaluation results
|
|
174
166
|
*/
|
|
175
167
|
private evaluateAndConditionItem;
|
|
176
168
|
/**
|
|
177
|
-
* Evaluates OR conditions
|
|
178
|
-
*
|
|
169
|
+
* Evaluates OR conditions — passes when at least one item (single condition or nested AND group) matches.
|
|
170
|
+
* Short-circuits on the first passing item.
|
|
179
171
|
*
|
|
180
|
-
* @param orConditions - Array of
|
|
181
|
-
* @returns
|
|
172
|
+
* @param orConditions - Array of conditions or nested AND groups to evaluate
|
|
173
|
+
* @returns Whether any condition passed and the collected evaluation results
|
|
182
174
|
*/
|
|
183
175
|
private evaluateOrConditions;
|
|
184
176
|
/**
|
|
185
|
-
* Evaluates AND conditions (
|
|
186
|
-
*
|
|
177
|
+
* Evaluates AND conditions — passes only when every item (single condition or nested OR group) matches.
|
|
178
|
+
* Continues even after a failure to collect all results for diagnostic context.
|
|
187
179
|
*
|
|
188
|
-
* @param andConditions - Array of
|
|
189
|
-
* @returns
|
|
180
|
+
* @param andConditions - Array of conditions or nested OR groups that must all pass
|
|
181
|
+
* @returns Whether all conditions passed and the collected evaluation results
|
|
190
182
|
*/
|
|
191
183
|
private evaluateAndConditions;
|
|
192
184
|
/**
|
|
193
|
-
*
|
|
185
|
+
* Entry point for condition evaluation. Dispatches to OR, AND, or single evaluation
|
|
186
|
+
* depending on the shape of the condition metadata.
|
|
194
187
|
*
|
|
195
|
-
* @param conditionInfo - The condition metadata
|
|
196
|
-
* @returns
|
|
188
|
+
* @param conditionInfo - The decorator condition metadata (single, AND, or OR)
|
|
189
|
+
* @returns Whether the condition passed and a diagnostic context string
|
|
197
190
|
*/
|
|
198
191
|
private evaluateCondition;
|
|
199
192
|
/**
|
|
200
|
-
*
|
|
201
|
-
*
|
|
193
|
+
* Yields each property from a schema definition for decorator processing.
|
|
194
|
+
* Returns early if the definition has no properties or the target is falsy.
|
|
202
195
|
*
|
|
203
|
-
* @param schemaDefinition - The schema definition to
|
|
204
|
-
* @param target -
|
|
205
|
-
* @yields Property name and definition for each property in the schema
|
|
196
|
+
* @param schemaDefinition - The schema definition whose properties to iterate
|
|
197
|
+
* @param target - Guard object — iteration is skipped if falsy
|
|
198
|
+
* @yields Property name and its definition for each property in the schema
|
|
206
199
|
*/
|
|
207
200
|
private iterateProperties;
|
|
208
201
|
/**
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
* the message decorator
|
|
202
|
+
* Hides properties whose `@hide` conditions pass.
|
|
203
|
+
* Multiple `@hide` decorators use OR semantics — any passing condition hides the property.
|
|
204
|
+
* Skipped when the `@message` decorator already added messages to the property.
|
|
212
205
|
*
|
|
213
|
-
* @param schemaDefinition - The schema definition to
|
|
214
|
-
* @param
|
|
206
|
+
* @param schemaDefinition - The schema definition to process
|
|
207
|
+
* @param decoratedClass - The decorated class instance carrying `@hide` metadata
|
|
215
208
|
*/
|
|
216
209
|
private applyHideDecorator;
|
|
217
210
|
/**
|
|
218
|
-
*
|
|
219
|
-
*
|
|
211
|
+
* Shows messages on properties whose `@message` conditions pass.
|
|
212
|
+
* Must run before `applyHideDecorator` so hide can detect existing messages.
|
|
220
213
|
*
|
|
221
|
-
* @param schemaDefinition - The schema definition to
|
|
222
|
-
* @param
|
|
214
|
+
* @param schemaDefinition - The schema definition to process
|
|
215
|
+
* @param decoratedClass - The decorated class instance carrying `@message` metadata
|
|
223
216
|
*/
|
|
224
217
|
private applyMessageDecorator;
|
|
225
218
|
/**
|
|
226
|
-
*
|
|
227
|
-
*
|
|
219
|
+
* Marks properties as read-only whose `@readonly` conditions pass.
|
|
220
|
+
* Multiple `@readonly` decorators use OR semantics — any passing condition makes the property read-only.
|
|
228
221
|
*
|
|
229
|
-
* @param schemaDefinition - The schema definition to
|
|
230
|
-
* @param
|
|
222
|
+
* @param schemaDefinition - The schema definition to process
|
|
223
|
+
* @param decoratedClass - The decorated class instance carrying `@readonly` metadata
|
|
231
224
|
*/
|
|
232
225
|
private applyReadonlyDecorator;
|
|
233
226
|
/**
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
* If multiple @enums decorators exist on the same property, the first matching condition wins.
|
|
227
|
+
* Restricts enum values on properties whose `@enums` conditions pass.
|
|
228
|
+
* When multiple `@enums` decorators exist on the same property, the first matching condition wins.
|
|
237
229
|
*
|
|
238
|
-
* @param schemaDefinition - The schema definition to
|
|
239
|
-
* @param
|
|
230
|
+
* @param schemaDefinition - The schema definition to process
|
|
231
|
+
* @param decoratedClass - The decorated class instance carrying `@enums` metadata
|
|
240
232
|
*/
|
|
241
233
|
private applyEnumsDecorator;
|
|
242
234
|
/**
|
|
243
|
-
*
|
|
235
|
+
* Reads the `@validity` metadata stored on a property of the decorated class.
|
|
244
236
|
*
|
|
245
|
-
* @param target - The
|
|
246
|
-
* @param propertyName - The property
|
|
247
|
-
* @returns The validity
|
|
237
|
+
* @param target - The decorated class instance
|
|
238
|
+
* @param propertyName - The property to read validity metadata from
|
|
239
|
+
* @returns The validity constraints (since, enum restrictions), or undefined if none
|
|
248
240
|
*/
|
|
249
241
|
private getValidityMetadata;
|
|
250
242
|
/**
|
|
251
|
-
*
|
|
252
|
-
* Handles both inline enums and $ref to enum definitions.
|
|
243
|
+
* Returns the enum values from a property definition, resolving `$ref` to a shared enum definition if needed.
|
|
253
244
|
*
|
|
254
|
-
* @param property - The property definition
|
|
255
|
-
* @returns The enum array or undefined if not
|
|
245
|
+
* @param property - The schema property definition (may have inline `enum` or a `$ref`)
|
|
246
|
+
* @returns The enum values array, or undefined if the property is not an enum
|
|
256
247
|
*/
|
|
257
248
|
private resolveEnumFromProperty;
|
|
258
249
|
/**
|
|
259
|
-
*
|
|
260
|
-
* For
|
|
261
|
-
* For inline enum properties, updates the enum directly.
|
|
250
|
+
* Writes filtered enum values to a property definition.
|
|
251
|
+
* For `$ref` properties, inlines the enum, copies the type, and removes the `$ref`.
|
|
262
252
|
*
|
|
263
|
-
* @param property - The property definition to update
|
|
264
|
-
* @param filteredEnum - The
|
|
253
|
+
* @param property - The schema property definition to update
|
|
254
|
+
* @param filteredEnum - The allowed enum values after filtering
|
|
265
255
|
*/
|
|
266
256
|
private applyFilteredEnumToProperty;
|
|
267
257
|
/**
|
|
268
|
-
*
|
|
258
|
+
* Hides properties and filters enum values that require a UI5 version higher than the app's minimum.
|
|
269
259
|
*
|
|
270
|
-
* @param schemaDefinition The schema definition to
|
|
271
|
-
* @param
|
|
272
|
-
* @param minUI5Version The minimum UI5 version to
|
|
260
|
+
* @param schemaDefinition - The schema definition to process
|
|
261
|
+
* @param decoratedClass - The decorated class instance carrying `@validity` metadata
|
|
262
|
+
* @param minUI5Version - The app's minimum UI5 version to check against
|
|
273
263
|
*/
|
|
274
264
|
private applyValidityDecorator;
|
|
275
265
|
/**
|
|
276
|
-
*
|
|
266
|
+
* Marks the schema definition as a view node if the `@isViewNode` decorator is present on the target.
|
|
277
267
|
*
|
|
278
|
-
* @param schemaDefinition The schema definition to
|
|
279
|
-
* @param target The
|
|
280
|
-
* @param propertyName
|
|
268
|
+
* @param schemaDefinition - The schema definition to tag
|
|
269
|
+
* @param target - The class constructor or prototype carrying the decorator
|
|
270
|
+
* @param propertyName - Optional property name for property-level decorators
|
|
281
271
|
*/
|
|
282
272
|
private applyIsViewNodeDecorator;
|
|
283
273
|
/**
|
|
284
|
-
*
|
|
274
|
+
* Sets the schema `description` field from the `@description` decorator if present on the target.
|
|
285
275
|
*
|
|
286
|
-
* @param schemaDefinition - The schema definition to
|
|
287
|
-
* @param target - The
|
|
288
|
-
* @param propertyName -
|
|
276
|
+
* @param schemaDefinition - The schema definition to update
|
|
277
|
+
* @param target - The class constructor or prototype carrying the decorator
|
|
278
|
+
* @param propertyName - Optional property name for property-level decorators
|
|
289
279
|
*/
|
|
290
280
|
private applyDescriptionDecorator;
|
|
291
281
|
/**
|
|
292
|
-
* Applies all decorators to the schema
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
* @param
|
|
297
|
-
* @
|
|
282
|
+
* Applies all decorators to the schema in the correct order:
|
|
283
|
+
* description → isViewNode → validity → enums → message → hide → readonly.
|
|
284
|
+
* Message runs before hide so that hide can skip properties that already have messages.
|
|
285
|
+
*
|
|
286
|
+
* @param minUi5Version - The app's minimum UI5 version for validity checks
|
|
287
|
+
* @param propertyName - Optional property name when decorating a single property
|
|
288
|
+
* @param customDefinition - Override the schema definition (defaults to `getBase()`)
|
|
289
|
+
* @returns The decorated schema definition
|
|
298
290
|
*/
|
|
299
291
|
applyDecorators(minUi5Version?: string, propertyName?: string, customDefinition?: Definition): {
|
|
300
292
|
definition: Definition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DecoratorClass.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v4/sync-rules/DecoratorClass.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAGR,eAAe,EAKlB,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"DecoratorClass.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v4/sync-rules/DecoratorClass.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAGR,eAAe,EAKlB,MAAM,6BAA6B,CAAC;AAgBrC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAqB7C,MAAM,MAAM,eAAe,CAAC,cAAc,SAAS,IAAI,GAAG,IAAI,IAAI;IAC9D,SAAS,EAAE,SAAS,CAAC;IACrB,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,CAAC,EAAE,eAAe,CAAC;CAC5B,CAAC;AAEF,qBAAa,aAAa;IACtB,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IACxC,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;IAC5B,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IA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