jamespot-front-business 1.1.34 → 1.1.35
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/cjs.js +40 -108
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +40 -100
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +39 -234
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
|
2
2
|
import { EntityState, Action, Dispatch as Dispatch$1, PayloadAction } from '@reduxjs/toolkit';
|
|
3
3
|
import * as _reduxjs_toolkit_dist_tsHelpers from '@reduxjs/toolkit/dist/tsHelpers';
|
|
4
4
|
import * as jamespot_user_api from 'jamespot-user-api';
|
|
5
|
-
import { ApplicationType, WidgetsRootState, JamespotUserApi, AudienceAutocomplete, StudioApplicationBase, Taxonomy,
|
|
5
|
+
import { ApplicationType, WidgetsRootState, JamespotUserApi, AudienceAutocomplete, StudioApplicationBase, Taxonomy, ReservationList, BookableAssetList, AssetReservationConfiguration, BookmarkRawList, FaqHookProperties, FaqAccess, ExtendedFaqCategory, FaqList, JLandMap, AdminLicensesNotAssigned, Model as Model$1, NetworkType, WedocFileType, jUserLittle, PagingResults, TVChannelList, TinyMCECommonOptions, jUserList, WidgetKeys, WidgetWrapperProps, WidgetTypeKeys, WidgetDefinitionProps, WidgetsState, CombinedWidgetContent, WidgetVector, WidgetStateProps } from 'jamespot-user-api';
|
|
6
6
|
import * as redux from 'redux';
|
|
7
7
|
import { Dispatch } from 'redux';
|
|
8
8
|
import React from 'react';
|
|
@@ -100,24 +100,7 @@ interface StudioApplication {
|
|
|
100
100
|
author?: string;
|
|
101
101
|
manifest: StudioAppManifest;
|
|
102
102
|
inWorkVersion?: StudioApplication;
|
|
103
|
-
|
|
104
|
-
interface AppManifest {
|
|
105
|
-
appShortName: string;
|
|
106
|
-
appName: string;
|
|
107
|
-
description: string;
|
|
108
|
-
author?: string;
|
|
109
|
-
typeLabel: string;
|
|
110
|
-
cssColor: string;
|
|
111
|
-
cssClass: {
|
|
112
|
-
label: string;
|
|
113
|
-
value: string;
|
|
114
|
-
};
|
|
115
|
-
version: number;
|
|
116
|
-
dateCreation: Date;
|
|
117
|
-
viewSolr: string;
|
|
118
|
-
checkAccess: boolean;
|
|
119
|
-
accessRightList?: string;
|
|
120
|
-
attrExposed: Array<string>;
|
|
103
|
+
fields: AppFieldsFormItem[];
|
|
121
104
|
}
|
|
122
105
|
interface StudioAppManifest {
|
|
123
106
|
appShortName: string;
|
|
@@ -138,21 +121,6 @@ interface StudioAppManifest {
|
|
|
138
121
|
attrExposed: Array<string>;
|
|
139
122
|
articlesCount?: number;
|
|
140
123
|
}
|
|
141
|
-
interface AppForm {
|
|
142
|
-
formItems: AppFormItem[];
|
|
143
|
-
}
|
|
144
|
-
interface AppFormItem {
|
|
145
|
-
id: string;
|
|
146
|
-
type: AppFormItemType;
|
|
147
|
-
name: string;
|
|
148
|
-
labels?: AppLabelsType;
|
|
149
|
-
mandatory?: boolean;
|
|
150
|
-
fixed: boolean;
|
|
151
|
-
views: AppViewsType;
|
|
152
|
-
table?: string;
|
|
153
|
-
properties?: AppFormProperties;
|
|
154
|
-
}
|
|
155
|
-
declare type AppFormProperties = AbstractAppFormProperties;
|
|
156
124
|
interface AppLabelsType {
|
|
157
125
|
label?: AppLabelContentType;
|
|
158
126
|
description?: AppLabelContentType;
|
|
@@ -163,7 +131,18 @@ interface AppLabelContentType {
|
|
|
163
131
|
display?: string;
|
|
164
132
|
}
|
|
165
133
|
declare type labelMode = 'SERVER' | 'GLOBAL' | 'RESOURCES' | 'APP';
|
|
166
|
-
|
|
134
|
+
declare const STUDIO_VIEW: {
|
|
135
|
+
SOLR: string;
|
|
136
|
+
NOT_SOLR: string;
|
|
137
|
+
};
|
|
138
|
+
declare type AppFieldsFormItem = {
|
|
139
|
+
id: string;
|
|
140
|
+
type: AppFormItemTypes;
|
|
141
|
+
properties?: AppFieldFormProperty[];
|
|
142
|
+
mandatory: boolean;
|
|
143
|
+
views: AppViews;
|
|
144
|
+
};
|
|
145
|
+
interface AppViews {
|
|
167
146
|
create: boolean;
|
|
168
147
|
popup: boolean;
|
|
169
148
|
edit: boolean;
|
|
@@ -171,174 +150,16 @@ interface AppViewsType {
|
|
|
171
150
|
filter: boolean;
|
|
172
151
|
view: boolean;
|
|
173
152
|
}
|
|
174
|
-
interface AppFormDescriptionProperties {
|
|
175
|
-
labels: AppLabelsType;
|
|
176
|
-
mandatory: boolean;
|
|
177
|
-
}
|
|
178
|
-
interface AppFormTextProperties {
|
|
179
|
-
labels: AppLabelsType;
|
|
180
|
-
mandatory: boolean;
|
|
181
|
-
}
|
|
182
|
-
interface AppFormAddFileAttachmentProperties {
|
|
183
|
-
labels: AppLabelsType | undefined;
|
|
184
|
-
mandatory: boolean;
|
|
185
|
-
}
|
|
186
|
-
interface AppFormTextAreaProperties {
|
|
187
|
-
labels: AppLabelsType;
|
|
188
|
-
mandatory: boolean;
|
|
189
|
-
}
|
|
190
|
-
interface AppFormTextAreaHTMLProperties {
|
|
191
|
-
labels: AppLabelsType;
|
|
192
|
-
mandatory: boolean;
|
|
193
|
-
}
|
|
194
|
-
interface AppFormDateProperties {
|
|
195
|
-
labels: AppLabelsType;
|
|
196
|
-
mandatory: boolean;
|
|
197
|
-
}
|
|
198
|
-
interface AppFormDateTimeProperties {
|
|
199
|
-
labels: AppLabelsType;
|
|
200
|
-
mandatory: boolean;
|
|
201
|
-
}
|
|
202
|
-
interface AppFormURLProperties {
|
|
203
|
-
labels: AppLabelsType;
|
|
204
|
-
mandatory: boolean;
|
|
205
|
-
}
|
|
206
|
-
interface AppFormEmailProperties {
|
|
207
|
-
labels: AppLabelsType;
|
|
208
|
-
mandatory: boolean;
|
|
209
|
-
}
|
|
210
|
-
interface AppFormNumberProperties {
|
|
211
|
-
labels: AppLabelsType;
|
|
212
|
-
mandatory: boolean;
|
|
213
|
-
digits: boolean;
|
|
214
|
-
}
|
|
215
|
-
interface AppFormRangeProperties {
|
|
216
|
-
labels: AppLabelsType;
|
|
217
|
-
mandatory: boolean;
|
|
218
|
-
minMaxType: 'number';
|
|
219
|
-
min: string;
|
|
220
|
-
max: string;
|
|
221
|
-
}
|
|
222
|
-
interface AppFormCodeHTMLProperties {
|
|
223
|
-
code: HtmlValue;
|
|
224
|
-
}
|
|
225
|
-
declare type AppFormOptionsProperties = Array<AppFormOption>;
|
|
226
|
-
interface AppFormOption {
|
|
227
|
-
label: string;
|
|
228
|
-
mode?: labelMode;
|
|
229
|
-
value: string | number;
|
|
230
|
-
}
|
|
231
|
-
interface AppFormRadioProperties {
|
|
232
|
-
labels: AppLabelsType;
|
|
233
|
-
mandatory: boolean;
|
|
234
|
-
options: AppFormOptionsProperties;
|
|
235
|
-
}
|
|
236
|
-
interface AppFormSelectProperties {
|
|
237
|
-
labels: AppLabelsType;
|
|
238
|
-
mandatory: boolean;
|
|
239
|
-
multiple: boolean;
|
|
240
|
-
explain: boolean;
|
|
241
|
-
options: AppFormOptionsProperties;
|
|
242
|
-
hasDefaultValue: boolean;
|
|
243
|
-
defaultValue?: AppFormOption;
|
|
244
|
-
}
|
|
245
|
-
interface AppFormToggleProperties {
|
|
246
|
-
labels: AppLabelsType;
|
|
247
|
-
mandatory: boolean;
|
|
248
|
-
}
|
|
249
|
-
interface AppFormCheckboxProperties {
|
|
250
|
-
labels: AppLabelsType;
|
|
251
|
-
mandatory: boolean;
|
|
252
|
-
options: AppFormOptionsProperties;
|
|
253
|
-
}
|
|
254
|
-
interface AppFormTagsProperties {
|
|
255
|
-
labels: AppLabelsType;
|
|
256
|
-
mandatory: boolean;
|
|
257
|
-
taxonomy: Partial<Taxonomy> | false;
|
|
258
|
-
}
|
|
259
|
-
interface AppFormIdUserProperties {
|
|
260
|
-
labels: AppLabelsType;
|
|
261
|
-
mandatory: boolean;
|
|
262
|
-
}
|
|
263
|
-
interface AppFormUserLinkProperties {
|
|
264
|
-
labels: AppLabelsType;
|
|
265
|
-
mandatory: boolean;
|
|
266
|
-
}
|
|
267
|
-
interface AppFormContentLinkProperties {
|
|
268
|
-
labels: AppLabelsType;
|
|
269
|
-
mandatory: boolean;
|
|
270
|
-
contentType: {
|
|
271
|
-
label: string;
|
|
272
|
-
value: string;
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
interface AppFormAudienceProperties {
|
|
276
|
-
labels: AppLabelsType;
|
|
277
|
-
mandatory: boolean;
|
|
278
|
-
}
|
|
279
|
-
interface AbstractAppFormProperties {
|
|
280
|
-
labels?: AppLabelsType;
|
|
281
|
-
mandatory?: boolean;
|
|
282
|
-
explain?: boolean;
|
|
283
|
-
minMaxType?: 'number' | 'Date' | 'DateTime';
|
|
284
|
-
min?: string;
|
|
285
|
-
max?: string;
|
|
286
|
-
multiple?: boolean;
|
|
287
|
-
options?: AppFormOptionsProperties;
|
|
288
|
-
code?: HtmlValue;
|
|
289
|
-
hasDefaultValue?: boolean;
|
|
290
|
-
defaultValue?: AppFormFieldValueType;
|
|
291
|
-
taxonomy?: Partial<Taxonomy> | false;
|
|
292
|
-
digits?: boolean;
|
|
293
|
-
contentType?: {
|
|
294
|
-
label: string;
|
|
295
|
-
value: string;
|
|
296
|
-
};
|
|
297
|
-
}
|
|
298
|
-
interface HtmlValue {
|
|
299
|
-
html: string;
|
|
300
|
-
text: string;
|
|
301
|
-
}
|
|
302
|
-
interface AppFormItemsView {
|
|
303
|
-
view: ViewName;
|
|
304
|
-
orderChanged: boolean;
|
|
305
|
-
formItemRefs: AppFormItemRefInView[];
|
|
306
|
-
}
|
|
307
153
|
declare type ViewName = 'create' | 'popup' | 'edit' | 'list' | 'filter' | 'view';
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
fixedPos?: boolean;
|
|
311
|
-
fixedValue?: AppFormFieldValueType;
|
|
312
|
-
}
|
|
313
|
-
declare type AppFormFieldValueType = string | boolean | string[] | HtmlValue | AppFormOption | AppFormOption[] | AppInstallForType[] | jObjectLittle[];
|
|
314
|
-
declare type AppInstallForType = Partial<{
|
|
315
|
-
id: string;
|
|
316
|
-
uri: string;
|
|
317
|
-
shortUri: string;
|
|
318
|
-
title: string;
|
|
319
|
-
name: string;
|
|
320
|
-
mainType: string;
|
|
321
|
-
type: string;
|
|
322
|
-
label: string;
|
|
323
|
-
cssClass: string;
|
|
324
|
-
cssColor: string;
|
|
325
|
-
class: string;
|
|
326
|
-
Pseudo: string;
|
|
327
|
-
}>;
|
|
328
|
-
declare enum AppFormItemType {
|
|
329
|
-
TITLE = "TITLE",
|
|
154
|
+
declare const viewsList: ViewName[];
|
|
155
|
+
declare enum AppFormItemTypes {
|
|
330
156
|
IMAGE = "IMAGE",
|
|
331
157
|
DESCRIPTION = "DESCRIPTION",
|
|
332
|
-
IDUSER = "IDUSER",
|
|
333
|
-
PUBLISHTO = "PUBLISHTO",
|
|
334
|
-
SENDALERTTOSUBSCRIBERS = "SENDALERTTOSUBSCRIBERS",
|
|
335
|
-
RECEIVEACOPY = "RECEIVEACOPY",
|
|
336
158
|
TEXT = "TEXT",
|
|
337
159
|
TEXTAREA = "TEXTAREA",
|
|
338
160
|
TEXTAREAHTML = "TEXTAREAHTML",
|
|
339
161
|
DATE = "DATE",
|
|
340
162
|
DATETIME = "DATETIME",
|
|
341
|
-
RANGE = "RANGE",
|
|
342
163
|
NUMBER = "NUMBER",
|
|
343
164
|
URL = "URL",
|
|
344
165
|
EMAIL = "EMAIL",
|
|
@@ -348,44 +169,32 @@ declare enum AppFormItemType {
|
|
|
348
169
|
RADIO = "RADIO",
|
|
349
170
|
TAGS = "TAGS",
|
|
350
171
|
ADDFILEATTACHMENT = "ADDFILEATTACHMENT",
|
|
351
|
-
AUDIENCE = "AUDIENCE",
|
|
352
172
|
CODEHTML = "CODEHTML",
|
|
353
|
-
DATECREATION = "DATECREATION",
|
|
354
173
|
USERLINK = "USERLINK",
|
|
355
174
|
CONTENTLINK = "CONTENTLINK"
|
|
356
175
|
}
|
|
357
|
-
declare
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
declare const
|
|
378
|
-
declare const
|
|
379
|
-
create: AppFormItemType[];
|
|
380
|
-
popup: AppFormItemType[];
|
|
381
|
-
edit: AppFormItemType[];
|
|
382
|
-
list: AppFormItemType[];
|
|
383
|
-
filter: AppFormItemType[];
|
|
384
|
-
view: AppFormItemType[];
|
|
385
|
-
};
|
|
386
|
-
declare const AppFormNoAsFieldList: AppFormItemType[];
|
|
387
|
-
declare const AppFormFieldOnlyInView: AppFormItemType[];
|
|
388
|
-
declare const AppFormNonPrimaryList: AppFormItemType[];
|
|
176
|
+
declare type CheckBoxOption = {
|
|
177
|
+
label: string;
|
|
178
|
+
value: any;
|
|
179
|
+
};
|
|
180
|
+
declare type AppFieldFormProperty = {
|
|
181
|
+
propertyType: AppFieldFormPropertyTypes;
|
|
182
|
+
isRequired?: boolean;
|
|
183
|
+
checkBoxOptions?: CheckBoxOption[];
|
|
184
|
+
value?: any;
|
|
185
|
+
isOptionsEditorEnhanced?: boolean;
|
|
186
|
+
};
|
|
187
|
+
declare enum AppFieldFormPropertyTypes {
|
|
188
|
+
LABEL = "label",
|
|
189
|
+
DESCRIPTION = "description",
|
|
190
|
+
RICHTEXT = "richtext",
|
|
191
|
+
CHECKBOX = "checkbox",
|
|
192
|
+
OPTIONS_EDITOR = "options_editor",
|
|
193
|
+
TAXONOMY = "taxonomy",
|
|
194
|
+
CONTENTTYPE = "contenttype"
|
|
195
|
+
}
|
|
196
|
+
declare const AppFormUniqueList: AppFormItemTypes[];
|
|
197
|
+
declare const AppFormBannedFromViews: Map<AppFormItemTypes, ViewName[]>;
|
|
389
198
|
interface AppTypeServerModel {
|
|
390
199
|
typeName: string;
|
|
391
200
|
typeLabel: string;
|
|
@@ -476,10 +285,6 @@ interface AppServerViewModel {
|
|
|
476
285
|
format?: string;
|
|
477
286
|
html?: string;
|
|
478
287
|
}
|
|
479
|
-
declare const STUDIO_VIEW: {
|
|
480
|
-
SOLR: string;
|
|
481
|
-
NOT_SOLR: string;
|
|
482
|
-
};
|
|
483
288
|
|
|
484
289
|
declare type Loading = {
|
|
485
290
|
loading: 'idle' | 'pending';
|
|
@@ -1637,4 +1442,4 @@ declare const studio: {
|
|
|
1637
1442
|
};
|
|
1638
1443
|
};
|
|
1639
1444
|
|
|
1640
|
-
export { APP_STATUS_TYPE, AUDIENCE,
|
|
1445
|
+
export { APP_STATUS_TYPE, AUDIENCE, AppAttrSolrModel, AppAttrWidgetModel, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldsFormItem, AppFormBannedFromViews, AppFormItemTypes, AppFormUniqueList, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViews, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, EditorProps, EditorsRootState, EditorsState, Faq, FaqRootState, JLandMapFront, JLandRootState, MODE_EDIT, MODE_VIEW, MapCreationFront, Model, ModelRootState, Network, NetworkRootState, ReservationForm, RootDispatch, RootState, STUDIO_VIEW, Share, ShareRootState, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAudienceType, StudioRootState, TVDisplay, TVDisplayRootState, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, ToastRootState, UserCurrent, UserCurrentRootState, ViewName, WedocApp, WedocAppRootState, WedocAppTabKeys, Widget, WidgetEditor, WidgetModalProps, actions, jland, slice, studio, viewsList };
|