@functionalcms/svelte-components 4.2.3 → 4.2.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.
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
// }
|
|
5
|
-
// let { isHuman = true }: Partial<Props> = $props();
|
|
6
|
-
let isHuman = false;
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
<div style="display:none; visibility: hidden;">
|
|
10
|
-
<input id="humanTest" type="checkbox" name="humanTest" bind:checked={isHuman} />
|
|
11
|
-
<label for="humanTest">Do not check if you are a human</label>
|
|
1
|
+
<div>
|
|
2
|
+
<label for="human-detection">Please do not check it</label>
|
|
3
|
+
<input id="human-detection" name="human-detection" />
|
|
12
4
|
</div>
|
|
5
|
+
|
|
6
|
+
<style>
|
|
7
|
+
div,
|
|
8
|
+
label,
|
|
9
|
+
input {
|
|
10
|
+
display: none !important;
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
+
export default AntiBot;
|
|
2
|
+
type AntiBot = SvelteComponent<{
|
|
3
|
+
[x: string]: never;
|
|
4
|
+
}, {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
}, {}> & {
|
|
7
|
+
$$bindings?: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
declare const AntiBot: $$__sveltets_2_IsomorphicComponent<{
|
|
10
|
+
[x: string]: never;
|
|
11
|
+
}, {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
}, {}, {}, string>;
|
|
1
14
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
2
|
-
new (options: import(
|
|
15
|
+
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
|
|
3
16
|
$$bindings?: Bindings;
|
|
4
17
|
} & Exports;
|
|
5
18
|
(internal: unknown, props: {
|
|
@@ -11,8 +24,3 @@ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> =
|
|
|
11
24
|
};
|
|
12
25
|
z_$$bindings?: Bindings;
|
|
13
26
|
}
|
|
14
|
-
declare const AntiBot: $$__sveltets_2_IsomorphicComponent<Record<string, never>, {
|
|
15
|
-
[evt: string]: CustomEvent<any>;
|
|
16
|
-
}, {}, {}, string>;
|
|
17
|
-
type AntiBot = InstanceType<typeof AntiBot>;
|
|
18
|
-
export default AntiBot;
|