@skedulo/mex-types 1.43.1 → 1.44.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.
|
@@ -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
|
|
@@ -138,6 +138,11 @@ export interface BaseDataObserverObjectRequest {
|
|
|
138
138
|
export interface OnlineDataObserverObjectHandler extends BaseDataObserverObjectRequest {
|
|
139
139
|
query: OnlineFetchDataQuery;
|
|
140
140
|
type: 'online';
|
|
141
|
+
/**
|
|
142
|
+
* @description: When this is turned on, when the data observer is triggered and loading data, a Loading Indicator will be shown when it's finally stopped
|
|
143
|
+
* @version: 1.18.0
|
|
144
|
+
*/
|
|
145
|
+
synchronous?: boolean;
|
|
141
146
|
}
|
|
142
147
|
/**
|
|
143
148
|
* @version: 1.10.0
|