@pepperi-addons/ngx-composite-lib 0.0.16-beta.5 → 0.0.16-beta.9

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/bundles/pepperi-addons-ngx-composite-lib-color-settings.umd.js +123 -123
  2. package/bundles/pepperi-addons-ngx-composite-lib-dimx-export.umd.js +835 -835
  3. package/bundles/pepperi-addons-ngx-composite-lib-dimx-export.umd.js.map +1 -1
  4. package/bundles/pepperi-addons-ngx-composite-lib-file-status-panel.umd.js +84 -84
  5. package/bundles/pepperi-addons-ngx-composite-lib-generic-form.umd.js +647 -647
  6. package/bundles/pepperi-addons-ngx-composite-lib-generic-list.umd.js +961 -961
  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 +176 -176
  9. package/bundles/pepperi-addons-ngx-composite-lib-shadow-settings.umd.js +117 -117
  10. package/bundles/pepperi-addons-ngx-composite-lib.umd.js +538 -538
  11. package/color-settings/color-settings.component.d.ts +22 -22
  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 +38 -38
  19. package/core/common/index.d.ts +1 -1
  20. package/core/common/public-api.d.ts +2 -2
  21. package/core/common/services/index.d.ts +1 -1
  22. package/core/common/services/public-api.d.ts +1 -1
  23. package/core/common/services/utilities.service.d.ts +6 -6
  24. package/core/index.d.ts +1 -1
  25. package/core/public-api.d.ts +1 -1
  26. package/dimx-export/dimx.component.d.ts +86 -86
  27. package/dimx-export/dimx.model.d.ts +5 -5
  28. package/dimx-export/dimx.module.d.ts +16 -16
  29. package/dimx-export/dimx.service.d.ts +20 -21
  30. package/dimx-export/index.d.ts +1 -1
  31. package/dimx-export/pepperi-addons-ngx-composite-lib-dimx-export.d.ts +5 -5
  32. package/dimx-export/public-api.d.ts +3 -3
  33. package/esm2015/color-settings/color-settings.component.js +81 -81
  34. package/esm2015/color-settings/color-settings.model.js +8 -8
  35. package/esm2015/color-settings/color-settings.module.js +39 -39
  36. package/esm2015/color-settings/pepperi-addons-ngx-composite-lib-color-settings.js +4 -4
  37. package/esm2015/color-settings/public-api.js +6 -6
  38. package/esm2015/core/common/directives/index.js +4 -4
  39. package/esm2015/core/common/directives/public-api.js +4 -4
  40. package/esm2015/core/common/directives/reset-configuration-field.directive.js +135 -135
  41. package/esm2015/core/common/index.js +4 -4
  42. package/esm2015/core/common/public-api.js +5 -5
  43. package/esm2015/core/common/services/index.js +4 -4
  44. package/esm2015/core/common/services/public-api.js +4 -4
  45. package/esm2015/core/common/services/utilities.service.js +18 -18
  46. package/esm2015/core/index.js +4 -4
  47. package/esm2015/core/public-api.js +4 -4
  48. package/esm2015/dimx-export/dimx.component.js +335 -335
  49. package/esm2015/dimx-export/dimx.model.js +7 -7
  50. package/esm2015/dimx-export/dimx.module.js +52 -52
  51. package/esm2015/dimx-export/dimx.service.js +50 -50
  52. package/esm2015/dimx-export/index.js +4 -4
  53. package/esm2015/dimx-export/pepperi-addons-ngx-composite-lib-dimx-export.js +4 -4
  54. package/esm2015/dimx-export/public-api.js +6 -6
  55. package/esm2015/file-status-panel/file-status-panel.component.js +38 -38
  56. package/esm2015/file-status-panel/file-status-panel.model.js +8 -8
  57. package/esm2015/file-status-panel/file-status-panel.module.js +47 -47
  58. package/esm2015/file-status-panel/pepperi-addons-ngx-composite-lib-file-status-panel.js +4 -4
  59. package/esm2015/file-status-panel/public-api.js +6 -6
  60. package/esm2015/generic-form/generic-form.component.js +189 -189
  61. package/esm2015/generic-form/generic-form.model.js +1 -1
  62. package/esm2015/generic-form/generic-form.module.js +73 -73
  63. package/esm2015/generic-form/generic-form.service.js +67 -67
  64. package/esm2015/generic-form/index.js +4 -4
  65. package/esm2015/generic-form/pepperi-addons-ngx-composite-lib-generic-form.js +4 -4
  66. package/esm2015/generic-form/public-api.js +7 -7
  67. package/esm2015/generic-list/generic-list.component.js +417 -417
  68. package/esm2015/generic-list/generic-list.model.js +1 -1
  69. package/esm2015/generic-list/generic-list.module.js +68 -68
  70. package/esm2015/generic-list/generic-list.service.js +113 -113
  71. package/esm2015/generic-list/pepperi-addons-ngx-composite-lib-generic-list.js +4 -4
  72. package/esm2015/generic-list/public-api.js +7 -7
  73. package/esm2015/group-buttons-settings/group-buttons-settings.component.js +134 -134
  74. package/esm2015/group-buttons-settings/group-buttons-settings.model.js +1 -1
  75. package/esm2015/group-buttons-settings/group-buttons-settings.module.js +46 -46
  76. package/esm2015/group-buttons-settings/pepperi-addons-ngx-composite-lib-group-buttons-settings.js +4 -4
  77. package/esm2015/group-buttons-settings/public-api.js +6 -6
  78. package/esm2015/ngx-composite-lib.module.js +44 -44
  79. package/esm2015/pepperi-addons-ngx-composite-lib.js +4 -4
  80. package/esm2015/public-api.js +5 -5
  81. package/esm2015/shadow-settings/pepperi-addons-ngx-composite-lib-shadow-settings.js +4 -4
  82. package/esm2015/shadow-settings/public-api.js +6 -6
  83. package/esm2015/shadow-settings/shadow-settings.component.js +72 -72
  84. package/esm2015/shadow-settings/shadow-settings.model.js +7 -7
  85. package/esm2015/shadow-settings/shadow-settings.module.js +43 -43
  86. package/fesm2015/pepperi-addons-ngx-composite-lib-color-settings.js +113 -113
  87. package/fesm2015/pepperi-addons-ngx-composite-lib-dimx-export.js +415 -415
  88. package/fesm2015/pepperi-addons-ngx-composite-lib-dimx-export.js.map +1 -1
  89. package/fesm2015/pepperi-addons-ngx-composite-lib-file-status-panel.js +77 -77
  90. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-form.js +301 -301
  91. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.js +559 -559
  92. package/fesm2015/pepperi-addons-ngx-composite-lib-generic-list.js.map +1 -1
  93. package/fesm2015/pepperi-addons-ngx-composite-lib-group-buttons-settings.js +167 -167
  94. package/fesm2015/pepperi-addons-ngx-composite-lib-shadow-settings.js +107 -107
  95. package/fesm2015/pepperi-addons-ngx-composite-lib.js +197 -197
  96. package/file-status-panel/file-status-panel.component.d.ts +14 -14
  97. package/file-status-panel/file-status-panel.model.d.ts +7 -7
  98. package/file-status-panel/file-status-panel.module.d.ts +14 -14
  99. package/file-status-panel/pepperi-addons-ngx-composite-lib-file-status-panel.d.ts +5 -5
  100. package/file-status-panel/public-api.d.ts +3 -3
  101. package/generic-form/generic-form.component.d.ts +49 -49
  102. package/generic-form/generic-form.model.d.ts +39 -39
  103. package/generic-form/generic-form.module.d.ts +13 -13
  104. package/generic-form/generic-form.service.d.ts +16 -16
  105. package/generic-form/index.d.ts +1 -1
  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 +99 -99
  109. package/generic-list/generic-list.model.d.ts +50 -50
  110. package/generic-list/generic-list.module.d.ts +18 -18
  111. package/generic-list/generic-list.service.d.ts +42 -42
  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 +14 -14
  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 +11 -11
  120. package/package.json +1 -1
  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
