globuswebcomponents 0.9.7 → 0.9.9

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 (234) hide show
  1. package/dist/cjs/{gb-avatar_44.cjs.entry.js → gb-avatar_45.cjs.entry.js} +249 -122
  2. package/dist/cjs/gb-avatar_45.cjs.entry.js.map +1 -0
  3. package/dist/cjs/gb-export-dropdown.cjs.entry.js +2 -2
  4. package/dist/cjs/gb-export-dropdown.cjs.entry.js.map +1 -1
  5. package/dist/cjs/gb-pagination-dot-group.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-progress-circle.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-rich-text.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-toggle.cjs.entry.js +1 -1
  10. package/dist/cjs/gb-token-field.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-verification-code-field.cjs.entry.js +2 -2
  12. package/dist/cjs/globuscomponents.cjs.js +1 -1
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/reusableModels-e50f3440.js.map +1 -1
  15. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  16. package/dist/collection/assets/empty-state-background.svg +60 -0
  17. package/dist/collection/assets/empty-state-no-data.svg +42 -0
  18. package/dist/collection/collection-manifest.json +1 -0
  19. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +2 -2
  20. package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js.map +1 -1
  21. package/dist/collection/components/gb-file-upload/gb-file-upload.js +27 -27
  22. package/dist/collection/components/gb-file-upload/gb-file-upload.js.map +1 -1
  23. package/dist/collection/components/gb-horizontal-tabs/gb-horizontal-tabs.js +1 -1
  24. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.css +29 -0
  25. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +142 -63
  26. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  27. package/dist/collection/components/gb-input-dropdown-menu-item/gb-input-dropdown-menu-item.css +0 -4
  28. package/dist/collection/components/gb-input-field/gb-input-field.css +6 -0
  29. package/dist/collection/components/gb-input-field/gb-input-field.js +25 -17
  30. package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
  31. package/dist/collection/components/gb-pagination/gb-pagination.js +4 -3
  32. package/dist/collection/components/gb-pagination/gb-pagination.js.map +1 -1
  33. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js +2 -40
  34. package/dist/collection/components/gb-pagination-button-group-base/gb-pagination-button-group-base.js.map +1 -1
  35. package/dist/collection/components/gb-pagination-dot-group/gb-pagination-dot-group.js +1 -1
  36. package/dist/collection/components/gb-pagination-dot-indicator/gb-pagination-dot-indicator.js +1 -1
  37. package/dist/collection/components/gb-pagination-number-base/gb-pagination-number-base.js +1 -1
  38. package/dist/collection/components/gb-password-button/gb-password-button.js +1 -1
  39. package/dist/collection/components/gb-progress-bar/gb-progress-bar.js +1 -1
  40. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +1 -1
  41. package/dist/collection/components/gb-rich-text/gb-rich-text.js +1 -1
  42. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  43. package/dist/collection/components/gb-side-bar-item/gb-side-bar-item.js +1 -1
  44. package/dist/collection/components/gb-sidebar/gb-sidebar.js +5 -6
  45. package/dist/collection/components/gb-sidebar/gb-sidebar.js.map +1 -1
  46. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  47. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  48. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  49. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.css +4 -0
  50. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +4 -4
  51. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  52. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  53. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  54. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  55. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  56. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  57. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  58. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  59. package/dist/collection/components/gb-token-field/gb-token-field.js +1 -1
  60. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  61. package/dist/collection/components/gb-verification-code-field/gb-verification-code-field.js +2 -2
  62. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.css +6 -0
  63. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +501 -0
  64. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js.map +1 -0
  65. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  66. package/dist/collection/models/reusableModels.js.map +1 -1
  67. package/dist/components/gb-avatar-add-button.js +1 -1
  68. package/dist/components/gb-avatar-dropdown.js +3 -3
  69. package/dist/components/gb-avatar-group.js +4 -4
  70. package/dist/components/gb-avatar-label-group.js +1 -1
  71. package/dist/components/gb-avatar-profile-photo.js +2 -2
  72. package/dist/components/gb-avatar.js +1 -1
  73. package/dist/components/gb-badge.js +1 -1
  74. package/dist/components/gb-checkbox-group-item.js +1 -1
  75. package/dist/components/gb-checkbox-group.js +3 -3
  76. package/dist/components/gb-collapse-button.js +1 -1
  77. package/dist/components/gb-export-dropdown.js +2 -2
  78. package/dist/components/gb-export-dropdown.js.map +1 -1
  79. package/dist/components/gb-file-upload-item-base.js +1 -1
  80. package/dist/components/gb-file-upload.js +30 -28
  81. package/dist/components/gb-file-upload.js.map +1 -1
  82. package/dist/components/gb-header.js +2 -2
  83. package/dist/components/gb-help-tooltip.js +1 -1
  84. package/dist/components/gb-horizontal-tabs.js +4 -4
  85. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  86. package/dist/components/gb-input-dropdown.js +1 -1
  87. package/dist/components/gb-input-field.js +1 -1
  88. package/dist/components/gb-pagination-button-group-base.js +1 -1
  89. package/dist/components/gb-pagination-dot-group.js +1 -1
  90. package/dist/components/gb-pagination-dot-indicator.js +1 -1
  91. package/dist/components/gb-pagination-number-base.js +1 -1
  92. package/dist/components/gb-pagination.js +18 -17
  93. package/dist/components/gb-pagination.js.map +1 -1
  94. package/dist/components/gb-password-button.js +1 -1
  95. package/dist/components/gb-progress-bar.js +1 -1
  96. package/dist/components/gb-progress-circle.js +1 -1
  97. package/dist/components/gb-rich-text.js +14 -14
  98. package/dist/components/gb-scrollbar.js +1 -1
  99. package/dist/components/gb-side-bar-item.js +1 -1
  100. package/dist/components/gb-sidebar.js +11 -12
  101. package/dist/components/gb-sidebar.js.map +1 -1
  102. package/dist/components/gb-slider-control-handle.js +1 -1
  103. package/dist/components/gb-slider.js +3 -3
  104. package/dist/components/gb-status-indicator.js +1 -1
  105. package/dist/components/gb-tab-button-base.js +1 -1
  106. package/dist/components/gb-tag-checkbox.js +1 -1
  107. package/dist/components/gb-tag-close.js +1 -1
  108. package/dist/components/gb-tag-count.js +1 -1
  109. package/dist/components/gb-tag.js +1 -1
  110. package/dist/components/gb-toast-button.js +1 -1
  111. package/dist/components/gb-toast.js +2 -2
  112. package/dist/components/gb-toggle-base.js +1 -1
  113. package/dist/components/gb-toggle.js +2 -2
  114. package/dist/components/gb-token-field.js +1 -1
  115. package/dist/components/gb-tooltip.js +1 -1
  116. package/dist/components/gb-verification-code-field.js +2 -2
  117. package/dist/components/gb-vertical-tabs.d.ts +11 -0
  118. package/dist/components/gb-vertical-tabs.js +132 -0
  119. package/dist/components/gb-vertical-tabs.js.map +1 -0
  120. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  121. package/dist/components/{p-b17585ec.js → p-0bde1b0e.js} +2 -2
  122. package/dist/components/{p-b17585ec.js.map → p-0bde1b0e.js.map} +1 -1
  123. package/dist/components/{p-7def9a0c.js → p-0c6b277d.js} +2 -2
  124. package/dist/components/{p-7def9a0c.js.map → p-0c6b277d.js.map} +1 -1
  125. package/dist/components/{p-6b417d00.js → p-12879e00.js} +2 -2
  126. package/dist/components/{p-6b417d00.js.map → p-12879e00.js.map} +1 -1
  127. package/dist/components/{p-ef76a407.js → p-1c1003b6.js} +2 -2
  128. package/dist/components/{p-ef76a407.js.map → p-1c1003b6.js.map} +1 -1
  129. package/dist/components/{p-99f8eb85.js → p-24625c69.js} +2 -2
  130. package/dist/components/{p-99f8eb85.js.map → p-24625c69.js.map} +1 -1
  131. package/dist/components/{p-75e5ba2a.js → p-29ca4063.js} +7 -7
  132. package/dist/components/{p-75e5ba2a.js.map → p-29ca4063.js.map} +1 -1
  133. package/dist/components/{p-c14ae549.js → p-2e73f436.js} +2 -2
  134. package/dist/components/{p-c14ae549.js.map → p-2e73f436.js.map} +1 -1
  135. package/dist/components/{p-2fedd9da.js → p-3254d1d4.js} +3 -3
  136. package/dist/components/{p-2fedd9da.js.map → p-3254d1d4.js.map} +1 -1
  137. package/dist/components/p-47052b60.js.map +1 -1
  138. package/dist/components/{p-5b236279.js → p-472f11a3.js} +2 -2
  139. package/dist/components/{p-5b236279.js.map → p-472f11a3.js.map} +1 -1
  140. package/dist/components/{p-62cba16e.js → p-55f450f8.js} +132 -57
  141. package/dist/components/p-55f450f8.js.map +1 -0
  142. package/dist/components/{p-6ed7f8fd.js → p-6557b598.js} +3 -3
  143. package/dist/components/{p-6ed7f8fd.js.map → p-6557b598.js.map} +1 -1
  144. package/dist/components/{p-5a175e1b.js → p-855667d7.js} +4 -4
  145. package/dist/components/p-855667d7.js.map +1 -0
  146. package/dist/components/{p-f44cfa90.js → p-88e8dfdb.js} +3 -3
  147. package/dist/components/{p-f44cfa90.js.map → p-88e8dfdb.js.map} +1 -1
  148. package/dist/components/{p-a5be24df.js → p-8a6370b2.js} +3 -3
  149. package/dist/components/{p-a5be24df.js.map → p-8a6370b2.js.map} +1 -1
  150. package/dist/components/{p-92560291.js → p-8a998306.js} +2 -2
  151. package/dist/components/{p-92560291.js.map → p-8a998306.js.map} +1 -1
  152. package/dist/components/{p-cf36ddf6.js → p-99ac6a1b.js} +37 -29
  153. package/dist/components/p-99ac6a1b.js.map +1 -0
  154. package/dist/components/{p-e671339d.js → p-ac14b3b7.js} +8 -8
  155. package/dist/components/p-ac14b3b7.js.map +1 -0
  156. package/dist/components/{p-0ad4eab9.js → p-ad3a2c04.js} +2 -2
  157. package/dist/components/{p-0ad4eab9.js.map → p-ad3a2c04.js.map} +1 -1
  158. package/dist/components/{p-d0c7cb58.js → p-c2efc577.js} +2 -2
  159. package/dist/components/{p-d0c7cb58.js.map → p-c2efc577.js.map} +1 -1
  160. package/dist/components/{p-86a65382.js → p-c8f12e95.js} +2 -2
  161. package/dist/components/{p-86a65382.js.map → p-c8f12e95.js.map} +1 -1
  162. package/dist/components/{p-38b74f4c.js → p-cbe0d594.js} +2 -2
  163. package/dist/components/{p-38b74f4c.js.map → p-cbe0d594.js.map} +1 -1
  164. package/dist/components/{p-b86bef4d.js → p-d401040a.js} +3 -3
  165. package/dist/components/{p-b86bef4d.js.map → p-d401040a.js.map} +1 -1
  166. package/dist/components/{p-40545eb0.js → p-db3b8bbc.js} +3 -9
  167. package/dist/components/p-db3b8bbc.js.map +1 -0
  168. package/dist/components/{p-30587454.js → p-e7fb3e27.js} +3 -3
  169. package/dist/components/{p-30587454.js.map → p-e7fb3e27.js.map} +1 -1
  170. package/dist/components/{p-116a3de5.js → p-ec43535d.js} +6 -6
  171. package/dist/components/{p-116a3de5.js.map → p-ec43535d.js.map} +1 -1
  172. package/dist/components/{p-c74e6b18.js → p-f80c61bb.js} +13 -13
  173. package/dist/components/{p-c74e6b18.js.map → p-f80c61bb.js.map} +1 -1
  174. package/dist/components/{p-1370acdb.js → p-fdb2a202.js} +3 -3
  175. package/dist/components/{p-1370acdb.js.map → p-fdb2a202.js.map} +1 -1
  176. package/dist/components/test-input-tag.js +9 -9
  177. package/dist/esm/{gb-avatar_44.entry.js → gb-avatar_45.entry.js} +249 -123
  178. package/dist/esm/gb-avatar_45.entry.js.map +1 -0
  179. package/dist/esm/gb-export-dropdown.entry.js +2 -2
  180. package/dist/esm/gb-export-dropdown.entry.js.map +1 -1
  181. package/dist/esm/gb-pagination-dot-group.entry.js +1 -1
  182. package/dist/esm/gb-progress-circle.entry.js +1 -1
  183. package/dist/esm/gb-rich-text.entry.js +1 -1
  184. package/dist/esm/gb-scrollbar.entry.js +1 -1
  185. package/dist/esm/gb-toggle.entry.js +1 -1
  186. package/dist/esm/gb-token-field.entry.js +1 -1
  187. package/dist/esm/gb-verification-code-field.entry.js +2 -2
  188. package/dist/esm/globuscomponents.js +1 -1
  189. package/dist/esm/loader.js +1 -1
  190. package/dist/esm/reusableModels-8496e911.js.map +1 -1
  191. package/dist/esm/test-input-tag.entry.js +2 -2
  192. package/dist/globuscomponents/assets/empty-state-background.svg +60 -0
  193. package/dist/globuscomponents/assets/empty-state-no-data.svg +42 -0
  194. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  195. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  196. package/dist/globuscomponents/{p-9f612212.entry.js → p-09f97c9b.entry.js} +2 -2
  197. package/dist/globuscomponents/p-123789b1.entry.js +2 -0
  198. package/dist/globuscomponents/p-47052b60.js.map +1 -1
  199. package/dist/globuscomponents/{p-65f494ea.entry.js → p-69239722.entry.js} +2 -2
  200. package/dist/globuscomponents/p-a6568465.entry.js +2 -0
  201. package/dist/globuscomponents/{p-6e05335a.entry.js → p-a786f9fa.entry.js} +2 -2
  202. package/dist/globuscomponents/{p-70868bfe.entry.js → p-b5d57e93.entry.js} +2 -2
  203. package/dist/globuscomponents/{p-13fb8ad0.entry.js → p-b65519f9.entry.js} +2 -2
  204. package/dist/globuscomponents/{p-27ad012f.entry.js → p-bf41505d.entry.js} +2 -2
  205. package/dist/globuscomponents/p-bf41505d.entry.js.map +1 -0
  206. package/dist/globuscomponents/{p-cc42edb7.entry.js → p-f4d25885.entry.js} +2 -2
  207. package/dist/globuscomponents/p-f4d25885.entry.js.map +1 -0
  208. package/dist/globuscomponents/{p-f8a6d94e.entry.js → p-f58cd21d.entry.js} +2 -2
  209. package/dist/types/components/gb-input-dropdown/gb-input-dropdown.d.ts +10 -4
  210. package/dist/types/components/gb-input-field/gb-input-field.d.ts +0 -1
  211. package/dist/types/components/gb-pagination-button-group-base/gb-pagination-button-group-base.d.ts +0 -3
  212. package/dist/types/components/gb-vertical-tabs/gb-vertical-tabs.d.ts +31 -0
  213. package/dist/types/components.d.ts +83 -10
  214. package/dist/types/models/reusableModels.d.ts +2 -2
  215. package/package.json +1 -1
  216. package/dist/cjs/gb-avatar_44.cjs.entry.js.map +0 -1
  217. package/dist/components/p-40545eb0.js.map +0 -1
  218. package/dist/components/p-5a175e1b.js.map +0 -1
  219. package/dist/components/p-62cba16e.js.map +0 -1
  220. package/dist/components/p-cf36ddf6.js.map +0 -1
  221. package/dist/components/p-e671339d.js.map +0 -1
  222. package/dist/esm/gb-avatar_44.entry.js.map +0 -1
  223. package/dist/globuscomponents/p-27ad012f.entry.js.map +0 -1
  224. package/dist/globuscomponents/p-cc42edb7.entry.js.map +0 -1
  225. package/dist/globuscomponents/p-dd933232.entry.js +0 -2
  226. package/dist/globuscomponents/p-ffe76eeb.entry.js +0 -2
  227. /package/dist/globuscomponents/{p-9f612212.entry.js.map → p-09f97c9b.entry.js.map} +0 -0
  228. /package/dist/globuscomponents/{p-dd933232.entry.js.map → p-123789b1.entry.js.map} +0 -0
  229. /package/dist/globuscomponents/{p-65f494ea.entry.js.map → p-69239722.entry.js.map} +0 -0
  230. /package/dist/globuscomponents/{p-ffe76eeb.entry.js.map → p-a6568465.entry.js.map} +0 -0
  231. /package/dist/globuscomponents/{p-6e05335a.entry.js.map → p-a786f9fa.entry.js.map} +0 -0
  232. /package/dist/globuscomponents/{p-70868bfe.entry.js.map → p-b5d57e93.entry.js.map} +0 -0
  233. /package/dist/globuscomponents/{p-13fb8ad0.entry.js.map → p-b65519f9.entry.js.map} +0 -0
  234. /package/dist/globuscomponents/{p-f8a6d94e.entry.js.map → p-f58cd21d.entry.js.map} +0 -0
