slick-table 1.2.0 → 1.2.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 (82) hide show
  1. package/dist/index.cjs.js +117 -115
  2. package/dist/index.es.js +26774 -23417
  3. package/dist/styles/icons.scss +4 -0
  4. package/dist/types/entities/popup-query/index.d.ts +2 -0
  5. package/dist/types/entities/popup-query/index.d.ts.map +1 -0
  6. package/dist/types/entities/popup-query/lib/hooks/index.d.ts +2 -0
  7. package/dist/types/entities/popup-query/lib/hooks/index.d.ts.map +1 -0
  8. package/dist/types/entities/popup-query/lib/hooks/useSubscribeToEvent.d.ts +3 -0
  9. package/dist/types/entities/popup-query/lib/hooks/useSubscribeToEvent.d.ts.map +1 -0
  10. package/dist/types/entities/popup-query/lib/index.d.ts +3 -0
  11. package/dist/types/entities/popup-query/lib/index.d.ts.map +1 -0
  12. package/dist/types/entities/popup-query/lib/table/index.d.ts +2 -0
  13. package/dist/types/entities/popup-query/lib/table/index.d.ts.map +1 -0
  14. package/dist/types/entities/popup-query/lib/table/tableQuery.d.ts +3 -0
  15. package/dist/types/entities/popup-query/lib/table/tableQuery.d.ts.map +1 -0
  16. package/dist/types/entities/popup-query/model/consts/id.d.ts +2 -0
  17. package/dist/types/entities/popup-query/model/consts/id.d.ts.map +1 -0
  18. package/dist/types/entities/popup-query/model/consts/index.d.ts +2 -0
  19. package/dist/types/entities/popup-query/model/consts/index.d.ts.map +1 -0
  20. package/dist/types/entities/popup-query/model/index.d.ts +3 -0
  21. package/dist/types/entities/popup-query/model/index.d.ts.map +1 -0
  22. package/dist/types/entities/popup-query/model/types/ITotal.d.ts +10 -0
  23. package/dist/types/entities/popup-query/model/types/ITotal.d.ts.map +1 -0
  24. package/dist/types/entities/popup-query/model/types/index.d.ts +2 -0
  25. package/dist/types/entities/popup-query/model/types/index.d.ts.map +1 -0
  26. package/dist/types/entities/popup-query/ui/PopupQuery.d.ts +7 -0
  27. package/dist/types/entities/popup-query/ui/PopupQuery.d.ts.map +1 -0
  28. package/dist/types/entities/popup-query/ui/PopupQuery.style.d.ts +29 -0
  29. package/dist/types/entities/popup-query/ui/PopupQuery.style.d.ts.map +1 -0
  30. package/dist/types/entities/popup-query/ui/index.d.ts +2 -0
  31. package/dist/types/entities/popup-query/ui/index.d.ts.map +1 -0
  32. package/dist/types/entities/popup-summary/ui/PopupSummary.style.d.ts +1 -1
  33. package/dist/types/features/column-filters/ui/ButtonReset/ButtonReset.style.d.ts +1 -1
  34. package/dist/types/features/context-menu/ui/ButtonQuery/index.d.ts +2 -0
  35. package/dist/types/features/context-menu/ui/ButtonQuery/index.d.ts.map +1 -0
  36. package/dist/types/features/context-menu/ui/ButtonQuery/ui/ButtonQuery.d.ts +7 -0
  37. package/dist/types/features/context-menu/ui/ButtonQuery/ui/ButtonQuery.d.ts.map +1 -0
  38. package/dist/types/features/context-menu/ui/ButtonQuery/ui/index.d.ts +2 -0
  39. package/dist/types/features/context-menu/ui/ButtonQuery/ui/index.d.ts.map +1 -0
  40. package/dist/types/features/context-menu/ui/ContextMenu.d.ts.map +1 -1
  41. package/dist/types/features/header-context-menu/ui/Item/Item.style.d.ts +1 -1
  42. package/dist/types/shared/lib/dom/doNotForwardProps.d.ts +2 -0
  43. package/dist/types/shared/lib/dom/doNotForwardProps.d.ts.map +1 -0
  44. package/dist/types/shared/lib/dom/index.d.ts +1 -0
  45. package/dist/types/shared/lib/dom/index.d.ts.map +1 -1
  46. package/dist/types/shared/lib/slickgrid/index.d.ts +1 -1
  47. package/dist/types/shared/lib/slickgrid/index.d.ts.map +1 -1
  48. package/dist/types/shared/lib/slickgrid/model/events/eventQuery.d.ts +15 -0
  49. package/dist/types/shared/lib/slickgrid/model/events/eventQuery.d.ts.map +1 -0
  50. package/dist/types/shared/lib/slickgrid/model/events/index.d.ts +1 -0
  51. package/dist/types/shared/lib/slickgrid/model/events/index.d.ts.map +1 -1
  52. package/dist/types/shared/lib/slickgrid/model/index.d.ts +1 -1
  53. package/dist/types/shared/lib/slickgrid/model/index.d.ts.map +1 -1
  54. package/dist/types/shared/lib/slickgrid/ui/SlickgridTable/ui/SlickgridTable.d.ts.map +1 -1
  55. package/package.json +2 -1
  56. package/src/app/styles/icons.scss +4 -0
  57. package/src/entities/popup-query/index.ts +1 -0
  58. package/src/entities/popup-query/lib/hooks/index.ts +1 -0
  59. package/src/entities/popup-query/lib/hooks/useSubscribeToEvent.ts +24 -0
  60. package/src/entities/popup-query/lib/index.ts +2 -0
  61. package/src/entities/popup-query/lib/table/index.ts +1 -0
  62. package/src/entities/popup-query/lib/table/tableQuery.ts +3 -0
  63. package/src/entities/popup-query/model/consts/id.ts +1 -0
  64. package/src/entities/popup-query/model/consts/index.ts +1 -0
  65. package/src/entities/popup-query/model/index.ts +2 -0
  66. package/src/entities/popup-query/model/types/ITotal.ts +23 -0
  67. package/src/entities/popup-query/model/types/index.ts +1 -0
  68. package/src/entities/popup-query/ui/PopupQuery.style.ts +95 -0
  69. package/src/entities/popup-query/ui/PopupQuery.tsx +160 -0
  70. package/src/entities/popup-query/ui/index.ts +1 -0
  71. package/src/features/context-menu/ui/ButtonQuery/index.ts +1 -0
  72. package/src/features/context-menu/ui/ButtonQuery/ui/ButtonQuery.tsx +28 -0
  73. package/src/features/context-menu/ui/ButtonQuery/ui/index.ts +1 -0
  74. package/src/features/context-menu/ui/ContextMenu.tsx +2 -0
  75. package/src/shared/lib/dom/doNotForwardProps.ts +5 -0
  76. package/src/shared/lib/dom/index.ts +1 -0
  77. package/src/shared/lib/slickgrid/index.ts +1 -0
  78. package/src/shared/lib/slickgrid/model/events/eventQuery.ts +26 -0
  79. package/src/shared/lib/slickgrid/model/events/index.ts +1 -0
  80. package/src/shared/lib/slickgrid/model/index.ts +1 -0
  81. package/src/shared/lib/slickgrid/ui/SlickgridTable/lib/callbacks/onActiveCellChanged.ts +18 -18
  82. package/src/shared/lib/slickgrid/ui/SlickgridTable/ui/SlickgridTable.tsx +2 -0
