@munet/ui 1.0.0 → 1.0.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.
@@ -1 +1 @@
1
- .form_input-range[data-v-1216dbeb]{--height: 1.5em;min-height:var(--height);appearance:none;background:transparent;border-radius:4px;transition:background-color .2s ease;--thumb-width: 4px;--thumb-height: var(--height);--thumb-box-shadow: 0 0 0px #e6e6e6;--thumb-border: none;--thumb-border-radius: 999px;--thumb-background: oklch(80% .07 calc(var(--hue) + 0));--thumb-background-hover: oklch(90% .07 calc(var(--hue) + 0));--thumb-background-active: oklch(70% .07 calc(var(--hue) + 0));--track-height: calc(var(--height) - var(--track-value-padding) * 2);--track-box-shadow: none;--track-border: solid 2px oklch(.95 .01 var(--hue));--track-border-radius: 6px;--track-background: oklch(.97 .006 var(--hue));--track-background-hover: oklch(.97 .006 var(--hue));--track-background-active: oklch(.97 .006 var(--hue));--track-value-background: rgb(255, 255, 255);--track-value-background-hover: rgb(255, 255, 255);--track-value-background-active: rgb(255, 255, 255);--track-value-padding: 2px}.form_input-range.slider-progress[data-v-1216dbeb]{--range: calc(var(--max) - var(--min));--ratio: calc((var(--value) - var(--min)) / var(--range));--sx: calc(.5 * 0em + var(--ratio) * (100% - 0em))}.form_input-range[data-v-1216dbeb]:focus{outline:none}.form_input-range[data-v-1216dbeb]::-webkit-slider-thumb{appearance:none;width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:var(--thumb-border);box-shadow:var(--thumb-box-shadow);margin-top:calc(var(--track-height) * .5 - var(--thumb-height) * .5 - 2px);margin-left:calc(0 - var(--track-value-padding));cursor:col-resize;transition:background .2s ease-in-out,box-shadow .2s ease-in-out,border-color .2s ease-in-out,transform .2s cubic-bezier(.165,.84,.44,1),width .2s cubic-bezier(.165,.84,.44,1)}.form_input-range[data-v-1216dbeb]::-webkit-slider-runnable-track{height:var(--track-height);border:var(--track-border);border-radius:var(--track-border-radius);background:var(--track-background);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--track-box-shadow);position:relative;cursor:col-resize;transition:box-shadow .2s ease-in-out,border-color .2s ease-in-out}.form_input-range[data-v-1216dbeb]::-webkit-slider-thumb:hover{background:var(--thumb-background-hover);width:calc(var(--thumb-width) * 1.6);transform:scaleY(1.2)}.form_input-range[data-v-1216dbeb]:hover::-webkit-slider-runnable-track{background:var(--track-background-hover)}.form_input-range[data-v-1216dbeb]::-webkit-slider-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-1216dbeb]:active::-webkit-slider-runnable-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-1216dbeb]::-webkit-slider-runnable-track{margin-right:calc(0 - var(--track-value-padding));background:linear-gradient(var(--track-value-background),var(--track-value-background)) 0 / var(--sx) 100% no-repeat,var(--track-background)}.form_input-range.slider-progress[data-v-1216dbeb]:hover::-webkit-slider-runnable-track{background:linear-gradient(var(--track-value-background-hover),var(--track-value-background-hover)) 0 / var(--sx) 100% no-repeat,var(--track-background-hover)}.form_input-range.slider-progress[data-v-1216dbeb]:active::-webkit-slider-runnable-track{background:linear-gradient(var(--track-value-background-active),var(--track-value-background-active)) 0 / var(--sx) 100% no-repeat,var(--track-background-active)}.form_input-range[data-v-1216dbeb]::-moz-range-thumb{width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:none;box-shadow:var(--thumb-box-shadow);cursor:col-resize;margin-left:calc(0 - var(--track-value-padding));transition:background .2s ease-in-out,box-shadow .2s ease-in-out,border-color .2s ease-in-out,transform .2s cubic-bezier(.165,.84,.44,1),width .2s cubic-bezier(.165,.84,.44,1)}.form_input-range[data-v-1216dbeb]::-moz-range-track{height:var(--track-height);border:var(--track-border);border-radius:var(--track-border-radius);background:var(--track-background);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--track-box-shadow);cursor:col-resize;width:calc(100% - var(--track-value-padding) * 2)}.form_input-range[data-v-1216dbeb]::-moz-range-thumb:hover{background:var(--thumb-background-hover);width:calc(var(--thumb-width) * 1.6);transform:scaleY(1.2)}.form_input-range[data-v-1216dbeb]:hover::-moz-range-track{background:var(--track-background-hover)}.form_input-range[data-v-1216dbeb]::-moz-range-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-1216dbeb]:active::-moz-range-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-1216dbeb]::-moz-range-track{background:linear-gradient(var(--track-value-background),var(--track-value-background)) 0 / var(--sx) 100% no-repeat,var(--track-background)}.form_input-range.slider-progress[data-v-1216dbeb]:hover::-moz-range-track{background:linear-gradient(var(--track-value-background-hover),var(--track-value-background-hover)) 0 / var(--sx) 100% no-repeat,var(--track-background-hover)}.form_input-range.slider-progress[data-v-1216dbeb]:active::-moz-range-track{background:linear-gradient(var(--track-value-background-active),var(--track-value-background-active)) 0 / var(--sx) 100% no-repeat,var(--track-background-active)}.form_input-range[data-v-1216dbeb]::-ms-fill-upper{background:transparent;border-color:transparent}.form_input-range[data-v-1216dbeb]::-ms-fill-lower{background:transparent;border-color:transparent}.form_input-range[data-v-1216dbeb]::-ms-thumb{width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:var(--thumb-border);box-shadow:var(--thumb-box-shadow);margin-top:0;margin-left:calc(0 - var(--track-value-padding));box-sizing:border-box;cursor:col-resize;transition:background .2s ease-in-out,box-shadow .2s ease-in-out,border-color .2s ease-in-out,transform .2s cubic-bezier(.165,.84,.44,1),width .2s cubic-bezier(.165,.84,.44,1)}.form_input-range[data-v-1216dbeb]::-ms-track{height:var(--track-height);border-radius:var(--track-border-radius);background:var(--track-background);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:var(--track-border);box-shadow:var(--track-box-shadow);box-sizing:border-box;cursor:col-resize}.form_input-range[data-v-1216dbeb]::-ms-thumb:hover{background:var(--thumb-background-hover);width:calc(var(--thumb-width) * 1.6);transform:scaleY(1.2)}.form_input-range[data-v-1216dbeb]:hover::-ms-track{background:var(--track-background-hover)}.form_input-range[data-v-1216dbeb]::-ms-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-1216dbeb]:active::-ms-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-1216dbeb]::-ms-fill-lower{height:var(--track-height);border-radius:var(--track-border-radius) 0 0 var(--track-border-radius);margin:0;background:var(--track-value-background);border:none;border-right-width:0;margin-left:calc(var(--track-value-padding));margin-right:calc(0 - var(--track-value-padding))}.form_input-range.slider-progress[data-v-1216dbeb]:hover::-ms-fill-lower{background:var(--track-value-background-hover)}.form_input-range.slider-progress[data-v-1216dbeb]:active::-ms-fill-lower{background:var(--track-value-background-active)}
1
+ .form_input-range[data-v-8cd014c2]{--height: 1.5em;min-height:var(--height);appearance:none;background:transparent;border-radius:4px;transition:background-color .2s ease;--thumb-width: 4px;--thumb-height: var(--height);--thumb-box-shadow: 0 0 0px #e6e6e6;--thumb-border: none;--thumb-border-radius: 999px;--thumb-background: oklch(80% .07 calc(var(--hue) + 0));--thumb-background-hover: oklch(90% .07 calc(var(--hue) + 0));--thumb-background-active: oklch(70% .07 calc(var(--hue) + 0));--track-height: calc(var(--height) - var(--track-value-padding) * 2);--track-box-shadow: none;--track-border: solid 2px oklch(.95 .01 var(--hue));--track-border-radius: 6px;--track-background: oklch(.97 .006 var(--hue));--track-background-hover: oklch(.97 .006 var(--hue));--track-background-active: oklch(.97 .006 var(--hue));--track-value-background: rgb(255, 255, 255);--track-value-background-hover: rgb(255, 255, 255);--track-value-background-active: rgb(255, 255, 255);--track-value-padding: 2px}.form_input-range.slider-progress[data-v-8cd014c2]{--range: calc(var(--max) - var(--min));--ratio: calc((var(--value) - var(--min)) / var(--range));--sx: calc(.5 * 0em + var(--ratio) * (100% - 0em));--fill-start: 0%;--fill-end: var(--sx)}.form_input-range[data-v-8cd014c2]:focus{outline:none}.form_input-range[data-v-8cd014c2]::-webkit-slider-thumb{appearance:none;width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:var(--thumb-border);box-shadow:var(--thumb-box-shadow);margin-top:calc(var(--track-height) * .5 - var(--thumb-height) * .5 - 2px);margin-left:calc(0 - var(--track-value-padding));cursor:col-resize;transition:background .2s ease-in-out,box-shadow .2s ease-in-out,border-color .2s ease-in-out,transform .2s cubic-bezier(.165,.84,.44,1),width .2s cubic-bezier(.165,.84,.44,1)}.form_input-range[data-v-8cd014c2]::-webkit-slider-runnable-track{height:var(--track-height);border:var(--track-border);border-radius:var(--track-border-radius);background:var(--track-background);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--track-box-shadow);position:relative;cursor:col-resize;transition:box-shadow .2s ease-in-out,border-color .2s ease-in-out}.form_input-range[data-v-8cd014c2]::-webkit-slider-thumb:hover{background:var(--thumb-background-hover);width:calc(var(--thumb-width) * 1.6);transform:scaleY(1.2)}.form_input-range[data-v-8cd014c2]:hover::-webkit-slider-runnable-track{background:var(--track-background-hover)}.form_input-range[data-v-8cd014c2]::-webkit-slider-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-8cd014c2]:active::-webkit-slider-runnable-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-8cd014c2]::-webkit-slider-runnable-track{margin-right:calc(0 - var(--track-value-padding));background:linear-gradient(to right,transparent var(--fill-start),var(--track-value-background) var(--fill-start),var(--track-value-background) var(--fill-end),transparent var(--fill-end)),var(--track-background)}.form_input-range.slider-progress[data-v-8cd014c2]:hover::-webkit-slider-runnable-track{background:linear-gradient(to right,transparent var(--fill-start),var(--track-value-background-hover) var(--fill-start),var(--track-value-background-hover) var(--fill-end),transparent var(--fill-end)),var(--track-background-hover)}.form_input-range.slider-progress[data-v-8cd014c2]:active::-webkit-slider-runnable-track{background:linear-gradient(to right,transparent var(--fill-start),var(--track-value-background-active) var(--fill-start),var(--track-value-background-active) var(--fill-end),transparent var(--fill-end)),var(--track-background-active)}.form_input-range[data-v-8cd014c2]::-moz-range-thumb{width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:none;box-shadow:var(--thumb-box-shadow);cursor:col-resize;margin-left:calc(0 - var(--track-value-padding));transition:background .2s ease-in-out,box-shadow .2s ease-in-out,border-color .2s ease-in-out,transform .2s cubic-bezier(.165,.84,.44,1),width .2s cubic-bezier(.165,.84,.44,1)}.form_input-range[data-v-8cd014c2]::-moz-range-track{height:var(--track-height);border:var(--track-border);border-radius:var(--track-border-radius);background:var(--track-background);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--track-box-shadow);cursor:col-resize;width:calc(100% - var(--track-value-padding) * 2)}.form_input-range[data-v-8cd014c2]::-moz-range-thumb:hover{background:var(--thumb-background-hover);width:calc(var(--thumb-width) * 1.6);transform:scaleY(1.2)}.form_input-range[data-v-8cd014c2]:hover::-moz-range-track{background:var(--track-background-hover)}.form_input-range[data-v-8cd014c2]::-moz-range-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-8cd014c2]:active::-moz-range-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-8cd014c2]::-moz-range-track{background:linear-gradient(to right,transparent var(--fill-start),var(--track-value-background) var(--fill-start),var(--track-value-background) var(--fill-end),transparent var(--fill-end)),var(--track-background)}.form_input-range.slider-progress[data-v-8cd014c2]:hover::-moz-range-track{background:linear-gradient(to right,transparent var(--fill-start),var(--track-value-background-hover) var(--fill-start),var(--track-value-background-hover) var(--fill-end),transparent var(--fill-end)),var(--track-background-hover)}.form_input-range.slider-progress[data-v-8cd014c2]:active::-moz-range-track{background:linear-gradient(to right,transparent var(--fill-start),var(--track-value-background-active) var(--fill-start),var(--track-value-background-active) var(--fill-end),transparent var(--fill-end)),var(--track-background-active)}.form_input-range[data-v-8cd014c2]::-ms-fill-upper{background:transparent;border-color:transparent}.form_input-range[data-v-8cd014c2]::-ms-fill-lower{background:transparent;border-color:transparent}.form_input-range[data-v-8cd014c2]::-ms-thumb{width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:var(--thumb-border);box-shadow:var(--thumb-box-shadow);margin-top:0;margin-left:calc(0 - var(--track-value-padding));box-sizing:border-box;cursor:col-resize;transition:background .2s ease-in-out,box-shadow .2s ease-in-out,border-color .2s ease-in-out,transform .2s cubic-bezier(.165,.84,.44,1),width .2s cubic-bezier(.165,.84,.44,1)}.form_input-range[data-v-8cd014c2]::-ms-track{height:var(--track-height);border-radius:var(--track-border-radius);background:var(--track-background);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:var(--track-border);box-shadow:var(--track-box-shadow);box-sizing:border-box;cursor:col-resize}.form_input-range[data-v-8cd014c2]::-ms-thumb:hover{background:var(--thumb-background-hover);width:calc(var(--thumb-width) * 1.6);transform:scaleY(1.2)}.form_input-range[data-v-8cd014c2]:hover::-ms-track{background:var(--track-background-hover)}.form_input-range[data-v-8cd014c2]::-ms-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-8cd014c2]:active::-ms-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-8cd014c2]::-ms-fill-lower{height:var(--track-height);border-radius:var(--track-border-radius) 0 0 var(--track-border-radius);margin:0;background:var(--track-value-background);border:none;border-right-width:0;margin-left:calc(var(--track-value-padding));margin-right:calc(0 - var(--track-value-padding))}.form_input-range.slider-progress[data-v-8cd014c2]:hover::-ms-fill-lower{background:var(--track-value-background-hover)}.form_input-range.slider-progress[data-v-8cd014c2]:active::-ms-fill-lower{background:var(--track-value-background-active)}
@@ -1,7 +1,7 @@
1
1
  import o from "./Range.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1216dbeb"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8cd014c2"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,48 +1,54 @@
1
- import { defineComponent as v, mergeModels as g, useModel as x, computed as r, ref as y, onMounted as M, watch as p, withDirectives as V, createElementBlock as k, openBlock as _, vModelText as C } from "vue";
2
- const h = ["min", "max", "step"], S = /* @__PURE__ */ v({
1
+ import { defineComponent as k, mergeModels as P, useModel as _, computed as o, ref as C, onMounted as R, watch as y, withDirectives as S, createElementBlock as b, openBlock as B, vModelText as w } from "vue";
2
+ const E = ["min", "max", "step"], T = /* @__PURE__ */ k({
3
3
  __name: "Range",
4
- props: /* @__PURE__ */ g({
4
+ props: /* @__PURE__ */ P({
5
5
  min: { default: 0 },
6
6
  max: { default: 100 },
7
7
  step: { default: 1 },
8
8
  disabled: { type: Boolean, default: !1 },
9
9
  thumbColor: { default: "#9090906e" },
10
10
  trackColor: { default: "gray" },
11
- trackValueColor: { default: "red" }
11
+ trackValueColor: { default: "red" },
12
+ origin: { default: void 0 }
12
13
  }, {
13
14
  modelValue: { required: !0 },
14
15
  modelModifiers: {}
15
16
  }),
16
17
  emits: ["update:modelValue"],
17
- setup(n) {
18
- const t = n, s = x(n, "modelValue"), d = r(() => t.min * 1e4), i = r(() => t.max * 1e4), m = r(() => t.step * 1e4), e = y(), l = r({
18
+ setup(i) {
19
+ const l = i, s = _(i, "modelValue"), d = o(() => l.min * 1e4), m = o(() => l.max * 1e4), c = o(() => l.step * 1e4), f = o(() => l.origin ?? l.min), a = C(), n = o({
19
20
  get: () => s.value * 1e4,
20
- set: (u) => {
21
- s.value = u / 1e4, o();
21
+ set: (e) => {
22
+ s.value = e / 1e4, r();
22
23
  }
23
24
  });
24
- M(() => o()), p(l, () => o(), { immediate: !0 }), p([d, i, m], () => o(), { immediate: !0 });
25
- function o() {
26
- e.value && (e.value.style.setProperty("--value", l.value.toString()), e.value.style.setProperty("--min", e.value.min ? e.value.min : t.min.toString()), e.value.style.setProperty("--max", e.value.max ? e.value.max : t.max.toString()));
25
+ R(() => r()), y(n, () => r(), { immediate: !0 }), y([d, m, c, f], () => r(), { immediate: !0 });
26
+ function r() {
27
+ if (!a.value)
28
+ return;
29
+ const e = l.min, t = l.max, u = s.value, M = f.value;
30
+ a.value.style.setProperty("--value", n.value.toString()), a.value.style.setProperty("--min", e.toString()), a.value.style.setProperty("--max", t.toString());
31
+ const p = t - e, v = (M - e) / p, g = (u - e) / p, V = Math.min(v, g), h = Math.max(v, g);
32
+ a.value.style.setProperty("--fill-start", `${V * 100}%`), a.value.style.setProperty("--fill-end", `${h * 100}%`);
27
33
  }
28
- function c(u) {
29
- const a = u.target;
30
- a.style.setProperty("--value", a.value);
34
+ function x(e) {
35
+ const t = e.target;
36
+ t.style.setProperty("--value", t.value);
31
37
  }
32
- return (u, a) => V((_(), k("input", {
38
+ return (e, t) => S((B(), b("input", {
33
39
  ref_key: "sliderRef",
34
- ref: e,
35
- "onUpdate:modelValue": a[0] || (a[0] = (f) => l.value = f),
40
+ ref: a,
41
+ "onUpdate:modelValue": t[0] || (t[0] = (u) => n.value = u),
36
42
  type: "range",
37
43
  min: d.value,
38
- max: i.value,
39
- step: m.value,
44
+ max: m.value,
45
+ step: c.value,
40
46
  class: "slider-progress form_input-range",
41
- onInput: c
42
- }, null, 40, h)), [
47
+ onInput: x
48
+ }, null, 40, E)), [
43
49
  [
44
- C,
45
- l.value,
50
+ w,
51
+ n.value,
46
52
  void 0,
47
53
  { number: !0 }
48
54
  ]
@@ -50,5 +56,5 @@ const h = ["min", "max", "step"], S = /* @__PURE__ */ v({
50
56
  }
51
57
  });
52
58
  export {
53
- S as default
59
+ T as default
54
60
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as C, inject as k, computed as d, ref as c, createVNode as o, createTextVNode as H } from "vue";
2
- import { useVModel as M, onClickOutside as O } from "@vueuse/core";
1
+ import { defineComponent as T, inject as V, computed as v, ref as u, createVNode as o, Teleport as $, createTextVNode as D } from "vue";
2
+ import { useVModel as H, onClickOutside as N } from "@vueuse/core";
3
3
  import t from "./style.module.sass.js";
4
- import { theme as B } from "../../themes/index.js";
5
- import D from "../TransitionVertical.vue.js";
6
- const P = /* @__PURE__ */ C({
4
+ import { theme as P } from "../../themes/index.js";
5
+ import R from "../TransitionVertical.vue.js";
6
+ const F = /* @__PURE__ */ T({
7
7
  props: {
8
8
  value: [String, Number],
9
9
  options: {
@@ -18,54 +18,73 @@ const P = /* @__PURE__ */ C({
18
18
  onChange: Function
19
19
  },
20
20
  setup(a, {
21
- emit: f,
22
- expose: b
21
+ emit: w,
22
+ expose: h
23
23
  }) {
24
- const s = M(a, "value", f), m = k("disabled"), n = d(() => a.disabled || m?.value), l = c(!1), u = c(null), r = c("bottom"), i = d(() => a.options.find((e) => e.value === s.value)), g = (e) => typeof e == "function" ? e() : e, w = d(() => {
25
- if (!i.value) return a.placeholder;
26
- const e = i.value.label;
24
+ const r = H(a, "value", w), y = V("disabled"), s = v(() => a.disabled || y?.value), l = u(!1), n = u(null), d = u("bottom"), p = u(null), i = u({}), c = v(() => a.options.find((e) => e.value === r.value)), x = (e) => typeof e == "function" ? e() : e, C = v(() => {
25
+ if (!c.value) return a.placeholder;
26
+ const e = c.value.label;
27
27
  return typeof e == "function" ? e() : e;
28
- }), v = () => {
29
- if (!u.value) return;
30
- const e = u.value.getBoundingClientRect(), p = window.innerHeight - e.bottom, x = e.top;
31
- p < 500 && x > p ? r.value = "top" : r.value = "bottom";
32
- }, h = () => {
33
- n.value || (l.value || v(), l.value = !l.value);
34
- }, y = (e) => {
35
- e.disabled || n.value || (s.value = e.value, l.value = !1, a.onChange?.(e.value));
28
+ }), f = () => {
29
+ if (!n.value) return;
30
+ const e = n.value.getBoundingClientRect(), b = window.innerHeight, m = b - e.bottom, O = e.top, B = 500, M = getComputedStyle(n.value).getPropertyValue("--hue"), g = {
31
+ position: "fixed",
32
+ left: `${e.left}px`,
33
+ width: `${e.width}px`,
34
+ "--hue": M
35
+ };
36
+ m < B && O > m ? (d.value = "top", i.value = {
37
+ ...g,
38
+ bottom: `${b - e.top + 8}px`
39
+ }) : (d.value = "bottom", i.value = {
40
+ ...g,
41
+ top: `${e.bottom + 8}px`
42
+ });
43
+ }, S = () => {
44
+ s.value || (l.value || f(), l.value = !l.value);
45
+ }, k = (e) => {
46
+ e.disabled || s.value || (r.value = e.value, l.value = !1, a.onChange?.(e.value));
36
47
  };
37
- return O(u, () => {
48
+ return N(n, () => {
38
49
  l.value = !1;
39
- }), b({
50
+ }, {
51
+ ignore: [p]
52
+ }), h({
40
53
  open: () => {
41
- n.value || (v(), l.value = !0);
54
+ s.value || (f(), l.value = !0);
42
55
  },
43
56
  close: () => {
44
57
  l.value = !1;
45
58
  }
46
59
  }), () => o("div", {
47
- ref: u,
48
- class: [t.select, B.value.textInput, n.value && t.disabled, l.value && t.open]
60
+ ref: n,
61
+ class: [t.select, P.value.textInput, s.value && t.disabled, l.value && t.open]
49
62
  }, [o("div", {
50
- class: [t.trigger, !i.value && t.placeholder],
51
- onClick: h
63
+ class: [t.trigger, !c.value && t.placeholder],
64
+ onClick: S
52
65
  }, [o("span", {
53
66
  class: t.text
54
- }, [w.value]), o("span", {
67
+ }, [C.value]), o("span", {
55
68
  class: [t.arrow, l.value && t.arrowOpen, "i-solar:alt-arrow-down-linear"]
56
- }, null)]), o(D, null, {
57
- default: () => [l.value && o("div", {
58
- class: [t.dropdown, "bg-dropMenu backdrop-blur-8", r.value === "top" && t.dropdownTop]
59
- }, [a.options.length === 0 ? o("div", {
60
- class: t.empty
61
- }, [H("暂无选项")]) : a.options.map((e) => o("div", {
62
- key: e.value,
63
- class: [t.option, "bg-avatarMenuButton", e.value === s.value && t.selected, e.disabled && t.optionDisabled],
64
- onClick: () => y(e)
65
- }, [g(e.label)]))])]
69
+ }, null)]), o($, {
70
+ to: "body"
71
+ }, {
72
+ default: () => [o(R, null, {
73
+ default: () => [l.value && o("div", {
74
+ ref: p,
75
+ class: [t.dropdown, "bg-dropMenu backdrop-blur-8", d.value === "top" && t.dropdownTop],
76
+ style: i.value
77
+ }, [a.options.length === 0 ? o("div", {
78
+ class: t.empty
79
+ }, [D("暂无选项")]) : a.options.map((e) => o("div", {
80
+ key: e.value,
81
+ class: [t.option, "bg-avatarMenuButton", e.value === r.value && t.selected, e.disabled && t.optionDisabled],
82
+ onClick: () => k(e)
83
+ }, [x(e.label)]))])]
84
+ })]
66
85
  })]);
67
86
  }
68
87
  });
69
88
  export {
70
- P as default
89
+ F as default
71
90
  };
@@ -1 +1 @@
1
- .style-module_94I2l{position:relative;width:100%;min-width:120px}.style-module_94I2l:not(.style-module_9bHA-) .style-module_DmzNq:hover{background-color:var(--hover-bg)}.style-module_94I2l:not(.style-module_9bHA-).style-module_-mLRw .style-module_DmzNq{background-color:var(--focus--bg);border:2px solid var(--border-hover-c)}.style-module_94I2l.style-module_9bHA- .style-module_DmzNq{opacity:.5}.style-module_DmzNq{border-radius:12px;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--bg);transition:all .3s;box-sizing:border-box;border:2px solid transparent;display:flex;align-items:center;justify-content:space-between;gap:.5em;min-height:2.8em}.style-module_DmzNq.style-module_UCaPN .style-module_C29oV{opacity:.5}.style-module_C29oV{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-module_ivRiG{transition:transform .3s;opacity:.6}.style-module_ivRiG.style-module_7Qg9z{transform:rotate(180deg)}.style-module_wPfBh{position:absolute;top:calc(100% + 8px);left:0;right:0;border-radius:12px;padding:8px;z-index:1000;max-height:500px;overflow-y:auto}.style-module_wPfBh::-webkit-scrollbar{width:6px}.style-module_wPfBh::-webkit-scrollbar-thumb{background-color:var(--border-hover-c);border-radius:3px}.style-module_wPfBh.style-module_NPikf{top:auto;bottom:calc(100% + 8px)}.style-module_s8wSl{padding:.5em 1em;transition:all .2s;display:flex;align-items:center;justify-content:space-between;font-weight:500;border-radius:8px}.style-module_s8wSl.style-module_y9cdC{color:var(--border-hover-c);font-weight:600}.style-module_s8wSl.style-module_rfohl{opacity:.4}.style-module_EVBKA{padding:1.5em 1.2em;text-align:center;opacity:.5;font-weight:500}
1
+ .style-module_94I2l{position:relative;width:100%;min-width:120px}.style-module_94I2l:not(.style-module_9bHA-) .style-module_DmzNq:hover{background-color:var(--hover-bg)}.style-module_94I2l:not(.style-module_9bHA-).style-module_-mLRw .style-module_DmzNq{background-color:var(--focus--bg);border:2px solid var(--border-hover-c)}.style-module_94I2l.style-module_9bHA- .style-module_DmzNq{opacity:.5}.style-module_DmzNq{border-radius:12px;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--bg);transition:all .3s;box-sizing:border-box;border:2px solid transparent;display:flex;align-items:center;justify-content:space-between;gap:.5em;min-height:2.8em}.style-module_DmzNq.style-module_UCaPN .style-module_C29oV{opacity:.5}.style-module_C29oV{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-module_ivRiG{transition:transform .3s;opacity:.6}.style-module_ivRiG.style-module_7Qg9z{transform:rotate(180deg)}.style-module_wPfBh{border-radius:12px;padding:8px;z-index:1000;max-height:500px;overflow-y:auto}.style-module_wPfBh::-webkit-scrollbar{width:6px}.style-module_wPfBh::-webkit-scrollbar-thumb{background-color:var(--border-hover-c);border-radius:3px}.style-module_s8wSl{padding:.5em 1em;transition:all .2s;display:flex;align-items:center;justify-content:space-between;font-weight:500;border-radius:8px}.style-module_s8wSl.style-module_y9cdC{color:var(--border-hover-c);font-weight:600}.style-module_s8wSl.style-module_rfohl{opacity:.4}.style-module_EVBKA{padding:1.5em 1.2em;text-align:center;opacity:.5;font-weight:500}
@@ -1,4 +1,4 @@
1
- const e = "style-module_94I2l", o = "style-module_9bHA-", t = "style-module_DmzNq", l = "style-module_-mLRw", s = "style-module_UCaPN", d = "style-module_C29oV", n = "style-module_ivRiG", c = "style-module_7Qg9z", r = "style-module_wPfBh", p = "style-module_NPikf", m = "style-module_s8wSl", y = "style-module_y9cdC", u = "style-module_rfohl", _ = "style-module_EVBKA", a = {
1
+ const e = "style-module_94I2l", o = "style-module_9bHA-", t = "style-module_DmzNq", l = "style-module_-mLRw", s = "style-module_UCaPN", d = "style-module_C29oV", n = "style-module_ivRiG", c = "style-module_7Qg9z", r = "style-module_wPfBh", m = "style-module_s8wSl", y = "style-module_y9cdC", p = "style-module_rfohl", u = "style-module_EVBKA", a = {
2
2
  select: e,
3
3
  disabled: o,
4
4
  trigger: t,
@@ -8,11 +8,10 @@ const e = "style-module_94I2l", o = "style-module_9bHA-", t = "style-module_DmzN
8
8
  arrow: n,
9
9
  arrowOpen: c,
10
10
  dropdown: r,
11
- dropdownTop: p,
12
11
  option: m,
13
12
  selected: y,
14
- optionDisabled: u,
15
- empty: _
13
+ optionDisabled: p,
14
+ empty: u
16
15
  };
17
16
  export {
18
17
  n as arrow,
@@ -20,11 +19,10 @@ export {
20
19
  a as default,
21
20
  o as disabled,
22
21
  r as dropdown,
23
- p as dropdownTop,
24
- _ as empty,
22
+ u as empty,
25
23
  l as open,
26
24
  m as option,
27
- u as optionDisabled,
25
+ p as optionDisabled,
28
26
  s as placeholder,
29
27
  e as select,
30
28
  y as selected,
@@ -0,0 +1,37 @@
1
+ import { PropType } from 'vue';
2
+ declare const TabPane: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ name: {
4
+ type: PropType<string | number>;
5
+ required: true;
6
+ };
7
+ tab: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ disabled: BooleanConstructor;
12
+ color: StringConstructor;
13
+ }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ name: {
15
+ type: PropType<string | number>;
16
+ required: true;
17
+ };
18
+ tab: {
19
+ type: StringConstructor;
20
+ required: true;
21
+ };
22
+ disabled: BooleanConstructor;
23
+ color: StringConstructor;
24
+ }>> & Readonly<{}>, {
25
+ disabled: boolean;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
+ declare const Tabs: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
28
+ value: PropType<string | number>;
29
+ onUpdateValue: PropType<(v: string | number) => void>;
30
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
+ value: PropType<string | number>;
32
+ onUpdateValue: PropType<(v: string | number) => void>;
33
+ }>> & Readonly<{
34
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
35
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
+ export { TabPane };
37
+ export default Tabs;
@@ -0,0 +1,75 @@
1
+ import { defineComponent as d, computed as p, watchEffect as f, provide as b, createVNode as s, inject as v, isVNode as g, Comment as y, Fragment as h } from "vue";
2
+ import { useVModel as x } from "@vueuse/core";
3
+ const c = Symbol("mnui-tabs-active-name"), C = /* @__PURE__ */ d({
4
+ name: "TabPane",
5
+ props: {
6
+ name: {
7
+ type: [String, Number],
8
+ required: !0
9
+ },
10
+ tab: {
11
+ type: String,
12
+ required: !0
13
+ },
14
+ disabled: Boolean,
15
+ color: String
16
+ },
17
+ setup(o, {
18
+ slots: t
19
+ }) {
20
+ const e = v(c, void 0);
21
+ return () => !e || e.value !== o.name ? null : s("div", null, [t.default?.()]);
22
+ }
23
+ }), m = (o) => {
24
+ const t = [];
25
+ for (const e of o)
26
+ if (!(!g(e) || e.type === y)) {
27
+ if (e.type === C) {
28
+ t.push(e);
29
+ continue;
30
+ }
31
+ e.type === h && Array.isArray(e.children) && t.push(...m(e.children));
32
+ }
33
+ return t;
34
+ }, T = /* @__PURE__ */ d({
35
+ name: "Tabs",
36
+ props: {
37
+ value: [String, Number],
38
+ onUpdateValue: Function
39
+ },
40
+ emits: ["update:value"],
41
+ setup(o, {
42
+ emit: t,
43
+ slots: e
44
+ }) {
45
+ const a = x(o, "value", t), l = p(() => m(e.default?.() ?? []));
46
+ return f(() => {
47
+ const r = l.value;
48
+ if (r.length === 0 || r.some((u) => u.props?.name === a.value && !u.props?.disabled)) return;
49
+ const n = r.find((u) => !u.props?.disabled);
50
+ n?.props?.name !== void 0 && (a.value = n.props.name);
51
+ }), b(c, p(() => a.value)), () => s("div", {
52
+ class: "flex flex-col gap-3"
53
+ }, [s("div", {
54
+ class: "flex items-center gap-1 rd-xl bg-input p-1"
55
+ }, [l.value.map((r) => {
56
+ const i = r.props?.name === a.value, n = r.props?.color;
57
+ return s("button", {
58
+ key: String(r.props?.name),
59
+ class: ["px-3 py-1.5 text-sm rd-lg border border-transparent", r.props?.disabled ? "opacity-50 cursor-not-allowed" : "cursor-pointer", i ? "bg-avatarMenuButton font-600" : "bg-transparent"],
60
+ style: i && n ? {
61
+ color: n,
62
+ borderColor: n
63
+ } : void 0,
64
+ disabled: !!r.props?.disabled,
65
+ onClick: () => {
66
+ !r.props?.disabled && r.props?.name !== void 0 && (a.value = r.props.name);
67
+ }
68
+ }, [r.props?.tab]);
69
+ })]), s("div", null, [e.default?.()])]);
70
+ }
71
+ });
72
+ export {
73
+ C as TabPane,
74
+ T as default
75
+ };
package/dist/index.d.ts CHANGED
@@ -19,13 +19,16 @@ export type { SelectOption, SelectExposed, SelectInstance } from './components/S
19
19
  export { default as TransitionVertical } from './components/TransitionVertical.vue';
20
20
  export { default as Range } from './components/Range.vue';
21
21
  export { default as TransitionOpacity } from './components/TransitionOpacity';
22
+ export { default as Tabs, TabPane } from './components/Tabs';
22
23
  export { default as DropMenu } from './components/DropMenu';
23
24
  export { default as DropDown } from './components/DropMenu/DropDown';
24
25
  export { default as GlobalElementsContainer } from './components/GlobalElementsContainer';
25
26
  export { default as ScrollText } from './components/ScrollText';
26
27
  export { default as WhateverNaviBar } from './components/SubNaviBar/WhateverNaviBar';
27
28
  export { default as WarningBackground } from './components/WarningBackground';
29
+ export { default as Popover } from './components/Popover';
28
30
  export type { NaviItem } from './components/SubNaviBar/WhateverNaviBar';
31
+ export { default as Progress } from './components/Progress';
29
32
  export { foregroundTask } from './components/GlobalElementsContainer/ForegroundTask';
30
33
  export { showTransactionalDialog } from './components/GlobalElementsContainer/TransactionalDialog';
31
34
  export { taskManager } from './components/GlobalElementsContainer/TaskManager';
package/dist/index.js CHANGED
@@ -1,85 +1,92 @@
1
- import { UIThemes as r, clearAppThemes as t, currentThemeVars as a, isLightTheme as f, realThemeName as m, registerAppTheme as s, selectedThemeHue as l, selectedThemeName as d, theme as p, themeClasses as x } from "./themes/index.js";
1
+ import { UIThemes as r, clearAppThemes as a, currentThemeVars as t, isLightTheme as f, realThemeName as s, registerAppTheme as m, selectedThemeHue as l, selectedThemeName as p, theme as d, themeClasses as x } from "./themes/index.js";
2
2
  import { configureUIStrings as n, getUIString as i } from "./i18n/index.js";
3
- import { addToast as g, toasts as h } from "./controllers/toastController.js";
3
+ import { addToast as c, toasts as h } from "./controllers/toastController.js";
4
4
  import { getModalIndex as S, isTopModal as I, modalShowing as M, modalStack as k, registerModal as y, unregisterModal as B } from "./states/modal.js";
5
5
  import { default as U } from "./components/Button/index.js";
6
- import { default as C } from "./components/TextInput/index.js";
7
- import { default as V } from "./components/CheckBox/index.js";
8
- import { default as R } from "./components/CheckBox/FlagCheckBox.js";
9
- import { default as b } from "./components/Radio/index.js";
10
- import { default as v } from "./components/Modal/index.js";
11
- import { default as F } from "./components/Modal/styles.module.sass.js";
12
- import { default as G } from "./components/Window/index.js";
13
- import { default as O } from "./components/Section/index.js";
14
- import { default as j } from "./components/DateFormat.js";
15
- import { default as J } from "./components/Qrcode.js";
16
- import { default as P } from "./components/NumberInput.js";
6
+ import { default as w } from "./components/TextInput/index.js";
7
+ import { default as N } from "./components/CheckBox/index.js";
8
+ import { default as v } from "./components/CheckBox/FlagCheckBox.js";
9
+ import { default as P } from "./components/Radio/index.js";
10
+ import { default as W } from "./components/Modal/index.js";
11
+ import { default as A } from "./components/Modal/styles.module.sass.js";
12
+ import { default as E } from "./components/Window/index.js";
13
+ import { default as H } from "./components/Section/index.js";
14
+ import { default as Q } from "./components/DateFormat.js";
15
+ import { default as z } from "./components/Qrcode.js";
16
+ import { default as K } from "./components/NumberInput.js";
17
17
  import { default as Y } from "./components/Select/index.js";
18
18
  import { default as _ } from "./components/TransitionVertical.vue.js";
19
19
  import { default as ee } from "./components/Range.vue.js";
20
20
  import { default as re } from "./components/TransitionOpacity.js";
21
- import { default as ae } from "./components/DropMenu/index.js";
22
- import { default as me } from "./components/DropMenu/DropDown.js";
23
- import { default as le } from "./components/GlobalElementsContainer/index.js";
24
- import { default as pe } from "./components/ScrollText/index.js";
25
- import { default as ue } from "./components/SubNaviBar/WhateverNaviBar.js";
26
- import { default as ie } from "./components/WarningBackground/index.js";
27
- import { foregroundTask as ge } from "./components/GlobalElementsContainer/ForegroundTask.js";
28
- import { showTransactionalDialog as Te } from "./components/GlobalElementsContainer/TransactionalDialog.js";
29
- import { taskManager as Ie } from "./components/GlobalElementsContainer/TaskManager.js";
30
- import { composeThemeRoots as ke, composeThemeStyles as ye, mergeStyles as Be } from "./themes/base/composer.js";
31
- import { dynamicLightUI as Ue, dynamicLightVars as we } from "./themes/dynamicLight/index.js";
32
- import { aquadxUI as Ne, aquadxVars as Ve } from "./themes/aquadx/index.js";
21
+ import { TabPane as te, default as fe } from "./components/Tabs/index.js";
22
+ import { default as me } from "./components/DropMenu/index.js";
23
+ import { default as pe } from "./components/DropMenu/DropDown.js";
24
+ import { default as xe } from "./components/GlobalElementsContainer/index.js";
25
+ import { default as ne } from "./components/ScrollText/index.js";
26
+ import { default as ge } from "./components/SubNaviBar/WhateverNaviBar.js";
27
+ import { default as he } from "./components/WarningBackground/index.js";
28
+ import { default as Se } from "./components/Popover/index.js";
29
+ import { default as Me } from "./components/Progress/index.js";
30
+ import { foregroundTask as ye } from "./components/GlobalElementsContainer/ForegroundTask.js";
31
+ import { showTransactionalDialog as De } from "./components/GlobalElementsContainer/TransactionalDialog.js";
32
+ import { taskManager as be } from "./components/GlobalElementsContainer/TaskManager.js";
33
+ import { composeThemeRoots as Ce, composeThemeStyles as Ne, mergeStyles as Ve } from "./themes/base/composer.js";
34
+ import { dynamicLightUI as Le, dynamicLightVars as Pe } from "./themes/dynamicLight/index.js";
35
+ import { aquadxUI as We, aquadxVars as qe } from "./themes/aquadx/index.js";
33
36
  export {
34
37
  U as Button,
35
- V as CheckBox,
36
- j as DateFormat,
37
- me as DropDown,
38
- ae as DropMenu,
39
- R as FlagCheckBox,
40
- le as GlobalElementsContainer,
41
- v as Modal,
42
- F as ModalStyles,
43
- P as NumberInput,
44
- J as Qrcode,
45
- b as Radio,
38
+ N as CheckBox,
39
+ Q as DateFormat,
40
+ pe as DropDown,
41
+ me as DropMenu,
42
+ v as FlagCheckBox,
43
+ xe as GlobalElementsContainer,
44
+ W as Modal,
45
+ A as ModalStyles,
46
+ K as NumberInput,
47
+ Se as Popover,
48
+ Me as Progress,
49
+ z as Qrcode,
50
+ P as Radio,
46
51
  ee as Range,
47
- pe as ScrollText,
48
- O as Section,
52
+ ne as ScrollText,
53
+ H as Section,
49
54
  Y as Select,
50
- C as TextInput,
55
+ te as TabPane,
56
+ fe as Tabs,
57
+ w as TextInput,
51
58
  re as TransitionOpacity,
52
59
  _ as TransitionVertical,
53
60
  r as UIThemes,
54
- ie as WarningBackground,
55
- ue as WhateverNaviBar,
56
- G as Window,
57
- g as addToast,
58
- Ne as aquadxUI,
59
- Ve as aquadxVars,
60
- t as clearAppThemes,
61
- ke as composeThemeRoots,
62
- ye as composeThemeStyles,
61
+ he as WarningBackground,
62
+ ge as WhateverNaviBar,
63
+ E as Window,
64
+ c as addToast,
65
+ We as aquadxUI,
66
+ qe as aquadxVars,
67
+ a as clearAppThemes,
68
+ Ce as composeThemeRoots,
69
+ Ne as composeThemeStyles,
63
70
  n as configureUIStrings,
64
- a as currentThemeVars,
65
- Ue as dynamicLightUI,
66
- we as dynamicLightVars,
67
- ge as foregroundTask,
71
+ t as currentThemeVars,
72
+ Le as dynamicLightUI,
73
+ Pe as dynamicLightVars,
74
+ ye as foregroundTask,
68
75
  S as getModalIndex,
69
76
  i as getUIString,
70
77
  f as isLightTheme,
71
78
  I as isTopModal,
72
- Be as mergeStyles,
79
+ Ve as mergeStyles,
73
80
  M as modalShowing,
74
81
  k as modalStack,
75
- m as realThemeName,
76
- s as registerAppTheme,
82
+ s as realThemeName,
83
+ m as registerAppTheme,
77
84
  y as registerModal,
78
85
  l as selectedThemeHue,
79
- d as selectedThemeName,
80
- Te as showTransactionalDialog,
81
- Ie as taskManager,
82
- p as theme,
86
+ p as selectedThemeName,
87
+ De as showTransactionalDialog,
88
+ be as taskManager,
89
+ d as theme,
83
90
  x as themeClasses,
84
91
  h as toasts,
85
92
  B as unregisterModal
@@ -1 +1 @@
1
- @charset "UTF-8";body:has(.components-module_e-IS4){background:#222;--text-color: #ffffffde;--link-color: #b3c6ff;--modal-backdrop-bg: #2b2b2b;--modal-button-bg: rgb(70, 70, 70);--modal-button-hover-bg: rgb(76, 76, 76);--modal-button-active-bg: rgb(81, 81, 81);--modal-title-handle-bg: rgb(100, 108, 255);--fl-bg: rgba(255, 255, 255, .15)}body:has(.components-module_e-IS4) .components-module_e-IS4{display:none}body:has(.components-module_e-IS4) ::selection{background:#7280ea}body:has(.components-module_e-IS4) button,body:has(.components-module_e-IS4) select,body:has(.components-module_e-IS4) a.button{background-color:#ffffff14}body:has(.components-module_e-IS4) button:not(:disabled):hover,body:has(.components-module_e-IS4) select:not(:disabled):hover,body:has(.components-module_e-IS4) a.button:not(:disabled):hover{background-color:#ffffff1a}body:has(.components-module_e-IS4) button:not(:disabled):active,body:has(.components-module_e-IS4) select:not(:disabled):active,body:has(.components-module_e-IS4) a.button:not(:disabled):active{background-color:#ffffff20}body:has(.components-module_e-IS4) option{background-color:#222;color:#fff}body:has(.components-module_e-IS4) .components-module_fsgc0{border-color:#b3c6ff}body:has(.components-module_e-IS4) input[type=checkbox],body:has(.components-module_e-IS4) input[type=radio]{border-color:#b3c6ff}body:has(.components-module_e-IS4) input[type=checkbox]:checked,body:has(.components-module_e-IS4) input[type=radio]:checked{background-color:#b3c6ff;border-color:#b3c6ff}body:has(.components-module_e-IS4) .components-module_GT7Cc{color:var(--link-color)}@media (hover: hover){body:has(.components-module_e-IS4) .cst::-webkit-scrollbar-thumb{background-color:#999}body:has(.components-module_e-IS4) .cst::-webkit-scrollbar-thumb:hover{background-color:#666!important}}body:has(.components-module_e-IS4) .bg-splash{background:#111}body:has(.components-module_e-IS4) .bg-avatarMenu,body:has(.components-module_e-IS4) .bg-dropMenu{background:#3a3a3acc}body:has(.components-module_e-IS4) .bg-avatarMenuButton:hover{background:#fff1}body:has(.components-module_e-IS4) .bg-foregroundTask{background:#111c}body:has(.components-module_e-IS4) .bg-taskManager{background-color:#ffffff1a}body:has(.components-module_e-IS4) .c-taskManager-spin{color:#fff}body:has(.components-module_e-IS4) .c-taskManager-text{color:#fff}body:has(.components-module_e-IS4) .bg-toast-bar{background:#282828}body:has(.components-module_e-IS4) .bg-toast{background:#333}body:has(.components-module_e-IS4) .bg-dialogButton-error{background-color:#9f1239!important}body:has(.components-module_e-IS4) .bg-dialogButton-error:hover{background-color:#be123c!important}body:has(.components-module_e-IS4) .bg-modal{background:#383838}body:has(.components-module_e-IS4) .components-module_MNdKs{--border-hover-c: #b3c6ff;--hover-bg: #ffffff1a;--focus--bg: #ffffff20;--bg: #ffffff14}body:has(.components-module_e-IS4) .components-module_tSHNB .components-module_BUF00{background:#646cff;color:#fff}body:has(.components-module_e-IS4) .components-module_1s6C2 .components-module_4HjO-{background:#2a2a2a}body:has(.components-module_e-IS4) .components-module_1s6C2 .components-module_4HjO-:hover{background:#333}body:has(.components-module_e-IS4) .components-module_9aZnJ{background:#f0f0f0}body:has(.components-module_e-IS4) .components-module_3aGwJ{--color: #3f3f3f}body:has(.components-module_e-IS4) .components-module_On6-m>a:hover:not(.components-module_eZ-4N){background:#2c2c2c}body:has(.components-module_e-IS4) .components-module_On6-m :not(.components-module_eZ-4N) a:hover:not(.components-module_eZ-4N),body:has(.components-module_e-IS4) .components-module_On6-m :not(.components-module_eZ-4N) div:hover:not(.components-module_eZ-4N){background:#2c2c2c}body:has(.components-module_e-IS4) .components-module_On6-m .components-module_eZ-4N{background:#373737}body:has(.components-module_e-IS4) .components-module_ptXr7{--color: #973c00}
1
+ @charset "UTF-8";body:has(.components-module_e-IS4){background:#222;--text-color: #ffffffde;--link-color: #b3c6ff;--modal-backdrop-bg: #2b2b2b;--modal-button-bg: rgb(70, 70, 70);--modal-button-hover-bg: rgb(76, 76, 76);--modal-button-active-bg: rgb(81, 81, 81);--modal-title-handle-bg: rgb(100, 108, 255);--fl-bg: rgba(255, 255, 255, .15)}body:has(.components-module_e-IS4) .components-module_e-IS4{display:none}body:has(.components-module_e-IS4) ::selection{background:#7280ea}body:has(.components-module_e-IS4) button,body:has(.components-module_e-IS4) select,body:has(.components-module_e-IS4) a.button{background-color:#ffffff14}body:has(.components-module_e-IS4) button:not(:disabled):hover,body:has(.components-module_e-IS4) select:not(:disabled):hover,body:has(.components-module_e-IS4) a.button:not(:disabled):hover{background-color:#ffffff1a}body:has(.components-module_e-IS4) button:not(:disabled):active,body:has(.components-module_e-IS4) select:not(:disabled):active,body:has(.components-module_e-IS4) a.button:not(:disabled):active{background-color:#ffffff20}body:has(.components-module_e-IS4) option{background-color:#222;color:#fff}body:has(.components-module_e-IS4) .components-module_fsgc0{border-color:#b3c6ff}body:has(.components-module_e-IS4) input[type=checkbox],body:has(.components-module_e-IS4) input[type=radio]{border-color:#b3c6ff}body:has(.components-module_e-IS4) input[type=checkbox]:checked,body:has(.components-module_e-IS4) input[type=radio]:checked{background-color:#b3c6ff;border-color:#b3c6ff}body:has(.components-module_e-IS4) .components-module_GT7Cc{color:var(--link-color)}@media (hover: hover){body:has(.components-module_e-IS4) .cst::-webkit-scrollbar-thumb{background-color:#999}body:has(.components-module_e-IS4) .cst::-webkit-scrollbar-thumb:hover{background-color:#666!important}}body:has(.components-module_e-IS4) .bg-splash{background:#111}body:has(.components-module_e-IS4) .bg-avatarMenu,body:has(.components-module_e-IS4) .bg-dropMenu{background:#3a3a3acc}body:has(.components-module_e-IS4) .bg-avatarMenuButton:hover{background:#fff1}body:has(.components-module_e-IS4) .bg-foregroundTask{background:#111c}body:has(.components-module_e-IS4) .bg-taskManager{background-color:#ffffff1a}body:has(.components-module_e-IS4) .c-taskManager-spin{color:#fff}body:has(.components-module_e-IS4) .c-taskManager-text{color:#fff}body:has(.components-module_e-IS4) .bg-toast-bar{background:#282828}body:has(.components-module_e-IS4) .bg-toast{background:#333}body:has(.components-module_e-IS4) .bg-dialogButton-error{background-color:#9f1239!important}body:has(.components-module_e-IS4) .bg-dialogButton-error:hover{background-color:#be123c!important}body:has(.components-module_e-IS4) .bg-modal{background:#383838}body:has(.components-module_e-IS4) .components-module_MNdKs{--border-hover-c: #b3c6ff;--hover-bg: #ffffff1a;--focus--bg: #ffffff20;--bg: #ffffff14}body:has(.components-module_e-IS4) .components-module_tSHNB .components-module_BUF00{background:#646cff;color:#fff}body:has(.components-module_e-IS4) .components-module_1s6C2 .components-module_4HjO-{background:#2a2a2a}body:has(.components-module_e-IS4) .components-module_1s6C2 .components-module_4HjO-:hover{background:#333}body:has(.components-module_e-IS4) .components-module_9aZnJ{background:#f0f0f0}body:has(.components-module_e-IS4) .components-module_3aGwJ{--color: #3f3f3f}body:has(.components-module_e-IS4) .components-module_On6-m>a:hover:not(.components-module_eZ-4N){background:#2c2c2c}body:has(.components-module_e-IS4) .components-module_On6-m :not(.components-module_eZ-4N) a:hover:not(.components-module_eZ-4N),body:has(.components-module_e-IS4) .components-module_On6-m :not(.components-module_eZ-4N) div:hover:not(.components-module_eZ-4N){background:#2c2c2c}body:has(.components-module_e-IS4) .components-module_On6-m .components-module_eZ-4N{background:#373737}body:has(.components-module_e-IS4) .components-module_ptXr7{--color: #973c00}.components-module_nM74x{--at-apply: transition-colors}.components-module_nM74x:hover{background-color:#282828}.components-module_RJ4do,.components-module_YUTzr:active:hover{background-color:#333}.components-module_8hmM9{background-color:#222c}