@ganpatiinfo/gids-react-web 15.0.0 → 16.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/GidsCrossTable/GidsCrossTable.d.ts +17 -0
- package/dist/components/GidsCrossTable/GidsCrossTable.d.ts.map +1 -0
- package/dist/components/GidsCrossTable/GidsCrossTable.js +73 -0
- package/dist/components/GidsCrossTable/GidsCrossTable.js.map +1 -0
- package/dist/components/GidsCrossTableBody/GidsCrossTableBody.d.ts +12 -0
- package/dist/components/GidsCrossTableBody/GidsCrossTableBody.d.ts.map +1 -0
- package/dist/components/GidsCrossTableBody/GidsCrossTableBody.js +65 -0
- package/dist/components/GidsCrossTableBody/GidsCrossTableBody.js.map +1 -0
- package/dist/components/GidsCrossTableRow/GidsCrossTableRow.d.ts +12 -0
- package/dist/components/GidsCrossTableRow/GidsCrossTableRow.d.ts.map +1 -0
- package/dist/components/GidsCrossTableRow/GidsCrossTableRow.js +34 -0
- package/dist/components/GidsCrossTableRow/GidsCrossTableRow.js.map +1 -0
- package/dist/components/GidsDialog/GidsDialog.d.ts +13 -0
- package/dist/components/GidsDialog/GidsDialog.d.ts.map +1 -0
- package/dist/components/GidsDialog/GidsDialog.js +111 -0
- package/dist/components/GidsDialog/GidsDialog.js.map +1 -0
- package/dist/components/GidsMatrixTable/GidsMatrixTable.d.ts +22 -0
- package/dist/components/GidsMatrixTable/GidsMatrixTable.d.ts.map +1 -1
- package/dist/components/GidsMatrixTable/GidsMatrixTable.js +7 -0
- package/dist/components/GidsMatrixTable/GidsMatrixTable.js.map +1 -1
- package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.d.ts +22 -0
- package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.d.ts.map +1 -1
- package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.js +7 -0
- package/dist/components/GidsMatrixTableBody/GidsMatrixTableBody.js.map +1 -1
- package/dist/components/GidsMenu/GidsMenu.d.ts.map +1 -1
- package/dist/components/GidsMenu/GidsMenu.js +6 -3
- package/dist/components/GidsMenu/GidsMenu.js.map +1 -1
- package/dist/components/GidsTable/GidsTable.d.ts +1 -1
- package/dist/components/GidsTable/GidsTable.d.ts.map +1 -1
- package/dist/components/GidsTable/GidsTable.js +11 -5
- package/dist/components/GidsTable/GidsTable.js.map +1 -1
- package/dist/components/GidsTableFooter/GidsTableFooter.d.ts +2 -2
- package/dist/components/GidsTableFooter/GidsTableFooter.d.ts.map +1 -1
- package/dist/components/GidsTableFooter/GidsTableFooter.js +4 -24
- package/dist/components/GidsTableFooter/GidsTableFooter.js.map +1 -1
- package/dist/components/GidsTableFooterControl/GidsTableFooterControl.d.ts +1 -1
- package/dist/components/GidsTableFooterControl/GidsTableFooterControl.d.ts.map +1 -1
- package/dist/components/GidsTableFooterControl/GidsTableFooterControl.js +9 -8
- package/dist/components/GidsTableFooterControl/GidsTableFooterControl.js.map +1 -1
- package/dist/components/GidsTableHeader/GidsTableHeader.d.ts +1 -1
- package/dist/components/GidsTableHeader/GidsTableHeader.d.ts.map +1 -1
- package/dist/components/GidsTableHeader/GidsTableHeader.js +2 -2
- package/dist/components/GidsTableHeader/GidsTableHeader.js.map +1 -1
- package/dist/components/GidsTableRow/GidsTableRow.d.ts +1 -1
- package/dist/components/GidsTableRow/GidsTableRow.d.ts.map +1 -1
- package/dist/components/GidsTableRow/GidsTableRow.js +2 -2
- package/dist/components/GidsTableRow/GidsTableRow.js.map +1 -1
- package/dist/components/GidsTableToolbar/GidsTableToolbar.js +2 -2
- package/dist/components/GidsTableToolbar/GidsTableToolbar.js.map +1 -1
- package/dist/components/_GidsDialogControl/GidsDialogControl.d.ts +8 -0
- package/dist/components/_GidsDialogControl/GidsDialogControl.d.ts.map +1 -0
- package/dist/components/_GidsDialogControl/GidsDialogControl.js +79 -0
- package/dist/components/_GidsDialogControl/GidsDialogControl.js.map +1 -0
- package/dist/components/stencil-generated/components.d.ts +7 -0
- package/dist/components/stencil-generated/components.d.ts.map +1 -1
- package/dist/components/stencil-generated/components.js +7 -0
- package/dist/components/stencil-generated/components.js.map +1 -1
- package/dist/components/stencil-generated/gids-header-navigation-item.d.ts +10 -0
- package/dist/components/stencil-generated/gids-header-navigation-item.d.ts.map +1 -0
- package/dist/components/stencil-generated/gids-header-navigation-item.js +13 -0
- package/dist/components/stencil-generated/gids-header-navigation-item.js.map +1 -0
- package/dist/components/stencil-generated/gids-header-navigation.d.ts +10 -0
- package/dist/components/stencil-generated/gids-header-navigation.d.ts.map +1 -0
- package/dist/components/stencil-generated/gids-header-navigation.js +13 -0
- package/dist/components/stencil-generated/gids-header-navigation.js.map +1 -0
- package/dist/components/stencil-generated/gids-profile-menu-header.d.ts +10 -0
- package/dist/components/stencil-generated/gids-profile-menu-header.d.ts.map +1 -0
- package/dist/components/stencil-generated/gids-profile-menu-header.js +13 -0
- package/dist/components/stencil-generated/gids-profile-menu-header.js.map +1 -0
- package/dist/components/stencil-generated/gids-profile-menu.d.ts +10 -0
- package/dist/components/stencil-generated/gids-profile-menu.d.ts.map +1 -0
- package/dist/components/stencil-generated/gids-profile-menu.js +13 -0
- package/dist/components/stencil-generated/gids-profile-menu.js.map +1 -0
- package/dist/components/stencil-generated/gids-profile.d.ts +10 -0
- package/dist/components/stencil-generated/gids-profile.d.ts.map +1 -0
- package/dist/components/stencil-generated/gids-profile.js +13 -0
- package/dist/components/stencil-generated/gids-profile.js.map +1 -0
- package/dist/components/stencil-generated/gids-skeleton.d.ts +10 -0
- package/dist/components/stencil-generated/gids-skeleton.d.ts.map +1 -0
- package/dist/components/stencil-generated/gids-skeleton.js +13 -0
- package/dist/components/stencil-generated/gids-skeleton.js.map +1 -0
- package/dist/components/stencil-generated/gids-transfer-list.d.ts +10 -0
- package/dist/components/stencil-generated/gids-transfer-list.d.ts.map +1 -0
- package/dist/components/stencil-generated/gids-transfer-list.js +13 -0
- package/dist/components/stencil-generated/gids-transfer-list.js.map +1 -0
- package/dist/index.d.ts +106 -95
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +106 -95
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTable.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTable/GidsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,6BAA6B,EAC7B,iBAAiB,EAGjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACN,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEN,qBAAqB,EACrB,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"GidsTable.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTable/GidsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,6BAA6B,EAC7B,iBAAiB,EAGjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACN,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEN,qBAAqB,EACrB,MAAM,sCAAsC,CAAC;AAoB9C,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAC9C,wBAAwB,CACvB,SAAS,EACT,UAAU,EACV,SAAS,EACT,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,EAC9C,eAAe,CACf,EACD,YAAY,CACZ,GACA,IAAI,CACH,qBAAqB,EACnB,UAAU,GACV,SAAS,GACT,SAAS,GACT,QAAQ,GACR,sBAAsB,GACtB,YAAY,CACd,CAAC;AAEH,UAAU,qBACT,SACC,IAAI,CACH,iBAAiB,CAChB,SAAS,EACT,6BAA6B,EAC7B,QAAQ,EACR,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,CAC9C,EACD,iBAAiB,CACjB,EACD,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IAClD,eAAe,CAAC,EAAE,4BAA4B,CAAC;CAC/C;AAED,KAAK,wBAAwB,GAAG,oBAAoB,CACnD,UAAU,EACV,6BAA6B,EAC7B,QAAQ,EACR,cAAc,CACd,CAAC;AAEF,MAAM,WAAW,cAAe,SAAQ,qBAAqB;IAC5D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,IAAI,CAAC;CAC1D;AAED,eAAO,MAAM,SAAS,GAAI,+WAwBvB,cAAc,sBAgHhB,CAAC"}
|
|
@@ -4,8 +4,10 @@ import { GidsTableToolbar, } from '../GidsTableToolbar/GidsTableToolbar';
|
|
|
4
4
|
import { GidsTableHeader, } from '../GidsTableHeader/GidsTableHeader';
|
|
5
5
|
import { GidsTableBody, } from '../GidsTableBody/GidsTableBody';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
import { GidsTableFooterControl } from '../GidsTableFooterControl/GidsTableFooterControl';
|
|
8
|
+
import { GidsTableFooter } from '../GidsTableFooter/GidsTableFooter';
|
|
9
|
+
const { getGidsTableClassNames, getCustomisedTableHeaderEntries, getCustomisedTableFooterEntries, getTableBodyBorder, } = GidsTableWebUtils;
|
|
10
|
+
export const GidsTable = ({ toolbar, headerItems = [], bodyContent = [], isHeaderVisible, isToolbarVisible, bodySettings, toolbarSettings, headerSettings, tableBorders, tableBorderRadius, tableBodyMaxHeight = 200, toolbarChildren, onTableAction, horizontalScroll = false, footerItems = [], footerSettings, isFooterVisible = false, isFooterControlVisible = false, footerControlSettings, footerControl, children, className, ...restProps }) => {
|
|
9
11
|
function onActionBtnClick(event) {
|
|
10
12
|
if (onTableAction) {
|
|
11
13
|
onTableAction({
|
|
@@ -26,8 +28,7 @@ export const GidsTable = ({ toolbar, headerItems, bodyContent, isHeaderVisible,
|
|
|
26
28
|
}
|
|
27
29
|
: undefined;
|
|
28
30
|
const renderToolbar = () => {
|
|
29
|
-
|
|
30
|
-
if (validToolbar) {
|
|
31
|
+
if (isValidChildren(toolbar)) {
|
|
31
32
|
return toolbar;
|
|
32
33
|
}
|
|
33
34
|
if (isToolbarVisible) {
|
|
@@ -46,6 +47,11 @@ export const GidsTable = ({ toolbar, headerItems, bodyContent, isHeaderVisible,
|
|
|
46
47
|
}), onHeaderAction: onActionBtnClick })) : undefined,
|
|
47
48
|
bodyContent && bodyContent.length > 0 ? (React.createElement(GidsTableBody, { bodyBorder: getTableBodyBorder({
|
|
48
49
|
tableBorders,
|
|
49
|
-
}), bodyContent: bodyContent, bodySettings: bodySettings, onBodyAction: onActionBtnClick })) : undefined
|
|
50
|
+
}), bodyContent: bodyContent, bodySettings: bodySettings, onBodyAction: onActionBtnClick })) : undefined,
|
|
51
|
+
isFooterVisible && footerItems && footerItems.length > 0 ? (React.createElement(GidsTableFooter, { ...footerSettings, footerItems: getCustomisedTableFooterEntries({
|
|
52
|
+
footerItems,
|
|
53
|
+
tableBorders,
|
|
54
|
+
}), onFooterAction: onActionBtnClick })) : undefined))),
|
|
55
|
+
isFooterControlVisible || isValidChildren(footerControl) ? (React.createElement(GidsTableFooterControl, { ...footerControlSettings, tableViewControllerSettings: footerControlSettings?.tableViewControllerSettings }, footerControl)) : undefined));
|
|
50
56
|
};
|
|
51
57
|
//# sourceMappingURL=GidsTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTable.js","sourceRoot":"","sources":["../../../src/components/GidsTable/GidsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAGN,iBAAiB,EACjB,eAAe,GACf,MAAM,8BAA8B,CAAC;AAUtC,OAAO,EACN,gBAAgB,GAEhB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEN,eAAe,GACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEN,aAAa,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"GidsTable.js","sourceRoot":"","sources":["../../../src/components/GidsTable/GidsTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAGN,iBAAiB,EACjB,eAAe,GACf,MAAM,8BAA8B,CAAC;AAUtC,OAAO,EACN,gBAAgB,GAEhB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAEN,eAAe,GACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEN,aAAa,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,MAAM,EACL,sBAAsB,EACtB,+BAA+B,EAC/B,+BAA+B,EAC/B,kBAAkB,GAClB,GAAG,iBAAiB,CAAC;AAoDtB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EACzB,OAAO,EACP,WAAW,GAAG,EAAE,EAChB,WAAW,GAAG,EAAE,EAChB,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,GAAG,GAAG,EACxB,eAAe,EACf,aAAa,EACb,gBAAgB,GAAG,KAAK,EACxB,WAAW,GAAG,EAAE,EAChB,cAAc,EACd,eAAe,GAAG,KAAK,EACvB,sBAAsB,GAAG,KAAK,E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Style, GidsTableFooterWebProps } from '@ganpati
|
|
|
3
3
|
import { IconAppearance, IconName } from '@ganpatiinfo/gids-web-theme-interface';
|
|
4
4
|
import { GidsTableFooterActionEvent } from '@ganpatiinfo/gids-core-shared';
|
|
5
5
|
export type GidsTableFooterNativeInputForwardedProps = Partial<Omit<ComponentPropsWithoutRef<'input'>, 'value' | 'readOnly' | 'name' | 'disabled'>>;
|
|
6
|
-
export type GidsTableFooterBaseWebProps = GidsTableFooterWebProps<GidsTableEntryTypographyStyle, IconName, IconAppearance, ReactNode
|
|
6
|
+
export type GidsTableFooterBaseWebProps = GidsTableFooterWebProps<GidsTableEntryTypographyStyle, IconName, IconAppearance, ReactNode> & Omit<ComponentPropsWithoutRef<'tfoot'>, 'children'>;
|
|
7
7
|
export type GidsTableFooterActionBaseEvent = GidsTableFooterActionEvent<MouseEvent, GidsTableEntryTypographyStyle, IconName, IconAppearance>;
|
|
8
8
|
export interface GidsTableFooterProps extends GidsTableFooterBaseWebProps {
|
|
9
9
|
onFooterAction?: (event: GidsTableFooterActionBaseEvent) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const GidsTableFooter: ({ appearance, labelTypography, textAlignment,
|
|
11
|
+
export declare const GidsTableFooter: ({ appearance, labelTypography, textAlignment, entryAlignment, colorSwatchLabelColor, colorSwatchLabelPosition, colorSwatchLabelTypography, colorSwatchSize, colorSwatchShape, colorSwatchShadow, colorSwatchBorderRadius, colorSwatchApplyBorders, colorSwatchBorderWidth, progressBarSize, progressBarEndCap, avatarSize, avatarGroupAppearance, avatarGroupLayout, statusTagAppearance, statusTagSize, progressBarContainerMinWidth, displayTagsOrientation, statusTagsOrientation, progressBarsOrientation, colorSwatchesOrientation, badgesOrientation, footerItems, onFooterAction, children, className, ...restProps }: GidsTableFooterProps) => React.JSX.Element;
|
|
12
12
|
//# sourceMappingURL=GidsTableFooter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTableFooter.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTableFooter/GidsTableFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,6BAA6B,EAC7B,uBAAuB,EAGvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"GidsTableFooter.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTableFooter/GidsTableFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,KAAK,UAAU,EACf,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,6BAA6B,EAC7B,uBAAuB,EAGvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAK3E,MAAM,MAAM,wCAAwC,GAAG,OAAO,CAC7D,IAAI,CACH,wBAAwB,CAAC,OAAO,CAAC,EACjC,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAC1C,CACD,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,uBAAuB,CAChE,6BAA6B,EAC7B,QAAQ,EACR,cAAc,EACd,SAAS,CACT,GACA,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,8BAA8B,GAAG,0BAA0B,CACtE,UAAU,EACV,6BAA6B,EAC7B,QAAQ,EACR,cAAc,CACd,CAAC;AAEF,MAAM,WAAW,oBAAqB,SAAQ,2BAA2B;IACxE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,8BAA8B,KAAK,IAAI,CAAC;CACjE;AAED,eAAO,MAAM,eAAe,GAAI,8lBAmC7B,oBAAoB,sBAiDtB,CAAC"}
|
|
@@ -1,43 +1,23 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GidsTableFooterWebUtils, isValidChildren, } from '@ganpatiinfo/gids-web-shared';
|
|
3
3
|
import { GidsTableRow } from '../GidsTableRow/GidsTableRow';
|
|
4
|
-
import { GidsTableEntry } from '../GidsTableEntry/GidsTableEntry';
|
|
5
|
-
import { GidsTableFooterControl } from '../GidsTableFooterControl/GidsTableFooterControl';
|
|
6
4
|
const { getGidsTableFooterClassNames } = GidsTableFooterWebUtils;
|
|
7
5
|
export const GidsTableFooter = ({
|
|
8
6
|
// Table Entry Props
|
|
9
|
-
appearance = 'none', labelTypography = 'label-medium', textAlignment = 'center',
|
|
7
|
+
appearance = 'none', labelTypography = 'label-medium', textAlignment = 'center', entryAlignment = 'center', colorSwatchLabelColor = 'default', colorSwatchLabelPosition = 'left', colorSwatchLabelTypography = 'label-medium', colorSwatchSize = 'sm', colorSwatchShape = 'oval', colorSwatchShadow = 'shadow-overlay', colorSwatchBorderRadius = 'none', colorSwatchApplyBorders = true, colorSwatchBorderWidth = 'thick', progressBarSize = 'sm', progressBarEndCap = true, avatarSize = 'sm', avatarGroupAppearance = 'spread', avatarGroupLayout = 'wrap', statusTagAppearance = 'subtle', statusTagSize = 'sm', progressBarContainerMinWidth = 200, displayTagsOrientation = 'horizontal', statusTagsOrientation = 'horizontal', progressBarsOrientation = 'horizontal', colorSwatchesOrientation = 'horizontal', badgesOrientation = 'horizontal',
|
|
10
8
|
// Footer Props
|
|
11
|
-
|
|
9
|
+
footerItems, onFooterAction, children, className, ...restProps }) => {
|
|
12
10
|
const renderFooterRow = () => {
|
|
13
11
|
if (isValidChildren(children)) {
|
|
14
12
|
return children;
|
|
15
13
|
}
|
|
16
14
|
else {
|
|
17
15
|
if (footerItems && footerItems.length > 0) {
|
|
18
|
-
return (React.createElement(GidsTableRow, { rows: footerItems, rowType: "footer",
|
|
16
|
+
return (React.createElement(GidsTableRow, { rows: footerItems, rowType: "footer", entryAlignment: entryAlignment, colorSwatchLabelColor: colorSwatchLabelColor, colorSwatchLabelPosition: colorSwatchLabelPosition, colorSwatchLabelTypography: colorSwatchLabelTypography, colorSwatchSize: colorSwatchSize, colorSwatchShape: colorSwatchShape, colorSwatchShadow: colorSwatchShadow, colorSwatchBorderRadius: colorSwatchBorderRadius, colorSwatchApplyBorders: colorSwatchApplyBorders, colorSwatchBorderWidth: colorSwatchBorderWidth, progressBarSize: progressBarSize, progressBarEndCap: progressBarEndCap, avatarSize: avatarSize, avatarGroupAppearance: avatarGroupAppearance, avatarGroupLayout: avatarGroupLayout, statusTagAppearance: statusTagAppearance, statusTagSize: statusTagSize, progressBarContainerMinWidth: progressBarContainerMinWidth, displayTagsOrientation: displayTagsOrientation, statusTagsOrientation: statusTagsOrientation, progressBarsOrientation: progressBarsOrientation, colorSwatchesOrientation: colorSwatchesOrientation, badgesOrientation: badgesOrientation, textAlignment: textAlignment, labelTypography: labelTypography, appearance: appearance, onRowAction: onFooterAction }));
|
|
19
17
|
}
|
|
20
18
|
}
|
|
21
19
|
return undefined;
|
|
22
20
|
};
|
|
23
|
-
|
|
24
|
-
const isValidFooterChildren = isValidChildren(footerControlChildren);
|
|
25
|
-
const colSpan = footerItems?.length ?? 1;
|
|
26
|
-
if (isValidFooterChildren ||
|
|
27
|
-
(footerControlSettings && Object.keys(footerControlSettings).length > 0)) {
|
|
28
|
-
let resolvedFooterControlSettings = {};
|
|
29
|
-
if (footerControlSettings &&
|
|
30
|
-
Object.keys(footerControlSettings).length > 0) {
|
|
31
|
-
resolvedFooterControlSettings = footerControlSettings;
|
|
32
|
-
}
|
|
33
|
-
return (React.createElement(GidsTableRow, { rowType: "footer", appearance: appearance },
|
|
34
|
-
React.createElement(GidsTableEntry, { entryType: "footer", appearance: appearance, colSpan: colSpan },
|
|
35
|
-
React.createElement(GidsTableFooterControl, { ...resolvedFooterControlSettings }, footerControlChildren))));
|
|
36
|
-
}
|
|
37
|
-
return undefined;
|
|
38
|
-
};
|
|
39
|
-
return (React.createElement("tfoot", { className: getGidsTableFooterClassNames(className), ...restProps },
|
|
40
|
-
renderFooterRow(),
|
|
41
|
-
renderFooterControlRow()));
|
|
21
|
+
return (React.createElement("tfoot", { className: getGidsTableFooterClassNames(className), ...restProps }, renderFooterRow()));
|
|
42
22
|
};
|
|
43
23
|
//# sourceMappingURL=GidsTableFooter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTableFooter.js","sourceRoot":"","sources":["../../../src/components/GidsTableFooter/GidsTableFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAGN,uBAAuB,EACvB,eAAe,GACf,MAAM,8BAA8B,CAAC;AAMtC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"GidsTableFooter.js","sourceRoot":"","sources":["../../../src/components/GidsTableFooter/GidsTableFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAGN,uBAAuB,EACvB,eAAe,GACf,MAAM,8BAA8B,CAAC;AAMtC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,EAAE,4BAA4B,EAAE,GAAG,uBAAuB,CAAC;AA4BjE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;AAC/B,oBAAoB;AACpB,UAAU,GAAG,MAAM,EACnB,eAAe,GAAG,cAAc,EAChC,aAAa,GAAG,QAAQ,EACxB,cAAc,GAAG,QAAQ,EACzB,qBAAqB,GAAG,SAAS,EACjC,wBAAwB,GAAG,MAAM,EACjC,0BAA0B,GAAG,cAAc,EAC3C,eAAe,GAAG,IAAI,EACtB,gBAAgB,GAAG,MAAM,EACzB,iBAAiB,GAAG,gBAAgB,EACp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E,mBAAmB,EACxC,aAAa,EAAE,aAAa,EAC5B,4BAA4B,EAAE,4BAA4B,EAC1D,sBAAsB,EAAE,sBAAsB,EAC9C,qBAAqB,EAAE,qBAAqB,EAC5C,uBAAuB,EAAE,uBAAuB,EAChD,wBAAwB,EAAE,wBAAwB,EAClD,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,cAAc,GAC1B,CACF,CAAC;YACH,CAAC;QACF,CAAC;QACD,OAAO,SAAS,CAAC;IAClB,CAAC,CAAC;IAEF,OAAO,CACN,+BAAO,SAAS,EAAE,4BAA4B,CAAC,SAAS,CAAC,KAAM,SAAS,IACtE,eAAe,EAAE,CACX,CACR,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -4,5 +4,5 @@ import { IconName } from '@ganpatiinfo/gids-web-theme-interface';
|
|
|
4
4
|
export type TableFooterNativeInputForwardedProps = Omit<ComponentPropsWithoutRef<'input'>, 'disabled' | 'readOnly' | 'value' | 'name'>;
|
|
5
5
|
export type GidsTableFooterControlBaseWebProps = GidsTableFooterControlWebProps<IconName, ReactNode, TableFooterNativeInputForwardedProps, ReactNode, MouseEvent> & Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange' | 'onClick'>;
|
|
6
6
|
export type GidsTableFooterControlProps = GidsTableFooterControlBaseWebProps;
|
|
7
|
-
export declare const GidsTableFooterControl: ({ bulkStatus, rangeStatus, tableViewControllerSettings, paginatorSettings, tableViewControllerVisible, paginatorVisible, children, className, }: GidsTableFooterControlProps) => React.JSX.Element;
|
|
7
|
+
export declare const GidsTableFooterControl: ({ appearance, bulkStatus, rangeStatus, tableViewControllerSettings, paginatorSettings, tableViewControllerVisible, paginatorVisible, children, className, }: GidsTableFooterControlProps) => React.JSX.Element;
|
|
8
8
|
//# sourceMappingURL=GidsTableFooterControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTableFooterControl.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTableFooterControl/GidsTableFooterControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,8BAA8B,EAG9B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AASjE,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACtD,wBAAwB,CAAC,OAAO,CAAC,EACjC,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAC1C,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG,8BAA8B,CAC9E,QAAQ,EACR,SAAS,EACT,oCAAoC,EACpC,SAAS,EACT,UAAU,CACV,GACA,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC;AAE5E,MAAM,MAAM,2BAA2B,GAAG,kCAAkC,CAAC;AAE7E,eAAO,MAAM,sBAAsB,GAAI,
|
|
1
|
+
{"version":3,"file":"GidsTableFooterControl.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTableFooterControl/GidsTableFooterControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,8BAA8B,EAG9B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AASjE,MAAM,MAAM,oCAAoC,GAAG,IAAI,CACtD,wBAAwB,CAAC,OAAO,CAAC,EACjC,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAC1C,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG,8BAA8B,CAC9E,QAAQ,EACR,SAAS,EACT,oCAAoC,EACpC,SAAS,EACT,UAAU,CACV,GACA,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC;AAE5E,MAAM,MAAM,2BAA2B,GAAG,kCAAkC,CAAC;AAE7E,eAAO,MAAM,sBAAsB,GAAI,6JAUpC,2BAA2B,sBA4F7B,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { GidsDropdownMenuGroup } from '../GidsDropdownMenuGroup/GidsDropdownMenu
|
|
|
6
6
|
import { GidsDropdownMenu } from '../GidsDropdownMenu/GidsDropdownMenu';
|
|
7
7
|
import { GidsDropdownItem } from '../GidsDropdownItem/GidsDropdownItem';
|
|
8
8
|
const { getGidsTableFooterControlClassNames } = GidsTableFooterControlWebUtils;
|
|
9
|
-
export const GidsTableFooterControl = ({ bulkStatus, rangeStatus, tableViewControllerSettings, paginatorSettings, tableViewControllerVisible, paginatorVisible, children, className, }) => {
|
|
9
|
+
export const GidsTableFooterControl = ({ appearance = 'surface-default', bulkStatus, rangeStatus, tableViewControllerSettings, paginatorSettings, tableViewControllerVisible, paginatorVisible, children, className, }) => {
|
|
10
10
|
const renderTableViewController = () => {
|
|
11
11
|
if (tableViewControllerVisible &&
|
|
12
12
|
tableViewControllerSettings &&
|
|
@@ -14,13 +14,14 @@ export const GidsTableFooterControl = ({ bulkStatus, rangeStatus, tableViewContr
|
|
|
14
14
|
const { tableViewControllerOptions, ...restTableViewControllerSettings } = tableViewControllerSettings;
|
|
15
15
|
const controllerOptions = tableViewControllerOptions ?? [];
|
|
16
16
|
if (controllerOptions && controllerOptions.length > 0) {
|
|
17
|
+
const createdInputProps = restTableViewControllerSettings?.inputProps;
|
|
18
|
+
const resolvedInputProps = {
|
|
19
|
+
...createdInputProps,
|
|
20
|
+
placeholder: createdInputProps?.placeholder ?? 'Rows per page',
|
|
21
|
+
};
|
|
17
22
|
return (React.createElement(GidsDropdownField, { ...restTableViewControllerSettings,
|
|
18
|
-
// @ts-expect-error as this is
|
|
19
|
-
inputProps:
|
|
20
|
-
...restTableViewControllerSettings.inputProps,
|
|
21
|
-
placeholder: restTableViewControllerSettings?.inputProps?.placeholder ??
|
|
22
|
-
'Rows per page',
|
|
23
|
-
} },
|
|
23
|
+
// @ts-expect-error expected error as this is stencil web component
|
|
24
|
+
inputProps: resolvedInputProps },
|
|
24
25
|
React.createElement(GidsDropdownMenuGroup, { type: "default" }, controllerOptions.map((controllerOption, sectionIndex) => {
|
|
25
26
|
const items = controllerOption?.items ?? [];
|
|
26
27
|
return (React.createElement(GidsDropdownMenu, { key: `${sectionIndex + 1}`, sectionLabel: controllerOption?.label }, items.map((item, optionIndex) => {
|
|
@@ -31,7 +32,7 @@ export const GidsTableFooterControl = ({ bulkStatus, rangeStatus, tableViewContr
|
|
|
31
32
|
}
|
|
32
33
|
return undefined;
|
|
33
34
|
};
|
|
34
|
-
return (React.createElement("div", { className: getGidsTableFooterControlClassNames(className) }, isValidChildren(children) ? (children) : (React.createElement("div", { className: "gids-table-footer-control__main-container" },
|
|
35
|
+
return (React.createElement("div", { className: getGidsTableFooterControlClassNames({ appearance }, className), "control-appearance": appearance }, isValidChildren(children) ? (children) : (React.createElement("div", { className: "gids-table-footer-control__main-container" },
|
|
35
36
|
React.createElement("div", { className: "gids-table-footer-control__informative-container" },
|
|
36
37
|
renderTableViewController(),
|
|
37
38
|
React.createElement("span", { className: "gids-table-footer-control__range-status-label" }, rangeStatus),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTableFooterControl.js","sourceRoot":"","sources":["../../../src/components/GidsTableFooterControl/GidsTableFooterControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAEN,8BAA8B,EAC9B,eAAe,GACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,MAAM,EAAE,mCAAmC,EAAE,GAAG,8BAA8B,CAAC;AAkB/E,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACtC,UAAU,EACV,WAAW,EACX,2BAA2B,EAC3B,iBAAiB,EACjB,0BAA0B,EAC1B,gBAAgB,EAChB,QAAQ,EACR,SAAS,GACoB,EAAE,EAAE;IACjC,MAAM,yBAAyB,GAAG,GAAG,EAAE;QACtC,IACC,0BAA0B;YAC1B,2BAA2B;YAC3B,MAAM,CAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC,MAAM,GAAG,CAAC,EAClD,CAAC;YACF,MAAM,EAAE,0BAA0B,EAAE,GAAG,+BAA+B,EAAE,GACvE,2BAA2B,CAAC;YAE7B,MAAM,iBAAiB,GAAG,0BAA0B,IAAI,EAAE,CAAC;YAE3D,IAAI,iBAAiB,IAAI,iBAAiB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACvD,
|
|
1
|
+
{"version":3,"file":"GidsTableFooterControl.js","sourceRoot":"","sources":["../../../src/components/GidsTableFooterControl/GidsTableFooterControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAEN,8BAA8B,EAC9B,eAAe,GACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAEx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CAAC,SAAS,CACR,CACN,CACI,CACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -6,5 +6,5 @@ export type GidsTableHeaderActionBaseEvent = GidsTableHeaderActionEvent<MouseEve
|
|
|
6
6
|
export interface GidsTableHeaderProps extends GidsTableHeaderWebProps<GidsTableEntryTypographyStyle, IconName, IconAppearance, ReactNode>, Omit<ComponentPropsWithoutRef<'thead'>, 'children'> {
|
|
7
7
|
onHeaderAction?: (event: GidsTableHeaderActionBaseEvent) => void;
|
|
8
8
|
}
|
|
9
|
-
export declare const GidsTableHeader: ({ headerItems, appearance, labelTypography, textAlignment,
|
|
9
|
+
export declare const GidsTableHeader: ({ headerItems, appearance, labelTypography, textAlignment, onHeaderAction, entryAlignment, colorSwatchLabelColor, colorSwatchLabelPosition, colorSwatchLabelTypography, colorSwatchSize, colorSwatchShape, colorSwatchShadow, colorSwatchBorderRadius, colorSwatchApplyBorders, colorSwatchBorderWidth, progressBarSize, progressBarEndCap, avatarSize, avatarGroupAppearance, avatarGroupLayout, statusTagAppearance, statusTagSize, progressBarContainerMinWidth, displayTagsOrientation, statusTagsOrientation, progressBarsOrientation, colorSwatchesOrientation, badgesOrientation, children, className, ...restProps }: GidsTableHeaderProps) => React.JSX.Element;
|
|
10
10
|
//# sourceMappingURL=GidsTableHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTableHeader/GidsTableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,6BAA6B,EAC7B,uBAAuB,EAGvB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAI/C,MAAM,MAAM,8BAA8B,GAAG,0BAA0B,CACtE,UAAU,EACV,6BAA6B,EAC7B,QAAQ,EACR,cAAc,CACd,CAAC;AAEF,MAAM,WAAW,oBAChB,SACC,uBAAuB,CACtB,6BAA6B,EAC7B,QAAQ,EACR,cAAc,EACd,SAAS,CACT,EACD,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC;IACpD,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,8BAA8B,KAAK,IAAI,CAAC;CACjE;AAED,eAAO,MAAM,eAAe,GAAI
|
|
1
|
+
{"version":3,"file":"GidsTableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTableHeader/GidsTableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,6BAA6B,EAC7B,uBAAuB,EAGvB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAI/C,MAAM,MAAM,8BAA8B,GAAG,0BAA0B,CACtE,UAAU,EACV,6BAA6B,EAC7B,QAAQ,EACR,cAAc,CACd,CAAC;AAEF,MAAM,WAAW,oBAChB,SACC,uBAAuB,CACtB,6BAA6B,EAC7B,QAAQ,EACR,cAAc,EACd,SAAS,CACT,EACD,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,UAAU,CAAC;IACpD,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,8BAA8B,KAAK,IAAI,CAAC;CACjE;AAED,eAAO,MAAM,eAAe,GAAI,8lBAgC7B,oBAAoB,sBAmDtB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { GidsTableHeaderWebUtils, isValidChildren, } from '@ganpatiinfo/gids-web-shared';
|
|
3
3
|
import { GidsTableRow } from '../GidsTableRow/GidsTableRow';
|
|
4
4
|
const { getGidsTableHeaderClassNames } = GidsTableHeaderWebUtils;
|
|
5
|
-
export const GidsTableHeader = ({ headerItems = [], appearance = 'none', labelTypography = 'label-medium', textAlignment = 'center',
|
|
5
|
+
export const GidsTableHeader = ({ headerItems = [], appearance = 'none', labelTypography = 'label-medium', textAlignment = 'center', onHeaderAction, entryAlignment = 'center', colorSwatchLabelColor = 'default', colorSwatchLabelPosition = 'left', colorSwatchLabelTypography = 'label-medium', colorSwatchSize = 'sm', colorSwatchShape = 'oval', colorSwatchShadow = 'shadow-overlay', colorSwatchBorderRadius = 'none', colorSwatchApplyBorders = true, colorSwatchBorderWidth = 'thick', progressBarSize = 'sm', progressBarEndCap = true, avatarSize = 'sm', avatarGroupAppearance = 'spread', avatarGroupLayout = 'wrap', statusTagAppearance = 'subtle', statusTagSize = 'sm', progressBarContainerMinWidth = 200, displayTagsOrientation = 'horizontal', statusTagsOrientation = 'horizontal', progressBarsOrientation = 'horizontal', colorSwatchesOrientation = 'horizontal', badgesOrientation = 'horizontal', children, className, ...restProps }) => {
|
|
6
6
|
const tableHeaderClassName = getGidsTableHeaderClassNames(className);
|
|
7
7
|
const renderChildrens = () => {
|
|
8
8
|
if (isValidChildren(children)) {
|
|
@@ -10,7 +10,7 @@ export const GidsTableHeader = ({ headerItems = [], appearance = 'none', labelTy
|
|
|
10
10
|
}
|
|
11
11
|
else {
|
|
12
12
|
if (headerItems && headerItems.length > 0) {
|
|
13
|
-
return (React.createElement(GidsTableRow, { rows: headerItems, rowType: "header",
|
|
13
|
+
return (React.createElement(GidsTableRow, { rows: headerItems, rowType: "header", entryAlignment: entryAlignment, colorSwatchLabelColor: colorSwatchLabelColor, colorSwatchLabelPosition: colorSwatchLabelPosition, colorSwatchLabelTypography: colorSwatchLabelTypography, colorSwatchSize: colorSwatchSize, colorSwatchShape: colorSwatchShape, colorSwatchShadow: colorSwatchShadow, colorSwatchBorderRadius: colorSwatchBorderRadius, colorSwatchApplyBorders: colorSwatchApplyBorders, colorSwatchBorderWidth: colorSwatchBorderWidth, progressBarSize: progressBarSize, progressBarEndCap: progressBarEndCap, avatarSize: avatarSize, avatarGroupAppearance: avatarGroupAppearance, avatarGroupLayout: avatarGroupLayout, statusTagAppearance: statusTagAppearance, statusTagSize: statusTagSize, progressBarContainerMinWidth: progressBarContainerMinWidth, displayTagsOrientation: displayTagsOrientation, statusTagsOrientation: statusTagsOrientation, progressBarsOrientation: progressBarsOrientation, colorSwatchesOrientation: colorSwatchesOrientation, badgesOrientation: badgesOrientation, textAlignment: textAlignment, labelTypography: labelTypography, appearance: appearance, onRowAction: onHeaderAction }));
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
return undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTableHeader.js","sourceRoot":"","sources":["../../../src/components/GidsTableHeader/GidsTableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAGN,uBAAuB,EACvB,eAAe,GACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAO5D,MAAM,EAAE,4BAA4B,EAAE,GAAG,uBAAuB,CAAC;AAqBjE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC/B,WAAW,GAAG,EAAE,EAChB,UAAU,GAAG,MAAM,EACnB,eAAe,GAAG,cAAc,EAChC,aAAa,GAAG,QAAQ,EACxB,cAAc,
|
|
1
|
+
{"version":3,"file":"GidsTableHeader.js","sourceRoot":"","sources":["../../../src/components/GidsTableHeader/GidsTableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAGN,uBAAuB,EACvB,eAAe,GACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAO5D,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c,EAC9B,qBAAqB,EAAE,qBAAqB,EAC5C,wBAAwB,EAAE,wBAAwB,EAClD,0BAA0B,EAAE,0BAA0B,EACtD,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,uBAAuB,EAAE,uBAAuB,EAChD,uBAAuB,EAAE,uBAAuB,EAChD,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,qBAAqB,EAC5C,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,mBAAmB,EACxC,aAAa,EAAE,aAAa,EAC5B,4BAA4B,EAAE,4BAA4B,EAC1D,sBAAsB,EAAE,sBAAsB,EAC9C,qBAAqB,EAAE,qBAAqB,EAC5C,uBAAuB,EAAE,uBAAuB,EAChD,wBAAwB,EAAE,wBAAwB,EAClD,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,cAAc,GAC1B,CACF,CAAC;YACH,CAAC;QACF,CAAC;QACD,OAAO,SAAS,CAAC;IAClB,CAAC,CAAC;IAEF,OAAO,CACN,kCAAW,SAAS,EAAE,SAAS,EAAE,oBAAoB,IACnD,eAAe,EAAE,CACX,CACR,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -6,5 +6,5 @@ export type GidsTableRowActionBaseEvent = GidsTableRowActionEvent<MouseEvent, Gi
|
|
|
6
6
|
export interface GidsTableRowProps extends GidsTableRowWebProps<GidsTableEntryTypographyStyle, IconName, IconAppearance, ReactNode>, Omit<ComponentPropsWithoutRef<'tr'>, 'children' | 'onChange'> {
|
|
7
7
|
onRowAction?: (event: GidsTableRowActionBaseEvent) => void;
|
|
8
8
|
}
|
|
9
|
-
export declare const GidsTableRow: ({ rows, rowType,
|
|
9
|
+
export declare const GidsTableRow: ({ rows, rowType, onRowAction, entryAlignment, colorSwatchLabelColor, colorSwatchLabelPosition, colorSwatchLabelTypography, colorSwatchSize, colorSwatchShape, colorSwatchShadow, colorSwatchBorderRadius, colorSwatchApplyBorders, colorSwatchBorderWidth, progressBarSize, progressBarEndCap, avatarSize, avatarGroupAppearance, avatarGroupLayout, statusTagAppearance, statusTagSize, progressBarContainerMinWidth, displayTagsOrientation, statusTagsOrientation, progressBarsOrientation, colorSwatchesOrientation, badgesOrientation, textAlignment, labelTypography, appearance, actionsBackgroundColor, actionsContentColor, backgroundColor, contentColor, children, className, ...restProps }: GidsTableRowProps) => React.JSX.Element;
|
|
10
10
|
//# sourceMappingURL=GidsTableRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTableRow.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTableRow/GidsTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,wBAAwB,EAC7B,MAAM,OAAO,CAAC;AACf,OAAO,EACN,6BAA6B,EAG7B,KAAK,oBAAoB,EACzB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAIxE,MAAM,MAAM,2BAA2B,GAAG,uBAAuB,CAChE,UAAU,EACV,6BAA6B,EAC7B,QAAQ,EACR,cAAc,CACd,CAAC;AAEF,MAAM,WAAW,iBAChB,SACC,oBAAoB,CACnB,6BAA6B,EAC7B,QAAQ,EACR,cAAc,EACd,SAAS,CACT,EACD,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,2BAA2B,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,YAAY,GAAI,
|
|
1
|
+
{"version":3,"file":"GidsTableRow.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTableRow/GidsTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,wBAAwB,EAC7B,MAAM,OAAO,CAAC;AACf,OAAO,EACN,6BAA6B,EAG7B,KAAK,oBAAoB,EACzB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAIxE,MAAM,MAAM,2BAA2B,GAAG,uBAAuB,CAChE,UAAU,EACV,6BAA6B,EAC7B,QAAQ,EACR,cAAc,CACd,CAAC;AAEF,MAAM,WAAW,iBAChB,SACC,oBAAoB,CACnB,6BAA6B,EAC7B,QAAQ,EACR,cAAc,EACd,SAAS,CACT,EACD,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,2BAA2B,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,YAAY,GAAI,yqBAqC1B,iBAAiB,sBA4EnB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { GidsTableRowWebUtils, isValidChildren, } from '@ganpatiinfo/gids-web-shared';
|
|
3
3
|
import { GidsTableEntry, } from '../GidsTableEntry/GidsTableEntry';
|
|
4
4
|
const { getGidsTableRowClassNames } = GidsTableRowWebUtils;
|
|
5
|
-
export const GidsTableRow = ({ rows = [], rowType = 'body',
|
|
5
|
+
export const GidsTableRow = ({ rows = [], rowType = 'body', onRowAction, entryAlignment = 'center', colorSwatchLabelColor = 'default', colorSwatchLabelPosition = 'left', colorSwatchLabelTypography = 'label-medium', colorSwatchSize = 'sm', colorSwatchShape = 'oval', colorSwatchShadow = 'shadow-overlay', colorSwatchBorderRadius = 'none', colorSwatchApplyBorders = true, colorSwatchBorderWidth = 'thick', progressBarSize = 'sm', progressBarEndCap = true, avatarSize = 'sm', avatarGroupAppearance, avatarGroupLayout, statusTagAppearance = 'subtle', statusTagSize = 'sm', progressBarContainerMinWidth = 200, displayTagsOrientation = 'horizontal', statusTagsOrientation = 'horizontal', progressBarsOrientation = 'horizontal', colorSwatchesOrientation = 'horizontal', badgesOrientation = 'horizontal', textAlignment = 'center', labelTypography = 'label-medium', appearance = 'none', actionsBackgroundColor, actionsContentColor, backgroundColor, contentColor, children, className, ...restProps }) => {
|
|
6
6
|
const rowClassName = getGidsTableRowClassNames(className);
|
|
7
7
|
if (isValidChildren(children)) {
|
|
8
8
|
return (React.createElement("tr", { ...restProps, className: rowClassName }, children));
|
|
@@ -19,6 +19,6 @@ export const GidsTableRow = ({ rows = [], rowType = 'body', leadingActions, trai
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
// Layout 2: Horizontal Layout (Standard single row mapping all cells)
|
|
22
|
-
return (React.createElement("tr", { ...restProps, className: rowClassName }, rows.map((row, indexJ) => (React.createElement(GidsTableEntry, { key: `row-h-${indexJ + 1}`, ...row, backgroundColor: backgroundColor, contentColor: contentColor, actionsBackgroundColor: actionsBackgroundColor, actionsContentColor: actionsContentColor, entryType: rowType, leadingActions: leadingActions, trailingActions: trailingActions, entryAlignment: entryAlignment, colorSwatchLabelColor: colorSwatchLabelColor, colorSwatchLabelPosition: colorSwatchLabelPosition, colorSwatchLabelTypography: colorSwatchLabelTypography, colorSwatchSize: colorSwatchSize, colorSwatchShape: colorSwatchShape, colorSwatchShadow: colorSwatchShadow, colorSwatchBorderRadius: colorSwatchBorderRadius, colorSwatchApplyBorders: colorSwatchApplyBorders, colorSwatchBorderWidth: colorSwatchBorderWidth, progressBarSize: progressBarSize, progressBarEndCap: progressBarEndCap, avatarSize: avatarSize, avatarGroupAppearance: avatarGroupAppearance, avatarGroupLayout: avatarGroupLayout, statusTagAppearance: statusTagAppearance, statusTagSize: statusTagSize, progressBarContainerMinWidth: progressBarContainerMinWidth, displayTagsOrientation: displayTagsOrientation, statusTagsOrientation: statusTagsOrientation, progressBarsOrientation: progressBarsOrientation, colorSwatchesOrientation: colorSwatchesOrientation, badgesOrientation: badgesOrientation, textAlignment: textAlignment, labelTypography: labelTypography, appearance: appearance, onEntryAction: (event) => onEntryActionBtnClick({ event, entryIndex: indexJ }) })))));
|
|
22
|
+
return (React.createElement("tr", { ...restProps, className: rowClassName }, rows.map((row, indexJ) => (React.createElement(GidsTableEntry, { key: `row-h-${indexJ + 1}`, ...row, backgroundColor: backgroundColor, contentColor: contentColor, actionsBackgroundColor: actionsBackgroundColor, actionsContentColor: actionsContentColor, entryType: rowType, leadingActions: row?.leadingActions ?? [], trailingActions: row?.trailingActions ?? [], entryAlignment: entryAlignment, colorSwatchLabelColor: colorSwatchLabelColor, colorSwatchLabelPosition: colorSwatchLabelPosition, colorSwatchLabelTypography: colorSwatchLabelTypography, colorSwatchSize: colorSwatchSize, colorSwatchShape: colorSwatchShape, colorSwatchShadow: colorSwatchShadow, colorSwatchBorderRadius: colorSwatchBorderRadius, colorSwatchApplyBorders: colorSwatchApplyBorders, colorSwatchBorderWidth: colorSwatchBorderWidth, progressBarSize: progressBarSize, progressBarEndCap: progressBarEndCap, avatarSize: avatarSize, avatarGroupAppearance: avatarGroupAppearance, avatarGroupLayout: avatarGroupLayout, statusTagAppearance: statusTagAppearance, statusTagSize: statusTagSize, progressBarContainerMinWidth: progressBarContainerMinWidth, displayTagsOrientation: displayTagsOrientation, statusTagsOrientation: statusTagsOrientation, progressBarsOrientation: progressBarsOrientation, colorSwatchesOrientation: colorSwatchesOrientation, badgesOrientation: badgesOrientation, textAlignment: textAlignment, labelTypography: labelTypography, appearance: appearance, onEntryAction: (event) => onEntryActionBtnClick({ event, entryIndex: indexJ }) })))));
|
|
23
23
|
};
|
|
24
24
|
//# sourceMappingURL=GidsTableRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTableRow.js","sourceRoot":"","sources":["../../../src/components/GidsTableRow/GidsTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAEN,oBAAoB,EACpB,eAAe,GAEf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,cAAc,GAEd,MAAM,kCAAkC,CAAC;AAO1C,MAAM,EAAE,yBAAyB,EAAE,GAAG,oBAAoB,CAAC;AAqB3D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAC5B,IAAI,GAAG,EAAE,EACT,OAAO,GAAG,MAAM,EAChB,
|
|
1
|
+
{"version":3,"file":"GidsTableRow.js","sourceRoot":"","sources":["../../../src/components/GidsTableRow/GidsTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAEN,oBAAoB,EACpB,eAAe,GAEf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,cAAc,GAEd,MAAM,kCAAkC,CAAC;AAO1C,MAAM,EAAE,yBAAyB,EAAE,GAAG,oBAAoB,CAAC;AAqB3D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAC5B,IAAI,GAAG,EAAE,EACT,OAAO,GAAG,MAAM,EAChB,WAAW,EACX,cAAc,GAAG,QAAQ,EACzB,qBAAqB,GAAG,SAAS,EACjC,wBAAwB,GAAG,MAAM,EACjC,0BAA0B,GAAG,cAAc,EAC3C,eAAe,GAAG,IAAI,EACtB,gBAAgB,GAAG,MAAM,EACzB,iBAAiB,GAAG,gBAAgB,EACpC,uBAAuB,GAAG,MAAM,EAChC,uBAAuB,GAAG,IAAI,EAC9B,sBAAsB,GAAG,OAAO,EAChC,eAAe,GAAG,IAAI,EACtB,iBAAiB,GAAG,IAAI,EACxB,UAAU,GAAG,IAAI,EACjB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,GAAG,QAAQ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Ae,IAAI,EAAE,EAC3C,cAAc,EAAE,cAAc,EAC9B,qBAAqB,EAAE,qBAAqB,EAC5C,wBAAwB,EAAE,wBAAwB,EAClD,0BAA0B,EAAE,0BAA0B,EACtD,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,uBAAuB,EAAE,uBAAuB,EAChD,uBAAuB,EAAE,uBAAuB,EAChD,sBAAsB,EAAE,sBAAsB,EAC9C,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,qBAAqB,EAAE,qBAAqB,EAC5C,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,mBAAmB,EACxC,aAAa,EAAE,aAAa,EAC5B,4BAA4B,EAAE,4BAA4B,EAC1D,sBAAsB,EAAE,sBAAsB,EAC9C,qBAAqB,EAAE,qBAAqB,EAC5C,uBAAuB,EAAE,uBAAuB,EAChD,wBAAwB,EAAE,wBAAwB,EAClD,iBAAiB,EAAE,iBAAiB,EACpC,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,EAChC,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,CAAC,KAAoC,EAAE,EAAE,CACvD,qBAAqB,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,GAEpD,CACF,CAAC,CACE,CACL,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -17,9 +17,9 @@ export const GidsTableToolbar = ({ actionGroup = false, allFiltersTabVisible = f
|
|
|
17
17
|
children && childrenPosition === 'top-most' ? (React.createElement("div", { className: "gids-table-toolbar__children-container" }, children)) : undefined,
|
|
18
18
|
searchVisible ? (React.createElement(GidsSearchBar, { ...restProps, type: "default", appearance: "default", status: "default", leadingIcon: leadingIcon, leadingLabel: leadingLabel, trailingLabel: trailingLabel, loading: loading, readOnly: readOnly, onGidsSearchBarClear: onGidsSearchBarClear, onChange: onChange, onInput: onInput, onFocus: onFocus, onBlur: onBlur, value: value, disabled: searchDisabled, inputProps: inputProps })) : undefined,
|
|
19
19
|
filtersVisible ? (React.createElement(GidsActionBar, { actionGroup: actionGroup, allFiltersTabVisible: allFiltersTabVisible, moreFiltersTabVisible: moreFiltersTabVisible, clearAllFiltersVisible: clearAllFiltersVisible, clearAllFiltersButtonAppearance: clearAllFiltersButtonAppearance, primaryFilters: primaryFilters, secondaryFilters: secondaryFilters, filterSize: filterSize, filterAllIsDefaultSelected: filterAllIsDefaultSelected, dropdownDividerVisible: dropdownDividerVisible, onToggleActionBarAllFilter: onToggleActionBarAllFilter,
|
|
20
|
-
// @ts-expect-error expected
|
|
20
|
+
// @ts-expect-error error is expected as this is stencil
|
|
21
21
|
onToggleActionBarDropdownFilter: onToggleActionBarDropdownFilter,
|
|
22
|
-
// @ts-expect-error expected
|
|
22
|
+
// @ts-expect-error error is expected as this is stencil
|
|
23
23
|
onToggleActionBarMoreFilter: onToggleActionBarMoreFilter, onToggleActionBarNoneFilter: onToggleActionBarNoneFilter, onDropdownSelectionActionBarFilterChange: onDropdownSelectionActionBarFilterChange, onMoreSelectionActionBarFilterChange: onMoreSelectionActionBarFilterChange, onClearAllFiltersButton: onClearAllFiltersButton, disabled: actionBarDisabled, allFiltersData: allFiltersData, moreFiltersData: moreFiltersData })) : undefined,
|
|
24
24
|
children && childrenPosition === 'bottom-most' ? (React.createElement("div", { className: "gids-table-toolbar__children-container" }, children)) : undefined)));
|
|
25
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsTableToolbar.js","sourceRoot":"","sources":["../../../src/components/GidsTableToolbar/GidsTableToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EACN,wBAAwB,GAGxB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,yC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B,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,UAAU,EACtB,0BAA0B,EAAE,0BAA0B,EACtD,sBAAsB,EAAE,sBAAsB,EAC9C,0BAA0B,EAAE,0BAA0B;gBACtD,wDAAwD;gBACxD,+BAA+B,EAAE,+BAA+B;gBAChE,wDAAwD;gBACxD,2BAA2B,EAAE,2BAA2B,EACxD,2BAA2B,EAAE,2BAA2B,EACxD,wCAAwC,EACvC,wCAAwC,EAEzC,oCAAoC,EACnC,oCAAoC,EAErC,uBAAuB,EAAE,uBAAuB,EAChD,QAAQ,EAAE,iBAAiB,EAC3B,cAAc,EAAE,cAAc,EAC9B,eAAe,EAAE,eAAe,GAC/B,CACF,CAAC,CAAC,CAAC,SAAS;YACZ,QAAQ,IAAI,gBAAgB,KAAK,aAAa,CAAC,CAAC,CAAC,CACjD,6BAAK,SAAS,EAAC,wCAAwC,IACrD,QAAQ,CACJ,CACN,CAAC,CAAC,CAAC,SAAS,CACR,CACD,CACN,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { MouseEvent, type ComponentPropsWithoutRef, type ReactNode } from 'react';
|
|
2
|
+
import { GidsDialogControlWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
import { IconAppearance, IconName } from '@ganpatiinfo/gids-web-theme-interface';
|
|
4
|
+
type GidsDialogControlBaseWebProps = GidsDialogControlWebProps<ReactNode | string, MouseEvent, IconName, IconAppearance> & Omit<ComponentPropsWithoutRef<'dialog'>, 'children'>;
|
|
5
|
+
export type GidsDialogControlProps = GidsDialogControlBaseWebProps;
|
|
6
|
+
export declare const GidsDialogControl: ({ variant, maxWidth, scrollMode, draggable, headerTitle, closeVisible, footerActions, headerDividerVisible, footerDividerVisible, onCloseDialogControl, onDialogControlFooterAction, children, className, }: GidsDialogControlProps) => React.JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=GidsDialogControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsDialogControl.d.ts","sourceRoot":"","sources":["../../../src/components/_GidsDialogControl/GidsDialogControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACb,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EACN,yBAAyB,EAEzB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,cAAc,EACd,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAQ/C,KAAK,6BAA6B,GAAG,yBAAyB,CAC7D,SAAS,GAAG,MAAM,EAClB,UAAU,EACV,QAAQ,EACR,cAAc,CACd,GACA,IAAI,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;AAEtD,MAAM,MAAM,sBAAsB,GAAG,6BAA6B,CAAC;AAEnE,eAAO,MAAM,iBAAiB,GAAI,6MAc/B,sBAAsB,sBAoJxB,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GidsDialogControlWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
import { GidsButton } from '../GidsButton/GidsButton';
|
|
4
|
+
import { GidsIcon } from '../GidsIcon/GidsIcon';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
const { getGidsDialogControlClassNames, setupDialogControlDraggable } = GidsDialogControlWebUtils;
|
|
7
|
+
export const GidsDialogControl = ({ variant = 'alert', maxWidth = 'sm', scrollMode = 'paper', draggable = false, headerTitle, closeVisible = true, footerActions = [], headerDividerVisible = false, footerDividerVisible = false, onCloseDialogControl, onDialogControlFooterAction, children, className, }) => {
|
|
8
|
+
// Element references needed for dragging logic
|
|
9
|
+
let dialogControlEl;
|
|
10
|
+
let headerEl;
|
|
11
|
+
const onDialogControlClose = (event) => {
|
|
12
|
+
if (onCloseDialogControl) {
|
|
13
|
+
onCloseDialogControl({
|
|
14
|
+
originalEvent: event,
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
// Capture refs and initialize draggable after elements are rendered to the real DOM
|
|
19
|
+
const handleRefInitialization = () => {
|
|
20
|
+
// Only run if both refs are alive, draggable is enabled, and it's not a layout-breaking fullscreen option
|
|
21
|
+
if (draggable && variant !== 'full-screen' && dialogControlEl && headerEl) {
|
|
22
|
+
setupDialogControlDraggable(dialogControlEl, headerEl);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
const renderFooterActions = () => {
|
|
26
|
+
return footerActions.map((action, indexI) => {
|
|
27
|
+
const buttonChildren = [];
|
|
28
|
+
// Append leading decorative graphic nodes safely if defined
|
|
29
|
+
if (action.leadingIconName) {
|
|
30
|
+
buttonChildren.push(React.createElement(GidsIcon, { key: `${indexI + 1}`, name: action.leadingIconName, size: action?.leadingIconSize ?? 'md', appearance: action?.leadingIconAppearance ?? 'filled' }));
|
|
31
|
+
}
|
|
32
|
+
// Map textual action titles cleanly
|
|
33
|
+
if (action.buttonLabel) {
|
|
34
|
+
buttonChildren.push(React.createElement("span", { key: `${indexI + 1}` }, action.buttonLabel));
|
|
35
|
+
}
|
|
36
|
+
// Append trailing decorative graphic nodes safely if defined
|
|
37
|
+
if (action.trailingIconName) {
|
|
38
|
+
buttonChildren.push(React.createElement(GidsIcon, { key: `${indexI + 1}`, name: action.trailingIconName, size: action?.trailingIconSize ?? 'md', appearance: action?.trailingIconAppearance ?? 'filled' }));
|
|
39
|
+
}
|
|
40
|
+
const actionBtnAppearance = action?.appearance ?? 'default';
|
|
41
|
+
const actionBtnSize = action?.size ?? 'md';
|
|
42
|
+
const actionBtnWidth = action?.width ?? 'intrinsic';
|
|
43
|
+
const isDestructive = action?.destructive ?? false;
|
|
44
|
+
const isDisabled = action?.disabled ?? false;
|
|
45
|
+
const isLoading = action?.loading ?? false;
|
|
46
|
+
const isPositive = action?.positive ?? false;
|
|
47
|
+
const actionButton = (React.createElement(GidsButton, { key: `${indexI + 1}`, appearance: actionBtnAppearance, destructive: isDestructive, disabled: isDisabled, loading: isLoading, positive: isPositive, size: actionBtnSize, width: actionBtnWidth, onClick: (event) => onDialogControlFooterAction?.({
|
|
48
|
+
originalEvent: event,
|
|
49
|
+
appearance: actionBtnAppearance,
|
|
50
|
+
destructive: isDestructive,
|
|
51
|
+
disabled: isDisabled,
|
|
52
|
+
buttonLabel: action?.buttonLabel,
|
|
53
|
+
positive: isPositive,
|
|
54
|
+
size: actionBtnSize,
|
|
55
|
+
width: actionBtnWidth,
|
|
56
|
+
buttonId: action?.buttonId,
|
|
57
|
+
index: indexI,
|
|
58
|
+
}) }, buttonChildren));
|
|
59
|
+
return actionButton;
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
return (React.createElement("dialog", { ref: (el) => {
|
|
63
|
+
dialogControlEl = el;
|
|
64
|
+
handleRefInitialization();
|
|
65
|
+
}, className: getGidsDialogControlClassNames({ variant, maxWidth, scrollMode }, className), "dialog-variant": variant, "max-width": maxWidth, "scroll-mode": scrollMode, "header-title": headerTitle, "dialog-draggable": draggable ? 'true' : '', "close-visible": closeVisible ? 'true' : '' },
|
|
66
|
+
headerTitle && headerTitle !== '' ? (React.createElement("div", { className: clsx('gids-dialog-control__header', {
|
|
67
|
+
'gids-dialog-control__header-divider': headerDividerVisible,
|
|
68
|
+
}), ref: (el) => {
|
|
69
|
+
headerEl = el;
|
|
70
|
+
handleRefInitialization();
|
|
71
|
+
} },
|
|
72
|
+
React.createElement("h2", { className: "gids-dialog-control__title" }, headerTitle),
|
|
73
|
+
React.createElement(GidsButton, { appearance: "subtle", size: "md", width: "intrinsic", leadingIcon: React.createElement(GidsIcon, { name: "cross", size: "md" }), onClick: onDialogControlClose }))) : undefined,
|
|
74
|
+
children ? (React.createElement("div", { className: "gids-dialog-control__body" }, children)) : undefined,
|
|
75
|
+
footerActions !== undefined && footerActions.length > 0 ? (React.createElement("div", { className: clsx('gids-dialog-control__footer', {
|
|
76
|
+
'gids-dialog-control__footer-divider': footerDividerVisible,
|
|
77
|
+
}) }, renderFooterActions())) : undefined));
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=GidsDialogControl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsDialogControl.js","sourceRoot":"","sources":["../../../src/components/_GidsDialogControl/GidsDialogControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAEN,yBAAyB,GACzB,MAAM,8BAA8B,CAAC;AAKtC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,EAAE,8BAA8B,EAAE,2BAA2B,EAAE,GACpE,yBAAyB,CAAC;AAY3B,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EACjC,OAAO,GAAG,OAAO,EACjB,QAAQ,GAAG,IAAI,EACf,UAAU,GAAG,OAAO,EACpB,SAAS,GAAG,KAAK,EACjB,WAAW,EACX,YAAY,GAAG,IAAI,EACnB,aAAa,GAAG,EAAE,EAClB,oBAAoB,GAAG,KAAK,EAC5B,oBAAoB,GAAG,KAAK,EAC5B,oBAAoB,EACpB,2BAA2B,EAC3B,QAAQ,EACR,SAAS,GACe,EAAE,EAAE;IAC5B,+CAA+C;IAC/C,IAAI,eAAqD,CAAC;IAC1D,IAAI,QAA2C,CAAC;IAEhD,MAAM,oBAAoB,GAAG,CAAC,KAAiB,EAAE,EAAE;QAClD,IAAI,oBAAoB,EAAE,CAAC;YAC1B,oBAAoB,CAAC;gBACpB,aAAa,EAAE,KAAK;aACpB,CAAC,CAAC;QACJ,CAAC;IACF,CAAC,CAAC;IAEF,oFAAoF;IACpF,MAAM,uBAAuB,GAAG,GAAG,EAAE;QACpC,0GAA0G;QAC1G,IAAI,SAAS,IAAI,OAAO,KAAK,aAAa,IAAI,eAAe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CACT,oBACe,OAAO,eACZ,QAAQ,iBACN,UAAU,kBACT,WAAW,sBACP,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,mBAC1B,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;QAExC,WAAW,IAAI,WAAW,KAAK,EAAE,CAAC,CAAC,CAAC,CACpC,6BACC,SAAS,EAAE,IAAI,CAAC,6BAA6B,EAAE;gBAC9C,qCAAqC,EAAE,oBAAoB;aAC3D,CAAC,EACF,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE;gBACX,QAAQ,GAAG,EAAE,CAAC;gBACd,uBAAuB,EAAE,CAAC;YAC3B,CAAC;YAED,4BAAI,SAAS,EAAC,4BAA4B,IAAE,WAAW,CAAM;YAC7D,oBAAC,UAAU,IACV,UAAU,EAAC,QAAQ,EACnB,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,WAAW,EACjB,WAAW,EAAE,oBAAC,QAAQ,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,GAAG,EAChD,OAAO,EAAE,oBAAoB,GAC5B,CACG,CACN,CAAC,CAAC,CAAC,SAAS;QACZ,QAAQ,CAAC,CAAC,CAAC,CACX,6BAAK,SAAS,EAAC,2BAA2B,IAAE,QAAQ,CAAO,CAC3D,CAAC,CAAC,CAAC,SAAS;QACZ,aAAa,KAAK,SAAS,IAAI,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,6BACC,SAAS,EAAE,IAAI,CAAC,6BAA6B,EAAE;gBAC9C,qCAAqC,EAAE,oBAAoB;aAC3D,CAAC,IAED,mBAAmB,EAAE,CACjB,CACN,CAAC,CAAC,CAAC,SAAS,CACL,CACT,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -24,6 +24,8 @@ export { GidsExpansionGroup } from "./gids-expansion-group.js";
|
|
|
24
24
|
export { GidsExpansion } from "./gids-expansion.js";
|
|
25
25
|
export { GidsField } from "./gids-field.js";
|
|
26
26
|
export { GidsFilter } from "./gids-filter.js";
|
|
27
|
+
export { GidsHeaderNavigationItem } from "./gids-header-navigation-item.js";
|
|
28
|
+
export { GidsHeaderNavigation } from "./gids-header-navigation.js";
|
|
27
29
|
export { GidsInput } from "./gids-input.js";
|
|
28
30
|
export { GidsLevelGauge } from "./gids-level-gauge.js";
|
|
29
31
|
export { GidsLineChart } from "./gids-line-chart.js";
|
|
@@ -34,12 +36,17 @@ export { GidsOverlayProvider } from "./gids-overlay-provider.js";
|
|
|
34
36
|
export { GidsPasswordField } from "./gids-password-field.js";
|
|
35
37
|
export { GidsPieChart } from "./gids-pie-chart.js";
|
|
36
38
|
export { GidsPopover } from "./gids-popover.js";
|
|
39
|
+
export { GidsProfileMenuHeader } from "./gids-profile-menu-header.js";
|
|
40
|
+
export { GidsProfileMenu } from "./gids-profile-menu.js";
|
|
41
|
+
export { GidsProfile } from "./gids-profile.js";
|
|
37
42
|
export { GidsProgressCircle } from "./gids-progress-circle.js";
|
|
38
43
|
export { GidsScrim } from "./gids-scrim.js";
|
|
44
|
+
export { GidsSkeleton } from "./gids-skeleton.js";
|
|
39
45
|
export { GidsSnackbar } from "./gids-snackbar.js";
|
|
40
46
|
export { GidsTabItem } from "./gids-tab-item.js";
|
|
41
47
|
export { GidsTab } from "./gids-tab.js";
|
|
42
48
|
export { GidsTextField } from "./gids-text-field.js";
|
|
43
49
|
export { GidsToggleButton } from "./gids-toggle-button.js";
|
|
44
50
|
export { GidsTooltip } from "./gids-tooltip.js";
|
|
51
|
+
export { GidsTransferList } from "./gids-transfer-list.js";
|
|
45
52
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE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AE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -25,6 +25,8 @@ export { GidsExpansionGroup } from "./gids-expansion-group.js";
|
|
|
25
25
|
export { GidsExpansion } from "./gids-expansion.js";
|
|
26
26
|
export { GidsField } from "./gids-field.js";
|
|
27
27
|
export { GidsFilter } from "./gids-filter.js";
|
|
28
|
+
export { GidsHeaderNavigationItem } from "./gids-header-navigation-item.js";
|
|
29
|
+
export { GidsHeaderNavigation } from "./gids-header-navigation.js";
|
|
28
30
|
export { GidsInput } from "./gids-input.js";
|
|
29
31
|
export { GidsLevelGauge } from "./gids-level-gauge.js";
|
|
30
32
|
export { GidsLineChart } from "./gids-line-chart.js";
|
|
@@ -35,12 +37,17 @@ export { GidsOverlayProvider } from "./gids-overlay-provider.js";
|
|
|
35
37
|
export { GidsPasswordField } from "./gids-password-field.js";
|
|
36
38
|
export { GidsPieChart } from "./gids-pie-chart.js";
|
|
37
39
|
export { GidsPopover } from "./gids-popover.js";
|
|
40
|
+
export { GidsProfileMenuHeader } from "./gids-profile-menu-header.js";
|
|
41
|
+
export { GidsProfileMenu } from "./gids-profile-menu.js";
|
|
42
|
+
export { GidsProfile } from "./gids-profile.js";
|
|
38
43
|
export { GidsProgressCircle } from "./gids-progress-circle.js";
|
|
39
44
|
export { GidsScrim } from "./gids-scrim.js";
|
|
45
|
+
export { GidsSkeleton } from "./gids-skeleton.js";
|
|
40
46
|
export { GidsSnackbar } from "./gids-snackbar.js";
|
|
41
47
|
export { GidsTabItem } from "./gids-tab-item.js";
|
|
42
48
|
export { GidsTab } from "./gids-tab.js";
|
|
43
49
|
export { GidsTextField } from "./gids-text-field.js";
|
|
44
50
|
export { GidsToggleButton } from "./gids-toggle-button.js";
|
|
45
51
|
export { GidsTooltip } from "./gids-tooltip.js";
|
|
52
|
+
export { GidsTransferList } from "./gids-transfer-list.js";
|
|
46
53
|
//# sourceMappingURL=components.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAoB;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,oBA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