jamespot-front-business 1.1.47 → 1.1.49
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 +102 -66
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +102 -66
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +71 -8
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
|
6
6
|
import { EntityState, Dispatch, Action, PayloadAction } from '@reduxjs/toolkit';
|
|
7
7
|
import * as _reduxjs_toolkit_dist_tsHelpers from '@reduxjs/toolkit/dist/tsHelpers';
|
|
8
8
|
import React from 'react';
|
|
9
|
-
import { MapCreationFront as MapCreationFront$1 } from 'src/types';
|
|
10
9
|
import { Loading as Loading$1 } from 'src/types/utils';
|
|
10
|
+
import { MapCreationFront as MapCreationFront$1 } from 'src/types';
|
|
11
11
|
import * as zod from 'zod';
|
|
12
12
|
import { jCommentList } from 'jamespot-user-api/lib/src/types/comment';
|
|
13
13
|
|
|
@@ -694,20 +694,19 @@ declare const AssetReservation: {
|
|
|
694
694
|
};
|
|
695
695
|
};
|
|
696
696
|
|
|
697
|
+
declare type CommentRootState = {
|
|
698
|
+
comment: CommentListRootState;
|
|
699
|
+
};
|
|
697
700
|
declare type CommentsList = {
|
|
698
701
|
idArticle: number;
|
|
699
702
|
list: jCommentList[];
|
|
700
703
|
};
|
|
701
|
-
declare type CommentListState = Loading & {
|
|
704
|
+
declare type CommentListState = Loading$1 & {
|
|
702
705
|
comments: Array<CommentsList>;
|
|
703
706
|
};
|
|
704
707
|
declare type CommentListRootState = {
|
|
705
708
|
commentList: CommentListState;
|
|
706
709
|
};
|
|
707
|
-
|
|
708
|
-
declare type CommentRootState = {
|
|
709
|
-
comment: CommentListRootState;
|
|
710
|
-
};
|
|
711
710
|
declare const Comment: {
|
|
712
711
|
slice: {
|
|
713
712
|
name: "comment";
|
|
@@ -1287,6 +1286,17 @@ declare const slice$1: _reduxjs_toolkit.Slice<{}, {
|
|
|
1287
1286
|
spotRssFeed?: {
|
|
1288
1287
|
isActive: boolean;
|
|
1289
1288
|
} | undefined;
|
|
1289
|
+
WidgetHook?: ({
|
|
1290
|
+
isActive: boolean;
|
|
1291
|
+
} & {
|
|
1292
|
+
create: boolean;
|
|
1293
|
+
autorize: ("comment" | "article" | "message" | "board" | undefined)[];
|
|
1294
|
+
}) | undefined;
|
|
1295
|
+
AdminAdvancedHook?: ({
|
|
1296
|
+
isActive: boolean;
|
|
1297
|
+
} & {
|
|
1298
|
+
sendAlert: boolean;
|
|
1299
|
+
}) | undefined;
|
|
1290
1300
|
};
|
|
1291
1301
|
}, "hooks">;
|
|
1292
1302
|
declare type HookRootState = {
|
|
@@ -1314,6 +1324,17 @@ declare const Hook: {
|
|
|
1314
1324
|
spotRssFeed?: {
|
|
1315
1325
|
isActive: boolean;
|
|
1316
1326
|
} | undefined;
|
|
1327
|
+
WidgetHook?: ({
|
|
1328
|
+
isActive: boolean;
|
|
1329
|
+
} & {
|
|
1330
|
+
create: boolean;
|
|
1331
|
+
autorize: ("comment" | "article" | "message" | "board" | undefined)[];
|
|
1332
|
+
}) | undefined;
|
|
1333
|
+
AdminAdvancedHook?: ({
|
|
1334
|
+
isActive: boolean;
|
|
1335
|
+
} & {
|
|
1336
|
+
sendAlert: boolean;
|
|
1337
|
+
}) | undefined;
|
|
1317
1338
|
};
|
|
1318
1339
|
}, "hooks">;
|
|
1319
1340
|
actions: _reduxjs_toolkit.CaseReducerActions<{
|
|
@@ -1337,6 +1358,17 @@ declare const Hook: {
|
|
|
1337
1358
|
spotRssFeed?: {
|
|
1338
1359
|
isActive: boolean;
|
|
1339
1360
|
} | undefined;
|
|
1361
|
+
WidgetHook?: ({
|
|
1362
|
+
isActive: boolean;
|
|
1363
|
+
} & {
|
|
1364
|
+
create: boolean;
|
|
1365
|
+
autorize: ("comment" | "article" | "message" | "board" | undefined)[];
|
|
1366
|
+
}) | undefined;
|
|
1367
|
+
AdminAdvancedHook?: ({
|
|
1368
|
+
isActive: boolean;
|
|
1369
|
+
} & {
|
|
1370
|
+
sendAlert: boolean;
|
|
1371
|
+
}) | undefined;
|
|
1340
1372
|
};
|
|
1341
1373
|
}, "hooks">;
|
|
1342
1374
|
selectors: {
|
|
@@ -1360,8 +1392,19 @@ declare const Hook: {
|
|
|
1360
1392
|
spotRssFeed?: {
|
|
1361
1393
|
isActive: boolean;
|
|
1362
1394
|
} | undefined;
|
|
1395
|
+
WidgetHook?: ({
|
|
1396
|
+
isActive: boolean;
|
|
1397
|
+
} & {
|
|
1398
|
+
create: boolean;
|
|
1399
|
+
autorize: ("comment" | "article" | "message" | "board" | undefined)[];
|
|
1400
|
+
}) | undefined;
|
|
1401
|
+
AdminAdvancedHook?: ({
|
|
1402
|
+
isActive: boolean;
|
|
1403
|
+
} & {
|
|
1404
|
+
sendAlert: boolean;
|
|
1405
|
+
}) | undefined;
|
|
1363
1406
|
};
|
|
1364
|
-
selectHook: <T extends "DriveHook" | "calendarHook" | "FileBankHook" | "spotRssFeed">(state: HookRootState, hook: T) => {
|
|
1407
|
+
selectHook: <T extends "DriveHook" | "calendarHook" | "FileBankHook" | "spotRssFeed" | "WidgetHook" | "AdminAdvancedHook">(state: HookRootState, hook: T) => {
|
|
1365
1408
|
DriveHook?: ({
|
|
1366
1409
|
isActive: boolean;
|
|
1367
1410
|
} & {
|
|
@@ -1381,6 +1424,17 @@ declare const Hook: {
|
|
|
1381
1424
|
spotRssFeed?: {
|
|
1382
1425
|
isActive: boolean;
|
|
1383
1426
|
} | undefined;
|
|
1427
|
+
WidgetHook?: ({
|
|
1428
|
+
isActive: boolean;
|
|
1429
|
+
} & {
|
|
1430
|
+
create: boolean;
|
|
1431
|
+
autorize: ("comment" | "article" | "message" | "board" | undefined)[];
|
|
1432
|
+
}) | undefined;
|
|
1433
|
+
AdminAdvancedHook?: ({
|
|
1434
|
+
isActive: boolean;
|
|
1435
|
+
} & {
|
|
1436
|
+
sendAlert: boolean;
|
|
1437
|
+
}) | undefined;
|
|
1384
1438
|
}[T] | undefined;
|
|
1385
1439
|
};
|
|
1386
1440
|
utils: {
|
|
@@ -2211,6 +2265,9 @@ declare const WIDGET_ARTICLE_IMAGE = "widget-article-image";
|
|
|
2211
2265
|
declare const WIDGET_ARTICLE_BUTTON = "widget-article-button";
|
|
2212
2266
|
declare const WIDGET_ARTICLE_GALLERY = "widget-article-gallery";
|
|
2213
2267
|
declare const WIDGET_ARTICLE_ATTACHMENT = "widget-article-attachment";
|
|
2268
|
+
declare const WIDGET_CHECK_LIST = "widget-check-list";
|
|
2269
|
+
declare const WIDGET_CHECK_LIST_LABEL = "WIDGET_Check_List";
|
|
2270
|
+
declare const WIDGET_CHECK_LIST_DESCRIPTION = "WIDGET_Check_List_Description";
|
|
2214
2271
|
|
|
2215
2272
|
declare const WIDGETS_WIDGET_ARTICLE_TITLE: typeof WIDGET_ARTICLE_TITLE;
|
|
2216
2273
|
declare const WIDGETS_WIDGET_ARTICLE_TEXT: typeof WIDGET_ARTICLE_TEXT;
|
|
@@ -2218,6 +2275,9 @@ declare const WIDGETS_WIDGET_ARTICLE_IMAGE: typeof WIDGET_ARTICLE_IMAGE;
|
|
|
2218
2275
|
declare const WIDGETS_WIDGET_ARTICLE_BUTTON: typeof WIDGET_ARTICLE_BUTTON;
|
|
2219
2276
|
declare const WIDGETS_WIDGET_ARTICLE_GALLERY: typeof WIDGET_ARTICLE_GALLERY;
|
|
2220
2277
|
declare const WIDGETS_WIDGET_ARTICLE_ATTACHMENT: typeof WIDGET_ARTICLE_ATTACHMENT;
|
|
2278
|
+
declare const WIDGETS_WIDGET_CHECK_LIST: typeof WIDGET_CHECK_LIST;
|
|
2279
|
+
declare const WIDGETS_WIDGET_CHECK_LIST_LABEL: typeof WIDGET_CHECK_LIST_LABEL;
|
|
2280
|
+
declare const WIDGETS_WIDGET_CHECK_LIST_DESCRIPTION: typeof WIDGET_CHECK_LIST_DESCRIPTION;
|
|
2221
2281
|
declare namespace WIDGETS {
|
|
2222
2282
|
export {
|
|
2223
2283
|
WIDGETS_WIDGET_ARTICLE_TITLE as WIDGET_ARTICLE_TITLE,
|
|
@@ -2226,6 +2286,9 @@ declare namespace WIDGETS {
|
|
|
2226
2286
|
WIDGETS_WIDGET_ARTICLE_BUTTON as WIDGET_ARTICLE_BUTTON,
|
|
2227
2287
|
WIDGETS_WIDGET_ARTICLE_GALLERY as WIDGET_ARTICLE_GALLERY,
|
|
2228
2288
|
WIDGETS_WIDGET_ARTICLE_ATTACHMENT as WIDGET_ARTICLE_ATTACHMENT,
|
|
2289
|
+
WIDGETS_WIDGET_CHECK_LIST as WIDGET_CHECK_LIST,
|
|
2290
|
+
WIDGETS_WIDGET_CHECK_LIST_LABEL as WIDGET_CHECK_LIST_LABEL,
|
|
2291
|
+
WIDGETS_WIDGET_CHECK_LIST_DESCRIPTION as WIDGET_CHECK_LIST_DESCRIPTION,
|
|
2229
2292
|
};
|
|
2230
2293
|
}
|
|
2231
2294
|
|
|
@@ -2538,4 +2601,4 @@ declare const studio: {
|
|
|
2538
2601
|
};
|
|
2539
2602
|
};
|
|
2540
2603
|
|
|
2541
|
-
export { APP_STATUS_TYPE, AUDIENCE, AnimationSliceRootState, Animations, AnimationsRootState, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormUniqueList, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Comment, CommentRootState, ContentTypePropertyValue, EditorProps, EditorsRootState, EditorsState, ExtraAppFieldsItemViews, Faq, FaqRootState, Hook, HookRootState, JLandMapFront, JLandRootState, JType, MODE_EDIT, MODE_VIEW, MagicPad, MagicPadRootState, MagicPadSliceRootState, MapCreationFront, MapExtraFieldsWithView, MediaLibrary, MediaLibraryRootState, MediaLibraryState, Model, ModelRootState, Network, NetworkRootState, Platform, PlatformRootState, ReservationForm, RootDispatch, RootState, STUDIO_VIEW, Share, ShareRootState, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAudienceType, StudioRootState, TVDisplay, TVDisplayRootState, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, ToastRootState, UserCurrent, UserCurrentRootState, ViewName, WedocApp, WedocAppRootState, WedocAppTabKeys, Widget, WidgetEditor, WidgetModalProps, actions, animationsReducer, animationsSlice, deleteCurrentAnimation, fetchCurrentAnimation, fetchCurrentAnimationApp, fetchMediaLibraryConfig, fetchMediaLibraryFolders, fetchMediaLibraryUnclassifiedFiles, fetchPads, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, saveCurrentAnimation, slice, studio, toggleAnimationIsActive, updateWidgetContent, viewsList };
|
|
2604
|
+
export { APP_STATUS_TYPE, AUDIENCE, AnimationSliceRootState, Animations, AnimationsRootState, AppAttrSolrModel, AppAttrWidgetModel, AppColumnsDefaultTypes, AppFieldFormProperty, AppFieldFormPropertyTypes, AppFieldView, AppFieldsFormItem, AppFormBannedFromViews, AppFormFieldOnlyInView, AppFormFixedList, AppFormItemTypes, AppFormNoAsFieldList, AppFormNonPrimaryList, AppFormPrimaryList, AppFormUniqueList, AppInstallForType, AppLabelContentType, AppLabelsType, AppServerDisplayModel, AppServerDisplaysModel, AppServerViewModel, AppStatusKeys, AppStatusType, AppTableAttributesModel, AppTableModel, AppTypeServerModel, AppViewFieldItem, AppViewFieldsItems, AppViews, AppViewsFields, Application, ApplicationRootState, AssetReservation, AssetReservationRootState, Bookmark, BookmarkRootState, ChannelsListRootState, ChannelsListState, CheckBoxOption, Comment, CommentListRootState, CommentListState, CommentRootState, CommentsList, ContentTypePropertyValue, EditorProps, EditorsRootState, EditorsState, ExtraAppFieldsItemViews, Faq, FaqRootState, Hook, HookRootState, JLandMapFront, JLandRootState, JType, MODE_EDIT, MODE_VIEW, MagicPad, MagicPadRootState, MagicPadSliceRootState, MapCreationFront, MapExtraFieldsWithView, MediaLibrary, MediaLibraryRootState, MediaLibraryState, Model, ModelRootState, Network, NetworkRootState, Platform, PlatformRootState, ReservationForm, RootDispatch, RootState, STUDIO_VIEW, Share, ShareRootState, StatusType, StudioAppBase, StudioAppManifest, StudioApplication, StudioAudienceType, StudioRootState, TVDisplay, TVDisplayRootState, TaxonomyPropertyValue, ThunkApiConfig, TinyMCE, TinyMCERootState, Toast, ToastRootState, UserCurrent, UserCurrentRootState, ViewName, WedocApp, WedocAppRootState, WedocAppTabKeys, Widget, WidgetEditor, WidgetModalProps, actions, animationsReducer, animationsSlice, deleteCurrentAnimation, fetchCurrentAnimation, fetchCurrentAnimationApp, fetchMediaLibraryConfig, fetchMediaLibraryFolders, fetchMediaLibraryUnclassifiedFiles, fetchPads, jland, magicPadSlice, mediaLibraryReducer, mediaLibrarySlice, saveCurrentAnimation, slice, studio, toggleAnimationIsActive, updateWidgetContent, viewsList };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-front-business",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.49",
|
|
4
4
|
"description": "typescript utils",
|
|
5
5
|
"main": "dist/cjs.js",
|
|
6
6
|
"module": "dist/esm.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@reduxjs/toolkit": "1.9.0",
|
|
41
41
|
"@types/uuid": "^9.0.8",
|
|
42
|
-
"jamespot-user-api": "^1.0.
|
|
42
|
+
"jamespot-user-api": "^1.0.160",
|
|
43
43
|
"react-redux": "7.2.9",
|
|
44
44
|
"redux": "4.2.0",
|
|
45
45
|
"uuid": "^9.0.1"
|