globuswebcomponents 2.11.1 → 2.12.1

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 (373) hide show
  1. package/dist/cjs/gb-avatar-label-group_3.cjs.entry.js +1 -1
  2. package/dist/cjs/{gb-avatar_44.cjs.entry.js → gb-avatar_52.cjs.entry.js} +26377 -246
  3. package/dist/cjs/gb-collapse-button_4.cjs.entry.js +2 -2
  4. package/dist/cjs/gb-modal-action_3.cjs.entry.js +3 -3
  5. package/dist/cjs/gb-scrollbar.cjs.entry.js +1 -1
  6. package/dist/cjs/gb-sidebar.cjs.entry.js +1 -1
  7. package/dist/cjs/gb-slider-control-handle.cjs.entry.js +1 -1
  8. package/dist/cjs/gb-slider.cjs.entry.js +1 -1
  9. package/dist/cjs/gb-step-base_2.cjs.entry.js +2 -2
  10. package/dist/cjs/gb-stepper-horizontal-icons-centered.cjs.entry.js +1 -1
  11. package/dist/cjs/gb-stepper-horizontal-icons-connected.cjs.entry.js +1 -1
  12. package/dist/cjs/gb-stepper-horizontal-line-with-text.cjs.entry.js +1 -1
  13. package/dist/cjs/gb-stepper-horizontal-minimal-icons.cjs.entry.js +1 -1
  14. package/dist/cjs/gb-stepper-vertical-icons-with-text.cjs.entry.js +1 -1
  15. package/dist/cjs/gb-tab-button-base.cjs.entry.js +2 -2
  16. package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
  17. package/dist/cjs/globuscomponents.cjs.js +1 -1
  18. package/dist/cjs/loader.cjs.js +1 -1
  19. package/dist/cjs/reusableModels-_LRAKnsh.js.map +1 -1
  20. package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
  21. package/dist/collection/collection-manifest.json +2 -0
  22. package/dist/collection/components/gb-date-picker/gb-date-picker.js +15 -11
  23. package/dist/collection/components/gb-date-picker/gb-date-picker.js.map +1 -1
  24. package/dist/collection/components/gb-filter-modal/gb-filter-modal.css +3 -0
  25. package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.css +12 -6
  26. package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.js +110 -17
  27. package/dist/collection/components/gb-mega-input-field-base/gb-mega-input-field-base.js.map +1 -1
  28. package/dist/collection/components/gb-rich-text/gb-rich-text.css +2916 -0
  29. package/dist/collection/components/gb-rich-text/gb-rich-text.js +393 -0
  30. package/dist/collection/components/gb-rich-text/gb-rich-text.js.map +1 -0
  31. package/dist/collection/components/gb-scrollbar/gb-scrollbar.js +1 -1
  32. package/dist/collection/components/gb-sidebar/gb-sidebar.js +1 -1
  33. package/dist/collection/components/gb-simple-side-bar-item/gb-simple-side-bar-item.js +2 -2
  34. package/dist/collection/components/gb-slider/gb-slider.js +1 -1
  35. package/dist/collection/components/gb-slider-control-handle/gb-slider-control-handle.js +1 -1
  36. package/dist/collection/components/gb-status-indicator/gb-status-indicator.js +1 -1
  37. package/dist/collection/components/gb-step-base/gb-step-base.js +1 -1
  38. package/dist/collection/components/gb-step-icon-base/gb-step-icon-base.js +1 -1
  39. package/dist/collection/components/gb-stepper-horizontal-icons-centered/gb-stepper-horizontal-icons-centered.js +1 -1
  40. package/dist/collection/components/gb-stepper-horizontal-icons-connected/gb-stepper-horizontal-icons-connected.js +1 -1
  41. package/dist/collection/components/gb-stepper-horizontal-line-with-text/gb-stepper-horizontal-line-with-text.js +1 -1
  42. package/dist/collection/components/gb-stepper-horizontal-minimal-icons/gb-stepper-horizontal-minimal-icons.js +1 -1
  43. package/dist/collection/components/gb-stepper-vertical-icons-with-text/gb-stepper-vertical-icons-with-text.js +1 -1
  44. package/dist/collection/components/gb-tab-button-base/gb-tab-button-base.js +2 -2
  45. package/dist/collection/components/gb-table/gb-table.css +16 -0
  46. package/dist/collection/components/gb-table/gb-table.js +187 -91
  47. package/dist/collection/components/gb-table/gb-table.js.map +1 -1
  48. package/dist/collection/components/gb-table-header/gb-table-header.js +2 -2
  49. package/dist/collection/components/gb-tag/gb-tag.js +1 -1
  50. package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
  51. package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
  52. package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
  53. package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
  54. package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
  55. package/dist/collection/components/gb-toast/gb-toast.js +1 -1
  56. package/dist/collection/components/gb-toast/gb-toast.js.map +1 -1
  57. package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
  58. package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
  59. package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
  60. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.css +47 -5
  61. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +54 -1
  62. package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js.map +1 -1
  63. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +115 -3
  64. package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js.map +1 -1
  65. package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
  66. package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
  67. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.css +36 -31
  68. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +21 -3
  69. package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js.map +1 -1
  70. package/dist/collection/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.css +15 -0
  71. package/dist/collection/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.js +392 -0
  72. package/dist/collection/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.js.map +1 -0
  73. package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
  74. package/dist/collection/models/reusableModels.js.map +1 -1
  75. package/dist/components/gb-action-panel.js +2 -2
  76. package/dist/components/gb-approval-modal.js +12 -12
  77. package/dist/components/gb-avatar-add-button.js +1 -1
  78. package/dist/components/gb-avatar-dropdown.js +1 -1
  79. package/dist/components/gb-avatar-group.js +4 -4
  80. package/dist/components/gb-avatar-label-group.js +1 -1
  81. package/dist/components/gb-avatar-profile-photo.js +2 -2
  82. package/dist/components/gb-avatar.js +1 -1
  83. package/dist/components/gb-badge.js +1 -1
  84. package/dist/components/gb-btn.js +1 -1
  85. package/dist/components/gb-button.js +1 -1
  86. package/dist/components/gb-checkbox-group-item.js +1 -1
  87. package/dist/components/gb-checkbox-group.js +5 -5
  88. package/dist/components/gb-collapse-button.js +1 -1
  89. package/dist/components/gb-comment.js +2 -2
  90. package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
  91. package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
  92. package/dist/components/gb-date-picker.js +1 -1
  93. package/dist/components/gb-detail-cell.js +5 -5
  94. package/dist/components/gb-empty-state.js +1 -1
  95. package/dist/components/gb-file-upload-item-base.js +1 -1
  96. package/dist/components/gb-file-upload.js +4 -4
  97. package/dist/components/gb-filter-button.js +1 -1
  98. package/dist/components/gb-filter-modal.js +1 -1
  99. package/dist/components/gb-header.js +19 -19
  100. package/dist/components/gb-help-tooltip.js +1 -1
  101. package/dist/components/gb-horizontal-tabs.js +4 -4
  102. package/dist/components/gb-icon-button-base.js +1 -1
  103. package/dist/components/gb-input-dropdown-menu-item.js +1 -1
  104. package/dist/components/gb-input-dropdown.js +1 -1
  105. package/dist/components/gb-input-field.js +1 -1
  106. package/dist/components/gb-mega-input-field-base.js +1 -1
  107. package/dist/components/gb-metric-card.js +3 -3
  108. package/dist/components/gb-modal-action.js +1 -1
  109. package/dist/components/gb-nav-bar-item.js +1 -1
  110. package/dist/components/gb-nav-bar-sidemenu.js +5 -5
  111. package/dist/components/gb-nav-bar.js +2 -2
  112. package/dist/components/gb-notification-pane.js +1 -1
  113. package/dist/components/gb-pagination.js +1 -1
  114. package/dist/components/gb-password-button.js +1 -1
  115. package/dist/components/gb-progress-bar.js +1 -1
  116. package/dist/components/gb-prompt-modal.js +2 -2
  117. package/dist/components/gb-rich-text.d.ts +11 -0
  118. package/dist/components/gb-rich-text.js +25831 -0
  119. package/dist/components/gb-rich-text.js.map +1 -0
  120. package/dist/components/gb-scrollbar.js +1 -1
  121. package/dist/components/gb-sidebar.js +9 -9
  122. package/dist/components/gb-simple-side-bar-item.js +1 -1
  123. package/dist/components/gb-slider-control-handle.js +1 -1
  124. package/dist/components/gb-slider.js +3 -3
  125. package/dist/components/gb-status-indicator.js +1 -1
  126. package/dist/components/gb-step-base.js +1 -1
  127. package/dist/components/gb-step-icon-base.js +1 -1
  128. package/dist/components/gb-stepper-horizontal-icons-centered.js +3 -3
  129. package/dist/components/gb-stepper-horizontal-icons-connected.js +1 -1
  130. package/dist/components/gb-stepper-horizontal-line-with-text.js +3 -3
  131. package/dist/components/gb-stepper-horizontal-minimal-icons.js +2 -2
  132. package/dist/components/gb-stepper-vertical-icons-with-text.js +3 -3
  133. package/dist/components/gb-tab-button-base.js +1 -1
  134. package/dist/components/gb-table-header.js +1 -1
  135. package/dist/components/gb-table.js +259 -151
  136. package/dist/components/gb-table.js.map +1 -1
  137. package/dist/components/gb-tag-checkbox.js +1 -1
  138. package/dist/components/gb-tag-close.js +1 -1
  139. package/dist/components/gb-tag-count.js +1 -1
  140. package/dist/components/gb-tag.js +1 -1
  141. package/dist/components/gb-textarea-input-field.js +1 -1
  142. package/dist/components/gb-theme-tab.js +1 -1
  143. package/dist/components/gb-toast-button.js +1 -1
  144. package/dist/components/gb-toast.js +1 -111
  145. package/dist/components/gb-toast.js.map +1 -1
  146. package/dist/components/gb-toggle-base.js +1 -1
  147. package/dist/components/gb-toggle.js +1 -1
  148. package/dist/components/gb-token-field-compact.js +36 -4
  149. package/dist/components/gb-token-field-compact.js.map +1 -1
  150. package/dist/components/gb-token-field-compressed.js +79 -6
  151. package/dist/components/gb-token-field-compressed.js.map +1 -1
  152. package/dist/components/gb-tooltip.js +1 -1
  153. package/dist/components/gb-vertical-tabs.js +1 -1
  154. package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
  155. package/dist/components/gb-wysiwyg-toolbar.d.ts +11 -0
  156. package/dist/components/gb-wysiwyg-toolbar.js +9 -0
  157. package/dist/components/gb-wysiwyg-toolbar.js.map +1 -0
  158. package/dist/components/gb-wysiwyg-tooltip.js +1 -1
  159. package/dist/components/{p-Cx2Xt959.js → p-B29EdWOJ.js} +7 -7
  160. package/dist/components/{p-Cx2Xt959.js.map → p-B29EdWOJ.js.map} +1 -1
  161. package/dist/components/{p-j7BhW7Vi.js → p-B6MqeloL.js} +6 -6
  162. package/dist/components/{p-j7BhW7Vi.js.map → p-B6MqeloL.js.map} +1 -1
  163. package/dist/components/{p-CMEHlrkM.js → p-BAsOAZIJ.js} +9 -9
  164. package/dist/components/{p-CMEHlrkM.js.map → p-BAsOAZIJ.js.map} +1 -1
  165. package/dist/components/{p-CuKYC5qs.js → p-BEsBENJv.js} +3 -3
  166. package/dist/components/{p-CuKYC5qs.js.map → p-BEsBENJv.js.map} +1 -1
  167. package/dist/components/{p-Dd2YznNu.js → p-BPOkJMue.js} +4 -4
  168. package/dist/components/{p-Dd2YznNu.js.map → p-BPOkJMue.js.map} +1 -1
  169. package/dist/components/{p-_b9j72nq.js → p-BPtvQKcT.js} +3 -3
  170. package/dist/components/{p-_b9j72nq.js.map → p-BPtvQKcT.js.map} +1 -1
  171. package/dist/components/{p-DL9L0Zch.js → p-Bd4lSL6k.js} +4 -4
  172. package/dist/components/{p-DL9L0Zch.js.map → p-Bd4lSL6k.js.map} +1 -1
  173. package/dist/components/p-Bk4XiIDG.js +54 -0
  174. package/dist/components/p-Bk4XiIDG.js.map +1 -0
  175. package/dist/components/{p-C7Z71gB9.js → p-BkyE0F8D.js} +3 -3
  176. package/dist/components/{p-C7Z71gB9.js.map → p-BkyE0F8D.js.map} +1 -1
  177. package/dist/components/{p-CR9jnMpX.js → p-BmBR8CSe.js} +4 -4
  178. package/dist/components/{p-CR9jnMpX.js.map → p-BmBR8CSe.js.map} +1 -1
  179. package/dist/components/{p-BuhW7Hu0.js → p-BnZ9Dk45.js} +19 -15
  180. package/dist/components/p-BnZ9Dk45.js.map +1 -0
  181. package/dist/components/{p-CBkBPSW9.js → p-Btv4kDMt.js} +20 -20
  182. package/dist/components/{p-CBkBPSW9.js.map → p-Btv4kDMt.js.map} +1 -1
  183. package/dist/components/{p-Bx-ZLO6f.js → p-BvzhAsiM.js} +3 -3
  184. package/dist/components/{p-Bx-ZLO6f.js.map → p-BvzhAsiM.js.map} +1 -1
  185. package/dist/components/p-CJ3UImT8.js +254 -0
  186. package/dist/components/p-CJ3UImT8.js.map +1 -0
  187. package/dist/components/{p-DbYSDIEE.js → p-CLByM5YE.js} +8 -8
  188. package/dist/components/{p-DbYSDIEE.js.map → p-CLByM5YE.js.map} +1 -1
  189. package/dist/{esm/gb-toast.entry.js → components/p-CVblhtIK.js} +74 -11
  190. package/dist/components/p-CVblhtIK.js.map +1 -0
  191. package/dist/components/{p-D1FPm7nr.js → p-CgT5ITIR.js} +3 -3
  192. package/dist/components/{p-D1FPm7nr.js.map → p-CgT5ITIR.js.map} +1 -1
  193. package/dist/components/{p-DVwS5alK.js → p-ChcjL7uR.js} +3 -3
  194. package/dist/components/{p-DVwS5alK.js.map → p-ChcjL7uR.js.map} +1 -1
  195. package/dist/components/{p-BUAzJ421.js → p-CoJF9LY7.js} +3 -3
  196. package/dist/components/{p-BUAzJ421.js.map → p-CoJF9LY7.js.map} +1 -1
  197. package/dist/components/{p-DKhdkzBx.js → p-Cp9SAzz1.js} +7 -7
  198. package/dist/components/{p-DKhdkzBx.js.map → p-Cp9SAzz1.js.map} +1 -1
  199. package/dist/components/{p-BvzWV7_c.js → p-Cv2z52zO.js} +4 -4
  200. package/dist/components/{p-BvzWV7_c.js.map → p-Cv2z52zO.js.map} +1 -1
  201. package/dist/components/{p-qtGdrlQO.js → p-CxQkiFrf.js} +3 -3
  202. package/dist/components/{p-qtGdrlQO.js.map → p-CxQkiFrf.js.map} +1 -1
  203. package/dist/components/{p-B5lItBJ8.js → p-D6SCKSnC.js} +4 -4
  204. package/dist/components/{p-B5lItBJ8.js.map → p-D6SCKSnC.js.map} +1 -1
  205. package/dist/components/{p-CM9N9uqd.js → p-DAeFuTWk.js} +8 -8
  206. package/dist/components/{p-CM9N9uqd.js.map → p-DAeFuTWk.js.map} +1 -1
  207. package/dist/components/{p-CjfDZwCD.js → p-DAjfSnyv.js} +4 -4
  208. package/dist/components/{p-CjfDZwCD.js.map → p-DAjfSnyv.js.map} +1 -1
  209. package/dist/components/{p-DTcsmKes.js → p-DCGH8qsO.js} +7 -7
  210. package/dist/components/{p-DTcsmKes.js.map → p-DCGH8qsO.js.map} +1 -1
  211. package/dist/components/{p-Bp2prpEY.js → p-DFWyQs3x.js} +14 -14
  212. package/dist/components/{p-Bp2prpEY.js.map → p-DFWyQs3x.js.map} +1 -1
  213. package/dist/components/{p-CCJRBTmm.js → p-DNApmHm4.js} +3 -3
  214. package/dist/components/{p-CCJRBTmm.js.map → p-DNApmHm4.js.map} +1 -1
  215. package/dist/components/{p-zxljeihf.js → p-DXdNy0IX.js} +15 -15
  216. package/dist/components/{p-zxljeihf.js.map → p-DXdNy0IX.js.map} +1 -1
  217. package/dist/components/{p-DIsxhyr1.js → p-DXukEdAm.js} +3 -3
  218. package/dist/components/{p-DIsxhyr1.js.map → p-DXukEdAm.js.map} +1 -1
  219. package/dist/components/{p-BbXo5waU.js → p-DeRyipLT.js} +41 -20
  220. package/dist/components/p-DeRyipLT.js.map +1 -0
  221. package/dist/components/{p-DCIm0ulG.js → p-DipYH7KO.js} +5 -5
  222. package/dist/components/{p-DCIm0ulG.js.map → p-DipYH7KO.js.map} +1 -1
  223. package/dist/components/{p-TwFNB1NA.js → p-Dr63CkEP.js} +4 -4
  224. package/dist/components/{p-TwFNB1NA.js.map → p-Dr63CkEP.js.map} +1 -1
  225. package/dist/components/{p-CyxLUgVQ.js → p-Ktv_u9uP.js} +12 -12
  226. package/dist/components/{p-CyxLUgVQ.js.map → p-Ktv_u9uP.js.map} +1 -1
  227. package/dist/components/{p-DoQNNQsR.js → p-MUiMlQKE.js} +3 -3
  228. package/dist/components/{p-DoQNNQsR.js.map → p-MUiMlQKE.js.map} +1 -1
  229. package/dist/components/{p-vPCRhWG0.js → p-Rp0-ilMh.js} +4 -4
  230. package/dist/components/{p-vPCRhWG0.js.map → p-Rp0-ilMh.js.map} +1 -1
  231. package/dist/components/{p-CRq7S8Z9.js → p-SzZ1MqGa.js} +3 -3
  232. package/dist/components/{p-CRq7S8Z9.js.map → p-SzZ1MqGa.js.map} +1 -1
  233. package/dist/components/{p-BDuFlhdF.js → p-_ONmEbCt.js} +5 -5
  234. package/dist/components/{p-BDuFlhdF.js.map → p-_ONmEbCt.js.map} +1 -1
  235. package/dist/components/{p-DfmE1tWD.js → p-axNAWt9Q.js} +16 -16
  236. package/dist/components/{p-DfmE1tWD.js.map → p-axNAWt9Q.js.map} +1 -1
  237. package/dist/components/p-cHn6O-Kf.js.map +1 -1
  238. package/dist/components/{p-CPfOVrGD.js → p-geWINvki.js} +3 -3
  239. package/dist/components/{p-CPfOVrGD.js.map → p-geWINvki.js.map} +1 -1
  240. package/dist/components/{p-Aa9V-f5L.js → p-ikzqDUUf.js} +4 -4
  241. package/dist/components/{p-Aa9V-f5L.js.map → p-ikzqDUUf.js.map} +1 -1
  242. package/dist/components/{p-Qol7MsY0.js → p-ilRd6ueO.js} +3 -3
  243. package/dist/components/{p-Qol7MsY0.js.map → p-ilRd6ueO.js.map} +1 -1
  244. package/dist/components/{p-BUQaTkZ9.js → p-jpC14719.js} +5 -5
  245. package/dist/components/{p-BUQaTkZ9.js.map → p-jpC14719.js.map} +1 -1
  246. package/dist/components/{p-CMk4vgJk.js → p-jwc6EmPW.js} +3 -3
  247. package/dist/components/{p-CMk4vgJk.js.map → p-jwc6EmPW.js.map} +1 -1
  248. package/dist/components/{p-wNPNaesa.js → p-m9XqzZ_k.js} +6 -6
  249. package/dist/components/p-m9XqzZ_k.js.map +1 -0
  250. package/dist/components/{p-CLliPnaQ.js → p-rdQ2rZRt.js} +4 -4
  251. package/dist/components/{p-CLliPnaQ.js.map → p-rdQ2rZRt.js.map} +1 -1
  252. package/dist/components/{p-Dpw-kexX.js → p-w-p9UZGH.js} +3 -3
  253. package/dist/components/{p-Dpw-kexX.js.map → p-w-p9UZGH.js.map} +1 -1
  254. package/dist/components/{p-BUSy4Kaw.js → p-xfjqQZb5.js} +3 -3
  255. package/dist/components/{p-BUSy4Kaw.js.map → p-xfjqQZb5.js.map} +1 -1
  256. package/dist/components/{p-PCho9z7U.js → p-zpsvWry-.js} +3 -3
  257. package/dist/components/{p-PCho9z7U.js.map → p-zpsvWry-.js.map} +1 -1
  258. package/dist/components/test-input-tag.js +9 -9
  259. package/dist/docs.json +1067 -88
  260. package/dist/esm/gb-avatar-label-group_3.entry.js +1 -1
  261. package/dist/esm/{gb-avatar_44.entry.js → gb-avatar_52.entry.js} +26499 -376
  262. package/dist/esm/gb-collapse-button_4.entry.js +2 -2
  263. package/dist/esm/gb-modal-action_3.entry.js +3 -3
  264. package/dist/esm/gb-scrollbar.entry.js +1 -1
  265. package/dist/esm/gb-sidebar.entry.js +1 -1
  266. package/dist/esm/gb-slider-control-handle.entry.js +1 -1
  267. package/dist/esm/gb-slider.entry.js +1 -1
  268. package/dist/esm/gb-step-base_2.entry.js +2 -2
  269. package/dist/esm/gb-stepper-horizontal-icons-centered.entry.js +1 -1
  270. package/dist/esm/gb-stepper-horizontal-icons-connected.entry.js +1 -1
  271. package/dist/esm/gb-stepper-horizontal-line-with-text.entry.js +1 -1
  272. package/dist/esm/gb-stepper-horizontal-minimal-icons.entry.js +1 -1
  273. package/dist/esm/gb-stepper-vertical-icons-with-text.entry.js +1 -1
  274. package/dist/esm/gb-tab-button-base.entry.js +2 -2
  275. package/dist/esm/gb-vertical-tabs.entry.js +1 -1
  276. package/dist/esm/globuscomponents.js +1 -1
  277. package/dist/esm/loader.js +1 -1
  278. package/dist/esm/reusableModels-cHn6O-Kf.js.map +1 -1
  279. package/dist/esm/test-input-tag.entry.js +2 -2
  280. package/dist/globuscomponents/globuscomponents.esm.js +1 -1
  281. package/dist/globuscomponents/{p-7483911b.entry.js → p-034da873.entry.js} +2 -2
  282. package/dist/globuscomponents/{p-706b479f.entry.js → p-04629618.entry.js} +2 -2
  283. package/dist/globuscomponents/{p-21b20a87.entry.js → p-0c2cf48d.entry.js} +2 -2
  284. package/dist/globuscomponents/{p-1ca5b476.entry.js → p-19bbd506.entry.js} +2 -2
  285. package/dist/globuscomponents/{p-ab818182.entry.js → p-1d81d30d.entry.js} +2 -2
  286. package/dist/globuscomponents/{p-47155c79.entry.js → p-22e4f119.entry.js} +2 -2
  287. package/dist/globuscomponents/{p-0d26bfab.entry.js → p-408eab2a.entry.js} +2 -2
  288. package/dist/globuscomponents/{p-475d3410.entry.js → p-47c50728.entry.js} +2 -2
  289. package/dist/globuscomponents/{p-31d72720.entry.js → p-7483940f.entry.js} +2 -2
  290. package/dist/globuscomponents/{p-43d98014.entry.js → p-76642086.entry.js} +2 -2
  291. package/dist/globuscomponents/{p-872e1752.entry.js → p-7ffe92a2.entry.js} +2 -2
  292. package/dist/globuscomponents/{p-d1ce0f80.entry.js → p-8924879c.entry.js} +2 -2
  293. package/dist/globuscomponents/{p-51aa14a5.entry.js → p-8b534f24.entry.js} +2 -2
  294. package/dist/globuscomponents/{p-22f1c3e9.entry.js → p-a304c960.entry.js} +2 -2
  295. package/dist/globuscomponents/p-bfbcd486.entry.js +2 -0
  296. package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
  297. package/dist/globuscomponents/{p-a1e35b45.entry.js → p-d554b145.entry.js} +2 -2
  298. package/dist/globuscomponents/p-d554b145.entry.js.map +1 -0
  299. package/dist/globuscomponents/{p-f337949a.entry.js → p-f53134f7.entry.js} +2 -2
  300. package/dist/types/components/gb-mega-input-field-base/gb-mega-input-field-base.d.ts +10 -2
  301. package/dist/types/components/gb-rich-text/gb-rich-text.d.ts +35 -0
  302. package/dist/types/components/gb-table/gb-table.d.ts +12 -3
  303. package/dist/types/components/gb-token-field-compact/gb-token-field-compact.d.ts +8 -0
  304. package/dist/types/components/gb-token-field-compressed/gb-token-field-compressed.d.ts +12 -0
  305. package/dist/types/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.d.ts +4 -1
  306. package/dist/types/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.d.ts +37 -0
  307. package/dist/types/components.d.ts +299 -22
  308. package/dist/types/models/reusableModels.d.ts +13 -5
  309. package/package.json +7 -1
  310. package/dist/cjs/gb-mega-input-field-base.cjs.entry.js +0 -36
  311. package/dist/cjs/gb-mega-input-field-base.entry.cjs.js.map +0 -1
  312. package/dist/cjs/gb-toast-button.cjs.entry.js +0 -23
  313. package/dist/cjs/gb-toast-button.entry.cjs.js.map +0 -1
  314. package/dist/cjs/gb-toast.cjs.entry.js +0 -55
  315. package/dist/cjs/gb-toast.entry.cjs.js.map +0 -1
  316. package/dist/cjs/gb-token-field-compact.cjs.entry.js +0 -20
  317. package/dist/cjs/gb-token-field-compact.entry.cjs.js.map +0 -1
  318. package/dist/cjs/gb-token-field-compressed.cjs.entry.js +0 -24
  319. package/dist/cjs/gb-token-field-compressed.entry.cjs.js.map +0 -1
  320. package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +0 -19
  321. package/dist/cjs/gb-wysiwyg-editor-icon.entry.cjs.js.map +0 -1
  322. package/dist/components/p-BbXo5waU.js.map +0 -1
  323. package/dist/components/p-BuhW7Hu0.js.map +0 -1
  324. package/dist/components/p-CHtrLIr5.js +0 -41
  325. package/dist/components/p-CHtrLIr5.js.map +0 -1
  326. package/dist/components/p-wNPNaesa.js.map +0 -1
  327. package/dist/esm/gb-mega-input-field-base.entry.js +0 -34
  328. package/dist/esm/gb-mega-input-field-base.entry.js.map +0 -1
  329. package/dist/esm/gb-toast-button.entry.js +0 -21
  330. package/dist/esm/gb-toast-button.entry.js.map +0 -1
  331. package/dist/esm/gb-toast.entry.js.map +0 -1
  332. package/dist/esm/gb-token-field-compact.entry.js +0 -18
  333. package/dist/esm/gb-token-field-compact.entry.js.map +0 -1
  334. package/dist/esm/gb-token-field-compressed.entry.js +0 -22
  335. package/dist/esm/gb-token-field-compressed.entry.js.map +0 -1
  336. package/dist/esm/gb-wysiwyg-editor-icon.entry.js +0 -17
  337. package/dist/esm/gb-wysiwyg-editor-icon.entry.js.map +0 -1
  338. package/dist/globuscomponents/gb-mega-input-field-base.entry.esm.js.map +0 -1
  339. package/dist/globuscomponents/gb-toast-button.entry.esm.js.map +0 -1
  340. package/dist/globuscomponents/gb-toast.entry.esm.js.map +0 -1
  341. package/dist/globuscomponents/gb-token-field-compact.entry.esm.js.map +0 -1
  342. package/dist/globuscomponents/gb-token-field-compressed.entry.esm.js.map +0 -1
  343. package/dist/globuscomponents/gb-wysiwyg-editor-icon.entry.esm.js.map +0 -1
  344. package/dist/globuscomponents/p-563f3f9c.entry.js +0 -2
  345. package/dist/globuscomponents/p-563f3f9c.entry.js.map +0 -1
  346. package/dist/globuscomponents/p-6eccd6af.entry.js +0 -2
  347. package/dist/globuscomponents/p-6eccd6af.entry.js.map +0 -1
  348. package/dist/globuscomponents/p-72637941.entry.js +0 -2
  349. package/dist/globuscomponents/p-72637941.entry.js.map +0 -1
  350. package/dist/globuscomponents/p-799b98e4.entry.js +0 -2
  351. package/dist/globuscomponents/p-799b98e4.entry.js.map +0 -1
  352. package/dist/globuscomponents/p-89116f8e.entry.js +0 -2
  353. package/dist/globuscomponents/p-89116f8e.entry.js.map +0 -1
  354. package/dist/globuscomponents/p-98d25cbc.entry.js +0 -2
  355. package/dist/globuscomponents/p-a1e35b45.entry.js.map +0 -1
  356. package/dist/globuscomponents/p-ce9bf9ff.entry.js +0 -2
  357. package/dist/globuscomponents/p-ce9bf9ff.entry.js.map +0 -1
  358. /package/dist/globuscomponents/{p-7483911b.entry.js.map → p-034da873.entry.js.map} +0 -0
  359. /package/dist/globuscomponents/{p-706b479f.entry.js.map → p-04629618.entry.js.map} +0 -0
  360. /package/dist/globuscomponents/{p-21b20a87.entry.js.map → p-0c2cf48d.entry.js.map} +0 -0
  361. /package/dist/globuscomponents/{p-1ca5b476.entry.js.map → p-19bbd506.entry.js.map} +0 -0
  362. /package/dist/globuscomponents/{p-ab818182.entry.js.map → p-1d81d30d.entry.js.map} +0 -0
  363. /package/dist/globuscomponents/{p-47155c79.entry.js.map → p-22e4f119.entry.js.map} +0 -0
  364. /package/dist/globuscomponents/{p-0d26bfab.entry.js.map → p-408eab2a.entry.js.map} +0 -0
  365. /package/dist/globuscomponents/{p-475d3410.entry.js.map → p-47c50728.entry.js.map} +0 -0
  366. /package/dist/globuscomponents/{p-31d72720.entry.js.map → p-7483940f.entry.js.map} +0 -0
  367. /package/dist/globuscomponents/{p-43d98014.entry.js.map → p-76642086.entry.js.map} +0 -0
  368. /package/dist/globuscomponents/{p-872e1752.entry.js.map → p-7ffe92a2.entry.js.map} +0 -0
  369. /package/dist/globuscomponents/{p-d1ce0f80.entry.js.map → p-8924879c.entry.js.map} +0 -0
  370. /package/dist/globuscomponents/{p-51aa14a5.entry.js.map → p-8b534f24.entry.js.map} +0 -0
  371. /package/dist/globuscomponents/{p-22f1c3e9.entry.js.map → p-a304c960.entry.js.map} +0 -0
  372. /package/dist/globuscomponents/{p-98d25cbc.entry.js.map → p-bfbcd486.entry.js.map} +0 -0
  373. /package/dist/globuscomponents/{p-f337949a.entry.js.map → p-f53134f7.entry.js.map} +0 -0
