ngx-edu-sharing-ui 10.0.10 → 10.0.12
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/esm2022/lib/mds-viewer/mds-viewer.component.mjs +3 -3
- package/esm2022/lib/mds-viewer/widget/mds-widget.component.mjs +23 -13
- package/fesm2022/ngx-edu-sharing-ui.mjs +55 -46
- package/fesm2022/ngx-edu-sharing-ui.mjs.map +1 -1
- package/lib/mds-viewer/widget/mds-widget.component.d.ts +4 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { MatRipple } from '@angular/material/core';
|
|
|
4
4
|
import { MdsValue, MdsWidget, Suggestion } from 'ngx-edu-sharing-api';
|
|
5
5
|
import { UIService } from '../../services/ui.service';
|
|
6
6
|
import { ViewInstanceService } from '../view-instance.service';
|
|
7
|
+
import { MdsViewerService } from '../mds-viewer.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare enum MdsType {
|
|
9
10
|
Io = "io",
|
|
@@ -57,6 +58,7 @@ export declare class MdsWidgetComponent implements OnInit, OnChanges {
|
|
|
57
58
|
translate: TranslateService;
|
|
58
59
|
private ui;
|
|
59
60
|
private viewInstance;
|
|
61
|
+
private mdsViewerService;
|
|
60
62
|
readonly ROUTER_PREFIX: string;
|
|
61
63
|
private static readonly inlineEditing;
|
|
62
64
|
readonly valueType = ValueType.String;
|
|
@@ -79,12 +81,13 @@ export declare class MdsWidgetComponent implements OnInit, OnChanges {
|
|
|
79
81
|
get headingLevel(): number;
|
|
80
82
|
value: string[];
|
|
81
83
|
private temporaryValue;
|
|
82
|
-
constructor(translate: TranslateService, ui: UIService, viewInstance: ViewInstanceService);
|
|
84
|
+
constructor(translate: TranslateService, ui: UIService, viewInstance: ViewInstanceService, mdsViewerService: MdsViewerService);
|
|
83
85
|
ngOnChanges(changes: SimpleChanges): void;
|
|
84
86
|
ngOnInit(): Promise<void>;
|
|
85
87
|
getDefinition(): MdsWidget;
|
|
86
88
|
getBasicType(): "number" | "text" | "date" | "vcard" | "slider" | "range" | "duration" | "array" | "tree" | "unknown";
|
|
87
89
|
supportsInlineEditing(): boolean;
|
|
90
|
+
private getNodeValues;
|
|
88
91
|
private getNodeValue;
|
|
89
92
|
getValue(data: string[]): any;
|
|
90
93
|
click(): void;
|