@@ -15,3 +15,7 @@ $red: #ff3737;
15
15
  @include svg("sgi-link-off", $gray, "M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.43 19.12,14.63 17.79,15L19.25,16.44C20.88,15.61 22,13.95 22,12A5,5 0 0,0 17,7M16,11H13.81L15.81,13H16V11M2,4.27L5.11,7.38C3.29,8.12 2,9.91 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12C3.9,10.41 5.11,9.1 6.66,8.93L8.73,11H8V13H10.73L13,15.27V17H14.73L18.74,21L20,19.74L3.27,3L2,4.27Z");
16
16
  @include svg("sgi-notification-clear-all", $gray, "M5,13H19V11H5M3,17H17V15H3M7,7V9H21V7");
17
17
  @include svg("sgi-printer", $gray, "M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z");
18
+ @include svg("sgi-table-large", $gray, "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z");
19
+ @include svg("sgi-minus", $gray, "M19,13H5V11H19V13Z");
20
+ @include svg("sgi-close", $gray, "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z");
21
+ @include svg("sgi-arrow-expand", $gray, "M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z");
@@ -0,0 +1,2 @@
1
+ export { PopupQuery } from './ui';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/entities/popup-query/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { useSubscribeToEvent } from './useSubscribeToEvent';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/entities/popup-query/lib/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ export declare function useSubscribeToEvent(setIsOpened: Dispatch<SetStateAction<boolean>>, tableId: string): void;
3
+ //# sourceMappingURL=useSubscribeToEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSubscribeToEvent.d.ts","sourceRoot":"","sources":["../../../../../../src/entities/popup-query/lib/hooks/useSubscribeToEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAa,MAAM,OAAO,CAAC;AAI5D,wBAAgB,mBAAmB,CAClC,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,EAC9C,OAAO,EAAE,MAAM,QAiBf"}
@@ -0,0 +1,3 @@
1
+ export { useSubscribeToEvent } from './hooks';
2
+ export { tableQuery } from './table';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/entities/popup-query/lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { tableQuery } from './tableQuery';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/entities/popup-query/lib/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { SlickTable } from '../../../../shared/lib/slickgrid/model/SlickTable/table/SlickTable';
2
+ export declare const tableQuery: SlickTable;
3
+ //# sourceMappingURL=tableQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableQuery.d.ts","sourceRoot":"","sources":["../../../../../../src/entities/popup-query/lib/table/tableQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AAEpF,eAAO,MAAM,UAAU,YAAwC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const QUERY_LANGUAGE = "QUERY_LANGUAGE";
2
+ //# sourceMappingURL=id.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../../../src/entities/popup-query/model/consts/id.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { QUERY_LANGUAGE } from './id';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/entities/popup-query/model/consts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { QUERY_LANGUAGE } from './consts';
2
+ export type { ITotal } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/entities/popup-query/model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Column, Formatter, FormatterResultWithHtml, FormatterResultWithText } from 'slickgrid';
2
+ export type ITotal = Record<string, {
3
+ cell: number;
4
+ column: Column;
5
+ formatter?: Formatter<any>;
6
+ label: string;
7
+ total: number;
8
+ totalFormatted: string | HTMLElement | DocumentFragment | FormatterResultWithHtml | FormatterResultWithText;
9
+ }>;
10
+ //# sourceMappingURL=ITotal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITotal.d.ts","sourceRoot":"","sources":["../../../../../../src/entities/popup-query/model/types/ITotal.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,MAAM,EACN,SAAS,EACT,uBAAuB,EACvB,uBAAuB,EACvB,MAAM,WAAW,CAAC;AAEnB,MAAM,MAAM,MAAM,GAAG,MAAM,CAC1B,MAAM,EACN;IACC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EACX,MAAM,GACN,WAAW,GACX,gBAAgB,GAChB,uBAAuB,GACvB,uBAAuB,CAAC;CAC3B,CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type { ITotal } from './ITotal';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/entities/popup-query/model/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ export declare const PopupQuery: FC<Props>;
3
+ interface Props {
4
+ tableId: string;
5
+ }
6
+ export {};
7
+ //# sourceMappingURL=PopupQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopupQuery.d.ts","sourceRoot":"","sources":["../../../../../src/entities/popup-query/ui/PopupQuery.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAe,EAAE,EAAgC,MAAM,OAAO,CAAC;AAWtE,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CA8IhC,CAAC;AAEF,UAAU,KAAK;IACd,OAAO,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,29 @@
1
+ declare const _default: {
2
+ Button: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
3
+ ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
4
+ }, "className" | "style" | "classes" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "fullWidth" | "size" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
5
+ ColumnName: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
6
+ ContainerInput: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
7
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
8
+ }, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
9
+ ContainerTable: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
11
+ }, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
12
+ isExpanded: boolean;
13
+ }, {}, {}>;
14
+ Drawer: import('@emotion/styled').StyledComponent<import('@mui/material').DrawerProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
15
+ Header: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
16
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
17
+ }, "className" | "style" | "classes" | "p" | "color" | "children" | "height" | "sx" | "variant" | "width" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
18
+ RowsNumber: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
19
+ ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
20
+ }, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
21
+ TextField: import('@emotion/styled').StyledComponent<{
22
+ variant?: import('@mui/material').TextFieldVariants | undefined;
23
+ } & Omit<import('@mui/material').FilledTextFieldProps | import('@mui/material').StandardTextFieldProps | import('@mui/material').OutlinedTextFieldProps, "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
24
+ Title: import('@emotion/styled').StyledComponent<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
25
+ ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
26
+ }, "className" | "style" | "classes" | "p" | "color" | "children" | "height" | "sx" | "variant" | "width" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
27
+ };
28
+ export default _default;
29
+ //# sourceMappingURL=PopupQuery.style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopupQuery.style.d.ts","sourceRoot":"","sources":["../../../../../src/entities/popup-query/ui/PopupQuery.style.ts"],"names":[],"mappings":";;;;;;;;;;;oBAqEiB,OAAO;;;;;;;;;;;;;;;;AAexB,wBAUE"}
@@ -0,0 +1,2 @@
1
+ export { PopupQuery } from './PopupQuery';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/entities/popup-query/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -1,7 +1,7 @@
1
1
  declare const _default: {
2
2
  Button: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
4
- }, "className" | "style" | "classes" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
4
+ }, "className" | "style" | "classes" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "fullWidth" | "size" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
5
5
  ButtonContainer: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