@@ -28,663 +28,663 @@
28
28
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
29
29
  var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
30
30
 
31
- var PepGenericFormService = /** @class */ (function () {
32
- function PepGenericFormService() {
33
- //
34
- }
35
- /**
36
- * checks if the object contains property
37
- * @param obj object
38
- * @param prop property name
39
- * @returns true if contains, false otherwise
40
- */
41
- PepGenericFormService.prototype.hasProperty = function (obj, prop) {
42
- return Object.prototype.hasOwnProperty.call(obj, prop);
43
- };
44
- PepGenericFormService.prototype.createFormField = function (controlField, value, optionalValues) {
45
- var field = new i1.ObjectsDataRowCell();
46
- field.ApiName = controlField.ApiName;
47
- field.Value = value;
48
- field.FieldType = controlField.FieldType;
49
- field.Enabled = !controlField.ReadOnly;
50
- field.Visible = !controlField.Hidden;
51
- /* field.Accessory = "";
52
- field.AdditionalValue = "";
53
- field.BackgroundColor = "";
54
- field.FormattedValue = "";*/
55
- field.GroupFields = [];
56
- field.Highlighted = false;
57
- // field.NotificationInfo = "";
58
- field.OptionalValues = optionalValues;
59
- /* field.ReferenceObjectInternalType = "";
60
- field.ReferenceObjectSubType = "";
61
- field.ReferenceObjectType = '0';
62
- field.TextColor = "";
63
- field.UiPageKey = "";*/
64
- return field;
65
- };
66
- PepGenericFormService.prototype.convertToUiControlField = function (field) {
67
- return {
68
- ApiName: field.ApiName,
69
- FieldType: field.FieldType,
70
- Title: field.Title,
71
- ReadOnly: field.ReadOnlyField,
72
- Mandatory: field.MandatoryField,
73
- Hidden: field.Hidden,
74
- ColumnWidth: field.ColumnWidth,
75
- ColumnWidthType: 1,
76
- MaxFieldCharacters: field.MaxCharacters,
77
- MinValue: field.MinValue,
78
- MaxValue: field.MaxValue,
79
- Layout: {
80
- X: field.Layout.X,
81
- Y: field.Layout.Y,
82
- Width: field.Layout.Width,
83
- Height: field.Layout.Field_Height,
84
- XAlignment: field.Layout.xAlignment,
85
- YAlignment: field.Layout.yAlignment,
86
- }
87
- };
88
- };
89
- return PepGenericFormService;
90
- }());
91
- PepGenericFormService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
92
- PepGenericFormService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormService });
93
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormService, decorators: [{
94
- type: i0.Injectable
31
+ var PepGenericFormService = /** @class */ (function () {
32
+ function PepGenericFormService() {
33
+ //
34
+ }
35
+ /**
36
+ * checks if the object contains property
37
+ * @param obj object
38
+ * @param prop property name
39
+ * @returns true if contains, false otherwise
40
+ */
41
+ PepGenericFormService.prototype.hasProperty = function (obj, prop) {
42
+ return Object.prototype.hasOwnProperty.call(obj, prop);
43
+ };
44
+ PepGenericFormService.prototype.createFormField = function (controlField, value, optionalValues) {
45
+ var field = new i1.ObjectsDataRowCell();
46
+ field.ApiName = controlField.ApiName;
47
+ field.Value = value;
48
+ field.FieldType = controlField.FieldType;
49
+ field.Enabled = !controlField.ReadOnly;
50
+ field.Visible = !controlField.Hidden;
51
+ /* field.Accessory = "";
52
+ field.AdditionalValue = "";
53
+ field.BackgroundColor = "";
54
+ field.FormattedValue = "";*/
55
+ field.GroupFields = [];
56
+ field.Highlighted = false;
57
+ // field.NotificationInfo = "";
58
+ field.OptionalValues = optionalValues;
59
+ /* field.ReferenceObjectInternalType = "";
60
+ field.ReferenceObjectSubType = "";
61
+ field.ReferenceObjectType = '0';
62
+ field.TextColor = "";
63
+ field.UiPageKey = "";*/
64
+ return field;
65
+ };
66
+ PepGenericFormService.prototype.convertToUiControlField = function (field) {
67
+ return {
68
+ ApiName: field.ApiName,
69
+ FieldType: field.FieldType,
70
+ Title: field.Title,
71
+ ReadOnly: field.ReadOnlyField,
72
+ Mandatory: field.MandatoryField,
73
+ Hidden: field.Hidden,
74
+ ColumnWidth: field.ColumnWidth,
75
+ ColumnWidthType: 1,
76
+ MaxFieldCharacters: field.MaxCharacters,
77
+ MinValue: field.MinValue,
78
+ MaxValue: field.MaxValue,
79
+ Layout: {
80
+ X: field.Layout.X,
81
+ Y: field.Layout.Y,
82
+ Width: field.Layout.Width,
83
+ Height: field.Layout.Field_Height,
84
+ XAlignment: field.Layout.xAlignment,
85
+ YAlignment: field.Layout.yAlignment,
86
+ }
87
+ };
88
+ };
89
+ return PepGenericFormService;
90
+ }());
91
+ PepGenericFormService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
92
+ PepGenericFormService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormService });
93
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormService, decorators: [{
94
+ type: i0.Injectable
95
95
  }], ctorParameters: function () { return []; } });
96
96
 
