globuswebcomponents 1.1.7 → 1.1.8

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 (436) hide show
  1. package/dist/cjs/{gb-action-panel_11.cjs.entry.js → gb-action-panel_16.cjs.entry.js} +237 -69
  2. package/dist/cjs/gb-action-panel_16.cjs.entry.js.map +1 -0
  3. package/dist/cjs/gb-collapse-button_4.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
  5. package/dist/cjs/gb-export-dropdown-item_2.cjs.entry.js +2 -2
  6. package/dist/cjs/gb-export-dropdown.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-export-sub-dropdown-item.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-file-upload.cjs.entry.js +12 -12
  10. package/dist/cjs/gb-header-icon.cjs.entry.js +34 -0
  11. package/dist/cjs/gb-header-icon.cjs.entry.js.map +1 -0
  12. package/dist/cjs/gb-header.cjs.entry.js +71 -0
  13. package/dist/cjs/gb-header.cjs.entry.js.map +1 -0
  14. package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-help-tooltip_3.cjs.entry.js +29 -29
  16. package/dist/cjs/gb-help-tooltip_3.cjs.entry.js.map +1 -1
  17. package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-input-dropdown-menu-item_5.cjs.entry.js +6 -6
  19. package/dist/cjs/gb-input-dropdown_3.cjs.entry.js +5 -5
  20. package/dist/cjs/gb-input-dropdown_3.cjs.entry.js.map +1 -1
  21. package/dist/cjs/gb-mega-input-field-base.cjs.entry.js +2 -2
  22. package/dist/cjs/gb-notification-content.cjs.entry.js +1 -1
  23. package/dist/cjs/gb-notification-pane.cjs.entry.js +3 -3
  24. package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +1 -1
  25. package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
  26. package/dist/cjs/gb-pagination.cjs.entry.js +1 -1
  27. package/dist/cjs/gb-progress-bar.cjs.entry.js +26 -0
  28. package/dist/cjs/gb-progress-bar.cjs.entry.js.map +1 -0
  29. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  30. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  31. package/dist/cjs/gb-sidebar.cjs.entry.js +1 -1
  32. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  33. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  34. package/dist/cjs/gb-tab-button-base.cjs.entry.js +3 -3
  35. package/dist/cjs/gb-table-cell.cjs.entry.js +1 -1
  36. package/dist/cjs/gb-textarea-input-field.cjs.entry.js +4 -4
  37. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  38. package/dist/cjs/gb-toast.cjs.entry.js +1 -1
  39. package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
  40. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  41. package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
  42. package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
  43. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  44. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
  45. package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +1 -1
  46. package/dist/cjs/globuscomponents.cjs.js +1 -1
  47. package/dist/cjs/loader.cjs.js +1 -1
  48. package/dist/cjs/reusableModels-e50f3440.js.map +1 -1
  49. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  50. package/dist/collection/assets/download-03.svg +5 -0
  51. package/dist/collection/assets/view.svg +8 -0
  52. package/dist/collection/collection-manifest.json +3 -0
  53. package/dist/collection/components/gb-button/readme.md +13 -13
  54. package/dist/collection/components/gb-detail-cell/gb-detail-cell.css +2755 -0
  55. package/dist/collection/components/gb-detail-cell/gb-detail-cell.js +209 -0
  56. package/dist/collection/components/gb-detail-cell/gb-detail-cell.js.map +1 -0
  57. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
  58. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +1 -1
  59. package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +1 -1
  60. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +1 -1
  61. package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js +1 -1
  62. package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js +1 -1
  63. package/dist/collection/components/gb-file-upload/gb-file-upload.js +12 -12
  64. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
  65. package/dist/collection/components/gb-header/gb-header.js +1 -1
  66. package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
  67. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
  68. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
  69. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
  70. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +4 -4
  71. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  72. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
  73. package/dist/collection/components/gb-input-field/gb-input-field.js +29 -29
  74. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  75. package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.js +2 -2
  76. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  77. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +3 -3
  78. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  79. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  80. package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.js +1 -1
  81. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  82. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  83. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  84. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  85. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  86. package/dist/collection/components/gb-progress-steps/gb-progress-steps.css +10 -0
  87. package/dist/collection/components/gb-progress-steps/gb-progress-steps.js +504 -0
  88. package/dist/collection/components/gb-progress-steps/gb-progress-steps.js.map +1 -0
  89. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  90. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  91. package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +1 -1
  92. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  93. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  94. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  95. package/dist/collection/components/gb-step-base/gb-step-base.css +2881 -0
  96. package/dist/collection/components/gb-step-base/gb-step-base.js +197 -0
  97. package/dist/collection/components/gb-step-base/gb-step-base.js.map +1 -0
  98. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  99. package/dist/collection/components/gb-table-cell/gb-table-cell.js +1 -1
  100. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  101. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  102. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  103. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  104. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +4 -4
  105. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  106. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  107. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  108. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  109. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
  110. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
  111. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  112. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  113. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
  114. package/dist/collection/components/gb-wysiwyg-tooltip/gb-wysiwyg-tooltip.js +1 -1
  115. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  116. package/dist/collection/models/reusableModels.js.map +1 -1
  117. package/dist/components/gb-avatar-add-button.js +1 -1
  118. package/dist/components/gb-avatar-dropdown.js +4 -4
  119. package/dist/components/gb-avatar-group.js +4 -4
  120. package/dist/components/gb-avatar-label-group.js +1 -1
  121. package/dist/components/gb-avatar-profile-photo.js +2 -2
  122. package/dist/components/gb-avatar.js +1 -1
  123. package/dist/components/gb-badge.js +1 -1
  124. package/dist/components/gb-checkbox-group-item.js +1 -1
  125. package/dist/components/gb-checkbox-group.js +3 -3
  126. package/dist/components/gb-collapse-button.js +1 -1
  127. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  128. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  129. package/dist/components/gb-detail-cell.d.ts +11 -0
  130. package/dist/components/gb-detail-cell.js +130 -0
  131. package/dist/components/gb-detail-cell.js.map +1 -0
  132. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  133. package/dist/components/gb-export-dropdown-item.js +1 -1
  134. package/dist/components/gb-export-dropdown.js +4 -4
  135. package/dist/components/gb-export-sub-dropdown-item.js +1 -1
  136. package/dist/components/gb-export-sub-dropdown.js +1 -1
  137. package/dist/components/gb-file-type-icon.js +1 -1
  138. package/dist/components/gb-file-upload-item-base.js +1 -1
  139. package/dist/components/gb-file-upload.js +16 -16
  140. package/dist/components/gb-header-icon.js +1 -1
  141. package/dist/components/gb-header.js +4 -4
  142. package/dist/components/gb-help-dropdown.js +2 -2
  143. package/dist/components/gb-help-tooltip.js +1 -1
  144. package/dist/components/gb-horizontal-tabs.js +5 -5
  145. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  146. package/dist/components/gb-input-dropdown.js +1 -1
  147. package/dist/components/gb-input-field.js +1 -1
  148. package/dist/components/gb-mega-input-field-base.js +1 -1
  149. package/dist/components/gb-notification-content.js +1 -1
  150. package/dist/components/gb-notification-pane.js +4 -4
  151. package/dist/components/gb-pagination-button-group-base.js +1 -1
  152. package/dist/components/gb-pagination-dot-group.js +1 -1
  153. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  154. package/dist/components/gb-pagination-number-base.js +1 -1
  155. package/dist/components/gb-pagination.js +15 -15
  156. package/dist/components/gb-password-button.js +1 -1
  157. package/dist/components/gb-progress-bar.js +1 -1
  158. package/dist/components/gb-progress-circle.js +1 -1
  159. package/dist/components/gb-progress-steps.d.ts +11 -0
  160. package/dist/components/gb-progress-steps.js +86 -0
  161. package/dist/components/gb-progress-steps.js.map +1 -0
  162. package/dist/components/gb-scrollbar.js +1 -1
  163. package/dist/components/gb-sidebar.js +9 -9
  164. package/dist/components/gb-simple-side-bar-item.js +1 -1
  165. package/dist/components/gb-slider-control-handle.js +1 -1
  166. package/dist/components/gb-slider.js +3 -3
  167. package/dist/components/gb-status-indicator.js +1 -1
  168. package/dist/components/gb-step-base.d.ts +11 -0
  169. package/dist/components/gb-step-base.js +8 -0
  170. package/dist/components/gb-step-base.js.map +1 -0
  171. package/dist/components/gb-tab-button-base.js +1 -1
  172. package/dist/components/gb-table-cell.js +1 -1
  173. package/dist/components/gb-tag-checkbox.js +1 -1
  174. package/dist/components/gb-tag-close.js +1 -1
  175. package/dist/components/gb-tag-count.js +1 -1
  176. package/dist/components/gb-tag.js +1 -1
  177. package/dist/components/gb-textarea-input-field.js +11 -11
  178. package/dist/components/gb-toast-button.js +1 -1
  179. package/dist/components/gb-toast.js +2 -2
  180. package/dist/components/gb-toggle-base.js +1 -1
  181. package/dist/components/gb-toggle.js +2 -2
  182. package/dist/components/gb-token-field-compact.js +2 -2
  183. package/dist/components/gb-token-field-compressed.js +3 -3
  184. package/dist/components/gb-tooltip.js +1 -1
  185. package/dist/components/gb-vertical-tabs.js +5 -5
  186. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  187. package/dist/components/gb-wysiwyg-tooltip.js +2 -2
  188. package/dist/components/{p-cbd28c9c.js → p-064e26e3.js} +2 -2
  189. package/dist/components/{p-cbd28c9c.js.map → p-064e26e3.js.map} +1 -1
  190. package/dist/components/{p-429e916e.js → p-0962e3f8.js} +2 -2
  191. package/dist/components/{p-429e916e.js.map → p-0962e3f8.js.map} +1 -1
  192. package/dist/components/{p-c8e2fcc9.js → p-1242e45b.js} +2 -2
  193. package/dist/components/{p-c8e2fcc9.js.map → p-1242e45b.js.map} +1 -1
  194. package/dist/components/{p-fd7f1360.js → p-12922642.js} +2 -2
  195. package/dist/components/{p-fd7f1360.js.map → p-12922642.js.map} +1 -1
  196. package/dist/components/{p-6e0df332.js → p-1a8b74e6.js} +2 -2
  197. package/dist/components/{p-6e0df332.js.map → p-1a8b74e6.js.map} +1 -1
  198. package/dist/components/{p-47a971e2.js → p-232503d0.js} +2 -2
  199. package/dist/components/{p-47a971e2.js.map → p-232503d0.js.map} +1 -1
  200. package/dist/components/{p-9539b6a0.js → p-24b03ad5.js} +2 -2
  201. package/dist/components/{p-9539b6a0.js.map → p-24b03ad5.js.map} +1 -1
  202. package/dist/components/{p-0de97a53.js → p-33197189.js} +3 -3
  203. package/dist/components/{p-0de97a53.js.map → p-33197189.js.map} +1 -1
  204. package/dist/components/{p-ead9652d.js → p-3f259cac.js} +3 -3
  205. package/dist/components/{p-ead9652d.js.map → p-3f259cac.js.map} +1 -1
  206. package/dist/components/{p-cb27f0fb.js → p-42267e58.js} +6 -6
  207. package/dist/components/{p-cb27f0fb.js.map → p-42267e58.js.map} +1 -1
  208. package/dist/components/{p-e678c096.js → p-451d4840.js} +7 -7
  209. package/dist/components/{p-e678c096.js.map → p-451d4840.js.map} +1 -1
  210. package/dist/components/p-47052b60.js.map +1 -1
  211. package/dist/components/{p-74988bb9.js → p-4951b87c.js} +5 -5
  212. package/dist/components/{p-74988bb9.js.map → p-4951b87c.js.map} +1 -1
  213. package/dist/components/p-4d475e81.js +51 -0
  214. package/dist/components/p-4d475e81.js.map +1 -0
  215. package/dist/components/{p-91ecb9e2.js → p-59618b80.js} +3 -3
  216. package/dist/components/{p-91ecb9e2.js.map → p-59618b80.js.map} +1 -1
  217. package/dist/components/{p-fd8f257a.js → p-5d12d91a.js} +2 -2
  218. package/dist/components/{p-fd8f257a.js.map → p-5d12d91a.js.map} +1 -1
  219. package/dist/components/{p-1fda161b.js → p-64fc3957.js} +3 -3
  220. package/dist/components/{p-1fda161b.js.map → p-64fc3957.js.map} +1 -1
  221. package/dist/components/{p-807e5c88.js → p-6649deea.js} +3 -3
  222. package/dist/components/{p-807e5c88.js.map → p-6649deea.js.map} +1 -1
  223. package/dist/components/{p-36713c8f.js → p-69c4723d.js} +2 -2
  224. package/dist/components/{p-36713c8f.js.map → p-69c4723d.js.map} +1 -1
  225. package/dist/components/{p-28268414.js → p-763584fa.js} +2 -2
  226. package/dist/components/{p-28268414.js.map → p-763584fa.js.map} +1 -1
  227. package/dist/components/{p-9caf228c.js → p-7a8d22dc.js} +2 -2
  228. package/dist/components/{p-9caf228c.js.map → p-7a8d22dc.js.map} +1 -1
  229. package/dist/components/{p-b1e66432.js → p-7e5cd1f3.js} +2 -2
  230. package/dist/components/{p-b1e66432.js.map → p-7e5cd1f3.js.map} +1 -1
  231. package/dist/components/{p-296fd628.js → p-871baf09.js} +2 -2
  232. package/dist/components/{p-296fd628.js.map → p-871baf09.js.map} +1 -1
  233. package/dist/components/{p-5e78c235.js → p-9507aa92.js} +3 -3
  234. package/dist/components/{p-5e78c235.js.map → p-9507aa92.js.map} +1 -1
  235. package/dist/components/{p-b629d491.js → p-97319929.js} +2 -2
  236. package/dist/components/{p-b629d491.js.map → p-97319929.js.map} +1 -1
  237. package/dist/components/{p-d3d98efb.js → p-a0362c99.js} +7 -7
  238. package/dist/components/{p-d3d98efb.js.map → p-a0362c99.js.map} +1 -1
  239. package/dist/components/{p-d884e179.js → p-a6ffb75a.js} +2 -2
  240. package/dist/components/{p-d884e179.js.map → p-a6ffb75a.js.map} +1 -1
  241. package/dist/components/{p-08c3f0fe.js → p-aa887ef8.js} +2 -2
  242. package/dist/components/{p-08c3f0fe.js.map → p-aa887ef8.js.map} +1 -1
  243. package/dist/components/{p-2e8d5384.js → p-ae76a373.js} +5 -5
  244. package/dist/components/{p-2e8d5384.js.map → p-ae76a373.js.map} +1 -1
  245. package/dist/components/{p-67feabb1.js → p-afe2c526.js} +38 -38
  246. package/dist/components/p-afe2c526.js.map +1 -0
  247. package/dist/components/{p-fd96e138.js → p-b41e41aa.js} +2 -2
  248. package/dist/components/{p-fd96e138.js.map → p-b41e41aa.js.map} +1 -1
  249. package/dist/components/{p-231fedfa.js → p-bb0742b1.js} +5 -5
  250. package/dist/components/{p-231fedfa.js.map → p-bb0742b1.js.map} +1 -1
  251. package/dist/components/{p-a90e8ba5.js → p-d7f5ec4d.js} +3 -3
  252. package/dist/components/{p-a90e8ba5.js.map → p-d7f5ec4d.js.map} +1 -1
  253. package/dist/components/{p-5eb5609b.js → p-e9683fbc.js} +3 -3
  254. package/dist/components/{p-5eb5609b.js.map → p-e9683fbc.js.map} +1 -1
  255. package/dist/components/{p-b0642b3b.js → p-ea1febce.js} +16 -16
  256. package/dist/components/p-ea1febce.js.map +1 -0
  257. package/dist/components/{p-d28a81d6.js → p-ee5f7299.js} +2 -2
  258. package/dist/components/{p-d28a81d6.js.map → p-ee5f7299.js.map} +1 -1
  259. package/dist/components/{p-2807f7ae.js → p-ef0190da.js} +2 -2
  260. package/dist/components/{p-2807f7ae.js.map → p-ef0190da.js.map} +1 -1
  261. package/dist/components/{p-f9720819.js → p-f142b029.js} +3 -3
  262. package/dist/components/{p-f9720819.js.map → p-f142b029.js.map} +1 -1
  263. package/dist/components/{p-34af0a7f.js → p-f1bcde96.js} +2 -2
  264. package/dist/components/{p-34af0a7f.js.map → p-f1bcde96.js.map} +1 -1
  265. package/dist/components/test-input-tag.js +9 -9
  266. package/dist/docs.json +1969 -666
  267. package/dist/esm/{gb-action-panel_11.entry.js → gb-action-panel_16.entry.js} +231 -68
  268. package/dist/esm/gb-action-panel_16.entry.js.map +1 -0
  269. package/dist/esm/gb-collapse-button_4.entry.js +1 -1
  270. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  271. package/dist/esm/gb-export-dropdown-item_2.entry.js +2 -2
  272. package/dist/esm/gb-export-dropdown.entry.js +1 -1
  273. package/dist/esm/gb-export-sub-dropdown-item.entry.js +1 -1
  274. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  275. package/dist/esm/gb-file-upload.entry.js +12 -12
  276. package/dist/esm/gb-header-icon.entry.js +30 -0
  277. package/dist/esm/gb-header-icon.entry.js.map +1 -0
  278. package/dist/esm/gb-header.entry.js +67 -0
  279. package/dist/esm/gb-header.entry.js.map +1 -0
  280. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  281. package/dist/esm/gb-help-tooltip_3.entry.js +29 -29
  282. package/dist/esm/gb-help-tooltip_3.entry.js.map +1 -1
  283. package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
  284. package/dist/esm/gb-input-dropdown-menu-item_5.entry.js +6 -6
  285. package/dist/esm/gb-input-dropdown_3.entry.js +5 -5
  286. package/dist/esm/gb-input-dropdown_3.entry.js.map +1 -1
  287. package/dist/esm/gb-mega-input-field-base.entry.js +2 -2
  288. package/dist/esm/gb-notification-content.entry.js +1 -1
  289. package/dist/esm/gb-notification-pane.entry.js +3 -3
  290. package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
  291. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  292. package/dist/esm/gb-pagination.entry.js +1 -1
  293. package/dist/esm/gb-progress-bar.entry.js +22 -0
  294. package/dist/esm/gb-progress-bar.entry.js.map +1 -0
  295. package/dist/esm/gb-progress-circle.entry.js +1 -1
  296. package/dist/esm/gb-scrollbar.entry.js +1 -1
  297. package/dist/esm/gb-sidebar.entry.js +1 -1
  298. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  299. package/dist/esm/gb-slider.entry.js +1 -1
  300. package/dist/esm/gb-tab-button-base.entry.js +3 -3
  301. package/dist/esm/gb-table-cell.entry.js +1 -1
  302. package/dist/esm/gb-textarea-input-field.entry.js +4 -4
  303. package/dist/esm/gb-toast-button.entry.js +1 -1
  304. package/dist/esm/gb-toast.entry.js +1 -1
  305. package/dist/esm/gb-toggle-base.entry.js +2 -2
  306. package/dist/esm/gb-toggle.entry.js +1 -1
  307. package/dist/esm/gb-token-field-compact.entry.js +1 -1
  308. package/dist/esm/gb-token-field-compressed.entry.js +2 -2
  309. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  310. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
  311. package/dist/esm/gb-wysiwyg-tooltip.entry.js +1 -1
  312. package/dist/esm/globuscomponents.js +1 -1
  313. package/dist/esm/loader.js +1 -1
  314. package/dist/esm/reusableModels-8496e911.js.map +1 -1
  315. package/dist/esm/test-input-tag.entry.js +2 -2
  316. package/dist/globuscomponents/assets/download-03.svg +5 -0
  317. package/dist/globuscomponents/assets/view.svg +8 -0
  318. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  319. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  320. package/dist/globuscomponents/p-0494ffc4.entry.js +2 -0
  321. package/dist/globuscomponents/p-0494ffc4.entry.js.map +1 -0
  322. package/dist/globuscomponents/{p-ac2e5c8c.entry.js → p-05fbfb36.entry.js} +2 -2
  323. package/dist/globuscomponents/{p-6b2ec995.entry.js → p-0b6f71e0.entry.js} +2 -2
  324. package/dist/globuscomponents/{p-28fd97fe.entry.js → p-0d535ff4.entry.js} +2 -2
  325. package/dist/globuscomponents/{p-19f682c1.entry.js → p-1a3512f3.entry.js} +2 -2
  326. package/dist/globuscomponents/{p-f80803e0.entry.js → p-1af1c3f2.entry.js} +2 -2
  327. package/dist/globuscomponents/{p-116b2e51.entry.js → p-271960c2.entry.js} +2 -2
  328. package/dist/globuscomponents/{p-a253d582.entry.js → p-29a9c080.entry.js} +2 -2
  329. package/dist/globuscomponents/{p-f5af9850.entry.js → p-3b0b55f7.entry.js} +2 -2
  330. package/dist/globuscomponents/{p-1ee71682.entry.js → p-3bfdc2ad.entry.js} +2 -2
  331. package/dist/globuscomponents/{p-ecf4686e.entry.js → p-43b5576d.entry.js} +2 -2
  332. package/dist/globuscomponents/{p-82e24f65.entry.js → p-43f078c4.entry.js} +2 -2
  333. package/dist/globuscomponents/p-43f078c4.entry.js.map +1 -0
  334. package/dist/globuscomponents/p-47052b60.js.map +1 -1
  335. package/dist/globuscomponents/{p-80f5b3e0.entry.js → p-48bc314c.entry.js} +2 -2
  336. package/dist/globuscomponents/{p-adb62d89.entry.js → p-5b86ff20.entry.js} +2 -2
  337. package/dist/globuscomponents/p-5bc87be4.entry.js +2 -0
  338. package/dist/globuscomponents/p-5bc87be4.entry.js.map +1 -0
  339. package/dist/globuscomponents/{p-7c3a09d0.entry.js → p-5dad4863.entry.js} +2 -2
  340. package/dist/globuscomponents/p-6da197e6.entry.js +2 -0
  341. package/dist/globuscomponents/{p-794e3ceb.entry.js → p-6ebd2ece.entry.js} +2 -2
  342. package/dist/globuscomponents/p-71650d61.entry.js +2 -0
  343. package/dist/globuscomponents/{p-a15d0510.entry.js → p-721c9ce5.entry.js} +2 -2
  344. package/dist/globuscomponents/{p-194289c2.entry.js → p-749299d2.entry.js} +2 -2
  345. package/dist/globuscomponents/p-749299d2.entry.js.map +1 -0
  346. package/dist/globuscomponents/{p-e85d4376.entry.js → p-7e87553d.entry.js} +2 -2
  347. package/dist/globuscomponents/{p-db4c2765.entry.js → p-81901007.entry.js} +2 -2
  348. package/dist/globuscomponents/{p-6b412c64.entry.js → p-8a423991.entry.js} +2 -2
  349. package/dist/globuscomponents/{p-147501f8.entry.js → p-95de0087.entry.js} +2 -2
  350. package/dist/globuscomponents/{p-068bbd33.entry.js → p-9991356c.entry.js} +2 -2
  351. package/dist/globuscomponents/{p-c1726455.entry.js → p-9c5f3f64.entry.js} +2 -2
  352. package/dist/globuscomponents/p-a0a60a2e.entry.js +2 -0
  353. package/dist/globuscomponents/{p-5c137ca6.entry.js → p-a6ef7533.entry.js} +2 -2
  354. package/dist/globuscomponents/{p-79cd6729.entry.js → p-aac86bba.entry.js} +2 -2
  355. package/dist/globuscomponents/{p-53872305.entry.js → p-bf0f7afa.entry.js} +2 -2
  356. package/dist/globuscomponents/{p-05c135e8.entry.js → p-c31bb571.entry.js} +2 -2
  357. package/dist/globuscomponents/p-d20b927f.entry.js +2 -0
  358. package/dist/globuscomponents/p-d20b927f.entry.js.map +1 -0
  359. package/dist/globuscomponents/{p-a5ffc3b3.entry.js → p-d3758ced.entry.js} +2 -2
  360. package/dist/globuscomponents/{p-b5907793.entry.js → p-dbaf4c00.entry.js} +2 -2
  361. package/dist/globuscomponents/{p-dce80c14.entry.js → p-dd205e63.entry.js} +2 -2
  362. package/dist/globuscomponents/{p-0926e54a.entry.js → p-dd797c90.entry.js} +2 -2
  363. package/dist/globuscomponents/{p-53c55005.entry.js → p-ddf46c13.entry.js} +2 -2
  364. package/dist/globuscomponents/p-e7c454e0.entry.js +2 -0
  365. package/dist/globuscomponents/p-e7c454e0.entry.js.map +1 -0
  366. package/dist/globuscomponents/{p-d3e77bfa.entry.js → p-e7d09487.entry.js} +2 -2
  367. package/dist/globuscomponents/readme.md +13 -13
  368. package/dist/types/components/gb-detail-cell/gb-detail-cell.d.ts +20 -0
  369. package/dist/types/components/gb-progress-steps/gb-progress-steps.d.ts +25 -0
  370. package/dist/types/components/gb-step-base/gb-step-base.d.ts +12 -0
  371. package/dist/types/components.d.ts +129 -2
  372. package/dist/types/models/reusableModels.d.ts +3 -0
  373. package/package.json +1 -1
  374. package/dist/cjs/gb-action-panel_11.cjs.entry.js.map +0 -1
  375. package/dist/cjs/gb-badge_2.cjs.entry.js +0 -111
  376. package/dist/cjs/gb-badge_2.cjs.entry.js.map +0 -1
  377. package/dist/cjs/gb-file-type-icon_2.cjs.entry.js +0 -42
  378. package/dist/cjs/gb-file-type-icon_2.cjs.entry.js.map +0 -1
  379. package/dist/cjs/gb-tooltip.cjs.entry.js +0 -39
  380. package/dist/cjs/gb-tooltip.cjs.entry.js.map +0 -1
  381. package/dist/components/p-67feabb1.js.map +0 -1
  382. package/dist/components/p-b0642b3b.js.map +0 -1
  383. package/dist/esm/gb-action-panel_11.entry.js.map +0 -1
  384. package/dist/esm/gb-badge_2.entry.js +0 -106
  385. package/dist/esm/gb-badge_2.entry.js.map +0 -1
  386. package/dist/esm/gb-file-type-icon_2.entry.js +0 -37
  387. package/dist/esm/gb-file-type-icon_2.entry.js.map +0 -1
  388. package/dist/esm/gb-tooltip.entry.js +0 -35
  389. package/dist/esm/gb-tooltip.entry.js.map +0 -1
  390. package/dist/globuscomponents/p-1938aaf2.entry.js +0 -2
  391. package/dist/globuscomponents/p-194289c2.entry.js.map +0 -1
  392. package/dist/globuscomponents/p-29d39363.entry.js +0 -2
  393. package/dist/globuscomponents/p-29d39363.entry.js.map +0 -1
  394. package/dist/globuscomponents/p-2aff4c41.entry.js +0 -2
  395. package/dist/globuscomponents/p-2aff4c41.entry.js.map +0 -1
  396. package/dist/globuscomponents/p-2f861d90.entry.js +0 -2
  397. package/dist/globuscomponents/p-82e24f65.entry.js.map +0 -1
  398. package/dist/globuscomponents/p-8b40a709.entry.js +0 -2
  399. package/dist/globuscomponents/p-8b40a709.entry.js.map +0 -1
  400. package/dist/globuscomponents/p-93b368da.entry.js +0 -2
  401. package/dist/globuscomponents/p-d1d8a272.entry.js +0 -2
  402. package/dist/globuscomponents/p-d1d8a272.entry.js.map +0 -1
  403. /package/dist/globuscomponents/{p-ac2e5c8c.entry.js.map → p-05fbfb36.entry.js.map} +0 -0
  404. /package/dist/globuscomponents/{p-6b2ec995.entry.js.map → p-0b6f71e0.entry.js.map} +0 -0
  405. /package/dist/globuscomponents/{p-28fd97fe.entry.js.map → p-0d535ff4.entry.js.map} +0 -0
  406. /package/dist/globuscomponents/{p-19f682c1.entry.js.map → p-1a3512f3.entry.js.map} +0 -0
  407. /package/dist/globuscomponents/{p-f80803e0.entry.js.map → p-1af1c3f2.entry.js.map} +0 -0
  408. /package/dist/globuscomponents/{p-116b2e51.entry.js.map → p-271960c2.entry.js.map} +0 -0
  409. /package/dist/globuscomponents/{p-a253d582.entry.js.map → p-29a9c080.entry.js.map} +0 -0
  410. /package/dist/globuscomponents/{p-f5af9850.entry.js.map → p-3b0b55f7.entry.js.map} +0 -0
  411. /package/dist/globuscomponents/{p-1ee71682.entry.js.map → p-3bfdc2ad.entry.js.map} +0 -0
  412. /package/dist/globuscomponents/{p-ecf4686e.entry.js.map → p-43b5576d.entry.js.map} +0 -0
  413. /package/dist/globuscomponents/{p-80f5b3e0.entry.js.map → p-48bc314c.entry.js.map} +0 -0
  414. /package/dist/globuscomponents/{p-adb62d89.entry.js.map → p-5b86ff20.entry.js.map} +0 -0
  415. /package/dist/globuscomponents/{p-7c3a09d0.entry.js.map → p-5dad4863.entry.js.map} +0 -0
  416. /package/dist/globuscomponents/{p-2f861d90.entry.js.map → p-6da197e6.entry.js.map} +0 -0
  417. /package/dist/globuscomponents/{p-794e3ceb.entry.js.map → p-6ebd2ece.entry.js.map} +0 -0
  418. /package/dist/globuscomponents/{p-93b368da.entry.js.map → p-71650d61.entry.js.map} +0 -0
  419. /package/dist/globuscomponents/{p-a15d0510.entry.js.map → p-721c9ce5.entry.js.map} +0 -0
  420. /package/dist/globuscomponents/{p-e85d4376.entry.js.map → p-7e87553d.entry.js.map} +0 -0
  421. /package/dist/globuscomponents/{p-db4c2765.entry.js.map → p-81901007.entry.js.map} +0 -0
  422. /package/dist/globuscomponents/{p-6b412c64.entry.js.map → p-8a423991.entry.js.map} +0 -0
  423. /package/dist/globuscomponents/{p-147501f8.entry.js.map → p-95de0087.entry.js.map} +0 -0
  424. /package/dist/globuscomponents/{p-068bbd33.entry.js.map → p-9991356c.entry.js.map} +0 -0
  425. /package/dist/globuscomponents/{p-c1726455.entry.js.map → p-9c5f3f64.entry.js.map} +0 -0
  426. /package/dist/globuscomponents/{p-1938aaf2.entry.js.map → p-a0a60a2e.entry.js.map} +0 -0
  427. /package/dist/globuscomponents/{p-5c137ca6.entry.js.map → p-a6ef7533.entry.js.map} +0 -0
  428. /package/dist/globuscomponents/{p-79cd6729.entry.js.map → p-aac86bba.entry.js.map} +0 -0
  429. /package/dist/globuscomponents/{p-53872305.entry.js.map → p-bf0f7afa.entry.js.map} +0 -0
  430. /package/dist/globuscomponents/{p-05c135e8.entry.js.map → p-c31bb571.entry.js.map} +0 -0
  431. /package/dist/globuscomponents/{p-a5ffc3b3.entry.js.map → p-d3758ced.entry.js.map} +0 -0
  432. /package/dist/globuscomponents/{p-b5907793.entry.js.map → p-dbaf4c00.entry.js.map} +0 -0
  433. /package/dist/globuscomponents/{p-dce80c14.entry.js.map → p-dd205e63.entry.js.map} +0 -0
  434. /package/dist/globuscomponents/{p-0926e54a.entry.js.map → p-dd797c90.entry.js.map} +0 -0
  435. /package/dist/globuscomponents/{p-53c55005.entry.js.map → p-ddf46c13.entry.js.map} +0 -0
  436. /package/dist/globuscomponents/{p-d3e77bfa.entry.js.map → p-e7d09487.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"gb-input-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown/gb-input-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,M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UAAU,IAAE,IAAI,CAAM,CAC9B,CACJ,CACF,CAC2B,CAC/B,CAAC,CACD,CACJ,CACA,CACJ,CACG,CACP,CACA,CACC,CACF;gBACL,IAAI,CAAC,YAAY,IAAI,kBAAG,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAG,KAAK,EAAC,2BAA2B,IAAE,IAAI,CAAC,QAAQ,CAAK,CAAC,CAAC,CAAC,SAAG,KAAK,EAAC,4BAA4B,IAAE,IAAI,CAAC,SAAS,CAAK,CAAI,CAClK;SACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment, Element, State, getAssetPath, Listen, Event, EventEmitter } from '@stencil/core';\r\nimport { AvatarColorTypes, DropdownTypes, GeneralSizes, StateEnum } from '../../models/reusableModels';\r\n@Component({\r\n tag: 'gb-input-dropdown',\r\n styleUrl: 'gb-input-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdown {\r\n @Prop() type: DropdownTypes;\r\n @Prop({ mutable: true }) state: 'default' | 'focused' | 'disabled' | 'filled';\r\n @Prop() size: GeneralSizes;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() placeholder: string = '';\r\n @Prop() showHintText: boolean;\r\n @Prop() hintText: string = '';\r\n @Prop() showHelpIcon: boolean;\r\n @Prop() showLeadingIcon: boolean = false;\r\n @Prop() iconSwap: string = '';\r\n @Prop() text: boolean = false;\r\n @Prop() leadingIcon: string = '';\r\n @Prop() icon: 'country' | 'avatar' | 'dot' | 'false';\r\n @Prop({ mutable: true }) items: any[] = [\r\n // { name: 'Mock Item A', username: 'A', selected: false },\r\n // { name: 'Mock Item B', username: 'B', selected: false },\r\n // { name: 'Mock Item C', username: 'C', selected: false },\r\n // { name: 'Mock Item D', username: 'D', selected: false },\r\n // { name: 'Mock Item E', username: 'E', selected: false },\r\n // 45,\r\n // 50,\r\n // 20,\r\n // 25,\r\n // 90,\r\n // 92,\r\n // 53,\r\n // 'Activated',\r\n // 'Deactivated',\r\n // 'John Doe',\r\n // 'John smith',\r\n // 'Jane leo'\r\n ];\r\n @Prop({ mutable: true }) value: any[] = [\r\n // { name: 'Mock Item A', username: 'A', selected: false },\r\n // { name: 'Mock Item B', username: 'B', selected: false },\r\n // { name: 'Mock Item C', username: 'C', selected: false },\r\n // 45,\r\n // 50,\r\n // 20,\r\n // 25,\r\n // 90,\r\n // 'Activated',\r\n // 'Deactivated',\r\n // 'Transaction Status'\r\n ];\r\n @Prop() supportingText: boolean = false;\r\n @Prop() color: AvatarColorTypes;\r\n @Prop() showBorder: boolean = false;\r\n @Prop() menuPosition: 'top' | ' bottom';\r\n @Prop() showSearchInput: boolean = false;\r\n @Prop() inputValue: string;\r\n @Prop() destructive: boolean = false;\r\n @Prop() errorText: string = '';\r\n @State() leadingIconSvg: string = '';\r\n @State() dropdownOpen: boolean = false;\r\n @State() selectedItems: any[] = [];\r\n @State() unselectedItems: any[] = [];\r\n @State() selectedItem: any;\r\n @State() searchItem: any;\r\n @State() searchResults: any;\r\n @Element() el: HTMLElement;\r\n // @Event() dropdownValue: EventEmitter<any>;\r\n @Event() dropdownItemSelected: EventEmitter<any>;\r\n\r\n dropdownRef!: HTMLElement;\r\n\r\n searchItems(event: CustomEvent<any>) {\r\n this.searchItem = event.detail;\r\n this.searchResults = this.items.filter(item => {\r\n if (typeof item === 'string') {\r\n return item.toLowerCase().includes(this.searchItem.toLowerCase());\r\n } else if (typeof item === 'number') {\r\n return item.toString().includes(this.searchItem.toString());\r\n } else if (typeof item === 'object') {\r\n return item.name.toLowerCase().includes(this.searchItem.toLowerCase());\r\n }\r\n });\r\n }\r\n\r\n disconnectedCallback() {\r\n document.removeEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n @Listen('click', { target: 'document' })\r\n handleClickOutside(event: MouseEvent) {\r\n if (this.dropdownOpen && !this.el.contains(event.target as Node)) {\r\n this.dropdownOpen = false;\r\n }\r\n }\r\n\r\n toggleDropdown(event: MouseEvent) {\r\n if (this.state !== 'disabled') {\r\n this.dropdownOpen = !this.dropdownOpen;\r\n }\r\n\r\n // console.log(this.inputValue);\r\n event.stopPropagation();\r\n }\r\n\r\n isItemSelected(item) {\r\n const isObject = typeof item === 'object';\r\n if (this.value.length === 0) {\r\n return this.selectedItems.some(i => (isObject ? i.name === item.name : i === item));\r\n } else if (this.value.length > 0) {\r\n return this.value.some(i => (isObject ? i.name === item.name : i === item));\r\n }\r\n }\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n getAvatarSize() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'xs';\r\n case 'md':\r\n return 'xs';\r\n }\r\n }\r\n\r\n sortDropdownItems(menuItems: any[]): any[] {\r\n return menuItems.sort((a, b) => {\r\n if (a.selected && !b.selected) {\r\n return -1; // Move selected items up\r\n } else if (!a.selected && b.selected) {\r\n return 1; // Keep unselected items down\r\n }\r\n return 0; // Keep order if both are selected or unselected\r\n });\r\n }\r\n\r\n handleItemSelect(item) {\r\n this.destructive = false;\r\n \r\n if (this.type === 'tags') {\r\n if (this.state === 'default') {\r\n this.selectMultipleItems(item);\r\n // console.log(this.state);\r\n } else if (this.state === 'filled' && this.value.length > 0) {\r\n this.state = 'default';\r\n this.value.length = 0;\r\n // console.log(this.state);\r\n this.selectMultipleItems(item);\r\n } else if (this.state === 'filled' && this.value.length === 0) {\r\n this.selectMultipleItems(item);\r\n // console.log(this.state);\r\n }\r\n } else {\r\n if (this.state === 'default') {\r\n this.singleItemSelect(item);\r\n // console.log(this.state);\r\n } else if (this.state === 'filled' && this.value.length > 0) {\r\n this.state = 'default';\r\n this.value.length = 0;\r\n this.singleItemSelect(item);\r\n // console.log(this.state);\r\n } else if (this.state === 'filled' && this.value.length === 0) {\r\n this.singleItemSelect(item);\r\n // console.log(this.state);\r\n }\r\n }\r\n\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n // console.log(this.state)\r\n }\r\n\r\n singleItemSelect(item) {\r\n // Handle single selection for other types\r\n this.selectedItem = item; // Store single selected item\r\n this.selectedItems = [item]; // Ensure only one item in selectedItems\r\n\r\n // Close the dropdown after selection for single selection types\r\n this.dropdownOpen = false;\r\n // console.log(this.selectedItems);\r\n this.dropdownItemSelected.emit(this.selectedItem);\r\n }\r\n\r\n selectMultipleItems(item) {\r\n const isObject = typeof item === 'object';\r\n\r\n const isSelected = this.selectedItems.some(i => (isObject ? i.name === item.name : i === item));\r\n\r\n if (isSelected) {\r\n // Unselect item: Move it from selectedItems to unselectedItems\r\n this.selectedItems = this.selectedItems.filter(i => (isObject ? i.name !== item.name : i !== item));\r\n if (!this.unselectedItems.some(i => (isObject ? i.name === item.name : i === item))) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n } else {\r\n // Select item: Move it from unselectedItems to selectedItems\r\n this.selectedItems = [...this.selectedItems, item];\r\n this.unselectedItems = this.unselectedItems.filter(i => (isObject ? i.name !== item.name : i !== item));\r\n // console.log(this.selectedItems);\r\n\r\n this.dropdownItemSelected.emit(this.selectedItems);\r\n }\r\n }\r\n\r\n handleTagRemove(item) {\r\n if (this.value.length === 0) {\r\n const isObject = typeof item === 'object';\r\n\r\n // Remove item from selectedItems\r\n this.selectedItems = this.selectedItems.filter(i => (isObject ? i.name !== item.name : i !== item));\r\n\r\n // Add item back to unselectedItems if not already present\r\n if (!this.unselectedItems.some(i => (isObject ? i.name === item.name : i === item))) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n\r\n // Optionally update state or emit event\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n } else if (this.value.length > 0) {\r\n const isObject = typeof item === 'object';\r\n\r\n // Remove item from selectedItems\r\n this.value = this.value.filter(i => (isObject ? i.name !== item.name : i !== item));\r\n this.selectedItems = this.value;\r\n\r\n // Add item back to unselectedItems if not already present\r\n if (!this.unselectedItems.some(i => (isObject ? i.name === item.name : i === item))) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n\r\n // Optionally update state or emit event\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n }\r\n\r\n componentWillRender() {\r\n if (this.value.length > 0 && this.state === 'default') {\r\n this.state = 'filled';\r\n }\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.leadingIcon);\r\n\r\n if (this.type !== 'tags') {\r\n this.selectedItem = null; // For single selection types\r\n }\r\n\r\n if (this.value.length > 0) {\r\n this.selectedItems = [];\r\n this.unselectedItems = [];\r\n\r\n // Separate objects from primitive values\r\n const objectValues = this.value.filter(val => typeof val === 'object' && val !== null);\r\n const primitiveValues = this.value.filter(val => typeof val !== 'object');\r\n\r\n // Find selected items\r\n this.selectedItems = this.items.filter(item => {\r\n if (typeof item === 'object' && item !== null) {\r\n return objectValues.some(val => val.name === item.name);\r\n } else {\r\n return primitiveValues.includes(item);\r\n }\r\n });\r\n\r\n // Find unselected items\r\n this.unselectedItems = this.items.filter(item => {\r\n if (typeof item === 'object' && item !== null) {\r\n return !objectValues.some(val => val.name === item.name);\r\n } else {\r\n return !primitiveValues.includes(item);\r\n }\r\n });\r\n } else {\r\n // If value array is empty, all items are unselected\r\n this.selectedItems = [];\r\n this.unselectedItems = [...this.items];\r\n }\r\n\r\n // console.log('Selected Items:', this.selectedItems);\r\n // console.log('Unselected Items:', this.unselectedItems);\r\n }\r\n\r\n componentDidLoad() {\r\n if (this.type !== 'tags') {\r\n document.addEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n const mainTextSlot = this.el.querySelector('[slot=\"tooltip_label\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"tooltip_supporting_text\"]');\r\n\r\n if (slottedInitials) {\r\n slottedInitials.classList.add('text-xxs-semi-bold');\r\n }\r\n\r\n if (mainTextSlot) {\r\n mainTextSlot.classList.add('text-xs-semi-bold');\r\n }\r\n\r\n if (supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-xs-regular');\r\n }\r\n }\r\n\r\n applyColorToInitials() {\r\n switch (this.color) {\r\n case 'gray':\r\n return 'gray';\r\n case 'blue':\r\n return 'blue';\r\n case 'cyan':\r\n return 'cyan';\r\n case 'pink':\r\n return 'pink';\r\n case 'purple':\r\n return 'purple';\r\n case 'green':\r\n return 'green';\r\n case 'yellow':\r\n return 'yellow';\r\n }\r\n }\r\n\r\n render() {\r\n const emptyStateBackground = getAssetPath('assets/empty-state-background.svg');\r\n const illustration = getAssetPath('assets/empty-state-no-data.svg');\r\n\r\n return [\r\n <div class={`input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`}>\r\n <div class={`input_with_label`}>\r\n {this.showLabel && (\r\n <p class=\"text-sm-regular\" style={{ color: '#4B5565' }}>\r\n {this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()}\r\n </p>\r\n )}\r\n <div\r\n class={`input_dropdown_div ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''} ${this.type === 'tags' ? 'tag' : ''} ${\r\n this.dropdownOpen ? 'focused' : ''\r\n }`}\r\n onClick={e => this.toggleDropdown(e)}\r\n >\r\n {this.type === 'icon_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <>\r\n {this.state === 'default' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.state === 'filled' && (\r\n <gb-avatar size=\"xs\" text={this.text} color={this.color} show-border={this.showBorder}>\r\n {this.selectedItems.map(item => (\r\n <>\r\n {typeof item === 'object' ? (\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n ) : (\r\n <h1 slot=\"initials\">{item.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n )}\r\n </>\r\n ))}\r\n </gb-avatar>\r\n )}\r\n </>\r\n )}\r\n {this.showLeadingIcon && <>{this.type === 'search' || this.type === 'tags' ? <div class={`icon`} innerHTML={this.leadingIconSvg}></div> : null}</>}\r\n {this.type === 'dot_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`dot ${this.size}`}>\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#079455\" />\r\n </svg>\r\n )}\r\n <>\r\n {this.state === 'default' && (\r\n <>\r\n {this.placeholder && (\r\n <div class=\"placeholder\">\r\n <p class=\"text-md-regular\" style={{ color: '#CDD5DF' }}>\r\n {this.placeholder}\r\n </p>\r\n </div>\r\n )}\r\n </>\r\n )}\r\n {this.state === 'filled' && (\r\n <>\r\n <div class={`content`}>\r\n <div class={`text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`} style={{ color: '#4B5565' }}>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.value.length === 0 ? (\r\n <>\r\n {this.selectedItems.map((item, index) =>\r\n typeof item === 'object' ? (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\" onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name\r\n .split(' ')\r\n .map(part => part.charAt(0).toUpperCase())\r\n .join('')}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ) : (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\" onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item}</p>\r\n </gb-tag>\r\n </div>\r\n ),\r\n )}\r\n </>\r\n ) : (\r\n <>\r\n {this.value.map((item, index) =>\r\n typeof item === 'object' ? (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\" onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name\r\n .split(' ')\r\n .map(part => part.charAt(0).toUpperCase())\r\n .join('')}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ) : (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\" onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item}</p>\r\n </gb-tag>\r\n </div>\r\n ),\r\n )}\r\n </>\r\n )}\r\n </>\r\n ) : (\r\n <p class=\"selected_text\">\r\n {this.value.length === 0 ? this.selectedItem?.name || this.selectedItem : <>{this.value.map(item => (typeof item === 'object' ? item.name : item))}</>}\r\n </p>\r\n )}\r\n </div>\r\n {this.supportingText && (\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.type !== 'tags' && (\r\n <>{this.value.length === 0 ? <>{this.selectedItem.username}</> : <>{this.value.map(item => typeof item === 'object' && item.username)}</>}</>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </>\r\n )}\r\n {this.state === 'disabled' && (\r\n <>\r\n <div class={`content`}>\r\n <div class={`text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`} style={{ color: '#4B5565' }}>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.value.map((item, index) =>\r\n typeof item === 'object' ? (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\">\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name\r\n .split(' ')\r\n .map(part => part.charAt(0).toUpperCase())\r\n .join('')}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ) : (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\">\r\n <p class=\"text-xs-medium\">{item}</p>\r\n </gb-tag>\r\n </div>\r\n ),\r\n )}\r\n </>\r\n ) : (\r\n <>{<>{this.value.map(item => (typeof item === 'object' ? item.name : item))}</>}</>\r\n )}\r\n </div>\r\n {this.supportingText && (\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.type !== 'tags' && (\r\n <>{this.value.length === 0 ? <>{this.selectedItem.username}</> : <>{this.value.map(item => typeof item === 'object' && <>{item.username}</>)}</>}</>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </>\r\n )}\r\n </>\r\n {this.showHelpIcon && (\r\n <div class={`help_icon`}>\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n </div>\r\n )}\r\n {this.type !== 'search' && (\r\n <div class={`dropdown_icon ${this.dropdownOpen ? 'opened' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class={`${this.state}`}>\r\n <path\r\n d=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n <>\r\n {this.dropdownOpen && (\r\n <div class={`dropdown_menu ${this.menuPosition}`} ref={el => (this.dropdownRef = el)} onClick={e => e.stopPropagation()}>\r\n {this.showSearchInput && (\r\n <div class=\"dropdown_search_field\">\r\n <gb-input-field\r\n size=\"sm\"\r\n value={this.inputValue}\r\n show-close-button={this.inputValue ? true : false}\r\n icon-swap=\"assets/search-01.svg\"\r\n placeholder=\"Search banks\"\r\n type=\"icon_leading\"\r\n labelText=\"label\"\r\n idOfInput=\"3\"\r\n onInputValueChanged={this.searchItems.bind(this)}\r\n ></gb-input-field>\r\n </div>\r\n )}\r\n {this.searchItem ? (\r\n <>\r\n {this.searchItem !== '' && this.searchResults.length > 0 ? (\r\n <>\r\n {this.searchResults.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">{item.username}</p>\r\n </>\r\n ) : (\r\n <p slot=\"name\">{item}</p>\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n ) : this.searchItem !== '' && this.searchResults.length === 0 ? (\r\n //Empty state for when there are no search results\r\n <div class=\"empty_state\">\r\n <img src={emptyStateBackground} class=\"background\" alt=\"\" />\r\n <div class=\"message_background\">\r\n <img src={illustration} alt=\"\" class=\"illustration\" />\r\n <p class=\"message text-md-semi-bold\">No results available</p>\r\n </div>\r\n </div>\r\n ) : null}\r\n </>\r\n ) : (\r\n <>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.selectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={true}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">{item.username}</p>\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n </>\r\n ) : (\r\n <>\r\n <p slot=\"name\">{item}</p>\r\n <h1 slot=\"initials\">{item.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n </>\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n {this.unselectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={false}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">{item.username}</p>\r\n </>\r\n ) : (\r\n <p slot=\"name\">{item}</p>\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n ) : (\r\n <>\r\n {this.items.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n color={this.color}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n <p slot=\"supporting_text\">{item.username}</p>\r\n </>\r\n ) : (\r\n typeof item !== 'object' && (\r\n <>\r\n <p slot=\"name\">{item}</p>\r\n <h1 slot=\"initials\">{item}</h1>\r\n </>\r\n )\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n )}\r\n </>\r\n </div>\r\n </div>\r\n {this.showHintText && <>{!this.destructive ? <p class=\"hint_text text-sm-regular\">{this.hintText}</p> : <p class=\"error_text text-sm-regular\">{this.errorText}</p>}</>}\r\n </div>,\r\n ];\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"gb-input-dropdown.js","sourceRoot":"","sources":["../../../src/components/gb-input-dropdown/gb-input-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AACxH,OAAO,EAAiD,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMvG,MAAM,OAAO,eAAe;;;;;yBAIG,KAAK;qBACV,EAAE;2BACI,EAAE;;wBAEL,EAAE;;+BAEM,KAAK;wBACb,EAAE;oBACL,KAAK;2BACC,EAAE;;qBAEQ;QACtC,2DAA2D;QAC3D,2DAA2D;QAC3D,2DAA2D;QAC3D,2DAA2D;QAC3D,2DAA2D;QAC3D,MAAM;QACN,MAAM;QACN,MAAM;QACN,MAAM;QACN,MAAM;QACN,MAAM;QACN,MAAM;QACN,eAAe;QACf,iBAAiB;QACjB,cAAc;QACd,gBAAgB;QAChB,aAAa;SACd;qBACuC;QACtC,2DAA2D;QAC3D,2DAA2D;QAC3D,2DAA2D;QAC3D,MAAM;QACN,MAAM;QACN,MAAM;QACN,MAAM;QACN,MAAM;QACN,eAAe;QACf,iBAAiB;QACjB,uBAAuB;SACxB;8BACiC,KAAK;;0BAET,KAAK;;+BAEA,KAAK;;2BAEQ,KA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Fragment, Element, State, getAssetPath, Listen, Event, EventEmitter } from '@stencil/core';\r\nimport { AvatarColorTypes, DropdownTypes, GeneralSizes, StateEnum } from '../../models/reusableModels';\r\n@Component({\r\n tag: 'gb-input-dropdown',\r\n styleUrl: 'gb-input-dropdown.css',\r\n shadow: true,\r\n})\r\nexport class GbInputDropdown {\r\n @Prop() type: DropdownTypes;\r\n @Prop({ mutable: true }) state: 'default' | 'focused' | 'disabled' | 'filled';\r\n @Prop() size: GeneralSizes;\r\n @Prop() showLabel: boolean = false;\r\n @Prop() label: string = '';\r\n @Prop() placeholder: string = '';\r\n @Prop() showHintText: boolean;\r\n @Prop() hintText: string = '';\r\n @Prop() showHelpIcon: boolean;\r\n @Prop() showLeadingIcon: boolean = false;\r\n @Prop() iconSwap: string = '';\r\n @Prop() text: boolean = false;\r\n @Prop() leadingIcon: string = '';\r\n @Prop() icon: 'country' | 'avatar' | 'dot' | 'false';\r\n @Prop({ mutable: true }) items: any[] = [\r\n // { name: 'Mock Item A', username: 'A', selected: false },\r\n // { name: 'Mock Item B', username: 'B', selected: false },\r\n // { name: 'Mock Item C', username: 'C', selected: false },\r\n // { name: 'Mock Item D', username: 'D', selected: false },\r\n // { name: 'Mock Item E', username: 'E', selected: false },\r\n // 45,\r\n // 50,\r\n // 20,\r\n // 25,\r\n // 90,\r\n // 92,\r\n // 53,\r\n // 'Activated',\r\n // 'Deactivated',\r\n // 'John Doe',\r\n // 'John smith',\r\n // 'Jane leo'\r\n ];\r\n @Prop({ mutable: true }) value: any[] = [\r\n // { name: 'Mock Item A', username: 'A', selected: false },\r\n // { name: 'Mock Item B', username: 'B', selected: false },\r\n // { name: 'Mock Item C', username: 'C', selected: false },\r\n // 45,\r\n // 50,\r\n // 20,\r\n // 25,\r\n // 90,\r\n // 'Activated',\r\n // 'Deactivated',\r\n // 'Transaction Status'\r\n ];\r\n @Prop() supportingText: boolean = false;\r\n @Prop() color: AvatarColorTypes;\r\n @Prop() showBorder: boolean = false;\r\n @Prop() menuPosition: 'top' | ' bottom';\r\n @Prop() showSearchInput: boolean = false;\r\n @Prop() inputValue: string;\r\n @Prop({ mutable: true }) destructive: boolean = false;\r\n @Prop() errorText: string = '';\r\n @State() leadingIconSvg: string = '';\r\n @State() dropdownOpen: boolean = false;\r\n @State() selectedItems: any[] = [];\r\n @State() unselectedItems: any[] = [];\r\n @State() selectedItem: any;\r\n @State() searchItem: any;\r\n @State() searchResults: any;\r\n @Element() el: HTMLElement;\r\n // @Event() dropdownValue: EventEmitter<any>;\r\n @Event() dropdownItemSelected: EventEmitter<any>;\r\n\r\n dropdownRef!: HTMLElement;\r\n\r\n searchItems(event: CustomEvent<any>) {\r\n this.searchItem = event.detail;\r\n this.searchResults = this.items.filter(item => {\r\n if (typeof item === 'string') {\r\n return item.toLowerCase().includes(this.searchItem.toLowerCase());\r\n } else if (typeof item === 'number') {\r\n return item.toString().includes(this.searchItem.toString());\r\n } else if (typeof item === 'object') {\r\n return item.name.toLowerCase().includes(this.searchItem.toLowerCase());\r\n }\r\n });\r\n }\r\n\r\n disconnectedCallback() {\r\n document.removeEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n @Listen('click', { target: 'document' })\r\n handleClickOutside(event: MouseEvent) {\r\n if (this.dropdownOpen && !this.el.contains(event.target as Node)) {\r\n this.dropdownOpen = false;\r\n }\r\n }\r\n\r\n toggleDropdown(event: MouseEvent) {\r\n if (this.state !== 'disabled') {\r\n this.dropdownOpen = !this.dropdownOpen;\r\n }\r\n\r\n // console.log(this.inputValue);\r\n event.stopPropagation();\r\n }\r\n\r\n isItemSelected(item) {\r\n const isObject = typeof item === 'object';\r\n if (this.value.length === 0) {\r\n return this.selectedItems.some(i => (isObject ? i.name === item.name : i === item));\r\n } else if (this.value.length > 0) {\r\n return this.value.some(i => (isObject ? i.name === item.name : i === item));\r\n }\r\n }\r\n\r\n async loadIcon(iconName: string) {\r\n const iconPath = getAssetPath(`${iconName}`);\r\n const response = await fetch(iconPath);\r\n const svg = await response.text();\r\n this.leadingIconSvg = svg;\r\n }\r\n\r\n getAvatarSize() {\r\n switch (this.size) {\r\n case 'sm':\r\n return 'xs';\r\n case 'md':\r\n return 'xs';\r\n }\r\n }\r\n\r\n sortDropdownItems(menuItems: any[]): any[] {\r\n return menuItems.sort((a, b) => {\r\n if (a.selected && !b.selected) {\r\n return -1; // Move selected items up\r\n } else if (!a.selected && b.selected) {\r\n return 1; // Keep unselected items down\r\n }\r\n return 0; // Keep order if both are selected or unselected\r\n });\r\n }\r\n\r\n handleItemSelect(item) {\r\n this.destructive = false;\r\n \r\n if (this.type === 'tags') {\r\n if (this.state === 'default') {\r\n this.selectMultipleItems(item);\r\n // console.log(this.state);\r\n } else if (this.state === 'filled' && this.value.length > 0) {\r\n this.state = 'default';\r\n this.value.length = 0;\r\n // console.log(this.state);\r\n this.selectMultipleItems(item);\r\n } else if (this.state === 'filled' && this.value.length === 0) {\r\n this.selectMultipleItems(item);\r\n // console.log(this.state);\r\n }\r\n } else {\r\n if (this.state === 'default') {\r\n this.singleItemSelect(item);\r\n // console.log(this.state);\r\n } else if (this.state === 'filled' && this.value.length > 0) {\r\n this.state = 'default';\r\n this.value.length = 0;\r\n this.singleItemSelect(item);\r\n // console.log(this.state);\r\n } else if (this.state === 'filled' && this.value.length === 0) {\r\n this.singleItemSelect(item);\r\n // console.log(this.state);\r\n }\r\n }\r\n\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n // console.log(this.state)\r\n }\r\n\r\n singleItemSelect(item) {\r\n // Handle single selection for other types\r\n this.selectedItem = item; // Store single selected item\r\n this.selectedItems = [item]; // Ensure only one item in selectedItems\r\n\r\n // Close the dropdown after selection for single selection types\r\n this.dropdownOpen = false;\r\n // console.log(this.selectedItems);\r\n this.dropdownItemSelected.emit(this.selectedItem);\r\n }\r\n\r\n selectMultipleItems(item) {\r\n const isObject = typeof item === 'object';\r\n\r\n const isSelected = this.selectedItems.some(i => (isObject ? i.name === item.name : i === item));\r\n\r\n if (isSelected) {\r\n // Unselect item: Move it from selectedItems to unselectedItems\r\n this.selectedItems = this.selectedItems.filter(i => (isObject ? i.name !== item.name : i !== item));\r\n if (!this.unselectedItems.some(i => (isObject ? i.name === item.name : i === item))) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n } else {\r\n // Select item: Move it from unselectedItems to selectedItems\r\n this.selectedItems = [...this.selectedItems, item];\r\n this.unselectedItems = this.unselectedItems.filter(i => (isObject ? i.name !== item.name : i !== item));\r\n // console.log(this.selectedItems);\r\n\r\n this.dropdownItemSelected.emit(this.selectedItems);\r\n }\r\n }\r\n\r\n handleTagRemove(item) {\r\n if (this.value.length === 0) {\r\n const isObject = typeof item === 'object';\r\n\r\n // Remove item from selectedItems\r\n this.selectedItems = this.selectedItems.filter(i => (isObject ? i.name !== item.name : i !== item));\r\n\r\n // Add item back to unselectedItems if not already present\r\n if (!this.unselectedItems.some(i => (isObject ? i.name === item.name : i === item))) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n\r\n // Optionally update state or emit event\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n } else if (this.value.length > 0) {\r\n const isObject = typeof item === 'object';\r\n\r\n // Remove item from selectedItems\r\n this.value = this.value.filter(i => (isObject ? i.name !== item.name : i !== item));\r\n this.selectedItems = this.value;\r\n\r\n // Add item back to unselectedItems if not already present\r\n if (!this.unselectedItems.some(i => (isObject ? i.name === item.name : i === item))) {\r\n this.unselectedItems = [...this.unselectedItems, item];\r\n }\r\n\r\n // Optionally update state or emit event\r\n this.state = this.selectedItems.length > 0 ? 'filled' : 'default';\r\n }\r\n }\r\n\r\n componentWillRender() {\r\n if (this.value.length > 0 && this.state === 'default') {\r\n this.state = 'filled';\r\n }\r\n }\r\n\r\n componentWillLoad() {\r\n this.loadIcon(this.leadingIcon);\r\n\r\n if (this.type !== 'tags') {\r\n this.selectedItem = null; // For single selection types\r\n }\r\n\r\n if (this.value.length > 0) {\r\n this.selectedItems = [];\r\n this.unselectedItems = [];\r\n\r\n // Separate objects from primitive values\r\n const objectValues = this.value.filter(val => typeof val === 'object' && val !== null);\r\n const primitiveValues = this.value.filter(val => typeof val !== 'object');\r\n\r\n // Find selected items\r\n this.selectedItems = this.items.filter(item => {\r\n if (typeof item === 'object' && item !== null) {\r\n return objectValues.some(val => val.name === item.name);\r\n } else {\r\n return primitiveValues.includes(item);\r\n }\r\n });\r\n\r\n // Find unselected items\r\n this.unselectedItems = this.items.filter(item => {\r\n if (typeof item === 'object' && item !== null) {\r\n return !objectValues.some(val => val.name === item.name);\r\n } else {\r\n return !primitiveValues.includes(item);\r\n }\r\n });\r\n } else {\r\n // If value array is empty, all items are unselected\r\n this.selectedItems = [];\r\n this.unselectedItems = [...this.items];\r\n }\r\n\r\n // console.log('Selected Items:', this.selectedItems);\r\n // console.log('Unselected Items:', this.unselectedItems);\r\n }\r\n\r\n componentDidLoad() {\r\n if (this.type !== 'tags') {\r\n document.addEventListener('click', this.handleClickOutside);\r\n }\r\n\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n\r\n const mainTextSlot = this.el.querySelector('[slot=\"tooltip_label\"]');\r\n const supportingTextSlot = this.el.querySelector('[slot=\"tooltip_supporting_text\"]');\r\n\r\n if (slottedInitials) {\r\n slottedInitials.classList.add('text-xxs-semi-bold');\r\n }\r\n\r\n if (mainTextSlot) {\r\n mainTextSlot.classList.add('text-xs-semi-bold');\r\n }\r\n\r\n if (supportingTextSlot) {\r\n supportingTextSlot.classList.add('text-xs-regular');\r\n }\r\n }\r\n\r\n applyColorToInitials() {\r\n switch (this.color) {\r\n case 'gray':\r\n return 'gray';\r\n case 'blue':\r\n return 'blue';\r\n case 'cyan':\r\n return 'cyan';\r\n case 'pink':\r\n return 'pink';\r\n case 'purple':\r\n return 'purple';\r\n case 'green':\r\n return 'green';\r\n case 'yellow':\r\n return 'yellow';\r\n }\r\n }\r\n\r\n render() {\r\n const emptyStateBackground = getAssetPath('assets/empty-state-background.svg');\r\n const illustration = getAssetPath('assets/empty-state-no-data.svg');\r\n\r\n return [\r\n <div class={`input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`}>\r\n <div class={`input_with_label`}>\r\n {this.showLabel && (\r\n <p class=\"text-sm-regular\" style={{ color: '#4B5565' }}>\r\n {this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()}\r\n </p>\r\n )}\r\n <div\r\n class={`input_dropdown_div ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''} ${this.type === 'tags' ? 'tag' : ''} ${\r\n this.dropdownOpen ? 'focused' : ''\r\n }`}\r\n onClick={e => this.toggleDropdown(e)}\r\n >\r\n {this.type === 'icon_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.type === 'avatar_leading' && (\r\n <>\r\n {this.state === 'default' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\r\n <path\r\n d=\"M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n <path\r\n d=\"M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z\"\r\n stroke=\"#4B5565\"\r\n stroke-width=\"1.66667\"\r\n />\r\n </svg>\r\n )}\r\n {this.state === 'filled' && (\r\n <gb-avatar size=\"xs\" text={this.text} color={this.color} show-border={this.showBorder}>\r\n {this.selectedItems.map(item => (\r\n <>\r\n {typeof item === 'object' ? (\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n ) : (\r\n <h1 slot=\"initials\">{item.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n )}\r\n </>\r\n ))}\r\n </gb-avatar>\r\n )}\r\n </>\r\n )}\r\n {this.showLeadingIcon && <>{this.type === 'search' || this.type === 'tags' ? <div class={`icon`} innerHTML={this.leadingIconSvg}></div> : null}</>}\r\n {this.type === 'dot_leading' && (\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" class={`dot ${this.size}`}>\r\n <circle cx=\"5\" cy=\"5\" r=\"4\" fill=\"#079455\" />\r\n </svg>\r\n )}\r\n <>\r\n {this.state === 'default' && (\r\n <>\r\n {this.placeholder && (\r\n <div class=\"placeholder\">\r\n <p class=\"text-md-regular\" style={{ color: '#CDD5DF' }}>\r\n {this.placeholder}\r\n </p>\r\n </div>\r\n )}\r\n </>\r\n )}\r\n {this.state === 'filled' && (\r\n <>\r\n <div class={`content`}>\r\n <div class={`text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`} style={{ color: '#4B5565' }}>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.value.length === 0 ? (\r\n <>\r\n {this.selectedItems.map((item, index) =>\r\n typeof item === 'object' ? (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\" onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name\r\n .split(' ')\r\n .map(part => part.charAt(0).toUpperCase())\r\n .join('')}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ) : (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\" onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item}</p>\r\n </gb-tag>\r\n </div>\r\n ),\r\n )}\r\n </>\r\n ) : (\r\n <>\r\n {this.value.map((item, index) =>\r\n typeof item === 'object' ? (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\" onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name\r\n .split(' ')\r\n .map(part => part.charAt(0).toUpperCase())\r\n .join('')}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ) : (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\" onClick={() => this.handleTagRemove(item)}>\r\n <p class=\"text-xs-medium\">{item}</p>\r\n </gb-tag>\r\n </div>\r\n ),\r\n )}\r\n </>\r\n )}\r\n </>\r\n ) : (\r\n <p class=\"selected_text\">\r\n {this.value.length === 0 ? this.selectedItem?.name || this.selectedItem : <>{this.value.map(item => (typeof item === 'object' ? item.name : item))}</>}\r\n </p>\r\n )}\r\n </div>\r\n {this.supportingText && (\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.type !== 'tags' && (\r\n <>{this.value.length === 0 ? <>{this.selectedItem.username}</> : <>{this.value.map(item => typeof item === 'object' && item.username)}</>}</>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </>\r\n )}\r\n {this.state === 'disabled' && (\r\n <>\r\n <div class={`content`}>\r\n <div class={`text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`} style={{ color: '#4B5565' }}>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.value.map((item, index) =>\r\n typeof item === 'object' ? (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\">\r\n <p class=\"text-xs-medium\">{item.name.split(' ')[0]}</p>\r\n <h1 slot=\"initials\" class=\"text-xxs-semi-bold\">\r\n {item.name\r\n .split(' ')\r\n .map(part => part.charAt(0).toUpperCase())\r\n .join('')}\r\n </h1>\r\n </gb-tag>\r\n </div>\r\n ) : (\r\n <div class=\"added_tag\" key={index}>\r\n <gb-tag size=\"sm\" icon={this.icon ? this.icon : 'avatar'} action=\"X_close\">\r\n <p class=\"text-xs-medium\">{item}</p>\r\n </gb-tag>\r\n </div>\r\n ),\r\n )}\r\n </>\r\n ) : (\r\n <>{<>{this.value.map(item => (typeof item === 'object' ? item.name : item))}</>}</>\r\n )}\r\n </div>\r\n {this.supportingText && (\r\n <div class=\"supporting_text text-sm-regular\" style={{ color: '#697586' }}>\r\n {this.type !== 'tags' && (\r\n <>{this.value.length === 0 ? <>{this.selectedItem.username}</> : <>{this.value.map(item => typeof item === 'object' && <>{item.username}</>)}</>}</>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n </>\r\n )}\r\n </>\r\n {this.showHelpIcon && (\r\n <div class={`help_icon`}>\r\n <gb-help-tooltip show-supporting-text={true}>\r\n <slot name=\"tooltip_label\" slot=\"label\"></slot>\r\n <slot name=\"tooltip_supporting_text\" slot=\"supporting_text\"></slot>\r\n </gb-help-tooltip>\r\n </div>\r\n )}\r\n {this.type !== 'search' && (\r\n <div class={`dropdown_icon ${this.dropdownOpen ? 'opened' : ''}`}>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" class={`${this.state}`}>\r\n <path\r\n d=\"M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5\"\r\n stroke=\"#697586\"\r\n stroke-width=\"1.66667\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </div>\r\n )}\r\n <>\r\n {this.dropdownOpen && (\r\n <div class={`dropdown_menu ${this.menuPosition}`} ref={el => (this.dropdownRef = el)} onClick={e => e.stopPropagation()}>\r\n {this.showSearchInput && (\r\n <div class=\"dropdown_search_field\">\r\n <gb-input-field\r\n size=\"sm\"\r\n value={this.inputValue}\r\n show-close-button={this.inputValue ? true : false}\r\n icon-swap=\"assets/search-01.svg\"\r\n placeholder=\"Search banks\"\r\n type=\"icon_leading\"\r\n labelText=\"label\"\r\n idOfInput=\"3\"\r\n onInputValueChanged={this.searchItems.bind(this)}\r\n ></gb-input-field>\r\n </div>\r\n )}\r\n {this.searchItem ? (\r\n <>\r\n {this.searchItem !== '' && this.searchResults.length > 0 ? (\r\n <>\r\n {this.searchResults.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">{item.username}</p>\r\n </>\r\n ) : (\r\n <p slot=\"name\">{item}</p>\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n ) : this.searchItem !== '' && this.searchResults.length === 0 ? (\r\n //Empty state for when there are no search results\r\n <div class=\"empty_state\">\r\n <img src={emptyStateBackground} class=\"background\" alt=\"\" />\r\n <div class=\"message_background\">\r\n <img src={illustration} alt=\"\" class=\"illustration\" />\r\n <p class=\"message text-md-semi-bold\">No results available</p>\r\n </div>\r\n </div>\r\n ) : null}\r\n </>\r\n ) : (\r\n <>\r\n {this.type === 'tags' ? (\r\n <>\r\n {this.selectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={true}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">{item.username}</p>\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n </>\r\n ) : (\r\n <>\r\n <p slot=\"name\">{item}</p>\r\n <h1 slot=\"initials\">{item.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n </>\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n {this.unselectedItems.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={false}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <p slot=\"supporting_text\">{item.username}</p>\r\n </>\r\n ) : (\r\n <p slot=\"name\">{item}</p>\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n ) : (\r\n <>\r\n {this.items.map(item => (\r\n <gb-input-dropdown-menu-item\r\n type={this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type}\r\n state={StateEnum.Default}\r\n supporting-text={this.supportingText}\r\n selected={this.isItemSelected(item)}\r\n color={this.color}\r\n onClick={() => this.handleItemSelect(item)}\r\n >\r\n {typeof item === 'object' ? (\r\n <>\r\n <p slot=\"name\">{item.name}</p>\r\n <h1 slot=\"initials\">{item.name.split(' ').map(part => part.charAt(0).toUpperCase())}</h1>\r\n <p slot=\"supporting_text\">{item.username}</p>\r\n </>\r\n ) : (\r\n typeof item !== 'object' && (\r\n <>\r\n <p slot=\"name\">{item}</p>\r\n <h1 slot=\"initials\">{item}</h1>\r\n </>\r\n )\r\n )}\r\n </gb-input-dropdown-menu-item>\r\n ))}\r\n </>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n )}\r\n </>\r\n </div>\r\n </div>\r\n {this.showHintText && <>{!this.destructive ? <p class=\"hint_text text-sm-regular\">{this.hintText}</p> : <p class=\"error_text text-sm-regular\">{this.errorText}</p>}</>}\r\n </div>,\r\n ];\r\n }\r\n}\r\n"]}
@@ -28,13 +28,13 @@ export class GbInputDropdownMenuItem {
28
28
  render() {
29
29
  return (
30
30
  // <div class="dropdown-container" onClick={() => (this.selected = !this.selected)}>
31
- h("div", { key: 'a655d7e77fc0e081fe9bfa912f9b20b66db74740', class: "dropdown-container", onClick: () => this.handleClick() }, h("div", { key: 'c48a220c81d2600f3fc0364c33738844a2c38d65', class: {
31
+ h("div", { key: '117e6135888ac893269803c5c6d95ceed7265098', class: "dropdown-container", onClick: () => this.handleClick() }, h("div", { key: 'aef8bcb2240941df65c194344f6af8a4608aec8a', class: {
32
32
  'dropdown-item': true,
33
33
  'selected': this.selected,
34
34
  'disabled': this.state === 'disabled',
35
35
  'checkbox': this.type === 'checkbox',
36
36
  [this.type]: true,
37
- }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: '9b6e352f33406d04368c5f5a1efd2710acdca5a5', class: "content" }, this.type === 'icon_leading' && (h("svg", { key: '47685c3749cc66a1f63f9017cc49dda6ad0402e2', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9555d2984b9e66559e4dbca315863f1bd3beeaca', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: 'c1b2fd04dca78d57ae40c1d75fe89f15bdbb5bac', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: '6e5dea0184012e184a9a064d6b162f5e40d517de', class: "avatar-icon", size: "xs", color: this.color, text: true }, h("slot", { key: '2676225d504d7910d006d36b6570ed8ec5e01ffe', name: "initials", slot: "initials" }))), this.type === 'dot_leading' && (h(Fragment, null, this.state === 'default' ? (h("svg", { id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#17B26A" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#EEF2F6" }))))), this.type === 'checkbox' && h("gb-checkbox", { key: 'a800791db71da7631619d00a78b13188efed9d97', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), h("slot", { key: 'e2a28fb76ce48faf27c5e549a056f5c0971d4fc5', name: "name" }), this.supportingText && (h("span", { key: 'bdd7da1432f0da2979139fb46c8771bace29207c' }, h("slot", { key: 'b419d6ff2e13759c0e813b7e5e3649593ea41252', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (h("div", { key: '038d40826c985e411f0bd2f48a4cea683c1f9b55', class: `tick` }, this.state !== 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#CDD5DF", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
37
+ }, role: "option", "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.state === 'disabled' ? 'true' : 'false' }, h("div", { key: '25d9c9614307799ed8f0b7bc6016a09266810c6b', class: "content" }, this.type === 'icon_leading' && (h("svg", { key: '242fa394e5a215ea7d744cee6fdaf2ac3d381933', id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '24e770dbc7370749a5dd2d3aa83a9ac9768a3154', d: "M5.48131 12.9013C4.30234 13.6034 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3334 6.32572 18.3334H13.6743C14.9621 18.3334 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6034 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.5" }), h("path", { key: '583db8a2c5cabbdf34eb27e01449c6dddf47cc8d', d: "M13.75 5.41669C13.75 7.48776 12.0711 9.16669 10 9.16669C7.92893 9.16669 6.25 7.48776 6.25 5.41669C6.25 3.34562 7.92893 1.66669 10 1.66669C12.0711 1.66669 13.75 3.34562 13.75 5.41669Z", stroke: "#4B5565", "stroke-width": "1.5" }))), this.type === 'avatar_leading' && (h("gb-avatar", { key: '3b92a16144ad9b7b78b7ef15f5f7fbe417b643af', class: "avatar-icon", size: "xs", color: this.color, text: true }, h("slot", { key: '9b20882a8b813394194474e30adad7df21aa71e2', name: "initials", slot: "initials" }))), this.type === 'dot_leading' && (h(Fragment, null, this.state === 'default' ? (h("svg", { id: "icon", xmlns: "http://www.w3.org/2000/svg", width: "10px", height: "10px", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#17B26A" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("circle", { cx: "5", cy: "5", r: "4", fill: "#EEF2F6" }))))), this.type === 'checkbox' && h("gb-checkbox", { key: 'c0f650a9afe74a0b79513ba403033a1f42319383', class: "checkbox", size: "md", type: "checkbox", state: this.state, checked: this.selected }), h("slot", { key: 'f24b9fe58ee735943fae25b2e5ca58a5a6566176', name: "name" }), this.supportingText && (h("span", { key: 'e930b39ee6b32f40d8a98323b5dd672936b53a6d' }, h("slot", { key: '7d6955a962b57b86d80577df3b7cb60cdcc18991', name: "supporting_text" })))), this.selected && this.type !== 'checkbox' && (h("div", { key: 'c27efca5eeed6cd41fbc296558a1772a5885896e', class: `tick` }, this.state !== 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#075DB2", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { d: "M4.16669 12.0834C4.16669 12.0834 5.41669 12.0834 7.08335 15C7.08335 15 11.7157 7.36115 15.8334 5.83337", stroke: "#CDD5DF", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
38
38
  }
39
39
  static get is() { return "gb-input-dropdown-menu-item"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -32,25 +32,25 @@ export class GbInputField {
32
32
  this.labelText = undefined;
33
33
  this.isReadOnly = false;
34
34
  this.results = [
35
- { objectName: 'John Doe', objectValue: 'john.doe@example.com' },
36
- { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },
37
- { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },
38
- { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },
39
- { objectName: 'Gideon Ogunkola', objectValue: 'gideon@example.com' },
40
- 10,
41
- 20,
42
- 30,
43
- 40,
44
- 50,
35
+ // { objectName: 'John Doe', objectValue: 'john.doe@example.com' },
36
+ // { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },
37
+ // { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },
38
+ // { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },
39
+ // { objectName: 'Gideon Ogunkola', objectValue: 'gideon@example.com' },
40
+ // 10,
41
+ // 20,
42
+ // 30,
43
+ // 40,
44
+ // 50,
45
45
  ];
46
46
  this.menuPosition = undefined;
47
47
  this.icon = undefined;
48
48
  this.value = [
49
- { objectName: 'John Doe', objectValue: 'john.doe@example.com' },
50
- { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },
51
- { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },
52
- { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },
53
- 10,
49
+ // { objectName: 'John Doe', objectValue: 'john.doe@example.com' },
50
+ // { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },
51
+ // { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },
52
+ // { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },
53
+ // 10,
54
54
  ];
55
55
  this.inputValue = '';
56
56
  this.tags = [];
@@ -274,23 +274,23 @@ export class GbInputField {
274
274
  // this.inputElement.removeEventListener('input', this.handleTagInput.bind(this));
275
275
  // }
276
276
  render() {
277
- return (h("div", { key: 'be9381b82575941760dbb055da7871921f925430', class: `input_container` }, h("div", { key: 'b65e3c2fe58df964e2519bd7c040cac3317bfba3', class: `input_with_label` }, this.showLabel && h("p", { key: '4958ea2914d79b015ef52534d68961f875fbc644', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
278
- h("div", { key: '64f1cb41356d9d524855a19d17a53e914f7a68e6', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '5e3368bc36fdafec5affc42be9446ad15f25a1a7', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && (h("svg", { key: '2904a84fe3cca4e5cf0e0b62dc88c49199be5134', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: 'fb547b6a6dc085472859fd73cc1b756bafadadb2', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'cd3bd8fb9b9ed8d0ea0982756b0f903dc338d3d4', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
277
+ return (h("div", { key: '3880025707991a56216492c107fae90af0bf9f31', class: `input_container` }, h("div", { key: 'beb258b3c04e7a867ca89b2915c2f621fd30e19e', class: `input_with_label` }, this.showLabel && h("p", { key: '7a6b61ff559417eb315a424fe3319f7379d785e6', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
278
+ h("div", { key: 'e16f191321d9bb754bfcd973e88f3816bb20becb', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'c08ddc35942e9eeffa1c0c2bb1fb4b6e75df320f', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && (h("svg", { key: '6685fccd2a65ff4599ade38c11472abcb77e0682', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '2223f9efc236df2fdb23abdc1135ae2def9a8082', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '619c0b202f727e97040532e6a0ed4ae9e4ae5e5e', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
279
279
  ], this.type === 'icon_leading' && [
280
- h("div", { key: '96e16687434f78dd234020308d142739953697dd', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'b7e66198d75a063b0da2760e606750a4d03d614a', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '196fdc2108c2243515adfcc0f1bafed8b172448e', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, ref: el => (this.inputRef = el) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '1fdbb405720c7a76d0cbc2aaf70d2e1005f17aaf', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: 'cca54ec7801a571a0bd66774e6dfe761cf164e69', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '3d915b97309c67b5ae95cdf2edb8dada4ebfbffc', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '7644fc5ed1d8966ac52dae89318a075b3916fd0e', size: this.size, hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput(), class: `input_close_button ${this.size}` })))),
280
+ h("div", { key: 'b7e3eb3d3e1e89f2cf196399dd2037c7275d8d00', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'bef8a8f6a7eabaf3e7982891b06bd890c10fac6d', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '2fa38ef4e09d9a08fd35851799e08d618328c920', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, ref: el => (this.inputRef = el) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '3f22da0ed187b3ac35d4012c5dde5a3143b1ba9a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '710914c08dd49c0139025b843cfc1480011b76ff', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '7a6587be5f8ffbe8b1fe60a1a65ea4e183a87952', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: '3d250bb950873c75079a9bf6217c7fc1a28a79b0', size: this.size, hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput(), class: `input_close_button ${this.size}` })))),
281
281
  ], this.type === 'leading_dropdown' && [
282
- h("div", { key: '1a8ecf1918f429ae756b4fb694abe1a6d39cf9d0', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '76e38419c410453216cfbecbd8cd0f0f17b07f25', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, this.showCountryIcon && (h("div", { key: '5f5d5dec9eb62397bcf4ea477726bfb0a05bf51c', class: `country_icon` }, h("img", { key: '214f90f9facb14cfb7c3ef4a18e75a45e5608217', src: "build/assets/NG.svg", alt: "" }))), h("div", { key: 'dd74d7fa6bf58940a22db01d7b97dbbb02a46167', class: `dropdown_text` }, h("p", { key: '04064c5d4306932e170b33b96f0dafd3eb19fd93', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '1a30d504334beb7975201aa5aa6910b88b93f971', class: `dropdown_arrow` }, h("svg", { key: 'd4bbbbd8fa7348c3d6d69e27787a583aacc0ef2c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b224d3bd4f1044c4f9fbe54c37be6fe5f69d89e5', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '790cc6b71d75cebca7197272d3c452b8aa3a88ff', class: `leading_dropdown_text_input` }, h("input", { key: 'b2a73c153af78cf12f706eb0462b587873ac414e', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'd74471737409023b513f68d932b9b53833ca6f8b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'aa9c6bd9b1d3408f4e42843eee64b58b892954f9', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'b98b6704697c6648ce42f475bfa06d6814b1352b', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
283
- h(Fragment, null, this.showDropdown && (h("div", { key: 'eefb9e14cb2f7d4d1cc54daa5779583558070890', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
282
+ h("div", { key: 'c1b5ad3c4952367b509c51866c1313facca46de5', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '0c70b6b420abef17c780d6c34277bc36a5474b44', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, this.showCountryIcon && (h("div", { key: 'ba52810e1a3d47e17dc5a690ed49b18d0383ab5a', class: `country_icon` }, h("img", { key: 'fdf359e4f30aac8864ba1947237b4f1bfc6285f7', src: "build/assets/NG.svg", alt: "" }))), h("div", { key: 'd6ec1ae474cfb1b7dd23f63318eafe88ebf7783c', class: `dropdown_text` }, h("p", { key: '3800987923c790240499df32f6d95eb21db9b7f3', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '43b0c865f4df1a29eff17c82c6cc0a5274d94b04', class: `dropdown_arrow` }, h("svg", { key: '601d72ad2402185bafc11b8029cb4b66ce55ab01', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2e2d7dba758159dec8e8adc1f18f17ea6ce3ac65', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'e0e064d7ae6696c133d0add48352dfb85f2a2866', class: `leading_dropdown_text_input` }, h("input", { key: 'ba0df80fadd61b23f6f7162d4d24bc51fa6bac85', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'e95e70ff76350459b2fdb63f125639ee52a7a3a7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '075a4270e18964e2e0d6d264942f64c626fcb7b5', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '9bfb72a5e21deecc93ef85980006012fc759a3f2', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
283
+ h(Fragment, null, this.showDropdown && (h("div", { key: '17b3eb31175bd5d346c126e9e56e8f711e29e53e', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
284
284
  ], this.type === 'trailing_dropdown' && [
285
- h("div", { key: '67c1484f56e673cd109a7681e83c5f882cae278b', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '334547137187a4bd6e4ac0598ed2d96ee484710c', class: `trailing_dropdown_content` }, h("p", { key: '2cf16ff71294edcef23c3bd06345f0ac1e7de92e', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '71379ad129363b637a3b4ca1864f716685bc1a20', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: 'f29d4a608adc3e997e59d9faf6e9f1eef53a3798', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'a2e844da9417ab09df51454546fbafc8468cccf0', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'dd968ce49377199a58a19d7f9bb4d1e7649721dd', class: `dropdown_text` }, h("p", { key: '3a5e8831611d669f4fd49e97fd3804dc5501ebc8', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '81b902ef1efdfcba2758bc37cb0391f6331848be', class: `dropdown_arrow` }, h("svg", { key: 'c7a2e8f134e501185b496da47720f07199ddbbba', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '96ef20759a5d808fc4a7067e994ea9f1632745ec', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
286
- h(Fragment, null, this.showDropdown && (h("div", { key: 'c264a021e035fd3b3dd0e5a249bde52cf5a3a8cc', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
285
+ h("div", { key: 'fe7ea7b4279a9b3397168a67de9eb34fa38b3946', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'af7af9adaedabd6187ec899f790d1d6cc33ab37d', class: `trailing_dropdown_content` }, h("p", { key: '9a183cea38f3c6bda8ffba70fa78410161a77a66', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '207dca40925249c50d48d64b23bc7e1d90c804f9', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: 'ece8b03d7c2675ae362cc72ff05a3691632f8186', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '9a661aeed025f409077eace362116e5f967767c7', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'be4a2f1fb0c304b701059a7c32ec101814dbf079', class: `dropdown_text` }, h("p", { key: '8c3ebe6492d3e3e74daeb7f140542d624972e8a8', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '016b954f9cc0787658a63700f121ff355fc4dbb0', class: `dropdown_arrow` }, h("svg", { key: '6b95c74147e5ba916bef34c0b9bfb39f0a24a36b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0a22bee245d5299b76bdf491a6cc725949b930e5', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
286
+ h(Fragment, null, this.showDropdown && (h("div", { key: 'a8b44eb92fe1e0226041c31f6b0af6b05a4e2701', class: `dropdown_menu ${this.type} ${this.size} ${this.menuPosition}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
287
287
  ], this.type === 'leading_text' && [
288
- h("div", { key: 'c7b5dd398f0f786023cee84bfb84a39a3f51463d', class: "leading_text_input" }, h("div", { key: 'fead9e5c9d979f463b2bcf83312bfdd9e8192d9e', class: `add_on` }, h("slot", { key: '2d407679477bc24a0e9b3caac3ddcd9414274bdd', name: "text" })), h("div", { key: '0b36f735a105ba7cdc70a2471c15b8cbdf3cf165', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '7aea05ed2fc41068a5c732cb5d23b6dc414ed8a3', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: '47780e768365405da1404bad3a0820a7ac33ff48', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '986ac22027bbd121a1531fdc605ede1bc51b8143', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '302877492534c4113acb896baab8cd02f617219b', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
289
- ], this.type === 'payment_input' && (h("div", { key: '9d9f99af92988a8f2489f40636a467a4ed59e629', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'e5dd0a198f71d832fb34f9688d1ef087b842f6e8', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'e03beaaec68efc1b9336d393f65b2e8559278ac9', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: 'a25edda5977ab64ec002d8af036aabe5ea3a4bee', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: 'c68f97d59646ce725d060e5a100515410ec98b13', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '794f879d54c4a6babb89e4ff5fcf810211319be1', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '94de7e44b3ee5337e5fef239675abffb72ecde2f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b3a0a41ca91b111f7bcac1cd50598fa515cbcadb', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'd65fc1f2dec3c4dcfc667b35464561ea643a1e00', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '1f82b68f5cb73080a3db7dcb4aa30364b4c982c1', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '160f4c64ccd675422089c9e5385ea12046815a5c', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '5cb42af386a77f83b36fd5dd66580782e88d4bf4', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'e829d978b750ef0b8df7a53739306b1949bbd7ce', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4fd7122395b4534899f9fe24b2d6dafef11d7903', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '574a0a347e395fe1351757468514268d98808f39', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: '97a938d6dd38410955bc0fa38651d058ca554ba9', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg", onClick: () => this.copyToClipboard() }))), this.type === 'password' && (h("div", { key: '80e31a5c6df1dd62379bfeb9f81ba63b769c9717', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c7039deac5e68fdac9a5af1cc0cc696234b6f2c8', class: `password_content` }, h("input", { key: '5eac1960f476109abe8f4226003bfbe9b06098c9', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'b772a3d670a9aa8afb2370512202ddde468d8273', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd3a5cf0254df06b80f16b1c64b666176432c2ca2', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'b879a42d07720cedb2f7a3ab7af876ea3e779c71', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '182314c606c02b592d227597b192b5f124f434a3', class: `dropdown` }, h("gb-password-button", { key: '7520db8b2e229d2047eee70f6457c9df569024eb', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'b3263c41e291bfe6346089d70e537fa49108a611', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '62390bf79bc6d7db2d21e56ecc1173f5887454dd', class: `password_icon_leading_content` }, h("svg", { key: '3fbe63619ffdd6b53dda1a16db1a984032614944', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd3ee52da639567f58a13b4fb4625f45c2a866d7b', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'c9c0a3fa60b1d8e678b4beca638abef1800653bd', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: 'f4e716e2aba2f80cd20356b6dcc61b1801886bbc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '998dce327d5d2c4ce1b442837b8a00c2996a29da', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '9a8e0a1b2626ee9cf01f90199c489d5aca75e4fe', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: '078101e4bb7e1b71c47a2afbcc6e3f6ecfdb6553', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
290
- h("div", { key: '1a57621a0a54052f0476ed4b3df9ebd5110e8e22', class: `count_input` }, h("div", { key: 'e090adb500dd6bce0a30be6a67c564098bee3fa2', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '1c87faa0a23b62f7621429f83844165e3a85e782', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: '62b0b43dc527746b18d2136545f39a6f618a11a6', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'a9476507ec1d5acbace0b225d207b4f82e604d5a', class: `action ${this.state}` }, h("gb-button", { key: 'fc7e16acb419db6c87ac6f4f4a14b6b0a53f582f', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("div", { key: '2a24cbfc1c7633ed6e19fda5ab78162c779d2fa7', class: "vertical_line" }), h("gb-button", { key: 'a807ec7d7b5ac0f73e8c2e309dfaa92b26795afe', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
291
- ], this.type === 'tags' && (h("div", { key: 'a3f55d5767c222df362789b580f7824fcc614c99', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: '6c89e3e241944695cfdadb52374273654558ea4b', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: '0e5f1598e34e759b5b786579129051afff9d0c84', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.value.length === 0 ? (h(Fragment, null, this.selectedItems.map((item, index) => (h(Fragment, null, typeof item === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, item.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, item.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, item)))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, val)))))))), h("span", { key: '9d86ddd5756f81da45b5c83700388169e4a5cde4', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: '7d6e79ec4462cf93e1429e8f0f7c74321485a059', class: "input_field" }, h("input", { key: 'd2413882ffe34a1e1b49956cb65e23ee1c012dc3', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
288
+ h("div", { key: '040b421a95ff55f5bd7d57744fc77445519d5ac2', class: "leading_text_input" }, h("div", { key: '5cdecea4cbc209f4a572e283253d335ca6d08b1e', class: `add_on` }, h("slot", { key: 'd6e4b56707075c917bc4e9bb11ac7914e896a163', name: "text" })), h("div", { key: '74cf6d30324dfb0581a492fc879d86355234b779', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '8fa24d1ddaddce239cfc31fb513d0acda1b03b29', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: '1b9a30ef5371ee2e8f369413c6b0aa455affe011', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '66631022853f41fd75b0e1f494833031f2a28dd4', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'f2ead3c7ff6c8cd1d764c03856b3fba9e939661b', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
289
+ ], this.type === 'payment_input' && (h("div", { key: '82e8c33e3eac055d6f7161cfddac1f9fde8fb893', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'd7c2cac2221630cfc3c75bba950712ef5f218630', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'c83e45eb7d4785c87aa3d7c78f5001c36840fc82', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '9291afba06e6d0e8fbfe417fa11358e41cd3b71b', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: '5c3f1381e57e21612d9f8cc21f3e3de5b8fd0d9d', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '03785745545b5dd508edd6343569b6101f32cf4a', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: '8aadc0e6e70b5edef60e796a103c7ceeeb435bea', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9bd1f86038e2379342f9ee78e3e7a8ee5cee29f0', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '16caa6058ca3ce89c06c387d6aa3dda5d51d94af', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: 'd5f7fa54ba250e07d926fa54b83e402dfaeeb02c', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '8eb428f40006197583169f8ef3008398576f87df', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '7b768389e8822618a14a163c7c3c165dc359926b', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'ea7222c888316e743df735840f4f974d803775b9', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0e37eac8151a481d0eb9af9914eba05e7d713ca0', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '9c51f4c79ead2d2624c2c2bc854804ba193630a8', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: '4f6e318f8f3df39ab8fd5e09761b8e68974bdfdc', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg", onClick: () => this.copyToClipboard() }))), this.type === 'password' && (h("div", { key: '4c400dae6277632a8a9de28fd28b71c25bd0b6dd', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '77e6eb7fe088c072b9a968a3b88fe4c6f26aacd4', class: `password_content` }, h("input", { key: 'c797fe43e67a44cb16a277aa35f9792e0ba5d00a', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: 'bc52550a9558702550101d6ed24facafee6a8585', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a86a41657541f2b76c0a692b888583f5b0087d13', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '6d1ed4445c914a01f8018bbb56b396d80404d182', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '78e56d0856fe587171539b5b62e8f40563763cf6', class: `dropdown` }, h("gb-password-button", { key: '77ffc6fb0ba10655bcfe21320e6d5fb7c1e4c90c', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '2e0b527c278b4f7de2c970190e39a524e77cd298', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'f3886e4164d4289e7bd787c7e93fc57ade94133e', class: `password_icon_leading_content` }, h("svg", { key: 'b7735efd9cf1f727016e7fa4cb0b91488e7e783d', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '8b63003689d20ecb83a2eb7bea5bd319b474780c', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: '1b80919e76ef5942185775eb288dcb50271c643e', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: '843f904bde56f24aab7083fc6bef1aaa471883bd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0631922905557a7e507d12b6049155211153cf58', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '444c915c28795e10c22c188024a35c2f9780dbf9', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: 'd4e9e6f21ec6ad1893a3e7c9aa9020d8ba78297e', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
290
+ h("div", { key: '9dfcaaab9326a728d9078d41760f60af57b9b77e', class: `count_input` }, h("div", { key: '2c9fbe300a467850a04192ef8ca278e3d559e4e7', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'd280461dca051c449e4b9eb84ee4151e58f57d7a', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: 'c473e45ff3a21971610ebf98225bf2f3d34ca1f8', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '18b853c83c33b7d0e8658a7773f276aa79830ca5', class: `action ${this.state}` }, h("gb-button", { key: 'a15fa47ae6848fcdda1ae0bc4eaa1d82469dbf0f', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("div", { key: '97f5fa4131300c6b7b9087ab489c0977221d75ce', class: "vertical_line" }), h("gb-button", { key: 'ec1f128308bf3143c561d99c153849b35a18a270', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
291
+ ], this.type === 'tags' && (h("div", { key: '795a339db98bf60d0e368e34746b8446f835fd1b', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: 'a713936a3a0ec91b2838457620dd898543d0fbe9', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: '9e7d41f9134705fd18aa947416cd1dbf8a748e3e', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.value.length === 0 ? (h(Fragment, null, this.selectedItems.map((item, index) => (h(Fragment, null, typeof item === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, item.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, item.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, item)))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index) }, h("p", null, val)))))))), h("span", { key: '23a4b2dd287ef6206c0b4631837618c407f5e8aa', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: 'eae4eea77c4cb27b49eb7c7319a00a9379eb8372', class: "input_field" }, h("input", { key: 'a567f7dd9d5372893ddf82fd67e3400c3f58f385', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
292
292
  // placeholder={this.placeholder && this.selectedStaff.length === 0 ? this.placeholder : ''}
293
- value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: 'b2a1685b64d1a244fc3d0fac73268c05a86f9e8e', class: `tags_dropdown_menu ${this.show ? 'show' : ''} ${this.menuPosition}` }, this.results.map(item => (h("gb-input-dropdown-menu-item", { type: "checkbox", "supporting-text": true, state: StateEnum.Default, onClick: () => this.selectDropdownItem(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
293
+ value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: '7496a3b370bfccc6430ed33489cd9ee490421682', class: `tags_dropdown_menu ${this.show ? 'show' : ''} ${this.menuPosition}` }, this.results.map(item => (h("gb-input-dropdown-menu-item", { type: "checkbox", "supporting-text": true, state: StateEnum.Default, onClick: () => this.selectDropdownItem(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
294
294
  ? [h("p", { slot: "name" }, item.objectName), h("p", { slot: "supporting_text" }, item.objectValue)]
295
295
  : typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), this.showHintText && h(Fragment, null, !this.destructive ? h("p", { class: "hint_text text-sm-regular" }, this.hintText) : h("p", { class: "error_text text-sm-regular" }, this.errorText))));
296
296
  }
@@ -686,7 +686,7 @@ export class GbInputField {
686
686
  "tags": [],
687
687
  "text": ""
688
688
  },
689
- "defaultValue": "[\r\n { objectName: 'John Doe', objectValue: 'john.doe@example.com' },\r\n { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },\r\n { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },\r\n { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },\r\n { objectName: 'Gideon Ogunkola', objectValue: 'gideon@example.com' },\r\n 10,\r\n 20,\r\n 30,\r\n 40,\r\n 50,\r\n ]"
689
+ "defaultValue": "[\r\n // { objectName: 'John Doe', objectValue: 'john.doe@example.com' },\r\n // { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },\r\n // { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },\r\n // { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },\r\n // { objectName: 'Gideon Ogunkola', objectValue: 'gideon@example.com' },\r\n // 10,\r\n // 20,\r\n // 30,\r\n // 40,\r\n // 50,\r\n ]"
690
690
  },
691
691
  "menuPosition": {
692
692
  "type": "string",
@@ -738,7 +738,7 @@ export class GbInputField {
738
738
  },
739
739
  "attribute": "value",
740
740
  "reflect": false,
741
- "defaultValue": "[\r\n { objectName: 'John Doe', objectValue: 'john.doe@example.com' },\r\n { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },\r\n { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },\r\n { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },\r\n 10,\r\n ]"
741
+ "defaultValue": "[\r\n // { objectName: 'John Doe', objectValue: 'john.doe@example.com' },\r\n // { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },\r\n // { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },\r\n // { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },\r\n // 10,\r\n ]"
742
742
  }
743
743
  };
744
744
  }