@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
@@ -1,27 +0,0 @@
1
- import { NgModule } from "@angular/core";
2
- import { FillComponent } from './fill/fill.component';
3
- import { SlideUpComponent } from './slide-up/slide-up.component';
4
- import { SlideRightComponent } from './slide-right/slide-right.component';
5
-
6
- import { ModalModule } from "ngx-bootstrap/modal";
7
- import { CommonModule } from "@angular/common";
8
- import { RightFilterComponent } from "./right-filter/right-filter.component";
9
- import { PgSelectModule } from '../../pg-components/select/select.module';
10
-
11
-
12
- let mefDevModalModuleComponents = [
13
- FillComponent,
14
- SlideUpComponent,
15
- SlideRightComponent,
16
- RightFilterComponent
17
- ];
18
- @NgModule({
19
- imports: [
20
- ModalModule,
21
- CommonModule,
22
- PgSelectModule
23
- ],
24
- exports: mefDevModalModuleComponents,
25
- declarations: mefDevModalModuleComponents
26
- })
27
- export class MefDevModalModule {}
@@ -1,5 +0,0 @@
1
- export const enum ModalSize {
2
- sm = 'sm',
3
- md = 'md',
4
- lg = 'lg',
5
- }
@@ -1,7 +0,0 @@
1
- <div class="filter-btn">
2
- <button class="btn btn-secondary text-danger" (click)="openModal()"><i class="fa fa-filter" aria-hidden="true"></i></button>
3
- </div>
4
-
5
- <mefdev-slide-right-modal [show]="isOpen" (isClouse)="modalIsCloused()">
6
- <ng-content></ng-content>
7
- </mefdev-slide-right-modal>
@@ -1,6 +0,0 @@
1
- .filter-btn{
2
- position: fixed;
3
- top: 60px;
4
- z-index: 450;
5
- right: 25px;
6
- }
@@ -1,30 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
- import { FilteredFieldService } from '../../utils/filtered-field/filtered-field.service';
3
-
4
- @Component({
5
- selector: 'mefdev-right-filter',
6
- templateUrl: './right-filter.component.html',
7
- styleUrls: ['./right-filter.component.scss']
8
- })
9
- export class RightFilterComponent implements OnInit {
10
-
11
- isOpen: boolean = false;
12
-
13
- constructor(
14
- private filteredFieldService: FilteredFieldService,) { }
15
-
16
- ngOnInit(): void {
17
- this.filteredFieldService.getOpenFilter().subscribe(() => {
18
- this.isOpen = true;
19
- });
20
- }
21
-
22
- openModal(){
23
- this.isOpen = !this.isOpen;
24
- }
25
-
26
- modalIsCloused(){
27
- this.isOpen = false;
28
- }
29
-
30
- }
@@ -1,16 +0,0 @@
1
- <div bsModal #slideRight="bs-modal" class="modal fade slide-right" tabindex="-1" role="dialog" aria-hidden="true" (onHide)="modalIsCloused()">
2
- <div class="modal-dialog modal-{{size}}">
3
- <div class="modal-content-wrapper">
4
- <div class="modal-content">
5
- <div class="modal-header clearfix text-left">
6
- <ng-template [ngTemplateOutlet]="modal_header"></ng-template>
7
- </div>
8
- <div class="modal-body">
9
- <ng-content></ng-content>
10
- </div>
11
- <div class="modal-footer">
12
- <ng-template [ngTemplateOutlet]="modal_footer"></ng-template>
13
- </div>
14
- </div>
15
- </div>
16
- </div>
@@ -1,50 +0,0 @@
1
- import { Component, ContentChild, EventEmitter, Input, OnInit, Output, TemplateRef, ViewChild } from '@angular/core';
2
- import { ModalDirective } from 'ngx-bootstrap/modal';
3
- import { ModalSize } from '../modal-size.enum';
4
- import { CommonModule } from "@angular/common"; // add for static analizer bug fix
5
-
6
- @Component({
7
- selector: 'mefdev-slide-right-modal',
8
- templateUrl: './slide-right.component.html',
9
- styleUrls: ['./slide-right.component.scss']
10
- })
11
- export class SlideRightComponent implements OnInit {
12
-
13
- @ContentChild("modal_header") modal_header: TemplateRef<void>;
14
- @ContentChild("modal_footer") modal_footer: TemplateRef<void>;
15
-
16
- @ViewChild('slideRight', { static: false }) slideRight: ModalDirective;
17
-
18
- @Input() size:ModalSize = ModalSize.md;
19
-
20
- @Input() set show(val: boolean){
21
- if(!this.slideRight){
22
- return;
23
- }
24
-
25
- if(val){
26
- this.showModal();
27
- }
28
- else{
29
- this.hideModal();
30
- }
31
- };
32
- @Output() isClouse = new EventEmitter<boolean>();
33
-
34
- constructor() { }
35
-
36
- ngOnInit(): void {
37
- }
38
-
39
- modalIsCloused(){
40
- this.isClouse.emit(true);
41
- }
42
-
43
- public showModal(){
44
- this.slideRight.show();
45
- }
46
-
47
- public hideModal(){
48
- this.slideRight.hide();
49
- }
50
- }
@@ -1,16 +0,0 @@
1
- <div bsModal #mdSlideUp="bs-modal" class="modal fade slide-up disable-scroll" tabindex="-1" role="dialog" aria-hidden="false" (onHide)="modalIsCloused()">
2
- <div class="modal-dialog modal-{{size}}">
3
- <div class="modal-content-wrapper">
4
- <div class="modal-content">
5
- <div class="modal-header clearfix text-left">
6
- <ng-template [ngTemplateOutlet]="modal_header"></ng-template>
7
- </div>
8
- <div class="modal-body">
9
- <ng-content></ng-content>
10
- </div>
11
- <div class="modal-footer">
12
- <ng-template [ngTemplateOutlet]="modal_footer"></ng-template>
13
- </div>
14
- </div>
15
- </div>
16
- </div>
@@ -1,50 +0,0 @@
1
- import { Component, ContentChild, EventEmitter, Input, OnInit, Output, TemplateRef, ViewChild } from '@angular/core';
2
- import { ModalDirective } from 'ngx-bootstrap/modal';
3
- import { ModalSize } from '../modal-size.enum';
4
- import { CommonModule } from "@angular/common"; // add for static analizer bug fix
5
-
6
- @Component({
7
- selector: 'mefdev-slide-up-modal',
8
- templateUrl: './slide-up.component.html',
9
- styleUrls: ['./slide-up.component.scss']
10
- })
11
- export class SlideUpComponent implements OnInit {
12
-
13
- @ContentChild("modal_header") modal_header: TemplateRef<void>;
14
- @ContentChild("modal_footer") modal_footer: TemplateRef<void>;
15
-
16
- @ViewChild('mdSlideUp', { static: false }) mdSlideUp: ModalDirective;
17
-
18
- @Input() size:ModalSize = ModalSize.md;
19
-
20
- @Input() set show(val: boolean){
21
- if(!this.mdSlideUp){
22
- return;
23
- }
24
-
25
- if(val){
26
- this.showModal();
27
- }
28
- else{
29
- this.hideModal();
30
- }
31
- };
32
- @Output() isClouse = new EventEmitter<boolean>();
33
-
34
- constructor() { }
35
-
36
- ngOnInit(): void {
37
- }
38
-
39
- modalIsCloused(){
40
- this.isClouse.emit(true);
41
- }
42
-
43
- public showModal(){
44
- this.mdSlideUp.show();
45
- }
46
-
47
- public hideModal(){
48
- this.mdSlideUp.hide();
49
- }
50
- }
@@ -1,6 +0,0 @@
1
- <div class="row align-items-center" style="height: 100%;" [ngStyle]="{'width': width}">
2
- <div class="col">
3
- <ng-content></ng-content>
4
- </div>
5
- </div>
6
-
@@ -1,26 +0,0 @@
1
- import { AfterViewChecked, Component, Input, OnDestroy, OnInit } from '@angular/core';
2
- @Component({
3
- selector: 'mefdev-central-page',
4
- templateUrl: './central-page.component.html',
5
- styleUrls: ['./central-page.component.scss']
6
- })
7
- export class CentralPageComponent implements OnInit, OnDestroy, AfterViewChecked {
8
-
9
- constructor(
10
- ) {
11
- }
12
-
13
- @Input() width: string = '100%';
14
-
15
- ngOnDestroy(): void {
16
- document.getElementById('dataMainContent')!.style.height = '';
17
- }
18
-
19
- ngOnInit(): void {
20
- }
21
-
22
- ngAfterViewChecked(): void {
23
- document.getElementById('dataMainContent')!.style.height = '100%'
24
- }
25
-
26
- }
@@ -1,3 +0,0 @@
1
- <div class="row justify-content-center">
2
- <ng-content></ng-content>
3
- </div>
@@ -1,15 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'mefdev-central-page-row',
5
- templateUrl: './central-page-row.component.html',
6
- styleUrls: ['./central-page-row.component.scss']
7
- })
8
- export class CentralPageRowComponent implements OnInit {
9
-
10
- constructor() { }
11
-
12
- ngOnInit(): void {
13
- }
14
-
15
- }
@@ -1,10 +0,0 @@
1
- <div class="card-tabs">
2
- <div class="row body-1 card-header" *ngIf="card_title">
3
- <div class="m-2">
4
- <ng-template [ngTemplateOutlet]="card_title"></ng-template>
5
- </div>
6
- </div>
7
- <div class="row profile-page-tabs">
8
- <ng-content></ng-content>
9
- </div>
10
- </div>
@@ -1,14 +0,0 @@
1
- @use './../../../styles/designe-colors.scss' as c;
2
-
3
- .card-tabs{
4
- .card-header{
5
- background-color: c.$Light-Gray-3;
6
- padding: 0.5em;
7
- border: 0;
8
- }
9
- }
10
-
11
- .profile-page-tabs{
12
- background-image: linear-gradient(top, c.$Light-Gray-3 28px, transparent 0%, transparent 100%);
13
- background-image: -webkit-linear-gradient(top, c.$Light-Gray-3 28px, transparent 0%, transparent 100%);
14
- }
@@ -1,20 +0,0 @@
1
- import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'mefdev-manage-page',
5
- templateUrl: './manage-page.component.html',
6
- styleUrls: ['./manage-page.component.scss']
7
- })
8
- export class ManagePageComponent implements OnInit {
9
-
10
- @ContentChild("card_title") card_title: TemplateRef<void>;
11
- @ContentChild("tabs_block") tabs_block: TemplateRef<void>;
12
-
13
- @Input() startTabInd = 0;
14
-
15
- constructor() { }
16
-
17
- ngOnInit(): void {
18
- }
19
-
20
- }
@@ -1,26 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { ProfileComponent } from './profile/profile.component';
4
- import { pgTabsModule } from '../../pg-components/tabs/tabs.module';
5
- import { CentralPageComponent } from './central-page/central-page.component';
6
- import { CentralPageRowComponent } from './central-page-row/central-page-row.component';
7
- import { TablePageComponent } from './table-page/table-page.component';
8
- import { ManagePageComponent } from './manage-page/manage-page.component';
9
-
10
- let mefDevPageLayoutsModuleComponents = [
11
- ProfileComponent,
12
- CentralPageComponent,
13
- CentralPageRowComponent,
14
- TablePageComponent,
15
- ManagePageComponent
16
- ];
17
-
18
- @NgModule({
19
- declarations: mefDevPageLayoutsModuleComponents,
20
- exports: mefDevPageLayoutsModuleComponents,
21
- imports: [
22
- CommonModule,
23
- pgTabsModule,
24
- ],
25
- })
26
- export class MefDevPageLayoutsModule { }
@@ -1,42 +0,0 @@
1
- <div class="row profile-page">
2
- <div class="col-12 h3 mt-3">
3
- {{header}}
4
- </div>
5
- <div class="col-xl-3 col-lg-3 col-md-4 col-sm-12">
6
- <div *ngIf="!img || img == ''" >
7
- <img src="assets/images/md_icon.png" height="124" width="220" />
8
- </div>
9
- <div *ngIf="img" >
10
- <img src="{{img}}" alt="" class="custom-img" [ngStyle]="sizeStyle"
11
- />
12
- </div>
13
- </div>
14
-
15
- <div class="col-xl-3 col-lg-4 col-md-5 col-sm-12 mt-4 mt-md-0" >
16
- <div class="row profile-name">
17
- <div class="col">
18
- {{name}}
19
- </div>
20
- </div>
21
- <div class="row">
22
- <div class="col profile-description">
23
- {{shortDescription}}
24
- </div>
25
- </div>
26
- </div>
27
-
28
- <div class="col-xl-3 col-lg-4 col-md-5 col-sm-12 body-6 mt-4 mt-md-0">
29
- <ng-template [ngTemplateOutlet]="first_colum"></ng-template>
30
- </div>
31
-
32
- <div class="col-xl-3 col-lg-4 col-md-5 col-sm-12 body-6 mt-4 mt-md-0" >
33
- <ng-template [ngTemplateOutlet]="second_colum"></ng-template>
34
- </div>
35
-
36
- </div>
37
- <div style="position: relative;">
38
- <div class="row profile-page-tabs">
39
- <ng-template [ngTemplateOutlet]="footer">
40
- </ng-template>
41
- </div>
42
- </div>
@@ -1,72 +0,0 @@
1
- @use './../../../styles/designe-colors.scss' as v;
2
- @use './../../../styles/fonts.scss';
3
-
4
- :host::ng-deep .profile-page{
5
- background-color: v.$Light-Gray-3;
6
- padding-left: 10px;
7
- color: black;
8
- }
9
-
10
- :host::ng-deep .profile-description{
11
- height: 7em;
12
- word-break: break-all;
13
- overflow-y: clip;
14
- margin-right: 40px;
15
- @extend .body-6;
16
- }
17
-
18
- :host::ng-deep .profile-name{
19
- height: 2em;
20
- overflow-y: clip;
21
- @extend .body-1;
22
- }
23
-
24
- :host::ng-deep .tab-content-wrapper{
25
- background-color: v.$White;
26
- }
27
-
28
- :host::ng-deep .profile-data-item{
29
- display: flex;
30
- margin: 10px;
31
- }
32
-
33
- :host::ng-deep .profile-data-item{
34
- display: flex;
35
- margin: 10px;
36
- }
37
-
38
- :host::ng-deep .profile-data-item-value{
39
- font-weight: bold;
40
- margin-left: 0.25em;
41
- }
42
-
43
- :host::ng-deep .profile-page-tabs{
44
- background-image: linear-gradient(top, v.$Light-Gray-3 53px, transparent 0%, transparent 100%);
45
- background-image: -webkit-linear-gradient(top, v.$Light-Gray-3 53px, transparent 0%, transparent 100%);
46
- padding-top: 25px;
47
- @media (max-width: 720px) {
48
- background-image: linear-gradient(top, v.$Light-Gray-3 63px, transparent 0%, transparent 100%);
49
- background-image: -webkit-linear-gradient(top, v.$Light-Gray-3 63px, transparent 0%, transparent 100%);
50
- padding-top: 35px;
51
- }
52
- }
53
-
54
- :host::ng-deep .custom-img{
55
- max-width: 224px;
56
- max-height: 128px;
57
-
58
- margin-right: calc(var(--bs-gutter-x) * .5);
59
- margin-left: calc(var(--bs-gutter-x) * .5);
60
- }
61
-
62
- :host::ng-deep .card-img{
63
- padding: 0;
64
- display: flex;
65
- align-items: center;
66
- justify-content: center;
67
- margin-right: calc(var(--bs-gutter-x) * .5);
68
- margin-left: calc(var(--bs-gutter-x) * .5);
69
-
70
- width: 224px;
71
- height: 128px;
72
- }
@@ -1,38 +0,0 @@
1
- import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'mefdev-profile',
5
- templateUrl: './profile.component.html',
6
- styleUrls: ['./profile.component.scss']
7
- })
8
- export class ProfileComponent implements OnInit {
9
-
10
- @ContentChild("first_colum") first_colum: TemplateRef<void>;
11
- @ContentChild("second_colum") second_colum: TemplateRef<void>;
12
- @ContentChild("footer") footer: TemplateRef<void>;
13
-
14
- @Input() name:string;
15
- @Input() img: string = '';
16
- @Input() shortDescription: string;
17
- @Input() header: string;
18
- @Input() circleImg: boolean = false;
19
-
20
- constructor() { }
21
-
22
- ngOnInit(): void {
23
- }
24
-
25
- get sizeStyle(){
26
- // return { 'width.px': this.width, 'height.px': this.height };
27
- if(!this.circleImg){
28
- return {};
29
- }
30
-
31
- return {
32
- 'border-top-left-radius': `50%`,
33
- 'border-top-right-radius': `50%`,
34
- 'border-bottom-right-radius': `50%`,
35
- 'border-bottom-left-radius': `50%`,
36
- };
37
- }
38
- }
@@ -1,9 +0,0 @@
1
- <div class="row">
2
- <div class="col-12 filter-colum">
3
- <ng-template [ngTemplateOutlet]="filter_colum"></ng-template>
4
- </div>
5
- </div>
6
-
7
- <div class="table-responsive" >
8
- <ng-content></ng-content>
9
- </div>
@@ -1,16 +0,0 @@
1
- import { Component, ContentChild, OnInit, TemplateRef } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'mefdev-table-page',
5
- templateUrl: './table-page.component.html',
6
- styleUrls: ['./table-page.component.scss']
7
- })
8
- export class TablePageComponent implements OnInit {
9
- @ContentChild("filter_colum") filter_colum: TemplateRef<void>;
10
-
11
- constructor() { }
12
-
13
- ngOnInit(): void {
14
- }
15
-
16
- }
@@ -1,3 +0,0 @@
1
- <div class="item-container">
2
- <mefdev-filtered-field-item *ngFor="let item of items" [item]="item" (discard)="onDiscard(item)" (openFilter)="onOpenFilter(item)"></mefdev-filtered-field-item>
3
- </div>
@@ -1,4 +0,0 @@
1
- .item-container{
2
- display: flex;
3
- cursor: context-menu;
4
- }
@@ -1,46 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
- import { FilteredFieldService } from '../filtered-field.service';
3
- import { FiltredItemModel } from '../filtred-item.model';
4
-
5
- @Component({
6
- selector: 'mefdev-filtered-field-container',
7
- templateUrl: './filtered-field-container.component.html',
8
- styleUrls: ['./filtered-field-container.component.scss']
9
- })
10
- export class FilteredFieldContainerComponent implements OnInit {
11
-
12
- items: FiltredItemModel[] = [];
13
-
14
- constructor(
15
- private service: FilteredFieldService
16
- ) { }
17
-
18
- onOpenFilter(item: FiltredItemModel){
19
- this.service.sendOpenFilter(item);
20
- }
21
-
22
- onDiscard(item: FiltredItemModel){
23
- item.discard(item.standartValue);
24
- this.items.splice(this.items.findIndex(x => x.id == item.id), 1);
25
- }
26
-
27
- ngOnInit(): void {
28
- this.service.getNewFilterItem().subscribe(item => {
29
- let i = this.items.findIndex(x => x.id == item.id)
30
-
31
- if(item.newValue == item.standartValue){
32
- this.items[i] = item;
33
- this.items.splice(i, 1);
34
- return;
35
- }
36
-
37
- if(i != -1){
38
- this.items[i] = item;
39
- return;
40
- }
41
-
42
- this.items.push(item);
43
-
44
- })
45
- }
46
- }
@@ -1,4 +0,0 @@
1
- <div class="item">
2
- <i class="fa fa-times" (click)="onDiscard()" style="margin-right: 3px; cursor: pointer;"></i>
3
- <span (click)="onOpenFilter()">{{item.newValue}}</span>
4
- </div>
@@ -1,12 +0,0 @@
1
- @use './../../../../styles/designe-colors.scss' as c;
2
-
3
- .item{
4
- background-color: c.$Dark-Gray-2;
5
- color: c.$White;
6
- border-radius: 5px;
7
- margin-right: 7px;
8
- padding-left: 7px;
9
- padding-right: 7px;
10
- padding-top: 3px;
11
- padding-bottom: 3px;
12
- }
@@ -1,28 +0,0 @@
1
- import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
2
- import { FiltredItemModel } from '../filtred-item.model';
3
-
4
- @Component({
5
- selector: 'mefdev-filtered-field-item',
6
- templateUrl: './filtered-field-item.component.html',
7
- styleUrls: ['./filtered-field-item.component.scss']
8
- })
9
- export class FilteredFieldItemComponent implements OnInit {
10
-
11
- @Input() item: FiltredItemModel;
12
- @Output() discard = new EventEmitter<FiltredItemModel>();
13
- @Output() openFilter = new EventEmitter<any>();
14
-
15
- constructor() { }
16
-
17
- ngOnInit(): void {
18
- }
19
-
20
- onOpenFilter(){
21
- this.openFilter.next({});
22
- }
23
-
24
- onDiscard(){
25
- this.discard.next(this.item);
26
- }
27
-
28
- }