@hmcts/ccd-case-ui-toolkit 4.10.0-rc.2 → 4.10.0-rc.3

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 (44) hide show
  1. package/dist/case-ui-toolkit.module.js +0 -1
  2. package/dist/case-ui-toolkit.module.js.map +1 -1
  3. package/dist/case-ui-toolkit.module.metadata.json +1 -1
  4. package/dist/index.d.ts +1 -1
  5. package/dist/index.js +0 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.metadata.json +1 -1
  8. package/dist/index.umd.js +98 -264
  9. package/dist/index.umd.js.map +1 -1
  10. package/dist/index.umd.min.js +1 -1
  11. package/dist/index.umd.min.js.LICENSE.txt +1 -1
  12. package/dist/index.umd.min.js.map +1 -1
  13. package/dist/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.d.ts +7 -0
  14. package/dist/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.js +48 -0
  15. package/dist/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.js.map +1 -0
  16. package/dist/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.metadata.json +1 -0
  17. package/dist/shared/components/palette/complex/complex.module.js +5 -2
  18. package/dist/shared/components/palette/complex/complex.module.js.map +1 -1
  19. package/dist/shared/components/palette/complex/complex.module.metadata.json +1 -1
  20. package/dist/shared/components/palette/complex/read-complex-field-collection-table.component.d.ts +5 -4
  21. package/dist/shared/components/palette/complex/read-complex-field-collection-table.component.js +24 -13
  22. package/dist/shared/components/palette/complex/read-complex-field-collection-table.component.js.map +1 -1
  23. package/dist/shared/components/palette/complex/read-complex-field-collection-table.component.metadata.json +1 -1
  24. package/dist/shared/components/palette/money-gbp/money-gbp-input.component.js +1 -1
  25. package/dist/shared/components/palette/money-gbp/money-gbp-input.component.js.map +1 -1
  26. package/dist/shared/components/palette/money-gbp/money-gbp-input.component.metadata.json +1 -1
  27. package/dist/shared/components/workbasket-filters/workbasket-filters.component.js +12 -10
  28. package/dist/shared/components/workbasket-filters/workbasket-filters.component.js.map +1 -1
  29. package/dist/shared/directives/conditional-show/conditional-show.module.js +0 -3
  30. package/dist/shared/directives/conditional-show/conditional-show.module.js.map +1 -1
  31. package/dist/shared/directives/conditional-show/conditional-show.module.metadata.json +1 -1
  32. package/dist/shared/directives/conditional-show/index.d.ts +0 -1
  33. package/dist/shared/directives/conditional-show/index.js +0 -1
  34. package/dist/shared/directives/conditional-show/index.js.map +1 -1
  35. package/dist/shared/directives/conditional-show/index.metadata.json +1 -1
  36. package/dist/shared/directives/conditional-show/services/conditional-show-registrar.service.d.ts +3 -4
  37. package/dist/shared/directives/conditional-show/services/conditional-show-registrar.service.js +0 -5
  38. package/dist/shared/directives/conditional-show/services/conditional-show-registrar.service.js.map +1 -1
  39. package/dist/shared/directives/conditional-show/services/conditional-show-registrar.service.metadata.json +1 -1
  40. package/package.json +1 -1
  41. package/dist/shared/directives/conditional-show/conditional-show.directive.d.ts +0 -46
  42. package/dist/shared/directives/conditional-show/conditional-show.directive.js +0 -219
  43. package/dist/shared/directives/conditional-show/conditional-show.directive.js.map +0 -1
  44. package/dist/shared/directives/conditional-show/conditional-show.directive.metadata.json +0 -1
@@ -1,7 +1,6 @@
1
- import { ConditionalShowDirective } from '../conditional-show.directive';
1
+ import { ConditionalShowFormDirective } from '../conditional-show-form.directive';
2
2
  export declare class ConditionalShowRegistrarService {
3
- registeredDirectives: any[];
4
- register(newDirective: ConditionalShowDirective): void;
5
- refresh(): void;
3
+ registeredDirectives: ConditionalShowFormDirective[];
4
+ register(newDirective: ConditionalShowFormDirective): void;
6
5
  reset(): void;
7
6
  }
