@skedulo/mex-types 1.41.0 → 1.42.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.
@@ -1,7 +1,7 @@
1
- import { BaseComponentModel } from '../common/BaseComponentModel';
2
- import { ButtonGroupItemComponentModel, DataExpressionType, DynamicContent, FunctionExpressionType, GroupByFeatureModel, IconName, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OnlineFetchListDataQuery, OrderByModel, RoutingType, SkedRemoteImage, TimezoneType, ValueExpressionType } from '../common/CommonTypes';
1
+ import { BaseComponentModel } from '../common';
2
+ import { ButtonGroupItemComponentModel, DataExpressionType, DynamicContent, FunctionExpressionType, GroupByFeatureModel, IconName, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OnlineFetchListDataQuery, OrderByModel, RoutingType, SkedRemoteImage, TimezoneType, ValueExpressionType } from '../common';
3
3
  import { SelectPageOnlineSource, SelectPageSearchBarConfig } from './SearchPage';
4
- import { ValidatorDefinitionModel } from '../validator/ValidatorModel';
4
+ import { ValidatorDefinitionModel } from '../validator';
5
5
  export interface BaseFlatPageViewComponentModel extends BaseComponentModel {
6
6
  /**
7
7
  * @label ShowIf expression
@@ -38,6 +38,9 @@ export interface ImageViewComponentModel extends BaseViewOnlyComponentModel {
38
38
  * @version 1.14.8
39
39
  */
40
40
  export interface BaseViewOnlyComponentModel extends BaseFlatPageViewComponentModel {
41
+ /**
42
+ * @label Title
43
+ */
41
44
  title: LocalizedKey;
42
45
  }
43
46
  export type KeyboardType = 'default' | 'email-address' | 'numeric' | 'phone-pad' | 'number-pad' | 'decimal-pad';
@@ -383,6 +386,12 @@ export interface DateTimePickerViewComponentModel extends CommonEditorViewCompon
383
386
  * @label Value expression
384
387
  */
385
388
  valueExpression: DataExpressionType;
389
+ /**
390
+ * @label Display Expression
391
+ * @description: Expression for displaying value, if not defined, return default format
392
+ * @version: 1.15.0
393
+ */
394
+ displayExpression?: DataExpressionType;
386
395
  }
387
396
  export interface BaseSublistViewComponentModel extends BaseComponentModel {
388
397
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.41.0",
3
+ "version": "1.42.1",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },