@humandialog/forms.svelte 0.5.4 → 0.5.5
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/components/Fab.svelte +5 -3
- package/components/combo/combo.svelte +1 -1
- package/components/document/rich.edit.svelte +30 -7
- package/components/document/rich.edit.svelte.d.ts +2 -2
- package/components/kanban/Kanban.d.ts +24 -4
- package/components/kanban/Kanban.js +60 -4
- package/components/kanban/internal/kanban.card.svelte +148 -70
- package/components/kanban/internal/kanban.card.svelte.d.ts +2 -5
- package/components/kanban/internal/kanban.column.svelte +116 -72
- package/components/kanban/internal/kanban.column.svelte.d.ts +9 -9
- package/components/kanban/internal/kanban.inserter.svelte +1 -1
- package/components/kanban/internal/kanban.move.menu.svelte +11 -8
- package/components/kanban/internal/kanban.move.menu.svelte.d.ts +3 -0
- package/components/kanban/internal/kanban.props.svelte +140 -0
- package/components/kanban/internal/kanban.props.svelte.d.ts +19 -0
- package/components/kanban/kanban.callbacks.svelte +2 -8
- package/components/kanban/kanban.callbacks.svelte.d.ts +1 -4
- package/components/kanban/kanban.column.svelte +8 -8
- package/components/kanban/kanban.column.svelte.d.ts +4 -4
- package/components/kanban/kanban.combo.svelte +36 -0
- package/components/kanban/kanban.combo.svelte.d.ts +24 -0
- package/components/kanban/kanban.date.svelte +30 -0
- package/components/kanban/kanban.date.svelte.d.ts +21 -0
- package/components/kanban/kanban.source.svelte +25 -0
- package/components/kanban/kanban.source.svelte.d.ts +23 -0
- package/components/kanban/kanban.static.svelte +28 -0
- package/components/kanban/kanban.static.svelte.d.ts +20 -0
- package/components/kanban/kanban.summary.svelte +4 -0
- package/components/kanban/kanban.summary.svelte.d.ts +2 -0
- package/components/kanban/kanban.svelte +390 -55
- package/components/kanban/kanban.svelte.d.ts +32 -12
- package/components/kanban/kanban.tags.svelte +34 -0
- package/components/kanban/kanban.tags.svelte.d.ts +23 -0
- package/components/kanban/kanban.title.svelte +2 -0
- package/components/kanban/kanban.title.svelte.d.ts +1 -0
- package/components/list/List.d.ts +8 -1
- package/components/list/List.js +9 -0
- package/components/list/internal/list.element.summary.svelte +21 -7
- package/components/list/internal/list.element.summary.svelte.d.ts +1 -0
- package/components/list/internal/list.element.svelte +16 -11
- package/components/list/list.svelte +1 -1
- package/components/sidebar/sidebar.group.svelte +41 -3
- package/components/sidebar/sidebar.group.svelte.d.ts +6 -0
- package/components/tag.svelte +40 -0
- package/components/tag.svelte.d.ts +19 -0
- package/components/tags.svelte +203 -0
- package/components/tags.svelte.d.ts +31 -0
- package/horizontal.toolbar.svelte +23 -4
- package/horizontal.toolbar.svelte.d.ts +2 -0
- package/index.d.ts +9 -2
- package/index.js +9 -2
- package/operations.svelte +52 -23
- package/package.json +9 -1
- package/page.svelte +3 -3
- package/page.svelte.d.ts +2 -2
- package/tenant.members.svelte +1 -1
- package/updates.d.ts +1 -0
- package/updates.js +16 -0
- package/utils.js +11 -1
- package/vertical.toolbar.svelte +31 -6
- package/vertical.toolbar.svelte.d.ts +2 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<script>import { getContext, setContext } from "svelte";
|
|
2
|
+
import { KanbanCardTop, KanbanCardMiddle, KanbanCardBottom } from "./Kanban";
|
|
3
|
+
import { rList_property_combo } from "../list/List";
|
|
4
|
+
import {} from "../combo/combo";
|
|
5
|
+
export let name = "";
|
|
6
|
+
export let a = "";
|
|
7
|
+
export let onSelect = void 0;
|
|
8
|
+
export let association = false;
|
|
9
|
+
export let top = false;
|
|
10
|
+
export let middle = true;
|
|
11
|
+
export let bottom = false;
|
|
12
|
+
let definition = getContext("rKanban-definition");
|
|
13
|
+
let combo_property = new rList_property_combo();
|
|
14
|
+
if (!a && name) {
|
|
15
|
+
combo_property.a = name;
|
|
16
|
+
combo_property.name = name;
|
|
17
|
+
} else if (!name && a) {
|
|
18
|
+
combo_property.a = a;
|
|
19
|
+
combo_property.name = a;
|
|
20
|
+
} else {
|
|
21
|
+
combo_property.a = a;
|
|
22
|
+
combo_property.name = name;
|
|
23
|
+
}
|
|
24
|
+
combo_property.onSelect = onSelect;
|
|
25
|
+
combo_property.association = association;
|
|
26
|
+
if (top)
|
|
27
|
+
combo_property.position = KanbanCardTop;
|
|
28
|
+
else if (bottom)
|
|
29
|
+
combo_property.position = KanbanCardBottom;
|
|
30
|
+
else
|
|
31
|
+
combo_property.position = KanbanCardMiddle;
|
|
32
|
+
definition.properties.push(combo_property);
|
|
33
|
+
setContext("rCombo-definition", combo_property.combo_definition);
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<slot/>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
a?: string | undefined;
|
|
6
|
+
onSelect?: undefined;
|
|
7
|
+
association?: boolean | undefined;
|
|
8
|
+
top?: boolean | undefined;
|
|
9
|
+
middle?: boolean | undefined;
|
|
10
|
+
bottom?: boolean | undefined;
|
|
11
|
+
};
|
|
12
|
+
events: {
|
|
13
|
+
[evt: string]: CustomEvent<any>;
|
|
14
|
+
};
|
|
15
|
+
slots: {
|
|
16
|
+
default: {};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export type KanbanProps = typeof __propDef.props;
|
|
20
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
21
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
22
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script>import { getContext } from "svelte";
|
|
2
|
+
import { KanbanCardTop, KanbanCardMiddle, KanbanCardBottom } from "./Kanban";
|
|
3
|
+
import { rList_property_type, rList_property } from "../list/List";
|
|
4
|
+
export let name = "";
|
|
5
|
+
export let a = "";
|
|
6
|
+
export let onSelect = void 0;
|
|
7
|
+
export let top = false;
|
|
8
|
+
export let middle = true;
|
|
9
|
+
export let bottom = false;
|
|
10
|
+
let definition = getContext("rKanban-definition");
|
|
11
|
+
let date_property = new rList_property(rList_property_type.Date);
|
|
12
|
+
if (!a && name) {
|
|
13
|
+
date_property.a = name;
|
|
14
|
+
date_property.name = name;
|
|
15
|
+
} else if (!name && a) {
|
|
16
|
+
date_property.a = a;
|
|
17
|
+
date_property.name = a;
|
|
18
|
+
} else {
|
|
19
|
+
date_property.a = a;
|
|
20
|
+
date_property.name = name;
|
|
21
|
+
}
|
|
22
|
+
date_property.onSelect = onSelect;
|
|
23
|
+
if (top)
|
|
24
|
+
date_property.position = KanbanCardTop;
|
|
25
|
+
else if (bottom)
|
|
26
|
+
date_property.position = KanbanCardBottom;
|
|
27
|
+
else
|
|
28
|
+
date_property.position = KanbanCardMiddle;
|
|
29
|
+
definition.properties.push(date_property);
|
|
30
|
+
</script>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
a?: string | undefined;
|
|
6
|
+
onSelect?: undefined;
|
|
7
|
+
top?: boolean | undefined;
|
|
8
|
+
middle?: boolean | undefined;
|
|
9
|
+
bottom?: boolean | undefined;
|
|
10
|
+
};
|
|
11
|
+
events: {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {};
|
|
15
|
+
};
|
|
16
|
+
export type KanbanProps = typeof __propDef.props;
|
|
17
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
18
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
19
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<script>import { getContext } from "svelte";
|
|
2
|
+
import { contextItemsStore, contextTypesStore } from "../../stores";
|
|
3
|
+
export let context = "";
|
|
4
|
+
export let objects = void 0;
|
|
5
|
+
export let self = void 0;
|
|
6
|
+
export let a = "";
|
|
7
|
+
export let key = "";
|
|
8
|
+
export let typename = "";
|
|
9
|
+
export let stateAttrib = "";
|
|
10
|
+
export let orderAttrib = "";
|
|
11
|
+
let ctx = context ? context : getContext("ctx");
|
|
12
|
+
if (!self && ctx)
|
|
13
|
+
self = $contextItemsStore[ctx];
|
|
14
|
+
if (!typename && ctx)
|
|
15
|
+
typename = $contextTypesStore[ctx];
|
|
16
|
+
let definition = getContext("rKanban-definition");
|
|
17
|
+
definition.context = context;
|
|
18
|
+
definition.objects = objects;
|
|
19
|
+
definition.self = self;
|
|
20
|
+
definition.a = a;
|
|
21
|
+
definition.stateAttrib = stateAttrib;
|
|
22
|
+
definition.orderAttrib = orderAttrib;
|
|
23
|
+
definition.key = key;
|
|
24
|
+
definition.typename = typename;
|
|
25
|
+
</script>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
context?: string | undefined;
|
|
5
|
+
objects?: object[] | undefined;
|
|
6
|
+
self?: object | undefined;
|
|
7
|
+
a?: string | undefined;
|
|
8
|
+
key?: string | undefined;
|
|
9
|
+
typename?: string | undefined;
|
|
10
|
+
stateAttrib?: string | undefined;
|
|
11
|
+
orderAttrib?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
events: {
|
|
14
|
+
[evt: string]: CustomEvent<any>;
|
|
15
|
+
};
|
|
16
|
+
slots: {};
|
|
17
|
+
};
|
|
18
|
+
export type KanbanProps = typeof __propDef.props;
|
|
19
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
20
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
21
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<script>import { getContext } from "svelte";
|
|
2
|
+
import { KanbanCardTop, KanbanCardMiddle, KanbanCardBottom } from "./Kanban";
|
|
3
|
+
import { rList_property_type, rList_property } from "../list/List";
|
|
4
|
+
export let name = "";
|
|
5
|
+
export let a = "";
|
|
6
|
+
export let top = false;
|
|
7
|
+
export let middle = true;
|
|
8
|
+
export let bottom = false;
|
|
9
|
+
let definition = getContext("rKanban-definition");
|
|
10
|
+
let date_property = new rList_property(rList_property_type.Static);
|
|
11
|
+
if (!a && name) {
|
|
12
|
+
date_property.a = name;
|
|
13
|
+
date_property.name = name;
|
|
14
|
+
} else if (!name && a) {
|
|
15
|
+
date_property.a = a;
|
|
16
|
+
date_property.name = a;
|
|
17
|
+
} else {
|
|
18
|
+
date_property.a = a;
|
|
19
|
+
date_property.name = name;
|
|
20
|
+
}
|
|
21
|
+
if (top)
|
|
22
|
+
date_property.position = KanbanCardTop;
|
|
23
|
+
else if (bottom)
|
|
24
|
+
date_property.position = KanbanCardBottom;
|
|
25
|
+
else
|
|
26
|
+
date_property.position = KanbanCardMiddle;
|
|
27
|
+
definition.properties.push(date_property);
|
|
28
|
+
</script>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: {
|
|
4
|
+
name?: string | undefined;
|
|
5
|
+
a?: string | undefined;
|
|
6
|
+
top?: boolean | undefined;
|
|
7
|
+
middle?: boolean | undefined;
|
|
8
|
+
bottom?: boolean | undefined;
|
|
9
|
+
};
|
|
10
|
+
events: {
|
|
11
|
+
[evt: string]: CustomEvent<any>;
|
|
12
|
+
};
|
|
13
|
+
slots: {};
|
|
14
|
+
};
|
|
15
|
+
export type KanbanProps = typeof __propDef.props;
|
|
16
|
+
export type KanbanEvents = typeof __propDef.events;
|
|
17
|
+
export type KanbanSlots = typeof __propDef.slots;
|
|
18
|
+
export default class Kanban extends SvelteComponentTyped<KanbanProps, KanbanEvents, KanbanSlots> {
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
<script>import { getContext } from "svelte";
|
|
2
2
|
export let a;
|
|
3
|
+
export let onChange = void 0;
|
|
4
|
+
export let readOnly = false;
|
|
3
5
|
let definition = getContext("rKanban-definition");
|
|
4
6
|
definition.summaryAttrib = a;
|
|
7
|
+
definition.summaryOnChange = onChange;
|
|
8
|
+
definition.summaryReadOnly = readOnly;
|
|
5
9
|
</script>
|