globuswebcomponents 1.0.8 → 1.1.0

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 (526) hide show
  1. package/dist/cjs/gb-avatar-add-button.cjs.entry.js +1 -1
  2. package/dist/cjs/gb-avatar-group.cjs.entry.js +1 -1
  3. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
  5. package/dist/cjs/{gb-avatar_25.cjs.entry.js → gb-avatar_20.cjs.entry.js} +163 -625
  6. package/dist/cjs/gb-avatar_20.cjs.entry.js.map +1 -0
  7. package/dist/cjs/gb-badge_2.cjs.entry.js +111 -0
  8. package/dist/cjs/gb-badge_2.cjs.entry.js.map +1 -0
  9. package/dist/cjs/gb-button-close_3.cjs.entry.js +3 -3
  10. package/dist/cjs/gb-carousel-arrow.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-checkbox-group-item.cjs.entry.js +1 -1
  12. package/dist/cjs/gb-checkbox-group.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-collapse-button_4.cjs.entry.js +158 -0
  14. package/dist/cjs/gb-collapse-button_4.cjs.entry.js.map +1 -0
  15. package/dist/cjs/gb-dropdown-items-with-shortcut.cjs.entry.js +1 -1
  16. package/dist/cjs/gb-export-dropdown-item_2.cjs.entry.js +2 -2
  17. package/dist/cjs/gb-export-dropdown.cjs.entry.js +1 -1
  18. package/dist/cjs/gb-export-sub-dropdown-item.cjs.entry.js +1 -1
  19. package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
  20. package/dist/cjs/gb-file-upload.cjs.entry.js +12 -12
  21. package/dist/cjs/gb-header-icon.cjs.entry.js +4 -4
  22. package/dist/cjs/gb-header.cjs.entry.js +1 -1
  23. package/dist/cjs/gb-help-dropdown.cjs.entry.js +1 -1
  24. package/dist/cjs/gb-horizontal-tabs.cjs.entry.js +1 -1
  25. package/dist/cjs/gb-notification-content.cjs.entry.js +1 -1
  26. package/dist/cjs/gb-notification-pane.cjs.entry.js +3 -3
  27. package/dist/cjs/gb-pagination-button-group-base_2.cjs.entry.js +2 -2
  28. package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +1 -1
  29. package/dist/cjs/gb-pagination-dot-indicator.cjs.entry.js +1 -1
  30. package/dist/cjs/gb-pagination.cjs.entry.js +4 -3
  31. package/dist/cjs/gb-pagination.cjs.entry.js.map +1 -1
  32. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  33. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  34. package/dist/cjs/gb-sidebar.cjs.entry.js +123 -0
  35. package/dist/cjs/gb-sidebar.cjs.entry.js.map +1 -0
  36. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  37. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  38. package/dist/cjs/gb-tab-button-base.cjs.entry.js +3 -3
  39. package/dist/cjs/gb-table-cell.cjs.entry.js +23 -0
  40. package/dist/cjs/gb-table-cell.cjs.entry.js.map +1 -0
  41. package/dist/cjs/gb-textarea-input-field.cjs.entry.js +218 -0
  42. package/dist/cjs/gb-textarea-input-field.cjs.entry.js.map +1 -0
  43. package/dist/cjs/gb-toast-button.cjs.entry.js +1 -1
  44. package/dist/cjs/gb-toast.cjs.entry.js +8 -4
  45. package/dist/cjs/gb-toast.cjs.entry.js.map +1 -1
  46. package/dist/cjs/gb-toggle-base.cjs.entry.js +2 -2
  47. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  48. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  49. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +8 -12
  50. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js.map +1 -1
  51. package/dist/cjs/globuscomponents.cjs.js +1 -1
  52. package/dist/cjs/loader.cjs.js +1 -1
  53. package/dist/cjs/reusableModels-e50f3440.js.map +1 -1
  54. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  55. package/dist/collection/collection-manifest.json +2 -4
  56. package/dist/collection/components/gb-avatar/gb-avatar.js +2 -2
  57. package/dist/collection/components/gb-avatar-add-button/gb-avatar-add-button.js +1 -1
  58. package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.js +1 -1
  59. package/dist/collection/components/gb-avatar-group/gb-avatar-group.js +1 -1
  60. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +1 -1
  61. package/dist/collection/components/gb-avatar-profile-photo/gb-avatar-profile-photo.js +1 -1
  62. package/dist/collection/components/gb-badge/gb-badge.js +1 -1
  63. package/dist/collection/components/gb-badge-close/gb-badge-close.js +1 -1
  64. package/dist/collection/components/gb-btn/gb-btn.js +1 -1
  65. package/dist/collection/components/gb-button/gb-button.js +1 -1
  66. package/dist/collection/components/gb-button/readme.md +50 -48
  67. package/dist/collection/components/gb-button-close/gb-button-close.js +1 -1
  68. package/dist/collection/components/gb-carousel-arrow/gb-carousel-arrow.js +1 -1
  69. package/dist/collection/components/gb-checkbox/gb-checkbox.js +1 -1
  70. package/dist/collection/components/gb-checkbox-base/gb-checkbox-base.js +1 -1
  71. package/dist/collection/components/gb-checkbox-group/gb-checkbox-group.js +1 -1
  72. package/dist/collection/components/gb-checkbox-group-item/gb-checkbox-group-item.js +1 -1
  73. package/dist/collection/components/gb-collapse-button/gb-collapse-button.js +3 -3
  74. package/dist/collection/components/gb-complex-primary-side-bar-item/gb-complex-primary-side-bar-item.js +1 -1
  75. package/dist/collection/components/gb-complex-secondary-side-bar-item/gb-complex-secondary-side-bar-item.js +1 -1
  76. package/dist/collection/components/gb-dropdown-items-with-shortcut/gb-dropdown-items-with-shortcut.js +1 -1
  77. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +1 -1
  78. package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +1 -1
  79. package/dist/collection/components/gb-export-sub-dropdown/gb-export-sub-dropdown.js +1 -1
  80. package/dist/collection/components/gb-export-sub-dropdown-item/gb-export-sub-dropdown-item.js +1 -1
  81. package/dist/collection/components/gb-file-type-icon/gb-file-type-icon.js +1 -1
  82. package/dist/collection/components/gb-file-upload/gb-file-upload.js +12 -12
  83. package/dist/collection/components/gb-file-upload-item-base/gb-file-upload-item-base.js +1 -1
  84. package/dist/collection/components/gb-header/gb-header.js +1 -1
  85. package/dist/collection/components/gb-header-icon/gb-header-icon.js +4 -4
  86. package/dist/collection/components/gb-help-dropdown/gb-help-dropdown.js +1 -1
  87. package/dist/collection/components/gb-help-tooltip/gb-help-tooltip.js +1 -1
  88. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
  89. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +19 -13
  90. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  91. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.js +2 -2
  92. package/dist/collection/components/gb-input-field/gb-input-field.js +66 -68
  93. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  94. package/dist/collection/components/gb-megainput-field-base/gb-megainput-field.js +2 -2
  95. package/dist/collection/components/gb-notification-content/gb-notification-content.js +1 -1
  96. package/dist/collection/components/gb-notification-pane/gb-notification-pane.js +3 -3
  97. package/dist/collection/components/gb-pagination/gb-pagination.js +4 -3
  98. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  99. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  100. package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.js +1 -1
  101. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  102. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  103. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  104. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  105. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  106. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  107. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  108. package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +1 -1
  109. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  110. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  111. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  112. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  113. package/dist/collection/components/gb-table-cell/gb-table-cell.css +0 -0
  114. package/dist/collection/components/gb-table-cell/gb-table-cell.js +49 -0
  115. package/dist/collection/components/gb-table-cell/gb-table-cell.js.map +1 -0
  116. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  117. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  118. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  119. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  120. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.css +1 -0
  121. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +56 -18
  122. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js.map +1 -1
  123. package/dist/collection/components/gb-toast/gb-toast.js +8 -4
  124. package/dist/collection/components/gb-toast/gb-toast.js.map +1 -1
  125. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  126. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  127. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  128. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  129. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  130. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  131. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  132. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.css +0 -0
  133. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +80 -0
  134. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js.map +1 -0
  135. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  136. package/dist/collection/models/reusableModels.js +0 -1
  137. package/dist/collection/models/reusableModels.js.map +1 -1
  138. package/dist/components/gb-avatar-add-button.js +1 -1
  139. package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
  140. package/dist/components/gb-avatar-dropdown.js +7 -7
  141. package/dist/components/gb-avatar-group.js +6 -6
  142. package/dist/components/gb-avatar-label-group.js +1 -1
  143. package/dist/components/gb-avatar-profile-photo.js +4 -4
  144. package/dist/components/gb-avatar.js +1 -1
  145. package/dist/components/gb-badge-close.js +1 -1
  146. package/dist/components/gb-badge.js +1 -1
  147. package/dist/components/gb-btn.js +1 -1
  148. package/dist/components/gb-button-close.js +1 -1
  149. package/dist/components/gb-button.js +1 -1
  150. package/dist/components/gb-carousel-arrow.js +1 -1
  151. package/dist/components/gb-checkbox-base.js +1 -1
  152. package/dist/components/gb-checkbox-group-item.js +1 -1
  153. package/dist/components/gb-checkbox-group.js +8 -8
  154. package/dist/components/gb-checkbox.js +1 -1
  155. package/dist/components/gb-collapse-button.js +1 -1
  156. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  157. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  158. package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
  159. package/dist/components/gb-export-dropdown-item.js +1 -1
  160. package/dist/components/gb-export-dropdown.js +4 -4
  161. package/dist/components/gb-export-sub-dropdown-item.js +1 -1
  162. package/dist/components/gb-export-sub-dropdown.js +1 -1
  163. package/dist/components/gb-file-type-icon.js +1 -1
  164. package/dist/components/gb-file-upload-item-base.js +1 -1
  165. package/dist/components/gb-file-upload.js +18 -18
  166. package/dist/components/gb-header-icon.js +1 -1
  167. package/dist/components/gb-header.js +5 -5
  168. package/dist/components/gb-help-dropdown.js +4 -4
  169. package/dist/components/gb-help-tooltip.js +1 -1
  170. package/dist/components/gb-horizontal-tabs.js +7 -7
  171. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  172. package/dist/components/gb-input-dropdown.js +1 -1
  173. package/dist/components/gb-input-field.js +1 -1
  174. package/dist/components/gb-megainput-field.js +1 -1
  175. package/dist/components/gb-notification-content.js +1 -1
  176. package/dist/components/gb-notification-pane.js +5 -5
  177. package/dist/components/gb-pagination-button-group-base.js +1 -1
  178. package/dist/components/gb-pagination-dot-group.js +1 -1
  179. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  180. package/dist/components/gb-pagination-number-base.js +1 -1
  181. package/dist/components/gb-pagination.js +23 -22
  182. package/dist/components/gb-pagination.js.map +1 -1
  183. package/dist/components/gb-password-button.js +1 -1
  184. package/dist/components/gb-progress-bar.js +1 -1
  185. package/dist/components/gb-progress-circle.js +1 -1
  186. package/dist/components/gb-scrollbar.js +1 -1
  187. package/dist/components/gb-sidebar.js +12 -12
  188. package/dist/components/gb-simple-side-bar-item.js +1 -1
  189. package/dist/components/gb-slider-control-handle.js +1 -1
  190. package/dist/components/gb-slider.js +3 -3
  191. package/dist/components/gb-status-indicator.js +1 -1
  192. package/dist/components/gb-tab-button-base.js +1 -1
  193. package/dist/components/{gb-rich-text.d.ts → gb-table-cell.d.ts} +4 -4
  194. package/dist/components/gb-table-cell.js +40 -0
  195. package/dist/components/gb-table-cell.js.map +1 -0
  196. package/dist/components/gb-tag-checkbox.js +1 -1
  197. package/dist/components/gb-tag-close.js +1 -1
  198. package/dist/components/gb-tag-count.js +1 -1
  199. package/dist/components/gb-tag.js +1 -1
  200. package/dist/components/gb-textarea-input-field.js +67 -30
  201. package/dist/components/gb-textarea-input-field.js.map +1 -1
  202. package/dist/components/gb-toast-button.js +1 -1
  203. package/dist/components/gb-toast.js +11 -7
  204. package/dist/components/gb-toast.js.map +1 -1
  205. package/dist/components/gb-toggle-base.js +1 -1
  206. package/dist/components/gb-toggle.js +2 -2
  207. package/dist/components/gb-token-field.js +2 -2
  208. package/dist/components/gb-tooltip.js +1 -1
  209. package/dist/components/gb-verification-code-field.js +3 -3
  210. package/dist/components/gb-vertical-tabs.js +7 -7
  211. package/dist/components/gb-wysiwyg-editor-icon.js +38 -2
  212. package/dist/components/gb-wysiwyg-editor-icon.js.map +1 -1
  213. package/dist/components/{p-0b1416b9.js → p-01f30e0d.js} +5 -5
  214. package/dist/components/{p-0b1416b9.js.map → p-01f30e0d.js.map} +1 -1
  215. package/dist/components/{p-8ff1c695.js → p-0baf6b32.js} +2 -2
  216. package/dist/components/{p-8ff1c695.js.map → p-0baf6b32.js.map} +1 -1
  217. package/dist/components/{p-0473455f.js → p-15345cdf.js} +2 -2
  218. package/dist/components/{p-0473455f.js.map → p-15345cdf.js.map} +1 -1
  219. package/dist/components/{p-b9f8dd8f.js → p-1d2d60ae.js} +3 -3
  220. package/dist/components/{p-b9f8dd8f.js.map → p-1d2d60ae.js.map} +1 -1
  221. package/dist/components/{p-ed29def1.js → p-21d3be83.js} +2 -2
  222. package/dist/components/{p-ed29def1.js.map → p-21d3be83.js.map} +1 -1
  223. package/dist/components/{p-16e21718.js → p-236c07db.js} +2 -2
  224. package/dist/components/{p-16e21718.js.map → p-236c07db.js.map} +1 -1
  225. package/dist/components/{p-9cab4907.js → p-26d4c568.js} +3 -3
  226. package/dist/components/{p-9cab4907.js.map → p-26d4c568.js.map} +1 -1
  227. package/dist/components/{p-a735d36b.js → p-29d220cc.js} +2 -2
  228. package/dist/components/{p-a735d36b.js.map → p-29d220cc.js.map} +1 -1
  229. package/dist/components/{p-d6a249f8.js → p-2d8a9575.js} +2 -2
  230. package/dist/components/{p-d6a249f8.js.map → p-2d8a9575.js.map} +1 -1
  231. package/dist/components/{p-97bf5a4b.js → p-3cc8a666.js} +5 -5
  232. package/dist/components/{p-97bf5a4b.js.map → p-3cc8a666.js.map} +1 -1
  233. package/dist/components/{p-f9db1abf.js → p-46f8e60a.js} +8 -8
  234. package/dist/components/{p-f9db1abf.js.map → p-46f8e60a.js.map} +1 -1
  235. package/dist/components/p-47052b60.js.map +1 -1
  236. package/dist/components/{p-60baf46c.js → p-47d7d910.js} +4 -4
  237. package/dist/components/{p-60baf46c.js.map → p-47d7d910.js.map} +1 -1
  238. package/dist/components/{p-dc032290.js → p-4e11e768.js} +2 -2
  239. package/dist/components/{p-dc032290.js.map → p-4e11e768.js.map} +1 -1
  240. package/dist/components/{p-7438bed3.js → p-52cc93fe.js} +7 -7
  241. package/dist/components/{p-7438bed3.js.map → p-52cc93fe.js.map} +1 -1
  242. package/dist/components/{p-edc34d28.js → p-5af36f2c.js} +5 -5
  243. package/dist/components/{p-edc34d28.js.map → p-5af36f2c.js.map} +1 -1
  244. package/dist/components/{p-b804605e.js → p-5cbbb85f.js} +2 -2
  245. package/dist/components/{p-b804605e.js.map → p-5cbbb85f.js.map} +1 -1
  246. package/dist/components/{p-8986943a.js → p-637ca96f.js} +3 -3
  247. package/dist/components/{p-8986943a.js.map → p-637ca96f.js.map} +1 -1
  248. package/dist/components/{p-8d414028.js → p-663e2680.js} +5 -5
  249. package/dist/components/{p-8d414028.js.map → p-663e2680.js.map} +1 -1
  250. package/dist/components/{p-b653cd60.js → p-70bbf877.js} +2 -2
  251. package/dist/components/{p-b653cd60.js.map → p-70bbf877.js.map} +1 -1
  252. package/dist/components/{p-f6515d55.js → p-76d63671.js} +82 -85
  253. package/dist/components/p-76d63671.js.map +1 -0
  254. package/dist/components/{p-154c1742.js → p-7aa73416.js} +2 -2
  255. package/dist/components/{p-154c1742.js.map → p-7aa73416.js.map} +1 -1
  256. package/dist/components/{p-f8638e16.js → p-82ce96d9.js} +2 -2
  257. package/dist/components/{p-f8638e16.js.map → p-82ce96d9.js.map} +1 -1
  258. package/dist/components/{p-97c8c39a.js → p-8f876fd9.js} +3 -3
  259. package/dist/components/{p-97c8c39a.js.map → p-8f876fd9.js.map} +1 -1
  260. package/dist/components/{p-0671d970.js → p-a3497257.js} +4 -4
  261. package/dist/components/{p-0671d970.js.map → p-a3497257.js.map} +1 -1
  262. package/dist/components/{p-62df8228.js → p-a4d56c2c.js} +6 -6
  263. package/dist/components/{p-62df8228.js.map → p-a4d56c2c.js.map} +1 -1
  264. package/dist/components/{p-b9dcaa74.js → p-a80c8d70.js} +2 -2
  265. package/dist/components/{p-b9dcaa74.js.map → p-a80c8d70.js.map} +1 -1
  266. package/dist/components/{p-495583dd.js → p-a9f191b6.js} +35 -29
  267. package/dist/components/p-a9f191b6.js.map +1 -0
  268. package/dist/components/{p-2c538f54.js → p-aa14a655.js} +3 -3
  269. package/dist/components/{p-2c538f54.js.map → p-aa14a655.js.map} +1 -1
  270. package/dist/components/{p-cb4314db.js → p-adcd7611.js} +9 -9
  271. package/dist/components/{p-cb4314db.js.map → p-adcd7611.js.map} +1 -1
  272. package/dist/components/{p-5041eef7.js → p-add0d18c.js} +8 -8
  273. package/dist/components/{p-5041eef7.js.map → p-add0d18c.js.map} +1 -1
  274. package/dist/components/{p-2850a798.js → p-b3bb7571.js} +3 -3
  275. package/dist/components/{p-2850a798.js.map → p-b3bb7571.js.map} +1 -1
  276. package/dist/components/{p-0b260e68.js → p-bd42fb37.js} +2 -2
  277. package/dist/components/{p-0b260e68.js.map → p-bd42fb37.js.map} +1 -1
  278. package/dist/components/{p-a5c903c8.js → p-bff6d2fd.js} +2 -2
  279. package/dist/components/{p-a5c903c8.js.map → p-bff6d2fd.js.map} +1 -1
  280. package/dist/components/{p-a44db57b.js → p-c4cb6a68.js} +2 -2
  281. package/dist/components/{p-a44db57b.js.map → p-c4cb6a68.js.map} +1 -1
  282. package/dist/components/{p-bc96ddc3.js → p-ca9f1629.js} +3 -3
  283. package/dist/components/{p-bc96ddc3.js.map → p-ca9f1629.js.map} +1 -1
  284. package/dist/components/{p-a51bb23a.js → p-d4319be7.js} +2 -2
  285. package/dist/components/{p-a51bb23a.js.map → p-d4319be7.js.map} +1 -1
  286. package/dist/components/{p-6cd408d7.js → p-ddbb43bc.js} +2 -2
  287. package/dist/components/{p-6cd408d7.js.map → p-ddbb43bc.js.map} +1 -1
  288. package/dist/components/{p-523dd5f1.js → p-e5dd6c7d.js} +3 -3
  289. package/dist/components/{p-523dd5f1.js.map → p-e5dd6c7d.js.map} +1 -1
  290. package/dist/components/{p-d5108411.js → p-e7ef886c.js} +2 -2
  291. package/dist/components/{p-d5108411.js.map → p-e7ef886c.js.map} +1 -1
  292. package/dist/components/{p-0930680b.js → p-eb839ab2.js} +3 -3
  293. package/dist/components/{p-0930680b.js.map → p-eb839ab2.js.map} +1 -1
  294. package/dist/components/{p-2b0efd04.js → p-f89c1f0e.js} +8 -8
  295. package/dist/components/{p-2b0efd04.js.map → p-f89c1f0e.js.map} +1 -1
  296. package/dist/components/{p-2b6fcf3b.js → p-f99a8c69.js} +3 -3
  297. package/dist/components/{p-2b6fcf3b.js.map → p-f99a8c69.js.map} +1 -1
  298. package/dist/components/{p-2e424c3d.js → p-fa50cce3.js} +8 -8
  299. package/dist/components/{p-2e424c3d.js.map → p-fa50cce3.js.map} +1 -1
  300. package/dist/components/test-input-tag.js +12 -12
  301. package/dist/docs.json +94 -675
  302. package/dist/esm/gb-avatar-add-button.entry.js +1 -1
  303. package/dist/esm/gb-avatar-group.entry.js +1 -1
  304. package/dist/esm/gb-avatar-label-group.entry.js +1 -1
  305. package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
  306. package/dist/esm/{gb-avatar_25.entry.js → gb-avatar_20.entry.js} +161 -618
  307. package/dist/esm/gb-avatar_20.entry.js.map +1 -0
  308. package/dist/esm/gb-badge_2.entry.js +106 -0
  309. package/dist/esm/gb-badge_2.entry.js.map +1 -0
  310. package/dist/esm/gb-button-close_3.entry.js +3 -3
  311. package/dist/esm/gb-carousel-arrow.entry.js +1 -1
  312. package/dist/esm/gb-checkbox-group-item.entry.js +1 -1
  313. package/dist/esm/gb-checkbox-group.entry.js +1 -1
  314. package/dist/esm/gb-collapse-button_4.entry.js +151 -0
  315. package/dist/esm/gb-collapse-button_4.entry.js.map +1 -0
  316. package/dist/esm/gb-dropdown-items-with-shortcut.entry.js +1 -1
  317. package/dist/esm/gb-export-dropdown-item_2.entry.js +2 -2
  318. package/dist/esm/gb-export-dropdown.entry.js +1 -1
  319. package/dist/esm/gb-export-sub-dropdown-item.entry.js +1 -1
  320. package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
  321. package/dist/esm/gb-file-upload.entry.js +12 -12
  322. package/dist/esm/gb-header-icon.entry.js +4 -4
  323. package/dist/esm/gb-header.entry.js +1 -1
  324. package/dist/esm/gb-help-dropdown.entry.js +1 -1
  325. package/dist/esm/gb-horizontal-tabs.entry.js +1 -1
  326. package/dist/esm/gb-notification-content.entry.js +1 -1
  327. package/dist/esm/gb-notification-pane.entry.js +3 -3
  328. package/dist/esm/gb-pagination-button-group-base_2.entry.js +2 -2
  329. package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
  330. package/dist/esm/gb-pagination-dot-indicator.entry.js +1 -1
  331. package/dist/esm/gb-pagination.entry.js +4 -3
  332. package/dist/esm/gb-pagination.entry.js.map +1 -1
  333. package/dist/esm/gb-progress-circle.entry.js +1 -1
  334. package/dist/esm/gb-scrollbar.entry.js +1 -1
  335. package/dist/esm/gb-sidebar.entry.js +119 -0
  336. package/dist/esm/gb-sidebar.entry.js.map +1 -0
  337. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  338. package/dist/esm/gb-slider.entry.js +1 -1
  339. package/dist/esm/gb-tab-button-base.entry.js +3 -3
  340. package/dist/esm/gb-table-cell.entry.js +19 -0
  341. package/dist/esm/gb-table-cell.entry.js.map +1 -0
  342. package/dist/esm/gb-textarea-input-field.entry.js +214 -0
  343. package/dist/esm/gb-textarea-input-field.entry.js.map +1 -0
  344. package/dist/esm/gb-toast-button.entry.js +1 -1
  345. package/dist/esm/gb-toast.entry.js +8 -4
  346. package/dist/esm/gb-toast.entry.js.map +1 -1
  347. package/dist/esm/gb-toggle-base.entry.js +2 -2
  348. package/dist/esm/gb-toggle.entry.js +1 -1
  349. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  350. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +8 -12
  351. package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +1 -1
  352. package/dist/esm/globuscomponents.js +1 -1
  353. package/dist/esm/loader.js +1 -1
  354. package/dist/esm/reusableModels-8496e911.js.map +1 -1
  355. package/dist/esm/test-input-tag.entry.js +2 -2
  356. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  357. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  358. package/dist/globuscomponents/{p-9f35fda2.entry.js → p-0363def1.entry.js} +2 -2
  359. package/dist/globuscomponents/{p-24d227d0.entry.js → p-0a03430f.entry.js} +2 -2
  360. package/dist/globuscomponents/{p-38bea668.entry.js → p-12a57d99.entry.js} +2 -2
  361. package/dist/globuscomponents/{p-0410b6df.entry.js → p-1819f84b.entry.js} +2 -2
  362. package/dist/globuscomponents/p-1b16019d.entry.js +2 -0
  363. package/dist/globuscomponents/p-1b16019d.entry.js.map +1 -0
  364. package/dist/globuscomponents/{p-fd82021b.entry.js → p-1e47a582.entry.js} +2 -2
  365. package/dist/globuscomponents/p-20910b83.entry.js +2 -0
  366. package/dist/globuscomponents/p-20910b83.entry.js.map +1 -0
  367. package/dist/globuscomponents/{p-d3848e3c.entry.js → p-284d59f9.entry.js} +2 -2
  368. package/dist/globuscomponents/{p-a0a50839.entry.js → p-2f39fd38.entry.js} +2 -2
  369. package/dist/globuscomponents/{p-497724b2.entry.js → p-3100dc99.entry.js} +2 -2
  370. package/dist/globuscomponents/{p-6dc28d3d.entry.js → p-358fa350.entry.js} +2 -2
  371. package/dist/globuscomponents/p-3693c9b9.entry.js +2 -0
  372. package/dist/globuscomponents/{p-379f3ca1.entry.js → p-37fcb2a9.entry.js} +2 -2
  373. package/dist/globuscomponents/p-37fcb2a9.entry.js.map +1 -0
  374. package/dist/globuscomponents/p-3a3ddb02.entry.js +2 -0
  375. package/dist/globuscomponents/p-3a3ddb02.entry.js.map +1 -0
  376. package/dist/globuscomponents/p-3bbcb5ac.entry.js +2 -0
  377. package/dist/globuscomponents/{p-76d093ef.entry.js → p-41773e1d.entry.js} +2 -2
  378. package/dist/globuscomponents/{p-d9509ace.entry.js → p-44ca61d8.entry.js} +2 -2
  379. package/dist/globuscomponents/p-47052b60.js.map +1 -1
  380. package/dist/globuscomponents/{p-dd2d7d64.entry.js → p-4a3f2383.entry.js} +2 -2
  381. package/dist/globuscomponents/{p-060b0bf8.entry.js → p-55976e44.entry.js} +2 -2
  382. package/dist/globuscomponents/{p-35ad112a.entry.js → p-5a31f474.entry.js} +2 -2
  383. package/dist/globuscomponents/{p-fc681fa9.entry.js → p-5e99f2ef.entry.js} +2 -2
  384. package/dist/globuscomponents/{p-75988614.entry.js → p-67221dd4.entry.js} +2 -2
  385. package/dist/globuscomponents/{p-c4769f4d.entry.js → p-67728f72.entry.js} +2 -2
  386. package/dist/globuscomponents/{p-0c123fd6.entry.js → p-6ea11621.entry.js} +2 -2
  387. package/dist/globuscomponents/{p-a7fcbdee.entry.js → p-85183db2.entry.js} +2 -2
  388. package/dist/globuscomponents/{p-bac53953.entry.js → p-8d5bbf9c.entry.js} +2 -2
  389. package/dist/globuscomponents/{p-ebe51f1a.entry.js → p-8dc1fcd4.entry.js} +2 -2
  390. package/dist/globuscomponents/{p-f248f3fd.entry.js → p-90407157.entry.js} +2 -2
  391. package/dist/globuscomponents/p-999b9901.entry.js +2 -0
  392. package/dist/globuscomponents/p-999b9901.entry.js.map +1 -0
  393. package/dist/globuscomponents/{p-79c2f800.entry.js → p-a20afec7.entry.js} +2 -2
  394. package/dist/globuscomponents/{p-e8a2ef96.entry.js → p-a4f5e8bd.entry.js} +2 -2
  395. package/dist/globuscomponents/p-ab4ea457.entry.js +2 -0
  396. package/dist/globuscomponents/p-ab4ea457.entry.js.map +1 -0
  397. package/dist/globuscomponents/p-ba36bc54.entry.js +2 -0
  398. package/dist/globuscomponents/p-ba36bc54.entry.js.map +1 -0
  399. package/dist/globuscomponents/{p-83c744d6.entry.js → p-c256fd8b.entry.js} +2 -2
  400. package/dist/globuscomponents/{p-61bd6d69.entry.js → p-c359c016.entry.js} +2 -2
  401. package/dist/globuscomponents/p-cb0078af.entry.js +2 -0
  402. package/dist/globuscomponents/p-cb0078af.entry.js.map +1 -0
  403. package/dist/globuscomponents/{p-994950d8.entry.js → p-d61eb840.entry.js} +2 -2
  404. package/dist/globuscomponents/{p-112fe0dd.entry.js → p-dccc977c.entry.js} +2 -2
  405. package/dist/globuscomponents/{p-57afd81a.entry.js → p-ecd27e89.entry.js} +2 -2
  406. package/dist/globuscomponents/p-ecd27e89.entry.js.map +1 -0
  407. package/dist/globuscomponents/{p-bcb96e82.entry.js → p-f2b76525.entry.js} +2 -2
  408. package/dist/globuscomponents/{p-6e3f7bb2.entry.js → p-f2dbe311.entry.js} +2 -2
  409. package/dist/globuscomponents/{p-c95842ae.entry.js → p-fa7e8127.entry.js} +2 -2
  410. package/dist/globuscomponents/readme.md +50 -48
  411. package/dist/types/components/gb-input-field/gb-input-field.d.ts +1 -0
  412. package/dist/types/components/gb-table-cell/gb-table-cell.d.ts +5 -0
  413. package/dist/types/components/gb-textarea-input-field/gb-textarea-input-field.d.ts +2 -0
  414. package/dist/types/components/gb-toast/gb-toast.d.ts +1 -1
  415. package/dist/types/components/{gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.d.ts → gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.d.ts} +2 -2
  416. package/dist/types/components.d.ts +19 -85
  417. package/dist/types/models/reusableModels.d.ts +1 -0
  418. package/package.json +1 -1
  419. package/dist/cjs/gb-avatar_25.cjs.entry.js.map +0 -1
  420. package/dist/cjs/gb-megainput-field.cjs.entry.js +0 -42
  421. package/dist/cjs/gb-megainput-field.cjs.entry.js.map +0 -1
  422. package/dist/cjs/gb-rich-text.cjs.entry.js +0 -34
  423. package/dist/cjs/gb-rich-text.cjs.entry.js.map +0 -1
  424. package/dist/cjs/gb-token-field.cjs.entry.js +0 -28
  425. package/dist/cjs/gb-token-field.cjs.entry.js.map +0 -1
  426. package/dist/cjs/gb-verification-code-field.cjs.entry.js +0 -32
  427. package/dist/cjs/gb-verification-code-field.cjs.entry.js.map +0 -1
  428. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +0 -33
  429. package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js.map +0 -1
  430. package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js +0 -28
  431. package/dist/cjs/gb-wysiwyg-tooltip.cjs.entry.js.map +0 -1
  432. package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.css +0 -2711
  433. package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js +0 -84
  434. package/dist/collection/components/gb-WYSIWYG editor-icon/gb-WYSIWYG-editor-icon.js.map +0 -1
  435. package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.css +0 -2660
  436. package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js +0 -223
  437. package/dist/collection/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.js.map +0 -1
  438. package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js +0 -65
  439. package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.js.map +0 -1
  440. package/dist/collection/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.tsx +0 -43
  441. package/dist/collection/components/gb-rich-text/gb-rich-text.css +0 -2660
  442. package/dist/collection/components/gb-rich-text/gb-rich-text.js +0 -173
  443. package/dist/collection/components/gb-rich-text/gb-rich-text.js.map +0 -1
  444. package/dist/components/gb-rich-text.js +0 -172
  445. package/dist/components/gb-rich-text.js.map +0 -1
  446. package/dist/components/gb-wysiwyg-toolbar.d.ts +0 -11
  447. package/dist/components/gb-wysiwyg-toolbar.js +0 -8
  448. package/dist/components/gb-wysiwyg-toolbar.js.map +0 -1
  449. package/dist/components/gb-wysiwyg-tooltip.d.ts +0 -11
  450. package/dist/components/gb-wysiwyg-tooltip.js +0 -52
  451. package/dist/components/gb-wysiwyg-tooltip.js.map +0 -1
  452. package/dist/components/p-05bce1e7.js +0 -45
  453. package/dist/components/p-05bce1e7.js.map +0 -1
  454. package/dist/components/p-495583dd.js.map +0 -1
  455. package/dist/components/p-cec5b90c.js +0 -165
  456. package/dist/components/p-cec5b90c.js.map +0 -1
  457. package/dist/components/p-f6515d55.js.map +0 -1
  458. package/dist/esm/gb-avatar_25.entry.js.map +0 -1
  459. package/dist/esm/gb-megainput-field.entry.js +0 -38
  460. package/dist/esm/gb-megainput-field.entry.js.map +0 -1
  461. package/dist/esm/gb-rich-text.entry.js +0 -30
  462. package/dist/esm/gb-rich-text.entry.js.map +0 -1
  463. package/dist/esm/gb-token-field.entry.js +0 -24
  464. package/dist/esm/gb-token-field.entry.js.map +0 -1
  465. package/dist/esm/gb-verification-code-field.entry.js +0 -28
  466. package/dist/esm/gb-verification-code-field.entry.js.map +0 -1
  467. package/dist/esm/gb-wysiwyg-toolbar.entry.js +0 -29
  468. package/dist/esm/gb-wysiwyg-toolbar.entry.js.map +0 -1
  469. package/dist/esm/gb-wysiwyg-tooltip.entry.js +0 -24
  470. package/dist/esm/gb-wysiwyg-tooltip.entry.js.map +0 -1
  471. package/dist/globuscomponents/p-09ba896b.entry.js +0 -2
  472. package/dist/globuscomponents/p-09ba896b.entry.js.map +0 -1
  473. package/dist/globuscomponents/p-0d5efea5.entry.js +0 -2
  474. package/dist/globuscomponents/p-0d5efea5.entry.js.map +0 -1
  475. package/dist/globuscomponents/p-379f3ca1.entry.js.map +0 -1
  476. package/dist/globuscomponents/p-524c0404.entry.js +0 -2
  477. package/dist/globuscomponents/p-57afd81a.entry.js.map +0 -1
  478. package/dist/globuscomponents/p-59d20c30.entry.js +0 -2
  479. package/dist/globuscomponents/p-59d20c30.entry.js.map +0 -1
  480. package/dist/globuscomponents/p-5a736f4a.entry.js +0 -2
  481. package/dist/globuscomponents/p-6f708ea2.entry.js +0 -2
  482. package/dist/globuscomponents/p-6f708ea2.entry.js.map +0 -1
  483. package/dist/globuscomponents/p-818a14e9.entry.js +0 -2
  484. package/dist/globuscomponents/p-818a14e9.entry.js.map +0 -1
  485. package/dist/globuscomponents/p-bbaf2d10.entry.js +0 -2
  486. package/dist/globuscomponents/p-bbaf2d10.entry.js.map +0 -1
  487. package/dist/globuscomponents/p-c835beab.entry.js +0 -2
  488. package/dist/globuscomponents/p-c835beab.entry.js.map +0 -1
  489. package/dist/globuscomponents/p-fcd3a902.entry.js +0 -2
  490. package/dist/globuscomponents/p-fcd3a902.entry.js.map +0 -1
  491. package/dist/types/components/gb-WYSIWYG-toolbar/gb-WYSIWYG-toolbar.d.ts +0 -14
  492. package/dist/types/components/gb-WYSIWYG-tooltip/gb-WYSIWYG-tooltip.d.ts +0 -5
  493. package/dist/types/components/gb-rich-text/gb-rich-text.d.ts +0 -11
  494. /package/dist/globuscomponents/{p-9f35fda2.entry.js.map → p-0363def1.entry.js.map} +0 -0
  495. /package/dist/globuscomponents/{p-24d227d0.entry.js.map → p-0a03430f.entry.js.map} +0 -0
  496. /package/dist/globuscomponents/{p-38bea668.entry.js.map → p-12a57d99.entry.js.map} +0 -0
  497. /package/dist/globuscomponents/{p-0410b6df.entry.js.map → p-1819f84b.entry.js.map} +0 -0
  498. /package/dist/globuscomponents/{p-fd82021b.entry.js.map → p-1e47a582.entry.js.map} +0 -0
  499. /package/dist/globuscomponents/{p-d3848e3c.entry.js.map → p-284d59f9.entry.js.map} +0 -0
  500. /package/dist/globuscomponents/{p-a0a50839.entry.js.map → p-2f39fd38.entry.js.map} +0 -0
  501. /package/dist/globuscomponents/{p-497724b2.entry.js.map → p-3100dc99.entry.js.map} +0 -0
  502. /package/dist/globuscomponents/{p-6dc28d3d.entry.js.map → p-358fa350.entry.js.map} +0 -0
  503. /package/dist/globuscomponents/{p-524c0404.entry.js.map → p-3693c9b9.entry.js.map} +0 -0
  504. /package/dist/globuscomponents/{p-5a736f4a.entry.js.map → p-3bbcb5ac.entry.js.map} +0 -0
  505. /package/dist/globuscomponents/{p-76d093ef.entry.js.map → p-41773e1d.entry.js.map} +0 -0
  506. /package/dist/globuscomponents/{p-d9509ace.entry.js.map → p-44ca61d8.entry.js.map} +0 -0
  507. /package/dist/globuscomponents/{p-dd2d7d64.entry.js.map → p-4a3f2383.entry.js.map} +0 -0
  508. /package/dist/globuscomponents/{p-060b0bf8.entry.js.map → p-55976e44.entry.js.map} +0 -0
  509. /package/dist/globuscomponents/{p-35ad112a.entry.js.map → p-5a31f474.entry.js.map} +0 -0
  510. /package/dist/globuscomponents/{p-fc681fa9.entry.js.map → p-5e99f2ef.entry.js.map} +0 -0
  511. /package/dist/globuscomponents/{p-75988614.entry.js.map → p-67221dd4.entry.js.map} +0 -0
  512. /package/dist/globuscomponents/{p-c4769f4d.entry.js.map → p-67728f72.entry.js.map} +0 -0
  513. /package/dist/globuscomponents/{p-0c123fd6.entry.js.map → p-6ea11621.entry.js.map} +0 -0
  514. /package/dist/globuscomponents/{p-a7fcbdee.entry.js.map → p-85183db2.entry.js.map} +0 -0
  515. /package/dist/globuscomponents/{p-bac53953.entry.js.map → p-8d5bbf9c.entry.js.map} +0 -0
  516. /package/dist/globuscomponents/{p-ebe51f1a.entry.js.map → p-8dc1fcd4.entry.js.map} +0 -0
  517. /package/dist/globuscomponents/{p-f248f3fd.entry.js.map → p-90407157.entry.js.map} +0 -0
  518. /package/dist/globuscomponents/{p-79c2f800.entry.js.map → p-a20afec7.entry.js.map} +0 -0
  519. /package/dist/globuscomponents/{p-e8a2ef96.entry.js.map → p-a4f5e8bd.entry.js.map} +0 -0
  520. /package/dist/globuscomponents/{p-83c744d6.entry.js.map → p-c256fd8b.entry.js.map} +0 -0
  521. /package/dist/globuscomponents/{p-61bd6d69.entry.js.map → p-c359c016.entry.js.map} +0 -0
  522. /package/dist/globuscomponents/{p-994950d8.entry.js.map → p-d61eb840.entry.js.map} +0 -0
  523. /package/dist/globuscomponents/{p-112fe0dd.entry.js.map → p-dccc977c.entry.js.map} +0 -0
  524. /package/dist/globuscomponents/{p-bcb96e82.entry.js.map → p-f2b76525.entry.js.map} +0 -0
  525. /package/dist/globuscomponents/{p-6e3f7bb2.entry.js.map → p-f2dbe311.entry.js.map} +0 -0
  526. /package/dist/globuscomponents/{p-c95842ae.entry.js.map → p-fa7e8127.entry.js.map} +0 -0
