@opengis/form 0.0.140 → 0.0.141

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.
@@ -3,16 +3,18 @@ type FileItem = {
3
3
  file_id: string;
4
4
  file_path: string;
5
5
  };
6
+ /** Як у vs-input-file: з API — об’єкт(и), після вибору з інпута — path або змішаний масив. */
7
+ type FileValueModel = string | FileItem | (string | FileItem)[];
6
8
  type __VLS_Props = IInputFileProps;
7
9
  type __VLS_PublicProps = __VLS_Props & {
8
- 'value'?: FileItem | FileItem[] | string | string[];
10
+ 'value'?: FileValueModel;
9
11
  'item'?: FileItem | string;
10
12
  };
11
13
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- "update:value": (value: string | string[] | FileItem | FileItem[] | undefined) => any;
14
+ "update:value": (value: FileValueModel | undefined) => any;
13
15
  "update:item": (value: string | FileItem | undefined) => any;
14
16
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
- "onUpdate:value"?: ((value: string | string[] | FileItem | FileItem[] | undefined) => any) | undefined;
17
+ "onUpdate:value"?: ((value: FileValueModel | undefined) => any) | undefined;
16
18
  "onUpdate:item"?: ((value: string | FileItem | undefined) => any) | undefined;
17
19
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
20
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"vs-input-file-list-item.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/file/vs-input-file-list-item.vue"],"names":[],"mappings":"AAgFA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,KAAK,QAAQ,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAKvD,KAAK,WAAW,GAAG,eAAe,CAAC;AAyBnC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,EAAE,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;IACpD,MAAM,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC1B,CAAC;;;;;;;;AAkJF,wBAOG"}
1
+ {"version":3,"file":"vs-input-file-list-item.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/file/vs-input-file-list-item.vue"],"names":[],"mappings":"AAkFA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,KAAK,QAAQ,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AACvD,8FAA8F;AAC9F,KAAK,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,CAAC,MAAM,GAAG,QAAQ,CAAC,EAAE,CAAC;AAKhE,KAAK,WAAW,GAAG,eAAe,CAAC;AAyBnC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,MAAM,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC1B,CAAC;;;;;;;;AAkJF,wBAOG"}
@@ -3,16 +3,17 @@ type FileItem = {
3
3
  file_id: string;
4
4
  file_path: string;
5
5
  };
6
+ type FileModelValue = string | FileItem | (string | FileItem)[];
6
7
  type __VLS_Props = IInputFileProps;
7
8
  type __VLS_PublicProps = __VLS_Props & {
8
- modelValue?: FileItem | FileItem[];
9
+ modelValue?: FileModelValue;
9
10
  };
10
11
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- change: (value: FileItem | FileItem[]) => any;
12
- "update:modelValue": (value: FileItem | FileItem[] | undefined) => any;
12
+ change: (value: FileModelValue) => any;
13
+ "update:modelValue": (value: FileModelValue | undefined) => any;
13
14
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
- onChange?: ((value: FileItem | FileItem[]) => any) | undefined;
15
- "onUpdate:modelValue"?: ((value: FileItem | FileItem[] | undefined) => any) | undefined;
15
+ onChange?: ((value: FileModelValue) => any) | undefined;
16
+ "onUpdate:modelValue"?: ((value: FileModelValue | undefined) => any) | undefined;
16
17
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
18
  export default _default;
18
19
  //# sourceMappingURL=vs-input-file.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vs-input-file.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/file/vs-input-file.vue"],"names":[],"mappings":"AAgSA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,KAAK,QAAQ,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvD,KAAK,WAAW,GAAG,eAAe,CAAC;AA+MnC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,EAAE,CAAC;CAClC,CAAC;;;;;;;;AAqLF,wBAOG"}
