@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
@@ -29,191 +29,191 @@
29
29
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
30
30
  var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
31
31
 
32
- var GroupButtonsSettingsComponent = /** @class */ (function () {
33
- // pepB: PepSizeType | 'none' = "xs";
34
- function GroupButtonsSettingsComponent(translate) {
35
- this.translate = translate;
36
- this.header = '';
37
- this.subHeader = '';
38
- this.groupType = 'sizes';
39
- this.btnsArray = [];
40
- this.excludeKeys = []; // for example ['xs','xl']
41
- this.useNone = false;
42
- this.disabled = false;
43
- this.dir = 'ltr';
44
- this.btnkeyChange = new i0.EventEmitter();
45
- this.none = { key: 'none' };
46
- this.sizes = [];
47
- }
48
- Object.defineProperty(GroupButtonsSettingsComponent.prototype, "btnKey", {
49
- get: function () {
50
- return this._btnKey;
51
- },
52
- set: function (value) {
53
- if (!value) {
54
- this._btnKey = '';
55
- }
56
- else {
57
- this._btnKey = value;
58
- }
59
- },
60
- enumerable: false,
61
- configurable: true
62
- });
63
- GroupButtonsSettingsComponent.prototype.ngOnInit = function () {
64
- var _this = this;
65
- // Get the first translation for load all translations.
66
- this.translate.get('SHADOW_SETTINGS.INTENSITY_SOFT').toPromise().then(function (typeSoft) {
67
- _this.none = { key: 'none', value: _this.translate.instant('GENERAL.NONE'), callback: function () { return _this.onKeyChange(null); } };
68
- _this.arrayMerge();
69
- });
70
- };
71
- GroupButtonsSettingsComponent.prototype.arrayMerge = function () {
72
- var _this = this;
73
- this.btnsArray = this.getButtonsArray();
74
- // check if need to remove items from the buttons array
75
- if (this.excludeKeys) {
76
- this.btnsArray = this.btnsArray.filter(function (i) { return !_this.excludeKeys.find(function (f) { return f === i.key; }); });
77
- }
78
- // check if need to add the None button
79
- if (this.useNone) {
80
- this.btnsArray = [this.none].concat(this.btnsArray);
81
- }
82
- };
83
- GroupButtonsSettingsComponent.prototype.onKeyChange = function (event) {
84
- var _a;
85
- this.btnKey = ((_a = event === null || event === void 0 ? void 0 : event.source) === null || _a === void 0 ? void 0 : _a.key) || 'none';
86
- this.btnkeyChange.emit(this.btnKey);
87
- };
88
- GroupButtonsSettingsComponent.prototype.getButtonsArray = function () {
89
- var _this = this;
90
- switch (this.groupType) {
91
- case 'custom': {
92
- return this.btnsArray;
93
- }
94
- case 'sizes': {
95
- return [
96
- { key: 'xs', value: this.translate.instant('GENERAL.XS'), callback: function (event) { return _this.onKeyChange(event); } },
97
- { key: 'sm', value: this.translate.instant('GENERAL.SM'), callback: function (event) { return _this.onKeyChange(event); } },
98
- { key: 'md', value: this.translate.instant('GENERAL.MD'), callback: function (event) { return _this.onKeyChange(event); } },
99
- { key: 'lg', value: this.translate.instant('GENERAL.LG'), callback: function (event) { return _this.onKeyChange(event); } },
100
- { key: 'xl', value: this.translate.instant('GENERAL.XL'), callback: function (event) { return _this.onKeyChange(event); } }
101
- ];
102
- }
103
- case 'vertical-align': {
104
- return [
105
- { key: 'start', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.TOP'), callback: function (event) { return _this.onKeyChange(event); } },
106
- { key: 'middle', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.MIDDLE'), callback: function (event) { return _this.onKeyChange(event); } },
107
- { key: 'end', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.BOTTOM'), callback: function (event) { return _this.onKeyChange(event); } }
108
- ];
109
- }
110
- case 'horizontal-align': {
111
- return [
112
- { key: 'left', iconName: 'text_align_right', callback: function (event) { return _this.onKeyChange(event); } },
113
- { key: 'center', iconName: 'text_align_center', callback: function (event) { return _this.onKeyChange(event); } },
114
- { key: 'right', iconName: 'text_align_left', callback: function (event) { return _this.onKeyChange(event); } },
115
- ];
116
- }
117
- case 'font-weight': {
118
- return [
119
- { key: 'normal', value: this.translate.instant('GENERAL.FONT_WEIGHT.NORMAL'), callback: function (event) { return _this.onKeyChange(event); } },
120
- { key: 'bold', value: this.translate.instant('GENERAL.FONT_WEIGHT.BOLD'), callback: function (event) { return _this.onKeyChange(event); } },
121
- { key: 'bolder', value: this.translate.instant('GENERAL.FONT_WEIGHT.BOLDER'), callback: function (event) { return _this.onKeyChange(event); } }
122
- ];
123
- }
124
- case 'width-sizes': {
125
- return [
126
- { key: 'narrow', value: this.translate.instant('GENERAL.WIDTH_SIZE.NARROW'), callback: function (event) { return _this.onKeyChange(event); } },
127
- { key: 'regular', value: this.translate.instant('GENERAL.WIDTH_SIZE.REGULAR'), callback: function (event) { return _this.onKeyChange(event); } },
128
- { key: 'wide', value: this.translate.instant('GENERAL.WIDTH_SIZE.WIDE'), callback: function (event) { return _this.onKeyChange(event); } }
129
- ];
130
- }
131
- default: {
132
- return [];
133
- }
134
- }
135
- };
136
- return GroupButtonsSettingsComponent;
137
- }());
138
- GroupButtonsSettingsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GroupButtonsSettingsComponent, deps: [{ token: i1__namespace.TranslateService }], target: i0__namespace.ɵɵFactoryTarget.Component });
139
- GroupButtonsSettingsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: GroupButtonsSettingsComponent, selector: "pep-group-buttons-settings", inputs: { header: "header", subHeader: "subHeader", groupType: "groupType", btnsArray: "btnsArray", excludeKeys: "excludeKeys", useNone: "useNone", disabled: "disabled", dir: "dir", btnKey: "btnKey" }, outputs: { btnkeyChange: "btnkeyChange" }, ngImport: i0__namespace, template: "<label *ngIf=\"header != ''\" class=\"body-xl bold ellipsis\">{{header}}</label>\n<pep-field-title *ngIf=\"subHeader !=''\" [label]=\"subHeader\" [disabled]=\"disabled\" [xAlignment]=\"dir === 'rtl' ? 'right' : 'left'\"></pep-field-title>\n<pep-group-buttons [buttons]=\"btnsArray\" \n [selectedButtonKey]=\"btnKey\" \n [stretch]=\"true\" \n buttonsClass=\"md regular\" \n [buttonsDisabled]=\"disabled\" \n viewType=\"toggle\">\n</pep-group-buttons>\n", styles: [":host{width:100%}:host .shadow-size-group,:host .shadow-type-group{display:block;margin-bottom:var(--pep-form-spacing, 1rem)}\n"], components: [{ type: i2__namespace.PepFieldTitleComponent, selector: "pep-field-title", inputs: ["label", "mandatory", "disabled", "maxFieldCharacters", "hint", "xAlignment", "showTitle", "inputLength"] }, { type: i3__namespace.PepGroupButtonsComponent, selector: "pep-group-buttons", inputs: ["viewType", "styleType", "sizeType", "buttons", "buttonsDisabled", "selectedButtonKey", "stretch"], outputs: ["buttonClick"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
140
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GroupButtonsSettingsComponent, decorators: [{
141
- type: i0.Component,
142
- args: [{
143
- selector: 'pep-group-buttons-settings',
144
- templateUrl: './group-buttons-settings.component.html',
145
- styleUrls: ['./group-buttons-settings.component.scss']
146
- }]
147
- }], ctorParameters: function () { return [{ type: i1__namespace.TranslateService }]; }, propDecorators: { header: [{
148
- type: i0.Input
149
- }], subHeader: [{
150
- type: i0.Input
151
- }], groupType: [{
152
- type: i0.Input
153
- }], btnsArray: [{
154
- type: i0.Input
155
- }], excludeKeys: [{
156
- type: i0.Input
157
- }], useNone: [{
158
- type: i0.Input
159
- }], disabled: [{
160
- type: i0.Input
161
- }], dir: [{
162
- type: i0.Input
163
- }], btnKey: [{
164
- type: i0.Input
165
- }], btnkeyChange: [{
166
- type: i0.Output
32
+ var GroupButtonsSettingsComponent = /** @class */ (function () {
33
+ // pepB: PepSizeType | 'none' = "xs";
34
+ function GroupButtonsSettingsComponent(translate) {
35
+ this.translate = translate;
36
+ this.header = '';
37
+ this.subHeader = '';
38
+ this.groupType = 'sizes';
39
+ this.btnsArray = [];
40
+ this.excludeKeys = []; // for example ['xs','xl']
41
+ this.useNone = false;
42
+ this.disabled = false;
43
+ this.dir = 'ltr';
44
+ this.btnkeyChange = new i0.EventEmitter();
45
+ this.none = { key: 'none' };
46
+ this.sizes = [];
47
+ }
48
+ Object.defineProperty(GroupButtonsSettingsComponent.prototype, "btnKey", {
49
+ get: function () {
50
+ return this._btnKey;
51
+ },
52
+ set: function (value) {
53
+ if (!value) {
54
+ this._btnKey = '';
55
+ }
56
+ else {
57
+ this._btnKey = value;
58
+ }
59
+ },
60
+ enumerable: false,
61
+ configurable: true
62
+ });
63
+ GroupButtonsSettingsComponent.prototype.ngOnInit = function () {
64
+ var _this = this;
65
+ // Get the first translation for load all translations.
66
+ this.translate.get('SHADOW_SETTINGS.INTENSITY_SOFT').toPromise().then(function (typeSoft) {
67
+ _this.none = { key: 'none', value: _this.translate.instant('GENERAL.NONE'), callback: function () { return _this.onKeyChange(null); } };
68
+ _this.arrayMerge();
69
+ });
70
+ };
71
+ GroupButtonsSettingsComponent.prototype.arrayMerge = function () {
72
+ var _this = this;
73
+ this.btnsArray = this.getButtonsArray();
74
+ // check if need to remove items from the buttons array
75
+ if (this.excludeKeys) {
76
+ this.btnsArray = this.btnsArray.filter(function (i) { return !_this.excludeKeys.find(function (f) { return f === i.key; }); });
77
+ }
78
+ // check if need to add the None button
79
+ if (this.useNone) {
80
+ this.btnsArray = [this.none].concat(this.btnsArray);
81
+ }
82
+ };
83
+ GroupButtonsSettingsComponent.prototype.onKeyChange = function (event) {
84
+ var _a;
85
+ this.btnKey = ((_a = event === null || event === void 0 ? void 0 : event.source) === null || _a === void 0 ? void 0 : _a.key) || 'none';
86
+ this.btnkeyChange.emit(this.btnKey);
87
+ };
88
+ GroupButtonsSettingsComponent.prototype.getButtonsArray = function () {
89
+ var _this = this;
90
+ switch (this.groupType) {
91
+ case 'custom': {
92
+ return this.btnsArray;
93
+ }
94
+ case 'sizes': {
95
+ return [
96
+ { key: 'xs', value: this.translate.instant('GENERAL.XS'), callback: function (event) { return _this.onKeyChange(event); } },
97
+ { key: 'sm', value: this.translate.instant('GENERAL.SM'), callback: function (event) { return _this.onKeyChange(event); } },
98
+ { key: 'md', value: this.translate.instant('GENERAL.MD'), callback: function (event) { return _this.onKeyChange(event); } },
99
+ { key: 'lg', value: this.translate.instant('GENERAL.LG'), callback: function (event) { return _this.onKeyChange(event); } },
100
+ { key: 'xl', value: this.translate.instant('GENERAL.XL'), callback: function (event) { return _this.onKeyChange(event); } }
101
+ ];
102
+ }
103
+ case 'vertical-align': {
104
+ return [
105
+ { key: 'start', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.TOP'), callback: function (event) { return _this.onKeyChange(event); } },
106
+ { key: 'middle', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.MIDDLE'), callback: function (event) { return _this.onKeyChange(event); } },
107
+ { key: 'end', value: this.translate.instant('GENERAL.VERTICAL_ALIGN.BOTTOM'), callback: function (event) { return _this.onKeyChange(event); } }
108
+ ];
109
+ }
110
+ case 'horizontal-align': {
111
+ return [
112
+ { key: 'left', iconName: 'text_align_right', callback: function (event) { return _this.onKeyChange(event); } },
113
+ { key: 'center', iconName: 'text_align_center', callback: function (event) { return _this.onKeyChange(event); } },
114
+ { key: 'right', iconName: 'text_align_left', callback: function (event) { return _this.onKeyChange(event); } },
115
+ ];
116
+ }
117
+ case 'font-weight': {
118
+ return [
119
+ { key: 'normal', value: this.translate.instant('GENERAL.FONT_WEIGHT.NORMAL'), callback: function (event) { return _this.onKeyChange(event); } },
120
+ { key: 'bold', value: this.translate.instant('GENERAL.FONT_WEIGHT.BOLD'), callback: function (event) { return _this.onKeyChange(event); } },
121
+ { key: 'bolder', value: this.translate.instant('GENERAL.FONT_WEIGHT.BOLDER'), callback: function (event) { return _this.onKeyChange(event); } }
122
+ ];
123
+ }
124
+ case 'width-sizes': {
125
+ return [
126
+ { key: 'narrow', value: this.translate.instant('GENERAL.WIDTH_SIZE.NARROW'), callback: function (event) { return _this.onKeyChange(event); } },
127
+ { key: 'regular', value: this.translate.instant('GENERAL.WIDTH_SIZE.REGULAR'), callback: function (event) { return _this.onKeyChange(event); } },
128
+ { key: 'wide', value: this.translate.instant('GENERAL.WIDTH_SIZE.WIDE'), callback: function (event) { return _this.onKeyChange(event); } }
129
+ ];
130
+ }
131
+ default: {
132
+ return [];
133
+ }
134
+ }
135
+ };
136
+ return GroupButtonsSettingsComponent;
137
+ }());
138
+ GroupButtonsSettingsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GroupButtonsSettingsComponent, deps: [{ token: i1__namespace.TranslateService }], target: i0__namespace.ɵɵFactoryTarget.Component });
139
+ GroupButtonsSettingsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: GroupButtonsSettingsComponent, selector: "pep-group-buttons-settings", inputs: { header: "header", subHeader: "subHeader", groupType: "groupType", btnsArray: "btnsArray", excludeKeys: "excludeKeys", useNone: "useNone", disabled: "disabled", dir: "dir", btnKey: "btnKey" }, outputs: { btnkeyChange: "btnkeyChange" }, ngImport: i0__namespace, template: "<label *ngIf=\"header != ''\" class=\"body-xl bold ellipsis\">{{header}}</label>\n<pep-field-title *ngIf=\"subHeader !=''\" [label]=\"subHeader\" [disabled]=\"disabled\" [xAlignment]=\"dir === 'rtl' ? 'right' : 'left'\"></pep-field-title>\n<pep-group-buttons [buttons]=\"btnsArray\" \n [selectedButtonKey]=\"btnKey\" \n [stretch]=\"true\" \n buttonsClass=\"md regular\" \n [buttonsDisabled]=\"disabled\" \n viewType=\"toggle\">\n</pep-group-buttons>\n", styles: [":host{width:100%}:host .shadow-size-group,:host .shadow-type-group{display:block;margin-bottom:var(--pep-form-spacing, 1rem)}\n"], components: [{ type: i2__namespace.PepFieldTitleComponent, selector: "pep-field-title", inputs: ["label", "mandatory", "disabled", "maxFieldCharacters", "hint", "xAlignment", "showTitle", "inputLength"] }, { type: i3__namespace.PepGroupButtonsComponent, selector: "pep-group-buttons", inputs: ["viewType", "styleType", "sizeType", "buttons", "buttonsDisabled", "selectedButtonKey", "stretch"], outputs: ["buttonClick"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
140
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GroupButtonsSettingsComponent, decorators: [{
141
+ type: i0.Component,
142
+ args: [{
143
+ selector: 'pep-group-buttons-settings',
144
+ templateUrl: './group-buttons-settings.component.html',
145
+ styleUrls: ['./group-buttons-settings.component.scss']
146
+ }]
147
+ }], ctorParameters: function () { return [{ type: i1__namespace.TranslateService }]; }, propDecorators: { header: [{
148
+ type: i0.Input
149
+ }], subHeader: [{
150
+ type: i0.Input
151
+ }], groupType: [{
152
+ type: i0.Input
153
+ }], btnsArray: [{
154
+ type: i0.Input
155
+ }], excludeKeys: [{
156
+ type: i0.Input
157
+ }], useNone: [{
158
+ type: i0.Input
159
+ }], disabled: [{
160
+ type: i0.Input
161
+ }], dir: [{
162
+ type: i0.Input
163
+ }], btnKey: [{
164
+ type: i0.Input
165
+ }], btnkeyChange: [{
166
+ type: i0.Output
167
167
  }] } });
168
168
 
169
- var pepIcons = [
170
- i1$1.pepIconTextAlignCenter,
171
- i1$1.pepIconTextAlignLeft,
172
- i1$1.pepIconTextAlignRight
173
- ];
174
- var PepGroupButtonsSettingsModule = /** @class */ (function () {
175
- function PepGroupButtonsSettingsModule(pepIconRegistry) {
176
- this.pepIconRegistry = pepIconRegistry;
177
- this.pepIconRegistry.registerIcons(pepIcons);
178
- }
179
- return PepGroupButtonsSettingsModule;
180
- }());
181
- PepGroupButtonsSettingsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, deps: [{ token: i1__namespace$1.PepIconRegistry }], target: i0__namespace.ɵɵFactoryTarget.NgModule });
182
- PepGroupButtonsSettingsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, declarations: [GroupButtonsSettingsComponent], imports: [i4.CommonModule,
183
- ngxLib.PepNgxLibModule,
184
- i2.PepFieldTitleModule,
185
- i3.PepGroupButtonsModule,
186
- i1$1.PepIconModule], exports: [GroupButtonsSettingsComponent] });
187
- PepGroupButtonsSettingsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, imports: [[
188
- i4.CommonModule,
189
- ngxLib.PepNgxLibModule,
190
- i2.PepFieldTitleModule,
191
- i3.PepGroupButtonsModule,
192
- i1$1.PepIconModule
193
- ]] });
194
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, decorators: [{
195
- type: i0.NgModule,
196
- args: [{
197
- declarations: [
198
- GroupButtonsSettingsComponent
199
- ],
200
- imports: [
201
- i4.CommonModule,
202
- ngxLib.PepNgxLibModule,
203
- i2.PepFieldTitleModule,
204
- i3.PepGroupButtonsModule,
205
- i1$1.PepIconModule
206
- ],
207
- exports: [GroupButtonsSettingsComponent]
208
- }]
169
+ var pepIcons = [
170
+ i1$1.pepIconTextAlignCenter,
171
+ i1$1.pepIconTextAlignLeft,
172
+ i1$1.pepIconTextAlignRight
173
+ ];
174
+ var PepGroupButtonsSettingsModule = /** @class */ (function () {
175
+ function PepGroupButtonsSettingsModule(pepIconRegistry) {
176
+ this.pepIconRegistry = pepIconRegistry;
177
+ this.pepIconRegistry.registerIcons(pepIcons);
178
+ }
179
+ return PepGroupButtonsSettingsModule;
180
+ }());
181
+ PepGroupButtonsSettingsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, deps: [{ token: i1__namespace$1.PepIconRegistry }], target: i0__namespace.ɵɵFactoryTarget.NgModule });
182
+ PepGroupButtonsSettingsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, declarations: [GroupButtonsSettingsComponent], imports: [i4.CommonModule,
183
+ ngxLib.PepNgxLibModule,
184
+ i2.PepFieldTitleModule,
185
+ i3.PepGroupButtonsModule,
186
+ i1$1.PepIconModule], exports: [GroupButtonsSettingsComponent] });
187
+ PepGroupButtonsSettingsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, imports: [[
188
+ i4.CommonModule,
189
+ ngxLib.PepNgxLibModule,
190
+ i2.PepFieldTitleModule,
191
+ i3.PepGroupButtonsModule,
192
+ i1$1.PepIconModule
193
+ ]] });
194
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGroupButtonsSettingsModule, decorators: [{
195
+ type: i0.NgModule,
196
+ args: [{
197
+ declarations: [
198
+ GroupButtonsSettingsComponent
199
+ ],
200
+ imports: [
201
+ i4.CommonModule,
202
+ ngxLib.PepNgxLibModule,
203
+ i2.PepFieldTitleModule,
204
+ i3.PepGroupButtonsModule,
205
+ i1$1.PepIconModule
206
+ ],
207
+ exports: [GroupButtonsSettingsComponent]
208
+ }]
209
209
  }], ctorParameters: function () { return [{ type: i1__namespace$1.PepIconRegistry }]; } });
210
210
 
211
- /*
212
- * Public API Surface of ngx-composite-lib/shadow-settings
211
+ /*
212
+ * Public API Surface of ngx-composite-lib/shadow-settings
213
213
  */
214
214
 
215
- /**
216
- * Generated bundle index. Do not edit.
215
+ /**
216
+ * Generated bundle index. Do not edit.
217
217
  */
218
218
 
219
219
  exports.GroupButtonsSettingsComponent = GroupButtonsSettingsComponent;