@skedulo/mex-types 1.43.1 → 1.43.2
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.
- package/dist/common/CommonTypes.d.ts +29 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FlatPageViewComponentTypes,
|
|
1
|
+
import { FlatPageViewComponentTypes, SelectPageOnlineSource, SkedButtonTheme } from '../view';
|
|
2
2
|
export type DollarExpressionType = string;
|
|
3
3
|
export type DataExpressionType = string;
|
|
4
4
|
export type ValueExpressionType = string | ValueExpressionLogic[];
|
|
@@ -154,11 +154,38 @@ export interface OrderByModel {
|
|
|
154
154
|
}
|
|
155
155
|
export type OrderByExpressionType = string[];
|
|
156
156
|
export interface OpenSelectorButtonBehaviorComponentModel extends ButtonBehaviorComponentModel {
|
|
157
|
-
selectPage:
|
|
157
|
+
selectPage: SelectPageConfig;
|
|
158
158
|
events: {
|
|
159
159
|
onDataChosen: FunctionExpressionType;
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
|
+
export type SelectPageConfig = {
|
|
163
|
+
searchBar?: {
|
|
164
|
+
filterOnProperties?: string[];
|
|
165
|
+
placeholder: LocalizedKey;
|
|
166
|
+
};
|
|
167
|
+
itemCaption: LocalizedKey;
|
|
168
|
+
itemTitle: LocalizedKey;
|
|
169
|
+
dataSourceExpression: DataExpressionType;
|
|
170
|
+
emptyText: LocalizedKey;
|
|
171
|
+
filterExpression?: DataExpressionType;
|
|
172
|
+
singleSelectionConfig?: {
|
|
173
|
+
dismissPageAfterChosen: boolean;
|
|
174
|
+
};
|
|
175
|
+
isMultiSelect?: boolean;
|
|
176
|
+
header?: {
|
|
177
|
+
title: LocalizedKey;
|
|
178
|
+
hasClearBtn: boolean;
|
|
179
|
+
};
|
|
180
|
+
onlineSource?: SelectPageOnlineSource;
|
|
181
|
+
/**
|
|
182
|
+
* @version: 1.15.0
|
|
183
|
+
*/
|
|
184
|
+
onlineMode?: OnlineFetchListDataQuery;
|
|
185
|
+
selectedDataExpression?: DataExpressionType;
|
|
186
|
+
hasSection?: GroupByFeatureModel;
|
|
187
|
+
orderBy?: OrderByModel;
|
|
188
|
+
};
|
|
162
189
|
export type IconName = 'copy' | 'logout' | 'search' | 'searchFilter' | 'alert' | 'attachment' | 'calendar' | 'camera' | 'clock' | 'check' | 'checkCircle' | 'date' | 'debug' | 'delete' | 'edit' | 'email' | 'fieldClear' | 'fieldSearch' | 'file' | 'filter' | 'info' | 'job' | 'launch' | 'location' | 'map' | 'mapLayers' | 'mapPin' | 'mobile' | 'more' | 'newMessage' | 'offline' | 'person' | 'phone' | 'photo' | 'select' | 'settings' | 'shareAndroid' | 'shareIOS' | 'shifts' | 'signature' | 'sms' | 'target' | 'travelDistance';
|
|
163
190
|
/**
|
|
164
191
|
* @version 1.10.0
|