@restio/ui 0.0.1-SNAPSHOT-20260201114427 → 0.0.2-SNAPSHOT
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/assets/svg/arrow-down-up.svg +1 -0
- package/dist/assets/svg/chevron-down.svg +1 -0
- package/dist/assets/svg/groups.svg +1 -0
- package/dist/components/anchored-overlay/anchored-overlay.d.ts.map +1 -1
- package/dist/components/menu/anchored-navigation-menu.d.ts +3 -0
- package/dist/components/menu/anchored-navigation-menu.d.ts.map +1 -1
- package/dist/custom-components/chat/chat-types.d.ts +8 -84
- package/dist/custom-components/chat/chat-types.d.ts.map +1 -1
- package/dist/custom-components/chat/chat.d.ts +1 -4
- package/dist/custom-components/chat/chat.d.ts.map +1 -1
- package/dist/custom-components/layout-builder/layout-builder.d.ts.map +1 -1
- package/dist/custom-components/layout-builder/layout-json-editor.d.ts.map +1 -1
- package/dist/data-components/cell/cell-types.d.ts +4 -0
- package/dist/data-components/cell/cell-types.d.ts.map +1 -1
- package/dist/data-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/data-components/cell/cell.d.ts +1 -1
- package/dist/data-components/cell/cell.d.ts.map +1 -1
- package/dist/data-components/data-structure/stories-assets.d.ts +2 -4
- package/dist/data-components/data-structure/stories-assets.d.ts.map +1 -1
- package/dist/data-components/table-grid/aggregation/aggregation-utils.d.ts +9 -0
- package/dist/data-components/table-grid/aggregation/aggregation-utils.d.ts.map +1 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts +5 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts.map +1 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts +13 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts.map +1 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts +5 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +3 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts.map +1 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts +4 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts.map +1 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts +4 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts.map +1 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +30 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +5 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.d.ts +7 -0
- package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/{csv → import/csv}/createDataStructureFromFile.d.ts +2 -2
- package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/{csv → import/csv}/csvToObj.d.ts +1 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/import/csv/index.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts +6 -0
- package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts.map +1 -0
- package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.d.ts.map +1 -0
- package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +2 -4
- package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/footer/table-grid-footer.d.ts.map +1 -1
- package/dist/data-components/table-grid/formula/formula-builder.d.ts.map +1 -1
- package/dist/data-components/table-grid/formula/parser.d.ts.map +1 -1
- package/dist/data-components/table-grid/header/grouping/group-panel.d.ts.map +1 -1
- package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts +10 -0
- package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts.map +1 -0
- package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +2 -4
- package/dist/data-components/table-grid/header/table-grid-header-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/header/table-grid-header.d.ts.map +1 -1
- package/dist/data-components/table-grid/hooks/use-table.d.ts.map +1 -1
- package/dist/data-components/table-grid/pinning/pinning-utils.d.ts +21 -0
- package/dist/data-components/table-grid/pinning/pinning-utils.d.ts.map +1 -0
- package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts +17 -0
- package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts +3 -0
- package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts.map +1 -0
- package/dist/data-components/table-grid/pivot/pivot-table.d.ts +8 -0
- package/dist/data-components/table-grid/pivot/pivot-table.d.ts.map +1 -0
- package/dist/data-components/table-grid/pivot/pivot-types.d.ts +53 -0
- package/dist/data-components/table-grid/pivot/pivot-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/pivot/pivot-utils.d.ts +14 -0
- package/dist/data-components/table-grid/pivot/pivot-utils.d.ts.map +1 -0
- package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +2 -5
- package/dist/data-components/table-grid/row/table-grid-row-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +11 -0
- package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts.map +1 -0
- package/dist/data-components/table-grid/row/table-grid-row.d.ts.map +1 -1
- package/dist/data-components/table-grid/selection/selection-types.d.ts +3 -0
- package/dist/data-components/table-grid/selection/selection-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/selection/selection-utils.d.ts +49 -0
- package/dist/data-components/table-grid/selection/selection-utils.d.ts.map +1 -0
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts +24 -0
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts.map +1 -0
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts +3 -0
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts.map +1 -0
- package/dist/data-components/table-grid/sorting/sorting.d.ts +7 -0
- package/dist/data-components/table-grid/sorting/sorting.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-context/table-context-types.d.ts +1 -0
- package/dist/data-components/table-grid/table-context/table-context-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-grid-context.d.ts +1 -1
- package/dist/data-components/table-grid/table-grid-context.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-grid-types.d.ts +82 -5
- package/dist/data-components/table-grid/table-grid-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-grid.d.ts +1 -1
- package/dist/data-components/table-grid/table-grid.d.ts.map +1 -1
- package/dist/data-components/table-grid/{table-utilts.d.ts → table-utils.d.ts} +3 -1
- package/dist/data-components/table-grid/table-utils.d.ts.map +1 -0
- package/dist/index.d.ts +10 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +8 -0
- package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts.map +1 -0
- package/dist/providers/ai-assistant/ai-assistant-types.d.ts +41 -0
- package/dist/providers/ai-assistant/ai-assistant-types.d.ts.map +1 -0
- package/dist/providers/ai-assistant/ai-assistant-validator.d.ts +23 -0
- package/dist/providers/ai-assistant/ai-assistant-validator.d.ts.map +1 -0
- package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts +19 -0
- package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts.map +1 -0
- package/dist/providers/ai-assistant/ai-chat-panel.d.ts +3 -0
- package/dist/providers/ai-assistant/ai-chat-panel.d.ts.map +1 -0
- package/dist/restio-ui.cjs.js +60 -26
- package/dist/restio-ui.es.js +10148 -8839
- package/dist/ui.css +1 -1
- package/dist/utility-components/chip/chip-types.d.ts +2 -1
- package/dist/utility-components/chip/chip-types.d.ts.map +1 -1
- package/dist/utility-components/chip/chip.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/custom-components/chat/chat-assets.d.ts +0 -3
- package/dist/custom-components/chat/chat-assets.d.ts.map +0 -1
- package/dist/custom-components/chat/chat-header/chat-header-types.d.ts +0 -6
- package/dist/custom-components/chat/chat-header/chat-header-types.d.ts.map +0 -1
- package/dist/custom-components/chat/chat-header/chat-header.d.ts +0 -6
- package/dist/custom-components/chat/chat-header/chat-header.d.ts.map +0 -1
- package/dist/custom-components/chat/example-chat-app.d.ts +0 -8
- package/dist/custom-components/chat/example-chat-app.d.ts.map +0 -1
- package/dist/custom-components/chat/message-content/message-content-types.d.ts +0 -6
- package/dist/custom-components/chat/message-content/message-content-types.d.ts.map +0 -1
- package/dist/custom-components/chat/message-content/message-content.d.ts +0 -6
- package/dist/custom-components/chat/message-content/message-content.d.ts.map +0 -1
- package/dist/custom-components/chat/message-input/chat-input-types.d.ts +0 -8
- package/dist/custom-components/chat/message-input/chat-input-types.d.ts.map +0 -1
- package/dist/custom-components/chat/message-input/chat-input.d.ts +0 -6
- package/dist/custom-components/chat/message-input/chat-input.d.ts.map +0 -1
- package/dist/custom-components/chat/message-item/message-item-types.d.ts +0 -11
- package/dist/custom-components/chat/message-item/message-item-types.d.ts.map +0 -1
- package/dist/custom-components/chat/message-item/message-item.d.ts +0 -6
- package/dist/custom-components/chat/message-item/message-item.d.ts.map +0 -1
- package/dist/custom-components/chat/message-list/message-list-types.d.ts +0 -11
- package/dist/custom-components/chat/message-list/message-list-types.d.ts.map +0 -1
- package/dist/custom-components/chat/message-list/message-list.d.ts +0 -6
- package/dist/custom-components/chat/message-list/message-list.d.ts.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/csv/autoDetect.d.ts +0 -6
- package/dist/data-components/table-grid/external-functionalities/csv/autoDetect.d.ts.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/csv/createDataStructureFromFile.d.ts.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/csv/csvToObj.d.ts.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/csv/detectDelimeter.d.ts.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/csv/index.d.ts.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/csv/inferColumns.d.ts +0 -6
- package/dist/data-components/table-grid/external-functionalities/csv/inferColumns.d.ts.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/csv/parseDelimeted.d.ts.map +0 -1
- package/dist/data-components/table-grid/table-utilts.d.ts.map +0 -1
- /package/dist/data-components/table-grid/external-functionalities/{csv → import/csv}/detectDelimeter.d.ts +0 -0
- /package/dist/data-components/table-grid/external-functionalities/{csv → import/csv}/index.d.ts +0 -0
- /package/dist/data-components/table-grid/external-functionalities/{csv → import/csv}/parseDelimeted.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" transform="" id="injected-svg" xmlns="http://www.w3.org/2000/svg"><!--Boxicons v3.0.8 https://boxicons.com | License https://docs.boxicons.com/free--><path d="M12 16H8V2H6v14H2l5 6zm0-8h4v14h2V8h4l-5-6z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" transform="" id="injected-svg" xmlns="http://www.w3.org/2000/svg"><!--Boxicons v3.0.8 https://boxicons.com | License https://docs.boxicons.com/free--><path d="m12 15.41 5.71-5.7-1.42-1.42-4.29 4.3-4.29-4.3-1.42 1.42z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M300-160q-58 0-99-41t-41-99q0-58 41-99t99-41h440q58 0 99 41t41 99q0 58-41 99t-99 41H300Zm0-80h440q25 0 42.5-17.5T800-300q0-25-17.5-42.5T740-360H300q-25 0-42.5 17.5T240-300q0 25 17.5 42.5T300-240Zm-80-280q-58 0-99-41t-41-99q0-58 41-99t99-41h440q58 0 99 41t41 99q0 58-41 99t-99 41H220Zm0-80h440q25 0 42.5-17.5T720-660q0-25-17.5-42.5T660-720H220q-25 0-42.5 17.5T160-660q0 25 17.5 42.5T220-600Zm300 300Zm-80-360Z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchored-overlay.d.ts","sourceRoot":"","sources":["../../../src/components/anchored-overlay/anchored-overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAIhE,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"anchored-overlay.d.ts","sourceRoot":"","sources":["../../../src/components/anchored-overlay/anchored-overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAIhE,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAyG1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MenuItem } from './menu-types';
|
|
3
|
+
import { anchorAlign, AnchorPosition } from '../../types/global-types';
|
|
3
4
|
export interface MenuComponentProps {
|
|
4
5
|
readonly items: MenuItem[];
|
|
5
6
|
readonly anchor: React.ReactNode;
|
|
@@ -10,6 +11,8 @@ export interface MenuComponentProps {
|
|
|
10
11
|
readonly initialTitle?: string;
|
|
11
12
|
readonly isClosingOnSelect?: boolean;
|
|
12
13
|
readonly variant?: "stack" | "flyout";
|
|
14
|
+
readonly position?: AnchorPosition;
|
|
15
|
+
readonly align?: anchorAlign;
|
|
13
16
|
}
|
|
14
17
|
export declare const MenuComponent: React.FC<MenuComponentProps>;
|
|
15
18
|
export default MenuComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchored-navigation-menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/anchored-navigation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"anchored-navigation-menu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/anchored-navigation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG7C,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAEvE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IAChD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAC;IACnC,QAAQ,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+GtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,87 +1,11 @@
|
|
|
1
|
+
import { ChatMessage } from '../../providers/ai-assistant/ai-assistant-types';
|
|
1
2
|
export interface ChatProps {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
showTimestamps?: boolean;
|
|
10
|
-
showTypingIndicator?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export type ParticipantType = "user" | "model" | "system";
|
|
13
|
-
export interface Participant {
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
|
-
type: ParticipantType;
|
|
17
|
-
avatarUrl?: string;
|
|
18
|
-
modelInfo?: {
|
|
19
|
-
provider: string;
|
|
20
|
-
model: string;
|
|
21
|
-
version?: string;
|
|
22
|
-
};
|
|
23
|
-
isOnline?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface Reaction {
|
|
26
|
-
emoji: string;
|
|
27
|
-
userIds: string[];
|
|
28
|
-
}
|
|
29
|
-
export interface Attachment {
|
|
30
|
-
id: string;
|
|
31
|
-
type: "image" | "video" | "file" | "link";
|
|
32
|
-
url: string;
|
|
33
|
-
thumbnailUrl?: string;
|
|
34
|
-
fileName?: string;
|
|
35
|
-
fileSize?: number;
|
|
36
|
-
}
|
|
37
|
-
export interface Reply {
|
|
38
|
-
parentId: string;
|
|
39
|
-
parentSnippet?: string;
|
|
40
|
-
}
|
|
41
|
-
export type ContentBlock = {
|
|
42
|
-
type: "text";
|
|
43
|
-
text: string;
|
|
44
|
-
annotations?: Record<string, unknown>;
|
|
45
|
-
_meta?: Record<string, unknown>;
|
|
46
|
-
} | {
|
|
47
|
-
type: "heading";
|
|
48
|
-
level: 1 | 2 | 3;
|
|
49
|
-
text: string;
|
|
50
|
-
_meta?: Record<string, unknown>;
|
|
51
|
-
} | {
|
|
52
|
-
type: "image";
|
|
53
|
-
uri: string;
|
|
54
|
-
alt?: string;
|
|
55
|
-
caption?: string;
|
|
56
|
-
mimeType?: string;
|
|
57
|
-
_meta?: Record<string, unknown>;
|
|
58
|
-
} | {
|
|
59
|
-
type: "link";
|
|
60
|
-
uri: string;
|
|
61
|
-
text: string;
|
|
62
|
-
_meta?: Record<string, unknown>;
|
|
63
|
-
} | {
|
|
64
|
-
type: "code";
|
|
65
|
-
code: string;
|
|
66
|
-
language?: string;
|
|
67
|
-
_meta?: Record<string, unknown>;
|
|
68
|
-
};
|
|
69
|
-
export interface Message {
|
|
70
|
-
id: string;
|
|
71
|
-
author: Participant;
|
|
72
|
-
role?: "user" | "assistant" | "system";
|
|
73
|
-
createdAt: string;
|
|
74
|
-
content: ContentBlock[];
|
|
75
|
-
reactions?: Reaction[];
|
|
76
|
-
attachments?: Attachment[];
|
|
77
|
-
replyTo?: Reply;
|
|
78
|
-
status?: "sending" | "sent" | "delivered" | "read" | "processing";
|
|
79
|
-
_meta?: Record<string, unknown>;
|
|
80
|
-
}
|
|
81
|
-
export interface Conversation {
|
|
82
|
-
id: string;
|
|
83
|
-
title?: string;
|
|
84
|
-
participants: Participant[];
|
|
85
|
-
messages: Message[];
|
|
3
|
+
messages: ChatMessage[];
|
|
4
|
+
isProcessing: boolean;
|
|
5
|
+
emptyStateText?: string;
|
|
6
|
+
inputValue: string;
|
|
7
|
+
onInputChange: (value: string) => void;
|
|
8
|
+
onKeyDown: (e: React.KeyboardEvent) => void;
|
|
9
|
+
onSubmit: (e?: React.FormEvent) => void;
|
|
86
10
|
}
|
|
87
11
|
//# sourceMappingURL=chat-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-types.d.ts","sourceRoot":"","sources":["../../../src/custom-components/chat/chat-types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"chat-types.d.ts","sourceRoot":"","sources":["../../../src/custom-components/chat/chat-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iDAAiD,CAAC;AAE9E,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;CACzC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { ChatProps } from './chat-types';
|
|
3
|
-
declare
|
|
4
|
-
export { Chat };
|
|
5
|
-
export default Chat;
|
|
2
|
+
export declare function Chat({ messages, isProcessing, emptyStateText, inputValue, onInputChange, onKeyDown, onSubmit }: ChatProps): import("react/jsx-runtime").JSX.Element;
|
|
6
3
|
//# sourceMappingURL=chat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../src/custom-components/chat/chat.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../src/custom-components/chat/chat.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAsC,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,SAAS,2CAmDjJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-builder.d.ts","sourceRoot":"","sources":["../../../src/custom-components/layout-builder/layout-builder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAuC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"layout-builder.d.ts","sourceRoot":"","sources":["../../../src/custom-components/layout-builder/layout-builder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAuC,MAAM,wBAAwB,CAAC;AA6CjG,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyxCtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-json-editor.d.ts","sourceRoot":"","sources":["../../../src/custom-components/layout-builder/layout-json-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"layout-json-editor.d.ts","sourceRoot":"","sources":["../../../src/custom-components/layout-builder/layout-json-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAOnE;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA6K5D,CAAC"}
|
|
@@ -17,6 +17,10 @@ export interface CellProps<TData, TValue> {
|
|
|
17
17
|
error?: string;
|
|
18
18
|
/** Whether the cell is disabled */
|
|
19
19
|
disabled?: boolean;
|
|
20
|
+
/** Whether to show the label above the cell (default: true) */
|
|
21
|
+
showLabel?: boolean;
|
|
22
|
+
/** Whether to show the helper/error text below the cell (default: true) */
|
|
23
|
+
showHelperText?: boolean;
|
|
20
24
|
/** Callback when value changes */
|
|
21
25
|
onValueChange?: (newValue: TValue, rowData: TData, column: DataStructureColumn<TData, TValue>) => void;
|
|
22
26
|
/** Callback when editing starts */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/cell/cell-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAC,MAAM,kCAAkC,CAAC;AAEtE,MAAM,WAAW,SAAS,CAAC,KAAK,EAAE,MAAM;IACtC,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IAEd,0CAA0C;IAC1C,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAE3C,wBAAwB;IACxB,OAAO,EAAE,KAAK,CAAC;IAEf,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAC;IAEjB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,kCAAkC;IAClC,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IAEvG,mCAAmC;IACnC,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IAEnF,iCAAiC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;CAClF"}
|
|
1
|
+
{"version":3,"file":"cell-types.d.ts","sourceRoot":"","sources":["../../../src/data-components/cell/cell-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAC,MAAM,kCAAkC,CAAC;AAEtE,MAAM,WAAW,SAAS,CAAC,KAAK,EAAE,MAAM;IACtC,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IAEd,0CAA0C;IAC1C,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAE3C,wBAAwB;IACxB,OAAO,EAAE,KAAK,CAAC;IAEf,gBAAgB;IAChB,QAAQ,EAAE,MAAM,CAAC;IAEjB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,kCAAkC;IAClC,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IAEvG,mCAAmC;IACnC,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IAEnF,iCAAiC;IACjC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;CAClF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-utils.d.ts","sourceRoot":"","sources":["../../../src/data-components/cell/cell-utils.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,UAAU,EAAE,OAAO,GAAG,SAAS,EAAE,cAAc,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAEzG;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,aAAa,GAAG,QAAQ,GAAG,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAElH;
|
|
1
|
+
{"version":3,"file":"cell-utils.d.ts","sourceRoot":"","sources":["../../../src/data-components/cell/cell-utils.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,UAAU,EAAE,OAAO,GAAG,SAAS,EAAE,cAAc,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAEzG;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,aAAa,GAAG,QAAQ,GAAG,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAElH;AAKD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,2CAWlD;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,IAAI,EAAE,QAAQ,EAAE,MAAM,IAAI,IACrE,GAAG,KAAK,CAAC,aAAa,UAS/B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CellProps } from './cell-types';
|
|
2
|
-
export declare const Cell: <TData, TValue>({ value, column, rowData, editMode, isEditable, error, disabled, onValueChange, onEditStart, onEditEnd, }: CellProps<TData, TValue>) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Cell: <TData, TValue>({ value, column, rowData, editMode, isEditable, error, disabled, showLabel, showHelperText, onValueChange, onEditStart, onEditEnd, }: CellProps<TData, TValue>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=cell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/data-components/cell/cell.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,IAAI,GAAI,KAAK,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/data-components/cell/cell.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,IAAI,GAAI,KAAK,EAAE,MAAM,EAAE,sIAajC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,4CAkF1B,CAAC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Shared data types and mock data for data-components stories
|
|
3
|
-
* This file centralizes all interfaces and sample data used across stories
|
|
4
|
-
*/
|
|
1
|
+
import { ColumnDef } from '../..';
|
|
5
2
|
export interface User {
|
|
6
3
|
id: string;
|
|
7
4
|
firstName: string;
|
|
@@ -18,6 +15,7 @@ export interface User {
|
|
|
18
15
|
};
|
|
19
16
|
}
|
|
20
17
|
export declare const userData: User[];
|
|
18
|
+
export declare const basicColumns: ColumnDef<User>[];
|
|
21
19
|
export declare const generateUserData: (count: number) => User[];
|
|
22
20
|
export interface Employee {
|
|
23
21
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stories-assets.d.ts","sourceRoot":"","sources":["../../../src/data-components/data-structure/stories-assets.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"stories-assets.d.ts","sourceRoot":"","sources":["../../../src/data-components/data-structure/stories-assets.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,aAAa,CAAC;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH;AAED,eAAO,MAAM,QAAQ,EAAE,IAAI,EAmD1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,SAAS,CAAC,IAAI,CAAC,EA+BzC,CAAC;AAGF,eAAO,MAAM,gBAAgB,GAAI,OAAO,MAAM,KAAG,IAAI,EAsBpD,CAAC;AAIF,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,YAAY,EAAE,QAAQ,EAOlC,CAAC;AAIF,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,EAAE,cAAc,EAI9C,CAAC;AAIF,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,kBAAkB,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,QAAQ,GAAG,WAAW,GAAG,SAAS,CAAC;IAC3C,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,kBAAkB,GAAG,OAAO,CAAC;AAExE,eAAO,MAAM,gBAAgB,EAAE,UAAU,EA4CxC,CAAC;AAIF,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;CACZ;AAED,eAAO,MAAM,iBAAiB,EAAE,aAAa,EAK5C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type AggregationFn = "sum" | "count" | "avg" | "min" | "max";
|
|
2
|
+
/**
|
|
3
|
+
* Aggregates an array of numeric values with the given function.
|
|
4
|
+
* Returns null when the input array is empty.
|
|
5
|
+
*/
|
|
6
|
+
export declare function aggregate(values: number[], fn: AggregationFn): number | null;
|
|
7
|
+
/** Formats an aggregated value for display (numbers: integers stay clean, floats round to 2 dp; null/undefined → em dash; strings pass through). */
|
|
8
|
+
export declare function formatAggregated(value: number | string | null | undefined): string;
|
|
9
|
+
//# sourceMappingURL=aggregation-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggregation-utils.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/aggregation/aggregation-utils.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAEpE;;;GAGG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAgB5E;AAED,oJAAoJ;AACpJ,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAIlF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-assistant-executor.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/ai-assistant/ai-assistant-executor.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,QAAQ,EACR,eAAe,EAOhB,MAAM,sBAAsB,CAAC;AA0B9B,wBAAgB,eAAe,CAAC,KAAK;yBAcrB,QAAQ,EAAE,KAAG,eAAe,EAAE;EAwG7C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AIProvider, AIResponse, ColumnSchema } from '../../../providers/ai-assistant/ai-assistant-types';
|
|
2
|
+
/**
|
|
3
|
+
* Mock AI provider for Storybook demos. Pattern-matches keywords in user input
|
|
4
|
+
* and returns hardcoded tool calls. Supports both Italian and English keywords.
|
|
5
|
+
*/
|
|
6
|
+
export declare class MockAIProvider implements AIProvider {
|
|
7
|
+
private delay;
|
|
8
|
+
constructor(delay?: number);
|
|
9
|
+
processMessage(input: string, schema: ColumnSchema[]): Promise<AIResponse>;
|
|
10
|
+
private findColumnRef;
|
|
11
|
+
private extractCondition;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=ai-assistant-mock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-assistant-mock.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/ai-assistant/ai-assistant-mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAE1G;;;GAGG;AACH,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,KAAK,CAAS;gBAEV,KAAK,SAAM;IAIjB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC;IAwHhF,OAAO,CAAC,aAAa;IAcrB,OAAO,CAAC,gBAAgB;CA4BzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-assistant-panel-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/ai-assistant/ai-assistant-panel-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAEhF,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,UAAU,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-assistant-panel.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/ai-assistant/ai-assistant-panel.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAInE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,qBAAqB,2CAkB5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-assistant-schema.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/ai-assistant/ai-assistant-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAcpD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,YAAY,EAAE,CA0BnG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-assistant-tools.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/ai-assistant/ai-assistant-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,eAAO,MAAM,eAAe,EAAE,cAAc,EAyE3C,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAE1E"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type { ToolCall, ToolParameterSchema, ToolDefinition, ColumnSchema, AIResponse, AIProvider, ExecutionResult, ChatMessage, } from '../../../providers/ai-assistant/ai-assistant-types';
|
|
2
|
+
export type SelectRowsOperator = "equals" | "not_equals" | "contains" | "greater_than" | "less_than";
|
|
3
|
+
export interface SelectRowsCondition {
|
|
4
|
+
column: string;
|
|
5
|
+
operator: SelectRowsOperator;
|
|
6
|
+
value: unknown;
|
|
7
|
+
}
|
|
8
|
+
export interface SelectRowsArguments {
|
|
9
|
+
conditions: SelectRowsCondition[];
|
|
10
|
+
}
|
|
11
|
+
export interface SortArguments {
|
|
12
|
+
column: string;
|
|
13
|
+
direction: "asc" | "desc";
|
|
14
|
+
}
|
|
15
|
+
export interface ColumnVisibilityArguments {
|
|
16
|
+
column: string;
|
|
17
|
+
visible: boolean;
|
|
18
|
+
}
|
|
19
|
+
export interface ColumnOrderArguments {
|
|
20
|
+
order: string[];
|
|
21
|
+
}
|
|
22
|
+
export interface EditCellsEdit {
|
|
23
|
+
rowIndex: number;
|
|
24
|
+
column: string;
|
|
25
|
+
value: unknown;
|
|
26
|
+
}
|
|
27
|
+
export interface EditCellsArguments {
|
|
28
|
+
edits: EditCellsEdit[];
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=ai-assistant-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-assistant-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/ai-assistant/ai-assistant-types.ts"],"names":[],"mappings":"AACA,YAAY,EACV,QAAQ,EACR,mBAAmB,EACnB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,UAAU,EACV,eAAe,EACf,WAAW,GACZ,MAAM,oDAAoD,CAAC;AAM5D,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,GAAG,cAAc,GAAG,WAAW,CAAC;AAErG,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,mBAAmB,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,KAAK,GAAG,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ToolCall, ColumnSchema } from './ai-assistant-types';
|
|
2
|
+
import { ValidationResult } from '../../../providers/ai-assistant/ai-assistant-validator';
|
|
3
|
+
export type { ValidationResult };
|
|
4
|
+
export declare function validateToolCalls(calls: ToolCall[], schema: ColumnSchema[]): ValidationResult;
|
|
5
|
+
//# sourceMappingURL=ai-assistant-validator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-assistant-validator.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/ai-assistant/ai-assistant-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAG9D,OAAO,EAEL,gBAAgB,EAGjB,MAAM,wDAAwD,CAAC;AAEhE,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAsFjC,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,gBAAgB,CAE7F"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Automatically infer value types from strings.
|
|
3
|
+
* Converts to number, boolean, null, date, or fallback string.
|
|
4
|
+
* Accepts `unknown` to handle ragged CSV rows where a column value may be undefined.
|
|
5
|
+
*/
|
|
6
|
+
export declare function autoDetect(value: unknown): string | number | boolean | Date | null;
|
|
7
|
+
//# sourceMappingURL=autoDetect.d.ts.map
|
package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoDetect.d.ts","sourceRoot":"","sources":["../../../../../../src/data-components/table-grid/external-functionalities/import/csv/autoDetect.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,IAAI,CAoBlF"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Read a CSV/TSV/custom-delimited file and convert it into
|
|
3
3
|
* { data, columns } matching DataStructureComponent<TData> props.
|
|
4
4
|
*/
|
|
5
|
-
export declare function createDataStructureFromFile<TData extends Record<string,
|
|
5
|
+
export declare function createDataStructureFromFile<TData extends Record<string, unknown> = Record<string, unknown>>(file: File): Promise<{
|
|
6
6
|
data: TData[];
|
|
7
|
-
columns: import('
|
|
7
|
+
columns: import('../../../table-grid-types').ColumnDef<TData, TData[keyof TData]>[];
|
|
8
8
|
}>;
|
|
9
9
|
//# sourceMappingURL=createDataStructureFromFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDataStructureFromFile.d.ts","sourceRoot":"","sources":["../../../../../../src/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAsB,2BAA2B,CAC/C,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,IAAI,EAAE,IAAI;;;GAWX"}
|
package/dist/data-components/table-grid/external-functionalities/{csv → import/csv}/csvToObj.d.ts
RENAMED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Convert delimited text into structured objects.
|
|
3
3
|
* First row is treated as the header.
|
|
4
4
|
*/
|
|
5
|
-
export declare function csvToObjects<TData extends Record<string,
|
|
5
|
+
export declare function csvToObjects<TData extends Record<string, unknown> = Record<string, unknown>>(text: string, delimiter: string): TData[];
|
|
6
6
|
//# sourceMappingURL=csvToObj.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"csvToObj.d.ts","sourceRoot":"","sources":["../../../../../../src/data-components/table-grid/external-functionalities/import/csv/csvToObj.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC1F,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,GAChB,KAAK,EAAE,CAcT"}
|
package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detectDelimeter.d.ts","sourceRoot":"","sources":["../../../../../../src/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/data-components/table-grid/external-functionalities/import/csv/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ColumnDef } from '../../../table-grid-types';
|
|
2
|
+
/**
|
|
3
|
+
* Infer ColumnDef<TData> from the first object row for TableGrid.
|
|
4
|
+
*/
|
|
5
|
+
export declare function inferColumns<TData extends Record<string, unknown>>(data: TData[]): ColumnDef<TData>[];
|
|
6
|
+
//# sourceMappingURL=inferColumns.d.ts.map
|
package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inferColumns.d.ts","sourceRoot":"","sources":["../../../../../../src/data-components/table-grid/external-functionalities/import/csv/inferColumns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAItD;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChE,IAAI,EAAE,KAAK,EAAE,GACZ,SAAS,CAAC,KAAK,CAAC,EAAE,CAUpB"}
|
package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseDelimeted.d.ts","sourceRoot":"","sources":["../../../../../../src/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,EAAE,WAAW,MAAM,KAAG,MAAM,EAAE,EAmDxE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-grid-footer-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/footer/table-grid-footer-types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"table-grid-footer-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/footer/table-grid-footer-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,aAAa,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-grid-footer.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/footer/table-grid-footer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-grid-footer.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/footer/table-grid-footer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAKjE,wBAAgB,eAAe,CAAC,KAAK,EAAE,EAAE,aAAa,EAAE,EAAE,oBAAoB,kDAkE7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formula-builder.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/formula/formula-builder.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formula-builder.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/formula/formula-builder.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,wBAAgB,cAAc,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,EAAE,mBAAmB,CAAC,KAAK,CAAC,2CAyEjH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/formula/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAa,OAAO,EAAoF,MAAM,SAAS,CAAC;AAEtI,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAU;IACxB,OAAO,CAAC,OAAO,CAAa;gBAEhB,MAAM,EAAE,KAAK,EAAE;IAI3B,KAAK,IAAI,OAAO;
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/formula/parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAa,OAAO,EAAoF,MAAM,SAAS,CAAC;AAEtI,qBAAa,MAAM;IACjB,OAAO,CAAC,MAAM,CAAU;IACxB,OAAO,CAAC,OAAO,CAAa;gBAEhB,MAAM,EAAE,KAAK,EAAE;IAI3B,KAAK,IAAI,OAAO;IAQhB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,SAAS;IAiBjB,OAAO,CAAC,UAAU;IAiBlB,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,UAAU;IAkBlB,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,cAAc;IAiBtB,OAAO,CAAC,KAAK;IAcb,OAAO,CAAC,OAAO;IAiCf,OAAO,CAAC,KAAK;IAQb,OAAO,CAAC,KAAK;IAQb,OAAO,CAAC,OAAO;IAKf,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,IAAI;IAIZ,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,OAAO;CAIhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-panel.d.ts","sourceRoot":"","sources":["../../../../../src/data-components/table-grid/header/grouping/group-panel.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"group-panel.d.ts","sourceRoot":"","sources":["../../../../../src/data-components/table-grid/header/grouping/group-panel.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,wBAAgB,UAAU,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,eAAe,CAAC,KAAK,CAAC,2CAoIhG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ColumnHeaderMenuProps {
|
|
3
|
+
readonly columnId: string;
|
|
4
|
+
readonly isOpen: boolean;
|
|
5
|
+
readonly onClose: () => void;
|
|
6
|
+
readonly anchor: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare function ColumnHeaderMenu<TData>({ columnId, isOpen, onClose, anchor }: ColumnHeaderMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=table-grid-column-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-grid-column-menu.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/header/table-grid-column-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,IAAI,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,qBAAqB,2CA8FnG"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
+
import { ColumnOffsets } from '../table-grid-types';
|
|
1
2
|
export interface TableGridHeaderProps {
|
|
2
|
-
columnOffsets:
|
|
3
|
-
left?: number;
|
|
4
|
-
right?: number;
|
|
5
|
-
}>;
|
|
3
|
+
columnOffsets: ColumnOffsets;
|
|
6
4
|
onGroupingChange?: (grouping: string[]) => void;
|
|
7
5
|
}
|
|
8
6
|
//# sourceMappingURL=table-grid-header-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-grid-header-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/header/table-grid-header-types.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"table-grid-header-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/header/table-grid-header-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,aAAa,CAAC;IAC7B,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-grid-header.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/header/table-grid-header.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"table-grid-header.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/header/table-grid-header.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AASjE,wBAAgB,eAAe,CAAC,KAAK,EAAE,EAAE,aAAa,EAAE,gBAAgB,EAAE,EAAE,oBAAoB,2CAkL/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-table.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/hooks/use-table.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"use-table.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/hooks/use-table.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAexD,wBAAgB,QAAQ,CAAC,KAAK,KAAK,iBAAiB,CAAC,KAAK,CAAC,CAE1D"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ColumnDef, ColumnOffsets } from '../table-grid-types';
|
|
2
|
+
/** Width reserved for the selection checkbox column — must match the CSS value. */
|
|
3
|
+
export declare const SELECTION_COLUMN_WIDTH = 40;
|
|
4
|
+
/**
|
|
5
|
+
* Sorts columns into [left-pinned…, center…, right-pinned…] order.
|
|
6
|
+
* This is required so that:
|
|
7
|
+
* - `position: sticky; left` works on elements physically at the left of the table.
|
|
8
|
+
* - `position: sticky; right` works on elements physically at the right of the table.
|
|
9
|
+
*/
|
|
10
|
+
export declare function sortColumnsByPin<TData>(columns: ColumnDef<TData>[], columnPinning: Record<string, "left" | "right" | false>): ColumnDef<TData>[];
|
|
11
|
+
/**
|
|
12
|
+
* Computes left/right sticky pixel offsets for all pinned columns.
|
|
13
|
+
* Must receive columns already sorted by `sortColumnsByPin`.
|
|
14
|
+
* Accounts for the optional selection checkbox column that precedes all data columns.
|
|
15
|
+
*/
|
|
16
|
+
export declare function computeColumnOffsets<TData>(columns: ColumnDef<TData>[], columnPinning: Record<string, "left" | "right" | false>, enableSelection: boolean): ColumnOffsets;
|
|
17
|
+
/** Returns true if any column in the offsets map is left-pinned. */
|
|
18
|
+
export declare function hasLeftPinnedColumns(offsets: ColumnOffsets): boolean;
|
|
19
|
+
/** Returns true if any column in the offsets map is right-pinned. */
|
|
20
|
+
export declare function hasRightPinnedColumns(offsets: ColumnOffsets): boolean;
|
|
21
|
+
//# sourceMappingURL=pinning-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pinning-utils.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/pinning/pinning-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAG/D,mFAAmF;AACnF,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAYzC;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EACpC,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,EAC3B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,GACtD,SAAS,CAAC,KAAK,CAAC,EAAE,CAiBpB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EACxC,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,EAC3B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,EACvD,eAAe,EAAE,OAAO,GACvB,aAAa,CAwBf;AAED,oEAAoE;AACpE,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAEpE;AAED,qEAAqE;AACrE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAErE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ColumnDef } from '../table-grid-types';
|
|
2
|
+
import { PivotConfig, PivotAggregation } from './pivot-types';
|
|
3
|
+
export interface PivotConfigPanelProps<TData> {
|
|
4
|
+
/** All available columns from the original table */
|
|
5
|
+
columns: ColumnDef<TData>[];
|
|
6
|
+
/** Current pivot configuration */
|
|
7
|
+
config: PivotConfig;
|
|
8
|
+
/** Called whenever the configuration changes */
|
|
9
|
+
onConfigChange: (config: PivotConfig) => void;
|
|
10
|
+
}
|
|
11
|
+
export type PivotZone = "rows" | "columns" | "values" | "available";
|
|
12
|
+
export interface DragPayload {
|
|
13
|
+
fieldId: string;
|
|
14
|
+
fromZone: PivotZone;
|
|
15
|
+
valueAggregation?: PivotAggregation;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=pivot-config-panel-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot-config-panel-types.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/pivot/pivot-config-panel-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE9D,MAAM,WAAW,qBAAqB,CAAC,KAAK;IAC1C,oDAAoD;IACpD,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;IAC5B,kCAAkC;IAClC,MAAM,EAAE,WAAW,CAAC;IACpB,gDAAgD;IAChD,cAAc,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAC/C;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEpE,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PivotConfigPanelProps } from './pivot-config-panel-types';
|
|
2
|
+
export declare function PivotConfigPanel<TData>({ columns, config, onConfigChange }: PivotConfigPanelProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=pivot-config-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pivot-config-panel.d.ts","sourceRoot":"","sources":["../../../../src/data-components/table-grid/pivot/pivot-config-panel.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAA0B,MAAM,4BAA4B,CAAC;AAO3F,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,qBAAqB,CAAC,KAAK,CAAC,2CA6IxG"}
|