1
+ {"version":3,"file":"vs-input-file.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/file/vs-input-file.vue"],"names":[],"mappings":"AAuSA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,KAAK,QAAQ,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AACvD,KAAK,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,CAAC,MAAM,GAAG,QAAQ,CAAC,EAAE,CAAC;AAEhE,KAAK,WAAW,GAAG,eAAe,CAAC;AAqNnC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,cAAc,CAAC;CAC3B,CAAC;;;;;;;;AAsLF,wBAOG"}
@@ -324,51 +324,51 @@ declare const _default: {
324
324
  modelValue: any;
325
325
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
326
326
  'vs-input-file': import("vue").DefineComponent<import("../../types/form.js").IInputFileProps & {
327
- modelValue?: {
327
+ modelValue?: string | {
328
328
  file_id: string;
329
329
  file_path: string;
330
- } | {
330
+ } | (string | {
331
331
  file_id: string;
332
332
  file_path: string;
333
- }[];
333
+ })[];
334
334
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
335
- change: (value: {
335
+ change: (value: string | {
336
336
  file_id: string;
337
337
  file_path: string;
338
- } | {
338
+ } | (string | {
339
339
  file_id: string;
340
340
  file_path: string;
341
- }[]) => any;
342
- "update:modelValue": (value: {
341
+ })[]) => any;
342
+ "update:modelValue": (value: (string | {
343
343
  file_id: string;
344
344
  file_path: string;
345
- } | {
345
+ } | (string | {
346
346
  file_id: string;
347
347
  file_path: string;
348
- }[] | undefined) => any;
348
+ })[]) | undefined) => any;
349
349
  }, string, import("vue").PublicProps, Readonly<import("../../types/form.js").IInputFileProps & {
350
- modelValue?: {
350
+ modelValue?: string | {
351
351
  file_id: string;
352
352
  file_path: string;
353
- } | {
353
+ } | (string | {
354
354
  file_id: string;
355
355
  file_path: string;
356
- }[];
356
+ })[];
357
357
  }> & Readonly<{
358
- onChange?: ((value: {
358
+ onChange?: ((value: string | {
359
359
  file_id: string;
360
360
  file_path: string;
361
- } | {
361
+ } | (string | {
362
362
  file_id: string;
363
363
  file_path: string;
364
- }[]) => any) | undefined;
365
- "onUpdate:modelValue"?: ((value: {
364
+ })[]) => any) | undefined;
365
+ "onUpdate:modelValue"?: ((value: (string | {
366
366
  file_id: string;
367
367
  file_path: string;
368
- } | {
368
+ } | (string | {
369
369
  file_id: string;
370
370
  file_path: string;
371
- }[] | undefined) => any) | undefined;
371
+ })[]) | undefined) => any) | undefined;
372
372
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
373
373
  'vs-input-file2': import("vue").DefineComponent<import("../../types/form.js").IInputFileChunkProps & {
374
374
  modelValue?: {
@@ -1,5 +1,5 @@
1
1
  import { shallowRef as Je, ref as $, computed as P, watch as ue, markRaw as et, nextTick as be, getCurrentInstance as tt, resolveComponent as G, createElementBlock as w, openBlock as v, normalizeClass as T, createVNode as C, createElementVNode as d, unref as k, createBlock as K, Teleport as Ve, createCommentVNode as R, Transition as Re, withCtx as D, toDisplayString as W, renderSlot as he, defineComponent as rt, withDirectives as ie, mergeProps as ot, vModelDynamic as lt, Fragment as re, vModelCheckbox as at, onMounted as fe, onBeforeUnmount as Ue, normalizeStyle as ae, vShow as ye, renderList as le, onUnmounted as ke, resolveDynamicComponent as Fe, vModelText as st, withModifiers as nt, createStaticVNode as it, mergeModels as Pe, useModel as ct, isRef as dt } from "vue";
2
- import { r as Me, _ as X, a as ut, b as ft } from "./index-Cs54Hg4W.js";
2
+ import { r as Me, _ as X, a as ut, b as ft } from "./index-CuCkJJxN.js";
3
3
  import { Quote as pt, List as gt, ListOrdered as ht, CodeXml as vt, Bold as mt, Italic as bt, Underline as yt, Strikethrough as xt, X as Te, Mail as wt, Search as kt, Link2 as _t, ExternalLink as $t, Trash2 as Ct, Table2 as At, AlignJustify as Ft, AlignRight as St, AlignCenter as Tt, AlignLeft as Lt, Type as Bt, Check as ve, Eraser as It, PaintBucket as Et, Highlighter as jt, ChevronDown as Le, ALargeSmall as Pt, Superscript as Mt, Subscript as Ht, RemoveFormatting as Nt, Image as zt, Undo2 as Dt, Redo2 as Ot, CircleHelp as Vt, Minus as Rt, Maximize as Ut, ListIndentIncrease as qt } from "lucide-vue-next";
4
4
  import { notify as we } from "@opengis/core";
5
5
  const Kt = async (t) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opengis/form",
3
3
  "private": false,
4
- "version": "0.0.140",
4
+ "version": "0.0.141",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",