@opengis/form 0.0.76 → 0.0.78
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 +2 -0
- package/dist/components/form/vs-compact-form.vue.d.ts.map +1 -1
- package/dist/components/inputs/base/vs-input-tel.vue.d.ts +18 -0
- package/dist/components/inputs/base/vs-input-tel.vue.d.ts.map +1 -0
- package/dist/components/inputs/base/vs-input-text.vue.d.ts.map +1 -1
- package/dist/components/inputs/base/vs-input-textarea.vue.d.ts.map +1 -1
- package/dist/components/inputs/index.d.ts +48 -0
- package/dist/components/inputs/index.d.ts.map +1 -1
- 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/vs-input-select.vue.d.ts +7 -0
- package/dist/components/inputs/vs-input-select.vue.d.ts.map +1 -1
- package/dist/components/inputs/vs-input-text-array.vue.d.ts +4 -0
- package/dist/components/inputs/vs-input-text-array.vue.d.ts.map +1 -1
- package/dist/components/layouts/vs-compact-form-layout.vue.d.ts +3 -0
- package/dist/components/layouts/vs-compact-form-layout.vue.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2933 -2743
- package/dist/index.umd.cjs +3 -3
- package/dist/schema.d.ts +5 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/types/form.d.ts +1 -0
- package/dist/types/form.d.ts.map +1 -1
- package/dist/utils/formRules.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.
|
|
@@ -27,9 +27,11 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
27
27
|
"update:values": (value: Record<string, any>) => any;
|
|
28
28
|
} & {
|
|
29
29
|
"update:modelValue": (formValues: Record<string, any>) => any;
|
|
30
|
+
"value-selected": (payload: Record<string, any>) => any;
|
|
30
31
|
"handle-submit": (formValues: Record<string, any>) => any;
|
|
31
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
32
33
|
"onUpdate:modelValue"?: ((formValues: Record<string, any>) => any) | undefined;
|
|
34
|
+
"onValue-selected"?: ((payload: Record<string, any>) => any) | undefined;
|
|
33
35
|
"onUpdate:form"?: ((value: IForm) => any) | undefined;
|
|
34
36
|
"onUpdate:values"?: ((value: Record<string, any>) => any) | undefined;
|
|
35
37
|
"onHandle-submit"?: ((formValues: Record<string, any>) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-compact-form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/vs-compact-form.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vs-compact-form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/vs-compact-form.vue"],"names":[],"mappings":"AA+JA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQ3D,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;AA4F7B,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B,CAAC;;;;;;;;;;;;;;;;;;;WA5GQ,MAAM;YADN,WAAW,EAAE,GAAG,GAAG;cAKhB,OAAO;YAFT,MAAM;YACN,MAAM;gBAEF,OAAO;cACT,MAAM;;AAsPnB,wBASG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IInputProps } from "../../../types/form";
|
|
2
|
+
type __VLS_Props = IInputProps;
|
|
3
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
style: Record<string, any>;
|
|
12
|
+
error: string | null;
|
|
13
|
+
customClass: string;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=vs-input-tel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vs-input-tel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/base/vs-input-tel.vue"],"names":[],"mappings":"AAwGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvD,KAAK,WAAW,GAAG,WAAW,CAAC;AAoE/B,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;AAoGF,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-input-text.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/base/vs-input-text.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vs-input-text.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/base/vs-input-text.vue"],"names":[],"mappings":"AA6CA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,KAAK,WAAW,GAAG,WAAW,CAAC;AAiC/B,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;;AAuDF,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-input-textarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/base/vs-input-textarea.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vs-input-textarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/base/vs-input-textarea.vue"],"names":[],"mappings":"AA2CA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,KAAK,WAAW,GAAG,WAAW,CAAC;AA+B/B,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;AAuDF,wBAQG"}
|
|
@@ -114,9 +114,19 @@ declare const _default: {
|
|
|
114
114
|
'vs-input-select': import("vue").DefineComponent<import("../../types/form.js").IInputSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
115
115
|
change: (value: string | number | (string | number)[] | null) => any;
|
|
116
116
|
"update:modelValue": (value: any) => any;
|
|
117
|
+
"value-selected": (payload: {
|
|
118
|
+
name?: string;
|
|
119
|
+
value: number | string | null | Array<number | string>;
|
|
120
|
+
option: import("../../types/form.js").IOption | null;
|
|
121
|
+
}) => any;
|
|
117
122
|
}, string, import("vue").PublicProps, Readonly<import("../../types/form.js").IInputSelectProps> & Readonly<{
|
|
118
123
|
onChange?: ((value: string | number | (string | number)[] | null) => any) | undefined;
|
|
119
124
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
125
|
+
"onValue-selected"?: ((payload: {
|
|
126
|
+
name?: string;
|
|
127
|
+
value: number | string | null | Array<number | string>;
|
|
128
|
+
option: import("../../types/form.js").IOption | null;
|
|
129
|
+
}) => any) | undefined;
|
|
120
130
|
}>, {
|
|
121
131
|
prefix: string;
|
|
122
132
|
style: Record<string, any>;
|
|
@@ -266,6 +276,21 @@ declare const _default: {
|
|
|
266
276
|
disabled: boolean;
|
|
267
277
|
placeholder: string;
|
|
268
278
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
279
|
+
'vs-input-tel': import("vue").DefineComponent<import("../../types/form.js").IInputProps & {
|
|
280
|
+
modelValue?: string;
|
|
281
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
282
|
+
"update:modelValue": (value: string) => any;
|
|
283
|
+
}, string, import("vue").PublicProps, Readonly<import("../../types/form.js").IInputProps & {
|
|
284
|
+
modelValue?: string;
|
|
285
|
+
}> & Readonly<{
|
|
286
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
287
|
+
}>, {
|
|
288
|
+
style: Record<string, any>;
|
|
289
|
+
error: string | null;
|
|
290
|
+
customClass: string;
|
|
291
|
+
disabled: boolean;
|
|
292
|
+
placeholder: string;
|
|
293
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
269
294
|
'vs-input-datatable': import("vue").DefineComponent<import("../../types/form.js").IInputTableProps & {
|
|
270
295
|
modelValue?: any[];
|
|
271
296
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -284,6 +309,7 @@ declare const _default: {
|
|
|
284
309
|
handleZoom: boolean;
|
|
285
310
|
ctrlZoom: boolean;
|
|
286
311
|
geomType: string[];
|
|
312
|
+
katottg: string;
|
|
287
313
|
layers: import("../../types/form.js").IMapLayerConfig[];
|
|
288
314
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
289
315
|
'vs-input-file-list': import("vue").DefineComponent<import("../../types/form.js").IInputFileListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -354,7 +380,9 @@ declare const _default: {
|
|
|
354
380
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
355
381
|
'vs-input-text[]': import("vue").DefineComponent<{
|
|
356
382
|
addButtonText?: string;
|
|
383
|
+
inputType?: string;
|
|
357
384
|
placeholder?: string;
|
|
385
|
+
mask?: string;
|
|
358
386
|
disabled?: boolean;
|
|
359
387
|
} & {
|
|
360
388
|
modelValue?: string[];
|
|
@@ -362,13 +390,17 @@ declare const _default: {
|
|
|
362
390
|
"update:modelValue": (value: string[]) => any;
|
|
363
391
|
}, string, import("vue").PublicProps, Readonly<{
|
|
364
392
|
addButtonText?: string;
|
|
393
|
+
inputType?: string;
|
|
365
394
|
placeholder?: string;
|
|
395
|
+
mask?: string;
|
|
366
396
|
disabled?: boolean;
|
|
367
397
|
} & {
|
|
368
398
|
modelValue?: string[];
|
|
369
399
|
}> & Readonly<{
|
|
370
400
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
371
401
|
}>, {
|
|
402
|
+
mask: string;
|
|
403
|
+
inputType: string;
|
|
372
404
|
addButtonText: string;
|
|
373
405
|
disabled: boolean;
|
|
374
406
|
placeholder: string;
|
|
@@ -407,9 +439,19 @@ declare const _default: {
|
|
|
407
439
|
'vs-input-native-select': import("vue").DefineComponent<import("../../types/form.js").IInputSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
408
440
|
change: (value: string | number | (string | number)[] | null) => any;
|
|
409
441
|
"update:modelValue": (value: any) => any;
|
|
442
|
+
"value-selected": (payload: {
|
|
443
|
+
name?: string;
|
|
444
|
+
value: number | string | null | Array<number | string>;
|
|
445
|
+
option: import("../../types/form.js").IOption | null;
|
|
446
|
+
}) => any;
|
|
410
447
|
}, string, import("vue").PublicProps, Readonly<import("../../types/form.js").IInputSelectProps> & Readonly<{
|
|
411
448
|
onChange?: ((value: string | number | (string | number)[] | null) => any) | undefined;
|
|
412
449
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
450
|
+
"onValue-selected"?: ((payload: {
|
|
451
|
+
name?: string;
|
|
452
|
+
value: number | string | null | Array<number | string>;
|
|
453
|
+
option: import("../../types/form.js").IOption | null;
|
|
454
|
+
}) => any) | undefined;
|
|
413
455
|
}>, {
|
|
414
456
|
prefix: string;
|
|
415
457
|
style: Record<string, any>;
|
|
@@ -429,7 +471,9 @@ declare const _default: {
|
|
|
429
471
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
430
472
|
'vs-input-array': import("vue").DefineComponent<{
|
|
431
473
|
addButtonText?: string;
|
|
474
|
+
inputType?: string;
|
|
432
475
|
placeholder?: string;
|
|
476
|
+
mask?: string;
|
|
433
477
|
disabled?: boolean;
|
|
434
478
|
} & {
|
|
435
479
|
modelValue?: string[];
|
|
@@ -437,13 +481,17 @@ declare const _default: {
|
|
|
437
481
|
"update:modelValue": (value: string[]) => any;
|
|
438
482
|
}, string, import("vue").PublicProps, Readonly<{
|
|
439
483
|
addButtonText?: string;
|
|
484
|
+
inputType?: string;
|
|
440
485
|
placeholder?: string;
|
|
486
|
+
mask?: string;
|
|
441
487
|
disabled?: boolean;
|
|
442
488
|
} & {
|
|
443
489
|
modelValue?: string[];
|
|
444
490
|
}> & Readonly<{
|
|
445
491
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
446
492
|
}>, {
|
|
493
|
+
mask: string;
|
|
494
|
+
inputType: string;
|
|
447
495
|
addButtonText: string;
|
|
448
496
|
disabled: boolean;
|
|
449
497
|
placeholder: string;
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,wBAkCE"}
|
|
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<IInputMapProps, {}, {}, {}
|
|
|
8
8
|
handleZoom: boolean;
|
|
9
9
|
ctrlZoom: boolean;
|
|
10
10
|
geomType: string[];
|
|
11
|
+
katottg: string;
|
|
11
12
|
layers: IMapLayerConfig[];
|
|
12
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
14
|
export default _default;
|
|
@@ -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":"AAkoCA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;;;;;;;;;;;;;AA+jD9E,wBAQG"}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import type { IInputSelectProps, IOption } from '../../types/form';
|
|
2
|
+
type ValueSelectedPayload = {
|
|
3
|
+
name?: string;
|
|
4
|
+
value: number | string | null | Array<number | string>;
|
|
5
|
+
option: IOption | null;
|
|
6
|
+
};
|
|
2
7
|
declare const _default: import("vue").DefineComponent<IInputSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
8
|
change: (value: string | number | (string | number)[] | null) => any;
|
|
4
9
|
"update:modelValue": (value: any) => any;
|
|
10
|
+
"value-selected": (payload: ValueSelectedPayload) => any;
|
|
5
11
|
}, string, import("vue").PublicProps, Readonly<IInputSelectProps> & Readonly<{
|
|
6
12
|
onChange?: ((value: string | number | (string | number)[] | null) => any) | undefined;
|
|
7
13
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
14
|
+
"onValue-selected"?: ((payload: ValueSelectedPayload) => any) | undefined;
|
|
8
15
|
}>, {
|
|
9
16
|
prefix: string;
|
|
10
17
|
style: Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-input-select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/vs-input-select.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vs-input-select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/vs-input-select.vue"],"names":[],"mappings":"AA+7BA,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AA2BnE,KAAK,oBAAoB,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACvD,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CACxB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AA4vCF,wBAQG"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
addButtonText?: string;
|
|
3
|
+
inputType?: string;
|
|
3
4
|
placeholder?: string;
|
|
5
|
+
mask?: string;
|
|
4
6
|
disabled?: boolean;
|
|
5
7
|
};
|
|
6
8
|
type __VLS_PublicProps = __VLS_Props & {
|
|
@@ -11,6 +13,8 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
11
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
14
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
13
15
|
}>, {
|
|
16
|
+
mask: string;
|
|
17
|
+
inputType: string;
|
|
14
18
|
addButtonText: string;
|
|
15
19
|
disabled: boolean;
|
|
16
20
|
placeholder: string;
|
|
@@ -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":"
|
|
1
|
+
{"version":3,"file":"vs-input-text-array.vue.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/vs-input-text-array.vue"],"names":[],"mappings":"AAmMA,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AA2FF,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;;;;;;UA/FO,MAAM;eAFD,MAAM;mBADF,MAAM;cAIX,OAAO;iBAFJ,MAAM;;AAwWtB,wBAQG"}
|
|
@@ -5,8 +5,11 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:modelValue": (value: any) => any;
|
|
8
|
+
} & {
|
|
9
|
+
"value-selected": (payload: Record<string, any>) => any;
|
|
8
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
11
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
12
|
+
"onValue-selected"?: ((payload: Record<string, any>) => any) | undefined;
|
|
10
13
|
}>, {
|
|
11
14
|
style: any;
|
|
12
15
|
item: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-compact-form-layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/vs-compact-form-layout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vs-compact-form-layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/vs-compact-form-layout.vue"],"names":[],"mappings":"AAqFA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,KAAK,WAAW,GAAG,YAAY,CAAC;AA4DhC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;;;;;;;;;;;;;;;;;;AA8GF,wBAQG"}
|
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-9074155d]{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-9074155d]{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-9074155d]{width:16px;height:16px;stroke:currentColor;fill:none;color:#3c3c43;stroke-width:2}.vs-btn[data-v-9074155d]:hover,.vs-active[data-v-9074155d]{background:#2563eb;color:#fff}.vs-btn[data-v-9074155d]:disabled{opacity:.5;cursor:not-allowed}.ring-2[data-v-9074155d]{box-shadow:0 0 0 2px #3b82f699}.leaflet-map-wrapper .leaflet-container[data-v-9074155d]{font:inherit}.fullscreen[data-v-9074155d]{position:fixed!important;inset:0;width:100vw!important;height:100vh!important;z-index:9999;background:#fff}.tool[data-v-9074155d]{line-height:1}.zoom-instructions-enter-active[data-v-9074155d],.zoom-instructions-leave-active[data-v-9074155d]{transition:all .3s ease}.zoom-instructions-enter-from[data-v-9074155d]{opacity:0;transform:scale(.95) translateY(-10px)}.zoom-instructions-leave-to[data-v-9074155d]{opacity:0;transform:scale(.95) translateY(10px)}.zoom-instructions-enter-to[data-v-9074155d],.zoom-instructions-leave-from[data-v-9074155d]{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-77ce3498]{-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}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { default as VsInputSwitcher } from './components/inputs/base/vs-input-sw
|
|
|
7
7
|
export { default as VsInputStatic } from './components/inputs/base/vs-input-static.vue';
|
|
8
8
|
export { default as VsInputMask } from './components/inputs/base/vs-input-mask.vue';
|
|
9
9
|
export { default as VsInputEmail } from "./components/inputs/base/vs-input-email.vue";
|
|
10
|
+
export { default as VsInputTel } from "./components/inputs/base/vs-input-tel.vue";
|
|
10
11
|
export { default as VsInputRange } from "./components/inputs/base/vs-input-range.vue";
|
|
11
12
|
export { default as VsInputColor } from "./components/inputs/base/vs-input-color.vue";
|
|
12
13
|
export { default as VsInputRadio } from './components/inputs/options/radio/vs-input-radio.vue';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAGtF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sDAAsD,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,4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