@skedulo/mex-types 1.48.0 → 1.50.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.
@@ -322,6 +322,7 @@ export type ListPageAdvancedFilterUI = {
322
322
  items: (FlatPageViewComponentTypes | DynamicContent)[];
323
323
  description?: LocalizedKey;
324
324
  submitText?: LocalizedKey;
325
+ dataObserver?: DataObserverObject[];
325
326
  };
326
327
  interface ButtonGroupViewComponentModel {
327
328
  items: ButtonGroupItemComponentModel[];
@@ -546,9 +547,15 @@ export interface FlatPageHeaderModel extends BasePageHeaderModel {
546
547
  /**
547
548
  * @version: 1.13.10
548
549
  */
549
- export interface MessageBoxModel {
550
- text: LocalizedKey;
550
+ export interface MessageBoxModel extends MessageBoxProperties {
551
551
  showIfExpression?: ValueExpressionType;
552
+ }
553
+ /**
554
+ * @version: 1.24.0
555
+ * For views that contain a theme container and display text content
556
+ */
557
+ export interface MessageBoxProperties {
558
+ text: LocalizedKey;
552
559
  /**
553
560
  * @values: 'success' | 'primary' | 'danger' | 'warning'
554
561
  */
@@ -2,6 +2,7 @@ import { BaseComponentModel, StaticResourceImage } from '../common';
2
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
4
  import { ValidatorDefinitionModel } from '../validator';
5
+ import { MessageBoxProperties } from '../page';
5
6
  export interface BaseFlatPageViewComponentModel extends BaseComponentModel {
6
7
  /**
7
8
  * @label ShowIf expression
@@ -9,7 +10,7 @@ export interface BaseFlatPageViewComponentModel extends BaseComponentModel {
9
10
  */
10
11
  showIfExpression?: DataExpressionType;
11
12
  }
12
- export type FlatPageViewComponentTypes = TextViewComponentModel | TextEditorViewComponentModel | TextAreaEditorViewComponentModel | ReadonlyTextViewComponentModel | ButtonGroupViewComponentModel | AttachmentsEditorViewComponentModel | SignatureEditorViewComponentModel | ToggleEditorViewComponentModel | DateTimePickerViewComponentModel | SectionViewComponentModel | MenuListViewComponentModel | SelectEditorViewComponentModel | MultiSelectEditorViewComponentModel | ChartViewComponentTypes | AddressSelectEditorViewComponentModel | ImageViewComponentModel | ImageAnnotationEditorViewComponentModel;
13
+ export type FlatPageViewComponentTypes = TextViewComponentModel | TextEditorViewComponentModel | TextAreaEditorViewComponentModel | ReadonlyTextViewComponentModel | ButtonGroupViewComponentModel | AttachmentsEditorViewComponentModel | SignatureEditorViewComponentModel | ToggleEditorViewComponentModel | DateTimePickerViewComponentModel | SectionViewComponentModel | MenuListViewComponentModel | SelectEditorViewComponentModel | MultiSelectEditorViewComponentModel | ChartViewComponentTypes | AddressSelectEditorViewComponentModel | ImageViewComponentModel | ImageAnnotationEditorViewComponentModel | MessageBoxComponentModel;
13
14
  /**
14
15
  * @area Components
15
16
  * @value textView
@@ -26,6 +27,12 @@ export interface TextViewComponentModel extends BaseViewOnlyComponentModel {
26
27
  text: LocalizedKey;
27
28
  type: 'textView';
28
29
  }
30
+ /**
31
+ * @version 1.24.0
32
+ */
33
+ export interface MessageBoxComponentModel extends BaseViewOnlyComponentModel, MessageBoxProperties {
34
+ type: 'messageBox';
35
+ }
29
36
  /**
30
37
  * @version 1.14.8
31
38
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.48.0",
3
+ "version": "1.50.0",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },