shared-ritm 1.2.141 → 1.2.143
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.css +1 -1
- package/dist/shared-ritm.es.js +20 -19
- package/dist/shared-ritm.umd.js +2 -2
- package/dist/types/api/types/Api_Projects.d.ts +1 -0
- package/dist/types/api/types/Api_User.d.ts +1 -0
- package/package.json +1 -1
- package/src/api/types/Api_Projects.ts +1 -0
- package/src/api/types/Api_User.ts +1 -0
- package/src/common/app-sidebar/AppSidebar.vue +2 -2
- package/src/common/app-sidebar/components/SidebarMenuItem.vue +3 -2
package/dist/shared-ritm.es.js
CHANGED
|
@@ -10935,6 +10935,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
10935
10935
|
"header-class": "text-purple",
|
|
10936
10936
|
class: He([a.$style["menu-item"], { "expansion-item-active": a.isRouteActive(a.item) && a.minify }]),
|
|
10937
10937
|
"data-test": `sidebar-expansion-item-${(a.item.name || "unnamed").toLowerCase().replace(/\s+/g, "-")}`,
|
|
10938
|
+
"expand-icon-class": a.minify ? "hidden" : "",
|
|
10938
10939
|
"onUpdate:modelValue": i[0] || (i[0] = (u) => r.value = u)
|
|
10939
10940
|
}, {
|
|
10940
10941
|
header: ve(() => [
|
|
@@ -10968,7 +10969,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
10968
10969
|
class: He(a.$style["menu-item__label"])
|
|
10969
10970
|
}, {
|
|
10970
10971
|
default: ve(() => [
|
|
10971
|
-
$t(mt(a.item.label), 1)
|
|
10972
|
+
$t(mt(a.minify ? "" : a.item.label), 1)
|
|
10972
10973
|
]),
|
|
10973
10974
|
_: 1
|
|
10974
10975
|
}, 8, ["class"])
|
|
@@ -10982,7 +10983,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
10982
10983
|
}, null, 8, ["item", "main", "is-route-active"]))), 128))
|
|
10983
10984
|
]),
|
|
10984
10985
|
_: 1
|
|
10985
|
-
}, 8, ["model-value", "class", "data-test"])) : a.item.name !== "sign-out" ? Zn((X(), Ae(On, {
|
|
10986
|
+
}, 8, ["model-value", "class", "data-test", "expand-icon-class"])) : a.item.name !== "sign-out" ? Zn((X(), Ae(On, {
|
|
10986
10987
|
key: 1,
|
|
10987
10988
|
class: He(a.$style["menu-item"]),
|
|
10988
10989
|
active: a.isRouteActive(a.item),
|
|
@@ -11010,7 +11011,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
11010
11011
|
class: He(a.$style["menu-item__label"])
|
|
11011
11012
|
}, {
|
|
11012
11013
|
default: ve(() => [
|
|
11013
|
-
fe("p", null, mt(a.item.label), 1)
|
|
11014
|
+
fe("p", null, mt(a.minify ? "" : a.item.label), 1)
|
|
11014
11015
|
]),
|
|
11015
11016
|
_: 1
|
|
11016
11017
|
}, 8, ["class"]),
|
|
@@ -11038,7 +11039,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
11038
11039
|
"menu-item__label": "_menu-item__label_fkijr_18"
|
|
11039
11040
|
}, o_ = {
|
|
11040
11041
|
$style: r_
|
|
11041
|
-
}, a_ = /* @__PURE__ */ Be(n_, [["__cssModules", o_], ["__scopeId", "data-v-
|
|
11042
|
+
}, a_ = /* @__PURE__ */ Be(n_, [["__cssModules", o_], ["__scopeId", "data-v-83676a78"]]), i_ = /* @__PURE__ */ Bt({
|
|
11042
11043
|
__name: "SidebarMenu",
|
|
11043
11044
|
props: {
|
|
11044
11045
|
menuItems: {},
|
|
@@ -11100,6 +11101,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
11100
11101
|
"mini-width": c.value,
|
|
11101
11102
|
breakpoint: 960,
|
|
11102
11103
|
"show-if-above": "",
|
|
11104
|
+
persistent: "",
|
|
11103
11105
|
onMouseover: m[4] || (m[4] = (v) => d(!1)),
|
|
11104
11106
|
onMouseout: m[5] || (m[5] = (v) => d(!0))
|
|
11105
11107
|
}, {
|
|
@@ -11146,11 +11148,10 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
11146
11148
|
Se(fn, {
|
|
11147
11149
|
class: He(p.$style.logo__text)
|
|
11148
11150
|
}, {
|
|
11149
|
-
default: ve(() =>
|
|
11150
|
-
$t("РИТМ")
|
|
11151
|
-
])
|
|
11152
|
-
_: 1
|
|
11153
|
-
__: [7]
|
|
11151
|
+
default: ve(() => [
|
|
11152
|
+
$t(mt(a.value ? "" : "РИТМ"), 1)
|
|
11153
|
+
]),
|
|
11154
|
+
_: 1
|
|
11154
11155
|
}, 8, ["class"])
|
|
11155
11156
|
]),
|
|
11156
11157
|
_: 1
|
|
@@ -11165,11 +11166,11 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
11165
11166
|
}, {
|
|
11166
11167
|
default: ve(() => [
|
|
11167
11168
|
Se(ys, null, {
|
|
11168
|
-
default: ve(() => m[
|
|
11169
|
+
default: ve(() => m[7] || (m[7] = [
|
|
11169
11170
|
$t("Закрепить сайдбар")
|
|
11170
11171
|
])),
|
|
11171
11172
|
_: 1,
|
|
11172
|
-
__: [
|
|
11173
|
+
__: [7]
|
|
11173
11174
|
})
|
|
11174
11175
|
]),
|
|
11175
11176
|
_: 1
|
|
@@ -11200,11 +11201,11 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
11200
11201
|
Se(fn, {
|
|
11201
11202
|
class: He(p.$style["menu-exit__label"])
|
|
11202
11203
|
}, {
|
|
11203
|
-
default: ve(() => m[
|
|
11204
|
+
default: ve(() => m[8] || (m[8] = [
|
|
11204
11205
|
$t("Выход")
|
|
11205
11206
|
])),
|
|
11206
11207
|
_: 1,
|
|
11207
|
-
__: [
|
|
11208
|
+
__: [8]
|
|
11208
11209
|
}, 8, ["class"])
|
|
11209
11210
|
]),
|
|
11210
11211
|
_: 1
|
|
@@ -11215,15 +11216,15 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
|
|
|
11215
11216
|
_: 1
|
|
11216
11217
|
}, 8, ["modelValue", "class", "mini", "overlay", "width", "mini-width"]));
|
|
11217
11218
|
}
|
|
11218
|
-
}), f_ = "
|
|
11219
|
+
}), f_ = "_drawer_zcdf1_1", h_ = "_logo_zcdf1_17", p_ = "_logo__text_zcdf1_21", v_ = {
|
|
11219
11220
|
drawer: f_,
|
|
11220
11221
|
logo: h_,
|
|
11221
11222
|
logo__text: p_,
|
|
11222
|
-
"tablet-logo": "_tablet-
|
|
11223
|
-
"tablet-logo__btn": "_tablet-
|
|
11224
|
-
"minify-btn": "_minify-
|
|
11225
|
-
"menu-exit": "_menu-
|
|
11226
|
-
"menu-exit__label": "_menu-
|
|
11223
|
+
"tablet-logo": "_tablet-logo_zcdf1_27",
|
|
11224
|
+
"tablet-logo__btn": "_tablet-logo__btn_zcdf1_30",
|
|
11225
|
+
"minify-btn": "_minify-btn_zcdf1_34",
|
|
11226
|
+
"menu-exit": "_menu-exit_zcdf1_45",
|
|
11227
|
+
"menu-exit__label": "_menu-exit__label_zcdf1_51"
|
|
11227
11228
|
}, m_ = {
|
|
11228
11229
|
$style: v_
|
|
11229
11230
|
}, zA = /* @__PURE__ */ Be(d_, [["__cssModules", m_]]), cc = Ke({
|