@nextcloud/vue 8.17.0 → 8.17.1
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/CHANGELOG.md +11 -0
- package/dist/Components/NcAppNavigation.cjs +1 -1
- package/dist/Components/NcAppNavigation.mjs +1 -1
- package/dist/Components/NcAppSidebar.cjs +1 -1
- package/dist/Components/NcAppSidebar.mjs +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
- package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
- package/dist/Components/NcDateTime.cjs +1 -1
- package/dist/Components/NcDateTime.mjs +1 -1
- package/dist/Components/NcDateTimePicker.cjs +2 -2
- package/dist/Components/NcDateTimePicker.mjs +2 -2
- package/dist/Components/NcDateTimePickerNative.cjs +1 -1
- package/dist/Components/NcDateTimePickerNative.mjs +1 -1
- package/dist/Components/NcHeaderMenu.cjs +1 -1
- package/dist/Components/NcHeaderMenu.mjs +1 -1
- package/dist/Components/NcModal.cjs +1 -1
- package/dist/Components/NcModal.mjs +1 -1
- package/dist/Components/NcRichContenteditable.cjs +1 -1
- package/dist/Components/NcRichContenteditable.mjs +1 -1
- package/dist/Components/NcRichText.cjs +1 -1
- package/dist/Components/NcRichText.mjs +2 -2
- package/dist/Composables/useHotKey.cjs +3 -1
- package/dist/Composables/useHotKey.cjs.map +1 -1
- package/dist/Composables/useHotKey.mjs +3 -1
- package/dist/Composables/useHotKey.mjs.map +1 -1
- package/dist/assets/{NcAppNavigation-YKWEqLwF.css → NcAppNavigation-fhylfTxx.css} +15 -12
- package/dist/assets/{NcCheckboxRadioSwitch-DWtZ7faS.css → NcCheckboxRadioSwitch-D5gP42gi.css} +31 -31
- package/dist/assets/{NcDateTimePicker-C7MhJgGO.css → NcDateTimePicker-BshzbbKT.css} +7 -7
- package/dist/assets/{NcHeaderMenu-6C_FnkA6.css → NcHeaderMenu-DjPL7Ozo.css} +12 -13
- package/dist/assets/{NcRichText-BKnmtD0n.css → NcRichText-DqDAPQPD.css} +3 -3
- package/dist/chunks/{NcAppNavigation-DAUiOJeC.mjs → NcAppNavigation-BDbJ4m0b.mjs} +2 -2
- package/dist/chunks/{NcAppNavigation-DAUiOJeC.mjs.map → NcAppNavigation-BDbJ4m0b.mjs.map} +1 -1
- package/dist/chunks/{NcAppNavigation-BSPUmFOP.cjs → NcAppNavigation-BPcFGTv2.cjs} +2 -2
- package/dist/chunks/{NcAppNavigation-BSPUmFOP.cjs.map → NcAppNavigation-BPcFGTv2.cjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-CxX00b2d.cjs → NcAppSidebar-BUP_CGWJ.cjs} +1 -1
- package/dist/chunks/{NcAppSidebar-CxX00b2d.cjs.map → NcAppSidebar-BUP_CGWJ.cjs.map} +1 -1
- package/dist/chunks/{NcAppSidebar-CiTS4hjx.mjs → NcAppSidebar-DZb0qhUN.mjs} +1 -1
- package/dist/chunks/{NcAppSidebar-CiTS4hjx.mjs.map → NcAppSidebar-DZb0qhUN.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-DeufC6NH.cjs → NcCheckboxRadioSwitch-B5i9ebMR.cjs} +4 -4
- package/dist/chunks/{NcCheckboxRadioSwitch-DnnuXT1_.mjs.map → NcCheckboxRadioSwitch-B5i9ebMR.cjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch-DnnuXT1_.mjs → NcCheckboxRadioSwitch-D1Iu7jy1.mjs} +4 -4
- package/dist/chunks/{NcCheckboxRadioSwitch-DeufC6NH.cjs.map → NcCheckboxRadioSwitch-D1Iu7jy1.mjs.map} +1 -1
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_feaabebe_lang-BRgyzABt.mjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_00597cce_lang-BwT3zLFj.mjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_00597cce_lang-BwT3zLFj.mjs.map +1 -0
- package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_feaabebe_lang-jOhbAsqn.cjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_00597cce_lang-CP9n1exV.cjs} +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_00597cce_lang-CP9n1exV.cjs.map +1 -0
- package/dist/chunks/{NcDateTime-CFcnq5-P.mjs → NcDateTime-3T3J08Bd.mjs} +7 -7
- package/dist/chunks/NcDateTime-3T3J08Bd.mjs.map +1 -0
- package/dist/chunks/{NcDateTime-Bfv9PBx5.cjs → NcDateTime-4AuZ9Qlt.cjs} +7 -7
- package/dist/chunks/NcDateTime-4AuZ9Qlt.cjs.map +1 -0
- package/dist/chunks/{NcHeaderMenu-DGrf5SDZ.mjs → NcHeaderMenu-CeU4L29l.mjs} +2 -2
- package/dist/chunks/{NcHeaderMenu-DGrf5SDZ.mjs.map → NcHeaderMenu-CeU4L29l.mjs.map} +1 -1
- package/dist/chunks/{NcHeaderMenu-D6vHevbN.cjs → NcHeaderMenu-CwgL6yg6.cjs} +2 -2
- package/dist/chunks/{NcHeaderMenu-D6vHevbN.cjs.map → NcHeaderMenu-CwgL6yg6.cjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-CxlVyONK.mjs → NcRichContenteditable-CZOXY-O9.mjs} +2 -2
- package/dist/chunks/{NcRichContenteditable-CxlVyONK.mjs.map → NcRichContenteditable-CZOXY-O9.mjs.map} +1 -1
- package/dist/chunks/{NcRichContenteditable-DgpXktip.cjs → NcRichContenteditable-DglXhZSr.cjs} +2 -2
- package/dist/chunks/{NcRichContenteditable-DgpXktip.cjs.map → NcRichContenteditable-DglXhZSr.cjs.map} +1 -1
- package/dist/chunks/{NcRichText-BvfYsu9z.mjs → NcRichText-BX80Ezvi.mjs} +5 -3
- package/dist/chunks/{NcRichText-BvfYsu9z.mjs.map → NcRichText-BX80Ezvi.mjs.map} +1 -1
- package/dist/chunks/{NcRichText-C90luaNZ.cjs → NcRichText-SLTQmr1-.cjs} +5 -3
- package/dist/chunks/{NcRichText-C90luaNZ.cjs.map → NcRichText-SLTQmr1-.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-BWAf-wih.cjs → ScopeComponent-DDA-FdAa.cjs} +1 -1
- package/dist/chunks/{ScopeComponent-BWAf-wih.cjs.map → ScopeComponent-DDA-FdAa.cjs.map} +1 -1
- package/dist/chunks/{ScopeComponent-lSfP0CG7.mjs → ScopeComponent-_wrdOOmW.mjs} +1 -1
- package/dist/chunks/{ScopeComponent-lSfP0CG7.mjs.map → ScopeComponent-_wrdOOmW.mjs.map} +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.mjs +9 -9
- package/package.json +1 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_feaabebe_lang-BRgyzABt.mjs.map +0 -1
- package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_feaabebe_lang-jOhbAsqn.cjs.map +0 -1
- package/dist/chunks/NcDateTime-Bfv9PBx5.cjs.map +0 -1
- package/dist/chunks/NcDateTime-CFcnq5-P.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
# Changelog
|
|
7
7
|
|
|
8
|
+
## [v8.17.1](https://github.com/nextcloud-libraries/nextcloud-vue/tree/v8.17.1) (2024-08-30)
|
|
9
|
+
[Full Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.17.0...v8.17.1)
|
|
10
|
+
|
|
11
|
+
### 🐛 Fixed bugs
|
|
12
|
+
* fix(NcAppNavigation): keep border only on mobile [\#6008](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6008) \([ShGKme](https://github.com/ShGKme)\)
|
|
13
|
+
* fix(NcRichText): discard reference widgets on text update [\#6011](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6011) \([Antreesy](https://github.com/Antreesy)\)
|
|
14
|
+
* fix(NcCheckBoxRadioSwitch): do not toggle on a click on a link inside [\#6013](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6013) \([DorraJaouad](https://github.com/DorraJaouad)\)
|
|
15
|
+
* fix: Adjust time intervals for relative time [\#6017](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6017) \([susnux](https://github.com/susnux)\)
|
|
16
|
+
* fix(NcHeaderMenu): Remove padding from popover menu [\#6026](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6026) \([susnux](https://github.com/susnux)\)
|
|
17
|
+
* fix(useHotKey): respect press of MacOS Cmd key as Ctrl key [\#6021](https://github.com/nextcloud-libraries/nextcloud-vue/pull/6021) \([Antreesy](https://github.com/Antreesy)\)
|
|
18
|
+
|
|
8
19
|
## [v8.17.0](https://github.com/nextcloud-libraries/nextcloud-vue/tree/v8.17.0) (2024-08-21)
|
|
9
20
|
[Full Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.16.0...v8.17.0)
|
|
10
21
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('../assets/NcDateTimePicker-
|
|
1
|
+
require('../assets/NcDateTimePicker-BshzbbKT.css');
|
|
2
2
|
"use strict";
|
|
3
3
|
const _l10n = require("../chunks/_l10n-BEDw4wKe.cjs");
|
|
4
4
|
const GenRandomId = require("../chunks/GenRandomId-BQDud3d4.cjs");
|
|
@@ -7,7 +7,7 @@ const NcPopover = require("../chunks/NcPopover-C0G7sLVP.cjs");
|
|
|
7
7
|
const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-V0q-tHlQ.cjs");
|
|
8
8
|
const l10n = require("@nextcloud/l10n");
|
|
9
9
|
const DatePicker = require("vue2-datepicker");
|
|
10
|
-
const ScopeComponent = require("../chunks/ScopeComponent-
|
|
10
|
+
const ScopeComponent = require("../chunks/ScopeComponent-DDA-FdAa.cjs");
|
|
11
11
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
12
12
|
const DatePicker__default = /* @__PURE__ */ _interopDefault(DatePicker);
|
|
13
13
|
_l10n.register(_l10n.t36);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../assets/NcDateTimePicker-
|
|
1
|
+
import '../assets/NcDateTimePicker-BshzbbKT.css';
|
|
2
2
|
import { r as register, H as t36, a as t } from "../chunks/_l10n-B4dEPXsr.mjs";
|
|
3
3
|
import { G as GenRandomId } from "../chunks/GenRandomId-CMooMQt0.mjs";
|
|
4
4
|
import { N as NcTimezonePicker } from "../chunks/NcTimezonePicker-DdVLB1Bv.mjs";
|
|
@@ -6,7 +6,7 @@ import { N as NcPopover } from "../chunks/NcPopover-DbeCmze0.mjs";
|
|
|
6
6
|
import { n as normalizeComponent } from "../chunks/_plugin-vue2_normalizer-DU4iP6Vu.mjs";
|
|
7
7
|
import { getMonthNames, getMonthNamesShort, getDayNames, getDayNamesShort, getDayNamesMin, getFirstDay } from "@nextcloud/l10n";
|
|
8
8
|
import DatePicker from "vue2-datepicker";
|
|
9
|
-
import { S as ScopeComponent } from "../chunks/ScopeComponent-
|
|
9
|
+
import { S as ScopeComponent } from "../chunks/ScopeComponent-_wrdOOmW.mjs";
|
|
10
10
|
register(t36);
|
|
11
11
|
const _sfc_main$2 = {
|
|
12
12
|
name: "CalendarBlankIcon",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require('../assets/NcDateTimePickerNative-BAcKr0B3.css');
|
|
2
2
|
"use strict";
|
|
3
3
|
const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-V0q-tHlQ.cjs");
|
|
4
|
-
const ScopeComponent = require("../chunks/ScopeComponent-
|
|
4
|
+
const ScopeComponent = require("../chunks/ScopeComponent-DDA-FdAa.cjs");
|
|
5
5
|
const inputDateTypes = ["date", "datetime-local", "month", "time", "week"];
|
|
6
6
|
const _sfc_main = {
|
|
7
7
|
name: "NcDateTimePickerNative",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../assets/NcDateTimePickerNative-BAcKr0B3.css';
|
|
2
2
|
import { n as normalizeComponent } from "../chunks/_plugin-vue2_normalizer-DU4iP6Vu.mjs";
|
|
3
|
-
import { S as ScopeComponent } from "../chunks/ScopeComponent-
|
|
3
|
+
import { S as ScopeComponent } from "../chunks/ScopeComponent-_wrdOOmW.mjs";
|
|
4
4
|
const inputDateTypes = ["date", "datetime-local", "month", "time", "week"];
|
|
5
5
|
const _sfc_main = {
|
|
6
6
|
name: "NcDateTimePickerNative",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require('../assets/NcModal-Djc2K_kW.css');
|
|
2
2
|
"use strict";
|
|
3
|
-
const ScopeComponent = require("../chunks/ScopeComponent-
|
|
3
|
+
const ScopeComponent = require("../chunks/ScopeComponent-DDA-FdAa.cjs");
|
|
4
4
|
const core = require("@vueuse/core");
|
|
5
5
|
const focusTrap$1 = require("focus-trap");
|
|
6
6
|
const Vue = require("vue");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../assets/NcModal-Djc2K_kW.css';
|
|
2
|
-
import { S as ScopeComponent } from "../chunks/ScopeComponent-
|
|
2
|
+
import { S as ScopeComponent } from "../chunks/ScopeComponent-_wrdOOmW.mjs";
|
|
3
3
|
import { useSwipe } from "@vueuse/core";
|
|
4
4
|
import { createFocusTrap } from "focus-trap";
|
|
5
5
|
import Vue from "vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Mixins_richEditor = require("../chunks/index-CC4ahXvG.cjs");
|
|
4
|
-
const NcRichContenteditable = require("../chunks/NcRichContenteditable-
|
|
4
|
+
const NcRichContenteditable = require("../chunks/NcRichContenteditable-DglXhZSr.cjs");
|
|
5
5
|
exports.NcMentionBubble = Mixins_richEditor.NcMentionBubble;
|
|
6
6
|
exports.NcAutoCompleteResult = NcRichContenteditable.NcAutoCompleteResult;
|
|
7
7
|
exports.default = NcRichContenteditable.NcRichContenteditable;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const NcRichText = require("../chunks/NcRichText-
|
|
3
|
+
const NcRichText = require("../chunks/NcRichText-SLTQmr1-.cjs");
|
|
4
4
|
const Functions_registerReference = require("../chunks/index-Dsgv-f-l.cjs");
|
|
5
5
|
const referencePickerModal = require("../chunks/referencePickerModal-CT32j5pQ.cjs");
|
|
6
6
|
exports.NcReferenceList = NcRichText.NcReferenceList;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NcRichText } from "../chunks/NcRichText-
|
|
2
|
-
import { a } from "../chunks/NcRichText-
|
|
1
|
+
import { N as NcRichText } from "../chunks/NcRichText-BX80Ezvi.mjs";
|
|
2
|
+
import { a } from "../chunks/NcRichText-BX80Ezvi.mjs";
|
|
3
3
|
import { N, d, i, b, r, c, a as a2 } from "../chunks/index-BwyQ2N-M.mjs";
|
|
4
4
|
import { e, f, N as N2, h, a as a3, g, b as b2, c as c2, d as d2, s } from "../chunks/referencePickerModal-DW9uLKIZ.mjs";
|
|
5
5
|
export {
|
|
@@ -3,6 +3,7 @@ var _a, _b, _c;
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const core = require("@vueuse/core");
|
|
5
5
|
const disableKeyboardShortcuts = (_c = (_b = (_a = window.OCP) == null ? void 0 : _a.Accessibility) == null ? void 0 : _b.disableKeyboardShortcuts) == null ? void 0 : _c.call(_b);
|
|
6
|
+
const isMac = /mac|ipad|iphone|darwin/i.test(navigator.userAgent);
|
|
6
7
|
function shouldIgnoreEvent(event) {
|
|
7
8
|
var _a2;
|
|
8
9
|
if (event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement || event.target instanceof HTMLSelectElement || ((_a2 = event.target) == null ? void 0 : _a2.isContentEditable)) {
|
|
@@ -11,7 +12,8 @@ function shouldIgnoreEvent(event) {
|
|
|
11
12
|
return document.getElementsByClassName("modal-mask").length !== 0;
|
|
12
13
|
}
|
|
13
14
|
const eventHandler = (callback, options) => (event) => {
|
|
14
|
-
|
|
15
|
+
const ctrlKeyPressed = isMac ? event.metaKey : event.ctrlKey;
|
|
16
|
+
if (ctrlKeyPressed !== Boolean(options.ctrl)) {
|
|
15
17
|
return;
|
|
16
18
|
} else if (!!options.alt !== event.altKey) {
|
|
17
19
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHotKey.cjs","sources":["../../src/composables/useHotKey/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { onKeyStroke } from '@vueuse/core'\n\nconst disableKeyboardShortcuts = window.OCP?.Accessibility?.disableKeyboardShortcuts?.()\n\n/**\n * Check if event target (active element) is editable (allows input from keyboard) or NcModal is open\n * If true, a hot key should not trigger the callback\n * TODO discuss if we should abort on another interactive elements (button, a, e.t.c)\n *\n * @param {KeyboardEvent} event keyboard event\n * @return {boolean} whether it should prevent callback\n */\nfunction shouldIgnoreEvent(event) {\n\tif (event.target instanceof HTMLInputElement\n\t\t|| event.target instanceof HTMLTextAreaElement\n\t\t|| event.target instanceof HTMLSelectElement\n\t\t|| event.target?.isContentEditable) {\n\t\treturn true\n\t}\n\t/** Abort if any modal/dialog opened */\n\treturn document.getElementsByClassName('modal-mask').length !== 0\n}\n\nconst eventHandler = (callback, options) => (event) => {\n\tif (
|
|
1
|
+
{"version":3,"file":"useHotKey.cjs","sources":["../../src/composables/useHotKey/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { onKeyStroke } from '@vueuse/core'\n\nconst disableKeyboardShortcuts = window.OCP?.Accessibility?.disableKeyboardShortcuts?.()\nconst isMac = /mac|ipad|iphone|darwin/i.test(navigator.userAgent)\n\n/**\n * Check if event target (active element) is editable (allows input from keyboard) or NcModal is open\n * If true, a hot key should not trigger the callback\n * TODO discuss if we should abort on another interactive elements (button, a, e.t.c)\n *\n * @param {KeyboardEvent} event keyboard event\n * @return {boolean} whether it should prevent callback\n */\nfunction shouldIgnoreEvent(event) {\n\tif (event.target instanceof HTMLInputElement\n\t\t|| event.target instanceof HTMLTextAreaElement\n\t\t|| event.target instanceof HTMLSelectElement\n\t\t|| event.target?.isContentEditable) {\n\t\treturn true\n\t}\n\t/** Abort if any modal/dialog opened */\n\treturn document.getElementsByClassName('modal-mask').length !== 0\n}\n\nconst eventHandler = (callback, options) => (event) => {\n\tconst ctrlKeyPressed = isMac ? event.metaKey : event.ctrlKey\n\tif (ctrlKeyPressed !== Boolean(options.ctrl)) {\n\t\t// Ctrl is required and not pressed, or the opposite\n\t\treturn\n\t} else if (!!options.alt !== event.altKey) {\n\t\t// Alt is required and not pressed, or the opposite\n\t\treturn\n\t} else if (!!options.shift !== event.shiftKey) {\n\t\t// Shift is required and not pressed, or the opposite\n\t\treturn\n\t} else if (shouldIgnoreEvent(event)) {\n\t\t// Keyboard shortcuts are disabled, because active element assumes input\n\t\treturn\n\t}\n\n\tif (options.prevent) {\n\t\tevent.preventDefault()\n\t}\n\tif (options.stop) {\n\t\tevent.stopPropagation()\n\t}\n\tcallback(event)\n}\n\n/**\n * @param {string} key - keyboard key or keys to listen to\n * @param {Function} callback - callback function\n * @param {object} options - composable options\n * @see docs/composables/usekeystroke.md\n */\nexport function useHotKey(key, callback = () => {}, options = {}) {\n\tif (disableKeyboardShortcuts) {\n\t\t// Keyboard shortcuts are disabled\n\t\treturn () => {}\n\t}\n\n\tconst stopKeyDown = onKeyStroke(key, eventHandler(callback, options), {\n\t\teventName: 'keydown',\n\t\tdedupe: true,\n\t\tpassive: !options.prevent,\n\t})\n\n\tconst stopKeyUp = options.push\n\t\t? onKeyStroke(key, eventHandler(callback, options), {\n\t\t\teventName: 'keyup',\n\t\t\tpassive: !options.prevent,\n\t\t})\n\t\t: () => {}\n\n\treturn () => {\n\t\tstopKeyDown()\n\t\tstopKeyUp()\n\t}\n}\n"],"names":["_a","onKeyStroke"],"mappings":";;;;AAMA,MAAM,4BAA2B,wBAAO,QAAP,mBAAY,kBAAZ,mBAA2B,6BAA3B;AACjC,MAAM,QAAQ,0BAA0B,KAAK,UAAU,SAAS;AAUhE,SAAS,kBAAkB,OAAO;;AACjC,MAAI,MAAM,kBAAkB,oBACxB,MAAM,kBAAkB,uBACxB,MAAM,kBAAkB,uBACxBA,MAAA,MAAM,WAAN,gBAAAA,IAAc,oBAAmB;AACpC,WAAO;AAAA,EACP;AAED,SAAO,SAAS,uBAAuB,YAAY,EAAE,WAAW;AACjE;AAEA,MAAM,eAAe,CAAC,UAAU,YAAY,CAAC,UAAU;AACtD,QAAM,iBAAiB,QAAQ,MAAM,UAAU,MAAM;AACrD,MAAI,mBAAmB,QAAQ,QAAQ,IAAI,GAAG;AAE7C;AAAA,EACA,WAAU,CAAC,CAAC,QAAQ,QAAQ,MAAM,QAAQ;AAE1C;AAAA,EACA,WAAU,CAAC,CAAC,QAAQ,UAAU,MAAM,UAAU;AAE9C;AAAA,EACF,WAAY,kBAAkB,KAAK,GAAG;AAEpC;AAAA,EACA;AAED,MAAI,QAAQ,SAAS;AACpB,UAAM,eAAgB;AAAA,EACtB;AACD,MAAI,QAAQ,MAAM;AACjB,UAAM,gBAAiB;AAAA,EACvB;AACD,WAAS,KAAK;AACf;AAQO,SAAS,UAAU,KAAK,WAAW,MAAM;AAAA,GAAI,UAAU,CAAA,GAAI;AACjE,MAAI,0BAA0B;AAE7B,WAAO,MAAM;AAAA,IAAE;AAAA,EACf;AAED,QAAM,cAAcC,KAAAA,YAAY,KAAK,aAAa,UAAU,OAAO,GAAG;AAAA,IACrE,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,SAAS,CAAC,QAAQ;AAAA,EACpB,CAAE;AAED,QAAM,YAAY,QAAQ,OACvBA,KAAAA,YAAY,KAAK,aAAa,UAAU,OAAO,GAAG;AAAA,IACnD,WAAW;AAAA,IACX,SAAS,CAAC,QAAQ;AAAA,EACrB,CAAG,IACC,MAAM;AAAA,EAAE;AAEX,SAAO,MAAM;AACZ,gBAAa;AACb,cAAW;AAAA,EACX;AACF;;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
var _a, _b, _c;
|
|
2
2
|
import { onKeyStroke } from "@vueuse/core";
|
|
3
3
|
const disableKeyboardShortcuts = (_c = (_b = (_a = window.OCP) == null ? void 0 : _a.Accessibility) == null ? void 0 : _b.disableKeyboardShortcuts) == null ? void 0 : _c.call(_b);
|
|
4
|
+
const isMac = /mac|ipad|iphone|darwin/i.test(navigator.userAgent);
|
|
4
5
|
function shouldIgnoreEvent(event) {
|
|
5
6
|
var _a2;
|
|
6
7
|
if (event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement || event.target instanceof HTMLSelectElement || ((_a2 = event.target) == null ? void 0 : _a2.isContentEditable)) {
|
|
@@ -9,7 +10,8 @@ function shouldIgnoreEvent(event) {
|
|
|
9
10
|
return document.getElementsByClassName("modal-mask").length !== 0;
|
|
10
11
|
}
|
|
11
12
|
const eventHandler = (callback, options) => (event) => {
|
|
12
|
-
|
|
13
|
+
const ctrlKeyPressed = isMac ? event.metaKey : event.ctrlKey;
|
|
14
|
+
if (ctrlKeyPressed !== Boolean(options.ctrl)) {
|
|
13
15
|
return;
|
|
14
16
|
} else if (!!options.alt !== event.altKey) {
|
|
15
17
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHotKey.mjs","sources":["../../src/composables/useHotKey/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { onKeyStroke } from '@vueuse/core'\n\nconst disableKeyboardShortcuts = window.OCP?.Accessibility?.disableKeyboardShortcuts?.()\n\n/**\n * Check if event target (active element) is editable (allows input from keyboard) or NcModal is open\n * If true, a hot key should not trigger the callback\n * TODO discuss if we should abort on another interactive elements (button, a, e.t.c)\n *\n * @param {KeyboardEvent} event keyboard event\n * @return {boolean} whether it should prevent callback\n */\nfunction shouldIgnoreEvent(event) {\n\tif (event.target instanceof HTMLInputElement\n\t\t|| event.target instanceof HTMLTextAreaElement\n\t\t|| event.target instanceof HTMLSelectElement\n\t\t|| event.target?.isContentEditable) {\n\t\treturn true\n\t}\n\t/** Abort if any modal/dialog opened */\n\treturn document.getElementsByClassName('modal-mask').length !== 0\n}\n\nconst eventHandler = (callback, options) => (event) => {\n\tif (
|
|
1
|
+
{"version":3,"file":"useHotKey.mjs","sources":["../../src/composables/useHotKey/index.js"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { onKeyStroke } from '@vueuse/core'\n\nconst disableKeyboardShortcuts = window.OCP?.Accessibility?.disableKeyboardShortcuts?.()\nconst isMac = /mac|ipad|iphone|darwin/i.test(navigator.userAgent)\n\n/**\n * Check if event target (active element) is editable (allows input from keyboard) or NcModal is open\n * If true, a hot key should not trigger the callback\n * TODO discuss if we should abort on another interactive elements (button, a, e.t.c)\n *\n * @param {KeyboardEvent} event keyboard event\n * @return {boolean} whether it should prevent callback\n */\nfunction shouldIgnoreEvent(event) {\n\tif (event.target instanceof HTMLInputElement\n\t\t|| event.target instanceof HTMLTextAreaElement\n\t\t|| event.target instanceof HTMLSelectElement\n\t\t|| event.target?.isContentEditable) {\n\t\treturn true\n\t}\n\t/** Abort if any modal/dialog opened */\n\treturn document.getElementsByClassName('modal-mask').length !== 0\n}\n\nconst eventHandler = (callback, options) => (event) => {\n\tconst ctrlKeyPressed = isMac ? event.metaKey : event.ctrlKey\n\tif (ctrlKeyPressed !== Boolean(options.ctrl)) {\n\t\t// Ctrl is required and not pressed, or the opposite\n\t\treturn\n\t} else if (!!options.alt !== event.altKey) {\n\t\t// Alt is required and not pressed, or the opposite\n\t\treturn\n\t} else if (!!options.shift !== event.shiftKey) {\n\t\t// Shift is required and not pressed, or the opposite\n\t\treturn\n\t} else if (shouldIgnoreEvent(event)) {\n\t\t// Keyboard shortcuts are disabled, because active element assumes input\n\t\treturn\n\t}\n\n\tif (options.prevent) {\n\t\tevent.preventDefault()\n\t}\n\tif (options.stop) {\n\t\tevent.stopPropagation()\n\t}\n\tcallback(event)\n}\n\n/**\n * @param {string} key - keyboard key or keys to listen to\n * @param {Function} callback - callback function\n * @param {object} options - composable options\n * @see docs/composables/usekeystroke.md\n */\nexport function useHotKey(key, callback = () => {}, options = {}) {\n\tif (disableKeyboardShortcuts) {\n\t\t// Keyboard shortcuts are disabled\n\t\treturn () => {}\n\t}\n\n\tconst stopKeyDown = onKeyStroke(key, eventHandler(callback, options), {\n\t\teventName: 'keydown',\n\t\tdedupe: true,\n\t\tpassive: !options.prevent,\n\t})\n\n\tconst stopKeyUp = options.push\n\t\t? onKeyStroke(key, eventHandler(callback, options), {\n\t\t\teventName: 'keyup',\n\t\t\tpassive: !options.prevent,\n\t\t})\n\t\t: () => {}\n\n\treturn () => {\n\t\tstopKeyDown()\n\t\tstopKeyUp()\n\t}\n}\n"],"names":["_a"],"mappings":";;AAMA,MAAM,4BAA2B,wBAAO,QAAP,mBAAY,kBAAZ,mBAA2B,6BAA3B;AACjC,MAAM,QAAQ,0BAA0B,KAAK,UAAU,SAAS;AAUhE,SAAS,kBAAkB,OAAO;;AACjC,MAAI,MAAM,kBAAkB,oBACxB,MAAM,kBAAkB,uBACxB,MAAM,kBAAkB,uBACxBA,MAAA,MAAM,WAAN,gBAAAA,IAAc,oBAAmB;AACpC,WAAO;AAAA,EACP;AAED,SAAO,SAAS,uBAAuB,YAAY,EAAE,WAAW;AACjE;AAEA,MAAM,eAAe,CAAC,UAAU,YAAY,CAAC,UAAU;AACtD,QAAM,iBAAiB,QAAQ,MAAM,UAAU,MAAM;AACrD,MAAI,mBAAmB,QAAQ,QAAQ,IAAI,GAAG;AAE7C;AAAA,EACA,WAAU,CAAC,CAAC,QAAQ,QAAQ,MAAM,QAAQ;AAE1C;AAAA,EACA,WAAU,CAAC,CAAC,QAAQ,UAAU,MAAM,UAAU;AAE9C;AAAA,EACF,WAAY,kBAAkB,KAAK,GAAG;AAEpC;AAAA,EACA;AAED,MAAI,QAAQ,SAAS;AACpB,UAAM,eAAgB;AAAA,EACtB;AACD,MAAI,QAAQ,MAAM;AACjB,UAAM,gBAAiB;AAAA,EACvB;AACD,WAAS,KAAK;AACf;AAQO,SAAS,UAAU,KAAK,WAAW,MAAM;AAAA,GAAI,UAAU,CAAA,GAAI;AACjE,MAAI,0BAA0B;AAE7B,WAAO,MAAM;AAAA,IAAE;AAAA,EACf;AAED,QAAM,cAAc,YAAY,KAAK,aAAa,UAAU,OAAO,GAAG;AAAA,IACrE,WAAW;AAAA,IACX,QAAQ;AAAA,IACR,SAAS,CAAC,QAAQ;AAAA,EACpB,CAAE;AAED,QAAM,YAAY,QAAQ,OACvB,YAAY,KAAK,aAAa,UAAU,OAAO,GAAG;AAAA,IACnD,WAAW;AAAA,IACX,SAAS,CAAC,QAAQ;AAAA,EACrB,CAAG,IACC,MAAM;AAAA,EAAE;AAEX,SAAO,MAAM;AACZ,gBAAa;AACb,cAAW;AAAA,EACX;AACF;"}
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
/*
|
|
32
32
|
* Ensure proper alignment of the vue material icons
|
|
33
33
|
*/
|
|
34
|
-
.material-design-icon[data-v-
|
|
34
|
+
.material-design-icon[data-v-e7d078cc] {
|
|
35
35
|
display: flex;
|
|
36
36
|
align-self: center;
|
|
37
37
|
justify-self: center;
|
|
38
38
|
align-items: center;
|
|
39
39
|
justify-content: center;
|
|
40
40
|
}
|
|
41
|
-
.app-navigation[data-v-
|
|
41
|
+
.app-navigation[data-v-e7d078cc] {
|
|
42
42
|
--color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-text-maxcontrast-default));
|
|
43
43
|
transition: transform var(--animation-quick), margin var(--animation-quick);
|
|
44
44
|
width: 300px;
|
|
@@ -60,18 +60,17 @@
|
|
|
60
60
|
background-color: var(--color-main-background-blur, var(--color-main-background));
|
|
61
61
|
-webkit-backdrop-filter: var(--filter-background-blur, none);
|
|
62
62
|
backdrop-filter: var(--filter-background-blur, none);
|
|
63
|
-
border-inline-end: 1px solid var(--color-border);
|
|
64
63
|
}
|
|
65
|
-
.app-navigation--close[data-v-
|
|
64
|
+
.app-navigation--close[data-v-e7d078cc] {
|
|
66
65
|
margin-left: calc(-1 * min(300px, var(--app-navigation-max-width)));
|
|
67
66
|
}
|
|
68
|
-
.app-navigation__search[data-v-
|
|
67
|
+
.app-navigation__search[data-v-e7d078cc] {
|
|
69
68
|
width: 100%;
|
|
70
69
|
}
|
|
71
|
-
.app-navigation__body[data-v-
|
|
70
|
+
.app-navigation__body[data-v-e7d078cc] {
|
|
72
71
|
overflow-y: scroll;
|
|
73
72
|
}
|
|
74
|
-
.app-navigation__content > ul[data-v-
|
|
73
|
+
.app-navigation__content > ul[data-v-e7d078cc] {
|
|
75
74
|
position: relative;
|
|
76
75
|
width: 100%;
|
|
77
76
|
overflow-x: hidden;
|
|
@@ -82,26 +81,30 @@
|
|
|
82
81
|
gap: var(--default-grid-baseline, 4px);
|
|
83
82
|
padding: var(--app-navigation-padding);
|
|
84
83
|
}
|
|
85
|
-
.app-navigation .app-navigation__list[data-v-
|
|
84
|
+
.app-navigation .app-navigation__list[data-v-e7d078cc] {
|
|
86
85
|
height: 100%;
|
|
87
86
|
}
|
|
88
|
-
.app-navigation__body--no-list[data-v-
|
|
87
|
+
.app-navigation__body--no-list[data-v-e7d078cc] {
|
|
89
88
|
flex: 1 1 auto;
|
|
90
89
|
overflow: auto;
|
|
91
90
|
height: 100%;
|
|
92
91
|
}
|
|
93
|
-
.app-navigation__content[data-v-
|
|
92
|
+
.app-navigation__content[data-v-e7d078cc] {
|
|
94
93
|
height: 100%;
|
|
95
94
|
display: flex;
|
|
96
95
|
flex-direction: column;
|
|
97
96
|
}
|
|
97
|
+
[data-themes*=highcontrast] .app-navigation[data-v-e7d078cc] {
|
|
98
|
+
border-inline-end: 1px solid var(--color-border);
|
|
99
|
+
}
|
|
98
100
|
@media only screen and (max-width: 1024px) {
|
|
99
|
-
.app-navigation[data-v-
|
|
101
|
+
.app-navigation[data-v-e7d078cc] {
|
|
100
102
|
position: absolute;
|
|
103
|
+
border-inline-end: 1px solid var(--color-border);
|
|
101
104
|
}
|
|
102
105
|
}
|
|
103
106
|
@media only screen and (max-width: 512px) {
|
|
104
|
-
.app-navigation[data-v-
|
|
107
|
+
.app-navigation[data-v-e7d078cc] {
|
|
105
108
|
z-index: 1400;
|
|
106
109
|
}
|
|
107
110
|
}
|
package/dist/assets/{NcCheckboxRadioSwitch-DWtZ7faS.css → NcCheckboxRadioSwitch-D5gP42gi.css}
RENAMED
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
/*
|
|
65
65
|
* Ensure proper alignment of the vue material icons
|
|
66
66
|
*/
|
|
67
|
-
.material-design-icon[data-v-
|
|
67
|
+
.material-design-icon[data-v-00597cce] {
|
|
68
68
|
display: flex;
|
|
69
69
|
align-self: center;
|
|
70
70
|
justify-self: center;
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center;
|
|
73
73
|
}
|
|
74
|
-
.checkbox-radio-switch[data-v-
|
|
74
|
+
.checkbox-radio-switch[data-v-00597cce] {
|
|
75
75
|
display: flex;
|
|
76
76
|
align-items: center;
|
|
77
77
|
color: var(--color-main-text);
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
/* Special rules for vertical button groups */
|
|
86
86
|
/* Special rules for horizontal button groups */
|
|
87
87
|
}
|
|
88
|
-
.checkbox-radio-switch__input[data-v-
|
|
88
|
+
.checkbox-radio-switch__input[data-v-00597cce] {
|
|
89
89
|
position: absolute;
|
|
90
90
|
z-index: -1;
|
|
91
91
|
opacity: 0 !important;
|
|
@@ -93,103 +93,103 @@
|
|
|
93
93
|
height: var(--icon-size);
|
|
94
94
|
margin: 4px calc((var(--default-clickable-area) - 16px) / 2);
|
|
95
95
|
}
|
|
96
|
-
.checkbox-radio-switch__input:focus-visible + .checkbox-radio-switch__content[data-v-
|
|
96
|
+
.checkbox-radio-switch__input:focus-visible + .checkbox-radio-switch__content[data-v-00597cce], .checkbox-radio-switch__input[data-v-00597cce]:focus-visible {
|
|
97
97
|
outline: 2px solid var(--color-main-text);
|
|
98
98
|
border-color: var(--color-main-background);
|
|
99
99
|
outline-offset: -2px;
|
|
100
100
|
}
|
|
101
|
-
.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-
|
|
101
|
+
.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-00597cce] {
|
|
102
102
|
opacity: 0.5;
|
|
103
103
|
}
|
|
104
|
-
.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-
|
|
104
|
+
.checkbox-radio-switch--disabled .checkbox-radio-switch__content[data-v-00597cce] .checkbox-radio-switch__icon > * {
|
|
105
105
|
color: var(--color-main-text);
|
|
106
106
|
}
|
|
107
|
-
.checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-
|
|
107
|
+
.checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked):focus-within .checkbox-radio-switch__content[data-v-00597cce], .checkbox-radio-switch:not(.checkbox-radio-switch--disabled, .checkbox-radio-switch--checked) .checkbox-radio-switch__content[data-v-00597cce]:hover {
|
|
108
108
|
background-color: var(--color-background-hover);
|
|
109
109
|
}
|
|
110
|
-
.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-
|
|
110
|
+
.checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-00597cce], .checkbox-radio-switch--checked:not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-00597cce]:hover {
|
|
111
111
|
background-color: var(--color-primary-element-hover);
|
|
112
112
|
}
|
|
113
|
-
.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-
|
|
113
|
+
.checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled):focus-within .checkbox-radio-switch__content[data-v-00597cce], .checkbox-radio-switch--checked:not(.checkbox-radio-switch--button-variant):not(.checkbox-radio-switch--disabled) .checkbox-radio-switch__content[data-v-00597cce]:hover {
|
|
114
114
|
background-color: var(--color-primary-element-light-hover);
|
|
115
115
|
}
|
|
116
|
-
.checkbox-radio-switch-switch[data-v-
|
|
116
|
+
.checkbox-radio-switch-switch[data-v-00597cce]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {
|
|
117
117
|
color: var(--color-text-maxcontrast);
|
|
118
118
|
}
|
|
119
|
-
.checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-
|
|
119
|
+
.checkbox-radio-switch-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked[data-v-00597cce] .checkbox-radio-switch__icon > * {
|
|
120
120
|
color: var(--color-primary-element-light);
|
|
121
121
|
}
|
|
122
|
-
.checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-
|
|
122
|
+
.checkbox-radio-switch--button-variant.checkbox-radio-switch[data-v-00597cce] {
|
|
123
123
|
background-color: var(--color-main-background);
|
|
124
124
|
border: 2px solid var(--color-border-maxcontrast);
|
|
125
125
|
overflow: hidden;
|
|
126
126
|
}
|
|
127
|
-
.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-
|
|
127
|
+
.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked[data-v-00597cce] {
|
|
128
128
|
font-weight: bold;
|
|
129
129
|
}
|
|
130
|
-
.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-
|
|
130
|
+
.checkbox-radio-switch--button-variant.checkbox-radio-switch--checked .checkbox-radio-switch__content[data-v-00597cce] {
|
|
131
131
|
background-color: var(--color-primary-element);
|
|
132
132
|
color: var(--color-primary-element-text);
|
|
133
133
|
}
|
|
134
|
-
.checkbox-radio-switch--button-variant[data-v-
|
|
134
|
+
.checkbox-radio-switch--button-variant[data-v-00597cce] .checkbox-radio-switch__text {
|
|
135
135
|
overflow: hidden;
|
|
136
136
|
text-overflow: ellipsis;
|
|
137
137
|
white-space: nowrap;
|
|
138
138
|
width: 100%;
|
|
139
139
|
}
|
|
140
|
-
.checkbox-radio-switch--button-variant[data-v-
|
|
140
|
+
.checkbox-radio-switch--button-variant[data-v-00597cce]:not(.checkbox-radio-switch--checked) .checkbox-radio-switch__icon > * {
|
|
141
141
|
color: var(--color-main-text);
|
|
142
142
|
}
|
|
143
|
-
.checkbox-radio-switch--button-variant[data-v-
|
|
143
|
+
.checkbox-radio-switch--button-variant[data-v-00597cce] .checkbox-radio-switch__icon:empty {
|
|
144
144
|
display: none;
|
|
145
145
|
}
|
|
146
|
-
.checkbox-radio-switch--button-variant[data-v-
|
|
146
|
+
.checkbox-radio-switch--button-variant[data-v-00597cce]:not(.checkbox-radio-switch--button-variant-v-grouped):not(.checkbox-radio-switch--button-variant-h-grouped), .checkbox-radio-switch--button-variant .checkbox-radio-switch__content[data-v-00597cce] {
|
|
147
147
|
border-radius: var(--checkbox-radio-switch--border-radius);
|
|
148
148
|
}
|
|
149
|
-
.checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-
|
|
149
|
+
.checkbox-radio-switch--button-variant-v-grouped .checkbox-radio-switch__content[data-v-00597cce] {
|
|
150
150
|
flex-basis: 100%;
|
|
151
151
|
max-width: unset;
|
|
152
152
|
}
|
|
153
|
-
.checkbox-radio-switch--button-variant-v-grouped[data-v-
|
|
153
|
+
.checkbox-radio-switch--button-variant-v-grouped[data-v-00597cce]:first-of-type {
|
|
154
154
|
border-top-left-radius: var(--checkbox-radio-switch--border-radius-outer);
|
|
155
155
|
border-top-right-radius: var(--checkbox-radio-switch--border-radius-outer);
|
|
156
156
|
}
|
|
157
|
-
.checkbox-radio-switch--button-variant-v-grouped[data-v-
|
|
157
|
+
.checkbox-radio-switch--button-variant-v-grouped[data-v-00597cce]:last-of-type {
|
|
158
158
|
border-bottom-left-radius: var(--checkbox-radio-switch--border-radius-outer);
|
|
159
159
|
border-bottom-right-radius: var(--checkbox-radio-switch--border-radius-outer);
|
|
160
160
|
}
|
|
161
|
-
.checkbox-radio-switch--button-variant-v-grouped[data-v-
|
|
161
|
+
.checkbox-radio-switch--button-variant-v-grouped[data-v-00597cce]:not(:last-of-type) {
|
|
162
162
|
border-bottom: 0 !important;
|
|
163
163
|
}
|
|
164
|
-
.checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-
|
|
164
|
+
.checkbox-radio-switch--button-variant-v-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-00597cce] {
|
|
165
165
|
margin-bottom: 2px;
|
|
166
166
|
}
|
|
167
|
-
.checkbox-radio-switch--button-variant-v-grouped[data-v-
|
|
167
|
+
.checkbox-radio-switch--button-variant-v-grouped[data-v-00597cce]:not(:first-of-type) {
|
|
168
168
|
border-top: 0 !important;
|
|
169
169
|
}
|
|
170
|
-
.checkbox-radio-switch--button-variant-h-grouped[data-v-
|
|
170
|
+
.checkbox-radio-switch--button-variant-h-grouped[data-v-00597cce]:first-of-type {
|
|
171
171
|
border-top-left-radius: var(--checkbox-radio-switch--border-radius-outer);
|
|
172
172
|
border-bottom-left-radius: var(--checkbox-radio-switch--border-radius-outer);
|
|
173
173
|
}
|
|
174
|
-
.checkbox-radio-switch--button-variant-h-grouped[data-v-
|
|
174
|
+
.checkbox-radio-switch--button-variant-h-grouped[data-v-00597cce]:last-of-type {
|
|
175
175
|
border-top-right-radius: var(--checkbox-radio-switch--border-radius-outer);
|
|
176
176
|
border-bottom-right-radius: var(--checkbox-radio-switch--border-radius-outer);
|
|
177
177
|
}
|
|
178
|
-
.checkbox-radio-switch--button-variant-h-grouped[data-v-
|
|
178
|
+
.checkbox-radio-switch--button-variant-h-grouped[data-v-00597cce]:not(:last-of-type) {
|
|
179
179
|
border-right: 0 !important;
|
|
180
180
|
}
|
|
181
|
-
.checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-
|
|
181
|
+
.checkbox-radio-switch--button-variant-h-grouped:not(:last-of-type) .checkbox-radio-switch__content[data-v-00597cce] {
|
|
182
182
|
margin-right: 2px;
|
|
183
183
|
}
|
|
184
|
-
.checkbox-radio-switch--button-variant-h-grouped[data-v-
|
|
184
|
+
.checkbox-radio-switch--button-variant-h-grouped[data-v-00597cce]:not(:first-of-type) {
|
|
185
185
|
border-left: 0 !important;
|
|
186
186
|
}
|
|
187
|
-
.checkbox-radio-switch--button-variant-h-grouped[data-v-
|
|
187
|
+
.checkbox-radio-switch--button-variant-h-grouped[data-v-00597cce] .checkbox-radio-switch__text {
|
|
188
188
|
text-align: center;
|
|
189
189
|
display: flex;
|
|
190
190
|
align-items: center;
|
|
191
191
|
}
|
|
192
|
-
.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-
|
|
192
|
+
.checkbox-radio-switch--button-variant-h-grouped .checkbox-radio-switch__content[data-v-00597cce] {
|
|
193
193
|
flex-direction: column;
|
|
194
194
|
justify-content: center;
|
|
195
195
|
width: 100%;
|
|
@@ -438,29 +438,29 @@
|
|
|
438
438
|
color: #ccc;
|
|
439
439
|
background-color: #f3f3f3;
|
|
440
440
|
}
|
|
441
|
-
.mx-datepicker[data-v-
|
|
441
|
+
.mx-datepicker[data-v-ac203b9] {
|
|
442
442
|
user-select: none;
|
|
443
443
|
color: var(--color-main-text);
|
|
444
444
|
/* INPUT CONTAINER */
|
|
445
445
|
}
|
|
446
|
-
.mx-datepicker[data-v-
|
|
446
|
+
.mx-datepicker[data-v-ac203b9] svg {
|
|
447
447
|
fill: var(--color-main-text);
|
|
448
448
|
}
|
|
449
|
-
.mx-datepicker[data-v-
|
|
449
|
+
.mx-datepicker[data-v-ac203b9] .mx-input-wrapper .mx-input {
|
|
450
450
|
width: 100%;
|
|
451
451
|
border: 2px solid var(--color-border-maxcontrast);
|
|
452
452
|
background-color: var(--color-main-background);
|
|
453
453
|
background-clip: content-box;
|
|
454
454
|
}
|
|
455
|
-
.mx-datepicker[data-v-
|
|
455
|
+
.mx-datepicker[data-v-ac203b9] .mx-input-wrapper .mx-input:active:not(.disabled), .mx-datepicker[data-v-ac203b9] .mx-input-wrapper .mx-input:hover:not(.disabled), .mx-datepicker[data-v-ac203b9] .mx-input-wrapper .mx-input:focus:not(.disabled) {
|
|
456
456
|
border-color: var(--color-primary-element);
|
|
457
457
|
}
|
|
458
|
-
.mx-datepicker[data-v-
|
|
458
|
+
.mx-datepicker[data-v-ac203b9] .mx-input-wrapper:disabled, .mx-datepicker[data-v-ac203b9] .mx-input-wrapper.disabled {
|
|
459
459
|
cursor: not-allowed;
|
|
460
460
|
opacity: 0.7;
|
|
461
461
|
}
|
|
462
|
-
.mx-datepicker[data-v-
|
|
463
|
-
.mx-datepicker[data-v-
|
|
462
|
+
.mx-datepicker[data-v-ac203b9] .mx-input-wrapper .mx-icon-calendar,
|
|
463
|
+
.mx-datepicker[data-v-ac203b9] .mx-input-wrapper .mx-icon-clear {
|
|
464
464
|
color: var(--color-text-lighter);
|
|
465
465
|
}
|
|
466
466
|
.mx-datepicker-main {
|
|
@@ -9,46 +9,45 @@
|
|
|
9
9
|
/*
|
|
10
10
|
* Ensure proper alignment of the vue material icons
|
|
11
11
|
*/
|
|
12
|
-
.material-design-icon[data-v-
|
|
12
|
+
.material-design-icon[data-v-e2527068] {
|
|
13
13
|
display: flex;
|
|
14
14
|
align-self: center;
|
|
15
15
|
justify-self: center;
|
|
16
16
|
align-items: center;
|
|
17
17
|
justify-content: center;
|
|
18
18
|
}
|
|
19
|
-
.header-menu[data-v-
|
|
19
|
+
.header-menu[data-v-e2527068] {
|
|
20
20
|
position: relative;
|
|
21
21
|
width: var(--header-height);
|
|
22
22
|
height: var(--header-height);
|
|
23
23
|
}
|
|
24
|
-
.header-menu .header-menu__trigger[data-v-
|
|
24
|
+
.header-menu .header-menu__trigger[data-v-e2527068] {
|
|
25
25
|
width: 100% !important;
|
|
26
26
|
height: var(--header-height);
|
|
27
27
|
opacity: 0.85;
|
|
28
28
|
filter: none !important;
|
|
29
29
|
color: var(--color-background-plain-text, var(--color-primary-text)) !important;
|
|
30
30
|
}
|
|
31
|
-
.header-menu
|
|
32
|
-
opacity: 1;
|
|
33
|
-
}
|
|
34
|
-
.header-menu .header-menu__trigger[data-v-2d5ac9dc]:focus-visible {
|
|
31
|
+
.header-menu .header-menu__trigger[data-v-e2527068]:focus-visible {
|
|
35
32
|
outline: none !important;
|
|
36
33
|
box-shadow: none !important;
|
|
37
34
|
}
|
|
38
|
-
.header-
|
|
35
|
+
.header-menu--opened .header-menu__trigger[data-v-e2527068], .header-menu__trigger[data-v-e2527068]:hover, .header-menu__trigger[data-v-e2527068]:focus, .header-menu__trigger[data-v-e2527068]:active {
|
|
36
|
+
opacity: 1;
|
|
37
|
+
}
|
|
38
|
+
.header-menu__wrapper[data-v-e2527068] {
|
|
39
39
|
position: fixed;
|
|
40
40
|
z-index: 2000;
|
|
41
41
|
top: var(--header-height);
|
|
42
42
|
inset-inline-end: 0;
|
|
43
43
|
box-sizing: border-box;
|
|
44
44
|
margin: 0 8px;
|
|
45
|
-
padding: 8px;
|
|
46
45
|
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
47
46
|
border-radius: var(--border-radius-large);
|
|
48
47
|
background-color: var(--color-main-background);
|
|
49
48
|
filter: drop-shadow(0 1px 5px var(--color-box-shadow));
|
|
50
49
|
}
|
|
51
|
-
.header-menu__carret[data-v-
|
|
50
|
+
.header-menu__carret[data-v-e2527068] {
|
|
52
51
|
position: absolute;
|
|
53
52
|
z-index: 2001;
|
|
54
53
|
bottom: 0;
|
|
@@ -60,18 +59,18 @@
|
|
|
60
59
|
border: 10px solid transparent;
|
|
61
60
|
border-bottom-color: var(--color-main-background);
|
|
62
61
|
}
|
|
63
|
-
.header-menu__content[data-v-
|
|
62
|
+
.header-menu__content[data-v-e2527068] {
|
|
64
63
|
overflow: auto;
|
|
65
64
|
width: 350px;
|
|
66
65
|
max-width: calc(100vw - 16px);
|
|
67
66
|
min-height: calc(var(--default-clickable-area) * 1.5);
|
|
68
67
|
max-height: calc(100vh - var(--header-height) * 2);
|
|
69
68
|
}
|
|
70
|
-
.header-menu__content[data-v-
|
|
69
|
+
.header-menu__content[data-v-e2527068] .empty-content {
|
|
71
70
|
margin: 12vh 10px;
|
|
72
71
|
}
|
|
73
72
|
@media only screen and (max-width: 512px) {
|
|
74
|
-
.header-menu[data-v-
|
|
73
|
+
.header-menu[data-v-e2527068] {
|
|
75
74
|
width: var(--default-clickable-area);
|
|
76
75
|
}
|
|
77
76
|
}
|