@@ -0,0 +1,392 @@
1
+ import { h } from "@stencil/core";
2
+ export class GbWysiwygToolbar {
3
+ constructor() {
4
+ this.fontSelector = false;
5
+ // Active states (passed in from gb-rich-text)
6
+ this.isBold = false;
7
+ this.isItalic = false;
8
+ this.isUnderline = false;
9
+ this.isH1 = false;
10
+ this.isH2 = false;
11
+ this.isQuote = false;
12
+ this.isLink = false;
13
+ this.isBulletList = false;
14
+ this.isOrderedList = false;
15
+ this.isAttachment = false;
16
+ this.isPhoto = false;
17
+ // Mirror props into state so shadow DOM re-renders on change
18
+ this._isBold = false;
19
+ this._isItalic = false;
20
+ this._isUnderline = false;
21
+ this._isH1 = false;
22
+ this._isH2 = false;
23
+ this._isQuote = false;
24
+ this._isLink = false;
25
+ this._isBulletList = false;
26
+ this._isOrderedList = false;
27
+ }
28
+ onBoldChange(v) {
29
+ this._isBold = v;
30
+ }
31
+ onItalicChange(v) {
32
+ this._isItalic = v;
33
+ }
34
+ onUnderlineChange(v) {
35
+ this._isUnderline = v;
36
+ }
37
+ onH1Change(v) {
38
+ this._isH1 = v;
39
+ }
40
+ onH2Change(v) {
41
+ this._isH2 = v;
42
+ }
43
+ onQuoteChange(v) {
44
+ this._isQuote = v;
45
+ }
46
+ onLinkChange(v) {
47
+ this._isLink = v;
48
+ }
49
+ onBulletListChange(v) {
50
+ this._isBulletList = v;
51
+ }
52
+ onOrderedListChange(v) {
53
+ this._isOrderedList = v;
54
+ }
55
+ // Sync initial prop values into state on first load
56
+ componentWillLoad() {
57
+ this._isBold = this.isBold;
58
+ this._isItalic = this.isItalic;
59
+ this._isUnderline = this.isUnderline;
60
+ this._isH1 = this.isH1;
61
+ this._isH2 = this.isH2;
62
+ this._isQuote = this.isQuote;
63
+ this._isLink = this.isLink;
64
+ this._isBulletList = this.isBulletList;
65
+ this._isOrderedList = this.isOrderedList;
66
+ }
67
+ emit(action, ev) {
68
+ ev.preventDefault();
69
+ this.toolbarAction.emit(action);
70
+ }
71
+ render() {
72
+ return (h("div", { key: '3c67ef0321d9be6d3e5676cefa5c1cc895e311f5', class: "toolbar_wrapper" }, this.fontSelector && (h("div", { key: '1a762d3a41b1afc359ea6cb2fd40ff50cad5ca85', class: "font_selector" }, h("gb-input-dropdown", { key: '0fddeb5ed65afcf932949901f8b62dbdeefe5fae', "show-placeholder": "true", placeholder: "Select an option", size: "sm", state: "default", "show-hint-text": "false", "hint-text": "This is a hint text to help user.", type: "default", text: true, "show-leading-icon": "true", "leading-icon": "assets/search-01.svg", "menu-position": "bottom", icon: "false", value: ['Sora'] }))), h("div", { key: '9cdc881dacc7e149163ff880b6b43094ef63a535', class: "editor_icons" }, h("gb-wysiwyg-editor-icon", { key: 'ad23448e820efe6741c27d07f2846582ea8f6e9f', state: "default", active: this._isBold, type: "bold", onMouseDown: (ev) => this.emit('bold', ev) }), h("gb-wysiwyg-editor-icon", { key: '85205be2180d46829bf27a6bb23757b1d0c92cd7', state: "default", active: this._isItalic, type: "italic", onMouseDown: (ev) => this.emit('italic', ev) }), h("gb-wysiwyg-editor-icon", { key: 'a92cd80c7ce26f73bf59ad3b0d5c80c58fd56833', state: "default", active: this._isUnderline, type: "underline", onMouseDown: (ev) => this.emit('underline', ev) }), h("gb-wysiwyg-editor-icon", { key: '63c3a0a2cc23b91be299a65461fd8d33209451ce', state: "default", active: this._isH1, type: "h1", onMouseDown: (ev) => this.emit('h1', ev) }), h("gb-wysiwyg-editor-icon", { key: 'c6d183d341417daf6a82556f6c657d0ae7b9c331', state: "default", active: this._isH2, type: "h2", onMouseDown: (ev) => this.emit('h2', ev) }), h("gb-wysiwyg-editor-icon", { key: 'cb46dca47975d80726cb829be38eb5f9b9bffd9d', state: "default", active: this._isQuote, type: "quote", onMouseDown: (ev) => this.emit('quote', ev) }), h("gb-wysiwyg-editor-icon", { key: '32cc231273517e3da761cdd762da6bae412e6e45', state: "default", active: this._isLink, type: "link", onMouseDown: (ev) => this.emit('link', ev) }), h("gb-wysiwyg-editor-icon", { key: '2ed586243a6cb8388cf982ab1ae1693c0e3e7a16', state: "default", active: this.isAttachment, type: "attachment", onMouseDown: (ev) => this.emit('attachment', ev) }), h("gb-wysiwyg-editor-icon", { key: 'e954ea2fd98842b574081e5cc7f091910aa2cc7b', state: "default", active: this.isPhoto, type: "photo", onMouseDown: (ev) => this.emit('photo', ev) }), h("gb-wysiwyg-editor-icon", { key: 'b289d2eafbe0c9e3544843073b451cdf787a05c6', state: "default", active: this.isBulletList, type: "list_bullet", onMouseDown: (ev) => this.emit('bulletList', ev) }), h("gb-wysiwyg-editor-icon", { key: '57fd1a735192b15233c2dcd7087351029aef17f4', state: "default", active: this.isOrderedList, type: "list_numbers", onMouseDown: (ev) => this.emit('orderedList', ev) }))));
73
+ }
74
+ static get is() { return "gb-wysiwyg-toolbar"; }
75
+ static get encapsulation() { return "shadow"; }
76
+ static get originalStyleUrls() {
77
+ return {
78
+ "$": ["gb-wysiwyg-toolbar.css"]
79
+ };
80
+ }
81
+ static get styleUrls() {
82
+ return {
83
+ "$": ["gb-wysiwyg-toolbar.css"]
84
+ };
85
+ }
86
+ static get properties() {
87
+ return {
88
+ "fontSelector": {
89
+ "type": "boolean",
90
+ "mutable": false,
91
+ "complexType": {
92
+ "original": "boolean",
93
+ "resolved": "boolean",
94
+ "references": {}
95
+ },
96
+ "required": false,
97
+ "optional": false,
98
+ "docs": {
99
+ "tags": [],
100
+ "text": ""
101
+ },
102
+ "getter": false,
103
+ "setter": false,
104
+ "reflect": false,
105
+ "attribute": "font-selector",
106
+ "defaultValue": "false"
107
+ },
108
+ "isBold": {
109
+ "type": "boolean",
110
+ "mutable": false,
111
+ "complexType": {
112
+ "original": "boolean",
113
+ "resolved": "boolean",
114
+ "references": {}
115
+ },
116
+ "required": false,
117
+ "optional": false,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": ""
121
+ },
122
+ "getter": false,
123
+ "setter": false,
124
+ "reflect": false,
125
+ "attribute": "is-bold",
126
+ "defaultValue": "false"
127
+ },
128
+ "isItalic": {
129
+ "type": "boolean",
130
+ "mutable": false,
131
+ "complexType": {
132
+ "original": "boolean",
133
+ "resolved": "boolean",
134
+ "references": {}
135
+ },
136
+ "required": false,
137
+ "optional": false,
138
+ "docs": {
139
+ "tags": [],
140
+ "text": ""
141
+ },
142
+ "getter": false,
143
+ "setter": false,
144
+ "reflect": false,
145
+ "attribute": "is-italic",
146
+ "defaultValue": "false"
147
+ },
148
+ "isUnderline": {
149
+ "type": "boolean",
150
+ "mutable": false,
151
+ "complexType": {
152
+ "original": "boolean",
153
+ "resolved": "boolean",
154
+ "references": {}
155
+ },
156
+ "required": false,
157
+ "optional": false,
158
+ "docs": {
159
+ "tags": [],
160
+ "text": ""
161
+ },
162
+ "getter": false,
163
+ "setter": false,
164
+ "reflect": false,
165
+ "attribute": "is-underline",
166
+ "defaultValue": "false"
167
+ },
168
+ "isH1": {
169
+ "type": "boolean",
170
+ "mutable": false,
171
+ "complexType": {
172
+ "original": "boolean",
173
+ "resolved": "boolean",
174
+ "references": {}
175
+ },
176
+ "required": false,
177
+ "optional": false,
178
+ "docs": {
179
+ "tags": [],
180
+ "text": ""
181
+ },
182
+ "getter": false,
183
+ "setter": false,
184
+ "reflect": false,
185
+ "attribute": "is-h-1",
186
+ "defaultValue": "false"
187
+ },
188
+ "isH2": {
189
+ "type": "boolean",
190
+ "mutable": false,
191
+ "complexType": {
192
+ "original": "boolean",
193
+ "resolved": "boolean",
194
+ "references": {}
195
+ },
196
+ "required": false,
197
+ "optional": false,
198
+ "docs": {
199
+ "tags": [],
200
+ "text": ""
201
+ },
202
+ "getter": false,
203
+ "setter": false,
204
+ "reflect": false,
205
+ "attribute": "is-h-2",
206
+ "defaultValue": "false"
207
+ },
208
+ "isQuote": {
209
+ "type": "boolean",
210
+ "mutable": false,
211
+ "complexType": {
212
+ "original": "boolean",
213
+ "resolved": "boolean",
214
+ "references": {}
215
+ },
216
+ "required": false,
217
+ "optional": false,
218
+ "docs": {
219
+ "tags": [],
220
+ "text": ""
221
+ },
222
+ "getter": false,
223
+ "setter": false,
224
+ "reflect": false,
225
+ "attribute": "is-quote",
226
+ "defaultValue": "false"
227
+ },
228
+ "isLink": {
229
+ "type": "boolean",
230
+ "mutable": false,
231
+ "complexType": {
232
+ "original": "boolean",
233
+ "resolved": "boolean",
234
+ "references": {}
235
+ },
236
+ "required": false,
237
+ "optional": false,
238
+ "docs": {
239
+ "tags": [],
240
+ "text": ""
241
+ },
242
+ "getter": false,
243
+ "setter": false,
244
+ "reflect": false,
245
+ "attribute": "is-link",
246
+ "defaultValue": "false"
247
+ },
248
+ "isBulletList": {
249
+ "type": "boolean",
250
+ "mutable": false,
251
+ "complexType": {
252
+ "original": "boolean",
253
+ "resolved": "boolean",
254
+ "references": {}
255
+ },
256
+ "required": false,
257
+ "optional": false,
258
+ "docs": {
259
+ "tags": [],
260
+ "text": ""
261
+ },
262
+ "getter": false,
263
+ "setter": false,
264
+ "reflect": false,
265
+ "attribute": "is-bullet-list",
266
+ "defaultValue": "false"
267
+ },
268
+ "isOrderedList": {
269
+ "type": "boolean",
270
+ "mutable": false,
271
+ "complexType": {
272
+ "original": "boolean",
273
+ "resolved": "boolean",
274
+ "references": {}
275
+ },
276
+ "required": false,
277
+ "optional": false,
278
+ "docs": {
279
+ "tags": [],
280
+ "text": ""
281
+ },
282
+ "getter": false,
283
+ "setter": false,
284
+ "reflect": false,
285
+ "attribute": "is-ordered-list",
286
+ "defaultValue": "false"
287
+ },
288
+ "isAttachment": {
289
+ "type": "boolean",
290
+ "mutable": false,
291
+ "complexType": {
292
+ "original": "boolean",
293
+ "resolved": "boolean",
294
+ "references": {}
295
+ },
296
+ "required": false,
297
+ "optional": false,
298
+ "docs": {
299
+ "tags": [],
300
+ "text": ""
301
+ },
302
+ "getter": false,
303
+ "setter": false,
304
+ "reflect": false,
305
+ "attribute": "is-attachment",
306
+ "defaultValue": "false"
307
+ },
308
+ "isPhoto": {
309
+ "type": "boolean",
310
+ "mutable": false,
311
+ "complexType": {
312
+ "original": "boolean",
313
+ "resolved": "boolean",
314
+ "references": {}
315
+ },
316
+ "required": false,
317
+ "optional": false,
318
+ "docs": {
319
+ "tags": [],
320
+ "text": ""
321
+ },
322
+ "getter": false,
323
+ "setter": false,
324
+ "reflect": false,
325
+ "attribute": "is-photo",
326
+ "defaultValue": "false"
327
+ }
328
+ };
329
+ }
330
+ static get states() {
331
+ return {
332
+ "_isBold": {},
333
+ "_isItalic": {},
334
+ "_isUnderline": {},
335
+ "_isH1": {},
336
+ "_isH2": {},
337
+ "_isQuote": {},
338
+ "_isLink": {},
339
+ "_isBulletList": {},
340
+ "_isOrderedList": {}
341
+ };
342
+ }
343
+ static get events() {
344
+ return [{
345
+ "method": "toolbarAction",
346
+ "name": "toolbarAction",
347
+ "bubbles": true,
348
+ "cancelable": true,
349
+ "composed": true,
350
+ "docs": {
351
+ "tags": [],
352
+ "text": ""
353
+ },
354
+ "complexType": {
355
+ "original": "string",
356
+ "resolved": "string",
357
+ "references": {}
358
+ }
359
+ }];
360
+ }
361
+ static get watchers() {
362
+ return [{
363
+ "propName": "isBold",
364
+ "methodName": "onBoldChange"
365
+ }, {
366
+ "propName": "isItalic",
367
+ "methodName": "onItalicChange"
368
+ }, {
369
+ "propName": "isUnderline",
370
+ "methodName": "onUnderlineChange"
371
+ }, {
372
+ "propName": "isH1",
373
+ "methodName": "onH1Change"
374
+ }, {
375
+ "propName": "isH2",
376
+ "methodName": "onH2Change"
377
+ }, {
378
+ "propName": "isQuote",
379
+ "methodName": "onQuoteChange"
380
+ }, {
381
+ "propName": "isLink",
382
+ "methodName": "onLinkChange"
383
+ }, {
384
+ "propName": "isBulletList",
385
+ "methodName": "onBulletListChange"
386
+ }, {
387
+ "propName": "isOrderedList",
388
+ "methodName": "onOrderedListChange"
389
+ }];
390
+ }
391
+ }
392
+ //# sourceMappingURL=gb-wysiwyg-toolbar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gb-wysiwyg-toolbar.js","sourceRoot":"","sources":["../../../src/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOtF,MAAM,OAAO,gBAAgB;IAL7B;QAMU,iBAAY,GAAY,KAAK,CAAC;QAEtC,8CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Event, EventEmitter, h, Prop, State, Watch } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'gb-wysiwyg-toolbar',\r\n styleUrl: 'gb-wysiwyg-toolbar.css',\r\n shadow: true,\r\n})\r\nexport class GbWysiwygToolbar {\r\n @Prop() fontSelector: boolean = false;\r\n\r\n // Active states (passed in from gb-rich-text)\r\n @Prop() isBold: boolean = false;\r\n @Prop() isItalic: boolean = false;\r\n @Prop() isUnderline: boolean = false;\r\n @Prop() isH1: boolean = false;\r\n @Prop() isH2: boolean = false;\r\n @Prop() isQuote: boolean = false;\r\n @Prop() isLink: boolean = false;\r\n @Prop() isBulletList: boolean = false;\r\n @Prop() isOrderedList: boolean = false;\r\n @Prop() isAttachment: boolean = false;\r\n @Prop() isPhoto: boolean = false;\r\n\r\n // Mirror props into state so shadow DOM re-renders on change\r\n @State() _isBold: boolean = false;\r\n @State() _isItalic: boolean = false;\r\n @State() _isUnderline: boolean = false;\r\n @State() _isH1: boolean = false;\r\n @State() _isH2: boolean = false;\r\n @State() _isQuote: boolean = false;\r\n @State() _isLink: boolean = false;\r\n @State() _isBulletList: boolean = false;\r\n @State() _isOrderedList: boolean = false;\r\n @Event() toolbarAction: EventEmitter<string>;\r\n \r\n @Watch('isBold') onBoldChange(v: boolean) {\r\n this._isBold = v;\r\n }\r\n @Watch('isItalic') onItalicChange(v: boolean) {\r\n this._isItalic = v;\r\n }\r\n @Watch('isUnderline') onUnderlineChange(v: boolean) {\r\n this._isUnderline = v;\r\n }\r\n @Watch('isH1') onH1Change(v: boolean) {\r\n this._isH1 = v;\r\n }\r\n @Watch('isH2') onH2Change(v: boolean) {\r\n this._isH2 = v;\r\n }\r\n @Watch('isQuote') onQuoteChange(v: boolean) {\r\n this._isQuote = v;\r\n }\r\n @Watch('isLink') onLinkChange(v: boolean) {\r\n this._isLink = v;\r\n }\r\n @Watch('isBulletList') onBulletListChange(v: boolean) {\r\n this._isBulletList = v;\r\n }\r\n @Watch('isOrderedList') onOrderedListChange(v: boolean) {\r\n this._isOrderedList = v;\r\n }\r\n\r\n // Sync initial prop values into state on first load\r\n componentWillLoad() {\r\n this._isBold = this.isBold;\r\n this._isItalic = this.isItalic;\r\n this._isUnderline = this.isUnderline;\r\n this._isH1 = this.isH1;\r\n this._isH2 = this.isH2;\r\n this._isQuote = this.isQuote;\r\n this._isLink = this.isLink;\r\n this._isBulletList = this.isBulletList;\r\n this._isOrderedList = this.isOrderedList;\r\n }\r\n\r\n private emit(action: string, ev: MouseEvent) {\r\n ev.preventDefault();\r\n this.toolbarAction.emit(action);\r\n }\r\n\r\n render() {\r\n return (\r\n <div class=\"toolbar_wrapper\">\r\n {this.fontSelector && (\r\n <div class=\"font_selector\">\r\n <gb-input-dropdown\r\n show-placeholder=\"true\"\r\n placeholder=\"Select an option\"\r\n size=\"sm\"\r\n state=\"default\"\r\n show-hint-text=\"false\"\r\n hint-text=\"This is a hint text to help user.\"\r\n type=\"default\"\r\n text={true}\r\n show-leading-icon=\"true\"\r\n leading-icon=\"assets/search-01.svg\"\r\n menu-position=\"bottom\"\r\n icon=\"false\"\r\n value={['Sora']}\r\n ></gb-input-dropdown>\r\n </div>\r\n )}\r\n <div class=\"editor_icons\">\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this._isBold} type=\"bold\" onMouseDown={(ev: MouseEvent) => this.emit('bold', ev)}></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this._isItalic} type=\"italic\" onMouseDown={(ev: MouseEvent) => this.emit('italic', ev)}></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this._isUnderline} type=\"underline\" onMouseDown={(ev: MouseEvent) => this.emit('underline', ev)}></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this._isH1} type=\"h1\" onMouseDown={(ev: MouseEvent) => this.emit('h1', ev)}></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this._isH2} type=\"h2\" onMouseDown={(ev: MouseEvent) => this.emit('h2', ev)}></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this._isQuote} type=\"quote\" onMouseDown={(ev: MouseEvent) => this.emit('quote', ev)}></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this._isLink} type=\"link\" onMouseDown={(ev: MouseEvent) => this.emit('link', ev)}></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon\r\n state=\"default\"\r\n active={this.isAttachment}\r\n type=\"attachment\"\r\n onMouseDown={(ev: MouseEvent) => this.emit('attachment', ev)}\r\n ></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this.isPhoto} type=\"photo\" onMouseDown={(ev: MouseEvent) => this.emit('photo', ev)}></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this.isBulletList} type=\"list_bullet\" onMouseDown={(ev: MouseEvent) => this.emit('bulletList', ev)}></gb-wysiwyg-editor-icon>\r\n <gb-wysiwyg-editor-icon state=\"default\" active={this.isOrderedList} type=\"list_numbers\" onMouseDown={(ev: MouseEvent) => this.emit('orderedList', ev)}></gb-wysiwyg-editor-icon>\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n"]}
@@ -71,7 +71,7 @@ export class TestInputTag {
71
71
  this.exportValue.emit(this.selectedStaff);
72
72
  }
