@natec/mef-dev-ui-kit 20.0.0-beta.1 → 20.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (414) hide show
  1. package/fesm2022/natec-mef-dev-ui-kit.mjs +9541 -0
  2. package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -0
  3. package/index.d.ts +4418 -0
  4. package/index.d.ts.map +1 -0
  5. package/package.json +44 -48
  6. package/src/lib/styles/core.scss +51 -195
  7. package/src/lib/styles/pg/modules/_typography.scss +1 -8
  8. package/src/lib/styles/pg/vendor/ng-datatable.scss +7 -0
  9. package/src/lib/styles/vars.scss +8 -8
  10. package/documentation/classes/FiltredItemModel.html +0 -358
  11. package/documentation/classes/TabChangeEvent.html +0 -231
  12. package/documentation/components/CardComponent.html +0 -576
  13. package/documentation/components/CardLongComponent.html +0 -712
  14. package/documentation/components/CardSimpleComponent.html +0 -372
  15. package/documentation/components/CentralPageComponent.html +0 -312
  16. package/documentation/components/CentralPageRowComponent.html +0 -244
  17. package/documentation/components/CollapseComponent.html +0 -755
  18. package/documentation/components/CollapseSetComponent.html +0 -767
  19. package/documentation/components/DatepickerComponent.html +0 -1397
  20. package/documentation/components/FillComponent.html +0 -736
  21. package/documentation/components/FilteredFieldContainerComponent.html +0 -513
  22. package/documentation/components/FilteredFieldItemComponent.html +0 -451
  23. package/documentation/components/HelpBlockComponent.html +0 -398
  24. package/documentation/components/ManagePageComponent.html +0 -423
  25. package/documentation/components/MefDevOptionComponent.html +0 -689
  26. package/documentation/components/MefDevProgressComponent.html +0 -562
  27. package/documentation/components/MefDevSelectComponent.html +0 -4797
  28. package/documentation/components/MefDevSliderComponent.html +0 -686
  29. package/documentation/components/MefDevSpecFlowTestComponent.html +0 -474
  30. package/documentation/components/MefDevSwitchComponent.html +0 -1480
  31. package/documentation/components/MefDevTabBodyComponent.html +0 -271
  32. package/documentation/components/MefDevTabComponent.html +0 -681
  33. package/documentation/components/MefDevTabSetComponent.html +0 -1889
  34. package/documentation/components/MefDevTabsNavComponent.html +0 -2013
  35. package/documentation/components/MefdevExecutorPageComponent.html +0 -497
  36. package/documentation/components/ProfileComponent.html +0 -608
  37. package/documentation/components/RightFilterComponent.html +0 -423
  38. package/documentation/components/SlideRightComponent.html +0 -762
  39. package/documentation/components/SlideUpComponent.html +0 -692
  40. package/documentation/components/StepExecutorComponent.html +0 -1437
  41. package/documentation/components/TablePageComponent.html +0 -327
  42. package/documentation/dependencies.html +0 -135
  43. package/documentation/directives/MefDevTabLabelDirective.html +0 -532
  44. package/documentation/directives/MefDevTabsInkBarDirective.html +0 -865
  45. package/documentation/fonts/ionicons.eot +0 -0
  46. package/documentation/fonts/ionicons.svg +0 -2090
  47. package/documentation/fonts/ionicons.ttf +0 -0
  48. package/documentation/fonts/ionicons.woff +0 -0
  49. package/documentation/fonts/ionicons.woff2 +0 -0
  50. package/documentation/fonts/roboto-v15-latin-300.eot +0 -0
  51. package/documentation/fonts/roboto-v15-latin-300.svg +0 -314
  52. package/documentation/fonts/roboto-v15-latin-300.ttf +0 -0
  53. package/documentation/fonts/roboto-v15-latin-300.woff +0 -0
  54. package/documentation/fonts/roboto-v15-latin-300.woff2 +0 -0
  55. package/documentation/fonts/roboto-v15-latin-700.eot +0 -0
  56. package/documentation/fonts/roboto-v15-latin-700.svg +0 -310
  57. package/documentation/fonts/roboto-v15-latin-700.ttf +0 -0
  58. package/documentation/fonts/roboto-v15-latin-700.woff +0 -0
  59. package/documentation/fonts/roboto-v15-latin-700.woff2 +0 -0
  60. package/documentation/fonts/roboto-v15-latin-italic.eot +0 -0
  61. package/documentation/fonts/roboto-v15-latin-italic.svg +0 -323
  62. package/documentation/fonts/roboto-v15-latin-italic.ttf +0 -0
  63. package/documentation/fonts/roboto-v15-latin-italic.woff +0 -0
  64. package/documentation/fonts/roboto-v15-latin-italic.woff2 +0 -0
  65. package/documentation/fonts/roboto-v15-latin-regular.eot +0 -0
  66. package/documentation/fonts/roboto-v15-latin-regular.svg +0 -308
  67. package/documentation/fonts/roboto-v15-latin-regular.ttf +0 -0
  68. package/documentation/fonts/roboto-v15-latin-regular.woff +0 -0
  69. package/documentation/fonts/roboto-v15-latin-regular.woff2 +0 -0
  70. package/documentation/graph/dependencies.svg +0 -1160
  71. package/documentation/images/compodoc-vectorise-inverted.png +0 -0
  72. package/documentation/images/compodoc-vectorise-inverted.svg +0 -201
  73. package/documentation/images/compodoc-vectorise.png +0 -0
  74. package/documentation/images/compodoc-vectorise.svg +0 -201
  75. package/documentation/images/favicon.ico +0 -0
  76. package/documentation/index.html +0 -246
  77. package/documentation/injectables/FilteredFieldService.html +0 -420
  78. package/documentation/injectables/ProgressConfig.html +0 -236
  79. package/documentation/interfaces/AnimatedInterface.html +0 -246
  80. package/documentation/js/compodoc.js +0 -14
  81. package/documentation/js/lazy-load-graphs.js +0 -44
  82. package/documentation/js/libs/EventDispatcher.js +0 -5
  83. package/documentation/js/libs/bootstrap-native.js +0 -1
  84. package/documentation/js/libs/clipboard.min.js +0 -7
  85. package/documentation/js/libs/custom-elements-es5-adapter.js +0 -15
  86. package/documentation/js/libs/custom-elements.min.js +0 -38
  87. package/documentation/js/libs/d3.v3.min.js +0 -2
  88. package/documentation/js/libs/deep-iterator.js +0 -2
  89. package/documentation/js/libs/es6-shim.min.js +0 -11
  90. package/documentation/js/libs/htmlparser.js +0 -23
  91. package/documentation/js/libs/innersvg.js +0 -9
  92. package/documentation/js/libs/lit-html.js +0 -1
  93. package/documentation/js/libs/prism.js +0 -46
  94. package/documentation/js/libs/promise.min.js +0 -6
  95. package/documentation/js/libs/svg-pan-zoom.min.js +0 -3
  96. package/documentation/js/libs/tablesort.min.js +0 -6
  97. package/documentation/js/libs/tablesort.number.min.js +0 -6
  98. package/documentation/js/libs/vis.min.js +0 -47
  99. package/documentation/js/libs/zepto.min.js +0 -2
  100. package/documentation/js/menu-wc.js +0 -455
  101. package/documentation/js/menu-wc_es5.js +0 -42
  102. package/documentation/js/menu.js +0 -325
  103. package/documentation/js/routes.js +0 -301
  104. package/documentation/js/search/lunr.min.js +0 -6
  105. package/documentation/js/search/search-lunr.js +0 -67
  106. package/documentation/js/search/search.js +0 -268
  107. package/documentation/js/search/search_index.js +0 -4
  108. package/documentation/js/sourceCode.js +0 -58
  109. package/documentation/js/svg-pan-zoom.controls.js +0 -53
  110. package/documentation/js/tabs.js +0 -21
  111. package/documentation/js/tree.js +0 -147
  112. package/documentation/miscellaneous/enumerations.html +0 -223
  113. package/documentation/miscellaneous/functions.html +0 -251
  114. package/documentation/miscellaneous/typealiases.html +0 -257
  115. package/documentation/miscellaneous/variables.html +0 -357
  116. package/documentation/modules/MefDevCardModule/dependencies.svg +0 -142
  117. package/documentation/modules/MefDevCardModule.html +0 -349
  118. package/documentation/modules/MefDevCollapseModule/dependencies.svg +0 -90
  119. package/documentation/modules/MefDevCollapseModule.html +0 -316
  120. package/documentation/modules/MefDevDatepickerModule/dependencies.svg +0 -82
  121. package/documentation/modules/MefDevDatepickerModule.html +0 -274
  122. package/documentation/modules/MefDevFilteredFieldModule/dependencies.svg +0 -90
  123. package/documentation/modules/MefDevFilteredFieldModule.html +0 -278
  124. package/documentation/modules/MefDevHelpBlockModule/dependencies.svg +0 -82
  125. package/documentation/modules/MefDevHelpBlockModule.html +0 -274
  126. package/documentation/modules/MefDevModalModule/dependencies.svg +0 -154
  127. package/documentation/modules/MefDevModalModule.html +0 -364
  128. package/documentation/modules/MefDevPageLayoutsModule/dependencies.svg +0 -162
  129. package/documentation/modules/MefDevPageLayoutsModule.html +0 -368
  130. package/documentation/modules/MefDevProgressModule/dependencies.svg +0 -66
  131. package/documentation/modules/MefDevProgressModule.html +0 -286
  132. package/documentation/modules/MefDevSelectModule/dependencies.svg +0 -140
  133. package/documentation/modules/MefDevSelectModule.html +0 -334
  134. package/documentation/modules/MefDevSliderModule/dependencies.svg +0 -66
  135. package/documentation/modules/MefDevSliderModule.html +0 -248
  136. package/documentation/modules/MefDevSpecFlowTestModule/dependencies.svg +0 -66
  137. package/documentation/modules/MefDevSpecFlowTestModule.html +0 -286
  138. package/documentation/modules/MefDevStepExecutorModule/dependencies.svg +0 -106
  139. package/documentation/modules/MefDevStepExecutorModule.html +0 -304
  140. package/documentation/modules/MefDevSwitchModule/dependencies.svg +0 -88
  141. package/documentation/modules/MefDevSwitchModule.html +0 -270
  142. package/documentation/modules/MefDevTabsModule/dependencies.svg +0 -186
  143. package/documentation/modules/MefDevTabsModule.html +0 -398
  144. package/documentation/modules.html +0 -357
  145. package/documentation/overview.html +0 -1351
  146. package/documentation/pipes/OptionPipe.html +0 -238
  147. package/documentation/properties.html +0 -125
  148. package/documentation/styles/bootstrap-card.css +0 -219
  149. package/documentation/styles/bootstrap.min.css +0 -6
  150. package/documentation/styles/compodoc.css +0 -1121
  151. package/documentation/styles/dark.css +0 -121
  152. package/documentation/styles/ionicons.min.css +0 -11
  153. package/documentation/styles/laravel.css +0 -113
  154. package/documentation/styles/material.css +0 -131
  155. package/documentation/styles/original.css +0 -51
  156. package/documentation/styles/postmark.css +0 -238
  157. package/documentation/styles/prism.css +0 -301
  158. package/documentation/styles/readthedocs.css +0 -117
  159. package/documentation/styles/reset.css +0 -129
  160. package/documentation/styles/stripe.css +0 -106
  161. package/documentation/styles/style.css +0 -7
  162. package/documentation/styles/tablesort.css +0 -33
  163. package/documentation/styles/vagrant.css +0 -130
  164. package/karma.conf.js +0 -44
  165. package/ng-package.json +0 -18
  166. package/src/lib/markup-kit/card/card/card.component.html +0 -44
  167. package/src/lib/markup-kit/card/card/card.component.scss +0 -65
  168. package/src/lib/markup-kit/card/card/card.component.ts +0 -109
  169. package/src/lib/markup-kit/card/card-long/card-long.component.html +0 -53
  170. package/src/lib/markup-kit/card/card-long/card-long.component.scss +0 -72
  171. package/src/lib/markup-kit/card/card-long/card-long.component.ts +0 -158
  172. package/src/lib/markup-kit/card/card-long/cart-type-colors.enum.ts +0 -5
  173. package/src/lib/markup-kit/card/card-simple/card-simple.component.html +0 -12
  174. package/src/lib/markup-kit/card/card-simple/card-simple.component.scss +0 -12
  175. package/src/lib/markup-kit/card/card-simple/card-simple.component.ts +0 -48
  176. package/src/lib/markup-kit/card/card.module.ts +0 -21
  177. package/src/lib/markup-kit/card/index.ts +0 -6
  178. package/src/lib/markup-kit/collapse/collapse/collapse.component.html +0 -17
  179. package/src/lib/markup-kit/collapse/collapse/collapse.component.scss +0 -17
  180. package/src/lib/markup-kit/collapse/collapse/collapse.component.ts +0 -131
  181. package/src/lib/markup-kit/collapse/collapse-set/collapse-set.component.html +0 -3
  182. package/src/lib/markup-kit/collapse/collapse-set/collapse-set.component.scss +0 -0
  183. package/src/lib/markup-kit/collapse/collapse-set/collapse-set.component.ts +0 -110
  184. package/src/lib/markup-kit/collapse/collapse.module.ts +0 -20
  185. package/src/lib/markup-kit/collapse/index.ts +0 -3
  186. package/src/lib/markup-kit/executors/index.ts +0 -4
  187. package/src/lib/markup-kit/executors/mefdev-executor-page/mefdev-executor-page.component.ts +0 -111
  188. package/src/lib/markup-kit/executors/stage/stage.component.html +0 -23
  189. package/src/lib/markup-kit/executors/stage/stage.component.scss +0 -9
  190. package/src/lib/markup-kit/executors/stage/stage.component.ts +0 -21
  191. package/src/lib/markup-kit/executors/step-executor/step-executor.component.html +0 -127
  192. package/src/lib/markup-kit/executors/step-executor/step-executor.component.scss +0 -225
  193. package/src/lib/markup-kit/executors/step-executor/step-executor.component.ts +0 -295
  194. package/src/lib/markup-kit/executors/step-executor.module.ts +0 -27
  195. package/src/lib/markup-kit/modals/fill/fill.component.html +0 -15
  196. package/src/lib/markup-kit/modals/fill/fill.component.scss +0 -42
  197. package/src/lib/markup-kit/modals/fill/fill.component.ts +0 -126
  198. package/src/lib/markup-kit/modals/index.ts +0 -6
  199. package/src/lib/markup-kit/modals/markup-kit.module.ts +0 -25
  200. package/src/lib/markup-kit/modals/modal-size.enum.ts +0 -5
  201. package/src/lib/markup-kit/modals/right-filter/right-filter.component.html +0 -11
  202. package/src/lib/markup-kit/modals/right-filter/right-filter.component.scss +0 -15
  203. package/src/lib/markup-kit/modals/right-filter/right-filter.component.ts +0 -49
  204. package/src/lib/markup-kit/modals/slide-right/slide-right.component.html +0 -14
  205. package/src/lib/markup-kit/modals/slide-right/slide-right.component.scss +0 -42
  206. package/src/lib/markup-kit/modals/slide-right/slide-right.component.ts +0 -121
  207. package/src/lib/markup-kit/modals/slide-up/slide-up.component.html +0 -15
  208. package/src/lib/markup-kit/modals/slide-up/slide-up.component.scss +0 -47
  209. package/src/lib/markup-kit/modals/slide-up/slide-up.component.ts +0 -105
  210. package/src/lib/markup-kit/page-layouts/central-page/central-page.component.html +0 -6
  211. package/src/lib/markup-kit/page-layouts/central-page/central-page.component.scss +0 -10
  212. package/src/lib/markup-kit/page-layouts/central-page/central-page.component.ts +0 -58
  213. package/src/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.html +0 -3
  214. package/src/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.scss +0 -5
  215. package/src/lib/markup-kit/page-layouts/central-page-row/central-page-row.component.ts +0 -30
  216. package/src/lib/markup-kit/page-layouts/index.ts +0 -6
  217. package/src/lib/markup-kit/page-layouts/manage-page/manage-page.component.html +0 -10
  218. package/src/lib/markup-kit/page-layouts/manage-page/manage-page.component.scss +0 -33
  219. package/src/lib/markup-kit/page-layouts/manage-page/manage-page.component.ts +0 -70
  220. package/src/lib/markup-kit/page-layouts/page-layouts.module.ts +0 -26
  221. package/src/lib/markup-kit/page-layouts/profile/profile.component.html +0 -31
  222. package/src/lib/markup-kit/page-layouts/profile/profile.component.scss +0 -99
  223. package/src/lib/markup-kit/page-layouts/profile/profile.component.ts +0 -129
  224. package/src/lib/markup-kit/page-layouts/table-page/table-page.component.html +0 -9
  225. package/src/lib/markup-kit/page-layouts/table-page/table-page.component.scss +0 -0
  226. package/src/lib/markup-kit/page-layouts/table-page/table-page.component.ts +0 -42
  227. package/src/lib/markup-kit/slider/index.ts +0 -2
  228. package/src/lib/markup-kit/slider/slider/slider.component.html +0 -11
  229. package/src/lib/markup-kit/slider/slider/slider.component.scss +0 -106
  230. package/src/lib/markup-kit/slider/slider/slider.component.ts +0 -124
  231. package/src/lib/markup-kit/slider/slider.module.ts +0 -20
  232. package/src/lib/markup-kit/utils/datepicker/datepicker/datepicker.component.html +0 -87
  233. package/src/lib/markup-kit/utils/datepicker/datepicker/datepicker.component.scss +0 -132
  234. package/src/lib/markup-kit/utils/datepicker/datepicker/datepicker.component.ts +0 -643
  235. package/src/lib/markup-kit/utils/datepicker/datepicker.module.ts +0 -15
  236. package/src/lib/markup-kit/utils/datepicker/index.ts +0 -2
  237. package/src/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.html +0 -3
  238. package/src/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.scss +0 -4
  239. package/src/lib/markup-kit/utils/filtered-field/filtered-field-container/filtered-field-container.component.ts +0 -79
  240. package/src/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.html +0 -4
  241. package/src/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.scss +0 -12
  242. package/src/lib/markup-kit/utils/filtered-field/filtered-field-item/filtered-field-item.component.ts +0 -75
  243. package/src/lib/markup-kit/utils/filtered-field/filtered-field.module.ts +0 -19
  244. package/src/lib/markup-kit/utils/filtered-field/filtered-field.service.ts +0 -44
  245. package/src/lib/markup-kit/utils/filtered-field/filtred-item.model.ts +0 -15
  246. package/src/lib/markup-kit/utils/filtered-field/index.ts +0 -5
  247. package/src/lib/markup-kit/utils/help-block/help-block.component.html +0 -19
  248. package/src/lib/markup-kit/utils/help-block/help-block.component.scss +0 -22
  249. package/src/lib/markup-kit/utils/help-block/help-block.component.ts +0 -70
  250. package/src/lib/markup-kit/utils/help-block/hepl-block.module.ts +0 -14
  251. package/src/lib/markup-kit/utils/help-block/index.ts +0 -2
  252. package/src/lib/pg-components/card/card.components.html +0 -66
  253. package/src/lib/pg-components/card/card.components.ts +0 -451
  254. package/src/lib/pg-components/card/card.module.ts +0 -17
  255. package/src/lib/pg-components/card/index.ts +0 -2
  256. package/src/lib/pg-components/progress/index.ts +0 -3
  257. package/src/lib/pg-components/progress/progress.component.html +0 -28
  258. package/src/lib/pg-components/progress/progress.component.ts +0 -73
  259. package/src/lib/pg-components/progress/progress.config.ts +0 -7
  260. package/src/lib/pg-components/progress/progress.module.ts +0 -16
  261. package/src/lib/pg-components/select/index.ts +0 -4
  262. package/src/lib/pg-components/select/option.component.html +0 -1
  263. package/src/lib/pg-components/select/option.component.ts +0 -105
  264. package/src/lib/pg-components/select/option.pipe.ts +0 -44
  265. package/src/lib/pg-components/select/select.component.html +0 -83
  266. package/src/lib/pg-components/select/select.component.ts +0 -814
  267. package/src/lib/pg-components/select/select.module.ts +0 -14
  268. package/src/lib/pg-components/spec-flow-test/index.ts +0 -2
  269. package/src/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.html +0 -6
  270. package/src/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.scss +0 -0
  271. package/src/lib/pg-components/spec-flow-test/spec-flow-test/spec-flow-test.component.ts +0 -37
  272. package/src/lib/pg-components/spec-flow-test/spec-flow-test.module.ts +0 -18
  273. package/src/lib/pg-components/switch/index.ts +0 -2
  274. package/src/lib/pg-components/switch/switch.component.html +0 -10
  275. package/src/lib/pg-components/switch/switch.component.ts +0 -286
  276. package/src/lib/pg-components/switch/switch.module.ts +0 -11
  277. package/src/lib/pg-components/tabs/index.ts +0 -7
  278. package/src/lib/pg-components/tabs/tab-body.component.html +0 -1
  279. package/src/lib/pg-components/tabs/tab-body.component.ts +0 -17
  280. package/src/lib/pg-components/tabs/tab-label.directive.ts +0 -41
  281. package/src/lib/pg-components/tabs/tab.component.html +0 -3
  282. package/src/lib/pg-components/tabs/tab.component.ts +0 -109
  283. package/src/lib/pg-components/tabs/tabs-ink-bar.directive.ts +0 -78
  284. package/src/lib/pg-components/tabs/tabs-nav.component.html +0 -20
  285. package/src/lib/pg-components/tabs/tabs-nav.component.ts +0 -324
  286. package/src/lib/pg-components/tabs/tabs.module.ts +0 -15
  287. package/src/lib/pg-components/tabs/tabset.component.html +0 -39
  288. package/src/lib/pg-components/tabs/tabset.component.ts +0 -270
  289. package/src/lib/pg-components/util/convert.ts +0 -3
  290. package/src/lib/pg-components/util/request-animation.ts +0 -31
  291. package/src/lib/v2/autocomplete/autocomplete-origin.ts +0 -12
  292. package/src/lib/v2/autocomplete/autocomplete.html +0 -17
  293. package/src/lib/v2/autocomplete/autocomplete.module.ts +0 -28
  294. package/src/lib/v2/autocomplete/autocomplete.scss +0 -62
  295. package/src/lib/v2/autocomplete/autocomplete.trigger.ts +0 -759
  296. package/src/lib/v2/autocomplete/autocomplete.ts +0 -201
  297. package/src/lib/v2/autocomplete/index.ts +0 -1
  298. package/src/lib/v2/card/card-header.html +0 -9
  299. package/src/lib/v2/card/card-title-group.html +0 -15
  300. package/src/lib/v2/card/card.html +0 -1
  301. package/src/lib/v2/card/card.module.ts +0 -40
  302. package/src/lib/v2/card/card.scss +0 -185
  303. package/src/lib/v2/card/card.ts +0 -274
  304. package/src/lib/v2/card/index.ts +0 -2
  305. package/src/lib/v2/checkbox/checkbox.html +0 -38
  306. package/src/lib/v2/checkbox/checkbox.module.ts +0 -8
  307. package/src/lib/v2/checkbox/checkbox.scss +0 -318
  308. package/src/lib/v2/checkbox/checkbox.ts +0 -507
  309. package/src/lib/v2/checkbox/index.ts +0 -1
  310. package/src/lib/v2/chips/chip-action.ts +0 -102
  311. package/src/lib/v2/chips/chip-edit-input.ts +0 -44
  312. package/src/lib/v2/chips/chip-grid.ts +0 -412
  313. package/src/lib/v2/chips/chip-icons.ts +0 -91
  314. package/src/lib/v2/chips/chip-input.ts +0 -208
  315. package/src/lib/v2/chips/chip-listbox.ts +0 -291
  316. package/src/lib/v2/chips/chip-option.html +0 -37
  317. package/src/lib/v2/chips/chip-option.ts +0 -163
  318. package/src/lib/v2/chips/chip-row.html +0 -42
  319. package/src/lib/v2/chips/chip-row.ts +0 -191
  320. package/src/lib/v2/chips/chip-set.scss +0 -86
  321. package/src/lib/v2/chips/chip-set.ts +0 -261
  322. package/src/lib/v2/chips/chip-text-control.ts +0 -15
  323. package/src/lib/v2/chips/chip.html +0 -21
  324. package/src/lib/v2/chips/chip.scss +0 -646
  325. package/src/lib/v2/chips/chip.ts +0 -281
  326. package/src/lib/v2/chips/chips-module.ts +0 -44
  327. package/src/lib/v2/chips/index.ts +0 -12
  328. package/src/lib/v2/chips/tokens.ts +0 -29
  329. package/src/lib/v2/collapse/accordion-base.ts +0 -20
  330. package/src/lib/v2/collapse/accordion.ts +0 -92
  331. package/src/lib/v2/collapse/collapse.module.ts +0 -22
  332. package/src/lib/v2/collapse/expansion-panel-base.ts +0 -10
  333. package/src/lib/v2/collapse/expansion-panel-content.ts +0 -12
  334. package/src/lib/v2/collapse/expansion-panel-header.html +0 -17
  335. package/src/lib/v2/collapse/expansion-panel-header.scss +0 -165
  336. package/src/lib/v2/collapse/expansion-panel-header.ts +0 -237
  337. package/src/lib/v2/collapse/expansion-panel.html +0 -14
  338. package/src/lib/v2/collapse/expansion-panel.scss +0 -113
  339. package/src/lib/v2/collapse/expansion-panel.ts +0 -279
  340. package/src/lib/v2/collapse/index.ts +0 -7
  341. package/src/lib/v2/executors/index.ts +0 -10
  342. package/src/lib/v2/executors/step-content.ts +0 -19
  343. package/src/lib/v2/executors/step-footer.ts +0 -7
  344. package/src/lib/v2/executors/step-header.html +0 -59
  345. package/src/lib/v2/executors/step-header.scss +0 -205
  346. package/src/lib/v2/executors/step-header.ts +0 -151
  347. package/src/lib/v2/executors/step-label.ts +0 -16
  348. package/src/lib/v2/executors/step.html +0 -4
  349. package/src/lib/v2/executors/stepper-button.ts +0 -40
  350. package/src/lib/v2/executors/stepper-icon.ts +0 -42
  351. package/src/lib/v2/executors/stepper-intl.ts +0 -46
  352. package/src/lib/v2/executors/stepper-module.ts +0 -42
  353. package/src/lib/v2/executors/stepper.html +0 -90
  354. package/src/lib/v2/executors/stepper.scss +0 -299
  355. package/src/lib/v2/executors/stepper.ts +0 -360
  356. package/src/lib/v2/modals/dialog-config.ts +0 -56
  357. package/src/lib/v2/modals/dialog-container.html +0 -5
  358. package/src/lib/v2/modals/dialog-container.ts +0 -243
  359. package/src/lib/v2/modals/dialog-content-directives.ts +0 -217
  360. package/src/lib/v2/modals/dialog-ref.ts +0 -242
  361. package/src/lib/v2/modals/dialog.scss +0 -307
  362. package/src/lib/v2/modals/dialog.ts +0 -239
  363. package/src/lib/v2/modals/index.ts +0 -11
  364. package/src/lib/v2/modals/modal-module.ts +0 -23
  365. package/src/lib/v2/radio-button/public-api.ts +0 -2
  366. package/src/lib/v2/radio-button/radio.html +0 -25
  367. package/src/lib/v2/radio-button/radio.module.ts +0 -8
  368. package/src/lib/v2/radio-button/radio.scss +0 -298
  369. package/src/lib/v2/radio-button/radio.ts +0 -640
  370. package/src/lib/v2/select/index.ts +0 -5
  371. package/src/lib/v2/select/option-group.html +0 -9
  372. package/src/lib/v2/select/option-group.scss +0 -33
  373. package/src/lib/v2/select/option-group.ts +0 -66
  374. package/src/lib/v2/select/option-module.ts +0 -11
  375. package/src/lib/v2/select/option.html +0 -22
  376. package/src/lib/v2/select/option.scss +0 -59
  377. package/src/lib/v2/select/option.ts +0 -288
  378. package/src/lib/v2/select/pseudo-checkbox-module.ts +0 -9
  379. package/src/lib/v2/select/pseudo-checkbox.scss +0 -121
  380. package/src/lib/v2/select/pseudo-checkbox.ts +0 -60
  381. package/src/lib/v2/select/select.html +0 -56
  382. package/src/lib/v2/select/select.module.ts +0 -14
  383. package/src/lib/v2/select/select.scss +0 -118
  384. package/src/lib/v2/select/select.ts +0 -824
  385. package/src/lib/v2/switch/base-editor-helper.ts +0 -148
  386. package/src/lib/v2/switch/index.ts +0 -2
  387. package/src/lib/v2/switch/switch.component.html +0 -15
  388. package/src/lib/v2/switch/switch.component.scss +0 -93
  389. package/src/lib/v2/switch/switch.component.ts +0 -203
  390. package/src/lib/v2/switch/switch.module.ts +0 -10
  391. package/src/lib/v2/tabs/config.ts +0 -94
  392. package/src/lib/v2/tabs/index.ts +0 -28
  393. package/src/lib/v2/tabs/ink-bar.ts +0 -226
  394. package/src/lib/v2/tabs/paginated-tab-header.ts +0 -536
  395. package/src/lib/v2/tabs/tab-body.html +0 -9
  396. package/src/lib/v2/tabs/tab-body.scss +0 -60
  397. package/src/lib/v2/tabs/tab-body.ts +0 -310
  398. package/src/lib/v2/tabs/tab-content.ts +0 -12
  399. package/src/lib/v2/tabs/tab-group.html +0 -74
  400. package/src/lib/v2/tabs/tab-group.scss +0 -362
  401. package/src/lib/v2/tabs/tab-group.ts +0 -491
  402. package/src/lib/v2/tabs/tab-header.html +0 -35
  403. package/src/lib/v2/tabs/tab-header.scss +0 -127
  404. package/src/lib/v2/tabs/tab-header.ts +0 -91
  405. package/src/lib/v2/tabs/tab-label-wrapper.ts +0 -49
  406. package/src/lib/v2/tabs/tab-label.ts +0 -34
  407. package/src/lib/v2/tabs/tab.html +0 -1
  408. package/src/lib/v2/tabs/tab.ts +0 -155
  409. package/src/lib/v2/tabs/tabs.module.ts +0 -12
  410. package/src/public-api.ts +0 -33
  411. package/tsconfig.doc.json +0 -4
  412. package/tsconfig.lib.json +0 -19
  413. package/tsconfig.lib.prod.json +0 -10
  414. package/tsconfig.spec.json +0 -17
