ngx-edu-sharing-ui 10.0.27 → 10.0.28

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.
@@ -8,32 +8,33 @@ import * as i6 from "../dropdown/dropdown.component";
8
8
  import * as i7 from "../directives/focus-state.directive";
9
9
  import * as i8 from "../pipes/format-date.pipe";
10
10
  import * as i9 from "../pipes/file-size.pipe";
11
- import * as i10 from "../directives/icon.directive";
12
- import * as i11 from "../pipes/mds-duration.pipe";
13
- import * as i12 from "../directives/infinite-scroll.directive";
14
- import * as i13 from "../pipes/property-slug.pipe";
15
- import * as i14 from "../pipes/node-icon.pipe";
16
- import * as i15 from "../pipes/node-image.pipe";
17
- import * as i16 from "../pipes/node-image-size.pipe";
18
- import * as i17 from "../pipes/node-license.pipe";
19
- import * as i18 from "../pipes/node-person-name.pipe";
20
- import * as i19 from "../pipes/node-title.pipe";
21
- import * as i20 from "../node-url/node-url.component";
22
- import * as i21 from "../pipes/option-tooltip.pipe";
23
- import * as i22 from "../pipes/replace-chars.pipe";
24
- import * as i23 from "../sort-dropdown/sort-dropdown.component";
25
- import * as i24 from "../pipes/vcard-name.pipe";
26
- import * as i25 from "@angular/common";
27
- import * as i26 from "@angular/material/menu";
28
- import * as i27 from "../spinner/spinner.component";
11
+ import * as i10 from "../pipes/mds-duration.pipe";
12
+ import * as i11 from "../directives/infinite-scroll.directive";
13
+ import * as i12 from "../pipes/property-slug.pipe";
14
+ import * as i13 from "../pipes/node-icon.pipe";
15
+ import * as i14 from "../pipes/node-image.pipe";
16
+ import * as i15 from "../pipes/node-image-size.pipe";
17
+ import * as i16 from "../pipes/node-license.pipe";
18
+ import * as i17 from "../pipes/node-person-name.pipe";
19
+ import * as i18 from "../pipes/node-title.pipe";
20
+ import * as i19 from "../node-url/node-url.component";
21
+ import * as i20 from "../pipes/option-tooltip.pipe";
22
+ import * as i21 from "../pipes/replace-chars.pipe";
23
+ import * as i22 from "../sort-dropdown/sort-dropdown.component";
24
+ import * as i23 from "../pipes/vcard-name.pipe";
25
+ import * as i24 from "@angular/common";
26
+ import * as i25 from "@angular/material/menu";
27
+ import * as i26 from "../spinner/spinner.component";
28
+ import * as i27 from "../directives/icon.directive";
29
29
  import * as i28 from "../spinner-small/spinner-small.component";
