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