obm-upload-form-ui 0.1.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/LICENSE +674 -0
- package/README.md +153 -0
- package/dist/_plugin-vue_export-helper-DQLEQ__A.js +44 -0
- package/dist/_plugin-vue_export-helper-DQLEQ__A.js.map +1 -0
- package/dist/core/client/auth.d.ts +37 -0
- package/dist/core/client/errors.d.ts +31 -0
- package/dist/core/client/formApi.d.ts +23 -0
- package/dist/core/client/http.d.ts +10 -0
- package/dist/core/config.d.ts +25 -0
- package/dist/core/geo/wkt.d.ts +7 -0
- package/dist/core/i18n/messages.d.ts +13 -0
- package/dist/core/index.d.ts +16 -0
- package/dist/core/schema/guards.d.ts +12 -0
- package/dist/core/schema/normalize.d.ts +10 -0
- package/dist/core/schema/types.d.ts +119 -0
- package/dist/core/submit/linked.d.ts +58 -0
- package/dist/core/submit/metadata.d.ts +37 -0
- package/dist/core/submit/submitClient.d.ts +40 -0
- package/dist/core/validation/engine.d.ts +18 -0
- package/dist/core/validation/rules.d.ts +29 -0
- package/dist/core/validation/types.d.ts +48 -0
- package/dist/core.js +377 -0
- package/dist/core.js.map +1 -0
- package/dist/custom-elements/obm-upload-form-ui.css +1 -0
- package/dist/custom-elements/obm-upload-form.iife.js +21 -0
- package/dist/custom-elements/obm-upload-form.iife.js.map +1 -0
- package/dist/custom-elements/obm-upload-form.js +16889 -0
- package/dist/custom-elements/obm-upload-form.js.map +1 -0
- package/dist/engine-7r1HChwT.js +174 -0
- package/dist/engine-7r1HChwT.js.map +1 -0
- package/dist/obm-upload-form-ui.css +1 -0
- package/dist/vue/FieldWrapper.vue.d.ts +30 -0
- package/dist/vue/UploadForm.vue.d.ts +58 -0
- package/dist/vue/ValidationSummary.vue.d.ts +13 -0
- package/dist/vue/fieldRegistry.d.ts +5 -0
- package/dist/vue/fields/ArrayField.vue.d.ts +14 -0
- package/dist/vue/fields/AutocompleteField.vue.d.ts +15 -0
- package/dist/vue/fields/BooleanField.vue.d.ts +14 -0
- package/dist/vue/fields/NumericField.vue.d.ts +14 -0
- package/dist/vue/fields/SelectField.vue.d.ts +15 -0
- package/dist/vue/fields/TemporalField.vue.d.ts +14 -0
- package/dist/vue/fields/TextAreaField.vue.d.ts +14 -0
- package/dist/vue/fields/TextField.vue.d.ts +14 -0
- package/dist/vue/fields/TimeIntervalField.vue.d.ts +14 -0
- package/dist/vue/fields/UnsupportedField.vue.d.ts +8 -0
- package/dist/vue/fields/WktTextField.vue.d.ts +14 -0
- package/dist/vue/index.d.ts +19 -0
- package/dist/vue/types.d.ts +22 -0
- package/dist/vue/uiText.d.ts +3 -0
- package/dist/vue/useFormState.d.ts +13 -0
- package/dist/vue-leaflet/GeometryField.vue.d.ts +14 -0
- package/dist/vue-leaflet/index.d.ts +9 -0
- package/dist/vue-leaflet.js +117 -0
- package/dist/vue-leaflet.js.map +1 -0
- package/dist/vue.js +813 -0
- package/dist/vue.js.map +1 -0
- package/dist/wkt-C0dkXG1x.js +359 -0
- package/dist/wkt-C0dkXG1x.js.map +1 -0
- package/package.json +113 -0
package/package.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "obm-upload-form-ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Reusable UI component library for rendering and submitting OpenBioMaps upload forms via obm-project-api",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "GPL-3.0-or-later",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://gitlab.com/openbiomaps/obm-upload-form-ui-library.git"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://gitlab.com/openbiomaps/obm-upload-form-ui-library/-/issues"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://gitlab.com/openbiomaps/obm-upload-form-ui-library",
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=20"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/core/index.d.ts",
|
|
24
|
+
"import": "./dist/core.js"
|
|
25
|
+
},
|
|
26
|
+
"./vue": {
|
|
27
|
+
"types": "./dist/vue/index.d.ts",
|
|
28
|
+
"import": "./dist/vue.js"
|
|
29
|
+
},
|
|
30
|
+
"./vue-leaflet": {
|
|
31
|
+
"types": "./dist/vue-leaflet/index.d.ts",
|
|
32
|
+
"import": "./dist/vue-leaflet.js"
|
|
33
|
+
},
|
|
34
|
+
"./custom-elements": {
|
|
35
|
+
"import": "./dist/custom-elements/obm-upload-form.js"
|
|
36
|
+
},
|
|
37
|
+
"./style.css": "./dist/obm-upload-form-ui.css"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"dev": "storybook dev -p 6006",
|
|
41
|
+
"build": "npm run build:lib && npm run build:ce",
|
|
42
|
+
"build:lib": "vite build",
|
|
43
|
+
"build:ce": "vite build -c vite.ce.config.ts",
|
|
44
|
+
"typecheck": "vue-tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.node.json",
|
|
45
|
+
"test": "vitest run",
|
|
46
|
+
"test:watch": "vitest",
|
|
47
|
+
"test:integration": "vitest run --project integration",
|
|
48
|
+
"lint": "eslint .",
|
|
49
|
+
"format": "prettier --write .",
|
|
50
|
+
"format:check": "prettier --check .",
|
|
51
|
+
"storybook:build": "storybook build",
|
|
52
|
+
"demo:dev": "vite -c demo/vite.config.ts",
|
|
53
|
+
"demo:build": "vite build -c demo/vite.config.ts && node demo/zip-dist.js",
|
|
54
|
+
"capture:fixtures": "node scripts/capture-fixtures.mjs",
|
|
55
|
+
"prepublishOnly": "npm run build"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@vuepic/vue-datepicker": "^14.0.0",
|
|
59
|
+
"betterknown": "^1.0.4",
|
|
60
|
+
"date-fns": "^4.4.0"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"leaflet": "^1.9.0",
|
|
64
|
+
"leaflet-draw": "^1.0.4",
|
|
65
|
+
"vue": "^3.4.0"
|
|
66
|
+
},
|
|
67
|
+
"peerDependenciesMeta": {
|
|
68
|
+
"leaflet": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"leaflet-draw": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"vue": {
|
|
75
|
+
"optional": true
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@eslint/js": "^9.28.0",
|
|
80
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
81
|
+
"@semantic-release/git": "^10.0.1",
|
|
82
|
+
"@semantic-release/gitlab": "^13.3.3",
|
|
83
|
+
"@semantic-release/npm": "^13.1.5",
|
|
84
|
+
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
85
|
+
"@storybook/addon-docs": "^10.5.2",
|
|
86
|
+
"@storybook/vue3-vite": "^10.5.2",
|
|
87
|
+
"@types/geojson": "^7946.0.16",
|
|
88
|
+
"@types/leaflet": "^1.9.17",
|
|
89
|
+
"@types/leaflet-draw": "^1.0.11",
|
|
90
|
+
"@types/node": "^22.15.0",
|
|
91
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
92
|
+
"@vue/test-utils": "^2.4.6",
|
|
93
|
+
"archiver": "^7.0.1",
|
|
94
|
+
"conventional-changelog-conventionalcommits": "^10.2.1",
|
|
95
|
+
"eslint": "^9.28.0",
|
|
96
|
+
"eslint-config-prettier": "^10.1.5",
|
|
97
|
+
"eslint-plugin-storybook": "10.5.2",
|
|
98
|
+
"eslint-plugin-vue": "^10.1.0",
|
|
99
|
+
"jsdom": "^26.1.0",
|
|
100
|
+
"leaflet": "^1.9.4",
|
|
101
|
+
"leaflet-draw": "^1.0.4",
|
|
102
|
+
"prettier": "^3.5.3",
|
|
103
|
+
"semantic-release": "^25.0.8",
|
|
104
|
+
"storybook": "^10.5.2",
|
|
105
|
+
"typescript": "~5.8.3",
|
|
106
|
+
"typescript-eslint": "^8.33.0",
|
|
107
|
+
"vite": "^6.3.5",
|
|
108
|
+
"vite-plugin-dts": "^4.5.4",
|
|
109
|
+
"vitest": "^3.2.4",
|
|
110
|
+
"vue": "^3.5.13",
|
|
111
|
+
"vue-tsc": "^2.2.10"
|
|
112
|
+
}
|
|
113
|
+
}
|