bromcom-ui 2.9.0-rc.11 → 2.9.0-rc.13

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 (261) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/{p-0ce0079c.entry.js → p-055a6833.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-76595c93.js → p-06d549b0.js} +1 -1
  5. package/dist/bromcom-ui/{p-6e577849.entry.js → p-0829f2b8.entry.js} +1 -1
  6. package/dist/bromcom-ui/p-08c75801.js +5 -0
  7. package/dist/bromcom-ui/p-113960b6.entry.js +5 -0
  8. package/dist/bromcom-ui/{p-3bd27fdd.js → p-1456cfcb.js} +1 -1
  9. package/dist/bromcom-ui/{p-37084b52.entry.js → p-1f03b8aa.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-eaaf03db.js → p-1f9ff376.js} +1 -1
  11. package/dist/bromcom-ui/{p-5fbb57f6.entry.js → p-2e1e73a2.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-0a7f3cd6.entry.js → p-34ee0df2.entry.js} +1 -1
  13. package/dist/bromcom-ui/p-3bd899cc.entry.js +5 -0
  14. package/dist/bromcom-ui/{p-941b7517.entry.js → p-3e7facaa.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-e1689f47.js → p-43a16ce4.js} +1 -1
  16. package/dist/bromcom-ui/{p-8eb5ed81.entry.js → p-43ef6b1c.entry.js} +1 -1
  17. package/dist/bromcom-ui/p-49f37d54.js +5 -0
  18. package/dist/bromcom-ui/{p-104a32ce.entry.js → p-4d34a30c.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-5dc1d0fc.entry.js → p-4d6407a3.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-a4e3b170.entry.js → p-578c6af9.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-6cff5185.entry.js → p-58012cb7.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-0976ff0f.entry.js → p-6430d123.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-b4caa7af.entry.js → p-6802f81b.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-1701ff2a.entry.js → p-6937c867.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-4707aa4d.entry.js → p-695a9db8.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-2d4a0a66.entry.js → p-6e592196.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-8b6dbd63.entry.js → p-70126b4c.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-63337aa3.entry.js → p-7508498f.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-4c21b17f.js → p-7665baa1.js} +1 -1
  30. package/dist/bromcom-ui/{p-0ff006e8.entry.js → p-79c91f16.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-e59b1f37.entry.js → p-7a54258a.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-132d4301.entry.js → p-7c511f8d.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-d896a91f.entry.js → p-7ee5abfd.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-56317397.entry.js → p-80785946.entry.js} +1 -1
  35. package/dist/bromcom-ui/p-83571dfd.js +5 -0
  36. package/dist/bromcom-ui/{p-bdec3fa0.entry.js → p-83f55410.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-c8a64f05.entry.js → p-8b8400e5.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-cff8ef93.js → p-91246af3.js} +1 -1
  39. package/dist/bromcom-ui/p-92726393.entry.js +5 -0
  40. package/dist/bromcom-ui/p-92fa8670.entry.js +5 -0
  41. package/dist/bromcom-ui/p-97d84d54.entry.js +5 -0
  42. package/dist/bromcom-ui/p-98ff534a.entry.js +5 -0
  43. package/dist/bromcom-ui/{p-cb522ae0.js → p-9bfb2dcc.js} +1 -1
  44. package/dist/bromcom-ui/{p-ce3b1f49.entry.js → p-a14e70a5.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-cea71a01.entry.js → p-a2ab6adb.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-62eb13d4.entry.js → p-a9654609.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-19c7cea5.entry.js → p-aacfa5bb.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-c8d647c1.entry.js → p-ae0bd7c0.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-12304c2d.entry.js → p-b0583ca8.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-74798533.entry.js → p-b0fb9ee3.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-bdf80844.entry.js → p-b9945590.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-324bf5e5.entry.js → p-bb624967.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-82671aa3.entry.js → p-bc8e5ac3.entry.js} +1 -1
  54. package/dist/bromcom-ui/p-cd8880a4.entry.js +5 -0
  55. package/dist/bromcom-ui/{p-0b0ff7ee.entry.js → p-d06ebea4.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-cbb2de64.entry.js → p-d09aa96b.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-9519a9e4.entry.js → p-d1f32bbd.entry.js} +1 -1
  58. package/dist/bromcom-ui/p-d3d07c8c.js +5 -0
  59. package/dist/bromcom-ui/{p-d2670b77.entry.js → p-d9f92297.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-94f43ce3.entry.js → p-da7a34c6.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-068d918e.entry.js → p-dd714afe.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-49bb8e10.js → p-e2f92d0b.js} +1 -1
  63. package/dist/bromcom-ui/{p-5101acb3.js → p-e59b12e2.js} +1 -1
  64. package/dist/bromcom-ui/p-e6938871.js +5 -0
  65. package/dist/bromcom-ui/{p-1b96dbbf.entry.js → p-ebe49b26.entry.js} +1 -1
  66. package/dist/bromcom-ui/{p-78f57233.entry.js → p-ed46db87.entry.js} +1 -1
  67. package/dist/bromcom-ui/{p-2c21b28a.entry.js → p-eebbf79a.entry.js} +1 -1
  68. package/dist/bromcom-ui/{p-f0061666.entry.js → p-eec6999c.entry.js} +1 -1
  69. package/dist/bromcom-ui/p-f6a4bf6e.entry.js +5 -0
  70. package/dist/bromcom-ui/{p-9bf657da.entry.js → p-f84247f5.entry.js} +1 -1
  71. package/dist/bromcom-ui/{p-3db7cc9b.entry.js → p-f93356af.entry.js} +1 -1
  72. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  73. package/dist/cjs/bcm-alert.cjs.entry.js +3 -3
  74. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  75. package/dist/cjs/bcm-avatar_2.cjs.entry.js +17 -2580
  76. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  77. package/dist/cjs/bcm-button-group.cjs.entry.js +3 -3
  78. package/dist/cjs/{bcm-button_8.cjs.entry.js → bcm-button_9.cjs.entry.js} +338 -137
  79. package/dist/cjs/bcm-card.cjs.entry.js +4 -4
  80. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +5 -5
  81. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
  82. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +4 -4
  83. package/dist/cjs/bcm-chip-group.cjs.entry.js +7 -7
  84. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  85. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  86. package/dist/cjs/bcm-color-input.cjs.entry.js +5 -5
  87. package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -4
  88. package/dist/cjs/bcm-date.cjs.entry.js +7 -7
  89. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +10 -8
  90. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  91. package/dist/cjs/bcm-drawer.cjs.entry.js +5 -5
  92. package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
  93. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +3 -3
  94. package/dist/cjs/bcm-form-2.cjs.entry.js +3 -3
  95. package/dist/cjs/bcm-form.cjs.entry.js +1 -1
  96. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  97. package/dist/cjs/bcm-item.cjs.entry.js +2 -2
  98. package/dist/cjs/bcm-items.cjs.entry.js +3 -3
  99. package/dist/cjs/bcm-list_3.cjs.entry.js +11 -11
  100. package/dist/cjs/bcm-menu.cjs.entry.js +6 -6
  101. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +5 -5
  102. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +5 -5
  103. package/dist/cjs/bcm-modal-2.cjs.entry.js +5 -5
  104. package/dist/cjs/bcm-modal.cjs.entry.js +4 -4
  105. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +4 -4
  106. package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
  107. package/dist/cjs/bcm-popover.cjs.entry.js +5 -5
  108. package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
  109. package/dist/cjs/bcm-radio-group.cjs.entry.js +5 -5
  110. package/dist/cjs/bcm-radio.cjs.entry.js +5 -5
  111. package/dist/cjs/bcm-range.cjs.entry.js +2 -2
  112. package/dist/cjs/bcm-select.cjs.entry.js +1 -1
  113. package/dist/cjs/bcm-skeleton.cjs.entry.js +2 -2
  114. package/dist/cjs/bcm-step.cjs.entry.js +3 -3
  115. package/dist/cjs/bcm-stepper.cjs.entry.js +6 -6
  116. package/dist/cjs/bcm-switch.cjs.entry.js +2 -2
  117. package/dist/cjs/bcm-tab-group.cjs.entry.js +5 -5
  118. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +5 -5
  119. package/dist/cjs/bcm-tab-item.cjs.entry.js +5 -5
  120. package/dist/cjs/bcm-table.cjs.entry.js +5 -5
  121. package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
  122. package/dist/cjs/bcm-text.cjs.entry.js +2 -2
  123. package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -4
  124. package/dist/cjs/bcm-toast.cjs.entry.js +27 -13
  125. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  126. package/dist/cjs/{generate-84a14c1a.js → generate-d1447176.js} +1 -1
  127. package/dist/cjs/{global-5e41fa4e.js → global-cb2f8825.js} +1 -1
  128. package/dist/cjs/index-5279dea2.js +2571 -0
  129. package/dist/cjs/{input-template-b5038151.js → input-template-096e89a6.js} +1 -1
  130. package/dist/cjs/{json-parse-decarator-c18e611d.js → json-parse-decarator-5b03f2c1.js} +1 -1
  131. package/dist/cjs/{label-template-8d34230f.js → label-template-15c3c0ed.js} +1 -1
  132. package/dist/cjs/loader.cjs.js +3 -3
  133. package/dist/cjs/{number-helper-59448c42.js → number-helper-963bdfd3.js} +1 -1
  134. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +5 -5
  135. package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
  136. package/dist/cjs/{package-fe10d578.js → package-8e8fd90e.js} +1 -1
  137. package/dist/cjs/{popover-placement-86ece590.js → popover-placement-8866eab1.js} +1 -1
  138. package/dist/cjs/{slot-template-758beb71.js → slot-template-de6a91b1.js} +1 -1
  139. package/dist/cjs/{stepper-states-deb53239.js → stepper-states-35ea924b.js} +1 -1
  140. package/dist/cjs/{string-helper-b89a9828.js → string-helper-9b392049.js} +2 -2
  141. package/dist/cjs/{tooltip-helper-5b2ee66d.js → tooltip-helper-e51cfadd.js} +4 -4
  142. package/dist/cjs/{validators-d89fdce5.js → validators-b3ac8a39.js} +1 -1
  143. package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +9 -2
  144. package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +200 -149
  145. package/dist/collection/components/molecules/input-dropdown/input-dropdown.style.js +73 -0
  146. package/dist/collection/components/organism/date-picker/date-picker.css +1 -1
  147. package/dist/collection/components/organism/date-picker/date-picker.js +20 -1
  148. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +13 -1
  149. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +21 -1
  150. package/dist/collection/components/organism/list/list.css +1 -1
  151. package/dist/collection/components/organism/time-picker/time-picker.css +1 -1
  152. package/dist/collection/components/organism/time-picker/time-picker.js +20 -1
  153. package/dist/collection/components/other/toast/toast.js +25 -11
  154. package/dist/collection/helper/string-helper.js +2 -2
  155. package/dist/components/avatar.js +2 -1
  156. package/dist/components/badge.js +2 -2565
  157. package/dist/components/bcm-date-picker.js +4 -2
  158. package/dist/components/bcm-input-dropdown.js +214 -149
  159. package/dist/components/bcm-textarea.js +1 -214
  160. package/dist/components/bcm-time-picker.js +4 -2
  161. package/dist/components/bcm-toast.js +24 -10
  162. package/dist/components/datetime-picker.js +5 -2
  163. package/dist/components/generate.js +1 -1
  164. package/dist/components/index.d.ts +1 -1
  165. package/dist/components/index5.js +2569 -0
  166. package/dist/components/list.js +1 -1
  167. package/dist/components/string-helper.js +2 -2
  168. package/dist/{esm/bcm-textarea.entry.js → components/textarea.js} +80 -19
  169. package/dist/esm/bcm-accordion.entry.js +2 -2
  170. package/dist/esm/bcm-alert.entry.js +3 -3
  171. package/dist/esm/bcm-attendance.entry.js +2 -2
  172. package/dist/esm/bcm-avatar_2.entry.js +6 -2569
  173. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  174. package/dist/esm/bcm-button-group.entry.js +3 -3
  175. package/dist/esm/{bcm-button_8.entry.js → bcm-button_9.entry.js} +339 -139
  176. package/dist/esm/bcm-card.entry.js +4 -4
  177. package/dist/esm/bcm-checkbox-group.entry.js +5 -5
  178. package/dist/esm/bcm-checkbox-lite_9.entry.js +2 -2
  179. package/dist/esm/bcm-checkbox_2.entry.js +4 -4
  180. package/dist/esm/bcm-chip-group.entry.js +7 -7
  181. package/dist/esm/bcm-chip.entry.js +2 -2
  182. package/dist/esm/bcm-collapse.entry.js +2 -2
  183. package/dist/esm/bcm-color-input.entry.js +5 -5
  184. package/dist/esm/bcm-date-picker.entry.js +5 -4
  185. package/dist/esm/bcm-date.entry.js +7 -7
  186. package/dist/esm/bcm-datetime-picker.entry.js +10 -8
  187. package/dist/esm/bcm-default.entry.js +2 -2
  188. package/dist/esm/bcm-drawer.entry.js +5 -5
  189. package/dist/esm/bcm-dropdown.entry.js +3 -3
  190. package/dist/esm/bcm-expansion-panel.entry.js +3 -3
  191. package/dist/esm/bcm-form-2.entry.js +3 -3
  192. package/dist/esm/bcm-form.entry.js +1 -1
  193. package/dist/esm/bcm-input-custom.entry.js +2 -2
  194. package/dist/esm/bcm-item.entry.js +2 -2
  195. package/dist/esm/bcm-items.entry.js +3 -3
  196. package/dist/esm/bcm-list_3.entry.js +11 -11
  197. package/dist/esm/bcm-menu.entry.js +6 -6
  198. package/dist/esm/bcm-modal-2-footer.entry.js +5 -5
  199. package/dist/esm/bcm-modal-2-header.entry.js +5 -5
  200. package/dist/esm/bcm-modal-2.entry.js +5 -5
  201. package/dist/esm/bcm-modal.entry.js +4 -4
  202. package/dist/esm/bcm-popconfirm-box.entry.js +4 -4
  203. package/dist/esm/bcm-popconfirm.entry.js +2 -2
  204. package/dist/esm/bcm-popover.entry.js +5 -5
  205. package/dist/esm/bcm-progress.entry.js +2 -2
  206. package/dist/esm/bcm-radio-group.entry.js +5 -5
  207. package/dist/esm/bcm-radio.entry.js +5 -5
  208. package/dist/esm/bcm-range.entry.js +2 -2
  209. package/dist/esm/bcm-select.entry.js +1 -1
  210. package/dist/esm/bcm-skeleton.entry.js +2 -2
  211. package/dist/esm/bcm-step.entry.js +3 -3
  212. package/dist/esm/bcm-stepper.entry.js +6 -6
  213. package/dist/esm/bcm-switch.entry.js +2 -2
  214. package/dist/esm/bcm-tab-group.entry.js +5 -5
  215. package/dist/esm/bcm-tab-item-header.entry.js +5 -5
  216. package/dist/esm/bcm-tab-item.entry.js +5 -5
  217. package/dist/esm/bcm-table.entry.js +5 -5
  218. package/dist/esm/bcm-tag.entry.js +3 -3
  219. package/dist/esm/bcm-text.entry.js +2 -2
  220. package/dist/esm/bcm-time-picker.entry.js +5 -4
  221. package/dist/esm/bcm-toast.entry.js +27 -13
  222. package/dist/esm/bromcom-ui.js +3 -3
  223. package/dist/esm/{generate-77bbe272.js → generate-8591a0f0.js} +1 -1
  224. package/dist/esm/{global-1b5f8bb5.js → global-e7818ee3.js} +1 -1
  225. package/dist/esm/index-3bc8c6e3.js +2569 -0
  226. package/dist/esm/{input-template-bf10f00a.js → input-template-6519906b.js} +1 -1
  227. package/dist/esm/{json-parse-decarator-7a13e271.js → json-parse-decarator-58846417.js} +1 -1
  228. package/dist/esm/{label-template-f156f33f.js → label-template-62e49c38.js} +1 -1
  229. package/dist/esm/loader.js +3 -3
  230. package/dist/esm/{number-helper-787aa192.js → number-helper-6ef9165b.js} +1 -1
  231. package/dist/esm/old-bcm-popover-box.entry.js +5 -5
  232. package/dist/esm/old-bcm-popover.entry.js +2 -2
  233. package/dist/esm/{package-42b4a30f.js → package-569c91f0.js} +1 -1
  234. package/dist/esm/{popover-placement-018109c4.js → popover-placement-7cce412f.js} +1 -1
  235. package/dist/esm/{slot-template-46035685.js → slot-template-7447145d.js} +1 -1
  236. package/dist/esm/{stepper-states-9f10dd4d.js → stepper-states-14adccae.js} +1 -1
  237. package/dist/esm/{string-helper-4a28f775.js → string-helper-5ef67a66.js} +2 -2
  238. package/dist/esm/{tooltip-helper-a6101f5d.js → tooltip-helper-3c146a26.js} +4 -4
  239. package/dist/esm/{validators-0ba6d217.js → validators-358cf956.js} +1 -1
  240. package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +25 -17
  241. package/dist/types/components/molecules/input-dropdown/input-dropdown.style.d.ts +307 -0
  242. package/dist/types/components/organism/date-picker/date-picker.d.ts +1 -0
  243. package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +1 -0
  244. package/dist/types/components/organism/time-picker/time-picker.d.ts +1 -0
  245. package/dist/types/components/other/toast/toast.d.ts +1 -0
  246. package/dist/types/components.d.ts +19 -7
  247. package/package.json +1 -1
  248. package/dist/bromcom-ui/p-042efd5e.entry.js +0 -5
  249. package/dist/bromcom-ui/p-2608b100.entry.js +0 -5
  250. package/dist/bromcom-ui/p-2a9053d8.js +0 -5
  251. package/dist/bromcom-ui/p-2ba8bfb9.js +0 -5
  252. package/dist/bromcom-ui/p-45ca98b5.entry.js +0 -5
  253. package/dist/bromcom-ui/p-4ae97c02.entry.js +0 -5
  254. package/dist/bromcom-ui/p-5600c817.js +0 -5
  255. package/dist/bromcom-ui/p-57a08b2c.entry.js +0 -5
  256. package/dist/bromcom-ui/p-7014cade.entry.js +0 -5
  257. package/dist/bromcom-ui/p-8403e81f.entry.js +0 -5
  258. package/dist/bromcom-ui/p-bebbec89.entry.js +0 -5
  259. package/dist/bromcom-ui/p-edfa7c7b.entry.js +0 -5
  260. package/dist/bromcom-ui/p-f8a91bd5.js +0 -5
  261. package/dist/cjs/bcm-textarea.cjs.entry.js +0 -163
