@nmorph/nmorph-ui-kit 0.2.13 → 0.2.14
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/index.es.js
CHANGED
|
@@ -4256,7 +4256,7 @@ const Be = (e, t) => {
|
|
|
4256
4256
|
for (const [l, r] of t)
|
|
4257
4257
|
s[l] = r;
|
|
4258
4258
|
return s;
|
|
4259
|
-
}, w2 = /* @__PURE__ */ Be(Eg, [["__scopeId", "data-v-
|
|
4259
|
+
}, w2 = /* @__PURE__ */ Be(Eg, [["__scopeId", "data-v-96bed951"]]);
|
|
4260
4260
|
var ae = /* @__PURE__ */ ((e) => (e.success = "success", e.error = "error", e.warning = "warning", e.info = "info", e))(ae || {});
|
|
4261
4261
|
const Fg = { class: "nmorph-dialog__header" }, jg = { class: "nmorph-dialog__title" }, Wg = { class: "nmorph-dialog__content" }, Lg = /* @__PURE__ */ T({
|
|
4262
4262
|
__name: "NmorphDialog",
|
|
@@ -4405,7 +4405,7 @@ const Fe = (e) => {
|
|
|
4405
4405
|
};
|
|
4406
4406
|
return { placement: h, placementCoords: d };
|
|
4407
4407
|
}, Tx = () => {
|
|
4408
|
-
}, Xg = "@nmorph/nmorph-ui-kit", Jg = "module", Qg = "0.2.
|
|
4408
|
+
}, Xg = "@nmorph/nmorph-ui-kit", Jg = "module", Qg = "0.2.14", Zg = "MIT", Ng = {
|
|
4409
4409
|
node: "18.13.0",
|
|
4410
4410
|
npm: "8.19.3"
|
|
4411
4411
|
}, Ig = "./dist/index.d.ts", ew = "./dist/index.umd.js", tw = "./dist/index.es.js", nw = "./dist/style.css", ow = [
|
|
@@ -4517,10 +4517,10 @@ const Fe = (e) => {
|
|
|
4517
4517
|
{ name: "--nmorph-error-text-color", color: "#8d3333" },
|
|
4518
4518
|
{ name: "--nmorph-warn-color", color: "#E6A21C" },
|
|
4519
4519
|
{ name: "--nmorph-warn-text-color", color: "#7a6712" },
|
|
4520
|
-
{ name: "--nmorph-gray-color", color: "#
|
|
4520
|
+
{ name: "--nmorph-gray-color", color: "#c9d2dee6" },
|
|
4521
4521
|
{ name: "--nmorph-white-color", color: "#ffffff" },
|
|
4522
4522
|
{ name: "--nmorph-black-color", color: "#000000" },
|
|
4523
|
-
{ name: "--nmorph-overlay-color", color: "#
|
|
4523
|
+
{ name: "--nmorph-overlay-color", color: "#00000095" }
|
|
4524
4524
|
], dw = {
|
|
4525
4525
|
darkShade: "#c8c9ca",
|
|
4526
4526
|
main: "#eaf2f9",
|
|
@@ -6096,17 +6096,22 @@ const L$ = ["value", "disabled"], U$ = { class: "nmorph-switch-thumb" }, Y$ = /*
|
|
|
6096
6096
|
disabled: s.disabled,
|
|
6097
6097
|
class: "nmorph-native-input"
|
|
6098
6098
|
}, null, 8, L$),
|
|
6099
|
+
n("div", {
|
|
6100
|
+
class: H(["nmorph-switch__bg-content", { "nmorph-switch__bg-content--enable": i.value }])
|
|
6101
|
+
}, [
|
|
6102
|
+
i.value ? A(u.$slots, "bg-on", { key: 0 }, () => [
|
|
6103
|
+
ee(R(u.$t("NmorphSwitch.on")), 1)
|
|
6104
|
+
]) : A(u.$slots, "bg-off", { key: 1 }, () => [
|
|
6105
|
+
ee(R(u.$t("NmorphSwitch.off")), 1)
|
|
6106
|
+
])
|
|
6107
|
+
], 2),
|
|
6099
6108
|
n("div", U$, [
|
|
6100
6109
|
s.loading ? (o(), P(_(q), {
|
|
6101
6110
|
key: 0,
|
|
6102
6111
|
name: "loader",
|
|
6103
|
-
width: "
|
|
6104
|
-
height: "
|
|
6105
|
-
})) : i.value ? A(u.$slots, "thumb-on", { key: 1 }
|
|
6106
|
-
ee(R(u.$t("NmorphSwitch.on")), 1)
|
|
6107
|
-
]) : A(u.$slots, "thumb-off", { key: 2 }, () => [
|
|
6108
|
-
ee(R(u.$t("NmorphSwitch.off")), 1)
|
|
6109
|
-
])
|
|
6112
|
+
width: "14px",
|
|
6113
|
+
height: "14px"
|
|
6114
|
+
})) : i.value ? A(u.$slots, "thumb-on", { key: 1 }) : A(u.$slots, "thumb-off", { key: 2 })
|
|
6110
6115
|
])
|
|
6111
6116
|
])
|
|
6112
6117
|
], 2));
|
|
@@ -6129,7 +6134,7 @@ const G$ = { class: "nmorph-text-input__input-side" }, K$ = {
|
|
|
6129
6134
|
emits: ["inputDOMRef", "update:modelValue", "focus", "blur", "on-enter"],
|
|
6130
6135
|
setup(e, { emit: t }) {
|
|
6131
6136
|
I(($) => ({
|
|
6132
|
-
"
|
|
6137
|
+
"7ee4ab03": w.value
|
|
6133
6138
|
}));
|
|
6134
6139
|
const s = e, l = v(
|
|
6135
6140
|
() => D({
|
|
@@ -6784,7 +6789,7 @@ const Vx = /* @__PURE__ */ T({
|
|
|
6784
6789
|
], 6));
|
|
6785
6790
|
}
|
|
6786
6791
|
});
|
|
6787
|
-
const Hx = /* @__PURE__ */ Be(Vx, [["__scopeId", "data-v-
|
|
6792
|
+
const Hx = /* @__PURE__ */ Be(Vx, [["__scopeId", "data-v-3af1e6fe"]]);
|
|
6788
6793
|
var T2 = /* @__PURE__ */ ((e) => (e["top-left"] = "top-left", e["top-center"] = "top-center", e["top-right"] = "top-right", e["bottom-left"] = "bottom-left", e["bottom-center"] = "bottom-center", e["bottom-right"] = "bottom-right", e))(T2 || {});
|
|
6789
6794
|
const zx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6790
6795
|
__proto__: null,
|