6
  ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
7
7
  }, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1,7 +1,7 @@
1
1
  declare const _default: {
2
2
  Button: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
4
- }, "className" | "style" | "classes" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
4
+ }, "className" | "style" | "classes" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "fullWidth" | "size" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
5
5
  };
6
6
  export default _default;
7
7
  //# sourceMappingURL=ButtonReset.style.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { ButtonQuery } from './ui';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/context-menu/ui/ButtonQuery/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Dispatch, FC, SetStateAction } from 'react';
2
+ export declare const ButtonQuery: FC<Props>;
3
+ interface Props {
4
+ setIsOpened: Dispatch<SetStateAction<boolean>>;
5
+ }
6
+ export {};
7
+ //# sourceMappingURL=ButtonQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonQuery.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/context-menu/ui/ButtonQuery/ui/ButtonQuery.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAMrD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CAiBjC,CAAC;AAEF,UAAU,KAAK;IACd,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC/C"}
@@ -0,0 +1,2 @@
1
+ export { ButtonQuery } from './ButtonQuery';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/context-menu/ui/ButtonQuery/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../../src/features/context-menu/ui/ContextMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAsB,MAAM,OAAO,CAAC;AAoB/C,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CA4BjC,CAAC;AAEF,UAAU,KAAK;IACd,OAAO,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../../../../../src/features/context-menu/ui/ContextMenu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAsB,MAAM,OAAO,CAAC;AAqB/C,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CA6BjC,CAAC;AAEF,UAAU,KAAK;IACd,OAAO,EAAE,MAAM,CAAC;CAChB"}
@@ -3,7 +3,7 @@ declare const _default: {
3
3
  Checkbox: import('@emotion/styled').StyledComponent<CheckboxProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
4
4
  Button: import('@emotion/styled').StyledComponent<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
5
5
  ref?: ((instance: HTMLButtonElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLButtonElement> | null | undefined;
6
- }, "className" | "style" | "classes" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
6
+ }, "className" | "style" | "classes" | "tabIndex" | "color" | "children" | "sx" | "variant" | "disabled" | "fullWidth" | "size" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
7
7
  };
