@nmorph/nmorph-ui-kit 0.2.117 → 0.2.123

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,18 +1,18 @@
1
- import { defineComponent as D, computed as h, ref as y, openBlock as a, createElementBlock as o, normalizeClass as B, createElementVNode as n, createBlock as E, unref as p, renderSlot as S, toDisplayString as F, createCommentVNode as O, useCssVars as J, normalizeStyle as I, resolveDynamicComponent as W2, createStaticVNode as n2, createTextVNode as te, inject as X, onUnmounted as Me, onMounted as Z, nextTick as pe, watch as Y, mergeProps as de, createVNode as H, withCtx as q, reactive as ue, Fragment as G, renderList as Q, provide as N, Teleport as me, withModifiers as re, withDirectives as De, vShow as Te, useSlots as a2, readonly as L2, TransitionGroup as _e, withKeys as U2, resolveComponent as l2 } from "vue";
1
+ import { defineComponent as D, computed as h, ref as y, openBlock as a, createElementBlock as o, normalizeClass as B, createElementVNode as n, createBlock as E, unref as p, renderSlot as S, toDisplayString as F, createCommentVNode as O, useCssVars as J, normalizeStyle as I, resolveDynamicComponent as W2, createStaticVNode as n2, createTextVNode as te, inject as X, onUnmounted as Me, onMounted as Z, nextTick as he, watch as Y, mergeProps as de, createVNode as H, withCtx as q, reactive as ue, Fragment as G, renderList as Q, provide as N, Teleport as pe, withModifiers as re, withDirectives as De, vShow as Te, useSlots as a2, readonly as L2, TransitionGroup as me, withKeys as U2, resolveComponent as l2 } from "vue";
2
2
  import { useI18n as Y2, createI18n as G2 } from "vue-i18n";
3
3
  var ne = /* @__PURE__ */ ((t) => (t.thick = "thick-component", t.default = "default-height-component", t.thin = "thin-component", t))(ne || {}), Q2 = /* @__PURE__ */ ((t) => (t.circle = "circle", t.square = "square", t))(Q2 || {}), K2 = /* @__PURE__ */ ((t) => (t.ascending = "ascending", t.descending = "descending", t))(K2 || {}), Z2 = /* @__PURE__ */ ((t) => (t.row = "row", t.column = "column", t))(Z2 || {}), o2 = /* @__PURE__ */ ((t) => (t.inset = "shadow-inset", t.outset = "shadow-outset", t.combined = "shadow-combined", t["not-defined"] = "shadow-not-defined", t))(o2 || {}), r2 = /* @__PURE__ */ ((t) => (t.accent = "accent", t.success = "success", t.error = "error", t.warning = "warning", t))(r2 || {}), i = /* @__PURE__ */ ((t) => (t["add-location"] = "add-location", t.aim = "aim", t["alarm-clock"] = "alarm-clock", t.apple = "apple", t.archive = "archive", t["arrow-down"] = "arrow-down", t["arrow-left"] = "arrow-left", t["arrow-right"] = "arrow-right", t["arrow-up"] = "arrow-up", t.audio = "audio", t.avatar = "avatar", t.back = "back", t["bell-filled"] = "bell-filled", t.bell = "bell", t.bicycle = "bicycle", t["bottom-left"] = "bottom-left", t["bottom-right"] = "bottom-right", t.bottom = "bottom", t.burger = "burger", t.calendar = "calendar", t.camera = "camera", t["caret-bottom"] = "caret-bottom", t["caret-left"] = "caret-left", t["caret-right"] = "caret-right", t["caret-top"] = "caret-top", t.cellphone = "cellphone", t["chat-dot-round"] = "chat-dot-round", t["chat-dot-square"] = "chat-dot-square", t["chat-line-round"] = "chat-line-round", t["chat-line-square"] = "chat-line-square", t["chat-round"] = "chat-round", t["chat-square"] = "chat-square", t.check = "check", t.checked = "checked", t.cherry = "cherry", t["chevron-double-down"] = "chevron-double-down", t["chevron-down"] = "chevron-down", t["chrome-filled"] = "chrome-filled", t["circle-check-filled"] = "circle-check-filled", t["circle-check"] = "circle-check", t["circle-close-filled"] = "circle-close-filled", t["circle-close"] = "circle-close", t["circle-plus-filled"] = "circle-plus-filled", t["circle-plus"] = "circle-plus", t.clock = "clock", t.close = "close", t.cloudy = "cloudy", t.code = "code", t["coffee-cup"] = "coffee-cup", t.coffee = "coffee", t.coin = "coin", t["collection-tag"] = "collection-tag", t.collection = "collection", t.compass = "compass", t.connection = "connection", t.coordinate = "coordinate", t["copy-document"] = "copy-document", t.copy = "copy", t.cpu = "cpu", t["credit-card"] = "credit-card", t.crop = "crop", t.cross = "cross", t["delete-filled"] = "delete-filled", t.delete = "delete", t.dessert = "dessert", t.discount = "discount", t.doc = "doc", t["document-add"] = "document-add", t["document-checked"] = "document-checked", t["document-copy"] = "document-copy", t["document-delete"] = "document-delete", t["document-remove"] = "document-remove", t.document = "document", t.download = "download", t["edit-pen"] = "edit-pen", t.edit = "edit", t.enlarge = "enlarge", t.error = "error", t.expand = "expand", t["eye-blocked"] = "eye-blocked", t.eye = "eye", t.failed = "failed", t.files = "files", t.film = "film", t.filter = "filter", t.finished = "finished", t.flag = "flag", t.fold = "fold", t["folder-add"] = "folder-add", t["folder-checked"] = "folder-checked", t["folder-delete"] = "folder-delete", t["folder-opened"] = "folder-opened", t.folder = "folder", t.food = "food", t["fork-spoon"] = "fork-spoon", t["full-screen"] = "full-screen", t.goblet = "goblet", t["gold-medal"] = "gold-medal", t["goods-filled"] = "goods-filled", t.goods = "goods", t.grape = "grape", t.grid = "grid", t.guide = "guide", t.handbag = "handbag", t.headset = "headset", t.histogram = "histogram", t["hot-water"] = "hot-water", t.house = "house", t["ice-cream-round"] = "ice-cream-round", t["ice-drink"] = "ice-drink", t["info-filled"] = "info-filled", t.info = "info", t.image = "image", t.key = "key", t["knife-fork"] = "knife-fork", t.lightning = "lightning", t.link = "link", t.list = "list", t.loader = "loader", t.loading = "loading", t["location-filled"] = "location-filled", t["location-information"] = "location-information", t.location = "location", t.lock = "lock", t.logo = "logo", t.lollipop = "lollipop", t["magic-stick"] = "magic-stick", t.magnet = "magnet", t.male = "male", t.management = "management", t["map-location"] = "map-location", t.medal = "medal", t.memo = "memo", t.menu = "menu", t["message-box"] = "message-box", t.message = "message", t.mic = "mic", t.microphone = "microphone", t.minus = "minus", t.money = "money", t.monitor = "monitor", t.moon = "moon", t["more-filled"] = "more-filled", t.more = "more", t["mostly-cloudy"] = "mostly-cloudy", t.mouse = "mouse", t.mug = "mug", t["mute-notification"] = "mute-notification", t.mute = "mute", t["no-smoking"] = "no-smoking", t.notebook = "notebook", t.notification = "notification", t["office-building"] = "office-building", t.operation = "operation", t.opportunity = "opportunity", t.orange = "orange", t.paperclip = "paperclip", t["partly-cloudy"] = "partly-cloudy", t.pear = "pear", t["phone-filled"] = "phone-filled", t.phone = "phone", t.picture = "picture", t["pie-chart"] = "pie-chart", t.place = "place", t.platform = "platform", t.plus = "plus", t.pointer = "pointer", t.position = "position", t["post-card"] = "post-card", t.pouring = "pouring", t.present = "present", t["price-tag"] = "price-tag", t.printer = "printer", t.promotion = "promotion", t["quartz-watch"] = "quartz-watch", t["question-filled"] = "question-filled", t.rank = "rank", t["reading-lamp"] = "reading-lamp", t.reading = "reading", t["refresh-left"] = "refresh-left", t["refresh-right"] = "refresh-right", t.refresh = "refresh", t.refrigerator = "refrigerator", t["remove-filled"] = "remove-filled", t.remove = "remove", t["rotate-left"] = "rotate-left", t["rotate-right"] = "rotate-right", t["scale-to-original"] = "scale-to-original", t.school = "school", t.scissor = "scissor", t.search = "search", t.select = "select", t.sell = "sell", t["semi-select"] = "semi-select", t.service = "service", t.setting = "setting", t.share = "share", t.ship = "ship", t.shop = "shop", t["shopping-bag"] = "shopping-bag", t["shopping-cart-full"] = "shopping-cart-full", t["shopping-cart"] = "shopping-cart", t.shrink = "shrink", t.smoking = "smoking", t.soccer = "soccer", t["sold-out"] = "sold-out", t["sort-down"] = "sort-down", t["sort-up"] = "sort-up", t.sort = "sort", t.stamp = "stamp", t["star-filled"] = "star-filled", t.star = "star", t["success-filled"] = "success-filled", t.success = "success", t.sugar = "sugar", t.sunny = "sunny", t.sunrise = "sunrise", t.sunset = "sunset", t["switch-button"] = "switch-button", t["switch-filled"] = "switch-filled", t.switch = "switch", t["takeaway-box"] = "takeaway-box", t.ticket = "ticket", t.tickets = "tickets", t.time = "time", t.timer = "timer", t["toilet-paper"] = "toilet-paper", t.tools = "tools", t["top-left"] = "top-left", t["top-right"] = "top-right", t.top = "top", t["trend-charts"] = "trend-charts", t["triangle-down"] = "triangle-down", t["trophy-base"] = "trophy-base", t.trophy = "trophy", t["turn-off"] = "turn-off", t.umbrella = "umbrella", t.unlock = "unlock", t["upload-filled"] = "upload-filled", t.upload = "upload", t["user-filled"] = "user-filled", t.user = "user", t.van = "van", t["video-camera"] = "video-camera", t["video-pause"] = "video-pause", t["video-play"] = "video-play", t.video = "video", t.view = "view", t["wallet-filled"] = "wallet-filled", t.wallet = "wallet", t["warn-triangle-filled"] = "warn-triangle-filled", t.warning = "warning", t.watch = "watch", t["wind-power"] = "wind-power", t["zoom-in"] = "zoom-in", t["zoom-out"] = "zoom-out", t))(i || {}), X2 = /* @__PURE__ */ ((t) => (t.left = "left", t.right = "right", t.top = "top", t.bottom = "bottom", t))(X2 || {}), J2 = /* @__PURE__ */ ((t) => (t.fill = "fill", t.contain = "contain", t.cover = "cover", t.none = "none", t["scale-down"] = "scale-down", t))(J2 || {}), ee = /* @__PURE__ */ ((t) => (t.en = "en", t.ru = "ru", t.zh = "zh", t))(ee || {});
