@prosopo/vue-procaptcha-integration-demo 1.0.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.
@@ -0,0 +1,3 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
3
+ //# sourceMappingURL=integrationDemo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrationDemo.vue.d.ts","sourceRoot":"","sources":["../src/integrationDemo.vue"],"names":[],"mappings":"AASA;;AAgFA,wBAMG"}
package/index.html ADDED
@@ -0,0 +1,14 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+
7
+ <title>Vue Integration Demo</title>
8
+ </head>
9
+ <body>
10
+ <noscript>You need to enable JavaScript to run this app.</noscript>
11
+ <div id="root"></div>
12
+ <script type="module" src="src/index.ts"></script>
13
+ </body>
14
+ </html>
package/package.json ADDED
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "@prosopo/vue-procaptcha-integration-demo",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "engines": {
6
+ "node": "20",
7
+ "npm": "10.8.2"
8
+ },
9
+ "main": "dist/index.js",
10
+ "types": "dist/index.d.ts",
11
+ "scripts": {
12
+ "test": "echo \"No test specified\"",
13
+ "clean": "del-cli ./dist",
14
+ "build": "npx vite build",
15
+ "dev": "npx vite dev --port=9331"
16
+ },
17
+ "dependencies": {
18
+ "@prosopo/vue-procaptcha-wrapper": "1.0.0"
19
+ },
20
+ "devDependencies": {
21
+ "@prosopo/procaptcha-integration-build-config": "1.0.0",
22
+ "@vitejs/plugin-vue": "5.2.3",
23
+ "del-cli": "6.0.0"
24
+ },
25
+ "author": "PROSOPO LIMITED <info@prosopo.io>",
26
+ "license": "Apache-2.0",
27
+ "bugs": {
28
+ "url": "https://github.com/prosopo/captcha/issues"
29
+ },
30
+ "homepage": "https://github.com/prosopo/captcha#readme",
31
+ "sideEffects": false
32
+ }
package/readme.md ADDED
@@ -0,0 +1,4 @@
1
+ # Vue Procaptcha Integration demo
2
+
3
+ It's a demo Vue application that showcases usage of `@prosopo/vue-procaptcha-wrapper`, the Vue Procaptcha
4
+ integration component.
package/vite.config.ts ADDED
@@ -0,0 +1,40 @@
1
+ // Copyright 2021-2025 Prosopo (UK) Ltd.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // Copyright 2021-2025 Prosopo (UK) Ltd.
16
+ //
17
+ // Licensed under the Apache License, Version 2.0 (the "License");
18
+ // you may not use this file except in compliance with the License.
19
+ // You may obtain a copy of the License at
20
+ //
21
+ // http://www.apache.org/licenses/LICENSE-2.0
22
+ //
23
+ // Unless required by applicable law or agreed to in writing, software
24
+ // distributed under the License is distributed on an "AS IS" BASIS,
25
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26
+ // See the License for the specific language governing permissions and
27
+ // limitations under the License.
28
+
29
+ import path from "node:path";
30
+
31
+ import { createIntegrationViteConfig } from "@prosopo/procaptcha-integration-build-config";
32
+ import vue from "@vitejs/plugin-vue";
33
+
34
+ export default createIntegrationViteConfig({
35
+ name: "VueProcaptchaIntegrationDemo",
36
+ directory: __dirname,
37
+ viteSettings: {
38
+ plugins: [vue()],
39
+ },
40
+ });