brd-ui-kit 0.1.83 → 0.1.84

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 (236) hide show
  1. package/dist/{calendar-Cf3VkgyX.js → calendar-B78l3uF9.js} +2 -2
  2. package/dist/{calendar-Cf3VkgyX.js.map → calendar-B78l3uF9.js.map} +1 -1
  3. package/dist/calendar-BClkfQSD.cjs +2 -0
  4. package/dist/{calendar-DvDG9hIB.cjs.map → calendar-BClkfQSD.cjs.map} +1 -1
  5. package/dist/{calendar-locale-Br6M-e1P.cjs → calendar-locale-CbU8VmD3.cjs} +2 -2
  6. package/dist/{calendar-locale-Br6M-e1P.cjs.map → calendar-locale-CbU8VmD3.cjs.map} +1 -1
  7. package/dist/{calendar-locale-DivjTEYg.js → calendar-locale-CtuBfQOO.js} +2 -2
  8. package/dist/{calendar-locale-DivjTEYg.js.map → calendar-locale-CtuBfQOO.js.map} +1 -1
  9. package/dist/components/icons/ArrowCounterClockwise.d.ts +1 -1
  10. package/dist/components/icons/BoundingBox.d.ts +1 -1
  11. package/dist/components/icons/Briefcase.d.ts +1 -1
  12. package/dist/components/icons/Building.d.ts +1 -1
  13. package/dist/components/icons/Buildings.d.ts +1 -1
  14. package/dist/components/icons/CaretDown.d.ts +1 -1
  15. package/dist/components/icons/CaretLeft.d.ts +1 -1
  16. package/dist/components/icons/CaretRight.d.ts +1 -1
  17. package/dist/components/icons/CaretUp.d.ts +1 -1
  18. package/dist/components/icons/CaretUpDown.d.ts +1 -1
  19. package/dist/components/icons/ChartLine.d.ts +1 -1
  20. package/dist/components/icons/Check.d.ts +1 -1
  21. package/dist/components/icons/CheckCircle.d.ts +1 -1
  22. package/dist/components/icons/Clock.d.ts +1 -1
  23. package/dist/components/icons/CreditCard.d.ts +1 -1
  24. package/dist/components/icons/DotsThree.d.ts +1 -1
  25. package/dist/components/icons/DownloadSimple.d.ts +1 -1
  26. package/dist/components/icons/EnvelopeSimple.d.ts +1 -1
  27. package/dist/components/icons/Eye.d.ts +1 -1
  28. package/dist/components/icons/EyeSlash.d.ts +1 -1
  29. package/dist/components/icons/FileText.d.ts +1 -1
  30. package/dist/components/icons/Folder.d.ts +1 -1
  31. package/dist/components/icons/Funnel.d.ts +1 -1
  32. package/dist/components/icons/Gear.d.ts +1 -1
  33. package/dist/components/icons/Info.d.ts +1 -1
  34. package/dist/components/icons/LockKey.d.ts +1 -1
  35. package/dist/components/icons/MagnifyingGlass.d.ts +1 -1
  36. package/dist/components/icons/MaxLogo.d.ts +1 -1
  37. package/dist/components/icons/Package.d.ts +1 -1
  38. package/dist/components/icons/Pencil.d.ts +1 -1
  39. package/dist/components/icons/Phone.d.ts +1 -1
  40. package/dist/components/icons/Plus.d.ts +1 -1
  41. package/dist/components/icons/PresentationChart.d.ts +1 -1
  42. package/dist/components/icons/SpinnerGap.d.ts +1 -1
  43. package/dist/components/icons/TelegramLogo.d.ts +1 -1
  44. package/dist/components/icons/Trash.d.ts +1 -1
  45. package/dist/components/icons/UserCircleGear.d.ts +1 -1
  46. package/dist/components/icons/Users.d.ts +1 -1
  47. package/dist/components/icons/UsersFour.d.ts +1 -1
  48. package/dist/components/icons/Warning.d.ts +1 -1
  49. package/dist/components/icons/WarningCircle.d.ts +1 -1
  50. package/dist/components/icons/WhatsAppLogoFilled.d.ts +1 -1
  51. package/dist/components/icons/Wrench.d.ts +1 -1
  52. package/dist/components/icons/X.d.ts +1 -1
  53. package/dist/components/icons/XCircle.d.ts +1 -1
  54. package/dist/components/icons/index.d.ts +46 -46
  55. package/dist/components/icons/stroke-icon.d.ts +1 -1
  56. package/dist/components/ui/icon/icon-map.d.ts +1 -1
  57. package/dist/components/ui/icon/icon.d.ts +2 -2
  58. package/dist/components-app-pagination-app-pagination.cjs +1 -1
  59. package/dist/components-app-pagination-app-pagination.cjs.map +1 -1
  60. package/dist/components-app-pagination-app-pagination.js +2 -2
  61. package/dist/components-app-sidebar-app-sidebar.cjs +1 -1
  62. package/dist/components-app-sidebar-app-sidebar.cjs.map +1 -1
  63. package/dist/components-app-sidebar-app-sidebar.js +1 -1
  64. package/dist/components-approval-log-approval-log.cjs +1 -1
  65. package/dist/components-approval-log-approval-log.cjs.map +1 -1
  66. package/dist/components-approval-log-approval-log.js +21 -21
  67. package/dist/components-avatar-uploader-avatar-uploader.cjs +1 -1
  68. package/dist/components-avatar-uploader-avatar-uploader.cjs.map +1 -1
  69. package/dist/components-avatar-uploader-avatar-uploader.js +21 -21
  70. package/dist/components-basic-avatar-basic-avatar.cjs +1 -1
  71. package/dist/components-basic-avatar-basic-avatar.cjs.map +1 -1
  72. package/dist/components-basic-avatar-basic-avatar.js +21 -21
  73. package/dist/components-checkbox-group-checkbox-group.cjs +1 -1
  74. package/dist/components-checkbox-group-checkbox-group.cjs.map +1 -1
  75. package/dist/components-checkbox-group-checkbox-group.js +21 -21
  76. package/dist/components-data-table-data-table-actions-column.cjs +1 -1
  77. package/dist/components-data-table-data-table-actions-column.cjs.map +1 -1
  78. package/dist/components-data-table-data-table-actions-column.js +1 -1
  79. package/dist/components-data-table-data-table-column-visibility.cjs +1 -1
  80. package/dist/components-data-table-data-table-column-visibility.cjs.map +1 -1
  81. package/dist/components-data-table-data-table-column-visibility.js +1 -1
  82. package/dist/components-data-table-data-table-row-actions-column.cjs +1 -1
  83. package/dist/components-data-table-data-table-row-actions-column.cjs.map +1 -1
  84. package/dist/components-data-table-data-table-row-actions-column.js +1 -1
  85. package/dist/components-files-uploader-files-uploader.cjs +1 -1
  86. package/dist/components-files-uploader-files-uploader.cjs.map +1 -1
  87. package/dist/components-files-uploader-files-uploader.js +3 -3
  88. package/dist/components-icons-ArrowCounterClockwise.cjs +1 -1
  89. package/dist/components-icons-ArrowCounterClockwise.js +1 -1
  90. package/dist/components-icons-BoundingBox.cjs +1 -1
  91. package/dist/components-icons-BoundingBox.js +1 -1
  92. package/dist/components-icons-Briefcase.cjs +1 -1
  93. package/dist/components-icons-Briefcase.js +1 -1
  94. package/dist/components-icons-Building.cjs +1 -1
  95. package/dist/components-icons-Building.js +1 -1
  96. package/dist/components-icons-Buildings.cjs +1 -1
  97. package/dist/components-icons-Buildings.js +1 -1
  98. package/dist/components-icons-CaretDown.cjs +1 -1
  99. package/dist/components-icons-CaretDown.js +1 -1
  100. package/dist/components-icons-CaretLeft.cjs +1 -1
  101. package/dist/components-icons-CaretLeft.js +1 -1
  102. package/dist/components-icons-CaretRight.cjs +1 -1
  103. package/dist/components-icons-CaretRight.js +1 -1
  104. package/dist/components-icons-CaretUp.cjs +1 -1
  105. package/dist/components-icons-CaretUp.js +1 -1
  106. package/dist/components-icons-CaretUpDown.cjs +1 -1
  107. package/dist/components-icons-CaretUpDown.js +1 -1
  108. package/dist/components-icons-ChartLine.cjs +1 -1
  109. package/dist/components-icons-ChartLine.js +1 -1
  110. package/dist/components-icons-Check.cjs +1 -1
  111. package/dist/components-icons-Check.js +1 -1
  112. package/dist/components-icons-CheckCircle.cjs +1 -1
  113. package/dist/components-icons-CheckCircle.js +1 -1
  114. package/dist/components-icons-Clock.cjs +1 -1
  115. package/dist/components-icons-Clock.js +1 -1
  116. package/dist/components-icons-CreditCard.cjs +1 -1
  117. package/dist/components-icons-CreditCard.js +1 -1
  118. package/dist/components-icons-DotsThree.cjs +1 -1
  119. package/dist/components-icons-DotsThree.js +1 -1
  120. package/dist/components-icons-DownloadSimple.cjs +1 -1
  121. package/dist/components-icons-DownloadSimple.js +1 -1
  122. package/dist/components-icons-EnvelopeSimple.cjs +1 -1
  123. package/dist/components-icons-EnvelopeSimple.js +1 -1
  124. package/dist/components-icons-Eye.cjs +1 -1
  125. package/dist/components-icons-Eye.js +1 -1
  126. package/dist/components-icons-EyeSlash.cjs +1 -1
  127. package/dist/components-icons-EyeSlash.js +1 -1
  128. package/dist/components-icons-FileText.cjs +1 -1
  129. package/dist/components-icons-FileText.js +1 -1
  130. package/dist/components-icons-Folder.cjs +1 -1
  131. package/dist/components-icons-Folder.js +1 -1
  132. package/dist/components-icons-Funnel.cjs +1 -1
  133. package/dist/components-icons-Funnel.js +1 -1
  134. package/dist/components-icons-Gear.cjs +1 -1
  135. package/dist/components-icons-Gear.js +1 -1
  136. package/dist/components-icons-Info.cjs +1 -1
  137. package/dist/components-icons-Info.js +1 -1
  138. package/dist/components-icons-LockKey.cjs +1 -1
  139. package/dist/components-icons-LockKey.js +1 -1
  140. package/dist/components-icons-MagnifyingGlass.cjs +1 -1
  141. package/dist/components-icons-MagnifyingGlass.js +1 -1
  142. package/dist/components-icons-MaxLogo.cjs +1 -1
  143. package/dist/components-icons-MaxLogo.js +1 -1
  144. package/dist/components-icons-Package.cjs +1 -1
  145. package/dist/components-icons-Package.js +1 -1
  146. package/dist/components-icons-Pencil.cjs +1 -1
  147. package/dist/components-icons-Pencil.js +1 -1
  148. package/dist/components-icons-Phone.cjs +1 -1
  149. package/dist/components-icons-Phone.js +1 -1
  150. package/dist/components-icons-Plus.cjs +1 -1
  151. package/dist/components-icons-Plus.js +1 -1
  152. package/dist/components-icons-PresentationChart.cjs +1 -1
  153. package/dist/components-icons-PresentationChart.js +1 -1
  154. package/dist/components-icons-SpinnerGap.cjs +1 -1
  155. package/dist/components-icons-SpinnerGap.js +1 -1
  156. package/dist/components-icons-TelegramLogo.cjs +1 -1
  157. package/dist/components-icons-TelegramLogo.js +1 -1
  158. package/dist/components-icons-Trash.cjs +1 -1
  159. package/dist/components-icons-Trash.js +1 -1
  160. package/dist/components-icons-UserCircleGear.cjs +1 -1
  161. package/dist/components-icons-UserCircleGear.js +1 -1
  162. package/dist/components-icons-Users.cjs +1 -1
  163. package/dist/components-icons-Users.js +1 -1
  164. package/dist/components-icons-UsersFour.cjs +1 -1
  165. package/dist/components-icons-UsersFour.js +1 -1
  166. package/dist/components-icons-Warning.cjs +1 -1
  167. package/dist/components-icons-Warning.js +1 -1
  168. package/dist/components-icons-WarningCircle.cjs +1 -1
  169. package/dist/components-icons-WarningCircle.js +1 -1
  170. package/dist/components-icons-WhatsAppLogoFilled.cjs +1 -1
  171. package/dist/components-icons-WhatsAppLogoFilled.js +1 -1
  172. package/dist/components-icons-Wrench.cjs +1 -1
  173. package/dist/components-icons-Wrench.js +1 -1
  174. package/dist/components-icons-X.cjs +1 -1
  175. package/dist/components-icons-X.js +1 -1
  176. package/dist/components-icons-XCircle.cjs +1 -1
  177. package/dist/components-icons-XCircle.js +1 -1
  178. package/dist/components-icons-stroke-icon.cjs.map +1 -1
  179. package/dist/components-icons-stroke-icon.js.map +1 -1
  180. package/dist/components-icons.cjs +1 -1
  181. package/dist/components-icons.js +45 -45
  182. package/dist/components-input-contact-input-contact.cjs +1 -1
  183. package/dist/components-input-contact-input-contact.cjs.map +1 -1
  184. package/dist/components-input-contact-input-contact.js +21 -21
  185. package/dist/components-input-password-input-password.cjs +1 -1
  186. package/dist/components-input-password-input-password.cjs.map +1 -1
  187. package/dist/components-input-password-input-password.js +2 -2
  188. package/dist/components-story-drawer-story-drawer.cjs +1 -1
  189. package/dist/components-story-drawer-story-drawer.cjs.map +1 -1
  190. package/dist/components-story-drawer-story-drawer.js +21 -21
  191. package/dist/components-transfer-list-transfer-list-card.cjs +1 -1
  192. package/dist/components-transfer-list-transfer-list-card.cjs.map +1 -1
  193. package/dist/components-transfer-list-transfer-list-card.js +1 -1
  194. package/dist/components-transfer-list-transfer-list.cjs +1 -1
  195. package/dist/components-transfer-list-transfer-list.cjs.map +1 -1
  196. package/dist/components-transfer-list-transfer-list.js +1 -1
  197. package/dist/components-ui-calendar-calendar.cjs +1 -1
  198. package/dist/components-ui-calendar-calendar.js +2 -2
  199. package/dist/components-ui-calendar.cjs +1 -1
  200. package/dist/components-ui-calendar.js +2 -2
  201. package/dist/components-ui-checkbox-checkbox.cjs +1 -1
  202. package/dist/components-ui-checkbox-checkbox.cjs.map +1 -1
  203. package/dist/components-ui-checkbox-checkbox.js +1 -1
  204. package/dist/components-ui-combobox-combobox.cjs +1 -1
  205. package/dist/components-ui-combobox-combobox.cjs.map +1 -1
  206. package/dist/components-ui-combobox-combobox.js +1 -1
  207. package/dist/components-ui-dialog-dialog.cjs +1 -1
  208. package/dist/components-ui-dialog-dialog.cjs.map +1 -1
  209. package/dist/components-ui-dialog-dialog.js +1 -1
  210. package/dist/components-ui-dropdown-menu-dropdown-menu.cjs +1 -1
  211. package/dist/components-ui-dropdown-menu-dropdown-menu.cjs.map +1 -1
  212. package/dist/components-ui-dropdown-menu-dropdown-menu.js +1 -1
  213. package/dist/components-ui-icon-icon-map.cjs +1 -1
  214. package/dist/components-ui-icon-icon-map.cjs.map +1 -1
  215. package/dist/components-ui-icon-icon-map.js +1 -1
  216. package/dist/components-ui-icon-icon-map.js.map +1 -1
  217. package/dist/components-ui-icon-icon.cjs +1 -1
  218. package/dist/components-ui-icon-icon.cjs.map +1 -1
  219. package/dist/components-ui-icon-icon.js +23 -23
  220. package/dist/components-ui-icon-icon.js.map +1 -1
  221. package/dist/components-ui-pagination-pagination.cjs +1 -1
  222. package/dist/components-ui-pagination-pagination.cjs.map +1 -1
  223. package/dist/components-ui-pagination-pagination.js +3 -3
  224. package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs +1 -1
  225. package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs.map +1 -1
  226. package/dist/components-ui-select-calendar-menu-select-calendar-menu.js +2 -2
  227. package/dist/components-ui-select-select.cjs +1 -1
  228. package/dist/components-ui-select-select.cjs.map +1 -1
  229. package/dist/components-ui-select-select.js +1 -1
  230. package/dist/components-ui-sonner-sonner.cjs +1 -1
  231. package/dist/components-ui-sonner-sonner.cjs.map +1 -1
  232. package/dist/components-ui-sonner-sonner.js +6 -6
  233. package/dist/index.cjs +1 -1
  234. package/dist/index.js +3 -3
  235. package/package.json +2 -2
  236. package/dist/calendar-DvDG9hIB.cjs +0 -2
