golden-logic-ui 1.0.381 → 1.0.383
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
|
@@ -759,6 +759,10 @@ const Kae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
759
759
|
}
|
|
760
760
|
}, qK = {
|
|
761
761
|
props: {
|
|
762
|
+
classes: {
|
|
763
|
+
type: String,
|
|
764
|
+
default: ""
|
|
765
|
+
},
|
|
762
766
|
button_type: {
|
|
763
767
|
type: String,
|
|
764
768
|
default: "default"
|
|
@@ -779,6 +783,10 @@ const Kae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
779
783
|
type: Boolean,
|
|
780
784
|
default: !1
|
|
781
785
|
},
|
|
786
|
+
has_border_reduced: {
|
|
787
|
+
type: Boolean,
|
|
788
|
+
default: !0
|
|
789
|
+
},
|
|
782
790
|
tag: {
|
|
783
791
|
type: String,
|
|
784
792
|
default: "button"
|
|
@@ -836,7 +844,7 @@ function YK(O, ie, te, ke, ae, j) {
|
|
|
836
844
|
return te.is_loading ? (pe(), Ad(ET("button"), {
|
|
837
845
|
key: 1,
|
|
838
846
|
disabled: "",
|
|
839
|
-
class: nn(` h-[2.5rem] flex items-center gap-2 focus:outline-none text-sm px-2 py-2 font-medium rounded-lg ${j.buttonTypeClass}`)
|
|
847
|
+
class: nn(` h-[2.5rem] flex items-center gap-2 focus:outline-none text-sm px-2 py-2 font-medium ${te.has_border_reduced ? "rounded-lg" : ""} ${j.buttonTypeClass} ${te.classes}`)
|
|
840
848
|
}, {
|
|
841
849
|
default: Ey(() => [
|
|
842
850
|
KK,
|
|
@@ -849,7 +857,7 @@ function YK(O, ie, te, ke, ae, j) {
|
|
|
849
857
|
disabled: te.is_disabled
|
|
850
858
|
}, { type: te.is_submit ? "submit" : void 0 }, {
|
|
851
859
|
href: te.tag === "a" ? te.href : void 0,
|
|
852
|
-
class: ` ${te.is_disabled ? "cursor-not-allowed opacity-50" : ""} ${te.icon ? "flex" : ""} h-[2.5rem] items-center gap-2 focus:outline-none text-sm px-3 py-2 font-medium rounded-lg ${j.buttonTypeClass}`
|
|
860
|
+
class: ` ${te.is_disabled ? "cursor-not-allowed opacity-50" : ""} ${te.icon ? "flex" : ""} h-[2.5rem] items-center gap-2 focus:outline-none text-sm px-3 py-2 font-medium ${te.has_border_reduced ? "rounded-lg" : ""} ${j.buttonTypeClass} ${te.classes}`
|
|
853
861
|
}), {
|
|
854
862
|
default: Ey(() => [
|
|
855
863
|
te.icon ? (pe(), ye("i", {
|
|
@@ -51644,7 +51652,7 @@ const sq = /* @__PURE__ */ qr(YQ, [["render", iee]]), uee = {
|
|
|
51644
51652
|
"clip-rule": "evenodd"
|
|
51645
51653
|
})
|
|
51646
51654
|
])
|
|
51647
|
-
], -1), Pee = { class: "grid grid-cols-1 xl:grid-cols-2 gap-4 mb-3" }, Bee = { class: "flex flex-wrap
|
|
51655
|
+
], -1), Pee = { class: "grid grid-cols-1 xl:grid-cols-2 gap-4 mb-3" }, Bee = { class: "flex flex-wrap mb-3" }, Nee = { class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800" }, Iee = { class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-5 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark" }, Lee = { class: "hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400" }, Fee = /* @__PURE__ */ M("th", { class: "w-full px-4 py-2 lg:w-1/12" }, null, -1), Hee = ["onClick"], Vee = {
|
|
51648
51656
|
key: 0,
|
|
51649
51657
|
class: "ml-2"
|
|
51650
51658
|
}, zee = {
|
|
@@ -51813,7 +51821,9 @@ function Qee(O, ie, te, ke, ae, j) {
|
|
|
51813
51821
|
wf(Et, {
|
|
51814
51822
|
onClick: j.toggleSelectAll,
|
|
51815
51823
|
tag: "button",
|
|
51816
|
-
button_type: "default"
|
|
51824
|
+
button_type: "default",
|
|
51825
|
+
has_border_reduced: !1,
|
|
51826
|
+
classes: ""
|
|
51817
51827
|
}, {
|
|
51818
51828
|
default: Ey(() => [
|
|
51819
51829
|
lo(" Select all ")
|
|
@@ -51823,7 +51833,8 @@ function Qee(O, ie, te, ke, ae, j) {
|
|
|
51823
51833
|
wf(Et, {
|
|
51824
51834
|
onClick: j.toggleDeselectAll,
|
|
51825
51835
|
tag: "button",
|
|
51826
|
-
button_type: "default"
|
|
51836
|
+
button_type: "default",
|
|
51837
|
+
has_border_reduced: !1
|
|
51827
51838
|
}, {
|
|
51828
51839
|
default: Ey(() => [
|
|
51829
51840
|
lo(" Deselect all ")
|
|
@@ -51833,7 +51844,8 @@ function Qee(O, ie, te, ke, ae, j) {
|
|
|
51833
51844
|
wf(Et, {
|
|
51834
51845
|
tag: "button",
|
|
51835
51846
|
onClick: j.deleteSelected,
|
|
51836
|
-
button_type: "red"
|
|
51847
|
+
button_type: "red",
|
|
51848
|
+
has_border_reduced: !1
|
|
51837
51849
|
}, {
|
|
51838
51850
|
default: Ey(() => [
|
|
51839
51851
|
lo(" Delete selected ")
|