@@ -34,6 +34,7 @@ export class BcmDatePicker {
34
34
  this.placeholder = undefined;
35
35
  this.disabledDates = '';
36
36
  this.disabled = false;
37
+ this.noMargin = false;
37
38
  this.noCaption = false;
38
39
  this.caption = '';
39
40
  this.captionError = undefined;
@@ -154,7 +155,7 @@ export class BcmDatePicker {
154
155
  'full-width': this.fullWidth,
155
156
  'linked-component': this.linkedComponent,
156
157
  });
157
- return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, name: this.name, type: this.range ? 'range' : 'date', date: this.date, placeholder: this.placeholder, fullWidth: this.fullWidth, ref: el => (this.picker = el), required: this.required, clearable: this.clearable, label: this.label, "end-date": this.endDate, disabled: this.disabled, disabledDates: this.disabledDates, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, caption: this.caption, captionError: this.captionError, captionType: this.captionType, alignment: this.alignment, placement: this.placement })));
158
+ return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, name: this.name, type: this.range ? 'range' : 'date', date: this.date, placeholder: this.placeholder, fullWidth: this.fullWidth, ref: el => (this.picker = el), required: this.required, clearable: this.clearable, label: this.label, "end-date": this.endDate, disabled: this.disabled, disabledDates: this.disabledDates, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, caption: this.caption, captionError: this.captionError, captionType: this.captionType, alignment: this.alignment, placement: this.placement, noMargin: this.noMargin })));
158
159
  }
