ngx-edu-sharing-ui 10.0.23 → 10.0.25

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.
@@ -3,3 +3,4 @@
3
3
  */
4
4
  $workspaceTopBarBackground: #383838;
5
5
  $workspaceTopBarFontColor: #fff;
6
+ $customIcons: false;
@@ -69,6 +69,7 @@ mat-button-toggle-group {
69
69
  .mat-button-toggle-checked.mat-button-toggle-appearance-standard {
70
70
  color: var(--light-primary-text);
71
71
  background-color: var(--primary);
72
+ --mat-standard-button-toggle-selected-state-text-color: var(--light-primary-text);
72
73
  }
73
74
  .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay {
74
75
  background-color: var(--primary);
@@ -351,7 +351,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
351
351
  type: Pipe,
352
352
  args: [{
353
353
  name: 'formatSize',
354
- standalone: false
354
+ standalone: false,
355
355
  }]
356
356
  }], ctorParameters: () => [{ type: i1.TranslateService }] });
357
357
 
@@ -1557,7 +1557,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
1557
1557
  type: Directive,
1558
1558
  args: [{
1559
1559
  selector: 'i[esIcon], i.material-icons',
1560
- standalone: false
1560
+ standalone: false,
1561
1561
  }]
1562
1562
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1$1.HttpClient }, { type: i1.TranslateService }, { type: i0.Renderer2 }, { type: i2.ConfigService, decorators: [{
1563
1563
  type: Optional
@@ -1589,7 +1589,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
1589
1589
  type: Pipe,
1590
1590
  args: [{
1591
1591
  name: 'appMdsDuration',
1592
- standalone: false
1592
+ standalone: false,
1593
1593
  }]
1594
1594
  }] });
1595
1595
 
@@ -1891,7 +1891,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
1891
1891
  type: Pipe,
1892
1892
  args: [{
1893
1893
  name: 'vcardName',
1894
- standalone: false
1894
+ standalone: false,
1895
1895
  }]
1896
1896
  }], ctorParameters: () => [{ type: i1.TranslateService }] });
1897
1897
 
@@ -2044,7 +2044,6 @@ class MdsWidgetComponent {
2044
2044
  return MdsWidgetComponent.inlineEditing.includes(this.widget?.definition.type);
2045
2045
  }