30
- import * as i29 from "@angular/material/button";
31
- import * as i30 from "@angular/material/tooltip";
32
- import * as i31 from "@angular/material/core";
33
- import * as i32 from "@ngx-translate/core";
34
- import * as i33 from "@angular/router";
30
+ import * as i29 from "../info-message/info-message.component";
31
+ import * as i30 from "@angular/material/button";
32
+ import * as i31 from "@angular/material/tooltip";
33
+ import * as i32 from "@angular/material/core";
34
+ import * as i33 from "@ngx-translate/core";
35
+ import * as i34 from "@angular/router";
35
36
  export declare class EduSharingUiCommonModule {
36
37
  static ɵfac: i0.ɵɵFactoryDeclaration<EduSharingUiCommonModule, never>;
37
- static ɵmod: i0.ɵɵNgModuleDeclaration<EduSharingUiCommonModule, [typeof i1.MdsViewerComponent, typeof i2.MdsWidgetComponent, typeof i3.ActionbarComponent, typeof i4.BorderBoxObserverDirective, typeof i5.CheckTextOverflowDirective, typeof i6.DropdownComponent, typeof i7.FocusStateDirective, typeof i8.FormatDatePipe, typeof i9.FormatSizePipe, typeof i10.IconDirective, typeof i11.MdsDurationPipe, typeof i12.InfiniteScrollDirective, typeof i13.PropertySlugPipe, typeof i14.NodeIconPipe, typeof i15.NodeImagePipe, typeof i16.NodeImageSizePipe, typeof i17.NodeLicensePipe, typeof i18.NodePersonNamePipe, typeof i19.NodeTitlePipe, typeof i20.NodeUrlComponent, typeof i21.OptionTooltipPipe, typeof i22.ReplaceCharsPipe, typeof i23.SortDropdownComponent, typeof i24.VCardNamePipe], [typeof i25.CommonModule, typeof i26.MatMenuModule, typeof i27.SpinnerComponent, typeof i28.SpinnerSmallComponent, typeof i29.MatButtonModule, typeof i30.MatTooltipModule, typeof i31.MatRippleModule, typeof i32.TranslateModule, typeof i33.RouterModule], [typeof i1.MdsViewerComponent, typeof i2.MdsWidgetComponent, typeof i3.ActionbarComponent, typeof i4.BorderBoxObserverDirective, typeof i5.CheckTextOverflowDirective, typeof i6.DropdownComponent, typeof i7.FocusStateDirective, typeof i8.FormatDatePipe, typeof i9.FormatSizePipe, typeof i11.MdsDurationPipe, typeof i10.IconDirective, typeof i12.InfiniteScrollDirective, typeof i13.PropertySlugPipe, typeof i14.NodeIconPipe, typeof i15.NodeImagePipe, typeof i16.NodeImageSizePipe, typeof i18.NodePersonNamePipe, typeof i19.NodeTitlePipe, typeof i20.NodeUrlComponent, typeof i23.SortDropdownComponent, typeof i27.SpinnerComponent, typeof i28.SpinnerSmallComponent, typeof i24.VCardNamePipe]>;
38
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EduSharingUiCommonModule, [typeof i1.MdsViewerComponent, typeof i2.MdsWidgetComponent, typeof i3.ActionbarComponent, typeof i4.BorderBoxObserverDirective, typeof i5.CheckTextOverflowDirective, typeof i6.DropdownComponent, typeof i7.FocusStateDirective, typeof i8.FormatDatePipe, typeof i9.FormatSizePipe, typeof i10.MdsDurationPipe, typeof i11.InfiniteScrollDirective, typeof i12.PropertySlugPipe, typeof i13.NodeIconPipe, typeof i14.NodeImagePipe, typeof i15.NodeImageSizePipe, typeof i16.NodeLicensePipe, typeof i17.NodePersonNamePipe, typeof i18.NodeTitlePipe, typeof i19.NodeUrlComponent, typeof i20.OptionTooltipPipe, typeof i21.ReplaceCharsPipe, typeof i22.SortDropdownComponent, typeof i23.VCardNamePipe], [typeof i24.CommonModule, typeof i25.MatMenuModule, typeof i26.SpinnerComponent, typeof i27.IconDirective, typeof i28.SpinnerSmallComponent, typeof i29.InfoMessageComponent, typeof i30.MatButtonModule, typeof i31.MatTooltipModule, typeof i32.MatRippleModule, typeof i33.TranslateModule, typeof i34.RouterModule], [typeof i1.MdsViewerComponent, typeof i2.MdsWidgetComponent, typeof i3.ActionbarComponent, typeof i4.BorderBoxObserverDirective, typeof i5.CheckTextOverflowDirective, typeof i6.DropdownComponent, typeof i7.FocusStateDirective, typeof i8.FormatDatePipe, typeof i9.FormatSizePipe, typeof i10.MdsDurationPipe, typeof i27.IconDirective, typeof i11.InfiniteScrollDirective, typeof i29.InfoMessageComponent, typeof i12.PropertySlugPipe, typeof i13.NodeIconPipe, typeof i14.NodeImagePipe, typeof i15.NodeImageSizePipe, typeof i17.NodePersonNamePipe, typeof i18.NodeTitlePipe, typeof i19.NodeUrlComponent, typeof i22.SortDropdownComponent, typeof i26.SpinnerComponent, typeof i28.SpinnerSmallComponent, typeof i23.VCardNamePipe]>;
38
39
  static ɵinj: i0.ɵɵInjectorDeclaration<EduSharingUiCommonModule>;
39
40
  }