@@ -0,0 +1,501 @@
1
+ import { h } from "@stencil/core";
2
+ export class GbVerticalTabs {
3
+ constructor() {
4
+ this.size = undefined;
5
+ this.type = undefined;
6
+ this.firstTabName = '';
7
+ this.secondTabName = '';
8
+ this.thirdTabName = '';
9
+ this.fourthTabName = '';
10
+ this.fifthTabName = '';
11
+ this.sixthTabName = '';
12
+ this.seventhTabName = '';
13
+ this.eighthTabName = '';
14
+ this.ninthTabName = '';
15
+ this.tenthTabName = '';
16
+ this.eleventhTabName = '';
17
+ this.twelfthTabName = '';
18
+ this.thirteenthTabName = '';
19
+ this.fourteenthTabName = '';
20
+ this.fifteenthTabName = '';
21
+ this.sixteenthTabName = '';
22
+ this.seventeenthTabName = '';
23
+ this.eighteenthTabName = '';
24
+ this.nineteenthTabName = '';
25
+ this.twentiethTabName = '';
26
+ this.activeIndex = 0;
27
+ }
28
+ async handleTabClick(index) {
29
+ this.activeIndex = index;
30
+ localStorage.setItem('activeIndex', index.toString());
31
+ this.tabItemClicked.emit(index);
32
+ }
33
+ componentWillLoad() {
34
+ const storedIndex = localStorage.getItem('activeIndex');
35
+ if (storedIndex !== null) {
36
+ this.activeIndex = parseInt(storedIndex, 10); // Retrieve active index from localStorage
37
+ }
38
+ }
39
+ render() {
40
+ return (h("div", { key: 'af9d020916437105851130633b105059eecf5432', class: `vertical_tab_div` }, h("gb-tab-button-base", { key: 'c5d5153ca3fb37c1c2055ab6e5b0823f644b9ea2', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.firstTabName, current: this.activeIndex === 0, onClick: () => this.handleTabClick(0) }), h("gb-tab-button-base", { key: 'c1ed38034cef9ad1fcf37d6b6c6bb6e59b06b455', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.secondTabName, current: this.activeIndex === 1, onClick: () => this.handleTabClick(1) }), this.thirdTabName && (h("gb-tab-button-base", { key: '0aaa20ec8f0cf45095b39a23f65001acf59b8a74', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.thirdTabName, current: this.activeIndex === 2, onClick: () => this.handleTabClick(2) })), this.fourthTabName && (h("gb-tab-button-base", { key: '7c7b4b8eed354b7e5a692a499c143d8263f3bdd6', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.fourthTabName, current: this.activeIndex === 3, onClick: () => this.handleTabClick(3) })), this.fifthTabName && (h("gb-tab-button-base", { key: 'c3350ec5ddea5e6849a5d1598ef68dd0066bc4f8', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.fifthTabName, current: this.activeIndex === 4, onClick: () => this.handleTabClick(4) })), this.sixthTabName && (h("gb-tab-button-base", { key: '314414f086b89af8c1b90af81f73b251165e82c5', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.sixthTabName, current: this.activeIndex === 5, onClick: () => this.handleTabClick(5) })), this.seventhTabName && (h("gb-tab-button-base", { key: '7d0ad47cd6a44ee84d3a6211a9c02edb9df1bc74', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.seventhTabName, current: this.activeIndex === 6, onClick: () => this.handleTabClick(6) })), this.eighthTabName && (h("gb-tab-button-base", { key: '1296e8f9b3cbab782109b25b24795dfae087890d', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.eighthTabName, current: this.activeIndex === 7, onClick: () => this.handleTabClick(7) })), this.ninthTabName && (h("gb-tab-button-base", { key: 'ad6ccf03565ae90ecc2af0351c82e86efcaf4fb5', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.ninthTabName, current: this.activeIndex === 8, onClick: () => this.handleTabClick(8) })), this.tenthTabName && (h("gb-tab-button-base", { key: 'e73e8db0b250b87b7fa15426b0aa3e7da03a70bd', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.tenthTabName, current: this.activeIndex === 9, onClick: () => this.handleTabClick(9) })), this.eleventhTabName && (h("gb-tab-button-base", { key: '1f2eb382208bfc366020edd1d3292aab1810c755', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.eleventhTabName, current: this.activeIndex === 10, onClick: () => this.handleTabClick(10) })), this.twelfthTabName && (h("gb-tab-button-base", { key: 'b1e74b770708a8ff1cbe5ad1ecf2896130f048e1', size: this.size, type: this.type === 'button_gray_border' ? 'button_white' : this.type, "tab-name": this.twelfthTabName, current: this.activeIndex === 11, onClick: () => this.handleTabClick(11) }))));
41
+ }
42
+ static get is() { return "gb-vertical-tabs"; }
43
+ static get encapsulation() { return "shadow"; }
44
+ static get originalStyleUrls() {
45
+ return {
46
+ "$": ["gb-vertical-tabs.css"]
47
+ };
48
+ }
49
+ static get styleUrls() {
50
+ return {
51
+ "$": ["gb-vertical-tabs.css"]
52
+ };
53
+ }
54
+ static get properties() {
55
+ return {
56
+ "size": {
57
+ "type": "string",
58
+ "mutable": false,
59
+ "complexType": {
60
+ "original": "GeneralSizes",
61
+ "resolved": "\"lg\" | \"md\" | \"profile_lg\" | \"profile_md\" | \"profile_sm\" | \"sm\" | \"xl\" | \"xl2\" | \"xl3\" | \"xl4\" | \"xs\" | \"xxs\"",
62
+ "references": {
63
+ "GeneralSizes": {
64
+ "location": "import",
65
+ "path": "../../models/reusableModels",
66
+ "id": "src/models/reusableModels.ts::GeneralSizes"
67
+ }
68
+ }
69
+ },
70
+ "required": false,
71
+ "optional": false,
72
+ "docs": {
73
+ "tags": [],
74
+ "text": ""
75
+ },
76
+ "attribute": "size",
77
+ "reflect": false
78
+ },
79
+ "type": {
80
+ "type": "string",
81
+ "mutable": false,
82
+ "complexType": {
83
+ "original": "TabTypes",
84
+ "resolved": "\"button_gray\" | \"button_gray_border\" | \"button_primary\" | \"button_white\" | \"button_white_border\" | \"line\" | \"rounded_button_white\" | \"rounded_button_white_border\" | \"underline\" | \"underline_filled\"",
85
+ "references": {
86
+ "TabTypes": {
87
+ "location": "import",
88
+ "path": "../../models/reusableModels",
89
+ "id": "src/models/reusableModels.ts::TabTypes"
90
+ }
91
+ }
92
+ },
93
+ "required": false,
94
+ "optional": false,
95
+ "docs": {
96
+ "tags": [],
97
+ "text": ""
98
+ },
99
+ "attribute": "type",
100
+ "reflect": false
101
+ },
102
+ "firstTabName": {
103
+ "type": "string",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "string",
107
+ "resolved": "string",
108
+ "references": {}
109
+ },
110
+ "required": false,
111
+ "optional": false,
112
+ "docs": {
113
+ "tags": [],
114
+ "text": ""
115
+ },
116
+ "attribute": "first-tab-name",
117
+ "reflect": false,
118
+ "defaultValue": "''"
119
+ },
120
+ "secondTabName": {
121
+ "type": "string",
122
+ "mutable": false,
123
+ "complexType": {
124
+ "original": "string",
125
+ "resolved": "string",
126
+ "references": {}
127
+ },
128
+ "required": false,
129
+ "optional": false,
130
+ "docs": {
131
+ "tags": [],
132
+ "text": ""
133
+ },
134
+ "attribute": "second-tab-name",
135
+ "reflect": false,
136
+ "defaultValue": "''"
137
+ },
138
+ "thirdTabName": {
139
+ "type": "string",
140
+ "mutable": false,
141
+ "complexType": {
142
+ "original": "string",
143
+ "resolved": "string",
144
+ "references": {}
145
+ },
146
+ "required": false,
147
+ "optional": false,
148
+ "docs": {
149
+ "tags": [],
150
+ "text": ""
151
+ },
152
+ "attribute": "third-tab-name",
153
+ "reflect": false,
154
+ "defaultValue": "''"
155
+ },
156
+ "fourthTabName": {
157
+ "type": "string",
158
+ "mutable": false,
159
+ "complexType": {
160
+ "original": "string",
161
+ "resolved": "string",
162
+ "references": {}
163
+ },
164
+ "required": false,
165
+ "optional": false,
166
+ "docs": {
167
+ "tags": [],
168
+ "text": ""
169
+ },
170
+ "attribute": "fourth-tab-name",
171
+ "reflect": false,
172
+ "defaultValue": "''"
173
+ },
174
+ "fifthTabName": {
175
+ "type": "string",
176
+ "mutable": false,
177
+ "complexType": {
178
+ "original": "string",
179
+ "resolved": "string",
180
+ "references": {}
181
+ },
182
+ "required": false,
183
+ "optional": false,
184
+ "docs": {
185
+ "tags": [],
186
+ "text": ""
187
+ },
188
+ "attribute": "fifth-tab-name",
189
+ "reflect": false,
190
+ "defaultValue": "''"
191
+ },
192
+ "sixthTabName": {
193
+ "type": "string",
194
+ "mutable": false,
195
+ "complexType": {
196
+ "original": "string",
197
+ "resolved": "string",
198
+ "references": {}
199
+ },
200
+ "required": false,
201
+ "optional": false,
202
+ "docs": {
203
+ "tags": [],
204
+ "text": ""
205
+ },
206
+ "attribute": "sixth-tab-name",
207
+ "reflect": false,
208
+ "defaultValue": "''"
209
+ },
210
+ "seventhTabName": {
211
+ "type": "string",
212
+ "mutable": false,
213
+ "complexType": {
214
+ "original": "string",
215
+ "resolved": "string",
216
+ "references": {}
217
+ },
218
+ "required": false,
219
+ "optional": false,
220
+ "docs": {
221
+ "tags": [],
222
+ "text": ""
223
+ },
224
+ "attribute": "seventh-tab-name",
225
+ "reflect": false,
226
+ "defaultValue": "''"
227
+ },
228
+ "eighthTabName": {
229
+ "type": "string",
230
+ "mutable": false,
231
+ "complexType": {
232
+ "original": "string",
233
+ "resolved": "string",
234
+ "references": {}
235
+ },
236
+ "required": false,
237
+ "optional": false,
238
+ "docs": {
239
+ "tags": [],
240
+ "text": ""
241
+ },
242
+ "attribute": "eighth-tab-name",
243
+ "reflect": false,
244
+ "defaultValue": "''"
245
+ },
246
+ "ninthTabName": {
247
+ "type": "string",
248
+ "mutable": false,
249
+ "complexType": {
250
+ "original": "string",
251
+ "resolved": "string",
252
+ "references": {}
253
+ },
254
+ "required": false,
255
+ "optional": false,
256
+ "docs": {
257
+ "tags": [],
258
+ "text": ""
259
+ },
260
+ "attribute": "ninth-tab-name",
261
+ "reflect": false,
262
+ "defaultValue": "''"
263
+ },
264
+ "tenthTabName": {
265
+ "type": "string",
266
+ "mutable": false,
267
+ "complexType": {
268
+ "original": "string",
269
+ "resolved": "string",
270
+ "references": {}
271
+ },
272
+ "required": false,
273
+ "optional": false,
274
+ "docs": {
275
+ "tags": [],
276
+ "text": ""
277
+ },
278
+ "attribute": "tenth-tab-name",
279
+ "reflect": false,
280
+ "defaultValue": "''"
281
+ },
282
+ "eleventhTabName": {
283
+ "type": "string",
284
+ "mutable": false,
285
+ "complexType": {
286
+ "original": "string",
287
+ "resolved": "string",
288
+ "references": {}
289
+ },
290
+ "required": false,
291
+ "optional": false,
292
+ "docs": {
293
+ "tags": [],
294
+ "text": ""
295
+ },
296
+ "attribute": "eleventh-tab-name",
297
+ "reflect": false,
298
+ "defaultValue": "''"
299
+ },
300
+ "twelfthTabName": {
301
+ "type": "string",
302
+ "mutable": false,
303
+ "complexType": {
304
+ "original": "string",
305
+ "resolved": "string",
306
+ "references": {}
307
+ },
308
+ "required": false,
309
+ "optional": false,
310
+ "docs": {
311
+ "tags": [],
312
+ "text": ""
313
+ },
314
+ "attribute": "twelfth-tab-name",
315
+ "reflect": false,
316
+ "defaultValue": "''"
317
+ },
318
+ "thirteenthTabName": {
319
+ "type": "string",
320
+ "mutable": false,
321
+ "complexType": {
322
+ "original": "string",
323
+ "resolved": "string",
324
+ "references": {}
325
+ },
326
+ "required": false,
327
+ "optional": false,
328
+ "docs": {
329
+ "tags": [],
330
+ "text": ""
331
+ },
332
+ "attribute": "thirteenth-tab-name",
333
+ "reflect": false,
334
+ "defaultValue": "''"
335
+ },
336
+ "fourteenthTabName": {
337
+ "type": "string",
338
+ "mutable": false,
339
+ "complexType": {
340
+ "original": "string",
341
+ "resolved": "string",
342
+ "references": {}
343
+ },
344
+ "required": false,
345
+ "optional": false,
346
+ "docs": {
347
+ "tags": [],
348
+ "text": ""
349
+ },
350
+ "attribute": "fourteenth-tab-name",
351
+ "reflect": false,
352
+ "defaultValue": "''"
353
+ },
354
+ "fifteenthTabName": {
355
+ "type": "string",
356
+ "mutable": false,
357
+ "complexType": {
358
+ "original": "string",
359
+ "resolved": "string",
360
+ "references": {}
361
+ },
362
+ "required": false,
363
+ "optional": false,
364
+ "docs": {
365
+ "tags": [],
366
+ "text": ""
367
+ },
368
+ "attribute": "fifteenth-tab-name",
369
+ "reflect": false,
370
+ "defaultValue": "''"
371
+ },
372
+ "sixteenthTabName": {
373
+ "type": "string",
374
+ "mutable": false,
375
+ "complexType": {
376
+ "original": "string",
377
+ "resolved": "string",
378
+ "references": {}
379
+ },
380
+ "required": false,
381
+ "optional": false,
382
+ "docs": {
383
+ "tags": [],
384
+ "text": ""
385
+ },
386
+ "attribute": "sixteenth-tab-name",
387
+ "reflect": false,
388
+ "defaultValue": "''"
389
+ },
390
+ "seventeenthTabName": {
391
+ "type": "string",
392
+ "mutable": false,
393
+ "complexType": {
394
+ "original": "string",
395
+ "resolved": "string",
396
+ "references": {}
397
+ },
398
+ "required": false,
399
+ "optional": false,
400
+ "docs": {
401
+ "tags": [],
402
+ "text": ""
403
+ },
404
+ "attribute": "seventeenth-tab-name",
405
+ "reflect": false,
406
+ "defaultValue": "''"
407
+ },
408
+ "eighteenthTabName": {
409
+ "type": "string",
410
+ "mutable": false,
411
+ "complexType": {
412
+ "original": "string",
413
+ "resolved": "string",
414
+ "references": {}
415
+ },
416
+ "required": false,
417
+ "optional": false,
418
+ "docs": {
419
+ "tags": [],
420
+ "text": ""
421
+ },
422
+ "attribute": "eighteenth-tab-name",
423
+ "reflect": false,
424
+ "defaultValue": "''"
425
+ },
426
+ "nineteenthTabName": {
427
+ "type": "string",
428
+ "mutable": false,
429
+ "complexType": {
430
+ "original": "string",
431
+ "resolved": "string",
432
+ "references": {}
433
+ },
434
+ "required": false,
435
+ "optional": false,
436
+ "docs": {
437
+ "tags": [],
438
+ "text": ""
439
+ },
440
+ "attribute": "nineteenth-tab-name",
441
+ "reflect": false,
442
+ "defaultValue": "''"
443
+ },
444
+ "twentiethTabName": {
445
+ "type": "string",
446
+ "mutable": false,
447
+ "complexType": {
448
+ "original": "string",
449
+ "resolved": "string",
450
+ "references": {}
451
+ },
452
+ "required": false,
453
+ "optional": false,
454
+ "docs": {
455
+ "tags": [],
456
+ "text": ""
457
+ },
458
+ "attribute": "twentieth-tab-name",
459
+ "reflect": false,
460
+ "defaultValue": "''"
461
+ },
462
+ "activeIndex": {
463
+ "type": "number",
464
+ "mutable": true,
465
+ "complexType": {
466
+ "original": "number",
467
+ "resolved": "number",
468
+ "references": {}
469
+ },
470
+ "required": false,
471
+ "optional": false,
472
+ "docs": {
473
+ "tags": [],
474
+ "text": ""
475
+ },
476
+ "attribute": "active-index",
477
+ "reflect": false,
478
+ "defaultValue": "0"
479
+ }
480
+ };
481
+ }
482
+ static get events() {
483
+ return [{
484
+ "method": "tabItemClicked",
485
+ "name": "tabItemClicked",
486
+ "bubbles": true,
487
+ "cancelable": true,
488
+ "composed": true,
489
+ "docs": {
490
+ "tags": [],
491
+ "text": ""
492
+ },
493
+ "complexType": {
494
+ "original": "number",
495
+ "resolved": "number",
496
+ "references": {}
497
+ }
498
+ }];
499
+ }
500
+ }
501
+ //# sourceMappingURL=gb-vertical-tabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gb-vertical-tabs.js","sourceRoot":"","sources":["../../../src/components/gb-vertical-tabs/gb-vertical-tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AASxE,MAAM,OAAO,cAAc;;;;4BAGQ,EAAE;6BACD,EAAE;4BACH,EAAE;6BACD,EAAE;4BACH,EAAE;4BACF,EAAE;8BACA,EAAE;6BACH,EAAE;4BACH,EAAE;4BACF,EAAE;+BACC,EAAE;8BACH,EAAE;iCACC,EAAE;iCACF,EAAE;gCACH,EAAE;gCACF,EAAE;kCACA,EAAE;iCACH,EAAE;iCACF,EAAE;gCACH,EAAE;2BACU,CAAC;;IAGhD,KAAK,CAAC,cAAc,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Event, EventEmitter, Prop, h } from \"@stencil/core\";\r\nimport { GeneralSizes, TabTypes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-vertical-tabs',\r\n styleUrl: 'gb-vertical-tabs.css',\r\n shadow: true\r\n})\r\n\r\nexport class GbVerticalTabs {\r\n @Prop() size: GeneralSizes;\r\n @Prop() type: TabTypes;\r\n @Prop() firstTabName: string = '';\r\n @Prop() secondTabName: string = '';\r\n @Prop() thirdTabName: string = '';\r\n @Prop() fourthTabName: string = '';\r\n @Prop() fifthTabName: string = '';\r\n @Prop() sixthTabName: string = '';\r\n @Prop() seventhTabName: string = '';\r\n @Prop() eighthTabName: string = '';\r\n @Prop() ninthTabName: string = '';\r\n @Prop() tenthTabName: string = '';\r\n @Prop() eleventhTabName: string = '';\r\n @Prop() twelfthTabName: string = '';\r\n @Prop() thirteenthTabName: string = '';\r\n @Prop() fourteenthTabName: string = '';\r\n @Prop() fifteenthTabName: string = '';\r\n @Prop() sixteenthTabName: string = '';\r\n @Prop() seventeenthTabName: string = '';\r\n @Prop() eighteenthTabName: string = '';\r\n @Prop() nineteenthTabName: string = '';\r\n @Prop() twentiethTabName: string = '';\r\n @Prop({ mutable: true }) activeIndex: number = 0;\r\n @Event() tabItemClicked: EventEmitter<number>;\r\n\r\n async handleTabClick(index: number) {\r\n this.activeIndex = index;\r\n localStorage.setItem('activeIndex', index.toString());\r\n this.tabItemClicked.emit(index);\r\n }\r\n\r\n componentWillLoad() {\r\n const storedIndex = localStorage.getItem('activeIndex');\r\n \r\n if (storedIndex !== null) {\r\n this.activeIndex = parseInt(storedIndex, 10); // Retrieve active index from localStorage\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`vertical_tab_div`}>\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.firstTabName}\r\n current={this.activeIndex === 0}\r\n onClick={() => this.handleTabClick(0)}\r\n ></gb-tab-button-base>\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.secondTabName}\r\n current={this.activeIndex === 1}\r\n onClick={() => this.handleTabClick(1)}\r\n ></gb-tab-button-base>\r\n {this.thirdTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type}\r\n tab-name={this.thirdTabName}\r\n current={this.activeIndex === 2}\r\n onClick={() => this.handleTabClick(2)}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.fourthTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.fourthTabName}\r\n current={this.activeIndex === 3}\r\n onClick={() => this.handleTabClick(3)}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.fifthTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.fifthTabName}\r\n current={this.activeIndex === 4}\r\n onClick={() => this.handleTabClick(4)}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.sixthTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.sixthTabName}\r\n current={this.activeIndex === 5}\r\n onClick={() => this.handleTabClick(5)}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.seventhTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.seventhTabName}\r\n current={this.activeIndex === 6}\r\n onClick={() => this.handleTabClick(6)}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.eighthTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.eighthTabName}\r\n current={this.activeIndex === 7}\r\n onClick={() => this.handleTabClick(7)}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.ninthTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.ninthTabName}\r\n current={this.activeIndex === 8}\r\n onClick={() => this.handleTabClick(8)}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.tenthTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.tenthTabName}\r\n current={this.activeIndex === 9}\r\n onClick={() => this.handleTabClick(9)}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.eleventhTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.eleventhTabName}\r\n current={this.activeIndex === 10}\r\n onClick={() => this.handleTabClick(10)}\r\n ></gb-tab-button-base>\r\n )}\r\n {this.twelfthTabName && (\r\n <gb-tab-button-base \r\n size={this.size} \r\n type={this.type === 'button_gray_border' ? 'button_white' : this.type} \r\n tab-name={this.twelfthTabName}\r\n current={this.activeIndex === 11}\r\n onClick={() => this.handleTabClick(11)}\r\n ></gb-tab-button-base>\r\n )}\r\n </div>\r\n )\r\n }\r\n}"]}
@@ -74,7 +74,7 @@ export class TestInputTag {
74
74
  this.exportValue.emit(this.selectedStaff);
75
75
  }