97
- /*! *****************************************************************************
98
- Copyright (c) Microsoft Corporation.
99
-
100
- Permission to use, copy, modify, and/or distribute this software for any
101
- purpose with or without fee is hereby granted.
102
-
103
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
104
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
105
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
106
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
107
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
108
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
109
- PERFORMANCE OF THIS SOFTWARE.
110
- ***************************************************************************** */
111
- /* global Reflect, Promise */
112
- var extendStatics = function (d, b) {
113
- extendStatics = Object.setPrototypeOf ||
114
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
115
- function (d, b) { for (var p in b)
116
- if (Object.prototype.hasOwnProperty.call(b, p))
117
- d[p] = b[p]; };
118
- return extendStatics(d, b);
119
- };
120
- function __extends(d, b) {
121
- if (typeof b !== "function" && b !== null)
122
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
123
- extendStatics(d, b);
124
- function __() { this.constructor = d; }
125
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
126
- }
127
- var __assign = function () {
128
- __assign = Object.assign || function __assign(t) {
129
- for (var s, i = 1, n = arguments.length; i < n; i++) {
130
- s = arguments[i];
131
- for (var p in s)
132
- if (Object.prototype.hasOwnProperty.call(s, p))
133
- t[p] = s[p];
134
- }
135
- return t;
136
- };
137
- return __assign.apply(this, arguments);
138
- };
139
- function __rest(s, e) {
140
- var t = {};
141
- for (var p in s)
142
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
143
- t[p] = s[p];
144
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
145
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
146
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
147
- t[p[i]] = s[p[i]];
148
- }
149
- return t;
150
- }
151
- function __decorate(decorators, target, key, desc) {
152
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
153
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
154
- r = Reflect.decorate(decorators, target, key, desc);
155
- else
156
- for (var i = decorators.length - 1; i >= 0; i--)
157
- if (d = decorators[i])
158
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
159
- return c > 3 && r && Object.defineProperty(target, key, r), r;
160
- }
161
- function __param(paramIndex, decorator) {
162
- return function (target, key) { decorator(target, key, paramIndex); };
163
- }
164
- function __metadata(metadataKey, metadataValue) {
165
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
166
- return Reflect.metadata(metadataKey, metadataValue);
167
- }
168
- function __awaiter(thisArg, _arguments, P, generator) {
169
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
170
- return new (P || (P = Promise))(function (resolve, reject) {
171
- function fulfilled(value) { try {
172
- step(generator.next(value));
173
- }
174
- catch (e) {
175
- reject(e);
176
- } }
177
- function rejected(value) { try {
178
- step(generator["throw"](value));
179
- }
180
- catch (e) {
181
- reject(e);
182
- } }
183
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
184
- step((generator = generator.apply(thisArg, _arguments || [])).next());
185
- });
186
- }
187
- function __generator(thisArg, body) {
188
- var _ = { label: 0, sent: function () { if (t[0] & 1)
189
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
190
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
191
- function verb(n) { return function (v) { return step([n, v]); }; }
192
- function step(op) {
193
- if (f)
194
- throw new TypeError("Generator is already executing.");
195
- while (_)
196
- try {
197
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
198
- return t;
199
- if (y = 0, t)
200
- op = [op[0] & 2, t.value];
201
- switch (op[0]) {
202
- case 0:
203
- case 1:
204
- t = op;
205
- break;
206
- case 4:
207
- _.label++;
208
- return { value: op[1], done: false };
209
- case 5:
210
- _.label++;
211
- y = op[1];
212
- op = [0];
213
- continue;
214
- case 7:
215
- op = _.ops.pop();
216
- _.trys.pop();
217
- continue;
218
- default:
219
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
220
- _ = 0;
221
- continue;
222
- }
223
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
224
- _.label = op[1];
225
- break;
226
- }
227
- if (op[0] === 6 && _.label < t[1]) {
228
- _.label = t[1];
229
- t = op;
230
- break;
231
- }
232
- if (t && _.label < t[2]) {
233
- _.label = t[2];
234
- _.ops.push(op);
235
- break;
236
- }
237
- if (t[2])
238
- _.ops.pop();
239
- _.trys.pop();
240
- continue;
241
- }
242
- op = body.call(thisArg, _);
243
- }
244
- catch (e) {
245
- op = [6, e];
246
- y = 0;
247
- }
248
- finally {
249
- f = t = 0;
250
- }
251
- if (op[0] & 5)
252
- throw op[1];
253
- return { value: op[0] ? op[1] : void 0, done: true };
254
- }
255
- }
256
- var __createBinding = Object.create ? (function (o, m, k, k2) {
257
- if (k2 === undefined)
258
- k2 = k;
259
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
260
- }) : (function (o, m, k, k2) {
261
- if (k2 === undefined)
262
- k2 = k;
263
- o[k2] = m[k];
264
- });
265
- function __exportStar(m, o) {
266
- for (var p in m)
267
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
268
- __createBinding(o, m, p);
269
- }
270
- function __values(o) {
271
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
272
- if (m)
273
- return m.call(o);
274
- if (o && typeof o.length === "number")
275
- return {
276
- next: function () {
277
- if (o && i >= o.length)
278
- o = void 0;
279
- return { value: o && o[i++], done: !o };
280
- }
281
- };
282
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
283
- }
284
- function __read(o, n) {
285
- var m = typeof Symbol === "function" && o[Symbol.iterator];
286
- if (!m)
287
- return o;
288
- var i = m.call(o), r, ar = [], e;
289
- try {
290
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
291
- ar.push(r.value);
292
- }
293
- catch (error) {
294
- e = { error: error };
295
- }
296
- finally {
297
- try {
298
- if (r && !r.done && (m = i["return"]))
299
- m.call(i);
300
- }
301
- finally {
302
- if (e)
303
- throw e.error;
304
- }
305
- }
306
- return ar;
307
- }
308
- /** @deprecated */
309
- function __spread() {
310
- for (var ar = [], i = 0; i < arguments.length; i++)
311
- ar = ar.concat(__read(arguments[i]));
312
- return ar;
313
- }
314
- /** @deprecated */
315
- function __spreadArrays() {
316
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
317
- s += arguments[i].length;
318
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
319
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
320
- r[k] = a[j];
321
- return r;
322
- }
323
- function __spreadArray(to, from, pack) {
324
- if (pack || arguments.length === 2)
325
- for (var i = 0, l = from.length, ar; i < l; i++) {
326
- if (ar || !(i in from)) {
327
- if (!ar)
328
- ar = Array.prototype.slice.call(from, 0, i);
329
- ar[i] = from[i];
330
- }
331
- }
332
- return to.concat(ar || Array.prototype.slice.call(from));
333
- }
334
- function __await(v) {
335
- return this instanceof __await ? (this.v = v, this) : new __await(v);
336
- }
337
- function __asyncGenerator(thisArg, _arguments, generator) {
338
- if (!Symbol.asyncIterator)
339
- throw new TypeError("Symbol.asyncIterator is not defined.");
340
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
341
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
342
- function verb(n) { if (g[n])
343
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
344
- function resume(n, v) { try {
345
- step(g[n](v));
346
- }
347
- catch (e) {
348
- settle(q[0][3], e);
349
- } }
350
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
351
- function fulfill(value) { resume("next", value); }
352
- function reject(value) { resume("throw", value); }
353
- function settle(f, v) { if (f(v), q.shift(), q.length)
354
- resume(q[0][0], q[0][1]); }
355
- }
356
- function __asyncDelegator(o) {
357
- var i, p;
358
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
359
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
360
- }
361
- function __asyncValues(o) {
362
- if (!Symbol.asyncIterator)
363
- throw new TypeError("Symbol.asyncIterator is not defined.");
364
- var m = o[Symbol.asyncIterator], i;
365
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
366
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
367
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
368
- }
369
- function __makeTemplateObject(cooked, raw) {
370
- if (Object.defineProperty) {
371
- Object.defineProperty(cooked, "raw", { value: raw });
372
- }
373
- else {
374
- cooked.raw = raw;
375
- }
376
- return cooked;
377
- }
378
- ;
379
- var __setModuleDefault = Object.create ? (function (o, v) {
380
- Object.defineProperty(o, "default", { enumerable: true, value: v });
381
- }) : function (o, v) {
382
- o["default"] = v;
383
- };
384
- function __importStar(mod) {
385
- if (mod && mod.__esModule)
386
- return mod;
387
- var result = {};
388
- if (mod != null)
389
- for (var k in mod)
390
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
391
- __createBinding(result, mod, k);
392
- __setModuleDefault(result, mod);
393
- return result;
394
- }
395
- function __importDefault(mod) {
396
- return (mod && mod.__esModule) ? mod : { default: mod };
397
- }
398
- function __classPrivateFieldGet(receiver, state, kind, f) {
399
- if (kind === "a" && !f)
400
- throw new TypeError("Private accessor was defined without a getter");
401
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
402
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
403
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
404
- }
405
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
406
- if (kind === "m")
407
- throw new TypeError("Private method is not writable");
408
- if (kind === "a" && !f)
409
- throw new TypeError("Private accessor was defined without a setter");
410
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
411
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
412
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
97
+ /*! *****************************************************************************
98
+ Copyright (c) Microsoft Corporation.
99
+
100
+ Permission to use, copy, modify, and/or distribute this software for any
101
+ purpose with or without fee is hereby granted.
102
+
103
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
104
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
105
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
106
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
107
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
108
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
109
+ PERFORMANCE OF THIS SOFTWARE.
110
+ ***************************************************************************** */
111
+ /* global Reflect, Promise */
112
+ var extendStatics = function (d, b) {
113
+ extendStatics = Object.setPrototypeOf ||
114
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
115
+ function (d, b) { for (var p in b)
116
+ if (Object.prototype.hasOwnProperty.call(b, p))
117
+ d[p] = b[p]; };
118
+ return extendStatics(d, b);
119
+ };
120
+ function __extends(d, b) {
121
+ if (typeof b !== "function" && b !== null)
122
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
123
+ extendStatics(d, b);
124
+ function __() { this.constructor = d; }
125
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
126
+ }
127
+ var __assign = function () {
128
+ __assign = Object.assign || function __assign(t) {
129
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
130
+ s = arguments[i];
131
+ for (var p in s)
132
+ if (Object.prototype.hasOwnProperty.call(s, p))
133
+ t[p] = s[p];
134
+ }
135
+ return t;
136
+ };
137
+ return __assign.apply(this, arguments);
138
+ };
139
+ function __rest(s, e) {
140
+ var t = {};
141
+ for (var p in s)
142
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
143
+ t[p] = s[p];
144
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
145
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
146
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
147
+ t[p[i]] = s[p[i]];
148
+ }
149
+ return t;
150
+ }
151
+ function __decorate(decorators, target, key, desc) {
152
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
153
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
154
+ r = Reflect.decorate(decorators, target, key, desc);
155
+ else
156
+ for (var i = decorators.length - 1; i >= 0; i--)
157
+ if (d = decorators[i])
158
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
159
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
160
+ }
161
+ function __param(paramIndex, decorator) {
162
+ return function (target, key) { decorator(target, key, paramIndex); };
163
+ }
164
+ function __metadata(metadataKey, metadataValue) {
165
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
166
+ return Reflect.metadata(metadataKey, metadataValue);
167
+ }
168
+ function __awaiter(thisArg, _arguments, P, generator) {
169
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
170
+ return new (P || (P = Promise))(function (resolve, reject) {
171
+ function fulfilled(value) { try {
172
+ step(generator.next(value));
173
+ }
174
+ catch (e) {
175
+ reject(e);
176
+ } }
177
+ function rejected(value) { try {
178
+ step(generator["throw"](value));
179
+ }
180
+ catch (e) {
181
+ reject(e);
182
+ } }
183
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
184
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
185
+ });
186
+ }
187
+ function __generator(thisArg, body) {
188
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
189
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
190
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
191
+ function verb(n) { return function (v) { return step([n, v]); }; }
192
+ function step(op) {
193
+ if (f)
194
+ throw new TypeError("Generator is already executing.");
195
+ while (_)
196
+ try {
197
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
198
+ return t;
199
+ if (y = 0, t)
200
+ op = [op[0] & 2, t.value];
201
+ switch (op[0]) {
202
+ case 0:
203
+ case 1:
204
+ t = op;
205
+ break;
206
+ case 4:
207
+ _.label++;
208
+ return { value: op[1], done: false };
209
+ case 5:
210
+ _.label++;
211
+ y = op[1];
212
+ op = [0];
213
+ continue;
214
+ case 7:
215
+ op = _.ops.pop();
216
+ _.trys.pop();
217
+ continue;
218
+ default:
219
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
220
+ _ = 0;
221
+ continue;
222
+ }
223
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
224
+ _.label = op[1];
225
+ break;
226
+ }
227
+ if (op[0] === 6 && _.label < t[1]) {
228
+ _.label = t[1];
229
+ t = op;
230
+ break;
231
+ }
232
+ if (t && _.label < t[2]) {
233
+ _.label = t[2];
234
+ _.ops.push(op);
235
+ break;
236
+ }
237
+ if (t[2])
238
+ _.ops.pop();
239
+ _.trys.pop();
240
+ continue;
241
+ }
242
+ op = body.call(thisArg, _);
243
+ }
244
+ catch (e) {
245
+ op = [6, e];
246
+ y = 0;
247
+ }
248
+ finally {
249
+ f = t = 0;
250
+ }
251
+ if (op[0] & 5)
252
+ throw op[1];
253
+ return { value: op[0] ? op[1] : void 0, done: true };
254
+ }
255
+ }
256
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
257
+ if (k2 === undefined)
258
+ k2 = k;
259
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
260
+ }) : (function (o, m, k, k2) {
261
+ if (k2 === undefined)
262
+ k2 = k;
263
+ o[k2] = m[k];
264
+ });
265
+ function __exportStar(m, o) {
266
+ for (var p in m)
267
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
268
+ __createBinding(o, m, p);
269
+ }
270
+ function __values(o) {
271
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
272
+ if (m)
273
+ return m.call(o);
274
+ if (o && typeof o.length === "number")
275
+ return {
276
+ next: function () {
277
+ if (o && i >= o.length)
278
+ o = void 0;
279
+ return { value: o && o[i++], done: !o };
280
+ }
281
+ };
282
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
283
+ }
284
+ function __read(o, n) {
285
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
286
+ if (!m)
287
+ return o;
288
+ var i = m.call(o), r, ar = [], e;
289
+ try {
290
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
291
+ ar.push(r.value);
292
+ }
293
+ catch (error) {
294
+ e = { error: error };
295
+ }
296
+ finally {
297
+ try {
298
+ if (r && !r.done && (m = i["return"]))
299
+ m.call(i);
300
+ }
301
+ finally {
302
+ if (e)
303
+ throw e.error;
304
+ }
305
+ }
306
+ return ar;
307
+ }
308
+ /** @deprecated */
309
+ function __spread() {
310
+ for (var ar = [], i = 0; i < arguments.length; i++)
311
+ ar = ar.concat(__read(arguments[i]));
312
+ return ar;
313
+ }
314
+ /** @deprecated */
315
+ function __spreadArrays() {
316
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
317
+ s += arguments[i].length;
318
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
319
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
320
+ r[k] = a[j];
321
+ return r;
322
+ }
323
+ function __spreadArray(to, from, pack) {
324
+ if (pack || arguments.length === 2)
325
+ for (var i = 0, l = from.length, ar; i < l; i++) {
326
+ if (ar || !(i in from)) {
327
+ if (!ar)
328
+ ar = Array.prototype.slice.call(from, 0, i);
329
+ ar[i] = from[i];
330
+ }
331
+ }
332
+ return to.concat(ar || Array.prototype.slice.call(from));
333
+ }
334
+ function __await(v) {
335
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
336
+ }
337
+ function __asyncGenerator(thisArg, _arguments, generator) {
338
+ if (!Symbol.asyncIterator)
339
+ throw new TypeError("Symbol.asyncIterator is not defined.");
340
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
341
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
342
+ function verb(n) { if (g[n])
343
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
344
+ function resume(n, v) { try {
345
+ step(g[n](v));
346
+ }
347
+ catch (e) {
348
+ settle(q[0][3], e);
349
+ } }
350
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
351
+ function fulfill(value) { resume("next", value); }
352
+ function reject(value) { resume("throw", value); }
353
+ function settle(f, v) { if (f(v), q.shift(), q.length)
354
+ resume(q[0][0], q[0][1]); }
355
+ }
356
+ function __asyncDelegator(o) {
357
+ var i, p;
358
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
359
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
360
+ }
361
+ function __asyncValues(o) {
362
+ if (!Symbol.asyncIterator)
363
+ throw new TypeError("Symbol.asyncIterator is not defined.");
364
+ var m = o[Symbol.asyncIterator], i;
365
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
366
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
367
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
368
+ }
369
+ function __makeTemplateObject(cooked, raw) {
370
+ if (Object.defineProperty) {
371
+ Object.defineProperty(cooked, "raw", { value: raw });
372
+ }
373
+ else {
374
+ cooked.raw = raw;
375
+ }
376
+ return cooked;
377
+ }
378
+ ;
379
+ var __setModuleDefault = Object.create ? (function (o, v) {
380
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
381
+ }) : function (o, v) {
382
+ o["default"] = v;
383
+ };
384
+ function __importStar(mod) {
385
+ if (mod && mod.__esModule)
386
+ return mod;
387
+ var result = {};
388
+ if (mod != null)
389
+ for (var k in mod)
390
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
391
+ __createBinding(result, mod, k);
392
+ __setModuleDefault(result, mod);
393
+ return result;
394
+ }
395
+ function __importDefault(mod) {
396
+ return (mod && mod.__esModule) ? mod : { default: mod };
397
+ }
398
+ function __classPrivateFieldGet(receiver, state, kind, f) {
399
+ if (kind === "a" && !f)
400
+ throw new TypeError("Private accessor was defined without a getter");
401
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
402
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
403
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
404
+ }
405
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
406
+ if (kind === "m")
407
+ throw new TypeError("Private method is not writable");
408
+ if (kind === "a" && !f)
409
+ throw new TypeError("Private accessor was defined without a setter");
410
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
411
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
412
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
413
413
  }