8
8
  export default _default;
9
9
  //# sourceMappingURL=Item.style.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function doNotForwardProps(props: PropertyKey[]): (prop: PropertyKey) => boolean;
2
+ //# sourceMappingURL=doNotForwardProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doNotForwardProps.d.ts","sourceRoot":"","sources":["../../../../../src/shared/lib/dom/doNotForwardProps.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,EAAE,IACnB,MAAM,WAAW,KAAG,OAAO,CAG7D"}
@@ -1,2 +1,3 @@
1
+ export { doNotForwardProps } from './doNotForwardProps';
1
2
  export { elementNotVisible } from './elementNotVisible';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/lib/dom/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/lib/dom/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export { Autocomplete, ColumnSorter, DateFormatter, DateValidator, IGNORE, EditorAmount, EditorAutocomplete, EditorDate, EditorSelectString, EditorSelectNumber, EmptyStringValidator, FORMATTER_NUMBER, LengthValidator, PercentFormatter, StringFormatter, TotalCalculator, formatterCheckMark, formatterGroupTotals, getFormatterNumber, columnSorter, commitCurrentEdit, copySelectedRows, deleteRows, getDisplayedRows, getLastRow, getNextId, getOnHeaderMenuCommand, getUpdates, highlightCell, highlightColumns, hotKeysCopy, hotKeysDelete, hotKeysRedo, hotKeysUndo, isDeletionDangerous, onCellChange, onRowCountChanged, getOnRowsChanged, openContextMenu, positionToPaste, printerCheckMark, selectedRows, useHotKeys, useListenIfTablesWereEdited, useUpdateTotal, wereEdited, } from './lib';
