@humandialog/forms.svelte 0.3.3 → 0.3.4

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 (76) hide show
  1. package/components/button.svelte +80 -0
  2. package/components/button.svelte.d.ts +24 -0
  3. package/components/checkbox.svelte +55 -0
  4. package/components/checkbox.svelte.d.ts +25 -0
  5. package/components/combo/combo.d.ts +15 -0
  6. package/components/combo/combo.item.svelte +14 -0
  7. package/components/combo/combo.item.svelte.d.ts +19 -0
  8. package/components/combo/combo.js +15 -0
  9. package/components/combo/combo.source.svelte +13 -0
  10. package/components/combo/combo.source.svelte.d.ts +20 -0
  11. package/components/combo/combo.svelte +527 -0
  12. package/components/combo/combo.svelte.d.ts +28 -0
  13. package/components/date.svelte +113 -0
  14. package/components/date.svelte.d.ts +23 -0
  15. package/components/document/internal/Document_command.d.ts +9 -0
  16. package/components/document/internal/Document_command.js +9 -0
  17. package/components/document/internal/Selection_helper.d.ts +7 -0
  18. package/components/document/internal/Selection_helper.js +133 -0
  19. package/components/document/internal/Selection_range.d.ts +26 -0
  20. package/components/document/internal/Selection_range.js +58 -0
  21. package/components/document/internal/palette.row.svelte +34 -0
  22. package/components/document/internal/palette.row.svelte.d.ts +36 -0
  23. package/components/document/internal/palette.svelte +123 -0
  24. package/components/document/internal/palette.svelte.d.ts +67 -0
  25. package/components/document/rich.edit.svelte +733 -0
  26. package/components/document/rich.edit.svelte.d.ts +23 -0
  27. package/components/edit.field.svelte +134 -0
  28. package/components/edit.field.svelte.d.ts +27 -0
  29. package/components/file.loader.svelte +90 -0
  30. package/components/file.loader.svelte.d.ts +25 -0
  31. package/components/input.text.svelte +37 -0
  32. package/components/input.text.svelte.d.ts +29 -0
  33. package/components/inputbox.ltop.svelte +110 -0
  34. package/components/inputbox.ltop.svelte.d.ts +44 -0
  35. package/components/radio.svelte +53 -0
  36. package/components/radio.svelte.d.ts +25 -0
  37. package/components/simple.table.svelte +106 -0
  38. package/components/simple.table.svelte.d.ts +41 -0
  39. package/components/table/_template.table.svelte +111 -0
  40. package/components/table/_template.table.svelte.d.ts +57 -0
  41. package/components/table/column.svelte +17 -0
  42. package/components/table/column.svelte.d.ts +19 -0
  43. package/components/table/item.svelte +10 -0
  44. package/components/table/item.svelte.d.ts +17 -0
  45. package/components/table/table.d.ts +11 -0
  46. package/components/table/table.js +11 -0
  47. package/components/table/table.svelte +150 -0
  48. package/components/table/table.svelte.d.ts +73 -0
  49. package/components/textarea.ltop.svelte +55 -0
  50. package/components/textarea.ltop.svelte.d.ts +35 -0
  51. package/components/tile.title.svelte +54 -0
  52. package/components/tile.title.svelte.d.ts +29 -0
  53. package/form.box.svelte +60 -0
  54. package/form.box.svelte.d.ts +35 -0
  55. package/global.d.ts +1 -0
  56. package/icon.svelte +105 -0
  57. package/icon.svelte.d.ts +62 -0
  58. package/index.d.ts +21 -0
  59. package/index.js +25 -0
  60. package/package.json +42 -48
  61. package/page.row.svelte +31 -0
  62. package/page.row.svelte.d.ts +31 -0
  63. package/page.svelte +83 -0
  64. package/page.svelte.d.ts +39 -0
  65. package/stores.d.ts +15 -0
  66. package/stores.js +7 -0
  67. package/tile.svelte +41 -0
  68. package/tile.svelte.d.ts +33 -0
  69. package/tiles.row.svelte +35 -0
  70. package/tiles.row.svelte.d.ts +31 -0
  71. package/tiles.vertical.row.svelte +25 -0
  72. package/tiles.vertical.row.svelte.d.ts +29 -0
  73. package/updates.d.ts +3 -0
  74. package/updates.js +95 -0
  75. package/utils.d.ts +5 -0
  76. package/utils.js +51 -0
