@pepperi-addons/ngx-composite-lib 0.0.16-beta.43 → 0.0.16-beta.44

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 (129) hide show
  1. package/bundles/pepperi-addons-ngx-composite-lib-color-settings.umd.js +132 -132
  2. package/bundles/pepperi-addons-ngx-composite-lib-data-view-builder.umd.js +338 -338
  3. package/bundles/pepperi-addons-ngx-composite-lib-file-status-panel.umd.js +89 -89
  4. package/bundles/pepperi-addons-ngx-composite-lib-generic-form.umd.js +635 -647
  5. package/bundles/pepperi-addons-ngx-composite-lib-generic-form.umd.js.map +1 -1
  6. package/bundles/pepperi-addons-ngx-composite-lib-generic-list.umd.js +998 -1006
  7. package/bundles/pepperi-addons-ngx-composite-lib-generic-list.umd.js.map +1 -1
  8. package/bundles/pepperi-addons-ngx-composite-lib-group-buttons-settings.umd.js +179 -179
  9. package/bundles/pepperi-addons-ngx-composite-lib-shadow-settings.umd.js +117 -117
  10. package/bundles/pepperi-addons-ngx-composite-lib.umd.js +598 -598
  11. package/color-settings/color-settings.component.d.ts +25 -25
  12. package/color-settings/color-settings.model.d.ts +5 -5
  13. package/color-settings/color-settings.module.d.ts +12 -12
  14. package/color-settings/pepperi-addons-ngx-composite-lib-color-settings.d.ts +5 -5
  15. package/color-settings/public-api.d.ts +3 -3
  16. package/core/common/directives/index.d.ts +1 -1
  17. package/core/common/directives/public-api.d.ts +1 -1
  18. package/core/common/directives/reset-configuration-field.directive.d.ts +39 -39
  19. package/core/common/index.d.ts +1 -1
  20. package/core/common/public-api.d.ts +2 -2
  21. package/core/common/services/dimx.service.d.ts +32 -32
  22. package/core/common/services/index.d.ts +1 -1
  23. package/core/common/services/public-api.d.ts +2 -2
  24. package/core/common/services/utilities.service.d.ts +6 -6
  25. package/core/index.d.ts +1 -1
  26. package/core/public-api.d.ts +1 -1
  27. package/data-view-builder/data-view-builder.component.d.ts +35 -35
  28. package/data-view-builder/data-view-builder.model.d.ts +1 -1
  29. package/data-view-builder/data-view-builder.module.d.ts +23 -23
  30. package/data-view-builder/data-view-builder.service.d.ts +14 -14
  31. package/data-view-builder/menu-data-view/menu-data-view.component.d.ts +36 -36
  32. package/data-view-builder/pepperi-addons-ngx-composite-lib-data-view-builder.d.ts +5 -5
  33. package/data-view-builder/public-api.d.ts +3 -3
  34. package/esm2015/color-settings/color-settings.component.js +90 -90
  35. package/esm2015/color-settings/color-settings.model.js +8 -8
  36. package/esm2015/color-settings/color-settings.module.js +39 -39
  37. package/esm2015/color-settings/pepperi-addons-ngx-composite-lib-color-settings.js +4 -4
  38. package/esm2015/color-settings/public-api.js +6 -6
  39. package/esm2015/core/common/directives/index.js +4 -4
  40. package/esm2015/core/common/directives/public-api.js +4 -4
  41. package/esm2015/core/common/directives/reset-configuration-field.directive.js +139 -139
  42. package/esm2015/core/common/index.js +4 -4
  43. package/esm2015/core/common/public-api.js +5 -5
  44. package/esm2015/core/common/services/dimx.service.js +49 -49
  45. package/esm2015/core/common/services/index.js +4 -4
  46. package/esm2015/core/common/services/public-api.js +5 -5
  47. package/esm2015/core/common/services/utilities.service.js +18 -18
  48. package/esm2015/core/index.js +4 -4
  49. package/esm2015/core/public-api.js +4 -4
  50. package/esm2015/data-view-builder/data-view-builder.component.js +121 -121
  51. package/esm2015/data-view-builder/data-view-builder.model.js +1 -1
  52. package/esm2015/data-view-builder/data-view-builder.module.js +81 -81
  53. package/esm2015/data-view-builder/data-view-builder.service.js +38 -38
  54. package/esm2015/data-view-builder/menu-data-view/menu-data-view.component.js +121 -121
  55. package/esm2015/data-view-builder/pepperi-addons-ngx-composite-lib-data-view-builder.js +4 -4
  56. package/esm2015/data-view-builder/public-api.js +6 -6
  57. package/esm2015/file-status-panel/file-status-panel.component.js +38 -38
  58. package/esm2015/file-status-panel/file-status-panel.model.js +8 -8
  59. package/esm2015/file-status-panel/file-status-panel.module.js +55 -55
  60. package/esm2015/file-status-panel/pepperi-addons-ngx-composite-lib-file-status-panel.js +4 -4
  61. package/esm2015/file-status-panel/public-api.js +6 -6
  62. package/esm2015/generic-form/generic-form.component.js +187 -190
  63. package/esm2015/generic-form/generic-form.model.js +2 -2
  64. package/esm2015/generic-form/generic-form.module.js +73 -73
  65. package/esm2015/generic-form/generic-form.service.js +58 -68
  66. package/esm2015/generic-form/pepperi-addons-ngx-composite-lib-generic-form.js +4 -4
  67. package/esm2015/generic-form/public-api.js +7 -7
  68. package/esm2015/generic-list/generic-list.component.js +438 -446
  69. package/esm2015/generic-list/generic-list.model.js +1 -1
  70. package/esm2015/generic-list/generic-list.module.js +71 -71
  71. package/esm2015/generic-list/generic-list.service.js +126 -126
  72. package/esm2015/generic-list/pepperi-addons-ngx-composite-lib-generic-list.js +4 -4
  73. package/esm2015/generic-list/public-api.js +7 -7
  74. package/esm2015/group-buttons-settings/group-buttons-settings.component.js +134 -134
  75. package/esm2015/group-buttons-settings/group-buttons-settings.model.js +1 -1
  76. package/esm2015/group-buttons-settings/group-buttons-settings.module.js +49 -49
  77. package/esm2015/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.js +4 -4
  78. package/esm2015/group-buttons-settings/public-api.js +6 -6
  79. package/esm2015/ngx-composite-lib.module.js +55 -55
  80. package/esm2015/pepperi-addons-ngx-composite-lib.js +4 -4
  81. package/esm2015/public-api.js +5 -5
  82. package/esm2015/shadow-settings/pepperi-addons-ngx-composite-lib-shadow-settings.js +4 -4
  83. package/esm2015/shadow-settings/public-api.js +6 -6
  84. package/esm2015/shadow-settings/shadow-settings.component.js +72 -72
  85. package/esm2015/shadow-settings/shadow-settings.model.js +7 -7
  86. package/esm2015/shadow-settings/shadow-settings.module.js +43 -43
  87. package/fesm2015/pepperi-addons-ngx-composite-lib-color-settings.js +122 -122
  88. package/fesm2015/pepperi-addons-ngx-composite-lib-data-view-builder.js +319 -319
  89. package/fesm2015/pepperi-addons-ngx-composite-lib-file-status-panel.js +84 -84
  90. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-form.js +290 -302
  91. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-form.js.map +1 -1
  92. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.js +595 -603
  93. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.js.map +1 -1
  94. package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.js +170 -170
  95. package/fesm2015/pepperi-addons-ngx-composite-lib-shadow-settings.js +107 -107
  96. package/fesm2015/pepperi-addons-ngx-composite-lib.js +255 -255
  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/pepperi-addons-ngx-composite-lib-file-status-panel.d.ts +5 -5
  101. package/file-status-panel/public-api.d.ts +3 -3
  102. package/generic-form/generic-form.component.d.ts +44 -46
  103. package/generic-form/generic-form.model.d.ts +34 -34
  104. package/generic-form/generic-form.module.d.ts +13 -13
  105. package/generic-form/generic-form.service.d.ts +15 -16
  106. package/generic-form/pepperi-addons-ngx-composite-lib-generic-form.d.ts +5 -5
  107. package/generic-form/public-api.d.ts +4 -4
  108. package/generic-list/generic-list.component.d.ts +101 -101
  109. package/generic-list/generic-list.model.d.ts +54 -54
  110. package/generic-list/generic-list.module.d.ts +18 -18
  111. package/generic-list/generic-list.service.d.ts +43 -43
  112. package/generic-list/pepperi-addons-ngx-composite-lib-generic-list.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/pepperi-addons-ngx-composite-lib-group-buttons-settings.d.ts +5 -5
  118. package/group-buttons-settings/public-api.d.ts +3 -3
  119. package/ngx-composite-lib.module.d.ts +13 -13
  120. package/package.json +2 -2
  121. package/pepperi-addons-ngx-composite-lib.d.ts +5 -5
  122. package/public-api.d.ts +2 -2
  123. package/shadow-settings/pepperi-addons-ngx-composite-lib-shadow-settings.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 +7 -7
  127. package/shadow-settings/shadow-settings.module.d.ts +13 -13
  128. package/esm2015/generic-form/index.js +0 -5
  129. package/generic-form/index.d.ts +0 -1