414
414
 
415
- var GenericFormComponent = /** @class */ (function () {
416
- function GenericFormComponent(_resolver, layoutService, _genericFormService) {
417
- this._resolver = _resolver;
418
- this.layoutService = layoutService;
419
- this._genericFormService = _genericFormService;
420
- this._optionalValues = [];
421
- this.isLocked = false;
422
- this.inline = false;
423
- this.showTopBar = false;
424
- this.addPadding = false;
425
- this.valueChange = new i0.EventEmitter();
426
- this.fieldClick = new i0.EventEmitter();
427
- this.formValidationChange = new i0.EventEmitter();
428
- this.layoutService.onResize$.pipe().subscribe(function (size) {
429
- //
430
- });
431
- this._formData = new i1.ObjectsDataRow();
432
- this._uiControl = new i1.UIControl();
433
- }
434
- Object.defineProperty(GenericFormComponent.prototype, "pepListContainer", {
435
- set: function (val) {
436
- this._pepFormContainer = val;
437
- },
438
- enumerable: false,
439
- configurable: true
440
- });
441
- Object.defineProperty(GenericFormComponent.prototype, "dataSource", {
442
- set: function (val) {
443
- this._data = val;
444
- },
445
- enumerable: false,
446
- configurable: true
447
- });
448
- Object.defineProperty(GenericFormComponent.prototype, "dataView", {
449
- set: function (val) {
450
- this.initForm(val);
451
- },
452
- enumerable: false,
453
- configurable: true
454
- });
455
- GenericFormComponent.prototype.ngOnInit = function () {
456
- //
457
- };
458
- GenericFormComponent.prototype.initForm = function (dataView) {
459
- var _this = this;
460
- setTimeout(function () {
461
- var _a, _b;
462
- if (_this._pepFormContainer) {
463
- if (_this._pepFormContainer.length) {
464
- _this._pepFormContainer.remove();
465
- _this._formData = new i1.ObjectsDataRow();
466
- _this._uiControl = new i1.UIControl();
467
- }
468
- var factory = _this._resolver.resolveComponentFactory(form.PepFormComponent);
469
- var componentRef = _this._pepFormContainer.createComponent(factory);
470
- _this._pepForm = componentRef.instance;
471
- _this._formData.IsEditable = !_this.isLocked;
472
- _this._formData.UID = dataView.UID || i1.PepGuid.newGuid();
473
- var uiControlData = dataViews.DataViewConverter.toUIControlData(dataView);
474
- if (uiControlData) {
475
- if (uiControlData === null || uiControlData === void 0 ? void 0 : uiControlData.ControlFields) {
476
- (_a = dataView.Fields) === null || _a === void 0 ? void 0 : _a.forEach(function (field) {
477
- var _a;
478
- if ((_a = field.OptionalValues) === null || _a === void 0 ? void 0 : _a.length) {
479
- _this._optionalValues.push({
480
- fieldId: field.FieldID,
481
- optionalValues: field.OptionalValues
482
- });
483
- }
484
- });
485
- _this._uiControl.ControlFields = uiControlData.ControlFields.map(function (field) { return _this._genericFormService.convertToUiControlField(field); });
486
- }
487
- _this._uiControl.Columns = uiControlData.Columns;
488
- if ((_b = _this._uiControl.ControlFields) === null || _b === void 0 ? void 0 : _b.length) {
489
- _this._formData.Fields = [];
490
- _this._uiControl.ControlFields.forEach(function (item) {
491
- var value = '';
492
- if (_this._genericFormService.hasProperty(_this._data, item.ApiName)) {
493
- value = _this._data[item.ApiName];
494
- }
495
- _this._formData.Fields.push(_this._genericFormService.createFormField(item, value, _this.getOptionalValues(item.ApiName)));
496
- });
497
- componentRef.instance.layoutType = 'form';
498
- componentRef.instance.layout = _this._uiControl;
499
- componentRef.instance.data = _this._formData;
500
- componentRef.instance.isInternal = false;
501
- componentRef.instance.lockFields = _this.isLocked;
502
- componentRef.instance.valueChange.subscribe(function ($event) {
503
- _this.onValueChanged($event);
504
- });
505
- componentRef.instance.fieldClick.subscribe(function ($event) {
506
- _this.onfieldClicked($event);
507
- });
508
- componentRef.instance.formValidationChange.subscribe(function ($event) {
509
- _this.onFormValidationChanged($event);
510
- });
511
- }
512
- }
513
- }
514
- }, 0);
515
- };
516
- /**
517
- * updates form field's value
518
- * @param field object containing the data of the required update
519
- */
520
- GenericFormComponent.prototype.updateFieldValue = function (fieldChanged) {
521
- this._data[fieldChanged.apiName] = fieldChanged.value;
522
- };
523
- GenericFormComponent.prototype.getOptionalValues = function (fieldId) {
524
- var item = this._optionalValues.find(function (item) { return item.fieldId === fieldId; });
525
- return (item === null || item === void 0 ? void 0 : item.optionalValues) || [];
526
- };
527
- GenericFormComponent.prototype.getData = function () {
528
- return {
529
- UID: this._formData.UID,
530
- Values: this._data
531
- };
532
- };
533
- /**
534
- * updates form field(s) params
535
- * @param fields
536
- */
537
- GenericFormComponent.prototype.updateFields = function (fields) {
538
- var _this = this;
539
- fields.forEach(function (field) {
540
- var e_1, _c;
541
- var index = _this._formData.Fields.findIndex(function (item) { return item.ApiName === field.FieldId; });
542
- if (index >= 0) {
543
- try {
544
- for (var _d = __values(Object.entries(field.Params)), _e = _d.next(); !_e.done; _e = _d.next()) {
545
- var _f = __read(_e.value, 2), key = _f[0], value = _f[1];
546
- if (_this._genericFormService.hasProperty(_this._formData.Fields[index], key)) {
547
- var item = _this._formData.Fields[index];
548
- item[key] = value;
549
- }
550
- }
551
- }
552
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
553
- finally {
554
- try {
555
- if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
556
- }
557
- finally { if (e_1) throw e_1.error; }
558
- }
559
- }
560
- });
561
- this._pepForm.ReloadForm();
562
- this._pepForm.data = this._formData;
563
- };
564
- GenericFormComponent.prototype.onValueChanged = function (event) {
565
- var field = {
566
- uid: event.id,
567
- apiName: event.key,
568
- value: event.value
569
- };
570
- this.updateFieldValue(field);
571
- this.valueChange.emit(field);
572
- };
573
- GenericFormComponent.prototype.onfieldClicked = function (event) {
574
- var field = {
575
- uid: event.id,
576
- apiName: event.key,
577
- value: event.value
578
- };
579
- this.updateFieldValue(field);
580
- this.fieldClick.emit(field);
581
- };
582
- GenericFormComponent.prototype.onFormValidationChanged = function (event) {
583
- this.formValidationChange.emit(event);
584
- };
585
- return GenericFormComponent;
586
- }());
587
- GenericFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GenericFormComponent, deps: [{ token: i0__namespace.ComponentFactoryResolver }, { token: i1__namespace.PepLayoutService }, { token: PepGenericFormService }], target: i0__namespace.ɵɵFactoryTarget.Component });
588
- GenericFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: GenericFormComponent, selector: "pep-generic-form", inputs: { dataSource: "dataSource", dataView: "dataView", isLocked: "isLocked", inline: "inline", showTopBar: "showTopBar", addPadding: "addPadding" }, outputs: { valueChange: "valueChange", fieldClick: "fieldClick", formValidationChange: "formValidationChange" }, providers: [PepGenericFormService], viewQueries: [{ propertyName: "pepListContainer", first: true, predicate: ["pepFormContainer"], descendants: true, read: i0.ViewContainerRef }], ngImport: i0__namespace, template: "<div *ngIf=\"inline\" class=\"inline-container form-view\" [ngClass]=\"{ 'add-padding': addPadding }\">\n <div *ngIf=\"showTopBar\" class=\"inline-top-bar-container\">\n <ng-container *ngTemplateOutlet=\"topBarTemplate\"></ng-container>\n </div>\n <ng-container *ngTemplateOutlet=\"formTemplate\"></ng-container>\n</div>\n\n<pep-page-layout *ngIf=\"!inline\" [addPadding]=\"addPadding\">\n <ng-container *ngIf=\"showTopBar\" pep-top-area>\n <ng-container *ngTemplateOutlet=\"topBarTemplate\"></ng-container>\n </ng-container>\n <div pep-main-area class=\"main-area-container form-view\">\n <ng-container *ngTemplateOutlet=\"formTemplate\"></ng-container>\n </div>\n</pep-page-layout>\n\n<ng-template #topBarTemplate>\n <pep-top-bar [inline]=\"inline\"> \n <div header-start-content>\n <ng-content select=\"[left-buttons]\"></ng-content>\n </div>\n <div header-end-content>\n <ng-content select=\"[right-buttons]\"></ng-content>\n </div>\n\n <!-- <div footer-start-content>\n <ng-content select=\"[bottom-left-buttons]\"></ng-content>\n </div>\n <div footer-end-content>\n <ng-content select=\"[bottom-right-buttons]\"></ng-content>\n </div> -->\n </pep-top-bar>\n</ng-template>\n\n<ng-template #formTemplate>\n <ng-container #pepFormContainer></ng-container>\n</ng-template>\n", styles: [":host{height:inherit;display:block}.main-area-container{display:grid;height:inherit}.inline-container{height:inherit;display:grid;grid-template-rows:auto 1fr}.inline-container.add-padding{padding-inline:var(--pep-spacing-lg, 1rem)}\n"], components: [{ type: i3__namespace.PepPageLayoutComponent, selector: "pep-page-layout", inputs: ["addPadding", "showShadow"] }, { type: i4__namespace.PepTopBarComponent, selector: "pep-top-bar", inputs: ["inline", "title"], outputs: ["footerStateChange"] }], directives: [{ type: i5__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
589
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GenericFormComponent, decorators: [{
590
- type: i0.Component,
591
- args: [{
592
- selector: 'pep-generic-form',
593
- templateUrl: './generic-form.component.html',
594
- styleUrls: ['./generic-form.component.scss'],
595
- providers: [PepGenericFormService]
596
- }]
597
- }], ctorParameters: function () { return [{ type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.PepLayoutService }, { type: PepGenericFormService }]; }, propDecorators: { pepListContainer: [{
598
- type: i0.ViewChild,
599
- args: ['pepFormContainer', { read: i0.ViewContainerRef }]
600
- }], dataSource: [{
601
- type: i0.Input
602
- }], dataView: [{
603
- type: i0.Input
604
- }], isLocked: [{
605
- type: i0.Input
606
- }], inline: [{
607
- type: i0.Input
608
- }], showTopBar: [{
609
- type: i0.Input
610
- }], addPadding: [{
611
- type: i0.Input
612
- }], valueChange: [{
613
- type: i0.Output
614
- }], fieldClick: [{
615
- type: i0.Output
616
- }], formValidationChange: [{
617
- type: i0.Output
415
+ var GenericFormComponent = /** @class */ (function () {
416
+ function GenericFormComponent(_resolver, layoutService, _genericFormService) {
417
+ this._resolver = _resolver;
418
+ this.layoutService = layoutService;
419
+ this._genericFormService = _genericFormService;
420
+ this._optionalValues = [];
421
+ this.isLocked = false;
422
+ this.inline = false;
423
+ this.showTopBar = false;
424
+ this.addPadding = false;
425
+ this.valueChange = new i0.EventEmitter();
426
+ this.fieldClick = new i0.EventEmitter();
427
+ this.formValidationChange = new i0.EventEmitter();
428
+ this.layoutService.onResize$.pipe().subscribe(function (size) {
429
+ //
430
+ });
431
+ this._formData = new i1.ObjectsDataRow();
432
+ this._uiControl = new i1.UIControl();
433
+ }
434
+ Object.defineProperty(GenericFormComponent.prototype, "pepListContainer", {
435
+ set: function (val) {
436
+ this._pepFormContainer = val;
437
+ },
438
+ enumerable: false,
439
+ configurable: true
440
+ });
441
+ Object.defineProperty(GenericFormComponent.prototype, "dataSource", {
442
+ set: function (val) {
443
+ this._data = val;
444
+ },
445
+ enumerable: false,
446
+ configurable: true
447
+ });
448
+ Object.defineProperty(GenericFormComponent.prototype, "dataView", {
449
+ set: function (val) {
450
+ this.initForm(val);
451
+ },
452
+ enumerable: false,
453
+ configurable: true
454
+ });
455
+ GenericFormComponent.prototype.ngOnInit = function () {
456
+ //
457
+ };
458
+ GenericFormComponent.prototype.initForm = function (dataView) {
459
+ var _this = this;
460
+ setTimeout(function () {
461
+ var _a, _b;
462
+ if (_this._pepFormContainer) {
463
+ if (_this._pepFormContainer.length) {
464
+ _this._pepFormContainer.remove();
465
+ _this._formData = new i1.ObjectsDataRow();
466
+ _this._uiControl = new i1.UIControl();
467
+ }
468
+ var factory = _this._resolver.resolveComponentFactory(form.PepFormComponent);
469
+ var componentRef = _this._pepFormContainer.createComponent(factory);
470
+ _this._pepForm = componentRef.instance;
471
+ _this._formData.IsEditable = !_this.isLocked;
472
+ _this._formData.UID = dataView.UID || i1.PepGuid.newGuid();
473
+ var uiControlData = dataViews.DataViewConverter.toUIControlData(dataView);
474
+ if (uiControlData) {
475
+ if (uiControlData === null || uiControlData === void 0 ? void 0 : uiControlData.ControlFields) {
476
+ (_a = dataView.Fields) === null || _a === void 0 ? void 0 : _a.forEach(function (field) {
477
+ var _a;
478
+ if ((_a = field.OptionalValues) === null || _a === void 0 ? void 0 : _a.length) {
479
+ _this._optionalValues.push({
480
+ fieldId: field.FieldID,
481
+ optionalValues: field.OptionalValues
482
+ });
483
+ }
484
+ });
485
+ _this._uiControl.ControlFields = uiControlData.ControlFields.map(function (field) { return _this._genericFormService.convertToUiControlField(field); });
486
+ }
487
+ _this._uiControl.Columns = uiControlData.Columns;
488
+ if ((_b = _this._uiControl.ControlFields) === null || _b === void 0 ? void 0 : _b.length) {
489
+ _this._formData.Fields = [];
490
+ _this._uiControl.ControlFields.forEach(function (item) {
491
+ var value = '';
492
+ if (_this._genericFormService.hasProperty(_this._data, item.ApiName)) {
493
+ value = _this._data[item.ApiName];
494
+ }
495
+ _this._formData.Fields.push(_this._genericFormService.createFormField(item, value, _this.getOptionalValues(item.ApiName)));
496
+ });
497
+ componentRef.instance.layoutType = 'form';
498
+ componentRef.instance.layout = _this._uiControl;
499
+ componentRef.instance.data = _this._formData;
500
+ componentRef.instance.isInternal = false;
501
+ componentRef.instance.lockFields = _this.isLocked;
502
+ componentRef.instance.valueChange.subscribe(function ($event) {
503
+ _this.onValueChanged($event);
504
+ });
505
+ componentRef.instance.fieldClick.subscribe(function ($event) {
506
+ _this.onfieldClicked($event);
507
+ });
508
+ componentRef.instance.formValidationChange.subscribe(function ($event) {
509
+ _this.onFormValidationChanged($event);
510
+ });
511
+ }
512
+ }
513
+ }
514
+ }, 0);
515
+ };
516
+ /**
517
+ * updates form field's value
518
+ * @param field object containing the data of the required update
519
+ */
520
+ GenericFormComponent.prototype.updateFieldValue = function (fieldChanged) {
521
+ this._data[fieldChanged.apiName] = fieldChanged.value;
522
+ };
523
+ GenericFormComponent.prototype.getOptionalValues = function (fieldId) {
524
+ var item = this._optionalValues.find(function (item) { return item.fieldId === fieldId; });
525
+ return (item === null || item === void 0 ? void 0 : item.optionalValues) || [];
526
+ };
527
+ GenericFormComponent.prototype.getData = function () {
528
+ return {
529
+ UID: this._formData.UID,
530
+ Values: this._data
531
+ };
532
+ };
533
+ /**
534
+ * updates form field(s) params
535
+ * @param fields
536
+ */
537
+ GenericFormComponent.prototype.updateFields = function (fields) {
538
+ var _this = this;
539
+ fields.forEach(function (field) {
540
+ var e_1, _c;
541
+ var index = _this._formData.Fields.findIndex(function (item) { return item.ApiName === field.FieldId; });
542
+ if (index >= 0) {
543
+ try {
544
+ for (var _d = __values(Object.entries(field.Params)), _e = _d.next(); !_e.done; _e = _d.next()) {
545
+ var _f = __read(_e.value, 2), key = _f[0], value = _f[1];
546
+ if (_this._genericFormService.hasProperty(_this._formData.Fields[index], key)) {
547
+ var item = _this._formData.Fields[index];
548
+ item[key] = value;
549
+ }
550
+ }
551
+ }
552
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
553
+ finally {
554
+ try {
555
+ if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
556
+ }
557
+ finally { if (e_1) throw e_1.error; }
558
+ }
559
+ }
560
+ });
561
+ this._pepForm.ReloadForm();
562
+ this._pepForm.data = this._formData;
563
+ };
564
+ GenericFormComponent.prototype.onValueChanged = function (event) {
565
+ var field = {
566
+ uid: event.id,
567
+ apiName: event.key,
568
+ value: event.value
569
+ };
570
+ this.updateFieldValue(field);
571
+ this.valueChange.emit(field);
572
+ };
573
+ GenericFormComponent.prototype.onfieldClicked = function (event) {
574
+ var field = {
575
+ uid: event.id,
576
+ apiName: event.key,
577
+ value: event.value
578
+ };
579
+ this.updateFieldValue(field);
580
+ this.fieldClick.emit(field);
581
+ };
582
+ GenericFormComponent.prototype.onFormValidationChanged = function (event) {
583
+ this.formValidationChange.emit(event);
584
+ };
585
+ return GenericFormComponent;
586
+ }());
587
+ GenericFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GenericFormComponent, deps: [{ token: i0__namespace.ComponentFactoryResolver }, { token: i1__namespace.PepLayoutService }, { token: PepGenericFormService }], target: i0__namespace.ɵɵFactoryTarget.Component });
588
+ GenericFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.0.5", type: GenericFormComponent, selector: "pep-generic-form", inputs: { dataSource: "dataSource", dataView: "dataView", isLocked: "isLocked", inline: "inline", showTopBar: "showTopBar", addPadding: "addPadding" }, outputs: { valueChange: "valueChange", fieldClick: "fieldClick", formValidationChange: "formValidationChange" }, providers: [PepGenericFormService], viewQueries: [{ propertyName: "pepListContainer", first: true, predicate: ["pepFormContainer"], descendants: true, read: i0.ViewContainerRef }], ngImport: i0__namespace, template: "<div *ngIf=\"inline\" class=\"inline-container form-view\" [ngClass]=\"{ 'add-padding': addPadding }\">\n <div *ngIf=\"showTopBar\" class=\"inline-top-bar-container\">\n <ng-container *ngTemplateOutlet=\"topBarTemplate\"></ng-container>\n </div>\n <ng-container *ngTemplateOutlet=\"formTemplate\"></ng-container>\n</div>\n\n<pep-page-layout *ngIf=\"!inline\" [addPadding]=\"addPadding\">\n <ng-container *ngIf=\"showTopBar\" pep-top-area>\n <ng-container *ngTemplateOutlet=\"topBarTemplate\"></ng-container>\n </ng-container>\n <div pep-main-area class=\"main-area-container form-view\">\n <ng-container *ngTemplateOutlet=\"formTemplate\"></ng-container>\n </div>\n</pep-page-layout>\n\n<ng-template #topBarTemplate>\n <pep-top-bar [inline]=\"inline\"> \n <div header-start-content>\n <ng-content select=\"[left-buttons]\"></ng-content>\n </div>\n <div header-end-content>\n <ng-content select=\"[right-buttons]\"></ng-content>\n </div>\n\n <!-- <div footer-start-content>\n <ng-content select=\"[bottom-left-buttons]\"></ng-content>\n </div>\n <div footer-end-content>\n <ng-content select=\"[bottom-right-buttons]\"></ng-content>\n </div> -->\n </pep-top-bar>\n</ng-template>\n\n<ng-template #formTemplate>\n <ng-container #pepFormContainer></ng-container>\n</ng-template>\n", styles: [":host{height:inherit;display:block}.main-area-container{display:grid;height:inherit}.inline-container{height:inherit;display:grid;grid-template-rows:auto 1fr}.inline-container.add-padding{padding-inline:var(--pep-spacing-lg, 1rem)}\n"], components: [{ type: i3__namespace.PepPageLayoutComponent, selector: "pep-page-layout", inputs: ["addPadding", "showShadow"] }, { type: i4__namespace.PepTopBarComponent, selector: "pep-top-bar", inputs: ["inline", "title"], outputs: ["footerStateChange"] }], directives: [{ type: i5__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
589
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: GenericFormComponent, decorators: [{
590
+ type: i0.Component,
591
+ args: [{
592
+ selector: 'pep-generic-form',
593
+ templateUrl: './generic-form.component.html',
594
+ styleUrls: ['./generic-form.component.scss'],
595
+ providers: [PepGenericFormService]
596
+ }]
597
+ }], ctorParameters: function () { return [{ type: i0__namespace.ComponentFactoryResolver }, { type: i1__namespace.PepLayoutService }, { type: PepGenericFormService }]; }, propDecorators: { pepListContainer: [{
598
+ type: i0.ViewChild,
599
+ args: ['pepFormContainer', { read: i0.ViewContainerRef }]
600
+ }], dataSource: [{
601
+ type: i0.Input
602
+ }], dataView: [{
603
+ type: i0.Input
604
+ }], isLocked: [{
605
+ type: i0.Input
606
+ }], inline: [{
607
+ type: i0.Input
608
+ }], showTopBar: [{
609
+ type: i0.Input
610
+ }], addPadding: [{
611
+ type: i0.Input
612
+ }], valueChange: [{
613
+ type: i0.Output
614
+ }], fieldClick: [{
615
+ type: i0.Output
616
+ }], formValidationChange: [{
617
+ type: i0.Output
618
618
  }] } });
619
619
 
620
- var PepGenericFormModule = /** @class */ (function () {
621
- function PepGenericFormModule() {
622
- }
623
- return PepGenericFormModule;
624
- }());
625
- PepGenericFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
626
- PepGenericFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormModule, declarations: [GenericFormComponent], imports: [i5.CommonModule,
627
- // MatFormFieldModule,
628
- // ReactiveFormsModule,
629
- i1.PepNgxLibModule,
630
- // PepListModule,
631
- form.PepFormModule,
632
- menu.PepMenuModule,
633
- i3.PepPageLayoutModule,
634
- i4.PepTopBarModule], exports: [GenericFormComponent] });
635
- PepGenericFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormModule, providers: [
636
- PepGenericFormService
637
- ], imports: [[
638
- i5.CommonModule,
639
- // MatFormFieldModule,
640
- // ReactiveFormsModule,
641
- i1.PepNgxLibModule,
642
- // PepListModule,
643
- form.PepFormModule,
644
- menu.PepMenuModule,
645
- i3.PepPageLayoutModule,
646
- i4.PepTopBarModule,
647
- // PepTextboxModule,
648
- // PepDateModule
649
- // PepSearchModule,
650
- // PepBreadCrumbsModule
651
- ]] });
652
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormModule, decorators: [{
653
- type: i0.NgModule,
654
- args: [{
655
- declarations: [
656
- GenericFormComponent
657
- ],
658
- imports: [
659
- i5.CommonModule,
660
- // MatFormFieldModule,
661
- // ReactiveFormsModule,
662
- i1.PepNgxLibModule,
663
- // PepListModule,
664
- form.PepFormModule,
665
- menu.PepMenuModule,
666
- i3.PepPageLayoutModule,
667
- i4.PepTopBarModule,
668
- // PepTextboxModule,
669
- // PepDateModule
670
- // PepSearchModule,
671
- // PepBreadCrumbsModule
672
- ],
673
- exports: [
674
- GenericFormComponent
675
- ],
676
- providers: [
677
- PepGenericFormService
678
- ]
679
- }]
620
+ var PepGenericFormModule = /** @class */ (function () {
621
+ function PepGenericFormModule() {
622
+ }
623
+ return PepGenericFormModule;
624
+ }());
625
+ PepGenericFormModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
626
+ PepGenericFormModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormModule, declarations: [GenericFormComponent], imports: [i5.CommonModule,
627
+ // MatFormFieldModule,
628
+ // ReactiveFormsModule,
629
+ i1.PepNgxLibModule,
630
+ // PepListModule,
631
+ form.PepFormModule,
632
+ menu.PepMenuModule,
633
+ i3.PepPageLayoutModule,
634
+ i4.PepTopBarModule], exports: [GenericFormComponent] });
635
+ PepGenericFormModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormModule, providers: [
636
+ PepGenericFormService
637
+ ], imports: [[
638
+ i5.CommonModule,
639
+ // MatFormFieldModule,
640
+ // ReactiveFormsModule,
641
+ i1.PepNgxLibModule,
642
+ // PepListModule,
643
+ form.PepFormModule,
644
+ menu.PepMenuModule,
645
+ i3.PepPageLayoutModule,
646
+ i4.PepTopBarModule,
647
+ // PepTextboxModule,
648
+ // PepDateModule
649
+ // PepSearchModule,
650
+ // PepBreadCrumbsModule
651
+ ]] });
652
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.0.5", ngImport: i0__namespace, type: PepGenericFormModule, decorators: [{
653
+ type: i0.NgModule,
654
+ args: [{
655
+ declarations: [
656
+ GenericFormComponent
657
+ ],
658
+ imports: [
659
+ i5.CommonModule,
660
+ // MatFormFieldModule,
661
+ // ReactiveFormsModule,
662
+ i1.PepNgxLibModule,
663
+ // PepListModule,
664
+ form.PepFormModule,
665
+ menu.PepMenuModule,
666
+ i3.PepPageLayoutModule,
667
+ i4.PepTopBarModule,
668
+ // PepTextboxModule,
669
+ // PepDateModule
670
+ // PepSearchModule,
671
+ // PepBreadCrumbsModule
672
+ ],
673
+ exports: [
674
+ GenericFormComponent
675
+ ],
676
+ providers: [
677
+ PepGenericFormService
678
+ ]
679
+ }]
680
680
  }] });
681
681
 
682
- /*
683
- * Public API Surface of ngx-composite-lib/generic-form
682
+ /*
683
+ * Public API Surface of ngx-composite-lib/generic-form
684
684
  */
685
685
 
686
- /**
687
- * Generated bundle index. Do not edit.
686
+ /**
687
+ * Generated bundle index. Do not edit.
688
688
  */
689
689
 
690
690
  exports.GenericFormComponent = GenericFormComponent;