159
160
  static get is() { return "bcm-date-picker"; }
160
161
  static get encapsulation() { return "shadow"; }
@@ -408,6 +409,24 @@ export class BcmDatePicker {
408
409
  "reflect": false,
409
410
  "defaultValue": "false"
410
411
  },
412
+ "noMargin": {
413
+ "type": "boolean",
414
+ "mutable": true,
415
+ "complexType": {
416
+ "original": "boolean",
417
+ "resolved": "boolean",
418
+ "references": {}
419
+ },
420
+ "required": false,
421
+ "optional": false,
422
+ "docs": {
423
+ "tags": [],
424
+ "text": ""
425
+ },
426
+ "attribute": "no-margin",
427
+ "reflect": false,
428
+ "defaultValue": "false"
429
+ },
411
430
  "noCaption": {
412
431
  "type": "boolean",
413
432
  "mutable": true,
@@ -281,7 +281,8 @@
281
281
  }
282
282
 
283
283
  :host {
284
- display: inline-block;
284
+ display: inline-flex;
285
+ flex-direction: column;
285
286
  position: relative;
286
287
  width: 100%;
287
288
  max-width: 256px;
@@ -293,6 +294,10 @@
293
294
  max-width: 100%;
294
295
  }
295
296
 
297
+ :host(.no-margin) {
298
+ margin: 0;
299
+ }
300
+
296
301
  :host(.hidden) {
297
302
  display: none;
298
303
  }
