@opengis/form 0.0.13 → 0.0.15
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/dist/components/behavior.vue.d.ts +10 -0
- package/dist/components/behavior.vue.d.ts.map +1 -0
- package/dist/components/container-views/index.d.ts +193 -0
- package/dist/components/container-views/index.d.ts.map +1 -0
- package/dist/components/container-views/vs-container-accordion.vue.d.ts +43 -0
- package/dist/components/container-views/vs-container-accordion.vue.d.ts.map +1 -0
- package/dist/components/container-views/vs-container-default.vue.d.ts +34 -0
- package/dist/components/container-views/vs-container-default.vue.d.ts.map +1 -0
- package/dist/components/container-views/vs-container-switcher.vue.d.ts +43 -0
- package/dist/components/container-views/vs-container-switcher.vue.d.ts.map +1 -0
- package/dist/components/form/vs-compact-form.vue.d.ts +29 -0
- package/dist/components/form/vs-compact-form.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-arrow-top-bottom.vue.d.ts +3 -0
- package/dist/components/icons/icon-arrow-top-bottom.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-check.vue.d.ts +3 -0
- package/dist/components/icons/icon-check.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-chevron-down.vue.d.ts +3 -0
- package/dist/components/icons/icon-chevron-down.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-chevron-top-bottom.vue.d.ts +3 -0
- package/dist/components/icons/icon-chevron-top-bottom.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-close.vue.d.ts +3 -0
- package/dist/components/icons/icon-close.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-csv.vue.d.ts +3 -0
- package/dist/components/icons/icon-csv.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-delete.vue.d.ts +3 -0
- package/dist/components/icons/icon-delete.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-download.vue.d.ts +3 -0
- package/dist/components/icons/icon-download.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-export.vue.d.ts +3 -0
- package/dist/components/icons/icon-export.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-file.vue.d.ts +3 -0
- package/dist/components/icons/icon-file.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-geojson.vue.d.ts +3 -0
- package/dist/components/icons/icon-geojson.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-grip-vertical.vue.d.ts +3 -0
- package/dist/components/icons/icon-grip-vertical.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-import.vue.d.ts +3 -0
- package/dist/components/icons/icon-import.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-info.vue.d.ts +3 -0
- package/dist/components/icons/icon-info.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-magnifying-glass.vue.d.ts +3 -0
- package/dist/components/icons/icon-magnifying-glass.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-no-data.vue.d.ts +3 -0
- package/dist/components/icons/icon-no-data.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-pdf.vue.d.ts +3 -0
- package/dist/components/icons/icon-pdf.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-pen.vue.d.ts +3 -0
- package/dist/components/icons/icon-pen.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-plus.vue.d.ts +3 -0
- package/dist/components/icons/icon-plus.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-upload.vue.d.ts +3 -0
- package/dist/components/icons/icon-upload.vue.d.ts.map +1 -0
- package/dist/components/icons/icon-zip.vue.d.ts +3 -0
- package/dist/components/icons/icon-zip.vue.d.ts.map +1 -0
- package/dist/components/icons/index.d.ts +6 -0
- package/dist/components/icons/index.d.ts.map +1 -0
- package/dist/components/inputs/base/vs-input-email.vue.d.ts +18 -0
- package/dist/components/inputs/base/vs-input-email.vue.d.ts.map +1 -0
- package/dist/components/inputs/base/vs-input-html.vue.d.ts +6 -0
- package/dist/components/inputs/base/vs-input-html.vue.d.ts.map +1 -0
- package/dist/components/inputs/base/vs-input-mask.vue.d.ts +20 -0
- package/dist/components/inputs/base/vs-input-mask.vue.d.ts.map +1 -0
- package/dist/components/inputs/base/vs-input-number.vue.d.ts +15 -0
- package/dist/components/inputs/base/vs-input-number.vue.d.ts.map +1 -0
- package/dist/components/inputs/base/vs-input-static.vue.d.ts +8 -0
- package/dist/components/inputs/base/vs-input-static.vue.d.ts.map +1 -0
- package/dist/components/inputs/base/vs-input-switcher.vue.d.ts +21 -0
- package/dist/components/inputs/base/vs-input-switcher.vue.d.ts.map +1 -0
- package/dist/components/inputs/base/vs-input-text.vue.d.ts +18 -0
- package/dist/components/inputs/base/vs-input-text.vue.d.ts.map +1 -0
- package/dist/components/inputs/base/vs-input-textarea.vue.d.ts +17 -0
- package/dist/components/inputs/base/vs-input-textarea.vue.d.ts.map +1 -0
- package/dist/components/inputs/date/vs-date-text.vue.d.ts +16 -0
- package/dist/components/inputs/date/vs-date-text.vue.d.ts.map +1 -0
- package/dist/components/inputs/date/vs-input-date.vue.d.ts +18 -0
- package/dist/components/inputs/date/vs-input-date.vue.d.ts.map +1 -0
- package/dist/components/inputs/date/vs-input-date1.vue.d.ts +17 -0
- package/dist/components/inputs/date/vs-input-date1.vue.d.ts.map +1 -0
- package/dist/components/inputs/date/vs-input-time.vue.d.ts +17 -0
- package/dist/components/inputs/date/vs-input-time.vue.d.ts.map +1 -0
- package/dist/components/inputs/file/vs-input-file-list-item.vue.d.ts +15 -0
- package/dist/components/inputs/file/vs-input-file-list-item.vue.d.ts.map +1 -0
- package/dist/components/inputs/file/vs-input-file.vue.d.ts +12 -0
- package/dist/components/inputs/file/vs-input-file.vue.d.ts.map +1 -0
- package/dist/components/inputs/file-list/vs-input-file-list.vue.d.ts +10 -0
- package/dist/components/inputs/file-list/vs-input-file-list.vue.d.ts.map +1 -0
- package/dist/components/inputs/file-list/vs-widget-file-info.vue.d.ts +8 -0
- package/dist/components/inputs/file-list/vs-widget-file-info.vue.d.ts.map +1 -0
- package/dist/components/inputs/file-list/vs-widget-file-item.vue.d.ts +40 -0
- package/dist/components/inputs/file-list/vs-widget-file-item.vue.d.ts.map +1 -0
- package/dist/components/inputs/index.d.ts +259 -0
- package/dist/components/inputs/index.d.ts.map +1 -0
- package/dist/components/inputs/map/icons/icon-compass.vue.d.ts +3 -0
- package/dist/components/inputs/map/icons/icon-compass.vue.d.ts.map +1 -0
- package/dist/components/inputs/map/icons/icon-full-screen.vue.d.ts +3 -0
- package/dist/components/inputs/map/icons/icon-full-screen.vue.d.ts.map +1 -0
- package/dist/components/inputs/map/icons/icon-line.vue.d.ts +3 -0
- package/dist/components/inputs/map/icons/icon-line.vue.d.ts.map +1 -0
- package/dist/components/inputs/map/icons/icon-map-pin.vue.d.ts +3 -0
- package/dist/components/inputs/map/icons/icon-map-pin.vue.d.ts.map +1 -0
- package/dist/components/inputs/map/icons/icon-poligon-rectangle.vue.d.ts +3 -0
- package/dist/components/inputs/map/icons/icon-poligon-rectangle.vue.d.ts.map +1 -0
- package/dist/components/inputs/map/icons/icon-poligon.vue.d.ts +3 -0
- package/dist/components/inputs/map/icons/icon-poligon.vue.d.ts.map +1 -0
- package/dist/components/inputs/map/map-layers.vue.d.ts +15 -0
- package/dist/components/inputs/map/map-layers.vue.d.ts.map +1 -0
- package/dist/components/inputs/map/map-search.vue.d.ts +12 -0
- package/dist/components/inputs/map/map-search.vue.d.ts.map +1 -0
- package/dist/components/inputs/map/map.d.ts +109 -0
- package/dist/components/inputs/map/map.d.ts.map +1 -0
- package/dist/components/inputs/map/util.d.ts +2 -0
- package/dist/components/inputs/map/util.d.ts.map +1 -0
- package/dist/components/inputs/map/vs-input-map.vue.d.ts +8 -0
- package/dist/components/inputs/map/vs-input-map.vue.d.ts.map +1 -0
- package/dist/components/inputs/options/checkbox/index.d.ts +4 -0
- package/dist/components/inputs/options/checkbox/index.d.ts.map +1 -0
- package/dist/components/inputs/options/checkbox/vs-checkbox-buttons.vue.d.ts +32 -0
- package/dist/components/inputs/options/checkbox/vs-checkbox-buttons.vue.d.ts.map +1 -0
- package/dist/components/inputs/options/checkbox/vs-checkbox-default.vue.d.ts +31 -0
- package/dist/components/inputs/options/checkbox/vs-checkbox-default.vue.d.ts.map +1 -0
- package/dist/components/inputs/options/checkbox/vs-input-checkbox-item.vue.d.ts +27 -0
- package/dist/components/inputs/options/checkbox/vs-input-checkbox-item.vue.d.ts.map +1 -0
- package/dist/components/inputs/options/checkbox/vs-input-checkbox.vue.d.ts +15 -0
- package/dist/components/inputs/options/checkbox/vs-input-checkbox.vue.d.ts.map +1 -0
- package/dist/components/inputs/options/radio/index.d.ts +28 -0
- package/dist/components/inputs/options/radio/index.d.ts.map +1 -0
- package/dist/components/inputs/options/radio/vs-input-radio-buttons.vue.d.ts +15 -0
- package/dist/components/inputs/options/radio/vs-input-radio-buttons.vue.d.ts.map +1 -0
- package/dist/components/inputs/options/radio/vs-input-radio-default.vue.d.ts +15 -0
- package/dist/components/inputs/options/radio/vs-input-radio-default.vue.d.ts.map +1 -0
- package/dist/components/inputs/options/radio/vs-input-radio.vue.d.ts +15 -0
- package/dist/components/inputs/options/radio/vs-input-radio.vue.d.ts.map +1 -0
- package/dist/components/inputs/table/vs-input-datatable.vue.d.ts +12 -0
- package/dist/components/inputs/table/vs-input-datatable.vue.d.ts.map +1 -0
- package/dist/components/inputs/vs-input-container.vue.d.ts +44 -0
- package/dist/components/inputs/vs-input-container.vue.d.ts.map +1 -0
- package/dist/components/inputs/vs-input-select.vue.d.ts +24 -0
- package/dist/components/inputs/vs-input-select.vue.d.ts.map +1 -0
- package/dist/components/layouts/index.d.ts +100 -0
- package/dist/components/layouts/index.d.ts.map +1 -0
- package/dist/components/layouts/vs-compact-form-layout.vue.d.ts +17 -0
- package/dist/components/layouts/vs-compact-form-layout.vue.d.ts.map +1 -0
- package/dist/components/layouts/vs-layout-default.vue.d.ts +19 -0
- package/dist/components/layouts/vs-layout-default.vue.d.ts.map +1 -0
- package/dist/components/layouts/vs-layout-horizontal.vue.d.ts +19 -0
- package/dist/components/layouts/vs-layout-horizontal.vue.d.ts.map +1 -0
- package/dist/components/layouts/vs-layout-inline.vue.d.ts +19 -0
- package/dist/components/layouts/vs-layout-inline.vue.d.ts.map +1 -0
- package/dist/components/modal/modal-edit.vue.d.ts +12 -0
- package/dist/components/modal/modal-edit.vue.d.ts.map +1 -0
- package/dist/components/ui/vs-calendar.vue.d.ts +37 -0
- package/dist/components/ui/vs-calendar.vue.d.ts.map +1 -0
- package/dist/components/ui/vs-popover.vue.d.ts +89 -0
- package/dist/components/ui/vs-popover.vue.d.ts.map +1 -0
- package/dist/composables/useForm.d.ts +9 -0
- package/dist/composables/useForm.d.ts.map +1 -0
- package/dist/composables/useStyle.d.ts +9 -0
- package/dist/composables/useStyle.d.ts.map +1 -0
- package/dist/emitter/eventBus.d.ts +6 -0
- package/dist/emitter/eventBus.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1525 -1543
- package/dist/index.umd.cjs +2 -2
- package/dist/plugin/form-plugin.d.ts +10 -0
- package/dist/plugin/form-plugin.d.ts.map +1 -0
- package/dist/schema.d.ts +277 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/types/form.d.ts +93 -0
- package/dist/types/form.d.ts.map +1 -0
- package/dist/types/rules.d.ts +1 -0
- package/dist/types/rules.d.ts.map +1 -0
- package/dist/utils/convertForm.d.ts +4 -0
- package/dist/utils/convertForm.d.ts.map +1 -0
- package/dist/utils/dynamicPosition.d.ts +2 -0
- package/dist/utils/dynamicPosition.d.ts.map +1 -0
- package/dist/utils/file.api.d.ts +4 -0
- package/dist/utils/file.api.d.ts.map +1 -0
- package/dist/utils/file.preview.d.ts +2 -0
- package/dist/utils/file.preview.d.ts.map +1 -0
- package/dist/utils/formConditions.d.ts +16 -0
- package/dist/utils/formConditions.d.ts.map +1 -0
- package/dist/utils/formRules.d.ts +4 -0
- package/dist/utils/formRules.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/randomId.d.ts +2 -0
- package/dist/utils/randomId.d.ts.map +1 -0
- package/package.json +8 -5
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IFieldProps } from "../../types/form";
|
|
2
|
+
type __VLS_Props = IFieldProps;
|
|
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
|
+
item: any;
|
|
12
|
+
type: string;
|
|
13
|
+
style: any;
|
|
14
|
+
layout: string;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=vs-compact-form-layout.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vs-compact-form-layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/vs-compact-form-layout.vue"],"names":[],"mappings":"AA8DA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,KAAK,WAAW,GAAG,WAAW,CAAC;AA8C/B,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;;;;AAkFF,wBAQG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { LayoutProps } from "../../types/form.ts";
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<LayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LayoutProps> & Readonly<{}>, {
|
|
7
|
+
ua: string;
|
|
8
|
+
item: any;
|
|
9
|
+
error: string | boolean;
|
|
10
|
+
label: string;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=vs-layout-default.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vs-layout-default.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/vs-layout-default.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AA6DvD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;;;;;6EAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { LayoutProps } from "../../types/form.ts";
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<LayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LayoutProps> & Readonly<{}>, {
|
|
7
|
+
ua: string;
|
|
8
|
+
item: any;
|
|
9
|
+
error: string | boolean;
|
|
10
|
+
label: string;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=vs-layout-horizontal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vs-layout-horizontal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/vs-layout-horizontal.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAkEvD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;;;;;6EAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { LayoutProps } from "../../types/form.ts";
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<LayoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LayoutProps> & Readonly<{}>, {
|
|
7
|
+
ua: string;
|
|
8
|
+
item: any;
|
|
9
|
+
error: string | boolean;
|
|
10
|
+
label: string;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=vs-layout-inline.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vs-layout-inline.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/vs-layout-inline.vue"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AA0CvD,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqB/C,QAAA,MAAM,eAAe;;;;;6EAOnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { FormOptions } from "../../plugin/form-plugin.ts";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<FormOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
close: () => any;
|
|
4
|
+
edit: (data: any) => any;
|
|
5
|
+
save: (data: any) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<FormOptions> & Readonly<{
|
|
7
|
+
onClose?: (() => any) | undefined;
|
|
8
|
+
onEdit?: ((data: any) => any) | undefined;
|
|
9
|
+
onSave?: ((data: any) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=modal-edit.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modal-edit.vue.d.ts","sourceRoot":"","sources":["../../../src/components/modal/modal-edit.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;;;;;;;;;;AA6S/D,wBAOG"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type DateObj = {
|
|
2
|
+
day: number;
|
|
3
|
+
month: number;
|
|
4
|
+
year: number;
|
|
5
|
+
};
|
|
6
|
+
interface ICalendarData {
|
|
7
|
+
date: DateObj;
|
|
8
|
+
selectedDate: DateObj | null;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: () => string;
|
|
14
|
+
};
|
|
15
|
+
}>, {}, ICalendarData, {
|
|
16
|
+
daysInMonth(): number;
|
|
17
|
+
monthName(): string;
|
|
18
|
+
}, {
|
|
19
|
+
selectDay(day: number): void;
|
|
20
|
+
getDaysMonth({ year, month }?: DateObj): number;
|
|
21
|
+
changeMonth(step: string): void;
|
|
22
|
+
changeYear(step: string): void;
|
|
23
|
+
createTemporaryDate({ day, month, year }?: DateObj): Date;
|
|
24
|
+
setDate(currentDate: Date): void;
|
|
25
|
+
isDateEqualCurrent(day: string | number): boolean;
|
|
26
|
+
isDateEqualToday(day: string | number): boolean;
|
|
27
|
+
daysToFirst(type: string): number;
|
|
28
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
modelValue: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: () => string;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{}>, {
|
|
34
|
+
modelValue: string;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=vs-calendar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vs-calendar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui/vs-calendar.vue"],"names":[],"mappings":"AA+RE,KAAK,OAAO,GAAG;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,UAAU,aAAa;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;CAC9B;;;;;;;;;;mBAqCgB,MAAM,GAAG,IAAI;6CAOmB,MAAM;sBAGnC,MAAM,GAAG,IAAI;qBAMd,MAAM,GAAG,IAAI;yDAM6B,IAAI;yBAG1C,IAAI;4BAOD,MAAM,GAAG,MAAM,GAAG,OAAO;0BAO3B,MAAM,GAAG,MAAM,GAAG,OAAO;sBAQ7B,MAAM,GAAG,MAAM;;;;;;;;;AAlFrC,wBAuHG"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_13: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
reference?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
reference?: (props: typeof __VLS_3) => any;
|
|
6
|
+
} & {
|
|
7
|
+
default?: (props: typeof __VLS_13) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
isOpen: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: () => boolean;
|
|
13
|
+
};
|
|
14
|
+
placement: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
gap: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
width: {
|
|
23
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
trigger: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
teleport: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>, {
|
|
39
|
+
togglePopover: () => Promise<void>;
|
|
40
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
isvisible: (...args: any[]) => void;
|
|
42
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
isOpen: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: () => boolean;
|
|
46
|
+
};
|
|
47
|
+
placement: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
gap: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
width: {
|
|
56
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
trigger: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
teleport: {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
}>> & Readonly<{
|
|
72
|
+
onIsvisible?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}>, {
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
width: string | number;
|
|
76
|
+
isOpen: boolean;
|
|
77
|
+
teleport: string;
|
|
78
|
+
placement: string;
|
|
79
|
+
gap: number;
|
|
80
|
+
trigger: string;
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
82
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
83
|
+
export default _default;
|
|
84
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
85
|
+
new (): {
|
|
86
|
+
$slots: S;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=vs-popover.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vs-popover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui/vs-popover.vue"],"names":[],"mappings":"AAkbA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAChE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC9C;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC9C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAsChD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAgBnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { ISchemaItem, IErrors } from '../types/form';
|
|
3
|
+
export default function useForm(formValues: Ref<Record<string, any>>, schema1: ISchemaItem[] | any): {
|
|
4
|
+
errors: Ref<IErrors, IErrors>;
|
|
5
|
+
validate: (schemaList?: ISchemaItem[], isRoot?: boolean) => IErrors | null;
|
|
6
|
+
reset: () => void;
|
|
7
|
+
visibleSchema: import("vue").ComputedRef<ISchemaItem[]>;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=useForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useForm.d.ts","sourceRoot":"","sources":["../../src/composables/useForm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,GAAG,EAAY,MAAM,KAAK,CAAC;AAG9C,OAAO,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAG1D,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,GAAG;;4BAclE,WAAW,EAAE;;;EA4C5C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface StyleConfig {
|
|
2
|
+
primaryColor?: string;
|
|
3
|
+
size?: 'sm' | 'md' | 'lg';
|
|
4
|
+
}
|
|
5
|
+
export declare function useStyle(style: StyleConfig | null | undefined): {
|
|
6
|
+
inputClass: import("vue").ComputedRef<string>;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=useStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStyle.d.ts","sourceRoot":"","sources":["../../src/composables/useStyle.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS;;EAW7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eventBus.d.ts","sourceRoot":"","sources":["../../src/emitter/eventBus.ts"],"names":[],"mappings":"AAEA,KAAK,MAAM,GAAG;IACX,YAAY,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CACpC,CAAA;AAED,eAAO,MAAM,OAAO,gCAAiB,CAAA"}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.grid[data-v-
|
|
1
|
+
@charset "UTF-8";.grid[data-v-78e3db80]{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}.item-file:hover>div[data-v-02a1389c]{display:flex!important;background-color:#00000080}.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-479564a3],.slide-fade-leave-active[data-v-479564a3]{transition:all .3s ease}.slide-fade-enter-from[data-v-479564a3],.slide-fade-leave-to[data-v-479564a3]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-479564a3],.slide-fade-leave-from[data-v-479564a3]{max-height:1000px;opacity:1;transform:translateY(0)}.slide-fade-enter-active[data-v-a37284e6],.slide-fade-leave-active[data-v-a37284e6]{transition:all .3s ease}.slide-fade-enter-from[data-v-a37284e6],.slide-fade-leave-to[data-v-a37284e6]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-a37284e6],.slide-fade-leave-from[data-v-a37284e6]{max-height:1000px;opacity:1;transform:translateY(0)}.select-container[data-v-85790176]{position:relative;box-sizing:border-box;font-family:Roboto,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,sans-serif;font-style:normal;font-weight:400}.a11yText[data-v-85790176]{z-index:9999;border:0;clip:rect(1px,1px,1px,1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap}.select-control[data-v-85790176]{-webkit-box-align:center;align-items:center;cursor:default;display:flex;flex-wrap:wrap;-webkit-box-pack:justify;justify-content:space-between;min-height:38px;position:relative;transition:.1s;background-color:#fff;border-color:#ccc;border-radius:4px;border-style:solid;border-width:1px;box-sizing:border-box;outline:0!important}.singleValue[data-v-85790176]{grid-area:1 / 1 / 2 / 3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:2px;margin-right:2px;box-sizing:border-box}.indicatorSeparator[data-v-85790176]{width:1px;background:#ccc;margin:0 4px}.indicatorContainer[data-v-85790176]{display:flex;align-items:center;padding:0 4px}.input-container[data-v-85790176]{visibility:visible;transform:translateZ(0);flex:1 1 auto;display:inline-grid;grid-area:1 / 1 / 2 / 3;grid-template-columns:0 min-content;margin:2px;padding-bottom:2px;padding-top:2px;color:#333;box-sizing:border-box}.input-wrapper[data-v-85790176]{-webkit-box-align:center;align-items:center;display:grid;flex:1 1 0%;flex-wrap:wrap;position:relative;overflow:hidden;padding:2px 8px;box-sizing:border-box}.placeholder[data-v-85790176]{grid-area:1 / 1 / 2 / 3;color:gray;margin-left:2px;margin-right:2px;box-sizing:border-box}.input-container input[data-v-85790176]{color:inherit;background:0 center;opacity:1;grid-area:1 / 2;font:inherit;min-width:2px;border:0;margin:0;outline:0;padding:0;width:100%}.right-side[data-v-85790176]{-webkit-box-align:center;align-items:center;align-self:stretch;display:flex;flex-shrink:0;box-sizing:border-box}.indicatorSeparator[data-v-85790176]{align-self:stretch;width:1px;background-color:#ccc;margin-bottom:8px;margin-top:8px;box-sizing:border-box}.side-icon[data-v-85790176]{display:inline-block;fill:currentcolor;line-height:1;stroke:currentcolor;stroke-width:0}.indicatorContainer[data-v-85790176]{display:flex;transition:color .15s;color:#ccc;padding:8px;box-sizing:border-box}.indicatorContainer[data-v-85790176]:hover{color:#999}.select-control-focus[data-v-85790176]{-webkit-box-align:center;align-items:center;cursor:default;display:flex;flex-wrap:wrap;-webkit-box-pack:justify;justify-content:space-between;min-height:38px;position:relative;transition:.1s;background-color:#fff;border-color:#2684ff;border-radius:4px;border-style:solid;border-width:1px;box-shadow:#2684ff 0 0 0 1px;box-sizing:border-box;outline:0!important}.select-control[data-v-85790176]:hover{border-color:#b3b3b3}.select-control-focus[data-v-85790176]:hover{border-color:#2684ff}.dropdown-menu[data-v-85790176]{top:100%;position:absolute;width:100%;z-index:1;background-color:#fff;border-radius:4px;box-shadow:#0000001a 0 0 0 1px,#0000001a 0 4px 11px;margin-bottom:8px;margin-top:8px;box-sizing:border-box}.single-option[data-v-85790176]{cursor:default;display:block;font-size:inherit;width:100%;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:transparent;color:inherit;padding:8px 12px;box-sizing:border-box;line-height:19px}.single-option[data-v-85790176]:hover{cursor:default;display:block;font-size:inherit;width:100%;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:#deebff;color:inherit;padding:8px 12px;box-sizing:border-box}.single-option-active[data-v-85790176]{cursor:default;display:block;font-size:inherit;width:100%;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:#2684ff!important;color:#fff;padding:8px 12px;box-sizing:border-box;line-height:19px}.menu-container[data-v-85790176]{max-height:300px;overflow-y:auto;position:relative;padding-bottom:4px;padding-top:4px;box-sizing:border-box}.option-no-value[data-v-85790176]{text-align:center;color:#999;padding:8px 12px;box-sizing:border-box}.input-container[data-v-85790176]:after{content:attr(data-value) " ";visibility:hidden;white-space:pre;grid-area:1 / 2;font:inherit;min-width:2px;border:0;margin:0;outline:0;padding:0}.indicatorContainer-open[data-v-85790176]{display:flex;transition:color .15s;color:#666;padding:8px;box-sizing:border-box}.vs-ctrl-group[data-v-7d193de4]{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-7d193de4]{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-7d193de4]{width:16px;height:16px;stroke:currentColor;fill:none;color:#3c3c43;stroke-width:2}.vs-btn[data-v-7d193de4]:hover,.vs-active[data-v-7d193de4]{background:#2563eb;color:#fff}.vs-btn[data-v-7d193de4]:disabled{opacity:.5;cursor:not-allowed}.vs-btn-danger[data-v-7d193de4]:hover{background:#ef4444;color:#fff}.ring-2[data-v-7d193de4]{box-shadow:0 0 0 2px #3b82f699}.leaflet-map-wrapper .leaflet-container[data-v-7d193de4]{font:inherit}.vs-btn-row[data-v-7d193de4]{@apply inline-flex items-center gap-2 text-sm font-medium border rounded-md px-3 py-2 bg-white text-blue-600 border-stone-200 hover:bg-blue-500 hover:text-white hover:border-blue-500 focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-1 transition;}.vs-btn-row[data-v-7d193de4]:disabled{@apply opacity-50 cursor-not-allowed bg-gray-100 text-gray-400 border-gray-200 hover:bg-gray-100 hover:text-gray-400;}.fullscreen[data-v-7d193de4]{position:fixed!important;inset:0;width:100vw!important;height:100vh!important;z-index:9999;background:#fff}.tool[data-v-7d193de4]{line-height:1}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as VForm } from './components/form/vs-compact-form.vue';
|
|
2
|
+
export { default as VsInputText } from './components/inputs/base/vs-input-text.vue';
|
|
3
|
+
export { default as ModalEdit } from './components/modal/modal-edit.vue';
|
|
4
|
+
import VsForm from './components/form/vs-compact-form.vue';
|
|
5
|
+
export default VsForm;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,WAAW,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEzE,OAAO,MAAM,MAAM,uCAAuC,CAAC;AAK3D,eAAe,MAAM,CAAC"}
|