@skedulo/mex-types 1.33.0 → 1.34.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.
@@ -57,7 +57,7 @@ export type RoutingPageDef = {
57
57
  };
58
58
  };
59
59
  export type RoutingPageUI = {
60
- items: BaseFlatPageViewComponentModel[];
60
+ items: (BaseFlatPageViewComponentModel | DynamicContent)[];
61
61
  description?: LocalizedKey;
62
62
  submitText?: LocalizedKey;
63
63
  };
@@ -196,6 +196,9 @@ export interface TagModel {
196
196
  items: TagItemModel[];
197
197
  }
198
198
  export interface TagItemModel {
199
+ /**
200
+ * @values: 'success' | 'primary' | 'danger' | 'warning' | 'focus' | 'default' | 'success_alt' | 'primary_alt' | 'danger_alt' | 'warning_alt' | 'focus_alt' | 'default_alt'
201
+ */
199
202
  themeValueExpression: ValueExpressionType;
200
203
  text: LocalizedKey;
201
204
  }
@@ -297,7 +300,7 @@ export interface ListPageAdvancedFilterModel extends WithAdvancedFilterUI {
297
300
  };
298
301
  }
299
302
  export type ListPageAdvancedFilterUI = {
300
- items: BaseFlatPageViewComponentModel[];
303
+ items: (BaseFlatPageViewComponentModel | DynamicContent)[];
301
304
  description?: LocalizedKey;
302
305
  submitText?: LocalizedKey;
303
306
  };
@@ -371,7 +374,7 @@ export interface FlatPageComponentModel extends BasePageComponentModel {
371
374
  * @hidden true
372
375
  * @deprecated Use items in { FlatPageComponentModel.singleDef.flatComponents }
373
376
  */
374
- items?: BaseFlatPageViewComponentModel[];
377
+ items?: (BaseFlatPageViewComponentModel | DynamicContent)[];
375
378
  header?: FlatPageHeaderModel;
376
379
  /**
377
380
  * @label Description
@@ -429,7 +432,7 @@ export type FlatPageStepModel = {
429
432
  stepRecognizedOnInitCondition?: DataExpressionType;
430
433
  };
431
434
  export type FlatPageStepUIModel = {
432
- items: BaseFlatPageViewComponentModel[];
435
+ items: (BaseFlatPageViewComponentModel | DynamicContent)[];
433
436
  validator?: ValidatorDefinitionModel;
434
437
  };
435
438
  export type FlatPageStepRoutingLogic = {
@@ -441,9 +444,9 @@ export interface BasePageHeaderModel {
441
444
  title?: LocalizedKey;
442
445
  description?: LocalizedKey;
443
446
  /**
444
- * @version: 1.10.0
447
+ * @version: 1.13.10
445
448
  */
446
- messageAlert?: MessageAlertModel;
449
+ messageBox?: MessageBoxModel;
447
450
  }
448
451
  export interface SublistOfFlatPageComponentModel {
449
452
  /**
@@ -492,13 +495,13 @@ export interface FlatPageHeaderModel extends BasePageHeaderModel {
492
495
  tags?: TagModel;
493
496
  }
494
497
  /**
495
- * @version: 1.10.0
498
+ * @version: 1.13.10
496
499
  */
497
- export interface MessageAlertModel {
500
+ export interface MessageBoxModel {
498
501
  text: LocalizedKey;
499
502
  showIfExpression?: ValueExpressionType;
500
503
  /**
501
- * @values: 'Warning' | 'Danger' | 'Default'
504
+ * @values: 'success' | 'primary' | 'danger' | 'warning'
502
505
  */
503
506
  theme: ValueExpressionType;
504
507
  }
@@ -1,5 +1,5 @@
1
1
  import { BaseComponentModel } from '../common/BaseComponentModel';
2
- import { ButtonGroupItemComponentModel, DataExpressionType, FunctionExpressionType, GroupByFeatureModel, IconName, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OrderByModel, RoutingType, TimezoneType, ValueExpressionType } from '../common/CommonTypes';
2
+ import { ButtonGroupItemComponentModel, DataExpressionType, DynamicContent, FunctionExpressionType, GroupByFeatureModel, IconName, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OrderByModel, RoutingType, TimezoneType, ValueExpressionType } from '../common/CommonTypes';
3
3
  import { SelectPageOnlineSource, SelectPageSearchBarConfig } from './SearchPage';
4
4
  import { ValidatorDefinitionModel } from '../validator/ValidatorModel';
5
5
  export interface BaseFlatPageViewComponentModel extends BaseComponentModel {
@@ -379,7 +379,7 @@ export interface SectionViewComponentModel extends BaseFlatPageViewComponentMode
379
379
  /**
380
380
  * @label items
381
381
  */
382
- items: BaseFlatPageViewComponentModel[];
382
+ items: (BaseFlatPageViewComponentModel | DynamicContent)[];
383
383
  }
384
384
  /**
385
385
  * @area Components
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.33.0",
3
+ "version": "1.34.0",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },