@opengis/form 0.0.67 → 0.0.68

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-file-list-item.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/file/vs-input-file-list-item.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAK9D,KAAK,WAAW,GAAG,eAAe,CAAC;AAQnC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;;;;;;;;AAqJF,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":"AAgEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAK9D,KAAK,WAAW,GAAG,eAAe,CAAC;AAQnC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;;;;;;;;AAsJF,wBAOG"}
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.grid[data-v-8e66207e]{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}.item-file:hover>div[data-v-0ca886b3]{display:flex!important;background-color:#00000080}.loader[data-v-70ddd946]{width:24px;height:24px;border:3px solid #f3f3f3;border-top:3px solid #3b82f6;border-radius:50%;animation:spin-70ddd946 1s linear infinite}@keyframes spin-70ddd946{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-90320b87],.slide-fade-leave-active[data-v-90320b87]{transition:all .3s ease}.slide-fade-enter-from[data-v-90320b87],.slide-fade-leave-to[data-v-90320b87]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-90320b87],.slide-fade-leave-from[data-v-90320b87]{max-height:1000px;opacity:1;transform:translateY(0)}.slide-fade-enter-active[data-v-590eff11],.slide-fade-leave-active[data-v-590eff11]{transition:all .3s ease}.slide-fade-enter-from[data-v-590eff11],.slide-fade-leave-to[data-v-590eff11]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-590eff11],.slide-fade-leave-from[data-v-590eff11]{max-height:1000px;opacity:1;transform:translateY(0)}.map-search-widget[data-v-3048520a]{width:100%}.vs-ctrl-group[data-v-150e767b]{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-150e767b]{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-150e767b]{width:16px;height:16px;stroke:currentColor;fill:none;color:#3c3c43;stroke-width:2}.vs-btn[data-v-150e767b]:hover,.vs-active[data-v-150e767b]{background:#2563eb;color:#fff}.vs-btn[data-v-150e767b]:disabled{opacity:.5;cursor:not-allowed}.vs-btn-danger[data-v-150e767b]:hover{background:#ef4444;color:#fff}.ring-2[data-v-150e767b]{box-shadow:0 0 0 2px #3b82f699}.leaflet-map-wrapper .leaflet-container[data-v-150e767b]{font:inherit}.fullscreen[data-v-150e767b]{position:fixed!important;inset:0;width:100vw!important;height:100vh!important;z-index:9999;background:#fff}.tool[data-v-150e767b]{line-height:1}.zoom-instructions-enter-active[data-v-150e767b],.zoom-instructions-leave-active[data-v-150e767b]{transition:all .3s ease}.zoom-instructions-enter-from[data-v-150e767b]{opacity:0;transform:scale(.95) translateY(-10px)}.zoom-instructions-leave-to[data-v-150e767b]{opacity:0;transform:scale(.95) translateY(10px)}.zoom-instructions-enter-to[data-v-150e767b],.zoom-instructions-leave-from[data-v-150e767b]{opacity:1;transform:scale(1) translateY(0)}.col-error .vs-form-text input[data-v-b0eba370]{border:1px solid red}.vs-form-text[data-v-b0eba370]{position:relative}.vs-form-text__input[data-v-b0eba370]::placeholder{opacity:.5}.col-error .vs-form-text input[data-v-6ee5237d]{border:1px solid red}.vs-form-text[data-v-6ee5237d]{position:relative}.vs-form-text__input[data-v-6ee5237d]::placeholder{opacity:.5}[draggable=true][data-v-a0f7fbfc]{-webkit-user-select:none;user-select:none}.vs-compact-form-navigation__item[data-v-1584a562]{--vs-nav-indicator-left: 4px}.vs-compact-form-navigation__item[data-v-1584a562]: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-1584a562]{transition:color .2s ease}.vs-compact-form-navigation__item--active[data-v-1584a562]:before{background-color:#2563eb;border-radius:9999px}
1
+ @charset "UTF-8";.grid[data-v-8e66207e]{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}.item-file:hover>div[data-v-286cdbc0]{display:flex!important;background-color:#00000080}.loader[data-v-e613a523]{width:24px;height:24px;border:3px solid #f3f3f3;border-top:3px solid #3b82f6;border-radius:50%;animation:spin-e613a523 1s linear infinite}@keyframes spin-e613a523{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-90320b87],.slide-fade-leave-active[data-v-90320b87]{transition:all .3s ease}.slide-fade-enter-from[data-v-90320b87],.slide-fade-leave-to[data-v-90320b87]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-90320b87],.slide-fade-leave-from[data-v-90320b87]{max-height:1000px;opacity:1;transform:translateY(0)}.slide-fade-enter-active[data-v-590eff11],.slide-fade-leave-active[data-v-590eff11]{transition:all .3s ease}.slide-fade-enter-from[data-v-590eff11],.slide-fade-leave-to[data-v-590eff11]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-590eff11],.slide-fade-leave-from[data-v-590eff11]{max-height:1000px;opacity:1;transform:translateY(0)}.map-search-widget[data-v-3048520a]{width:100%}.vs-ctrl-group[data-v-150e767b]{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-150e767b]{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-150e767b]{width:16px;height:16px;stroke:currentColor;fill:none;color:#3c3c43;stroke-width:2}.vs-btn[data-v-150e767b]:hover,.vs-active[data-v-150e767b]{background:#2563eb;color:#fff}.vs-btn[data-v-150e767b]:disabled{opacity:.5;cursor:not-allowed}.vs-btn-danger[data-v-150e767b]:hover{background:#ef4444;color:#fff}.ring-2[data-v-150e767b]{box-shadow:0 0 0 2px #3b82f699}.leaflet-map-wrapper .leaflet-container[data-v-150e767b]{font:inherit}.fullscreen[data-v-150e767b]{position:fixed!important;inset:0;width:100vw!important;height:100vh!important;z-index:9999;background:#fff}.tool[data-v-150e767b]{line-height:1}.zoom-instructions-enter-active[data-v-150e767b],.zoom-instructions-leave-active[data-v-150e767b]{transition:all .3s ease}.zoom-instructions-enter-from[data-v-150e767b]{opacity:0;transform:scale(.95) translateY(-10px)}.zoom-instructions-leave-to[data-v-150e767b]{opacity:0;transform:scale(.95) translateY(10px)}.zoom-instructions-enter-to[data-v-150e767b],.zoom-instructions-leave-from[data-v-150e767b]{opacity:1;transform:scale(1) translateY(0)}.col-error .vs-form-text input[data-v-b0eba370]{border:1px solid red}.vs-form-text[data-v-b0eba370]{position:relative}.vs-form-text__input[data-v-b0eba370]::placeholder{opacity:.5}.col-error .vs-form-text input[data-v-6ee5237d]{border:1px solid red}.vs-form-text[data-v-6ee5237d]{position:relative}.vs-form-text__input[data-v-6ee5237d]::placeholder{opacity:.5}[draggable=true][data-v-a0f7fbfc]{-webkit-user-select:none;user-select:none}.vs-compact-form-navigation__item[data-v-1584a562]{--vs-nav-indicator-left: 4px}.vs-compact-form-navigation__item[data-v-1584a562]: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-1584a562]{transition:color .2s ease}.vs-compact-form-navigation__item--active[data-v-1584a562]:before{background-color:#2563eb;border-radius:9999px}
package/dist/index.js CHANGED
@@ -1241,7 +1241,7 @@ function Xo(o, e) {
1241
1241
  l("path", { d: "M12 4l0 12" }, null, -1)
1242
1242
  ]));
1243
1243
  }
1244
- const Pt = /* @__PURE__ */ Q(Jo, [["render", Xo]]), Qo = { class: "h-[120px] w-[120px] border text-gray-300 border-dashed border-[#CFD9E0] rounded-lg overflow-hidden relative item-file" }, en = { class: "absolute hidden top-0 right-0 flex items-center gap-x-2 w-full h-full justify-center" }, tn = /* @__PURE__ */ W({
1244
+ const Pt = /* @__PURE__ */ Q(Jo, [["render", Xo]]), Qo = ["title"], en = { class: "absolute hidden top-0 right-0 flex items-center gap-x-2 w-full h-full justify-center" }, tn = /* @__PURE__ */ W({
1245
1245
  __name: "vs-input-file-list-item",
1246
1246
  props: /* @__PURE__ */ ue({
1247
1247
  format: {},
@@ -1263,7 +1263,10 @@ const Pt = /* @__PURE__ */ Q(Jo, [["render", Xo]]), Qo = { class: "h-[120px] w-[
1263
1263
  emits: ["update:value", "update:item"],
1264
1264
  setup(o) {
1265
1265
  const e = de(o, "value"), t = de(o, "item"), a = o;
1266
- return (n, i) => (r(), c("div", Qo, [
1266
+ return (n, i) => (r(), c("div", {
1267
+ title: t.value,
1268
+ class: "h-[120px] w-[120px] border text-gray-300 border-dashed border-[#CFD9E0] rounded-lg overflow-hidden relative item-file"
1269
+ }, [
1267
1270
  (r(), ce(qe(ne(qo)(t.value)), {
1268
1271
  src: t.value,
1269
1272
  alt: "file",
@@ -1288,9 +1291,9 @@ const Pt = /* @__PURE__ */ Q(Jo, [["render", Xo]]), Qo = { class: "h-[120px] w-[
1288
1291
  G(Pt, { class: "w-4 h-4" })
1289
1292
  ])
1290
1293
  ])
1291
- ]));
1294
+ ], 8, Qo));
1292
1295
  }
1293
- }), Bt = /* @__PURE__ */ Q(tn, [["__scopeId", "data-v-0ca886b3"]]), ln = { class: "flex items-center gap-x-2" }, on = ["multiple", "disabled"], nn = {
1296
+ }), Bt = /* @__PURE__ */ Q(tn, [["__scopeId", "data-v-286cdbc0"]]), ln = { class: "flex items-center gap-x-2" }, on = ["multiple", "disabled"], nn = {
1294
1297
  key: 1,
1295
1298
  class: "flex items-center flex-wrap gap-2"
1296
1299
  }, an = {
@@ -1402,7 +1405,7 @@ const Pt = /* @__PURE__ */ Q(Jo, [["render", Xo]]), Qo = { class: "h-[120px] w-[
1402
1405
  ], 2))
1403
1406
  ]));
1404
1407
  }
1405
- }), un = /* @__PURE__ */ Q(rn, [["__scopeId", "data-v-70ddd946"]]), dn = { class: "max-w-[55vw]" }, cn = { class: "text-sm font-semibold text-gray-800 truncate dark:text-neutral-200" }, pn = { class: "flex items-center text-xs text-gray-500 truncate dark:text-neutral-500" }, fn = { class: "px-[5px]" }, vn = { class: "" }, dt = /* @__PURE__ */ W({
1408
+ }), un = /* @__PURE__ */ Q(rn, [["__scopeId", "data-v-e613a523"]]), dn = { class: "max-w-[55vw]" }, cn = { class: "text-sm font-semibold text-gray-800 truncate dark:text-neutral-200" }, pn = { class: "flex items-center text-xs text-gray-500 truncate dark:text-neutral-500" }, fn = { class: "px-[5px]" }, vn = { class: "" }, dt = /* @__PURE__ */ W({
1406
1409
  __name: "vs-widget-file-info",
1407
1410
  props: {
1408
1411
  item: { default: null }
@@ -2813,7 +2816,7 @@ const ns = /* @__PURE__ */ Q(ts, [["render", os]]), as = { class: "vs-datatable
2813
2816
  width: "14",
2814
2817
  height: "14"
2815
2818
  }),
2816
- P[4] || (P[4] = be(" Імпортувати "))
2819
+ P[4] || (P[4] = be(" Імпортувати ", -1))
2817
2820
  ]),
2818
2821
  l("button", {
2819
2822
  onClick: M,
@@ -2825,7 +2828,7 @@ const ns = /* @__PURE__ */ Q(ts, [["render", os]]), as = { class: "vs-datatable
2825
2828
  width: "14",
2826
2829
  height: "14"
2827
2830
  }),
2828
- P[5] || (P[5] = be(" Експортувати "))
2831
+ P[5] || (P[5] = be(" Експортувати ", -1))
2829
2832
  ])
2830
2833
  ])
2831
2834
  ])
@@ -2837,7 +2840,7 @@ const ns = /* @__PURE__ */ Q(ts, [["render", os]]), as = { class: "vs-datatable
2837
2840
  class: "text-slate-700 bg-white hover:bg-gray-100 font-semibold text-[15px] leadig-[18.5px] py-[10px] px-[12px] border border-[#E5E7EB] rounded-[8px] h-[38px] max-h-[38px] gap-[8px] flex items-center"
2838
2841
  }, [
2839
2842
  G(tt),
2840
- P[6] || (P[6] = be(" Додати "))
2843
+ P[6] || (P[6] = be(" Додати ", -1))
2841
2844
  ])
2842
2845
  ]),
2843
2846
  l("div", ms, [
@@ -4161,7 +4164,7 @@ const sr = /* @__PURE__ */ Q(or, [["render", ar]]), rr = { class: "map-search-wi
4161
4164
  onMouseleave: p[6] || (p[6] = (B) => u.value = !1)
4162
4165
  }, [
4163
4166
  l("div", Hr, [
4164
- p[10] || (p[10] = be(" Type: ")),
4167
+ p[10] || (p[10] = be(" Type: ", -1)),
4165
4168
  l("span", Nr, K(he.value.type), 1)
4166
4169
  ]),
4167
4170
  g.value ? (r(), c("div", {
@@ -4181,14 +4184,14 @@ const sr = /* @__PURE__ */ Q(or, [["render", ar]]), rr = { class: "map-search-wi
4181
4184
  ], 32),
4182
4185
  l("div", Gr, [
4183
4186
  l("div", qr, [
4184
- p[11] || (p[11] = be(" Center: ")),
4187
+ p[11] || (p[11] = be(" Center: ", -1)),
4185
4188
  l("b", null, K(he.value.center.lat.toFixed(5)) + ", " + K(he.value.center.lng.toFixed(5)), 1)
4186
4189
  ]),
4187
4190
  he.value.areaKm2 !== null ? (r(), c("div", Kr, [
4188
- p[12] || (p[12] = be(" Area: ")),
4191
+ p[12] || (p[12] = be(" Area: ", -1)),
4189
4192
  l("b", null, K(he.value.areaKm2.toFixed(1)) + " km²", 1)
4190
4193
  ])) : (r(), c("div", Wr, p[13] || (p[13] = [
4191
- be("Area: "),
4194
+ be("Area: ", -1),
4192
4195
  l("b", null, "—", -1)
4193
4196
  ]))),
4194
4197
  l("button", {