@opengis/form 0.0.73 → 0.0.75
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/README.md +73 -73
- package/dist/components/form/vs-compact-form.vue.d.ts +1 -1
- package/dist/components/form/vs-compact-form.vue.d.ts.map +1 -1
- package/dist/components/icons/icon-copy.vue.d.ts +3 -0
- package/dist/components/icons/icon-copy.vue.d.ts.map +1 -0
- package/dist/components/inputs/file/vs-input-file.vue.d.ts.map +1 -1
- package/dist/components/inputs/index.d.ts +50 -17
- package/dist/components/inputs/index.d.ts.map +1 -1
- package/dist/components/inputs/list/vs-input-dataform.vue.d.ts +20 -0
- package/dist/components/inputs/list/vs-input-dataform.vue.d.ts.map +1 -0
- package/dist/components/inputs/list/vs-input-datalist.vue.d.ts +18 -0
- package/dist/components/inputs/list/vs-input-datalist.vue.d.ts.map +1 -0
- package/dist/components/inputs/map/vs-input-map.vue.d.ts +1 -0
- package/dist/components/inputs/map/vs-input-map.vue.d.ts.map +1 -1
- package/dist/components/inputs/table/vs-input-datatable.vue.d.ts.map +1 -1
- package/dist/components/inputs/vs-input-container.vue.d.ts +1 -1
- package/dist/components/inputs/vs-input-text-array.vue.d.ts +1 -1
- package/dist/components/inputs/vs-input-text-array.vue.d.ts.map +1 -1
- package/dist/components/modal/modal-edit.vue.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3230 -2745
- package/dist/index.umd.cjs +3 -3
- package/dist/types/form.d.ts +29 -0
- package/dist/types/form.d.ts.map +1 -1
- package/dist/utils/convertForm.d.ts.map +1 -1
- package/dist/utils/file.api.d.ts +9 -1
- package/dist/utils/file.api.d.ts.map +1 -1
- package/package.json +68 -68
package/README.md
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
# Vue 3 + TypeScript + Vite
|
|
2
|
-
|
|
3
|
-
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
-
|
|
5
|
-
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
|
|
6
|
-
|
|
7
|
-
## Features
|
|
8
|
-
|
|
9
|
-
- Schema-based filter rendering (radio, checkbox)
|
|
10
|
-
- Slot-based extensibility for custom filters
|
|
11
|
-
- Built-in clear/reset support
|
|
12
|
-
- Emits `change` and `clear` events
|
|
13
|
-
- Popover support with positioning logic
|
|
14
|
-
- Show more / limit options logic
|
|
15
|
-
- Written in TypeScript
|
|
16
|
-
- Fully styleable with Tailwind CSS
|
|
17
|
-
- Mobile-friendly and responsive
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## Documentation
|
|
22
|
-
|
|
23
|
-
Check out the documentation and live demo here: [Live Demo & Docs](https://form.opengis.info)
|
|
24
|
-
|
|
25
|
-
## Install & Usage
|
|
26
|
-
|
|
27
|
-
### Install
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
npm i @opengis/form
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Usage
|
|
34
|
-
|
|
35
|
-
```vue
|
|
36
|
-
<template>
|
|
37
|
-
<VsForm :schema="schema" @change="console.log($event.data)" />
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script setup lang="ts">
|
|
41
|
-
|
|
42
|
-
import {ref} from 'vue'
|
|
43
|
-
import VsForm from "@opengis/form";
|
|
44
|
-
|
|
45
|
-
const schema = [
|
|
46
|
-
{ name: 'name', label: 'Name', type: 'text', col: 6, conditions: ['number', '==', 2], },
|
|
47
|
-
{ name: 'date', label: 'Date', type: 'date', col: 6, time: true, },
|
|
48
|
-
{ name: 'file', label: 'File', type: 'file', multiple: true, },
|
|
49
|
-
{ name: 'number', label: 'Number', type: 'number', col: 6, }
|
|
50
|
-
];
|
|
51
|
-
</script>
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Register
|
|
55
|
-
|
|
56
|
-
```ts
|
|
57
|
-
// main.ts
|
|
58
|
-
import VsFilter from '@opengis/form';
|
|
59
|
-
app.use(VsForm); // Register: VsForm, TextInput, ...
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Style
|
|
63
|
-
|
|
64
|
-
```html
|
|
65
|
-
<script src="https://cdn.tailwindcss.com"></script>
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## Contributions
|
|
71
|
-
|
|
72
|
-
We welcome contributions!
|
|
73
|
-
Feel free to open issues, suggest features, or submit pull requests.
|
|
1
|
+
# Vue 3 + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
+
|
|
5
|
+
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- Schema-based filter rendering (radio, checkbox)
|
|
10
|
+
- Slot-based extensibility for custom filters
|
|
11
|
+
- Built-in clear/reset support
|
|
12
|
+
- Emits `change` and `clear` events
|
|
13
|
+
- Popover support with positioning logic
|
|
14
|
+
- Show more / limit options logic
|
|
15
|
+
- Written in TypeScript
|
|
16
|
+
- Fully styleable with Tailwind CSS
|
|
17
|
+
- Mobile-friendly and responsive
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Documentation
|
|
22
|
+
|
|
23
|
+
Check out the documentation and live demo here: [Live Demo & Docs](https://form.opengis.info)
|
|
24
|
+
|
|
25
|
+
## Install & Usage
|
|
26
|
+
|
|
27
|
+
### Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm i @opengis/form
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Usage
|
|
34
|
+
|
|
35
|
+
```vue
|
|
36
|
+
<template>
|
|
37
|
+
<VsForm :schema="schema" @change="console.log($event.data)" />
|
|
38
|
+
</template>
|
|
39
|
+
|
|
40
|
+
<script setup lang="ts">
|
|
41
|
+
|
|
42
|
+
import {ref} from 'vue'
|
|
43
|
+
import VsForm from "@opengis/form";
|
|
44
|
+
|
|
45
|
+
const schema = [
|
|
46
|
+
{ name: 'name', label: 'Name', type: 'text', col: 6, conditions: ['number', '==', 2], },
|
|
47
|
+
{ name: 'date', label: 'Date', type: 'date', col: 6, time: true, },
|
|
48
|
+
{ name: 'file', label: 'File', type: 'file', multiple: true, },
|
|
49
|
+
{ name: 'number', label: 'Number', type: 'number', col: 6, }
|
|
50
|
+
];
|
|
51
|
+
</script>
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Register
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
// main.ts
|
|
58
|
+
import VsFilter from '@opengis/form';
|
|
59
|
+
app.use(VsForm); // Register: VsForm, TextInput, ...
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Style
|
|
63
|
+
|
|
64
|
+
```html
|
|
65
|
+
<script src="https://cdn.tailwindcss.com"></script>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Contributions
|
|
71
|
+
|
|
72
|
+
We welcome contributions!
|
|
73
|
+
Feel free to open issues, suggest features, or submit pull requests.
|
|
@@ -35,9 +35,9 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
35
35
|
"onHandle-submit"?: ((formValues: Record<string, any>) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
style: object;
|
|
38
|
+
schema: ISchemaItem[] | any;
|
|
38
39
|
disabled: boolean;
|
|
39
40
|
layout: string;
|
|
40
|
-
schema: ISchemaItem[] | any;
|
|
41
41
|
formId: string;
|
|
42
42
|
navigation: boolean;
|
|
43
43
|
navWidth: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-compact-form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/vs-compact-form.vue"],"names":[],"mappings":"AAyJA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAO3D,UAAU,SAAS;IACjB,MAAM,EAAE,WAAW,EAAE,GAAG,GAAG,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,KAAK,WAAW,GAAG,SAAS,CAAC;AAwF7B,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B,CAAC;;;;;;;;;;;;;;;;;WAxGQ,MAAM;
|
|
1
|
+
{"version":3,"file":"vs-compact-form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/vs-compact-form.vue"],"names":[],"mappings":"AAyJA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAO3D,UAAU,SAAS;IACjB,MAAM,EAAE,WAAW,EAAE,GAAG,GAAG,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,KAAK,WAAW,GAAG,SAAS,CAAC;AAwF7B,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B,CAAC;;;;;;;;;;;;;;;;;WAxGQ,MAAM;YADN,WAAW,EAAE,GAAG,GAAG;cAKhB,OAAO;YAFT,MAAM;YACN,MAAM;gBAEF,OAAO;cACT,MAAM;;AA6OnB,wBASG"}
|
|
@@ -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=icon-copy.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-copy.vue.d.ts","sourceRoot":"","sources":["../../../src/components/icons/icon-copy.vue"],"names":[],"mappings":";AAwEA,wBAKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-input-file.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/file/vs-input-file.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vs-input-file.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/file/vs-input-file.vue"],"names":[],"mappings":"AAkSA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,KAAK,WAAW,GAAG,eAAe,CAAC;AAuNnC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC9B,CAAC;;;;;;;;AAoLF,wBAOG"}
|
|
@@ -204,8 +204,8 @@ declare const _default: {
|
|
|
204
204
|
title: string;
|
|
205
205
|
style: Record<string, any>;
|
|
206
206
|
view: string;
|
|
207
|
-
name: string;
|
|
208
207
|
schema: import("../../types/form.js").ISchemaItem[];
|
|
208
|
+
name: string;
|
|
209
209
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
210
210
|
'vs-input-date': import("vue").DefineComponent<import("../../types/form.js").IInputProps & {
|
|
211
211
|
mode?: "datetime" | "month" | "week" | "time" | "date";
|
|
@@ -282,6 +282,7 @@ declare const _default: {
|
|
|
282
282
|
}>, {
|
|
283
283
|
prefix: string;
|
|
284
284
|
handleZoom: boolean;
|
|
285
|
+
ctrlZoom: boolean;
|
|
285
286
|
geomType: string[];
|
|
286
287
|
layers: import("../../types/form.js").IMapLayerConfig[];
|
|
287
288
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -368,9 +369,9 @@ declare const _default: {
|
|
|
368
369
|
}> & Readonly<{
|
|
369
370
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
370
371
|
}>, {
|
|
372
|
+
addButtonText: string;
|
|
371
373
|
disabled: boolean;
|
|
372
374
|
placeholder: string;
|
|
373
|
-
addButtonText: string;
|
|
374
375
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
375
376
|
'vs-input-range': import("vue").DefineComponent<import("../../types/form.js").IInputProps & {
|
|
376
377
|
min?: number;
|
|
@@ -426,24 +427,24 @@ declare const _default: {
|
|
|
426
427
|
maxHeight: number;
|
|
427
428
|
teleport: string;
|
|
428
429
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
429
|
-
'vs-input-array': import("vue").DefineComponent<
|
|
430
|
-
|
|
430
|
+
'vs-input-array': import("vue").DefineComponent<{
|
|
431
|
+
addButtonText?: string;
|
|
432
|
+
placeholder?: string;
|
|
433
|
+
disabled?: boolean;
|
|
434
|
+
} & {
|
|
435
|
+
modelValue?: string[];
|
|
431
436
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
432
|
-
"update:modelValue": (value:
|
|
433
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
434
|
-
|
|
437
|
+
"update:modelValue": (value: string[]) => any;
|
|
438
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
439
|
+
addButtonText?: string;
|
|
440
|
+
placeholder?: string;
|
|
441
|
+
disabled?: boolean;
|
|
442
|
+
} & {
|
|
443
|
+
modelValue?: string[];
|
|
435
444
|
}> & Readonly<{
|
|
436
|
-
"onUpdate:modelValue"?: ((value:
|
|
445
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
437
446
|
}>, {
|
|
438
|
-
|
|
439
|
-
limit: number;
|
|
440
|
-
mask: string;
|
|
441
|
-
unmask: boolean;
|
|
442
|
-
inputType: "number" | "text" | "email" | "tel" | "mask";
|
|
443
|
-
isAdded: boolean;
|
|
444
|
-
style: Record<string, any>;
|
|
445
|
-
error: string | null;
|
|
446
|
-
customClass: string;
|
|
447
|
+
addButtonText: string;
|
|
447
448
|
disabled: boolean;
|
|
448
449
|
placeholder: string;
|
|
449
450
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -474,6 +475,38 @@ declare const _default: {
|
|
|
474
475
|
customClass: string;
|
|
475
476
|
disabled: boolean;
|
|
476
477
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
478
|
+
'vs-input-datalist': import("vue").DefineComponent<import("../../types/form.js").IInputDataListProps & {
|
|
479
|
+
modelValue?: Record<string, any>[];
|
|
480
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
481
|
+
"update:modelValue": (value: Record<string, any>[]) => any;
|
|
482
|
+
}, string, import("vue").PublicProps, Readonly<import("../../types/form.js").IInputDataListProps & {
|
|
483
|
+
modelValue?: Record<string, any>[];
|
|
484
|
+
}> & Readonly<{
|
|
485
|
+
"onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
486
|
+
}>, {
|
|
487
|
+
schema: import("../../types/form.js").ISchemaItem[];
|
|
488
|
+
addButtonText: string;
|
|
489
|
+
emptyLabel: string;
|
|
490
|
+
minItems: number;
|
|
491
|
+
maxItems: number;
|
|
492
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
493
|
+
'vs-input-dataform': import("vue").DefineComponent<import("../../types/form.js").IInputDataFormProps & {
|
|
494
|
+
modelValue?: Record<string, any>[];
|
|
495
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
496
|
+
"update:modelValue": (value: Record<string, any>[]) => any;
|
|
497
|
+
}, string, import("vue").PublicProps, Readonly<import("../../types/form.js").IInputDataFormProps & {
|
|
498
|
+
modelValue?: Record<string, any>[];
|
|
499
|
+
}> & Readonly<{
|
|
500
|
+
"onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
501
|
+
}>, {
|
|
502
|
+
schema: import("../../types/form.js").ISchemaItem[];
|
|
503
|
+
minGroups: number;
|
|
504
|
+
maxGroups: number;
|
|
505
|
+
addButtonText: string;
|
|
506
|
+
groupLabel: string;
|
|
507
|
+
duplicateTitle: string;
|
|
508
|
+
removeTitle: string;
|
|
509
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
477
510
|
};
|
|
478
511
|
export default _default;
|
|
479
512
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,wBAiCE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { IInputDataFormProps, ISchemaItem } from '../../../types/form';
|
|
2
|
+
type __VLS_Props = IInputDataFormProps;
|
|
3
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
+
modelValue?: Record<string, any>[];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: Record<string, any>[]) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
schema: ISchemaItem[];
|
|
12
|
+
minGroups: number;
|
|
13
|
+
maxGroups: number;
|
|
14
|
+
addButtonText: string;
|
|
15
|
+
groupLabel: string;
|
|
16
|
+
duplicateTitle: string;
|
|
17
|
+
removeTitle: string;
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=vs-input-dataform.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vs-input-dataform.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/list/vs-input-dataform.vue"],"names":[],"mappings":"AAuLA,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAE5E,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA2GvC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;CAClC,CAAC;;;;;;;;;;;;;;AAqMF,wBAQG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IInputDataListProps, ISchemaItem } from '../../../types/form';
|
|
2
|
+
type __VLS_Props = IInputDataListProps;
|
|
3
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
+
modelValue?: Record<string, any>[];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: Record<string, any>[]) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
schema: ISchemaItem[];
|
|
12
|
+
addButtonText: string;
|
|
13
|
+
emptyLabel: string;
|
|
14
|
+
minItems: number;
|
|
15
|
+
maxItems: number;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=vs-input-datalist.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vs-input-datalist.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/list/vs-input-datalist.vue"],"names":[],"mappings":"AAwJA,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG5E,KAAK,WAAW,GAAG,mBAAmB,CAAC;AAyFvC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;CAClC,CAAC;;;;;;;;;;;;AAkJF,wBAQG"}
|
|
@@ -6,6 +6,7 @@ declare const _default: import("vue").DefineComponent<IInputMapProps, {}, {}, {}
|
|
|
6
6
|
}>, {
|
|
7
7
|
prefix: string;
|
|
8
8
|
handleZoom: boolean;
|
|
9
|
+
ctrlZoom: boolean;
|
|
9
10
|
geomType: string[];
|
|
10
11
|
layers: IMapLayerConfig[];
|
|
11
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-input-map.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/map/vs-input-map.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vs-input-map.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/map/vs-input-map.vue"],"names":[],"mappings":"AA4jCA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;;;;;AAggD9E,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-input-datatable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/table/vs-input-datatable.vue"],"names":[],"mappings":"AAqYA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAgLpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;CAClB,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"vs-input-datatable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/table/vs-input-datatable.vue"],"names":[],"mappings":"AAqYA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAgLpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;CAClB,CAAC;;;;;;AAq4BF,wBAOG"}
|
|
@@ -46,8 +46,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
46
|
title: string;
|
|
47
47
|
style: Record<string, any>;
|
|
48
48
|
view: string;
|
|
49
|
-
name: string;
|
|
50
49
|
schema: ISchemaItem[];
|
|
50
|
+
name: string;
|
|
51
51
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
52
52
|
export default _default;
|
|
53
53
|
//# sourceMappingURL=vs-input-container.vue.d.ts.map
|
|
@@ -11,9 +11,9 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
12
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
+
addButtonText: string;
|
|
14
15
|
disabled: boolean;
|
|
15
16
|
placeholder: string;
|
|
16
|
-
addButtonText: string;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
export default _default;
|
|
19
19
|
//# sourceMappingURL=vs-input-text-array.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-input-text-array.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/vs-input-text-array.vue"],"names":[],"mappings":"AAyKA,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAuFF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"vs-input-text-array.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/vs-input-text-array.vue"],"names":[],"mappings":"AAyKA,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAuFF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;;;;;;mBA5FgB,MAAM;cAEX,OAAO;iBADJ,MAAM;;AAkTtB,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-edit.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modal/modal-edit.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal-edit.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modal/modal-edit.vue"],"names":[],"mappings":"AA4LA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;;;;;;;;;;AAoX/D,wBAOG"}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.grid[data-v-
|
|
1
|
+
.grid[data-v-cf0478ce]{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}.item-file:hover>div[data-v-b61a9d9a]{display:flex!important;background-color:#00000080}.loader[data-v-08fe911b]{width:24px;height:24px;border:3px solid #f3f3f3;border-top:3px solid #3b82f6;border-radius:50%;animation:spin-08fe911b 1s linear infinite}@keyframes spin-08fe911b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-file .vs-button{background-color:#2563eb;color:#fff;font-size:.875rem;line-height:1.25rem;font-weight:600}.ui-dialog__modal div.flex.justify-between.items-center.py-3.px-4.border-b{border-bottom-width:0px;--tw-text-opacity: 1;color:#1f2937;font-weight:500;font-size:1.125rem;line-height:1.75rem;padding-bottom:0rem}.ui-dialog__modal .ui-dialog__content .p-4{padding-top:0rem}.slide-fade-enter-active[data-v-00f2f0fc],.slide-fade-leave-active[data-v-00f2f0fc]{transition:all .3s ease}.slide-fade-enter-from[data-v-00f2f0fc],.slide-fade-leave-to[data-v-00f2f0fc]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-00f2f0fc],.slide-fade-leave-from[data-v-00f2f0fc]{max-height:1000px;opacity:1;transform:translateY(0)}.slide-fade-enter-active[data-v-78778cb5],.slide-fade-leave-active[data-v-78778cb5]{transition:all .3s ease}.slide-fade-enter-from[data-v-78778cb5],.slide-fade-leave-to[data-v-78778cb5]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-78778cb5],.slide-fade-leave-from[data-v-78778cb5]{max-height:1000px;opacity:1;transform:translateY(0)}.map-search-widget[data-v-c5cab151]{width:100%}.vs-ctrl-group[data-v-fa01a958]{display:inline-flex;flex-direction:column;background:#fff;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden;box-shadow:0 1px 2px #0000000a;gap:2px}.vs-btn[data-v-fa01a958]{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:none;cursor:pointer;border-radius:.375rem;transition:background-color .15s ease,color .15s ease,opacity .15s}.vs-btn svg[data-v-fa01a958]{width:16px;height:16px;stroke:currentColor;fill:none;color:#3c3c43;stroke-width:2}.vs-btn[data-v-fa01a958]:hover,.vs-active[data-v-fa01a958]{background:#2563eb;color:#fff}.vs-btn[data-v-fa01a958]:disabled{opacity:.5;cursor:not-allowed}.ring-2[data-v-fa01a958]{box-shadow:0 0 0 2px #3b82f699}.leaflet-map-wrapper .leaflet-container[data-v-fa01a958]{font:inherit}.fullscreen[data-v-fa01a958]{position:fixed!important;inset:0;width:100vw!important;height:100vh!important;z-index:9999;background:#fff}.tool[data-v-fa01a958]{line-height:1}.zoom-instructions-enter-active[data-v-fa01a958],.zoom-instructions-leave-active[data-v-fa01a958]{transition:all .3s ease}.zoom-instructions-enter-from[data-v-fa01a958]{opacity:0;transform:scale(.95) translateY(-10px)}.zoom-instructions-leave-to[data-v-fa01a958]{opacity:0;transform:scale(.95) translateY(10px)}.zoom-instructions-enter-to[data-v-fa01a958],.zoom-instructions-leave-from[data-v-fa01a958]{opacity:1;transform:scale(1) translateY(0)}.col-error .vs-form-text input[data-v-cb7b2b74]{border:1px solid red}.vs-form-text[data-v-cb7b2b74]{position:relative}.vs-form-text__input[data-v-cb7b2b74]::placeholder{opacity:.5}.col-error .vs-form-text input[data-v-8f88fb66]{border:1px solid red}.vs-form-text[data-v-8f88fb66]{position:relative}.vs-form-text__input[data-v-8f88fb66]::placeholder{opacity:.5}[draggable=true][data-v-c1219c25],[draggable=true][data-v-9f5a70cd]{-webkit-user-select:none;user-select:none}.vs-datalist[data-v-3b714d78],.vs-dataform[data-v-9e39b4f5]{width:100%}.vs-compact-form-navigation__item[data-v-b3e16a91]{--vs-nav-indicator-left: 4px}.vs-compact-form-navigation__item[data-v-b3e16a91]:before{content:"";position:absolute;top:50%;left:var(--vs-nav-indicator-left);width:1.5px;height:100%;transform:translateY(-50%);background-color:#6b728099;transition:background-color .2s ease}.vs-compact-form-navigation__button[data-v-b3e16a91]{transition:color .2s ease}.vs-compact-form-navigation__item--active[data-v-b3e16a91]:before{background-color:#2563eb;border-radius:9999px}
|