globuswebcomponents 0.9.3 → 0.9.4

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 (179) hide show
  1. package/dist/cjs/gb-avatar_40.cjs.entry.js +53 -39
  2. package/dist/cjs/gb-avatar_40.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gb-progress-bar.cjs.entry.js +1 -1
  4. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  5. package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-verification-code-field.cjs.entry.js +2 -2
  10. package/dist/cjs/globuscomponents.cjs.js +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  13. package/dist/collection/components/gb-input-field/gb-input-field.js +31 -16
  14. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  15. package/dist/collection/components/gb-pagination/gb-pagination.css +1 -0
  16. package/dist/collection/components/gb-pagination/gb-pagination.js +1 -1
  17. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  18. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +1 -1
  19. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  20. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  21. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  22. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  23. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  24. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  25. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  26. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  27. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  28. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  29. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  30. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  31. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +3 -3
  32. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  33. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  34. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  35. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  36. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  37. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  38. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  39. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  40. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  41. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  42. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  43. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  44. package/dist/components/gb-avatar-add-button.js +1 -1
  45. package/dist/components/gb-avatar-dropdown.js +3 -3
  46. package/dist/components/gb-avatar-group.js +4 -4
  47. package/dist/components/gb-avatar-label-group.js +1 -1
  48. package/dist/components/gb-avatar-profile-photo.js +2 -2
  49. package/dist/components/gb-avatar.js +1 -1
  50. package/dist/components/gb-badge.js +1 -1
  51. package/dist/components/gb-checkbox-group-item.js +1 -1
  52. package/dist/components/gb-checkbox-group.js +3 -3
  53. package/dist/components/gb-collapse-button.js +1 -1
  54. package/dist/components/gb-file-upload-item-base.js +1 -1
  55. package/dist/components/gb-file-upload.js +3 -3
  56. package/dist/components/gb-header.js +2 -2
  57. package/dist/components/gb-help-tooltip.js +1 -1
  58. package/dist/components/gb-horizontal-tabs.js +4 -4
  59. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  60. package/dist/components/gb-input-dropdown.js +1 -1
  61. package/dist/components/gb-input-field.js +41 -26
  62. package/dist/components/gb-input-field.js.map +1 -1
  63. package/dist/components/gb-pagination-button-group-base.js +1 -1
  64. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  65. package/dist/components/gb-pagination-number-base.js +1 -1
  66. package/dist/components/gb-pagination.js +14 -14
  67. package/dist/components/gb-pagination.js.map +1 -1
  68. package/dist/components/gb-password-button.js +1 -1
  69. package/dist/components/gb-progress-bar.js +1 -1
  70. package/dist/components/gb-progress-circle.js +1 -1
  71. package/dist/components/gb-rich-text.js +12 -12
  72. package/dist/components/gb-scrollbar.js +1 -1
  73. package/dist/components/gb-side-bar-item.js +1 -1
  74. package/dist/components/gb-sidebar.js +7 -7
  75. package/dist/components/gb-slider-control-handle.js +1 -1
  76. package/dist/components/gb-slider.js +3 -3
  77. package/dist/components/gb-status-indicator.js +1 -1
  78. package/dist/components/gb-tab-button-base.js +1 -1
  79. package/dist/components/gb-tag-checkbox.js +1 -1
  80. package/dist/components/gb-tag-close.js +1 -1
  81. package/dist/components/gb-tag-count.js +1 -1
  82. package/dist/components/gb-tag.js +1 -1
  83. package/dist/components/gb-toast-button.js +1 -1
  84. package/dist/components/gb-toast.js +2 -2
  85. package/dist/components/gb-toggle-base.js +1 -1
  86. package/dist/components/gb-toggle.js +2 -2
  87. package/dist/components/gb-token-field.js +1 -1
  88. package/dist/components/gb-tooltip.js +1 -1
  89. package/dist/components/gb-verification-code-field.js +2 -2
  90. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  91. package/dist/components/{p-18800371.js → p-0e0fe104.js} +2 -2
  92. package/dist/components/{p-18800371.js.map → p-0e0fe104.js.map} +1 -1
  93. package/dist/components/{p-0e3190c5.js → p-0e4d1693.js} +2 -2
  94. package/dist/components/{p-0e3190c5.js.map → p-0e4d1693.js.map} +1 -1
  95. package/dist/components/{p-50c47057.js → p-17654aff.js} +11 -11
  96. package/dist/components/{p-50c47057.js.map → p-17654aff.js.map} +1 -1
  97. package/dist/components/{p-aaff16c1.js → p-34b1bcaa.js} +2 -2
  98. package/dist/components/{p-aaff16c1.js.map → p-34b1bcaa.js.map} +1 -1
  99. package/dist/components/{p-a603a20f.js → p-34e0b08c.js} +2 -2
  100. package/dist/components/{p-a603a20f.js.map → p-34e0b08c.js.map} +1 -1
  101. package/dist/components/{p-73c903c0.js → p-360d915d.js} +2 -2
  102. package/dist/components/{p-73c903c0.js.map → p-360d915d.js.map} +1 -1
  103. package/dist/components/{p-44439045.js → p-3dd13a3c.js} +3 -3
  104. package/dist/components/{p-44439045.js.map → p-3dd13a3c.js.map} +1 -1
  105. package/dist/components/{p-ff7a3231.js → p-5373e383.js} +2 -2
  106. package/dist/components/{p-ff7a3231.js.map → p-5373e383.js.map} +1 -1
  107. package/dist/components/{p-31155611.js → p-5d26997a.js} +3 -3
  108. package/dist/components/{p-31155611.js.map → p-5d26997a.js.map} +1 -1
  109. package/dist/components/{p-318a73ff.js → p-641dba3f.js} +2 -2
  110. package/dist/components/{p-318a73ff.js.map → p-641dba3f.js.map} +1 -1
  111. package/dist/components/{p-5c77ee21.js → p-697e1460.js} +7 -7
  112. package/dist/components/{p-5c77ee21.js.map → p-697e1460.js.map} +1 -1
  113. package/dist/components/{p-d78cb735.js → p-8d35e82f.js} +2 -2
  114. package/dist/components/{p-d78cb735.js.map → p-8d35e82f.js.map} +1 -1
  115. package/dist/components/{p-ef5f92ef.js → p-9c0f11ef.js} +2 -2
  116. package/dist/components/{p-ef5f92ef.js.map → p-9c0f11ef.js.map} +1 -1
  117. package/dist/components/{p-58c688ab.js → p-9deaf0e8.js} +2 -2
  118. package/dist/components/{p-58c688ab.js.map → p-9deaf0e8.js.map} +1 -1
  119. package/dist/components/{p-6310896b.js → p-9f7a30fa.js} +2 -2
  120. package/dist/components/{p-6310896b.js.map → p-9f7a30fa.js.map} +1 -1
  121. package/dist/components/{p-881af828.js → p-a01bde57.js} +3 -3
  122. package/dist/components/{p-881af828.js.map → p-a01bde57.js.map} +1 -1
  123. package/dist/components/{p-98cdb103.js → p-af46cdd8.js} +3 -3
  124. package/dist/components/{p-98cdb103.js.map → p-af46cdd8.js.map} +1 -1
  125. package/dist/components/{p-26d70a53.js → p-b918c804.js} +2 -2
  126. package/dist/components/{p-26d70a53.js.map → p-b918c804.js.map} +1 -1
  127. package/dist/components/{p-b501f877.js → p-b9989875.js} +3 -3
  128. package/dist/components/{p-b501f877.js.map → p-b9989875.js.map} +1 -1
  129. package/dist/components/{p-87282ea5.js → p-bec96455.js} +2 -2
  130. package/dist/components/{p-87282ea5.js.map → p-bec96455.js.map} +1 -1
  131. package/dist/components/{p-45f6d7df.js → p-c5e80b25.js} +10 -10
  132. package/dist/components/{p-45f6d7df.js.map → p-c5e80b25.js.map} +1 -1
  133. package/dist/components/{p-7564bcf5.js → p-d0527bbf.js} +3 -3
  134. package/dist/components/{p-7564bcf5.js.map → p-d0527bbf.js.map} +1 -1
  135. package/dist/components/{p-af43f85d.js → p-d6e0d2b9.js} +3 -3
  136. package/dist/components/{p-af43f85d.js.map → p-d6e0d2b9.js.map} +1 -1
  137. package/dist/components/{p-e79ab73a.js → p-dfa14cc2.js} +7 -7
  138. package/dist/components/{p-e79ab73a.js.map → p-dfa14cc2.js.map} +1 -1
  139. package/dist/components/{p-368c1d45.js → p-f9c61d7c.js} +3 -3
  140. package/dist/components/{p-368c1d45.js.map → p-f9c61d7c.js.map} +1 -1
  141. package/dist/components/{p-453797cd.js → p-feddb21e.js} +6 -6
  142. package/dist/components/{p-453797cd.js.map → p-feddb21e.js.map} +1 -1
  143. package/dist/components/test-input-tag.js +9 -9
  144. package/dist/esm/gb-avatar_40.entry.js +53 -39
  145. package/dist/esm/gb-avatar_40.entry.js.map +1 -1
  146. package/dist/esm/gb-progress-bar.entry.js +1 -1
  147. package/dist/esm/gb-progress-circle.entry.js +1 -1
  148. package/dist/esm/gb-rich-text.entry.js +1 -1
  149. package/dist/esm/gb-scrollbar.entry.js +1 -1
  150. package/dist/esm/gb-toggle.entry.js +1 -1
  151. package/dist/esm/gb-token-field.entry.js +1 -1
  152. package/dist/esm/gb-verification-code-field.entry.js +2 -2
  153. package/dist/esm/globuscomponents.js +1 -1
  154. package/dist/esm/loader.js +1 -1
  155. package/dist/esm/test-input-tag.entry.js +2 -2
  156. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  157. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  158. package/dist/globuscomponents/{p-69ebaeef.entry.js → p-0a4a13a8.entry.js} +2 -2
  159. package/dist/globuscomponents/{p-1cdf2a7a.entry.js → p-0d70523d.entry.js} +2 -2
  160. package/dist/globuscomponents/p-0d70523d.entry.js.map +1 -0
  161. package/dist/globuscomponents/{p-1c3276c5.entry.js → p-21bd8122.entry.js} +2 -2
  162. package/dist/globuscomponents/{p-7a3ef082.entry.js → p-31e346c4.entry.js} +2 -2
  163. package/dist/globuscomponents/p-470286c6.entry.js +2 -0
  164. package/dist/globuscomponents/{p-6aa57d46.entry.js → p-50f8c972.entry.js} +2 -2
  165. package/dist/globuscomponents/{p-593bf809.entry.js → p-771bb16e.entry.js} +2 -2
  166. package/dist/globuscomponents/{p-6fb432e5.entry.js → p-7969a875.entry.js} +2 -2
  167. package/dist/globuscomponents/{p-934ead06.entry.js → p-92de0c24.entry.js} +2 -2
  168. package/dist/types/components/gb-input-field/gb-input-field.d.ts +2 -1
  169. package/package.json +1 -1
  170. package/dist/globuscomponents/p-1cdf2a7a.entry.js.map +0 -1
  171. package/dist/globuscomponents/p-a2ca69a8.entry.js +0 -2
  172. /package/dist/globuscomponents/{p-69ebaeef.entry.js.map → p-0a4a13a8.entry.js.map} +0 -0
  173. /package/dist/globuscomponents/{p-1c3276c5.entry.js.map → p-21bd8122.entry.js.map} +0 -0
  174. /package/dist/globuscomponents/{p-7a3ef082.entry.js.map → p-31e346c4.entry.js.map} +0 -0
  175. /package/dist/globuscomponents/{p-a2ca69a8.entry.js.map → p-470286c6.entry.js.map} +0 -0
  176. /package/dist/globuscomponents/{p-6aa57d46.entry.js.map → p-50f8c972.entry.js.map} +0 -0
  177. /package/dist/globuscomponents/{p-593bf809.entry.js.map → p-771bb16e.entry.js.map} +0 -0
  178. /package/dist/globuscomponents/{p-6fb432e5.entry.js.map → p-7969a875.entry.js.map} +0 -0
  179. /package/dist/globuscomponents/{p-934ead06.entry.js.map → p-92de0c24.entry.js.map} +0 -0
