sep-yui 0.0.44 → 0.0.46

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.
@@ -68,5 +68,6 @@ export declare enum IconNameEnum {
68
68
  moreHorizontal = "moreHorizontal",
69
69
  fileText = "fileText",
70
70
  gitPullRequest = "gitPullRequest",
71
- folder = "folder"
71
+ folder = "folder",
72
+ crossLarge = "crossLarge"
72
73
  }
@@ -70,3 +70,4 @@ export declare const moreHorizontal: IVectorIcon;
70
70
  export declare const fileText: IVectorIcon;
71
71
  export declare const gitPullRequest: IVectorIcon;
72
72
  export declare const folder: IVectorIcon;
73
+ export declare const crossLarge: IVectorIcon;
@@ -661,6 +661,13 @@ const v9 = {
661
661
  path: `
662
662
  <path d="M14.3333 12.1667C14.3333 12.5203 14.1929 12.8594 13.9428 13.1095C13.6928 13.3595 13.3536 13.5 13 13.5H2.33333C1.97971 13.5 1.64057 13.3595 1.39052 13.1095C1.14048 12.8594 1 12.5203 1 12.1667V2.83333C1 2.47971 1.14048 2.14057 1.39052 1.89052C1.64057 1.64048 1.97971 1.5 2.33333 1.5H5.66667L7 3.5H13C13.3536 3.5 13.6928 3.64048 13.9428 3.89052C14.1929 4.14057 14.3333 4.47971 14.3333 4.83333V12.1667Z" stroke="currentColor" fill="none" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
663
663
  `
664
+ }, R3 = {
665
+ name: "crossLarge",
666
+ style: "line",
667
+ path: `
668
+ <path d="M18 6.62714L6 18.6271" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" fill="none"/>
669
+ <path d="M6 6.62714L18 18.6271" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" fill="none"/>
670
+ `
664
671
  }, I2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
665
672
  __proto__: null,
666
673
  addPlus: G9,
@@ -675,6 +682,7 @@ const v9 = {
675
682
  chevronDown: m9,
676
683
  chevronUp: L9,
677
684
  closeVision: q9,
685
+ crossLarge: R3,
678
686
  dark: S9,
679
687
  document: W9,
680
688
  editing: w3,
@@ -733,7 +741,7 @@ const v9 = {
733
741
  warehouse: d3,
734
742
  wastes: C3,
735
743
  writeDowns: g3
736
- }, Symbol.toStringTag, { value: "Module" })), R3 = ["width", "height", "viewBox"], E3 = ["innerHTML"], y1 = /* @__PURE__ */ Q1({
744
+ }, Symbol.toStringTag, { value: "Module" })), E3 = ["width", "height", "viewBox"], P3 = ["innerHTML"], y1 = /* @__PURE__ */ Q1({
737
745
  __name: "Icon",
738
746
  props: {
739
747
  height: { default: 24 },
@@ -755,19 +763,19 @@ const v9 = {
755
763
  style: Vt(h.color),
756
764
  viewBox: ((_ = t1(I2)[h.name]) == null ? void 0 : _.viewbox) || "0 0 24 24"
757
765
  }, [
758
- E("g", { innerHTML: i.value }, null, 8, E3)
759
- ], 12, R3);
766
+ E("g", { innerHTML: i.value }, null, 8, P3)
767
+ ], 12, E3);
760
768
  };
761
769
  }
762
770
  });
763
- var _1 = /* @__PURE__ */ ((s) => (s.notification = "notification", s.notificationYes = "notificationYes", s.help = "help", s.moonFill = "moonFill", s.arrowLeft = "arrowLeft", s.chevronDown = "chevronDown", s.chevronUp = "chevronUp", s.dark = "dark", s.exitBig = "exitBig", s.exitSmall = "exitSmall", s.exit = "exit", s.leftBigSmall = "leftBigSmall", s.leftBig = "leftBig", s.light = "light", s.plusSmall = "plusSmall", s.plus = "plus", s.profileIcon = "profileIcon", s.profile = "profile", s.rightBig = "rightBig", s.rightSmall = "rightSmall", s.settings = "settings", s.settingsDark = "settingsDark", s.searchNormal = "searchNormal", s.search = "search", s.filter = "filter", s.bgNotContent = "bgNotContent", s.document = "document", s.baseDetail = "baseDetail", s.addPlus = "addPlus", s.closeVision = "closeVision", s.openVision = "openVision", s.trash = "trash", s.printer = "printer", s.uploadCloud = "uploadCloud", s.archive = "archive", s.menuClose = "menuClose", s.menuOpen = "menuOpen", s.bookOpen = "bookOpen", s.chartLine = "chartLine", s.marriage = "marriage", s.baseOfAssemblyUnits = "baseOfAssemblyUnits", s.equipmentBase = "equipmentBase", s.supplierDatabase = "supplierDatabase", s.theDatabaseOfMaterials = "theDatabaseOfMaterials", s.theBaseOfTheTool = "theBaseOfTheTool", s.fileDatabase = "fileDatabase", s.baseOfEquipmentAndInventory = "baseOfEquipmentAndInventory", s.mainPage = "mainPage", s.shopping = "shopping", s.shippingTasks = "shippingTasks", s.warehouse = "warehouse", s.production = "production", s.wastes = "wastes", s.paperClip = "paperClip", s.writeDowns = "writeDowns", s.theComplaint = "theComplaint", s.usersGroup = "usersGroup", s.reports = "reports", s.editing = "editing", s.shadedArrowDown = "shadedArrowDown", s.shadedArrowRight = "shadedArrowRight", s.shadedArrowLeft = "shadedArrowLeft", s.shadedArrowUp = "shadedArrowUp", s.star = "star", s.info = "info", s.files = "files", s.moreHorizontal = "moreHorizontal", s.fileText = "fileText", s.gitPullRequest = "gitPullRequest", s.folder = "folder", s))(_1 || {});
764
- const P3 = { class: "bread-crumbs-yui-kit" }, D3 = { key: 0 }, B3 = ["onClick"], $3 = {
771
+ var _1 = /* @__PURE__ */ ((s) => (s.notification = "notification", s.notificationYes = "notificationYes", s.help = "help", s.moonFill = "moonFill", s.arrowLeft = "arrowLeft", s.chevronDown = "chevronDown", s.chevronUp = "chevronUp", s.dark = "dark", s.exitBig = "exitBig", s.exitSmall = "exitSmall", s.exit = "exit", s.leftBigSmall = "leftBigSmall", s.leftBig = "leftBig", s.light = "light", s.plusSmall = "plusSmall", s.plus = "plus", s.profileIcon = "profileIcon", s.profile = "profile", s.rightBig = "rightBig", s.rightSmall = "rightSmall", s.settings = "settings", s.settingsDark = "settingsDark", s.searchNormal = "searchNormal", s.search = "search", s.filter = "filter", s.bgNotContent = "bgNotContent", s.document = "document", s.baseDetail = "baseDetail", s.addPlus = "addPlus", s.closeVision = "closeVision", s.openVision = "openVision", s.trash = "trash", s.printer = "printer", s.uploadCloud = "uploadCloud", s.archive = "archive", s.menuClose = "menuClose", s.menuOpen = "menuOpen", s.bookOpen = "bookOpen", s.chartLine = "chartLine", s.marriage = "marriage", s.baseOfAssemblyUnits = "baseOfAssemblyUnits", s.equipmentBase = "equipmentBase", s.supplierDatabase = "supplierDatabase", s.theDatabaseOfMaterials = "theDatabaseOfMaterials", s.theBaseOfTheTool = "theBaseOfTheTool", s.fileDatabase = "fileDatabase", s.baseOfEquipmentAndInventory = "baseOfEquipmentAndInventory", s.mainPage = "mainPage", s.shopping = "shopping", s.shippingTasks = "shippingTasks", s.warehouse = "warehouse", s.production = "production", s.wastes = "wastes", s.paperClip = "paperClip", s.writeDowns = "writeDowns", s.theComplaint = "theComplaint", s.usersGroup = "usersGroup", s.reports = "reports", s.editing = "editing", s.shadedArrowDown = "shadedArrowDown", s.shadedArrowRight = "shadedArrowRight", s.shadedArrowLeft = "shadedArrowLeft", s.shadedArrowUp = "shadedArrowUp", s.star = "star", s.info = "info", s.files = "files", s.moreHorizontal = "moreHorizontal", s.fileText = "fileText", s.gitPullRequest = "gitPullRequest", s.folder = "folder", s.crossLarge = "crossLarge", s))(_1 || {});
772
+ const D3 = { class: "bread-crumbs-yui-kit" }, B3 = { key: 0 }, $3 = ["onClick"], U3 = {
765
773
  key: 0,
766
774
  class: "fullName-yui-kit"
767
- }, U3 = ["onClick"], F3 = {
775
+ }, F3 = ["onClick"], Z3 = {
768
776
  key: 0,
769
777
  class: "fullName-yui-kit"
770
- }, Ii = 15, Z3 = /* @__PURE__ */ Q1({
778
+ }, Ii = 15, N3 = /* @__PURE__ */ Q1({
771
779
  __name: "BreadCrumbs",
772
780
  props: {
773
781
  items: {}
@@ -811,12 +819,12 @@ const P3 = { class: "bread-crumbs-yui-kit" }, D3 = { key: 0 }, B3 = ["onClick"],
811
819
  });
812
820
  }));
813
821
  }, S = () => g.isShowList = !g.isShowList, M = (V) => V.title.length > Ii ? V.title.slice(0, Ii) + "..." : V.title, B = (V) => g.items.length >= 5 && V === 1;
814
- return Tt(() => g.items = g.crumbs.concat(g.subCrumbs)), (V, J) => (T(), D("ul", P3, [
822
+ return Tt(() => g.items = g.crumbs.concat(g.subCrumbs)), (V, J) => (T(), D("ul", D3, [
815
823
  (T(!0), D(me, null, Le(g.items, ($, O) => (T(), D("li", {
816
824
  class: w1(_.value),
817
825
  key: $.path
818
826
  }, [
819
- B(O) ? (T(), D("div", D3, [
827
+ B(O) ? (T(), D("div", B3, [
820
828
  E("span", {
821
829
  class: "bread-crumbs-yui-kit--closed",
822
830
  onClick: S
@@ -832,8 +840,8 @@ const P3 = { class: "bread-crumbs-yui-kit" }, D3 = { key: 0 }, B3 = ["onClick"],
832
840
  onClick: (p1) => w(j, n1)
833
841
  }, [
834
842
  V2(A1(M(j)), 1),
835
- g.fullTitle($) ? (T(), D("span", $3, A1(j.title), 1)) : s1("", !0)
836
- ], 8, B3)
843
+ g.fullTitle($) ? (T(), D("span", U3, A1(j.title), 1)) : s1("", !0)
844
+ ], 8, $3)
837
845
  ], 2))), 128))
838
846
  ], 2)
839
847
  ])) : s1("", !0),
@@ -846,8 +854,8 @@ const P3 = { class: "bread-crumbs-yui-kit" }, D3 = { key: 0 }, B3 = ["onClick"],
846
854
  onClick: (j) => w($, O)
847
855
  }, [
848
856
  V2(A1(M($)), 1),
849
- g.fullTitle($) ? (T(), D("span", F3, A1($.title), 1)) : s1("", !0)
850
- ], 10, U3),
857
+ g.fullTitle($) ? (T(), D("span", Z3, A1($.title), 1)) : s1("", !0)
858
+ ], 10, F3),
851
859
  O !== g.crumbs.length - 1 ? (T(), De(y1, {
852
860
  key: 0,
853
861
  name: t1(_1).rightSmall
@@ -856,9 +864,9 @@ const P3 = { class: "bread-crumbs-yui-kit" }, D3 = { key: 0 }, B3 = ["onClick"],
856
864
  ], 2))), 128))
857
865
  ]));
858
866
  }
859
- }), G2 = /* @__PURE__ */ ae(Z3, [["__scopeId", "data-v-08d48cdf"]]);
867
+ }), G2 = /* @__PURE__ */ ae(N3, [["__scopeId", "data-v-08d48cdf"]]);
860
868
  var q2 = /* @__PURE__ */ ((s) => (s.small = "small", s.medium = "medium", s.large = "large", s))(q2 || {}), st = /* @__PURE__ */ ((s) => (s.primary = "primary", s.outline = "outline", s.ghost = "ghost", s.secondary = "secondary", s))(st || {});
861
- const N3 = ["disabled"], W3 = /* @__PURE__ */ Q1({
869
+ const W3 = ["disabled"], j3 = /* @__PURE__ */ Q1({
862
870
  __name: "Button",
863
871
  props: {
864
872
  disabled: { type: Boolean, default: !1 },
@@ -903,9 +911,9 @@ const N3 = ["disabled"], W3 = /* @__PURE__ */ Q1({
903
911
  }, [
904
912
  Hi(S.$slots, "right-icon", {}, void 0, !0)
905
913
  ], 4)) : s1("", !0)
906
- ], 14, N3));
914
+ ], 14, W3));
907
915
  }