@@ -9,12 +9,6 @@ export class GbInputField {
9
9
  document.execCommand('copy'); // Deprecated but works in most browsers
10
10
  // For modern browsers:
11
11
  navigator.clipboard.writeText(this.inputRef.value);
12
- // .then(() => {
13
- // console.log('Copied to clipboard');
14
- // })
15
- // .catch(err => {
16
- // console.error('Failed to copy: ', err);
17
- // });
18
12
  }
19
13
  };
20
14
  this.size = undefined;
@@ -52,11 +46,11 @@ export class GbInputField {
52
46
  this.menuPosition = undefined;
53
47
  this.icon = undefined;
54
48
  this.value = [
55
- // { objectName: 'John Doe', objectValue: 'john.doe@example.com' },
56
- // { objectName: 'Jane Smith', objectValue: 'jane.smith@example.com' },
57
- // { objectName: 'Alice Johnson', objectValue: 'alice.johnson@example.com' },
58
- // { objectName: 'Emmanuel Kadiri', objectValue: 'kadiri2047@gmail.com' },
59
- // 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,
60
54
  ];
61
55
  this.inputValue = '';
62
56
  this.tags = [];
@@ -100,30 +94,44 @@ export class GbInputField {
100
94
  // return mockData.filter(staff => staff.name.toLowerCase().includes(query.toLowerCase()));
101
95
  // }
102
96
  selectDropdownItem(item) {
103
- const isObject = typeof item === 'object';
104
- const isSelected = this.selectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item));
105
- if (isSelected) {
106
- // Unselect item: Move it from selectedItems to unselectedItems
107
- this.value = this.selectedItems.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
108
- if (!this.unselectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item))) {
109
- this.unselectedItems = [...this.unselectedItems, item];
97
+ if (this.value.length === 0) {
98
+ const isObject = typeof item === 'object';
99
+ const isSelected = this.selectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item));
100
+ if (isSelected) {
101
+ // Unselect item: Move it from selectedItems to unselectedItems
102
+ this.selectedItems = this.selectedItems.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
103
+ if (!this.unselectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item))) {
104
+ this.unselectedItems = [...this.unselectedItems, item];
105
+ }
106
+ this.inputValueChanged.emit(this.selectedItems);
107
+ }
108
+ else {
109
+ // Select item: Move it from unselectedItems to selectedItems
110
+ this.selectedItems = [...this.selectedItems, item];
111
+ this.unselectedItems = this.unselectedItems.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
112
+ this.inputValueChanged.emit(this.selectedItems);
110
113
  }
