globuswebcomponents 2.18.2 → 2.18.3
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_86.cjs.entry.js +55 -18
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/reusableModels-_LRAKnsh.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.js +22 -1
- package/dist/collection/components/gb-button/gb-button.js.map +1 -1
- package/dist/collection/components/gb-button/gb-button.tsx +7 -2
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js +59 -9
- package/dist/collection/components/gb-export-dropdown/gb-export-dropdown.js.map +1 -1
- package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js +22 -1
- package/dist/collection/components/gb-export-dropdown-item/gb-export-dropdown-item.js.map +1 -1
- package/dist/collection/components/gb-table/gb-table.js +44 -10
- package/dist/collection/components/gb-table/gb-table.js.map +1 -1
- package/dist/collection/components/gb-table-header/gb-table-header.js +44 -2
- package/dist/collection/components/gb-table-header/gb-table-header.js.map +1 -1
- package/dist/collection/models/reusableModels.js.map +1 -1
- package/dist/components/gb-action-panel.js +1 -1
- package/dist/components/gb-approval-modal.js +2 -2
- 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 +2 -2
- package/dist/components/gb-comment.js +1 -1
- package/dist/components/gb-date-picker.js +1 -1
- package/dist/components/gb-detail-cell.js +1 -1
- package/dist/components/gb-empty-state.js +1 -1
- package/dist/components/gb-export-dropdown-item.js +1 -1
- package/dist/components/gb-export-dropdown.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +2 -2
- package/dist/components/gb-filter-button.js +1 -1
- package/dist/components/gb-filter-modal.js +1 -1
- package/dist/components/gb-header.js +4 -4
- package/dist/components/gb-input-dropdown-test.js +3 -3
- 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 +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-prompt-modal.js +1 -1
- package/dist/components/gb-rich-text.js +5 -5
- package/dist/components/gb-table-header.js +1 -1
- package/dist/components/gb-table.js +1 -1
- package/dist/components/gb-toast.js +1 -1
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/{p-CiiR529Y.js → p--_JpkqrZ.js} +22 -10
- package/dist/components/p--_JpkqrZ.js.map +1 -0
- package/dist/components/{p-G_1Hj20d.js → p-B-eg7Ble.js} +3 -3
- package/dist/components/{p-G_1Hj20d.js.map → p-B-eg7Ble.js.map} +1 -1
- package/dist/components/{p-D3KjVinJ.js → p-B2cesIns.js} +3 -3
- package/dist/components/{p-D3KjVinJ.js.map → p-B2cesIns.js.map} +1 -1
- package/dist/components/{p-DV0_Rpsq.js → p-BF-N7J8c.js} +5 -5
- package/dist/components/{p-DV0_Rpsq.js.map → p-BF-N7J8c.js.map} +1 -1
- package/dist/components/{p-BXOb-sxX.js → p-BI0Ex54P.js} +3 -3
- package/dist/components/{p-BXOb-sxX.js.map → p-BI0Ex54P.js.map} +1 -1
- package/dist/components/{p-tsXOiJ8G.js → p-By402klS.js} +3 -3
- package/dist/components/{p-tsXOiJ8G.js.map → p-By402klS.js.map} +1 -1
- package/dist/components/{p-CVVZFgtT.js → p-CITjyuOY.js} +15 -11
- package/dist/components/p-CITjyuOY.js.map +1 -0
- package/dist/components/{p-D0ICcCwP.js → p-CsyLoHd6.js} +3 -3
- package/dist/components/{p-D0ICcCwP.js.map → p-CsyLoHd6.js.map} +1 -1
- package/dist/components/{p-Cs227sL-.js → p-CzePcMXF.js} +6 -6
- package/dist/components/{p-Cs227sL-.js.map → p-CzePcMXF.js.map} +1 -1
- package/dist/components/{p-CBuOnylk.js → p-D1fnUzqW.js} +8 -4
- package/dist/components/p-D1fnUzqW.js.map +1 -0
- package/dist/components/{p-Cy2DpE74.js → p-DHXR9Sxk.js} +3 -3
- package/dist/components/{p-Cy2DpE74.js.map → p-DHXR9Sxk.js.map} +1 -1
- package/dist/components/{p-RSws383T.js → p-DIFK2uPX.js} +3 -3
- package/dist/components/{p-RSws383T.js.map → p-DIFK2uPX.js.map} +1 -1
- package/dist/components/{p-B-5pwC7d.js → p-DQBORnne.js} +4 -4
- package/dist/components/{p-B-5pwC7d.js.map → p-DQBORnne.js.map} +1 -1
- package/dist/components/{p-C3u53LcN.js → p-DQOaeODg.js} +42 -22
- package/dist/components/p-DQOaeODg.js.map +1 -0
- package/dist/components/{p-JfNYOsVW.js → p-DSQYTQAy.js} +6 -4
- package/dist/components/p-DSQYTQAy.js.map +1 -0
- package/dist/components/{p-DtT9_6lb.js → p-DsN3hb33.js} +6 -6
- package/dist/components/{p-DtT9_6lb.js.map → p-DsN3hb33.js.map} +1 -1
- package/dist/components/{p-8R21NzYN.js → p-DtJfuVIF.js} +4 -4
- package/dist/components/{p-8R21NzYN.js.map → p-DtJfuVIF.js.map} +1 -1
- package/dist/components/{p-2ln_RZsP.js → p-WXjkXlUF.js} +3 -3
- package/dist/components/{p-2ln_RZsP.js.map → p-WXjkXlUF.js.map} +1 -1
- package/dist/components/p-cHn6O-Kf.js.map +1 -1
- package/dist/components/{p-CEfxsCIn.js → p-jUlrLXgu.js} +3 -3
- package/dist/components/{p-CEfxsCIn.js.map → p-jUlrLXgu.js.map} +1 -1
- package/dist/components/test-wrapper.js +14 -14
- package/dist/docs.json +186 -12
- package/dist/esm/gb-accordion-card_86.entry.js +55 -18
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/reusableModels-cHn6O-Kf.js.map +1 -1
- package/dist/globuscomponents/gb-button.tsx +7 -2
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/{p-3ca996c4.entry.js → p-1a215393.entry.js} +2 -2
- package/dist/globuscomponents/p-1a215393.entry.js.map +1 -0
- package/dist/globuscomponents/p-cHn6O-Kf.js.map +1 -1
- package/dist/types/components/gb-button/gb-button.d.ts +3 -0
- package/dist/types/components/gb-export-dropdown/gb-export-dropdown.d.ts +5 -3
- package/dist/types/components/gb-export-dropdown-item/gb-export-dropdown-item.d.ts +2 -1
- package/dist/types/components/gb-table/gb-table.d.ts +5 -0
- package/dist/types/components/gb-table-header/gb-table-header.d.ts +2 -0
- package/dist/types/components.d.ts +66 -4
- package/dist/types/models/reusableModels.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/p-C3u53LcN.js.map +0 -1
- package/dist/components/p-CBuOnylk.js.map +0 -1
- package/dist/components/p-CVVZFgtT.js.map +0 -1
- package/dist/components/p-CiiR529Y.js.map +0 -1
- package/dist/components/p-JfNYOsVW.js.map +0 -1
- package/dist/globuscomponents/p-3ca996c4.entry.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-cHn6O-Kf.js","sources":["src/models/reusableModels.ts"],"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' | 'open';\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 hasAvatar?: boolean;\r\n cellAvatar?: {\r\n props?: {};\r\n slots?: {\r\n initials?: string | ((row: any) => string | any);\r\n image?: string | ((row: any) => string | any);\r\n };\r\n };\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 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' | 'custom';\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 columnKey?: string; // ← the actual row property to filter on\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 mode?: 'internal' | 'external';\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\r\nexport type IconStyles = 'stroke' | 'two-tone' | 'duotone' | 'solid' | 'bulk';\r\n\r\nexport type IconTypes = 'rounded' | 'sharp';\r\n\r\nexport type SubMenuChild = {\r\n label: string;\r\n icon: string;\r\n};\r\n\r\nexport type SubMenuItem = {\r\n label: string;\r\n icon: string;\r\n children?: SubMenuChild[];\r\n}
|
|
1
|
+
{"version":3,"file":"p-cHn6O-Kf.js","sources":["src/models/reusableModels.ts"],"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' | 'open';\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 cellEvent?: string | string[];\r\n hasAvatar?: boolean;\r\n cellAvatar?: {\r\n props?: {};\r\n slots?: {\r\n initials?: string | ((row: any) => string | any);\r\n image?: string | ((row: any) => string | any);\r\n };\r\n };\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 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' | 'custom';\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 columnKey?: string; // ← the actual row property to filter on\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 mode?: 'internal' | 'external';\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\r\nexport type IconStyles = 'stroke' | 'two-tone' | 'duotone' | 'solid' | 'bulk';\r\n\r\nexport type IconTypes = 'rounded' | 'sharp';\r\n\r\nexport type SubMenuChild = {\r\n label: string;\r\n icon: string;\r\n};\r\n\r\nexport type SubMenuItem = {\r\n label: string;\r\n icon: string;\r\n children?: SubMenuChild[];\r\n};\r\n"],"names":[],"mappings":"AAIY,IAAA;AAAZ,CAAA,UAAY,SAAS,EAAA;AACnB,IAAA,SAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,SAAA,CAAA,UAAA,CAAA,GAAA,UAAqB;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,GAGpB,EAAA,CAAA,CAAA;AAMW,IAAA;AAAZ,CAAA,UAAY,aAAa,EAAA;AACvB,IAAA,aAAA,CAAA,WAAA,CAAA,GAAA,YAAwB;AACxB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,aAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACnB,IAAA,aAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACjB,CAAC,EALW,aAAa,KAAb,aAAa,GAKxB,EAAA,CAAA,CAAA;AAEW,IAAA;AAAZ,CAAA,UAAY,qBAAqB,EAAA;AAC/B,IAAA,qBAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,qBAAA,CAAA,SAAA,CAAA,GAAA,SAAmB;AACrB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,GAGhC,EAAA,CAAA,CAAA;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
import { ArrowPositions, GeneralHierarchies, GeneralSizes, StateType } from '../../models/reusableModels';
|
|
2
3
|
export declare class GbButton {
|
|
3
4
|
size: GeneralSizes;
|
|
@@ -29,6 +30,7 @@ export declare class GbButton {
|
|
|
29
30
|
internalIconLeadingState: string;
|
|
30
31
|
internalIconTrailingState: string;
|
|
31
32
|
tooltipShown: boolean;
|
|
33
|
+
buttonClicked: EventEmitter<void>;
|
|
32
34
|
getNativeButton(): Promise<HTMLButtonElement | null>;
|
|
33
35
|
componentWillLoad(): void;
|
|
34
36
|
loadIcon(iconName: string, type: 'leading' | 'trailing'): Promise<void>;
|
|
@@ -43,5 +45,6 @@ export declare class GbButton {
|
|
|
43
45
|
getButtonTextClasses(): "text-md-semi-bold" | "text-sm-semi-bold";
|
|
44
46
|
renderLeadingIcon(): any;
|
|
45
47
|
renderTrailingIcon(): any;
|
|
48
|
+
emitButtonEvent(): void;
|
|
46
49
|
render(): any;
|
|
47
50
|
}
|
|
@@ -3,11 +3,13 @@ import { StateEnum } from '../../models/reusableModels';
|
|
|
3
3
|
export declare class GbExportDropdown {
|
|
4
4
|
state: StateEnum;
|
|
5
5
|
showEntireData: boolean;
|
|
6
|
-
showFirstSubDropdown: boolean;
|
|
7
|
-
showSecondSubDropdown: boolean;
|
|
8
6
|
pdfState: StateEnum;
|
|
9
7
|
csvState: StateEnum;
|
|
10
|
-
|
|
8
|
+
pdfSubDropdown: boolean;
|
|
9
|
+
csvSubDropdown: boolean;
|
|
10
|
+
showFirstSubDropdown: boolean;
|
|
11
|
+
showSecondSubDropdown: boolean;
|
|
12
|
+
exportClicked: EventEmitter<void | {
|
|
11
13
|
exportType: string;
|
|
12
14
|
dataType: string;
|
|
13
15
|
}>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { StateEnum } from
|
|
1
|
+
import { StateEnum } from '../../models/reusableModels';
|
|
2
2
|
export declare class GbExportDropdownItem {
|
|
3
3
|
icon: boolean;
|
|
4
4
|
state: StateEnum;
|
|
5
5
|
type: 'pdf' | 'csv';
|
|
6
|
+
subMenu: boolean;
|
|
6
7
|
el: HTMLElement;
|
|
7
8
|
render(): any;
|
|
8
9
|
}
|
|
@@ -35,6 +35,8 @@ export declare class GbTable {
|
|
|
35
35
|
exportButtonState?: 'default' | 'disabled';
|
|
36
36
|
pdfState?: 'default' | 'disabled';
|
|
37
37
|
csvState?: 'default' | 'disabled';
|
|
38
|
+
pdfSubDropdown?: boolean;
|
|
39
|
+
csvSubDropdown?: boolean;
|
|
38
40
|
datePickerMode?: 'single' | 'range';
|
|
39
41
|
inputPlaceholder?: string;
|
|
40
42
|
datePickerPlaceholder?: string;
|
|
@@ -131,6 +133,9 @@ export declare class GbTable {
|
|
|
131
133
|
filterApplied: EventEmitter<any>;
|
|
132
134
|
filterCleared: EventEmitter<void>;
|
|
133
135
|
tableControlClicked: EventEmitter<string>;
|
|
136
|
+
cellActionFired: EventEmitter<{
|
|
137
|
+
row: any;
|
|
138
|
+
}>;
|
|
134
139
|
private isDraggingModal;
|
|
135
140
|
private dragOffset;
|
|
136
141
|
private actionButtonRefs;
|
|
@@ -1056,10 +1056,18 @@ export namespace Components {
|
|
|
1056
1056
|
* @default StateEnum.Default
|
|
1057
1057
|
*/
|
|
1058
1058
|
"csvState": StateEnum;
|
|
1059
|
+
/**
|
|
1060
|
+
* @default true
|
|
1061
|
+
*/
|
|
1062
|
+
"csvSubDropdown": boolean;
|
|
1059
1063
|
/**
|
|
1060
1064
|
* @default StateEnum.Default
|
|
1061
1065
|
*/
|
|
1062
1066
|
"pdfState": StateEnum;
|
|
1067
|
+
/**
|
|
1068
|
+
* @default true
|
|
1069
|
+
*/
|
|
1070
|
+
"pdfSubDropdown": boolean;
|
|
1063
1071
|
/**
|
|
1064
1072
|
* @default false
|
|
1065
1073
|
*/
|
|
@@ -1075,6 +1083,10 @@ export namespace Components {
|
|
|
1075
1083
|
* @default StateEnum.Default
|
|
1076
1084
|
*/
|
|
1077
1085
|
"state": StateEnum;
|
|
1086
|
+
/**
|
|
1087
|
+
* @default false
|
|
1088
|
+
*/
|
|
1089
|
+
"subMenu": boolean;
|
|
1078
1090
|
"type": 'pdf' | 'csv';
|
|
1079
1091
|
}
|
|
1080
1092
|
interface GbExportSubDropdown {
|
|
@@ -2749,7 +2761,7 @@ export namespace Components {
|
|
|
2749
2761
|
}
|
|
2750
2762
|
interface GbTable {
|
|
2751
2763
|
/**
|
|
2752
|
-
* @default [ // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } }, // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } }, // { // key: 'name', // label: 'Name', // sortable: true, // sortType: 'string', // helpIcon: true, // searchable: true, // hasAvatar: true, // cellAvatar: { // // image: '', // slots: { // // initials: row => row.name.split(' ').map((nm: string) => nm.charAt(0)), // image: row => row.image, // }, // }, // mobile: { position: 'top_right' }, // }, // { key: 'role', label: 'Role', searchable: true }, // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: row => ({ color: row.amount > 200 ? 'green' : '' }) }, // { // key: 'status', // label: 'Status', // cellComponent: 'gb-
|
|
2764
|
+
* @default [ // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } }, // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } }, // { // key: 'name', // label: 'Name', // sortable: true, // sortType: 'string', // helpIcon: true, // searchable: true, // hasAvatar: true, // cellAvatar: { // // image: '', // slots: { // // initials: row => row.name.split(' ').map((nm: string) => nm.charAt(0)), // image: row => row.image, // }, // }, // mobile: { position: 'top_right' }, // }, // { key: 'role', label: 'Role', searchable: true }, // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: row => ({ color: row.amount > 200 ? 'green' : '' }) }, // { // key: 'status', // label: 'Status', // cellComponent: 'gb-button', // cellProps: row => ({ // hierarchy: 'link_gray', // size: 'md', // icon: 'default', // iconLeading: true, // iconLeadingSwap: 'assets/view.svg' // }), // cellEvent: 'buttonClicked', // cellSlots: { // default: { // tag: 'p', // content: row => row.status, // }, // }, // }, ]
|
|
2753
2765
|
*/
|
|
2754
2766
|
"columns": TableColumn[];
|
|
2755
2767
|
/**
|
|
@@ -2854,6 +2866,8 @@ export namespace Components {
|
|
|
2854
2866
|
exportButtonState?: 'default' | 'disabled';
|
|
2855
2867
|
pdfState?: 'default' | 'disabled';
|
|
2856
2868
|
csvState?: 'default' | 'disabled';
|
|
2869
|
+
pdfSubDropdown?: boolean;
|
|
2870
|
+
csvSubDropdown?: boolean;
|
|
2857
2871
|
datePickerMode?: 'single' | 'range';
|
|
2858
2872
|
inputPlaceholder?: string;
|
|
2859
2873
|
datePickerPlaceholder?: string;
|
|
@@ -2869,6 +2883,10 @@ export namespace Components {
|
|
|
2869
2883
|
* @default StateEnum.Default
|
|
2870
2884
|
*/
|
|
2871
2885
|
"csvState": StateEnum;
|
|
2886
|
+
/**
|
|
2887
|
+
* @default true
|
|
2888
|
+
*/
|
|
2889
|
+
"csvSubDropdown": boolean;
|
|
2872
2890
|
/**
|
|
2873
2891
|
* @default false
|
|
2874
2892
|
*/
|
|
@@ -2922,6 +2940,10 @@ export namespace Components {
|
|
|
2922
2940
|
* @default StateEnum.Default
|
|
2923
2941
|
*/
|
|
2924
2942
|
"pdfState": StateEnum;
|
|
2943
|
+
/**
|
|
2944
|
+
* @default true
|
|
2945
|
+
*/
|
|
2946
|
+
"pdfSubDropdown": boolean;
|
|
2925
2947
|
/**
|
|
2926
2948
|
* @default false
|
|
2927
2949
|
*/
|
|
@@ -3328,6 +3350,10 @@ export interface GbBreadcrumbsCustomEvent<T> extends CustomEvent<T> {
|
|
|
3328
3350
|
detail: T;
|
|
3329
3351
|
target: HTMLGbBreadcrumbsElement;
|
|
3330
3352
|
}
|
|
3353
|
+
export interface GbButtonCustomEvent<T> extends CustomEvent<T> {
|
|
3354
|
+
detail: T;
|
|
3355
|
+
target: HTMLGbButtonElement;
|
|
3356
|
+
}
|
|
3331
3357
|
export interface GbButtonGroupCustomEvent<T> extends CustomEvent<T> {
|
|
3332
3358
|
detail: T;
|
|
3333
3359
|
target: HTMLGbButtonGroupElement;
|
|
@@ -3687,7 +3713,18 @@ declare global {
|
|
|
3687
3713
|
prototype: HTMLGbBtnElement;
|
|
3688
3714
|
new (): HTMLGbBtnElement;
|
|
3689
3715
|
};
|
|
3716
|
+
interface HTMLGbButtonElementEventMap {
|
|
3717
|
+
"buttonClicked": void;
|
|
3718
|
+
}
|
|
3690
3719
|
interface HTMLGbButtonElement extends Components.GbButton, HTMLStencilElement {
|
|
3720
|
+
addEventListener<K extends keyof HTMLGbButtonElementEventMap>(type: K, listener: (this: HTMLGbButtonElement, ev: GbButtonCustomEvent<HTMLGbButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3721
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3722
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3723
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3724
|
+
removeEventListener<K extends keyof HTMLGbButtonElementEventMap>(type: K, listener: (this: HTMLGbButtonElement, ev: GbButtonCustomEvent<HTMLGbButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3725
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3726
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3727
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3691
3728
|
}
|
|
3692
3729
|
var HTMLGbButtonElement: {
|
|
3693
3730
|
prototype: HTMLGbButtonElement;
|
|
@@ -3912,7 +3949,7 @@ declare global {
|
|
|
3912
3949
|
new (): HTMLGbEmptyStateElement;
|
|
3913
3950
|
};
|
|
3914
3951
|
interface HTMLGbExportDropdownElementEventMap {
|
|
3915
|
-
"exportClicked": { exportType: string; dataType: string };
|
|
3952
|
+
"exportClicked": void | { exportType: string; dataType: string };
|
|
3916
3953
|
}
|
|
3917
3954
|
interface HTMLGbExportDropdownElement extends Components.GbExportDropdown, HTMLStencilElement {
|
|
3918
3955
|
addEventListener<K extends keyof HTMLGbExportDropdownElementEventMap>(type: K, listener: (this: HTMLGbExportDropdownElement, ev: GbExportDropdownCustomEvent<HTMLGbExportDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -4644,6 +4681,7 @@ declare global {
|
|
|
4644
4681
|
"filterApplied": any;
|
|
4645
4682
|
"filterCleared": void;
|
|
4646
4683
|
"tableControlClicked": string;
|
|
4684
|
+
"cellActionFired": { row: any; };
|
|
4647
4685
|
}
|
|
4648
4686
|
interface HTMLGbTableElement extends Components.GbTable, HTMLStencilElement {
|
|
4649
4687
|
addEventListener<K extends keyof HTMLGbTableElementEventMap>(type: K, listener: (this: HTMLGbTableElement, ev: GbTableCustomEvent<HTMLGbTableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -5565,6 +5603,7 @@ declare namespace LocalJSX {
|
|
|
5565
5603
|
* @default ''
|
|
5566
5604
|
*/
|
|
5567
5605
|
"iconTrailingType"?: string;
|
|
5606
|
+
"onButtonClicked"?: (event: GbButtonCustomEvent<void>) => void;
|
|
5568
5607
|
/**
|
|
5569
5608
|
* @default false
|
|
5570
5609
|
*/
|
|
@@ -6130,11 +6169,19 @@ declare namespace LocalJSX {
|
|
|
6130
6169
|
* @default StateEnum.Default
|
|
6131
6170
|
*/
|
|
6132
6171
|
"csvState"?: StateEnum;
|
|
6133
|
-
|
|
6172
|
+
/**
|
|
6173
|
+
* @default true
|
|
6174
|
+
*/
|
|
6175
|
+
"csvSubDropdown"?: boolean;
|
|
6176
|
+
"onExportClicked"?: (event: GbExportDropdownCustomEvent<void | { exportType: string; dataType: string }>) => void;
|
|
6134
6177
|
/**
|
|
6135
6178
|
* @default StateEnum.Default
|
|
6136
6179
|
*/
|
|
6137
6180
|
"pdfState"?: StateEnum;
|
|
6181
|
+
/**
|
|
6182
|
+
* @default true
|
|
6183
|
+
*/
|
|
6184
|
+
"pdfSubDropdown"?: boolean;
|
|
6138
6185
|
/**
|
|
6139
6186
|
* @default false
|
|
6140
6187
|
*/
|
|
@@ -6150,6 +6197,10 @@ declare namespace LocalJSX {
|
|
|
6150
6197
|
* @default StateEnum.Default
|
|
6151
6198
|
*/
|
|
6152
6199
|
"state"?: StateEnum;
|
|
6200
|
+
/**
|
|
6201
|
+
* @default false
|
|
6202
|
+
*/
|
|
6203
|
+
"subMenu"?: boolean;
|
|
6153
6204
|
"type"?: 'pdf' | 'csv';
|
|
6154
6205
|
}
|
|
6155
6206
|
interface GbExportSubDropdown {
|
|
@@ -7871,7 +7922,7 @@ declare namespace LocalJSX {
|
|
|
7871
7922
|
}
|
|
7872
7923
|
interface GbTable {
|
|
7873
7924
|
/**
|
|
7874
|
-
* @default [ // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } }, // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } }, // { // key: 'name', // label: 'Name', // sortable: true, // sortType: 'string', // helpIcon: true, // searchable: true, // hasAvatar: true, // cellAvatar: { // // image: '', // slots: { // // initials: row => row.name.split(' ').map((nm: string) => nm.charAt(0)), // image: row => row.image, // }, // }, // mobile: { position: 'top_right' }, // }, // { key: 'role', label: 'Role', searchable: true }, // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: row => ({ color: row.amount > 200 ? 'green' : '' }) }, // { // key: 'status', // label: 'Status', // cellComponent: 'gb-
|
|
7925
|
+
* @default [ // { key: 'id', label: '#', width: '70px', sortable: true, sortType: 'string', mobile: { position: 'top_left' } }, // { key: 'date', label: 'Date', value: row => row.date.toLocaleString(), mobile: { position: 'bottom_left' } }, // { // key: 'name', // label: 'Name', // sortable: true, // sortType: 'string', // helpIcon: true, // searchable: true, // hasAvatar: true, // cellAvatar: { // // image: '', // slots: { // // initials: row => row.name.split(' ').map((nm: string) => nm.charAt(0)), // image: row => row.image, // }, // }, // mobile: { position: 'top_right' }, // }, // { key: 'role', label: 'Role', searchable: true }, // { key: 'amount', label: 'Amount', align: 'right', sortable: true, sortType: 'number', cellStyle: row => ({ color: row.amount > 200 ? 'green' : '' }) }, // { // key: 'status', // label: 'Status', // cellComponent: 'gb-button', // cellProps: row => ({ // hierarchy: 'link_gray', // size: 'md', // icon: 'default', // iconLeading: true, // iconLeadingSwap: 'assets/view.svg' // }), // cellEvent: 'buttonClicked', // cellSlots: { // default: { // tag: 'p', // content: row => row.status, // }, // }, // }, ]
|
|
7875
7926
|
*/
|
|
7876
7927
|
"columns"?: TableColumn[];
|
|
7877
7928
|
/**
|
|
@@ -7919,6 +7970,7 @@ declare namespace LocalJSX {
|
|
|
7919
7970
|
* @default false
|
|
7920
7971
|
*/
|
|
7921
7972
|
"loading"?: boolean;
|
|
7973
|
+
"onCellActionFired"?: (event: GbTableCustomEvent<{ row: any; }>) => void;
|
|
7922
7974
|
"onDateChange"?: (event: GbTableCustomEvent<string | string[]>) => void;
|
|
7923
7975
|
"onExportClicked"?: (event: GbTableCustomEvent<{ dataType: string; exportType: string }>) => void;
|
|
7924
7976
|
"onFilterApplied"?: (event: GbTableCustomEvent<any>) => void;
|
|
@@ -7987,6 +8039,8 @@ declare namespace LocalJSX {
|
|
|
7987
8039
|
exportButtonState?: 'default' | 'disabled';
|
|
7988
8040
|
pdfState?: 'default' | 'disabled';
|
|
7989
8041
|
csvState?: 'default' | 'disabled';
|
|
8042
|
+
pdfSubDropdown?: boolean;
|
|
8043
|
+
csvSubDropdown?: boolean;
|
|
7990
8044
|
datePickerMode?: 'single' | 'range';
|
|
7991
8045
|
inputPlaceholder?: string;
|
|
7992
8046
|
datePickerPlaceholder?: string;
|
|
@@ -8002,6 +8056,10 @@ declare namespace LocalJSX {
|
|
|
8002
8056
|
* @default StateEnum.Default
|
|
8003
8057
|
*/
|
|
8004
8058
|
"csvState"?: StateEnum;
|
|
8059
|
+
/**
|
|
8060
|
+
* @default true
|
|
8061
|
+
*/
|
|
8062
|
+
"csvSubDropdown"?: boolean;
|
|
8005
8063
|
/**
|
|
8006
8064
|
* @default false
|
|
8007
8065
|
*/
|
|
@@ -8063,6 +8121,10 @@ declare namespace LocalJSX {
|
|
|
8063
8121
|
* @default StateEnum.Default
|
|
8064
8122
|
*/
|
|
8065
8123
|
"pdfState"?: StateEnum;
|
|
8124
|
+
/**
|
|
8125
|
+
* @default true
|
|
8126
|
+
*/
|
|
8127
|
+
"pdfSubDropdown"?: boolean;
|
|
8066
8128
|
/**
|
|
8067
8129
|
* @default false
|
|
8068
8130
|
*/
|