@pepperi-addons/ngx-composite-lib 0.0.16-loader.8 → 0.4.0-angular14.3
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/color-settings/color-settings.component.d.ts +25 -25
- package/color-settings/color-settings.model.d.ts +5 -5
- package/color-settings/color-settings.module.d.ts +12 -12
- package/color-settings/{pepperi-addons-ngx-composite-lib-color-settings.d.ts → index.d.ts} +5 -5
- package/color-settings/public-api.d.ts +3 -3
- package/core/common/directives/index.d.ts +1 -1
- package/core/common/directives/public-api.d.ts +1 -1
- package/core/common/directives/reset-configuration-field.directive.d.ts +39 -39
- package/core/common/index.d.ts +1 -1
- package/core/common/public-api.d.ts +2 -2
- package/core/common/services/dimx.service.d.ts +32 -32
- package/core/common/services/index.d.ts +1 -1
- package/core/common/services/public-api.d.ts +2 -2
- package/core/common/services/utilities.service.d.ts +6 -6
- package/core/index.d.ts +1 -1
- package/core/public-api.d.ts +1 -1
- package/data-view-builder/data-view-builder.component.d.ts +35 -35
- package/data-view-builder/data-view-builder.model.d.ts +1 -1
- package/data-view-builder/data-view-builder.module.d.ts +23 -23
- package/data-view-builder/data-view-builder.service.d.ts +14 -14
- package/data-view-builder/{pepperi-addons-ngx-composite-lib-data-view-builder.d.ts → index.d.ts} +5 -5
- package/data-view-builder/menu-data-view/menu-data-view.component.d.ts +36 -36
- package/data-view-builder/public-api.d.ts +3 -3
- package/{esm2015/color-settings/color-settings.component.js → esm2020/color-settings/color-settings.component.mjs} +87 -91
- package/{esm2015/color-settings/color-settings.model.js → esm2020/color-settings/color-settings.model.mjs} +8 -8
- package/{esm2015/color-settings/color-settings.module.js → esm2020/color-settings/color-settings.module.mjs} +38 -40
- package/{esm2015/color-settings/pepperi-addons-ngx-composite-lib-color-settings.js → esm2020/color-settings/pepperi-addons-ngx-composite-lib-color-settings.mjs} +4 -4
- package/{esm2015/color-settings/public-api.js → esm2020/color-settings/public-api.mjs} +6 -6
- package/{esm2015/core/common/directives/index.js → esm2020/core/common/directives/index.mjs} +4 -4
- package/{esm2015/core/common/directives/public-api.js → esm2020/core/common/directives/public-api.mjs} +4 -4
- package/esm2020/core/common/directives/reset-configuration-field.directive.mjs +153 -0
- package/{esm2015/core/common/index.js → esm2020/core/common/index.mjs} +4 -4
- package/{esm2015/core/common/public-api.js → esm2020/core/common/public-api.mjs} +5 -5
- package/esm2020/core/common/services/dimx.service.mjs +48 -0
- package/{esm2015/core/common/services/index.js → esm2020/core/common/services/index.mjs} +4 -4
- package/{esm2015/core/common/services/public-api.js → esm2020/core/common/services/public-api.mjs} +5 -5
- package/{esm2015/core/common/services/utilities.service.js → esm2020/core/common/services/utilities.service.mjs} +18 -18
- package/{esm2015/core/index.js → esm2020/core/index.mjs} +4 -4
- package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +4 -4
- package/esm2020/data-view-builder/data-view-builder.component.mjs +117 -0
- package/{esm2015/data-view-builder/data-view-builder.model.js → esm2020/data-view-builder/data-view-builder.model.mjs} +1 -1
- package/{esm2015/data-view-builder/data-view-builder.module.js → esm2020/data-view-builder/data-view-builder.module.mjs} +80 -82
- package/{esm2015/data-view-builder/data-view-builder.service.js → esm2020/data-view-builder/data-view-builder.service.mjs} +38 -38
- package/esm2020/data-view-builder/menu-data-view/menu-data-view.component.mjs +117 -0
- package/{esm2015/data-view-builder/pepperi-addons-ngx-composite-lib-data-view-builder.js → esm2020/data-view-builder/pepperi-addons-ngx-composite-lib-data-view-builder.mjs} +4 -4
- package/{esm2015/data-view-builder/public-api.js → esm2020/data-view-builder/public-api.mjs} +6 -6
- package/esm2020/file-status-panel/file-status-panel.component.mjs +35 -0
- package/{esm2015/file-status-panel/file-status-panel.model.js → esm2020/file-status-panel/file-status-panel.model.mjs} +8 -8
- package/{esm2015/file-status-panel/file-status-panel.module.js → esm2020/file-status-panel/file-status-panel.module.mjs} +54 -56
- package/{esm2015/file-status-panel/pepperi-addons-ngx-composite-lib-file-status-panel.js → esm2020/file-status-panel/pepperi-addons-ngx-composite-lib-file-status-panel.mjs} +4 -4
- package/{esm2015/file-status-panel/public-api.js → esm2020/file-status-panel/public-api.mjs} +6 -6
- package/esm2020/generic-form/generic-form.component.mjs +184 -0
- package/{esm2015/generic-form/generic-form.model.js → esm2020/generic-form/generic-form.model.mjs} +1 -1
- package/{esm2015/generic-form/generic-form.module.js → esm2020/generic-form/generic-form.module.mjs} +68 -74
- package/{esm2015/generic-form/generic-form.service.js → esm2020/generic-form/generic-form.service.mjs} +67 -67
- package/{esm2015/generic-form/pepperi-addons-ngx-composite-lib-generic-form.js → esm2020/generic-form/pepperi-addons-ngx-composite-lib-generic-form.mjs} +4 -4
- package/{esm2015/generic-form/public-api.js → esm2020/generic-form/public-api.mjs} +7 -7
- package/esm2020/generic-list/generic-list.component.mjs +425 -0
- package/{esm2015/generic-list/generic-list.model.js → esm2020/generic-list/generic-list.model.mjs} +1 -1
- package/{esm2015/generic-list/generic-list.module.js → esm2020/generic-list/generic-list.module.mjs} +70 -72
- package/esm2020/generic-list/generic-list.service.mjs +125 -0
- package/{esm2015/generic-list/pepperi-addons-ngx-composite-lib-generic-list.js → esm2020/generic-list/pepperi-addons-ngx-composite-lib-generic-list.mjs} +4 -4
- package/{esm2015/generic-list/public-api.js → esm2020/generic-list/public-api.mjs} +7 -7
- package/esm2020/group-buttons-settings/group-buttons-settings.component.mjs +130 -0
- package/{esm2015/group-buttons-settings/group-buttons-settings.model.js → esm2020/group-buttons-settings/group-buttons-settings.model.mjs} +1 -1
- package/{esm2015/group-buttons-settings/group-buttons-settings.module.js → esm2020/group-buttons-settings/group-buttons-settings.module.mjs} +48 -50
- package/{esm2015/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.js → esm2020/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs} +4 -4
- package/{esm2015/group-buttons-settings/public-api.js → esm2020/group-buttons-settings/public-api.mjs} +6 -6
- package/{esm2015/ngx-composite-lib.module.js → esm2020/ngx-composite-lib.module.mjs} +54 -56
- package/{esm2015/pepperi-addons-ngx-composite-lib.js → esm2020/pepperi-addons-ngx-composite-lib.mjs} +4 -4
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +5 -5
- package/{esm2015/shadow-settings/pepperi-addons-ngx-composite-lib-shadow-settings.js → esm2020/shadow-settings/pepperi-addons-ngx-composite-lib-shadow-settings.mjs} +4 -4
- package/{esm2015/shadow-settings/public-api.js → esm2020/shadow-settings/public-api.mjs} +6 -6
- package/{esm2015/shadow-settings/shadow-settings.component.js → esm2020/shadow-settings/shadow-settings.component.mjs} +69 -73
- package/{esm2015/shadow-settings/shadow-settings.model.js → esm2020/shadow-settings/shadow-settings.model.mjs} +7 -7
- package/{esm2015/shadow-settings/shadow-settings.module.js → esm2020/shadow-settings/shadow-settings.module.mjs} +42 -44
- package/fesm2015/{pepperi-addons-ngx-composite-lib-color-settings.js → pepperi-addons-ngx-composite-lib-color-settings.mjs} +117 -123
- package/fesm2015/pepperi-addons-ngx-composite-lib-color-settings.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-composite-lib-data-view-builder.mjs +350 -0
- package/fesm2015/pepperi-addons-ngx-composite-lib-data-view-builder.mjs.map +1 -0
- package/fesm2015/pepperi-addons-ngx-composite-lib-file-status-panel.mjs +107 -0
- package/fesm2015/pepperi-addons-ngx-composite-lib-file-status-panel.mjs.map +1 -0
- package/fesm2015/{pepperi-addons-ngx-composite-lib-generic-form.js → pepperi-addons-ngx-composite-lib-generic-form.mjs} +295 -305
- package/fesm2015/pepperi-addons-ngx-composite-lib-generic-form.mjs.map +1 -0
- package/fesm2015/{pepperi-addons-ngx-composite-lib-generic-list.js → pepperi-addons-ngx-composite-lib-generic-list.mjs} +605 -609
- package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.mjs.map +1 -0
- package/fesm2015/{pepperi-addons-ngx-composite-lib-group-buttons-settings.js → pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs} +168 -174
- package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs.map +1 -0
- package/fesm2015/{pepperi-addons-ngx-composite-lib-shadow-settings.js → pepperi-addons-ngx-composite-lib-shadow-settings.mjs} +102 -108
- package/fesm2015/pepperi-addons-ngx-composite-lib-shadow-settings.mjs.map +1 -0
- package/fesm2015/{pepperi-addons-ngx-composite-lib.js → pepperi-addons-ngx-composite-lib.mjs} +254 -256
- package/fesm2015/pepperi-addons-ngx-composite-lib.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-color-settings.mjs +141 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-color-settings.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-data-view-builder.mjs +348 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-data-view-builder.mjs.map +1 -0
- package/{fesm2015/pepperi-addons-ngx-composite-lib-file-status-panel.js → fesm2020/pepperi-addons-ngx-composite-lib-file-status-panel.mjs} +82 -88
- package/fesm2020/pepperi-addons-ngx-composite-lib-file-status-panel.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-generic-form.mjs +315 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-generic-form.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-generic-list.mjs +619 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-generic-list.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs +186 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-shadow-settings.mjs +126 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib-shadow-settings.mjs.map +1 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib.mjs +304 -0
- package/fesm2020/pepperi-addons-ngx-composite-lib.mjs.map +1 -0
- package/file-status-panel/file-status-panel.component.d.ts +14 -14
- package/file-status-panel/file-status-panel.model.d.ts +7 -7
- package/file-status-panel/file-status-panel.module.d.ts +17 -17
- package/file-status-panel/{pepperi-addons-ngx-composite-lib-file-status-panel.d.ts → index.d.ts} +5 -5
- package/file-status-panel/public-api.d.ts +3 -3
- package/generic-form/generic-form.component.d.ts +46 -46
- package/generic-form/generic-form.model.d.ts +34 -34
- package/generic-form/generic-form.module.d.ts +13 -13
- package/generic-form/generic-form.service.d.ts +16 -16
- package/generic-form/index.d.ts +5 -1
- package/generic-form/public-api.d.ts +4 -4
- package/generic-list/generic-list.component.d.ts +101 -101
- package/generic-list/generic-list.model.d.ts +54 -54
- package/generic-list/generic-list.module.d.ts +18 -18
- package/generic-list/generic-list.service.d.ts +43 -43
- package/generic-list/{pepperi-addons-ngx-composite-lib-generic-list.d.ts → index.d.ts} +5 -5
- package/generic-list/public-api.d.ts +4 -4
- package/group-buttons-settings/group-buttons-settings.component.d.ts +33 -33
- package/group-buttons-settings/group-buttons-settings.model.d.ts +1 -1
- package/group-buttons-settings/group-buttons-settings.module.d.ts +15 -15
- package/group-buttons-settings/{pepperi-addons-ngx-composite-lib-group-buttons-settings.d.ts → index.d.ts} +5 -5
- package/group-buttons-settings/public-api.d.ts +3 -3
- package/{pepperi-addons-ngx-composite-lib.d.ts → index.d.ts} +5 -5
- package/ngx-composite-lib.module.d.ts +13 -13
- package/package.json +89 -19
- package/public-api.d.ts +2 -2
- package/shadow-settings/{pepperi-addons-ngx-composite-lib-shadow-settings.d.ts → index.d.ts} +5 -5
- package/shadow-settings/public-api.d.ts +3 -3
- package/shadow-settings/shadow-settings.component.d.ts +23 -23
- package/shadow-settings/shadow-settings.model.d.ts +7 -7
- package/shadow-settings/shadow-settings.module.d.ts +13 -13
- package/src/core/style/components/data-view-builder.scss +3 -3
- package/styling.scss +1 -1
- package/bundles/pepperi-addons-ngx-composite-lib-color-settings.umd.js +0 -181
- package/bundles/pepperi-addons-ngx-composite-lib-color-settings.umd.js.map +0 -1
- package/bundles/pepperi-addons-ngx-composite-lib-data-view-builder.umd.js +0 -393
- package/bundles/pepperi-addons-ngx-composite-lib-data-view-builder.umd.js.map +0 -1
- package/bundles/pepperi-addons-ngx-composite-lib-file-status-panel.umd.js +0 -137
- package/bundles/pepperi-addons-ngx-composite-lib-file-status-panel.umd.js.map +0 -1
- package/bundles/pepperi-addons-ngx-composite-lib-generic-form.umd.js +0 -697
- package/bundles/pepperi-addons-ngx-composite-lib-generic-form.umd.js.map +0 -1
- package/bundles/pepperi-addons-ngx-composite-lib-generic-list.umd.js +0 -1060
- package/bundles/pepperi-addons-ngx-composite-lib-generic-list.umd.js.map +0 -1
- package/bundles/pepperi-addons-ngx-composite-lib-group-buttons-settings.umd.js +0 -225
- package/bundles/pepperi-addons-ngx-composite-lib-group-buttons-settings.umd.js.map +0 -1
- package/bundles/pepperi-addons-ngx-composite-lib-shadow-settings.umd.js +0 -165
- package/bundles/pepperi-addons-ngx-composite-lib-shadow-settings.umd.js.map +0 -1
- package/bundles/pepperi-addons-ngx-composite-lib.umd.js +0 -666
- package/bundles/pepperi-addons-ngx-composite-lib.umd.js.map +0 -1
- package/color-settings/package.json +0 -10
- package/data-view-builder/package.json +0 -10
- package/esm2015/core/common/directives/reset-configuration-field.directive.js +0 -157
- package/esm2015/core/common/services/dimx.service.js +0 -50
- package/esm2015/data-view-builder/data-view-builder.component.js +0 -122
- package/esm2015/data-view-builder/menu-data-view/menu-data-view.component.js +0 -122
- package/esm2015/file-status-panel/file-status-panel.component.js +0 -39
- package/esm2015/generic-form/generic-form.component.js +0 -190
- package/esm2015/generic-form/index.js +0 -5
- package/esm2015/generic-list/generic-list.component.js +0 -443
- package/esm2015/generic-list/generic-list.service.js +0 -127
- package/esm2015/group-buttons-settings/group-buttons-settings.component.js +0 -135
- package/fesm2015/pepperi-addons-ngx-composite-lib-color-settings.js.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-data-view-builder.js +0 -360
- package/fesm2015/pepperi-addons-ngx-composite-lib-data-view-builder.js.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-file-status-panel.js.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-generic-form.js.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.js.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.js.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib-shadow-settings.js.map +0 -1
- package/fesm2015/pepperi-addons-ngx-composite-lib.js.map +0 -1
- package/file-status-panel/package.json +0 -10
- package/generic-form/package.json +0 -10
- package/generic-form/pepperi-addons-ngx-composite-lib-generic-form.d.ts +0 -5
- package/generic-list/package.json +0 -13
- package/group-buttons-settings/package.json +0 -10
- package/shadow-settings/package.json +0 -10
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Directive, Input, Injectable, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import * as i1 from '@pepperi-addons/ngx-lib/icon';
|
|
5
|
+
import { pepIconDeviceResponsive, PepIconModule } from '@pepperi-addons/ngx-lib/icon';
|
|
6
|
+
import * as i2 from '@ngx-translate/core';
|
|
7
|
+
import * as i1$1 from '@pepperi-addons/ngx-lib/remote-loader';
|
|
8
|
+
import { PepRemoteLoaderModule } from '@pepperi-addons/ngx-lib/remote-loader';
|
|
9
|
+
|
|
10
|
+
class PepResetConfigurationFieldDirective {
|
|
11
|
+
constructor(renderer, element, pepIconService, translate) {
|
|
12
|
+
this.renderer = renderer;
|
|
13
|
+
this.element = element;
|
|
14
|
+
this.pepIconService = pepIconService;
|
|
15
|
+
this.translate = translate;
|
|
16
|
+
this.resetFieldKey = '';
|
|
17
|
+
this.resetHostEvents = new EventEmitter();
|
|
18
|
+
this._disabled = false;
|
|
19
|
+
this._hideReset = false;
|
|
20
|
+
this._dir = 'ltr';
|
|
21
|
+
// styleType: PepStyleType = 'weak';
|
|
22
|
+
// styleStateType: PepStyleStateType = 'system';
|
|
23
|
+
this.sizeType = 'sm';
|
|
24
|
+
this.resetPosition = 'bottom-end';
|
|
25
|
+
// Create the buton container.
|
|
26
|
+
this.buttonContainer = this.renderer.createElement('div');
|
|
27
|
+
this.translate.get('GENERAL.RESET_HINT').toPromise().then(hint => {
|
|
28
|
+
this.renderer.setAttribute(this.buttonContainer, 'title', hint);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
set disabled(value) {
|
|
32
|
+
this._disabled = value;
|
|
33
|
+
// this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());
|
|
34
|
+
this.setButtonStyle(this.resetButton);
|
|
35
|
+
}
|
|
36
|
+
get disabled() {
|
|
37
|
+
return this._disabled;
|
|
38
|
+
}
|
|
39
|
+
set hideReset(value) {
|
|
40
|
+
this._hideReset = value;
|
|
41
|
+
// this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());
|
|
42
|
+
this.setButtonStyle(this.resetButton);
|
|
43
|
+
}
|
|
44
|
+
get hideReset() {
|
|
45
|
+
return this._hideReset;
|
|
46
|
+
}
|
|
47
|
+
set dir(value) {
|
|
48
|
+
this._dir = value;
|
|
49
|
+
this.renderer.setStyle(this.buttonContainer, 'float', this.getFloat());
|
|
50
|
+
}
|
|
51
|
+
get dir() {
|
|
52
|
+
return this._dir;
|
|
53
|
+
}
|
|
54
|
+
getVisibility() {
|
|
55
|
+
return this.disabled || this.hideReset ? 'hidden' : 'visible';
|
|
56
|
+
}
|
|
57
|
+
getFloat() {
|
|
58
|
+
return this.dir === 'rtl' ? 'left' : 'right';
|
|
59
|
+
}
|
|
60
|
+
setButtonContainerStyle() {
|
|
61
|
+
const css = `
|
|
62
|
+
display: flex;
|
|
63
|
+
justify-content: flex-end;
|
|
64
|
+
float: ${this.getFloat()};
|
|
65
|
+
margin-bottom: 1rem;
|
|
66
|
+
`;
|
|
67
|
+
this.buttonContainer.setAttribute("style", css);
|
|
68
|
+
}
|
|
69
|
+
setButtonStyle(button) {
|
|
70
|
+
if (button) {
|
|
71
|
+
const css = `
|
|
72
|
+
display: flex !important;
|
|
73
|
+
align-items: center !important;
|
|
74
|
+
height: 1rem !important;
|
|
75
|
+
line-height: unset !important;
|
|
76
|
+
padding: unset !important;
|
|
77
|
+
background: unset !important;
|
|
78
|
+
font-size: var(--pep-button-2xs-font-size) !important;
|
|
79
|
+
visibility: ${this.getVisibility()};
|
|
80
|
+
`;
|
|
81
|
+
button.setAttribute("style", css);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
setSvgStyle(svg) {
|
|
85
|
+
const css = `
|
|
86
|
+
transform: rotate(270deg);
|
|
87
|
+
width: 0.75rem;
|
|
88
|
+
`;
|
|
89
|
+
svg.setAttribute('style', css);
|
|
90
|
+
}
|
|
91
|
+
async getResetElement() {
|
|
92
|
+
this.setButtonContainerStyle();
|
|
93
|
+
this.renderer.addClass(this.buttonContainer, 'pep-reset-configuration-field-container');
|
|
94
|
+
// Append button
|
|
95
|
+
this.resetButton = this.renderer.createElement('button');
|
|
96
|
+
await this.translate.get('ACTIONS.RESET').toPromise().then(resetText => {
|
|
97
|
+
const buttonText = this.renderer.createText(resetText);
|
|
98
|
+
this.renderer.appendChild(this.resetButton, buttonText);
|
|
99
|
+
});
|
|
100
|
+
this.renderer.addClass(this.resetButton, 'pep-button');
|
|
101
|
+
// this.renderer.addClass(button, this.styleType);
|
|
102
|
+
// this.renderer.addClass(button, this.styleStateType);
|
|
103
|
+
this.renderer.addClass(this.resetButton, 'color-link');
|
|
104
|
+
this.renderer.addClass(this.resetButton, this.sizeType);
|
|
105
|
+
this.setButtonStyle(this.resetButton);
|
|
106
|
+
// this.renderer.addClass(button, 'reset-configuration-field-button');
|
|
107
|
+
this.unlistener = this.renderer.listen(this.resetButton, 'click', () => this.onResetClicked());
|
|
108
|
+
this.renderer.appendChild(this.buttonContainer, this.resetButton);
|
|
109
|
+
// Append svg
|
|
110
|
+
const svgIcon = this.pepIconService.getSvgIcon(pepIconDeviceResponsive.name);
|
|
111
|
+
this.setSvgStyle(svgIcon);
|
|
112
|
+
this.renderer.appendChild(this.buttonContainer, svgIcon);
|
|
113
|
+
return this.buttonContainer;
|
|
114
|
+
}
|
|
115
|
+
ngAfterViewInit() {
|
|
116
|
+
this.getResetElement().then(element => {
|
|
117
|
+
if (this.resetPosition === 'top-end' && this.element.nativeElement.children?.length > 0) {
|
|
118
|
+
this.renderer.insertBefore(this.element.nativeElement, element, this.element.nativeElement.children[0]);
|
|
119
|
+
}
|
|
120
|
+
else {
|
|
121
|
+
this.renderer.appendChild(this.element.nativeElement, element);
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
ngOnDestroy() {
|
|
126
|
+
if (this.unlistener) {
|
|
127
|
+
this.unlistener();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
onResetClicked() {
|
|
131
|
+
this.resetHostEvents.emit({
|
|
132
|
+
action: 'set-configuration-field',
|
|
133
|
+
key: this.resetFieldKey,
|
|
134
|
+
value: undefined
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
PepResetConfigurationFieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepResetConfigurationFieldDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.PepIconService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
139
|
+
PepResetConfigurationFieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: PepResetConfigurationFieldDirective, selector: "[pepResetConfigurationField]", inputs: { resetFieldKey: ["pepResetConfigurationField", "resetFieldKey"], resetHostEvents: "resetHostEvents", disabled: "disabled", hideReset: "hideReset", dir: "dir" }, ngImport: i0 });
|
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepResetConfigurationFieldDirective, decorators: [{
|
|
141
|
+
type: Directive,
|
|
142
|
+
args: [{
|
|
143
|
+
selector: '[pepResetConfigurationField]',
|
|
144
|
+
}]
|
|
145
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.PepIconService }, { type: i2.TranslateService }]; }, propDecorators: { resetFieldKey: [{
|
|
146
|
+
type: Input,
|
|
147
|
+
args: ['pepResetConfigurationField']
|
|
148
|
+
}], resetHostEvents: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}], disabled: [{
|
|
151
|
+
type: Input
|
|
152
|
+
}], hideReset: [{
|
|
153
|
+
type: Input
|
|
154
|
+
}], dir: [{
|
|
155
|
+
type: Input
|
|
156
|
+
}] } });
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
This service is for utillity usege.
|
|
160
|
+
*/
|
|
161
|
+
class PepCompositeLibUtilitiesService {
|
|
162
|
+
constructor() {
|
|
163
|
+
//
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
PepCompositeLibUtilitiesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
167
|
+
PepCompositeLibUtilitiesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, providedIn: 'root' });
|
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, decorators: [{
|
|
169
|
+
type: Injectable,
|
|
170
|
+
args: [{
|
|
171
|
+
providedIn: 'root',
|
|
172
|
+
}]
|
|
173
|
+
}], ctorParameters: function () { return []; } });
|
|
174
|
+
|
|
175
|
+
class PepDIMXHelperService {
|
|
176
|
+
constructor(addonBlockLoaderService) {
|
|
177
|
+
this.addonBlockLoaderService = addonBlockLoaderService;
|
|
178
|
+
}
|
|
179
|
+
register(viewContainerRef, dimxHostObject, onDIMXProcessDoneCallback) {
|
|
180
|
+
this.addonBlockLoaderService.loadAddonBlockInContainer({
|
|
181
|
+
container: viewContainerRef,
|
|
182
|
+
name: 'DIMX',
|
|
183
|
+
hostObject: dimxHostObject,
|
|
184
|
+
hostEventsCallback: (event) => {
|
|
185
|
+
if (event.action === 'DIMXFunctionsRegister') {
|
|
186
|
+
this.dimxFunctions = event.value;
|
|
187
|
+
}
|
|
188
|
+
else if (event.action === 'DIMXProcessDone') {
|
|
189
|
+
onDIMXProcessDoneCallback(event.value);
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
console.error('Unknown event action: ' + event.action);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
import(options) {
|
|
198
|
+
if (typeof (this.dimxFunctions?.DIMXImport) === 'function') {
|
|
199
|
+
this.dimxFunctions.DIMXImport(options);
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
console.error('DIMXImport function not found, are you registered?');
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
export(options) {
|
|
206
|
+
if (typeof (this.dimxFunctions?.DIMXExport) === 'function') {
|
|
207
|
+
this.dimxFunctions.DIMXExport(options);
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
console.error('DIMXExport function not found, are you registered?');
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
PepDIMXHelperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService, deps: [{ token: i1$1.PepAddonBlockLoaderService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
215
|
+
PepDIMXHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService });
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService, decorators: [{
|
|
217
|
+
type: Injectable
|
|
218
|
+
}], ctorParameters: function () { return [{ type: i1$1.PepAddonBlockLoaderService }]; } });
|
|
219
|
+
|
|
220
|
+
/*
|
|
221
|
+
* Public API Surface of ngx-composite-lib/core/common/services
|
|
222
|
+
*/
|
|
223
|
+
|
|
224
|
+
/*
|
|
225
|
+
* export from ngx-composite-lib/core/common/services
|
|
226
|
+
*/
|
|
227
|
+
|
|
228
|
+
const utilitiesList = [
|
|
229
|
+
PepResetConfigurationFieldDirective
|
|
230
|
+
];
|
|
231
|
+
class PepNgxCompositeLibModule {
|
|
232
|
+
constructor(pepIconRegistry) {
|
|
233
|
+
this.pepIconRegistry = pepIconRegistry;
|
|
234
|
+
this.pepIconRegistry.registerIcons([
|
|
235
|
+
pepIconDeviceResponsive
|
|
236
|
+
]);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
PepNgxCompositeLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, deps: [{ token: i1.PepIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
240
|
+
PepNgxCompositeLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, declarations: [PepResetConfigurationFieldDirective], imports: [CommonModule,
|
|
241
|
+
PepIconModule,
|
|
242
|
+
PepRemoteLoaderModule], exports: [PepResetConfigurationFieldDirective] });
|
|
243
|
+
PepNgxCompositeLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, providers: [
|
|
244
|
+
PepDIMXHelperService,
|
|
245
|
+
PepCompositeLibUtilitiesService
|
|
246
|
+
], imports: [CommonModule,
|
|
247
|
+
PepIconModule,
|
|
248
|
+
PepRemoteLoaderModule] });
|
|
249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, decorators: [{
|
|
250
|
+
type: NgModule,
|
|
251
|
+
args: [{
|
|
252
|
+
declarations: [
|
|
253
|
+
utilitiesList
|
|
254
|
+
],
|
|
255
|
+
imports: [
|
|
256
|
+
CommonModule,
|
|
257
|
+
PepIconModule,
|
|
258
|
+
PepRemoteLoaderModule,
|
|
259
|
+
],
|
|
260
|
+
exports: [
|
|
261
|
+
utilitiesList
|
|
262
|
+
// TranslateModule
|
|
263
|
+
],
|
|
264
|
+
providers: [
|
|
265
|
+
PepDIMXHelperService,
|
|
266
|
+
PepCompositeLibUtilitiesService
|
|
267
|
+
]
|
|
268
|
+
}]
|
|
269
|
+
}], ctorParameters: function () { return [{ type: i1.PepIconRegistry }]; } });
|
|
270
|
+
|
|
271
|
+
/*
|
|
272
|
+
* Public API Surface of ngx-composite-lib/core/common/directives
|
|
273
|
+
*/
|
|
274
|
+
|
|
275
|
+
/*
|
|
276
|
+
* export from ngx-composite-lib/core/common/directives
|
|
277
|
+
*/
|
|
278
|
+
|
|
279
|
+
/*
|
|
280
|
+
* Public API Surface of ngx-composite-lib/core/common
|
|
281
|
+
*/
|
|
282
|
+
|
|
283
|
+
/*
|
|
284
|
+
* export from ngx-composite-lib/core/common
|
|
285
|
+
*/
|
|
286
|
+
|
|
287
|
+
/*
|
|
288
|
+
* Public API Surface of ngx-composite-lib/core
|
|
289
|
+
*/
|
|
290
|
+
|
|
291
|
+
/*
|
|
292
|
+
* export from ngx-composite-lib/core
|
|
293
|
+
*/
|
|
294
|
+
|
|
295
|
+
/*
|
|
296
|
+
* Public API Surface of ngx-composite-lib
|
|
297
|
+
*/
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Generated bundle index. Do not edit.
|
|
301
|
+
*/
|
|
302
|
+
|
|
303
|
+
export { PepCompositeLibUtilitiesService, PepDIMXHelperService, PepNgxCompositeLibModule, PepResetConfigurationFieldDirective };
|
|
304
|
+
//# sourceMappingURL=pepperi-addons-ngx-composite-lib.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pepperi-addons-ngx-composite-lib.mjs","sources":["../../../projects/ngx-composite-lib/src/core/common/directives/reset-configuration-field.directive.ts","../../../projects/ngx-composite-lib/src/core/common/services/utilities.service.ts","../../../projects/ngx-composite-lib/src/core/common/services/dimx.service.ts","../../../projects/ngx-composite-lib/src/core/common/services/public-api.ts","../../../projects/ngx-composite-lib/src/core/common/services/index.ts","../../../projects/ngx-composite-lib/src/ngx-composite-lib.module.ts","../../../projects/ngx-composite-lib/src/core/common/directives/public-api.ts","../../../projects/ngx-composite-lib/src/core/common/directives/index.ts","../../../projects/ngx-composite-lib/src/core/common/public-api.ts","../../../projects/ngx-composite-lib/src/core/common/index.ts","../../../projects/ngx-composite-lib/src/core/public-api.ts","../../../projects/ngx-composite-lib/src/core/index.ts","../../../projects/ngx-composite-lib/src/public-api.ts","../../../projects/ngx-composite-lib/src/pepperi-addons-ngx-composite-lib.ts"],"sourcesContent":["import { Directive, HostListener, ElementRef, AfterViewInit, TemplateRef, ViewContainerRef, Renderer2, Output, EventEmitter, Input, OnDestroy } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { PepSizeType, PepStyleStateType, PepStyleType } from '@pepperi-addons/ngx-lib';\r\nimport { PepIconService, pepIconDeviceResponsive } from '@pepperi-addons/ngx-lib/icon';\r\n\r\n\r\n@Directive({\r\n selector: '[pepResetConfigurationField]',\r\n})\r\nexport class PepResetConfigurationFieldDirective implements AfterViewInit, OnDestroy {\r\n @Input('pepResetConfigurationField') resetFieldKey = '';\r\n @Input() resetHostEvents: EventEmitter<any> = new EventEmitter();\r\n \r\n private _disabled = false;\r\n @Input() \r\n set disabled(value: boolean) {\r\n this._disabled = value;\r\n // this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());\r\n this.setButtonStyle(this.resetButton);\r\n }\r\n get disabled(): boolean {\r\n return this._disabled;\r\n }\r\n\r\n private _hideReset = false;\r\n @Input() \r\n set hideReset(value: boolean) {\r\n this._hideReset = value;\r\n // this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());\r\n this.setButtonStyle(this.resetButton);\r\n }\r\n get hideReset(): boolean {\r\n return this._hideReset;\r\n }\r\n\r\n private _dir: 'rtl' | 'ltr' = 'ltr';\r\n @Input() \r\n set dir(value: 'rtl' | 'ltr') {\r\n this._dir = value;\r\n this.renderer.setStyle(this.buttonContainer, 'float', this.getFloat());\r\n }\r\n get dir(): 'rtl' | 'ltr' {\r\n return this._dir;\r\n }\r\n\r\n // styleType: PepStyleType = 'weak';\r\n // styleStateType: PepStyleStateType = 'system';\r\n sizeType: PepSizeType = 'sm';\r\n resetPosition = 'bottom-end';\r\n \r\n private unlistener: (() => void) | undefined;\r\n private buttonContainer!: HTMLDivElement;\r\n private resetButton!: HTMLButtonElement;\r\n\r\n constructor(\r\n private renderer:Renderer2,\r\n private element: ElementRef,\r\n private pepIconService: PepIconService,\r\n private translate: TranslateService) {\r\n // Create the buton container.\r\n this.buttonContainer = this.renderer.createElement('div');\r\n\r\n this.translate.get('GENERAL.RESET_HINT').toPromise().then(hint => {\r\n this.renderer.setAttribute(this.buttonContainer, 'title', hint);\r\n });\r\n }\r\n\r\n private getVisibility() {\r\n return this.disabled || this.hideReset ? 'hidden' : 'visible';\r\n }\r\n\r\n private getFloat() {\r\n return this.dir === 'rtl' ? 'left' : 'right';\r\n }\r\n\r\n private setButtonContainerStyle() {\r\n const css = `\r\n display: flex;\r\n justify-content: flex-end;\r\n float: ${this.getFloat()};\r\n margin-bottom: 1rem;\r\n `;\r\n\r\n this.buttonContainer.setAttribute(\"style\", css);\r\n }\r\n\r\n private setButtonStyle(button: HTMLButtonElement) {\r\n if (button) {\r\n const css = `\r\n display: flex !important;\r\n align-items: center !important;\r\n height: 1rem !important;\r\n line-height: unset !important;\r\n padding: unset !important;\r\n background: unset !important;\r\n font-size: var(--pep-button-2xs-font-size) !important;\r\n visibility: ${this.getVisibility()};\r\n `;\r\n \r\n button.setAttribute(\"style\", css);\r\n }\r\n }\r\n\r\n private setSvgStyle(svg: SVGElement) {\r\n const css = `\r\n transform: rotate(270deg);\r\n width: 0.75rem;\r\n `;\r\n svg.setAttribute('style', css);\r\n }\r\n\r\n private async getResetElement(): Promise<HTMLElement> {\r\n this.setButtonContainerStyle();\r\n this.renderer.addClass(this.buttonContainer, 'pep-reset-configuration-field-container');\r\n\r\n // Append button\r\n this.resetButton = this.renderer.createElement('button');\r\n await this.translate.get('ACTIONS.RESET').toPromise().then(resetText => {\r\n const buttonText = this.renderer.createText(resetText);\r\n this.renderer.appendChild(this.resetButton, buttonText);\r\n });\r\n \r\n this.renderer.addClass(this.resetButton, 'pep-button');\r\n // this.renderer.addClass(button, this.styleType);\r\n // this.renderer.addClass(button, this.styleStateType);\r\n this.renderer.addClass(this.resetButton, 'color-link');\r\n this.renderer.addClass(this.resetButton, this.sizeType);\r\n this.setButtonStyle(this.resetButton);\r\n // this.renderer.addClass(button, 'reset-configuration-field-button');\r\n \r\n this.unlistener = this.renderer.listen(this.resetButton, 'click', () => this.onResetClicked());\r\n \r\n this.renderer.appendChild(this.buttonContainer, this.resetButton);\r\n\r\n // Append svg\r\n const svgIcon = this.pepIconService.getSvgIcon(pepIconDeviceResponsive.name);\r\n this.setSvgStyle(svgIcon);\r\n this.renderer.appendChild(this.buttonContainer, svgIcon);\r\n\r\n return this.buttonContainer;\r\n }\r\n \r\n ngAfterViewInit(): void {\r\n this.getResetElement().then(element => {\r\n if (this.resetPosition === 'top-end' && this.element.nativeElement.children?.length > 0) {\r\n this.renderer.insertBefore(this.element.nativeElement, element, this.element.nativeElement.children[0]);\r\n } else {\r\n this.renderer.appendChild(this.element.nativeElement, element);\r\n }\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n if (this.unlistener) {\r\n this.unlistener();\r\n }\r\n }\r\n\r\n onResetClicked() {\r\n this.resetHostEvents.emit({\r\n action: 'set-configuration-field',\r\n key: this.resetFieldKey,\r\n value: undefined\r\n });\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\n/*\r\n This service is for utillity usege.\r\n*/\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class PepCompositeLibUtilitiesService {\r\n constructor(\r\n // private sessionService: PepSessionService,\r\n // private httpService: PepHttpService,\r\n // private loaderService: PepLoaderService\r\n ) {\r\n //\r\n }\r\n}\r\n","import { Injectable, ViewContainerRef } from \"@angular/core\";\r\nimport { PepAddonBlockLoaderService } from \"@pepperi-addons/ngx-lib/remote-loader\";\r\n\r\nexport interface DIMXHostObject {\r\n DIMXAddonUUID: string;\r\n DIMXResource: string;\r\n}\r\n\r\nexport interface DIMXImportOptions {\r\n OverwriteObject?: boolean;\r\n Delimiter?: string;\r\n OwnerID?: string;\r\n ActionID?: string;\r\n}\r\n\r\nexport interface DIMXExportOptions {\r\n DIMXExportFormat?: string;\r\n DIMXExportIncludeDeleted?: boolean;\r\n DIMXExportFileName?: string;\r\n DIMXExportWhere?: string;\r\n DIMXExportFields?: string;\r\n DIMXExportDelimiter?: string;\r\n ActionID?: string;\r\n}\r\n\r\n@Injectable()\r\nexport class PepDIMXHelperService {\r\n private dimxFunctions!: { \r\n DIMXImport: (options?: DIMXImportOptions) => void, \r\n DIMXExport: (options?: DIMXExportOptions) => void \r\n };\r\n\r\n constructor(\r\n private addonBlockLoaderService: PepAddonBlockLoaderService\r\n ) {\r\n }\r\n\r\n register(viewContainerRef: ViewContainerRef, dimxHostObject: DIMXHostObject, onDIMXProcessDoneCallback: (dimxEvent: any) => void) {\r\n this.addonBlockLoaderService.loadAddonBlockInContainer({\r\n container: viewContainerRef,\r\n name: 'DIMX',\r\n hostObject: dimxHostObject,\r\n hostEventsCallback: (event: any) => {\r\n if (event.action === 'DIMXFunctionsRegister') {\r\n this.dimxFunctions = event.value;\r\n } else if (event.action === 'DIMXProcessDone') {\r\n onDIMXProcessDoneCallback(event.value);\r\n } else {\r\n console.error('Unknown event action: ' + event.action);\r\n }\r\n }\r\n });\r\n }\r\n\r\n import(options?: DIMXImportOptions) {\r\n if (typeof(this.dimxFunctions?.DIMXImport) === 'function') {\r\n this.dimxFunctions.DIMXImport(options);\r\n } else {\r\n console.error('DIMXImport function not found, are you registered?');\r\n }\r\n }\r\n\r\n export(options?: DIMXExportOptions) {\r\n if (typeof(this.dimxFunctions?.DIMXExport) === 'function') {\r\n this.dimxFunctions.DIMXExport(options);\r\n } else {\r\n console.error('DIMXExport function not found, are you registered?');\r\n }\r\n }\r\n}","/*\n * Public API Surface of ngx-composite-lib/core/common/services\n */\nexport * from './utilities.service';\nexport * from './dimx.service';\n","/*\n * export from ngx-composite-lib/core/common/services\n */\nexport * from './public-api';\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n// import { TranslateModule } from '@ngx-translate/core';\n// import { HttpClientModule } from '@angular/common/http';\n// import { ReactiveFormsModule } from '@angular/forms';\nimport { PepResetConfigurationFieldDirective } from './core/common/directives/reset-configuration-field.directive';\nimport { PepDIMXHelperService, PepCompositeLibUtilitiesService } from './core/common/services/index';\n\nimport { PepRemoteLoaderModule } from '@pepperi-addons/ngx-lib/remote-loader';\n\nimport {\n PepIconModule,\n PepIconRegistry,\n pepIconDeviceResponsive,\n} from '@pepperi-addons/ngx-lib/icon';\n\nconst utilitiesList = [\n PepResetConfigurationFieldDirective\n];\n\n@NgModule({\n declarations: [\n utilitiesList\n ],\n imports: [\n CommonModule,\n PepIconModule,\n PepRemoteLoaderModule,\n ],\n exports: [\n utilitiesList\n // TranslateModule\n ],\n providers: [\n PepDIMXHelperService,\n PepCompositeLibUtilitiesService\n ]\n})\nexport class PepNgxCompositeLibModule {\n constructor(\n private pepIconRegistry: PepIconRegistry\n ) {\n this.pepIconRegistry.registerIcons([\n pepIconDeviceResponsive\n ]);\n }\n}\n","/*\n * Public API Surface of ngx-composite-lib/core/common/directives\n */\nexport * from '../directives/reset-configuration-field.directive';\n","/*\n * export from ngx-composite-lib/core/common/directives\n */\nexport * from './public-api';\n","/*\n * Public API Surface of ngx-composite-lib/core/common\n */\nexport * from './services/index';\nexport * from './directives/index';\n","/*\n * export from ngx-composite-lib/core/common\n */\nexport * from './public-api';\n","/*\n * Public API Surface of ngx-composite-lib/core\n */\nexport * from './common/index';","/*\n * export from ngx-composite-lib/core\n */\nexport * from './public-api';\n","/*\n * Public API Surface of ngx-composite-lib\n */\nexport * from './ngx-composite-lib.module';\nexport * from './core/index';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;MASa,mCAAmC,CAAA;AA6C5C,IAAA,WAAA,CACY,QAAkB,EAClB,OAAmB,EACnB,cAA8B,EAC9B,SAA2B,EAAA;QAH3B,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;QAClB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAY;QACnB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;QAC9B,IAAS,CAAA,SAAA,GAAT,SAAS,CAAkB;QAhDF,IAAa,CAAA,aAAA,GAAG,EAAE,CAAC;AAC/C,QAAA,IAAA,CAAA,eAAe,GAAsB,IAAI,YAAY,EAAE,CAAC;QAEzD,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;QAWlB,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;QAWnB,IAAI,CAAA,IAAA,GAAkB,KAAK,CAAC;;;QAYpC,IAAQ,CAAA,QAAA,GAAgB,IAAI,CAAC;QAC7B,IAAa,CAAA,aAAA,GAAG,YAAY,CAAC;;QAYzB,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AAE1D,QAAA,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC,SAAS,EAAE,CAAC,IAAI,CAAC,IAAI,IAAG;AAC7D,YAAA,IAAI,CAAC,QAAQ,CAA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AA,CArBjC,mCAAmC,CAAA,EAAA,OAAA,EAAA,CAQ/B,YAAY;QACZ,aAAa;AACb,QAAA,qBAAqB,aAVzB,mCAAmC,CAAA,EAAA,CAAA,CAAA;AAqB1B,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,EALtB,SAAA,EAAA;QACP,oBAAoB;QACpB,+BAA+B;AAClC,KAAA,EAAA,OAAA,EAAA,CAXG,YAAY;QACZ,aAAa;QACb,qBAAqB,CAAA,EAAA,CAAA,CAAA;2FAWhB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAlBpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE;wBACV,aAAa;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,aAAa;wBACb,qBAAqB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,aAAa;;AAEhB,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACP,oBAAoB;wBACpB,+BAA+B;AAClC,qBAAA;AACJ,iBAAA,CAAA;;;ACrCD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
3
|
-
import { PepSnackBarData } from '@pepperi-addons/ngx-lib/snack-bar';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FileStatusPanelComponent implements OnInit {
|
|
6
|
-
data: PepSnackBarData;
|
|
7
|
-
snackBarRef: MatSnackBarRef<FileStatusPanelComponent>;
|
|
8
|
-
closeClick: EventEmitter<void>;
|
|
9
|
-
constructor(data: PepSnackBarData, snackBarRef: MatSnackBarRef<FileStatusPanelComponent>);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
onCloseClicked(event: any): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileStatusPanelComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileStatusPanelComponent, "pep-file-status-panel", never, {}, { "closeClick": "closeClick"; }, never, never>;
|
|
14
|
-
}
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
3
|
+
import { PepSnackBarData } from '@pepperi-addons/ngx-lib/snack-bar';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FileStatusPanelComponent implements OnInit {
|
|
6
|
+
data: PepSnackBarData;
|
|
7
|
+
snackBarRef: MatSnackBarRef<FileStatusPanelComponent>;
|
|
8
|
+
closeClick: EventEmitter<void>;
|
|
9
|
+
constructor(data: PepSnackBarData, snackBarRef: MatSnackBarRef<FileStatusPanelComponent>);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onCloseClicked(event: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileStatusPanelComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileStatusPanelComponent, "pep-file-status-panel", never, {}, { "closeClick": "closeClick"; }, never, never, false>;
|
|
14
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare type FileStatusType = 'uploading' | 'downloading' | 'done' | 'failed' | 'hidden' | 'deleting';
|
|
2
|
-
export declare class FileStatus {
|
|
3
|
-
key: number;
|
|
4
|
-
name: string;
|
|
5
|
-
status: FileStatusType;
|
|
6
|
-
statusMessage?: string | undefined;
|
|
7
|
-
}
|
|
1
|
+
export declare type FileStatusType = 'uploading' | 'downloading' | 'done' | 'failed' | 'hidden' | 'deleting';
|
|
2
|
+
export declare class FileStatus {
|
|
3
|
+
key: number;
|
|
4
|
+
name: string;
|
|
5
|
+
status: FileStatusType;
|
|
6
|
+
statusMessage?: string | undefined;
|
|
7
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { PepIconRegistry } from '@pepperi-addons/ngx-lib/icon';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./file-status-panel.component";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "@pepperi-addons/ngx-lib/top-bar";
|
|
6
|
-
import * as i4 from "@pepperi-addons/ngx-lib/textbox";
|
|
7
|
-
import * as i5 from "@pepperi-addons/ngx-lib/button";
|
|
8
|
-
import * as i6 from "@pepperi-addons/ngx-lib/icon";
|
|
9
|
-
import * as i7 from "@pepperi-addons/ngx-lib/dialog";
|
|
10
|
-
import * as i8 from "@pepperi-addons/ngx-lib/snack-bar";
|
|
11
|
-
export declare class PepFileStatusPanelModule {
|
|
12
|
-
private pepIconRegistry;
|
|
13
|
-
constructor(pepIconRegistry: PepIconRegistry);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PepFileStatusPanelModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PepFileStatusPanelModule, [typeof i1.FileStatusPanelComponent], [typeof i2.CommonModule, typeof i3.PepTopBarModule, typeof i4.PepTextboxModule, typeof i5.PepButtonModule, typeof i6.PepIconModule, typeof i7.PepDialogModule, typeof i8.PepSnackBarModule], [typeof i1.FileStatusPanelComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PepFileStatusPanelModule>;
|
|
17
|
-
}
|
|
1
|
+
import { PepIconRegistry } from '@pepperi-addons/ngx-lib/icon';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./file-status-panel.component";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "@pepperi-addons/ngx-lib/top-bar";
|
|
6
|
+
import * as i4 from "@pepperi-addons/ngx-lib/textbox";
|
|
7
|
+
import * as i5 from "@pepperi-addons/ngx-lib/button";
|
|
8
|
+
import * as i6 from "@pepperi-addons/ngx-lib/icon";
|
|
9
|
+
import * as i7 from "@pepperi-addons/ngx-lib/dialog";
|
|
10
|
+
import * as i8 from "@pepperi-addons/ngx-lib/snack-bar";
|
|
11
|
+
export declare class PepFileStatusPanelModule {
|
|
12
|
+
private pepIconRegistry;
|
|
13
|
+
constructor(pepIconRegistry: PepIconRegistry);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepFileStatusPanelModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PepFileStatusPanelModule, [typeof i1.FileStatusPanelComponent], [typeof i2.CommonModule, typeof i3.PepTopBarModule, typeof i4.PepTextboxModule, typeof i5.PepButtonModule, typeof i6.PepIconModule, typeof i7.PepDialogModule, typeof i8.PepSnackBarModule], [typeof i1.FileStatusPanelComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PepFileStatusPanelModule>;
|
|
17
|
+
}
|
package/file-status-panel/{pepperi-addons-ngx-composite-lib-file-status-panel.d.ts → index.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@pepperi-addons/ngx-composite-lib/file-status-panel" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@pepperi-addons/ngx-composite-lib/file-status-panel" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './file-status-panel.module';
|
|
2
|
-
export * from './file-status-panel.component';
|
|
3
|
-
export * from './file-status-panel.model';
|
|
1
|
+
export * from './file-status-panel.module';
|
|
2
|
+
export * from './file-status-panel.component';
|
|
3
|
+
export * from './file-status-panel.model';
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { OnInit, ViewContainerRef, EventEmitter, ComponentFactoryResolver } from '@angular/core';
|
|
2
|
-
import { IPepGenericFormDataView, IPepGenericFormValueChange, IPepGenericFormFieldUpdate, IPepGenericFormData } from './generic-form.model';
|
|
3
|
-
import { PepLayoutService } from '@pepperi-addons/ngx-lib';
|
|
4
|
-
import { PepGenericFormService } from './generic-form.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class GenericFormComponent implements OnInit {
|
|
7
|
-
private _resolver;
|
|
8
|
-
private layoutService;
|
|
9
|
-
_genericFormService: PepGenericFormService;
|
|
10
|
-
private _pepFormContainer;
|
|
11
|
-
set pepListContainer(val: ViewContainerRef);
|
|
12
|
-
private _data;
|
|
13
|
-
set dataSource(val: any);
|
|
14
|
-
private _optionalValues;
|
|
15
|
-
private _formData;
|
|
16
|
-
private _uiControl;
|
|
17
|
-
set dataView(val: IPepGenericFormDataView);
|
|
18
|
-
isLocked: boolean;
|
|
19
|
-
inline: boolean;
|
|
20
|
-
showTopBar: boolean;
|
|
21
|
-
addPadding: boolean;
|
|
22
|
-
valueChange: EventEmitter<IPepGenericFormValueChange>;
|
|
23
|
-
fieldClick: EventEmitter<IPepGenericFormValueChange>;
|
|
24
|
-
formValidationChange: EventEmitter<boolean>;
|
|
25
|
-
private _pepForm;
|
|
26
|
-
constructor(_resolver: ComponentFactoryResolver, layoutService: PepLayoutService, _genericFormService: PepGenericFormService);
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
private initForm;
|
|
29
|
-
/**
|
|
30
|
-
* updates form field's value
|
|
31
|
-
* @param field object containing the data of the required update
|
|
32
|
-
*/
|
|
33
|
-
private updateFieldValue;
|
|
34
|
-
private getOptionalValues;
|
|
35
|
-
getData(): IPepGenericFormData;
|
|
36
|
-
/**
|
|
37
|
-
* updates form field(s) params
|
|
38
|
-
* @param fields
|
|
39
|
-
*/
|
|
40
|
-
updateFields(fields: IPepGenericFormFieldUpdate[]): void;
|
|
41
|
-
onValueChanged(event: any): void;
|
|
42
|
-
onfieldClicked(event: any): void;
|
|
43
|
-
onFormValidationChanged(event: any): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GenericFormComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GenericFormComponent, "pep-generic-form", never, { "dataSource": "dataSource"; "dataView": "dataView"; "isLocked": "isLocked"; "inline": "inline"; "showTopBar": "showTopBar"; "addPadding": "addPadding"; }, { "valueChange": "valueChange"; "fieldClick": "fieldClick"; "formValidationChange": "formValidationChange"; }, never, ["[left-buttons]", "[right-buttons]"]>;
|
|
46
|
-
}
|
|
1
|
+
import { OnInit, ViewContainerRef, EventEmitter, ComponentFactoryResolver } from '@angular/core';
|
|
2
|
+
import { IPepGenericFormDataView, IPepGenericFormValueChange, IPepGenericFormFieldUpdate, IPepGenericFormData } from './generic-form.model';
|
|
3
|
+
import { PepLayoutService } from '@pepperi-addons/ngx-lib';
|
|
4
|
+
import { PepGenericFormService } from './generic-form.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GenericFormComponent implements OnInit {
|
|
7
|
+
private _resolver;
|
|
8
|
+
private layoutService;
|
|
9
|
+
_genericFormService: PepGenericFormService;
|
|
10
|
+
private _pepFormContainer;
|
|
11
|
+
set pepListContainer(val: ViewContainerRef);
|
|
12
|
+
private _data;
|
|
13
|
+
set dataSource(val: any);
|
|
14
|
+
private _optionalValues;
|
|
15
|
+
private _formData;
|
|
16
|
+
private _uiControl;
|
|
17
|
+
set dataView(val: IPepGenericFormDataView);
|
|
18
|
+
isLocked: boolean;
|
|
19
|
+
inline: boolean;
|
|
20
|
+
showTopBar: boolean;
|
|
21
|
+
addPadding: boolean;
|
|
22
|
+
valueChange: EventEmitter<IPepGenericFormValueChange>;
|
|
23
|
+
fieldClick: EventEmitter<IPepGenericFormValueChange>;
|
|
24
|
+
formValidationChange: EventEmitter<boolean>;
|
|
25
|
+
private _pepForm;
|
|
26
|
+
constructor(_resolver: ComponentFactoryResolver, layoutService: PepLayoutService, _genericFormService: PepGenericFormService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
private initForm;
|
|
29
|
+
/**
|
|
30
|
+
* updates form field's value
|
|
31
|
+
* @param field object containing the data of the required update
|
|
32
|
+
*/
|
|
33
|
+
private updateFieldValue;
|
|
34
|
+
private getOptionalValues;
|
|
35
|
+
getData(): IPepGenericFormData;
|
|
36
|
+
/**
|
|
37
|
+
* updates form field(s) params
|
|
38
|
+
* @param fields
|
|
39
|
+
*/
|
|
40
|
+
updateFields(fields: IPepGenericFormFieldUpdate[]): void;
|
|
41
|
+
onValueChanged(event: any): void;
|
|
42
|
+
onfieldClicked(event: any): void;
|
|
43
|
+
onFormValidationChanged(event: any): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericFormComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GenericFormComponent, "pep-generic-form", never, { "dataSource": "dataSource"; "dataView": "dataView"; "isLocked": "isLocked"; "inline": "inline"; "showTopBar": "showTopBar"; "addPadding": "addPadding"; }, { "valueChange": "valueChange"; "fieldClick": "fieldClick"; "formValidationChange": "formValidationChange"; }, never, ["[left-buttons]", "[right-buttons]"], false>;
|
|
46
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { FormDataView } from '@pepperi-addons/papi-sdk/dist/entities/data-view';
|
|
2
|
-
/**
|
|
3
|
-
* Interface represending the form data view
|
|
4
|
-
*/
|
|
5
|
-
export interface IPepGenericFormDataView extends FormDataView {
|
|
6
|
-
UID?: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Interface representing form data
|
|
10
|
-
*/
|
|
11
|
-
export interface IPepGenericFormData {
|
|
12
|
-
UID: string;
|
|
13
|
-
Values: {
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export interface IPepGenericFormValueChange {
|
|
18
|
-
UID: string;
|
|
19
|
-
ApiName: string;
|
|
20
|
-
Value: any;
|
|
21
|
-
}
|
|
22
|
-
export interface IPepGenericFormFieldUpdate {
|
|
23
|
-
FieldId: string;
|
|
24
|
-
Params: IPepGenericFormDataParams;
|
|
25
|
-
}
|
|
26
|
-
export interface IPepGenericFormDataParams {
|
|
27
|
-
Value?: any;
|
|
28
|
-
Visible?: boolean;
|
|
29
|
-
Enabled?: boolean;
|
|
30
|
-
BackgroundColor?: string;
|
|
31
|
-
TextColor?: string;
|
|
32
|
-
Highlighted?: boolean;
|
|
33
|
-
OptionalValues?: [];
|
|
34
|
-
}
|
|
1
|
+
import { FormDataView } from '@pepperi-addons/papi-sdk/dist/entities/data-view';
|
|
2
|
+
/**
|
|
3
|
+
* Interface represending the form data view
|
|
4
|
+
*/
|
|
5
|
+
export interface IPepGenericFormDataView extends FormDataView {
|
|
6
|
+
UID?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Interface representing form data
|
|
10
|
+
*/
|
|
11
|
+
export interface IPepGenericFormData {
|
|
12
|
+
UID: string;
|
|
13
|
+
Values: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface IPepGenericFormValueChange {
|
|
18
|
+
UID: string;
|
|
19
|
+
ApiName: string;
|
|
20
|
+
Value: any;
|
|
21
|
+
}
|
|
22
|
+
export interface IPepGenericFormFieldUpdate {
|
|
23
|
+
FieldId: string;
|
|
24
|
+
Params: IPepGenericFormDataParams;
|
|
25
|
+
}
|
|
26
|
+
export interface IPepGenericFormDataParams {
|
|
27
|
+
Value?: any;
|
|
28
|
+
Visible?: boolean;
|
|
29
|
+
Enabled?: boolean;
|
|
30
|
+
BackgroundColor?: string;
|
|
31
|
+
TextColor?: string;
|
|
32
|
+
Highlighted?: boolean;
|
|
33
|
+
OptionalValues?: [];
|
|
34
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./generic-form.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@pepperi-addons/ngx-lib";
|
|
5
|
-
import * as i4 from "@pepperi-addons/ngx-lib/form";
|
|
6
|
-
import * as i5 from "@pepperi-addons/ngx-lib/menu";
|
|
7
|
-
import * as i6 from "@pepperi-addons/ngx-lib/page-layout";
|
|
8
|
-
import * as i7 from "@pepperi-addons/ngx-lib/top-bar";
|
|
9
|
-
export declare class PepGenericFormModule {
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PepGenericFormModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PepGenericFormModule, [typeof i1.GenericFormComponent], [typeof i2.CommonModule, typeof i3.PepNgxLibModule, typeof i4.PepFormModule, typeof i5.PepMenuModule, typeof i6.PepPageLayoutModule, typeof i7.PepTopBarModule], [typeof i1.GenericFormComponent]>;
|
|
12
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PepGenericFormModule>;
|
|
13
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./generic-form.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@pepperi-addons/ngx-lib";
|
|
5
|
+
import * as i4 from "@pepperi-addons/ngx-lib/form";
|
|
6
|
+
import * as i5 from "@pepperi-addons/ngx-lib/menu";
|
|
7
|
+
import * as i6 from "@pepperi-addons/ngx-lib/page-layout";
|
|
8
|
+
import * as i7 from "@pepperi-addons/ngx-lib/top-bar";
|
|
9
|
+
export declare class PepGenericFormModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PepGenericFormModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PepGenericFormModule, [typeof i1.GenericFormComponent], [typeof i2.CommonModule, typeof i3.PepNgxLibModule, typeof i4.PepFormModule, typeof i5.PepMenuModule, typeof i6.PepPageLayoutModule, typeof i7.PepTopBarModule], [typeof i1.GenericFormComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PepGenericFormModule>;
|
|
13
|
+
}
|