globuswebcomponents 0.6.8 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/cjs/gb-avatar-label-group.cjs.entry.js +16 -8
  2. package/dist/cjs/gb-avatar-label-group.cjs.entry.js.map +1 -1
  3. package/dist/cjs/gb-avatar_34.cjs.entry.js +8 -13
  4. package/dist/cjs/gb-avatar_34.cjs.entry.js.map +1 -1
  5. package/dist/cjs/gb-progress-circle.cjs.entry.js +29 -2
  6. package/dist/cjs/gb-progress-circle.cjs.entry.js.map +1 -1
  7. package/dist/cjs/globuscomponents.cjs.js +1 -1
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/collection/components/gb-avatar-contrast-inner-border/gb-avatar-contrast-inner-border.css +2 -14
  10. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js +34 -8
  11. package/dist/collection/components/gb-avatar-label-group/gb-avatar-label-group.js.map +1 -1
  12. package/dist/collection/components/gb-badges/gb-badges.js +3 -3
  13. package/dist/collection/components/gb-badges/gb-badges.js.map +1 -1
  14. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js +4 -9
  15. package/dist/collection/components/gb-input-dropdown/gb-input-dropdown.js.map +1 -1
  16. package/dist/collection/components/gb-progress-circle/gb-progress-circle.css +1059 -28
  17. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js +31 -1
  18. package/dist/collection/components/gb-progress-circle/gb-progress-circle.js.map +1 -1
  19. package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
  20. package/dist/components/gb-avatar-dropdown.js +3 -3
  21. package/dist/components/gb-avatar-group.js +2 -2
  22. package/dist/components/gb-avatar-label-group.js +1 -1
  23. package/dist/components/gb-avatar-profile-photo.js +2 -2
  24. package/dist/components/gb-avatar.js +1 -1
  25. package/dist/components/gb-badge.js +1 -1
  26. package/dist/components/gb-checkbox-group-item.js +1 -1
  27. package/dist/components/gb-checkbox-group.js +3 -3
  28. package/dist/components/gb-header.js +2 -2
  29. package/dist/components/gb-horizontal-tabs.js +4 -4
  30. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  31. package/dist/components/gb-input-dropdown.js +1 -1
  32. package/dist/components/gb-input-field.js +3 -3
  33. package/dist/components/gb-progress-circle.js +31 -2
  34. package/dist/components/gb-progress-circle.js.map +1 -1
  35. package/dist/components/gb-rich-text.js +6 -6
  36. package/dist/components/gb-side-bar-item.js +1 -1
  37. package/dist/components/gb-sidebar.js +4 -4
  38. package/dist/components/gb-tab-button-base.js +1 -1
  39. package/dist/components/gb-tag.js +1 -1
  40. package/dist/components/gb-wysiwyg-toolbar.js +1 -1
  41. package/dist/components/{p-eced7b26.js → p-09ae8f4e.js} +6 -6
  42. package/dist/components/{p-eced7b26.js.map → p-09ae8f4e.js.map} +1 -1
  43. package/dist/components/{p-58ddcac0.js → p-23944625.js} +3 -3
  44. package/dist/components/{p-58ddcac0.js.map → p-23944625.js.map} +1 -1
  45. package/dist/components/{p-ec6cf1ef.js → p-2902cf8b.js} +3 -3
  46. package/dist/components/{p-ec6cf1ef.js.map → p-2902cf8b.js.map} +1 -1
  47. package/dist/components/{p-c7b3f2b7.js → p-2917e437.js} +3 -3
  48. package/dist/components/{p-c7b3f2b7.js.map → p-2917e437.js.map} +1 -1
  49. package/dist/components/{p-7b737a93.js → p-3922c1bd.js} +21 -12
  50. package/dist/components/p-3922c1bd.js.map +1 -0
  51. package/dist/components/{p-263891a0.js → p-4a9c558e.js} +9 -14
  52. package/dist/components/p-4a9c558e.js.map +1 -0
  53. package/dist/components/{p-7aa86c0a.js → p-4d9ac8e4.js} +6 -6
  54. package/dist/components/{p-7aa86c0a.js.map → p-4d9ac8e4.js.map} +1 -1
  55. package/dist/components/{p-9105c575.js → p-556b3a65.js} +4 -4
  56. package/dist/components/{p-9105c575.js.map → p-556b3a65.js.map} +1 -1
  57. package/dist/components/{p-f2074ab5.js → p-944e7d65.js} +4 -4
  58. package/dist/components/{p-f2074ab5.js.map → p-944e7d65.js.map} +1 -1
  59. package/dist/components/{p-e7017c4e.js → p-a33e9c4e.js} +2 -2
  60. package/dist/components/p-a33e9c4e.js.map +1 -0
  61. package/dist/components/{p-027afbf4.js → p-cc4d7108.js} +2 -2
  62. package/dist/components/{p-027afbf4.js.map → p-cc4d7108.js.map} +1 -1
  63. package/dist/esm/gb-avatar-label-group.entry.js +16 -8
  64. package/dist/esm/gb-avatar-label-group.entry.js.map +1 -1
  65. package/dist/esm/gb-avatar_34.entry.js +8 -13
  66. package/dist/esm/gb-avatar_34.entry.js.map +1 -1
  67. package/dist/esm/gb-progress-circle.entry.js +30 -3
  68. package/dist/esm/gb-progress-circle.entry.js.map +1 -1
  69. package/dist/esm/globuscomponents.js +1 -1
  70. package/dist/esm/loader.js +1 -1
  71. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  72. package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
  73. package/dist/globuscomponents/{p-18860d05.entry.js → p-517691ca.entry.js} +2 -2
  74. package/dist/globuscomponents/p-517691ca.entry.js.map +1 -0
  75. package/dist/globuscomponents/p-a288d071.entry.js +2 -0
  76. package/dist/globuscomponents/p-a288d071.entry.js.map +1 -0
  77. package/dist/globuscomponents/{p-96341def.entry.js → p-c616a9dc.entry.js} +2 -2
  78. package/dist/globuscomponents/p-c616a9dc.entry.js.map +1 -0
  79. package/dist/types/components/gb-avatar-label-group/gb-avatar-label-group.d.ts +1 -0
  80. package/dist/types/components/gb-progress-circle/gb-progress-circle.d.ts +6 -0
  81. package/dist/types/components.d.ts +2 -0
  82. package/package.json +1 -1
  83. package/dist/components/p-263891a0.js.map +0 -1
  84. package/dist/components/p-7b737a93.js.map +0 -1
  85. package/dist/components/p-e7017c4e.js.map +0 -1
  86. package/dist/globuscomponents/p-18860d05.entry.js.map +0 -1
  87. package/dist/globuscomponents/p-96341def.entry.js.map +0 -1
  88. package/dist/globuscomponents/p-bd848c28.entry.js +0 -2
  89. package/dist/globuscomponents/p-bd848c28.entry.js.map +0 -1
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-82c030a2.js');
6
6
 
7
- const gbProgressCircleCss = ":host{position:relative}.progress{position:relative;height:160px;width:160px;cursor:pointer}.progress-circle{transform:rotate(-90deg);margin-top:-40px}.progress-circle-back{fill:none;stroke:#D2D2D2;stroke-width:10px}.progress-circle-prog{fill:none;stroke:#7E3451;stroke-width:10px;stroke-dasharray:100 999;stroke-dashoffset:0px;transition:stroke-dasharray 0.7s linear 0s}.progress-text{width:100%;position:absolute;top:60px;text-align:center;font-size:2em}";
7
+ const gbProgressCircleCss = "@import url('https://fonts.googleapis.com/css2?family=Sora&display=swap');:root{--font-size-d-2xl:4.5rem;--font-size-d-xl:3.75rem;--font-size-d-lg:3rem;--font-size-d-md:2.25rem;--font-size-d-sm:1.875rem;--font-size-d-xs:1.5rem;--font-size-t-xl:1.25rem;--font-size-t-lg:1.125rem;--font-size-t-md:1rem;--font-size-t-sm:0.875rem;--font-size-t-xs:0.75rem;--font-size-t-xxs:0.625rem;--font-weight-bold:700;--font-weight-semi-bold:600;--font-weight-medium:500;--font-weight-regular:400;--font-line-height-d-2xl:5rem;--font-line-height-d-xl:4.25rem;--font-line-height-d-lg:3.75rem;--font-line-height-d-md:2.75rem;--font-line-height-d-sm:2.375rem;--font-line-height-d-xs:2rem;--font-line-height-t-xl:1.875rem;--font-line-height-t-lg:1.688rem;--font-line-height-t-md:1.5rem;--font-line-height-t-sm:1.313rem;--font-line-height-t-xs:1.125rem;--font-line-height-t-xxs:0.938rem;--font-letter-spacing-d-2xl:-0.09rem;--font-letter-spacing-d-xl:-0.075rem;--font-letter-spacing-d-lg:-0.075rem;--font-letter-spacing-d-md:-0.045rem;--font-letter-spacing-d-sm:0;--font-letter-spacing-d-xs:0;--font-letter-spacing-d-xxs:0;--font-family-title:'Sora';--font-family-body:'Sora'}@media (max-width: 1199px){:root{--font-size-d-2xl:3.75rem;--font-size-d-xl:3.5rem;--font-size-d-lg:2.75rem;--font-size-d-md:2.25rem;--font-size-d-sm:1.875rem;--font-size-d-xs:1.5rem;--font-line-height-d-2xl:4.25rem;--font-line-height-d-xl:3.75rem;--font-line-height-d-lg:2.4375rem;--font-line-height-d-md:2.75rem;--font-line-height-d-sm:2.375rem;--font-line-height-d-xs:2rem;--font-letter-spacing-2xl:-0.075rem;--font-letter-spacing-xl:-0.065rem;--font-letter-spacing-lg:-0.045rem;--font-letter-spacing-md:-0.045rem;--font-letter-spacing-sm:0rem;--font-letter-spacing-xs:0rem}}@media (max-width: 743px){:root{--font-size-d-2xl:3rem;--font-size-d-xl:2.5rem;--font-size-d-lg:2rem;--font-size-d-md:1.75rem;--font-size-d-sm:1.5rem;--font-size-d-xs:1.25rem;--font-line-height-d-2xl:3.375rem;--font-line-height-d-xl:2.875rem;--font-line-height-d-lg:2.5rem;--font-line-height-d-md:2.1375rem;--font-line-height-d-sm:2rem;--font-line-height-d-xs:1.75rem;--font-letter-spacing-2xl:-0.06rem;--font-letter-spacing-xl:-0.05rem;--font-letter-spacing-lg:-0.045rem;--font-letter-spacing-md:0rem;--font-letter-spacing-sm:0rem;--font-letter-spacing-xs:0rem}}.display-2xl-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-2xl);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-d-2xl);letter-spacing:var(--font-letter-spacing-d-2xl);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-2xl-bold::before,.display-2xl-bold::after{content:\"\";display:table}.display-2xl-bold::before{margin-bottom:-0.135em}.display-2xl-bold::after{margin-top:-0.205em}.display-2xl-semi-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-2xl);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-d-2xl);letter-spacing:var(--font-letter-spacing-d-2xl);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-2xl-semi-bold::before,.display-2xl-semi-bold::after{content:\"\";display:table}.display-2xl-semi-bold::before{margin-bottom:-0.135em}.display-2xl-semi-bold::after{margin-top:-0.205em}.display-xl-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-xl);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-d-xl);letter-spacing:var(--font-letter-spacing-d-xl);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-xl-bold::before,.display-xl-bold::after{content:\"\";display:table}.display-xl-bold::before{margin-bottom:-0.145em}.display-xl-bold::after{margin-top:-0.215em}.display-xl-semi-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-xl);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-d-xl);letter-spacing:var(--font-letter-spacing-d-xl);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-xl-semi-bold::before,.display-xl-semi-bold::after{content:\"\";display:table}.display-xl-semi-bold::before{margin-bottom:-0.145em}.display-xl-semi-bold::after{margin-top:-0.215em}.display-lg-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-lg);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-d-lg);letter-spacing:var(--font-letter-spacing-d-lg);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-lg-bold::before,.display-lg-bold::after{content:\"\";display:table}.display-lg-bold::before{margin-bottom:-0.015em}.display-lg-bold::after{margin-top:-0.095em}.display-lg-semi-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-lg);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-d-lg);letter-spacing:var(--font-letter-spacing-d-lg);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-lg-semi-bold::before,.display-lg-semi-bold::after{content:\"\";display:table}.display-lg-semi-bold::before{margin-bottom:-0.015em}.display-lg-semi-bold::after{margin-top:-0.095em}.display-md-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-md);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-d-md);letter-spacing:var(--font-letter-spacing-d-md);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-md-bold::before,.display-md-bold::after{content:\"\";display:table}.display-md-bold::before{margin-bottom:-0.195em}.display-md-bold::after{margin-top:-0.255em}.display-md-semi-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-md);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-d-md);letter-spacing:var(--font-letter-spacing-d-md);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-md-semi-bold::before,.display-md-semi-bold::after{content:\"\";display:table}.display-md-semi-bold::before{margin-bottom:-0.195em}.display-md-semi-bold::after{margin-top:-0.255em}.display-sm-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-sm);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-d-sm);letter-spacing:var(--font-letter-spacing-d-sm);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-sm-bold::before,.display-sm-bold::after{content:\"\";display:table}.display-sm-bold::before{margin-bottom:-0.195em}.display-sm-bold::after{margin-top:-0.255em}.display-sm-semi-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-sm);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-d-sm);letter-spacing:var(--font-letter-spacing-d-sm);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-sm-semi-bold::before,.display-sm-semi-bold::after{content:\"\";display:table}.display-sm-semi-bold::before{margin-bottom:-0.195em}.display-sm-semi-bold::after{margin-top:-0.255em}.display-xs-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-xs);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-d-xs);letter-spacing:var(--font-letter-spacing-d-xs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-xs-bold::before,.display-xs-bold::after{content:\"\";display:table}.display-xs-bold::before{margin-bottom:-0.199em}.display-xs-bold::after{margin-top:-0.195em;}.display-xs-semi-bold{font-family:var(--font-family-title);font-size:var(--font-size-d-xs);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-d-xs);letter-spacing:var(--font-letter-spacing-d-xs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.display-xs-semi-bold::before,.display-xs-semi-bold::after{content:\"\";display:table}.display-xs-semi-bold::before{margin-bottom:-0.259em}.display-xs-semi-bold::after{margin-top:-0.295em}.text-xl-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-xl);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-t-xl);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xl-bold::before,.text-xl-bold::after{content:\"\";display:table}.text-xl-bold::before{margin-bottom:-0.329em}.text-xl-bold::after{margin-top:-0.359em}.text-xl-semi-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-xl);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-t-xl);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xl-semi-bold::before,.text-xl-semi-bold::after{content:\"\";display:table}.text-xl-semi-bold::before{margin-bottom:-0.329em}.text-xl-semi-bold::after{margin-top:-0.359em}.text-xl-medium{font-family:var(--font-family-body);font-size:var(--font-size-t-xl);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-t-xl);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xl-medium::before,.text-xl-medium::after{content:\"\";display:table}.text-xl-medium::before{margin-bottom:-0.339em}.text-xl-medium::after{margin-top:-0.399em}.text-xl-regular{font-family:var(--font-family-body);font-size:var(--font-size-t-xl);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-t-xl);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xl-regular::before,.text-xl-regular::after{content:\"\";display:table}.text-xl-regular::before{margin-bottom:-0.339em}.text-xl-regular::after{margin-top:-0.399em}.text-lg-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-lg);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-t-lg);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-lg-bold::before,.text-lg-bold::after{content:\"\";display:table}.text-lg-bold::before{margin-bottom:-0.339em}.text-lg-bold::after{margin-top:-0.399em}.text-lg-semi-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-lg);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-t-lg);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-lg-semi-bold::before,.text-lg-semi-bold::after{content:\"\";display:table}.text-lg-semi-bold::before{margin-bottom:-0.339em}.text-lg-semi-bold::after{margin-top:-0.399em}.text-lg-medium{font-family:var(--font-family-body);font-size:var(--font-size-t-lg);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-t-lg);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-lg-medium::before,.text-lg-medium::after{content:\"\";display:table}.text-lg-medium::before{margin-bottom:-0.349em}.text-lg-medium::after{margin-top:-0.389em}.text-lg-regular{font-family:var(--font-family-body);font-size:var(--font-size-t-lg);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-t-lg);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-lg-regular::before,.text-lg-regular::after{content:\"\";display:table}.text-lg-regular::before{margin-bottom:-0.349em}.text-lg-regular::after{margin-top:-0.389em}.text-md-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-md);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-t-md);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-md-bold::before,.text-md-bold::after{content:\"\";display:table}.text-md-bold::before{margin-bottom:-0.349em}.text-md-bold::after{margin-top:-0.389em}.text-md-semi-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-md);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-t-md);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-md-semi-bold::before,.text-md-semi-bold::after{content:\"\";display:table}.text-md-semi-bold::before{margin-bottom:-0.349em}.text-md-semi-bold::after{margin-top:-0.389em}.text-md-medium{font-family:var(--font-family-body);font-size:var(--font-size-t-md);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-t-md);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-md-medium::before,.text-md-medium::after{content:\"\";display:table}.text-md-medium::before{margin-bottom:-0.349em}.text-md-medium::after{margin-top:-0.389em}.text-md-regular{font-family:var(--font-family-body);font-size:var(--font-size-t-md);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-t-md);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-md-regular::before,.text-md-regular::after{content:\"\";display:table}.text-md-regular::before{margin-bottom:-0.349em}.text-md-regular::after{margin-top:-0.389em}.text-sm-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-sm);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-t-sm);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-sm-bold::before,.text-sm-bold::after{content:\"\";display:table}.text-sm-bold::before{margin-bottom:-0.299em}.text-sm-bold::after{margin-top:-0.349em}.text-sm-semi-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-sm);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-t-sm);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-sm-semi-bold::before,.text-sm-semi-bold::after{content:\"\";display:table}.text-sm-semi-bold::before{margin-bottom:-0.299em}.text-sm-semi-bold::after{margin-top:-0.349em}.text-sm-medium{font-family:var(--font-family-body);font-size:var(--font-size-t-sm);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-t-sm);margin:var(--spacing-none);padding:var(--spacing-none);position:relative;display:inline-block}.text-sm-medium::before,.text-sm-medium::after{content:\"\";display:table}.text-sm-medium::before{margin-bottom:-0.299em}.text-sm-medium::after{margin-top:-0.299em}.text-sm-regular{font-family:var(--font-family-body);font-size:var(--font-size-t-sm);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-t-sm);margin:var(--spacing-none);padding:var(--spacing-none);position:relative;display:inline-block}.text-sm-regular::before,.text-sm-regular::after{content:\"\";display:table}.text-sm-regular::before{margin-bottom:-0.299em}.text-sm-regular::after{margin-top:-0.299em}.text-xs-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-xs);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-t-xs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xs-bold::before,.text-xs-bold::after{content:\"\";display:table}.text-xs-bold::before{margin-bottom:-0.291em}.text-xs-bold::after{margin-top:-0.416em}.text-xs-semi-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-xs);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-t-xs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xs-semi-bold::before,.text-xs-semi-bold::after{content:\"\";display:table}.text-xs-semi-bold::before{margin-bottom:-0.321em}.text-xs-semi-bold::after{margin-top:-0.416em}.text-xs-medium{font-family:var(--font-family-body);font-size:var(--font-size-t-xs);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-t-xs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xs-medium::before,.text-xs-medium::after{content:\"\";display:table}.text-xs-medium::before{margin-bottom:-0.199em}.text-xs-medium::after{margin-top:-0.196em}.text-xs-regular{font-family:var(--font-family-body);font-size:var(--font-size-t-xs);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-t-xs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xs-regular::before,.text-xs-regular::after{content:\"\";display:table}.text-xs-regular::before{margin-bottom:-0.291em}.text-xs-regular::after{margin-top:-0.396em}.text-xxs-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-xxs);font-weight:var(--font-weight-bold);line-height:var(--font-line-height-t-xxs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xxs-bold::before,.text-xxs-bold::after{content:\"\";display:table}.text-xxs-bold::before{margin-bottom:-0.291em}.text-xxs-bold::after{margin-top:-0.416em}.text-xxs-semi-bold{font-family:var(--font-family-body);font-size:var(--font-size-t-xxs);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-t-xxs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xxs-semi-bold::before,.text-xxs-semi-bold::after{content:\"\";display:table}.text-xxs-semi-bold::before{margin-bottom:-0.291em}.text-xxs-semi-bold::after{margin-top:-0.416em}.text-xxs-medium{font-family:var(--font-family-body);font-size:var(--font-size-t-xxs);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-t-xxs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xxs-medium::before,.text-xxs-medium::after{content:\"\";display:table}.text-xxs-medium::before{margin-bottom:-0.291em}.text-xxs-medium::after{margin-top:-0.416em}.text-xxs-regular{font-family:var(--font-family-body);font-size:var(--font-size-t-xxs);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-t-xxs);margin:var(--spacing-none);padding:var(--spacing-none);display:inline-block;position:relative}.text-xxs-regular::before,.text-xxs-regular::after{content:\"\";display:table}.text-xxs-regular::before{margin-bottom:-0.291em}.text-xxs-regular::after{margin-top:-0.416em}.gauge{height:85px;position:relative;width:170px}.gauge .arc{background-image:radial-gradient(#fff 0, #fff 60%, transparent 60%);background-position:center center;background-repeat:no-repeat;background-size:100% 100%;border-radius:50%;height:170px;position:relative;transform:rotate(-90deg);width:100%;transition:background-image 0.3s ease;}.gauge .mask::before,.gauge .mask::after{background-image:radial-gradient(transparent 0, transparent 50%, #fff 50%, #fff 100%);clip-path:polygon(0 50%, 100% 50%, 100% 100%, 0% 100%);content:'';height:18px;position:absolute;width:18px}.gauge .mask::before{left:-2px;bottom:0}.gauge .mask::after{bottom:0;right:-2px}.gauge .label{bottom:20px;font-size:16px;font-weight:700;left:0;line-height:26px;position:absolute;text-align:center;width:100%}";
8
8
  const GbProgressCircleStyle0 = gbProgressCircleCss;
