@opengis/form 0.1.27 → 0.1.28

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.
@@ -3827,7 +3827,7 @@ const Lu = { class: "vs-input-file64 flex flex-col gap-2" }, Mu = { class: "flex
3827
3827
  s.value ? (u(), v("p", ju, de(s.value), 1)) : G("", !0)
3828
3828
  ]));
3829
3829
  }
3830
- }), zu = { class: "flex items-center justify-center h-[30px] w-[30px]" }, Uu = { class: "max-w-[55vw]" }, Hu = { class: "text-sm font-semibold text-gray-800 truncate dark:text-neutral-200" }, Wu = { class: "flex items-center text-xs text-gray-500 truncate dark:text-neutral-500" }, qu = { class: "px-[5px]" }, Ku = { class: "" }, qn = /* @__PURE__ */ ve({
3830
+ }), zu = { class: "flex items-center justify-center h-[30px] w-[30px]" }, Uu = { class: "min-w-0 flex-1" }, Hu = { class: "text-sm font-semibold text-gray-800 truncate dark:text-neutral-200" }, Wu = { class: "flex items-center text-xs text-gray-500 truncate dark:text-neutral-500" }, qu = { class: "px-[5px]" }, Ku = { class: "" }, qn = /* @__PURE__ */ ve({
3831
3831
  __name: "vs-widget-file-info",
3832
3832
  props: {
3833
3833
  item: { default: null }
@@ -3868,18 +3868,18 @@ const Lu = { class: "vs-input-file64 flex flex-col gap-2" }, Mu = { class: "flex
3868
3868
  ])
3869
3869
  ], 64));
3870
3870
  }
3871
- }), Yu = { class: "p-3 relative group flex items-center gap-x-3 border border-gray-200 bg-white rounded-md w-full" }, Gu = {
3871
+ }), Yu = { class: "p-3 relative group flex items-center gap-x-3 border border-gray-200 bg-white rounded-md w-full min-w-0" }, Gu = {
3872
3872
  key: 0,
3873
- class: "flex w-full gap-x-3 items-center"
3873
+ class: "flex w-full min-w-0 gap-x-3 items-center"
3874
3874
  }, Xu = {
3875
3875
  key: 1,
3876
- class: "flex gap-x-3 w-full items-center"
3876
+ class: "flex min-w-0 gap-x-3 w-full items-center"
3877
3877
  }, Zu = {
3878
3878
  key: 2,
3879
- class: "flex gap-x-3 w-full items-center"
3879
+ class: "flex min-w-0 gap-x-3 w-full items-center"
3880
3880
  }, Ju = ["href"], Qu = {
3881
3881
  key: 3,
3882
- class: "flex gap-x-3 w-full items-center"
3882
+ class: "flex min-w-0 gap-x-3 w-full items-center"
3883
3883
  }, ed = { class: "lg:absolute lg:top-3 lg:end-1 opacity-100" }, td = { class: "p-0.5 sm:p-1 inline-flex items-center gap-0.5 bg-white rounded-lg dark:bg-neutral-800 dark:border-neutral-700" }, nd = { class: "inline-block" }, ld = { class: "inline-block" }, od = { class: "inline-block" }, ad = /* @__PURE__ */ ve({
3884
3884
  __name: "vs-widget-file-item",
3885
3885
  props: {
@@ -3929,7 +3929,7 @@ const Lu = { class: "vs-input-file64 flex flex-col gap-2" }, Mu = { class: "flex
3929
3929
  return ($, b) => (u(), v("div", Yu, [
3930
3930
  $.item.ext === "jpg" || $.item.ext === "png" ? (u(), v("div", Gu, [
3931
3931
  c("div", {
3932
- class: "max-w-[55vw] cursor-pointer flex gap-x-3 w-full items-center",
3932
+ class: "min-w-0 flex-1 cursor-pointer flex gap-x-3 w-full items-center",
3933
3933
  onClick: b[0] || (b[0] = (_) => k($.index))
3934
3934
  }, [
3935
3935
  X(qn, { item: $.item }, null, 8, ["item"])
@@ -3940,7 +3940,7 @@ const Lu = { class: "vs-input-file64 flex flex-col gap-2" }, Mu = { class: "flex
3940
3940
  c("a", {
3941
3941
  href: `/api/file-preview?id=${$.item.file_id}`,
3942
3942
  target: "_blank",
3943
- class: "flex gap-x-3 w-full items-center"
3943
+ class: "flex min-w-0 gap-x-3 w-full items-center"
3944
3944
  }, [
3945
3945
  X(qn, { item: $.item }, null, 8, ["item"])
3946
3946
  ], 8, Ju)
@@ -3979,12 +3979,12 @@ const Lu = { class: "vs-input-file64 flex flex-col gap-2" }, Mu = { class: "flex
3979
3979
  ])
3980
3980
  ]));
3981
3981
  }
3982
- }), rd = { class: "flex flex-col widget-file xl:bg-white xl:rounded-xl dark:xl:bg-neutral-800 dark:xl:border-neutral-700 w-full" }, sd = { class: "flex w-full mb-[12px] items-center gap-x-2" }, id = { class: "font-semibold text-gray-800 dark:text-neutral-200 text-[14px]" }, ud = { class1: "ml-auto" }, dd = { class: "py-1.5 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg bg-gray-100 cursor-pointer hover:bg-gray-200 text-gray-800 shadow-2xs hover:bg-gray-50 focus:outline-hidden focus:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-white dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, cd = {
3982
+ }), rd = { class: "flex flex-col widget-file min-w-0 w-full xl:bg-white xl:rounded-xl dark:xl:bg-neutral-800 dark:xl:border-neutral-700" }, sd = { class: "flex w-full mb-[12px] items-center gap-x-2" }, id = { class: "font-semibold text-gray-800 dark:text-neutral-200 text-[14px]" }, ud = { class1: "ml-auto" }, dd = { class: "py-1.5 px-4 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg bg-gray-100 cursor-pointer hover:bg-gray-200 text-gray-800 shadow-2xs hover:bg-gray-50 focus:outline-hidden focus:bg-gray-50 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-800 dark:border-neutral-700 dark:text-white dark:hover:bg-neutral-700 dark:focus:bg-neutral-700" }, cd = {
3983
3983
  key: 0,
3984
3984
  class: "py-4 mb-4 space-y-4 border-gray-200 border-y dark:border-neutral-700"
3985
3985
  }, pd = { class: "relative" }, fd = { class: "absolute inset-y-0 start-0 flex items-center pointer-events-none z-[1] ps-3.5" }, md = {
3986
3986
  key: 1,
3987
- class: "space-y-3 max-h-[300px] overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500"
3987
+ class: "space-y-3 max-h-[300px] min-w-0 overflow-x-hidden overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500"
3988
3988
  }, vd = { key: 0 }, gd = /* @__PURE__ */ ve({
3989
3989
  __name: "vs-input-file-list",
3990
3990
  props: {
@@ -5489,7 +5489,7 @@ const va = ({
5489
5489
  }),
5490
5490
  emits: ["update:modelValue"],
5491
5491
  setup(e) {
5492
- const t = ar(() => import("./vs-richtext-BKKUD_jZ.js")), n = e, l = Ue(e, "modelValue"), a = y(() => !!n.disabled), o = y(() => n.placeholder ?? ""), i = y(() => ({
5492
+ const t = ar(() => import("./vs-richtext-CEawSRdP.js")), n = e, l = Ue(e, "modelValue"), a = y(() => !!n.disabled), o = y(() => n.placeholder ?? ""), i = y(() => ({
5493
5493
  height: n.richtextProps.height || "300px",
5494
5494
  format: n.format,
5495
5495
  ...n.richtextProps
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { d as t, a as e, P as n, O as p, Q as u, V as I, L as V, o as l, A as r, q as o, l as i, s as c, t as d, u as x, v as b, C as h, M, k as T, b as y, f as F, p as g, n as L, E as S, B as m, K as A, j as C, g as f, J as k, m as v, e as B, N as E, D as w, x as D, y as P, a as R, z as j, w as K, h as N, i as O, c as U, F as q, G as z, r as G, H, I as J } from "./index-B7RTencV.js";
1
+ import { d as t, a as e, P as n, O as p, Q as u, V as I, L as V, o as l, A as r, q as o, l as i, s as c, t as d, u as x, v as b, C as h, M, k as T, b as y, f as F, p as g, n as L, E as S, B as m, K as A, j as C, g as f, J as k, m as v, e as B, N as E, D as w, x as D, y as P, a as R, z as j, w as K, h as N, i as O, c as U, F as q, G as z, r as G, H, I as J } from "./index-D9Xz9S5T.js";
2
2
  export {
3
3
  t as ModalEdit,
4
4
  e as VForm,