@tap-payments/os-micro-frontend-shared 0.0.85 → 0.0.89-range-calender-v-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/build/components/Chip/style.d.ts +0 -1
  2. package/build/components/CountBadge/style.d.ts +0 -1
  3. package/build/components/Dialog/style.d.ts +0 -1
  4. package/build/components/FlippingCard/style.d.ts +0 -1
  5. package/build/components/ImageWrapper/ImageWrapper.d.ts +0 -1
  6. package/build/components/JSONViewer/style.d.ts +0 -1
  7. package/build/components/RangeCalender/RangeCalender.d.ts +20 -0
  8. package/build/components/RangeCalender/RangeCalender.js +92 -0
  9. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.d.ts +11 -0
  10. package/build/components/RangeCalender/components/CustomTimepicker/CustomTimepicker.js +33 -0
  11. package/build/components/RangeCalender/components/CustomTimepicker/index.d.ts +2 -0
  12. package/build/components/RangeCalender/components/CustomTimepicker/index.js +2 -0
  13. package/build/components/RangeCalender/components/CustomTimepicker/style.d.ts +15 -0
  14. package/build/components/RangeCalender/components/CustomTimepicker/style.js +132 -0
  15. package/build/components/RangeCalender/components/GroupBy/GroupBy.d.ts +10 -0
  16. package/build/components/RangeCalender/components/GroupBy/GroupBy.js +33 -0
  17. package/build/components/RangeCalender/components/GroupBy/index.d.ts +2 -0
  18. package/build/components/RangeCalender/components/GroupBy/index.js +2 -0
  19. package/build/components/RangeCalender/components/GroupBy/style.d.ts +15 -0
  20. package/build/components/RangeCalender/components/GroupBy/style.js +39 -0
  21. package/build/components/RangeCalender/components/Hijri/Hijri.d.ts +7 -0
  22. package/build/components/RangeCalender/components/Hijri/Hijri.js +13 -0
  23. package/build/components/RangeCalender/components/Hijri/index.d.ts +2 -0
  24. package/build/components/RangeCalender/components/Hijri/index.js +2 -0
  25. package/build/components/RangeCalender/components/Hijri/style.d.ts +4 -0
  26. package/build/components/RangeCalender/components/Hijri/style.js +25 -0
  27. package/build/components/RangeCalender/components/QuickFilters/QuickFilters.d.ts +8 -0
  28. package/build/components/RangeCalender/components/QuickFilters/QuickFilters.js +47 -0
  29. package/build/components/RangeCalender/components/QuickFilters/index.d.ts +2 -0
  30. package/build/components/RangeCalender/components/QuickFilters/index.js +2 -0
  31. package/build/components/RangeCalender/components/QuickFilters/style.d.ts +7 -0
  32. package/build/components/RangeCalender/components/QuickFilters/style.js +27 -0
  33. package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.d.ts +12 -0
  34. package/build/components/RangeCalender/components/RangeDatepicker/RangeDatepicker.js +29 -0
  35. package/build/components/RangeCalender/components/RangeDatepicker/index.d.ts +2 -0
  36. package/build/components/RangeCalender/components/RangeDatepicker/index.js +2 -0
  37. package/build/components/RangeCalender/components/RangeDatepicker/style.d.ts +4 -0
  38. package/build/components/RangeCalender/components/RangeDatepicker/style.js +9 -0
  39. package/build/components/RangeCalender/components/Timezone/Timezone.d.ts +11 -0
  40. package/build/components/RangeCalender/components/Timezone/Timezone.js +32 -0
  41. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.d.ts +12 -0
  42. package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.js +37 -0
  43. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.d.ts +8 -0
  44. package/build/components/RangeCalender/components/Timezone/components/UserTimezone.js +14 -0
  45. package/build/components/RangeCalender/components/Timezone/index.d.ts +2 -0
  46. package/build/components/RangeCalender/components/Timezone/index.js +2 -0
  47. package/build/components/RangeCalender/components/Timezone/style.d.ts +21 -0
  48. package/build/components/RangeCalender/components/Timezone/style.js +61 -0
  49. package/build/components/RangeCalender/index.d.ts +2 -0
  50. package/build/components/RangeCalender/index.js +2 -0
  51. package/build/components/RangeCalender/style.d.ts +33 -0
  52. package/build/components/RangeCalender/style.js +189 -0
  53. package/build/components/RangeCalender/type.d.ts +2 -0
  54. package/build/components/RangeCalender/type.js +1 -0
  55. package/build/components/RangeCalender/utils.d.ts +6 -0
  56. package/build/components/RangeCalender/utils.js +15 -0
  57. package/build/components/SearchButton/styles.d.ts +0 -1
  58. package/build/components/StatusIcons/AuthIcons/style.d.ts +0 -1
  59. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +0 -1
  60. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +0 -1
  61. package/build/components/StatusIcons/SourceIcons/style.d.ts +0 -1
  62. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +0 -1
  63. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +0 -1
  64. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +0 -1
  65. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +0 -1
  66. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +0 -1
  67. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +0 -1
  68. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +0 -1
  69. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +0 -1
  70. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +0 -1
  71. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +0 -1
  72. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +0 -1
  73. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +0 -1
  74. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +0 -1
  75. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +0 -1
  76. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +0 -1
  77. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +0 -1
  78. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +0 -1
  79. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +0 -1
  80. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +0 -1
  81. package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +0 -1
  82. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +0 -1
  83. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +0 -1
  84. package/build/components/TableCells/CustomCells/style.d.ts +0 -1
  85. package/build/components/VirtualTable/SheetView/SheetViewVirtualTable.js +2 -0
  86. package/build/components/VirtualTable/components/virtualScroll/ListItemWrapper.js +2 -7
  87. package/build/components/VirtualTable/style.d.ts +0 -1
  88. package/build/components/index.d.ts +1 -0
  89. package/build/components/index.js +1 -0
  90. package/package.json +1 -1
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
3
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
5
4
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const ActionCellContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
4
3
  export declare const ActionsIconContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
