@profidev/pleiades 1.9.4 → 1.9.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/dist/components/form/form-checkbox.svelte +2 -0
- package/dist/components/form/form-switch.svelte +1 -0
- package/dist/components/form/multistep-form.svelte +5 -2
- package/dist/components/form/multistep-form.svelte.d.ts +1 -0
- package/dist/components/table/multiselect.svelte +2 -2
- package/package.json +1 -1
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
<Checkbox
|
|
38
38
|
{...props}
|
|
39
39
|
{...restProps}
|
|
40
|
+
{disabled}
|
|
40
41
|
bind:checked={$formData[key]}
|
|
41
42
|
class="mr-2"
|
|
42
43
|
/>
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
<Checkbox
|
|
49
50
|
{...props}
|
|
50
51
|
{...restProps}
|
|
52
|
+
{disabled}
|
|
51
53
|
bind:checked={$formData[key]}
|
|
52
54
|
class="ml-auto"
|
|
53
55
|
/>
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
retryLabel?: string;
|
|
27
27
|
submitIcon?: Component;
|
|
28
28
|
cancelHref: string;
|
|
29
|
+
initStep?: number;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
let {
|
|
@@ -35,10 +36,12 @@
|
|
|
35
36
|
submitLabel = 'Create',
|
|
36
37
|
submitIcon: SubmitIcon = Plus,
|
|
37
38
|
cancelHref,
|
|
38
|
-
retryLabel = 'Retry'
|
|
39
|
+
retryLabel = 'Retry',
|
|
40
|
+
initStep
|
|
39
41
|
}: Props<T> = $props();
|
|
40
42
|
|
|
41
|
-
|
|
43
|
+
// svelte-ignore state_referenced_locally
|
|
44
|
+
let stage = $state(initStep ?? 0);
|
|
42
45
|
let form: undefined | SvelteComponent = $state();
|
|
43
46
|
let isLoading = $state(false);
|
|
44
47
|
|
|
@@ -123,8 +123,8 @@
|
|
|
123
123
|
<Popover.Content class="p-0">
|
|
124
124
|
<Command.Root>
|
|
125
125
|
<Command.Input placeholder={`Search ${label.toLowerCase()}...`} />
|
|
126
|
-
<Command.List class="
|
|
127
|
-
<ScrollArea class="
|
|
126
|
+
<Command.List class="flex overflow-hidden">
|
|
127
|
+
<ScrollArea class="grow">
|
|
128
128
|
<Command.Empty>No {label} found</Command.Empty>
|
|
129
129
|
{#each filtered as group}
|
|
130
130
|
<Command.Group heading={group.label}>
|