jamespot-front-business 1.1.47 → 1.1.48
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 +87 -61
- package/dist/cjs.js.map +1 -1
- package/dist/esm.js +87 -61
- package/dist/esm.js.map +1 -1
- package/dist/types.d.ts +46 -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,12 @@ 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;
|
|
1290
1295
|
};
|
|
1291
1296
|
}, "hooks">;
|
|
1292
1297
|
declare type HookRootState = {
|
|
@@ -1314,6 +1319,12 @@ declare const Hook: {
|
|
|
1314
1319
|
spotRssFeed?: {
|
|
1315
1320
|
isActive: boolean;
|
|
1316
1321
|
} | undefined;
|
|
1322
|
+
WidgetHook?: ({
|
|
1323
|
+
isActive: boolean;
|
|
1324
|
+
} & {
|
|
1325
|
+
create: boolean;
|
|
1326
|
+
autorize: ("comment" | "article" | "message" | "board" | undefined)[];
|
|
1327
|
+
}) | undefined;
|
|
1317
1328
|
};
|
|
1318
1329
|
}, "hooks">;
|
|
1319
1330
|
actions: _reduxjs_toolkit.CaseReducerActions<{
|
|
@@ -1337,6 +1348,12 @@ declare const Hook: {
|
|
|
1337
1348
|
spotRssFeed?: {
|
|
1338
1349
|
isActive: boolean;
|
|
1339
1350
|
} | undefined;
|
|
1351
|
+
WidgetHook?: ({
|
|
1352
|
+
isActive: boolean;
|
|
1353
|
+
} & {
|
|
1354
|
+
create: boolean;
|
|
1355
|
+
autorize: ("comment" | "article" | "message" | "board" | undefined)[];
|
|
1356
|
+
}) | undefined;
|
|
1340
1357
|
};
|
|
1341
1358
|
}, "hooks">;
|
|
1342
1359
|
selectors: {
|
|
@@ -1360,8 +1377,14 @@ declare const Hook: {
|
|
|
1360
1377
|
spotRssFeed?: {
|
|
1361
1378
|
isActive: boolean;
|
|
1362
1379
|
} | undefined;
|
|
1380
|
+
WidgetHook?: ({
|
|
1381
|
+
isActive: boolean;
|
|
1382
|
+
} & {
|
|
1383
|
+
create: boolean;
|
|
1384
|
+
autorize: ("comment" | "article" | "message" | "board" | undefined)[];
|
|
1385
|
+
}) | undefined;
|
|
1363
1386
|
};
|
|
1364
|
-
selectHook: <T extends "DriveHook" | "calendarHook" | "FileBankHook" | "spotRssFeed">(state: HookRootState, hook: T) => {
|
|
1387
|
+
selectHook: <T extends "DriveHook" | "calendarHook" | "FileBankHook" | "spotRssFeed" | "WidgetHook">(state: HookRootState, hook: T) => {
|
|
1365
1388
|
DriveHook?: ({
|
|
1366
1389
|
isActive: boolean;
|
|
1367
1390
|
} & {
|
|
@@ -1381,6 +1404,12 @@ declare const Hook: {
|
|
|
1381
1404
|
spotRssFeed?: {
|
|
1382
1405
|
isActive: boolean;
|
|
1383
1406
|
} | undefined;
|
|
1407
|
+
WidgetHook?: ({
|
|
1408
|
+
isActive: boolean;
|
|
1409
|
+
} & {
|
|
1410
|
+
create: boolean;
|
|
1411
|
+
autorize: ("comment" | "article" | "message" | "board" | undefined)[];
|
|
1412
|
+
}) | undefined;
|
|
1384
1413
|
}[T] | undefined;
|
|
1385
1414
|
};
|
|
1386
1415
|
utils: {
|
|
@@ -2211,6 +2240,9 @@ declare const WIDGET_ARTICLE_IMAGE = "widget-article-image";
|
|
|
2211
2240
|
declare const WIDGET_ARTICLE_BUTTON = "widget-article-button";
|
|
2212
2241
|
declare const WIDGET_ARTICLE_GALLERY = "widget-article-gallery";
|
|
2213
2242
|
declare const WIDGET_ARTICLE_ATTACHMENT = "widget-article-attachment";
|
|
2243
|
+
declare const WIDGET_CHECK_LIST = "widget-check-list";
|
|
2244
|
+
declare const WIDGET_CHECK_LIST_LABEL = "WIDGET_Check_List";
|
|
2245
|
+
declare const WIDGET_CHECK_LIST_DESCRIPTION = "WIDGET_Check_List_Description";
|
|
2214
2246
|
|
|
2215
2247
|
declare const WIDGETS_WIDGET_ARTICLE_TITLE: typeof WIDGET_ARTICLE_TITLE;
|
|
2216
2248
|
declare const WIDGETS_WIDGET_ARTICLE_TEXT: typeof WIDGET_ARTICLE_TEXT;
|
|
@@ -2218,6 +2250,9 @@ declare const WIDGETS_WIDGET_ARTICLE_IMAGE: typeof WIDGET_ARTICLE_IMAGE;
|
|
|
2218
2250
|
declare const WIDGETS_WIDGET_ARTICLE_BUTTON: typeof WIDGET_ARTICLE_BUTTON;
|
|
2219
2251
|
declare const WIDGETS_WIDGET_ARTICLE_GALLERY: typeof WIDGET_ARTICLE_GALLERY;
|
|
2220
2252
|
declare const WIDGETS_WIDGET_ARTICLE_ATTACHMENT: typeof WIDGET_ARTICLE_ATTACHMENT;
|
|
2253
|
+
declare const WIDGETS_WIDGET_CHECK_LIST: typeof WIDGET_CHECK_LIST;
|
|
2254
|
+
declare const WIDGETS_WIDGET_CHECK_LIST_LABEL: typeof WIDGET_CHECK_LIST_LABEL;
|
|
2255
|
+
declare const WIDGETS_WIDGET_CHECK_LIST_DESCRIPTION: typeof WIDGET_CHECK_LIST_DESCRIPTION;
|
|
2221
2256
|
declare namespace WIDGETS {
|
|
2222
2257
|
export {
|
|
2223
2258
|
WIDGETS_WIDGET_ARTICLE_TITLE as WIDGET_ARTICLE_TITLE,
|
|
@@ -2226,6 +2261,9 @@ declare namespace WIDGETS {
|
|
|
2226
2261
|
WIDGETS_WIDGET_ARTICLE_BUTTON as WIDGET_ARTICLE_BUTTON,
|
|
2227
2262
|
WIDGETS_WIDGET_ARTICLE_GALLERY as WIDGET_ARTICLE_GALLERY,
|
|
2228
2263
|
WIDGETS_WIDGET_ARTICLE_ATTACHMENT as WIDGET_ARTICLE_ATTACHMENT,
|
|
2264
|
+
WIDGETS_WIDGET_CHECK_LIST as WIDGET_CHECK_LIST,
|
|
2265
|
+
WIDGETS_WIDGET_CHECK_LIST_LABEL as WIDGET_CHECK_LIST_LABEL,
|
|
2266
|
+
WIDGETS_WIDGET_CHECK_LIST_DESCRIPTION as WIDGET_CHECK_LIST_DESCRIPTION,
|
|
2229
2267
|
};
|
|
2230
2268
|
}
|
|
2231
2269
|
|
|
@@ -2538,4 +2576,4 @@ declare const studio: {
|
|
|
2538
2576
|
};
|
|
2539
2577
|
};
|
|
2540
2578
|
|
|
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 };
|
|
2579
|
+
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.48",
|
|
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.158",
|
|
43
43
|
"react-redux": "7.2.9",
|
|
44
44
|
"redux": "4.2.0",
|
|
45
45
|
"uuid": "^9.0.1"
|