9
9
 
10
10
  const GbProgressCircle = class {
@@ -15,9 +15,36 @@ const GbProgressCircle = class {
15
15
  this.label = false;
16
16
  this.progress = 0;
17
17
  }
18
+ componentDidLoad() {
19
+ this.updateGauge(this.progress);
20
+ }
21
+ handleProgressChange(newProgress) {
22
+ this.updateGauge(newProgress);
23
+ }
24
+ updateGauge(percentage) {
25
+ // Limit percentage between 0 and 100
26
+ percentage = Math.max(0, Math.min(percentage, 100));
27
+ // Calculate the degree for the filled portion (0% -> 0deg, 100% -> 180deg)
28
+ const degree = (percentage / 100) * 180;
29
+ // Update the arc's background image with conic gradient
30
+ if (this.arcElement) {
31
+ this.arcElement.style.backgroundImage = `
32
+ radial-gradient(#fff 0, #fff 60%, transparent 60%),
33
+ conic-gradient(#1e5ba7 0deg, #1e5ba7 ${degree}deg, #ccc ${degree}deg, #ccc 180deg, #fff 180deg, #fff 360deg)
34
+ `;
35
+ }
36
+ // Update the label text if it should be shown
37
+ if (this.labelElement && this.label) {
38
+ this.labelElement.textContent = `${percentage}%`;
39
+ }
40
+ }
18
41
  render() {
19
- return (index.h("div", { key: '2a77461a93a1c2eba341ea60b8835db85ecad80e', class: "progress" }, index.h("svg", { key: '66b88a498c524a10d60839612900c67c37dd69ab', class: "progress-circle", width: "200px", height: "200px", xmlns: "http://www.w3.org/2000/svg" }, index.h("circle", { key: 'ceefdd4f783fea07d1949bb399b1c88d894f4114', class: "progress-circle-back", cx: "80", cy: "80", r: "74" }), index.h("circle", { key: 'fbb9fe1400e34587b2dfd86b64e4d287ec200380', class: "progress-circle-prog", cx: "80", cy: "80", r: "74" })), index.h("div", { key: '099614c40b7a168e4eb00ad0fe01d57fa76b703c', class: "progress-text", "data-progress": "0" }, "50%")));
42
+ return (index.h("div", { key: '1f6b2909d7b4dd6fd6aafc7895404f5f18bd6aaf', class: "gauge" }, index.h("div", { key: '96973286df958806c6a7df74f4a750581b8debd7', class: "arc", ref: el => (this.arcElement = el) }), index.h("div", { key: '1845f5bf089fc48130242548bdd2a34497342ac5', class: "mask" }), this.label && (index.h("div", { key: 'af14f4e823b4dda33c7219d6768bef9880598620', class: "label", ref: el => (this.labelElement = el) }, index.h("p", { key: '4ef0bccd08a5c2ff353c4e9181689af2b6209e7a', class: "display-lg-semi-bold" }, `${this.progress}%`)))));
20
43
  }
44
+ get el() { return index.getElement(this); }
45
+ static get watchers() { return {
46
+ "progress": ["handleProgressChange"]
47
+ }; }
21
48
  };
22
49
  GbProgressCircle.style = GbProgressCircleStyle0;
23
50
 
