@mlightcad/ribbon 0.0.5 → 0.0.6

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.
@@ -1,59 +1,59 @@
1
1
  import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, createTextVNode as s, createVNode as c, defineComponent as l, inject as u, markRaw as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onMounted as h, onUnmounted as g, openBlock as _, provide as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as S, toDisplayString as C, toRaw as w, unref as T, watch as E, withCtx as D, withModifiers as ee } from "vue";
2
2
  import { ElButton as O, ElButtonGroup as k, ElCheckbox as A, ElColorPicker as j, ElConfigProvider as te, ElDrawer as M, ElDropdown as N, ElDropdownItem as P, ElDropdownMenu as F, ElIcon as I, ElOption as ne, ElPopover as re, ElSegmented as L, ElSelect as R, ElSwitch as z, ElTooltip as B, useGlobalConfig as ie } from "element-plus";
3
- import { ArrowDown as V, ArrowDownBold as ae, ArrowUp as H, ArrowUpBold as U, Grid as oe, Menu as W, Promotion as G } from "@element-plus/icons-vue";
3
+ import { ArrowDown as V, ArrowDownBold as ae, ArrowUp as H, ArrowUpBold as U, Grid as oe, Menu as se, Promotion as ce } from "@element-plus/icons-vue";
4
4
  //#region src/ribbon/context.ts
5
- var se = Symbol("RibbonContext");
5
+ var le = Symbol("RibbonContext");
6
6
  //#endregion
7
7
  //#region src/ribbon/composables/useRibbonState.ts
