@pepperi-addons/ngx-composite-lib 0.4.1-beta.12 → 0.4.1-beta.13

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.
Files changed (127) hide show
  1. package/color-settings/color-settings.component.d.ts +25 -25
  2. package/color-settings/color-settings.model.d.ts +6 -6
  3. package/color-settings/color-settings.module.d.ts +12 -12
  4. package/color-settings/index.d.ts +5 -5
  5. package/color-settings/public-api.d.ts +3 -3
  6. package/core/common/directives/index.d.ts +1 -1
  7. package/core/common/directives/public-api.d.ts +1 -1
  8. package/core/common/directives/reset-configuration-field.directive.d.ts +39 -39
  9. package/core/common/index.d.ts +1 -1
  10. package/core/common/public-api.d.ts +2 -2
  11. package/core/common/services/dimx.service.d.ts +46 -46
  12. package/core/common/services/index.d.ts +1 -1
  13. package/core/common/services/public-api.d.ts +2 -2
  14. package/core/common/services/utilities.service.d.ts +6 -6
  15. package/core/index.d.ts +1 -1
  16. package/core/public-api.d.ts +1 -1
  17. package/data-view-builder/data-view-builder.component.d.ts +35 -35
  18. package/data-view-builder/data-view-builder.model.d.ts +1 -1
  19. package/data-view-builder/data-view-builder.module.d.ts +23 -23
  20. package/data-view-builder/data-view-builder.service.d.ts +14 -14
  21. package/data-view-builder/index.d.ts +5 -5
  22. package/data-view-builder/menu-data-view/menu-data-view.component.d.ts +36 -36
  23. package/data-view-builder/public-api.d.ts +3 -3
  24. package/esm2020/color-settings/color-settings.component.mjs +86 -86
  25. package/esm2020/color-settings/color-settings.model.mjs +8 -8
  26. package/esm2020/color-settings/color-settings.module.mjs +37 -37
  27. package/esm2020/color-settings/pepperi-addons-ngx-composite-lib-color-settings.mjs +4 -4
  28. package/esm2020/color-settings/public-api.mjs +6 -6
  29. package/esm2020/core/common/directives/index.mjs +4 -4
  30. package/esm2020/core/common/directives/public-api.mjs +4 -4
  31. package/esm2020/core/common/directives/reset-configuration-field.directive.mjs +135 -135
  32. package/esm2020/core/common/index.mjs +4 -4
  33. package/esm2020/core/common/public-api.mjs +5 -5
  34. package/esm2020/core/common/services/dimx.service.mjs +63 -63
  35. package/esm2020/core/common/services/index.mjs +4 -4
  36. package/esm2020/core/common/services/public-api.mjs +5 -5
  37. package/esm2020/core/common/services/utilities.service.mjs +18 -18
  38. package/esm2020/core/index.mjs +4 -4
  39. package/esm2020/core/public-api.mjs +4 -4
  40. package/esm2020/data-view-builder/data-view-builder.component.mjs +116 -116
  41. package/esm2020/data-view-builder/data-view-builder.model.mjs +1 -1
  42. package/esm2020/data-view-builder/data-view-builder.module.mjs +79 -79
  43. package/esm2020/data-view-builder/data-view-builder.service.mjs +38 -38
  44. package/esm2020/data-view-builder/menu-data-view/menu-data-view.component.mjs +116 -116
  45. package/esm2020/data-view-builder/pepperi-addons-ngx-composite-lib-data-view-builder.mjs +4 -4
  46. package/esm2020/data-view-builder/public-api.mjs +6 -6
  47. package/esm2020/file-status-panel/file-status-panel.component.mjs +34 -34
  48. package/esm2020/file-status-panel/file-status-panel.model.mjs +8 -8
  49. package/esm2020/file-status-panel/file-status-panel.module.mjs +53 -53
  50. package/esm2020/file-status-panel/pepperi-addons-ngx-composite-lib-file-status-panel.mjs +4 -4
  51. package/esm2020/file-status-panel/public-api.mjs +6 -6
  52. package/esm2020/generic-form/generic-form.component.mjs +189 -189
  53. package/esm2020/generic-form/generic-form.model.mjs +1 -1
  54. package/esm2020/generic-form/generic-form.module.mjs +67 -67
  55. package/esm2020/generic-form/generic-form.service.mjs +58 -59
  56. package/esm2020/generic-form/pepperi-addons-ngx-composite-lib-generic-form.mjs +4 -4
  57. package/esm2020/generic-form/public-api.mjs +7 -7
  58. package/esm2020/generic-list/generic-list.component.mjs +458 -458
  59. package/esm2020/generic-list/generic-list.model.mjs +1 -1
  60. package/esm2020/generic-list/generic-list.module.mjs +106 -106
  61. package/esm2020/generic-list/generic-list.service.mjs +136 -136
  62. package/esm2020/generic-list/pepperi-addons-ngx-composite-lib-generic-list.mjs +4 -4
  63. package/esm2020/generic-list/public-api.mjs +7 -7
  64. package/esm2020/group-buttons-settings/group-buttons-settings.component.mjs +129 -129
  65. package/esm2020/group-buttons-settings/group-buttons-settings.model.mjs +1 -1
  66. package/esm2020/group-buttons-settings/group-buttons-settings.module.mjs +47 -47
  67. package/esm2020/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs +4 -4
  68. package/esm2020/group-buttons-settings/public-api.mjs +6 -6
  69. package/esm2020/ngx-composite-lib.module.mjs +53 -53
  70. package/esm2020/pepperi-addons-ngx-composite-lib.mjs +4 -4
  71. package/esm2020/public-api.mjs +5 -5
  72. package/esm2020/shadow-settings/pepperi-addons-ngx-composite-lib-shadow-settings.mjs +4 -4
  73. package/esm2020/shadow-settings/public-api.mjs +6 -6
  74. package/esm2020/shadow-settings/shadow-settings.component.mjs +68 -68
  75. package/esm2020/shadow-settings/shadow-settings.model.mjs +7 -7
  76. package/esm2020/shadow-settings/shadow-settings.module.mjs +41 -41
  77. package/fesm2015/pepperi-addons-ngx-composite-lib-color-settings.mjs +116 -116
  78. package/fesm2015/pepperi-addons-ngx-composite-lib-data-view-builder.mjs +309 -309
  79. package/fesm2015/pepperi-addons-ngx-composite-lib-data-view-builder.mjs.map +1 -1
  80. package/fesm2015/pepperi-addons-ngx-composite-lib-file-status-panel.mjs +80 -80
  81. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-form.mjs +285 -286
  82. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-form.mjs.map +1 -1
  83. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.mjs +674 -674
  84. package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs +164 -164
  85. package/fesm2015/pepperi-addons-ngx-composite-lib-shadow-settings.mjs +101 -101
  86. package/fesm2015/pepperi-addons-ngx-composite-lib.mjs +271 -271
  87. package/fesm2020/pepperi-addons-ngx-composite-lib-color-settings.mjs +116 -116
  88. package/fesm2020/pepperi-addons-ngx-composite-lib-data-view-builder.mjs +307 -307
  89. package/fesm2020/pepperi-addons-ngx-composite-lib-data-view-builder.mjs.map +1 -1
  90. package/fesm2020/pepperi-addons-ngx-composite-lib-file-status-panel.mjs +78 -78
  91. package/fesm2020/pepperi-addons-ngx-composite-lib-generic-form.mjs +287 -288
  92. package/fesm2020/pepperi-addons-ngx-composite-lib-generic-form.mjs.map +1 -1
  93. package/fesm2020/pepperi-addons-ngx-composite-lib-generic-list.mjs +656 -656
  94. package/fesm2020/pepperi-addons-ngx-composite-lib-group-buttons-settings.mjs +163 -163
  95. package/fesm2020/pepperi-addons-ngx-composite-lib-shadow-settings.mjs +101 -101
  96. package/fesm2020/pepperi-addons-ngx-composite-lib.mjs +264 -264
  97. package/file-status-panel/file-status-panel.component.d.ts +14 -14
  98. package/file-status-panel/file-status-panel.model.d.ts +7 -7
  99. package/file-status-panel/file-status-panel.module.d.ts +17 -17
  100. package/file-status-panel/index.d.ts +5 -5
  101. package/file-status-panel/public-api.d.ts +3 -3
  102. package/generic-form/generic-form.component.d.ts +43 -43
  103. package/generic-form/generic-form.model.d.ts +42 -42
  104. package/generic-form/generic-form.module.d.ts +13 -13
  105. package/generic-form/generic-form.service.d.ts +15 -15
  106. package/generic-form/index.d.ts +5 -5
  107. package/generic-form/public-api.d.ts +4 -4
  108. package/generic-list/generic-list.component.d.ts +109 -109
  109. package/generic-list/generic-list.model.d.ts +66 -66
  110. package/generic-list/generic-list.module.d.ts +25 -25
  111. package/generic-list/generic-list.service.d.ts +44 -44
  112. package/generic-list/index.d.ts +5 -5
  113. package/generic-list/public-api.d.ts +4 -4
  114. package/group-buttons-settings/group-buttons-settings.component.d.ts +33 -33
  115. package/group-buttons-settings/group-buttons-settings.model.d.ts +1 -1
  116. package/group-buttons-settings/group-buttons-settings.module.d.ts +15 -15
  117. package/group-buttons-settings/index.d.ts +5 -5
  118. package/group-buttons-settings/public-api.d.ts +3 -3
  119. package/index.d.ts +5 -5
  120. package/ngx-composite-lib.module.d.ts +13 -13
  121. package/package.json +1 -1
  122. package/public-api.d.ts +2 -2
  123. package/shadow-settings/index.d.ts +5 -5
  124. package/shadow-settings/public-api.d.ts +3 -3
  125. package/shadow-settings/shadow-settings.component.d.ts +23 -23
  126. package/shadow-settings/shadow-settings.model.d.ts +8 -8
  127. package/shadow-settings/shadow-settings.module.d.ts +13 -13