76
76
  render() {
77
- return (h("div", { key: 'e0c1b0c250984dfb73b388c6bd0ad82f7f5162a9', class: "input_group", ref: el => (this.inputGroupElement = el) }, h("label", { key: '6af9d856d3594234ea7fde9615635a7aa9219497', htmlFor: this.idOfInput }, this.labelText), h("div", { key: '2df1046b4da50df86f88ad3ef04cff66fce2d0a5', class: "input_like_parent", onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("input", { key: '55e152a2c78cd37e96435fa4444ef4ac82ee606f', id: this.idOfInput, class: "input_like", type: "text", placeholder: this.placeholderText, value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff() }), h("div", { key: '87b78d611679e086150ab491bfaf0379943ff8e7', class: `results_display ${this.selectedStaff.length >= 1 ? 'show_results' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.selectedStaff.map((staff, index) => (
77
+ return (h("div", { key: '5eb3fa68cefe92b4c431160c707528ab77378ac6', class: "input_group", ref: el => (this.inputGroupElement = el) }, h("label", { key: '949760c6f0b8c5fe3aed139d0658e497f6cc3114', htmlFor: this.idOfInput }, this.labelText), h("div", { key: '4829a00682ddedc7aba0b4ab3407d13a60075e09', class: "input_like_parent", onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("input", { key: 'f6c0d48fd6a3271e38976c9d0413f69aac287f67', id: this.idOfInput, class: "input_like", type: "text", placeholder: this.placeholderText, value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff() }), h("div", { key: 'f12a02dbe63dd82f7e33e2d6f7a9dfa7a1fdff5f', class: `results_display ${this.selectedStaff.length >= 1 ? 'show_results' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.selectedStaff.map((staff, index) => (
78
78
  // <span>
79
79
  // {staff.fullname}
80
80
  // <img
@@ -83,7 +83,7 @@ export class TestInputTag {
83
83
  // onClick={() => this.removeStaff(index)}
84
84
  // />
85
85
  // </span>
86
- h("gb-tag", { size: "sm", action: "X_close", icon: "avatar", onClick: () => this.removeStaff(index) }, h("h1", { slot: "initials" }, staff.fullname.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, staff.fullname.split(' ')[0])))))), this.show && (h("div", { key: '74c825ef8eaaf2331980ad4e46ac48cf9bb21f0c', class: `dropdown_menu ${this.show ? 'show' : ''}` }, this.staffInfo.map(staff => (
86
+ h("gb-tag", { size: "sm", action: "X_close", icon: "avatar", onClick: () => this.removeStaff(index) }, h("h1", { slot: "initials" }, staff.fullname.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, staff.fullname.split(' ')[0])))))), this.show && (h("div", { key: 'd4d0475356e0759ef665da1c0fe1a178cfa2c7c7', class: `dropdown_menu ${this.show ? 'show' : ''}` }, this.staffInfo.map(staff => (
87
87
  // <li class="aList" onClick={() => this.selectStaff(staff)}>
88
88
  // <div>{staff.fullname}</div>
89
89
  // <div>{staff.email}</div>
@@ -1 +1 @@
1
- {"version":3,"file":"reusableModels.js","sourceRoot":"","sources":["../../src/models/reusableModels.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;AACzB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAMD,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACrB,yCAAwB,CAAA;IACxB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACnB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAAA,CAAC;AAEF,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACvB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC","sourcesContent":["export type GeneralSizes = 'xl4' | 'xl3' | 'xl2' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs' | 'profile_lg' | 'profile_md' | 'profile_sm';\r\n\r\nexport type GeneralHierarchies = 'primary' | 'secondary_gray' | 'secondary_color' | 'tertiary_gray' | 'tertiary_color' | 'link_gray' | 'link_color';\r\n\r\nexport enum StateEnum {\r\n Default = 'default',\r\n Disabled = 'disabled'\r\n}\r\n\r\nexport type ArrowPositions = 'bottom_center' | 'bottom_left' | 'bottom_right' | 'top_center' | 'left' | 'right' | 'none';\r\n\r\nexport type CheckBoxVariants = 'checkbox' | 'check_circle' | 'radio';\r\n\r\nexport enum BorderWeights {\r\n VeryLight = 'very_light',\r\n Light = 'light',\r\n Regular = 'regular',\r\n Heavy = 'heavy'\r\n};\r\n\r\nexport enum OnlineIndicatorStates {\r\n Online = 'online',\r\n Offline = 'offline'\r\n}\r\n\r\nexport type BreakPoints = 'desktop' | 'mobile';\r\n\r\nexport type FileUploadIconType = 'solid' | 'outline';\r\n\r\nexport type FileUploadStates = 'default' | 'in_progress' | 'complete' | 'hover' | 'disabled' | 'error';\r\n\r\nexport type FileType = '';\r\n\r\nexport type GeneralColors = 'default' | 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'discovery' | 'information' | 'pink' | 'purple';\r\n\r\nexport type PaginationNumberShapes = 'square' | 'circle';\r\n\r\nexport type PaginationTypes =\r\n | 'page_default'\r\n | 'page_minimal_center_aligned'\r\n | 'card_default'\r\n | 'card_minimal_right_aligned'\r\n | 'card_minimal_left_aligned'\r\n | 'card_minimal_center_aligned'\r\n | 'card_button_group_right_aligned'\r\n | 'card_button_group_left_aligned'\r\n | 'card_button_group_center_aligned';\r\n\r\nexport type TabTypes = 'button_primary' | 'button_gray' | 'button_white' | 'rounded_button_white' | 'underline' | 'underline_filled' | 'line' | 'button_white_border' | 'rounded_button_white_border';\r\n\r\nexport type GeneralBackgroundCategories = 'plain_background' | 'colored_background';\r\n\r\nexport type InputFieldTypes =\r\n | 'default'\r\n | 'icon_leading'\r\n | 'leading_dropdown'\r\n | 'trailing_dropdown'\r\n | 'leading_text'\r\n | 'payment_input'\r\n | 'tags'\r\n | 'trailing_button'\r\n | 'password'\r\n | 'password_icon_leading'\r\n | 'count';\r\n\r\n export type DropdownTypes = 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox' | 'search' | 'tags'; \r\n\r\n export type AvatarColorTypes = 'gray' | 'blue' | 'cyan' | 'pink' | 'purple' | 'green' | 'yellow';\r\n\r\n export type DropdownItemTypes = string | number | { name: string; username: string, selected?: boolean };\r\n\r\n export type PaginationDotTypes = 'dot' | 'line';\r\n\r\n export type FileIconStyles = 'default' | 'gray' | 'solid';\r\n\r\n export type FileIconTypes = 'pdf' | 'csv' | 'jpg' | 'jpeg' | 'ppt' | 'pptx' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'svg' | 'txt' | 'zip' | 'rar' | 'mp3' | 'mp4';"]}
1
+ {"version":3,"file":"reusableModels.js","sourceRoot":"","sources":["../../src/models/reusableModels.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;AACzB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAMD,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACrB,yCAAwB,CAAA;IACxB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACnB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAAA,CAAC;AAEF,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACvB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC","sourcesContent":["export type GeneralSizes = 'xl4' | 'xl3' | 'xl2' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs' | 'profile_lg' | 'profile_md' | 'profile_sm';\r\n\r\nexport type GeneralHierarchies = 'primary' | 'secondary_gray' | 'secondary_color' | 'tertiary_gray' | 'tertiary_color' | 'link_gray' | 'link_color';\r\n\r\nexport enum StateEnum {\r\n Default = 'default',\r\n Disabled = 'disabled'\r\n}\r\n\r\nexport type ArrowPositions = 'bottom_center' | 'bottom_left' | 'bottom_right' | 'top_center' | 'left' | 'right' | 'none';\r\n\r\nexport type CheckBoxVariants = 'checkbox' | 'check_circle' | 'radio';\r\n\r\nexport enum BorderWeights {\r\n VeryLight = 'very_light',\r\n Light = 'light',\r\n Regular = 'regular',\r\n Heavy = 'heavy'\r\n};\r\n\r\nexport enum OnlineIndicatorStates {\r\n Online = 'online',\r\n Offline = 'offline'\r\n}\r\n\r\nexport type BreakPoints = 'desktop' | 'mobile';\r\n\r\nexport type FileUploadIconType = 'solid' | 'outline';\r\n\r\nexport type FileUploadStates = 'default' | 'in_progress' | 'complete' | 'hover' | 'disabled' | 'error';\r\n\r\nexport type FileType = '';\r\n\r\nexport type GeneralColors = 'default' | 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'discovery' | 'information' | 'pink' | 'purple';\r\n\r\nexport type PaginationNumberShapes = 'square' | 'circle';\r\n\r\nexport type PaginationTypes =\r\n | 'page_default'\r\n | 'page_minimal_center_aligned'\r\n | 'card_default'\r\n | 'card_minimal_right_aligned'\r\n | 'card_minimal_left_aligned'\r\n | 'card_minimal_center_aligned'\r\n | 'card_button_group_right_aligned'\r\n | 'card_button_group_left_aligned'\r\n | 'card_button_group_center_aligned';\r\n\r\nexport type TabTypes = 'button_primary' | 'button_gray' | 'button_white' | 'rounded_button_white' | 'underline' | 'underline_filled' | 'line' | 'button_white_border' | 'rounded_button_white_border' | 'button_gray_border';\r\n\r\nexport type GeneralBackgroundCategories = 'plain_background' | 'colored_background';\r\n\r\nexport type InputFieldTypes =\r\n | 'default'\r\n | 'icon_leading'\r\n | 'leading_dropdown'\r\n | 'trailing_dropdown'\r\n | 'leading_text'\r\n | 'payment_input'\r\n | 'tags'\r\n | 'trailing_button'\r\n | 'password'\r\n | 'password_icon_leading'\r\n | 'count';\r\n\r\n export type DropdownTypes = 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox' | 'search' | 'tags'; \r\n\r\n export type AvatarColorTypes = 'gray' | 'blue' | 'cyan' | 'pink' | 'purple' | 'green' | 'yellow';\r\n\r\n export type DropdownItemTypes = string | number | { name: string | number; username: string, selected?: boolean };\r\n\r\n export type PaginationDotTypes = 'dot' | 'line';\r\n\r\n export type FileIconStyles = 'default' | 'gray' | 'solid';\r\n\r\n export type FileIconTypes = 'pdf' | 'csv' | 'jpg' | 'jpeg' | 'ppt' | 'pptx' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'svg' | 'txt' | 'zip' | 'rar' | 'mp3' | 'mp4';"]}
@@ -1,4 +1,4 @@
1
- import { G as GbAvatarAddButton$1, d as defineCustomElement$1 } from './p-c14ae549.js';
1
+ import { G as GbAvatarAddButton$1, d as defineCustomElement$1 } from './p-2e73f436.js';
2
2
 
3
3
  const GbAvatarAddButton = GbAvatarAddButton$1;
4
4
  const defineCustomElement = defineCustomElement$1;