@@ -1 +1 @@
1
- {"file":"gb-progress-circle.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,mBAAmB,GAAG,0cAA0c,CAAC;AACve,+BAAe,mBAAmB;;MCOrB,gBAAgB;;;;;qBAGF,KAAK;wBACH,CAAC;;IAE5B,MAAM;QACJ,QACEA,kEAAK,KAAK,EAAC,UAAU,IACnBA,kEAAK,KAAK,EAAC,iBAAiB,EAAC,KAAK,EAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAC,KAAK,EAAC,4BAA4B,IAC1FA,qEAAQ,KAAK,EAAC,sBAAsB,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAU,EACrEA,qEAAQ,KAAK,EAAC,sBAAsB,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAU,CACjE,EACNA,kEAAK,KAAK,EAAC,eAAe,mBAAe,GAAG,UAEtC,CACF,EACN;KACH;;;;;;","names":["h"],"sources":["src/components/gb-progress-circle/gb-progress-circle.css?tag=gb-progress-circle&encapsulation=shadow","src/components/gb-progress-circle/gb-progress-circle.tsx"],"sourcesContent":[":host{\r\n position: relative;\r\n\r\n}\r\n\r\n.progress {\r\n position: relative;\r\n height: 160px;\r\n width: 160px;\r\n cursor: pointer;\r\n}\r\n\r\n.progress-circle {\r\n transform: rotate(-90deg);\r\n\tmargin-top: -40px;\r\n}\r\n\r\n.progress-circle-back {\r\n\tfill: none; \r\n\tstroke: #D2D2D2;\r\n\tstroke-width:10px;\r\n}\r\n\r\n.progress-circle-prog {\r\n\tfill: none; \r\n\tstroke: #7E3451;\r\n\tstroke-width: 10px; \r\n\tstroke-dasharray: 100 999; \r\n\tstroke-dashoffset: 0px;\r\n transition: stroke-dasharray 0.7s linear 0s;\r\n}\r\n\r\n.progress-text {\r\n\twidth: 100%;\r\n\tposition: absolute;\r\n\ttop: 60px;\r\n\ttext-align: center;\r\n\tfont-size: 2em;\r\n}","import { Component, Prop, h } from \"@stencil/core\";\r\nimport { GeneralSizes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-progress-circle',\r\n styleUrl: 'gb-progress-circle.css',\r\n shadow: true\r\n})\r\nexport class GbProgressCircle {\r\n @Prop() size: GeneralSizes;\r\n @Prop() shape: 'circle' | 'half_circle';\r\n @Prop() label: boolean = false;\r\n @Prop() progress: number = 0;\r\n\r\n render() {\r\n return (\r\n <div class=\"progress\">\r\n <svg class=\"progress-circle\" width=\"200px\" height=\"200px\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <circle class=\"progress-circle-back\" cx=\"80\" cy=\"80\" r=\"74\"></circle>\r\n <circle class=\"progress-circle-prog\" cx=\"80\" cy=\"80\" r=\"74\"></circle>\r\n </svg>\r\n <div class=\"progress-text\" data-progress=\"0\">\r\n 50%\r\n </div>\r\n </div>\r\n );\r\n }\r\n}"],"version":3}
1
+ {"file":"gb-progress-circle.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,mBAAmB,GAAG,yslBAAyslB,CAAC;AACtulB,+BAAe,mBAAmB;;MCOrB,gBAAgB;;;;;qBAGF,KAAK;wBACH,CAAC;;IAM5B,gBAAgB;QACd,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACjC;IAGD,oBAAoB,CAAC,WAAmB;QACtC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;KAC/B;IAED,WAAW,CAAC,UAAkB;;QAE5B,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC,CAAC;;QAGpD,MAAM,MAAM,GAAG,CAAC,UAAU,GAAG,GAAG,IAAI,GAAG,CAAC;;QAGxC,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,eAAe,GAAG;;+CAEC,MAAM,aAAa,MAAM;OACjE,CAAC;SACH;;QAGD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,KAAK,EAAE;YACnC,IAAI,CAAC,YAAY,CAAC,WAAW,GAAG,GAAG,UAAU,GAAG,CAAC;SAClD;KACF;IAED,MAAM;QACJ,QACEA,kEAAK,KAAK,EAAC,OAAO,IAChBA,kEAAK,KAAK,EAAC,KAAK,EAAC,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC,GAAQ,EAC1DA,kEAAK,KAAK,EAAC,MAAM,GAAO,EACvB,IAAI,CAAC,KAAK,KACTA,kEAAK,KAAK,EAAC,OAAO,EAAC,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC,IACpDA,gEAAG,KAAK,EAAC,sBAAsB,IAAE,GAAG,IAAI,CAAC,QAAQ,GAAG,CAAK,CACrD,CACP,CACG,EACN;KACH;;;;;;;;;;","names":["h"],"sources":["src/components/gb-progress-circle/gb-progress-circle.css?tag=gb-progress-circle&encapsulation=shadow","src/components/gb-progress-circle/gb-progress-circle.tsx"],"sourcesContent":["@import './../../global/typography.css';\r\n\r\n.gauge {\r\n height: 85px;\r\n position: relative;\r\n width: 170px;\r\n }\r\n \r\n .gauge .arc {\r\n background-image: radial-gradient(#fff 0, #fff 60%, transparent 60%);\r\n background-position: center center;\r\n background-repeat: no-repeat;\r\n background-size: 100% 100%;\r\n border-radius: 50%;\r\n height: 170px;\r\n position: relative;\r\n transform: rotate(-90deg);\r\n width: 100%;\r\n transition: background-image 0.3s ease; /* Smooth transition */\r\n }\r\n \r\n .gauge .mask::before,\r\n .gauge .mask::after {\r\n background-image: radial-gradient(transparent 0, transparent 50%, #fff 50%, #fff 100%);\r\n clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0% 100%);\r\n content: '';\r\n height: 18px;\r\n position: absolute;\r\n width: 18px;\r\n }\r\n \r\n .gauge .mask::before {\r\n left: -2px;\r\n bottom: 0;\r\n }\r\n \r\n .gauge .mask::after {\r\n bottom: 0;\r\n right: -2px;\r\n }\r\n \r\n .gauge .label {\r\n bottom: 20px;\r\n font-size: 16px;\r\n font-weight: 700;\r\n left: 0;\r\n line-height: 26px;\r\n position: absolute;\r\n text-align: center;\r\n width: 100%;\r\n }","import { Component, Element, Prop, Watch, h } from \"@stencil/core\";\r\nimport { GeneralSizes } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-progress-circle',\r\n styleUrl: 'gb-progress-circle.css',\r\n shadow: true,\r\n})\r\nexport class GbProgressCircle {\r\n @Prop() size: GeneralSizes;\r\n @Prop() shape: 'circle' | 'half_circle';\r\n @Prop() label: boolean = false;\r\n @Prop() progress: number = 0;\r\n @Element() el: HTMLElement;\r\n\r\n private arcElement!: HTMLElement;\r\n private labelElement!: HTMLElement;\r\n\r\n componentDidLoad() {\r\n this.updateGauge(this.progress);\r\n }\r\n\r\n @Watch('progress')\r\n handleProgressChange(newProgress: number) {\r\n this.updateGauge(newProgress);\r\n }\r\n\r\n updateGauge(percentage: number) {\r\n // Limit percentage between 0 and 100\r\n percentage = Math.max(0, Math.min(percentage, 100));\r\n\r\n // Calculate the degree for the filled portion (0% -> 0deg, 100% -> 180deg)\r\n const degree = (percentage / 100) * 180;\r\n\r\n // Update the arc's background image with conic gradient\r\n if (this.arcElement) {\r\n this.arcElement.style.backgroundImage = `\r\n radial-gradient(#fff 0, #fff 60%, transparent 60%),\r\n conic-gradient(#1e5ba7 0deg, #1e5ba7 ${degree}deg, #ccc ${degree}deg, #ccc 180deg, #fff 180deg, #fff 360deg)\r\n `;\r\n }\r\n\r\n // Update the label text if it should be shown\r\n if (this.labelElement && this.label) {\r\n this.labelElement.textContent = `${percentage}%`;\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <div class=\"gauge\">\r\n <div class=\"arc\" ref={el => (this.arcElement = el)}></div>\r\n <div class=\"mask\"></div>\r\n {this.label && (\r\n <div class=\"label\" ref={el => (this.labelElement = el)}>\r\n <p class=\"display-lg-semi-bold\">{`${this.progress}%`}</p>\r\n </div>\r\n )}\r\n </div>\r\n );\r\n }\r\n}"],"version":3}
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy(JSON.parse("[[\"gb-avatar_34.cjs\",[[1,\"gb-input-field\",{\"size\":[1],\"type\":[1],\"destructive\":[4],\"state\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"],\"errorText\":[1,\"error-text\"],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showHelpIcon\":[4,\"show-help-icon\"],\"showValidation\":[4,\"show-validation\"],\"iconSwap\":[1,\"icon-swap\"],\"showCloseButton\":[4,\"show-close-button\"],\"options\":[1040],\"inputValue\":[32],\"tags\":[32],\"leadingIconSvg\":[32],\"isPasswordVisible\":[32],\"showDropdown\":[32],\"selectedItem\":[32]},null,{\"options\":[\"optionsChanged\"]}],[1,\"gb-sidebar\",{\"state\":[1025],\"category\":[1],\"showSecondCategory\":[4,\"show-second-category\"],\"applicationName\":[1,\"application-name\"],\"firstItemIcon\":[1,\"first-item-icon\"],\"secondItemIcon\":[1,\"second-item-icon\"],\"thirdItemIcon\":[1,\"third-item-icon\"],\"fourthItemIcon\":[1,\"fourth-item-icon\"],\"fifthItemIcon\":[1,\"fifth-item-icon\"],\"sixthItemIcon\":[1,\"sixth-item-icon\"],\"seventhItemIcon\":[1,\"seventh-item-icon\"],\"eighthItemIcon\":[1,\"eighth-item-icon\"],\"ninthItemIcon\":[1,\"ninth-item-icon\"],\"tenthItemIcon\":[1,\"tenth-item-icon\"],\"iconInstance\":[1,\"icon-instance\"],\"label\":[1],\"firstItemLabel\":[1,\"first-item-label\"],\"secondItemLabel\":[1,\"second-item-label\"],\"thirdItemLabel\":[1,\"third-item-label\"],\"fourthItemLabel\":[1,\"fourth-item-label\"],\"fifthItemLabel\":[1,\"fifth-item-label\"],\"sixthItemLabel\":[1,\"sixth-item-label\"],\"seventhItemLabel\":[1,\"seventh-item-label\"],\"eighthItemLabel\":[1,\"eighth-item-label\"],\"ninthItemLabel\":[1,\"ninth-item-label\"],\"tenthItemLabel\":[1,\"tenth-item-label\"],\"activeIndex\":[1026,\"active-index\"],\"leadingIconSvg\":[32],\"sideBarItemClicked\":[64]}],[1,\"gb-horizontal-tabs\",{\"type\":[1],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"firstTabName\":[1,\"first-tab-name\"],\"secondTabName\":[1,\"second-tab-name\"],\"thirdTabName\":[1,\"third-tab-name\"],\"fourthTabName\":[1,\"fourth-tab-name\"],\"fifthTabName\":[1,\"fifth-tab-name\"],\"sixthTabName\":[1,\"sixth-tab-name\"],\"seventhTabName\":[1,\"seventh-tab-name\"],\"eighthTabName\":[1,\"eighth-tab-name\"],\"ninthTabName\":[1,\"ninth-tab-name\"],\"tenthTabName\":[1,\"tenth-tab-name\"],\"eleventhTabName\":[1,\"eleventh-tab-name\"],\"twelfthTabName\":[1,\"twelfth-tab-name\"],\"thirteenthTabName\":[1,\"thirteenth-tab-name\"],\"fourteenthTabName\":[1,\"fourteenth-tab-name\"],\"fifteenthTabName\":[1,\"fifteenth-tab-name\"],\"sixteenthTabName\":[1,\"sixteenth-tab-name\"],\"seventeenthTabName\":[1,\"seventeenth-tab-name\"],\"eighteenthTabName\":[1,\"eighteenth-tab-name\"],\"nineteenthTabName\":[1,\"nineteenth-tab-name\"],\"twentiethTabName\":[1,\"twentieth-tab-name\"],\"activeIndex\":[1026,\"active-index\"]}],[1,\"gb-header\",{\"state\":[1],\"showIndicator\":[4,\"show-indicator\"],\"text\":[4],\"placeholder\":[4],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"onNavBarItemClicked\":[64]}],[1,\"gb-notification-pane\",{\"state\":[1],\"notifications\":[16]},[[0,\"slotchange\",\"handleSlotChange\"]]],[1,\"gb-pagination\",{\"type\":[1],\"shape\":[1],\"breakpoint\":[1],\"currentPage\":[2,\"current-page\"],\"totalPages\":[2,\"total-pages\"]}],[0,\"gb-carousel-arrow\",{\"size\":[1],\"chevron\":[1]}],[1,\"gb-pagination-button-group-base\",{\"icon\":[1],\"iconLeading\":[1,\"icon-leading\"],\"iconTrailing\":[1,\"icon-trailing\"]}],[0,\"gb-pagination-dot-indicator\",{\"current\":[4],\"type\":[1],\"size\":[1]}],[1,\"gb-pagination-number-base\",{\"shape\":[1]}],[1,\"gb-side-bar-item\",{\"state\":[1],\"type\":[1],\"label\":[1],\"icon\":[1],\"category\":[1],\"showArrow\":[4,\"show-arrow\"],\"showBadge\":[4,\"show-badge\"],\"showTooltip\":[1028,\"show-tooltip\"],\"leadingIconSvg\":[32],\"textState\":[32]}],[1,\"gb-tab-button-base\",{\"current\":[4],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"badge\":[4],\"type\":[1],\"tabName\":[1,\"tab-name\"]}],[1,\"gb-password-button\",{\"state\":[1],\"isPasswordVisible\":[32]}],[1,\"gb-collapse-button\",{\"color\":[1],\"isCollapsed\":[1028,\"is-collapsed\"],\"action\":[1025],\"isHovered\":[1028,\"is-hovered\"],\"collapseSidebar\":[64],\"expandSidebar\":[64]}],[1,\"gb-header-icon\",{\"state\":[1],\"showIndicator\":[4,\"show-indicator\"],\"icon\":[1]}],[1,\"gb-notification-content\",{\"icon\":[1],\"label\":[1],\"time\":[1],\"supportingText\":[1,\"supporting-text\"]}],[1,\"gb-toggle-base\",{\"size\":[1],\"state\":[1],\"pressed\":[1028]}],[1,\"gb-input-dropdown\",{\"type\":[1],\"state\":[1025],\"size\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"placeholder\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"],\"showHelpIcon\":[4,\"show-help-icon\"],\"showLeadingIcon\":[4,\"show-leading-icon\"],\"iconSwap\":[1,\"icon-swap\"],\"text\":[4],\"leadingIcon\":[1,\"leading-icon\"],\"items\":[1040],\"supportingText\":[4,\"supporting-text\"],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"leadingIconSvg\":[32],\"dropdownOpen\":[32],\"selectedItems\":[32],\"unselectedItems\":[32],\"selectedItem\":[32]}],[4,\"gb-btn\",{\"size\":[1],\"hierarchy\":[1],\"icon\":[1],\"destructive\":[4],\"state\":[1],\"iconLeading\":[4,\"icon-leading\"],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailing\":[4,\"icon-trailing\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"leadingIconSvg\":[32],\"trailingIconSvg\":[32]}],[1,\"gb-tag\",{\"size\":[1],\"icon\":[1],\"action\":[1],\"flagSwap\":[1,\"flag-swap\"],\"checkbox\":[4],\"onTagClose\":[64]}],[1,\"gb-input-dropdown-menu-item\",{\"type\":[1],\"supportingText\":[4,\"supporting-text\"],\"selected\":[1028],\"state\":[1],\"color\":[1]}],[1,\"gb-badge\",{\"size\":[1],\"icon\":[1],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"flagSwap\":[1,\"flag-swap\"],\"color\":[1],\"type\":[1],\"closeButton\":[4,\"close-button\"],\"leadingIconContent\":[32],\"trailingIconContent\":[32]}],[1,\"gb-help-tooltip\",{\"showArrow\":[4,\"show-arrow\"],\"showSupportingText\":[4,\"show-supporting-text\"],\"showHelpTooltip\":[32]}],[1,\"gb-tag-checkbox\",{\"checked\":[4],\"size\":[1],\"disabled\":[4]}],[1,\"gb-tag-close\",{\"size\":[1]}],[1,\"gb-tag-count\",{\"size\":[1]}],[1,\"gb-badge-close\",{\"color\":[1],\"type\":[1]}],[1,\"gb-button\",{\"size\":[1],\"hierarchy\":[1],\"icon\":[1],\"destructive\":[4],\"state\":[1],\"iconLeading\":[4,\"icon-leading\"],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailing\":[4,\"icon-trailing\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"leadingIconSvg\":[32],\"trailingIconSvg\":[32]}],[1,\"gb-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"size\":[1],\"type\":[1],\"state\":[1],\"text\":[4],\"supportingText\":[4,\"supporting-text\"]}],[1,\"gb-checkbox-base\",{\"state\":[1025],\"size\":[1],\"type\":[1],\"checked\":[1028],\"indeterminate\":[1028]}],[1,\"gb-tooltip\",{\"showArrow\":[4,\"show-arrow\"],\"arrow\":[1],\"showSupportingText\":[4,\"show-supporting-text\"]}],[1,\"gb-avatar\",{\"size\":[1],\"placeholder\":[4],\"text\":[4],\"statusIcon\":[1,\"status-icon\"],\"state\":[1],\"icon\":[1],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"weight\":[1]}],[1,\"gb-avatar-contrast-inner-border\",{\"weight\":[1],\"size\":[1],\"showBorder\":[4,\"show-border\"]}],[1,\"gb-status-indicator\",{\"statusIcon\":[1,\"status-icon\"],\"size\":[1],\"state\":[1],\"indicatorStateClass\":[1,\"indicator-state-class\"]}]]],[\"gb-rich-text.cjs\",[[1,\"gb-rich-text\",{\"state\":[1],\"destructive\":[4],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-avatar-dropdown.cjs\",[[1,\"gb-avatar-dropdown\",{\"type\":[1],\"text\":[4],\"showProfile\":[4,\"show-profile\"],\"showDarkTheme\":[4,\"show-dark-theme\"],\"showLogOut\":[4,\"show-log-out\"],\"listGroupOne\":[4,\"list-group-one\"],\"listGroupTwo\":[4,\"list-group-two\"],\"listGroupThree\":[4,\"list-group-three\"],\"color\":[1],\"viewProfileClicked\":[64],\"logoutClicked\":[64]}]]],[\"gb-checkbox-group.cjs\",[[1,\"gb-checkbox-group\",{\"size\":[1],\"breakpoint\":[1],\"icon\":[1],\"selected\":[4],\"type\":[1]}]]],[\"gb-avatar-group.cjs\",[[1,\"gb-avatar-group\",{\"size\":[1],\"moreUsers\":[4,\"more-users\"],\"addMoreButton\":[4,\"add-more-button\"],\"text\":[4],\"state\":[1],\"images\":[16]}]]],[\"gb-file-upload.cjs\",[[1,\"gb-file-upload\",{\"icon\":[1],\"type\":[1],\"heightSize\":[1,\"height-size\"],\"state\":[1],\"destructive\":[4],\"showLabel\":[4,\"show-label\"],\"buttonState\":[1,\"button-state\"]}]]],[\"gb-avatar-profile-photo.cjs\",[[1,\"gb-avatar-profile-photo\",{\"placeholder\":[4],\"text\":[4],\"size\":[1],\"verified\":[4],\"icon\":[1]}]]],[\"gb-help-dropdown.cjs\",[[1,\"gb-help-dropdown\",{\"showLogError\":[4,\"show-log-error\"],\"downloadUserGuideClicked\":[64]}]]],[\"gb-toast.cjs\",[[1,\"gb-toast\",{\"color\":[1],\"size\":[1],\"breakpoint\":[1],\"xCloseButton\":[4,\"x-close-button\"],\"actions\":[4],\"showSupportingText\":[4,\"show-supporting-text\"]}]]],[\"gb-slider.cjs\",[[1,\"gb-slider\",{\"min\":[2],\"max\":[2],\"thumbType\":[1,\"thumb-type\"],\"leftValue\":[32],\"rightValue\":[32]}]]],[\"gb-toggle.cjs\",[[1,\"gb-toggle\",{\"size\":[1],\"state\":[1],\"supportingText\":[4,\"supporting-text\"],\"pressed\":[4]}]]],[\"gb-token-field.cjs\",[[1,\"gb-token-field\",{\"size\":[1],\"digits\":[2],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showSupportingText\":[4,\"show-supporting-text\"],\"supportingText\":[1,\"supporting-text\"]}]]],[\"gb-verification-code-field.cjs\",[[1,\"gb-verification-code-field\",{\"size\":[1],\"digits\":[2],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-wysiwyg-tooltip.cjs\",[[1,\"gb-wysiwyg-tooltip\",{\"arrow\":[1],\"breakpoint\":[1]}]]],[\"gb-file-type-icon.cjs\",[[1,\"gb-file-type-icon\"]]],[\"gb-progress-circle.cjs\",[[1,\"gb-progress-circle\",{\"size\":[1],\"shape\":[1],\"label\":[4],\"progress\":[2]}]]],[\"gb-scrollbar.cjs\",[[1,\"gb-scrollbar\",{\"length\":[1]}]]],[\"gb-textarea-input-field.cjs\",[[1,\"gb-textarea-input-field\",{\"type\":[1],\"destructive\":[4],\"state\":[1],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-wysiwyg-toolbar.cjs\",[[1,\"gb-wysiwyg-toolbar\",{\"breakpoint\":[1],\"fontSelector\":[4,\"font-selector\"],\"bold\":[4],\"italic\":[4],\"h1\":[4,\"h-1\"],\"h2\":[4,\"h-2\"],\"quote\":[4],\"link\":[4],\"image\":[4],\"bulletList\":[4,\"bullet-list\"],\"numberList\":[4,\"number-list\"]}]]],[\"gb-checkbox-group-item.cjs\",[[1,\"gb-checkbox-group-item\",{\"size\":[1],\"type\":[1],\"state\":[1],\"breakpoint\":[1],\"showCost\":[4,\"show-cost\"],\"selected\":[1028]}]]],[\"gb-button-close_2.cjs\",[[1,\"gb-progress-bar\",{\"progress\":[2],\"showLabel\":[4,\"show-label\"],\"labelPosition\":[1,\"label-position\"],\"el\":[16]}],[1,\"gb-button-close\",{\"size\":[1],\"color\":[1]}]]],[\"gb-file-upload-item-base.cjs\",[[1,\"gb-file-upload-item-base\",{\"icon\":[1],\"state\":[1],\"heightSize\":[1,\"height-size\"],\"fileType\":[1,\"file-type\"],\"buttonState\":[1,\"button-state\"]}]]],[\"gb-avatar-label-group.cjs\",[[1,\"gb-avatar-label-group\",{\"size\":[1],\"statusIcon\":[1,\"status-icon\"],\"state\":[1],\"placeholder\":[4],\"text\":[4],\"color\":[1]}]]],[\"gb-avatar-add-button.cjs\",[[1,\"gb-avatar-add-button\",{\"size\":[1],\"showToolTip\":[1028,\"show-tool-tip\"],\"state\":[1],\"el\":[16]}]]],[\"gb-slider-control-handle.cjs\",[[1,\"gb-slider-control-handle\",{\"value\":[2],\"type\":[1],\"isHovered\":[32],\"isFocused\":[32]}]]],[\"gb-toast-button.cjs\",[[1,\"gb-toast-button\",{\"state\":[1],\"color\":[1]}]]],[\"gb-dropdown-items-with-shortcut.cjs\",[[1,\"gb-dropdown-items-with-shortcut\",{\"icon\":[4],\"iconSrc\":[1,\"icon-src\"],\"checkbox\":[4],\"shortcut\":[4],\"shortcutIcon\":[1,\"shortcut-icon\"],\"label\":[1],\"state\":[1]}]]],[\"gb-megainput-field.cjs\",[[1,\"gb-megainput-field\",{\"size\":[1],\"state\":[1],\"inputValue\":[32]}]]],[\"gb-wysiwyg-editor-icon.cjs\",[[1,\"gb-wysiwyg-editor-icon\",{\"active\":[4],\"type\":[1],\"state\":[1]}]]]]"), options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"gb-avatar_34.cjs\",[[1,\"gb-input-field\",{\"size\":[1],\"type\":[1],\"destructive\":[4],\"state\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"],\"errorText\":[1,\"error-text\"],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showHelpIcon\":[4,\"show-help-icon\"],\"showValidation\":[4,\"show-validation\"],\"iconSwap\":[1,\"icon-swap\"],\"showCloseButton\":[4,\"show-close-button\"],\"options\":[1040],\"inputValue\":[32],\"tags\":[32],\"leadingIconSvg\":[32],\"isPasswordVisible\":[32],\"showDropdown\":[32],\"selectedItem\":[32]},null,{\"options\":[\"optionsChanged\"]}],[1,\"gb-sidebar\",{\"state\":[1025],\"category\":[1],\"showSecondCategory\":[4,\"show-second-category\"],\"applicationName\":[1,\"application-name\"],\"firstItemIcon\":[1,\"first-item-icon\"],\"secondItemIcon\":[1,\"second-item-icon\"],\"thirdItemIcon\":[1,\"third-item-icon\"],\"fourthItemIcon\":[1,\"fourth-item-icon\"],\"fifthItemIcon\":[1,\"fifth-item-icon\"],\"sixthItemIcon\":[1,\"sixth-item-icon\"],\"seventhItemIcon\":[1,\"seventh-item-icon\"],\"eighthItemIcon\":[1,\"eighth-item-icon\"],\"ninthItemIcon\":[1,\"ninth-item-icon\"],\"tenthItemIcon\":[1,\"tenth-item-icon\"],\"iconInstance\":[1,\"icon-instance\"],\"label\":[1],\"firstItemLabel\":[1,\"first-item-label\"],\"secondItemLabel\":[1,\"second-item-label\"],\"thirdItemLabel\":[1,\"third-item-label\"],\"fourthItemLabel\":[1,\"fourth-item-label\"],\"fifthItemLabel\":[1,\"fifth-item-label\"],\"sixthItemLabel\":[1,\"sixth-item-label\"],\"seventhItemLabel\":[1,\"seventh-item-label\"],\"eighthItemLabel\":[1,\"eighth-item-label\"],\"ninthItemLabel\":[1,\"ninth-item-label\"],\"tenthItemLabel\":[1,\"tenth-item-label\"],\"activeIndex\":[1026,\"active-index\"],\"leadingIconSvg\":[32],\"sideBarItemClicked\":[64]}],[1,\"gb-horizontal-tabs\",{\"type\":[1],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"firstTabName\":[1,\"first-tab-name\"],\"secondTabName\":[1,\"second-tab-name\"],\"thirdTabName\":[1,\"third-tab-name\"],\"fourthTabName\":[1,\"fourth-tab-name\"],\"fifthTabName\":[1,\"fifth-tab-name\"],\"sixthTabName\":[1,\"sixth-tab-name\"],\"seventhTabName\":[1,\"seventh-tab-name\"],\"eighthTabName\":[1,\"eighth-tab-name\"],\"ninthTabName\":[1,\"ninth-tab-name\"],\"tenthTabName\":[1,\"tenth-tab-name\"],\"eleventhTabName\":[1,\"eleventh-tab-name\"],\"twelfthTabName\":[1,\"twelfth-tab-name\"],\"thirteenthTabName\":[1,\"thirteenth-tab-name\"],\"fourteenthTabName\":[1,\"fourteenth-tab-name\"],\"fifteenthTabName\":[1,\"fifteenth-tab-name\"],\"sixteenthTabName\":[1,\"sixteenth-tab-name\"],\"seventeenthTabName\":[1,\"seventeenth-tab-name\"],\"eighteenthTabName\":[1,\"eighteenth-tab-name\"],\"nineteenthTabName\":[1,\"nineteenth-tab-name\"],\"twentiethTabName\":[1,\"twentieth-tab-name\"],\"activeIndex\":[1026,\"active-index\"]}],[1,\"gb-header\",{\"state\":[1],\"showIndicator\":[4,\"show-indicator\"],\"text\":[4],\"placeholder\":[4],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"onNavBarItemClicked\":[64]}],[1,\"gb-notification-pane\",{\"state\":[1],\"notifications\":[16]},[[0,\"slotchange\",\"handleSlotChange\"]]],[1,\"gb-pagination\",{\"type\":[1],\"shape\":[1],\"breakpoint\":[1],\"currentPage\":[2,\"current-page\"],\"totalPages\":[2,\"total-pages\"]}],[0,\"gb-carousel-arrow\",{\"size\":[1],\"chevron\":[1]}],[1,\"gb-pagination-button-group-base\",{\"icon\":[1],\"iconLeading\":[1,\"icon-leading\"],\"iconTrailing\":[1,\"icon-trailing\"]}],[0,\"gb-pagination-dot-indicator\",{\"current\":[4],\"type\":[1],\"size\":[1]}],[1,\"gb-pagination-number-base\",{\"shape\":[1]}],[1,\"gb-side-bar-item\",{\"state\":[1],\"type\":[1],\"label\":[1],\"icon\":[1],\"category\":[1],\"showArrow\":[4,\"show-arrow\"],\"showBadge\":[4,\"show-badge\"],\"showTooltip\":[1028,\"show-tooltip\"],\"leadingIconSvg\":[32],\"textState\":[32]}],[1,\"gb-tab-button-base\",{\"current\":[4],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"badge\":[4],\"type\":[1],\"tabName\":[1,\"tab-name\"]}],[1,\"gb-password-button\",{\"state\":[1],\"isPasswordVisible\":[32]}],[1,\"gb-collapse-button\",{\"color\":[1],\"isCollapsed\":[1028,\"is-collapsed\"],\"action\":[1025],\"isHovered\":[1028,\"is-hovered\"],\"collapseSidebar\":[64],\"expandSidebar\":[64]}],[1,\"gb-header-icon\",{\"state\":[1],\"showIndicator\":[4,\"show-indicator\"],\"icon\":[1]}],[1,\"gb-notification-content\",{\"icon\":[1],\"label\":[1],\"time\":[1],\"supportingText\":[1,\"supporting-text\"]}],[1,\"gb-toggle-base\",{\"size\":[1],\"state\":[1],\"pressed\":[1028]}],[1,\"gb-input-dropdown\",{\"type\":[1],\"state\":[1025],\"size\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"placeholder\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"],\"showHelpIcon\":[4,\"show-help-icon\"],\"showLeadingIcon\":[4,\"show-leading-icon\"],\"iconSwap\":[1,\"icon-swap\"],\"text\":[4],\"leadingIcon\":[1,\"leading-icon\"],\"items\":[1040],\"supportingText\":[4,\"supporting-text\"],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"leadingIconSvg\":[32],\"dropdownOpen\":[32],\"selectedItems\":[32],\"unselectedItems\":[32],\"selectedItem\":[32]}],[4,\"gb-btn\",{\"size\":[1],\"hierarchy\":[1],\"icon\":[1],\"destructive\":[4],\"state\":[1],\"iconLeading\":[4,\"icon-leading\"],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailing\":[4,\"icon-trailing\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"leadingIconSvg\":[32],\"trailingIconSvg\":[32]}],[1,\"gb-tag\",{\"size\":[1],\"icon\":[1],\"action\":[1],\"flagSwap\":[1,\"flag-swap\"],\"checkbox\":[4],\"onTagClose\":[64]}],[1,\"gb-input-dropdown-menu-item\",{\"type\":[1],\"supportingText\":[4,\"supporting-text\"],\"selected\":[1028],\"state\":[1],\"color\":[1]}],[1,\"gb-badge\",{\"size\":[1],\"icon\":[1],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"flagSwap\":[1,\"flag-swap\"],\"color\":[1],\"type\":[1],\"closeButton\":[4,\"close-button\"],\"leadingIconContent\":[32],\"trailingIconContent\":[32]}],[1,\"gb-help-tooltip\",{\"showArrow\":[4,\"show-arrow\"],\"showSupportingText\":[4,\"show-supporting-text\"],\"showHelpTooltip\":[32]}],[1,\"gb-tag-checkbox\",{\"checked\":[4],\"size\":[1],\"disabled\":[4]}],[1,\"gb-tag-close\",{\"size\":[1]}],[1,\"gb-tag-count\",{\"size\":[1]}],[1,\"gb-badge-close\",{\"color\":[1],\"type\":[1]}],[1,\"gb-button\",{\"size\":[1],\"hierarchy\":[1],\"icon\":[1],\"destructive\":[4],\"state\":[1],\"iconLeading\":[4,\"icon-leading\"],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailing\":[4,\"icon-trailing\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"leadingIconSvg\":[32],\"trailingIconSvg\":[32]}],[1,\"gb-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"size\":[1],\"type\":[1],\"state\":[1],\"text\":[4],\"supportingText\":[4,\"supporting-text\"]}],[1,\"gb-checkbox-base\",{\"state\":[1025],\"size\":[1],\"type\":[1],\"checked\":[1028],\"indeterminate\":[1028]}],[1,\"gb-tooltip\",{\"showArrow\":[4,\"show-arrow\"],\"arrow\":[1],\"showSupportingText\":[4,\"show-supporting-text\"]}],[1,\"gb-avatar\",{\"size\":[1],\"placeholder\":[4],\"text\":[4],\"statusIcon\":[1,\"status-icon\"],\"state\":[1],\"icon\":[1],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"weight\":[1]}],[1,\"gb-avatar-contrast-inner-border\",{\"weight\":[1],\"size\":[1],\"showBorder\":[4,\"show-border\"]}],[1,\"gb-status-indicator\",{\"statusIcon\":[1,\"status-icon\"],\"size\":[1],\"state\":[1],\"indicatorStateClass\":[1,\"indicator-state-class\"]}]]],[\"gb-rich-text.cjs\",[[1,\"gb-rich-text\",{\"state\":[1],\"destructive\":[4],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-avatar-dropdown.cjs\",[[1,\"gb-avatar-dropdown\",{\"type\":[1],\"text\":[4],\"showProfile\":[4,\"show-profile\"],\"showDarkTheme\":[4,\"show-dark-theme\"],\"showLogOut\":[4,\"show-log-out\"],\"listGroupOne\":[4,\"list-group-one\"],\"listGroupTwo\":[4,\"list-group-two\"],\"listGroupThree\":[4,\"list-group-three\"],\"color\":[1],\"viewProfileClicked\":[64],\"logoutClicked\":[64]}]]],[\"gb-checkbox-group.cjs\",[[1,\"gb-checkbox-group\",{\"size\":[1],\"breakpoint\":[1],\"icon\":[1],\"selected\":[4],\"type\":[1]}]]],[\"gb-avatar-group.cjs\",[[1,\"gb-avatar-group\",{\"size\":[1],\"moreUsers\":[4,\"more-users\"],\"addMoreButton\":[4,\"add-more-button\"],\"text\":[4],\"state\":[1],\"images\":[16]}]]],[\"gb-file-upload.cjs\",[[1,\"gb-file-upload\",{\"icon\":[1],\"type\":[1],\"heightSize\":[1,\"height-size\"],\"state\":[1],\"destructive\":[4],\"showLabel\":[4,\"show-label\"],\"buttonState\":[1,\"button-state\"]}]]],[\"gb-avatar-profile-photo.cjs\",[[1,\"gb-avatar-profile-photo\",{\"placeholder\":[4],\"text\":[4],\"size\":[1],\"verified\":[4],\"icon\":[1]}]]],[\"gb-help-dropdown.cjs\",[[1,\"gb-help-dropdown\",{\"showLogError\":[4,\"show-log-error\"],\"downloadUserGuideClicked\":[64]}]]],[\"gb-toast.cjs\",[[1,\"gb-toast\",{\"color\":[1],\"size\":[1],\"breakpoint\":[1],\"xCloseButton\":[4,\"x-close-button\"],\"actions\":[4],\"showSupportingText\":[4,\"show-supporting-text\"]}]]],[\"gb-slider.cjs\",[[1,\"gb-slider\",{\"min\":[2],\"max\":[2],\"thumbType\":[1,\"thumb-type\"],\"leftValue\":[32],\"rightValue\":[32]}]]],[\"gb-toggle.cjs\",[[1,\"gb-toggle\",{\"size\":[1],\"state\":[1],\"supportingText\":[4,\"supporting-text\"],\"pressed\":[4]}]]],[\"gb-token-field.cjs\",[[1,\"gb-token-field\",{\"size\":[1],\"digits\":[2],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showSupportingText\":[4,\"show-supporting-text\"],\"supportingText\":[1,\"supporting-text\"]}]]],[\"gb-verification-code-field.cjs\",[[1,\"gb-verification-code-field\",{\"size\":[1],\"digits\":[2],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-wysiwyg-tooltip.cjs\",[[1,\"gb-wysiwyg-tooltip\",{\"arrow\":[1],\"breakpoint\":[1]}]]],[\"gb-file-type-icon.cjs\",[[1,\"gb-file-type-icon\"]]],[\"gb-progress-circle.cjs\",[[1,\"gb-progress-circle\",{\"size\":[1],\"shape\":[1],\"label\":[4],\"progress\":[2]},null,{\"progress\":[\"handleProgressChange\"]}]]],[\"gb-scrollbar.cjs\",[[1,\"gb-scrollbar\",{\"length\":[1]}]]],[\"gb-textarea-input-field.cjs\",[[1,\"gb-textarea-input-field\",{\"type\":[1],\"destructive\":[4],\"state\":[1],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-wysiwyg-toolbar.cjs\",[[1,\"gb-wysiwyg-toolbar\",{\"breakpoint\":[1],\"fontSelector\":[4,\"font-selector\"],\"bold\":[4],\"italic\":[4],\"h1\":[4,\"h-1\"],\"h2\":[4,\"h-2\"],\"quote\":[4],\"link\":[4],\"image\":[4],\"bulletList\":[4,\"bullet-list\"],\"numberList\":[4,\"number-list\"]}]]],[\"gb-checkbox-group-item.cjs\",[[1,\"gb-checkbox-group-item\",{\"size\":[1],\"type\":[1],\"state\":[1],\"breakpoint\":[1],\"showCost\":[4,\"show-cost\"],\"selected\":[1028]}]]],[\"gb-button-close_2.cjs\",[[1,\"gb-progress-bar\",{\"progress\":[2],\"showLabel\":[4,\"show-label\"],\"labelPosition\":[1,\"label-position\"],\"el\":[16]}],[1,\"gb-button-close\",{\"size\":[1],\"color\":[1]}]]],[\"gb-file-upload-item-base.cjs\",[[1,\"gb-file-upload-item-base\",{\"icon\":[1],\"state\":[1],\"heightSize\":[1,\"height-size\"],\"fileType\":[1,\"file-type\"],\"buttonState\":[1,\"button-state\"]}]]],[\"gb-avatar-label-group.cjs\",[[1,\"gb-avatar-label-group\",{\"size\":[1],\"statusIcon\":[1,\"status-icon\"],\"state\":[1],\"placeholder\":[4],\"text\":[4],\"color\":[1],\"showBorder\":[4,\"show-border\"]}]]],[\"gb-avatar-add-button.cjs\",[[1,\"gb-avatar-add-button\",{\"size\":[1],\"showToolTip\":[1028,\"show-tool-tip\"],\"state\":[1],\"el\":[16]}]]],[\"gb-slider-control-handle.cjs\",[[1,\"gb-slider-control-handle\",{\"value\":[2],\"type\":[1],\"isHovered\":[32],\"isFocused\":[32]}]]],[\"gb-toast-button.cjs\",[[1,\"gb-toast-button\",{\"state\":[1],\"color\":[1]}]]],[\"gb-dropdown-items-with-shortcut.cjs\",[[1,\"gb-dropdown-items-with-shortcut\",{\"icon\":[4],\"iconSrc\":[1,\"icon-src\"],\"checkbox\":[4],\"shortcut\":[4],\"shortcutIcon\":[1,\"shortcut-icon\"],\"label\":[1],\"state\":[1]}]]],[\"gb-megainput-field.cjs\",[[1,\"gb-megainput-field\",{\"size\":[1],\"state\":[1],\"inputValue\":[32]}]]],[\"gb-wysiwyg-editor-icon.cjs\",[[1,\"gb-wysiwyg-editor-icon\",{\"active\":[4],\"type\":[1],\"state\":[1]}]]]]"), options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy(JSON.parse("[[\"gb-avatar_34.cjs\",[[1,\"gb-input-field\",{\"size\":[1],\"type\":[1],\"destructive\":[4],\"state\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"],\"errorText\":[1,\"error-text\"],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showHelpIcon\":[4,\"show-help-icon\"],\"showValidation\":[4,\"show-validation\"],\"iconSwap\":[1,\"icon-swap\"],\"showCloseButton\":[4,\"show-close-button\"],\"options\":[1040],\"inputValue\":[32],\"tags\":[32],\"leadingIconSvg\":[32],\"isPasswordVisible\":[32],\"showDropdown\":[32],\"selectedItem\":[32]},null,{\"options\":[\"optionsChanged\"]}],[1,\"gb-sidebar\",{\"state\":[1025],\"category\":[1],\"showSecondCategory\":[4,\"show-second-category\"],\"applicationName\":[1,\"application-name\"],\"firstItemIcon\":[1,\"first-item-icon\"],\"secondItemIcon\":[1,\"second-item-icon\"],\"thirdItemIcon\":[1,\"third-item-icon\"],\"fourthItemIcon\":[1,\"fourth-item-icon\"],\"fifthItemIcon\":[1,\"fifth-item-icon\"],\"sixthItemIcon\":[1,\"sixth-item-icon\"],\"seventhItemIcon\":[1,\"seventh-item-icon\"],\"eighthItemIcon\":[1,\"eighth-item-icon\"],\"ninthItemIcon\":[1,\"ninth-item-icon\"],\"tenthItemIcon\":[1,\"tenth-item-icon\"],\"iconInstance\":[1,\"icon-instance\"],\"label\":[1],\"firstItemLabel\":[1,\"first-item-label\"],\"secondItemLabel\":[1,\"second-item-label\"],\"thirdItemLabel\":[1,\"third-item-label\"],\"fourthItemLabel\":[1,\"fourth-item-label\"],\"fifthItemLabel\":[1,\"fifth-item-label\"],\"sixthItemLabel\":[1,\"sixth-item-label\"],\"seventhItemLabel\":[1,\"seventh-item-label\"],\"eighthItemLabel\":[1,\"eighth-item-label\"],\"ninthItemLabel\":[1,\"ninth-item-label\"],\"tenthItemLabel\":[1,\"tenth-item-label\"],\"activeIndex\":[1026,\"active-index\"],\"leadingIconSvg\":[32],\"sideBarItemClicked\":[64]}],[1,\"gb-horizontal-tabs\",{\"type\":[1],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"firstTabName\":[1,\"first-tab-name\"],\"secondTabName\":[1,\"second-tab-name\"],\"thirdTabName\":[1,\"third-tab-name\"],\"fourthTabName\":[1,\"fourth-tab-name\"],\"fifthTabName\":[1,\"fifth-tab-name\"],\"sixthTabName\":[1,\"sixth-tab-name\"],\"seventhTabName\":[1,\"seventh-tab-name\"],\"eighthTabName\":[1,\"eighth-tab-name\"],\"ninthTabName\":[1,\"ninth-tab-name\"],\"tenthTabName\":[1,\"tenth-tab-name\"],\"eleventhTabName\":[1,\"eleventh-tab-name\"],\"twelfthTabName\":[1,\"twelfth-tab-name\"],\"thirteenthTabName\":[1,\"thirteenth-tab-name\"],\"fourteenthTabName\":[1,\"fourteenth-tab-name\"],\"fifteenthTabName\":[1,\"fifteenth-tab-name\"],\"sixteenthTabName\":[1,\"sixteenth-tab-name\"],\"seventeenthTabName\":[1,\"seventeenth-tab-name\"],\"eighteenthTabName\":[1,\"eighteenth-tab-name\"],\"nineteenthTabName\":[1,\"nineteenth-tab-name\"],\"twentiethTabName\":[1,\"twentieth-tab-name\"],\"activeIndex\":[1026,\"active-index\"]}],[1,\"gb-header\",{\"state\":[1],\"showIndicator\":[4,\"show-indicator\"],\"text\":[4],\"placeholder\":[4],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"onNavBarItemClicked\":[64]}],[1,\"gb-notification-pane\",{\"state\":[1],\"notifications\":[16]},[[0,\"slotchange\",\"handleSlotChange\"]]],[1,\"gb-pagination\",{\"type\":[1],\"shape\":[1],\"breakpoint\":[1],\"currentPage\":[2,\"current-page\"],\"totalPages\":[2,\"total-pages\"]}],[0,\"gb-carousel-arrow\",{\"size\":[1],\"chevron\":[1]}],[1,\"gb-pagination-button-group-base\",{\"icon\":[1],\"iconLeading\":[1,\"icon-leading\"],\"iconTrailing\":[1,\"icon-trailing\"]}],[0,\"gb-pagination-dot-indicator\",{\"current\":[4],\"type\":[1],\"size\":[1]}],[1,\"gb-pagination-number-base\",{\"shape\":[1]}],[1,\"gb-side-bar-item\",{\"state\":[1],\"type\":[1],\"label\":[1],\"icon\":[1],\"category\":[1],\"showArrow\":[4,\"show-arrow\"],\"showBadge\":[4,\"show-badge\"],\"showTooltip\":[1028,\"show-tooltip\"],\"leadingIconSvg\":[32],\"textState\":[32]}],[1,\"gb-tab-button-base\",{\"current\":[4],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"badge\":[4],\"type\":[1],\"tabName\":[1,\"tab-name\"]}],[1,\"gb-password-button\",{\"state\":[1],\"isPasswordVisible\":[32]}],[1,\"gb-collapse-button\",{\"color\":[1],\"isCollapsed\":[1028,\"is-collapsed\"],\"action\":[1025],\"isHovered\":[1028,\"is-hovered\"],\"collapseSidebar\":[64],\"expandSidebar\":[64]}],[1,\"gb-header-icon\",{\"state\":[1],\"showIndicator\":[4,\"show-indicator\"],\"icon\":[1]}],[1,\"gb-notification-content\",{\"icon\":[1],\"label\":[1],\"time\":[1],\"supportingText\":[1,\"supporting-text\"]}],[1,\"gb-toggle-base\",{\"size\":[1],\"state\":[1],\"pressed\":[1028]}],[1,\"gb-input-dropdown\",{\"type\":[1],\"state\":[1025],\"size\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"placeholder\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"],\"showHelpIcon\":[4,\"show-help-icon\"],\"showLeadingIcon\":[4,\"show-leading-icon\"],\"iconSwap\":[1,\"icon-swap\"],\"text\":[4],\"leadingIcon\":[1,\"leading-icon\"],\"items\":[1040],\"supportingText\":[4,\"supporting-text\"],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"leadingIconSvg\":[32],\"dropdownOpen\":[32],\"selectedItems\":[32],\"unselectedItems\":[32],\"selectedItem\":[32]}],[4,\"gb-btn\",{\"size\":[1],\"hierarchy\":[1],\"icon\":[1],\"destructive\":[4],\"state\":[1],\"iconLeading\":[4,\"icon-leading\"],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailing\":[4,\"icon-trailing\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"leadingIconSvg\":[32],\"trailingIconSvg\":[32]}],[1,\"gb-tag\",{\"size\":[1],\"icon\":[1],\"action\":[1],\"flagSwap\":[1,\"flag-swap\"],\"checkbox\":[4],\"onTagClose\":[64]}],[1,\"gb-input-dropdown-menu-item\",{\"type\":[1],\"supportingText\":[4,\"supporting-text\"],\"selected\":[1028],\"state\":[1],\"color\":[1]}],[1,\"gb-badge\",{\"size\":[1],\"icon\":[1],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"flagSwap\":[1,\"flag-swap\"],\"color\":[1],\"type\":[1],\"closeButton\":[4,\"close-button\"],\"leadingIconContent\":[32],\"trailingIconContent\":[32]}],[1,\"gb-help-tooltip\",{\"showArrow\":[4,\"show-arrow\"],\"showSupportingText\":[4,\"show-supporting-text\"],\"showHelpTooltip\":[32]}],[1,\"gb-tag-checkbox\",{\"checked\":[4],\"size\":[1],\"disabled\":[4]}],[1,\"gb-tag-close\",{\"size\":[1]}],[1,\"gb-tag-count\",{\"size\":[1]}],[1,\"gb-badge-close\",{\"color\":[1],\"type\":[1]}],[1,\"gb-button\",{\"size\":[1],\"hierarchy\":[1],\"icon\":[1],\"destructive\":[4],\"state\":[1],\"iconLeading\":[4,\"icon-leading\"],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailing\":[4,\"icon-trailing\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"leadingIconSvg\":[32],\"trailingIconSvg\":[32]}],[1,\"gb-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"size\":[1],\"type\":[1],\"state\":[1],\"text\":[4],\"supportingText\":[4,\"supporting-text\"]}],[1,\"gb-checkbox-base\",{\"state\":[1025],\"size\":[1],\"type\":[1],\"checked\":[1028],\"indeterminate\":[1028]}],[1,\"gb-tooltip\",{\"showArrow\":[4,\"show-arrow\"],\"arrow\":[1],\"showSupportingText\":[4,\"show-supporting-text\"]}],[1,\"gb-avatar\",{\"size\":[1],\"placeholder\":[4],\"text\":[4],\"statusIcon\":[1,\"status-icon\"],\"state\":[1],\"icon\":[1],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"weight\":[1]}],[1,\"gb-avatar-contrast-inner-border\",{\"weight\":[1],\"size\":[1],\"showBorder\":[4,\"show-border\"]}],[1,\"gb-status-indicator\",{\"statusIcon\":[1,\"status-icon\"],\"size\":[1],\"state\":[1],\"indicatorStateClass\":[1,\"indicator-state-class\"]}]]],[\"gb-rich-text.cjs\",[[1,\"gb-rich-text\",{\"state\":[1],\"destructive\":[4],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-avatar-dropdown.cjs\",[[1,\"gb-avatar-dropdown\",{\"type\":[1],\"text\":[4],\"showProfile\":[4,\"show-profile\"],\"showDarkTheme\":[4,\"show-dark-theme\"],\"showLogOut\":[4,\"show-log-out\"],\"listGroupOne\":[4,\"list-group-one\"],\"listGroupTwo\":[4,\"list-group-two\"],\"listGroupThree\":[4,\"list-group-three\"],\"color\":[1],\"viewProfileClicked\":[64],\"logoutClicked\":[64]}]]],[\"gb-checkbox-group.cjs\",[[1,\"gb-checkbox-group\",{\"size\":[1],\"breakpoint\":[1],\"icon\":[1],\"selected\":[4],\"type\":[1]}]]],[\"gb-avatar-group.cjs\",[[1,\"gb-avatar-group\",{\"size\":[1],\"moreUsers\":[4,\"more-users\"],\"addMoreButton\":[4,\"add-more-button\"],\"text\":[4],\"state\":[1],\"images\":[16]}]]],[\"gb-file-upload.cjs\",[[1,\"gb-file-upload\",{\"icon\":[1],\"type\":[1],\"heightSize\":[1,\"height-size\"],\"state\":[1],\"destructive\":[4],\"showLabel\":[4,\"show-label\"],\"buttonState\":[1,\"button-state\"]}]]],[\"gb-avatar-profile-photo.cjs\",[[1,\"gb-avatar-profile-photo\",{\"placeholder\":[4],\"text\":[4],\"size\":[1],\"verified\":[4],\"icon\":[1]}]]],[\"gb-help-dropdown.cjs\",[[1,\"gb-help-dropdown\",{\"showLogError\":[4,\"show-log-error\"],\"downloadUserGuideClicked\":[64]}]]],[\"gb-toast.cjs\",[[1,\"gb-toast\",{\"color\":[1],\"size\":[1],\"breakpoint\":[1],\"xCloseButton\":[4,\"x-close-button\"],\"actions\":[4],\"showSupportingText\":[4,\"show-supporting-text\"]}]]],[\"gb-slider.cjs\",[[1,\"gb-slider\",{\"min\":[2],\"max\":[2],\"thumbType\":[1,\"thumb-type\"],\"leftValue\":[32],\"rightValue\":[32]}]]],[\"gb-toggle.cjs\",[[1,\"gb-toggle\",{\"size\":[1],\"state\":[1],\"supportingText\":[4,\"supporting-text\"],\"pressed\":[4]}]]],[\"gb-token-field.cjs\",[[1,\"gb-token-field\",{\"size\":[1],\"digits\":[2],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showSupportingText\":[4,\"show-supporting-text\"],\"supportingText\":[1,\"supporting-text\"]}]]],[\"gb-verification-code-field.cjs\",[[1,\"gb-verification-code-field\",{\"size\":[1],\"digits\":[2],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-wysiwyg-tooltip.cjs\",[[1,\"gb-wysiwyg-tooltip\",{\"arrow\":[1],\"breakpoint\":[1]}]]],[\"gb-file-type-icon.cjs\",[[1,\"gb-file-type-icon\"]]],[\"gb-progress-circle.cjs\",[[1,\"gb-progress-circle\",{\"size\":[1],\"shape\":[1],\"label\":[4],\"progress\":[2]}]]],[\"gb-scrollbar.cjs\",[[1,\"gb-scrollbar\",{\"length\":[1]}]]],[\"gb-textarea-input-field.cjs\",[[1,\"gb-textarea-input-field\",{\"type\":[1],\"destructive\":[4],\"state\":[1],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-wysiwyg-toolbar.cjs\",[[1,\"gb-wysiwyg-toolbar\",{\"breakpoint\":[1],\"fontSelector\":[4,\"font-selector\"],\"bold\":[4],\"italic\":[4],\"h1\":[4,\"h-1\"],\"h2\":[4,\"h-2\"],\"quote\":[4],\"link\":[4],\"image\":[4],\"bulletList\":[4,\"bullet-list\"],\"numberList\":[4,\"number-list\"]}]]],[\"gb-checkbox-group-item.cjs\",[[1,\"gb-checkbox-group-item\",{\"size\":[1],\"type\":[1],\"state\":[1],\"breakpoint\":[1],\"showCost\":[4,\"show-cost\"],\"selected\":[1028]}]]],[\"gb-button-close_2.cjs\",[[1,\"gb-progress-bar\",{\"progress\":[2],\"showLabel\":[4,\"show-label\"],\"labelPosition\":[1,\"label-position\"],\"el\":[16]}],[1,\"gb-button-close\",{\"size\":[1],\"color\":[1]}]]],[\"gb-file-upload-item-base.cjs\",[[1,\"gb-file-upload-item-base\",{\"icon\":[1],\"state\":[1],\"heightSize\":[1,\"height-size\"],\"fileType\":[1,\"file-type\"],\"buttonState\":[1,\"button-state\"]}]]],[\"gb-avatar-label-group.cjs\",[[1,\"gb-avatar-label-group\",{\"size\":[1],\"statusIcon\":[1,\"status-icon\"],\"state\":[1],\"placeholder\":[4],\"text\":[4],\"color\":[1]}]]],[\"gb-avatar-add-button.cjs\",[[1,\"gb-avatar-add-button\",{\"size\":[1],\"showToolTip\":[1028,\"show-tool-tip\"],\"state\":[1],\"el\":[16]}]]],[\"gb-slider-control-handle.cjs\",[[1,\"gb-slider-control-handle\",{\"value\":[2],\"type\":[1],\"isHovered\":[32],\"isFocused\":[32]}]]],[\"gb-toast-button.cjs\",[[1,\"gb-toast-button\",{\"state\":[1],\"color\":[1]}]]],[\"gb-dropdown-items-with-shortcut.cjs\",[[1,\"gb-dropdown-items-with-shortcut\",{\"icon\":[4],\"iconSrc\":[1,\"icon-src\"],\"checkbox\":[4],\"shortcut\":[4],\"shortcutIcon\":[1,\"shortcut-icon\"],\"label\":[1],\"state\":[1]}]]],[\"gb-megainput-field.cjs\",[[1,\"gb-megainput-field\",{\"size\":[1],\"state\":[1],\"inputValue\":[32]}]]],[\"gb-wysiwyg-editor-icon.cjs\",[[1,\"gb-wysiwyg-editor-icon\",{\"active\":[4],\"type\":[1],\"state\":[1]}]]]]"), options);
11
+ return index.bootstrapLazy(JSON.parse("[[\"gb-avatar_34.cjs\",[[1,\"gb-input-field\",{\"size\":[1],\"type\":[1],\"destructive\":[4],\"state\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"],\"errorText\":[1,\"error-text\"],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showHelpIcon\":[4,\"show-help-icon\"],\"showValidation\":[4,\"show-validation\"],\"iconSwap\":[1,\"icon-swap\"],\"showCloseButton\":[4,\"show-close-button\"],\"options\":[1040],\"inputValue\":[32],\"tags\":[32],\"leadingIconSvg\":[32],\"isPasswordVisible\":[32],\"showDropdown\":[32],\"selectedItem\":[32]},null,{\"options\":[\"optionsChanged\"]}],[1,\"gb-sidebar\",{\"state\":[1025],\"category\":[1],\"showSecondCategory\":[4,\"show-second-category\"],\"applicationName\":[1,\"application-name\"],\"firstItemIcon\":[1,\"first-item-icon\"],\"secondItemIcon\":[1,\"second-item-icon\"],\"thirdItemIcon\":[1,\"third-item-icon\"],\"fourthItemIcon\":[1,\"fourth-item-icon\"],\"fifthItemIcon\":[1,\"fifth-item-icon\"],\"sixthItemIcon\":[1,\"sixth-item-icon\"],\"seventhItemIcon\":[1,\"seventh-item-icon\"],\"eighthItemIcon\":[1,\"eighth-item-icon\"],\"ninthItemIcon\":[1,\"ninth-item-icon\"],\"tenthItemIcon\":[1,\"tenth-item-icon\"],\"iconInstance\":[1,\"icon-instance\"],\"label\":[1],\"firstItemLabel\":[1,\"first-item-label\"],\"secondItemLabel\":[1,\"second-item-label\"],\"thirdItemLabel\":[1,\"third-item-label\"],\"fourthItemLabel\":[1,\"fourth-item-label\"],\"fifthItemLabel\":[1,\"fifth-item-label\"],\"sixthItemLabel\":[1,\"sixth-item-label\"],\"seventhItemLabel\":[1,\"seventh-item-label\"],\"eighthItemLabel\":[1,\"eighth-item-label\"],\"ninthItemLabel\":[1,\"ninth-item-label\"],\"tenthItemLabel\":[1,\"tenth-item-label\"],\"activeIndex\":[1026,\"active-index\"],\"leadingIconSvg\":[32],\"sideBarItemClicked\":[64]}],[1,\"gb-horizontal-tabs\",{\"type\":[1],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"firstTabName\":[1,\"first-tab-name\"],\"secondTabName\":[1,\"second-tab-name\"],\"thirdTabName\":[1,\"third-tab-name\"],\"fourthTabName\":[1,\"fourth-tab-name\"],\"fifthTabName\":[1,\"fifth-tab-name\"],\"sixthTabName\":[1,\"sixth-tab-name\"],\"seventhTabName\":[1,\"seventh-tab-name\"],\"eighthTabName\":[1,\"eighth-tab-name\"],\"ninthTabName\":[1,\"ninth-tab-name\"],\"tenthTabName\":[1,\"tenth-tab-name\"],\"eleventhTabName\":[1,\"eleventh-tab-name\"],\"twelfthTabName\":[1,\"twelfth-tab-name\"],\"thirteenthTabName\":[1,\"thirteenth-tab-name\"],\"fourteenthTabName\":[1,\"fourteenth-tab-name\"],\"fifteenthTabName\":[1,\"fifteenth-tab-name\"],\"sixteenthTabName\":[1,\"sixteenth-tab-name\"],\"seventeenthTabName\":[1,\"seventeenth-tab-name\"],\"eighteenthTabName\":[1,\"eighteenth-tab-name\"],\"nineteenthTabName\":[1,\"nineteenth-tab-name\"],\"twentiethTabName\":[1,\"twentieth-tab-name\"],\"activeIndex\":[1026,\"active-index\"]}],[1,\"gb-header\",{\"state\":[1],\"showIndicator\":[4,\"show-indicator\"],\"text\":[4],\"placeholder\":[4],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"onNavBarItemClicked\":[64]}],[1,\"gb-notification-pane\",{\"state\":[1],\"notifications\":[16]},[[0,\"slotchange\",\"handleSlotChange\"]]],[1,\"gb-pagination\",{\"type\":[1],\"shape\":[1],\"breakpoint\":[1],\"currentPage\":[2,\"current-page\"],\"totalPages\":[2,\"total-pages\"]}],[0,\"gb-carousel-arrow\",{\"size\":[1],\"chevron\":[1]}],[1,\"gb-pagination-button-group-base\",{\"icon\":[1],\"iconLeading\":[1,\"icon-leading\"],\"iconTrailing\":[1,\"icon-trailing\"]}],[0,\"gb-pagination-dot-indicator\",{\"current\":[4],\"type\":[1],\"size\":[1]}],[1,\"gb-pagination-number-base\",{\"shape\":[1]}],[1,\"gb-side-bar-item\",{\"state\":[1],\"type\":[1],\"label\":[1],\"icon\":[1],\"category\":[1],\"showArrow\":[4,\"show-arrow\"],\"showBadge\":[4,\"show-badge\"],\"showTooltip\":[1028,\"show-tooltip\"],\"leadingIconSvg\":[32],\"textState\":[32]}],[1,\"gb-tab-button-base\",{\"current\":[4],\"size\":[1],\"fullWidth\":[4,\"full-width\"],\"badge\":[4],\"type\":[1],\"tabName\":[1,\"tab-name\"]}],[1,\"gb-password-button\",{\"state\":[1],\"isPasswordVisible\":[32]}],[1,\"gb-collapse-button\",{\"color\":[1],\"isCollapsed\":[1028,\"is-collapsed\"],\"action\":[1025],\"isHovered\":[1028,\"is-hovered\"],\"collapseSidebar\":[64],\"expandSidebar\":[64]}],[1,\"gb-header-icon\",{\"state\":[1],\"showIndicator\":[4,\"show-indicator\"],\"icon\":[1]}],[1,\"gb-notification-content\",{\"icon\":[1],\"label\":[1],\"time\":[1],\"supportingText\":[1,\"supporting-text\"]}],[1,\"gb-toggle-base\",{\"size\":[1],\"state\":[1],\"pressed\":[1028]}],[1,\"gb-input-dropdown\",{\"type\":[1],\"state\":[1025],\"size\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"placeholder\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"],\"showHelpIcon\":[4,\"show-help-icon\"],\"showLeadingIcon\":[4,\"show-leading-icon\"],\"iconSwap\":[1,\"icon-swap\"],\"text\":[4],\"leadingIcon\":[1,\"leading-icon\"],\"items\":[1040],\"supportingText\":[4,\"supporting-text\"],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"leadingIconSvg\":[32],\"dropdownOpen\":[32],\"selectedItems\":[32],\"unselectedItems\":[32],\"selectedItem\":[32]}],[4,\"gb-btn\",{\"size\":[1],\"hierarchy\":[1],\"icon\":[1],\"destructive\":[4],\"state\":[1],\"iconLeading\":[4,\"icon-leading\"],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailing\":[4,\"icon-trailing\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"leadingIconSvg\":[32],\"trailingIconSvg\":[32]}],[1,\"gb-tag\",{\"size\":[1],\"icon\":[1],\"action\":[1],\"flagSwap\":[1,\"flag-swap\"],\"checkbox\":[4],\"onTagClose\":[64]}],[1,\"gb-input-dropdown-menu-item\",{\"type\":[1],\"supportingText\":[4,\"supporting-text\"],\"selected\":[1028],\"state\":[1],\"color\":[1]}],[1,\"gb-badge\",{\"size\":[1],\"icon\":[1],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"flagSwap\":[1,\"flag-swap\"],\"color\":[1],\"type\":[1],\"closeButton\":[4,\"close-button\"],\"leadingIconContent\":[32],\"trailingIconContent\":[32]}],[1,\"gb-help-tooltip\",{\"showArrow\":[4,\"show-arrow\"],\"showSupportingText\":[4,\"show-supporting-text\"],\"showHelpTooltip\":[32]}],[1,\"gb-tag-checkbox\",{\"checked\":[4],\"size\":[1],\"disabled\":[4]}],[1,\"gb-tag-close\",{\"size\":[1]}],[1,\"gb-tag-count\",{\"size\":[1]}],[1,\"gb-badge-close\",{\"color\":[1],\"type\":[1]}],[1,\"gb-button\",{\"size\":[1],\"hierarchy\":[1],\"icon\":[1],\"destructive\":[4],\"state\":[1],\"iconLeading\":[4,\"icon-leading\"],\"iconLeadingSwap\":[1,\"icon-leading-swap\"],\"iconTrailing\":[4,\"icon-trailing\"],\"iconTrailingSwap\":[1,\"icon-trailing-swap\"],\"leadingIconSvg\":[32],\"trailingIconSvg\":[32]}],[1,\"gb-checkbox\",{\"checked\":[4],\"indeterminate\":[4],\"size\":[1],\"type\":[1],\"state\":[1],\"text\":[4],\"supportingText\":[4,\"supporting-text\"]}],[1,\"gb-checkbox-base\",{\"state\":[1025],\"size\":[1],\"type\":[1],\"checked\":[1028],\"indeterminate\":[1028]}],[1,\"gb-tooltip\",{\"showArrow\":[4,\"show-arrow\"],\"arrow\":[1],\"showSupportingText\":[4,\"show-supporting-text\"]}],[1,\"gb-avatar\",{\"size\":[1],\"placeholder\":[4],\"text\":[4],\"statusIcon\":[1,\"status-icon\"],\"state\":[1],\"icon\":[1],\"color\":[1],\"showBorder\":[4,\"show-border\"],\"weight\":[1]}],[1,\"gb-avatar-contrast-inner-border\",{\"weight\":[1],\"size\":[1],\"showBorder\":[4,\"show-border\"]}],[1,\"gb-status-indicator\",{\"statusIcon\":[1,\"status-icon\"],\"size\":[1],\"state\":[1],\"indicatorStateClass\":[1,\"indicator-state-class\"]}]]],[\"gb-rich-text.cjs\",[[1,\"gb-rich-text\",{\"state\":[1],\"destructive\":[4],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-avatar-dropdown.cjs\",[[1,\"gb-avatar-dropdown\",{\"type\":[1],\"text\":[4],\"showProfile\":[4,\"show-profile\"],\"showDarkTheme\":[4,\"show-dark-theme\"],\"showLogOut\":[4,\"show-log-out\"],\"listGroupOne\":[4,\"list-group-one\"],\"listGroupTwo\":[4,\"list-group-two\"],\"listGroupThree\":[4,\"list-group-three\"],\"color\":[1],\"viewProfileClicked\":[64],\"logoutClicked\":[64]}]]],[\"gb-checkbox-group.cjs\",[[1,\"gb-checkbox-group\",{\"size\":[1],\"breakpoint\":[1],\"icon\":[1],\"selected\":[4],\"type\":[1]}]]],[\"gb-avatar-group.cjs\",[[1,\"gb-avatar-group\",{\"size\":[1],\"moreUsers\":[4,\"more-users\"],\"addMoreButton\":[4,\"add-more-button\"],\"text\":[4],\"state\":[1],\"images\":[16]}]]],[\"gb-file-upload.cjs\",[[1,\"gb-file-upload\",{\"icon\":[1],\"type\":[1],\"heightSize\":[1,\"height-size\"],\"state\":[1],\"destructive\":[4],\"showLabel\":[4,\"show-label\"],\"buttonState\":[1,\"button-state\"]}]]],[\"gb-avatar-profile-photo.cjs\",[[1,\"gb-avatar-profile-photo\",{\"placeholder\":[4],\"text\":[4],\"size\":[1],\"verified\":[4],\"icon\":[1]}]]],[\"gb-help-dropdown.cjs\",[[1,\"gb-help-dropdown\",{\"showLogError\":[4,\"show-log-error\"],\"downloadUserGuideClicked\":[64]}]]],[\"gb-toast.cjs\",[[1,\"gb-toast\",{\"color\":[1],\"size\":[1],\"breakpoint\":[1],\"xCloseButton\":[4,\"x-close-button\"],\"actions\":[4],\"showSupportingText\":[4,\"show-supporting-text\"]}]]],[\"gb-slider.cjs\",[[1,\"gb-slider\",{\"min\":[2],\"max\":[2],\"thumbType\":[1,\"thumb-type\"],\"leftValue\":[32],\"rightValue\":[32]}]]],[\"gb-toggle.cjs\",[[1,\"gb-toggle\",{\"size\":[1],\"state\":[1],\"supportingText\":[4,\"supporting-text\"],\"pressed\":[4]}]]],[\"gb-token-field.cjs\",[[1,\"gb-token-field\",{\"size\":[1],\"digits\":[2],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showSupportingText\":[4,\"show-supporting-text\"],\"supportingText\":[1,\"supporting-text\"]}]]],[\"gb-verification-code-field.cjs\",[[1,\"gb-verification-code-field\",{\"size\":[1],\"digits\":[2],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-wysiwyg-tooltip.cjs\",[[1,\"gb-wysiwyg-tooltip\",{\"arrow\":[1],\"breakpoint\":[1]}]]],[\"gb-file-type-icon.cjs\",[[1,\"gb-file-type-icon\"]]],[\"gb-progress-circle.cjs\",[[1,\"gb-progress-circle\",{\"size\":[1],\"shape\":[1],\"label\":[4],\"progress\":[2]},null,{\"progress\":[\"handleProgressChange\"]}]]],[\"gb-scrollbar.cjs\",[[1,\"gb-scrollbar\",{\"length\":[1]}]]],[\"gb-textarea-input-field.cjs\",[[1,\"gb-textarea-input-field\",{\"type\":[1],\"destructive\":[4],\"state\":[1],\"showPlaceholder\":[4,\"show-placeholder\"],\"placeholder\":[1],\"showLabel\":[4,\"show-label\"],\"label\":[1],\"showHintText\":[4,\"show-hint-text\"],\"hintText\":[1,\"hint-text\"]}]]],[\"gb-wysiwyg-toolbar.cjs\",[[1,\"gb-wysiwyg-toolbar\",{\"breakpoint\":[1],\"fontSelector\":[4,\"font-selector\"],\"bold\":[4],\"italic\":[4],\"h1\":[4,\"h-1\"],\"h2\":[4,\"h-2\"],\"quote\":[4],\"link\":[4],\"image\":[4],\"bulletList\":[4,\"bullet-list\"],\"numberList\":[4,\"number-list\"]}]]],[\"gb-checkbox-group-item.cjs\",[[1,\"gb-checkbox-group-item\",{\"size\":[1],\"type\":[1],\"state\":[1],\"breakpoint\":[1],\"showCost\":[4,\"show-cost\"],\"selected\":[1028]}]]],[\"gb-button-close_2.cjs\",[[1,\"gb-progress-bar\",{\"progress\":[2],\"showLabel\":[4,\"show-label\"],\"labelPosition\":[1,\"label-position\"],\"el\":[16]}],[1,\"gb-button-close\",{\"size\":[1],\"color\":[1]}]]],[\"gb-file-upload-item-base.cjs\",[[1,\"gb-file-upload-item-base\",{\"icon\":[1],\"state\":[1],\"heightSize\":[1,\"height-size\"],\"fileType\":[1,\"file-type\"],\"buttonState\":[1,\"button-state\"]}]]],[\"gb-avatar-label-group.cjs\",[[1,\"gb-avatar-label-group\",{\"size\":[1],\"statusIcon\":[1,\"status-icon\"],\"state\":[1],\"placeholder\":[4],\"text\":[4],\"color\":[1],\"showBorder\":[4,\"show-border\"]}]]],[\"gb-avatar-add-button.cjs\",[[1,\"gb-avatar-add-button\",{\"size\":[1],\"showToolTip\":[1028,\"show-tool-tip\"],\"state\":[1],\"el\":[16]}]]],[\"gb-slider-control-handle.cjs\",[[1,\"gb-slider-control-handle\",{\"value\":[2],\"type\":[1],\"isHovered\":[32],\"isFocused\":[32]}]]],[\"gb-toast-button.cjs\",[[1,\"gb-toast-button\",{\"state\":[1],\"color\":[1]}]]],[\"gb-dropdown-items-with-shortcut.cjs\",[[1,\"gb-dropdown-items-with-shortcut\",{\"icon\":[4],\"iconSrc\":[1,\"icon-src\"],\"checkbox\":[4],\"shortcut\":[4],\"shortcutIcon\":[1,\"shortcut-icon\"],\"label\":[1],\"state\":[1]}]]],[\"gb-megainput-field.cjs\",[[1,\"gb-megainput-field\",{\"size\":[1],\"state\":[1],\"inputValue\":[32]}]]],[\"gb-wysiwyg-editor-icon.cjs\",[[1,\"gb-wysiwyg-editor-icon\",{\"active\":[4],\"type\":[1],\"state\":[1]}]]]]"), options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -2665,20 +2665,8 @@
2665
2665
  height: fit-content;
