@opengis/form 0.0.34 → 0.0.36

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.
@@ -5,6 +5,7 @@ interface FormProps {
5
5
  modelValue?: any;
6
6
  layout?: string;
7
7
  formId?: string;
8
+ disabled?: boolean;
8
9
  }
9
10
  type __VLS_Props = FormProps;
10
11
  type __VLS_PublicProps = __VLS_Props & {
@@ -28,6 +29,7 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
28
29
  "onHandle-submit"?: ((formValues: Record<string, any>) => any) | undefined;
29
30
  }>, {
30
31
  style: object;
32
+ disabled: boolean;
31
33
  layout: string;
32
34
  schema: ISchemaItem[] | any;
33
35
  formId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"vs-compact-form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/vs-compact-form.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM3D,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,CAAA;CAChB;AAED,KAAK,WAAW,GAAG,SAAS,CAAC;AA4D7B,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B,CAAC;;;;;;;;;;;;;;;;;WArEQ,MAAM;YAEL,MAAM;YAHP,WAAW,EAAE,GAAG,GAAG;YAIlB,MAAM;;AAmJjB,wBASG"}
1
+ {"version":3,"file":"vs-compact-form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/vs-compact-form.vue"],"names":[],"mappings":"AAoGA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM3D,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,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,KAAK,WAAW,GAAG,SAAS,CAAC;AA8D7B,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B,CAAC;;;;;;;;;;;;;;;;;WAxEQ,MAAM;cAIH,OAAO;YAFT,MAAM;YAHP,WAAW,EAAE,GAAG,GAAG;YAIlB,MAAM;;AAkKjB,wBASG"}
@@ -1 +1 @@
1
- {"version":3,"file":"icon-file.vue.d.ts","sourceRoot":"","sources":["../../../src/components/icons/icon-file.vue"],"names":[],"mappings":""}
1
+ {"version":3,"file":"icon-file.vue.d.ts","sourceRoot":"","sources":["../../../src/components/icons/icon-file.vue"],"names":[],"mappings":";AA+EA,wBAKG"}
@@ -352,6 +352,27 @@ declare const _default: {
352
352
  disabled: boolean;
353
353
  placeholder: string;
354
354
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
355
+ 'vs-input-native-select': import("vue").DefineComponent<import("../../types/form.js").IInputSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
356
+ change: (value: string | number | (string | number)[] | null) => any;
357
+ "update:modelValue": (value: any) => any;
358
+ }, string, import("vue").PublicProps, Readonly<import("../../types/form.js").IInputSelectProps> & Readonly<{
359
+ onChange?: ((value: string | number | (string | number)[] | null) => any) | undefined;
360
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
361
+ }>, {
362
+ multiple: boolean;
363
+ prefix: string;
364
+ options: import("../../types/form.js").IOption[];
365
+ data: string;
366
+ error: string | null;
367
+ style: Record<string, any>;
368
+ search: boolean;
369
+ customClass: string;
370
+ disabled: boolean;
371
+ placeholder: string;
372
+ host: string;
373
+ api: string;
374
+ maxHeight: number;
375
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
355
376
  };
356
377
  export default _default;
357
378
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,wBA0BE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,wBA2BE"}
@@ -1 +1 @@
1
- {"version":3,"file":"vs-input-datatable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/table/vs-input-datatable.vue"],"names":[],"mappings":"AA6WA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAuKpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;CAClB,CAAC;;;;;;AAuwBF,wBAOG"}
1
+ {"version":3,"file":"vs-input-datatable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/table/vs-input-datatable.vue"],"names":[],"mappings":"AAgYA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,KAAK,WAAW,GAAG,gBAAgB,CAAC;AA4KpC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;CAClB,CAAC;;;;;;AAq2BF,wBAOG"}
@@ -1,6 +1,6 @@
1
1
  import { type Ref } from 'vue';
2
2
  import type { ISchemaItem, IErrors } from '../types/form';
3
- export default function useForm(formValues: Ref<Record<string, any>>, schema1: ISchemaItem[] | any): {
3
+ export default function useForm(formValues: Ref<Record<string, any>>, schema1: ISchemaItem[] | any, disabled?: Ref<boolean> | boolean): {
4
4
  errors: Ref<IErrors, IErrors>;
5
5
  validate: (schemaList?: ISchemaItem[], isRoot?: boolean) => IErrors | null;
6
6
  reset: () => void;
@@ -1 +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"}
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,EAAG,QAAQ,GAAE,GAAG,CAAC,OAAO,CAAC,GAAG,OAAe;;4BAmB7G,WAAW,EAAE;;;EA4C5C"}