slick-table 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +98 -98
- package/dist/index.es.js +7040 -6843
- package/dist/styles/icons.scss +1 -1
- package/dist/types/entities/drawer-run-query/index.d.ts +2 -0
- package/dist/types/entities/drawer-run-query/index.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/grouping/getGroupLabel.d.ts +8 -0
- package/dist/types/entities/drawer-run-query/lib/grouping/getGroupLabel.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/grouping/groupQueriesByDate.d.ts +4 -0
- package/dist/types/entities/drawer-run-query/lib/grouping/groupQueriesByDate.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/grouping/index.d.ts +2 -0
- package/dist/types/entities/drawer-run-query/lib/grouping/index.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/hooks/index.d.ts +3 -0
- package/dist/types/entities/drawer-run-query/lib/hooks/index.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/hooks/useResizeCanvas.d.ts +2 -0
- package/dist/types/entities/drawer-run-query/lib/hooks/useResizeCanvas.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/hooks/useSubscribeToEvent.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/index.d.ts +4 -0
- package/dist/types/entities/drawer-run-query/lib/index.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/table/getColumsHash.d.ts +3 -0
- package/dist/types/entities/drawer-run-query/lib/table/getColumsHash.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/table/index.d.ts +3 -0
- package/dist/types/entities/drawer-run-query/lib/table/index.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/lib/table/tableQuery.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/model/consts/consts.d.ts +3 -0
- package/dist/types/entities/drawer-run-query/model/consts/consts.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/model/consts/index.d.ts +2 -0
- package/dist/types/entities/drawer-run-query/model/consts/index.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/model/index.d.ts +3 -0
- package/dist/types/entities/drawer-run-query/model/index.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/model/types/IQueryGroup.d.ts +6 -0
- package/dist/types/entities/drawer-run-query/model/types/IQueryGroup.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/model/types/index.d.ts +2 -0
- package/dist/types/entities/drawer-run-query/model/types/index.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/ui/DrawerRunQuery.d.ts +7 -0
- package/dist/types/entities/drawer-run-query/ui/DrawerRunQuery.d.ts.map +1 -0
- package/dist/types/entities/{popup-query/ui/PopupQuery.style.d.ts → drawer-run-query/ui/DrawerRunQuery.style.d.ts} +14 -6
- package/dist/types/entities/drawer-run-query/ui/DrawerRunQuery.style.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/ui/QueryHistory/QueryHistory.d.ts +9 -0
- package/dist/types/entities/drawer-run-query/ui/QueryHistory/QueryHistory.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/ui/QueryHistory/QueryHistory.style.d.ts +23 -0
- package/dist/types/entities/drawer-run-query/ui/QueryHistory/QueryHistory.style.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/ui/QueryHistory/index.d.ts +2 -0
- package/dist/types/entities/drawer-run-query/ui/QueryHistory/index.d.ts.map +1 -0
- package/dist/types/entities/drawer-run-query/ui/index.d.ts +2 -0
- package/dist/types/entities/drawer-run-query/ui/index.d.ts.map +1 -0
- package/dist/types/entities/popup-summary/ui/PopupSummary.style.d.ts +1 -1
- package/dist/types/features/column-filters/ui/ButtonReset/ButtonReset.style.d.ts +1 -1
- package/dist/types/features/context-menu/ui/ButtonQuery/ui/ButtonQuery.d.ts.map +1 -1
- package/dist/types/features/header-context-menu/lib/visibility/getHidableColumnIds.d.ts.map +1 -1
- package/dist/types/features/header-context-menu/ui/Item/Item.style.d.ts +1 -1
- package/dist/types/shared/lib/localStrore/model/classes/Queries.d.ts +7 -0
- package/dist/types/shared/lib/localStrore/model/classes/Queries.d.ts.map +1 -0
- package/dist/types/shared/lib/localStrore/model/classes/index.d.ts +1 -0
- package/dist/types/shared/lib/localStrore/model/classes/index.d.ts.map +1 -1
- package/dist/types/shared/lib/localStrore/model/enums/EStorageKey.d.ts +2 -1
- package/dist/types/shared/lib/localStrore/model/enums/EStorageKey.d.ts.map +1 -1
- package/dist/types/shared/lib/localStrore/model/localStore.d.ts +2 -1
- package/dist/types/shared/lib/localStrore/model/localStore.d.ts.map +1 -1
- package/dist/types/shared/lib/slickgrid/index.d.ts +1 -1
- package/dist/types/shared/lib/slickgrid/index.d.ts.map +1 -1
- package/dist/types/shared/lib/slickgrid/model/events/{eventQuery.d.ts → eventRunQuery.d.ts} +3 -5
- package/dist/types/shared/lib/slickgrid/model/events/eventRunQuery.d.ts.map +1 -0
- package/dist/types/shared/lib/slickgrid/model/events/index.d.ts +1 -1
- package/dist/types/shared/lib/slickgrid/model/events/index.d.ts.map +1 -1
- package/dist/types/shared/lib/slickgrid/model/index.d.ts +1 -1
- package/dist/types/shared/lib/slickgrid/model/index.d.ts.map +1 -1
- package/dist/types/shared/lib/slickgrid/ui/columns/columnIsEdited/ui/columnIsEdited.d.ts.map +1 -1
- package/dist/types/shared/model/consts/columnId.d.ts +1 -0
- package/dist/types/shared/model/consts/columnId.d.ts.map +1 -1
- package/dist/types/shared/model/consts/index.d.ts +1 -1
- package/dist/types/shared/model/consts/index.d.ts.map +1 -1
- package/dist/types/shared/model/types/IRecentQuery.d.ts +5 -0
- package/dist/types/shared/model/types/IRecentQuery.d.ts.map +1 -0
- package/dist/types/shared/model/types/index.d.ts +1 -0
- package/dist/types/shared/model/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/app/styles/icons.scss +1 -1
- package/src/entities/drawer-run-query/index.ts +1 -0
- package/src/entities/drawer-run-query/lib/grouping/getGroupLabel.spec.ts +46 -0
- package/src/entities/drawer-run-query/lib/grouping/getGroupLabel.ts +26 -0
- package/src/entities/drawer-run-query/lib/grouping/groupQueriesByDate.spec.ts +54 -0
- package/src/entities/drawer-run-query/lib/grouping/groupQueriesByDate.ts +37 -0
- package/src/entities/drawer-run-query/lib/grouping/index.ts +1 -0
- package/src/entities/{popup-query → drawer-run-query}/lib/hooks/index.ts +1 -0
- package/src/entities/drawer-run-query/lib/hooks/useResizeCanvas.ts +13 -0
- package/src/entities/{popup-query → drawer-run-query}/lib/hooks/useSubscribeToEvent.ts +4 -8
- package/src/entities/drawer-run-query/lib/index.ts +3 -0
- package/src/entities/drawer-run-query/lib/table/getColumsHash.ts +18 -0
- package/src/entities/drawer-run-query/lib/table/index.ts +2 -0
- package/src/entities/{popup-query/model/consts/id.ts → drawer-run-query/model/consts/consts.ts} +2 -1
- package/src/entities/drawer-run-query/model/consts/index.ts +1 -0
- package/src/entities/drawer-run-query/model/index.ts +2 -0
- package/src/entities/drawer-run-query/model/types/IQueryGroup.ts +6 -0
- package/src/entities/drawer-run-query/model/types/index.ts +1 -0
- package/src/entities/{popup-query/ui/PopupQuery.style.ts → drawer-run-query/ui/DrawerRunQuery.style.ts} +43 -9
- package/src/entities/{popup-query/ui/PopupQuery.tsx → drawer-run-query/ui/DrawerRunQuery.tsx} +86 -51
- package/src/entities/drawer-run-query/ui/QueryHistory/QueryHistory.style.ts +53 -0
- package/src/entities/drawer-run-query/ui/QueryHistory/QueryHistory.tsx +62 -0
- package/src/entities/drawer-run-query/ui/QueryHistory/index.ts +1 -0
- package/src/entities/drawer-run-query/ui/index.ts +1 -0
- package/src/features/context-menu/ui/ButtonQuery/ui/ButtonQuery.tsx +3 -5
- package/src/features/header-context-menu/lib/visibility/getHidableColumnIds.ts +2 -1
- package/src/shared/lib/localStrore/model/classes/Queries.ts +40 -0
- package/src/shared/lib/localStrore/model/classes/index.ts +1 -0
- package/src/shared/lib/localStrore/model/enums/EStorageKey.ts +1 -0
- package/src/shared/lib/localStrore/model/localStore.ts +8 -1
- package/src/shared/lib/slickgrid/index.ts +1 -1
- package/src/shared/lib/slickgrid/model/events/{eventQuery.ts → eventRunQuery.ts} +2 -4
- package/src/shared/lib/slickgrid/model/events/index.ts +1 -1
- package/src/shared/lib/slickgrid/model/index.ts +1 -1
- package/src/shared/lib/slickgrid/ui/SlickgridTable/ui/SlickgridTable.tsx +2 -2
- package/src/shared/lib/slickgrid/ui/columns/columnIsEdited/ui/columnIsEdited.ts +3 -2
- package/src/shared/model/consts/columnId.ts +1 -0
- package/src/shared/model/consts/index.ts +1 -1
- package/src/shared/model/types/IRecentQuery.ts +4 -0
- package/src/shared/model/types/index.ts +1 -0
- package/dist/types/entities/popup-query/index.d.ts +0 -2
- package/dist/types/entities/popup-query/index.d.ts.map +0 -1
- package/dist/types/entities/popup-query/lib/hooks/index.d.ts +0 -2
- package/dist/types/entities/popup-query/lib/hooks/index.d.ts.map +0 -1
- package/dist/types/entities/popup-query/lib/hooks/useSubscribeToEvent.d.ts.map +0 -1
- package/dist/types/entities/popup-query/lib/index.d.ts +0 -3
- package/dist/types/entities/popup-query/lib/index.d.ts.map +0 -1
- package/dist/types/entities/popup-query/lib/table/index.d.ts +0 -2
- package/dist/types/entities/popup-query/lib/table/index.d.ts.map +0 -1
- package/dist/types/entities/popup-query/lib/table/tableQuery.d.ts.map +0 -1
- package/dist/types/entities/popup-query/model/consts/id.d.ts +0 -2
- package/dist/types/entities/popup-query/model/consts/id.d.ts.map +0 -1
- package/dist/types/entities/popup-query/model/consts/index.d.ts +0 -2
- package/dist/types/entities/popup-query/model/consts/index.d.ts.map +0 -1
- package/dist/types/entities/popup-query/model/index.d.ts +0 -3
- package/dist/types/entities/popup-query/model/index.d.ts.map +0 -1
- package/dist/types/entities/popup-query/model/types/ITotal.d.ts +0 -10
- package/dist/types/entities/popup-query/model/types/ITotal.d.ts.map +0 -1
- package/dist/types/entities/popup-query/model/types/index.d.ts +0 -2
- package/dist/types/entities/popup-query/model/types/index.d.ts.map +0 -1
- package/dist/types/entities/popup-query/ui/PopupQuery.d.ts +0 -7
- package/dist/types/entities/popup-query/ui/PopupQuery.d.ts.map +0 -1
- package/dist/types/entities/popup-query/ui/PopupQuery.style.d.ts.map +0 -1
- package/dist/types/entities/popup-query/ui/index.d.ts +0 -2
- package/dist/types/entities/popup-query/ui/index.d.ts.map +0 -1
- package/dist/types/shared/lib/slickgrid/model/events/eventQuery.d.ts.map +0 -1
- package/src/entities/popup-query/index.ts +0 -1
- package/src/entities/popup-query/lib/index.ts +0 -2
- package/src/entities/popup-query/lib/table/index.ts +0 -1
- package/src/entities/popup-query/model/consts/index.ts +0 -1
- package/src/entities/popup-query/model/index.ts +0 -2
- package/src/entities/popup-query/model/types/ITotal.ts +0 -23
- package/src/entities/popup-query/model/types/index.ts +0 -1
- package/src/entities/popup-query/ui/index.ts +0 -1
- /package/dist/types/entities/{popup-query → drawer-run-query}/lib/hooks/useSubscribeToEvent.d.ts +0 -0
- /package/dist/types/entities/{popup-query → drawer-run-query}/lib/table/tableQuery.d.ts +0 -0
- /package/src/entities/{popup-query → drawer-run-query}/lib/table/tableQuery.ts +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { IconButton, Tooltip } from "@mui/material";
|
|
2
|
+
import { Dispatch, FC, Fragment, SetStateAction, useState } from "react";
|
|
3
|
+
|
|
4
|
+
import { localStore } from "shared/lib/localStrore";
|
|
5
|
+
import { eventRunQuery } from "shared/lib/slickgrid";
|
|
6
|
+
|
|
7
|
+
import { groupQueriesByDate } from "../../lib";
|
|
8
|
+
|
|
9
|
+
import Styled from "./QueryHistory.style";
|
|
10
|
+
|
|
11
|
+
export const QueryHistory: FC<Props> = ({ executeQuery, query, setQuery }) => {
|
|
12
|
+
const [count, setCount] = useState(0);
|
|
13
|
+
const tableId = eventRunQuery.table?.id || "";
|
|
14
|
+
const history = localStore.queries.get(tableId);
|
|
15
|
+
const groups = groupQueriesByDate(history ?? []);
|
|
16
|
+
|
|
17
|
+
function useQuery(recentQuery: string) {
|
|
18
|
+
setQuery(recentQuery);
|
|
19
|
+
executeQuery(recentQuery);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<Styled.Wrapper>
|
|
24
|
+
{groups.map(({ label, queries }) => (
|
|
25
|
+
<Fragment key={label}>
|
|
26
|
+
<Styled.GroupLabel>{label}</Styled.GroupLabel>
|
|
27
|
+
{queries.map((recentQuery) => (
|
|
28
|
+
<Styled.Item
|
|
29
|
+
key={recentQuery.time}
|
|
30
|
+
className={recentQuery.query === query ? "active" : ""}
|
|
31
|
+
onClick={() => {
|
|
32
|
+
if (recentQuery.query === query) return;
|
|
33
|
+
useQuery(recentQuery.query);
|
|
34
|
+
}}
|
|
35
|
+
title={recentQuery.query}
|
|
36
|
+
>
|
|
37
|
+
<Styled.Title>{recentQuery.query}</Styled.Title>
|
|
38
|
+
<Tooltip title={"Delete from history"}>
|
|
39
|
+
<IconButton
|
|
40
|
+
onClick={(event) => {
|
|
41
|
+
event.stopPropagation();
|
|
42
|
+
localStore.queries.reset(tableId, recentQuery.query);
|
|
43
|
+
// refresh history
|
|
44
|
+
setCount(count + 1);
|
|
45
|
+
}}
|
|
46
|
+
>
|
|
47
|
+
<span className="sgi sgi-close"></span>
|
|
48
|
+
</IconButton>
|
|
49
|
+
</Tooltip>
|
|
50
|
+
</Styled.Item>
|
|
51
|
+
))}
|
|
52
|
+
</Fragment>
|
|
53
|
+
))}
|
|
54
|
+
</Styled.Wrapper>
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
interface Props {
|
|
59
|
+
executeQuery(query: string): void;
|
|
60
|
+
query: string;
|
|
61
|
+
setQuery: Dispatch<SetStateAction<string>>;
|
|
62
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QueryHistory } from "./QueryHistory";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DrawerRunQuery } from "./DrawerRunQuery";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dispatch, FC, SetStateAction } from "react";
|
|
2
2
|
|
|
3
|
-
import { eventContextMenu,
|
|
3
|
+
import { eventContextMenu, eventRunQuery } from "shared/lib/slickgrid";
|
|
4
4
|
|
|
5
5
|
import Styled from "../../ContextMenu.style";
|
|
6
6
|
|
|
@@ -9,10 +9,8 @@ export const ButtonQuery: FC<Props> = ({ setIsOpened }) => {
|
|
|
9
9
|
|
|
10
10
|
function openModalWindow() {
|
|
11
11
|
setIsOpened(false);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
eventQuery.x = eventContextMenu.x;
|
|
15
|
-
eventQuery.y = eventContextMenu.y;
|
|
12
|
+
eventRunQuery.table = table;
|
|
13
|
+
eventRunQuery.open = true;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
return (
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { IS_EDITED } from "shared/model/consts";
|
|
1
2
|
import { IColumn, ISlickTable } from "shared/model/types";
|
|
2
3
|
|
|
3
4
|
export function getHideableColumns(table: ISlickTable): IColumn[] {
|
|
4
5
|
if (!table?.columnPicker) return [];
|
|
5
6
|
return table.columnPicker
|
|
6
7
|
.getInitialColumns()
|
|
7
|
-
.filter(({ id }) => id !== "_checkbox_selector" && id !==
|
|
8
|
+
.filter(({ id }) => id !== "_checkbox_selector" && id !== IS_EDITED);
|
|
8
9
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IRecentQuery } from "shared/model/types";
|
|
2
|
+
|
|
3
|
+
import { getFromStorage, updateStorage } from "../../lib";
|
|
4
|
+
import { EStorageKey } from "../enums";
|
|
5
|
+
|
|
6
|
+
const MAX_QUERIES = 10;
|
|
7
|
+
|
|
8
|
+
export class Queries {
|
|
9
|
+
get(tableId: string): IRecentQuery[] {
|
|
10
|
+
const queries = getFromStorage(EStorageKey.queries);
|
|
11
|
+
return queries[tableId];
|
|
12
|
+
}
|
|
13
|
+
reset(tableId: string, query: string): void {
|
|
14
|
+
const queries = getFromStorage(EStorageKey.queries);
|
|
15
|
+
const recentQueries = queries[tableId];
|
|
16
|
+
if (!recentQueries) return;
|
|
17
|
+
queries[tableId] = recentQueries.filter(
|
|
18
|
+
(recent: IRecentQuery) => recent.query !== query,
|
|
19
|
+
);
|
|
20
|
+
updateStorage(EStorageKey.queries, queries);
|
|
21
|
+
}
|
|
22
|
+
set(tableId: string, query: string): void {
|
|
23
|
+
const queryTrimed = query.trim();
|
|
24
|
+
if (!queryTrimed) return;
|
|
25
|
+
const queries: Record<string, IRecentQuery[]> =
|
|
26
|
+
getFromStorage(EStorageKey.queries) || {};
|
|
27
|
+
const otherQueries = (queries[tableId] || []).filter(
|
|
28
|
+
(item) => item.query !== queryTrimed,
|
|
29
|
+
);
|
|
30
|
+
const recentQuery: IRecentQuery = {
|
|
31
|
+
query: queryTrimed,
|
|
32
|
+
time: new Date().toISOString(),
|
|
33
|
+
};
|
|
34
|
+
const updatedQueries = [recentQuery, ...otherQueries].slice(0, MAX_QUERIES);
|
|
35
|
+
updateStorage(EStorageKey.queries, {
|
|
36
|
+
...queries,
|
|
37
|
+
[tableId]: updatedQueries,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
ColumnFilters,
|
|
3
|
+
ColumnWidths,
|
|
4
|
+
HiddenColumns,
|
|
5
|
+
Queries,
|
|
6
|
+
Sorting,
|
|
7
|
+
} from "./classes";
|
|
2
8
|
|
|
3
9
|
class LocalStore {
|
|
4
10
|
columnFilters = new ColumnFilters();
|
|
5
11
|
columnWidths = new ColumnWidths();
|
|
6
12
|
hiddenColumns = new HiddenColumns();
|
|
13
|
+
queries = new Queries();
|
|
7
14
|
sorting = new Sorting();
|
|
8
15
|
}
|
|
9
16
|
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { AnEvent } from "shared/lib/an-event";
|
|
2
2
|
import { ISlickTable } from "shared/model/types";
|
|
3
3
|
|
|
4
|
-
class
|
|
4
|
+
class EventRunQuery extends AnEvent {
|
|
5
5
|
private _open = false;
|
|
6
6
|
private _table: ISlickTable | undefined;
|
|
7
|
-
x = 0;
|
|
8
|
-
y = 0;
|
|
9
7
|
|
|
10
8
|
get open() {
|
|
11
9
|
return this._open;
|
|
@@ -23,4 +21,4 @@ class EventQuery extends AnEvent {
|
|
|
23
21
|
}
|
|
24
22
|
}
|
|
25
23
|
|
|
26
|
-
export const
|
|
24
|
+
export const eventRunQuery = new EventRunQuery();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { DrawerRunQuery } from "entities/drawer-run-query";
|
|
4
4
|
import { PopupSummary } from "entities/popup-summary";
|
|
5
5
|
|
|
6
6
|
import { ColumnFilters } from "features/column-filters";
|
|
@@ -68,7 +68,7 @@ export const SlickgridTable: FC<Props> = ({
|
|
|
68
68
|
<ColumnFilters tableId={table.id} />
|
|
69
69
|
<ContextMenu tableId={table.id} />
|
|
70
70
|
<PopupSummary tableId={table.id} />
|
|
71
|
-
<
|
|
71
|
+
<DrawerRunQuery tableId={table.id} />
|
|
72
72
|
</Styled.Wrapper>
|
|
73
73
|
);
|
|
74
74
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IS_EDITED } from "shared/model/consts";
|
|
1
2
|
import { ESortType } from "shared/model/enums";
|
|
2
3
|
import { IColumn } from "shared/model/types";
|
|
3
4
|
|
|
@@ -5,9 +6,9 @@ import { setEditedMark } from "../lib";
|
|
|
5
6
|
import { ICON_IS_EDITED } from "./iconIsEdited";
|
|
6
7
|
|
|
7
8
|
export const columnIsEdited: IColumn = {
|
|
8
|
-
id:
|
|
9
|
+
id: IS_EDITED,
|
|
9
10
|
name: ICON_IS_EDITED,
|
|
10
|
-
field:
|
|
11
|
+
field: IS_EDITED,
|
|
11
12
|
formatter: setEditedMark,
|
|
12
13
|
focusable: false,
|
|
13
14
|
sortable: true,
|
|
@@ -12,6 +12,7 @@ export type { IHotKeysBehavior } from "./IHotKeysBehavior";
|
|
|
12
12
|
export type { IHtmlDocElements } from "./IHtmlDocElements";
|
|
13
13
|
export type { IObserver } from "./IObserver";
|
|
14
14
|
export type { IPrinter } from "./IPrinter";
|
|
15
|
+
export type { IRecentQuery } from "./IRecentQuery";
|
|
15
16
|
export type { ISlickTable } from "./ISlickTable";
|
|
16
17
|
export type { ISlickRow } from "./ISlickRow";
|
|
17
18
|
export type { ITotalCalculator } from "./ITotalCalculator";
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PopupQuery.style.d.ts","sourceRoot":"","sources":["../../../../../src/entities/popup-query/ui/PopupQuery.style.ts"],"names":[],"mappings":";;;;;;;;;;;oBAqEiB,OAAO;;;;;;;;;;;;;;;;AAexB,wBAUE"}
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
export { PopupQuery } from "./ui";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { tableQuery } from "./tableQuery";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { QUERY_LANGUAGE } from "./id";
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { ITotal } from "./ITotal";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PopupQuery } from "./PopupQuery";
|
/package/dist/types/entities/{popup-query → drawer-run-query}/lib/hooks/useSubscribeToEvent.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|