@vgip/meta-ui 1.9.9 → 2.1.0
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 +5614 -78
- package/fesm2022/vgip-meta-ui.mjs.map +1 -1
- package/index.d.ts +709 -5
- package/package.json +5 -8
- package/vendor/volta3/README.md +1 -0
- package/vendor/volta3/fonts/Spezia-Regular.eot +0 -0
- package/vendor/volta3/fonts/Spezia-Regular.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-Regular.woff +0 -0
- package/vendor/volta3/fonts/Spezia-Regular.woff2 +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.eot +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.woff +0 -0
- package/vendor/volta3/fonts/Spezia-SemiBold.woff2 +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.eot +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff +0 -0
- package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff2 +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.eot +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.ttf +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.woff +0 -0
- package/vendor/volta3/fonts/Spezia-WideMedium.woff2 +0 -0
- package/vendor/volta3/scss/components/_accordions.scss +165 -0
- package/vendor/volta3/scss/components/_badge.scss +325 -0
- package/vendor/volta3/scss/components/_blockquote.scss +35 -0
- package/vendor/volta3/scss/components/_boxes.scss +113 -0
- package/vendor/volta3/scss/components/_buttons.scss +794 -0
- package/vendor/volta3/scss/components/_callouts.scss +427 -0
- package/vendor/volta3/scss/components/_card.scss +421 -0
- package/vendor/volta3/scss/components/_color-classes.scss +186 -0
- package/vendor/volta3/scss/components/_dialpad.scss +224 -0
- package/vendor/volta3/scss/components/_dropdowns.scss +495 -0
- package/vendor/volta3/scss/components/_empties.scss +77 -0
- package/vendor/volta3/scss/components/_flash-messages.scss +39 -0
- package/vendor/volta3/scss/components/_form-elements.scss +879 -0
- package/vendor/volta3/scss/components/_lists.scss +427 -0
- package/vendor/volta3/scss/components/_modals.scss +227 -0
- package/vendor/volta3/scss/components/_popups.scss +173 -0
- package/vendor/volta3/scss/components/_progress.scss +28 -0
- package/vendor/volta3/scss/components/_spinner.scss +105 -0
- package/vendor/volta3/scss/components/_steps.scss +242 -0
- package/vendor/volta3/scss/components/_switch.scss +353 -0
- package/vendor/volta3/scss/components/_tables.scss +739 -0
- package/vendor/volta3/scss/components/_tabs.scss +296 -0
- package/vendor/volta3/scss/components/_text-separator.scss +61 -0
- package/vendor/volta3/scss/components/_tooltips.scss +152 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--aqua.scss +179 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--collapsible.scss +381 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--dark.scss +196 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--light.scss +174 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--structure.scss +631 -0
- package/vendor/volta3/scss/components/side-navigation/_side-nav--tabs.scss +88 -0
- package/vendor/volta3/scss/flatpickr/_flatpickr-volta.scss +407 -0
- package/vendor/volta3/scss/flatpickr/_flatpickr.css +785 -0
- package/vendor/volta3/scss/layout/_article.scss +119 -0
- package/vendor/volta3/scss/layout/_utils.scss +174 -0
- package/vendor/volta3/scss/lib/_grid.scss +374 -0
- package/vendor/volta3/scss/lib/_mediaqueries.scss +52 -0
- package/vendor/volta3/scss/lib/_reset.scss +110 -0
- package/vendor/volta3/scss/lib/_type.scss +345 -0
- package/vendor/volta3/scss/lib/_utils.scss +26 -0
- package/vendor/volta3/scss/lib/_variables.scss +115 -0
- package/vendor/volta3/scss/prism/_prism-volta.scss +390 -0
- package/vendor/volta3/scss/prism/_prism.css +326 -0
- package/vendor/volta3/scss/templates/volta-error-page.scss +57 -0
- package/vendor/volta3/scss/templates/volta-templates.scss +114 -0
- package/vendor/volta3/scss/volta-flatpickr.scss +10 -0
- package/vendor/volta3/scss/volta-prism.scss +7 -0
- package/vendor/volta3/scss/volta.scss +39 -0
- package/vendor/volta3/symbol/volta-brand-icons.svg +1 -0
- package/vendor/volta3/symbol/volta-flag-icons.svg +1 -0
- package/vendor/volta3/symbol/volta-icons.svg +1 -0
- package/esm2022/lib/common/fieldNormalizer/boolean.mjs +0 -12
- package/esm2022/lib/common/fieldNormalizer/datetime.mjs +0 -9
- package/esm2022/lib/common/fieldNormalizer/index.mjs +0 -183
- package/esm2022/lib/common/fieldNormalizer/number.mjs +0 -14
- package/esm2022/lib/common/fieldNormalizer/options.mjs +0 -50
- package/esm2022/lib/common/fieldNormalizer/radio.mjs +0 -30
- package/esm2022/lib/common/fieldNormalizer/reference.mjs +0 -36
- package/esm2022/lib/common/fieldNormalizer/richtext.mjs +0 -15
- package/esm2022/lib/common/fieldNormalizer/string.mjs +0 -24
- package/esm2022/lib/common/fieldNormalizer/text.mjs +0 -18
- package/esm2022/lib/common/fieldNormalizer/uniqueNameFilter.mjs +0 -23
- package/esm2022/lib/common/metaAutofocus.directive.mjs +0 -35
- package/esm2022/lib/common/metaIcons.pipe.mjs +0 -29
- package/esm2022/lib/common/metaModel.pipe.mjs +0 -23
- package/esm2022/lib/common/metaNormalizer.mjs +0 -375
- package/esm2022/lib/common/metaStripHtml.pipe.mjs +0 -22
- package/esm2022/lib/common/utils/colorThemes.mjs +0 -77
- package/esm2022/lib/common/utils/indexedDbStore/index.mjs +0 -228
- package/esm2022/lib/common/utils/relativeTimeBuilder.mjs +0 -49
- package/esm2022/lib/common/utils/resourceCardLabel.mjs +0 -24
- package/esm2022/lib/common/utils/smartProp.mjs +0 -31
- package/esm2022/lib/common/utils/templateBuilder.mjs +0 -103
- package/esm2022/lib/fieldAbstract.mjs +0 -291
- package/esm2022/lib/fieldBoolean/index.mjs +0 -53
- package/esm2022/lib/fieldComposite/index.mjs +0 -82
- package/esm2022/lib/fieldDatetime/index.mjs +0 -365
- package/esm2022/lib/fieldHidden/index.mjs +0 -18
- package/esm2022/lib/fieldInput/index.mjs +0 -475
- package/esm2022/lib/fieldList/index.mjs +0 -74
- package/esm2022/lib/fieldRadio/index.mjs +0 -88
- package/esm2022/lib/fieldReference/index.mjs +0 -834
- package/esm2022/lib/fieldRichtext/index.mjs +0 -93
- package/esm2022/lib/fieldSelect/index.mjs +0 -568
- package/esm2022/lib/fieldText/index.mjs +0 -83
- package/esm2022/lib/fieldUnknown/index.mjs +0 -19
- package/esm2022/lib/index.mjs +0 -163
- package/esm2022/lib/layout/index.mjs +0 -212
- package/esm2022/lib/metaField/index.mjs +0 -148
- package/esm2022/lib/refDialog/index.mjs +0 -135
- package/esm2022/lib/resource/index.mjs +0 -525
- package/esm2022/lib/resourceCard/index.mjs +0 -40
- package/esm2022/lib/services/metaContext/index.mjs +0 -52
- package/esm2022/lib/services/metaMsg/index.mjs +0 -84
- package/esm2022/lib/services/metaReference/index.mjs +0 -94
- package/esm2022/lib/services/metaResource/index.mjs +0 -139
- package/esm2022/lib/services/metaResource/metaHttpClient.mjs +0 -64
- package/esm2022/lib/services/metaTracker/index.mjs +0 -31
- package/esm2022/lib/services/resourceDrafts/index.mjs +0 -69
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/vgip-meta-ui.mjs +0 -5
- package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs +0 -399
- package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs +0 -478
- package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-050d4a8c.mjs +0 -87
- package/fesm2022/vgip-meta-ui-index-050d4a8c.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs +0 -86
- package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-37358620.mjs +0 -158
- package/fesm2022/vgip-meta-ui-index-37358620.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs +0 -95
- package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-70d40f26.mjs +0 -79
- package/fesm2022/vgip-meta-ui-index-70d40f26.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-7741951a.mjs +0 -23
- package/fesm2022/vgip-meta-ui-index-7741951a.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-80ab405f.mjs +0 -93
- package/fesm2022/vgip-meta-ui-index-80ab405f.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-86d5c4b7.mjs +0 -575
- package/fesm2022/vgip-meta-ui-index-86d5c4b7.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-926ae006.mjs +0 -58
- package/fesm2022/vgip-meta-ui-index-926ae006.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-ac6d744b.mjs +0 -867
- package/fesm2022/vgip-meta-ui-index-ac6d744b.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs +0 -24
- package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-f2a08550.mjs +0 -2058
- package/fesm2022/vgip-meta-ui-index-f2a08550.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs +0 -370
- package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-index-fa271433.mjs +0 -151
- package/fesm2022/vgip-meta-ui-index-fa271433.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs +0 -26
- package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs.map +0 -1
- package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs +0 -51
- package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs.map +0 -1
- package/lib/common/fieldNormalizer/boolean.d.ts +0 -1
- package/lib/common/fieldNormalizer/datetime.d.ts +0 -1
- package/lib/common/fieldNormalizer/index.d.ts +0 -1
- package/lib/common/fieldNormalizer/number.d.ts +0 -1
- package/lib/common/fieldNormalizer/options.d.ts +0 -1
- package/lib/common/fieldNormalizer/radio.d.ts +0 -1
- package/lib/common/fieldNormalizer/reference.d.ts +0 -1
- package/lib/common/fieldNormalizer/richtext.d.ts +0 -1
- package/lib/common/fieldNormalizer/string.d.ts +0 -1
- package/lib/common/fieldNormalizer/text.d.ts +0 -1
- package/lib/common/fieldNormalizer/uniqueNameFilter.d.ts +0 -1
- package/lib/common/metaAutofocus.directive.d.ts +0 -10
- package/lib/common/metaIcons.pipe.d.ts +0 -10
- package/lib/common/metaModel.pipe.d.ts +0 -7
- package/lib/common/metaNormalizer.d.ts +0 -1
- package/lib/common/metaStripHtml.pipe.d.ts +0 -7
- package/lib/common/utils/colorThemes.d.ts +0 -8
- package/lib/common/utils/indexedDbStore/index.d.ts +0 -25
- package/lib/common/utils/relativeTimeBuilder.d.ts +0 -1
- package/lib/common/utils/resourceCardLabel.d.ts +0 -1
- package/lib/common/utils/smartProp.d.ts +0 -2
- package/lib/common/utils/templateBuilder.d.ts +0 -1
- package/lib/fieldAbstract.d.ts +0 -60
- package/lib/fieldBoolean/index.d.ts +0 -10
- package/lib/fieldComposite/index.d.ts +0 -14
- package/lib/fieldDatetime/index.d.ts +0 -26
- package/lib/fieldHidden/index.d.ts +0 -6
- package/lib/fieldInput/index.d.ts +0 -35
- package/lib/fieldList/index.d.ts +0 -15
- package/lib/fieldRadio/index.d.ts +0 -14
- package/lib/fieldReference/index.d.ts +0 -73
- package/lib/fieldRichtext/index.d.ts +0 -27
- package/lib/fieldSelect/index.d.ts +0 -49
- package/lib/fieldText/index.d.ts +0 -15
- package/lib/fieldUnknown/index.d.ts +0 -6
- package/lib/index.d.ts +0 -65
- package/lib/layout/index.d.ts +0 -46
- package/lib/metaField/index.d.ts +0 -28
- package/lib/refDialog/index.d.ts +0 -33
- package/lib/resource/index.d.ts +0 -68
- package/lib/resourceCard/index.d.ts +0 -17
- package/lib/services/metaContext/index.d.ts +0 -32
- package/lib/services/metaMsg/index.d.ts +0 -14
- package/lib/services/metaReference/index.d.ts +0 -11
- package/lib/services/metaResource/index.d.ts +0 -31
- package/lib/services/metaResource/metaHttpClient.d.ts +0 -15
- package/lib/services/metaTracker/index.d.ts +0 -19
- package/lib/services/resourceDrafts/index.d.ts +0 -26
- package/public-api.d.ts +0 -1
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FieldAbstract } from '../fieldAbstract';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FieldRadio extends FieldAbstract implements OnInit {
|
|
5
|
-
value: any;
|
|
6
|
-
get options(): any;
|
|
7
|
-
ngOnInit(): void;
|
|
8
|
-
onOptionChange(model: any): void;
|
|
9
|
-
onActivated(ev: any): void;
|
|
10
|
-
onBlur(ev: any): void;
|
|
11
|
-
private keydown;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldRadio, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldRadio, "ng-component", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { FieldAbstract } from '../fieldAbstract';
|
|
3
|
-
import { MetaReferenceService } from '../services/metaReference';
|
|
4
|
-
import { Subject } from 'rxjs';
|
|
5
|
-
import { MetaResourceService } from '../services/metaResource';
|
|
6
|
-
import { MetaMsgService } from '../services/metaMsg';
|
|
7
|
-
import { MetaContextService } from '../services/metaContext';
|
|
8
|
-
import { MetaTrackerService } from '../services/metaTracker';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class FieldReference extends FieldAbstract implements OnInit {
|
|
11
|
-
private referenceService;
|
|
12
|
-
private metaResource;
|
|
13
|
-
private metaMsgService;
|
|
14
|
-
private metaContext;
|
|
15
|
-
private metaTracker;
|
|
16
|
-
private viewContainerRef;
|
|
17
|
-
input: any;
|
|
18
|
-
dropdown: HTMLElement;
|
|
19
|
-
dropdownScrollContainer: HTMLElement;
|
|
20
|
-
searching: boolean;
|
|
21
|
-
searchResourceType: any;
|
|
22
|
-
searchText: string;
|
|
23
|
-
searchResults: Array<any>;
|
|
24
|
-
searchError: any;
|
|
25
|
-
activeSuggestionIndex: number;
|
|
26
|
-
searchResourceTypesScope: string;
|
|
27
|
-
searchTextChanged: Subject<string>;
|
|
28
|
-
isCreatable: boolean;
|
|
29
|
-
value: any;
|
|
30
|
-
isPolymorphic: boolean;
|
|
31
|
-
isSearchable: boolean;
|
|
32
|
-
multiple: boolean;
|
|
33
|
-
vr: MetaResourceService;
|
|
34
|
-
externalLink: string;
|
|
35
|
-
dropdownVisible: boolean;
|
|
36
|
-
searchResourceTypeMeta: any;
|
|
37
|
-
filteredSuggestions: Array<any>;
|
|
38
|
-
placeHolderLabel: string;
|
|
39
|
-
asyncSuggestions: Array<any>;
|
|
40
|
-
smartSuggestions: Array<any>;
|
|
41
|
-
constructor(referenceService: MetaReferenceService, metaResource: MetaResourceService, metaMsgService: MetaMsgService, metaContext: MetaContextService, metaTracker: MetaTrackerService, viewContainerRef: ViewContainerRef);
|
|
42
|
-
get disabled(): any;
|
|
43
|
-
get showTypes(): any;
|
|
44
|
-
get suggestions(): any[];
|
|
45
|
-
get hasAppendButton(): any;
|
|
46
|
-
get resourceService(): any;
|
|
47
|
-
get metaReference(): any;
|
|
48
|
-
ngOnInit(): void;
|
|
49
|
-
clearSearchResourceType(): void;
|
|
50
|
-
onSearchResourceTypeChanged(resourceType?: any): void;
|
|
51
|
-
onSearchTextChanged(value: string): void;
|
|
52
|
-
search(): void;
|
|
53
|
-
onActivated(ev: any): void;
|
|
54
|
-
onBlur(ev: any): void;
|
|
55
|
-
removeSelection(ev?: any): void;
|
|
56
|
-
onSuggestionSelect(ev: any, suggestion: any): void;
|
|
57
|
-
showDropdown(): void;
|
|
58
|
-
dismissDropdown(event?: any): void;
|
|
59
|
-
clear(): void;
|
|
60
|
-
revert(): void;
|
|
61
|
-
remove(ev: any, item: any): void;
|
|
62
|
-
openResource(model?: any): void;
|
|
63
|
-
private ensureDropdownIsVisible;
|
|
64
|
-
private ensureDropdownOptionIsVisible;
|
|
65
|
-
private clickout;
|
|
66
|
-
private buildTrackEvent;
|
|
67
|
-
private buildPlaceholderLabel;
|
|
68
|
-
private keydown;
|
|
69
|
-
private buildExternalLink;
|
|
70
|
-
private searchAutoSuggestions;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldReference, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldReference, "ng-component", never, {}, {}, never, never, false, never>;
|
|
73
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FieldAbstract } from '../fieldAbstract';
|
|
3
|
-
import { MetaContextService } from '../services/metaContext';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FieldRichtext extends FieldAbstract implements OnInit {
|
|
6
|
-
private metaContext;
|
|
7
|
-
active: boolean;
|
|
8
|
-
quillConfigModules: {
|
|
9
|
-
syntax: boolean;
|
|
10
|
-
toolbar: (string[] | {
|
|
11
|
-
list: string;
|
|
12
|
-
}[] | {
|
|
13
|
-
header: (number | boolean)[];
|
|
14
|
-
}[] | {
|
|
15
|
-
font: any[];
|
|
16
|
-
}[] | {
|
|
17
|
-
align: any[];
|
|
18
|
-
}[])[];
|
|
19
|
-
};
|
|
20
|
-
constructor(metaContext: MetaContextService);
|
|
21
|
-
static setup(instance: any, parent: any, meta: any): void;
|
|
22
|
-
ngOnInit(): void;
|
|
23
|
-
onModelChangeLocal(value: any): void;
|
|
24
|
-
textToSpeech(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldRichtext, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldRichtext, "ng-component", never, {}, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { FieldAbstract } from '../fieldAbstract';
|
|
3
|
-
import { MetaReferenceService } from '../services/metaReference';
|
|
4
|
-
import { MetaResourceService } from '../services/metaResource';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FieldSelect extends FieldAbstract implements OnInit {
|
|
7
|
-
private referenceService;
|
|
8
|
-
private metaResource;
|
|
9
|
-
private viewContainerRef;
|
|
10
|
-
multiple: boolean;
|
|
11
|
-
input: HTMLInputElement;
|
|
12
|
-
dropdown: HTMLElement;
|
|
13
|
-
dropdownScrollContainer: HTMLElement;
|
|
14
|
-
showText: string;
|
|
15
|
-
activeSuggestionIndex: number;
|
|
16
|
-
value: any;
|
|
17
|
-
isCreatable: boolean;
|
|
18
|
-
isUpdatable: boolean;
|
|
19
|
-
asyncOptions: Array<any>;
|
|
20
|
-
searching: boolean;
|
|
21
|
-
filteredOptions: Array<any>;
|
|
22
|
-
searchInputText: '';
|
|
23
|
-
searchInput: HTMLInputElement;
|
|
24
|
-
private desiredValue;
|
|
25
|
-
constructor(referenceService: MetaReferenceService, metaResource: MetaResourceService, viewContainerRef: ViewContainerRef);
|
|
26
|
-
get options(): any;
|
|
27
|
-
get groupedOptions(): any;
|
|
28
|
-
get resourceService(): any;
|
|
29
|
-
get optionsBackup(): any;
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
onActivated(ev: any): void;
|
|
32
|
-
detectSearchBlock(element: any): any;
|
|
33
|
-
onBlur(ev: any): void;
|
|
34
|
-
onOptionSelect(ev: any, option: any): void;
|
|
35
|
-
clear(ev?: any): boolean;
|
|
36
|
-
openResource(ev: any): any;
|
|
37
|
-
showDropdown(updateActiveSuggestionIndex?: boolean): void;
|
|
38
|
-
dismissDropdown(event?: any): void;
|
|
39
|
-
onSearchChange(): void;
|
|
40
|
-
clearSearchField(ev?: any): boolean;
|
|
41
|
-
private ensureDropdownIsVisible;
|
|
42
|
-
private ensureDropdownOptionIsVisible;
|
|
43
|
-
private filterOptions;
|
|
44
|
-
private clickout;
|
|
45
|
-
private keydown;
|
|
46
|
-
private searchOptions;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldSelect, never>;
|
|
48
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldSelect, "ng-component", never, {}, {}, never, never, false, never>;
|
|
49
|
-
}
|
package/lib/fieldText/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FieldAbstract } from '../fieldAbstract';
|
|
3
|
-
import { MetaContextService } from '../services/metaContext';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FieldText extends FieldAbstract implements OnInit {
|
|
6
|
-
private metaContext;
|
|
7
|
-
value: string;
|
|
8
|
-
constructor(metaContext: MetaContextService);
|
|
9
|
-
static setup(instance: any, parent: any, meta: any): void;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
onModelChangeLocal(value: any): void;
|
|
12
|
-
textToSpeech(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldText, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldText, "ng-component", never, {}, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FieldAbstract } from '../fieldAbstract';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FieldUnknown extends FieldAbstract {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldUnknown, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldUnknown, "ng-component", never, {}, {}, never, never, false, never>;
|
|
6
|
-
}
|
package/lib/index.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { MetaRefDialog } from './refDialog';
|
|
3
|
-
import { MetaLayout } from './layout';
|
|
4
|
-
import { MetaResource } from './resource';
|
|
5
|
-
import { MetaResourceCard } from './resourceCard';
|
|
6
|
-
import { FieldUnknown } from './fieldUnknown';
|
|
7
|
-
import { FieldInput } from './fieldInput';
|
|
8
|
-
import { FieldText } from './fieldText';
|
|
9
|
-
import { FieldSelect } from './fieldSelect';
|
|
10
|
-
import { FieldReference } from './fieldReference';
|
|
11
|
-
import { FieldComposite } from './fieldComposite';
|
|
12
|
-
import { FieldBoolean } from './fieldBoolean';
|
|
13
|
-
import { FieldRadio } from './fieldRadio';
|
|
14
|
-
import { FieldList } from './fieldList';
|
|
15
|
-
import { FieldRichtext } from './fieldRichtext';
|
|
16
|
-
import { FieldDatetime } from './fieldDatetime';
|
|
17
|
-
import { FieldHidden } from './fieldHidden';
|
|
18
|
-
import { MetaIconsPipe } from './common/metaIcons.pipe';
|
|
19
|
-
import { MetaModelPipe } from './common/metaModel.pipe';
|
|
20
|
-
import { MetaStripHtmlPipe } from './common/metaStripHtml.pipe';
|
|
21
|
-
import { MetaAutofocusDirective } from './common/metaAutofocus.directive';
|
|
22
|
-
import { MetaContextService } from './services/metaContext';
|
|
23
|
-
import { MetaTrackerService } from './services/metaTracker';
|
|
24
|
-
import { ResourceDraftsService } from './services/resourceDrafts';
|
|
25
|
-
import { MetaMsgService } from './services/metaMsg';
|
|
26
|
-
import { MetaReferenceService } from './services/metaReference';
|
|
27
|
-
import { MetaResourceService } from './services/metaResource';
|
|
28
|
-
import { MetaHttpClient } from './services/metaResource/metaHttpClient';
|
|
29
|
-
import { relativeTimeBuilder } from './common/utils/relativeTimeBuilder';
|
|
30
|
-
import { MetaField, MetaFieldContentDirective } from './metaField';
|
|
31
|
-
import * as i0 from "@angular/core";
|
|
32
|
-
import * as i1 from "./common/metaIcons.pipe";
|
|
33
|
-
import * as i2 from "./common/metaModel.pipe";
|
|
34
|
-
import * as i3 from "./common/metaStripHtml.pipe";
|
|
35
|
-
import * as i4 from "./metaField/index";
|
|
36
|
-
import * as i5 from "./refDialog/index";
|
|
37
|
-
import * as i6 from "./layout/index";
|
|
38
|
-
import * as i7 from "./resource/index";
|
|
39
|
-
import * as i8 from "./resourceCard/index";
|
|
40
|
-
import * as i9 from "./fieldUnknown/index";
|
|
41
|
-
import * as i10 from "./fieldInput/index";
|
|
42
|
-
import * as i11 from "./fieldText/index";
|
|
43
|
-
import * as i12 from "./fieldSelect/index";
|
|
44
|
-
import * as i13 from "./fieldReference/index";
|
|
45
|
-
import * as i14 from "./fieldComposite/index";
|
|
46
|
-
import * as i15 from "./fieldBoolean/index";
|
|
47
|
-
import * as i16 from "./fieldRadio/index";
|
|
48
|
-
import * as i17 from "./fieldList/index";
|
|
49
|
-
import * as i18 from "./fieldRichtext/index";
|
|
50
|
-
import * as i19 from "./fieldDatetime/index";
|
|
51
|
-
import * as i20 from "./fieldHidden/index";
|
|
52
|
-
import * as i21 from "./common/metaAutofocus.directive";
|
|
53
|
-
import * as i22 from "@angular/common";
|
|
54
|
-
import * as i23 from "@angular/forms";
|
|
55
|
-
import * as i24 from "@angular/common/http";
|
|
56
|
-
import * as i25 from "ngx-quill";
|
|
57
|
-
export * from './common/utils/colorThemes';
|
|
58
|
-
export * from './common/metaNormalizer';
|
|
59
|
-
export declare class MetaModule {
|
|
60
|
-
static withProviders(customProviders: any): ModuleWithProviders<MetaModule>;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaModule, never>;
|
|
62
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MetaModule, [typeof i1.MetaIconsPipe, typeof i2.MetaModelPipe, typeof i3.MetaStripHtmlPipe, typeof i4.MetaField, typeof i5.MetaRefDialog, typeof i4.MetaFieldContentDirective, typeof i6.MetaLayout, typeof i7.MetaResource, typeof i8.MetaResourceCard, typeof i9.FieldUnknown, typeof i10.FieldInput, typeof i11.FieldText, typeof i12.FieldSelect, typeof i13.FieldReference, typeof i14.FieldComposite, typeof i15.FieldBoolean, typeof i16.FieldRadio, typeof i17.FieldList, typeof i18.FieldRichtext, typeof i19.FieldDatetime, typeof i20.FieldHidden, typeof i21.MetaAutofocusDirective], [typeof i22.CommonModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.HttpClientModule, typeof i25.QuillModule], [typeof i1.MetaIconsPipe, typeof i2.MetaModelPipe, typeof i3.MetaStripHtmlPipe, typeof i4.MetaField, typeof i6.MetaLayout, typeof i7.MetaResource, typeof i8.MetaResourceCard, typeof i21.MetaAutofocusDirective]>;
|
|
63
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MetaModule>;
|
|
64
|
-
}
|
|
65
|
-
export { MetaField, MetaFieldContentDirective, MetaRefDialog, MetaResourceCard, MetaIconsPipe, MetaModelPipe, MetaStripHtmlPipe, MetaAutofocusDirective, FieldUnknown, FieldInput, FieldText, FieldSelect, MetaLayout, MetaResource, FieldBoolean, FieldRadio, FieldList, FieldComposite, FieldReference, FieldHidden, FieldRichtext, FieldDatetime, MetaContextService, MetaTrackerService, ResourceDraftsService, MetaMsgService, MetaReferenceService, MetaResourceService, MetaHttpClient, relativeTimeBuilder };
|
package/lib/layout/index.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { AfterContentChecked, ChangeDetectorRef, ElementRef, OnChanges, OnInit, DoCheck, ViewContainerRef } from "@angular/core";
|
|
2
|
-
import { Subject } from "rxjs";
|
|
3
|
-
import { MetaResourceService } from "../services/metaResource";
|
|
4
|
-
import { MetaReferenceService } from "../services/metaReference";
|
|
5
|
-
import { MetaMsgService } from "../services/metaMsg";
|
|
6
|
-
import { MetaContextService } from "../services/metaContext";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class MetaLayout implements OnInit, AfterContentChecked, OnChanges, DoCheck {
|
|
9
|
-
private viewContainerRef;
|
|
10
|
-
private ref;
|
|
11
|
-
private el;
|
|
12
|
-
private metaResource;
|
|
13
|
-
private referenceService;
|
|
14
|
-
private metaMsgService;
|
|
15
|
-
private metaContext;
|
|
16
|
-
meta: any;
|
|
17
|
-
resource: any;
|
|
18
|
-
integration: any;
|
|
19
|
-
type: any;
|
|
20
|
-
preview: boolean;
|
|
21
|
-
theme: string;
|
|
22
|
-
optionalFields: any;
|
|
23
|
-
optionalFieldsCount: number;
|
|
24
|
-
showAll: boolean;
|
|
25
|
-
fieldsVisibilityChanged: Subject<string>;
|
|
26
|
-
parentForm: HTMLFormElement;
|
|
27
|
-
integrationCode: string;
|
|
28
|
-
resourceType: string;
|
|
29
|
-
childResourceCardLabel: (r: any) => any;
|
|
30
|
-
overlayContainer: HTMLElement;
|
|
31
|
-
constructor(viewContainerRef: ViewContainerRef, ref: ChangeDetectorRef, el: ElementRef, metaResource: MetaResourceService, referenceService: MetaReferenceService, metaMsgService: MetaMsgService, metaContext: MetaContextService);
|
|
32
|
-
get isPersistedResource(): any;
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
ngDoCheck(): void;
|
|
35
|
-
ngOnChanges(changes: any): void;
|
|
36
|
-
countOptionalFields(): void;
|
|
37
|
-
configureOptionalSections(): void;
|
|
38
|
-
ngAfterContentChecked(): void;
|
|
39
|
-
toggleOptionalFields(): void;
|
|
40
|
-
private buildExternalLinkForChild;
|
|
41
|
-
private procChildrenExternalLinks;
|
|
42
|
-
openChild(childResource: any, childModel?: any): Promise<void>;
|
|
43
|
-
private applyTheme;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaLayout, never>;
|
|
45
|
-
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; }; }, {}, never, never, false, never>;
|
|
46
|
-
}
|
package/lib/metaField/index.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { FieldAbstract } from '../fieldAbstract';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MetaFieldContentDirective {
|
|
5
|
-
viewContainerRef: ViewContainerRef;
|
|
6
|
-
constructor(viewContainerRef: ViewContainerRef);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaFieldContentDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MetaFieldContentDirective, "[metaFieldContent]", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
10
|
-
export declare class MetaField extends FieldAbstract implements OnInit {
|
|
11
|
-
private el;
|
|
12
|
-
meta: any;
|
|
13
|
-
parent: any;
|
|
14
|
-
integrationCode: any;
|
|
15
|
-
resourceType: any;
|
|
16
|
-
index: number;
|
|
17
|
-
scope: string;
|
|
18
|
-
preview: boolean;
|
|
19
|
-
theme: string;
|
|
20
|
-
overlayContainer: HTMLElement;
|
|
21
|
-
onChange: EventEmitter<any>;
|
|
22
|
-
onLeave: EventEmitter<any>;
|
|
23
|
-
fieldContent: MetaFieldContentDirective;
|
|
24
|
-
constructor(el: ElementRef);
|
|
25
|
-
ngOnInit(): Promise<void>;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaField, never>;
|
|
27
|
-
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; }; }, { "onChange": "onChange"; "onLeave": "onLeave"; }, never, never, false, never>;
|
|
28
|
-
}
|
package/lib/refDialog/index.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { MetaResourceService } from '../services/metaResource';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MetaRefDialog implements OnInit {
|
|
5
|
-
private el;
|
|
6
|
-
modal: HTMLElement;
|
|
7
|
-
onComplete: (result?: any) => undefined;
|
|
8
|
-
fullResource: any;
|
|
9
|
-
resources: any;
|
|
10
|
-
models: any;
|
|
11
|
-
reference: any;
|
|
12
|
-
currentResource: string;
|
|
13
|
-
services: any;
|
|
14
|
-
integrationCode: string;
|
|
15
|
-
resource: any;
|
|
16
|
-
metaResource: MetaResourceService;
|
|
17
|
-
integrationIcon: string;
|
|
18
|
-
preferResourceType: string;
|
|
19
|
-
theme: string;
|
|
20
|
-
constructor(el: ElementRef);
|
|
21
|
-
get isEditable(): boolean;
|
|
22
|
-
get isPersistent(): any;
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
close(): void;
|
|
25
|
-
dismiss(ev?: any): boolean;
|
|
26
|
-
onResourceDone(result: any): void;
|
|
27
|
-
selectResource(ev: any, resource: any): boolean;
|
|
28
|
-
keepOrder: (a: any) => any;
|
|
29
|
-
private keyEventListener;
|
|
30
|
-
private applyTheme;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaRefDialog, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MetaRefDialog, "ng-component", never, {}, {}, never, never, false, never>;
|
|
33
|
-
}
|
package/lib/resource/index.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
|
-
import { NgForm } from '@angular/forms';
|
|
3
|
-
import { MetaResourceService } from '../services/metaResource';
|
|
4
|
-
import { MetaContextService } from '../services/metaContext';
|
|
5
|
-
import { MetaMsgService } from '../services/metaMsg';
|
|
6
|
-
import { Subject } from 'rxjs';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class MetaResource implements OnInit, OnChanges {
|
|
9
|
-
private ref;
|
|
10
|
-
private el;
|
|
11
|
-
private metaResourceService;
|
|
12
|
-
private metaContext;
|
|
13
|
-
private metaMsgService;
|
|
14
|
-
resource: any;
|
|
15
|
-
model: any;
|
|
16
|
-
metaResourceServiceDelegated: MetaResourceService;
|
|
17
|
-
theme: string;
|
|
18
|
-
editMode: boolean;
|
|
19
|
-
done: EventEmitter<any>;
|
|
20
|
-
resourceChange: EventEmitter<any>;
|
|
21
|
-
resourceForm: NgForm;
|
|
22
|
-
integrationCode: string;
|
|
23
|
-
resourceType: string;
|
|
24
|
-
meta: any;
|
|
25
|
-
service: MetaResourceService;
|
|
26
|
-
currentLayoutId: any;
|
|
27
|
-
formErrors: any;
|
|
28
|
-
fieldsMap: any;
|
|
29
|
-
edit: boolean;
|
|
30
|
-
busy: boolean;
|
|
31
|
-
metaLoading: boolean;
|
|
32
|
-
generalError: string;
|
|
33
|
-
resourceMenuVisible: boolean;
|
|
34
|
-
contactsSuggestionsDone: boolean;
|
|
35
|
-
isEditable: boolean;
|
|
36
|
-
isPersistent: boolean;
|
|
37
|
-
lockedLayoutId: string;
|
|
38
|
-
resourceChanged: Subject<string>;
|
|
39
|
-
resourceVrn: string;
|
|
40
|
-
skipLayoutMatchCheck: boolean;
|
|
41
|
-
constructor(ref: ChangeDetectorRef, el: ElementRef, metaResourceService: MetaResourceService, metaContext: MetaContextService, metaMsgService: MetaMsgService);
|
|
42
|
-
get niceFields(): any;
|
|
43
|
-
get fieldNames(): string[];
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
ngOnChanges(changes: any): void;
|
|
46
|
-
setEditMode(): void;
|
|
47
|
-
loadMetadata(layoutId?: any, refresh?: boolean, ev?: any): boolean;
|
|
48
|
-
changeLayout(): void;
|
|
49
|
-
getDetails(): void;
|
|
50
|
-
performAutoFill(): void;
|
|
51
|
-
getFieldsMap(): void;
|
|
52
|
-
openResourceMenu(): void;
|
|
53
|
-
close(result?: any): void;
|
|
54
|
-
showParsedError(resourceForm: any, parsedError: any): void;
|
|
55
|
-
submit(resourceForm: any): void;
|
|
56
|
-
clearFormErrors(): void;
|
|
57
|
-
onFormChange(): void;
|
|
58
|
-
private onMenuClickout;
|
|
59
|
-
private suggestFieldProperty;
|
|
60
|
-
private execTransformer;
|
|
61
|
-
private markContactables;
|
|
62
|
-
private buildSubjectTemplate;
|
|
63
|
-
private buildContactsSuggestions;
|
|
64
|
-
private applyTheme;
|
|
65
|
-
private forceUiUpdate;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaResource, never>;
|
|
67
|
-
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>;
|
|
68
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { MetaResourceService } from '../services/metaResource';
|
|
3
|
-
import { MetaReferenceService } from '../services/metaReference';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MetaResourceCard implements OnInit {
|
|
6
|
-
private metaResource;
|
|
7
|
-
private referenceService;
|
|
8
|
-
private viewContainerRef;
|
|
9
|
-
resource: any;
|
|
10
|
-
model: any;
|
|
11
|
-
integrationCode: string;
|
|
12
|
-
constructor(metaResource: MetaResourceService, referenceService: MetaReferenceService, viewContainerRef: ViewContainerRef);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
open(reference: any, model?: any): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaResourceCard, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MetaResourceCard, "vgip-meta-resource-card", never, { "resource": { "alias": "resource"; "required": false; }; "model": { "alias": "model"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MetaContextService {
|
|
4
|
-
phoneNumber: string;
|
|
5
|
-
displayName: string;
|
|
6
|
-
defaultContactables: {
|
|
7
|
-
[integrationCode: string]: any;
|
|
8
|
-
};
|
|
9
|
-
workers: {
|
|
10
|
-
[integrationCode: string]: any;
|
|
11
|
-
};
|
|
12
|
-
contactables: {
|
|
13
|
-
[integrationCode: string]: any;
|
|
14
|
-
};
|
|
15
|
-
profiles: {
|
|
16
|
-
[integrationCode: string]: any;
|
|
17
|
-
};
|
|
18
|
-
vgipEventId: string;
|
|
19
|
-
vgipUserId: string;
|
|
20
|
-
_context: any;
|
|
21
|
-
uid: string;
|
|
22
|
-
subject: string;
|
|
23
|
-
onClick2Dial: (phoneNumber: any, vrn?: string) => void;
|
|
24
|
-
onContextChange: BehaviorSubject<any>;
|
|
25
|
-
constructor();
|
|
26
|
-
get context(): any;
|
|
27
|
-
set context(value: any);
|
|
28
|
-
set(context?: any): void;
|
|
29
|
-
setOnClick2Dial(callback: (phoneNumber: any, vrn?: string) => void): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaContextService, never>;
|
|
31
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MetaContextService>;
|
|
32
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MetaContextService } from '../metaContext';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MetaMsgService {
|
|
4
|
-
private metaContext;
|
|
5
|
-
private msgCallbacks;
|
|
6
|
-
private msgListeneres;
|
|
7
|
-
constructor(metaContext: MetaContextService);
|
|
8
|
-
sendMessage(provider: string, msg: any, callback: (response: any) => void, isLong?: boolean): void;
|
|
9
|
-
private cancelMsgListener;
|
|
10
|
-
private workerMsgListener;
|
|
11
|
-
private removeExpiredListeners;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaMsgService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MetaMsgService>;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MetaReferenceService {
|
|
5
|
-
private router;
|
|
6
|
-
dialogs: Array<any>;
|
|
7
|
-
constructor(router: Router);
|
|
8
|
-
openDialog(componentRef: any, metaResource: any, integrationCode: any, reference: any, resource: any, preview?: boolean, preferResourceType?: any, theme?: string, overlayContainer?: HTMLElement): Observable<unknown>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaReferenceService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MetaReferenceService>;
|
|
11
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { MetaHttpClient } from './metaHttpClient';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IMetaParentConfig {
|
|
4
|
-
resourceType: string;
|
|
5
|
-
externalId: string;
|
|
6
|
-
parent?: IMetaParentConfig;
|
|
7
|
-
}
|
|
8
|
-
export declare class IMetaResourceConfig {
|
|
9
|
-
integrationCode: string;
|
|
10
|
-
resourceType: string;
|
|
11
|
-
externalId?: string;
|
|
12
|
-
parent?: IMetaParentConfig;
|
|
13
|
-
urlTemplate?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare class MetaResourceService {
|
|
16
|
-
private httpClient;
|
|
17
|
-
baseIntegrationUrl: string;
|
|
18
|
-
baseResourceUrl: string;
|
|
19
|
-
newResourceUrl: string;
|
|
20
|
-
id: string;
|
|
21
|
-
constructor(httpClient: MetaHttpClient);
|
|
22
|
-
setConfig(config: IMetaResourceConfig): void;
|
|
23
|
-
new(config: IMetaResourceConfig): MetaResourceService;
|
|
24
|
-
searchIntegration(query: any, scope?: string): import("rxjs").Observable<unknown>;
|
|
25
|
-
getMetadata(layoutId?: any, refresh?: any): import("rxjs").Observable<unknown>;
|
|
26
|
-
getDetails(externalId: any, extraParams?: any): import("rxjs").Observable<unknown>;
|
|
27
|
-
getByPath(path: any): import("rxjs").Observable<unknown>;
|
|
28
|
-
save(payload: any): import("rxjs").Observable<unknown>;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaResourceService, never>;
|
|
30
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MetaResourceService>;
|
|
31
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MetaHttpClient {
|
|
4
|
-
private httpClient;
|
|
5
|
-
constructor(httpClient: HttpClient);
|
|
6
|
-
delete(url: string, queryParams?: {}): import("rxjs").Observable<Object>;
|
|
7
|
-
get<T>(url: string, queryParams?: {}): import("rxjs").Observable<T>;
|
|
8
|
-
post<T>(url: string, body: any, queryParams?: {}): import("rxjs").Observable<T>;
|
|
9
|
-
put<T>(url: string, body: any, queryParams?: {}): import("rxjs").Observable<T>;
|
|
10
|
-
patch<T>(url: string, body: any, queryParams?: {}): import("rxjs").Observable<T>;
|
|
11
|
-
private constructUrl;
|
|
12
|
-
private prepareOptions;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaHttpClient, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MetaHttpClient>;
|
|
15
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface IMetaTrackerEvent {
|
|
4
|
-
integration?: string;
|
|
5
|
-
resource?: string;
|
|
6
|
-
field?: string;
|
|
7
|
-
action?: string;
|
|
8
|
-
value?: string;
|
|
9
|
-
isContactable?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare class MetaTrackerService {
|
|
12
|
-
integrationCode: string;
|
|
13
|
-
resourceType: string;
|
|
14
|
-
events: EventEmitter<IMetaTrackerEvent>;
|
|
15
|
-
constructor();
|
|
16
|
-
emit(event: IMetaTrackerEvent): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MetaTrackerService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MetaTrackerService>;
|
|
19
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IndexedDbStore } from '../../common/utils/indexedDbStore';
|
|
2
|
-
import { MetaContextService } from '../metaContext';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface IDraft {
|
|
5
|
-
id: string | number;
|
|
6
|
-
integrationCode: string;
|
|
7
|
-
resourceType: string;
|
|
8
|
-
contextUid: string;
|
|
9
|
-
timestamp: number;
|
|
10
|
-
data?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare class ResourceDraftsService {
|
|
13
|
-
private context;
|
|
14
|
-
store: IndexedDbStore;
|
|
15
|
-
db: any;
|
|
16
|
-
constructor(context: MetaContextService);
|
|
17
|
-
init(cb?: (err: any, db?: any) => void): void;
|
|
18
|
-
list(integrationCode: any, resourceType: any, cb: (err: any, drafts?: Array<IDraft>) => void): void;
|
|
19
|
-
save(integrationCode: any, resourceType: any, draft: any, cb?: (err: any, draft?: IDraft) => void): void;
|
|
20
|
-
findOne(integrationCode: any, resourceType: any, cb: (err: any, drafts?: IDraft) => void): void;
|
|
21
|
-
find(params: any, cb: (err: any, drafts?: Array<IDraft>) => void): void;
|
|
22
|
-
findById(draftId: any, cb?: (err: any, drafts?: IDraft) => void): void;
|
|
23
|
-
destroyDraft(draft: any, cb?: (err: any, drafts?: IDraft) => void): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceDraftsService, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceDraftsService>;
|
|
26
|
-
}
|
package/public-api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './lib';
|