@mintplayer/web-components 3.1.0 → 3.2.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/a11y/index.mjs +1 -1
- package/a11y/src/focus-restore-controller.d.ts +18 -0
- package/a11y/src/host-aria.d.ts +2 -2
- package/a11y/src/index.d.ts +5 -8
- package/a11y/src/roving-focus.d.ts +5 -28
- package/accordion/index.mjs +58 -109
- package/accordion/src/components/mp-accordion.d.ts +13 -25
- package/badge/src/styles/badge.styles.d.ts +2 -0
- package/calendar/index.mjs +104 -1
- package/calendar/src/generated/calendar.view.generated.d.ts +8 -0
- package/calendar/src/generated/index.d.ts +1 -0
- package/calendar/src/generated/mp-calendar.generated.d.ts +70 -0
- package/calendar/src/index.d.ts +2 -1
- package/card/index.mjs +14 -51
- package/card/src/index.d.ts +2 -3
- package/card/src/mp-card.element.d.ts +15 -29
- package/carousel/index.mjs +169 -434
- package/carousel/src/generated/carousel-item.view.generated.d.ts +10 -0
- package/carousel/src/generated/carousel.view.generated.d.ts +10 -0
- package/carousel/src/generated/index.d.ts +2 -0
- package/carousel/src/generated/mp-carousel-item.generated.d.ts +20 -0
- package/carousel/src/generated/mp-carousel.generated.d.ts +110 -0
- package/carousel/src/index.d.ts +2 -3
- package/charts/hierarchy/index.mjs +252 -871
- package/charts/hierarchy/src/generated/hierarchy-chart.view.generated.d.ts +8 -0
- package/charts/hierarchy/src/generated/index.d.ts +1 -0
- package/charts/hierarchy/src/generated/mp-hierarchy-chart.generated.d.ts +254 -0
- package/charts/hierarchy/src/index.d.ts +2 -2
- package/charts/sparkline/index.mjs +30 -44
- package/charts/sparkline/src/components/mp-sparkline.d.ts +0 -1
- package/charts/trend/index.mjs +128 -320
- package/charts/trend/src/generated/index.d.ts +1 -0
- package/charts/trend/src/generated/mp-trend-chart.generated.d.ts +109 -0
- package/charts/trend/src/generated/trend-chart.view.generated.d.ts +8 -0
- package/charts/trend/src/index.d.ts +2 -2
- package/checkbox/index.mjs +276 -1
- package/chunks/a11y-CXIVMaQ_.mjs +287 -0
- package/chunks/datatable-Ce-UT16z.mjs +442 -0
- package/chunks/datetime-picker-BT6lb4qw.mjs +203 -0
- package/chunks/radio-fSMWIPFk.mjs +150 -0
- package/chunks/splitter-EuJmtwjW.mjs +120 -0
- package/chunks/{toggle-button-H1Ty5nnF.mjs → toggle-button-DWLu9iCm.mjs} +53 -77
- package/chunks/treeview-BFyPrpxn.mjs +118 -0
- package/code-snippet/index.mjs +117 -484
- package/code-snippet/src/generated/code-snippet.view.generated.d.ts +8 -0
- package/code-snippet/src/generated/index.d.ts +1 -0
- package/code-snippet/src/generated/mp-code-snippet.generated.d.ts +104 -0
- package/code-snippet/src/index.d.ts +2 -3
- package/custom-elements.json +16125 -59385
- package/datatable/index.mjs +1 -1
- package/datatable/src/generated/datatable.view.generated.d.ts +43 -0
- package/datatable/src/generated/index.d.ts +1 -0
- package/datatable/src/generated/mp-datatable.generated.d.ts +271 -0
- package/datatable/src/index.d.ts +3 -8
- package/datepicker/index.mjs +119 -141
- package/datepicker/src/generated/datepicker.view.generated.d.ts +8 -0
- package/datepicker/src/generated/index.d.ts +1 -0
- package/datepicker/src/generated/mp-datepicker.generated.d.ts +131 -0
- package/datepicker/src/index.d.ts +3 -1
- package/datetime-picker/index.mjs +1 -1
- package/datetime-picker/src/generated/datetime-picker.view.generated.d.ts +8 -0
- package/datetime-picker/src/generated/index.d.ts +1 -0
- package/datetime-picker/src/generated/mp-datetime-picker.generated.d.ts +158 -0
- package/datetime-picker/src/index.d.ts +2 -1
- package/dock/index.mjs +137 -1906
- package/dock/src/generated/dock-manager.view.generated.d.ts +15 -0
- package/dock/src/generated/dock-node.view.generated.d.ts +8 -0
- package/dock/src/generated/index.d.ts +1 -0
- package/dock/src/generated/mp-dock-manager.generated.d.ts +46 -0
- package/dock/src/index.d.ts +3 -2
- package/dropdown-menu/index.mjs +31 -147
- package/dropdown-menu/src/components/mp-dropdown-menu.d.ts +35 -46
- package/dropdown-menu/src/index.d.ts +1 -2
- package/file-manager/index.mjs +188 -903
- package/file-manager/src/generated/file-manager.view.generated.d.ts +8 -0
- package/file-manager/src/generated/index.d.ts +1 -0
- package/file-manager/src/generated/mp-file-manager.generated.d.ts +125 -0
- package/file-manager/src/index.d.ts +3 -5
- package/input-group/index.mjs +39 -1
- package/input-group/src/index.d.ts +1 -1
- package/input-group/src/mp-input-group.d.ts +29 -0
- package/machine/index.mjs +219 -9
- package/machine/src/content-query.d.ts +21 -0
- package/machine/src/core-controller.d.ts +27 -0
- package/machine/src/host-props.d.ts +87 -0
- package/machine/src/index.d.ts +4 -0
- package/machine/src/props-directive.d.ts +1 -1
- package/machine/src/teleport-directive.d.ts +20 -0
- package/multi-range/index.mjs +73 -230
- package/multi-range/src/generated/index.d.ts +1 -0
- package/multi-range/src/generated/mp-multi-range.generated.d.ts +102 -0
- package/multi-range/src/generated/multi-range.view.generated.d.ts +8 -0
- package/multi-range/src/index.d.ts +2 -2
- package/navbar/index.mjs +249 -236
- package/navbar/src/generated/index.d.ts +4 -0
- package/navbar/src/generated/mp-navbar-dropdown.generated.d.ts +44 -0
- package/navbar/src/generated/mp-navbar-item.generated.d.ts +40 -0
- package/navbar/src/generated/mp-navbar-nav.generated.d.ts +31 -0
- package/navbar/src/generated/mp-navbar.generated.d.ts +81 -0
- package/navbar/src/generated/navbar-dropdown.view.generated.d.ts +14 -0
- package/navbar/src/generated/navbar-item.view.generated.d.ts +10 -0
- package/navbar/src/generated/navbar-nav.view.generated.d.ts +10 -0
- package/navbar/src/generated/navbar.view.generated.d.ts +13 -0
- package/navbar/src/index.d.ts +2 -3
- package/otp-input/index.mjs +96 -236
- package/otp-input/src/generated/index.d.ts +1 -0
- package/otp-input/src/generated/mp-otp-input.generated.d.ts +113 -0
- package/otp-input/src/generated/otp-input.view.generated.d.ts +8 -0
- package/otp-input/src/index.d.ts +2 -4
- package/package.json +6 -37
- package/pagination/index.mjs +149 -1
- package/pagination/src/components/mp-pagination.d.ts +7 -45
- package/phone-input/index.mjs +151 -408
- package/phone-input/src/generated/index.d.ts +1 -0
- package/phone-input/src/generated/mp-phone-input.generated.d.ts +155 -0
- package/phone-input/src/generated/phone-input.view.generated.d.ts +8 -0
- package/phone-input/src/index.d.ts +2 -1
- package/query-builder/index.mjs +232 -1705
- package/query-builder/src/generated/index.d.ts +1 -0
- package/query-builder/src/generated/mp-query-builder.generated.d.ts +111 -0
- package/query-builder/src/generated/query-builder-item.view.generated.d.ts +16 -0
- package/query-builder/src/generated/query-builder.view.generated.d.ts +15 -0
- package/query-builder/src/index.d.ts +3 -27
- package/radio/index.mjs +1 -1
- package/radio/src/components/mp-radio.d.ts +38 -76
- package/radio-group/index.mjs +36 -99
- package/radio-group/src/components/mp-radio-group.d.ts +19 -32
- package/ribbon/index.mjs +1423 -2664
- package/ribbon/src/generated/index.d.ts +18 -0
- package/ribbon/src/generated/mp-quick-access-toolbar.generated.d.ts +31 -0
- package/ribbon/src/generated/mp-ribbon-button.generated.d.ts +83 -0
- package/ribbon/src/generated/mp-ribbon-checkbox.generated.d.ts +85 -0
- package/ribbon/src/generated/mp-ribbon-color-picker.generated.d.ts +85 -0
- package/ribbon/src/generated/mp-ribbon-combobox.generated.d.ts +89 -0
- package/ribbon/src/generated/mp-ribbon-contextual-tab-set.generated.d.ts +49 -0
- package/ribbon/src/generated/mp-ribbon-dropdown-button.generated.d.ts +88 -0
- package/ribbon/src/generated/mp-ribbon-gallery-item.generated.d.ts +63 -0
- package/ribbon/src/generated/mp-ribbon-gallery.generated.d.ts +91 -0
- package/ribbon/src/generated/mp-ribbon-group-button.generated.d.ts +90 -0
- package/ribbon/src/generated/mp-ribbon-group.generated.d.ts +85 -0
- package/ribbon/src/generated/mp-ribbon-menu-item.generated.d.ts +71 -0
- package/ribbon/src/generated/mp-ribbon-menu-separator.generated.d.ts +13 -0
- package/ribbon/src/generated/mp-ribbon-split-button.generated.d.ts +88 -0
- package/ribbon/src/generated/mp-ribbon-tab.generated.d.ts +61 -0
- package/ribbon/src/generated/mp-ribbon-template-item.generated.d.ts +30 -0
- package/ribbon/src/generated/mp-ribbon-toggle-button.generated.d.ts +91 -0
- package/ribbon/src/generated/mp-ribbon.generated.d.ts +98 -0
- package/ribbon/src/generated/quick-access-toolbar.view.generated.d.ts +10 -0
- package/ribbon/src/generated/ribbon-button.view.generated.d.ts +10 -0
- package/ribbon/src/generated/ribbon-check-box.view.generated.d.ts +8 -0
- package/ribbon/src/generated/ribbon-color-picker.view.generated.d.ts +8 -0
- package/ribbon/src/generated/ribbon-combo-box.view.generated.d.ts +9 -0
- package/ribbon/src/generated/ribbon-contextual-tab-set.view.generated.d.ts +10 -0
- package/ribbon/src/generated/ribbon-dropdown-button.view.generated.d.ts +11 -0
- package/ribbon/src/generated/ribbon-gallery-item.view.generated.d.ts +10 -0
- package/ribbon/src/generated/ribbon-gallery.view.generated.d.ts +11 -0
- package/ribbon/src/generated/ribbon-group-button.view.generated.d.ts +9 -0
- package/ribbon/src/generated/ribbon-group.view.generated.d.ts +10 -0
- package/ribbon/src/generated/ribbon-menu-item.view.generated.d.ts +10 -0
- package/ribbon/src/generated/ribbon-menu-separator.view.generated.d.ts +8 -0
- package/ribbon/src/generated/ribbon-split-button.view.generated.d.ts +11 -0
- package/ribbon/src/generated/ribbon-tab.view.generated.d.ts +10 -0
- package/ribbon/src/generated/ribbon-template-item.view.generated.d.ts +10 -0
- package/ribbon/src/generated/ribbon-toggle-button.view.generated.d.ts +10 -0
- package/ribbon/src/generated/ribbon.view.generated.d.ts +11 -0
- package/ribbon/src/index.d.ts +3 -10
- package/scheduler/index.mjs +489 -3605
- package/scheduler/src/generated/index.d.ts +1 -0
- package/scheduler/src/generated/mp-scheduler.generated.d.ts +128 -0
- package/scheduler/src/generated/sched-editor.view.generated.d.ts +8 -0
- package/scheduler/src/generated/sched-month.view.generated.d.ts +8 -0
- package/scheduler/src/generated/sched-popover-event.view.generated.d.ts +8 -0
- package/scheduler/src/generated/sched-popover.view.generated.d.ts +8 -0
- package/scheduler/src/generated/sched-row-panel.view.generated.d.ts +8 -0
- package/scheduler/src/generated/sched-time-grid.view.generated.d.ts +8 -0
- package/scheduler/src/generated/sched-timeline.view.generated.d.ts +8 -0
- package/scheduler/src/generated/sched-year.view.generated.d.ts +8 -0
- package/scheduler/src/generated/scheduler.view.generated.d.ts +8 -0
- package/scheduler/src/index.d.ts +4 -6
- package/select/index.mjs +165 -1
- package/select/src/generated/index.d.ts +1 -0
- package/select/src/generated/mp-select.generated.d.ts +130 -0
- package/select/src/generated/select.view.generated.d.ts +16 -0
- package/select/src/index.d.ts +2 -2
- package/shell/index.mjs +90 -100
- package/shell/src/components/mp-shell.d.ts +47 -38
- package/shell/src/index.d.ts +1 -2
- package/signature-pad/index.mjs +80 -171
- package/signature-pad/src/generated/index.d.ts +1 -0
- package/signature-pad/src/generated/mp-signature-pad.generated.d.ts +107 -0
- package/signature-pad/src/generated/signature-pad.view.generated.d.ts +8 -0
- package/signature-pad/src/index.d.ts +2 -2
- package/splitter/index.mjs +1 -1
- package/splitter/src/generated/index.d.ts +2 -0
- package/splitter/src/generated/mp-splitter-panel.generated.d.ts +20 -0
- package/splitter/src/generated/mp-splitter.generated.d.ts +62 -0
- package/splitter/src/generated/splitter-panel.view.generated.d.ts +10 -0
- package/splitter/src/generated/splitter.view.generated.d.ts +10 -0
- package/splitter/src/index.d.ts +2 -11
- package/tab-control/index.mjs +202 -1
- package/theming/color-mode.css +7 -6
- package/theming/index.mjs +36 -231
- package/theming/src/generated/index.d.ts +1 -0
- package/theming/src/generated/mp-theme-toggle.generated.d.ts +26 -0
- package/theming/src/generated/theme-toggle.view.generated.d.ts +8 -0
- package/theming/src/index.d.ts +2 -5
- package/timeline/index.mjs +282 -498
- package/timeline/src/generated/index.d.ts +2 -0
- package/timeline/src/generated/mp-timeline-item.generated.d.ts +105 -0
- package/timeline/src/generated/mp-timeline.generated.d.ts +123 -0
- package/timeline/src/generated/timeline-item.view.generated.d.ts +14 -0
- package/timeline/src/generated/timeline.view.generated.d.ts +58 -0
- package/timeline/src/index.d.ts +3 -5
- package/timepicker/index.mjs +202 -1
- package/timepicker/src/generated/index.d.ts +2 -0
- package/timepicker/src/generated/mp-time-list.generated.d.ts +69 -0
- package/timepicker/src/generated/mp-timepicker.generated.d.ts +123 -0
- package/timepicker/src/generated/time-list.view.generated.d.ts +8 -0
- package/timepicker/src/generated/timepicker.view.generated.d.ts +8 -0
- package/timepicker/src/index.d.ts +2 -2
- package/toggle-button/index.mjs +1 -1
- package/toggle-button/src/components/mp-toggle-button.d.ts +28 -33
- package/tree-select/index.mjs +266 -535
- package/tree-select/src/generated/index.d.ts +1 -0
- package/tree-select/src/generated/mp-tree-select.generated.d.ts +158 -0
- package/tree-select/src/generated/tree-select.view.generated.d.ts +36 -0
- package/tree-select/src/index.d.ts +3 -6
- package/treeview/index.mjs +1 -1
- package/treeview/src/generated/index.d.ts +1 -0
- package/treeview/src/generated/mp-treeview.generated.d.ts +82 -0
- package/treeview/src/generated/treeview.view.generated.d.ts +18 -0
- package/treeview/src/index.d.ts +2 -4
- package/typeahead/index.mjs +37 -29
- package/typeahead/src/components/mp-typeahead.d.ts +1 -0
- package/a11y/src/dismiss-stack.d.ts +0 -25
- package/a11y/src/focus-restore.d.ts +0 -116
- package/a11y/src/focus-trap.d.ts +0 -69
- package/a11y/src/inert-regions.d.ts +0 -52
- package/calendar/src/mp-calendar.element.d.ts +0 -124
- package/calendar/src/mp-calendar.element.template.d.ts +0 -2
- package/card/src/card-classes.d.ts +0 -33
- package/card/src/types/card-header-nav-style.d.ts +0 -1
- package/card/src/types/card-image-position.d.ts +0 -1
- package/carousel/src/components/index.d.ts +0 -1
- package/carousel/src/components/mp-carousel.d.ts +0 -58
- package/carousel/src/styles/carousel.styles.d.ts +0 -2
- package/carousel/src/styles/index.d.ts +0 -1
- package/carousel/src/types/carousel.d.ts +0 -10
- package/carousel/src/types/index.d.ts +0 -1
- package/charts/core/index.d.ts +0 -1
- package/charts/core/index.mjs +0 -503
- package/charts/core/src/arc.d.ts +0 -27
- package/charts/core/src/attributes.d.ts +0 -18
- package/charts/core/src/color.d.ts +0 -30
- package/charts/core/src/hierarchy-layout.d.ts +0 -68
- package/charts/core/src/index.d.ts +0 -8
- package/charts/core/src/label-fit.d.ts +0 -31
- package/charts/core/src/scale.d.ts +0 -21
- package/charts/core/src/types.d.ts +0 -52
- package/charts/core/src/view-window.d.ts +0 -46
- package/charts/hierarchy/src/components/index.d.ts +0 -1
- package/charts/hierarchy/src/components/mp-hierarchy-chart.d.ts +0 -320
- package/charts/hierarchy/src/styles/hierarchy-chart.styles.d.ts +0 -2
- package/charts/hierarchy/src/styles/index.d.ts +0 -1
- package/charts/trend/src/components/index.d.ts +0 -1
- package/charts/trend/src/components/mp-trend-chart.d.ts +0 -104
- package/charts/trend/src/styles/index.d.ts +0 -1
- package/charts/trend/src/styles/trend-chart.styles.d.ts +0 -2
- package/chunks/a11y-C6aX-lsZ.mjs +0 -532
- package/chunks/ac-aJXc45zA.mjs +0 -4
- package/chunks/ad-BTMXfwNh.mjs +0 -4
- package/chunks/ae-BrzD6osX.mjs +0 -4
- package/chunks/af-3UZ2_zTj.mjs +0 -4
- package/chunks/ag-KRBsuK2a.mjs +0 -4
- package/chunks/ai-BswLJAYs.mjs +0 -4
- package/chunks/al-wkJnSVxF.mjs +0 -4
- package/chunks/all-flags.generated-DtfbMnSZ.mjs +0 -249
- package/chunks/am-CVqI42UW.mjs +0 -4
- package/chunks/ao-85WVAZW6.mjs +0 -4
- package/chunks/ar-DJGfKADQ.mjs +0 -4
- package/chunks/as-BA11KqFF.mjs +0 -4
- package/chunks/at-BWbwtZ8t.mjs +0 -4
- package/chunks/au-gcOCUxgy.mjs +0 -4
- package/chunks/aw-cquGJK0_.mjs +0 -4
- package/chunks/ax-CqFz-_7-.mjs +0 -4
- package/chunks/az-CtGxDo7C.mjs +0 -4
- package/chunks/ba-Du5giA_b.mjs +0 -4
- package/chunks/bb-Bv08A_ob.mjs +0 -4
- package/chunks/bd-DNB5oj3n.mjs +0 -4
- package/chunks/be-CRVNdrRc.mjs +0 -4
- package/chunks/bf-CkLDaLFq.mjs +0 -4
- package/chunks/bg-5J0EZyQA.mjs +0 -4
- package/chunks/bh-Dm3fVyBc.mjs +0 -4
- package/chunks/bi-BpldTGS9.mjs +0 -4
- package/chunks/bj-Bn2B1hkk.mjs +0 -4
- package/chunks/bl-Dozbp4JI.mjs +0 -4
- package/chunks/bm-DMwDEJDn.mjs +0 -4
- package/chunks/bn-38iFiYIW.mjs +0 -4
- package/chunks/bo-C7Z0bS7Y.mjs +0 -4
- package/chunks/bq-Bp_dK3bp.mjs +0 -4
- package/chunks/br-C1y3qYTo.mjs +0 -4
- package/chunks/bs-DvapNTm6.mjs +0 -4
- package/chunks/bt-4BBK2CzL.mjs +0 -4
- package/chunks/bw-gFoFnfsO.mjs +0 -4
- package/chunks/by-BcXeEIqn.mjs +0 -4
- package/chunks/bz-DiNvPmet.mjs +0 -4
- package/chunks/ca-B6_-P3Ki.mjs +0 -4
- package/chunks/calendar-BufRj_ob.mjs +0 -270
- package/chunks/cc-1.generated-Bz6a4Z5J.mjs +0 -575
- package/chunks/cc-20.generated-B2Zbp_CG.mjs +0 -56
- package/chunks/cc-211.generated-ChWU4ZnK.mjs +0 -27
- package/chunks/cc-212.generated-rW7bueR8.mjs +0 -77
- package/chunks/cc-213.generated-Dk100iVd.mjs +0 -52
- package/chunks/cc-216.generated-Da9XXIxn.mjs +0 -37
- package/chunks/cc-218.generated-B9dPA_jz.mjs +0 -27
- package/chunks/cc-220.generated-BD583LXg.mjs +0 -26
- package/chunks/cc-221.generated-FnrRCGhQ.mjs +0 -41
- package/chunks/cc-222.generated-RIcsN1By.mjs +0 -30
- package/chunks/cc-223.generated-BJYOhmxL.mjs +0 -30
- package/chunks/cc-224.generated-ZVRf4s4P.mjs +0 -40
- package/chunks/cc-225.generated-B37F4h_L.mjs +0 -30
- package/chunks/cc-226.generated-DX6w8SIQ.mjs +0 -26
- package/chunks/cc-227.generated-DWvIJCqw.mjs +0 -35
- package/chunks/cc-228.generated-CYnF-A2j.mjs +0 -26
- package/chunks/cc-229.generated-BHENEfHM.mjs +0 -40
- package/chunks/cc-230.generated-CCkgyUCO.mjs +0 -53
- package/chunks/cc-231.generated-Cy_W19Ec.mjs +0 -50
- package/chunks/cc-232.generated-bZc5ux9j.mjs +0 -27
- package/chunks/cc-233.generated-DtiURqLW.mjs +0 -36
- package/chunks/cc-234.generated-ISth71Yl.mjs +0 -67
- package/chunks/cc-235.generated-PAizMnHl.mjs +0 -27
- package/chunks/cc-236.generated-ZPS5oQTo.mjs +0 -31
- package/chunks/cc-237.generated-fOpKOXN1.mjs +0 -34
- package/chunks/cc-238.generated-DLsZAArj.mjs +0 -36
- package/chunks/cc-239.generated-Dq7UEEQw.mjs +0 -26
- package/chunks/cc-240.generated-B5rtjDFe.mjs +0 -35
- package/chunks/cc-241.generated-C2tPOfsp.mjs +0 -40
- package/chunks/cc-242.generated-12ELhWHE.mjs +0 -35
- package/chunks/cc-243.generated-Co_QscFq.mjs +0 -64
- package/chunks/cc-244.generated-CHVaQJzk.mjs +0 -26
- package/chunks/cc-245.generated-Dlfots5d.mjs +0 -40
- package/chunks/cc-246.generated-ml5FnCdW.mjs +0 -26
- package/chunks/cc-247.generated-D8iUb2b4.mjs +0 -30
- package/chunks/cc-248.generated-ByNbG_tW.mjs +0 -37
- package/chunks/cc-249.generated-B1uFXVYg.mjs +0 -27
- package/chunks/cc-250.generated-Db4-CYfI.mjs +0 -44
- package/chunks/cc-251.generated-Dk9Nsbz4.mjs +0 -27
- package/chunks/cc-252.generated-DzLVy7Wj.mjs +0 -62
- package/chunks/cc-253.generated-BAAxb4Dd.mjs +0 -26
- package/chunks/cc-254.generated-CQb3622R.mjs +0 -55
- package/chunks/cc-255.generated-CkU7A9vn.mjs +0 -57
- package/chunks/cc-256.generated-CPuR1ls2.mjs +0 -46
- package/chunks/cc-257.generated-Bop3IKkH.mjs +0 -26
- package/chunks/cc-258.generated-CrhWzLYO.mjs +0 -34
- package/chunks/cc-260.generated-CM31-F_r.mjs +0 -42
- package/chunks/cc-261.generated-Cc1Yk2ga.mjs +0 -37
- package/chunks/cc-262.generated-iNq4Bsyg.mjs +0 -64
- package/chunks/cc-263.generated-BNSZQW1U.mjs +0 -100
- package/chunks/cc-264.generated-BYq3HF_4.mjs +0 -57
- package/chunks/cc-265.generated-55Al2n2g.mjs +0 -32
- package/chunks/cc-266.generated-CC24vRZU.mjs +0 -30
- package/chunks/cc-267.generated-Cy1cO0r8.mjs +0 -62
- package/chunks/cc-268.generated-CuFPqOA0.mjs +0 -40
- package/chunks/cc-269.generated-CCOchMHW.mjs +0 -31
- package/chunks/cc-27.generated-CgwGi0oo.mjs +0 -77
- package/chunks/cc-290.generated-WRbX8Uzp.mjs +0 -48
- package/chunks/cc-291.generated-CHqtf344.mjs +0 -27
- package/chunks/cc-297.generated-BNaG__hC.mjs +0 -36
- package/chunks/cc-298.generated-BXnC-JHy.mjs +0 -36
- package/chunks/cc-299.generated-B9EtLFYo.mjs +0 -36
- package/chunks/cc-30.generated-JiXqSdPm.mjs +0 -58
- package/chunks/cc-31.generated-T-PhKf6W.mjs +0 -91
- package/chunks/cc-32.generated-3jhsIH05.mjs +0 -58
- package/chunks/cc-33.generated-CKpraBu-.mjs +0 -43
- package/chunks/cc-34.generated-4ZOoUv3E.mjs +0 -41
- package/chunks/cc-350.generated-BZeZIKv3.mjs +0 -26
- package/chunks/cc-351.generated-Ca4DVFZ8.mjs +0 -41
- package/chunks/cc-352.generated-C5JanZQk.mjs +0 -96
- package/chunks/cc-353.generated-BgLwqLra.mjs +0 -98
- package/chunks/cc-354.generated-BgTnQRlC.mjs +0 -41
- package/chunks/cc-355.generated-DGYepZoL.mjs +0 -69
- package/chunks/cc-356.generated-BsVo-WVa.mjs +0 -36
- package/chunks/cc-357.generated-b5F9kBHS.mjs +0 -37
- package/chunks/cc-358.generated-sIEQmG3a.mjs +0 -136
- package/chunks/cc-359.generated-Djbt0V64.mjs +0 -92
- package/chunks/cc-36.generated-GYQWm_pU.mjs +0 -51
- package/chunks/cc-370.generated-CRvXymMq.mjs +0 -62
- package/chunks/cc-371.generated-BR2fz2JU.mjs +0 -37
- package/chunks/cc-372.generated-DNvOnI-D.mjs +0 -53
- package/chunks/cc-373.generated-CIFhOyHu.mjs +0 -52
- package/chunks/cc-374.generated-C3JO10F2.mjs +0 -58
- package/chunks/cc-375.generated-CdSXpaA5.mjs +0 -77
- package/chunks/cc-376.generated-JuZXGLxH.mjs +0 -47
- package/chunks/cc-377.generated-D6OxfwEg.mjs +0 -44
- package/chunks/cc-378.generated-1P6hL48M.mjs +0 -40
- package/chunks/cc-380.generated-DgzzIFUj.mjs +0 -58
- package/chunks/cc-381.generated-D_ItFJFw.mjs +0 -65
- package/chunks/cc-382.generated-DuYOeAO_.mjs +0 -37
- package/chunks/cc-383.generated-R6R6iExY.mjs +0 -58
- package/chunks/cc-385.generated-CsDeMCh1.mjs +0 -77
- package/chunks/cc-386.generated-CprplXRX.mjs +0 -67
- package/chunks/cc-387.generated-7j6TIOUR.mjs +0 -52
- package/chunks/cc-389.generated-BoKyJU1O.mjs +0 -52
- package/chunks/cc-39.generated-CD2WXEy7.mjs +0 -144
- package/chunks/cc-40.generated-BXVz6ZEf.mjs +0 -60
- package/chunks/cc-41.generated-Blq73F9R.mjs +0 -52
- package/chunks/cc-420.generated-CGBM0u2Z.mjs +0 -59
- package/chunks/cc-421.generated-TZXTbujK.mjs +0 -68
- package/chunks/cc-423.generated-0jWk7aQw.mjs +0 -51
- package/chunks/cc-43.generated-CWC77-QL.mjs +0 -124
- package/chunks/cc-44.generated-BjNEEm72.mjs +0 -185
- package/chunks/cc-45.generated-D2fAEViK.mjs +0 -31
- package/chunks/cc-46.generated-Cc7ziKiQ.mjs +0 -151
- package/chunks/cc-47.generated-BfsXOmTn.mjs +0 -68
- package/chunks/cc-48.generated-qLLhGlDM.mjs +0 -80
- package/chunks/cc-49.generated-V5s3zaiK.mjs +0 -207
- package/chunks/cc-500.generated-BthGq2Lz.mjs +0 -22
- package/chunks/cc-501.generated-D3OEBYfs.mjs +0 -34
- package/chunks/cc-502.generated-DuGMlanj.mjs +0 -35
- package/chunks/cc-503.generated-D6WQdJRe.mjs +0 -47
- package/chunks/cc-504.generated-CnaVgqYu.mjs +0 -30
- package/chunks/cc-505.generated-BymEBjCD.mjs +0 -30
- package/chunks/cc-506.generated-DECPXw0C.mjs +0 -40
- package/chunks/cc-507.generated-B3GcK3L_.mjs +0 -48
- package/chunks/cc-508.generated-Dyuwoas9.mjs +0 -45
- package/chunks/cc-509.generated-CFrvVAgw.mjs +0 -36
- package/chunks/cc-51.generated-Chb_sPYg.mjs +0 -59
- package/chunks/cc-52.generated-ByiHdoYn.mjs +0 -42
- package/chunks/cc-53.generated-DJSsiaD5.mjs +0 -63
- package/chunks/cc-54.generated-CHWQhBUJ.mjs +0 -99
- package/chunks/cc-55.generated-B1A8n_Eu.mjs +0 -62
- package/chunks/cc-56.generated-BIagT3im.mjs +0 -86
- package/chunks/cc-57.generated-BI-iKXi5.mjs +0 -56
- package/chunks/cc-58.generated-ChHB0yFM.mjs +0 -35
- package/chunks/cc-590.generated-eh5bgg8N.mjs +0 -96
- package/chunks/cc-591.generated-DtljIXWS.mjs +0 -48
- package/chunks/cc-592.generated-BFJXRJtp.mjs +0 -36
- package/chunks/cc-593.generated-BnzrDC9X.mjs +0 -57
- package/chunks/cc-594.generated-GeVqoxTf.mjs +0 -42
- package/chunks/cc-595.generated-Cb147_Es.mjs +0 -99
- package/chunks/cc-596.generated-Awrujeyi.mjs +0 -42
- package/chunks/cc-597.generated-x82tPU7m.mjs +0 -48
- package/chunks/cc-598.generated-C0CFFA9e.mjs +0 -90
- package/chunks/cc-599.generated-CBNiFVLG.mjs +0 -57
- package/chunks/cc-60.generated-BsEWXQGR.mjs +0 -72
- package/chunks/cc-61.generated-D1GBs6cI.mjs +0 -165
- package/chunks/cc-62.generated-wMxDe6Yk.mjs +0 -121
- package/chunks/cc-63.generated-CdGxow0i.mjs +0 -90
- package/chunks/cc-64.generated-RnYaXyOf.mjs +0 -88
- package/chunks/cc-65.generated-DLu3ZfUr.mjs +0 -57
- package/chunks/cc-66.generated-Bak_QXSf.mjs +0 -55
- package/chunks/cc-670.generated-C99GtcUk.mjs +0 -36
- package/chunks/cc-672.generated-CSfxhA5g.mjs +0 -30
- package/chunks/cc-673.generated-CBepp8Kp.mjs +0 -36
- package/chunks/cc-674.generated-CUruGGLX.mjs +0 -26
- package/chunks/cc-675.generated-CJAYoKiM.mjs +0 -41
- package/chunks/cc-676.generated-D0aVoKBX.mjs +0 -48
- package/chunks/cc-677.generated-CboriHtH.mjs +0 -36
- package/chunks/cc-678.generated-tV4dzsm1.mjs +0 -36
- package/chunks/cc-679.generated-r1SqDRTw.mjs +0 -35
- package/chunks/cc-680.generated-CUJSNlon.mjs +0 -26
- package/chunks/cc-681.generated-CqZqTSzv.mjs +0 -40
- package/chunks/cc-682.generated-DsTDPJJe.mjs +0 -26
- package/chunks/cc-683.generated-C46F0xza.mjs +0 -26
- package/chunks/cc-685.generated-3mzM0WBI.mjs +0 -47
- package/chunks/cc-686.generated-B7jAfSaz.mjs +0 -32
- package/chunks/cc-687.generated-DUkxCl-t.mjs +0 -31
- package/chunks/cc-688.generated-Bwg6wtz6.mjs +0 -42
- package/chunks/cc-689.generated-DIjPyQbi.mjs +0 -52
- package/chunks/cc-690.generated-BkBOgCj0.mjs +0 -27
- package/chunks/cc-691.generated-CRgqR_eS.mjs +0 -26
- package/chunks/cc-692.generated-xoIqpcZG.mjs +0 -36
- package/chunks/cc-7.generated-CVaWdxzG.mjs +0 -99
- package/chunks/cc-81.generated-BsK5UKLx.mjs +0 -100
- package/chunks/cc-82.generated-BcgfVP49.mjs +0 -96
- package/chunks/cc-84.generated-C_NDe2op.mjs +0 -81
- package/chunks/cc-850.generated-5uPEB20Q.mjs +0 -41
- package/chunks/cc-852.generated-Cmcj41zv.mjs +0 -66
- package/chunks/cc-853.generated-5Q5aYzYP.mjs +0 -34
- package/chunks/cc-855.generated-CyoP_AvI.mjs +0 -40
- package/chunks/cc-856.generated-UaGUxAVX.mjs +0 -45
- package/chunks/cc-86.generated-C76vQ-PG.mjs +0 -131
- package/chunks/cc-880.generated-DTQZvOwQ.mjs +0 -63
- package/chunks/cc-886.generated-BlEIkmSb.mjs +0 -89
- package/chunks/cc-90.generated-B6QJof50.mjs +0 -70
- package/chunks/cc-91.generated-BFtdPEFf.mjs +0 -120
- package/chunks/cc-92.generated-Dmc8JLXg.mjs +0 -84
- package/chunks/cc-93.generated-zx8cBy1Z.mjs +0 -27
- package/chunks/cc-94.generated-Blu9IgSY.mjs +0 -40
- package/chunks/cc-95.generated-DCr59wbp.mjs +0 -103
- package/chunks/cc-960.generated-D1_nf00O.mjs +0 -39
- package/chunks/cc-961.generated-DxRflmbQ.mjs +0 -42
- package/chunks/cc-962.generated-DxZQb06J.mjs +0 -58
- package/chunks/cc-963.generated-uiT34jBy.mjs +0 -34
- package/chunks/cc-964.generated-BOKCnQHJ.mjs +0 -45
- package/chunks/cc-965.generated-CxNoEz0A.mjs +0 -34
- package/chunks/cc-966.generated-DhI8Ntyw.mjs +0 -56
- package/chunks/cc-967.generated-ContxwI-.mjs +0 -36
- package/chunks/cc-968.generated-v531jzFw.mjs +0 -47
- package/chunks/cc-970.generated-ChNVoJlm.mjs +0 -55
- package/chunks/cc-971.generated-xlS_839v.mjs +0 -65
- package/chunks/cc-972.generated-C5zT9loz.mjs +0 -87
- package/chunks/cc-973.generated-GoMZ3x5A.mjs +0 -37
- package/chunks/cc-974.generated-CHoLGfhR.mjs +0 -48
- package/chunks/cc-975.generated-BILSPn9k.mjs +0 -30
- package/chunks/cc-976.generated-4w3Zjm18.mjs +0 -66
- package/chunks/cc-977.generated-QcknaTKZ.mjs +0 -48
- package/chunks/cc-98.generated-C8ajgwoF.mjs +0 -65
- package/chunks/cc-992.generated-DUtoyFJd.mjs +0 -44
- package/chunks/cc-993.generated-DA_HUZYq.mjs +0 -42
- package/chunks/cc-994.generated-Bs9TDYzb.mjs +0 -50
- package/chunks/cc-995.generated-DeCplFKG.mjs +0 -56
- package/chunks/cc-996.generated-DIoF8HI4.mjs +0 -45
- package/chunks/cc-998.generated-mB6cuCsE.mjs +0 -26
- package/chunks/cc-C0VrlA3_.mjs +0 -4
- package/chunks/cd-TfcK0f07.mjs +0 -4
- package/chunks/cf-Cr0ikDYa.mjs +0 -4
- package/chunks/cg-BeLZ5g5O.mjs +0 -4
- package/chunks/ch-cyq7xzGy.mjs +0 -4
- package/chunks/checkbox-EnxkCGiC.mjs +0 -271
- package/chunks/ci-D2pSb2Ih.mjs +0 -4
- package/chunks/ck-htfFHGea.mjs +0 -4
- package/chunks/cl-CoYa3Pmk.mjs +0 -4
- package/chunks/cm-D6uug-DA.mjs +0 -4
- package/chunks/cn-D48FvmT7.mjs +0 -4
- package/chunks/co-Dww2Azv_.mjs +0 -4
- package/chunks/color-mode-warning-BWDrpfmR.mjs +0 -11
- package/chunks/cr-T0UM2nAQ.mjs +0 -4
- package/chunks/cu-CvSN3Q4W.mjs +0 -4
- package/chunks/cv-CselBvqy.mjs +0 -4
- package/chunks/cw-DBlAOQBG.mjs +0 -4
- package/chunks/cx-CT3aGae9.mjs +0 -4
- package/chunks/cy-BgOT9gkN.mjs +0 -4
- package/chunks/cz-pyOSY6aP.mjs +0 -4
- package/chunks/datatable-FVQ8MQyR.mjs +0 -1804
- package/chunks/datetime-picker-BtroFVZZ.mjs +0 -373
- package/chunks/de-KGaNXoZN.mjs +0 -4
- package/chunks/decorate-_3lQte5d.mjs +0 -9
- package/chunks/dj-erTpydIV.mjs +0 -4
- package/chunks/dk-D1JuLNfO.mjs +0 -4
- package/chunks/dm-DCecBFF5.mjs +0 -4
- package/chunks/do-DSLfzWkU.mjs +0 -4
- package/chunks/dz-Ce9xahTz.mjs +0 -4
- package/chunks/ec-Bi76lWx3.mjs +0 -4
- package/chunks/ee-bSjXh051.mjs +0 -4
- package/chunks/eg-r6ELPNF6.mjs +0 -4
- package/chunks/eh-B9fkMRyx.mjs +0 -4
- package/chunks/er-udHBJByJ.mjs +0 -4
- package/chunks/es-Bu9WWdeR.mjs +0 -4
- package/chunks/et-CXZPC0sf.mjs +0 -4
- package/chunks/fi-dNG3mnm4.mjs +0 -4
- package/chunks/fj-DRC_-qUY.mjs +0 -4
- package/chunks/fk-J-PwBKbI.mjs +0 -4
- package/chunks/flags-BklZdqf-.mjs +0 -268
- package/chunks/fm-DdlXjhk_.mjs +0 -4
- package/chunks/fo-BF6Oan5b.mjs +0 -4
- package/chunks/form-check.styles-WIzQ8Lr8.mjs +0 -5
- package/chunks/form-control.styles-xkboF3PM.mjs +0 -5
- package/chunks/fr-m5fDKirC.mjs +0 -4
- package/chunks/ga-B4EBbkUA.mjs +0 -4
- package/chunks/gb-7vN41y_W.mjs +0 -4
- package/chunks/gd-oYxJTsCo.mjs +0 -4
- package/chunks/ge-DjFzwM58.mjs +0 -4
- package/chunks/gf-QpbaNTLf.mjs +0 -4
- package/chunks/gg-DD5U9436.mjs +0 -4
- package/chunks/gh-DwVF19eS.mjs +0 -4
- package/chunks/gi-UFWuuzET.mjs +0 -4
- package/chunks/gl-D6QboaPF.mjs +0 -4
- package/chunks/gm-DBMaPUVF.mjs +0 -4
- package/chunks/gn-CgBEf8H_.mjs +0 -4
- package/chunks/gp-CzgFkpC6.mjs +0 -4
- package/chunks/gq-Bnsg80y2.mjs +0 -4
- package/chunks/gr-BZRM9aE0.mjs +0 -4
- package/chunks/gt-BUUDyd82.mjs +0 -4
- package/chunks/gu-TRJAAUWQ.mjs +0 -4
- package/chunks/gw-D9LrzBrV.mjs +0 -4
- package/chunks/gy-DH746QP0.mjs +0 -4
- package/chunks/hk-JPHzGR1f.mjs +0 -4
- package/chunks/hn-tQE5mLlb.mjs +0 -4
- package/chunks/hr-BdLlK8MT.mjs +0 -4
- package/chunks/ht-efkMBTm5.mjs +0 -4
- package/chunks/hu-BQqGjm3B.mjs +0 -4
- package/chunks/id-DaJrUhdH.mjs +0 -4
- package/chunks/ie-BNbUpzRG.mjs +0 -4
- package/chunks/il-Cg79KHAv.mjs +0 -4
- package/chunks/im-Djx9n3WT.mjs +0 -4
- package/chunks/in-B43LtLH-.mjs +0 -4
- package/chunks/input-group-CjmHKUSw.mjs +0 -48
- package/chunks/invalid-feedback.styles-BAfKyqM0.mjs +0 -5
- package/chunks/io-BnYRzBj3.mjs +0 -4
- package/chunks/iq-DUn1QbRL.mjs +0 -4
- package/chunks/ir-DlyfLEkf.mjs +0 -4
- package/chunks/is-DQ_bn71q.mjs +0 -4
- package/chunks/it-BfPMagQk.mjs +0 -4
- package/chunks/je-BLm9fJmW.mjs +0 -4
- package/chunks/jm-CxLVl0Ry.mjs +0 -4
- package/chunks/jo-Cfupva0T.mjs +0 -4
- package/chunks/jp-iR_5eVnk.mjs +0 -4
- package/chunks/ke-QUXFhgYU.mjs +0 -4
- package/chunks/kg-C0ssUmgN.mjs +0 -4
- package/chunks/kh-9A3QNvDB.mjs +0 -4
- package/chunks/ki-bFdICXHj.mjs +0 -4
- package/chunks/km-CYuiTVlZ.mjs +0 -4
- package/chunks/kn-fqURi7WO.mjs +0 -4
- package/chunks/kp-B9J1sdkG.mjs +0 -4
- package/chunks/kr-hrrgo3DJ.mjs +0 -4
- package/chunks/kw-CsK5t1uI.mjs +0 -4
- package/chunks/ky-CIIoXV1x.mjs +0 -4
- package/chunks/kz-Q6lWH-Lp.mjs +0 -4
- package/chunks/la-BqrIQzV5.mjs +0 -4
- package/chunks/lb-f1wH5q4z.mjs +0 -4
- package/chunks/lc-DiPjKtKA.mjs +0 -4
- package/chunks/li-CC9A-Eoo.mjs +0 -4
- package/chunks/lk-DBBVyq9z.mjs +0 -4
- package/chunks/lr-CYmj0qzD.mjs +0 -4
- package/chunks/ls-5eFpOHA5.mjs +0 -4
- package/chunks/lt-DuXsTfKz.mjs +0 -4
- package/chunks/lu-l81BU1X-.mjs +0 -4
- package/chunks/lv-pBWGmb6y.mjs +0 -4
- package/chunks/ly-rQGukqgk.mjs +0 -4
- package/chunks/ma-D3s8fhJY.mjs +0 -4
- package/chunks/mc-C2UgSKD0.mjs +0 -4
- package/chunks/md-Bn-lDZyQ.mjs +0 -4
- package/chunks/me-CTM23YkQ.mjs +0 -4
- package/chunks/metadata-loaders.generated-BOHjz7Pm.mjs +0 -250
- package/chunks/mf-Dw6W2U1G.mjs +0 -4
- package/chunks/mg-BvSTuxdV.mjs +0 -4
- package/chunks/mh-DlNbre6t.mjs +0 -4
- package/chunks/mk-CMQgOxwU.mjs +0 -4
- package/chunks/ml-Dr5P0Yo_.mjs +0 -4
- package/chunks/mm-C6vWhwqu.mjs +0 -4
- package/chunks/mn-D3Xmr6k_.mjs +0 -4
- package/chunks/mo-BieTAs8C.mjs +0 -4
- package/chunks/mp-CkOXp1Ru.mjs +0 -4
- package/chunks/mq-Cjhq-UJo.mjs +0 -4
- package/chunks/mr-Dnfbj6zJ.mjs +0 -4
- package/chunks/ms-CTQctbcy.mjs +0 -4
- package/chunks/mt-CU4E0kx5.mjs +0 -4
- package/chunks/mu-D-VsOyS8.mjs +0 -4
- package/chunks/mv-BLAL7NFA.mjs +0 -4
- package/chunks/mw-v7uw9vtP.mjs +0 -4
- package/chunks/mx-eDyMiM1l.mjs +0 -4
- package/chunks/my-DZwL-5pY.mjs +0 -4
- package/chunks/mz-CUtVhMFS.mjs +0 -4
- package/chunks/na-BY29xZvs.mjs +0 -4
- package/chunks/nc-DeEXGMmA.mjs +0 -4
- package/chunks/ne-CLxU921A.mjs +0 -4
- package/chunks/nf-D_JOkQkl.mjs +0 -4
- package/chunks/ng-CR5xUr0F.mjs +0 -4
- package/chunks/ni-C15mTV4Y.mjs +0 -4
- package/chunks/nl-CLg7nWke.mjs +0 -4
- package/chunks/no-D56_k2KF.mjs +0 -4
- package/chunks/np-BAP7jy8o.mjs +0 -4
- package/chunks/nr-VKzWyaNU.mjs +0 -4
- package/chunks/nu-D3XZHNZP.mjs +0 -4
- package/chunks/nz-BdvILa2x.mjs +0 -4
- package/chunks/om-BuPCo8qp.mjs +0 -4
- package/chunks/overlay-kT0nfzL-.mjs +0 -275
- package/chunks/pa-CyYPeQbr.mjs +0 -4
- package/chunks/pagination-DgDp3v3u.mjs +0 -184
- package/chunks/pe-B-P9yq9y.mjs +0 -4
- package/chunks/pf-BEygN2Xk.mjs +0 -4
- package/chunks/pg-BbFUBN-z.mjs +0 -4
- package/chunks/ph-BwijTsiw.mjs +0 -4
- package/chunks/pk-DyS4XqKp.mjs +0 -4
- package/chunks/pl-Bs4VwV81.mjs +0 -4
- package/chunks/pm-DLEa5i47.mjs +0 -4
- package/chunks/pr-BWsOEP9w.mjs +0 -4
- package/chunks/ps-B_qECKr4.mjs +0 -4
- package/chunks/pt-C2_djybD.mjs +0 -4
- package/chunks/pw-D_NY3JPr.mjs +0 -4
- package/chunks/py-CndItMw9.mjs +0 -4
- package/chunks/qa-CD1uNFb9.mjs +0 -4
- package/chunks/radio-BO6g4B91.mjs +0 -260
- package/chunks/re-BW_tVnq3.mjs +0 -4
- package/chunks/ro-1-zfxYpt.mjs +0 -4
- package/chunks/rs-BoYWG9vg.mjs +0 -4
- package/chunks/ru-CYVEtP_y.mjs +0 -4
- package/chunks/rw-Bg3jblyd.mjs +0 -4
- package/chunks/sa-B69Q0suF.mjs +0 -4
- package/chunks/sb-BsEiWQfb.mjs +0 -4
- package/chunks/sc-DbArtz_B.mjs +0 -4
- package/chunks/scheduler-core-CoFpfrl5.mjs +0 -867
- package/chunks/sd-BBHgjmhj.mjs +0 -4
- package/chunks/se-BIv2B636.mjs +0 -4
- package/chunks/select-R-96AksV.mjs +0 -295
- package/chunks/sg-C5hxvYqk.mjs +0 -4
- package/chunks/sh-HM3W4hDH.mjs +0 -4
- package/chunks/si-DP1aBcfC.mjs +0 -4
- package/chunks/sj-BW7y-uq5.mjs +0 -4
- package/chunks/sk-i105Khwu.mjs +0 -4
- package/chunks/sl-Di2GF_yv.mjs +0 -4
- package/chunks/sm-CBa0TK4H.mjs +0 -4
- package/chunks/sn-DUHpXra8.mjs +0 -4
- package/chunks/so-BNbpnsu-.mjs +0 -4
- package/chunks/splitter-ByLyrd5H.mjs +0 -436
- package/chunks/sr-ao-a5_9y.mjs +0 -4
- package/chunks/ss-DcnzauNo.mjs +0 -4
- package/chunks/st-UM_GVNxZ.mjs +0 -4
- package/chunks/sv-DGf1zbvG.mjs +0 -4
- package/chunks/swiper-core-kwEab-Zw.mjs +0 -145
- package/chunks/sx-BswzV8CI.mjs +0 -4
- package/chunks/sy-9m1S8Kc1.mjs +0 -4
- package/chunks/sz-D85TIkXG.mjs +0 -4
- package/chunks/tab-control-CW53taeE.mjs +0 -202
- package/chunks/tc-C7PcDjFx.mjs +0 -4
- package/chunks/td-BPQVoqMT.mjs +0 -4
- package/chunks/tg-BrHdehFU.mjs +0 -4
- package/chunks/th-Dy_pGi_n.mjs +0 -4
- package/chunks/timeline-core-B9Lu8Qq4.mjs +0 -15
- package/chunks/timepicker-LaSAPnxw.mjs +0 -326
- package/chunks/tj-DMpkq8L_.mjs +0 -4
- package/chunks/tk-BnQPtoCZ.mjs +0 -4
- package/chunks/tl-ogyf_25A.mjs +0 -4
- package/chunks/tm-ftTOaKfg.mjs +0 -4
- package/chunks/tn-DH-O9SRy.mjs +0 -4
- package/chunks/to-CDqWnE6l.mjs +0 -4
- package/chunks/tr-CRzwaC_7.mjs +0 -4
- package/chunks/treeview-BuznGbcj.mjs +0 -302
- package/chunks/tt-CddKczAn.mjs +0 -4
- package/chunks/tv-b-Y36_Oq.mjs +0 -4
- package/chunks/tw-BbdD_Tku.mjs +0 -4
- package/chunks/tz-Det_pKDO.mjs +0 -4
- package/chunks/ua-CdODx9f1.mjs +0 -4
- package/chunks/ug-CTIJi1Jn.mjs +0 -4
- package/chunks/us-Dsgn127D.mjs +0 -4
- package/chunks/uy-CtFb0Nfv.mjs +0 -4
- package/chunks/uz-CqlGrq2Q.mjs +0 -4
- package/chunks/va-C-PHbkgG.mjs +0 -4
- package/chunks/vc-CtVMqDKl.mjs +0 -4
- package/chunks/ve-CBHWNLnB.mjs +0 -4
- package/chunks/vg-BN0gTtPV.mjs +0 -4
- package/chunks/vi-D91NT7D5.mjs +0 -4
- package/chunks/vn-Dz72HCr4.mjs +0 -4
- package/chunks/vu-Cmk5qbSr.mjs +0 -4
- package/chunks/wf-DAPtyg32.mjs +0 -4
- package/chunks/ws-es9JGzNi.mjs +0 -4
- package/chunks/xk-st-Xu64D.mjs +0 -4
- package/chunks/ye-Dmo8XEYa.mjs +0 -4
- package/chunks/yt-CNEu1wkH.mjs +0 -4
- package/chunks/za-CiZ4NsPE.mjs +0 -4
- package/chunks/zm-DqQAAfzp.mjs +0 -4
- package/chunks/zw-BIGE1hob.mjs +0 -4
- package/code-snippet/src/core/highlighter.d.ts +0 -39
- package/code-snippet/src/core/split-lines.d.ts +0 -44
- package/code-snippet/src/hljs-loaders.generated.d.ts +0 -14
- package/code-snippet/src/mp-code-snippet.element.d.ts +0 -223
- package/code-snippet/src/styles/code-snippet.styles.d.ts +0 -2
- package/code-snippet/src/styles/index.d.ts +0 -1
- package/code-snippet/src/types/code-line-annotation.d.ts +0 -29
- package/code-snippet/src/types/index.d.ts +0 -1
- package/datatable/src/components/column-resize.d.ts +0 -33
- package/datatable/src/components/index.d.ts +0 -2
- package/datatable/src/components/mp-datatable.d.ts +0 -992
- package/datatable/src/sort/compute-next-sort.d.ts +0 -18
- package/datatable/src/sort/index.d.ts +0 -3
- package/datatable/src/sort/sort-rows.d.ts +0 -6
- package/datatable/src/styles/datatable.light.styles.d.ts +0 -2
- package/datatable/src/styles/index.d.ts +0 -1
- package/datatable/src/types/column-def.d.ts +0 -114
- package/datatable/src/types/filter.d.ts +0 -138
- package/datatable/src/types/index.d.ts +0 -5
- package/datatable/src/types/labels.d.ts +0 -116
- package/datatable/src/types/tree.d.ts +0 -59
- package/datepicker/src/mp-datepicker.element.d.ts +0 -124
- package/datepicker/src/mp-datepicker.element.template.d.ts +0 -2
- package/datetime-picker/src/mp-datetime-picker.element.d.ts +0 -243
- package/datetime-picker/src/mp-datetime-picker.element.template.d.ts +0 -2
- package/dock/src/components/index.d.ts +0 -1
- package/dock/src/components/mint-dock-manager.element.d.ts +0 -370
- package/dock/src/components/mint-dock-manager.element.template.d.ts +0 -2
- package/dock/src/core/geometry.d.ts +0 -36
- package/dock/src/core/index.d.ts +0 -6
- package/dock/src/core/intersection-sizing.d.ts +0 -83
- package/dock/src/core/layout-tree.d.ts +0 -105
- package/dock/src/core/resize.d.ts +0 -143
- package/dock/src/core/sizes.d.ts +0 -31
- package/dock/src/core/types.d.ts +0 -58
- package/dock/src/types/dock-layout.d.ts +0 -65
- package/dock/src/types/index.d.ts +0 -1
- package/dropdown-menu/src/components/mp-dropdown-element.d.ts +0 -19
- package/dropdown-menu/src/styles/dropdown-menu.styles.d.ts +0 -2
- package/dropdown-menu/src/styles/index.d.ts +0 -1
- package/dropdown-menu/src/types/dropdown.d.ts +0 -20
- package/dropdown-menu/src/types/index.d.ts +0 -1
- package/file-manager/src/components/index.d.ts +0 -2
- package/file-manager/src/components/mp-file-manager.d.ts +0 -345
- package/file-manager/src/styles/file-manager.styles.d.ts +0 -2
- package/file-manager/src/styles/index.d.ts +0 -1
- package/file-manager/src/types/file-system-node.d.ts +0 -24
- package/file-manager/src/types/index.d.ts +0 -3
- package/file-manager/src/types/messages.d.ts +0 -52
- package/flags/README.md +0 -64
- package/flags/index.d.ts +0 -1
- package/flags/index.mjs +0 -1
- package/flags/src/all-flags.d.ts +0 -32
- package/flags/src/all-flags.generated.d.ts +0 -6
- package/flags/src/flag-loaders.generated.d.ts +0 -7
- package/flags/src/index.d.ts +0 -3
- package/flags/src/load-flag.d.ts +0 -13
- package/input-group/src/components/mp-input-group.d.ts +0 -61
- package/input-group/src/styles/index.d.ts +0 -1
- package/input-group/src/styles/input-group.styles.d.ts +0 -2
- package/multi-range/src/mint-multi-range.element.d.ts +0 -125
- package/multi-range/src/mint-multi-range.element.template.d.ts +0 -2
- package/multi-range/src/pointer-geometry.d.ts +0 -31
- package/multi-range/src/types/multi-range-orientation.d.ts +0 -1
- package/navbar/src/components/index.d.ts +0 -4
- package/navbar/src/components/mp-navbar-brand.d.ts +0 -13
- package/navbar/src/components/mp-navbar-dropdown.d.ts +0 -35
- package/navbar/src/components/mp-navbar-element.d.ts +0 -9
- package/navbar/src/components/mp-navbar-item.d.ts +0 -16
- package/navbar/src/components/mp-navbar.d.ts +0 -69
- package/navbar/src/styles/index.d.ts +0 -4
- package/navbar/src/styles/navbar-brand.styles.d.ts +0 -2
- package/navbar/src/styles/navbar-dropdown.styles.d.ts +0 -2
- package/navbar/src/styles/navbar-item.styles.d.ts +0 -2
- package/navbar/src/styles/navbar.styles.d.ts +0 -2
- package/navbar/src/types/index.d.ts +0 -1
- package/navbar/src/types/navbar.d.ts +0 -7
- package/otp-input/src/mint-otp-input.element.d.ts +0 -162
- package/otp-input/src/mint-otp-input.element.template.d.ts +0 -2
- package/otp-input/src/types/otp-input-case.d.ts +0 -1
- package/otp-input/src/types/otp-input-size.d.ts +0 -1
- package/otp-input/src/types/otp-input-type.d.ts +0 -1
- package/overlay/index.d.ts +0 -1
- package/overlay/index.mjs +0 -1
- package/overlay/src/index.d.ts +0 -4
- package/overlay/src/overlay-controller.d.ts +0 -291
- package/overlay/src/overlay-portal.d.ts +0 -53
- package/overlay/src/placement.d.ts +0 -48
- package/phone-core/README.md +0 -57
- package/phone-core/index.d.ts +0 -1
- package/phone-core/index.mjs +0 -120
- package/phone-core/src/countries.d.ts +0 -57
- package/phone-core/src/dial-code.d.ts +0 -30
- package/phone-core/src/index.d.ts +0 -4
- package/phone-core/src/metadata/cc-1.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-20.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-211.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-212.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-213.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-216.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-218.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-220.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-221.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-222.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-223.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-224.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-225.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-226.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-227.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-228.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-229.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-230.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-231.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-232.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-233.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-234.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-235.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-236.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-237.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-238.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-239.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-240.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-241.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-242.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-243.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-244.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-245.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-246.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-247.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-248.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-249.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-250.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-251.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-252.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-253.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-254.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-255.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-256.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-257.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-258.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-260.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-261.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-262.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-263.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-264.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-265.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-266.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-267.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-268.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-269.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-27.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-290.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-291.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-297.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-298.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-299.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-30.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-31.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-32.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-33.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-34.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-350.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-351.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-352.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-353.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-354.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-355.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-356.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-357.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-358.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-359.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-36.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-370.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-371.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-372.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-373.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-374.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-375.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-376.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-377.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-378.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-380.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-381.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-382.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-383.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-385.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-386.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-387.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-389.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-39.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-40.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-41.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-420.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-421.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-423.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-43.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-44.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-45.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-46.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-47.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-48.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-49.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-500.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-501.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-502.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-503.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-504.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-505.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-506.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-507.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-508.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-509.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-51.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-52.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-53.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-54.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-55.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-56.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-57.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-58.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-590.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-591.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-592.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-593.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-594.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-595.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-596.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-597.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-598.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-599.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-60.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-61.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-62.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-63.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-64.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-65.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-66.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-670.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-672.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-673.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-674.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-675.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-676.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-677.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-678.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-679.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-680.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-681.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-682.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-683.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-685.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-686.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-687.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-688.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-689.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-690.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-691.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-692.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-7.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-81.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-82.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-84.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-850.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-852.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-853.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-855.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-856.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-86.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-880.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-886.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-90.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-91.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-92.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-93.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-94.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-95.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-960.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-961.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-962.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-963.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-964.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-965.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-966.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-967.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-968.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-970.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-971.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-972.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-973.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-974.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-975.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-976.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-977.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-98.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-992.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-993.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-994.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-995.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-996.generated.d.ts +0 -3
- package/phone-core/src/metadata/cc-998.generated.d.ts +0 -3
- package/phone-core/src/metadata-loaders.generated.d.ts +0 -15
- package/phone-core/src/validation.d.ts +0 -55
- package/phone-input/src/components/caret.d.ts +0 -25
- package/phone-input/src/components/mp-phone-input.d.ts +0 -158
- package/phone-input/src/components/stack.d.ts +0 -8
- package/phone-input/src/styles/index.d.ts +0 -1
- package/phone-input/src/styles/phone-input.styles.d.ts +0 -2
- package/query-builder/src/context.d.ts +0 -14
- package/query-builder/src/dnd/drag-controller.d.ts +0 -73
- package/query-builder/src/model/default-tree.d.ts +0 -7
- package/query-builder/src/model/editor.d.ts +0 -15
- package/query-builder/src/model/errors.d.ts +0 -6
- package/query-builder/src/model/expression.d.ts +0 -22
- package/query-builder/src/model/field-def.d.ts +0 -17
- package/query-builder/src/model/messages.d.ts +0 -26
- package/query-builder/src/model/operator-overrides.d.ts +0 -21
- package/query-builder/src/model/operators.d.ts +0 -8
- package/query-builder/src/model/saved-query.d.ts +0 -6
- package/query-builder/src/model/sort.d.ts +0 -9
- package/query-builder/src/model/tree-ops.d.ts +0 -56
- package/query-builder/src/mp-query-builder.element.d.ts +0 -162
- package/query-builder/src/mp-query-builder.light.styles.d.ts +0 -2
- package/query-builder/src/mp-query-condition.element.d.ts +0 -45
- package/query-builder/src/mp-query-condition.light.styles.d.ts +0 -2
- package/query-builder/src/mp-query-group.element.d.ts +0 -52
- package/query-builder/src/mp-query-group.light.styles.d.ts +0 -2
- package/query-builder/src/mp-query-subquery.element.d.ts +0 -37
- package/query-builder/src/mp-query-subquery.light.styles.d.ts +0 -2
- package/query-builder/src/preview/render-expression.d.ts +0 -23
- package/query-builder/src/value-editors/builtin-editors.d.ts +0 -6
- package/query-builder/src/visitor/visit-tree.d.ts +0 -29
- package/query-builder/src/visitor/visitor-types.d.ts +0 -15
- package/ribbon/src/core/band-text-color.d.ts +0 -10
- package/ribbon/src/core/key-tip-allocator.d.ts +0 -10
- package/ribbon/src/core/plan-reduce-steps.d.ts +0 -62
- package/ribbon/src/items/index.d.ts +0 -15
- package/ribbon/src/items/mp-ribbon-button.element.d.ts +0 -10
- package/ribbon/src/items/mp-ribbon-checkbox.element.d.ts +0 -11
- package/ribbon/src/items/mp-ribbon-color-picker.element.d.ts +0 -12
- package/ribbon/src/items/mp-ribbon-combobox.element.d.ts +0 -19
- package/ribbon/src/items/mp-ribbon-dropdown-button.element.d.ts +0 -16
- package/ribbon/src/items/mp-ribbon-gallery-item.element.d.ts +0 -15
- package/ribbon/src/items/mp-ribbon-gallery.element.d.ts +0 -11
- package/ribbon/src/items/mp-ribbon-group-button.element.d.ts +0 -18
- package/ribbon/src/items/mp-ribbon-item-base.d.ts +0 -68
- package/ribbon/src/items/mp-ribbon-menu-item.element.d.ts +0 -13
- package/ribbon/src/items/mp-ribbon-menu-separator.element.d.ts +0 -6
- package/ribbon/src/items/mp-ribbon-split-button.element.d.ts +0 -23
- package/ribbon/src/items/mp-ribbon-template-item.element.d.ts +0 -12
- package/ribbon/src/items/mp-ribbon-toggle-button.element.d.ts +0 -12
- package/ribbon/src/mp-quick-access-toolbar.element.d.ts +0 -46
- package/ribbon/src/mp-ribbon-contextual-tab-set.element.d.ts +0 -18
- package/ribbon/src/mp-ribbon-group.element.d.ts +0 -59
- package/ribbon/src/mp-ribbon-tab.element.d.ts +0 -72
- package/ribbon/src/mp-ribbon.element.d.ts +0 -200
- package/ribbon/src/types/ribbon.types.d.ts +0 -4
- package/scheduler/src/components/mp-scheduler.d.ts +0 -877
- package/scheduler/src/drag/drag-manager.d.ts +0 -82
- package/scheduler/src/drag/drag-preview.d.ts +0 -42
- package/scheduler/src/drag/drag-state-machine.d.ts +0 -102
- package/scheduler/src/drag/drag-types.d.ts +0 -104
- package/scheduler/src/drag/index.d.ts +0 -4
- package/scheduler/src/events/index.d.ts +0 -1
- package/scheduler/src/events/scheduler-event-emitter.d.ts +0 -68
- package/scheduler/src/input/index.d.ts +0 -2
- package/scheduler/src/input/input-handler.d.ts +0 -139
- package/scheduler/src/input/pointer-event.d.ts +0 -39
- package/scheduler/src/state/scheduler-state.d.ts +0 -241
- package/scheduler/src/styles/scheduler.styles.d.ts +0 -2
- package/scheduler/src/utils/geometry.d.ts +0 -39
- package/scheduler/src/views/base-view.d.ts +0 -182
- package/scheduler/src/views/day-view.d.ts +0 -31
- package/scheduler/src/views/index.d.ts +0 -6
- package/scheduler/src/views/month-view.d.ts +0 -27
- package/scheduler/src/views/timeline-view.d.ts +0 -191
- package/scheduler/src/views/week-view.d.ts +0 -34
- package/scheduler/src/views/year-view.d.ts +0 -34
- package/scheduler-core/index.d.ts +0 -1
- package/scheduler-core/index.mjs +0 -1
- package/scheduler-core/src/index.d.ts +0 -3
- package/scheduler-core/src/models/drag-state.d.ts +0 -43
- package/scheduler-core/src/models/event.d.ts +0 -115
- package/scheduler-core/src/models/events.d.ts +0 -94
- package/scheduler-core/src/models/index.d.ts +0 -9
- package/scheduler-core/src/models/messages.d.ts +0 -192
- package/scheduler-core/src/models/options.d.ts +0 -165
- package/scheduler-core/src/models/permissions.d.ts +0 -114
- package/scheduler-core/src/models/resource.d.ts +0 -58
- package/scheduler-core/src/models/time-slot.d.ts +0 -46
- package/scheduler-core/src/models/types.d.ts +0 -20
- package/scheduler-core/src/services/date.service.d.ts +0 -194
- package/scheduler-core/src/services/index.d.ts +0 -4
- package/scheduler-core/src/services/position.service.d.ts +0 -35
- package/scheduler-core/src/services/resource.service.d.ts +0 -85
- package/scheduler-core/src/services/timeline.service.d.ts +0 -94
- package/scheduler-core/src/utils/color.d.ts +0 -65
- package/scheduler-core/src/utils/dom.d.ts +0 -54
- package/scheduler-core/src/utils/id.d.ts +0 -16
- package/scheduler-core/src/utils/index.d.ts +0 -3
- package/select/src/components/index.d.ts +0 -2
- package/select/src/components/mp-select.d.ts +0 -178
- package/select/src/styles/index.d.ts +0 -1
- package/select/src/styles/select.styles.d.ts +0 -2
- package/shell/src/styles/index.d.ts +0 -1
- package/shell/src/types/index.d.ts +0 -1
- package/shell/src/types/shell-state.d.ts +0 -8
- package/signature-pad/src/canvas-point.d.ts +0 -26
- package/signature-pad/src/mp-signature-pad.element.d.ts +0 -137
- package/signature-pad/src/mp-signature-pad.element.template.d.ts +0 -2
- package/signature-pad/src/types/signature.d.ts +0 -12
- package/splitter/src/components/index.d.ts +0 -2
- package/splitter/src/components/mp-splitter.d.ts +0 -132
- package/splitter/src/input/index.d.ts +0 -4
- package/splitter/src/input/input-handler.d.ts +0 -36
- package/splitter/src/input/pointer-event.d.ts +0 -9
- package/splitter/src/managers/index.d.ts +0 -3
- package/splitter/src/managers/rescale-panel-sizes.d.ts +0 -14
- package/splitter/src/managers/resize-manager.d.ts +0 -13
- package/splitter/src/state/index.d.ts +0 -2
- package/splitter/src/state/splitter-state.d.ts +0 -33
- package/splitter/src/styles/index.d.ts +0 -1
- package/splitter/src/styles/splitter.styles.d.ts +0 -2
- package/splitter/src/types/direction.d.ts +0 -1
- package/splitter/src/types/index.d.ts +0 -5
- package/splitter/src/types/panel-info.d.ts +0 -6
- package/splitter/src/types/point.d.ts +0 -4
- package/splitter/src/types/resize-operation.d.ts +0 -13
- package/swiper-core/index.d.ts +0 -1
- package/swiper-core/index.mjs +0 -1
- package/swiper-core/src/index-machine.d.ts +0 -59
- package/swiper-core/src/index.d.ts +0 -4
- package/swiper-core/src/keymap.d.ts +0 -2
- package/swiper-core/src/models/index.d.ts +0 -1
- package/swiper-core/src/models/types.d.ts +0 -99
- package/swiper-core/src/pointer-arbiter.d.ts +0 -45
- package/theming/src/components/mp-theme-toggle.d.ts +0 -71
- package/theming/src/cookie.d.ts +0 -31
- package/theming/src/preboot.d.ts +0 -1
- package/theming/src/resolve.d.ts +0 -36
- package/theming/src/store.d.ts +0 -27
- package/theming/src/styles/theme-toggle.styles.d.ts +0 -2
- package/theming/src/testing/fake-broadcast-channel.d.ts +0 -35
- package/theming/src/toggle-modes.d.ts +0 -23
- package/timeline/src/components/index.d.ts +0 -2
- package/timeline/src/components/mp-timeline-item.d.ts +0 -63
- package/timeline/src/components/mp-timeline.d.ts +0 -134
- package/timeline/src/styles/index.d.ts +0 -2
- package/timeline/src/styles/timeline-item.styles.d.ts +0 -2
- package/timeline/src/styles/timeline.styles.d.ts +0 -2
- package/timeline-core/index.d.ts +0 -1
- package/timeline-core/index.mjs +0 -1
- package/timeline-core/src/index.d.ts +0 -2
- package/timeline-core/src/models/context.d.ts +0 -39
- package/timeline-core/src/models/index.d.ts +0 -2
- package/timeline-core/src/models/timeline-item.d.ts +0 -44
- package/timeline-core/src/resolve-sides.d.ts +0 -12
- package/timepicker/src/mp-time-list.element.d.ts +0 -148
- package/timepicker/src/mp-time-list.element.template.d.ts +0 -2
- package/timepicker/src/mp-timepicker.element.d.ts +0 -124
- package/timepicker/src/mp-timepicker.element.template.d.ts +0 -2
- package/tree-select/src/components/index.d.ts +0 -2
- package/tree-select/src/components/mp-tree-select.d.ts +0 -170
- package/tree-select/src/providers/in-memory-provider.d.ts +0 -29
- package/tree-select/src/styles/index.d.ts +0 -1
- package/tree-select/src/styles/tree-select.light.styles.d.ts +0 -2
- package/tree-select/src/types/index.d.ts +0 -1
- package/tree-select/src/types/tree-select.d.ts +0 -51
- package/treeview/src/components/index.d.ts +0 -2
- package/treeview/src/components/mp-treeview.d.ts +0 -124
- package/treeview/src/styles/index.d.ts +0 -1
- package/treeview/src/styles/treeview.light.styles.d.ts +0 -2
- package/treeview/src/types/index.d.ts +0 -1
- package/treeview/src/types/tree-node.d.ts +0 -14
package/ribbon/index.mjs
CHANGED
|
@@ -1,2807 +1,1566 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { ContentQuery as e, CoreController as t, LightChildren as n, booleanAttribute as r, notifyContentChange as i, numberAttribute as a, props as o, stringAttribute as s } from "../machine/index.mjs";
|
|
2
|
+
import { LitElement as c, html as l, nothing as u } from "lit";
|
|
3
|
+
import { installLightStyles as d } from "@mintplayer/ui-core/scoped-styles";
|
|
4
|
+
import { repeat as f } from "lit/directives/repeat.js";
|
|
5
|
+
import { styleMap as p } from "lit/directives/style-map.js";
|
|
6
|
+
import { RIBBON_LABELS as ee, bandTextColor as m, quickAccessToolbarCore as te, ribbonButtonCore as h, ribbonCheckBoxCore as g, ribbonColorPickerCore as _, ribbonComboBoxCore as v, ribbonContextualTabSetCore as y, ribbonCore as b, ribbonDropdownButtonCore as x, ribbonGalleryCore as ne, ribbonGalleryItemCore as S, ribbonGroupButtonCore as C, ribbonGroupCore as re, ribbonMenuItemCore as ie, ribbonMenuSeparatorCore as ae, ribbonScopedStyles as w, ribbonSplitButtonCore as oe, ribbonTabCore as se, ribbonTemplateItemCore as ce, ribbonToggleButtonCore as le } from "@mintplayer/ui-core/ribbon";
|
|
7
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-tab.view.generated.ts
|
|
8
|
+
function T({ view: e, slots: t = {} }) {
|
|
9
|
+
return l`
|
|
10
|
+
<div data-mps="ribbon" ${o(e.parts.groups)}>
|
|
11
|
+
${t.default === void 0 ? u : t.default}
|
|
12
|
+
</div>
|
|
13
|
+
<button data-mps="ribbon" ${o(e.overflowTrigger)}>
|
|
14
|
+
<span data-mps="ribbon" ${o(e.parts.chevron)}>»</span>
|
|
15
|
+
</button>
|
|
16
|
+
<div data-mps="ribbon" ${o(e.overflowMenu)}>
|
|
17
|
+
${f(e.overflowEntries, (e) => e.key, (t) => l`
|
|
18
|
+
<button data-mps="ribbon" ${o(t.bag)}>
|
|
19
|
+
${t.icon ? l`
|
|
20
|
+
<span data-mps="ribbon" ${o(e.parts.overflowIcon)}>${t.icon}</span>
|
|
21
|
+
` : u}
|
|
22
|
+
<span data-mps="ribbon" ${o(e.parts.overflowLabel)}>${t.label}</span>
|
|
23
|
+
</button>
|
|
24
|
+
`)}
|
|
25
|
+
</div>
|
|
26
|
+
`;
|
|
21
27
|
}
|
|
22
28
|
//#endregion
|
|
23
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
24
|
-
var
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
let { available: t, gap: n, groups: r } = e, i = v(r.map((e) => e.width), n);
|
|
45
|
-
if (i > t) {
|
|
46
|
-
let e = y(r);
|
|
47
|
-
return e === -1 ? null : {
|
|
48
|
-
action: "collapse",
|
|
49
|
-
index: e
|
|
29
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-tab.generated.ts
|
|
30
|
+
var E = class extends c {
|
|
31
|
+
static {
|
|
32
|
+
this.properties = {
|
|
33
|
+
tabId: {
|
|
34
|
+
type: String,
|
|
35
|
+
converter: s(""),
|
|
36
|
+
attribute: "tab-id"
|
|
37
|
+
},
|
|
38
|
+
label: {
|
|
39
|
+
type: String,
|
|
40
|
+
converter: s("")
|
|
41
|
+
},
|
|
42
|
+
idealSizes: { attribute: !1 },
|
|
43
|
+
reduceOrder: { attribute: !1 },
|
|
44
|
+
keyTip: {
|
|
45
|
+
type: String,
|
|
46
|
+
converter: s(null),
|
|
47
|
+
attribute: "key-tip"
|
|
48
|
+
},
|
|
49
|
+
defaultRenderer: { attribute: !1 }
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
#e = new n(this);
|
|
53
|
+
#t = new t(this, se, {
|
|
54
|
+
idPrefix: "mp-ribbon-tab",
|
|
55
|
+
inputs: () => ({
|
|
56
|
+
tabId: this.tabId,
|
|
57
|
+
label: this.label,
|
|
58
|
+
idealSizes: this.idealSizes,
|
|
59
|
+
reduceOrder: this.reduceOrder,
|
|
60
|
+
keyTip: this.keyTip
|
|
61
|
+
}),
|
|
62
|
+
hostBag: (e) => ({
|
|
63
|
+
...e.view.panel,
|
|
64
|
+
"data-mps": "ribbon"
|
|
65
|
+
})
|
|
66
|
+
});
|
|
67
|
+
constructor() {
|
|
68
|
+
super(), this.tabId = "", this.label = "", this.idealSizes = null, this.reduceOrder = null, this.keyTip = null;
|
|
69
|
+
}
|
|
70
|
+
createRenderRoot() {
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
willUpdate() {
|
|
74
|
+
this.#e.capture();
|
|
75
|
+
}
|
|
76
|
+
get contentInputs() {
|
|
77
|
+
return {
|
|
78
|
+
tabId: this.tabId,
|
|
79
|
+
label: this.label,
|
|
80
|
+
idealSizes: this.idealSizes,
|
|
81
|
+
reduceOrder: this.reduceOrder,
|
|
82
|
+
keyTip: this.keyTip
|
|
57
83
|
};
|
|
58
84
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
85
|
+
updated() {
|
|
86
|
+
i(this);
|
|
87
|
+
}
|
|
88
|
+
render() {
|
|
89
|
+
return T({
|
|
90
|
+
...this.#t.props(),
|
|
91
|
+
slots: {
|
|
92
|
+
...this.#e.slots,
|
|
93
|
+
...this.defaultRenderer ? { default: this.defaultRenderer() } : {}
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-tab") || customElements.define("mp-ribbon-tab", E);
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-contextual-tab-set.view.generated.ts
|
|
101
|
+
function D({ root: e, slots: t = {} }) {
|
|
102
|
+
return l`
|
|
103
|
+
${t.default === void 0 ? u : t.default}
|
|
104
|
+
`;
|
|
70
105
|
}
|
|
71
106
|
//#endregion
|
|
72
|
-
//#region libs/mintplayer-web-components/ribbon/src/mp-ribbon.
|
|
73
|
-
var
|
|
107
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-contextual-tab-set.generated.ts
|
|
108
|
+
var O = class extends c {
|
|
74
109
|
static {
|
|
75
|
-
this.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
--bs-ribbon-tabstrip-border: var(--bs-border-color, #d0d0d0);
|
|
90
|
-
--bs-ribbon-tab-idle-color: inherit;
|
|
91
|
-
--bs-ribbon-tab-hover-bg: var(--bs-secondary-bg, #f0f0f0);
|
|
92
|
-
--bs-ribbon-tab-active-bg: transparent;
|
|
93
|
-
--bs-ribbon-tab-active-color: var(--bs-ribbon-app-accent);
|
|
94
|
-
--bs-ribbon-tab-active-indicator-color: var(--bs-ribbon-app-accent);
|
|
95
|
-
--bs-ribbon-tab-active-indicator-width: 2px;
|
|
96
|
-
--bs-ribbon-tab-radius: 0;
|
|
97
|
-
--bs-ribbon-tab-padding: 10px 16px;
|
|
98
|
-
--bs-ribbon-tabpanel-bg: var(--bs-body-bg, #fff);
|
|
99
|
-
--bs-ribbon-group-separator: var(--bs-border-color, #e0e0e0);
|
|
100
|
-
--bs-ribbon-group-separator-inset: 0px;
|
|
101
|
-
--bs-ribbon-group-label-color: var(--bs-secondary-color, #6c757d);
|
|
102
|
-
--bs-ribbon-item-hover-bg: var(--bs-secondary-bg, #e9ecef);
|
|
103
|
-
--bs-ribbon-item-hover-border: var(--bs-border-color, #ced4da);
|
|
104
|
-
--bs-ribbon-item-pressed-bg: var(--bs-secondary-bg, #dee2e6);
|
|
105
|
-
--bs-ribbon-item-radius: 3px;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* ---- Office 2007: glossy blue gradient, honey hover ---- */
|
|
109
|
-
:host([version="office-2007"]) {
|
|
110
|
-
--bs-ribbon-font-family: "Segoe UI", Tahoma, sans-serif;
|
|
111
|
-
--bs-ribbon-container-bg: linear-gradient(#F4F8FD, #DCE7F5);
|
|
112
|
-
--bs-ribbon-container-border: #5C85B6;
|
|
113
|
-
--bs-ribbon-tabstrip-bg: linear-gradient(#C7DEFD, #A4C5F4);
|
|
114
|
-
--bs-ribbon-tabstrip-border: #5C85B6;
|
|
115
|
-
--bs-ribbon-tab-idle-color: #1F3A5F;
|
|
116
|
-
--bs-ribbon-tab-hover-bg: linear-gradient(#FFE8A1, #FFC759);
|
|
117
|
-
--bs-ribbon-tab-active-bg: linear-gradient(#F4F8FD, #DCE7F5);
|
|
118
|
-
--bs-ribbon-tab-active-color: #1F3A5F;
|
|
119
|
-
--bs-ribbon-tab-active-indicator-color: transparent;
|
|
120
|
-
--bs-ribbon-tab-active-indicator-width: 0px;
|
|
121
|
-
--bs-ribbon-tab-radius: 6px 6px 0 0;
|
|
122
|
-
--bs-ribbon-tabpanel-bg: linear-gradient(#F4F8FD, #DCE7F5);
|
|
123
|
-
--bs-ribbon-group-separator: rgba(0, 0, 0, 0.18);
|
|
124
|
-
--bs-ribbon-group-separator-inset: 0px;
|
|
125
|
-
--bs-ribbon-group-label-color: #3B5A82;
|
|
126
|
-
--bs-ribbon-item-hover-bg: linear-gradient(#FFE8A1, #FFC759);
|
|
127
|
-
--bs-ribbon-item-hover-border: #D9A03C;
|
|
128
|
-
--bs-ribbon-item-pressed-bg: linear-gradient(#F5B23A, #E08A1A);
|
|
129
|
-
--bs-ribbon-item-radius: 2px;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
/* ---- Office 2010: neutral silver, soft cream hover ---- */
|
|
133
|
-
:host([version="office-2010"]) {
|
|
134
|
-
--bs-ribbon-font-family: "Segoe UI", Calibri, sans-serif;
|
|
135
|
-
--bs-ribbon-container-bg: #F2F4F6;
|
|
136
|
-
--bs-ribbon-container-border: #B8BDC2;
|
|
137
|
-
--bs-ribbon-tabstrip-bg: linear-gradient(#E8ECEF, #D6DBE0);
|
|
138
|
-
--bs-ribbon-tabstrip-border: #B8BDC2;
|
|
139
|
-
--bs-ribbon-tab-idle-color: #2D2D2D;
|
|
140
|
-
--bs-ribbon-tab-hover-bg: linear-gradient(#FFF6D8, #FFEAB0);
|
|
141
|
-
--bs-ribbon-tab-active-bg: #F2F4F6;
|
|
142
|
-
--bs-ribbon-tab-active-color: #2D2D2D;
|
|
143
|
-
--bs-ribbon-tab-active-indicator-color: transparent;
|
|
144
|
-
--bs-ribbon-tab-active-indicator-width: 0px;
|
|
145
|
-
--bs-ribbon-tab-radius: 0;
|
|
146
|
-
--bs-ribbon-tabpanel-bg: #F2F4F6;
|
|
147
|
-
--bs-ribbon-group-separator: #C8CDD2;
|
|
148
|
-
--bs-ribbon-group-separator-inset: 0px;
|
|
149
|
-
--bs-ribbon-group-label-color: #5E6770;
|
|
150
|
-
--bs-ribbon-item-hover-bg: #FFEFB7;
|
|
151
|
-
--bs-ribbon-item-hover-border: #E8C46A;
|
|
152
|
-
--bs-ribbon-item-pressed-bg: #F5DC8A;
|
|
153
|
-
--bs-ribbon-item-radius: 2px;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/* ---- Office 2013: flat white panel, app-tinted strip ---- */
|
|
157
|
-
:host([version="office-2013"]) {
|
|
158
|
-
--bs-ribbon-app-accent: #2B579A;
|
|
159
|
-
--bs-ribbon-font-family: "Segoe UI", sans-serif;
|
|
160
|
-
--bs-ribbon-container-bg: #FFFFFF;
|
|
161
|
-
--bs-ribbon-container-border: #D2D2D2;
|
|
162
|
-
--bs-ribbon-tabstrip-bg: color-mix(
|
|
163
|
-
in srgb,
|
|
164
|
-
var(--bs-ribbon-app-accent) 18%,
|
|
165
|
-
#FFFFFF
|
|
166
|
-
);
|
|
167
|
-
--bs-ribbon-tabstrip-border: color-mix(
|
|
168
|
-
in srgb,
|
|
169
|
-
var(--bs-ribbon-app-accent) 40%,
|
|
170
|
-
#FFFFFF
|
|
171
|
-
);
|
|
172
|
-
--bs-ribbon-tab-idle-color: #444;
|
|
173
|
-
--bs-ribbon-tab-hover-bg: rgba(0, 0, 0, 0.04);
|
|
174
|
-
--bs-ribbon-tab-active-bg: #FFFFFF;
|
|
175
|
-
--bs-ribbon-tab-active-color: var(--bs-ribbon-app-accent);
|
|
176
|
-
--bs-ribbon-tab-active-indicator-color: transparent;
|
|
177
|
-
--bs-ribbon-tab-active-indicator-width: 0px;
|
|
178
|
-
--bs-ribbon-tab-radius: 0;
|
|
179
|
-
--bs-ribbon-tabpanel-bg: #FFFFFF;
|
|
180
|
-
--bs-ribbon-group-separator: #D2D2D2;
|
|
181
|
-
--bs-ribbon-group-separator-inset: 8px;
|
|
182
|
-
--bs-ribbon-group-label-color: #666;
|
|
183
|
-
--bs-ribbon-item-hover-bg: #EAEAEA;
|
|
184
|
-
--bs-ribbon-item-hover-border: transparent;
|
|
185
|
-
--bs-ribbon-item-pressed-bg: #D6D6D6;
|
|
186
|
-
--bs-ribbon-item-radius: 0;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/* ---- Office 2016: full app-accent strip, white panel ---- */
|
|
190
|
-
:host([version="office-2016"]) {
|
|
191
|
-
--bs-ribbon-app-accent: #2B579A;
|
|
192
|
-
--bs-ribbon-font-family: "Segoe UI", sans-serif;
|
|
193
|
-
--bs-ribbon-container-bg: #FFFFFF;
|
|
194
|
-
--bs-ribbon-container-border: #D2D2D2;
|
|
195
|
-
--bs-ribbon-tabstrip-bg: var(--bs-ribbon-app-accent);
|
|
196
|
-
--bs-ribbon-tabstrip-border: var(--bs-ribbon-app-accent);
|
|
197
|
-
--bs-ribbon-tab-idle-color: rgba(255, 255, 255, 0.85);
|
|
198
|
-
--bs-ribbon-tab-hover-bg: rgba(255, 255, 255, 0.15);
|
|
199
|
-
--bs-ribbon-tab-active-bg: #FFFFFF;
|
|
200
|
-
--bs-ribbon-tab-active-color: var(--bs-ribbon-app-accent);
|
|
201
|
-
--bs-ribbon-tab-active-indicator-color: var(--bs-ribbon-app-accent);
|
|
202
|
-
--bs-ribbon-tab-active-indicator-width: 2px;
|
|
203
|
-
--bs-ribbon-tab-radius: 0;
|
|
204
|
-
--bs-ribbon-tabpanel-bg: #FFFFFF;
|
|
205
|
-
--bs-ribbon-group-separator: #D2D2D2;
|
|
206
|
-
--bs-ribbon-group-separator-inset: 8px;
|
|
207
|
-
--bs-ribbon-group-label-color: #666;
|
|
208
|
-
--bs-ribbon-item-hover-bg: #E6E6E6;
|
|
209
|
-
--bs-ribbon-item-hover-border: transparent;
|
|
210
|
-
--bs-ribbon-item-pressed-bg: #CCCCCC;
|
|
211
|
-
--bs-ribbon-item-radius: 0;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/* ============================================================
|
|
215
|
-
DARK MODE
|
|
216
|
-
office-2013 → "Dark Gray" (Microsoft-shipped)
|
|
217
|
-
office-2016 → "Black" (Microsoft-shipped)
|
|
218
|
-
office-2007 → reconstructed from the original Black colour scheme
|
|
219
|
-
office-2010 → reconstructed from the original Black colour scheme
|
|
220
|
-
Each block exists twice: once for explicit [colorScheme]="dark"
|
|
221
|
-
and once under @media (prefers-color-scheme: dark) for
|
|
222
|
-
[colorScheme]="auto" — keeps cascade specificity equal.
|
|
223
|
-
Each block only sets the tokens that *differ* from its light
|
|
224
|
-
counterpart; same-value tokens (font-family, tab-radius, etc.)
|
|
225
|
-
continue to cascade from the per-version light block.
|
|
226
|
-
============================================================ */
|
|
227
|
-
|
|
228
|
-
/* Office 2007 — Black scheme (reconstructed) */
|
|
229
|
-
:host([color-scheme="dark"][version="office-2007"]) {
|
|
230
|
-
color: rgba(255, 255, 255, 0.87);
|
|
231
|
-
--bs-ribbon-container-bg: linear-gradient(#2B2F38, #1E2024);
|
|
232
|
-
--bs-ribbon-container-border: #15171A;
|
|
233
|
-
--bs-ribbon-tabstrip-bg: linear-gradient(#252830, #15171A);
|
|
234
|
-
--bs-ribbon-tabstrip-border: #15171A;
|
|
235
|
-
--bs-ribbon-tab-idle-color: rgba(255, 255, 255, 0.78);
|
|
236
|
-
--bs-ribbon-tab-hover-bg: #3A3A3A;
|
|
237
|
-
--bs-ribbon-tab-active-bg: linear-gradient(#2B2F38, #1E2024);
|
|
238
|
-
--bs-ribbon-tab-active-color: #FFFFFF;
|
|
239
|
-
--bs-ribbon-tabpanel-bg: linear-gradient(#2B2F38, #1E2024);
|
|
240
|
-
--bs-ribbon-group-separator: rgba(255, 255, 255, 0.10);
|
|
241
|
-
--bs-ribbon-group-label-color: rgba(255, 255, 255, 0.60);
|
|
242
|
-
--bs-ribbon-item-hover-bg: #3F3F3F;
|
|
243
|
-
--bs-ribbon-item-hover-border: rgba(255, 255, 255, 0.15);
|
|
244
|
-
--bs-ribbon-item-pressed-bg: #4A4A4A;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/* Office 2010 — Black scheme (reconstructed) */
|
|
248
|
-
:host([color-scheme="dark"][version="office-2010"]) {
|
|
249
|
-
color: rgba(255, 255, 255, 0.87);
|
|
250
|
-
--bs-ribbon-container-bg: #2A2C2F;
|
|
251
|
-
--bs-ribbon-container-border: #1A1A1A;
|
|
252
|
-
--bs-ribbon-tabstrip-bg: linear-gradient(#34373B, #25282B);
|
|
253
|
-
--bs-ribbon-tabstrip-border: #1A1A1A;
|
|
254
|
-
--bs-ribbon-tab-idle-color: rgba(255, 255, 255, 0.78);
|
|
255
|
-
--bs-ribbon-tab-hover-bg: #3A3A3A;
|
|
256
|
-
--bs-ribbon-tab-active-bg: #2A2C2F;
|
|
257
|
-
--bs-ribbon-tab-active-color: #FFFFFF;
|
|
258
|
-
--bs-ribbon-tabpanel-bg: #2A2C2F;
|
|
259
|
-
--bs-ribbon-group-separator: rgba(255, 255, 255, 0.10);
|
|
260
|
-
--bs-ribbon-group-label-color: rgba(255, 255, 255, 0.60);
|
|
261
|
-
--bs-ribbon-item-hover-bg: #3F3F3F;
|
|
262
|
-
--bs-ribbon-item-hover-border: rgba(255, 255, 255, 0.15);
|
|
263
|
-
--bs-ribbon-item-pressed-bg: #4A4A4A;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/* Office 2016 — Black */
|
|
267
|
-
:host([color-scheme="dark"][version="office-2016"]) {
|
|
268
|
-
color: rgba(255, 255, 255, 0.87);
|
|
269
|
-
--bs-ribbon-container-bg: #262626;
|
|
270
|
-
--bs-ribbon-container-border: #1A1A1A;
|
|
271
|
-
--bs-ribbon-tabstrip-bg: #1F1F1F;
|
|
272
|
-
--bs-ribbon-tabstrip-border: #1A1A1A;
|
|
273
|
-
--bs-ribbon-tab-idle-color: rgba(255, 255, 255, 0.78);
|
|
274
|
-
--bs-ribbon-tab-hover-bg: #3A3A3A;
|
|
275
|
-
--bs-ribbon-tab-active-bg: #363636;
|
|
276
|
-
--bs-ribbon-tab-active-color: #FFFFFF;
|
|
277
|
-
--bs-ribbon-tab-active-indicator-color: var(--bs-ribbon-app-accent-on-dark);
|
|
278
|
-
--bs-ribbon-tabpanel-bg: #363636;
|
|
279
|
-
--bs-ribbon-group-separator: rgba(255, 255, 255, 0.10);
|
|
280
|
-
--bs-ribbon-group-label-color: rgba(255, 255, 255, 0.60);
|
|
281
|
-
--bs-ribbon-item-hover-bg: #3F3F3F;
|
|
282
|
-
--bs-ribbon-item-hover-border: rgba(255, 255, 255, 0.15);
|
|
283
|
-
--bs-ribbon-item-pressed-bg: #4A4A4A;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/* Office 2013 — Dark Gray */
|
|
287
|
-
:host([color-scheme="dark"][version="office-2013"]) {
|
|
288
|
-
color: rgba(255, 255, 255, 0.87);
|
|
289
|
-
--bs-ribbon-container-bg: #444444;
|
|
290
|
-
--bs-ribbon-container-border: #2B2B2B;
|
|
291
|
-
--bs-ribbon-tabstrip-bg: #2B2B2B;
|
|
292
|
-
--bs-ribbon-tabstrip-border: #1F1F1F;
|
|
293
|
-
--bs-ribbon-tab-idle-color: rgba(255, 255, 255, 0.70);
|
|
294
|
-
--bs-ribbon-tab-hover-bg: #525252;
|
|
295
|
-
--bs-ribbon-tab-active-bg: #444444;
|
|
296
|
-
--bs-ribbon-tab-active-color: #FFFFFF;
|
|
297
|
-
--bs-ribbon-tab-active-indicator-color: transparent;
|
|
298
|
-
--bs-ribbon-tabpanel-bg: #444444;
|
|
299
|
-
--bs-ribbon-group-separator: rgba(255, 255, 255, 0.08);
|
|
300
|
-
--bs-ribbon-group-label-color: rgba(255, 255, 255, 0.55);
|
|
301
|
-
--bs-ribbon-item-hover-bg: #5A5A5A;
|
|
302
|
-
--bs-ribbon-item-hover-border: transparent;
|
|
303
|
-
--bs-ribbon-item-pressed-bg: #6A6A6A;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
@media (prefers-color-scheme: dark) {
|
|
307
|
-
:host([color-scheme="auto"][version="office-2007"]) {
|
|
308
|
-
color: rgba(255, 255, 255, 0.87);
|
|
309
|
-
--bs-ribbon-container-bg: linear-gradient(#2B2F38, #1E2024);
|
|
310
|
-
--bs-ribbon-container-border: #15171A;
|
|
311
|
-
--bs-ribbon-tabstrip-bg: linear-gradient(#252830, #15171A);
|
|
312
|
-
--bs-ribbon-tabstrip-border: #15171A;
|
|
313
|
-
--bs-ribbon-tab-idle-color: rgba(255, 255, 255, 0.78);
|
|
314
|
-
--bs-ribbon-tab-hover-bg: #3A3A3A;
|
|
315
|
-
--bs-ribbon-tab-active-bg: linear-gradient(#2B2F38, #1E2024);
|
|
316
|
-
--bs-ribbon-tab-active-color: #FFFFFF;
|
|
317
|
-
--bs-ribbon-tabpanel-bg: linear-gradient(#2B2F38, #1E2024);
|
|
318
|
-
--bs-ribbon-group-separator: rgba(255, 255, 255, 0.10);
|
|
319
|
-
--bs-ribbon-group-label-color: rgba(255, 255, 255, 0.60);
|
|
320
|
-
--bs-ribbon-item-hover-bg: #3F3F3F;
|
|
321
|
-
--bs-ribbon-item-hover-border: rgba(255, 255, 255, 0.15);
|
|
322
|
-
--bs-ribbon-item-pressed-bg: #4A4A4A;
|
|
323
|
-
}
|
|
324
|
-
:host([color-scheme="auto"][version="office-2010"]) {
|
|
325
|
-
color: rgba(255, 255, 255, 0.87);
|
|
326
|
-
--bs-ribbon-container-bg: #2A2C2F;
|
|
327
|
-
--bs-ribbon-container-border: #1A1A1A;
|
|
328
|
-
--bs-ribbon-tabstrip-bg: linear-gradient(#34373B, #25282B);
|
|
329
|
-
--bs-ribbon-tabstrip-border: #1A1A1A;
|
|
330
|
-
--bs-ribbon-tab-idle-color: rgba(255, 255, 255, 0.78);
|
|
331
|
-
--bs-ribbon-tab-hover-bg: #3A3A3A;
|
|
332
|
-
--bs-ribbon-tab-active-bg: #2A2C2F;
|
|
333
|
-
--bs-ribbon-tab-active-color: #FFFFFF;
|
|
334
|
-
--bs-ribbon-tabpanel-bg: #2A2C2F;
|
|
335
|
-
--bs-ribbon-group-separator: rgba(255, 255, 255, 0.10);
|
|
336
|
-
--bs-ribbon-group-label-color: rgba(255, 255, 255, 0.60);
|
|
337
|
-
--bs-ribbon-item-hover-bg: #3F3F3F;
|
|
338
|
-
--bs-ribbon-item-hover-border: rgba(255, 255, 255, 0.15);
|
|
339
|
-
--bs-ribbon-item-pressed-bg: #4A4A4A;
|
|
340
|
-
}
|
|
341
|
-
:host([color-scheme="auto"][version="office-2016"]) {
|
|
342
|
-
color: rgba(255, 255, 255, 0.87);
|
|
343
|
-
--bs-ribbon-container-bg: #262626;
|
|
344
|
-
--bs-ribbon-container-border: #1A1A1A;
|
|
345
|
-
--bs-ribbon-tabstrip-bg: #1F1F1F;
|
|
346
|
-
--bs-ribbon-tabstrip-border: #1A1A1A;
|
|
347
|
-
--bs-ribbon-tab-idle-color: rgba(255, 255, 255, 0.78);
|
|
348
|
-
--bs-ribbon-tab-hover-bg: #3A3A3A;
|
|
349
|
-
--bs-ribbon-tab-active-bg: #363636;
|
|
350
|
-
--bs-ribbon-tab-active-color: #FFFFFF;
|
|
351
|
-
--bs-ribbon-tab-active-indicator-color: var(--bs-ribbon-app-accent-on-dark);
|
|
352
|
-
--bs-ribbon-tabpanel-bg: #363636;
|
|
353
|
-
--bs-ribbon-group-separator: rgba(255, 255, 255, 0.10);
|
|
354
|
-
--bs-ribbon-group-label-color: rgba(255, 255, 255, 0.60);
|
|
355
|
-
--bs-ribbon-item-hover-bg: #3F3F3F;
|
|
356
|
-
--bs-ribbon-item-hover-border: rgba(255, 255, 255, 0.15);
|
|
357
|
-
--bs-ribbon-item-pressed-bg: #4A4A4A;
|
|
358
|
-
}
|
|
359
|
-
:host([color-scheme="auto"][version="office-2013"]) {
|
|
360
|
-
color: rgba(255, 255, 255, 0.87);
|
|
361
|
-
--bs-ribbon-container-bg: #444444;
|
|
362
|
-
--bs-ribbon-container-border: #2B2B2B;
|
|
363
|
-
--bs-ribbon-tabstrip-bg: #2B2B2B;
|
|
364
|
-
--bs-ribbon-tabstrip-border: #1F1F1F;
|
|
365
|
-
--bs-ribbon-tab-idle-color: rgba(255, 255, 255, 0.70);
|
|
366
|
-
--bs-ribbon-tab-hover-bg: #525252;
|
|
367
|
-
--bs-ribbon-tab-active-bg: #444444;
|
|
368
|
-
--bs-ribbon-tab-active-color: #FFFFFF;
|
|
369
|
-
--bs-ribbon-tab-active-indicator-color: transparent;
|
|
370
|
-
--bs-ribbon-tabpanel-bg: #444444;
|
|
371
|
-
--bs-ribbon-group-separator: rgba(255, 255, 255, 0.08);
|
|
372
|
-
--bs-ribbon-group-label-color: rgba(255, 255, 255, 0.55);
|
|
373
|
-
--bs-ribbon-item-hover-bg: #5A5A5A;
|
|
374
|
-
--bs-ribbon-item-hover-border: transparent;
|
|
375
|
-
--bs-ribbon-item-pressed-bg: #6A6A6A;
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/* ============================================================
|
|
380
|
-
TOUCH MODE (FR-37 / FR-38)
|
|
381
|
-
Bumps tab buttons to WCAG-recommended ≥44px tall when the
|
|
382
|
-
primary pointer is coarse (touch / stylus) or when the
|
|
383
|
-
consumer explicitly opts in via [touchMode]="on".
|
|
384
|
-
Item-level bumps live in mp-ribbon-button / -toggle / -checkbox
|
|
385
|
-
/ etc. so each item kind controls its own padding ramp.
|
|
386
|
-
============================================================ */
|
|
387
|
-
:host([touch-mode="on"]) .ribbon-tab,
|
|
388
|
-
:host([touch-mode="on"]) .ribbon-contextual-group-tabs > .ribbon-tab {
|
|
389
|
-
min-height: 44px;
|
|
390
|
-
padding: 12px 18px;
|
|
391
|
-
}
|
|
392
|
-
@media (pointer: coarse) {
|
|
393
|
-
:host([touch-mode="auto"]) .ribbon-tab,
|
|
394
|
-
:host([touch-mode="auto"]) .ribbon-contextual-group-tabs > .ribbon-tab {
|
|
395
|
-
min-height: 44px;
|
|
396
|
-
padding: 12px 18px;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
/* Contextual band: dark mode bypasses the JS-computed luminance
|
|
401
|
-
text rule. Hue is desaturated + darkened so it doesn't punch
|
|
402
|
-
through dark chrome; text is always white. */
|
|
403
|
-
:host([color-scheme="dark"]) .ribbon-contextual-group-band {
|
|
404
|
-
background: color-mix(
|
|
405
|
-
in oklab,
|
|
406
|
-
var(--bs-ribbon-contextual-color) 40%,
|
|
407
|
-
#1F1F1F 60%
|
|
408
|
-
);
|
|
409
|
-
color: #FFFFFF;
|
|
410
|
-
}
|
|
411
|
-
@media (prefers-color-scheme: dark) {
|
|
412
|
-
:host([color-scheme="auto"]) .ribbon-contextual-group-band {
|
|
413
|
-
background: color-mix(
|
|
414
|
-
in oklab,
|
|
415
|
-
var(--bs-ribbon-contextual-color) 40%,
|
|
416
|
-
#1F1F1F 60%
|
|
417
|
-
);
|
|
418
|
-
color: #FFFFFF;
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
.ribbon-container {
|
|
423
|
-
border: 1px solid;
|
|
424
|
-
border-color: var(--bs-ribbon-container-border);
|
|
425
|
-
background: var(--bs-ribbon-container-bg);
|
|
426
|
-
font-family: var(--bs-ribbon-font-family);
|
|
427
|
-
}
|
|
428
|
-
.ribbon-tabstrip {
|
|
429
|
-
/* Wraps the tablist + tell-me so the search box can sit at the
|
|
430
|
-
trailing edge VISUALLY without violating ARIA's role=tablist
|
|
431
|
-
child constraints (axe-core's aria-required-children rule —
|
|
432
|
-
tablist's allowed children are role=tab only). */
|
|
433
|
-
display: flex;
|
|
434
|
-
align-items: flex-end;
|
|
435
|
-
border-bottom: 1px solid;
|
|
436
|
-
border-bottom-color: var(--bs-ribbon-tabstrip-border);
|
|
437
|
-
background: var(--bs-ribbon-tabstrip-bg);
|
|
438
|
-
}
|
|
439
|
-
.ribbon-tablist {
|
|
440
|
-
display: flex;
|
|
441
|
-
align-items: flex-end;
|
|
442
|
-
flex: 1 1 auto;
|
|
443
|
-
min-width: 0;
|
|
444
|
-
overflow-x: auto;
|
|
445
|
-
scrollbar-width: thin;
|
|
446
|
-
}
|
|
447
|
-
.ribbon-tab {
|
|
448
|
-
flex: 0 0 auto;
|
|
449
|
-
}
|
|
450
|
-
/* "Tell Me" slot (FR-24): consumer-projected search/command-palette
|
|
451
|
-
area pinned to the trailing edge of the tab strip. Now a sibling
|
|
452
|
-
of role="tablist", not a child, so the ARIA tree stays clean. */
|
|
453
|
-
.ribbon-tell-me {
|
|
454
|
-
flex: 0 0 auto;
|
|
455
|
-
padding-inline: 6px;
|
|
456
|
-
align-self: center;
|
|
457
|
-
display: flex;
|
|
458
|
-
align-items: center;
|
|
459
|
-
}
|
|
460
|
-
.ribbon-tell-me:empty { display: none; }
|
|
461
|
-
.ribbon-tab {
|
|
462
|
-
padding: var(--bs-ribbon-tab-padding);
|
|
463
|
-
background: transparent;
|
|
464
|
-
border: none;
|
|
465
|
-
border-bottom: var(--bs-ribbon-tab-active-indicator-width) solid
|
|
466
|
-
transparent;
|
|
467
|
-
border-radius: var(--bs-ribbon-tab-radius);
|
|
468
|
-
cursor: pointer;
|
|
469
|
-
font-size: 14px;
|
|
470
|
-
color: var(--bs-ribbon-tab-idle-color);
|
|
471
|
-
transition: background 0.15s ease, color 0.15s ease;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
/* FR-18: honour prefers-reduced-motion. Disable hover/active colour
|
|
475
|
-
transitions on the tab strip + any future animations inside the
|
|
476
|
-
ribbon's shadow root. Slotted item elements (mp-ribbon-button etc.)
|
|
477
|
-
each carry their own reduced-motion block where they introduce
|
|
478
|
-
transitions; today only the tab strip has any. */
|
|
479
|
-
@media (prefers-reduced-motion: reduce) {
|
|
480
|
-
.ribbon-tab,
|
|
481
|
-
.ribbon-tab:hover,
|
|
482
|
-
.ribbon-tab.active {
|
|
483
|
-
transition: none;
|
|
484
|
-
}
|
|
485
|
-
* {
|
|
486
|
-
animation-duration: 0.001ms !important;
|
|
487
|
-
animation-iteration-count: 1 !important;
|
|
488
|
-
transition-duration: 0.001ms !important;
|
|
489
|
-
scroll-behavior: auto !important;
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
.ribbon-tab:hover { background: var(--bs-ribbon-tab-hover-bg); }
|
|
493
|
-
.ribbon-tab.active {
|
|
494
|
-
background: var(--bs-ribbon-tab-active-bg);
|
|
495
|
-
border-bottom-color: var(--bs-ribbon-tab-active-indicator-color);
|
|
496
|
-
color: var(--bs-ribbon-tab-active-color);
|
|
497
|
-
font-weight: 500;
|
|
498
|
-
}
|
|
499
|
-
.ribbon-tab:focus-visible {
|
|
500
|
-
outline: 2px solid var(--bs-ribbon-app-accent);
|
|
501
|
-
outline-offset: -2px;
|
|
502
|
-
}
|
|
503
|
-
.ribbon-content {
|
|
504
|
-
padding: 0;
|
|
505
|
-
background: var(--bs-ribbon-tabpanel-bg);
|
|
506
|
-
overflow: hidden;
|
|
507
|
-
}
|
|
508
|
-
.ribbon-contextual-group {
|
|
509
|
-
display: inline-flex;
|
|
510
|
-
flex-direction: column;
|
|
511
|
-
align-self: flex-end;
|
|
512
|
-
}
|
|
513
|
-
.ribbon-contextual-group-band {
|
|
514
|
-
background: var(--bs-ribbon-contextual-color, #F0AF84);
|
|
515
|
-
color: var(--ribbon-contextual-text, #262626);
|
|
516
|
-
font-size: 11px;
|
|
517
|
-
font-weight: 400;
|
|
518
|
-
line-height: 1.3;
|
|
519
|
-
padding: 5px 12px;
|
|
520
|
-
text-align: center;
|
|
521
|
-
white-space: nowrap;
|
|
522
|
-
}
|
|
523
|
-
.ribbon-contextual-group-tabs {
|
|
524
|
-
display: flex;
|
|
525
|
-
flex-direction: row;
|
|
526
|
-
align-self: stretch;
|
|
527
|
-
}
|
|
528
|
-
.ribbon-contextual-group-tabs > .ribbon-tab {
|
|
529
|
-
flex: 1 0 auto;
|
|
530
|
-
text-align: center;
|
|
531
|
-
justify-content: center;
|
|
532
|
-
}
|
|
533
|
-
/* Contextual tabs no longer need a coloured top-border — the band
|
|
534
|
-
directly above them is the visual indicator. Keeping their layout
|
|
535
|
-
identical to plain tabs avoids the colour from the band appearing
|
|
536
|
-
to bleed 3px down into the tab. */
|
|
537
|
-
|
|
538
|
-
/* KeyTips overlay (FR-12). Position: fixed badges anchored to each
|
|
539
|
-
tab / item via getBoundingClientRect; one shadow-DOM layer renders
|
|
540
|
-
all badges. Office-style yellow tile with a thin border. */
|
|
541
|
-
.keytip-badge {
|
|
542
|
-
position: fixed;
|
|
543
|
-
z-index: 1100;
|
|
544
|
-
min-width: 18px;
|
|
545
|
-
padding: 1px 5px;
|
|
546
|
-
background: #FFFFFF;
|
|
547
|
-
border: 1px solid #919191;
|
|
548
|
-
color: #444;
|
|
549
|
-
font-size: 11px;
|
|
550
|
-
font-family: var(--bs-ribbon-font-family, "Segoe UI", sans-serif);
|
|
551
|
-
font-weight: 600;
|
|
552
|
-
line-height: 1.2;
|
|
553
|
-
text-align: center;
|
|
554
|
-
pointer-events: none;
|
|
555
|
-
box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.15);
|
|
556
|
-
}
|
|
557
|
-
:host([color-scheme="dark"]) .keytip-badge {
|
|
558
|
-
background: #2A2A2A;
|
|
559
|
-
border-color: #6E6E6E;
|
|
560
|
-
color: #F2F2F2;
|
|
561
|
-
}
|
|
562
|
-
@media (prefers-color-scheme: dark) {
|
|
563
|
-
:host([color-scheme="auto"]) .keytip-badge {
|
|
564
|
-
background: #2A2A2A;
|
|
565
|
-
border-color: #6E6E6E;
|
|
566
|
-
color: #F2F2F2;
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
`;
|
|
570
|
-
}
|
|
571
|
-
get tabElements() {
|
|
572
|
-
return Array.from(this.renderRoot.querySelectorAll("[role=\"tab\"]"));
|
|
573
|
-
}
|
|
574
|
-
constructor() {
|
|
575
|
-
super(), this.activeTabId = "", this.tabsList = [], this.contextualSets = [], this.contentSlot = null, this.layout = "classic", this.regionLabel = "Ribbon", this.minimized = !1, this.version = "office-2016", this.colorScheme = "auto", this.touchMode = "auto", this.keyTips = "on", this.keyTipMode = "off", this.keyTipBadges = [], this.currentTabIndex = 0, this.reflowFrame = 0, this.naturalWidths = /* @__PURE__ */ new WeakMap(), this.liveAnnouncer = new e(this), this.collapsedGroupLabels = /* @__PURE__ */ new WeakMap(), this.previousCollapsedGroups = /* @__PURE__ */ new Set(), this.contextualSetHiddenState = /* @__PURE__ */ new Map(), this.appliedReduceSteps = /* @__PURE__ */ new WeakMap(), this.originalItemSizes = /* @__PURE__ */ new WeakMap(), this.lastAppliedRegionLabel = null, this.altPressed = !1, this.altUsedForCombo = !1, this.onKeyTipKeyDown = (e) => {
|
|
576
|
-
if (this.keyTips === "on") {
|
|
577
|
-
if (e.key === "Alt" && !e.repeat) this.altPressed = !0, this.altUsedForCombo = !1;
|
|
578
|
-
else if (e.altKey && e.key !== "Alt") this.altUsedForCombo = !0;
|
|
579
|
-
else if (this.keyTipMode !== "off") {
|
|
580
|
-
if (e.key === "Escape") e.preventDefault(), this.keyTipMode === "items" ? this.openKeyTipsTabsLevel() : this.closeKeyTips();
|
|
581
|
-
else if (e.key.length === 1) {
|
|
582
|
-
let t = e.key.toUpperCase(), n = this.keyTipBadges.find((e) => e.tip === t);
|
|
583
|
-
if (!n) return;
|
|
584
|
-
if (e.preventDefault(), this.keyTipMode === "tabs") {
|
|
585
|
-
let e = n.target.getAttribute("data-tab-id");
|
|
586
|
-
e && this.selectTab(e), this.openKeyTipsItemsLevel();
|
|
587
|
-
} else this.activateKeyTipTarget(n.target), this.closeKeyTips();
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
}, this.onKeyTipKeyUp = (e) => {
|
|
592
|
-
if (this.keyTips === "on" && e.key === "Alt") {
|
|
593
|
-
if (this.altPressed = !1, this.altUsedForCombo) {
|
|
594
|
-
this.altUsedForCombo = !1;
|
|
595
|
-
return;
|
|
596
|
-
}
|
|
597
|
-
e.preventDefault(), this.keyTipMode === "off" ? this.openKeyTipsTabsLevel() : this.closeKeyTips();
|
|
598
|
-
}
|
|
599
|
-
}, this.onHostKeyDown = (e) => {
|
|
600
|
-
if (e.ctrlKey && e.key === "F1") e.preventDefault(), this.toggleMinimizedFromUser();
|
|
601
|
-
else if (e.ctrlKey && (e.key === "ArrowLeft" || e.key === "ArrowRight")) {
|
|
602
|
-
let t = e.composedPath();
|
|
603
|
-
if (t.some((e) => e instanceof HTMLElement && e.getAttribute("role") === "tab")) return;
|
|
604
|
-
let n = t.find((e) => e instanceof HTMLElement && e.tagName === "MP-RIBBON-GROUP");
|
|
605
|
-
if (n) {
|
|
606
|
-
let t = getComputedStyle(this).direction !== "rtl", r = e.key === "ArrowRight" === t ? 1 : -1;
|
|
607
|
-
this.moveFocusBetweenGroups(n, r) && e.preventDefault();
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
}, this.onContextualVisibilityChange = (e) => {
|
|
611
|
-
let t = e.detail;
|
|
612
|
-
if (t?.label) {
|
|
613
|
-
let e = this.contextualSetHiddenState.get(t.label);
|
|
614
|
-
e !== void 0 && e !== t.hidden && this.liveAnnouncer.announce(t.hidden ? `${t.label}, contextual, hidden` : `${t.label}, contextual, now available`), this.contextualSetHiddenState.set(t.label, t.hidden);
|
|
615
|
-
}
|
|
616
|
-
this.contentSlot && this.processSlot(this.contentSlot);
|
|
617
|
-
}, this.onSlotChange = (e) => {
|
|
618
|
-
let t = e.target;
|
|
619
|
-
this.contentSlot = t, this.processSlot(t);
|
|
620
|
-
}, this.onTabListKeydown = (e) => {
|
|
621
|
-
let { key: t } = e, n = !1, r = getComputedStyle(this).direction === "rtl";
|
|
622
|
-
switch (t) {
|
|
623
|
-
case "ArrowLeft":
|
|
624
|
-
r ? this.focusNextTab() : this.focusPreviousTab(), n = !0;
|
|
625
|
-
break;
|
|
626
|
-
case "ArrowUp":
|
|
627
|
-
this.focusPreviousTab(), n = !0;
|
|
628
|
-
break;
|
|
629
|
-
case "ArrowRight":
|
|
630
|
-
r ? this.focusPreviousTab() : this.focusNextTab(), n = !0;
|
|
631
|
-
break;
|
|
632
|
-
case "ArrowDown":
|
|
633
|
-
this.focusNextTab(), n = !0;
|
|
634
|
-
break;
|
|
635
|
-
case "Home":
|
|
636
|
-
this.focusTabAt(0), n = !0;
|
|
637
|
-
break;
|
|
638
|
-
case "End":
|
|
639
|
-
this.focusTabAt(this.tabsList.length - 1), n = !0;
|
|
640
|
-
break;
|
|
641
|
-
case "Enter":
|
|
642
|
-
case " ":
|
|
643
|
-
let e = this.tabElements[this.currentTabIndex];
|
|
644
|
-
if (e) {
|
|
645
|
-
let t = e.getAttribute("data-tab-id");
|
|
646
|
-
t && (this.selectTab(t), n = !0);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
n && e.preventDefault();
|
|
110
|
+
this.properties = {
|
|
111
|
+
label: {
|
|
112
|
+
type: String,
|
|
113
|
+
converter: s("")
|
|
114
|
+
},
|
|
115
|
+
color: {
|
|
116
|
+
type: String,
|
|
117
|
+
converter: s("#F0AF84")
|
|
118
|
+
},
|
|
119
|
+
visible: {
|
|
120
|
+
type: Boolean,
|
|
121
|
+
converter: r(!0)
|
|
122
|
+
},
|
|
123
|
+
defaultRenderer: { attribute: !1 }
|
|
650
124
|
};
|
|
651
125
|
}
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
126
|
+
#e = new n(this);
|
|
127
|
+
#t = new t(this, y, {
|
|
128
|
+
idPrefix: "mp-ribbon-contextual-tab-set",
|
|
129
|
+
inputs: () => ({
|
|
130
|
+
label: this.label,
|
|
131
|
+
color: this.color,
|
|
132
|
+
visible: this.visible
|
|
133
|
+
}),
|
|
134
|
+
hostBag: (e) => ({
|
|
135
|
+
...e.root,
|
|
136
|
+
"data-mps": "ribbon"
|
|
137
|
+
})
|
|
138
|
+
});
|
|
139
|
+
constructor() {
|
|
140
|
+
super(), this.label = "", this.color = "#F0AF84", this.visible = !0;
|
|
658
141
|
}
|
|
659
|
-
|
|
660
|
-
|
|
142
|
+
createRenderRoot() {
|
|
143
|
+
return this;
|
|
661
144
|
}
|
|
662
|
-
|
|
663
|
-
this.
|
|
145
|
+
willUpdate() {
|
|
146
|
+
this.#e.capture();
|
|
664
147
|
}
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
148
|
+
get contentInputs() {
|
|
149
|
+
return {
|
|
150
|
+
label: this.label,
|
|
151
|
+
color: this.color,
|
|
152
|
+
visible: this.visible
|
|
153
|
+
};
|
|
669
154
|
}
|
|
670
|
-
|
|
671
|
-
this
|
|
672
|
-
}
|
|
673
|
-
activateKeyTipTarget(e) {
|
|
674
|
-
e.focus(), e.click();
|
|
675
|
-
}
|
|
676
|
-
deriveTabBadges() {
|
|
677
|
-
let e = [], t = /* @__PURE__ */ new Set(), n = this.tabElements;
|
|
678
|
-
for (let r of n) {
|
|
679
|
-
let n = r.getAttribute("data-tab-id") ?? "", i = this.tabsList.find((e) => e.tabId === n)?.element, a = r.getAttribute("data-key-tip") ?? i?.getAttribute("data-key-tip") ?? null, o = _(r.textContent ?? "", a, t), s = r.getBoundingClientRect();
|
|
680
|
-
e.push({
|
|
681
|
-
tip: o,
|
|
682
|
-
target: r,
|
|
683
|
-
rect: {
|
|
684
|
-
left: s.left + 4,
|
|
685
|
-
top: s.bottom - 4
|
|
686
|
-
}
|
|
687
|
-
});
|
|
688
|
-
}
|
|
689
|
-
return e;
|
|
690
|
-
}
|
|
691
|
-
deriveItemBadges() {
|
|
692
|
-
let e = this.tabsList.find((e) => e.tabId === this.activeTabId);
|
|
693
|
-
if (!e) return [];
|
|
694
|
-
let t = this.collectActiveGroups(e.element), n = /* @__PURE__ */ new Set(), r = [];
|
|
695
|
-
for (let e of t) {
|
|
696
|
-
if (e.getAttribute("data-resolved-size") === "popup") {
|
|
697
|
-
let t = e.shadowRoot?.querySelector(".ribbon-popup-trigger");
|
|
698
|
-
if (t) {
|
|
699
|
-
let i = e.getAttribute("data-key-tip"), a = _(e.getAttribute("label") ?? "", i, n), o = t.getBoundingClientRect();
|
|
700
|
-
r.push({
|
|
701
|
-
tip: a,
|
|
702
|
-
target: t,
|
|
703
|
-
rect: {
|
|
704
|
-
left: o.left + 4,
|
|
705
|
-
top: o.bottom - 6
|
|
706
|
-
}
|
|
707
|
-
});
|
|
708
|
-
}
|
|
709
|
-
continue;
|
|
710
|
-
}
|
|
711
|
-
let t = this.collectGroupItems(e);
|
|
712
|
-
for (let e of t) {
|
|
713
|
-
if (e.hasAttribute("disabled")) continue;
|
|
714
|
-
let t = e.getAttribute("data-key-tip"), i = _(e.getAttribute("label") ?? "", t, n), a = e.getBoundingClientRect();
|
|
715
|
-
r.push({
|
|
716
|
-
tip: i,
|
|
717
|
-
target: e,
|
|
718
|
-
rect: {
|
|
719
|
-
left: a.left + 2,
|
|
720
|
-
top: a.bottom - 6
|
|
721
|
-
}
|
|
722
|
-
});
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
return r;
|
|
726
|
-
}
|
|
727
|
-
toggleMinimizedFromUser() {
|
|
728
|
-
this.minimized = !this.minimized, this.dispatchEvent(new CustomEvent("minimize-toggle", {
|
|
729
|
-
detail: { minimized: this.minimized },
|
|
730
|
-
bubbles: !0,
|
|
731
|
-
composed: !0
|
|
732
|
-
}));
|
|
733
|
-
}
|
|
734
|
-
moveFocusBetweenGroups(e, t) {
|
|
735
|
-
let n = this.tabsList.find((e) => e.tabId === this.activeTabId);
|
|
736
|
-
if (!n) return !1;
|
|
737
|
-
let r = this.collectActiveGroups(n.element).filter((e) => e.getAttribute("data-resolved-size") !== "popup" || e.hasAttribute("data-popup-open"));
|
|
738
|
-
if (r.length === 0) return !1;
|
|
739
|
-
let i = r.indexOf(e);
|
|
740
|
-
if (i === -1) return !1;
|
|
741
|
-
let a = i + t;
|
|
742
|
-
if (a < 0 || a >= r.length) return !1;
|
|
743
|
-
let o = this.firstFocusableInGroup(r[a]);
|
|
744
|
-
return o ? (o.focus(), !0) : !1;
|
|
745
|
-
}
|
|
746
|
-
firstFocusableInGroup(e) {
|
|
747
|
-
let t = Array.from(e.querySelectorAll("mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery, mp-ribbon-template-item")).filter((e) => !e.hasAttribute("disabled"));
|
|
748
|
-
return t.length === 0 ? null : t.find((e) => e.getAttribute("tabindex") === "0") ?? t[0];
|
|
749
|
-
}
|
|
750
|
-
updated(e) {
|
|
751
|
-
if (e.has("regionLabel") && this.applyRegionLabel(), !this.activeTabId && this.tabsList.length > 0 && (this.activeTabId = this.tabsList[0].tabId), e.has("activeTabId")) {
|
|
752
|
-
this.applyActiveAttribute();
|
|
753
|
-
let e = this.tabsList.findIndex((e) => e.tabId === this.activeTabId);
|
|
754
|
-
e >= 0 && (this.currentTabIndex = e);
|
|
755
|
-
}
|
|
756
|
-
(e.has("activeTabId") || e.has("minimized")) && this.scheduleReflow(), e.has("minimized") && e.get("minimized") !== void 0 && this.liveAnnouncer.announce(this.minimized ? "Ribbon minimized" : "Ribbon restored"), e.has("layout") && (this.applyLayoutPropagation(), this.scheduleReflow());
|
|
757
|
-
}
|
|
758
|
-
applyLayoutPropagation() {
|
|
759
|
-
let e = this.layout === "simplified" ? "simplified" : "classic", t = this.querySelectorAll("mp-ribbon-tab, mp-ribbon-group, mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery");
|
|
760
|
-
for (let n of Array.from(t)) n.setAttribute("data-ribbon-layout", e);
|
|
761
|
-
let n = this.querySelectorAll("mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery");
|
|
762
|
-
if (this.layout === "simplified") for (let e of Array.from(n)) {
|
|
763
|
-
if (!this.originalItemSizes.has(e)) {
|
|
764
|
-
let t = e.getAttribute("size") ?? "medium";
|
|
765
|
-
this.originalItemSizes.set(e, t);
|
|
766
|
-
}
|
|
767
|
-
e.getAttribute("size") !== "small" && e.setAttribute("size", "small");
|
|
768
|
-
}
|
|
769
|
-
else for (let e of Array.from(n)) {
|
|
770
|
-
let t = this.originalItemSizes.get(e);
|
|
771
|
-
t && e.getAttribute("size") !== t && e.setAttribute("size", t);
|
|
772
|
-
}
|
|
155
|
+
updated() {
|
|
156
|
+
i(this);
|
|
773
157
|
}
|
|
774
158
|
render() {
|
|
775
|
-
return
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
class="ribbon-tablist"
|
|
781
|
-
@keydown="${this.onTabListKeydown}"
|
|
782
|
-
>
|
|
783
|
-
${this.renderTabStripItems()}
|
|
784
|
-
</div>
|
|
785
|
-
<div class="ribbon-tell-me">
|
|
786
|
-
<slot name="tell-me"></slot>
|
|
787
|
-
</div>
|
|
788
|
-
</div>
|
|
789
|
-
|
|
790
|
-
${this.minimized ? a`<div hidden><slot @slotchange="${this.onSlotChange}"></slot></div>` : a`<div
|
|
791
|
-
class="ribbon-content"
|
|
792
|
-
role="tabpanel"
|
|
793
|
-
id="ribbon-active-panel"
|
|
794
|
-
aria-labelledby="ribbon-tab-${this.activeTabId}"
|
|
795
|
-
>
|
|
796
|
-
<slot @slotchange="${this.onSlotChange}"></slot>
|
|
797
|
-
</div>`}
|
|
798
|
-
</div>
|
|
799
|
-
${this.keyTipMode === "off" ? o : this.renderKeyTipOverlay()}
|
|
800
|
-
${this.liveAnnouncer.template()}
|
|
801
|
-
`;
|
|
802
|
-
}
|
|
803
|
-
renderKeyTipOverlay() {
|
|
804
|
-
return a`
|
|
805
|
-
${this.keyTipBadges.map((e) => a`
|
|
806
|
-
<span
|
|
807
|
-
class="keytip-badge"
|
|
808
|
-
style="left: ${e.rect.left}px; top: ${e.rect.top}px;"
|
|
809
|
-
aria-hidden="true"
|
|
810
|
-
>${e.tip}</span>
|
|
811
|
-
`)}
|
|
812
|
-
`;
|
|
813
|
-
}
|
|
814
|
-
renderTabStripItems() {
|
|
815
|
-
let e = [], t = 0;
|
|
816
|
-
for (; t < this.tabsList.length;) {
|
|
817
|
-
let n = this.tabsList[t];
|
|
818
|
-
if (!n.contextualColor || !n.contextualSetLabel) {
|
|
819
|
-
e.push(this.renderTabButton(n, t)), t++;
|
|
820
|
-
continue;
|
|
821
|
-
}
|
|
822
|
-
let r = n.contextualSetLabel, i = n.contextualColor, o = t;
|
|
823
|
-
for (; t < this.tabsList.length && this.tabsList[t].contextualSetLabel === r && this.tabsList[t].contextualColor === i;) t++;
|
|
824
|
-
let s = this.tabsList.slice(o, t), c = `--bs-ribbon-contextual-color: ${i};--ribbon-contextual-text: ${p(i)};`;
|
|
825
|
-
e.push(a`
|
|
826
|
-
<div class="ribbon-contextual-group" style="${c}">
|
|
827
|
-
<div class="ribbon-contextual-group-band">${r}</div>
|
|
828
|
-
<div class="ribbon-contextual-group-tabs">
|
|
829
|
-
${s.map((e, t) => this.renderTabButton(e, o + t))}
|
|
830
|
-
</div>
|
|
831
|
-
</div>
|
|
832
|
-
`);
|
|
833
|
-
}
|
|
834
|
-
return e;
|
|
835
|
-
}
|
|
836
|
-
renderTabButton(e, t) {
|
|
837
|
-
let n = e.tabId === this.activeTabId, r = !!e.contextualColor, i = n ? 0 : -1;
|
|
838
|
-
return a`
|
|
839
|
-
<button
|
|
840
|
-
role="tab"
|
|
841
|
-
id="ribbon-tab-${e.tabId}"
|
|
842
|
-
class="ribbon-tab ${n ? "active" : ""} ${r ? "contextual" : ""}"
|
|
843
|
-
aria-selected="${n}"
|
|
844
|
-
aria-controls="ribbon-active-panel"
|
|
845
|
-
tabindex="${i}"
|
|
846
|
-
data-tab-id="${e.tabId}"
|
|
847
|
-
@click="${() => this.selectTab(e.tabId)}"
|
|
848
|
-
@dblclick="${() => this.toggleMinimizedFromUser()}"
|
|
849
|
-
>${e.label}</button>
|
|
850
|
-
`;
|
|
851
|
-
}
|
|
852
|
-
processSlot(e) {
|
|
853
|
-
let t = [], n = [];
|
|
854
|
-
for (let r of e.assignedElements()) {
|
|
855
|
-
let e = null;
|
|
856
|
-
if (e = r.tagName === "MP-RIBBON-CONTEXTUAL-TAB-SET" ? r : r.querySelector("mp-ribbon-contextual-tab-set"), e) {
|
|
857
|
-
if (e.hasAttribute("hidden") || r.hasAttribute("hidden")) continue;
|
|
858
|
-
let i = e.getAttribute("color") ?? "#5BAEFF", a = e.getAttribute("label") ?? "", o = Array.from(e.querySelectorAll("mp-ribbon-tab")), s = [];
|
|
859
|
-
for (let e of o) {
|
|
860
|
-
let n = e.getAttribute("tab-id") ?? "";
|
|
861
|
-
t.push({
|
|
862
|
-
tabId: n,
|
|
863
|
-
label: e.getAttribute("label") ?? "",
|
|
864
|
-
element: e,
|
|
865
|
-
contextualColor: i,
|
|
866
|
-
contextualSetLabel: a
|
|
867
|
-
}), s.push(n);
|
|
868
|
-
}
|
|
869
|
-
s.length > 0 && n.push({
|
|
870
|
-
label: a,
|
|
871
|
-
color: i,
|
|
872
|
-
tabIds: s
|
|
873
|
-
});
|
|
874
|
-
continue;
|
|
875
|
-
}
|
|
876
|
-
let i = null;
|
|
877
|
-
i = r.tagName === "MP-RIBBON-TAB" ? r : r.querySelector("mp-ribbon-tab"), i && t.push({
|
|
878
|
-
tabId: i.getAttribute("tab-id") ?? "",
|
|
879
|
-
label: i.getAttribute("label") ?? "",
|
|
880
|
-
element: i
|
|
881
|
-
});
|
|
882
|
-
}
|
|
883
|
-
this.tabsList = t, this.contextualSets = n, (!t.some((e) => e.tabId === this.activeTabId) && t.length > 0 || !this.activeTabId && t.length > 0) && (this.activeTabId = t[0].tabId), this.applyActiveAttribute(), this.applyLayoutPropagation(), this.scheduleReflow();
|
|
884
|
-
}
|
|
885
|
-
applyActiveAttribute() {
|
|
886
|
-
for (let e of this.tabsList) e.tabId === this.activeTabId ? e.element.setAttribute("active", "") : e.element.removeAttribute("active");
|
|
887
|
-
}
|
|
888
|
-
selectTab(e) {
|
|
889
|
-
let t = this.activeTabId;
|
|
890
|
-
this.activeTabId = e;
|
|
891
|
-
let n = this.tabsList.findIndex((t) => t.tabId === e);
|
|
892
|
-
n !== -1 && (this.currentTabIndex = n), this.dispatchEvent(new CustomEvent("tab-change", {
|
|
893
|
-
detail: {
|
|
894
|
-
previousTabId: t,
|
|
895
|
-
activeTabId: e
|
|
896
|
-
},
|
|
897
|
-
bubbles: !0,
|
|
898
|
-
composed: !0
|
|
899
|
-
}));
|
|
900
|
-
}
|
|
901
|
-
focusPreviousTab() {
|
|
902
|
-
let e = Math.max(0, this.currentTabIndex - 1);
|
|
903
|
-
this.focusTabAt(e);
|
|
904
|
-
}
|
|
905
|
-
focusNextTab() {
|
|
906
|
-
let e = Math.min(this.tabsList.length - 1, this.currentTabIndex + 1);
|
|
907
|
-
this.focusTabAt(e);
|
|
908
|
-
}
|
|
909
|
-
focusTabAt(e) {
|
|
910
|
-
e >= 0 && e < this.tabElements.length && (this.tabElements[e].focus(), this.currentTabIndex = e);
|
|
911
|
-
}
|
|
912
|
-
scheduleReflow() {
|
|
913
|
-
this.reflowFrame ||= requestAnimationFrame(() => {
|
|
914
|
-
this.reflowFrame = 0, this.reflowOverflow();
|
|
915
|
-
});
|
|
916
|
-
}
|
|
917
|
-
reflowOverflow() {
|
|
918
|
-
if (this.minimized) return;
|
|
919
|
-
let e = this.tabsList.find((e) => e.tabId === this.activeTabId);
|
|
920
|
-
if (!e) return;
|
|
921
|
-
let t = e.element, n = this.collectActiveGroups(t);
|
|
922
|
-
if (n.length === 0) return;
|
|
923
|
-
if (this.layout === "simplified") {
|
|
924
|
-
for (let e of n) e.hasAttribute("data-resolved-size") && e.removeAttribute("data-resolved-size");
|
|
925
|
-
this.diffCollapsedGroupsAndAnnounce(n);
|
|
926
|
-
return;
|
|
927
|
-
}
|
|
928
|
-
for (let e of n) e.getAttribute("data-resolved-size") !== "popup" && this.naturalWidths.set(e, e.offsetWidth);
|
|
929
|
-
let r = t.reduceOrder, i = t.idealSizes;
|
|
930
|
-
if (r && r.length > 0) {
|
|
931
|
-
if (this.applyAuthorReduceOrder(t, n, r, i ?? {})) {
|
|
932
|
-
this.scheduleReflow();
|
|
933
|
-
return;
|
|
159
|
+
return D({
|
|
160
|
+
...this.#t.props(),
|
|
161
|
+
slots: {
|
|
162
|
+
...this.#e.slots,
|
|
163
|
+
...this.defaultRenderer ? { default: this.defaultRenderer() } : {}
|
|
934
164
|
}
|
|
935
|
-
this.diffCollapsedGroupsAndAnnounce(n);
|
|
936
|
-
return;
|
|
937
|
-
}
|
|
938
|
-
let a = t.clientWidth, o = () => ({
|
|
939
|
-
available: a,
|
|
940
|
-
gap: 8,
|
|
941
|
-
groups: n.map((e) => ({
|
|
942
|
-
width: e.offsetWidth,
|
|
943
|
-
naturalWidth: this.naturalWidths.get(e) ?? 0,
|
|
944
|
-
priority: Number(e.getAttribute("priority") ?? "0"),
|
|
945
|
-
autoScale: e.getAttribute("auto-scale") !== "false",
|
|
946
|
-
collapsed: e.getAttribute("data-resolved-size") === "popup"
|
|
947
|
-
}))
|
|
948
|
-
}), s = !1, c = (e) => n.some(() => {
|
|
949
|
-
let t = x(o());
|
|
950
|
-
if (t?.action !== e) return !0;
|
|
951
|
-
let r = n[t.index];
|
|
952
|
-
return e === "collapse" ? r.setAttribute("data-resolved-size", "popup") : r.removeAttribute("data-resolved-size"), s = !0, !1;
|
|
953
165
|
});
|
|
954
|
-
c("collapse"), c("expand"), s ? this.scheduleReflow() : this.diffCollapsedGroupsAndAnnounce(n);
|
|
955
|
-
}
|
|
956
|
-
diffCollapsedGroupsAndAnnounce(e) {
|
|
957
|
-
let t = /* @__PURE__ */ new Set();
|
|
958
|
-
for (let n of e) if (n.getAttribute("data-resolved-size") === "popup") {
|
|
959
|
-
t.add(n);
|
|
960
|
-
let e = n.getAttribute("label") ?? "";
|
|
961
|
-
e && this.collapsedGroupLabels.set(n, e);
|
|
962
|
-
}
|
|
963
|
-
for (let e of t) if (!this.previousCollapsedGroups.has(e)) {
|
|
964
|
-
let t = this.collapsedGroupLabels.get(e) ?? e.getAttribute("label") ?? "";
|
|
965
|
-
t && this.liveAnnouncer.announce(`${t} group collapsed`);
|
|
966
|
-
}
|
|
967
|
-
for (let e of this.previousCollapsedGroups) if (!t.has(e)) {
|
|
968
|
-
let t = this.collapsedGroupLabels.get(e) ?? "";
|
|
969
|
-
t && this.liveAnnouncer.announce(`${t} group expanded`);
|
|
970
|
-
}
|
|
971
|
-
this.previousCollapsedGroups.clear();
|
|
972
|
-
for (let e of t) this.previousCollapsedGroups.add(e);
|
|
973
|
-
}
|
|
974
|
-
applyAuthorReduceOrder(e, t, n, r) {
|
|
975
|
-
let i = e.clientWidth, a = () => v(t.map((e) => e.offsetWidth), 8), o = (e) => t.find((t) => t.getAttribute("group-id") === e) ?? null, s = this.appliedReduceSteps.get(e) ?? 0, c = !1, l = n.length - s;
|
|
976
|
-
for (; a() > i && s < n.length && l-- > 0;) {
|
|
977
|
-
let [e, t] = n[s], i = o(e);
|
|
978
|
-
!i || i.getAttribute("auto-scale") === "false" ? s++ : (this.applyGroupSize(i, t, r), s++, c = !0);
|
|
979
|
-
}
|
|
980
|
-
for (l = s; s > 0 && l-- > 0;) {
|
|
981
|
-
let [e] = n[s - 1], t = o(e);
|
|
982
|
-
if (!t) {
|
|
983
|
-
s--;
|
|
984
|
-
continue;
|
|
985
|
-
}
|
|
986
|
-
let l = C(n, s - 1, e, r), u = C(n, s, e, r);
|
|
987
|
-
if (this.applyGroupSize(t, l, r), a() > i) {
|
|
988
|
-
this.applyGroupSize(t, u, r);
|
|
989
|
-
break;
|
|
990
|
-
}
|
|
991
|
-
s--, c = !0;
|
|
992
|
-
}
|
|
993
|
-
return this.appliedReduceSteps.set(e, s), c;
|
|
994
|
-
}
|
|
995
|
-
applyGroupSize(e, t, n) {
|
|
996
|
-
if (t === "popup") {
|
|
997
|
-
e.setAttribute("data-resolved-size", "popup");
|
|
998
|
-
return;
|
|
999
|
-
}
|
|
1000
|
-
t === "large" ? e.removeAttribute("data-resolved-size") : e.setAttribute("data-resolved-size", t);
|
|
1001
|
-
let r = this.collectGroupItems(e);
|
|
1002
|
-
for (let e of r) {
|
|
1003
|
-
if (!this.originalItemSizes.has(e)) {
|
|
1004
|
-
let t = e.getAttribute("size") ?? "medium";
|
|
1005
|
-
this.originalItemSizes.set(e, t);
|
|
1006
|
-
}
|
|
1007
|
-
let n = w(this.originalItemSizes.get(e), t);
|
|
1008
|
-
e.getAttribute("size") !== n && e.setAttribute("size", n);
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
collectGroupItems(e) {
|
|
1012
|
-
return Array.from(e.querySelectorAll("mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-combobox, mp-ribbon-color-picker, mp-ribbon-group-button, mp-ribbon-split-button, mp-ribbon-dropdown-button, mp-ribbon-gallery"));
|
|
1013
|
-
}
|
|
1014
|
-
collectActiveGroups(e) {
|
|
1015
|
-
let t = e.shadowRoot?.querySelector("slot");
|
|
1016
|
-
if (!t) return [];
|
|
1017
|
-
let n = [];
|
|
1018
|
-
for (let e of t.assignedElements()) {
|
|
1019
|
-
if (e.tagName === "MP-RIBBON-GROUP") {
|
|
1020
|
-
n.push(e);
|
|
1021
|
-
continue;
|
|
1022
|
-
}
|
|
1023
|
-
let t = e.querySelector("mp-ribbon-group");
|
|
1024
|
-
t && n.push(t);
|
|
1025
|
-
}
|
|
1026
|
-
return n;
|
|
1027
166
|
}
|
|
1028
167
|
};
|
|
1029
|
-
|
|
1030
|
-
type: String,
|
|
1031
|
-
attribute: "active-tab-id",
|
|
1032
|
-
reflect: !0
|
|
1033
|
-
})], T.prototype, "activeTabId", void 0), t([l()], T.prototype, "tabsList", void 0), t([l()], T.prototype, "contextualSets", void 0), t([s({
|
|
1034
|
-
type: String,
|
|
1035
|
-
reflect: !0
|
|
1036
|
-
})], T.prototype, "layout", void 0), t([s({
|
|
1037
|
-
type: String,
|
|
1038
|
-
attribute: "region-label"
|
|
1039
|
-
})], T.prototype, "regionLabel", void 0), t([s({ type: Boolean })], T.prototype, "minimized", void 0), t([s({
|
|
1040
|
-
type: String,
|
|
1041
|
-
reflect: !0
|
|
1042
|
-
})], T.prototype, "version", void 0), t([s({
|
|
1043
|
-
type: String,
|
|
1044
|
-
attribute: "color-scheme",
|
|
1045
|
-
reflect: !0
|
|
1046
|
-
})], T.prototype, "colorScheme", void 0), t([s({
|
|
1047
|
-
type: String,
|
|
1048
|
-
attribute: "touch-mode",
|
|
1049
|
-
reflect: !0
|
|
1050
|
-
})], T.prototype, "touchMode", void 0), t([s({
|
|
1051
|
-
type: String,
|
|
1052
|
-
attribute: "key-tips"
|
|
1053
|
-
})], T.prototype, "keyTips", void 0), t([l()], T.prototype, "keyTipMode", void 0), t([l()], T.prototype, "keyTipBadges", void 0), typeof customElements < "u" && !customElements.get("mp-ribbon") && customElements.define("mp-ribbon", T);
|
|
168
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-contextual-tab-set") || customElements.define("mp-ribbon-contextual-tab-set", O);
|
|
1054
169
|
//#endregion
|
|
1055
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
font-size: 11px;
|
|
1091
|
-
opacity: 0.75;
|
|
1092
|
-
margin-inline-end: 4px;
|
|
1093
|
-
white-space: nowrap;
|
|
1094
|
-
}
|
|
1095
|
-
.qat-divider {
|
|
1096
|
-
width: 1px;
|
|
1097
|
-
height: 16px;
|
|
1098
|
-
background: currentColor;
|
|
1099
|
-
opacity: 0.25;
|
|
1100
|
-
margin: 0 4px;
|
|
1101
|
-
}
|
|
1102
|
-
/*
|
|
1103
|
-
* The QAT is a horizontal flex row. Item-base WCs default to
|
|
1104
|
-
* \`:host { display: inline-flex }\`, but their \`[size="small"]\`
|
|
1105
|
-
* variant overrides to \`display: flex; width: 100%\` (intended for
|
|
1106
|
-
* vertical stacking inside a ribbon-group column). In the QAT context
|
|
1107
|
-
* that's wrong: each button would stretch to fill the toolbar. Reset
|
|
1108
|
-
* width here so the QAT keeps its compact horizontal layout regardless
|
|
1109
|
-
* of which item element the consumer slots in. The Angular demo
|
|
1110
|
-
* doesn't hit this because <bs-ribbon-button> wraps the WC in an
|
|
1111
|
-
* inline-flex host, but React/Vue use the WC tags directly.
|
|
1112
|
-
*/
|
|
1113
|
-
::slotted(mp-ribbon-button[size="small"]),
|
|
1114
|
-
::slotted(mp-ribbon-toggle-button[size="small"]),
|
|
1115
|
-
::slotted(mp-ribbon-dropdown-button[size="small"]),
|
|
1116
|
-
::slotted(mp-ribbon-split-button[size="small"]),
|
|
1117
|
-
::slotted(mp-ribbon-checkbox[size="small"]) {
|
|
1118
|
-
width: auto;
|
|
1119
|
-
}
|
|
1120
|
-
@media (pointer: coarse) {
|
|
1121
|
-
:host([touch-mode="auto"]) .qat,
|
|
1122
|
-
:host([touch-mode="on"]) .qat {
|
|
1123
|
-
min-height: 44px;
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
:host([touch-mode="on"]) .qat {
|
|
1127
|
-
min-height: 44px;
|
|
1128
|
-
}
|
|
170
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon.view.generated.ts
|
|
171
|
+
function k({ view: e, slots: t = {} }) {
|
|
172
|
+
return l`
|
|
173
|
+
<div data-mps="ribbon" ${o(e.parts.container)}>
|
|
174
|
+
<div data-mps="ribbon" ${o(e.parts.tabstrip)}>
|
|
175
|
+
<div data-mps="ribbon" ${o(e.tablist)}>
|
|
176
|
+
${f(e.runs, (e) => e.key, (t) => l`
|
|
177
|
+
${t.contextual ? l`
|
|
178
|
+
<div data-mps="ribbon" ${o(t.band)} style=${p(t.bandStyle)}>
|
|
179
|
+
<div data-mps="ribbon" ${o(e.parts.bandLabel)}>${t.label}</div>
|
|
180
|
+
<div data-mps="ribbon" ${o(e.parts.bandTabs)}>
|
|
181
|
+
${f(t.tabs, (e) => e.key, (e) => l`
|
|
182
|
+
<button data-mps="ribbon" ${o(e.bag)}>${e.label}</button>
|
|
183
|
+
`)}
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
` : l`
|
|
187
|
+
${f(t.tabs, (e) => e.key, (e) => l`
|
|
188
|
+
<button data-mps="ribbon" ${o(e.bag)}>${e.label}</button>
|
|
189
|
+
`)}
|
|
190
|
+
`}
|
|
191
|
+
`)}
|
|
192
|
+
</div>
|
|
193
|
+
<div data-mps="ribbon" ${o(e.parts.tellMe)}>
|
|
194
|
+
${t.tellMe === void 0 ? u : t.tellMe}
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
<div data-mps="ribbon" ${o(e.content)}>
|
|
198
|
+
${t.default === void 0 ? u : t.default}
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
${f(e.keyTips, (e) => e.key, (t) => l`
|
|
202
|
+
<span data-mps="ribbon" ${o(e.parts.keyTip)} style=${p(t.style)}>${t.tip}</span>
|
|
203
|
+
`)}
|
|
204
|
+
<div data-mps="ribbon" ${o(e.live)}>${e.announcement}</div>
|
|
1129
205
|
`;
|
|
206
|
+
}
|
|
207
|
+
//#endregion
|
|
208
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon.generated.ts
|
|
209
|
+
var A = class extends c {
|
|
210
|
+
static {
|
|
211
|
+
this.properties = {
|
|
212
|
+
activeTabId: {
|
|
213
|
+
type: String,
|
|
214
|
+
converter: s(""),
|
|
215
|
+
attribute: "active-tab-id"
|
|
216
|
+
},
|
|
217
|
+
layout: {
|
|
218
|
+
type: String,
|
|
219
|
+
converter: s("classic", ["classic", "simplified"])
|
|
220
|
+
},
|
|
221
|
+
minimized: {
|
|
222
|
+
type: Boolean,
|
|
223
|
+
converter: r(!1)
|
|
224
|
+
},
|
|
225
|
+
version: {
|
|
226
|
+
type: String,
|
|
227
|
+
converter: s("office-2016", [
|
|
228
|
+
"office-2007",
|
|
229
|
+
"office-2010",
|
|
230
|
+
"office-2013",
|
|
231
|
+
"office-2016"
|
|
232
|
+
])
|
|
233
|
+
},
|
|
234
|
+
colorScheme: {
|
|
235
|
+
type: String,
|
|
236
|
+
converter: s("auto", [
|
|
237
|
+
"light",
|
|
238
|
+
"dark",
|
|
239
|
+
"auto"
|
|
240
|
+
]),
|
|
241
|
+
attribute: "color-scheme"
|
|
242
|
+
},
|
|
243
|
+
touchMode: {
|
|
244
|
+
type: String,
|
|
245
|
+
converter: s("auto", [
|
|
246
|
+
"on",
|
|
247
|
+
"off",
|
|
248
|
+
"auto"
|
|
249
|
+
]),
|
|
250
|
+
attribute: "touch-mode"
|
|
251
|
+
},
|
|
252
|
+
keyTips: {
|
|
253
|
+
type: String,
|
|
254
|
+
converter: s("on", ["on", "off"]),
|
|
255
|
+
attribute: "key-tips"
|
|
256
|
+
},
|
|
257
|
+
labels: { attribute: !1 },
|
|
258
|
+
defaultRenderer: { attribute: !1 },
|
|
259
|
+
tellMeRenderer: { attribute: !1 }
|
|
260
|
+
};
|
|
1130
261
|
}
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
262
|
+
#e = new n(this);
|
|
263
|
+
#t = new e(this, "mp-ribbon-tab", "mp-ribbon-contextual-tab-set");
|
|
264
|
+
#n = new t(this, b, {
|
|
265
|
+
idPrefix: "mp-ribbon",
|
|
266
|
+
inputs: () => ({
|
|
267
|
+
activeTabId: this.activeTabId,
|
|
268
|
+
layout: this.layout,
|
|
269
|
+
minimized: this.minimized,
|
|
270
|
+
version: this.version,
|
|
271
|
+
colorScheme: this.colorScheme,
|
|
272
|
+
touchMode: this.touchMode,
|
|
273
|
+
keyTips: this.keyTips,
|
|
274
|
+
labels: this.labels,
|
|
275
|
+
tabs: this.#t.value
|
|
276
|
+
}),
|
|
277
|
+
hostBag: (e) => ({
|
|
278
|
+
...e.view.root,
|
|
279
|
+
"data-mps": "ribbon"
|
|
280
|
+
}),
|
|
281
|
+
models: ["activeTabId", "minimized"]
|
|
282
|
+
});
|
|
283
|
+
constructor() {
|
|
284
|
+
super(), this.activeTabId = "", this.layout = "classic", this.minimized = !1, this.version = "office-2016", this.colorScheme = "auto", this.touchMode = "auto", this.keyTips = "on", this.labels = null;
|
|
1136
285
|
}
|
|
1137
|
-
|
|
1138
|
-
|
|
286
|
+
createRenderRoot() {
|
|
287
|
+
return this;
|
|
1139
288
|
}
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
(e === null || e === this.lastAppliedLabel || e === this.label) && (this.setAttribute("aria-label", this.label), this.lastAppliedLabel = this.label);
|
|
289
|
+
willUpdate() {
|
|
290
|
+
this.#e.capture();
|
|
1143
291
|
}
|
|
1144
292
|
render() {
|
|
1145
|
-
return
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
if (!e) return [];
|
|
1154
|
-
let t = [];
|
|
1155
|
-
for (let n of e.assignedElements()) {
|
|
1156
|
-
let e = n.querySelector("mp-ribbon-button, mp-ribbon-toggle-button, mp-ribbon-checkbox, mp-ribbon-split-button, mp-ribbon-dropdown-button") ?? n;
|
|
1157
|
-
e.tagName.startsWith("MP-RIBBON-") && !e.hasAttribute("disabled") && t.push(e);
|
|
1158
|
-
}
|
|
1159
|
-
return t;
|
|
293
|
+
return k({
|
|
294
|
+
...this.#n.props(),
|
|
295
|
+
slots: {
|
|
296
|
+
...this.#e.slots,
|
|
297
|
+
...this.defaultRenderer ? { default: this.defaultRenderer() } : {},
|
|
298
|
+
...this.tellMeRenderer ? { tellMe: this.tellMeRenderer() } : {}
|
|
299
|
+
}
|
|
300
|
+
});
|
|
1160
301
|
}
|
|
1161
302
|
};
|
|
1162
|
-
|
|
1163
|
-
type: String,
|
|
1164
|
-
attribute: "touch-mode",
|
|
1165
|
-
reflect: !0
|
|
1166
|
-
})], E.prototype, "touchMode", void 0), typeof customElements < "u" && !customElements.get("mp-quick-access-toolbar") && customElements.define("mp-quick-access-toolbar", E);
|
|
303
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon") || customElements.define("mp-ribbon", A);
|
|
1167
304
|
//#endregion
|
|
1168
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
305
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-group.view.generated.ts
|
|
306
|
+
function j({ view: e, slots: t = {} }) {
|
|
307
|
+
return l`
|
|
308
|
+
<div data-mps="ribbon" ${o(e.body)}>
|
|
309
|
+
<div data-mps="ribbon" ${o(e.parts.groupItems)}>
|
|
310
|
+
${t.default === void 0 ? u : t.default}
|
|
311
|
+
</div>
|
|
312
|
+
<div data-mps="ribbon" ${o(e.parts.groupFooter)}>
|
|
313
|
+
<span data-mps="ribbon" ${o(e.parts.groupLabel)}>${e.label}</span>
|
|
314
|
+
${e.launcher ? l`
|
|
315
|
+
<button data-mps="ribbon" ${o(e.launcher)}>
|
|
316
|
+
<span data-mps="ribbon" ${o(e.parts.launcherIcon)}>⬘</span>
|
|
317
|
+
</button>
|
|
318
|
+
` : u}
|
|
319
|
+
</div>
|
|
320
|
+
</div>
|
|
321
|
+
<button data-mps="ribbon" ${o(e.trigger)}>
|
|
322
|
+
${e.icon ? l`
|
|
323
|
+
<span data-mps="ribbon" ${o(e.parts.triggerIcon)}>${e.icon}</span>
|
|
324
|
+
` : u}
|
|
325
|
+
<span data-mps="ribbon" ${o(e.parts.triggerLabel)}>${e.label}</span>
|
|
326
|
+
<span data-mps="ribbon" ${o(e.parts.chevron)}>▼</span>
|
|
327
|
+
</button>
|
|
328
|
+
`;
|
|
329
|
+
}
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-group.generated.ts
|
|
332
|
+
var M = class extends c {
|
|
333
|
+
static {
|
|
334
|
+
this.properties = {
|
|
335
|
+
groupId: {
|
|
336
|
+
type: String,
|
|
337
|
+
converter: s(""),
|
|
338
|
+
attribute: "group-id"
|
|
339
|
+
},
|
|
340
|
+
label: {
|
|
341
|
+
type: String,
|
|
342
|
+
converter: s("")
|
|
343
|
+
},
|
|
344
|
+
icon: {
|
|
345
|
+
type: String,
|
|
346
|
+
converter: s("")
|
|
347
|
+
},
|
|
348
|
+
dialogLauncher: {
|
|
349
|
+
type: String,
|
|
350
|
+
converter: s(""),
|
|
351
|
+
attribute: "dialog-launcher"
|
|
352
|
+
},
|
|
353
|
+
priority: {
|
|
354
|
+
type: Number,
|
|
355
|
+
converter: a(0)
|
|
356
|
+
},
|
|
357
|
+
autoScale: {
|
|
358
|
+
type: Boolean,
|
|
359
|
+
converter: r(!0),
|
|
360
|
+
attribute: "auto-scale"
|
|
361
|
+
},
|
|
362
|
+
keyTip: {
|
|
363
|
+
type: String,
|
|
364
|
+
converter: s(null),
|
|
365
|
+
attribute: "key-tip"
|
|
366
|
+
},
|
|
367
|
+
defaultRenderer: { attribute: !1 }
|
|
1180
368
|
};
|
|
1181
369
|
}
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
wouldn't fit at the current width — left visible so horizontal
|
|
1202
|
-
scroll works, but used to compute the chevron's overlay contents. */
|
|
1203
|
-
:host([active][data-ribbon-layout="simplified"]) {
|
|
1204
|
-
overflow-x: auto;
|
|
1205
|
-
scrollbar-width: thin;
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
.overflow-trigger {
|
|
1209
|
-
display: none;
|
|
1210
|
-
align-self: center;
|
|
1211
|
-
flex: 0 0 auto;
|
|
1212
|
-
min-width: 28px;
|
|
1213
|
-
height: 28px;
|
|
1214
|
-
padding: 0 8px;
|
|
1215
|
-
background: var(--bs-ribbon-tabpanel-bg, #fff);
|
|
1216
|
-
border: 1px solid transparent;
|
|
1217
|
-
border-radius: var(--bs-ribbon-item-radius, 3px);
|
|
1218
|
-
color: inherit;
|
|
1219
|
-
font: inherit;
|
|
1220
|
-
font-size: 16px;
|
|
1221
|
-
line-height: 1;
|
|
1222
|
-
cursor: pointer;
|
|
1223
|
-
}
|
|
1224
|
-
:host([data-ribbon-layout="simplified"][data-has-overflow]) .overflow-trigger {
|
|
1225
|
-
display: inline-flex;
|
|
1226
|
-
align-items: center;
|
|
1227
|
-
justify-content: center;
|
|
1228
|
-
/* Pin to the right edge of the scrollable viewport so the chevron
|
|
1229
|
-
is always reachable even while the user has scrolled items past
|
|
1230
|
-
it. inset-inline-end works for both LTR and RTL. */
|
|
1231
|
-
position: sticky;
|
|
1232
|
-
inset-inline-end: 0;
|
|
1233
|
-
margin-inline-start: auto;
|
|
1234
|
-
/* Soft fade so items scrolling past the chevron don't smash
|
|
1235
|
-
straight into its outline. */
|
|
1236
|
-
box-shadow: -8px 0 8px -4px var(--bs-ribbon-tabpanel-bg, #fff);
|
|
1237
|
-
}
|
|
1238
|
-
.overflow-trigger:hover {
|
|
1239
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
1240
|
-
border-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
1241
|
-
}
|
|
1242
|
-
.overflow-trigger:focus-visible {
|
|
1243
|
-
outline: 2px solid var(--bs-ribbon-app-accent, #0d6efd);
|
|
1244
|
-
outline-offset: -2px;
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
.overflow-panel {
|
|
1248
|
-
position: fixed;
|
|
1249
|
-
z-index: 1050;
|
|
1250
|
-
background: var(--bs-ribbon-tabpanel-bg, #fff);
|
|
1251
|
-
color: inherit;
|
|
1252
|
-
border: 1px solid var(--bs-ribbon-container-border, #d0d0d0);
|
|
1253
|
-
border-radius: 4px;
|
|
1254
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
|
|
1255
|
-
padding: 4px 0;
|
|
1256
|
-
display: none;
|
|
1257
|
-
min-width: 200px;
|
|
1258
|
-
max-width: min(360px, calc(100vw - 16px));
|
|
1259
|
-
}
|
|
1260
|
-
:host([data-menu-open]) .overflow-panel { display: block; }
|
|
1261
|
-
|
|
1262
|
-
.overflow-entry {
|
|
1263
|
-
display: flex;
|
|
1264
|
-
align-items: center;
|
|
1265
|
-
gap: 8px;
|
|
1266
|
-
width: 100%;
|
|
1267
|
-
padding: 6px 12px;
|
|
1268
|
-
background: transparent;
|
|
1269
|
-
border: none;
|
|
1270
|
-
cursor: pointer;
|
|
1271
|
-
color: inherit;
|
|
1272
|
-
font: inherit;
|
|
1273
|
-
font-size: 13px;
|
|
1274
|
-
text-align: left;
|
|
1275
|
-
white-space: nowrap;
|
|
1276
|
-
}
|
|
1277
|
-
.overflow-entry:hover,
|
|
1278
|
-
.overflow-entry:focus-visible {
|
|
1279
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
1280
|
-
outline: none;
|
|
1281
|
-
}
|
|
1282
|
-
@media (pointer: coarse) {
|
|
1283
|
-
.overflow-entry { min-height: 44px; }
|
|
1284
|
-
}
|
|
1285
|
-
.overflow-entry-icon {
|
|
1286
|
-
width: 18px;
|
|
1287
|
-
flex: 0 0 auto;
|
|
1288
|
-
text-align: center;
|
|
1289
|
-
}
|
|
1290
|
-
`;
|
|
370
|
+
#e = new n(this);
|
|
371
|
+
#t = new t(this, re, {
|
|
372
|
+
idPrefix: "mp-ribbon-group",
|
|
373
|
+
inputs: () => ({
|
|
374
|
+
groupId: this.groupId,
|
|
375
|
+
label: this.label,
|
|
376
|
+
icon: this.icon,
|
|
377
|
+
dialogLauncher: this.dialogLauncher,
|
|
378
|
+
priority: this.priority,
|
|
379
|
+
autoScale: this.autoScale,
|
|
380
|
+
keyTip: this.keyTip
|
|
381
|
+
}),
|
|
382
|
+
hostBag: (e) => ({
|
|
383
|
+
...e.view.root,
|
|
384
|
+
"data-mps": "ribbon"
|
|
385
|
+
})
|
|
386
|
+
});
|
|
387
|
+
constructor() {
|
|
388
|
+
super(), this.groupId = "", this.label = "", this.icon = "", this.dialogLauncher = "", this.priority = 0, this.autoScale = !0, this.keyTip = null;
|
|
1291
389
|
}
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
}
|
|
1298
|
-
updated(e) {
|
|
1299
|
-
(e.has("reduceOrder") || e.has("idealSizes")) && this.validateReduceOrder(), e.has("active") && this.active && this.scheduleOverflowReflow();
|
|
1300
|
-
}
|
|
1301
|
-
validateReduceOrder() {
|
|
1302
|
-
if (this.reduceOrder.length === 0) return;
|
|
1303
|
-
let e = {
|
|
1304
|
-
large: 3,
|
|
1305
|
-
medium: 2,
|
|
1306
|
-
small: 1,
|
|
1307
|
-
popup: 0
|
|
1308
|
-
}, t = (e) => this.idealSizes[e] ?? "large", n = /* @__PURE__ */ new Map();
|
|
1309
|
-
for (let r = 0; r < this.reduceOrder.length; r++) {
|
|
1310
|
-
let [i, a] = this.reduceOrder[r];
|
|
1311
|
-
if (!(a in e)) {
|
|
1312
|
-
console.warn(`[mp-ribbon-tab "${this.tabId}"] reduceOrder[${r}] has invalid size "${a}". Expected large | medium | small | popup.`);
|
|
1313
|
-
continue;
|
|
1314
|
-
}
|
|
1315
|
-
let o = n.get(i) ?? t(i);
|
|
1316
|
-
e[a] >= e[o] ? console.warn(`[mp-ribbon-tab "${this.tabId}"] reduceOrder[${r}] for "${i}" goes ${o} → ${a}, which is not a reduction. Steps must monotonically decrease size per group.`) : n.set(i, a);
|
|
1317
|
-
}
|
|
390
|
+
createRenderRoot() {
|
|
391
|
+
return this;
|
|
392
|
+
}
|
|
393
|
+
willUpdate() {
|
|
394
|
+
this.#e.capture();
|
|
1318
395
|
}
|
|
1319
396
|
render() {
|
|
1320
|
-
return
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
aria-label="More commands"
|
|
1328
|
-
title="More commands"
|
|
1329
|
-
@click="${this.onOverflowTriggerClick}"
|
|
1330
|
-
>…</button>
|
|
1331
|
-
<div
|
|
1332
|
-
class="overflow-panel"
|
|
1333
|
-
role="menu"
|
|
1334
|
-
aria-label="Overflow commands"
|
|
1335
|
-
>
|
|
1336
|
-
${this.overflowEntries.map((e) => a`
|
|
1337
|
-
<button
|
|
1338
|
-
class="overflow-entry"
|
|
1339
|
-
role="menuitem"
|
|
1340
|
-
type="button"
|
|
1341
|
-
@click="${() => this.activateOverflowEntry(e)}"
|
|
1342
|
-
>
|
|
1343
|
-
${e.icon ? a`<span class="overflow-entry-icon">${e.icon}</span>` : o}
|
|
1344
|
-
<span>${e.label || "(unnamed)"}</span>
|
|
1345
|
-
</button>
|
|
1346
|
-
`)}
|
|
1347
|
-
</div>
|
|
1348
|
-
`;
|
|
1349
|
-
}
|
|
1350
|
-
reflowSimplifiedOverflow() {
|
|
1351
|
-
let e = this.getAttribute("data-ribbon-layout") === "simplified", t = Array.from(this.querySelectorAll("mp-ribbon-group"));
|
|
1352
|
-
if (!e) {
|
|
1353
|
-
for (let e of t) e.removeAttribute("data-overflow-hidden");
|
|
1354
|
-
this.overflowEntries = [], this.removeAttribute("data-has-overflow"), this.overflowOverlay.isOpen && this.overflowOverlay.close(!1);
|
|
1355
|
-
return;
|
|
1356
|
-
}
|
|
1357
|
-
for (let e of t) e.removeAttribute("data-overflow-hidden");
|
|
1358
|
-
let n = this.clientWidth;
|
|
1359
|
-
if (n <= 0 || t.length === 0) {
|
|
1360
|
-
this.overflowEntries = [], this.removeAttribute("data-has-overflow");
|
|
1361
|
-
return;
|
|
1362
|
-
}
|
|
1363
|
-
let r = t.slice(S(t.map((e) => e.offsetWidth), n));
|
|
1364
|
-
for (let e of r) e.setAttribute("data-overflow-hidden", "");
|
|
1365
|
-
let i = [];
|
|
1366
|
-
for (let e of r) {
|
|
1367
|
-
let t = e.querySelectorAll(D);
|
|
1368
|
-
for (let e of Array.from(t)) e.hasAttribute("disabled") || i.push({
|
|
1369
|
-
label: e.getAttribute("label") ?? "",
|
|
1370
|
-
icon: e.getAttribute("icon") ?? "",
|
|
1371
|
-
target: e
|
|
1372
|
-
});
|
|
1373
|
-
}
|
|
1374
|
-
this.overflowEntries = i, i.length > 0 ? this.setAttribute("data-has-overflow", "") : (this.removeAttribute("data-has-overflow"), this.overflowOverlay.isOpen && this.overflowOverlay.close(!1));
|
|
1375
|
-
}
|
|
1376
|
-
activateOverflowEntry(e) {
|
|
1377
|
-
this.overflowOverlay.close(), e.target.click();
|
|
397
|
+
return j({
|
|
398
|
+
...this.#t.props(),
|
|
399
|
+
slots: {
|
|
400
|
+
...this.#e.slots,
|
|
401
|
+
...this.defaultRenderer ? { default: this.defaultRenderer() } : {}
|
|
402
|
+
}
|
|
403
|
+
});
|
|
1378
404
|
}
|
|
1379
405
|
};
|
|
1380
|
-
|
|
1381
|
-
type: String,
|
|
1382
|
-
attribute: "tab-id",
|
|
1383
|
-
reflect: !0
|
|
1384
|
-
})], O.prototype, "tabId", void 0), t([s({
|
|
1385
|
-
type: String,
|
|
1386
|
-
reflect: !0
|
|
1387
|
-
})], O.prototype, "label", void 0), t([s({
|
|
1388
|
-
type: Boolean,
|
|
1389
|
-
reflect: !0
|
|
1390
|
-
})], O.prototype, "active", void 0), t([s({ attribute: !1 })], O.prototype, "idealSizes", void 0), t([s({ attribute: !1 })], O.prototype, "reduceOrder", void 0), t([l()], O.prototype, "overflowEntries", void 0), t([c(".overflow-trigger")], O.prototype, "overflowTriggerEl", void 0), t([c(".overflow-panel")], O.prototype, "overflowPanelEl", void 0), customElements.define("mp-ribbon-tab", O);
|
|
406
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-group") || customElements.define("mp-ribbon-group", M);
|
|
1391
407
|
//#endregion
|
|
1392
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
}
|
|
1397
|
-
static {
|
|
1398
|
-
this.styles = i`
|
|
1399
|
-
:host { display: contents; }
|
|
408
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/quick-access-toolbar.view.generated.ts
|
|
409
|
+
function N({ root: e, slots: t = {} }) {
|
|
410
|
+
return l`
|
|
411
|
+
${t.default === void 0 ? u : t.default}
|
|
1400
412
|
`;
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
413
|
+
}
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-quick-access-toolbar.generated.ts
|
|
416
|
+
var P = class extends c {
|
|
417
|
+
static {
|
|
418
|
+
this.properties = {
|
|
419
|
+
touchMode: {
|
|
420
|
+
type: String,
|
|
421
|
+
converter: s("auto", [
|
|
422
|
+
"on",
|
|
423
|
+
"off",
|
|
424
|
+
"auto"
|
|
425
|
+
]),
|
|
426
|
+
attribute: "touch-mode"
|
|
1408
427
|
},
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
428
|
+
defaultRenderer: { attribute: !1 }
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
#e = new n(this);
|
|
432
|
+
#t = new t(this, te, {
|
|
433
|
+
idPrefix: "mp-quick-access-toolbar",
|
|
434
|
+
inputs: () => ({ touchMode: this.touchMode }),
|
|
435
|
+
hostBag: (e) => ({
|
|
436
|
+
...e.root,
|
|
437
|
+
"data-mps": "ribbon"
|
|
438
|
+
})
|
|
439
|
+
});
|
|
440
|
+
constructor() {
|
|
441
|
+
super(), this.touchMode = "auto";
|
|
442
|
+
}
|
|
443
|
+
createRenderRoot() {
|
|
444
|
+
return this;
|
|
445
|
+
}
|
|
446
|
+
willUpdate() {
|
|
447
|
+
this.#e.capture();
|
|
1412
448
|
}
|
|
1413
449
|
render() {
|
|
1414
|
-
return
|
|
450
|
+
return N({
|
|
451
|
+
...this.#t.props(),
|
|
452
|
+
slots: {
|
|
453
|
+
...this.#e.slots,
|
|
454
|
+
...this.defaultRenderer ? { default: this.defaultRenderer() } : {}
|
|
455
|
+
}
|
|
456
|
+
});
|
|
1415
457
|
}
|
|
1416
458
|
};
|
|
1417
|
-
|
|
1418
|
-
type: String,
|
|
1419
|
-
reflect: !0
|
|
1420
|
-
})], k.prototype, "label", void 0), t([s({
|
|
1421
|
-
type: String,
|
|
1422
|
-
reflect: !0
|
|
1423
|
-
})], k.prototype, "color", void 0), t([s({
|
|
1424
|
-
type: Boolean,
|
|
1425
|
-
reflect: !0
|
|
1426
|
-
})], k.prototype, "hidden", void 0), customElements.define("mp-ribbon-contextual-tab-set", k);
|
|
459
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-quick-access-toolbar") || customElements.define("mp-quick-access-toolbar", P);
|
|
1427
460
|
//#endregion
|
|
1428
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
if (e.ctrlKey || e.altKey || e.shiftKey || e.metaKey) return;
|
|
1444
|
-
let { key: t } = e;
|
|
1445
|
-
if (t !== "ArrowLeft" && t !== "ArrowRight" && t !== "Home" && t !== "End") return;
|
|
1446
|
-
let n = e.composedPath(), r = n[0];
|
|
1447
|
-
if (r && r instanceof HTMLElement) {
|
|
1448
|
-
let e = r.tagName;
|
|
1449
|
-
if (e === "SELECT" || e === "INPUT" || e === "TEXTAREA") return;
|
|
1450
|
-
}
|
|
1451
|
-
if (n.some((e) => e instanceof HTMLElement && e.tagName === "MP-RIBBON-GALLERY")) return;
|
|
1452
|
-
let i = this.collectItems();
|
|
1453
|
-
if (i.length === 0) return;
|
|
1454
|
-
let a = n.find((e) => e instanceof HTMLElement && i.includes(e)), o = a ? i.indexOf(a) : -1, s = getComputedStyle(this).direction === "rtl", c = s ? t === "ArrowLeft" : t === "ArrowRight", l = s ? t === "ArrowRight" : t === "ArrowLeft", u = o;
|
|
1455
|
-
l ? u = o <= 0 ? i.length - 1 : o - 1 : c ? u = o >= i.length - 1 ? 0 : o + 1 : t === "Home" ? u = 0 : t === "End" && (u = i.length - 1), u !== o && u >= 0 && (i[u].focus(), e.preventDefault());
|
|
1456
|
-
}, this.onTriggerClick = async (e) => {
|
|
1457
|
-
e.stopPropagation(), await this.overlay.toggle();
|
|
1458
|
-
}, this.onTriggerKeyDown = async (e) => {
|
|
1459
|
-
e.key === "ArrowDown" && !this.overlay.isOpen && (e.preventDefault(), await this.overlay.open());
|
|
1460
|
-
};
|
|
1461
|
-
}
|
|
1462
|
-
static {
|
|
1463
|
-
this.styles = i`
|
|
1464
|
-
:host { display: inline-flex; position: relative; }
|
|
1465
|
-
:host::after {
|
|
1466
|
-
content: '';
|
|
1467
|
-
position: absolute;
|
|
1468
|
-
top: var(--bs-ribbon-group-separator-inset, 0px);
|
|
1469
|
-
bottom: var(--bs-ribbon-group-separator-inset, 0px);
|
|
1470
|
-
inset-inline-end: 0;
|
|
1471
|
-
width: 1px;
|
|
1472
|
-
background: var(--bs-ribbon-group-separator, rgba(0, 0, 0, 0.12));
|
|
1473
|
-
pointer-events: none;
|
|
1474
|
-
}
|
|
1475
|
-
:host([data-resolved-size="popup"])::after {
|
|
1476
|
-
top: var(--bs-ribbon-group-separator-inset, 0px);
|
|
1477
|
-
bottom: var(--bs-ribbon-group-separator-inset, 0px);
|
|
1478
|
-
}
|
|
1479
|
-
.ribbon-group {
|
|
1480
|
-
display: flex;
|
|
1481
|
-
flex-direction: column;
|
|
1482
|
-
padding: 2px 6px 0;
|
|
1483
|
-
min-width: 64px;
|
|
1484
|
-
}
|
|
1485
|
-
.ribbon-group-items {
|
|
1486
|
-
display: grid;
|
|
1487
|
-
grid-template-rows: repeat(3, auto);
|
|
1488
|
-
grid-auto-flow: column;
|
|
1489
|
-
column-gap: 4px;
|
|
1490
|
-
row-gap: 0;
|
|
1491
|
-
align-items: center;
|
|
1492
|
-
flex: 1;
|
|
1493
|
-
}
|
|
1494
|
-
::slotted([size="large"]),
|
|
1495
|
-
::slotted([size="medium"]) {
|
|
1496
|
-
grid-row: 1 / -1;
|
|
1497
|
-
align-self: stretch;
|
|
1498
|
-
justify-self: center;
|
|
1499
|
-
}
|
|
1500
|
-
::slotted([size="small"]) {
|
|
1501
|
-
grid-row: span 1;
|
|
1502
|
-
align-self: center;
|
|
1503
|
-
justify-self: stretch;
|
|
1504
|
-
width: 100%;
|
|
1505
|
-
display: flex;
|
|
1506
|
-
}
|
|
1507
|
-
.ribbon-group-footer {
|
|
1508
|
-
display: flex;
|
|
1509
|
-
justify-content: center;
|
|
1510
|
-
align-items: center;
|
|
1511
|
-
gap: 2px;
|
|
1512
|
-
padding: 2px 0;
|
|
1513
|
-
position: relative;
|
|
1514
|
-
}
|
|
1515
|
-
.ribbon-group-label {
|
|
1516
|
-
font-size: 11px;
|
|
1517
|
-
line-height: 1;
|
|
1518
|
-
color: var(--bs-ribbon-group-label-color, #6c757d);
|
|
1519
|
-
}
|
|
1520
|
-
.ribbon-dialog-launcher {
|
|
1521
|
-
position: absolute;
|
|
1522
|
-
inset-inline-end: 0;
|
|
1523
|
-
background: transparent;
|
|
1524
|
-
border: none;
|
|
1525
|
-
cursor: pointer;
|
|
1526
|
-
padding: 0 2px;
|
|
1527
|
-
font-size: 11px;
|
|
1528
|
-
line-height: 1;
|
|
1529
|
-
color: var(--bs-ribbon-group-label-color, #6c757d);
|
|
1530
|
-
}
|
|
1531
|
-
.ribbon-dialog-launcher:hover {
|
|
1532
|
-
color: var(--bs-ribbon-app-accent, #0d6efd);
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
|
-
.ribbon-popup-trigger {
|
|
1536
|
-
display: none;
|
|
1537
|
-
flex-direction: column;
|
|
1538
|
-
align-items: center;
|
|
1539
|
-
justify-content: center;
|
|
1540
|
-
gap: 2px;
|
|
1541
|
-
background: transparent;
|
|
1542
|
-
border: 1px solid transparent;
|
|
1543
|
-
border-radius: var(--bs-ribbon-item-radius, 3px);
|
|
1544
|
-
cursor: pointer;
|
|
1545
|
-
padding: 6px 10px;
|
|
1546
|
-
min-width: 56px;
|
|
1547
|
-
font-size: 12px;
|
|
1548
|
-
color: inherit;
|
|
1549
|
-
}
|
|
1550
|
-
.ribbon-popup-trigger:hover {
|
|
1551
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
1552
|
-
border-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
1553
|
-
}
|
|
1554
|
-
.ribbon-popup-trigger:focus-visible {
|
|
1555
|
-
outline: 2px solid var(--bs-ribbon-app-accent, #0d6efd);
|
|
1556
|
-
outline-offset: -2px;
|
|
1557
|
-
}
|
|
1558
|
-
.ribbon-popup-trigger-icon { font-size: 22px; line-height: 1; }
|
|
1559
|
-
.ribbon-popup-trigger-label {
|
|
1560
|
-
display: flex;
|
|
1561
|
-
align-items: center;
|
|
1562
|
-
gap: 2px;
|
|
1563
|
-
white-space: nowrap;
|
|
1564
|
-
}
|
|
1565
|
-
.ribbon-popup-trigger-chevron { font-size: 9px; opacity: 0.6; }
|
|
1566
|
-
|
|
1567
|
-
:host([data-resolved-size="popup"]) .ribbon-group { display: none; }
|
|
1568
|
-
:host([data-resolved-size="popup"]) .ribbon-popup-trigger { display: flex; }
|
|
1569
|
-
:host([data-resolved-size="popup"][data-menu-open]) .ribbon-group {
|
|
1570
|
-
display: flex;
|
|
1571
|
-
position: fixed;
|
|
1572
|
-
background: var(--bs-ribbon-tabpanel-bg, #fff);
|
|
1573
|
-
border: 1px solid var(--bs-ribbon-container-border, #d0d0d0);
|
|
1574
|
-
border-radius: 4px;
|
|
1575
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
|
|
1576
|
-
padding: 4px 6px;
|
|
1577
|
-
z-index: 1050;
|
|
1578
|
-
min-width: 200px;
|
|
1579
|
-
max-width: calc(100vw - 16px);
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
/* ============================================================
|
|
1583
|
-
SIMPLIFIED LAYOUT (FR-39)
|
|
1584
|
-
Groups become flat horizontal flex rows; the 3-row grid is
|
|
1585
|
-
dropped, the label + dialog launcher footer is hidden, and
|
|
1586
|
-
per-group popup-chunk collapse is suppressed (the shared
|
|
1587
|
-
end-of-tab chevron on mp-ribbon-tab takes over). Items handle
|
|
1588
|
-
their own simplified rendering via the same data attribute.
|
|
1589
|
-
The separator hairline is also hidden — Simplified relies on
|
|
1590
|
-
padding alone for visual separation between groups.
|
|
1591
|
-
============================================================ */
|
|
1592
|
-
:host([data-ribbon-layout="simplified"])::after {
|
|
1593
|
-
display: none;
|
|
1594
|
-
}
|
|
1595
|
-
:host([data-ribbon-layout="simplified"]) .ribbon-group {
|
|
1596
|
-
flex-direction: row;
|
|
1597
|
-
align-items: center;
|
|
1598
|
-
padding: 4px 8px;
|
|
1599
|
-
min-width: 0;
|
|
1600
|
-
min-height: 36px;
|
|
1601
|
-
}
|
|
1602
|
-
:host([data-ribbon-layout="simplified"]) .ribbon-group-items {
|
|
1603
|
-
display: flex;
|
|
1604
|
-
flex-direction: row;
|
|
1605
|
-
align-items: center;
|
|
1606
|
-
gap: 2px;
|
|
1607
|
-
flex: 0 0 auto;
|
|
1608
|
-
}
|
|
1609
|
-
:host([data-ribbon-layout="simplified"]) .ribbon-group-footer {
|
|
1610
|
-
display: none;
|
|
1611
|
-
}
|
|
1612
|
-
/* Override the 3-row grid placement for slotted items. */
|
|
1613
|
-
:host([data-ribbon-layout="simplified"]) ::slotted([size="large"]),
|
|
1614
|
-
:host([data-ribbon-layout="simplified"]) ::slotted([size="medium"]),
|
|
1615
|
-
:host([data-ribbon-layout="simplified"]) ::slotted([size="small"]) {
|
|
1616
|
-
grid-row: auto;
|
|
1617
|
-
grid-column: auto;
|
|
1618
|
-
align-self: center;
|
|
1619
|
-
justify-self: auto;
|
|
1620
|
-
width: auto;
|
|
1621
|
-
display: inline-flex;
|
|
1622
|
-
}
|
|
1623
|
-
/* Suppress per-group popup-chunk in Simplified — the shared end-of-tab
|
|
1624
|
-
chevron is the overflow story. */
|
|
1625
|
-
:host([data-ribbon-layout="simplified"]) .ribbon-popup-trigger {
|
|
1626
|
-
display: none !important;
|
|
1627
|
-
}
|
|
1628
|
-
:host([data-ribbon-layout="simplified"]) .ribbon-group {
|
|
1629
|
-
display: flex !important;
|
|
1630
|
-
}
|
|
461
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-button.view.generated.ts
|
|
462
|
+
function F({ view: e, slots: t = {} }) {
|
|
463
|
+
return l`
|
|
464
|
+
<button data-mps="ribbon" ${o(e.control)}>
|
|
465
|
+
${e.icon || t.iconTemplate ? l`
|
|
466
|
+
<span data-mps="ribbon" ${o(e.parts.icon)}>
|
|
467
|
+
${t.iconTemplate === void 0 ? l`
|
|
468
|
+
${e.icon}
|
|
469
|
+
` : t.iconTemplate}
|
|
470
|
+
</span>
|
|
471
|
+
` : u}
|
|
472
|
+
${e.label ? l`
|
|
473
|
+
<span data-mps="ribbon" ${o(e.parts.label)}>${e.label}</span>
|
|
474
|
+
` : u}
|
|
475
|
+
</button>
|
|
1631
476
|
`;
|
|
1632
|
-
|
|
477
|
+
}
|
|
478
|
+
//#endregion
|
|
479
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-button.generated.ts
|
|
480
|
+
var I = class extends c {
|
|
1633
481
|
static {
|
|
1634
|
-
this.
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
482
|
+
this.properties = {
|
|
483
|
+
itemId: {
|
|
484
|
+
type: String,
|
|
485
|
+
converter: s(""),
|
|
486
|
+
attribute: "item-id"
|
|
487
|
+
},
|
|
488
|
+
label: {
|
|
489
|
+
type: String,
|
|
490
|
+
converter: s("")
|
|
491
|
+
},
|
|
492
|
+
icon: {
|
|
493
|
+
type: String,
|
|
494
|
+
converter: s("")
|
|
495
|
+
},
|
|
496
|
+
size: {
|
|
497
|
+
type: String,
|
|
498
|
+
converter: s("medium", [
|
|
499
|
+
"large",
|
|
500
|
+
"medium",
|
|
501
|
+
"small"
|
|
502
|
+
])
|
|
503
|
+
},
|
|
504
|
+
disabled: {
|
|
505
|
+
type: Boolean,
|
|
506
|
+
converter: r(!1)
|
|
507
|
+
},
|
|
508
|
+
tooltip: {
|
|
509
|
+
type: String,
|
|
510
|
+
converter: s("")
|
|
511
|
+
},
|
|
512
|
+
keyTip: {
|
|
513
|
+
type: String,
|
|
514
|
+
converter: s(null),
|
|
515
|
+
attribute: "key-tip"
|
|
516
|
+
},
|
|
517
|
+
iconTemplateRenderer: { attribute: !1 }
|
|
518
|
+
};
|
|
1644
519
|
}
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
520
|
+
#e = new n(this);
|
|
521
|
+
#t = new t(this, h, {
|
|
522
|
+
idPrefix: "mp-ribbon-button",
|
|
523
|
+
inputs: () => ({
|
|
524
|
+
itemId: this.itemId,
|
|
525
|
+
label: this.label,
|
|
526
|
+
icon: this.icon,
|
|
527
|
+
size: this.size,
|
|
528
|
+
disabled: this.disabled,
|
|
529
|
+
tooltip: this.tooltip,
|
|
530
|
+
keyTip: this.keyTip
|
|
531
|
+
}),
|
|
532
|
+
hostBag: (e) => ({
|
|
533
|
+
...e.view.root,
|
|
534
|
+
"data-mps": "ribbon"
|
|
535
|
+
})
|
|
536
|
+
});
|
|
537
|
+
constructor() {
|
|
538
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "", this.keyTip = null;
|
|
1651
539
|
}
|
|
1652
|
-
|
|
1653
|
-
return
|
|
540
|
+
createRenderRoot() {
|
|
541
|
+
return this;
|
|
1654
542
|
}
|
|
1655
|
-
|
|
1656
|
-
e.
|
|
543
|
+
willUpdate() {
|
|
544
|
+
this.#e.capture();
|
|
1657
545
|
}
|
|
1658
546
|
render() {
|
|
1659
|
-
return
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
<slot></slot>
|
|
1667
|
-
</div>
|
|
1668
|
-
<div class="ribbon-group-footer">
|
|
1669
|
-
<span class="ribbon-group-label">${this.label}</span>
|
|
1670
|
-
${this.dialogLauncher ? a`<button
|
|
1671
|
-
class="ribbon-dialog-launcher"
|
|
1672
|
-
title="${this.dialogLauncher}"
|
|
1673
|
-
aria-label="${this.dialogLauncher}"
|
|
1674
|
-
@click="${this.onDialogLauncherClick}"
|
|
1675
|
-
>⬘</button>` : o}
|
|
1676
|
-
</div>
|
|
1677
|
-
</div>
|
|
1678
|
-
<button
|
|
1679
|
-
class="ribbon-popup-trigger"
|
|
1680
|
-
aria-haspopup="true"
|
|
1681
|
-
aria-expanded="${this.overlay.isOpen}"
|
|
1682
|
-
aria-label="${this.label}"
|
|
1683
|
-
title="${this.label}"
|
|
1684
|
-
@click="${this.onTriggerClick}"
|
|
1685
|
-
@keydown="${this.onTriggerKeyDown}"
|
|
1686
|
-
>
|
|
1687
|
-
${this.icon ? a`<span class="ribbon-popup-trigger-icon">${this.icon}</span>` : o}
|
|
1688
|
-
<span class="ribbon-popup-trigger-label">
|
|
1689
|
-
${this.label}
|
|
1690
|
-
<span class="ribbon-popup-trigger-chevron">▼</span>
|
|
1691
|
-
</span>
|
|
1692
|
-
</button>
|
|
1693
|
-
`;
|
|
1694
|
-
}
|
|
1695
|
-
onDialogLauncherClick() {
|
|
1696
|
-
this.dispatchEvent(new CustomEvent("dialog-launcher-click", {
|
|
1697
|
-
detail: { groupId: this.groupId },
|
|
1698
|
-
bubbles: !0,
|
|
1699
|
-
composed: !0
|
|
1700
|
-
}));
|
|
547
|
+
return F({
|
|
548
|
+
...this.#t.props(),
|
|
549
|
+
slots: {
|
|
550
|
+
...this.#e.slots,
|
|
551
|
+
...this.iconTemplateRenderer ? { iconTemplate: this.iconTemplateRenderer() } : {}
|
|
552
|
+
}
|
|
553
|
+
});
|
|
1701
554
|
}
|
|
1702
555
|
};
|
|
1703
|
-
|
|
1704
|
-
type: String,
|
|
1705
|
-
attribute: "group-id",
|
|
1706
|
-
reflect: !0
|
|
1707
|
-
})], A.prototype, "groupId", void 0), t([s({ type: String })], A.prototype, "label", void 0), t([s({ type: String })], A.prototype, "icon", void 0), t([s({
|
|
1708
|
-
type: String,
|
|
1709
|
-
attribute: "dialog-launcher"
|
|
1710
|
-
})], A.prototype, "dialogLauncher", void 0), t([s({
|
|
1711
|
-
type: String,
|
|
1712
|
-
attribute: "data-resolved-size",
|
|
1713
|
-
reflect: !0
|
|
1714
|
-
})], A.prototype, "resolvedSize", void 0), t([s({
|
|
1715
|
-
type: Number,
|
|
1716
|
-
reflect: !0
|
|
1717
|
-
})], A.prototype, "priority", void 0), t([s({
|
|
1718
|
-
type: String,
|
|
1719
|
-
attribute: "auto-scale",
|
|
1720
|
-
reflect: !0
|
|
1721
|
-
})], A.prototype, "autoScale", void 0), customElements.define("mp-ribbon-group", A);
|
|
556
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-button") || customElements.define("mp-ribbon-button", I);
|
|
1722
557
|
//#endregion
|
|
1723
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
::slotted(.ribbon-icon-large) {
|
|
1744
|
-
font-size: 28px !important;
|
|
1745
|
-
width: 28px !important;
|
|
1746
|
-
height: 28px !important;
|
|
1747
|
-
line-height: 1 !important;
|
|
1748
|
-
}
|
|
1749
|
-
::slotted(.ribbon-icon-medium) {
|
|
1750
|
-
font-size: 16px !important;
|
|
1751
|
-
width: 16px !important;
|
|
1752
|
-
height: 16px !important;
|
|
1753
|
-
line-height: 1 !important;
|
|
1754
|
-
}
|
|
1755
|
-
::slotted(.ribbon-icon-small) {
|
|
1756
|
-
font-size: 14px !important;
|
|
1757
|
-
width: 14px !important;
|
|
1758
|
-
height: 14px !important;
|
|
1759
|
-
line-height: 1 !important;
|
|
1760
|
-
}
|
|
1761
|
-
`, M = class extends r {
|
|
1762
|
-
constructor(...e) {
|
|
1763
|
-
super(...e), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "";
|
|
1764
|
-
}
|
|
558
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-toggle-button.view.generated.ts
|
|
559
|
+
function L({ view: e, slots: t = {} }) {
|
|
560
|
+
return l`
|
|
561
|
+
<button data-mps="ribbon" ${o(e.control)}>
|
|
562
|
+
${e.icon || t.iconTemplate ? l`
|
|
563
|
+
<span data-mps="ribbon" ${o(e.parts.icon)}>
|
|
564
|
+
${t.iconTemplate === void 0 ? l`
|
|
565
|
+
${e.icon}
|
|
566
|
+
` : t.iconTemplate}
|
|
567
|
+
</span>
|
|
568
|
+
` : u}
|
|
569
|
+
${e.label ? l`
|
|
570
|
+
<span data-mps="ribbon" ${o(e.parts.label)}>${e.label}</span>
|
|
571
|
+
` : u}
|
|
572
|
+
</button>
|
|
573
|
+
`;
|
|
574
|
+
}
|
|
575
|
+
//#endregion
|
|
576
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-toggle-button.generated.ts
|
|
577
|
+
var R = class extends c {
|
|
1765
578
|
static {
|
|
1766
|
-
this.
|
|
1767
|
-
|
|
1768
|
-
|
|
579
|
+
this.properties = {
|
|
580
|
+
itemId: {
|
|
581
|
+
type: String,
|
|
582
|
+
converter: s(""),
|
|
583
|
+
attribute: "item-id"
|
|
584
|
+
},
|
|
585
|
+
label: {
|
|
586
|
+
type: String,
|
|
587
|
+
converter: s("")
|
|
588
|
+
},
|
|
589
|
+
icon: {
|
|
590
|
+
type: String,
|
|
591
|
+
converter: s("")
|
|
592
|
+
},
|
|
593
|
+
size: {
|
|
594
|
+
type: String,
|
|
595
|
+
converter: s("medium", [
|
|
596
|
+
"large",
|
|
597
|
+
"medium",
|
|
598
|
+
"small"
|
|
599
|
+
])
|
|
600
|
+
},
|
|
601
|
+
disabled: {
|
|
602
|
+
type: Boolean,
|
|
603
|
+
converter: r(!1)
|
|
604
|
+
},
|
|
605
|
+
tooltip: {
|
|
606
|
+
type: String,
|
|
607
|
+
converter: s("")
|
|
608
|
+
},
|
|
609
|
+
keyTip: {
|
|
610
|
+
type: String,
|
|
611
|
+
converter: s(null),
|
|
612
|
+
attribute: "key-tip"
|
|
613
|
+
},
|
|
614
|
+
pressed: {
|
|
615
|
+
type: Boolean,
|
|
616
|
+
converter: r(!1)
|
|
617
|
+
},
|
|
618
|
+
iconTemplateRenderer: { attribute: !1 }
|
|
1769
619
|
};
|
|
1770
620
|
}
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
621
|
+
#e = new n(this);
|
|
622
|
+
#t = new t(this, le, {
|
|
623
|
+
idPrefix: "mp-ribbon-toggle-button",
|
|
624
|
+
inputs: () => ({
|
|
625
|
+
itemId: this.itemId,
|
|
626
|
+
label: this.label,
|
|
627
|
+
icon: this.icon,
|
|
628
|
+
size: this.size,
|
|
629
|
+
disabled: this.disabled,
|
|
630
|
+
tooltip: this.tooltip,
|
|
631
|
+
keyTip: this.keyTip,
|
|
632
|
+
pressed: this.pressed
|
|
633
|
+
}),
|
|
634
|
+
hostBag: (e) => ({
|
|
635
|
+
...e.view.root,
|
|
636
|
+
"data-mps": "ribbon"
|
|
637
|
+
}),
|
|
638
|
+
models: ["pressed"]
|
|
639
|
+
});
|
|
640
|
+
constructor() {
|
|
641
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "", this.keyTip = null, this.pressed = !1;
|
|
1777
642
|
}
|
|
1778
|
-
|
|
1779
|
-
return
|
|
643
|
+
createRenderRoot() {
|
|
644
|
+
return this;
|
|
1780
645
|
}
|
|
1781
|
-
|
|
1782
|
-
|
|
646
|
+
willUpdate() {
|
|
647
|
+
this.#e.capture();
|
|
1783
648
|
}
|
|
1784
|
-
|
|
1785
|
-
|
|
649
|
+
render() {
|
|
650
|
+
return L({
|
|
651
|
+
...this.#t.props(),
|
|
652
|
+
slots: {
|
|
653
|
+
...this.#e.slots,
|
|
654
|
+
...this.iconTemplateRenderer ? { iconTemplate: this.iconTemplateRenderer() } : {}
|
|
655
|
+
}
|
|
656
|
+
});
|
|
1786
657
|
}
|
|
1787
658
|
};
|
|
1788
|
-
|
|
1789
|
-
type: String,
|
|
1790
|
-
attribute: "item-id"
|
|
1791
|
-
})], M.prototype, "itemId", void 0), t([s({ type: String })], M.prototype, "label", void 0), t([s({ type: String })], M.prototype, "icon", void 0), t([s({
|
|
1792
|
-
type: String,
|
|
1793
|
-
reflect: !0
|
|
1794
|
-
})], M.prototype, "size", void 0), t([s({ type: Boolean })], M.prototype, "disabled", void 0), t([s({ type: String })], M.prototype, "tooltip", void 0);
|
|
659
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-toggle-button") || customElements.define("mp-ribbon-toggle-button", R);
|
|
1795
660
|
//#endregion
|
|
1796
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
1797
|
-
|
|
661
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-check-box.view.generated.ts
|
|
662
|
+
function z({ view: e, slots: t = {} }) {
|
|
663
|
+
return l`
|
|
664
|
+
<label data-mps="ribbon" ${o(e.wrap)}>
|
|
665
|
+
<input data-mps="ribbon" ${o(e.control)} .checked=${e.checked}>
|
|
666
|
+
${e.label ? l`
|
|
667
|
+
<span data-mps="ribbon" ${o(e.parts.fieldLabel)}>${e.label}</span>
|
|
668
|
+
` : u}
|
|
669
|
+
</label>
|
|
670
|
+
`;
|
|
671
|
+
}
|
|
672
|
+
//#endregion
|
|
673
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-checkbox.generated.ts
|
|
674
|
+
var B = class extends c {
|
|
1798
675
|
static {
|
|
1799
|
-
this.
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
676
|
+
this.properties = {
|
|
677
|
+
itemId: {
|
|
678
|
+
type: String,
|
|
679
|
+
converter: s(""),
|
|
680
|
+
attribute: "item-id"
|
|
681
|
+
},
|
|
682
|
+
label: {
|
|
683
|
+
type: String,
|
|
684
|
+
converter: s("")
|
|
685
|
+
},
|
|
686
|
+
icon: {
|
|
687
|
+
type: String,
|
|
688
|
+
converter: s("")
|
|
689
|
+
},
|
|
690
|
+
size: {
|
|
691
|
+
type: String,
|
|
692
|
+
converter: s("medium", [
|
|
693
|
+
"large",
|
|
694
|
+
"medium",
|
|
695
|
+
"small"
|
|
696
|
+
])
|
|
697
|
+
},
|
|
698
|
+
disabled: {
|
|
699
|
+
type: Boolean,
|
|
700
|
+
converter: r(!1)
|
|
701
|
+
},
|
|
702
|
+
tooltip: {
|
|
703
|
+
type: String,
|
|
704
|
+
converter: s("")
|
|
705
|
+
},
|
|
706
|
+
keyTip: {
|
|
707
|
+
type: String,
|
|
708
|
+
converter: s(null),
|
|
709
|
+
attribute: "key-tip"
|
|
710
|
+
},
|
|
711
|
+
checked: {
|
|
712
|
+
type: Boolean,
|
|
713
|
+
converter: r(!1)
|
|
714
|
+
}
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
#e = new t(this, g, {
|
|
718
|
+
idPrefix: "mp-ribbon-checkbox",
|
|
719
|
+
inputs: () => ({
|
|
720
|
+
itemId: this.itemId,
|
|
721
|
+
label: this.label,
|
|
722
|
+
icon: this.icon,
|
|
723
|
+
size: this.size,
|
|
724
|
+
disabled: this.disabled,
|
|
725
|
+
tooltip: this.tooltip,
|
|
726
|
+
keyTip: this.keyTip,
|
|
727
|
+
checked: this.checked
|
|
728
|
+
}),
|
|
729
|
+
hostBag: (e) => ({
|
|
730
|
+
...e.view.root,
|
|
731
|
+
"data-mps": "ribbon"
|
|
732
|
+
}),
|
|
733
|
+
models: ["checked"]
|
|
734
|
+
});
|
|
735
|
+
constructor() {
|
|
736
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "", this.keyTip = null, this.checked = !1;
|
|
737
|
+
}
|
|
738
|
+
createRenderRoot() {
|
|
739
|
+
return this;
|
|
1848
740
|
}
|
|
1849
741
|
render() {
|
|
1850
|
-
return
|
|
1851
|
-
<button
|
|
1852
|
-
class="ribbon-button ${this.getSizeClass()}"
|
|
1853
|
-
?disabled="${this.disabled}"
|
|
1854
|
-
title="${this.tooltip || this.label}"
|
|
1855
|
-
@click="${this.emitItemClick}"
|
|
1856
|
-
>
|
|
1857
|
-
<span class="ribbon-button-icon">
|
|
1858
|
-
<slot name="icon">${this.icon ? this.icon : ""}</slot>
|
|
1859
|
-
</span>
|
|
1860
|
-
${this.label ? a`<span class="ribbon-button-label">${this.label}</span>` : ""}
|
|
1861
|
-
</button>
|
|
1862
|
-
`;
|
|
742
|
+
return z({ ...this.#e.props() });
|
|
1863
743
|
}
|
|
1864
744
|
};
|
|
1865
|
-
customElements.define("mp-ribbon-
|
|
745
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-checkbox") || customElements.define("mp-ribbon-checkbox", B);
|
|
1866
746
|
//#endregion
|
|
1867
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
747
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-combo-box.view.generated.ts
|
|
748
|
+
function V({ view: e, options: t, slots: n = {} }) {
|
|
749
|
+
return l`
|
|
750
|
+
<select data-mps="ribbon" ${o(e.control)}>
|
|
751
|
+
${f(t, (e) => e.key, (e) => l`
|
|
752
|
+
<option data-mps="ribbon" ${o(e.bag)}>${e.label}</option>
|
|
753
|
+
`)}
|
|
754
|
+
</select>
|
|
755
|
+
`;
|
|
756
|
+
}
|
|
757
|
+
//#endregion
|
|
758
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-combobox.generated.ts
|
|
759
|
+
var H = class extends c {
|
|
760
|
+
static {
|
|
761
|
+
this.properties = {
|
|
762
|
+
itemId: {
|
|
763
|
+
type: String,
|
|
764
|
+
converter: s(""),
|
|
765
|
+
attribute: "item-id"
|
|
766
|
+
},
|
|
767
|
+
label: {
|
|
768
|
+
type: String,
|
|
769
|
+
converter: s("")
|
|
770
|
+
},
|
|
771
|
+
icon: {
|
|
772
|
+
type: String,
|
|
773
|
+
converter: s("")
|
|
774
|
+
},
|
|
775
|
+
size: {
|
|
776
|
+
type: String,
|
|
777
|
+
converter: s("medium", [
|
|
778
|
+
"large",
|
|
779
|
+
"medium",
|
|
780
|
+
"small"
|
|
781
|
+
])
|
|
782
|
+
},
|
|
783
|
+
disabled: {
|
|
784
|
+
type: Boolean,
|
|
785
|
+
converter: r(!1)
|
|
786
|
+
},
|
|
787
|
+
tooltip: {
|
|
788
|
+
type: String,
|
|
789
|
+
converter: s("")
|
|
790
|
+
},
|
|
791
|
+
keyTip: {
|
|
792
|
+
type: String,
|
|
793
|
+
converter: s(null),
|
|
794
|
+
attribute: "key-tip"
|
|
795
|
+
},
|
|
796
|
+
value: {
|
|
797
|
+
type: String,
|
|
798
|
+
converter: s("")
|
|
799
|
+
},
|
|
800
|
+
options: { attribute: !1 }
|
|
1891
801
|
};
|
|
1892
802
|
}
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
}
|
|
1915
|
-
.ribbon-split-button-main {
|
|
1916
|
-
display: inline-flex;
|
|
1917
|
-
flex-direction: column;
|
|
1918
|
-
align-items: center;
|
|
1919
|
-
justify-content: center;
|
|
1920
|
-
gap: 4px;
|
|
1921
|
-
padding: 4px 6px;
|
|
1922
|
-
min-width: 28px;
|
|
1923
|
-
}
|
|
1924
|
-
.ribbon-split-button-dropdown {
|
|
1925
|
-
display: inline-flex;
|
|
1926
|
-
align-items: center;
|
|
1927
|
-
justify-content: center;
|
|
1928
|
-
padding: 0 4px;
|
|
1929
|
-
border-inline-start: 1px solid transparent;
|
|
1930
|
-
min-width: 16px;
|
|
1931
|
-
font-size: 9px;
|
|
1932
|
-
}
|
|
1933
|
-
.ribbon-split-button-main:hover:not(:disabled),
|
|
1934
|
-
.ribbon-split-button-dropdown:hover:not(:disabled) {
|
|
1935
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
1936
|
-
}
|
|
1937
|
-
.ribbon-split-button-main:hover:not(:disabled) + .ribbon-split-button-dropdown {
|
|
1938
|
-
border-inline-start-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
1939
|
-
}
|
|
1940
|
-
.ribbon-split-button-main:focus-visible,
|
|
1941
|
-
.ribbon-split-button-dropdown:focus-visible {
|
|
1942
|
-
outline: 2px solid var(--bs-ribbon-app-accent, #0d6efd);
|
|
1943
|
-
outline-offset: -2px;
|
|
1944
|
-
}
|
|
1945
|
-
.ribbon-split-button-main:disabled,
|
|
1946
|
-
.ribbon-split-button-dropdown:disabled {
|
|
1947
|
-
opacity: 0.5;
|
|
1948
|
-
cursor: not-allowed;
|
|
1949
|
-
}
|
|
1950
|
-
.ribbon-button-icon { line-height: 1; font-size: 16px; }
|
|
1951
|
-
.ribbon-button-label { white-space: nowrap; }
|
|
1952
|
-
|
|
1953
|
-
:host(.ribbon-item-large) .ribbon-split-button {
|
|
1954
|
-
flex-direction: column;
|
|
1955
|
-
}
|
|
1956
|
-
:host(.ribbon-item-large) .ribbon-split-button-main {
|
|
1957
|
-
padding: 6px 10px;
|
|
1958
|
-
min-width: 56px;
|
|
1959
|
-
}
|
|
1960
|
-
:host(.ribbon-item-large) .ribbon-split-button-main .ribbon-button-icon {
|
|
1961
|
-
font-size: 28px;
|
|
1962
|
-
}
|
|
1963
|
-
:host(.ribbon-item-large) .ribbon-split-button-dropdown {
|
|
1964
|
-
border-inline-start: none;
|
|
1965
|
-
border-top: 1px solid transparent;
|
|
1966
|
-
padding: 2px 0;
|
|
1967
|
-
min-width: 0;
|
|
1968
|
-
}
|
|
1969
|
-
:host(.ribbon-item-large) .ribbon-split-button-main:hover:not(:disabled) + .ribbon-split-button-dropdown {
|
|
1970
|
-
border-inline-start-color: transparent;
|
|
1971
|
-
border-top-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
.menu-panel {
|
|
1975
|
-
position: fixed;
|
|
1976
|
-
z-index: 1050;
|
|
1977
|
-
background: var(--bs-ribbon-tabpanel-bg, #fff);
|
|
1978
|
-
color: inherit;
|
|
1979
|
-
border: 1px solid var(--bs-ribbon-container-border, #d0d0d0);
|
|
1980
|
-
border-radius: 4px;
|
|
1981
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
|
|
1982
|
-
padding: 4px 0;
|
|
1983
|
-
display: none;
|
|
1984
|
-
min-width: 180px;
|
|
1985
|
-
max-width: min(320px, calc(100vw - 16px));
|
|
1986
|
-
}
|
|
1987
|
-
:host([data-menu-open]) .menu-panel { display: block; }
|
|
1988
|
-
`];
|
|
803
|
+
#e = new t(this, v, {
|
|
804
|
+
idPrefix: "mp-ribbon-combobox",
|
|
805
|
+
inputs: () => ({
|
|
806
|
+
itemId: this.itemId,
|
|
807
|
+
label: this.label,
|
|
808
|
+
icon: this.icon,
|
|
809
|
+
size: this.size,
|
|
810
|
+
disabled: this.disabled,
|
|
811
|
+
tooltip: this.tooltip,
|
|
812
|
+
keyTip: this.keyTip,
|
|
813
|
+
value: this.value,
|
|
814
|
+
options: this.options
|
|
815
|
+
}),
|
|
816
|
+
hostBag: (e) => ({
|
|
817
|
+
...e.view.root,
|
|
818
|
+
"data-mps": "ribbon"
|
|
819
|
+
}),
|
|
820
|
+
models: ["value"]
|
|
821
|
+
});
|
|
822
|
+
constructor() {
|
|
823
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "", this.keyTip = null, this.value = "", this.options = [];
|
|
1989
824
|
}
|
|
1990
|
-
|
|
1991
|
-
return
|
|
1992
|
-
<div
|
|
1993
|
-
class="ribbon-split-button ${this.getSizeClass()}"
|
|
1994
|
-
role="group"
|
|
1995
|
-
aria-label="${this.label}"
|
|
1996
|
-
>
|
|
1997
|
-
<button
|
|
1998
|
-
class="ribbon-split-button-main"
|
|
1999
|
-
?disabled="${this.disabled}"
|
|
2000
|
-
title="${this.tooltip || this.label}"
|
|
2001
|
-
@click="${this.onMainClick}"
|
|
2002
|
-
>
|
|
2003
|
-
<span class="ribbon-button-icon">
|
|
2004
|
-
<slot name="icon">${this.icon ? this.icon : ""}</slot>
|
|
2005
|
-
</span>
|
|
2006
|
-
${this.label ? a`<span class="ribbon-button-label">${this.label}</span>` : ""}
|
|
2007
|
-
</button>
|
|
2008
|
-
<button
|
|
2009
|
-
class="ribbon-split-button-dropdown"
|
|
2010
|
-
?disabled="${this.disabled}"
|
|
2011
|
-
aria-label="${this.label} options"
|
|
2012
|
-
aria-haspopup="menu"
|
|
2013
|
-
aria-expanded="${this.overlay.isOpen}"
|
|
2014
|
-
@click="${this.onChevronClick}"
|
|
2015
|
-
@keydown="${this.onChevronKeyDown}"
|
|
2016
|
-
>▼</button>
|
|
2017
|
-
</div>
|
|
2018
|
-
<div class="menu-panel" role="menu" @click="${this.onMenuClick}">
|
|
2019
|
-
<slot name="menu"></slot>
|
|
2020
|
-
</div>
|
|
2021
|
-
`;
|
|
825
|
+
createRenderRoot() {
|
|
826
|
+
return this;
|
|
2022
827
|
}
|
|
2023
|
-
|
|
2024
|
-
this.
|
|
2025
|
-
detail: {
|
|
2026
|
-
itemId: this.itemId,
|
|
2027
|
-
open: e
|
|
2028
|
-
},
|
|
2029
|
-
bubbles: !0,
|
|
2030
|
-
composed: !0
|
|
2031
|
-
}));
|
|
828
|
+
render() {
|
|
829
|
+
return V({ ...this.#e.props() });
|
|
2032
830
|
}
|
|
2033
831
|
};
|
|
2034
|
-
|
|
832
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-combobox") || customElements.define("mp-ribbon-combobox", H);
|
|
2035
833
|
//#endregion
|
|
2036
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
834
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-color-picker.view.generated.ts
|
|
835
|
+
function U({ view: e, slots: t = {} }) {
|
|
836
|
+
return l`
|
|
837
|
+
<label data-mps="ribbon" ${o(e.wrap)}>
|
|
838
|
+
<input data-mps="ribbon" ${o(e.control)} .value=${e.value}>
|
|
839
|
+
${e.label ? l`
|
|
840
|
+
<span data-mps="ribbon" ${o(e.parts.fieldLabel)}>${e.label}</span>
|
|
841
|
+
` : u}
|
|
842
|
+
</label>
|
|
843
|
+
`;
|
|
844
|
+
}
|
|
845
|
+
//#endregion
|
|
846
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-color-picker.generated.ts
|
|
847
|
+
var W = class extends c {
|
|
848
|
+
static {
|
|
849
|
+
this.properties = {
|
|
850
|
+
itemId: {
|
|
851
|
+
type: String,
|
|
852
|
+
converter: s(""),
|
|
853
|
+
attribute: "item-id"
|
|
854
|
+
},
|
|
855
|
+
label: {
|
|
856
|
+
type: String,
|
|
857
|
+
converter: s("")
|
|
858
|
+
},
|
|
859
|
+
icon: {
|
|
860
|
+
type: String,
|
|
861
|
+
converter: s("")
|
|
862
|
+
},
|
|
863
|
+
size: {
|
|
864
|
+
type: String,
|
|
865
|
+
converter: s("medium", [
|
|
866
|
+
"large",
|
|
867
|
+
"medium",
|
|
868
|
+
"small"
|
|
869
|
+
])
|
|
870
|
+
},
|
|
871
|
+
disabled: {
|
|
872
|
+
type: Boolean,
|
|
873
|
+
converter: r(!1)
|
|
874
|
+
},
|
|
875
|
+
tooltip: {
|
|
876
|
+
type: String,
|
|
877
|
+
converter: s("")
|
|
878
|
+
},
|
|
879
|
+
keyTip: {
|
|
880
|
+
type: String,
|
|
881
|
+
converter: s(null),
|
|
882
|
+
attribute: "key-tip"
|
|
883
|
+
},
|
|
884
|
+
color: {
|
|
885
|
+
type: String,
|
|
886
|
+
converter: s("#000000")
|
|
2061
887
|
}
|
|
2062
|
-
}), this.onTriggerClick = async (e) => {
|
|
2063
|
-
this.disabled || (e.stopPropagation(), await this.overlay.toggle());
|
|
2064
|
-
}, this.onTriggerKeyDown = async (e) => {
|
|
2065
|
-
this.disabled || (e.key === "ArrowDown" || e.key === "ArrowDown" && e.altKey) && (e.preventDefault(), this.overlay.isOpen || await this.overlay.open());
|
|
2066
|
-
}, this.onMenuClick = (e) => {
|
|
2067
|
-
e.target.closest("mp-ribbon-menu-item, [role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"menuitemradio\"]") && this.overlay.close();
|
|
2068
888
|
};
|
|
2069
889
|
}
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
min-width: 56px;
|
|
2094
|
-
}
|
|
2095
|
-
.ribbon-dropdown-button.ribbon-item-large .ribbon-button-icon { font-size: 28px; }
|
|
2096
|
-
.ribbon-dropdown-button.ribbon-item-medium { padding: 4px 8px; }
|
|
2097
|
-
.ribbon-dropdown-button.ribbon-item-small {
|
|
2098
|
-
padding: 4px 6px;
|
|
2099
|
-
width: 100%;
|
|
2100
|
-
justify-content: flex-start;
|
|
2101
|
-
}
|
|
2102
|
-
.ribbon-dropdown-button.ribbon-item-small .ribbon-button-label {
|
|
2103
|
-
flex: 1;
|
|
2104
|
-
justify-content: space-between;
|
|
2105
|
-
}
|
|
2106
|
-
.ribbon-dropdown-button:hover:not(:disabled) {
|
|
2107
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
2108
|
-
border-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
2109
|
-
}
|
|
2110
|
-
.ribbon-dropdown-button:focus-visible {
|
|
2111
|
-
outline: 2px solid var(--bs-ribbon-app-accent, #0d6efd);
|
|
2112
|
-
outline-offset: -2px;
|
|
2113
|
-
}
|
|
2114
|
-
.ribbon-dropdown-button:disabled {
|
|
2115
|
-
opacity: 0.5;
|
|
2116
|
-
cursor: not-allowed;
|
|
2117
|
-
}
|
|
2118
|
-
.ribbon-button-icon { line-height: 1; font-size: 16px; }
|
|
2119
|
-
.ribbon-button-label {
|
|
2120
|
-
display: inline-flex;
|
|
2121
|
-
align-items: center;
|
|
2122
|
-
gap: 2px;
|
|
2123
|
-
white-space: nowrap;
|
|
2124
|
-
}
|
|
2125
|
-
.ribbon-dropdown-arrow { font-size: 9px; opacity: 0.6; }
|
|
2126
|
-
|
|
2127
|
-
.menu-panel {
|
|
2128
|
-
position: fixed;
|
|
2129
|
-
z-index: 1050;
|
|
2130
|
-
background: var(--bs-ribbon-tabpanel-bg, #fff);
|
|
2131
|
-
color: inherit;
|
|
2132
|
-
border: 1px solid var(--bs-ribbon-container-border, #d0d0d0);
|
|
2133
|
-
border-radius: 4px;
|
|
2134
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
|
|
2135
|
-
padding: 4px 0;
|
|
2136
|
-
display: none;
|
|
2137
|
-
min-width: 180px;
|
|
2138
|
-
max-width: min(320px, calc(100vw - 16px));
|
|
2139
|
-
}
|
|
2140
|
-
:host([data-menu-open]) .menu-panel { display: block; }
|
|
2141
|
-
`];
|
|
890
|
+
#e = new t(this, _, {
|
|
891
|
+
idPrefix: "mp-ribbon-color-picker",
|
|
892
|
+
inputs: () => ({
|
|
893
|
+
itemId: this.itemId,
|
|
894
|
+
label: this.label,
|
|
895
|
+
icon: this.icon,
|
|
896
|
+
size: this.size,
|
|
897
|
+
disabled: this.disabled,
|
|
898
|
+
tooltip: this.tooltip,
|
|
899
|
+
keyTip: this.keyTip,
|
|
900
|
+
color: this.color
|
|
901
|
+
}),
|
|
902
|
+
hostBag: (e) => ({
|
|
903
|
+
...e.view.root,
|
|
904
|
+
"data-mps": "ribbon"
|
|
905
|
+
}),
|
|
906
|
+
models: ["color"]
|
|
907
|
+
});
|
|
908
|
+
constructor() {
|
|
909
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "", this.keyTip = null, this.color = "#000000";
|
|
910
|
+
}
|
|
911
|
+
createRenderRoot() {
|
|
912
|
+
return this;
|
|
2142
913
|
}
|
|
2143
914
|
render() {
|
|
2144
|
-
return
|
|
2145
|
-
<button
|
|
2146
|
-
class="ribbon-dropdown-button ${this.getSizeClass()}"
|
|
2147
|
-
?disabled="${this.disabled}"
|
|
2148
|
-
title="${this.tooltip || this.label}"
|
|
2149
|
-
aria-haspopup="menu"
|
|
2150
|
-
aria-expanded="${this.overlay.isOpen}"
|
|
2151
|
-
@click="${this.onTriggerClick}"
|
|
2152
|
-
@keydown="${this.onTriggerKeyDown}"
|
|
2153
|
-
>
|
|
2154
|
-
<span class="ribbon-button-icon">
|
|
2155
|
-
<slot name="icon">${this.icon ? this.icon : ""}</slot>
|
|
2156
|
-
</span>
|
|
2157
|
-
<span class="ribbon-button-label">
|
|
2158
|
-
${this.label ? a`<span>${this.label}</span>` : ""}
|
|
2159
|
-
<span class="ribbon-dropdown-arrow">▼</span>
|
|
2160
|
-
</span>
|
|
2161
|
-
</button>
|
|
2162
|
-
<div class="menu-panel" role="menu" @click="${this.onMenuClick}">
|
|
2163
|
-
<slot name="menu"></slot>
|
|
2164
|
-
</div>
|
|
2165
|
-
`;
|
|
915
|
+
return U({ ...this.#e.props() });
|
|
2166
916
|
}
|
|
2167
917
|
};
|
|
2168
|
-
|
|
918
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-color-picker") || customElements.define("mp-ribbon-color-picker", W);
|
|
2169
919
|
//#endregion
|
|
2170
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
920
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-group-button.view.generated.ts
|
|
921
|
+
function ue({ view: e, radios: t, slots: n = {} }) {
|
|
922
|
+
return l`
|
|
923
|
+
<div data-mps="ribbon" ${o(e.control)}>
|
|
924
|
+
${f(t, (e) => e.key, (t) => l`
|
|
925
|
+
<button data-mps="ribbon" ${o(t.bag)}>
|
|
926
|
+
${t.icon ? l`
|
|
927
|
+
<span data-mps="ribbon" ${o(e.parts.radioIcon)}>${t.icon}</span>
|
|
928
|
+
` : u}
|
|
929
|
+
${t.label ? l`
|
|
930
|
+
<span data-mps="ribbon" ${o(e.parts.radioLabel)}>${t.label}</span>
|
|
931
|
+
` : u}
|
|
932
|
+
</button>
|
|
933
|
+
`)}
|
|
934
|
+
</div>
|
|
935
|
+
`;
|
|
936
|
+
}
|
|
937
|
+
//#endregion
|
|
938
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-group-button.generated.ts
|
|
939
|
+
var G = class extends c {
|
|
2175
940
|
static {
|
|
2176
|
-
this.
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
color: inherit;
|
|
2190
|
-
font-size: 12px;
|
|
2191
|
-
font-family: inherit;
|
|
2192
|
-
padding: 4px 6px;
|
|
2193
|
-
min-width: 28px;
|
|
2194
|
-
}
|
|
2195
|
-
.ribbon-toggle-button:hover:not(:disabled):not(.pressed) {
|
|
2196
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
2197
|
-
border-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
2198
|
-
}
|
|
2199
|
-
.ribbon-toggle-button.pressed {
|
|
2200
|
-
background: var(--bs-ribbon-item-pressed-bg, #dee2e6);
|
|
2201
|
-
border-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
2202
|
-
}
|
|
2203
|
-
.ribbon-toggle-button:focus-visible {
|
|
2204
|
-
outline: 2px solid var(--bs-ribbon-app-accent, #0d6efd);
|
|
2205
|
-
outline-offset: -2px;
|
|
2206
|
-
}
|
|
2207
|
-
.ribbon-toggle-button:disabled {
|
|
2208
|
-
opacity: 0.5;
|
|
2209
|
-
cursor: not-allowed;
|
|
2210
|
-
}
|
|
2211
|
-
.ribbon-toggle-button.ribbon-item-large {
|
|
2212
|
-
flex-direction: column;
|
|
2213
|
-
padding: 6px 10px;
|
|
2214
|
-
min-width: 56px;
|
|
2215
|
-
}
|
|
2216
|
-
.ribbon-toggle-button.ribbon-item-large .ribbon-button-icon { font-size: 28px; }
|
|
2217
|
-
.ribbon-toggle-button.ribbon-item-medium { flex-direction: row; padding: 4px 8px; }
|
|
2218
|
-
.ribbon-toggle-button.ribbon-item-small {
|
|
2219
|
-
flex-direction: row;
|
|
2220
|
-
padding: 4px 6px;
|
|
2221
|
-
width: 100%;
|
|
2222
|
-
justify-content: flex-start;
|
|
2223
|
-
}
|
|
2224
|
-
.ribbon-button-icon { line-height: 1; font-size: 16px; }
|
|
2225
|
-
.ribbon-button-label { white-space: nowrap; }
|
|
2226
|
-
`];
|
|
2227
|
-
}
|
|
2228
|
-
render() {
|
|
2229
|
-
return a`
|
|
2230
|
-
<button
|
|
2231
|
-
class="ribbon-toggle-button ${this.getSizeClass()} ${this.pressed ? "pressed" : ""}"
|
|
2232
|
-
?disabled="${this.disabled}"
|
|
2233
|
-
aria-pressed="${this.pressed}"
|
|
2234
|
-
title="${this.tooltip || this.label}"
|
|
2235
|
-
@click="${this.onToggleClick}"
|
|
2236
|
-
>
|
|
2237
|
-
<span class="ribbon-button-icon">
|
|
2238
|
-
<slot name="icon">${this.icon ? this.icon : ""}</slot>
|
|
2239
|
-
</span>
|
|
2240
|
-
${this.label ? a`<span class="ribbon-button-label">${this.label}</span>` : ""}
|
|
2241
|
-
</button>
|
|
2242
|
-
`;
|
|
2243
|
-
}
|
|
2244
|
-
onToggleClick() {
|
|
2245
|
-
this.disabled || (this.pressed = !this.pressed, this.dispatchEvent(new CustomEvent("toggle", {
|
|
2246
|
-
detail: {
|
|
2247
|
-
itemId: this.itemId,
|
|
2248
|
-
pressed: this.pressed
|
|
941
|
+
this.properties = {
|
|
942
|
+
itemId: {
|
|
943
|
+
type: String,
|
|
944
|
+
converter: s(""),
|
|
945
|
+
attribute: "item-id"
|
|
946
|
+
},
|
|
947
|
+
label: {
|
|
948
|
+
type: String,
|
|
949
|
+
converter: s("")
|
|
950
|
+
},
|
|
951
|
+
icon: {
|
|
952
|
+
type: String,
|
|
953
|
+
converter: s("")
|
|
2249
954
|
},
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
955
|
+
size: {
|
|
956
|
+
type: String,
|
|
957
|
+
converter: s("medium", [
|
|
958
|
+
"large",
|
|
959
|
+
"medium",
|
|
960
|
+
"small"
|
|
961
|
+
])
|
|
962
|
+
},
|
|
963
|
+
disabled: {
|
|
964
|
+
type: Boolean,
|
|
965
|
+
converter: r(!1)
|
|
966
|
+
},
|
|
967
|
+
tooltip: {
|
|
968
|
+
type: String,
|
|
969
|
+
converter: s("")
|
|
970
|
+
},
|
|
971
|
+
keyTip: {
|
|
972
|
+
type: String,
|
|
973
|
+
converter: s(null),
|
|
974
|
+
attribute: "key-tip"
|
|
975
|
+
},
|
|
976
|
+
selectedValue: {
|
|
977
|
+
type: String,
|
|
978
|
+
converter: s(""),
|
|
979
|
+
attribute: "selected-value"
|
|
980
|
+
},
|
|
981
|
+
buttons: { attribute: !1 }
|
|
982
|
+
};
|
|
2253
983
|
}
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
984
|
+
#e = new t(this, C, {
|
|
985
|
+
idPrefix: "mp-ribbon-group-button",
|
|
986
|
+
inputs: () => ({
|
|
987
|
+
itemId: this.itemId,
|
|
988
|
+
label: this.label,
|
|
989
|
+
icon: this.icon,
|
|
990
|
+
size: this.size,
|
|
991
|
+
disabled: this.disabled,
|
|
992
|
+
tooltip: this.tooltip,
|
|
993
|
+
keyTip: this.keyTip,
|
|
994
|
+
selectedValue: this.selectedValue,
|
|
995
|
+
buttons: this.buttons
|
|
996
|
+
}),
|
|
997
|
+
hostBag: (e) => ({
|
|
998
|
+
...e.view.root,
|
|
999
|
+
"data-mps": "ribbon"
|
|
1000
|
+
}),
|
|
1001
|
+
models: ["selectedValue"]
|
|
1002
|
+
});
|
|
1003
|
+
constructor() {
|
|
1004
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "", this.keyTip = null, this.selectedValue = "", this.buttons = [];
|
|
2264
1005
|
}
|
|
2265
|
-
|
|
2266
|
-
this
|
|
2267
|
-
:host { display: inline-flex; align-items: center; }
|
|
2268
|
-
:host([size="small"]) { display: flex; width: 100%; }
|
|
2269
|
-
.ribbon-checkbox {
|
|
2270
|
-
display: inline-flex;
|
|
2271
|
-
align-items: center;
|
|
2272
|
-
gap: 4px;
|
|
2273
|
-
cursor: pointer;
|
|
2274
|
-
color: inherit;
|
|
2275
|
-
font-size: 12px;
|
|
2276
|
-
font-family: inherit;
|
|
2277
|
-
padding: 4px 6px;
|
|
2278
|
-
border-radius: var(--bs-ribbon-item-radius, 3px);
|
|
2279
|
-
user-select: none;
|
|
2280
|
-
}
|
|
2281
|
-
.ribbon-checkbox:hover:not(.disabled) {
|
|
2282
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
2283
|
-
}
|
|
2284
|
-
.ribbon-checkbox.disabled {
|
|
2285
|
-
opacity: 0.5;
|
|
2286
|
-
cursor: not-allowed;
|
|
2287
|
-
}
|
|
2288
|
-
.ribbon-checkbox input {
|
|
2289
|
-
margin: 0;
|
|
2290
|
-
cursor: inherit;
|
|
2291
|
-
accent-color: var(--bs-ribbon-app-accent, #0d6efd);
|
|
2292
|
-
}
|
|
2293
|
-
.ribbon-checkbox.ribbon-item-small {
|
|
2294
|
-
width: 100%;
|
|
2295
|
-
}
|
|
2296
|
-
.ribbon-checkbox-label { white-space: nowrap; }
|
|
2297
|
-
`;
|
|
1006
|
+
createRenderRoot() {
|
|
1007
|
+
return this;
|
|
2298
1008
|
}
|
|
2299
1009
|
render() {
|
|
2300
|
-
return
|
|
2301
|
-
<label
|
|
2302
|
-
class="ribbon-checkbox ${this.getSizeClass()} ${this.disabled ? "disabled" : ""}"
|
|
2303
|
-
title="${this.tooltip || this.label}"
|
|
2304
|
-
>
|
|
2305
|
-
<input
|
|
2306
|
-
type="checkbox"
|
|
2307
|
-
?checked="${this.checked}"
|
|
2308
|
-
?disabled="${this.disabled}"
|
|
2309
|
-
@change="${this.onCheckChange}"
|
|
2310
|
-
/>
|
|
2311
|
-
<span class="ribbon-checkbox-label">${this.label}</span>
|
|
2312
|
-
</label>
|
|
2313
|
-
`;
|
|
2314
|
-
}
|
|
2315
|
-
onCheckChange(e) {
|
|
2316
|
-
if (this.disabled) return;
|
|
2317
|
-
let t = e.target;
|
|
2318
|
-
this.checked = t.checked, this.dispatchEvent(new CustomEvent("check-change", {
|
|
2319
|
-
detail: {
|
|
2320
|
-
itemId: this.itemId,
|
|
2321
|
-
checked: this.checked
|
|
2322
|
-
},
|
|
2323
|
-
bubbles: !0,
|
|
2324
|
-
composed: !0
|
|
2325
|
-
}));
|
|
1010
|
+
return ue({ ...this.#e.props() });
|
|
2326
1011
|
}
|
|
2327
1012
|
};
|
|
2328
|
-
|
|
2329
|
-
type: Boolean,
|
|
2330
|
-
reflect: !0
|
|
2331
|
-
})], L.prototype, "checked", void 0), customElements.define("mp-ribbon-checkbox", L);
|
|
1013
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-group-button") || customElements.define("mp-ribbon-group-button", G);
|
|
2332
1014
|
//#endregion
|
|
2333
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
.ribbon-combobox-select:disabled {
|
|
2357
|
-
opacity: 0.5;
|
|
2358
|
-
cursor: not-allowed;
|
|
2359
|
-
}
|
|
1015
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-split-button.view.generated.ts
|
|
1016
|
+
function de({ view: e, slots: t = {} }) {
|
|
1017
|
+
return l`
|
|
1018
|
+
<div data-mps="ribbon" ${o(e.group)}>
|
|
1019
|
+
<button data-mps="ribbon" ${o(e.control)}>
|
|
1020
|
+
${e.icon || t.iconTemplate ? l`
|
|
1021
|
+
<span data-mps="ribbon" ${o(e.parts.icon)}>
|
|
1022
|
+
${t.iconTemplate === void 0 ? l`
|
|
1023
|
+
${e.icon}
|
|
1024
|
+
` : t.iconTemplate}
|
|
1025
|
+
</span>
|
|
1026
|
+
` : u}
|
|
1027
|
+
${e.label ? l`
|
|
1028
|
+
<span data-mps="ribbon" ${o(e.parts.label)}>${e.label}</span>
|
|
1029
|
+
` : u}
|
|
1030
|
+
</button>
|
|
1031
|
+
<button data-mps="ribbon" ${o(e.toggle)}>
|
|
1032
|
+
<span data-mps="ribbon" ${o(e.parts.chevron)}>▼</span>
|
|
1033
|
+
</button>
|
|
1034
|
+
</div>
|
|
1035
|
+
<div data-mps="ribbon" ${o(e.menu)}>
|
|
1036
|
+
${t.default === void 0 ? u : t.default}
|
|
1037
|
+
</div>
|
|
2360
1038
|
`;
|
|
1039
|
+
}
|
|
1040
|
+
//#endregion
|
|
1041
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-split-button.generated.ts
|
|
1042
|
+
var K = class extends c {
|
|
1043
|
+
static {
|
|
1044
|
+
this.properties = {
|
|
1045
|
+
itemId: {
|
|
1046
|
+
type: String,
|
|
1047
|
+
converter: s(""),
|
|
1048
|
+
attribute: "item-id"
|
|
1049
|
+
},
|
|
1050
|
+
label: {
|
|
1051
|
+
type: String,
|
|
1052
|
+
converter: s("")
|
|
1053
|
+
},
|
|
1054
|
+
icon: {
|
|
1055
|
+
type: String,
|
|
1056
|
+
converter: s("")
|
|
1057
|
+
},
|
|
1058
|
+
size: {
|
|
1059
|
+
type: String,
|
|
1060
|
+
converter: s("medium", [
|
|
1061
|
+
"large",
|
|
1062
|
+
"medium",
|
|
1063
|
+
"small"
|
|
1064
|
+
])
|
|
1065
|
+
},
|
|
1066
|
+
disabled: {
|
|
1067
|
+
type: Boolean,
|
|
1068
|
+
converter: r(!1)
|
|
1069
|
+
},
|
|
1070
|
+
tooltip: {
|
|
1071
|
+
type: String,
|
|
1072
|
+
converter: s("")
|
|
1073
|
+
},
|
|
1074
|
+
keyTip: {
|
|
1075
|
+
type: String,
|
|
1076
|
+
converter: s(null),
|
|
1077
|
+
attribute: "key-tip"
|
|
1078
|
+
},
|
|
1079
|
+
defaultRenderer: { attribute: !1 },
|
|
1080
|
+
iconTemplateRenderer: { attribute: !1 }
|
|
1081
|
+
};
|
|
2361
1082
|
}
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
this.value = t.value, this.dispatchEvent(new CustomEvent("value-change", {
|
|
2382
|
-
detail: {
|
|
2383
|
-
itemId: this.itemId,
|
|
2384
|
-
value: this.value
|
|
2385
|
-
},
|
|
2386
|
-
bubbles: !0,
|
|
2387
|
-
composed: !0
|
|
2388
|
-
}));
|
|
1083
|
+
#e = new n(this);
|
|
1084
|
+
#t = new t(this, oe, {
|
|
1085
|
+
idPrefix: "mp-ribbon-split-button",
|
|
1086
|
+
inputs: () => ({
|
|
1087
|
+
itemId: this.itemId,
|
|
1088
|
+
label: this.label,
|
|
1089
|
+
icon: this.icon,
|
|
1090
|
+
size: this.size,
|
|
1091
|
+
disabled: this.disabled,
|
|
1092
|
+
tooltip: this.tooltip,
|
|
1093
|
+
keyTip: this.keyTip
|
|
1094
|
+
}),
|
|
1095
|
+
hostBag: (e) => ({
|
|
1096
|
+
...e.view.root,
|
|
1097
|
+
"data-mps": "ribbon"
|
|
1098
|
+
})
|
|
1099
|
+
});
|
|
1100
|
+
constructor() {
|
|
1101
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "", this.keyTip = null;
|
|
2389
1102
|
}
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
//#endregion
|
|
2393
|
-
//#region libs/mintplayer-web-components/ribbon/src/items/mp-ribbon-color-picker.element.ts
|
|
2394
|
-
var z = class extends M {
|
|
2395
|
-
constructor(...e) {
|
|
2396
|
-
super(...e), this.color = "#000000";
|
|
1103
|
+
createRenderRoot() {
|
|
1104
|
+
return this;
|
|
2397
1105
|
}
|
|
2398
|
-
|
|
2399
|
-
this.
|
|
2400
|
-
:host { display: inline-flex; align-items: center; }
|
|
2401
|
-
:host([size="small"]) { display: flex; width: 100%; }
|
|
2402
|
-
.ribbon-color-picker {
|
|
2403
|
-
display: inline-flex;
|
|
2404
|
-
align-items: center;
|
|
2405
|
-
gap: 4px;
|
|
2406
|
-
padding: 4px 6px;
|
|
2407
|
-
cursor: pointer;
|
|
2408
|
-
border-radius: var(--bs-ribbon-item-radius, 3px);
|
|
2409
|
-
color: inherit;
|
|
2410
|
-
font-size: 12px;
|
|
2411
|
-
font-family: inherit;
|
|
2412
|
-
border: 1px solid transparent;
|
|
2413
|
-
}
|
|
2414
|
-
.ribbon-color-picker.large {
|
|
2415
|
-
flex-direction: column;
|
|
2416
|
-
padding: 6px 10px;
|
|
2417
|
-
}
|
|
2418
|
-
.ribbon-color-picker.small { width: 100%; }
|
|
2419
|
-
.ribbon-color-picker:hover:not(.disabled) {
|
|
2420
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
2421
|
-
border-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
2422
|
-
}
|
|
2423
|
-
.ribbon-color-picker.disabled {
|
|
2424
|
-
opacity: 0.5;
|
|
2425
|
-
cursor: not-allowed;
|
|
2426
|
-
}
|
|
2427
|
-
.ribbon-color-picker-input {
|
|
2428
|
-
width: 22px;
|
|
2429
|
-
height: 16px;
|
|
2430
|
-
padding: 0;
|
|
2431
|
-
border: 1px solid var(--bs-ribbon-item-hover-border, #ced4da);
|
|
2432
|
-
border-radius: 2px;
|
|
2433
|
-
cursor: inherit;
|
|
2434
|
-
background: transparent;
|
|
2435
|
-
flex: 0 0 auto;
|
|
2436
|
-
}
|
|
2437
|
-
.ribbon-color-picker.large .ribbon-color-picker-input {
|
|
2438
|
-
width: 36px;
|
|
2439
|
-
height: 28px;
|
|
2440
|
-
}
|
|
2441
|
-
.ribbon-color-picker-label { white-space: nowrap; }
|
|
2442
|
-
`;
|
|
1106
|
+
willUpdate() {
|
|
1107
|
+
this.#e.capture();
|
|
2443
1108
|
}
|
|
2444
1109
|
render() {
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
class="ribbon-color-picker-input"
|
|
2454
|
-
.value="${this.color}"
|
|
2455
|
-
?disabled="${this.disabled}"
|
|
2456
|
-
aria-label="${this.label}"
|
|
2457
|
-
@input="${this.onColorChange}"
|
|
2458
|
-
/>
|
|
2459
|
-
${this.label ? a`<span class="ribbon-color-picker-label">${this.label}</span>` : ""}
|
|
2460
|
-
</label>
|
|
2461
|
-
`;
|
|
2462
|
-
}
|
|
2463
|
-
onColorChange(e) {
|
|
2464
|
-
if (this.disabled) return;
|
|
2465
|
-
let t = e.target;
|
|
2466
|
-
this.color = t.value, this.dispatchEvent(new CustomEvent("color-change", {
|
|
2467
|
-
detail: {
|
|
2468
|
-
itemId: this.itemId,
|
|
2469
|
-
color: this.color
|
|
2470
|
-
},
|
|
2471
|
-
bubbles: !0,
|
|
2472
|
-
composed: !0
|
|
2473
|
-
}));
|
|
1110
|
+
return de({
|
|
1111
|
+
...this.#t.props(),
|
|
1112
|
+
slots: {
|
|
1113
|
+
...this.#e.slots,
|
|
1114
|
+
...this.defaultRenderer ? { default: this.defaultRenderer() } : {},
|
|
1115
|
+
...this.iconTemplateRenderer ? { iconTemplate: this.iconTemplateRenderer() } : {}
|
|
1116
|
+
}
|
|
1117
|
+
});
|
|
2474
1118
|
}
|
|
2475
1119
|
};
|
|
2476
|
-
|
|
2477
|
-
type: String,
|
|
2478
|
-
reflect: !0
|
|
2479
|
-
})], z.prototype, "color", void 0), customElements.define("mp-ribbon-color-picker", z);
|
|
1120
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-split-button") || customElements.define("mp-ribbon-split-button", K);
|
|
2480
1121
|
//#endregion
|
|
2481
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
font-family: inherit;
|
|
2501
|
-
padding: 4px 8px;
|
|
2502
|
-
display: inline-flex;
|
|
2503
|
-
align-items: center;
|
|
2504
|
-
gap: 4px;
|
|
2505
|
-
}
|
|
2506
|
-
.ribbon-group-button-item:hover:not(:disabled):not(.selected) {
|
|
2507
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
2508
|
-
border-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
2509
|
-
}
|
|
2510
|
-
.ribbon-group-button-item.selected {
|
|
2511
|
-
background: var(--bs-ribbon-item-pressed-bg, #dee2e6);
|
|
2512
|
-
border-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
2513
|
-
}
|
|
2514
|
-
.ribbon-group-button-item:focus-visible {
|
|
2515
|
-
outline: 2px solid var(--bs-ribbon-app-accent, #0d6efd);
|
|
2516
|
-
outline-offset: -2px;
|
|
2517
|
-
}
|
|
2518
|
-
.ribbon-group-button-item:disabled {
|
|
2519
|
-
opacity: 0.5;
|
|
2520
|
-
cursor: not-allowed;
|
|
2521
|
-
}
|
|
2522
|
-
.ribbon-group-button-icon { line-height: 1; }
|
|
2523
|
-
.ribbon-group-button-label { white-space: nowrap; }
|
|
1122
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-dropdown-button.view.generated.ts
|
|
1123
|
+
function fe({ view: e, slots: t = {} }) {
|
|
1124
|
+
return l`
|
|
1125
|
+
<button data-mps="ribbon" ${o(e.control)}>
|
|
1126
|
+
${e.icon || t.iconTemplate ? l`
|
|
1127
|
+
<span data-mps="ribbon" ${o(e.parts.icon)}>
|
|
1128
|
+
${t.iconTemplate === void 0 ? l`
|
|
1129
|
+
${e.icon}
|
|
1130
|
+
` : t.iconTemplate}
|
|
1131
|
+
</span>
|
|
1132
|
+
` : u}
|
|
1133
|
+
${e.label ? l`
|
|
1134
|
+
<span data-mps="ribbon" ${o(e.parts.label)}>${e.label}</span>
|
|
1135
|
+
` : u}
|
|
1136
|
+
<span data-mps="ribbon" ${o(e.parts.chevron)}>▼</span>
|
|
1137
|
+
</button>
|
|
1138
|
+
<div data-mps="ribbon" ${o(e.menu)}>
|
|
1139
|
+
${t.default === void 0 ? u : t.default}
|
|
1140
|
+
</div>
|
|
2524
1141
|
`;
|
|
1142
|
+
}
|
|
1143
|
+
//#endregion
|
|
1144
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-dropdown-button.generated.ts
|
|
1145
|
+
var q = class extends c {
|
|
1146
|
+
static {
|
|
1147
|
+
this.properties = {
|
|
1148
|
+
itemId: {
|
|
1149
|
+
type: String,
|
|
1150
|
+
converter: s(""),
|
|
1151
|
+
attribute: "item-id"
|
|
1152
|
+
},
|
|
1153
|
+
label: {
|
|
1154
|
+
type: String,
|
|
1155
|
+
converter: s("")
|
|
1156
|
+
},
|
|
1157
|
+
icon: {
|
|
1158
|
+
type: String,
|
|
1159
|
+
converter: s("")
|
|
1160
|
+
},
|
|
1161
|
+
size: {
|
|
1162
|
+
type: String,
|
|
1163
|
+
converter: s("medium", [
|
|
1164
|
+
"large",
|
|
1165
|
+
"medium",
|
|
1166
|
+
"small"
|
|
1167
|
+
])
|
|
1168
|
+
},
|
|
1169
|
+
disabled: {
|
|
1170
|
+
type: Boolean,
|
|
1171
|
+
converter: r(!1)
|
|
1172
|
+
},
|
|
1173
|
+
tooltip: {
|
|
1174
|
+
type: String,
|
|
1175
|
+
converter: s("")
|
|
1176
|
+
},
|
|
1177
|
+
keyTip: {
|
|
1178
|
+
type: String,
|
|
1179
|
+
converter: s(null),
|
|
1180
|
+
attribute: "key-tip"
|
|
1181
|
+
},
|
|
1182
|
+
defaultRenderer: { attribute: !1 },
|
|
1183
|
+
iconTemplateRenderer: { attribute: !1 }
|
|
1184
|
+
};
|
|
2525
1185
|
}
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
`)}
|
|
2546
|
-
</div>
|
|
2547
|
-
`;
|
|
1186
|
+
#e = new n(this);
|
|
1187
|
+
#t = new t(this, x, {
|
|
1188
|
+
idPrefix: "mp-ribbon-dropdown-button",
|
|
1189
|
+
inputs: () => ({
|
|
1190
|
+
itemId: this.itemId,
|
|
1191
|
+
label: this.label,
|
|
1192
|
+
icon: this.icon,
|
|
1193
|
+
size: this.size,
|
|
1194
|
+
disabled: this.disabled,
|
|
1195
|
+
tooltip: this.tooltip,
|
|
1196
|
+
keyTip: this.keyTip
|
|
1197
|
+
}),
|
|
1198
|
+
hostBag: (e) => ({
|
|
1199
|
+
...e.view.root,
|
|
1200
|
+
"data-mps": "ribbon"
|
|
1201
|
+
})
|
|
1202
|
+
});
|
|
1203
|
+
constructor() {
|
|
1204
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "", this.keyTip = null;
|
|
2548
1205
|
}
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
1206
|
+
createRenderRoot() {
|
|
1207
|
+
return this;
|
|
1208
|
+
}
|
|
1209
|
+
willUpdate() {
|
|
1210
|
+
this.#e.capture();
|
|
1211
|
+
}
|
|
1212
|
+
render() {
|
|
1213
|
+
return fe({
|
|
1214
|
+
...this.#t.props(),
|
|
1215
|
+
slots: {
|
|
1216
|
+
...this.#e.slots,
|
|
1217
|
+
...this.defaultRenderer ? { default: this.defaultRenderer() } : {},
|
|
1218
|
+
...this.iconTemplateRenderer ? { iconTemplate: this.iconTemplateRenderer() } : {}
|
|
1219
|
+
}
|
|
1220
|
+
});
|
|
2558
1221
|
}
|
|
2559
1222
|
};
|
|
2560
|
-
|
|
2561
|
-
type: String,
|
|
2562
|
-
attribute: "selected-value",
|
|
2563
|
-
reflect: !0
|
|
2564
|
-
})], B.prototype, "selectedValue", void 0), t([s({ type: Array })], B.prototype, "buttons", void 0), customElements.define("mp-ribbon-group-button", B);
|
|
1223
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-dropdown-button") || customElements.define("mp-ribbon-dropdown-button", q);
|
|
2565
1224
|
//#endregion
|
|
2566
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
background: var(--bs-ribbon-tabpanel-bg, #fff);
|
|
2581
|
-
}
|
|
1225
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-menu-item.view.generated.ts
|
|
1226
|
+
function pe({ view: e, slots: t = {} }) {
|
|
1227
|
+
return l`
|
|
1228
|
+
<button data-mps="ribbon" ${o(e.button)}>
|
|
1229
|
+
${e.checkable ? l`
|
|
1230
|
+
<span data-mps="ribbon" ${o(e.parts.menuCheck)}>${e.check}</span>
|
|
1231
|
+
` : u}
|
|
1232
|
+
<span data-mps="ribbon" ${o(e.parts.menuIcon)}>
|
|
1233
|
+
${t.iconTemplate === void 0 ? l`
|
|
1234
|
+
${e.icon}
|
|
1235
|
+
` : t.iconTemplate}
|
|
1236
|
+
</span>
|
|
1237
|
+
<span data-mps="ribbon" ${o(e.parts.menuLabel)}>${e.label}</span>
|
|
1238
|
+
</button>
|
|
2582
1239
|
`;
|
|
1240
|
+
}
|
|
1241
|
+
//#endregion
|
|
1242
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-menu-item.generated.ts
|
|
1243
|
+
var J = class extends c {
|
|
1244
|
+
static {
|
|
1245
|
+
this.properties = {
|
|
1246
|
+
itemId: {
|
|
1247
|
+
type: String,
|
|
1248
|
+
converter: s(""),
|
|
1249
|
+
attribute: "item-id"
|
|
1250
|
+
},
|
|
1251
|
+
label: {
|
|
1252
|
+
type: String,
|
|
1253
|
+
converter: s("")
|
|
1254
|
+
},
|
|
1255
|
+
icon: {
|
|
1256
|
+
type: String,
|
|
1257
|
+
converter: s("")
|
|
1258
|
+
},
|
|
1259
|
+
kind: {
|
|
1260
|
+
type: String,
|
|
1261
|
+
converter: s("action", [
|
|
1262
|
+
"action",
|
|
1263
|
+
"checkbox",
|
|
1264
|
+
"radio"
|
|
1265
|
+
])
|
|
1266
|
+
},
|
|
1267
|
+
checked: {
|
|
1268
|
+
type: Boolean,
|
|
1269
|
+
converter: r(!1)
|
|
1270
|
+
},
|
|
1271
|
+
disabled: {
|
|
1272
|
+
type: Boolean,
|
|
1273
|
+
converter: r(!1)
|
|
1274
|
+
},
|
|
1275
|
+
iconTemplateRenderer: { attribute: !1 }
|
|
1276
|
+
};
|
|
1277
|
+
}
|
|
1278
|
+
#e = new n(this);
|
|
1279
|
+
#t = new t(this, ie, {
|
|
1280
|
+
idPrefix: "mp-ribbon-menu-item",
|
|
1281
|
+
inputs: () => ({
|
|
1282
|
+
itemId: this.itemId,
|
|
1283
|
+
label: this.label,
|
|
1284
|
+
icon: this.icon,
|
|
1285
|
+
kind: this.kind,
|
|
1286
|
+
checked: this.checked,
|
|
1287
|
+
disabled: this.disabled
|
|
1288
|
+
}),
|
|
1289
|
+
hostBag: (e) => ({
|
|
1290
|
+
...e.view.root,
|
|
1291
|
+
"data-mps": "ribbon"
|
|
1292
|
+
}),
|
|
1293
|
+
models: ["checked"]
|
|
1294
|
+
});
|
|
1295
|
+
constructor() {
|
|
1296
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.kind = "action", this.checked = !1, this.disabled = !1;
|
|
1297
|
+
}
|
|
1298
|
+
createRenderRoot() {
|
|
1299
|
+
return this;
|
|
1300
|
+
}
|
|
1301
|
+
willUpdate() {
|
|
1302
|
+
this.#e.capture();
|
|
2583
1303
|
}
|
|
2584
1304
|
render() {
|
|
2585
|
-
return
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
<slot></slot>
|
|
2593
|
-
</div>
|
|
2594
|
-
`;
|
|
1305
|
+
return pe({
|
|
1306
|
+
...this.#t.props(),
|
|
1307
|
+
slots: {
|
|
1308
|
+
...this.#e.slots,
|
|
1309
|
+
...this.iconTemplateRenderer ? { iconTemplate: this.iconTemplateRenderer() } : {}
|
|
1310
|
+
}
|
|
1311
|
+
});
|
|
2595
1312
|
}
|
|
2596
1313
|
};
|
|
2597
|
-
|
|
1314
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-menu-item") || customElements.define("mp-ribbon-menu-item", J);
|
|
2598
1315
|
//#endregion
|
|
2599
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
1316
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-menu-separator.view.generated.ts
|
|
1317
|
+
function Y({ root: e, slots: t = {} }) {
|
|
1318
|
+
return l`
|
|
1319
|
+
`;
|
|
1320
|
+
}
|
|
1321
|
+
//#endregion
|
|
1322
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-menu-separator.generated.ts
|
|
1323
|
+
var X = class extends c {
|
|
2604
1324
|
static {
|
|
2605
|
-
this.
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
color: inherit;
|
|
2618
|
-
font-size: 14px;
|
|
2619
|
-
font-family: inherit;
|
|
2620
|
-
}
|
|
2621
|
-
.gallery-item:hover:not(:disabled):not(.selected) {
|
|
2622
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
2623
|
-
border-color: var(--bs-ribbon-item-hover-border, #ced4da);
|
|
2624
|
-
}
|
|
2625
|
-
.gallery-item.selected {
|
|
2626
|
-
background: var(--bs-ribbon-item-pressed-bg, #dee2e6);
|
|
2627
|
-
border-color: var(--bs-ribbon-app-accent, #0d6efd);
|
|
2628
|
-
}
|
|
2629
|
-
.gallery-item:focus-visible {
|
|
2630
|
-
outline: 2px solid var(--bs-ribbon-app-accent, #0d6efd);
|
|
2631
|
-
outline-offset: -2px;
|
|
2632
|
-
}
|
|
2633
|
-
.gallery-item:disabled {
|
|
2634
|
-
opacity: 0.5;
|
|
2635
|
-
cursor: not-allowed;
|
|
2636
|
-
}
|
|
2637
|
-
`];
|
|
1325
|
+
this.properties = {};
|
|
1326
|
+
}
|
|
1327
|
+
#e = new t(this, ae, {
|
|
1328
|
+
idPrefix: "mp-ribbon-menu-separator",
|
|
1329
|
+
inputs: () => ({}),
|
|
1330
|
+
hostBag: (e) => ({
|
|
1331
|
+
...e.root,
|
|
1332
|
+
"data-mps": "ribbon"
|
|
1333
|
+
})
|
|
1334
|
+
});
|
|
1335
|
+
createRenderRoot() {
|
|
1336
|
+
return this;
|
|
2638
1337
|
}
|
|
2639
1338
|
render() {
|
|
2640
|
-
return
|
|
2641
|
-
<button
|
|
2642
|
-
class="gallery-item ${this.selected ? "selected" : ""}"
|
|
2643
|
-
?disabled="${this.disabled}"
|
|
2644
|
-
role="option"
|
|
2645
|
-
aria-selected="${this.selected}"
|
|
2646
|
-
aria-label="${this.label}"
|
|
2647
|
-
title="${this.label}"
|
|
2648
|
-
@click="${this.onClick}"
|
|
2649
|
-
>
|
|
2650
|
-
<slot name="icon">
|
|
2651
|
-
${this.icon ? a`<span>${this.icon}</span>` : a`<span>${this.label}</span>`}
|
|
2652
|
-
</slot>
|
|
2653
|
-
</button>
|
|
2654
|
-
`;
|
|
2655
|
-
}
|
|
2656
|
-
onClick() {
|
|
2657
|
-
this.disabled || this.dispatchEvent(new CustomEvent("gallery-select", {
|
|
2658
|
-
detail: { itemId: this.itemId },
|
|
2659
|
-
bubbles: !0,
|
|
2660
|
-
composed: !0
|
|
2661
|
-
}));
|
|
1339
|
+
return Y({ ...this.#e.props() });
|
|
2662
1340
|
}
|
|
2663
1341
|
};
|
|
2664
|
-
|
|
2665
|
-
type: String,
|
|
2666
|
-
attribute: "item-id"
|
|
2667
|
-
})], H.prototype, "itemId", void 0), t([s({ type: String })], H.prototype, "label", void 0), t([s({ type: String })], H.prototype, "icon", void 0), t([s({
|
|
2668
|
-
type: Boolean,
|
|
2669
|
-
reflect: !0
|
|
2670
|
-
})], H.prototype, "selected", void 0), t([s({ type: Boolean })], H.prototype, "disabled", void 0), customElements.define("mp-ribbon-gallery-item", H);
|
|
1342
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-menu-separator") || customElements.define("mp-ribbon-menu-separator", X);
|
|
2671
1343
|
//#endregion
|
|
2672
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
this.styles = i`
|
|
2679
|
-
:host { display: inline-flex; }
|
|
2680
|
-
:host([size="small"]) { display: flex; width: 100%; }
|
|
1344
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-gallery.view.generated.ts
|
|
1345
|
+
function me({ view: e, columns: t, slots: n = {} }) {
|
|
1346
|
+
return l`
|
|
1347
|
+
<div data-mps="ribbon" ${o(e.control)} style=${p(t)}>
|
|
1348
|
+
${n.default === void 0 ? u : n.default}
|
|
1349
|
+
</div>
|
|
2681
1350
|
`;
|
|
1351
|
+
}
|
|
1352
|
+
//#endregion
|
|
1353
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-gallery.generated.ts
|
|
1354
|
+
var Z = class extends c {
|
|
1355
|
+
static {
|
|
1356
|
+
this.properties = {
|
|
1357
|
+
itemId: {
|
|
1358
|
+
type: String,
|
|
1359
|
+
converter: s(""),
|
|
1360
|
+
attribute: "item-id"
|
|
1361
|
+
},
|
|
1362
|
+
label: {
|
|
1363
|
+
type: String,
|
|
1364
|
+
converter: s("")
|
|
1365
|
+
},
|
|
1366
|
+
icon: {
|
|
1367
|
+
type: String,
|
|
1368
|
+
converter: s("")
|
|
1369
|
+
},
|
|
1370
|
+
size: {
|
|
1371
|
+
type: String,
|
|
1372
|
+
converter: s("medium", [
|
|
1373
|
+
"large",
|
|
1374
|
+
"medium",
|
|
1375
|
+
"small"
|
|
1376
|
+
])
|
|
1377
|
+
},
|
|
1378
|
+
disabled: {
|
|
1379
|
+
type: Boolean,
|
|
1380
|
+
converter: r(!1)
|
|
1381
|
+
},
|
|
1382
|
+
tooltip: {
|
|
1383
|
+
type: String,
|
|
1384
|
+
converter: s("")
|
|
1385
|
+
},
|
|
1386
|
+
keyTip: {
|
|
1387
|
+
type: String,
|
|
1388
|
+
converter: s(null),
|
|
1389
|
+
attribute: "key-tip"
|
|
1390
|
+
},
|
|
1391
|
+
columns: {
|
|
1392
|
+
type: Number,
|
|
1393
|
+
converter: a(4)
|
|
1394
|
+
},
|
|
1395
|
+
defaultRenderer: { attribute: !1 }
|
|
1396
|
+
};
|
|
1397
|
+
}
|
|
1398
|
+
#e = new n(this);
|
|
1399
|
+
#t = new t(this, ne, {
|
|
1400
|
+
idPrefix: "mp-ribbon-gallery",
|
|
1401
|
+
inputs: () => ({
|
|
1402
|
+
itemId: this.itemId,
|
|
1403
|
+
label: this.label,
|
|
1404
|
+
icon: this.icon,
|
|
1405
|
+
size: this.size,
|
|
1406
|
+
disabled: this.disabled,
|
|
1407
|
+
tooltip: this.tooltip,
|
|
1408
|
+
keyTip: this.keyTip,
|
|
1409
|
+
columns: this.columns
|
|
1410
|
+
}),
|
|
1411
|
+
hostBag: (e) => ({
|
|
1412
|
+
...e.view.root,
|
|
1413
|
+
"data-mps": "ribbon"
|
|
1414
|
+
})
|
|
1415
|
+
});
|
|
1416
|
+
constructor() {
|
|
1417
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.size = "medium", this.disabled = !1, this.tooltip = "", this.keyTip = null, this.columns = 4;
|
|
1418
|
+
}
|
|
1419
|
+
createRenderRoot() {
|
|
1420
|
+
return this;
|
|
1421
|
+
}
|
|
1422
|
+
willUpdate() {
|
|
1423
|
+
this.#e.capture();
|
|
2682
1424
|
}
|
|
2683
1425
|
render() {
|
|
2684
|
-
return
|
|
1426
|
+
return me({
|
|
1427
|
+
...this.#t.props(),
|
|
1428
|
+
slots: {
|
|
1429
|
+
...this.#e.slots,
|
|
1430
|
+
...this.defaultRenderer ? { default: this.defaultRenderer() } : {}
|
|
1431
|
+
}
|
|
1432
|
+
});
|
|
2685
1433
|
}
|
|
2686
1434
|
};
|
|
2687
|
-
|
|
2688
|
-
type: String,
|
|
2689
|
-
reflect: !0
|
|
2690
|
-
})], U.prototype, "size", void 0), customElements.define("mp-ribbon-template-item", U);
|
|
1435
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-gallery") || customElements.define("mp-ribbon-gallery", Z);
|
|
2691
1436
|
//#endregion
|
|
2692
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
1437
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-gallery-item.view.generated.ts
|
|
1438
|
+
function he({ view: e, slots: t = {} }) {
|
|
1439
|
+
return l`
|
|
1440
|
+
<button data-mps="ribbon" ${o(e.control)}>
|
|
1441
|
+
<span data-mps="ribbon" ${o(e.parts.galleryIcon)}>
|
|
1442
|
+
${t.iconTemplate === void 0 ? l`
|
|
1443
|
+
${e.icon || e.label}
|
|
1444
|
+
` : t.iconTemplate}
|
|
1445
|
+
</span>
|
|
1446
|
+
</button>
|
|
1447
|
+
`;
|
|
1448
|
+
}
|
|
1449
|
+
//#endregion
|
|
1450
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-gallery-item.generated.ts
|
|
1451
|
+
var Q = class extends c {
|
|
2697
1452
|
static {
|
|
2698
|
-
this.
|
|
2699
|
-
|
|
2700
|
-
|
|
1453
|
+
this.properties = {
|
|
1454
|
+
itemId: {
|
|
1455
|
+
type: String,
|
|
1456
|
+
converter: s(""),
|
|
1457
|
+
attribute: "item-id"
|
|
1458
|
+
},
|
|
1459
|
+
label: {
|
|
1460
|
+
type: String,
|
|
1461
|
+
converter: s("")
|
|
1462
|
+
},
|
|
1463
|
+
icon: {
|
|
1464
|
+
type: String,
|
|
1465
|
+
converter: s("")
|
|
1466
|
+
},
|
|
1467
|
+
selected: {
|
|
1468
|
+
type: Boolean,
|
|
1469
|
+
converter: r(!1)
|
|
1470
|
+
},
|
|
1471
|
+
disabled: {
|
|
1472
|
+
type: Boolean,
|
|
1473
|
+
converter: r(!1)
|
|
1474
|
+
},
|
|
1475
|
+
iconTemplateRenderer: { attribute: !1 }
|
|
2701
1476
|
};
|
|
2702
1477
|
}
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
}
|
|
2721
|
-
.menu-item:hover:not(:disabled),
|
|
2722
|
-
.menu-item:focus-visible {
|
|
2723
|
-
background: var(--bs-ribbon-item-hover-bg, #e9ecef);
|
|
2724
|
-
outline: none;
|
|
2725
|
-
}
|
|
2726
|
-
.menu-item:disabled {
|
|
2727
|
-
opacity: 0.5;
|
|
2728
|
-
cursor: not-allowed;
|
|
2729
|
-
}
|
|
2730
|
-
@media (pointer: coarse) {
|
|
2731
|
-
.menu-item {
|
|
2732
|
-
min-height: 44px;
|
|
2733
|
-
padding: 10px 14px;
|
|
2734
|
-
}
|
|
2735
|
-
}
|
|
2736
|
-
.menu-item-check {
|
|
2737
|
-
width: 14px;
|
|
2738
|
-
flex: 0 0 auto;
|
|
2739
|
-
text-align: center;
|
|
2740
|
-
font-size: 11px;
|
|
2741
|
-
line-height: 1;
|
|
2742
|
-
}
|
|
2743
|
-
.menu-item-icon {
|
|
2744
|
-
width: 16px;
|
|
2745
|
-
text-align: center;
|
|
2746
|
-
flex: 0 0 auto;
|
|
2747
|
-
line-height: 1;
|
|
2748
|
-
}
|
|
2749
|
-
.menu-item-label { flex: 1; }
|
|
2750
|
-
`;
|
|
1478
|
+
#e = new n(this);
|
|
1479
|
+
#t = new t(this, S, {
|
|
1480
|
+
idPrefix: "mp-ribbon-gallery-item",
|
|
1481
|
+
inputs: () => ({
|
|
1482
|
+
itemId: this.itemId,
|
|
1483
|
+
label: this.label,
|
|
1484
|
+
icon: this.icon,
|
|
1485
|
+
selected: this.selected,
|
|
1486
|
+
disabled: this.disabled
|
|
1487
|
+
}),
|
|
1488
|
+
hostBag: (e) => ({
|
|
1489
|
+
...e.view.root,
|
|
1490
|
+
"data-mps": "ribbon"
|
|
1491
|
+
})
|
|
1492
|
+
});
|
|
1493
|
+
constructor() {
|
|
1494
|
+
super(), this.itemId = "", this.label = "", this.icon = "", this.selected = !1, this.disabled = !1;
|
|
2751
1495
|
}
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
return a`
|
|
2755
|
-
<button
|
|
2756
|
-
class="menu-item"
|
|
2757
|
-
role="${e}"
|
|
2758
|
-
aria-checked="${this.kind === "action" ? o : String(this.checked)}"
|
|
2759
|
-
?disabled="${this.disabled}"
|
|
2760
|
-
@click="${this.onActivate}"
|
|
2761
|
-
>
|
|
2762
|
-
${this.kind === "action" ? o : a`<span class="menu-item-check">${this.checked ? "✓" : ""}</span>`}
|
|
2763
|
-
<span class="menu-item-icon">
|
|
2764
|
-
<slot name="icon">${this.icon ? this.icon : ""}</slot>
|
|
2765
|
-
</span>
|
|
2766
|
-
<span class="menu-item-label">${this.label}</span>
|
|
2767
|
-
</button>
|
|
2768
|
-
`;
|
|
1496
|
+
createRenderRoot() {
|
|
1497
|
+
return this;
|
|
2769
1498
|
}
|
|
2770
|
-
|
|
2771
|
-
this.
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
1499
|
+
willUpdate() {
|
|
1500
|
+
this.#e.capture();
|
|
1501
|
+
}
|
|
1502
|
+
render() {
|
|
1503
|
+
return he({
|
|
1504
|
+
...this.#t.props(),
|
|
1505
|
+
slots: {
|
|
1506
|
+
...this.#e.slots,
|
|
1507
|
+
...this.iconTemplateRenderer ? { iconTemplate: this.iconTemplateRenderer() } : {}
|
|
1508
|
+
}
|
|
1509
|
+
});
|
|
2779
1510
|
}
|
|
2780
1511
|
};
|
|
2781
|
-
|
|
2782
|
-
type: String,
|
|
2783
|
-
attribute: "item-id"
|
|
2784
|
-
})], W.prototype, "itemId", void 0), t([s({ type: String })], W.prototype, "label", void 0), t([s({ type: String })], W.prototype, "icon", void 0), t([s({ type: String })], W.prototype, "kind", void 0), t([s({ type: Boolean })], W.prototype, "checked", void 0), t([s({ type: Boolean })], W.prototype, "disabled", void 0), customElements.define("mp-ribbon-menu-item", W);
|
|
1512
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-gallery-item") || customElements.define("mp-ribbon-gallery-item", Q);
|
|
2785
1513
|
//#endregion
|
|
2786
|
-
//#region libs/mintplayer-web-components/ribbon/src/
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
:host { display: block; }
|
|
2791
|
-
.separator {
|
|
2792
|
-
height: 1px;
|
|
2793
|
-
background: var(--bs-ribbon-group-separator, rgba(0, 0, 0, 0.12));
|
|
2794
|
-
margin: 4px 0;
|
|
2795
|
-
}
|
|
1514
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/ribbon-template-item.view.generated.ts
|
|
1515
|
+
function ge({ root: e, slots: t = {} }) {
|
|
1516
|
+
return l`
|
|
1517
|
+
${t.default === void 0 ? u : t.default}
|
|
2796
1518
|
`;
|
|
1519
|
+
}
|
|
1520
|
+
//#endregion
|
|
1521
|
+
//#region libs/mintplayer-web-components/ribbon/src/generated/mp-ribbon-template-item.generated.ts
|
|
1522
|
+
var $ = class extends c {
|
|
1523
|
+
static {
|
|
1524
|
+
this.properties = {
|
|
1525
|
+
size: {
|
|
1526
|
+
type: String,
|
|
1527
|
+
converter: s("medium", [
|
|
1528
|
+
"large",
|
|
1529
|
+
"medium",
|
|
1530
|
+
"small"
|
|
1531
|
+
])
|
|
1532
|
+
},
|
|
1533
|
+
defaultRenderer: { attribute: !1 }
|
|
1534
|
+
};
|
|
2797
1535
|
}
|
|
2798
|
-
|
|
2799
|
-
|
|
1536
|
+
#e = new n(this);
|
|
1537
|
+
#t = new t(this, ce, {
|
|
1538
|
+
idPrefix: "mp-ribbon-template-item",
|
|
1539
|
+
inputs: () => ({ size: this.size }),
|
|
1540
|
+
hostBag: (e) => ({
|
|
1541
|
+
...e.root,
|
|
1542
|
+
"data-mps": "ribbon"
|
|
1543
|
+
})
|
|
1544
|
+
});
|
|
1545
|
+
constructor() {
|
|
1546
|
+
super(), this.size = "medium";
|
|
1547
|
+
}
|
|
1548
|
+
createRenderRoot() {
|
|
1549
|
+
return this;
|
|
1550
|
+
}
|
|
1551
|
+
willUpdate() {
|
|
1552
|
+
this.#e.capture();
|
|
2800
1553
|
}
|
|
2801
1554
|
render() {
|
|
2802
|
-
return
|
|
1555
|
+
return ge({
|
|
1556
|
+
...this.#t.props(),
|
|
1557
|
+
slots: {
|
|
1558
|
+
...this.#e.slots,
|
|
1559
|
+
...this.defaultRenderer ? { default: this.defaultRenderer() } : {}
|
|
1560
|
+
}
|
|
1561
|
+
});
|
|
2803
1562
|
}
|
|
2804
1563
|
};
|
|
2805
|
-
customElements.define("mp-ribbon-
|
|
1564
|
+
typeof document < "u" && document.head && d("ribbon", w), customElements.get("mp-ribbon-template-item") || customElements.define("mp-ribbon-template-item", $);
|
|
2806
1565
|
//#endregion
|
|
2807
|
-
export {
|
|
1566
|
+
export { P as MpQuickAccessToolbar, A as MpRibbon, I as MpRibbonButton, B as MpRibbonCheckbox, W as MpRibbonColorPicker, H as MpRibbonCombobox, O as MpRibbonContextualTabSet, q as MpRibbonDropdownButton, Z as MpRibbonGallery, Q as MpRibbonGalleryItem, M as MpRibbonGroup, G as MpRibbonGroupButton, J as MpRibbonMenuItem, X as MpRibbonMenuSeparator, K as MpRibbonSplitButton, E as MpRibbonTab, $ as MpRibbonTemplateItem, R as MpRibbonToggleButton, ee as RIBBON_LABELS, m as bandTextColor };
|