@@ -0,0 +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 {};
@@ -0,0 +1,134 @@
1
+ <script>import { afterUpdate, getContext } from "svelte";
2
+ import { data_tick_store, context_items_store, context_types_store } from "../stores.js";
3
+ import { inform_modification, push_changes } from "../updates.js";
4
+ import { parse_width_directive, should_be_comapact } from "../utils.js";
5
+ export let value = "";
6
+ export let placeholder = "";
7
+ export let on_enter = null;
8
+ export let self = null;
9
+ export let a = "";
10
+ export let context = "";
11
+ export let typename = "";
12
+ export let inserter = false;
13
+ export let c = "";
14
+ let is_table_component = getContext("rIs-table-component");
15
+ let item = null;
16
+ let input_box_is_active = false;
17
+ let focus_input_box = false;
18
+ let inputbox;
19
+ let org_value = "";
20
+ let additional_class = $$restProps.class ?? "";
21
+ afterUpdate(() => {
22
+ if (focus_input_box && inputbox) {
23
+ focus_input_box = false;
24
+ if (value)
25
+ inputbox.select();
26
+ inputbox.focus();
27
+ }
28
+ });
29
+ let ctx = context ? context : getContext("ctx");
30
+ let cs = parse_width_directive(c);
31
+ let last_tick = -1;
32
+ $:
33
+ setup($data_tick_store);
34
+ function setup(data_tick_store2) {
35
+ if (data_tick_store2 <= last_tick)
36
+ return;
37
+ last_tick = data_tick_store2;
38
+ item = self ?? $context_items_store[ctx];
39
+ if (!typename)
40
+ typename = $context_types_store[ctx];
41
+ if (a) {
42
+ if (item != null)
43
+ value = item[a];
44
+ else
45
+ value = "<empty>";
46
+ }
47
+ }
48
+ function on_activate_input_box(event) {
49
+ if (!input_box_is_active && (is_table_component && $context_items_store["sel"] == self || !is_table_component)) {
50
+ input_box_is_active = true;
51
+ focus_input_box = true;
52
+ org_value = value;
53
+ event.preventDefault();
54
+ event.stopPropagation();
55
+ }
56
+ }
57
+ async function on_key_down(event) {
58
+ if (event.key == "Enter") {
59
+ if (!value && inserter) {
60
+ input_box_is_active = false;
61
+ return;
62
+ }
63
+ try {
64
+ let success = false;
65
+ if (on_enter)
66
+ success = on_enter(value);
67
+ else {
68
+ success = value_changed();
69
+ accept_change();
70
+ }
71
+ if (inserter) {
72
+ if (success) {
73
+ focus_input_box = true;
74
+ value = "";
75
+ } else {
76
+ value = org_value;
77
+ input_box_is_active = false;
78
+ }
79
+ } else {
80
+ if (!success)
81
+ value = org_value;
82
+ else
83
+ org_value = value;
84
+ input_box_is_active = false;
85
+ }
86
+ } catch (error) {
87
+ console.log(error);
88
+ input_box_is_active = false;
89
+ }
90
+ } else if (event.key == "Esc" || event.key == "Escape") {
91
+ input_box_is_active = false;
92
+ value = org_value;
93
+ }
94
+ }
95
+ function on_blur(event) {
96
+ input_box_is_active = false;
97
+ value = org_value;
98
+ }
99
+ function value_changed() {
100
+ if (item && a) {
101
+ item[a] = value;
102
+ if (typename)
103
+ inform_modification(item, a, typename);
104
+ }
105
+ return true;
106
+ }
107
+ function accept_change() {
108
+ $data_tick_store = $data_tick_store + 1;
109
+ push_changes();
110
+ }
111
+ </script>
112
+
113
+ <!-- svelte-ignore a11y-click-events-have-key-events -->
114
+ <div class="{cs} flex items-center {additional_class}" on:click={on_activate_input_box}>
115
+ <slot></slot>
116
+
117
+ {#if input_box_is_active}
118
+ <input bind:this={inputbox} bind:value={value} on:keydown={on_key_down} on:blur={on_blur} class="w-full border-0 bg-transparent text-gray-900 dark:text-gray-300"/>
119
+ {:else if value}
120
+ {#if is_table_component}
121
+ <span>{value}</span>
122
+ {:else}
123
+ <span class="w-full text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-300 cursor-text">{value}</span>
124
+ {/if}
125
+ {:else if !is_table_component}
126
+ <span class="w-full text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-400 cursor-text">{placeholder}</span>
127
+ {/if}
128
+ </div>
129
+
130
+ <style>
131
+ input:focus {
132
+ outline: 0px solid transparent;
133
+ }
134
+ </style>
@@ -0,0 +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 {};
@@ -0,0 +1,90 @@
1
+ <script>import FaExclamation from "svelte-icons/fa/FaExclamation.svelte";
2
+ import FaCheck from "svelte-icons/fa/FaCheck.svelte";
3
+ import FaTimes from "svelte-icons/fa/FaTimes.svelte";
4
+ import Spinner from "flowbite-svelte";
5
+ let file = void 0;
6
+ let data = null;
7
+ let reader;
8
+ const Empty = 0;
9
+ const Loading = 1;
10
+ const Success = 2;
11
+ const Failed = 3;
12
+ let state = Empty;
13
+ function load_file() {
14
+ const fileinput = document.getElementById("fileloader");
15
+ file = fileinput.files[0];
16
+ reader = new FileReader();
17
+ reader.addEventListener(
18
+ "load",
19
+ () => {
20
+ data = reader.result;
21
+ state = Success;
22
+ },
23
+ false
24
+ );
25
+ reader.addEventListener(
26
+ "error",
27
+ () => {
28
+ data = null;
29
+ state = Failed;
30
+ },
31
+ false
32
+ );
33
+ reader.addEventListener(
34
+ "loadstart",
35
+ () => {
36
+ data = null;
37
+ state = Loading;
38
+ },
39
+ false
40
+ );
41
+ reader.readAsArrayBuffer(file);
42
+ }
43
+ function clear() {
44
+ if (reader && reader.readyState == FileReader.LOADING)
45
+ reader.abort();
46
+ state = Empty;
47
+ file = void 0;
48
+ data = null;
49
+ }
50
+ export function get_name() {
51
+ if (file)
52
+ return file.name;
53
+ else
54
+ return "";
55
+ }
56
+ export function get_size() {
57
+ if (file)
58
+ return file.size;
59
+ else
60
+ return -1;
61
+ }
62
+ export function get_type() {
63
+ if (file)
64
+ return file.type;
65
+ else
66
+ return "";
67
+ }
68
+ export function get_data() {
69
+ return data;
70
+ }
71
+ export function is_selected() {
72
+ if (state == Success && data != null)
73
+ return true;
74
+ else
75
+ return false;
76
+ }
77
+ </script>
78
+
79
+ <input id="fileloader" type="file" on:change={load_file}/>
80
+ {#if state==Failed}
81
+ <!--span class="h-4 w-4 text-red-800"><FaExclamation/></span-->
82
+ {:else if state==Success}
83
+ <!--span class="h-4 w-4 text-green-800"><FaCheck/></span-->
84
+ {:else if state==Loading}
85
+ <Spinner size=4/>
86
+ {/if}
87
+
88
+ {#if state!=Empty}
89
+ <span class="h-4 w-4 text-slate-700"><FaTimes on:click={clear}/></span>
90
+ {/if}
@@ -0,0 +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 {};
@@ -0,0 +1,37 @@
1
+
2
+ <script>
3
+ import {data_tick_store} from '../stores.js'
4
+
5
+ export let i = null;
6
+ export let fld = '';
7
+ export let placeholder = ''
8
+
9
+ export let s = 'sm'
10
+ let label_mb = 'mb-1' //
11
+ let input_pt = 'pt-0.5'
12
+ let input_pb = 'pb-1'
13
+
14
+ switch (s)
15
+ {
16
+ case 'md':
17
+ label_mb = 'mb-2';
18
+ input_pt = 'pt-2.5'
19
+ input_pb = 'pb-2.5';
20
+ break;
21
+
22
+
23
+ }
24
+ let value = "?"
25
+ $: {if(i != null)
26
+ value = i[fld]}
27
+
28
+
29
+ </script>
30
+
31
+ {#if i!= null}
32
+ <input type=text value={value} on:input={()=> ($data_tick_store = $data_tick_store + 1)}
33
+ class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg
34
+ focus:ring-primary-600 focus:border-primary-600 block w-full {input_pb} {input_pt} px-2.5 dark:bg-gray-700
35
+ dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
36
+ placeholder={placeholder}>
37
+ {/if}
@@ -0,0 +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 {};
@@ -0,0 +1,110 @@
1
+ <script>
2
+ import {data_tick_store, context_items_store, context_types_store} from '../stores.js'
3
+ import {inform_modification, push_changes} from '../updates.js'
4
+ import {parse_width_directive} from '../utils.js'
5
+ import {getContext} from 'svelte';
6
+ import Rich_edit from './document/rich.edit.svelte'
7
+
8
+
9
+
10
+ export let label = ''
11
+ export let self = null;
12
+ export let a = '';
13
+ export let context = ""
14
+ export let itype="text"
15
+ export let typename = '';
16
+
17
+ export let val = ''
18
+
19
+ export const placeholder = 'pl'
20
+
21
+ export let s = 'sm'
22
+ export let c = ''
23
+
24
+
25
+ let item = null
26
+
27
+ let label_mb = 'mb-1' //
28
+ let input_pt = 'pt-0.5'
29
+ let input_pb = 'pb-1'
30
+
31
+ switch (s)
32
+ {
33
+ case 'md':
34
+ label_mb = 'mb-2';
35
+ input_pt = 'pt-2.5'
36
+ input_pb = 'pb-2.5';
37
+ break;
38
+ }
39
+
40
+ let cs = c ? parse_width_directive(c) : 'col-span-1';
41
+ let ctx = context ? context : getContext('ctx');
42
+
43
+ let last_tick = -1
44
+
45
+ $:{
46
+ if($data_tick_store > last_tick)
47
+ setup();
48
+ }
49
+
50
+ function setup()
51
+ {
52
+ last_tick = $data_tick_store;
53
+ item = self ?? $context_items_store[ctx];
54
+
55
+ if(!typename)
56
+ typename = $context_types_store[ctx];
57
+
58
+ if(item && a)
59
+ val = item[a]
60
+
61
+ if(label == '')
62
+ label = a
63
+ }
64
+
65
+
66
+
67
+ function value_changed()
68
+ {
69
+ if(item != null)
70
+ {
71
+ item[a] = val
72
+
73
+ if(typename)
74
+ inform_modification(item, a, typename);
75
+ }
76
+ }
77
+
78
+ function accept_change()
79
+ {
80
+ $data_tick_store = $data_tick_store + 1;
81
+ push_changes();
82
+
83
+ }
84
+
85
+
86
+ </script>
87
+
88
+ {#if itype == 'text'}
89
+ <div class={cs}>
90
+ <label for="name" class="block {label_mb} text-xs font-small text-gray-900 dark:text-white">{label}</label>
91
+
92
+ <input type=text name="name" id="name"
93
+ bind:value={val}
94
+ on:change={()=> (value_changed())}
95
+ on:blur={() => { accept_change(); } }
96
+
97
+ class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg
98
+ focus:ring-primary-600 focus:border-primary-600 block w-full {input_pb} {input_pt} px-2.5 dark:bg-gray-700
99
+ dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500"
100
+
101
+ placeholder={placeholder}>
102
+ </div>
103
+ {:else if itype == 'html'}
104
+ <!-- div class="{cs} prose prose-sm sm:prose-base dark:prose-invert h-full max-h-full overflow-y-auto"
105
+ contenteditable="true"
106
+ bind:innerHTML={val}
107
+ on:input={()=> (value_changed())}
108
+ on:blur={() => { accept_change(); }}/ -->
109
+ <Rich_edit {...$$props} />
110
+ {/if}
@@ -0,0 +1,44 @@
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
+ context?: string | undefined;
7
+ self?: null | undefined;
8
+ c?: string | undefined;
9
+ label?: string | undefined;
10
+ typename?: string | undefined;
11
+ a?: string | undefined;
12
+ s?: string | undefined;
13
+ placeholder?: string | undefined;
14
+ itype?: string | undefined;
15
+ val?: string | undefined;
16
+ }, {
17
+ [evt: string]: CustomEvent<any>;
18
+ }, {}> {
19
+ get placeholder(): string;
20
+ }
21
+ export type InputboxProps = typeof __propDef.props;
22
+ export type InputboxEvents = typeof __propDef.events;
23
+ export type InputboxSlots = typeof __propDef.slots;
24
+ import { SvelteComponentTyped } from "svelte";
25
+ declare const __propDef: {
26
+ props: {
27
+ [x: string]: any;
28
+ context?: string | undefined;
29
+ self?: null | undefined;
30
+ c?: string | undefined;
31
+ label?: string | undefined;
32
+ typename?: string | undefined;
33
+ a?: string | undefined;
34
+ s?: string | undefined;
35
+ placeholder?: string | undefined;
36
+ itype?: string | undefined;
37
+ val?: string | undefined;
38
+ };
39
+ events: {
40
+ [evt: string]: CustomEvent<any>;
41
+ };
42
+ slots: {};
43
+ };
44
+ export {};
@@ -0,0 +1,53 @@
1
+ <script>import { getContext } from "svelte";
2
+ import { data_tick_store, context_items_store, context_types_store } from "../stores.js";
3
+ import { inform_modification, push_changes } from "../updates.js";
4
+ import { parse_width_directive } from "../utils.js";
5
+ export let value;
6
+ export let disabled = false;
7
+ export let self = null;
8
+ export let a = "";
9
+ export let context = "";
10
+ export let typename = "";
11
+ export let c = "";
12
+ let item = null;
13
+ let additional_class = $$restProps.class ?? "";
14
+ let ctx = context ? context : getContext("ctx");
15
+ let cs = parse_width_directive(c);
16
+ let color_style = disabled ? "text-gray-400 dark:text-gray-500" : "text-gray-900 dark:text-gray-300";
17
+ let name;
18
+ let last_tick = -1;
19
+ $:
20
+ setup($data_tick_store);
21
+ function setup(data_tick_store2) {
22
+ if (data_tick_store2 <= last_tick)
23
+ return;
24
+ last_tick = data_tick_store2;
25
+ item = self ?? $context_items_store[ctx];
26
+ if (!typename)
27
+ typename = $context_types_store[ctx];
28
+ name = `${typename}_${item.Id}_${a}`;
29
+ }
30
+ function on_changed() {
31
+ if (item && a) {
32
+ if (typename) {
33
+ inform_modification(item, a, typename);
34
+ $data_tick_store = $data_tick_store + 1;
35
+ push_changes();
36
+ }
37
+ }
38
+ }
39
+ </script>
40
+
41
+ <div class="ml-2 h-6 {cs} {color_style} {additional_class} flex items-center">
42
+ <input type="radio"
43
+ bind:group={item[a]}
44
+ {value}
45
+ {name}
46
+ on:change={on_changed}
47
+ {disabled}
48
+ class="w-4 h-4 bg-gray-100 border-gray-300 dark:ring-offset-gray-800 focus:ring-2 mr-2 dark:bg-gray-700 dark:border-gray-600 rounded text-blue-600 focus:ring-blue-500 dark:focus:ring-blue-600"/>
49
+ <span class="text-sm font-medium ml-1">
50
+ <slot/>
51
+ </span>
52
+
53
+ </div>
@@ -0,0 +1,25 @@
1
+ import { SvelteComponentTyped } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ [x: string]: any;
5
+ value: any;
6
+ disabled?: boolean | 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
+ default: {};
18
+ };
19
+ };
20
+ export type RadioProps = typeof __propDef.props;
21
+ export type RadioEvents = typeof __propDef.events;
22
+ export type RadioSlots = typeof __propDef.slots;
23
+ export default class Radio extends SvelteComponentTyped<RadioProps, RadioEvents, RadioSlots> {
24
+ }
25
+ export {};