@@ -48,5 +48,5 @@ export declare class IconDirective implements OnInit, OnDestroy {
48
48
  private setAltText;
49
49
  private insertAltTextSpan;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<IconDirective, [null, null, null, null, { optional: true; }]>;
51
- static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "i[esIcon], i.material-icons", never, { "altText": { "alias": "altText"; "required": false; }; "aria": { "alias": "aria"; "required": false; }; "esIcon": { "alias": "esIcon"; "required": false; }; "esIconContext": { "alias": "esIconContext"; "required": false; }; }, {}, never, never, false, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "i[esIcon], i.material-icons", never, { "altText": { "alias": "altText"; "required": false; }; "aria": { "alias": "aria"; "required": false; }; "esIcon": { "alias": "esIcon"; "required": false; }; "esIconContext": { "alias": "esIconContext"; "required": false; }; }, {}, never, never, true, never>;
52
52
  }
package/lib/index.d.ts CHANGED
@@ -37,9 +37,11 @@ export * from './node-entries/node-data-source-remote';
37
37
  export * from './node-entries/node-entries-global.service';
38
38
  export * from './node-entries/node-entries-wrapper.component';
39
39
  export * from './node-entries/node-entries.module';
40
+ export * from './node-entries/option-button/option-button.component';
40
41
  export * from './mds-viewer/mds-viewer.component';
41
42
  export * from './mds-viewer/replace-element-with-div';
42
43
  export * from './node-url/node-url.component';
44
+ export * from './info-message/info-message.component';
43
45
  export * from './pipes/property-slug.pipe';
44
46
  export * from './pipes/file-size.pipe';