2046
2046
  getNodeValues() {
2047
- console.log(this.mdsEditorInstance, 'editor present?');
2048
2047
  if (this.mdsEditorInstance) {
2049
2048
  return (this.mdsEditorInstance.values$.value ||
2050
2049
  this.mdsEditorInstance.nodes$.value.map((n) => n.properties)?.[0]);
@@ -2448,7 +2447,7 @@ class MdsViewerComponent {
2448
2447
  }
2449
2448
  }
2450
2449
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MdsViewerComponent, deps: [{ token: i2.MdsService }, { token: MdsViewerService }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i0.ViewContainerRef }, { token: i3$1.DomSanitizer }, { token: ViewInstanceService }], target: i0.ɵɵFactoryTarget.Component }); }
2451
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: MdsViewerComponent, isStandalone: false, selector: "es-mds-viewer", inputs: { mdsEditorInstanceService: "mdsEditorInstanceService", groupId: "groupId", setId: "setId", data: "data", showGroupHeadings: "showGroupHeadings", headingLevel: "headingLevel" }, providers: [MdsViewerService, ViewInstanceService], viewQueries: [{ propertyName: "container", predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<es-spinner-small *ngIf=\"!templates()\"></es-spinner-small>\n<div *ngFor=\"let t of templates()\" #container class=\"mds-viewer\">\n <div *ngIf=\"showGroupHeadings && t.view.caption\" class=\"card-title-element group-heading\">\n <i [esIcon]=\"t.view.icon\" *ngIf=\"t.view.icon\"></i><span>{{ t.view.caption }}</span>\n </div>\n <div class=\"template\" [innerHTML]=\"t.html\"></div>\n</div>\n", styles: [":host ::ng-deep es-mds-editor-widget-container{margin-bottom:0}:host ::ng-deep .mdsContributorGroup{padding:5px}:host ::ng-deep .mdsContributorGroup .mdsContributorTitle{font-weight:700;padding-bottom:3px}:host{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(450px,max(200px,100%)),1fr));grid-gap:10px}.mds-viewer{display:flex;flex-direction:column;gap:10px}es-spinner-small{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.card-title-element{font-size:140%;font-weight:700;border-bottom:1px solid #888;padding:10px;background-color:#f7f7f7}.card-title-element i{margin-left:10px;margin-right:10px;color:#666;position:relative;top:5px}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SpinnerSmallComponent, selector: "es-spinner-small", inputs: ["diameter"] }, { kind: "directive", type: IconDirective, selector: "i[esIcon], i.material-icons", inputs: ["altText", "aria", "esIcon"] }] }); }
2450
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: MdsViewerComponent, isStandalone: false, selector: "es-mds-viewer", inputs: { mdsEditorInstanceService: "mdsEditorInstanceService", groupId: "groupId", setId: "setId", data: "data", mds: "mds", showGroupHeadings: "showGroupHeadings", headingLevel: "headingLevel" }, providers: [MdsViewerService, ViewInstanceService], viewQueries: [{ propertyName: "container", predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<es-spinner-small *ngIf=\"!templates()\"></es-spinner-small>\n<div *ngFor=\"let t of templates()\" #container class=\"mds-viewer\">\n <div *ngIf=\"showGroupHeadings && t.view.caption\" class=\"card-title-element group-heading\">\n <i [esIcon]=\"t.view.icon\" *ngIf=\"t.view.icon\"></i><span>{{ t.view.caption }}</span>\n </div>\n <div class=\"template\" [innerHTML]=\"t.html\"></div>\n</div>\n", styles: [":host ::ng-deep es-mds-editor-widget-container{margin-bottom:0}:host ::ng-deep .mdsContributorGroup{padding:5px}:host ::ng-deep .mdsContributorGroup .mdsContributorTitle{font-weight:700;padding-bottom:3px}:host{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(450px,max(200px,100%)),1fr));grid-gap:10px}.mds-viewer{display:flex;flex-direction:column;gap:10px}es-spinner-small{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.card-title-element{font-size:140%;font-weight:700;border-bottom:1px solid #888;padding:10px;background-color:#f7f7f7}.card-title-element i{margin-left:10px;margin-right:10px;color:#666;position:relative;top:5px}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SpinnerSmallComponent, selector: "es-spinner-small", inputs: ["diameter"] }, { kind: "directive", type: IconDirective, selector: "i[esIcon], i.material-icons", inputs: ["altText", "aria", "esIcon"] }] }); }
2452
2451
  }
2453
2452
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MdsViewerComponent, decorators: [{
2454
2453
  type: Component,
@@ -2464,6 +2463,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
2464
2463
  type: Input
2465
2464
  }], data: [{
2466
2465
  type: Input
2466
+ }], mds: [{
2467
+ type: Input
2467
2468
  }], showGroupHeadings: [{
2468
2469
  type: Input
2469
2470
  }], headingLevel: [{
@@ -2706,7 +2707,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
2706
2707
  type: Pipe,
2707
2708
  args: [{
2708
2709
  name: 'optionTooltip',
2709
- standalone: false
2710
+ standalone: false,
2710
2711
  }]
2711
2712
  }], ctorParameters: () => [{ type: i1.TranslateService }] });
2712
2713
 
@@ -2735,7 +2736,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
2735
2736
  type: Pipe,
2736
2737
  args: [{
2737
2738
  name: 'replaceChars',
2738
- standalone: false
2739
+ standalone: false,
2739
2740
  }]
2740
2741
  }], ctorParameters: () => [{ type: i1.TranslateService }] });
2741
2742
 
@@ -3060,7 +3061,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3060
3061
  args: [{
3061
3062
  selector: '[esBorderBoxObserver]',
3062
3063
  exportAs: 'borderBoxObserver',
3063
- standalone: false
3064
+ standalone: false,
3064
3065
  }]
