ngx-edu-sharing-ui 10.0.24 → 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.
- package/assets/scss/branding.scss +1 -0
- package/fesm2022/ngx-edu-sharing-ui.mjs +5 -3
- package/fesm2022/ngx-edu-sharing-ui.mjs.map +1 -1
- package/lib/mds-viewer/mds-viewer.component.d.ts +1 -1
- package/lib/mds-viewer/widget/mds-widget.component.d.ts +1 -1
- package/lib/services/options-helper-data.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2447,7 +2447,7 @@ class MdsViewerComponent {
|
|
|
2447
2447
|
}
|
|
2448
2448
|
}
|
|
2449
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 }); }
|
|
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", 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"] }] }); }
|
|
2451
2451
|
}
|
|
2452
2452
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: MdsViewerComponent, decorators: [{
|
|
2453
2453
|
type: Component,
|
|
@@ -2463,6 +2463,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
2463
2463
|
type: Input
|
|
2464
2464
|
}], data: [{
|
|
2465
2465
|
type: Input
|
|
2466
|
+
}], mds: [{
|
|
2467
|
+
type: Input
|
|
2466
2468
|
}], showGroupHeadings: [{
|
|
2467
2469
|
type: Input
|
|
2468
2470
|
}], headingLevel: [{
|
|
@@ -7177,7 +7179,7 @@ class OptionsHelperDataService {
|
|
|
7177
7179
|
return this.data;
|
|
7178
7180
|
}
|
|
7179
7181
|
setData(data) {
|
|
7180
|
-
this.data = this.optionsHelperService
|
|
7182
|
+
this.data = this.optionsHelperService?.wrapOptionCallbacks(data) || data;
|
|
7181
7183
|
}
|
|
7182
7184
|
async refreshComponents() {
|
|
7183
7185
|
if (this.data == null) {
|
|
@@ -7232,7 +7234,7 @@ class OptionsHelperDataService {
|
|
|
7232
7234
|
}
|
|
7233
7235
|
}
|
|
7234
7236
|
filterOptions(options, target, objects = null) {
|
|
7235
|
-
return this.optionsHelperService
|
|
7237
|
+
return this.optionsHelperService?.filterOptions(options, target, this.data, objects) || options;
|
|
7236
7238
|
}
|
|
7237
7239
|
/**
|
|
7238
7240
|
* shortcut to simply disable all options on the given compoennts
|