2
- export { ColumnPicker, DownloadManager, DecoratorEndingDate, DecoratorFilter, DecoratorColumnFilter, DecoratorPeriod, DefaultHotKeys, DefaultPrinter, DeletedRowsFilter, Filter, HotKeysDecorator, PreventCopying, RedoUndoOnly, SlickTable, WithConfirmationOfDeletion, WithSummary, WithoutHotKeys, eventContextMenu, eventHeaderContextMenu, eventSummary, printStyles, } from './model';
2
+ export { ColumnPicker, DownloadManager, DecoratorEndingDate, DecoratorFilter, DecoratorColumnFilter, DecoratorPeriod, DefaultHotKeys, DefaultPrinter, DeletedRowsFilter, Filter, HotKeysDecorator, PreventCopying, RedoUndoOnly, SlickTable, WithConfirmationOfDeletion, WithSummary, WithoutHotKeys, eventContextMenu, eventHeaderContextMenu, eventQuery, eventSummary, printStyles, } from './model';
3
3
  export { SlickgridTable, columnCheckboxSelector, columnIsEdited, eventOpenColumnFilters, handleHeaderButtons, headerButtons, openColumnFilter, } from './ui';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/lib/slickgrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,MAAM,EACN,YAAY,EACZ,kBAAkB,EAClB,UAAU,EACV,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,sBAAsB,EACtB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,cAAc,EACd,UAAU,GACV,MAAM,OAAO,CAAC;AACf,OAAO,EACN,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,0BAA0B,EAC1B,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,YAAY,EACZ,WAAW,GACX,MAAM,SAAS,CAAC;AACjB,OAAO,EACN,cAAc,EACd,sBAAsB,EACtB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,GAChB,MAAM,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/lib/slickgrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,MAAM,EACN,YAAY,EACZ,kBAAkB,EAClB,UAAU,EACV,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,sBAAsB,EACtB,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,WAAW,EACX,WAAW,EACX,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,cAAc,EACd,UAAU,GACV,MAAM,OAAO,CAAC;AACf,OAAO,EACN,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,0BAA0B,EAC1B,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,GACX,MAAM,SAAS,CAAC;AACjB,OAAO,EACN,cAAc,EACd,sBAAsB,EACtB,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,GAChB,MAAM,MAAM,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { AnEvent } from '../../../an-event';
2
+ import { ISlickTable } from '../../../../model/types';
3
+ declare class EventQuery extends AnEvent {
4
+ private _open;
5
+ private _table;
6
+ x: number;
7
+ y: number;
8
+ get open(): boolean;
9
+ set open(open: boolean);
10
+ get table(): ISlickTable | undefined;
11
+ set table(table: ISlickTable | undefined);
12
+ }
13
+ export declare const eventQuery: EventQuery;
14
+ export {};
15
+ //# sourceMappingURL=eventQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventQuery.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/lib/slickgrid/model/events/eventQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,cAAM,UAAW,SAAQ,OAAO;IAC/B,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,MAAM,CAA0B;IACxC,CAAC,SAAK;IACN,CAAC,SAAK;IAEN,IAAI,IAAI,YAEP;IACD,IAAI,IAAI,CAAC,IAAI,SAAA,EAGZ;IAED,IAAI,KAAK,4BAER;IACD,IAAI,KAAK,CAAC,KAAK,yBAAA,EAEd;CACD;AAED,eAAO,MAAM,UAAU,YAAmB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export { eventContextMenu } from './eventContextMenu';
2
2
  export { eventHeaderContextMenu } from './eventHeaderContextMenu';
3
+ export { eventQuery } from './eventQuery';
3
4
  export { eventSummary } from './eventSummary';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/lib/slickgrid/model/events/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/shared/lib/slickgrid/model/events/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { ColumnPicker, DownloadManager, DecoratorEndingDate, DecoratorFilter, DecoratorColumnFilter, DecoratorPeriod, DefaultHotKeys, DefaultPrinter, DeletedRowsFilter, Filter, HotKeysDecorator, PreventCopying, RedoUndoOnly, SlickTable, WithConfirmationOfDeletion, WithSummary, WithoutHotKeys, printStyles, } from './SlickTable';
