@skedulo/mex-types 1.5.3 → 1.6.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.
|
@@ -105,7 +105,26 @@ export type SelectPageConfig = {
|
|
|
105
105
|
};
|
|
106
106
|
onlineSource?: SelectPageOnlineSource;
|
|
107
107
|
selectedDataExpression?: DataExpressionType;
|
|
108
|
+
hasSection?: GroupByFeatureModel;
|
|
109
|
+
orderBy?: OrderByModel;
|
|
108
110
|
};
|
|
111
|
+
export interface GroupByFeatureModel {
|
|
112
|
+
/**
|
|
113
|
+
* @label Group by
|
|
114
|
+
*/
|
|
115
|
+
sectionTitleProperty: DataExpressionType;
|
|
116
|
+
/**
|
|
117
|
+
* @label Section title
|
|
118
|
+
*/
|
|
119
|
+
sectionTitleText: LocalizedKey;
|
|
120
|
+
}
|
|
121
|
+
export interface OrderByModel {
|
|
122
|
+
/**
|
|
123
|
+
* @label Expression
|
|
124
|
+
*/
|
|
125
|
+
expression: OrderByExpressionType;
|
|
126
|
+
}
|
|
127
|
+
export type OrderByExpressionType = string[];
|
|
109
128
|
export interface OpenSelectorButtonBehaviorComponentModel extends ButtonBehaviorComponentModel {
|
|
110
129
|
selectPage: SelectPageConfig;
|
|
111
130
|
events: {
|
package/dist/common/MexDefs.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MexDefs.js","sourceRoot":"","sources":["../../src/common/MexDefs.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAIjD;;;;;GAKG;AACH,IAAY,SA6BX;AA7BD,WAAY,SAAS;IACnB;;OAEG;IACH,4BAAe,CAAA;IACf;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,wCAA2B,CAAA;IAC3B;;OAEG;IACH,gDAAmC,CAAA;IACnC;;OAEG;IACH,oDAAuC,CAAA;IACvC;;OAEG;IACH,8BAAiB,CAAA;AACnB,CAAC,EA7BW,SAAS,yBAAT,SAAS,QA6BpB;
|
|
1
|
+
{"version":3,"file":"MexDefs.js","sourceRoot":"","sources":["../../src/common/MexDefs.ts"],"names":[],"mappings":";AAAA,iDAAiD;;;AAIjD;;;;;GAKG;AACH,IAAY,SA6BX;AA7BD,WAAY,SAAS;IACnB;;OAEG;IACH,4BAAe,CAAA;IACf;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,oCAAuB,CAAA;IACvB;;OAEG;IACH,wCAA2B,CAAA;IAC3B;;OAEG;IACH,gDAAmC,CAAA;IACnC;;OAEG;IACH,oDAAuC,CAAA;IACvC;;OAEG;IACH,8BAAiB,CAAA;AACnB,CAAC,EA7BW,SAAS,yBAAT,SAAS,QA6BpB;AAwOD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonGroupItemComponentModel, DataExpressionType, FunctionExpressionType, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, RoutingType } from '../common/CommonTypes';
|
|
1
|
+
import { ButtonGroupItemComponentModel, DataExpressionType, FunctionExpressionType, GroupByFeatureModel, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OrderByModel, RoutingType } from '../common/CommonTypes';
|
|
2
2
|
import { BaseListPageViewComponentModel } from '../view/ListPageViewComponentModel';
|
|
3
3
|
import { BaseComponentModel } from '../common/BaseComponentModel';
|
|
4
4
|
import { BaseFlatPageViewComponentModel } from '../view/FlatPageViewComponentModel';
|
|
@@ -121,7 +121,7 @@ export interface ListPageComponentModel extends BasePageComponentModel {
|
|
|
121
121
|
/**
|
|
122
122
|
* @label Add a section
|
|
123
123
|
*/
|
|
124
|
-
hasSection?:
|
|
124
|
+
hasSection?: GroupByFeatureModel;
|
|
125
125
|
/**
|
|
126
126
|
* @label Order by
|
|
127
127
|
*/
|
|
@@ -157,23 +157,6 @@ export type ListPageAdvancedFilterUI = {
|
|
|
157
157
|
interface ButtonGroupViewComponentModel {
|
|
158
158
|
items: ButtonGroupItemComponentModel[];
|
|
159
159
|
}
|
|
160
|
-
export interface ListPageSectionComponentModel {
|
|
161
|
-
/**
|
|
162
|
-
* @label Group by
|
|
163
|
-
*/
|
|
164
|
-
sectionTitleProperty: DataExpressionType;
|
|
165
|
-
/**
|
|
166
|
-
* @label Section title
|
|
167
|
-
*/
|
|
168
|
-
sectionTitleText: LocalizedKey;
|
|
169
|
-
}
|
|
170
|
-
export interface OrderByModel {
|
|
171
|
-
/**
|
|
172
|
-
* @label Expression
|
|
173
|
-
*/
|
|
174
|
-
expression: OrderByExpressionType;
|
|
175
|
-
}
|
|
176
|
-
export type OrderByExpressionType = string[];
|
|
177
160
|
/**
|
|
178
161
|
* @area Pages
|
|
179
162
|
* @label Standard
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseComponentModel } from '../common/BaseComponentModel';
|
|
2
|
-
import { ButtonGroupItemComponentModel, DataExpressionType, FunctionExpressionType, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, RoutingType, TimezoneType } from '../common/CommonTypes';
|
|
2
|
+
import { ButtonGroupItemComponentModel, DataExpressionType, FunctionExpressionType, GroupByFeatureModel, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OrderByModel, RoutingType, TimezoneType } from '../common/CommonTypes';
|
|
3
3
|
import { SelectPageOnlineSource, SelectPageSearchBarConfig } from './SearchPage';
|
|
4
4
|
import { ValidatorDefinitionModel } from '../validator/ValidatorModel';
|
|
5
5
|
export interface BaseFlatPageViewComponentModel extends BaseComponentModel {
|
|
@@ -335,26 +335,32 @@ export interface MenuListItem extends BaseFlatPageViewComponentModel {
|
|
|
335
335
|
export interface BaseSelectEditor {
|
|
336
336
|
/**
|
|
337
337
|
* @label Structure expression
|
|
338
|
+
* @hidden true
|
|
338
339
|
*/
|
|
339
|
-
structureExpression
|
|
340
|
+
structureExpression?: DataExpressionType;
|
|
340
341
|
/**
|
|
341
342
|
* @label Source expression
|
|
343
|
+
* @hidden true
|
|
342
344
|
*/
|
|
343
345
|
sourceExpression: DataExpressionType;
|
|
344
346
|
/**
|
|
345
347
|
* @label Display expression
|
|
348
|
+
* @hidden true
|
|
346
349
|
*/
|
|
347
350
|
displayExpression: DataExpressionType;
|
|
348
351
|
/**
|
|
349
352
|
* @label Filter expression
|
|
353
|
+
* @hidden true
|
|
350
354
|
*/
|
|
351
|
-
filterExpression
|
|
355
|
+
filterExpression?: DataExpressionType;
|
|
352
356
|
/**
|
|
353
357
|
* @label Online source
|
|
358
|
+
* @hidden true
|
|
354
359
|
*/
|
|
355
360
|
onlineSource?: SelectPageOnlineSource;
|
|
356
361
|
/**
|
|
357
362
|
* @label Select page
|
|
363
|
+
* @hidden true
|
|
358
364
|
*/
|
|
359
365
|
selectPage: {
|
|
360
366
|
/**
|
|
@@ -376,7 +382,15 @@ export interface BaseSelectEditor {
|
|
|
376
382
|
/**
|
|
377
383
|
* @label searchBar
|
|
378
384
|
*/
|
|
379
|
-
searchBar
|
|
385
|
+
searchBar?: SelectPageSearchBarConfig;
|
|
386
|
+
/**
|
|
387
|
+
* @label Add a section
|
|
388
|
+
*/
|
|
389
|
+
hasSection?: GroupByFeatureModel;
|
|
390
|
+
/**
|
|
391
|
+
* @label Order by
|
|
392
|
+
*/
|
|
393
|
+
orderBy?: OrderByModel;
|
|
380
394
|
};
|
|
381
395
|
}
|
|
382
396
|
/**
|
|
@@ -387,11 +401,12 @@ export interface BaseSelectEditor {
|
|
|
387
401
|
*/
|
|
388
402
|
export interface SelectEditorViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder, BaseSelectEditor {
|
|
389
403
|
/**
|
|
390
|
-
* @label
|
|
404
|
+
* @label Title
|
|
391
405
|
*/
|
|
392
406
|
caption: LocalizedKey;
|
|
393
407
|
/**
|
|
394
408
|
* @label Value expression
|
|
409
|
+
* @hidden true
|
|
395
410
|
*/
|
|
396
411
|
valueExpression: DataExpressionType;
|
|
397
412
|
/**
|
|
@@ -399,7 +414,7 @@ export interface SelectEditorViewComponentModel extends CommonEditorViewComponen
|
|
|
399
414
|
* @label Validator
|
|
400
415
|
* @referenceTo ExpressionValidatorModel
|
|
401
416
|
*/
|
|
402
|
-
validator
|
|
417
|
+
validator?: ValidatorDefinitionModel;
|
|
403
418
|
/**
|
|
404
419
|
* @label Construct result object
|
|
405
420
|
*/
|
|
@@ -412,13 +427,20 @@ export interface SelectEditorViewComponentModel extends CommonEditorViewComponen
|
|
|
412
427
|
* @label Multi-picklist
|
|
413
428
|
*/
|
|
414
429
|
export interface MultiSelectEditorViewComponentModel extends CommonEditorViewComponentModel, CommonEditorWithPlaceholder, BaseSelectEditor {
|
|
430
|
+
/**
|
|
431
|
+
* @hidden true
|
|
432
|
+
*/
|
|
415
433
|
displayDataInSearchPageExpression: DataExpressionType;
|
|
434
|
+
/**
|
|
435
|
+
* @hidden true
|
|
436
|
+
*/
|
|
416
437
|
constructResultObject?: ConstructResultObject;
|
|
417
438
|
valueExpression?: DataExpressionType;
|
|
418
439
|
/**
|
|
419
440
|
* TODO: Remove typeAdhoc for union type, and dynamic form need to support Array of object
|
|
420
441
|
* @label Validator
|
|
421
442
|
* @referenceTo ExpressionValidatorModel
|
|
443
|
+
* @hidden true
|
|
422
444
|
*/
|
|
423
445
|
validator: ValidatorDefinitionModel;
|
|
424
446
|
}
|