@medyll/idae-machine 0.99.0 → 0.101.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/dist/form/CollectionButton.svelte.d.ts +10 -3
- package/dist/form/CollectionList.svelte.d.ts +14 -7
- package/dist/form/CollectionListMenu.svelte.d.ts +14 -7
- package/dist/form/CreateUpdate.svelte.d.ts +12 -3
- package/dist/form/CrudZone.svelte.d.ts +10 -3
- package/dist/form/FieldValue.svelte.d.ts +12 -5
- package/package.json +1 -1
|
@@ -3,10 +3,17 @@ type CollectionButtonProps = {
|
|
|
3
3
|
collection: string;
|
|
4
4
|
withData?: Record<string, any>;
|
|
5
5
|
} & CreateUpdateProps;
|
|
6
|
+
declare function $$render<COL>(): {
|
|
7
|
+
props: CollectionButtonProps;
|
|
8
|
+
exports: {};
|
|
9
|
+
bindings: "";
|
|
10
|
+
slots: {};
|
|
11
|
+
events: {};
|
|
12
|
+
};
|
|
6
13
|
declare class __sveltets_Render<COL> {
|
|
7
|
-
props():
|
|
8
|
-
events():
|
|
9
|
-
slots():
|
|
14
|
+
props(): ReturnType<typeof $$render<COL>>['props'];
|
|
15
|
+
events(): ReturnType<typeof $$render<COL>>['events'];
|
|
16
|
+
slots(): ReturnType<typeof $$render<COL>>['slots'];
|
|
10
17
|
bindings(): "";
|
|
11
18
|
exports(): {};
|
|
12
19
|
}
|
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
import { type MenuListProps } from '@medyll/idae-slotui-svelte';
|
|
2
2
|
import { type Snippet } from 'svelte';
|
|
3
3
|
import type { Where } from '@medyll/idae-idbql';
|
|
4
|
-
declare
|
|
5
|
-
props
|
|
4
|
+
declare function $$render<COL = Record<string, any>>(): {
|
|
5
|
+
props: {
|
|
6
6
|
collection: string;
|
|
7
7
|
target?: string;
|
|
8
|
-
data?: COL
|
|
8
|
+
data?: COL;
|
|
9
9
|
menuListProps?: MenuListProps;
|
|
10
10
|
style?: string;
|
|
11
11
|
displayMode?: "line" | "grid";
|
|
12
|
-
where?: Where<COL
|
|
12
|
+
where?: Where<COL>;
|
|
13
13
|
children?: Snippet;
|
|
14
|
-
onclick?: (
|
|
14
|
+
onclick?: (data: COL, index: number | string) => void;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
exports: {};
|
|
17
|
+
bindings: "";
|
|
18
|
+
slots: {};
|
|
19
|
+
events: {};
|
|
20
|
+
};
|
|
21
|
+
declare class __sveltets_Render<COL = Record<string, any>> {
|
|
22
|
+
props(): ReturnType<typeof $$render<COL>>['props'];
|
|
23
|
+
events(): ReturnType<typeof $$render<COL>>['events'];
|
|
24
|
+
slots(): ReturnType<typeof $$render<COL>>['slots'];
|
|
18
25
|
bindings(): "";
|
|
19
26
|
exports(): {};
|
|
20
27
|
}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { type MenuListProps } from '@medyll/idae-slotui-svelte';
|
|
2
2
|
import type { Where } from '@medyll/idae-idbql';
|
|
3
|
-
declare
|
|
4
|
-
props
|
|
3
|
+
declare function $$render<COL = Record<string, any>>(): {
|
|
4
|
+
props: {
|
|
5
5
|
collection: string;
|
|
6
6
|
target?: string;
|
|
7
|
-
data?: COL
|
|
7
|
+
data?: COL;
|
|
8
8
|
menuListProps?: MenuListProps;
|
|
9
9
|
style?: string;
|
|
10
|
-
where?: Where<COL
|
|
11
|
-
onclick?: (
|
|
10
|
+
where?: Where<COL>;
|
|
11
|
+
onclick?: (event: CustomEvent, index: number) => void;
|
|
12
12
|
};
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
exports: {};
|
|
14
|
+
bindings: "";
|
|
15
|
+
slots: {};
|
|
16
|
+
events: {};
|
|
17
|
+
};
|
|
18
|
+
declare class __sveltets_Render<COL = Record<string, any>> {
|
|
19
|
+
props(): ReturnType<typeof $$render<COL>>['props'];
|
|
20
|
+
events(): ReturnType<typeof $$render<COL>>['events'];
|
|
21
|
+
slots(): ReturnType<typeof $$render<COL>>['slots'];
|
|
15
22
|
bindings(): "";
|
|
16
23
|
exports(): {};
|
|
17
24
|
}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import type { CreateUpdateProps } from './types';
|
|
2
|
+
declare function $$render<COL = Record<string, any>>(): {
|
|
3
|
+
props: CreateUpdateProps;
|
|
4
|
+
exports: {
|
|
5
|
+
submit: (event: FormDataEvent) => Promise<void>;
|
|
6
|
+
};
|
|
7
|
+
bindings: "";
|
|
8
|
+
slots: {};
|
|
9
|
+
events: {};
|
|
10
|
+
};
|
|
2
11
|
declare class __sveltets_Render<COL = Record<string, any>> {
|
|
3
|
-
props():
|
|
4
|
-
events():
|
|
5
|
-
slots():
|
|
12
|
+
props(): ReturnType<typeof $$render<COL>>['props'];
|
|
13
|
+
events(): ReturnType<typeof $$render<COL>>['events'];
|
|
14
|
+
slots(): ReturnType<typeof $$render<COL>>['slots'];
|
|
6
15
|
bindings(): "";
|
|
7
16
|
exports(): {
|
|
8
17
|
submit: (event: FormDataEvent) => Promise<void>;
|
|
@@ -3,10 +3,17 @@ interface CrudZoneProps {
|
|
|
3
3
|
data?: Record<string, any>;
|
|
4
4
|
style?: ElementCSSInlineStyle;
|
|
5
5
|
}
|
|
6
|
+
declare function $$render<T = Record<string, any>>(): {
|
|
7
|
+
props: CrudZoneProps;
|
|
8
|
+
exports: {};
|
|
9
|
+
bindings: "";
|
|
10
|
+
slots: {};
|
|
11
|
+
events: {};
|
|
12
|
+
};
|
|
6
13
|
declare class __sveltets_Render<T = Record<string, any>> {
|
|
7
|
-
props():
|
|
8
|
-
events():
|
|
9
|
-
slots():
|
|
14
|
+
props(): ReturnType<typeof $$render<T>>['props'];
|
|
15
|
+
events(): ReturnType<typeof $$render<T>>['events'];
|
|
16
|
+
slots(): ReturnType<typeof $$render<T>>['slots'];
|
|
10
17
|
bindings(): "";
|
|
11
18
|
exports(): {};
|
|
12
19
|
}
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
import type { TplCollectionName } from '@medyll/idae-idbql';
|
|
2
|
-
declare
|
|
3
|
-
props
|
|
2
|
+
declare function $$render<COL = Record<string, any>>(): {
|
|
3
|
+
props: {
|
|
4
4
|
collection?: TplCollectionName;
|
|
5
5
|
collectionId?: any;
|
|
6
6
|
fieldName: keyof COL;
|
|
7
|
-
data?: COL
|
|
7
|
+
data?: COL;
|
|
8
8
|
mode?: "show" | "create" | "update";
|
|
9
9
|
editInPlace?: boolean;
|
|
10
10
|
inputForm?: string;
|
|
11
11
|
showLabel?: LabelPosition;
|
|
12
12
|
showAiGuess?: boolean;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
exports: {};
|
|
15
|
+
bindings: "data";
|
|
16
|
+
slots: {};
|
|
17
|
+
events: {};
|
|
18
|
+
};
|
|
19
|
+
declare class __sveltets_Render<COL = Record<string, any>> {
|
|
20
|
+
props(): ReturnType<typeof $$render<COL>>['props'];
|
|
21
|
+
events(): ReturnType<typeof $$render<COL>>['events'];
|
|
22
|
+
slots(): ReturnType<typeof $$render<COL>>['slots'];
|
|
16
23
|
bindings(): "data";
|
|
17
24
|
exports(): {};
|
|
18
25
|
}
|