908
- }), Wi = /* @__PURE__ */ ae(W3, [["__scopeId", "data-v-86c6700f"]]), j3 = { class: "switch-yui-kit-list" }, G3 = ["onClick"], q3 = /* @__PURE__ */ Q1({
916
+ }), Wi = /* @__PURE__ */ ae(j3, [["__scopeId", "data-v-86c6700f"]]), G3 = { class: "switch-yui-kit-list" }, q3 = ["onClick"], z3 = /* @__PURE__ */ Q1({
909
917
  __name: "Switch",
910
918
  props: {
911
919
  items: {},
@@ -926,18 +934,18 @@ const N3 = ["disabled"], W3 = /* @__PURE__ */ Q1({
926
934
  };
927
935
  return Tt(() => {
928
936
  i.defaultValue && i.items.includes(i.defaultValue) && (a.activeIndex = i.items.indexOf(i.defaultValue));
929
- }), (w, S) => (T(), D("ul", j3, [
937
+ }), (w, S) => (T(), D("ul", G3, [
930
938
  (T(!0), D(me, null, Le(i.items, (M, B) => (T(), D("li", {
931
939
  key: M,
932
940
  class: w1(_(B)),
933
941
  onClick: (V) => m(B)
934
- }, A1(M), 11, G3))), 128))
942
+ }, A1(M), 11, q3))), 128))
935
943
  ]));
936
944
  }