2666
2666
  }
2667
2667
 
2668
- .inner_border.very_light.no_border{
2669
- border: 0.3px solid var(--color-blanket-subtler, rgba(33, 44, 101, 0));
2670
- }
2671
-
2672
- .inner_border.light.no_border{
2673
- border: 0.5px solid var(--color-blanket-subtler, rgba(33, 44, 101, 0));
2674
- }
2675
-
2676
- .inner_border.regular.no_border{
2677
- border: 0.75px solid var(--color-blanket-subtler, rgba(33, 44, 101, 0));
2678
- }
2679
-
2680
- .inner_border.heavy.no_border{
2681
- border: 1px solid var(--color-blanket-subtler, rgba(33, 44, 101, 0));
2668
+ .inner_border.no_border{
2669
+ border: 0.3px solid transparent;
2682
2670
  }
2683
2671
 
2684
2672
  /* Weights */
@@ -8,6 +8,7 @@ export class GbAvatarLabelGroup {
8
8
  this.placeholder = false;
9
9
  this.text = false;
10
10
  this.color = undefined;
11
+ this.showBorder = false;
11
12
  }
12
13
  getInitialsSize() {
13
14
  switch (this.size) {
@@ -51,13 +52,20 @@ export class GbAvatarLabelGroup {
51
52
  }
52
53
  applyColorToInitials() {
53
54
  switch (this.color) {
54
- case 'gray': return 'gray';
55
- case 'blue': return 'blue';
56
- case 'cyan': return 'cyan';
57
- case 'pink': return 'pink';
58
- case 'purple': return 'purple';
59
- case 'green': return 'green';
60
- case 'yellow': return 'yellow';
55
+ case 'gray':
56
+ return 'gray';
57
+ case 'blue':
58
+ return 'blue';
59
+ case 'cyan':
60
+ return 'cyan';
61
+ case 'pink':
62
+ return 'pink';
63
+ case 'purple':
64
+ return 'purple';
65
+ case 'green':
66
+ return 'green';
67
+ case 'yellow':
68
+ return 'yellow';
61
69
  }
62
70
  }
63
71
  componentDidLoad() {
@@ -76,7 +84,7 @@ export class GbAvatarLabelGroup {
76
84
  }
77
85
  }
78
86
  render() {
79
- return (h("div", { key: '0b5a65941e71dd6023efae449adefceabd72dc86', class: `label ${this.size}` }, h("div", { key: '0da70b8e2f8e68b73e20c858e7ae57e64e4b5415', class: "label_pic" }, h("gb-avatar", { key: '2080d70a92e186a2e41eba3176b876c12a5a43e8', size: this.size, "status-icon": this.statusIcon, state: this.state, text: this.text, placeholder: this.placeholder, color: this.color }, !this.text ? h("slot", { name: "image", slot: "image" }) : h("slot", { name: "initials", slot: "initials" }))), h("div", { key: '50f18fb225e2940de89761285b5c6a5860bacdf4', class: "label_text" }, h("slot", { key: '1038f0e46e818fcc470ab5de97387ed520f0a1da', name: "name" }), h("slot", { key: 'f44e9b9080a4eb2b9e49cd64c25969d37c3b1d70', name: "supporting_text" }))));
87
+ return (h("div", { key: '5f2c54ae558d8814641dc255ec5ffc0c25760514', class: `label ${this.size}` }, h("div", { key: '3383b3072f0e63411aec7d6be9a713f2cb25f5f2', class: "label_pic" }, h("gb-avatar", { key: 'e8f295e79f31ca07ccd8a335206b5b8310f5e16b', size: this.size, "status-icon": this.statusIcon, state: this.state, text: this.text, placeholder: this.placeholder, color: this.color, "show-border": this.showBorder }, !this.text ? h("slot", { name: "image", slot: "image" }) : h("slot", { name: "initials", slot: "initials" }))), h("div", { key: 'bdb214547b65670913878c095c5676666b467134', class: "label_text" }, h("slot", { key: '1d95e060dac41a698b01afd9644901f3eefb4c00', name: "name" }), h("slot", { key: '6c4200a6f96884db8c756ac5f7e3b31c5f89691d', name: "supporting_text" }))));
80
88
  }
81
89
  static get is() { return "gb-avatar-label-group"; }
82
90
  static get encapsulation() { return "shadow"; }
@@ -215,6 +223,24 @@ export class GbAvatarLabelGroup {
215
223
  },
216
224
  "attribute": "color",
217
225
  "reflect": false
226
+ },
227
+ "showBorder": {
228
+ "type": "boolean",
229
+ "mutable": false,
230
+ "complexType": {
231
+ "original": "boolean",
232
+ "resolved": "boolean",
233
+ "references": {}
234
+ },
235
+ "required": false,
236
+ "optional": false,
237
+ "docs": {
238
+ "tags": [],
239
+ "text": ""
240
+ },
241
+ "attribute": "show-border",
242
+ "reflect": false,
243
+ "defaultValue": "false"
218
244
  }
219
245
  };
220
246
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gb-avatar-label-group.js","sourceRoot":"","sources":["../../../src/components/gb-avatar-label-group/gb-avatar-label-group.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, h, Prop } from \"@stencil/core\";\r\nimport { AvatarColorTypes, GeneralSizes, OnlineIndicatorStates } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-avatar-label-group',\r\n styleUrl: 'gb-avatar-label-group.css',\r\n shadow: true,\r\n})\r\nexport class GbAvatarLabelGroup {\r\n @Prop() size: GeneralSizes;\r\n @Prop() statusIcon: string = '';\r\n @Prop() state: OnlineIndicatorStates = OnlineIndicatorStates.Online;\r\n @Prop() placeholder: boolean = false;\r\n @Prop() text: boolean = false;\r\n @Prop() color: AvatarColorTypes;\r\n @Element() el: HTMLElement;\r\n\r\n getInitialsSize() {\r\n switch (this.size) {\r\n case 'xl2':\r\n return 'display-xs-semi-bold';\r\n case 'xl':\r\n return 'text-xl-semi-bold';\r\n case 'lg':\r\n return 'text-lg-semi-bold';\r\n case 'md':\r\n return 'text-md-semi-bold';\r\n case 'sm':\r\n return 'text-sm-semi-bold';\r\n case 'xs':\r\n return 'text-xs-semi-bold';\r\n }\r\n }\r\n\r\n getNameSize() {\r\n switch (this.size) {\r\n case 'xl':\r\n return 'text-lg-semi-bold';\r\n case 'lg':\r\n return 'text-md-semi-bold';\r\n case 'md':\r\n return 'text-sm-semi-bold';\r\n case 'sm':\r\n return 'text-sm-semi-bold';\r\n }\r\n }\r\n\r\n getOtherTextSize() {\r\n switch (this.size) {\r\n case 'xl':\r\n return 'text-md-regular';\r\n case 'lg':\r\n return 'text-md-regular';\r\n case 'md':\r\n return 'text-sm-regular';\r\n case 'sm':\r\n return 'text-xs-regular';\r\n }\r\n }\r\n\r\n applyColorToInitials() {\r\n switch(this.color) {\r\n case 'gray': return 'gray';\r\n case 'blue': return 'blue';\r\n case 'cyan': return 'cyan';\r\n case 'pink': return 'pink';\r\n case 'purple': return 'purple';\r\n case 'green': return 'green';\r\n case 'yellow': return 'yellow';\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n const nameSlot = this.el.querySelector('[slot=\"name\"]');\r\n const othersSlot = this.el.querySelector('[slot=\"supporting_text\"]');\r\n\r\n if (slottedInitials) {\r\n slottedInitials.classList.add(this.getInitialsSize());\r\n slottedInitials.classList.add(this.applyColorToInitials());\r\n }\r\n\r\n if (nameSlot) {\r\n nameSlot.classList.add(this.getNameSize());\r\n }\r\n\r\n if (othersSlot) {\r\n othersSlot.classList.add(this.getOtherTextSize());\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`label ${this.size}`}>\r\n <div class=\"label_pic\">\r\n <gb-avatar size={this.size} status-icon={this.statusIcon} state={this.state} text={this.text} placeholder={this.placeholder} color={this.color}>\r\n {!this.text ? <slot name=\"image\" slot=\"image\"></slot> : <slot name=\"initials\" slot=\"initials\"></slot>}\r\n </gb-avatar>\r\n </div>\r\n <div class=\"label_text\">\r\n <slot name=\"name\"></slot>\r\n <slot name=\"supporting_text\"></slot>\r\n </div>\r\n </div>\r\n );\r\n }\r\n}"]}
1
+ {"version":3,"file":"gb-avatar-label-group.js","sourceRoot":"","sources":["../../../src/components/gb-avatar-label-group/gb-avatar-label-group.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, h, Prop } from \"@stencil/core\";\r\nimport { AvatarColorTypes, GeneralSizes, OnlineIndicatorStates } from \"../../models/reusableModels\";\r\n\r\n@Component({\r\n tag: 'gb-avatar-label-group',\r\n styleUrl: 'gb-avatar-label-group.css',\r\n shadow: true,\r\n})\r\nexport class GbAvatarLabelGroup {\r\n @Prop() size: GeneralSizes;\r\n @Prop() statusIcon: string = '';\r\n @Prop() state: OnlineIndicatorStates = OnlineIndicatorStates.Online;\r\n @Prop() placeholder: boolean = false;\r\n @Prop() text: boolean = false;\r\n @Prop() color: AvatarColorTypes;\r\n @Prop() showBorder: boolean = false;\r\n @Element() el: HTMLElement;\r\n\r\n getInitialsSize() {\r\n switch (this.size) {\r\n case 'xl2':\r\n return 'display-xs-semi-bold';\r\n case 'xl':\r\n return 'text-xl-semi-bold';\r\n case 'lg':\r\n return 'text-lg-semi-bold';\r\n case 'md':\r\n return 'text-md-semi-bold';\r\n case 'sm':\r\n return 'text-sm-semi-bold';\r\n case 'xs':\r\n return 'text-xs-semi-bold';\r\n }\r\n }\r\n\r\n getNameSize() {\r\n switch (this.size) {\r\n case 'xl':\r\n return 'text-lg-semi-bold';\r\n case 'lg':\r\n return 'text-md-semi-bold';\r\n case 'md':\r\n return 'text-sm-semi-bold';\r\n case 'sm':\r\n return 'text-sm-semi-bold';\r\n }\r\n }\r\n\r\n getOtherTextSize() {\r\n switch (this.size) {\r\n case 'xl':\r\n return 'text-md-regular';\r\n case 'lg':\r\n return 'text-md-regular';\r\n case 'md':\r\n return 'text-sm-regular';\r\n case 'sm':\r\n return 'text-xs-regular';\r\n }\r\n }\r\n\r\n applyColorToInitials() {\r\n switch (this.color) {\r\n case 'gray':\r\n return 'gray';\r\n case 'blue':\r\n return 'blue';\r\n case 'cyan':\r\n return 'cyan';\r\n case 'pink':\r\n return 'pink';\r\n case 'purple':\r\n return 'purple';\r\n case 'green':\r\n return 'green';\r\n case 'yellow':\r\n return 'yellow';\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n const slottedInitials = this.el.querySelector('[slot=\"initials\"]');\r\n const nameSlot = this.el.querySelector('[slot=\"name\"]');\r\n const othersSlot = this.el.querySelector('[slot=\"supporting_text\"]');\r\n\r\n if (slottedInitials) {\r\n slottedInitials.classList.add(this.getInitialsSize());\r\n slottedInitials.classList.add(this.applyColorToInitials());\r\n }\r\n\r\n if (nameSlot) {\r\n nameSlot.classList.add(this.getNameSize());\r\n }\r\n\r\n if (othersSlot) {\r\n othersSlot.classList.add(this.getOtherTextSize());\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <div class={`label ${this.size}`}>\r\n <div class=\"label_pic\">\r\n <gb-avatar\r\n size={this.size}\r\n status-icon={this.statusIcon}\r\n state={this.state}\r\n text={this.text}\r\n placeholder={this.placeholder}\r\n color={this.color}\r\n show-border={this.showBorder}\r\n >\r\n {!this.text ? <slot name=\"image\" slot=\"image\"></slot> : <slot name=\"initials\" slot=\"initials\"></slot>}\r\n </gb-avatar>\r\n </div>\r\n <div class=\"label_text\">\r\n <slot name=\"name\"></slot>\r\n <slot name=\"supporting_text\"></slot>\r\n </div>\r\n </div>\r\n );\r\n }\r\n}"]}
@@ -31,11 +31,11 @@ export class GbBadges {
31
31
  }
