shared-ritm 1.2.116 → 1.2.117

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.
@@ -8153,82 +8153,85 @@ const Xw = /* @__PURE__ */ Fe(jw, [["render", Kw]]), Yw = /* @__PURE__ */ Ft({
8153
8153
  Ce(bb, {
8154
8154
  class: Ke(d.$style.toolbar)
8155
8155
  }, {
8156
- default: ve(() => [
8157
- fe("h1", null, mt(d.pageTitle), 1),
8158
- fe("div", {
8159
- class: Ke(d.$style["action-buttons"])
8160
- }, [
8161
- d.settingsMenuItems.find((h) => h.name === "root-on" && h.isShow) ? (Y(), ye("p", Jw, "Root-режим")) : Ye("", !0),
8156
+ default: ve(() => {
8157
+ var h;
8158
+ return [
8159
+ fe("h1", null, mt(d.pageTitle), 1),
8162
8160
  fe("div", {
8163
- class: Ke(d.$style.person),
8164
- onClick: l
8161
+ class: Ke(d.$style["action-buttons"])
8165
8162
  }, [
8166
- Ce(Ca, { name: "person-icon" }),
8163
+ (h = d.settingsMenuItems) != null && h.find((p) => p.name === "root-on" && p.isShow) ? (Y(), ye("p", Jw, "Root-режим")) : Ye("", !0),
8164
+ fe("div", {
8165
+ class: Ke(d.$style.person),
8166
+ onClick: l
8167
+ }, [
8168
+ Ce(Ca, { name: "person-icon" }),
8169
+ fe("div", {
8170
+ class: Ke(d.$style.person__info)
8171
+ }, [
8172
+ fe("p", ex, mt(i.value), 1),
8173
+ fe("p", tx, mt(s.value), 1)
8174
+ ], 2)
8175
+ ], 2),
8167
8176
  fe("div", {
8168
- class: Ke(d.$style.person__info)
8177
+ class: Ke(d.$style["action-wrapper"])
8169
8178
  }, [
8170
- fe("p", ex, mt(i.value), 1),
8171
- fe("p", tx, mt(s.value), 1)
8179
+ Ce(Cs, {
8180
+ color: "white",
8181
+ vertical: "",
8182
+ size: "1px"
8183
+ }),
8184
+ Ce(St, {
8185
+ ref_key: "refMenuSettings",
8186
+ ref: o,
8187
+ flat: "",
8188
+ padding: "sm",
8189
+ ripple: !1,
8190
+ class: Ke([d.$style.settings, { [d.$style.settings__open]: a.value }]),
8191
+ onClick: u
8192
+ }, {
8193
+ default: ve(() => [
8194
+ Ce(Ca, {
8195
+ size: "28px",
8196
+ name: "setting-icon"
8197
+ }),
8198
+ Ce(xi, {
8199
+ "max-height": "160px",
8200
+ offset: [-18, 4],
8201
+ class: Ke(d.$style["settings-menu"])
8202
+ }, {
8203
+ default: ve(() => [
8204
+ (Y(!0), ye(Ar, null, Wr(d.settingsMenuItems, (p) => (Y(), Ae(sd, {
8205
+ key: p.name,
8206
+ class: Ke(d.$style["settings-menu__list"])
8207
+ }, {
8208
+ default: ve(() => [
8209
+ Qn((Y(), Ae(Xn, {
8210
+ class: Ke(d.$style["settings-menu__item"]),
8211
+ clickable: "",
8212
+ onClick: (m) => c(p)
8213
+ }, {
8214
+ default: ve(() => [
8215
+ $t(mt(p.label), 1)
8216
+ ]),
8217
+ _: 2
8218
+ }, 1032, ["class", "onClick"])), [
8219
+ [Vp, p.isShow],
8220
+ [ud]
8221
+ ])
8222
+ ]),
8223
+ _: 2
8224
+ }, 1032, ["class"]))), 128))
8225
+ ]),
8226
+ _: 1
8227
+ }, 8, ["class"])
8228
+ ]),
8229
+ _: 1
8230
+ }, 8, ["class"])
8172
8231
  ], 2)
8173
- ], 2),
8174
- fe("div", {
8175
- class: Ke(d.$style["action-wrapper"])
8176
- }, [
8177
- Ce(Cs, {
8178
- color: "white",
8179
- vertical: "",
8180
- size: "1px"
8181
- }),
8182
- Ce(St, {
8183
- ref_key: "refMenuSettings",
8184
- ref: o,
8185
- flat: "",
8186
- padding: "sm",
8187
- ripple: !1,
8188
- class: Ke([d.$style.settings, { [d.$style.settings__open]: a.value }]),
8189
- onClick: u
8190
- }, {
8191
- default: ve(() => [
8192
- Ce(Ca, {
8193
- size: "28px",
8194
- name: "setting-icon"
8195
- }),
8196
- Ce(xi, {
8197
- "max-height": "160px",
8198
- offset: [-18, 4],
8199
- class: Ke(d.$style["settings-menu"])
8200
- }, {
8201
- default: ve(() => [
8202
- (Y(!0), ye(Ar, null, Wr(d.settingsMenuItems, (h) => (Y(), Ae(sd, {
8203
- key: h.name,
8204
- class: Ke(d.$style["settings-menu__list"])
8205
- }, {
8206
- default: ve(() => [
8207
- Qn((Y(), Ae(Xn, {
8208
- class: Ke(d.$style["settings-menu__item"]),
8209
- clickable: "",
8210
- onClick: (p) => c(h)
8211
- }, {
8212
- default: ve(() => [
8213
- $t(mt(h.label), 1)
8214
- ]),
8215
- _: 2
8216
- }, 1032, ["class", "onClick"])), [
8217
- [Vp, h.isShow],
8218
- [ud]
8219
- ])
8220
- ]),
8221
- _: 2
8222
- }, 1032, ["class"]))), 128))
8223
- ]),
8224
- _: 1
8225
- }, 8, ["class"])
8226
- ]),
8227
- _: 1
8228
- }, 8, ["class"])
8229
8232
  ], 2)
8230
- ], 2)
8231
- ]),
8233
+ ];
8234
+ }),
8232
8235
  _: 1
8233
8236
  }, 8, ["class"])
8234
8237
  ]),