@humandialog/forms.svelte 1.7.27 → 1.8.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/components/Fab.25.svelte +473 -0
- package/components/Fab.25.svelte.d.ts +18 -0
- package/components/Fab.svelte +51 -170
- package/components/Floating_container.25.svelte +178 -0
- package/components/Floating_container.25.svelte.d.ts +23 -0
- package/components/Floating_container.svelte +18 -6
- package/components/Grid.menu.svelte +15 -16
- package/components/Grid.menu.svelte.d.ts +2 -2
- package/components/breadcrumb.svelte +27 -27
- package/components/checkbox.svelte +1 -1
- package/components/combo/combo.svelte +60 -79
- package/components/combo/combo.svelte.d.ts +1 -0
- package/components/contextmenu-25.svelte +518 -0
- package/components/contextmenu-25.svelte.d.ts +26 -0
- package/components/contextmenu.svelte +179 -65
- package/components/contextmenu.svelte.d.ts +2 -2
- package/components/date.svelte +42 -21
- package/components/date.svelte.d.ts +1 -0
- package/components/delayed.spinner.svelte +2 -1
- package/components/document/editor.svelte +21 -31
- package/components/document/editor.svelte.d.ts +0 -2
- package/components/document/internal/palette.row.svelte +10 -8
- package/components/document/internal/palette.svelte +7 -8
- package/components/document/rich.edit.svelte +10 -10
- package/components/edit.field.svelte +1 -1
- package/components/input.text.svelte.d.ts +2 -2
- package/components/inputbox.ltop.svelte +1 -1
- package/components/inputbox.ltop.svelte.d.ts +12 -12
- package/components/kanban/internal/kanban.card.svelte +27 -47
- package/components/kanban/internal/kanban.column.svelte +44 -24
- package/components/kanban/internal/kanban.inserter.svelte +11 -14
- package/components/kanban/internal/kanban.move.menu.svelte +12 -12
- package/components/kanban/internal/kanban.props.svelte +24 -9
- package/components/kanban/kanban.svelte +24 -77
- package/components/kanban/kanban.svelte.d.ts +2 -0
- package/components/kanban copy.zip +0 -0
- package/components/list/List.d.ts +1 -0
- package/components/list/List.js +1 -0
- package/components/list/internal/list.element copy.svelte +530 -0
- package/components/list/internal/list.element copy.svelte.d.ts +35 -0
- package/components/list/internal/list.element.svelte +308 -268
- package/components/list/internal/list.element.svelte.d.ts +5 -7
- package/components/list/internal/list.inserter.svelte +38 -6
- package/components/list/internal/note.txt +5 -0
- package/components/list/list.svelte +32 -11
- package/components/list/list.svelte.d.ts +5 -3
- package/components/list/list.title.svelte +2 -0
- package/components/list/list.title.svelte.d.ts +1 -0
- package/components/menu.d.ts +1 -1
- package/components/menu.js +3 -3
- package/components/paginator.svelte +79 -9
- package/components/prose.editable.p.svelte.d.ts +2 -2
- package/components/prose.editable.span.svelte.d.ts +2 -2
- package/components/r.edit.svelte +9 -0
- package/components/r.edit.svelte.d.ts +23 -0
- package/components/r.editable.svelte +74 -0
- package/components/r.editable.svelte.d.ts +31 -0
- package/components/r.figcaption.svelte +5 -0
- package/components/r.figcaption.svelte.d.ts +27 -0
- package/components/r.figure.svelte +25 -0
- package/components/r.figure.svelte.d.ts +29 -0
- package/components/r.icon.svelte +229 -0
- package/components/r.icon.svelte.d.ts +33 -0
- package/components/radio.svelte +1 -1
- package/components/ricons/arrow-up.svelte +11 -0
- package/components/ricons/arrow-up.svelte.d.ts +27 -0
- package/components/ricons/barcode.svelte +14 -0
- package/components/ricons/barcode.svelte.d.ts +27 -0
- package/components/ricons/bold.svelte +10 -0
- package/components/ricons/bold.svelte.d.ts +27 -0
- package/components/ricons/calendar.svelte +13 -0
- package/components/ricons/calendar.svelte.d.ts +27 -0
- package/components/ricons/calendars.svelte +16 -0
- package/components/ricons/calendars.svelte.d.ts +27 -0
- package/components/ricons/cat.svelte +14 -0
- package/components/ricons/cat.svelte.d.ts +27 -0
- package/components/ricons/check-check.svelte +12 -0
- package/components/ricons/check-check.svelte.d.ts +27 -0
- package/components/ricons/check.svelte +18 -0
- package/components/ricons/check.svelte.d.ts +27 -0
- package/components/ricons/chess-rook.svelte +17 -0
- package/components/ricons/chess-rook.svelte.d.ts +27 -0
- package/components/ricons/chevron-down.svelte +11 -0
- package/components/ricons/chevron-down.svelte.d.ts +27 -0
- package/components/ricons/chevron-left.svelte +11 -0
- package/components/ricons/chevron-left.svelte.d.ts +27 -0
- package/components/ricons/chevron-right.svelte +11 -0
- package/components/ricons/chevron-right.svelte.d.ts +27 -0
- package/components/ricons/chevron-up.svelte +11 -0
- package/components/ricons/chevron-up.svelte.d.ts +27 -0
- package/components/ricons/chevrons-down.svelte +12 -0
- package/components/ricons/chevrons-down.svelte.d.ts +27 -0
- package/components/ricons/chevrons-left-right.svelte +12 -0
- package/components/ricons/chevrons-left-right.svelte.d.ts +27 -0
- package/components/ricons/chevrons-left.svelte +12 -0
- package/components/ricons/chevrons-left.svelte.d.ts +27 -0
- package/components/ricons/chevrons-right.svelte +12 -0
- package/components/ricons/chevrons-right.svelte.d.ts +27 -0
- package/components/ricons/chevrons-up-down.svelte +12 -0
- package/components/ricons/chevrons-up-down.svelte.d.ts +27 -0
- package/components/ricons/chevrons-up.svelte +12 -0
- package/components/ricons/chevrons-up.svelte.d.ts +27 -0
- package/components/ricons/circle-check.svelte +28 -0
- package/components/ricons/circle-check.svelte.d.ts +23 -0
- package/components/ricons/circle-dashed.svelte +19 -0
- package/components/ricons/circle-dashed.svelte.d.ts +27 -0
- package/components/ricons/circle-dot-dashed.svelte +20 -0
- package/components/ricons/circle-dot-dashed.svelte.d.ts +27 -0
- package/components/ricons/circle.svelte +30 -0
- package/components/ricons/circle.svelte.d.ts +23 -0
- package/components/ricons/clipboard-list.svelte +17 -0
- package/components/ricons/clipboard-list.svelte.d.ts +27 -0
- package/components/ricons/clipboard-minus.svelte +9 -0
- package/components/ricons/clipboard-minus.svelte.d.ts +23 -0
- package/components/ricons/clipboard-pen-line.svelte +18 -0
- package/components/ricons/clipboard-pen-line.svelte.d.ts +27 -0
- package/components/ricons/code-xml.svelte +12 -0
- package/components/ricons/code-xml.svelte.d.ts +27 -0
- package/components/ricons/download.svelte +13 -0
- package/components/ricons/download.svelte.d.ts +27 -0
- package/components/ricons/ellipsis-vertical.svelte +14 -0
- package/components/ricons/ellipsis-vertical.svelte.d.ts +27 -0
- package/components/ricons/file-archive.svelte +18 -0
- package/components/ricons/file-archive.svelte.d.ts +27 -0
- package/components/ricons/file-text.svelte +17 -0
- package/components/ricons/file-text.svelte.d.ts +27 -0
- package/components/ricons/folder.svelte +12 -0
- package/components/ricons/folder.svelte.d.ts +27 -0
- package/components/ricons/heading-1.svelte +13 -0
- package/components/ricons/heading-1.svelte.d.ts +27 -0
- package/components/ricons/heading-2.svelte +13 -0
- package/components/ricons/heading-2.svelte.d.ts +27 -0
- package/components/ricons/heading-3.svelte +14 -0
- package/components/ricons/heading-3.svelte.d.ts +27 -0
- package/components/ricons/heading-4.svelte +14 -0
- package/components/ricons/heading-4.svelte.d.ts +27 -0
- package/components/ricons/heading-5.svelte +14 -0
- package/components/ricons/heading-5.svelte.d.ts +27 -0
- package/components/ricons/image.svelte +12 -0
- package/components/ricons/image.svelte.d.ts +27 -0
- package/components/ricons/italic.svelte +12 -0
- package/components/ricons/italic.svelte.d.ts +27 -0
- package/components/ricons/languages.svelte +15 -0
- package/components/ricons/languages.svelte.d.ts +27 -0
- package/components/ricons/list-checks.svelte +15 -0
- package/components/ricons/list-checks.svelte.d.ts +27 -0
- package/components/ricons/list-minus.svelte +14 -0
- package/components/ricons/list-minus.svelte.d.ts +27 -0
- package/components/ricons/list-ordered.svelte +16 -0
- package/components/ricons/list-ordered.svelte.d.ts +27 -0
- package/components/ricons/list-plus.svelte +14 -0
- package/components/ricons/list-plus.svelte.d.ts +27 -0
- package/components/ricons/list.svelte +15 -0
- package/components/ricons/list.svelte.d.ts +27 -0
- package/components/ricons/loader-circle.svelte +19 -0
- package/components/ricons/loader-circle.svelte.d.ts +27 -0
- package/components/ricons/log-in.svelte +12 -0
- package/components/ricons/log-in.svelte.d.ts +27 -0
- package/components/ricons/log-out.svelte +12 -0
- package/components/ricons/log-out.svelte.d.ts +27 -0
- package/components/ricons/message-square.svelte +12 -0
- package/components/ricons/message-square.svelte.d.ts +27 -0
- package/components/ricons/messages-square.svelte +15 -0
- package/components/ricons/messages-square.svelte.d.ts +27 -0
- package/components/ricons/minus.svelte +10 -0
- package/components/ricons/minus.svelte.d.ts +27 -0
- package/components/ricons/notebook-tabs.svelte +19 -0
- package/components/ricons/notebook-tabs.svelte.d.ts +27 -0
- package/components/ricons/notebook.svelte +16 -0
- package/components/ricons/notebook.svelte.d.ts +27 -0
- package/components/ricons/package.svelte +22 -0
- package/components/ricons/package.svelte.d.ts +27 -0
- package/components/ricons/paperclip.svelte +12 -0
- package/components/ricons/paperclip.svelte.d.ts +27 -0
- package/components/ricons/pencil.svelte +12 -0
- package/components/ricons/pencil.svelte.d.ts +27 -0
- package/components/ricons/pilcrow.svelte +12 -0
- package/components/ricons/pilcrow.svelte.d.ts +27 -0
- package/components/ricons/save.svelte +12 -0
- package/components/ricons/save.svelte.d.ts +27 -0
- package/components/ricons/square-check-big.svelte +13 -0
- package/components/ricons/square-check-big.svelte.d.ts +27 -0
- package/components/ricons/square-pen.svelte +14 -0
- package/components/ricons/square-pen.svelte.d.ts +27 -0
- package/components/ricons/square.svelte +10 -0
- package/components/ricons/square.svelte.d.ts +27 -0
- package/components/ricons/strikethrough.svelte +13 -0
- package/components/ricons/strikethrough.svelte.d.ts +27 -0
- package/components/ricons/sun-moon.svelte +15 -0
- package/components/ricons/sun-moon.svelte.d.ts +27 -0
- package/components/ricons/table.svelte +13 -0
- package/components/ricons/table.svelte.d.ts +27 -0
- package/components/ricons/tag.svelte +12 -0
- package/components/ricons/tag.svelte.d.ts +27 -0
- package/components/ricons/text-quote.svelte +14 -0
- package/components/ricons/text-quote.svelte.d.ts +27 -0
- package/components/ricons/turtle.svelte +13 -0
- package/components/ricons/turtle.svelte.d.ts +27 -0
- package/components/ricons/underline.svelte +11 -0
- package/components/ricons/underline.svelte.d.ts +27 -0
- package/components/ricons/upload.svelte +13 -0
- package/components/ricons/upload.svelte.d.ts +27 -0
- package/components/ricons/user.svelte +12 -0
- package/components/ricons/user.svelte.d.ts +27 -0
- package/components/ricons/users.svelte +14 -0
- package/components/ricons/users.svelte.d.ts +27 -0
- package/components/ricons/x.svelte +11 -0
- package/components/ricons/x.svelte.d.ts +27 -0
- package/components/sidebar/sidebar.brand.svelte +14 -13
- package/components/sidebar/sidebar.brand.svelte.d.ts +2 -2
- package/components/sidebar/sidebar.group.svelte +52 -30
- package/components/sidebar/sidebar.item.svelte +35 -141
- package/components/sidebar/sidebar.item.svelte.d.ts +2 -5
- package/components/sidebar/sidebar.list.svelte +8 -8
- package/components/sidebar/sidebar.svelte +19 -2
- package/components/simple.table.svelte.d.ts +4 -4
- package/components/table/_template.table.svelte.d.ts +4 -4
- package/components/tags.svelte +10 -3
- package/components/tags.svelte.d.ts +1 -0
- package/components/textarea.ltop.svelte.d.ts +2 -2
- package/components/tile.title.svelte.d.ts +2 -2
- package/desk.svelte +122 -128
- package/dialog.svelte +17 -7
- package/form.box.svelte.d.ts +4 -4
- package/horizontal.nav.tabs.svelte +197 -23
- package/horizontal.nav.tabs.svelte.d.ts +2 -2
- package/horizontal.toolbar.svelte +25 -18
- package/horizontal.toolbar.svelte.d.ts +2 -2
- package/index.d.ts +10 -3
- package/index.js +10 -3
- package/operations.svelte +51 -22
- package/package.json +89 -1
- package/page.row.svelte.d.ts +2 -2
- package/page.svelte +17 -7
- package/page.svelte.d.ts +10 -10
- package/paper.header.svelte +4 -0
- package/paper.header.svelte.d.ts +27 -0
- package/paper.nav.svelte +8 -0
- package/paper.nav.svelte.d.ts +27 -0
- package/paper.svelte +22 -6
- package/paper.svelte.d.ts +2 -0
- package/paper.table.svelte +27 -0
- package/paper.table.svelte.d.ts +27 -0
- package/paper.top.margin.svelte +5 -0
- package/paper.top.margin.svelte.d.ts +27 -0
- package/stores.d.ts +1 -1
- package/tenant.create.svelte +93 -0
- package/tenant.create.svelte.d.ts +29 -0
- package/tenant.members.svelte +116 -93
- package/tile.svelte.d.ts +4 -4
- package/tiles.row.svelte.d.ts +2 -2
- package/tiles.vertical.row.svelte.d.ts +2 -2
- package/updates.d.ts +4 -0
- package/updates.js +56 -14
- package/utils.d.ts +16 -4
- package/utils.js +214 -99
- package/vertical.toolbar.svelte +62 -47
- package/vertical.toolbar.svelte.d.ts +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} PaperProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} PaperEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} PaperSlots */
|
|
4
|
+
export default class Paper extends SvelteComponentTyped<{
|
|
5
|
+
[x: string]: never;
|
|
6
|
+
}, {
|
|
7
|
+
[evt: string]: CustomEvent<any>;
|
|
8
|
+
}, {
|
|
9
|
+
default: {};
|
|
10
|
+
}> {
|
|
11
|
+
}
|
|
12
|
+
export type PaperProps = typeof __propDef.props;
|
|
13
|
+
export type PaperEvents = typeof __propDef.events;
|
|
14
|
+
export type PaperSlots = typeof __propDef.slots;
|
|
15
|
+
import { SvelteComponentTyped } from "svelte";
|
|
16
|
+
declare const __propDef: {
|
|
17
|
+
props: {
|
|
18
|
+
[x: string]: never;
|
|
19
|
+
};
|
|
20
|
+
events: {
|
|
21
|
+
[evt: string]: CustomEvent<any>;
|
|
22
|
+
};
|
|
23
|
+
slots: {
|
|
24
|
+
default: {};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|
package/stores.d.ts
CHANGED
|
@@ -53,4 +53,4 @@ export const fabCollapsed: import("svelte/store").Writable<boolean>;
|
|
|
53
53
|
export const showFABAlways: import("svelte/store").Writable<boolean>;
|
|
54
54
|
export const leftHandedFAB: import("svelte/store").Writable<boolean>;
|
|
55
55
|
export const fabHiddenDueToPopup: import("svelte/store").Writable<boolean>;
|
|
56
|
-
export const navKey: import("svelte/store").Readable<string>;
|
|
56
|
+
export const navKey: import("svelte/store").Readable<string | undefined>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import {reef, session} from '@humandialog/auth.svelte'
|
|
3
|
+
import {
|
|
4
|
+
Modal, Input,
|
|
5
|
+
randomString, i18n, onErrorShowAlert, reloadWholeApp } from './'
|
|
6
|
+
|
|
7
|
+
export let afterGroupCreated = undefined
|
|
8
|
+
|
|
9
|
+
let newGroupParams = {
|
|
10
|
+
name: ''
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
let newGroupModalVisible = false;
|
|
14
|
+
let newGroupIdempotencyToken = ''
|
|
15
|
+
export function show()
|
|
16
|
+
{
|
|
17
|
+
newGroupParams.name = '';
|
|
18
|
+
newGroupModalVisible = true;
|
|
19
|
+
newGroupIdempotencyToken = randomString(8);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function hide()
|
|
23
|
+
{
|
|
24
|
+
newGroupModalVisible = false;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
async function onNewGroupOK()
|
|
28
|
+
{
|
|
29
|
+
const appId = $session.appId
|
|
30
|
+
if(!appId)
|
|
31
|
+
{
|
|
32
|
+
return onNewGroupCancel()
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const appInstanceId = $session.configuration.tenant
|
|
36
|
+
if(!appInstanceId)
|
|
37
|
+
{
|
|
38
|
+
return onNewGroupCancel()
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
const body = {
|
|
42
|
+
app_id: $session.appId,
|
|
43
|
+
tenant: $session.configuration.tenant,
|
|
44
|
+
org_name: newGroupParams.name,
|
|
45
|
+
idempotency_token: newGroupIdempotencyToken
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const res = await reef.fetch( "/dev/create-group-for-me",
|
|
49
|
+
{
|
|
50
|
+
method: 'post',
|
|
51
|
+
body : JSON.stringify(body)
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
if(res.ok)
|
|
55
|
+
{
|
|
56
|
+
await reef.refreshTokens()
|
|
57
|
+
if(afterGroupCreated)
|
|
58
|
+
afterGroupCreated()
|
|
59
|
+
//reloadWholeApp()
|
|
60
|
+
}
|
|
61
|
+
else
|
|
62
|
+
{
|
|
63
|
+
const result = await res.json();
|
|
64
|
+
console.error(result.error);
|
|
65
|
+
onErrorShowAlert(result.error)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
newGroupParams.name = '';
|
|
69
|
+
newGroupModalVisible = false;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function onNewGroupCancel()
|
|
73
|
+
{
|
|
74
|
+
newGroupParams.name = '';
|
|
75
|
+
newGroupModalVisible = false;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
</script>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
<Modal bind:open={newGroupModalVisible}
|
|
83
|
+
title={i18n(['Create group', 'Crear grupo', 'Utwórz grupę'])}
|
|
84
|
+
okCaption={i18n(['Create', 'Crear', 'Utwórz'])}
|
|
85
|
+
onOkCallback={onNewGroupOK}
|
|
86
|
+
onCancelCallback={onNewGroupCancel}
|
|
87
|
+
>
|
|
88
|
+
<Input label={i18n(['Group name', 'Nombre del grupo', 'Nazwa grupy'])}
|
|
89
|
+
placeholder=''
|
|
90
|
+
self={newGroupParams}
|
|
91
|
+
a="name"
|
|
92
|
+
required/>
|
|
93
|
+
</Modal>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** @typedef {typeof __propDef.props} TenantProps */
|
|
2
|
+
/** @typedef {typeof __propDef.events} TenantEvents */
|
|
3
|
+
/** @typedef {typeof __propDef.slots} TenantSlots */
|
|
4
|
+
export default class Tenant extends SvelteComponentTyped<{
|
|
5
|
+
hide?: (() => void) | undefined;
|
|
6
|
+
show?: (() => void) | undefined;
|
|
7
|
+
afterGroupCreated?: any;
|
|
8
|
+
}, {
|
|
9
|
+
[evt: string]: CustomEvent<any>;
|
|
10
|
+
}, {}> {
|
|
11
|
+
get show(): () => void;
|
|
12
|
+
get hide(): () => void;
|
|
13
|
+
}
|
|
14
|
+
export type TenantProps = typeof __propDef.props;
|
|
15
|
+
export type TenantEvents = typeof __propDef.events;
|
|
16
|
+
export type TenantSlots = typeof __propDef.slots;
|
|
17
|
+
import { SvelteComponentTyped } from "svelte";
|
|
18
|
+
declare const __propDef: {
|
|
19
|
+
props: {
|
|
20
|
+
hide?: (() => void) | undefined;
|
|
21
|
+
show?: (() => void) | undefined;
|
|
22
|
+
afterGroupCreated?: any;
|
|
23
|
+
};
|
|
24
|
+
events: {
|
|
25
|
+
[evt: string]: CustomEvent<any>;
|
|
26
|
+
};
|
|
27
|
+
slots: {};
|
|
28
|
+
};
|
|
29
|
+
export {};
|
package/tenant.members.svelte
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
FaUserSlash,
|
|
7
7
|
FaChevronDown,
|
|
8
8
|
FaInfo, FaLink} from 'svelte-icons/fa'
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
import Page from './page.svelte'
|
|
11
11
|
import List from './components/list/list.svelte'
|
|
12
12
|
import ListTitle from './components/list/list.title.svelte'
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import Combo from './components/combo/combo.svelte'
|
|
20
20
|
import Modal from './modal.svelte'
|
|
21
21
|
import Checkbox from './components/checkbox.svelte';
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
import { reef, session, signInHRef } from '@humandialog/auth.svelte';
|
|
24
24
|
import { ComboSource, i18n } from './';
|
|
25
25
|
import {showMenu} from './components/menu'
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
import {randomString} from './utils'
|
|
28
28
|
|
|
29
29
|
import InviteUser from './tenant.members.invite.svelte'
|
|
30
|
-
|
|
30
|
+
|
|
31
31
|
|
|
32
32
|
// ==============================================================================
|
|
33
33
|
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
export let showAccessRoles = false;
|
|
42
42
|
|
|
43
43
|
// ===============================================================================
|
|
44
|
-
|
|
44
|
+
|
|
45
45
|
$: init();
|
|
46
|
-
|
|
46
|
+
|
|
47
47
|
// ===============================================================================
|
|
48
48
|
|
|
49
49
|
let list;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
const authAccessKinds = () => [
|
|
61
61
|
{ name: i18n({en: 'Cannot change permissions', es: 'No puede cambiar los permisos', pl: 'Nie może zmieniać uprawnień'}),
|
|
62
62
|
key: 0 },
|
|
63
|
-
{ name: i18n({en: 'Can only read permissions', es: 'Solo puede leer permisos', pl: 'Może tylko czytać uprawnienia'}),
|
|
63
|
+
{ name: i18n({en: 'Can only read permissions', es: 'Solo puede leer permisos', pl: 'Może tylko czytać uprawnienia'}),
|
|
64
64
|
key: 1 },
|
|
65
65
|
//{ name: 'Can invite others', key: 3 },
|
|
66
66
|
{ name: i18n({en: 'Can change permissions', es: 'Puede cambiar los permisos', pl: 'Może zmieniać uprawnienia'}),
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
key: 0 },
|
|
73
73
|
{ name: i18n({en: 'Can write files', es: 'Puede escribir archivos', pl: 'Może zapisywać pliki'}),
|
|
74
74
|
key: 1 },
|
|
75
|
-
{ name: i18n({en: 'Full files access', es: 'Acceso completo a los archivos', pl: 'Pełny dostęp do plików'}),
|
|
75
|
+
{ name: i18n({en: 'Full files access', es: 'Acceso completo a los archivos', pl: 'Pełny dostęp do plików'}),
|
|
76
76
|
key: 3 },
|
|
77
77
|
]
|
|
78
78
|
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
let roles = await reef.get('/sys/list_access_roles?details')
|
|
84
84
|
access_roles = [];
|
|
85
85
|
if(roles)
|
|
86
|
-
roles.forEach( roleInfo =>
|
|
86
|
+
roles.forEach( roleInfo =>
|
|
87
87
|
access_roles.push(
|
|
88
88
|
{
|
|
89
89
|
name: roleInfo.name,
|
|
@@ -113,8 +113,8 @@
|
|
|
113
113
|
invitation_not_accepted: false,
|
|
114
114
|
removed: false,
|
|
115
115
|
membership_tag: "",
|
|
116
|
-
... hrefAttrib ? {
|
|
117
|
-
[hrefAttrib]: u[hrefAttrib]
|
|
116
|
+
... hrefAttrib ? {
|
|
117
|
+
[hrefAttrib]: u[hrefAttrib]
|
|
118
118
|
} : { }
|
|
119
119
|
}
|
|
120
120
|
)
|
|
@@ -125,10 +125,10 @@
|
|
|
125
125
|
//add_fake_users(fake_users);
|
|
126
126
|
|
|
127
127
|
// await fetch_details();
|
|
128
|
-
|
|
128
|
+
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
|
|
132
132
|
async function fetch_details(...args)
|
|
133
133
|
{
|
|
134
134
|
let users_no = reef_users.length;
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
{
|
|
144
144
|
//console.log('reload', reef_users)
|
|
145
145
|
//reef_users = [...reef_users]
|
|
146
|
-
|
|
146
|
+
|
|
147
147
|
list?.reload(reef_users);
|
|
148
148
|
}
|
|
149
149
|
} )
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
}
|
|
186
186
|
)
|
|
187
187
|
*/
|
|
188
|
-
|
|
188
|
+
|
|
189
189
|
//let new_user = {
|
|
190
190
|
// name: '',
|
|
191
191
|
// email: '',
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
await reef.post(`${user_path}/set`,
|
|
211
211
|
{
|
|
212
212
|
[nameAttrib]: name
|
|
213
|
-
});
|
|
213
|
+
});
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
async function on_change_privileges(user, flags, name)
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
{
|
|
224
224
|
const response_string = await res.text();
|
|
225
225
|
const info = JSON.parse(response_string);
|
|
226
|
-
|
|
226
|
+
|
|
227
227
|
user.auth_group = flags;
|
|
228
228
|
|
|
229
229
|
set_user_info(user, info)
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
{
|
|
251
251
|
const response_string = await res.text();
|
|
252
252
|
const info = JSON.parse(response_string);
|
|
253
|
-
|
|
253
|
+
|
|
254
254
|
user.files_group = flags;
|
|
255
255
|
|
|
256
256
|
set_user_info(user, info)
|
|
@@ -277,8 +277,8 @@
|
|
|
277
277
|
{
|
|
278
278
|
const response_string = await res.text();
|
|
279
279
|
const info = JSON.parse(response_string);
|
|
280
|
-
|
|
281
|
-
user.access_details.role = role;
|
|
280
|
+
|
|
281
|
+
user.access_details.role = role;
|
|
282
282
|
user.acc_role = role
|
|
283
283
|
|
|
284
284
|
set_user_info(user, info)
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
}
|
|
295
295
|
return false;
|
|
296
296
|
}
|
|
297
|
-
|
|
297
|
+
|
|
298
298
|
//let inviteUserIdempotencyToken = ''
|
|
299
299
|
function create_new_user(email='', name='', silently=false, accepted=false)
|
|
300
300
|
{
|
|
@@ -368,12 +368,12 @@
|
|
|
368
368
|
action: (focused) => { list.edit(user, 'Files') }
|
|
369
369
|
});
|
|
370
370
|
}
|
|
371
|
-
|
|
371
|
+
|
|
372
372
|
return operations;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
|
-
let user_operations = (user) => {
|
|
376
|
-
|
|
375
|
+
let user_operations = (user) => {
|
|
376
|
+
|
|
377
377
|
let operations = [
|
|
378
378
|
{
|
|
379
379
|
caption: i18n({en: 'Fetch info', es: 'Obtener información', pl: 'Pobierz informacje'}),
|
|
@@ -399,15 +399,15 @@
|
|
|
399
399
|
else
|
|
400
400
|
{
|
|
401
401
|
let edit_operations = get_edit_operations(user)
|
|
402
|
-
|
|
402
|
+
|
|
403
403
|
operations.push({
|
|
404
|
-
|
|
404
|
+
mricon: 'pencil',
|
|
405
405
|
caption: i18n({en: 'Change', es: 'Cambiar', pl: 'Zmień'}),
|
|
406
406
|
menu: edit_operations,
|
|
407
407
|
fab: 'M20',
|
|
408
408
|
tbr: 'A'
|
|
409
409
|
});
|
|
410
|
-
|
|
410
|
+
|
|
411
411
|
operations.push({
|
|
412
412
|
caption: i18n({en: 'Remove user', es: 'Eliminar usuario', pl: 'Usuń użytkownika'}),
|
|
413
413
|
// icon: FaUserMinus,
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
|
|
428
|
+
|
|
429
429
|
return {
|
|
430
430
|
opver: 2,
|
|
431
431
|
fab: 'M00',
|
|
@@ -472,9 +472,9 @@
|
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
|
|
475
|
-
let data_item =
|
|
476
|
-
{
|
|
477
|
-
|
|
475
|
+
let data_item =
|
|
476
|
+
{
|
|
477
|
+
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
//function is_valid_email_address(e)
|
|
@@ -482,29 +482,29 @@
|
|
|
482
482
|
// //let pattern = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
|
|
483
483
|
// //return (e.match(pattern) != null);
|
|
484
484
|
//
|
|
485
|
-
// var at_idx = e.indexOf("@");
|
|
486
|
-
// var dot_idx = e.lastIndexOf(".");
|
|
487
|
-
// var space_idx = e.indexOf(" ");
|
|
485
|
+
// var at_idx = e.indexOf("@");
|
|
486
|
+
// var dot_idx = e.lastIndexOf(".");
|
|
487
|
+
// var space_idx = e.indexOf(" ");
|
|
488
488
|
//
|
|
489
|
-
// if ((at_idx != -1) &&
|
|
490
|
-
// (at_idx != 0) &&
|
|
491
|
-
// (dot_idx != -1) &&
|
|
492
|
-
// (dot_idx != 0) &&
|
|
493
|
-
// (dot_idx > at_idx + 1) &&
|
|
494
|
-
// (e.length > dot_idx + 1) &&
|
|
495
|
-
// (space_idx == -1))
|
|
496
|
-
// {
|
|
497
|
-
// return true;
|
|
498
|
-
// }
|
|
499
|
-
// else
|
|
500
|
-
// {
|
|
501
|
-
// return false;
|
|
502
|
-
// }
|
|
503
|
-
//
|
|
489
|
+
// if ((at_idx != -1) &&
|
|
490
|
+
// (at_idx != 0) &&
|
|
491
|
+
// (dot_idx != -1) &&
|
|
492
|
+
// (dot_idx != 0) &&
|
|
493
|
+
// (dot_idx > at_idx + 1) &&
|
|
494
|
+
// (e.length > dot_idx + 1) &&
|
|
495
|
+
// (space_idx == -1))
|
|
496
|
+
// {
|
|
497
|
+
// return true;
|
|
498
|
+
// }
|
|
499
|
+
// else
|
|
500
|
+
// {
|
|
501
|
+
// return false;
|
|
502
|
+
// }
|
|
503
|
+
//
|
|
504
504
|
//}
|
|
505
505
|
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
|
|
507
|
+
|
|
508
508
|
|
|
509
509
|
/*
|
|
510
510
|
async function on_new_user_requested()
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
reef_users = [...reef_users, new_reef_user]
|
|
562
562
|
}
|
|
563
563
|
|
|
564
|
-
|
|
564
|
+
|
|
565
565
|
list?.reload(reef_users);
|
|
566
566
|
}
|
|
567
567
|
else
|
|
@@ -684,13 +684,13 @@
|
|
|
684
684
|
async function askToAddAgain(user)
|
|
685
685
|
{
|
|
686
686
|
let email = user[emailAttrib];
|
|
687
|
-
let name = user[nameAttrib] ?? '';
|
|
687
|
+
let name = user[nameAttrib] ?? '';
|
|
688
688
|
let idempotencyToken = randomString(8)
|
|
689
689
|
|
|
690
690
|
let accRole = ''
|
|
691
691
|
if(showAccessRoles && access_roles.length > 0)
|
|
692
692
|
accRole = access_roles[0].name ?? ""
|
|
693
|
-
|
|
693
|
+
|
|
694
694
|
try {
|
|
695
695
|
const res = await reef.fetch('/json/anyv/sys/invite_user', {
|
|
696
696
|
method: 'POST',
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
if(!hrefAttrib)
|
|
737
737
|
return undefined
|
|
738
738
|
else
|
|
739
|
-
return (user) => { return user[hrefAttrib]}
|
|
739
|
+
return (user) => { return user[hrefAttrib]}
|
|
740
740
|
}
|
|
741
741
|
|
|
742
742
|
async function onNewUserAdded(created_user)
|
|
@@ -761,36 +761,59 @@
|
|
|
761
761
|
reef_users = [...reef_users, new_reef_user]
|
|
762
762
|
}
|
|
763
763
|
|
|
764
|
-
|
|
764
|
+
|
|
765
765
|
list?.reload(reef_users);
|
|
766
|
-
}
|
|
767
|
-
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
let list_properties = {
|
|
769
|
+
Title: "Title",
|
|
770
|
+
Summary: "Summary",
|
|
771
|
+
icon: "icon",
|
|
772
|
+
element:{
|
|
773
|
+
icon: "icon",
|
|
774
|
+
href: "href",
|
|
775
|
+
Title: "Title",
|
|
776
|
+
Summary: "Summary"
|
|
777
|
+
},
|
|
778
|
+
context:{
|
|
779
|
+
Folder:{
|
|
780
|
+
Summary: "Summary",
|
|
781
|
+
|
|
782
|
+
},
|
|
783
|
+
FolderFolder:{
|
|
784
|
+
Summary: "Summary",
|
|
785
|
+
head_right: "ModificationDate"
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
768
790
|
</script>
|
|
769
791
|
|
|
770
|
-
<Page self={data_item}
|
|
771
|
-
cl="!bg-white dark:!bg-stone-900 w-full flex flex-col overflow-x-hidden py-1 px-1 border-0"
|
|
792
|
+
<Page self={data_item}
|
|
793
|
+
cl="!bg-white dark:!bg-stone-900 w-full flex flex-col overflow-x-hidden py-1 px-1 border-0"
|
|
772
794
|
toolbarOperations={page_operations}
|
|
773
795
|
clearsContext='props sel'>
|
|
774
796
|
<!--a href="/" class="underline text-sm font-semibold ml-3"> < Back to root</a-->
|
|
775
797
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
779
801
|
|
|
780
802
|
{#if reef_users && reef_users.length > 0}
|
|
781
|
-
<List objects={reef_users}
|
|
782
|
-
title='Members'
|
|
783
|
-
|
|
803
|
+
<List objects={reef_users}
|
|
804
|
+
title='Members'
|
|
805
|
+
properties = list_properties
|
|
806
|
+
toolbarOperations={user_operations}
|
|
784
807
|
bind:this={list}>
|
|
785
808
|
<!-- hrefFunc={getHRefFunc()}-->
|
|
786
809
|
<ListTitle a={nameAttrib} onChange={on_name_changed} />
|
|
787
810
|
<ListSummary a={emailAttrib} readonly/>
|
|
788
811
|
|
|
789
812
|
<ListStaticProperty name="Membership" a="membership_tag"/>
|
|
790
|
-
|
|
813
|
+
|
|
791
814
|
<ListComboProperty name='Privileges' a='auth_group' onSelect={on_change_privileges}>
|
|
792
815
|
{#each authAccessKinds() as kind}
|
|
793
|
-
<ComboItem name={kind.name} key={kind.key} />
|
|
816
|
+
<ComboItem name={kind.name} key={kind.key} />
|
|
794
817
|
{/each}
|
|
795
818
|
</ListComboProperty>
|
|
796
819
|
|
|
@@ -803,16 +826,16 @@
|
|
|
803
826
|
{#if showFiles}
|
|
804
827
|
<ListComboProperty name='Files' a='files_group' onSelect={on_change_files_access}>
|
|
805
828
|
{#each filesAccessKinds() as kind}
|
|
806
|
-
<ComboItem name={kind.name} key={kind.key} />
|
|
829
|
+
<ComboItem name={kind.name} key={kind.key} />
|
|
807
830
|
{/each}
|
|
808
831
|
</ListComboProperty>
|
|
809
832
|
{/if}
|
|
810
833
|
|
|
811
|
-
|
|
834
|
+
|
|
812
835
|
</List>
|
|
813
836
|
{/if}
|
|
814
837
|
|
|
815
|
-
|
|
838
|
+
|
|
816
839
|
</Page>
|
|
817
840
|
|
|
818
841
|
<!--Modal bind:open={create_new_user_enabled}
|
|
@@ -821,18 +844,18 @@
|
|
|
821
844
|
onOkCallback={on_new_user_requested}
|
|
822
845
|
onCancelCallback={on_new_user_canceled}
|
|
823
846
|
icon={FaUserPlus}>
|
|
824
|
-
|
|
825
|
-
<Input label='E-mail'
|
|
826
|
-
placeholder=''
|
|
827
|
-
self={new_user}
|
|
828
|
-
a="email"
|
|
847
|
+
|
|
848
|
+
<Input label='E-mail'
|
|
849
|
+
placeholder=''
|
|
850
|
+
self={new_user}
|
|
851
|
+
a="email"
|
|
829
852
|
validation={is_valid_email_address}
|
|
830
853
|
bind:this={email_input}
|
|
831
854
|
readonly={new_user.accepted}/>
|
|
832
855
|
|
|
833
|
-
<Input label={i18n({en: 'Name', es: 'Nombre', pl: 'Imię'})}
|
|
834
|
-
placeholder='Optional'
|
|
835
|
-
self={new_user}
|
|
856
|
+
<Input label={i18n({en: 'Name', es: 'Nombre', pl: 'Imię'})}
|
|
857
|
+
placeholder='Optional'
|
|
858
|
+
self={new_user}
|
|
836
859
|
a="name"
|
|
837
860
|
bind:this={name_input}
|
|
838
861
|
readonly={new_user.accepted}/>
|
|
@@ -849,8 +872,8 @@
|
|
|
849
872
|
</label>
|
|
850
873
|
<button id="new_user_auth_group"
|
|
851
874
|
class=" w-full mt-0.5
|
|
852
|
-
bg-stone-50 border border-stone-300 text-stone-900 text-base sm:text-sm rounded-lg
|
|
853
|
-
focus:ring-primary-600 focus:border-primary-600 pb-0.5 pt-0.5 px-2.5 dark:bg-stone-700
|
|
875
|
+
bg-stone-50 border border-stone-300 text-stone-900 text-base sm:text-sm rounded-lg
|
|
876
|
+
focus:ring-primary-600 focus:border-primary-600 pb-0.5 pt-0.5 px-2.5 dark:bg-stone-700
|
|
854
877
|
dark:border-stone-600 dark:placeholder-stone-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
|
855
878
|
on:click={(e) => {
|
|
856
879
|
let owner = e.target;
|
|
@@ -868,7 +891,7 @@
|
|
|
868
891
|
|
|
869
892
|
let rect = owner.getBoundingClientRect();
|
|
870
893
|
let pt = new DOMPoint(rect.left, rect.bottom)
|
|
871
|
-
showMenu(pt, options);
|
|
894
|
+
showMenu(pt, options);
|
|
872
895
|
}}>
|
|
873
896
|
{authAccessKinds().find(k => k.key == new_user.auth_group)?.name}
|
|
874
897
|
<span class="w-3 h-3 inline-block text-stone-700 dark:text-stone-300 ml-2 mt-2 sm:mt-1">
|
|
@@ -883,10 +906,10 @@
|
|
|
883
906
|
class="text-xs">
|
|
884
907
|
{i18n({en: 'File access', es: 'Acceso a los archivos', pl: 'Dostęp do plików'})}
|
|
885
908
|
</label>
|
|
886
|
-
<button
|
|
909
|
+
<button
|
|
887
910
|
class=" mt-0.5 w-full
|
|
888
|
-
bg-stone-50 border border-stone-300 text-stone-900 text-base sm:text-sm rounded-lg
|
|
889
|
-
focus:ring-primary-600 focus:border-primary-600 pb-0.5 pt-0.5 px-2.5 dark:bg-stone-700
|
|
911
|
+
bg-stone-50 border border-stone-300 text-stone-900 text-base sm:text-sm rounded-lg
|
|
912
|
+
focus:ring-primary-600 focus:border-primary-600 pb-0.5 pt-0.5 px-2.5 dark:bg-stone-700
|
|
890
913
|
dark:border-stone-600 dark:placeholder-stone-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
|
891
914
|
on:click={(e) => {
|
|
892
915
|
let owner = e.target;
|
|
@@ -904,7 +927,7 @@
|
|
|
904
927
|
|
|
905
928
|
let rect = owner.getBoundingClientRect();
|
|
906
929
|
let pt = new DOMPoint(rect.left, rect.bottom)
|
|
907
|
-
showMenu(pt, options);
|
|
930
|
+
showMenu(pt, options);
|
|
908
931
|
}}>
|
|
909
932
|
{filesAccessKinds().find(k => k.key == new_user.files_group)?.name}
|
|
910
933
|
<span class="w-3 h-3 inline-block text-stone-700 dark:text-stone-300 ml-2 mt-2 sm:mt-1">
|
|
@@ -920,10 +943,10 @@
|
|
|
920
943
|
class="text-xs">
|
|
921
944
|
{i18n({en: 'Role in the application', es: 'Papel en la aplicación', pl: 'Rola w aplikacji'})}
|
|
922
945
|
</label>
|
|
923
|
-
<button
|
|
946
|
+
<button
|
|
924
947
|
class=" mt-0.5 w-full
|
|
925
|
-
bg-stone-50 border border-stone-300 text-stone-900 text-base sm:text-sm rounded-lg
|
|
926
|
-
focus:ring-primary-600 focus:border-primary-600 pb-0.5 pt-0.5 px-2.5 dark:bg-stone-700
|
|
948
|
+
bg-stone-50 border border-stone-300 text-stone-900 text-base sm:text-sm rounded-lg
|
|
949
|
+
focus:ring-primary-600 focus:border-primary-600 pb-0.5 pt-0.5 px-2.5 dark:bg-stone-700
|
|
927
950
|
dark:border-stone-600 dark:placeholder-stone-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
|
|
928
951
|
on:click={(e) => {
|
|
929
952
|
let owner = e.target;
|
|
@@ -941,14 +964,14 @@
|
|
|
941
964
|
|
|
942
965
|
let rect = owner.getBoundingClientRect();
|
|
943
966
|
let pt = new DOMPoint(rect.left, rect.bottom)
|
|
944
|
-
showMenu(pt, options);
|
|
967
|
+
showMenu(pt, options);
|
|
945
968
|
}}>
|
|
946
969
|
{#if new_user.acc_role}
|
|
947
970
|
{access_roles.find(r => r.name==new_user.acc_role).summary}
|
|
948
971
|
{:else}
|
|
949
972
|
{i18n({en: '"<none>', es: '<ningún>', pl: '<żadna>'})}
|
|
950
973
|
{/if}
|
|
951
|
-
|
|
974
|
+
|
|
952
975
|
<span class="w-3 h-3 inline-block text-stone-700 dark:text-stone-300 ml-2 mt-2 sm:mt-1">
|
|
953
976
|
<FaChevronDown/>
|
|
954
977
|
</span>
|
|
@@ -958,7 +981,7 @@
|
|
|
958
981
|
</section>
|
|
959
982
|
</Modal-->
|
|
960
983
|
|
|
961
|
-
<Modal title={i18n({en: 'User removal', es: 'Eliminar usuario', pl: 'Usuwanie użytkownika'})}
|
|
984
|
+
<Modal title={i18n({en: 'User removal', es: 'Eliminar usuario', pl: 'Usuwanie użytkownika'})}
|
|
962
985
|
content={i18n({en: `Are you sure you want to remove ${userToRemove ? userToRemove[nameAttrib] : 'user'}?`, es: `¿Estás seguro de que deseas eliminar al ${userToRemove ? userToRemove[nameAttrib] : 'usuario'}?`, pl: `Czy na pewno chcesz usunąć ${userToRemove ? userToRemove[nameAttrib] : 'użytkownika'}?`})}
|
|
963
986
|
icon={FaUserMinus}
|
|
964
987
|
okCaption={i18n({en: 'Remove', es: 'Eliminar', pl: 'Usuń'})}
|
|
@@ -974,6 +997,6 @@
|
|
|
974
997
|
bind:this={deleteAccountModal}
|
|
975
998
|
/>
|
|
976
999
|
|
|
977
|
-
<InviteUser bind:this={invitationDialog}
|
|
978
|
-
{nameAttrib} {emailAttrib} {refAttrib} {hrefAttrib}
|
|
1000
|
+
<InviteUser bind:this={invitationDialog}
|
|
1001
|
+
{nameAttrib} {emailAttrib} {refAttrib} {hrefAttrib}
|
|
979
1002
|
{onNewUserAdded}/>
|
package/tile.svelte.d.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/** @typedef {typeof __propDef.events} TileEvents */
|
|
3
3
|
/** @typedef {typeof __propDef.slots} TileSlots */
|
|
4
4
|
export default class Tile extends SvelteComponentTyped<{
|
|
5
|
-
self?: null | undefined;
|
|
6
5
|
context?: string | undefined;
|
|
7
|
-
|
|
6
|
+
self?: null | undefined;
|
|
8
7
|
cl?: string | undefined;
|
|
8
|
+
c?: string | undefined;
|
|
9
9
|
}, {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
11
11
|
}, {
|
|
@@ -18,10 +18,10 @@ export type TileSlots = typeof __propDef.slots;
|
|
|
18
18
|
import { SvelteComponentTyped } from "svelte";
|
|
19
19
|
declare const __propDef: {
|
|
20
20
|
props: {
|
|
21
|
-
self?: null | undefined;
|
|
22
21
|
context?: string | undefined;
|
|
23
|
-
|
|
22
|
+
self?: null | undefined;
|
|
24
23
|
cl?: string | undefined;
|
|
24
|
+
c?: string | undefined;
|
|
25
25
|
};
|
|
26
26
|
events: {
|
|
27
27
|
[evt: string]: CustomEvent<any>;
|