@@ -8,67 +8,67 @@ import * as i2 from '@ngx-translate/core';
8
8
  import * as i1$1 from '@pepperi-addons/ngx-lib/remote-loader';
9
9
  import { PepRemoteLoaderModule } from '@pepperi-addons/ngx-lib/remote-loader';
10
10
 
11
- class PepResetConfigurationFieldDirective {
12
- constructor(renderer, element, pepIconService, translate) {
13
- this.renderer = renderer;
14
- this.element = element;
15
- this.pepIconService = pepIconService;
16
- this.translate = translate;
17
- this.resetFieldKey = '';
18
- this.resetHostEvents = new EventEmitter();
19
- this._disabled = false;
20
- this._hideReset = false;
21
- this._dir = 'ltr';
22
- // styleType: PepStyleType = 'weak';
23
- // styleStateType: PepStyleStateType = 'system';
24
- this.sizeType = 'sm';
25
- this.resetPosition = 'bottom-end';
26
- // Create the buton container.
27
- this.buttonContainer = this.renderer.createElement('div');
28
- this.translate.get('GENERAL.RESET_HINT').toPromise().then(hint => {
29
- this.renderer.setAttribute(this.buttonContainer, 'title', hint);
30
- });
31
- }
32
- set disabled(value) {
33
- this._disabled = value;
34
- // this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());
35
- this.setButtonStyle(this.resetButton);
36
- }
37
- get disabled() {
38
- return this._disabled;
39
- }
40
- set hideReset(value) {
41
- this._hideReset = value;
42
- // this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());
43
- this.setButtonStyle(this.resetButton);
44
- }
45
- get hideReset() {
46
- return this._hideReset;
47
- }
48
- set dir(value) {
49
- this._dir = value;
50
- this.renderer.setStyle(this.buttonContainer, 'float', this.getFloat());
51
- }
52
- get dir() {
53
- return this._dir;
54
- }
55
- getVisibility() {
56
- return this.disabled || this.hideReset ? 'hidden' : 'visible';
57
- }
58
- getFloat() {
59
- return this.dir === 'rtl' ? 'left' : 'right';
60
- }
61
- setButtonContainerStyle() {
11
+ class PepResetConfigurationFieldDirective {
12
+ constructor(renderer, element, pepIconService, translate) {
13
+ this.renderer = renderer;
14
+ this.element = element;
15
+ this.pepIconService = pepIconService;
16
+ this.translate = translate;
17
+ this.resetFieldKey = '';
18
+ this.resetHostEvents = new EventEmitter();
19
+ this._disabled = false;
20
+ this._hideReset = false;
21
+ this._dir = 'ltr';
22
+ // styleType: PepStyleType = 'weak';
23
+ // styleStateType: PepStyleStateType = 'system';
24
+ this.sizeType = 'sm';
25
+ this.resetPosition = 'bottom-end';
26
+ // Create the buton container.
27
+ this.buttonContainer = this.renderer.createElement('div');
28
+ this.translate.get('GENERAL.RESET_HINT').toPromise().then(hint => {
29
+ this.renderer.setAttribute(this.buttonContainer, 'title', hint);
30
+ });
31
+ }
32
+ set disabled(value) {
33
+ this._disabled = value;
34
+ // this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());
35
+ this.setButtonStyle(this.resetButton);
36
+ }
37
+ get disabled() {
38
+ return this._disabled;
39
+ }
40
+ set hideReset(value) {
41
+ this._hideReset = value;
42
+ // this.renderer.setStyle(this.buttonContainer, 'visibility', this.getVisibility());
43
+ this.setButtonStyle(this.resetButton);
44
+ }
45
+ get hideReset() {
46
+ return this._hideReset;
47
+ }
48
+ set dir(value) {
49
+ this._dir = value;
50
+ this.renderer.setStyle(this.buttonContainer, 'float', this.getFloat());
51
+ }
52
+ get dir() {
53
+ return this._dir;
54
+ }
55
+ getVisibility() {
56
+ return this.disabled || this.hideReset ? 'hidden' : 'visible';
57
+ }
58
+ getFloat() {
59
+ return this.dir === 'rtl' ? 'left' : 'right';
60
+ }
61
+ setButtonContainerStyle() {
62
62
  const css = `
63
63
  display: flex;
64
64
  justify-content: flex-end;
65
65
  float: ${this.getFloat()};
66
66
  margin-bottom: 1rem;
67
- `;
68
- this.buttonContainer.setAttribute("style", css);
69
- }
70
- setButtonStyle(button) {
71
- if (button) {
67
+ `;
68
+ this.buttonContainer.setAttribute("style", css);
69
+ }
70
+ setButtonStyle(button) {
71
+ if (button) {
72
72
  const css = `
73
73
  display: flex !important;
74
74
  align-items: center !important;
@@ -78,250 +78,250 @@ class PepResetConfigurationFieldDirective {
78
78
  background: unset !important;
79
79
  font-size: var(--pep-button-2xs-font-size) !important;
80
80
  visibility: ${this.getVisibility()};
81
- `;
82
- button.setAttribute("style", css);
83
- }
84
- }
85
- setSvgStyle(svg) {
81
+ `;
82
+ button.setAttribute("style", css);
83
+ }
84
+ }
85
+ setSvgStyle(svg) {
86
86
  const css = `
87
87
  transform: rotate(270deg);
88
88
  width: 0.75rem;
89
- `;
90
- svg.setAttribute('style', css);
91
- }
92
- getResetElement() {
93
- return __awaiter(this, void 0, void 0, function* () {
94
- this.setButtonContainerStyle();
95
- this.renderer.addClass(this.buttonContainer, 'pep-reset-configuration-field-container');
96
- // Append button
97
- this.resetButton = this.renderer.createElement('button');
98
- yield this.translate.get('ACTIONS.RESET').toPromise().then(resetText => {
99
- const buttonText = this.renderer.createText(resetText);
100
- this.renderer.appendChild(this.resetButton, buttonText);
101
- });
102
- this.renderer.addClass(this.resetButton, 'pep-button');
103
- // this.renderer.addClass(button, this.styleType);
104
- // this.renderer.addClass(button, this.styleStateType);
105
- this.renderer.addClass(this.resetButton, 'color-link');
106
- this.renderer.addClass(this.resetButton, this.sizeType);
107
- this.setButtonStyle(this.resetButton);
108
- // this.renderer.addClass(button, 'reset-configuration-field-button');
109
- this.unlistener = this.renderer.listen(this.resetButton, 'click', () => this.onResetClicked());
110
- this.renderer.appendChild(this.buttonContainer, this.resetButton);
111
- // Append svg
112
- const svgIcon = this.pepIconService.getSvgIcon(pepIconDeviceResponsive.name);
113
- this.setSvgStyle(svgIcon);
114
- this.renderer.appendChild(this.buttonContainer, svgIcon);
115
- return this.buttonContainer;
116
- });
117
- }
118
- ngAfterViewInit() {
119
- this.getResetElement().then(element => {
120
- var _a;
121
- if (this.resetPosition === 'top-end' && ((_a = this.element.nativeElement.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
122
- this.renderer.insertBefore(this.element.nativeElement, element, this.element.nativeElement.children[0]);
123
- }
124
- else {
125
- this.renderer.appendChild(this.element.nativeElement, element);
126
- }
127
- });
128
- }
129
- ngOnDestroy() {
130
- if (this.unlistener) {
131
- this.unlistener();
132
- }
133
- }
134
- onResetClicked() {
135
- this.resetHostEvents.emit({
136
- action: 'set-configuration-field',
137
- key: this.resetFieldKey,
138
- value: undefined
139
- });
140
- }
141
- }
142
- 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 });
143
- 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 });
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepResetConfigurationFieldDirective, decorators: [{
145
- type: Directive,
146
- args: [{
147
- selector: '[pepResetConfigurationField]',
148
- }]
149
- }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.PepIconService }, { type: i2.TranslateService }]; }, propDecorators: { resetFieldKey: [{
150
- type: Input,
151
- args: ['pepResetConfigurationField']
152
- }], resetHostEvents: [{
153
- type: Input
154
- }], disabled: [{
155
- type: Input
156
- }], hideReset: [{
157
- type: Input
158
- }], dir: [{
159
- type: Input
89
+ `;
90
+ svg.setAttribute('style', css);
91
+ }
92
+ getResetElement() {
93
+ return __awaiter(this, void 0, void 0, function* () {
94
+ this.setButtonContainerStyle();
95
+ this.renderer.addClass(this.buttonContainer, 'pep-reset-configuration-field-container');
96
+ // Append button
97
+ this.resetButton = this.renderer.createElement('button');
98
+ yield this.translate.get('ACTIONS.RESET').toPromise().then(resetText => {
99
+ const buttonText = this.renderer.createText(resetText);
100
+ this.renderer.appendChild(this.resetButton, buttonText);
101
+ });
102
+ this.renderer.addClass(this.resetButton, 'pep-button');
103
+ // this.renderer.addClass(button, this.styleType);
104
+ // this.renderer.addClass(button, this.styleStateType);
105
+ this.renderer.addClass(this.resetButton, 'color-link');
106
+ this.renderer.addClass(this.resetButton, this.sizeType);
107
+ this.setButtonStyle(this.resetButton);
108
+ // this.renderer.addClass(button, 'reset-configuration-field-button');
109
+ this.unlistener = this.renderer.listen(this.resetButton, 'click', () => this.onResetClicked());
110
+ this.renderer.appendChild(this.buttonContainer, this.resetButton);
111
+ // Append svg
112
+ const svgIcon = this.pepIconService.getSvgIcon(pepIconDeviceResponsive.name);
113
+ this.setSvgStyle(svgIcon);
114
+ this.renderer.appendChild(this.buttonContainer, svgIcon);
115
+ return this.buttonContainer;
116
+ });
117
+ }
118
+ ngAfterViewInit() {
119
+ this.getResetElement().then(element => {
120
+ var _a;
121
+ if (this.resetPosition === 'top-end' && ((_a = this.element.nativeElement.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
122
+ this.renderer.insertBefore(this.element.nativeElement, element, this.element.nativeElement.children[0]);
123
+ }
124
+ else {
125
+ this.renderer.appendChild(this.element.nativeElement, element);
126
+ }
127
+ });
128
+ }
129
+ ngOnDestroy() {
130
+ if (this.unlistener) {
131
+ this.unlistener();
132
+ }
133
+ }
134
+ onResetClicked() {
135
+ this.resetHostEvents.emit({
136
+ action: 'set-configuration-field',
137
+ key: this.resetFieldKey,
138
+ value: undefined
139
+ });
140
+ }
141
+ }
142
+ 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 });
143
+ 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 });
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepResetConfigurationFieldDirective, decorators: [{
145
+ type: Directive,
146
+ args: [{
147
+ selector: '[pepResetConfigurationField]',
148
+ }]
149
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i1.PepIconService }, { type: i2.TranslateService }]; }, propDecorators: { resetFieldKey: [{
150
+ type: Input,
151
+ args: ['pepResetConfigurationField']
152
+ }], resetHostEvents: [{
153
+ type: Input
154
+ }], disabled: [{
155
+ type: Input
156
+ }], hideReset: [{
157
+ type: Input
158
+ }], dir: [{
159
+ type: Input
160
160
  }] } });
161
161
 
162
- /*
163
- This service is for utillity usege.
164
- */
165
- class PepCompositeLibUtilitiesService {
166
- constructor() {
167
- //
168
- }
169
- }
170
- PepCompositeLibUtilitiesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
171
- PepCompositeLibUtilitiesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, providedIn: 'root' });
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, decorators: [{
173
- type: Injectable,
174
- args: [{
175
- providedIn: 'root',
176
- }]
162
+ /*
163
+ This service is for utillity usege.
164
+ */
165
+ class PepCompositeLibUtilitiesService {
166
+ constructor() {
167
+ //
168
+ }
169
+ }
170
+ PepCompositeLibUtilitiesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
171
+ PepCompositeLibUtilitiesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, providedIn: 'root' });
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepCompositeLibUtilitiesService, decorators: [{
173
+ type: Injectable,
174
+ args: [{
175
+ providedIn: 'root',
176
+ }]
177
177
  }], ctorParameters: function () { return []; } });
178
178
 
179
- class PepDIMXHelperService {
180
- constructor(addonBlockLoaderService) {
181
- this.addonBlockLoaderService = addonBlockLoaderService;
182
- }
183
- register(viewContainerRef, dimxHostObject, onDIMXProcessDoneCallback) {
184
- this.addonBlockLoaderService.loadAddonBlockInContainer({
185
- container: viewContainerRef,
186
- name: 'DIMX',
187
- hostObject: dimxHostObject,
188
- hostEventsCallback: (event) => {
189
- if (event.action === 'DIMXFunctionsRegister') {
190
- this.dimxFunctions = event.value;
191
- }
192
- else if (event.action === 'DIMXProcessDone') {
193
- onDIMXProcessDoneCallback(event.value);
194
- }
195
- else {
196
- console.error('Unknown event action: ' + event.action);
197
- }
198
- }
199
- });
200
- }
201
- import(options) {
202
- var _a;
203
- if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXImport) === 'function') {
204
- this.dimxFunctions.DIMXImport(options);
205
- }
206
- else {
207
- console.error('DIMXImport function not found, are you registered?');
208
- }
209
- }
210
- recursive_import(options) {
211
- var _a;
212
- if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXRecursiveImport) === 'function') {
213
- this.dimxFunctions.DIMXRecursiveImport(options);
214
- }
215
- else {
216
- console.error('DIMXRecursiveImport function not found, are you registered?');
217
- }
218
- }
219
- export(options) {
220
- var _a;
221
- if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXExport) === 'function') {
222
- this.dimxFunctions.DIMXExport(options);
223
- }
224
- else {
225
- console.error('DIMXExport function not found, are you registered?');
226
- }
227
- }
228
- recursive_export(options) {
229
- var _a;
230
- if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXRecursiveExport) === 'function') {
231
- this.dimxFunctions.DIMXRecursiveExport(options);
232
- }
233
- else {
234
- console.error('DIMXRecursiveExport function not found, are you registered?');
235
- }
236
- }
237
- }
238
- 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 });
239
- PepDIMXHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService });
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService, decorators: [{
241
- type: Injectable
179
+ class PepDIMXHelperService {
180
+ constructor(addonBlockLoaderService) {
181
+ this.addonBlockLoaderService = addonBlockLoaderService;
182
+ }
183
+ register(viewContainerRef, dimxHostObject, onDIMXProcessDoneCallback) {
184
+ this.addonBlockLoaderService.loadAddonBlockInContainer({
185
+ container: viewContainerRef,
186
+ name: 'DIMX',
187
+ hostObject: dimxHostObject,
188
+ hostEventsCallback: (event) => {
189
+ if (event.action === 'DIMXFunctionsRegister') {
190
+ this.dimxFunctions = event.value;
191
+ }
192
+ else if (event.action === 'DIMXProcessDone') {
193
+ onDIMXProcessDoneCallback(event.value);
194
+ }
195
+ else {
196
+ console.error('Unknown event action: ' + event.action);
197
+ }
198
+ }
199
+ });
200
+ }
201
+ import(options) {
202
+ var _a;
203
+ if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXImport) === 'function') {
204
+ this.dimxFunctions.DIMXImport(options);
205
+ }
206
+ else {
207
+ console.error('DIMXImport function not found, are you registered?');
208
+ }
209
+ }
210
+ recursive_import(options) {
211
+ var _a;
212
+ if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXRecursiveImport) === 'function') {
213
+ this.dimxFunctions.DIMXRecursiveImport(options);
214
+ }
215
+ else {
216
+ console.error('DIMXRecursiveImport function not found, are you registered?');
217
+ }
218
+ }
219
+ export(options) {
220
+ var _a;
221
+ if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXExport) === 'function') {
222
+ this.dimxFunctions.DIMXExport(options);
223
+ }
224
+ else {
225
+ console.error('DIMXExport function not found, are you registered?');
226
+ }
227
+ }
228
+ recursive_export(options) {
229
+ var _a;
230
+ if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXRecursiveExport) === 'function') {
231
+ this.dimxFunctions.DIMXRecursiveExport(options);
232
+ }
233
+ else {
234
+ console.error('DIMXRecursiveExport function not found, are you registered?');
235
+ }
236
+ }
237
+ }
238
+ 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 });
239
+ PepDIMXHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService });
240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService, decorators: [{
241
+ type: Injectable
242
242
  }], ctorParameters: function () { return [{ type: i1$1.PepAddonBlockLoaderService }]; } });
243
243
 
244
- /*
245
- * Public API Surface of ngx-composite-lib/core/common/services
244
+ /*
245
+ * Public API Surface of ngx-composite-lib/core/common/services
246
246
  */
247
247
 
248
- /*
249
- * export from ngx-composite-lib/core/common/services
248
+ /*
249
+ * export from ngx-composite-lib/core/common/services
250
250
  */
251
251
 
252
- const utilitiesList = [
253
- PepResetConfigurationFieldDirective
254
- ];
255
- class PepNgxCompositeLibModule {
256
- constructor(pepIconRegistry) {
257
- this.pepIconRegistry = pepIconRegistry;
258
- this.pepIconRegistry.registerIcons([
259
- pepIconDeviceResponsive
260
- ]);
261
- }
262
- }
263
- PepNgxCompositeLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, deps: [{ token: i1.PepIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
264
- PepNgxCompositeLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, declarations: [PepResetConfigurationFieldDirective], imports: [CommonModule,
265
- PepIconModule,
266
- PepRemoteLoaderModule], exports: [PepResetConfigurationFieldDirective] });
267
- PepNgxCompositeLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, providers: [
268
- PepDIMXHelperService,
269
- PepCompositeLibUtilitiesService
270
- ], imports: [CommonModule,
271
- PepIconModule,
272
- PepRemoteLoaderModule] });
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, decorators: [{
274
- type: NgModule,
275
- args: [{
276
- declarations: [
277
- utilitiesList
278
- ],
279
- imports: [
280
- CommonModule,
281
- PepIconModule,
282
- PepRemoteLoaderModule,
283
- ],
284
- exports: [
285
- utilitiesList
286
- //TranslateModule
287
- ],
288
- providers: [
289
- PepDIMXHelperService,
290
- PepCompositeLibUtilitiesService
291
- ]
292
- }]
252
+ const utilitiesList = [
253
+ PepResetConfigurationFieldDirective
254
+ ];
255
+ class PepNgxCompositeLibModule {
256
+ constructor(pepIconRegistry) {
257
+ this.pepIconRegistry = pepIconRegistry;
258
+ this.pepIconRegistry.registerIcons([
259
+ pepIconDeviceResponsive
260
+ ]);
261
+ }
262
+ }
263
+ PepNgxCompositeLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, deps: [{ token: i1.PepIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
264
+ PepNgxCompositeLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, declarations: [PepResetConfigurationFieldDirective], imports: [CommonModule,
265
+ PepIconModule,
266
+ PepRemoteLoaderModule], exports: [PepResetConfigurationFieldDirective] });
267
+ PepNgxCompositeLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, providers: [
268
+ PepDIMXHelperService,
269
+ PepCompositeLibUtilitiesService
270
+ ], imports: [CommonModule,
271
+ PepIconModule,
272
+ PepRemoteLoaderModule] });
273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, decorators: [{
274
+ type: NgModule,
275
+ args: [{
276
+ declarations: [
277
+ utilitiesList
278
+ ],
279
+ imports: [
280
+ CommonModule,
281
+ PepIconModule,
282
+ PepRemoteLoaderModule,
283
+ ],
284
+ exports: [
285
+ utilitiesList
286
+ //TranslateModule
287
+ ],
288
+ providers: [
289
+ PepDIMXHelperService,
290
+ PepCompositeLibUtilitiesService
291
+ ]
292
+ }]
293
293
  }], ctorParameters: function () { return [{ type: i1.PepIconRegistry }]; } });
294
294
 
295
- /*
296
- * Public API Surface of ngx-composite-lib/core/common/directives
295
+ /*
296
+ * Public API Surface of ngx-composite-lib/core/common/directives
297
297
  */
298
298
 
299
- /*
300
- * export from ngx-composite-lib/core/common/directives
299
+ /*
300
+ * export from ngx-composite-lib/core/common/directives
301
301
  */
302
302
 
303
- /*
304
- * Public API Surface of ngx-composite-lib/core/common
303
+ /*
304
+ * Public API Surface of ngx-composite-lib/core/common
305
305
  */
306
306
 
307
- /*
308
- * export from ngx-composite-lib/core/common
307
+ /*
308
+ * export from ngx-composite-lib/core/common
309
309
  */
310
310
 
311
- /*
312
- * Public API Surface of ngx-composite-lib/core
311
+ /*
312
+ * Public API Surface of ngx-composite-lib/core
313
313
  */
314
314
 
315
- /*
316
- * export from ngx-composite-lib/core
315
+ /*
316
+ * export from ngx-composite-lib/core
317
317
  */
318
318
 
319
- /*
320
- * Public API Surface of ngx-composite-lib
319
+ /*
320
+ * Public API Surface of ngx-composite-lib
321
321
  */
322
322
 
323
- /**
324
- * Generated bundle index. Do not edit.
323
+ /**
324
+ * Generated bundle index. Do not edit.
325
325
  */
326
326
 
327
327
  export { PepCompositeLibUtilitiesService, PepDIMXHelperService, PepNgxCompositeLibModule, PepResetConfigurationFieldDirective };