@mintplayer/react-bootstrap 19.27.0 → 19.29.0
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/accordion/index.mjs +64 -35
- package/accordion/src/BsAccordion.d.ts +19 -19
- package/accordion/src/index.d.ts +1 -0
- package/calendar/index.mjs +107 -9
- package/calendar/src/generated/BsCalendar.generated.d.ts +24 -0
- package/calendar/src/generated/calendar.view.generated.d.ts +14 -0
- package/calendar/src/generated/index.d.ts +1 -0
- package/calendar/src/index.d.ts +2 -1
- package/card/index.mjs +69 -71
- package/card/src/BsCard.d.ts +15 -6
- package/card/src/BsCardBody.d.ts +1 -3
- package/card/src/BsCardFooter.d.ts +4 -5
- package/card/src/BsCardGroup.d.ts +1 -2
- package/card/src/BsCardHeader.d.ts +5 -9
- package/card/src/BsCardImg.d.ts +2 -3
- package/card/src/BsCardLink.d.ts +1 -3
- package/card/src/BsCardSubtitle.d.ts +2 -3
- package/card/src/BsCardText.d.ts +1 -3
- package/card/src/BsCardTitle.d.ts +1 -3
- package/carousel/index.mjs +150 -24
- package/carousel/src/carousel.react.d.ts +5 -0
- package/carousel/src/generated/BsCarousel.generated.d.ts +30 -0
- package/carousel/src/generated/BsCarouselItem.generated.d.ts +6 -0
- package/carousel/src/generated/carousel-item.view.generated.d.ts +14 -0
- package/carousel/src/generated/carousel.view.generated.d.ts +14 -0
- package/carousel/src/generated/index.d.ts +2 -0
- package/carousel/src/index.d.ts +2 -3
- package/charts/hierarchy/index.mjs +178 -15
- package/charts/hierarchy/src/generated/BsHierarchyChart.generated.d.ts +52 -0
- package/charts/hierarchy/src/generated/hierarchy-chart.view.generated.d.ts +14 -0
- package/charts/hierarchy/src/generated/index.d.ts +1 -0
- package/charts/hierarchy/src/index.d.ts +2 -2
- package/charts/sparkline/index.mjs +35 -8
- package/charts/sparkline/src/BsSparkline.d.ts +21 -3
- package/charts/trend/index.mjs +124 -13
- package/charts/trend/src/generated/BsTrendChart.generated.d.ts +28 -0
- package/charts/trend/src/generated/index.d.ts +1 -0
- package/charts/trend/src/generated/trend-chart.view.generated.d.ts +14 -0
- package/charts/trend/src/index.d.ts +2 -2
- package/checkbox/index.mjs +1 -12
- package/checkbox/src/BsCheckbox.d.ts +29 -9
- package/checkbox/src/index.d.ts +1 -0
- package/chunks/BsCheckbox-BWU2Hrhf.mjs +57 -0
- package/chunks/BsDatatable.generated-am6uNreO.mjs +459 -0
- package/chunks/BsDatetimePicker.generated-B4WBEiCo.mjs +206 -0
- package/chunks/BsRadio-D1C6Aqjv.mjs +48 -0
- package/chunks/BsSplitterPanel.generated-C7r4Nedd.mjs +87 -0
- package/chunks/BsTreeview.generated-djXBc8bl.mjs +100 -0
- package/chunks/react-props-C2O2_2V2.mjs +33 -0
- package/chunks/useMachine-CpK1VckL.mjs +12 -0
- package/code-snippet/index.mjs +118 -13
- package/code-snippet/src/generated/BsCodeSnippet.generated.d.ts +27 -0
- package/code-snippet/src/generated/code-snippet.view.generated.d.ts +14 -0
- package/code-snippet/src/generated/index.d.ts +1 -0
- package/code-snippet/src/index.d.ts +2 -1
- package/datatable/index.mjs +3 -35
- package/datatable/src/generated/BsDatatable.generated.d.ts +83 -0
- package/datatable/src/generated/datatable.view.generated.d.ts +32 -0
- package/datatable/src/generated/index.d.ts +1 -0
- package/datatable/src/index.d.ts +3 -1
- package/datepicker/index.mjs +148 -15
- package/datepicker/src/generated/BsDatepicker.generated.d.ts +35 -0
- package/datepicker/src/generated/datepicker.view.generated.d.ts +14 -0
- package/datepicker/src/generated/index.d.ts +1 -0
- package/datepicker/src/index.d.ts +3 -1
- package/datetime-picker/index.mjs +1 -16
- package/datetime-picker/src/generated/BsDatetimePicker.generated.d.ts +36 -0
- package/datetime-picker/src/generated/datetime-picker.view.generated.d.ts +14 -0
- package/datetime-picker/src/generated/index.d.ts +1 -0
- package/datetime-picker/src/index.d.ts +2 -1
- package/dock/index.mjs +171 -10
- package/dock/src/generated/BsDockManager.generated.d.ts +20 -0
- package/dock/src/generated/dock-manager.view.generated.d.ts +18 -0
- package/dock/src/generated/dock-node.view.generated.d.ts +13 -0
- package/dock/src/generated/index.d.ts +1 -0
- package/dock/src/index.d.ts +3 -1
- package/dropdown-menu/index.mjs +52 -38
- package/dropdown-menu/src/BsDropdownDivider.d.ts +1 -1
- package/dropdown-menu/src/BsDropdownHeader.d.ts +2 -2
- package/dropdown-menu/src/BsDropdownItem.d.ts +7 -10
- package/dropdown-menu/src/BsDropdownMenu.d.ts +15 -17
- package/dropdown-menu/src/index.d.ts +1 -1
- package/file-manager/index.mjs +238 -18
- package/file-manager/src/generated/BsFileManager.generated.d.ts +52 -0
- package/file-manager/src/generated/file-manager.view.generated.d.ts +14 -0
- package/file-manager/src/generated/index.d.ts +1 -0
- package/file-manager/src/index.d.ts +3 -1
- package/input-group/index.mjs +16 -9
- package/input-group/src/BsInputGroup.d.ts +15 -8
- package/machine/index.mjs +94 -1
- package/machine/src/content.d.ts +14 -0
- package/machine/src/core.d.ts +24 -0
- package/machine/src/index.d.ts +3 -0
- package/machine/src/react-props.d.ts +16 -2
- package/machine/src/transfer-state.d.ts +31 -0
- package/multi-range/index.mjs +73 -13
- package/multi-range/src/generated/BsMultiRange.generated.d.ts +28 -0
- package/multi-range/src/generated/index.d.ts +1 -0
- package/multi-range/src/generated/multi-range.view.generated.d.ts +14 -0
- package/multi-range/src/index.d.ts +2 -1
- package/navbar/index.mjs +204 -36
- package/navbar/src/generated/BsNavbar.generated.d.ts +24 -0
- package/navbar/src/generated/BsNavbarDropdown.generated.d.ts +11 -0
- package/navbar/src/generated/BsNavbarItem.generated.d.ts +9 -0
- package/navbar/src/generated/BsNavbarNav.generated.d.ts +8 -0
- package/navbar/src/generated/index.d.ts +4 -0
- package/navbar/src/generated/navbar-dropdown.view.generated.d.ts +17 -0
- package/navbar/src/generated/navbar-item.view.generated.d.ts +14 -0
- package/navbar/src/generated/navbar-nav.view.generated.d.ts +14 -0
- package/navbar/src/generated/navbar.view.generated.d.ts +18 -0
- package/navbar/src/index.d.ts +2 -9
- package/otp-input/index.mjs +83 -13
- package/otp-input/src/generated/BsOtpInput.generated.d.ts +28 -0
- package/otp-input/src/generated/index.d.ts +1 -0
- package/otp-input/src/generated/otp-input.view.generated.d.ts +14 -0
- package/otp-input/src/index.d.ts +2 -1
- package/package.json +7 -6
- package/pagination/index.mjs +43 -9
- package/pagination/src/BsPagination.d.ts +23 -9
- package/phone-input/index.mjs +124 -13
- package/phone-input/src/generated/BsPhoneInput.generated.d.ts +34 -0
- package/phone-input/src/generated/index.d.ts +1 -0
- package/phone-input/src/generated/phone-input.view.generated.d.ts +14 -0
- package/phone-input/src/index.d.ts +2 -1
- package/query-builder/index.mjs +365 -18
- package/query-builder/src/generated/BsQueryBuilder.generated.d.ts +42 -0
- package/query-builder/src/generated/index.d.ts +1 -0
- package/query-builder/src/generated/query-builder-item.view.generated.d.ts +18 -0
- package/query-builder/src/generated/query-builder.view.generated.d.ts +18 -0
- package/query-builder/src/index.d.ts +3 -1
- package/radio/index.mjs +1 -12
- package/radio/src/BsRadio.d.ts +37 -8
- package/radio-group/index.mjs +36 -9
- package/radio-group/src/BsRadioGroup.d.ts +19 -11
- package/ribbon/index.mjs +1048 -99
- package/ribbon/src/generated/BsQuickAccessToolbar.generated.d.ts +8 -0
- package/ribbon/src/generated/BsRibbon.generated.d.ts +30 -0
- package/ribbon/src/generated/BsRibbonButton.generated.d.ts +21 -0
- package/ribbon/src/generated/BsRibbonCheckBox.generated.d.ts +20 -0
- package/ribbon/src/generated/BsRibbonColorPicker.generated.d.ts +20 -0
- package/ribbon/src/generated/BsRibbonComboBox.generated.d.ts +21 -0
- package/ribbon/src/generated/BsRibbonContextualTabSet.generated.d.ts +10 -0
- package/ribbon/src/generated/BsRibbonDropdownButton.generated.d.ts +21 -0
- package/ribbon/src/generated/BsRibbonGallery.generated.d.ts +18 -0
- package/ribbon/src/generated/BsRibbonGalleryItem.generated.d.ts +16 -0
- package/ribbon/src/generated/BsRibbonGroup.generated.d.ts +19 -0
- package/ribbon/src/generated/BsRibbonGroupButton.generated.d.ts +21 -0
- package/ribbon/src/generated/BsRibbonMenuItem.generated.d.ts +19 -0
- package/ribbon/src/generated/BsRibbonMenuSeparator.generated.d.ts +6 -0
- package/ribbon/src/generated/BsRibbonSplitButton.generated.d.ts +25 -0
- package/ribbon/src/generated/BsRibbonTab.generated.d.ts +14 -0
- package/ribbon/src/generated/BsRibbonTemplateItem.generated.d.ts +8 -0
- package/ribbon/src/generated/BsRibbonToggleButton.generated.d.ts +22 -0
- package/ribbon/src/generated/index.d.ts +18 -0
- package/ribbon/src/generated/quick-access-toolbar.view.generated.d.ts +14 -0
- package/ribbon/src/generated/ribbon-button.view.generated.d.ts +16 -0
- package/ribbon/src/generated/ribbon-check-box.view.generated.d.ts +14 -0
- package/ribbon/src/generated/ribbon-color-picker.view.generated.d.ts +14 -0
- package/ribbon/src/generated/ribbon-combo-box.view.generated.d.ts +15 -0
- package/ribbon/src/generated/ribbon-contextual-tab-set.view.generated.d.ts +14 -0
- package/ribbon/src/generated/ribbon-dropdown-button.view.generated.d.ts +16 -0
- package/ribbon/src/generated/ribbon-gallery-item.view.generated.d.ts +16 -0
- package/ribbon/src/generated/ribbon-gallery.view.generated.d.ts +15 -0
- package/ribbon/src/generated/ribbon-group-button.view.generated.d.ts +15 -0
- package/ribbon/src/generated/ribbon-group.view.generated.d.ts +14 -0
- package/ribbon/src/generated/ribbon-menu-item.view.generated.d.ts +16 -0
- package/ribbon/src/generated/ribbon-menu-separator.view.generated.d.ts +14 -0
- package/ribbon/src/generated/ribbon-split-button.view.generated.d.ts +16 -0
- package/ribbon/src/generated/ribbon-tab.view.generated.d.ts +14 -0
- package/ribbon/src/generated/ribbon-template-item.view.generated.d.ts +14 -0
- package/ribbon/src/generated/ribbon-toggle-button.view.generated.d.ts +16 -0
- package/ribbon/src/generated/ribbon.view.generated.d.ts +16 -0
- package/ribbon/src/index.d.ts +3 -1
- package/scheduler/index.mjs +751 -23
- package/scheduler/src/generated/BsScheduler.generated.d.ts +55 -0
- package/scheduler/src/generated/index.d.ts +1 -0
- package/scheduler/src/generated/sched-editor.view.generated.d.ts +13 -0
- package/scheduler/src/generated/sched-month.view.generated.d.ts +13 -0
- package/scheduler/src/generated/sched-popover-event.view.generated.d.ts +13 -0
- package/scheduler/src/generated/sched-popover.view.generated.d.ts +13 -0
- package/scheduler/src/generated/sched-row-panel.view.generated.d.ts +13 -0
- package/scheduler/src/generated/sched-time-grid.view.generated.d.ts +13 -0
- package/scheduler/src/generated/sched-timeline.view.generated.d.ts +13 -0
- package/scheduler/src/generated/sched-year.view.generated.d.ts +13 -0
- package/scheduler/src/generated/scheduler.view.generated.d.ts +14 -0
- package/scheduler/src/index.d.ts +4 -1
- package/select/index.mjs +83 -10
- package/select/src/generated/BsSelect.generated.d.ts +29 -0
- package/select/src/generated/index.d.ts +1 -0
- package/select/src/generated/select.view.generated.d.ts +18 -0
- package/select/src/index.d.ts +2 -1
- package/shell/index.mjs +75 -16
- package/shell/src/BsShell.d.ts +30 -20
- package/shell/src/index.d.ts +2 -2
- package/signature-pad/index.mjs +81 -10
- package/signature-pad/src/generated/BsSignaturePad.generated.d.ts +25 -0
- package/signature-pad/src/generated/index.d.ts +1 -0
- package/signature-pad/src/generated/signature-pad.view.generated.d.ts +14 -0
- package/signature-pad/src/index.d.ts +2 -2
- package/splitter/index.mjs +1 -16
- package/splitter/src/generated/BsSplitter.generated.d.ts +21 -0
- package/splitter/src/generated/BsSplitterPanel.generated.d.ts +6 -0
- package/splitter/src/generated/index.d.ts +2 -0
- package/splitter/src/generated/splitter-panel.view.generated.d.ts +14 -0
- package/splitter/src/generated/splitter.view.generated.d.ts +14 -0
- package/splitter/src/index.d.ts +2 -1
- package/src/index.d.ts +4 -5
- package/tab-control/index.mjs +88 -13
- package/tab-control/src/BsTabControl.d.ts +40 -11
- package/theming/index.mjs +73 -29
- package/theming/src/generated/BsThemeToggle.generated.d.ts +14 -0
- package/theming/src/generated/index.d.ts +1 -0
- package/theming/src/generated/theme-toggle.view.generated.d.ts +14 -0
- package/theming/src/index.d.ts +2 -2
- package/theming/src/useBsTheme.d.ts +2 -2
- package/tile-manager/index.mjs +42 -41
- package/timeline/index.mjs +209 -80
- package/timeline/src/generated/BsTimeline.generated.d.ts +36 -0
- package/timeline/src/generated/BsTimelineItem.generated.d.ts +23 -0
- package/timeline/src/generated/index.d.ts +2 -0
- package/timeline/src/generated/timeline-item.view.generated.d.ts +19 -0
- package/timeline/src/generated/timeline.view.generated.d.ts +39 -0
- package/timeline/src/index.d.ts +3 -4
- package/timepicker/index.mjs +156 -15
- package/timepicker/src/generated/BsTimeList.generated.d.ts +20 -0
- package/timepicker/src/generated/BsTimepicker.generated.d.ts +31 -0
- package/timepicker/src/generated/index.d.ts +2 -0
- package/timepicker/src/generated/time-list.view.generated.d.ts +14 -0
- package/timepicker/src/generated/timepicker.view.generated.d.ts +14 -0
- package/timepicker/src/index.d.ts +2 -2
- package/toggle-button/index.mjs +9 -8
- package/toggle-button/src/BsToggleButton.d.ts +6 -8
- package/toggle-button/src/index.d.ts +1 -1
- package/tree-select/index.mjs +253 -17
- package/tree-select/src/generated/BsTreeSelect.generated.d.ts +46 -0
- package/tree-select/src/generated/index.d.ts +1 -0
- package/tree-select/src/generated/tree-select.view.generated.d.ts +31 -0
- package/tree-select/src/index.d.ts +3 -3
- package/treeview/index.mjs +1 -16
- package/treeview/src/generated/BsTreeview.generated.d.ts +36 -0
- package/treeview/src/generated/index.d.ts +1 -0
- package/treeview/src/generated/treeview.view.generated.d.ts +20 -0
- package/treeview/src/index.d.ts +2 -1
- package/typeahead/index.mjs +87 -76
- package/calendar/src/BsCalendar.d.ts +0 -8
- package/carousel/src/BsCarousel.d.ts +0 -25
- package/charts/hierarchy/src/BsHierarchyChart.d.ts +0 -13
- package/charts/trend/src/BsTrendChart.d.ts +0 -7
- package/chunks/react-props-iXE6Az5D.mjs +0 -27
- package/code-snippet/src/BsCodeSnippet.d.ts +0 -21
- package/datatable/src/BsDatatable.d.ts +0 -85
- package/datepicker/src/BsDatepicker.d.ts +0 -17
- package/datetime-picker/src/BsDatetimePicker.d.ts +0 -13
- package/dock/src/BsDockManager.d.ts +0 -17
- package/file-manager/src/BsFileManager.d.ts +0 -20
- package/multi-range/src/BsMultiRange.d.ts +0 -12
- package/navbar/src/BsNavbar.d.ts +0 -33
- package/navbar/src/BsNavbarBrand.d.ts +0 -17
- package/navbar/src/BsNavbarDropdown.d.ts +0 -23
- package/navbar/src/BsNavbarItem.d.ts +0 -21
- package/otp-input/src/BsOtpInput.d.ts +0 -11
- package/phone-input/src/BsPhoneInput.d.ts +0 -22
- package/query-builder/src/BsQueryBuilder.d.ts +0 -29
- package/react-bootstrap.css +0 -2
- package/ribbon/src/BsRibbon.d.ts +0 -82
- package/scheduler/src/BsScheduler.d.ts +0 -35
- package/select/src/BsSelect.d.ts +0 -15
- package/signature-pad/src/BsSignaturePad.d.ts +0 -11
- package/splitter/src/BsSplitter.d.ts +0 -18
- package/theming/src/BsThemeToggle.d.ts +0 -22
- package/timeline/src/BsTimeline.d.ts +0 -33
- package/timeline/src/BsTimelineItem.d.ts +0 -11
- package/timepicker/src/BsTimeList.d.ts +0 -11
- package/timepicker/src/BsTimepicker.d.ts +0 -11
- package/tree-select/src/BsTreeSelect.d.ts +0 -24
- package/treeview/src/BsTreeview.d.ts +0 -14
package/ribbon/index.mjs
CHANGED
|
@@ -1,99 +1,1048 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
})
|
|
98
|
-
|
|
99
|
-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../chunks/react-props-C2O2_2V2.mjs";
|
|
2
|
+
import { reactCoreContext as i, useContent as a, useCore as o } from "../machine/index.mjs";
|
|
3
|
+
import * as s from "react";
|
|
4
|
+
import { forwardRef as c, useImperativeHandle as l, useRef as u } from "react";
|
|
5
|
+
import { installLightStyles as d } from "@mintplayer/ui-core/scoped-styles";
|
|
6
|
+
import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
7
|
+
import { RIBBON_CONTEXT as h, RIBBON_LABELS as g, bandTextColor as _, quickAccessToolbarCore as v, ribbonButtonCore as y, ribbonCheckBoxCore as b, ribbonColorPickerCore as x, ribbonComboBoxCore as S, ribbonContextualTabSetCore as C, ribbonCore as w, ribbonDropdownButtonCore as T, ribbonGalleryCore as E, ribbonGalleryItemCore as D, ribbonGroupButtonCore as ee, ribbonGroupCore as O, ribbonMenuItemCore as k, ribbonMenuSeparatorCore as A, ribbonScopedStyles as j, ribbonSplitButtonCore as M, ribbonTabCore as N, ribbonTemplateItemCore as P, ribbonToggleButtonCore as F } from "@mintplayer/ui-core/ribbon";
|
|
8
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon.view.generated.tsx
|
|
9
|
+
function I({ view: t, slots: r = {}, children: i, className: a, attrs: o, rootRef: c }) {
|
|
10
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ m("div", {
|
|
11
|
+
"data-mps": "ribbon",
|
|
12
|
+
...n(t.root),
|
|
13
|
+
ref: c,
|
|
14
|
+
...o,
|
|
15
|
+
role: t.root.role ?? o?.role,
|
|
16
|
+
className: [t.root.class, a].filter(Boolean).join(" ") || void 0,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ m("div", {
|
|
19
|
+
"data-mps": "ribbon",
|
|
20
|
+
...n(t.parts.container),
|
|
21
|
+
children: [/* @__PURE__ */ m("div", {
|
|
22
|
+
"data-mps": "ribbon",
|
|
23
|
+
...n(t.parts.tabstrip),
|
|
24
|
+
children: [/* @__PURE__ */ p("div", {
|
|
25
|
+
"data-mps": "ribbon",
|
|
26
|
+
...n(t.tablist),
|
|
27
|
+
children: t.runs.map((r, i) => /* @__PURE__ */ p(s.Fragment, { children: r.contextual ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ m("div", {
|
|
28
|
+
"data-mps": "ribbon",
|
|
29
|
+
...n(r.band),
|
|
30
|
+
style: e(r.bandStyle),
|
|
31
|
+
children: [/* @__PURE__ */ p("div", {
|
|
32
|
+
"data-mps": "ribbon",
|
|
33
|
+
...n(t.parts.bandLabel),
|
|
34
|
+
children: r.label
|
|
35
|
+
}), /* @__PURE__ */ p("div", {
|
|
36
|
+
"data-mps": "ribbon",
|
|
37
|
+
...n(t.parts.bandTabs),
|
|
38
|
+
children: r.tabs.map((e, t) => /* @__PURE__ */ p(s.Fragment, { children: /* @__PURE__ */ p("button", {
|
|
39
|
+
"data-mps": "ribbon",
|
|
40
|
+
...n(e.bag),
|
|
41
|
+
children: e.label
|
|
42
|
+
}) }, e.key))
|
|
43
|
+
})]
|
|
44
|
+
}) }) : /* @__PURE__ */ p(f, { children: r.tabs.map((e, t) => /* @__PURE__ */ p(s.Fragment, { children: /* @__PURE__ */ p("button", {
|
|
45
|
+
"data-mps": "ribbon",
|
|
46
|
+
...n(e.bag),
|
|
47
|
+
children: e.label
|
|
48
|
+
}) }, e.key)) }) }, r.key))
|
|
49
|
+
}), /* @__PURE__ */ p("div", {
|
|
50
|
+
"data-mps": "ribbon",
|
|
51
|
+
...n(t.parts.tellMe),
|
|
52
|
+
children: r.tellMe === void 0 ? null : r.tellMe
|
|
53
|
+
})]
|
|
54
|
+
}), /* @__PURE__ */ p("div", {
|
|
55
|
+
"data-mps": "ribbon",
|
|
56
|
+
...n(t.content),
|
|
57
|
+
children: i ?? null
|
|
58
|
+
})]
|
|
59
|
+
}),
|
|
60
|
+
t.keyTips.map((r, i) => /* @__PURE__ */ p(s.Fragment, { children: /* @__PURE__ */ p("span", {
|
|
61
|
+
"data-mps": "ribbon",
|
|
62
|
+
...n(t.parts.keyTip),
|
|
63
|
+
style: e(r.style),
|
|
64
|
+
children: r.tip
|
|
65
|
+
}) }, r.key)),
|
|
66
|
+
/* @__PURE__ */ p("div", {
|
|
67
|
+
"data-mps": "ribbon",
|
|
68
|
+
...n(t.live),
|
|
69
|
+
children: t.announcement
|
|
70
|
+
})
|
|
71
|
+
]
|
|
72
|
+
}) });
|
|
73
|
+
}
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-tab.view.generated.tsx
|
|
76
|
+
function L({ view: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
77
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ m("div", {
|
|
78
|
+
"data-mps": "ribbon",
|
|
79
|
+
...n(e.panel),
|
|
80
|
+
ref: o,
|
|
81
|
+
...a,
|
|
82
|
+
role: e.panel.role ?? a?.role,
|
|
83
|
+
className: [e.panel.class, i].filter(Boolean).join(" ") || void 0,
|
|
84
|
+
children: [
|
|
85
|
+
/* @__PURE__ */ p("div", {
|
|
86
|
+
"data-mps": "ribbon",
|
|
87
|
+
...n(e.parts.groups),
|
|
88
|
+
children: r ?? null
|
|
89
|
+
}),
|
|
90
|
+
/* @__PURE__ */ p("button", {
|
|
91
|
+
"data-mps": "ribbon",
|
|
92
|
+
...n(e.overflowTrigger),
|
|
93
|
+
children: /* @__PURE__ */ p("span", {
|
|
94
|
+
"data-mps": "ribbon",
|
|
95
|
+
...n(e.parts.chevron),
|
|
96
|
+
children: "»"
|
|
97
|
+
})
|
|
98
|
+
}),
|
|
99
|
+
/* @__PURE__ */ p("div", {
|
|
100
|
+
"data-mps": "ribbon",
|
|
101
|
+
...n(e.overflowMenu),
|
|
102
|
+
children: e.overflowEntries.map((t, r) => /* @__PURE__ */ p(s.Fragment, { children: /* @__PURE__ */ m("button", {
|
|
103
|
+
"data-mps": "ribbon",
|
|
104
|
+
...n(t.bag),
|
|
105
|
+
children: [t.icon ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
106
|
+
"data-mps": "ribbon",
|
|
107
|
+
...n(e.parts.overflowIcon),
|
|
108
|
+
children: t.icon
|
|
109
|
+
}) }) : null, /* @__PURE__ */ p("span", {
|
|
110
|
+
"data-mps": "ribbon",
|
|
111
|
+
...n(e.parts.overflowLabel),
|
|
112
|
+
children: t.label
|
|
113
|
+
})]
|
|
114
|
+
}) }, t.key))
|
|
115
|
+
})
|
|
116
|
+
]
|
|
117
|
+
}) });
|
|
118
|
+
}
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonTab.generated.tsx
|
|
121
|
+
var R = i(h), z = c(function({ tabId: e = "", label: t = "", idealSizes: n = null, reduceOrder: r = null, keyTip: i = null, className: a, children: s, ...c }, f) {
|
|
122
|
+
d("ribbon", j);
|
|
123
|
+
let m = u(null);
|
|
124
|
+
l(f, () => m.current);
|
|
125
|
+
let h = o(N, {
|
|
126
|
+
tabId: e,
|
|
127
|
+
label: t,
|
|
128
|
+
idealSizes: n,
|
|
129
|
+
reduceOrder: r,
|
|
130
|
+
keyTip: i
|
|
131
|
+
}, {
|
|
132
|
+
idPrefix: "bs-ribbon-tab",
|
|
133
|
+
label: c["aria-label"],
|
|
134
|
+
rootRef: m,
|
|
135
|
+
emit: () => void 0
|
|
136
|
+
});
|
|
137
|
+
return /* @__PURE__ */ p(R.Provider, {
|
|
138
|
+
value: h.provided,
|
|
139
|
+
children: /* @__PURE__ */ p(L, {
|
|
140
|
+
...h.props,
|
|
141
|
+
className: a,
|
|
142
|
+
attrs: c,
|
|
143
|
+
rootRef: m,
|
|
144
|
+
children: s
|
|
145
|
+
})
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-contextual-tab-set.view.generated.tsx
|
|
150
|
+
function B({ root: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
151
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
152
|
+
"data-mps": "ribbon",
|
|
153
|
+
...n(e),
|
|
154
|
+
ref: o,
|
|
155
|
+
...a,
|
|
156
|
+
role: e.role ?? a?.role,
|
|
157
|
+
className: [e.class, i].filter(Boolean).join(" ") || void 0,
|
|
158
|
+
children: r ?? null
|
|
159
|
+
}) });
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonContextualTabSet.generated.tsx
|
|
163
|
+
var V = c(function({ label: e = "", color: t = "#F0AF84", visible: n = !0, className: r, children: i, ...a }, s) {
|
|
164
|
+
d("ribbon", j);
|
|
165
|
+
let c = u(null);
|
|
166
|
+
l(s, () => c.current);
|
|
167
|
+
let f = o(C, {
|
|
168
|
+
label: e,
|
|
169
|
+
color: t,
|
|
170
|
+
visible: n
|
|
171
|
+
}, {
|
|
172
|
+
idPrefix: "bs-ribbon-contextual-tab-set",
|
|
173
|
+
label: a["aria-label"],
|
|
174
|
+
rootRef: c,
|
|
175
|
+
emit: () => void 0
|
|
176
|
+
});
|
|
177
|
+
return /* @__PURE__ */ p(B, {
|
|
178
|
+
...f.props,
|
|
179
|
+
className: r,
|
|
180
|
+
attrs: a,
|
|
181
|
+
rootRef: c,
|
|
182
|
+
children: i
|
|
183
|
+
});
|
|
184
|
+
}), H = i(h), U = c(function({ activeTabId: e = "", layout: t = "classic", minimized: n = !1, version: r = "office-2016", colorScheme: i = "auto", touchMode: s = "auto", keyTips: c = "on", labels: f = null, onActiveTabIdChange: m, onMinimizedChange: h, onTabChange: g, tellMe: _, className: v, children: y, ...b }, x) {
|
|
185
|
+
d("ribbon", j);
|
|
186
|
+
let S = u(null);
|
|
187
|
+
l(x, () => S.current);
|
|
188
|
+
let C = a(y, {
|
|
189
|
+
type: z,
|
|
190
|
+
within: V
|
|
191
|
+
}), T = o(w, {
|
|
192
|
+
activeTabId: e,
|
|
193
|
+
layout: t,
|
|
194
|
+
minimized: n,
|
|
195
|
+
version: r,
|
|
196
|
+
colorScheme: i,
|
|
197
|
+
touchMode: s,
|
|
198
|
+
keyTips: c,
|
|
199
|
+
labels: f,
|
|
200
|
+
tabs: C
|
|
201
|
+
}, {
|
|
202
|
+
idPrefix: "bs-ribbon",
|
|
203
|
+
label: b["aria-label"],
|
|
204
|
+
rootRef: S,
|
|
205
|
+
emit: (e, t) => {
|
|
206
|
+
e === "activeTabIdChange" && m?.(t), e === "minimizedChange" && h?.(t), e === "tabChange" && g?.(t);
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
return /* @__PURE__ */ p(H.Provider, {
|
|
210
|
+
value: T.provided,
|
|
211
|
+
children: /* @__PURE__ */ p(I, {
|
|
212
|
+
...T.props,
|
|
213
|
+
slots: { tellMe: _ },
|
|
214
|
+
className: v,
|
|
215
|
+
attrs: b,
|
|
216
|
+
rootRef: S,
|
|
217
|
+
children: y
|
|
218
|
+
})
|
|
219
|
+
});
|
|
220
|
+
});
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-group.view.generated.tsx
|
|
223
|
+
function W({ view: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
224
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ m("div", {
|
|
225
|
+
"data-mps": "ribbon",
|
|
226
|
+
...n(e.root),
|
|
227
|
+
ref: o,
|
|
228
|
+
...a,
|
|
229
|
+
role: e.root.role ?? a?.role,
|
|
230
|
+
className: [e.root.class, i].filter(Boolean).join(" ") || void 0,
|
|
231
|
+
children: [/* @__PURE__ */ m("div", {
|
|
232
|
+
"data-mps": "ribbon",
|
|
233
|
+
...n(e.body),
|
|
234
|
+
children: [/* @__PURE__ */ p("div", {
|
|
235
|
+
"data-mps": "ribbon",
|
|
236
|
+
...n(e.parts.groupItems),
|
|
237
|
+
children: r ?? null
|
|
238
|
+
}), /* @__PURE__ */ m("div", {
|
|
239
|
+
"data-mps": "ribbon",
|
|
240
|
+
...n(e.parts.groupFooter),
|
|
241
|
+
children: [/* @__PURE__ */ p("span", {
|
|
242
|
+
"data-mps": "ribbon",
|
|
243
|
+
...n(e.parts.groupLabel),
|
|
244
|
+
children: e.label
|
|
245
|
+
}), e.launcher ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("button", {
|
|
246
|
+
"data-mps": "ribbon",
|
|
247
|
+
...n(e.launcher),
|
|
248
|
+
children: /* @__PURE__ */ p("span", {
|
|
249
|
+
"data-mps": "ribbon",
|
|
250
|
+
...n(e.parts.launcherIcon),
|
|
251
|
+
children: "⬘"
|
|
252
|
+
})
|
|
253
|
+
}) }) : null]
|
|
254
|
+
})]
|
|
255
|
+
}), /* @__PURE__ */ m("button", {
|
|
256
|
+
"data-mps": "ribbon",
|
|
257
|
+
...n(e.trigger),
|
|
258
|
+
children: [
|
|
259
|
+
e.icon ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
260
|
+
"data-mps": "ribbon",
|
|
261
|
+
...n(e.parts.triggerIcon),
|
|
262
|
+
children: e.icon
|
|
263
|
+
}) }) : null,
|
|
264
|
+
/* @__PURE__ */ p("span", {
|
|
265
|
+
"data-mps": "ribbon",
|
|
266
|
+
...n(e.parts.triggerLabel),
|
|
267
|
+
children: e.label
|
|
268
|
+
}),
|
|
269
|
+
/* @__PURE__ */ p("span", {
|
|
270
|
+
"data-mps": "ribbon",
|
|
271
|
+
...n(e.parts.chevron),
|
|
272
|
+
children: "▼"
|
|
273
|
+
})
|
|
274
|
+
]
|
|
275
|
+
})]
|
|
276
|
+
}) });
|
|
277
|
+
}
|
|
278
|
+
//#endregion
|
|
279
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonGroup.generated.tsx
|
|
280
|
+
var G = c(function({ groupId: e = "", label: t = "", icon: n = "", dialogLauncher: r = "", priority: i = 0, autoScale: a = !0, keyTip: s = null, onDialogLauncherClick: c, className: f, children: m, ...h }, g) {
|
|
281
|
+
d("ribbon", j);
|
|
282
|
+
let _ = u(null);
|
|
283
|
+
l(g, () => _.current);
|
|
284
|
+
let v = o(O, {
|
|
285
|
+
groupId: e,
|
|
286
|
+
label: t,
|
|
287
|
+
icon: n,
|
|
288
|
+
dialogLauncher: r,
|
|
289
|
+
priority: i,
|
|
290
|
+
autoScale: a,
|
|
291
|
+
keyTip: s
|
|
292
|
+
}, {
|
|
293
|
+
idPrefix: "bs-ribbon-group",
|
|
294
|
+
label: h["aria-label"],
|
|
295
|
+
rootRef: _,
|
|
296
|
+
emit: (e, t) => {
|
|
297
|
+
e === "dialogLauncherClick" && c?.(t);
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
return /* @__PURE__ */ p(W, {
|
|
301
|
+
...v.props,
|
|
302
|
+
className: f,
|
|
303
|
+
attrs: h,
|
|
304
|
+
rootRef: _,
|
|
305
|
+
children: m
|
|
306
|
+
});
|
|
307
|
+
});
|
|
308
|
+
//#endregion
|
|
309
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/quick-access-toolbar.view.generated.tsx
|
|
310
|
+
function K({ root: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
311
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
312
|
+
"data-mps": "ribbon",
|
|
313
|
+
...n(e),
|
|
314
|
+
ref: o,
|
|
315
|
+
...a,
|
|
316
|
+
role: e.role ?? a?.role,
|
|
317
|
+
className: [e.class, i].filter(Boolean).join(" ") || void 0,
|
|
318
|
+
children: r ?? null
|
|
319
|
+
}) });
|
|
320
|
+
}
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsQuickAccessToolbar.generated.tsx
|
|
323
|
+
var q = c(function({ touchMode: e = "auto", className: t, children: n, ...r }, i) {
|
|
324
|
+
d("ribbon", j);
|
|
325
|
+
let a = u(null);
|
|
326
|
+
l(i, () => a.current);
|
|
327
|
+
let s = o(v, { touchMode: e }, {
|
|
328
|
+
idPrefix: "bs-quick-access-toolbar",
|
|
329
|
+
label: r["aria-label"],
|
|
330
|
+
rootRef: a,
|
|
331
|
+
emit: () => void 0
|
|
332
|
+
});
|
|
333
|
+
return /* @__PURE__ */ p(K, {
|
|
334
|
+
...s.props,
|
|
335
|
+
className: t,
|
|
336
|
+
attrs: r,
|
|
337
|
+
rootRef: a,
|
|
338
|
+
children: n
|
|
339
|
+
});
|
|
340
|
+
});
|
|
341
|
+
//#endregion
|
|
342
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-button.view.generated.tsx
|
|
343
|
+
function J({ view: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
344
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
345
|
+
"data-mps": "ribbon",
|
|
346
|
+
...n(e.root),
|
|
347
|
+
ref: o,
|
|
348
|
+
...a,
|
|
349
|
+
role: e.root.role ?? a?.role,
|
|
350
|
+
className: [e.root.class, i].filter(Boolean).join(" ") || void 0,
|
|
351
|
+
children: /* @__PURE__ */ m("button", {
|
|
352
|
+
"data-mps": "ribbon",
|
|
353
|
+
...n(e.control),
|
|
354
|
+
children: [e.icon || t.iconTemplate ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
355
|
+
"data-mps": "ribbon",
|
|
356
|
+
...n(e.parts.icon),
|
|
357
|
+
children: t.iconTemplate === void 0 ? /* @__PURE__ */ p(f, { children: e.icon }) : t.iconTemplate
|
|
358
|
+
}) }) : null, e.label ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
359
|
+
"data-mps": "ribbon",
|
|
360
|
+
...n(e.parts.label),
|
|
361
|
+
children: e.label
|
|
362
|
+
}) }) : null]
|
|
363
|
+
})
|
|
364
|
+
}) });
|
|
365
|
+
}
|
|
366
|
+
//#endregion
|
|
367
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonButton.generated.tsx
|
|
368
|
+
var Y = c(function({ itemId: e = "", label: t = "", icon: n = "", size: r = "medium", disabled: i = !1, tooltip: a = "", keyTip: s = null, onItemClick: c, iconTemplate: f, className: m, children: h, ...g }, _) {
|
|
369
|
+
d("ribbon", j);
|
|
370
|
+
let v = u(null);
|
|
371
|
+
l(_, () => v.current);
|
|
372
|
+
let b = o(y, {
|
|
373
|
+
itemId: e,
|
|
374
|
+
label: t,
|
|
375
|
+
icon: n,
|
|
376
|
+
size: r,
|
|
377
|
+
disabled: i,
|
|
378
|
+
tooltip: a,
|
|
379
|
+
keyTip: s
|
|
380
|
+
}, {
|
|
381
|
+
idPrefix: "bs-ribbon-button",
|
|
382
|
+
label: g["aria-label"],
|
|
383
|
+
rootRef: v,
|
|
384
|
+
emit: (e, t) => {
|
|
385
|
+
e === "itemClick" && c?.(t);
|
|
386
|
+
}
|
|
387
|
+
});
|
|
388
|
+
return /* @__PURE__ */ p(J, {
|
|
389
|
+
...b.props,
|
|
390
|
+
slots: { iconTemplate: f },
|
|
391
|
+
className: m,
|
|
392
|
+
attrs: g,
|
|
393
|
+
rootRef: v,
|
|
394
|
+
children: h
|
|
395
|
+
});
|
|
396
|
+
});
|
|
397
|
+
//#endregion
|
|
398
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-toggle-button.view.generated.tsx
|
|
399
|
+
function X({ view: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
400
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
401
|
+
"data-mps": "ribbon",
|
|
402
|
+
...n(e.root),
|
|
403
|
+
ref: o,
|
|
404
|
+
...a,
|
|
405
|
+
role: e.root.role ?? a?.role,
|
|
406
|
+
className: [e.root.class, i].filter(Boolean).join(" ") || void 0,
|
|
407
|
+
children: /* @__PURE__ */ m("button", {
|
|
408
|
+
"data-mps": "ribbon",
|
|
409
|
+
...n(e.control),
|
|
410
|
+
children: [e.icon || t.iconTemplate ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
411
|
+
"data-mps": "ribbon",
|
|
412
|
+
...n(e.parts.icon),
|
|
413
|
+
children: t.iconTemplate === void 0 ? /* @__PURE__ */ p(f, { children: e.icon }) : t.iconTemplate
|
|
414
|
+
}) }) : null, e.label ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
415
|
+
"data-mps": "ribbon",
|
|
416
|
+
...n(e.parts.label),
|
|
417
|
+
children: e.label
|
|
418
|
+
}) }) : null]
|
|
419
|
+
})
|
|
420
|
+
}) });
|
|
421
|
+
}
|
|
422
|
+
//#endregion
|
|
423
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonToggleButton.generated.tsx
|
|
424
|
+
var Z = c(function({ itemId: e = "", label: t = "", icon: n = "", size: r = "medium", disabled: i = !1, tooltip: a = "", keyTip: s = null, pressed: c = !1, onPressedChange: f, iconTemplate: m, className: h, children: g, ..._ }, v) {
|
|
425
|
+
d("ribbon", j);
|
|
426
|
+
let y = u(null);
|
|
427
|
+
l(v, () => y.current);
|
|
428
|
+
let b = o(F, {
|
|
429
|
+
itemId: e,
|
|
430
|
+
label: t,
|
|
431
|
+
icon: n,
|
|
432
|
+
size: r,
|
|
433
|
+
disabled: i,
|
|
434
|
+
tooltip: a,
|
|
435
|
+
keyTip: s,
|
|
436
|
+
pressed: c
|
|
437
|
+
}, {
|
|
438
|
+
idPrefix: "bs-ribbon-toggle-button",
|
|
439
|
+
label: _["aria-label"],
|
|
440
|
+
rootRef: y,
|
|
441
|
+
emit: (e, t) => {
|
|
442
|
+
e === "pressedChange" && f?.(t);
|
|
443
|
+
}
|
|
444
|
+
});
|
|
445
|
+
return /* @__PURE__ */ p(X, {
|
|
446
|
+
...b.props,
|
|
447
|
+
slots: { iconTemplate: m },
|
|
448
|
+
className: h,
|
|
449
|
+
attrs: _,
|
|
450
|
+
rootRef: y,
|
|
451
|
+
children: g
|
|
452
|
+
});
|
|
453
|
+
});
|
|
454
|
+
//#endregion
|
|
455
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-check-box.view.generated.tsx
|
|
456
|
+
function te({ view: e, slots: t = {}, children: i, className: a, attrs: o, rootRef: s }) {
|
|
457
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
458
|
+
"data-mps": "ribbon",
|
|
459
|
+
...n(e.root),
|
|
460
|
+
ref: s,
|
|
461
|
+
...o,
|
|
462
|
+
role: e.root.role ?? o?.role,
|
|
463
|
+
className: [e.root.class, a].filter(Boolean).join(" ") || void 0,
|
|
464
|
+
children: /* @__PURE__ */ m("label", {
|
|
465
|
+
"data-mps": "ribbon",
|
|
466
|
+
...n(e.wrap),
|
|
467
|
+
children: [/* @__PURE__ */ p("input", {
|
|
468
|
+
"data-mps": "ribbon",
|
|
469
|
+
...r(e.control),
|
|
470
|
+
ref: (t) => {
|
|
471
|
+
t && (t.checked = e.checked);
|
|
472
|
+
}
|
|
473
|
+
}), e.label ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
474
|
+
"data-mps": "ribbon",
|
|
475
|
+
...n(e.parts.fieldLabel),
|
|
476
|
+
children: e.label
|
|
477
|
+
}) }) : null]
|
|
478
|
+
})
|
|
479
|
+
}) });
|
|
480
|
+
}
|
|
481
|
+
//#endregion
|
|
482
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonCheckBox.generated.tsx
|
|
483
|
+
var Q = c(function({ itemId: e = "", label: t = "", icon: n = "", size: r = "medium", disabled: i = !1, tooltip: a = "", keyTip: s = null, checked: c = !1, onCheckedChange: f, className: m, children: h, ...g }, _) {
|
|
484
|
+
d("ribbon", j);
|
|
485
|
+
let v = u(null);
|
|
486
|
+
l(_, () => v.current);
|
|
487
|
+
let y = o(b, {
|
|
488
|
+
itemId: e,
|
|
489
|
+
label: t,
|
|
490
|
+
icon: n,
|
|
491
|
+
size: r,
|
|
492
|
+
disabled: i,
|
|
493
|
+
tooltip: a,
|
|
494
|
+
keyTip: s,
|
|
495
|
+
checked: c
|
|
496
|
+
}, {
|
|
497
|
+
idPrefix: "bs-ribbon-check-box",
|
|
498
|
+
label: g["aria-label"],
|
|
499
|
+
rootRef: v,
|
|
500
|
+
emit: (e, t) => {
|
|
501
|
+
e === "checkedChange" && f?.(t);
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
return /* @__PURE__ */ p(te, {
|
|
505
|
+
...y.props,
|
|
506
|
+
className: m,
|
|
507
|
+
attrs: g,
|
|
508
|
+
rootRef: v,
|
|
509
|
+
children: h
|
|
510
|
+
});
|
|
511
|
+
});
|
|
512
|
+
//#endregion
|
|
513
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-combo-box.view.generated.tsx
|
|
514
|
+
function ne({ view: e, options: i, slots: a = {}, children: o, className: c, attrs: l, rootRef: u }) {
|
|
515
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
516
|
+
"data-mps": "ribbon",
|
|
517
|
+
...n(e.root),
|
|
518
|
+
ref: u,
|
|
519
|
+
...l,
|
|
520
|
+
role: e.root.role ?? l?.role,
|
|
521
|
+
className: [e.root.class, c].filter(Boolean).join(" ") || void 0,
|
|
522
|
+
children: /* @__PURE__ */ p("select", {
|
|
523
|
+
"data-mps": "ribbon",
|
|
524
|
+
...r(e.control),
|
|
525
|
+
children: i.map((e, n) => /* @__PURE__ */ p(s.Fragment, { children: /* @__PURE__ */ p("option", {
|
|
526
|
+
"data-mps": "ribbon",
|
|
527
|
+
...t(e.bag),
|
|
528
|
+
children: e.label
|
|
529
|
+
}) }, e.key))
|
|
530
|
+
})
|
|
531
|
+
}) });
|
|
532
|
+
}
|
|
533
|
+
//#endregion
|
|
534
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonComboBox.generated.tsx
|
|
535
|
+
var re = [], ie = c(function({ itemId: e = "", label: t = "", icon: n = "", size: r = "medium", disabled: i = !1, tooltip: a = "", keyTip: s = null, value: c = "", options: f = re, onValueChange: m, className: h, children: g, ..._ }, v) {
|
|
536
|
+
d("ribbon", j);
|
|
537
|
+
let y = u(null);
|
|
538
|
+
l(v, () => y.current);
|
|
539
|
+
let b = o(S, {
|
|
540
|
+
itemId: e,
|
|
541
|
+
label: t,
|
|
542
|
+
icon: n,
|
|
543
|
+
size: r,
|
|
544
|
+
disabled: i,
|
|
545
|
+
tooltip: a,
|
|
546
|
+
keyTip: s,
|
|
547
|
+
value: c,
|
|
548
|
+
options: f
|
|
549
|
+
}, {
|
|
550
|
+
idPrefix: "bs-ribbon-combo-box",
|
|
551
|
+
label: _["aria-label"],
|
|
552
|
+
rootRef: y,
|
|
553
|
+
emit: (e, t) => {
|
|
554
|
+
e === "valueChange" && m?.(t);
|
|
555
|
+
}
|
|
556
|
+
});
|
|
557
|
+
return /* @__PURE__ */ p(ne, {
|
|
558
|
+
...b.props,
|
|
559
|
+
className: h,
|
|
560
|
+
attrs: _,
|
|
561
|
+
rootRef: y,
|
|
562
|
+
children: g
|
|
563
|
+
});
|
|
564
|
+
});
|
|
565
|
+
//#endregion
|
|
566
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-color-picker.view.generated.tsx
|
|
567
|
+
function ae({ view: e, slots: t = {}, children: i, className: a, attrs: o, rootRef: s }) {
|
|
568
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
569
|
+
"data-mps": "ribbon",
|
|
570
|
+
...n(e.root),
|
|
571
|
+
ref: s,
|
|
572
|
+
...o,
|
|
573
|
+
role: e.root.role ?? o?.role,
|
|
574
|
+
className: [e.root.class, a].filter(Boolean).join(" ") || void 0,
|
|
575
|
+
children: /* @__PURE__ */ m("label", {
|
|
576
|
+
"data-mps": "ribbon",
|
|
577
|
+
...n(e.wrap),
|
|
578
|
+
children: [/* @__PURE__ */ p("input", {
|
|
579
|
+
"data-mps": "ribbon",
|
|
580
|
+
...r(e.control),
|
|
581
|
+
defaultValue: e.value
|
|
582
|
+
}), e.label ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
583
|
+
"data-mps": "ribbon",
|
|
584
|
+
...n(e.parts.fieldLabel),
|
|
585
|
+
children: e.label
|
|
586
|
+
}) }) : null]
|
|
587
|
+
})
|
|
588
|
+
}) });
|
|
589
|
+
}
|
|
590
|
+
//#endregion
|
|
591
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonColorPicker.generated.tsx
|
|
592
|
+
var oe = c(function({ itemId: e = "", label: t = "", icon: n = "", size: r = "medium", disabled: i = !1, tooltip: a = "", keyTip: s = null, color: c = "#000000", onColorChange: f, className: m, children: h, ...g }, _) {
|
|
593
|
+
d("ribbon", j);
|
|
594
|
+
let v = u(null);
|
|
595
|
+
l(_, () => v.current);
|
|
596
|
+
let y = o(x, {
|
|
597
|
+
itemId: e,
|
|
598
|
+
label: t,
|
|
599
|
+
icon: n,
|
|
600
|
+
size: r,
|
|
601
|
+
disabled: i,
|
|
602
|
+
tooltip: a,
|
|
603
|
+
keyTip: s,
|
|
604
|
+
color: c
|
|
605
|
+
}, {
|
|
606
|
+
idPrefix: "bs-ribbon-color-picker",
|
|
607
|
+
label: g["aria-label"],
|
|
608
|
+
rootRef: v,
|
|
609
|
+
emit: (e, t) => {
|
|
610
|
+
e === "colorChange" && f?.(t);
|
|
611
|
+
}
|
|
612
|
+
});
|
|
613
|
+
return /* @__PURE__ */ p(ae, {
|
|
614
|
+
...y.props,
|
|
615
|
+
className: m,
|
|
616
|
+
attrs: g,
|
|
617
|
+
rootRef: v,
|
|
618
|
+
children: h
|
|
619
|
+
});
|
|
620
|
+
});
|
|
621
|
+
//#endregion
|
|
622
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-group-button.view.generated.tsx
|
|
623
|
+
function se({ view: e, radios: t, slots: r = {}, children: i, className: a, attrs: o, rootRef: c }) {
|
|
624
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
625
|
+
"data-mps": "ribbon",
|
|
626
|
+
...n(e.root),
|
|
627
|
+
ref: c,
|
|
628
|
+
...o,
|
|
629
|
+
role: e.root.role ?? o?.role,
|
|
630
|
+
className: [e.root.class, a].filter(Boolean).join(" ") || void 0,
|
|
631
|
+
children: /* @__PURE__ */ p("div", {
|
|
632
|
+
"data-mps": "ribbon",
|
|
633
|
+
...n(e.control),
|
|
634
|
+
children: t.map((t, r) => /* @__PURE__ */ p(s.Fragment, { children: /* @__PURE__ */ m("button", {
|
|
635
|
+
"data-mps": "ribbon",
|
|
636
|
+
...n(t.bag),
|
|
637
|
+
children: [t.icon ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
638
|
+
"data-mps": "ribbon",
|
|
639
|
+
...n(e.parts.radioIcon),
|
|
640
|
+
children: t.icon
|
|
641
|
+
}) }) : null, t.label ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
642
|
+
"data-mps": "ribbon",
|
|
643
|
+
...n(e.parts.radioLabel),
|
|
644
|
+
children: t.label
|
|
645
|
+
}) }) : null]
|
|
646
|
+
}) }, t.key))
|
|
647
|
+
})
|
|
648
|
+
}) });
|
|
649
|
+
}
|
|
650
|
+
//#endregion
|
|
651
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonGroupButton.generated.tsx
|
|
652
|
+
var ce = [], le = c(function({ itemId: e = "", label: t = "", icon: n = "", size: r = "medium", disabled: i = !1, tooltip: a = "", keyTip: s = null, selectedValue: c = "", buttons: f = ce, onSelectedValueChange: m, className: h, children: g, ..._ }, v) {
|
|
653
|
+
d("ribbon", j);
|
|
654
|
+
let y = u(null);
|
|
655
|
+
l(v, () => y.current);
|
|
656
|
+
let b = o(ee, {
|
|
657
|
+
itemId: e,
|
|
658
|
+
label: t,
|
|
659
|
+
icon: n,
|
|
660
|
+
size: r,
|
|
661
|
+
disabled: i,
|
|
662
|
+
tooltip: a,
|
|
663
|
+
keyTip: s,
|
|
664
|
+
selectedValue: c,
|
|
665
|
+
buttons: f
|
|
666
|
+
}, {
|
|
667
|
+
idPrefix: "bs-ribbon-group-button",
|
|
668
|
+
label: _["aria-label"],
|
|
669
|
+
rootRef: y,
|
|
670
|
+
emit: (e, t) => {
|
|
671
|
+
e === "selectedValueChange" && m?.(t);
|
|
672
|
+
}
|
|
673
|
+
});
|
|
674
|
+
return /* @__PURE__ */ p(se, {
|
|
675
|
+
...b.props,
|
|
676
|
+
className: h,
|
|
677
|
+
attrs: _,
|
|
678
|
+
rootRef: y,
|
|
679
|
+
children: g
|
|
680
|
+
});
|
|
681
|
+
});
|
|
682
|
+
//#endregion
|
|
683
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-split-button.view.generated.tsx
|
|
684
|
+
function ue({ view: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
685
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ m("div", {
|
|
686
|
+
"data-mps": "ribbon",
|
|
687
|
+
...n(e.root),
|
|
688
|
+
ref: o,
|
|
689
|
+
...a,
|
|
690
|
+
role: e.root.role ?? a?.role,
|
|
691
|
+
className: [e.root.class, i].filter(Boolean).join(" ") || void 0,
|
|
692
|
+
children: [/* @__PURE__ */ m("div", {
|
|
693
|
+
"data-mps": "ribbon",
|
|
694
|
+
...n(e.group),
|
|
695
|
+
children: [/* @__PURE__ */ m("button", {
|
|
696
|
+
"data-mps": "ribbon",
|
|
697
|
+
...n(e.control),
|
|
698
|
+
children: [e.icon || t.iconTemplate ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
699
|
+
"data-mps": "ribbon",
|
|
700
|
+
...n(e.parts.icon),
|
|
701
|
+
children: t.iconTemplate === void 0 ? /* @__PURE__ */ p(f, { children: e.icon }) : t.iconTemplate
|
|
702
|
+
}) }) : null, e.label ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
703
|
+
"data-mps": "ribbon",
|
|
704
|
+
...n(e.parts.label),
|
|
705
|
+
children: e.label
|
|
706
|
+
}) }) : null]
|
|
707
|
+
}), /* @__PURE__ */ p("button", {
|
|
708
|
+
"data-mps": "ribbon",
|
|
709
|
+
...n(e.toggle),
|
|
710
|
+
children: /* @__PURE__ */ p("span", {
|
|
711
|
+
"data-mps": "ribbon",
|
|
712
|
+
...n(e.parts.chevron),
|
|
713
|
+
children: "▼"
|
|
714
|
+
})
|
|
715
|
+
})]
|
|
716
|
+
}), /* @__PURE__ */ p("div", {
|
|
717
|
+
"data-mps": "ribbon",
|
|
718
|
+
...n(e.menu),
|
|
719
|
+
children: r ?? null
|
|
720
|
+
})]
|
|
721
|
+
}) });
|
|
722
|
+
}
|
|
723
|
+
//#endregion
|
|
724
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonSplitButton.generated.tsx
|
|
725
|
+
var de = c(function({ itemId: e = "", label: t = "", icon: n = "", size: r = "medium", disabled: i = !1, tooltip: a = "", keyTip: s = null, onMainAction: c, onItemClick: f, onMenuToggle: m, iconTemplate: h, className: g, children: _, ...v }, y) {
|
|
726
|
+
d("ribbon", j);
|
|
727
|
+
let b = u(null);
|
|
728
|
+
l(y, () => b.current);
|
|
729
|
+
let x = o(M, {
|
|
730
|
+
itemId: e,
|
|
731
|
+
label: t,
|
|
732
|
+
icon: n,
|
|
733
|
+
size: r,
|
|
734
|
+
disabled: i,
|
|
735
|
+
tooltip: a,
|
|
736
|
+
keyTip: s
|
|
737
|
+
}, {
|
|
738
|
+
idPrefix: "bs-ribbon-split-button",
|
|
739
|
+
label: v["aria-label"],
|
|
740
|
+
rootRef: b,
|
|
741
|
+
emit: (e, t) => {
|
|
742
|
+
e === "mainAction" && c?.(t), e === "itemClick" && f?.(t), e === "menuToggle" && m?.(t);
|
|
743
|
+
}
|
|
744
|
+
});
|
|
745
|
+
return /* @__PURE__ */ p(ue, {
|
|
746
|
+
...x.props,
|
|
747
|
+
slots: { iconTemplate: h },
|
|
748
|
+
className: g,
|
|
749
|
+
attrs: v,
|
|
750
|
+
rootRef: b,
|
|
751
|
+
children: _
|
|
752
|
+
});
|
|
753
|
+
});
|
|
754
|
+
//#endregion
|
|
755
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-dropdown-button.view.generated.tsx
|
|
756
|
+
function fe({ view: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
757
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ m("div", {
|
|
758
|
+
"data-mps": "ribbon",
|
|
759
|
+
...n(e.root),
|
|
760
|
+
ref: o,
|
|
761
|
+
...a,
|
|
762
|
+
role: e.root.role ?? a?.role,
|
|
763
|
+
className: [e.root.class, i].filter(Boolean).join(" ") || void 0,
|
|
764
|
+
children: [/* @__PURE__ */ m("button", {
|
|
765
|
+
"data-mps": "ribbon",
|
|
766
|
+
...n(e.control),
|
|
767
|
+
children: [
|
|
768
|
+
e.icon || t.iconTemplate ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
769
|
+
"data-mps": "ribbon",
|
|
770
|
+
...n(e.parts.icon),
|
|
771
|
+
children: t.iconTemplate === void 0 ? /* @__PURE__ */ p(f, { children: e.icon }) : t.iconTemplate
|
|
772
|
+
}) }) : null,
|
|
773
|
+
e.label ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
774
|
+
"data-mps": "ribbon",
|
|
775
|
+
...n(e.parts.label),
|
|
776
|
+
children: e.label
|
|
777
|
+
}) }) : null,
|
|
778
|
+
/* @__PURE__ */ p("span", {
|
|
779
|
+
"data-mps": "ribbon",
|
|
780
|
+
...n(e.parts.chevron),
|
|
781
|
+
children: "▼"
|
|
782
|
+
})
|
|
783
|
+
]
|
|
784
|
+
}), /* @__PURE__ */ p("div", {
|
|
785
|
+
"data-mps": "ribbon",
|
|
786
|
+
...n(e.menu),
|
|
787
|
+
children: r ?? null
|
|
788
|
+
})]
|
|
789
|
+
}) });
|
|
790
|
+
}
|
|
791
|
+
//#endregion
|
|
792
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonDropdownButton.generated.tsx
|
|
793
|
+
var pe = c(function({ itemId: e = "", label: t = "", icon: n = "", size: r = "medium", disabled: i = !1, tooltip: a = "", keyTip: s = null, onMenuToggle: c, iconTemplate: f, className: m, children: h, ...g }, _) {
|
|
794
|
+
d("ribbon", j);
|
|
795
|
+
let v = u(null);
|
|
796
|
+
l(_, () => v.current);
|
|
797
|
+
let y = o(T, {
|
|
798
|
+
itemId: e,
|
|
799
|
+
label: t,
|
|
800
|
+
icon: n,
|
|
801
|
+
size: r,
|
|
802
|
+
disabled: i,
|
|
803
|
+
tooltip: a,
|
|
804
|
+
keyTip: s
|
|
805
|
+
}, {
|
|
806
|
+
idPrefix: "bs-ribbon-dropdown-button",
|
|
807
|
+
label: g["aria-label"],
|
|
808
|
+
rootRef: v,
|
|
809
|
+
emit: (e, t) => {
|
|
810
|
+
e === "menuToggle" && c?.(t);
|
|
811
|
+
}
|
|
812
|
+
});
|
|
813
|
+
return /* @__PURE__ */ p(fe, {
|
|
814
|
+
...y.props,
|
|
815
|
+
slots: { iconTemplate: f },
|
|
816
|
+
className: m,
|
|
817
|
+
attrs: g,
|
|
818
|
+
rootRef: v,
|
|
819
|
+
children: h
|
|
820
|
+
});
|
|
821
|
+
});
|
|
822
|
+
//#endregion
|
|
823
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-menu-item.view.generated.tsx
|
|
824
|
+
function $({ view: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
825
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
826
|
+
"data-mps": "ribbon",
|
|
827
|
+
...n(e.root),
|
|
828
|
+
ref: o,
|
|
829
|
+
...a,
|
|
830
|
+
role: e.root.role ?? a?.role,
|
|
831
|
+
className: [e.root.class, i].filter(Boolean).join(" ") || void 0,
|
|
832
|
+
children: /* @__PURE__ */ m("button", {
|
|
833
|
+
"data-mps": "ribbon",
|
|
834
|
+
...n(e.button),
|
|
835
|
+
children: [
|
|
836
|
+
e.checkable ? /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("span", {
|
|
837
|
+
"data-mps": "ribbon",
|
|
838
|
+
...n(e.parts.menuCheck),
|
|
839
|
+
children: e.check
|
|
840
|
+
}) }) : null,
|
|
841
|
+
/* @__PURE__ */ p("span", {
|
|
842
|
+
"data-mps": "ribbon",
|
|
843
|
+
...n(e.parts.menuIcon),
|
|
844
|
+
children: t.iconTemplate === void 0 ? /* @__PURE__ */ p(f, { children: e.icon }) : t.iconTemplate
|
|
845
|
+
}),
|
|
846
|
+
/* @__PURE__ */ p("span", {
|
|
847
|
+
"data-mps": "ribbon",
|
|
848
|
+
...n(e.parts.menuLabel),
|
|
849
|
+
children: e.label
|
|
850
|
+
})
|
|
851
|
+
]
|
|
852
|
+
})
|
|
853
|
+
}) });
|
|
854
|
+
}
|
|
855
|
+
//#endregion
|
|
856
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonMenuItem.generated.tsx
|
|
857
|
+
var me = c(function({ itemId: e = "", label: t = "", icon: n = "", kind: r = "action", checked: i = !1, disabled: a = !1, onCheckedChange: s, onMenuSelect: c, iconTemplate: f, className: m, children: h, ...g }, _) {
|
|
858
|
+
d("ribbon", j);
|
|
859
|
+
let v = u(null);
|
|
860
|
+
l(_, () => v.current);
|
|
861
|
+
let y = o(k, {
|
|
862
|
+
itemId: e,
|
|
863
|
+
label: t,
|
|
864
|
+
icon: n,
|
|
865
|
+
kind: r,
|
|
866
|
+
checked: i,
|
|
867
|
+
disabled: a
|
|
868
|
+
}, {
|
|
869
|
+
idPrefix: "bs-ribbon-menu-item",
|
|
870
|
+
label: g["aria-label"],
|
|
871
|
+
rootRef: v,
|
|
872
|
+
emit: (e, t) => {
|
|
873
|
+
e === "checkedChange" && s?.(t), e === "menuSelect" && c?.(t);
|
|
874
|
+
}
|
|
875
|
+
});
|
|
876
|
+
return /* @__PURE__ */ p($, {
|
|
877
|
+
...y.props,
|
|
878
|
+
slots: { iconTemplate: f },
|
|
879
|
+
className: m,
|
|
880
|
+
attrs: g,
|
|
881
|
+
rootRef: v,
|
|
882
|
+
children: h
|
|
883
|
+
});
|
|
884
|
+
});
|
|
885
|
+
//#endregion
|
|
886
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-menu-separator.view.generated.tsx
|
|
887
|
+
function he({ root: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
888
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
889
|
+
"data-mps": "ribbon",
|
|
890
|
+
...n(e),
|
|
891
|
+
ref: o,
|
|
892
|
+
...a,
|
|
893
|
+
role: e.role ?? a?.role,
|
|
894
|
+
className: [e.class, i].filter(Boolean).join(" ") || void 0
|
|
895
|
+
}) });
|
|
896
|
+
}
|
|
897
|
+
//#endregion
|
|
898
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonMenuSeparator.generated.tsx
|
|
899
|
+
var ge = c(function({ className: e, children: t, ...n }, r) {
|
|
900
|
+
d("ribbon", j);
|
|
901
|
+
let i = u(null);
|
|
902
|
+
l(r, () => i.current);
|
|
903
|
+
let a = o(A, {}, {
|
|
904
|
+
idPrefix: "bs-ribbon-menu-separator",
|
|
905
|
+
label: n["aria-label"],
|
|
906
|
+
rootRef: i,
|
|
907
|
+
emit: () => void 0
|
|
908
|
+
});
|
|
909
|
+
return /* @__PURE__ */ p(he, {
|
|
910
|
+
...a.props,
|
|
911
|
+
className: e,
|
|
912
|
+
attrs: n,
|
|
913
|
+
rootRef: i,
|
|
914
|
+
children: t
|
|
915
|
+
});
|
|
916
|
+
});
|
|
917
|
+
//#endregion
|
|
918
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-gallery.view.generated.tsx
|
|
919
|
+
function _e({ view: t, columns: r, slots: i = {}, children: a, className: o, attrs: s, rootRef: c }) {
|
|
920
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
921
|
+
"data-mps": "ribbon",
|
|
922
|
+
...n(t.root),
|
|
923
|
+
ref: c,
|
|
924
|
+
...s,
|
|
925
|
+
role: t.root.role ?? s?.role,
|
|
926
|
+
className: [t.root.class, o].filter(Boolean).join(" ") || void 0,
|
|
927
|
+
children: /* @__PURE__ */ p("div", {
|
|
928
|
+
"data-mps": "ribbon",
|
|
929
|
+
...n(t.control),
|
|
930
|
+
style: e(r),
|
|
931
|
+
children: a ?? null
|
|
932
|
+
})
|
|
933
|
+
}) });
|
|
934
|
+
}
|
|
935
|
+
//#endregion
|
|
936
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonGallery.generated.tsx
|
|
937
|
+
var ve = c(function({ itemId: e = "", label: t = "", icon: n = "", size: r = "medium", disabled: i = !1, tooltip: a = "", keyTip: s = null, columns: c = 4, className: f, children: m, ...h }, g) {
|
|
938
|
+
d("ribbon", j);
|
|
939
|
+
let _ = u(null);
|
|
940
|
+
l(g, () => _.current);
|
|
941
|
+
let v = o(E, {
|
|
942
|
+
itemId: e,
|
|
943
|
+
label: t,
|
|
944
|
+
icon: n,
|
|
945
|
+
size: r,
|
|
946
|
+
disabled: i,
|
|
947
|
+
tooltip: a,
|
|
948
|
+
keyTip: s,
|
|
949
|
+
columns: c
|
|
950
|
+
}, {
|
|
951
|
+
idPrefix: "bs-ribbon-gallery",
|
|
952
|
+
label: h["aria-label"],
|
|
953
|
+
rootRef: _,
|
|
954
|
+
emit: () => void 0
|
|
955
|
+
});
|
|
956
|
+
return /* @__PURE__ */ p(_e, {
|
|
957
|
+
...v.props,
|
|
958
|
+
className: f,
|
|
959
|
+
attrs: h,
|
|
960
|
+
rootRef: _,
|
|
961
|
+
children: m
|
|
962
|
+
});
|
|
963
|
+
});
|
|
964
|
+
//#endregion
|
|
965
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-gallery-item.view.generated.tsx
|
|
966
|
+
function ye({ view: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
967
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
968
|
+
"data-mps": "ribbon",
|
|
969
|
+
...n(e.root),
|
|
970
|
+
ref: o,
|
|
971
|
+
...a,
|
|
972
|
+
role: e.root.role ?? a?.role,
|
|
973
|
+
className: [e.root.class, i].filter(Boolean).join(" ") || void 0,
|
|
974
|
+
children: /* @__PURE__ */ p("button", {
|
|
975
|
+
"data-mps": "ribbon",
|
|
976
|
+
...n(e.control),
|
|
977
|
+
children: /* @__PURE__ */ p("span", {
|
|
978
|
+
"data-mps": "ribbon",
|
|
979
|
+
...n(e.parts.galleryIcon),
|
|
980
|
+
children: t.iconTemplate === void 0 ? /* @__PURE__ */ p(f, { children: e.icon || e.label }) : t.iconTemplate
|
|
981
|
+
})
|
|
982
|
+
})
|
|
983
|
+
}) });
|
|
984
|
+
}
|
|
985
|
+
//#endregion
|
|
986
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonGalleryItem.generated.tsx
|
|
987
|
+
var be = c(function({ itemId: e = "", label: t = "", icon: n = "", selected: r = !1, disabled: i = !1, onGallerySelect: a, iconTemplate: s, className: c, children: f, ...m }, h) {
|
|
988
|
+
d("ribbon", j);
|
|
989
|
+
let g = u(null);
|
|
990
|
+
l(h, () => g.current);
|
|
991
|
+
let _ = o(D, {
|
|
992
|
+
itemId: e,
|
|
993
|
+
label: t,
|
|
994
|
+
icon: n,
|
|
995
|
+
selected: r,
|
|
996
|
+
disabled: i
|
|
997
|
+
}, {
|
|
998
|
+
idPrefix: "bs-ribbon-gallery-item",
|
|
999
|
+
label: m["aria-label"],
|
|
1000
|
+
rootRef: g,
|
|
1001
|
+
emit: (e, t) => {
|
|
1002
|
+
e === "gallerySelect" && a?.(t);
|
|
1003
|
+
}
|
|
1004
|
+
});
|
|
1005
|
+
return /* @__PURE__ */ p(ye, {
|
|
1006
|
+
..._.props,
|
|
1007
|
+
slots: { iconTemplate: s },
|
|
1008
|
+
className: c,
|
|
1009
|
+
attrs: m,
|
|
1010
|
+
rootRef: g,
|
|
1011
|
+
children: f
|
|
1012
|
+
});
|
|
1013
|
+
});
|
|
1014
|
+
//#endregion
|
|
1015
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/ribbon-template-item.view.generated.tsx
|
|
1016
|
+
function xe({ root: e, slots: t = {}, children: r, className: i, attrs: a, rootRef: o }) {
|
|
1017
|
+
return /* @__PURE__ */ p(f, { children: /* @__PURE__ */ p("div", {
|
|
1018
|
+
"data-mps": "ribbon",
|
|
1019
|
+
...n(e),
|
|
1020
|
+
ref: o,
|
|
1021
|
+
...a,
|
|
1022
|
+
role: e.role ?? a?.role,
|
|
1023
|
+
className: [e.class, i].filter(Boolean).join(" ") || void 0,
|
|
1024
|
+
children: r ?? null
|
|
1025
|
+
}) });
|
|
1026
|
+
}
|
|
1027
|
+
//#endregion
|
|
1028
|
+
//#region libs/mintplayer-react-bootstrap/ribbon/src/generated/BsRibbonTemplateItem.generated.tsx
|
|
1029
|
+
var Se = c(function({ size: e = "medium", className: t, children: n, ...r }, i) {
|
|
1030
|
+
d("ribbon", j);
|
|
1031
|
+
let a = u(null);
|
|
1032
|
+
l(i, () => a.current);
|
|
1033
|
+
let s = o(P, { size: e }, {
|
|
1034
|
+
idPrefix: "bs-ribbon-template-item",
|
|
1035
|
+
label: r["aria-label"],
|
|
1036
|
+
rootRef: a,
|
|
1037
|
+
emit: () => void 0
|
|
1038
|
+
});
|
|
1039
|
+
return /* @__PURE__ */ p(xe, {
|
|
1040
|
+
...s.props,
|
|
1041
|
+
className: t,
|
|
1042
|
+
attrs: r,
|
|
1043
|
+
rootRef: a,
|
|
1044
|
+
children: n
|
|
1045
|
+
});
|
|
1046
|
+
});
|
|
1047
|
+
//#endregion
|
|
1048
|
+
export { q as BsQuickAccessToolbar, U as BsRibbon, Y as BsRibbonButton, Q as BsRibbonCheckBox, oe as BsRibbonColorPicker, ie as BsRibbonComboBox, V as BsRibbonContextualTabSet, pe as BsRibbonDropdownButton, ve as BsRibbonGallery, be as BsRibbonGalleryItem, G as BsRibbonGroup, le as BsRibbonGroupButton, me as BsRibbonMenuItem, ge as BsRibbonMenuSeparator, de as BsRibbonSplitButton, z as BsRibbonTab, Se as BsRibbonTemplateItem, Z as BsRibbonToggleButton, g as RIBBON_LABELS, _ as bandTextColor };
|