@skedulo/mex-types 1.51.0 → 1.52.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.
@@ -105,6 +105,11 @@ export interface ButtonGroupItemComponentModel {
105
105
  export interface ButtonBehaviorComponentModel {
106
106
  type: 'custom' | 'sms' | 'phone' | 'openUrl' | 'email' | 'openSelector' | 'routing';
107
107
  }
108
+ export type ListPageExtraActionBehavior = PhoneButtonBehaviorComponentModel | SMSButtonBehaviorComponentModel | OpenURLButtonBehaviorComponentModel | EmailButtonBehaviorComponentModel;
109
+ export type ListPageExtraActionType = {
110
+ title: LocalizedKey;
111
+ behavior: ListPageExtraActionBehavior;
112
+ };
108
113
  export type ButtonBehaviorComponentModelTypes = CustomFunctionButtonBehaviorComponentModel | PhoneButtonBehaviorComponentModel | SMSButtonBehaviorComponentModel | OpenURLButtonBehaviorComponentModel | EmailButtonBehaviorComponentModel | RoutingBehaviorComponentModel;
109
114
  export interface CustomFunctionButtonBehaviorComponentModel extends ButtonBehaviorComponentModel {
110
115
  functionExpression: DataExpressionType;
@@ -1,4 +1,4 @@
1
- import { ButtonGroupItemComponentModel, DataExpressionType, DynamicContent, FunctionExpressionType, GroupByFeatureModel, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OnlineDeleteDataQuery, OnlineFetchDataQuery, OnlineFetchListDataQuery, OnlineUpsertDataQuery, OrderByModel, RoutingType, ValueExpressionType } from '../common';
1
+ import { ListPageExtraActionType, ButtonGroupItemComponentModel, DataExpressionType, DynamicContent, FunctionExpressionType, GroupByFeatureModel, ListPageAddNewDefaultDataType, LocalizedKey, OneLevelBindingObject, OnlineDeleteDataQuery, OnlineFetchDataQuery, OnlineFetchListDataQuery, OnlineUpsertDataQuery, OrderByModel, RoutingType, ValueExpressionType } from '../common';
2
2
  import { BaseListPageViewComponentModel } from '../view';
3
3
  import { BaseComponentModel } from '../common';
4
4
  import { FlatPageViewComponentTypes } from '../view';
@@ -524,6 +524,7 @@ export interface SublistOfFlatPageComponentModel {
524
524
  * @label Click Destination
525
525
  */
526
526
  itemClickDestination: RoutingType;
527
+ extraActions?: ListPageExtraActionType[];
527
528
  /**
528
529
  * @label Add a section
529
530
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skedulo/mex-types",
3
- "version": "1.51.0",
3
+ "version": "1.52.0",
4
4
  "engines": {
5
5
  "node": "18"
6
6
  },