math-main-components 0.0.51 → 0.0.53

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/index.cjs.js CHANGED
@@ -1024,6 +1024,34 @@ function UsageCard({ title, subtitle, ratio = 0, loading }) {
1024
1024
  ], lineWidth: 15, totalValue: 1 }))));
1025
1025
  }
1026
1026
 
1027
+ exports.CourseAnnouncementAssetType = void 0;
1028
+ (function (CourseAnnouncementAssetType) {
1029
+ CourseAnnouncementAssetType["file"] = "file";
1030
+ CourseAnnouncementAssetType["calculator"] = "calculator";
1031
+ CourseAnnouncementAssetType["video"] = "video";
1032
+ CourseAnnouncementAssetType["material"] = "material";
1033
+ CourseAnnouncementAssetType["ebook"] = "ebook";
1034
+ CourseAnnouncementAssetType["test"] = "test";
1035
+ CourseAnnouncementAssetType["link"] = "link"; // simple external link url
1036
+ })(exports.CourseAnnouncementAssetType || (exports.CourseAnnouncementAssetType = {}));
1037
+
1038
+ exports.S3FileCategory = void 0;
1039
+ (function (S3FileCategory) {
1040
+ S3FileCategory["movies"] = "movies";
1041
+ S3FileCategory["materials"] = "materials";
1042
+ S3FileCategory["ebooks"] = "ebooks";
1043
+ S3FileCategory["default"] = "file";
1044
+ })(exports.S3FileCategory || (exports.S3FileCategory = {}));
1045
+
1046
+ exports.ManagerPermission = void 0;
1047
+ (function (ManagerPermission) {
1048
+ ManagerPermission["content"] = "content";
1049
+ ManagerPermission["subsription"] = "subscription";
1050
+ ManagerPermission["manager"] = "manager";
1051
+ ManagerPermission["license"] = "license";
1052
+ ManagerPermission["file"] = "file";
1053
+ })(exports.ManagerPermission || (exports.ManagerPermission = {}));
1054
+
1027
1055
  exports.Accordeon = Accordeon;
1028
1056
  exports.AuthButton = AuthButton;
1029
1057
  exports.CardButton = CardButton;
package/dist/index.d.ts CHANGED
@@ -31,4 +31,33 @@ export * from './components/SvgIcon';
31
31
  export * from './components/Table';
32
32
  export * from './components/TextWithIcon';
33
33
  export * from './components/UsageCard';
34
- export * from './types/News';
34
+ export * from './types/marketing/BenefitForIndividuals';
35
+ export * from './types/marketing/BenefitForSchools';
36
+ export * from './types/marketing/Feature';
37
+ export * from './types/marketing/FooterLink';
38
+ export * from './types/marketing/News';
39
+ export * from './types/marketing/Pricing';
40
+ export * from './types/marketing/WebsiteData';
41
+ export * from './types/Category';
42
+ export * from './types/Concept';
43
+ export * from './types/Content';
44
+ export * from './types/Course';
45
+ export * from './types/CourseAnnouncement';
46
+ export * from './types/CourseAnnouncementAsset';
47
+ export * from './types/CourseMessage';
48
+ export * from './types/CourseParticipant';
49
+ export * from './types/CoursePin';
50
+ export * from './types/File';
51
+ export * from './types/HelpData';
52
+ export * from './types/LicenseKey';
53
+ export * from './types/Manager';
54
+ export * from './types/Material';
55
+ export * from './types/Organization';
56
+ export * from './types/OrganizationMember';
57
+ export * from './types/Page';
58
+ export * from './types/Product';
59
+ export * from './types/ProductFeature';
60
+ export * from './types/Subscription';
61
+ export * from './types/UploadSignature';
62
+ export * from './types/Usage';
63
+ export * from './types/User';
package/dist/index.esm.js CHANGED
@@ -1016,4 +1016,32 @@ function UsageCard({ title, subtitle, ratio = 0, loading }) {
1016
1016
  ], lineWidth: 15, totalValue: 1 }))));
1017
1017
  }
1018
1018
 
