@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
@@ -7,67 +7,67 @@ import * as i2 from '@ngx-translate/core';
7
7
  import * as i1$1 from '@pepperi-addons/ngx-lib/remote-loader';
8
8
  import { PepRemoteLoaderModule } from '@pepperi-addons/ngx-lib/remote-loader';
9
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() {
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
61
  const css = `
62
62
  display: flex;
63
63
  justify-content: flex-end;
64
64
  float: ${this.getFloat()};
65
65
  margin-bottom: 1rem;
66
- `;
67
- this.buttonContainer.setAttribute("style", css);
68
- }
69
- setButtonStyle(button) {
70
- if (button) {
66
+ `;
67
+ this.buttonContainer.setAttribute("style", css);
68
+ }
69
+ setButtonStyle(button) {
70
+ if (button) {
71
71
  const css = `
72
72
  display: flex !important;
73
73
  align-items: center !important;
@@ -77,243 +77,243 @@ class PepResetConfigurationFieldDirective {
77
77
  background: unset !important;
78
78
  font-size: var(--pep-button-2xs-font-size) !important;
79
79
  visibility: ${this.getVisibility()};
80
- `;
81
- button.setAttribute("style", css);
82
- }
83
- }
84
- setSvgStyle(svg) {
80
+ `;
81
+ button.setAttribute("style", css);
82
+ }
83
+ }
84
+ setSvgStyle(svg) {
85
85
  const css = `
86
86
  transform: rotate(270deg);
87
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
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
156
  }] } });
157
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
- }]
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
173
  }], ctorParameters: function () { return []; } });
174
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
- recursive_import(options) {
206
- if (typeof (this.dimxFunctions?.DIMXRecursiveImport) === 'function') {
207
- this.dimxFunctions.DIMXRecursiveImport(options);
208
- }
209
- else {
210
- console.error('DIMXRecursiveImport function not found, are you registered?');
211
- }
212
- }
213
- export(options) {
214
- if (typeof (this.dimxFunctions?.DIMXExport) === 'function') {
215
- this.dimxFunctions.DIMXExport(options);
216
- }
217
- else {
218
- console.error('DIMXExport function not found, are you registered?');
219
- }
220
- }
221
- recursive_export(options) {
222
- if (typeof (this.dimxFunctions?.DIMXRecursiveExport) === 'function') {
223
- this.dimxFunctions.DIMXRecursiveExport(options);
224
- }
225
- else {
226
- console.error('DIMXRecursiveExport function not found, are you registered?');
227
- }
228
- }
229
- }
230
- 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 });
231
- PepDIMXHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService });
232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService, decorators: [{
233
- type: Injectable
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
+ recursive_import(options) {
206
+ if (typeof (this.dimxFunctions?.DIMXRecursiveImport) === 'function') {
207
+ this.dimxFunctions.DIMXRecursiveImport(options);
208
+ }
209
+ else {
210
+ console.error('DIMXRecursiveImport function not found, are you registered?');
211
+ }
212
+ }
213
+ export(options) {
214
+ if (typeof (this.dimxFunctions?.DIMXExport) === 'function') {
215
+ this.dimxFunctions.DIMXExport(options);
216
+ }
217
+ else {
218
+ console.error('DIMXExport function not found, are you registered?');
219
+ }
220
+ }
221
+ recursive_export(options) {
222
+ if (typeof (this.dimxFunctions?.DIMXRecursiveExport) === 'function') {
223
+ this.dimxFunctions.DIMXRecursiveExport(options);
224
+ }
225
+ else {
226
+ console.error('DIMXRecursiveExport function not found, are you registered?');
227
+ }
228
+ }
229
+ }
230
+ 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 });
231
+ PepDIMXHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService });
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepDIMXHelperService, decorators: [{
233
+ type: Injectable
234
234
  }], ctorParameters: function () { return [{ type: i1$1.PepAddonBlockLoaderService }]; } });
235
235
 
236
- /*
237
- * Public API Surface of ngx-composite-lib/core/common/services
236
+ /*
237
+ * Public API Surface of ngx-composite-lib/core/common/services
238
238
  */
239
239
 
240
- /*
241
- * export from ngx-composite-lib/core/common/services
240
+ /*
241
+ * export from ngx-composite-lib/core/common/services
242
242
  */
243
243
 
244
- const utilitiesList = [
245
- PepResetConfigurationFieldDirective
246
- ];
247
- class PepNgxCompositeLibModule {
248
- constructor(pepIconRegistry) {
249
- this.pepIconRegistry = pepIconRegistry;
250
- this.pepIconRegistry.registerIcons([
251
- pepIconDeviceResponsive
252
- ]);
253
- }
254
- }
255
- PepNgxCompositeLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, deps: [{ token: i1.PepIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
256
- PepNgxCompositeLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, declarations: [PepResetConfigurationFieldDirective], imports: [CommonModule,
257
- PepIconModule,
258
- PepRemoteLoaderModule], exports: [PepResetConfigurationFieldDirective] });
259
- PepNgxCompositeLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, providers: [
260
- PepDIMXHelperService,
261
- PepCompositeLibUtilitiesService
262
- ], imports: [CommonModule,
263
- PepIconModule,
264
- PepRemoteLoaderModule] });
265
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, decorators: [{
266
- type: NgModule,
267
- args: [{
268
- declarations: [
269
- utilitiesList
270
- ],
271
- imports: [
272
- CommonModule,
273
- PepIconModule,
274
- PepRemoteLoaderModule,
275
- ],
276
- exports: [
277
- utilitiesList
278
- //TranslateModule
279
- ],
280
- providers: [
281
- PepDIMXHelperService,
282
- PepCompositeLibUtilitiesService
283
- ]
284
- }]
244
+ const utilitiesList = [
245
+ PepResetConfigurationFieldDirective
246
+ ];
247
+ class PepNgxCompositeLibModule {
248
+ constructor(pepIconRegistry) {
249
+ this.pepIconRegistry = pepIconRegistry;
250
+ this.pepIconRegistry.registerIcons([
251
+ pepIconDeviceResponsive
252
+ ]);
253
+ }
254
+ }
255
+ PepNgxCompositeLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, deps: [{ token: i1.PepIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
256
+ PepNgxCompositeLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, declarations: [PepResetConfigurationFieldDirective], imports: [CommonModule,
257
+ PepIconModule,
258
+ PepRemoteLoaderModule], exports: [PepResetConfigurationFieldDirective] });
259
+ PepNgxCompositeLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, providers: [
260
+ PepDIMXHelperService,
261
+ PepCompositeLibUtilitiesService
262
+ ], imports: [CommonModule,
263
+ PepIconModule,
264
+ PepRemoteLoaderModule] });
265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: PepNgxCompositeLibModule, decorators: [{
266
+ type: NgModule,
267
+ args: [{
268
+ declarations: [
269
+ utilitiesList
270
+ ],
271
+ imports: [
272
+ CommonModule,
273
+ PepIconModule,
274
+ PepRemoteLoaderModule,
275
+ ],
276
+ exports: [
277
+ utilitiesList
278
+ //TranslateModule
279
+ ],
280
+ providers: [
281
+ PepDIMXHelperService,
282
+ PepCompositeLibUtilitiesService
283
+ ]
284
+ }]
285
285
  }], ctorParameters: function () { return [{ type: i1.PepIconRegistry }]; } });
286
286
 
287
- /*
288
- * Public API Surface of ngx-composite-lib/core/common/directives
287
+ /*
288
+ * Public API Surface of ngx-composite-lib/core/common/directives
289
289
  */
290
290
 
291
- /*
292
- * export from ngx-composite-lib/core/common/directives
291
+ /*
292
+ * export from ngx-composite-lib/core/common/directives
293
293
  */
294
294
 
295
- /*
296
- * Public API Surface of ngx-composite-lib/core/common
295
+ /*
296
+ * Public API Surface of ngx-composite-lib/core/common
297
297
  */
298
298
 
299
- /*
300
- * export from ngx-composite-lib/core/common
299
+ /*
300
+ * export from ngx-composite-lib/core/common
301
301
  */
302
302
 
303
- /*
304
- * Public API Surface of ngx-composite-lib/core
303
+ /*
304
+ * Public API Surface of ngx-composite-lib/core
305
305
  */
306
306
 
307
- /*
308
- * export from ngx-composite-lib/core
307
+ /*
308
+ * export from ngx-composite-lib/core
309
309
  */
310
310
 
311
- /*
312
- * Public API Surface of ngx-composite-lib
311
+ /*
312
+ * Public API Surface of ngx-composite-lib
313
313
  */
314
314
 
315
- /**
316
- * Generated bundle index. Do not edit.
315
+ /**
316
+ * Generated bundle index. Do not edit.
317
317
  */
318
318
 
319
319
  export { PepCompositeLibUtilitiesService, PepDIMXHelperService, PepNgxCompositeLibModule, PepResetConfigurationFieldDirective };
@@ -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, false>;
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
+ }