4
4
  const N2 = (t, e) => {
5
5
  const l = e.filter((r) => r !== "false" && r && r !== "undefined").map((r) => `${t}--${r}`);
6
6
  return l.push(t), l.join(" ").trim().replace(/\s+/g, " ");
7
- }, A = (t) => Object.entries(t).map(([e, l]) => N2(e, l)).join(" ").trim().replace(/\s+/g, " "), Ge = (t) => JSON.parse(JSON.stringify(t)), b9 = (t) => {
7
+ }, A = (t) => Object.entries(t).map(([e, l]) => N2(e, l)).join(" ").trim().replace(/\s+/g, " "), Ge = (t) => JSON.parse(JSON.stringify(t)), y9 = (t) => {
8
8
  if (!t)
9
9
  return !1;
10
10
  const e = new DOMParser().parseFromString(t, "text/html");
11
11
  return Array.from(e.body.childNodes).some((l) => l.nodeType === 1);
12
- }, fe = () => {
12
+ }, _e = () => {
13
13
  const t = () => Math.floor((1 + Math.random()) * 65536).toString(16).substring(1);
14
14
  return `${t()}${t()}-${t()}-4${t().substr(0, 3)}-${t().substr(0, 1)}${t().substr(1, 3)}-${t()}${t()}${t()}`;
15
- }, M9 = (t) => t.charAt(0).toUpperCase() + t.slice(1), Qe = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Ke = {
15
+ }, b9 = (t) => t.charAt(0).toUpperCase() + t.slice(1), Qe = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Ke = {
16
16
  error: {
17
17
  bg: "#000000",
18
18
  text: "red"
@@ -31,10 +31,10 @@ const N2 = (t, e) => {
31
31
  }
32
32
  }, I2 = (t, e) => {
33
33
  console.log(`%c ${e} `, `background: ${Ke[t].bg}; color: ${Ke[t].text}`);
34
- }, k9 = (t) => t.replace(/(^\w|-\w)/g, (e) => e.replace(/-/, "").toUpperCase()), H9 = (t) => {
34
+ }, M9 = (t) => t.replace(/(^\w|-\w)/g, (e) => e.replace(/-/, "").toUpperCase()), k9 = (t) => {
35
35
  const e = t.replace(/([A-Z])/g, " $1").trim();
36
36
  return e.charAt(0).toUpperCase() + e.slice(1);
37
- }, z9 = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([A-Z])/g, "-$1").toLowerCase().replace(/--+/g, "-").replace(/^-/, ""), V9 = (t) => t.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/([A-Z])/g, " $1").trim(), e0 = ["disabled", "loading", "type"], t0 = { key: 1 }, n0 = { key: 0 }, U = /* @__PURE__ */ D({
37
+ }, H9 = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([A-Z])/g, "-$1").toLowerCase().replace(/--+/g, "-").replace(/^-/, ""), z9 = (t) => t.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/([A-Z])/g, " $1").trim(), e0 = ["disabled", "loading", "type"], t0 = { key: 1 }, n0 = { key: 0 }, U = /* @__PURE__ */ D({
38
38
  __name: "NmorphButton",
39
39
  props: {
40
40
  styleType: { default: "default" },
@@ -2919,7 +2919,7 @@ const wd = /* @__PURE__ */ D({
2919
2919
  });
2920
2920
  };
2921
2921
  Z(() => {
2922
- T(r.modelValue), pe(m);
2922
+ T(r.modelValue), he(m);
2923
2923
  }), Y(
2924
2924
  () => r.modelValue,
2925
2925
  (le) => {
@@ -2929,11 +2929,11 @@ const wd = /* @__PURE__ */ D({
2929
2929
  ), Y(
2930
2930
  () => b?.browser.dimensions,
2931
2931
  () => {
2932
- pe(m);
2932
+ he(m);
2933
2933
  },
2934
2934
  { deep: !0, immediate: !0 }
2935
2935
  );
2936
- const L = h(() => r.cssScrollBehavior), R = h(() => r.height), K = h(() => r.maxHeight), ae = hc(r);
2936
+ const L = h(() => r.cssScrollBehavior), R = h(() => r.height), K = h(() => r.maxHeight), ae = vc(r);
2937
2937
  e({ scrollDOMContainer: s, moveTo: T });
2938
2938
  const ge = () => {
2939
2939
  k.value = !0;
@@ -3007,12 +3007,12 @@ const xd = /* @__PURE__ */ D({
3007
3007
  ], 2));
3008
3008
  }
3009
3009
  });
3010
- const ve = (t, e) => {
3010
+ const fe = (t, e) => {
3011
3011
  const l = t.__vccOpts || t;
3012
3012
  for (const [r, s] of e)
3013
3013
  l[r] = s;
3014
3014
  return l;
3015
- }, $d = /* @__PURE__ */ ve(xd, [["__scopeId", "data-v-ced15967"]]), yd = {
3015
+ }, $d = /* @__PURE__ */ fe(xd, [["__scopeId", "data-v-ced15967"]]), yd = {
3016
3016
  key: 0,
3017
3017
  class: "nmorph-badge__dot"
3018
3018
  }, bd = {
@@ -3263,7 +3263,7 @@ const _2 = (t) => {
3263
3263
  for (let r = 0; r < 10; r++)
3264
3264
  l.push(e + r);
3265
3265
  return l;
3266
- }, he = (t) => {
3266
+ }, ve = (t) => {
3267
3267
  if (!t)
3268
3268
  return;
3269
3269
  const e = "en-CA", l = {
@@ -3415,7 +3415,7 @@ const Sd = { class: "nmorph-card__header" }, Ad = { class: "nmorph-card__content
3415
3415
  ], 2));
3416
3416
  }
3417
3417
  });
3418
- const Od = /* @__PURE__ */ ve(Td, [["__scopeId", "data-v-e3cb136f"]]), Pd = ["id"], Ed = { class: "nmorph-carousel__elements-indicator" }, qd = ["onClick"], Rd = /* @__PURE__ */ D({
3418
+ const Od = /* @__PURE__ */ fe(Td, [["__scopeId", "data-v-e3cb136f"]]), Pd = ["id"], Ed = { class: "nmorph-carousel__elements-indicator" }, qd = ["onClick"], Rd = /* @__PURE__ */ D({
3419
3419
  __name: "NmorphCarousel",
3420
3420
  props: {
3421
3421
  loop: { type: Boolean, default: !0 }
@@ -3430,7 +3430,7 @@ const Od = /* @__PURE__ */ ve(Td, [["__scopeId", "data-v-e3cb136f"]]), Pd = ["id
3430
3430
  () => A({
3431
3431
  "nmorph-carousel": []
3432
3432
  })
3433
- ), v = y([]), m = fe();
3433
+ ), v = y([]), m = _e();
3434
3434
  N("carousel-data", { data: v, carouselId: m });
3435
3435
  const x = y(null), M = ue({}), $ = () => {
3436
3436
  const V = M[Object.keys(M).length - 1]?.cloneNode(!0), j = M[0]?.cloneNode(!0);
@@ -3439,7 +3439,7 @@ const Od = /* @__PURE__ */ ve(Td, [["__scopeId", "data-v-e3cb136f"]]), Pd = ["id
3439
3439
  l.value === 0 && (l.value = Object.keys(M).length, b.value = !1), l.value > Object.keys(M).length && (l.value = 1, b.value = !1);
3440
3440
  };
3441
3441
  Z(() => {
3442
- d.loop && l.value === 0 && (pe(() => $()), x.value?.addEventListener("transitionend", w));
3442
+ d.loop && l.value === 0 && (he(() => $()), x.value?.addEventListener("transitionend", w));
3443
3443
  }), Y(l, (V) => {
3444
3444
  c("change", l.value), (V === 1 || V === Object.keys(M).length) && setTimeout(() => {
3445
3445
  b.value = !0;
@@ -3512,7 +3512,7 @@ const Fd = /* @__PURE__ */ D({
3512
3512
  key: 0,
3513
3513
  class: B(l.value)
3514
3514
  }, [
3515
- (a(), E(me, {
3515
+ (a(), E(pe, {
3516
3516
  to: `#nmorph-carousel-item-${p(r)?.carouselId}-${e.name}`
3517
3517
  }, [
3518
3518
  S(d.$slots, "default")
@@ -3671,7 +3671,7 @@ const Ld = ["src", "alt", "srcset"], Ud = {
3671
3671
  ], 2)) : O("", !0);
3672
3672
  }
3673
3673
  });
3674
- const be = /* @__PURE__ */ ve(Gd, [["__scopeId", "data-v-4c37d982"]]), Qd = { class: "nmorph-image-preview__content" }, Kd = {
3674
+ const be = /* @__PURE__ */ fe(Gd, [["__scopeId", "data-v-4c37d982"]]), Qd = { class: "nmorph-image-preview__content" }, Kd = {
3675
3675
  key: 0,
3676
3676
  class: "nmorph-image-preview__left"
3677
3677
  }, Zd = {
@@ -4169,7 +4169,7 @@ const mu = { class: "nmorph-table__wrapper" }, _u = { class: "nmorph-table__head
4169
4169
  immediate: !0
4170
4170
  }
4171
4171
  );
4172
- const M = (w) => typeof w == "object" ? "" : w, $ = fe();
4172
+ const M = (w) => typeof w == "object" ? "" : w, $ = _e();
4173
4173
  return N("table-identifier", $), (w, f) => (a(), o("div", {
4174
4174
  ref_key: "nmorphDOMTable",
4175
4175
  ref: c,
@@ -4263,14 +4263,14 @@ const H2 = /* @__PURE__ */ D({
4263
4263
  })
4264
4264
  ), d = h(() => `#table-cell-${l}-${r.row}-${e}`), c = y(!1);
4265
4265
  return Z(async () => {
4266
- await pe();
4266
+ await he();
4267
4267
  const u = document.querySelector(d.value);
4268
4268
  u && (u.innerHTML = ""), c.value = !0;
4269
4269
  }), (u, v) => c.value ? (a(), o("div", {
4270
4270
  key: 0,
4271
4271
  class: B(s.value)
4272
4272
  }, [
4273
- (a(), E(me, { to: d.value }, [
4273
+ (a(), E(pe, { to: d.value }, [
4274
4274
  S(u.$slots, "default")
4275
4275
  ], 8, ["to"]))
4276
4276
  ], 2)) : O("", !0);
@@ -4374,16 +4374,15 @@ const Hu = ["innerHTML"], zu = {
4374
4374
  }, Vu = { class: "nmorph-alert__left-side" }, Bu = {
4375
4375
  key: 0,
4376
4376
  class: "nmorph-alert__icon"
4377
- }, Cu = { class: "nmorph-alert__content-wrapper" }, Su = { class: "nmorph-alert__content-title" }, Au = { class: "nmorph-alert__content" }, Du = /* @__PURE__ */ D({
4377
+ }, Cu = { class: "nmorph-alert__content-wrapper" }, Su = { class: "nmorph-alert__content-title" }, Au = { class: "nmorph-alert__content" }, V2 = /* @__PURE__ */ D({
4378
4378
  __name: "NmorphAlert",
4379
4379
  props: {
4380
- id: {},
4380
+ id: { default: void 0 },
4381
4381
  type: { default: "info" },
4382
4382
  closable: { type: Boolean, default: !1 },
4383
4383
  title: { default: "" },
4384
4384
  content: { default: "" },
4385
4385
  fill: { type: Boolean, default: !1 },
4386
- maxWidth: {},
4387
4386
  showIcon: { type: Boolean, default: !0 },
4388
4387
  bordered: { type: Boolean, default: !0 },
4389
4388
  html: { default: "" }
@@ -4402,13 +4401,13 @@ const Hu = ["innerHTML"], zu = {
4402
4401
  [ie.info]: "info-filled",
4403
4402
  [ie.error]: "circle-close-filled"
4404
4403
  }, u = a2();
4405
- return (v, m) => p(u).default || l.title || l.content ? (a(), o("div", {
4404
+ return (v, m) => p(u).default || l.title || l.content || l.html ? (a(), o("div", {
4406
4405
  key: 0,
4407
4406
  class: B(s.value)
4408
4407
  }, [
4409
4408
  l.html ? (a(), o("div", {
4410
4409
  key: 0,
4411
- class: "nmorph-alert__wrapper",
4410
+ class: "nmorph-alert__html-wrapper",
4412
4411
  innerHTML: l.html
4413
4412
  }, null, 8, Hu)) : (a(), o("div", zu, [
4414
4413
  n("div", Vu, [
@@ -4418,18 +4417,18 @@ const Hu = ["innerHTML"], zu = {
4418
4417
  name: c[l.type],
4419
4418
  size: "medium"
4420
4419
  }, null, 8, ["name"])
4421
- ], !0)
4420
+ ])
4422
4421
  ])) : O("", !0),
4423
4422
  n("div", Cu, [
4424
4423
  n("div", Su, [
4425
4424
  l.title || p(u).title ? S(v.$slots, "title", { key: 0 }, () => [
4426
4425
  te(F(l.title), 1)
4427
- ], !0) : O("", !0)
4426
+ ]) : O("", !0)
4428
4427
  ]),
4429
4428
  n("div", Au, [
4430
4429
  S(v.$slots, "default", {}, () => [
4431
4430
  te(F(l.content), 1)
4432
- ], !0)
4431
+ ])
4433
4432
  ])
4434
4433
  ])
4435
4434
  ]),
@@ -4448,9 +4447,8 @@ const Hu = ["innerHTML"], zu = {
4448
4447
  ], 2)) : O("", !0);
4449
4448
  }
4450
4449
  });
4451
- const V2 = /* @__PURE__ */ ve(Du, [["__scopeId", "data-v-a98b30ba"]]);
4452
4450
  var ie = /* @__PURE__ */ ((t) => (t.success = "success", t.error = "error", t.warning = "warning", t.info = "info", t))(ie || {});
4453
- const Tu = { class: "nmorph-dialog__header" }, Ou = { class: "nmorph-dialog__title" }, Pu = { class: "nmorph-dialog__content" }, Eu = /* @__PURE__ */ D({
4451
+ const Du = { class: "nmorph-dialog__header" }, Tu = { class: "nmorph-dialog__title" }, Ou = { class: "nmorph-dialog__content" }, Pu = /* @__PURE__ */ D({
4454
4452
  __name: "NmorphDialog",
4455
4453
  props: {
4456
4454
  modelValue: { type: Boolean, default: !1 },
@@ -4498,9 +4496,9 @@ const Tu = { class: "nmorph-dialog__header" }, Ou = { class: "nmorph-dialog__tit
4498
4496
  n("div", {
4499
4497
  class: B(s.value)
4500
4498
  }, [
4501
- n("div", Tu, [
4499
+ n("div", Du, [
4502
4500
  S(M.$slots, "header", {}, () => [
4503
- n("div", Ou, F(l.title), 1),
4501
+ n("div", Tu, F(l.title), 1),
4504
4502
  l.showClose ? (a(), o("div", {
4505
4503
  key: 0,
4506
4504
  class: "nmorph-dialog__close-icon",
@@ -4510,7 +4508,7 @@ const Tu = { class: "nmorph-dialog__header" }, Ou = { class: "nmorph-dialog__tit
4510
4508
  ])) : O("", !0)
4511
4509
  ])
4512
4510
  ]),
4513
- n("div", Pu, [
4511
+ n("div", Ou, [
4514
4512
  S(M.$slots, "default")
4515
4513
  ])
4516
4514
  ], 2)
@@ -4519,7 +4517,7 @@ const Tu = { class: "nmorph-dialog__header" }, Ou = { class: "nmorph-dialog__tit
4519
4517
  }, 8, ["show"]));
4520
4518
  }
4521
4519
  });
4522
- var qu = /* @__PURE__ */ ((t) => (t["contains-one"] = "contains-one", t["not-contains"] = "not-contains", t["full-eq"] = "full-eq", t))(qu || {}), Ru = /* @__PURE__ */ ((t) => (t.eq = "eq", t.gte = "gte", t.lte = "lte", t.gt = "gt", t.lt = "lt", t))(Ru || {}), Fu = /* @__PURE__ */ ((t) => (t.eq = "eq", t["not-eq"] = "not-eq", t))(Fu || {});
4520
+ var Eu = /* @__PURE__ */ ((t) => (t["contains-one"] = "contains-one", t["not-contains"] = "not-contains", t["full-eq"] = "full-eq", t))(Eu || {}), qu = /* @__PURE__ */ ((t) => (t.eq = "eq", t.gte = "gte", t.lte = "lte", t.gt = "gt", t.lt = "lt", t))(qu || {}), Ru = /* @__PURE__ */ ((t) => (t.eq = "eq", t["not-eq"] = "not-eq", t))(Ru || {});
4523
4521
  const Je = (t) => {
4524
4522
  const { inputValue: e, rules: l } = t, r = y([]), s = h(() => r.value.length === 0), d = y(!1);
4525
4523
  return {
@@ -4579,7 +4577,7 @@ const Je = (t) => {
4579
4577
  }
4580
4578
  }
4581
4579
  };
4582
- }, ju = (t, e = !1) => {
4580
+ }, Fu = (t, e = !1) => {
4583
4581
  const l = ue({}), r = ue(Ge(t)), s = () => {
4584
4582
  Object.entries(t).forEach(([u, v]) => {
4585
4583
  l[u] = Je({ inputValue: v.value, rules: v.rules }), l[u].validate();
@@ -4602,7 +4600,7 @@ const Je = (t) => {
4602
4600
  v();
4603
4601
  });
4604
4602
  const v = () => {
4605
- pe(() => {
4603
+ he(() => {
4606
4604
  if (!r.value || !l) {
4607
4605
  console.warn("There is no relative element or content DOM element");
4608
4606
  return;
@@ -4617,19 +4615,19 @@ const Je = (t) => {
4617
4615
  });
4618
4616
  };
4619
4617
  return { placement: c, placementCoords: u };
4620
- }, B9 = () => {
4621
- }, Wu = "@nmorph/nmorph-ui-kit", Lu = "module", Uu = "0.2.117", Yu = "MIT", Gu = {
4618
+ }, V9 = () => {
4619
+ }, ju = "@nmorph/nmorph-ui-kit", Wu = "module", Lu = "0.2.123", Uu = "MIT", Yu = {
4622
4620
  node: "18.13.0",
4623
4621
  npm: "8.19.3"
4624
- }, Qu = "./dist/index.d.ts", Ku = "./dist/index.umd.js", Zu = "./dist/index.es.js", Xu = "./dist/style.css", Ju = [
4622
+ }, Gu = "./dist/index.d.ts", Qu = "./dist/index.umd.js", Ku = "./dist/index.es.js", Zu = "./dist/style.css", Xu = [
4625
4623
  "*.css"
4626
- ], Nu = [
4624
+ ], Ju = [
4627
4625
  "dist",
4628
4626
  "tsconfig.base.json",
4629
4627
  ".eslintrc.base.cjs",
4630
4628
  ".stylelintrc.base.cjs",
4631
4629
  ".prettierrc.base.cjs"
4632
- ], Iu = {
4630
+ ], Nu = {
4633
4631
  ".": {
4634
4632
  import: {
4635
4633
  types: "./dist/index.d.ts",
@@ -4643,7 +4641,7 @@ const Je = (t) => {
4643
4641
  "./dist/styles/abstracts/_mixins.scss": "./dist/styles/abstracts/_mixins.scss",
4644
4642
  "./dist/styles/abstracts/_functions.scss": "./dist/styles/abstracts/_functions.scss",
4645
4643
  "./dist/styles/main.scss": "./dist/styles/main.scss"
4646
- }, ec = {
4644
+ }, Iu = {
4647
4645
  build: "npm run build:types && vite build",
4648
4646
  "lint:es:check": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src/",
4649
4647
  "lint:es": "eslint --ext .js,.ts,.vue --ignore-path .gitignore --fix src/",
@@ -4660,13 +4658,13 @@ const Je = (t) => {
4660
4658
  "story:preview": "histoire preview",
4661
4659
  "test:dev": "npx vitest",
4662
4660
  "build:types": "vue-tsc --declaration --emitDeclarationOnly --outDir dist"
4663
- }, tc = {
4661
+ }, ec = {
4664
4662
  "@types/vue-router": "^2.0.0",
4665
4663
  "normalize.css": "^8.0.1",
4666
4664
  vue: "^3.4.7",
4667
4665
  "vue-i18n": "^9.9.0",
4668
4666
  "vue-template-es2015-compiler": "^1.9.1"
4669
- }, nc = {
4667
+ }, tc = {
4670
4668
  "@histoire/plugin-vue": "^0.17.6",
4671
4669
  "@types/node": "^20.10.8",
4672
4670
  "@types/vue": "^2.0.0",
@@ -4704,23 +4702,23 @@ const Je = (t) => {
4704
4702
  vitest: "^1.2.0",
4705
4703
  "vue-eslint-parser": "^9.4.0",
4706
4704
  "vue-tsc": "^2.0.22"
4707
- }, ac = {
4708
- name: Wu,
4709
- type: Lu,
4705
+ }, nc = {
4706
+ name: ju,
4707
+ type: Wu,
4710
4708
  private: !1,
4711
- version: Uu,
4712
- license: Yu,
4713
- engines: Gu,
4714
- types: Qu,
4715
- main: Ku,
4716
- module: Zu,
4717
- style: Xu,
4718
- sideEffects: Ju,
4719
- files: Nu,
4720
- exports: Iu,
4721
- scripts: ec,
4722
- dependencies: tc,
4723
- devDependencies: nc
4709
+ version: Lu,
4710
+ license: Uu,
4711
+ engines: Yu,
4712
+ types: Gu,
4713
+ main: Qu,
4714
+ module: Ku,
4715
+ style: Zu,
4716
+ sideEffects: Xu,
4717
+ files: Ju,
4718
+ exports: Nu,
4719
+ scripts: Iu,
4720
+ dependencies: ec,
4721
+ devDependencies: tc
4724
4722
  }, C2 = [
4725
4723
  { name: "--nmorph-info-color", color: "#d4e5edbb" },
4726
4724
  { name: "--nmorph-info-text-color", color: "#506c80" },
@@ -4734,27 +4732,27 @@ const Je = (t) => {
4734
4732
  { name: "--nmorph-gray-color", color: "#c9d2dee6" },
4735
4733
  { name: "--nmorph-black-color", color: "#000000" },
4736
4734
  { name: "--nmorph-overlay-color", color: "#00000095" }
4737
- ], lc = {
4735
+ ], ac = {
4738
4736
  darkShade: "#c8c9ca",
4739
4737
  main: "#eaf2f9",
4740
4738
  lightShade: "#ffffff",
4741
4739
  text: "#687b9e",
4742
4740
  accent: "#4a90e2",
4743
4741
  focusText: "#ffffff"
4744
- }, oc = {
4742
+ }, lc = {
4745
4743
  darkShade: "#0f1112",
4746
4744
  main: "#1c1f21",
4747
4745
  lightShade: "#292d30",
4748
4746
  text: "#778288",
4749
4747
  accent: "#006cb6",
4750
4748
  focusText: "#ffffff"
4751
- }, se = "nmorph-data-theme", rc = "dark", sc = {
4749
+ }, se = "nmorph-data-theme", oc = "dark", rc = {
4752
4750
  themes: {
4753
4751
  common: C2,
4754
- light: lc,
4755
- dark: oc
4752
+ light: ac,
4753
+ dark: lc
4756
4754
  },
4757
- defaultTheme: rc,
4755
+ defaultTheme: oc,
4758
4756
  saveCurrentThemeToLS: !0,
4759
4757
  darkShadeGeneratorCoefficient: -45,
4760
4758
  lightShadeGeneratorCoefficient: 45,
@@ -4762,11 +4760,11 @@ const Je = (t) => {
4762
4760
  baseShadowWidth: "1.5px",
4763
4761
  baseShadowBlurCoefficient: "1.5"
4764
4762
  }
4765
- }, ic = (t) => /^#[0-9A-Fa-f]{6}$/.test(t), dc = (t) => {
4766
- if (!ic(t))
4763
+ }, sc = (t) => /^#[0-9A-Fa-f]{6}$/.test(t), ic = (t) => {
4764
+ if (!sc(t))
4767
4765
  throw new Error(`Invalid hex color: ${t}`);
4768
4766
  return t;
4769
- }, uc = (t, e) => {
4767
+ }, dc = (t, e) => {
4770
4768
  const l = {};
4771
4769
  return t.forEach(({ name: r, color: s }) => {
4772
4770
  l[r] = s;
@@ -4778,11 +4776,11 @@ const Je = (t) => {
4778
4776
  l = Math.round(l * (1 + e / 100)), r = Math.round(r * (1 + e / 100)), s = Math.round(s * (1 + e / 100)), l = Math.min(255, Math.max(0, l)), r = Math.min(255, Math.max(0, r)), s = Math.min(255, Math.max(0, s));
4779
4777
  const d = l.toString(16).padStart(2, "0"), c = r.toString(16).padStart(2, "0"), u = s.toString(16).padStart(2, "0");
4780
4778
  return `#${d}${c}${u}`;
4781
- }, cc = (t) => {
4782
- I2("warn", `NMORPH(v${ac.version})`);
4783
- const e = { ...sc, ...t }, l = ($) => {
4779
+ }, uc = (t) => {
4780
+ I2("warn", `NMORPH(v${nc.version})`);
4781
+ const e = { ...rc, ...t }, l = ($) => {
4784
4782
  try {
4785
- const w = dc($), f = Ne(w, e.darkShadeGeneratorCoefficient), g = Ne(w, e.lightShadeGeneratorCoefficient);
4783
+ const w = ic($), f = Ne(w, e.darkShadeGeneratorCoefficient), g = Ne(w, e.lightShadeGeneratorCoefficient);
4786
4784
  return [
4787
4785
  { name: "--nmorph-dark-shade-color", color: f },
4788
4786
  { name: "--nmorph-light-shade-color", color: g }
@@ -4797,7 +4795,7 @@ const Je = (t) => {
4797
4795
  const f = (_) => _.map((z) => `${z.name}: ${z.color};`).join(" "), g = Object.entries(w).map(([_, z]) => `--${Qe(_)}: ${z};`).join(" "), b = [];
4798
4796
  return Object.entries($).forEach(([_, z]) => {
4799
4797
  if (_ === "common")
4800
- b.push(f(uc(C2, z)));
4798
+ b.push(f(dc(C2, z)));
4801
4799
  else {
4802
4800
  const V = `
4803
4801
  &[${se}='${_}'] {
@@ -4904,20 +4902,20 @@ const Je = (t) => {
4904
4902
  }, Ie = {
4905
4903
  NmorphSwitch: Re[ee.en],
4906
4904
  NmorphCalendar: Fe[ee.en]
4907
- }, C9 = {
4905
+ }, B9 = {
4908
4906
  NmorphSwitch: Re[ee.ru],
4909
4907
  NmorphCalendar: Fe[ee.ru]
4910
- }, S9 = {
4908
+ }, C9 = {
4911
4909
  NmorphSwitch: Re[ee.zh],
4912
4910
  NmorphCalendar: Fe[ee.zh]
4913
- }, vc = (t) => {
4911
+ }, cc = (t) => {
4914
4912
  const e = t && t.messages ? { ...t.messages, en: Ie } : { en: Ie }, l = t && t.locale ? t.locale : ee.en;
4915
4913
  return G2({
4916
4914
  locale: l,
4917
4915
  fallbackLocale: ee.en,
4918
4916
  messages: e
4919
4917
  });
4920
- }, A9 = () => {
4918
+ }, S9 = () => {
4921
4919
  const t = y([]), e = {
4922
4920
  duration: 3e3,
4923
4921
  closable: !0,
@@ -4925,7 +4923,7 @@ const Je = (t) => {
4925
4923
  width: "330px"
4926
4924
  }, l = (s) => {
4927
4925
  const d = {
4928
- id: Date.now(),
4926
+ id: String(Date.now()),
4929
4927
  ...e
4930
4928
  }, c = ue({
4931
4929
  ...d,
@@ -4940,16 +4938,16 @@ const Je = (t) => {
4940
4938
  notify: l,
4941
4939
  removeNotification: r
4942
4940
  };
4943
- }, hc = (t) => {
4941
+ }, vc = (t) => {
4944
4942
  const e = {};
4945
4943
  return t.role && (e.role = t.role), t.ariaLabel && (e["aria-label"] = t.ariaLabel), t.ariaOrientation && (e["aria-orientation"] = t.ariaOrientation), e;
4946
- }, pc = { class: "nmorph-tooltip__shadow-content" }, mc = {
4944
+ }, hc = { class: "nmorph-tooltip__shadow-content" }, pc = {
4947
4945
  key: 0,
4948
4946
  class: "nmorph-tooltip__triangle"
4949
- }, _c = {
4947
+ }, mc = {
4950
4948
  key: 0,
4951
4949
  class: "nmorph-tooltip__info-content"
4952
- }, fc = { class: "nmorph-tooltip__shadow-content" }, gc = { key: 0 }, S2 = /* @__PURE__ */ D({
4950
+ }, _c = { class: "nmorph-tooltip__shadow-content" }, fc = { key: 0 }, S2 = /* @__PURE__ */ D({
4953
4951
  __name: "NmorphTooltip",
4954
4952
  props: {
4955
4953
  text: { default: "" },
@@ -4993,7 +4991,7 @@ const Je = (t) => {
4993
4991
  }, [
4994
4992
  S(x.$slots, "default")
4995
4993
  ], 512),
4996
- e.forceCoordinate ? (a(), E(_e, {
4994
+ e.forceCoordinate ? (a(), E(me, {
4997
4995
  key: 0,
4998
4996
  name: "opacity",
4999
4997
  tag: "div"
@@ -5004,23 +5002,23 @@ const Je = (t) => {
5004
5002
  class: "nmorph-tooltip__info-content",
5005
5003
  style: I({ left: x.forceCoordinate?.x, bottom: x.forceCoordinate?.y })
5006
5004
  }, [
5007
- n("div", pc, [
5008
- e.forceCoordinate ? O("", !0) : (a(), o("div", mc)),
5005
+ n("div", hc, [
5006
+ e.forceCoordinate ? O("", !0) : (a(), o("div", pc)),
5009
5007
  n("span", null, F(x.text), 1)
5010
5008
  ])
5011
5009
  ], 4)) : O("", !0)
5012
5010
  ]),
5013
5011
  _: 1
5014
- })) : (a(), E(_e, {
5012
+ })) : (a(), E(me, {
5015
5013
  key: 1,
5016
5014
  name: "opacity",
5017
5015
  tag: "div"
5018
5016
  }, {
5019
5017
  default: q(() => [
5020
- l.value ? (a(), o("div", _c, [
5021
- n("div", fc, [
5018
+ l.value ? (a(), o("div", mc, [
5019
+ n("div", _c, [
5022
5020
  M[0] || (M[0] = n("div", { class: "nmorph-tooltip__triangle" }, null, -1)),
5023
- e.text ? (a(), o("span", gc, F(x.text), 1)) : S(x.$slots, "content", { key: 1 })
5021
+ e.text ? (a(), o("span", fc, F(x.text), 1)) : S(x.$slots, "content", { key: 1 })
5024
5022
  ])
5025
5023
  ])) : O("", !0)
5026
5024
  ]),
@@ -5030,25 +5028,25 @@ const Je = (t) => {
5030
5028
  ], 2));
5031
5029
  }
5032
5030
  });
5033
- const wc = {
5031
+ const gc = {
5034
5032
  key: 0,
5035
5033
  class: "nmorph-checkbox__content"
5036
- }, xc = { class: "nmorph-checkbox__input-wrapper" }, $c = ["disabled", "checked"], yc = {
5034
+ }, wc = { class: "nmorph-checkbox__input-wrapper" }, xc = ["disabled", "checked"], $c = {
5037
5035
  key: 0,
5038
5036
  class: "nmorph-checkbox__fake-checked"
5039
- }, bc = {
5037
+ }, yc = {
5040
5038
  key: 0,
5041
5039
  class: "nmorph-checkbox__label"
5042
- }, Mc = {
5040
+ }, bc = {
5043
5041
  key: 1,
5044
5042
  class: "nmorph-checkbox__label"
5045
- }, kc = {
5043
+ }, Mc = {
5046
5044
  key: 1,
5047
5045
  class: "nmorph-checkbox__content"
5048
- }, Hc = ["disabled", "checked"], zc = {
5046
+ }, kc = ["disabled", "checked"], Hc = {
5049
5047
  key: 0,
5050
5048
  class: "nmorph-checkbox__fake"
5051
- }, Vc = {
5049
+ }, zc = {
5052
5050
  key: 1,
5053
5051
  class: "nmorph-checkbox__fake"
5054
5052
  }, A2 = /* @__PURE__ */ D({
@@ -5097,8 +5095,8 @@ const wc = {
5097
5095
  return ($, w) => (a(), o("label", {
5098
5096
  class: B(M.value)
5099
5097
  }, [
5100
- s.design === "checkbox" ? (a(), o("div", wc, [
5101
- n("div", xc, [
5098
+ s.design === "checkbox" ? (a(), o("div", gc, [
5099
+ n("div", wc, [
5102
5100
  n("input", {
5103
5101
  ref_key: "inputDOMRef",
5104
5102
  ref: d,
@@ -5107,17 +5105,17 @@ const wc = {
5107
5105
  checked: v.value,
5108
5106
  class: "nmorph-native-input",
5109
5107
  onChange: x
5110
- }, null, 40, $c),
5108
+ }, null, 40, xc),
5111
5109
  w[0] || (w[0] = n("div", { class: "nmorph-checkbox__fake" }, null, -1)),
5112
- v.value ? (a(), o("div", yc)) : O("", !0)
5110
+ v.value ? (a(), o("div", $c)) : O("", !0)
5113
5111
  ]),
5114
- s.label ? (a(), o("div", bc, [
5112
+ s.label ? (a(), o("div", yc, [
5115
5113
  n("span", null, F(s.label), 1)
5116
- ])) : (a(), o("div", Mc, [
5114
+ ])) : (a(), o("div", bc, [
5117
5115
  S($.$slots, "default")
5118
5116
  ]))
5119
5117
  ])) : O("", !0),
5120
- s.design === "button" ? (a(), o("div", kc, [
5118
+ s.design === "button" ? (a(), o("div", Mc, [
5121
5119
  n("input", {
5122
5120
  ref_key: "inputDOMRef",
5123
5121
  ref: d,
@@ -5125,17 +5123,17 @@ const wc = {
5125
5123
  disabled: s.disabled,
5126
5124
  checked: v.value,
5127
5125
  onChange: x
5128
- }, null, 40, Hc),
5129
- s.label ? (a(), o("div", zc, [
5126
+ }, null, 40, kc),
5127
+ s.label ? (a(), o("div", Hc, [
5130
5128
  n("span", null, F(s.label), 1)
5131
- ])) : (a(), o("div", Vc, [
5129
+ ])) : (a(), o("div", zc, [
5132
5130
  S($.$slots, "label")
5133
5131
  ]))
5134
5132
  ])) : O("", !0)
5135
5133
  ], 2));
5136
5134
  }
5137
5135
  });
5138
- const Bc = { class: "nmorph-checkbox-group__wrapper" }, Cc = { class: "nmorph-checkbox-group__content" }, Sc = /* @__PURE__ */ D({
5136
+ const Vc = { class: "nmorph-checkbox-group__wrapper" }, Bc = { class: "nmorph-checkbox-group__content" }, Cc = /* @__PURE__ */ D({
5139
5137
  __name: "NmorphCheckboxGroup",
5140
5138
  props: {
5141
5139
  modelValue: { default: () => [] },
@@ -5158,8 +5156,8 @@ const Bc = { class: "nmorph-checkbox-group__wrapper" }, Cc = { class: "nmorph-ch
5158
5156
  return N("checkbox-group-selected-value", r), N("change-checkbox-value-handler", d), (u, v) => (a(), o("div", {
5159
5157
  class: B(c.value)
5160
5158
  }, [
5161
- n("div", Bc, [
5162
- n("div", Cc, [
5159
+ n("div", Vc, [
5160
+ n("div", Bc, [
5163
5161
  (a(!0), o(G, null, Q(u.options, (m, x) => (a(), E(p(A2), {
5164
5162
  id: m.id,
5165
5163
  key: x,
@@ -5174,13 +5172,13 @@ const Bc = { class: "nmorph-checkbox-group__wrapper" }, Cc = { class: "nmorph-ch
5174
5172
  ], 2));
5175
5173
  }
5176
5174
  });
5177
- const Ac = { class: "nmorph-autocomplete__input-content" }, Dc = {
5175
+ const Sc = { class: "nmorph-autocomplete__input-content" }, Ac = {
5178
5176
  key: 0,
5179
5177
  class: "nmorph-autocomplete__loading"
5180
- }, Tc = {
5178
+ }, Dc = {
5181
5179
  key: 1,
5182
5180
  class: "nmorph-autocomplete__list"
5183
- }, Oc = ["onClick"], Pc = /* @__PURE__ */ D({
5181
+ }, Tc = ["onClick"], Oc = /* @__PURE__ */ D({
5184
5182
  __name: "NmorphAutocomplete",
5185
5183
  props: {
5186
5184
  modelValue: { default: "" },
@@ -5220,7 +5218,7 @@ const Ac = { class: "nmorph-autocomplete__input-content" }, Dc = {
5220
5218
  }), (f, g) => (a(), o("div", {
5221
5219
  class: B(d.value)
5222
5220
  }, [
5223
- n("div", Ac, [
5221
+ n("div", Sc, [
5224
5222
  n("div", {
5225
5223
  ref_key: "nmorphAutocompleteDOMRef",
5226
5224
  ref: v,
@@ -5245,14 +5243,14 @@ const Ac = { class: "nmorph-autocomplete__input-content" }, Dc = {
5245
5243
  onOnOutsideClick: m
5246
5244
  }, {
5247
5245
  default: q(() => [
5248
- w.value ? (a(), o("div", Dc, [
5246
+ w.value ? (a(), o("div", Ac, [
5249
5247
  S(f.$slots, "loader", {}, () => [
5250
5248
  H(p(P), {
5251
5249
  name: "loader",
5252
5250
  size: "large"
5253
5251
  })
5254
5252
  ])
5255
- ])) : (a(), o("div", Tc, [
5253
+ ])) : (a(), o("div", Dc, [
5256
5254
  (a(!0), o(G, null, Q(x.value, (b, _) => (a(), o("div", {
5257
5255
  key: _,
5258
5256
  class: "nmorph-autocomplete__list-item",
@@ -5261,7 +5259,7 @@ const Ac = { class: "nmorph-autocomplete__input-content" }, Dc = {
5261
5259
  S(f.$slots, "default", { scope: b }, () => [
5262
5260
  te(F(b.value), 1)
5263
5261
  ])
5264
- ], 8, Oc))), 128))
5262
+ ], 8, Tc))), 128))
5265
5263
  ]))
5266
5264
  ]),
5267
5265
  _: 3
@@ -5287,13 +5285,13 @@ const e2 = /* @__PURE__ */ D({
5287
5285
  })
5288
5286
  ], 2));
5289
5287
  }
5290
- }), Ec = {
5288
+ }), Pc = {
5291
5289
  key: 0,
5292
5290
  class: "nmorph-date-picker__date-wrapper"
5293
- }, qc = { class: "nmorph-date-picker__selected-value" }, Rc = { class: "nmorph-date-picker__clear-button-wrapper" }, Fc = { class: "nmorph-date-picker__content" }, jc = {
5291
+ }, Ec = { class: "nmorph-date-picker__selected-value" }, qc = { class: "nmorph-date-picker__clear-button-wrapper" }, Rc = { class: "nmorph-date-picker__content" }, Fc = {
5294
5292
  key: 1,
5295
5293
  class: "nmorph-date-picker__date-range-wrapper"
5296
- }, Wc = { class: "nmorph-date-picker__selected-value" }, Lc = { class: "nmorph-date-picker__value-from" }, Uc = { class: "nmorph-date-picker__value-separator" }, Yc = { class: "nmorph-date-picker__value-from" }, Gc = { class: "nmorph-date-picker__clear-button-wrapper" }, Qc = { class: "nmorph-date-picker__content" }, Kc = /* @__PURE__ */ D({
5294
+ }, jc = { class: "nmorph-date-picker__selected-value" }, Wc = { class: "nmorph-date-picker__value-from" }, Lc = { class: "nmorph-date-picker__value-separator" }, Uc = { class: "nmorph-date-picker__value-from" }, Yc = { class: "nmorph-date-picker__clear-button-wrapper" }, Gc = { class: "nmorph-date-picker__content" }, Qc = /* @__PURE__ */ D({
5297
5295
  __name: "NmorphDatePicker",
5298
5296
  props: {
5299
5297
  placeholder: { default: "Pick a date" },
@@ -5320,9 +5318,9 @@ const e2 = /* @__PURE__ */ D({
5320
5318
  v.value = !1;
5321
5319
  }, M = () => {
5322
5320
  v.value = !v.value;
5323
- }, $ = h(() => d.value ? Array.isArray(d.value) ? d.value.length === 0 ? l.placeholder : he(d.value).join(", ") : he(d.value) : l.placeholder), w = h(() => {
5321
+ }, $ = h(() => d.value ? Array.isArray(d.value) ? d.value.length === 0 ? l.placeholder : ve(d.value).join(", ") : ve(d.value) : l.placeholder), w = h(() => {
5324
5322
  if (Array.isArray(d.value)) {
5325
- const V = he(d.value[0]) ?? l.startDatePlaceholder, j = he(d.value[1]) ?? l.endDatePlaceholder;
5323
+ const V = ve(d.value[0]) ?? l.startDatePlaceholder, j = ve(d.value[1]) ?? l.endDatePlaceholder;
5326
5324
  return {
5327
5325
  from: V,
5328
5326
  to: j
@@ -5352,7 +5350,7 @@ const e2 = /* @__PURE__ */ D({
5352
5350
  return (V, j) => (a(), o("div", {
5353
5351
  class: B(u.value)
5354
5352
  }, [
5355
- l.type === "date" || l.type === "dates" ? (a(), o("div", Ec, [
5353
+ l.type === "date" || l.type === "dates" ? (a(), o("div", Pc, [
5356
5354
  n("div", {
5357
5355
  ref_key: "nmorphInputDOMRef",
5358
5356
  ref: m,
@@ -5364,15 +5362,15 @@ const e2 = /* @__PURE__ */ D({
5364
5362
  name: "calendar",
5365
5363
  class: "nmorph-date-picker__calendar-icon"
5366
5364
  }),
5367
- n("div", qc, F($.value), 1),
5368
- n("div", Rc, [
5365
+ n("div", Ec, F($.value), 1),
5366
+ n("div", qc, [
5369
5367
  b.value ? (a(), E(e2, {
5370
5368
  key: 0,
5371
5369
  onClear: f
5372
5370
  })) : O("", !0)
5373
5371
  ])
5374
5372
  ], 2),
5375
- n("div", Fc, [
5373
+ n("div", Rc, [
5376
5374
  m.value ? (a(), E(p(ce), {
5377
5375
  key: 0,
5378
5376
  "fill-width": !1,
@@ -5393,7 +5391,7 @@ const e2 = /* @__PURE__ */ D({
5393
5391
  }, 8, ["open", "relative-element"])) : O("", !0)
5394
5392
  ])
5395
5393
  ])) : O("", !0),
5396
- l.type === "daterange" ? (a(), o("div", jc, [
5394
+ l.type === "daterange" ? (a(), o("div", Fc, [
5397
5395
  n("div", {
5398
5396
  ref_key: "nmorphInputDOMRef",
5399
5397
  ref: m,
@@ -5405,19 +5403,19 @@ const e2 = /* @__PURE__ */ D({
5405
5403
  name: "calendar",
5406
5404
  class: "nmorph-date-picker__calendar-icon"
5407
5405
  }),
5408
- n("div", Wc, [
5409
- n("div", Lc, F(w.value.from), 1),
5410
- n("div", Uc, F(l.textSeparator), 1),
5411
- n("div", Yc, F(w.value.to), 1)
5406
+ n("div", jc, [
5407
+ n("div", Wc, F(w.value.from), 1),
5408
+ n("div", Lc, F(l.textSeparator), 1),
5409
+ n("div", Uc, F(w.value.to), 1)
5412
5410
  ]),
5413
- n("div", Gc, [
5411
+ n("div", Yc, [
5414
5412
  b.value ? (a(), E(e2, {
5415
5413
  key: 0,
5416
5414
  onClear: f
5417
5415
  })) : O("", !0)
5418
5416
  ])
5419
5417
  ], 2),
5420
- n("div", Qc, [
5418
+ n("div", Gc, [
5421
5419
  m.value ? (a(), E(p(ce), {
5422
5420
  key: 0,
5423
5421
  "fill-width": !1,
@@ -5449,7 +5447,7 @@ const e2 = /* @__PURE__ */ D({
5449
5447
  }
5450
5448
  });
5451
5449
  var D2 = /* @__PURE__ */ ((t) => (t.date = "date", t.dates = "dates", t.daterange = "daterange", t))(D2 || {});
5452
- const Zc = { class: "nmorph-year-month-picker__header" }, Xc = { class: "nmorph-year-month-picker__value" }, Jc = { class: "nmorph-year-month-picker__values" }, Oe = /* @__PURE__ */ D({
5450
+ const Kc = { class: "nmorph-year-month-picker__header" }, Zc = { class: "nmorph-year-month-picker__value" }, Xc = { class: "nmorph-year-month-picker__values" }, Oe = /* @__PURE__ */ D({
5453
5451
  __name: "NmorphYearMonthPicker",
5454
5452
  props: {
5455
5453
  currentDate: {},
@@ -5498,7 +5496,7 @@ const Zc = { class: "nmorph-year-month-picker__header" }, Xc = { class: "nmorph-
5498
5496
  return (_, z) => (a(), o("div", {
5499
5497
  class: B(x.value)
5500
5498
  }, [
5501
- n("div", Zc, [
5499
+ n("div", Kc, [
5502
5500
  H(p(U), {
5503
5501
  class: "nmorph-year-month-picker__action-btn",
5504
5502
  "style-type": "transparent",
@@ -5512,7 +5510,7 @@ const Zc = { class: "nmorph-year-month-picker__header" }, Xc = { class: "nmorph-
5512
5510
  ]),
5513
5511
  _: 1
5514
5512
  }),
5515
- n("div", Xc, [
5513
+ n("div", Zc, [
5516
5514
  H(p(U), {
5517
5515
  text: g.value,
5518
5516
  "style-type": "transparent",
@@ -5533,7 +5531,7 @@ const Zc = { class: "nmorph-year-month-picker__header" }, Xc = { class: "nmorph-
5533
5531
  _: 1
5534
5532
  })
5535
5533
  ]),
5536
- n("div", Jc, [
5534
+ n("div", Xc, [
5537
5535
  H(p(Le), {
5538
5536
  "model-value": c.value,
5539
5537
  options: d.value,
@@ -5619,7 +5617,7 @@ const ye = /* @__PURE__ */ D({
5619
5617
  }, null, 8, ["current-date"])) : O("", !0)
5620
5618
  ], 2));
5621
5619
  }
5622
- }), Nc = { class: "nmorph-date-picker-header__left-side" }, Ic = { class: "nmorph-date-picker-header__center-side" }, e5 = { class: "nmorph-date-picker-header__right-side" }, T2 = /* @__PURE__ */ D({
5620
+ }), Jc = { class: "nmorph-date-picker-header__left-side" }, Nc = { class: "nmorph-date-picker-header__center-side" }, Ic = { class: "nmorph-date-picker-header__right-side" }, T2 = /* @__PURE__ */ D({
5623
5621
  __name: "NmorphDatePickerHeader",
5624
5622
  props: {
5625
5623
  date: { default: () => /* @__PURE__ */ new Date() }
@@ -5634,7 +5632,7 @@ const ye = /* @__PURE__ */ D({
5634
5632
  return (d, c) => (a(), o("div", {
5635
5633
  class: B(s.value)
5636
5634
  }, [
5637
- n("div", Nc, [
5635
+ n("div", Jc, [
5638
5636
  H(p(U), {
5639
5637
  class: "nmorph-date-picker-header__action-btn",
5640
5638
  "style-type": "transparent",
@@ -5662,7 +5660,7 @@ const ye = /* @__PURE__ */ D({
5662
5660
  _: 1
5663
5661
  })
5664
5662
  ]),
5665
- n("div", Ic, [
5663
+ n("div", Nc, [
5666
5664
  H(p(U), {
5667
5665
  text: String(l.date.getFullYear()),
5668
5666
  "style-type": "transparent",
@@ -5676,7 +5674,7 @@ const ye = /* @__PURE__ */ D({
5676
5674
  onClick: c[3] || (c[3] = (u) => r("change-month"))
5677
5675
  }, null, 8, ["text"])
5678
5676
  ]),
5679
- n("div", e5, [
5677
+ n("div", Ic, [
5680
5678
  H(p(U), {
5681
5679
  class: "nmorph-date-picker-header__action-btn",
5682
5680
  "style-type": "transparent",
@@ -5707,7 +5705,7 @@ const ye = /* @__PURE__ */ D({
5707
5705
  ], 2));
5708
5706
  }
5709
5707
  });
5710
- const t5 = { class: "nmorph-file-upload__trigger" }, n5 = ["multiple"], a5 = { class: "nmorph-file-upload__list" }, l5 = { class: "nmorph-file-upload__file-info" }, o5 = { class: "nmorph-file-upload__file-name" }, r5 = { class: "nmorph-file-upload__remove-file" }, s5 = /* @__PURE__ */ D({
5708
+ const e5 = { class: "nmorph-file-upload__trigger" }, t5 = ["multiple"], n5 = { class: "nmorph-file-upload__list" }, a5 = { class: "nmorph-file-upload__file-info" }, l5 = { class: "nmorph-file-upload__file-name" }, o5 = { class: "nmorph-file-upload__remove-file" }, r5 = /* @__PURE__ */ D({
5711
5709
  __name: "NmorphFileUpload",
5712
5710
  props: {
5713
5711
  modelValue: { default: () => [] },
@@ -5761,7 +5759,7 @@ const t5 = { class: "nmorph-file-upload__trigger" }, n5 = ["multiple"], a5 = { c
5761
5759
  return (w, f) => (a(), o("div", {
5762
5760
  class: B($.value)
5763
5761
  }, [
5764
- n("div", t5, [
5762
+ n("div", e5, [
5765
5763
  n("input", {
5766
5764
  ref_key: "inputDOMRef",
5767
5765
  ref: c,
@@ -5769,7 +5767,7 @@ const t5 = { class: "nmorph-file-upload__trigger" }, n5 = ["multiple"], a5 = { c
5769
5767
  multiple: l.multiple,
5770
5768
  class: "nmorph-native-input",
5771
5769
  onChange: v
5772
- }, null, 40, n5),
5770
+ }, null, 40, t5),
5773
5771
  S(w.$slots, "trigger", {}, () => [
5774
5772
  H(p(U), {
5775
5773
  text: "Select file",
@@ -5778,8 +5776,8 @@ const t5 = { class: "nmorph-file-upload__trigger" }, n5 = ["multiple"], a5 = { c
5778
5776
  })
5779
5777
  ])
5780
5778
  ]),
5781
- n("div", a5, [
5782
- H(_e, {
5779
+ n("div", n5, [
5780
+ H(me, {
5783
5781
  name: "list",
5784
5782
  tag: "div"
5785
5783
  }, {
@@ -5789,15 +5787,15 @@ const t5 = { class: "nmorph-file-upload__trigger" }, n5 = ["multiple"], a5 = { c
5789
5787
  class: "nmorph-file-upload__file"
5790
5788
  }, [
5791
5789
  H(p(y2), { src: b }, null, 8, ["src"]),
5792
- n("div", l5, [
5790
+ n("div", a5, [
5793
5791
  H(p(P), {
5794
5792
  name: s(g.type),
5795
5793
  width: "14px",
5796
5794
  height: "17px"
5797
5795
  }, null, 8, ["name"]),
5798
- n("span", o5, F(g.name), 1)
5796
+ n("span", l5, F(g.name), 1)
5799
5797
  ]),
5800
- n("div", r5, [
5798
+ n("div", o5, [
5801
5799
  H(p(U), {
5802
5800
  height: "thin",
5803
5801
  "style-type": "transparent",
@@ -5818,13 +5816,13 @@ const t5 = { class: "nmorph-file-upload__trigger" }, n5 = ["multiple"], a5 = { c
5818
5816
  }
5819
5817
  });
5820
5818
  var He = /* @__PURE__ */ ((t) => (t.jpeg = "image/jpeg", t.jpg = "image/jpg", t.png = "image/png", t.gif = "image/gif", t["svg-xml"] = "image/svg+xml", t.webp = "image/webp", t))(He || {}), ze = /* @__PURE__ */ ((t) => (t.mp4 = "video/mp4", t.webm = "video/webm", t["wideo-ogg"] = "video/ogg", t))(ze || {}), Ve = /* @__PURE__ */ ((t) => (t.mpeg = "audio/mpeg", t["audio-ogg"] = "audio/ogg", t.wav = "audio/wav", t))(Ve || {}), je = /* @__PURE__ */ ((t) => (t.pdf = "application/pdf", t.msword = "application/msword", t.docx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", t.xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", t.pptx = "application/vnd.openxmlformats-officedocument.presentationml.presentation", t.json = "application/json", t.xml = "application/xml", t))(je || {}), Be = /* @__PURE__ */ ((t) => (t.zip = "application/zip", t.rar = "application/x-rar-compressed", t["7z"] = "application/x-7z-compressed", t))(Be || {});
5821
- const i5 = {
5819
+ const s5 = {
5822
5820
  ...He,
5823
5821
  ...ze,
5824
5822
  ...Ve,
5825
5823
  ...je,
5826
5824
  ...Be
5827
- }, d5 = { class: "nmorph-form__content" }, u5 = /* @__PURE__ */ D({
5825
+ }, i5 = { class: "nmorph-form__content" }, d5 = /* @__PURE__ */ D({
5828
5826
  __name: "NmorphForm",
5829
5827
  props: {
5830
5828
  value: {},
@@ -5836,18 +5834,18 @@ const i5 = {
5836
5834
  () => A({
5837
5835
  "nmorph-form": []
5838
5836
  })
5839
- ), s = ju(l.value, l.validateImmediately), d = e;
5837
+ ), s = Fu(l.value, l.validateImmediately), d = e;
5840
5838
  return Z(() => {
5841
5839
  d("formValidator", s);
5842
5840
  }), N("form-data", s), (c, u) => (a(), o("form", {
5843
5841
  class: B(r.value)
5844
5842
  }, [
5845
- n("div", d5, [
5843
+ n("div", i5, [
5846
5844
  S(c.$slots, "default")
5847
5845
  ])
5848
5846
  ], 2));
5849
5847
  }
5850
- }), c5 = /* @__PURE__ */ D({
5848
+ }), u5 = /* @__PURE__ */ D({
5851
5849
  __name: "NmorphErrorBox",
5852
5850
  props: {
5853
5851
  height: { default: "default" },
@@ -5864,7 +5862,7 @@ const i5 = {
5864
5862
  return (s, d) => (a(), o("div", {
5865
5863
  class: B(r.value)
5866
5864
  }, [
5867
- H(_e, {
5865
+ H(me, {
5868
5866
  name: "list",
5869
5867
  tag: "div"
5870
5868
  }, {
@@ -5879,7 +5877,7 @@ const i5 = {
5879
5877
  ], 2));
5880
5878
  }
5881
5879
  });
5882
- const Ae = "18px", v5 = /* @__PURE__ */ D({
5880
+ const Ae = "18px", c5 = /* @__PURE__ */ D({
5883
5881
  __name: "NmorphValidationIcon",
5884
5882
  props: {
5885
5883
  valid: { type: [Boolean, Object] },
@@ -5907,7 +5905,7 @@ const Ae = "18px", v5 = /* @__PURE__ */ D({
5907
5905
  ], 2));
5908
5906
  }
5909
5907
  });
5910
- const h5 = { key: 0 }, p5 = { class: "nmorph-form-item__content" }, m5 = /* @__PURE__ */ D({
5908
+ const v5 = { key: 0 }, h5 = { class: "nmorph-form-item__content" }, p5 = /* @__PURE__ */ D({
5911
5909
  __name: "NmorphFormItem",
5912
5910
  props: {
5913
5911
  id: {},
@@ -5931,15 +5929,15 @@ const h5 = { key: 0 }, p5 = { class: "nmorph-form-item__content" }, m5 = /* @__P
5931
5929
  return (v, m) => (a(), o("div", {
5932
5930
  class: B(u.value)
5933
5931
  }, [
5934
- e.label ? (a(), o("label", h5, F(e.label), 1)) : O("", !0),
5935
- n("div", p5, [
5932
+ e.label ? (a(), o("label", v5, F(e.label), 1)) : O("", !0),
5933
+ n("div", h5, [
5936
5934
  S(v.$slots, "default"),
5937
- H(p(v5), {
5935
+ H(p(c5), {
5938
5936
  valid: !!r.value?.valid,
5939
5937
  show: d.value
5940
5938
  }, null, 8, ["valid", "show"])
5941
5939
  ]),
5942
- H(p(c5), {
5940
+ H(p(u5), {
5943
5941
  errors: r.value?.errors,
5944
5942
  height: e.height,
5945
5943
  "static-height": v.staticErrorBoxSpace
@@ -5947,16 +5945,16 @@ const h5 = { key: 0 }, p5 = { class: "nmorph-form-item__content" }, m5 = /* @__P
5947
5945
  ], 2));
5948
5946
  }
5949
5947
  });
5950
- const _5 = { class: "nmorph-number-input__content" }, f5 = { class: "nmorph-number-input__input-content" }, g5 = {
5948
+ const m5 = { class: "nmorph-number-input__content" }, _5 = { class: "nmorph-number-input__input-content" }, f5 = {
5951
5949
  key: 0,
5952
5950
  class: "nmorph-number-input__decrease"
5953
- }, w5 = ["value", "min", "max"], x5 = {
5951
+ }, g5 = ["value", "min", "max"], w5 = {
5954
5952
  key: 1,
5955
5953
  class: "nmorph-number-input__increase"
5956
- }, $5 = {
5954
+ }, x5 = {
5957
5955
  key: 2,
5958
5956
  class: "nmorph-number-input__action-btns"
5959
- }, y5 = { class: "nmorph-number-input__decrease" }, b5 = { class: "nmorph-number-input__increase" }, M5 = /* @__PURE__ */ D({
5957
+ }, $5 = { class: "nmorph-number-input__decrease" }, y5 = { class: "nmorph-number-input__increase" }, b5 = /* @__PURE__ */ D({
5960
5958
  __name: "NmorphNumberInput",
5961
5959
  props: {
5962
5960
  modelValue: { default: 0 },
@@ -6015,9 +6013,9 @@ const _5 = { class: "nmorph-number-input__content" }, f5 = { class: "nmorph-numb
6015
6013
  return (g, b) => (a(), o("div", {
6016
6014
  class: B(r.value)
6017
6015
  }, [
6018
- n("div", _5, [
6019
- n("div", f5, [
6020
- g.actionBtnPositionRight ? O("", !0) : (a(), o("div", g5, [
6016
+ n("div", m5, [
6017
+ n("div", _5, [
6018
+ g.actionBtnPositionRight ? O("", !0) : (a(), o("div", f5, [
6021
6019
  H(p(U), {
6022
6020
  "style-type": "transparent",
6023
6021
  disabled: u.value,
@@ -6043,9 +6041,9 @@ const _5 = { class: "nmorph-number-input__content" }, f5 = { class: "nmorph-numb
6043
6041
  min: l.min,
6044
6042
  max: l.max,
6045
6043
  onInput: w
6046
- }, null, 40, w5),
6047
- g.actionBtnPositionRight ? (a(), o("div", $5, [
6048
- n("div", y5, [
6044
+ }, null, 40, g5),
6045
+ g.actionBtnPositionRight ? (a(), o("div", x5, [
6046
+ n("div", $5, [
6049
6047
  H(p(U), {
6050
6048
  "style-type": "transparent",
6051
6049
  disabled: u.value,
@@ -6061,7 +6059,7 @@ const _5 = { class: "nmorph-number-input__content" }, f5 = { class: "nmorph-numb
6061
6059
  _: 1
6062
6060
  }, 8, ["disabled"])
6063
6061
  ]),
6064
- n("div", b5, [
6062
+ n("div", y5, [
6065
6063
  H(p(U), {
6066
6064
  "style-type": "transparent",
6067
6065
  disabled: v.value,
@@ -6077,7 +6075,7 @@ const _5 = { class: "nmorph-number-input__content" }, f5 = { class: "nmorph-numb
6077
6075
  _: 1
6078
6076
  }, 8, ["disabled"])
6079
6077
  ])
6080
- ])) : (a(), o("div", x5, [
6078
+ ])) : (a(), o("div", w5, [
6081
6079
  H(p(U), {
6082
6080
  "style-type": "transparent",
6083
6081
  disabled: v.value,
@@ -6099,16 +6097,16 @@ const _5 = { class: "nmorph-number-input__content" }, f5 = { class: "nmorph-numb
6099
6097
  ], 2));
6100
6098
  }
6101
6099
  });
6102
- const k5 = { class: "nmorph-select__content" }, H5 = {
6100
+ const M5 = { class: "nmorph-select__content" }, k5 = {
6103
6101
  key: 0,
6104
6102
  class: "nmorph-select__selected-value"
6105
- }, z5 = {
6103
+ }, H5 = {
6106
6104
  key: 1,
6107
6105
  class: "nmorph-select__selected-value"
6108
- }, V5 = {
6106
+ }, z5 = {
6109
6107
  key: 2,
6110
6108
  class: "nmorph-select__selected-value"
6111
- }, B5 = /* @__PURE__ */ D({
6109
+ }, V5 = /* @__PURE__ */ D({
6112
6110
  __name: "NmorphSelect",
6113
6111
  props: {
6114
6112
  noElementPlaceholder: { default: "Choose value" },
@@ -6165,15 +6163,15 @@ const k5 = { class: "nmorph-select__content" }, H5 = {
6165
6163
  return (_, z) => (a(), o("div", {
6166
6164
  class: B(x.value)
6167
6165
  }, [
6168
- n("div", k5, [
6166
+ n("div", M5, [
6169
6167
  n("div", {
6170
6168
  ref_key: "nmorphSelectDOMRef",
6171
6169
  ref: b,
6172
6170
  class: "nmorph-select__selected-values-line",
6173
6171
  onClick: re(M, ["stop"])
6174
6172
  }, [
6175
- typeof s.value == "string" ? (a(), o("div", H5, F(w.value), 1)) : O("", !0),
6176
- s.value.length <= 0 ? (a(), o("div", z5, F(l.noElementPlaceholder), 1)) : (a(), o("div", V5, [
6173
+ typeof s.value == "string" ? (a(), o("div", k5, F(w.value), 1)) : O("", !0),
6174
+ s.value.length <= 0 ? (a(), o("div", H5, F(l.noElementPlaceholder), 1)) : (a(), o("div", z5, [
6177
6175
  (a(!0), o(G, null, Q(g.value, (V) => (a(), E(p(qe), de({
6178
6176
  key: V.value,
6179
6177
  ref_for: !0
@@ -6216,7 +6214,7 @@ const k5 = { class: "nmorph-select__content" }, H5 = {
6216
6214
  ], 2));
6217
6215
  }
6218
6216
  });
6219
- const C5 = { class: "nmorph-select-option__content" }, O2 = /* @__PURE__ */ D({
6217
+ const B5 = { class: "nmorph-select-option__content" }, O2 = /* @__PURE__ */ D({
6220
6218
  __name: "NmorphSelectOption",
6221
6219
  props: {
6222
6220
  value: {},
@@ -6242,7 +6240,7 @@ const C5 = { class: "nmorph-select-option__content" }, O2 = /* @__PURE__ */ D({
6242
6240
  class: B(v.value),
6243
6241
  onClick: c
6244
6242
  }, [
6245
- n("div", C5, [
6243
+ n("div", B5, [
6246
6244
  n("span", null, F(s.label), 1),
6247
6245
  S(m.$slots, "default")
6248
6246
  ]),
@@ -6254,7 +6252,7 @@ const C5 = { class: "nmorph-select-option__content" }, O2 = /* @__PURE__ */ D({
6254
6252
  ], 2));
6255
6253
  }
6256
6254
  });
6257
- const S5 = { class: "nmorph-slider__content" }, A5 = { class: "nmorph-slider__input-wrapper" }, D5 = ["value", "min", "max", "step"], t2 = 40, T5 = /* @__PURE__ */ D({
6255
+ const C5 = { class: "nmorph-slider__content" }, S5 = { class: "nmorph-slider__input-wrapper" }, A5 = ["value", "min", "max", "step"], t2 = 40, D5 = /* @__PURE__ */ D({
6258
6256
  __name: "NmorphSlider",
6259
6257
  props: {
6260
6258
  modelValue: { default: 0 },
@@ -6324,8 +6322,8 @@ const S5 = { class: "nmorph-slider__content" }, A5 = { class: "nmorph-slider__in
6324
6322
  return (C, k) => (a(), o("div", {
6325
6323
  class: B(r.value)
6326
6324
  }, [
6327
- n("div", S5, [
6328
- n("div", A5, [
6325
+ n("div", C5, [
6326
+ n("div", S5, [
6329
6327
  n("div", {
6330
6328
  ref_key: "sliderContainer",
6331
6329
  ref: v,
@@ -6355,14 +6353,14 @@ const S5 = { class: "nmorph-slider__content" }, A5 = { class: "nmorph-slider__in
6355
6353
  max: l.max,
6356
6354
  step: l.step,
6357
6355
  onInput: V
6358
- }, null, 40, D5)
6356
+ }, null, 40, A5)
6359
6357
  ], 512)
6360
6358
  ])
6361
6359
  ])
6362
6360
  ], 2));
6363
6361
  }
6364
6362
  });
6365
- const O5 = ["value", "disabled"], P5 = { class: "nmorph-switch-thumb" }, E5 = /* @__PURE__ */ D({
6363
+ const T5 = ["value", "disabled"], O5 = { class: "nmorph-switch-thumb" }, P5 = /* @__PURE__ */ D({
6366
6364
  __name: "NmorphSwitch",
6367
6365
  props: {
6368
6366
  modelValue: { type: [Boolean, String, Number], default: !1 },
@@ -6410,13 +6408,13 @@ const O5 = ["value", "disabled"], P5 = { class: "nmorph-switch-thumb" }, E5 = /*
6410
6408
  value: d.value,
6411
6409
  disabled: l.disabled,
6412
6410
  class: "nmorph-native-input"
6413
- }, null, 8, O5),
6411
+ }, null, 8, T5),
6414
6412
  n("div", {
6415
6413
  class: B(["nmorph-switch__bg-content", { "nmorph-switch__bg-content--enable": d.value }])
6416
6414
  }, [
6417
6415
  d.value ? S(v.$slots, "bg-on", { key: 0 }) : S(v.$slots, "bg-off", { key: 1 })
6418
6416
  ], 2),
6419
- n("div", P5, [
6417
+ n("div", O5, [
6420
6418
  l.loading ? (a(), E(p(P), {
6421
6419
  key: 0,
6422
6420
  name: "loader",
@@ -6428,10 +6426,10 @@ const O5 = ["value", "disabled"], P5 = { class: "nmorph-switch-thumb" }, E5 = /*
6428
6426
  ], 2));
6429
6427
  }
6430
6428
  });
6431
- const q5 = { class: "nmorph-text-input__input-side" }, R5 = {
6429
+ const E5 = { class: "nmorph-text-input__input-side" }, q5 = {
6432
6430
  key: 0,
6433
6431
  class: "nmorph-text-input__prepend-icon"
6434
- }, F5 = ["type", "placeholder", "disabled", "value"], P2 = /* @__PURE__ */ D({
6432
+ }, R5 = ["type", "placeholder", "disabled", "value"], P2 = /* @__PURE__ */ D({
6435
6433
  __name: "NmorphTextInput",
6436
6434
  props: {
6437
6435
  placeholder: { default: "" },
@@ -6469,8 +6467,8 @@ const q5 = { class: "nmorph-text-input__input-side" }, R5 = {
6469
6467
  return (b, _) => (a(), o("div", {
6470
6468
  class: B(s.value)
6471
6469
  }, [
6472
- n("div", q5, [
6473
- p(l)["prepend-icon"] ? (a(), o("div", R5, [
6470
+ n("div", E5, [
6471
+ p(l)["prepend-icon"] ? (a(), o("div", q5, [
6474
6472
  S(b.$slots, "prepend-icon")
6475
6473
  ])) : O("", !0),
6476
6474
  n("input", {
@@ -6485,7 +6483,7 @@ const q5 = { class: "nmorph-text-input__input-side" }, R5 = {
6485
6483
  onFocus: x,
6486
6484
  onBlur: M,
6487
6485
  onKeyup: _[0] || (_[0] = U2((z) => w("on-enter"), ["enter"]))
6488
- }, null, 40, F5),
6486
+ }, null, 40, R5),
6489
6487
  r.typePassword || r.clearable ? (a(), E(p(U), {
6490
6488
  key: 1,
6491
6489
  class: "nmorph-text-input__password-btn",
@@ -6503,7 +6501,7 @@ const q5 = { class: "nmorph-text-input__input-side" }, R5 = {
6503
6501
  ], 2));
6504
6502
  }
6505
6503
  });
6506
- const j5 = { class: "nmorph-time-picker__content" }, W5 = { class: "nmorph-time-picker__selected-time" }, L5 = ["value"], U5 = { class: "nmorph-time-picker__dropdown" }, $e = 20, Y5 = /* @__PURE__ */ D({
6504
+ const F5 = { class: "nmorph-time-picker__content" }, j5 = { class: "nmorph-time-picker__selected-time" }, W5 = ["value"], L5 = { class: "nmorph-time-picker__dropdown" }, $e = 20, U5 = /* @__PURE__ */ D({
6507
6505
  __name: "NmorphTimePicker",
6508
6506
  props: {
6509
6507
  modelValue: { default: 0 },
@@ -6562,8 +6560,8 @@ const j5 = { class: "nmorph-time-picker__content" }, W5 = { class: "nmorph-time-
6562
6560
  class: B(x.value),
6563
6561
  onClick: m
6564
6562
  }, [
6565
- n("div", j5, [
6566
- n("div", W5, [
6563
+ n("div", F5, [
6564
+ n("div", j5, [
6567
6565
  H(p(P), {
6568
6566
  name: "time",
6569
6567
  class: "nmorph-time-picker__time-icon"
@@ -6575,7 +6573,7 @@ const j5 = { class: "nmorph-time-picker__content" }, W5 = { class: "nmorph-time-
6575
6573
  value: u.value,
6576
6574
  step: "1",
6577
6575
  class: "nmorph-native-input"
6578
- }, null, 8, L5),
6576
+ }, null, 8, W5),
6579
6577
  n("span", null, F(j.value), 1)
6580
6578
  ]),
6581
6579
  s.value ? (a(), E(p(ce), {
@@ -6585,7 +6583,7 @@ const j5 = { class: "nmorph-time-picker__content" }, W5 = { class: "nmorph-time-
6585
6583
  onOnOutsideClick: _
6586
6584
  }, {
6587
6585
  default: q(() => [
6588
- n("div", U5, [
6586
+ n("div", L5, [
6589
6587
  H(W, {
6590
6588
  "set-value-on-mount": !v.value,
6591
6589
  values: p(M),
@@ -6625,25 +6623,25 @@ const Pe = (t) => {
6625
6623
  }, E2 = (t) => {
6626
6624
  const [e, l, r] = t, s = /* @__PURE__ */ new Date();
6627
6625
  return s.setHours(e), s.setMinutes(l), s.setSeconds(r), s.setMilliseconds(0), s.getTime();
6628
- }, G5 = {
6626
+ }, Y5 = {
6629
6627
  key: 0,
6630
6628
  class: "nmorph-radio__content"
6631
- }, Q5 = { class: "nmorph-radio__input-wrapper" }, K5 = ["name", "value", "checked"], Z5 = {
6629
+ }, G5 = { class: "nmorph-radio__input-wrapper" }, Q5 = ["name", "value", "checked"], K5 = {
6632
6630
  key: 0,
6633
6631
  class: "nmorph-radio__fake-checked"
6634
- }, X5 = {
6632
+ }, Z5 = {
6635
6633
  key: 0,
6636
6634
  class: "nmorph-radio__label"
6637
- }, J5 = {
6635
+ }, X5 = {
6638
6636
  key: 1,
6639
6637
  class: "nmorph-radio__content"
6640
- }, N5 = ["disabled", "name", "value", "checked"], I5 = {
6638
+ }, J5 = ["disabled", "name", "value", "checked"], N5 = {
6641
6639
  key: 0,
6642
6640
  class: "nmorph-radio__fake"
6643
- }, e9 = {
6641
+ }, I5 = {
6644
6642
  key: 1,
6645
6643
  class: "nmorph-radio__fake"
6646
- }, t9 = /* @__PURE__ */ D({
6644
+ }, e9 = /* @__PURE__ */ D({
6647
6645
  __name: "NmorphRadio",
6648
6646
  props: {
6649
6647
  styleType: { default: "button" },
@@ -6669,8 +6667,8 @@ const Pe = (t) => {
6669
6667
  class: B(u.value),
6670
6668
  onClick: re(d, ["prevent"])
6671
6669
  }, [
6672
- s.styleType === "radio-style" ? (a(), o("div", G5, [
6673
- n("div", Q5, [
6670
+ s.styleType === "radio-style" ? (a(), o("div", Y5, [
6671
+ n("div", G5, [
6674
6672
  n("input", {
6675
6673
  ref_key: "inputDOMRef",
6676
6674
  ref: m,
@@ -6679,13 +6677,13 @@ const Pe = (t) => {
6679
6677
  value: s.value,
6680
6678
  checked: c.value,
6681
6679
  class: "nmorph-native-input"
6682
- }, null, 8, K5),
6680
+ }, null, 8, Q5),
6683
6681
  M[0] || (M[0] = n("div", { class: "nmorph-radio__fake" }, null, -1)),
6684
- c.value ? (a(), o("div", Z5)) : O("", !0)
6682
+ c.value ? (a(), o("div", K5)) : O("", !0)
6685
6683
  ]),
6686
- s.label ? (a(), o("span", X5, F(s.label), 1)) : S(x.$slots, "label", { key: 1 }, void 0, !0)
6684
+ s.label ? (a(), o("span", Z5, F(s.label), 1)) : S(x.$slots, "label", { key: 1 }, void 0, !0)
6687
6685
  ])) : O("", !0),
6688
- s.styleType === "button" ? (a(), o("div", J5, [
6686
+ s.styleType === "button" ? (a(), o("div", X5, [
6689
6687
  n("input", {
6690
6688
  ref_key: "inputDOMRef",
6691
6689
  ref: m,
@@ -6695,19 +6693,19 @@ const Pe = (t) => {
6695
6693
  value: s.value,
6696
6694
  checked: c.value,
6697
6695
  class: "nmorph-native-input"
6698
- }, null, 8, N5),
6699
- s.label ? (a(), o("div", I5, [
6696
+ }, null, 8, J5),
6697
+ s.label ? (a(), o("div", N5, [
6700
6698
  n("span", null, F(s.label), 1)
6701
- ])) : (a(), o("div", e9, [
6699
+ ])) : (a(), o("div", I5, [
6702
6700
  S(x.$slots, "label", {}, void 0, !0)
6703
6701
  ]))
6704
6702
  ])) : O("", !0)
6705
6703
  ], 2));
6706
6704
  }
6707
6705
  });
6708
- const We = /* @__PURE__ */ ve(t9, [["__scopeId", "data-v-e9167d49"]]);
6706
+ const We = /* @__PURE__ */ fe(e9, [["__scopeId", "data-v-e9167d49"]]);
6709
6707
  var q2 = /* @__PURE__ */ ((t) => (t["radio-style"] = "radio-style", t.button = "button", t))(q2 || {});
6710
- const n9 = { class: "nmorph-radio-group__wrapper" }, a9 = { class: "nmorph-radio-group__content" }, Le = /* @__PURE__ */ D({
6708
+ const t9 = { class: "nmorph-radio-group__wrapper" }, n9 = { class: "nmorph-radio-group__content" }, Le = /* @__PURE__ */ D({
6711
6709
  __name: "NmorphRadioGroup",
6712
6710
  props: {
6713
6711
  modelValue: { default: "" },
@@ -6735,8 +6733,8 @@ const n9 = { class: "nmorph-radio-group__wrapper" }, a9 = { class: "nmorph-radio
6735
6733
  return N("radio-group-selected-value", r), N("change-radio-button-value-handler", d), (u, v) => (a(), o("div", {
6736
6734
  class: B(c.value)
6737
6735
  }, [
6738
- n("div", n9, [
6739
- n("div", a9, [
6736
+ n("div", t9, [
6737
+ n("div", n9, [
6740
6738
  (a(!0), o(G, null, Q(u.options, (m) => (a(), E(p(We), {
6741
6739
  key: m.value,
6742
6740
  label: m.label,
@@ -6750,7 +6748,7 @@ const n9 = { class: "nmorph-radio-group__wrapper" }, a9 = { class: "nmorph-radio
6750
6748
  ], 2));
6751
6749
  }
6752
6750
  });
6753
- const l9 = /* @__PURE__ */ D({
6751
+ const a9 = /* @__PURE__ */ D({
6754
6752
  __name: "NmorphBacktop",
6755
6753
  props: {
6756
6754
  right: { default: 40 },
@@ -6806,16 +6804,16 @@ const l9 = /* @__PURE__ */ D({
6806
6804
  ], 2));
6807
6805
  }
6808
6806
  });
6809
- const o9 = ["id"], r9 = {
6807
+ const l9 = ["id"], o9 = {
6810
6808
  key: 0,
6811
6809
  class: "nmorph-breadcrumb__separator"
6812
- }, s9 = /* @__PURE__ */ D({
6810
+ }, r9 = /* @__PURE__ */ D({
6813
6811
  __name: "NmorphBreadcrumb",
6814
6812
  props: {
6815
6813
  separator: { default: "/" }
6816
6814
  },
6817
6815
  setup(t) {
6818
- const e = t, l = y([]), r = fe();
6816
+ const e = t, l = y([]), r = _e();
6819
6817
  N("breadcrumb-data", { breadcrumbs: l, breadcrumbId: r });
6820
6818
  const s = h(
6821
6819
  () => A({
@@ -6833,13 +6831,13 @@ const o9 = ["id"], r9 = {
6833
6831
  n("div", {
6834
6832
  id: `nmorph-breadcrumb-${p(r)}-${u.itemId}-element`,
6835
6833
  class: "nmorph-breadcrumb__element"
6836
- }, null, 8, o9),
6837
- v < l.value.length - 1 ? (a(), o("div", r9, F(e.separator), 1)) : O("", !0)
6834
+ }, null, 8, l9),
6835
+ v < l.value.length - 1 ? (a(), o("div", o9, F(e.separator), 1)) : O("", !0)
6838
6836
  ]))), 128))
6839
6837
  ], 2));
6840
6838
  }
6841
6839
  });
6842
- const i9 = /* @__PURE__ */ D({
6840
+ const s9 = /* @__PURE__ */ D({
6843
6841
  __name: "NmorphBreadcrumbItem",
6844
6842
  props: {
6845
6843
  to: { default: "" },
@@ -6850,7 +6848,7 @@ const i9 = /* @__PURE__ */ D({
6850
6848
  () => A({
6851
6849
  "nmorph-breadcrumb-item": []
6852
6850
  })
6853
- ), r = X("breadcrumb-data", void 0), s = y(!1), d = fe();
6851
+ ), r = X("breadcrumb-data", void 0), s = y(!1), d = _e();
6854
6852
  return Z(() => {
6855
6853
  s.value = !0, r && r.breadcrumbs.value.push({ ...e, itemId: d });
6856
6854
  }), (c, u) => {
@@ -6859,7 +6857,7 @@ const i9 = /* @__PURE__ */ D({
6859
6857
  key: 0,
6860
6858
  class: B(l.value)
6861
6859
  }, [
6862
- (a(), E(me, {
6860
+ (a(), E(pe, {
6863
6861
  to: `#nmorph-breadcrumb-${p(r)?.breadcrumbId}-${p(d)}-element`
6864
6862
  }, [
6865
6863
  H(v, {
@@ -6924,7 +6922,7 @@ const ce = /* @__PURE__ */ D({
6924
6922
  }, 8, ["show"]));
6925
6923
  }
6926
6924
  });
6927
- const d9 = { class: "nmorph-tabs__label-list" }, u9 = ["id", "onClick"], c9 = { class: "nmorph-tabs__content__wrapper" }, v9 = { class: "nmorph-tabs__content" }, h9 = ["id"], p9 = /* @__PURE__ */ D({
6925
+ const i9 = { class: "nmorph-tabs__label-list" }, d9 = ["id", "onClick"], u9 = { class: "nmorph-tabs__content__wrapper" }, c9 = { class: "nmorph-tabs__content" }, v9 = ["id"], h9 = /* @__PURE__ */ D({
6928
6926
  __name: "NmorphTabs",
6929
6927
  props: {
6930
6928
  modelValue: { default: 0 },
@@ -6941,7 +6939,7 @@ const d9 = { class: "nmorph-tabs__label-list" }, u9 = ["id", "onClick"], c9 = {
6941
6939
  return;
6942
6940
  const { name: m } = v;
6943
6941
  r("update:model-value", m), r("tab-change", m);
6944
- }, c = y([]), u = fe();
6942
+ }, c = y([]), u = _e();
6945
6943
  return N("nmorph-tabs-data", {
6946
6944
  tabsData: c,
6947
6945
  tabsIdentifier: u
@@ -6949,7 +6947,7 @@ const d9 = { class: "nmorph-tabs__label-list" }, u9 = ["id", "onClick"], c9 = {
6949
6947
  class: B(s.value)
6950
6948
  }, [
6951
6949
  S(v.$slots, "default"),
6952
- n("div", d9, [
6950
+ n("div", i9, [
6953
6951
  (a(!0), o(G, null, Q(c.value, (x) => (a(), o("div", {
6954
6952
  id: p(Ue)(p(u), x.name),
6955
6953
  key: x.name,
@@ -6958,14 +6956,14 @@ const d9 = { class: "nmorph-tabs__label-list" }, u9 = ["id", "onClick"], c9 = {
6958
6956
  { "nmorph-tabs__label--disabled": x.disabled }
6959
6957
  ]]),
6960
6958
  onClick: (M) => d(x)
6961
- }, F(x.label), 11, u9))), 128))
6959
+ }, F(x.label), 11, d9))), 128))
6962
6960
  ]),
6963
- n("div", c9, [
6964
- n("div", v9, [
6961
+ n("div", u9, [
6962
+ n("div", c9, [
6965
6963
  (a(!0), o(G, null, Q(c.value, (x) => De((a(), o("div", {
6966
6964
  id: p(Ye)(p(u), x.name),
6967
6965
  key: x.name
6968
- }, null, 8, h9)), [
6966
+ }, null, 8, v9)), [
6969
6967
  [Te, x.name === l.modelValue]
6970
6968
  ])), 128))
6971
6969
  ])
@@ -6979,7 +6977,7 @@ const Ue = (t, e) => {
6979
6977
  }, Ye = (t, e) => {
6980
6978
  if (t)
6981
6979
  return `nmorph-tabs-content-${t}-${e}`;
6982
- }, m9 = /* @__PURE__ */ D({
6980
+ }, p9 = /* @__PURE__ */ D({
6983
6981
  __name: "NmorphTabPane",
6984
6982
  props: {
6985
6983
  label: { default: "" },
@@ -6998,12 +6996,12 @@ const Ue = (t, e) => {
6998
6996
  key: 0,
6999
6997
  class: B(l.value)
7000
6998
  }, [
7001
- (a(), E(me, {
6999
+ (a(), E(pe, {
7002
7000
  to: `#${p(Ue)(p(r)?.tabsIdentifier, e.name)}`
7003
7001
  }, [
7004
7002
  S(d.$slots, "label")
7005
7003
  ], 8, ["to"])),
7006
- (a(), E(me, {
7004
+ (a(), E(pe, {
7007
7005
  to: `#${p(Ye)(p(r)?.tabsIdentifier, e.name)}`
7008
7006
  }, [
7009
7007
  S(d.$slots, "default")
@@ -7060,7 +7058,7 @@ const Ce = /* @__PURE__ */ D({
7060
7058
  ], 2));
7061
7059
  }
7062
7060
  });
7063
- const _9 = /* @__PURE__ */ D({
7061
+ const m9 = /* @__PURE__ */ D({
7064
7062
  __name: "NmorphNotificationProvider",
7065
7063
  props: {
7066
7064
  notifications: {},
@@ -7079,7 +7077,7 @@ const _9 = /* @__PURE__ */ D({
7079
7077
  class: B(`nmorph-notification-provider nmorph-notification-provider--${d.placement}`),
7080
7078
  style: I({ zIndex: c.value })
7081
7079
  }, [
7082
- H(_e, {
7080
+ H(me, {
7083
7081
  name: "nmorph-notification",
7084
7082
  tag: "div"
7085
7083
  }, {
@@ -7099,20 +7097,20 @@ const _9 = /* @__PURE__ */ D({
7099
7097
  ], 6));
7100
7098
  }
7101
7099
  });
7102
- const f9 = /* @__PURE__ */ ve(_9, [["__scopeId", "data-v-77d1992c"]]);
7100
+ const _9 = /* @__PURE__ */ fe(m9, [["__scopeId", "data-v-0225f236"]]);
7103
7101
  var F2 = /* @__PURE__ */ ((t) => (t["top-left"] = "top-left", t["top-center"] = "top-center", t["top-right"] = "top-right", t["bottom-left"] = "bottom-left", t["bottom-center"] = "bottom-center", t["bottom-right"] = "bottom-right", t))(F2 || {});
7104
- const g9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7102
+ const f9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7105
7103
  __proto__: null,
7106
7104
  NmorphAlert: V2,
7107
7105
  NmorphAlertType: ie,
7108
7106
  NmorphArchiveResolution: Be,
7109
7107
  NmorphAudioResolution: Ve,
7110
- NmorphAutocomplete: Pc,
7108
+ NmorphAutocomplete: Oc,
7111
7109
  NmorphAvatar: $d,
7112
- NmorphBacktop: l9,
7110
+ NmorphBacktop: a9,
7113
7111
  NmorphBadge: Md,
7114
- NmorphBreadcrumb: s9,
7115
- NmorphBreadcrumbItem: i9,
7112
+ NmorphBreadcrumb: r9,
7113
+ NmorphBreadcrumbItem: s9,
7116
7114
  NmorphButton: U,
7117
7115
  NmorphButtonShape: d2,
7118
7116
  NmorphButtonStyle: s2,
@@ -7123,19 +7121,19 @@ const g9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7123
7121
  NmorphCarousel: Rd,
7124
7122
  NmorphCarouselItem: Fd,
7125
7123
  NmorphCheckbox: A2,
7126
- NmorphCheckboxGroup: Sc,
7124
+ NmorphCheckboxGroup: Cc,
7127
7125
  NmorphCollapse: jd,
7128
7126
  NmorphCollapseItem: Wd,
7129
- NmorphDatePicker: Kc,
7127
+ NmorphDatePicker: Qc,
7130
7128
  NmorphDatePickerContent: ye,
7131
7129
  NmorphDatePickerHeader: T2,
7132
- NmorphDialog: Eu,
7130
+ NmorphDialog: Pu,
7133
7131
  NmorphDivider: R2,
7134
7132
  NmorphDocResolution: je,
7135
7133
  NmorphDropdown: ce,
7136
- NmorphFileUpload: s5,
7137
- NmorphForm: u5,
7138
- NmorphFormItem: m5,
7134
+ NmorphFileUpload: r5,
7135
+ NmorphForm: d5,
7136
+ NmorphFormItem: p5,
7139
7137
  NmorphIcon: P,
7140
7138
  NmorphIconSize: u2,
7141
7139
  NmorphIconsMap: c2,
@@ -7145,8 +7143,8 @@ const g9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7145
7143
  NmorphLink: gd,
7146
7144
  NmorphLinkTarget: v2,
7147
7145
  NmorphNotificationPlacement: F2,
7148
- NmorphNotificationProvider: f9,
7149
- NmorphNumberInput: M5,
7146
+ NmorphNotificationProvider: _9,
7147
+ NmorphNumberInput: b5,
7150
7148
  NmorphOverflowProp: h2,
7151
7149
  NmorphOverlay: Ce,
7152
7150
  NmorphPagination: Nd,
@@ -7156,27 +7154,27 @@ const g9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7156
7154
  NmorphRadioStyleType: q2,
7157
7155
  NmorphScroll: wd,
7158
7156
  NmorphScrollBehavior: p2,
7159
- NmorphSelect: B5,
7157
+ NmorphSelect: V5,
7160
7158
  NmorphSelectOption: O2,
7161
7159
  NmorphSelectionDateType: D2,
7162
7160
  NmorphSkeleton: vu,
7163
7161
  NmorphSkeletonItem: M2,
7164
7162
  NmorphSkeletonItemPropsType: b2,
7165
- NmorphSlider: T5,
7166
- NmorphSwitch: E5,
7167
- NmorphTabPane: m9,
7163
+ NmorphSlider: D5,
7164
+ NmorphSwitch: P5,
7165
+ NmorphTabPane: p9,
7168
7166
  NmorphTable: k2,
7169
7167
  NmorphTableCell: H2,
7170
7168
  NmorphTableColumn: z2,
7171
- NmorphTabs: p9,
7169
+ NmorphTabs: h9,
7172
7170
  NmorphTagItem: qe,
7173
7171
  NmorphTagList: Mu,
7174
7172
  NmorphTextInput: P2,
7175
- NmorphTimePicker: Y5,
7173
+ NmorphTimePicker: U5,
7176
7174
  NmorphTooltip: S2,
7177
7175
  NmorphVideoResolution: ze,
7178
7176
  NmorphYearMonthPicker: Oe,
7179
- formatDateIntl: he,
7177
+ formatDateIntl: ve,
7180
7178
  formatTimestampToTime: Pe,
7181
7179
  getDecadeYears: _2,
7182
7180
  getMonthDaysByWeek: x2,
@@ -7187,27 +7185,27 @@ const g9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7187
7185
  hasAnyRangeDateInPrevMonth: f2,
7188
7186
  isTodayInMonthRange: w2,
7189
7187
  resetTimeToZero: oe,
7190
- resolution: i5,
7188
+ resolution: s5,
7191
7189
  timeArrayToTimestamp: E2,
7192
7190
  useCalendarTexts: ke
7193
- }, Symbol.toStringTag, { value: "Module" })), w9 = () => {
7191
+ }, Symbol.toStringTag, { value: "Module" })), g9 = () => {
7194
7192
  const t = y({ width: 0, height: 0 }), e = () => {
7195
7193
  t.value.width = window.innerWidth, t.value.height = window.innerHeight;
7196
7194
  };
7197
7195
  return window && window.addEventListener("resize", e), {
7198
7196
  dimensions: t
7199
7197
  };
7200
- }, D9 = () => X("nmorph"), T9 = {
7198
+ }, A9 = () => X("nmorph"), D9 = {
7201
7199
  install(t, e = {}) {
7202
7200
  if (!e.i18n.outsideMessagesMerge) {
7203
- const d = vc(e.i18n), c = t.__VUE_I18N__;
7201
+ const d = cc(e.i18n), c = t.__VUE_I18N__;
7204
7202
  c ? (d.global.messages && Object.entries(d.global.messages).forEach(([u, v]) => {
7205
7203
  c.global.mergeLocaleMessage(u, v);
7206
7204
  }), d.global.locale && (c.global.locale.value = d.global.locale)) : t.use(d);
7207
7205
  }
7208
- const l = cc(e.theme), r = w9(), s = { theme: l, browser: r };
7209
- return t.provide("nmorph", s), Object.entries(g9).forEach(([d, c]) => {
7210
- if (x9(c))
7206
+ const l = uc(e.theme), r = g9(), s = { theme: l, browser: r };
7207
+ return t.provide("nmorph", s), Object.entries(f9).forEach(([d, c]) => {
7208
+ if (w9(c))
7211
7209
  if (e.components === void 0)
7212
7210
  t.component(d, c);
7213
7211
  else {
@@ -7218,7 +7216,7 @@ const g9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7218
7216
  }), t;
7219
7217
  }
7220
7218
  };
7221
- function x9(t) {
7219
+ function w9(t) {
7222
7220
  return t && (typeof t == "object" || typeof t == "function") && ("render" in t || "template" in t || "setup" in t);
7223
7221
  }
7224
7222
  export {
@@ -7227,15 +7225,15 @@ export {
7227
7225
  V2 as NmorphAlert,
7228
7226
  ie as NmorphAlertType,
7229
7227
  Be as NmorphArchiveResolution,
7230
- qu as NmorphArrayValidationOperator,
7228
+ Eu as NmorphArrayValidationOperator,
7231
7229
  Ve as NmorphAudioResolution,
7232
- Pc as NmorphAutocomplete,
7230
+ Oc as NmorphAutocomplete,
7233
7231
  $d as NmorphAvatar,
7234
- l9 as NmorphBacktop,
7232
+ a9 as NmorphBacktop,
7235
7233
  Md as NmorphBadge,
7236
- Fu as NmorphBooleanCompareOperator,
7237
- s9 as NmorphBreadcrumb,
7238
- i9 as NmorphBreadcrumbItem,
7234
+ Ru as NmorphBooleanCompareOperator,
7235
+ r9 as NmorphBreadcrumb,
7236
+ s9 as NmorphBreadcrumbItem,
7239
7237
  U as NmorphButton,
7240
7238
  d2 as NmorphButtonShape,
7241
7239
  s2 as NmorphButtonStyle,
@@ -7246,23 +7244,23 @@ export {
7246
7244
  Rd as NmorphCarousel,
7247
7245
  Fd as NmorphCarouselItem,
7248
7246
  A2 as NmorphCheckbox,
7249
- Sc as NmorphCheckboxGroup,
7247
+ Cc as NmorphCheckboxGroup,
7250
7248
  jd as NmorphCollapse,
7251
7249
  Wd as NmorphCollapseItem,
7252
7250
  r2 as NmorphColor,
7253
7251
  Z2 as NmorphComponentDirection,
7254
7252
  ne as NmorphComponentHeight,
7255
7253
  X2 as NmorphComponentPosition,
7256
- Kc as NmorphDatePicker,
7254
+ Qc as NmorphDatePicker,
7257
7255
  ye as NmorphDatePickerContent,
7258
7256
  T2 as NmorphDatePickerHeader,
7259
- Eu as NmorphDialog,
7257
+ Pu as NmorphDialog,
7260
7258
  R2 as NmorphDivider,
7261
7259
  je as NmorphDocResolution,
7262
7260
  ce as NmorphDropdown,
7263
- s5 as NmorphFileUpload,
7264
- u5 as NmorphForm,
7265
- m5 as NmorphFormItem,
7261
+ r5 as NmorphFileUpload,
7262
+ d5 as NmorphForm,
7263
+ p5 as NmorphFormItem,
7266
7264
  P as NmorphIcon,
7267
7265
  i as NmorphIconList,
7268
7266
  u2 as NmorphIconSize,
@@ -7274,9 +7272,9 @@ export {
7274
7272
  gd as NmorphLink,
7275
7273
  v2 as NmorphLinkTarget,
7276
7274
  F2 as NmorphNotificationPlacement,
7277
- f9 as NmorphNotificationProvider,
7278
- Ru as NmorphNumberCompareOperator,
7279
- M5 as NmorphNumberInput,
7275
+ _9 as NmorphNotificationProvider,
7276
+ qu as NmorphNumberCompareOperator,
7277
+ b5 as NmorphNumberInput,
7280
7278
  h2 as NmorphOverflowProp,
7281
7279
  Ce as NmorphOverlay,
7282
7280
  Nd as NmorphPagination,
@@ -7286,39 +7284,39 @@ export {
7286
7284
  q2 as NmorphRadioStyleType,
7287
7285
  wd as NmorphScroll,
7288
7286
  p2 as NmorphScrollBehavior,
7289
- B5 as NmorphSelect,
7287
+ V5 as NmorphSelect,
7290
7288
  O2 as NmorphSelectOption,
7291
7289
  D2 as NmorphSelectionDateType,
7292
7290
  o2 as NmorphShadowType,
7293
7291
  vu as NmorphSkeleton,
7294
7292
  M2 as NmorphSkeletonItem,
7295
7293
  b2 as NmorphSkeletonItemPropsType,
7296
- T5 as NmorphSlider,
7294
+ D5 as NmorphSlider,
7297
7295
  K2 as NmorphSortOrder,
7298
- E5 as NmorphSwitch,
7299
- m9 as NmorphTabPane,
7296
+ P5 as NmorphSwitch,
7297
+ p9 as NmorphTabPane,
7300
7298
  k2 as NmorphTable,
7301
7299
  H2 as NmorphTableCell,
7302
7300
  z2 as NmorphTableColumn,
7303
- p9 as NmorphTabs,
7301
+ h9 as NmorphTabs,
7304
7302
  qe as NmorphTagItem,
7305
7303
  Mu as NmorphTagList,
7306
7304
  P2 as NmorphTextInput,
7307
- Y5 as NmorphTimePicker,
7305
+ U5 as NmorphTimePicker,
7308
7306
  S2 as NmorphTooltip,
7309
7307
  ze as NmorphVideoResolution,
7310
7308
  Oe as NmorphYearMonthPicker,
7311
- k9 as anyToPascalCase,
7309
+ M9 as anyToPascalCase,
7312
7310
  Qe as camelToKebab,
7313
- H9 as camelToTitle,
7314
- M9 as capitalizeFirstChar,
7311
+ k9 as camelToTitle,
7312
+ b9 as capitalizeFirstChar,
7315
7313
  N2 as createBlockModifiers,
7316
7314
  Ge as deepClone,
7317
- T9 as default,
7315
+ D9 as default,
7318
7316
  Ie as en,
7319
- he as formatDateIntl,
7317
+ ve as formatDateIntl,
7320
7318
  Pe as formatTimestampToTime,
7321
- fe as generateUUID,
7319
+ _e as generateUUID,
7322
7320
  _2 as getDecadeYears,
7323
7321
  x2 as getMonthDaysByWeek,
7324
7322
  Ee as getMonthName,
@@ -7326,26 +7324,26 @@ export {
7326
7324
  Ue as getTabLabelId,
7327
7325
  g2 as hasAnyRangeDateInNextMonth,
7328
7326
  f2 as hasAnyRangeDateInPrevMonth,
7329
- b9 as isStringHtml,
7327
+ y9 as isStringHtml,
7330
7328
  w2 as isTodayInMonthRange,
7331
7329
  I2 as log,
7332
- z9 as pascalToKebab,
7333
- V9 as pascalToSpace,
7330
+ H9 as pascalToKebab,
7331
+ z9 as pascalToSpace,
7334
7332
  oe as resetTimeToZero,
7335
- i5 as resolution,
7336
- C9 as ru,
7333
+ s5 as resolution,
7334
+ B9 as ru,
7337
7335
  E2 as timeArrayToTimestamp,
7338
- hc as useA11yProps,
7336
+ vc as useA11yProps,
7339
7337
  ke as useCalendarTexts,
7340
- B9 as useEventManager,
7338
+ V9 as useEventManager,
7341
7339
  Je as useFieldValidation,
7342
- ju as useFormValidation,
7340
+ Fu as useFormValidation,
7343
7341
  A as useModifiers,
7344
- D9 as useNmorph,
7345
- w9 as useNmorphBrowser,
7346
- A9 as useNmorphNotification,
7347
- cc as useNmorphTheme,
7348
- vc as useNmorphTranslation,
7342
+ A9 as useNmorph,
7343
+ g9 as useNmorphBrowser,
7344
+ S9 as useNmorphNotification,
7345
+ uc as useNmorphTheme,
7346
+ cc as useNmorphTranslation,
7349
7347
  B2 as usePlacement,
7350
- S9 as zh
7348
+ C9 as zh
7351
7349
  };