@humandialog/forms.svelte 0.4.36 → 0.4.38
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/README.md +0 -0
- package/components/Fab.svelte +117 -43
- package/components/Fab.svelte.d.ts +14 -14
- package/components/Floating_container.svelte +21 -20
- package/components/Floating_container.svelte.d.ts +21 -21
- package/components/Grid.menu.svelte.d.ts +25 -25
- package/components/button.svelte.d.ts +24 -24
- package/components/checkbox.svelte.d.ts +25 -25
- package/components/combo/combo.d.ts +17 -17
- package/components/combo/combo.item.svelte.d.ts +19 -19
- package/components/combo/combo.js +17 -17
- package/components/combo/combo.source.svelte.d.ts +22 -22
- package/components/combo/combo.svelte +1 -1
- package/components/combo/combo.svelte.d.ts +39 -39
- package/components/contextmenu.svelte +49 -18
- package/components/contextmenu.svelte.d.ts +26 -26
- package/components/date.svelte.d.ts +30 -30
- package/components/delayed.spinner.svelte.d.ts +19 -19
- package/components/document/internal/Document_command.d.ts +9 -9
- package/components/document/internal/Document_command.js +9 -9
- package/components/document/internal/Selection_helper.d.ts +7 -7
- package/components/document/internal/Selection_helper.js +133 -133
- package/components/document/internal/Selection_range.d.ts +26 -26
- package/components/document/internal/Selection_range.js +58 -58
- package/components/document/internal/palette.row.svelte.d.ts +36 -36
- package/components/document/internal/palette.svelte +1 -1
- package/components/document/internal/palette.svelte.d.ts +67 -67
- package/components/document/rich.edit.svelte.d.ts +23 -23
- package/components/edit.field.svelte.d.ts +27 -27
- package/components/file.loader.svelte.d.ts +25 -25
- package/components/icon.svelte.d.ts +62 -62
- package/components/input.text.svelte.d.ts +29 -29
- package/components/inputbox.ltop.svelte.d.ts +50 -50
- package/components/list/List.d.ts +34 -34
- package/components/list/List.js +40 -40
- package/components/list/internal/list.element.svelte +3 -2
- package/components/list/internal/list.element.svelte.d.ts +29 -29
- package/components/list/internal/list.inserter.svelte.d.ts +19 -19
- package/components/list/list.combo.svelte.d.ts +21 -21
- package/components/list/list.date.svelte.d.ts +18 -18
- package/components/list/list.inserter.svelte.d.ts +17 -17
- package/components/list/list.static.svelte.d.ts +17 -17
- package/components/list/list.summary.svelte.d.ts +19 -19
- package/components/list/list.svelte.d.ts +42 -42
- package/components/list/list.title.svelte.d.ts +19 -19
- package/components/menu.d.ts +4 -3
- package/components/menu.js +54 -48
- package/components/radio.svelte.d.ts +25 -25
- package/components/sidebar/sidebar.brand.svelte.d.ts +29 -29
- package/components/sidebar/sidebar.group.svelte.d.ts +31 -31
- package/components/sidebar/sidebar.item.svelte +51 -5
- package/components/sidebar/sidebar.item.svelte.d.ts +28 -28
- package/components/sidebar/sidebar.svelte.d.ts +27 -27
- package/components/simple.table.svelte.d.ts +41 -41
- package/components/table/_template.table.svelte.d.ts +57 -57
- package/components/table/column.svelte.d.ts +19 -19
- package/components/table/item.svelte.d.ts +17 -17
- package/components/table/table.d.ts +11 -11
- package/components/table/table.js +11 -11
- package/components/table/table.svelte.d.ts +75 -75
- package/components/textarea.ltop.svelte.d.ts +35 -35
- package/components/tile.title.svelte.d.ts +29 -29
- package/desk.svelte +57 -58
- package/desk.svelte.d.ts +23 -23
- package/form.box.svelte.d.ts +35 -35
- package/horizontal.toolbar.svelte +10 -13
- package/horizontal.toolbar.svelte.d.ts +23 -23
- package/index.d.ts +43 -43
- package/index.js +49 -49
- package/internal/configurable.content.svelte.d.ts +27 -27
- package/internal/loading.svelte.d.ts +23 -23
- package/modal.svelte +2 -2
- package/modal.svelte.d.ts +35 -35
- package/operations.svelte +0 -2
- package/operations.svelte.d.ts +16 -16
- package/package.json +7 -7
- package/page.row.svelte.d.ts +31 -31
- package/page.svelte.d.ts +43 -43
- package/stores.d.ts +33 -33
- package/stores.js +0 -0
- package/tenant.members.svelte.d.ts +33 -33
- package/tile.svelte.d.ts +33 -33
- package/tiles.row.svelte.d.ts +31 -31
- package/tiles.vertical.row.svelte.d.ts +29 -29
- package/updates.d.ts +3 -3
- package/updates.js +0 -0
- package/utils.d.ts +26 -26
- package/utils.js +0 -0
- package/vertical.toolbar.svelte +2 -1
- package/vertical.toolbar.svelte.d.ts +25 -25
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
value?: string | undefined;
|
|
6
|
-
placeholder?: string | undefined;
|
|
7
|
-
self?: null | undefined;
|
|
8
|
-
a?: string | undefined;
|
|
9
|
-
context?: string | undefined;
|
|
10
|
-
typename?: string | undefined;
|
|
11
|
-
c?: string | undefined;
|
|
12
|
-
};
|
|
13
|
-
events: {
|
|
14
|
-
[evt: string]: CustomEvent<any>;
|
|
15
|
-
};
|
|
16
|
-
slots: {};
|
|
17
|
-
};
|
|
18
|
-
export type RichProps = typeof __propDef.props;
|
|
19
|
-
export type RichEvents = typeof __propDef.events;
|
|
20
|
-
export type RichSlots = typeof __propDef.slots;
|
|
21
|
-
export default class Rich extends SvelteComponentTyped<RichProps, RichEvents, RichSlots> {
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
value?: string | undefined;
|
|
6
|
+
placeholder?: string | undefined;
|
|
7
|
+
self?: null | undefined;
|
|
8
|
+
a?: string | undefined;
|
|
9
|
+
context?: string | undefined;
|
|
10
|
+
typename?: string | undefined;
|
|
11
|
+
c?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
events: {
|
|
14
|
+
[evt: string]: CustomEvent<any>;
|
|
15
|
+
};
|
|
16
|
+
slots: {};
|
|
17
|
+
};
|
|
18
|
+
export type RichProps = typeof __propDef.props;
|
|
19
|
+
export type RichEvents = typeof __propDef.events;
|
|
20
|
+
export type RichSlots = typeof __propDef.slots;
|
|
21
|
+
export default class Rich extends SvelteComponentTyped<RichProps, RichEvents, RichSlots> {
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
value?: string | undefined;
|
|
6
|
-
placeholder?: string | undefined;
|
|
7
|
-
on_enter?: null | undefined;
|
|
8
|
-
self?: null | undefined;
|
|
9
|
-
a?: string | undefined;
|
|
10
|
-
context?: string | undefined;
|
|
11
|
-
typename?: string | undefined;
|
|
12
|
-
inserter?: boolean | undefined;
|
|
13
|
-
c?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
events: {
|
|
16
|
-
[evt: string]: CustomEvent<any>;
|
|
17
|
-
};
|
|
18
|
-
slots: {
|
|
19
|
-
default: {};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export type EditProps = typeof __propDef.props;
|
|
23
|
-
export type EditEvents = typeof __propDef.events;
|
|
24
|
-
export type EditSlots = typeof __propDef.slots;
|
|
25
|
-
export default class Edit extends SvelteComponentTyped<EditProps, EditEvents, EditSlots> {
|
|
26
|
-
}
|
|
27
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
value?: string | undefined;
|
|
6
|
+
placeholder?: string | undefined;
|
|
7
|
+
on_enter?: null | undefined;
|
|
8
|
+
self?: null | undefined;
|
|
9
|
+
a?: string | undefined;
|
|
10
|
+
context?: string | undefined;
|
|
11
|
+
typename?: string | undefined;
|
|
12
|
+
inserter?: boolean | undefined;
|
|
13
|
+
c?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
events: {
|
|
16
|
+
[evt: string]: CustomEvent<any>;
|
|
17
|
+
};
|
|
18
|
+
slots: {
|
|
19
|
+
default: {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export type EditProps = typeof __propDef.props;
|
|
23
|
+
export type EditEvents = typeof __propDef.events;
|
|
24
|
+
export type EditSlots = typeof __propDef.slots;
|
|
25
|
+
export default class Edit extends SvelteComponentTyped<EditProps, EditEvents, EditSlots> {
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
get_name?: (() => string) | undefined;
|
|
5
|
-
get_size?: (() => number) | undefined;
|
|
6
|
-
get_type?: (() => string) | undefined;
|
|
7
|
-
get_data?: (() => ArrayBuffer) | undefined;
|
|
8
|
-
is_selected?: (() => boolean) | undefined;
|
|
9
|
-
};
|
|
10
|
-
events: {
|
|
11
|
-
[evt: string]: CustomEvent<any>;
|
|
12
|
-
};
|
|
13
|
-
slots: {};
|
|
14
|
-
};
|
|
15
|
-
export type FileProps = typeof __propDef.props;
|
|
16
|
-
export type FileEvents = typeof __propDef.events;
|
|
17
|
-
export type FileSlots = typeof __propDef.slots;
|
|
18
|
-
export default class File extends SvelteComponentTyped<FileProps, FileEvents, FileSlots> {
|
|
19
|
-
get get_name(): () => string;
|
|
20
|
-
get get_size(): () => number;
|
|
21
|
-
get get_type(): () => string;
|
|
22
|
-
get get_data(): () => ArrayBuffer;
|
|
23
|
-
get is_selected(): () => boolean;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
get_name?: (() => string) | undefined;
|
|
5
|
+
get_size?: (() => number) | undefined;
|
|
6
|
+
get_type?: (() => string) | undefined;
|
|
7
|
+
get_data?: (() => ArrayBuffer) | undefined;
|
|
8
|
+
is_selected?: (() => boolean) | undefined;
|
|
9
|
+
};
|
|
10
|
+
events: {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
};
|
|
13
|
+
slots: {};
|
|
14
|
+
};
|
|
15
|
+
export type FileProps = typeof __propDef.props;
|
|
16
|
+
export type FileEvents = typeof __propDef.events;
|
|
17
|
+
export type FileSlots = typeof __propDef.slots;
|
|
18
|
+
export default class File extends SvelteComponentTyped<FileProps, FileEvents, FileSlots> {
|
|
19
|
+
get get_name(): () => string;
|
|
20
|
+
get get_size(): () => number;
|
|
21
|
+
get get_type(): () => string;
|
|
22
|
+
get get_data(): () => ArrayBuffer;
|
|
23
|
+
get is_selected(): () => boolean;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
component?: null | undefined;
|
|
6
|
-
module_name?: string | undefined;
|
|
7
|
-
img?: string | undefined;
|
|
8
|
-
label?: string | undefined;
|
|
9
|
-
symbol?: string | undefined;
|
|
10
|
-
color?: string | undefined;
|
|
11
|
-
size?: number | undefined;
|
|
12
|
-
bg?: string | undefined;
|
|
13
|
-
circle?: boolean | undefined;
|
|
14
|
-
};
|
|
15
|
-
events: {
|
|
16
|
-
blur: FocusEvent;
|
|
17
|
-
click: MouseEvent;
|
|
18
|
-
focus: FocusEvent;
|
|
19
|
-
keydown: KeyboardEvent;
|
|
20
|
-
keypress: KeyboardEvent;
|
|
21
|
-
keyup: KeyboardEvent;
|
|
22
|
-
mouseenter: MouseEvent;
|
|
23
|
-
mouseleave: MouseEvent;
|
|
24
|
-
mouseover: MouseEvent;
|
|
25
|
-
} & {
|
|
26
|
-
[evt: string]: CustomEvent<any>;
|
|
27
|
-
};
|
|
28
|
-
slots: {};
|
|
29
|
-
};
|
|
30
|
-
export type IconProps = typeof __propDef.props;
|
|
31
|
-
export type IconEvents = typeof __propDef.events;
|
|
32
|
-
export type IconSlots = typeof __propDef.slots;
|
|
33
|
-
export default class Icon extends SvelteComponentTyped<IconProps, IconEvents, IconSlots> {
|
|
34
|
-
get component(): null | undefined;
|
|
35
|
-
/**accessor*/
|
|
36
|
-
set component(_: null | undefined);
|
|
37
|
-
get module_name(): string | undefined;
|
|
38
|
-
/**accessor*/
|
|
39
|
-
set module_name(_: string | undefined);
|
|
40
|
-
get img(): string | undefined;
|
|
41
|
-
/**accessor*/
|
|
42
|
-
set img(_: string | undefined);
|
|
43
|
-
get label(): string | undefined;
|
|
44
|
-
/**accessor*/
|
|
45
|
-
set label(_: string | undefined);
|
|
46
|
-
get symbol(): string | undefined;
|
|
47
|
-
/**accessor*/
|
|
48
|
-
set symbol(_: string | undefined);
|
|
49
|
-
get color(): string | undefined;
|
|
50
|
-
/**accessor*/
|
|
51
|
-
set color(_: string | undefined);
|
|
52
|
-
get size(): number | undefined;
|
|
53
|
-
/**accessor*/
|
|
54
|
-
set size(_: number | undefined);
|
|
55
|
-
get bg(): string | undefined;
|
|
56
|
-
/**accessor*/
|
|
57
|
-
set bg(_: string | undefined);
|
|
58
|
-
get circle(): boolean | undefined;
|
|
59
|
-
/**accessor*/
|
|
60
|
-
set circle(_: boolean | undefined);
|
|
61
|
-
}
|
|
62
|
-
export {};
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
component?: null | undefined;
|
|
6
|
+
module_name?: string | undefined;
|
|
7
|
+
img?: string | undefined;
|
|
8
|
+
label?: string | undefined;
|
|
9
|
+
symbol?: string | undefined;
|
|
10
|
+
color?: string | undefined;
|
|
11
|
+
size?: number | undefined;
|
|
12
|
+
bg?: string | undefined;
|
|
13
|
+
circle?: boolean | undefined;
|
|
14
|
+
};
|
|
15
|
+
events: {
|
|
16
|
+
blur: FocusEvent;
|
|
17
|
+
click: MouseEvent;
|
|
18
|
+
focus: FocusEvent;
|
|
19
|
+
keydown: KeyboardEvent;
|
|
20
|
+
keypress: KeyboardEvent;
|
|
21
|
+
keyup: KeyboardEvent;
|
|
22
|
+
mouseenter: MouseEvent;
|
|
23
|
+
mouseleave: MouseEvent;
|
|
24
|
+
mouseover: MouseEvent;
|
|
25
|
+
} & {
|
|
26
|
+
[evt: string]: CustomEvent<any>;
|
|
27
|
+
};
|
|
28
|
+
slots: {};
|
|
29
|
+
};
|
|
30
|
+
export type IconProps = typeof __propDef.props;
|
|
31
|
+
export type IconEvents = typeof __propDef.events;
|
|
32
|
+
export type IconSlots = typeof __propDef.slots;
|
|
33
|
+
export default class Icon extends SvelteComponentTyped<IconProps, IconEvents, IconSlots> {
|
|
34
|
+
get component(): null | undefined;
|
|
35
|
+
/**accessor*/
|
|
36
|
+
set component(_: null | undefined);
|
|
37
|
+
get module_name(): string | undefined;
|
|
38
|
+
/**accessor*/
|
|
39
|
+
set module_name(_: string | undefined);
|
|
40
|
+
get img(): string | undefined;
|
|
41
|
+
/**accessor*/
|
|
42
|
+
set img(_: string | undefined);
|
|
43
|
+
get label(): string | undefined;
|
|
44
|
+
/**accessor*/
|
|
45
|
+
set label(_: string | undefined);
|
|
46
|
+
get symbol(): string | undefined;
|
|
47
|
+
/**accessor*/
|
|
48
|
+
set symbol(_: string | undefined);
|
|
49
|
+
get color(): string | undefined;
|
|
50
|
+
/**accessor*/
|
|
51
|
+
set color(_: string | undefined);
|
|
52
|
+
get size(): number | undefined;
|
|
53
|
+
/**accessor*/
|
|
54
|
+
set size(_: number | undefined);
|
|
55
|
+
get bg(): string | undefined;
|
|
56
|
+
/**accessor*/
|
|
57
|
+
set bg(_: string | undefined);
|
|
58
|
+
get circle(): boolean | undefined;
|
|
59
|
+
/**accessor*/
|
|
60
|
+
set circle(_: boolean | undefined);
|
|
61
|
+
}
|
|
62
|
+
export {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} InputProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} InputEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} InputSlots */
|
|
4
|
-
export default class Input extends SvelteComponentTyped<{
|
|
5
|
-
s?: string | undefined;
|
|
6
|
-
placeholder?: string | undefined;
|
|
7
|
-
i?: null | undefined;
|
|
8
|
-
fld?: string | undefined;
|
|
9
|
-
}, {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
}, {}> {
|
|
12
|
-
}
|
|
13
|
-
export type InputProps = typeof __propDef.props;
|
|
14
|
-
export type InputEvents = typeof __propDef.events;
|
|
15
|
-
export type InputSlots = typeof __propDef.slots;
|
|
16
|
-
import { SvelteComponentTyped } from "svelte";
|
|
17
|
-
declare const __propDef: {
|
|
18
|
-
props: {
|
|
19
|
-
s?: string | undefined;
|
|
20
|
-
placeholder?: string | undefined;
|
|
21
|
-
i?: null | undefined;
|
|
22
|
-
fld?: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
events: {
|
|
25
|
-
[evt: string]: CustomEvent<any>;
|
|
26
|
-
};
|
|
27
|
-
slots: {};
|
|
28
|
-
};
|
|
29
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} InputProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} InputEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} InputSlots */
|
|
4
|
+
export default class Input extends SvelteComponentTyped<{
|
|
5
|
+
s?: string | undefined;
|
|
6
|
+
placeholder?: string | undefined;
|
|
7
|
+
i?: null | undefined;
|
|
8
|
+
fld?: string | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
[evt: string]: CustomEvent<any>;
|
|
11
|
+
}, {}> {
|
|
12
|
+
}
|
|
13
|
+
export type InputProps = typeof __propDef.props;
|
|
14
|
+
export type InputEvents = typeof __propDef.events;
|
|
15
|
+
export type InputSlots = typeof __propDef.slots;
|
|
16
|
+
import { SvelteComponentTyped } from "svelte";
|
|
17
|
+
declare const __propDef: {
|
|
18
|
+
props: {
|
|
19
|
+
s?: string | undefined;
|
|
20
|
+
placeholder?: string | undefined;
|
|
21
|
+
i?: null | undefined;
|
|
22
|
+
fld?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
events: {
|
|
25
|
+
[evt: string]: CustomEvent<any>;
|
|
26
|
+
};
|
|
27
|
+
slots: {};
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} InputboxProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} InputboxEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} InputboxSlots */
|
|
4
|
-
export default class Inputbox extends SvelteComponentTyped<{
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
invalid?: boolean | undefined;
|
|
7
|
-
label?: string | undefined;
|
|
8
|
-
context?: string | undefined;
|
|
9
|
-
self?: null | undefined;
|
|
10
|
-
c?: string | undefined;
|
|
11
|
-
typename?: string | undefined;
|
|
12
|
-
a?: string | undefined;
|
|
13
|
-
s?: string | undefined;
|
|
14
|
-
placeholder?: string | undefined;
|
|
15
|
-
itype?: string | undefined;
|
|
16
|
-
val?: string | undefined;
|
|
17
|
-
validate_cb?: any;
|
|
18
|
-
validate?: (() => boolean) | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
[evt: string]: CustomEvent<any>;
|
|
21
|
-
}, {}> {
|
|
22
|
-
get validate(): () => boolean;
|
|
23
|
-
}
|
|
24
|
-
export type InputboxProps = typeof __propDef.props;
|
|
25
|
-
export type InputboxEvents = typeof __propDef.events;
|
|
26
|
-
export type InputboxSlots = typeof __propDef.slots;
|
|
27
|
-
import { SvelteComponentTyped } from "svelte";
|
|
28
|
-
declare const __propDef: {
|
|
29
|
-
props: {
|
|
30
|
-
[x: string]: any;
|
|
31
|
-
invalid?: boolean | undefined;
|
|
32
|
-
label?: string | undefined;
|
|
33
|
-
context?: string | undefined;
|
|
34
|
-
self?: null | undefined;
|
|
35
|
-
c?: string | undefined;
|
|
36
|
-
typename?: string | undefined;
|
|
37
|
-
a?: string | undefined;
|
|
38
|
-
s?: string | undefined;
|
|
39
|
-
placeholder?: string | undefined;
|
|
40
|
-
itype?: string | undefined;
|
|
41
|
-
val?: string | undefined;
|
|
42
|
-
validate_cb?: any;
|
|
43
|
-
validate?: (() => boolean) | undefined;
|
|
44
|
-
};
|
|
45
|
-
events: {
|
|
46
|
-
[evt: string]: CustomEvent<any>;
|
|
47
|
-
};
|
|
48
|
-
slots: {};
|
|
49
|
-
};
|
|
50
|
-
export {};
|
|
1
|
+
/** @typedef {typeof __propDef.props} InputboxProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} InputboxEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} InputboxSlots */
|
|
4
|
+
export default class Inputbox extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
invalid?: boolean | undefined;
|
|
7
|
+
label?: string | undefined;
|
|
8
|
+
context?: string | undefined;
|
|
9
|
+
self?: null | undefined;
|
|
10
|
+
c?: string | undefined;
|
|
11
|
+
typename?: string | undefined;
|
|
12
|
+
a?: string | undefined;
|
|
13
|
+
s?: string | undefined;
|
|
14
|
+
placeholder?: string | undefined;
|
|
15
|
+
itype?: string | undefined;
|
|
16
|
+
val?: string | undefined;
|
|
17
|
+
validate_cb?: any;
|
|
18
|
+
validate?: (() => boolean) | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
[evt: string]: CustomEvent<any>;
|
|
21
|
+
}, {}> {
|
|
22
|
+
get validate(): () => boolean;
|
|
23
|
+
}
|
|
24
|
+
export type InputboxProps = typeof __propDef.props;
|
|
25
|
+
export type InputboxEvents = typeof __propDef.events;
|
|
26
|
+
export type InputboxSlots = typeof __propDef.slots;
|
|
27
|
+
import { SvelteComponentTyped } from "svelte";
|
|
28
|
+
declare const __propDef: {
|
|
29
|
+
props: {
|
|
30
|
+
[x: string]: any;
|
|
31
|
+
invalid?: boolean | undefined;
|
|
32
|
+
label?: string | undefined;
|
|
33
|
+
context?: string | undefined;
|
|
34
|
+
self?: null | undefined;
|
|
35
|
+
c?: string | undefined;
|
|
36
|
+
typename?: string | undefined;
|
|
37
|
+
a?: string | undefined;
|
|
38
|
+
s?: string | undefined;
|
|
39
|
+
placeholder?: string | undefined;
|
|
40
|
+
itype?: string | undefined;
|
|
41
|
+
val?: string | undefined;
|
|
42
|
+
validate_cb?: any;
|
|
43
|
+
validate?: (() => boolean) | undefined;
|
|
44
|
+
};
|
|
45
|
+
events: {
|
|
46
|
+
[evt: string]: CustomEvent<any>;
|
|
47
|
+
};
|
|
48
|
+
slots: {};
|
|
49
|
+
};
|
|
50
|
+
export {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { rCombo_definition } from '../combo/combo';
|
|
2
|
-
export declare enum rList_property_type {
|
|
3
|
-
Hidden = 0,
|
|
4
|
-
Text = 1,
|
|
5
|
-
Date = 2,
|
|
6
|
-
Combo = 3,
|
|
7
|
-
Static = 4
|
|
8
|
-
}
|
|
9
|
-
export declare class rList_property {
|
|
10
|
-
constructor(type: rList_property_type);
|
|
11
|
-
type: rList_property_type;
|
|
12
|
-
name: string;
|
|
13
|
-
a: string;
|
|
14
|
-
on_select: Function | undefined;
|
|
15
|
-
}
|
|
16
|
-
export declare class rList_property_combo extends rList_property {
|
|
17
|
-
constructor();
|
|
18
|
-
association: boolean;
|
|
19
|
-
combo_definition: rCombo_definition;
|
|
20
|
-
}
|
|
21
|
-
export declare class rList_definition {
|
|
22
|
-
title: string;
|
|
23
|
-
title_editable: boolean;
|
|
24
|
-
on_title_changed: Function | undefined;
|
|
25
|
-
title_readonly: boolean;
|
|
26
|
-
summary: string;
|
|
27
|
-
summary_editable: boolean;
|
|
28
|
-
on_summary_changed: Function | undefined;
|
|
29
|
-
summary_readonly: boolean;
|
|
30
|
-
can_insert: boolean;
|
|
31
|
-
oninsert: Function | undefined;
|
|
32
|
-
inserter_icon: boolean;
|
|
33
|
-
properties: rList_property[];
|
|
34
|
-
}
|
|
1
|
+
import { rCombo_definition } from '../combo/combo';
|
|
2
|
+
export declare enum rList_property_type {
|
|
3
|
+
Hidden = 0,
|
|
4
|
+
Text = 1,
|
|
5
|
+
Date = 2,
|
|
6
|
+
Combo = 3,
|
|
7
|
+
Static = 4
|
|
8
|
+
}
|
|
9
|
+
export declare class rList_property {
|
|
10
|
+
constructor(type: rList_property_type);
|
|
11
|
+
type: rList_property_type;
|
|
12
|
+
name: string;
|
|
13
|
+
a: string;
|
|
14
|
+
on_select: Function | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare class rList_property_combo extends rList_property {
|
|
17
|
+
constructor();
|
|
18
|
+
association: boolean;
|
|
19
|
+
combo_definition: rCombo_definition;
|
|
20
|
+
}
|
|
21
|
+
export declare class rList_definition {
|
|
22
|
+
title: string;
|
|
23
|
+
title_editable: boolean;
|
|
24
|
+
on_title_changed: Function | undefined;
|
|
25
|
+
title_readonly: boolean;
|
|
26
|
+
summary: string;
|
|
27
|
+
summary_editable: boolean;
|
|
28
|
+
on_summary_changed: Function | undefined;
|
|
29
|
+
summary_readonly: boolean;
|
|
30
|
+
can_insert: boolean;
|
|
31
|
+
oninsert: Function | undefined;
|
|
32
|
+
inserter_icon: boolean;
|
|
33
|
+
properties: rList_property[];
|
|
34
|
+
}
|
package/components/list/List.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { rCombo_definition } from '../combo/combo';
|
|
2
|
-
export var rList_property_type;
|
|
3
|
-
(function (rList_property_type) {
|
|
4
|
-
rList_property_type[rList_property_type["Hidden"] = 0] = "Hidden";
|
|
5
|
-
rList_property_type[rList_property_type["Text"] = 1] = "Text";
|
|
6
|
-
rList_property_type[rList_property_type["Date"] = 2] = "Date";
|
|
7
|
-
rList_property_type[rList_property_type["Combo"] = 3] = "Combo";
|
|
8
|
-
rList_property_type[rList_property_type["Static"] = 4] = "Static";
|
|
9
|
-
})(rList_property_type || (rList_property_type = {}));
|
|
10
|
-
export class rList_property {
|
|
11
|
-
constructor(type) {
|
|
12
|
-
this.type = type;
|
|
13
|
-
}
|
|
14
|
-
type = rList_property_type.Hidden;
|
|
15
|
-
name = '';
|
|
16
|
-
a = '';
|
|
17
|
-
on_select = undefined;
|
|
18
|
-
}
|
|
19
|
-
export class rList_property_combo extends rList_property {
|
|
20
|
-
constructor() {
|
|
21
|
-
super(rList_property_type.Combo);
|
|
22
|
-
this.combo_definition = new rCombo_definition;
|
|
23
|
-
}
|
|
24
|
-
association = false;
|
|
25
|
-
combo_definition;
|
|
26
|
-
}
|
|
27
|
-
export class rList_definition {
|
|
28
|
-
title = '';
|
|
29
|
-
title_editable = false;
|
|
30
|
-
on_title_changed = undefined;
|
|
31
|
-
title_readonly = false;
|
|
32
|
-
summary = '';
|
|
33
|
-
summary_editable = false;
|
|
34
|
-
on_summary_changed = undefined;
|
|
35
|
-
summary_readonly = false;
|
|
36
|
-
can_insert = false;
|
|
37
|
-
oninsert = undefined;
|
|
38
|
-
inserter_icon = false;
|
|
39
|
-
properties = [];
|
|
40
|
-
}
|
|
1
|
+
import { rCombo_definition } from '../combo/combo';
|
|
2
|
+
export var rList_property_type;
|
|
3
|
+
(function (rList_property_type) {
|
|
4
|
+
rList_property_type[rList_property_type["Hidden"] = 0] = "Hidden";
|
|
5
|
+
rList_property_type[rList_property_type["Text"] = 1] = "Text";
|
|
6
|
+
rList_property_type[rList_property_type["Date"] = 2] = "Date";
|
|
7
|
+
rList_property_type[rList_property_type["Combo"] = 3] = "Combo";
|
|
8
|
+
rList_property_type[rList_property_type["Static"] = 4] = "Static";
|
|
9
|
+
})(rList_property_type || (rList_property_type = {}));
|
|
10
|
+
export class rList_property {
|
|
11
|
+
constructor(type) {
|
|
12
|
+
this.type = type;
|
|
13
|
+
}
|
|
14
|
+
type = rList_property_type.Hidden;
|
|
15
|
+
name = '';
|
|
16
|
+
a = '';
|
|
17
|
+
on_select = undefined;
|
|
18
|
+
}
|
|
19
|
+
export class rList_property_combo extends rList_property {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(rList_property_type.Combo);
|
|
22
|
+
this.combo_definition = new rCombo_definition;
|
|
23
|
+
}
|
|
24
|
+
association = false;
|
|
25
|
+
combo_definition;
|
|
26
|
+
}
|
|
27
|
+
export class rList_definition {
|
|
28
|
+
title = '';
|
|
29
|
+
title_editable = false;
|
|
30
|
+
on_title_changed = undefined;
|
|
31
|
+
title_readonly = false;
|
|
32
|
+
summary = '';
|
|
33
|
+
summary_editable = false;
|
|
34
|
+
on_summary_changed = undefined;
|
|
35
|
+
summary_readonly = false;
|
|
36
|
+
can_insert = false;
|
|
37
|
+
oninsert = undefined;
|
|
38
|
+
inserter_icon = false;
|
|
39
|
+
properties = [];
|
|
40
|
+
}
|
|
@@ -94,6 +94,7 @@ function activate_row(e, item2) {
|
|
|
94
94
|
}
|
|
95
95
|
n = n.parentElement;
|
|
96
96
|
}
|
|
97
|
+
can_show_context_menu = false;
|
|
97
98
|
if (can_show_context_menu && context_menu) {
|
|
98
99
|
const pt = new DOMPoint(e.clientX, e.clientY);
|
|
99
100
|
let context_operations = context_menu(item2);
|
|
@@ -213,7 +214,7 @@ async function edit_date(field, prop_idx) {
|
|
|
213
214
|
|
|
214
215
|
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
|
215
216
|
{#if item}
|
|
216
|
-
<section class="flex flex-row my-0 w-full text-sm text-slate-700 dark:text-slate-400 cursor-default rounded-md border
|
|
217
|
+
<section class="flex flex-row my-0 w-full text-sm text-slate-700 dark:text-slate-400 cursor-default rounded-md border border-transparent {selected_class} {focused_class}"
|
|
217
218
|
on:contextmenu={on_contextmenu}
|
|
218
219
|
role="menu"
|
|
219
220
|
tabindex="-1">
|
|
@@ -239,7 +240,7 @@ async function edit_date(field, prop_idx) {
|
|
|
239
240
|
<!--div class="flex flex-row justify-between text-xs flex-none w-1/2 sm:w-2/3"-->
|
|
240
241
|
<div class="text-xs flex-none w-1/2 sm:w-2/3 grid-{definition.properties.length}">
|
|
241
242
|
{#each definition.properties as prop, prop_index}
|
|
242
|
-
<p class="col-span-1 w-full mr-auto">
|
|
243
|
+
<p class="col-span-1 w-full mr-auto mt-0.5">
|
|
243
244
|
{#if item[prop.a] || placeholder == prop.name}
|
|
244
245
|
<span role="gridcell" tabindex="0">
|
|
245
246
|
{#if prop.type == rList_property_type.Date}
|