@selfcommunity/react-ui 0.10.2-courses.107 → 0.10.2-courses.108
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/lib/cjs/components/CreateLiveStreamDialog/CreateLiveStreamDialog.js +5 -5
- package/lib/cjs/components/EditCourse/EditCourse.d.ts +3 -3
- package/lib/cjs/components/EditCourse/types.d.ts +0 -1
- package/lib/cjs/components/EventForm/EventForm.js +7 -5
- package/lib/cjs/components/LiveStreamForm/LiveStreamForm.js +6 -4
- package/lib/cjs/index.d.ts +2 -2
- package/lib/cjs/index.js +7 -6
- package/lib/cjs/types/course.d.ts +8 -0
- package/lib/cjs/types/course.js +9 -1
- package/lib/cjs/types/index.d.ts +4 -2
- package/lib/cjs/types/index.js +2 -1
- package/lib/esm/components/CreateLiveStreamDialog/CreateLiveStreamDialog.js +5 -5
- package/lib/esm/components/EditCourse/EditCourse.d.ts +3 -3
- package/lib/esm/components/EditCourse/types.d.ts +0 -1
- package/lib/esm/components/EventForm/EventForm.js +8 -6
- package/lib/esm/components/LiveStreamForm/LiveStreamForm.js +6 -4
- package/lib/esm/index.d.ts +2 -2
- package/lib/esm/index.js +2 -2
- package/lib/esm/types/course.d.ts +8 -0
- package/lib/esm/types/course.js +8 -0
- package/lib/esm/types/index.d.ts +4 -2
- package/lib/esm/types/index.js +2 -2
- package/lib/umd/react-ui.js +1 -1
- package/package.json +8 -8
package/lib/esm/index.js
CHANGED
|
@@ -175,7 +175,7 @@ import UrlTextField from './shared/UrlTextField';
|
|
|
175
175
|
import UserAvatar from './shared/UserAvatar';
|
|
176
176
|
import UserDeletedSnackBar from './shared/UserDeletedSnackBar';
|
|
177
177
|
import UsernameTextField from './shared/UsernameTextField';
|
|
178
|
-
import { SCBroadcastMessageTemplateType, SCCommentsOrderBy, SCEventTemplateType, SCFeedObjectActivitiesType, SCFeedObjectTemplateType, SCNotificationObjectTemplateType, SCUserProfileFields, SCUserProfileSettings, SCUserSocialAssociations, SCCourseTemplateType, SCLessonActionsType, SCLessonModeType } from './types';
|
|
178
|
+
import { SCBroadcastMessageTemplateType, SCCommentsOrderBy, SCEventTemplateType, SCFeedObjectActivitiesType, SCFeedObjectTemplateType, SCNotificationObjectTemplateType, SCUserProfileFields, SCUserProfileSettings, SCUserSocialAssociations, SCCourseTemplateType, SCLessonActionsType, SCLessonModeType, SCCourseEditTabEnum } from './types';
|
|
179
179
|
/**
|
|
180
180
|
* Constants
|
|
181
181
|
*/
|
|
@@ -210,7 +210,7 @@ import DefaultCoverSelfCommunity from './assets/deafultCover';
|
|
|
210
210
|
*/
|
|
211
211
|
export { AcceptRequestUserEventButton, AccountChangeMailValidation, AccountDataPortability, AccountDataPortabilityButton, AccountDelete, AccountDeleteButton, AccountRecover, AccountReset, AccountVerify, AvatarGroupSkeleton, BaseDialog, BaseItem, BaseLightbox, BottomNavigation, BroadcastMessages, BroadcastMessagesSkeleton, bytesToSize, generateRoomId, randomString, decodePassphrase, encodePassphrase, getCurrentSectionAndLessonIndex, Calendar, Categories, CategoriesPopularWidget, CategoriesPopularWidgetSkeleton, CategoriesSkeleton, CategoriesSuggestionWidget, CategoriesSuggestionWidgetSkeleton, Category, CategoryAutocomplete, CategoryFollowButton, CategoryFollowersButton, CategoryHeader, CategoryHeaderSkeleton, CategorySkeleton, CategoryTrendingFeedWidget, CategoryTrendingFeedWidgetSkeleton, CategoryTrendingPeopleWidgetSkeleton, CategoryTrendingUsersWidget, CentralProgress, ChangeCover, ChangeGroupCover, ChangeGroupPicture, ChangePicture, CommentObject, CommentObjectReply, CommentObjectSkeleton, CommentsFeedObject, CommentsFeedObjectSkeleton, CommentsObject, CommentsObjectSkeleton, Composer, ComposerIconButton, ConfirmDialog, ConnectionUserButton,
|
|
212
212
|
/* SC CONSENT SOLUTION */
|
|
213
|
-
ConsentSolution, ConsentSolutionButton, ConsentSolutionSkeleton, ContributionUtils, Course, CourseSkeleton, CourseJoinButton, Courses, CreateCourseButton, CoursesSkeleton, CourseContentMenu, CourseDashboard, CreateEventButton, CreateEventWidget, CreateEventWidgetSkeleton, CreateGroupButton, EventForm, EventFormDialog, CustomAdv, CustomAdvSkeleton, DEFAULT_FIELDS, DEFAULT_PAGINATION_LIMIT, DEFAULT_PAGINATION_OFFSET,
|
|
213
|
+
ConsentSolution, ConsentSolutionButton, ConsentSolutionSkeleton, ContributionUtils, SCCourseEditTabEnum, Course, CourseSkeleton, CourseJoinButton, Courses, CreateCourseButton, CoursesSkeleton, CourseContentMenu, CourseDashboard, CreateEventButton, CreateEventWidget, CreateEventWidgetSkeleton, CreateGroupButton, EventForm, EventFormDialog, CustomAdv, CustomAdvSkeleton, DEFAULT_FIELDS, DEFAULT_PAGINATION_LIMIT, DEFAULT_PAGINATION_OFFSET,
|
|
214
214
|
/* SC UI PAGINATION */
|
|
215
215
|
DEFAULT_PAGINATION_QUERY_PARAM_NAME, DEFAULT_PRELOAD_OFFSET_VIEWPORT, DEFAULT_WIDGETS_NUMBER, DefaultDrawerContent, DefaultHeaderContent, DefaultDrawerSkeleton, EditEventButton, EditGroupButton, Editor, EditorSkeleton, EmailTextField, EditCourse, Event, EventActionsMenu, EventHeader, EventHeaderSkeleton, EventInfoDetails, EventInfoWidget, EventInviteButton, EventLocationWidget, EventLocationWidgetSkeleton, EventMediaWidget, EventMediaWidgetSkeleton, EventMembersWidget, EventMembersWidgetSkeleton, EventParticipantsButton, Events, EventSkeleton, EventsSkeleton, FACEBOOK_SHARE, Feed, FeedObject, FeedObjectMediaPreview, FeedObjectSkeleton, FeedSkeleton, FeedUpdatesWidget, FeedUpdatesWidgetSkeleton, File, FollowUserButton, Footer, FooterSkeleton, FriendshipUserButton, GenericSkeleton, getRelativeTime, getUnseenNotification, getUnseenNotificationCounter, Group, GroupActionsMenu, GroupForm, GroupHeader, GroupHeaderSkeleton, GroupInfoWidget, GroupInfoWidgetSkeleton, GroupInviteButton, GroupInvitedWidget, GroupInvitedWidgetSkeleton, GroupMembersButton, GroupMembersWidget, GroupMembersWidgetSkeleton, GroupRequestsWidget, GroupRequestsWidgetSkeleton, Groups, GroupSettingsIconButton, GroupSkeleton, GroupsSkeleton, GroupSubscribeButton,
|
|
216
216
|
/* SC UI SHARED */
|
|
@@ -11,3 +11,11 @@ export declare enum SCLessonModeType {
|
|
|
11
11
|
VIEW = "view",
|
|
12
12
|
EDIT = "edit"
|
|
13
13
|
}
|
|
14
|
+
export declare type SCCourseEditTabType = 'lessons' | 'customize' | 'users' | 'requests' | 'options';
|
|
15
|
+
export declare enum SCCourseEditTabEnum {
|
|
16
|
+
LESSONS = "lessons",
|
|
17
|
+
CUSTOMIZE = "customize",
|
|
18
|
+
USERS = "users",
|
|
19
|
+
REQUESTS = "requests",
|
|
20
|
+
OPTIONS = "options"
|
|
21
|
+
}
|
package/lib/esm/types/course.js
CHANGED
|
@@ -14,3 +14,11 @@ export var SCLessonModeType;
|
|
|
14
14
|
SCLessonModeType["VIEW"] = "view";
|
|
15
15
|
SCLessonModeType["EDIT"] = "edit";
|
|
16
16
|
})(SCLessonModeType || (SCLessonModeType = {}));
|
|
17
|
+
export var SCCourseEditTabEnum;
|
|
18
|
+
(function (SCCourseEditTabEnum) {
|
|
19
|
+
SCCourseEditTabEnum["LESSONS"] = "lessons";
|
|
20
|
+
SCCourseEditTabEnum["CUSTOMIZE"] = "customize";
|
|
21
|
+
SCCourseEditTabEnum["USERS"] = "users";
|
|
22
|
+
SCCourseEditTabEnum["REQUESTS"] = "requests";
|
|
23
|
+
SCCourseEditTabEnum["OPTIONS"] = "options";
|
|
24
|
+
})(SCCourseEditTabEnum || (SCCourseEditTabEnum = {}));
|
package/lib/esm/types/index.d.ts
CHANGED
|
@@ -8,5 +8,7 @@ import { VirtualScrollerItemProps } from './virtualScroller';
|
|
|
8
8
|
import { SCUserProfileFields, SCUserProfileSettings, SCUserSocialAssociations } from './user';
|
|
9
9
|
import { PlatformWidgetActionType } from './platformWidget';
|
|
10
10
|
import { SCEventTemplateType } from './event';
|
|
11
|
-
import { SCCourseTemplateType, SCLessonActionsType, SCLessonModeType } from './course';
|
|
12
|
-
|
|
11
|
+
import { SCCourseTemplateType, SCLessonActionsType, SCLessonModeType, SCCourseEditTabEnum } from './course';
|
|
12
|
+
import type { SCCourseEditTabType } from './course';
|
|
13
|
+
export type { SCCourseEditTabType };
|
|
14
|
+
export { SCFeedWidgetType, SCMediaObjectType, SCMediaChunkType, SCCommentsOrderBy, SCFeedObjectActivitiesType, SCFeedObjectTemplateType, SCNotificationObjectTemplateType, SCBroadcastMessageTemplateType, SCUserProfileFields, SCUserProfileSettings, SCUserSocialAssociations, VirtualScrollerItemProps, PlatformWidgetActionType, SCEventTemplateType, SCCourseTemplateType, SCLessonActionsType, SCLessonModeType, SCCourseEditTabEnum };
|
package/lib/esm/types/index.js
CHANGED
|
@@ -4,5 +4,5 @@ import { SCNotificationObjectTemplateType } from './notification';
|
|
|
4
4
|
import { SCBroadcastMessageTemplateType } from './broadcastMessage';
|
|
5
5
|
import { SCUserProfileFields, SCUserProfileSettings, SCUserSocialAssociations } from './user';
|
|
6
6
|
import { SCEventTemplateType } from './event';
|
|
7
|
-
import { SCCourseTemplateType, SCLessonActionsType, SCLessonModeType } from './course';
|
|
8
|
-
export { SCCommentsOrderBy, SCFeedObjectActivitiesType, SCFeedObjectTemplateType, SCNotificationObjectTemplateType, SCBroadcastMessageTemplateType, SCUserProfileFields, SCUserProfileSettings, SCUserSocialAssociations, SCEventTemplateType, SCCourseTemplateType, SCLessonActionsType, SCLessonModeType };
|
|
7
|
+
import { SCCourseTemplateType, SCLessonActionsType, SCLessonModeType, SCCourseEditTabEnum } from './course';
|
|
8
|
+
export { SCCommentsOrderBy, SCFeedObjectActivitiesType, SCFeedObjectTemplateType, SCNotificationObjectTemplateType, SCBroadcastMessageTemplateType, SCUserProfileFields, SCUserProfileSettings, SCUserSocialAssociations, SCEventTemplateType, SCCourseTemplateType, SCLessonActionsType, SCLessonModeType, SCCourseEditTabEnum };
|