45
47
  export * from './pipes/format-date.pipe';
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class InfoMessageComponent {
3
+ /**
4
+ * the message to display
5
+ */
6
+ message: string;
7
+ mode: 'info' | 'warning' | 'error';
8
+ ICONS: any;
9
+ constructor();
10
+ getIcon(): any;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoMessageComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoMessageComponent, "es-info-message", never, { "message": { "alias": "message"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], true, never>;
13
+ }
@@ -38,6 +38,6 @@ import * as i36 from "@angular/material/tooltip";
38
38
  import * as i37 from "@ngx-translate/core";
39
39
  export declare class NodeEntriesModule {
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<NodeEntriesModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<NodeEntriesModule, [typeof i1.ColumnChooserComponent, typeof i2.DragPreviewComponent, typeof i3.ListItemLabelPipe, typeof i4.NodeEntriesCardComponent, typeof i5.NodeEntriesCardGridComponent, typeof i6.NodeEntriesCardSmallComponent, typeof i7.NodeEntriesTableComponent, typeof i8.NodeRatingComponent, typeof i9.PreviewImageComponent, typeof i10.NodeEntriesComponent, typeof i11.NodeEntriesWrapperComponent, typeof i8.NodeRatingComponent, typeof i12.NodeTypeBadgeComponent, typeof i13.OptionButtonComponent, typeof i9.PreviewImageComponent, typeof i14.SortSelectPanelComponent, typeof i15.NodesDragDirective, typeof i16.NodesDragSourceDirective, typeof i17.NodesDropTargetDirective, typeof i18.NodeEntriesGlobalOptionsComponent, typeof i19.NodeStatsBadgesComponent], [typeof i20.CommonModule, typeof i21.FormsModule, typeof i22.A11yModule, typeof i23.OverlayModule, typeof i24.DragDropModule, typeof i25.EduSharingUiCommonModule, typeof i26.ListItemsModule, typeof i27.MatCheckboxModule, typeof i28.MatButtonModule, typeof i29.MatBadgeModule, typeof i30.MatMenuModule, typeof i31.MatTableModule, typeof i27.MatCheckboxModule, typeof i32.MatPaginatorModule, typeof i33.MatRippleModule, typeof i34.MatSlideToggleModule, typeof i35.MatSortModule, typeof i36.MatTooltipModule, typeof i37.TranslateModule], [typeof i3.ListItemLabelPipe, typeof i11.NodeEntriesWrapperComponent, typeof i8.NodeRatingComponent, typeof i15.NodesDragDirective, typeof i16.NodesDragSourceDirective, typeof i17.NodesDropTargetDirective, typeof i19.NodeStatsBadgesComponent, typeof i12.NodeTypeBadgeComponent]>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NodeEntriesModule, [typeof i1.ColumnChooserComponent, typeof i2.DragPreviewComponent, typeof i3.ListItemLabelPipe, typeof i4.NodeEntriesCardComponent, typeof i5.NodeEntriesCardGridComponent, typeof i6.NodeEntriesCardSmallComponent, typeof i7.NodeEntriesTableComponent, typeof i8.NodeRatingComponent, typeof i9.PreviewImageComponent, typeof i10.NodeEntriesComponent, typeof i11.NodeEntriesWrapperComponent, typeof i8.NodeRatingComponent, typeof i12.NodeTypeBadgeComponent, typeof i13.OptionButtonComponent, typeof i9.PreviewImageComponent, typeof i14.SortSelectPanelComponent, typeof i15.NodesDragDirective, typeof i16.NodesDragSourceDirective, typeof i17.NodesDropTargetDirective, typeof i18.NodeEntriesGlobalOptionsComponent, typeof i19.NodeStatsBadgesComponent], [typeof i20.CommonModule, typeof i21.FormsModule, typeof i22.A11yModule, typeof i23.OverlayModule, typeof i24.DragDropModule, typeof i25.EduSharingUiCommonModule, typeof i26.ListItemsModule, typeof i27.MatCheckboxModule, typeof i28.MatButtonModule, typeof i29.MatBadgeModule, typeof i30.MatMenuModule, typeof i31.MatTableModule, typeof i27.MatCheckboxModule, typeof i32.MatPaginatorModule, typeof i33.MatRippleModule, typeof i34.MatSlideToggleModule, typeof i35.MatSortModule, typeof i36.MatTooltipModule, typeof i37.TranslateModule], [typeof i3.ListItemLabelPipe, typeof i11.NodeEntriesWrapperComponent, typeof i8.NodeRatingComponent, typeof i15.NodesDragDirective, typeof i16.NodesDragSourceDirective, typeof i17.NodesDropTargetDirective, typeof i19.NodeStatsBadgesComponent, typeof i12.NodeTypeBadgeComponent, typeof i13.OptionButtonComponent]>;
42
42
  static ɵinj: i0.ɵɵInjectorDeclaration<NodeEntriesModule>;
43
43
  }
@@ -20,6 +20,7 @@ export declare class RenderHelperService {
20
20
  getRenderData(nodeId: string, version?: string, repository?: string): Promise<CombinedRenderData>;
21
21
  getRenderDataForLms(encodedNode: string, signature: string, jwt: string, renderUrl: string, encodedUser: string): Promise<CombinedRenderData>;
22
22
  prepareRootUrl(): Promise<void>;
23
+ private base64ToUtf8;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<RenderHelperService, [null, null, null, null, null, { optional: true; }]>;
24
25
  static ɵprov: i0.ɵɵInjectableDeclaration<RenderHelperService>;
25
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-edu-sharing-ui",
3
- "version": "10.0.27",
3
+ "version": "10.0.28",
4
4
  "license": "GNU GPL v2",
5
5
  "description": "Angular components for Edu-Sharing UX parts",
6
6
  "peerDependencies": {