@@ -54,6 +54,7 @@ export class GbInputField {
54
54
  this.showDropdown = false;
55
55
  this.selectedItem = '';
56
56
  this.selectedItems = [];
57
+ this.unselectedItems = [];
57
58
  this.paddingLeft = '1rem';
58
59
  this.paddingTop = '0rem';
59
60
  this.dropdownOpen = false;
@@ -72,7 +73,7 @@ export class GbInputField {
72
73
  this.inputValueChanged.emit(this.inputValue);
73
74
  if (this.inputValue.trim() === '') {
74
75
  this.showDropdown = false;
75
- this.results = [];
76
+ // this.results = [];
76
77
  return;
77
78
  }
78
79
  this.showSpinner = true;
@@ -88,9 +89,22 @@ export class GbInputField {
88
89
  // const mockData = this.results;
89
90
  // return mockData.filter(staff => staff.name.toLowerCase().includes(query.toLowerCase()));
90
91
  // }
91
- selectStaff(staff) {
92
- this.selectedItems = [...this.selectedItems, staff];
93
- this.inputValue = '';
92
+ selectStaff(item) {
93
+ const isObject = typeof item === 'object';
94
+ const isSelected = this.selectedItems.some(i => (isObject ? i.name === item.name : i === item));
95
+ if (isSelected) {
96
+ // Unselect item: Move it from selectedItems to unselectedItems
97
+ this.selectedItems = this.selectedItems.filter(i => (isObject ? i.name !== item.name : i !== item));
98
+ if (!this.unselectedItems.some(i => (isObject ? i.name === item.name : i === item))) {
99
+ this.unselectedItems = [...this.unselectedItems, item];
100
+ }
101
+ }
102
+ else {
103
+ // Select item: Move it from unselectedItems to selectedItems
104
+ this.selectedItems = [...this.selectedItems, item];
105
+ this.unselectedItems = this.unselectedItems.filter(i => (isObject ? i.name !== item.name : i !== item));
106
+ this.inputValueChanged.emit(this.selectedItems);
107
+ }
94
108
  // this.results = [];
95
109
  // this.showDropdown = false;
96
110
  this.updateStyles();
@@ -192,23 +206,23 @@ export class GbInputField {
192
206
  this.inputElement.removeEventListener('input', this.handleTagInput.bind(this));
193
207
  }
194
208
  render() {
195
- return (h("div", { key: '37ade50fec564ffb530e4f4a0697c99e4fa026af', class: `input_container` }, h("div", { key: '21f78a08f5748d1d4000edba6cd353288b61ca2a', class: `input_with_label` }, this.showLabel && h("p", { key: 'b9e8ede2ab485a2f479e6cb74ca6a78ebb11f6a4', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
196
- h("div", { key: 'dd6e9d94dff5cc9ddb4fe3ce293540cddf1ecf59', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '539264d604516c5fe151de8bb39d1dc0019ef892', 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: '40f70846d00f7b0a4de80d57e1d511069b123a1b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '523da8c5b0936cdf9825c25bbfc4296502e13c1b', 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: 'e0ee9e7ce7b989ab99094a2a807b3b1b32bfc455', 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" }))))))),
209
+ return (h("div", { key: 'b54af637157535b06cf9ee6a9668efac61b3d6e8', class: `input_container` }, h("div", { key: 'd588125218b506648cae8c03a34a6480af0719bf', class: `input_with_label` }, this.showLabel && h("p", { key: 'dd6c5e73bfb6189c688cd308e8008db02ca47539', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
210
+ h("div", { key: '3f997825cd55c0cd194da4ef63e933410165a937', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'fc35e6951570b70a5625027ca2f72183cf2697b7', 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: '1c399bda8d15c0059dad34233888c038dcc526d2', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '361fbc55fd9031c1d0c4856719888754050c294c', 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: '39ba9de5200e25a031017b05909f3db2aea9c83c', 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" }))))))),
197
211
  ], this.type === 'icon_leading' && [
198
- h("div", { key: '2d0a36d8eeae4ecca3317761f43dcf0427f7f330', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7b56a46bb1ac0d8d3e6de183dffa2eb9be77c02b', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: 'c585c69f3a41bbe5532b7043219db79d51053378', 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: 'b418c3806f10241785d4c9089486452e6e2082d7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '9b6a27bbe3fa0fe9a66581a6bc2671ee9d7f2640', 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: 'ba6fbcb3086cc91d23e5d2798bb2ed38cbb302d3', 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: 'ebb4f56b875cf4be8f4a9f654abad50482c089b4', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput() })))),
212
+ h("div", { key: '98eb7ddc614d3fadd2641ed0580a900024c37acd', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '38c20c3bb77b303e99258d9921db5b008abd94cd', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: 'f4f701001368996c45d03124cafd43446a38f56e', 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: 'e84165b61019a78b3374bd1cbf408e5caf5e5fdc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '19bb366cb26ee5b543cf31504c3b3621a12fd550', 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: '1c9057ac1a3f9747a985a1f8fa2630698e2c979e', 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: 'b43af5dff519c6a26061000879474bc40d892f5a', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput() })))),
199
213
  ], this.type === 'leading_dropdown' && [
200
- h("div", { key: '1437d3740fbb82ffc126423f0033845a930e86b2', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'aace14bd99e1979c5b1ecb1adfdd52553492391e', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '866fd87a7655ae9a4328e6efd63dbd8f137727c3', class: `country_icon` }, h("img", { key: '1da9e51eb8a61cc275821d137905ad2a3b5be73b', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '1672f832684ca783db579859a9e1b1b391c72dd6', class: `dropdown_text` }, h("p", { key: 'ea83708f2728d19781746217d0dc3f89ea282792', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '7937e741791827395f10dd1f06000b0d09b524d7', class: `dropdown_arrow` }, h("svg", { key: '4ed993424a74e59a9534a4d2bae9377a811b4ef2', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5039fa326aa59babbdb93356869898c6efa80bf5', 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: '664636a0bb8d8e69e7909e8abc3221bfbc5cdb0d', class: `leading_dropdown_text_input` }, h("input", { key: 'eb3c00d13312b0891c942cd1125254cfb45344de', 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: 'bc302f2980fb61d3a7cde63dcb3d4a52dafe9c0b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a2cec5be15b68ee58f34cbceddfe4e0ef0a1d377', 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: 'cefa4e4be58af153df8ed912b6b5276365d96c3c', 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" }))))))),
201
- h(Fragment, null, this.showDropdown && (h("div", { key: '7a85de87a8f772fd77cb241c3fe9de6cd477301f', class: `dropdown_menu ${this.type} ${this.size}`, 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))))))),
214
+ h("div", { key: 'f6d601e5c5a51748c8b0cbe933c5dbb1ba0c6b9f', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '1ee430926ebc9f2d016a59affeb5ade97bfe1697', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '99beb476fa51eceebe462b506c375946ceba179c', class: `country_icon` }, h("img", { key: '7dc3efde136e62f0c9515d578b441976ac26314d', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '7741ead74803f09fae743f715d9992f903b960e9', class: `dropdown_text` }, h("p", { key: 'a584a695414b34be45d2025e033ef16f9f468232', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'fa2953a7eba6ea24781475ee510c225a4f9a5e07', class: `dropdown_arrow` }, h("svg", { key: '2f6edf636f11bdc222068a6518e0d374ef03a7a5', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '04b887ec75a4d87cc2e5a04ce9d66b79c22ade0f', 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: 'cd4ae4eb85d70e80bbbab00d58f4831995e5d1a7', class: `leading_dropdown_text_input` }, h("input", { key: '37beabb2c1cd5ea90649b3d139da91e3b8dc8799', 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: '95b211ef22b3028f9198f8bbf38d6e388eb966b6', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '193eacccdb89c9a4d1f7324ab16fec69abc2139f', 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: 'a2bcf0c83c52da5fd48bc427210724175fa27d2b', 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" }))))))),
215
+ h(Fragment, null, this.showDropdown && (h("div", { key: '3b3bcbdca6dd04555582ffe32082ea32122236d0', class: `dropdown_menu ${this.type} ${this.size}`, 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))))))),
202
216
  ], this.type === 'trailing_dropdown' && [
203
- h("div", { key: 'fc6fbc588438738aacd4e241c4ce2fe4ebac8882', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'bf43ebc58f45b828ea3818de43e95bf41c72e278', class: `trailing_dropdown_content` }, h("p", { key: 'b3abbc1dc0ab52f0f520e0d8725d6e7fd10ced3f', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: 'd9d7716524f6b40a9ec9474ca3e61e95c08f21d2', 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: 'fdaf7bd97906ef7776196cc541812990973e473e', 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: '1004e92819e9fe0ce82918dccd4811628aed391c', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'd6355c833494bffbb04a97ea17ca526b046c3960', class: `dropdown_text` }, h("p", { key: '875e5fecaca6e6a15caad2cd786be8d60b70b027', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'ee505e45b6d66172b71a728b798e7f90bb22f00d', class: `dropdown_arrow` }, h("svg", { key: '67b2cb911c49a433511f8b89ed81873df5ab5fd3', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '03cc1cf66e5cf54759ca4d44a6941f30dfa5a60c', 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" }))))),
204
- h(Fragment, null, this.showDropdown && (h("div", { key: '8379fe819c066cfd6bc2ddb6048ca6206310ef48', class: `dropdown_menu ${this.type} ${this.size}`, 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))))))),
217
+ h("div", { key: '943016de9c25c4ecd983659a1bbf5470999646d5', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '4f7a850c8311a9697d2ca9fca5f465fe23633a87', class: `trailing_dropdown_content` }, h("p", { key: '8214a5446355014a7c6e8dc3f5a5e03235984827', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: '45bca73e2131c65eb33fcc75bc29f224ba6e8993', 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: '677c201303e8c6a710d9f0faf284f8c8f9286132', 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: 'dee6ce6d216a22bf6db2b52996d6ddeea297251b', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'd4e9cf027a8d2ce83881a1ef0775d753e6fd9062', class: `dropdown_text` }, h("p", { key: '1fc14cc3f8b3ef98eca4707f0f5e8c86513c3a99', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'fc826746fd85a248529a5026de88e29066da37d5', class: `dropdown_arrow` }, h("svg", { key: '53f6436a5ee68dbd1a936811a1e0fe80faf390f9', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '29d8411c24741a359f6053d7fc4afdd2b2265491', 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" }))))),
218
+ h(Fragment, null, this.showDropdown && (h("div", { key: '4a2d5c73f8e53b5312d48df7e31ea545c90973f8', class: `dropdown_menu ${this.type} ${this.size}`, 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))))))),
205
219
  ], this.type === 'leading_text' && [
206
- h("div", { key: '08838df3744c6078688fbfb4bc5f1da316f57b4e', class: "leading_text_input" }, h("div", { key: '334149d6113650dd896a88448b8819fa2528e947', class: `add_on` }, h("p", { key: 'a6554479368c70f40eb1d7b61dab0625073a6dd0', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: 'f171c86deae6eff5679a0b8cba81e7986a0b16c5', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '89e406c97c63f98c504eddf798b753906642efeb', 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: 'e34a2a33409b70d847ae0496c228bc1fa518a7cf', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '160e43cad1285492430ccfa504fc4733f6f35a03', 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: '950cf1f7c16891368874507c499c6dcc00033604', 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" }))))))),
207
- ], this.type === 'payment_input' && (h("div", { key: '09ba5b4e1343a86491c2dd6e7874a478a11a294c', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: '77c84ba673fd4fe76361f1cfbdfca2f3ba24d1d6', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '6407d836096c551b16e8707014169cb7ab9210f8', "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: '368e327d7801cc72edf358daa5d717f69d9c214e', "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: '022864de3c7b85eb4206d2f33329e9ff2a9676aa', "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: '426bb6f41df52f8639600fc4b3caebecdd20db2b', 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: 'e6a221dd1d213996a920d3dacf727b6c7f159da4', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '63d1f94b5eaf12eb27088301ce68aa090f0ffcc4', 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: '06a2c7e20ee11176a0f9cc00cd0da791de01ec5b', 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: '27b3e00cfada62952d8483354c9939b0c7488481', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7e8f68c6d0f8f601e7079bdc49e7a4284c700556', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '14d8f550033df6974fd0d24d7aacd6ec60c25ca4', 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: 'a8aa739cb4cd1817ab63e50ad778ac59ec565d8f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7895e552d42f3603a64ea3e334c906afc8e8a9e4', 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: '1ed1da1b1644c9f61b46ea9dd890be1c33e4d26d', 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: 'a8c864d11be6200591345877c8020acc37c03fce', 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: '128a49a5df8ab3f9c2cc979e7ed7bf9bc4161403', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '53e885b6d9e910e609faf76731dec4e6c15c2198', class: `password_content` }, h("input", { key: 'b7d3a7c1f3a2e2517d58c765472fa04acd6e5e83', 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: '5ac2f4e77d10eadedbf40b4b0a854563856ca72e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '50a44b56de6f128f9c06182de0ff37ca3195ff2b', 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: 'eb63861c1f1f5e780cb6338369cbe1dc8b0b85a0', 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: 'a23957614198cd344a034e2501d3c679f71a9699', class: `dropdown` }, h("gb-password-button", { key: '4487a5e78b0fc8fc5b480933ebf43beebe9e93db', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'f8e631c4b795b59ce95a7f059f62a2eeeb6160ac', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'de20fbce2fc3cb1cfbeb00bc6933652501bd10c1', class: `password_icon_leading_content` }, h("svg", { key: '380fda0f81d40d5bb532d2c35d61892e38823dcf', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd9214c2e7d18511680622b6062ac03b98ee70162', 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: 'd2c99f7d88660a6e247858ed90ae5c834a96a7cf', 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: '1a0dc891d0dede2bba559ed7620939df73e3dcd1', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '654d0b304c097c2c232518d12adf5fc0b9fd3566', 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: '0b08b63091af5cfbd75e8835870778f7d1b2ab8d', 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: 'cefae5ac6e45cb7b2abea50f130b621b8afbecb9', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
208
- h("div", { key: '786d6911487c0742dbe51cbb95c08b75a530b272', class: `count_input` }, h("div", { key: '011cc6ab7c28604b969f457bfb181c77dcae4e34', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '550d32b29f49e10ae399d71c1846b42f1a4c2df8', 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: '0992ae78b2f7f2a6e2e7168703ad390716279742', 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: '5dfd0e994c8d3edc2f7eda302b0aaa37b34e8182', class: `action ${this.state}` }, h("gb-button", { key: '65f63e5c5cf81fb7229564ce796da555f56c025d', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: 'a5ef4f7ef1feb0851040b21b543214346722d960' }), h("gb-button", { key: 'fdaa65ea0110d9c40821059da9c788290b68439c', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
209
- ], this.type === 'tags' && (h("div", { key: '5a213ead8110a3d47c829c4ba240a3612ad39da9', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: 'c5d6c246f0bb30d1409ec9ae72043f7fbedf4c47', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: '04ea8a8871ea16fcd8ab8758ba11b8fd4d8fcbd7', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, !this.value ? (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.removeStaff(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, item.name.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.removeStaff(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.removeStaff(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.name.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.removeStaff(index) }, h("p", null, val)))))))), h("span", { key: '5a0ac677f5d830d3a6f478e83e67feb1fb87a969', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: '7a40e6133c1e02dc5412c3c400d4e39484ec730c', class: "input_field" }, h("input", { key: '3e6a55b46a957caa5d6b55b7f989708d6ab39418', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
220
+ h("div", { key: 'f8c2f18e2c71146451aa5d9629f9e88b6134db43', class: "leading_text_input" }, h("div", { key: 'fd4d068b5f4abd4ad53b38f4597201443dfaeba5', class: `add_on` }, h("p", { key: '404c1a9dc85909876ee4206218cf92fd58f563d3', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: '0dda843ee255b6c8006fa9b0d40e8b425fab4abf', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: 'b0fb46dcd74b99fbd833e7e3ab4e18efef2227cc', 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: 'd0aa87f4151898f51dcaf614eb5364bc0de7f523', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7caecf03ac868c2df64327529ae5bcd5ede663c4', 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: '63c3075d433485c3d27539a8aa87562c0ddae172', 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" }))))))),
221
+ ], this.type === 'payment_input' && (h("div", { key: '07bfcdf9b581cf5f58e36a7db99e7d5a1636fe3b', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'c712b087f5b1081559da14bc1914e86288f7e454', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '99a05ce2ec99b13a24b9b2f19f5fae556e2b7ac3', "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: '14fd53604999a12d008c4175a5867b4ce06a8b2d', "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: '3c0821a7a10695c10b9be7c8b239d6beccf6c6a5', "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: '0fd1782a82f1bc100f06f630392024f79648ffbe', 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: 'ebf0e9ee5ad02940a7b9463dc1a07d87f6b6b490', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '26e878d6ee66d29e750a24870f4787715759f17c', 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: 'a47bbb81cdca570ce3310fce19ebae39773d185a', 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: '37d7fd1e459ed6b50c723923bdeaa43ce0db4afe', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '256b53280c9f508ece8dfe074914ccb3e54fa925', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '404ea95a3e4a9b5df4a834e9ddeeec6f568daa19', 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: '44ff12fce63a3900a8fc658833e0462a6bf00e81', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '0a0fbe82ebb890758bf047182f4068a7ae81aed0', 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: '9e97d328f89195a736fa29646e240d6a820c8f88', 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: '7c033c8acf632163c9bccf240c5e6709c4a1a81d', 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: 'ab5b0d4dc15cd27fda08bbfbb2ca372f34eb5721', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '3f8130850a83daf307b0b1b6f06bcc32e502934b', class: `password_content` }, h("input", { key: '39d79880f0a9b6e521c20b309979bbeae982b841', 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: 'fb6aae5c5111257d086f93979670823a7a9c5f2b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a516f1557e6e0497320b0007bbeb58ae1d593c8d', 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: '76adf84fa26196dbfb0fa4e2b8530bd74821525b', 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: 'adcdcf93de5aa60bef812f3b98da00bfe6b0c344', class: `dropdown` }, h("gb-password-button", { key: '927718bd4af9db8a81c53d00eba6624cd6f596e1', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: '3920222c80c24859642e945e2b1070b5885fdd51', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '5a0c21afecba0d2958c966df1f764ce149c603c1', class: `password_icon_leading_content` }, h("svg", { key: '56f6205bbed291a612eef73118b58ccdcd7cf7b7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a441180255545dcd4290e81acd0a0ff0babef1c8', 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: '394e9e5afab6549d5739e83bad5aaf278b9be464', 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: '254b22481a0769ce93101b316ad26888afcce22b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5058532e7678068a01cf541f9aa4cf76d42ce587', 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: '9586ad27308ab53448c67d3a19d9089967d0580b', 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: 'e738033f4cc808575881d276b70ff762cc32bae5', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
222
+ h("div", { key: 'c9e2e6eb6a7a0e7b94ae0b3f98c01ba47a1db0cd', class: `count_input` }, h("div", { key: 'bdb47bb6498472ff6f8aeee72e0fadca37ff318a', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: 'c597c82d282d1887e5939aade6969d153d74b926', 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: '9fe04945fe162bb64258964b7e774f69bfd445d8', 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: '794d19da130e02b2a3b84e7d903d53670c18b075', class: `action ${this.state}` }, h("gb-button", { key: 'ab7ad1877eada3bd4f91eb117f027db4425f1861', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: '9c93c9697834b1c6788859c0754b570b766b0144' }), h("gb-button", { key: 'ff87ac09d05f269f8316dbf676a263e01509115b', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
223
+ ], this.type === 'tags' && (h("div", { key: 'c3da671b1a272c28225c4d9a2a05ee2e7e7472cc', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: 'dd7a0397f9ef93ab85f1a01722b54eea6e21f9b4', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: '5b070c3387c8f60c02b8581342cd2111f468747e', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, !this.value ? (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.removeStaff(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, item.name.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.removeStaff(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.removeStaff(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.name.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.removeStaff(index) }, h("p", null, val)))))))), h("span", { key: '37d95d2a41a73227d2315415ee37478bf02f53f9', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: 'ec490dbfb8d6e7a4abaac536a9593d125182d3d4', class: "input_field" }, h("input", { key: '37dc800ee2d5cec0f9a7b291c0e5a6e3c5bff557', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
210
224
  // placeholder={this.placeholder && this.selectedStaff.length === 0 ? this.placeholder : ''}
211
- value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: 'c05c32ea758d0c8293782c59c617cf7692bfaf0b', 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.selectStaff(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
225
+ value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: '4dfa23c17cde532a6f34983318ef29a9b713b719', 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.selectStaff(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
212
226
  ? [h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, item.email)]
213
227
  : typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), !this.destructive ? h("p", { class: "hint_text text-sm-regular" }, this.hintText) : h("p", { class: "error_text text-sm-regular" }, this.errorText)));
214
228
  }
@@ -650,6 +664,7 @@ export class GbInputField {
650
664
  "showDropdown": {},
651
665
  "selectedItem": {},
652
666
  "selectedItems": {},
667
+ "unselectedItems": {},
653
668
  "paddingLeft": {},
654
669
  "paddingTop": {},
655
670
  "dropdownOpen": {},