@@ -14,11 +14,6 @@ var ConditionalShowRegistrarService = /** @class */ (function () {
14
14
  ConditionalShowRegistrarService.prototype.register = function (newDirective) {
15
15
  this.registeredDirectives.push(newDirective);
16
16
  };
17
- ConditionalShowRegistrarService.prototype.refresh = function () {
18
- this.registeredDirectives.forEach(function (dir) {
19
- dir.refreshVisibility();
20
- });
21
- };
22
17
  ConditionalShowRegistrarService.prototype.reset = function () {
23
18
  this.registeredDirectives = [];
24
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"conditional-show-registrar.service.js","sourceRoot":"","sources":["../../../../../tmp/src-inlined/shared/directives/conditional-show/services/conditional-show-registrar.service.ts"],"names":[],"mappings":";;;;;;;;AAAA,sCAA2C;AAI3C;IADA;QAEE,yBAAoB,GAAG,EAAE,CAAC;IAe5B,CAAC;IAbC,kDAAQ,GAAR,UAAS,YAAsC;QAC3C,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACjD,CAAC;IAED,iDAAO,GAAP;QACE,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,UAAA,GAAG;YACnC,GAAG,CAAC,iBAAiB,EAAE,CAAC;QAC1B,CAAC,CAAC,CAAC;IACL,CAAC;IAED,+CAAK,GAAL;QACE,IAAI,CAAC,oBAAoB,GAAG,EAAE,CAAC;IACjC,CAAC;IAfU,+BAA+B;QAD3C,iBAAU,EAAE;OACA,+BAA+B,CAgB3C;IAAD,sCAAC;CAAA,AAhBD,IAgBC;AAhBY,0EAA+B"}
1
+ {"version":3,"file":"conditional-show-registrar.service.js","sourceRoot":"","sources":["../../../../../tmp/src-inlined/shared/directives/conditional-show/services/conditional-show-registrar.service.ts"],"names":[],"mappings":";;;;;;;;AAAA,sCAA2C;AAI3C;IADA;QAEE,yBAAoB,GAAmC,EAAE,CAAC;IAS5D,CAAC;IAPC,kDAAQ,GAAR,UAAS,YAA0C;QAC/C,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACjD,CAAC;IAED,+CAAK,GAAL;QACE,IAAI,CAAC,oBAAoB,GAAG,EAAE,CAAC;IACjC,CAAC;IATU,+BAA+B;QAD3C,iBAAU,EAAE;OACA,+BAA+B,CAU3C;IAAD,sCAAC;CAAA,AAVD,IAUC;AAVY,0EAA+B"}
@@ -1 +1 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"ConditionalShowRegistrarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"register":[{"__symbolic":"method"}],"refresh":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}]}}}}]
1
+ [{"__symbolic":"module","version":4,"metadata":{"ConditionalShowRegistrarService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"register":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}]}}}}]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccd-case-ui-toolkit",
3
- "version": "4.10.0-rc.2",
3
+ "version": "4.10.0-rc.3",
4
4
  "engines": {
5
5
  "yarn": "^1.12.3",
6
6
  "npm": "^5.6.0"
@@ -1,46 +0,0 @@
1
- import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { CaseField } from '../../domain/definition/case-field.model';
4
- import { ShowCondition } from './domain/conditional-show.model';
5
- import { FieldsUtils } from '../../services/fields/fields.utils';
6
- import { ConditionalShowRegistrarService } from './services/conditional-show-registrar.service';
7
- import { GreyBarService } from './services/grey-bar.service';
8
- export declare class ConditionalShowDirective implements AfterViewInit, OnDestroy {
9
- private el;
10
- private fieldsUtils;
11
- private registry;
12
- private renderer;
13
- private greyBarService;
14
- caseField: CaseField;
15
- idPrefix: string;
16
- contextFields: CaseField[];
17
- formGroup: FormGroup;
18
- greyBarEnabled: boolean;
19
- complexFormGroup: FormGroup;
20
- condition: ShowCondition;
21
- formField: any;
22
- formGroupRawValue: any;
23
- private formChangesSubscription;
24
- constructor(el: ElementRef, fieldsUtils: FieldsUtils, registry: ConditionalShowRegistrarService, renderer: Renderer2, greyBarService: GreyBarService);
25
- ngAfterViewInit(): void;
26
- refreshVisibility(): void;
27
- ngOnDestroy(): void;
28
- private subscribeToFormChanges;
29
- /**
30
- * returns whether the field visibility has changed, or undefined if not
31
- */
32
- private updateVisibility;
33
- private onHide;
34
- private onShow;
35
- private hideField;
36
- private showField;
37
- private shouldToggleToHide;
38
- private shouldToggleToShow;
39
- private buildPath;
40
- private getCurrentPagesReadOnlyAndFormFieldValues;
41
- private getFormFieldsValuesIncludingDisabled;
42
- private isHidden;
43
- private unsubscribeFromFormChanges;
44
- private checkHideShowCondition;
45
- private updateGreyBar;
46
- }
@@ -1,219 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- var core_1 = require("@angular/core");
13
- var forms_1 = require("@angular/forms");
14
- var case_field_model_1 = require("../../domain/definition/case-field.model");
15
- var conditional_show_model_1 = require("./domain/conditional-show.model");
16
- var fields_utils_1 = require("../../services/fields/fields.utils");
17
- var conditional_show_registrar_service_1 = require("./services/conditional-show-registrar.service");
18
- var grey_bar_service_1 = require("./services/grey-bar.service");
19
- var operators_1 = require("rxjs/operators");
20
- var ConditionalShowDirective = /** @class */ (function () {
21
- function ConditionalShowDirective(el, fieldsUtils, registry, renderer, greyBarService) {
22
- this.el = el;
23
- this.fieldsUtils = fieldsUtils;
24
- this.registry = registry;
25
- this.renderer = renderer;
26
- this.greyBarService = greyBarService;
27
- this.contextFields = [];
28
- this.greyBarEnabled = false;
29
- }
30
- ConditionalShowDirective.prototype.ngAfterViewInit = function () {
31
- // Ensure this.caseField is actually a CaseField instance even if instantiated with {}
32
- // this.caseField = FieldsUtils.convertToCaseField(this.caseField);
33
- if (this.caseField.show_condition) {
34
- this.condition = conditional_show_model_1.ShowCondition.getInstance(this.caseField.show_condition);
35
- this.formGroup = this.formGroup || new forms_1.FormGroup({});
36
- this.complexFormGroup = this.complexFormGroup || new forms_1.FormGroup({});
37
- this.formField = this.complexFormGroup.get(this.caseField.id) || this.formGroup.get(this.caseField.id);
38
- this.updateVisibility(this.getCurrentPagesReadOnlyAndFormFieldValues());
39
- if (this.greyBarEnabled && this.greyBarService.wasToggledToShow(this.caseField.id)) {
40
- this.greyBarService.showGreyBar(this.caseField, this.el);
41
- }
42
- this.subscribeToFormChanges();
43
- this.registry.register(this);
44
- }
45
- };
46
- ConditionalShowDirective.prototype.refreshVisibility = function () {
47
- this.updateVisibility(this.getCurrentPagesReadOnlyAndFormFieldValues(), true);
48
- this.subscribeToFormChanges();
49
- };
50
- ConditionalShowDirective.prototype.ngOnDestroy = function () {
51
- this.unsubscribeFromFormChanges();
52
- };
53
- ConditionalShowDirective.prototype.subscribeToFormChanges = function () {
54
- var _this = this;
55
- this.unsubscribeFromFormChanges();
56
- this.formChangesSubscription = this.formGroup
57
- .valueChanges
58
- .pipe(operators_1.debounceTime(200))
59
- .subscribe(function (_) {
60
- var shown = _this.updateVisibility(_this.getCurrentPagesReadOnlyAndFormFieldValues());
61
- if (_this.greyBarEnabled && shown !== undefined) {
62
- _this.updateGreyBar(shown);
63
- }
64
- });
65
- };
66
- /**
67
- * returns whether the field visibility has changed, or undefined if not
68
- */
69
- ConditionalShowDirective.prototype.updateVisibility = function (fields, forced) {
70
- if (forced === void 0) { forced = false; }
71
- if (this.shouldToggleToHide(fields, forced)) {
72
- this.onHide();
73
- return false;
74
- }
75
- else if (this.shouldToggleToShow(fields)) {
76
- this.onShow();
77
- return true;
78
- }
79
- };
80
- ConditionalShowDirective.prototype.onHide = function () {
81
- if (this.formField) {
82
- this.unsubscribeFromFormChanges();
83
- this.formField.disable({ emitEvent: false });
84
- this.subscribeToFormChanges();
85
- }
86
- this.hideField();
87
- this.greyBarService.removeGreyBar(this.el);
88
- };
89
- ConditionalShowDirective.prototype.onShow = function () {
90
- if (this.formField) {
91
- this.unsubscribeFromFormChanges();
92
- this.formField.enable({ emitEvent: false });
93
- this.subscribeToFormChanges();
94
- }
95
- this.showField();
96
- if (this.formField) {
97
- this.checkHideShowCondition(this.caseField.id, this.formField);
98
- }
99
- };
100
- ConditionalShowDirective.prototype.hideField = function () {
101
- this.el.nativeElement.hidden = true;
102
- };
103
- ConditionalShowDirective.prototype.showField = function () {
104
- this.el.nativeElement.hidden = false;
105
- };
106
- ConditionalShowDirective.prototype.shouldToggleToHide = function (fields, forced) {
107
- return (!this.isHidden() || forced) && !this.condition.match(fields, this.buildPath());
108
- };
109
- ConditionalShowDirective.prototype.shouldToggleToShow = function (fields) {
110
- return this.isHidden() && this.condition.match(fields, this.buildPath());
111
- };
112
- ConditionalShowDirective.prototype.buildPath = function () {
113
- if (this.idPrefix) {
114
- return this.idPrefix + this.caseField.id;
115
- }
116
- return this.caseField.id;
117
- };
118
- ConditionalShowDirective.prototype.getCurrentPagesReadOnlyAndFormFieldValues = function () {
119
- var formFields = this.getFormFieldsValuesIncludingDisabled();
120
- return this.fieldsUtils.mergeCaseFieldsAndFormFields(this.contextFields, formFields);
121
- };
122
- ConditionalShowDirective.prototype.getFormFieldsValuesIncludingDisabled = function () {
123
- if (this.formGroupRawValue) {
124
- return this.formGroupRawValue;
125
- }
126
- this.formGroupRawValue = this.formGroup.getRawValue();
127
- return this.formGroupRawValue;
128
- };
129
- ConditionalShowDirective.prototype.isHidden = function () {
130
- return this.el.nativeElement.hidden;
131
- };
132
- ConditionalShowDirective.prototype.unsubscribeFromFormChanges = function () {
133
- if (this.formChangesSubscription) {
134
- this.formChangesSubscription.unsubscribe();
135
- }
136
- };
137
- // TODO This must be extracted to a generic service for traversing see RDM-2233
138
- ConditionalShowDirective.prototype.checkHideShowCondition = function (key, aControl) {
139
- var _this = this;
140
- if (aControl instanceof forms_1.FormArray) { // We're in a collection
141
- aControl.controls.forEach(function (formControl, i) {
142
- _this.checkHideShowCondition('' + i, formControl);
143
- });
144
- }
145
- else if (aControl instanceof forms_1.FormGroup) {
146
- if (aControl.get('value')) { // Complex Field
147
- var complexControl_1 = aControl.get('value');
148
- Object.keys(complexControl_1.controls).forEach(function (controlKey) {
149
- _this.checkHideShowCondition(controlKey, complexControl_1.get(controlKey));
150
- });
151
- }
152
- else if (aControl.controls) { // Special Field like AddressUK, AddressGlobal
153
- Object.keys(aControl.controls).forEach(function (controlKey) {
154
- _this.checkHideShowCondition(controlKey, aControl.get(controlKey));
155
- });
156
- }
157
- }
158
- else if (aControl instanceof forms_1.FormControl) { // FormControl
159
- if (aControl.invalid) {
160
- this.registry.refresh();
161
- }
162
- }
163
- };
164
- ConditionalShowDirective.prototype.updateGreyBar = function (shown) {
165
- if (shown) {
166
- this.greyBarService.addToggledToShow(this.caseField.id);
167
- this.greyBarService.showGreyBar(this.caseField, this.el);
168
- }
169
- else {
170
- this.greyBarService.removeToggledToShow(this.caseField.id);
171
- this.greyBarService.removeGreyBar(this.el);
172
- }
173
- };
174
- __decorate([
175
- core_1.Input(),
176
- __metadata("design:type", case_field_model_1.CaseField)
177
- ], ConditionalShowDirective.prototype, "caseField", void 0);
178
- __decorate([
179
- core_1.Input(),
180
- __metadata("design:type", String)
181
- ], ConditionalShowDirective.prototype, "idPrefix", void 0);
182
- __decorate([
183
- core_1.Input(),
184
- __metadata("design:type", Array)
185
- ], ConditionalShowDirective.prototype, "contextFields", void 0);
186
- __decorate([
187
- core_1.Input(),
188
- __metadata("design:type", forms_1.FormGroup)
189
- ], ConditionalShowDirective.prototype, "formGroup", void 0);
190
- __decorate([
191
- core_1.Input(),
192
- __metadata("design:type", Object)
193
- ], ConditionalShowDirective.prototype, "greyBarEnabled", void 0);
194
- __decorate([
195
- core_1.Input(),
196
- __metadata("design:type", forms_1.FormGroup)
197
- ], ConditionalShowDirective.prototype, "complexFormGroup", void 0);
198
- ConditionalShowDirective = __decorate([
199
- core_1.Directive({ selector: '[ccdConditionalShow]' })
200
- /** Hides and shows the host element based on the show condition if the condition is not empty. Works on read only fields and form fields.
201
- * The show condition is evaluated on all the fields of the page. i.e. read only and form fields. When a form field is hidden, if its
202
- * initial value was changed then the field is cleared. Otherwise the original value is kept and will display next time the field is
203
- * shown. Evaluation of the show condition includes disabled fields, which can be on their initial value or empty. Executes on the
204
- * host field initialization and when any field of the form changes.
205
- * Collaborates with the GreyBarService to show a vertical grey bar when a field initially hidden on the page is shown. When returning
206
- * to the page after the page has been left, the grey bar has to be redisplayed. If instead on initial page load the field renders as
207
- * initially shown, the grey bar is not displayed.
208
- */
209
- ,
210
- __metadata("design:paramtypes", [core_1.ElementRef,
211
- fields_utils_1.FieldsUtils,
212
- conditional_show_registrar_service_1.ConditionalShowRegistrarService,
213
- core_1.Renderer2,
214
- grey_bar_service_1.GreyBarService])
215
- ], ConditionalShowDirective);
216
- return ConditionalShowDirective;
217
- }());
218
- exports.ConditionalShowDirective = ConditionalShowDirective;
219
- //# sourceMappingURL=conditional-show.directive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conditional-show.directive.js","sourceRoot":"","sources":["../../../../tmp/src-inlined/shared/directives/conditional-show/conditional-show.directive.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAkG;AAClG,wCAAoF;AACpF,6EAAqE;AAErE,0EAAgE;AAChE,mEAAiE;AACjE,oGAAgG;AAChG,gEAA6D;AAC7D,4CAA8C;AAY9C;IAcE,kCAAoB,EAAc,EACd,WAAwB,EACxB,QAAyC,EACzC,QAAmB,EACnB,cAA8B;QAJ9B,OAAE,GAAF,EAAE,CAAY;QACd,gBAAW,GAAX,WAAW,CAAa;QACxB,aAAQ,GAAR,QAAQ,C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,gBAAS,CAAC,EAAC,QAAQ,EAAE,sBAAsB,EAAC,CAAC;QAC9C;;;;;;;;WAQG;;yCAeuB,iBAAU;YACD,0BAAW;YACd,oEAA+B;YAC/B,gBAAS;YACH,iCAAc;OAlBvC,wBAAwB,CAgLpC;IAAD,+BAAC;CAAA,AAhLD,IAgLC;AAhLY,4DAAwB"}
@@ -1 +0,0 @@
1
- [{"__symbolic":"module","version":4,"metadata":{"ConditionalShowDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":10,"character":1},"arguments":[{"selector":"[ccdConditionalShow]"}]}],"members":{"caseField":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"idPrefix":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"contextFields":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"formGroup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"greyBarEnabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"complexFormGroup":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":34,"character":26},{"__symbolic":"reference","module":"../../services/fields/fields.utils","name":"FieldsUtils","line":35,"character":35},{"__symbolic":"reference","module":"./services/conditional-show-registrar.service","name":"ConditionalShowRegistrarService","line":36,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":37,"character":32},{"__symbolic":"reference","module":"./services/grey-bar.service","name":"GreyBarService","line":38,"character":38}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"refreshVisibility":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"subscribeToFormChanges":[{"__symbolic":"method"}],"updateVisibility":[{"__symbolic":"method"}],"onHide":[{"__symbolic":"method"}],"onShow":[{"__symbolic":"method"}],"hideField":[{"__symbolic":"method"}],"showField":[{"__symbolic":"method"}],"shouldToggleToHide":[{"__symbolic":"method"}],"shouldToggleToShow":[{"__symbolic":"method"}],"buildPath":[{"__symbolic":"method"}],"getCurrentPagesReadOnlyAndFormFieldValues":[{"__symbolic":"method"}],"getFormFieldsValuesIncludingDisabled":[{"__symbolic":"method"}],"isHidden":[{"__symbolic":"method"}],"unsubscribeFromFormChanges":[{"__symbolic":"method"}],"checkHideShowCondition":[{"__symbolic":"method"}],"updateGreyBar":[{"__symbolic":"method"}]}}}}]