@nmorph/nmorph-ui-kit 0.2.14 → 0.2.16

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
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, computed as v, ref as x, openBlock as o, createElementBlock as a, normalizeClass as H, createElementVNode as n, createBlock as P, unref as _, renderSlot as A, toDisplayString as R, createCommentVNode as O, useCssVars as I, normalizeStyle as N, resolveDynamicComponent as O2, createStaticVNode as Ye, createTextVNode as ee, onUnmounted as pe, onMounted as Y, watch as K, withDirectives as Ge, vShow as Ke, reactive as le, createVNode as M, withCtx as E, Fragment as L, renderList as U, provide as J, nextTick as Ve, inject as Q, Teleport as ie, withModifiers as ne, useSlots as Xe, readonly as q2, TransitionGroup as de, mergeProps as ye, withKeys as P2, resolveComponent as Je, pushScopeId as R2, popScopeId as E2 } from "vue";
1
+ import { defineComponent as T, computed as v, ref as x, openBlock as o, createElementBlock as a, normalizeClass as H, createElementVNode as n, createBlock as P, unref as _, renderSlot as A, toDisplayString as E, createCommentVNode as O, useCssVars as I, normalizeStyle as N, resolveDynamicComponent as O2, createStaticVNode as Ye, createTextVNode as ee, onUnmounted as pe, onMounted as Y, watch as K, withDirectives as Ge, vShow as Ke, reactive as le, createVNode as M, withCtx as R, Fragment as L, renderList as U, provide as J, nextTick as Ve, inject as Q, Teleport as ie, withModifiers as ne, useSlots as Xe, readonly as q2, TransitionGroup as de, mergeProps as ye, withKeys as P2, resolveComponent as Je, pushScopeId as R2, popScopeId as E2 } from "vue";
2
2
  import { createI18n as F2 } from "vue-i18n";