2
- export { eventContextMenu, eventHeaderContextMenu, eventSummary, } from './events';
2
+ export { eventContextMenu, eventHeaderContextMenu, eventQuery, eventSummary, } from './events';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/lib/slickgrid/model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,0BAA0B,EAC1B,WAAW,EACX,cAAc,EACd,WAAW,GACX,MAAM,cAAc,CAAC;AACtB,OAAO,EACN,gBAAgB,EAChB,sBAAsB,EACtB,YAAY,GACZ,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/shared/lib/slickgrid/model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,0BAA0B,EAC1B,WAAW,EACX,cAAc,EACd,WAAW,GACX,MAAM,cAAc,CAAC;AACtB,OAAO,EACN,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,YAAY,GACZ,MAAM,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SlickgridTable.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/SlickgridTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQ3B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKjC,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CA0DpC,CAAC"}
1
+ {"version":3,"file":"SlickgridTable.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/SlickgridTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAS3B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKjC,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CA2DpC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slick-table",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Enhanced version of SlickGrid library",
5
5
  "private": false,
6
6
  "type": "module",
@@ -48,6 +48,7 @@
48
48
  "@mui/material": "^6.1.6",
49
49
  "@mui/x-date-pickers": "^7.22.2",
50
50
  "moment": "^2.30.1",
51
+ "myworkql": "^0.1.0",
51
52
  "pikaday": "^1.8.2",
52
53
  "react": "^18.3.1",
53
54
  "react-dom": "^18.3.1",
@@ -15,3 +15,7 @@ $red: #ff3737;
15
15
  @include svg("sgi-link-off", $gray, "M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.43 19.12,14.63 17.79,15L19.25,16.44C20.88,15.61 22,13.95 22,12A5,5 0 0,0 17,7M16,11H13.81L15.81,13H16V11M2,4.27L5.11,7.38C3.29,8.12 2,9.91 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12C3.9,10.41 5.11,9.1 6.66,8.93L8.73,11H8V13H10.73L13,15.27V17H14.73L18.74,21L20,19.74L3.27,3L2,4.27Z");
16
16
  @include svg("sgi-notification-clear-all", $gray, "M5,13H19V11H5M3,17H17V15H3M7,7V9H21V7");
17
17
  @include svg("sgi-printer", $gray, "M18,3H6V7H18M19,12A1,1 0 0,1 18,11A1,1 0 0,1 19,10A1,1 0 0,1 20,11A1,1 0 0,1 19,12M16,19H8V14H16M19,8H5A3,3 0 0,0 2,11V17H6V21H18V17H22V11A3,3 0 0,0 19,8Z");
18
+ @include svg("sgi-table-large", $gray, "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z");
19
+ @include svg("sgi-minus", $gray, "M19,13H5V11H19V13Z");
20
+ @include svg("sgi-close", $gray, "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z");
21
+ @include svg("sgi-arrow-expand", $gray, "M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z");
@@ -0,0 +1 @@
1
+ export { PopupQuery } from "./ui";
@@ -0,0 +1 @@
1
+ export { useSubscribeToEvent } from "./useSubscribeToEvent";
@@ -0,0 +1,24 @@
1
+ import { Dispatch, SetStateAction, useEffect } from "react";
2
+
3
+ import { eventQuery } from "shared/lib/slickgrid";
4
+
5
+ export function useSubscribeToEvent(
6
+ setIsOpened: Dispatch<SetStateAction<boolean>>,
7
+ tableId: string,
8
+ ) {
9
+ useEffect(() => {
10
+ function callback() {
11
+ const { open, table } = eventQuery;
12
+ if (table?.id !== tableId) return;
13
+ if (open) {
14
+ const table = eventQuery.table;
15
+ const grid = table?.grid;
16
+ }
17
+ setIsOpened(open);
18
+ }
19
+ eventQuery.subscribe(callback);
20
+ return () => {
21
+ eventQuery.unsubscribe(callback);
22
+ };
23
+ }, [tableId]);
24
+ }
@@ -0,0 +1,2 @@
1
+ export { useSubscribeToEvent } from "./hooks";
2
+ export { tableQuery } from "./table";
@@ -0,0 +1 @@
1
+ export { tableQuery } from "./tableQuery";
@@ -0,0 +1,3 @@
1
+ import { SlickTable } from "shared/lib/slickgrid/model/SlickTable/table/SlickTable";
2
+
3
+ export const tableQuery = new SlickTable({ id: "table-query" });
@@ -0,0 +1 @@
1
+ export const QUERY_LANGUAGE = "QUERY_LANGUAGE";
@@ -0,0 +1 @@
1
+ export { QUERY_LANGUAGE } from "./id";
@@ -0,0 +1,2 @@
1
+ export { QUERY_LANGUAGE } from "./consts";
2
+ export type { ITotal } from "./types";
@@ -0,0 +1,23 @@
1
+ import {
2
+ Column,
3
+ Formatter,
4
+ FormatterResultWithHtml,
5
+ FormatterResultWithText,
6
+ } from "slickgrid";
7
+
8
+ export type ITotal = Record<
9
+ string,
10
+ {
11
+ cell: number;
12
+ column: Column;
13
+ formatter?: Formatter<any>;
14
+ label: string;
15
+ total: number;
16
+ totalFormatted:
17
+ | string
18
+ | HTMLElement
19
+ | DocumentFragment
20
+ | FormatterResultWithHtml
21
+ | FormatterResultWithText;
22
+ }
23
+ >;
@@ -0,0 +1 @@
1
+ export type { ITotal } from "./ITotal";
@@ -0,0 +1,95 @@
1
+ import {
2
+ Box,
3
+ Button,
4
+ Drawer,
5
+ TextField,
6
+ Typography,
7
+ styled,
8
+ } from "@mui/material";
9
+
10
+ import { doNotForwardProps } from "shared/lib/dom";
11
+
12
+ const StyledDrawer = styled(Drawer)({
13
+ zIndex: 1300,
14
+ "& .MuiDrawer-paper": {
15
+ display: "flex",
16
+ flexDirection: "column",
17
+ padding: "1em",
18
+ maxHeight: "90vh",
19
+ },
20
+ "& div.MuiBackdrop-root": {
21
+ opacity: "0 !important",
22
+ },
23
+ });
24
+
25
+ const Header = styled(Typography)({
26
+ display: "flex",
27
+ justifyContent: "space-between",
28
+ });
29
+
30
+ const Title = styled(Typography)({
31
+ color: "#235B95",
32
+ marginBottom: "0.5em",
33
+ fontWeight: "600",
34
+ fontSize: "16px",
35
+ letterSpacing: "-2%",
36
+ minWidth: "14em",
37
+ });
38
+
39
+ const RowsNumber = styled(Box)({
40
+ color: "#1E456F",
41
+ });
42
+
43
+ const StyledTextField = styled(TextField)({
44
+ width: "100%",
45
+ "& .MuiInputBase-root": {
46
+ borderRadius: "10px",
47
+ padding: "11px 14px",
48
+ color: "#235B95",
49
+ },
50
+ });
51
+
52
+ const ContainerInput = styled(Box)({
53
+ display: "flex",
54
+ columnGap: "0.5em",
55
+ marginTop: "1em",
56
+ width: "100%",
57
+ marginBottom: "1em",
58
+ });
59
+
60
+ const ColumnName = styled("span")({
61
+ fontSize: "0.875rem",
62
+ cursor: "pointer",
63
+ backgroundColor: "aliceblue",
64
+ borderRadius: "10px",
65
+ padding: "5px",
66
+ });
67
+
68
+ const ContainerTable = styled(Box, {
69
+ shouldForwardProp: doNotForwardProps(["isRightScreenVisible"]),
70
+ })<{ isExpanded: boolean }>(({ isExpanded }) => ({
71
+ overflowY: "auto",
72
+ // transition: "0.3s",
73
+ height: isExpanded ? "90vh" : "0vh",
74
+ }));
75
+
76
+ const StyledButton = styled(Button)({
77
+ backgroundColor: "#2FAF7D",
78
+ color: "#FBFBFB",
79
+ textTransform: "none",
80
+ width: "229px",
81
+ height: "45px",
82
+ borderRadius: "10px",
83
+ });
84
+
85
+ export default {
86
+ Button: StyledButton,
87
+ ColumnName,
88
+ ContainerInput,
89
+ ContainerTable,
90
+ Drawer: StyledDrawer,
91
+ Header,
92
+ RowsNumber,
93
+ TextField: StyledTextField,
94
+ Title,
95
+ };