pdm-ui-kit 0.1.4 → 0.1.5

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 (376) hide show
  1. package/package.json +20 -13
  2. package/dist/corelusa-pdm-ui-kit/README.md +0 -79
  3. package/dist/corelusa-pdm-ui-kit/esm2020/corelusa-pdm-ui-kit.mjs +0 -5
  4. package/dist/corelusa-pdm-ui-kit/esm2020/lib/components/field/field.component.mjs +0 -52
  5. package/dist/corelusa-pdm-ui-kit/esm2020/lib/components/input/input.component.mjs +0 -65
  6. package/dist/corelusa-pdm-ui-kit/esm2020/lib/components/input-group/input-group.component.mjs +0 -54
  7. package/dist/corelusa-pdm-ui-kit/esm2020/lib/components/input-password/input-password.component.mjs +0 -72
  8. package/dist/corelusa-pdm-ui-kit/fesm2015/corelusa-pdm-ui-kit.mjs +0 -2959
  9. package/dist/corelusa-pdm-ui-kit/fesm2015/corelusa-pdm-ui-kit.mjs.map +0 -1
  10. package/dist/corelusa-pdm-ui-kit/fesm2020/corelusa-pdm-ui-kit.mjs +0 -2954
  11. package/dist/corelusa-pdm-ui-kit/fesm2020/corelusa-pdm-ui-kit.mjs.map +0 -1
  12. package/dist/corelusa-pdm-ui-kit/index.d.ts +0 -5
  13. package/dist/corelusa-pdm-ui-kit/lib/components/field/field.component.d.ts +0 -18
  14. package/dist/corelusa-pdm-ui-kit/lib/components/input-group/input-group.component.d.ts +0 -19
  15. package/dist/corelusa-pdm-ui-kit/package.json +0 -47
  16. package/dist/pdm-ui-kit/README.md +0 -128
  17. package/dist/pdm-ui-kit/esm2020/lib/components/accordion/accordion.component.mjs +0 -42
  18. package/dist/pdm-ui-kit/esm2020/lib/components/alert/alert.component.mjs +0 -35
  19. package/dist/pdm-ui-kit/esm2020/lib/components/alert-dialog/alert-dialog.component.mjs +0 -69
  20. package/dist/pdm-ui-kit/esm2020/lib/components/aspect-ratio/aspect-ratio.component.mjs +0 -31
  21. package/dist/pdm-ui-kit/esm2020/lib/components/avatar/avatar.component.mjs +0 -46
  22. package/dist/pdm-ui-kit/esm2020/lib/components/badge/badge.component.mjs +0 -23
  23. package/dist/pdm-ui-kit/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +0 -29
  24. package/dist/pdm-ui-kit/esm2020/lib/components/button/button.component.mjs +0 -82
  25. package/dist/pdm-ui-kit/esm2020/lib/components/button-group/button-group.component.mjs +0 -23
  26. package/dist/pdm-ui-kit/esm2020/lib/components/calendar/calendar.component.mjs +0 -71
  27. package/dist/pdm-ui-kit/esm2020/lib/components/card/card.component.mjs +0 -65
  28. package/dist/pdm-ui-kit/esm2020/lib/components/carousel/carousel.component.mjs +0 -97
  29. package/dist/pdm-ui-kit/esm2020/lib/components/chart/chart.component.mjs +0 -174
  30. package/dist/pdm-ui-kit/esm2020/lib/components/checkbox/checkbox.component.mjs +0 -47
  31. package/dist/pdm-ui-kit/esm2020/lib/components/collapsible/collapsible.component.mjs +0 -43
  32. package/dist/pdm-ui-kit/esm2020/lib/components/combobox/combobox.component.mjs +0 -51
  33. package/dist/pdm-ui-kit/esm2020/lib/components/command/command.component.mjs +0 -75
  34. package/dist/pdm-ui-kit/esm2020/lib/components/context-menu/context-menu.component.mjs +0 -78
  35. package/dist/pdm-ui-kit/esm2020/lib/components/data-table/data-table.component.mjs +0 -89
  36. package/dist/pdm-ui-kit/esm2020/lib/components/date-picker/date-picker.component.mjs +0 -63
  37. package/dist/pdm-ui-kit/esm2020/lib/components/dialog/dialog.component.mjs +0 -90
  38. package/dist/pdm-ui-kit/esm2020/lib/components/drawer/drawer.component.mjs +0 -72
  39. package/dist/pdm-ui-kit/esm2020/lib/components/dropdown-menu/dropdown-menu.component.mjs +0 -120
  40. package/dist/pdm-ui-kit/esm2020/lib/components/empty/empty.component.mjs +0 -58
  41. package/dist/pdm-ui-kit/esm2020/lib/components/hover-card/hover-card.component.mjs +0 -44
  42. package/dist/pdm-ui-kit/esm2020/lib/components/icon/icon.component.mjs +0 -94
  43. package/dist/pdm-ui-kit/esm2020/lib/components/input-otp/input-otp.component.mjs +0 -140
  44. package/dist/pdm-ui-kit/esm2020/lib/components/item/item.component.mjs +0 -23
  45. package/dist/pdm-ui-kit/esm2020/lib/components/kbd/kbd.component.mjs +0 -17
  46. package/dist/pdm-ui-kit/esm2020/lib/components/label/label.component.mjs +0 -23
  47. package/dist/pdm-ui-kit/esm2020/lib/components/menubar/menubar.component.mjs +0 -31
  48. package/dist/pdm-ui-kit/esm2020/lib/components/native-select/native-select.component.mjs +0 -42
  49. package/dist/pdm-ui-kit/esm2020/lib/components/navigation-menu/navigation-menu.component.mjs +0 -20
  50. package/dist/pdm-ui-kit/esm2020/lib/components/pagination/pagination.component.mjs +0 -47
  51. package/dist/pdm-ui-kit/esm2020/lib/components/popover/popover.component.mjs +0 -58
  52. package/dist/pdm-ui-kit/esm2020/lib/components/progress/progress.component.mjs +0 -33
  53. package/dist/pdm-ui-kit/esm2020/lib/components/radio-group/radio-group.component.mjs +0 -38
  54. package/dist/pdm-ui-kit/esm2020/lib/components/scroll-area/scroll-area.component.mjs +0 -20
  55. package/dist/pdm-ui-kit/esm2020/lib/components/select/select.component.mjs +0 -38
  56. package/dist/pdm-ui-kit/esm2020/lib/components/separator/separator.component.mjs +0 -26
  57. package/dist/pdm-ui-kit/esm2020/lib/components/sheet/sheet.component.mjs +0 -39
  58. package/dist/pdm-ui-kit/esm2020/lib/components/sidebar/sidebar.component.mjs +0 -20
  59. package/dist/pdm-ui-kit/esm2020/lib/components/skeleton/skeleton.component.mjs +0 -17
  60. package/dist/pdm-ui-kit/esm2020/lib/components/slider/slider.component.mjs +0 -46
  61. package/dist/pdm-ui-kit/esm2020/lib/components/sonner/sonner.component.mjs +0 -39
  62. package/dist/pdm-ui-kit/esm2020/lib/components/spinner/spinner.component.mjs +0 -20
  63. package/dist/pdm-ui-kit/esm2020/lib/components/switch/switch.component.mjs +0 -35
  64. package/dist/pdm-ui-kit/esm2020/lib/components/table/table.component.mjs +0 -17
  65. package/dist/pdm-ui-kit/esm2020/lib/components/tabs/tabs.component.mjs +0 -31
  66. package/dist/pdm-ui-kit/esm2020/lib/components/textarea/textarea.component.mjs +0 -59
  67. package/dist/pdm-ui-kit/esm2020/lib/components/toggle/toggle.component.mjs +0 -41
  68. package/dist/pdm-ui-kit/esm2020/lib/components/toggle-group/toggle-group.component.mjs +0 -31
  69. package/dist/pdm-ui-kit/esm2020/lib/components/tooltip/tooltip.component.mjs +0 -33
  70. package/dist/pdm-ui-kit/esm2020/lib/pdm-ui-kit.module.mjs +0 -245
  71. package/dist/pdm-ui-kit/esm2020/public-api.mjs +0 -59
  72. package/dist/pdm-ui-kit/lib/components/accordion/accordion.component.d.ts +0 -19
  73. package/dist/pdm-ui-kit/lib/components/alert/alert.component.d.ts +0 -13
  74. package/dist/pdm-ui-kit/lib/components/alert-dialog/alert-dialog.component.d.ts +0 -21
  75. package/dist/pdm-ui-kit/lib/components/aspect-ratio/aspect-ratio.component.d.ts +0 -10
  76. package/dist/pdm-ui-kit/lib/components/avatar/avatar.component.d.ts +0 -20
  77. package/dist/pdm-ui-kit/lib/components/badge/badge.component.d.ts +0 -9
  78. package/dist/pdm-ui-kit/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -10
  79. package/dist/pdm-ui-kit/lib/components/button/button.component.d.ts +0 -24
  80. package/dist/pdm-ui-kit/lib/components/button-group/button-group.component.d.ts +0 -9
  81. package/dist/pdm-ui-kit/lib/components/calendar/calendar.component.d.ts +0 -28
  82. package/dist/pdm-ui-kit/lib/components/card/card.component.d.ts +0 -24
  83. package/dist/pdm-ui-kit/lib/components/carousel/carousel.component.d.ts +0 -25
  84. package/dist/pdm-ui-kit/lib/components/chart/chart.component.d.ts +0 -41
  85. package/dist/pdm-ui-kit/lib/components/checkbox/checkbox.component.d.ts +0 -17
  86. package/dist/pdm-ui-kit/lib/components/collapsible/collapsible.component.d.ts +0 -14
  87. package/dist/pdm-ui-kit/lib/components/combobox/combobox.component.d.ts +0 -18
  88. package/dist/pdm-ui-kit/lib/components/command/command.component.d.ts +0 -33
  89. package/dist/pdm-ui-kit/lib/components/context-menu/context-menu.component.d.ts +0 -26
  90. package/dist/pdm-ui-kit/lib/components/data-table/data-table.component.d.ts +0 -36
  91. package/dist/pdm-ui-kit/lib/components/date-picker/date-picker.component.d.ts +0 -23
  92. package/dist/pdm-ui-kit/lib/components/dialog/dialog.component.d.ts +0 -30
  93. package/dist/pdm-ui-kit/lib/components/drawer/drawer.component.d.ts +0 -27
  94. package/dist/pdm-ui-kit/lib/components/dropdown-menu/dropdown-menu.component.d.ts +0 -34
  95. package/dist/pdm-ui-kit/lib/components/empty/empty.component.d.ts +0 -19
  96. package/dist/pdm-ui-kit/lib/components/hover-card/hover-card.component.d.ts +0 -14
  97. package/dist/pdm-ui-kit/lib/components/icon/icon.component.d.ts +0 -18
  98. package/dist/pdm-ui-kit/lib/components/input/input.component.d.ts +0 -23
  99. package/dist/pdm-ui-kit/lib/components/input-otp/input-otp.component.d.ts +0 -26
  100. package/dist/pdm-ui-kit/lib/components/input-password/input-password.component.d.ts +0 -25
  101. package/dist/pdm-ui-kit/lib/components/item/item.component.d.ts +0 -8
  102. package/dist/pdm-ui-kit/lib/components/kbd/kbd.component.d.ts +0 -6
  103. package/dist/pdm-ui-kit/lib/components/label/label.component.d.ts +0 -8
  104. package/dist/pdm-ui-kit/lib/components/menubar/menubar.component.d.ts +0 -17
  105. package/dist/pdm-ui-kit/lib/components/native-select/native-select.component.d.ts +0 -20
  106. package/dist/pdm-ui-kit/lib/components/navigation-menu/navigation-menu.component.d.ts +0 -12
  107. package/dist/pdm-ui-kit/lib/components/pagination/pagination.component.d.ts +0 -13
  108. package/dist/pdm-ui-kit/lib/components/popover/popover.component.d.ts +0 -17
  109. package/dist/pdm-ui-kit/lib/components/progress/progress.component.d.ts +0 -10
  110. package/dist/pdm-ui-kit/lib/components/radio-group/radio-group.component.d.ts +0 -19
  111. package/dist/pdm-ui-kit/lib/components/scroll-area/scroll-area.component.d.ts +0 -7
  112. package/dist/pdm-ui-kit/lib/components/select/select.component.d.ts +0 -19
  113. package/dist/pdm-ui-kit/lib/components/separator/separator.component.d.ts +0 -9
  114. package/dist/pdm-ui-kit/lib/components/sheet/sheet.component.d.ts +0 -13
  115. package/dist/pdm-ui-kit/lib/components/sidebar/sidebar.component.d.ts +0 -7
  116. package/dist/pdm-ui-kit/lib/components/skeleton/skeleton.component.d.ts +0 -6
  117. package/dist/pdm-ui-kit/lib/components/slider/slider.component.d.ts +0 -15
  118. package/dist/pdm-ui-kit/lib/components/sonner/sonner.component.d.ts +0 -13
  119. package/dist/pdm-ui-kit/lib/components/spinner/spinner.component.d.ts +0 -7
  120. package/dist/pdm-ui-kit/lib/components/switch/switch.component.d.ts +0 -13
  121. package/dist/pdm-ui-kit/lib/components/table/table.component.d.ts +0 -6
  122. package/dist/pdm-ui-kit/lib/components/tabs/tabs.component.d.ts +0 -16
  123. package/dist/pdm-ui-kit/lib/components/textarea/textarea.component.d.ts +0 -21
  124. package/dist/pdm-ui-kit/lib/components/toggle/toggle.component.d.ts +0 -14
  125. package/dist/pdm-ui-kit/lib/components/toggle-group/toggle-group.component.d.ts +0 -16
  126. package/dist/pdm-ui-kit/lib/components/tooltip/tooltip.component.d.ts +0 -10
  127. package/dist/pdm-ui-kit/lib/pdm-ui-kit.module.d.ts +0 -64
  128. package/dist/pdm-ui-kit/package.json +0 -44
  129. package/dist/pdm-ui-kit/public-api.d.ts +0 -58
  130. package/ng-package.json +0 -8
  131. package/pdm-ui-kit-0.1.1.tgz +0 -0
  132. package/pdm-ui-kit-0.1.2.tgz +0 -0
  133. package/pdm-ui-kit-0.1.3.tgz +0 -0
  134. package/pdm-ui-kit-0.1.4.tgz +0 -0
  135. package/src/lib/components/accordion/accordion.component.html +0 -34
  136. package/src/lib/components/accordion/accordion.component.ts +0 -38
  137. package/src/lib/components/alert/alert.component.html +0 -52
  138. package/src/lib/components/alert/alert.component.ts +0 -25
  139. package/src/lib/components/alert-dialog/alert-dialog.component.html +0 -41
  140. package/src/lib/components/alert-dialog/alert-dialog.component.ts +0 -45
  141. package/src/lib/components/aspect-ratio/aspect-ratio.component.html +0 -11
  142. package/src/lib/components/aspect-ratio/aspect-ratio.component.ts +0 -18
  143. package/src/lib/components/avatar/avatar.component.html +0 -21
  144. package/src/lib/components/avatar/avatar.component.ts +0 -32
  145. package/src/lib/components/badge/badge.component.html +0 -28
  146. package/src/lib/components/badge/badge.component.ts +0 -23
  147. package/src/lib/components/breadcrumb/breadcrumb.component.html +0 -39
  148. package/src/lib/components/breadcrumb/breadcrumb.component.ts +0 -26
  149. package/src/lib/components/button/button.component.html +0 -15
  150. package/src/lib/components/button/button.component.ts +0 -84
  151. package/src/lib/components/button-group/button-group.component.html +0 -39
  152. package/src/lib/components/button-group/button-group.component.ts +0 -15
  153. package/src/lib/components/calendar/calendar.component.html +0 -73
  154. package/src/lib/components/calendar/calendar.component.ts +0 -78
  155. package/src/lib/components/card/card.component.html +0 -77
  156. package/src/lib/components/card/card.component.ts +0 -39
  157. package/src/lib/components/carousel/carousel.component.html +0 -86
  158. package/src/lib/components/carousel/carousel.component.ts +0 -100
  159. package/src/lib/components/chart/chart.component.html +0 -143
  160. package/src/lib/components/chart/chart.component.ts +0 -147
  161. package/src/lib/components/checkbox/checkbox.component.html +0 -38
  162. package/src/lib/components/checkbox/checkbox.component.ts +0 -32
  163. package/src/lib/components/collapsible/collapsible.component.html +0 -26
  164. package/src/lib/components/collapsible/collapsible.component.ts +0 -29
  165. package/src/lib/components/combobox/combobox.component.html +0 -42
  166. package/src/lib/components/combobox/combobox.component.ts +0 -32
  167. package/src/lib/components/command/command.component.html +0 -55
  168. package/src/lib/components/command/command.component.ts +0 -67
  169. package/src/lib/components/context-menu/context-menu.component.html +0 -47
  170. package/src/lib/components/context-menu/context-menu.component.ts +0 -67
  171. package/src/lib/components/data-table/data-table.component.html +0 -63
  172. package/src/lib/components/data-table/data-table.component.ts +0 -78
  173. package/src/lib/components/date-picker/date-picker.component.html +0 -38
  174. package/src/lib/components/date-picker/date-picker.component.ts +0 -38
  175. package/src/lib/components/dialog/dialog.component.html +0 -78
  176. package/src/lib/components/dialog/dialog.component.ts +0 -55
  177. package/src/lib/components/drawer/drawer.component.html +0 -56
  178. package/src/lib/components/drawer/drawer.component.ts +0 -43
  179. package/src/lib/components/dropdown-menu/dropdown-menu.component.html +0 -56
  180. package/src/lib/components/dropdown-menu/dropdown-menu.component.ts +0 -126
  181. package/src/lib/components/empty/empty.component.html +0 -29
  182. package/src/lib/components/empty/empty.component.ts +0 -35
  183. package/src/lib/components/field/field.component.html +0 -26
  184. package/src/lib/components/field/field.component.ts +0 -42
  185. package/src/lib/components/hover-card/hover-card.component.html +0 -24
  186. package/src/lib/components/hover-card/hover-card.component.ts +0 -36
  187. package/src/lib/components/icon/icon.component.html +0 -286
  188. package/src/lib/components/icon/icon.component.ts +0 -133
  189. package/src/lib/components/input/input.component.html +0 -25
  190. package/src/lib/components/input/input.component.ts +0 -33
  191. package/src/lib/components/input-group/input-group.component.html +0 -59
  192. package/src/lib/components/input-group/input-group.component.ts +0 -32
  193. package/src/lib/components/input-otp/input-otp.component.html +0 -25
  194. package/src/lib/components/input-otp/input-otp.component.ts +0 -146
  195. package/src/lib/components/input-password/input-password.component.html +0 -66
  196. package/src/lib/components/input-password/input-password.component.ts +0 -46
  197. package/src/lib/components/item/item.component.html +0 -10
  198. package/src/lib/components/item/item.component.ts +0 -12
  199. package/src/lib/components/kbd/kbd.component.html +0 -3
  200. package/src/lib/components/kbd/kbd.component.ts +0 -10
  201. package/src/lib/components/label/label.component.html +0 -7
  202. package/src/lib/components/label/label.component.ts +0 -12
  203. package/src/lib/components/menubar/menubar.component.html +0 -16
  204. package/src/lib/components/menubar/menubar.component.ts +0 -29
  205. package/src/lib/components/native-select/native-select.component.html +0 -17
  206. package/src/lib/components/native-select/native-select.component.ts +0 -28
  207. package/src/lib/components/navigation-menu/navigation-menu.component.html +0 -15
  208. package/src/lib/components/navigation-menu/navigation-menu.component.ts +0 -17
  209. package/src/lib/components/pagination/pagination.component.html +0 -30
  210. package/src/lib/components/pagination/pagination.component.ts +0 -37
  211. package/src/lib/components/popover/popover.component.html +0 -6
  212. package/src/lib/components/popover/popover.component.ts +0 -40
  213. package/src/lib/components/progress/progress.component.html +0 -9
  214. package/src/lib/components/progress/progress.component.ts +0 -20
  215. package/src/lib/components/radio-group/radio-group.component.html +0 -25
  216. package/src/lib/components/radio-group/radio-group.component.ts +0 -30
  217. package/src/lib/components/scroll-area/scroll-area.component.html +0 -5
  218. package/src/lib/components/scroll-area/scroll-area.component.ts +0 -11
  219. package/src/lib/components/select/select.component.html +0 -14
  220. package/src/lib/components/select/select.component.ts +0 -27
  221. package/src/lib/components/separator/separator.component.html +0 -5
  222. package/src/lib/components/separator/separator.component.ts +0 -16
  223. package/src/lib/components/sheet/sheet.component.html +0 -10
  224. package/src/lib/components/sheet/sheet.component.ts +0 -28
  225. package/src/lib/components/sidebar/sidebar.component.html +0 -3
  226. package/src/lib/components/sidebar/sidebar.component.ts +0 -11
  227. package/src/lib/components/skeleton/skeleton.component.html +0 -1
  228. package/src/lib/components/skeleton/skeleton.component.ts +0 -10
  229. package/src/lib/components/slider/slider.component.html +0 -15
  230. package/src/lib/components/slider/slider.component.ts +0 -31
  231. package/src/lib/components/sonner/sonner.component.html +0 -10
  232. package/src/lib/components/sonner/sonner.component.ts +0 -25
  233. package/src/lib/components/spinner/spinner.component.html +0 -6
  234. package/src/lib/components/spinner/spinner.component.ts +0 -11
  235. package/src/lib/components/switch/switch.component.html +0 -14
  236. package/src/lib/components/switch/switch.component.ts +0 -20
  237. package/src/lib/components/table/table.component.html +0 -5
  238. package/src/lib/components/table/table.component.ts +0 -10
  239. package/src/lib/components/tabs/tabs.component.html +0 -21
  240. package/src/lib/components/tabs/tabs.component.ts +0 -26
  241. package/src/lib/components/textarea/textarea.component.html +0 -21
  242. package/src/lib/components/textarea/textarea.component.ts +0 -28
  243. package/src/lib/components/toggle/toggle.component.html +0 -16
  244. package/src/lib/components/toggle/toggle.component.ts +0 -29
  245. package/src/lib/components/toggle-group/toggle-group.component.html +0 -17
  246. package/src/lib/components/toggle-group/toggle-group.component.ts +0 -26
  247. package/src/lib/components/tooltip/tooltip.component.html +0 -6
  248. package/src/lib/components/tooltip/tooltip.component.ts +0 -20
  249. package/src/lib/pdm-ui-kit.module.ts +0 -126
  250. package/src/public-api.ts +0 -58
  251. package/tsconfig.json +0 -30
  252. package/tsconfig.lib.json +0 -17
  253. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/accordion/accordion.component.mjs +0 -0
  254. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/alert/alert.component.mjs +0 -0
  255. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/alert-dialog/alert-dialog.component.mjs +0 -0
  256. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/aspect-ratio/aspect-ratio.component.mjs +0 -0
  257. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/avatar/avatar.component.mjs +0 -0
  258. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/badge/badge.component.mjs +0 -0
  259. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/breadcrumb/breadcrumb.component.mjs +0 -0
  260. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/button/button.component.mjs +0 -0
  261. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/button-group/button-group.component.mjs +0 -0
  262. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/calendar/calendar.component.mjs +0 -0
  263. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/card/card.component.mjs +0 -0
  264. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/carousel/carousel.component.mjs +0 -0
  265. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/chart/chart.component.mjs +0 -0
  266. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/checkbox/checkbox.component.mjs +0 -0
  267. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/collapsible/collapsible.component.mjs +0 -0
  268. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/combobox/combobox.component.mjs +0 -0
  269. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/command/command.component.mjs +0 -0
  270. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/context-menu/context-menu.component.mjs +0 -0
  271. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/data-table/data-table.component.mjs +0 -0
  272. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/date-picker/date-picker.component.mjs +0 -0
  273. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/dialog/dialog.component.mjs +0 -0
  274. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/drawer/drawer.component.mjs +0 -0
  275. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/dropdown-menu/dropdown-menu.component.mjs +0 -0
  276. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/empty/empty.component.mjs +0 -0
  277. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/lib/components/field/field.component.mjs +0 -0
  278. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/hover-card/hover-card.component.mjs +0 -0
  279. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/icon/icon.component.mjs +0 -0
  280. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/lib/components/input/input.component.mjs +0 -0
  281. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/lib/components/input-group/input-group.component.mjs +0 -0
  282. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/input-otp/input-otp.component.mjs +0 -0
  283. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/lib/components/input-password/input-password.component.mjs +0 -0
  284. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/item/item.component.mjs +0 -0
  285. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/kbd/kbd.component.mjs +0 -0
  286. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/label/label.component.mjs +0 -0
  287. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/menubar/menubar.component.mjs +0 -0
  288. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/native-select/native-select.component.mjs +0 -0
  289. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/navigation-menu/navigation-menu.component.mjs +0 -0
  290. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/pagination/pagination.component.mjs +0 -0
  291. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/popover/popover.component.mjs +0 -0
  292. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/progress/progress.component.mjs +0 -0
  293. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/radio-group/radio-group.component.mjs +0 -0
  294. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/scroll-area/scroll-area.component.mjs +0 -0
  295. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/select/select.component.mjs +0 -0
  296. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/separator/separator.component.mjs +0 -0
  297. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/sheet/sheet.component.mjs +0 -0
  298. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/sidebar/sidebar.component.mjs +0 -0
  299. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/skeleton/skeleton.component.mjs +0 -0
  300. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/slider/slider.component.mjs +0 -0
  301. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/sonner/sonner.component.mjs +0 -0
  302. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/spinner/spinner.component.mjs +0 -0
  303. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/switch/switch.component.mjs +0 -0
  304. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/table/table.component.mjs +0 -0
  305. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/tabs/tabs.component.mjs +0 -0
  306. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/textarea/textarea.component.mjs +0 -0
  307. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/toggle/toggle.component.mjs +0 -0
  308. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/toggle-group/toggle-group.component.mjs +0 -0
  309. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/components/tooltip/tooltip.component.mjs +0 -0
  310. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/lib/pdm-ui-kit.module.mjs +0 -0
  311. /package/{dist/pdm-ui-kit/esm2020 → esm2020}/pdm-ui-kit.mjs +0 -0
  312. /package/{dist/corelusa-pdm-ui-kit/esm2020 → esm2020}/public-api.mjs +0 -0
  313. /package/{dist/pdm-ui-kit/fesm2015 → fesm2015}/pdm-ui-kit.mjs +0 -0
  314. /package/{dist/pdm-ui-kit/fesm2015 → fesm2015}/pdm-ui-kit.mjs.map +0 -0
  315. /package/{dist/pdm-ui-kit/fesm2020 → fesm2020}/pdm-ui-kit.mjs +0 -0
  316. /package/{dist/pdm-ui-kit/fesm2020 → fesm2020}/pdm-ui-kit.mjs.map +0 -0
  317. /package/{dist/pdm-ui-kit/index.d.ts → index.d.ts} +0 -0
  318. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/accordion/accordion.component.d.ts +0 -0
  319. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/alert/alert.component.d.ts +0 -0
  320. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/alert-dialog/alert-dialog.component.d.ts +0 -0
  321. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/aspect-ratio/aspect-ratio.component.d.ts +0 -0
  322. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/avatar/avatar.component.d.ts +0 -0
  323. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/badge/badge.component.d.ts +0 -0
  324. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/breadcrumb/breadcrumb.component.d.ts +0 -0
  325. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/button/button.component.d.ts +0 -0
  326. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/button-group/button-group.component.d.ts +0 -0
  327. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/calendar/calendar.component.d.ts +0 -0
  328. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/card/card.component.d.ts +0 -0
  329. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/carousel/carousel.component.d.ts +0 -0
  330. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/chart/chart.component.d.ts +0 -0
  331. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/checkbox/checkbox.component.d.ts +0 -0
  332. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/collapsible/collapsible.component.d.ts +0 -0
  333. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/combobox/combobox.component.d.ts +0 -0
  334. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/command/command.component.d.ts +0 -0
  335. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/context-menu/context-menu.component.d.ts +0 -0
  336. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/data-table/data-table.component.d.ts +0 -0
  337. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/date-picker/date-picker.component.d.ts +0 -0
  338. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/dialog/dialog.component.d.ts +0 -0
  339. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/drawer/drawer.component.d.ts +0 -0
  340. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/dropdown-menu/dropdown-menu.component.d.ts +0 -0
  341. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/empty/empty.component.d.ts +0 -0
  342. /package/{dist/pdm-ui-kit/lib → lib}/components/field/field.component.d.ts +0 -0
  343. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/hover-card/hover-card.component.d.ts +0 -0
  344. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/icon/icon.component.d.ts +0 -0
  345. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/input/input.component.d.ts +0 -0
  346. /package/{dist/pdm-ui-kit/lib → lib}/components/input-group/input-group.component.d.ts +0 -0
  347. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/input-otp/input-otp.component.d.ts +0 -0
  348. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/input-password/input-password.component.d.ts +0 -0
  349. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/item/item.component.d.ts +0 -0
  350. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/kbd/kbd.component.d.ts +0 -0
  351. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/label/label.component.d.ts +0 -0
  352. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/menubar/menubar.component.d.ts +0 -0
  353. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/native-select/native-select.component.d.ts +0 -0
  354. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/navigation-menu/navigation-menu.component.d.ts +0 -0
  355. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/pagination/pagination.component.d.ts +0 -0
  356. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/popover/popover.component.d.ts +0 -0
  357. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/progress/progress.component.d.ts +0 -0
  358. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/radio-group/radio-group.component.d.ts +0 -0
  359. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/scroll-area/scroll-area.component.d.ts +0 -0
  360. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/select/select.component.d.ts +0 -0
  361. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/separator/separator.component.d.ts +0 -0
  362. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/sheet/sheet.component.d.ts +0 -0
  363. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/sidebar/sidebar.component.d.ts +0 -0
  364. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/skeleton/skeleton.component.d.ts +0 -0
  365. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/slider/slider.component.d.ts +0 -0
  366. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/sonner/sonner.component.d.ts +0 -0
  367. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/spinner/spinner.component.d.ts +0 -0
  368. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/switch/switch.component.d.ts +0 -0
  369. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/table/table.component.d.ts +0 -0
  370. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/tabs/tabs.component.d.ts +0 -0
  371. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/textarea/textarea.component.d.ts +0 -0
  372. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/toggle/toggle.component.d.ts +0 -0
  373. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/toggle-group/toggle-group.component.d.ts +0 -0
  374. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/components/tooltip/tooltip.component.d.ts +0 -0
  375. /package/{dist/corelusa-pdm-ui-kit/lib → lib}/pdm-ui-kit.module.d.ts +0 -0
  376. /package/{dist/corelusa-pdm-ui-kit/public-api.d.ts → public-api.d.ts} +0 -0