@@ -1,53 +0,0 @@
1
- <mefdev-inner-card
2
- MinimalHeader="true"
3
- TimeOut="2500"
4
- [Refresh]="false"
5
- [Close]="false"
6
- >
7
-
8
- <ng-template #CardTitle>
9
- <ng-template class="card-title" [ngTemplateOutlet]="title"></ng-template>
10
- </ng-template>
11
-
12
- <ng-template #CardExtraControls>
13
- <div class="plugin-type"
14
- [ngClass]="{
15
- 'b-color-Light-Gray-1': type_color === 'UNSET',
16
- 'b-color-Red': type_color === 'RED',
17
- 'b-color-Green': type_color === 'GREEN'}">
18
- {{type_text}}
19
- </div>
20
- </ng-template>
21
-
22
- <div class="row h-100 m-b-10">
23
- <div class="col-lg-3 col-12 card-col">
24
- <div class="row">
25
- <div class="col-12 card-img m-b-10">
26
- <div *ngIf="!img || img == ''">
27
- <img src="assets/images/md_icon.png"
28
- style="max-width: 110px; max-height: 110px;"/>
29
- </div>
30
- <div *ngIf="img">
31
- <img src="{{img}}" alt="" class="image-responsive-height img-middle"
32
- height="110px"
33
- style="max-width: 110px; max-height: 110px;"
34
- onclick="imgClick()"
35
- />
36
- </div>
37
- </div>
38
- <div class="col-12 m-t-2 body-6 text-dark params-block">
39
- <ng-template [ngTemplateOutlet]="params"></ng-template>
40
- </div>
41
- </div>
42
- </div>
43
-
44
- <div class="col-lg-5 col-12 card-col">
45
- <ng-template [ngTemplateOutlet]="second_col"></ng-template>
46
- </div>
47
-
48
- <div class="col-lg-4 col-12 card-col mt-lg-0 mt-5">
49
- <ng-template [ngTemplateOutlet]="third_col"></ng-template>
50
- </div>
51
-
52
- </div>
53
- </mefdev-inner-card>
@@ -1,72 +0,0 @@
1
- @use './../../../styles/vars.scss' as v;
2
- @use './../../../styles/fonts.scss';
3
-
4
-
5
- :host::ng-deep .params-block{
6
- .row{
7
- margin-top: 0.75em;
8
- }
9
- .row:last-child{
10
- margin-bottom: 0.75em;
11
- }
12
- }
13
-
14
- :host::ng-deep .card-col{
15
- min-height: 220px;
16
- }
17
-
18
- :host::ng-deep .header-link{
19
- opacity: 1;
20
- }
21
-
22
- :host::ng-deep .card-default{
23
- background-color: v.$Light-Gray-3;
24
- border-radius: 5px;
25
-
26
- }
27
-
28
- :host::ng-deep .card-title{
29
- width: 80%;
30
- color: black;
31
- span{
32
- @extend .h3;
33
- }
34
- }
35
-
36
- :host::ng-deep .plugin-type{
37
- border-radius: 5px 0px 0px 5px;
38
- margin-right: -20px;
39
- height: 28px;
40
- padding: 5px 15px;
41
- @extend .h6;
42
- color: v.$White;
43
- }
44
-
45
-
46
- :host::ng-deep .card-description{
47
- height: 40px;
48
- overflow-y: clip;
49
- @extend .body-5;
50
- color: v.$Dark-Gray-2;
51
- }
52
-
53
-
54
- :host::ng-deep .card-no-description{
55
- overflow-y: clip;
56
- height: 60px;
57
- @extend .body-5;
58
- color: v.$Light-Gray-1;
59
- }
60
-
61
- :host::ng-deep .card-img{
62
- padding: 0;
63
- height: 130px;
64
- background-color: v.$White;
65
- display: flex;
66
- align-items: center;
67
- justify-content: center;
68
- width: -webkit-fill-available;
69
- margin-right: calc(var(--bs-gutter-x) * .5);
70
- margin-left: calc(var(--bs-gutter-x) * .5);
71
-
72
- }
@@ -1,158 +0,0 @@
1
- import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { CartTypeColors } from './cart-type-colors.enum';
4
-
5
- /**
6
- * Component for displaying a long card with a title, parameters, and description.
7
- *
8
- * Example of usage:
9
- *
10
- * ```
11
- * <mefdev-card-long
12
- * [type_text]="'Type Text'"
13
- * [type_color]="CartTypeColors.RED"
14
- * [img]="'path/to/image.jpg'"
15
- * [imgUrl]="'path/to/image'"
16
- * [description]="'Card description'">
17
- *
18
- * <ng-template #title>
19
- * <!-- Content for the card title -->
20
- * </ng-template>
21
-
22
- * <ng-template #params>
23
- * <!-- Content for the card parameters -->
24
- * </ng-template>
25
-
26
- * <ng-template #second_col>
27
- * <!-- Content for the second column -->
28
- * </ng-template>
29
-
30
- * <ng-template #third_col>
31
- * <!-- Content for the third column -->
32
- * </ng-template>
33
- * </mefdev-card-long>
34
- * ```
35
- *
36
- * <example-url>https://platform.mef.dev/ui_kit_demo/view/page_components/card/card_long</example-url>
37
- */
38
-
39
- @Component({
40
- selector: 'mefdev-card-long',
41
- templateUrl: './card-long.component.html',
42
- styleUrls: ['./card-long.component.scss'],
43
- standalone: false
44
- })
45
- export class CardLongComponent implements OnInit {
46
-
47
- /**
48
- * Template for displaying the title of the card.
49
- * ```
50
- * <mefdev-card-long>
51
- * <ng-template #title>
52
- * <!-- Content for the card title -->
53
- * </ng-template>
54
- * </mefdev-card-long>
55
- * ```
56
- */
57
- @ContentChild("title") title: TemplateRef<void>;
58
-
59
- /**
60
- * Template for displaying the parameters of the card.
61
- * ```
62
- * <mefdev-card-long>
63
- * <ng-template #params>
64
- * <!-- Content for the card params -->
65
- * </ng-template>
66
- * </mefdev-card-long>
67
- * ```
68
- */
69
- @ContentChild("params") params: TemplateRef<void>;
70
-
71
- /**
72
- * Template for displaying the content of the second column.
73
- * ```
74
- * <mefdev-card-long>
75
- * <ng-template #second_col>
76
- * <!-- Content for the card second column -->
77
- * </ng-template>
78
- * </mefdev-card-long>
79
- * ```
80
- */
81
- @ContentChild("second_col") second_col: TemplateRef<void>;
82
-
83
- /**
84
- * Template for displaying the content of the third column.
85
- * ```
86
- * <mefdev-card-long>
87
- * <ng-template #third_col>
88
- * <!-- Content for the card third column -->
89
- * </ng-template>
90
- * </mefdev-card-long>
91
- * ```
92
- */
93
- @ContentChild("third_col") third_col: TemplateRef<void>;
94
-
95
-
96
- /**
97
- * The text for the card type.
98
- * @usageNotes
99
- * ```
100
- * <mefdev-card-long type_text = "'Type'"></<mefdev-card-long>
101
- * ```
102
- */
103
- @Input() type_text: string;
104
-
105
- /**
106
- * The color of the card type.
107
- * @usageNotes
108
- * ```
109
- * <mefdev-card-long type_color = "'RED'"></<mefdev-card-long>
110
- * ```
111
- * Colors: RED, UNSET, GREEN
112
-
113
- */
114
- @Input() type_color: CartTypeColors = CartTypeColors.UNSET;
115
-
116
- /**
117
- * The path to the image.
118
- * @usageNotes
119
- * ```
120
- * <mefdev-card-long [img] = "'img/path/img.png'"></mefdev-card-long>
121
- * ```
122
- */
123
- @Input() img: string;
124
-
125
- /**
126
- * The path, where user goes after click at the image.
127
- * @usageNotes
128
- * ```
129
- * <mefdev-card-long [imgUrl] = "'Img.url'"></mefdev-card-long>
130
- * ```
131
- */
132
- @Input() imgUrl: string;
133
-
134
- /**
135
- * The description of the card.
136
- * @usageNotes
137
- * ```
138
- * <mefdev-card-long [description] = "'description'"></mefdev-card-long>
139
- * ```
140
- */
141
- @Input() description: string;
142
-
143
- constructor(
144
- private router: Router
145
- ) { }
146
-
147
- ngOnInit(): void {
148
- }
149
-
150
- /**
151
- * Event handler for image click.
152
- * Navigates to the specified URL.
153
- */
154
- public imgClick(){
155
- this.router.navigate(['/', this.imgUrl.toString()])
156
- }
157
-
158
- }
@@ -1,5 +0,0 @@
1
- export enum CartTypeColors {
2
- UNSET = 'UNSET',
3
- RED = 'RED',
4
- GREEN = 'GREEN'
5
- }
@@ -1,12 +0,0 @@
1
- <div class="card-simple" [ngClass]="{ 'unused-block':isDisabled }">
2
- <div class="row m-2 body-1" *ngIf="card_title">
3
- <div class="col-12">
4
- <ng-template [ngTemplateOutlet]="card_title"></ng-template>
5
- </div>
6
- </div>
7
- <div class="row m-2">
8
- <div class="col-12">
9
- <ng-content></ng-content>
10
- </div>
11
- </div>
12
- </div>
@@ -1,12 +0,0 @@
1
- @use './../../../styles/vars.scss' as c;
2
-
3
- .card-simple{
4
- background-color: c.$Light-Gray-3;
5
- padding: 0.5em;
6
- border-radius: 5px;
7
- }
8
-
9
- .unused-block{
10
- opacity: 0.6;
11
- pointer-events:none;
12
- }
@@ -1,48 +0,0 @@
1
- import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/core';
2
-
3
-
4
- /**
5
- * Component for displaying a simple card with a title.
6
- *
7
- * Example of usage:
8
- *```
9
- * <mefdev-card-simple [disabled]="true">
10
- * <ng-template #card_title>
11
- * <!-- Content for the card title -->
12
- * </ng-template>
13
- * </mefdev-card-simple>
14
- *```
15
- *
16
- * <example-url>https://platform.mef.dev/ui_kit_demo/view/page_components/card/card_simple</example-url>
17
- */
18
- @Component({
19
- selector: 'mefdev-card-simple',
20
- templateUrl: './card-simple.component.html',
21
- styleUrls: ['./card-simple.component.scss'],
22
- standalone: false
23
- })
24
- export class CardSimpleComponent implements OnInit {
25
-
26
- /**
27
- * Determines whether the card is disabled or not.
28
- */
29
- @Input("disabled") isDisabled: boolean = false;
30
-
31
- /**
32
- * Template for displaying the title of the card.
33
- *```
34
- * <mefdev-card-simple>
35
- * <ng-template #card_title>
36
- * <h3>Card Title</h3>
37
- * </ng-template>
38
- * </mefdev-card-simple>
39
- *```
40
- */
41
- @ContentChild("card_title") card_title: TemplateRef<void>;
42
-
43
- constructor() { }
44
-
45
- ngOnInit(): void {
46
- }
47
-
48
- }
@@ -1,21 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { CardComponent } from './card/card.component';
4
- import { MefDevSelectModule } from '../../pg-components/select/select.module';
5
- import { MefdevInnerCardModule } from "./../../pg-components/card/card.module";
6
- import { MefDevCollapseModule } from '../collapse/collapse.module';
7
- import { CardLongComponent } from './card-long/card-long.component';
8
- import { CardSimpleComponent } from './card-simple/card-simple.component';
9
-
10
- export const mefDevCardComponents = [CardComponent, CardLongComponent, CardSimpleComponent];
11
- @NgModule({
12
- declarations: mefDevCardComponents,
13
- exports: mefDevCardComponents,
14
- imports: [
15
- CommonModule,
16
- MefDevCollapseModule,
17
- MefDevSelectModule,
18
- MefdevInnerCardModule,
19
- ]
20
- })
21
- export class MefDevCardModule { }
@@ -1,6 +0,0 @@
1
-
2
- export * from './card/card.component';
3
- export * from './card-long/card-long.component';
4
- export * from './card-long/cart-type-colors.enum';
5
- export * from './card-simple/card-simple.component';
6
- export * from './card.module';
@@ -1,17 +0,0 @@
1
- <div class="row w-100 mt-2 card-title" [attr.aria-expanded]="_active" (click)="clickHeader($event)" role="tab"
2
- href="javascript:;" [ngClass]="{'collapsed':!_active}">
3
- <div class="col">
4
- <ng-template [ngTemplateOutlet]="CardTitle"></ng-template>
5
- </div>
6
- <div class="col">
7
- <i class="fa fa-angle-down float-end " aria-hidden="true" *ngIf="!_active"></i>
8
- <i class="fa fa-angle-up float-end " aria-hidden="true" *ngIf="_active"></i>
9
- </div>
10
- </div>
11
-
12
- <div class="collapse" [ngClass]="{'show':true,'active':_active,'inactive':!_active}" [@collapseState]="_active?'active':'inactive'">
13
- <div *ngIf="_active"
14
- class="card-body mb-3">
15
- <ng-content></ng-content>
16
- </div>
17
- </div>
@@ -1,17 +0,0 @@
1
- @use './../../../styles/vars.scss' as c;
2
- @use './../../../styles/fonts.scss';
3
-
4
- :host{
5
- background-color: transparent;
6
- }
7
-
8
- .card-title{
9
- background-color: c.$Light-Gray-3;
10
- padding: 17px;
11
- margin: 0;
12
- @extend .h3;
13
- color: black;
14
- }
15
- .collapse{
16
- background-color: c.$Light-Gray-3;
17
- }
@@ -1,131 +0,0 @@
1
- import { animate, state, style, transition, trigger } from '@angular/animations';
2
- import { Component, ContentChild, ElementRef, EventEmitter, Host, HostBinding, Input, Output, TemplateRef } from '@angular/core';
3
- import { CollapseSetComponent } from '../collapse-set/collapse-set.component';
4
-
5
-
6
- /**
7
- * Component for displaying a collapsible content.
8
- *
9
- *
10
- * Example of usage:
11
- *```
12
- * <mefdev-collapse [Disabled]="false" [Active]="true" (stateChange)="onStateChange($event)">
13
- * <ng-template #CardTitle>
14
- * <!-- Content for the card title -->
15
- * <h3>Card Title</h3>
16
- * </ng-template>
17
- *
18
- * <!-- Content for the collapsible section -->
19
- * <div>
20
- Content inside collapse
21
- * </div>
22
- * </mefdev-collapse>
23
- *
24
- *```
25
- * <example-url>https://platform.mef.dev/ui_kit_demo/view/page_components/collapse</example-url>
26
-
27
- */
28
- @Component({
29
- selector: 'mefdev-collapse',
30
- templateUrl: './collapse.component.html',
31
- styleUrls: ['./collapse.component.scss'],
32
- animations: [
33
- trigger('collapseState', [
34
- state('inactive', style({
35
- opacity: '0',
36
- height: 0
37
- })),
38
- state('active', style({
39
- opacity: '1',
40
- height: '*'
41
- })),
42
- transition('inactive => active', animate('125ms ease-in')),
43
- transition('active => inactive', animate('125ms ease-out'))
44
- ])
45
- ],
46
- host: {
47
- '[class.card]': 'true',
48
- '[class.card-default]': 'true',
49
- '[class.m-b-0]': 'true'
50
- },
51
- standalone: false
52
- })
53
- export class CollapseComponent {
54
-
55
- private _disabled = false;
56
- _active = false;
57
- _el;
58
-
59
- /**
60
- * ContentChild for the template of the card title.
61
- *
62
- * Example:
63
- * ```
64
- * <ng-template #CardTitle>
65
- * <h3>Card Title</h3>
66
- * </ng-template>
67
- * ```
68
- */
69
- @ContentChild("CardTitle") CardTitle: TemplateRef<void>;
70
-
71
- /**
72
- * Indicates whether the collapse is disabled.
73
- * Set this to `true` to disable the collapse. Defaults to `false`.
74
- */
75
- @Input()
76
- @HostBinding('class.disabled')
77
- set Disabled(value: boolean) {
78
- this._disabled = value;
79
- }
80
-
81
- get Disabled(): boolean {
82
- return this._disabled;
83
- }
84
-
85
- /**
86
- * Indicates whether the collapse is active or not.
87
- */
88
- @Input()
89
- set Active(value: boolean) {
90
- const active = value;
91
- if (this._active === active) {
92
- return;
93
- }
94
- if (!this.Disabled) {
95
- this._active = active;
96
- }
97
- }
98
-
99
- get Active(): boolean {
100
- return this._active;
101
- }
102
-
103
- /**
104
- * Event emitter for the state change of the collapse.
105
- * Emits a boolean value indicating whether the collapse is active or not.
106
- *
107
- * Example:
108
- * ```
109
- * <mefdev-collapse (stateChange)="onStateChange($event)"></mefdev-collapse>
110
- * ```
111
- */
112
- @Output() stateChange = new EventEmitter<boolean>();
113
-
114
- /**
115
- * Event handler for the header click event.
116
- * Toggles the active state of the collapse and emits the state change event.
117
- *
118
- * @param $event The mouse event object.
119
- */
120
- clickHeader($event: MouseEvent): void {
121
- this.Active = !this.Active;
122
- this.stateChange.next(this.Active);
123
- /** trigger host collapseSet click event */
124
- this._collapseSet.pgClick(this);
125
- }
126
-
127
- constructor(@Host() private _collapseSet: CollapseSetComponent, private _elementRef: ElementRef) {
128
- this._el = this._elementRef.nativeElement;
129
- this._collapseSet.addTab(this);
130
- }
131
- }
@@ -1,3 +0,0 @@
1
- <div class="card-group" [class.horizontal]="Horizontal">
2
- <ng-content></ng-content>
3
- </div>
@@ -1,110 +0,0 @@
1
- import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
2
- import { CollapseComponent } from '../collapse/collapse.component';
3
-
4
-
5
- /**
6
- * Component representing a set of collapsible panels.
7
- *
8
- * Example of usage:
9
- *
10
- *```
11
- * <mefdev-collapse-set [Accordion]="true" [Horizontal]="true" [expandAny]="false">
12
- * <mefdev-collapse [Disabled]="false" [Active]="true">
13
- * <!-- Content for the collapse panel -->
14
- * <h3>Panel 1</h3>
15
- * <p>Panel 1 content...</p>
16
- * </mefdev-collapse>
17
-
18
- * <mefdev-collapse [Disabled]="false" [Active]="false">
19
- * <!-- Content for the collapse panel -->
20
- * <h3>Panel 2</h3>
21
- * <p>Panel 2 content...</p>
22
- * </mefdev-collapse>
23
-
24
- * <mefdev-collapse [Disabled]="false" [Active]="false">
25
- * <!-- Content for the collapse panel -->
26
- * <h3>Panel 3</h3>
27
- * <p>Panel 3 content...</p>
28
- * </mefdev-collapse>
29
- * </mefdev-collapse-set>
30
- *```
31
- */
32
- @Component({
33
- selector: 'mefdev-collapse-set',
34
- templateUrl: './collapse-set.component.html',
35
- styleUrls: ['./collapse-set.component.scss'],
36
- encapsulation: ViewEncapsulation.None,
37
- standalone: false
38
- })
39
- export class CollapseSetComponent {
40
-
41
- private _accordion = false;
42
- private _horizontal = true;
43
- private _expandAny = true;
44
- panels: CollapseComponent[] = [];
45
-
46
- /**
47
- * Indicates whether multiple panels can be expanded simultaneously.
48
- * Set this to `true` to allow multiple panels to be expanded. Defaults to `false`.
49
- */
50
- @Input()
51
- set expandAny(value: boolean) {
52
- this._accordion = value;
53
- }
54
-
55
- get expandAny(): boolean {
56
- return this._accordion;
57
- }
58
-
59
- /**
60
- * Indicates whether the collapse set operates as an accordion.
61
- * Set this to `true` to enable accordion behavior. Defaults to `false`.
62
- */
63
- @Input()
64
- set Accordion(value: boolean) {
65
- this._accordion = value;
66
- }
67
-
68
- get Accordion(): boolean {
69
- return this._accordion;
70
- }
71
-
72
- /**
73
- * Indicates whether the collapse set is displayed horizontally or vertically.
74
- * Set this to `true` for horizontal display and `false` for vertical display. Defaults to `true`.
75
- */
76
- @Input()
77
- set Horizontal(value: boolean) {
78
- this._horizontal = value;
79
- }
80
-
81
- get Horizontal(): boolean {
82
- return this._horizontal;
83
- }
84
-
85
- /**
86
- * Event handler for the click event on a collapse panel.
87
- * Closes other panels if the collapse set is an accordion and does not allow multiple expansions.
88
- *
89
- * @param collapse The clicked collapse component.
90
- */
91
- pgClick(collapse: CollapseComponent): void {
92
- if (this.Accordion && !this.expandAny) {
93
- this.panels.map((item, index) => {
94
- const curIndex = this.panels.indexOf(collapse);
95
- if (index !== curIndex) {
96
- item.Active = false;
97
- }
98
- });
99
- }
100
- }
101
-
102
- /**
103
- * Adds a collapse panel to the collapse set.
104
- *
105
- * @param collapse The collapse component to be added.
106
- */
107
- addTab(collapse: CollapseComponent): void {
108
- this.panels.push(collapse);
109
- }
110
- }