globuswebcomponents 2.17.3 → 2.17.5
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.
- package/dist/cjs/{gb-accordion-card_80.cjs.entry.js → gb-accordion-card_81.cjs.entry.js} +69 -25
- package/dist/cjs/gb-token-field-compact.cjs.entry.js +1 -1
- package/dist/cjs/gb-token-field-compressed.cjs.entry.js +2 -2
- package/dist/cjs/gb-vertical-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-editor-icon.cjs.entry.js +1 -1
- package/dist/cjs/gb-wysiwyg-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/test-input-tag.cjs.entry.js +2 -2
- package/dist/collection/components/gb-table/gb-table.js +36 -14
- package/dist/collection/components/gb-table/gb-table.js.map +1 -1
- package/dist/collection/components/gb-table-test/gb-table-test.js +20 -1
- package/dist/collection/components/gb-table-test/gb-table-test.js.map +1 -1
- package/dist/collection/components/gb-tag/gb-tag.js +1 -1
- package/dist/collection/components/gb-tag-checkbox/gb-tag-checkbox.js +1 -1
- package/dist/collection/components/gb-tag-close/gb-tag-close.js +1 -1
- package/dist/collection/components/gb-tag-count/gb-tag-count.js +1 -1
- package/dist/collection/components/gb-textarea-input-field/gb-textarea-input-field.js +3 -3
- package/dist/collection/components/gb-theme-tab/gb-theme-tab.js +1 -1
- package/dist/collection/components/gb-toast/gb-toast.js +1 -1
- package/dist/collection/components/gb-toast-button/gb-toast-button.js +1 -1
- package/dist/collection/components/gb-toggle/gb-toggle.js +1 -1
- package/dist/collection/components/gb-toggle-base/gb-toggle-base.js +2 -2
- package/dist/collection/components/gb-token-field-compact/gb-token-field-compact.js +1 -1
- package/dist/collection/components/gb-token-field-compressed/gb-token-field-compressed.js +2 -2
- package/dist/collection/components/gb-tooltip/gb-tooltip.js +1 -1
- package/dist/collection/components/gb-vertical-tabs/gb-vertical-tabs.js +1 -1
- package/dist/collection/components/gb-wysiwyg-editor-icon/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/collection/components/gb-wysiwyg-toolbar/gb-wysiwyg-toolbar.js +1 -1
- package/dist/collection/components/test-input-tag/test-input-tag.js +2 -2
- package/dist/components/gb-accordion-card.js +2 -2
- package/dist/components/gb-action-panel.js +2 -2
- package/dist/components/gb-approval-modal.js +8 -8
- package/dist/components/gb-avatar-add-button.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +1 -1
- package/dist/components/gb-avatar-group.js +2 -2
- package/dist/components/gb-btn.js +1 -1
- package/dist/components/gb-button.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +3 -3
- package/dist/components/gb-collapse-button.js +1 -1
- package/dist/components/gb-comment.js +2 -2
- package/dist/components/gb-complex-primary-side-bar-item.js +1 -1
- package/dist/components/gb-complex-secondary-side-bar-item.js +1 -1
- package/dist/components/gb-date-picker.js +1 -1
- package/dist/components/gb-detail-cell.js +2 -2
- package/dist/components/gb-empty-state.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +4 -4
- package/dist/components/gb-filter-button.js +1 -1
- package/dist/components/gb-filter-modal.js +1 -1
- package/dist/components/gb-header.js +13 -13
- package/dist/components/gb-help-tooltip.js +1 -1
- package/dist/components/gb-icon-button-base.js +1 -1
- package/dist/components/gb-input-dropdown-test.js +9 -9
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +1 -1
- package/dist/components/gb-modal-action.js +1 -1
- package/dist/components/gb-modal.js +3 -3
- package/dist/components/gb-nav-bar-item.js +1 -1
- package/dist/components/gb-nav-bar-sidemenu.js +1 -1
- package/dist/components/gb-nav-bar.js +2 -2
- package/dist/components/gb-notification-pane.js +1 -1
- package/dist/components/gb-pagination.js +1 -1
- package/dist/components/gb-password-button.js +1 -1
- package/dist/components/gb-progress-bar.js +1 -1
- package/dist/components/gb-prompt-modal.js +2 -2
- package/dist/components/gb-rich-text.js +12 -12
- package/dist/components/gb-sidebar.js +5 -5
- package/dist/components/gb-simple-side-bar-item.js +1 -1
- package/dist/components/gb-slider-control-handle.js +1 -1
- package/dist/components/gb-slider.js +2 -2
- package/dist/components/gb-table-header.js +1 -1
- package/dist/components/gb-table.js +1 -1
- package/dist/components/gb-tag-checkbox.js +1 -1
- package/dist/components/gb-tag-close.js +1 -1
- package/dist/components/gb-tag-count.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-textarea-input-field.js +1 -1
- package/dist/components/gb-theme-tab.js +1 -1
- package/dist/components/gb-toast-button.js +1 -1
- package/dist/components/gb-toast.js +1 -1
- package/dist/components/gb-toggle-base.js +1 -1
- package/dist/components/gb-toggle.js +1 -1
- package/dist/components/gb-token-field-compact.js +1 -1
- package/dist/components/gb-token-field-compressed.js +2 -2
- package/dist/components/gb-tooltip.js +1 -1
- package/dist/components/gb-vertical-tabs.js +1 -1
- package/dist/components/gb-wysiwyg-editor-icon.js +1 -1
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/gb-wysiwyg-tooltip.js +1 -1
- package/dist/components/{p-C1dYzyfa.js → p-4YZvp-qM.js} +3 -3
- package/dist/components/{p-C1dYzyfa.js.map → p-4YZvp-qM.js.map} +1 -1
- package/dist/components/{p-mmif47-b.js → p-B-_n34Mq.js} +3 -3
- package/dist/components/{p-mmif47-b.js.map → p-B-_n34Mq.js.map} +1 -1
- package/dist/components/{p-eH4yIAd0.js → p-B0otylT9.js} +4 -4
- package/dist/components/{p-eH4yIAd0.js.map → p-B0otylT9.js.map} +1 -1
- package/dist/components/{p-bukoNd9j.js → p-B9y0gFWa.js} +3 -3
- package/dist/components/{p-bukoNd9j.js.map → p-B9y0gFWa.js.map} +1 -1
- package/dist/components/{p-F2IP2NQ7.js → p-BH_pWFmu.js} +10 -10
- package/dist/components/{p-F2IP2NQ7.js.map → p-BH_pWFmu.js.map} +1 -1
- package/dist/components/{p-CUQQ_pVS.js → p-BNAvzBZq.js} +3 -3
- package/dist/components/{p-CUQQ_pVS.js.map → p-BNAvzBZq.js.map} +1 -1
- package/dist/components/{p-C555_4OR.js → p-BQeqF_-6.js} +4 -4
- package/dist/components/{p-C555_4OR.js.map → p-BQeqF_-6.js.map} +1 -1
- package/dist/components/{p-DUcTdAwQ.js → p-BX4Hw5Pp.js} +3 -3
- package/dist/components/{p-DUcTdAwQ.js.map → p-BX4Hw5Pp.js.map} +1 -1
- package/dist/components/{p-C-81y7Ao.js → p-Bp0YR1uJ.js} +3 -3
- package/dist/components/{p-C-81y7Ao.js.map → p-Bp0YR1uJ.js.map} +1 -1
- package/dist/components/{p-CjlHYbIG.js → p-BuCno_es.js} +49 -32
- package/dist/components/p-BuCno_es.js.map +1 -0
- package/dist/components/{p-COvlJwgH.js → p-C-e3hNlH.js} +4 -4
- package/dist/components/{p-COvlJwgH.js.map → p-C-e3hNlH.js.map} +1 -1
- package/dist/components/{p-BMVHXgxU.js → p-C1BEL6jH.js} +12 -12
- package/dist/components/{p-BMVHXgxU.js.map → p-C1BEL6jH.js.map} +1 -1
- package/dist/components/{p-CF8lWVGI.js → p-C2x5lNJ2.js} +3 -3
- package/dist/components/{p-CF8lWVGI.js.map → p-C2x5lNJ2.js.map} +1 -1
- package/dist/components/{p-By06v2rr.js → p-C5In_G7H.js} +3 -3
- package/dist/components/{p-By06v2rr.js.map → p-C5In_G7H.js.map} +1 -1
- package/dist/components/{p-BfQfhmt2.js → p-CHKnEWqk.js} +4 -4
- package/dist/components/{p-BfQfhmt2.js.map → p-CHKnEWqk.js.map} +1 -1
- package/dist/components/{p-SXFZD34y.js → p-CU5l35gn.js} +3 -3
- package/dist/components/{p-SXFZD34y.js.map → p-CU5l35gn.js.map} +1 -1
- package/dist/components/{p-B49zVmuD.js → p-CZkEMeZd.js} +4 -4
- package/dist/components/{p-B49zVmuD.js.map → p-CZkEMeZd.js.map} +1 -1
- package/dist/components/{p-DS5er_ay.js → p-CcdQMEiN.js} +14 -14
- package/dist/components/{p-DS5er_ay.js.map → p-CcdQMEiN.js.map} +1 -1
- package/dist/components/{p-BbUBXvD3.js → p-Cf_GFf1d.js} +4 -4
- package/dist/components/{p-BbUBXvD3.js.map → p-Cf_GFf1d.js.map} +1 -1
- package/dist/components/{p-BB-vktvb.js → p-ChGsSHyD.js} +3 -3
- package/dist/components/{p-BB-vktvb.js.map → p-ChGsSHyD.js.map} +1 -1
- package/dist/components/{p-DK1gLemw.js → p-Cp9sNYro.js} +3 -3
- package/dist/components/{p-DK1gLemw.js.map → p-Cp9sNYro.js.map} +1 -1
- package/dist/components/{p-u073g6kS.js → p-Cx4oJFSt.js} +3 -3
- package/dist/components/{p-u073g6kS.js.map → p-Cx4oJFSt.js.map} +1 -1
- package/dist/components/{p-DlL4FShm.js → p-CxgSqKYx.js} +3 -3
- package/dist/components/{p-DlL4FShm.js.map → p-CxgSqKYx.js.map} +1 -1
- package/dist/components/{p-B-jY6LAf.js → p-D2XNcd98.js} +11 -11
- package/dist/components/{p-B-jY6LAf.js.map → p-D2XNcd98.js.map} +1 -1
- package/dist/components/{p-CxQvrUbZ.js → p-DTVnCJvY.js} +3 -3
- package/dist/components/{p-CxQvrUbZ.js.map → p-DTVnCJvY.js.map} +1 -1
- package/dist/components/{p-BOvu3PCb.js → p-DX7NMlGY.js} +9 -9
- package/dist/components/{p-BOvu3PCb.js.map → p-DX7NMlGY.js.map} +1 -1
- package/dist/components/{p-DAyBw9KX.js → p-DclzsKE1.js} +3 -3
- package/dist/components/{p-DAyBw9KX.js.map → p-DclzsKE1.js.map} +1 -1
- package/dist/components/{p-BwVwRnu4.js → p-DeXQ5EJ5.js} +3 -3
- package/dist/components/{p-BwVwRnu4.js.map → p-DeXQ5EJ5.js.map} +1 -1
- package/dist/components/{p-COlgB45x.js → p-DgixiwuN.js} +13 -13
- package/dist/components/{p-COlgB45x.js.map → p-DgixiwuN.js.map} +1 -1
- package/dist/components/{p-CphUJ7Q5.js → p-Dh9pNyX0.js} +4 -4
- package/dist/components/{p-CphUJ7Q5.js.map → p-Dh9pNyX0.js.map} +1 -1
- package/dist/components/{p-d1qdPSLe.js → p-Dt60TTUE.js} +6 -6
- package/dist/components/{p-d1qdPSLe.js.map → p-Dt60TTUE.js.map} +1 -1
- package/dist/components/{p-B5TsN1E4.js → p-GszQCyXb.js} +4 -4
- package/dist/components/{p-B5TsN1E4.js.map → p-GszQCyXb.js.map} +1 -1
- package/dist/components/{p-CLvY21aj.js → p-QPpFI6Tl.js} +5 -5
- package/dist/components/{p-CLvY21aj.js.map → p-QPpFI6Tl.js.map} +1 -1
- package/dist/components/{p-dVwy1uvR.js → p-TVd0-ncC.js} +5 -5
- package/dist/components/{p-dVwy1uvR.js.map → p-TVd0-ncC.js.map} +1 -1
- package/dist/components/{p-D0_rEkQ_.js → p-XOEsdWXU.js} +4 -4
- package/dist/components/{p-D0_rEkQ_.js.map → p-XOEsdWXU.js.map} +1 -1
- package/dist/components/{p-CCiQQgXc.js → p-b_TGMORd.js} +5 -5
- package/dist/components/{p-CCiQQgXc.js.map → p-b_TGMORd.js.map} +1 -1
- package/dist/components/{p-B1VheAVY.js → p-dvsnNsWY.js} +5 -5
- package/dist/components/{p-B1VheAVY.js.map → p-dvsnNsWY.js.map} +1 -1
- package/dist/components/{p-BYP6HAjp.js → p-iWdssWCr.js} +3 -3
- package/dist/components/{p-BYP6HAjp.js.map → p-iWdssWCr.js.map} +1 -1
- package/dist/components/{p-C26KO13_.js → p-n4Lzg2Aw.js} +3 -3
- package/dist/components/{p-C26KO13_.js.map → p-n4Lzg2Aw.js.map} +1 -1
- package/dist/components/{p-DAgyye0m.js → p-wH0NPWp6.js} +6 -6
- package/dist/components/{p-DAgyye0m.js.map → p-wH0NPWp6.js.map} +1 -1
- package/dist/components/test-input-tag.js +6 -6
- package/dist/components/test-wrapper.js +39 -22
- package/dist/components/test-wrapper.js.map +1 -1
- package/dist/docs.json +20 -15
- package/dist/esm/{gb-accordion-card_80.entry.js → gb-accordion-card_81.entry.js} +69 -26
- package/dist/esm/gb-token-field-compact.entry.js +1 -1
- package/dist/esm/gb-token-field-compressed.entry.js +2 -2
- package/dist/esm/gb-vertical-tabs.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-editor-icon.entry.js +1 -1
- package/dist/esm/gb-wysiwyg-toolbar.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/test-input-tag.entry.js +2 -2
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-d5f82cf7.entry.js → p-1e5f04e2.entry.js} +2 -2
- package/dist/globuscomponents/{p-3574b3d8.entry.js → p-42063daf.entry.js} +2 -2
- package/dist/globuscomponents/{p-29ee3766.entry.js → p-528e9bbf.entry.js} +2 -2
- package/dist/globuscomponents/{p-d3157710.entry.js → p-53b415e8.entry.js} +2 -2
- package/dist/globuscomponents/{p-ca8a55bf.entry.js → p-9767bb82.entry.js} +2 -2
- package/dist/globuscomponents/{p-e1933bac.entry.js → p-b2bab8bd.entry.js} +2 -2
- package/dist/globuscomponents/{p-95cf9d76.entry.js → p-f9c27149.entry.js} +2 -2
- package/dist/globuscomponents/p-f9c27149.entry.js.map +1 -0
- package/dist/types/components/gb-table/gb-table.d.ts +2 -1
- package/dist/types/components/gb-table-test/gb-table-test.d.ts +1 -0
- package/dist/types/components.d.ts +4 -4
- package/package.json +1 -1
- package/dist/cjs/test-wrapper.cjs.entry.js +0 -15
- package/dist/cjs/test-wrapper.entry.cjs.js.map +0 -1
- package/dist/components/p-CjlHYbIG.js.map +0 -1
- package/dist/esm/test-wrapper.entry.js +0 -13
- package/dist/esm/test-wrapper.entry.js.map +0 -1
- package/dist/globuscomponents/p-95cf9d76.entry.js.map +0 -1
- package/dist/globuscomponents/p-f22a7164.entry.js +0 -2
- package/dist/globuscomponents/p-f22a7164.entry.js.map +0 -1
- package/dist/globuscomponents/test-wrapper.entry.esm.js.map +0 -1
- /package/dist/globuscomponents/{p-d5f82cf7.entry.js.map → p-1e5f04e2.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-3574b3d8.entry.js.map → p-42063daf.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-29ee3766.entry.js.map → p-528e9bbf.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-d3157710.entry.js.map → p-53b415e8.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-ca8a55bf.entry.js.map → p-9767bb82.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-e1933bac.entry.js.map → p-b2bab8bd.entry.js.map} +0 -0
|
@@ -3,47 +3,47 @@ import { d as defineCustomElement$K } from './p-DroMe7VO.js';
|
|
|
3
3
|
import { d as defineCustomElement$J } from './p-B51vQVpx.js';
|
|
4
4
|
import { d as defineCustomElement$I } from './p-BZ9vv5E3.js';
|
|
5
5
|
import { d as defineCustomElement$H } from './p-BWyVUKHc.js';
|
|
6
|
-
import { d as defineCustomElement$G } from './p-
|
|
6
|
+
import { d as defineCustomElement$G } from './p-4YZvp-qM.js';
|
|
7
7
|
import { d as defineCustomElement$F } from './p-h91Dztxi.js';
|
|
8
8
|
import { d as defineCustomElement$E } from './p-DxLS0f-k.js';
|
|
9
9
|
import { d as defineCustomElement$D } from './p-BX_8_riQ.js';
|
|
10
10
|
import { d as defineCustomElement$C } from './p-SKoUZhFj.js';
|
|
11
11
|
import { d as defineCustomElement$B } from './p-CKnfdyi_.js';
|
|
12
|
-
import { d as defineCustomElement$A } from './p-
|
|
12
|
+
import { d as defineCustomElement$A } from './p-GszQCyXb.js';
|
|
13
13
|
import { d as defineCustomElement$z } from './p-DXfBxkZa.js';
|
|
14
14
|
import { d as defineCustomElement$y } from './p-CKGW_9DF.js';
|
|
15
|
-
import { d as defineCustomElement$x } from './p-
|
|
15
|
+
import { d as defineCustomElement$x } from './p-BQeqF_-6.js';
|
|
16
16
|
import { d as defineCustomElement$w } from './p-D8TbE87E.js';
|
|
17
17
|
import { d as defineCustomElement$v } from './p-l4NAoTg1.js';
|
|
18
18
|
import { d as defineCustomElement$u } from './p-BQYGeEdk.js';
|
|
19
19
|
import { d as defineCustomElement$t } from './p-Da8vQ35R.js';
|
|
20
20
|
import { d as defineCustomElement$s } from './p-BF1n_EyK.js';
|
|
21
21
|
import { d as defineCustomElement$r } from './p-CSaTBTIt.js';
|
|
22
|
-
import { d as defineCustomElement$q } from './p-
|
|
23
|
-
import { d as defineCustomElement$p } from './p-
|
|
24
|
-
import { d as defineCustomElement$o } from './p-
|
|
22
|
+
import { d as defineCustomElement$q } from './p-Dh9pNyX0.js';
|
|
23
|
+
import { d as defineCustomElement$p } from './p-QPpFI6Tl.js';
|
|
24
|
+
import { d as defineCustomElement$o } from './p-C2x5lNJ2.js';
|
|
25
25
|
import { d as defineCustomElement$n } from './p-B1LJDjRd.js';
|
|
26
|
-
import { d as defineCustomElement$m } from './p-
|
|
26
|
+
import { d as defineCustomElement$m } from './p-D2XNcd98.js';
|
|
27
27
|
import { d as defineCustomElement$l } from './p-DyVFLPPE.js';
|
|
28
|
-
import { d as defineCustomElement$k } from './p-
|
|
29
|
-
import { d as defineCustomElement$j } from './p-
|
|
28
|
+
import { d as defineCustomElement$k } from './p-BH_pWFmu.js';
|
|
29
|
+
import { d as defineCustomElement$j } from './p-C1BEL6jH.js';
|
|
30
30
|
import { d as defineCustomElement$i } from './p-DQnLwdpJ.js';
|
|
31
31
|
import { d as defineCustomElement$h } from './p-Cz4DlZDq.js';
|
|
32
|
-
import { d as defineCustomElement$g } from './p-
|
|
32
|
+
import { d as defineCustomElement$g } from './p-C-e3hNlH.js';
|
|
33
33
|
import { d as defineCustomElement$f } from './p-DFCxlsQj.js';
|
|
34
34
|
import { d as defineCustomElement$e } from './p-_uyykawA.js';
|
|
35
35
|
import { d as defineCustomElement$d } from './p-CSHVIxEk.js';
|
|
36
|
-
import { d as defineCustomElement$c } from './p-
|
|
37
|
-
import { d as defineCustomElement$b } from './p-
|
|
38
|
-
import { d as defineCustomElement$a } from './p-
|
|
39
|
-
import { d as defineCustomElement$9 } from './p-
|
|
40
|
-
import { d as defineCustomElement$8 } from './p-
|
|
41
|
-
import { d as defineCustomElement$7 } from './p-
|
|
42
|
-
import { d as defineCustomElement$6 } from './p-
|
|
43
|
-
import { d as defineCustomElement$5 } from './p-
|
|
44
|
-
import { d as defineCustomElement$4 } from './p-
|
|
45
|
-
import { d as defineCustomElement$3 } from './p-
|
|
46
|
-
import { d as defineCustomElement$2 } from './p-
|
|
36
|
+
import { d as defineCustomElement$c } from './p-BuCno_es.js';
|
|
37
|
+
import { d as defineCustomElement$b } from './p-DgixiwuN.js';
|
|
38
|
+
import { d as defineCustomElement$a } from './p-Dt60TTUE.js';
|
|
39
|
+
import { d as defineCustomElement$9 } from './p-DclzsKE1.js';
|
|
40
|
+
import { d as defineCustomElement$8 } from './p-CU5l35gn.js';
|
|
41
|
+
import { d as defineCustomElement$7 } from './p-Bp0YR1uJ.js';
|
|
42
|
+
import { d as defineCustomElement$6 } from './p-wH0NPWp6.js';
|
|
43
|
+
import { d as defineCustomElement$5 } from './p-B-_n34Mq.js';
|
|
44
|
+
import { d as defineCustomElement$4 } from './p-XOEsdWXU.js';
|
|
45
|
+
import { d as defineCustomElement$3 } from './p-CZkEMeZd.js';
|
|
46
|
+
import { d as defineCustomElement$2 } from './p-n4Lzg2Aw.js';
|
|
47
47
|
|
|
48
48
|
const TestWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TestWrapper extends H {
|
|
49
49
|
constructor(registerHost) {
|
|
@@ -52,9 +52,26 @@ const TestWrapper$1 = /*@__PURE__*/ proxyCustomElement(class TestWrapper extends
|
|
|
52
52
|
this.__registerHost();
|
|
53
53
|
}
|
|
54
54
|
this.__attachShadow();
|
|
55
|
+
// Framework-agnostic per-row renderer. In an Angular app this is where you'd
|
|
56
|
+
// use ViewContainerRef.createComponent(...) and append ref.location.nativeElement.
|
|
57
|
+
this.renderRowAction = (container, row, emit) => {
|
|
58
|
+
const btn = document.createElement('gb-button');
|
|
59
|
+
btn.setAttribute('size', 'md');
|
|
60
|
+
btn.setAttribute('hierarchy', 'link_color');
|
|
61
|
+
btn.setAttribute('icon', 'default');
|
|
62
|
+
btn.setAttribute('icon-leading', 'true');
|
|
63
|
+
btn.setAttribute('icon-leading-swap', 'assets/icons/transition-right/stroke/rounded.svg');
|
|
64
|
+
const label = document.createElement('p');
|
|
65
|
+
// Render the row id so it's obvious each row gets its own content.
|
|
66
|
+
label.textContent = `Action ${row.id}`;
|
|
67
|
+
btn.appendChild(label);
|
|
68
|
+
// Fire the table's rowActionClicked event, just like the built-in button type.
|
|
69
|
+
btn.addEventListener('click', () => emit('custom_submit'));
|
|
70
|
+
container.appendChild(btn);
|
|
71
|
+
};
|
|
55
72
|
}
|
|
56
73
|
render() {
|
|
57
|
-
return (h("gb-table", { key: '
|
|
74
|
+
return (h("gb-table", { key: '568cf81b557712c61278a86ac7a80fb2be95d586', renderCustomActions: this.renderRowAction, paginationConfig: { paginationMode: 'internal', entriesDropdownMenuPosition: 'top', currentPage: 1, pageSize: 5 }, onRowActionClicked: (e) => console.log('rowActionClicked', e.detail) }));
|
|
58
75
|
}
|
|
59
76
|
}, [257, "test-wrapper"]);
|
|
60
77
|
function defineCustomElement$1() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"test-wrapper.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAMaA,aAAW,iBAAAC,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA
|
|
1
|
+
{"file":"test-wrapper.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAMaA,aAAW,iBAAAC,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;AAJxB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;QAOU,IAAe,CAAA,eAAA,GAAG,CAAC,SAAsB,EAAE,GAAQ,EAAE,IAA8B,KAAI;YAC7F,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAQ;AACtD,YAAA,GAAG,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC;AAC9B,YAAA,GAAG,CAAC,YAAY,CAAC,WAAW,EAAE,YAAY,CAAC;AAC3C,YAAA,GAAG,CAAC,YAAY,CAAC,MAAM,EAAE,SAAS,CAAC;AACnC,YAAA,GAAG,CAAC,YAAY,CAAC,cAAc,EAAE,MAAM,CAAC;AACxC,YAAA,GAAG,CAAC,YAAY,CAAC,mBAAmB,EAAE,kDAAkD,CAAC;YAEzF,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC;;YAEzC,KAAK,CAAC,WAAW,GAAG,CAAA,OAAA,EAAU,GAAG,CAAC,EAAE,EAAE;AACtC,YAAA,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC;;AAGtB,YAAA,GAAG,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,CAAC;AAE1D,YAAA,SAAS,CAAC,WAAW,CAAC,GAAG,CAAC;AAC5B,SAAC;AAWF;IATC,MAAM,GAAA;QACJ,QACE,iEACE,mBAAmB,EAAE,IAAI,CAAC,eAAe,EACzC,gBAAgB,EAAE,EAAE,cAAc,EAAE,UAAU,EAAE,2BAA2B,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,EACjH,kBAAkB,EAAE,CAAC,CAA4C,KAAK,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,CAAC,CAAC,MAAM,CAAC,EAC/G,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["TestWrapper","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/gb-table-test/gb-table-test.tsx"],"sourcesContent":["import { Component, h } from '@stencil/core';\n\n@Component({\n tag: 'test-wrapper',\n shadow: true,\n})\nexport class TestWrapper {\n // Framework-agnostic per-row renderer. In an Angular app this is where you'd\n // use ViewContainerRef.createComponent(...) and append ref.location.nativeElement.\n private renderRowAction = (container: HTMLElement, row: any, emit: (action: string) => void) => {\n const btn = document.createElement('gb-button') as any;\n btn.setAttribute('size', 'md');\n btn.setAttribute('hierarchy', 'link_color');\n btn.setAttribute('icon', 'default');\n btn.setAttribute('icon-leading', 'true');\n btn.setAttribute('icon-leading-swap', 'assets/icons/transition-right/stroke/rounded.svg');\n\n const label = document.createElement('p');\n // Render the row id so it's obvious each row gets its own content.\n label.textContent = `Action ${row.id}`;\n btn.appendChild(label);\n\n // Fire the table's rowActionClicked event, just like the built-in button type.\n btn.addEventListener('click', () => emit('custom_submit'));\n\n container.appendChild(btn);\n };\n\n render() {\n return (\n <gb-table\n renderCustomActions={this.renderRowAction}\n paginationConfig={{ paginationMode: 'internal', entriesDropdownMenuPosition: 'top', currentPage: 1, pageSize: 5 }}\n onRowActionClicked={(e: CustomEvent<{ action: string; row: any }>) => console.log('rowActionClicked', e.detail)}\n />\n );\n }\n}\n"],"version":3}
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-06-
|
|
2
|
+
"timestamp": "2026-06-15T18:45:04",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.38.3",
|
|
@@ -31947,11 +31947,16 @@
|
|
|
31947
31947
|
},
|
|
31948
31948
|
{
|
|
31949
31949
|
"name": "renderCustomActions",
|
|
31950
|
-
"type": "(row: any) =>
|
|
31950
|
+
"type": "(container: HTMLElement, row: any, emit: (action: string) => void) => void",
|
|
31951
31951
|
"complexType": {
|
|
31952
|
-
"original": "(row: any) =>
|
|
31953
|
-
"resolved": "(row: any) =>
|
|
31954
|
-
"references": {
|
|
31952
|
+
"original": "(container: HTMLElement, row: any, emit: (action: string) => void) => void",
|
|
31953
|
+
"resolved": "(container: HTMLElement, row: any, emit: (action: string) => void) => void",
|
|
31954
|
+
"references": {
|
|
31955
|
+
"HTMLElement": {
|
|
31956
|
+
"location": "global",
|
|
31957
|
+
"id": "global::HTMLElement"
|
|
31958
|
+
}
|
|
31959
|
+
}
|
|
31955
31960
|
},
|
|
31956
31961
|
"mutable": false,
|
|
31957
31962
|
"reflectToAttr": false,
|
|
@@ -31959,7 +31964,7 @@
|
|
|
31959
31964
|
"docsTags": [],
|
|
31960
31965
|
"values": [
|
|
31961
31966
|
{
|
|
31962
|
-
"type": "(row: any) =>
|
|
31967
|
+
"type": "(container: HTMLElement, row: any, emit: (action: string) => void) => void"
|
|
31963
31968
|
}
|
|
31964
31969
|
],
|
|
31965
31970
|
"optional": true,
|
|
@@ -31987,10 +31992,10 @@
|
|
|
31987
31992
|
"docsTags": [
|
|
31988
31993
|
{
|
|
31989
31994
|
"name": "default",
|
|
31990
|
-
"text": "[\r\n // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n { action: 'edit', type: 'custom' },\r\n ]"
|
|
31995
|
+
"text": "[\r\n // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n // { action: 'edit', type: 'custom' },\r\n ]"
|
|
31991
31996
|
}
|
|
31992
31997
|
],
|
|
31993
|
-
"default": "[\r\n // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n { action: 'edit', type: 'custom' },\r\n ]",
|
|
31998
|
+
"default": "[\r\n // { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },\r\n // { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },\r\n // { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },\r\n // { action: 'edit', type: 'custom' },\r\n ]",
|
|
31994
31999
|
"values": [
|
|
31995
32000
|
{
|
|
31996
32001
|
"type": "RowAction[]"
|
|
@@ -38069,13 +38074,16 @@
|
|
|
38069
38074
|
"parts": [],
|
|
38070
38075
|
"dependents": [],
|
|
38071
38076
|
"dependencies": [
|
|
38072
|
-
"gb-
|
|
38073
|
-
"gb-
|
|
38077
|
+
"gb-button",
|
|
38078
|
+
"gb-table"
|
|
38074
38079
|
],
|
|
38075
38080
|
"dependencyGraph": {
|
|
38076
38081
|
"test-wrapper": [
|
|
38077
|
-
"gb-
|
|
38078
|
-
"gb-
|
|
38082
|
+
"gb-button",
|
|
38083
|
+
"gb-table"
|
|
38084
|
+
],
|
|
38085
|
+
"gb-button": [
|
|
38086
|
+
"gb-tooltip"
|
|
38079
38087
|
],
|
|
38080
38088
|
"gb-table": [
|
|
38081
38089
|
"gb-avatar",
|
|
@@ -38103,9 +38111,6 @@
|
|
|
38103
38111
|
"gb-checkbox": [
|
|
38104
38112
|
"gb-checkbox-base"
|
|
38105
38113
|
],
|
|
38106
|
-
"gb-button": [
|
|
38107
|
-
"gb-tooltip"
|
|
38108
|
-
],
|
|
38109
38114
|
"gb-dropdown-items-with-shortcut": [
|
|
38110
38115
|
"gb-checkbox"
|
|
38111
38116
|
],
|
|
@@ -10113,10 +10113,10 @@ const GbTable = class {
|
|
|
10113
10113
|
};
|
|
10114
10114
|
this.showActionsColumn = true;
|
|
10115
10115
|
this.rowActions = [
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10116
|
+
// { label: 'View Details', action: 'view_details', icon: 'assets/view.svg', type: 'button' },
|
|
10117
|
+
// { label: '', action: '', icon: 'assets/more-horizontal.svg', type: 'dropdown' },
|
|
10118
|
+
// { label: 'Edit', action: 'edit', icon: 'assets/pencil-edit-01.svg', type: 'button' },
|
|
10119
|
+
// { action: 'edit', type: 'custom' },
|
|
10120
10120
|
];
|
|
10121
10121
|
this.dropdownOptions = [
|
|
10122
10122
|
// { label: 'Download invalid', action: 'view', icon: 'assets/view.svg', disabled: false },
|
|
@@ -10213,7 +10213,7 @@ const GbTable = class {
|
|
|
10213
10213
|
}
|
|
10214
10214
|
}
|
|
10215
10215
|
async handleAction(action, row) {
|
|
10216
|
-
console.log('Action clicked:', action, row);
|
|
10216
|
+
// console.log('Action clicked:', action, row);
|
|
10217
10217
|
this.rowActionClicked.emit({ action, row });
|
|
10218
10218
|
}
|
|
10219
10219
|
renderCell(col, row) {
|
|
@@ -10477,6 +10477,23 @@ const GbTable = class {
|
|
|
10477
10477
|
const splitNames = name.split(' ');
|
|
10478
10478
|
return splitNames.map((nm) => nm.charAt(0));
|
|
10479
10479
|
}
|
|
10480
|
+
renderCustomAction(row) {
|
|
10481
|
+
if (!this.renderCustomActions)
|
|
10482
|
+
return h("slot", { name: "row_actions" });
|
|
10483
|
+
const rowId = String(this.getRowId(row));
|
|
10484
|
+
return (h("div", { key: `custom-action-${rowId}`, class: "custom_action_slot", ref: el => {
|
|
10485
|
+
if (!el)
|
|
10486
|
+
return;
|
|
10487
|
+
// Re-mount only when this container is bound to a different row.
|
|
10488
|
+
// Prevents tearing down (and resetting) the host-framework component
|
|
10489
|
+
// on unrelated re-renders (sort, resize, dropdown open, etc.).
|
|
10490
|
+
if (el.dataset.rowKey === rowId)
|
|
10491
|
+
return;
|
|
10492
|
+
el.dataset.rowKey = rowId;
|
|
10493
|
+
el.innerHTML = '';
|
|
10494
|
+
this.renderCustomActions(el, row, (action) => this.handleAction(action, row));
|
|
10495
|
+
} }));
|
|
10496
|
+
}
|
|
10480
10497
|
renderDesktopView() {
|
|
10481
10498
|
this.internalColumns.forEach(col => {
|
|
10482
10499
|
});
|
|
@@ -10510,7 +10527,7 @@ const GbTable = class {
|
|
|
10510
10527
|
.map((col, index) => (h(Fragment, null, h("td", { style: { textAlign: col.align || 'left' }, class: `table_detail ${this.stickyFirstColumn && index === 0 ? 'sticky_left' : ''} ${this.isScrollable ? 'has_border' : ''}` }, this.renderCell(col, row))))), this.showActionsColumn && (h("td", { class: { table_detail: true, actions_cell: true, sticky_right: this.stickyLastColumn, has_border: this.isScrollable }, style: { width: '50px' } }, h(Fragment, null, h("div", { class: "action_buttons" }, this.rowActions.map(action => (h(Fragment, null, action.type === 'dropdown' ? (h("gb-button", { id: `gb-table-trigger-${rowIndex}`, ref: el => (this.actionButtonRefs[rowIndex] = el), class: "dropdown_button", hierarchy: "tertiary_gray", size: "md", icon: "only", iconLeading: true, iconLeadingSwap: "assets/more-horizontal.svg", onClick: e => {
|
|
10511
10528
|
e.stopPropagation();
|
|
10512
10529
|
this.toggleDropdown(rowIndex);
|
|
10513
|
-
} })) : action.type === 'custom' ? (
|
|
10530
|
+
} })) : action.type === 'custom' ? (this.renderCustomAction(row)) : (h("gb-button", { hierarchy: "tertiary_gray", size: "md", icon: "only", destructive: action.destructive, iconLeading: true, iconLeadingSwap: action.icon, onClick: e => {
|
|
10514
10531
|
e.stopPropagation();
|
|
10515
10532
|
this.handleAction(action.action, row);
|
|
10516
10533
|
} })))))), h(Fragment, null, this.openRowIndex === rowIndex && (h("gb-portal", { "anchor-id": `gb-table-trigger-${rowIndex}`, placement: this.dropdownPlacement, anchorEl: this.currentAnchorEl, boundaryEl: this.scrollContainer, dropdownHeight: requestAnimationFrame(() => this.dropdownRef.scrollHeight), open: true }, h("div", { class: "portal_dropdown_wrapper", ref: el => (this.dropdownRef = el) }, this.dropdownOptions.map(action => (h("gb-dropdown-items-with-shortcut", { icon: action.icon ? true : false, state: action.disabled ? StateEnum.Disabled : StateEnum.Default, label: action.label, "icon-src": action.icon, onClick: () => {
|
|
@@ -10731,16 +10748,16 @@ const GbTable = class {
|
|
|
10731
10748
|
window.removeEventListener('resize', this.checkViewport);
|
|
10732
10749
|
}
|
|
10733
10750
|
render() {
|
|
10734
|
-
return (h("div", { key: '
|
|
10751
|
+
return (h("div", { key: 'fff578632318ce951474e8e0b017ed34d007b1cc', class: `table_wrapper ${this.currentTableLayout}` }, this.tableHeaderConfig && (h("div", { key: '0bfb29c446aba3674c2a22d125d656e0ff60b905', class: `table-header ${this.currentTableLayout}` }, h("gb-table-header", { key: '5b3b14ae8bd63048508b409296701912dd6266ef', type: this.tableHeaderConfig.type, mode: this.tableHeaderConfig.datePickerMode, "table-heading": this.tableHeaderConfig.tableHeading, "table-heading-label": this.tableHeaderConfig.tableHeadingLabel, "show-search": this.tableHeaderConfig.showSearch, "show-date-filter": this.tableHeaderConfig.showDateFilter, "show-filter": this.tableHeaderConfig.showFilter, "show-export": this.tableHeaderConfig.showExport, "show-column-options": this.tableHeaderConfig.showColumnOptions, "show-refresh-button": this.tableHeaderConfig.showRefreshButton, "input-placeholder": this.tableHeaderConfig.inputPlaceholder, "date-picker-placeholder": this.tableHeaderConfig.datePickerPlaceholder, "show-entire-data": this.tableHeaderConfig.showEntireData, "show-layout-toggle": this.tableHeaderConfig.showLayoutToggle, "filter-state": Object.keys(this.appliedFilterValues).length > 0 ? 'applied' : 'default', "filter-count": Object.keys(this.appliedFilterValues).length, "export-button-state": this.tableHeaderConfig.exportButtonState, "pdf-state": this.tableHeaderConfig.pdfState, "csv-state": this.tableHeaderConfig.csvState, onInputValueChanged: this.emitSearchValue.bind(this), onDateChange: this.emitDateChange.bind(this), onColumnOptionsButtonClicked: this.columnOptionsButtonClicked(), onExportClicked: e => this.exportButtonClicked(e), onFilterButtonClicked: () => this.openFilterModal(), onRefreshButtonClicked: () => this.onRefreshButtonClicked(), onLayoutButtonClicked: e => this.switchTableLayout(e), onTableControlClicked: e => this.emitTableContolClickedEvent(e) }))), this.showColumnsPanel && this.columns.length > 0 && (h("div", { key: 'ab47e5d1fe46f9ad4af7cf94da064dc5392a9741', class: "dialog", style: {
|
|
10735
10752
|
transform: `translate(${this.modalPosition.x}px, ${this.modalPosition.y}px)`,
|
|
10736
|
-
} }, h("div", { key: '
|
|
10753
|
+
} }, h("div", { key: '6d2f489e5a60e1de41389b2c59a234b329b3e9e4', class: "column-modal" }, h("div", { key: '15d3b2d539e1d89e08e87f711e59d1c0a27c1cc0', class: "modal_header" }, h("div", { key: '9e82dd8cbbba886000589a8f22d9e2a4dd99b15e', class: "modal_header_content", onPointerDown: this.onModalPointerDown }, h("h4", { key: 'a21373b0a6930722cabd74384252476fe717a847', class: "heading display-xs-semi-bold" }, "Column Options"), h("gb-button-close", { key: '2bbd2f88dac95f3bc6545646c02cfc1074f95347', class: "close_button", color: "gray", size: "sm", onClick: () => (this.showColumnsPanel = false) }))), h("div", { key: '5e52b2115e6fe50b5fec37db6ffad6a55dc6cd70', class: "content_wrapper" }, h("div", { key: 'e84c90cadb033462b0093b33f179add5255dd49a', class: "modal_content" }, this.internalColumns.map((col, index) => (h("div", { class: "column_option", draggable: true, onDragStart: () => (this.draggedIndex = index), onDragOver: e => e.preventDefault(), onDrop: () => {
|
|
10737
10754
|
if (this.draggedIndex !== null && this.draggedIndex !== index) {
|
|
10738
10755
|
this.reorderColumns(this.draggedIndex, index);
|
|
10739
10756
|
}
|
|
10740
10757
|
this.draggedIndex = null;
|
|
10741
10758
|
} }, h("div", { class: "label_and_dragger" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" }, h("path", { d: "M8 6H8.00635M8 12H8.00635M8 18H8.00635M15.9937 6H16M15.9937 12H16M15.9937 18H16", stroke: "var(--color-icon, #4B5565)", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("p", { class: "label text-md-regular" }, col.label)), h("gb-toggle", { size: "sm", state: StateEnum.Default, position: "right", pressed: col.visible, text: false, onToggleClicked: e => {
|
|
10742
10759
|
this.toggleColumn(e, col.key);
|
|
10743
|
-
} })))), h("div", { key: '
|
|
10760
|
+
} })))), h("div", { key: '3341d8212bb2a00da1ad3870f9981dc7a1e01f16', class: "modal-actions" })))))), this.showFilterModalInternal && this.filterConfig && (h("div", { key: '7d7c1b31ede07a6e918709127fc4f080d3657584', class: `filter_modal_wrapper ${this.isFilterModalVisible ? 'open' : 'closing'}` }, h("gb-filter-modal", { key: '3d9100c67e02b89f1a675be3d4d18283815d005b', class: "filter_modal", filterConfig: this.mergedFilterConfig, onClose: e => {
|
|
10744
10761
|
e.stopPropagation();
|
|
10745
10762
|
this.closeFilterModal();
|
|
10746
10763
|
}, onApplyFilters: e => this.onApplyFilters(e), onClearFilters: () => this.handleClearFilters() }))), this.internalLoading ? (
|
|
@@ -10787,7 +10804,7 @@ const GbTable = class {
|
|
|
10787
10804
|
? this.renderDesktopView()
|
|
10788
10805
|
: this.currentTableLayout === 'grid'
|
|
10789
10806
|
? this.renderGridView()
|
|
10790
|
-
: null)), this.paginationConfig && (h("div", { key: '
|
|
10807
|
+
: null)), this.paginationConfig && (h("div", { key: '527422bd2e3afe19527a91735ad9c2d54e6c23d8', class: `pagination ${this.currentTableLayout}` }, h("gb-pagination", { key: '4b685257a198683d4d1c8ff190a6e1b51f3a93df', "entries-dropdown-menu-position": this.paginationConfig.entriesDropdownMenuPosition, "page-size": this.paginationConfig.paginationMode === 'internal' ? this.internalPageSize : this.paginationConfig.pageSize, "current-page": this.paginationConfig.paginationMode === 'internal' ? this.internalCurrentPage : this.paginationConfig.currentPage, "total-pages": this.totalPages, onPageItemSelected: this.handlePageChange.bind(this) }))), this.showToast && (h("gb-toast", { key: '360262fc71f37fbecfbe48a42133faf34b607f57', class: `toast ${this.toastVisible ? 'visible' : ''}`, color: "information", "main-text": this.filterMessage, breakpoint: "desktop", size: "floating", onClose: () => this.hideToast() }))));
|
|
10791
10808
|
}
|
|
10792
10809
|
static get watchers() { return {
|
|
10793
10810
|
"data": ["onDataChange"],
|
|
@@ -10945,7 +10962,7 @@ const GbTag = class {
|
|
|
10945
10962
|
}
|
|
10946
10963
|
render() {
|
|
10947
10964
|
const flagSwap = getAssetPath(`${this.flagSwap}`);
|
|
10948
|
-
return (h("div", { key: '
|
|
10965
|
+
return (h("div", { key: '456446acb2db65f6d32325a19e1a567b5402f2ce', class: `container ${this.size} ${this.action}` }, h("div", { key: '51b5a7fc2b83b3187eb3e280ad2059f17cd0997d', class: `content ${this.size}` }, this.checkbox && h("gb-tag-checkbox", { key: 'd7419011cf70a8321ead9747c9987b2d8eca02c3', size: this.size }), this.icon === 'false' && h(Fragment, null), this.icon === 'country' && (h("div", { key: 'd680fb34a94d99de78a8b0eb6a45bd6fddcf20db', class: "icon left-icon" }, h("img", { key: '1703cb1212deb001bf9c6dc061dfba8854e96f49', src: flagSwap, alt: "Country Icon" }))), this.icon === 'avatar' && (h("gb-avatar", { key: '69816c817ff85523a8e86962d26aebaad7b5e825', class: "avatar-icon", size: "xxs", "status-icon": "false", text: false, color: "gray" }, h("slot", { key: 'e7a1880fbc0437f390986364706337bda3389fc9', name: "image", slot: "image" }))), this.icon === 'dot' && (h("svg", { key: '531fe87bce4eac8d6c59c389349949624ca13f66', xmlns: "http://www.w3.org/2000/svg", width: "8", height: "8", viewBox: "0 0 8 8", fill: "none" }, h("circle", { key: '4f5baf8165dd618423cda541a050e7bf2db0f635', cx: "4", cy: "4", r: "3", fill: "#17B26A" }))), h("div", { key: '3baeee3261e2bff7dd5a383d28929d5491c5d805', class: "label" }, h("slot", { key: '255ba7624b1b083bf95b840e8a4ed599331ae265' })), this.action === 'count' && (h("gb-tag-count", { key: '21b2c1577ae18e544d3fbc48a279a4d2dfcad427', size: this.size }, h("slot", { key: 'd55fa285d52bcbefa2ccb52a44d1954f7b24e926', slot: "count", name: "count" })))), this.action === 'X_close' && h("gb-tag-close", { key: 'bfdc29e2243ae4ff966b3d5bc3939fd7f9f8ab61', size: this.size, onClick: () => this.onTagClose() })));
|
|
10949
10966
|
}
|
|
10950
10967
|
get el() { return getElement(this); }
|
|
10951
10968
|
};
|
|
@@ -10962,7 +10979,7 @@ const GbTagCheckbox = class {
|
|
|
10962
10979
|
this.disabled = false;
|
|
10963
10980
|
}
|
|
10964
10981
|
render() {
|
|
10965
|
-
return (h("label", { key: '
|
|
10982
|
+
return (h("label", { key: '593aa8bb61260ab154f270a3d802b38466020c00', class: `checkbox-container ${this.size} ${this.disabled ? 'disabled' : ''}` }, h("input", { key: 'c075c76d23dd33a07818b9ad6166686d014de54c', type: "checkbox", checked: this.checked, disabled: this.disabled }), h("span", { key: '073e081198af1a648701dde6b2b4bfabccb3b90d', class: `custom-checkbox ${this.size}` }, h("svg", { key: 'cfd34499afdd3dd86bcceb5f4f1aff4da5515218', class: "checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '9e8df722ddfa2fd5a7f14461d84749c3b1014a8e', d: "M2.5 7.25C2.5 7.25 3.25 7.25 4.25 9C4.25 9 7.02941 4.41667 9.5 3.5", stroke: "white", "stroke-width": "1.71429", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
|
|
10966
10983
|
}
|
|
10967
10984
|
};
|
|
10968
10985
|
GbTagCheckbox.style = gbTagCheckboxCss;
|
|
@@ -10974,7 +10991,7 @@ const GbTagClose = class {
|
|
|
10974
10991
|
registerInstance(this, hostRef);
|
|
10975
10992
|
}
|
|
10976
10993
|
render() {
|
|
10977
|
-
return (h("div", { key: '
|
|
10994
|
+
return (h("div", { key: '18aaed96c3d07453fc649bfb0017220dd272aa60', class: this.size }, h("svg", { key: 'caaf0dfc1f8fe65dd12b1cf7ca7c6fc3becb9369', xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none" }, h("path", { key: '0e206add91ba5d0706cb85164d0a86b4faa1dc37', d: "M7.91683 2.08328L2.0835 7.91662M2.0835 2.08328L7.91683 7.91662", stroke: "#4B5565", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))));
|
|
10978
10995
|
}
|
|
10979
10996
|
};
|
|
10980
10997
|
GbTagClose.style = gbTagCloseCss;
|
|
@@ -10986,7 +11003,7 @@ const GbTagCount = class {
|
|
|
10986
11003
|
registerInstance(this, hostRef);
|
|
10987
11004
|
}
|
|
10988
11005
|
render() {
|
|
10989
|
-
return (h("div", { key: '
|
|
11006
|
+
return (h("div", { key: '8c04c032237219dd1cedde84e898c5ca5bc4388b', class: this.size }, h("slot", { key: 'c160e597851fe8117d23e9d1a6fd6bd51fbdf8b8', name: "count" })));
|
|
10990
11007
|
}
|
|
10991
11008
|
};
|
|
10992
11009
|
GbTagCount.style = gbTagCountCss;
|
|
@@ -11197,12 +11214,12 @@ const GbTextareaInputField = class {
|
|
|
11197
11214
|
}
|
|
11198
11215
|
}
|
|
11199
11216
|
render() {
|
|
11200
|
-
return (h("div", { key: '
|
|
11217
|
+
return (h("div", { key: 'b1ff947a4ff647bb1944ace40327577657aef529', class: "textarea_container" }, h("div", { key: '15d6b0d8a9c3c34c204c9f3c153074a35381cb41', class: "input_with_label" }, this.showLabel && h("p", { key: '4f0089f0474316adde6b087b42b517ebddc7f8c3', class: `label text-sm-medium` }, this.label), this.type === 'default' && (h("textarea", { key: '43d7f00d55e08cc13a733ec53e79c37b8e3d7f73', ref: el => (this.textarea = el), onInput: () => this.handleInput(), onFocus: () => this.handleInputFocus(), class: `textarea default_textarea ${this.state} ${this.destructive ? 'destructive' : ''}`, placeholder: this.placeholderText, value: this.inputValue })), this.type === 'tags' && (h("div", { key: 'ed595e8f10a3ee5ebe2fcfa564f956c838c809b4', class: "textarea_tags" }, h("div", { key: 'c1a4e3ba88086d7d6af4dec4f898a63285844e19', class: `textarea ${this.type} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => this.handleWrapperClick() }, h("div", { key: 'd0ae0a2caeded866a3969fcde206a0beca1b832f', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, this.value.length === 0 ? (h(Fragment, null, this.selectedItems.map((item, index) => (h(Fragment, null, typeof item === 'object' ? (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(index) }, h("p", { class: "text-xs-medium" }, item.objectName.split(' ')[0]), h("h1", { slot: "initials", class: "text-xxs-semi-bold" }, item.objectName
|
|
11201
11218
|
.split(' ')
|
|
11202
11219
|
.map(part => part.charAt(0).toUpperCase())
|
|
11203
|
-
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(index) }, h("p", { class: "text-xs-medium" }, item))))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("p", null, val)))))))), h("span", { key: '
|
|
11220
|
+
.join(''))))) : (h("div", { class: "added_tag", key: index }, h("gb-tag", { size: "sm", icon: this.icon ? this.icon : 'avatar', action: "X_close", onClick: () => this.handleTagRemove(index) }, h("p", { class: "text-xs-medium" }, item))))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.objectName.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.objectName.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.handleTagRemove(index), key: index }, h("p", null, val)))))))), h("span", { key: 'd86a6ce2c1b27416582edf18cf8fc34cacf073ac', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: '45a3747a6f52dabf3be05b3ed8b8386f866f2e6f', class: "input_field" }, h("input", { key: '8cf4b7e89c06df8eb229ac0c6bcbb8556e82373c', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
|
|
11204
11221
|
// placeholder={this.placeholderText}
|
|
11205
|
-
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.emitInputValue() }))), this.destructive && (h("div", { key: '
|
|
11222
|
+
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.emitInputValue() }))), this.destructive && (h("div", { key: '78b0be1d3d2b30dcea9eb89a9ec2bbaadc02334c', class: "help_icon" }, h("svg", { key: '03faf3ca8827614bb947495d921122841b37a7a2', xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { key: '3c2226f027d393c69ed8f279f93155c078c6da88', d: "M7.9947 10H8.00069M8.00004 8.00004V5.33337M14.6667 8.00004C14.6667 11.6819 11.6819 14.6667 8.00004 14.6667C4.31814 14.6667 1.33337 11.6819 1.33337 8.00004C1.33337 4.31814 4.31814 1.33337 8.00004 1.33337C11.6819 1.33337 14.6667 4.31814 14.6667 8.00004Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.show && (h("div", { key: '07dea6654883a65387fc553a2c754cff8bcf7e2c', class: `dropdown_menu` }, this.results.map(item => (h("gb-input-dropdown-menu-item", { type: "checkbox", "supporting-text": true, state: StateEnum.Default, onClick: () => this.selectDropdownItem(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
|
|
11206
11223
|
? [h("p", { slot: "name" }, item.objectName), h("p", { slot: "supporting_text" }, item.objectValue)]
|
|
11207
11224
|
: typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), this.showHintText && h(Fragment, null, !this.destructive ? h("p", { class: "hint_text text-sm-regular" }, this.hintText) : h("p", { class: "error_text text-sm-regular" }, this.errorText))));
|
|
11208
11225
|
}
|
|
@@ -11236,7 +11253,7 @@ const GbThemeTab = class {
|
|
|
11236
11253
|
const systemIconSrc = getAssetPath(`assets/laptop.svg`);
|
|
11237
11254
|
const sunSrc = getAssetPath(`assets/sun-02.svg`);
|
|
11238
11255
|
const moonSrc = getAssetPath(`assets/moon-02.svg`);
|
|
11239
|
-
return (h("div", { key: '
|
|
11256
|
+
return (h("div", { key: 'b1ce2e2172611689b2fe71adece4fb8eaa52cd5b', class: `theme_tab_div` }, h("div", { key: '28ff1b84efa49ae845e399e9aabd9701a8abf91b', class: "tab" }, h("gb-icon-button-base", { key: 'a980fddc24a08256cf662b2ba678d4f8508eb6a5', current: this.currentActiveTab === 'system' ? true : false, icon: systemIconSrc, label: "System", onClick: () => this.tabClicked('system') })), h("div", { key: '555ef1f084852f673f107a141877432bd3c0a859', class: "tab" }, h("gb-icon-button-base", { key: 'c309d3757d670db5bfe31afc34101897671d3d9a', current: this.currentActiveTab === 'light' ? true : false, icon: sunSrc, label: "Light", onClick: () => this.tabClicked('light') })), h("div", { key: '479aa273c2d91fc30993197995b8ab188883eb84', class: "tab" }, h("gb-icon-button-base", { key: 'c3842452e0b98b60d6ecc2dd4bfd29f03ff6b661', current: this.currentActiveTab === 'dark' ? true : false, icon: moonSrc, label: "Dark", onClick: () => this.tabClicked('dark') }))));
|
|
11240
11257
|
}
|
|
11241
11258
|
get el() { return getElement(this); }
|
|
11242
11259
|
};
|
|
@@ -11293,7 +11310,7 @@ const GbToast = class {
|
|
|
11293
11310
|
window.removeEventListener('resize', this.handleResize);
|
|
11294
11311
|
}
|
|
11295
11312
|
render() {
|
|
11296
|
-
return (h("div", { key: 'f5821cd859c033edd6ffe5e500be1f005480cda3', class: `toast_div ${this.internalColor} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: '8dad7e494008a10b140f81b71ac42b4750accaed', class: `icon_container ${this.showSupportingText ? '' : 'no_supporting_text'}` }, this.internalColor === 'success' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "29", viewBox: "0 0 28 29", fill: "none", class: `svg_icon ${this.internalColor}` }, h("path", { opacity: "0.4", d: "M14.0666 2.24988H14.0665H13.9331H13.9331C11.3773 2.24986 9.36985 2.24985 7.80253 2.46057C6.19643 2.67651 4.92213 3.12805 3.9209 4.12928C2.91967 5.13051 2.46813 6.40481 2.2522 8.01091C2.04148 9.57822 2.04149 11.5857 2.0415 14.1415V14.1415V14.2749V14.2749C2.04149 16.8307 2.04148 18.8382 2.2522 20.4055C2.46813 22.0116 2.91967 23.2859 3.9209 24.2871C4.92213 25.2884 6.19643 25.7399 7.80253 25.9559C9.36985 26.1666 11.3773 26.1666 13.9331 26.1665H14.0665C16.6223 26.1666 18.6298 26.1666 20.1971 25.9559C21.8032 25.7399 23.0775 25.2884 24.0788 24.2871C25.08 23.2859 25.5315 22.0116 25.7475 20.4055C25.9582 18.8382 25.9582 16.8308 25.9582 14.2749V14.1415C25.9582 11.5857 25.9582 9.57822 25.7475 8.01091C25.5315 6.40481 25.08 5.13051 24.0788 4.12928C23.0775 3.12805 21.8032 2.67651 20.1971 2.46057C18.6298 2.24985 16.6224 2.24986 14.0666 2.24988Z", fill: "var(--color-icon-success, #079455)" }), h("path", { d: "M19.2265 11.1487C19.7918 10.8396 19.9995 10.1307 19.6903 9.56536C19.3811 9.00004 18.6722 8.79238 18.1069 9.10154C15.9735 10.2683 14.2094 12.5199 13.0232 14.3362C12.5849 15.0074 12.2104 15.6429 11.9108 16.1812C11.6313 15.9101 11.3545 15.6747 11.1069 15.479C10.783 15.2228 10.4915 15.0208 10.2789 14.8816L9.91136 14.6534C9.35166 14.3342 8.63915 14.5291 8.31994 15.0888C8.0008 15.6484 8.19559 16.3607 8.75499 16.68L9.00033 16.8335C9.16695 16.9426 9.40042 17.1043 9.6598 17.3093C10.1936 17.7314 10.7696 18.2846 11.1321 18.8907C11.3546 19.2626 11.7649 19.4806 12.1977 19.4567C12.6303 19.4328 13.0142 19.1708 13.1944 18.7769L13.309 18.5372C13.388 18.3756 13.5063 18.1396 13.6603 17.8487C13.9689 17.2657 14.4176 16.4684 14.9769 15.612C16.1241 13.8554 17.6266 12.0237 19.2265 11.1487Z", fill: "var(--color-icon-success, #079455)" }))) : this.color === 'error' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "29", viewBox: "0 0 28 29", fill: "none", class: `svg_icon ${this.internalColor}` }, h("path", { opacity: "0.4", d: "M14.0665 2.49945C16.6224 2.49944 18.6298 2.49942 20.1971 2.71014C21.8032 2.92608 23.0775 3.37762 24.0788 4.37885C25.08 5.38008 25.5315 6.65438 25.7475 8.26048C25.9582 9.82779 25.9582 11.8352 25.9582 14.391V14.3911V14.5245V14.5245C25.9582 17.0803 25.9582 19.0878 25.7475 20.6551C25.5315 22.2612 25.08 23.5355 24.0788 24.5367C23.0775 25.538 21.8032 25.9895 20.1971 26.2054C18.6298 26.4161 16.6224 26.4161 14.0666 26.4161H14.0665H13.9331H13.9331C11.3773 26.4161 9.36984 26.4161 7.80253 26.2054C6.19643 25.9895 4.92213 25.538 3.9209 24.5367C2.91967 23.5355 2.46813 22.2612 2.2522 20.6551C2.04148 19.0878 2.04149 17.0803 2.0415 14.5245V14.3911C2.04149 11.8353 2.04148 9.8278 2.2522 8.26048C2.46813 6.65438 2.91967 5.38008 3.9209 4.37885C4.92213 3.37762 6.19643 2.92608 7.80253 2.71014C9.36985 2.49942 11.3773 2.49944 13.9331 2.49945H14.0665Z", fill: "var(--color-icon-danger, #B51726)" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8335 19.7075C12.8335 19.0632 13.3535 18.5409 13.9949 18.5409H14.0054C14.6468 18.5409 15.1668 19.0632 15.1668 19.7075C15.1668 20.3519 14.6468 20.8742 14.0054 20.8742H13.9949C13.3535 20.8742 12.8335 20.3519 12.8335 19.7075Z", fill: "var(--color-icon-danger, #B51726)" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14.0003 16.2075C13.356 16.2075 12.8336 15.6852 12.8336 15.0409L12.8336 10.3742C12.8336 9.72985 13.356 9.20752 14.0003 9.20752C14.6446 9.20752 15.167 9.72985 15.167 10.3742L15.167 15.0409C15.167 15.6852 14.6446 16.2075 14.0003 16.2075Z", fill: "var(--color-icon-danger, #B51726)" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.internalColor}` }, h("path", { opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "var(--color-icon, #4B5565)" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "var(--color-icon, #4B5565)" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "var(--color-icon, #4B5565)" })))), h("div", { key: '89945d091352fdd3a65fa6b45c1ca5d5b37c57c8', class: `content ${this.size} ${this.actions ? ' actions' : ''} ${this.breakpoint}` }, h("div", { key: '29218c1a2ba885e6c24bcea746142c86e656bb26', class: `text ${!this.internalSupportingText ? 'no_supporting_text' : ''} ${this.size}` }, h("p", { key: 'd548a30265cb43ff063067ec842fc80d792ceccc', class: `text-md-semi-bold main_text_${this.internalColor}` }, this.internalMainText), this.showSupportingText && h("p", { key: 'c6701c6d66895913a47434700f81da0c41b5a336', class: `text-sm-regular supporting_text_${this.internalColor}` }, this.internalSupportingText)), this.actions && (h("div", { key: '9222b28c7cb5994ae86bd3fe6893b592076db74f', class: `actions ${this.size} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, this.secondActionText && (h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray", onClick: () => this.secondActionClicked.emit() }, h("p", null, this.secondActionText))), this.firstActionText && (h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color", onClick: () => this.firstActionClicked.emit() }, h("p", null, this.firstActionText))))) : (h(Fragment, null, this.secondActionText && (h("gb-toast-button", { state: StateEnum.Default, color: this.internalColor, onClick: () => this.secondActionClicked.emit() }, h("p", null, this.secondActionText))), this.firstActionText && (h("gb-toast-button", { state: StateEnum.Default, color: this.internalColor, onClick: () => this.firstActionClicked.emit() }, h("p", null, this.firstActionText)))))))), this.xCloseButton && (h("gb-button-close", { key: '2b1cadfc6ec5fe54219ab2f6c86e78d84bbcdb22', size: "sm", color: this.internalColor === 'default' ? 'gray' : this.internalColor === 'gray' ? 'gray' : this.internalColor, class: `close_button ${this.size}`, onClick: () => this.closeToast() })))), this.size === 'full_width' && (h("div", { key: '7aa92555f72405744024626730bceda91208ee07', class: `container ${this.breakpoint}` }, h("div", { key: '140644487ae39ff91ecd8fa98941d50bf8108b94', class: `full_width_content ${this.breakpoint}` }, h("div", { key: '01e38b5bd8a48d0714223227015704784ded3505', class: `inner_content ${this.breakpoint}` }, h("div", { key: 'b9d6bc20374f0570c0da16ed1eb4810c85832b34', class: `icon_container` }, h("svg", { key: 'bc05a2b08bdecf8dc289733cc5a47363c0134efa', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.internalColor}` }, h("path", { key: '58cb4edaea2b837bf87eecb525907e620f7e6270', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: '331a7d9077bbfc34ea512f5dc3957889a204750b', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: 'f929e460f76c5b00e0b5c815587744897bbb75b3', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: 'bd84e4a7b78b05abc937eb37d910354e0459e068', class: `text ${this.size} ${this.breakpoint}` }, h("p", { key: 'c0e066ace71cc199f4b43768a036938f2656fb7b', class: `text-sm-semi-bold main_text_${this.internalColor}` }, this.internalMainText), this.showSupportingText && h("p", { key: '0cd625305050b771521ba9a96bd6b39768abadbf', class: `text-xs-regular supporting_text_${this.internalColor}` }, this.internalSupportingText))), this.actions && (h("div", { key: '9b8c056543452cf9a4e16a539090eced21ed7073', class: `actions ${this.size} ${this.breakpoint} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, this.secondActionText && (h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray", onClick: () => this.secondActionClicked.emit() }, h("p", null, this.secondActionText))), this.firstActionText && (h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color", onClick: () => this.firstActionClicked.emit() }, h("p", null, this.firstActionText))))) : (h(Fragment, null, this.secondActionText && (h("gb-toast-button", { state: StateEnum.Default, color: this.internalColor, onClick: () => this.secondActionClicked.emit() }, h("p", null, this.secondActionText))), this.firstActionText && (h("gb-toast-button", { state: StateEnum.Default, color: this.internalColor, onClick: () => this.firstActionClicked.emit() }, h("p", null, this.firstActionText)))))))), this.xCloseButton && (h("gb-button-close", { key: '6b3f9135b3e1f51339133368db5f2400d5a8aef0', size: "sm", color: this.internalColor === 'default' ? 'gray' : this.internalColor === 'gray' ? 'gray' : this.internalColor, class: `close_button ${this.breakpoint}`, onClick: () => this.closeToast() }))))));
|
|
11313
|
+
return (h("div", { key: '3b9a59852036eaf166823e74b8714678a9bccc54', class: `toast_div ${this.internalColor} ${this.size} ${this.breakpoint}` }, this.size === 'floating' && (h(Fragment, null, h("div", { key: '339af981e78b494e0d22863dc401a97e031df8a5', class: `icon_container ${this.showSupportingText ? '' : 'no_supporting_text'}` }, this.internalColor === 'success' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "29", viewBox: "0 0 28 29", fill: "none", class: `svg_icon ${this.internalColor}` }, h("path", { opacity: "0.4", d: "M14.0666 2.24988H14.0665H13.9331H13.9331C11.3773 2.24986 9.36985 2.24985 7.80253 2.46057C6.19643 2.67651 4.92213 3.12805 3.9209 4.12928C2.91967 5.13051 2.46813 6.40481 2.2522 8.01091C2.04148 9.57822 2.04149 11.5857 2.0415 14.1415V14.1415V14.2749V14.2749C2.04149 16.8307 2.04148 18.8382 2.2522 20.4055C2.46813 22.0116 2.91967 23.2859 3.9209 24.2871C4.92213 25.2884 6.19643 25.7399 7.80253 25.9559C9.36985 26.1666 11.3773 26.1666 13.9331 26.1665H14.0665C16.6223 26.1666 18.6298 26.1666 20.1971 25.9559C21.8032 25.7399 23.0775 25.2884 24.0788 24.2871C25.08 23.2859 25.5315 22.0116 25.7475 20.4055C25.9582 18.8382 25.9582 16.8308 25.9582 14.2749V14.1415C25.9582 11.5857 25.9582 9.57822 25.7475 8.01091C25.5315 6.40481 25.08 5.13051 24.0788 4.12928C23.0775 3.12805 21.8032 2.67651 20.1971 2.46057C18.6298 2.24985 16.6224 2.24986 14.0666 2.24988Z", fill: "var(--color-icon-success, #079455)" }), h("path", { d: "M19.2265 11.1487C19.7918 10.8396 19.9995 10.1307 19.6903 9.56536C19.3811 9.00004 18.6722 8.79238 18.1069 9.10154C15.9735 10.2683 14.2094 12.5199 13.0232 14.3362C12.5849 15.0074 12.2104 15.6429 11.9108 16.1812C11.6313 15.9101 11.3545 15.6747 11.1069 15.479C10.783 15.2228 10.4915 15.0208 10.2789 14.8816L9.91136 14.6534C9.35166 14.3342 8.63915 14.5291 8.31994 15.0888C8.0008 15.6484 8.19559 16.3607 8.75499 16.68L9.00033 16.8335C9.16695 16.9426 9.40042 17.1043 9.6598 17.3093C10.1936 17.7314 10.7696 18.2846 11.1321 18.8907C11.3546 19.2626 11.7649 19.4806 12.1977 19.4567C12.6303 19.4328 13.0142 19.1708 13.1944 18.7769L13.309 18.5372C13.388 18.3756 13.5063 18.1396 13.6603 17.8487C13.9689 17.2657 14.4176 16.4684 14.9769 15.612C16.1241 13.8554 17.6266 12.0237 19.2265 11.1487Z", fill: "var(--color-icon-success, #079455)" }))) : this.color === 'error' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "29", viewBox: "0 0 28 29", fill: "none", class: `svg_icon ${this.internalColor}` }, h("path", { opacity: "0.4", d: "M14.0665 2.49945C16.6224 2.49944 18.6298 2.49942 20.1971 2.71014C21.8032 2.92608 23.0775 3.37762 24.0788 4.37885C25.08 5.38008 25.5315 6.65438 25.7475 8.26048C25.9582 9.82779 25.9582 11.8352 25.9582 14.391V14.3911V14.5245V14.5245C25.9582 17.0803 25.9582 19.0878 25.7475 20.6551C25.5315 22.2612 25.08 23.5355 24.0788 24.5367C23.0775 25.538 21.8032 25.9895 20.1971 26.2054C18.6298 26.4161 16.6224 26.4161 14.0666 26.4161H14.0665H13.9331H13.9331C11.3773 26.4161 9.36984 26.4161 7.80253 26.2054C6.19643 25.9895 4.92213 25.538 3.9209 24.5367C2.91967 23.5355 2.46813 22.2612 2.2522 20.6551C2.04148 19.0878 2.04149 17.0803 2.0415 14.5245V14.3911C2.04149 11.8353 2.04148 9.8278 2.2522 8.26048C2.46813 6.65438 2.91967 5.38008 3.9209 4.37885C4.92213 3.37762 6.19643 2.92608 7.80253 2.71014C9.36985 2.49942 11.3773 2.49944 13.9331 2.49945H14.0665Z", fill: "var(--color-icon-danger, #B51726)" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8335 19.7075C12.8335 19.0632 13.3535 18.5409 13.9949 18.5409H14.0054C14.6468 18.5409 15.1668 19.0632 15.1668 19.7075C15.1668 20.3519 14.6468 20.8742 14.0054 20.8742H13.9949C13.3535 20.8742 12.8335 20.3519 12.8335 19.7075Z", fill: "var(--color-icon-danger, #B51726)" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14.0003 16.2075C13.356 16.2075 12.8336 15.6852 12.8336 15.0409L12.8336 10.3742C12.8336 9.72985 13.356 9.20752 14.0003 9.20752C14.6446 9.20752 15.167 9.72985 15.167 10.3742L15.167 15.0409C15.167 15.6852 14.6446 16.2075 14.0003 16.2075Z", fill: "var(--color-icon-danger, #B51726)" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.internalColor}` }, h("path", { opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "var(--color-icon, #4B5565)" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "var(--color-icon, #4B5565)" }), h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "var(--color-icon, #4B5565)" })))), h("div", { key: '30a207ae18cc11b83d09686a8298601c93f4b8a6', class: `content ${this.size} ${this.actions ? ' actions' : ''} ${this.breakpoint}` }, h("div", { key: '3a16ddf29c9775251ef10b50cb86965ee5b1c55b', class: `text ${!this.internalSupportingText ? 'no_supporting_text' : ''} ${this.size}` }, h("p", { key: 'a8c9f2c55a0cc94608dad534107375b51fe40da0', class: `text-md-semi-bold main_text_${this.internalColor}` }, this.internalMainText), this.showSupportingText && h("p", { key: '6667ff9aa3a4c9acd7888cd35c583f5d54cee01f', class: `text-sm-regular supporting_text_${this.internalColor}` }, this.internalSupportingText)), this.actions && (h("div", { key: '570c09fee014c610d5fef81c06a7f5da1ef9c07b', class: `actions ${this.size} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, this.secondActionText && (h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray", onClick: () => this.secondActionClicked.emit() }, h("p", null, this.secondActionText))), this.firstActionText && (h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color", onClick: () => this.firstActionClicked.emit() }, h("p", null, this.firstActionText))))) : (h(Fragment, null, this.secondActionText && (h("gb-toast-button", { state: StateEnum.Default, color: this.internalColor, onClick: () => this.secondActionClicked.emit() }, h("p", null, this.secondActionText))), this.firstActionText && (h("gb-toast-button", { state: StateEnum.Default, color: this.internalColor, onClick: () => this.firstActionClicked.emit() }, h("p", null, this.firstActionText)))))))), this.xCloseButton && (h("gb-button-close", { key: 'f947308ef92b308c6f74be6db0a6f3b9f9d992c4', size: "sm", color: this.internalColor === 'default' ? 'gray' : this.internalColor === 'gray' ? 'gray' : this.internalColor, class: `close_button ${this.size}`, onClick: () => this.closeToast() })))), this.size === 'full_width' && (h("div", { key: '603c65e5d94bb1a4fdfe1327cadec2be53a478da', class: `container ${this.breakpoint}` }, h("div", { key: '9442ea4319ed01a12530fa2642f2ee7de99b5944', class: `full_width_content ${this.breakpoint}` }, h("div", { key: '9ebd126672fef115a1255a37b257f80995fedca1', class: `inner_content ${this.breakpoint}` }, h("div", { key: 'fd830f1a5c5e23dafe56e85c54a69ccd6d17bfdd', class: `icon_container` }, h("svg", { key: 'b7777014e801963cafb26b3961eb5f03c8281078', xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", class: `svg_icon ${this.internalColor}` }, h("path", { key: 'fc9ad47d78a092a08ce62935aba86c7fab3260bb', opacity: "0.4", d: "M14.0667 2.04163C16.6225 2.04161 18.63 2.0416 20.1973 2.25232C21.8034 2.46825 23.0777 2.91979 24.079 3.92102C25.0802 4.92226 25.5317 6.19655 25.7477 7.80265C25.9584 9.36996 25.9584 11.3774 25.9584 13.9332V13.9333V14.0667V14.0667C25.9584 16.6225 25.9584 18.63 25.7477 20.1973C25.5317 21.8034 25.0802 23.0777 24.079 24.0789C23.0777 25.0801 21.8034 25.5317 20.1973 25.7476C18.63 25.9583 16.6226 25.9583 14.0668 25.9583H14.0667H13.9333H13.9333C11.3775 25.9583 9.37003 25.9583 7.80271 25.7476C6.19661 25.5317 4.92232 25.0801 3.92109 24.0789C2.91985 23.0777 2.46831 21.8034 2.25238 20.1973C2.04166 18.6299 2.04167 16.6225 2.04169 14.0667V13.9333C2.04167 11.3774 2.04166 9.36997 2.25238 7.80265C2.46831 6.19655 2.91985 4.92226 3.92109 3.92102C4.92232 2.91979 6.19661 2.46825 7.80271 2.25232C9.37003 2.0416 11.3775 2.04161 13.9333 2.04163H14.0667Z", fill: "#4B5565" }), h("path", { key: '4d49df1dafb2eacf15bb6e4803bc73f02ae43c1a', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.6289 12.2818C13.9171 12.3206 14.3158 12.4243 14.6541 12.7626C14.9924 13.101 15.0962 13.4997 15.1349 13.7879C15.167 14.0266 15.1669 14.3043 15.1667 14.5375C15.1667 14.553 15.1667 14.5683 15.1667 14.5834V19.2501C15.1667 19.8944 14.6444 20.4167 14 20.4167C13.3557 20.4167 12.8334 19.8944 12.8334 19.2501V14.5834C12.189 14.5834 11.6667 14.0611 11.6667 13.4167C11.6667 12.7724 12.189 12.2501 12.8334 12.2501C12.8485 12.2501 12.8638 12.2501 12.8793 12.2501C13.1125 12.2499 13.3901 12.2497 13.6289 12.2818Z", fill: "#4B5565" }), h("path", { key: 'f5f600cb830772ffffefb8f60fe78f815084d75b', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.8333 8.75004C12.8333 8.10571 13.3533 7.58337 13.9947 7.58337H14.0051C14.6466 7.58337 15.1666 8.10571 15.1666 8.75004C15.1666 9.39437 14.6466 9.91671 14.0051 9.91671H13.9947C13.3533 9.91671 12.8333 9.39437 12.8333 8.75004Z", fill: "#4B5565" }))), h("div", { key: '920a24627109d3999f584f5d81dd5c03dc1e5ed3', class: `text ${this.size} ${this.breakpoint}` }, h("p", { key: 'f14a86c6f73fd7da201283962f6ced496d5fcdad', class: `text-sm-semi-bold main_text_${this.internalColor}` }, this.internalMainText), this.showSupportingText && h("p", { key: 'd8cdf3c0c284c0a694ca84c7707de795065b58ce', class: `text-xs-regular supporting_text_${this.internalColor}` }, this.internalSupportingText))), this.actions && (h("div", { key: '0ed33c363c03aee031fad6da00f146b8717d7a7b', class: `actions ${this.size} ${this.breakpoint} ${!this.showSupportingText ? 'only_actions' : ''}` }, this.color === 'default' ? (h(Fragment, null, this.secondActionText && (h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_gray", onClick: () => this.secondActionClicked.emit() }, h("p", null, this.secondActionText))), this.firstActionText && (h("gb-button", { size: "sm", icon: "default", state: "default", hierarchy: "link_color", onClick: () => this.firstActionClicked.emit() }, h("p", null, this.firstActionText))))) : (h(Fragment, null, this.secondActionText && (h("gb-toast-button", { state: StateEnum.Default, color: this.internalColor, onClick: () => this.secondActionClicked.emit() }, h("p", null, this.secondActionText))), this.firstActionText && (h("gb-toast-button", { state: StateEnum.Default, color: this.internalColor, onClick: () => this.firstActionClicked.emit() }, h("p", null, this.firstActionText)))))))), this.xCloseButton && (h("gb-button-close", { key: '4662f8ecbb37a7687ded523d9642bf7df61d0a2a', size: "sm", color: this.internalColor === 'default' ? 'gray' : this.internalColor === 'gray' ? 'gray' : this.internalColor, class: `close_button ${this.breakpoint}`, onClick: () => this.closeToast() }))))));
|
|
11297
11314
|
}
|
|
11298
11315
|
get el() { return getElement(this); }
|
|
11299
11316
|
static get watchers() { return {
|
|
@@ -11315,7 +11332,7 @@ const GbToastButton = class {
|
|
|
11315
11332
|
slottedContent.classList.add('text-sm-semi-bold');
|
|
11316
11333
|
}
|
|
11317
11334
|
render() {
|
|
11318
|
-
return (h("div", { key: '
|
|
11335
|
+
return (h("div", { key: '29ef2ed415fe9ba7c13d30e04d5c20a103e0ce78', class: `toast_button ${this.state} ${this.color}` }, h("slot", { key: '505fac54480d6806d20c6dc8fa1b6983f9fcbc83' })));
|
|
11319
11336
|
}
|
|
11320
11337
|
get el() { return getElement(this); }
|
|
11321
11338
|
};
|
|
@@ -11368,7 +11385,7 @@ const GbToggle = class {
|
|
|
11368
11385
|
}
|
|
11369
11386
|
}
|
|
11370
11387
|
render() {
|
|
11371
|
-
return (h("div", { key: '
|
|
11388
|
+
return (h("div", { key: 'f9072223aec45076a93b268716d239473affafe0', class: `toggle_div ${this.size}` }, this.position === 'left' && (h(Fragment, null, this.text && (h("div", { key: 'ae3a1bbb8aee1af3d4937f39d365a40c6ff28e92', class: "text" }, h("slot", { key: '0306c2df643427fd9b530360bcb4fc68935942a6', name: "main_text" }), this.supportingText && h("slot", { key: '8e6481e8c87043054f8b22c5b4a49668ef0cb376', name: "supporting_text" }))))), h("div", { key: 'cd463f75cb109ed7d920e536b16decb0ed6c17fe', class: "toggle_base" }, h("gb-toggle-base", { key: '23a782a77372d2060658a27b7ff9837807353b5c', size: this.size, state: this.state, pressed: this.pressed, onToggleClicked: this.onToggle.bind(this) })), this.position === 'right' && (h(Fragment, null, this.text && (h("div", { key: '075222964f183c553d01f30101854a7a8c3585ca', class: "text" }, h("slot", { key: 'd4de97556ad4c23d1e149c7cab3083a46fbbcdec', name: "main_text" }), this.supportingText && h("slot", { key: 'adf6eafb8d749410150559286e63f559470f55f6', name: "supporting_text" })))))));
|
|
11372
11389
|
}
|
|
11373
11390
|
get el() { return getElement(this); }
|
|
11374
11391
|
};
|
|
@@ -11390,8 +11407,8 @@ const GbToggleBase = class {
|
|
|
11390
11407
|
}
|
|
11391
11408
|
render() {
|
|
11392
11409
|
return [
|
|
11393
|
-
h("input", { key: '
|
|
11394
|
-
h("label", { key: '
|
|
11410
|
+
h("input", { key: 'a03f12e87a543efdce3e68ac9403f3ae5dfe0fd5', type: "checkbox", id: "customCheckbox", class: `${this.pressed ? 'pressed' : ''}`, readonly: true }),
|
|
11411
|
+
h("label", { key: 'e36a186cea398eb67edca395d8558a955367078c', onClick: () => this.handleToggleClick(), class: `${this.size} ${this.state} ${this.pressed ? 'pressed' : ''}`, htmlFor: "customCheckbox" }, this.pressed && this.state === 'default' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `default_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "var(--color-background-selected, #075DB2)", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : this.pressed && this.state === 'disabled' ? (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", class: `disabled_checked_svg ${this.size}` }, h("path", { d: "M2.08325 6.04167C2.08325 6.04167 2.70825 6.04167 3.54159 7.5C3.54159 7.5 5.85776 3.68056 7.91659 2.91667", stroke: "var(--color-background-gray-subtle, #E3E8EF)", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : null),
|
|
11395
11412
|
];
|
|
11396
11413
|
}
|
|
11397
11414
|
};
|
|
@@ -11427,11 +11444,37 @@ const GbTooltip = class {
|
|
|
11427
11444
|
return this.showArrow ? `arrow ${this.arrow}` : '';
|
|
11428
11445
|
}
|
|
11429
11446
|
render() {
|
|
11430
|
-
return (h("div", { key: '
|
|
11447
|
+
return (h("div", { key: 'ed653caf44febe6a3d54ed25aa75fb91706db893', class: "tooltip_container" }, h("div", { key: '2264f1ae517cb345f03e87f5330866751c098218', class: "tooltip" }, this.showArrow && h("div", { key: '10d8e432af8e3672962b7e363b5a2e49ae70a753', class: this.getArrowClass() }), h("div", { key: 'eb342f71471bbef672dd1965126073fcfb1c7fb8', class: "tooltip_content" }, h("slot", { key: '9fb20bf41b940a2f608f51d608c76815767ba521', name: "label" }), this.showSupportingText && h("slot", { key: '6c6c9f4a32715d828b5f48fa9d7412623063e507', name: "supporting_text" })))));
|
|
11431
11448
|
}
|
|
11432
11449
|
get el() { return getElement(this); }
|
|
11433
11450
|
};
|
|
11434
11451
|
GbTooltip.style = gbTooltipCss;
|
|
11435
11452
|
|
|
11436
|
-
|
|
11437
|
-
|
|
11453
|
+
const TestWrapper = class {
|
|
11454
|
+
constructor(hostRef) {
|
|
11455
|
+
registerInstance(this, hostRef);
|
|
11456
|
+
// Framework-agnostic per-row renderer. In an Angular app this is where you'd
|
|
11457
|
+
// use ViewContainerRef.createComponent(...) and append ref.location.nativeElement.
|
|
11458
|
+
this.renderRowAction = (container, row, emit) => {
|
|
11459
|
+
const btn = document.createElement('gb-button');
|
|
11460
|
+
btn.setAttribute('size', 'md');
|
|
11461
|
+
btn.setAttribute('hierarchy', 'link_color');
|
|
11462
|
+
btn.setAttribute('icon', 'default');
|
|
11463
|
+
btn.setAttribute('icon-leading', 'true');
|
|
11464
|
+
btn.setAttribute('icon-leading-swap', 'assets/icons/transition-right/stroke/rounded.svg');
|
|
11465
|
+
const label = document.createElement('p');
|
|
11466
|
+
// Render the row id so it's obvious each row gets its own content.
|
|
11467
|
+
label.textContent = `Action ${row.id}`;
|
|
11468
|
+
btn.appendChild(label);
|
|
11469
|
+
// Fire the table's rowActionClicked event, just like the built-in button type.
|
|
11470
|
+
btn.addEventListener('click', () => emit('custom_submit'));
|
|
11471
|
+
container.appendChild(btn);
|
|
11472
|
+
};
|
|
11473
|
+
}
|
|
11474
|
+
render() {
|
|
11475
|
+
return (h("gb-table", { key: '568cf81b557712c61278a86ac7a80fb2be95d586', renderCustomActions: this.renderRowAction, paginationConfig: { paginationMode: 'internal', entriesDropdownMenuPosition: 'top', currentPage: 1, pageSize: 5 }, onRowActionClicked: (e) => console.log('rowActionClicked', e.detail) }));
|
|
11476
|
+
}
|
|
11477
|
+
};
|
|
11478
|
+
|
|
11479
|
+
export { GbAccordionCard as gb_accordion_card, GbActionPanel as gb_action_panel, GbAppNameCard as gb_app_name_card, GbAvatar as gb_avatar, GbAvatarAddButton as gb_avatar_add_button, GbAvatarContrastInnerBorder as gb_avatar_contrast_inner_border, GbAvatarDropdown as gb_avatar_dropdown, GbAvatarGroup as gb_avatar_group, GbAvatarLabelGroup as gb_avatar_label_group, GbAvatarProfilePhoto as gb_avatar_profile_photo, GbBadges as gb_badge, BadgeClose as gb_badge_close, GbButton$1 as gb_btn, GbButton as gb_button, GbButtonClose as gb_button_close, GbButtonGroup as gb_button_group, GbButtonGroupBase as gb_button_group_base, GbCarouselArrow as gb_carousel_arrow, GbCheckbox as gb_checkbox, GbCheckboxBase as gb_checkbox_base, GbCollapseButton as gb_collapse_button, GbComplexPrimarySideBarItem as gb_complex_primary_side_bar_item, GbComplexSecondarySideBarItem as gb_complex_secondary_side_bar_item, GbContactHelpDropdown as gb_contact_help_dropdown, GbDatePicker as gb_date_picker, GbDatePickerListItem as gb_date_picker_list_item, GbDropdownShortcut as gb_dropdown_items_with_shortcut, GbEmptyState as gb_empty_state, GbExportDropdown as gb_export_dropdown, GbExportDropdownItem as gb_export_dropdown_item, GbExportSubDropdown as gb_export_sub_dropdown, GbExportSubDropdownItem as gb_export_sub_dropdown_item, GbFeaturedIcon as gb_featured_icon, GbFileTypeIcon as gb_file_type_icon, GbFilterButton as gb_filter_button, GbFilterModal as gb_filter_modal, GbHeader as gb_header, GbHeaderIcon as gb_header_icon, GbHelpDropdown as gb_help_dropdown, GbHelpTooltip as gb_help_tooltip, GbHorizontalTabs as gb_horizontal_tabs, GbIcon as gb_icon, GbIconButtonBase as gb_icon_button_base, GbIllustration as gb_illustration, GbInputDropdown as gb_input_dropdown, GbInputDropdownMenuItem as gb_input_dropdown_menu_item, GbInputField as gb_input_field, GbNotificationContent as gb_notification_content, GbNotificationPane as gb_notification_pane, GbPagination as gb_pagination, GbPaginationButtonGroupBase as gb_pagination_button_group_base, GbPaginationDotIndicator as gb_pagination_dot_indicator, GbPaginationNumberBase as gb_pagination_number_base, GbPasswordButton as gb_password_button, GbPattern as gb_pattern, GbPortal as gb_portal, GbPromptModal as gb_prompt_modal, GbSidebar as gb_sidebar, GbSidebarBaseItem as gb_sidebar_base_item, GbSidebarChildItem as gb_sidebar_child_item, GbSidebarSubDropdown as gb_sidebar_sub_dropdown, GbSimpleSideBarItem as gb_simple_side_bar_item, GbStatusIndicator as gb_status_indicator, GbStepBase as gb_step_base, GbStepIconBase as gb_step_icon_base, GbStepperHorizontalIconsCentered as gb_stepper_horizontal_icons_centered, GbTabButtonBase as gb_tab_button_base, GbTable as gb_table, GbTableHeader as gb_table_header, GbTag as gb_tag, GbTagCheckbox as gb_tag_checkbox, GbTagClose as gb_tag_close, GbTagCount as gb_tag_count, GbTextareaInputField as gb_textarea_input_field, GbThemeTab as gb_theme_tab, GbToast as gb_toast, GbToastButton as gb_toast_button, GbToggle as gb_toggle, GbToggleBase as gb_toggle_base, GbTooltip as gb_tooltip, TestWrapper as test_wrapper };
|
|
11480
|
+
//# sourceMappingURL=gb-accordion-card.gb-action-panel.gb-app-name-card.gb-avatar.gb-avatar-add-button.gb-avatar-contrast-inner-border.gb-avatar-dropdown.gb-avatar-group.gb-avatar-label-group.gb-avatar-profile-photo.gb-badge.gb-badge-close.gb-btn.gb-button.gb-button-close.gb-button-group.gb-button-group-base.gb-carousel-arrow.gb-checkbox.gb-checkbox-base.gb-collapse-button.gb-complex-primary-side-bar-item.gb-complex-secondary-side-bar-item.gb-contact-help-dropdown.gb-date-picker.gb-date-picker-list-item.gb-dropdown-items-with-shortcut.gb-empty-state.gb-export-dropdown.gb-export-dropdown-item.gb-export-sub-dropdown.gb-export-sub-dropdown-item.gb-featured-icon.gb-file-type-icon.gb-filter-button.gb-filter-modal.gb-header.gb-header-icon.gb-help-dropdown.gb-help-tooltip.gb-horizontal-tabs.gb-icon.gb-icon-button-base.gb-illustration.gb-input-dropdown.gb-input-dropdown-menu-item.gb-input-field.gb-notification-content.gb-notification-pane.gb-pagination.gb-pagination-button-group-base.gb-pagination-dot-indicator.gb-pagination-number-base.gb-password-button.gb-pattern.gb-portal.gb-prompt-modal.gb-sidebar.gb-sidebar-base-item.gb-sidebar-child-item.gb-sidebar-sub-dropdown.gb-simple-side-bar-item.gb-status-indicator.gb-step-base.gb-step-icon-base.gb-stepper-horizontal-icons-centered.gb-tab-button-base.gb-table.gb-table-header.gb-tag.gb-tag-checkbox.gb-tag-close.gb-tag-count.gb-textarea-input-field.gb-theme-tab.gb-toast.gb-toast-button.gb-toggle.gb-toggle-base.gb-tooltip.test-wrapper.entry.js.map
|
|
@@ -43,7 +43,7 @@ const GbTokenFieldCompact = class {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '43d241bbf4bc3464863300ddb0089ceff606107d', class: `compact_field_wrapper ${this.size}` }, h("div", { key: 'beea89f5a01bedacd27b8a40d7924e0be8ce884c', class: "input_with_label" }, this.showLabel && h("label", { key: 'f87c24ad063031e32670bf9dedb688b3397a9fbd', class: "text-sm-medium" }, this.label), h("input", { key: 'ae414f39983a7e32ad3feb5f78fcd15847d20c84', class: `token_input ${this.size}`, type: "text", inputMode: "numeric", placeholder: '-'.repeat(this.digits), value: this.inputValue, maxLength: this.digits, onInput: e => this.emitInputtedToken(e), onKeyDown: e => this.handleKeyDown(e), onPaste: e => this.handlePaste(e), ref: el => (this.inputEl = el) })), this.showSupportingText && h("p", { key: '7cc4761cfd625f915570e89a779bae85967ef1b2', class: "supporting_text text-sm-regular" }, this.supportingText)));
|
|
47
47
|
}
|
|
48
48
|
get el() { return getElement(this); }
|
|
49
49
|
};
|