@@ -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,234 +78,234 @@ 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: "12.0.5", 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: "12.0.0", version: "12.0.5", 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: "12.0.5", 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: "12.0.5", 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: "12.0.0", version: "12.0.5", 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: "12.0.5", 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: "12.0.5", ngImport: i0, type: PepCompositeLibUtilitiesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
171
- PepCompositeLibUtilitiesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepCompositeLibUtilitiesService, providedIn: 'root' });
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", 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: "12.0.5", ngImport: i0, type: PepCompositeLibUtilitiesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
171
+ PepCompositeLibUtilitiesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepCompositeLibUtilitiesService, providedIn: 'root' });
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", 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
- export(options) {
211
- var _a;
212
- if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXExport) === 'function') {
213
- this.dimxFunctions.DIMXExport(options);
214
- }
215
- else {
216
- console.error('DIMXExport function not found, are you registered?');
217
- }
218
- }
219
- }
220
- PepDIMXHelperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDIMXHelperService, deps: [{ token: i1$1.PepAddonBlockLoaderService }], target: i0.ɵɵFactoryTarget.Injectable });
221
- PepDIMXHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDIMXHelperService });
222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDIMXHelperService, decorators: [{
223
- 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
+ export(options) {
211
+ var _a;
212
+ if (typeof ((_a = this.dimxFunctions) === null || _a === void 0 ? void 0 : _a.DIMXExport) === 'function') {
213
+ this.dimxFunctions.DIMXExport(options);
214
+ }
215
+ else {
216
+ console.error('DIMXExport function not found, are you registered?');
217
+ }
218
+ }
219
+ }
220
+ PepDIMXHelperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDIMXHelperService, deps: [{ token: i1$1.PepAddonBlockLoaderService }], target: i0.ɵɵFactoryTarget.Injectable });
221
+ PepDIMXHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDIMXHelperService });
222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepDIMXHelperService, decorators: [{
223
+ type: Injectable
224
224
  }], ctorParameters: function () { return [{ type: i1$1.PepAddonBlockLoaderService }]; } });