32
32
  async componentWillLoad() {
33
33
  if (this.iconLeadingSwap) {
34
- const iconLeadingSrc = getAssetPath(`assets/${this.iconLeadingSwap}.svg`);
34
+ const iconLeadingSrc = getAssetPath(`${this.iconLeadingSwap}`);
35
35
  this.leadingIconContent = await this.fetchSvgContent(iconLeadingSrc);
36
36
  }
37
37
  if (this.iconTrailingSwap) {
38
- const iconTrailingSrc = getAssetPath(`assets/${this.iconTrailingSwap}.svg`);
38
+ const iconTrailingSrc = getAssetPath(`${this.iconTrailingSwap}`);
39
39
  this.trailingIconContent = await this.fetchSvgContent(iconTrailingSrc);
40
40
  }
41
41
  }
@@ -74,7 +74,7 @@ export class GbBadges {
74
74
  };
75
75
  const flagSwap = getAssetPath(`assets/${this.flagSwap}.svg`);
76
76
  const dotColor = this.type === 'badge_modern' ? this.getDotColor(this.color) : 'currentColor';
77
- return (h("div", { key: 'b7a34ef8ca29d33bb5f38e58cdffb9edf7bed272', class: classes }, this.icon === 'dot' && (h("svg", { key: 'd21ee30850227a486bc1de1e1eadb57664ad18ed', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: dotColor }, h("circle", { key: 'a43b0b2888270b7f2092398689d50c935017c39c', cx: "4", cy: "4", r: "3" }))), this.icon === 'icon_leading' && this.iconLeadingSwap && (h("div", { key: '977d0793bfae6564e5b080d0daa37ec256eff086', class: "icon left-icon", innerHTML: this.leadingIconContent, style: { color: this.color } })), this.icon === 'country' && (h("div", { key: '17cb13147d778ee1476cdff5d3a461d0dfe85db3', class: "icon left-icon" }, h("img", { key: '284411201af640d82bd3f0d859e4687ace2c2750', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: '48e8a2ad284b63546a2235ba88b01a65d42cad34', class: "avatar-icon", size: "xxs", "status-icon": "false" }, h("slot", { key: 'd2090648ba63f7b23977cc71f3b8fd2a3b230978', name: 'image', slot: 'image' }))), this.icon !== 'only' && (h("slot", { key: 'f49e95dbf1b39a9a45ed1e484f6af23b6cb74180' })), this.icon === 'icon_trailing' && this.iconTrailingSwap && (h("div", { key: 'd9db02c3a2fa0c24473291f263b03fe314039652', class: "icon right-icon", innerHTML: this.trailingIconContent, style: { color: this.color } })), this.icon === 'only' && (h("div", { key: '6a2a38d82211c5ec7610e65738124079f65b24f8', id: "icon-only" }, h("svg", { key: '104beeb6549d4d7572682b2741602c31533d779e', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", stroke: dotColor }, h("path", { key: '6de6e8a308446829a26b3d4a73f3ba39af1e2cac', d: "M6 2L6 10M10 6L2 6", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.closeButton && this.icon !== 'only' && h("gb-badge-close", { key: 'cb8437b24aa42ea9a2674d0db28d6c800e2ec05c', color: this.color, type: 'rounded' })));
77
+ return (h("div", { key: '45af5d2f8b7c78e5e237e4ec4771b4441e15b999', class: classes }, this.icon === 'dot' && (h("svg", { key: 'fba45c432a7bb3190749998720b7b8f1abb2954d', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: dotColor }, h("circle", { key: 'c3f9ce8cb0bcad1a39ac8e15e17791f13dbed873', cx: "4", cy: "4", r: "3" }))), this.icon === 'icon_leading' && this.iconLeadingSwap && (h("div", { key: 'd70a64412590e83b9c16e7f840a1ae49c6f7457e', class: "icon left-icon", innerHTML: this.leadingIconContent, style: { color: this.color } })), this.icon === 'country' && (h("div", { key: '4bcb7f6b78253798479ac9cd6e7b9c88202d7cfa', class: "icon left-icon" }, h("img", { key: '0d40cca9830b5df802a9d420bc485b3c42cc952c', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: '67c5be2a265e102ff3c513b0d63c3aa8db0100af', class: "avatar-icon", size: "xxs", "status-icon": "false" }, h("slot", { key: 'fa6da772e76c5e4bbc750973cc535f812ccd72a8', name: 'image', slot: 'image' }))), this.icon !== 'only' && (h("slot", { key: '44c7a0ef932029d7fe049618dd626c5003a4ee2f' })), this.icon === 'icon_trailing' && this.iconTrailingSwap && (h("div", { key: '8f06af2f78c728435b0afddfa32034ecc5e356bf', class: "icon right-icon", innerHTML: this.trailingIconContent, style: { color: this.color } })), this.icon === 'only' && (h("div", { key: '5d4c9551182accd07664e4b823a06759d43a901d', id: "icon-only" }, h("svg", { key: 'efef2c9c7616288bb61340df2c69eb74c4765777', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", stroke: dotColor }, h("path", { key: '9a1a90e2809cb7a6389e318c4b5d39d426955289', d: "M6 2L6 10M10 6L2 6", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.closeButton && this.icon !== 'only' && h("gb-badge-close", { key: 'b3255ce45fd36c910491fef7393bd92fd3e8940c', color: this.color, type: 'rounded' })));
78
78
  }
79
79
  static get is() { return "gb-badge"; }
80
80
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"gb-badges.js","sourceRoot":"","sources":["../../../src/components/gb-badges/gb-badges.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Prop, getAssetPath, h, State, Element } from '@stencil/core';\r\nimport { GeneralColors, GeneralSizes } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-badge',\r\n styleUrl: 'gb-badges.css',\r\n shadow: true,\r\n assetsDirs: ['assets']\r\n})\r\nexport class GbBadges {\r\n @Prop() size: GeneralSizes;\r\n @Prop() icon: 'dot' | 'avatar' | 'icon_leading' | 'icon_trailing' | 'country' | 'only';\r\n @Prop() iconLeadingSwap?: string; \r\n @Prop() iconTrailingSwap?: string;\r\n @Prop() flagSwap: string;\r\n @Prop() color: GeneralColors;\r\n @Prop() type: 'pill_color' | 'pill_outline' | 'badge_color' | 'badge_modern';\r\n @Prop() closeButton?: boolean = false;\r\n\r\n @State() leadingIconContent: string;\r\n @State() trailingIconContent: string;\r\n @Element() el: HTMLElement;\r\n\r\n private getDotColor(color: GeneralColors): string {\r\n const colorMap = {\r\n 'gray': '#4B5565',\r\n 'primary': '#212C65',\r\n 'error': '#B51726',\r\n 'warning': '#DC6803',\r\n 'success': '#079455',\r\n 'discovery': '#0BA5EC',\r\n 'information': '#064E94',\r\n 'pink': '#DD2590',\r\n 'purple': '#6938EF',\r\n };\r\n \r\n if (this.type === 'badge_modern') {\r\n return colorMap[color] || color;\r\n }\r\n \r\n return 'currentColor';\r\n }\r\n \r\n\r\n async componentWillLoad() {\r\n if (this.iconLeadingSwap) {\r\n const iconLeadingSrc = getAssetPath(`assets/${this.iconLeadingSwap}.svg`);\r\n this.leadingIconContent = await this.fetchSvgContent(iconLeadingSrc);\r\n }\r\n \r\n if (this.iconTrailingSwap) {\r\n const iconTrailingSrc = getAssetPath(`assets/${this.iconTrailingSwap}.svg`);\r\n this.trailingIconContent = await this.fetchSvgContent(iconTrailingSrc);\r\n }\r\n }\r\n\r\n private async fetchSvgContent(src: string): Promise<string> {\r\n try {\r\n const response = await fetch(src);\r\n if (response.ok) {\r\n return await response.text();\r\n }\r\n return '';\r\n } catch (error) {\r\n console.error('Error fetching SVG:', error);\r\n return '';\r\n }\r\n }\r\n\r\n getTextClass() {\r\n switch (this.size) {\r\n case 'sm' : return 'text-xs-medium';\r\n case 'md' : return 'text-sm-medium';\r\n case 'lg' : return 'text-sm-medium';\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n const slottedContent = this.el.querySelector('p');\r\n\r\n if(slottedContent) {\r\n slottedContent.classList.add(this.getTextClass());\r\n }\r\n }\r\n\r\n render() {\r\n const classes = {\r\n 'badge': true,\r\n [this.type]: true,\r\n [this.color]: true,\r\n [this.size]: true\r\n };\r\n\r\n const flagSwap = getAssetPath(`assets/${this.flagSwap}.svg`);\r\n const dotColor = this.type === 'badge_modern' ? this.getDotColor(this.color) : 'currentColor';\r\n\r\n return (\r\n <div class={classes}>\r\n {this.icon === 'dot' && ( \r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" fill={dotColor}>\r\n <circle cx=\"4\" cy=\"4\" r=\"3\" />\r\n </svg>\r\n )}\r\n {this.icon === 'icon_leading' && this.iconLeadingSwap && (\r\n <div class=\"icon left-icon\" innerHTML={this.leadingIconContent} style={{ color: this.color }}></div>\r\n )}\r\n {this.icon === 'country' && (\r\n <div class=\"icon left-icon\">\r\n <img src={flagSwap} alt=\"Country Icon\" />\r\n </div>\r\n )}\r\n {this.icon === 'avatar' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xxs\" status-icon=\"false\">\r\n <slot name='image' slot='image'></slot>\r\n </gb-avatar>\r\n )}\r\n {this.icon !== 'only' && (\r\n <slot></slot>\r\n )}\r\n {this.icon === 'icon_trailing' && this.iconTrailingSwap && (\r\n <div class=\"icon right-icon\" innerHTML={this.trailingIconContent} style={{ color: this.color }}></div>\r\n )}\r\n {this.icon === 'only' &&(\r\n <div id=\"icon-only\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" stroke={dotColor}>\r\n <path d=\"M6 2L6 10M10 6L2 6\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n </div>\r\n )}\r\n {this.closeButton && this.icon !== 'only' && <gb-badge-close color={this.color} type='rounded'></gb-badge-close>}\r\n </div>\r\n ); \r\n } \r\n}\r\n"]}
1
+ {"version":3,"file":"gb-badges.js","sourceRoot":"","sources":["../../../src/components/gb-badges/gb-badges.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Prop, getAssetPath, h, State, Element } from '@stencil/core';\r\nimport { GeneralColors, GeneralSizes } from '../../models/reusableModels';\r\n\r\n@Component({\r\n tag: 'gb-badge',\r\n styleUrl: 'gb-badges.css',\r\n shadow: true,\r\n assetsDirs: ['assets']\r\n})\r\nexport class GbBadges {\r\n @Prop() size: GeneralSizes;\r\n @Prop() icon: 'dot' | 'avatar' | 'icon_leading' | 'icon_trailing' | 'country' | 'only';\r\n @Prop() iconLeadingSwap?: string; \r\n @Prop() iconTrailingSwap?: string;\r\n @Prop() flagSwap: string;\r\n @Prop() color: GeneralColors;\r\n @Prop() type: 'pill_color' | 'pill_outline' | 'badge_color' | 'badge_modern';\r\n @Prop() closeButton?: boolean = false;\r\n\r\n @State() leadingIconContent: string;\r\n @State() trailingIconContent: string;\r\n @Element() el: HTMLElement;\r\n\r\n private getDotColor(color: GeneralColors): string {\r\n const colorMap = {\r\n 'gray': '#4B5565',\r\n 'primary': '#212C65',\r\n 'error': '#B51726',\r\n 'warning': '#DC6803',\r\n 'success': '#079455',\r\n 'discovery': '#0BA5EC',\r\n 'information': '#064E94',\r\n 'pink': '#DD2590',\r\n 'purple': '#6938EF',\r\n };\r\n \r\n if (this.type === 'badge_modern') {\r\n return colorMap[color] || color;\r\n }\r\n \r\n return 'currentColor';\r\n }\r\n \r\n\r\n async componentWillLoad() {\r\n if (this.iconLeadingSwap) {\r\n const iconLeadingSrc = getAssetPath(`${this.iconLeadingSwap}`);\r\n this.leadingIconContent = await this.fetchSvgContent(iconLeadingSrc);\r\n }\r\n \r\n if (this.iconTrailingSwap) {\r\n const iconTrailingSrc = getAssetPath(`${this.iconTrailingSwap}`);\r\n this.trailingIconContent = await this.fetchSvgContent(iconTrailingSrc);\r\n }\r\n }\r\n\r\n private async fetchSvgContent(src: string): Promise<string> {\r\n try {\r\n const response = await fetch(src);\r\n if (response.ok) {\r\n return await response.text();\r\n }\r\n return '';\r\n } catch (error) {\r\n console.error('Error fetching SVG:', error);\r\n return '';\r\n }\r\n }\r\n\r\n getTextClass() {\r\n switch (this.size) {\r\n case 'sm' : return 'text-xs-medium';\r\n case 'md' : return 'text-sm-medium';\r\n case 'lg' : return 'text-sm-medium';\r\n }\r\n }\r\n\r\n componentDidLoad() {\r\n const slottedContent = this.el.querySelector('p');\r\n\r\n if(slottedContent) {\r\n slottedContent.classList.add(this.getTextClass());\r\n }\r\n }\r\n\r\n render() {\r\n const classes = {\r\n 'badge': true,\r\n [this.type]: true,\r\n [this.color]: true,\r\n [this.size]: true\r\n };\r\n\r\n const flagSwap = getAssetPath(`assets/${this.flagSwap}.svg`);\r\n const dotColor = this.type === 'badge_modern' ? this.getDotColor(this.color) : 'currentColor';\r\n\r\n return (\r\n <div class={classes}>\r\n {this.icon === 'dot' && ( \r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8\" height=\"8\" viewBox=\"0 0 8 8\" fill={dotColor}>\r\n <circle cx=\"4\" cy=\"4\" r=\"3\" />\r\n </svg>\r\n )}\r\n {this.icon === 'icon_leading' && this.iconLeadingSwap && (\r\n <div class=\"icon left-icon\" innerHTML={this.leadingIconContent} style={{ color: this.color }}></div>\r\n )}\r\n {this.icon === 'country' && (\r\n <div class=\"icon left-icon\">\r\n <img src={flagSwap} alt=\"Country Icon\" />\r\n </div>\r\n )}\r\n {this.icon === 'avatar' && (\r\n <gb-avatar class=\"avatar-icon\" size=\"xxs\" status-icon=\"false\">\r\n <slot name='image' slot='image'></slot>\r\n </gb-avatar>\r\n )}\r\n {this.icon !== 'only' && (\r\n <slot></slot>\r\n )}\r\n {this.icon === 'icon_trailing' && this.iconTrailingSwap && (\r\n <div class=\"icon right-icon\" innerHTML={this.trailingIconContent} style={{ color: this.color }}></div>\r\n )}\r\n {this.icon === 'only' &&(\r\n <div id=\"icon-only\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" stroke={dotColor}>\r\n <path d=\"M6 2L6 10M10 6L2 6\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n </svg>\r\n </div>\r\n )}\r\n {this.closeButton && this.icon !== 'only' && <gb-badge-close color={this.color} type='rounded'></gb-badge-close>}\r\n </div>\r\n ); \r\n } \r\n}\r\n"]}
@@ -125,11 +125,6 @@ export class GbInputDropdown {
125
125
  }
126
126
  componentWillLoad() {
127
127
  this.loadIcon(this.leadingIcon);
128
- const items = [
129
- { name: 'Emmanuel Kadiri', selected: false },
130
- { name: 'Gideon Ogunkola', selected: false },
131
- ];
132
- this.items = items;
133
128
  this.unselectedItems = this.items.filter(item => !item.selected);
134
129
  }
135
130
  componentDidLoad() {
@@ -167,12 +162,12 @@ export class GbInputDropdown {
167
162
  }
168
163
  render() {
169
164
  return [
170
- h("div", { key: '604955e6f144db56550d707400c9b7e209a70de0', class: `input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`, onClick: () => this.toggleDropdown() }, this.showLabel && (h("p", { key: '0764eb1455b609af431a65a2e65b26ed905ed007', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: '9c31b2a7233181b9885f4a2c4cc6df956646652f', class: `input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}` }, this.type === 'icon_leading' && (h("svg", { key: '792530d5574ab3789e927f7dc6c4e733ffeaf4d7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd569309ae9936e02039a74eca06798d3c08b9451', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: 'ff2637b9dc603ac224d2ddcabe15ace709786395', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h(Fragment, null, this.state === 'default' && (h("svg", { key: 'c67e54b8d56a69a09b9f88fb562c30e085958694', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '25d8a8725d89601b9a0a00fa608525499d189c06', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.66667" }), h("path", { key: '76f44194ce4a8a6cc69fd0cfa2588b42c8639f5d', d: "M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z", stroke: "#4B5565", "stroke-width": "1.66667" }))), this.state === 'filled' && (h("gb-avatar", { key: 'f5b563861733c461e4c24da6ddcc531e1158a5d3', size: "xs", text: this.text, color: this.color, "show-border": this.showBorder }, h("h1", { key: '23b0d70f85f9cf01bd3b2b1eaa1ed8c0302e1600', slot: "initials" }, this.selectedItem.name.split(' ').map(part => part.charAt(0).toUpperCase())))))), this.showLeadingIcon && h(Fragment, null, this.type === 'search' || this.type === 'tags' ? h("div", { class: `icon`, innerHTML: this.leadingIconSvg }) : null), this.type === 'dot_leading' && (h("svg", { key: 'e96eb2c8cf7a434a0edd036f312d8e01c35ed686', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: '8b0f75b35c9ccee05634c2ffb560b3ff3847ecaa', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: '0af9d002f238107f281a97e034b947bc5fa7f705', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.placeholder && (h("p", { key: 'dfee23d8fd357b15732214efdc2805d702f27945', class: "text-md-regular", style: { color: '#CDD5DF' } }, this.placeholder)))), this.state === 'filled' && (h(Fragment, null, h("div", { key: 'cfb9547b63a30fac2566b6101aa7d52a734a5d6e', class: `content` }, h("div", { key: 'a12025f90f8676260a6eae319cbc6a39519593ee', class: `text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`, style: { color: '#4B5565' } }, this.type === 'tags'
165
+ h("div", { key: '679b08398b4b536c1725fb601466be08c8b36e05', class: `input_dropdown_container ${this.type === 'tags' ? 'tag' : ''}`, onClick: () => this.toggleDropdown() }, this.showLabel && (h("p", { key: 'feea424318e05f8d0ca7e8b03da88de38fae44bd', class: "text-sm-regular", style: { color: '#4B5565' } }, this.label)), h("div", { key: '1d194f7246649276c49c7fbc554a2c97f0d4dc5b', class: `input_dropdown_div ${this.size} ${this.state} ${this.type === 'tags' ? 'tag' : ''}` }, this.type === 'icon_leading' && (h("svg", { key: '50abce30b951a18480806bc219075390998d6cfc', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e14374493a2907b9dda0353a3b931bf80c5e1e31', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#697586", "stroke-width": "1.66667" }), h("path", { key: '4ab63cefa1102649555064b24047240542953f47', d: "M13.75 5.41667C13.75 7.48774 12.0711 9.16667 10 9.16667C7.92893 9.16667 6.25 7.48774 6.25 5.41667C6.25 3.3456 7.92893 1.66667 10 1.66667C12.0711 1.66667 13.75 3.3456 13.75 5.41667Z", stroke: "#697586", "stroke-width": "1.66667" }))), this.type === 'avatar_leading' && (h(Fragment, null, this.state === 'default' && (h("svg", { key: 'fba48a44bd89c3e53d5e01baf7c51f255159e274', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'b69669fd422a66767067e453db935564b6838307', d: "M5.48131 12.9013C4.30234 13.6033 1.21114 15.0368 3.09388 16.8305C4.01359 17.7067 5.03791 18.3333 6.32572 18.3333H13.6743C14.9621 18.3333 15.9864 17.7067 16.9061 16.8305C18.7889 15.0368 15.6977 13.6033 14.5187 12.9013C11.754 11.2551 8.24599 11.2551 5.48131 12.9013Z", stroke: "#4B5565", "stroke-width": "1.66667" }), h("path", { key: 'a17ad338139ed124e2179c2619966c7d1af03ebb', d: "M13.75 5.41666C13.75 7.48772 12.0711 9.16666 10 9.16666C7.92893 9.16666 6.25 7.48772 6.25 5.41666C6.25 3.34559 7.92893 1.66666 10 1.66666C12.0711 1.66666 13.75 3.34559 13.75 5.41666Z", stroke: "#4B5565", "stroke-width": "1.66667" }))), this.state === 'filled' && (h("gb-avatar", { key: '8f59a66ebac4f52e222e4b8a6d871dd3a16d21ea', size: "xs", text: this.text, color: this.color, "show-border": this.showBorder }, h("h1", { key: '37288df14c5b8a096009aea43de856aefd684b2b', slot: "initials" }, this.selectedItem.name.split(' ').map(part => part.charAt(0).toUpperCase())))))), this.showLeadingIcon && h(Fragment, null, this.type === 'search' || this.type === 'tags' ? h("div", { class: `icon`, innerHTML: this.leadingIconSvg }) : null), this.type === 'dot_leading' && (h("svg", { key: '7057af2fc2a4c2b820834a7b35ed5a8ffcd69542', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `dot ${this.size}` }, h("circle", { key: 'bd604721134819005ac06d82cc5018d870b39fbe', cx: "5", cy: "5", r: "4", fill: "#079455" }))), h("div", { key: '8833ed6a613b342fb8d62938e358043d264a027c', class: "placeholder" }, h(Fragment, null, this.state === 'default' && (h(Fragment, null, this.placeholder && (h("p", { key: '90fe3baaa705b1a8d32ee6ff0015060a70aacfc1', class: "text-md-regular", style: { color: '#CDD5DF' } }, this.placeholder)))), this.state === 'filled' && (h(Fragment, null, h("div", { key: 'c3ebb4fbd985d87d21bf8fd758b7e26e92a7b20a', class: `content` }, h("div", { key: 'a0644db1242c2d586c80d69db79dc2ea5204c08f', class: `text text-md-regular ${this.type === 'tags' ? 'tag' : ''}`, style: { color: '#4B5565' } }, this.type === 'tags'
171
166
  ? this.selectedItems.map((item, index) => (h("div", { class: "added_tag" }, h("gb-tag", { size: "sm", icon: "avatar", action: "X_close", key: index, onClick: () => this.handleTagRemove(item) }, h("p", { class: "text-xs-medium" }, item.name.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase()))))))
172
- : this.selectedItem.name), this.supportingText && (h("div", { key: 'eff740799065826380c7bdebfd12484e12f2cc28', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, this.type === 'tags'
167
+ : this.selectedItem.name), this.supportingText && (h("div", { key: '58492296fb9c05f7547a85b10883f454672a04e4', class: "supporting_text text-sm-regular", style: { color: '#697586' } }, this.type === 'tags'
173
168
  ? this.selectedItems.map(item => item.username).join(', ') // For multiple selections
174
- : this.selectedItem.username))))))), this.showHelpIcon && (h("div", { key: '2870ea7504509967acbcd39ba3465fd533d918ce', class: `help_icon` }, h("gb-help-tooltip", { key: '6e4e6933225338fe9df589bc4d56cb2641583625', "show-supporting-text": true }, h("slot", { key: 'b036bc135aebbdf8c250e15163309fab8b2ae8ce', name: "tooltip_label", slot: "label" }), h("slot", { key: 'f5e6d10cc499ca220f485d66f1fe88993daa73ba', name: "tooltip_supporting_text", slot: "supporting_text" })))), this.type !== 'search' && (h("div", { key: '2b80696aecc5d1156daaa47adf4be7b5dc5b9953', class: `dropdown_icon ${this.dropdownOpen ? 'opened' : ''}` }, h("svg", { key: '80be91d508358928487115ded4c126f6fc4b196e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '507292dab7f45a134c84bbb17acbe5679df56552', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showHintText && (h("p", { key: '35b3bef6768acf78fcc8aa4820241b56bb135cfc', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))),
175
- h(Fragment, null, this.dropdownOpen && (h("div", { key: 'f57ee7937f78b377daac688866570ad9aeebb7ec', class: "dropdown_menu", ref: el => (this.dropdownRef = el) }, this.type === 'tags' ? (h(Fragment, null, this.selectedItems.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), onClick: () => this.handleItemSelect(item) }, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, "@", item.username)))), this.unselectedItems.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), onClick: () => this.handleItemSelect(item) }, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, "@", item.username)))))) : (h(Fragment, null, this.items.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), color: this.color, onClick: () => this.handleItemSelect(item) }, h("p", { slot: "name" }, item.name), h("h1", { slot: "initials" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", { slot: "supporting_text" }, "@", item.username))))))))),
169
+ : this.selectedItem.username))))))), this.showHelpIcon && (h("div", { key: 'b6238e0c9731dcc90bd1e4738188364b2b637e81', class: `help_icon` }, h("gb-help-tooltip", { key: '09f2a75b7fa21444e000b98054a27de68a438325', "show-supporting-text": true }, h("slot", { key: '76251b8d67c511ee5ccb6eade713faf4f522d38e', name: "tooltip_label", slot: "label" }), h("slot", { key: 'a13d3fa92709fdac4a7bb1b04190ceb7d3f903f2', name: "tooltip_supporting_text", slot: "supporting_text" })))), this.type !== 'search' && (h("div", { key: '9d3ebdfb83c61d61d85dca2f423fd5d365eeb3e2', class: `dropdown_icon ${this.dropdownOpen ? 'opened' : ''}` }, h("svg", { key: 'c40c86bb4bdfb90d8058d24a59af7a19c885e30f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: `${this.state}` }, h("path", { key: '6c901311ee0e8b95b6023eaa5f62942301a0a8a3', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#697586", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showHintText && (h("p", { key: 'ef925e7e67dff7bc7e9d6c0c4ce4a884e39bb9fa', class: "text-sm-regular", style: { color: '#697586' } }, this.hintText))),
170
+ h(Fragment, null, this.dropdownOpen && (h("div", { key: 'a19904ee14c16841c0e32adc102402f0e96d3632', class: "dropdown_menu", ref: el => (this.dropdownRef = el) }, this.type === 'tags' ? (h(Fragment, null, this.selectedItems.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), onClick: () => this.handleItemSelect(item) }, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, "@", item.username)))), this.unselectedItems.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), onClick: () => this.handleItemSelect(item) }, h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, "@", item.username)))))) : (h(Fragment, null, this.items.map(item => (h("gb-input-dropdown-menu-item", { type: this.type === 'search' ? 'checkbox' : this.type === 'tags' ? 'checkbox' : this.type, state: StateEnum.Default, "supporting-text": this.supportingText, selected: this.isItemSelected(item), color: this.color, onClick: () => this.handleItemSelect(item) }, h("p", { slot: "name" }, item.name), h("h1", { slot: "initials" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", { slot: "supporting_text" }, "@", item.username))))))))),
176
171
  ];
177
172
  }
178
173
  static get is() { return "gb-input-dropdown"; }