@@ -1,4 +1,4 @@
1
- import { XCircle as o } from "phosphor-strokes-icons/icons/XCircle";
1
+ import { XCircle as o } from "brd-phosphor-strokes-icons/icons/XCircle";
2
2
  export {
3
3
  o as XCircle
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"components-icons-stroke-icon.cjs","sources":["../src/components/icons/stroke-icon.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\";\nimport type { StrokeIconProps } from \"phosphor-strokes-icons\";\nimport type {\n ComponentType,\n DetailedHTMLProps,\n HTMLAttributes,\n SVGProps,\n} from \"react\";\nimport { iconPresets } from \"../ui/icon/icon-presets\";\nimport type { IconPreset } from \"../ui/icon/icon-presets\";\n\nexport type StrokeIconComponent = ComponentType<StrokeIconProps>;\n\ntype StrokeIconComponentProps = DetailedHTMLProps<\n HTMLAttributes<HTMLDivElement>,\n HTMLDivElement\n> & {\n icon: StrokeIconComponent;\n size?: IconPreset | StrokeIconProps[\"size\"];\n strokeWidth?: StrokeIconProps[\"strokeWidth\"];\n color?: StrokeIconProps[\"color\"];\n disabled?: boolean;\n absoluteStrokeWidth?: StrokeIconProps[\"absoluteStrokeWidth\"];\n classes?: {\n wrapper?: string;\n icon?: string;\n };\n svgProps?: Omit<\n SVGProps<SVGSVGElement>,\n \"size\" | \"strokeWidth\" | \"color\" | \"className\"\n >;\n};\n\nexport const StrokeIcon = ({\n icon: IconComponent,\n size = \"medium\",\n strokeWidth,\n color,\n absoluteStrokeWidth = true,\n classes,\n className,\n svgProps,\n disabled,\n ...rest\n}: StrokeIconComponentProps) => {\n const presetConfig =\n typeof size === \"string\" && size in iconPresets\n ? iconPresets[size as IconPreset]\n : iconPresets.medium;\n const resolvedSize =\n typeof size === \"string\" && size in iconPresets ? presetConfig.size : size;\n const resolvedStrokeWidth = strokeWidth ?? presetConfig.strokeWidth;\n\n return (\n <div\n {...rest}\n className={cn(classes?.wrapper)}\n >\n <IconComponent\n {...svgProps}\n size={resolvedSize}\n strokeWidth={resolvedStrokeWidth}\n color={color}\n absoluteStrokeWidth={absoluteStrokeWidth}\n className={cn(className, classes?.icon, disabled && \"text-disabled-text\")}\n />\n </div>\n );\n};\n\nexport type { StrokeIconComponentProps };\n"],"names":["StrokeIcon","IconComponent","size","strokeWidth","color","absoluteStrokeWidth","classes","className","svgProps","disabled","rest","presetConfig","iconPresets","resolvedSize","resolvedStrokeWidth","jsx","cn"],"mappings":"qMAiCaA,EAAa,CAAC,CACzB,KAAMC,EACN,KAAAC,EAAO,SACP,YAAAC,EACA,MAAAC,EACA,oBAAAC,EAAsB,GACtB,QAAAC,EACA,UAAAC,EACA,SAAAC,EACA,SAAAC,EACA,GAAGC,CACL,IAAgC,CAC9B,MAAMC,EACJ,OAAOT,GAAS,UAAYA,KAAQU,EAAAA,YAChCA,cAAYV,CAAkB,EAC9BU,EAAAA,YAAY,OACZC,EACJ,OAAOX,GAAS,UAAYA,KAAQU,cAAcD,EAAa,KAAOT,EAClEY,EAAsBX,GAAeQ,EAAa,YAExD,OACEI,EAAAA,IAAC,MAAA,CACE,GAAGL,EACJ,UAAWM,EAAAA,GAAGV,GAAS,OAAO,EAE9B,SAAAS,EAAAA,IAACd,EAAA,CACE,GAAGO,EACJ,KAAMK,EACN,YAAaC,EACb,MAAAV,EACA,oBAAAC,EACA,UAAWW,EAAAA,GAAGT,EAAWD,GAAS,KAAMG,GAAY,oBAAoB,CAAA,CAAA,CAC1E,CAAA,CAGN"}
1
+ {"version":3,"file":"components-icons-stroke-icon.cjs","sources":["../src/components/icons/stroke-icon.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\";\nimport type { StrokeIconProps } from \"brd-phosphor-strokes-icons\";\nimport type {\n ComponentType,\n DetailedHTMLProps,\n HTMLAttributes,\n SVGProps,\n} from \"react\";\nimport { iconPresets } from \"../ui/icon/icon-presets\";\nimport type { IconPreset } from \"../ui/icon/icon-presets\";\n\nexport type StrokeIconComponent = ComponentType<StrokeIconProps>;\n\ntype StrokeIconComponentProps = DetailedHTMLProps<\n HTMLAttributes<HTMLDivElement>,\n HTMLDivElement\n> & {\n icon: StrokeIconComponent;\n size?: IconPreset | StrokeIconProps[\"size\"];\n strokeWidth?: StrokeIconProps[\"strokeWidth\"];\n color?: StrokeIconProps[\"color\"];\n disabled?: boolean;\n absoluteStrokeWidth?: StrokeIconProps[\"absoluteStrokeWidth\"];\n classes?: {\n wrapper?: string;\n icon?: string;\n };\n svgProps?: Omit<\n SVGProps<SVGSVGElement>,\n \"size\" | \"strokeWidth\" | \"color\" | \"className\"\n >;\n};\n\nexport const StrokeIcon = ({\n icon: IconComponent,\n size = \"medium\",\n strokeWidth,\n color,\n absoluteStrokeWidth = true,\n classes,\n className,\n svgProps,\n disabled,\n ...rest\n}: StrokeIconComponentProps) => {\n const presetConfig =\n typeof size === \"string\" && size in iconPresets\n ? iconPresets[size as IconPreset]\n : iconPresets.medium;\n const resolvedSize =\n typeof size === \"string\" && size in iconPresets ? presetConfig.size : size;\n const resolvedStrokeWidth = strokeWidth ?? presetConfig.strokeWidth;\n\n return (\n <div\n {...rest}\n className={cn(classes?.wrapper)}\n >\n <IconComponent\n {...svgProps}\n size={resolvedSize}\n strokeWidth={resolvedStrokeWidth}\n color={color}\n absoluteStrokeWidth={absoluteStrokeWidth}\n className={cn(className, classes?.icon, disabled && \"text-disabled-text\")}\n />\n </div>\n );\n};\n\nexport type { StrokeIconComponentProps };\n"],"names":["StrokeIcon","IconComponent","size","strokeWidth","color","absoluteStrokeWidth","classes","className","svgProps","disabled","rest","presetConfig","iconPresets","resolvedSize","resolvedStrokeWidth","jsx","cn"],"mappings":"qMAiCaA,EAAa,CAAC,CACzB,KAAMC,EACN,KAAAC,EAAO,SACP,YAAAC,EACA,MAAAC,EACA,oBAAAC,EAAsB,GACtB,QAAAC,EACA,UAAAC,EACA,SAAAC,EACA,SAAAC,EACA,GAAGC,CACL,IAAgC,CAC9B,MAAMC,EACJ,OAAOT,GAAS,UAAYA,KAAQU,EAAAA,YAChCA,cAAYV,CAAkB,EAC9BU,EAAAA,YAAY,OACZC,EACJ,OAAOX,GAAS,UAAYA,KAAQU,cAAcD,EAAa,KAAOT,EAClEY,EAAsBX,GAAeQ,EAAa,YAExD,OACEI,EAAAA,IAAC,MAAA,CACE,GAAGL,EACJ,UAAWM,EAAAA,GAAGV,GAAS,OAAO,EAE9B,SAAAS,EAAAA,IAACd,EAAA,CACE,GAAGO,EACJ,KAAMK,EACN,YAAaC,EACb,MAAAV,EACA,oBAAAC,EACA,UAAWW,EAAAA,GAAGT,EAAWD,GAAS,KAAMG,GAAY,oBAAoB,CAAA,CAAA,CAC1E,CAAA,CAGN"}
@@ -1 +1 @@
1
- {"version":3,"file":"components-icons-stroke-icon.js","sources":["../src/components/icons/stroke-icon.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\";\nimport type { StrokeIconProps } from \"phosphor-strokes-icons\";\nimport type {\n ComponentType,\n DetailedHTMLProps,\n HTMLAttributes,\n SVGProps,\n} from \"react\";\nimport { iconPresets } from \"../ui/icon/icon-presets\";\nimport type { IconPreset } from \"../ui/icon/icon-presets\";\n\nexport type StrokeIconComponent = ComponentType<StrokeIconProps>;\n\ntype StrokeIconComponentProps = DetailedHTMLProps<\n HTMLAttributes<HTMLDivElement>,\n HTMLDivElement\n> & {\n icon: StrokeIconComponent;\n size?: IconPreset | StrokeIconProps[\"size\"];\n strokeWidth?: StrokeIconProps[\"strokeWidth\"];\n color?: StrokeIconProps[\"color\"];\n disabled?: boolean;\n absoluteStrokeWidth?: StrokeIconProps[\"absoluteStrokeWidth\"];\n classes?: {\n wrapper?: string;\n icon?: string;\n };\n svgProps?: Omit<\n SVGProps<SVGSVGElement>,\n \"size\" | \"strokeWidth\" | \"color\" | \"className\"\n >;\n};\n\nexport const StrokeIcon = ({\n icon: IconComponent,\n size = \"medium\",\n strokeWidth,\n color,\n absoluteStrokeWidth = true,\n classes,\n className,\n svgProps,\n disabled,\n ...rest\n}: StrokeIconComponentProps) => {\n const presetConfig =\n typeof size === \"string\" && size in iconPresets\n ? iconPresets[size as IconPreset]\n : iconPresets.medium;\n const resolvedSize =\n typeof size === \"string\" && size in iconPresets ? presetConfig.size : size;\n const resolvedStrokeWidth = strokeWidth ?? presetConfig.strokeWidth;\n\n return (\n <div\n {...rest}\n className={cn(classes?.wrapper)}\n >\n <IconComponent\n {...svgProps}\n size={resolvedSize}\n strokeWidth={resolvedStrokeWidth}\n color={color}\n absoluteStrokeWidth={absoluteStrokeWidth}\n className={cn(className, classes?.icon, disabled && \"text-disabled-text\")}\n />\n </div>\n );\n};\n\nexport type { StrokeIconComponentProps };\n"],"names":["StrokeIcon","IconComponent","size","strokeWidth","color","absoluteStrokeWidth","classes","className","svgProps","disabled","rest","presetConfig","iconPresets","resolvedSize","resolvedStrokeWidth","jsx","cn"],"mappings":";;;AAiCO,MAAMA,IAAa,CAAC;AAAA,EACzB,MAAMC;AAAA,EACN,MAAAC,IAAO;AAAA,EACP,aAAAC;AAAA,EACA,OAAAC;AAAA,EACA,qBAAAC,IAAsB;AAAA,EACtB,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,MAAgC;AAC9B,QAAMC,IACJ,OAAOT,KAAS,YAAYA,KAAQU,IAChCA,EAAYV,CAAkB,IAC9BU,EAAY,QACZC,IACJ,OAAOX,KAAS,YAAYA,KAAQU,IAAcD,EAAa,OAAOT,GAClEY,IAAsBX,KAAeQ,EAAa;AAExD,SACE,gBAAAI;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAGL;AAAA,MACJ,WAAWM,EAAGV,GAAS,OAAO;AAAA,MAE9B,UAAA,gBAAAS;AAAA,QAACd;AAAA,QAAA;AAAA,UACE,GAAGO;AAAA,UACJ,MAAMK;AAAA,UACN,aAAaC;AAAA,UACb,OAAAV;AAAA,UACA,qBAAAC;AAAA,UACA,WAAWW,EAAGT,GAAWD,GAAS,MAAMG,KAAY,oBAAoB;AAAA,QAAA;AAAA,MAAA;AAAA,IAC1E;AAAA,EAAA;AAGN;"}
1
+ {"version":3,"file":"components-icons-stroke-icon.js","sources":["../src/components/icons/stroke-icon.tsx"],"sourcesContent":["import { cn } from \"@/lib/utils\";\nimport type { StrokeIconProps } from \"brd-phosphor-strokes-icons\";\nimport type {\n ComponentType,\n DetailedHTMLProps,\n HTMLAttributes,\n SVGProps,\n} from \"react\";\nimport { iconPresets } from \"../ui/icon/icon-presets\";\nimport type { IconPreset } from \"../ui/icon/icon-presets\";\n\nexport type StrokeIconComponent = ComponentType<StrokeIconProps>;\n\ntype StrokeIconComponentProps = DetailedHTMLProps<\n HTMLAttributes<HTMLDivElement>,\n HTMLDivElement\n> & {\n icon: StrokeIconComponent;\n size?: IconPreset | StrokeIconProps[\"size\"];\n strokeWidth?: StrokeIconProps[\"strokeWidth\"];\n color?: StrokeIconProps[\"color\"];\n disabled?: boolean;\n absoluteStrokeWidth?: StrokeIconProps[\"absoluteStrokeWidth\"];\n classes?: {\n wrapper?: string;\n icon?: string;\n };\n svgProps?: Omit<\n SVGProps<SVGSVGElement>,\n \"size\" | \"strokeWidth\" | \"color\" | \"className\"\n >;\n};\n\nexport const StrokeIcon = ({\n icon: IconComponent,\n size = \"medium\",\n strokeWidth,\n color,\n absoluteStrokeWidth = true,\n classes,\n className,\n svgProps,\n disabled,\n ...rest\n}: StrokeIconComponentProps) => {\n const presetConfig =\n typeof size === \"string\" && size in iconPresets\n ? iconPresets[size as IconPreset]\n : iconPresets.medium;\n const resolvedSize =\n typeof size === \"string\" && size in iconPresets ? presetConfig.size : size;\n const resolvedStrokeWidth = strokeWidth ?? presetConfig.strokeWidth;\n\n return (\n <div\n {...rest}\n className={cn(classes?.wrapper)}\n >\n <IconComponent\n {...svgProps}\n size={resolvedSize}\n strokeWidth={resolvedStrokeWidth}\n color={color}\n absoluteStrokeWidth={absoluteStrokeWidth}\n className={cn(className, classes?.icon, disabled && \"text-disabled-text\")}\n />\n </div>\n );\n};\n\nexport type { StrokeIconComponentProps };\n"],"names":["StrokeIcon","IconComponent","size","strokeWidth","color","absoluteStrokeWidth","classes","className","svgProps","disabled","rest","presetConfig","iconPresets","resolvedSize","resolvedStrokeWidth","jsx","cn"],"mappings":";;;AAiCO,MAAMA,IAAa,CAAC;AAAA,EACzB,MAAMC;AAAA,EACN,MAAAC,IAAO;AAAA,EACP,aAAAC;AAAA,EACA,OAAAC;AAAA,EACA,qBAAAC,IAAsB;AAAA,EACtB,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,GAAGC;AACL,MAAgC;AAC9B,QAAMC,IACJ,OAAOT,KAAS,YAAYA,KAAQU,IAChCA,EAAYV,CAAkB,IAC9BU,EAAY,QACZC,IACJ,OAAOX,KAAS,YAAYA,KAAQU,IAAcD,EAAa,OAAOT,GAClEY,IAAsBX,KAAeQ,EAAa;AAExD,SACE,gBAAAI;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAGL;AAAA,MACJ,WAAWM,EAAGV,GAAS,OAAO;AAAA,MAE9B,UAAA,gBAAAS;AAAA,QAACd;AAAA,QAAA;AAAA,UACE,GAAGO;AAAA,UACJ,MAAMK;AAAA,UACN,aAAaC;AAAA,UACb,OAAAV;AAAA,UACA,qBAAAC;AAAA,UACA,WAAWW,EAAGT,GAAWD,GAAS,MAAMG,KAAY,oBAAoB;AAAA,QAAA;AAAA,MAAA;AAAA,IAC1E;AAAA,EAAA;AAGN;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("phosphor-strokes-icons/icons/ArrowCounterClockwise"),r=require("phosphor-strokes-icons/icons/BoundingBox"),t=require("phosphor-strokes-icons/icons/Briefcase"),n=require("phosphor-strokes-icons/icons/Building"),o=require("phosphor-strokes-icons/icons/Buildings"),i=require("phosphor-strokes-icons/icons/CaretDown"),u=require("phosphor-strokes-icons/icons/CaretLeft"),c=require("phosphor-strokes-icons/icons/CaretRight"),a=require("phosphor-strokes-icons/icons/CaretUp"),l=require("phosphor-strokes-icons/icons/CaretUpDown"),s=require("phosphor-strokes-icons/icons/ChartLine"),b=require("phosphor-strokes-icons/icons/Check"),g=require("phosphor-strokes-icons/icons/CheckCircle"),p=require("phosphor-strokes-icons/icons/Clock"),d=require("phosphor-strokes-icons/icons/CreditCard"),P=require("phosphor-strokes-icons/icons/DotsThree"),y=require("phosphor-strokes-icons/icons/DownloadSimple"),f=require("phosphor-strokes-icons/icons/EnvelopeSimple"),m=require("phosphor-strokes-icons/icons/Eye"),C=require("phosphor-strokes-icons/icons/EyeSlash"),q=require("phosphor-strokes-icons/icons/FileText"),j=require("phosphor-strokes-icons/icons/Folder"),O=require("phosphor-strokes-icons/icons/Funnel"),h=require("phosphor-strokes-icons/icons/Gear"),k=require("phosphor-strokes-icons/icons/Info"),L=require("phosphor-strokes-icons/icons/LockKey"),S=require("phosphor-strokes-icons/icons/MagnifyingGlass"),w=require("phosphor-strokes-icons/icons/MaxLogo"),B=require("phosphor-strokes-icons/icons/Package"),F=require("phosphor-strokes-icons/icons/Pencil"),U=require("phosphor-strokes-icons/icons/Phone"),T=require("phosphor-strokes-icons/icons/Plus"),D=require("phosphor-strokes-icons/icons/PresentationChart"),G=require("phosphor-strokes-icons/icons/SpinnerGap"),W=require("phosphor-strokes-icons/icons/TelegramLogo"),x=require("phosphor-strokes-icons/icons/Trash"),E=require("phosphor-strokes-icons/icons/UserCircleGear"),M=require("phosphor-strokes-icons/icons/Users"),A=require("phosphor-strokes-icons/icons/UsersFour"),I=require("phosphor-strokes-icons/icons/Warning"),X=require("phosphor-strokes-icons/icons/WarningCircle"),_=require("phosphor-strokes-icons/icons/WhatsAppLogoFilled"),v=require("phosphor-strokes-icons/icons/Wrench"),K=require("phosphor-strokes-icons/icons/X"),R=require("phosphor-strokes-icons/icons/XCircle"),z=require("./components-icons-stroke-icon.cjs"),H=require("./components-ui-icon-icon-presets.cjs");Object.defineProperty(exports,"ArrowCounterClockwise",{enumerable:!0,get:()=>e.ArrowCounterClockwise});Object.defineProperty(exports,"BoundingBox",{enumerable:!0,get:()=>r.BoundingBox});Object.defineProperty(exports,"Briefcase",{enumerable:!0,get:()=>t.Briefcase});Object.defineProperty(exports,"Building",{enumerable:!0,get:()=>n.Building});Object.defineProperty(exports,"Buildings",{enumerable:!0,get:()=>o.Buildings});Object.defineProperty(exports,"CaretDown",{enumerable:!0,get:()=>i.CaretDown});Object.defineProperty(exports,"CaretLeft",{enumerable:!0,get:()=>u.CaretLeft});Object.defineProperty(exports,"CaretRight",{enumerable:!0,get:()=>c.CaretRight});Object.defineProperty(exports,"CaretUp",{enumerable:!0,get:()=>a.CaretUp});Object.defineProperty(exports,"CaretUpDown",{enumerable:!0,get:()=>l.CaretUpDown});Object.defineProperty(exports,"ChartLine",{enumerable:!0,get:()=>s.ChartLine});Object.defineProperty(exports,"Check",{enumerable:!0,get:()=>b.Check});Object.defineProperty(exports,"CheckCircle",{enumerable:!0,get:()=>g.CheckCircle});Object.defineProperty(exports,"Clock",{enumerable:!0,get:()=>p.Clock});Object.defineProperty(exports,"CreditCard",{enumerable:!0,get:()=>d.CreditCard});Object.defineProperty(exports,"DotsThree",{enumerable:!0,get:()=>P.DotsThree});Object.defineProperty(exports,"DownloadSimple",{enumerable:!0,get:()=>y.DownloadSimple});Object.defineProperty(exports,"EnvelopeSimple",{enumerable:!0,get:()=>f.EnvelopeSimple});Object.defineProperty(exports,"Eye",{enumerable:!0,get:()=>m.Eye});Object.defineProperty(exports,"EyeSlash",{enumerable:!0,get:()=>C.EyeSlash});Object.defineProperty(exports,"FileText",{enumerable:!0,get:()=>q.FileText});Object.defineProperty(exports,"Folder",{enumerable:!0,get:()=>j.Folder});Object.defineProperty(exports,"Funnel",{enumerable:!0,get:()=>O.Funnel});Object.defineProperty(exports,"Gear",{enumerable:!0,get:()=>h.Gear});Object.defineProperty(exports,"Info",{enumerable:!0,get:()=>k.Info});Object.defineProperty(exports,"LockKey",{enumerable:!0,get:()=>L.LockKey});Object.defineProperty(exports,"MagnifyingGlass",{enumerable:!0,get:()=>S.MagnifyingGlass});Object.defineProperty(exports,"MaxLogo",{enumerable:!0,get:()=>w.MaxLogo});Object.defineProperty(exports,"Package",{enumerable:!0,get:()=>B.Package});Object.defineProperty(exports,"Pencil",{enumerable:!0,get:()=>F.Pencil});Object.defineProperty(exports,"Phone",{enumerable:!0,get:()=>U.Phone});Object.defineProperty(exports,"Plus",{enumerable:!0,get:()=>T.Plus});Object.defineProperty(exports,"PresentationChart",{enumerable:!0,get:()=>D.PresentationChart});Object.defineProperty(exports,"SpinnerGap",{enumerable:!0,get:()=>G.SpinnerGap});Object.defineProperty(exports,"TelegramLogo",{enumerable:!0,get:()=>W.TelegramLogo});Object.defineProperty(exports,"Trash",{enumerable:!0,get:()=>x.Trash});Object.defineProperty(exports,"UserCircleGear",{enumerable:!0,get:()=>E.UserCircleGear});Object.defineProperty(exports,"Users",{enumerable:!0,get:()=>M.Users});Object.defineProperty(exports,"UsersFour",{enumerable:!0,get:()=>A.UsersFour});Object.defineProperty(exports,"Warning",{enumerable:!0,get:()=>I.Warning});Object.defineProperty(exports,"WarningCircle",{enumerable:!0,get:()=>X.WarningCircle});Object.defineProperty(exports,"WhatsAppLogoFilled",{enumerable:!0,get:()=>_.WhatsAppLogoFilled});Object.defineProperty(exports,"Wrench",{enumerable:!0,get:()=>v.Wrench});Object.defineProperty(exports,"X",{enumerable:!0,get:()=>K.X});Object.defineProperty(exports,"XCircle",{enumerable:!0,get:()=>R.XCircle});exports.StrokeIcon=z.StrokeIcon;exports.iconPresets=H.iconPresets;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("brd-phosphor-strokes-icons/icons/ArrowCounterClockwise"),r=require("brd-phosphor-strokes-icons/icons/BoundingBox"),t=require("brd-phosphor-strokes-icons/icons/Briefcase"),n=require("brd-phosphor-strokes-icons/icons/Building"),o=require("brd-phosphor-strokes-icons/icons/Buildings"),i=require("brd-phosphor-strokes-icons/icons/CaretDown"),u=require("brd-phosphor-strokes-icons/icons/CaretLeft"),c=require("brd-phosphor-strokes-icons/icons/CaretRight"),a=require("brd-phosphor-strokes-icons/icons/CaretUp"),l=require("brd-phosphor-strokes-icons/icons/CaretUpDown"),s=require("brd-phosphor-strokes-icons/icons/ChartLine"),b=require("brd-phosphor-strokes-icons/icons/Check"),g=require("brd-phosphor-strokes-icons/icons/CheckCircle"),p=require("brd-phosphor-strokes-icons/icons/Clock"),d=require("brd-phosphor-strokes-icons/icons/CreditCard"),P=require("brd-phosphor-strokes-icons/icons/DotsThree"),y=require("brd-phosphor-strokes-icons/icons/DownloadSimple"),f=require("brd-phosphor-strokes-icons/icons/EnvelopeSimple"),m=require("brd-phosphor-strokes-icons/icons/Eye"),C=require("brd-phosphor-strokes-icons/icons/EyeSlash"),q=require("brd-phosphor-strokes-icons/icons/FileText"),j=require("brd-phosphor-strokes-icons/icons/Folder"),O=require("brd-phosphor-strokes-icons/icons/Funnel"),h=require("brd-phosphor-strokes-icons/icons/Gear"),k=require("brd-phosphor-strokes-icons/icons/Info"),L=require("brd-phosphor-strokes-icons/icons/LockKey"),S=require("brd-phosphor-strokes-icons/icons/MagnifyingGlass"),w=require("brd-phosphor-strokes-icons/icons/MaxLogo"),B=require("brd-phosphor-strokes-icons/icons/Package"),F=require("brd-phosphor-strokes-icons/icons/Pencil"),U=require("brd-phosphor-strokes-icons/icons/Phone"),T=require("brd-phosphor-strokes-icons/icons/Plus"),D=require("brd-phosphor-strokes-icons/icons/PresentationChart"),G=require("brd-phosphor-strokes-icons/icons/SpinnerGap"),W=require("brd-phosphor-strokes-icons/icons/TelegramLogo"),x=require("brd-phosphor-strokes-icons/icons/Trash"),E=require("brd-phosphor-strokes-icons/icons/UserCircleGear"),M=require("brd-phosphor-strokes-icons/icons/Users"),A=require("brd-phosphor-strokes-icons/icons/UsersFour"),I=require("brd-phosphor-strokes-icons/icons/Warning"),X=require("brd-phosphor-strokes-icons/icons/WarningCircle"),_=require("brd-phosphor-strokes-icons/icons/WhatsAppLogoFilled"),v=require("brd-phosphor-strokes-icons/icons/Wrench"),K=require("brd-phosphor-strokes-icons/icons/X"),R=require("brd-phosphor-strokes-icons/icons/XCircle"),z=require("./components-icons-stroke-icon.cjs"),H=require("./components-ui-icon-icon-presets.cjs");Object.defineProperty(exports,"ArrowCounterClockwise",{enumerable:!0,get:()=>e.ArrowCounterClockwise});Object.defineProperty(exports,"BoundingBox",{enumerable:!0,get:()=>r.BoundingBox});Object.defineProperty(exports,"Briefcase",{enumerable:!0,get:()=>t.Briefcase});Object.defineProperty(exports,"Building",{enumerable:!0,get:()=>n.Building});Object.defineProperty(exports,"Buildings",{enumerable:!0,get:()=>o.Buildings});Object.defineProperty(exports,"CaretDown",{enumerable:!0,get:()=>i.CaretDown});Object.defineProperty(exports,"CaretLeft",{enumerable:!0,get:()=>u.CaretLeft});Object.defineProperty(exports,"CaretRight",{enumerable:!0,get:()=>c.CaretRight});Object.defineProperty(exports,"CaretUp",{enumerable:!0,get:()=>a.CaretUp});Object.defineProperty(exports,"CaretUpDown",{enumerable:!0,get:()=>l.CaretUpDown});Object.defineProperty(exports,"ChartLine",{enumerable:!0,get:()=>s.ChartLine});Object.defineProperty(exports,"Check",{enumerable:!0,get:()=>b.Check});Object.defineProperty(exports,"CheckCircle",{enumerable:!0,get:()=>g.CheckCircle});Object.defineProperty(exports,"Clock",{enumerable:!0,get:()=>p.Clock});Object.defineProperty(exports,"CreditCard",{enumerable:!0,get:()=>d.CreditCard});Object.defineProperty(exports,"DotsThree",{enumerable:!0,get:()=>P.DotsThree});Object.defineProperty(exports,"DownloadSimple",{enumerable:!0,get:()=>y.DownloadSimple});Object.defineProperty(exports,"EnvelopeSimple",{enumerable:!0,get:()=>f.EnvelopeSimple});Object.defineProperty(exports,"Eye",{enumerable:!0,get:()=>m.Eye});Object.defineProperty(exports,"EyeSlash",{enumerable:!0,get:()=>C.EyeSlash});Object.defineProperty(exports,"FileText",{enumerable:!0,get:()=>q.FileText});Object.defineProperty(exports,"Folder",{enumerable:!0,get:()=>j.Folder});Object.defineProperty(exports,"Funnel",{enumerable:!0,get:()=>O.Funnel});Object.defineProperty(exports,"Gear",{enumerable:!0,get:()=>h.Gear});Object.defineProperty(exports,"Info",{enumerable:!0,get:()=>k.Info});Object.defineProperty(exports,"LockKey",{enumerable:!0,get:()=>L.LockKey});Object.defineProperty(exports,"MagnifyingGlass",{enumerable:!0,get:()=>S.MagnifyingGlass});Object.defineProperty(exports,"MaxLogo",{enumerable:!0,get:()=>w.MaxLogo});Object.defineProperty(exports,"Package",{enumerable:!0,get:()=>B.Package});Object.defineProperty(exports,"Pencil",{enumerable:!0,get:()=>F.Pencil});Object.defineProperty(exports,"Phone",{enumerable:!0,get:()=>U.Phone});Object.defineProperty(exports,"Plus",{enumerable:!0,get:()=>T.Plus});Object.defineProperty(exports,"PresentationChart",{enumerable:!0,get:()=>D.PresentationChart});Object.defineProperty(exports,"SpinnerGap",{enumerable:!0,get:()=>G.SpinnerGap});Object.defineProperty(exports,"TelegramLogo",{enumerable:!0,get:()=>W.TelegramLogo});Object.defineProperty(exports,"Trash",{enumerable:!0,get:()=>x.Trash});Object.defineProperty(exports,"UserCircleGear",{enumerable:!0,get:()=>E.UserCircleGear});Object.defineProperty(exports,"Users",{enumerable:!0,get:()=>M.Users});Object.defineProperty(exports,"UsersFour",{enumerable:!0,get:()=>A.UsersFour});Object.defineProperty(exports,"Warning",{enumerable:!0,get:()=>I.Warning});Object.defineProperty(exports,"WarningCircle",{enumerable:!0,get:()=>X.WarningCircle});Object.defineProperty(exports,"WhatsAppLogoFilled",{enumerable:!0,get:()=>_.WhatsAppLogoFilled});Object.defineProperty(exports,"Wrench",{enumerable:!0,get:()=>v.Wrench});Object.defineProperty(exports,"X",{enumerable:!0,get:()=>K.X});Object.defineProperty(exports,"XCircle",{enumerable:!0,get:()=>R.XCircle});exports.StrokeIcon=z.StrokeIcon;exports.iconPresets=H.iconPresets;
2
2
  //# sourceMappingURL=components-icons.cjs.map
@@ -1,48 +1,48 @@
1
- import { ArrowCounterClockwise as e } from "phosphor-strokes-icons/icons/ArrowCounterClockwise";
2
- import { BoundingBox as p } from "phosphor-strokes-icons/icons/BoundingBox";
3
- import { Briefcase as m } from "phosphor-strokes-icons/icons/Briefcase";
4
- import { Building as n } from "phosphor-strokes-icons/icons/Building";
5
- import { Buildings as a } from "phosphor-strokes-icons/icons/Buildings";
6
- import { CaretDown as s } from "phosphor-strokes-icons/icons/CaretDown";
7
- import { CaretLeft as c } from "phosphor-strokes-icons/icons/CaretLeft";
8
- import { CaretRight as h } from "phosphor-strokes-icons/icons/CaretRight";
9
- import { CaretUp as k } from "phosphor-strokes-icons/icons/CaretUp";
10
- import { CaretUpDown as L } from "phosphor-strokes-icons/icons/CaretUpDown";
11
- import { ChartLine as w } from "phosphor-strokes-icons/icons/ChartLine";
12
- import { Check as F } from "phosphor-strokes-icons/icons/Check";
13
- import { CheckCircle as U } from "phosphor-strokes-icons/icons/CheckCircle";
14
- import { Clock as D } from "phosphor-strokes-icons/icons/Clock";
15
- import { CreditCard as T } from "phosphor-strokes-icons/icons/CreditCard";
16
- import { DotsThree as E } from "phosphor-strokes-icons/icons/DotsThree";
17
- import { DownloadSimple as I } from "phosphor-strokes-icons/icons/DownloadSimple";
18
- import { EnvelopeSimple as X } from "phosphor-strokes-icons/icons/EnvelopeSimple";
19
- import { Eye as K } from "phosphor-strokes-icons/icons/Eye";
20
- import { EyeSlash as b } from "phosphor-strokes-icons/icons/EyeSlash";
21
- import { FileText as q } from "phosphor-strokes-icons/icons/FileText";
22
- import { Folder as H } from "phosphor-strokes-icons/icons/Folder";
23
- import { Funnel as N } from "phosphor-strokes-icons/icons/Funnel";
24
- import { Gear as Q } from "phosphor-strokes-icons/icons/Gear";
25
- import { Info as Y } from "phosphor-strokes-icons/icons/Info";
26
- import { LockKey as _ } from "phosphor-strokes-icons/icons/LockKey";
27
- import { MagnifyingGlass as rr } from "phosphor-strokes-icons/icons/MagnifyingGlass";
28
- import { MaxLogo as er } from "phosphor-strokes-icons/icons/MaxLogo";
29
- import { Package as pr } from "phosphor-strokes-icons/icons/Package";
30
- import { Pencil as mr } from "phosphor-strokes-icons/icons/Pencil";
31
- import { Phone as nr } from "phosphor-strokes-icons/icons/Phone";
32
- import { Plus as ar } from "phosphor-strokes-icons/icons/Plus";
33
- import { PresentationChart as sr } from "phosphor-strokes-icons/icons/PresentationChart";
34
- import { SpinnerGap as cr } from "phosphor-strokes-icons/icons/SpinnerGap";
35
- import { TelegramLogo as hr } from "phosphor-strokes-icons/icons/TelegramLogo";
36
- import { Trash as kr } from "phosphor-strokes-icons/icons/Trash";
37
- import { UserCircleGear as Lr } from "phosphor-strokes-icons/icons/UserCircleGear";
38
- import { Users as wr } from "phosphor-strokes-icons/icons/Users";
39
- import { UsersFour as Fr } from "phosphor-strokes-icons/icons/UsersFour";
40
- import { Warning as Ur } from "phosphor-strokes-icons/icons/Warning";
41
- import { WarningCircle as Dr } from "phosphor-strokes-icons/icons/WarningCircle";
42
- import { WhatsAppLogoFilled as Tr } from "phosphor-strokes-icons/icons/WhatsAppLogoFilled";
43
- import { Wrench as Er } from "phosphor-strokes-icons/icons/Wrench";
44
- import { X as Ir } from "phosphor-strokes-icons/icons/X";
45
- import { XCircle as Xr } from "phosphor-strokes-icons/icons/XCircle";
1
+ import { ArrowCounterClockwise as e } from "brd-phosphor-strokes-icons/icons/ArrowCounterClockwise";
2
+ import { BoundingBox as p } from "brd-phosphor-strokes-icons/icons/BoundingBox";
3
+ import { Briefcase as m } from "brd-phosphor-strokes-icons/icons/Briefcase";
4
+ import { Building as n } from "brd-phosphor-strokes-icons/icons/Building";
5
+ import { Buildings as a } from "brd-phosphor-strokes-icons/icons/Buildings";
6
+ import { CaretDown as s } from "brd-phosphor-strokes-icons/icons/CaretDown";
7
+ import { CaretLeft as c } from "brd-phosphor-strokes-icons/icons/CaretLeft";
8
+ import { CaretRight as h } from "brd-phosphor-strokes-icons/icons/CaretRight";
9
+ import { CaretUp as k } from "brd-phosphor-strokes-icons/icons/CaretUp";
10
+ import { CaretUpDown as L } from "brd-phosphor-strokes-icons/icons/CaretUpDown";
11
+ import { ChartLine as w } from "brd-phosphor-strokes-icons/icons/ChartLine";
12
+ import { Check as F } from "brd-phosphor-strokes-icons/icons/Check";
13
+ import { CheckCircle as U } from "brd-phosphor-strokes-icons/icons/CheckCircle";
14
+ import { Clock as D } from "brd-phosphor-strokes-icons/icons/Clock";
15
+ import { CreditCard as T } from "brd-phosphor-strokes-icons/icons/CreditCard";
16
+ import { DotsThree as E } from "brd-phosphor-strokes-icons/icons/DotsThree";
17
+ import { DownloadSimple as I } from "brd-phosphor-strokes-icons/icons/DownloadSimple";
18
+ import { EnvelopeSimple as X } from "brd-phosphor-strokes-icons/icons/EnvelopeSimple";
19
+ import { Eye as K } from "brd-phosphor-strokes-icons/icons/Eye";
20
+ import { EyeSlash as b } from "brd-phosphor-strokes-icons/icons/EyeSlash";
21
+ import { FileText as q } from "brd-phosphor-strokes-icons/icons/FileText";
22
+ import { Folder as H } from "brd-phosphor-strokes-icons/icons/Folder";
23
+ import { Funnel as N } from "brd-phosphor-strokes-icons/icons/Funnel";
24
+ import { Gear as Q } from "brd-phosphor-strokes-icons/icons/Gear";
25
+ import { Info as Y } from "brd-phosphor-strokes-icons/icons/Info";
26
+ import { LockKey as _ } from "brd-phosphor-strokes-icons/icons/LockKey";
27
+ import { MagnifyingGlass as rr } from "brd-phosphor-strokes-icons/icons/MagnifyingGlass";
28
+ import { MaxLogo as er } from "brd-phosphor-strokes-icons/icons/MaxLogo";
29
+ import { Package as pr } from "brd-phosphor-strokes-icons/icons/Package";
30
+ import { Pencil as mr } from "brd-phosphor-strokes-icons/icons/Pencil";
31
+ import { Phone as nr } from "brd-phosphor-strokes-icons/icons/Phone";
32
+ import { Plus as ar } from "brd-phosphor-strokes-icons/icons/Plus";
33
+ import { PresentationChart as sr } from "brd-phosphor-strokes-icons/icons/PresentationChart";
34
+ import { SpinnerGap as cr } from "brd-phosphor-strokes-icons/icons/SpinnerGap";
35
+ import { TelegramLogo as hr } from "brd-phosphor-strokes-icons/icons/TelegramLogo";
36
+ import { Trash as kr } from "brd-phosphor-strokes-icons/icons/Trash";
37
+ import { UserCircleGear as Lr } from "brd-phosphor-strokes-icons/icons/UserCircleGear";
38
+ import { Users as wr } from "brd-phosphor-strokes-icons/icons/Users";
39
+ import { UsersFour as Fr } from "brd-phosphor-strokes-icons/icons/UsersFour";
40
+ import { Warning as Ur } from "brd-phosphor-strokes-icons/icons/Warning";
41
+ import { WarningCircle as Dr } from "brd-phosphor-strokes-icons/icons/WarningCircle";
42
+ import { WhatsAppLogoFilled as Tr } from "brd-phosphor-strokes-icons/icons/WhatsAppLogoFilled";
43
+ import { Wrench as Er } from "brd-phosphor-strokes-icons/icons/Wrench";
44
+ import { X as Ir } from "brd-phosphor-strokes-icons/icons/X";
45
+ import { XCircle as Xr } from "brd-phosphor-strokes-icons/icons/XCircle";
46
46
  import { StrokeIcon as Kr } from "./components-icons-stroke-icon.js";
47
47
  import { iconPresets as br } from "./components-ui-icon-icon-presets.js";
48
48
  export {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./brd-ui-kit.css');const r=require("react/jsx-runtime"),P=require("phosphor-strokes-icons/icons/CaretDown"),j=require("phosphor-strokes-icons/icons/CaretUp"),_=require("phosphor-strokes-icons/icons/EnvelopeSimple"),k=require("phosphor-strokes-icons/icons/MaxLogo"),S=require("phosphor-strokes-icons/icons/Phone"),i=require("./components-icons-stroke-icon.cjs"),T=require("phosphor-strokes-icons/icons/TelegramLogo"),L=require("phosphor-strokes-icons/icons/WhatsAppLogoFilled");;/* empty css */const b=require("./lib-utils.cjs");require("class-variance-authority");require("./components-ui-badge-badge.styles.cjs");const z=require("./components-ui-button-button.cjs");require("./components-ui-button-button.styles.cjs");require("./components-ui-card-card.cjs");require("./components-ui-checkbox-checkbox.cjs");const F=require("./hooks-usePopupControls.cjs");require("./calendar-DvDG9hIB.cjs");require("phosphor-strokes-icons/icons");require("./components-ui-combobox-combobox.cjs");require("./components-ui-dialog-dialog.cjs");const c=require("react");require("./components-ui-label-label.cjs");require("./components-ui-separator-separator.cjs");require("./components-ui-field-field.styles.cjs");require("./components-ui-input-input.styles.cjs");require("./components-ui-textarea-textarea.cjs");require("./components-ui-input-group-input-group.styles.cjs");require("./components-ui-navigation-item-navigation-item.styles.cjs");require("./components-ui-navigation-menu-navigation-menu.styles.cjs");require("./components-ui-pagination-pagination.cjs");require("./components-ui-progress-progress.cjs");require("./components-ui-radio-group-radio-group.cjs");require("./components-ui-switch-switch.cjs");require("./components-ui-toggle-toggle.styles.cjs");require("./components-ui-toggle-group-toggle-group.cjs");require("./components-ui-table-table.cjs");require("./components-ui-tabs-tabs.cjs");require("./components-ui-tooltip-tooltip.cjs");require("./components-ui-typography-typography.styles.cjs");require("phosphor-strokes-icons/icons/CaretLeft");require("phosphor-strokes-icons/icons/CaretRight");require("./components-app-pagination-app-pagination.styles.cjs");require("phosphor-strokes-icons/icons/CaretUpDown");require("./components-app-sidebar-app-sidebar.styles.cjs");require("./components-data-table-data-table.styles.cjs");require("./components-ui-dropdown-menu-dropdown-menu.styles.cjs");const N=require("./components-input-field-input-field.cjs");require("phosphor-strokes-icons/icons/Eye");require("phosphor-strokes-icons/icons/EyeSlash");require("./components-select-field-select-field.cjs");require("./lodash-kqhtUJfz.cjs");require("./chart-9H_9wEfR.cjs");require("phosphor-strokes-icons/icons/CheckCircle");require("phosphor-strokes-icons/icons/Info");require("phosphor-strokes-icons/icons/SpinnerGap");require("phosphor-strokes-icons/icons/Warning");require("phosphor-strokes-icons/icons/X");require("phosphor-strokes-icons/icons/XCircle");require("./index-DGxwh2Ms.cjs");require("./index-fTTv8YY8.cjs");require("phosphor-strokes-icons/icons/Plus");const D=require("./components-input-phone-input-phone.cjs");require("./components-card-info-card-info.styles.cjs");const E=[{label:"Мобильный",icon:"phone"},{label:"Telegram",icon:"telegram-logo"},{label:"WhatsApp",icon:"whats-app-logo-filled"},{label:"Max",icon:"max-logo"},{label:"E-mail",icon:"envelope-simple"}],h={phone:S.Phone,"telegram-logo":T.TelegramLogo,"whats-app-logo-filled":L.WhatsAppLogoFilled,"max-logo":k.MaxLogo,"envelope-simple":_.EnvelopeSimple},x=o=>{switch(o){case"max-logo":return{bgColor:"bg-[linear-gradient(135deg,#9933DD_0%,#2831B9_50%,#44CCFF_100%)]"};case"telegram-logo":return{bgColor:"bg-[#289AD2]"};case"whats-app-logo-filled":return{bgColor:"bg-[#00C202]",textColor:"text-primary-inverse-text"};default:return{}}},a=o=>({wrapper:b.cn(`flex h-5.5 w-5.5 shrink-0 items-center justify-center rounded-sm
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./brd-ui-kit.css');const r=require("react/jsx-runtime"),P=require("brd-phosphor-strokes-icons/icons/CaretDown"),j=require("brd-phosphor-strokes-icons/icons/CaretUp"),_=require("brd-phosphor-strokes-icons/icons/EnvelopeSimple"),k=require("brd-phosphor-strokes-icons/icons/MaxLogo"),S=require("brd-phosphor-strokes-icons/icons/Phone"),i=require("./components-icons-stroke-icon.cjs"),T=require("brd-phosphor-strokes-icons/icons/TelegramLogo"),L=require("brd-phosphor-strokes-icons/icons/WhatsAppLogoFilled");;/* empty css */const b=require("./lib-utils.cjs");require("class-variance-authority");require("./components-ui-badge-badge.styles.cjs");const z=require("./components-ui-button-button.cjs");require("./components-ui-button-button.styles.cjs");require("./components-ui-card-card.cjs");require("./components-ui-checkbox-checkbox.cjs");const F=require("./hooks-usePopupControls.cjs");require("./calendar-BClkfQSD.cjs");require("brd-phosphor-strokes-icons/icons");require("./components-ui-combobox-combobox.cjs");require("./components-ui-dialog-dialog.cjs");const c=require("react");require("./components-ui-label-label.cjs");require("./components-ui-separator-separator.cjs");require("./components-ui-field-field.styles.cjs");require("./components-ui-input-input.styles.cjs");require("./components-ui-textarea-textarea.cjs");require("./components-ui-input-group-input-group.styles.cjs");require("./components-ui-navigation-item-navigation-item.styles.cjs");require("./components-ui-navigation-menu-navigation-menu.styles.cjs");require("./components-ui-pagination-pagination.cjs");require("./components-ui-progress-progress.cjs");require("./components-ui-radio-group-radio-group.cjs");require("./components-ui-switch-switch.cjs");require("./components-ui-toggle-toggle.styles.cjs");require("./components-ui-toggle-group-toggle-group.cjs");require("./components-ui-table-table.cjs");require("./components-ui-tabs-tabs.cjs");require("./components-ui-tooltip-tooltip.cjs");require("./components-ui-typography-typography.styles.cjs");require("brd-phosphor-strokes-icons/icons/CaretLeft");require("brd-phosphor-strokes-icons/icons/CaretRight");require("./components-app-pagination-app-pagination.styles.cjs");require("brd-phosphor-strokes-icons/icons/CaretUpDown");require("./components-app-sidebar-app-sidebar.styles.cjs");require("./components-data-table-data-table.styles.cjs");require("./components-ui-dropdown-menu-dropdown-menu.styles.cjs");const N=require("./components-input-field-input-field.cjs");require("brd-phosphor-strokes-icons/icons/Eye");require("brd-phosphor-strokes-icons/icons/EyeSlash");require("./components-select-field-select-field.cjs");require("./lodash-kqhtUJfz.cjs");require("./chart-9H_9wEfR.cjs");require("brd-phosphor-strokes-icons/icons/CheckCircle");require("brd-phosphor-strokes-icons/icons/Info");require("brd-phosphor-strokes-icons/icons/SpinnerGap");require("brd-phosphor-strokes-icons/icons/Warning");require("brd-phosphor-strokes-icons/icons/X");require("brd-phosphor-strokes-icons/icons/XCircle");require("./index-DGxwh2Ms.cjs");require("./index-fTTv8YY8.cjs");require("brd-phosphor-strokes-icons/icons/Plus");const D=require("./components-input-phone-input-phone.cjs");require("./components-card-info-card-info.styles.cjs");const E=[{label:"Мобильный",icon:"phone"},{label:"Telegram",icon:"telegram-logo"},{label:"WhatsApp",icon:"whats-app-logo-filled"},{label:"Max",icon:"max-logo"},{label:"E-mail",icon:"envelope-simple"}],h={phone:S.Phone,"telegram-logo":T.TelegramLogo,"whats-app-logo-filled":L.WhatsAppLogoFilled,"max-logo":k.MaxLogo,"envelope-simple":_.EnvelopeSimple},x=o=>{switch(o){case"max-logo":return{bgColor:"bg-[linear-gradient(135deg,#9933DD_0%,#2831B9_50%,#44CCFF_100%)]"};case"telegram-logo":return{bgColor:"bg-[#289AD2]"};case"whats-app-logo-filled":return{bgColor:"bg-[#00C202]",textColor:"text-primary-inverse-text"};default:return{}}},a=o=>({wrapper:b.cn(`flex h-5.5 w-5.5 shrink-0 items-center justify-center rounded-sm
2
2
  ${x(o).bgColor??"bg-primary-inverse-hover-bg"}
3
3
  ${x(o).textColor??"text-primary-inverse-text"}`),icon:"size-5 shrink-0"}),O=o=>{const{inputProps:C,inputPhoneProps:f,onTypeChange:v,...p}=o,[n,I]=c.useState("phone"),{isOpened:s,openPopup:q,closePopup:u}=F.usePopupControls(),l=c.useRef(null);c.useEffect(()=>{const e=t=>{l.current&&!l.current.contains(t.target)&&u()};return s&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[s,u]);const m=e=>{switch(e){case"phone":return"+7 (999) 999-99-99";case"telegram-logo":return"@username";case"whats-app-logo-filled":return"+7 (999) 999-99-99";case"max-logo":return"ID пользователя Max";case"envelope-simple":return"example@mail.com";default:return"Введите значение"}},w=e=>()=>{I(e),v?.(e),u()},d=h[n],g=s?j.CaretUp:P.CaretDown;return r.jsxs("div",{className:b.cn("relative",o.classes?.container),children:[["telegram-logo","max-logo","envelope-simple"].includes(n)?r.jsx(N.InputField,{...C,...p,date:[{id:"0",position:"inline-start",component:r.jsx(i.StrokeIcon,{icon:d,size:"medium",classes:a(n)})},{id:"1",position:"inline-end",component:r.jsx(i.StrokeIcon,{icon:g,size:"medium",className:"cursor-pointer",onClick:q})}],placeholder:m(n)}):r.jsx(D.InputPhone,{...f,...p,date:[{id:"0",position:"inline-start",component:r.jsx(i.StrokeIcon,{icon:d,size:"medium",classes:a(n)})},{id:"1",position:"inline-end",component:r.jsx(i.StrokeIcon,{icon:g,size:"medium",className:"cursor-pointer",onClick:q})}],placeholder:m(n)}),s&&r.jsx("div",{className:`border-inp-hover-border bg-primary-bg absolute z-100 my-2 flex w-full
4
4
  flex-col rounded-xl border`,ref:l,children:E.map(({label:e,icon:t})=>{const y=h[t];return r.jsxs(z.Button,{variant:"ghost",className:"flex w-full justify-start",type:"button",onClick:w(t),children:[r.jsx(i.StrokeIcon,{icon:y,size:"medium",className:"text-primary-inverse-text",classes:a(t)}),e]},e)})})]})};exports.InputContact=O;
@@ -1 +1 @@
1
- {"version":3,"file":"components-input-contact-input-contact.cjs","sources":["../src/constants/contact-input.ts","../src/components/input-contact/input-contact.tsx"],"sourcesContent":["import type { TOption } from \"@/components/input-contact/input-contact\";\n\nexport const OPTIONS: TOption[] = [\n {\n label: \"Мобильный\",\n icon: \"phone\",\n },\n {\n label: \"Telegram\",\n icon: \"telegram-logo\",\n },\n {\n label: \"WhatsApp\",\n icon: \"whats-app-logo-filled\",\n },\n {\n label: \"Max\",\n icon: \"max-logo\",\n },\n {\n label: \"E-mail\",\n icon: \"envelope-simple\",\n },\n];\n","import { OPTIONS } from \"@/constants/contact-input\";\nimport { CaretDown } from \"@/components/icons/CaretDown\";\nimport { CaretUp } from \"@/components/icons/CaretUp\";\nimport { EnvelopeSimple } from \"@/components/icons/EnvelopeSimple\";\nimport { MaxLogo } from \"@/components/icons/MaxLogo\";\nimport { Phone } from \"@/components/icons/Phone\";\nimport { StrokeIcon, type StrokeIconComponent } from \"@/components/icons/stroke-icon\";\nimport { TelegramLogo } from \"@/components/icons/TelegramLogo\";\nimport { WhatsAppLogoFilled } from \"@/components/icons/WhatsAppLogoFilled\";\nimport {\n Button,\n InputField,\n InputPhone,\n cn,\n usePopupControls,\n type InputPhoneProps,\n} from \"@/index\";\nimport { useEffect, useRef, useState } from \"react\";\n\nexport type TOption = {\n label: string;\n icon: TypesChange;\n};\n\ntype TypesChange =\n | \"phone\"\n | \"telegram-logo\"\n | \"whats-app-logo-filled\"\n | \"max-logo\"\n | \"envelope-simple\";\n\nconst contactIcons: Record<TypesChange, StrokeIconComponent> = {\n phone: Phone,\n \"telegram-logo\": TelegramLogo,\n \"whats-app-logo-filled\": WhatsAppLogoFilled,\n \"max-logo\": MaxLogo,\n \"envelope-simple\": EnvelopeSimple,\n};\n\ntype Props = {\n isValid?: boolean;\n label?: string;\n description?: string;\n classes?: {\n fieldset?: string;\n fieldgroup?: string;\n field?: string;\n container?: string;\n };\n value?: string;\n name?: string;\n onTypeChange?: (type: TypesChange) => void;\n inputProps: React.ComponentPropsWithRef<\"input\">;\n inputPhoneProps: InputPhoneProps;\n};\n\n// TODO: заменить цвета\nconst iconStyles = (icon: TypesChange) => {\n switch (icon) {\n case \"max-logo\":\n return {\n bgColor: \"bg-[linear-gradient(135deg,#9933DD_0%,#2831B9_50%,#44CCFF_100%)]\",\n };\n\n case \"telegram-logo\":\n return {\n bgColor: \"bg-[#289AD2]\",\n };\n\n case \"whats-app-logo-filled\":\n return {\n bgColor: \"bg-[#00C202]\",\n textColor: \"text-primary-inverse-text\",\n };\n\n default:\n return {};\n }\n};\n\nconst getContactIconClasses = (icon: TypesChange) => ({\n wrapper: cn(\n `flex h-5.5 w-5.5 shrink-0 items-center justify-center rounded-sm\n ${iconStyles(icon).bgColor ?? \"bg-primary-inverse-hover-bg\"}\n ${iconStyles(icon).textColor ?? \"text-primary-inverse-text\"}`,\n ),\n icon: \"size-5 shrink-0\",\n});\n\nexport const InputContact = (props: Props) => {\n const { inputProps, inputPhoneProps, onTypeChange, ...rest } = props;\n\n const [type, setType] = useState<TypesChange>(\"phone\");\n const { isOpened, openPopup, closePopup } = usePopupControls();\n const wrapperRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (wrapperRef.current && !wrapperRef.current.contains(event.target as Node)) {\n closePopup();\n }\n };\n\n if (isOpened) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [isOpened, closePopup]);\n\n const getPlaceholder = (type: TypesChange): string => {\n switch (type) {\n case \"phone\":\n return \"+7 (999) 999-99-99\";\n case \"telegram-logo\":\n return \"@username\";\n case \"whats-app-logo-filled\":\n return \"+7 (999) 999-99-99\";\n case \"max-logo\":\n return \"ID пользователя Max\";\n case \"envelope-simple\":\n return \"example@mail.com\";\n default:\n return \"Введите значение\";\n }\n };\n\n const handleTypeChange = (type: TypesChange) => {\n return () => {\n setType(type);\n onTypeChange?.(type);\n closePopup();\n };\n };\n\n const SelectedIcon = contactIcons[type];\n const ToggleIcon = isOpened ? CaretUp : CaretDown;\n\n return (\n <div className={cn(\"relative\", props.classes?.container)}>\n {[\"telegram-logo\", \"max-logo\", \"envelope-simple\"].includes(type) ? (\n <InputField\n {...inputProps}\n {...rest}\n date={[\n {\n id: \"0\",\n position: \"inline-start\",\n component: (\n <StrokeIcon\n icon={SelectedIcon}\n size=\"medium\"\n classes={getContactIconClasses(type)}\n />\n ),\n },\n {\n id: \"1\",\n position: \"inline-end\",\n component: (\n <StrokeIcon\n icon={ToggleIcon}\n size=\"medium\"\n className=\"cursor-pointer\"\n onClick={openPopup}\n />\n ),\n },\n ]}\n placeholder={getPlaceholder(type)}\n />\n ) : (\n <InputPhone\n {...inputPhoneProps}\n {...rest}\n date={[\n {\n id: \"0\",\n position: \"inline-start\",\n component: (\n <StrokeIcon\n icon={SelectedIcon}\n size=\"medium\"\n classes={getContactIconClasses(type)}\n />\n ),\n },\n {\n id: \"1\",\n position: \"inline-end\",\n component: (\n <StrokeIcon\n icon={ToggleIcon}\n size=\"medium\"\n className=\"cursor-pointer\"\n onClick={openPopup}\n />\n ),\n },\n ]}\n placeholder={getPlaceholder(type)}\n />\n )}\n\n {isOpened && (\n <div\n className=\"border-inp-hover-border bg-primary-bg absolute z-100 my-2 flex w-full\n flex-col rounded-xl border\"\n ref={wrapperRef}\n >\n {OPTIONS.map(({ label, icon }) => {\n const OptionIcon = contactIcons[icon];\n\n return (\n <Button\n key={label}\n variant=\"ghost\"\n className=\"flex w-full justify-start\"\n type=\"button\"\n onClick={handleTypeChange(icon)}\n >\n <StrokeIcon\n icon={OptionIcon}\n size=\"medium\"\n className=\"text-primary-inverse-text\"\n classes={getContactIconClasses(icon)}\n />\n\n {label}\n </Button>\n );\n })}\n </div>\n )}\n </div>\n );\n};\n\nexport type { Props as InputContactProps, TypesChange };\n"],"names":["OPTIONS","contactIcons","Phone","TelegramLogo","WhatsAppLogoFilled","MaxLogo","EnvelopeSimple","iconStyles","icon","getContactIconClasses","cn","InputContact","props","inputProps","inputPhoneProps","onTypeChange","rest","type","setType","useState","isOpened","openPopup","closePopup","usePopupControls","wrapperRef","useRef","useEffect","handleClickOutside","event","getPlaceholder","handleTypeChange","SelectedIcon","ToggleIcon","CaretUp","CaretDown","jsxs","jsx","InputField","StrokeIcon","InputPhone","label","OptionIcon","Button"],"mappings":"2rGAEO,MAAMA,EAAqB,CAChC,CACE,MAAO,YACP,KAAM,OAAA,EAER,CACE,MAAO,WACP,KAAM,eAAA,EAER,CACE,MAAO,WACP,KAAM,uBAAA,EAER,CACE,MAAO,MACP,KAAM,UAAA,EAER,CACE,MAAO,SACP,KAAM,iBAAA,CAEV,ECQMC,EAAyD,CAC7D,MAAOC,EAAAA,MACP,gBAAiBC,EAAAA,aACjB,wBAAyBC,EAAAA,mBACzB,WAAYC,EAAAA,QACZ,kBAAmBC,EAAAA,cACrB,EAoBMC,EAAcC,GAAsB,CACxC,OAAQA,EAAA,CACN,IAAK,WACH,MAAO,CACL,QAAS,kEAAA,EAGb,IAAK,gBACH,MAAO,CACL,QAAS,cAAA,EAGb,IAAK,wBACH,MAAO,CACL,QAAS,eACT,UAAW,2BAAA,EAGf,QACE,MAAO,CAAA,CAAC,CAEd,EAEMC,EAAyBD,IAAuB,CACpD,QAASE,EAAAA,GACP;AAAA,MACEH,EAAWC,CAAI,EAAE,SAAW,6BAA6B;AAAA,MACzDD,EAAWC,CAAI,EAAE,WAAa,2BAA2B,EAAA,EAE7D,KAAM,iBACR,GAEaG,EAAgBC,GAAiB,CAC5C,KAAM,CAAE,WAAAC,EAAY,gBAAAC,EAAiB,aAAAC,EAAc,GAAGC,GAASJ,EAEzD,CAACK,EAAMC,CAAO,EAAIC,EAAAA,SAAsB,OAAO,EAC/C,CAAE,SAAAC,EAAU,UAAAC,EA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B,EAAAA,IAACG,EAAAA,WAAA,CACE,GAAGzB,EACH,GAAGE,EACJ,KAAM,CACJ,CACE,GAAI,IACJ,SAAU,eACV,UACEoB,EAAAA,IAACE,EAAAA,WAAA,CACC,KAAMP,EACN,KAAK,SACL,QAAStB,EAAsBQ,CAAI,CAAA,CAAA,CACrC,EAGJ,CACE,GAAI,IACJ,SAAU,aACV,UACEmB,EAAAA,IAACE,EAAAA,WAAA,CACC,KAAMN,EACN,KAAK,SACL,UAAU,iBACV,QAASX,CAAA,CAAA,CACX,CAEJ,EAEF,YAAaQ,EAAeZ,CAAI,CAAA,CAAA,EAInCG,GACCgB,EAAAA,IAAC,MAAA,CACC,UAAU;AAAA,wCAEV,IAAKZ,EAEJ,WAAQ,IAAI,CAAC,CAAE,MAAAgB,EAAO,KAAAhC,KAAW,CAChC,MAAMiC,EAAaxC,EAAaO,CAAI,EAEpC,OACE2B,EAAAA,KAACO,EAAAA,OAAA,CAEC,QAAQ,QACR,UAAU,4BACV,KAAK,SACL,QAASZ,EAAiBtB,CAAI,EAE9B,SAAA,CAAA4B,EAAAA,IAACE,EAAAA,WAAA,CACC,KAAMG,EACN,KAAK,SACL,UAAU,4BACV,QAAShC,EAAsBD,CAAI,CAAA,CAAA,EAGpCgC,CAAA,CAAA,EAbIA,CAAA,CAgBX,CAAC,CAAA,CAAA,CACH,EAEJ,CAEJ"}
1
+ {"version":3,"file":"components-input-contact-input-contact.cjs","sources":["../src/constants/contact-input.ts","../src/components/input-contact/input-contact.tsx"],"sourcesContent":["import type { TOption } from \"@/components/input-contact/input-contact\";\n\nexport const OPTIONS: TOption[] = [\n {\n label: \"Мобильный\",\n icon: \"phone\",\n },\n {\n label: \"Telegram\",\n icon: \"telegram-logo\",\n },\n {\n label: \"WhatsApp\",\n icon: \"whats-app-logo-filled\",\n },\n {\n label: \"Max\",\n icon: \"max-logo\",\n },\n {\n label: \"E-mail\",\n icon: \"envelope-simple\",\n },\n];\n","import { OPTIONS } from \"@/constants/contact-input\";\nimport { CaretDown } from \"@/components/icons/CaretDown\";\nimport { CaretUp } from \"@/components/icons/CaretUp\";\nimport { EnvelopeSimple } from \"@/components/icons/EnvelopeSimple\";\nimport { MaxLogo } from \"@/components/icons/MaxLogo\";\nimport { Phone } from \"@/components/icons/Phone\";\nimport { StrokeIcon, type StrokeIconComponent } from \"@/components/icons/stroke-icon\";\nimport { TelegramLogo } from \"@/components/icons/TelegramLogo\";\nimport { WhatsAppLogoFilled } from \"@/components/icons/WhatsAppLogoFilled\";\nimport {\n Button,\n InputField,\n InputPhone,\n cn,\n usePopupControls,\n type InputPhoneProps,\n} from \"@/index\";\nimport { useEffect, useRef, useState } from \"react\";\n\nexport type TOption = {\n label: string;\n icon: TypesChange;\n};\n\ntype TypesChange =\n | \"phone\"\n | \"telegram-logo\"\n | \"whats-app-logo-filled\"\n | \"max-logo\"\n | \"envelope-simple\";\n\nconst contactIcons: Record<TypesChange, StrokeIconComponent> = {\n phone: Phone,\n \"telegram-logo\": TelegramLogo,\n \"whats-app-logo-filled\": WhatsAppLogoFilled,\n \"max-logo\": MaxLogo,\n \"envelope-simple\": EnvelopeSimple,\n};\n\ntype Props = {\n isValid?: boolean;\n label?: string;\n description?: string;\n classes?: {\n fieldset?: string;\n fieldgroup?: string;\n field?: string;\n container?: string;\n };\n value?: string;\n name?: string;\n onTypeChange?: (type: TypesChange) => void;\n inputProps: React.ComponentPropsWithRef<\"input\">;\n inputPhoneProps: InputPhoneProps;\n};\n\n// TODO: заменить цвета\nconst iconStyles = (icon: TypesChange) => {\n switch (icon) {\n case \"max-logo\":\n return {\n bgColor: \"bg-[linear-gradient(135deg,#9933DD_0%,#2831B9_50%,#44CCFF_100%)]\",\n };\n\n case \"telegram-logo\":\n return {\n bgColor: \"bg-[#289AD2]\",\n };\n\n case \"whats-app-logo-filled\":\n return {\n bgColor: \"bg-[#00C202]\",\n textColor: \"text-primary-inverse-text\",\n };\n\n default:\n return {};\n }\n};\n\nconst getContactIconClasses = (icon: TypesChange) => ({\n wrapper: cn(\n `flex h-5.5 w-5.5 shrink-0 items-center justify-center rounded-sm\n ${iconStyles(icon).bgColor ?? \"bg-primary-inverse-hover-bg\"}\n ${iconStyles(icon).textColor ?? \"text-primary-inverse-text\"}`,\n ),\n icon: \"size-5 shrink-0\",\n});\n\nexport const InputContact = (props: Props) => {\n const { inputProps, inputPhoneProps, onTypeChange, ...rest } = props;\n\n const [type, setType] = useState<TypesChange>(\"phone\");\n const { isOpened, openPopup, closePopup } = usePopupControls();\n const wrapperRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (wrapperRef.current && !wrapperRef.current.contains(event.target as Node)) {\n closePopup();\n }\n };\n\n if (isOpened) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [isOpened, closePopup]);\n\n const getPlaceholder = (type: TypesChange): string => {\n switch (type) {\n case \"phone\":\n return \"+7 (999) 999-99-99\";\n case \"telegram-logo\":\n return \"@username\";\n case \"whats-app-logo-filled\":\n return \"+7 (999) 999-99-99\";\n case \"max-logo\":\n return \"ID пользователя Max\";\n case \"envelope-simple\":\n return \"example@mail.com\";\n default:\n return \"Введите значение\";\n }\n };\n\n const handleTypeChange = (type: TypesChange) => {\n return () => {\n setType(type);\n onTypeChange?.(type);\n closePopup();\n };\n };\n\n const SelectedIcon = contactIcons[type];\n const ToggleIcon = isOpened ? CaretUp : CaretDown;\n\n return (\n <div className={cn(\"relative\", props.classes?.container)}>\n {[\"telegram-logo\", \"max-logo\", \"envelope-simple\"].includes(type) ? (\n <InputField\n {...inputProps}\n {...rest}\n date={[\n {\n id: \"0\",\n position: \"inline-start\",\n component: (\n <StrokeIcon\n icon={SelectedIcon}\n size=\"medium\"\n classes={getContactIconClasses(type)}\n />\n ),\n },\n {\n id: \"1\",\n position: \"inline-end\",\n component: (\n <StrokeIcon\n icon={ToggleIcon}\n size=\"medium\"\n className=\"cursor-pointer\"\n onClick={openPopup}\n />\n ),\n },\n ]}\n placeholder={getPlaceholder(type)}\n />\n ) : (\n <InputPhone\n {...inputPhoneProps}\n {...rest}\n date={[\n {\n id: \"0\",\n position: \"inline-start\",\n component: (\n <StrokeIcon\n icon={SelectedIcon}\n size=\"medium\"\n classes={getContactIconClasses(type)}\n />\n ),\n },\n {\n id: \"1\",\n position: \"inline-end\",\n component: (\n <StrokeIcon\n icon={ToggleIcon}\n size=\"medium\"\n className=\"cursor-pointer\"\n onClick={openPopup}\n />\n ),\n },\n ]}\n placeholder={getPlaceholder(type)}\n />\n )}\n\n {isOpened && (\n <div\n className=\"border-inp-hover-border bg-primary-bg absolute z-100 my-2 flex w-full\n flex-col rounded-xl border\"\n ref={wrapperRef}\n >\n {OPTIONS.map(({ label, icon }) => {\n const OptionIcon = contactIcons[icon];\n\n return (\n <Button\n key={label}\n variant=\"ghost\"\n className=\"flex w-full justify-start\"\n type=\"button\"\n onClick={handleTypeChange(icon)}\n >\n <StrokeIcon\n icon={OptionIcon}\n size=\"medium\"\n className=\"text-primary-inverse-text\"\n classes={getContactIconClasses(icon)}\n />\n\n {label}\n </Button>\n );\n })}\n </div>\n )}\n </div>\n );\n};\n\nexport type { Props as InputContactProps, TypesChange };\n"],"names":["OPTIONS","contactIcons","Phone","TelegramLogo","WhatsAppLogoFilled","MaxLogo","EnvelopeSimple","iconStyles","icon","getContactIconClasses","cn","InputContact","props","inputProps","inputPhoneProps","onTypeChange","rest","type","setType","useState","isOpened","openPopup","closePopup","usePopupControls","wrapperRef","useRef","useEffect","handleClickOutside","event","getPlaceholder","handleTypeChange","SelectedIcon","ToggleIcon","CaretUp","CaretDown","jsxs","jsx","InputField","StrokeIcon","InputPhone","label","OptionIcon","Button"],"mappings":"2wGAEO,MAAMA,EAAqB,CAChC,CACE,MAAO,YACP,KAAM,OAAA,EAER,CACE,MAAO,WACP,KAAM,eAAA,EAER,CACE,MAAO,WACP,KAAM,uBAAA,EAER,CACE,MAAO,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MAAAgB,EAAO,KAAAhC,KAAW,CAChC,MAAMiC,EAAaxC,EAAaO,CAAI,EAEpC,OACE2B,EAAAA,KAACO,EAAAA,OAAA,CAEC,QAAQ,QACR,UAAU,4BACV,KAAK,SACL,QAASZ,EAAiBtB,CAAI,EAE9B,SAAA,CAAA4B,EAAAA,IAACE,EAAAA,WAAA,CACC,KAAMG,EACN,KAAK,SACL,UAAU,4BACV,QAAShC,EAAsBD,CAAI,CAAA,CAAA,EAGpCgC,CAAA,CAAA,EAbIA,CAAA,CAgBX,CAAC,CAAA,CAAA,CACH,EAEJ,CAEJ"}
@@ -1,12 +1,12 @@
1
1
  import { jsxs as f, jsx as e } from "react/jsx-runtime";
2
- import { CaretDown as k } from "phosphor-strokes-icons/icons/CaretDown";
3
- import { CaretUp as z } from "phosphor-strokes-icons/icons/CaretUp";
4
- import { EnvelopeSimple as N } from "phosphor-strokes-icons/icons/EnvelopeSimple";
5
- import { MaxLogo as T } from "phosphor-strokes-icons/icons/MaxLogo";
6
- import { Phone as S } from "phosphor-strokes-icons/icons/Phone";
2
+ import { CaretDown as k } from "brd-phosphor-strokes-icons/icons/CaretDown";
3
+ import { CaretUp as z } from "brd-phosphor-strokes-icons/icons/CaretUp";
4
+ import { EnvelopeSimple as N } from "brd-phosphor-strokes-icons/icons/EnvelopeSimple";
5
+ import { MaxLogo as T } from "brd-phosphor-strokes-icons/icons/MaxLogo";
6
+ import { Phone as S } from "brd-phosphor-strokes-icons/icons/Phone";
7
7
  import { StrokeIcon as n } from "./components-icons-stroke-icon.js";
8
- import { TelegramLogo as D } from "phosphor-strokes-icons/icons/TelegramLogo";
9
- import { WhatsAppLogoFilled as E } from "phosphor-strokes-icons/icons/WhatsAppLogoFilled";
8
+ import { TelegramLogo as D } from "brd-phosphor-strokes-icons/icons/TelegramLogo";
9
+ import { WhatsAppLogoFilled as E } from "brd-phosphor-strokes-icons/icons/WhatsAppLogoFilled";
10
10
  import './brd-ui-kit.css';/* empty css */
11
11
  import { cn as C } from "./lib-utils.js";
12
12
  import "class-variance-authority";
@@ -16,8 +16,8 @@ import "./components-ui-button-button.styles.js";
16
16
  import "./components-ui-card-card.js";
17
17
  import "./components-ui-checkbox-checkbox.js";
18
18
  import { usePopupControls as O } from "./hooks-usePopupControls.js";
19
- import "./calendar-Cf3VkgyX.js";
20
- import "phosphor-strokes-icons/icons";
19
+ import "./calendar-B78l3uF9.js";
20
+ import "brd-phosphor-strokes-icons/icons";
21
21
  import "./components-ui-combobox-combobox.js";
22
22
  import "./components-ui-dialog-dialog.js";
23
23
  import { useState as j, useRef as F, useEffect as A } from "react";
@@ -39,28 +39,28 @@ import "./components-ui-table-table.js";
39
39
  import "./components-ui-tabs-tabs.js";
40
40
  import "./components-ui-tooltip-tooltip.js";
41
41
  import "./components-ui-typography-typography.styles.js";
42
- import "phosphor-strokes-icons/icons/CaretLeft";
43
- import "phosphor-strokes-icons/icons/CaretRight";
42
+ import "brd-phosphor-strokes-icons/icons/CaretLeft";
43
+ import "brd-phosphor-strokes-icons/icons/CaretRight";
44
44
  import "./components-app-pagination-app-pagination.styles.js";
45
- import "phosphor-strokes-icons/icons/CaretUpDown";
45
+ import "brd-phosphor-strokes-icons/icons/CaretUpDown";
46
46
  import "./components-app-sidebar-app-sidebar.styles.js";
47
47
  import "./components-data-table-data-table.styles.js";
48
48
  import "./components-ui-dropdown-menu-dropdown-menu.styles.js";
49
49
  import { InputField as M } from "./components-input-field-input-field.js";
50
- import "phosphor-strokes-icons/icons/Eye";
51
- import "phosphor-strokes-icons/icons/EyeSlash";
50
+ import "brd-phosphor-strokes-icons/icons/Eye";
51
+ import "brd-phosphor-strokes-icons/icons/EyeSlash";
52
52
  import "./components-select-field-select-field.js";
53
53
  import "./lodash-FemA_LCk.js";
54
54
  import "./chart-DFbmMKiQ.js";
55
- import "phosphor-strokes-icons/icons/CheckCircle";
56
- import "phosphor-strokes-icons/icons/Info";
57
- import "phosphor-strokes-icons/icons/SpinnerGap";
58
- import "phosphor-strokes-icons/icons/Warning";
59
- import "phosphor-strokes-icons/icons/X";
60
- import "phosphor-strokes-icons/icons/XCircle";
55
+ import "brd-phosphor-strokes-icons/icons/CheckCircle";
56
+ import "brd-phosphor-strokes-icons/icons/Info";
57
+ import "brd-phosphor-strokes-icons/icons/SpinnerGap";
58
+ import "brd-phosphor-strokes-icons/icons/Warning";
59
+ import "brd-phosphor-strokes-icons/icons/X";
60
+ import "brd-phosphor-strokes-icons/icons/XCircle";
61
61
  import "./index-C4iHL8Gs.js";
62
62
  import "./index-C6N9aMq_.js";
63
- import "phosphor-strokes-icons/icons/Plus";
63
+ import "brd-phosphor-strokes-icons/icons/Plus";
64
64
  import { InputPhone as _ } from "./components-input-phone-input-phone.js";
65
65
  import "./components-card-info-card-info.styles.js";
66
66
  const B = [
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),t=require("phosphor-strokes-icons/icons/Eye"),r=require("phosphor-strokes-icons/icons/EyeSlash"),i=require("./components-icons-stroke-icon.cjs"),u=require("./components-input-field-input-field.cjs"),c=require("./hooks-usePopupControls.cjs"),p=({...n})=>{const{isOpened:e,togglePopup:s}=c.usePopupControls();return o.jsx(u.InputField,{...n,type:e?"text":"password",date:[{id:"0",position:"inline-end",component:o.jsx(i.StrokeIcon,{icon:e?r.EyeSlash:t.Eye,onClick:s,className:"cursor-pointer"})}]})};exports.InputPassword=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),t=require("brd-phosphor-strokes-icons/icons/Eye"),r=require("brd-phosphor-strokes-icons/icons/EyeSlash"),i=require("./components-icons-stroke-icon.cjs"),u=require("./components-input-field-input-field.cjs"),c=require("./hooks-usePopupControls.cjs"),p=({...n})=>{const{isOpened:e,togglePopup:s}=c.usePopupControls();return o.jsx(u.InputField,{...n,type:e?"text":"password",date:[{id:"0",position:"inline-end",component:o.jsx(i.StrokeIcon,{icon:e?r.EyeSlash:t.Eye,onClick:s,className:"cursor-pointer"})}]})};exports.InputPassword=p;
2
2
  //# sourceMappingURL=components-input-password-input-password.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"components-input-password-input-password.cjs","sources":["../src/components/input-password/input-password.tsx"],"sourcesContent":["import { Eye } from \"@/components/icons/Eye\";\nimport { EyeSlash } from \"@/components/icons/EyeSlash\";\nimport { StrokeIcon } from \"@/components/icons/stroke-icon\";\nimport { InputField } from \"@/components/input-field\";\nimport { usePopupControls } from \"@/hooks/usePopupControls\";\nimport type { InputProps } from \"@/components/input-field\";\n\ntype InputPasswordProps = InputProps;\n\nexport const InputPassword: React.FC<InputPasswordProps> = ({ ...rest }) => {\n const { isOpened, togglePopup } = usePopupControls();\n\n return (\n <InputField\n {...rest}\n type={isOpened ? \"text\" : \"password\"}\n date={[\n {\n id: \"0\",\n position: \"inline-end\",\n component: (\n <StrokeIcon\n icon={isOpened ? EyeSlash : Eye}\n onClick={togglePopup}\n className=\"cursor-pointer\"\n />\n ),\n },\n ]}\n />\n );\n};\n\nexport type { InputPasswordProps };\n"],"names":["InputPassword","rest","isOpened","togglePopup","usePopupControls","jsx","InputField","StrokeIcon","EyeSlash","Eye"],"mappings":"sWASaA,EAA8C,CAAC,CAAE,GAAGC,KAAW,CAC1E,KAAM,CAAE,SAAAC,EAAU,YAAAC,CAAA,EAAgBC,mBAAA,EAElC,OACEC,EAAAA,IAACC,EAAAA,WAAA,CACE,GAAGL,EACJ,KAAMC,EAAW,OAAS,WAC1B,KAAM,CACJ,CACE,GAAI,IACJ,SAAU,aACV,UACEG,EAAAA,IAACE,EAAAA,WAAA,CACC,KAAML,EAAWM,EAAAA,SAAWC,EAAAA,IAC5B,QAASN,EACT,UAAU,gBAAA,CAAA,CACZ,CAEJ,CACF,CAAA,CAGN"}