73
73
  render() {
74
- return (h("div", { key: 'c63d16d76b53b2d3f2488a4470380f42d0c8d2b6', class: "input_group", ref: el => (this.inputGroupElement = el) }, h("label", { key: 'db7602662bfc907b82bdc5fe8c85d7a621d3268b', htmlFor: this.idOfInput }, this.labelText), h("div", { key: 'd89ddbcb89268627c9b38acaae44887fd99f30d8', class: "input_like_parent", onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("input", { key: '8b23410ecfcf67b118512d1db6b30546aec27cfa', id: this.idOfInput, class: "input_like", type: "text", placeholder: this.placeholderText, value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff() }), h("div", { key: '5324aa7f2cf12dc8b03cf6288aed8987660d5570', class: `results_display ${this.selectedStaff.length >= 1 ? 'show_results' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.selectedStaff.map((staff, index) => (
74
+ return (h("div", { key: '78e176222b5590be44cfdbf88b1e5ed8bd071465', class: "input_group", ref: el => (this.inputGroupElement = el) }, h("label", { key: 'f6591d283ef4779284e765f20fc9f56730b138e1', htmlFor: this.idOfInput }, this.labelText), h("div", { key: 'e9df5ef15b6c37430a558e3e5c6ff1a8028931aa', class: "input_like_parent", onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("input", { key: 'f6ac9cf7ba0f9a169929e6c8ba84eed4b6d125b2', id: this.idOfInput, class: "input_like", type: "text", placeholder: this.placeholderText, value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff() }), h("div", { key: '4640c4c092170c282e3d67a3447c614d42ea5ad6', class: `results_display ${this.selectedStaff.length >= 1 ? 'show_results' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.selectedStaff.map((staff, index) => (
75
75
  // <span>
76
76
  // {staff.fullname}
77
77
  // <img
@@ -80,7 +80,7 @@ export class TestInputTag {
80
80
  // onClick={() => this.removeStaff(index)}
81
81
  // />
82
82
  // </span>
83
- h("gb-tag", { size: "sm", action: "X_close", icon: "avatar", onClick: () => this.removeStaff(index) }, h("h1", { slot: "initials" }, staff.fullname.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, staff.fullname.split(' ')[0])))))), this.show && (h("div", { key: '5b7afe1c44efaa861e7ec54ac2c17c4bf2390ec5', class: `dropdown_menu ${this.show ? 'show' : ''}` }, this.staffInfo.map(staff => (
83
+ h("gb-tag", { size: "sm", action: "X_close", icon: "avatar", onClick: () => this.removeStaff(index) }, h("h1", { slot: "initials" }, staff.fullname.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, staff.fullname.split(' ')[0])))))), this.show && (h("div", { key: '2a3bd5a74d5c6c896b506a4f303a2096f233f51c', class: `dropdown_menu ${this.show ? 'show' : ''}` }, this.staffInfo.map(staff => (
84
84
  // <li class="aList" onClick={() => this.selectStaff(staff)}>
85
85
  // <div>{staff.fullname}</div>
86
86
  // <div>{staff.email}</div>
@@ -1 +1 @@
1
- {"version":3,"file":"reusableModels.js","sourceRoot":"","sources":["../../src/models/reusableModels.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAMD,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,yCAAwB,CAAA;IACxB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAED,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACrB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC","sourcesContent":["export type GeneralSizes = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs' | 'profile_lg' | 'profile_md' | 'profile_sm';\r\n\r\nexport type GeneralHierarchies = 'primary' | 'secondary_gray' | 'secondary_color' | 'tertiary_gray' | 'tertiary_color' | 'link_gray' | 'link_color';\r\n\r\nexport enum StateEnum {\r\n Default = 'default',\r\n Disabled = 'disabled',\r\n}\r\n\r\nexport type ArrowPositions = 'bottom_center' | 'bottom_left' | 'bottom_right' | 'top_center' | 'left' | 'right' | 'none' | 'center';\r\n\r\nexport type CheckBoxVariants = 'checkbox' | 'check_circle' | 'radio';\r\n\r\nexport enum BorderWeights {\r\n VeryLight = 'very_light',\r\n Light = 'light',\r\n Regular = 'regular',\r\n Heavy = 'heavy',\r\n}\r\n\r\nexport enum OnlineIndicatorStates {\r\n Online = 'online',\r\n Offline = 'offline',\r\n}\r\n\r\nexport type BreakPoints = 'desktop' | 'mobile';\r\n\r\nexport type FileUploadIconType = 'solid' | 'outline';\r\n\r\nexport type FileUploadStates = 'default' | 'in_progress' | 'complete' | 'hover' | 'disabled' | 'error';\r\n\r\nexport type GeneralColors = 'default' | 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'discovery' | 'information' | 'pink' | 'purple' | 'white';\r\n\r\nexport type PaginationNumberShapes = 'square' | 'circle';\r\n\r\nexport type PaginationTypes =\r\n | 'page_default'\r\n | 'page_minimal_center_aligned'\r\n | 'card_default'\r\n | 'card_minimal_right_aligned'\r\n | 'card_minimal_left_aligned'\r\n | 'card_minimal_center_aligned'\r\n | 'card_button_group_right_aligned'\r\n | 'card_button_group_left_aligned'\r\n | 'card_button_group_center_aligned';\r\n\r\nexport type TabTypes =\r\n | 'button_primary'\r\n | 'button_gray'\r\n | 'button_white'\r\n | 'rounded_button_white'\r\n | 'underline'\r\n | 'underline_filled'\r\n | 'line'\r\n | 'button_white_border'\r\n | 'rounded_button_white_border'\r\n | 'button_gray_border';\r\n\r\nexport type GeneralBackgroundCategories = 'plain_background' | 'colored_background';\r\n\r\nexport type InputFieldTypes =\r\n | 'default'\r\n | 'icon_leading'\r\n | 'leading_dropdown'\r\n | 'trailing_dropdown'\r\n | 'leading_text'\r\n | 'payment_input'\r\n | 'tags'\r\n | 'trailing_button'\r\n | 'password'\r\n | 'password_icon_leading'\r\n | 'count';\r\n\r\nexport type DropdownTypes = 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox' | 'search' | 'tags';\r\n\r\nexport type ColorTypes = 'gray' | 'blue' | 'cyan' | 'pink' | 'purple' | 'green' | 'yellow' | 'red' | 'white';\r\n\r\nexport type DropdownItemTypes = string | number | { name: string | number; username: string; selected?: boolean };\r\n\r\nexport type PaginationDotTypes = 'dot' | 'line';\r\n\r\nexport type FileIconStyles = 'default' | 'gray' | 'solid';\r\n\r\nexport type FileIconTypes = 'pdf' | 'csv' | 'jpg' | 'jpeg' | 'ppt' | 'pptx' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'svg' | 'txt' | 'zip' | 'rar' | 'mp3' | 'mp4' | 'png' | 'empty';\r\n\r\nexport type TableCellTypes = 'text' | 'lead_text' | 'lead_checkbox' | 'badge';\r\n\r\nexport type ProgressStepStatus = 'incomplete' | 'current' | 'complete';\r\n\r\nexport type ProgressStepTypes = 'icon_only' | 'icon_left' | 'icon_top' | 'text_line' | 'featured_icon_left' | 'featured_icon_top';\r\n\r\nexport type ProgressStepStates = 'default' | 'destructive';\r\n\r\nexport type BadgeTypes = 'pill_color' | 'pill_outline' | 'badge_color' | 'badge_modern';\r\n\r\nexport type GeneralStyles = 'standard' | 'compact';\r\n\r\nexport type StateType = 'default' | 'disabled' | 'applied' | 'loading';\r\n\r\nexport type ButtonGroupTypes = 'false' | 'leading' | 'only' | 'dot' | 'checkbox';\r\n\r\nexport type ThemeTypes = 'system' | 'light' | 'dark';\r\n\r\nexport type BadgeIconTypes = 'dot' | 'avatar' | 'icon_leading' | 'icon_trailing' | 'country' | 'only' | 'false';\r\n\r\nexport type DropdownRoles = { badgeLabel: string; badgeColor: GeneralColors; badgeType: BadgeTypes };\r\n\r\nexport type StepperType = {\r\n state: ProgressStepStates;\r\n status: ProgressStepStatus;\r\n label?: string;\r\n supportingText?: string;\r\n};\r\n\r\nexport type DetailCellType = 'information' | 'document' | 'status' | 'button';\r\n\r\nexport type MetricFeaturedIconTypes = 'glassmorphism' | 'circular_filled';\r\n\r\nexport interface DropdownListGroup {\r\n icon: string;\r\n label: string;\r\n shortcut: string;\r\n}\r\n\r\nexport type CloseButtonPositions = 'left' | 'right';\r\n\r\nexport interface Notification {\r\n label: string;\r\n time: string;\r\n desc: string;\r\n icon: string;\r\n}\r\n\r\nexport type IllustrationTypes = 'cloud' | 'box' | 'documents' | 'credit_card';\r\n\r\nexport type PatternTypes = 'circles' | 'grid' | 'grid_dot' | 'squares';\r\n\r\nexport type MobilePosition = 'top_left' | 'top_right' | 'bottom_left' | 'bottom_right';\r\n\r\nexport interface TableColumn {\r\n key: string;\r\n label: string;\r\n transform?: {};\r\n value?: (row: any) => any;\r\n supportingText?: string | ((row: any) => string);\r\n width?: string;\r\n align?: 'left' | 'center' | 'right';\r\n stickyRight?: boolean;\r\n helpIcon?: boolean;\r\n sortable?: boolean;\r\n sortType?: 'string' | 'number' | 'date';\r\n visible?: boolean;\r\n sortComparator?: (a: any, b: any) => number;\r\n cellComponent?: string;\r\n cellActionType?: 'dropdown' | 'void';\r\n cellProps?: ((row: any) => { [key: string]: any }) | { [key: string]: any };\r\n cellSlots?: {\r\n default?: {\r\n tag?: string; // e.g., 'p', 'span' to wrap content\r\n content: (row: any) => string | any; // Function to get slot content\r\n };\r\n named?: {\r\n [slotName: string]: {\r\n tag: string; // e.g., 'p', 'h1', 'span'\r\n content: (row: any) => string | any; // Function to get slot content\r\n };\r\n };\r\n };\r\n cellClass?: string | ((row: any) => string);\r\n cellStyle?: { [key: string]: string } | ((row: any) => { [key: string]: string });\r\n onClick?: () => void;\r\n mobile?: {\r\n position?: MobilePosition;\r\n };\r\n gridCard?: {\r\n buttonIcon?: string;\r\n buttonText?: string;\r\n }\r\n}\r\n\r\nexport interface RowAction {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n destructive?: boolean;\r\n type?: 'button' | 'dropdown';\r\n}\r\n\r\nexport interface DropdownOption {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n}\r\n\r\nexport type PortalPlacement =\r\n | 'top'\r\n | 'top-start'\r\n | 'top-end'\r\n | 'bottom'\r\n | 'bottom-start'\r\n | 'bottom-end'\r\n | 'left'\r\n | 'left-start'\r\n | 'left-end'\r\n | 'right'\r\n | 'right-start'\r\n | 'right-end';\r\n\r\nexport interface FilterField {\r\n tag: 'gb-date-range' | 'gb-input-dropdown' | 'gb-slider' | string;\r\n key: string | { start: string; end: string }; // date ranges need two keys\r\n event: string | { start: string; end: string }; // date ranges need two events\r\n label?: string;\r\n props?: any;\r\n default?: any;\r\n}\r\n\r\nexport interface FilterConfig {\r\n title: string;\r\n showClearButton?: boolean;\r\n fields: FilterField[];\r\n initialValues: {\r\n pageNumber: number;\r\n pageSize: number;\r\n };\r\n appliedValues?: Record<string, any>;\r\n}\r\n"]}
1
+ {"version":3,"file":"reusableModels.js","sourceRoot":"","sources":["../../src/models/reusableModels.ts"],"names":[],"mappings":"AAIA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAMD,MAAM,CAAN,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,yCAAwB,CAAA;IACxB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EALW,aAAa,KAAb,aAAa,QAKxB;AAED,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACrB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC","sourcesContent":["export type GeneralSizes = 'xxxxl' | 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs' | 'profile_lg' | 'profile_md' | 'profile_sm';\r\n\r\nexport type GeneralHierarchies = 'primary' | 'secondary_gray' | 'secondary_color' | 'tertiary_gray' | 'tertiary_color' | 'link_gray' | 'link_color';\r\n\r\nexport enum StateEnum {\r\n Default = 'default',\r\n Disabled = 'disabled',\r\n}\r\n\r\nexport type ArrowPositions = 'bottom_center' | 'bottom_left' | 'bottom_right' | 'top_center' | 'left' | 'right' | 'none' | 'center';\r\n\r\nexport type CheckBoxVariants = 'checkbox' | 'check_circle' | 'radio';\r\n\r\nexport enum BorderWeights {\r\n VeryLight = 'very_light',\r\n Light = 'light',\r\n Regular = 'regular',\r\n Heavy = 'heavy',\r\n}\r\n\r\nexport enum OnlineIndicatorStates {\r\n Online = 'online',\r\n Offline = 'offline',\r\n}\r\n\r\nexport type BreakPoints = 'desktop' | 'mobile';\r\n\r\nexport type FileUploadIconType = 'solid' | 'outline';\r\n\r\nexport type FileUploadStates = 'default' | 'in_progress' | 'complete' | 'hover' | 'disabled' | 'error';\r\n\r\nexport type GeneralColors = 'default' | 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'discovery' | 'information' | 'pink' | 'purple' | 'white';\r\n\r\nexport type PaginationNumberShapes = 'square' | 'circle';\r\n\r\nexport type PaginationTypes =\r\n | 'page_default'\r\n | 'page_minimal_center_aligned'\r\n | 'card_default'\r\n | 'card_minimal_right_aligned'\r\n | 'card_minimal_left_aligned'\r\n | 'card_minimal_center_aligned'\r\n | 'card_button_group_right_aligned'\r\n | 'card_button_group_left_aligned'\r\n | 'card_button_group_center_aligned';\r\n\r\nexport type TabTypes =\r\n | 'button_primary'\r\n | 'button_gray'\r\n | 'button_white'\r\n | 'rounded_button_white'\r\n | 'underline'\r\n | 'underline_filled'\r\n | 'line'\r\n | 'button_white_border'\r\n | 'rounded_button_white_border'\r\n | 'button_gray_border';\r\n\r\nexport type GeneralBackgroundCategories = 'plain_background' | 'colored_background';\r\n\r\nexport type InputFieldTypes =\r\n | 'default'\r\n | 'icon_leading'\r\n | 'leading_dropdown'\r\n | 'trailing_dropdown'\r\n | 'leading_text'\r\n | 'payment_input'\r\n | 'tags'\r\n | 'trailing_button'\r\n | 'password'\r\n | 'password_icon_leading'\r\n | 'count';\r\n\r\nexport type DropdownTypes = 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox' | 'search' | 'tags';\r\n\r\nexport type ColorTypes = 'gray' | 'blue' | 'cyan' | 'pink' | 'purple' | 'green' | 'yellow' | 'red' | 'white';\r\n\r\nexport type DropdownItemTypes = string | number | { name: string | number; username: string; selected?: boolean };\r\n\r\nexport type PaginationDotTypes = 'dot' | 'line';\r\n\r\nexport type FileIconStyles = 'default' | 'gray' | 'solid';\r\n\r\nexport type FileIconTypes = 'pdf' | 'csv' | 'jpg' | 'jpeg' | 'ppt' | 'pptx' | 'doc' | 'docx' | 'xls' | 'xlsx' | 'svg' | 'txt' | 'zip' | 'rar' | 'mp3' | 'mp4' | 'png' | 'empty';\r\n\r\nexport type TableCellTypes = 'text' | 'lead_text' | 'lead_checkbox' | 'badge';\r\n\r\nexport type ProgressStepStatus = 'incomplete' | 'current' | 'complete';\r\n\r\nexport type ProgressStepTypes = 'icon_only' | 'icon_left' | 'icon_top' | 'text_line' | 'featured_icon_left' | 'featured_icon_top';\r\n\r\nexport type ProgressStepStates = 'default' | 'destructive';\r\n\r\nexport type BadgeTypes = 'pill_color' | 'pill_outline' | 'badge_color' | 'badge_modern';\r\n\r\nexport type GeneralStyles = 'standard' | 'compact';\r\n\r\nexport type StateType = 'default' | 'disabled' | 'applied' | 'loading';\r\n\r\nexport type ButtonGroupTypes = 'false' | 'leading' | 'only' | 'dot' | 'checkbox';\r\n\r\nexport type ThemeTypes = 'system' | 'light' | 'dark';\r\n\r\nexport type BadgeIconTypes = 'dot' | 'avatar' | 'icon_leading' | 'icon_trailing' | 'country' | 'only' | 'false';\r\n\r\nexport type DropdownRoles = { badgeLabel: string; badgeColor: GeneralColors; badgeType: BadgeTypes };\r\n\r\nexport type StepperType = {\r\n state: ProgressStepStates;\r\n status: ProgressStepStatus;\r\n label?: string;\r\n supportingText?: string;\r\n};\r\n\r\nexport type DetailCellType = 'information' | 'document' | 'status' | 'button';\r\n\r\nexport type MetricFeaturedIconTypes = 'glassmorphism' | 'circular_filled';\r\n\r\nexport interface DropdownListGroup {\r\n icon: string;\r\n label: string;\r\n shortcut: string;\r\n}\r\n\r\nexport type CloseButtonPositions = 'left' | 'right';\r\n\r\nexport interface Notification {\r\n label: string;\r\n time: string;\r\n desc: string;\r\n icon: string;\r\n}\r\n\r\nexport type IllustrationTypes = 'cloud' | 'box' | 'documents' | 'credit_card';\r\n\r\nexport type PatternTypes = 'circles' | 'grid' | 'grid_dot' | 'squares';\r\n\r\nexport type MobilePosition = 'top_left' | 'top_right' | 'bottom_left' | 'bottom_right';\r\n\r\nexport interface TableColumn {\r\n key: string;\r\n label: string;\r\n value?: (row: any) => any;\r\n supportingText?: string | ((row: any) => string);\r\n width?: string;\r\n align?: 'left' | 'center' | 'right';\r\n helpIcon?: boolean;\r\n sortable?: boolean;\r\n sortType?: 'string' | 'number' | 'date';\r\n visible?: boolean;\r\n cellComponent?: string;\r\n searchable?: boolean;\r\n cellProps?: ((row: any) => { [key: string]: any }) | { [key: string]: any };\r\n cellSlots?: {\r\n default?: {\r\n tag?: string; // e.g., 'p', 'span' to wrap content\r\n content: (row: any) => string | any; // Function to get slot content\r\n };\r\n named?: {\r\n [slotName: string]: {\r\n tag: string; // e.g., 'p', 'h1', 'span'\r\n content: (row: any) => string | any; // Function to get slot content\r\n };\r\n };\r\n };\r\n cellClass?: string | ((row: any) => string);\r\n cellStyle?: { [key: string]: string } | ((row: any) => { [key: string]: string });\r\n splitCell?: {\r\n left: (row: any) => string | number;\r\n right: (row: any) => string | number;\r\n separator?: string;\r\n leftStyle?: (row: any) => { [key: string]: string };\r\n rightStyle?: (row: any) => { [key: string]: string };\r\n };\r\n onClick?: () => void;\r\n mobile?: {\r\n position?: MobilePosition;\r\n };\r\n gridCard?: {\r\n buttonIcon?: string;\r\n buttonText?: string;\r\n };\r\n}\r\n\r\nexport interface RowAction {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n destructive?: boolean;\r\n type?: 'button' | 'dropdown';\r\n}\r\n\r\nexport interface DropdownOption {\r\n label: string;\r\n icon?: string;\r\n action: string; // emitted event name\r\n disabled?: boolean;\r\n}\r\n\r\nexport type PortalPlacement =\r\n | 'top'\r\n | 'top-start'\r\n | 'top-end'\r\n | 'bottom'\r\n | 'bottom-start'\r\n | 'bottom-end'\r\n | 'left'\r\n | 'left-start'\r\n | 'left-end'\r\n | 'right'\r\n | 'right-start'\r\n | 'right-end';\r\n\r\nexport interface FilterField {\r\n tag: string;\r\n key: string | { start: string; end: string }; // date ranges need two keys\r\n event: string | { start: string; end: string }; // date ranges need two events\r\n label?: string;\r\n props?: any;\r\n default?: any;\r\n}\r\n\r\nexport interface FilterConfig {\r\n title: string;\r\n showClearButton?: boolean;\r\n fields: FilterField[];\r\n initialValues: {\r\n pageNumber: number;\r\n pageSize: number;\r\n };\r\n appliedValues?: Record<string, any>;\r\n}\r\n"]}