golden-logic-ui 1.2.231 → 1.2.233
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.
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1930,8 +1930,8 @@ const lRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1930
1930
|
{
|
|
1931
1931
|
"text-gray-400 dark:text-gray-600": !ct.currentMonth,
|
|
1932
1932
|
"text-gray-900 dark:text-white": ct.currentMonth && !de(ct.date) && !te(ct.date),
|
|
1933
|
-
"bg-
|
|
1934
|
-
"ring-2 ring-
|
|
1933
|
+
"bg-primary dark:bg-primaryDark text-white hover:bg-primary/90 dark:hover:bg-primaryDark/90": de(ct.date),
|
|
1934
|
+
"ring-2 ring-primary dark:ring-primaryDark ring-offset-1 dark:ring-offset-gray-800": wt(ct.date) && !de(ct.date),
|
|
1935
1935
|
"hover:bg-gray-100 dark:hover:bg-gray-700": !de(ct.date) && !te(ct.date),
|
|
1936
1936
|
"opacity-50 cursor-not-allowed": te(ct.date)
|
|
1937
1937
|
}
|
|
@@ -1947,7 +1947,7 @@ const lRe = /* @__PURE__ */ Ii(Sme, [["render", Tme]]), Eme = { class: "bg-white
|
|
|
1947
1947
|
Z("button", {
|
|
1948
1948
|
type: "button",
|
|
1949
1949
|
onClick: St,
|
|
1950
|
-
class: "text-sm text-
|
|
1950
|
+
class: "text-sm text-primary dark:text-primaryDark hover:text-primary/80 dark:hover:text-primaryDark/80 font-medium"
|
|
1951
1951
|
}, Ht(Kt("today")), 1)
|
|
1952
1952
|
])
|
|
1953
1953
|
], 512), [
|
|
@@ -95027,10 +95027,10 @@ const e6e = /* @__PURE__ */ Ii(q$e, [["render", t8e]]), n8e = {
|
|
|
95027
95027
|
formattedDate() {
|
|
95028
95028
|
if (!this.row[this.field])
|
|
95029
95029
|
return "";
|
|
95030
|
-
const r = new Date(this.row[this.field]), t = r.getFullYear(), s = r.toLocaleString("default", { month: "
|
|
95030
|
+
const r = new Date(this.row[this.field]), t = r.getFullYear(), s = r.toLocaleString("default", { month: "2-digit" }), a = r.getDate();
|
|
95031
95031
|
let c = r.getHours();
|
|
95032
95032
|
const f = r.getMinutes(), h = r.getSeconds(), b = c >= 12 ? "pm" : "am";
|
|
95033
|
-
return c = c % 12, c = c || 12, `${
|
|
95033
|
+
return c = c % 12, c = c || 12, `${a}-${s}-${t}, ${c}:${f}:${h} ${b}`;
|
|
95034
95034
|
}
|
|
95035
95035
|
}
|
|
95036
95036
|
}, s8e = { class: "w-full" };
|