5
4
  selected: boolean;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const AuthIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
4
3
  export declare const AuthCellContainer: import("@emotion/styled").StyledComponent<{
5
4
  hidden?: boolean | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const BalanceCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
3
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
5
4
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const DueDateCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const DueDateCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const Button: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const DueDateCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const DueDateCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const ProductCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
3
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
5
4
  export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const RefundChargeCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const RefundCellContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
3
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
5
4
  export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
3
  export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
5
4
  export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const collapsedViewIconVariants: {
4
3
  default: {
5
4
  duration: number;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const MultiRefundIcon: import("@emotion/styled").StyledComponent<{
4
3
  width?: string | number | undefined;
5
4
  height?: string | number | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const UnCapturedContainer: import("@emotion/styled").StyledComponent<{
4
3
  hidden?: boolean | undefined;
5
4
  id?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  export declare const GeographyBox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
4
3
  variant?: "Local" | "Global" | "Regional" | undefined;
5
4
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -79,6 +79,8 @@ function SheetViewVirtualTable({ columns, rows, threshold = TABLE_THRESHOLD, sho
79
79
  };
80
80
  return (_jsx(InfiniteLoader, Object.assign({ isItemLoaded: (index) => index !== lastItemIndex, itemCount: tableItemsCount, loadMoreItems: handleOnLoadMoreItems, threshold: threshold }, { children: ({ onItemsRendered }) => (_jsx(AutoSizer, { children: ({ height, width }) => (_jsx(StyledVirtualList, Object.assign({ listRef: listRef, height: height, width: fixedWidth || width, itemCount: tableItemsCount, itemSize: () => rowHeight, itemData: currentItemData, onItemsRendered: onItemsRendered, overscanCount: TABLE_LIST_OVER_SCAN, setBackdropVisibility: setShowBackdrop, scrollToIndex: scrollToIndex, areTotalRowsNotFillingHeight: areTotalRowsNotFillingHeight, useIsScrolling: true, onScroll: handleScrollCallback, clearBackdropVisibilityTimeout: clearBackdropVisibilityTimeout, style: {
81
81
  overflowX: isPinned ? 'hidden' : 'auto',
82
+ paddingBottom: '12px',
83
+ backgroundColor: isPinned ? 'transparent' : theme.palette.background.default,
82
84
  } }, { children: ListItemWrapper }))) })) })));
83
85
  }, [
84
86
  itemsCount,
@@ -56,15 +56,10 @@ function ListItemWrapper(_a) {
56
56
  const lastRowContent = _jsx(LastRowContent, { isLoadingRow: isLoadingRow });
57
57
  const isLastRow = isLoadingRow || (areAllRowsLoaded && index === lastItemIndex + 1);
58
58
  if (isPinned && isLastRow) {
59
- return _jsx(Box, { sx: { height: isSheetView ? SHEET_VIEW_TABLE_ROW_HEIGHT : TABLE_ROW_HEIGHT, backgroundColor: '#F6F8FACC' } });
59
+ return (_jsx(Box, { sx: Object.assign(Object.assign({}, (isSheetView ? { minHeight: SHEET_VIEW_TABLE_ROW_HEIGHT } : { height: TABLE_ROW_HEIGHT })), { backgroundColor: '#F6F8FACC' }) }));
60
60
  }
61
61
  if (isLastRow) {
62
- return (_jsx(Box, Object.assign({ sx: {
63
- height: isSheetView ? SHEET_VIEW_TABLE_ROW_HEIGHT : TABLE_ROW_HEIGHT,
64
- display: 'flex',
65
- justifyContent: 'center',
66
- alignItems: 'center',
67
- } }, { children: _jsx(Box, Object.assign({ sx: {
62
+ return (_jsx(Box, Object.assign({ sx: Object.assign(Object.assign({}, (isSheetView ? { minHeight: SHEET_VIEW_TABLE_ROW_HEIGHT } : { height: TABLE_ROW_HEIGHT })), { display: 'flex', justifyContent: 'center', alignItems: 'center' }) }, { children: _jsx(Box, Object.assign({ sx: {
68
63
  backgroundColor: '#F6F8FACC',
69
64
  display: 'flex',
70
65
  justifyContent: 'center',
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
- /// <reference types="react" />
3
2
  interface TableWrapperProps {
4
3
  showNoDataView?: boolean;
5
4
  isSheetView?: boolean;
@@ -87,3 +87,4 @@ export { default as TapLoader } from './Loaders';
87
87
  export { default as Error } from './Error';
88
88
  export * from './Chip';
89
89
  export * from './TableHeader_V2';
90
+ export { default as RangeCalender } from './RangeCalender';
@@ -87,3 +87,4 @@ export { default as TapLoader } from './Loaders';
87
87
  export { default as Error } from './Error';
88
88
  export * from './Chip';
89
89
  export * from './TableHeader_V2';
90
+ export { default as RangeCalender } from './RangeCalender';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.0.85",
4
+ "version": "0.0.89-range-calender-v-2",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
7
7
  "module": "build/index.js",