tuain-ng-forms-lib 0.12.0 → 0.12.4

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 (34) hide show
  1. package/bundles/tuain-ng-forms-lib.umd.js +442 -598
  2. package/bundles/tuain-ng-forms-lib.umd.js.map +1 -1
  3. package/esm2015/lib/components/elements/action.component.js +44 -0
  4. package/esm2015/lib/components/elements/field.component.js +38 -0
  5. package/esm2015/lib/components/elements/layout/form-header.component.js +1 -7
  6. package/esm2015/lib/components/elements/tables/table-record-action.component.js +3 -18
  7. package/esm2015/lib/components/forms/basic-form.js +52 -44
  8. package/esm2015/lib/services/event-manager.service.js +18 -0
  9. package/esm2015/lib/services/file-manager.service.js +6 -0
  10. package/esm2015/lib/services/form-manager.service.js +68 -0
  11. package/esm2015/lib/tuain-ng-forms-lib.module.js +3 -5
  12. package/esm2015/public-api.js +6 -7
  13. package/fesm2015/tuain-ng-forms-lib.js +126 -279
  14. package/fesm2015/tuain-ng-forms-lib.js.map +1 -1
  15. package/lib/components/elements/{actions/action.component.d.ts → action.component.d.ts} +0 -4
  16. package/lib/components/elements/{fields/field.component.d.ts → field.component.d.ts} +1 -1
  17. package/lib/components/elements/layout/form-header.component.d.ts +2 -5
  18. package/lib/components/elements/tables/table-record-action.component.d.ts +1 -4
  19. package/lib/components/forms/basic-form.d.ts +15 -6
  20. package/lib/services/event-manager.service.d.ts +9 -0
  21. package/lib/services/{file-manager.servicer.d.ts → file-manager.service.d.ts} +0 -0
  22. package/lib/services/form-manager.service.d.ts +21 -0
  23. package/package.json +1 -1
  24. package/public-api.d.ts +5 -6
  25. package/tuain-ng-forms-lib.metadata.json +1 -1
  26. package/esm2015/lib/components/elements/actions/action.component.js +0 -53
  27. package/esm2015/lib/components/elements/fields/field.component.js +0 -38
  28. package/esm2015/lib/components/elements/fields/password.component.js +0 -18
  29. package/esm2015/lib/services/file-manager.servicer.js +0 -6
  30. package/esm2015/lib/services/form-manager.servicer.js +0 -39
  31. package/esm2015/lib/services/icon-dictionary.service.js +0 -161
  32. package/lib/components/elements/fields/password.component.d.ts +0 -6
  33. package/lib/services/form-manager.servicer.d.ts +0 -12
  34. package/lib/services/icon-dictionary.service.d.ts +0 -157