@@ -1,286 +0,0 @@
1
- <ng-container *ngIf="assetUrl; else inlineIcon">
2
- <img
3
- [src]="assetUrl"
4
- [style.width.px]="size"
5
- [style.height.px]="size"
6
- [ngClass]="className"
7
- [attr.role]="decorative ? null : 'img'"
8
- [attr.aria-hidden]="decorative ? 'true' : null"
9
- [attr.aria-label]="!decorative ? ariaLabel || name : null"
10
- alt=""
11
- />
12
- </ng-container>
13
-
14
- <ng-template #inlineIcon>
15
- <svg
16
- [attr.width]="size"
17
- [attr.height]="size"
18
- [ngClass]="className"
19
- [attr.role]="decorative ? null : 'img'"
20
- [attr.aria-hidden]="decorative ? 'true' : null"
21
- [attr.aria-label]="!decorative ? ariaLabel || name : null"
22
- viewBox="0 0 24 24"
23
- fill="none"
24
- xmlns="http://www.w3.org/2000/svg"
25
- >
26
- <ng-container [ngSwitch]="iconKey">
27
- <g *ngSwitchCase="'command'">
28
- <path d="M9 9V15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
29
- <path d="M15 9V15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
30
- <path d="M9 9H15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
31
- <path d="M9 15H15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
32
- <path d="M9 9H7.5C6.12 9 5 7.88 5 6.5C5 5.12 6.12 4 7.5 4C8.88 4 10 5.12 10 6.5V8" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
33
- <path d="M15 9H16.5C17.88 9 19 7.88 19 6.5C19 5.12 17.88 4 16.5 4C15.12 4 14 5.12 14 6.5V8" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
34
- <path d="M9 15H7.5C6.12 15 5 16.12 5 17.5C5 18.88 6.12 20 7.5 20C8.88 20 10 18.88 10 17.5V16" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
35
- <path d="M15 15H16.5C17.88 15 19 16.12 19 17.5C19 18.88 17.88 20 16.5 20C15.12 20 14 18.88 14 17.5V16" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
36
- </g>
37
-
38
- <g *ngSwitchCase="'check'">
39
- <path d="M5 12.5L9.2 16.7L19 7" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
40
- </g>
41
-
42
- <g *ngSwitchCase="'check-circle'">
43
- <circle cx="12" cy="12" r="9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
44
- <path d="M8.5 12.2L11 14.7L15.8 9.9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
45
- </g>
46
-
47
- <g *ngSwitchCase="'circle'">
48
- <circle cx="12" cy="12" r="9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
49
- </g>
50
-
51
- <g *ngSwitchCase="'dot'">
52
- <circle cx="12" cy="12" r="2.5" fill="currentColor"></circle>
53
- </g>
54
-
55
- <g *ngSwitchCase="'x'">
56
- <path d="M6 6L18 18M18 6L6 18" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
57
- </g>
58
-
59
- <g *ngSwitchCase="'alert-circle'">
60
- <circle cx="12" cy="12" r="9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
61
- <path d="M12 8V12" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
62
- <circle cx="12" cy="16" r="1" fill="currentColor"></circle>
63
- </g>
64
-
65
- <g *ngSwitchCase="'info'">
66
- <circle cx="12" cy="12" r="9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
67
- <path d="M12 11V16" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
68
- <circle cx="12" cy="8" r="1" fill="currentColor"></circle>
69
- </g>
70
-
71
- <g *ngSwitchCase="'loader-2'">
72
- <path d="M12 3A9 9 0 1 0 21 12" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
73
- </g>
74
-
75
- <g *ngSwitchCase="'menu'">
76
- <path d="M4 7H20M4 12H20M4 17H20" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
77
- </g>
78
-
79
- <g *ngSwitchCase="'search'">
80
- <circle cx="11" cy="11" r="7" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
81
- <path d="M20 20L16.6 16.6" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
82
- </g>
83
-
84
- <g *ngSwitchCase="'calendar'">
85
- <path d="M8 3V6M16 3V6M4 10H20" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
86
- <rect x="4" y="6" width="16" height="14" rx="2" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></rect>
87
- </g>
88
-
89
- <g *ngSwitchCase="'panel-left'">
90
- <rect x="3" y="4" width="18" height="16" rx="2" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></rect>
91
- <path d="M9 4V20" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></path>
92
- </g>
93
-
94
- <g *ngSwitchCase="'monitor'">
95
- <rect x="3" y="4" width="18" height="13" rx="2" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></rect>
96
- <path d="M8 20H16" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
97
- <path d="M12 17V20" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
98
- </g>
99
-
100
- <g *ngSwitchCase="'laptop'">
101
- <rect x="5" y="5" width="14" height="10" rx="1.5" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></rect>
102
- <path d="M3 18H21" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
103
- </g>
104
-
105
- <g *ngSwitchCase="'sun'">
106
- <circle cx="12" cy="12" r="4" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
107
- <path d="M12 2V4M12 20V22M4 12H2M22 12H20M19.07 4.93L17.66 6.34M6.34 17.66L4.93 19.07M19.07 19.07L17.66 17.66M6.34 6.34L4.93 4.93" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
108
- </g>
109
-
110
- <g *ngSwitchCase="'moon'">
111
- <path d="M20 14.5C19.1 17.9 16 20.5 12.3 20.5C7.9 20.5 4.3 16.9 4.3 12.5C4.3 8.8 6.8 5.8 10.2 4.8C9.6 5.8 9.3 7 9.3 8.2C9.3 11.8 12.2 14.7 15.8 14.7C17 14.7 18.1 14.4 19.1 13.8C19.4 13.6 20.1 14 20 14.5Z" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
112
- </g>
113
-
114
- <g *ngSwitchCase="'chevron-down'">
115
- <path d="M7 10L12 15L17 10" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
116
- </g>
117
-
118
- <g *ngSwitchCase="'chevron-up'">
119
- <path d="M17 14L12 9L7 14" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
120
- </g>
121
-
122
- <g *ngSwitchCase="'chevron-left'">
123
- <path d="M15 18L9 12L15 6" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
124
- </g>
125
-
126
- <g *ngSwitchCase="'chevron-right'">
127
- <path d="M9 18L15 12L9 6" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
128
- </g>
129
-
130
- <g *ngSwitchCase="'chevrons-left'">
131
- <path d="M14 18L8 12L14 6" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
132
- <path d="M20 18L14 12L20 6" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
133
- </g>
134
-
135
- <g *ngSwitchCase="'chevrons-right'">
136
- <path d="M10 18L16 12L10 6" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
137
- <path d="M4 18L10 12L4 6" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
138
- </g>
139
-
140
- <g *ngSwitchCase="'chevrons-up-down'">
141
- <path d="M7 15L12 20L17 15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
142
- <path d="M17 9L12 4L7 9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
143
- </g>
144
-
145
- <g *ngSwitchCase="'arrow-up-down'">
146
- <path d="M12 4V20" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
147
- <path d="M8 8L12 4L16 8" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
148
- <path d="M8 16L12 20L16 16" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
149
- </g>
150
-
151
- <g *ngSwitchCase="'ellipsis'">
152
- <circle cx="6" cy="12" r="1.5" fill="currentColor"></circle>
153
- <circle cx="12" cy="12" r="1.5" fill="currentColor"></circle>
154
- <circle cx="18" cy="12" r="1.5" fill="currentColor"></circle>
155
- </g>
156
-
157
- <g *ngSwitchCase="'filter'">
158
- <path d="M4 6H20" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
159
- <path d="M7 12H17" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
160
- <path d="M10 18H14" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
161
- </g>
162
-
163
- <g *ngSwitchCase="'sort-asc'">
164
- <path d="M7 18V6" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
165
- <path d="M4 9L7 6L10 9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
166
- <path d="M14 8H20M14 12H18M14 16H16" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
167
- </g>
168
-
169
- <g *ngSwitchCase="'sort-desc'">
170
- <path d="M7 6V18" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
171
- <path d="M4 15L7 18L10 15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
172
- <path d="M14 8H16M14 12H18M14 16H20" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
173
- </g>
174
-
175
- <g *ngSwitchCase="'plus'">
176
- <path d="M12 5V19M5 12H19" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
177
- </g>
178
-
179
- <g *ngSwitchCase="'minus'">
180
- <path d="M5 12H19" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
181
- </g>
182
-
183
- <g *ngSwitchCase="'copy'">
184
- <rect x="9" y="9" width="11" height="11" rx="2" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></rect>
185
- <rect x="4" y="4" width="11" height="11" rx="2" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></rect>
186
- </g>
187
-
188
- <g *ngSwitchCase="'pencil'">
189
- <path d="M12 20H21" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
190
- <path d="M16.5 4.5C17.1 3.9 18 3.9 18.6 4.5L19.5 5.4C20.1 6 20.1 6.9 19.5 7.5L9 18L4 19L5 14L16.5 4.5Z" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linejoin="round"></path>
191
- </g>
192
-
193
- <g *ngSwitchCase="'trash-2'">
194
- <path d="M4 7H20" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
195
- <path d="M9 7V5C9 4.4 9.4 4 10 4H14C14.6 4 15 4.4 15 5V7" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
196
- <path d="M7 7L8 19C8 19.6 8.4 20 9 20H15C15.6 20 16 19.6 16 19L17 7" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
197
- <path d="M10 11V17M14 11V17" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
198
- </g>
199
-
200
- <g *ngSwitchCase="'download'">
201
- <path d="M12 4V14" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
202
- <path d="M8 10L12 14L16 10" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
203
- <path d="M5 19H19" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
204
- </g>
205
-
206
- <g *ngSwitchCase="'upload'">
207
- <path d="M12 20V10" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
208
- <path d="M8 14L12 10L16 14" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
209
- <path d="M5 5H19" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
210
- </g>
211
-
212
- <g *ngSwitchCase="'home'">
213
- <path d="M4 10.5L12 4L20 10.5" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
214
- <path d="M6 9.5V20H18V9.5" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
215
- </g>
216
-
217
- <g *ngSwitchCase="'mail'">
218
- <rect x="3" y="5" width="18" height="14" rx="2" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></rect>
219
- <path d="M4 7L12 13L20 7" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
220
- </g>
221
-
222
- <g *ngSwitchCase="'phone'">
223
- <path d="M8.8 4.6C9.2 3.8 10.2 3.5 11 4L13.3 5.2C14.1 5.6 14.4 6.6 14 7.4L13 9.2C12.8 9.6 12.9 10.1 13.2 10.4L14.9 12.1C15.2 12.4 15.7 12.5 16.1 12.3L17.9 11.3C18.7 10.9 19.7 11.2 20.1 12L21.3 14.3C21.8 15.1 21.5 16.1 20.7 16.5L18.8 17.5C16.9 18.5 14.5 18.1 12.9 16.5L7.5 11.1C5.9 9.5 5.5 7.1 6.5 5.2L8.8 4.6Z" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linejoin="round"></path>
224
- </g>
225
-
226
- <g *ngSwitchCase="'log-in'">
227
- <path d="M15 3H18C19.1 3 20 3.9 20 5V19C20 20.1 19.1 21 18 21H15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
228
- <path d="M10 17L14 13L10 9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
229
- <path d="M14 13H4" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
230
- </g>
231
-
232
- <g *ngSwitchCase="'log-out'">
233
- <path d="M9 3H6C4.9 3 4 3.9 4 5V19C4 20.1 4.9 21 6 21H9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
234
- <path d="M14 17L10 13L14 9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
235
- <path d="M10 13H20" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
236
- </g>
237
-
238
- <g *ngSwitchCase="'user'">
239
- <circle cx="12" cy="8" r="3" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
240
- <path d="M6 19C6.8 16.7 8.9 15.5 12 15.5C15.1 15.5 17.2 16.7 18 19" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
241
- </g>
242
-
243
- <g *ngSwitchCase="'settings'">
244
- <circle cx="12" cy="12" r="3" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
245
- <path d="M19 12A7 7 0 1 0 12 19" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
246
- </g>
247
-
248
- <g *ngSwitchCase="'credit-card'">
249
- <rect x="3" y="6" width="18" height="12" rx="2" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></rect>
250
- <path d="M3 10H21" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></path>
251
- </g>
252
-
253
- <g *ngSwitchCase="'smile'">
254
- <circle cx="12" cy="12" r="9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
255
- <path d="M9 15C9.7 16 10.7 16.5 12 16.5C13.3 16.5 14.3 16 15 15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
256
- <circle cx="9" cy="10" r="1" fill="currentColor"></circle>
257
- <circle cx="15" cy="10" r="1" fill="currentColor"></circle>
258
- </g>
259
-
260
- <g *ngSwitchCase="'calculator'">
261
- <rect x="6" y="3" width="12" height="18" rx="2" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></rect>
262
- <path d="M9 7H15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
263
- <path d="M9 12H10M14 12H15M9 16H10M14 16H15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
264
- </g>
265
-
266
- <g *ngSwitchCase="'external-link'">
267
- <path d="M14 5H19V10" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
268
- <path d="M10 14L19 5" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
269
- <path d="M19 14V19H5V5H10" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
270
- </g>
271
-
272
- <g *ngSwitchCase="'folder'">
273
- <path d="M3 7C3 5.9 3.9 5 5 5H9L11 7H19C20.1 7 21 7.9 21 9V17C21 18.1 20.1 19 19 19H5C3.9 19 3 18.1 3 17V7Z" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linejoin="round"></path>
274
- </g>
275
-
276
- <g *ngSwitchCase="'arrow-up-right'">
277
- <path d="M7 17L17 7" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round"></path>
278
- <path d="M9 7H17V15" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth" stroke-linecap="round" stroke-linejoin="round"></path>
279
- </g>
280
-
281
- <g *ngSwitchDefault>
282
- <circle cx="12" cy="12" r="9" stroke="currentColor" [attr.stroke-width]="resolvedStrokeWidth"></circle>
283
- </g>
284
- </ng-container>
285
- </svg>
286
- </ng-template>
@@ -1,133 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
-
3
- export type PdmIconLibrary = 'lucide' | 'tabler' | 'hugeicons' | 'phosphor' | 'remix';
4
-
5
- export type PdmIconName =
6
- | 'command'
7
- | 'check'
8
- | 'check-circle'
9
- | 'circle'
10
- | 'dot'
11
- | 'x'
12
- | 'alert-circle'
13
- | 'info'
14
- | 'loader-2'
15
- | 'menu'
16
- | 'search'
17
- | 'calendar'
18
- | 'panel-left'
19
- | 'monitor'
20
- | 'laptop'
21
- | 'sun'
22
- | 'moon'
23
- | 'chevron-down'
24
- | 'chevron-up'
25
- | 'chevron-left'
26
- | 'chevron-right'
27
- | 'chevrons-left'
28
- | 'chevrons-right'
29
- | 'chevrons-up-down'
30
- | 'arrow-up-down'
31
- | 'ellipsis'
32
- | 'filter'
33
- | 'sort-asc'
34
- | 'sort-desc'
35
- | 'plus'
36
- | 'minus'
37
- | 'copy'
38
- | 'pencil'
39
- | 'trash-2'
40
- | 'download'
41
- | 'upload'
42
- | 'home'
43
- | 'mail'
44
- | 'phone'
45
- | 'log-in'
46
- | 'log-out'
47
- | 'user'
48
- | 'settings'
49
- | 'credit-card'
50
- | 'smile'
51
- | 'calculator'
52
- | 'external-link'
53
- | 'folder'
54
- | 'arrow-up-right';
55
-
56
- @Component({
57
- selector: 'pdm-icon',
58
- templateUrl: './icon.component.html',
59
- changeDetection: ChangeDetectionStrategy.OnPush
60
- })
61
- export class PdmIconComponent {
62
- @Input() name: PdmIconName | string = 'check';
63
- @Input() library: PdmIconLibrary = 'lucide';
64
- @Input() assetUrl: string | null = null;
65
- @Input() size = 16;
66
- @Input() strokeWidth = 1.5;
67
- @Input() className = '';
68
- @Input() ariaLabel: string | null = null;
69
- @Input() decorative = false;
70
-
71
- get resolvedStrokeWidth(): number {
72
- if (this.strokeWidth) {
73
- return this.strokeWidth;
74
- }
75
-
76
- if (this.library === 'phosphor') {
77
- return 1.6;
78
- }
79
-
80
- if (this.library === 'tabler') {
81
- return 1.8;
82
- }
83
-
84
- return 1.5;
85
- }
86
-
87
- get iconKey(): string {
88
- const raw = `${this.name || ''}`.trim();
89
- if (!raw) {
90
- return 'circle';
91
- }
92
-
93
- const trimmed = raw.replace(/^(lucide|tabler|hugeicons|phosphor|remix)\//, '');
94
- const aliases = this.aliasMapByLibrary[this.library] ?? {};
95
- return aliases[trimmed] ?? trimmed;
96
- }
97
-
98
- private readonly aliasMapByLibrary: Record<PdmIconLibrary, Record<string, string>> = {
99
- lucide: {},
100
- tabler: {
101
- 'alert-triangle': 'alert-circle',
102
- 'chevron-down': 'chevron-down',
103
- 'chevron-right': 'chevron-right',
104
- 'user-circle': 'user',
105
- 'settings-2': 'settings',
106
- 'external-link': 'external-link'
107
- },
108
- hugeicons: {
109
- 'alert-02': 'alert-circle',
110
- 'user-circle': 'user',
111
- 'search-01': 'search',
112
- 'settings-01': 'settings',
113
- 'arrow-right-01': 'chevron-right',
114
- 'arrow-down-01': 'chevron-down'
115
- },
116
- phosphor: {
117
- 'warning-circle': 'alert-circle',
118
- 'caret-down': 'chevron-down',
119
- 'caret-right': 'chevron-right',
120
- 'user-circle': 'user',
121
- gear: 'settings',
122
- 'arrow-square-out': 'external-link'
123
- },
124
- remix: {
125
- 'alert-line': 'alert-circle',
126
- 'arrow-right-line': 'chevron-right',
127
- 'arrow-down-s-line': 'chevron-down',
128
- 'external-link-line': 'external-link',
129
- 'user-line': 'user',
130
- 'settings-3-line': 'settings'
131
- }
132
- };
133
- }
@@ -1,25 +0,0 @@
1
- <div [ngClass]="['grid w-full gap-3', className]">
2
- <label *ngIf="label" [attr.for]="id" class="text-sm font-medium leading-5 text-[hsl(var(--foreground))]">{{ label }}</label>
3
- <input
4
- [id]="id"
5
- [type]="type"
6
- [value]="value"
7
- [placeholder]="placeholder"
8
- [disabled]="disabled"
9
- [readonly]="readonly"
10
- [required]="required"
11
- [attr.aria-invalid]="invalid"
12
- [ngClass]="[
13
- 'flex h-9 w-full rounded-[8px] border bg-[hsl(var(--background))] px-3 py-1 text-[hsl(var(--foreground))] shadow-[0_1px_2px_rgba(0,0,0,0.1)] outline-none transition-[border-color,box-shadow] placeholder:text-[hsl(var(--muted-foreground))] focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 file:mr-1 file:border-0 file:bg-transparent file:px-[6px] file:py-px file:text-sm file:font-medium file:leading-5 file:text-[hsl(var(--foreground))]',
14
- type === 'file' ? 'text-sm leading-5' : 'text-base leading-6',
15
- invalid
16
- ? 'border-[hsl(var(--destructive))] focus:border-[hsl(var(--destructive))] focus:shadow-[0_0_0_3px_hsl(var(--destructive)/0.2)]'
17
- : 'border-[hsl(var(--input))] focus:border-[hsl(var(--ring))] focus:shadow-[0_0_0_3px_hsl(var(--ring)/0.5)]',
18
- inputClassName
19
- ]"
20
- (input)="onInput($event)"
21
- (blur)="onBlur($event)"
22
- />
23
- <p *ngIf="!invalid && helperText" class="text-sm leading-5 text-[hsl(var(--muted-foreground))]">{{ helperText }}</p>
24
- <p *ngIf="invalid && errorText" class="text-sm leading-5 text-[hsl(var(--destructive))]">{{ errorText }}</p>
25
- </div>
@@ -1,33 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-input',
5
- templateUrl: './input.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmInputComponent {
9
- @Input() id = '';
10
- @Input() type = 'text';
11
- @Input() value = '';
12
- @Input() placeholder = '';
13
- @Input() disabled = false;
14
- @Input() readonly = false;
15
- @Input() required = false;
16
- @Input() invalid = false;
17
- @Input() className = '';
18
- @Input() inputClassName = '';
19
- @Input() label = '';
20
- @Input() helperText = '';
21
- @Input() errorText = '';
22
-
23
- @Output() valueChange = new EventEmitter<string>();
24
- @Output() blurred = new EventEmitter<FocusEvent>();
25
-
26
- onInput(event: Event): void {
27
- this.valueChange.emit((event.target as HTMLInputElement).value);
28
- }
29
-
30
- onBlur(event: FocusEvent): void {
31
- this.blurred.emit(event);
32
- }
33
- }
@@ -1,59 +0,0 @@
1
- <div
2
- [ngClass]="[
3
- 'flex w-full items-center gap-2',
4
- disabled ? 'opacity-50' : '',
5
- className
6
- ]"
7
- >
8
- <div
9
- [ngClass]="[
10
- 'flex h-9 min-w-0 flex-1 items-center overflow-hidden rounded-[8px] border bg-[hsl(var(--background))] px-3 py-1 text-base leading-6 text-[hsl(var(--foreground))] shadow-[0_1px_2px_rgba(0,0,0,0.1)] transition-[border-color,box-shadow]',
11
- invalid ? 'border-[hsl(var(--destructive))]' : 'border-[hsl(var(--input))]',
12
- !invalid && !disabled ? 'focus-within:border-[hsl(var(--ring))] focus-within:shadow-[0_0_0_3px_hsl(var(--ring)/0.5)]' : '',
13
- invalid && !disabled ? 'focus-within:border-[hsl(var(--destructive))] focus-within:shadow-[0_0_0_3px_hsl(var(--destructive)/0.2)]' : '',
14
- disabled ? 'cursor-not-allowed' : ''
15
- ]"
16
- >
17
- <div
18
- *ngIf="prefixText || prefixIcon"
19
- class="inline-flex h-full shrink-0 items-center gap-2 pr-2 text-sm leading-5 text-[hsl(var(--muted-foreground))]"
20
- >
21
- <pdm-icon *ngIf="prefixIcon" [name]="prefixIcon" [size]="16"></pdm-icon>
22
- <span *ngIf="prefixText">{{ prefixText }}</span>
23
- <ng-content select="[pdmInputGroupPrefix]"></ng-content>
24
- </div>
25
-
26
- <input
27
- [id]="id"
28
- [type]="type"
29
- [value]="value"
30
- [placeholder]="placeholder"
31
- [disabled]="disabled"
32
- [attr.aria-invalid]="invalid"
33
- [ngClass]="[
34
- 'h-full min-w-0 flex-1 border-0 bg-transparent p-0 text-base leading-6 text-[hsl(var(--foreground))] outline-none placeholder:text-[hsl(var(--muted-foreground))]',
35
- type === 'file' ? 'text-sm leading-5 file:mr-1 file:border-0 file:bg-transparent file:px-[6px] file:py-px file:text-sm file:font-medium file:leading-5 file:text-[hsl(var(--foreground))]' : ''
36
- ]"
37
- (input)="onInput($event)"
38
- />
39
-
40
- <div
41
- *ngIf="!buttonText && (suffixText || suffixIcon)"
42
- class="inline-flex h-full shrink-0 items-center gap-2 pl-2 text-sm leading-5 text-[hsl(var(--muted-foreground))]"
43
- >
44
- <pdm-icon *ngIf="suffixIcon" [name]="suffixIcon" [size]="16"></pdm-icon>
45
- <span *ngIf="suffixText" class="font-medium">{{ suffixText }}</span>
46
- <ng-content select="[pdmInputGroupSuffix]"></ng-content>
47
- </div>
48
- </div>
49
-
50
- <button
51
- *ngIf="buttonText"
52
- type="button"
53
- [disabled]="disabled"
54
- class="inline-flex h-9 shrink-0 items-center justify-center rounded-[10px] border border-[hsl(var(--input))] bg-[hsl(var(--background))] px-4 py-2 text-sm font-medium leading-5 text-[hsl(var(--foreground))] shadow-[0_1px_2px_rgba(0,0,0,0.1)] outline-none transition-[border-color,box-shadow] focus:outline-none focus-visible:outline-none disabled:cursor-not-allowed"
55
- (click)="onButtonClick($event)"
56
- >
57
- {{ buttonText }}
58
- </button>
59
- </div>
@@ -1,32 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'pdm-input-group',
5
- templateUrl: './input-group.component.html',
6
- changeDetection: ChangeDetectionStrategy.OnPush
7
- })
8
- export class PdmInputGroupComponent {
9
- @Input() id = '';
10
- @Input() type = 'text';
11
- @Input() value = '';
12
- @Input() placeholder = '';
13
- @Input() disabled = false;
14
- @Input() invalid = false;
15
- @Input() prefixText = '';
16
- @Input() suffixText = '';
17
- @Input() prefixIcon = '';
18
- @Input() suffixIcon = '';
19
- @Input() buttonText = '';
20
- @Input() className = '';
21
-
22
- @Output() valueChange = new EventEmitter<string>();
23
- @Output() buttonClick = new EventEmitter<MouseEvent>();
24
-
25
- onInput(event: Event): void {
26
- this.valueChange.emit((event.target as HTMLInputElement).value);
27
- }
28
-
29
- onButtonClick(event: MouseEvent): void {
30
- this.buttonClick.emit(event);
31
- }
32
- }
@@ -1,25 +0,0 @@
1
- <div [ngClass]="['inline-flex items-center justify-center', className]" (paste)="onPaste($event)">
2
- <ng-container *ngFor="let value of values; let index = index; trackBy: trackByIndex">
3
- <input
4
- #otpInput
5
- [class]="getInputClasses(index)"
6
- [value]="value"
7
- [disabled]="disabled"
8
- inputmode="numeric"
9
- maxlength="1"
10
- [attr.name]="'otp-digit-' + index"
11
- autocomplete="off"
12
- autocapitalize="off"
13
- spellcheck="false"
14
- [attr.aria-invalid]="invalid"
15
- [attr.aria-label]="'OTP digit ' + (index + 1)"
16
- (input)="onInput(index, $event)"
17
- (keydown)="onKeyDown(index, $event)"
18
- />
19
- <span
20
- *ngIf="shouldShowSeparator(index)"
21
- class="mx-2 mt-[-1px] h-px w-6 bg-foreground opacity-80"
22
- aria-hidden="true"
23
- ></span>
24
- </ng-container>
25
- </div>