3065
3066
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { borderBoxEmitter: [{
3066
3067
  type: Output,
@@ -3112,7 +3113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3112
3113
  args: [{
3113
3114
  selector: '[esCheckTextOverflow]',
3114
3115
  exportAs: 'esCheckTextOverflow',
3115
- standalone: false
3116
+ standalone: false,
3116
3117
  }]
3117
3118
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { selector: [{
3118
3119
  type: Input,
@@ -3164,7 +3165,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3164
3165
  args: [{
3165
3166
  selector: '[esFocusState]',
3166
3167
  exportAs: 'esFocusState',
3167
- standalone: false
3168
+ standalone: false,
3168
3169
  }]
3169
3170
  }], ctorParameters: () => [], propDecorators: { onFocusIn: [{
3170
3171
  type: HostListener,
@@ -3315,7 +3316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3315
3316
  type: Directive,
3316
3317
  args: [{
3317
3318
  selector: '[esInfiniteScroll], [infinite-scroll], [data-infinite-scroll]',
3318
- standalone: false
3319
+ standalone: false,
3319
3320
  }]
3320
3321
  }], ctorParameters: () => [{ type: AppContainerService }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { scrolled: [{
3321
3322
  type: Output
@@ -3484,7 +3485,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3484
3485
  type: Pipe,
3485
3486
  args: [{
3486
3487
  name: 'formatDate',
3487
- standalone: false
3488
+ standalone: false,
3488
3489
  }]
3489
3490
  }], ctorParameters: () => [{ type: i1.TranslateService }] });
3490
3491
 
@@ -3502,7 +3503,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3502
3503
  type: Pipe,
3503
3504
  args: [{
3504
3505
  name: 'esNodeIcon',
3505
- standalone: false
3506
+ standalone: false,
3506
3507
  }]
3507
3508
  }], ctorParameters: () => [{ type: RepoUrlService }] });
3508
3509
 
@@ -3526,7 +3527,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3526
3527
  type: Pipe,
3527
3528
  args: [{
3528
3529
  name: 'NodeImageSize',
3529
- standalone: false
3530
+ standalone: false,
3530
3531
  }]
3531
3532
  }] });
3532
3533
 
@@ -3575,7 +3576,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3575
3576
  type: Pipe,
3576
3577
  args: [{
3577
3578
  name: 'esNodeImage',
3578
- standalone: false
3579
+ standalone: false,
3579
3580
  }]
3580
3581
  }], ctorParameters: () => [{ type: NodeHelperService }, { type: i3$1.DomSanitizer }, { type: RepoUrlService }, { type: i2.NetworkService }] });
3581
3582
 
@@ -3625,7 +3626,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3625
3626
  type: Pipe,
3626
3627
  args: [{
3627
3628
  name: 'nodePersonName',
3628
- standalone: false
3629
+ standalone: false,
3629
3630
  }]
3630
3631
  }], ctorParameters: () => [{ type: i2.ConfigService }] });
3631
3632
 
@@ -3657,7 +3658,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3657
3658
  type: Pipe,
3658
3659
  args: [{
3659
3660
  name: 'nodeTitle',
3660
- standalone: false
3661
+ standalone: false,
3661
3662
  }]
3662
3663
  }], ctorParameters: () => [{ type: i1.TranslateService }] });
3663
3664
 
@@ -3729,7 +3730,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3729
3730
  type: Pipe,
3730
3731
  args: [{
3731
3732
  name: 'propertySlug',
3732
- standalone: false
3733
+ standalone: false,
3733
3734
  }]
3734
3735
  }] });
3735
3736
 
@@ -3752,7 +3753,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
3752
3753
  type: Pipe,
3753
3754
  args: [{
3754
3755
  name: 'esNodeLicense',
3755
- standalone: false
3756
+ standalone: false,
3756
3757
  }]
3757
3758
  }], ctorParameters: () => [{ type: i1.TranslateService }] });
3758
3759
 
@@ -4181,7 +4182,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
4181
4182
  type: Directive,