1019
- export { Accordeon, AuthButton, CardButton, Checkbox, ChooseRole, ChooseRoleItem, CopyCode, Dialog, FormButton, FormText, ForwardButton, Gap, InputMail, InputNames, InputNumber, InputPassword, InputPin, InputText, OptionField, OptionFieldHorizontal, PrimaryButton, ProgressBar, RadioButtons, RadioOption, RedirectButton, SearchChip, SearchChips, Searchbar, Slider, SliderCard, StepBack, SvgIcon, Table, TableActionType, TableItem, TableItemAction, TextWithIcon, UsageCard };
1019
+ var CourseAnnouncementAssetType;
1020
+ (function (CourseAnnouncementAssetType) {
1021
+ CourseAnnouncementAssetType["file"] = "file";
1022
+ CourseAnnouncementAssetType["calculator"] = "calculator";
1023
+ CourseAnnouncementAssetType["video"] = "video";
1024
+ CourseAnnouncementAssetType["material"] = "material";
1025
+ CourseAnnouncementAssetType["ebook"] = "ebook";
1026
+ CourseAnnouncementAssetType["test"] = "test";
1027
+ CourseAnnouncementAssetType["link"] = "link"; // simple external link url
1028
+ })(CourseAnnouncementAssetType || (CourseAnnouncementAssetType = {}));
1029
+
1030
+ var S3FileCategory;
1031
+ (function (S3FileCategory) {
1032
+ S3FileCategory["movies"] = "movies";
1033
+ S3FileCategory["materials"] = "materials";
1034
+ S3FileCategory["ebooks"] = "ebooks";
1035
+ S3FileCategory["default"] = "file";
1036
+ })(S3FileCategory || (S3FileCategory = {}));
1037
+
1038
+ var ManagerPermission;
1039
+ (function (ManagerPermission) {
1040
+ ManagerPermission["content"] = "content";
1041
+ ManagerPermission["subsription"] = "subscription";
1042
+ ManagerPermission["manager"] = "manager";
1043
+ ManagerPermission["license"] = "license";
1044
+ ManagerPermission["file"] = "file";
1045
+ })(ManagerPermission || (ManagerPermission = {}));
1046
+
1047
+ export { Accordeon, AuthButton, CardButton, Checkbox, ChooseRole, ChooseRoleItem, CopyCode, CourseAnnouncementAssetType, Dialog, FormButton, FormText, ForwardButton, Gap, InputMail, InputNames, InputNumber, InputPassword, InputPin, InputText, ManagerPermission, OptionField, OptionFieldHorizontal, PrimaryButton, ProgressBar, RadioButtons, RadioOption, RedirectButton, S3FileCategory, SearchChip, SearchChips, Searchbar, Slider, SliderCard, StepBack, SvgIcon, Table, TableActionType, TableItem, TableItemAction, TextWithIcon, UsageCard };
@@ -1,5 +1,5 @@
1
1
  import { Course } from "./Course";
2
- import { CourseAnnouncementAsset } from "./CourseAnnouncementAssset";
2
+ import { CourseAnnouncementAsset } from "./CourseAnnouncementAsset";
3
3
  import { User } from "./User";
4
4
  export interface CourseAnnouncement {
5
5
  id: string;
@@ -0,0 +1,21 @@
1
+ export declare enum CourseAnnouncementAssetType {
2
+ file = "file",
3
+ calculator = "calculator",
4
+ video = "video",
5
+ material = "material",
6
+ ebook = "ebook",
7
+ test = "test",
8
+ link = "link"
9
+ }
10
+ export interface CourseAnnouncementAsset {
11
+ id?: string;
12
+ type: CourseAnnouncementAssetType;
13
+ link: string;
14
+ text: string;
15
+ file?: File;
16
+ fileName?: string;
17
+ fileType?: string;
18
+ fileId?: string;
19
+ fileExpire?: Date;
20
+ fileSize?: number;
21
+ }
@@ -5,7 +5,7 @@ export interface LicenseKey {
5
5
  productId: string;
6
6
  pricePayedEuro: number;
7
7
  valid: boolean;
8
- quantity: boolean;
8
+ quantity: number;
9
9
  key: string;
10
10
  createdAt: string;
11
11
  redeemedOn: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "math-main-components",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "author": "Emilian Scheel",
5
5
  "files": [
6
6
  "dist/**/*"