dolphin-components 2.2.26 → 2.2.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.
@@ -62,7 +62,7 @@ const BV = { class: "content-div" }, qV = { class: "content-title" }, NV = { key
62
62
  Bt(n.$slots, "action-before"),
63
63
  (ne(!0), ue(Kt, null, na(r.value, (l, h) => (ne(), ue("div", { key: h }, [
64
64
  le("button", {
65
- class: ht(l.class || "btn"),
65
+ class: ht(l.class || "btn btn-primary"),
66
66
  onClick: (d) => t(l.emit)
67
67
  }, at(l.title), 11, GV)
68
68
  ]))), 128)),
@@ -205,7 +205,7 @@ const BV = { class: "content-div" }, qV = { class: "content-title" }, NV = { key
205
205
  le("div", ZV, [
206
206
  (ne(!0), ue(Kt, null, na(d.value, (m, k) => (ne(), ue("div", { key: k }, [
207
207
  le("button", {
208
- class: ht(m.class || "btn"),
208
+ class: ht(m.class || "btn btn-primary"),
209
209
  onClick: (g) => o(m)
210
210
  }, at(m.title), 11, $V)
211
211
  ]))), 128))
@@ -58989,7 +58989,7 @@ const yee = C0.version, gee = {
58989
58989
  const g = {
58990
58990
  title: [{ name: "Settings" }],
58991
58991
  action: [
58992
- { title: "Cancel", emit: "onClose", class: "btn-outline" },
58992
+ { title: "Cancel", emit: "onClose", class: "btn btn-outline-primary" },
58993
58993
  { title: "Apply", emit: "onSave" }
58994
58994
  ]
58995
58995
  }, y = Pt(() => r.columns.filter((G) => G.title.toLowerCase().includes(f.value.toLowerCase()))), w = () => ({
@@ -59013,7 +59013,7 @@ const yee = C0.version, gee = {
59013
59013
  ).join("");
59014
59014
  return `
59015
59015
  <div class="relative select-none mt-[-4.5px] action-main-div-body-${l.value}" id="action-btn">
59016
- <button class="action-btn-${l.value} btn btn-action bg-[#EAEAEA] text-[#636b6f]!">
59016
+ <button class="action-btn-${l.value} btn-action bg-[#EAEAEA] text-[#636b6f]!">
59017
59017
  <div class="text-[25px] font-[900] mt-[-14px]" style="letter-spacing: -1px;font-family: auto;">...</div>
59018
59018
  </button>
59019
59019
  <div class="action-dropdown-${l.value} hidden select-none absolute bg-white z-3 border border-border-foreground divide-y divide-secondary-foreground/20 min-w-[100px]">
@@ -59166,7 +59166,7 @@ const yee = C0.version, gee = {
59166
59166
  a.exportButton ? (ne(), ue("button", {
59167
59167
  key: 0,
59168
59168
  onClick: E,
59169
- class: "btn-outline btn-secondary group",
59169
+ class: "btn btn-outline-secondary group",
59170
59170
  "aria-label": "Open settings"
59171
59171
  }, [
59172
59172
  de(bI, { name: "FileSpreadsheet" })
@@ -59174,7 +59174,7 @@ const yee = C0.version, gee = {
59174
59174
  a.printButton ? (ne(), ue("button", {
59175
59175
  key: 1,
59176
59176
  onClick: x,
59177
- class: "btn-outline btn-secondary group",
59177
+ class: "btn btn-outline-secondary group",
59178
59178
  "aria-label": "Open settings"
59179
59179
  }, [
59180
59180
  de(bI, { name: "Printer" })
@@ -59182,7 +59182,7 @@ const yee = C0.version, gee = {
59182
59182
  a.settingsButton ? (ne(), ue("button", {
59183
59183
  key: 2,
59184
59184
  onClick: ae,
59185
- class: "btn-outline btn-secondary group",
59185
+ class: "btn btn-outline-secondary group",
59186
59186
  "aria-label": "Open settings"
59187
59187
  }, [
59188
59188
  de(bI, { name: "Settings" })
@@ -59425,7 +59425,7 @@ const yee = C0.version, gee = {
59425
59425
  le("div", qee, [
59426
59426
  (ne(!0), ue(Kt, null, na(a.actions, (f) => (ne(), ue("button", {
59427
59427
  key: f.emit,
59428
- class: ht(f.class || "btn"),
59428
+ class: ht(f.class || "btn btn-primary"),
59429
59429
  onClick: (u) => i(f.emit)
59430
59430
  }, at(f.title), 11, Nee))), 128))
59431
59431
  ])
@@ -59442,7 +59442,7 @@ const yee = C0.version, gee = {
59442
59442
  for (const [i, r] of e)
59443
59443
  t[i] = r;
59444
59444
  return t;
59445
- }, $se = /* @__PURE__ */ Az(jee, [["__scopeId", "data-v-93cc0e1e"]]);
59445
+ }, $se = /* @__PURE__ */ Az(jee, [["__scopeId", "data-v-7fa3b877"]]);
59446
59446
  function Rz(a) {
59447
59447
  return a instanceof Date || Object.prototype.toString.call(a) === "[object Date]";
59448
59448
  }
@@ -63820,7 +63820,7 @@ const Die = { class: "flex gap-[5px] w-[100%]" }, toe = /* @__PURE__ */ za({
63820
63820
  offText: "AD"
63821
63821
  }, null, 8, ["modelValue"]),
63822
63822
  le("button", {
63823
- class: "btn-outline",
63823
+ class: "btn btn-outline-primary",
63824
63824
  onClick: x[10] || (x[10] = (E) => w())
63825
63825
  }, "Search")
63826
63826
  ]));
@@ -65650,7 +65650,7 @@ const Rc = (a) => Ql.mixin({
65650
65650
  {
65651
65651
  title: "Reset",
65652
65652
  emit: "onReset",
65653
- class: "btn-outline btn-danger"
65653
+ class: "btn btn-outline-danger"
65654
65654
  },
65655
65655
  {
65656
65656
  title: "Crop",
@@ -65901,7 +65901,7 @@ const Rc = (a) => Ql.mixin({
65901
65901
  ], -1)),
65902
65902
  le("div", null, [
65903
65903
  le("button", {
65904
- class: "btn",
65904
+ class: "btn btn-primary",
65905
65905
  onClick: I
65906
65906
  }, "Choose Image"),
65907
65907
  le("p", Fse, "PNG, JPG up to " + at(a.uploadSize) + " MB", 1)
@@ -65914,17 +65914,16 @@ const Rc = (a) => Ql.mixin({
65914
65914
  }
65915
65915
  }), Hse = (a, e) => {
65916
65916
  if (e.value) {
65917
- a.classList.add("flex"), a.classList.add("flex-col");
65918
65917
  const t = a.querySelector("input"), i = document.createElement("span");
65919
- i.classList.add("text-red-500", "text-[12px]", "error-message"), t?.classList.add("border-red-500"), a.classList.add("border-red-500"), i.textContent = e.value, a.appendChild(i);
65918
+ i.classList.add("field-error", "error-message"), t?.classList.add("input-error"), i.textContent = e.value, a.appendChild(i);
65920
65919
  }
65921
65920
  }, zse = (a, e) => {
65922
65921
  const t = a.querySelector("input"), i = a.querySelector(".error-message");
65923
65922
  if (!i && e.value) {
65924
65923
  const r = document.createElement("span");
65925
- r.classList.add("text-red-500", "text-[12px]", "error-message"), r.textContent = e.value, t?.classList.add("border-red-500"), a.appendChild(r);
65924
+ r.classList.add("field-error", "error-message"), r.textContent = e.value, t?.classList.add("input-error"), a.appendChild(r);
65926
65925
  } else
65927
- e.value ? (a.classList.add("input-error"), t?.classList.add("border-red-500"), i && (i.textContent = e.value)) : (a.classList.remove("input-error"), a.classList.remove("border-red-500"), t?.classList.remove("border-red-500"), i && i.remove());
65926
+ e.value ? (a.classList.add("input-error"), t?.classList.add("input-error"), i && (i.textContent = e.value)) : (t?.classList.remove("input-error"), i && i.remove());
65928
65927
  }, soe = {
65929
65928
  mounted: Hse,
65930
65929
  updated: zse