111
114
  }
112
115
  else {
113
- // Select item: Move it from unselectedItems to selectedItems
114
- this.selectedItems = [...this.selectedItems, item];
115
- this.unselectedItems = this.unselectedItems.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
116
- this.inputValueChanged.emit(this.selectedItems);
116
+ const isObject = typeof item === 'object';
117
+ const isSelected = this.selectedItems.some(i => (isObject ? i.objectName === item.objectName : i === item));
118
+ if (isSelected) {
119
+ this.value = this.value.filter(i => (isObject ? i.objectName !== item.objectName : i !== item));
120
+ console.log(this.value);
121
+ this.inputValueChanged.emit(this.value);
122
+ }
123
+ else {
124
+ this.value = [...this.value, item]; // Add item to array
125
+ this.inputValueChanged.emit(this.value);
126
+ }
117
127
  }
118
- // this.results = [];
119
- // this.showDropdown = false;
120
128
  this.updateStyles();
121
129
  }
122
130
  handleTagRemove(index) {
123
131
  if (this.value.length > 0) {
124
132
  this.value = [...this.value.slice(0, index), ...this.value.slice(index + 1)];
125
133
  console.log(this.value);
126
- this.updateStyles();
134
+ // this.updateStyles();
127
135
  }
128
136
  else {
129
137
  this.selectedItems = [...this.selectedItems.slice(0, index), ...this.selectedItems.slice(index + 1)];
@@ -195,6 +203,22 @@ export class GbInputField {
195
203
  this.selectedItem = option;
196
204
  this.showDropdown = false; // Close the dropdown
197
205
  }
206
+ updateSelectedItems(newValue) {
207
+ if (Array.isArray(newValue) && newValue.length > 0) {
208
+ this.selectedItems = [];
209
+ this.unselectedItems = [];
210
+ const objectValues = newValue.filter(val => typeof val === 'object' && val !== null);
211
+ const primitiveValues = newValue.filter(val => typeof val !== 'object');
212
+ this.selectedItems = this.results.filter(item => typeof item === 'object' && item !== null
213
+ ? objectValues.some(val => JSON.stringify(val) === JSON.stringify(item)) // Avoid object reference issues
214
+ : primitiveValues.includes(item));
215
+ this.unselectedItems = this.results.filter(item => typeof item === 'object' && item !== null ? !objectValues.some(val => JSON.stringify(val) === JSON.stringify(item)) : !primitiveValues.includes(item));
216
+ }
217
+ else {
218
+ this.selectedItems = [];
219
+ this.unselectedItems = [...this.results];
220
+ }
221
+ }
198
222
  componentWillLoad() {
199
223
  // this.selectedItem = this.options[0];
200
224
  if (this.options && this.options.length > 0) {
@@ -204,36 +228,7 @@ export class GbInputField {
204
228
  if (this.type !== 'tags') {
205
229
  this.selectedItem = null; // For single selection types
206
230
  }
207
- if (this.value.length > 0) {
208
- this.selectedItems = [];
209
- this.unselectedItems = [];
210
- // Separate objects from primitive values
211
- const objectValues = this.value.filter(val => typeof val === 'object' && val !== null);
212
- const primitiveValues = this.value.filter(val => typeof val !== 'object');
213
- // Find selected items
214
- this.selectedItems = this.results.filter(item => {
215
- if (typeof item === 'object' && item !== null) {
216
- return objectValues.some(val => val.objectName === item.objectName);
217
- }
218
- else {
219
- return primitiveValues.includes(item);
220
- }
221
- });
222
- // Find unselected items
223
- this.unselectedItems = this.results.filter(item => {
224
- if (typeof item === 'object' && item !== null) {
225
- return !objectValues.some(val => val.objectName === item.objectName);
226
- }
227
- else {
228
- return !primitiveValues.includes(item);
229
- }
230
- });
231
- }
232
- else {
233
- // If value array is empty, all items are unselected
234
- this.selectedItems = [];
235
- this.unselectedItems = [...this.results];
236
- }
231
+ this.updateSelectedItems(this.value);
237
232
  // console.log('Selected Items:', this.selectedItems);
238
233
  // console.log('Unselected Items:', this.unselectedItems);
239
234
  }
@@ -276,23 +271,23 @@ export class GbInputField {
276
271
  // this.inputElement.removeEventListener('input', this.handleTagInput.bind(this));
277
272
  // }
278
273
  render() {
279
- return (h("div", { key: '08995102ea0e056f02ef6e67c8468db9e0166b0a', class: `input_container` }, h("div", { key: '18e57594592d18afb605b99da317937a202db64b', class: `input_with_label` }, this.showLabel && h("p", { key: 'df803ca7c6941b5eb221924c95f15cd7a27cbab8', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
280
- h("div", { key: '4a1df41e59292235d8f78f933fbfcca609813b53', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '6e8de94c5ee53c96f6eb7a0cf74540c32bf7b9cb', 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: 'ba7a9608851569d7379885584dd44767f8a9ef7a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: 'f95e9d27de8c2206cbc1a6db9c6ccd620efc0d6a', 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: '023c9f954303eea6afe517b3aaf7291ea422a702', 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" }))))))),
274
+ return (h("div", { key: '37d125bf5eb4de7fc560bdedcaadfbedcd396c5f', class: `input_container` }, h("div", { key: '22e92d9eb7130657689d0b0e0226f84f2b9cde35', class: `input_with_label` }, this.showLabel && h("p", { key: '4c9a0c46d991d0e3e6288d7fd7111b3d6c64c9b7', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
275
+ h("div", { key: 'f42d989a1e288b384467ee64b153b5854a634eb4', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '31dbd7a5a91b08942348723669316375af180379', 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: 'b5428aa5b1f4e8c777fcfad5715f4880203209f7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: 'a4900829eada2d8bfe72de98141a839ed0bd574f', 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: 'bee1a8d0ab8d44983b31cce1d0d7eecd2e0da912', 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" }))))))),
281
276
  ], this.type === 'icon_leading' && [
282
- h("div", { key: 'e26d74af15787146ca7e14dc6b8e37fe584632f6', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'c7a2d390c467cfdc6298bea2754cacffa6dcf77c', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '565283eab31cc52b31cac1c6bd8740f5627cb58a', 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: 'bc55d62d31f069cc2d5163c07873645b4d641fcc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: 'a6d8283130d9811f28b88360215ee27b53f9f6ea', 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: 'ec2c20b19952b27a578295d16433b0d129b534fe', 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: '454f6e62a0bb93308c269ef1a9099d997eaaa040', 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}` })))),
277
+ h("div", { key: 'e90c99ed13a351cbbfb8a15b4d68db5998fa4b5a', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '24a7d62605be3d6932101548ae8965fa5485e310', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: '7d73c80496bc3cce6b029a325418142335db9f9a', 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: '6d89d97f5f4e7e753a60849707f6f8b657f09074', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '908cb4402c06b9274703f7dae5e922f327b7c554', 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: 'dd364b3664386b9adf867f26531e1ad260cee286', 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: '35df41fb5af1f4bfb2503415b11a210aafcb4408', 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}` })))),
283
278
  ], this.type === 'leading_dropdown' && [
284
- h("div", { key: '5e09967d6b940f3fc51396b50fe832dec5e5306a', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '4efb51928af93c7ccec3ab8d69b22693ec76c6b5', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, this.showCountryIcon && (h("div", { key: 'dcb34091b5a44f701c0dfe05c8da1186fd73d32f', class: `country_icon` }, h("img", { key: '74e6feef49ab2be6e9b0ced59b6e5c18f7ef2086', src: "build/assets/NG.svg", alt: "" }))), h("div", { key: '809e2a02b54470261026b151eba892dbfb4829ff', class: `dropdown_text` }, h("p", { key: '3caf513756c3f246dbaa387c8c60c693a5dc9f63', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '1c5c528c2967d71a21a00742ba6918099f60cf61', class: `dropdown_arrow` }, h("svg", { key: '815840cdedb16098f7b5f49056efd5b494b4cd15', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '9fe56a4b0d724b84eaf87f37a158eed45271d59a', 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: '0da2f852ed77beb31faa47cbe59bc385a00fdd3e', class: `leading_dropdown_text_input` }, h("input", { key: 'b9789b0348ca6728056c7594f3e7a75f49ec490d', 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: 'c31a5c6748f1130b8d2cdb690c4fe661e396d3f0', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e62dd5c3bc7c94f9db93d48c7762c4cf020cbc53', 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: '6dcb4e165a789d8430875fa85dbe6b008960adaf', 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" }))))))),
285
- h(Fragment, null, this.showDropdown && (h("div", { key: '2019a27d5109a65f94af2a51f878a7b7b9fc1b33', 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))))))),
279
+ h("div", { key: '1f1897b3ee9905fc5120f59e84571ca28b675833', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'badf08fde4fce171f843af7e42f26bc82eb89643', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, this.showCountryIcon && (h("div", { key: 'b2e70160c4aa337f57772a7789edd0e97e501110', class: `country_icon` }, h("img", { key: 'aa3b97fe01fc5a57af584f95a0eefbd3410c4ec7', src: "build/assets/NG.svg", alt: "" }))), h("div", { key: '211493034361fa6e262b863c4075d440def291f2', class: `dropdown_text` }, h("p", { key: 'f9c8f94f52005f77c015a83a74f688535112920b', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '3e1c7ee90710140e39435a03a0296d1f3a487beb', class: `dropdown_arrow` }, h("svg", { key: 'ce4caf2d2b73fa9df827fec62e4f7efed0dac735', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5bac96bbaf528eb02b61be4a620bffcaed000478', 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: '1a581c9c5449b77d1bdc8324eb1756e931e14699', class: `leading_dropdown_text_input` }, h("input", { key: '0c289c162a710f13adf258706b95fa4b520d4678', 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: 'a9df90b9c6c5b7782535ed7cd47e59667146387a', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '319c649a57982fcac570a69acca3c43961c0309b', 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: '26ec9acb3d73542c7e4ae01fb154aecd8abf6042', 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" }))))))),
280
+ h(Fragment, null, this.showDropdown && (h("div", { key: '7f5b46fa97bf246ba818f437fd65515d90859442', 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))))))),
286
281
  ], this.type === 'trailing_dropdown' && [
287
- h("div", { key: '2b8e9a553ada38f42446a667e928883869aa20aa', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '65977fca0b83bdfefcd79bae1272548c7acdf01e', class: `trailing_dropdown_content` }, h("p", { key: '0eb7dfd0024b22c0c5089cbb4a73def0ee62ca3c', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '879e2464c11cb580dfa71a5e4f165fb58ea11f87', 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: '32e86b002a254bd090ef1d09ed28958ef8c907ad', 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: '01e58ff919cc94751dda442423a9218aafae3747', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '11b8375a583fe982cd4e61b2c18808ceeb8dd8b3', class: `dropdown_text` }, h("p", { key: '0a788b941bb8de9a83b272c6b10719869bbcc034', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '0548896780e3353e2d24e51a107a7277d350980c', class: `dropdown_arrow` }, h("svg", { key: '52a8810736c2be7363100dfe60ba7f2956c92909', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'dd8be7a690314892213fe82c51cfc35db4826865', 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" }))))),
288
- h(Fragment, null, this.showDropdown && (h("div", { key: '3485837cd94be2bcc91bcb9b6bcf162ca0b3fdcb', 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: '6a9712ca773183ee4733b7666cc1c87e7b0b29df', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '440c99a6253cda29412cefbdb9bcba0e70dc1102', class: `trailing_dropdown_content` }, h("p", { key: '299de7a9046e5f74b07aed9930047802ef8bc569', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '09272a23289b57d604717d1a24f2cfb3467b1652', 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: '7833f69775f474677c40c8e3852d012fc85f436f', 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: '069a0dd2145a949ea415c62df43511b1958a1977', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'eebdbd690afa592e36485c38dcf943e5d7d68f17', class: `dropdown_text` }, h("p", { key: 'eaf7bba19d0c37cca511b71bae31899734b633ec', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'c9dec295282e427f9bd7bda834ca75eedc4752b7', class: `dropdown_arrow` }, h("svg", { key: '586c879577f14baa17459b0540ce28ea13423d87', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'ea89af9b779033b5d9e84598ec595294f21225ec', 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" }))))),
283
+ h(Fragment, null, this.showDropdown && (h("div", { key: 'd9a286ca281f8a7996f2bd09cf41aec0f71fcd98', 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))))))),
289
284
  ], this.type === 'leading_text' && [
290
- h("div", { key: 'f57fc338aabf7293ce9a05f74786abf09b33002e', class: "leading_text_input" }, h("div", { key: '14d3df8157029268c0f9ba0429ddc4352f7c34c9', class: `add_on` }, h("slot", { key: '23586c59d5c95a1e017408e54090904a215c769d', name: "text" })), h("div", { key: '9d565bf84c28d0588ec6afb56499eb23e8b0a7a3', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '4021f630cc3beecb8c0c6f5dcf5b43437caa8d2b', 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: '75389e6646337b5fa9ad74473b41d81353999f8e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '32a4702fc3bc0853a3b9085dbe8b80440d700abc', 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: 'bc41cb2a6970a2f9d7329599cc7325e1fd44b370', 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" }))))))),
291
- ], this.type === 'payment_input' && (h("div", { key: '237fc2ab8c5b653629ad73dc3473910e8e734c56', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'e1a1f1f86d4136c997fca7266d39749512a9f5a0', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: 'b12080a13960a3bd543cfecf9de8447b021a8e68', "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: 'f447a0dadc402d955a90c2e1c6ac04879ebc479f', "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: 'e9fc696a4e5546bfd40a3e0c464703e7691a9854', "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: '929654985106cd630730d4847ec441689f8145e0', 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: '5f84eecdd7de6128b6c488ca37515c55612ccd2c', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'cbed4257f7f37fbfaa1cee1980a57ba088350409', 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: '17dc7bef0c24206023a49a9842e9e083687c3e46', 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: '565f76a55e7b359772ff556206502b65acfc34c6', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7abbd2b7eb2d7d70c14aaa08fd5d316685112530', class: `trailing_button_text_input ${this.size}` }, h("input", { key: 'b9b0f67f0467f990d6bf3a207ac646ecf3c60f9f', 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: 'b7fe4e9011f642ca88d3b5aca04fe994f21d505f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '57fb939ac3c47d32ff7ffb15714f8e4cea1befe9', 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: 'd52b24c2c6d5015a42a334985a7a983fb7d7f8c9', 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: '9fe0a27c158ecf4ba70a263cc849246104bc77b7', 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: '77cedef354b16fa87589b1d684b5916646d8f71b', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'ed336339ba04a29bde08035da430263fdc22285a', class: `password_content` }, h("input", { key: '550a6befe49acd3e2869745745bf0af9fc95951e', 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: '749937a3ea53fd36031f33090aea0ad3dfba717f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2a729f5ca74e95d95e1bd31a93b807ce48636317', 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: '4b031c8769c6863140ef7e929dbee4b247bb1154', 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: 'cb70d37c605ac0e00918d33e83edfec30d0994f4', class: `dropdown` }, h("gb-password-button", { key: '5578b67b3b231312ce3e215318512bd10ea9b8f8', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '6709411d4c61b75ad11d355b4d44a00a659efd1f', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '33dd50fdb89da4613d380d04da42ba0a88faba81', class: `password_icon_leading_content` }, h("svg", { key: '8e57654448ca8b04a1abc905896dfdc3e9f9abf2', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b13958cd19a87d9185b8db5c984fe648e1c818f2', 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: 'b79a39d90caf9b82c7f4b1013b21f319d3dfd190', 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: '68f2d23ead5a0ad27105bf175612f2309ccee5d8', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '83dd494bd08cffd58c574feb1fd24a6bec1e381c', 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: '170e23b7e229ae91fecf4bf3e15a67e5a714bfdf', 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: '9f05421cb65b7cad8b5c5057d9267d488e51ecc9', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
292
- h("div", { key: '1d98d0a9a24111fe2dbe8cc695616fdd2914a464', class: `count_input` }, h("div", { key: '7e3b5692508108cef0816c29a9be119df1685bc1', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'f8fd1d333f414a229de3a729e31707410e13cb9a', 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: '764bbe011711437d1a5f574768a8520f34cc110d', 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: 'c1f858308d1a339c0550517b223011f05915a471', class: `action ${this.state}` }, h("gb-button", { key: '094bfb498b338028d69e44f62b8c5b581e1a624f', 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: '8c1d107020365171f020945f3f9e4a6111a05407', class: "vertical_line" }), h("gb-button", { key: '644a00b7dccf412bd77a3bdb3692814d1b3bcb2d', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
293
- ], this.type === 'tags' && (h("div", { key: '8dc8a228af712fb47438a6346c24928fd9e269f4', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: '13f6c88d6721867787c2d81d1be1de594c7a5dda', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: 'cd04dd7b20be55050ee91fcc93677a562735cc62', 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: 'effbcb5c208094cf108ee18434a7d80976cc3587', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: 'f1957a658b2ec1d9a6790836c36f74633493efd3', class: "input_field" }, h("input", { key: '647db8bfb1666d114dfd6a449db3789c86591166', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
285
+ h("div", { key: '246382cc8d318c9e84207fb0d5bf3ab1600e0c1e', class: "leading_text_input" }, h("div", { key: '5b8d26e4a8eab805452758b4c29fa11e89a1d406', class: `add_on` }, h("slot", { key: '697d80bd91140e974179b442935a5f9f1acdcf29', name: "text" })), h("div", { key: 'ac7403b429f3a0c418b0e0d8b6a23a9d0f99d672', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'c34ba7f5c5ebd5a5f6058ed41d6153cf993562c1', 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: 'ce1b239790c5c45d8b405d3043c823c6d1b21a89', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '4d324dc75e5c20c7e4923df159ee31d307811610', 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: 'b71e4ddcb85f329fe4fd1cea7b8bf9c46c366861', 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" }))))))),
286
+ ], this.type === 'payment_input' && (h("div", { key: '95a2799e0ed19124ee15ceffdbe2a029c0178b8e', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'cccda23067b57b7e31d11ebd7294034701453016', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '089873722bb56b7ea0789f2da035baf315e772a4', "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: '43de932681c2b615a80322171f4f0f26cbe5c12e', "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: '5e69c04d8719e624ca48b0af2d99c1d151fc2f22', "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: 'af95d5f43d0cbc5de690c0d19cb4123f1ba06ff8', 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: '489484a2090cd3d663de5c9ef3e4690abbe52238', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '55436ffc1918ef197057bd67327b3256e070da0c', 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: 'b6864fbe2b62b963e3068b497bced3ee834919c8', 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: '74bb916535b01d3a5f0202b5672ca0d151089a6d', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '4150d73fa7f8d788b01dcd94562bcf93271fb9f0', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '593e6fae9363ed5823a87b6740c7e10d94eff186', 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: '1b9e6671532573c2bf99f9c8d302b561572db0dc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '2009b4dd1fc8dcd215b7394e883191a8682e0ac9', 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: '80bdc42c8317a21c6aa67e26f9d0a230585fa5dc', 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: '021f1ba7074de0df8769a70a9cd4c80c892bfab2', 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: 'c31953bf366592ba9a5016c5f19a9ed879d3eae1', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '71fdddc9b3700ea12353948986cf906cebefd52f', class: `password_content` }, h("input", { key: '87fd59b898ab0126159a03777d9b354da44a8cb3', 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: 'f87f85f0ec8f7ae8efa126bba4afa7bbfb19d357', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '40fec8a4f23eca83a11d1fa9539331882e437e75', 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: 'e0a83931c1972ca45c46b89007ec16889cbef484', 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: '06e5beaa3ad6d8984a9d04974d2cfc3794f61020', class: `dropdown` }, h("gb-password-button", { key: '23cd6da36870f252c2b2d83772f1ea347fb12e99', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '46dd472f44481e22d45665f9797dcfb0b987a3cc', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'b88ffa7c0ea560fdbe052f3b7eda422afd665fb9', class: `password_icon_leading_content` }, h("svg", { key: 'b7a0593e4c78d7894f91e63033cc00870ce377bd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a1bf1bd40133c6091d2c856a99b64fe3b0525008', 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: '37e8de1f12c9269a9319876c5c8e79406194d0a8', 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: '19dd1149dce8a5e11b046203bc93ff2f412ac4ad', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f2e3a348814bd249e9bb7efbf136ccdb8727e4a8', 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: '9224e6dbb04f45e221838925593deb7ec1c067c3', 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: '17c9c2253090fd6ebba4be91f1d57fda6e6a8f7f', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
287
+ h("div", { key: 'a42ee3bb697bf9855bc7a79399c6968f929a2b91', class: `count_input` }, h("div", { key: 'c247587d17027aee70dc8e1606f639bec8bf39e7', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'c10d702ef20861868a89cc83f560d72dcb7ec7d4', 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: 'd375cb590019cf7cad2389c6d838d50292c89451', 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: 'db012fafb49a6e7b38c321225b3dd437e1ba1dcf', class: `action ${this.state}` }, h("gb-button", { key: 'e8d3b501f37e1417a33de929b66db8c7ade53956', 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: '03d564a5d5dc7a5b6942bd96294b9cd3938005ce', class: "vertical_line" }), h("gb-button", { key: '6e8ba365de86610793c4cb7d6d07d73cfdd2ca7d', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
288
+ ], this.type === 'tags' && (h("div", { key: 'f5d22d2b575a376dc2fc8371e12d4d89ce516efe', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: '09f115c845bb9bbf59a773f9031b19d7f1d5c3fd', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: '1860bc978cabfc1087892ff1ac8940e213148845', 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: 'ca297e42ef8a5145bd39c9088af1b17a22dc6404', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: '25b6109712aba27fbbee71e8b3963a4405b787f2', class: "input_field" }, h("input", { key: 'a6a3df7d6fd643e07894a1b928f07d921edddbd1', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
294
289
  // placeholder={this.placeholder && this.selectedStaff.length === 0 ? this.placeholder : ''}
295
- value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: 'ea1097658e33c09f96b1ac3c736f578e22de5f53', 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'
290
+ value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: '9f4e48380e93fa8e1b2123c1d024fa9d87e53622', 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'
296
291
  ? [h("p", { slot: "name" }, item.objectName), h("p", { slot: "supporting_text" }, item.objectValue)]
297
292
  : 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))));
298
293
  }
@@ -740,7 +735,7 @@ export class GbInputField {
740
735
  },
741
736
  "attribute": "value",
742
737
  "reflect": false,
743
- "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 ]"
738
+ "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 ]"
744
739
  }
745
740
  };
746
741
  }
@@ -784,6 +779,9 @@ export class GbInputField {
784
779
  return [{
785
780
  "propName": "options",
786
781
  "methodName": "optionsChanged"
782
+ }, {
783
+ "propName": "value",
784
+ "methodName": "updateSelectedItems"
787
785
  }];
788
786
  }
789
787
  static get listeners() {