225
225
 
226
- /*
227
- * Public API Surface of ngx-composite-lib/core/common/services
226
+ /*
227
+ * Public API Surface of ngx-composite-lib/core/common/services
228
228
  */
229
229
 
230
- /*
231
- * export from ngx-composite-lib/core/common/services
230
+ /*
231
+ * export from ngx-composite-lib/core/common/services
232
232
  */
233
233
 
234
- const utilitiesList = [
235
- PepResetConfigurationFieldDirective
236
- ];
237
- class PepNgxCompositeLibModule {
238
- constructor(pepIconRegistry) {
239
- this.pepIconRegistry = pepIconRegistry;
240
- this.pepIconRegistry.registerIcons([
241
- pepIconDeviceResponsive
242
- ]);
243
- }
244
- }
245
- PepNgxCompositeLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepNgxCompositeLibModule, deps: [{ token: i1.PepIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
246
- PepNgxCompositeLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepNgxCompositeLibModule, declarations: [PepResetConfigurationFieldDirective], imports: [CommonModule,
247
- PepIconModule,
248
- PepRemoteLoaderModule], exports: [PepResetConfigurationFieldDirective] });
249
- PepNgxCompositeLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepNgxCompositeLibModule, providers: [
250
- PepDIMXHelperService,
251
- PepCompositeLibUtilitiesService
252
- ], imports: [[
253
- CommonModule,
254
- PepIconModule,
255
- PepRemoteLoaderModule,
256
- ]] });
257
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepNgxCompositeLibModule, decorators: [{
258
- type: NgModule,
259
- args: [{
260
- declarations: [
261
- utilitiesList
262
- ],
263
- imports: [
264
- CommonModule,
265
- PepIconModule,
266
- PepRemoteLoaderModule,
267
- ],
268
- exports: [
269
- utilitiesList
270
- // TranslateModule
271
- ],
272
- providers: [
273
- PepDIMXHelperService,
274
- PepCompositeLibUtilitiesService
275
- ]
276
- }]
234
+ const utilitiesList = [
235
+ PepResetConfigurationFieldDirective
236
+ ];
237
+ class PepNgxCompositeLibModule {
238
+ constructor(pepIconRegistry) {
239
+ this.pepIconRegistry = pepIconRegistry;
240
+ this.pepIconRegistry.registerIcons([
241
+ pepIconDeviceResponsive
242
+ ]);
243
+ }
244
+ }
245
+ PepNgxCompositeLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepNgxCompositeLibModule, deps: [{ token: i1.PepIconRegistry }], target: i0.ɵɵFactoryTarget.NgModule });
246
+ PepNgxCompositeLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepNgxCompositeLibModule, declarations: [PepResetConfigurationFieldDirective], imports: [CommonModule,
247
+ PepIconModule,
248
+ PepRemoteLoaderModule], exports: [PepResetConfigurationFieldDirective] });
249
+ PepNgxCompositeLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepNgxCompositeLibModule, providers: [
250
+ PepDIMXHelperService,
251
+ PepCompositeLibUtilitiesService
252
+ ], imports: [[
253
+ CommonModule,
254
+ PepIconModule,
255
+ PepRemoteLoaderModule,
256
+ ]] });
257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0, type: PepNgxCompositeLibModule, decorators: [{
258
+ type: NgModule,
259
+ args: [{
260
+ declarations: [
261
+ utilitiesList
262
+ ],
263
+ imports: [
264
+ CommonModule,
265
+ PepIconModule,
266
+ PepRemoteLoaderModule,
267
+ ],
268
+ exports: [
269
+ utilitiesList
270
+ // TranslateModule
271
+ ],
272
+ providers: [
273
+ PepDIMXHelperService,
274
+ PepCompositeLibUtilitiesService
275
+ ]
276
+ }]
277
277
  }], ctorParameters: function () { return [{ type: i1.PepIconRegistry }]; } });