@@ -676,4 +681,11 @@
676
681
  border-right: 0;
677
682
  pointer-events: none;
678
683
  box-sizing: border-box;
684
+ }
685
+
686
+ .picker-input-container {
687
+ display: flex;
688
+ flex-direction: column;
689
+ align-items: flex-start;
690
+ justify-content: stretch;
679
691
  }
@@ -50,6 +50,7 @@ export class BcmDatetimePicker {
50
50
  this.minYear = 1900;
51
51
  this.maxYear = 2200;
52
52
  this.noCaption = false;
53
+ this.noMargin = false;
53
54
  this.captionError = undefined;
54
55
  this.caption = '';
55
56
  this.captionType = 'default';
@@ -1363,6 +1364,7 @@ export class BcmDatetimePicker {
1363
1364
  const hostClasses = cs(this.hidden ? 'hidden' : null, {
1364
1365
  'full-width': this.fullWidth,
1365
1366
  'linked-component': this.linkedComponent,
1367
+ 'no-margin': this.noMargin,
1366
1368
  });
1367
1369
  const toggleClasses = cs('toggle', {
1368
1370
  disabled: this.disabled
@@ -1371,7 +1373,7 @@ export class BcmDatetimePicker {
1371
1373
  const calendarIcon = `<svg style="fill: #595959; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>`;
1372
1374
  const errorIcon = `<svg style="fill: #ef4444; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm42-104c0 23.2-18.8 42-42 42s-42-18.8-42-42 18.8-42 42-42 42 18.8 42 42zm-81.4-211.4l6.8 136c.3 6.4 5.6 11.4 12 11.4h41.2c6.4 0 11.7-5.1 12-11.4l6.8-136c.3-6.9-5.1-12.6-12-12.6h-54.8c-6.9 0-12.4 5.7-12 12.6z"/></svg>`;
1373
1375
  const inputIcon = this.type == "time" ? clockIcon : calendarIcon;
1374
- return (h(Host, { class: hostClasses, "bcm-internal-id": this.inputId }, this.label && (h("div", { class: "picker-label", onClick: () => this.openToggle() }, h(LabelTemplate, { size: "medium", type: this.captionType, value: this.label, required: this.required, htmlFor: this._id }))), h("bcm-old-input", { ref: el => (this.inputElement = el), placeholder: this.placeholder || 'Select ' + (this.type === Types.datetime ? 'date and time' : '') + (this.type === Types.date ? 'date' : '') + (this.type === Types.time ? 'time' : '') + (this.type === Types.range ? 'date range' : ''), value: this.valueText, required: this.required, fullWidth: this.fullWidth, disabled: this.disabled, name: this.name, id: this.inputId, clearable: this.clearable, onClick: () => this.openPicker(), disableWatchValue: true, "on-bcm-clear": () => this.handleInputClear(), "on-bcm-change": (e) => this.handleInputChange(e),
1376
+ return (h(Host, { class: hostClasses, "bcm-internal-id": this.inputId }, this.label && (h("div", { class: "picker-label", onClick: () => this.openToggle() }, h(LabelTemplate, { size: "medium", type: this.captionType, value: this.label, required: this.required, htmlFor: this._id }))), h("bcm-old-input", { ref: el => (this.inputElement = el), placeholder: this.placeholder || 'Select ' + (this.type === Types.datetime ? 'date and time' : '') + (this.type === Types.date ? 'date' : '') + (this.type === Types.time ? 'time' : '') + (this.type === Types.range ? 'date range' : ''), value: this.valueText, required: this.required, fullWidth: this.fullWidth, disabled: this.disabled, name: this.name, id: this.inputId, clearable: this.clearable, onClick: () => this.openPicker(), noMargin: this.noMargin, disableWatchValue: true, "on-bcm-clear": () => this.handleInputClear(), "on-bcm-change": (e) => this.handleInputChange(e),
1375
1377
  // on-bcm-input={(e: CustomEvent) => this.handleInputInput(e.detail)}
1376
1378
  noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType }, this.error && (h("span", { slot: "suffix" }, h("span", { id: "error-icon", class: toggleClasses, innerHTML: errorIcon, title: this.errorText }))), h("span", { slot: "suffix", onClick: () => this.openPicker() }, h("span", { id: "calender-icon", class: toggleClasses, innerHTML: inputIcon }))), h("div", { id: "picker-vp-" + this._id, class: datetimePickerClasses, onWheel: (e) => this.handleWheel(e) }, h("div", { class: "modules" }, this.hasDateModule && (h("div", { class: "date-container" }, h("div", { class: "bcm-datetime-picker__header" }, h("span", null), h("div", { class: "month-year" }, h("button", { onClick: () => this.getPrevMonth() }, h("bcm-icon", { icon: "far fa-chevron-left" })), h("div", { class: "month-year-wrapper" }, h("span", { class: "month" }, this.getMonthText()), ",", h("span", { class: "year" }, this.date.getFullYear())), h("button", { onClick: () => this.getNextMonth() }, h("bcm-icon", { icon: "far fa-chevron-right" }))), h("span", { class: "today", onClick: () => this.setDateToday() }, "Today")), h("div", { class: "bcm-datetime-picker__content" }, h("div", { class: "years", ref: el => (this.yearsWrapperElement = el) }, h("div", { class: "items", ref: el => (this.yearsElement = el) }, this.years.map((year, idx) => h("span", { onClick: () => this.yearClick(idx) }, year))), h("div", { class: "select-strip", ref: el => (this.yearsStripElement = el) })), h("div", { class: "days" }, h("div", { class: "day-labels" }, h("span", null, "Mo"), h("span", null, "Tu"), h("span", null, "We"), h("span", null, "Th"), h("span", null, "Fr"), h("span", null, "Sa"), h("span", null, "Su")), h("div", { class: dayNumbersClasses }, this.dayNumbers.map(day => (h("span", { class: {
1377
1379
  'is-disabled-date': (this.type === Types.date || this.type === Types.datetime) && this.isDisabledDate(day.date),
@@ -1714,6 +1716,24 @@ export class BcmDatetimePicker {
1714
1716
  "reflect": false,
1715
1717
  "defaultValue": "false"
1716
1718
  },
1719
+ "noMargin": {
1720
+ "type": "boolean",
1721
+ "mutable": true,
1722
+ "complexType": {
1723
+ "original": "boolean",
1724
+ "resolved": "boolean",
1725
+ "references": {}
1726
+ },
1727
+ "required": false,
1728
+ "optional": false,
1729
+ "docs": {
1730
+ "tags": [],
1731
+ "text": ""
1732
+ },
1733
+ "attribute": "no-margin",
1734
+ "reflect": false,
1735
+ "defaultValue": "false"
1736
+ },
1717
1737
  "captionError": {
1718
1738
  "type": "string",
1719
1739
  "mutable": true,
@@ -750,7 +750,7 @@
750
750
  align-items: center;
751
751
  justify-content: center;
752
752
  box-sizing: border-box;
753
- padding: 4px 4px 0 4px;
753
+ padding: 0 4px 0 4px;
754
754
  font-size: 16px;
755
755
  color: var(--bcm-new-ds-color-slate-500);
756
756
  }
@@ -123,7 +123,7 @@
123
123
  }
124
124
 
125
125
  :host {
126
- display: inline-block;
126
+ display: inline-flex;
127
127
  width: 100%;
128
128
  max-width: 256px;
129
129
  }
@@ -30,6 +30,7 @@ export class BcmTimePicker {
30
30
  this.label = undefined;
31
31
  this.placeholder = undefined;
32
32
  this.disabled = false;
33
+ this.noMargin = false;
33
34
  this.noCaption = false;
34
35
  this.caption = '';
35
36
  this.captionError = undefined;
@@ -126,7 +127,7 @@ export class BcmTimePicker {
126
127
  const hostClasses = cs(this.hidden ? 'hidden' : null, {
127
128
  'full-width': this.fullWidth
128
129
  });
129
- return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, fullWidth: this.fullWidth, required: this.required, label: this.label, name: this.name, placeholder: this.placeholder, type: "time", clearable: this.clearable, date: this.time, ref: el => (this.picker = el), disabled: this.disabled, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType, alignment: this.alignment, placement: this.placement })));
130
+ return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, fullWidth: this.fullWidth, required: this.required, label: this.label, name: this.name, placeholder: this.placeholder, type: "time", clearable: this.clearable, date: this.time, ref: el => (this.picker = el), disabled: this.disabled, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType, alignment: this.alignment, placement: this.placement, noMargin: this.noMargin })));
130
131
  }
131
132
  static get is() { return "bcm-time-picker"; }
132
133
  static get encapsulation() { return "shadow"; }
@@ -322,6 +323,24 @@ export class BcmTimePicker {
322
323
  "reflect": false,
323
324
  "defaultValue": "false"
324
325
  },
326
+ "noMargin": {
327
+ "type": "boolean",
328
+ "mutable": true,
329
+ "complexType": {
330
+ "original": "boolean",
331
+ "resolved": "boolean",
332
+ "references": {}
333
+ },
334
+ "required": false,
335
+ "optional": false,
336
+ "docs": {
337
+ "tags": [],
338
+ "text": ""
339
+ },
340
+ "attribute": "no-margin",
341
+ "reflect": false,
342
+ "defaultValue": "false"
343
+ },
325
344
  "noCaption": {
326
345
  "type": "boolean",
327
346
  "mutable": true,
@@ -2,7 +2,7 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { h, Host } from "@stencil/core";
5
+ import { Host, h } from "@stencil/core";
6
6
  import cs from "classnames";
7
7
  import { Generate } from "../../../helper/generate";
8
8
  import { StringHelper } from "../../../helper/string-helper";
@@ -23,9 +23,10 @@ export class BcmToast {
23
23
  this.visibleContainer = false;
24
24
  }
25
25
  async show() {
26
- const container = document.getElementById(this._id + "-container");
27
- if (container) {
28
- document.body.appendChild(container);
26
+ const toast = document.getElementById(this._id + "-container");
27
+ if (toast) {
28
+ const container = this.createContainer(this.position);
29
+ container.appendChild(toast);
29
30
  }
30
31
  this.visible = true;
31
32
  await delay(50);
@@ -52,17 +53,30 @@ export class BcmToast {
52
53
  this.timer = setTimeout(() => this.hide(), 1000);
53
54
  }
54
55
  }
56
+ createContainer(position) {
57
+ const containerId = "bcm-toast-container-" + position;
58
+ let container = document.getElementById(containerId);
59
+ if (!container) {
60
+ container = document.createElement("div");
61
+ container.id = containerId;
62
+ const classlist = cs("tw-pointer-events-none tw-overflow-hidden tw-z-50", "tw-fixed tw-flex", "tw-p-4 tw-gap-4", {
63
+ "tw-flex-col-reverse tw-inset-x-0 tw-top-4 tw-mx-auto": this.position === Bcm.Placement.top,
64
+ "tw-flex-col tw-inset-x-0 tw-bottom-4 tw-mx-auto": this.position === Bcm.Placement.bottom,
65
+ "tw-flex-col-reverse tw-top-4 tw-left-4": this.position === Bcm.Placement["top-start"],
66
+ "tw-flex-col-reverse tw-top-4 tw-right-4": this.position === Bcm.Placement["top-end"],
67
+ "tw-flex-col tw-bottom-4 tw-left-4": this.position === Bcm.Placement["bottom-start"],
68
+ "tw-flex-col tw-bottom-4 tw-right-4": this.position === Bcm.Placement["bottom-end"],
69
+ });
70
+ container.classList.add(...classlist.split(" "));
71
+ document.body.appendChild(container);
72
+ }
73
+ return container;
74
+ }
55
75
  render() {
56
76
  return (h(Host, { class: "tw-hidden" }, h("div", { class: cs({ "tw-hidden": !this.visible }), id: this._id + "-container", onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, h("div", { class: cs("tw-pointer-events-auto tw-transform tw-transition tw-duration-300 tw-ease-in-out", "tw-flex tw-min-w-[256px] tw-max-w-[420px] tw-flex-col tw-gap-2 tw-rounded-lg tw-border tw-font-sans tw-font-normal tw-shadow-2", "tw-border-gray-300 tw-bg-white tw-text-slate-600", {
57
77
  "tw-p-4": !this.description,
58
78
  "tw-p-6": this.description,
59
- }, "tw-fixed tw-z-50", "tw-transform tw-transition tw-duration-300 tw-ease-in-out ", {
60
- "tw-inset-x-0 tw-top-4 tw-mx-auto": this.position === Bcm.Placement.top,
61
- "tw-inset-x-0 tw-bottom-4 tw-mx-auto": this.position === Bcm.Placement.bottom,
62
- "tw-top-4 tw-left-4": this.position === Bcm.Placement["top-start"],
63
- "tw-top-4 tw-right-4": this.position === Bcm.Placement["top-end"],
64
- "tw-bottom-4 tw-left-4": this.position === Bcm.Placement["bottom-start"],
65
- "tw-bottom-4 tw-right-4": this.position === Bcm.Placement["bottom-end"],
79
+ }, "tw-transform tw-transition tw-duration-300 tw-ease-in-out ", {
66
80
  "tw-translate-y-0 tw-opacity-100 ": this.visibleContainer,
67
81
  "tw-opacity-0": !this.visibleContainer,
68
82
  "tw-translate-y-[-100%]": !this.visibleContainer && this.position.split("-")[0] === "top",
@@ -40,10 +40,10 @@ StringHelper.slugify = (str) => slugify(str, {
40
40
  trim: false, // trim leading and trailing replacement chars, defaults to `true`
41
41
  });
42
42
  StringHelper.highlight = (str, search) => {
43
- const searchText = search;
44
- const regex = new RegExp(searchText, 'gi');
45
43
  let text = str;
46
44
  text = text.replace(/(<mark>|<\/mark>)/gim, '');
45
+ const escapedSearch = search.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); // Özel karakterleri kaçış dizileri ile kaçır
46
+ const regex = new RegExp(escapedSearch, 'gi');
47
47
  const newText = text.replace(regex, '<mark>$&</mark>');
48
48
  return newText;
49
49
  };
@@ -10,7 +10,8 @@ import './number-helper.js';
10
10
  import './string-helper.js';
11
11
  import './element-dragger.js';
12
12
  import { a as Bcm } from './bcm.js';
13
- import { c as ce, d as defineCustomElement$2 } from './badge.js';
13
+ import { c as ce } from './index5.js';
14
+ import { d as defineCustomElement$2 } from './badge.js';
14
15
  import { d as defineCustomElement$1 } from './icon.js';
15
16
 
16
17
  const avatarStyle = ce({