1
+ {"version":3,"file":"components-input-password-input-password.cjs","sources":["../src/components/input-password/input-password.tsx"],"sourcesContent":["import { Eye } from \"@/components/icons/Eye\";\nimport { EyeSlash } from \"@/components/icons/EyeSlash\";\nimport { StrokeIcon } from \"@/components/icons/stroke-icon\";\nimport { InputField } from \"@/components/input-field\";\nimport { usePopupControls } from \"@/hooks/usePopupControls\";\nimport type { InputProps } from \"@/components/input-field\";\n\ntype InputPasswordProps = InputProps;\n\nexport const InputPassword: React.FC<InputPasswordProps> = ({ ...rest }) => {\n const { isOpened, togglePopup } = usePopupControls();\n\n return (\n <InputField\n {...rest}\n type={isOpened ? \"text\" : \"password\"}\n date={[\n {\n id: \"0\",\n position: \"inline-end\",\n component: (\n <StrokeIcon\n icon={isOpened ? EyeSlash : Eye}\n onClick={togglePopup}\n className=\"cursor-pointer\"\n />\n ),\n },\n ]}\n />\n );\n};\n\nexport type { InputPasswordProps };\n"],"names":["InputPassword","rest","isOpened","togglePopup","usePopupControls","jsx","InputField","StrokeIcon","EyeSlash","Eye"],"mappings":"8WASaA,EAA8C,CAAC,CAAE,GAAGC,KAAW,CAC1E,KAAM,CAAE,SAAAC,EAAU,YAAAC,CAAA,EAAgBC,mBAAA,EAElC,OACEC,EAAAA,IAACC,EAAAA,WAAA,CACE,GAAGL,EACJ,KAAMC,EAAW,OAAS,WAC1B,KAAM,CACJ,CACE,GAAI,IACJ,SAAU,aACV,UACEG,EAAAA,IAACE,EAAAA,WAAA,CACC,KAAML,EAAWM,EAAAA,SAAWC,EAAAA,IAC5B,QAASN,EACT,UAAU,gBAAA,CAAA,CACZ,CAEJ,CACF,CAAA,CAGN"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { Eye as e } from "phosphor-strokes-icons/icons/Eye";
3
- import { EyeSlash as n } from "phosphor-strokes-icons/icons/EyeSlash";
2
+ import { Eye as e } from "brd-phosphor-strokes-icons/icons/Eye";
3
+ import { EyeSlash as n } from "brd-phosphor-strokes-icons/icons/EyeSlash";
4
4
  import { StrokeIcon as i } from "./components-icons-stroke-icon.js";
5
5
  import { InputField as s } from "./components-input-field-input-field.js";
6
6
  import { usePopupControls as m } from "./hooks-usePopupControls.js";
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./brd-ui-kit.css');const e=require("react/jsx-runtime");;/* empty css */require("./lib-utils.cjs");const p=require("./components-ui-badge-badge.cjs");require("./components-ui-badge-badge.styles.cjs");require("./components-ui-button-button.cjs");require("./components-ui-button-button.styles.cjs");require("./components-ui-card-card.cjs");require("./components-ui-checkbox-checkbox.cjs");require("phosphor-strokes-icons/icons/CaretDown");const Q=require("react");require("./calendar-DvDG9hIB.cjs");require("phosphor-strokes-icons/icons");require("./components-ui-combobox-combobox.cjs");require("./components-ui-dialog-dialog.cjs");require("class-variance-authority");require("./components-ui-label-label.cjs");require("./components-ui-separator-separator.cjs");require("./components-ui-field-field.styles.cjs");require("./components-ui-input-input.styles.cjs");require("./components-ui-textarea-textarea.cjs");require("./components-ui-input-group-input-group.styles.cjs");require("./components-ui-navigation-item-navigation-item.styles.cjs");require("./components-ui-navigation-menu-navigation-menu.styles.cjs");require("./components-ui-pagination-pagination.cjs");require("./components-ui-progress-progress.cjs");require("./components-ui-radio-group-radio-group.cjs");require("./components-ui-switch-switch.cjs");require("./components-ui-toggle-toggle.styles.cjs");require("./components-ui-toggle-group-toggle-group.cjs");require("./components-ui-table-table.cjs");require("./components-ui-tabs-tabs.cjs");require("./components-ui-tooltip-tooltip.cjs");const t=require("./components-ui-typography-typography.cjs");require("./components-ui-typography-typography.styles.cjs");const l=require("./utils-helpers.cjs");require("phosphor-strokes-icons/icons/CaretLeft");require("phosphor-strokes-icons/icons/CaretRight");require("./components-app-pagination-app-pagination.styles.cjs");require("phosphor-strokes-icons/icons/CaretUpDown");require("./components-app-sidebar-app-sidebar.styles.cjs");require("./components-data-table-data-table.styles.cjs");require("./components-ui-dropdown-menu-dropdown-menu.styles.cjs");require("phosphor-strokes-icons/icons/Eye");require("phosphor-strokes-icons/icons/EyeSlash");require("./components-select-field-select-field.cjs");require("./lodash-kqhtUJfz.cjs");require("./chart-9H_9wEfR.cjs");const A=require("./components-basic-avatar-basic-avatar.cjs");require("phosphor-strokes-icons/icons/CheckCircle");require("phosphor-strokes-icons/icons/Info");require("phosphor-strokes-icons/icons/SpinnerGap");require("phosphor-strokes-icons/icons/Warning");require("phosphor-strokes-icons/icons/X");require("phosphor-strokes-icons/icons/XCircle");require("./index-DGxwh2Ms.cjs");const m=require("./components-basic-drawer-basic-drawer.cjs");require("phosphor-strokes-icons/icons/Plus");require("phosphor-strokes-icons/icons/CaretUp");require("phosphor-strokes-icons/icons/EnvelopeSimple");require("phosphor-strokes-icons/icons/MaxLogo");require("phosphor-strokes-icons/icons/Phone");require("phosphor-strokes-icons/icons/TelegramLogo");require("phosphor-strokes-icons/icons/WhatsAppLogoFilled");require("./components-input-phone-input-phone.cjs");require("./components-card-info-card-info.styles.cjs");const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAADKCAYAAACxBDz2AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAMJxJREFUeAHtfQl4VGW65l9VWSGQDQhLIGETJUiAgAKyqg86t4UWeZhp7wja9nW3W5+2nZZ2upt27m1c7tO3W0FHsZFHkWlHW3tU1HFsCCA2CAEMyCJIAgTCFkggbKks874n5w+HIkulcmo93/s8J1V1cqrq1Dn/+3/r/31KCQSBIW7btm13bN26tQJbSXFx8T0FBQXxSmAL3EogCADdunVLrq2tfcrlcqVh6+f1en+5f//+JCWwBXFKIAgAHo+n3u12V4GUDXjpwusz5nOBDRCJKQgIR48ePZeRkfFQQ0PDKmwrU1JSHjp+/PhZJRAIwg5XVlZW5+HDh3dWMskLBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCOyESwkEUYhYTaNyffXVVxmrVq3KUZIqJohCxOSgzc3NTayurn6krq5uzqBBg2SNoCDqELPLvhoaGjwgZkNtba2os4KoQ0wSs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WctEUG82Emrq5mWSXj/XN4JJ5ezTQol7GP8ncSmJD4Cg+7GVgqS7Bw4ceBao7dKlS+3evXtrVBRJ2WgjpmvatGmdli9fPg434we4UROxbxCJh5vs0c1VVWNLN0pMo1udECu2QCKzpZ9FOhuk1pvZG9MLiXwe42IntrUwSd6eOnVqCaRprYoCRBUxWfZh06ZNf+7WrdvtXFlOIvLmCPEEzYG+ABNUd0+fOXNmZvfu3deoKFBzo06VZRv0jRs3zsKM+QPYi7lwDAzA7Mh25MqUkmHtaiwIHSzmhtHS3pSU9WZtHqq71XhNVfdLjJePx48fvyYEPUNtQVTamHT0wGaIh0MnbteuXXTqXA2SpkNyDleNHY2b62psGDS4Qb42pstiVzaRWUNIHVz4Oq5MZ1CDpYu07iBtSDm6gzEJG15cOPh4zAnamHQcKdPOxP9L2VW6oKDgqO4kHakt3VtCrHhl3WyK+u2333pOnz7tsXY1RtjDtWXLlkzTI8vf24/OIXY4xs0zuhjj5pLIHBE6ZNEZNzqR4wOkdplOIV+vqdW76taODKrVLXhrrW3ZrQOyxfil6QgJ2j2yOFZaQ73P+erzv2KQ+3pjfSa1estxdfpzQBoex+t33Dyf06YzR4dtGI6hZ9bwyMKfQOdOGUmJCboCZqTxWewgzfBKp06d6vPy8uqiiYTNwUlxzKa25Oy+jBvqYhyTZMXgMMjB2FxmZqaLMUp2PobDwAWbNg3HeXDTDRLzeNoumIn76WQBvM4xP9+IVQI6BGMMPgwqkj1Nv1aNB/H7OCmk+3LPQgS+JzVI5OQ41y3TWzqAD5VmuKIJplTb38zncZW/ZmMlfp/xPsYzcb32M47JuCSlGw/GdT87YcIEI5YJk8QgbkVFhZHgQEmnu0frOCb/HwuhEH/w/wHcQZTBPodXdQAAAABJRU5ErkJggg==",o=({data:a,open:q,closePopup:c})=>{const i=Q.useMemo(()=>a.length===0?[]:a.reduce((s,r)=>{const u=s.find(g=>g.date===r.date);return u?(u.histories.push(r),s):(s.push({date:r.date,histories:[r]}),s)},[]),[a]);return e.jsx(m.BasicDrawer,{open:q,onOpenChange:c,drawer:{direction:"right"},content:{className:"bg-primary-bg border-none rounded-0! p-0!"},header:{className:"py-4 px-6 border-b border-[#E5E5E5]"},title:{content:e.jsx(t.Typography,{variant:"body-lg-medium",className:"text-primary-text text-center",children:"История"}),props:{className:"p-0!"}},children:i.length!==0?i.map(s=>e.jsxs("div",{children:[e.jsx("div",{className:"bg-info-new-bg p-2",children:e.jsx(t.Typography,{className:"text-tertiary-text text-center",variant:"body-sm-medium",children:l.formatStoryDate(s.date)})}),e.jsx("div",{children:s.histories.map(r=>e.jsxs("div",{className:"bg-secondary-bg flex justify-between p-4 py-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsxs("div",{className:"w-fit text-center",children:[e.jsx(A.BasicAvatar,{initials:{text:r.userName,className:"text-primary-text"},showDeleteOnHover:!1}),e.jsx(t.Typography,{variant:"body-xxs-medium",className:"text-secondary-text",children:r.dateShort})]}),e.jsxs("div",{className:"flex w-full max-w-50 flex-col gap-2.5",children:[e.jsx(t.Typography,{variant:"body-md-medium",className:"text-primary-text",children:r.title}),e.jsx(t.Typography,{variant:"body-sm-regular",className:"text-primary-text",children:r.message})]})]}),e.jsx(p.Badge,{variant:r.tag,classNames:{className:"h-fit"},children:r.tagLabel})]},r.id))})]},s.date)):e.jsxs("div",{className:`flex h-full flex-col items-center justify-center gap-4 px-4
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./brd-ui-kit.css');const e=require("react/jsx-runtime");;/* empty css */require("./lib-utils.cjs");const p=require("./components-ui-badge-badge.cjs");require("./components-ui-badge-badge.styles.cjs");require("./components-ui-button-button.cjs");require("./components-ui-button-button.styles.cjs");require("./components-ui-card-card.cjs");require("./components-ui-checkbox-checkbox.cjs");require("brd-phosphor-strokes-icons/icons/CaretDown");const Q=require("react");require("./calendar-BClkfQSD.cjs");require("brd-phosphor-strokes-icons/icons");require("./components-ui-combobox-combobox.cjs");require("./components-ui-dialog-dialog.cjs");require("class-variance-authority");require("./components-ui-label-label.cjs");require("./components-ui-separator-separator.cjs");require("./components-ui-field-field.styles.cjs");require("./components-ui-input-input.styles.cjs");require("./components-ui-textarea-textarea.cjs");require("./components-ui-input-group-input-group.styles.cjs");require("./components-ui-navigation-item-navigation-item.styles.cjs");require("./components-ui-navigation-menu-navigation-menu.styles.cjs");require("./components-ui-pagination-pagination.cjs");require("./components-ui-progress-progress.cjs");require("./components-ui-radio-group-radio-group.cjs");require("./components-ui-switch-switch.cjs");require("./components-ui-toggle-toggle.styles.cjs");require("./components-ui-toggle-group-toggle-group.cjs");require("./components-ui-table-table.cjs");require("./components-ui-tabs-tabs.cjs");require("./components-ui-tooltip-tooltip.cjs");const t=require("./components-ui-typography-typography.cjs");require("./components-ui-typography-typography.styles.cjs");const l=require("./utils-helpers.cjs");require("brd-phosphor-strokes-icons/icons/CaretLeft");require("brd-phosphor-strokes-icons/icons/CaretRight");require("./components-app-pagination-app-pagination.styles.cjs");require("brd-phosphor-strokes-icons/icons/CaretUpDown");require("./components-app-sidebar-app-sidebar.styles.cjs");require("./components-data-table-data-table.styles.cjs");require("./components-ui-dropdown-menu-dropdown-menu.styles.cjs");require("brd-phosphor-strokes-icons/icons/Eye");require("brd-phosphor-strokes-icons/icons/EyeSlash");require("./components-select-field-select-field.cjs");require("./lodash-kqhtUJfz.cjs");require("./chart-9H_9wEfR.cjs");const A=require("./components-basic-avatar-basic-avatar.cjs");require("brd-phosphor-strokes-icons/icons/CheckCircle");require("brd-phosphor-strokes-icons/icons/Info");require("brd-phosphor-strokes-icons/icons/SpinnerGap");require("brd-phosphor-strokes-icons/icons/Warning");require("brd-phosphor-strokes-icons/icons/X");require("brd-phosphor-strokes-icons/icons/XCircle");require("./index-DGxwh2Ms.cjs");const m=require("./components-basic-drawer-basic-drawer.cjs");require("brd-phosphor-strokes-icons/icons/Plus");require("brd-phosphor-strokes-icons/icons/CaretUp");require("brd-phosphor-strokes-icons/icons/EnvelopeSimple");require("brd-phosphor-strokes-icons/icons/MaxLogo");require("brd-phosphor-strokes-icons/icons/Phone");require("brd-phosphor-strokes-icons/icons/TelegramLogo");require("brd-phosphor-strokes-icons/icons/WhatsAppLogoFilled");require("./components-input-phone-input-phone.cjs");require("./components-card-info-card-info.styles.cjs");const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAADKCAYAAACxBDz2AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAMJxJREFUeAHtfQl4VGW65l9VWSGQDQhLIGETJUiAgAKyqg86t4UWeZhp7wja9nW3W5+2nZZ2upt27m1c7tO3W0FHsZFHkWlHW3tU1HFsCCA2CAEMyCJIAgTCFkggbKks874n5w+HIkulcmo93/s8J1V1cqrq1Dn/+3/r/31KCQSBIW7btm13bN26tQJbSXFx8T0FBQXxSmAL3EogCADdunVLrq2tfcrlcqVh6+f1en+5f//+JCWwBXFKIAgAHo+n3u12V4GUDXjpwusz5nOBDRCJKQgIR48ePZeRkfFQQ0PDKmwrU1JSHjp+/PhZJRAIwg5XVlZW5+HDh3dWMskLBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCOyESwkEUYhYTaNyffXVVxmrVq3KUZIqJohCxOSgzc3NTayurn6krq5uzqBBg2SNoCDqELPLvhoaGjwgZkNtba2os4KoQ0wSs1OnTvUul6vO7XaruLg4WSNoP1xTpkzxHDt2zF1TU9M08WVnZ9cVFhbW42mDuQkCRKwQ09WrV69kj8djrKCvr693YYuH1HRhS+3Xr5+X+y5cuOA9ceJEtZJB024MHTo0oaKiIr5Lly6e1157bTAmveFerzcN1zWV/zcnwAO//vWv9+Ox8ic/+cm+ixcv1gwZMqQGZK1Tcs3bhZhQ82BTJr300kvPQEo+CCLGcSV9QkKCYVticHjxmrZ0HQbRxw888MC95eXl55TAH7izsrKS33333T4wC/4JRLwN13coSNkF//OoxvHTNIZwnevxf2MDqvF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dLjJePx48fvyYEPUNtQVTamHT0wGaIh0MnbteuXXTqXA2SpkNyDleNHY2b62psGDS4Qb42pstiVzaRWUNIHVz4Oq5MZ1CDpYu07iBtSDm6gzEJG15cOPh4zAnamHQcKdPOxP9L2VW6oKDgqO4kHakt3VtCrHhl3WyK+u2333pOnz7tsXY1RtjDtWXLlkzTI8vf24/OIXY4xs0zuhjj5pLIHBE6ZNEZNzqR4wOkdplOIV+vqdW76taODKrVLXhrrW3ZrQOyxfil6QgJ2j2yOFZaQ73P+erzv2KQ+3pjfSa1estxdfpzQBoex+t33Dyf06YzR4dtGI6hZ9bwyMKfQOdOGUmJCboCZqTxWewgzfBKp06d6vPy8uqiiYTNwUlxzKa25Oy+jBvqYhyTZMXgMMjB2FxmZqaLMUp2PobDwAWbNg3HeXDTDRLzeNoumIn76WQBvM4xP9+IVQI6BGMMPgwqkj1Nv1aNB/H7OCmk+3LPQgS+JzVI5OQ41y3TWzqAD5VmuKIJplTb38zncZW/ZmMlfp/xPsYzcb32M47JuCSlGw/GdT87YcIEI5YJk8QgbkVFhZHgQEmnu0frOCb/HwuhEH/w/wHcQZTBPodXdQAAAABJRU5ErkJggg==",o=({data:a,open:q,closePopup:c})=>{const i=Q.useMemo(()=>a.length===0?[]:a.reduce((s,r)=>{const u=s.find(g=>g.date===r.date);return u?(u.histories.push(r),s):(s.push({date:r.date,histories:[r]}),s)},[]),[a]);return e.jsx(m.BasicDrawer,{open:q,onOpenChange:c,drawer:{direction:"right"},content:{className:"bg-primary-bg border-none rounded-0! p-0!"},header:{className:"py-4 px-6 border-b border-[#E5E5E5]"},title:{content:e.jsx(t.Typography,{variant:"body-lg-medium",className:"text-primary-text text-center",children:"История"}),props:{className:"p-0!"}},children:i.length!==0?i.map(s=>e.jsxs("div",{children:[e.jsx("div",{className:"bg-info-new-bg p-2",children:e.jsx(t.Typography,{className:"text-tertiary-text text-center",variant:"body-sm-medium",children:l.formatStoryDate(s.date)})}),e.jsx("div",{children:s.histories.map(r=>e.jsxs("div",{className:"bg-secondary-bg flex justify-between p-4 py-3",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsxs("div",{className:"w-fit text-center",children:[e.jsx(A.BasicAvatar,{initials:{text:r.userName,className:"text-primary-text"},showDeleteOnHover:!1}),e.jsx(t.Typography,{variant:"body-xxs-medium",className:"text-secondary-text",children:r.dateShort})]}),e.jsxs("div",{className:"flex w-full max-w-50 flex-col gap-2.5",children:[e.jsx(t.Typography,{variant:"body-md-medium",className:"text-primary-text",children:r.title}),e.jsx(t.Typography,{variant:"body-sm-regular",className:"text-primary-text",children:r.message})]})]}),e.jsx(p.Badge,{variant:r.tag,classNames:{className:"h-fit"},children:r.tagLabel})]},r.id))})]},s.date)):e.jsxs("div",{className:`flex h-full flex-col items-center justify-center gap-4 px-4
2
2
  text-center`,children:[e.jsx(t.Typography,{variant:"h-xs-medium",className:"text-primary-text",children:"История"}),e.jsx(t.Typography,{variant:"body-sm-regular",className:"text-secondary-text",children:"В истории пока пусто. Изменения статуса, готовности и других нюансов о заявке и проекте будет отображаться именно здесь."}),e.jsx("img",{src:n,alt:"not-found"})]})})};exports.StoryDrawer=o;
3
3
  //# sourceMappingURL=components-story-drawer-story-drawer.cjs.map