@sapui5/types 1.121.2 → 1.122.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.
- package/package.json +1 -1
- package/types/{commons-1.121.0-esm-d.ts → commons-1.122.0-esm-d.ts} +4 -1
- package/types/{core-1.121.0-esm-d.ts → core-1.122.0-esm-d.ts} +349 -177
- package/types/dt-1.122.0-esm-d.ts +3 -0
- package/types/index.d.ts +7 -7
- package/types/{mdc-1.121.0-esm-d.ts → mdc-1.122.0-esm-d.ts} +161 -40
- package/types/{mobile-1.121.0-esm-d.ts → mobile-1.122.0-esm-d.ts} +1042 -56
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +11 -5
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +47 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +81 -267
- package/types/sap.fe.navigation.d.ts +109 -10
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +57 -2
- package/types/sap.insights.d.ts +22 -1
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +297 -210
- package/types/sap.suite.ui.commons.d.ts +1488 -113
- package/types/sap.suite.ui.generic.template.d.ts +5 -3
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +227 -28
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -3
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +5 -1
- package/types/sap.ui.layout.d.ts +4 -4
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +15 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +4 -4
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +96 -289
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +7 -480
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +52 -3
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
- package/types/{tnt-1.121.0-esm-d.ts → tnt-1.122.0-esm-d.ts} +1 -1
- package/types/{ux3-1.121.0-esm-d.ts → ux3-1.122.0-esm-d.ts} +3 -3
- package/types/dt-1.121.0-esm-d.ts +0 -3
package/types/sap.sac.df.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.122.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/sac/df/library" {}
|
|
4
4
|
|
|
@@ -81,10 +81,6 @@ declare module "sap/sac/df/FilterBar" {
|
|
|
81
81
|
$FilterBarSettings as $FilterBarSettings1,
|
|
82
82
|
} from "sap/ui/mdc/FilterBar";
|
|
83
83
|
|
|
84
|
-
import Event from "sap/ui/base/Event";
|
|
85
|
-
|
|
86
|
-
import FieldDisplay from "sap/ui/mdc/enums/FieldDisplay";
|
|
87
|
-
|
|
88
84
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
89
85
|
|
|
90
86
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
@@ -136,304 +132,245 @@ declare module "sap/sac/df/FilterBar" {
|
|
|
136
132
|
*/
|
|
137
133
|
static getMetadata(): ElementMetadata;
|
|
138
134
|
/**
|
|
139
|
-
*
|
|
140
|
-
* of this `sap.sac.df.FilterBar`.
|
|
141
|
-
*
|
|
142
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
143
|
-
* otherwise it will be bound to this `sap.sac.df.FilterBar` itself.
|
|
135
|
+
* Gets current value of property {@link #getMetaPath metaPath}.
|
|
144
136
|
*
|
|
145
|
-
*
|
|
137
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
146
138
|
*
|
|
147
139
|
*
|
|
148
|
-
* @returns
|
|
140
|
+
* @returns Value of property `metaPath`
|
|
149
141
|
*/
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
153
|
-
* object when firing the event
|
|
154
|
-
*/
|
|
155
|
-
oData: object,
|
|
156
|
-
/**
|
|
157
|
-
* The function to be called when the event occurs
|
|
158
|
-
*/
|
|
159
|
-
fnFunction: (p1: FilterBar$BeforeFilterChangeEvent) => void,
|
|
160
|
-
/**
|
|
161
|
-
* Context object to call the event handler with. Defaults to this `sap.sac.df.FilterBar` itself
|
|
162
|
-
*/
|
|
163
|
-
oListener?: object
|
|
164
|
-
): this;
|
|
142
|
+
getMetaPath(): string;
|
|
165
143
|
/**
|
|
166
|
-
*
|
|
167
|
-
* of this `sap.sac.df.FilterBar`.
|
|
144
|
+
* Gets current value of property {@link #getMode mode}.
|
|
168
145
|
*
|
|
169
|
-
*
|
|
170
|
-
* otherwise it will be bound to this `sap.sac.df.FilterBar` itself.
|
|
146
|
+
* Mode
|
|
171
147
|
*
|
|
172
|
-
*
|
|
148
|
+
* Default value is `"VariablesOfDataProvider"`.
|
|
173
149
|
*
|
|
150
|
+
* @deprecated - please use the property `metaPath` instead
|
|
174
151
|
*
|
|
175
|
-
* @returns
|
|
152
|
+
* @returns Value of property `mode`
|
|
176
153
|
*/
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* The function to be called when the event occurs
|
|
180
|
-
*/
|
|
181
|
-
fnFunction: (p1: FilterBar$BeforeFilterChangeEvent) => void,
|
|
182
|
-
/**
|
|
183
|
-
* Context object to call the event handler with. Defaults to this `sap.sac.df.FilterBar` itself
|
|
184
|
-
*/
|
|
185
|
-
oListener?: object
|
|
186
|
-
): this;
|
|
154
|
+
getMode(): string;
|
|
187
155
|
/**
|
|
188
|
-
*
|
|
189
|
-
* of this `sap.sac.df.FilterBar`.
|
|
156
|
+
* Sets a new value for property {@link #getMetaPath metaPath}.
|
|
190
157
|
*
|
|
191
|
-
*
|
|
192
|
-
* otherwise it will be bound to this `sap.sac.df.FilterBar` itself.
|
|
158
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
193
159
|
*
|
|
194
|
-
*
|
|
160
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
195
161
|
*
|
|
196
162
|
*
|
|
197
163
|
* @returns Reference to `this` in order to allow method chaining
|
|
198
164
|
*/
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
202
|
-
* object when firing the event
|
|
203
|
-
*/
|
|
204
|
-
oData: object,
|
|
165
|
+
setMetaPath(
|
|
205
166
|
/**
|
|
206
|
-
*
|
|
207
|
-
*/
|
|
208
|
-
fnFunction: (p1: Event) => void,
|
|
209
|
-
/**
|
|
210
|
-
* Context object to call the event handler with. Defaults to this `sap.sac.df.FilterBar` itself
|
|
167
|
+
* New value for property `metaPath`
|
|
211
168
|
*/
|
|
212
|
-
|
|
169
|
+
sMetaPath: string
|
|
213
170
|
): this;
|
|
214
171
|
/**
|
|
215
|
-
*
|
|
216
|
-
* of this `sap.sac.df.FilterBar`.
|
|
172
|
+
* Sets a new value for property {@link #getMode mode}.
|
|
217
173
|
*
|
|
218
|
-
*
|
|
219
|
-
* otherwise it will be bound to this `sap.sac.df.FilterBar` itself.
|
|
174
|
+
* Mode
|
|
220
175
|
*
|
|
221
|
-
*
|
|
176
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
177
|
+
*
|
|
178
|
+
* Default value is `"VariablesOfDataProvider"`.
|
|
222
179
|
*
|
|
180
|
+
* @deprecated - please use the property `metaPath` instead
|
|
223
181
|
*
|
|
224
182
|
* @returns Reference to `this` in order to allow method chaining
|
|
225
183
|
*/
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* The function to be called when the event occurs
|
|
229
|
-
*/
|
|
230
|
-
fnFunction: (p1: Event) => void,
|
|
184
|
+
setMode(
|
|
231
185
|
/**
|
|
232
|
-
*
|
|
186
|
+
* New value for property `mode`
|
|
233
187
|
*/
|
|
234
|
-
|
|
188
|
+
sMode?: string
|
|
235
189
|
): this;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export interface $FilterBarSettings extends $FilterBarSettings1 {
|
|
236
193
|
/**
|
|
237
|
-
*
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
194
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
195
|
+
*/
|
|
196
|
+
metaPath?: string | PropertyBindingInfo;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Mode
|
|
242
200
|
*
|
|
243
|
-
* @
|
|
201
|
+
* @deprecated - please use the property `metaPath` instead
|
|
244
202
|
*/
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
203
|
+
mode?: string | PropertyBindingInfo;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
declare module "sap/sac/df/FilterField" {
|
|
208
|
+
import {
|
|
209
|
+
default as FieldBase,
|
|
210
|
+
$FieldBaseSettings,
|
|
211
|
+
} from "sap/ui/mdc/field/FieldBase";
|
|
212
|
+
|
|
213
|
+
import { IFormContent, ISemanticFormContent } from "sap/ui/core/library";
|
|
214
|
+
|
|
215
|
+
import { IOverflowToolbarContent } from "sap/m/library";
|
|
216
|
+
|
|
217
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
218
|
+
|
|
219
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* The `FilterField` control is used to filter data based on the conditions. The conditions are managed
|
|
223
|
+
* in the corresponding {@link sap.ui.mdc.condition.ConditionModel ConditionModel}. That is why the `conditions`
|
|
224
|
+
* property must be bound to the related conditions in the {@link sap.ui.mdc.condition.ConditionModel ConditionModel}.
|
|
225
|
+
* The type of this data must be defined in the `dataType` property.
|
|
226
|
+
*
|
|
227
|
+
* Based on the data type settings, a default control is rendered by the `FilterField` as follows:
|
|
228
|
+
*
|
|
229
|
+
*
|
|
230
|
+
* - In display mode, usually a {@link sap.m.Text Text} control is rendered.
|
|
231
|
+
* - If `multipleLines` is set, an {@link sap.m.ExpandableText ExpandableText} control is rendered.
|
|
232
|
+
* - If multiple values are allowed, a {@link sap.m.Tokenizer Tokenizer} control is rendered.
|
|
233
|
+
* - In edit mode, usually an {@link sap.m.Input Input} control is rendered.
|
|
234
|
+
* - If multiple values are allowed, a {@link sap.m.MultiInput MultiInput} control is rendered.
|
|
235
|
+
* - If `multipleLines` is set, a {@link sap.m.TextArea TextArea} control is rendered.
|
|
236
|
+
* - If a date type or a date/time type is used, a {@link sap.m.DateRangeSelection DateRangeSelection }
|
|
237
|
+
* control is rendered.
|
|
238
|
+
* - If a date type is used and only single values are allowed, a {@link sap.m.DatePicker DatePicker }
|
|
239
|
+
* control is rendered.
|
|
240
|
+
* - If a date type is used and only single ranges are allowed, a {@link sap.m.DateRangeSelection DateRangeSelection }
|
|
241
|
+
* control is rendered.
|
|
242
|
+
* - If a date/time type is used and only single values are allowed, a {@link sap.m.DateTimePicker DateTimePicker }
|
|
243
|
+
* control is rendered.
|
|
244
|
+
* - If a time type is used and only single values are allowed, a {@link sap.m.TimePicker TimePicker }
|
|
245
|
+
* control is rendered.
|
|
246
|
+
* - If used for search, a {@link sap.m.SearchField SearchField} control is rendered.
|
|
247
|
+
*
|
|
248
|
+
* @since 1.48.0
|
|
249
|
+
* @experimental (since 1.48.0)
|
|
250
|
+
*/
|
|
251
|
+
export default class FilterField
|
|
252
|
+
extends FieldBase
|
|
253
|
+
implements IFormContent, ISemanticFormContent, IOverflowToolbarContent {
|
|
254
|
+
__implements__sap_ui_core_IFormContent: boolean;
|
|
255
|
+
__implements__sap_ui_core_ISemanticFormContent: boolean;
|
|
256
|
+
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* Constructor for a new `FilterField`.
|
|
259
|
+
*/
|
|
260
|
+
constructor(
|
|
250
261
|
/**
|
|
251
|
-
*
|
|
262
|
+
* Initial settings for the new control
|
|
252
263
|
*/
|
|
253
|
-
|
|
254
|
-
)
|
|
264
|
+
mSettings?: $FilterFieldSettings
|
|
265
|
+
);
|
|
255
266
|
/**
|
|
256
|
-
*
|
|
257
|
-
* of this `sap.sac.df.FilterBar`.
|
|
258
|
-
*
|
|
259
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
267
|
+
* Constructor for a new `FilterField`.
|
|
263
268
|
*/
|
|
264
|
-
|
|
269
|
+
constructor(
|
|
265
270
|
/**
|
|
266
|
-
*
|
|
271
|
+
* ID for the new control, generated automatically if no ID is given
|
|
267
272
|
*/
|
|
268
|
-
|
|
273
|
+
sId?: string,
|
|
269
274
|
/**
|
|
270
|
-
*
|
|
275
|
+
* Initial settings for the new control
|
|
271
276
|
*/
|
|
272
|
-
|
|
273
|
-
)
|
|
277
|
+
mSettings?: $FilterFieldSettings
|
|
278
|
+
);
|
|
279
|
+
|
|
274
280
|
/**
|
|
275
|
-
*
|
|
281
|
+
* Creates a new subclass of class sap.sac.df.FilterField with name `sClassName` and enriches it with the
|
|
282
|
+
* information contained in `oClassInfo`.
|
|
276
283
|
*
|
|
277
|
-
*
|
|
284
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.FilterField.extend}.
|
|
278
285
|
*
|
|
279
|
-
*
|
|
286
|
+
*
|
|
287
|
+
* @returns Created class / constructor function
|
|
280
288
|
*/
|
|
281
|
-
|
|
289
|
+
static extend<T extends Record<string, unknown>>(
|
|
282
290
|
/**
|
|
283
|
-
*
|
|
291
|
+
* Name of the class being created
|
|
284
292
|
*/
|
|
285
|
-
|
|
286
|
-
): this;
|
|
287
|
-
/**
|
|
288
|
-
* Fires event {@link #event:cancelFilterChange cancelFilterChange} to attached listeners.
|
|
289
|
-
*
|
|
290
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
291
|
-
*
|
|
292
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
293
|
-
*/
|
|
294
|
-
fireCancelFilterChange(
|
|
293
|
+
sClassName: string,
|
|
295
294
|
/**
|
|
296
|
-
*
|
|
295
|
+
* Object literal with information about the class
|
|
297
296
|
*/
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
* Default value is `ValueDescription`.
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
* @returns Value of property `display`
|
|
309
|
-
*/
|
|
310
|
-
getDisplay(): FieldDisplay | keyof typeof FieldDisplay;
|
|
297
|
+
oClassInfo?: sap.ClassInfo<T, FilterField>,
|
|
298
|
+
/**
|
|
299
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
300
|
+
* used by this class
|
|
301
|
+
*/
|
|
302
|
+
FNMetaImpl?: Function
|
|
303
|
+
): Function;
|
|
311
304
|
/**
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
* Mode
|
|
315
|
-
*
|
|
316
|
-
* Default value is `"VariablesOfDataProvider"`.
|
|
305
|
+
* Returns a metadata object for class sap.sac.df.FilterField.
|
|
317
306
|
*
|
|
318
307
|
*
|
|
319
|
-
* @returns
|
|
308
|
+
* @returns Metadata object describing this class
|
|
320
309
|
*/
|
|
321
|
-
|
|
310
|
+
static getMetadata(): ElementMetadata;
|
|
322
311
|
/**
|
|
323
|
-
* Gets current value of property {@link #
|
|
312
|
+
* Gets current value of property {@link #getMetaPath metaPath}.
|
|
324
313
|
*
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
* Default value is `"om"`.
|
|
314
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
328
315
|
*
|
|
329
316
|
*
|
|
330
|
-
* @returns Value of property `
|
|
317
|
+
* @returns Value of property `metaPath`
|
|
331
318
|
*/
|
|
332
|
-
|
|
319
|
+
getMetaPath(): string;
|
|
333
320
|
/**
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
* Defines whether the value and/or description of the field is shown and in which order.
|
|
337
|
-
*
|
|
338
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
321
|
+
* Gets current value of property {@link #getSearchAttributes searchAttributes}.
|
|
339
322
|
*
|
|
340
|
-
*
|
|
323
|
+
* Search attributes for the token validation. Available options are Key and Text
|
|
341
324
|
*
|
|
342
325
|
*
|
|
343
|
-
* @returns
|
|
326
|
+
* @returns Value of property `searchAttributes`
|
|
344
327
|
*/
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* New value for property `display`
|
|
348
|
-
*/
|
|
349
|
-
sDisplay?: FieldDisplay | keyof typeof FieldDisplay
|
|
350
|
-
): this;
|
|
328
|
+
getSearchAttributes(): string[];
|
|
351
329
|
/**
|
|
352
|
-
* Sets a new value for property {@link #
|
|
330
|
+
* Sets a new value for property {@link #getMetaPath metaPath}.
|
|
353
331
|
*
|
|
354
|
-
*
|
|
332
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
355
333
|
*
|
|
356
334
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
357
335
|
*
|
|
358
|
-
* Default value is `"VariablesOfDataProvider"`.
|
|
359
|
-
*
|
|
360
336
|
*
|
|
361
337
|
* @returns Reference to `this` in order to allow method chaining
|
|
362
338
|
*/
|
|
363
|
-
|
|
339
|
+
setMetaPath(
|
|
364
340
|
/**
|
|
365
|
-
* New value for property `
|
|
341
|
+
* New value for property `metaPath`
|
|
366
342
|
*/
|
|
367
|
-
|
|
343
|
+
sMetaPath: string
|
|
368
344
|
): this;
|
|
369
345
|
/**
|
|
370
|
-
* Sets a new value for property {@link #
|
|
346
|
+
* Sets a new value for property {@link #getSearchAttributes searchAttributes}.
|
|
371
347
|
*
|
|
372
|
-
*
|
|
348
|
+
* Search attributes for the token validation. Available options are Key and Text
|
|
373
349
|
*
|
|
374
350
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
375
351
|
*
|
|
376
|
-
* Default value is `"om"`.
|
|
377
|
-
*
|
|
378
352
|
*
|
|
379
353
|
* @returns Reference to `this` in order to allow method chaining
|
|
380
354
|
*/
|
|
381
|
-
|
|
355
|
+
setSearchAttributes(
|
|
382
356
|
/**
|
|
383
|
-
* New value for property `
|
|
357
|
+
* New value for property `searchAttributes`
|
|
384
358
|
*/
|
|
385
|
-
|
|
359
|
+
sSearchAttributes: string[]
|
|
386
360
|
): this;
|
|
387
361
|
}
|
|
388
362
|
|
|
389
|
-
export interface $
|
|
363
|
+
export interface $FilterFieldSettings extends $FieldBaseSettings {
|
|
390
364
|
/**
|
|
391
|
-
*
|
|
365
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
392
366
|
*/
|
|
393
|
-
|
|
367
|
+
metaPath?: string | PropertyBindingInfo;
|
|
394
368
|
|
|
395
369
|
/**
|
|
396
|
-
*
|
|
397
|
-
*/
|
|
398
|
-
mode?: string | PropertyBindingInfo;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Defines whether the value and/or description of the field is shown and in which order.
|
|
402
|
-
*/
|
|
403
|
-
display?:
|
|
404
|
-
| (FieldDisplay | keyof typeof FieldDisplay)
|
|
405
|
-
| PropertyBindingInfo
|
|
406
|
-
| `{${string}}`;
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* Fires before update variable of multidimension model after input value or open value help of variable.
|
|
370
|
+
* Search attributes for the token validation. Available options are Key and Text
|
|
410
371
|
*/
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* Fires when cancel change in the value help dialog.
|
|
415
|
-
*/
|
|
416
|
-
cancelFilterChange?: (oEvent: Event) => void;
|
|
372
|
+
searchAttributes?: string[] | PropertyBindingInfo | `{${string}}`;
|
|
417
373
|
}
|
|
418
|
-
|
|
419
|
-
export interface FilterBar$BeforeFilterChangeEventParameters {
|
|
420
|
-
/**
|
|
421
|
-
* Indicates whether value help dialog is going to open.
|
|
422
|
-
*/
|
|
423
|
-
beforeValueHelpOpen?: boolean;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
export type FilterBar$BeforeFilterChangeEvent = Event<
|
|
427
|
-
FilterBar$BeforeFilterChangeEventParameters,
|
|
428
|
-
FilterBar
|
|
429
|
-
>;
|
|
430
|
-
|
|
431
|
-
export interface FilterBar$CancelFilterChangeEventParameters {}
|
|
432
|
-
|
|
433
|
-
export type FilterBar$CancelFilterChangeEvent = Event<
|
|
434
|
-
FilterBar$CancelFilterChangeEventParameters,
|
|
435
|
-
FilterBar
|
|
436
|
-
>;
|
|
437
374
|
}
|
|
438
375
|
|
|
439
376
|
declare module "sap/sac/df/FlexAnalysis" {
|
|
@@ -452,6 +389,8 @@ declare module "sap/sac/df/FlexAnalysis" {
|
|
|
452
389
|
|
|
453
390
|
import SystemType from "sap/sac/df/types/SystemType";
|
|
454
391
|
|
|
392
|
+
import Event from "sap/ui/base/Event";
|
|
393
|
+
|
|
455
394
|
/**
|
|
456
395
|
* Enables users to view, navigate and change multidimensional data exposed via InA.
|
|
457
396
|
*
|
|
@@ -520,6 +459,53 @@ declare module "sap/sac/df/FlexAnalysis" {
|
|
|
520
459
|
*/
|
|
521
460
|
oCustomPanel: FlexAnalysisPanel
|
|
522
461
|
): this;
|
|
462
|
+
/**
|
|
463
|
+
* Attaches event handler `fnFunction` to the {@link #event:onCellClick onCellClick} event of this `sap.sac.df.FlexAnalysis`.
|
|
464
|
+
*
|
|
465
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
466
|
+
* otherwise it will be bound to this `sap.sac.df.FlexAnalysis` itself.
|
|
467
|
+
*
|
|
468
|
+
* Fires on cell click event
|
|
469
|
+
*
|
|
470
|
+
*
|
|
471
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
472
|
+
*/
|
|
473
|
+
attachOnCellClick(
|
|
474
|
+
/**
|
|
475
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
476
|
+
* object when firing the event
|
|
477
|
+
*/
|
|
478
|
+
oData: object,
|
|
479
|
+
/**
|
|
480
|
+
* The function to be called when the event occurs
|
|
481
|
+
*/
|
|
482
|
+
fnFunction: (p1: FlexAnalysis$OnCellClickEvent) => void,
|
|
483
|
+
/**
|
|
484
|
+
* Context object to call the event handler with. Defaults to this `sap.sac.df.FlexAnalysis` itself
|
|
485
|
+
*/
|
|
486
|
+
oListener?: object
|
|
487
|
+
): this;
|
|
488
|
+
/**
|
|
489
|
+
* Attaches event handler `fnFunction` to the {@link #event:onCellClick onCellClick} event of this `sap.sac.df.FlexAnalysis`.
|
|
490
|
+
*
|
|
491
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
492
|
+
* otherwise it will be bound to this `sap.sac.df.FlexAnalysis` itself.
|
|
493
|
+
*
|
|
494
|
+
* Fires on cell click event
|
|
495
|
+
*
|
|
496
|
+
*
|
|
497
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
498
|
+
*/
|
|
499
|
+
attachOnCellClick(
|
|
500
|
+
/**
|
|
501
|
+
* The function to be called when the event occurs
|
|
502
|
+
*/
|
|
503
|
+
fnFunction: (p1: FlexAnalysis$OnCellClickEvent) => void,
|
|
504
|
+
/**
|
|
505
|
+
* Context object to call the event handler with. Defaults to this `sap.sac.df.FlexAnalysis` itself
|
|
506
|
+
*/
|
|
507
|
+
oListener?: object
|
|
508
|
+
): this;
|
|
523
509
|
/**
|
|
524
510
|
* Binds property {@link #getDataProvider dataProvider} to model data.
|
|
525
511
|
*
|
|
@@ -542,6 +528,37 @@ declare module "sap/sac/df/FlexAnalysis" {
|
|
|
542
528
|
* @returns Reference to `this` in order to allow method chaining
|
|
543
529
|
*/
|
|
544
530
|
destroyCustomPanels(): this;
|
|
531
|
+
/**
|
|
532
|
+
* Detaches event handler `fnFunction` from the {@link #event:onCellClick onCellClick} event of this `sap.sac.df.FlexAnalysis`.
|
|
533
|
+
*
|
|
534
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
535
|
+
*
|
|
536
|
+
*
|
|
537
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
538
|
+
*/
|
|
539
|
+
detachOnCellClick(
|
|
540
|
+
/**
|
|
541
|
+
* The function to be called, when the event occurs
|
|
542
|
+
*/
|
|
543
|
+
fnFunction: (p1: FlexAnalysis$OnCellClickEvent) => void,
|
|
544
|
+
/**
|
|
545
|
+
* Context object on which the given function had to be called
|
|
546
|
+
*/
|
|
547
|
+
oListener?: object
|
|
548
|
+
): this;
|
|
549
|
+
/**
|
|
550
|
+
* Fires event {@link #event:onCellClick onCellClick} to attached listeners.
|
|
551
|
+
*
|
|
552
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
553
|
+
*
|
|
554
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
555
|
+
*/
|
|
556
|
+
fireOnCellClick(
|
|
557
|
+
/**
|
|
558
|
+
* Parameters to pass along with the event
|
|
559
|
+
*/
|
|
560
|
+
mParameters?: FlexAnalysis$OnCellClickEventParameters
|
|
561
|
+
): this;
|
|
545
562
|
/**
|
|
546
563
|
* Gets current value of property {@link #getAutoUpdate autoUpdate}.
|
|
547
564
|
*
|
|
@@ -1479,7 +1496,24 @@ declare module "sap/sac/df/FlexAnalysis" {
|
|
|
1479
1496
|
| FlexAnalysisPanel
|
|
1480
1497
|
| AggregationBindingInfo
|
|
1481
1498
|
| `{${string}}`;
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Fires on cell click event
|
|
1502
|
+
*/
|
|
1503
|
+
onCellClick?: (oEvent: FlexAnalysis$OnCellClickEvent) => void;
|
|
1482
1504
|
}
|
|
1505
|
+
|
|
1506
|
+
export interface FlexAnalysis$OnCellClickEventParameters {
|
|
1507
|
+
/**
|
|
1508
|
+
* Cell context
|
|
1509
|
+
*/
|
|
1510
|
+
cellContext?: object;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
export type FlexAnalysis$OnCellClickEvent = Event<
|
|
1514
|
+
FlexAnalysis$OnCellClickEventParameters,
|
|
1515
|
+
FlexAnalysis
|
|
1516
|
+
>;
|
|
1483
1517
|
}
|
|
1484
1518
|
|
|
1485
1519
|
declare module "sap/sac/df/FlexAnalysisPanel" {
|
|
@@ -2930,6 +2964,30 @@ declare module "sap/sac/df/model/MultiDimModel" {
|
|
|
2930
2964
|
*/
|
|
2931
2965
|
oProperties: Object
|
|
2932
2966
|
): Promise<VariableGroup>;
|
|
2967
|
+
/**
|
|
2968
|
+
* Creates a new variable group and attaches it to the model.
|
|
2969
|
+
*
|
|
2970
|
+
* A variable group defines which variables of the underlying data providers should behave as the same variable.
|
|
2971
|
+
* The group is defined by a name and a rule. The first added variable becomes automatically the `MergedVariable`.
|
|
2972
|
+
*
|
|
2973
|
+
*
|
|
2974
|
+
* @returns created variable group
|
|
2975
|
+
*/
|
|
2976
|
+
createVariableGroup(
|
|
2977
|
+
/**
|
|
2978
|
+
* Variable group name
|
|
2979
|
+
*/
|
|
2980
|
+
sVariableGroupName: string,
|
|
2981
|
+
/**
|
|
2982
|
+
* Rule is a function which accept the variable definition and decides if the variable has to be part of
|
|
2983
|
+
* te group.
|
|
2984
|
+
*/
|
|
2985
|
+
fnRule: Function,
|
|
2986
|
+
/**
|
|
2987
|
+
* Additional properties
|
|
2988
|
+
*/
|
|
2989
|
+
oProperties: Object
|
|
2990
|
+
): VariableGroup;
|
|
2933
2991
|
/**
|
|
2934
2992
|
* Updates the model from the given the model state including all aggregated data providers
|
|
2935
2993
|
*
|
|
@@ -2982,6 +3040,18 @@ declare module "sap/sac/df/model/MultiDimModel" {
|
|
|
2982
3040
|
*/
|
|
2983
3041
|
oParameters?: object
|
|
2984
3042
|
): this;
|
|
3043
|
+
/**
|
|
3044
|
+
* Fires event {@link #event:variableGroupsAdded variableGroupsAdded} to attached listeners.
|
|
3045
|
+
*
|
|
3046
|
+
*
|
|
3047
|
+
* @returns Reference to this in order to allow method chaining
|
|
3048
|
+
*/
|
|
3049
|
+
fireVariableGroupsAdded(
|
|
3050
|
+
/**
|
|
3051
|
+
* Parameters to pass along with the event
|
|
3052
|
+
*/
|
|
3053
|
+
oParameters?: object
|
|
3054
|
+
): this;
|
|
2985
3055
|
/**
|
|
2986
3056
|
* Get a data provider
|
|
2987
3057
|
*
|
|
@@ -3086,6 +3156,21 @@ declare module "sap/sac/df/model/MultiDimModel" {
|
|
|
3086
3156
|
*/
|
|
3087
3157
|
mMessages: Record<string, Message[]>
|
|
3088
3158
|
): void;
|
|
3159
|
+
/**
|
|
3160
|
+
* Set variable groups.
|
|
3161
|
+
*
|
|
3162
|
+
* A variable group defines which variables of the underlying data providers should behave as the same variable.
|
|
3163
|
+
* The group is defined by a name and a rule. The first added variable becomes automatically the `MergedVariable`.
|
|
3164
|
+
*
|
|
3165
|
+
*
|
|
3166
|
+
* @returns Promise which resolves the created variable group
|
|
3167
|
+
*/
|
|
3168
|
+
setVariableGroups(
|
|
3169
|
+
/**
|
|
3170
|
+
* array of variable groups
|
|
3171
|
+
*/
|
|
3172
|
+
aVariableGroups: VariableGroup[]
|
|
3173
|
+
): Promise<VariableGroup[]>;
|
|
3089
3174
|
}
|
|
3090
3175
|
|
|
3091
3176
|
export interface MultiDimModel$DataProviderAddedEventParameters {}
|
|
@@ -3641,6 +3726,8 @@ declare namespace sap {
|
|
|
3641
3726
|
|
|
3642
3727
|
"sap/sac/df/FilterBar": undefined;
|
|
3643
3728
|
|
|
3729
|
+
"sap/sac/df/FilterField": undefined;
|
|
3730
|
+
|
|
3644
3731
|
"sap/sac/df/FlexAnalysis": undefined;
|
|
3645
3732
|
|
|
3646
3733
|
"sap/sac/df/FlexAnalysisPanel": undefined;
|