@natec/mef-dev-ui-kit 0.0.67 → 0.0.69

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