@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,66 +0,0 @@
1
- import { _IdGenerator } from '@angular/cdk/a11y';
2
- import {
3
- booleanAttribute,
4
- Component,
5
- inject,
6
- Input,
7
- ViewEncapsulation,
8
- } from '@angular/core';
9
- import { MDSelect } from './select';
10
-
11
- @Component({
12
- selector: 'md-option-group',
13
- encapsulation: ViewEncapsulation.None,
14
- templateUrl: './option-group.html',
15
- styleUrls: ['./option-group.scss'],
16
- standalone: true,
17
- host: {
18
- class: 'mdc-optgroup',
19
- },
20
- })
21
- /**
22
- * Groups related `<md-option>` items under a labeled header.
23
- *
24
- * @remarks
25
- * - When `disabled` is `true`, the entire group is rendered inert.
26
- * - The generated label id is exposed as {@link _labelId} for a11y wiring.
27
- *
28
- * @example
29
- * ```html
30
- * <md-option-group label="Fruits">
31
- * <md-option value="ap">Apple</md-option>
32
- * <md-option value="ba">Banana</md-option>
33
- * </md-option-group>
34
- * ```
35
- */
36
- export class MDOptionGroup {
37
- /** Visible group header shown above the contained options. */
38
- @Input() label: string;
39
-
40
- /**
41
- * Disables the entire group (non-interactive/inert rendering).
42
- * @default false
43
- */
44
- @Input({ transform: booleanAttribute }) disabled: boolean = false;
45
-
46
- /**
47
- * Unique id used to associate the rendered label with the grouped options for a11y.
48
- * Useful as `aria-labelledby` target on the options container.
49
- */
50
- _labelId: string = inject(_IdGenerator).getId('optgroup-label-');
51
-
52
- /**
53
- * Internal flag for templates to make the group non-interactive without altering ARIA.
54
- * Can be toggled by the parent template if additional gating is needed.
55
- * @internal
56
- */
57
- _inert: boolean;
58
-
59
- /**
60
- * Optional reference to the parent select; useful for contextual checks in the template.
61
- * Kept for side-effects/context only; not required for basic grouping behavior.
62
- */
63
- constructor() {
64
- const parent = inject<MDSelect>(MDSelect, { optional: true });
65
- }
66
- }
@@ -1,11 +0,0 @@
1
- import {BidiModule} from '@angular/cdk/bidi';
2
- import {NgModule} from '@angular/core';
3
- import {MDOption} from './option';
4
- import { MDOptionGroup } from 'ui-kit-lib';
5
- import { MDPseudoCheckboxModule } from './pseudo-checkbox-module';
6
-
7
- @NgModule({
8
- imports: [MDPseudoCheckboxModule, MDOption, MDOptionGroup],
9
- exports: [MDOption, MDOptionGroup, BidiModule],
10
- })
11
- export class MDOptionModule {}
@@ -1,22 +0,0 @@
1
- @if (multiple) {
2
- <pseudo-checkbox
3
- class="mdc-option-pseudo-checkbox"
4
- [disabled]="disabled"
5
- [state]="selected ? 'checked' : 'unchecked'"
6
- aria-hidden="true"
7
- ></pseudo-checkbox>
8
- }
9
-
10
- <ng-content select="icon"></ng-content>
11
-
12
- <span class="mdc-list-item__primary-text" #text><ng-content></ng-content></span>
13
-
14
- @if (!multiple && selected) {
15
- <pseudo-checkbox
16
- class="mdc-option-pseudo-checkbox"
17
- [disabled]="disabled"
18
- state="checked"
19
- aria-hidden="true"
20
- appearance="minimal"
21
- ></pseudo-checkbox>
22
- }
@@ -1,59 +0,0 @@
1
- @use './../../styles/vars.scss' as color-vars;
2
-
3
- md-option {
4
- -webkit-user-select: none;
5
- user-select: none;
6
- -moz-osx-font-smoothing: grayscale;
7
- -webkit-font-smoothing: antialiased;
8
- display: flex;
9
- position: relative;
10
- align-items: center;
11
- justify-content: flex-start;
12
- overflow: hidden;
13
- min-height: 36px;
14
- padding: 0 8px;
15
- cursor: pointer;
16
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
17
- color: color-vars.$Black-Color;
18
- font-family: 'Open Sans';
19
- line-height: 1.25rem;
20
- font-size: 1rem;
21
- letter-spacing: 0.006rem;
22
- font-weight: 400;
23
- }
24
-
25
- .mdc-option .pseudo-checkbox-full {
26
- margin-right: 16px;
27
- flex-shrink: 0;
28
- }
29
-
30
- .mdc-option .pseudo-checkbox-minimal {
31
- margin-left: 16px;
32
- flex-shrink: 0;
33
- }
34
-
35
- .mdc-option.mdc-list-item {
36
- align-items: center;
37
- background: rgba(0, 0, 0, 0);
38
- }
39
-
40
- .mdc-option.mdc-option-active.mdc-list-item {
41
- background-color: color-mix(in srgb, #1a1b1f calc(0.08 * 100%), transparent);
42
- outline: 0;
43
- }
44
-
45
- .mdc-option .mdc-list-item__primary-text {
46
- white-space: normal;
47
- font-size: inherit;
48
- font-weight: inherit;
49
- letter-spacing: inherit;
50
- line-height: inherit;
51
- font-family: inherit;
52
- text-decoration: inherit;
53
- text-transform: inherit;
54
- margin-right: auto;
55
- }
56
-
57
- .mdc-option:hover:not(.mdc-list-item--disabled) {
58
- background-color: color-mix(in srgb, #1a1b1f calc(0.08 * 100%), transparent);
59
- }
@@ -1,288 +0,0 @@
1
- import {
2
- booleanAttribute,
3
- ChangeDetectorRef,
4
- Component,
5
- ElementRef,
6
- EventEmitter,
7
- inject,
8
- Input,
9
- Output,
10
- QueryList,
11
- signal,
12
- ViewChild,
13
- ViewEncapsulation,
14
- } from '@angular/core';
15
- import { _IdGenerator, FocusOrigin } from '@angular/cdk/a11y';
16
- import { ENTER, hasModifierKey, SPACE } from '@angular/cdk/keycodes';
17
- import { Subject } from 'rxjs';
18
- import { MDOptionGroup } from './option-group';
19
- import { MDSelect } from './select';
20
- import { PseudoCheckbox } from './pseudo-checkbox';
21
-
22
- /**
23
- * Event payload emitted when an option's selection state changes.
24
- *
25
- * @template T Model value type.
26
- */
27
- export class MDOptionSelectionChange<T = any> {
28
- constructor(public source: MDOption<T>, public isUserInput = false) {}
29
- }
30
-
31
- @Component({
32
- selector: 'md-option',
33
- encapsulation: ViewEncapsulation.None,
34
- templateUrl: './option.html',
35
- styleUrls: ['./option.scss'],
36
- host: {
37
- role: 'option',
38
- '[class.mdc-list-item--selected]': 'selected',
39
- '[class.mdc-option-multiple]': 'multiple',
40
- '[class.mdc-option-active]': 'active',
41
- '[class.mdc-list-item--disabled]': 'disabled',
42
- '[id]': 'id',
43
- '[attr.aria-selected]': 'selected',
44
- '[attr.aria-disabled]': 'disabled.toString()',
45
- '(click)': '_selectViaInteraction()',
46
- '(keydown)': '_handleKeydown($event)',
47
- class: 'mdc-option mdc-list-item',
48
- },
49
- standalone: true,
50
- imports: [PseudoCheckbox],
51
- })
52
- /**
53
- * Single selectable option used inside {@link MDSelect} and similar controls.
54
- *
55
- * @remarks
56
- * - Supports single and multiple selection modes (derived from parent select).
57
- * - Inherits disabled state from the nearest {@link MDOptionGroup}, if present.
58
- * - Emits {@link MDOption.onSelectionChange} on user/programmatic updates.
59
- */
60
- export class MDOption<T = any> {
61
- /** Host element reference for focus & DOM access. */
62
- private _element = inject<ElementRef<HTMLElement>>(ElementRef);
63
-
64
- /** Change detector for OnPush-friendly manual marks. */
65
- _changeDetectorRef = inject(ChangeDetectorRef);
66
-
67
- /** Optional parent select to derive `multiple` and for coordination. */
68
- private _parent = inject<MDSelect>(MDSelect, { optional: true });
69
-
70
- /** Optional parent group to inherit disabled state. */
71
- group = inject<MDOptionGroup>(MDOptionGroup, { optional: true });
72
-
73
- /** Internal selection state. */
74
- private _selected = false;
75
-
76
- /** Internal active (highlighted) state used by typeahead/keyboard nav. */
77
- private _active = false;
78
-
79
- /** Model value associated with this option. */
80
- @Input() value: T;
81
-
82
- /** Unique id for the option (used by host/id bindings). */
83
- @Input() id: string = inject(_IdGenerator).getId('md-option-');
84
-
85
- /**
86
- * Disabled state: `true` if the group is disabled OR the individual disabled signal is `true`.
87
- * Group-level disabled takes precedence and is observed reactively.
88
- */
89
- @Input({ transform: booleanAttribute })
90
- get disabled(): boolean {
91
- return (this.group && this.group.disabled) || this._disabled();
92
- }
93
- set disabled(value: boolean) {
94
- this._disabled.set(value);
95
- }
96
-
97
- /** Internal reactive flag for individual disabled state. */
98
- private _disabled = signal(false);
99
-
100
- /** Whether the parent select is in multi-selection mode. */
101
- get multiple() {
102
- return this._parent && this._parent.multiple;
103
- }
104
-
105
- /** Public read-only selection flag. */
106
- get selected(): boolean {
107
- return this._selected;
108
- }
109
-
110
- /** Emits whenever selection state changes (user or programmatic). */
111
- @Output() readonly onSelectionChange = new EventEmitter<MDOptionSelectionChange<T>>();
112
-
113
- /**
114
- * Reference to the visible text node inside option.
115
- * Used to compute {@link viewValue} / {@link getLabel}.
116
- */
117
- @ViewChild('text', { static: true }) _text: ElementRef<HTMLElement> | undefined;
118
-
119
- /** Stream used by parent components to observe state changes. */
120
- readonly _stateChanges = new Subject<void>();
121
-
122
- constructor() {}
123
-
124
- /** Whether this option is currently "active" (keyboard highlight). */
125
- get active(): boolean {
126
- return this._active;
127
- }
128
-
129
- /**
130
- * Select this option programmatically.
131
- * @param emitEvent When `true` (default), emits {@link onSelectionChange}.
132
- */
133
- select(emitEvent = true): void {
134
- if (!this._selected) {
135
- this._selected = true;
136
- this._changeDetectorRef.markForCheck();
137
-
138
- if (emitEvent) {
139
- this._emitSelectionChangeEvent();
140
- }
141
- }
142
- }
143
-
144
- /**
145
- * Handle keyboard selection: `ENTER`/`SPACE` toggles selection
146
- * when no modifier keys are pressed.
147
- */
148
- _handleKeydown(event: KeyboardEvent): void {
149
- if ((event.keyCode === ENTER || event.keyCode === SPACE) && !hasModifierKey(event)) {
150
- this._selectViaInteraction();
151
- event.preventDefault();
152
- }
153
- }
154
-
155
- /**
156
- * Toggle/select via click or keyboard; respects disabled and multiple modes.
157
- * Marks for check and emits user-input-flavored selection event.
158
- */
159
- _selectViaInteraction(): void {
160
- if (!this.disabled) {
161
- this._selected = this.multiple ? !this._selected : true;
162
- this._changeDetectorRef.markForCheck();
163
- this._emitSelectionChangeEvent(true);
164
- }
165
- }
166
-
167
- /**
168
- * Deselect this option programmatically.
169
- * @param emitEvent When `true` (default), emits {@link onSelectionChange}.
170
- */
171
- deselect(emitEvent = true): void {
172
- if (this._selected) {
173
- this._selected = false;
174
- this._changeDetectorRef.markForCheck();
175
-
176
- if (emitEvent) {
177
- this._emitSelectionChangeEvent();
178
- }
179
- }
180
- }
181
-
182
- /**
183
- * Move focus to this option's host element.
184
- * @param _origin Optional {@link FocusOrigin} (not used by default).
185
- * @param options Standard {@link FocusOptions}.
186
- */
187
- focus(_origin?: FocusOrigin, options?: FocusOptions): void {
188
- const element = this._getHostElement();
189
- if (typeof element.focus === 'function') {
190
- element.focus(options);
191
- }
192
- // No change detection needed; focus is imperative.
193
- }
194
-
195
- /** Visible string representation of the option (trimmed text content). */
196
- get viewValue(): string {
197
- return (this._text?.nativeElement.textContent || '').trim();
198
- }
199
-
200
- /** Alias for {@link viewValue}; kept for API parity with other option components. */
201
- getLabel(): string {
202
- return this.viewValue;
203
- }
204
-
205
- /** Apply "active" visual styles (used by parent for keyboard navigation). */
206
- setActiveStyles(): void {
207
- if (!this._active) {
208
- this._active = true;
209
- this._changeDetectorRef.markForCheck();
210
- }
211
- }
212
-
213
- /** Remove "active" visual styles. */
214
- setInactiveStyles(): void {
215
- if (this._active) {
216
- this._active = false;
217
- this._changeDetectorRef.markForCheck();
218
- }
219
- }
220
-
221
- /** Return the underlying host `HTMLElement`. */
222
- _getHostElement(): HTMLElement {
223
- return this._element.nativeElement;
224
- }
225
-
226
- /**
227
- * Emit selection change payload; optionally mark as user-driven.
228
- * @param isUserInput Whether the change originated from user interaction.
229
- */
230
- private _emitSelectionChangeEvent(isUserInput = false): void {
231
- this.onSelectionChange.emit(new MDOptionSelectionChange<T>(this, isUserInput));
232
- }
233
- }
234
-
235
- /**
236
- * Count how many group labels appear before a given option index.
237
- * Useful for computing aria-posinset / active-descendant offsets when groups are present.
238
- *
239
- * @param optionIndex Index of the target option among all rendered options.
240
- * @param options `QueryList` of all `MDOption` items (in render order).
241
- * @param optionGroups `QueryList` of `MDOptionGroup` (in render order).
242
- * @returns Number of group headers preceding the option.
243
- */
244
- export function _countGroupLabelsBeforeOption(
245
- optionIndex: number,
246
- options: QueryList<MDOption>,
247
- optionGroups: QueryList<MDOptionGroup>
248
- ): number {
249
- if (optionGroups.length) {
250
- let optionsArray = options.toArray();
251
- let groups = optionGroups.toArray();
252
- let groupCounter = 0;
253
-
254
- for (let i = 0; i < optionIndex + 1; i++) {
255
- if (optionsArray[i].group && optionsArray[i].group === groups[groupCounter]) {
256
- groupCounter++;
257
- }
258
- }
259
- return groupCounter;
260
- }
261
- return 0;
262
- }
263
-
264
- /**
265
- * Compute the `scrollTop` needed to bring an option fully into view inside a panel.
266
- *
267
- * @param optionOffset Distance (px) from top of panel to the top of the option.
268
- * @param optionHeight Height of the option (px).
269
- * @param currentScrollPosition Current `scrollTop` of the panel.
270
- * @param panelHeight Visible height of the panel (px).
271
- * @returns Desired `scrollTop` to ensure full visibility (or current if already visible).
272
- */
273
- export function _getOptionScrollPosition(
274
- optionOffset: number,
275
- optionHeight: number,
276
- currentScrollPosition: number,
277
- panelHeight: number
278
- ): number {
279
- if (optionOffset < currentScrollPosition) {
280
- return optionOffset;
281
- }
282
-
283
- if (optionOffset + optionHeight > currentScrollPosition + panelHeight) {
284
- return Math.max(0, optionOffset - panelHeight + optionHeight);
285
- }
286
-
287
- return currentScrollPosition;
288
- }
@@ -1,9 +0,0 @@
1
- import {BidiModule} from '@angular/cdk/bidi';
2
- import {NgModule} from '@angular/core';
3
- import {PseudoCheckbox} from './pseudo-checkbox';
4
-
5
- @NgModule({
6
- imports: [PseudoCheckbox],
7
- exports: [PseudoCheckbox, BidiModule],
8
- })
9
- export class MDPseudoCheckboxModule {}
@@ -1,121 +0,0 @@
1
- @use 'sass:math';
2
-
3
- @use './../../styles/vars.scss' as color-vars;
4
-
5
- .pseudo-checkbox {
6
- border-radius: 2px;
7
- cursor: pointer;
8
- display: inline-block;
9
- vertical-align: middle;
10
- box-sizing: border-box;
11
- position: relative;
12
- flex-shrink: 0;
13
- transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1);
14
-
15
- width: 18px;
16
- height: 18px;
17
-
18
- &::after {
19
- position: absolute;
20
- opacity: 0;
21
- content: '';
22
- border-bottom: 2px solid currentColor;
23
- transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);
24
- }
25
- }
26
-
27
- .pseudo-checkbox-disabled {
28
- cursor: default;
29
- }
30
-
31
- .pseudo-checkbox-indeterminate::after {
32
- left: 1px;
33
- opacity: 1;
34
- border-radius: 2px;
35
- }
36
-
37
- .pseudo-checkbox-checked::after {
38
- left: 1px;
39
- border-left: 2px solid currentColor;
40
- transform: rotate(-45deg);
41
- opacity: 1;
42
- box-sizing: content-box;
43
- }
44
-
45
- .pseudo-checkbox-full {
46
- border-color: #44474e;
47
- border-width: 2px;
48
- border-style: solid;
49
-
50
- &.pseudo-checkbox-disabled {
51
- border-color: color-mix(in srgb, #1a1b1f 38%, transparent);
52
- opacity: 0.38;
53
- }
54
-
55
- &.pseudo-checkbox-checked,
56
- &.pseudo-checkbox-indeterminate {
57
- background-color: color-vars.$Link;
58
- border-color: transparent;
59
-
60
- &::after {
61
- color: color-vars.$White;
62
- }
63
-
64
- &.pseudo-checkbox-disabled {
65
- background-color: #e0e3e2;
66
- opacity: 0.38;
67
-
68
- &::after {
69
- color: #101414;
70
- }
71
- }
72
- }
73
- }
74
-
75
- .pseudo-checkbox-full {
76
- &.pseudo-checkbox-checked::after {
77
- width: 10px;
78
- height: 4px;
79
-
80
- transform-origin: center;
81
-
82
- top: -1 * math.div(4px, math.sqrt(2));
83
-
84
- left: 0;
85
- bottom: 0;
86
- right: 0;
87
-
88
- margin: auto;
89
- }
90
- &.pseudo-checkbox-indeterminate::after {
91
- top: 6px;
92
- width: 12px;
93
- }
94
- }
95
-
96
- .pseudo-checkbox-minimal {
97
- &.pseudo-checkbox-checked::after {
98
- width: 14px;
99
- height: 6px;
100
-
101
- transform-origin: center;
102
-
103
- top: -1 * math.div(6px, math.sqrt(2));
104
-
105
- left: 0;
106
- bottom: 0;
107
- right: 0;
108
-
109
- margin: auto;
110
- }
111
- }
112
-
113
- .pseudo-checkbox-minimal.pseudo-checkbox-checked::after {
114
- color: color-vars.$Link;
115
- }
116
-
117
-
118
- .mdc-option .pseudo-checkbox-minimal {
119
- margin-left: 16px;
120
- flex-shrink: 0;
121
- }
@@ -1,60 +0,0 @@
1
- import { Component, ViewEncapsulation, Input, ChangeDetectionStrategy } from '@angular/core';
2
-
3
- /** Visual states for the pseudo checkbox glyph. */
4
- export type PseudoCheckboxState = 'unchecked' | 'checked' | 'indeterminate';
5
-
6
- @Component({
7
- encapsulation: ViewEncapsulation.None,
8
- changeDetection: ChangeDetectionStrategy.OnPush,
9
- selector: 'pseudo-checkbox',
10
- styleUrl: 'pseudo-checkbox.scss',
11
- template: '',
12
- host: {
13
- class: 'pseudo-checkbox',
14
- '[class.pseudo-checkbox-indeterminate]': 'state === "indeterminate"',
15
- '[class.pseudo-checkbox-checked]': 'state === "checked"',
16
- '[class.pseudo-checkbox-disabled]': 'disabled',
17
- '[class.pseudo-checkbox-minimal]': 'appearance === "minimal"',
18
- '[class.pseudo-checkbox-full]': 'appearance === "full"',
19
- },
20
- standalone: true,
21
- })
22
- /**
23
- * Minimal visual-only checkbox glyph.
24
- *
25
- * @remarks
26
- * - This component renders no interactive behavior by itself; it’s intended as a purely
27
- * presentational indicator (e.g., inside list options).
28
- * - Host classes reflect the current `state`, `disabled`, and `appearance` values.
29
- */
30
- export class PseudoCheckbox {
31
- /**
32
- * Visual state of the glyph.
33
- * Affects host classes only; no behavior is implied.
34
- * @default 'checked'
35
- */
36
- @Input() state: PseudoCheckboxState = 'checked';
37
-
38
- /**
39
- * Applies a disabled look.
40
- * Parent/consumer is responsible for actual interactivity.
41
- * @default false
42
- */
43
- @Input() disabled: boolean = false;
44
-
45
- /**
46
- * Size/style variant of the glyph.
47
- * - `'minimal'` — compact indicator
48
- * - `'full'` — standard checkbox visuals
49
- * @default 'full'
50
- */
51
- @Input() appearance: 'minimal' | 'full' = 'full';
52
-
53
- constructor() {
54
- // Example side effect: log the initial state after a tick.
55
- // (Kept as-is; remove in production if not needed.)
56
- setTimeout(() => {
57
- console.log(this.state);
58
- }, 1000);
59
- }
60
- }
@@ -1,56 +0,0 @@
1
- <div cdk-overlay-origin
2
- class="mdc-select-trigger"
3
- (click)="open()"
4
- #fallbackOverlayOrigin="cdkOverlayOrigin"
5
- #trigger>
6
-
7
- <div class="mdc-select-value" [attr.id]="_valueId">
8
- @if (empty) {
9
- <span class="mdc-select-placeholder mdc-select-min-line">{{placeholder}}</span>
10
- } @else {
11
- <span class="mdc-select-value-text">
12
- @if (customTrigger) {
13
- <ng-content select="select-trigger"></ng-content>
14
- } @else {
15
- <span class="mdc-select-min-line">{{triggerValue}}</span>
16
- }
17
- </span>
18
- }
19
- </div>
20
-
21
- <div class="mdc-select-arrow-wrapper">
22
- <div class="mdc-select-arrow">
23
- <svg viewBox="0 0 24 24" width="24px" height="24px" focusable="false" aria-hidden="true">
24
- <path d="M7 10l5 5 5-5z"/>
25
- </svg>
26
- </div>
27
- </div>
28
- </div>
29
- <ng-template
30
- cdk-connected-overlay
31
- cdkConnectedOverlayLockPosition
32
- cdkConnectedOverlayHasBackdrop
33
- cdkConnectedOverlayBackdropClass="cdk-overlay-transparent-backdrop"
34
- [cdkConnectedOverlayDisableClose]="true"
35
- [cdkConnectedOverlayScrollStrategy]="_scrollStrategy"
36
- [cdkConnectedOverlayOrigin]="fallbackOverlayOrigin"
37
- [cdkConnectedOverlayPositions]="_positions"
38
- [cdkConnectedOverlayWidth]="_overlayWidth"
39
- [cdkConnectedOverlayFlexibleDimensions]="true"
40
- (detach)="close()"
41
- (backdropClick)="close()"
42
- (overlayKeydown)="_handleOverlayKeydown($event)"
43
- >
44
- <div
45
- #panel
46
- role="listbox"
47
- tabindex="-1"
48
- class="mdc-select-panel mdc-menu-surface select-panel-animations-enabled mdc-menu-surface--open"
49
- [attr.id]="id + '-panel'"
50
- [attr.aria-multiselectable]="multiple"
51
- [attr.aria-label]="ariaLabel || null"
52
- [ngClass]="panelClass"
53
- (keydown)="_handleKeydown($event)">
54
- <ng-content></ng-content>
55
- </div>
56
- </ng-template>