@opengis/form 0.0.191 → 0.0.192

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.
@@ -1 +1 @@
1
- {"version":3,"file":"vs-input-select.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/vs-input-select.vue"],"names":[],"mappings":"AAm4BA,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAuCnE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiiCF,wBAQG"}
1
+ {"version":3,"file":"vs-input-select.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/vs-input-select.vue"],"names":[],"mappings":"AA05BA,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAuCnE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4kCF,wBAQG"}
@@ -0,0 +1,8 @@
1
+ export declare const DEFAULT_SCHEMA: Record<string, Record<string, unknown>>;
2
+ export declare const DEFAULT_FORM_DATA: Record<string, unknown>;
3
+ export declare const SCHEMA_PRESETS: Record<string, {
4
+ label: string;
5
+ schema: Record<string, Record<string, unknown>>;
6
+ data: Record<string, unknown>;
7
+ }>;
8
+ //# sourceMappingURL=defaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/playground/defaults.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAmClE,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAMrD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,CAiD5I,CAAC"}
@@ -0,0 +1,8 @@
1
+ export interface PaletteItem {
2
+ id: string;
3
+ label: string;
4
+ template: Record<string, unknown>;
5
+ }
6
+ export declare const FIELD_PALETTE: PaletteItem[];
7
+ export declare const PALETTE_DRAG_TYPE = "application/x-playground-field";
8
+ //# sourceMappingURL=field-palette.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-palette.d.ts","sourceRoot":"","sources":["../../../src/playground/field-palette.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,aAAa,EAAE,WAAW,EA4QtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,mCAAmC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export interface FieldParamDoc {
2
+ key: string;
3
+ type: string;
4
+ description: string;
5
+ /** Типи полів, для яких актуальний параметр. '*' — для всіх. */
6
+ forTypes: string[];
7
+ }
8
+ export declare const FIELD_PARAM_DOCS: FieldParamDoc[];
9
+ export declare function normalizeFieldType(type: unknown): string;
10
+ export declare function getFieldParamDocs(fieldType: unknown): FieldParamDoc[];
11
+ //# sourceMappingURL=field-param-docs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-param-docs.d.ts","sourceRoot":"","sources":["../../../src/playground/field-param-docs.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAmBD,eAAO,MAAM,gBAAgB,EAAE,aAAa,EAsC3C,CAAC;AA2CF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAGxD;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,OAAO,GAAG,aAAa,EAAE,CAQrE"}
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ open: boolean;
3
+ fieldKey: string;
4
+ field: Record<string, unknown>;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ close: () => any;
8
+ save: (payload: {
9
+ key: string;
10
+ field: Record<string, unknown>;
11
+ }) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onClose?: (() => any) | undefined;
14
+ onSave?: ((payload: {
15
+ key: string;
16
+ field: Record<string, unknown>;
17
+ }) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ export default _default;
20
+ //# sourceMappingURL=playground-field-editor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playground-field-editor.vue.d.ts","sourceRoot":"","sources":["../../../src/playground/playground-field-editor.vue"],"names":[],"mappings":"AA2KA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC,CAAC;;;;aAKuB,MAAM;eAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;;;aAAtC,MAAM;eAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;;AA8Y/D,wBAOG"}
@@ -0,0 +1,10 @@
1
+ export declare function cloneSchema<T>(value: T): T;
2
+ export declare function schemaToJson(schema: Record<string, unknown>): string;
3
+ export declare function parseSchemaJson(json: string): {
4
+ schema: Record<string, unknown> | null;
5
+ error: string;
6
+ };
7
+ export declare function orderedSchema(schema: Record<string, unknown>, fieldOrder: string[]): Record<string, unknown>;
8
+ export declare function syncFieldOrder(schema: Record<string, unknown>, currentOrder: string[]): string[];
9
+ export declare function uniqueFieldKey(base: string, existing: string[]): string;
10
+ //# sourceMappingURL=schema-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-utils.d.ts","sourceRoot":"","sources":["../../../src/playground/schema-utils.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAE1C;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAEpE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAUvG;AAED,wBAAgB,aAAa,CAC3B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,UAAU,EAAE,MAAM,EAAE,GACnB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAgBzB;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAOhG;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CASvE"}
@@ -1,5 +1,5 @@
1
1
  import { ref as $, getCurrentInstance as st, resolveComponent as Z, createElementBlock as w, openBlock as v, normalizeClass as E, createVNode as C, createElementVNode as d, unref as L, createBlock as W, Teleport as Ge, createCommentVNode as U, Transition as Ye, withCtx as q, toDisplayString as Y, renderSlot as we, defineComponent as it, withDirectives as de, mergeProps as ct, vModelDynamic as dt, Fragment as ae, vModelCheckbox as ut, nextTick as ue, watch as me, onMounted as be, onBeforeUnmount as Qe, normalizeStyle as se, vShow as $e, computed as N, renderList as ie, onUnmounted as Le, resolveDynamicComponent as Ee, vModelText as ft, withModifiers as pt, createStaticVNode as gt, mergeModels as ht, useModel as vt, shallowRef as mt, markRaw as bt } from "vue";
2
- import { r as De, _ as Q, a as yt, b as xt } from "./index-Cc_sXScq.js";
2
+ import { r as De, _ as Q, a as yt, b as xt } from "./index-DqCGQjZs.js";
3
3
  import { Quote as wt, List as kt, ListOrdered as _t, CodeXml as $t, Bold as Ct, Italic as At, Underline as Ft, Strikethrough as St, X as Pe, Mail as Tt, Search as Lt, Link2 as Bt, ExternalLink as Et, Trash2 as It, Table2 as Pt, AlignJustify as jt, AlignRight as Mt, AlignCenter as Ht, AlignLeft as Nt, Check as ke, Eraser as zt, PaintBucket as Dt, Highlighter as Vt, ChevronDown as je, ALargeSmall as Ot, Superscript as Rt, Subscript as Ut, RemoveFormatting as qt, Image as Kt, Undo2 as Wt, Redo2 as Xt, CircleHelp as Gt, Minus as Yt, Maximize as Qt } from "lucide-vue-next";
4
4
  import { notify as Se } from "@opengis/core";
5
5
  function Zt() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opengis/form",
3
3
  "private": false,
4
- "version": "0.0.191",
4
+ "version": "0.0.192",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",