tsgrid-ui 2.7.1 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +173 -0
- package/dist/base.d.ts +148 -0
- package/dist/base.es6.js +11 -0
- package/dist/base.es6.js.map +1 -0
- package/dist/chunks/chunk-26XP2XU3.js +1795 -0
- package/dist/chunks/chunk-26XP2XU3.js.map +1 -0
- package/dist/chunks/chunk-3NYH6545.js +2423 -0
- package/dist/chunks/chunk-3NYH6545.js.map +1 -0
- package/dist/chunks/chunk-BIB3X2TW.js +1638 -0
- package/dist/chunks/chunk-BIB3X2TW.js.map +1 -0
- package/dist/chunks/chunk-DXZJHS4M.js +1283 -0
- package/dist/chunks/chunk-DXZJHS4M.js.map +1 -0
- package/dist/chunks/chunk-EVZMMVXO.js +1212 -0
- package/dist/chunks/chunk-EVZMMVXO.js.map +1 -0
- package/dist/chunks/chunk-GJD5NFWQ.js +2305 -0
- package/dist/chunks/chunk-GJD5NFWQ.js.map +1 -0
- package/dist/chunks/chunk-IYF3Q7GX.js +127 -0
- package/dist/chunks/chunk-IYF3Q7GX.js.map +1 -0
- package/dist/chunks/chunk-OFASTA2A.js +2980 -0
- package/dist/chunks/chunk-OFASTA2A.js.map +1 -0
- package/dist/chunks/chunk-OMLGN735.js +677 -0
- package/dist/chunks/chunk-OMLGN735.js.map +1 -0
- package/dist/chunks/chunk-WKSLGUB3.js +1127 -0
- package/dist/chunks/chunk-WKSLGUB3.js.map +1 -0
- package/dist/chunks/chunk-YBY52G2U.js +849 -0
- package/dist/chunks/chunk-YBY52G2U.js.map +1 -0
- package/dist/field.d.ts +329 -0
- package/dist/field.es6.js +11 -0
- package/dist/field.es6.js.map +1 -0
- package/dist/form.d.ts +162 -0
- package/dist/form.es6.js +14 -0
- package/dist/form.es6.js.map +1 -0
- package/dist/layout.d.ts +108 -0
- package/dist/layout.es6.js +13 -0
- package/dist/layout.es6.js.map +1 -0
- package/dist/locale.d.ts +30 -0
- package/dist/locale.es6.js +7 -0
- package/dist/locale.es6.js.map +1 -0
- package/dist/metafile-esm.json +1 -0
- package/dist/popup.d.ts +92 -0
- package/dist/popup.es6.js +18 -0
- package/dist/popup.es6.js.map +1 -0
- package/dist/query-CKGg5Ugv.d.ts +81 -0
- package/dist/sidebar.d.ts +138 -0
- package/dist/sidebar.es6.js +11 -0
- package/dist/sidebar.es6.js.map +1 -0
- package/dist/tabs.d.ts +63 -0
- package/dist/tabs.es6.js +11 -0
- package/dist/tabs.es6.js.map +1 -0
- package/dist/toolbar.d.ts +97 -0
- package/dist/toolbar.es6.js +11 -0
- package/dist/toolbar.es6.js.map +1 -0
- package/dist/tooltip.d.ts +322 -0
- package/dist/tooltip.es6.js +18 -0
- package/dist/tooltip.es6.js.map +1 -0
- package/dist/tsgrid-ui.css +2 -2
- package/dist/tsgrid-ui.d.ts +16 -2004
- package/dist/tsgrid-ui.es6.js +7750 -23830
- package/dist/tsgrid-ui.es6.js.map +1 -1
- package/dist/tsgrid-ui.es6.min.js +28 -28
- package/dist/tsgrid-ui.js +96 -17
- package/dist/tsgrid-ui.min.css +2 -2
- package/dist/tsgrid-ui.min.js +24 -24
- package/dist/tsutils-message-CogFtVtO.d.ts +82 -0
- package/dist/utils.d.ts +418 -0
- package/dist/utils.es6.js +14 -0
- package/dist/utils.es6.js.map +1 -0
- package/package.json +26 -5
package/dist/form.d.ts
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { TsBase, TsEventPayload } from './base.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Part of TsUi 2.0 library
|
|
5
|
+
* - Dependencies: mQuery, TsUtils, TsBase, TsTabs, TsToolbar, TsTooltip, TsField
|
|
6
|
+
*
|
|
7
|
+
* T4.2: Ported to TypeScript with aggressive typing per typing_policy.
|
|
8
|
+
* No @ts-nocheck. Targeted `any` sites documented with // any: comments.
|
|
9
|
+
* Bug fix: line 1317 (original) `?? response.statusText` was unreachable
|
|
10
|
+
* because string concat always produces non-null; fixed to `|| response.statusText`.
|
|
11
|
+
*
|
|
12
|
+
* == TODO ==
|
|
13
|
+
* - include delta on save
|
|
14
|
+
* - tabs below some fields (could already be implemented)
|
|
15
|
+
* - form with toolbar & tabs
|
|
16
|
+
* - promise for load, save, etc.
|
|
17
|
+
*
|
|
18
|
+
* == 2.0 changes
|
|
19
|
+
* - CSP - fixed inline events
|
|
20
|
+
* - removed jQuery dependency
|
|
21
|
+
* - better groups support tabs now
|
|
22
|
+
* - form.confirm - refactored
|
|
23
|
+
* - form.message - refactored
|
|
24
|
+
* - observeResize for the box
|
|
25
|
+
* - removed msgNotJSON, msgAJAXerror
|
|
26
|
+
* - applyFocus -> setFocus
|
|
27
|
+
* - getFieldValue(fieldName) = returns { curent, previous, original }
|
|
28
|
+
* - setFieldVallue(fieldName, value)
|
|
29
|
+
* - getValue(..., original) -- return original if any
|
|
30
|
+
* - added .hideErrors()
|
|
31
|
+
* - reuqest, save, submit - return promises
|
|
32
|
+
* - this.recid = null if no record needs to be pulled
|
|
33
|
+
* - remove form.multiplart
|
|
34
|
+
* - this.method - for saving only
|
|
35
|
+
* - added field.html.class
|
|
36
|
+
* - setValue(..., noRefresh)
|
|
37
|
+
* - rememberOriginal()
|
|
38
|
+
* - saveCleanRecord
|
|
39
|
+
* - added options.itemMap = { id: 'id', text: 'text' } - to map id, text fields if needed
|
|
40
|
+
* - hideGroup/showGroup - new methods
|
|
41
|
+
* - getAction/actionHide/actionShow/actionDisable/actionEnable - new methods
|
|
42
|
+
*/
|
|
43
|
+
|
|
44
|
+
declare class TsForm extends TsBase {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
name: string;
|
|
47
|
+
header: string;
|
|
48
|
+
box: HTMLElement | null;
|
|
49
|
+
url: string | {
|
|
50
|
+
get?: string;
|
|
51
|
+
save?: string;
|
|
52
|
+
};
|
|
53
|
+
method: string | null;
|
|
54
|
+
routeData: Record<string, any>;
|
|
55
|
+
formURL: string;
|
|
56
|
+
formHTML: string;
|
|
57
|
+
page: number;
|
|
58
|
+
pageStyle: string;
|
|
59
|
+
recid: any;
|
|
60
|
+
fields: any[];
|
|
61
|
+
actions: Record<string, any>;
|
|
62
|
+
record: Record<string, any>;
|
|
63
|
+
original: Record<string, any> | null;
|
|
64
|
+
dataType: string | null;
|
|
65
|
+
saveCleanRecord: boolean;
|
|
66
|
+
postData: Record<string, any>;
|
|
67
|
+
httpHeaders: Record<string, string>;
|
|
68
|
+
toolbar: any;
|
|
69
|
+
tabs: any;
|
|
70
|
+
style: string;
|
|
71
|
+
focus: number | string;
|
|
72
|
+
autosize: boolean;
|
|
73
|
+
nestedFields: boolean;
|
|
74
|
+
tabindexBase: number;
|
|
75
|
+
isGenerated: boolean;
|
|
76
|
+
last: {
|
|
77
|
+
fetchCtrl: AbortController | null;
|
|
78
|
+
fetchOptions: RequestInit | null;
|
|
79
|
+
errors: any[];
|
|
80
|
+
errorsShown?: boolean;
|
|
81
|
+
observeResize?: ResizeObserver;
|
|
82
|
+
};
|
|
83
|
+
onRequest: ((event: TsEventPayload) => void) | null;
|
|
84
|
+
onLoad: ((event: TsEventPayload) => void) | null;
|
|
85
|
+
onValidate: ((event: TsEventPayload) => void) | null;
|
|
86
|
+
onSubmit: ((event: TsEventPayload) => void) | null;
|
|
87
|
+
onProgress: ((event: TsEventPayload) => void) | null;
|
|
88
|
+
onSave: ((event: TsEventPayload) => void) | null;
|
|
89
|
+
onChange: ((event: TsEventPayload) => void) | null;
|
|
90
|
+
onInput: ((event: TsEventPayload) => void) | null;
|
|
91
|
+
onRender: ((event: TsEventPayload) => void) | null;
|
|
92
|
+
onRefresh: ((event: TsEventPayload) => void) | null;
|
|
93
|
+
onResize: ((event: TsEventPayload) => void) | null;
|
|
94
|
+
onDestroy: ((event: TsEventPayload) => void) | null;
|
|
95
|
+
onAction: ((event: TsEventPayload) => void) | null;
|
|
96
|
+
onToolbar: ((event: TsEventPayload) => void) | null;
|
|
97
|
+
onError: ((event: TsEventPayload) => void) | null;
|
|
98
|
+
msgRefresh: string;
|
|
99
|
+
msgSaving: string;
|
|
100
|
+
msgServerError: string;
|
|
101
|
+
ALL_TYPES: string[];
|
|
102
|
+
LIST_TYPES: string[];
|
|
103
|
+
TsFIELD_TYPES: string[];
|
|
104
|
+
constructor(options: Record<string, any>);
|
|
105
|
+
get(field?: string, returnIndex?: boolean): any;
|
|
106
|
+
set(field: string, obj: Record<string, any>): boolean;
|
|
107
|
+
getValue(field: string, original?: boolean): any;
|
|
108
|
+
setValue(field: string, value: any, noRefresh?: boolean): boolean;
|
|
109
|
+
rememberOriginal(): void;
|
|
110
|
+
getFieldValue(name: string): {
|
|
111
|
+
current: any;
|
|
112
|
+
previous: any;
|
|
113
|
+
original: any;
|
|
114
|
+
} | undefined;
|
|
115
|
+
findItem(item: any, items: any[]): any;
|
|
116
|
+
setFieldValue(name: string, value: any): void;
|
|
117
|
+
show(...args: string[]): string[];
|
|
118
|
+
hide(...args: string[]): string[];
|
|
119
|
+
enable(...args: string[]): string[];
|
|
120
|
+
disable(...args: string[]): string[];
|
|
121
|
+
updateEmptyGroups(): void;
|
|
122
|
+
hideGroup(groupName: string): void;
|
|
123
|
+
showGroup(groupName: string): void;
|
|
124
|
+
/**
|
|
125
|
+
* When user clicks on group title, it will toggle the group (collapse or expand it).
|
|
126
|
+
*/
|
|
127
|
+
toggleGroup(groupName: string, show?: boolean): void;
|
|
128
|
+
change(...args: string[]): void;
|
|
129
|
+
reload(callBack?: (() => void)): Promise<any>;
|
|
130
|
+
clear(...args: any[]): void;
|
|
131
|
+
error(msg: string): void;
|
|
132
|
+
message(options: any): any;
|
|
133
|
+
confirm(options: any): any;
|
|
134
|
+
validate(showErrors?: boolean): any[] | undefined;
|
|
135
|
+
showErrors(): void;
|
|
136
|
+
hideErrors(): void;
|
|
137
|
+
getChanges(): Record<string, any> | null;
|
|
138
|
+
getCleanRecord(strict?: boolean): Record<string, any>;
|
|
139
|
+
request(postData?: any, callBack?: (data: any) => void): Promise<any> | void;
|
|
140
|
+
submit(postData?: any, callBack?: (data: any) => void): Promise<any> | void;
|
|
141
|
+
save(postData?: any, callBack?: (data: any) => void): Promise<any> | void;
|
|
142
|
+
lock(msg: string, showSpinner?: boolean): void;
|
|
143
|
+
unlock(speed?: number): void;
|
|
144
|
+
lockPage(page: number, msg?: string, spinner?: boolean): boolean;
|
|
145
|
+
unlockPage(page: number, speed?: number): boolean;
|
|
146
|
+
goto(page: number): void;
|
|
147
|
+
generateHTML(): string | false;
|
|
148
|
+
action(action: string, event: Event): void;
|
|
149
|
+
getAction(action: string): any;
|
|
150
|
+
actionHide(action: string): void;
|
|
151
|
+
actionShow(action: string): void;
|
|
152
|
+
actionDisable(action: string): void;
|
|
153
|
+
actionEnable(action: string): void;
|
|
154
|
+
resize(): void;
|
|
155
|
+
refresh(...args: any[]): number;
|
|
156
|
+
render(box?: HTMLElement | string): number | void;
|
|
157
|
+
unmount(): void;
|
|
158
|
+
destroy(): void;
|
|
159
|
+
setFocus(focus?: number | string): any;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export { TsForm };
|
package/dist/form.es6.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TsForm
|
|
3
|
+
} from "./chunks/chunk-GJD5NFWQ.js";
|
|
4
|
+
import "./chunks/chunk-26XP2XU3.js";
|
|
5
|
+
import "./chunks/chunk-OMLGN735.js";
|
|
6
|
+
import "./chunks/chunk-EVZMMVXO.js";
|
|
7
|
+
import "./chunks/chunk-OFASTA2A.js";
|
|
8
|
+
import "./chunks/chunk-3NYH6545.js";
|
|
9
|
+
import "./chunks/chunk-IYF3Q7GX.js";
|
|
10
|
+
import "./chunks/chunk-DXZJHS4M.js";
|
|
11
|
+
export {
|
|
12
|
+
TsForm
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=form.es6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/layout.d.ts
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { T as TsMessageProm } from './tsutils-message-CogFtVtO.js';
|
|
2
|
+
import { TsBase } from './base.js';
|
|
3
|
+
import { TsTabs } from './tabs.js';
|
|
4
|
+
import { TsToolbar } from './toolbar.js';
|
|
5
|
+
import './query-CKGg5Ugv.js';
|
|
6
|
+
|
|
7
|
+
/** Valid panel type names in a layout */
|
|
8
|
+
type TsPanelType = 'top' | 'left' | 'main' | 'preview' | 'right' | 'bottom';
|
|
9
|
+
/** Content that can be placed in a layout panel */
|
|
10
|
+
type TsPanelContent = string | {
|
|
11
|
+
render: (box?: HTMLElement) => void;
|
|
12
|
+
unmount?: () => void;
|
|
13
|
+
box?: HTMLElement | null;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
/** Individual panel configuration and runtime state */
|
|
17
|
+
interface TsLayoutPanel {
|
|
18
|
+
type: TsPanelType | null;
|
|
19
|
+
title: string;
|
|
20
|
+
size: number | string;
|
|
21
|
+
minSize: number;
|
|
22
|
+
maxSize: number | boolean;
|
|
23
|
+
hidden: boolean;
|
|
24
|
+
resizable: boolean;
|
|
25
|
+
overflow: string;
|
|
26
|
+
style: string;
|
|
27
|
+
html: TsPanelContent;
|
|
28
|
+
tabs: TsTabs | Record<string, unknown> | null;
|
|
29
|
+
toolbar: TsToolbar | Record<string, unknown> | null;
|
|
30
|
+
/** Runtime-computed width (read-only after resize) */
|
|
31
|
+
width: number | null;
|
|
32
|
+
/** Runtime-computed height (read-only after resize) */
|
|
33
|
+
height: number | null;
|
|
34
|
+
/** Runtime-computed size in pixels */
|
|
35
|
+
sizeCalculated?: number;
|
|
36
|
+
show: {
|
|
37
|
+
toolbar: boolean;
|
|
38
|
+
tabs: boolean;
|
|
39
|
+
};
|
|
40
|
+
removed: ((info: {
|
|
41
|
+
panel: string;
|
|
42
|
+
html: TsPanelContent;
|
|
43
|
+
html_new: TsPanelContent;
|
|
44
|
+
transition: string;
|
|
45
|
+
}) => void) | null;
|
|
46
|
+
onRefresh: ((event: unknown) => void) | null;
|
|
47
|
+
onShow: ((event: unknown) => void) | null;
|
|
48
|
+
onHide: ((event: unknown) => void) | null;
|
|
49
|
+
}
|
|
50
|
+
/** Options for the html() method return promise-like */
|
|
51
|
+
interface TsHtmlResult {
|
|
52
|
+
panel: string;
|
|
53
|
+
html: TsPanelContent;
|
|
54
|
+
error: boolean;
|
|
55
|
+
cancelled: boolean;
|
|
56
|
+
status?: boolean;
|
|
57
|
+
removed: (cb: () => void) => void;
|
|
58
|
+
}
|
|
59
|
+
declare class TsLayout extends TsBase {
|
|
60
|
+
box: HTMLElement | null;
|
|
61
|
+
name: string;
|
|
62
|
+
panels: TsLayoutPanel[];
|
|
63
|
+
last: Record<string, any>;
|
|
64
|
+
padding: number;
|
|
65
|
+
resizer: number;
|
|
66
|
+
style: string;
|
|
67
|
+
onShow: ((event: unknown) => void) | null;
|
|
68
|
+
onHide: ((event: unknown) => void) | null;
|
|
69
|
+
onResizing: ((event: unknown) => void) | null;
|
|
70
|
+
onResizerClick: ((event: unknown) => void) | null;
|
|
71
|
+
onRender: ((event: unknown) => void) | null;
|
|
72
|
+
onRefresh: ((event: unknown) => void) | null;
|
|
73
|
+
onChange: ((event: unknown) => void) | null;
|
|
74
|
+
onResize: ((event: unknown) => void) | null;
|
|
75
|
+
onDestroy: ((event: unknown) => void) | null;
|
|
76
|
+
panel_template: TsLayoutPanel;
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
constructor(options: any);
|
|
79
|
+
html(panel: string, data: TsPanelContent, transition?: string): TsHtmlResult;
|
|
80
|
+
message(panel: string, options: unknown): TsMessageProm | undefined;
|
|
81
|
+
confirm(panel: string, options: unknown): TsMessageProm | undefined;
|
|
82
|
+
load(panel: string, url: string, transition?: string): Promise<void | TsHtmlResult>;
|
|
83
|
+
sizeTo(panel: string, size: number | string, instant?: boolean): boolean;
|
|
84
|
+
show(panel: string, immediate?: boolean): boolean | undefined;
|
|
85
|
+
hide(panel: string, immediate?: boolean): boolean | undefined;
|
|
86
|
+
toggle(panel: string, immediate?: boolean): boolean | undefined;
|
|
87
|
+
set(panel: string, options: Partial<TsLayoutPanel>): boolean;
|
|
88
|
+
get(panel: string, returnIndex?: boolean): any;
|
|
89
|
+
el(panel: string): HTMLElement | null;
|
|
90
|
+
hideToolbar(panel: string): void;
|
|
91
|
+
showToolbar(panel: string): void;
|
|
92
|
+
toggleToolbar(panel: string): void;
|
|
93
|
+
assignToolbar(panel: string, toolbar: TsToolbar | string | null): void;
|
|
94
|
+
hideTabs(panel: string): void;
|
|
95
|
+
showTabs(panel: string): void;
|
|
96
|
+
toggleTabs(panel: string): void;
|
|
97
|
+
assignTabs(panel: string, tabs: TsTabs | string | null): void;
|
|
98
|
+
render(box?: HTMLElement | string): number | false | undefined;
|
|
99
|
+
unmount(): void;
|
|
100
|
+
destroy(): boolean | undefined;
|
|
101
|
+
refresh(panel?: string): number | undefined;
|
|
102
|
+
resize(): number | false | undefined;
|
|
103
|
+
resizeBoxes(panel?: string): void;
|
|
104
|
+
lock(panel: string, msg: unknown, showSpinner?: boolean): void;
|
|
105
|
+
unlock(panel: string, speed?: number): void;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export { TsLayout, type TsLayoutPanel, type TsPanelContent, type TsPanelType };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TsLayout
|
|
3
|
+
} from "./chunks/chunk-WKSLGUB3.js";
|
|
4
|
+
import "./chunks/chunk-OMLGN735.js";
|
|
5
|
+
import "./chunks/chunk-EVZMMVXO.js";
|
|
6
|
+
import "./chunks/chunk-OFASTA2A.js";
|
|
7
|
+
import "./chunks/chunk-3NYH6545.js";
|
|
8
|
+
import "./chunks/chunk-IYF3Q7GX.js";
|
|
9
|
+
import "./chunks/chunk-DXZJHS4M.js";
|
|
10
|
+
export {
|
|
11
|
+
TsLayout
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=layout.es6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/locale.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Part of TsUi 2.0 library
|
|
3
|
+
* - Dependencies: none
|
|
4
|
+
*
|
|
5
|
+
* These are the master locale settings that will be used by TsUtils
|
|
6
|
+
*
|
|
7
|
+
* "locale" should be the IETF language tag in the form xx-YY,
|
|
8
|
+
* where xx is the ISO 639-1 language code ( see https://en.wikipedia.org/wiki/ISO_639-1 ) and
|
|
9
|
+
* YY is the ISO 3166-1 alpha-2 country code ( see https://en.wikipedia.org/wiki/ISO_3166-2 )
|
|
10
|
+
*/
|
|
11
|
+
interface TsLocaleSettings {
|
|
12
|
+
locale: string;
|
|
13
|
+
dateFormat: string;
|
|
14
|
+
timeFormat: string;
|
|
15
|
+
datetimeFormat: string;
|
|
16
|
+
currencyPrefix: string;
|
|
17
|
+
currencySuffix: string;
|
|
18
|
+
currencyPrecision: number;
|
|
19
|
+
groupSymbol: string;
|
|
20
|
+
decimalSymbol: string;
|
|
21
|
+
shortmonths: string[];
|
|
22
|
+
fullmonths: string[];
|
|
23
|
+
shortdays: string[];
|
|
24
|
+
fulldays: string[];
|
|
25
|
+
weekStarts: string;
|
|
26
|
+
phrases: Record<string, string> | null;
|
|
27
|
+
}
|
|
28
|
+
declare const TsLocale: TsLocaleSettings;
|
|
29
|
+
|
|
30
|
+
export { TsLocale, type TsLocaleSettings };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/tslocale.ts":{"bytes":5141,"imports":[],"format":"esm"},"src/query.ts":{"bytes":26345,"imports":[],"format":"esm"},"src/tsutils-type-guards.ts":{"bytes":2733,"imports":[],"format":"esm"},"src/tsutils-color.ts":{"bytes":6328,"imports":[],"format":"esm"},"src/tsutils-data.ts":{"bytes":16861,"imports":[{"path":"src/tsutils-type-guards.ts","kind":"import-statement","original":"./tsutils-type-guards.js"}],"format":"esm"},"src/tsutils-string.ts":{"bytes":6624,"imports":[{"path":"src/tsutils-data.ts","kind":"import-statement","original":"./tsutils-data.js"}],"format":"esm"},"src/tsutils-marker.ts":{"bytes":10440,"imports":[{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/tsutils-registry.ts":{"bytes":1656,"imports":[{"path":"src/tsutils-type-guards.ts","kind":"import-statement","original":"./tsutils-type-guards.js"}],"format":"esm"},"src/tsutils-notify.ts":{"bytes":5473,"imports":[{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/tsbase.ts":{"bytes":18849,"imports":[{"path":"src/tsutils-data.ts","kind":"import-statement","original":"./tsutils-data.js"},{"path":"src/tsutils-type-guards.ts","kind":"import-statement","original":"./tsutils-type-guards.js"},{"path":"src/tsutils-registry.ts","kind":"import-statement","original":"./tsutils-registry.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/tsutils-message.ts":{"bytes":36500,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/tsutils-dom.ts":{"bytes":22459,"imports":[{"path":"src/tsutils-string.ts","kind":"import-statement","original":"./tsutils-string.js"},{"path":"src/tsutils-type-guards.ts","kind":"import-statement","original":"./tsutils-type-guards.js"},{"path":"src/tsutils-data.ts","kind":"import-statement","original":"./tsutils-data.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/tsutils-datetime.ts":{"bytes":21617,"imports":[{"path":"src/tsutils-type-guards.ts","kind":"import-statement","original":"./tsutils-type-guards.js"}],"format":"esm"},"src/tsutils-locale.ts":{"bytes":7631,"imports":[{"path":"src/tslocale.ts","kind":"import-statement","original":"./tslocale.js"}],"format":"esm"},"src/tsutils.ts":{"bytes":39541,"imports":[{"path":"src/tslocale.ts","kind":"import-statement","original":"./tslocale.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tsutils-type-guards.ts","kind":"import-statement","original":"./tsutils-type-guards.js"},{"path":"src/tsutils-color.ts","kind":"import-statement","original":"./tsutils-color.js"},{"path":"src/tsutils-data.ts","kind":"import-statement","original":"./tsutils-data.js"},{"path":"src/tsutils-string.ts","kind":"import-statement","original":"./tsutils-string.js"},{"path":"src/tsutils-marker.ts","kind":"import-statement","original":"./tsutils-marker.js"},{"path":"src/tsutils-registry.ts","kind":"import-statement","original":"./tsutils-registry.js"},{"path":"src/tsutils-notify.ts","kind":"import-statement","original":"./tsutils-notify.js"},{"path":"src/tsutils-message.ts","kind":"import-statement","original":"./tsutils-message.js"},{"path":"src/tsutils-dom.ts","kind":"import-statement","original":"./tsutils-dom.js"},{"path":"src/tsutils-datetime.ts","kind":"import-statement","original":"./tsutils-datetime.js"},{"path":"src/tsutils-locale.ts","kind":"import-statement","original":"./tsutils-locale.js"}],"format":"esm"},"src/tspopup.ts":{"bytes":46090,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/tstooltip.ts":{"bytes":178240,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/tstoolbar.ts":{"bytes":66279,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"}],"format":"esm"},"src/tssidebar.ts":{"bytes":90759,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"}],"format":"esm"},"src/tstabs.ts":{"bytes":32678,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"}],"format":"esm"},"src/tslayout.ts":{"bytes":62776,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tstabs.ts","kind":"import-statement","original":"./tstabs.js"},{"path":"src/tstoolbar.ts","kind":"import-statement","original":"./tstoolbar.js"}],"format":"esm"},"src/grid-columns.ts":{"bytes":4867,"imports":[{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"}],"format":"esm"},"src/grid-state.ts":{"bytes":17691,"imports":[{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/grid-data.ts":{"bytes":61145,"imports":[{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/grid-selection.ts":{"bytes":23356,"imports":[{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/tsfield.ts":{"bytes":118688,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"}],"format":"esm"},"src/grid-edit.ts":{"bytes":21766,"imports":[{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tsfield.ts","kind":"import-statement","original":"./tsfield.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"}],"format":"esm"},"src/grid-search.ts":{"bytes":56550,"imports":[{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"},{"path":"src/tsfield.ts","kind":"import-statement","original":"./tsfield.js"}],"format":"esm"},"src/grid-interaction.ts":{"bytes":58430,"imports":[{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"}],"format":"esm"},"src/grid-render.ts":{"bytes":139325,"imports":[{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tstoolbar.ts","kind":"import-statement","original":"./tstoolbar.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"}],"format":"esm"},"src/tsgrid.ts":{"bytes":116885,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/grid-columns.ts","kind":"import-statement","original":"./grid-columns.js"},{"path":"src/grid-state.ts","kind":"import-statement","original":"./grid-state.js"},{"path":"src/grid-data.ts","kind":"import-statement","original":"./grid-data.js"},{"path":"src/grid-selection.ts","kind":"import-statement","original":"./grid-selection.js"},{"path":"src/grid-edit.ts","kind":"import-statement","original":"./grid-edit.js"},{"path":"src/grid-search.ts","kind":"import-statement","original":"./grid-search.js"},{"path":"src/grid-interaction.ts","kind":"import-statement","original":"./grid-interaction.js"},{"path":"src/grid-render.ts","kind":"import-statement","original":"./grid-render.js"}],"format":"esm"},"src/tsform.ts":{"bytes":136689,"imports":[{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/query.ts","kind":"import-statement","original":"./query.js"},{"path":"src/tstabs.ts","kind":"import-statement","original":"./tstabs.js"},{"path":"src/tstoolbar.ts","kind":"import-statement","original":"./tstoolbar.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"},{"path":"src/tsfield.ts","kind":"import-statement","original":"./tsfield.js"}],"format":"esm"},"src/index.ts":{"bytes":2046,"imports":[{"path":"src/tsutils.ts","kind":"import-statement","original":"./tsutils.js"},{"path":"src/tslocale.ts","kind":"import-statement","original":"./tslocale.js"},{"path":"src/tsbase.ts","kind":"import-statement","original":"./tsbase.js"},{"path":"src/tspopup.ts","kind":"import-statement","original":"./tspopup.js"},{"path":"src/tstooltip.ts","kind":"import-statement","original":"./tstooltip.js"},{"path":"src/tstoolbar.ts","kind":"import-statement","original":"./tstoolbar.js"},{"path":"src/tssidebar.ts","kind":"import-statement","original":"./tssidebar.js"},{"path":"src/tstabs.ts","kind":"import-statement","original":"./tstabs.js"},{"path":"src/tslayout.ts","kind":"import-statement","original":"./tslayout.js"},{"path":"src/tsgrid.ts","kind":"import-statement","original":"./tsgrid.js"},{"path":"src/tsform.ts","kind":"import-statement","original":"./tsform.js"},{"path":"src/tsfield.ts","kind":"import-statement","original":"./tsfield.js"}],"format":"esm"}},"outputs":{"dist/sidebar.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/sidebar.es6.js":{"imports":[{"path":"dist/chunks/chunk-BIB3X2TW.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsSidebar"],"entryPoint":"src/tssidebar.ts","inputs":{},"bytes":230},"dist/field.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/field.es6.js":{"imports":[{"path":"dist/chunks/chunk-26XP2XU3.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsField"],"entryPoint":"src/tsfield.ts","inputs":{},"bytes":226},"dist/layout.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/layout.es6.js":{"imports":[{"path":"dist/chunks/chunk-C257V46G.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OMLGN735.js","kind":"import-statement"},{"path":"dist/chunks/chunk-B7RGETKR.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsLayout"],"entryPoint":"src/tslayout.ts","inputs":{},"bytes":302},"dist/form.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/form.es6.js":{"imports":[{"path":"dist/chunks/chunk-I2UYB6ST.js","kind":"import-statement"},{"path":"dist/chunks/chunk-26XP2XU3.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OMLGN735.js","kind":"import-statement"},{"path":"dist/chunks/chunk-B7RGETKR.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsForm"],"entryPoint":"src/tsform.ts","inputs":{},"bytes":335},"dist/tsgrid-ui.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":761083},"dist/tsgrid-ui.es6.js":{"imports":[{"path":"dist/chunks/chunk-BIB3X2TW.js","kind":"import-statement"},{"path":"dist/chunks/chunk-C257V46G.js","kind":"import-statement"},{"path":"dist/chunks/chunk-I2UYB6ST.js","kind":"import-statement"},{"path":"dist/chunks/chunk-26XP2XU3.js","kind":"import-statement"},{"path":"dist/chunks/chunk-YBY52G2U.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OMLGN735.js","kind":"import-statement"},{"path":"dist/chunks/chunk-B7RGETKR.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["Tooltip","TsAlert","TsBase","TsColor","TsConfirm","TsDate","TsDialog","TsEvent","TsField","TsForm","TsGrid","TsLayout","TsLocale","TsMenu","TsPopup","TsPrompt","TsSidebar","TsTabs","TsToolbar","TsTooltip","TsUi","TsUtils","query","toSafeEvent"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/grid-columns.ts":{"bytesInOutput":2609},"src/grid-state.ts":{"bytesInOutput":11108},"src/grid-data.ts":{"bytesInOutput":42223},"src/grid-selection.ts":{"bytesInOutput":16380},"src/grid-edit.ts":{"bytesInOutput":14365},"src/grid-search.ts":{"bytesInOutput":39694},"src/grid-interaction.ts":{"bytesInOutput":41286},"src/grid-render.ts":{"bytesInOutput":103645},"src/tsgrid.ts":{"bytesInOutput":68332}},"bytes":340911},"dist/chunks/chunk-BIB3X2TW.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":135551},"dist/chunks/chunk-BIB3X2TW.js":{"imports":[{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsSidebar"],"inputs":{"src/tssidebar.ts":{"bytesInOutput":61760}},"bytes":61981},"dist/chunks/chunk-C257V46G.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":94789},"dist/chunks/chunk-C257V46G.js":{"imports":[{"path":"dist/chunks/chunk-OMLGN735.js","kind":"import-statement"},{"path":"dist/chunks/chunk-B7RGETKR.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsLayout"],"inputs":{"src/tslayout.ts":{"bytesInOutput":41674}},"bytes":41931},"dist/chunks/chunk-I2UYB6ST.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":202170},"dist/chunks/chunk-I2UYB6ST.js":{"imports":[{"path":"dist/chunks/chunk-26XP2XU3.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OMLGN735.js","kind":"import-statement"},{"path":"dist/chunks/chunk-B7RGETKR.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsForm"],"inputs":{"src/tsform.ts":{"bytesInOutput":87188}},"bytes":87541},"dist/chunks/chunk-26XP2XU3.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":167655},"dist/chunks/chunk-26XP2XU3.js":{"imports":[{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsField"],"inputs":{"src/tsfield.ts":{"bytesInOutput":68243}},"bytes":68473},"dist/locale.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/locale.es6.js":{"imports":[{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"}],"exports":["TsLocale"],"entryPoint":"src/tslocale.ts","inputs":{},"bytes":80},"dist/base.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/base.es6.js":{"imports":[{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsBase","TsEvent","toSafeEvent"],"entryPoint":"src/tsbase.ts","inputs":{},"bytes":128},"dist/utils.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/utils.es6.js":{"imports":[{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsUi","TsUtils","query"],"entryPoint":"src/tsutils.ts","inputs":{},"bytes":194},"dist/popup.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/popup.es6.js":{"imports":[{"path":"dist/chunks/chunk-YBY52G2U.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsAlert","TsConfirm","TsDialog","TsPopup","TsPrompt"],"entryPoint":"src/tspopup.ts","inputs":{},"bytes":285},"dist/chunks/chunk-YBY52G2U.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":67894},"dist/chunks/chunk-YBY52G2U.js":{"imports":[{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsAlert","TsConfirm","TsDialog","TsPopup","TsPrompt"],"inputs":{"src/tspopup.ts":{"bytesInOutput":31923}},"bytes":32119},"dist/tooltip.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/tooltip.es6.js":{"imports":[{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["Tooltip","TsColor","TsDate","TsMenu","TsTooltip"],"entryPoint":"src/tstooltip.ts","inputs":{},"bytes":277},"dist/tabs.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/tabs.es6.js":{"imports":[{"path":"dist/chunks/chunk-OMLGN735.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsTabs"],"entryPoint":"src/tstabs.ts","inputs":{},"bytes":224},"dist/chunks/chunk-OMLGN735.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":50132},"dist/chunks/chunk-OMLGN735.js":{"imports":[{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsTabs"],"inputs":{"src/tstabs.ts":{"bytesInOutput":23885}},"bytes":24090},"dist/toolbar.es6.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/toolbar.es6.js":{"imports":[{"path":"dist/chunks/chunk-B7RGETKR.js","kind":"import-statement"},{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsToolbar"],"entryPoint":"src/tstoolbar.ts","inputs":{},"bytes":230},"dist/chunks/chunk-B7RGETKR.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":98518},"dist/chunks/chunk-B7RGETKR.js":{"imports":[{"path":"dist/chunks/chunk-OFASTA2A.js","kind":"import-statement"},{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsToolbar"],"inputs":{"src/tstoolbar.ts":{"bytesInOutput":45085}},"bytes":45317},"dist/chunks/chunk-OFASTA2A.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":259775},"dist/chunks/chunk-OFASTA2A.js":{"imports":[{"path":"dist/chunks/chunk-3NYH6545.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["Tooltip","TsColor","TsDate","TsMenu","TsTooltip"],"inputs":{"src/tstooltip.ts":{"bytesInOutput":116632}},"bytes":116826},"dist/chunks/chunk-3NYH6545.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":222305},"dist/chunks/chunk-3NYH6545.js":{"imports":[{"path":"dist/chunks/chunk-IYF3Q7GX.js","kind":"import-statement"},{"path":"dist/chunks/chunk-DXZJHS4M.js","kind":"import-statement"}],"exports":["TsUtils","query"],"inputs":{"src/tsutils-color.ts":{"bytesInOutput":3877},"src/tsutils-string.ts":{"bytesInOutput":4408},"src/tsutils-marker.ts":{"bytesInOutput":5008},"src/tsutils-notify.ts":{"bytesInOutput":2241},"src/tsutils-message.ts":{"bytesInOutput":16260},"src/tsutils-dom.ts":{"bytesInOutput":13188},"src/tsutils-datetime.ts":{"bytesInOutput":12645},"src/tsutils-locale.ts":{"bytesInOutput":1838},"src/tsutils.ts":{"bytesInOutput":25266}},"bytes":85358},"dist/chunks/chunk-IYF3Q7GX.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7543},"dist/chunks/chunk-IYF3Q7GX.js":{"imports":[],"exports":["TsLocale"],"inputs":{"src/tslocale.ts":{"bytesInOutput":3763}},"bytes":3806},"dist/chunks/chunk-DXZJHS4M.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":98317},"dist/chunks/chunk-DXZJHS4M.js":{"imports":[],"exports":["TsBase","TsEvent","TsUi","checkName","clone","debounce","encodeParams","extend","getNested","isAlphaNumeric","isBin","isEmail","isFloat","isHex","isInt","isIpAddress","isMoney","isPlainObject","naturalCompare","normMenu","parseRoute","prepareParams","query","toSafeEvent","wait"],"inputs":{"src/tsutils-type-guards.ts":{"bytesInOutput":1845},"src/tsutils-data.ts":{"bytesInOutput":8711},"src/tsutils-registry.ts":{"bytesInOutput":468},"src/query.ts":{"bytesInOutput":16978},"src/tsbase.ts":{"bytesInOutput":11223}},"bytes":39770}}}
|
package/dist/popup.d.ts
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { T as TsMessageProm } from './tsutils-message-CogFtVtO.js';
|
|
2
|
+
import { TsBase } from './base.js';
|
|
3
|
+
import './query-CKGg5Ugv.js';
|
|
4
|
+
|
|
5
|
+
interface DialogOptions {
|
|
6
|
+
title?: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
body?: string;
|
|
9
|
+
buttons?: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
focus?: number | string | null;
|
|
13
|
+
actions?: Record<string, unknown> | null;
|
|
14
|
+
style?: string;
|
|
15
|
+
speed?: number;
|
|
16
|
+
blockPage?: boolean;
|
|
17
|
+
modal?: boolean;
|
|
18
|
+
maximized?: boolean;
|
|
19
|
+
keyboard?: boolean;
|
|
20
|
+
showClose?: boolean;
|
|
21
|
+
showMax?: boolean;
|
|
22
|
+
resizable?: boolean;
|
|
23
|
+
transition?: unknown;
|
|
24
|
+
openMaximized?: boolean;
|
|
25
|
+
moved?: boolean;
|
|
26
|
+
prevSize?: string | null;
|
|
27
|
+
cancelAction?: string;
|
|
28
|
+
closingTimer?: ReturnType<typeof setTimeout>;
|
|
29
|
+
_last_focus?: HTMLElement | null;
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
32
|
+
declare class TsDialog extends TsBase {
|
|
33
|
+
defaults: DialogOptions;
|
|
34
|
+
options: DialogOptions;
|
|
35
|
+
name: string;
|
|
36
|
+
status: string;
|
|
37
|
+
tmp: Record<string, unknown>;
|
|
38
|
+
handleResize: (event?: any) => void;
|
|
39
|
+
_promCreated: (value?: unknown) => void;
|
|
40
|
+
_promOpened: (value?: unknown) => void;
|
|
41
|
+
_promClosing: (value?: unknown) => void;
|
|
42
|
+
_promClosed: (value?: unknown) => void;
|
|
43
|
+
_timer?: ReturnType<typeof setTimeout>;
|
|
44
|
+
constructor();
|
|
45
|
+
/**
|
|
46
|
+
* Sample calls
|
|
47
|
+
* - TsPopup.open('ddd').ok(() => { TsPopup.close() })
|
|
48
|
+
* - TsPopup.open('ddd', { height: 120 }).ok(() => { TsPopup.close() })
|
|
49
|
+
* - TsPopup.open({ body: 'text', title: 'caption', actions: ["Close"] }).close(() => { TsPopup.close() })
|
|
50
|
+
* - TsPopup.open({ body: 'text', title: 'caption', actions: { Close() { TsPopup.close() }} })
|
|
51
|
+
*/
|
|
52
|
+
open(options?: any, extraOptions?: any): (Record<string, unknown> & {
|
|
53
|
+
self: TsDialog;
|
|
54
|
+
action(callBack: any): Record<string, unknown> & /*elided*/ any;
|
|
55
|
+
close(callBack: any): Record<string, unknown> & /*elided*/ any;
|
|
56
|
+
then(callBack: any): Record<string, unknown> & /*elided*/ any;
|
|
57
|
+
}) | undefined;
|
|
58
|
+
load(options: any): Promise<unknown>;
|
|
59
|
+
template(data: any, id: any, options?: any): (Record<string, unknown> & {
|
|
60
|
+
self: TsDialog;
|
|
61
|
+
action(callBack: any): Record<string, unknown> & /*elided*/ any;
|
|
62
|
+
close(callBack: any): Record<string, unknown> & /*elided*/ any;
|
|
63
|
+
then(callBack: any): Record<string, unknown> & /*elided*/ any;
|
|
64
|
+
}) | undefined;
|
|
65
|
+
action(action: any, event?: any): void;
|
|
66
|
+
keydown(event: any): void;
|
|
67
|
+
close(immediate?: any): void;
|
|
68
|
+
toggle(): void;
|
|
69
|
+
max(): void;
|
|
70
|
+
min(): void;
|
|
71
|
+
clear(): void;
|
|
72
|
+
reset(): void;
|
|
73
|
+
message(options: any): TsMessageProm | undefined;
|
|
74
|
+
confirm(options: any): TsMessageProm | undefined;
|
|
75
|
+
setFocus(focus?: any): void;
|
|
76
|
+
lock(msg?: any, showSpinner?: any): void;
|
|
77
|
+
unlock(speed?: any): void;
|
|
78
|
+
center(width?: any, height?: any, force?: any): {
|
|
79
|
+
top: number;
|
|
80
|
+
left: number;
|
|
81
|
+
width: any;
|
|
82
|
+
height: any;
|
|
83
|
+
};
|
|
84
|
+
resize(newWidth: any, newHeight: any, callBack?: any): Promise<unknown>;
|
|
85
|
+
resizeMessages(): void;
|
|
86
|
+
}
|
|
87
|
+
declare function TsAlert(msg: any, title?: any, callBack?: any): any;
|
|
88
|
+
declare function TsConfirm(msg: any, title?: any, callBack?: any): any;
|
|
89
|
+
declare function TsPrompt(label: any, title?: any, callBack?: any): any;
|
|
90
|
+
declare const TsPopup: TsDialog;
|
|
91
|
+
|
|
92
|
+
export { TsAlert, TsConfirm, TsDialog, TsPopup, TsPrompt };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TsAlert,
|
|
3
|
+
TsConfirm,
|
|
4
|
+
TsDialog,
|
|
5
|
+
TsPopup,
|
|
6
|
+
TsPrompt
|
|
7
|
+
} from "./chunks/chunk-YBY52G2U.js";
|
|
8
|
+
import "./chunks/chunk-3NYH6545.js";
|
|
9
|
+
import "./chunks/chunk-IYF3Q7GX.js";
|
|
10
|
+
import "./chunks/chunk-DXZJHS4M.js";
|
|
11
|
+
export {
|
|
12
|
+
TsAlert,
|
|
13
|
+
TsConfirm,
|
|
14
|
+
TsDialog,
|
|
15
|
+
TsPopup,
|
|
16
|
+
TsPrompt
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=popup.es6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
type QuerySelector = string | Node | Window | Query | Array<Node | Element> | Iterable<Node | Element> | null | undefined;
|
|
2
|
+
type QueryContext = Document | Element | ShadowRoot | DocumentFragment;
|
|
3
|
+
interface EventRecord {
|
|
4
|
+
event: string;
|
|
5
|
+
scope: string | undefined;
|
|
6
|
+
callback: EventListener;
|
|
7
|
+
options: AddEventListenerOptions | boolean | undefined;
|
|
8
|
+
}
|
|
9
|
+
interface MQueryData {
|
|
10
|
+
events?: EventRecord[];
|
|
11
|
+
prevDisplay?: string;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface Node {
|
|
16
|
+
_mQuery?: MQueryData;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
declare class Query {
|
|
20
|
+
static version: number;
|
|
21
|
+
context: QueryContext;
|
|
22
|
+
nodes: Node[];
|
|
23
|
+
length: number;
|
|
24
|
+
[index: number]: Node;
|
|
25
|
+
constructor(selector: QuerySelector, context?: QueryContext);
|
|
26
|
+
static _fragment(html: string): DocumentFragment;
|
|
27
|
+
static _scriptConvert(node: Node): Node;
|
|
28
|
+
static _fixProp(name: string): string;
|
|
29
|
+
_insert(method: string, html: string | Query | Node): Query;
|
|
30
|
+
_save(node: Node, name: string, value: unknown): void;
|
|
31
|
+
get(index?: number): Node | Node[] | null;
|
|
32
|
+
eq(index: number): Query;
|
|
33
|
+
then(fun: (q: Query) => Query | null | undefined): Query;
|
|
34
|
+
find(selector: string): Query;
|
|
35
|
+
filter(selector: string | Node | ((node: Node) => boolean)): Query;
|
|
36
|
+
next(): Query;
|
|
37
|
+
prev(): Query;
|
|
38
|
+
shadow(selector?: string): Query;
|
|
39
|
+
closest(selector: string): Query;
|
|
40
|
+
host(all?: boolean): Query;
|
|
41
|
+
parent(selector?: string): Query;
|
|
42
|
+
parents(selector?: string, firstOnly?: boolean): Query;
|
|
43
|
+
add(more: Query | Node | Node[]): Query;
|
|
44
|
+
each(func: (node: Node, ind: number, col: Query) => void): Query;
|
|
45
|
+
append(html: string | Query | Node): Query;
|
|
46
|
+
prepend(html: string | Query | Node): Query;
|
|
47
|
+
after(html: string | Query | Node): Query;
|
|
48
|
+
before(html: string | Query | Node): Query;
|
|
49
|
+
replace(html: string | Query | Node): Query;
|
|
50
|
+
remove(): Query;
|
|
51
|
+
css(key?: string | Record<string, string | number>, value?: string | number): string | Record<string, string> | undefined | Query;
|
|
52
|
+
addClass(classes: string): Query;
|
|
53
|
+
removeClass(classes: string | string[] | null): Query;
|
|
54
|
+
toggleClass(classes: string | string[] | null, force?: boolean): Query;
|
|
55
|
+
hasClass(classes: string | string[] | null): boolean | string[];
|
|
56
|
+
on(events: string, options: AddEventListenerOptions | EventListener | {
|
|
57
|
+
delegate?: string;
|
|
58
|
+
} | undefined, callback?: EventListener): Query;
|
|
59
|
+
on(events: string, callback: EventListener): Query;
|
|
60
|
+
off(events?: string, options?: AddEventListenerOptions | EventListener, callback?: EventListener): Query;
|
|
61
|
+
trigger(name: string | Event | CustomEvent, options?: EventInit): Query;
|
|
62
|
+
attr(name: string): string | undefined;
|
|
63
|
+
attr(name: string | Record<string, string>, value?: string): Query;
|
|
64
|
+
removeAttr(...attrs: string[]): Query;
|
|
65
|
+
prop(name: string): unknown;
|
|
66
|
+
prop(name: string | Record<string, unknown>, value?: unknown): Query;
|
|
67
|
+
removeProp(...props: string[]): Query;
|
|
68
|
+
data(key?: string | Record<string, unknown>, value?: unknown): unknown | Query;
|
|
69
|
+
removeData(key: string | string[]): Query;
|
|
70
|
+
show(): Query;
|
|
71
|
+
hide(): Query;
|
|
72
|
+
toggle(force?: boolean): Query;
|
|
73
|
+
empty(): Query;
|
|
74
|
+
html(html?: string | HTMLElement): string | Query | undefined;
|
|
75
|
+
text(text?: string): unknown | Query;
|
|
76
|
+
val(value?: string): unknown | Query;
|
|
77
|
+
change(): Query;
|
|
78
|
+
click(): Query;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { Query as Q };
|