3
3
  var te = /* @__PURE__ */ ((e) => (e.thick = "thick-component", e.default = "default-height-component", e.thin = "thin-component", e))(te || {}), j2 = /* @__PURE__ */ ((e) => (e.ascending = "ascending", e.descending = "descending", e))(j2 || {}), W2 = /* @__PURE__ */ ((e) => (e.row = "row", e.column = "column", e))(W2 || {}), Qe = /* @__PURE__ */ ((e) => (e.inset = "inset", e.outset = "outset", e.combined = "combined", e))(Qe || {}), Ze = /* @__PURE__ */ ((e) => (e.accent = "accent", e.success = "success", e.error = "error", e.warning = "warning", e))(Ze || {}), c = /* @__PURE__ */ ((e) => (e["add-location"] = "add-location", e.aim = "aim", e["alarm-clock"] = "alarm-clock", e.apple = "apple", e.archive = "archive", e["arrow-down"] = "arrow-down", e["arrow-left"] = "arrow-left", e["arrow-right"] = "arrow-right", e["arrow-up"] = "arrow-up", e.audio = "audio", e.avatar = "avatar", e.back = "back", e["bell-filled"] = "bell-filled", e.bell = "bell", e.bicycle = "bicycle", e["bottom-left"] = "bottom-left", e["bottom-right"] = "bottom-right", e.bottom = "bottom", e.burger = "burger", e.calendar = "calendar", e.camera = "camera", e["caret-bottom"] = "caret-bottom", e["caret-left"] = "caret-left", e["caret-right"] = "caret-right", e["caret-top"] = "caret-top", e.cellphone = "cellphone", e["chat-dot-round"] = "chat-dot-round", e["chat-dot-square"] = "chat-dot-square", e["chat-line-round"] = "chat-line-round", e["chat-line-square"] = "chat-line-square", e["chat-round"] = "chat-round", e["chat-square"] = "chat-square", e.check = "check", e.checked = "checked", e.cherry = "cherry", e["chevron-double-down"] = "chevron-double-down", e["chevron-down"] = "chevron-down", e["chrome-filled"] = "chrome-filled", e["circle-check-filled"] = "circle-check-filled", e["circle-check"] = "circle-check", e["circle-close-filled"] = "circle-close-filled", e["circle-close"] = "circle-close", e["circle-plus-filled"] = "circle-plus-filled", e["circle-plus"] = "circle-plus", e.clock = "clock", e.close = "close", e.cloudy = "cloudy", e.code = "code", e["coffee-cup"] = "coffee-cup", e.coffee = "coffee", e.coin = "coin", e["collection-tag"] = "collection-tag", e.collection = "collection", e.compass = "compass", e.connection = "connection", e.coordinate = "coordinate", e["copy-document"] = "copy-document", e.copy = "copy", e.cpu = "cpu", e["credit-card"] = "credit-card", e.crop = "crop", e.cross = "cross", e["delete-filled"] = "delete-filled", e.delete = "delete", e.dessert = "dessert", e.discount = "discount", e.doc = "doc", e["document-add"] = "document-add", e["document-checked"] = "document-checked", e["document-copy"] = "document-copy", e["document-delete"] = "document-delete", e["document-remove"] = "document-remove", e.document = "document", e.download = "download", e["edit-pen"] = "edit-pen", e.edit = "edit", e.enlarge = "enlarge", e.error = "error", e.expand = "expand", e["eye-blocked"] = "eye-blocked", e.eye = "eye", e.failed = "failed", e.files = "files", e.film = "film", e.filter = "filter", e.finished = "finished", e.flag = "flag", e.fold = "fold", e["folder-add"] = "folder-add", e["folder-checked"] = "folder-checked", e["folder-delete"] = "folder-delete", e["folder-opened"] = "folder-opened", e.folder = "folder", e.food = "food", e["fork-spoon"] = "fork-spoon", e["full-screen"] = "full-screen", e.goblet = "goblet", e["gold-medal"] = "gold-medal", e["goods-filled"] = "goods-filled", e.goods = "goods", e.grape = "grape", e.grid = "grid", e.guide = "guide", e.handbag = "handbag", e.headset = "headset", e.histogram = "histogram", e["hot-water"] = "hot-water", e.house = "house", e["ice-cream-round"] = "ice-cream-round", e["ice-drink"] = "ice-drink", e["info-filled"] = "info-filled", e.info = "info", e.image = "image", e.key = "key", e["knife-fork"] = "knife-fork", e.lightning = "lightning", e.link = "link", e.list = "list", e.loader = "loader", e.loading = "loading", e["location-filled"] = "location-filled", e["location-information"] = "location-information", e.location = "location", e.lock = "lock", e.logo = "logo", e.lollipop = "lollipop", e["magic-stick"] = "magic-stick", e.magnet = "magnet", e.male = "male", e.management = "management", e["map-location"] = "map-location", e.medal = "medal", e.memo = "memo", e.menu = "menu", e["message-box"] = "message-box", e.message = "message", e.mic = "mic", e.microphone = "microphone", e.minus = "minus", e.money = "money", e.monitor = "monitor", e.moon = "moon", e["more-filled"] = "more-filled", e.more = "more", e["mostly-cloudy"] = "mostly-cloudy", e.mouse = "mouse", e.mug = "mug", e["mute-notification"] = "mute-notification", e.mute = "mute", e["no-smoking"] = "no-smoking", e.notebook = "notebook", e.notification = "notification", e["office-building"] = "office-building", e.operation = "operation", e.opportunity = "opportunity", e.orange = "orange", e.paperclip = "paperclip", e["partly-cloudy"] = "partly-cloudy", e.pear = "pear", e["phone-filled"] = "phone-filled", e.phone = "phone", e.picture = "picture", e["pie-chart"] = "pie-chart", e.place = "place", e.platform = "platform", e.plus = "plus", e.pointer = "pointer", e.position = "position", e["post-card"] = "post-card", e.pouring = "pouring", e.present = "present", e["price-tag"] = "price-tag", e.printer = "printer", e.promotion = "promotion", e["quartz-watch"] = "quartz-watch", e["question-filled"] = "question-filled", e.rank = "rank", e["reading-lamp"] = "reading-lamp", e.reading = "reading", e["refresh-left"] = "refresh-left", e["refresh-right"] = "refresh-right", e.refresh = "refresh", e.refrigerator = "refrigerator", e["remove-filled"] = "remove-filled", e.remove = "remove", e["rotate-left"] = "rotate-left", e["rotate-right"] = "rotate-right", e["scale-to-original"] = "scale-to-original", e.school = "school", e.scissor = "scissor", e.search = "search", e.select = "select", e.sell = "sell", e["semi-select"] = "semi-select", e.service = "service", e.setting = "setting", e.share = "share", e.ship = "ship", e.shop = "shop", e["shopping-bag"] = "shopping-bag", e["shopping-cart-full"] = "shopping-cart-full", e["shopping-cart"] = "shopping-cart", e.shrink = "shrink", e.smoking = "smoking", e.soccer = "soccer", e["sold-out"] = "sold-out", e["sort-down"] = "sort-down", e["sort-up"] = "sort-up", e.sort = "sort", e.stamp = "stamp", e["star-filled"] = "star-filled", e.star = "star", e["success-filled"] = "success-filled", e.success = "success", e.sugar = "sugar", e.sunny = "sunny", e.sunrise = "sunrise", e.sunset = "sunset", e["switch-button"] = "switch-button", e["switch-filled"] = "switch-filled", e.switch = "switch", e["takeaway-box"] = "takeaway-box", e.ticket = "ticket", e.tickets = "tickets", e.time = "time", e.timer = "timer", e["toilet-paper"] = "toilet-paper", e.tools = "tools", e["top-left"] = "top-left", e["top-right"] = "top-right", e.top = "top", e["trend-charts"] = "trend-charts", e["triangle-down"] = "triangle-down", e["trophy-base"] = "trophy-base", e.trophy = "trophy", e["turn-off"] = "turn-off", e.umbrella = "umbrella", e.unlock = "unlock", e["upload-filled"] = "upload-filled", e.upload = "upload", e["user-filled"] = "user-filled", e.user = "user", e.van = "van", e["video-camera"] = "video-camera", e["video-pause"] = "video-pause", e["video-play"] = "video-play", e.video = "video", e.view = "view", e["wallet-filled"] = "wallet-filled", e.wallet = "wallet", e["warn-triangle-filled"] = "warn-triangle-filled", e.warning = "warning", e.watch = "watch", e["wind-power"] = "wind-power", e["zoom-in"] = "zoom-in", e["zoom-out"] = "zoom-out", e))(c || {}), L2 = /* @__PURE__ */ ((e) => (e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom", e))(L2 || {}), U2 = /* @__PURE__ */ ((e) => (e.fill = "fill", e.contain = "contain", e.cover = "cover", e.none = "none", e["scale-down"] = "scale-down", e))(U2 || {}), oe = /* @__PURE__ */ ((e) => (e.en = "en", e.ru = "ru", e))(oe || {});
4
4
  const Y2 = (e, t) => {
@@ -35,7 +35,7 @@ const Y2 = (e, t) => {
35
35
  ripple: { type: Boolean, default: !0 },
36
36
  type: { default: "button" },
37
37
  text: { default: "" },
38
- bgTransparentOnHover: { type: Boolean, default: !0 },
38
+ accentBgOnHover: { type: Boolean, default: !1 },
39
39
  shape: { default: "default" },
40
40
  icon: { default: void 0 },
41
41
  height: { default: "default" },
@@ -51,7 +51,7 @@ const Y2 = (e, t) => {
51
51
  l.styleType,
52
52
  l.shape,
53
53
  `${l.disabled && "disabled"}`,
54
- `${l.bgTransparentOnHover && "bg-transparent-on-hover"}`,
54
+ `${l.accentBgOnHover && "accent-bg-on-hover"}`,
55
55
  `${l.ripple && "ripple"}`,
56
56
  `${l.icon && "icon"}`
57
57
  ]
@@ -78,7 +78,7 @@ const Y2 = (e, t) => {
78
78
  name: l.icon
79
79
  }, null, 8, ["name"])) : (o(), a("div", X2, [
80
80
  A(m.$slots, "default"),
81
- !l.loading && l.text !== "" ? (o(), a("span", J2, R(l.text), 1)) : O("", !0),
81
+ !l.loading && l.text !== "" ? (o(), a("span", J2, E(l.text), 1)) : O("", !0),
82
82
  l.loading ? (o(), P(_(q), {
83
83
  key: 1,
84
84
  name: "loader",
@@ -101,11 +101,11 @@ const Q2 = {
101
101
  size: { default: "small" },
102
102
  width: { default: void 0 },
103
103
  height: { default: void 0 },
104
- color: { default: "--nmorph-text-color" }
104
+ color: { default: "var(--nmorph-text-color)" }
105
105
  },
106
106
  setup(e) {
107
107
  I((i) => ({
108
- "2f7363e1": r.value
108
+ bdbafa1a: r.value
109
109
  }));
110
110
  const t = e, s = v(
111
111
  () => D({
@@ -118,7 +118,7 @@ const Q2 = {
118
118
  ), l = v(() => {
119
119
  const i = {};
120
120
  return t.width && (i["--width"] = t.width), t.height && (i["--height"] = t.height), i;
121
- }), r = v(() => `var(${t.color})`);
121
+ }), r = v(() => t.color);
122
122
  return (i, h) => (o(), a("div", {
123
123
  class: H(s.value),
124
124
  style: N(l.value)
@@ -2824,7 +2824,7 @@ const Vf = { render: kf }, n2 = {
2824
2824
  target: t.target
2825
2825
  }, [
2826
2826
  A(l.$slots, "prepend"),
2827
- ee(" " + R(l.text) + " ", 1),
2827
+ ee(" " + E(l.text) + " ", 1),
2828
2828
  l.iconName ? (o(), P(_(q), {
2829
2829
  key: 0,
2830
2830
  class: "nmorph-link__icon",
@@ -3003,7 +3003,7 @@ const Df = {
3003
3003
  class: H(l.value),
3004
3004
  style: N({ right: i.value.x, top: i.value.y })
3005
3005
  }, [
3006
- t.isDot ? (o(), a("div", Df)) : (o(), a("div", Tf, R(r.value), 1))
3006
+ t.isDot ? (o(), a("div", Df)) : (o(), a("div", Tf, E(r.value), 1))
3007
3007
  ], 6)
3008
3008
  ], 2));
3009
3009
  }
@@ -3091,18 +3091,18 @@ const qf = ["data-date", "onClick"], l2 = /* @__PURE__ */ T({
3091
3091
  bordered: "",
3092
3092
  "row-hover": !1
3093
3093
  }, {
3094
- default: E(() => [
3094
+ default: R(() => [
3095
3095
  (o(), a(L, null, U(h, (B) => M(_(f2), {
3096
3096
  key: `${B}`,
3097
3097
  prop: B,
3098
3098
  label: B.toUpperCase()
3099
3099
  }, {
3100
- default: E(({ scope: F }) => [
3100
+ default: R(({ scope: F }) => [
3101
3101
  (o(!0), a(L, null, U(F.rows, (j, X) => (o(), P(_(m2), {
3102
3102
  key: X,
3103
3103
  row: X
3104
3104
  }, {
3105
- default: E(() => [
3105
+ default: R(() => [
3106
3106
  n("div", {
3107
3107
  "data-date": `${g(j[B]).date}`,
3108
3108
  class: H([
@@ -3122,7 +3122,7 @@ const qf = ["data-date", "onClick"], l2 = /* @__PURE__ */ T({
3122
3122
  selected: V(g(j[B]).date)
3123
3123
  }
3124
3124
  }, () => [
3125
- ee(R(g(j[B]).hidden ? "-" : g(j[B]).value), 1)
3125
+ ee(E(g(j[B]).hidden ? "-" : g(j[B]).value), 1)
3126
3126
  ])
3127
3127
  ], 10, qf)
3128
3128
  ]),
@@ -3241,7 +3241,7 @@ const He = [
3241
3241
  class: H(r.value)
3242
3242
  }, [
3243
3243
  A(i.$slots, "default", {}, () => [
3244
- n("h2", Rf, R(s.year) + " " + R(_(ze)(s.month)), 1),
3244
+ n("h2", Rf, E(s.year) + " " + E(_(ze)(s.month)), 1),
3245
3245
  n("div", Ef, [
3246
3246
  i.showPreviousMonthButton ? (o(), P(_(W), {
3247
3247
  key: 0,
@@ -3474,7 +3474,7 @@ const Xf = /* @__PURE__ */ T({
3474
3474
  class: H(["nmorph-collapse-item__title", h.value])
3475
3475
  }, [
3476
3476
  A(y.$slots, "title", {}, () => [
3477
- ee(R(s.title), 1)
3477
+ ee(E(s.title), 1)
3478
3478
  ])
3479
3479
  ], 2),
3480
3480
  n("div", {
@@ -3533,12 +3533,12 @@ const Zf = ["src", "alt", "srcset"], Nf = {
3533
3533
  }, null, 40, Zf),
3534
3534
  s.value ? O("", !0) : (o(), a("div", Nf, [
3535
3535
  A(u.$slots, "loading", {}, () => [
3536
- ee(R(t.loadingText), 1)
3536
+ ee(E(t.loadingText), 1)
3537
3537
  ])
3538
3538
  ])),
3539
3539
  s.value && l.value ? (o(), a("div", If, [
3540
3540
  A(u.$slots, "error", {}, () => [
3541
- ee(R(t.loadFailedText), 1)
3541
+ ee(E(t.loadFailedText), 1)
3542
3542
  ])
3543
3543
  ])) : O("", !0)
3544
3544
  ], 2));
@@ -3633,7 +3633,7 @@ const eg = { class: "nmorph-image-preview__content" }, tg = {
3633
3633
  show: l.value,
3634
3634
  onOnOutsideClick: m
3635
3635
  }, {
3636
- default: E(() => [
3636
+ default: R(() => [
3637
3637
  n("div", eg, [
3638
3638
  M(_(Me), {
3639
3639
  src: h.value,
@@ -3644,7 +3644,7 @@ const eg = { class: "nmorph-image-preview__content" }, tg = {
3644
3644
  ]),
3645
3645
  F.value ? (o(), a("div", tg, [
3646
3646
  M(_(W), { onClick: z }, {
3647
- default: E(() => [
3647
+ default: R(() => [
3648
3648
  M(_(q), { name: "chevron-down" })
3649
3649
  ]),
3650
3650
  _: 1
@@ -3652,7 +3652,7 @@ const eg = { class: "nmorph-image-preview__content" }, tg = {
3652
3652
  ])) : O("", !0),
3653
3653
  F.value ? (o(), a("div", ng, [
3654
3654
  M(_(W), { onClick: V }, {
3655
- default: E(() => [
3655
+ default: R(() => [
3656
3656
  M(_(q), { name: "chevron-down" })
3657
3657
  ]),
3658
3658
  _: 1
@@ -3666,7 +3666,7 @@ const eg = { class: "nmorph-image-preview__content" }, tg = {
3666
3666
  M(_(W), {
3667
3667
  onClick: G.handler
3668
3668
  }, {
3669
- default: E(() => [
3669
+ default: R(() => [
3670
3670
  M(_(q), {
3671
3671
  name: G.icon
3672
3672
  }, null, 8, ["name"])
@@ -3679,7 +3679,7 @@ const eg = { class: "nmorph-image-preview__content" }, tg = {
3679
3679
  disabled: d.value === 1,
3680
3680
  onClick: C.value.handler
3681
3681
  }, {
3682
- default: E(() => [
3682
+ default: R(() => [
3683
3683
  M(_(q), {
3684
3684
  name: C.value.icon
3685
3685
  }, null, 8, ["name"])
@@ -3743,7 +3743,7 @@ const ag = /* @__PURE__ */ T({
3743
3743
  disabled: y.value || s.disabled,
3744
3744
  onClick: h
3745
3745
  }, {
3746
- default: E(() => [
3746
+ default: R(() => [
3747
3747
  M(_(q), {
3748
3748
  name: "chevron-down",
3749
3749
  class: "nmorph-pagination__prev"
@@ -3763,7 +3763,7 @@ const ag = /* @__PURE__ */ T({
3763
3763
  disabled: b.value || s.disabled,
3764
3764
  onClick: d
3765
3765
  }, {
3766
- default: E(() => [
3766
+ default: R(() => [
3767
3767
  M(_(q), {
3768
3768
  name: "chevron-down",
3769
3769
  class: "nmorph-pagination__next"
@@ -3823,21 +3823,21 @@ const lg = {
3823
3823
  n("div", cg, [
3824
3824
  y.textInside ? (o(), a("div", ig, [
3825
3825
  A(y.$slots, "inner-text", {}, () => [
3826
- ee(R(k.value), 1)
3826
+ ee(E(k.value), 1)
3827
3827
  ])
3828
3828
  ])) : O("", !0)
3829
3829
  ])
3830
3830
  ]),
3831
3831
  y.showText ? (o(), a("div", dg, [
3832
3832
  A(y.$slots, "right-sight", {}, () => [
3833
- ee(R(k.value), 1)
3833
+ ee(E(k.value), 1)
3834
3834
  ])
3835
3835
  ])) : O("", !0)
3836
3836
  ])) : O("", !0),
3837
3837
  t.type === "circle" ? (o(), a("div", hg, [
3838
3838
  n("div", ug, [
3839
3839
  A(y.$slots, "circle-inner-part", {}, () => [
3840
- ee(R(k.value), 1)
3840
+ ee(E(k.value), 1)
3841
3841
  ])
3842
3842
  ]),
3843
3843
  (o(), a("svg", {
@@ -3941,7 +3941,7 @@ const ue = "10px", xg = /* @__PURE__ */ T({
3941
3941
  "style-type": "transparent",
3942
3942
  onClick: i
3943
3943
  }, {
3944
- default: E(() => [
3944
+ default: R(() => [
3945
3945
  M(_(q), {
3946
3946
  name: "triangle-down",
3947
3947
  class: "nmorph-sort-button__icon-up",
@@ -4024,7 +4024,7 @@ const yg = { class: "nmorph-table__wrapper" }, Mg = { class: "nmorph-table__head
4024
4024
  style: N({ "justify-content": p.alignment }),
4025
4025
  class: "nmorph-table__cell-content"
4026
4026
  }, [
4027
- n("span", null, R(p.label), 1),
4027
+ n("span", null, E(p.label), 1),
4028
4028
  r.value && r.value[p.prop] ? (o(), P(xg, {
4029
4029
  key: 0,
4030
4030
  class: "nmorph-table__button-wrapper",
@@ -4058,7 +4058,7 @@ const yg = { class: "nmorph-table__wrapper" }, Mg = { class: "nmorph-table__head
4058
4058
  id: `table-cell-${_(y)}-${$}-${f.prop}`,
4059
4059
  style: N({ "text-align": f.alignment }),
4060
4060
  class: "nmorph-table__cell nmorph-table__cell--data"
4061
- }, R(k(p[f.prop])), 13, zg)
4061
+ }, E(k(p[f.prop])), 13, zg)
4062
4062
  ], 2))), 128))
4063
4063
  ], 2))), 128))
4064
4064
  ])
@@ -4160,7 +4160,7 @@ const m2 = /* @__PURE__ */ T({
4160
4160
  class: H(l.value)
4161
4161
  }, [
4162
4162
  n("div", Sg, [
4163
- n("span", null, R(h.text), 1),
4163
+ n("span", null, E(h.text), 1),
4164
4164
  s.removable ? (o(), P(_(q), {
4165
4165
  key: 0,
4166
4166
  class: "nmorph-tag__close-icon",
@@ -4226,12 +4226,12 @@ const Ag = ["innerHTML"], Dg = {
4226
4226
  n("div", qg, [
4227
4227
  n("div", Pg, [
4228
4228
  s.title || _(d).title ? A(u.$slots, "title", { key: 0 }, () => [
4229
- ee(R(s.title), 1)
4229
+ ee(E(s.title), 1)
4230
4230
  ], !0) : O("", !0)
4231
4231
  ]),
4232
4232
  n("div", Rg, [
4233
4233
  A(u.$slots, "default", {}, () => [
4234
- ee(R(s.content), 1)
4234
+ ee(E(s.content), 1)
4235
4235
  ], !0)
4236
4236
  ])
4237
4237
  ])
@@ -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-96bed951"]]);
4259
+ }, w2 = /* @__PURE__ */ Be(Eg, [["__scopeId", "data-v-5d1b56f9"]]);
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",
@@ -4277,19 +4277,19 @@ const Fg = { class: "nmorph-dialog__header" }, jg = { class: "nmorph-dialog__tit
4277
4277
  show: s.modelValue,
4278
4278
  onOnOutsideClick: i
4279
4279
  }, {
4280
- default: E(() => [
4280
+ default: R(() => [
4281
4281
  n("div", {
4282
4282
  class: H(r.value)
4283
4283
  }, [
4284
4284
  n("div", Fg, [
4285
4285
  A(h.$slots, "header", {}, () => [
4286
- n("div", jg, R(s.title), 1),
4286
+ n("div", jg, E(s.title), 1),
4287
4287
  n("div", {
4288
4288
  class: "nmorph-dialog__close-icon",
4289
4289
  onClick: i
4290
4290
  }, [
4291
4291
  M(_(W), null, {
4292
- default: E(() => [
4292
+ default: R(() => [
4293
4293
  M(_(q), { name: "cross" })
4294
4294
  ]),
4295
4295
  _: 1
@@ -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.14", Zg = "MIT", Ng = {
4408
+ }, Xg = "@nmorph/nmorph-ui-kit", Jg = "module", Qg = "0.2.16", 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 = [
@@ -4526,7 +4526,7 @@ const Fe = (e) => {
4526
4526
  main: "#eaf2f9",
4527
4527
  lightShade: "#ffffff",
4528
4528
  text: "#687b9e",
4529
- accent: "#7f95be",
4529
+ accent: "#4a90e2",
4530
4530
  focusText: "#ffffff"
4531
4531
  }, hw = {
4532
4532
  darkShade: "#0f1112",
@@ -4709,7 +4709,7 @@ const Fe = (e) => {
4709
4709
  name: "opacity",
4710
4710
  tag: "div"
4711
4711
  }, {
4712
- default: E(() => [
4712
+ default: R(() => [
4713
4713
  s.value && t.text ? (o(), a("div", {
4714
4714
  key: 0,
4715
4715
  class: "nmorph-tooltip__info-content",
@@ -4717,7 +4717,7 @@ const Fe = (e) => {
4717
4717
  }, [
4718
4718
  n("div", ww, [
4719
4719
  $w,
4720
- n("span", null, R(g.text), 1)
4720
+ n("span", null, E(g.text), 1)
4721
4721
  ])
4722
4722
  ], 4)) : O("", !0)
4723
4723
  ]),
@@ -4727,11 +4727,11 @@ const Fe = (e) => {
4727
4727
  name: "opacity",
4728
4728
  tag: "div"
4729
4729
  }, {
4730
- default: E(() => [
4730
+ default: R(() => [
4731
4731
  s.value ? (o(), a("div", xw, [
4732
4732
  n("div", yw, [
4733
4733
  Mw,
4734
- t.text ? (o(), a("span", bw, R(g.text), 1)) : A(g.$slots, "content", { key: 1 })
4734
+ t.text ? (o(), a("span", bw, E(g.text), 1)) : A(g.$slots, "content", { key: 1 })
4735
4735
  ])
4736
4736
  ])) : O("", !0)
4737
4737
  ]),
@@ -4814,7 +4814,7 @@ const kw = {
4814
4814
  u.value ? (o(), a("div", Bw)) : O("", !0)
4815
4815
  ]),
4816
4816
  r.label ? (o(), a("div", Cw, [
4817
- n("span", null, R(r.label), 1)
4817
+ n("span", null, E(r.label), 1)
4818
4818
  ])) : (o(), a("div", Sw, [
4819
4819
  A(y.$slots, "default")
4820
4820
  ]))
@@ -4829,7 +4829,7 @@ const kw = {
4829
4829
  onChange: g
4830
4830
  }, null, 40, Dw),
4831
4831
  r.label ? (o(), a("div", Tw, [
4832
- n("span", null, R(r.label), 1)
4832
+ n("span", null, E(r.label), 1)
4833
4833
  ])) : (o(), a("div", Ow, [
4834
4834
  A(y.$slots, "label")
4835
4835
  ]))
@@ -4947,7 +4947,7 @@ const Ew = { class: "nmorph-autocomplete__input-content" }, Fw = {
4947
4947
  "relative-element": u.value,
4948
4948
  onOnOutsideClick: m
4949
4949
  }, {
4950
- default: E(() => [
4950
+ default: R(() => [
4951
4951
  b.value ? (o(), a("div", Fw, [
4952
4952
  A(w.$slots, "loader", {}, () => [
4953
4953
  M(_(q), {
@@ -4962,7 +4962,7 @@ const Ew = { class: "nmorph-autocomplete__input-content" }, Fw = {
4962
4962
  onClick: () => k($)
4963
4963
  }, [
4964
4964
  A(w.$slots, "default", { scope: $ }, () => [
4965
- ee(R($.value), 1)
4965
+ ee(E($.value), 1)
4966
4966
  ])
4967
4967
  ], 8, Ww))), 128))
4968
4968
  ]))
@@ -5067,7 +5067,7 @@ const Le = /* @__PURE__ */ T({
5067
5067
  name: "calendar",
5068
5068
  class: "nmorph-date-picker__calendar-icon"
5069
5069
  }),
5070
- n("div", Gw, R(y.value), 1),
5070
+ n("div", Gw, E(y.value), 1),
5071
5071
  n("div", Kw, [
5072
5072
  $.value ? (o(), P(Le, {
5073
5073
  key: 0,
@@ -5084,7 +5084,7 @@ const Le = /* @__PURE__ */ T({
5084
5084
  "relative-element": m.value,
5085
5085
  onOnOutsideClick: g
5086
5086
  }, {
5087
- default: E(() => [
5087
+ default: R(() => [
5088
5088
  M(_(ve), {
5089
5089
  "selected-values": i.value,
5090
5090
  "initial-date": l.value,
@@ -5109,9 +5109,9 @@ const Le = /* @__PURE__ */ T({
5109
5109
  class: "nmorph-date-picker__calendar-icon"
5110
5110
  }),
5111
5111
  n("div", Zw, [
5112
- n("div", Nw, R(b.value.from), 1),
5113
- n("div", Iw, R(s.textSeparator), 1),
5114
- n("div", e$, R(b.value.to), 1)
5112
+ n("div", Nw, E(b.value.from), 1),
5113
+ n("div", Iw, E(s.textSeparator), 1),
5114
+ n("div", e$, E(b.value.to), 1)
5115
5115
  ]),
5116
5116
  n("div", t$, [
5117
5117
  $.value ? (o(), P(Le, {
@@ -5129,7 +5129,7 @@ const Le = /* @__PURE__ */ T({
5129
5129
  "relative-element": m.value,
5130
5130
  onOnOutsideClick: g
5131
5131
  }, {
5132
- default: E(() => [
5132
+ default: R(() => [
5133
5133
  M(_(ve), {
5134
5134
  "selected-values": i.value,
5135
5135
  "initial-date": l.value,
@@ -5207,7 +5207,7 @@ const s$ = { class: "nmorph-year-month-picker__header" }, a$ = { class: "nmorph-
5207
5207
  "style-type": "transparent",
5208
5208
  onClick: f[0] || (f[0] = (z) => b("decrease"))
5209
5209
  }, {
5210
- default: E(() => [
5210
+ default: R(() => [
5211
5211
  M(_(q), {
5212
5212
  name: "chevron-down",
5213
5213
  class: "nmorph-year-month-picker__chevron-left"
@@ -5227,7 +5227,7 @@ const s$ = { class: "nmorph-year-month-picker__header" }, a$ = { class: "nmorph-
5227
5227
  "style-type": "transparent",
5228
5228
  onClick: f[1] || (f[1] = (z) => b("increase"))
5229
5229
  }, {
5230
- default: E(() => [
5230
+ default: R(() => [
5231
5231
  M(_(q), {
5232
5232
  name: "chevron-down",
5233
5233
  class: "nmorph-year-month-picker__chevron-right"
@@ -5293,7 +5293,7 @@ const ve = /* @__PURE__ */ T({
5293
5293
  "initial-date": i.value,
5294
5294
  "onUpdate:modelValue": C
5295
5295
  }, {
5296
- header: E(() => [
5296
+ header: R(() => [
5297
5297
  M(_(H2), {
5298
5298
  date: i.value,
5299
5299
  onPrevMonth: k,
@@ -5343,7 +5343,7 @@ const ve = /* @__PURE__ */ T({
5343
5343
  "style-type": "transparent",
5344
5344
  onClick: h[0] || (h[0] = (d) => l("prev-year"))
5345
5345
  }, {
5346
- default: E(() => [
5346
+ default: R(() => [
5347
5347
  M(_(q), {
5348
5348
  name: "chevron-double-down",
5349
5349
  class: "nmorph-date-picker-header__chevron-double-left"
@@ -5356,7 +5356,7 @@ const ve = /* @__PURE__ */ T({
5356
5356
  "style-type": "transparent",
5357
5357
  onClick: h[1] || (h[1] = (d) => l("prev-month"))
5358
5358
  }, {
5359
- default: E(() => [
5359
+ default: R(() => [
5360
5360
  M(_(q), {
5361
5361
  name: "chevron-down",
5362
5362
  class: "nmorph-date-picker-header__chevron-left"
@@ -5385,7 +5385,7 @@ const ve = /* @__PURE__ */ T({
5385
5385
  "style-type": "transparent",
5386
5386
  onClick: h[4] || (h[4] = (d) => l("next-month"))
5387
5387
  }, {
5388
- default: E(() => [
5388
+ default: R(() => [
5389
5389
  M(_(q), {
5390
5390
  name: "chevron-down",
5391
5391
  class: "nmorph-date-picker-header__chevron-right"
@@ -5398,7 +5398,7 @@ const ve = /* @__PURE__ */ T({
5398
5398
  "style-type": "transparent",
5399
5399
  onClick: h[5] || (h[5] = (d) => l("next-year"))
5400
5400
  }, {
5401
- default: E(() => [
5401
+ default: R(() => [
5402
5402
  M(_(q), {
5403
5403
  name: "chevron-double-down",
5404
5404
  class: "nmorph-date-picker-header__chevron-double-right"
@@ -5486,7 +5486,7 @@ const d$ = { class: "nmorph-file-upload__trigger" }, h$ = ["multiple"], u$ = { c
5486
5486
  name: "list",
5487
5487
  tag: "div"
5488
5488
  }, {
5489
- default: E(() => [
5489
+ default: R(() => [
5490
5490
  (o(!0), a(L, null, U(_(i), ({ data: p, previewUrl: $ }) => (o(), a("div", {
5491
5491
  key: p.name,
5492
5492
  class: "nmorph-file-upload__file"
@@ -5498,7 +5498,7 @@ const d$ = { class: "nmorph-file-upload__trigger" }, h$ = ["multiple"], u$ = { c
5498
5498
  width: "14px",
5499
5499
  height: "17px"
5500
5500
  }, null, 8, ["name"]),
5501
- n("span", v$, R(p.name), 1)
5501
+ n("span", v$, E(p.name), 1)
5502
5502
  ]),
5503
5503
  n("div", p$, [
5504
5504
  M(_(W), {
@@ -5506,7 +5506,7 @@ const d$ = { class: "nmorph-file-upload__trigger" }, h$ = ["multiple"], u$ = { c
5506
5506
  "style-type": "transparent",
5507
5507
  onClick: (f) => g(p.name)
5508
5508
  }, {
5509
- default: E(() => [
5509
+ default: R(() => [
5510
5510
  M(_(q), { name: "error" })
5511
5511
  ]),
5512
5512
  _: 2
@@ -5571,11 +5571,11 @@ const f$ = {
5571
5571
  name: "list",
5572
5572
  tag: "div"
5573
5573
  }, {
5574
- default: E(() => [
5574
+ default: R(() => [
5575
5575
  (o(!0), a(L, null, U(s.value, (h) => (o(), a("p", {
5576
5576
  key: h,
5577
5577
  class: "nmorph-error-box__error"
5578
- }, R(h), 1))), 128))
5578
+ }, E(h), 1))), 128))
5579
5579
  ]),
5580
5580
  _: 1
5581
5581
  })
@@ -5634,7 +5634,7 @@ const y$ = { key: 0 }, M$ = { class: "nmorph-form-item__content" }, b$ = /* @__P
5634
5634
  return (u, m) => (o(), a("div", {
5635
5635
  class: H(d.value)
5636
5636
  }, [
5637
- t.label ? (o(), a("label", y$, R(t.label), 1)) : O("", !0),
5637
+ t.label ? (o(), a("label", y$, E(t.label), 1)) : O("", !0),
5638
5638
  n("div", M$, [
5639
5639
  A(u.$slots, "default"),
5640
5640
  M(_(x$), {
@@ -5727,7 +5727,7 @@ const k$ = { class: "nmorph-number-input__content" }, V$ = { class: "nmorph-numb
5727
5727
  height: s.height,
5728
5728
  onClick: h
5729
5729
  }, {
5730
- default: E(() => [
5730
+ default: R(() => [
5731
5731
  M(_(q), {
5732
5732
  name: "minus",
5733
5733
  width: k.value,
@@ -5754,7 +5754,7 @@ const k$ = { class: "nmorph-number-input__content" }, V$ = { class: "nmorph-numb
5754
5754
  disabled: d.value,
5755
5755
  onClick: h
5756
5756
  }, {
5757
- default: E(() => [
5757
+ default: R(() => [
5758
5758
  M(_(q), {
5759
5759
  name: "minus",
5760
5760
  width: k.value,
@@ -5770,7 +5770,7 @@ const k$ = { class: "nmorph-number-input__content" }, V$ = { class: "nmorph-numb
5770
5770
  disabled: u.value,
5771
5771
  onClick: i
5772
5772
  }, {
5773
- default: E(() => [
5773
+ default: R(() => [
5774
5774
  M(_(q), {
5775
5775
  name: "plus",
5776
5776
  width: k.value,
@@ -5787,7 +5787,7 @@ const k$ = { class: "nmorph-number-input__content" }, V$ = { class: "nmorph-numb
5787
5787
  height: s.height,
5788
5788
  onClick: i
5789
5789
  }, {
5790
- default: E(() => [
5790
+ default: R(() => [
5791
5791
  M(_(q), {
5792
5792
  name: "plus",
5793
5793
  width: k.value,
@@ -5875,8 +5875,8 @@ const T$ = { class: "nmorph-select__content" }, O$ = {
5875
5875
  class: "nmorph-select__selected-values-line",
5876
5876
  onClick: ne(k, ["stop"])
5877
5877
  }, [
5878
- typeof r.value == "string" ? (o(), a("div", O$, R(b.value), 1)) : O("", !0),
5879
- r.value.length <= 0 ? (o(), a("div", q$, R(s.noElementPlaceholder), 1)) : (o(), a("div", P$, [
5878
+ typeof r.value == "string" ? (o(), a("div", O$, E(b.value), 1)) : O("", !0),
5879
+ r.value.length <= 0 ? (o(), a("div", q$, E(s.noElementPlaceholder), 1)) : (o(), a("div", P$, [
5880
5880
  (o(!0), a(L, null, U(p.value, (V) => (o(), P(_(g2), ye({
5881
5881
  key: V.value,
5882
5882
  ref_for: !0
@@ -5899,7 +5899,7 @@ const T$ = { class: "nmorph-select__content" }, O$ = {
5899
5899
  "relative-element": $.value,
5900
5900
  onOnOutsideClick: y
5901
5901
  }, {
5902
- default: E(() => [
5902
+ default: R(() => [
5903
5903
  n("div", {
5904
5904
  ref_key: "optionsDOMRef",
5905
5905
  ref: h,
@@ -5946,7 +5946,7 @@ const E$ = { class: "nmorph-select-option__content" }, z2 = /* @__PURE__ */ T({
5946
5946
  onClick: h
5947
5947
  }, [
5948
5948
  n("div", E$, [
5949
- n("span", null, R(r.label), 1),
5949
+ n("span", null, E(r.label), 1),
5950
5950
  A(m.$slots, "default")
5951
5951
  ]),
5952
5952
  d.value ? (o(), P(_(q), {
@@ -6099,11 +6099,7 @@ const L$ = ["value", "disabled"], U$ = { class: "nmorph-switch-thumb" }, Y$ = /*
6099
6099
  n("div", {
6100
6100
  class: H(["nmorph-switch__bg-content", { "nmorph-switch__bg-content--enable": i.value }])
6101
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
- ])
6102
+ i.value ? A(u.$slots, "bg-on", { key: 0 }) : A(u.$slots, "bg-off", { key: 1 })
6107
6103
  ], 2),
6108
6104
  n("div", U$, [
6109
6105
  s.loading ? (o(), P(_(q), {
@@ -6134,7 +6130,7 @@ const G$ = { class: "nmorph-text-input__input-side" }, K$ = {
6134
6130
  emits: ["inputDOMRef", "update:modelValue", "focus", "blur", "on-enter"],
6135
6131
  setup(e, { emit: t }) {
6136
6132
  I(($) => ({
6137
- "7ee4ab03": w.value
6133
+ "75bfc421": w.value
6138
6134
  }));
6139
6135
  const s = e, l = v(
6140
6136
  () => D({
@@ -6180,11 +6176,10 @@ const G$ = { class: "nmorph-text-input__input-side" }, K$ = {
6180
6176
  class: "nmorph-text-input__password-btn",
6181
6177
  "style-type": "transparent",
6182
6178
  width: "32px",
6183
- "bg-transparent-on-hover": "",
6184
6179
  height: s.height,
6185
6180
  onClick: h
6186
6181
  }, {
6187
- default: E(() => [
6182
+ default: R(() => [
6188
6183
  M(_(q), { name: b.value }, null, 8, ["name"])
6189
6184
  ]),
6190
6185
  _: 1
@@ -6266,7 +6261,7 @@ const J$ = { class: "nmorph-time-picker__content" }, Q$ = { class: "nmorph-time-
6266
6261
  step: "1",
6267
6262
  class: "nmorph-native-input"
6268
6263
  }, null, 8, Z$),
6269
- n("span", null, R(C.value), 1)
6264
+ n("span", null, E(C.value), 1)
6270
6265
  ]),
6271
6266
  r.value ? (o(), P(_(re), {
6272
6267
  key: 0,
@@ -6274,7 +6269,7 @@ const J$ = { class: "nmorph-time-picker__content" }, Q$ = { class: "nmorph-time-
6274
6269
  "relative-element": r.value,
6275
6270
  onOnOutsideClick: f
6276
6271
  }, {
6277
- default: E(() => [
6272
+ default: R(() => [
6278
6273
  n("div", N$, [
6279
6274
  M(F, {
6280
6275
  "set-value-on-mount": !u.value,
@@ -6373,7 +6368,7 @@ const ke = (e) => {
6373
6368
  sx,
6374
6369
  h.value ? (o(), a("div", ax)) : O("", !0)
6375
6370
  ]),
6376
- r.label ? (o(), a("span", lx, R(r.label), 1)) : A(g.$slots, "label", { key: 1 }, void 0, !0)
6371
+ r.label ? (o(), a("span", lx, E(r.label), 1)) : A(g.$slots, "label", { key: 1 }, void 0, !0)
6377
6372
  ])) : O("", !0),
6378
6373
  r.styleType === "button-style" ? (o(), a("div", rx, [
6379
6374
  n("input", {
@@ -6387,7 +6382,7 @@ const ke = (e) => {
6387
6382
  class: "nmorph-native-input"
6388
6383
  }, null, 8, cx),
6389
6384
  r.label ? (o(), a("div", ix, [
6390
- n("span", null, R(r.label), 1)
6385
+ n("span", null, E(r.label), 1)
6391
6386
  ])) : (o(), a("div", dx, [
6392
6387
  A(g.$slots, "label", {}, void 0, !0)
6393
6388
  ]))
@@ -6483,7 +6478,7 @@ const vx = /* @__PURE__ */ T({
6483
6478
  }, [
6484
6479
  A(y.$slots, "default", {}, () => [
6485
6480
  M(_(W), null, {
6486
- default: E(() => [
6481
+ default: R(() => [
6487
6482
  M(_(q), {
6488
6483
  name: "chevron-down",
6489
6484
  class: "nmorph-backtop__up-icon"
@@ -6524,7 +6519,7 @@ const px = ["id"], mx = {
6524
6519
  id: `nmorph-breadcrumb-${_(l)}-${d.itemId}-element`,
6525
6520
  class: "nmorph-breadcrumb__element"
6526
6521
  }, null, 8, px),
6527
- u < s.value.length - 1 ? (o(), a("div", mx, R(t.separator), 1)) : O("", !0)
6522
+ u < s.value.length - 1 ? (o(), a("div", mx, E(t.separator), 1)) : O("", !0)
6528
6523
  ]))), 128))
6529
6524
  ], 2));
6530
6525
  }
@@ -6557,7 +6552,7 @@ const gx = /* @__PURE__ */ T({
6557
6552
  replace: h.replace,
6558
6553
  class: "fill-height"
6559
6554
  }, {
6560
- default: E(() => [
6555
+ default: R(() => [
6561
6556
  A(h.$slots, "default")
6562
6557
  ]),
6563
6558
  _: 3
@@ -6600,7 +6595,7 @@ const re = /* @__PURE__ */ T({
6600
6595
  transparent: "",
6601
6596
  onOnOutsideClick: u
6602
6597
  }, {
6603
- default: E(() => [
6598
+ default: R(() => [
6604
6599
  n("div", {
6605
6600
  ref_key: "dropdownDOMRef",
6606
6601
  ref: r,
@@ -6648,7 +6643,7 @@ const wx = { class: "nmorph-tabs__label-list" }, $x = ["id", "onClick"], xx = {
6648
6643
  { "nmorph-tabs__label--disabled": g.disabled }
6649
6644
  ]]),
6650
6645
  onClick: (k) => i(g)
6651
- }, R(g.label), 11, $x))), 128))
6646
+ }, E(g.label), 11, $x))), 128))
6652
6647
  ]),
6653
6648
  n("div", xx, [
6654
6649
  n("div", yx, [
@@ -6773,7 +6768,7 @@ const Vx = /* @__PURE__ */ T({
6773
6768
  name: "nmorph-notification",
6774
6769
  tag: "div"
6775
6770
  }, {
6776
- default: E(() => [
6771
+ default: R(() => [
6777
6772
  (o(!0), a(L, null, U(l.value, (m) => (o(), a("div", {
6778
6773
  key: m.id,
6779
6774
  style: N({ width: m.width }),