@@ -1,174 +1,11 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('uuid'), require('@angular/common'), require('@angular/router'), require('@angular/forms')) :
3
- typeof define === 'function' && define.amd ? define('tuain-ng-forms-lib', ['exports', '@angular/core', 'rxjs', 'uuid', '@angular/common', '@angular/router', '@angular/forms'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['tuain-ng-forms-lib'] = {}, global.ng.core, global.rxjs, global.uuid, global.ng.common, global.ng.router, global.ng.forms));
5
- }(this, (function (exports, core, rxjs, uuid, common, router, forms) { 'use strict';
6
-
7
- var iconDictionary = {
8
- SELECT: 'icmn-pushpin',
9
- selectHolder: 'icmn-user-check',
10
- validateAML: 'icmn-warning',
11
- NEW: 'icmn-file-empty',
12
- 'FORM-CREATE': 'icmn-file-empty',
13
- 'FORM-EDIT': 'icmn-pencil2',
14
- 'FORM-VIEW': 'icmn-file-text2',
15
- SHIELD: 'fa fa-shield',
16
- LOGIN: 'fa fa-sign-in',
17
- LOGOUT: 'fa fa-sign-out',
18
- VIEW: 'icmn-eye',
19
- EDIT: 'icmn-pencil',
20
- DETAIL: 'icmn-binoculars',
21
- DELETE: 'icmn-bin',
22
- SERVERPROCESS: 'icmn-cloud-check',
23
- DEFAULT: 'icmn-home',
24
- HOME: 'icmn-home',
25
- IMAGE: 'icmn-image',
26
- PICTURE: 'icmn-camera',
27
- TEXT: 'icmn-file-text',
28
- MOVEUP: 'icmn-arrow-up',
29
- MOVEDOWN: 'icmn-arrow-down',
30
- NEWAFFILIATION: 'icmn-profile',
31
- AUTONEWAFFILIATION: 'icmn-profile',
32
- PROFILE: 'icmn-profile',
33
- ZIPFILE: 'icmn-file-zip',
34
- COPY: 'icmn-copy',
35
- FOLDER: 'icmn-folder-open',
36
- TAGS: 'icmn-price-tags',
37
- BARCODE: 'icmn-barcode',
38
- BARCODE2: 'fa fa-barcode',
39
- KEYBOARD: 'fa fa-keyboard-o',
40
- CART: 'icmn-cart',
41
- CAMARACOMERCIO: 'icmn-book',
42
- SARLAFT: 'icmn-binoculars',
43
- SCREENING: 'icmn-user-check',
44
- ENTITY: 'icmn-library',
45
- COIN: 'icmn-coin-dollar',
46
- CREDITCARD: 'icmn-credit-card',
47
- CONTACTS: 'icmn-address-book',
48
- LOCATION: 'icmn-location',
49
- CODES: 'icmn-file-text',
50
- BPMCODES: 'icmn-file-text2',
51
- MAIL: 'icmn-envelop',
52
- MAP: 'icmn-map',
53
- WARNING: 'icmn-warning',
54
- NOTIFICATION: 'icmn-notification',
55
- QUESTION: 'icmn-question',
56
- INFO: 'icmn-info',
57
- SAVE: 'icmn-floppy-disk',
58
- INBOXFULL: 'icmn-drawer',
59
- INBOXEMPTY: 'icmn-drawer2',
60
- DATABASE: 'icmn-database',
61
- UNDO: 'icmn-undo2',
62
- REDO: 'icmn-redo2',
63
- CHAT: 'icmn-bubbles4',
64
- BRIEFCASE: 'icmn-briefcase',
65
- USER: 'icmn-user',
66
- ADDUSER: 'icmn-user-plus',
67
- REMOVEUSER: 'icmn-user-minus',
68
- SPINNER: 'icmn-spiiner3',
69
- SEARCH: 'icmn-search',
70
- ZOOMIN: 'icmn-zoom-in',
71
- ZOOMOUT: 'icmn-zoom-out',
72
- KEY: 'icmn-key',
73
- LOCK: 'icmn-lock',
74
- lockDoc: 'icmn-lock',
75
- UNLOCK: 'icmn-unlocked',
76
- CONFIG: 'icmn-wrench',
77
- TUNE: 'icmn-equalizer',
78
- GEAR: 'icmn-cog',
79
- ADMIN: 'fa fa-cogs',
80
- LIST: 'icmn-list',
81
- FORMRECORD: 'icmn-insert-template',
82
- PIE: 'icmn-pie-chart',
83
- GRAPH: 'icmn-stats-dots',
84
- TROPHY: 'icmn-trophy',
85
- GIFT: 'icmn-gift',
86
- GAUGE: 'icmn-meter',
87
- FIRE: 'icmn-fire',
88
- LAB: 'icmn-lab',
89
- DELIVER: 'icmn-truck',
90
- MOBILE: 'icmn-mobile',
91
- MOBILE2: 'icmn-mobile',
92
- RECHARGE: 'icmn-power-cord',
93
- TREE: 'icmn-tree',
94
- EARTH: 'icmn-earth',
95
- TARGET: 'icmn-target',
96
- POWER: 'icmn-switch',
97
- VERIFY: 'icmn-clipboard',
98
- UPLOAD: 'icmn-cloud-upload',
99
- DOWNLOAD: 'icmn-cloud-download',
100
- DOWNLOADSET: 'icmn-cloud-download',
101
- LINK: 'icmn-link',
102
- ATACH: 'icmn-atachment',
103
- EYE: 'icmn-eye',
104
- NOEYE: 'icmn-eye-blocked',
105
- BOOKMARK: 'icmn-bookmark',
106
- STAR: 'icmn-star-full',
107
- HEART: 'icmn-heart',
108
- HEARTBROKEN: 'icmn-heart-broken',
109
- HAPPY: 'icmn-happy',
110
- SAD: 'icmn-sad',
111
- ACTIVATE: 'icmn-checkmark',
112
- INACTIVATE: 'icmn-cross',
113
- APPROVE: 'icmn-checkmark',
114
- REJECT: 'icmn-cross',
115
- CANCEL: 'icmn-cross',
116
- CLOSE: 'icmn-ungroup',
117
- CLEAN: 'fa fa-eraser',
118
- CHECK: 'icmn-checkmark',
119
- UNCHECK: 'icmn-cross',
120
- SELECTROW: 'icmn-checkbox-unchecked',
121
- UNSELECTROW: 'icmn-checkbox-checked',
122
- CHECKED: 'icmn-checkbox-checked',
123
- UNCHECKED: 'icmn-checkbox-unchecked',
124
- ENTER: 'icmn-enter',
125
- EXIT: 'icmn-exit',
126
- CUT: 'icmn-scissors',
127
- FILTER: 'icmn-filter',
128
- PLAY: 'icmn-play2',
129
- STOP: 'icmn-stop',
130
- UP: 'icmn-circle-up',
131
- DOWN: 'icmn-circle-down',
132
- RIGHT: 'icmn-circle-right',
133
- LEFT: 'icmn-circle-left',
134
- SORTASC: 'icmn-sort-alpha-asc',
135
- SORTDSC: 'icmn-sort-alpha-desc',
136
- TABLE: 'icmn-table',
137
- OFFICE: 'icmn-office',
138
- SHARE: 'icmn-share',
139
- FACEBOOK: 'icmn-facebook',
140
- WHATSAPP: 'icmn-whatsapp',
141
- TWITTER: 'icmn-twitter',
142
- YOUTUBE: 'icmn-youtube',
143
- PDF: 'icmn-file-pdf',
144
- EXCEL: 'icmn-file-excel',
145
- HOLDER: 'icmn-profile',
146
- XXX: 'fa fa-first-order',
147
- BANK: 'fa fa-bank',
148
- CREDITCARD2: 'fa fa-credit-card-alt',
149
- BUS: 'fa fa-bus',
150
- TELEVISION: 'icmn-tv',
151
- BACK: 'fa fa-arrow-left',
152
- SEND: 'fa fa-paper-plane-o',
153
- TEXTFILE: 'fa fa-file-text-o',
154
- PERSON: 'fa fa-user',
155
- BATCHFILE: 'fa fa-wpforms',
156
- REQUESTS: 'icmn-stack',
157
- THUMBUP: 'fa fa-thumbs-o-up',
158
- THUMBDOWN: 'fa fa-thumbs-o-down',
159
- EXCLAMATION: 'fa fa-exclamation-circle',
160
- };
161
- var IconDictionaryService = /** @class */ (function () {
162
- function IconDictionaryService() {
163
- this.mapIcon = function (iconName) { return (iconName && iconDictionary[iconName])
164
- ? iconDictionary[iconName] : iconDictionary.DEFAULT; };
165
- }
166
- return IconDictionaryService;
167
- }());
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('nanoid'), require('@angular/common'), require('@angular/router'), require('@angular/forms')) :
3
+ typeof define === 'function' && define.amd ? define('tuain-ng-forms-lib', ['exports', '@angular/core', 'rxjs', 'nanoid', '@angular/common', '@angular/router', '@angular/forms'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['tuain-ng-forms-lib'] = {}, global.ng.core, global.rxjs, global.nanoid, global.ng.common, global.ng.router, global.ng.forms));
5
+ }(this, (function (exports, core, rxjs, nanoid, common, router, forms) { 'use strict';
168
6
 
169
7
  var ActionComponent = /** @class */ (function () {
170
- function ActionComponent(_iconDictionary) {
171
- this._iconDictionary = _iconDictionary;
8
+ function ActionComponent() {
172
9
  this.style = 'primary';
173
10
  this.showLabel = true;
174
11
  }
@@ -182,10 +19,6 @@
182
19
  this.actionObject.notifyActivation();
183
20
  }
184
21
  };
185
- ActionComponent.prototype.icon = function () {
186
- var _a;
187
- return this._iconDictionary.mapIcon((_a = this.actionObject) === null || _a === void 0 ? void 0 : _a.iconName);
188
- };
189
22
  Object.defineProperty(ActionComponent.prototype, "isVisible", {
190
23
  get: function () {
191
24
  var _a, _b, _c, _d, _e;
@@ -210,9 +43,6 @@
210
43
  template: "<ng-content></ng-content>"
211
44
  },] }
212
45
  ];
213
- ActionComponent.ctorParameters = function () { return [
214
- { type: IconDictionaryService }
215
- ]; };
216
46
  ActionComponent.propDecorators = {
217
47
  actionObject: [{ type: core.Input }],
218
48
  disabled: [{ type: core.Input }],
@@ -356,6 +186,148 @@
356
186
  disabled: [{ type: core.Input }]
357
187
  };
358
188
 
189
+ var ElementComponent = /** @class */ (function () {
190
+ function ElementComponent() {
191
+ this.componentConstants = Object.assign({}, componentConstants);
192
+ }
193
+ ElementComponent.prototype.ngOnInit = function () {
194
+ this.start();
195
+ };
196
+ ElementComponent.prototype.start = function () { };
197
+ Object.defineProperty(ElementComponent.prototype, "visible", {
198
+ get: function () {
199
+ var _a, _b, _c, _d;
200
+ var visible = (_b = (_a = this.formElement) === null || _a === void 0 ? void 0 : _a.visible) !== null && _b !== void 0 ? _b : true;
201
+ return visible && ((_c = this.formElement) === null || _c === void 0 ? void 0 : _c.viewOnState((_d = this.formManager) === null || _d === void 0 ? void 0 : _d.currentState));
202
+ },
203
+ enumerable: false,
204
+ configurable: true
205
+ });
206
+ Object.defineProperty(ElementComponent.prototype, "disabled", {
207
+ get: function () {
208
+ var _a, _b, _c, _d;
209
+ var disabled = (_b = (_a = this.formElement) === null || _a === void 0 ? void 0 : _a.disabled) !== null && _b !== void 0 ? _b : false;
210
+ return disabled || !((_c = this.formElement) === null || _c === void 0 ? void 0 : _c.enabledOnState((_d = this.formManager) === null || _d === void 0 ? void 0 : _d.currentState));
211
+ },
212
+ enumerable: false,
213
+ configurable: true
214
+ });
215
+ return ElementComponent;
216
+ }());
217
+ ElementComponent.decorators = [
218
+ { type: core.Component, args: [{
219
+ selector: 'lib-element',
220
+ template: "<ng-content></ng-content>"
221
+ },] }
222
+ ];
223
+ ElementComponent.ctorParameters = function () { return []; };
224
+ ElementComponent.propDecorators = {
225
+ formElement: [{ type: core.Input }],
226
+ formManager: [{ type: core.Input }]
227
+ };
228
+
229
+ var FormErrorComponent = /** @class */ (function () {
230
+ function FormErrorComponent() {
231
+ }
232
+ return FormErrorComponent;
233
+ }());
234
+ FormErrorComponent.decorators = [
235
+ { type: core.Component, args: [{
236
+ selector: 'lib-form-error',
237
+ template: "<ng-content></ng-content>"
238
+ },] }
239
+ ];
240
+ FormErrorComponent.propDecorators = {
241
+ errorTitle: [{ type: core.Input }],
242
+ errorMessage: [{ type: core.Input }],
243
+ errorType: [{ type: core.Input }]
244
+ };
245
+
246
+ var FormHeaderComponent = /** @class */ (function () {
247
+ function FormHeaderComponent() {
248
+ this.goBackEvent = new core.EventEmitter();
249
+ }
250
+ FormHeaderComponent.prototype.goBackForm = function () {
251
+ this.goBackEvent.emit();
252
+ };
253
+ return FormHeaderComponent;
254
+ }());
255
+ FormHeaderComponent.decorators = [
256
+ { type: core.Component, args: [{
257
+ selector: 'lib-form-header',
258
+ template: "<ng-content></ng-content>"
259
+ },] }
260
+ ];
261
+ FormHeaderComponent.propDecorators = {
262
+ formManager: [{ type: core.Input }],
263
+ goBackAction: [{ type: core.Input }],
264
+ showTitle: [{ type: core.Input }],
265
+ headerActions: [{ type: core.Input }],
266
+ goBackEvent: [{ type: core.Output }]
267
+ };
268
+
269
+ var SectionComponent = /** @class */ (function () {
270
+ function SectionComponent() {
271
+ }
272
+ SectionComponent.prototype.ngOnInit = function () {
273
+ this.start();
274
+ };
275
+ SectionComponent.prototype.start = function () { };
276
+ return SectionComponent;
277
+ }());
278
+ SectionComponent.decorators = [
279
+ { type: core.Component, args: [{
280
+ selector: 'lib-section',
281
+ template: "<ng-content></ng-content>"
282
+ },] }
283
+ ];
284
+ SectionComponent.propDecorators = {
285
+ sectionObject: [{ type: core.Input }],
286
+ formManager: [{ type: core.Input }]
287
+ };
288
+
289
+ var SubSectionComponent = /** @class */ (function () {
290
+ function SubSectionComponent() {
291
+ }
292
+ SubSectionComponent.prototype.ngOnInit = function () {
293
+ this.start();
294
+ };
295
+ SubSectionComponent.prototype.start = function () { };
296
+ return SubSectionComponent;
297
+ }());
298
+ SubSectionComponent.decorators = [
299
+ { type: core.Component, args: [{
300
+ selector: 'lib-subsection',
301
+ template: "<ng-content></ng-content>"
302
+ },] }
303
+ ];
304
+ SubSectionComponent.propDecorators = {
305
+ subSection: [{ type: core.Input }],
306
+ showHeader: [{ type: core.Input }],
307
+ formManager: [{ type: core.Input }]
308
+ };
309
+
310
+ var FieldSearch = /** @class */ (function () {
311
+ function FieldSearch(filterDefinition) {
312
+ this.fieldCode = filterDefinition.fieldCode;
313
+ this.fieldAlias = filterDefinition.fieldAlias || filterDefinition.fieldCode;
314
+ this.fieldTitle = filterDefinition.fieldTitle;
315
+ this.fieldTypeCode = filterDefinition.fieldTypeCode;
316
+ this.operators = filterDefinition.operators;
317
+ this.alignment = filterDefinition.alignment;
318
+ this.format = filterDefinition.format;
319
+ }
320
+ return FieldSearch;
321
+ }());
322
+ var Filter = /** @class */ (function () {
323
+ function Filter() {
324
+ this.filterModeSimple = true;
325
+ this.advancedFilter = [];
326
+ this.simpleFilterWords = [];
327
+ }
328
+ return Filter;
329
+ }());
330
+
359
331
  /*! *****************************************************************************
360
332
  Copyright (c) Microsoft Corporation.
361
333
 
@@ -674,173 +646,6 @@
674
646
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
675
647
  }
676
648
 
677
- var PasswordComponent = /** @class */ (function (_super) {
678
- __extends(PasswordComponent, _super);
679
- function PasswordComponent() {
680
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
681
- _this.inputType = 'password';
682
- return _this;
683
- }
684
- PasswordComponent.prototype.togglePwdView = function () {
685
- this.inputType = (this.inputType === 'password') ? 'text' : 'password';
686
- };
687
- return PasswordComponent;
688
- }(FieldComponent));
689
- PasswordComponent.decorators = [
690
- { type: core.Component, args: [{
691
- selector: 'lib-password',
692
- template: "<ng-content></ng-content>"
693
- },] }
694
- ];
695
-
696
- var ElementComponent = /** @class */ (function () {
697
- function ElementComponent() {
698
- this.componentConstants = Object.assign({}, componentConstants);
699
- }
700
- ElementComponent.prototype.ngOnInit = function () {
701
- this.start();
702
- };
703
- ElementComponent.prototype.start = function () { };
704
- Object.defineProperty(ElementComponent.prototype, "visible", {
705
- get: function () {
706
- var _a, _b, _c, _d;
707
- var visible = (_b = (_a = this.formElement) === null || _a === void 0 ? void 0 : _a.visible) !== null && _b !== void 0 ? _b : true;
708
- return visible && ((_c = this.formElement) === null || _c === void 0 ? void 0 : _c.viewOnState((_d = this.formManager) === null || _d === void 0 ? void 0 : _d.currentState));
709
- },
710
- enumerable: false,
711
- configurable: true
712
- });
713
- Object.defineProperty(ElementComponent.prototype, "disabled", {
714
- get: function () {
715
- var _a, _b, _c, _d;
716
- var disabled = (_b = (_a = this.formElement) === null || _a === void 0 ? void 0 : _a.disabled) !== null && _b !== void 0 ? _b : false;
717
- return disabled || !((_c = this.formElement) === null || _c === void 0 ? void 0 : _c.enabledOnState((_d = this.formManager) === null || _d === void 0 ? void 0 : _d.currentState));
718
- },
719
- enumerable: false,
720
- configurable: true
721
- });
722
- return ElementComponent;
723
- }());
724
- ElementComponent.decorators = [
725
- { type: core.Component, args: [{
726
- selector: 'lib-element',
727
- template: "<ng-content></ng-content>"
728
- },] }
729
- ];
730
- ElementComponent.ctorParameters = function () { return []; };
731
- ElementComponent.propDecorators = {
732
- formElement: [{ type: core.Input }],
733
- formManager: [{ type: core.Input }]
734
- };
735
-
736
- var FormErrorComponent = /** @class */ (function () {
737
- function FormErrorComponent() {
738
- }
739
- return FormErrorComponent;
740
- }());
741
- FormErrorComponent.decorators = [
742
- { type: core.Component, args: [{
743
- selector: 'lib-form-error',
744
- template: "<ng-content></ng-content>"
745
- },] }
746
- ];
747
- FormErrorComponent.propDecorators = {
748
- errorTitle: [{ type: core.Input }],
749
- errorMessage: [{ type: core.Input }],
750
- errorType: [{ type: core.Input }]
751
- };
752
-
753
- var FormHeaderComponent = /** @class */ (function () {
754
- function FormHeaderComponent() {
755
- this.goBackEvent = new core.EventEmitter();
756
- }
757
- FormHeaderComponent.prototype.goBackForm = function () {
758
- this.goBackEvent.emit();
759
- };
760
- FormHeaderComponent.prototype.ngOnInit = function () {
761
- var _a, _b;
762
- this.navigation = ((_b = (_a = this.formManager) === null || _a === void 0 ? void 0 : _a.formManagerService) === null || _b === void 0 ? void 0 : _b.pageStack)
763
- ? Object.keys(this.formManager.formManagerService.pageStack) : null;
764
- };
765
- return FormHeaderComponent;
766
- }());
767
- FormHeaderComponent.decorators = [
768
- { type: core.Component, args: [{
769
- selector: 'lib-form-header',
770
- template: "<ng-content></ng-content>"
771
- },] }
772
- ];
773
- FormHeaderComponent.propDecorators = {
774
- formManager: [{ type: core.Input }],
775
- icon: [{ type: core.Input }],
776
- goBackAction: [{ type: core.Input }],
777
- showTitle: [{ type: core.Input }],
778
- headerActions: [{ type: core.Input }],
779
- goBackEvent: [{ type: core.Output }]
780
- };
781
-
782
- var SectionComponent = /** @class */ (function () {
783
- function SectionComponent() {
784
- }
785
- SectionComponent.prototype.ngOnInit = function () {
786
- this.start();
787
- };
788
- SectionComponent.prototype.start = function () { };
789
- return SectionComponent;
790
- }());
791
- SectionComponent.decorators = [
792
- { type: core.Component, args: [{
793
- selector: 'lib-section',
794
- template: "<ng-content></ng-content>"
795
- },] }
796
- ];
797
- SectionComponent.propDecorators = {
798
- sectionObject: [{ type: core.Input }],
799
- formManager: [{ type: core.Input }]
800
- };
801
-
802
- var SubSectionComponent = /** @class */ (function () {
803
- function SubSectionComponent() {
804
- }
805
- SubSectionComponent.prototype.ngOnInit = function () {
806
- this.start();
807
- };
808
- SubSectionComponent.prototype.start = function () { };
809
- return SubSectionComponent;
810
- }());
811
- SubSectionComponent.decorators = [
812
- { type: core.Component, args: [{
813
- selector: 'lib-subsection',
814
- template: "<ng-content></ng-content>"
815
- },] }
816
- ];
817
- SubSectionComponent.propDecorators = {
818
- subSection: [{ type: core.Input }],
819
- showHeader: [{ type: core.Input }],
820
- formManager: [{ type: core.Input }]
821
- };
822
-
823
- var FieldSearch = /** @class */ (function () {
824
- function FieldSearch(filterDefinition) {
825
- this.fieldCode = filterDefinition.fieldCode;
826
- this.fieldAlias = filterDefinition.fieldAlias || filterDefinition.fieldCode;
827
- this.fieldTitle = filterDefinition.fieldTitle;
828
- this.fieldTypeCode = filterDefinition.fieldTypeCode;
829
- this.operators = filterDefinition.operators;
830
- this.alignment = filterDefinition.alignment;
831
- this.format = filterDefinition.format;
832
- }
833
- return FieldSearch;
834
- }());
835
- var Filter = /** @class */ (function () {
836
- function Filter() {
837
- this.filterModeSimple = true;
838
- this.advancedFilter = [];
839
- this.simpleFilterWords = [];
840
- }
841
- return Filter;
842
- }());
843
-
844
649
  var FormElement = /** @class */ (function () {
845
650
  function FormElement(elementDefinition) {
846
651
  var _a, _b;
@@ -1674,8 +1479,7 @@
1674
1479
 
1675
1480
  var INLINE_ACTION$1 = 'INLINE';
1676
1481
  var LibTableRecordActionComponent = /** @class */ (function () {
1677
- function LibTableRecordActionComponent(_iconDictionary) {
1678
- this._iconDictionary = _iconDictionary;
1482
+ function LibTableRecordActionComponent() {
1679
1483
  this.actionSelected = new core.EventEmitter();
1680
1484
  }
1681
1485
  LibTableRecordActionComponent.prototype.ngOnInit = function () {
@@ -1690,17 +1494,6 @@
1690
1494
  };
1691
1495
  this.actionSelected.emit(tableEvent);
1692
1496
  };
1693
- LibTableRecordActionComponent.prototype.icon = function () {
1694
- if (this.action.actionType === 'CHECK') {
1695
- return this._iconDictionary.mapIcon('SELECTROW');
1696
- }
1697
- else if (this.action.actionType === 'UNCHECK') {
1698
- return this._iconDictionary.mapIcon('UNSELECTROW');
1699
- }
1700
- else {
1701
- return this._iconDictionary.mapIcon(this.action.iconName);
1702
- }
1703
- };
1704
1497
  LibTableRecordActionComponent.prototype.class = function () { };
1705
1498
  return LibTableRecordActionComponent;
1706
1499
  }());
@@ -1711,9 +1504,7 @@
1711
1504
  changeDetection: core.ChangeDetectionStrategy.OnPush
1712
1505
  },] }
1713
1506
  ];
1714
- LibTableRecordActionComponent.ctorParameters = function () { return [
1715
- { type: IconDictionaryService }
1716
- ]; };
1507
+ LibTableRecordActionComponent.ctorParameters = function () { return []; };
1717
1508
  LibTableRecordActionComponent.propDecorators = {
1718
1509
  recordId: [{ type: core.Input }],
1719
1510
  recordData: [{ type: core.Input }],
@@ -3212,43 +3003,91 @@
3212
3003
 
3213
3004
  var LibFormManagerService = /** @class */ (function () {
3214
3005
  function LibFormManagerService() {
3215
- this.resetPageStack();
3006
+ this.cleanStack();
3216
3007
  }
3217
- LibFormManagerService.prototype.resetPageStack = function () {
3218
- this.pageStack = {};
3219
- };
3220
- LibFormManagerService.prototype.getStackObject = function (formToken) {
3221
- return (formToken && this.pageStack[formToken]) ? this.pageStack[formToken] : null;
3222
- };
3223
- LibFormManagerService.prototype.getInputData = function (formToken) {
3224
- var originData = this.getStackObject(formToken);
3225
- var predefinedFields = (originData && originData.predefinedFields)
3226
- ? originData.predefinedFields : null;
3227
- return predefinedFields;
3228
- };
3229
- LibFormManagerService.prototype.goBackFormOrigin = function (formToken) {
3230
- var originObject = this.getStackObject(formToken);
3231
- console.log(originObject);
3232
- if (originObject) {
3233
- delete this.pageStack[formToken];
3234
- var originNavigationArray = originObject.navigation;
3235
- this.goToRoute(originNavigationArray);
3236
- }
3237
- };
3238
- LibFormManagerService.prototype.goForwardFormOrigin = function (originData, forwardNavigation) {
3239
- var goBack = originData.goBack, predefinedFields = originData.predefinedFields;
3240
- var navigation = goBack.filter(function (item) { return typeof item !== 'undefined' && item !== null; });
3241
- var formToken = uuid.v4();
3242
- this.pageStack[formToken] = { navigation: navigation, predefinedFields: predefinedFields };
3243
- forwardNavigation.push(formToken);
3244
- this.goToRoute(forwardNavigation);
3245
- };
3008
+ /**
3009
+ * Métodos virtuales de manejo de formularios
3010
+ */
3246
3011
  LibFormManagerService.prototype.getFormDefinition = function (formCode) { };
3247
3012
  LibFormManagerService.prototype.execServerAction = function (actionDetail) { };
3248
3013
  LibFormManagerService.prototype.goToRoute = function (navigationArray) { };
3014
+ /**
3015
+ * Manejo del stack de navegación con atributos estados y parámetros
3016
+ */
3017
+ LibFormManagerService.prototype.resetPageStack = function () { this.cleanStack(); };
3018
+ LibFormManagerService.prototype.cleanStack = function () {
3019
+ this.pageStack = [];
3020
+ };
3021
+ LibFormManagerService.prototype.stack = function (data) {
3022
+ var id = nanoid.nanoid(6);
3023
+ this.pageStack.push({ id: id, data: data });
3024
+ return id;
3025
+ };
3026
+ LibFormManagerService.prototype.unstack = function (id) {
3027
+ var stackIdx = this.pageStack.findIndex(function (item) { return item.id === id; });
3028
+ if (stackIdx >= 0) {
3029
+ var formData = this.pageStack[stackIdx].data;
3030
+ // Se eliminan los formularios posteriores al solicitado
3031
+ this.pageStack.splice(stackIdx + 1);
3032
+ return formData;
3033
+ }
3034
+ };
3035
+ LibFormManagerService.prototype.getInputData = function (id) {
3036
+ var stackIdx = (id) ? this.pageStack.findIndex(function (item) { return item.id === id; }) : -1;
3037
+ if (stackIdx >= 0) {
3038
+ var predefinedFields = this.pageStack[stackIdx].data.target.predefinedFields;
3039
+ return predefinedFields;
3040
+ }
3041
+ return null;
3042
+ };
3043
+ LibFormManagerService.prototype.getOriginInfo = function (id) {
3044
+ var stackIdx = (id) ? this.pageStack.findIndex(function (item) { return item.id === id; }) : -1;
3045
+ if (stackIdx >= 0) {
3046
+ var origin = this.pageStack[stackIdx].data.origin;
3047
+ return JSON.parse(JSON.stringify(origin));
3048
+ }
3049
+ return null;
3050
+ };
3051
+ LibFormManagerService.prototype.changeForm = function (origin, target) {
3052
+ if (!origin) {
3053
+ this.cleanStack();
3054
+ }
3055
+ var url = target.url, params = target.params;
3056
+ var newToken = this.stack({ origin: origin, target: target });
3057
+ var navigationArray = __spreadArray(__spreadArray([url], __read(params)), [newToken]);
3058
+ this.goToRoute(navigationArray);
3059
+ };
3060
+ LibFormManagerService.prototype.changePreviousForm = function (transitionToken) {
3061
+ var prevForm = this.unstack(transitionToken);
3062
+ if (!prevForm) {
3063
+ return;
3064
+ }
3065
+ var _a = prevForm.origin, url = _a.url, params = _a.params, token = _a.token;
3066
+ var navigationArray = __spreadArray(__spreadArray([url], __read(params)), [token]);
3067
+ this.goToRoute(navigationArray);
3068
+ };
3249
3069
  return LibFormManagerService;
3250
3070
  }());
3251
3071
 
3072
+ var LibEventManagerService = /** @class */ (function () {
3073
+ function LibEventManagerService(eventNames) {
3074
+ var _this = this;
3075
+ this.eventSubjects = {};
3076
+ eventNames.forEach(function (name) { _this.addEventName(name); });
3077
+ }
3078
+ LibEventManagerService.prototype.addEventName = function (name) {
3079
+ if (!this.eventSubjects[name]) {
3080
+ var newEventSubject = new rxjs.BehaviorSubject(null);
3081
+ this.eventSubjects[name] = newEventSubject;
3082
+ }
3083
+ };
3084
+ LibEventManagerService.prototype.getEventNames = function () { return Object.keys(this.eventSubjects); };
3085
+ LibEventManagerService.prototype.getSubject = function (eventClassName) { return eventClassName ? this.eventSubjects[eventClassName] : null; };
3086
+ LibEventManagerService.prototype.subscribe = function (eventClassName, callback) { this.getSubject(eventClassName).subscribe(callback); };
3087
+ LibEventManagerService.prototype.next = function (eventClassName, data) { this.getSubject(eventClassName).next(data); };
3088
+ return LibEventManagerService;
3089
+ }());
3090
+
3252
3091
  var LibFileManagementService = /** @class */ (function () {
3253
3092
  function LibFileManagementService() {
3254
3093
  }
@@ -3269,14 +3108,16 @@
3269
3108
  var STATE_PARAM = 'mode';
3270
3109
  var REQUIRED_FIELD_MESSAGE = 'Campo requerido';
3271
3110
  var BasicFormComponent = /** @class */ (function () {
3272
- function BasicFormComponent(formManagerService, fileMgmtServices) {
3111
+ function BasicFormComponent(formManagerService, _eventManager, fileMgmtServices) {
3273
3112
  this.formManagerService = formManagerService;
3113
+ this._eventManager = _eventManager;
3274
3114
  this.fileMgmtServices = fileMgmtServices;
3275
3115
  this.errorCode = '';
3276
3116
  this.errorMessage = '';
3277
3117
  this.errorDetail = '';
3278
3118
  this.formStructure = null;
3279
- this.originToken = null;
3119
+ this.transitionToken = null;
3120
+ this.inputDataFields = [];
3280
3121
  this.extraData = null;
3281
3122
  this.componentConstants = componentConstants;
3282
3123
  this.definitionObtained = false;
@@ -3297,6 +3138,7 @@
3297
3138
  this.tableGetDataStart = {};
3298
3139
  this.tableGetDataFinish = {};
3299
3140
  this.customPreProcessing();
3141
+ this._eventEmiter = this._eventManager;
3300
3142
  }
3301
3143
  Object.defineProperty(BasicFormComponent.prototype, "currentState", {
3302
3144
  get: function () { return this.formStructure.state; },
@@ -3438,32 +3280,39 @@
3438
3280
  BasicFormComponent.prototype.showFieldInfo = function (fieldCode) { };
3439
3281
  BasicFormComponent.prototype.showModalDialog = function (title, body, options, callback, params) { };
3440
3282
  BasicFormComponent.prototype.openUploadDialog = function (title, body, options, callback, params) { };
3441
- BasicFormComponent.prototype.goBackForm = function () {
3442
- this.formManagerService.goBackFormOrigin(this.originToken);
3283
+ BasicFormComponent.prototype.subscribeAppEvent = function (eventName, callback) {
3284
+ this._eventEmiter.subscribe(eventName, callback);
3443
3285
  };
3444
- BasicFormComponent.prototype.goToSubPage = function (navigationArray, fieldValuesArray) {
3445
- if (navigationArray.length < 2) {
3446
- return;
3286
+ BasicFormComponent.prototype.goToPage = function (navigationArray, predefinedFields, options) {
3287
+ if (options === void 0) { options = null; }
3288
+ var _a;
3289
+ var origin = null;
3290
+ var cleanStack = (_a = options === null || options === void 0 ? void 0 : options.cleanStack) !== null && _a !== void 0 ? _a : false;
3291
+ if (!cleanStack) {
3292
+ origin = {
3293
+ code: this.formCode,
3294
+ url: this._formRoute,
3295
+ params: [
3296
+ this.currentState,
3297
+ this.formSubject,
3298
+ ],
3299
+ token: this.transitionToken,
3300
+ predefinedFields: this.inputDataFields
3301
+ };
3447
3302
  }
3448
- if (navigationArray.length === 2) {
3449
- navigationArray.push('0');
3450
- }
3451
- if (navigationArray.length > 3) {
3452
- navigationArray = navigationArray.slice(0, 3);
3453
- }
3454
- var goBackNavigationArray = [
3455
- this._formRoute,
3456
- this.formStructure.state,
3457
- this.formSubject,
3458
- this.originToken
3459
- ];
3460
- goBackNavigationArray = goBackNavigationArray.filter(function (item) { return typeof item !== 'undefined' && item !== null; });
3461
- var originData = {
3462
- goBack: goBackNavigationArray,
3463
- predefinedFields: fieldValuesArray
3303
+ var target = {
3304
+ url: navigationArray === null || navigationArray === void 0 ? void 0 : navigationArray[0],
3305
+ params: navigationArray.splice(1),
3306
+ predefinedFields: predefinedFields,
3464
3307
  };
3465
- this.formManagerService.goForwardFormOrigin(originData, navigationArray);
3466
- };
3308
+ this.formManagerService.changeForm(origin, target);
3309
+ };
3310
+ BasicFormComponent.prototype.goToNewPage = function (nav, flds) { return this.goToPage(nav, flds, { cleanStack: true }); };
3311
+ BasicFormComponent.prototype.goToSubPage = function (nav, flds) { return this.goToPage(nav, flds, { cleanStack: false }); };
3312
+ BasicFormComponent.prototype.canGoBack = function () { return this.transitionToken !== null; };
3313
+ BasicFormComponent.prototype.goBack = function () { return this.formManagerService.changePreviousForm(this.transitionToken); };
3314
+ BasicFormComponent.prototype.goBackForm = function () { return this.goBack(); };
3315
+ BasicFormComponent.prototype.getOriginDetail = function () { return this.formManagerService.getOriginInfo(this.transitionToken); };
3467
3316
  BasicFormComponent.prototype.setError = function (errorType, errorMessage, errorDetail) {
3468
3317
  this._errorType = errorType || '';
3469
3318
  this.errorMessage = errorMessage || '';
@@ -3500,9 +3349,10 @@
3500
3349
  BasicFormComponent.prototype.getSubject = function () { return this.formSubject; };
3501
3350
  BasicFormComponent.prototype.getformSubject = function () { return this.getSubject(); };
3502
3351
  BasicFormComponent.prototype.preocessInputParams = function (params) {
3503
- var e_1, _c;
3504
- var allParams = Object.keys(params);
3505
- if (!allParams || !Array.isArray(allParams) || allParams.length < 1) {
3352
+ var e_1, _d;
3353
+ var _a, _b, _c;
3354
+ var allParams = Object.keys(params !== null && params !== void 0 ? params : {});
3355
+ if (!allParams || !Array.isArray(allParams) || allParams.length === 0) {
3506
3356
  return;
3507
3357
  }
3508
3358
  this.extraData = [];
@@ -3515,19 +3365,16 @@
3515
3365
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
3516
3366
  finally {
3517
3367
  try {
3518
- if (allParams_1_1 && !allParams_1_1.done && (_c = allParams_1.return)) _c.call(allParams_1);
3368
+ if (allParams_1_1 && !allParams_1_1.done && (_d = allParams_1.return)) _d.call(allParams_1);
3519
3369
  }
3520
3370
  finally { if (e_1) throw e_1.error; }
3521
3371
  }
3522
- this.formSubject = (this.extraData && this.extraData[FORM_SUBJECT] !== '0')
3523
- ? this.extraData[FORM_SUBJECT] : null;
3372
+ this.formSubject = (_b = (_a = this.extraData) === null || _a === void 0 ? void 0 : _a[FORM_SUBJECT]) !== null && _b !== void 0 ? _b : null;
3524
3373
  var initialState = this.extraData[STATE_PARAM];
3525
- this.originToken = this.extraData[ORIGIN_PARAM] || null;
3526
- if (this.originToken) {
3527
- this.inputDataFields = this.formManagerService.getInputData(this.originToken);
3528
- }
3529
- else {
3530
- this.formManagerService.resetPageStack();
3374
+ this.transitionToken = (_c = this.extraData[ORIGIN_PARAM]) !== null && _c !== void 0 ? _c : null;
3375
+ this.inputDataFields = (this.transitionToken) ? this.formManagerService.getInputData(this.transitionToken) : [];
3376
+ if (!this.transitionToken) {
3377
+ this.formManagerService.cleanStack();
3531
3378
  }
3532
3379
  return initialState;
3533
3380
  };
@@ -3576,10 +3423,10 @@
3576
3423
  };
3577
3424
  BasicFormComponent.prototype.formInit = function (params) {
3578
3425
  return __awaiter(this, void 0, void 0, function () {
3579
- var initialState, formDefinition, _c, _d, inputFieldData, recordResponse;
3580
- var e_2, _e;
3581
- return __generator(this, function (_f) {
3582
- switch (_f.label) {
3426
+ var initialState, formDefinition, _d, _e, inputFieldData, fieldCode, fieldValue, recordResponse;
3427
+ var e_2, _f;
3428
+ return __generator(this, function (_g) {
3429
+ switch (_g.label) {
3583
3430
  case 0:
3584
3431
  initialState = this.preocessInputParams(params);
3585
3432
  if (!this.name) {
@@ -3589,39 +3436,38 @@
3589
3436
  this.inServerProcess = true;
3590
3437
  return [4 /*yield*/, this.formManagerService.getFormDefinition(this.name)];
3591
3438
  case 1:
3592
- formDefinition = _f.sent();
3439
+ formDefinition = _g.sent();
3593
3440
  this.inServerProcess = false;
3594
3441
  this.formStructure = new FormStructureAndData(formDefinition);
3595
3442
  this.definitionObtained = true;
3596
3443
  return [3 /*break*/, 3];
3597
3444
  case 2:
3598
3445
  this.cleanData();
3599
- _f.label = 3;
3446
+ _g.label = 3;
3600
3447
  case 3:
3601
3448
  if (!this.supportState(initialState)) {
3602
3449
  initialState = this.formStructure.defaultState;
3603
3450
  }
3604
3451
  this.formStructure.changeState(initialState || this.formStructure.defaultState);
3605
- if (this.inputDataFields && this.inputDataFields.length > 0) {
3606
- try {
3607
- for (_c = __values(this.inputDataFields), _d = _c.next(); !_d.done; _d = _c.next()) {
3608
- inputFieldData = _d.value;
3609
- if (inputFieldData.fieldCode) {
3610
- this.setFieldValue(inputFieldData.fieldCode, inputFieldData.fieldValue);
3611
- }
3452
+ try {
3453
+ for (_d = __values(this.inputDataFields), _e = _d.next(); !_e.done; _e = _d.next()) {
3454
+ inputFieldData = _e.value;
3455
+ fieldCode = inputFieldData.fieldCode, fieldValue = inputFieldData.fieldValue;
3456
+ if (fieldCode) {
3457
+ this.setFieldValue(inputFieldData.fieldCode, fieldValue);
3612
3458
  }
3613
3459
  }
3614
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
3615
- finally {
3616
- try {
3617
- if (_d && !_d.done && (_e = _c.return)) _e.call(_c);
3618
- }
3619
- finally { if (e_2) throw e_2.error; }
3460
+ }
3461
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
3462
+ finally {
3463
+ try {
3464
+ if (_e && !_e.done && (_f = _d.return)) _f.call(_d);
3620
3465
  }
3466
+ finally { if (e_2) throw e_2.error; }
3621
3467
  }
3622
3468
  return [4 /*yield*/, this.requestFormAction(componentConstants.FORMACTION_GETDATA)];
3623
3469
  case 4:
3624
- recordResponse = _f.sent();
3470
+ recordResponse = _g.sent();
3625
3471
  this.checkErrorRecordReceived(recordResponse);
3626
3472
  this.formVisible = true;
3627
3473
  this.subscribeSectionActivation();
@@ -3652,8 +3498,8 @@
3652
3498
  if (actionSubject === void 0) { actionSubject = {}; }
3653
3499
  return __awaiter(this, void 0, void 0, function () {
3654
3500
  var actionDetail, formActionResponse, error, formResponseData;
3655
- return __generator(this, function (_c) {
3656
- switch (_c.label) {
3501
+ return __generator(this, function (_d) {
3502
+ switch (_d.label) {
3657
3503
  case 0:
3658
3504
  actionDetail = {
3659
3505
  formCode: this.name,
@@ -3671,7 +3517,7 @@
3671
3517
  this.inServerProcess = true;
3672
3518
  return [4 /*yield*/, this.formManagerService.execServerAction(actionDetail)];
3673
3519
  case 1:
3674
- formActionResponse = _c.sent();
3520
+ formActionResponse = _d.sent();
3675
3521
  this.inServerProcess = false;
3676
3522
  if (formActionResponse && formActionResponse.error.errorType) {
3677
3523
  console.log('Excepción no soportada');
@@ -3690,7 +3536,7 @@
3690
3536
  });
3691
3537
  };
3692
3538
  BasicFormComponent.prototype.updateFormWithServerData = function (formContent) {
3693
- var e_3, _c, e_4, _d, e_5, _e;
3539
+ var e_3, _d, e_4, _e, e_5, _f;
3694
3540
  var currentMode = formContent.currentMode, formSubject = formContent.formSubject, actions = formContent.actions, fields = formContent.fields, recordTables = formContent.recordTables, returnedFile = formContent.returnedFile, immutableData = formContent.immutableData, extraInfo = formContent.extraInfo;
3695
3541
  this.changeState(currentMode !== null && currentMode !== void 0 ? currentMode : this.formStructure.state);
3696
3542
  if (formSubject) {
@@ -3709,7 +3555,7 @@
3709
3555
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
3710
3556
  finally {
3711
3557
  try {
3712
- if (actions_1_1 && !actions_1_1.done && (_c = actions_1.return)) _c.call(actions_1);
3558
+ if (actions_1_1 && !actions_1_1.done && (_d = actions_1.return)) _d.call(actions_1);
3713
3559
  }
3714
3560
  finally { if (e_3) throw e_3.error; }
3715
3561
  }
@@ -3727,7 +3573,7 @@
3727
3573
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
3728
3574
  finally {
3729
3575
  try {
3730
- if (fields_1_1 && !fields_1_1.done && (_d = fields_1.return)) _d.call(fields_1);
3576
+ if (fields_1_1 && !fields_1_1.done && (_e = fields_1.return)) _e.call(fields_1);
3731
3577
  }
3732
3578
  finally { if (e_4) throw e_4.error; }
3733
3579
  }
@@ -3745,7 +3591,7 @@
3745
3591
  catch (e_5_1) { e_5 = { error: e_5_1 }; }
3746
3592
  finally {
3747
3593
  try {
3748
- if (recordTables_1_1 && !recordTables_1_1.done && (_e = recordTables_1.return)) _e.call(recordTables_1);
3594
+ if (recordTables_1_1 && !recordTables_1_1.done && (_f = recordTables_1.return)) _f.call(recordTables_1);
3749
3595
  }
3750
3596
  finally { if (e_5) throw e_5.error; }
3751
3597
  }
@@ -3802,8 +3648,8 @@
3802
3648
  BasicFormComponent.prototype.launchSectionActivation = function (sectionCode) {
3803
3649
  return __awaiter(this, void 0, void 0, function () {
3804
3650
  var sectionObject, clientSectionMethods, clientSectionMethods_1, clientSectionMethods_1_1, clientSectionMethod;
3805
- var e_6, _c;
3806
- return __generator(this, function (_d) {
3651
+ var e_6, _d;
3652
+ return __generator(this, function (_e) {
3807
3653
  sectionObject = this.formStructure.getSectionObject(sectionCode);
3808
3654
  if (!sectionObject) {
3809
3655
  return [2 /*return*/];
@@ -3819,7 +3665,7 @@
3819
3665
  catch (e_6_1) { e_6 = { error: e_6_1 }; }
3820
3666
  finally {
3821
3667
  try {
3822
- if (clientSectionMethods_1_1 && !clientSectionMethods_1_1.done && (_c = clientSectionMethods_1.return)) _c.call(clientSectionMethods_1);
3668
+ if (clientSectionMethods_1_1 && !clientSectionMethods_1_1.done && (_d = clientSectionMethods_1.return)) _d.call(clientSectionMethods_1);
3823
3669
  }
3824
3670
  finally { if (e_6) throw e_6.error; }
3825
3671
  }
@@ -3831,8 +3677,8 @@
3831
3677
  BasicFormComponent.prototype.launchSectionInactivation = function (sectionCode) {
3832
3678
  return __awaiter(this, void 0, void 0, function () {
3833
3679
  var sectionObject, clientSectionMethods, clientSectionMethods_2, clientSectionMethods_2_1, clientSectionMethod;
3834
- var e_7, _c;
3835
- return __generator(this, function (_d) {
3680
+ var e_7, _d;
3681
+ return __generator(this, function (_e) {
3836
3682
  sectionObject = this.formStructure.getSectionObject(sectionCode);
3837
3683
  if (!sectionObject) {
3838
3684
  return [2 /*return*/];
@@ -3848,7 +3694,7 @@
3848
3694
  catch (e_7_1) { e_7 = { error: e_7_1 }; }
3849
3695
  finally {
3850
3696
  try {
3851
- if (clientSectionMethods_2_1 && !clientSectionMethods_2_1.done && (_c = clientSectionMethods_2.return)) _c.call(clientSectionMethods_2);
3697
+ if (clientSectionMethods_2_1 && !clientSectionMethods_2_1.done && (_d = clientSectionMethods_2.return)) _d.call(clientSectionMethods_2);
3852
3698
  }
3853
3699
  finally { if (e_7) throw e_7.error; }
3854
3700
  }
@@ -3860,9 +3706,9 @@
3860
3706
  BasicFormComponent.prototype.startAction = function (actionCode) {
3861
3707
  return __awaiter(this, void 0, void 0, function () {
3862
3708
  var actionObject, clientActionMethods, clientActionPromises, clientActionMethods_1, clientActionMethods_1_1, clientActionMethod, continueActionPromise, clientActionResults, continueAction;
3863
- var e_8, _c;
3864
- return __generator(this, function (_d) {
3865
- switch (_d.label) {
3709
+ var e_8, _d;
3710
+ return __generator(this, function (_e) {
3711
+ switch (_e.label) {
3866
3712
  case 0:
3867
3713
  actionObject = this.getAction(actionCode);
3868
3714
  if (!actionObject) {
@@ -3883,19 +3729,19 @@
3883
3729
  catch (e_8_1) { e_8 = { error: e_8_1 }; }
3884
3730
  finally {
3885
3731
  try {
3886
- if (clientActionMethods_1_1 && !clientActionMethods_1_1.done && (_c = clientActionMethods_1.return)) _c.call(clientActionMethods_1);
3732
+ if (clientActionMethods_1_1 && !clientActionMethods_1_1.done && (_d = clientActionMethods_1.return)) _d.call(clientActionMethods_1);
3887
3733
  }
3888
3734
  finally { if (e_8) throw e_8.error; }
3889
3735
  }
3890
3736
  return [4 /*yield*/, Promise.all(clientActionPromises)];
3891
3737
  case 1:
3892
- clientActionResults = _d.sent();
3738
+ clientActionResults = _e.sent();
3893
3739
  continueAction = clientActionResults.reduce(function (total, curr) { return (total && curr); }, true);
3894
3740
  if (!continueAction) {
3895
3741
  actionObject.stop();
3896
3742
  return [2 /*return*/];
3897
3743
  }
3898
- _d.label = 2;
3744
+ _e.label = 2;
3899
3745
  case 2:
3900
3746
  this.startServerAction(actionObject);
3901
3747
  return [2 /*return*/];
@@ -3906,8 +3752,8 @@
3906
3752
  BasicFormComponent.prototype.startServerAction = function (actionInput) {
3907
3753
  return __awaiter(this, void 0, void 0, function () {
3908
3754
  var action, finish, actionResult;
3909
- return __generator(this, function (_c) {
3910
- switch (_c.label) {
3755
+ return __generator(this, function (_d) {
3756
+ switch (_d.label) {
3911
3757
  case 0:
3912
3758
  action = (typeof actionInput === 'string')
3913
3759
  ? this.getAction(actionInput) : actionInput;
@@ -3916,19 +3762,19 @@
3916
3762
  if (!action.backend) return [3 /*break*/, 2];
3917
3763
  return [4 /*yield*/, this.requestFormAction(action.actionCode)];
3918
3764
  case 1:
3919
- actionResult = _c.sent();
3765
+ actionResult = _d.sent();
3920
3766
  finish = !this.errorOccured();
3921
- _c.label = 2;
3767
+ _d.label = 2;
3922
3768
  case 2:
3923
3769
  if (!finish) return [3 /*break*/, 4];
3924
3770
  return [4 /*yield*/, this.finishAction(action, actionResult)];
3925
3771
  case 3:
3926
- _c.sent();
3772
+ _d.sent();
3927
3773
  this.changeState(action.newState);
3928
3774
  return [3 /*break*/, 5];
3929
3775
  case 4:
3930
3776
  this.displayActionServerError();
3931
- _c.label = 5;
3777
+ _d.label = 5;
3932
3778
  case 5:
3933
3779
  action.stop();
3934
3780
  return [2 /*return*/];
@@ -3939,9 +3785,9 @@
3939
3785
  BasicFormComponent.prototype.finishAction = function (actionObject, actionResult) {
3940
3786
  return __awaiter(this, void 0, void 0, function () {
3941
3787
  var finishActionMethods, clientActionPromises, finishActionMethods_1, finishActionMethods_1_1, clientActionMethod;
3942
- var e_9, _c;
3943
- return __generator(this, function (_d) {
3944
- switch (_d.label) {
3788
+ var e_9, _d;
3789
+ return __generator(this, function (_e) {
3790
+ switch (_e.label) {
3945
3791
  case 0:
3946
3792
  finishActionMethods = this.formActionsFinish[actionObject.actionCode];
3947
3793
  if (!finishActionMethods) return [3 /*break*/, 2];
@@ -3955,14 +3801,14 @@
3955
3801
  catch (e_9_1) { e_9 = { error: e_9_1 }; }
3956
3802
  finally {
3957
3803
  try {
3958
- if (finishActionMethods_1_1 && !finishActionMethods_1_1.done && (_c = finishActionMethods_1.return)) _c.call(finishActionMethods_1);
3804
+ if (finishActionMethods_1_1 && !finishActionMethods_1_1.done && (_d = finishActionMethods_1.return)) _d.call(finishActionMethods_1);
3959
3805
  }
3960
3806
  finally { if (e_9) throw e_9.error; }
3961
3807
  }
3962
3808
  return [4 /*yield*/, Promise.all(clientActionPromises)];
3963
3809
  case 1:
3964
- _d.sent();
3965
- _d.label = 2;
3810
+ _e.sent();
3811
+ _e.label = 2;
3966
3812
  case 2: return [2 /*return*/];
3967
3813
  }
3968
3814
  });
@@ -4007,9 +3853,9 @@
4007
3853
  BasicFormComponent.prototype.startFieldInputValidation = function (fieldCode) {
4008
3854
  return __awaiter(this, void 0, void 0, function () {
4009
3855
  var fieldToValidate, validationCallbacks, clientValidationPromises, validationCallbacks_1, validationCallbacks_1_1, validationMethod, continueValidationPromise;
4010
- var e_10, _c;
4011
- return __generator(this, function (_d) {
4012
- switch (_d.label) {
3856
+ var e_10, _d;
3857
+ return __generator(this, function (_e) {
3858
+ switch (_e.label) {
4013
3859
  case 0:
4014
3860
  fieldToValidate = this.getFieldObject(fieldCode);
4015
3861
  if (!fieldToValidate) {
@@ -4030,14 +3876,14 @@
4030
3876
  catch (e_10_1) { e_10 = { error: e_10_1 }; }
4031
3877
  finally {
4032
3878
  try {
4033
- if (validationCallbacks_1_1 && !validationCallbacks_1_1.done && (_c = validationCallbacks_1.return)) _c.call(validationCallbacks_1);
3879
+ if (validationCallbacks_1_1 && !validationCallbacks_1_1.done && (_d = validationCallbacks_1.return)) _d.call(validationCallbacks_1);
4034
3880
  }
4035
3881
  finally { if (e_10) throw e_10.error; }
4036
3882
  }
4037
3883
  return [4 /*yield*/, Promise.all(clientValidationPromises)];
4038
3884
  case 1:
4039
- _d.sent();
4040
- _d.label = 2;
3885
+ _e.sent();
3886
+ _e.label = 2;
4041
3887
  case 2: return [2 /*return*/];
4042
3888
  }
4043
3889
  });
@@ -4046,9 +3892,9 @@
4046
3892
  BasicFormComponent.prototype.startFieldValidation = function (fieldCode) {
4047
3893
  return __awaiter(this, void 0, void 0, function () {
4048
3894
  var fieldToValidate, validationCallbacks, clientValidationPromises, validationCallbacks_2, validationCallbacks_2_1, validationMethod, clientValidationPromise, clientValidationResults, continueValidation;
4049
- var e_11, _c;
4050
- return __generator(this, function (_d) {
4051
- switch (_d.label) {
3895
+ var e_11, _d;
3896
+ return __generator(this, function (_e) {
3897
+ switch (_e.label) {
4052
3898
  case 0:
4053
3899
  fieldToValidate = this.getField(fieldCode);
4054
3900
  if (!fieldToValidate) {
@@ -4069,18 +3915,18 @@
4069
3915
  catch (e_11_1) { e_11 = { error: e_11_1 }; }
4070
3916
  finally {
4071
3917
  try {
4072
- if (validationCallbacks_2_1 && !validationCallbacks_2_1.done && (_c = validationCallbacks_2.return)) _c.call(validationCallbacks_2);
3918
+ if (validationCallbacks_2_1 && !validationCallbacks_2_1.done && (_d = validationCallbacks_2.return)) _d.call(validationCallbacks_2);
4073
3919
  }
4074
3920
  finally { if (e_11) throw e_11.error; }
4075
3921
  }
4076
3922
  return [4 /*yield*/, Promise.all(clientValidationPromises)];
4077
3923
  case 1:
4078
- clientValidationResults = _d.sent();
3924
+ clientValidationResults = _e.sent();
4079
3925
  continueValidation = clientValidationResults.reduce(function (total, curr) { return (total && curr); }, true);
4080
3926
  if (!continueValidation) {
4081
3927
  return [2 /*return*/];
4082
3928
  }
4083
- _d.label = 2;
3929
+ _e.label = 2;
4084
3930
  case 2:
4085
3931
  this.startServerFieldValidation(fieldToValidate);
4086
3932
  return [2 /*return*/];
@@ -4091,8 +3937,8 @@
4091
3937
  BasicFormComponent.prototype.startServerFieldValidation = function (inputField) {
4092
3938
  return __awaiter(this, void 0, void 0, function () {
4093
3939
  var fieldObj, finish, validationResult;
4094
- return __generator(this, function (_c) {
4095
- switch (_c.label) {
3940
+ return __generator(this, function (_d) {
3941
+ switch (_d.label) {
4096
3942
  case 0:
4097
3943
  fieldObj = (typeof inputField === 'string')
4098
3944
  ? this.getField(inputField) : inputField;
@@ -4102,20 +3948,20 @@
4102
3948
  return [4 /*yield*/, this
4103
3949
  .requestFormAction(componentConstants.FORMACTION_VALIDATE, fieldObj.fieldCode)];
4104
3950
  case 1:
4105
- validationResult = _c.sent();
3951
+ validationResult = _d.sent();
4106
3952
  finish = !this.errorOccured();
4107
- _c.label = 2;
3953
+ _d.label = 2;
4108
3954
  case 2:
4109
3955
  if (!finish) return [3 /*break*/, 4];
4110
3956
  return [4 /*yield*/, this.finishFieldValidation(fieldObj, validationResult)];
4111
3957
  case 3:
4112
- _c.sent();
3958
+ _d.sent();
4113
3959
  return [3 /*break*/, 5];
4114
3960
  case 4:
4115
3961
  fieldObj.setErrorCode(this.errorCode);
4116
3962
  fieldObj.setErrorMessage(this.errorMessage);
4117
3963
  this.displayValidationServerError();
4118
- _c.label = 5;
3964
+ _d.label = 5;
4119
3965
  case 5: return [2 /*return*/];
4120
3966
  }
4121
3967
  });
@@ -4124,9 +3970,9 @@
4124
3970
  BasicFormComponent.prototype.finishFieldValidation = function (fieldObject, validationResult) {
4125
3971
  return __awaiter(this, void 0, void 0, function () {
4126
3972
  var validationCallbacks, clientActionPromises, validationCallbacks_3, validationCallbacks_3_1, validationMethod;
4127
- var e_12, _c;
4128
- return __generator(this, function (_d) {
4129
- switch (_d.label) {
3973
+ var e_12, _d;
3974
+ return __generator(this, function (_e) {
3975
+ switch (_e.label) {
4130
3976
  case 0:
4131
3977
  validationCallbacks = this.fieldValidationsFinish[fieldObject.fieldCode];
4132
3978
  if (!validationCallbacks) return [3 /*break*/, 2];
@@ -4140,14 +3986,14 @@
4140
3986
  catch (e_12_1) { e_12 = { error: e_12_1 }; }
4141
3987
  finally {
4142
3988
  try {
4143
- if (validationCallbacks_3_1 && !validationCallbacks_3_1.done && (_c = validationCallbacks_3.return)) _c.call(validationCallbacks_3);
3989
+ if (validationCallbacks_3_1 && !validationCallbacks_3_1.done && (_d = validationCallbacks_3.return)) _d.call(validationCallbacks_3);
4144
3990
  }
4145
3991
  finally { if (e_12) throw e_12.error; }
4146
3992
  }
4147
3993
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4148
3994
  case 1:
4149
- _d.sent();
4150
- _d.label = 2;
3995
+ _e.sent();
3996
+ _e.label = 2;
4151
3997
  case 2: return [2 /*return*/];
4152
3998
  }
4153
3999
  });
@@ -4155,7 +4001,7 @@
4155
4001
  };
4156
4002
  BasicFormComponent.prototype.continueFieldValidation = function (fieldCode) {
4157
4003
  return __awaiter(this, void 0, void 0, function () {
4158
- return __generator(this, function (_c) {
4004
+ return __generator(this, function (_d) {
4159
4005
  return [2 /*return*/, this.startServerFieldValidation(fieldCode)];
4160
4006
  });
4161
4007
  });
@@ -4270,9 +4116,9 @@
4270
4116
  BasicFormComponent.prototype.startTableGlobalAction = function (tableActionEvent) {
4271
4117
  return __awaiter(this, void 0, void 0, function () {
4272
4118
  var tableCode, actionCode, tableObject, action, tableActionDetail, tableEventHandlers, tableActionMethods, clientActionPromises, tableActionMethods_1, tableActionMethods_1_1, tableActionMethod, clientActionPromise, clientActionResults, continueAction;
4273
- var e_13, _c;
4274
- return __generator(this, function (_d) {
4275
- switch (_d.label) {
4119
+ var e_13, _d;
4120
+ return __generator(this, function (_e) {
4121
+ switch (_e.label) {
4276
4122
  case 0:
4277
4123
  tableCode = tableActionEvent.tableCode, actionCode = tableActionEvent.actionCode;
4278
4124
  tableObject = this.getTable(tableCode);
@@ -4304,18 +4150,18 @@
4304
4150
  catch (e_13_1) { e_13 = { error: e_13_1 }; }
4305
4151
  finally {
4306
4152
  try {
4307
- if (tableActionMethods_1_1 && !tableActionMethods_1_1.done && (_c = tableActionMethods_1.return)) _c.call(tableActionMethods_1);
4153
+ if (tableActionMethods_1_1 && !tableActionMethods_1_1.done && (_d = tableActionMethods_1.return)) _d.call(tableActionMethods_1);
4308
4154
  }
4309
4155
  finally { if (e_13) throw e_13.error; }
4310
4156
  }
4311
4157
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4312
4158
  case 1:
4313
- clientActionResults = _d.sent();
4159
+ clientActionResults = _e.sent();
4314
4160
  continueAction = clientActionResults.reduce(function (total, curr) { return (total && curr); }, true);
4315
4161
  if (!continueAction) {
4316
4162
  return [2 /*return*/];
4317
4163
  }
4318
- _d.label = 2;
4164
+ _e.label = 2;
4319
4165
  case 2:
4320
4166
  this.startTableServerGlobalAction(tableActionDetail);
4321
4167
  return [2 /*return*/];
@@ -4326,8 +4172,8 @@
4326
4172
  BasicFormComponent.prototype.startTableServerGlobalAction = function (tableActionDetail) {
4327
4173
  return __awaiter(this, void 0, void 0, function () {
4328
4174
  var tableObject, action, tableCode, actionCode, finish, actionResult, actionSubject;
4329
- return __generator(this, function (_c) {
4330
- switch (_c.label) {
4175
+ return __generator(this, function (_d) {
4176
+ switch (_d.label) {
4331
4177
  case 0:
4332
4178
  tableObject = tableActionDetail.tableObject, action = tableActionDetail.action, tableCode = tableActionDetail.tableCode, actionCode = tableActionDetail.actionCode;
4333
4179
  if (!tableObject || !action) {
@@ -4345,19 +4191,19 @@
4345
4191
  return [4 /*yield*/, this
4346
4192
  .requestFormAction(componentConstants.FORMACTION_TABLEACTION, actionSubject)];
4347
4193
  case 1:
4348
- actionResult = _c.sent();
4194
+ actionResult = _d.sent();
4349
4195
  finish = !this.errorOccured();
4350
- _c.label = 2;
4196
+ _d.label = 2;
4351
4197
  case 2:
4352
4198
  if (!finish) return [3 /*break*/, 4];
4353
4199
  return [4 /*yield*/, this.finishTableGlobalAction(tableActionDetail, actionResult)];
4354
4200
  case 3:
4355
- _c.sent();
4201
+ _d.sent();
4356
4202
  this.changeState(action.newState);
4357
4203
  return [3 /*break*/, 5];
4358
4204
  case 4:
4359
4205
  this.displayTableServerError();
4360
- _c.label = 5;
4206
+ _d.label = 5;
4361
4207
  case 5:
4362
4208
  tableObject.freeWaiting();
4363
4209
  return [2 /*return*/];
@@ -4368,9 +4214,9 @@
4368
4214
  BasicFormComponent.prototype.finishTableGlobalAction = function (tableActionDetail, actionResult) {
4369
4215
  return __awaiter(this, void 0, void 0, function () {
4370
4216
  var tableCode, actionCode, tableEventHandlers, tableActionMethods, clientActionPromises, tableActionMethods_2, tableActionMethods_2_1, tableActionMethod;
4371
- var e_14, _c;
4372
- return __generator(this, function (_d) {
4373
- switch (_d.label) {
4217
+ var e_14, _d;
4218
+ return __generator(this, function (_e) {
4219
+ switch (_e.label) {
4374
4220
  case 0:
4375
4221
  tableCode = tableActionDetail.tableCode, actionCode = tableActionDetail.actionCode;
4376
4222
  tableEventHandlers = this.tableActionsFinish[tableCode];
@@ -4386,14 +4232,14 @@
4386
4232
  catch (e_14_1) { e_14 = { error: e_14_1 }; }
4387
4233
  finally {
4388
4234
  try {
4389
- if (tableActionMethods_2_1 && !tableActionMethods_2_1.done && (_c = tableActionMethods_2.return)) _c.call(tableActionMethods_2);
4235
+ if (tableActionMethods_2_1 && !tableActionMethods_2_1.done && (_d = tableActionMethods_2.return)) _d.call(tableActionMethods_2);
4390
4236
  }
4391
4237
  finally { if (e_14) throw e_14.error; }
4392
4238
  }
4393
4239
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4394
4240
  case 1:
4395
- _d.sent();
4396
- _d.label = 2;
4241
+ _e.sent();
4242
+ _e.label = 2;
4397
4243
  case 2: return [2 /*return*/];
4398
4244
  }
4399
4245
  });
@@ -4402,9 +4248,9 @@
4402
4248
  BasicFormComponent.prototype.startTableAction = function (tableActionEvent) {
4403
4249
  return __awaiter(this, void 0, void 0, function () {
4404
4250
  var tableCode, actionCode, actionDetail, tableObject, recordId, recordData, action, tableActionDetail, tableEventHandlers, tableActionMethods, clientActionPromises, tableActionMethods_3, tableActionMethods_3_1, tableActionMethod, clientActionPromise, clientActionResults, continueAction;
4405
- var e_15, _c;
4406
- return __generator(this, function (_d) {
4407
- switch (_d.label) {
4251
+ var e_15, _d;
4252
+ return __generator(this, function (_e) {
4253
+ switch (_e.label) {
4408
4254
  case 0:
4409
4255
  tableCode = tableActionEvent.tableCode, actionCode = tableActionEvent.actionCode, actionDetail = tableActionEvent.actionDetail;
4410
4256
  tableObject = this.getTable(tableCode);
@@ -4439,18 +4285,18 @@
4439
4285
  catch (e_15_1) { e_15 = { error: e_15_1 }; }
4440
4286
  finally {
4441
4287
  try {
4442
- if (tableActionMethods_3_1 && !tableActionMethods_3_1.done && (_c = tableActionMethods_3.return)) _c.call(tableActionMethods_3);
4288
+ if (tableActionMethods_3_1 && !tableActionMethods_3_1.done && (_d = tableActionMethods_3.return)) _d.call(tableActionMethods_3);
4443
4289
  }
4444
4290
  finally { if (e_15) throw e_15.error; }
4445
4291
  }
4446
4292
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4447
4293
  case 1:
4448
- clientActionResults = _d.sent();
4294
+ clientActionResults = _e.sent();
4449
4295
  continueAction = clientActionResults.reduce(function (total, curr) { return (total && curr); }, true);
4450
4296
  if (!continueAction) {
4451
4297
  return [2 /*return*/];
4452
4298
  }
4453
- _d.label = 2;
4299
+ _e.label = 2;
4454
4300
  case 2:
4455
4301
  this.startTableServerAction(tableActionDetail);
4456
4302
  return [2 /*return*/];
@@ -4461,8 +4307,8 @@
4461
4307
  BasicFormComponent.prototype.startTableServerAction = function (tableActionDetail) {
4462
4308
  return __awaiter(this, void 0, void 0, function () {
4463
4309
  var tableObject, action, tableCode, actionCode, recordId, recordData, finish, actionResult, actionSubject;
4464
- return __generator(this, function (_c) {
4465
- switch (_c.label) {
4310
+ return __generator(this, function (_d) {
4311
+ switch (_d.label) {
4466
4312
  case 0:
4467
4313
  tableObject = tableActionDetail.tableObject, action = tableActionDetail.action, tableCode = tableActionDetail.tableCode, actionCode = tableActionDetail.actionCode, recordId = tableActionDetail.recordId, recordData = tableActionDetail.recordData;
4468
4314
  if (!tableObject || !action) {
@@ -4482,9 +4328,9 @@
4482
4328
  return [4 /*yield*/, this
4483
4329
  .requestFormAction(componentConstants.FORMACTION_TABLEACTION, actionSubject)];
4484
4330
  case 1:
4485
- actionResult = _c.sent();
4331
+ actionResult = _d.sent();
4486
4332
  finish = !this.errorOccured();
4487
- _c.label = 2;
4333
+ _d.label = 2;
4488
4334
  case 2:
4489
4335
  if (finish) {
4490
4336
  this.finishTableAction(tableActionDetail, actionResult);
@@ -4505,9 +4351,9 @@
4505
4351
  BasicFormComponent.prototype.finishTableAction = function (tableActionDetail, actionResult) {
4506
4352
  return __awaiter(this, void 0, void 0, function () {
4507
4353
  var tableCode, actionCode, tableEventHandlers, tableActionMethods, clientActionPromises, tableActionMethods_4, tableActionMethods_4_1, tableActionMethod;
4508
- var e_16, _c;
4509
- return __generator(this, function (_d) {
4510
- switch (_d.label) {
4354
+ var e_16, _d;
4355
+ return __generator(this, function (_e) {
4356
+ switch (_e.label) {
4511
4357
  case 0:
4512
4358
  tableCode = tableActionDetail.tableCode, actionCode = tableActionDetail.actionCode;
4513
4359
  tableEventHandlers = this.tableActionsFinish[tableCode];
@@ -4523,14 +4369,14 @@
4523
4369
  catch (e_16_1) { e_16 = { error: e_16_1 }; }
4524
4370
  finally {
4525
4371
  try {
4526
- if (tableActionMethods_4_1 && !tableActionMethods_4_1.done && (_c = tableActionMethods_4.return)) _c.call(tableActionMethods_4);
4372
+ if (tableActionMethods_4_1 && !tableActionMethods_4_1.done && (_d = tableActionMethods_4.return)) _d.call(tableActionMethods_4);
4527
4373
  }
4528
4374
  finally { if (e_16) throw e_16.error; }
4529
4375
  }
4530
4376
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4531
4377
  case 1:
4532
- _d.sent();
4533
- _d.label = 2;
4378
+ _e.sent();
4379
+ _e.label = 2;
4534
4380
  case 2: return [2 /*return*/];
4535
4381
  }
4536
4382
  });
@@ -4539,9 +4385,9 @@
4539
4385
  BasicFormComponent.prototype.startTableRecordSelection = function (tableActionEvent) {
4540
4386
  return __awaiter(this, void 0, void 0, function () {
4541
4387
  var tableCode, actionDetail, tableObject, recordId, recordData, tableSelectionDetail, tableEventHandlers, clientActionPromises, tableEventHandlers_1, tableEventHandlers_1_1, tableSelectionMethod, clientActionPromise, clientActionResults, continueAction;
4542
- var e_17, _c;
4543
- return __generator(this, function (_d) {
4544
- switch (_d.label) {
4388
+ var e_17, _d;
4389
+ return __generator(this, function (_e) {
4390
+ switch (_e.label) {
4545
4391
  case 0:
4546
4392
  tableCode = tableActionEvent.tableCode, actionDetail = tableActionEvent.actionDetail;
4547
4393
  tableObject = this.getTable(tableCode);
@@ -4569,18 +4415,18 @@
4569
4415
  catch (e_17_1) { e_17 = { error: e_17_1 }; }
4570
4416
  finally {
4571
4417
  try {
4572
- if (tableEventHandlers_1_1 && !tableEventHandlers_1_1.done && (_c = tableEventHandlers_1.return)) _c.call(tableEventHandlers_1);
4418
+ if (tableEventHandlers_1_1 && !tableEventHandlers_1_1.done && (_d = tableEventHandlers_1.return)) _d.call(tableEventHandlers_1);
4573
4419
  }
4574
4420
  finally { if (e_17) throw e_17.error; }
4575
4421
  }
4576
4422
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4577
4423
  case 1:
4578
- clientActionResults = _d.sent();
4424
+ clientActionResults = _e.sent();
4579
4425
  continueAction = clientActionResults.reduce(function (total, curr) { return (total && curr); }, true);
4580
4426
  if (!continueAction) {
4581
4427
  return [2 /*return*/];
4582
4428
  }
4583
- _d.label = 2;
4429
+ _e.label = 2;
4584
4430
  case 2:
4585
4431
  this.startTableServerRecordSelection(tableSelectionDetail);
4586
4432
  return [2 /*return*/];
@@ -4591,8 +4437,8 @@
4591
4437
  BasicFormComponent.prototype.startTableServerRecordSelection = function (tableSelectionDetail) {
4592
4438
  return __awaiter(this, void 0, void 0, function () {
4593
4439
  var tableObject, tableCode, recordId, recordData, finish, actionResult, actionSubject;
4594
- return __generator(this, function (_c) {
4595
- switch (_c.label) {
4440
+ return __generator(this, function (_d) {
4441
+ switch (_d.label) {
4596
4442
  case 0:
4597
4443
  tableObject = tableSelectionDetail.tableObject, tableCode = tableSelectionDetail.tableCode, recordId = tableSelectionDetail.recordId, recordData = tableSelectionDetail.recordData;
4598
4444
  if (!tableObject) {
@@ -4612,9 +4458,9 @@
4612
4458
  return [4 /*yield*/, this
4613
4459
  .requestFormAction(componentConstants.FORMACTION_TABLEACTION, actionSubject)];
4614
4460
  case 1:
4615
- actionResult = _c.sent();
4461
+ actionResult = _d.sent();
4616
4462
  finish = !this.errorOccured();
4617
- _c.label = 2;
4463
+ _d.label = 2;
4618
4464
  case 2:
4619
4465
  if (finish) {
4620
4466
  this.finishTableRecordSelection(tableSelectionDetail, actionResult);
@@ -4631,9 +4477,9 @@
4631
4477
  BasicFormComponent.prototype.finishTableRecordSelection = function (tableSelectionDetail, actionResult) {
4632
4478
  return __awaiter(this, void 0, void 0, function () {
4633
4479
  var tableCode, tableEventHandlers, clientActionPromises, tableEventHandlers_2, tableEventHandlers_2_1, tableSelectionMethod;
4634
- var e_18, _c;
4635
- return __generator(this, function (_d) {
4636
- switch (_d.label) {
4480
+ var e_18, _d;
4481
+ return __generator(this, function (_e) {
4482
+ switch (_e.label) {
4637
4483
  case 0:
4638
4484
  tableCode = tableSelectionDetail.tableCode;
4639
4485
  tableEventHandlers = this.tableSelectionsFinish[tableCode];
@@ -4648,14 +4494,14 @@
4648
4494
  catch (e_18_1) { e_18 = { error: e_18_1 }; }
4649
4495
  finally {
4650
4496
  try {
4651
- if (tableEventHandlers_2_1 && !tableEventHandlers_2_1.done && (_c = tableEventHandlers_2.return)) _c.call(tableEventHandlers_2);
4497
+ if (tableEventHandlers_2_1 && !tableEventHandlers_2_1.done && (_d = tableEventHandlers_2.return)) _d.call(tableEventHandlers_2);
4652
4498
  }
4653
4499
  finally { if (e_18) throw e_18.error; }
4654
4500
  }
4655
4501
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4656
4502
  case 1:
4657
- _d.sent();
4658
- _d.label = 2;
4503
+ _e.sent();
4504
+ _e.label = 2;
4659
4505
  case 2: return [2 /*return*/];
4660
4506
  }
4661
4507
  });
@@ -4664,9 +4510,9 @@
4664
4510
  BasicFormComponent.prototype.startTableSelectionAction = function (tableActionEvent) {
4665
4511
  return __awaiter(this, void 0, void 0, function () {
4666
4512
  var tableCode, actionCode, actionDetail, tableObject, selectedRecords, action, tableActionDetail, tableEventHandlers, tableActionMethods, clientActionPromises, tableActionMethods_5, tableActionMethods_5_1, tableActionMethod, clientActionPromise, clientActionResults, continueAction;
4667
- var e_19, _c;
4668
- return __generator(this, function (_d) {
4669
- switch (_d.label) {
4513
+ var e_19, _d;
4514
+ return __generator(this, function (_e) {
4515
+ switch (_e.label) {
4670
4516
  case 0:
4671
4517
  tableCode = tableActionEvent.tableCode, actionCode = tableActionEvent.actionCode, actionDetail = tableActionEvent.actionDetail;
4672
4518
  tableObject = this.getTable(tableCode);
@@ -4700,18 +4546,18 @@
4700
4546
  catch (e_19_1) { e_19 = { error: e_19_1 }; }
4701
4547
  finally {
4702
4548
  try {
4703
- if (tableActionMethods_5_1 && !tableActionMethods_5_1.done && (_c = tableActionMethods_5.return)) _c.call(tableActionMethods_5);
4549
+ if (tableActionMethods_5_1 && !tableActionMethods_5_1.done && (_d = tableActionMethods_5.return)) _d.call(tableActionMethods_5);
4704
4550
  }
4705
4551
  finally { if (e_19) throw e_19.error; }
4706
4552
  }
4707
4553
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4708
4554
  case 1:
4709
- clientActionResults = _d.sent();
4555
+ clientActionResults = _e.sent();
4710
4556
  continueAction = clientActionResults.reduce(function (total, curr) { return (total && curr); }, true);
4711
4557
  if (!continueAction) {
4712
4558
  return [2 /*return*/];
4713
4559
  }
4714
- _d.label = 2;
4560
+ _e.label = 2;
4715
4561
  case 2:
4716
4562
  this.startTableServerSelectionAction(tableActionDetail);
4717
4563
  return [2 /*return*/];
@@ -4722,8 +4568,8 @@
4722
4568
  BasicFormComponent.prototype.startTableServerSelectionAction = function (tableActionDetail) {
4723
4569
  return __awaiter(this, void 0, void 0, function () {
4724
4570
  var tableObject, action, tableCode, actionCode, selectedRecords, finish, actionResult, actionSubject;
4725
- return __generator(this, function (_c) {
4726
- switch (_c.label) {
4571
+ return __generator(this, function (_d) {
4572
+ switch (_d.label) {
4727
4573
  case 0:
4728
4574
  tableObject = tableActionDetail.tableObject, action = tableActionDetail.action, tableCode = tableActionDetail.tableCode, actionCode = tableActionDetail.actionCode, selectedRecords = tableActionDetail.selectedRecords;
4729
4575
  if (!tableObject || !action) {
@@ -4742,9 +4588,9 @@
4742
4588
  return [4 /*yield*/, this
4743
4589
  .requestFormAction(componentConstants.FORMACTION_TABLEACTION, actionSubject)];
4744
4590
  case 1:
4745
- actionResult = _c.sent();
4591
+ actionResult = _d.sent();
4746
4592
  finish = !this.errorOccured();
4747
- _c.label = 2;
4593
+ _d.label = 2;
4748
4594
  case 2:
4749
4595
  if (finish) {
4750
4596
  this.finishTableSelectionAction(tableActionDetail, actionResult);
@@ -4762,9 +4608,9 @@
4762
4608
  BasicFormComponent.prototype.finishTableSelectionAction = function (tableActionDetail, actionResult) {
4763
4609
  return __awaiter(this, void 0, void 0, function () {
4764
4610
  var tableCode, actionCode, tableEventHandlers, tableActionMethods, clientActionPromises, tableActionMethods_6, tableActionMethods_6_1, tableActionMethod;
4765
- var e_20, _c;
4766
- return __generator(this, function (_d) {
4767
- switch (_d.label) {
4611
+ var e_20, _d;
4612
+ return __generator(this, function (_e) {
4613
+ switch (_e.label) {
4768
4614
  case 0:
4769
4615
  tableCode = tableActionDetail.tableCode, actionCode = tableActionDetail.actionCode;
4770
4616
  tableEventHandlers = this.tableActionsFinish[tableCode];
@@ -4780,14 +4626,14 @@
4780
4626
  catch (e_20_1) { e_20 = { error: e_20_1 }; }
4781
4627
  finally {
4782
4628
  try {
4783
- if (tableActionMethods_6_1 && !tableActionMethods_6_1.done && (_c = tableActionMethods_6.return)) _c.call(tableActionMethods_6);
4629
+ if (tableActionMethods_6_1 && !tableActionMethods_6_1.done && (_d = tableActionMethods_6.return)) _d.call(tableActionMethods_6);
4784
4630
  }
4785
4631
  finally { if (e_20) throw e_20.error; }
4786
4632
  }
4787
4633
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4788
4634
  case 1:
4789
- _d.sent();
4790
- _d.label = 2;
4635
+ _e.sent();
4636
+ _e.label = 2;
4791
4637
  case 2: return [2 /*return*/];
4792
4638
  }
4793
4639
  });
@@ -4796,9 +4642,9 @@
4796
4642
  BasicFormComponent.prototype.startTableGetData = function (tableActionEvent) {
4797
4643
  return __awaiter(this, void 0, void 0, function () {
4798
4644
  var tableCode, tableObject, tableActionDetail, tableEventHandlers, clientActionPromises, tableEventHandlers_3, tableEventHandlers_3_1, tableActionMethod, clientActionPromise, clientActionResults, continueAction;
4799
- var e_21, _c;
4800
- return __generator(this, function (_d) {
4801
- switch (_d.label) {
4645
+ var e_21, _d;
4646
+ return __generator(this, function (_e) {
4647
+ switch (_e.label) {
4802
4648
  case 0:
4803
4649
  tableCode = tableActionEvent.tableCode;
4804
4650
  tableObject = this.getTable(tableCode);
@@ -4820,18 +4666,18 @@
4820
4666
  catch (e_21_1) { e_21 = { error: e_21_1 }; }
4821
4667
  finally {
4822
4668
  try {
4823
- if (tableEventHandlers_3_1 && !tableEventHandlers_3_1.done && (_c = tableEventHandlers_3.return)) _c.call(tableEventHandlers_3);
4669
+ if (tableEventHandlers_3_1 && !tableEventHandlers_3_1.done && (_d = tableEventHandlers_3.return)) _d.call(tableEventHandlers_3);
4824
4670
  }
4825
4671
  finally { if (e_21) throw e_21.error; }
4826
4672
  }
4827
4673
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4828
4674
  case 1:
4829
- clientActionResults = _d.sent();
4675
+ clientActionResults = _e.sent();
4830
4676
  continueAction = clientActionResults.reduce(function (total, curr) { return (total && curr); }, true);
4831
4677
  if (!continueAction) {
4832
4678
  return [2 /*return*/];
4833
4679
  }
4834
- _d.label = 2;
4680
+ _e.label = 2;
4835
4681
  case 2:
4836
4682
  this.startTableServerGetData(tableActionDetail);
4837
4683
  return [2 /*return*/];
@@ -4842,8 +4688,8 @@
4842
4688
  BasicFormComponent.prototype.startTableServerGetData = function (tableActionDetail) {
4843
4689
  return __awaiter(this, void 0, void 0, function () {
4844
4690
  var tableObject, tableCode, actionSubject, actionResult;
4845
- return __generator(this, function (_c) {
4846
- switch (_c.label) {
4691
+ return __generator(this, function (_d) {
4692
+ switch (_d.label) {
4847
4693
  case 0:
4848
4694
  tableObject = tableActionDetail.tableObject, tableCode = tableActionDetail.tableCode;
4849
4695
  tableObject.putOnWait();
@@ -4851,7 +4697,7 @@
4851
4697
  return [4 /*yield*/, this
4852
4698
  .requestFormAction(componentConstants.FORMACTION_GETTABLEDATA, actionSubject)];
4853
4699
  case 1:
4854
- actionResult = _c.sent();
4700
+ actionResult = _d.sent();
4855
4701
  if (this.errorOccured()) {
4856
4702
  this.displayTableServerError();
4857
4703
  }
@@ -4867,9 +4713,9 @@
4867
4713
  BasicFormComponent.prototype.finishTableGetData = function (tableActionDetail, actionResult) {
4868
4714
  return __awaiter(this, void 0, void 0, function () {
4869
4715
  var tableCode, tableActionCode, tableEventHandlers, tableActionMethods, clientActionPromises, tableActionMethods_7, tableActionMethods_7_1, tableActionMethod;
4870
- var e_22, _c;
4871
- return __generator(this, function (_d) {
4872
- switch (_d.label) {
4716
+ var e_22, _d;
4717
+ return __generator(this, function (_e) {
4718
+ switch (_e.label) {
4873
4719
  case 0:
4874
4720
  tableCode = tableActionDetail.tableCode, tableActionCode = tableActionDetail.tableActionCode;
4875
4721
  tableEventHandlers = this.tableActionsFinish[tableCode];
@@ -4885,14 +4731,14 @@
4885
4731
  catch (e_22_1) { e_22 = { error: e_22_1 }; }
4886
4732
  finally {
4887
4733
  try {
4888
- if (tableActionMethods_7_1 && !tableActionMethods_7_1.done && (_c = tableActionMethods_7.return)) _c.call(tableActionMethods_7);
4734
+ if (tableActionMethods_7_1 && !tableActionMethods_7_1.done && (_d = tableActionMethods_7.return)) _d.call(tableActionMethods_7);
4889
4735
  }
4890
4736
  finally { if (e_22) throw e_22.error; }
4891
4737
  }
4892
4738
  return [4 /*yield*/, Promise.all(clientActionPromises)];
4893
4739
  case 1:
4894
- _d.sent();
4895
- _d.label = 2;
4740
+ _e.sent();
4741
+ _e.label = 2;
4896
4742
  case 2: return [2 /*return*/];
4897
4743
  }
4898
4744
  });
@@ -4905,7 +4751,7 @@
4905
4751
  return (numErrors === 0);
4906
4752
  };
4907
4753
  BasicFormComponent.prototype.validateSectionConsistency = function (sectionCode, reqFieldMessage) {
4908
- var e_23, _c, e_24, _d;
4754
+ var e_23, _d, e_24, _e;
4909
4755
  this.resetError();
4910
4756
  var completeFields = this.checkSectionRequiredFields(sectionCode, reqFieldMessage);
4911
4757
  if (!completeFields) {
@@ -4932,7 +4778,7 @@
4932
4778
  catch (e_23_1) { e_23 = { error: e_23_1 }; }
4933
4779
  finally {
4934
4780
  try {
4935
- if (requiredEmptyFields_1_1 && !requiredEmptyFields_1_1.done && (_c = requiredEmptyFields_1.return)) _c.call(requiredEmptyFields_1);
4781
+ if (requiredEmptyFields_1_1 && !requiredEmptyFields_1_1.done && (_d = requiredEmptyFields_1.return)) _d.call(requiredEmptyFields_1);
4936
4782
  }
4937
4783
  finally { if (e_23) throw e_23.error; }
4938
4784
  }
@@ -4955,7 +4801,7 @@
4955
4801
  catch (e_24_1) { e_24 = { error: e_24_1 }; }
4956
4802
  finally {
4957
4803
  try {
4958
- if (validationIssueFields_1_1 && !validationIssueFields_1_1.done && (_d = validationIssueFields_1.return)) _d.call(validationIssueFields_1);
4804
+ if (validationIssueFields_1_1 && !validationIssueFields_1_1.done && (_e = validationIssueFields_1.return)) _e.call(validationIssueFields_1);
4959
4805
  }
4960
4806
  finally { if (e_24) throw e_24.error; }
4961
4807
  }
@@ -4963,7 +4809,7 @@
4963
4809
  return validationError;
4964
4810
  };
4965
4811
  BasicFormComponent.prototype.copyTableRecordToFields = function (tableObj, mappingTable) {
4966
- var e_25, _c;
4812
+ var e_25, _d;
4967
4813
  if (mappingTable === void 0) { mappingTable = null; }
4968
4814
  var _a, _b;
4969
4815
  var tableObject = this.getTable(tableObj.tableCode);
@@ -4980,7 +4826,7 @@
4980
4826
  catch (e_25_1) { e_25 = { error: e_25_1 }; }
4981
4827
  finally {
4982
4828
  try {
4983
- if (columnNames_1_1 && !columnNames_1_1.done && (_c = columnNames_1.return)) _c.call(columnNames_1);
4829
+ if (columnNames_1_1 && !columnNames_1_1.done && (_d = columnNames_1.return)) _d.call(columnNames_1);
4984
4830
  }
4985
4831
  finally { if (e_25) throw e_25.error; }
4986
4832
  }
@@ -4990,7 +4836,7 @@
4990
4836
  * Soporte registros en tablas que se editan en campos del formulario
4991
4837
  */
4992
4838
  BasicFormComponent.prototype.defineEditionTable = function (tableEditionDef) {
4993
- var e_26, _c;
4839
+ var e_26, _d;
4994
4840
  var _this = this;
4995
4841
  var columnFieldMapping = tableEditionDef.columnFieldMapping, recordCaptureFields = tableEditionDef.recordCaptureFields, startCollapsed = tableEditionDef.startCollapsed;
4996
4842
  tableEditionDef.startCollapsed = (typeof startCollapsed !== 'undefined')
@@ -5000,7 +4846,7 @@
5000
4846
  try {
5001
4847
  for (var columnFieldMapping_1 = __values(columnFieldMapping), columnFieldMapping_1_1 = columnFieldMapping_1.next(); !columnFieldMapping_1_1.done; columnFieldMapping_1_1 = columnFieldMapping_1.next()) {
5002
4848
  var columnMap = columnFieldMapping_1_1.value;
5003
- var _d = __read(columnMap, 2), columnName = _d[0], formField = _d[1];
4849
+ var _e = __read(columnMap, 2), columnName = _e[0], formField = _e[1];
5004
4850
  fieldsMappingTable[columnName] = formField;
5005
4851
  fieldsToClear.push(formField);
5006
4852
  }
@@ -5008,7 +4854,7 @@
5008
4854
  catch (e_26_1) { e_26 = { error: e_26_1 }; }
5009
4855
  finally {
5010
4856
  try {
5011
- if (columnFieldMapping_1_1 && !columnFieldMapping_1_1.done && (_c = columnFieldMapping_1.return)) _c.call(columnFieldMapping_1);
4857
+ if (columnFieldMapping_1_1 && !columnFieldMapping_1_1.done && (_d = columnFieldMapping_1.return)) _d.call(columnFieldMapping_1);
5012
4858
  }
5013
4859
  finally { if (e_26) throw e_26.error; }
5014
4860
  }
@@ -5061,7 +4907,7 @@
5061
4907
  }
5062
4908
  };
5063
4909
  BasicFormComponent.prototype.enableRecordEdition = function (tableEditionDef, tableActionObject) {
5064
- var e_27, _c;
4910
+ var e_27, _d;
5065
4911
  if (tableActionObject === void 0) { tableActionObject = null; }
5066
4912
  if (tableActionObject) {
5067
4913
  this.copyTableRecordToFields(tableActionObject, tableEditionDef.fieldsMappingTable);
@@ -5073,15 +4919,15 @@
5073
4919
  if (tableEditionDef.fieldsToTriggerValidation
5074
4920
  && tableEditionDef.fieldsToTriggerValidation.length > 0) {
5075
4921
  try {
5076
- for (var _d = __values(tableEditionDef.fieldsToTriggerValidation), _e = _d.next(); !_e.done; _e = _d.next()) {
5077
- var fieldName = _e.value;
4922
+ for (var _e = __values(tableEditionDef.fieldsToTriggerValidation), _f = _e.next(); !_f.done; _f = _e.next()) {
4923
+ var fieldName = _f.value;
5078
4924
  this.startFieldValidation(fieldName);
5079
4925
  }
5080
4926
  }
5081
4927
  catch (e_27_1) { e_27 = { error: e_27_1 }; }
5082
4928
  finally {
5083
4929
  try {
5084
- if (_e && !_e.done && (_c = _d.return)) _c.call(_d);
4930
+ if (_f && !_f.done && (_d = _e.return)) _d.call(_e);
5085
4931
  }
5086
4932
  finally { if (e_27) throw e_27.error; }
5087
4933
  }
@@ -5121,6 +4967,7 @@
5121
4967
  ];
5122
4968
  BasicFormComponent.ctorParameters = function () { return [
5123
4969
  { type: LibFormManagerService },
4970
+ { type: LibEventManagerService },
5124
4971
  { type: LibFileManagementService }
5125
4972
  ]; };
5126
4973
 
@@ -5128,7 +4975,6 @@
5128
4975
  BasicFormComponent,
5129
4976
  ActionComponent,
5130
4977
  FieldComponent,
5131
- PasswordComponent,
5132
4978
  ElementComponent,
5133
4979
  FormErrorComponent,
5134
4980
  FormHeaderComponent,
@@ -5166,18 +5012,16 @@
5166
5012
  exports.FieldComponent = FieldComponent;
5167
5013
  exports.FormErrorComponent = FormErrorComponent;
5168
5014
  exports.FormHeaderComponent = FormHeaderComponent;
5169
- exports.IconDictionaryService = IconDictionaryService;
5015
+ exports.LibEventManagerService = LibEventManagerService;
5170
5016
  exports.LibFileManagementService = LibFileManagementService;
5171
5017
  exports.LibFormManagerService = LibFormManagerService;
5172
5018
  exports.LibTableComponent = LibTableComponent;
5173
5019
  exports.LibTableFilterComponent = LibTableFilterComponent;
5174
5020
  exports.LibTableRecordActionComponent = LibTableRecordActionComponent;
5175
5021
  exports.LibTableRecordFieldComponent = LibTableRecordFieldComponent;
5176
- exports.PasswordComponent = PasswordComponent;
5177
5022
  exports.SectionComponent = SectionComponent;
5178
5023
  exports.SubSectionComponent = SubSectionComponent;
5179
5024
  exports.TuainNgFormsLibModule = TuainNgFormsLibModule;
5180
- exports.iconDictionary = iconDictionary;
5181
5025
 
5182
5026
  Object.defineProperty(exports, '__esModule', { value: true });
5183
5027