@natec/mef-dev-ui-kit 0.0.1

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 (144) hide show
  1. package/README.md +24 -0
  2. package/esm2020/lib/markup-kit/card/card/card.component.mjs +37 -0
  3. package/esm2020/lib/markup-kit/card/card-long/card-long.component.mjs +46 -0
  4. package/esm2020/lib/markup-kit/card/card-long/cart-type-colors.enum.mjs +7 -0
  5. package/esm2020/lib/markup-kit/card/card-simple/card-simple.component.mjs +23 -0
  6. package/esm2020/lib/markup-kit/card/card.module.mjs +45 -0
  7. package/esm2020/lib/markup-kit/card/index.mjs +5 -0
  8. package/esm2020/lib/markup-kit/collapse/collapse/collapse.component.mjs +87 -0
  9. package/esm2020/lib/markup-kit/collapse/collapse-set/collapse-set.component.mjs +54 -0
  10. package/esm2020/lib/markup-kit/collapse/collapse.module.mjs +25 -0
  11. package/esm2020/lib/markup-kit/collapse/index.mjs +4 -0
  12. package/esm2020/lib/markup-kit/modals/fill/fill.component.mjs +52 -0
  13. package/esm2020/lib/markup-kit/modals/index.mjs +7 -0
  14. package/esm2020/lib/markup-kit/modals/markup-kit.module.mjs +49 -0
  15. package/esm2020/lib/markup-kit/modals/modal-size.enum.mjs +2 -0
  16. package/esm2020/lib/markup-kit/modals/right-filter/right-filter.component.mjs +28 -0
  17. package/esm2020/lib/markup-kit/modals/slide-right/slide-right.component.mjs +55 -0
  18. package/esm2020/lib/markup-kit/modals/slide-up/slide-up.component.mjs +55 -0
  19. package/esm2020/lib/markup-kit/page-layouts/central-page/central-page.component.mjs +25 -0
  20. package/esm2020/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.mjs +14 -0
  21. package/esm2020/lib/markup-kit/page-layouts/index.mjs +7 -0
  22. package/esm2020/lib/markup-kit/page-layouts/manage-page/manage-page.component.mjs +25 -0
  23. package/esm2020/lib/markup-kit/page-layouts/page-layouts.module.mjs +49 -0
  24. package/esm2020/lib/markup-kit/page-layouts/profile/profile.component.mjs +49 -0
  25. package/esm2020/lib/markup-kit/page-layouts/table-page/table-page.component.mjs +18 -0
  26. package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.mjs +40 -0
  27. package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.mjs +29 -0
  28. package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field.module.mjs +31 -0
  29. package/esm2020/lib/markup-kit/utils/filtered-field/filtered-field.service.mjs +30 -0
  30. package/esm2020/lib/markup-kit/utils/filtered-field/filtred-item.model.mjs +9 -0
  31. package/esm2020/lib/markup-kit/utils/filtered-field/index.mjs +5 -0
  32. package/esm2020/lib/markup-kit/utils/help-block/help-block.component.mjs +44 -0
  33. package/esm2020/lib/markup-kit/utils/help-block/hepl-block.module.mjs +30 -0
  34. package/esm2020/lib/markup-kit/utils/help-block/index.mjs +3 -0
  35. package/esm2020/lib/markup-kit/utils/loader/index.mjs +5 -0
  36. package/esm2020/lib/markup-kit/utils/loader/loader/loader.component.mjs +27 -0
  37. package/esm2020/lib/markup-kit/utils/loader/loader.module.mjs +58 -0
  38. package/esm2020/lib/markup-kit/utils/loader/loader.service.mjs +50 -0
  39. package/esm2020/lib/markup-kit/utils/loader/request-event.enum.mjs +7 -0
  40. package/esm2020/lib/pg-components/card/card.components.mjs +253 -0
  41. package/esm2020/lib/pg-components/card/card.module.mjs +25 -0
  42. package/esm2020/lib/pg-components/card/index.mjs +3 -0
  43. package/esm2020/lib/pg-components/progress/index.mjs +4 -0
  44. package/esm2020/lib/pg-components/progress/progress.component.mjs +39 -0
  45. package/esm2020/lib/pg-components/progress/progress.config.mjs +14 -0
  46. package/esm2020/lib/pg-components/progress/progress.module.mjs +22 -0
  47. package/esm2020/lib/pg-components/select/index.mjs +5 -0
  48. package/esm2020/lib/pg-components/select/option.component.mjs +60 -0
  49. package/esm2020/lib/pg-components/select/option.pipe.mjs +42 -0
  50. package/esm2020/lib/pg-components/select/select.component.mjs +762 -0
  51. package/esm2020/lib/pg-components/select/select.module.mjs +22 -0
  52. package/esm2020/lib/pg-components/spec-flow-test/index.mjs +3 -0
  53. package/esm2020/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.mjs +24 -0
  54. package/esm2020/lib/pg-components/spec-flow-test/spec-flow-test.module.mjs +27 -0
  55. package/esm2020/lib/pg-components/switch/index.mjs +3 -0
  56. package/esm2020/lib/pg-components/switch/switch.component.mjs +130 -0
  57. package/esm2020/lib/pg-components/switch/switch.module.mjs +18 -0
  58. package/esm2020/lib/pg-components/tabs/index.mjs +8 -0
  59. package/esm2020/lib/pg-components/tabs/tab-body.component.mjs +22 -0
  60. package/esm2020/lib/pg-components/tabs/tab-label.directive.mjs +44 -0
  61. package/esm2020/lib/pg-components/tabs/tab.component.mjs +66 -0
  62. package/esm2020/lib/pg-components/tabs/tabs-ink-bar.directive.mjs +78 -0
  63. package/esm2020/lib/pg-components/tabs/tabs-nav.component.mjs +335 -0
  64. package/esm2020/lib/pg-components/tabs/tabs.module.mjs +24 -0
  65. package/esm2020/lib/pg-components/tabs/tabset.component.mjs +260 -0
  66. package/esm2020/lib/pg-components/util/convert.mjs +4 -0
  67. package/esm2020/lib/pg-components/util/request-animation.mjs +26 -0
  68. package/esm2020/mef-dev-ui-kit.mjs +5 -0
  69. package/esm2020/public-api.mjs +16 -0
  70. package/fesm2015/mef-dev-ui-kit.mjs +3190 -0
  71. package/fesm2015/mef-dev-ui-kit.mjs.map +1 -0
  72. package/fesm2020/mef-dev-ui-kit.mjs +3183 -0
  73. package/fesm2020/mef-dev-ui-kit.mjs.map +1 -0
  74. package/lib/markup-kit/card/card/card.component.d.ts +17 -0
  75. package/lib/markup-kit/card/card-long/card-long.component.d.ts +21 -0
  76. package/lib/markup-kit/card/card-long/cart-type-colors.enum.d.ts +5 -0
  77. package/lib/markup-kit/card/card-simple/card-simple.component.d.ts +10 -0
  78. package/lib/markup-kit/card/card.module.d.ts +18 -0
  79. package/lib/markup-kit/card/index.d.ts +4 -0
  80. package/lib/markup-kit/collapse/collapse/collapse.component.d.ts +19 -0
  81. package/lib/markup-kit/collapse/collapse-set/collapse-set.component.d.ts +18 -0
  82. package/lib/markup-kit/collapse/collapse.module.d.ts +14 -0
  83. package/lib/markup-kit/collapse/index.d.ts +3 -0
  84. package/lib/markup-kit/modals/fill/fill.component.d.ts +17 -0
  85. package/lib/markup-kit/modals/index.d.ts +6 -0
  86. package/lib/markup-kit/modals/markup-kit.module.d.ts +14 -0
  87. package/lib/markup-kit/modals/modal-size.enum.d.ts +5 -0
  88. package/lib/markup-kit/modals/right-filter/right-filter.component.d.ts +13 -0
  89. package/lib/markup-kit/modals/slide-right/slide-right.component.d.ts +19 -0
  90. package/lib/markup-kit/modals/slide-up/slide-up.component.d.ts +19 -0
  91. package/lib/markup-kit/page-layouts/central-page/central-page.component.d.ts +11 -0
  92. package/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.d.ts +8 -0
  93. package/lib/markup-kit/page-layouts/index.d.ts +6 -0
  94. package/lib/markup-kit/page-layouts/manage-page/manage-page.component.d.ts +11 -0
  95. package/lib/markup-kit/page-layouts/page-layouts.module.d.ts +14 -0
  96. package/lib/markup-kit/page-layouts/profile/profile.component.d.ts +27 -0
  97. package/lib/markup-kit/page-layouts/table-page/table-page.component.d.ts +9 -0
  98. package/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.d.ts +14 -0
  99. package/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.d.ts +14 -0
  100. package/lib/markup-kit/utils/filtered-field/filtered-field.module.d.ts +9 -0
  101. package/lib/markup-kit/utils/filtered-field/filtered-field.service.d.ts +14 -0
  102. package/lib/markup-kit/utils/filtered-field/filtred-item.model.d.ts +7 -0
  103. package/lib/markup-kit/utils/filtered-field/index.d.ts +4 -0
  104. package/lib/markup-kit/utils/help-block/help-block.component.d.ts +10 -0
  105. package/lib/markup-kit/utils/help-block/hepl-block.module.d.ts +10 -0
  106. package/lib/markup-kit/utils/help-block/index.d.ts +2 -0
  107. package/lib/markup-kit/utils/loader/index.d.ts +4 -0
  108. package/lib/markup-kit/utils/loader/loader/loader.component.d.ts +12 -0
  109. package/lib/markup-kit/utils/loader/loader.module.d.ts +9 -0
  110. package/lib/markup-kit/utils/loader/loader.service.d.ts +15 -0
  111. package/lib/markup-kit/utils/loader/request-event.enum.d.ts +5 -0
  112. package/lib/pg-components/card/card.components.d.ts +60 -0
  113. package/lib/pg-components/card/card.module.d.ts +12 -0
  114. package/lib/pg-components/card/index.d.ts +2 -0
  115. package/lib/pg-components/progress/index.d.ts +3 -0
  116. package/lib/pg-components/progress/progress.component.d.ts +15 -0
  117. package/lib/pg-components/progress/progress.config.d.ts +7 -0
  118. package/lib/pg-components/progress/progress.module.d.ts +10 -0
  119. package/lib/pg-components/select/index.d.ts +4 -0
  120. package/lib/pg-components/select/option.component.d.ts +21 -0
  121. package/lib/pg-components/select/option.pipe.d.ts +8 -0
  122. package/lib/pg-components/select/select.component.d.ts +135 -0
  123. package/lib/pg-components/select/select.module.d.ts +12 -0
  124. package/lib/pg-components/spec-flow-test/index.d.ts +2 -0
  125. package/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.d.ts +22 -0
  126. package/lib/pg-components/spec-flow-test/spec-flow-test.module.d.ts +10 -0
  127. package/lib/pg-components/switch/index.d.ts +2 -0
  128. package/lib/pg-components/switch/switch.component.d.ts +29 -0
  129. package/lib/pg-components/switch/switch.module.d.ts +8 -0
  130. package/lib/pg-components/tabs/index.d.ts +7 -0
  131. package/lib/pg-components/tabs/tab-body.component.d.ts +7 -0
  132. package/lib/pg-components/tabs/tab-label.directive.d.ts +15 -0
  133. package/lib/pg-components/tabs/tab.component.d.ts +22 -0
  134. package/lib/pg-components/tabs/tabs-ink-bar.directive.d.ts +23 -0
  135. package/lib/pg-components/tabs/tabs-nav.component.d.ts +79 -0
  136. package/lib/pg-components/tabs/tabs.module.d.ts +14 -0
  137. package/lib/pg-components/tabs/tabset.component.d.ts +67 -0
  138. package/lib/pg-components/util/convert.d.ts +1 -0
  139. package/lib/pg-components/util/request-animation.d.ts +1 -0
  140. package/mef-dev-ui-kit.d.ts +5 -0
  141. package/package.json +44 -0
  142. package/public-api.d.ts +14 -0
  143. package/src/lib/styles/designe-colors.scss +68 -0
  144. package/src/lib/styles/fonts.scss +90 -0
@@ -0,0 +1,3183 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ViewEncapsulation, Input, Host, ContentChild, HostBinding, NgModule, Injectable, EventEmitter, Output, ViewChild, Pipe, forwardRef, HostListener, Directive, Optional, ContentChildren, TemplateRef } from '@angular/core';
3
+ import { trigger, state, style, transition, animate } from '@angular/animations';
4
+ import * as i1 from '@angular/common';
5
+ import { CommonModule } from '@angular/common';
6
+ import { Subject, of, fromEvent, merge } from 'rxjs';
7
+ import * as i2 from 'ngx-ui-loader';
8
+ import { NgxUiLoaderModule } from 'ngx-ui-loader';
9
+ import * as i2$1 from '@ngx-translate/core';
10
+ import { TranslateModule } from '@ngx-translate/core';
11
+ import * as i1$1 from '@angular/router';
12
+ import * as i1$2 from '@angular/cdk/overlay';
13
+ import { CdkConnectedOverlay, OverlayModule } from '@angular/cdk/overlay';
14
+ import * as i3 from '@angular/forms';
15
+ import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
16
+ import { TAB, DOWN_ARROW, ENTER } from '@angular/cdk/keycodes';
17
+ import * as i1$3 from 'ngx-bootstrap/modal';
18
+ import { ModalModule } from 'ngx-bootstrap/modal';
19
+ import * as i2$2 from '@angular/cdk/observers';
20
+ import { ObserversModule } from '@angular/cdk/observers';
21
+ import { auditTime, startWith, map } from 'rxjs/operators';
22
+ import * as i1$4 from '@angular/cdk/bidi';
23
+
24
+ class CollapseSetComponent {
25
+ constructor() {
26
+ this._accordion = false;
27
+ this._horizontal = true;
28
+ this._expandAny = true;
29
+ this.panels = [];
30
+ }
31
+ set expandAny(value) {
32
+ this._accordion = value;
33
+ }
34
+ get expandAny() {
35
+ return this._accordion;
36
+ }
37
+ set Accordion(value) {
38
+ this._accordion = value;
39
+ }
40
+ get Accordion() {
41
+ return this._accordion;
42
+ }
43
+ set Horizontal(value) {
44
+ this._horizontal = value;
45
+ }
46
+ get Horizontal() {
47
+ return this._horizontal;
48
+ }
49
+ pgClick(collapse) {
50
+ if (this.Accordion && !this.expandAny) {
51
+ this.panels.map((item, index) => {
52
+ const curIndex = this.panels.indexOf(collapse);
53
+ if (index !== curIndex) {
54
+ item.Active = false;
55
+ }
56
+ });
57
+ }
58
+ }
59
+ addTab(collapse) {
60
+ this.panels.push(collapse);
61
+ }
62
+ }
63
+ CollapseSetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CollapseSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
64
+ CollapseSetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CollapseSetComponent, selector: "mefdev-collapse-set", inputs: { expandAny: "expandAny", Accordion: "Accordion", Horizontal: "Horizontal" }, ngImport: i0, template: "<div class=\"card-group\" [class.horizontal]=\"Horizontal\">\r\n <ng-content></ng-content>\r\n</div>", styles: [""], encapsulation: i0.ViewEncapsulation.None });
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CollapseSetComponent, decorators: [{
66
+ type: Component,
67
+ args: [{ selector: 'mefdev-collapse-set', encapsulation: ViewEncapsulation.None, template: "<div class=\"card-group\" [class.horizontal]=\"Horizontal\">\r\n <ng-content></ng-content>\r\n</div>", styles: [""] }]
68
+ }], propDecorators: { expandAny: [{
69
+ type: Input
70
+ }], Accordion: [{
71
+ type: Input
72
+ }], Horizontal: [{
73
+ type: Input
74
+ }] } });
75
+
76
+ class CollapseComponent {
77
+ constructor(_collapseSet, _elementRef) {
78
+ this._collapseSet = _collapseSet;
79
+ this._elementRef = _elementRef;
80
+ this._disabled = false;
81
+ this._active = false;
82
+ this._el = this._elementRef.nativeElement;
83
+ this._collapseSet.addTab(this);
84
+ }
85
+ set Disabled(value) {
86
+ this._disabled = value;
87
+ }
88
+ get Disabled() {
89
+ return this._disabled;
90
+ }
91
+ set Active(value) {
92
+ const active = value;
93
+ if (this._active === active) {
94
+ return;
95
+ }
96
+ if (!this.Disabled) {
97
+ this._active = active;
98
+ }
99
+ }
100
+ get Active() {
101
+ return this._active;
102
+ }
103
+ clickHeader($event) {
104
+ this.Active = !this.Active;
105
+ /** trigger host collapseSet click event */
106
+ this._collapseSet.pgClick(this);
107
+ }
108
+ }
109
+ CollapseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CollapseComponent, deps: [{ token: CollapseSetComponent, host: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
110
+ CollapseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CollapseComponent, selector: "mefdev-collapse", inputs: { Disabled: "Disabled", Active: "Active" }, host: { properties: { "class.card": "true", "class.card-default": "true", "class.m-b-0": "true", "class.disabled": "this.Disabled" } }, queries: [{ propertyName: "CardTitle", first: true, predicate: ["CardTitle"], descendants: true }], ngImport: i0, template: "<div class=\"row mt-2 card-title\" [attr.aria-expanded]=\"_active\" (click)=\"clickHeader($event)\" role=\"tab\"\r\nhref=\"javascript:;\" [ngClass]=\"{'collapsed':!_active}\">\r\n <div class=\"col-11\">\r\n <ng-template [ngTemplateOutlet]=\"CardTitle\"></ng-template>\r\n </div>\r\n <div class=\"col-1 align-self-center\">\r\n <i class=\"fa fa-angle-down float-end \" aria-hidden=\"true\" *ngIf=\"!_active\"></i>\r\n <i class=\"fa fa-angle-up float-end \" aria-hidden=\"true\" *ngIf=\"_active\"></i>\r\n </div>\r\n</div>\r\n\r\n<div class=\"collapse\" [ngClass]=\"{'show':true,'active':_active,'inactive':!_active}\" [@collapseState]=\"_active?'active':'inactive'\">\r\n <div class=\"card-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,.card-title,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}.card-title{background-color:#f3f3f3;padding:17px;margin:0;color:#000}.collapse{background-color:#f3f3f3}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
111
+ trigger('collapseState', [
112
+ state('inactive', style({
113
+ opacity: '0',
114
+ height: 0
115
+ })),
116
+ state('active', style({
117
+ opacity: '1',
118
+ height: '*'
119
+ })),
120
+ transition('inactive => active', animate('125ms ease-in')),
121
+ transition('active => inactive', animate('125ms ease-out'))
122
+ ])
123
+ ] });
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CollapseComponent, decorators: [{
125
+ type: Component,
126
+ args: [{ selector: 'mefdev-collapse', animations: [
127
+ trigger('collapseState', [
128
+ state('inactive', style({
129
+ opacity: '0',
130
+ height: 0
131
+ })),
132
+ state('active', style({
133
+ opacity: '1',
134
+ height: '*'
135
+ })),
136
+ transition('inactive => active', animate('125ms ease-in')),
137
+ transition('active => inactive', animate('125ms ease-out'))
138
+ ])
139
+ ], host: {
140
+ '[class.card]': 'true',
141
+ '[class.card-default]': 'true',
142
+ '[class.m-b-0]': 'true'
143
+ }, template: "<div class=\"row mt-2 card-title\" [attr.aria-expanded]=\"_active\" (click)=\"clickHeader($event)\" role=\"tab\"\r\nhref=\"javascript:;\" [ngClass]=\"{'collapsed':!_active}\">\r\n <div class=\"col-11\">\r\n <ng-template [ngTemplateOutlet]=\"CardTitle\"></ng-template>\r\n </div>\r\n <div class=\"col-1 align-self-center\">\r\n <i class=\"fa fa-angle-down float-end \" aria-hidden=\"true\" *ngIf=\"!_active\"></i>\r\n <i class=\"fa fa-angle-up float-end \" aria-hidden=\"true\" *ngIf=\"_active\"></i>\r\n </div>\r\n</div>\r\n\r\n<div class=\"collapse\" [ngClass]=\"{'show':true,'active':_active,'inactive':!_active}\" [@collapseState]=\"_active?'active':'inactive'\">\r\n <div class=\"card-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,.card-title,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}.card-title{background-color:#f3f3f3;padding:17px;margin:0;color:#000}.collapse{background-color:#f3f3f3}\n"] }]
144
+ }], ctorParameters: function () { return [{ type: CollapseSetComponent, decorators: [{
145
+ type: Host
146
+ }] }, { type: i0.ElementRef }]; }, propDecorators: { CardTitle: [{
147
+ type: ContentChild,
148
+ args: ["CardTitle"]
149
+ }], Disabled: [{
150
+ type: Input
151
+ }, {
152
+ type: HostBinding,
153
+ args: ['class.disabled']
154
+ }], Active: [{
155
+ type: Input
156
+ }] } });
157
+
158
+ const mefDevCollapseModuleComponents = [CollapseSetComponent, CollapseComponent];
159
+ class MefDevCollapseModule {
160
+ static forRoot() {
161
+ return {
162
+ ngModule: MefDevCollapseModule
163
+ };
164
+ }
165
+ }
166
+ MefDevCollapseModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
167
+ MefDevCollapseModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevCollapseModule, declarations: [CollapseSetComponent, CollapseComponent], imports: [CommonModule], exports: [CollapseSetComponent, CollapseComponent] });
168
+ MefDevCollapseModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevCollapseModule, imports: [[CommonModule]] });
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevCollapseModule, decorators: [{
170
+ type: NgModule,
171
+ args: [{
172
+ declarations: mefDevCollapseModuleComponents,
173
+ exports: mefDevCollapseModuleComponents,
174
+ imports: [CommonModule]
175
+ }]
176
+ }] });
177
+
178
+ var RequestEvent;
179
+ (function (RequestEvent) {
180
+ RequestEvent[RequestEvent["TX"] = 0] = "TX";
181
+ RequestEvent[RequestEvent["RX_OK"] = 1] = "RX_OK";
182
+ RequestEvent[RequestEvent["RX_ERR"] = 2] = "RX_ERR";
183
+ })(RequestEvent || (RequestEvent = {}));
184
+
185
+ class LoaderService {
186
+ constructor() {
187
+ this.stream = new Subject();
188
+ this.loaderIsShow = new Subject();
189
+ this._lastVal = false;
190
+ this.requestCnt = 0;
191
+ this.stream.subscribe(e => {
192
+ switch (e) {
193
+ case RequestEvent.TX:
194
+ this.requestCnt++;
195
+ break;
196
+ case RequestEvent.RX_OK:
197
+ case RequestEvent.RX_ERR:
198
+ this.requestCnt -= 0.5;
199
+ // console.log('LoaderService request', this.requestCnt)
200
+ break;
201
+ }
202
+ if (this.requestCnt < 0) {
203
+ this.requestCnt = 0;
204
+ }
205
+ let isZero = this.requestCnt == 0;
206
+ if (this._lastVal != isZero) {
207
+ this._lastVal = isZero;
208
+ this.loaderIsShow.next(!isZero);
209
+ }
210
+ });
211
+ }
212
+ newEvent(e) {
213
+ this.stream.next(e);
214
+ }
215
+ getLoaderIsShow() {
216
+ return this.loaderIsShow;
217
+ }
218
+ update() {
219
+ this.requestCnt = 0;
220
+ }
221
+ }
222
+ LoaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
223
+ LoaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderService, providedIn: 'root' });
224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderService, decorators: [{
225
+ type: Injectable,
226
+ args: [{
227
+ providedIn: 'root'
228
+ }]
229
+ }], ctorParameters: function () { return []; } });
230
+
231
+ class LoaderComponent {
232
+ constructor(loaderService, ngxLoader) {
233
+ this.loaderService = loaderService;
234
+ this.ngxLoader = ngxLoader;
235
+ }
236
+ ngOnInit() {
237
+ this.loaderService.getLoaderIsShow().subscribe((isEnable) => {
238
+ if (isEnable) {
239
+ this.ngxLoader.startBackground();
240
+ }
241
+ else {
242
+ this.ngxLoader.stopBackground();
243
+ }
244
+ });
245
+ }
246
+ }
247
+ LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderComponent, deps: [{ token: LoaderService }, { token: i2.NgxUiLoaderService }], target: i0.ɵɵFactoryTarget.Component });
248
+ LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: LoaderComponent, selector: "mefdev-loader", ngImport: i0, template: "<ngx-ui-loader></ngx-ui-loader>", styles: [""], components: [{ type: i2.NgxUiLoaderComponent, selector: "ngx-ui-loader", inputs: ["bgsColor", "bgsOpacity", "bgsPosition", "bgsSize", "bgsTemplate", "bgsType", "fgsColor", "fgsPosition", "fgsSize", "fgsTemplate", "fgsType", "gap", "loaderId", "logoPosition", "logoSize", "logoUrl", "overlayBorderRadius", "overlayColor", "pbColor", "pbDirection", "pbThickness", "hasProgressBar", "text", "textColor", "textPosition"] }] });
249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: LoaderComponent, decorators: [{
250
+ type: Component,
251
+ args: [{ selector: 'mefdev-loader', template: "<ngx-ui-loader></ngx-ui-loader>", styles: [""] }]
252
+ }], ctorParameters: function () { return [{ type: LoaderService }, { type: i2.NgxUiLoaderService }]; } });
253
+
254
+ const ngxUiLoaderConfig = {
255
+ "bgsColor": "#CF0106",
256
+ "fgsColor": "#CF0106",
257
+ "bgsOpacity": 0.5,
258
+ "bgsPosition": "center-center",
259
+ "bgsSize": 50,
260
+ "bgsType": "ball-spin-clockwise",
261
+ "blur": 5,
262
+ "delay": 0,
263
+ "fastFadeOut": true,
264
+ "fgsPosition": "center-center",
265
+ "fgsSize": 60,
266
+ "fgsType": "ball-spin-clockwise",
267
+ "gap": 57,
268
+ "logoPosition": "center-center",
269
+ "logoSize": 120,
270
+ "logoUrl": "",
271
+ "masterLoaderId": "master",
272
+ "overlayBorderRadius": "0",
273
+ "overlayColor": "rgba(40, 40, 40, 0.8)",
274
+ "pbColor": "red",
275
+ "pbDirection": "ltr",
276
+ "pbThickness": 3,
277
+ "hasProgressBar": false,
278
+ "text": "",
279
+ "textColor": "#FFFFFF",
280
+ "textPosition": "center-center",
281
+ "maxTime": -1,
282
+ "minTime": 300
283
+ };
284
+ class MefDevLoaderModule {
285
+ }
286
+ MefDevLoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevLoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
287
+ MefDevLoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevLoaderModule, declarations: [LoaderComponent], imports: [CommonModule, i2.NgxUiLoaderModule], exports: [LoaderComponent] });
288
+ MefDevLoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevLoaderModule, providers: [LoaderService], imports: [[
289
+ CommonModule,
290
+ NgxUiLoaderModule.forRoot(ngxUiLoaderConfig),
291
+ ]] });
292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevLoaderModule, decorators: [{
293
+ type: NgModule,
294
+ args: [{
295
+ declarations: [LoaderComponent],
296
+ exports: [LoaderComponent],
297
+ imports: [
298
+ CommonModule,
299
+ NgxUiLoaderModule.forRoot(ngxUiLoaderConfig),
300
+ ],
301
+ providers: [LoaderService]
302
+ }]
303
+ }] });
304
+
305
+ class FilteredFieldService {
306
+ constructor() {
307
+ this.newFilterItem = new Subject();
308
+ this.openFilter = new Subject();
309
+ }
310
+ getOpenFilter() {
311
+ return this.openFilter;
312
+ }
313
+ sendOpenFilter(item) {
314
+ this.openFilter.next(item);
315
+ }
316
+ getNewFilterItem() {
317
+ return this.newFilterItem;
318
+ }
319
+ sendNewFilterItem(item) {
320
+ this.newFilterItem.next(item);
321
+ }
322
+ }
323
+ FilteredFieldService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FilteredFieldService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
324
+ FilteredFieldService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FilteredFieldService, providedIn: 'root' });
325
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FilteredFieldService, decorators: [{
326
+ type: Injectable,
327
+ args: [{
328
+ providedIn: 'root'
329
+ }]
330
+ }], ctorParameters: function () { return []; } });
331
+
332
+ class FilteredFieldItemComponent {
333
+ constructor() {
334
+ this.discard = new EventEmitter();
335
+ this.openFilter = new EventEmitter();
336
+ }
337
+ ngOnInit() {
338
+ }
339
+ onOpenFilter() {
340
+ this.openFilter.next({});
341
+ }
342
+ onDiscard() {
343
+ this.discard.next(this.item);
344
+ }
345
+ }
346
+ FilteredFieldItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FilteredFieldItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
347
+ FilteredFieldItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FilteredFieldItemComponent, selector: "mefdev-filtered-field-item", inputs: { item: "item" }, outputs: { discard: "discard", openFilter: "openFilter" }, ngImport: i0, template: "<div class=\"item\">\n <i class=\"fa fa-times\" (click)=\"onDiscard()\" style=\"margin-right: 3px; cursor: pointer;\"></i> \n <span (click)=\"onOpenFilter()\">{{item.newValue}}</span>\n</div>\n", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.item{background-color:#4d4d4d;color:#fff;border-radius:5px;margin-right:7px;padding:3px 7px}\n"] });
348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FilteredFieldItemComponent, decorators: [{
349
+ type: Component,
350
+ args: [{ selector: 'mefdev-filtered-field-item', template: "<div class=\"item\">\n <i class=\"fa fa-times\" (click)=\"onDiscard()\" style=\"margin-right: 3px; cursor: pointer;\"></i> \n <span (click)=\"onOpenFilter()\">{{item.newValue}}</span>\n</div>\n", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.item{background-color:#4d4d4d;color:#fff;border-radius:5px;margin-right:7px;padding:3px 7px}\n"] }]
351
+ }], ctorParameters: function () { return []; }, propDecorators: { item: [{
352
+ type: Input
353
+ }], discard: [{
354
+ type: Output
355
+ }], openFilter: [{
356
+ type: Output
357
+ }] } });
358
+
359
+ class FilteredFieldContainerComponent {
360
+ constructor(service) {
361
+ this.service = service;
362
+ this.items = [];
363
+ }
364
+ onOpenFilter(item) {
365
+ this.service.sendOpenFilter(item);
366
+ }
367
+ onDiscard(item) {
368
+ item.discard(item.standartValue);
369
+ this.items.splice(this.items.findIndex(x => x.id == item.id), 1);
370
+ }
371
+ ngOnInit() {
372
+ this.service.getNewFilterItem().subscribe(item => {
373
+ let i = this.items.findIndex(x => x.id == item.id);
374
+ if (item.newValue == item.standartValue) {
375
+ this.items[i] = item;
376
+ this.items.splice(i, 1);
377
+ return;
378
+ }
379
+ if (i != -1) {
380
+ this.items[i] = item;
381
+ return;
382
+ }
383
+ this.items.push(item);
384
+ });
385
+ }
386
+ }
387
+ FilteredFieldContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FilteredFieldContainerComponent, deps: [{ token: FilteredFieldService }], target: i0.ɵɵFactoryTarget.Component });
388
+ FilteredFieldContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FilteredFieldContainerComponent, selector: "mefdev-filtered-field-container", ngImport: i0, template: "<div class=\"item-container\">\n <mefdev-filtered-field-item *ngFor=\"let item of items\" [item]=\"item\" (discard)=\"onDiscard(item)\" (openFilter)=\"onOpenFilter(item)\"></mefdev-filtered-field-item>\n</div>\n", styles: [".item-container{display:flex;cursor:context-menu}\n"], components: [{ type: FilteredFieldItemComponent, selector: "mefdev-filtered-field-item", inputs: ["item"], outputs: ["discard", "openFilter"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FilteredFieldContainerComponent, decorators: [{
390
+ type: Component,
391
+ args: [{ selector: 'mefdev-filtered-field-container', template: "<div class=\"item-container\">\n <mefdev-filtered-field-item *ngFor=\"let item of items\" [item]=\"item\" (discard)=\"onDiscard(item)\" (openFilter)=\"onOpenFilter(item)\"></mefdev-filtered-field-item>\n</div>\n", styles: [".item-container{display:flex;cursor:context-menu}\n"] }]
392
+ }], ctorParameters: function () { return [{ type: FilteredFieldService }]; } });
393
+
394
+ class MefDevFilteredFieldModule {
395
+ }
396
+ MefDevFilteredFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevFilteredFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
397
+ MefDevFilteredFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevFilteredFieldModule, declarations: [FilteredFieldContainerComponent,
398
+ FilteredFieldItemComponent], imports: [CommonModule], exports: [FilteredFieldItemComponent,
399
+ FilteredFieldContainerComponent] });
400
+ MefDevFilteredFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevFilteredFieldModule, imports: [[
401
+ CommonModule
402
+ ]] });
403
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevFilteredFieldModule, decorators: [{
404
+ type: NgModule,
405
+ args: [{
406
+ declarations: [
407
+ FilteredFieldContainerComponent,
408
+ FilteredFieldItemComponent,
409
+ ],
410
+ exports: [
411
+ FilteredFieldItemComponent,
412
+ FilteredFieldContainerComponent
413
+ ],
414
+ imports: [
415
+ CommonModule
416
+ ]
417
+ }]
418
+ }] });
419
+
420
+ class HelpBlockComponent {
421
+ constructor() {
422
+ this.isVisible = true;
423
+ this.expanded = false;
424
+ }
425
+ ngOnInit() {
426
+ }
427
+ }
428
+ HelpBlockComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HelpBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
429
+ HelpBlockComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: HelpBlockComponent, selector: "mefdev-help-block", ngImport: i0, template: "<div class=\"card-simple\" *ngIf=\"isVisible\">\n <div class=\"row m-1 body-1\" (click)=\"expanded = !expanded\" style=\"cursor: pointer;\">\n <div class=\"col-10\" style=\"color: white;\">\n {{'Help' | translate}}\n </div>\n <div class=\"col-2\">\n <i class=\"fa fa-window-close\" aria-hidden=\"true\" style=\"float: right; margin-left: 20px;\" (click)=\"isVisible = !isVisible;\"></i>\n \n <i class=\"fa fa-angle-down \" *ngIf=\"!expanded\" aria-hidden=\"true\" style=\"float: right;\"></i>\n <i class=\"fa fa-angle-up\" *ngIf=\"expanded\" aria-hidden=\"true\" style=\"float: right;\"></i> \n </div>\n </div>\n\n <div class=\"card-body row\" [@smothExpand]=\"expanded ? 'open' : 'close'\">\n <div class=\"col-12\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}.card-simple{opacity:.7;background-color:#28b446;padding:2px;border-radius:5px;margin-top:.3em;margin-bottom:.5em}.card-body{opacity:1;margin-left:2px;margin-right:2px;margin-bottom:2px;border-radius:5px;padding-top:15px;padding-bottom:15px;background-color:#f3f3f3;color:#000}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i2$1.TranslatePipe }, animations: [
430
+ trigger('smothExpand', [
431
+ state('close', style({
432
+ height: '0',
433
+ margin: '0',
434
+ padding: '0',
435
+ opacity: '0',
436
+ visibility: 'hidden',
437
+ })),
438
+ state('open', style({})),
439
+ transition('close<=>open', animate(200))
440
+ ])
441
+ ] });
442
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: HelpBlockComponent, decorators: [{
443
+ type: Component,
444
+ args: [{ selector: 'mefdev-help-block', animations: [
445
+ trigger('smothExpand', [
446
+ state('close', style({
447
+ height: '0',
448
+ margin: '0',
449
+ padding: '0',
450
+ opacity: '0',
451
+ visibility: 'hidden',
452
+ })),
453
+ state('open', style({})),
454
+ transition('close<=>open', animate(200))
455
+ ])
456
+ ], template: "<div class=\"card-simple\" *ngIf=\"isVisible\">\n <div class=\"row m-1 body-1\" (click)=\"expanded = !expanded\" style=\"cursor: pointer;\">\n <div class=\"col-10\" style=\"color: white;\">\n {{'Help' | translate}}\n </div>\n <div class=\"col-2\">\n <i class=\"fa fa-window-close\" aria-hidden=\"true\" style=\"float: right; margin-left: 20px;\" (click)=\"isVisible = !isVisible;\"></i>\n \n <i class=\"fa fa-angle-down \" *ngIf=\"!expanded\" aria-hidden=\"true\" style=\"float: right;\"></i>\n <i class=\"fa fa-angle-up\" *ngIf=\"expanded\" aria-hidden=\"true\" style=\"float: right;\"></i> \n </div>\n </div>\n\n <div class=\"card-body row\" [@smothExpand]=\"expanded ? 'open' : 'close'\">\n <div class=\"col-12\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}.card-simple{opacity:.7;background-color:#28b446;padding:2px;border-radius:5px;margin-top:.3em;margin-bottom:.5em}.card-body{opacity:1;margin-left:2px;margin-right:2px;margin-bottom:2px;border-radius:5px;padding-top:15px;padding-bottom:15px;background-color:#f3f3f3;color:#000}\n"] }]
457
+ }], ctorParameters: function () { return []; } });
458
+
459
+ class MefDevHelpBlockModule {
460
+ }
461
+ MefDevHelpBlockModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevHelpBlockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
462
+ MefDevHelpBlockModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevHelpBlockModule, declarations: [HelpBlockComponent], imports: [CommonModule,
463
+ MefDevCollapseModule,
464
+ TranslateModule], exports: [HelpBlockComponent] });
465
+ MefDevHelpBlockModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevHelpBlockModule, imports: [[
466
+ CommonModule,
467
+ MefDevCollapseModule,
468
+ TranslateModule
469
+ ]] });
470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevHelpBlockModule, decorators: [{
471
+ type: NgModule,
472
+ args: [{
473
+ declarations: [HelpBlockComponent],
474
+ exports: [HelpBlockComponent],
475
+ imports: [
476
+ CommonModule,
477
+ MefDevCollapseModule,
478
+ TranslateModule
479
+ ]
480
+ }]
481
+ }] });
482
+
483
+ class ProgressComponent {
484
+ constructor() { }
485
+ set value(value) {
486
+ if (this.type == "circle") {
487
+ this._value = (value / 100) * 360;
488
+ if (this.value >= 50) {
489
+ this._value2 = true;
490
+ }
491
+ }
492
+ else
493
+ this._value = value;
494
+ }
495
+ get value() {
496
+ return this._value;
497
+ }
498
+ get value2() {
499
+ return this._value2;
500
+ }
501
+ }
502
+ ProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
503
+ ProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ProgressComponent, selector: "pg-progress", inputs: { type: "type", color: "color", thick: "thick", indeterminate: "indeterminate", value: "value" }, ngImport: i0, template: "<div *ngIf=\"type === 'bar'; else circleBlock\">\r\n <div *ngIf=\"indeterminate; else determineBarBlock\">\r\n <div class=\"progress\" [class.progress-small]=\"!thick\">\r\n <div class=\"progress-bar-{{ color }}\" [class.progress-bar-indeterminate]=\"indeterminate\"></div>\r\n </div>\r\n </div>\r\n <ng-template #determineBarBlock>\r\n <div class=\"progress\" [class.progress-small]=\"!thick\">\r\n <div class=\"progress-bar progress-bar-{{ color }}\" [ngStyle]=\"{ width: value + '%' }\"></div>\r\n </div>\r\n </ng-template>\r\n</div>\r\n<ng-template #circleBlock>\r\n <div class=\"progress-circle-{{ color }}\" [class.progress-circle-indeterminate]=\"indeterminate\"\r\n [class.progress-circle]=\"!indeterminate\" [class.progress-circle-thick]=\"thick\">\r\n <div *ngIf=\"indeterminate; else determineBlock\"></div>\r\n <ng-template #determineBlock>\r\n <div class=\"pie\" [ngStyle]=\"_value2 && { clip: 'rect(auto, auto, auto, auto)' }\">\r\n <div class=\"left-side half-circle\" [ngStyle]=\"_value2 && { transform: 'rotate(' + value + 'deg)' }\"></div>\r\n <div class=\"right-side half-circle\" [ngStyle]=\"{\r\n transform:\r\n _value2 === true ? 'rotate(180deg)' : 'rotate(' + value + 'deg)'\r\n }\"></div>\r\n </div>\r\n <div class=\"shadow\"></div>\r\n </ng-template>\r\n </div>\r\n</ng-template>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressComponent, decorators: [{
505
+ type: Component,
506
+ args: [{ selector: "pg-progress", template: "<div *ngIf=\"type === 'bar'; else circleBlock\">\r\n <div *ngIf=\"indeterminate; else determineBarBlock\">\r\n <div class=\"progress\" [class.progress-small]=\"!thick\">\r\n <div class=\"progress-bar-{{ color }}\" [class.progress-bar-indeterminate]=\"indeterminate\"></div>\r\n </div>\r\n </div>\r\n <ng-template #determineBarBlock>\r\n <div class=\"progress\" [class.progress-small]=\"!thick\">\r\n <div class=\"progress-bar progress-bar-{{ color }}\" [ngStyle]=\"{ width: value + '%' }\"></div>\r\n </div>\r\n </ng-template>\r\n</div>\r\n<ng-template #circleBlock>\r\n <div class=\"progress-circle-{{ color }}\" [class.progress-circle-indeterminate]=\"indeterminate\"\r\n [class.progress-circle]=\"!indeterminate\" [class.progress-circle-thick]=\"thick\">\r\n <div *ngIf=\"indeterminate; else determineBlock\"></div>\r\n <ng-template #determineBlock>\r\n <div class=\"pie\" [ngStyle]=\"_value2 && { clip: 'rect(auto, auto, auto, auto)' }\">\r\n <div class=\"left-side half-circle\" [ngStyle]=\"_value2 && { transform: 'rotate(' + value + 'deg)' }\"></div>\r\n <div class=\"right-side half-circle\" [ngStyle]=\"{\r\n transform:\r\n _value2 === true ? 'rotate(180deg)' : 'rotate(' + value + 'deg)'\r\n }\"></div>\r\n </div>\r\n <div class=\"shadow\"></div>\r\n </ng-template>\r\n </div>\r\n</ng-template>" }]
507
+ }], ctorParameters: function () { return []; }, propDecorators: { type: [{
508
+ type: Input
509
+ }], color: [{
510
+ type: Input
511
+ }], thick: [{
512
+ type: Input
513
+ }], indeterminate: [{
514
+ type: Input
515
+ }], value: [{
516
+ type: Input
517
+ }] } });
518
+
519
+ class pgCard {
520
+ constructor() {
521
+ this._isCollapsed = false;
522
+ this._isMaximixed = false;
523
+ this._isLoading = false;
524
+ this._minimalHeader = false;
525
+ this._message = "";
526
+ this._messageType = "danger";
527
+ this._messageVisible = false;
528
+ this._progressType = "circle";
529
+ this._progressColor = "";
530
+ this._showTools = true;
531
+ this._close_card = false;
532
+ this._refresh = false;
533
+ this._refreshColor = "light";
534
+ this._close = true;
535
+ this._toggle = true;
536
+ this._maximize = true;
537
+ this._timeout = 0;
538
+ this._titleText = "";
539
+ this._card_border_style = "";
540
+ this._type = "default";
541
+ this._extraHeaderClass = "";
542
+ this._extraBodyClass = "";
543
+ this._additionalClasses = "";
544
+ this.onRefresh = new EventEmitter();
545
+ }
546
+ set Title(value) {
547
+ this._titleText = value;
548
+ }
549
+ get Title() {
550
+ return this._titleText;
551
+ }
552
+ set Type(value) {
553
+ this._type = value;
554
+ }
555
+ set MinimalHeader(value) {
556
+ this._minimalHeader = value;
557
+ }
558
+ set ProgressType(value) {
559
+ this._progressType = value;
560
+ }
561
+ set ProgressColor(value) {
562
+ this._progressColor = value;
563
+ }
564
+ set Refresh(value) {
565
+ this._refresh = value;
566
+ }
567
+ set RefreshColor(value) {
568
+ this._refreshColor = value;
569
+ }
570
+ set Maximize(value) {
571
+ this._maximize = value;
572
+ }
573
+ set Close(value) {
574
+ this._close = value;
575
+ }
576
+ set Toggle(value) {
577
+ this._toggle = value;
578
+ }
579
+ set HeaderClass(value) {
580
+ this._extraHeaderClass = value;
581
+ }
582
+ set BodyClass(value) {
583
+ this._extraBodyClass = value;
584
+ }
585
+ set AdditionalClasses(value) {
586
+ this._additionalClasses = value;
587
+ }
588
+ set Controls(value) {
589
+ this._showTools = value;
590
+ }
591
+ set ShowMessage(value) {
592
+ this._messageVisible = value;
593
+ }
594
+ set Message(value) {
595
+ this._message = value;
596
+ }
597
+ set Loading(value) {
598
+ this._isLoading = value;
599
+ }
600
+ set TimeOut(value) {
601
+ this._timeout = value;
602
+ }
603
+ set CardBorderStyle(value) {
604
+ this._card_border_style = value;
605
+ }
606
+ toggle() {
607
+ this._isCollapsed = this._isCollapsed === true ? false : true;
608
+ }
609
+ maximize() {
610
+ let nativeElement = this._hostContent.nativeElement;
611
+ if (this._isMaximixed) {
612
+ this._isMaximixed = false;
613
+ nativeElement.style.left = null;
614
+ nativeElement.style.top = null;
615
+ }
616
+ else {
617
+ this._isMaximixed = true;
618
+ let pagecontainer = document.querySelector(".content") ?? new Element();
619
+ console.log(pagecontainer);
620
+ let rect = pagecontainer.getBoundingClientRect();
621
+ let elementRect = nativeElement.getBoundingClientRect();
622
+ let style = window.getComputedStyle(pagecontainer);
623
+ nativeElement.style.left =
624
+ parseFloat(style["marginLeft"]) +
625
+ parseFloat(style["paddingLeft"]) +
626
+ rect.left +
627
+ "px";
628
+ nativeElement.style.top =
629
+ parseFloat(style["padding-top"]) + rect.top + "px";
630
+ }
631
+ }
632
+ alertDismiss() {
633
+ this._messageVisible = false;
634
+ }
635
+ refresh() {
636
+ if (!this._isLoading) {
637
+ this._isLoading = true;
638
+ this.onRefresh.emit();
639
+ }
640
+ if (this._timeout > 0) {
641
+ setTimeout(() => {
642
+ this._isLoading = false;
643
+ }, this._timeout);
644
+ }
645
+ }
646
+ close() {
647
+ this._close_card = true;
648
+ }
649
+ }
650
+ pgCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgCard, deps: [], target: i0.ɵɵFactoryTarget.Component });
651
+ pgCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: pgCard, selector: "pgcard", inputs: { Title: "Title", Type: "Type", MinimalHeader: "MinimalHeader", ProgressType: "ProgressType", ProgressColor: "ProgressColor", Refresh: "Refresh", RefreshColor: "RefreshColor", Maximize: "Maximize", Close: "Close", Toggle: "Toggle", HeaderClass: "HeaderClass", BodyClass: "BodyClass", AdditionalClasses: "AdditionalClasses", Controls: "Controls", ShowMessage: "ShowMessage", Message: "Message", Loading: "Loading", TimeOut: "TimeOut", CardBorderStyle: "CardBorderStyle" }, outputs: { onRefresh: "onRefresh" }, queries: [{ propertyName: "CardTitle", first: true, predicate: ["CardTitle"], descendants: true }, { propertyName: "CardExtraControls", first: true, predicate: ["CardExtraControls"], descendants: true }], viewQueries: [{ propertyName: "_hostContent", first: true, predicate: ["hostContent"], descendants: true }, { propertyName: "minimalCircleLoading", first: true, predicate: ["minimalCircleLoading"], descendants: true }, { propertyName: "minimalCircleLoadingTrigger", first: true, predicate: ["minimalCircleLoadingTrigger"], descendants: true }], ngImport: i0, template: "<div class=\"card card-{{ _type }} {{ _additionalClasses }}\" *ngIf=\"!_close_card\" [class.card-collapsed]=\"_isCollapsed\"\r\n [class.card-maximized]=\"_isMaximixed\" #hostContent class=\"col-sm-12 col-md-6 col-lg-4\"\r\n [ngStyle]=\"{'border': _card_border_style}\">\r\n <div class=\"card-header {{ _extraHeaderClass }}\">\r\n <div class=\"card-title\">\r\n <ng-template [ngTemplateOutlet]=\"CardTitle\"></ng-template>\r\n </div>\r\n <div class=\"card-controls\" *ngIf=\"_showTools == true\">\r\n <ng-template [ngTemplateOutlet]=\"CardExtraControls\"></ng-template>\r\n <ul *ngIf=\"_minimalHeader == false; else minimalBlock\">\r\n <li *ngIf=\"_toggle == true\">\r\n <a href=\"javascript:void(0);\" data-toggle class=\"card-collapse\" (click)=\"toggle()\"><i\r\n class=\"pg pg-arrow_maximize\" [class.pg-arrow_minimize]=\"_isCollapsed\"></i></a>\r\n </li>\r\n <li *ngIf=\"_refresh == true\">\r\n <a href=\"javascript:void(0);\" data-toggle class=\"card-refresh\" (click)=\"refresh()\"><i\r\n class=\"card-icon card-icon-refresh\"></i></a>\r\n </li>\r\n <li *ngIf=\"_maximize == true\">\r\n <a href=\"javascript:void(0);\" data-toggle class=\"card-maximize\" (click)=\"maximize()\"><i\r\n class=\"card-icon card-icon-maximize\"></i></a>\r\n </li>\r\n <li *ngIf=\"_close == true\">\r\n <a href=\"javascript:void(0);\" data-toggle class=\"card-close\" (click)=\"close()\"><i\r\n class=\"card-icon card-icon-close\"></i></a>\r\n </li>\r\n </ul>\r\n <!-- <ng-template #minimalBlock>\r\n <ul>\r\n <li>\r\n <a href=\"javascript:void(0);\" (click)=\"refresh()\" class=\"card-refresh minimal\"\r\n [class.refreshing]=\"_isLoading\">\r\n <i #minimalCircleLoadingTrigger class=\"card-icon card-icon-refresh-lg-{{\r\n _refreshColor == 'light' ? 'white' : 'master'\r\n }}\" [class.fade]=\"_isLoading\"></i>\r\n <i #minimalCircleLoading class=\"card-icon-refresh-lg-white-animated\"\r\n style=\"position: absolute;top:0;left:0\" [class.active]=\"_isLoading\"\r\n [class.hide]=\"_isLoading != true\"></i>\r\n </a>\r\n </li>\r\n </ul>\r\n </ng-template> -->\r\n </div>\r\n </div>\r\n <div class=\"card-body {{ _extraBodyClass }}\" [@collapseState]=\"_isCollapsed == true ? 'inactive' : 'active'\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div *ngIf=\"_messageVisible == true\" class=\"pgn-wrapper\" data-position=\"top\">\r\n <div class=\"pgn pgn-bar push-on-sidebar-open\">\r\n <div class=\"alert alert-danger\">\r\n <span>{{ _message }}</span><button class=\"close\" (click)=\"alertDismiss()\" type=\"button\">\r\n <span aria-hidden=\"true\">\u00D7</span><span class=\"sr-only\">{{'Close' | translate}}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"_messageVisible == true\" class=\"card-progress\" [style.backgroundColor]=\"\r\n _minimalHeader ? 'rgba(0,0,0, 0.6)' : 'rgba(255, 255, 255, 0.8)'\r\n \" style=\" display: block;\"></div>\r\n <div [@fadeAnimation]=\"_isLoading\" class=\"card-progress\" [style.backgroundColor]=\"\r\n _minimalHeader ? 'rgba(0,0,0, 0.6)' : 'rgba(255, 255, 255, 0.8)'\r\n \" style=\"display: block;pointer-events: none\">\r\n <pg-progress *ngIf=\"_minimalHeader == false\" type=\"{{ _progressType }}\" color=\"{{ _progressColor }}\"\r\n indeterminate=\"true\" class=\"\"></pg-progress>\r\n </div>\r\n</div>", components: [{ type: ProgressComponent, selector: "pg-progress", inputs: ["type", "color", "thick", "indeterminate", "value"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "translate": i2$1.TranslatePipe }, animations: [
652
+ trigger("collapseState", [
653
+ state("inactive", style({
654
+ opacity: "0",
655
+ height: 0,
656
+ paddingBottom: "0"
657
+ })),
658
+ state("active", style({
659
+ opacity: "1",
660
+ height: "*",
661
+ paddingBottom: "*"
662
+ })),
663
+ transition("inactive => active", animate("125ms ease-in")),
664
+ transition("active => inactive", animate("125ms ease-out"))
665
+ ]),
666
+ trigger("fadeAnimation", [
667
+ state("false", style({
668
+ opacity: "0",
669
+ visibility: "hidden"
670
+ })),
671
+ state("true", style({
672
+ opacity: "1",
673
+ visibility: "visible"
674
+ })),
675
+ transition("false => true", animate("500ms ease-in")),
676
+ transition("true => false", animate("500ms ease-out"))
677
+ ])
678
+ ], encapsulation: i0.ViewEncapsulation.None });
679
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgCard, decorators: [{
680
+ type: Component,
681
+ args: [{ selector: "pgcard", encapsulation: ViewEncapsulation.None, animations: [
682
+ trigger("collapseState", [
683
+ state("inactive", style({
684
+ opacity: "0",
685
+ height: 0,
686
+ paddingBottom: "0"
687
+ })),
688
+ state("active", style({
689
+ opacity: "1",
690
+ height: "*",
691
+ paddingBottom: "*"
692
+ })),
693
+ transition("inactive => active", animate("125ms ease-in")),
694
+ transition("active => inactive", animate("125ms ease-out"))
695
+ ]),
696
+ trigger("fadeAnimation", [
697
+ state("false", style({
698
+ opacity: "0",
699
+ visibility: "hidden"
700
+ })),
701
+ state("true", style({
702
+ opacity: "1",
703
+ visibility: "visible"
704
+ })),
705
+ transition("false => true", animate("500ms ease-in")),
706
+ transition("true => false", animate("500ms ease-out"))
707
+ ])
708
+ ], template: "<div class=\"card card-{{ _type }} {{ _additionalClasses }}\" *ngIf=\"!_close_card\" [class.card-collapsed]=\"_isCollapsed\"\r\n [class.card-maximized]=\"_isMaximixed\" #hostContent class=\"col-sm-12 col-md-6 col-lg-4\"\r\n [ngStyle]=\"{'border': _card_border_style}\">\r\n <div class=\"card-header {{ _extraHeaderClass }}\">\r\n <div class=\"card-title\">\r\n <ng-template [ngTemplateOutlet]=\"CardTitle\"></ng-template>\r\n </div>\r\n <div class=\"card-controls\" *ngIf=\"_showTools == true\">\r\n <ng-template [ngTemplateOutlet]=\"CardExtraControls\"></ng-template>\r\n <ul *ngIf=\"_minimalHeader == false; else minimalBlock\">\r\n <li *ngIf=\"_toggle == true\">\r\n <a href=\"javascript:void(0);\" data-toggle class=\"card-collapse\" (click)=\"toggle()\"><i\r\n class=\"pg pg-arrow_maximize\" [class.pg-arrow_minimize]=\"_isCollapsed\"></i></a>\r\n </li>\r\n <li *ngIf=\"_refresh == true\">\r\n <a href=\"javascript:void(0);\" data-toggle class=\"card-refresh\" (click)=\"refresh()\"><i\r\n class=\"card-icon card-icon-refresh\"></i></a>\r\n </li>\r\n <li *ngIf=\"_maximize == true\">\r\n <a href=\"javascript:void(0);\" data-toggle class=\"card-maximize\" (click)=\"maximize()\"><i\r\n class=\"card-icon card-icon-maximize\"></i></a>\r\n </li>\r\n <li *ngIf=\"_close == true\">\r\n <a href=\"javascript:void(0);\" data-toggle class=\"card-close\" (click)=\"close()\"><i\r\n class=\"card-icon card-icon-close\"></i></a>\r\n </li>\r\n </ul>\r\n <!-- <ng-template #minimalBlock>\r\n <ul>\r\n <li>\r\n <a href=\"javascript:void(0);\" (click)=\"refresh()\" class=\"card-refresh minimal\"\r\n [class.refreshing]=\"_isLoading\">\r\n <i #minimalCircleLoadingTrigger class=\"card-icon card-icon-refresh-lg-{{\r\n _refreshColor == 'light' ? 'white' : 'master'\r\n }}\" [class.fade]=\"_isLoading\"></i>\r\n <i #minimalCircleLoading class=\"card-icon-refresh-lg-white-animated\"\r\n style=\"position: absolute;top:0;left:0\" [class.active]=\"_isLoading\"\r\n [class.hide]=\"_isLoading != true\"></i>\r\n </a>\r\n </li>\r\n </ul>\r\n </ng-template> -->\r\n </div>\r\n </div>\r\n <div class=\"card-body {{ _extraBodyClass }}\" [@collapseState]=\"_isCollapsed == true ? 'inactive' : 'active'\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div *ngIf=\"_messageVisible == true\" class=\"pgn-wrapper\" data-position=\"top\">\r\n <div class=\"pgn pgn-bar push-on-sidebar-open\">\r\n <div class=\"alert alert-danger\">\r\n <span>{{ _message }}</span><button class=\"close\" (click)=\"alertDismiss()\" type=\"button\">\r\n <span aria-hidden=\"true\">\u00D7</span><span class=\"sr-only\">{{'Close' | translate}}</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"_messageVisible == true\" class=\"card-progress\" [style.backgroundColor]=\"\r\n _minimalHeader ? 'rgba(0,0,0, 0.6)' : 'rgba(255, 255, 255, 0.8)'\r\n \" style=\" display: block;\"></div>\r\n <div [@fadeAnimation]=\"_isLoading\" class=\"card-progress\" [style.backgroundColor]=\"\r\n _minimalHeader ? 'rgba(0,0,0, 0.6)' : 'rgba(255, 255, 255, 0.8)'\r\n \" style=\"display: block;pointer-events: none\">\r\n <pg-progress *ngIf=\"_minimalHeader == false\" type=\"{{ _progressType }}\" color=\"{{ _progressColor }}\"\r\n indeterminate=\"true\" class=\"\"></pg-progress>\r\n </div>\r\n</div>" }]
709
+ }], propDecorators: { _hostContent: [{
710
+ type: ViewChild,
711
+ args: ["hostContent"]
712
+ }], minimalCircleLoading: [{
713
+ type: ViewChild,
714
+ args: ["minimalCircleLoading"]
715
+ }], minimalCircleLoadingTrigger: [{
716
+ type: ViewChild,
717
+ args: ["minimalCircleLoadingTrigger"]
718
+ }], CardTitle: [{
719
+ type: ContentChild,
720
+ args: ["CardTitle"]
721
+ }], CardExtraControls: [{
722
+ type: ContentChild,
723
+ args: ["CardExtraControls"]
724
+ }], Title: [{
725
+ type: Input
726
+ }], Type: [{
727
+ type: Input
728
+ }], MinimalHeader: [{
729
+ type: Input
730
+ }], ProgressType: [{
731
+ type: Input
732
+ }], ProgressColor: [{
733
+ type: Input
734
+ }], Refresh: [{
735
+ type: Input
736
+ }], RefreshColor: [{
737
+ type: Input
738
+ }], Maximize: [{
739
+ type: Input
740
+ }], Close: [{
741
+ type: Input
742
+ }], Toggle: [{
743
+ type: Input
744
+ }], HeaderClass: [{
745
+ type: Input
746
+ }], BodyClass: [{
747
+ type: Input
748
+ }], AdditionalClasses: [{
749
+ type: Input
750
+ }], Controls: [{
751
+ type: Input
752
+ }], ShowMessage: [{
753
+ type: Input
754
+ }], Message: [{
755
+ type: Input
756
+ }], Loading: [{
757
+ type: Input
758
+ }], TimeOut: [{
759
+ type: Input
760
+ }], CardBorderStyle: [{
761
+ type: Input
762
+ }], onRefresh: [{
763
+ type: Output
764
+ }] } });
765
+
766
+ class CardComponent {
767
+ constructor(router) {
768
+ this.router = router;
769
+ }
770
+ ngOnInit() {
771
+ }
772
+ imgClick() {
773
+ this.router.navigate(['/', this.imgUrl.toString()]);
774
+ }
775
+ }
776
+ CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CardComponent, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component });
777
+ CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CardComponent, selector: "mefdev-card", inputs: { card_type: "card_type", img: "img", imgUrl: "imgUrl", description: "description" }, queries: [{ propertyName: "card_title", first: true, predicate: ["card_title"], descendants: true }, { propertyName: "card_footer", first: true, predicate: ["card_footer"], descendants: true }], ngImport: i0, template: "\r\n <pgcard \r\n MinimalHeader=\"true\" \r\n TimeOut=\"2500\" \r\n [Refresh]=\"false\" \r\n [Close]=\"false\">\r\n \r\n <ng-template #CardTitle>\r\n <ng-template class=\"card-title\" [ngTemplateOutlet]=\"card_title\"></ng-template>\r\n </ng-template>\r\n\r\n <div class=\"plugin-type\"> \r\n {{ card_type | translate }}\r\n </div>\r\n \r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"m-l-2 card-description\">\r\n <div *ngIf=\"!description || description == ''\" class=\"card-no-description\"> {{'No plugin description' | translate }}</div>\r\n <p>\r\n {{description}}\r\n </p> \r\n </div>\r\n </div>\r\n <div class=\"col-12 mt-3 text-center card-img\">\r\n \r\n <div *ngIf=\"!img || img == ''\" >\r\n <img src=\"assets/images/md_icon.png\"\r\n style=\"max-width: 110px; max-height: 110px;\"/>\r\n </div>\r\n <div *ngIf=\"img\" >\r\n <img src=\"{{img}}\" alt=\"\" class=\"image-responsive-height img-middle\"\r\n height=\"110px\" \r\n style=\"max-width: 110px; max-height: 110px;\"\r\n onclick=\"imgClick()\"\r\n />\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"row mb-3 mt-3\">\r\n <div class=\"col-12\">\r\n <ng-template [ngTemplateOutlet]=\"card_footer\"></ng-template> \r\n </div> \r\n </div>\r\n </pgcard>", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,:host::ng-deep .plugin-type,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,:host::ng-deep .card-title span,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,:host::ng-deep .card-description,:host::ng-deep .card-no-description,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}:host::ng-deep .card-default{background-color:#eaeaea;border-radius:5px}:host::ng-deep .card-header{height:72px}:host::ng-deep .card-title{width:70%}:host::ng-deep .plugin-type{right:20px;top:25px;position:absolute;background-color:#cf0106;border-radius:5px 0 0 5px;margin-right:-20px;height:28px;padding:5px 15px;color:#fff}:host::ng-deep .card-description{height:40px;overflow-y:clip;color:#4d4d4d}:host::ng-deep .card-no-description{overflow-y:clip;height:60px;color:#929292}:host::ng-deep .card-img{padding:0;height:130px;background-color:#fff;display:flex;align-items:center;justify-content:center;width:-webkit-fill-available;margin-right:calc(var(--bs-gutter-x) * .5);margin-left:calc(var(--bs-gutter-x) * .5)}\n"], components: [{ type: pgCard, selector: "pgcard", inputs: ["Title", "Type", "MinimalHeader", "ProgressType", "ProgressColor", "Refresh", "RefreshColor", "Maximize", "Close", "Toggle", "HeaderClass", "BodyClass", "AdditionalClasses", "Controls", "ShowMessage", "Message", "Loading", "TimeOut", "CardBorderStyle"], outputs: ["onRefresh"] }], directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i2$1.TranslatePipe } });
778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CardComponent, decorators: [{
779
+ type: Component,
780
+ args: [{ selector: 'mefdev-card', template: "\r\n <pgcard \r\n MinimalHeader=\"true\" \r\n TimeOut=\"2500\" \r\n [Refresh]=\"false\" \r\n [Close]=\"false\">\r\n \r\n <ng-template #CardTitle>\r\n <ng-template class=\"card-title\" [ngTemplateOutlet]=\"card_title\"></ng-template>\r\n </ng-template>\r\n\r\n <div class=\"plugin-type\"> \r\n {{ card_type | translate }}\r\n </div>\r\n \r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"m-l-2 card-description\">\r\n <div *ngIf=\"!description || description == ''\" class=\"card-no-description\"> {{'No plugin description' | translate }}</div>\r\n <p>\r\n {{description}}\r\n </p> \r\n </div>\r\n </div>\r\n <div class=\"col-12 mt-3 text-center card-img\">\r\n \r\n <div *ngIf=\"!img || img == ''\" >\r\n <img src=\"assets/images/md_icon.png\"\r\n style=\"max-width: 110px; max-height: 110px;\"/>\r\n </div>\r\n <div *ngIf=\"img\" >\r\n <img src=\"{{img}}\" alt=\"\" class=\"image-responsive-height img-middle\"\r\n height=\"110px\" \r\n style=\"max-width: 110px; max-height: 110px;\"\r\n onclick=\"imgClick()\"\r\n />\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"row mb-3 mt-3\">\r\n <div class=\"col-12\">\r\n <ng-template [ngTemplateOutlet]=\"card_footer\"></ng-template> \r\n </div> \r\n </div>\r\n </pgcard>", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,:host::ng-deep .plugin-type,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,:host::ng-deep .card-title span,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,:host::ng-deep .card-description,:host::ng-deep .card-no-description,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}:host::ng-deep .card-default{background-color:#eaeaea;border-radius:5px}:host::ng-deep .card-header{height:72px}:host::ng-deep .card-title{width:70%}:host::ng-deep .plugin-type{right:20px;top:25px;position:absolute;background-color:#cf0106;border-radius:5px 0 0 5px;margin-right:-20px;height:28px;padding:5px 15px;color:#fff}:host::ng-deep .card-description{height:40px;overflow-y:clip;color:#4d4d4d}:host::ng-deep .card-no-description{overflow-y:clip;height:60px;color:#929292}:host::ng-deep .card-img{padding:0;height:130px;background-color:#fff;display:flex;align-items:center;justify-content:center;width:-webkit-fill-available;margin-right:calc(var(--bs-gutter-x) * .5);margin-left:calc(var(--bs-gutter-x) * .5)}\n"] }]
781
+ }], ctorParameters: function () { return [{ type: i1$1.Router }]; }, propDecorators: { card_title: [{
782
+ type: ContentChild,
783
+ args: ["card_title"]
784
+ }], card_footer: [{
785
+ type: ContentChild,
786
+ args: ["card_footer"]
787
+ }], card_type: [{
788
+ type: Input
789
+ }], img: [{
790
+ type: Input
791
+ }], imgUrl: [{
792
+ type: Input
793
+ }], description: [{
794
+ type: Input
795
+ }] } });
796
+
797
+ var CartTypeColors;
798
+ (function (CartTypeColors) {
799
+ CartTypeColors["UNSET"] = "UNSET";
800
+ CartTypeColors["RED"] = "RED";
801
+ CartTypeColors["GREEN"] = "GREEN";
802
+ })(CartTypeColors || (CartTypeColors = {}));
803
+
804
+ class CardLongComponent {
805
+ constructor(router) {
806
+ this.router = router;
807
+ this.type_color = CartTypeColors.UNSET;
808
+ }
809
+ ngOnInit() {
810
+ }
811
+ imgClick() {
812
+ this.router.navigate(['/', this.imgUrl.toString()]);
813
+ }
814
+ }
815
+ CardLongComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CardLongComponent, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component });
816
+ CardLongComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CardLongComponent, selector: "medev-card-long", inputs: { type_text: "type_text", type_color: "type_color", img: "img", imgUrl: "imgUrl", description: "description" }, queries: [{ propertyName: "title", first: true, predicate: ["title"], descendants: true }, { propertyName: "params", first: true, predicate: ["params"], descendants: true }, { propertyName: "second_col", first: true, predicate: ["second_col"], descendants: true }, { propertyName: "third_col", first: true, predicate: ["third_col"], descendants: true }], ngImport: i0, template: "\r\n <pgcard \r\n MinimalHeader=\"true\" \r\n TimeOut=\"2500\" \r\n [Refresh]=\"false\" \r\n [Close]=\"false\"\r\n >\r\n \r\n <ng-template #CardTitle>\r\n <ng-template class=\"card-title\" [ngTemplateOutlet]=\"title\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template #CardExtraControls>\r\n <div class=\"plugin-type\" \r\n [ngClass] = \"{\r\n 'b-color-Light-Gray-1': type_color === 'UNSET',\r\n 'b-color-Red': type_color === 'RED',\r\n 'b-color-Green': type_color === 'GREEN'}\">\r\n {{type_text}}\r\n </div>\r\n </ng-template>\r\n\r\n <div class=\"row h-100 m-b-10\">\r\n <div class=\"col-lg-3 col-12 card-col\">\r\n <div class=\"row\">\r\n <div class=\"col-12 card-img m-b-10\">\r\n <div *ngIf=\"!img || img == ''\" >\r\n <img src=\"assets/images/md_icon.png\"\r\n style=\"max-width: 110px; max-height: 110px;\"/>\r\n </div>\r\n <div *ngIf=\"img\">\r\n <img src=\"{{img}}\" alt=\"\" class=\"image-responsive-height img-middle\"\r\n height=\"110px\" \r\n style=\"max-width: 110px; max-height: 110px;\"\r\n onclick=\"imgClick()\"\r\n />\r\n </div> \r\n </div>\r\n <div class=\"col-12 m-t-2 body-6 text-dark params-block\">\r\n <ng-template [ngTemplateOutlet]=\"params\"></ng-template> \r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-lg-5 col-12 card-col\">\r\n <ng-template [ngTemplateOutlet]=\"second_col\"></ng-template> \r\n </div>\r\n \r\n <div class=\"col-lg-4 col-12 card-col mt-lg-0 mt-5\">\r\n <ng-template [ngTemplateOutlet]=\"third_col\"></ng-template> \r\n </div> \r\n\r\n </div>\r\n </pgcard>", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,:host::ng-deep .card-title span,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,:host::ng-deep .plugin-type,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,:host::ng-deep .card-description,:host::ng-deep .card-no-description,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}:host::ng-deep .params-block .row{margin-top:.75em}:host::ng-deep .params-block .row:last-child{margin-bottom:.75em}:host::ng-deep .card-col{min-height:220px}:host::ng-deep .header-link{opacity:1}:host::ng-deep .card-default{background-color:#f3f3f3;border-radius:5px}:host::ng-deep .card-title{width:80%;color:#000}:host::ng-deep .plugin-type{border-radius:5px 0 0 5px;margin-right:-20px;height:28px;padding:5px 15px;color:#fff}:host::ng-deep .card-description{height:40px;overflow-y:clip;color:#4d4d4d}:host::ng-deep .card-no-description{overflow-y:clip;height:60px;color:#929292}:host::ng-deep .card-img{padding:0;height:130px;background-color:#fff;display:flex;align-items:center;justify-content:center;width:-webkit-fill-available;margin-right:calc(var(--bs-gutter-x) * .5);margin-left:calc(var(--bs-gutter-x) * .5)}\n"], components: [{ type: pgCard, selector: "pgcard", inputs: ["Title", "Type", "MinimalHeader", "ProgressType", "ProgressColor", "Refresh", "RefreshColor", "Maximize", "Close", "Toggle", "HeaderClass", "BodyClass", "AdditionalClasses", "Controls", "ShowMessage", "Message", "Loading", "TimeOut", "CardBorderStyle"], outputs: ["onRefresh"] }], directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
817
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CardLongComponent, decorators: [{
818
+ type: Component,
819
+ args: [{ selector: 'medev-card-long', template: "\r\n <pgcard \r\n MinimalHeader=\"true\" \r\n TimeOut=\"2500\" \r\n [Refresh]=\"false\" \r\n [Close]=\"false\"\r\n >\r\n \r\n <ng-template #CardTitle>\r\n <ng-template class=\"card-title\" [ngTemplateOutlet]=\"title\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template #CardExtraControls>\r\n <div class=\"plugin-type\" \r\n [ngClass] = \"{\r\n 'b-color-Light-Gray-1': type_color === 'UNSET',\r\n 'b-color-Red': type_color === 'RED',\r\n 'b-color-Green': type_color === 'GREEN'}\">\r\n {{type_text}}\r\n </div>\r\n </ng-template>\r\n\r\n <div class=\"row h-100 m-b-10\">\r\n <div class=\"col-lg-3 col-12 card-col\">\r\n <div class=\"row\">\r\n <div class=\"col-12 card-img m-b-10\">\r\n <div *ngIf=\"!img || img == ''\" >\r\n <img src=\"assets/images/md_icon.png\"\r\n style=\"max-width: 110px; max-height: 110px;\"/>\r\n </div>\r\n <div *ngIf=\"img\">\r\n <img src=\"{{img}}\" alt=\"\" class=\"image-responsive-height img-middle\"\r\n height=\"110px\" \r\n style=\"max-width: 110px; max-height: 110px;\"\r\n onclick=\"imgClick()\"\r\n />\r\n </div> \r\n </div>\r\n <div class=\"col-12 m-t-2 body-6 text-dark params-block\">\r\n <ng-template [ngTemplateOutlet]=\"params\"></ng-template> \r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-lg-5 col-12 card-col\">\r\n <ng-template [ngTemplateOutlet]=\"second_col\"></ng-template> \r\n </div>\r\n \r\n <div class=\"col-lg-4 col-12 card-col mt-lg-0 mt-5\">\r\n <ng-template [ngTemplateOutlet]=\"third_col\"></ng-template> \r\n </div> \r\n\r\n </div>\r\n </pgcard>", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,:host::ng-deep .card-title span,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,:host::ng-deep .plugin-type,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,:host::ng-deep .card-description,:host::ng-deep .card-no-description,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}:host::ng-deep .params-block .row{margin-top:.75em}:host::ng-deep .params-block .row:last-child{margin-bottom:.75em}:host::ng-deep .card-col{min-height:220px}:host::ng-deep .header-link{opacity:1}:host::ng-deep .card-default{background-color:#f3f3f3;border-radius:5px}:host::ng-deep .card-title{width:80%;color:#000}:host::ng-deep .plugin-type{border-radius:5px 0 0 5px;margin-right:-20px;height:28px;padding:5px 15px;color:#fff}:host::ng-deep .card-description{height:40px;overflow-y:clip;color:#4d4d4d}:host::ng-deep .card-no-description{overflow-y:clip;height:60px;color:#929292}:host::ng-deep .card-img{padding:0;height:130px;background-color:#fff;display:flex;align-items:center;justify-content:center;width:-webkit-fill-available;margin-right:calc(var(--bs-gutter-x) * .5);margin-left:calc(var(--bs-gutter-x) * .5)}\n"] }]
820
+ }], ctorParameters: function () { return [{ type: i1$1.Router }]; }, propDecorators: { title: [{
821
+ type: ContentChild,
822
+ args: ["title"]
823
+ }], params: [{
824
+ type: ContentChild,
825
+ args: ["params"]
826
+ }], second_col: [{
827
+ type: ContentChild,
828
+ args: ["second_col"]
829
+ }], third_col: [{
830
+ type: ContentChild,
831
+ args: ["third_col"]
832
+ }], type_text: [{
833
+ type: Input
834
+ }], type_color: [{
835
+ type: Input
836
+ }], img: [{
837
+ type: Input
838
+ }], imgUrl: [{
839
+ type: Input
840
+ }], description: [{
841
+ type: Input
842
+ }] } });
843
+
844
+ class CardSimpleComponent {
845
+ constructor() {
846
+ this.isDisabled = false;
847
+ }
848
+ ngOnInit() {
849
+ }
850
+ }
851
+ CardSimpleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CardSimpleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
852
+ CardSimpleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CardSimpleComponent, selector: "medev-card-simple", inputs: { isDisabled: ["disabled", "isDisabled"] }, queries: [{ propertyName: "card_title", first: true, predicate: ["card_title"], descendants: true }], ngImport: i0, template: "<div class=\"card-simple\" [ngClass]=\"{ 'unused-block':isDisabled }\">\r\n <div class=\"row m-2 body-1\" *ngIf=\"card_title\">\r\n <div class=\"col-12\">\r\n <ng-template [ngTemplateOutlet]=\"card_title\"></ng-template>\r\n </div>\r\n </div>\r\n <div class=\"row m-2\">\r\n <div class=\"col-12\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}.card-simple{background-color:#f3f3f3;padding:.5em;border-radius:5px}.unused-block{opacity:.6;pointer-events:none}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CardSimpleComponent, decorators: [{
854
+ type: Component,
855
+ args: [{ selector: 'medev-card-simple', template: "<div class=\"card-simple\" [ngClass]=\"{ 'unused-block':isDisabled }\">\r\n <div class=\"row m-2 body-1\" *ngIf=\"card_title\">\r\n <div class=\"col-12\">\r\n <ng-template [ngTemplateOutlet]=\"card_title\"></ng-template>\r\n </div>\r\n </div>\r\n <div class=\"row m-2\">\r\n <div class=\"col-12\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}.card-simple{background-color:#f3f3f3;padding:.5em;border-radius:5px}.unused-block{opacity:.6;pointer-events:none}\n"] }]
856
+ }], ctorParameters: function () { return []; }, propDecorators: { isDisabled: [{
857
+ type: Input,
858
+ args: ["disabled"]
859
+ }], card_title: [{
860
+ type: ContentChild,
861
+ args: ["card_title"]
862
+ }] } });
863
+
864
+ function toBoolean(value) {
865
+ return value === '' || (value && value !== 'false');
866
+ }
867
+
868
+ /* tslint:disable:no-any */
869
+ class OptionPipe {
870
+ // TODO: enable type checking for this method
871
+ transform(options, value) {
872
+ if (value.searchText) {
873
+ let _options = options.filter(option => option.Label &&
874
+ option.Label.toLowerCase().indexOf(value.searchText.toLowerCase()) !==
875
+ -1);
876
+ if (value.tags) {
877
+ _options = options.filter(option => option.Label &&
878
+ option.Label.toLowerCase() === value.searchText.toLowerCase());
879
+ }
880
+ if (_options.length) {
881
+ return _options;
882
+ }
883
+ else {
884
+ return [
885
+ {
886
+ Value: value.value,
887
+ _value: value.value,
888
+ Disabled: value.disabled,
889
+ _disabled: value.disabled,
890
+ Label: value.notFoundContent,
891
+ _label: value.notFoundContent
892
+ }
893
+ ];
894
+ }
895
+ }
896
+ else {
897
+ return options;
898
+ }
899
+ }
900
+ }
901
+ OptionPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: OptionPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
902
+ OptionPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: OptionPipe, name: "OptionPipe" });
903
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: OptionPipe, decorators: [{
904
+ type: Pipe,
905
+ args: [{ name: "OptionPipe" }]
906
+ }] });
907
+
908
+ /**
909
+ * complex but work well
910
+ * TODO: rebuild latter
911
+ */
912
+ class pgSelectComponent {
913
+ constructor(_elementRef, _renderer, cDRef) {
914
+ this._elementRef = _elementRef;
915
+ this._renderer = _renderer;
916
+ this.cDRef = cDRef;
917
+ this._allowClear = false;
918
+ this._disabled = false;
919
+ this._isTags = false;
920
+ this._isMultiple = false;
921
+ this._keepUnListOptions = false;
922
+ this._showSearch = false;
923
+ this._isOpen = false;
924
+ this._prefixCls = "pg-select";
925
+ this._classList = [];
926
+ this._dropDownPrefixCls = `${this._prefixCls}-dropdown`;
927
+ this._selectionPrefixCls = `${this._prefixCls}-selection`;
928
+ this._placeholder = "placeholder";
929
+ this._notFoundContent = "No Content";
930
+ this._searchText = "";
931
+ this._triggerWidth = 0;
932
+ this._selectedOptions = new Set();
933
+ this._options = [];
934
+ this._cacheOptions = [];
935
+ this._filterOptions = [];
936
+ this._tagsOptions = [];
937
+ this._isMultiInit = false;
938
+ this._dropDownPosition = "bottom";
939
+ this._composing = false;
940
+ // ngModel Access
941
+ this.onChange = () => null;
942
+ this.onTouched = () => null;
943
+ this.SearchChange = new EventEmitter();
944
+ this.change = new EventEmitter();
945
+ this.OpenChange = new EventEmitter();
946
+ this.ScrollToBottom = new EventEmitter();
947
+ this.Filter = true;
948
+ this.MaxMultiple = Infinity;
949
+ this.FirstDefault = false;
950
+ /** new -option insert or new tags insert */
951
+ // @ts-ignore
952
+ this.addOption = option => {
953
+ this._options.push(option);
954
+ if (!this._isTags) {
955
+ if (option.Value) {
956
+ this.updateSelectedOption(this._value);
957
+ }
958
+ else {
959
+ this.forceUpdateSelectedOption(this._value);
960
+ }
961
+ }
962
+ };
963
+ /** cancel select multiple option */ // @ts-ignore
964
+ this.unSelectMultipleOption = (option, $event, emitChange = true) => {
965
+ this._operatingMultipleOption = option;
966
+ this._selectedOptions.delete(option);
967
+ if (emitChange) {
968
+ this.emitMultipleOptions();
969
+ }
970
+ // 对Tag进行特殊处理
971
+ if (this._isTags &&
972
+ this._options.indexOf(option) !== -1 &&
973
+ this._tagsOptions.indexOf(option) !== -1) {
974
+ this.removeOption(option);
975
+ this._tagsOptions.splice(this._tagsOptions.indexOf(option), 1);
976
+ }
977
+ if ($event) {
978
+ $event.preventDefault();
979
+ $event.stopPropagation();
980
+ }
981
+ };
982
+ this._el = this._elementRef.nativeElement;
983
+ }
984
+ set AllowClear(value) {
985
+ this._allowClear = toBoolean(value);
986
+ }
987
+ get AllowClear() {
988
+ return this._allowClear;
989
+ }
990
+ set KeepUnListOptions(value) {
991
+ this._keepUnListOptions = toBoolean(value);
992
+ }
993
+ get KeepUnListOptions() {
994
+ return this._keepUnListOptions;
995
+ }
996
+ set Mode(value) {
997
+ this._mode = value;
998
+ if (this._mode === "multiple") {
999
+ this.Multiple = true;
1000
+ }
1001
+ else if (this._mode === "tags") {
1002
+ this.Tags = true;
1003
+ }
1004
+ else if (this._mode === "combobox") {
1005
+ this.ShowSearch = true;
1006
+ }
1007
+ }
1008
+ set Multiple(value) {
1009
+ this._isMultiple = toBoolean(value);
1010
+ if (this._isMultiple) {
1011
+ this.ShowSearch = true;
1012
+ }
1013
+ }
1014
+ get Multiple() {
1015
+ return this._isMultiple;
1016
+ }
1017
+ set PlaceHolder(value) {
1018
+ this._placeholder = value;
1019
+ }
1020
+ get PlaceHolder() {
1021
+ return this._placeholder;
1022
+ }
1023
+ set NotFoundContent(value) {
1024
+ this._notFoundContent = value;
1025
+ }
1026
+ get NotFoundContent() {
1027
+ return this._notFoundContent;
1028
+ }
1029
+ set Size(value) {
1030
+ // @ts-ignore
1031
+ this._size = { large: "lg", small: "sm" }[value];
1032
+ this.setClassMap();
1033
+ }
1034
+ get Size() {
1035
+ return this._size;
1036
+ }
1037
+ set ShowSearch(value) {
1038
+ this._showSearch = toBoolean(value);
1039
+ }
1040
+ get ShowSearch() {
1041
+ return this._showSearch;
1042
+ }
1043
+ set Tags(value) {
1044
+ const isTags = toBoolean(value);
1045
+ this._isTags = isTags;
1046
+ this.Multiple = isTags;
1047
+ }
1048
+ get Tags() {
1049
+ return this._isTags;
1050
+ }
1051
+ set Disabled(value) {
1052
+ this._disabled = toBoolean(value);
1053
+ this.closeDropDown();
1054
+ this.setClassMap();
1055
+ }
1056
+ get Disabled() {
1057
+ return this._disabled;
1058
+ }
1059
+ set Open(value) {
1060
+ const isOpen = toBoolean(value);
1061
+ if (this._isOpen === isOpen) {
1062
+ return;
1063
+ }
1064
+ if (isOpen) {
1065
+ this.scrollToActive();
1066
+ this._setTriggerWidth();
1067
+ }
1068
+ this._isOpen = isOpen;
1069
+ this.OpenChange.emit(this._isOpen);
1070
+ this.setClassMap();
1071
+ if (this._isOpen) {
1072
+ setTimeout(() => {
1073
+ this.checkDropDownScroll();
1074
+ });
1075
+ }
1076
+ }
1077
+ get Open() {
1078
+ return this._isOpen;
1079
+ }
1080
+ /** -option remove or tags remove */
1081
+ removeOption(option) {
1082
+ this._options.splice(this._options.indexOf(option), 1);
1083
+ if (!this._isTags) {
1084
+ this.forceUpdateSelectedOption(this._value);
1085
+ }
1086
+ }
1087
+ /** dropdown position changed */
1088
+ onPositionChange(position) {
1089
+ this._dropDownPosition = position.connectionPair.originY;
1090
+ }
1091
+ compositionStart() {
1092
+ this._composing = true;
1093
+ }
1094
+ compositionEnd() {
1095
+ this._composing = false;
1096
+ }
1097
+ /** clear single selected option */
1098
+ clearSelect($event) {
1099
+ if ($event) {
1100
+ $event.preventDefault();
1101
+ $event.stopPropagation();
1102
+ } // @ts-ignore
1103
+ this._selectedOption = null; // @ts-ignore
1104
+ this.Value = null; // @ts-ignore
1105
+ this.onChange(null);
1106
+ }
1107
+ /** click dropdown option by user */
1108
+ clickOption(option, $event) {
1109
+ if (!option) {
1110
+ return;
1111
+ }
1112
+ this.chooseOption(option, true, $event);
1113
+ this.clearSearchText();
1114
+ if (!this._isMultiple) {
1115
+ this.Open = false;
1116
+ }
1117
+ }
1118
+ /** choose option */
1119
+ chooseOption(option, isUserClick = false, $event) {
1120
+ if ($event) {
1121
+ $event.preventDefault();
1122
+ $event.stopPropagation();
1123
+ }
1124
+ this._activeFilterOption = option;
1125
+ if (option && !option.Disabled) {
1126
+ if (!this.Multiple) {
1127
+ this._selectedOption = option;
1128
+ this._value = option.Value;
1129
+ if (isUserClick) {
1130
+ this.change.next(this._value);
1131
+ this.onChange(option.Value);
1132
+ }
1133
+ }
1134
+ else {
1135
+ if (isUserClick) {
1136
+ this.isInSet(this._selectedOptions, option)
1137
+ ? this.unSelectMultipleOption(option)
1138
+ : this.selectMultipleOption(option);
1139
+ }
1140
+ }
1141
+ }
1142
+ }
1143
+ updateWidth(element, text) {
1144
+ if (text) {
1145
+ /** wait for scroll width change */ // @ts-ignore
1146
+ setTimeout(_ => {
1147
+ this._renderer.setStyle(element, "width", `${element.scrollWidth}px`);
1148
+ });
1149
+ }
1150
+ else {
1151
+ this._renderer.removeStyle(element, "width");
1152
+ }
1153
+ }
1154
+ /** determine if option in set */
1155
+ isInSet(set, option) {
1156
+ return Array.from(set).find((data) => data.Value === option.Value);
1157
+ }
1158
+ /** select multiple option */
1159
+ selectMultipleOption(option, $event) {
1160
+ /** if tags do push to tag option */
1161
+ if (this._isTags &&
1162
+ this._options.indexOf(option) === -1 &&
1163
+ this._tagsOptions.indexOf(option) === -1) {
1164
+ this.addOption(option);
1165
+ this._tagsOptions.push(option);
1166
+ }
1167
+ this._operatingMultipleOption = option;
1168
+ if (this._selectedOptions.size < this.MaxMultiple) {
1169
+ this._selectedOptions.add(option);
1170
+ }
1171
+ this.emitMultipleOptions();
1172
+ if ($event) {
1173
+ $event.preventDefault();
1174
+ $event.stopPropagation();
1175
+ }
1176
+ }
1177
+ /** emit multiple options */
1178
+ emitMultipleOptions() {
1179
+ if (this._isMultiInit) {
1180
+ return;
1181
+ }
1182
+ const arrayOptions = Array.from(this._selectedOptions);
1183
+ this._value = arrayOptions.map(item => item.Value);
1184
+ this.onChange(this._value);
1185
+ }
1186
+ /** update selected option when add remove option etc */
1187
+ updateSelectedOption(currentModelValue, triggerByNgModel = false) {
1188
+ if (currentModelValue == null) {
1189
+ return;
1190
+ }
1191
+ if (this.Multiple) {
1192
+ const selectedOptions = this._options.filter(item => {
1193
+ return item != null && currentModelValue.indexOf(item.Value) !== -1;
1194
+ });
1195
+ if ((this.KeepUnListOptions || this.Tags) && !triggerByNgModel) {
1196
+ const _selectedOptions = Array.from(this._selectedOptions);
1197
+ selectedOptions.forEach(option => {
1198
+ const _exist = _selectedOptions.some(item => item._value === option._value);
1199
+ if (!_exist) {
1200
+ this._selectedOptions.add(option);
1201
+ }
1202
+ });
1203
+ }
1204
+ else {
1205
+ this._selectedOptions = new Set();
1206
+ selectedOptions.forEach(option => {
1207
+ this._selectedOptions.add(option);
1208
+ });
1209
+ }
1210
+ }
1211
+ else {
1212
+ const selectedOption = this._options.filter(item => {
1213
+ return item != null && item.Value === currentModelValue;
1214
+ });
1215
+ this.chooseOption(selectedOption[0]);
1216
+ }
1217
+ }
1218
+ forceUpdateSelectedOption(value) {
1219
+ /** trigger dirty check */ // @ts-ignore
1220
+ setTimeout(_ => {
1221
+ this.updateSelectedOption(value);
1222
+ });
1223
+ }
1224
+ get Value() {
1225
+ return this._value;
1226
+ }
1227
+ set Value(value) {
1228
+ this._updateValue(value);
1229
+ }
1230
+ clearAllSelectedOption(emitChange = true) {
1231
+ this._selectedOptions.forEach(item => {
1232
+ this.unSelectMultipleOption(item, null, emitChange);
1233
+ });
1234
+ }
1235
+ handleKeyEnterEvent(event) {
1236
+ /** when composing end */
1237
+ if (!this._composing && this._isOpen) {
1238
+ event.preventDefault();
1239
+ event.stopPropagation();
1240
+ this.updateFilterOption(false);
1241
+ this.clickOption(this._activeFilterOption);
1242
+ }
1243
+ }
1244
+ handleKeyBackspaceEvent(event) {
1245
+ if (!this._searchText && !this._composing && this._isMultiple) {
1246
+ event.preventDefault();
1247
+ const lastOption = Array.from(this._selectedOptions).pop();
1248
+ this.unSelectMultipleOption(lastOption);
1249
+ }
1250
+ }
1251
+ handleKeyDownEvent($event) {
1252
+ if (this._isOpen) {
1253
+ $event.preventDefault();
1254
+ $event.stopPropagation();
1255
+ this._activeFilterOption = this.nextOption(this._activeFilterOption, this._filterOptions.filter(w => !w.Disabled));
1256
+ this.scrollToActive();
1257
+ }
1258
+ }
1259
+ handleKeyUpEvent($event) {
1260
+ if (this._isOpen) {
1261
+ $event.preventDefault();
1262
+ $event.stopPropagation();
1263
+ this._activeFilterOption = this.preOption(this._activeFilterOption, this._filterOptions.filter(w => !w.Disabled));
1264
+ this.scrollToActive();
1265
+ }
1266
+ }
1267
+ preOption(option, options) {
1268
+ return options[options.indexOf(option) - 1] || options[options.length - 1];
1269
+ }
1270
+ nextOption(option, options) {
1271
+ return options[options.indexOf(option) + 1] || options[0];
1272
+ }
1273
+ clearSearchText() {
1274
+ this._searchText = "";
1275
+ this.updateFilterOption();
1276
+ }
1277
+ updateFilterOption(updateActiveFilter = true) {
1278
+ if (this.Filter) {
1279
+ this._filterOptions = new OptionPipe().transform(this._options, {
1280
+ searchText: this._searchText,
1281
+ tags: this._isTags,
1282
+ notFoundContent: this._isTags
1283
+ ? this._searchText
1284
+ : this._notFoundContent,
1285
+ disabled: !this._isTags,
1286
+ value: this._isTags ? this._searchText : "disabled"
1287
+ });
1288
+ }
1289
+ else {
1290
+ this._filterOptions = this._options;
1291
+ }
1292
+ /** TODO: cause pre & next key selection not work */
1293
+ if (updateActiveFilter && !this._selectedOption) {
1294
+ this._activeFilterOption = this._filterOptions[0];
1295
+ }
1296
+ }
1297
+ onSearchChange(searchValue) {
1298
+ this.SearchChange.emit(searchValue);
1299
+ }
1300
+ onClick(e) {
1301
+ e.preventDefault();
1302
+ if (!this._disabled) {
1303
+ this.Open = !this.Open;
1304
+ if (this.ShowSearch) {
1305
+ /** wait for search display */ // @ts-ignore
1306
+ setTimeout(_ => {
1307
+ this.searchInputElementRef.nativeElement.focus();
1308
+ });
1309
+ }
1310
+ }
1311
+ }
1312
+ onKeyDown(e) {
1313
+ const keyCode = e.keyCode;
1314
+ if (keyCode === TAB && this.Open) {
1315
+ this.Open = false;
1316
+ return;
1317
+ }
1318
+ if ((keyCode !== DOWN_ARROW && keyCode !== ENTER) || this.Open) {
1319
+ return;
1320
+ }
1321
+ e.preventDefault();
1322
+ if (!this._disabled) {
1323
+ this.Open = true;
1324
+ if (this.ShowSearch) {
1325
+ /** wait for search display */ // @ts-ignore
1326
+ setTimeout(_ => {
1327
+ this.searchInputElementRef.nativeElement.focus();
1328
+ });
1329
+ }
1330
+ }
1331
+ }
1332
+ closeDropDown() {
1333
+ if (!this.Open) {
1334
+ return;
1335
+ }
1336
+ this.onTouched();
1337
+ if (this.Multiple) {
1338
+ this._renderer.removeStyle(this.searchInputElementRef.nativeElement, "width");
1339
+ }
1340
+ this.clearSearchText();
1341
+ this.Open = false;
1342
+ }
1343
+ setClassMap() {
1344
+ this._classList.forEach(_className => {
1345
+ this._renderer.removeClass(this._el, _className);
1346
+ }); // @ts-ignore
1347
+ this._classList = [
1348
+ this._prefixCls,
1349
+ this._mode === "combobox" && `${this._prefixCls}-combobox`,
1350
+ !this._disabled && `${this._prefixCls}-enabled`,
1351
+ this._disabled && `${this._prefixCls}-disabled`,
1352
+ this._isOpen && `${this._prefixCls}-open`,
1353
+ this._showSearch && `${this._prefixCls}-show-search`,
1354
+ this._size && `${this._prefixCls}-${this._size}`
1355
+ ].filter(item => {
1356
+ return !!item;
1357
+ });
1358
+ this._classList.forEach(_className => {
1359
+ this._renderer.addClass(this._el, _className);
1360
+ });
1361
+ this._selectionClassMap = {
1362
+ [this._selectionPrefixCls]: true,
1363
+ [`${this._selectionPrefixCls}--single`]: !this.Multiple,
1364
+ [`${this._selectionPrefixCls}--multiple`]: this.Multiple
1365
+ };
1366
+ }
1367
+ setDropDownClassMap() {
1368
+ this._dropDownClassMap = {
1369
+ [this._dropDownPrefixCls]: true,
1370
+ ["component-select"]: this._mode === "combobox",
1371
+ [`${this._dropDownPrefixCls}--single`]: !this.Multiple,
1372
+ [`${this._dropDownPrefixCls}--multiple`]: this.Multiple,
1373
+ [`${this._dropDownPrefixCls}-placement-bottomLeft`]: this._dropDownPosition === "bottom",
1374
+ [`${this._dropDownPrefixCls}-placement-topLeft`]: this._dropDownPosition === "top"
1375
+ };
1376
+ }
1377
+ scrollToActive() {
1378
+ /** wait for dropdown display */ // @ts-ignore
1379
+ setTimeout(_ => {
1380
+ if (this._activeFilterOption && this._activeFilterOption.Value) {
1381
+ const index = this._filterOptions.findIndex(option => option.Value === this._activeFilterOption.Value);
1382
+ try {
1383
+ const scrollPane = this.dropdownUl.nativeElement.children[index];
1384
+ // TODO: scrollIntoViewIfNeeded is not a standard API, why doing so?
1385
+ /* tslint:disable-next-line:no-any */
1386
+ scrollPane.scrollIntoViewIfNeeded(false);
1387
+ }
1388
+ catch (e) { }
1389
+ }
1390
+ });
1391
+ }
1392
+ flushComponentState() {
1393
+ this.updateFilterOption();
1394
+ if (!this.Multiple) {
1395
+ this.updateSelectedOption(this._value);
1396
+ }
1397
+ else {
1398
+ if (this._value) {
1399
+ this.updateSelectedOption(this._value);
1400
+ }
1401
+ }
1402
+ }
1403
+ _setTriggerWidth() {
1404
+ this._triggerWidth = this._getTriggerRect().width;
1405
+ /** should remove after after https://github.com/angular/material2/pull/8765 merged **/
1406
+ if (this._cdkOverlay && this._cdkOverlay.overlayRef) {
1407
+ this._cdkOverlay.overlayRef.updateSize({
1408
+ width: this._triggerWidth
1409
+ });
1410
+ }
1411
+ }
1412
+ _getTriggerRect() {
1413
+ return this.trigger.nativeElement.getBoundingClientRect();
1414
+ }
1415
+ writeValue(value) {
1416
+ this._updateValue(value, false);
1417
+ }
1418
+ registerOnChange(fn) {
1419
+ this.onChange = fn;
1420
+ }
1421
+ registerOnTouched(fn) {
1422
+ this.onTouched = fn;
1423
+ }
1424
+ setDisabledState(isDisabled) {
1425
+ this.Disabled = isDisabled;
1426
+ }
1427
+ dropDownScroll(ul) {
1428
+ if (ul && ul.scrollHeight - ul.scrollTop === ul.clientHeight) {
1429
+ this.ScrollToBottom.emit(true);
1430
+ }
1431
+ }
1432
+ checkDropDownScroll() {
1433
+ if (this.dropdownUl &&
1434
+ this.dropdownUl.nativeElement.scrollHeight ===
1435
+ this.dropdownUl.nativeElement.clientHeight) {
1436
+ this.ScrollToBottom.emit(true);
1437
+ }
1438
+ }
1439
+ ngAfterContentInit() {
1440
+ if (this._value != null) {
1441
+ this.flushComponentState();
1442
+ }
1443
+ }
1444
+ ngOnInit() {
1445
+ this.updateFilterOption();
1446
+ this.setClassMap();
1447
+ this.setDropDownClassMap();
1448
+ }
1449
+ ngAfterContentChecked() {
1450
+ if (this._cacheOptions !== this._options) {
1451
+ /** update filter option after every content check cycle */
1452
+ this.updateFilterOption();
1453
+ this._cacheOptions = this._options;
1454
+ }
1455
+ else {
1456
+ this.updateFilterOption(false);
1457
+ }
1458
+ if (this.FirstDefault) {
1459
+ if (!this._value && this._options) {
1460
+ if (this._options[0] !== undefined && this._options[0].Value) {
1461
+ this.chooseOption(this._options[0], false);
1462
+ setTimeout(() => {
1463
+ this.onChange(this._options[0].Value);
1464
+ });
1465
+ }
1466
+ }
1467
+ }
1468
+ }
1469
+ _updateValue(value, emitChange = true) {
1470
+ if (this._value === value) {
1471
+ return;
1472
+ }
1473
+ if (value == null && this.Multiple) {
1474
+ this._value = [];
1475
+ }
1476
+ else {
1477
+ this._value = value;
1478
+ }
1479
+ if (!this.Multiple) {
1480
+ if (value == null) { // @ts-ignore
1481
+ this._selectedOption = null;
1482
+ }
1483
+ else {
1484
+ this.updateSelectedOption(value);
1485
+ }
1486
+ }
1487
+ else {
1488
+ if (value) {
1489
+ if (value.length === 0) {
1490
+ this.clearAllSelectedOption(emitChange);
1491
+ }
1492
+ else {
1493
+ this.updateSelectedOption(value, true);
1494
+ }
1495
+ }
1496
+ else if (value == null) {
1497
+ this.clearAllSelectedOption(emitChange);
1498
+ }
1499
+ }
1500
+ }
1501
+ }
1502
+ pgSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgSelectComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
1503
+ pgSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: pgSelectComponent, selector: "pg-select", inputs: { Filter: "Filter", MaxMultiple: "MaxMultiple", FirstDefault: "FirstDefault", AllowClear: "AllowClear", KeepUnListOptions: "KeepUnListOptions", Mode: "Mode", Multiple: "Multiple", PlaceHolder: "PlaceHolder", NotFoundContent: "NotFoundContent", Size: "Size", ShowSearch: "ShowSearch", Tags: "Tags", Disabled: "Disabled", Open: "Open" }, outputs: { SearchChange: "SearchChange", change: "change", OpenChange: "OpenChange", ScrollToBottom: "ScrollToBottom" }, host: { listeners: { "click": "onClick($event)", "keydown": "onKeyDown($event)" } }, providers: [
1504
+ {
1505
+ provide: NG_VALUE_ACCESSOR,
1506
+ useExisting: forwardRef(() => pgSelectComponent),
1507
+ multi: true
1508
+ }
1509
+ ], viewQueries: [{ propertyName: "searchInputElementRef", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true }, { propertyName: "dropdownUl", first: true, predicate: ["dropdownUl"], descendants: true }, { propertyName: "_cdkOverlay", first: true, predicate: CdkConnectedOverlay, descendants: true }], ngImport: i0, template: "<div tabindex=\"0\" #trigger cdkOverlayOrigin #origin=\"cdkOverlayOrigin\" [ngClass]=\"_selectionClassMap\"\r\n (keydown.Enter)=\"handleKeyEnterEvent($event)\" (keydown.Backspace)=\"handleKeyBackspaceEvent($event)\"\r\n (keydown.ArrowUp)=\"handleKeyUpEvent($event)\" (keydown.ArrowDown)=\"handleKeyDownEvent($event)\">\r\n <div class=\"pg-select-selection__rendered\" *ngIf=\"!ShowSearch\">\r\n <div class=\"pg-select-selection__placeholder\">\r\n <ng-template [ngIf]=\"!_selectedOption\">\r\n {{ PlaceHolder }}\r\n </ng-template>\r\n </div>\r\n <div class=\"pg-select-selection-selected-value\">\r\n {{ _selectedOption?.Label }}\r\n </div>\r\n </div>\r\n <div class=\"pg-select-selection__rendered\" *ngIf=\"ShowSearch\">\r\n <div [hidden]=\"_searchText||(!Open&&_selectedOption)||_selectedOptions.size\"\r\n class=\"pg-select-selection__placeholder\">\r\n <ng-template [ngIf]=\"(!_composing)&&_selectedOption\">\r\n {{ _selectedOption.Label }}\r\n </ng-template>\r\n <ng-template [ngIf]=\"(!_composing)&&(!_selectedOption)\">\r\n {{ PlaceHolder }}\r\n </ng-template>\r\n </div>\r\n <ul *ngIf=\"Multiple\">\r\n <li *ngFor=\"let option of _selectedOptions\" [@tagAnimation] [attr.title]=\"option?.Label || option?.Value\"\r\n class=\"pg-select-selection__choice\" style=\"-webkit-user-select: none;\">\r\n <span class=\"pg-select-selection__choice__remove\" (click)=\"unSelectMultipleOption(option,$event)\"></span>\r\n <div class=\"pg-select-selection__choice__content\">{{ option?.Label }}</div>\r\n </li>\r\n <li class=\"pg-select-search pg-select-search--inline\">\r\n <div class=\"pg-select-search__field__wrap\">\r\n <input class=\"pg-select-search__field\" (compositionstart)=\"compositionStart()\"\r\n (compositionend)=\"compositionEnd();updateWidth(searchInput,_searchText);\" [(ngModel)]=\"_searchText\"\r\n (ngModelChange)=\"updateFilterOption();onSearchChange($event);\"\r\n (keydown)=\"updateWidth(searchInput,_searchText)\" (input)=\"updateWidth(searchInput,_searchText)\"\r\n (blur)=\"onTouched()\" #searchInput>\r\n <span class=\"pg-select-search__field__mirror\"></span></div>\r\n </li>\r\n </ul>\r\n <div *ngIf=\"!Multiple\" class=\"pg-select-selection-selected-value\" [hidden]=\"!(_selectedOption?.Label)||Open\">\r\n {{ _selectedOption?.Label }}\r\n </div>\r\n <div *ngIf=\"!Multiple\" [hidden]=\"!Open\" class=\"pg-select-search pg-select-search--inline\">\r\n <div class=\"pg-select-search__field__wrap\">\r\n <input class=\"pg-select-search__field\" (blur)=\"onTouched()\" (compositionstart)=\"compositionStart()\"\r\n (compositionend)=\"compositionEnd()\" [(ngModel)]=\"_searchText\"\r\n (ngModelChange)=\"updateFilterOption();onSearchChange($event);\" #searchInput>\r\n <span class=\"pg-select-search__field__mirror\"></span>\r\n </div>\r\n </div>\r\n </div>\r\n <span (click)=\"onTouched();clearSelect($event)\" class=\"pg-select-selection__clear\" style=\"-webkit-user-select: none;\"\r\n *ngIf=\"_selectedOption?.Label&&AllowClear&&!Multiple\">\r\n </span>\r\n <span class=\"pg-select-arrow\"><b></b></span>\r\n</div>\r\n<ng-template cdkConnectedOverlay cdkConnectedOverlayHasBackdrop [cdkConnectedOverlayOrigin]=\"origin\"\r\n (backdropClick)=\"closeDropDown()\" (detach)=\"closeDropDown();\" (positionChange)=\"onPositionChange($event)\"\r\n [cdkConnectedOverlayWidth]=\"_triggerWidth\" [cdkConnectedOverlayOpen]=\"_isOpen\">\r\n <div [ngClass]=\"_dropDownClassMap\" [@dropDownAnimation]=\"_dropDownPosition\">\r\n <div style=\"overflow: auto;\">\r\n <ul class=\"pg-select-dropdown-menu pg-select-dropdown-menu-vertical pg-select-dropdown-menu-root\" #dropdownUl\r\n (scroll)=\"dropDownScroll(dropdownUl)\">\r\n <li *ngFor=\"let option of _filterOptions\" [class.pg-select-dropdown-menu-item-disabled]=\"option.Disabled\"\r\n [class.pg-select-dropdown-menu-item-active]=\"option.Value == _activeFilterOption?.Value\"\r\n [class.pg-select-dropdown-menu-item-selected]=\"(option.Value==(_selectedOption?.Value))||(isInSet(_selectedOptions,option))\"\r\n class=\"pg-select-dropdown-menu-item\" (click)=\"clickOption(option,$event)\">\r\n <ng-template *ngIf=\"option.OptionTemplate\" [ngTemplateOutlet]=\"option.OptionTemplate\">\r\n </ng-template>\r\n <ng-template [ngIf]=\"!option.OptionTemplate\">\r\n {{ option.Label }}\r\n </ng-template>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>", directives: [{ type: i1$2.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1$2.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], animations: [trigger('dropDownAnimation', [
1510
+ state('bottom', style({
1511
+ opacity: 1,
1512
+ transform: 'scaleY(1)',
1513
+ transformOrigin: '0% 0%'
1514
+ })),
1515
+ transition('void => bottom', [
1516
+ style({
1517
+ opacity: 0,
1518
+ transform: 'scaleY(0)',
1519
+ transformOrigin: '0% 0%'
1520
+ }),
1521
+ animate('150ms cubic-bezier(0.25, 0.8, 0.25, 1)')
1522
+ ]),
1523
+ state('top', style({
1524
+ opacity: 1,
1525
+ transform: 'scaleY(1)',
1526
+ transformOrigin: '0% 100%'
1527
+ })),
1528
+ transition('void => top', [
1529
+ style({
1530
+ opacity: 0,
1531
+ transform: 'scaleY(0)',
1532
+ transformOrigin: '0% 100%'
1533
+ }),
1534
+ animate('150ms cubic-bezier(0.25, 0.8, 0.25, 1)')
1535
+ ]),
1536
+ transition('* => void', [
1537
+ animate('250ms 100ms linear', style({ opacity: 0 }))
1538
+ ])
1539
+ ]),
1540
+ trigger('tagAnimation', [
1541
+ state('*', style({ opacity: 1, transform: 'scale(1)' })),
1542
+ transition('void => *', [
1543
+ style({ opacity: 0, transform: 'scale(0)' }),
1544
+ animate('150ms linear')
1545
+ ]),
1546
+ state('void', style({ opacity: 0, transform: 'scale(0)' })),
1547
+ transition('* => void', [
1548
+ style({ opacity: 1, transform: 'scale(1)' }),
1549
+ animate('150ms linear')
1550
+ ])
1551
+ ])], encapsulation: i0.ViewEncapsulation.None });
1552
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgSelectComponent, decorators: [{
1553
+ type: Component,
1554
+ args: [{ selector: "pg-select", encapsulation: ViewEncapsulation.None, providers: [
1555
+ {
1556
+ provide: NG_VALUE_ACCESSOR,
1557
+ useExisting: forwardRef(() => pgSelectComponent),
1558
+ multi: true
1559
+ }
1560
+ ], animations: [trigger('dropDownAnimation', [
1561
+ state('bottom', style({
1562
+ opacity: 1,
1563
+ transform: 'scaleY(1)',
1564
+ transformOrigin: '0% 0%'
1565
+ })),
1566
+ transition('void => bottom', [
1567
+ style({
1568
+ opacity: 0,
1569
+ transform: 'scaleY(0)',
1570
+ transformOrigin: '0% 0%'
1571
+ }),
1572
+ animate('150ms cubic-bezier(0.25, 0.8, 0.25, 1)')
1573
+ ]),
1574
+ state('top', style({
1575
+ opacity: 1,
1576
+ transform: 'scaleY(1)',
1577
+ transformOrigin: '0% 100%'
1578
+ })),
1579
+ transition('void => top', [
1580
+ style({
1581
+ opacity: 0,
1582
+ transform: 'scaleY(0)',
1583
+ transformOrigin: '0% 100%'
1584
+ }),
1585
+ animate('150ms cubic-bezier(0.25, 0.8, 0.25, 1)')
1586
+ ]),
1587
+ transition('* => void', [
1588
+ animate('250ms 100ms linear', style({ opacity: 0 }))
1589
+ ])
1590
+ ]),
1591
+ trigger('tagAnimation', [
1592
+ state('*', style({ opacity: 1, transform: 'scale(1)' })),
1593
+ transition('void => *', [
1594
+ style({ opacity: 0, transform: 'scale(0)' }),
1595
+ animate('150ms linear')
1596
+ ]),
1597
+ state('void', style({ opacity: 0, transform: 'scale(0)' })),
1598
+ transition('* => void', [
1599
+ style({ opacity: 1, transform: 'scale(1)' }),
1600
+ animate('150ms linear')
1601
+ ])
1602
+ ])], template: "<div tabindex=\"0\" #trigger cdkOverlayOrigin #origin=\"cdkOverlayOrigin\" [ngClass]=\"_selectionClassMap\"\r\n (keydown.Enter)=\"handleKeyEnterEvent($event)\" (keydown.Backspace)=\"handleKeyBackspaceEvent($event)\"\r\n (keydown.ArrowUp)=\"handleKeyUpEvent($event)\" (keydown.ArrowDown)=\"handleKeyDownEvent($event)\">\r\n <div class=\"pg-select-selection__rendered\" *ngIf=\"!ShowSearch\">\r\n <div class=\"pg-select-selection__placeholder\">\r\n <ng-template [ngIf]=\"!_selectedOption\">\r\n {{ PlaceHolder }}\r\n </ng-template>\r\n </div>\r\n <div class=\"pg-select-selection-selected-value\">\r\n {{ _selectedOption?.Label }}\r\n </div>\r\n </div>\r\n <div class=\"pg-select-selection__rendered\" *ngIf=\"ShowSearch\">\r\n <div [hidden]=\"_searchText||(!Open&&_selectedOption)||_selectedOptions.size\"\r\n class=\"pg-select-selection__placeholder\">\r\n <ng-template [ngIf]=\"(!_composing)&&_selectedOption\">\r\n {{ _selectedOption.Label }}\r\n </ng-template>\r\n <ng-template [ngIf]=\"(!_composing)&&(!_selectedOption)\">\r\n {{ PlaceHolder }}\r\n </ng-template>\r\n </div>\r\n <ul *ngIf=\"Multiple\">\r\n <li *ngFor=\"let option of _selectedOptions\" [@tagAnimation] [attr.title]=\"option?.Label || option?.Value\"\r\n class=\"pg-select-selection__choice\" style=\"-webkit-user-select: none;\">\r\n <span class=\"pg-select-selection__choice__remove\" (click)=\"unSelectMultipleOption(option,$event)\"></span>\r\n <div class=\"pg-select-selection__choice__content\">{{ option?.Label }}</div>\r\n </li>\r\n <li class=\"pg-select-search pg-select-search--inline\">\r\n <div class=\"pg-select-search__field__wrap\">\r\n <input class=\"pg-select-search__field\" (compositionstart)=\"compositionStart()\"\r\n (compositionend)=\"compositionEnd();updateWidth(searchInput,_searchText);\" [(ngModel)]=\"_searchText\"\r\n (ngModelChange)=\"updateFilterOption();onSearchChange($event);\"\r\n (keydown)=\"updateWidth(searchInput,_searchText)\" (input)=\"updateWidth(searchInput,_searchText)\"\r\n (blur)=\"onTouched()\" #searchInput>\r\n <span class=\"pg-select-search__field__mirror\"></span></div>\r\n </li>\r\n </ul>\r\n <div *ngIf=\"!Multiple\" class=\"pg-select-selection-selected-value\" [hidden]=\"!(_selectedOption?.Label)||Open\">\r\n {{ _selectedOption?.Label }}\r\n </div>\r\n <div *ngIf=\"!Multiple\" [hidden]=\"!Open\" class=\"pg-select-search pg-select-search--inline\">\r\n <div class=\"pg-select-search__field__wrap\">\r\n <input class=\"pg-select-search__field\" (blur)=\"onTouched()\" (compositionstart)=\"compositionStart()\"\r\n (compositionend)=\"compositionEnd()\" [(ngModel)]=\"_searchText\"\r\n (ngModelChange)=\"updateFilterOption();onSearchChange($event);\" #searchInput>\r\n <span class=\"pg-select-search__field__mirror\"></span>\r\n </div>\r\n </div>\r\n </div>\r\n <span (click)=\"onTouched();clearSelect($event)\" class=\"pg-select-selection__clear\" style=\"-webkit-user-select: none;\"\r\n *ngIf=\"_selectedOption?.Label&&AllowClear&&!Multiple\">\r\n </span>\r\n <span class=\"pg-select-arrow\"><b></b></span>\r\n</div>\r\n<ng-template cdkConnectedOverlay cdkConnectedOverlayHasBackdrop [cdkConnectedOverlayOrigin]=\"origin\"\r\n (backdropClick)=\"closeDropDown()\" (detach)=\"closeDropDown();\" (positionChange)=\"onPositionChange($event)\"\r\n [cdkConnectedOverlayWidth]=\"_triggerWidth\" [cdkConnectedOverlayOpen]=\"_isOpen\">\r\n <div [ngClass]=\"_dropDownClassMap\" [@dropDownAnimation]=\"_dropDownPosition\">\r\n <div style=\"overflow: auto;\">\r\n <ul class=\"pg-select-dropdown-menu pg-select-dropdown-menu-vertical pg-select-dropdown-menu-root\" #dropdownUl\r\n (scroll)=\"dropDownScroll(dropdownUl)\">\r\n <li *ngFor=\"let option of _filterOptions\" [class.pg-select-dropdown-menu-item-disabled]=\"option.Disabled\"\r\n [class.pg-select-dropdown-menu-item-active]=\"option.Value == _activeFilterOption?.Value\"\r\n [class.pg-select-dropdown-menu-item-selected]=\"(option.Value==(_selectedOption?.Value))||(isInSet(_selectedOptions,option))\"\r\n class=\"pg-select-dropdown-menu-item\" (click)=\"clickOption(option,$event)\">\r\n <ng-template *ngIf=\"option.OptionTemplate\" [ngTemplateOutlet]=\"option.OptionTemplate\">\r\n </ng-template>\r\n <ng-template [ngIf]=\"!option.OptionTemplate\">\r\n {{ option.Label }}\r\n </ng-template>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</ng-template>" }]
1603
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { searchInputElementRef: [{
1604
+ type: ViewChild,
1605
+ args: ["searchInput"]
1606
+ }], trigger: [{
1607
+ type: ViewChild,
1608
+ args: ["trigger"]
1609
+ }], dropdownUl: [{
1610
+ type: ViewChild,
1611
+ args: ["dropdownUl"]
1612
+ }], SearchChange: [{
1613
+ type: Output
1614
+ }], change: [{
1615
+ type: Output
1616
+ }], OpenChange: [{
1617
+ type: Output
1618
+ }], ScrollToBottom: [{
1619
+ type: Output
1620
+ }], Filter: [{
1621
+ type: Input
1622
+ }], MaxMultiple: [{
1623
+ type: Input
1624
+ }], FirstDefault: [{
1625
+ type: Input
1626
+ }], _cdkOverlay: [{
1627
+ type: ViewChild,
1628
+ args: [CdkConnectedOverlay]
1629
+ }], AllowClear: [{
1630
+ type: Input
1631
+ }], KeepUnListOptions: [{
1632
+ type: Input
1633
+ }], Mode: [{
1634
+ type: Input
1635
+ }], Multiple: [{
1636
+ type: Input
1637
+ }], PlaceHolder: [{
1638
+ type: Input
1639
+ }], NotFoundContent: [{
1640
+ type: Input
1641
+ }], Size: [{
1642
+ type: Input
1643
+ }], ShowSearch: [{
1644
+ type: Input
1645
+ }], Tags: [{
1646
+ type: Input
1647
+ }], Disabled: [{
1648
+ type: Input
1649
+ }], Open: [{
1650
+ type: Input
1651
+ }], onClick: [{
1652
+ type: HostListener,
1653
+ args: ["click", ["$event"]]
1654
+ }], onKeyDown: [{
1655
+ type: HostListener,
1656
+ args: ["keydown", ["$event"]]
1657
+ }] } });
1658
+
1659
+ class pgOptionComponent {
1660
+ constructor(_Select) {
1661
+ this._Select = _Select;
1662
+ this._disabled = false;
1663
+ }
1664
+ set Value(value) {
1665
+ if (this._value === value) {
1666
+ return;
1667
+ }
1668
+ this._value = value;
1669
+ }
1670
+ get Value() {
1671
+ return this._value;
1672
+ }
1673
+ set Label(value) {
1674
+ if (this._label === value) {
1675
+ return;
1676
+ }
1677
+ this._label = value;
1678
+ }
1679
+ get Label() {
1680
+ return this._label;
1681
+ }
1682
+ set Disabled(value) {
1683
+ this._disabled = toBoolean(value);
1684
+ }
1685
+ get Disabled() {
1686
+ return this._disabled;
1687
+ }
1688
+ ngOnInit() {
1689
+ this._Select.addOption(this);
1690
+ }
1691
+ ngOnDestroy() {
1692
+ this._Select.removeOption(this);
1693
+ }
1694
+ }
1695
+ pgOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgOptionComponent, deps: [{ token: pgSelectComponent }], target: i0.ɵɵFactoryTarget.Component });
1696
+ pgOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: pgOptionComponent, selector: "pg-option", inputs: { Value: "Value", Label: "Label", Disabled: "Disabled" }, queries: [{ propertyName: "OptionTemplate", first: true, predicate: ["OptionTemplate"], descendants: true }], ngImport: i0, template: `
1697
+ <ng-content></ng-content>
1698
+ `, isInline: true, encapsulation: i0.ViewEncapsulation.None });
1699
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgOptionComponent, decorators: [{
1700
+ type: Component,
1701
+ args: [{ selector: "pg-option", encapsulation: ViewEncapsulation.None, template: `
1702
+ <ng-content></ng-content>
1703
+ `, styles: [] }]
1704
+ }], ctorParameters: function () { return [{ type: pgSelectComponent }]; }, propDecorators: { OptionTemplate: [{
1705
+ type: ContentChild,
1706
+ args: ["OptionTemplate"]
1707
+ }], Value: [{
1708
+ type: Input
1709
+ }], Label: [{
1710
+ type: Input
1711
+ }], Disabled: [{
1712
+ type: Input
1713
+ }] } });
1714
+
1715
+ class PgSelectModule {
1716
+ }
1717
+ PgSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PgSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1718
+ PgSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PgSelectModule, declarations: [OptionPipe, pgOptionComponent, pgSelectComponent], imports: [CommonModule, FormsModule, OverlayModule], exports: [OptionPipe, pgOptionComponent, pgSelectComponent] });
1719
+ PgSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PgSelectModule, imports: [[CommonModule, FormsModule, OverlayModule]] });
1720
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PgSelectModule, decorators: [{
1721
+ type: NgModule,
1722
+ args: [{
1723
+ imports: [CommonModule, FormsModule, OverlayModule],
1724
+ declarations: [OptionPipe, pgOptionComponent, pgSelectComponent],
1725
+ exports: [OptionPipe, pgOptionComponent, pgSelectComponent]
1726
+ }]
1727
+ }] });
1728
+
1729
+ class ProgressConfig {
1730
+ constructor() {
1731
+ this.color = "primary";
1732
+ this.thickness = 1;
1733
+ }
1734
+ }
1735
+ ProgressConfig.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressConfig, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1736
+ ProgressConfig.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressConfig });
1737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressConfig, decorators: [{
1738
+ type: Injectable
1739
+ }] });
1740
+
1741
+ class ProgressModule {
1742
+ static forRoot() {
1743
+ return { ngModule: ProgressModule, providers: [ProgressConfig] };
1744
+ }
1745
+ }
1746
+ ProgressModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1747
+ ProgressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressModule, declarations: [ProgressComponent], imports: [CommonModule], exports: [ProgressComponent] });
1748
+ ProgressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressModule, imports: [[CommonModule]] });
1749
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProgressModule, decorators: [{
1750
+ type: NgModule,
1751
+ args: [{
1752
+ imports: [CommonModule],
1753
+ declarations: [ProgressComponent],
1754
+ exports: [ProgressComponent]
1755
+ }]
1756
+ }] });
1757
+
1758
+ class pgCardModule {
1759
+ static forRoot() {
1760
+ return {
1761
+ ngModule: pgCardModule
1762
+ };
1763
+ }
1764
+ }
1765
+ pgCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1766
+ pgCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgCardModule, declarations: [pgCard], imports: [CommonModule, ProgressModule, TranslateModule], exports: [pgCard] });
1767
+ pgCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgCardModule, imports: [[CommonModule, ProgressModule, TranslateModule]] });
1768
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgCardModule, decorators: [{
1769
+ type: NgModule,
1770
+ args: [{
1771
+ declarations: [pgCard],
1772
+ exports: [pgCard],
1773
+ imports: [CommonModule, ProgressModule, TranslateModule]
1774
+ }]
1775
+ }] });
1776
+
1777
+ const mefDevCardComponents = [CardComponent, CardLongComponent, CardSimpleComponent];
1778
+ class MefDevCardModule {
1779
+ }
1780
+ MefDevCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1781
+ MefDevCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevCardModule, declarations: [CardComponent, CardLongComponent, CardSimpleComponent], imports: [CommonModule,
1782
+ MefDevCollapseModule,
1783
+ // PerfectScrollbarModule,
1784
+ PgSelectModule,
1785
+ pgCardModule,
1786
+ TranslateModule], exports: [CardComponent, CardLongComponent, CardSimpleComponent] });
1787
+ MefDevCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevCardModule, imports: [[
1788
+ CommonModule,
1789
+ MefDevCollapseModule,
1790
+ // PerfectScrollbarModule,
1791
+ PgSelectModule,
1792
+ pgCardModule,
1793
+ TranslateModule,
1794
+ ]] });
1795
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevCardModule, decorators: [{
1796
+ type: NgModule,
1797
+ args: [{
1798
+ declarations: mefDevCardComponents,
1799
+ exports: mefDevCardComponents,
1800
+ imports: [
1801
+ CommonModule,
1802
+ MefDevCollapseModule,
1803
+ // PerfectScrollbarModule,
1804
+ PgSelectModule,
1805
+ pgCardModule,
1806
+ TranslateModule,
1807
+ ]
1808
+ }]
1809
+ }] });
1810
+
1811
+ class FillComponent {
1812
+ constructor() {
1813
+ this.isClouse = new EventEmitter();
1814
+ }
1815
+ set show(val) {
1816
+ if (!this.fadInModal) {
1817
+ return;
1818
+ }
1819
+ if (val) {
1820
+ this.showModal();
1821
+ }
1822
+ else {
1823
+ this.hideModal();
1824
+ }
1825
+ }
1826
+ ;
1827
+ ngOnInit() {
1828
+ }
1829
+ modalIsCloused() {
1830
+ this.isClouse.emit(true);
1831
+ }
1832
+ showModal() {
1833
+ this.fadInModal?.show();
1834
+ }
1835
+ hideModal() {
1836
+ this.fadInModal?.hide();
1837
+ }
1838
+ }
1839
+ FillComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FillComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1840
+ FillComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: FillComponent, selector: "mefdev-fill-modal", inputs: { show: "show" }, outputs: { isClouse: "isClouse" }, queries: [{ propertyName: "modal_header", first: true, predicate: ["modal_header"], descendants: true }, { propertyName: "modal_footer", first: true, predicate: ["modal_footer"], descendants: true }], viewQueries: [{ propertyName: "fadInModal", first: true, predicate: ["fadInModal"], descendants: true }], ngImport: i0, template: " <div bsModal #fadInModal=\"bs-modal\" class=\"modal fade fill-in\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\" (onHide)=\"modalIsCloused()\">\r\n <button type=\"button\" class=\"close\" (click)=\"fadInModal.hide()\" aria-hidden=\"true\">\r\n <i class=\"pg pg-close\"></i>\r\n </button>\r\n <div class=\"modal-dialog \">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div> \r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div> \r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n </div>", styles: [""], directives: [{ type: i1$3.ModalDirective, selector: "[bsModal]", inputs: ["config", "closeInterceptor"], outputs: ["onShow", "onShown", "onHide", "onHidden"], exportAs: ["bs-modal"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1841
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: FillComponent, decorators: [{
1842
+ type: Component,
1843
+ args: [{ selector: 'mefdev-fill-modal', template: " <div bsModal #fadInModal=\"bs-modal\" class=\"modal fade fill-in\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\" (onHide)=\"modalIsCloused()\">\r\n <button type=\"button\" class=\"close\" (click)=\"fadInModal.hide()\" aria-hidden=\"true\">\r\n <i class=\"pg pg-close\"></i>\r\n </button>\r\n <div class=\"modal-dialog \">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div> \r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div> \r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n </div>", styles: [""] }]
1844
+ }], ctorParameters: function () { return []; }, propDecorators: { modal_header: [{
1845
+ type: ContentChild,
1846
+ args: ["modal_header"]
1847
+ }], modal_footer: [{
1848
+ type: ContentChild,
1849
+ args: ["modal_footer"]
1850
+ }], fadInModal: [{
1851
+ type: ViewChild,
1852
+ args: ['fadInModal', { static: false }]
1853
+ }], show: [{
1854
+ type: Input
1855
+ }], isClouse: [{
1856
+ type: Output
1857
+ }] } });
1858
+
1859
+ class SlideUpComponent {
1860
+ constructor() {
1861
+ this.size = "md" /* md */;
1862
+ this.isClouse = new EventEmitter();
1863
+ }
1864
+ set show(val) {
1865
+ if (!this.mdSlideUp) {
1866
+ return;
1867
+ }
1868
+ if (val) {
1869
+ this.showModal();
1870
+ }
1871
+ else {
1872
+ this.hideModal();
1873
+ }
1874
+ }
1875
+ ;
1876
+ ngOnInit() {
1877
+ }
1878
+ modalIsCloused() {
1879
+ this.isClouse.emit(true);
1880
+ }
1881
+ showModal() {
1882
+ this.mdSlideUp.show();
1883
+ }
1884
+ hideModal() {
1885
+ this.mdSlideUp.hide();
1886
+ }
1887
+ }
1888
+ SlideUpComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SlideUpComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1889
+ SlideUpComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SlideUpComponent, selector: "mefdev-slide-up-modal", inputs: { size: "size", show: "show" }, outputs: { isClouse: "isClouse" }, queries: [{ propertyName: "modal_header", first: true, predicate: ["modal_header"], descendants: true }, { propertyName: "modal_footer", first: true, predicate: ["modal_footer"], descendants: true }], viewQueries: [{ propertyName: "mdSlideUp", first: true, predicate: ["mdSlideUp"], descendants: true }], ngImport: i0, template: "<div bsModal #mdSlideUp=\"bs-modal\" class=\"modal fade slide-up disable-scroll\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"false\" (onHide)=\"modalIsCloused()\">\r\n <div class=\"modal-dialog modal-{{size}}\">\r\n <div class=\"modal-content-wrapper\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header clearfix text-left\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: [""], directives: [{ type: i1$3.ModalDirective, selector: "[bsModal]", inputs: ["config", "closeInterceptor"], outputs: ["onShow", "onShown", "onHide", "onHidden"], exportAs: ["bs-modal"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1890
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SlideUpComponent, decorators: [{
1891
+ type: Component,
1892
+ args: [{ selector: 'mefdev-slide-up-modal', template: "<div bsModal #mdSlideUp=\"bs-modal\" class=\"modal fade slide-up disable-scroll\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"false\" (onHide)=\"modalIsCloused()\">\r\n <div class=\"modal-dialog modal-{{size}}\">\r\n <div class=\"modal-content-wrapper\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header clearfix text-left\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: [""] }]
1893
+ }], ctorParameters: function () { return []; }, propDecorators: { modal_header: [{
1894
+ type: ContentChild,
1895
+ args: ["modal_header"]
1896
+ }], modal_footer: [{
1897
+ type: ContentChild,
1898
+ args: ["modal_footer"]
1899
+ }], mdSlideUp: [{
1900
+ type: ViewChild,
1901
+ args: ['mdSlideUp', { static: false }]
1902
+ }], size: [{
1903
+ type: Input
1904
+ }], show: [{
1905
+ type: Input
1906
+ }], isClouse: [{
1907
+ type: Output
1908
+ }] } });
1909
+
1910
+ class SlideRightComponent {
1911
+ constructor() {
1912
+ this.size = "md" /* md */;
1913
+ this.isClouse = new EventEmitter();
1914
+ }
1915
+ set show(val) {
1916
+ if (!this.slideRight) {
1917
+ return;
1918
+ }
1919
+ if (val) {
1920
+ this.showModal();
1921
+ }
1922
+ else {
1923
+ this.hideModal();
1924
+ }
1925
+ }
1926
+ ;
1927
+ ngOnInit() {
1928
+ }
1929
+ modalIsCloused() {
1930
+ this.isClouse.emit(true);
1931
+ }
1932
+ showModal() {
1933
+ this.slideRight.show();
1934
+ }
1935
+ hideModal() {
1936
+ this.slideRight.hide();
1937
+ }
1938
+ }
1939
+ SlideRightComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SlideRightComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1940
+ SlideRightComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SlideRightComponent, selector: "mefdev-slide-right-modal", inputs: { size: "size", show: "show" }, outputs: { isClouse: "isClouse" }, queries: [{ propertyName: "modal_header", first: true, predicate: ["modal_header"], descendants: true }, { propertyName: "modal_footer", first: true, predicate: ["modal_footer"], descendants: true }], viewQueries: [{ propertyName: "slideRight", first: true, predicate: ["slideRight"], descendants: true }], ngImport: i0, template: "<div bsModal #slideRight=\"bs-modal\" class=\"modal fade slide-right\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\" (onHide)=\"modalIsCloused()\">\r\n <div class=\"modal-dialog modal-{{size}}\">\r\n <div class=\"modal-content-wrapper\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header clearfix text-left\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: [""], directives: [{ type: i1$3.ModalDirective, selector: "[bsModal]", inputs: ["config", "closeInterceptor"], outputs: ["onShow", "onShown", "onHide", "onHidden"], exportAs: ["bs-modal"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SlideRightComponent, decorators: [{
1942
+ type: Component,
1943
+ args: [{ selector: 'mefdev-slide-right-modal', template: "<div bsModal #slideRight=\"bs-modal\" class=\"modal fade slide-right\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\" (onHide)=\"modalIsCloused()\">\r\n <div class=\"modal-dialog modal-{{size}}\">\r\n <div class=\"modal-content-wrapper\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header clearfix text-left\">\r\n <ng-template [ngTemplateOutlet]=\"modal_header\"></ng-template>\r\n </div>\r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-template [ngTemplateOutlet]=\"modal_footer\"></ng-template>\r\n </div>\r\n </div>\r\n </div>\r\n</div>", styles: [""] }]
1944
+ }], ctorParameters: function () { return []; }, propDecorators: { modal_header: [{
1945
+ type: ContentChild,
1946
+ args: ["modal_header"]
1947
+ }], modal_footer: [{
1948
+ type: ContentChild,
1949
+ args: ["modal_footer"]
1950
+ }], slideRight: [{
1951
+ type: ViewChild,
1952
+ args: ['slideRight', { static: false }]
1953
+ }], size: [{
1954
+ type: Input
1955
+ }], show: [{
1956
+ type: Input
1957
+ }], isClouse: [{
1958
+ type: Output
1959
+ }] } });
1960
+
1961
+ class RightFilterComponent {
1962
+ constructor(filteredFieldService) {
1963
+ this.filteredFieldService = filteredFieldService;
1964
+ this.isOpen = false;
1965
+ }
1966
+ ngOnInit() {
1967
+ this.filteredFieldService.getOpenFilter().subscribe(() => {
1968
+ this.isOpen = true;
1969
+ });
1970
+ }
1971
+ openModal() {
1972
+ this.isOpen = !this.isOpen;
1973
+ }
1974
+ modalIsCloused() {
1975
+ this.isOpen = false;
1976
+ }
1977
+ }
1978
+ RightFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: RightFilterComponent, deps: [{ token: FilteredFieldService }], target: i0.ɵɵFactoryTarget.Component });
1979
+ RightFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: RightFilterComponent, selector: "mefdev-right-filter", ngImport: i0, template: "<div class=\"filter-btn\">\r\n <button class=\"btn btn-secondary text-danger\" (click)=\"openModal()\"><i class=\"fa fa-filter\" aria-hidden=\"true\"></i></button>\r\n</div>\r\n\r\n<mefdev-slide-right-modal [show]=\"isOpen\" (isClouse)=\"modalIsCloused()\">\r\n <ng-content></ng-content>\r\n</mefdev-slide-right-modal>", styles: [".filter-btn{position:fixed;top:60px;z-index:450;right:25px}\n"], components: [{ type: SlideRightComponent, selector: "mefdev-slide-right-modal", inputs: ["size", "show"], outputs: ["isClouse"] }] });
1980
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: RightFilterComponent, decorators: [{
1981
+ type: Component,
1982
+ args: [{ selector: 'mefdev-right-filter', template: "<div class=\"filter-btn\">\r\n <button class=\"btn btn-secondary text-danger\" (click)=\"openModal()\"><i class=\"fa fa-filter\" aria-hidden=\"true\"></i></button>\r\n</div>\r\n\r\n<mefdev-slide-right-modal [show]=\"isOpen\" (isClouse)=\"modalIsCloused()\">\r\n <ng-content></ng-content>\r\n</mefdev-slide-right-modal>", styles: [".filter-btn{position:fixed;top:60px;z-index:450;right:25px}\n"] }]
1983
+ }], ctorParameters: function () { return [{ type: FilteredFieldService }]; } });
1984
+
1985
+ let mefDevModalModuleComponents = [
1986
+ FillComponent,
1987
+ SlideUpComponent,
1988
+ SlideRightComponent,
1989
+ RightFilterComponent
1990
+ ];
1991
+ class MefDevModalModule {
1992
+ }
1993
+ MefDevModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1994
+ MefDevModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevModalModule, declarations: [FillComponent,
1995
+ SlideUpComponent,
1996
+ SlideRightComponent,
1997
+ RightFilterComponent], imports: [ModalModule,
1998
+ TranslateModule,
1999
+ CommonModule,
2000
+ PgSelectModule], exports: [FillComponent,
2001
+ SlideUpComponent,
2002
+ SlideRightComponent,
2003
+ RightFilterComponent] });
2004
+ MefDevModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevModalModule, imports: [[
2005
+ ModalModule,
2006
+ TranslateModule,
2007
+ CommonModule,
2008
+ PgSelectModule
2009
+ ]] });
2010
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevModalModule, decorators: [{
2011
+ type: NgModule,
2012
+ args: [{
2013
+ imports: [
2014
+ ModalModule,
2015
+ TranslateModule,
2016
+ CommonModule,
2017
+ PgSelectModule
2018
+ ],
2019
+ exports: mefDevModalModuleComponents,
2020
+ declarations: mefDevModalModuleComponents
2021
+ }]
2022
+ }] });
2023
+
2024
+ class ProfileComponent {
2025
+ constructor() {
2026
+ this.img = '';
2027
+ this.circleImg = false;
2028
+ }
2029
+ ngOnInit() {
2030
+ }
2031
+ get sizeStyle() {
2032
+ // return { 'width.px': this.width, 'height.px': this.height };
2033
+ if (!this.circleImg) {
2034
+ return {};
2035
+ }
2036
+ return {
2037
+ 'border-top-left-radius': `50%`,
2038
+ 'border-top-right-radius': `50%`,
2039
+ 'border-bottom-right-radius': `50%`,
2040
+ 'border-bottom-left-radius': `50%`,
2041
+ };
2042
+ }
2043
+ }
2044
+ ProfileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProfileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2045
+ ProfileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ProfileComponent, selector: "mefdev-profile", inputs: { name: "name", img: "img", shortDescription: "shortDescription", header: "header", circleImg: "circleImg" }, queries: [{ propertyName: "first_colum", first: true, predicate: ["first_colum"], descendants: true }, { propertyName: "second_colum", first: true, predicate: ["second_colum"], descendants: true }, { propertyName: "footer", first: true, predicate: ["footer"], descendants: true }], ngImport: i0, template: "<div class=\"row profile-page\">\r\n <div class=\"col-12 h3 mt-3\">\r\n {{header}}\r\n </div>\r\n <div class=\"col-xl-3 col-lg-3 col-md-4 col-sm-12\">\r\n <div *ngIf=\"!img || img == ''\" >\r\n <img src=\"assets/images/md_icon.png\" height=\"124\" width=\"220\" />\r\n </div>\r\n <div *ngIf=\"img\" >\r\n <img src=\"{{img}}\" alt=\"\" class=\"custom-img\" [ngStyle]=\"sizeStyle\"\r\n />\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-xl-3 col-lg-4 col-md-5 col-sm-12 mt-4 mt-md-0\" >\r\n <div class=\"row profile-name\">\r\n <div class=\"col\">\r\n {{name}}\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col profile-description\">\r\n {{shortDescription}}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-xl-3 col-lg-4 col-md-5 col-sm-12 body-6 mt-4 mt-md-0\">\r\n <ng-template [ngTemplateOutlet]=\"first_colum\"></ng-template> \r\n </div>\r\n\r\n <div class=\"col-xl-3 col-lg-4 col-md-5 col-sm-12 body-6 mt-4 mt-md-0\" >\r\n <ng-template [ngTemplateOutlet]=\"second_colum\"></ng-template> \r\n </div>\r\n\r\n</div>\r\n<div style=\"position: relative;\">\r\n <div class=\"row profile-page-tabs\">\r\n <ng-template [ngTemplateOutlet]=\"footer\">\r\n </ng-template> \r\n </div> \r\n</div>\r\n", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,:host::ng-deep .profile-name,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,:host::ng-deep .profile-description,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}:host::ng-deep .profile-page{background-color:#f3f3f3;padding-left:10px;color:#000}:host::ng-deep .profile-description{height:7em;word-break:break-all;overflow-y:clip;margin-right:40px}:host::ng-deep .profile-name{height:2em;overflow-y:clip}:host::ng-deep .tab-content-wrapper{background-color:#fff}:host::ng-deep .profile-data-item{display:flex;margin:10px}:host::ng-deep .profile-data-item-value{font-weight:700;margin-left:.25em}:host::ng-deep .profile-page-tabs{background-image:linear-gradient(top,#F3F3F3 53px,transparent 0%,transparent 100%);background-image:-webkit-linear-gradient(top,#F3F3F3 53px,transparent 0%,transparent 100%);padding-top:25px}@media (max-width: 720px){:host::ng-deep .profile-page-tabs{background-image:linear-gradient(top,#F3F3F3 63px,transparent 0%,transparent 100%);background-image:-webkit-linear-gradient(top,#F3F3F3 63px,transparent 0%,transparent 100%);padding-top:35px}}:host::ng-deep .custom-img{max-width:224px;max-height:128px;margin-right:calc(var(--bs-gutter-x) * .5);margin-left:calc(var(--bs-gutter-x) * .5)}:host::ng-deep .card-img{padding:0;display:flex;align-items:center;justify-content:center;margin-right:calc(var(--bs-gutter-x) * .5);margin-left:calc(var(--bs-gutter-x) * .5);width:224px;height:128px}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
2046
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ProfileComponent, decorators: [{
2047
+ type: Component,
2048
+ args: [{ selector: 'mefdev-profile', template: "<div class=\"row profile-page\">\r\n <div class=\"col-12 h3 mt-3\">\r\n {{header}}\r\n </div>\r\n <div class=\"col-xl-3 col-lg-3 col-md-4 col-sm-12\">\r\n <div *ngIf=\"!img || img == ''\" >\r\n <img src=\"assets/images/md_icon.png\" height=\"124\" width=\"220\" />\r\n </div>\r\n <div *ngIf=\"img\" >\r\n <img src=\"{{img}}\" alt=\"\" class=\"custom-img\" [ngStyle]=\"sizeStyle\"\r\n />\r\n </div>\r\n </div>\r\n \r\n <div class=\"col-xl-3 col-lg-4 col-md-5 col-sm-12 mt-4 mt-md-0\" >\r\n <div class=\"row profile-name\">\r\n <div class=\"col\">\r\n {{name}}\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col profile-description\">\r\n {{shortDescription}}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-xl-3 col-lg-4 col-md-5 col-sm-12 body-6 mt-4 mt-md-0\">\r\n <ng-template [ngTemplateOutlet]=\"first_colum\"></ng-template> \r\n </div>\r\n\r\n <div class=\"col-xl-3 col-lg-4 col-md-5 col-sm-12 body-6 mt-4 mt-md-0\" >\r\n <ng-template [ngTemplateOutlet]=\"second_colum\"></ng-template> \r\n </div>\r\n\r\n</div>\r\n<div style=\"position: relative;\">\r\n <div class=\"row profile-page-tabs\">\r\n <ng-template [ngTemplateOutlet]=\"footer\">\r\n </ng-template> \r\n </div> \r\n</div>\r\n", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,:host::ng-deep .profile-name,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,:host::ng-deep .profile-description,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}:host::ng-deep .profile-page{background-color:#f3f3f3;padding-left:10px;color:#000}:host::ng-deep .profile-description{height:7em;word-break:break-all;overflow-y:clip;margin-right:40px}:host::ng-deep .profile-name{height:2em;overflow-y:clip}:host::ng-deep .tab-content-wrapper{background-color:#fff}:host::ng-deep .profile-data-item{display:flex;margin:10px}:host::ng-deep .profile-data-item-value{font-weight:700;margin-left:.25em}:host::ng-deep .profile-page-tabs{background-image:linear-gradient(top,#F3F3F3 53px,transparent 0%,transparent 100%);background-image:-webkit-linear-gradient(top,#F3F3F3 53px,transparent 0%,transparent 100%);padding-top:25px}@media (max-width: 720px){:host::ng-deep .profile-page-tabs{background-image:linear-gradient(top,#F3F3F3 63px,transparent 0%,transparent 100%);background-image:-webkit-linear-gradient(top,#F3F3F3 63px,transparent 0%,transparent 100%);padding-top:35px}}:host::ng-deep .custom-img{max-width:224px;max-height:128px;margin-right:calc(var(--bs-gutter-x) * .5);margin-left:calc(var(--bs-gutter-x) * .5)}:host::ng-deep .card-img{padding:0;display:flex;align-items:center;justify-content:center;margin-right:calc(var(--bs-gutter-x) * .5);margin-left:calc(var(--bs-gutter-x) * .5);width:224px;height:128px}\n"] }]
2049
+ }], ctorParameters: function () { return []; }, propDecorators: { first_colum: [{
2050
+ type: ContentChild,
2051
+ args: ["first_colum"]
2052
+ }], second_colum: [{
2053
+ type: ContentChild,
2054
+ args: ["second_colum"]
2055
+ }], footer: [{
2056
+ type: ContentChild,
2057
+ args: ["footer"]
2058
+ }], name: [{
2059
+ type: Input
2060
+ }], img: [{
2061
+ type: Input
2062
+ }], shortDescription: [{
2063
+ type: Input
2064
+ }], header: [{
2065
+ type: Input
2066
+ }], circleImg: [{
2067
+ type: Input
2068
+ }] } });
2069
+
2070
+ class CentralPageComponent {
2071
+ constructor() {
2072
+ this.width = '100%';
2073
+ }
2074
+ ngOnDestroy() {
2075
+ document.getElementById('dataMainContent').style.height = '';
2076
+ }
2077
+ ngOnInit() {
2078
+ }
2079
+ ngAfterViewChecked() {
2080
+ document.getElementById('dataMainContent').style.height = '100%';
2081
+ }
2082
+ }
2083
+ CentralPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CentralPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2084
+ CentralPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CentralPageComponent, selector: "mefdev-central-page", inputs: { width: "width" }, ngImport: i0, template: "<div class=\"row align-items-center\" style=\"height: 100%;\" [ngStyle]=\"{'width': width}\">\r\n <div class=\"col\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n ", styles: [""], directives: [{ type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
2085
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CentralPageComponent, decorators: [{
2086
+ type: Component,
2087
+ args: [{ selector: 'mefdev-central-page', template: "<div class=\"row align-items-center\" style=\"height: 100%;\" [ngStyle]=\"{'width': width}\">\r\n <div class=\"col\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n ", styles: [""] }]
2088
+ }], ctorParameters: function () { return []; }, propDecorators: { width: [{
2089
+ type: Input
2090
+ }] } });
2091
+
2092
+ class CentralPageRowComponent {
2093
+ constructor() { }
2094
+ ngOnInit() {
2095
+ }
2096
+ }
2097
+ CentralPageRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CentralPageRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2098
+ CentralPageRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: CentralPageRowComponent, selector: "mefdev-central-page-row", ngImport: i0, template: "<div class=\"row justify-content-center\">\r\n <ng-content></ng-content>\r\n</div>", styles: [""] });
2099
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: CentralPageRowComponent, decorators: [{
2100
+ type: Component,
2101
+ args: [{ selector: 'mefdev-central-page-row', template: "<div class=\"row justify-content-center\">\r\n <ng-content></ng-content>\r\n</div>", styles: [""] }]
2102
+ }], ctorParameters: function () { return []; } });
2103
+
2104
+ class TablePageComponent {
2105
+ constructor() { }
2106
+ ngOnInit() {
2107
+ }
2108
+ }
2109
+ TablePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TablePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2110
+ TablePageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: TablePageComponent, selector: "mefdev-table-page", queries: [{ propertyName: "filter_colum", first: true, predicate: ["filter_colum"], descendants: true }], ngImport: i0, template: "<div class=\"row\">\r\n <div class=\"col-12 filter-colum\">\r\n <ng-template [ngTemplateOutlet]=\"filter_colum\"></ng-template> \r\n </div>\r\n</div>\r\n\r\n<div class=\"table-responsive\" >\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [""], directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
2111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: TablePageComponent, decorators: [{
2112
+ type: Component,
2113
+ args: [{ selector: 'mefdev-table-page', template: "<div class=\"row\">\r\n <div class=\"col-12 filter-colum\">\r\n <ng-template [ngTemplateOutlet]=\"filter_colum\"></ng-template> \r\n </div>\r\n</div>\r\n\r\n<div class=\"table-responsive\" >\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [""] }]
2114
+ }], ctorParameters: function () { return []; }, propDecorators: { filter_colum: [{
2115
+ type: ContentChild,
2116
+ args: ["filter_colum"]
2117
+ }] } });
2118
+
2119
+ class ManagePageComponent {
2120
+ constructor() {
2121
+ this.startTabInd = 0;
2122
+ }
2123
+ ngOnInit() {
2124
+ }
2125
+ }
2126
+ ManagePageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ManagePageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2127
+ ManagePageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: ManagePageComponent, selector: "mefdev-manage-page", inputs: { startTabInd: "startTabInd" }, queries: [{ propertyName: "card_title", first: true, predicate: ["card_title"], descendants: true }, { propertyName: "tabs_block", first: true, predicate: ["tabs_block"], descendants: true }], ngImport: i0, template: "<div class=\"card-tabs\">\r\n <div class=\"row body-1 card-header\" *ngIf=\"card_title\">\r\n <div class=\"m-2\">\r\n <ng-template [ngTemplateOutlet]=\"card_title\"></ng-template>\r\n </div>\r\n </div>\r\n <div class=\"row profile-page-tabs\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}.card-tabs .card-header{background-color:#f3f3f3;padding:.5em;border:0}.profile-page-tabs{background-image:linear-gradient(top,#F3F3F3 28px,transparent 0%,transparent 100%);background-image:-webkit-linear-gradient(top,#F3F3F3 28px,transparent 0%,transparent 100%)}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
2128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ManagePageComponent, decorators: [{
2129
+ type: Component,
2130
+ args: [{ selector: 'mefdev-manage-page', template: "<div class=\"card-tabs\">\r\n <div class=\"row body-1 card-header\" *ngIf=\"card_title\">\r\n <div class=\"m-2\">\r\n <ng-template [ngTemplateOutlet]=\"card_title\"></ng-template>\r\n </div>\r\n </div>\r\n <div class=\"row profile-page-tabs\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n", styles: [".color-Dark-Gray-1{color:#373737!important}.color-Dark-Gray-2{color:#4d4d4d!important}.color-Red{color:#cf0106!important}.color-Green{color:#28b446!important}.color-Light-Gray-1{color:#929292!important}.color-Light-Gray-2{color:#eaeaea!important}.color-Light-Gray-3{color:#f3f3f3!important}.color-White{color:#fff!important}.color-Link{color:#0185cf!important}.b-color-Dark-Gray-1{background-color:#373737!important}.b-color-Dark-Gray-2{background-color:#4d4d4d!important}.b-color-Red{background-color:#cf0106!important}.b-color-Green{background-color:#28b446!important}.b-color-Light-Gray-1{background-color:#929292!important}.b-color-Light-Gray-2{background-color:#eaeaea!important}.b-color-Light-Gray-3{background-color:#f3f3f3!important}.b-color-White{background-color:#fff!important}.b-color-Link{background-color:#0185cf!important}.h1,h1{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;text-transform:uppercase;color:#000}.h2,h2{font-family:montserrat-bold;font-size:24px;line-height:29px;font-weight:700;color:#000}.h3,h3{font-family:montserrat-regular;font-size:14px;line-height:20px;font-weight:400;text-transform:uppercase;color:#000}.h4,h4{font-family:montserrat-light;font-weight:300;font-size:13px;line-height:20px;text-transform:uppercase;color:#000}.h5,h5{font-family:montserrat-semibold;font-weight:600;font-size:13px;line-height:20px;color:#000}.h6,h6{font-family:montserrat-medium;font-weight:500;font-size:12px;line-height:20px;text-transform:capitalize;color:#000}.body-1,body-1{font-family:Lato-Bold;font-size:18px;line-height:20px;font-weight:700;color:#000}.body-2,body-2{font-family:Lato-Regular;font-size:16px;line-height:28px;font-weight:400;color:#000}.body-3,body-3{font-family:Lato-Bold;font-size:14px;line-height:22px;font-weight:700;color:#000}.body-4,body-4{font-family:Lato-Regular;font-size:14px;line-height:22px;font-weight:400;color:#000}.body-5,body-5{font-family:Lato-Bold;font-weight:600;font-size:13px;line-height:18px;color:#000}.body-6,body-6{font-family:Lato-Regular;font-size:13px;line-height:16px;font-weight:400;color:#000}.card-tabs .card-header{background-color:#f3f3f3;padding:.5em;border:0}.profile-page-tabs{background-image:linear-gradient(top,#F3F3F3 28px,transparent 0%,transparent 100%);background-image:-webkit-linear-gradient(top,#F3F3F3 28px,transparent 0%,transparent 100%)}\n"] }]
2131
+ }], ctorParameters: function () { return []; }, propDecorators: { card_title: [{
2132
+ type: ContentChild,
2133
+ args: ["card_title"]
2134
+ }], tabs_block: [{
2135
+ type: ContentChild,
2136
+ args: ["tabs_block"]
2137
+ }], startTabInd: [{
2138
+ type: Input
2139
+ }] } });
2140
+
2141
+ class pgTabBodyComponent {
2142
+ }
2143
+ pgTabBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2144
+ pgTabBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: pgTabBodyComponent, selector: "pg-tab-body", inputs: { content: "content" }, ngImport: i0, template: `
2145
+ <ng-template [ngTemplateOutlet]="content"></ng-template>
2146
+ `, isInline: true, directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], encapsulation: i0.ViewEncapsulation.None });
2147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabBodyComponent, decorators: [{
2148
+ type: Component,
2149
+ args: [{
2150
+ selector: 'pg-tab-body',
2151
+ encapsulation: ViewEncapsulation.None,
2152
+ template: `
2153
+ <ng-template [ngTemplateOutlet]="content"></ng-template>
2154
+ `
2155
+ }]
2156
+ }], propDecorators: { content: [{
2157
+ type: Input
2158
+ }] } });
2159
+
2160
+ class pgTabLabelDirective {
2161
+ constructor(elementRef) {
2162
+ this.elementRef = elementRef;
2163
+ this._disabled = false;
2164
+ }
2165
+ set disabled(value) {
2166
+ this._disabled = toBoolean(value);
2167
+ }
2168
+ get disabled() {
2169
+ return this._disabled;
2170
+ }
2171
+ getOffsetLeft() {
2172
+ return this.elementRef.nativeElement.offsetLeft;
2173
+ }
2174
+ getOffsetWidth() {
2175
+ return this.elementRef.nativeElement.offsetWidth;
2176
+ }
2177
+ getOffsetTop() {
2178
+ return this.elementRef.nativeElement.offsetTop;
2179
+ }
2180
+ getOffsetHeight() {
2181
+ return this.elementRef.nativeElement.offsetHeight;
2182
+ }
2183
+ }
2184
+ pgTabLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabLabelDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2185
+ pgTabLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: pgTabLabelDirective, selector: "[pg-tab-label]", inputs: { disabled: "disabled" }, host: { properties: { "class.nav-item": "true", "class.nav-item-disabled": "this.disabled" } }, ngImport: i0 });
2186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabLabelDirective, decorators: [{
2187
+ type: Directive,
2188
+ args: [{
2189
+ selector: '[pg-tab-label]',
2190
+ host: {
2191
+ '[class.nav-item]': 'true'
2192
+ }
2193
+ }]
2194
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { disabled: [{
2195
+ type: Input
2196
+ }, {
2197
+ type: HostBinding,
2198
+ args: ['class.nav-item-disabled']
2199
+ }] } });
2200
+
2201
+ const availablePrefixs = ['moz', 'ms', 'webkit'];
2202
+ function requestAnimationFramePolyfill() {
2203
+ let lastTime = 0;
2204
+ return function (callback) {
2205
+ const currTime = new Date().getTime();
2206
+ const timeToCall = Math.max(0, 16 - (currTime - lastTime));
2207
+ const id = window.setTimeout(() => { callback(currTime + timeToCall); }, timeToCall);
2208
+ lastTime = currTime + timeToCall;
2209
+ return id;
2210
+ };
2211
+ }
2212
+ function getRequestAnimationFrame() {
2213
+ if (typeof window === 'undefined') {
2214
+ //@ts-ignore
2215
+ return () => null;
2216
+ }
2217
+ if (window.requestAnimationFrame) {
2218
+ return window.requestAnimationFrame.bind(window);
2219
+ }
2220
+ const prefix = availablePrefixs.filter(key => `${key}RequestAnimationFrame` in window)[0];
2221
+ return prefix
2222
+ ? window[`${prefix}RequestAnimationFrame`]
2223
+ : requestAnimationFramePolyfill();
2224
+ }
2225
+ const reqAnimFrame = getRequestAnimationFrame();
2226
+
2227
+ class pgTabsInkBarDirective {
2228
+ constructor(_renderer, _elementRef, _ngZone) {
2229
+ this._renderer = _renderer;
2230
+ this._elementRef = _elementRef;
2231
+ this._ngZone = _ngZone;
2232
+ this._animated = false;
2233
+ this.PositionMode = 'horizontal';
2234
+ }
2235
+ set Animated(value) {
2236
+ this._animated = toBoolean(value);
2237
+ }
2238
+ get Animated() {
2239
+ return this._animated;
2240
+ }
2241
+ alignToElement(element) {
2242
+ this.show();
2243
+ this._ngZone.runOutsideAngular(() => {
2244
+ reqAnimFrame(() => {
2245
+ /** when horizontal remove height style and add transfrom left **/
2246
+ if (this.PositionMode === 'horizontal') {
2247
+ this._renderer.removeStyle(this._elementRef.nativeElement, 'height');
2248
+ this._renderer.setStyle(this._elementRef.nativeElement, 'transform', `translate3d(${this._getLeftPosition(element)}, 0px, 0px)`);
2249
+ this._renderer.setStyle(this._elementRef.nativeElement, 'width', this._getElementWidth(element));
2250
+ }
2251
+ else {
2252
+ /** when vertical remove width style and add transfrom top **/
2253
+ this._renderer.removeStyle(this._elementRef.nativeElement, 'width');
2254
+ this._renderer.setStyle(this._elementRef.nativeElement, 'transform', `translate3d(0px, ${this._getTopPosition(element)}, 0px)`);
2255
+ this._renderer.setStyle(this._elementRef.nativeElement, 'height', this._getElementHeight(element));
2256
+ }
2257
+ });
2258
+ });
2259
+ }
2260
+ show() {
2261
+ this._renderer.setStyle(this._elementRef.nativeElement, 'visibility', 'visible');
2262
+ }
2263
+ setDisplay(value) {
2264
+ this._renderer.setStyle(this._elementRef.nativeElement, 'display', value);
2265
+ }
2266
+ hide() {
2267
+ this._renderer.setStyle(this._elementRef.nativeElement, 'visibility', 'hidden');
2268
+ }
2269
+ _getLeftPosition(element) {
2270
+ return element ? element.offsetLeft + 'px' : '0';
2271
+ }
2272
+ _getElementWidth(element) {
2273
+ return element ? element.offsetWidth + 'px' : '0';
2274
+ }
2275
+ _getTopPosition(element) {
2276
+ return element ? element.offsetTop + 'px' : '0';
2277
+ }
2278
+ _getElementHeight(element) {
2279
+ return element ? element.offsetHeight + 'px' : '0';
2280
+ }
2281
+ }
2282
+ pgTabsInkBarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabsInkBarDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
2283
+ pgTabsInkBarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: pgTabsInkBarDirective, selector: "[pg-tabs-ink-bar]", inputs: { Animated: "Animated", PositionMode: "PositionMode" }, host: { properties: { "class.nav-item": "true", "class.nav-item-animated": "this.Animated" } }, ngImport: i0 });
2284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabsInkBarDirective, decorators: [{
2285
+ type: Directive,
2286
+ args: [{
2287
+ selector: '[pg-tabs-ink-bar]',
2288
+ host: {
2289
+ '[class.nav-item]': 'true'
2290
+ }
2291
+ }]
2292
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { Animated: [{
2293
+ type: Input
2294
+ }, {
2295
+ type: HostBinding,
2296
+ args: ['class.nav-item-animated']
2297
+ }], PositionMode: [{
2298
+ type: Input
2299
+ }] } });
2300
+
2301
+ const EXAGGERATED_OVERSCROLL = 64;
2302
+ class pgTabsNavComponent {
2303
+ constructor(_elementRef, _ngZone, _renderer, _dir) {
2304
+ this._elementRef = _elementRef;
2305
+ this._ngZone = _ngZone;
2306
+ this._renderer = _renderer;
2307
+ this._dir = _dir;
2308
+ this._animated = true;
2309
+ this._hideBar = false;
2310
+ this._showPagination = true;
2311
+ this._showPaginationControls = false;
2312
+ this._disableScrollAfter = true;
2313
+ this._disableScrollBefore = true;
2314
+ this._scrollDistance = 0;
2315
+ this._selectedIndexChanged = false;
2316
+ this._realignInkBar = null;
2317
+ this._selectedIndex = 0;
2318
+ this._tabPositionMode = 'horizontal';
2319
+ this._tabPosition = 'top';
2320
+ this.Size = 'default';
2321
+ this._type = 'line';
2322
+ }
2323
+ set Animated(value) {
2324
+ this._animated = toBoolean(value);
2325
+ }
2326
+ get Animated() {
2327
+ return this._animated;
2328
+ }
2329
+ set Position(value) {
2330
+ this._tabPosition = value;
2331
+ }
2332
+ get Position() {
2333
+ return this._tabPosition;
2334
+ }
2335
+ set HideBar(value) {
2336
+ this._hideBar = toBoolean(value);
2337
+ }
2338
+ get HideBar() {
2339
+ return this._hideBar;
2340
+ }
2341
+ set Type(value) {
2342
+ this._type = value;
2343
+ }
2344
+ get Type() {
2345
+ return this._type;
2346
+ }
2347
+ set ShowPagination(value) {
2348
+ this._showPagination = toBoolean(value);
2349
+ }
2350
+ get ShowPagination() {
2351
+ return this._showPagination;
2352
+ }
2353
+ set PositionMode(value) {
2354
+ this._tabPositionMode = value;
2355
+ this._alignInkBarToSelectedTab();
2356
+ if (this.ShowPagination) {
2357
+ this._updatePagination();
2358
+ }
2359
+ }
2360
+ get PositionMode() {
2361
+ return this._tabPositionMode;
2362
+ }
2363
+ set selectedIndex(value) {
2364
+ this._selectedIndexChanged = this._selectedIndex !== value;
2365
+ this._selectedIndex = value;
2366
+ }
2367
+ get selectedIndex() {
2368
+ return this._selectedIndex;
2369
+ }
2370
+ _onContentChanges() {
2371
+ if (this.ShowPagination) {
2372
+ this._updatePagination();
2373
+ }
2374
+ this._alignInkBarToSelectedTab();
2375
+ }
2376
+ _scrollHeader(scrollDir) {
2377
+ // Move the scroll distance one-third the length of the tab list's viewport.
2378
+ this.scrollDistance += ((scrollDir === 'before' ? -1 : 1) * this.viewWidthHeightPix) / 3;
2379
+ }
2380
+ ngAfterContentChecked() {
2381
+ if (this._tabLabelCount !== this._labelWrappers.length) {
2382
+ if (this.ShowPagination) {
2383
+ this._updatePagination();
2384
+ }
2385
+ this._tabLabelCount = this._labelWrappers.length;
2386
+ }
2387
+ if (this._selectedIndexChanged) {
2388
+ this._scrollToLabel(this._selectedIndex);
2389
+ if (this.ShowPagination) {
2390
+ this._checkScrollingControls();
2391
+ }
2392
+ this._alignInkBarToSelectedTab();
2393
+ this._selectedIndexChanged = false;
2394
+ }
2395
+ if (this._scrollDistanceChanged) {
2396
+ if (this.ShowPagination) {
2397
+ this._updateTabScrollPosition();
2398
+ }
2399
+ this._scrollDistanceChanged = false;
2400
+ }
2401
+ }
2402
+ ngAfterContentInit() {
2403
+ this._realignInkBar = this._ngZone.runOutsideAngular(() => {
2404
+ const dirChange = this._dir ? this._dir.change : of(null);
2405
+ const resize = typeof window !== 'undefined' ? fromEvent(window, 'resize').pipe(auditTime(10)) : of(null);
2406
+ //@ts-ignore
2407
+ return merge(dirChange, resize)
2408
+ .pipe(startWith(null))
2409
+ .subscribe(() => {
2410
+ if (this.ShowPagination) {
2411
+ this._updatePagination();
2412
+ }
2413
+ this._alignInkBarToSelectedTab();
2414
+ });
2415
+ });
2416
+ }
2417
+ _updateTabScrollPosition() {
2418
+ const scrollDistance = this.scrollDistance;
2419
+ if (this.PositionMode === 'horizontal') {
2420
+ const translateX = this._getLayoutDirection() === 'ltr' ? -scrollDistance : scrollDistance;
2421
+ this._renderer.setStyle(this._tabList.nativeElement, 'transform', `translate3d(${translateX}px, 0, 0)`);
2422
+ }
2423
+ else {
2424
+ this._renderer.setStyle(this._tabList.nativeElement, 'transform', `translate3d(0,${-scrollDistance}px, 0)`);
2425
+ }
2426
+ }
2427
+ _updatePagination() {
2428
+ this._checkPaginationEnabled();
2429
+ this._checkScrollingControls();
2430
+ this._updateTabScrollPosition();
2431
+ }
2432
+ _checkPaginationEnabled() {
2433
+ this._showPaginationControls = this.tabListScrollWidthHeightPix > this.elementRefOffSetWidthHeight;
2434
+ if (!this._showPaginationControls) {
2435
+ this.scrollDistance = 0;
2436
+ }
2437
+ }
2438
+ _scrollToLabel(labelIndex) {
2439
+ const selectedLabel = this._labelWrappers ? this._labelWrappers.toArray()[labelIndex] : null;
2440
+ if (!selectedLabel) {
2441
+ return;
2442
+ }
2443
+ // The view length is the visible width of the tab labels.
2444
+ let labelBeforePos;
2445
+ let labelAfterPos;
2446
+ if (this.PositionMode === 'horizontal') {
2447
+ if (this._getLayoutDirection() === 'ltr') {
2448
+ labelBeforePos = selectedLabel.getOffsetLeft();
2449
+ labelAfterPos = labelBeforePos + selectedLabel.getOffsetWidth();
2450
+ }
2451
+ else {
2452
+ labelAfterPos = this._tabList.nativeElement.offsetWidth - selectedLabel.getOffsetLeft();
2453
+ labelBeforePos = labelAfterPos - selectedLabel.getOffsetWidth();
2454
+ }
2455
+ }
2456
+ else {
2457
+ labelBeforePos = selectedLabel.getOffsetTop();
2458
+ labelAfterPos = labelBeforePos + selectedLabel.getOffsetHeight();
2459
+ }
2460
+ const beforeVisiblePos = this.scrollDistance;
2461
+ const afterVisiblePos = this.scrollDistance + this.viewWidthHeightPix;
2462
+ if (labelBeforePos < beforeVisiblePos) {
2463
+ // Scroll header to move label to the before direction
2464
+ this.scrollDistance -= beforeVisiblePos - labelBeforePos + EXAGGERATED_OVERSCROLL;
2465
+ }
2466
+ else if (labelAfterPos > afterVisiblePos) {
2467
+ // Scroll header to move label to the after direction
2468
+ this.scrollDistance += labelAfterPos - afterVisiblePos + EXAGGERATED_OVERSCROLL;
2469
+ }
2470
+ }
2471
+ _checkScrollingControls() {
2472
+ // Check if the pagination arrows should be activated.
2473
+ this._disableScrollBefore = this.scrollDistance === 0;
2474
+ this._disableScrollAfter = this.scrollDistance === this._getMaxScrollDistance();
2475
+ }
2476
+ /**
2477
+ * Determines what is the maximum length in pixels that can be set for the scroll distance. This
2478
+ * is equal to the difference in width between the tab list container and tab header container.
2479
+ *
2480
+ * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
2481
+ * should be called sparingly.
2482
+ */
2483
+ _getMaxScrollDistance() {
2484
+ return this.tabListScrollWidthHeightPix - this.viewWidthHeightPix || 0;
2485
+ }
2486
+ /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
2487
+ set scrollDistance(v) {
2488
+ this._scrollDistance = Math.max(0, Math.min(this._getMaxScrollDistance(), v));
2489
+ // Mark that the scroll distance has changed so that after the view is checked, the CSS
2490
+ // transformation can move the header.
2491
+ this._scrollDistanceChanged = true;
2492
+ this._checkScrollingControls();
2493
+ }
2494
+ get scrollDistance() {
2495
+ return this._scrollDistance;
2496
+ }
2497
+ get viewWidthHeightPix() {
2498
+ let PAGINATION_PIX = 0;
2499
+ if (this._showPaginationControls) {
2500
+ PAGINATION_PIX = 64;
2501
+ }
2502
+ if (this.PositionMode === 'horizontal') {
2503
+ return this._tabListContainer.nativeElement.offsetWidth - PAGINATION_PIX;
2504
+ }
2505
+ else {
2506
+ return this._tabListContainer.nativeElement.offsetHeight - PAGINATION_PIX;
2507
+ }
2508
+ }
2509
+ get tabListScrollWidthHeightPix() {
2510
+ if (this.PositionMode === 'horizontal') {
2511
+ return this._tabList.nativeElement.scrollWidth;
2512
+ }
2513
+ else {
2514
+ return this._tabList.nativeElement.scrollHeight;
2515
+ }
2516
+ }
2517
+ get elementRefOffSetWidthHeight() {
2518
+ if (this.PositionMode === 'horizontal') {
2519
+ return this._elementRef.nativeElement.offsetWidth;
2520
+ }
2521
+ else {
2522
+ return this._elementRef.nativeElement.offsetHeight;
2523
+ }
2524
+ }
2525
+ _getLayoutDirection() {
2526
+ return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';
2527
+ }
2528
+ _alignInkBarToSelectedTab() {
2529
+ if (this.Type !== 'fillup') {
2530
+ const selectedLabelWrapper = this._labelWrappers && this._labelWrappers.length
2531
+ ? this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement
2532
+ : null;
2533
+ if (this._inkBar) {
2534
+ this._inkBar.alignToElement(selectedLabelWrapper);
2535
+ }
2536
+ }
2537
+ }
2538
+ }
2539
+ pgTabsNavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabsNavComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1$4.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Component });
2540
+ pgTabsNavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: pgTabsNavComponent, selector: "pg-tabs-nav", inputs: { Size: "Size", Animated: "Animated", Position: "Position", HideBar: "HideBar", Type: "Type", ShowPagination: "ShowPagination", PositionMode: "PositionMode", selectedIndex: "selectedIndex" }, queries: [{ propertyName: "_tabBarExtraContent", first: true, predicate: ["tabBarExtraContent"], descendants: true, static: true }, { propertyName: "_labelWrappers", predicate: pgTabLabelDirective }], viewQueries: [{ propertyName: "_inkBar", first: true, predicate: pgTabsInkBarDirective, descendants: true, static: true }, { propertyName: "_tabListContainer", first: true, predicate: ["tabListContainer"], descendants: true, static: true }, { propertyName: "_tabList", first: true, predicate: ["tabList"], descendants: true, static: true }], ngImport: i0, template: `
2541
+ <div class="nav-tabs-wrapper" [class.scrolling]="_showPaginationControls" #tabListContainer>
2542
+ <div class="nav-wrap">
2543
+ <ul
2544
+ class="nav nav-tabs nav-tabs-{{ _type }} nav-tabs-{{ _tabPosition }}"
2545
+ [class.tabs-nav-animated]="Animated"
2546
+ #tabList
2547
+ (cdkObserveContent)="_onContentChanges()"
2548
+ >
2549
+ <div
2550
+ class="active-bar"
2551
+ pg-tabs-ink-bar
2552
+ [hidden]="HideBar"
2553
+ [Animated]="Animated"
2554
+ [PositionMode]="PositionMode"
2555
+ style="display: block;"
2556
+ ></div>
2557
+ <ng-content></ng-content>
2558
+ </ul>
2559
+ </div>
2560
+ </div>
2561
+ `, isInline: true, directives: [{ type: i2$2.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }, { type: pgTabsInkBarDirective, selector: "[pg-tabs-ink-bar]", inputs: ["Animated", "PositionMode"] }], encapsulation: i0.ViewEncapsulation.None });
2562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabsNavComponent, decorators: [{
2563
+ type: Component,
2564
+ args: [{
2565
+ selector: 'pg-tabs-nav',
2566
+ encapsulation: ViewEncapsulation.None,
2567
+ template: `
2568
+ <div class="nav-tabs-wrapper" [class.scrolling]="_showPaginationControls" #tabListContainer>
2569
+ <div class="nav-wrap">
2570
+ <ul
2571
+ class="nav nav-tabs nav-tabs-{{ _type }} nav-tabs-{{ _tabPosition }}"
2572
+ [class.tabs-nav-animated]="Animated"
2573
+ #tabList
2574
+ (cdkObserveContent)="_onContentChanges()"
2575
+ >
2576
+ <div
2577
+ class="active-bar"
2578
+ pg-tabs-ink-bar
2579
+ [hidden]="HideBar"
2580
+ [Animated]="Animated"
2581
+ [PositionMode]="PositionMode"
2582
+ style="display: block;"
2583
+ ></div>
2584
+ <ng-content></ng-content>
2585
+ </ul>
2586
+ </div>
2587
+ </div>
2588
+ `,
2589
+ host: {}
2590
+ }]
2591
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1$4.Directionality, decorators: [{
2592
+ type: Optional
2593
+ }] }]; }, propDecorators: { Size: [{
2594
+ type: Input
2595
+ }], Animated: [{
2596
+ type: Input
2597
+ }], Position: [{
2598
+ type: Input
2599
+ }], HideBar: [{
2600
+ type: Input
2601
+ }], Type: [{
2602
+ type: Input
2603
+ }], _tabBarExtraContent: [{
2604
+ type: ContentChild,
2605
+ args: ['tabBarExtraContent', { static: true }]
2606
+ }], _labelWrappers: [{
2607
+ type: ContentChildren,
2608
+ args: [pgTabLabelDirective]
2609
+ }], _inkBar: [{
2610
+ type: ViewChild,
2611
+ args: [pgTabsInkBarDirective, { static: true }]
2612
+ }], _tabListContainer: [{
2613
+ type: ViewChild,
2614
+ args: ['tabListContainer', { static: true }]
2615
+ }], _tabList: [{
2616
+ type: ViewChild,
2617
+ args: ['tabList', { static: true }]
2618
+ }], ShowPagination: [{
2619
+ type: Input
2620
+ }], PositionMode: [{
2621
+ type: Input
2622
+ }], selectedIndex: [{
2623
+ type: Input
2624
+ }] } });
2625
+
2626
+ /** code from https://github.com/angular/material2 */
2627
+ class TabChangeEvent {
2628
+ }
2629
+ class pgTabSetComponent {
2630
+ constructor(_renderer) {
2631
+ this._renderer = _renderer;
2632
+ this._prefixCls = 'nav-tabs';
2633
+ this._tabPosition = 'top';
2634
+ this._tabPositionMode = 'horizontal';
2635
+ this._indexToSelect = 0;
2636
+ this._selectedIndex = null;
2637
+ this._isViewInit = false;
2638
+ this._tabs = [];
2639
+ this._tabAnimation = '';
2640
+ this._extra_tab_class = '';
2641
+ this._extra_tabcontent_class = '';
2642
+ this.Animated = true;
2643
+ this.ShowPagination = true;
2644
+ this.Hide = false;
2645
+ this.SelectChange = new EventEmitter(true);
2646
+ this.Size = 'default';
2647
+ this._type = 'line';
2648
+ this.tabs = [];
2649
+ }
2650
+ set SelectedIndex(value) {
2651
+ this._indexToSelect = value;
2652
+ }
2653
+ get SelectedIndex() {
2654
+ return this._selectedIndex;
2655
+ }
2656
+ get SelectedIndexChange() {
2657
+ return this.SelectChange.pipe(map(event => event.index));
2658
+ }
2659
+ set TabPosition(value) {
2660
+ this._tabPosition = value;
2661
+ if (this._tabPosition === 'top' || this._tabPosition === 'bottom') {
2662
+ this._tabPositionMode = 'horizontal';
2663
+ }
2664
+ else {
2665
+ this._tabPositionMode = 'vertical';
2666
+ }
2667
+ }
2668
+ get TabPosition() {
2669
+ return this._tabPosition;
2670
+ }
2671
+ set extraTabClass(value) {
2672
+ this._extra_tab_class = value;
2673
+ }
2674
+ set extraTabContentClass(value) {
2675
+ this._extra_tabcontent_class = value;
2676
+ }
2677
+ set Type(value) {
2678
+ if (this._type === value) {
2679
+ return;
2680
+ }
2681
+ this._type = value;
2682
+ this._setClassMap();
2683
+ }
2684
+ set tabAnimation(value) {
2685
+ this._tabAnimation = value;
2686
+ }
2687
+ get Type() {
2688
+ return this._type;
2689
+ }
2690
+ _setPosition(value) { }
2691
+ _setClassMap() { }
2692
+ clickLabel(index) {
2693
+ if (this._tabs[index].Disabled) {
2694
+ }
2695
+ else {
2696
+ this.SelectedIndex = index;
2697
+ this._tabs[index].pgClick.emit();
2698
+ }
2699
+ }
2700
+ ngOnInit() {
2701
+ this._setClassMap();
2702
+ }
2703
+ ngAfterContentChecked() {
2704
+ // Clamp the next selected index to the bounds of 0 and the tabs length. Note the `|| 0`, which
2705
+ // ensures that values like NaN can't get through and which would otherwise throw the
2706
+ // component into an infinite loop (since Math.max(NaN, 0) === NaN).
2707
+ const indexToSelect = (this._indexToSelect = Math.min(this._tabs.length - 1, Math.max(this._indexToSelect || 0, 0)));
2708
+ // If there is a change in selected index, emit a change event. Should not trigger if
2709
+ // the selected index has not yet been initialized.
2710
+ if (this._selectedIndex !== indexToSelect && this._selectedIndex != null) {
2711
+ this.SelectChange.emit(this._createChangeEvent(indexToSelect));
2712
+ }
2713
+ // Setup the position for each tab and optionally setup an origin on the next selected tab.
2714
+ this._tabs.forEach((tab, index) => {
2715
+ tab.position = index - indexToSelect;
2716
+ // If there is already a selected tab, then set up an origin for the next selected tab
2717
+ // if it doesn't have one already.
2718
+ if (this._selectedIndex != null && tab.position === 0 && !tab.origin) {
2719
+ tab.origin = indexToSelect - this._selectedIndex;
2720
+ }
2721
+ });
2722
+ this._selectedIndex = indexToSelect;
2723
+ }
2724
+ ngAfterViewInit() {
2725
+ this._isViewInit = true;
2726
+ }
2727
+ _createChangeEvent(index) {
2728
+ const event = new TabChangeEvent();
2729
+ event.index = index;
2730
+ if (this._tabs && this._tabs.length) {
2731
+ event.tab = this._tabs[index];
2732
+ this._tabs.forEach((item, i) => {
2733
+ if (i !== index) {
2734
+ item.pgDeselect.emit();
2735
+ }
2736
+ });
2737
+ event.tab.pgSelect.emit();
2738
+ }
2739
+ return event;
2740
+ }
2741
+ get inkBarAnimated() {
2742
+ return this.Animated === true || this.Animated.inkBar === true;
2743
+ }
2744
+ get tabPaneAnimated() {
2745
+ return this.Animated === true || this.Animated.tabPane === true;
2746
+ }
2747
+ }
2748
+ pgTabSetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabSetComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2749
+ pgTabSetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: pgTabSetComponent, selector: "pg-tabset", inputs: { TabBarExtraTemplate: "TabBarExtraTemplate", Animated: "Animated", ShowPagination: "ShowPagination", Hide: "Hide", SelectedIndex: "SelectedIndex", Size: "Size", TabPosition: "TabPosition", extraTabClass: "extraTabClass", extraTabContentClass: "extraTabContentClass", Type: "Type", tabAnimation: "tabAnimation" }, outputs: { SelectedIndexChange: "SelectedIndexChange", SelectChange: "SelectChange" }, queries: [{ propertyName: "TabBarExtraContent", first: true, predicate: ["TabBarExtraContent"], descendants: true, static: true }], viewQueries: [{ propertyName: "_tabNav", first: true, predicate: ["tabNav"], descendants: true, static: true }, { propertyName: "_tabContent", first: true, predicate: ["tabContent"], descendants: true, static: true }, { propertyName: "_hostContent", first: true, predicate: ["hostContent"], descendants: true, static: true }], ngImport: i0, template: `
2750
+ <div class="tab-wrapper tab-{{ _tabPositionMode }} {{ _tabPosition }} {{ _type }} {{ _extra_tab_class }}" #hostContent>
2751
+ <pg-tabs-nav
2752
+ #tabNav
2753
+ [Size]="Size"
2754
+ [Type]="Type"
2755
+ [ShowPagination]="ShowPagination"
2756
+ [PositionMode]="_tabPositionMode"
2757
+ [Position]="_tabPosition"
2758
+ [Animated]="inkBarAnimated"
2759
+ [HideBar]="Hide"
2760
+ [selectedIndex]="SelectedIndex"
2761
+ >
2762
+ <ng-template #tabBarExtraContent>
2763
+ <ng-template [ngTemplateOutlet]="TabBarExtraTemplate || TabBarExtraContent"></ng-template>
2764
+ </ng-template>
2765
+ <li pg-tab-label [disabled]="tab.disabled" (click)="clickLabel(i)" *ngFor="let tab of _tabs; let i = index">
2766
+ <a href="javascript:void(0);" class="" [class.active]="SelectedIndex == i && !Hide">
2767
+ <ng-template [ngTemplateOutlet]="tab._tabHeading"></ng-template>
2768
+ </a>
2769
+ </li>
2770
+ </pg-tabs-nav>
2771
+ <div class="tab-content-wrapper {{ _extra_tabcontent_class }}">
2772
+ <div
2773
+ class="tab-content {{ _tabAnimation }}"
2774
+ #tabContent
2775
+ [class.animated]="tabPaneAnimated"
2776
+ [class.not-animated]="!tabPaneAnimated"
2777
+ [style.margin-left.%]="tabPaneAnimated && -(SelectedIndex ?? -1) * 100"
2778
+ >
2779
+ <pg-tab-body
2780
+ class="tab-pane"
2781
+ [class.active]="SelectedIndex == i && !Hide"
2782
+ [class.inactive]="SelectedIndex != i || Hide"
2783
+ [content]="tab.content"
2784
+ *ngFor="let tab of _tabs; let i = index"
2785
+ >
2786
+ </pg-tab-body>
2787
+ </div>
2788
+ </div>
2789
+ </div>
2790
+ `, isInline: true, components: [{ type: pgTabsNavComponent, selector: "pg-tabs-nav", inputs: ["Size", "Animated", "Position", "HideBar", "Type", "ShowPagination", "PositionMode", "selectedIndex"] }, { type: pgTabBodyComponent, selector: "pg-tab-body", inputs: ["content"] }], directives: [{ type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: pgTabLabelDirective, selector: "[pg-tab-label]", inputs: ["disabled"] }], encapsulation: i0.ViewEncapsulation.None });
2791
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabSetComponent, decorators: [{
2792
+ type: Component,
2793
+ args: [{
2794
+ selector: 'pg-tabset',
2795
+ encapsulation: ViewEncapsulation.None,
2796
+ template: `
2797
+ <div class="tab-wrapper tab-{{ _tabPositionMode }} {{ _tabPosition }} {{ _type }} {{ _extra_tab_class }}" #hostContent>
2798
+ <pg-tabs-nav
2799
+ #tabNav
2800
+ [Size]="Size"
2801
+ [Type]="Type"
2802
+ [ShowPagination]="ShowPagination"
2803
+ [PositionMode]="_tabPositionMode"
2804
+ [Position]="_tabPosition"
2805
+ [Animated]="inkBarAnimated"
2806
+ [HideBar]="Hide"
2807
+ [selectedIndex]="SelectedIndex"
2808
+ >
2809
+ <ng-template #tabBarExtraContent>
2810
+ <ng-template [ngTemplateOutlet]="TabBarExtraTemplate || TabBarExtraContent"></ng-template>
2811
+ </ng-template>
2812
+ <li pg-tab-label [disabled]="tab.disabled" (click)="clickLabel(i)" *ngFor="let tab of _tabs; let i = index">
2813
+ <a href="javascript:void(0);" class="" [class.active]="SelectedIndex == i && !Hide">
2814
+ <ng-template [ngTemplateOutlet]="tab._tabHeading"></ng-template>
2815
+ </a>
2816
+ </li>
2817
+ </pg-tabs-nav>
2818
+ <div class="tab-content-wrapper {{ _extra_tabcontent_class }}">
2819
+ <div
2820
+ class="tab-content {{ _tabAnimation }}"
2821
+ #tabContent
2822
+ [class.animated]="tabPaneAnimated"
2823
+ [class.not-animated]="!tabPaneAnimated"
2824
+ [style.margin-left.%]="tabPaneAnimated && -(SelectedIndex ?? -1) * 100"
2825
+ >
2826
+ <pg-tab-body
2827
+ class="tab-pane"
2828
+ [class.active]="SelectedIndex == i && !Hide"
2829
+ [class.inactive]="SelectedIndex != i || Hide"
2830
+ [content]="tab.content"
2831
+ *ngFor="let tab of _tabs; let i = index"
2832
+ >
2833
+ </pg-tab-body>
2834
+ </div>
2835
+ </div>
2836
+ </div>
2837
+ `
2838
+ }]
2839
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { TabBarExtraTemplate: [{
2840
+ type: Input
2841
+ }], TabBarExtraContent: [{
2842
+ type: ContentChild,
2843
+ args: ['TabBarExtraContent', { static: true }]
2844
+ }], _tabNav: [{
2845
+ type: ViewChild,
2846
+ args: ['tabNav', { static: true }]
2847
+ }], _tabContent: [{
2848
+ type: ViewChild,
2849
+ args: ['tabContent', { static: true }]
2850
+ }], _hostContent: [{
2851
+ type: ViewChild,
2852
+ args: ['hostContent', { static: true }]
2853
+ }], Animated: [{
2854
+ type: Input
2855
+ }], ShowPagination: [{
2856
+ type: Input
2857
+ }], Hide: [{
2858
+ type: Input
2859
+ }], SelectedIndex: [{
2860
+ type: Input
2861
+ }], SelectedIndexChange: [{
2862
+ type: Output
2863
+ }], SelectChange: [{
2864
+ type: Output
2865
+ }], Size: [{
2866
+ type: Input
2867
+ }], TabPosition: [{
2868
+ type: Input
2869
+ }], extraTabClass: [{
2870
+ type: Input
2871
+ }], extraTabContentClass: [{
2872
+ type: Input
2873
+ }], Type: [{
2874
+ type: Input
2875
+ }], tabAnimation: [{
2876
+ type: Input
2877
+ }] } });
2878
+
2879
+ class pgTabComponent {
2880
+ constructor(pgTabSetComponent) {
2881
+ this.pgTabSetComponent = pgTabSetComponent;
2882
+ this.disabled = false;
2883
+ this.position = null;
2884
+ this.origin = null;
2885
+ this.pgSelect = new EventEmitter();
2886
+ this.pgClick = new EventEmitter();
2887
+ this.pgDeselect = new EventEmitter();
2888
+ }
2889
+ set Disabled(value) {
2890
+ this.disabled = toBoolean(value);
2891
+ }
2892
+ get Disabled() {
2893
+ return this.disabled;
2894
+ }
2895
+ get content() {
2896
+ return this._content;
2897
+ }
2898
+ ngOnInit() {
2899
+ this.pgTabSetComponent._tabs.push(this);
2900
+ }
2901
+ ngOnDestroy() {
2902
+ this.pgTabSetComponent._tabs.splice(this.pgTabSetComponent._tabs.indexOf(this), 1);
2903
+ }
2904
+ }
2905
+ pgTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabComponent, deps: [{ token: pgTabSetComponent }], target: i0.ɵɵFactoryTarget.Component });
2906
+ pgTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: pgTabComponent, selector: "pg-tab", inputs: { Disabled: "Disabled" }, outputs: { pgSelect: "pgSelect", pgClick: "pgClick", pgDeselect: "pgDeselect" }, host: { properties: { "class.ant-tabs-tabpane": "true" } }, queries: [{ propertyName: "_tabHeading", first: true, predicate: ["TabHeading"], descendants: true, static: true }], viewQueries: [{ propertyName: "_content", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: `
2907
+ <ng-template>
2908
+ <ng-content></ng-content>
2909
+ </ng-template>
2910
+ `, isInline: true });
2911
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabComponent, decorators: [{
2912
+ type: Component,
2913
+ args: [{
2914
+ selector: 'pg-tab',
2915
+ template: `
2916
+ <ng-template>
2917
+ <ng-content></ng-content>
2918
+ </ng-template>
2919
+ `,
2920
+ styles: [],
2921
+ host: {
2922
+ '[class.ant-tabs-tabpane]': 'true'
2923
+ }
2924
+ }]
2925
+ }], ctorParameters: function () { return [{ type: pgTabSetComponent }]; }, propDecorators: { Disabled: [{
2926
+ type: Input
2927
+ }], pgSelect: [{
2928
+ type: Output
2929
+ }], pgClick: [{
2930
+ type: Output
2931
+ }], pgDeselect: [{
2932
+ type: Output
2933
+ }], _tabHeading: [{
2934
+ type: ContentChild,
2935
+ args: ['TabHeading', { static: true }]
2936
+ }], _content: [{
2937
+ type: ViewChild,
2938
+ args: [TemplateRef, { static: true }]
2939
+ }] } });
2940
+
2941
+ class pgTabsModule {
2942
+ }
2943
+ pgTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2944
+ pgTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabsModule, declarations: [pgTabComponent, pgTabSetComponent, pgTabsNavComponent, pgTabLabelDirective, pgTabsInkBarDirective, pgTabBodyComponent], imports: [CommonModule, ObserversModule], exports: [pgTabComponent, pgTabSetComponent, pgTabsNavComponent, pgTabLabelDirective, pgTabsInkBarDirective, pgTabBodyComponent] });
2945
+ pgTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabsModule, imports: [[CommonModule, ObserversModule]] });
2946
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgTabsModule, decorators: [{
2947
+ type: NgModule,
2948
+ args: [{
2949
+ declarations: [pgTabComponent, pgTabSetComponent, pgTabsNavComponent, pgTabLabelDirective, pgTabsInkBarDirective, pgTabBodyComponent],
2950
+ exports: [pgTabComponent, pgTabSetComponent, pgTabsNavComponent, pgTabLabelDirective, pgTabsInkBarDirective, pgTabBodyComponent],
2951
+ imports: [CommonModule, ObserversModule]
2952
+ }]
2953
+ }] });
2954
+
2955
+ let mefDevPageLayoutsModuleComponents = [
2956
+ ProfileComponent,
2957
+ CentralPageComponent,
2958
+ CentralPageRowComponent,
2959
+ TablePageComponent,
2960
+ ManagePageComponent
2961
+ ];
2962
+ class MefDevPageLayoutsModule {
2963
+ }
2964
+ MefDevPageLayoutsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevPageLayoutsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2965
+ MefDevPageLayoutsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevPageLayoutsModule, declarations: [ProfileComponent,
2966
+ CentralPageComponent,
2967
+ CentralPageRowComponent,
2968
+ TablePageComponent,
2969
+ ManagePageComponent], imports: [CommonModule,
2970
+ TranslateModule,
2971
+ pgTabsModule], exports: [ProfileComponent,
2972
+ CentralPageComponent,
2973
+ CentralPageRowComponent,
2974
+ TablePageComponent,
2975
+ ManagePageComponent] });
2976
+ MefDevPageLayoutsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevPageLayoutsModule, imports: [[
2977
+ CommonModule,
2978
+ TranslateModule,
2979
+ pgTabsModule,
2980
+ ]] });
2981
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: MefDevPageLayoutsModule, decorators: [{
2982
+ type: NgModule,
2983
+ args: [{
2984
+ declarations: mefDevPageLayoutsModuleComponents,
2985
+ exports: mefDevPageLayoutsModuleComponents,
2986
+ imports: [
2987
+ CommonModule,
2988
+ TranslateModule,
2989
+ pgTabsModule,
2990
+ ],
2991
+ }]
2992
+ }] });
2993
+
2994
+ class SpecFlowTestComponent {
2995
+ constructor() { }
2996
+ ngOnInit() {
2997
+ }
2998
+ setError(error) {
2999
+ this.ResponseTimestamp = Date.now();
3000
+ this.ResponseError = 1;
3001
+ this.ReportError = error;
3002
+ }
3003
+ setSuccess() {
3004
+ this.ResponseTimestamp = Date.now();
3005
+ this.ResponseError = 0;
3006
+ this.ReportError = undefined;
3007
+ }
3008
+ }
3009
+ SpecFlowTestComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SpecFlowTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3010
+ SpecFlowTestComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SpecFlowTestComponent, selector: "app-spec-flow-test", ngImport: i0, template: "<!-- Block for test -->\r\n<div style=\"display: none;\">\r\n <input id=\"ResponseTimestamp\" type=\"hidden\" value=\"{{ResponseTimestamp}}\" />\r\n <input id=\"ResponseError\" type=\"hidden\" value=\"{{ResponseError}}\" />\r\n <input id=\"ReportError\" type=\"hidden\" value=\"{{ReportError}}\" />\r\n</div>", styles: [""] });
3011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SpecFlowTestComponent, decorators: [{
3012
+ type: Component,
3013
+ args: [{ selector: 'app-spec-flow-test', template: "<!-- Block for test -->\r\n<div style=\"display: none;\">\r\n <input id=\"ResponseTimestamp\" type=\"hidden\" value=\"{{ResponseTimestamp}}\" />\r\n <input id=\"ResponseError\" type=\"hidden\" value=\"{{ResponseError}}\" />\r\n <input id=\"ReportError\" type=\"hidden\" value=\"{{ReportError}}\" />\r\n</div>", styles: [""] }]
3014
+ }], ctorParameters: function () { return []; } });
3015
+
3016
+ class SpecFlowTestModule {
3017
+ static forRoot() {
3018
+ return {
3019
+ ngModule: SpecFlowTestModule
3020
+ };
3021
+ }
3022
+ }
3023
+ SpecFlowTestModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SpecFlowTestModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3024
+ SpecFlowTestModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SpecFlowTestModule, declarations: [SpecFlowTestComponent], imports: [CommonModule], exports: [SpecFlowTestComponent] });
3025
+ SpecFlowTestModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SpecFlowTestModule, imports: [[
3026
+ CommonModule
3027
+ ]] });
3028
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SpecFlowTestModule, decorators: [{
3029
+ type: NgModule,
3030
+ args: [{
3031
+ declarations: [SpecFlowTestComponent],
3032
+ exports: [SpecFlowTestComponent],
3033
+ imports: [
3034
+ CommonModule
3035
+ ]
3036
+ }]
3037
+ }] });
3038
+
3039
+ class pgSwitchComponent {
3040
+ constructor() {
3041
+ this._disabled = false;
3042
+ this._prefixCls = "toggle-switch";
3043
+ this._color = "primary";
3044
+ this._innerPrefixCls = `${this._prefixCls}-inner `;
3045
+ this._checked = false;
3046
+ // ngModel Access
3047
+ this.onChange = () => null;
3048
+ this.onTouched = () => null;
3049
+ }
3050
+ set Size(value) {
3051
+ this._size = value;
3052
+ this.setClassMap();
3053
+ }
3054
+ set Color(value) {
3055
+ this._color = value;
3056
+ this.setClassMap();
3057
+ }
3058
+ get Size() {
3059
+ return this._size;
3060
+ }
3061
+ set Disabled(value) {
3062
+ this._disabled = toBoolean(value);
3063
+ this.setClassMap();
3064
+ }
3065
+ get Disabled() {
3066
+ return this._disabled;
3067
+ }
3068
+ onClick(e) {
3069
+ e.preventDefault();
3070
+ if (!this._disabled) {
3071
+ this.updateValue(!this._checked);
3072
+ this.onChange(this._checked);
3073
+ }
3074
+ }
3075
+ updateValue(value) {
3076
+ if (this._checked === value) {
3077
+ return;
3078
+ }
3079
+ this._checked = value;
3080
+ this.setClassMap();
3081
+ }
3082
+ setClassMap() {
3083
+ this._classMap = {
3084
+ [this._prefixCls]: true,
3085
+ [`${this._prefixCls}-checked`]: this._checked,
3086
+ [`${this._prefixCls}-disabled`]: this._disabled,
3087
+ [`${this._prefixCls}-small`]: this._size === "small",
3088
+ [this._color]: this._color
3089
+ };
3090
+ }
3091
+ writeValue(value) {
3092
+ this.updateValue(value);
3093
+ }
3094
+ registerOnChange(fn) {
3095
+ this.onChange = fn;
3096
+ }
3097
+ registerOnTouched(fn) {
3098
+ this.onTouched = fn;
3099
+ }
3100
+ setDisabledState(isDisabled) {
3101
+ this.Disabled = isDisabled;
3102
+ }
3103
+ ngOnInit() {
3104
+ this.setClassMap();
3105
+ }
3106
+ }
3107
+ pgSwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
3108
+ pgSwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: pgSwitchComponent, selector: "pg-switch", inputs: { Size: "Size", Color: "Color", Disabled: "Disabled" }, outputs: { onChange: "onChange" }, host: { listeners: { "click": "onClick($event)" } }, providers: [
3109
+ {
3110
+ provide: NG_VALUE_ACCESSOR,
3111
+ useExisting: forwardRef(() => pgSwitchComponent),
3112
+ multi: true
3113
+ }
3114
+ ], ngImport: i0, template: `
3115
+ <span [ngClass]="_classMap" tabindex="0">
3116
+ <span [ngClass]="_innerPrefixCls">
3117
+ <ng-template [ngIf]="_checked">
3118
+ <ng-content select="[checked]"></ng-content>
3119
+ </ng-template>
3120
+ <ng-template [ngIf]="!_checked">
3121
+ <ng-content select="[unchecked]"></ng-content>
3122
+ </ng-template>
3123
+ </span>
3124
+ </span>
3125
+ `, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
3126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgSwitchComponent, decorators: [{
3127
+ type: Component,
3128
+ args: [{
3129
+ selector: "pg-switch",
3130
+ encapsulation: ViewEncapsulation.None,
3131
+ template: `
3132
+ <span [ngClass]="_classMap" tabindex="0">
3133
+ <span [ngClass]="_innerPrefixCls">
3134
+ <ng-template [ngIf]="_checked">
3135
+ <ng-content select="[checked]"></ng-content>
3136
+ </ng-template>
3137
+ <ng-template [ngIf]="!_checked">
3138
+ <ng-content select="[unchecked]"></ng-content>
3139
+ </ng-template>
3140
+ </span>
3141
+ </span>
3142
+ `,
3143
+ providers: [
3144
+ {
3145
+ provide: NG_VALUE_ACCESSOR,
3146
+ useExisting: forwardRef(() => pgSwitchComponent),
3147
+ multi: true
3148
+ }
3149
+ ]
3150
+ }]
3151
+ }], propDecorators: { onChange: [{
3152
+ type: Output
3153
+ }], Size: [{
3154
+ type: Input
3155
+ }], Color: [{
3156
+ type: Input
3157
+ }], Disabled: [{
3158
+ type: Input
3159
+ }], onClick: [{
3160
+ type: HostListener,
3161
+ args: ["click", ["$event"]]
3162
+ }] } });
3163
+
3164
+ class pgSwitchModule {
3165
+ }
3166
+ pgSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3167
+ pgSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgSwitchModule, declarations: [pgSwitchComponent], imports: [CommonModule], exports: [pgSwitchComponent] });
3168
+ pgSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgSwitchModule, imports: [[CommonModule]] });
3169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: pgSwitchModule, decorators: [{
3170
+ type: NgModule,
3171
+ args: [{
3172
+ exports: [pgSwitchComponent],
3173
+ declarations: [pgSwitchComponent],
3174
+ imports: [CommonModule]
3175
+ }]
3176
+ }] });
3177
+
3178
+ /**
3179
+ * Generated bundle index. Do not edit.
3180
+ */
3181
+
3182
+ export { CardComponent, CardLongComponent, CardSimpleComponent, CentralPageComponent, CentralPageRowComponent, CollapseComponent, CollapseSetComponent, FillComponent, FilteredFieldContainerComponent, FilteredFieldItemComponent, FilteredFieldService, HelpBlockComponent, LoaderComponent, LoaderService, ManagePageComponent, MefDevCardModule, MefDevCollapseModule, MefDevFilteredFieldModule, MefDevHelpBlockModule, MefDevLoaderModule, MefDevModalModule, MefDevPageLayoutsModule, OptionPipe, PgSelectModule, ProfileComponent, ProgressComponent, ProgressConfig, ProgressModule, RequestEvent, RightFilterComponent, SlideRightComponent, SlideUpComponent, SpecFlowTestComponent, SpecFlowTestModule, TablePageComponent, mefDevCardComponents, mefDevCollapseModuleComponents, pgCard, pgCardModule, pgOptionComponent, pgSelectComponent, pgSwitchComponent, pgSwitchModule, pgTabBodyComponent, pgTabComponent, pgTabLabelDirective, pgTabSetComponent, pgTabsInkBarDirective, pgTabsModule, pgTabsNavComponent };
3183
+ //# sourceMappingURL=mef-dev-ui-kit.mjs.map