4182
4183
  args: [{
4183
4184
  selector: '[esNodesDragSource]',
4184
- standalone: false
4185
+ standalone: false,
4185
4186
  }]
4186
4187
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { nodes: [{
4187
4188
  type: Input,
@@ -4391,7 +4392,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
4391
4392
  type: Directive,
4392
4393
  args: [{
4393
4394
  selector: '[esNodesDrag]',
4394
- standalone: false
4395
+ standalone: false,
4395
4396
  }]
4396
4397
  }], ctorParameters: () => [{ type: i8$1.CdkDrag }, { type: NodesDragDropService }] });
4397
4398
 
@@ -4454,7 +4455,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
4454
4455
  args: [{
4455
4456
  selector: '[esNodesDropTarget]',
4456
4457
  exportAs: 'esNodesDropTarget',
4457
- standalone: false
4458
+ standalone: false,
4458
4459
  }]
4459
4460
  }], ctorParameters: () => [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: NodesDragDropService }], propDecorators: { target: [{
4460
4461
  type: Input,
@@ -4611,7 +4612,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
4611
4612
  type: Pipe,
4612
4613
  args: [{
4613
4614
  name: 'formatDuration',
4614
- standalone: false
4615
+ standalone: false,
4615
4616
  }]
4616
4617
  }] });
4617
4618
 
@@ -4891,7 +4892,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
4891
4892
  type: Pipe,
4892
4893
  args: [{
4893
4894
  name: 'appNodeSource',
4894
- standalone: false
4895
+ standalone: false,
4895
4896
  }]
4896
4897
  }], ctorParameters: () => [{ type: NodeHelperService }, { type: i2.NetworkService }] });
4897
4898
 
@@ -5476,7 +5477,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
5476
5477
  type: Pipe,
5477
5478
  args: [{
5478
5479
  name: 'esListItemLabel',
5479
- standalone: false
5480
+ standalone: false,
5480
5481
  }]
5481
5482
  }], ctorParameters: () => [{ type: i1.TranslateService }, { type: TranslationsService }] });
5482
5483
 
@@ -6310,7 +6311,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
6310
6311
  <i esIcon="{{ option.icon }}" [aria]="false"></i>
6311
6312
  </button>
6312
6313
  `,
6313
- standalone: false
6314
+ standalone: false,
6314
6315
  }]
6315
6316
  }], propDecorators: { option: [{
6316
6317
  type: Input
@@ -7178,7 +7179,7 @@ class OptionsHelperDataService {
7178
7179
  return this.data;
7179
7180
  }
7180
7181
  setData(data) {
7181
- this.data = this.optionsHelperService.wrapOptionCallbacks(data);
7182
+ this.data = this.optionsHelperService?.wrapOptionCallbacks(data) || data;
7182
7183
  }
7183
7184
  async refreshComponents() {
7184
7185
  if (this.data == null) {
@@ -7233,7 +7234,7 @@ class OptionsHelperDataService {
7233
7234
  }
7234
7235
  }
7235
7236
  filterOptions(options, target, objects = null) {
7236
- return this.optionsHelperService.filterOptions(options, target, this.data, objects);
7237
+ return this.optionsHelperService?.filterOptions(options, target, this.data, objects) || options;
7237
7238
  }
7238
7239
  /**
7239
7240
  * shortcut to simply disable all options on the given compoennts
@@ -7659,7 +7660,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
7659
7660
  *ngIf="!customNodeListComponent"
7660
7661
  ></es-node-entries>`,
7661
7662
  providers: [NodeEntriesService, OptionsHelperDataService, NodeEntriesTemplatesService],
7662
- standalone: false
7663
+ standalone: false,
7663
7664
  }]
7664
7665
  }], ctorParameters: () => [{ type: i0.ViewContainerRef }, { type: TemporaryStorageService }, { type: i0.NgZone }, { type: NodeEntriesService }, { type: i2.NodeService }, { type: OptionsHelperDataService }, { type: NodeHelperService }, { type: UIService }, { type: NodeEntriesTemplatesService }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { titleRef: [{
7665
7666
  type: ContentChild,