937
- }), ji = /* @__PURE__ */ ae(q3, [["__scopeId", "data-v-c13888eb"]]), z3 = { class: "dropdown-yui-kit" }, K3 = { class: "truncate-yui-kit" }, Y3 = {
945
+ }), ji = /* @__PURE__ */ ae(z3, [["__scopeId", "data-v-c13888eb"]]), K3 = { class: "dropdown-yui-kit" }, Y3 = { class: "truncate-yui-kit" }, J3 = {
938
946
  key: 0,
939
947
  class: "dropdown-yui-kit__list"
940
- }, J3 = ["onClick"], Ri = "active-yui-kit", X3 = /* @__PURE__ */ Q1({
948
+ }, X3 = ["onClick"], Ri = "active-yui-kit", Q3 = /* @__PURE__ */ Q1({
941
949
  __name: "Dropdown",
942
950
  props: {
943
951
  options: {}
@@ -958,12 +966,12 @@ const N3 = ["disabled"], W3 = /* @__PURE__ */ Q1({
958
966
  const M = S.currentTarget;
959
967
  M && (M.classList.contains(Ri) ? M.classList.remove(Ri) : M.classList.add(Ri));
960
968
  };
961
- return (S, M) => (T(), D("div", z3, [
969
+ return (S, M) => (T(), D("div", K3, [
962
970
  E("span", {
963
971
  class: "dropdown-yui-kit__current",
964
972
  onClick: M[0] || (M[0] = (B) => w(B))
965
973
  }, [
966
- E("span", K3, A1(a.choosedOption), 1),
974
+ E("span", Y3, A1(a.choosedOption), 1),
967
975
  a.isOpened ? (T(), De(y1, {
968
976
  key: 0,
969
977
  name: t1(_1).chevronDown
@@ -973,16 +981,16 @@ const N3 = ["disabled"], W3 = /* @__PURE__ */ Q1({
973
981
  name: t1(_1).chevronUp
974
982
  }, null, 8, ["name"]))
975
983
  ]),
976
- a.isOpened ? (T(), D("ul", Y3, [
984
+ a.isOpened ? (T(), D("ul", J3, [
977
985
  (T(!0), D(me, null, Le(i.options, (B) => (T(), D("li", {
978
986
  class: w1([_.value, { active: B === a.choosedOption }]),
979
987
  onClick: () => m(B),
980
988
  key: B
981
- }, A1(B), 11, J3))), 128))
989
+ }, A1(B), 11, X3))), 128))
982
990
  ])) : s1("", !0)
983
991
  ]));
984
992
  }
985
- }), z2 = /* @__PURE__ */ ae(X3, [["__scopeId", "data-v-49c04810"]]);
993
+ }), z2 = /* @__PURE__ */ ae(Q3, [["__scopeId", "data-v-49c04810"]]);
986
994
  var K2 = !1;
987
995
  function tr(s, h, i) {
988
996
  return Array.isArray(s) ? (s.length = Math.max(s.length, h), s.splice(h, 1, i), i) : (s[h] = i, i);
@@ -994,22 +1002,22 @@ function Ei(s, h) {
994
1002
  }
995
1003
  delete s[h];
996
1004
  }
997
- function Q3() {
1005
+ function ea() {
998
1006
  return Y2().__VUE_DEVTOOLS_GLOBAL_HOOK__;
999
1007
  }
1000
1008
  function Y2() {
1001
1009
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
1002
1010
  }
1003
- const ea = typeof Proxy == "function", ta = "devtools-plugin:setup", na = "plugin:settings:set";
1011
+ const ta = typeof Proxy == "function", na = "devtools-plugin:setup", ra = "plugin:settings:set";
1004
1012
  let bt, Di;
1005
- function ra() {
1013
+ function ia() {
1006
1014
  var s;
1007
1015
  return bt !== void 0 || (typeof window < "u" && window.performance ? (bt = !0, Di = window.performance) : typeof globalThis < "u" && (!((s = globalThis.perf_hooks) === null || s === void 0) && s.performance) ? (bt = !0, Di = globalThis.perf_hooks.performance) : bt = !1), bt;
1008
1016
  }
1009
- function ia() {
1010
- return ra() ? Di.now() : Date.now();
1017
+ function oa() {
1018
+ return ia() ? Di.now() : Date.now();
1011
1019
  }
1012
- class oa {
1020
+ class sa {
1013
1021
  constructor(h, i) {
1014
1022
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = h, this.hook = i;
1015
1023
  const a = {};
@@ -1037,9 +1045,9 @@ class oa {
1037
1045
  _ = m;
1038
1046
  },
1039
1047
  now() {
1040
- return ia();
1048
+ return oa();
1041
1049
  }
1042
- }, i && i.on(na, (m, w) => {
1050
+ }, i && i.on(ra, (m, w) => {
1043
1051
  m === this.plugin.id && this.fallbacks.setSettings(w);
1044
1052
  }), this.proxiedOn = new Proxy({}, {
1045
1053
  get: (m, w) => this.target ? this.target.on[w] : (...S) => {
@@ -1072,11 +1080,11 @@ class oa {
1072
1080
  }
1073
1081
  }
1074
1082
  function J2(s, h) {
1075
- const i = s, a = Y2(), g = Q3(), _ = ea && i.enableEarlyProxy;
1083
+ const i = s, a = Y2(), g = ea(), _ = ta && i.enableEarlyProxy;
1076
1084
  if (g && (a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !_))
1077
- g.emit(ta, s, h);
1085
+ g.emit(na, s, h);
1078
1086
  else {
1079
- const m = _ ? new oa(i, g) : null;
1087
+ const m = _ ? new sa(i, g) : null;
1080
1088
  (a.__VUE_DEVTOOLS_PLUGINS__ = a.__VUE_DEVTOOLS_PLUGINS__ || []).push({
1081
1089
  pluginDescriptor: i,
1082
1090
  setupFn: h,
@@ -1102,7 +1110,7 @@ var Se;
1102
1110
  s.direct = "direct", s.patchObject = "patch object", s.patchFunction = "patch function";
1103
1111
  })(Se || (Se = {}));
1104
1112
  const ut = typeof window < "u", R2 = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
1105
- function sa(s, { autoBom: h = !1 } = {}) {
1113
+ function la(s, { autoBom: h = !1 } = {}) {
1106
1114
  return h && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type) ? new Blob(["\uFEFF", s], { type: s.type }) : s;
1107
1115
  }
1108
1116
  function Gi(s, h, i) {
@@ -1132,16 +1140,16 @@ function rr(s) {
1132
1140
  }
1133
1141
  const ir = typeof navigator == "object" ? navigator : { userAgent: "" }, e5 = /Macintosh/.test(ir.userAgent) && /AppleWebKit/.test(ir.userAgent) && !/Safari/.test(ir.userAgent), t5 = ut ? (
1134
1142
  // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
1135
- typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !e5 ? la : (
1143
+ typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !e5 ? ua : (
1136
1144
  // Use msSaveOrOpenBlob as a second approach
1137
- "msSaveOrOpenBlob" in ir ? ua : (
1145
+ "msSaveOrOpenBlob" in ir ? aa : (
1138
1146
  // Fallback to using FileReader and a popup
1139
- aa
1147
+ ca
1140
1148
  )
1141
1149
  )
1142
1150
  ) : () => {
1143
1151
  };
1144
- function la(s, h = "download", i) {
1152
+ function ua(s, h = "download", i) {
1145
1153
  const a = document.createElement("a");
1146
1154
  a.download = h, a.rel = "noopener", typeof s == "string" ? (a.href = s, a.origin !== location.origin ? Q2(a.href) ? Gi(s, h, i) : (a.target = "_blank", rr(a)) : rr(a)) : (a.href = URL.createObjectURL(s), setTimeout(function() {
1147
1155
  URL.revokeObjectURL(a.href);
@@ -1149,7 +1157,7 @@ function la(s, h = "download", i) {
1149
1157
  rr(a);
1150
1158
  }, 0));
1151
1159
  }
1152
- function ua(s, h = "download", i) {
1160
+ function aa(s, h = "download", i) {
1153
1161
  if (typeof s == "string")
1154
1162
  if (Q2(s))
1155
1163
  Gi(s, h, i);
@@ -1160,9 +1168,9 @@ function ua(s, h = "download", i) {
1160
1168
  });
1161
1169
  }
1162
1170
  else
1163
- navigator.msSaveOrOpenBlob(sa(s, i), h);
1171
+ navigator.msSaveOrOpenBlob(la(s, i), h);
1164
1172
  }
1165
- function aa(s, h, i, a) {
1173
+ function ca(s, h, i, a) {
1166
1174
  if (a = a || open("", "_blank"), a && (a.document.title = a.document.body.innerText = "downloading..."), typeof s == "string")
1167
1175
  return Gi(s, h, i);
1168
1176
  const g = s.type === "application/octet-stream", _ = /constructor/i.test(String(R2.HTMLElement)) || "safari" in R2, m = /CriOS\/[\d]+/.test(navigator.userAgent);
@@ -1195,7 +1203,7 @@ function n5() {
1195
1203
  function r5(s) {
1196
1204
  return s instanceof Error && s.message.toLowerCase().includes("document is not focused") ? (S1('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
1197
1205
  }
1198
- async function ca(s) {
1206
+ async function fa(s) {
1199
1207
  if (!n5())
1200
1208
  try {
1201
1209
  await navigator.clipboard.writeText(JSON.stringify(s.state.value)), S1("Global state copied to clipboard.");
@@ -1205,7 +1213,7 @@ async function ca(s) {
1205
1213
  S1("Failed to serialize the state. Check the console for more details.", "error"), console.error(h);
1206
1214
  }
1207
1215
  }
1208
- async function fa(s) {
1216
+ async function ha(s) {
1209
1217
  if (!n5())
1210
1218
  try {
1211
1219
  i5(s, JSON.parse(await navigator.clipboard.readText())), S1("Global state pasted from clipboard.");
@@ -1215,7 +1223,7 @@ async function fa(s) {
1215
1223
  S1("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(h);
1216
1224
  }
1217
1225
  }
1218
- async function ha(s) {
1226
+ async function da(s) {
1219
1227
  try {
1220
1228
  t5(new Blob([JSON.stringify(s.state.value)], {
1221
1229
  type: "text/plain;charset=utf-8"
@@ -1225,7 +1233,7 @@ async function ha(s) {
1225
1233
  }
1226
1234
  }
1227
1235
  let Pe;
1228
- function da() {
1236
+ function pa() {
1229
1237
  Pe || (Pe = document.createElement("input"), Pe.type = "file", Pe.accept = ".json");
1230
1238
  function s() {
1231
1239
  return new Promise((h, i) => {
@@ -1240,9 +1248,9 @@ function da() {
1240
1248
  }
1241
1249
  return s;
1242
1250
  }
1243
- async function pa(s) {
1251
+ async function Ca(s) {
1244
1252
  try {
1245
- const i = await da()();
1253
+ const i = await pa()();
1246
1254
  if (!i)
1247
1255
  return;
1248
1256
  const { text: a, file: g } = i;
@@ -1265,7 +1273,7 @@ function ge(s) {
1265
1273
  };
1266
1274
  }
1267
1275
  const o5 = "🍍 Pinia (root)", or = "_root";
1268
- function Ca(s) {
1276
+ function ga(s) {
1269
1277
  return qi(s) ? {
1270
1278
  id: or,
1271
1279
  label: o5
@@ -1274,7 +1282,7 @@ function Ca(s) {
1274
1282
  label: s.$id
1275
1283
  };
1276
1284
  }
1277
- function ga(s) {
1285
+ function _a(s) {
1278
1286
  if (qi(s)) {
1279
1287
  const i = Array.from(s._s.keys()), a = s._s;
1280
1288
  return {
@@ -1310,7 +1318,7 @@ function ga(s) {
1310
1318
  value: s[i]
1311
1319
  }))), h;
1312
1320
  }
1313
- function _a(s) {
1321
+ function va(s) {
1314
1322
  return s ? Array.isArray(s) ? s.reduce((h, i) => (h.keys.push(i.key), h.operations.push(i.type), h.oldValue[i.key] = i.oldValue, h.newValue[i.key] = i.newValue, h), {
1315
1323
  oldValue: {},
1316
1324
  keys: [],
@@ -1323,7 +1331,7 @@ function _a(s) {
1323
1331
  newValue: s.newValue
1324
1332
  } : {};
1325
1333
  }
1326
- function va(s) {
1334
+ function ka(s) {
1327
1335
  switch (s) {
1328
1336
  case Se.direct:
1329
1337
  return "mutation";
@@ -1336,8 +1344,8 @@ function va(s) {
1336
1344
  }
1337
1345
  }
1338
1346
  let Ot = !0;
1339
- const sr = [], it = "pinia:mutations", I1 = "pinia", { assign: ka } = Object, lr = (s) => "🍍 " + s;
1340
- function ya(s, h) {
1347
+ const sr = [], it = "pinia:mutations", I1 = "pinia", { assign: ya } = Object, lr = (s) => "🍍 " + s;
1348
+ function wa(s, h) {
1341
1349
  J2({
1342
1350
  id: "dev.esm.pinia",
1343
1351
  label: "Pinia 🍍",
@@ -1360,28 +1368,28 @@ function ya(s, h) {
1360
1368
  {
1361
1369
  icon: "content_copy",
1362
1370
  action: () => {
1363
- ca(h);
1371
+ fa(h);
1364
1372
  },
1365
1373
  tooltip: "Serialize and copy the state"
1366
1374
  },
1367
1375
  {
1368
1376
  icon: "content_paste",
1369
1377
  action: async () => {
1370
- await fa(h), i.sendInspectorTree(I1), i.sendInspectorState(I1);
1378
+ await ha(h), i.sendInspectorTree(I1), i.sendInspectorState(I1);
1371
1379
  },
1372
1380
  tooltip: "Replace the state with the content of your clipboard"
1373
1381
  },
1374
1382
  {
1375
1383
  icon: "save",
1376
1384
  action: () => {
1377
- ha(h);
1385
+ da(h);
1378
1386
  },
1379
1387
  tooltip: "Save the state as a JSON file"
1380
1388
  },
1381
1389
  {
1382
1390
  icon: "folder_open",
1383
1391
  action: async () => {
1384
- await pa(h), i.sendInspectorTree(I1), i.sendInspectorState(I1);
1392
+ await Ca(h), i.sendInspectorTree(I1), i.sendInspectorState(I1);
1385
1393
  },
1386
1394
  tooltip: "Import the state from a JSON file"
1387
1395
  }
@@ -1438,14 +1446,14 @@ function ya(s, h) {
1438
1446
  }), i.on.getInspectorTree((a) => {
1439
1447
  if (a.app === s && a.inspectorId === I1) {
1440
1448
  let g = [h];
1441
- g = g.concat(Array.from(h._s.values())), a.rootNodes = (a.filter ? g.filter((_) => "$id" in _ ? _.$id.toLowerCase().includes(a.filter.toLowerCase()) : o5.toLowerCase().includes(a.filter.toLowerCase())) : g).map(Ca);
1449
+ g = g.concat(Array.from(h._s.values())), a.rootNodes = (a.filter ? g.filter((_) => "$id" in _ ? _.$id.toLowerCase().includes(a.filter.toLowerCase()) : o5.toLowerCase().includes(a.filter.toLowerCase())) : g).map(ga);
1442
1450
  }
1443
1451
  }), globalThis.$pinia = h, i.on.getInspectorState((a) => {
1444
1452
  if (a.app === s && a.inspectorId === I1) {
1445
1453
  const g = a.nodeId === or ? h : h._s.get(a.nodeId);
1446
1454
  if (!g)
1447
1455
  return;
1448
- g && (a.nodeId !== or && (globalThis.$store = on(g)), a.state = ga(g));
1456
+ g && (a.nodeId !== or && (globalThis.$store = on(g)), a.state = _a(g));
1449
1457
  }
1450
1458
  }), i.on.editInspectorState((a, g) => {
1451
1459
  if (a.app === s && a.inspectorId === I1) {
@@ -1470,7 +1478,7 @@ Only state can be modified.`);
1470
1478
  });
1471
1479
  });
1472
1480
  }
1473
- function wa(s, h) {
1481
+ function ma(s, h) {
1474
1482
  sr.includes(lr(h.$id)) || sr.push(lr(h.$id)), J2({
1475
1483
  id: "dev.esm.pinia",
1476
1484
  label: "Pinia 🍍",
@@ -1563,8 +1571,8 @@ function wa(s, h) {
1563
1571
  return;
1564
1572
  const M = {
1565
1573
  time: a(),
1566
- title: va(w),
1567
- data: ka({ store: ge(h.$id) }, _a(m)),
1574
+ title: ka(w),
1575
+ data: ya({ store: ge(h.$id) }, va(m)),
1568
1576
  groupId: ze
1569
1577
  };
1570
1578
  w === Se.patchFunction ? M.subtitle = "⤵️" : w === Se.patchObject ? M.subtitle = "🧩" : m && !Array.isArray(m) && (M.subtitle = m.type), m && (M.data["rawEvent(s)"] = {
@@ -1618,7 +1626,7 @@ function E2(s, h, i) {
1618
1626
  return ze = void 0, w;
1619
1627
  };
1620
1628
  }
1621
- function ma({ app: s, store: h, options: i }) {
1629
+ function La({ app: s, store: h, options: i }) {
1622
1630
  if (!h.$id.startsWith("__hot:")) {
1623
1631
  if (h._isOptionsAPI = !!i.state, !h._p._testing) {
1624
1632
  E2(h, Object.keys(i.actions), h._isOptionsAPI);
@@ -1627,19 +1635,19 @@ function ma({ app: s, store: h, options: i }) {
1627
1635
  a.apply(this, arguments), E2(h, Object.keys(g._hmrPayload.actions), !!h._isOptionsAPI);
1628
1636
  };
1629
1637
  }
1630
- wa(
1638
+ ma(
1631
1639
  s,
1632
1640
  // FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric?
1633
1641
  h
1634
1642
  );
1635
1643
  }
1636
1644
  }
1637
- function La() {
1645
+ function Sa() {
1638
1646
  const s = Z2(!0), h = s.run(() => Ht({}));
1639
1647
  let i = [], a = [];
1640
1648
  const g = lt({
1641
1649
  install(_) {
1642
- ln(g), g._a = _, _.provide(X2, g), _.config.globalProperties.$pinia = g, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ut && ya(_, g), a.forEach((m) => i.push(m)), a = [];
1650
+ ln(g), g._a = _, _.provide(X2, g), _.config.globalProperties.$pinia = g, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ut && wa(_, g), a.forEach((m) => i.push(m)), a = [];
1643
1651
  },
1644
1652
  use(_) {
1645
1653
  return !this._a && !K2 ? a.push(_) : i.push(_), this;
@@ -1652,7 +1660,7 @@ function La() {
1652
1660
  _s: /* @__PURE__ */ new Map(),
1653
1661
  state: h
1654
1662
  });
1655
- return process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof Proxy < "u" && g.use(ma), g;
1663
+ return process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof Proxy < "u" && g.use(La), g;
1656
1664
  }
1657
1665
  function l5(s, h) {
1658
1666
  for (const i in h) {
@@ -1679,7 +1687,7 @@ function Mt(s, ...h) {
1679
1687
  i(...h);
1680
1688
  });
1681
1689
  }
1682
- const Sa = (s) => s(), D2 = Symbol(), Pi = Symbol();
1690
+ const xa = (s) => s(), D2 = Symbol(), Pi = Symbol();
1683
1691
  function Bi(s, h) {
1684
1692
  s instanceof Map && h instanceof Map ? h.forEach((i, a) => s.set(a, i)) : s instanceof Set && h instanceof Set && h.forEach(s.add, s);
1685
1693
  for (const i in h) {
@@ -1690,12 +1698,12 @@ function Bi(s, h) {
1690
1698
  }
1691
1699
  return s;
1692
1700
  }
1693
- const xa = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
1701
+ const ba = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
1694
1702
  /* istanbul ignore next */
1695
1703
  Symbol()
1696
1704
  );
1697
- function ba(s) {
1698
- return !at(s) || !s.hasOwnProperty(xa);
1705
+ function Ma(s) {
1706
+ return !at(s) || !s.hasOwnProperty(ba);
1699
1707
  }
1700
1708
  const { assign: ue } = Object;
1701
1709
  function B2(s) {
@@ -1825,11 +1833,11 @@ function $i(s, h, i = {}, a, g, _) {
1825
1833
  // setupStore
1826
1834
  ) : z);
1827
1835
  a._s.set(s, x);
1828
- const B1 = (a._a && a._a.runWithContext || Sa)(() => a._e.run(() => (m = Z2()).run(() => h({ action: O1 }))));
1836
+ const B1 = (a._a && a._a.runWithContext || xa)(() => a._e.run(() => (m = Z2()).run(() => h({ action: O1 }))));
1829
1837
  for (const P in B1) {
1830
1838
  const H = B1[P];
1831
1839
  if (sn(H) && !B2(H) || Fi(H))
1832
- process.env.NODE_ENV !== "production" && g ? tr(j.value, P, Ti(B1, P)) : _ || (O && ba(H) && (sn(H) ? H.value = O[P] : Bi(H, O[P])), a.state.value[s][P] = H), process.env.NODE_ENV !== "production" && R.state.push(P);
1840
+ process.env.NODE_ENV !== "production" && g ? tr(j.value, P, Ti(B1, P)) : _ || (O && Ma(H) && (sn(H) ? H.value = O[P] : Bi(H, O[P])), a.state.value[s][P] = H), process.env.NODE_ENV !== "production" && R.state.push(P);
1833
1841
  else if (typeof H == "function") {
1834
1842
  const u1 = process.env.NODE_ENV !== "production" && g ? H : O1(H, P);
1835
1843
  B1[P] = u1, process.env.NODE_ENV !== "production" && (R.actions[P] = H), w.actions[P] = H;
@@ -1908,7 +1916,7 @@ function $i(s, h, i = {}, a, g, _) {
1908
1916
  Found in store "${x.$id}".`), O && _ && i.hydrate && i.hydrate(x.$state, O), M = !0, B = !0, x;
1909
1917
  }
1910
1918
  // @__NO_SIDE_EFFECTS__
1911
- function Ma(s, h, i) {
1919
+ function Aa(s, h, i) {
1912
1920
  let a, g;
1913
1921
  const _ = typeof h == "function";
1914
1922
  a = s, g = _ ? i : h;
@@ -1938,7 +1946,7 @@ This will fail in production.`);
1938
1946
  }
1939
1947
  return m.$id = a, m;
1940
1948
  }
1941
- const a5 = /* @__PURE__ */ Ma("search", {
1949
+ const a5 = /* @__PURE__ */ Aa("search", {
1942
1950
  state: () => ({
1943
1951
  _historySearch: localStorage.getItem("historySearch") ? JSON.parse(localStorage.getItem("historySearch")) : []
1944
1952
  }),
@@ -1965,10 +1973,10 @@ const a5 = /* @__PURE__ */ Ma("search", {
1965
1973
  );
1966
1974
  }
1967
1975
  }
1968
- }), Ui = (s, h = 33) => s.length > h ? s.slice(0, h - 3) + "..." : s, Aa = {
1976
+ }), Ui = (s, h = 33) => s.length > h ? s.slice(0, h - 3) + "..." : s, Oa = {
1969
1977
  key: 0,
1970
1978
  class: "search-yui-kit__history history-yui-kit"
1971
- }, Oa = ["onClick"], Va = ["onClick"], Ha = /* @__PURE__ */ Q1({
1979
+ }, Va = ["onClick"], Ha = ["onClick"], Ta = /* @__PURE__ */ Q1({
1972
1980
  __name: "History",
1973
1981
  props: {
1974
1982
  defaultValue: {},
@@ -1999,7 +2007,7 @@ const a5 = /* @__PURE__ */ Ma("search", {
1999
2007
  }, M = (B) => {
2000
2008
  _("choosePost", B);
2001
2009
  };
2002
- return (B, V) => a.showHistory ? (T(), D("div", Aa, [
2010
+ return (B, V) => a.showHistory ? (T(), D("div", Oa, [
2003
2011
  g.getHistorySearch.length > 0 && g.isShowButtonHistory ? (T(), D("button", {
2004
2012
  key: 0,
2005
2013
  type: "button",
@@ -2015,7 +2023,7 @@ const a5 = /* @__PURE__ */ Ma("search", {
2015
2023
  }, [
2016
2024
  E("span", {
2017
2025
  onClick: ($) => M(J)
2018
- }, A1(t1(Ui)(J)), 9, Oa),
2026
+ }, A1(t1(Ui)(J)), 9, Va),
2019
2027
  E("button", {
2020
2028
  type: "button",
2021
2029
  onClick: ($) => S(J)
@@ -2023,16 +2031,16 @@ const a5 = /* @__PURE__ */ Ma("search", {
2023
2031
  L1(y1, {
2024
2032
  name: t1(_1).exitSmall
2025
2033
  }, null, 8, ["name"])
2026
- ], 8, Va)
2034
+ ], 8, Ha)
2027
2035
  ]))), 128))
2028
2036
  ], 2)
2029
2037
  ])) : s1("", !0);
2030
2038
  }
2031
- }), Ta = /* @__PURE__ */ ae(Ha, [["__scopeId", "data-v-8a7b0d6c"]]), c5 = (s) => (Zi("data-v-790e850a"), s = s(), Ni(), s), Ia = { class: "search-yui-kit__history history-yui-kit" }, Ra = ["onClick"], Ea = { class: "result-yui-kit" }, Pa = /* @__PURE__ */ c5(() => /* @__PURE__ */ E("span", { class: "result-yui-kit blue-yui-kit" }, "/", -1)), Da = { class: "result-yui-kit blue-yui-kit" }, Ba = /* @__PURE__ */ c5(() => /* @__PURE__ */ E("li", { class: "history-yui-kit__item history-yui-kit__item--notfound" }, [
2039
+ }), Ia = /* @__PURE__ */ ae(Ta, [["__scopeId", "data-v-8a7b0d6c"]]), c5 = (s) => (Zi("data-v-790e850a"), s = s(), Ni(), s), Ra = { class: "search-yui-kit__history history-yui-kit" }, Ea = ["onClick"], Pa = { class: "result-yui-kit" }, Da = /* @__PURE__ */ c5(() => /* @__PURE__ */ E("span", { class: "result-yui-kit blue-yui-kit" }, "/", -1)), Ba = { class: "result-yui-kit blue-yui-kit" }, $a = /* @__PURE__ */ c5(() => /* @__PURE__ */ E("li", { class: "history-yui-kit__item history-yui-kit__item--notfound" }, [
2032
2040
  /* @__PURE__ */ E("p", { class: "history-yui-kit__text" }, "По вашему запросу ничего не найдено")
2033
- ], -1)), $a = [
2034
- Ba
2035
- ], Ua = /* @__PURE__ */ Q1({
2041
+ ], -1)), Ua = [
2042
+ $a
2043
+ ], Fa = /* @__PURE__ */ Q1({
2036
2044
  __name: "SearchResult",
2037
2045
  props: {
2038
2046
  defaultValue: {},
@@ -2062,7 +2070,7 @@ const a5 = /* @__PURE__ */ Ma("search", {
2062
2070
  })), m = (w) => {
2063
2071
  g("choosePost", w);
2064
2072
  };
2065
- return (w, S) => (T(), D("div", Ia, [
2073
+ return (w, S) => (T(), D("div", Ra, [
2066
2074
  a.globalResultsFunction ? (T(), D("ul", {
2067
2075
  key: 0,
2068
2076
  class: w1(_.value)
@@ -2078,28 +2086,28 @@ const a5 = /* @__PURE__ */ Ma("search", {
2078
2086
  class: "history-yui-kit__text",
2079
2087
  onClick: (B) => m(M)
2080
2088
  }, [
2081
- E("span", Ea, A1(t1(Ui)(M.nameArea)), 1),
2082
- Pa,
2083
- E("span", Da, A1(t1(Ui)(M.searchResult)), 1)
2084
- ], 8, Ra)
2089
+ E("span", Pa, A1(t1(Ui)(M.nameArea)), 1),
2090
+ Da,
2091
+ E("span", Ba, A1(t1(Ui)(M.searchResult)), 1)
2092
+ ], 8, Ea)
2085
2093
  ]))), 128))
2086
2094
  ], 2)) : s1("", !0),
2087
2095
  a.globalResultsFunction.length ? s1("", !0) : (T(), D("ul", {
2088
2096
  key: 1,
2089
2097
  class: w1(_.value)
2090
- }, $a, 2))
2098
+ }, Ua, 2))
2091
2099
  ]));
2092
2100
  }
2093
- }), Fa = /* @__PURE__ */ ae(Ua, [["__scopeId", "data-v-790e850a"]]), Za = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
2094
- function Na(s) {
2095
- return Za.test(s);
2101
+ }), Za = /* @__PURE__ */ ae(Fa, [["__scopeId", "data-v-790e850a"]]), Na = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
2102
+ function Wa(s) {
2103
+ return Na.test(s);
2096
2104
  }
2097
2105
  function f5() {
2098
2106
  var s = URL.createObjectURL(new Blob()), h = s.toString();
2099
2107
  return URL.revokeObjectURL(s), h.split(/[:\/]/g).pop().toLowerCase();
2100
2108
  }
2101
- f5.valid = Na;
2102
- const h5 = (s = "") => s + f5(), Wa = { class: "search-yui-kit__dropdown" }, ja = ["placeholder"], Ga = /* @__PURE__ */ Q1({
2109
+ f5.valid = Wa;
2110
+ const h5 = (s = "") => s + f5(), ja = { class: "search-yui-kit__dropdown" }, Ga = ["placeholder"], qa = /* @__PURE__ */ Q1({
2103
2111
  __name: "Search",
2104
2112
  props: {
2105
2113
  defaultValue: {},
@@ -2152,7 +2160,7 @@ const h5 = (s = "") => s + f5(), Wa = { class: "search-yui-kit__dropdown" }, ja
2152
2160
  E("div", {
2153
2161
  class: w1(w.value)
2154
2162
  }, [
2155
- E("div", Wa, [
2163
+ E("div", ja, [
2156
2164
  W2(E("input", {
2157
2165
  type: "text",
2158
2166
  class: "search-yui-kit__input",
@@ -2162,7 +2170,7 @@ const h5 = (s = "") => s + f5(), Wa = { class: "search-yui-kit__dropdown" }, ja
2162
2170
  onInput: $,
2163
2171
  onFocus: S,
2164
2172
  onBlur: M
2165
- }, null, 40, ja), [
2173
+ }, null, 40, Ga), [
2166
2174
  [h9, _.searchValue]
2167
2175
  ]),
2168
2176
  L1(y1, {
@@ -2170,14 +2178,14 @@ const h5 = (s = "") => s + f5(), Wa = { class: "search-yui-kit__dropdown" }, ja
2170
2178
  }, null, 8, ["name"])
2171
2179
  ])
2172
2180
  ], 2),
2173
- a.showHistory ? (T(), De(Ta, {
2181
+ a.showHistory ? (T(), De(Ia, {
2174
2182
  key: 0,
2175
2183
  "show-history": a.showHistory,
2176
2184
  "is-show-button-history": _.isShowButtonHistory,
2177
2185
  "is-show-list": _.isShowList,
2178
2186
  onChoosePost: m
2179
2187
  }, null, 8, ["show-history", "is-show-button-history", "is-show-list"])) : s1("", !0),
2180
- a.global ? (T(), De(Fa, {
2188
+ a.global ? (T(), De(Za, {
2181
2189
  "is-show-list": _.isShowList,
2182
2190
  "global-results-function": _.globalResultsFunction,
2183
2191
  "is-show-result": _.isShowResult,
@@ -2186,7 +2194,7 @@ const h5 = (s = "") => s + f5(), Wa = { class: "search-yui-kit__dropdown" }, ja
2186
2194
  }, null, 8, ["is-show-list", "global-results-function", "is-show-result", "search-value"])) : s1("", !0)
2187
2195
  ], 32));
2188
2196
  }
2189
- }), zi = /* @__PURE__ */ ae(Ga, [["__scopeId", "data-v-0ce3756e"]]);
2197
+ }), zi = /* @__PURE__ */ ae(qa, [["__scopeId", "data-v-0ce3756e"]]);
2190
2198
  var nn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ur = { exports: {} };
2191
2199
  /**
2192
2200
  * @license
@@ -5858,17 +5866,17 @@ function print() { __p += __j.call(arguments, '') }
5858
5866
  Ke ? ((Ke.exports = gt)._ = gt, br._ = gt) : b1._ = gt;
5859
5867
  }).call(nn);
5860
5868
  })(ur, ur.exports);
5861
- var qa = ur.exports;
5862
- const za = { class: "filter-yui-kit" }, Ka = {
5869
+ var za = ur.exports;
5870
+ const Ka = { class: "filter-yui-kit" }, Ya = {
5863
5871
  key: 0,
5864
5872
  class: "counter-yui-kit__value"
5865
- }, Ya = { class: "counter-yui-kit__list" }, Ja = { class: "counter-yui-kit__list-wrapper" }, Xa = {
5873
+ }, Ja = { class: "counter-yui-kit__list" }, Xa = { class: "counter-yui-kit__list-wrapper" }, Qa = {
5866
5874
  class: "filter-yui-kit__select-list select-yui-kit-counter",
5867
5875
  style: "padding: 2px; gap: 2px"
5868
- }, Qa = {
5876
+ }, ec = {
5869
5877
  key: 1,
5870
5878
  class: "filter-yui-kit__select-list"
5871
- }, ec = ["onClick"], tc = /* @__PURE__ */ Q1({
5879
+ }, tc = ["onClick"], nc = /* @__PURE__ */ Q1({
5872
5880
  __name: "Filter",
5873
5881
  props: {
5874
5882
  title: {},
@@ -5930,7 +5938,7 @@ const za = { class: "filter-yui-kit" }, Ka = {
5930
5938
  p1(z, x);
5931
5939
  });
5932
5940
  }, p1 = (R, z) => {
5933
- typeof i.defaultValue == "string" && R.value === i.defaultValue ? R.choose = !0 : qa.isArray(i.defaultValue) ? i.defaultValue.forEach(
5941
+ typeof i.defaultValue == "string" && R.value === i.defaultValue ? R.choose = !0 : za.isArray(i.defaultValue) ? i.defaultValue.forEach(
5934
5942
  (V1) => V1 === R.value && (R.choose = !0)
5935
5943
  ) : R.choose = z === 0;
5936
5944
  }, D1 = () => {
@@ -5955,7 +5963,7 @@ const za = { class: "filter-yui-kit" }, Ka = {
5955
5963
  return p1(x, z), i.searchable && x.type === G1.default && (x.value = "Не выбрано"), x;
5956
5964
  }
5957
5965
  );
5958
- }), (R, z) => (T(), D("div", za, [
5966
+ }), (R, z) => (T(), D("div", Ka, [
5959
5967
  E("div", {
5960
5968
  class: w1(w.value),
5961
5969
  onClick: J
@@ -5973,10 +5981,10 @@ const za = { class: "filter-yui-kit" }, Ka = {
5973
5981
  E("div", {
5974
5982
  class: w1(_.value)
5975
5983
  }, [
5976
- O.value.length > 1 ? (T(), D("span", Ka, A1("+" + O.value.length), 1)) : s1("", !0),
5977
- E("div", Ya, [
5978
- E("div", Ja, [
5979
- E("ul", Xa, [
5984
+ O.value.length > 1 ? (T(), D("span", Ya, A1("+" + O.value.length), 1)) : s1("", !0),
5985
+ E("div", Ja, [
5986
+ E("div", Xa, [
5987
+ E("ul", Qa, [
5980
5988
  (T(!0), D(me, null, Le(O.value, (x, V1) => (T(), D("li", {
5981
5989
  class: "filter-yui-kit__select-item",
5982
5990
  key: x.value
@@ -6028,7 +6036,7 @@ const za = { class: "filter-yui-kit" }, Ka = {
6028
6036
  onInput: V,
6029
6037
  style: { margin: "5px 0" }
6030
6038
  })) : s1("", !0),
6031
- a.isShow && !i.searchable ? (T(), D("ul", Qa, [
6039
+ a.isShow && !i.searchable ? (T(), D("ul", ec, [
6032
6040
  (T(!0), D(me, null, Le(j.value, (x, V1) => (T(), D("li", {
6033
6041
  class: "filter-yui-kit__select-item",
6034
6042
  key: x.value,
@@ -6053,36 +6061,36 @@ const za = { class: "filter-yui-kit" }, Ka = {
6053
6061
  class: "filter-yui-kit__select-item",
6054
6062
  key: x.value,
6055
6063
  onClick: (V1) => n1(x)
6056
- }, A1(x.value), 9, ec))), 128))
6064
+ }, A1(x.value), 9, tc))), 128))
6057
6065
  ], 32)) : s1("", !0)
6058
6066
  ], 32)) : s1("", !0)
6059
6067
  ]));
6060
6068
  }
6061
- }), d5 = /* @__PURE__ */ ae(tc, [["__scopeId", "data-v-f15cc790"]]), nc = "data:image/svg+xml,%3csvg%20width='111'%20height='111'%20viewBox='0%200%20111%20111'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M106.375%2087.875C106.375%2090.3283%20105.4%2092.681%20103.666%2094.4157C101.931%2096.1504%2099.5783%2097.125%2097.125%2097.125H13.875C11.4217%2097.125%209.06897%2096.1504%207.33426%2094.4157C5.59955%2092.681%204.625%2090.3283%204.625%2087.875V37C4.625%2034.5467%205.59955%2032.194%207.33426%2030.4593C9.06897%2028.7246%2011.4217%2027.75%2013.875%2027.75H32.375L41.625%2013.875H69.375L78.625%2027.75H97.125C99.5783%2027.75%20101.931%2028.7246%20103.666%2030.4593C105.4%2032.194%20106.375%2034.5467%20106.375%2037V87.875Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M55.5%2078.625C65.7173%2078.625%2074%2070.3423%2074%2060.125C74%2049.9077%2065.7173%2041.625%2055.5%2041.625C45.2827%2041.625%2037%2049.9077%2037%2060.125C37%2070.3423%2045.2827%2078.625%2055.5%2078.625Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", rc = "data:image/svg+xml,%3csvg%20width='147'%20height='111'%20viewBox='0%200%20147%20111'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.938%2087.875C132.938%2090.3283%20131.871%2092.681%20129.973%2094.4157C128.074%2096.1504%20125.499%2097.125%20122.814%2097.125H31.6978C29.0128%2097.125%2026.4377%2096.1504%2024.5391%2094.4157C22.6405%2092.681%2021.5738%2090.3283%2021.5738%2087.875V37C21.5738%2034.5467%2022.6405%2032.194%2024.5391%2030.4593C26.4377%2028.7246%2029.0128%2027.75%2031.6978%2027.75H51.9459L62.0699%2013.875H92.4419L102.566%2027.75H122.814C125.499%2027.75%20128.074%2028.7246%20129.973%2030.4593C131.871%2032.194%20132.938%2034.5467%20132.938%2037V87.875Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M77.2559%2078.625C88.4386%2078.625%2097.5039%2070.3423%2097.5039%2060.125C97.5039%2049.9077%2088.4386%2041.625%2077.2559%2041.625C66.0732%2041.625%2057.0079%2049.9077%2057.0079%2060.125C57.0079%2070.3423%2066.0732%2078.625%2077.2559%2078.625Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15%2026L138.699%2097.4178'%20stroke='%23A6A3AD'%20stroke-width='10'%20stroke-linecap='round'/%3e%3c/svg%3e";
6069
+ }), d5 = /* @__PURE__ */ ae(nc, [["__scopeId", "data-v-f15cc790"]]), rc = "data:image/svg+xml,%3csvg%20width='111'%20height='111'%20viewBox='0%200%20111%20111'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M106.375%2087.875C106.375%2090.3283%20105.4%2092.681%20103.666%2094.4157C101.931%2096.1504%2099.5783%2097.125%2097.125%2097.125H13.875C11.4217%2097.125%209.06897%2096.1504%207.33426%2094.4157C5.59955%2092.681%204.625%2090.3283%204.625%2087.875V37C4.625%2034.5467%205.59955%2032.194%207.33426%2030.4593C9.06897%2028.7246%2011.4217%2027.75%2013.875%2027.75H32.375L41.625%2013.875H69.375L78.625%2027.75H97.125C99.5783%2027.75%20101.931%2028.7246%20103.666%2030.4593C105.4%2032.194%20106.375%2034.5467%20106.375%2037V87.875Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M55.5%2078.625C65.7173%2078.625%2074%2070.3423%2074%2060.125C74%2049.9077%2065.7173%2041.625%2055.5%2041.625C45.2827%2041.625%2037%2049.9077%2037%2060.125C37%2070.3423%2045.2827%2078.625%2055.5%2078.625Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ic = "data:image/svg+xml,%3csvg%20width='147'%20height='111'%20viewBox='0%200%20147%20111'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M132.938%2087.875C132.938%2090.3283%20131.871%2092.681%20129.973%2094.4157C128.074%2096.1504%20125.499%2097.125%20122.814%2097.125H31.6978C29.0128%2097.125%2026.4377%2096.1504%2024.5391%2094.4157C22.6405%2092.681%2021.5738%2090.3283%2021.5738%2087.875V37C21.5738%2034.5467%2022.6405%2032.194%2024.5391%2030.4593C26.4377%2028.7246%2029.0128%2027.75%2031.6978%2027.75H51.9459L62.0699%2013.875H92.4419L102.566%2027.75H122.814C125.499%2027.75%20128.074%2028.7246%20129.973%2030.4593C131.871%2032.194%20132.938%2034.5467%20132.938%2037V87.875Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M77.2559%2078.625C88.4386%2078.625%2097.5039%2070.3423%2097.5039%2060.125C97.5039%2049.9077%2088.4386%2041.625%2077.2559%2041.625C66.0732%2041.625%2057.0079%2049.9077%2057.0079%2060.125C57.0079%2070.3423%2066.0732%2078.625%2077.2559%2078.625Z'%20stroke='%23A6A3AD'%20stroke-width='9.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15%2026L138.699%2097.4178'%20stroke='%23A6A3AD'%20stroke-width='10'%20stroke-linecap='round'/%3e%3c/svg%3e";
6062
6070
  var p5 = /* @__PURE__ */ ((s) => (s.jpg = "jpg", s.png = "png", s.jpeg = "jpeg", s))(p5 || {}), C5 = /* @__PURE__ */ ((s) => (s.mp4 = "mp4", s.mp3 = "mp3", s))(C5 || {});
6063
- const Ki = (s) => (Zi("data-v-127aeda2"), s = s(), Ni(), s), ic = { class: "slider-yui-kit" }, oc = {
6071
+ const Ki = (s) => (Zi("data-v-127aeda2"), s = s(), Ni(), s), oc = { class: "slider-yui-kit" }, sc = {
6064
6072
  class: "slider-yui-kit__wrapper",
6065
6073
  ref: "slider-yui-kitWrapperRef"
6066
- }, sc = ["disabled"], lc = { class: "slider-yui-kit__slides" }, uc = {
6074
+ }, lc = ["disabled"], uc = { class: "slider-yui-kit__slides" }, ac = {
6067
6075
  key: 0,
6068
6076
  class: "placeholder-yui-kit"
6069
- }, ac = /* @__PURE__ */ Ki(() => /* @__PURE__ */ E("img", {
6070
- src: nc,
6077
+ }, cc = /* @__PURE__ */ Ki(() => /* @__PURE__ */ E("img", {
6078
+ src: rc,
6071
6079
  alt: "",
6072
6080
  width: "111px",
6073
6081
  height: "111px"
6074
- }, null, -1)), cc = /* @__PURE__ */ Ki(() => /* @__PURE__ */ E("p", null, "Контент отсутствует", -1)), fc = [
6075
- ac,
6076
- cc
6077
- ], hc = {
6082
+ }, null, -1)), fc = /* @__PURE__ */ Ki(() => /* @__PURE__ */ E("p", null, "Контент отсутствует", -1)), hc = [
6083
+ cc,
6084
+ fc
6085
+ ], dc = {
6078
6086
  key: 1,
6079
6087
  class: "placeholder-yui-kit"
6080
- }, dc = /* @__PURE__ */ Ki(() => /* @__PURE__ */ E("img", {
6081
- src: rc,
6088
+ }, pc = /* @__PURE__ */ Ki(() => /* @__PURE__ */ E("img", {
6089
+ src: ic,
6082
6090
  alt: "",
6083
6091
  width: "111px",
6084
6092
  height: "111px"
6085
- }, null, -1)), pc = ["src"], Cc = ["src"], gc = ["disabled"], nr = "slider-yui-kit__full-size", _c = /* @__PURE__ */ Q1({
6093
+ }, null, -1)), Cc = ["src"], gc = ["src"], _c = ["disabled"], nr = "slider-yui-kit__full-size", vc = /* @__PURE__ */ Q1({
6086
6094
  __name: "Slider",
6087
6095
  props: {
6088
6096
  items: {},
@@ -6127,8 +6135,8 @@ const Ki = (s) => (Zi("data-v-127aeda2"), s = s(), Ni(), s), ic = { class: "slid
6127
6135
  i.files = h.items, i.files.length === 0 && (i.disabledNext = !0), h.defaultIndex && (i.file = i.files[i.defaultIndex]), i.file = i.files[i.currentIndex];
6128
6136
  }), (O, j) => {
6129
6137
  var n1, p1, D1, x1;
6130
- return T(), D("div", ic, [
6131
- E("div", oc, [
6138
+ return T(), D("div", oc, [
6139
+ E("div", sc, [
6132
6140
  E("button", {
6133
6141
  class: "slider-yui-kit__button slider-yui-kit__button--prev",
6134
6142
  onClick: B,
@@ -6137,11 +6145,11 @@ const Ki = (s) => (Zi("data-v-127aeda2"), s = s(), Ni(), s), ic = { class: "slid
6137
6145
  L1(y1, {
6138
6146
  name: t1(_1).leftBig
6139
6147
  }, null, 8, ["name"])
6140
- ], 8, sc),
6141
- E("div", lc, [
6142
- J() ? (T(), D("div", uc, fc)) : s1("", !0),
6143
- $() ? (T(), D("div", hc, [
6144
- dc,
6148
+ ], 8, lc),
6149
+ E("div", uc, [
6150
+ J() ? (T(), D("div", ac, hc)) : s1("", !0),
6151
+ $() ? (T(), D("div", dc, [
6152
+ pc,
6145
6153
  E("p", null, "." + A1(i.extension), 1)
6146
6154
  ])) : s1("", !0),
6147
6155
  m(((n1 = i.file) == null ? void 0 : n1.path) ?? "") ? (T(), D("img", {
@@ -6150,7 +6158,7 @@ const Ki = (s) => (Zi("data-v-127aeda2"), s = s(), Ni(), s), ic = { class: "slid
6150
6158
  src: ((p1 = i.file) == null ? void 0 : p1.path) ?? "",
6151
6159
  ref_key: "fullsizeImageRef",
6152
6160
  ref: g
6153
- }, null, 8, pc)) : s1("", !0),
6161
+ }, null, 8, Cc)) : s1("", !0),
6154
6162
  w(((D1 = i.file) == null ? void 0 : D1.path) ?? "") ? (T(), D("video", {
6155
6163
  key: 3,
6156
6164
  onClick: j[1] || (j[1] = (O1) => M(O1)),
@@ -6158,7 +6166,7 @@ const Ki = (s) => (Zi("data-v-127aeda2"), s = s(), Ni(), s), ic = { class: "slid
6158
6166
  }, [
6159
6167
  E("source", {
6160
6168
  src: ((x1 = i.file) == null ? void 0 : x1.path) ?? ""
6161
- }, null, 8, Cc)
6169
+ }, null, 8, gc)
6162
6170
  ])) : s1("", !0)
6163
6171
  ]),
6164
6172
  E("button", {
@@ -6169,12 +6177,12 @@ const Ki = (s) => (Zi("data-v-127aeda2"), s = s(), Ni(), s), ic = { class: "slid
6169
6177
  L1(y1, {
6170
6178
  name: t1(_1).rightBig
6171
6179
  }, null, 8, ["name"])
6172
- ], 8, gc)
6180
+ ], 8, _c)
6173
6181
  ], 512)
6174
6182
  ]);
6175
6183
  };
6176
6184
  }
6177
- }), g5 = /* @__PURE__ */ ae(_c, [["__scopeId", "data-v-127aeda2"]]), vc = ["disabled"], kc = ["id"], yc = ["for"], wc = /* @__PURE__ */ Q1({
6185
+ }), g5 = /* @__PURE__ */ ae(vc, [["__scopeId", "data-v-127aeda2"]]), kc = ["disabled"], yc = ["id"], wc = ["for"], mc = /* @__PURE__ */ Q1({
6178
6186
  __name: "Toggle",
6179
6187
  props: {
6180
6188
  disabled: { type: Boolean, default: !1 },
@@ -6199,21 +6207,21 @@ const Ki = (s) => (Zi("data-v-127aeda2"), s = s(), Ni(), s), ic = { class: "slid
6199
6207
  type: "checkbox",
6200
6208
  "onUpdate:modelValue": B[0] || (B[0] = (V) => g.value = V),
6201
6209
  onChange: S
6202
- }, null, 40, kc), [
6210
+ }, null, 40, yc), [
6203
6211
  [p9, g.value]
6204
6212
  ]),
6205
6213
  E("label", {
6206
6214
  class: "toggle-yui-kit-label",
6207
6215
  for: t1(_)
6208
- }, null, 8, yc)
6209
- ], 14, vc));
6216
+ }, null, 8, wc)
6217
+ ], 14, kc));
6210
6218
  }
6211
- }), Yi = /* @__PURE__ */ ae(wc, [["__scopeId", "data-v-c301d7fe"]]);
6219
+ }), Yi = /* @__PURE__ */ ae(mc, [["__scopeId", "data-v-c301d7fe"]]);
6212
6220
  var ot = /* @__PURE__ */ ((s) => (s.profile = "profile", s.theme = "theme", s.options = "options", s.exit = "exit", s.help = "help", s))(ot || {});
6213
- const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu-yui-kit" }, Lc = { class: "menu-yui-kit__wrapper" }, Sc = { class: "menu-yui-kit__avatar" }, xc = ["src"], bc = { class: "menu-yui-kit__names" }, Mc = { class: "menu-yui-kit__name" }, Ac = { class: "menu-yui-kit__role" }, Oc = {
6221
+ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), Lc = { class: "menu-yui-kit" }, Sc = { class: "menu-yui-kit__wrapper" }, xc = { class: "menu-yui-kit__avatar" }, bc = ["src"], Mc = { class: "menu-yui-kit__names" }, Ac = { class: "menu-yui-kit__name" }, Oc = { class: "menu-yui-kit__role" }, Vc = {
6214
6222
  key: 0,
6215
6223
  class: "menu-yui-kit__list"
6216
- }, Vc = { class: "list-yui-kit" }, Hc = /* @__PURE__ */ Ji(() => /* @__PURE__ */ E("span", { class: "list-yui-kit__item-text" }, "Профиль", -1)), Tc = { class: "list-yui-kit__item" }, Ic = /* @__PURE__ */ Ji(() => /* @__PURE__ */ E("span", { class: "list-yui-kit__item-text" }, "Настройки", -1)), Rc = /* @__PURE__ */ Ji(() => /* @__PURE__ */ E("span", { class: "list-yui-kit__item-text" }, "Выход", -1)), Ec = ["data-type"], Pc = /* @__PURE__ */ Q1({
6224
+ }, Hc = { class: "list-yui-kit" }, Tc = /* @__PURE__ */ Ji(() => /* @__PURE__ */ E("span", { class: "list-yui-kit__item-text" }, "Профиль", -1)), Ic = { class: "list-yui-kit__item" }, Rc = /* @__PURE__ */ Ji(() => /* @__PURE__ */ E("span", { class: "list-yui-kit__item-text" }, "Настройки", -1)), Ec = /* @__PURE__ */ Ji(() => /* @__PURE__ */ E("span", { class: "list-yui-kit__item-text" }, "Выход", -1)), Pc = ["data-type"], Dc = /* @__PURE__ */ Q1({
6217
6225
  __name: "UserMenu",
6218
6226
  props: {
6219
6227
  closeAfterClick: { type: Boolean },
@@ -6243,13 +6251,13 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6243
6251
  };
6244
6252
  return ($, O) => {
6245
6253
  var j, n1, p1;
6246
- return T(), D("div", mc, [
6247
- E("div", Lc, [
6248
- E("div", Sc, [
6254
+ return T(), D("div", Lc, [
6255
+ E("div", Sc, [
6256
+ E("div", xc, [
6249
6257
  M.value ? (T(), D("img", {
6250
6258
  key: 0,
6251
6259
  src: i.user.avatar
6252
- }, null, 8, xc)) : (T(), De(y1, {
6260
+ }, null, 8, bc)) : (T(), De(y1, {
6253
6261
  key: 1,
6254
6262
  name: t1(_1).profile
6255
6263
  }, null, 8, ["name"]))
@@ -6258,9 +6266,9 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6258
6266
  class: w1(_.value),
6259
6267
  onClick: B
6260
6268
  }, [
6261
- E("div", bc, [
6262
- E("p", Mc, A1(i.user.name), 1),
6263
- E("p", Ac, A1(i.user.role), 1)
6269
+ E("div", Mc, [
6270
+ E("p", Ac, A1(i.user.name), 1),
6271
+ E("p", Oc, A1(i.user.role), 1)
6264
6272
  ]),
6265
6273
  L1(Wi, {
6266
6274
  type: t1(st).ghost,
@@ -6273,8 +6281,8 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6273
6281
  }, 8, ["type"])
6274
6282
  ], 2)
6275
6283
  ]),
6276
- a.isShow ? (T(), D("div", Oc, [
6277
- E("ul", Vc, [
6284
+ a.isShow ? (T(), D("div", Vc, [
6285
+ E("ul", Hc, [
6278
6286
  E("li", {
6279
6287
  class: "list-yui-kit__item",
6280
6288
  onClick: O[0] || (O[0] = (D1) => w(t1(ot).profile))
@@ -6282,9 +6290,9 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6282
6290
  L1(y1, {
6283
6291
  name: t1(_1).profile
6284
6292
  }, null, 8, ["name"]),
6285
- Hc
6293
+ Tc
6286
6294
  ]),
6287
- E("li", Tc, [
6295
+ E("li", Ic, [
6288
6296
  L1(y1, { name: m.value }, null, 8, ["name"]),
6289
6297
  E("span", {
6290
6298
  class: "list-yui-kit__item-text",
@@ -6302,7 +6310,7 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6302
6310
  L1(y1, {
6303
6311
  name: t1(_1).settings
6304
6312
  }, null, 8, ["name"]),
6305
- Ic
6313
+ Rc
6306
6314
  ]),
6307
6315
  E("li", {
6308
6316
  class: "list-yui-kit__item",
@@ -6311,7 +6319,7 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6311
6319
  L1(y1, {
6312
6320
  name: t1(_1).exit
6313
6321
  }, null, 8, ["name"]),
6314
- Rc
6322
+ Ec
6315
6323
  ]),
6316
6324
  E("li", {
6317
6325
  class: "list-yui-kit__item",
@@ -6323,7 +6331,7 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6323
6331
  E("span", {
6324
6332
  class: "list-yui-kit__item-text",
6325
6333
  "data-type": t1(ot).help
6326
- }, "Помощь", 8, Ec)
6334
+ }, "Помощь", 8, Pc)
6327
6335
  ])
6328
6336
  ]),
6329
6337
  (j = i.languages) != null && j.items ? (T(), De(ji, {
@@ -6336,7 +6344,7 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6336
6344
  ]);
6337
6345
  };
6338
6346
  }
6339
- }), _5 = /* @__PURE__ */ ae(Pc, [["__scopeId", "data-v-ea61169d"]]), U2 = {
6347
+ }), _5 = /* @__PURE__ */ ae(Dc, [["__scopeId", "data-v-ea61169d"]]), U2 = {
6340
6348
  Badges: At,
6341
6349
  BreadCrumbs: G2,
6342
6350
  Button: Wi,
@@ -6348,12 +6356,12 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6348
6356
  Slider: g5,
6349
6357
  Toggle: Yi,
6350
6358
  UserMenu: _5
6351
- }, Dc = La(), Bc = (s) => {
6352
- s.use(Dc), Object.keys(U2).forEach((h) => {
6359
+ }, Bc = Sa(), $c = (s) => {
6360
+ s.use(Bc), Object.keys(U2).forEach((h) => {
6353
6361
  s.component("Y" + h, U2[h]);
6354
6362
  });
6355
- }, $c = {
6356
- install: Bc
6363
+ }, Uc = {
6364
+ install: $c
6357
6365
  }, F2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6358
6366
  __proto__: null,
6359
6367
  Badges: At,
@@ -6367,8 +6375,8 @@ const Ji = (s) => (Zi("data-v-ea61169d"), s = s(), Ni(), s), mc = { class: "menu
6367
6375
  Switch: ji,
6368
6376
  Toggle: Yi,
6369
6377
  UserMenu: _5,
6370
- default: $c
6371
- }, Symbol.toStringTag, { value: "Module" })), Fc = {
6378
+ default: Uc
6379
+ }, Symbol.toStringTag, { value: "Module" })), Zc = {
6372
6380
  install(s) {
6373
6381
  for (const h in F2) {
6374
6382
  const i = F2[h];
@@ -6388,5 +6396,5 @@ export {
6388
6396
  ji as Switch,
6389
6397
  Yi as Toggle,
6390
6398
  _5 as UserMenu,
6391
- Fc as default
6399
+ Zc as default
6392
6400
  };
@@ -53,7 +53,10 @@
53
53
  <rect width="24" height="24" fill="currentColor"/>
54
54
  </clipPath>
55
55
  </defs>
56
- `},dark:{name:"dark",style:"line",path:`
56
+ `},crossLarge:{name:"crossLarge",style:"line",path:`
57
+ <path d="M18 6.62714L6 18.6271" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" fill="none"/>
58
+ <path d="M6 6.62714L18 18.6271" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" fill="none"/>
59
+ `},dark:{name:"dark",style:"line",path:`
57
60
  <path
58
61
  d="M15.3636 16.6364C15.3636 15.6117 14.9566 14.6289 14.232 13.9044C13.5074 13.1798 12.5247 12.7727 11.5 12.7727C10.4753 12.7727 9.49257 13.1798 8.768 13.9044C8.04342 14.6289 7.63636 15.6117 7.63636 16.6364"
59
62
  stroke="currentColor" stroke-width="1.54545" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
@@ -335,7 +338,7 @@
335
338
  <g id="menu/write-downs">
336
339
  <path id="Vector" d="M9.33327 12.8888H14.6665M4 6.66667V16.2666C4 17.2622 4 17.7595 4.19376 18.1398C4.3642 18.4743 4.63597 18.747 4.97047 18.9174C5.35039 19.111 5.84797 19.111 6.84166 19.111H17.1587C18.1524 19.111 18.6493 19.111 19.0292 18.9174C19.3637 18.747 19.6358 18.4746 19.8062 18.1401C20 17.7598 20 17.262 20 16.2664L20 9.51089C20 8.51525 20 8.01743 19.8062 7.63715C19.6358 7.30264 19.3631 7.03088 19.0286 6.86044C18.6483 6.66667 18.151 6.66667 17.1554 6.66667H11.9999M4 6.66667H11.9999M4 6.66667C4 5.68484 4.79593 4.88892 5.77776 4.88892H9.04395C9.47878 4.88892 9.69696 4.88892 9.90155 4.93804C10.0829 4.98158 10.2558 5.05359 10.4149 5.15107C10.5942 5.26097 10.7482 5.41498 11.0555 5.72224L11.9999 6.66667" stroke="currentColor" stroke-width="0.888878" stroke-linecap="round" stroke-linejoin="round" fill="none"/>
337
340
  </g>
338
- `}},Symbol.toStringTag,{value:"Module"})),jl=["width","height","viewBox"],Gl=["innerHTML"],he=i.defineComponent({__name:"Icon",props:{height:{default:24},width:{default:24},name:{},color:{default:To.black}},setup(l){const d=l,o=i.computed(()=>{var u;return(u=Io[d.name])==null?void 0:u.path});return(u,_)=>{var k;return i.openBlock(),i.createElementBlock("svg",{class:"icon-yui-kit",width:d.width,height:d.height,style:i.normalizeStyle(d.color),viewBox:((k=i.unref(Io)[d.name])==null?void 0:k.viewbox)||"0 0 24 24"},[i.createElementVNode("g",{innerHTML:o.value},null,8,Gl)],12,jl)}}});var de=(l=>(l.notification="notification",l.notificationYes="notificationYes",l.help="help",l.moonFill="moonFill",l.arrowLeft="arrowLeft",l.chevronDown="chevronDown",l.chevronUp="chevronUp",l.dark="dark",l.exitBig="exitBig",l.exitSmall="exitSmall",l.exit="exit",l.leftBigSmall="leftBigSmall",l.leftBig="leftBig",l.light="light",l.plusSmall="plusSmall",l.plus="plus",l.profileIcon="profileIcon",l.profile="profile",l.rightBig="rightBig",l.rightSmall="rightSmall",l.settings="settings",l.settingsDark="settingsDark",l.searchNormal="searchNormal",l.search="search",l.filter="filter",l.bgNotContent="bgNotContent",l.document="document",l.baseDetail="baseDetail",l.addPlus="addPlus",l.closeVision="closeVision",l.openVision="openVision",l.trash="trash",l.printer="printer",l.uploadCloud="uploadCloud",l.archive="archive",l.menuClose="menuClose",l.menuOpen="menuOpen",l.bookOpen="bookOpen",l.chartLine="chartLine",l.marriage="marriage",l.baseOfAssemblyUnits="baseOfAssemblyUnits",l.equipmentBase="equipmentBase",l.supplierDatabase="supplierDatabase",l.theDatabaseOfMaterials="theDatabaseOfMaterials",l.theBaseOfTheTool="theBaseOfTheTool",l.fileDatabase="fileDatabase",l.baseOfEquipmentAndInventory="baseOfEquipmentAndInventory",l.mainPage="mainPage",l.shopping="shopping",l.shippingTasks="shippingTasks",l.warehouse="warehouse",l.production="production",l.wastes="wastes",l.paperClip="paperClip",l.writeDowns="writeDowns",l.theComplaint="theComplaint",l.usersGroup="usersGroup",l.reports="reports",l.editing="editing",l.shadedArrowDown="shadedArrowDown",l.shadedArrowRight="shadedArrowRight",l.shadedArrowLeft="shadedArrowLeft",l.shadedArrowUp="shadedArrowUp",l.star="star",l.info="info",l.files="files",l.moreHorizontal="moreHorizontal",l.fileText="fileText",l.gitPullRequest="gitPullRequest",l.folder="folder",l))(de||{});const zl={class:"bread-crumbs-yui-kit"},ql={key:0},Kl=["onClick"],Yl={key:0,class:"fullName-yui-kit"},Jl=["onClick"],Xl={key:0,class:"fullName-yui-kit"},Kn=15,Yn=Ge(i.defineComponent({__name:"BreadCrumbs",props:{items:{}},emits:["click"],setup(l,{emit:d}){const o=l,u=d,_=i.reactive({items:[],crumbs:i.computed(()=>{const O=o.items.length<4?o.items.length-1:3;let K=[o.items[0],...o.items.slice(-O)];return o.items.length===1&&(K=[o.items[0]]),K.map(N=>(N.isSub=!1,N))}),subCrumbs:i.computed(()=>o.items.slice(1,-3).map(O=>(O.isSub=!0,O))),getClassesLink:i.computed(()=>O=>({"bread-crumbs-yui-kit__link":!0,"disabled-yui-kit":!O.path})),getClassesSpan:i.computed(()=>O=>({"checked-yui-kit":O===_.crumbs.length-1})),fullTitle:i.computed(()=>O=>O.title.length>Kn),isShowList:!1}),k=i.computed(()=>({"bread-crumbs-yui-kit__item":!0})),S=i.computed(()=>({crumbs:{"bread-subcrumbs-yui-kit":!0,"scroll-yui-kit":!0,"active-yui-kit":_.isShowList}})),L=(O,K)=>{K!==_.items.length-1&&(O.isSub&&v(),o.items.forEach(({path:N},A)=>{N===O.path&&u("click",{title:O.title,path:O.path,inx:A+1})}))},v=()=>_.isShowList=!_.isShowList,M=O=>O.title.length>Kn?O.title.slice(0,Kn)+"...":O.title,I=O=>_.items.length>=5&&O===1;return i.onMounted(()=>_.items=_.crumbs.concat(_.subCrumbs)),(O,K)=>(i.openBlock(),i.createElementBlock("ul",zl,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(_.items,(N,A)=>(i.openBlock(),i.createElementBlock("li",{class:i.normalizeClass(k.value),key:N.path},[I(A)?(i.openBlock(),i.createElementBlock("div",ql,[i.createElementVNode("span",{class:"bread-crumbs-yui-kit--closed",onClick:v},"..."),i.createElementVNode("ul",{class:i.normalizeClass(S.value.crumbs)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(_.subCrumbs,(Z,X)=>(i.openBlock(),i.createElementBlock("li",{key:Z.path,class:i.normalizeClass(k.value)},[i.createElementVNode("span",{onClick:ce=>L(Z,X)},[i.createTextVNode(i.toDisplayString(M(Z)),1),_.fullTitle(N)?(i.openBlock(),i.createElementBlock("span",Yl,i.toDisplayString(Z.title),1)):i.createCommentVNode("",!0)],8,Kl)],2))),128))],2)])):i.createCommentVNode("",!0),N.isSub?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",{key:1,class:i.normalizeClass(_.getClassesLink(N))},[i.createElementVNode("span",{class:i.normalizeClass(_.getClassesSpan(A)),onClick:Z=>L(N,A)},[i.createTextVNode(i.toDisplayString(M(N)),1),_.fullTitle(N)?(i.openBlock(),i.createElementBlock("span",Xl,i.toDisplayString(N.title),1)):i.createCommentVNode("",!0)],10,Jl),A!==_.crumbs.length-1?(i.openBlock(),i.createBlock(he,{key:0,name:i.unref(de).rightSmall},null,8,["name"])):i.createCommentVNode("",!0)],2))],2))),128))]))}}),[["__scopeId","data-v-08d48cdf"]]);var No=(l=>(l.small="small",l.medium="medium",l.large="large",l))(No||{}),Dt=(l=>(l.primary="primary",l.outline="outline",l.ghost="ghost",l.secondary="secondary",l))(Dt||{});const Ql=["disabled"],e2=i.defineComponent({__name:"Button",props:{disabled:{type:Boolean,default:!1},size:{default:No.medium},type:{default:Dt.primary},pill:{type:Boolean,default:!1},backgroundColor:{},color:{default:""}},emits:["click"],setup(l,{emit:d}){const o=l,u=d,_=i.computed(()=>({"button-yui-kit":!0,[o.size]:!0,"disabled-yui-kit":o.disabled,"pill-yui-kit":o.pill,"primary-yui-kit":o.type===Dt.primary,"secondary-yui-kit":o.type===Dt.secondary,"outline-yui-kit":o.type===Dt.outline,"ghost-yui-kit":o.type===Dt.ghost})),k=i.computed(()=>({backgroundColor:o.backgroundColor})),S=i.computed(()=>({color:o.color==="primary"||o.color==="secondary"?"black":o.color})),L=v=>u("click",v);return(v,M)=>(i.openBlock(),i.createElementBlock("button",{class:i.normalizeClass(_.value),disabled:o.disabled,style:i.normalizeStyle(k.value),onClick:L},[v.$slots["left-icon"]?(i.openBlock(),i.createElementBlock("span",{key:0,style:i.normalizeStyle(S.value)},[i.renderSlot(v.$slots,"left-icon",{},void 0,!0)],4)):i.createCommentVNode("",!0),i.renderSlot(v.$slots,"default",{},void 0,!0),v.$slots["right-icon"]?(i.openBlock(),i.createElementBlock("span",{key:1,style:i.normalizeStyle(S.value)},[i.renderSlot(v.$slots,"right-icon",{},void 0,!0)],4)):i.createCommentVNode("",!0)],14,Ql))}}),Z1=Ge(e2,[["__scopeId","data-v-86c6700f"]]),t2={class:"switch-yui-kit-list"},n2=["onClick"],W1=Ge(i.defineComponent({__name:"Switch",props:{items:{},defaultValue:{}},emits:["languageSwitch"],setup(l,{emit:d}){const o=l,u=i.reactive({activeIndex:0}),_=d,k=L=>({"switch-yui-kit-item":!0,"switch-yui-kit-active":u.activeIndex===L}),S=L=>{u.activeIndex=L,_("languageSwitch",{index:L,value:o.items[L]})};return i.onMounted(()=>{o.defaultValue&&o.items.includes(o.defaultValue)&&(u.activeIndex=o.items.indexOf(o.defaultValue))}),(L,v)=>(i.openBlock(),i.createElementBlock("ul",t2,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.items,(M,I)=>(i.openBlock(),i.createElementBlock("li",{key:M,class:i.normalizeClass(k(I)),onClick:O=>S(I)},i.toDisplayString(M),11,n2))),128))]))}}),[["__scopeId","data-v-c13888eb"]]),r2={class:"dropdown-yui-kit"},o2={class:"truncate-yui-kit"},i2={key:0,class:"dropdown-yui-kit__list"},s2=["onClick"],Jn="active-yui-kit",Xn=Ge(i.defineComponent({__name:"Dropdown",props:{options:{}},emits:["click"],setup(l,{emit:d}){const o=l,u=i.reactive({isOpened:!1,choosedOption:o.options[0]||"",lengthOption:0}),_=d,k=i.computed(()=>({"dropdown-yui-kit__item":!0,"truncate-yui-kit":!0})),S=v=>{u.choosedOption=v,_("click",u.choosedOption),u.isOpened=!1},L=v=>{u.isOpened=!u.isOpened;const M=v.currentTarget;M&&(M.classList.contains(Jn)?M.classList.remove(Jn):M.classList.add(Jn))};return(v,M)=>(i.openBlock(),i.createElementBlock("div",r2,[i.createElementVNode("span",{class:"dropdown-yui-kit__current",onClick:M[0]||(M[0]=I=>L(I))},[i.createElementVNode("span",o2,i.toDisplayString(u.choosedOption),1),u.isOpened?(i.openBlock(),i.createBlock(he,{key:0,name:i.unref(de).chevronDown},null,8,["name"])):i.createCommentVNode("",!0),u.isOpened?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(he,{key:1,name:i.unref(de).chevronUp},null,8,["name"]))]),u.isOpened?(i.openBlock(),i.createElementBlock("ul",i2,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.options,I=>(i.openBlock(),i.createElementBlock("li",{class:i.normalizeClass([k.value,{active:I===u.choosedOption}]),onClick:()=>S(I),key:I},i.toDisplayString(I),11,s2))),128))])):i.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-49c04810"]]);var Do=!1;function j1(l,d,o){return Array.isArray(l)?(l.length=Math.max(l.length,d),l.splice(d,1,o),o):(l[d]=o,o)}function Qn(l,d){if(Array.isArray(l)){l.splice(d,1);return}delete l[d]}function l2(){return Po().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Po(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const a2=typeof Proxy=="function",c2="devtools-plugin:setup",u2="plugin:settings:set";let Xt,er;function f2(){var l;return Xt!==void 0||(typeof window<"u"&&window.performance?(Xt=!0,er=window.performance):typeof globalThis<"u"&&(!((l=globalThis.perf_hooks)===null||l===void 0)&&l.performance)?(Xt=!0,er=globalThis.perf_hooks.performance):Xt=!1),Xt}function h2(){return f2()?er.now():Date.now()}class d2{constructor(d,o){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=d,this.hook=o;const u={};if(d.settings)for(const S in d.settings){const L=d.settings[S];u[S]=L.defaultValue}const _=`__vue-devtools-plugin-settings__${d.id}`;let k=Object.assign({},u);try{const S=localStorage.getItem(_),L=JSON.parse(S);Object.assign(k,L)}catch{}this.fallbacks={getSettings(){return k},setSettings(S){try{localStorage.setItem(_,JSON.stringify(S))}catch{}k=S},now(){return h2()}},o&&o.on(u2,(S,L)=>{S===this.plugin.id&&this.fallbacks.setSettings(L)}),this.proxiedOn=new Proxy({},{get:(S,L)=>this.target?this.target.on[L]:(...v)=>{this.onQueue.push({method:L,args:v})}}),this.proxiedTarget=new Proxy({},{get:(S,L)=>this.target?this.target[L]:L==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(L)?(...v)=>(this.targetQueue.push({method:L,args:v,resolve:()=>{}}),this.fallbacks[L](...v)):(...v)=>new Promise(M=>{this.targetQueue.push({method:L,args:v,resolve:M})})})}async setRealTarget(d){this.target=d;for(const o of this.onQueue)this.target.on[o.method](...o.args);for(const o of this.targetQueue)o.resolve(await this.target[o.method](...o.args))}}function $o(l,d){const o=l,u=Po(),_=l2(),k=a2&&o.enableEarlyProxy;if(_&&(u.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!k))_.emit(c2,l,d);else{const S=k?new d2(o,_):null;(u.__VUE_DEVTOOLS_PLUGINS__=u.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:o,setupFn:d,proxy:S}),S&&d(S.proxiedTarget)}}/*!
341
+ `}},Symbol.toStringTag,{value:"Module"})),jl=["width","height","viewBox"],Gl=["innerHTML"],he=i.defineComponent({__name:"Icon",props:{height:{default:24},width:{default:24},name:{},color:{default:To.black}},setup(l){const d=l,o=i.computed(()=>{var u;return(u=Io[d.name])==null?void 0:u.path});return(u,_)=>{var k;return i.openBlock(),i.createElementBlock("svg",{class:"icon-yui-kit",width:d.width,height:d.height,style:i.normalizeStyle(d.color),viewBox:((k=i.unref(Io)[d.name])==null?void 0:k.viewbox)||"0 0 24 24"},[i.createElementVNode("g",{innerHTML:o.value},null,8,Gl)],12,jl)}}});var de=(l=>(l.notification="notification",l.notificationYes="notificationYes",l.help="help",l.moonFill="moonFill",l.arrowLeft="arrowLeft",l.chevronDown="chevronDown",l.chevronUp="chevronUp",l.dark="dark",l.exitBig="exitBig",l.exitSmall="exitSmall",l.exit="exit",l.leftBigSmall="leftBigSmall",l.leftBig="leftBig",l.light="light",l.plusSmall="plusSmall",l.plus="plus",l.profileIcon="profileIcon",l.profile="profile",l.rightBig="rightBig",l.rightSmall="rightSmall",l.settings="settings",l.settingsDark="settingsDark",l.searchNormal="searchNormal",l.search="search",l.filter="filter",l.bgNotContent="bgNotContent",l.document="document",l.baseDetail="baseDetail",l.addPlus="addPlus",l.closeVision="closeVision",l.openVision="openVision",l.trash="trash",l.printer="printer",l.uploadCloud="uploadCloud",l.archive="archive",l.menuClose="menuClose",l.menuOpen="menuOpen",l.bookOpen="bookOpen",l.chartLine="chartLine",l.marriage="marriage",l.baseOfAssemblyUnits="baseOfAssemblyUnits",l.equipmentBase="equipmentBase",l.supplierDatabase="supplierDatabase",l.theDatabaseOfMaterials="theDatabaseOfMaterials",l.theBaseOfTheTool="theBaseOfTheTool",l.fileDatabase="fileDatabase",l.baseOfEquipmentAndInventory="baseOfEquipmentAndInventory",l.mainPage="mainPage",l.shopping="shopping",l.shippingTasks="shippingTasks",l.warehouse="warehouse",l.production="production",l.wastes="wastes",l.paperClip="paperClip",l.writeDowns="writeDowns",l.theComplaint="theComplaint",l.usersGroup="usersGroup",l.reports="reports",l.editing="editing",l.shadedArrowDown="shadedArrowDown",l.shadedArrowRight="shadedArrowRight",l.shadedArrowLeft="shadedArrowLeft",l.shadedArrowUp="shadedArrowUp",l.star="star",l.info="info",l.files="files",l.moreHorizontal="moreHorizontal",l.fileText="fileText",l.gitPullRequest="gitPullRequest",l.folder="folder",l.crossLarge="crossLarge",l))(de||{});const zl={class:"bread-crumbs-yui-kit"},ql={key:0},Kl=["onClick"],Yl={key:0,class:"fullName-yui-kit"},Jl=["onClick"],Xl={key:0,class:"fullName-yui-kit"},Kn=15,Yn=Ge(i.defineComponent({__name:"BreadCrumbs",props:{items:{}},emits:["click"],setup(l,{emit:d}){const o=l,u=d,_=i.reactive({items:[],crumbs:i.computed(()=>{const O=o.items.length<4?o.items.length-1:3;let K=[o.items[0],...o.items.slice(-O)];return o.items.length===1&&(K=[o.items[0]]),K.map(N=>(N.isSub=!1,N))}),subCrumbs:i.computed(()=>o.items.slice(1,-3).map(O=>(O.isSub=!0,O))),getClassesLink:i.computed(()=>O=>({"bread-crumbs-yui-kit__link":!0,"disabled-yui-kit":!O.path})),getClassesSpan:i.computed(()=>O=>({"checked-yui-kit":O===_.crumbs.length-1})),fullTitle:i.computed(()=>O=>O.title.length>Kn),isShowList:!1}),k=i.computed(()=>({"bread-crumbs-yui-kit__item":!0})),S=i.computed(()=>({crumbs:{"bread-subcrumbs-yui-kit":!0,"scroll-yui-kit":!0,"active-yui-kit":_.isShowList}})),L=(O,K)=>{K!==_.items.length-1&&(O.isSub&&v(),o.items.forEach(({path:N},A)=>{N===O.path&&u("click",{title:O.title,path:O.path,inx:A+1})}))},v=()=>_.isShowList=!_.isShowList,M=O=>O.title.length>Kn?O.title.slice(0,Kn)+"...":O.title,I=O=>_.items.length>=5&&O===1;return i.onMounted(()=>_.items=_.crumbs.concat(_.subCrumbs)),(O,K)=>(i.openBlock(),i.createElementBlock("ul",zl,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(_.items,(N,A)=>(i.openBlock(),i.createElementBlock("li",{class:i.normalizeClass(k.value),key:N.path},[I(A)?(i.openBlock(),i.createElementBlock("div",ql,[i.createElementVNode("span",{class:"bread-crumbs-yui-kit--closed",onClick:v},"..."),i.createElementVNode("ul",{class:i.normalizeClass(S.value.crumbs)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(_.subCrumbs,(Z,X)=>(i.openBlock(),i.createElementBlock("li",{key:Z.path,class:i.normalizeClass(k.value)},[i.createElementVNode("span",{onClick:ce=>L(Z,X)},[i.createTextVNode(i.toDisplayString(M(Z)),1),_.fullTitle(N)?(i.openBlock(),i.createElementBlock("span",Yl,i.toDisplayString(Z.title),1)):i.createCommentVNode("",!0)],8,Kl)],2))),128))],2)])):i.createCommentVNode("",!0),N.isSub?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("div",{key:1,class:i.normalizeClass(_.getClassesLink(N))},[i.createElementVNode("span",{class:i.normalizeClass(_.getClassesSpan(A)),onClick:Z=>L(N,A)},[i.createTextVNode(i.toDisplayString(M(N)),1),_.fullTitle(N)?(i.openBlock(),i.createElementBlock("span",Xl,i.toDisplayString(N.title),1)):i.createCommentVNode("",!0)],10,Jl),A!==_.crumbs.length-1?(i.openBlock(),i.createBlock(he,{key:0,name:i.unref(de).rightSmall},null,8,["name"])):i.createCommentVNode("",!0)],2))],2))),128))]))}}),[["__scopeId","data-v-08d48cdf"]]);var No=(l=>(l.small="small",l.medium="medium",l.large="large",l))(No||{}),Dt=(l=>(l.primary="primary",l.outline="outline",l.ghost="ghost",l.secondary="secondary",l))(Dt||{});const Ql=["disabled"],e2=i.defineComponent({__name:"Button",props:{disabled:{type:Boolean,default:!1},size:{default:No.medium},type:{default:Dt.primary},pill:{type:Boolean,default:!1},backgroundColor:{},color:{default:""}},emits:["click"],setup(l,{emit:d}){const o=l,u=d,_=i.computed(()=>({"button-yui-kit":!0,[o.size]:!0,"disabled-yui-kit":o.disabled,"pill-yui-kit":o.pill,"primary-yui-kit":o.type===Dt.primary,"secondary-yui-kit":o.type===Dt.secondary,"outline-yui-kit":o.type===Dt.outline,"ghost-yui-kit":o.type===Dt.ghost})),k=i.computed(()=>({backgroundColor:o.backgroundColor})),S=i.computed(()=>({color:o.color==="primary"||o.color==="secondary"?"black":o.color})),L=v=>u("click",v);return(v,M)=>(i.openBlock(),i.createElementBlock("button",{class:i.normalizeClass(_.value),disabled:o.disabled,style:i.normalizeStyle(k.value),onClick:L},[v.$slots["left-icon"]?(i.openBlock(),i.createElementBlock("span",{key:0,style:i.normalizeStyle(S.value)},[i.renderSlot(v.$slots,"left-icon",{},void 0,!0)],4)):i.createCommentVNode("",!0),i.renderSlot(v.$slots,"default",{},void 0,!0),v.$slots["right-icon"]?(i.openBlock(),i.createElementBlock("span",{key:1,style:i.normalizeStyle(S.value)},[i.renderSlot(v.$slots,"right-icon",{},void 0,!0)],4)):i.createCommentVNode("",!0)],14,Ql))}}),Z1=Ge(e2,[["__scopeId","data-v-86c6700f"]]),t2={class:"switch-yui-kit-list"},n2=["onClick"],W1=Ge(i.defineComponent({__name:"Switch",props:{items:{},defaultValue:{}},emits:["languageSwitch"],setup(l,{emit:d}){const o=l,u=i.reactive({activeIndex:0}),_=d,k=L=>({"switch-yui-kit-item":!0,"switch-yui-kit-active":u.activeIndex===L}),S=L=>{u.activeIndex=L,_("languageSwitch",{index:L,value:o.items[L]})};return i.onMounted(()=>{o.defaultValue&&o.items.includes(o.defaultValue)&&(u.activeIndex=o.items.indexOf(o.defaultValue))}),(L,v)=>(i.openBlock(),i.createElementBlock("ul",t2,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.items,(M,I)=>(i.openBlock(),i.createElementBlock("li",{key:M,class:i.normalizeClass(k(I)),onClick:O=>S(I)},i.toDisplayString(M),11,n2))),128))]))}}),[["__scopeId","data-v-c13888eb"]]),r2={class:"dropdown-yui-kit"},o2={class:"truncate-yui-kit"},i2={key:0,class:"dropdown-yui-kit__list"},s2=["onClick"],Jn="active-yui-kit",Xn=Ge(i.defineComponent({__name:"Dropdown",props:{options:{}},emits:["click"],setup(l,{emit:d}){const o=l,u=i.reactive({isOpened:!1,choosedOption:o.options[0]||"",lengthOption:0}),_=d,k=i.computed(()=>({"dropdown-yui-kit__item":!0,"truncate-yui-kit":!0})),S=v=>{u.choosedOption=v,_("click",u.choosedOption),u.isOpened=!1},L=v=>{u.isOpened=!u.isOpened;const M=v.currentTarget;M&&(M.classList.contains(Jn)?M.classList.remove(Jn):M.classList.add(Jn))};return(v,M)=>(i.openBlock(),i.createElementBlock("div",r2,[i.createElementVNode("span",{class:"dropdown-yui-kit__current",onClick:M[0]||(M[0]=I=>L(I))},[i.createElementVNode("span",o2,i.toDisplayString(u.choosedOption),1),u.isOpened?(i.openBlock(),i.createBlock(he,{key:0,name:i.unref(de).chevronDown},null,8,["name"])):i.createCommentVNode("",!0),u.isOpened?i.createCommentVNode("",!0):(i.openBlock(),i.createBlock(he,{key:1,name:i.unref(de).chevronUp},null,8,["name"]))]),u.isOpened?(i.openBlock(),i.createElementBlock("ul",i2,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.options,I=>(i.openBlock(),i.createElementBlock("li",{class:i.normalizeClass([k.value,{active:I===u.choosedOption}]),onClick:()=>S(I),key:I},i.toDisplayString(I),11,s2))),128))])):i.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-49c04810"]]);var Do=!1;function j1(l,d,o){return Array.isArray(l)?(l.length=Math.max(l.length,d),l.splice(d,1,o),o):(l[d]=o,o)}function Qn(l,d){if(Array.isArray(l)){l.splice(d,1);return}delete l[d]}function l2(){return Po().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Po(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const a2=typeof Proxy=="function",c2="devtools-plugin:setup",u2="plugin:settings:set";let Xt,er;function f2(){var l;return Xt!==void 0||(typeof window<"u"&&window.performance?(Xt=!0,er=window.performance):typeof globalThis<"u"&&(!((l=globalThis.perf_hooks)===null||l===void 0)&&l.performance)?(Xt=!0,er=globalThis.perf_hooks.performance):Xt=!1),Xt}function h2(){return f2()?er.now():Date.now()}class d2{constructor(d,o){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=d,this.hook=o;const u={};if(d.settings)for(const S in d.settings){const L=d.settings[S];u[S]=L.defaultValue}const _=`__vue-devtools-plugin-settings__${d.id}`;let k=Object.assign({},u);try{const S=localStorage.getItem(_),L=JSON.parse(S);Object.assign(k,L)}catch{}this.fallbacks={getSettings(){return k},setSettings(S){try{localStorage.setItem(_,JSON.stringify(S))}catch{}k=S},now(){return h2()}},o&&o.on(u2,(S,L)=>{S===this.plugin.id&&this.fallbacks.setSettings(L)}),this.proxiedOn=new Proxy({},{get:(S,L)=>this.target?this.target.on[L]:(...v)=>{this.onQueue.push({method:L,args:v})}}),this.proxiedTarget=new Proxy({},{get:(S,L)=>this.target?this.target[L]:L==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(L)?(...v)=>(this.targetQueue.push({method:L,args:v,resolve:()=>{}}),this.fallbacks[L](...v)):(...v)=>new Promise(M=>{this.targetQueue.push({method:L,args:v,resolve:M})})})}async setRealTarget(d){this.target=d;for(const o of this.onQueue)this.target.on[o.method](...o.args);for(const o of this.targetQueue)o.resolve(await this.target[o.method](...o.args))}}function $o(l,d){const o=l,u=Po(),_=l2(),k=a2&&o.enableEarlyProxy;if(_&&(u.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!k))_.emit(c2,l,d);else{const S=k?new d2(o,_):null;(u.__VUE_DEVTOOLS_PLUGINS__=u.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:o,setupFn:d,proxy:S}),S&&d(S.proxiedTarget)}}/*!
339
342
  * pinia v2.2.2
340
343
  * (c) 2024 Eduardo San Martin Morote
341
344
  * @license MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sep-yui",
3
3
  "author": "Perov David",
4
- "version": "0.0.44",
4
+ "version": "0.0.46",
5
5
  "packageManager": "pnpm@9.9.0",
6
6
  "main": "./dist/sep-yui.umd.ts",
7
7
  "module": "./dist/sep-yui.ts",