ngx-edu-sharing-ui 10.0.15 → 10.0.17
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/index.mjs +2 -1
- package/esm2022/lib/mds-viewer/mds-viewer.component.mjs +10 -9
- package/esm2022/lib/mds-viewer/widget/mds-widget.component.mjs +48 -28
- package/esm2022/lib/pipes/node-title.pipe.mjs +2 -2
- package/esm2022/lib/spinner-small/spinner-small.component.mjs +2 -4
- package/esm2022/lib/util/helper.mjs +2 -2
- package/fesm2022/ngx-edu-sharing-ui.mjs +2285 -2267
- package/fesm2022/ngx-edu-sharing-ui.mjs.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/mds-viewer/mds-viewer.component.d.ts +2 -2
- package/lib/mds-viewer/widget/mds-widget.component.d.ts +11 -5
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -19,10 +19,10 @@ export declare class MdsViewerComponent implements OnChanges {
|
|
|
19
19
|
setId: string;
|
|
20
20
|
data: Values;
|
|
21
21
|
mds: MdsDefinition;
|
|
22
|
-
templates: {
|
|
22
|
+
templates: import("@angular/core").WritableSignal<{
|
|
23
23
|
view: MdsView;
|
|
24
24
|
html: SafeHtml;
|
|
25
|
-
}[]
|
|
25
|
+
}[]>;
|
|
26
26
|
/**
|
|
27
27
|
* show group headings (+ icons) for the individual templates
|
|
28
28
|
*/
|
|
@@ -6,6 +6,7 @@ import { UIService } from '../../services/ui.service';
|
|
|
6
6
|
import { ViewInstanceService } from '../view-instance.service';
|
|
7
7
|
import { BehaviorSubject } from 'rxjs';
|
|
8
8
|
import { MdsViewerService } from '../mds-viewer.service';
|
|
9
|
+
import { NodeHelperService } from '../../services/node-helper.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare enum MdsType {
|
|
11
12
|
Io = "io",
|
|
@@ -75,6 +76,7 @@ export declare class MdsWidgetComponent implements OnInit, OnChanges {
|
|
|
75
76
|
private ui;
|
|
76
77
|
private viewInstance;
|
|
77
78
|
private mdsViewerService;
|
|
79
|
+
private nodeHelper;
|
|
78
80
|
readonly ROUTER_PREFIX: string;
|
|
79
81
|
private static readonly inlineEditing;
|
|
80
82
|
readonly valueType = ValueType.String;
|
|
@@ -88,26 +90,30 @@ export declare class MdsWidgetComponent implements OnInit, OnChanges {
|
|
|
88
90
|
view: any;
|
|
89
91
|
editWrapper: ElementRef;
|
|
90
92
|
matRipple: MatRipple;
|
|
91
|
-
basicType: string
|
|
93
|
+
basicType: import("@angular/core").WritableSignal<string>;
|
|
92
94
|
rawValue: {
|
|
93
95
|
path: MdsValue[];
|
|
94
96
|
id: string;
|
|
95
97
|
}[];
|
|
98
|
+
isEmpty: import("@angular/core").Signal<boolean>;
|
|
96
99
|
private mdsEditorInstance;
|
|
100
|
+
license$: BehaviorSubject<{
|
|
101
|
+
name: string;
|
|
102
|
+
icon: string;
|
|
103
|
+
}>;
|
|
97
104
|
get headingLevel(): number;
|
|
98
|
-
value: string[]
|
|
105
|
+
value: import("@angular/core").WritableSignal<string[]>;
|
|
99
106
|
private temporaryValue;
|
|
100
|
-
constructor(translate: TranslateService, ui: UIService, viewInstance: ViewInstanceService, mdsViewerService: MdsViewerService);
|
|
107
|
+
constructor(translate: TranslateService, ui: UIService, viewInstance: ViewInstanceService, mdsViewerService: MdsViewerService, nodeHelper: NodeHelperService);
|
|
101
108
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
102
109
|
ngOnInit(): Promise<void>;
|
|
103
110
|
getDefinition(): MdsWidget;
|
|
104
|
-
getBasicType(): "number" | "text" | "date" | "vcard" | "slider" | "range" | "duration" | "array" | "tree" | "unknown";
|
|
111
|
+
getBasicType(): "number" | "text" | "date" | "vcard" | "slider" | "range" | "duration" | "license" | "array" | "tree" | "unknown";
|
|
105
112
|
supportsInlineEditing(): boolean;
|
|
106
113
|
private getNodeValues;
|
|
107
114
|
private getNodeValue;
|
|
108
115
|
getValue(data: string[]): any[];
|
|
109
116
|
click(): void;
|
|
110
|
-
isEmpty(): boolean;
|
|
111
117
|
formatDate(): string[];
|
|
112
118
|
formatNumber(): string[];
|
|
113
119
|
formatText(): string[];
|