@vgip/meta-ui 2.1.3 → 2.1.5
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/fesm2022/vgip-meta-ui.mjs +6092 -0
- package/fesm2022/vgip-meta-ui.mjs.map +1 -0
- package/index.d.ts +709 -0
- package/package.json +15 -3
- package/.eslintrc.json +0 -57
- package/karma.conf.js +0 -35
- package/ng-package.json +0 -10
- package/src/lib/common/fieldNormalizer/boolean.ts +0 -11
- package/src/lib/common/fieldNormalizer/datetime.ts +0 -8
- package/src/lib/common/fieldNormalizer/index.ts +0 -171
- package/src/lib/common/fieldNormalizer/number.ts +0 -13
- package/src/lib/common/fieldNormalizer/options.ts +0 -48
- package/src/lib/common/fieldNormalizer/radio.ts +0 -29
- package/src/lib/common/fieldNormalizer/reference.ts +0 -32
- package/src/lib/common/fieldNormalizer/richtext.ts +0 -15
- package/src/lib/common/fieldNormalizer/string.ts +0 -23
- package/src/lib/common/fieldNormalizer/text.ts +0 -17
- package/src/lib/common/fieldNormalizer/uniqueNameFilter.ts +0 -21
- package/src/lib/common/metaAutofocus.directive.ts +0 -31
- package/src/lib/common/metaContext.resolver.ts +0 -25
- package/src/lib/common/metaIcons.pipe.spec.ts +0 -15
- package/src/lib/common/metaIcons.pipe.ts +0 -29
- package/src/lib/common/metaModel.pipe.ts +0 -19
- package/src/lib/common/metaNormalizer.ts +0 -366
- package/src/lib/common/metaStripHtml.pipe.ts +0 -18
- package/src/lib/common/utils/colorThemes.ts +0 -86
- package/src/lib/common/utils/indexedDbStore/index.ts +0 -244
- package/src/lib/common/utils/indexedDbStore/indexedDbStore.spec.ts +0 -149
- package/src/lib/common/utils/relativeTimeBuilder.ts +0 -49
- package/src/lib/common/utils/resourceCardLabel.ts +0 -25
- package/src/lib/common/utils/smartProp.spec.ts +0 -24
- package/src/lib/common/utils/smartProp.ts +0 -28
- package/src/lib/common/utils/templateBuilder.ts +0 -99
- package/src/lib/field.scss +0 -207
- package/src/lib/fieldAbstract.ts +0 -327
- package/src/lib/fieldBoolean/index.ts +0 -55
- package/src/lib/fieldBoolean/style.scss +0 -22
- package/src/lib/fieldBoolean/test.spec.ts +0 -43
- package/src/lib/fieldBoolean/view.html +0 -30
- package/src/lib/fieldComposite/index.ts +0 -86
- package/src/lib/fieldComposite/style.scss +0 -6
- package/src/lib/fieldComposite/test.spec.ts +0 -43
- package/src/lib/fieldComposite/view.html +0 -9
- package/src/lib/fieldDatetime/index.ts +0 -359
- package/src/lib/fieldDatetime/style.scss +0 -81
- package/src/lib/fieldDatetime/test.spec.ts +0 -43
- package/src/lib/fieldDatetime/view.html +0 -26
- package/src/lib/fieldHidden/index.ts +0 -15
- package/src/lib/fieldHidden/view.html +0 -0
- package/src/lib/fieldInput/index.ts +0 -477
- package/src/lib/fieldInput/style.scss +0 -128
- package/src/lib/fieldInput/test.spec.ts +0 -43
- package/src/lib/fieldInput/view.html +0 -81
- package/src/lib/fieldList/index.ts +0 -73
- package/src/lib/fieldList/style.scss +0 -26
- package/src/lib/fieldList/test.spec.ts +0 -43
- package/src/lib/fieldList/view.html +0 -25
- package/src/lib/fieldRadio/index.ts +0 -93
- package/src/lib/fieldRadio/style.scss +0 -32
- package/src/lib/fieldRadio/test.spec.ts +0 -43
- package/src/lib/fieldRadio/view.html +0 -24
- package/src/lib/fieldReference/index.ts +0 -871
- package/src/lib/fieldReference/style.scss +0 -273
- package/src/lib/fieldReference/test.spec.ts +0 -44
- package/src/lib/fieldReference/view.html +0 -163
- package/src/lib/fieldRichtext/index.ts +0 -98
- package/src/lib/fieldRichtext/quill.scss +0 -6
- package/src/lib/fieldRichtext/style.scss +0 -87
- package/src/lib/fieldRichtext/test.spec.ts +0 -43
- package/src/lib/fieldRichtext/view.html +0 -17
- package/src/lib/fieldSelect/index.ts +0 -597
- package/src/lib/fieldSelect/style.scss +0 -165
- package/src/lib/fieldSelect/test.spec.ts +0 -44
- package/src/lib/fieldSelect/view.html +0 -128
- package/src/lib/fieldText/index.ts +0 -86
- package/src/lib/fieldText/style.scss +0 -24
- package/src/lib/fieldText/test.spec.ts +0 -43
- package/src/lib/fieldText/view.html +0 -23
- package/src/lib/fieldUnknown/index.ts +0 -15
- package/src/lib/fieldUnknown/test.spec.ts +0 -34
- package/src/lib/fieldUnknown/view.html +0 -9
- package/src/lib/index.ts +0 -127
- package/src/lib/layout/index.ts +0 -255
- package/src/lib/layout/style.scss +0 -67
- package/src/lib/layout/view.html +0 -45
- package/src/lib/metaField/index.ts +0 -133
- package/src/lib/metaField/test.spec.ts +0 -32
- package/src/lib/refDialog/index.ts +0 -157
- package/src/lib/refDialog/style.scss +0 -154
- package/src/lib/refDialog/view.html +0 -24
- package/src/lib/resource/index.ts +0 -559
- package/src/lib/resource/style.scss +0 -132
- package/src/lib/resource/view.html +0 -70
- package/src/lib/resourceCard/index.ts +0 -44
- package/src/lib/resourceCard/style.scss +0 -7
- package/src/lib/resourceCard/view.html +0 -14
- package/src/lib/services/metaContext/index.ts +0 -61
- package/src/lib/services/metaMsg/index.ts +0 -84
- package/src/lib/services/metaReference/index.ts +0 -98
- package/src/lib/services/metaResource/index.ts +0 -163
- package/src/lib/services/metaResource/metaHttpClient.ts +0 -76
- package/src/lib/services/metaResource/metaResource.spec.ts +0 -24
- package/src/lib/services/metaTracker/index.ts +0 -38
- package/src/lib/services/resourceDrafts/index.ts +0 -81
- package/src/lib/services/resourceDrafts/resourceDrafts.spec.ts +0 -24
- package/src/lib/styles.scss +0 -13
- package/src/public-api.ts +0 -5
- package/src/test.ts +0 -17
- package/tsconfig.lib.json +0 -25
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -17
package/index.d.ts
ADDED
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, ElementRef, AfterContentChecked, OnChanges, DoCheck, ViewContainerRef, ChangeDetectorRef, EventEmitter, AfterViewInit, PipeTransform, AfterContentInit, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
4
|
+
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
5
|
+
import { HttpClient } from '@angular/common/http';
|
|
6
|
+
import { Router } from '@angular/router';
|
|
7
|
+
import * as i23 from '@angular/forms';
|
|
8
|
+
import { NgForm } from '@angular/forms';
|
|
9
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
10
|
+
import * as i22 from '@angular/common';
|
|
11
|
+
import * as i24 from 'ngx-quill';
|
|
12
|
+
|
|
13
|
+
declare class MetaHttpClient {
|
|
14
|
+
private httpClient;
|
|
15
|
+
constructor(httpClient: HttpClient);
|
|
16
|
+
delete(url: string, queryParams?: {}): rxjs.Observable<Object>;
|
|
17
|
+
get<T>(url: string, queryParams?: {}): rxjs.Observable<T>;
|
|
18
|
+
post<T>(url: string, body: any, queryParams?: {}): rxjs.Observable<T>;
|
|
19
|
+
put<T>(url: string, body: any, queryParams?: {}): rxjs.Observable<T>;
|
|
20
|
+
patch<T>(url: string, body: any, queryParams?: {}): rxjs.Observable<T>;
|
|
21
|
+
private constructUrl;
|
|
22
|
+
private prepareOptions;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaHttpClient, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MetaHttpClient>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class IMetaParentConfig {
|
|
28
|
+
resourceType: string;
|
|
29
|
+
externalId: string;
|
|
30
|
+
parent?: IMetaParentConfig;
|
|
31
|
+
}
|
|
32
|
+
declare class IMetaResourceConfig {
|
|
33
|
+
integrationCode: string;
|
|
34
|
+
resourceType: string;
|
|
35
|
+
externalId?: string;
|
|
36
|
+
parent?: IMetaParentConfig;
|
|
37
|
+
delegate?: any;
|
|
38
|
+
}
|
|
39
|
+
declare class MetaResourceService {
|
|
40
|
+
private httpClient;
|
|
41
|
+
baseIntegrationUrl: string;
|
|
42
|
+
baseResourceUrl: string;
|
|
43
|
+
newResourceUrl: string;
|
|
44
|
+
id: string;
|
|
45
|
+
constructor(httpClient: MetaHttpClient);
|
|
46
|
+
setConfig(config: IMetaResourceConfig): void;
|
|
47
|
+
new(config: IMetaResourceConfig): MetaResourceService;
|
|
48
|
+
searchIntegration(query: any, scope?: string): rxjs.Observable<unknown>;
|
|
49
|
+
getMetadata(layoutId?: any, refresh?: any): rxjs.Observable<unknown>;
|
|
50
|
+
getDetails(externalId: any, extraParams?: any): rxjs.Observable<unknown>;
|
|
51
|
+
getByPath(path: any): rxjs.Observable<unknown>;
|
|
52
|
+
save(payload: any): rxjs.Observable<unknown>;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaResourceService, never>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MetaResourceService>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class MetaRefDialog implements OnInit {
|
|
58
|
+
private el;
|
|
59
|
+
modal: HTMLElement;
|
|
60
|
+
onComplete: (result?: any) => undefined;
|
|
61
|
+
fullResource: any;
|
|
62
|
+
resources: any;
|
|
63
|
+
models: any;
|
|
64
|
+
reference: any;
|
|
65
|
+
currentResource: string;
|
|
66
|
+
services: any;
|
|
67
|
+
integrationCode: string;
|
|
68
|
+
resource: any;
|
|
69
|
+
metaResource: MetaResourceService;
|
|
70
|
+
integrationIcon: string;
|
|
71
|
+
preferResourceType: string;
|
|
72
|
+
theme: string;
|
|
73
|
+
constructor(el: ElementRef);
|
|
74
|
+
get isEditable(): boolean;
|
|
75
|
+
get isPersistent(): any;
|
|
76
|
+
ngOnInit(): void;
|
|
77
|
+
close(): void;
|
|
78
|
+
dismiss(ev?: any): boolean;
|
|
79
|
+
onResourceDone(result: any): void;
|
|
80
|
+
selectResource(ev: any, resource: any): boolean;
|
|
81
|
+
keepOrder: (a: any) => any;
|
|
82
|
+
private keyEventListener;
|
|
83
|
+
private applyTheme;
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaRefDialog, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaRefDialog, "ng-component", never, {}, {}, never, never, false, never>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
declare class MetaReferenceService {
|
|
89
|
+
private router;
|
|
90
|
+
dialogs: Array<any>;
|
|
91
|
+
constructor(router: Router);
|
|
92
|
+
openDialog(componentRef: any, metaResource: any, integrationCode: any, reference: any, resource: any, preview?: boolean, preferResourceType?: any, theme?: string, overlayContainer?: HTMLElement): Observable<unknown>;
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaReferenceService, never>;
|
|
94
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MetaReferenceService>;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
declare class MetaContextService {
|
|
98
|
+
phoneNumber: string;
|
|
99
|
+
displayName: string;
|
|
100
|
+
defaultContactables: {
|
|
101
|
+
[integrationCode: string]: any;
|
|
102
|
+
};
|
|
103
|
+
workers: {
|
|
104
|
+
[integrationCode: string]: any;
|
|
105
|
+
};
|
|
106
|
+
contactables: {
|
|
107
|
+
[integrationCode: string]: any;
|
|
108
|
+
};
|
|
109
|
+
profiles: {
|
|
110
|
+
[integrationCode: string]: any;
|
|
111
|
+
};
|
|
112
|
+
vgipEventId: string;
|
|
113
|
+
vgipUserId: string;
|
|
114
|
+
_context: any;
|
|
115
|
+
uid: string;
|
|
116
|
+
subject: string;
|
|
117
|
+
onClick2Dial: (phoneNumber: any, vrn?: string) => void;
|
|
118
|
+
onContextChange: BehaviorSubject<any>;
|
|
119
|
+
constructor();
|
|
120
|
+
get context(): any;
|
|
121
|
+
set context(value: any);
|
|
122
|
+
set(context?: any): void;
|
|
123
|
+
setOnClick2Dial(callback: (phoneNumber: any, vrn?: string) => void): void;
|
|
124
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaContextService, never>;
|
|
125
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MetaContextService>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
declare class MetaMsgService {
|
|
129
|
+
private metaContext;
|
|
130
|
+
private msgCallbacks;
|
|
131
|
+
private msgListeneres;
|
|
132
|
+
constructor(metaContext: MetaContextService);
|
|
133
|
+
sendMessage(provider: string, msg: any, callback: (response: any) => void, isLong?: boolean): void;
|
|
134
|
+
private cancelMsgListener;
|
|
135
|
+
private workerMsgListener;
|
|
136
|
+
private removeExpiredListeners;
|
|
137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaMsgService, never>;
|
|
138
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MetaMsgService>;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
declare class MetaLayout implements OnInit, AfterContentChecked, OnChanges, DoCheck {
|
|
142
|
+
private viewContainerRef;
|
|
143
|
+
private ref;
|
|
144
|
+
private el;
|
|
145
|
+
private metaResource;
|
|
146
|
+
private referenceService;
|
|
147
|
+
private metaMsgService;
|
|
148
|
+
private metaContext;
|
|
149
|
+
meta: any;
|
|
150
|
+
resource: any;
|
|
151
|
+
integration: any;
|
|
152
|
+
type: any;
|
|
153
|
+
preview: boolean;
|
|
154
|
+
theme: string;
|
|
155
|
+
delegate: any;
|
|
156
|
+
optionalFields: any;
|
|
157
|
+
optionalFieldsCount: number;
|
|
158
|
+
showAll: boolean;
|
|
159
|
+
fieldsVisibilityChanged: Subject<string>;
|
|
160
|
+
parentForm: HTMLFormElement;
|
|
161
|
+
integrationCode: string;
|
|
162
|
+
resourceType: string;
|
|
163
|
+
childResourceCardLabel: (r: any) => any;
|
|
164
|
+
overlayContainer: HTMLElement;
|
|
165
|
+
constructor(viewContainerRef: ViewContainerRef, ref: ChangeDetectorRef, el: ElementRef, metaResource: MetaResourceService, referenceService: MetaReferenceService, metaMsgService: MetaMsgService, metaContext: MetaContextService);
|
|
166
|
+
get isPersistedResource(): any;
|
|
167
|
+
ngOnInit(): void;
|
|
168
|
+
ngDoCheck(): void;
|
|
169
|
+
ngOnChanges(changes: any): void;
|
|
170
|
+
countOptionalFields(): void;
|
|
171
|
+
configureOptionalSections(): void;
|
|
172
|
+
ngAfterContentChecked(): void;
|
|
173
|
+
toggleOptionalFields(): void;
|
|
174
|
+
private buildExternalLinkForChild;
|
|
175
|
+
private procChildrenExternalLinks;
|
|
176
|
+
openChild(childResource: any, childModel?: any): Promise<void>;
|
|
177
|
+
private applyTheme;
|
|
178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaLayout, never>;
|
|
179
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaLayout, "vgip-meta-layout", never, { "meta": { "alias": "meta"; "required": false; }; "resource": { "alias": "resource"; "required": false; }; "integration": { "alias": "integration"; "required": false; }; "type": { "alias": "type"; "required": false; }; "preview": { "alias": "preview"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "delegate": { "alias": "delegate"; "required": false; }; }, {}, never, never, false, never>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare class MetaResource implements OnInit, OnChanges {
|
|
183
|
+
private ref;
|
|
184
|
+
private el;
|
|
185
|
+
private metaResourceService;
|
|
186
|
+
private metaContext;
|
|
187
|
+
private metaMsgService;
|
|
188
|
+
resource: any;
|
|
189
|
+
model: any;
|
|
190
|
+
metaResourceServiceDelegated: MetaResourceService;
|
|
191
|
+
theme: string;
|
|
192
|
+
editMode: boolean;
|
|
193
|
+
done: EventEmitter<any>;
|
|
194
|
+
resourceChange: EventEmitter<any>;
|
|
195
|
+
resourceForm: NgForm;
|
|
196
|
+
integrationCode: string;
|
|
197
|
+
resourceType: string;
|
|
198
|
+
meta: any;
|
|
199
|
+
service: MetaResourceService;
|
|
200
|
+
currentLayoutId: any;
|
|
201
|
+
formErrors: any;
|
|
202
|
+
fieldsMap: any;
|
|
203
|
+
edit: boolean;
|
|
204
|
+
busy: boolean;
|
|
205
|
+
metaLoading: boolean;
|
|
206
|
+
generalError: string;
|
|
207
|
+
resourceMenuVisible: boolean;
|
|
208
|
+
contactsSuggestionsDone: boolean;
|
|
209
|
+
isEditable: boolean;
|
|
210
|
+
isPersistent: boolean;
|
|
211
|
+
lockedLayoutId: string;
|
|
212
|
+
resourceChanged: Subject<string>;
|
|
213
|
+
resourceVrn: string;
|
|
214
|
+
skipLayoutMatchCheck: boolean;
|
|
215
|
+
constructor(ref: ChangeDetectorRef, el: ElementRef, metaResourceService: MetaResourceService, metaContext: MetaContextService, metaMsgService: MetaMsgService);
|
|
216
|
+
get niceFields(): any;
|
|
217
|
+
get fieldNames(): string[];
|
|
218
|
+
ngOnInit(): void;
|
|
219
|
+
ngOnChanges(changes: any): void;
|
|
220
|
+
setEditMode(): void;
|
|
221
|
+
loadMetadata(layoutId?: any, refresh?: boolean, ev?: any): boolean;
|
|
222
|
+
changeLayout(): void;
|
|
223
|
+
getDetails(): void;
|
|
224
|
+
performAutoFill(): void;
|
|
225
|
+
getFieldsMap(): void;
|
|
226
|
+
openResourceMenu(): void;
|
|
227
|
+
close(result?: any): void;
|
|
228
|
+
showParsedError(resourceForm: any, parsedError: any): void;
|
|
229
|
+
submit(resourceForm: any): void;
|
|
230
|
+
clearFormErrors(): void;
|
|
231
|
+
onFormChange(): void;
|
|
232
|
+
private onMenuClickout;
|
|
233
|
+
private suggestFieldProperty;
|
|
234
|
+
private execTransformer;
|
|
235
|
+
private markContactables;
|
|
236
|
+
private buildSubjectTemplate;
|
|
237
|
+
private buildContactsSuggestions;
|
|
238
|
+
private applyTheme;
|
|
239
|
+
private forceUiUpdate;
|
|
240
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaResource, never>;
|
|
241
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaResource, "vgip-meta-resource", never, { "resource": { "alias": "resource"; "required": false; }; "model": { "alias": "model"; "required": false; }; "metaResourceServiceDelegated": { "alias": "metaResourceServiceDelegated"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; }, { "done": "done"; "resourceChange": "resourceChange"; }, never, never, false, never>;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
declare class MetaResourceCard implements OnInit {
|
|
245
|
+
private metaResource;
|
|
246
|
+
private referenceService;
|
|
247
|
+
private viewContainerRef;
|
|
248
|
+
resource: any;
|
|
249
|
+
model: any;
|
|
250
|
+
integrationCode: string;
|
|
251
|
+
constructor(metaResource: MetaResourceService, referenceService: MetaReferenceService, viewContainerRef: ViewContainerRef);
|
|
252
|
+
ngOnInit(): void;
|
|
253
|
+
open(reference: any, model?: any): void;
|
|
254
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaResourceCard, never>;
|
|
255
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaResourceCard, "vgip-meta-resource-card", never, { "resource": { "alias": "resource"; "required": false; }; "model": { "alias": "model"; "required": false; }; }, {}, never, never, false, never>;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
declare abstract class FieldAbstract implements AfterViewInit {
|
|
259
|
+
model: any;
|
|
260
|
+
meta: any;
|
|
261
|
+
index: number;
|
|
262
|
+
scope: string;
|
|
263
|
+
parent: any;
|
|
264
|
+
integrationCode: string;
|
|
265
|
+
integrationIcon: string;
|
|
266
|
+
resourceType: string;
|
|
267
|
+
elementRef: ElementRef;
|
|
268
|
+
modelInput: HTMLInputElement;
|
|
269
|
+
modelControl: HTMLInputElement;
|
|
270
|
+
mainInput: HTMLInputElement;
|
|
271
|
+
keyListenerActive: boolean;
|
|
272
|
+
onChange: EventEmitter<any>;
|
|
273
|
+
onLeave: EventEmitter<any>;
|
|
274
|
+
validationAttributes: any[];
|
|
275
|
+
preview: boolean;
|
|
276
|
+
prevModel: any;
|
|
277
|
+
changeEvent: MouseEvent;
|
|
278
|
+
metaResourceService: any;
|
|
279
|
+
logicalDisabled: boolean;
|
|
280
|
+
theme: string;
|
|
281
|
+
flags: any;
|
|
282
|
+
overlayContainer: HTMLElement;
|
|
283
|
+
lastAutoValue: any;
|
|
284
|
+
delegate: any;
|
|
285
|
+
get parentChangeSubject(): any;
|
|
286
|
+
get isPersistedParent(): any;
|
|
287
|
+
get validations(): any;
|
|
288
|
+
get name(): string;
|
|
289
|
+
get default(): any;
|
|
290
|
+
get disabled(): any;
|
|
291
|
+
get readonly(): boolean;
|
|
292
|
+
get sendToServer(): boolean;
|
|
293
|
+
get uiInput(): HTMLInputElement;
|
|
294
|
+
get isOptional(): boolean;
|
|
295
|
+
static setup(instance: any, parent: any, meta: any): void;
|
|
296
|
+
ngAfterViewInit(): void;
|
|
297
|
+
focus(): void;
|
|
298
|
+
modelToValue(m: any, valueType: any): any;
|
|
299
|
+
onSubjectChange(model: any): void;
|
|
300
|
+
onModelChange(model: any): void;
|
|
301
|
+
clear(): void;
|
|
302
|
+
private applyValidations;
|
|
303
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldAbstract, never>;
|
|
304
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FieldAbstract, never, never, {}, {}, never, never, true, never>;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
declare class FieldUnknown extends FieldAbstract {
|
|
308
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldUnknown, never>;
|
|
309
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldUnknown, "ng-component", never, {}, {}, never, never, false, never>;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
declare class FieldInput extends FieldAbstract implements OnInit {
|
|
313
|
+
private metaContext;
|
|
314
|
+
input: any;
|
|
315
|
+
dropdown: any;
|
|
316
|
+
activeSuggestionIndex: number;
|
|
317
|
+
value: any;
|
|
318
|
+
multiple: boolean;
|
|
319
|
+
addText: any;
|
|
320
|
+
showClear: boolean;
|
|
321
|
+
asyncSuggestions: Array<any>;
|
|
322
|
+
isPhoneNumber: boolean;
|
|
323
|
+
logicalSubtype: string;
|
|
324
|
+
constructor(metaContext: MetaContextService);
|
|
325
|
+
get suggestions(): any;
|
|
326
|
+
ngOnInit(): void;
|
|
327
|
+
onActivated(ev: any): void;
|
|
328
|
+
clear(ev?: any): boolean;
|
|
329
|
+
onBlur(ev: any): void;
|
|
330
|
+
onAdd(ev: any): void;
|
|
331
|
+
remove(ev: any, item: any): void;
|
|
332
|
+
onSuggestionSelect(ev: any, suggestion: any): void;
|
|
333
|
+
textToSpeech(): void;
|
|
334
|
+
dismissDropdown(event?: any): void;
|
|
335
|
+
click2dial(ev: any): boolean;
|
|
336
|
+
private ensureDropdownIsVisible;
|
|
337
|
+
private showDropdown;
|
|
338
|
+
private clickout;
|
|
339
|
+
private keydown;
|
|
340
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldInput, never>;
|
|
341
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldInput, "ng-component", never, {}, {}, never, never, false, never>;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
declare class FieldText extends FieldAbstract implements OnInit {
|
|
345
|
+
private metaContext;
|
|
346
|
+
value: string;
|
|
347
|
+
constructor(metaContext: MetaContextService);
|
|
348
|
+
static setup(instance: any, parent: any, meta: any): void;
|
|
349
|
+
ngOnInit(): void;
|
|
350
|
+
onModelChangeLocal(value: any): void;
|
|
351
|
+
textToSpeech(): void;
|
|
352
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldText, never>;
|
|
353
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldText, "ng-component", never, {}, {}, never, never, false, never>;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
declare class FieldSelect extends FieldAbstract implements OnInit {
|
|
357
|
+
private referenceService;
|
|
358
|
+
private metaResource;
|
|
359
|
+
private viewContainerRef;
|
|
360
|
+
multiple: boolean;
|
|
361
|
+
input: HTMLInputElement;
|
|
362
|
+
dropdown: HTMLElement;
|
|
363
|
+
dropdownScrollContainer: HTMLElement;
|
|
364
|
+
showText: string;
|
|
365
|
+
activeSuggestionIndex: number;
|
|
366
|
+
value: any;
|
|
367
|
+
isCreatable: boolean;
|
|
368
|
+
isUpdatable: boolean;
|
|
369
|
+
asyncOptions: Array<any>;
|
|
370
|
+
searching: boolean;
|
|
371
|
+
filteredOptions: Array<any>;
|
|
372
|
+
searchInputText: '';
|
|
373
|
+
searchInput: HTMLInputElement;
|
|
374
|
+
private desiredValue;
|
|
375
|
+
constructor(referenceService: MetaReferenceService, metaResource: MetaResourceService, viewContainerRef: ViewContainerRef);
|
|
376
|
+
get options(): any;
|
|
377
|
+
get groupedOptions(): any;
|
|
378
|
+
get resourceService(): any;
|
|
379
|
+
get optionsBackup(): any;
|
|
380
|
+
ngOnInit(): void;
|
|
381
|
+
onActivated(ev: any): void;
|
|
382
|
+
detectSearchBlock(element: any): any;
|
|
383
|
+
onBlur(ev: any): void;
|
|
384
|
+
onOptionSelect(ev: any, option: any): void;
|
|
385
|
+
clear(ev?: any): boolean;
|
|
386
|
+
openResource(ev: any): any;
|
|
387
|
+
showDropdown(updateActiveSuggestionIndex?: boolean): void;
|
|
388
|
+
dismissDropdown(event?: any): void;
|
|
389
|
+
onSearchChange(): void;
|
|
390
|
+
clearSearchField(ev?: any): boolean;
|
|
391
|
+
private ensureDropdownIsVisible;
|
|
392
|
+
private ensureDropdownOptionIsVisible;
|
|
393
|
+
private filterOptions;
|
|
394
|
+
private clickout;
|
|
395
|
+
private keydown;
|
|
396
|
+
private searchOptions;
|
|
397
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldSelect, never>;
|
|
398
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldSelect, "ng-component", never, {}, {}, never, never, false, never>;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
interface IMetaTrackerEvent {
|
|
402
|
+
integration?: string;
|
|
403
|
+
resource?: string;
|
|
404
|
+
field?: string;
|
|
405
|
+
action?: string;
|
|
406
|
+
value?: string;
|
|
407
|
+
isContactable?: boolean;
|
|
408
|
+
}
|
|
409
|
+
declare class MetaTrackerService {
|
|
410
|
+
integrationCode: string;
|
|
411
|
+
resourceType: string;
|
|
412
|
+
events: EventEmitter<IMetaTrackerEvent>;
|
|
413
|
+
constructor();
|
|
414
|
+
emit(event: IMetaTrackerEvent): void;
|
|
415
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaTrackerService, never>;
|
|
416
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MetaTrackerService>;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
declare class FieldReference extends FieldAbstract implements OnInit {
|
|
420
|
+
private referenceService;
|
|
421
|
+
private metaResource;
|
|
422
|
+
private metaMsgService;
|
|
423
|
+
private metaContext;
|
|
424
|
+
private metaTracker;
|
|
425
|
+
private viewContainerRef;
|
|
426
|
+
input: any;
|
|
427
|
+
dropdown: HTMLElement;
|
|
428
|
+
dropdownScrollContainer: HTMLElement;
|
|
429
|
+
searching: boolean;
|
|
430
|
+
searchResourceType: any;
|
|
431
|
+
searchText: string;
|
|
432
|
+
searchResults: Array<any>;
|
|
433
|
+
searchError: any;
|
|
434
|
+
activeSuggestionIndex: number;
|
|
435
|
+
searchResourceTypesScope: string;
|
|
436
|
+
searchTextChanged: Subject<string>;
|
|
437
|
+
isCreatable: boolean;
|
|
438
|
+
value: any;
|
|
439
|
+
isPolymorphic: boolean;
|
|
440
|
+
isSearchable: boolean;
|
|
441
|
+
multiple: boolean;
|
|
442
|
+
vr: MetaResourceService;
|
|
443
|
+
externalLink: string;
|
|
444
|
+
dropdownVisible: boolean;
|
|
445
|
+
searchResourceTypeMeta: any;
|
|
446
|
+
filteredSuggestions: Array<any>;
|
|
447
|
+
placeHolderLabel: string;
|
|
448
|
+
asyncSuggestions: Array<any>;
|
|
449
|
+
smartSuggestions: Array<any>;
|
|
450
|
+
constructor(referenceService: MetaReferenceService, metaResource: MetaResourceService, metaMsgService: MetaMsgService, metaContext: MetaContextService, metaTracker: MetaTrackerService, viewContainerRef: ViewContainerRef);
|
|
451
|
+
get disabled(): any;
|
|
452
|
+
get showTypes(): any;
|
|
453
|
+
get suggestions(): any[];
|
|
454
|
+
get hasAppendButton(): any;
|
|
455
|
+
get resourceService(): any;
|
|
456
|
+
get metaReference(): any;
|
|
457
|
+
ngOnInit(): void;
|
|
458
|
+
clearSearchResourceType(): void;
|
|
459
|
+
onSearchResourceTypeChanged(resourceType?: any): void;
|
|
460
|
+
onSearchTextChanged(value: string): void;
|
|
461
|
+
search(): void;
|
|
462
|
+
onActivated(ev: any): void;
|
|
463
|
+
onBlur(ev: any): void;
|
|
464
|
+
removeSelection(ev?: any): void;
|
|
465
|
+
onSuggestionSelect(ev: any, suggestion: any): void;
|
|
466
|
+
showDropdown(): void;
|
|
467
|
+
dismissDropdown(event?: any): void;
|
|
468
|
+
clear(): void;
|
|
469
|
+
revert(): void;
|
|
470
|
+
remove(ev: any, item: any): void;
|
|
471
|
+
openResource(model?: any): void;
|
|
472
|
+
private ensureDropdownIsVisible;
|
|
473
|
+
private ensureDropdownOptionIsVisible;
|
|
474
|
+
private clickout;
|
|
475
|
+
private buildTrackEvent;
|
|
476
|
+
private buildPlaceholderLabel;
|
|
477
|
+
private keydown;
|
|
478
|
+
private buildExternalLink;
|
|
479
|
+
private searchAutoSuggestions;
|
|
480
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldReference, never>;
|
|
481
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldReference, "ng-component", never, {}, {}, never, never, false, never>;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
declare class FieldComposite extends FieldAbstract implements OnInit, DoCheck {
|
|
485
|
+
value: any;
|
|
486
|
+
private invisible;
|
|
487
|
+
get isRow(): boolean;
|
|
488
|
+
get fields(): any;
|
|
489
|
+
ngOnInit(): void;
|
|
490
|
+
ngDoCheck(): void;
|
|
491
|
+
onValueChange(): void;
|
|
492
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldComposite, never>;
|
|
493
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComposite, "ng-component", never, {}, {}, never, never, false, never>;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
declare class FieldBoolean extends FieldAbstract implements OnInit {
|
|
497
|
+
value: boolean;
|
|
498
|
+
ngOnInit(): void;
|
|
499
|
+
onOptionChange(): void;
|
|
500
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldBoolean, never>;
|
|
501
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldBoolean, "ng-component", never, {}, {}, never, never, false, never>;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
declare class FieldRadio extends FieldAbstract implements OnInit {
|
|
505
|
+
value: any;
|
|
506
|
+
get options(): any;
|
|
507
|
+
ngOnInit(): void;
|
|
508
|
+
onOptionChange(model: any): void;
|
|
509
|
+
onActivated(ev: any): void;
|
|
510
|
+
onBlur(ev: any): void;
|
|
511
|
+
private keydown;
|
|
512
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldRadio, never>;
|
|
513
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldRadio, "ng-component", never, {}, {}, never, never, false, never>;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
declare class FieldList extends FieldAbstract implements OnInit {
|
|
517
|
+
items: Array<any>;
|
|
518
|
+
value: any;
|
|
519
|
+
get list(): any;
|
|
520
|
+
get cloneList(): any;
|
|
521
|
+
ngOnInit(): void;
|
|
522
|
+
add(): void;
|
|
523
|
+
remove(itemIndex: any): void;
|
|
524
|
+
onChildChange(): void;
|
|
525
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldList, never>;
|
|
526
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldList, "ng-component", never, {}, {}, never, never, false, never>;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
declare class FieldRichtext extends FieldAbstract implements OnInit {
|
|
530
|
+
private metaContext;
|
|
531
|
+
active: boolean;
|
|
532
|
+
quillConfigModules: {
|
|
533
|
+
syntax: boolean;
|
|
534
|
+
toolbar: (string[] | {
|
|
535
|
+
list: string;
|
|
536
|
+
}[] | {
|
|
537
|
+
header: (number | boolean)[];
|
|
538
|
+
}[] | {
|
|
539
|
+
font: any[];
|
|
540
|
+
}[] | {
|
|
541
|
+
align: any[];
|
|
542
|
+
}[])[];
|
|
543
|
+
};
|
|
544
|
+
constructor(metaContext: MetaContextService);
|
|
545
|
+
static setup(instance: any, parent: any, meta: any): void;
|
|
546
|
+
ngOnInit(): void;
|
|
547
|
+
onModelChangeLocal(value: any): void;
|
|
548
|
+
textToSpeech(): void;
|
|
549
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldRichtext, never>;
|
|
550
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldRichtext, "ng-component", never, {}, {}, never, never, false, never>;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
declare class FieldDatetime extends FieldAbstract implements OnInit {
|
|
554
|
+
input: any;
|
|
555
|
+
dropdown: any;
|
|
556
|
+
activeSuggestionIndex: number;
|
|
557
|
+
value: any;
|
|
558
|
+
type: string;
|
|
559
|
+
placeholder: string;
|
|
560
|
+
get suggestions(): any;
|
|
561
|
+
ngOnInit(): void;
|
|
562
|
+
onActivated(ev: any): void;
|
|
563
|
+
clear(ev?: any): boolean;
|
|
564
|
+
onBlur(ev: any): void;
|
|
565
|
+
onSuggestionSelect(ev: any, suggestion: any): void;
|
|
566
|
+
dismissDropdown(event?: any): void;
|
|
567
|
+
private ensureDropdownIsVisible;
|
|
568
|
+
private showDropdown;
|
|
569
|
+
private clickout;
|
|
570
|
+
private keydown;
|
|
571
|
+
private autoSetValue;
|
|
572
|
+
private setupLogicalValidation;
|
|
573
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldDatetime, never>;
|
|
574
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldDatetime, "ng-component", never, {}, {}, never, never, false, never>;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
declare class FieldHidden extends FieldAbstract {
|
|
578
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldHidden, never>;
|
|
579
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldHidden, "ng-component", never, {}, {}, never, never, false, never>;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
declare class MetaIconsPipe implements PipeTransform {
|
|
583
|
+
protected sanitizer: DomSanitizer;
|
|
584
|
+
constructor(sanitizer: DomSanitizer);
|
|
585
|
+
transform(value: any): any;
|
|
586
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaIconsPipe, never>;
|
|
587
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MetaIconsPipe, "metaIcons", false>;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
declare class MetaModelPipe implements PipeTransform {
|
|
591
|
+
transform(value: any): any;
|
|
592
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaModelPipe, never>;
|
|
593
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MetaModelPipe, "metaModel", false>;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
declare class MetaStripHtmlPipe implements PipeTransform {
|
|
597
|
+
transform(value: string): any;
|
|
598
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaStripHtmlPipe, never>;
|
|
599
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MetaStripHtmlPipe, "metaStripHtml", false>;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
declare class MetaAutofocusDirective implements AfterContentInit {
|
|
603
|
+
private elementRef;
|
|
604
|
+
vgipMetaFormAutofocus: boolean;
|
|
605
|
+
constructor(elementRef: ElementRef);
|
|
606
|
+
ngAfterContentInit(): void;
|
|
607
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaAutofocusDirective, never>;
|
|
608
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MetaAutofocusDirective, "[vgipMetaFormAutofocus]", never, { "vgipMetaFormAutofocus": { "alias": "vgipMetaFormAutofocus"; "required": false; }; }, {}, never, never, false, never>;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
interface IStoreRecord {
|
|
612
|
+
id?: string | number;
|
|
613
|
+
}
|
|
614
|
+
interface IStore {
|
|
615
|
+
initCollection(collectionName: string, callback?: (err: any, result?: any) => void): any;
|
|
616
|
+
findById(collectionName: any, id: number | string, callback?: (err: any, result?: any) => void): any;
|
|
617
|
+
save(collectionName: string, record: any, callback?: (err: any, result?: any) => void): any;
|
|
618
|
+
find(collectionName: string, conditions: any, options: any, callback: (err: any, result?: any) => void): any;
|
|
619
|
+
findOne(collectionName: string, conditions: any, options: any, callback?: (err: any, result?: any) => void): any;
|
|
620
|
+
}
|
|
621
|
+
declare class IndexedDbStore implements IStore {
|
|
622
|
+
indxDb: IDBFactory;
|
|
623
|
+
db: IDBDatabase;
|
|
624
|
+
dbName: string;
|
|
625
|
+
constructor(dbName?: string);
|
|
626
|
+
_getDb(callback: (err: any, result?: any) => void): void;
|
|
627
|
+
initCollection(collectionName: string, callback: (err: any, result?: any) => void): void;
|
|
628
|
+
reset(callback: (err: any, result?: any) => void): void;
|
|
629
|
+
findById(collectionName: string, id: number | string, callback: (err: any, result?: any) => void): any;
|
|
630
|
+
destroyById(collectionName: string, id: number | string, callback: (err: any, result?: any) => void): any;
|
|
631
|
+
findOne(collectionName: string, conditions: any, options: any, callback?: (err: any, result?: any) => void): any;
|
|
632
|
+
find(collectionName: string, conditions: any, options: any, callback?: (err: any, result?: any) => void): Array<IStoreRecord> | any;
|
|
633
|
+
save(collectionName: string, model: any, callback?: (err: any, result?: any) => void): void;
|
|
634
|
+
private createDraftStore;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
interface IDraft {
|
|
638
|
+
id: string | number;
|
|
639
|
+
integrationCode: string;
|
|
640
|
+
resourceType: string;
|
|
641
|
+
contextUid: string;
|
|
642
|
+
timestamp: number;
|
|
643
|
+
data?: string;
|
|
644
|
+
}
|
|
645
|
+
declare class ResourceDraftsService {
|
|
646
|
+
private context;
|
|
647
|
+
store: IndexedDbStore;
|
|
648
|
+
db: any;
|
|
649
|
+
constructor(context: MetaContextService);
|
|
650
|
+
init(cb?: (err: any, db?: any) => void): void;
|
|
651
|
+
list(integrationCode: any, resourceType: any, cb: (err: any, drafts?: Array<IDraft>) => void): void;
|
|
652
|
+
save(integrationCode: any, resourceType: any, draft: any, cb?: (err: any, draft?: IDraft) => void): void;
|
|
653
|
+
findOne(integrationCode: any, resourceType: any, cb: (err: any, drafts?: IDraft) => void): void;
|
|
654
|
+
find(params: any, cb: (err: any, drafts?: Array<IDraft>) => void): void;
|
|
655
|
+
findById(draftId: any, cb?: (err: any, drafts?: IDraft) => void): void;
|
|
656
|
+
destroyDraft(draft: any, cb?: (err: any, drafts?: IDraft) => void): void;
|
|
657
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceDraftsService, never>;
|
|
658
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceDraftsService>;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
declare const relativeTimeBuilder: (type: "date" | "datetime" | "datetime-local" | "time", value: string, step?: number, base?: number) => number;
|
|
662
|
+
|
|
663
|
+
declare class MetaFieldContentDirective {
|
|
664
|
+
viewContainerRef: ViewContainerRef;
|
|
665
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
666
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaFieldContentDirective, never>;
|
|
667
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MetaFieldContentDirective, "[metaFieldContent]", never, {}, {}, never, never, false, never>;
|
|
668
|
+
}
|
|
669
|
+
declare class MetaField extends FieldAbstract implements OnInit {
|
|
670
|
+
private el;
|
|
671
|
+
meta: any;
|
|
672
|
+
parent: any;
|
|
673
|
+
integrationCode: any;
|
|
674
|
+
resourceType: any;
|
|
675
|
+
index: number;
|
|
676
|
+
scope: string;
|
|
677
|
+
preview: boolean;
|
|
678
|
+
theme: string;
|
|
679
|
+
overlayContainer: HTMLElement;
|
|
680
|
+
delegate: any;
|
|
681
|
+
onChange: EventEmitter<any>;
|
|
682
|
+
onLeave: EventEmitter<any>;
|
|
683
|
+
fieldContent: MetaFieldContentDirective;
|
|
684
|
+
constructor(el: ElementRef);
|
|
685
|
+
ngOnInit(): Promise<void>;
|
|
686
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaField, never>;
|
|
687
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetaField, "vgip-meta-field", never, { "meta": { "alias": "meta"; "required": false; }; "parent": { "alias": "parent"; "required": false; }; "integrationCode": { "alias": "integrationCode"; "required": false; }; "resourceType": { "alias": "resourceType"; "required": false; }; "index": { "alias": "index"; "required": false; }; "scope": { "alias": "scope"; "required": false; }; "preview": { "alias": "preview"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "overlayContainer": { "alias": "overlayContainer"; "required": false; }; "delegate": { "alias": "delegate"; "required": false; }; }, { "onChange": "onChange"; "onLeave": "onLeave"; }, never, never, false, never>;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
interface MetaTheme {
|
|
691
|
+
name: string;
|
|
692
|
+
properties: {
|
|
693
|
+
[key: string]: string;
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
declare const metaLight: MetaTheme;
|
|
697
|
+
declare const metaDark: MetaTheme;
|
|
698
|
+
|
|
699
|
+
declare const metaNormalizer: (meta: any, integration: any, resourceType: any) => any;
|
|
700
|
+
|
|
701
|
+
declare class MetaModule {
|
|
702
|
+
static withProviders(customProviders: any): ModuleWithProviders<MetaModule>;
|
|
703
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetaModule, never>;
|
|
704
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MetaModule, [typeof MetaIconsPipe, typeof MetaModelPipe, typeof MetaStripHtmlPipe, typeof MetaField, typeof MetaRefDialog, typeof MetaFieldContentDirective, typeof MetaLayout, typeof MetaResource, typeof MetaResourceCard, typeof FieldUnknown, typeof FieldInput, typeof FieldText, typeof FieldSelect, typeof FieldReference, typeof FieldComposite, typeof FieldBoolean, typeof FieldRadio, typeof FieldList, typeof FieldRichtext, typeof FieldDatetime, typeof FieldHidden, typeof MetaAutofocusDirective], [typeof i22.CommonModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.QuillModule], [typeof MetaIconsPipe, typeof MetaModelPipe, typeof MetaStripHtmlPipe, typeof MetaField, typeof MetaLayout, typeof MetaResource, typeof MetaResourceCard, typeof MetaAutofocusDirective]>;
|
|
705
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MetaModule>;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
export { FieldBoolean, FieldComposite, FieldDatetime, FieldHidden, FieldInput, FieldList, FieldRadio, FieldReference, FieldRichtext, FieldSelect, FieldText, FieldUnknown, MetaAutofocusDirective, MetaContextService, MetaField, MetaFieldContentDirective, MetaHttpClient, MetaIconsPipe, MetaLayout, MetaModelPipe, MetaModule, MetaMsgService, MetaRefDialog, MetaReferenceService, MetaResource, MetaResourceCard, MetaResourceService, MetaStripHtmlPipe, MetaTrackerService, ResourceDraftsService, metaDark, metaLight, metaNormalizer, relativeTimeBuilder };
|
|
709
|
+
export type { MetaTheme };
|