8
- function K(e) {
8
+ function W(e) {
9
9
  return e == null || typeof e == "string" ? e : typeof e == "object" || typeof e == "function" ? d(w(e)) : e;
10
10
  }
11
- function q(e) {
11
+ function G(e) {
12
12
  if (!e) return;
13
13
  let t = { ...e };
14
- return "icon" in t && (t.icon = K(t.icon)), Array.isArray(t.options) && (t.options = t.options.map((e) => {
14
+ return "icon" in t && (t.icon = W(t.icon)), Array.isArray(t.options) && (t.options = t.options.map((e) => {
15
15
  if (!e || typeof e != "object") return e;
16
16
  let t = e;
17
17
  return "icon" in t ? {
18
18
  ...t,
19
- icon: K(t.icon)
19
+ icon: W(t.icon)
20
20
  } : t;
21
21
  })), t;
22
22
  }
23
- function J(e) {
23
+ function K(e) {
24
24
  return {
25
25
  ...e,
26
- icon: K(e.icon),
27
- props: q(e.props)
26
+ icon: W(e.icon),
27
+ props: G(e.props)
28
28
  };
29
29
  }
30
- function ce(e) {
30
+ function ue(e) {
31
31
  return {
32
32
  ...e,
33
- icon: K(e.icon),
34
- footerMenuItems: e.footerMenuItems?.map(J),
33
+ icon: W(e.icon),
34
+ footerMenuItems: e.footerMenuItems?.map(K),
35
35
  collections: e.collections?.map((e) => ({
36
36
  ...e,
37
- items: e.items.map(J)
37
+ items: e.items.map(K)
38
38
  }))
39
39
  };
40
40
  }
41
- function Y(e) {
41
+ function q(e) {
42
42
  return {
43
43
  ...e,
44
- groups: e.groups?.map(ce)
44
+ groups: e.groups?.map(ue)
45
45
  };
46
46
  }
47
- function le(e) {
48
- return e.map(Y);
47
+ function J(e) {
48
+ return e.map(q);
49
49
  }
50
- function X(e) {
50
+ function Y(e) {
51
51
  (!e.collections || e.collections.length === 0) && (e.collections = [{
52
52
  id: `${e.id}-collection-1`,
53
53
  items: []
54
54
  }]);
55
55
  }
56
- function Z(e, t, n, r, i) {
56
+ function X(e, t, n, r, i) {
57
57
  let a = e.find((e) => e.id === t);
58
58
  if (!a?.groups) return;
59
59
  let o = a.groups.find((e) => e.id === n);
@@ -61,10 +61,10 @@ function Z(e, t, n, r, i) {
61
61
  let s = o.collections.find((e) => e.id === r);
62
62
  s && i(s.items);
63
63
  }
64
- function ue(e, n, r, i, a, o) {
65
- let s = y(r), c = y(i), l = y(a), u = y(o), d = y(le(n)), f = y(!1), p = y(!1), m = y(!1), h = y([]), g = y(""), _ = t(() => d.value.filter((e) => e.visible !== !1)), v = {
64
+ function de(e, n, r, i, a, o) {
65
+ let s = y(r), c = y(i), l = y(a), u = y(o), d = y(J(n)), f = y(!1), p = y(!1), m = y(!1), h = y([]), g = y(""), _ = t(() => d.value.filter((e) => e.visible !== !1)), v = {
66
66
  addTab(e) {
67
- d.value.push(Y(e)), u.value ||= e.id;
67
+ d.value.push(q(e)), u.value ||= e.id;
68
68
  },
69
69
  removeTab(e) {
70
70
  d.value = d.value.filter((t) => t.id !== e), u.value === e && (u.value = _.value[0]?.id ?? "");
@@ -82,7 +82,7 @@ function ue(e, n, r, i, a, o) {
82
82
  },
83
83
  addGroup(e, t) {
84
84
  let n = d.value.find((t) => t.id === e);
85
- n && (n.groups ??= [], X(t), n.groups.push(ce(t)));
85
+ n && (n.groups ??= [], Y(t), n.groups.push(ue(t)));
86
86
  },
87
87
  removeGroup(e, t) {
88
88
  let n = d.value.find((t) => t.id === e);
@@ -97,16 +97,16 @@ function ue(e, n, r, i, a, o) {
97
97
  n && (n.visible = !1);
98
98
  },
99
99
  addItem(e, t, n, r) {
100
- Z(d.value, e, t, n, (e) => e.push(J(r)));
100
+ X(d.value, e, t, n, (e) => e.push(K(r)));
101
101
  },
102
102
  removeItem(e, t, n, r) {
103
- Z(d.value, e, t, n, (e) => {
103
+ X(d.value, e, t, n, (e) => {
104
104
  let t = e.findIndex((e) => e.id === r);
105
105
  t >= 0 && e.splice(t, 1);
106
106
  });
107
107
  },
108
108
  updateItem(e, t, n, r, i) {
109
- Z(d.value, e, t, n, (e) => {
109
+ X(d.value, e, t, n, (e) => {
110
110
  let t = e.find((e) => e.id === r);
111
111
  t && Object.assign(t, i);
112
112
  });
@@ -153,7 +153,7 @@ function ue(e, n, r, i, a, o) {
153
153
  }
154
154
  //#endregion
155
155
  //#region src/ribbon/modules/RibbonBackstage.vue?vue&type=script&setup=true&lang.ts
156
- var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backstage__content" }, pe = { key: 0 }, me = { key: 1 }, he = /* @__PURE__ */ l({
156
+ var fe = { class: "ml-ribbon-backstage__nav" }, pe = { class: "ml-ribbon-backstage__content" }, me = { key: 0 }, he = { key: 1 }, ge = /* @__PURE__ */ l({
157
157
  __name: "RibbonBackstage",
158
158
  props: {
159
159
  open: { type: Boolean },
@@ -182,24 +182,24 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
182
182
  title: l.title,
183
183
  description: l.description,
184
184
  size: l.size
185
- }) : (_(), i(e, { key: 1 }, [a("aside", de, [c(T(O), {
185
+ }) : (_(), i(e, { key: 1 }, [a("aside", fe, [c(T(O), {
186
186
  type: "primary",
187
187
  onClick: d
188
188
  }, {
189
189
  default: D(() => [s(C(l.backLabel), 1)]),
190
190
  _: 1
191
- })]), a("section", fe, [l.title ? (_(), i("h2", pe, C(l.title), 1)) : r("", !0), l.description ? (_(), i("p", me, C(l.description), 1)) : r("", !0)])], 64))], 2)]),
191
+ })]), a("section", pe, [l.title ? (_(), i("h2", me, C(l.title), 1)) : r("", !0), l.description ? (_(), i("p", he, C(l.description), 1)) : r("", !0)])], 64))], 2)]),
192
192
  _: 3
193
193
  }, 8, ["model-value"]));
194
194
  }
195
- }), ge = {
195
+ }), _e = {
196
196
  class: "ml-ribbon-tabs",
197
197
  role: "tablist"
198
- }, _e = [
198
+ }, ve = [
199
199
  "aria-selected",
200
200
  "disabled",
201
201
  "onClick"
202
- ], ve = /* @__PURE__ */ l({
202
+ ], Z = /* @__PURE__ */ l({
203
203
  __name: "RibbonTabs",
204
204
  props: {
205
205
  tabs: {},
@@ -209,7 +209,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
209
209
  emits: ["select"],
210
210
  setup(n, { emit: r }) {
211
211
  let a = n, o = r, s = t(() => a.tabs.filter((e) => e.visible !== !1));
212
- return (t, r) => (_(), i("div", ge, [(_(!0), i(e, null, b(s.value, (e) => (_(), i("button", {
212
+ return (t, r) => (_(), i("div", _e, [(_(!0), i(e, null, b(s.value, (e) => (_(), i("button", {
213
213
  key: e.id,
214
214
  type: "button",
215
215
  class: p(["ml-ribbon-tab", { "is-active": n.activeTab === e.id }]),
@@ -217,7 +217,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
217
217
  "aria-selected": n.activeTab === e.id,
218
218
  disabled: a.disabled,
219
219
  onClick: (t) => o("select", e.id)
220
- }, C(e.title), 11, _e))), 128))]));
220
+ }, C(e.title), 11, ve))), 128))]));
221
221
  }
222
222
  }), ye = { class: "ml-ribbon-contextual-tabs" }, be = { class: "ml-ribbon-contextual-tabs__normal" }, xe = { class: "ml-ribbon-contextual-tabs__ctx" }, Se = /* @__PURE__ */ l({
223
223
  __name: "RibbonContextualTabs",
@@ -230,7 +230,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
230
230
  emits: ["select"],
231
231
  setup(t, { emit: n }) {
232
232
  let r = t, o = n;
233
- return (n, s) => (_(), i("div", ye, [a("div", be, [c(ve, {
233
+ return (n, s) => (_(), i("div", ye, [a("div", be, [c(Z, {
234
234
  tabs: r.tabs.filter((e) => !e.contextual),
235
235
  "active-tab": t.activeTab,
236
236
  disabled: r.disabled,
@@ -243,7 +243,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
243
243
  key: e.id,
244
244
  class: "ml-ribbon-contextual-tabs__block",
245
245
  style: m({ "--ctx-color": e.contextualColor || "#67c23a" })
246
- }, [a("small", null, C(e.contextualTitle || r.defaultContextualTitle), 1), c(ve, {
246
+ }, [a("small", null, C(e.contextualTitle || r.defaultContextualTitle), 1), c(Z, {
247
247
  tabs: [e],
248
248
  "active-tab": t.activeTab,
249
249
  disabled: r.disabled,
@@ -500,7 +500,77 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
500
500
  "aria-label"
501
501
  ])], 8, Fe));
502
502
  }
503
- }), Ve = ["data-template-id", "aria-disabled"], He = /* @__PURE__ */ l({
503
+ }), Ve = {
504
+ key: 2,
505
+ class: "ml-ribbon-item-host__label"
506
+ }, He = /* @__PURE__ */ l({
507
+ __name: "RibbonToggleButton",
508
+ props: {
509
+ id: {},
510
+ label: { default: "" },
511
+ modelValue: {
512
+ type: Boolean,
513
+ default: !1
514
+ },
515
+ disabled: {
516
+ type: Boolean,
517
+ default: !1
518
+ },
519
+ hideLabel: {
520
+ type: Boolean,
521
+ default: !1
522
+ },
523
+ activeIcon: { default: void 0 },
524
+ inactiveIcon: { default: void 0 },
525
+ activeLabel: { default: void 0 },
526
+ inactiveLabel: { default: void 0 }
527
+ },
528
+ emits: ["change"],
529
+ setup(e, { emit: a }) {
530
+ function o(e) {
531
+ return !e || typeof e == "string" ? null : e;
532
+ }
533
+ function s(e) {
534
+ return typeof e != "string" || e.trim().length === 0 ? null : e;
535
+ }
536
+ let c = e, l = a, u = y(!!c.modelValue);
537
+ E(() => c.modelValue, (e) => {
538
+ u.value = !!e;
539
+ }, { immediate: !0 });
540
+ let d = t(() => u.value), f = t(() => d.value ? c.activeIcon ?? c.inactiveIcon : c.inactiveIcon ?? c.activeIcon), m = t(() => o(f.value)), h = t(() => m.value ? null : s(f.value)), g = t(() => (d.value ? c.activeLabel?.trim() : c.inactiveLabel?.trim()) || c.label?.trim() || c.id), v = t(() => !c.hideLabel && g.value.length > 0);
541
+ function b() {
542
+ if (c.disabled) return;
543
+ let e = !u.value;
544
+ u.value = e, l("change", e);
545
+ }
546
+ return (t, a) => (_(), n(T(O), {
547
+ class: p(["ml-ribbon-toggle", { "is-active": d.value }]),
548
+ type: "default",
549
+ disabled: e.disabled,
550
+ "aria-label": g.value,
551
+ "aria-pressed": String(d.value),
552
+ onClick: b
553
+ }, {
554
+ default: D(() => [m.value ? (_(), n(T(I), {
555
+ key: 0,
556
+ class: "ml-ribbon-item-host__icon"
557
+ }, {
558
+ default: D(() => [(_(), n(S(m.value)))]),
559
+ _: 1
560
+ })) : h.value ? (_(), i("i", {
561
+ key: 1,
562
+ class: p(["ml-ribbon-item-host__icon ml-ribbon-item-host__icon--class", h.value]),
563
+ "aria-hidden": "true"
564
+ }, null, 2)) : r("", !0), v.value ? (_(), i("span", Ve, C(g.value), 1)) : r("", !0)]),
565
+ _: 1
566
+ }, 8, [
567
+ "class",
568
+ "disabled",
569
+ "aria-label",
570
+ "aria-pressed"
571
+ ]));
572
+ }
573
+ }), Ue = ["data-template-id", "aria-disabled"], We = /* @__PURE__ */ l({
504
574
  __name: "RibbonTemplateItem",
505
575
  props: {
506
576
  id: {},
@@ -515,18 +585,18 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
515
585
  }, [x(t.$slots, "default", {
516
586
  item: e.item,
517
587
  disabled: e.disabled
518
- }, () => [a("span", null, C(e.item.label ?? e.item.id), 1)])], 8, Ve));
588
+ }, () => [a("span", null, C(e.item.label ?? e.item.id), 1)])], 8, Ue));
519
589
  }
520
- }), Ue = ["data-item-id"], We = {
590
+ }), Ge = ["data-item-id"], Ke = {
521
591
  key: 0,
522
592
  class: "ml-ribbon-item-host__keytip"
523
- }, Ge = { class: "ml-ribbon-item-host__content" }, Ke = { class: "ml-ribbon-item-host__text-row" }, qe = {
593
+ }, qe = { class: "ml-ribbon-item-host__content" }, Je = { class: "ml-ribbon-item-host__text-row" }, Ye = {
524
594
  key: 0,
525
595
  class: "ml-ribbon-item-host__label"
526
- }, Je = { class: "ml-ribbon-dropdown-item__content" }, Ye = { class: "ml-ribbon-dropdown-item__label" }, Xe = {
596
+ }, Xe = { class: "ml-ribbon-dropdown-item__content" }, Ze = { class: "ml-ribbon-dropdown-item__label" }, Qe = {
527
597
  key: 2,
528
598
  class: "ml-ribbon-item-host__label"
529
- }, Ze = /* @__PURE__ */ l({
599
+ }, $e = /* @__PURE__ */ l({
530
600
  __name: "RibbonItemHost",
531
601
  props: {
532
602
  id: {},
@@ -536,67 +606,67 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
536
606
  },
537
607
  emits: ["item-click"],
538
608
  setup(o, { emit: l }) {
539
- let d = o, f = l, m = u(se, null), h = t(() => Array.isArray(d.item.props?.options) ? d.item.props.options : []), g = ie("size", ""), v = t(() => g.value || "default"), w = t(() => `ml-ribbon-dropdown-menu ml-ribbon-popper ml-ribbon-popper--size-${v.value}`), E = t(() => `ml-ribbon-select-dropdown ml-ribbon-popper ml-ribbon-popper--size-${v.value}`), k = t(() => d.item.props?.icon || (typeof d.item.icon == "string" || !d.item.icon ? null : d.item.icon)), te = t(() => {
609
+ let d = o, f = l, m = u(le, null), h = t(() => Array.isArray(d.item.props?.options) ? d.item.props.options : []), g = ie("size", ""), v = t(() => g.value || "default"), w = t(() => `ml-ribbon-dropdown-menu ml-ribbon-popper ml-ribbon-popper--size-${v.value}`), E = t(() => `ml-ribbon-select-dropdown ml-ribbon-popper ml-ribbon-popper--size-${v.value}`), k = t(() => d.item.props?.icon || (typeof d.item.icon == "string" || !d.item.icon ? null : d.item.icon)), te = t(() => {
540
610
  let e = d.item.props?.icon;
541
611
  return typeof e == "string" && e.trim().length > 0 ? e : typeof d.item.icon == "string" && d.item.icon.trim().length > 0 ? d.item.icon : null;
542
- }), M = t(() => d.item.hideLabel !== !0), re = t(() => d.item.label || d.item.id), L = t(() => d.item.keyTip?.trim().toUpperCase() ?? ""), z = t(() => d.item.props?.syncLabelWithSelection === !0), B = y(!1), ae = y(void 0), U = t(() => h.value.find((e) => me(e) === ae.value) ?? null), oe = t(() => {
612
+ }), M = t(() => d.item.hideLabel !== !0), re = t(() => d.item.label || d.item.id), L = t(() => d.item.keyTip?.trim().toUpperCase() ?? ""), z = t(() => d.item.props?.syncLabelWithSelection === !0), B = y(!1), ae = y(void 0), U = t(() => h.value.find((e) => Z(e) === ae.value) ?? null), oe = t(() => {
543
613
  let e = U.value;
544
614
  if (e && z.value) {
545
- let t = he(e);
615
+ let t = ye(e);
546
616
  if (t) return t;
547
617
  }
548
618
  return d.item.label ?? d.item.id;
549
- }), W = t(() => {
619
+ }), se = t(() => {
550
620
  if (U.value) {
551
- let e = fe(U.value);
621
+ let e = _e(U.value);
552
622
  if (e) return e;
553
623
  }
554
624
  return k.value;
555
- }), G = t(() => {
625
+ }), ce = t(() => {
556
626
  if (U.value) {
557
- let e = pe(U.value);
627
+ let e = ve(U.value);
558
628
  if (e) return e;
559
629
  }
560
- return W.value ? null : te.value;
561
- }), K = t(() => {
630
+ return se.value ? null : te.value;
631
+ }), W = t(() => {
562
632
  if (!m?.keyTipsOpen.value || m?.disabled.value || !L.value) return !1;
563
633
  let e = m.keyTipsSequence.value.toLowerCase();
564
634
  return e ? L.value.toLowerCase().startsWith(e) : !0;
565
- }), q = t(() => d.item.disabled === !0 || m?.disabled.value === !0);
635
+ }), G = t(() => d.item.disabled === !0 || m?.disabled.value === !0), K = t(() => d.item.props?.modelValue), ue = t(() => d.item.props?.activeLabel), q = t(() => d.item.props?.inactiveLabel);
566
636
  function J() {
567
- q.value || f("item-click", d.id);
637
+ G.value || f("item-click", d.id);
568
638
  }
569
- function ce(e) {
570
- if (q.value) {
639
+ function Y(e) {
640
+ if (G.value) {
571
641
  B.value = !1;
572
642
  return;
573
643
  }
574
644
  B.value = e;
575
645
  }
576
- function Y(e) {
577
- q.value || (ae.value = e, Z(e), B.value = !1);
646
+ function X(e) {
647
+ G.value || (ae.value = e, pe(e), B.value = !1);
578
648
  }
579
- function le() {
580
- q.value || (B.value = !B.value);
649
+ function de() {
650
+ G.value || (B.value = !B.value);
581
651
  }
582
- function X() {
583
- if (q.value) return;
652
+ function fe() {
653
+ if (G.value) return;
584
654
  let e = U.value;
585
655
  if (!e) {
586
656
  J();
587
657
  return;
588
658
  }
589
- Z(me(e));
659
+ pe(Z(e));
590
660
  }
591
- function Z(e) {
661
+ function pe(e) {
592
662
  if (typeof e == "string" || typeof e == "number") {
593
663
  f("item-click", String(e));
594
664
  return;
595
665
  }
596
666
  J();
597
667
  }
598
- function ue(e) {
599
- if (!q.value) {
668
+ function me(e) {
669
+ if (!G.value) {
600
670
  if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") {
601
671
  f("item-click", String(e));
602
672
  return;
@@ -604,8 +674,17 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
604
674
  J();
605
675
  }
606
676
  }
607
- function de(e) {
608
- if (!q.value) {
677
+ function he(e) {
678
+ if (G.value) return;
679
+ let t = e ? d.item.props?.activeValue : d.item.props?.inactiveValue;
680
+ if (typeof t == "string" || typeof t == "number" || typeof t == "boolean") {
681
+ f("item-click", String(t));
682
+ return;
683
+ }
684
+ f("item-click", String(e));
685
+ }
686
+ function ge(e) {
687
+ if (!G.value) {
609
688
  if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") {
610
689
  f("item-click", String(e));
611
690
  return;
@@ -613,20 +692,20 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
613
692
  J();
614
693
  }
615
694
  }
616
- function fe(e) {
695
+ function _e(e) {
617
696
  if (!e || typeof e != "object") return null;
618
697
  let t = e.icon;
619
698
  return !t || typeof t == "string" ? null : t;
620
699
  }
621
- function pe(e) {
700
+ function ve(e) {
622
701
  if (!e || typeof e != "object") return null;
623
702
  let t = e.icon;
624
703
  return typeof t != "string" || t.trim().length === 0 ? null : t;
625
704
  }
626
- function me(e) {
705
+ function Z(e) {
627
706
  if (!(!e || typeof e != "object")) return e.value;
628
707
  }
629
- function he(e) {
708
+ function ye(e) {
630
709
  if (!e || typeof e != "object") return;
631
710
  let t = e.label;
632
711
  return typeof t == "string" ? t : void 0;
@@ -639,13 +718,13 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
639
718
  ]]),
640
719
  "data-item-id": o.id,
641
720
  role: "group"
642
- }, [K.value ? (_(), i("span", We, C(L.value), 1)) : r("", !0), o.item.type === "buttonGroup" ? (_(), n(Pe, {
721
+ }, [W.value ? (_(), i("span", Ke, C(L.value), 1)) : r("", !0), o.item.type === "buttonGroup" ? (_(), n(Pe, {
643
722
  key: 1,
644
723
  id: o.item.id,
645
724
  label: o.item.label ?? "",
646
725
  options: o.item.props?.options ?? [],
647
- disabled: q.value,
648
- onChange: de
726
+ disabled: G.value,
727
+ onChange: ge
649
728
  }, null, 8, [
650
729
  "id",
651
730
  "label",
@@ -659,9 +738,9 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
659
738
  "model-value": o.item.props?.modelValue,
660
739
  direction: o.item.props?.direction ?? "horizontal",
661
740
  block: o.item.props?.block === !0,
662
- disabled: q.value,
741
+ disabled: G.value,
663
742
  "hide-label": o.item.hideLabel === !0,
664
- onChange: ue
743
+ onChange: me
665
744
  }, null, 8, [
666
745
  "id",
667
746
  "label",
@@ -671,13 +750,35 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
671
750
  "block",
672
751
  "disabled",
673
752
  "hide-label"
674
- ])) : o.item.type === "gallery" ? (_(), n(Me, {
753
+ ])) : o.item.type === "toggle" ? (_(), n(He, {
675
754
  key: 3,
676
755
  id: o.item.id,
756
+ label: o.item.label ?? o.item.id,
757
+ "model-value": K.value,
758
+ "active-icon": o.item.props?.activeIcon ?? o.item.props?.icon ?? o.item.icon,
759
+ "inactive-icon": o.item.props?.inactiveIcon ?? o.item.props?.icon ?? o.item.icon,
760
+ "active-label": ue.value,
761
+ "inactive-label": q.value,
762
+ disabled: G.value,
763
+ "hide-label": o.item.hideLabel === !0,
764
+ onChange: he
765
+ }, null, 8, [
766
+ "id",
767
+ "label",
768
+ "model-value",
769
+ "active-icon",
770
+ "inactive-icon",
771
+ "active-label",
772
+ "inactive-label",
773
+ "disabled",
774
+ "hide-label"
775
+ ])) : o.item.type === "gallery" ? (_(), n(Me, {
776
+ key: 4,
777
+ id: o.item.id,
677
778
  label: o.item.label ?? "",
678
779
  categories: o.item.props?.categories ?? [],
679
780
  "preview-fallback": d.galleryPreviewFallback,
680
- disabled: q.value,
781
+ disabled: G.value,
681
782
  onSelect: J
682
783
  }, null, 8, [
683
784
  "id",
@@ -685,15 +786,15 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
685
786
  "categories",
686
787
  "preview-fallback",
687
788
  "disabled"
688
- ])) : o.item.type === "template" ? (_(), n(He, {
689
- key: 4,
789
+ ])) : o.item.type === "template" ? (_(), n(We, {
790
+ key: 5,
690
791
  id: o.item.id,
691
792
  item: o.item,
692
- disabled: q.value
793
+ disabled: G.value
693
794
  }, {
694
795
  default: D(() => [x(t.$slots, "template", {
695
796
  item: o.item,
696
- disabled: q.value
797
+ disabled: G.value
697
798
  })]),
698
799
  _: 3
699
800
  }, 8, [
@@ -701,54 +802,54 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
701
802
  "item",
702
803
  "disabled"
703
804
  ])) : o.item.type === "dropdown" ? (_(), n(T(N), {
704
- key: 5,
805
+ key: 6,
705
806
  trigger: "click",
706
- disabled: q.value,
807
+ disabled: G.value,
707
808
  "popper-class": w.value,
708
- onVisibleChange: ce,
709
- onCommand: Y
809
+ onVisibleChange: Y,
810
+ onCommand: X
710
811
  }, {
711
812
  dropdown: D(() => [c(T(F), null, {
712
813
  default: D(() => [(_(!0), i(e, null, b(h.value, (e) => (_(), n(T(P), {
713
814
  key: String(e.value),
714
815
  command: e.value
715
816
  }, {
716
- default: D(() => [a("span", Je, [fe(e) ? (_(), n(T(I), {
817
+ default: D(() => [a("span", Xe, [_e(e) ? (_(), n(T(I), {
717
818
  key: 0,
718
819
  class: "ml-ribbon-dropdown-item__icon"
719
820
  }, {
720
- default: D(() => [(_(), n(S(fe(e))))]),
821
+ default: D(() => [(_(), n(S(_e(e))))]),
721
822
  _: 2
722
- }, 1024)) : pe(e) ? (_(), i("i", {
823
+ }, 1024)) : ve(e) ? (_(), i("i", {
723
824
  key: 1,
724
- class: p(["ml-ribbon-dropdown-item__icon ml-ribbon-dropdown-item__icon--class", pe(e)]),
825
+ class: p(["ml-ribbon-dropdown-item__icon ml-ribbon-dropdown-item__icon--class", ve(e)]),
725
826
  "aria-hidden": "true"
726
- }, null, 2)) : r("", !0), a("span", Ye, C(e.label), 1)])]),
827
+ }, null, 2)) : r("", !0), a("span", Ze, C(e.label), 1)])]),
727
828
  _: 2
728
829
  }, 1032, ["command"]))), 128))]),
729
830
  _: 1
730
831
  })]),
731
832
  default: D(() => [c(T(O), {
732
833
  type: "default",
733
- disabled: q.value,
834
+ disabled: G.value,
734
835
  "aria-label": re.value,
735
- onClick: le
836
+ onClick: de
736
837
  }, {
737
- default: D(() => [a("span", Ge, [W.value ? (_(), i("span", {
838
+ default: D(() => [a("span", qe, [se.value ? (_(), i("span", {
738
839
  key: 0,
739
840
  class: "ml-ribbon-item-host__icon ml-ribbon-item-host__icon--dropdown-primary",
740
- onClick: ee(X, ["stop"])
841
+ onClick: ee(fe, ["stop"])
741
842
  }, [c(T(I), null, {
742
- default: D(() => [(_(), n(S(W.value)))]),
843
+ default: D(() => [(_(), n(S(se.value)))]),
743
844
  _: 1
744
- })])) : G.value ? (_(), i("span", {
845
+ })])) : ce.value ? (_(), i("span", {
745
846
  key: 1,
746
847
  class: "ml-ribbon-item-host__icon ml-ribbon-item-host__icon--class ml-ribbon-item-host__icon--dropdown-primary",
747
- onClick: ee(X, ["stop"])
848
+ onClick: ee(fe, ["stop"])
748
849
  }, [a("i", {
749
- class: p(G.value),
850
+ class: p(ce.value),
750
851
  "aria-hidden": "true"
751
- }, null, 2)])) : r("", !0), a("span", Ke, [M.value ? (_(), i("span", qe, C(oe.value), 1)) : r("", !0), c(T(I), { class: p(["ml-ribbon-item-host__dropdown-arrow", { "is-open": B.value }]) }, {
852
+ }, null, 2)])) : r("", !0), a("span", Je, [M.value ? (_(), i("span", Ye, C(oe.value), 1)) : r("", !0), c(T(I), { class: p(["ml-ribbon-item-host__dropdown-arrow", { "is-open": B.value }]) }, {
752
853
  default: D(() => [(_(), n(S(B.value ? T(H) : T(V))))]),
753
854
  _: 1
754
855
  }, 8, ["class"])])])]),
@@ -756,19 +857,19 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
756
857
  }, 8, ["disabled", "aria-label"])]),
757
858
  _: 1
758
859
  }, 8, ["disabled", "popper-class"])) : o.item.type === "checkbox" ? (_(), n(T(A), {
759
- key: 6,
760
- disabled: q.value,
860
+ key: 7,
861
+ disabled: G.value,
761
862
  onChange: J
762
863
  }, {
763
864
  default: D(() => [s(C(o.item.label), 1)]),
764
865
  _: 1
765
866
  }, 8, ["disabled"])) : o.item.type === "colorPicker" ? (_(), n(T(j), {
766
- key: 7,
767
- disabled: q.value,
867
+ key: 8,
868
+ disabled: G.value,
768
869
  onChange: J
769
870
  }, null, 8, ["disabled"])) : o.item.type === "comboBox" ? (_(), n(T(R), {
770
- key: 8,
771
- disabled: q.value,
871
+ key: 9,
872
+ disabled: G.value,
772
873
  "popper-class": E.value,
773
874
  style: { width: "92px" },
774
875
  onChange: J
@@ -780,8 +881,8 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
780
881
  }, null, 8, ["label", "value"]))), 128))]),
781
882
  _: 1
782
883
  }, 8, ["disabled", "popper-class"])) : (_(), n(T(O), {
783
- key: 9,
784
- disabled: q.value,
884
+ key: 10,
885
+ disabled: G.value,
785
886
  "aria-label": re.value,
786
887
  onClick: J
787
888
  }, {
@@ -795,11 +896,11 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
795
896
  key: 1,
796
897
  class: p(["ml-ribbon-item-host__icon ml-ribbon-item-host__icon--class", te.value]),
797
898
  "aria-hidden": "true"
798
- }, null, 2)) : r("", !0), M.value ? (_(), i("span", Xe, C(o.item.label ?? o.item.id), 1)) : r("", !0)]),
899
+ }, null, 2)) : r("", !0), M.value ? (_(), i("span", Qe, C(o.item.label ?? o.item.id), 1)) : r("", !0)]),
799
900
  _: 1
800
- }, 8, ["disabled", "aria-label"]))], 10, Ue));
901
+ }, 8, ["disabled", "aria-label"]))], 10, Ge));
801
902
  }
802
- }), Qe = /* @__PURE__ */ l({
903
+ }), et = /* @__PURE__ */ l({
803
904
  __name: "RibbonGroupContent",
804
905
  props: {
805
906
  group: {},
@@ -814,7 +915,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
814
915
  layout: t.layout ?? (a.group.orientation === "row" ? "row" : "column"),
815
916
  rows: t.rows
816
917
  }, {
817
- default: D(() => [(_(!0), i(e, null, b(t.items, (e) => (_(), n(Ze, {
918
+ default: D(() => [(_(!0), i(e, null, b(t.items, (e) => (_(), n($e, {
818
919
  id: e.id,
819
920
  key: e.id,
820
921
  item: e,
@@ -837,15 +938,15 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
837
938
  "rows"
838
939
  ]))), 128))], 2));
839
940
  }
840
- }), $e = ["data-priority"], et = { class: "ml-ribbon-group__body" }, tt = { class: "ml-ribbon-group__footer" }, nt = { class: "ml-ribbon-group__title" }, rt = [
941
+ }), tt = ["data-priority"], nt = { class: "ml-ribbon-group__body" }, rt = { class: "ml-ribbon-group__footer" }, it = { class: "ml-ribbon-group__title" }, at = [
841
942
  "aria-label",
842
943
  "aria-expanded",
843
944
  "disabled"
844
- ], it = { class: "ml-ribbon-group__overflow-content" }, at = [
945
+ ], ot = { class: "ml-ribbon-group__overflow-content" }, st = [
845
946
  "aria-label",
846
947
  "aria-expanded",
847
948
  "disabled"
848
- ], ot = { class: "ml-ribbon-group__overflow-content" }, st = /* @__PURE__ */ l({
949
+ ], ct = { class: "ml-ribbon-group__overflow-content" }, lt = /* @__PURE__ */ l({
849
950
  __name: "RibbonGroup",
850
951
  props: {
851
952
  id: {},
@@ -863,7 +964,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
863
964
  },
864
965
  emits: ["item-click"],
865
966
  setup(e, { emit: o }) {
866
- let s = e, l = o, d = u(se, null), m = t(() => s.autoWidth !== !1), v = t(() => d?.disabled.value === !0), b = y(null), w = y([]), ee = y(null), k = y(null), A = y(0), j = y(0), te = ie("size", ""), M = t(() => te.value || "default"), N = t(() => `ml-ribbon-group__overflow-popover ml-ribbon-group__overflow-popover--size-${M.value}`), P = t(() => ({ modifiers: [{
967
+ let s = e, l = o, d = u(le, null), m = t(() => s.autoWidth !== !1), v = t(() => d?.disabled.value === !0), b = y(null), w = y([]), ee = y(null), k = y(null), A = y(0), j = y(0), te = ie("size", ""), M = t(() => te.value || "default"), N = t(() => `ml-ribbon-group__overflow-popover ml-ribbon-group__overflow-popover--size-${M.value}`), P = t(() => ({ modifiers: [{
867
968
  name: "offset",
868
969
  options: { offset: [A.value, 8] }
869
970
  }] })), F = t(() => ({ modifiers: [{
@@ -908,12 +1009,12 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
908
1009
  (i.right - t.right > .5 || i.bottom - t.bottom > .5 || t.left - i.left > .5 || t.top - i.top > .5) && n.push(r);
909
1010
  }), w.value.length === n.length && w.value.every((e, t) => e === n[t]) || (w.value = n);
910
1011
  }
911
- function W() {
1012
+ function se() {
912
1013
  f(() => {
913
- ue(), K(), q(), oe();
1014
+ de(), W(), G(), oe();
914
1015
  });
915
1016
  }
916
- function K() {
1017
+ function W() {
917
1018
  let e = b.value?.getBoundingClientRect(), t = ee.value?.getBoundingClientRect();
918
1019
  if (!e || !t) {
919
1020
  A.value !== 0 && (A.value = 0);
@@ -922,7 +1023,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
922
1023
  let n = Math.round(e.left - t.left);
923
1024
  A.value !== n && (A.value = n);
924
1025
  }
925
- function q() {
1026
+ function G() {
926
1027
  let e = b.value?.getBoundingClientRect(), t = k.value?.getBoundingClientRect();
927
1028
  if (!e || !t) {
928
1029
  j.value !== 0 && (j.value = 0);
@@ -931,40 +1032,40 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
931
1032
  let n = Math.round(e.left - t.left);
932
1033
  j.value !== n && (j.value = n);
933
1034
  }
934
- function J(e) {
1035
+ function K(e) {
935
1036
  z.value = e;
936
1037
  }
937
- function ce(e) {
1038
+ function ue(e) {
938
1039
  B.value = e;
939
1040
  }
940
- function Y() {
1041
+ function q() {
941
1042
  v.value || (z.value = !z.value);
942
1043
  }
943
- function le() {
1044
+ function J() {
944
1045
  v.value || (B.value = !B.value);
945
1046
  }
946
- let X = null, Z = null;
947
- function ue() {
948
- if (!X) return;
1047
+ let Y = null, X = null;
1048
+ function de() {
1049
+ if (!Y) return;
949
1050
  let e = b.value?.querySelector(".ml-ribbon-group__content") ?? null;
950
- Z !== e && (Z && X.unobserve(Z), e && X.observe(e), Z = e);
1051
+ X !== e && (X && Y.unobserve(X), e && Y.observe(e), X = e);
951
1052
  }
952
1053
  return E(() => s.groupModel, () => {
953
- W();
1054
+ se();
954
1055
  }, { deep: !0 }), E(v, (e) => {
955
1056
  e && (z.value = !1, B.value = !1);
956
1057
  }), h(() => {
957
- typeof ResizeObserver < "u" && (X = new ResizeObserver(() => {
958
- K(), q(), oe();
959
- }), b.value && X.observe(b.value), ue()), W();
1058
+ typeof ResizeObserver < "u" && (Y = new ResizeObserver(() => {
1059
+ W(), G(), oe();
1060
+ }), b.value && Y.observe(b.value), de()), se();
960
1061
  }), g(() => {
961
- X?.disconnect();
1062
+ Y?.disconnect();
962
1063
  }), (t, o) => (_(), i("section", {
963
1064
  ref_key: "groupSectionRef",
964
1065
  ref: b,
965
1066
  class: p(["ml-ribbon-group", { "ml-ribbon-group--auto-width": m.value }]),
966
1067
  "data-priority": e.priority ?? 100
967
- }, [a("div", et, [x(t.$slots, "default")]), a("footer", tt, [
1068
+ }, [a("div", nt, [x(t.$slots, "default")]), a("footer", rt, [
968
1069
  ne.value ? (_(), n(T(I), {
969
1070
  key: 0,
970
1071
  class: "ml-ribbon-group__icon"
@@ -972,7 +1073,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
972
1073
  default: D(() => [(_(), n(S(ne.value)))]),
973
1074
  _: 1
974
1075
  })) : r("", !0),
975
- a("span", nt, C(e.title), 1),
1076
+ a("span", it, C(e.title), 1),
976
1077
  R.value && U.value ? (_(), n(T(re), {
977
1078
  key: 1,
978
1079
  trigger: "click",
@@ -980,8 +1081,8 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
980
1081
  disabled: v.value,
981
1082
  "popper-class": N.value,
982
1083
  "popper-options": F.value,
983
- onShow: o[1] ||= (e) => J(!0),
984
- onHide: o[2] ||= (e) => J(!1)
1084
+ onShow: o[1] ||= (e) => K(!0),
1085
+ onHide: o[2] ||= (e) => K(!1)
985
1086
  }, {
986
1087
  reference: D(() => [a("button", {
987
1088
  ref_key: "footerTriggerRef",
@@ -991,12 +1092,12 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
991
1092
  "aria-label": e.overflowTriggerAriaLabel,
992
1093
  "aria-expanded": z.value,
993
1094
  disabled: v.value,
994
- onClick: Y
1095
+ onClick: q
995
1096
  }, [c(T(I), null, {
996
1097
  default: D(() => [(_(), n(S(z.value ? T(H) : T(V))))]),
997
1098
  _: 1
998
- })], 10, rt)]),
999
- default: D(() => [a("div", it, [c(Qe, {
1099
+ })], 10, at)]),
1100
+ default: D(() => [a("div", ot, [c(et, {
1000
1101
  group: U.value,
1001
1102
  "gallery-preview-fallback": e.galleryPreviewFallback,
1002
1103
  onItemClick: o[0] ||= (e) => l("item-click", e)
@@ -1014,8 +1115,8 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1014
1115
  disabled: v.value,
1015
1116
  "popper-class": N.value,
1016
1117
  "popper-options": P.value,
1017
- onShow: o[4] ||= (e) => ce(!0),
1018
- onHide: o[5] ||= (e) => ce(!1)
1118
+ onShow: o[4] ||= (e) => ue(!0),
1119
+ onHide: o[5] ||= (e) => ue(!1)
1019
1120
  }, {
1020
1121
  reference: D(() => [a("button", {
1021
1122
  ref_key: "overflowTriggerRef",
@@ -1025,12 +1126,12 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1025
1126
  "aria-label": e.overflowTriggerAriaLabel,
1026
1127
  "aria-expanded": B.value,
1027
1128
  disabled: v.value,
1028
- onClick: le
1129
+ onClick: J
1029
1130
  }, [c(T(I), null, {
1030
1131
  default: D(() => [(_(), n(S(B.value ? T(H) : T(V))))]),
1031
1132
  _: 1
1032
- })], 10, at)]),
1033
- default: D(() => [a("div", ot, [c(Qe, {
1133
+ })], 10, st)]),
1134
+ default: D(() => [a("div", ct, [c(et, {
1034
1135
  group: ae.value,
1035
1136
  "gallery-preview-fallback": e.galleryPreviewFallback,
1036
1137
  onItemClick: o[3] ||= (e) => l("item-click", e)
@@ -1048,20 +1149,20 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1048
1149
  disabled: v.value
1049
1150
  }, {
1050
1151
  default: D(() => [c(T(I), null, {
1051
- default: D(() => [c(T(G))]),
1152
+ default: D(() => [c(T(ce))]),
1052
1153
  _: 1
1053
1154
  })]),
1054
1155
  _: 1
1055
1156
  }, 8, ["disabled"])) : r("", !0)
1056
- ])], 10, $e));
1157
+ ])], 10, tt));
1057
1158
  }
1058
- }), ct = ["inert", "aria-disabled"], lt = { class: "ml-ribbon__header" }, ut = { class: "ml-ribbon__head-left" }, dt = { class: "ml-ribbon__head-right" }, ft = {
1159
+ }), ut = ["inert", "aria-disabled"], dt = { class: "ml-ribbon__header" }, ft = { class: "ml-ribbon__head-left" }, pt = { class: "ml-ribbon__head-right" }, mt = {
1059
1160
  key: 2,
1060
1161
  class: "ml-ribbon__tabs-extra"
1061
- }, pt = ["data-active-tab"], mt = {
1162
+ }, ht = ["data-active-tab"], gt = {
1062
1163
  key: 0,
1063
1164
  class: "ml-ribbon-group ml-ribbon-group--overflow"
1064
- }, ht = { class: "ml-ribbon-group__body ml-ribbon-group__body--overflow" }, gt = ["aria-label", "disabled"], _t = { class: "ml-ribbon-overflow-list" }, vt = { class: "ml-ribbon-overflow-group__header" }, yt = ["data-active-tab"], bt = ["disabled"], xt = { class: "ml-ribbon-simplified-group__panel" }, St = 40, Ct = /* @__PURE__ */ l({
1165
+ }, _t = { class: "ml-ribbon-group__body ml-ribbon-group__body--overflow" }, vt = ["aria-label", "disabled"], yt = { class: "ml-ribbon-overflow-list" }, bt = { class: "ml-ribbon-overflow-group__header" }, xt = ["data-active-tab"], St = ["disabled"], Ct = { class: "ml-ribbon-simplified-group__panel" }, wt = 40, Tt = /* @__PURE__ */ l({
1065
1166
  __name: "Ribbon",
1066
1167
  props: {
1067
1168
  id: { default: "ml-ribbon-root" },
@@ -1121,7 +1222,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1121
1222
  function ee(e) {
1122
1223
  if (!e) return;
1123
1224
  let t = { ...e };
1124
- return "icon" in t && (t.icon = m(t.icon)), Array.isArray(t.options) && (t.options = t.options.map((e) => {
1225
+ return "icon" in t && (t.icon = m(t.icon)), "activeIcon" in t && (t.activeIcon = m(t.activeIcon)), "inactiveIcon" in t && (t.inactiveIcon = m(t.inactiveIcon)), Array.isArray(t.options) && (t.options = t.options.map((e) => {
1125
1226
  if (!e || typeof e != "object") return e;
1126
1227
  let t = e;
1127
1228
  return "icon" in t ? {
@@ -1169,8 +1270,8 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1169
1270
  keyTipsEmptySequence: "No key sequence",
1170
1271
  contextualTabDefaultTitle: "Contextual",
1171
1272
  galleryPreviewFallback: "Preview unavailable"
1172
- }, N = s, P = u, { context: F, visibleTabs: ne } = ue(N.id, N.tabs, N.disabled, N.activeLayout ? String(N.activeLayout).toLowerCase() === "simplified" ? "simplified" : "classic" : N.layout, N.minimized, N.activeTab || N.tabs[0]?.id || "");
1173
- v(se, F), E(() => N.tabs, (e) => {
1273
+ }, N = s, P = u, { context: F, visibleTabs: ne } = de(N.id, N.tabs, N.disabled, N.activeLayout ? String(N.activeLayout).toLowerCase() === "simplified" ? "simplified" : "classic" : N.layout, N.minimized, N.activeTab || N.tabs[0]?.id || "");
1274
+ v(le, F), E(() => N.tabs, (e) => {
1174
1275
  F.tabs.value = j(e), F.tabs.value.some((e) => e.id === F.activeTab.value) || (F.activeTab.value = F.tabs.value[0]?.id || "");
1175
1276
  }, { deep: !0 }), E(() => N.layout, (e) => {
1176
1277
  e !== F.layout.value && (F.layout.value = e);
@@ -1195,7 +1296,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1195
1296
  }), E(F.backdropOpen, (e) => {
1196
1297
  P(e ? "backstageOpen" : "backstageClose");
1197
1298
  });
1198
- let L = t(() => ne.value.find((e) => e.id === F.activeTab.value)), R = t(() => L.value?.groups?.filter((e) => e.visible !== !1) ?? []), V = y(null), H = y(/* @__PURE__ */ new Set()), G = y({}), K = ie("size", ""), q = t(() => N.size || K.value || "default"), J = t(() => `ml-ribbon-group-popover ml-ribbon-group-popover--size-${q.value}`), ce = t(() => `ml-ribbon-overflow-popover ml-ribbon-overflow-popover--size-${q.value}`), Y = t(() => ({
1299
+ let L = t(() => ne.value.find((e) => e.id === F.activeTab.value)), R = t(() => L.value?.groups?.filter((e) => e.visible !== !1) ?? []), V = y(null), H = y(/* @__PURE__ */ new Set()), ce = y({}), W = ie("size", ""), G = t(() => N.size || W.value || "default"), K = t(() => `ml-ribbon-group-popover ml-ribbon-group-popover--size-${G.value}`), ue = t(() => `ml-ribbon-overflow-popover ml-ribbon-overflow-popover--size-${G.value}`), q = t(() => ({
1199
1300
  layoutSwitcherTooltip: N.texts.layoutSwitcherTooltip || M.layoutSwitcherTooltip,
1200
1301
  minimizeTooltip: N.texts.minimizeTooltip || M.minimizeTooltip,
1201
1302
  keyTipsToggleText: N.texts.keyTipsToggleText || M.keyTipsToggleText,
@@ -1210,15 +1311,15 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1210
1311
  keyTipsEmptySequence: N.texts.keyTipsEmptySequence || M.keyTipsEmptySequence,
1211
1312
  contextualTabDefaultTitle: N.texts.contextualTabDefaultTitle || M.contextualTabDefaultTitle,
1212
1313
  galleryPreviewFallback: N.texts.galleryPreviewFallback || M.galleryPreviewFallback
1213
- })), le = t(() => F.minimized.value ? U : ae), X = t(() => R.value.filter((e) => !H.value.has(e.id))), Z = t(() => R.value.filter((e) => H.value.has(e.id))), de = t(() => {
1214
- if (!Z.value.length) return 220;
1215
- let e = Z.value.reduce((e, t) => {
1216
- let n = G.value[t.id] ?? me(t);
1314
+ })), J = t(() => F.minimized.value ? U : ae), Y = t(() => R.value.filter((e) => !H.value.has(e.id))), X = t(() => R.value.filter((e) => H.value.has(e.id))), fe = t(() => {
1315
+ if (!X.value.length) return 220;
1316
+ let e = X.value.reduce((e, t) => {
1317
+ let n = ce.value[t.id] ?? he(t);
1217
1318
  return Math.max(e, n);
1218
1319
  }, 0), t = Math.ceil(e + 40);
1219
1320
  return Math.max(220, Math.min(720, t));
1220
1321
  });
1221
- function fe(e) {
1322
+ function pe(e) {
1222
1323
  let t = (e.collections ?? []).flatMap((e) => (e.items ?? []).map((e) => ({
1223
1324
  ...k(e),
1224
1325
  size: "medium"
@@ -1233,13 +1334,13 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1233
1334
  }]
1234
1335
  };
1235
1336
  }
1236
- function pe(e) {
1337
+ function me(e) {
1237
1338
  return e.priority ?? 100;
1238
1339
  }
1239
- function me(e) {
1340
+ function he(e) {
1240
1341
  return e.autoWidth === !1 ? 190 : 140;
1241
1342
  }
1242
- function ge(e) {
1343
+ function _e(e) {
1243
1344
  let t = {};
1244
1345
  return e.querySelectorAll(".ml-ribbon-group").forEach((e) => {
1245
1346
  let n = e.dataset.groupId;
@@ -1248,11 +1349,11 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1248
1349
  r > 0 && (t[n] = r);
1249
1350
  }), t;
1250
1351
  }
1251
- function _e(e) {
1352
+ function ve(e) {
1252
1353
  let t = Number.parseFloat(getComputedStyle(e).getPropertyValue("--ml-rb-overflow-slot-width"));
1253
- return Number.isFinite(t) && t > 0 ? t : St;
1354
+ return Number.isFinite(t) && t > 0 ? t : wt;
1254
1355
  }
1255
- function ve() {
1356
+ function Z() {
1256
1357
  if (F.layout.value !== "classic") {
1257
1358
  H.value = /* @__PURE__ */ new Set();
1258
1359
  return;
@@ -1264,18 +1365,18 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1264
1365
  H.value = /* @__PURE__ */ new Set();
1265
1366
  return;
1266
1367
  }
1267
- let n = Math.round(e.getBoundingClientRect().width), r = _e(e), i = ge(e);
1268
- G.value = {
1269
- ...G.value,
1368
+ let n = Math.round(e.getBoundingClientRect().width), r = ve(e), i = _e(e);
1369
+ ce.value = {
1370
+ ...ce.value,
1270
1371
  ...i
1271
1372
  };
1272
1373
  let a = t.filter((e) => e.enableGroupOverflow === !1), o = t.filter((e) => e.enableGroupOverflow !== !1).map((e, t) => ({
1273
1374
  group: e,
1274
1375
  index: t
1275
1376
  })), s = /* @__PURE__ */ new Set(), c = [...o].sort((e, t) => {
1276
- let n = pe(t.group) - pe(e.group);
1377
+ let n = me(t.group) - me(e.group);
1277
1378
  return n === 0 ? t.index - e.index : n;
1278
- }), l = (e) => i[e.id] ?? me(e), u = a.reduce((e, t) => e + l(t), 0), d = (e) => o.filter(({ group: t }) => !e.has(t.id)).reduce((e, { group: t }) => e + l(t), 0), f = (e) => u + d(e) + (e.size > 0 ? r : 0), p = 0;
1379
+ }), l = (e) => i[e.id] ?? he(e), u = a.reduce((e, t) => e + l(t), 0), d = (e) => o.filter(({ group: t }) => !e.has(t.id)).reduce((e, { group: t }) => e + l(t), 0), f = (e) => u + d(e) + (e.size > 0 ? r : 0), p = 0;
1279
1380
  for (; f(s) > n && p < c.length;) {
1280
1381
  let e = c[p].group;
1281
1382
  s.add(e.id), p += 1;
@@ -1285,15 +1386,15 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1285
1386
  function ye() {
1286
1387
  f(() => {
1287
1388
  if (F.layout.value !== "classic" || F.minimized.value) {
1288
- ve();
1389
+ Z();
1289
1390
  return;
1290
1391
  }
1291
1392
  if (H.value.size === 0) {
1292
- ve();
1393
+ Z();
1293
1394
  return;
1294
1395
  }
1295
1396
  H.value = /* @__PURE__ */ new Set(), f(() => {
1296
- ve();
1397
+ Z();
1297
1398
  });
1298
1399
  });
1299
1400
  }
@@ -1432,7 +1533,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1432
1533
  key: T(F).disabled.value ? "ml-ribbon-disabled" : "ml-ribbon-enabled",
1433
1534
  class: p(["ml-ribbon", [
1434
1535
  `ml-ribbon--${T(F).layout.value}`,
1435
- `ml-ribbon--size-${q.value}`,
1536
+ `ml-ribbon--size-${G.value}`,
1436
1537
  {
1437
1538
  "ml-ribbon--disabled": T(F).disabled.value,
1438
1539
  "ml-ribbon--minimized": T(F).minimized.value,
@@ -1442,13 +1543,13 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1442
1543
  inert: T(F).disabled.value,
1443
1544
  "aria-disabled": T(F).disabled.value
1444
1545
  }, [
1445
- a("header", lt, [a("div", ut, [
1546
+ a("header", dt, [a("div", ft, [
1446
1547
  s.showFileMenu ? (_(), n(we, {
1447
1548
  key: 0,
1448
1549
  items: s.fileMenuItems,
1449
1550
  disabled: T(F).disabled.value,
1450
- label: Y.value.fileMenuLabel,
1451
- "open-backstage-label": Y.value.fileMenuOpenBackstageLabel,
1551
+ label: q.value.fileMenuLabel,
1552
+ "open-backstage-label": q.value.fileMenuOpenBackstageLabel,
1452
1553
  "show-open-backstage": s.showOpenBackstage,
1453
1554
  onSelect: Te,
1454
1555
  onOpenBackstage: Ee
@@ -1463,7 +1564,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1463
1564
  tabs: T(ne),
1464
1565
  "active-tab": T(F).activeTab.value,
1465
1566
  disabled: T(F).disabled.value,
1466
- "default-contextual-title": Y.value.contextualTabDefaultTitle,
1567
+ "default-contextual-title": q.value.contextualTabDefaultTitle,
1467
1568
  onSelect: be
1468
1569
  }, null, 8, [
1469
1570
  "tabs",
@@ -1473,7 +1574,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1473
1574
  ]),
1474
1575
  N.hideMinimizeButton ? r("", !0) : (_(), n(T(B), {
1475
1576
  key: 1,
1476
- content: Y.value.minimizeTooltip
1577
+ content: q.value.minimizeTooltip
1477
1578
  }, {
1478
1579
  default: D(() => [c(T(O), {
1479
1580
  class: p([
@@ -1481,7 +1582,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1481
1582
  "ml-ribbon__control--minimize",
1482
1583
  T(F).minimized.value ? "ml-ribbon__control--minimize-up" : "ml-ribbon__control--minimize-down"
1483
1584
  ]),
1484
- icon: le.value,
1585
+ icon: J.value,
1485
1586
  disabled: T(F).disabled.value,
1486
1587
  onClick: Ce
1487
1588
  }, null, 8, [
@@ -1491,15 +1592,15 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1491
1592
  ])]),
1492
1593
  _: 1
1493
1594
  }, 8, ["content"]))
1494
- ]), a("div", dt, [
1595
+ ]), a("div", pt, [
1495
1596
  N.hideLayoutSwitcher ? r("", !0) : (_(), n(T(B), {
1496
1597
  key: 0,
1497
- content: Y.value.layoutSwitcherTooltip
1598
+ content: q.value.layoutSwitcherTooltip
1498
1599
  }, {
1499
1600
  default: D(() => [c(T(O), {
1500
1601
  circle: "",
1501
1602
  class: "ml-ribbon__control ml-ribbon__control--layout",
1502
- icon: T(W),
1603
+ icon: T(se),
1503
1604
  disabled: T(F).disabled.value,
1504
1605
  onClick: xe
1505
1606
  }, null, 8, ["icon", "disabled"])]),
@@ -1509,8 +1610,8 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1509
1610
  key: 1,
1510
1611
  "inline-prompt": "",
1511
1612
  class: "ml-ribbon__control ml-ribbon__control--keytips",
1512
- "active-text": Y.value.keyTipsToggleText,
1513
- "inactive-text": Y.value.keyTipsToggleText,
1613
+ "active-text": q.value.keyTipsToggleText,
1614
+ "inactive-text": q.value.keyTipsToggleText,
1514
1615
  "model-value": T(F).keyTipsOpen.value,
1515
1616
  disabled: T(F).disabled.value,
1516
1617
  onChange: l[0] ||= (e) => T(F).keyTipsOpen.value = !T(F).keyTipsOpen.value
@@ -1520,7 +1621,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1520
1621
  "model-value",
1521
1622
  "disabled"
1522
1623
  ])),
1523
- t.$slots["tabs-extra"] ? (_(), i("div", ft, [x(t.$slots, "tabs-extra", {
1624
+ t.$slots["tabs-extra"] ? (_(), i("div", mt, [x(t.$slots, "tabs-extra", {
1524
1625
  activeTab: T(F).activeTab.value,
1525
1626
  layout: T(F).layout.value,
1526
1627
  minimized: T(F).minimized.value,
@@ -1533,7 +1634,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1533
1634
  "data-active-tab": L.value.id,
1534
1635
  ref_key: "classicPanelRef",
1535
1636
  ref: V
1536
- }, [(_(!0), i(e, null, b(X.value, (e) => (_(), n(st, {
1637
+ }, [(_(!0), i(e, null, b(Y.value, (e) => (_(), n(lt, {
1537
1638
  id: e.id,
1538
1639
  key: e.id,
1539
1640
  "data-group-id": e.id,
@@ -1546,13 +1647,13 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1546
1647
  launcher: e.launcher,
1547
1648
  "show-launcher-icon": e.showLauncherIcon,
1548
1649
  "group-model": e,
1549
- "overflow-trigger-aria-label": Y.value.groupOverflowTriggerAriaLabel,
1550
- "gallery-preview-fallback": Y.value.galleryPreviewFallback,
1650
+ "overflow-trigger-aria-label": q.value.groupOverflowTriggerAriaLabel,
1651
+ "gallery-preview-fallback": q.value.galleryPreviewFallback,
1551
1652
  onItemClick: l[2] ||= (e) => Oe(e.groupId, e.itemId)
1552
1653
  }, {
1553
- default: D(() => [c(Qe, {
1654
+ default: D(() => [c(et, {
1554
1655
  group: e,
1555
- "gallery-preview-fallback": Y.value.galleryPreviewFallback,
1656
+ "gallery-preview-fallback": q.value.galleryPreviewFallback,
1556
1657
  onItemClick: l[1] ||= (e) => Oe(e.groupId, e.itemId)
1557
1658
  }, null, 8, ["group", "gallery-preview-fallback"])]),
1558
1659
  _: 2
@@ -1570,27 +1671,27 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1570
1671
  "group-model",
1571
1672
  "overflow-trigger-aria-label",
1572
1673
  "gallery-preview-fallback"
1573
- ]))), 128)), Z.value.length ? (_(), i("section", mt, [a("div", ht, [c(T(re), {
1674
+ ]))), 128)), X.value.length ? (_(), i("section", gt, [a("div", _t, [c(T(re), {
1574
1675
  trigger: "click",
1575
1676
  placement: "bottom-end",
1576
- width: de.value,
1677
+ width: fe.value,
1577
1678
  disabled: T(F).disabled.value,
1578
- "popper-class": ce.value,
1679
+ "popper-class": ue.value,
1579
1680
  onShow: l[4] ||= (e) => T(F).overflowOpen.value = !0,
1580
1681
  onHide: l[5] ||= (e) => T(F).overflowOpen.value = !1
1581
1682
  }, {
1582
1683
  reference: D(() => [a("button", {
1583
1684
  type: "button",
1584
1685
  class: "ml-ribbon-overflow-trigger",
1585
- "aria-label": Y.value.overflowTriggerAriaLabel,
1686
+ "aria-label": q.value.overflowTriggerAriaLabel,
1586
1687
  disabled: T(F).disabled.value
1587
- }, [...l[7] ||= [a("span", { class: "ml-ribbon-overflow-trigger__dots" }, "...", -1)]], 8, gt)]),
1588
- default: D(() => [a("div", _t, [(_(!0), i(e, null, b(Z.value, (e) => (_(), i("section", {
1688
+ }, [...l[7] ||= [a("span", { class: "ml-ribbon-overflow-trigger__dots" }, "...", -1)]], 8, vt)]),
1689
+ default: D(() => [a("div", yt, [(_(!0), i(e, null, b(X.value, (e) => (_(), i("section", {
1589
1690
  key: e.id,
1590
1691
  class: "ml-ribbon-overflow-group"
1591
- }, [a("header", vt, C(e.title), 1), c(Qe, {
1692
+ }, [a("header", bt, C(e.title), 1), c(et, {
1592
1693
  group: e,
1593
- "gallery-preview-fallback": Y.value.galleryPreviewFallback,
1694
+ "gallery-preview-fallback": q.value.galleryPreviewFallback,
1594
1695
  onItemClick: l[3] ||= (e) => Oe(e.groupId, e.itemId)
1595
1696
  }, null, 8, ["group", "gallery-preview-fallback"])]))), 128))])]),
1596
1697
  _: 1
@@ -1598,7 +1699,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1598
1699
  "width",
1599
1700
  "disabled",
1600
1701
  "popper-class"
1601
- ])]), l[8] ||= a("footer", { class: "ml-ribbon-group__footer ml-ribbon-group__footer--overflow" }, null, -1)])) : r("", !0)], 8, pt)) : r("", !0),
1702
+ ])]), l[8] ||= a("footer", { class: "ml-ribbon-group__footer ml-ribbon-group__footer--overflow" }, null, -1)])) : r("", !0)], 8, ht)) : r("", !0),
1602
1703
  !T(F).minimized.value && L.value && T(F).layout.value === "simplified" ? (_(), i("main", {
1603
1704
  key: 1,
1604
1705
  class: "ml-ribbon__panel ml-ribbon__panel--simplified",
@@ -1609,7 +1710,7 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1609
1710
  placement: "bottom-start",
1610
1711
  width: 340,
1611
1712
  disabled: T(F).disabled.value,
1612
- "popper-class": J.value
1713
+ "popper-class": K.value
1613
1714
  }, {
1614
1715
  reference: D(() => [a("button", {
1615
1716
  class: "ml-ribbon-simplified-group",
@@ -1621,30 +1722,30 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1621
1722
  }, {
1622
1723
  default: D(() => [(_(), n(S(Ne(e))))]),
1623
1724
  _: 2
1624
- }, 1024)) : r("", !0), a("span", null, C(e.title), 1)], 8, bt)]),
1625
- default: D(() => [a("div", xt, [c(Qe, {
1626
- group: fe(e),
1627
- "gallery-preview-fallback": Y.value.galleryPreviewFallback,
1725
+ }, 1024)) : r("", !0), a("span", null, C(e.title), 1)], 8, St)]),
1726
+ default: D(() => [a("div", Ct, [c(et, {
1727
+ group: pe(e),
1728
+ "gallery-preview-fallback": q.value.galleryPreviewFallback,
1628
1729
  onItemClick: l[6] ||= (e) => Oe(e.groupId, e.itemId)
1629
1730
  }, null, 8, ["group", "gallery-preview-fallback"])])]),
1630
1731
  _: 2
1631
- }, 1032, ["disabled", "popper-class"]))), 128))], 8, yt)) : r("", !0),
1632
- c(he, {
1732
+ }, 1032, ["disabled", "popper-class"]))), 128))], 8, xt)) : r("", !0),
1733
+ c(ge, {
1633
1734
  open: T(F).backdropOpen.value,
1634
- size: q.value,
1635
- "back-label": Y.value.backstageBackLabel,
1636
- title: Y.value.backstageTitle,
1637
- description: Y.value.backstageDescription,
1735
+ size: G.value,
1736
+ "back-label": q.value.backstageBackLabel,
1737
+ title: q.value.backstageTitle,
1738
+ description: q.value.backstageDescription,
1638
1739
  onClose: De
1639
1740
  }, o({ _: 2 }, [t.$slots.backstage ? {
1640
1741
  name: "default",
1641
1742
  fn: D(() => [x(t.$slots, "backstage", {
1642
1743
  close: De,
1643
1744
  open: T(F).backdropOpen.value,
1644
- size: q.value,
1645
- backLabel: Y.value.backstageBackLabel,
1646
- title: Y.value.backstageTitle,
1647
- description: Y.value.backstageDescription,
1745
+ size: G.value,
1746
+ backLabel: q.value.backstageBackLabel,
1747
+ title: q.value.backstageTitle,
1748
+ description: q.value.backstageDescription,
1648
1749
  disabled: T(F).disabled.value
1649
1750
  })]),
1650
1751
  key: "0"
@@ -1655,14 +1756,14 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1655
1756
  "title",
1656
1757
  "description"
1657
1758
  ])
1658
- ], 10, ct))]),
1759
+ ], 10, ut))]),
1659
1760
  _: 3
1660
1761
  }, 8, ["size"]));
1661
1762
  }
1662
- }), wt = {
1763
+ }), Et = {
1663
1764
  class: "ml-ribbon-tab-definition",
1664
1765
  hidden: ""
1665
- }, Tt = /* @__PURE__ */ l({
1766
+ }, Dt = /* @__PURE__ */ l({
1666
1767
  __name: "RibbonTab",
1667
1768
  props: {
1668
1769
  id: {},
@@ -1673,13 +1774,13 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1673
1774
  contextualTitle: {}
1674
1775
  },
1675
1776
  setup(e) {
1676
- return (e, t) => (_(), i("div", wt, [x(e.$slots, "default")]));
1777
+ return (e, t) => (_(), i("div", Et, [x(e.$slots, "default")]));
1677
1778
  }
1678
- }), Et = {
1779
+ }), Ot = {
1679
1780
  key: 0,
1680
1781
  class: "ml-ribbon-keytips",
1681
1782
  "aria-live": "polite"
1682
- }, Dt = { class: "ml-ribbon-keytips__hint" }, Ot = /* @__PURE__ */ l({
1783
+ }, kt = { class: "ml-ribbon-keytips__hint" }, At = /* @__PURE__ */ l({
1683
1784
  __name: "RibbonKeyTips",
1684
1785
  props: {
1685
1786
  open: { type: Boolean },
@@ -1714,11 +1815,11 @@ var de = { class: "ml-ribbon-backstage__nav" }, fe = { class: "ml-ribbon-backsta
1714
1815
  }
1715
1816
  return h(() => window.addEventListener("keydown", S)), g(() => window.removeEventListener("keydown", S)), E(() => s.open, (e) => {
1716
1817
  e || x();
1717
- }), (t, o) => n.open ? (_(), i("div", Et, [a("div", Dt, C(f.value), 1), (_(!0), i(e, null, b(u.value, (e) => (_(), i("span", {
1818
+ }), (t, o) => n.open ? (_(), i("div", Ot, [a("div", kt, C(f.value), 1), (_(!0), i(e, null, b(u.value, (e) => (_(), i("span", {
1718
1819
  key: e.id,
1719
1820
  class: "ml-ribbon-keytip"
1720
1821
  }, C(e.key), 1))), 128))])) : r("", !0);
1721
1822
  }
1722
1823
  });
1723
1824
  //#endregion
1724
- export { Ct as MlRibbon, he as MlRibbonBackstage, Pe as MlRibbonButtonGroup, Te as MlRibbonCollection, Se as MlRibbonContextualTabs, we as MlRibbonFileMenu, Me as MlRibbonGallery, st as MlRibbonGroup, Ze as MlRibbonItemHost, Ot as MlRibbonKeyTips, Be as MlRibbonSegmented, Tt as MlRibbonTab, ve as MlRibbonTabs, He as MlRibbonTemplateItem };
1825
+ export { Tt as MlRibbon, ge as MlRibbonBackstage, Pe as MlRibbonButtonGroup, Te as MlRibbonCollection, Se as MlRibbonContextualTabs, we as MlRibbonFileMenu, Me as MlRibbonGallery, lt as MlRibbonGroup, $e as MlRibbonItemHost, At as MlRibbonKeyTips, Be as MlRibbonSegmented, Dt as MlRibbonTab, Z as MlRibbonTabs, We as MlRibbonTemplateItem, He as MlRibbonToggleButton };