278
278
 
279
- /*
280
- * Public API Surface of ngx-composite-lib/core/common/directives
279
+ /*
280
+ * Public API Surface of ngx-composite-lib/core/common/directives
281
281
  */
282
282
 
283
- /*
284
- * export from ngx-composite-lib/core/common/directives
283
+ /*
284
+ * export from ngx-composite-lib/core/common/directives
285
285
  */
286
286
 
287
- /*
288
- * Public API Surface of ngx-composite-lib/core/common
287
+ /*
288
+ * Public API Surface of ngx-composite-lib/core/common
289
289
  */
290
290
 
291
- /*
292
- * export from ngx-composite-lib/core/common
291
+ /*
292
+ * export from ngx-composite-lib/core/common
293
293
  */
294
294
 
295
- /*
296
- * Public API Surface of ngx-composite-lib/core
295
+ /*
296
+ * Public API Surface of ngx-composite-lib/core
297
297
  */
298
298
 
299
- /*
300
- * export from ngx-composite-lib/core
299
+ /*
300
+ * export from ngx-composite-lib/core
301
301
  */
302
302
 
303
- /*
304
- * Public API Surface of ngx-composite-lib
303
+ /*
304
+ * Public API Surface of ngx-composite-lib
305
305
  */
306
306
 
307
- /**
308
- * Generated bundle index. Do not edit.
307
+ /**
308
+ * Generated bundle index. Do not edit.
309
309
  */
310
310
 
311
311
  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>;
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,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
+ }
@@ -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';