@humandialog/forms.svelte 0.4.36 → 0.4.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +0 -0
  2. package/components/Fab.svelte +100 -43
  3. package/components/Fab.svelte.d.ts +14 -14
  4. package/components/Fab2.svelte +89 -0
  5. package/components/Fab2.svelte.d.ts +14 -0
  6. package/components/Floating_container.svelte +21 -20
  7. package/components/Floating_container.svelte.d.ts +21 -21
  8. package/components/Grid.menu.svelte.d.ts +25 -25
  9. package/components/button.svelte.d.ts +24 -24
  10. package/components/checkbox.svelte.d.ts +25 -25
  11. package/components/combo/combo.d.ts +17 -17
  12. package/components/combo/combo.item.svelte.d.ts +19 -19
  13. package/components/combo/combo.js +17 -17
  14. package/components/combo/combo.source.svelte.d.ts +22 -22
  15. package/components/combo/combo.svelte +1 -1
  16. package/components/combo/combo.svelte.d.ts +39 -39
  17. package/components/contextmenu.svelte +49 -18
  18. package/components/contextmenu.svelte.d.ts +26 -26
  19. package/components/date.svelte.d.ts +30 -30
  20. package/components/delayed.spinner.svelte.d.ts +19 -19
  21. package/components/document/internal/Document_command.d.ts +9 -9
  22. package/components/document/internal/Document_command.js +9 -9
  23. package/components/document/internal/Selection_helper.d.ts +7 -7
  24. package/components/document/internal/Selection_helper.js +133 -133
  25. package/components/document/internal/Selection_range.d.ts +26 -26
  26. package/components/document/internal/Selection_range.js +58 -58
  27. package/components/document/internal/palette.row.svelte.d.ts +36 -36
  28. package/components/document/internal/palette.svelte +1 -1
  29. package/components/document/internal/palette.svelte.d.ts +67 -67
  30. package/components/document/rich.edit.svelte.d.ts +23 -23
  31. package/components/edit.field.svelte.d.ts +27 -27
  32. package/components/file.loader.svelte.d.ts +25 -25
  33. package/components/icon.svelte.d.ts +62 -62
  34. package/components/input.text.svelte.d.ts +29 -29
  35. package/components/inputbox.ltop.svelte.d.ts +50 -50
  36. package/components/list/List.d.ts +34 -34
  37. package/components/list/List.js +40 -40
  38. package/components/list/internal/list.element.svelte.d.ts +29 -29
  39. package/components/list/internal/list.inserter.svelte.d.ts +19 -19
  40. package/components/list/list.combo.svelte.d.ts +21 -21
  41. package/components/list/list.date.svelte.d.ts +18 -18
  42. package/components/list/list.inserter.svelte.d.ts +17 -17
  43. package/components/list/list.static.svelte.d.ts +17 -17
  44. package/components/list/list.summary.svelte.d.ts +19 -19
  45. package/components/list/list.svelte.d.ts +42 -42
  46. package/components/list/list.title.svelte.d.ts +19 -19
  47. package/components/menu.d.ts +4 -3
  48. package/components/menu.js +54 -48
  49. package/components/radio.svelte.d.ts +25 -25
  50. package/components/sidebar/sidebar.brand.svelte.d.ts +29 -29
  51. package/components/sidebar/sidebar.group.svelte.d.ts +31 -31
  52. package/components/sidebar/sidebar.item.svelte +51 -5
  53. package/components/sidebar/sidebar.item.svelte.d.ts +28 -28
  54. package/components/sidebar/sidebar.svelte.d.ts +27 -27
  55. package/components/simple.table.svelte.d.ts +41 -41
  56. package/components/table/_template.table.svelte.d.ts +57 -57
  57. package/components/table/column.svelte.d.ts +19 -19
  58. package/components/table/item.svelte.d.ts +17 -17
  59. package/components/table/table.d.ts +11 -11
  60. package/components/table/table.js +11 -11
  61. package/components/table/table.svelte.d.ts +75 -75
  62. package/components/textarea.ltop.svelte.d.ts +35 -35
  63. package/components/tile.title.svelte.d.ts +29 -29
  64. package/desk.svelte +57 -58
  65. package/desk.svelte.d.ts +23 -23
  66. package/form.box.svelte.d.ts +35 -35
  67. package/horizontal.toolbar.svelte +10 -13
  68. package/horizontal.toolbar.svelte.d.ts +23 -23
  69. package/index.d.ts +43 -43
  70. package/index.js +49 -49
  71. package/internal/configurable.content.svelte.d.ts +27 -27
  72. package/internal/loading.svelte.d.ts +23 -23
  73. package/modal.svelte +2 -2
  74. package/modal.svelte.d.ts +35 -35
  75. package/operations.svelte +0 -2
  76. package/operations.svelte.d.ts +16 -16
  77. package/package.json +8 -7
  78. package/page.row.svelte.d.ts +31 -31
  79. package/page.svelte.d.ts +43 -43
  80. package/stores.d.ts +33 -33
  81. package/stores.js +0 -0
  82. package/tenant.members.svelte.d.ts +33 -33
  83. package/tile.svelte.d.ts +33 -33
  84. package/tiles.row.svelte.d.ts +31 -31
  85. package/tiles.vertical.row.svelte.d.ts +29 -29
  86. package/updates.d.ts +3 -3
  87. package/updates.js +0 -0
  88. package/utils.d.ts +26 -26
  89. package/utils.js +0 -0
  90. package/vertical.toolbar.svelte +2 -1
  91. 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
+ }
@@ -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
+ }
@@ -1,29 +1,29 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- item: object;
5
- title?: string | undefined;
6
- summary?: string | undefined;
7
- typename?: string | undefined;
8
- toolbar_operations: any;
9
- context_menu: any;
10
- activate?: (() => void) | undefined;
11
- edit_property?: ((field: string) => void) | undefined;
12
- };
13
- events: {
14
- [evt: string]: CustomEvent<any>;
15
- };
16
- slots: {
17
- left: {
18
- element: object;
19
- };
20
- };
21
- };
22
- export type ListProps = typeof __propDef.props;
23
- export type ListEvents = typeof __propDef.events;
24
- export type ListSlots = typeof __propDef.slots;
25
- export default class List extends SvelteComponentTyped<ListProps, ListEvents, ListSlots> {
26
- get activate(): () => void;
27
- get edit_property(): (field: string) => void;
28
- }
29
- export {};
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ item: object;
5
+ title?: string | undefined;
6
+ summary?: string | undefined;
7
+ typename?: string | undefined;
8
+ toolbar_operations: any;
9
+ context_menu: any;
10
+ activate?: (() => void) | undefined;
11
+ edit_property?: ((field: string) => void) | undefined;
12
+ };
13
+ events: {
14
+ [evt: string]: CustomEvent<any>;
15
+ };
16
+ slots: {
17
+ left: {
18
+ element: object;
19
+ };
20
+ };
21
+ };
22
+ export type ListProps = typeof __propDef.props;
23
+ export type ListEvents = typeof __propDef.events;
24
+ export type ListSlots = typeof __propDef.slots;
25
+ export default class List extends SvelteComponentTyped<ListProps, ListEvents, ListSlots> {
26
+ get activate(): () => void;
27
+ get edit_property(): (field: string) => void;
28
+ }
29
+ export {};