@xiaou66/u-web-ui 0.0.17 → 0.0.19

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
- {"version":3,"file":"LeftMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/LeftMenu/LeftMenu.vue"],"names":[],"mappings":";AA8HA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,YAAY,CAAC;AAGpB,KAAK,WAAW,GAAG,aAAa,CAAC;AAkEjC,KAAK,iBAAiB,GAAG;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAiMT,OAAO,IAA6B;;sBAVvB,GAAG;;;;EAe7B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;6EAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"LeftMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/LeftMenu/LeftMenu.vue"],"names":[],"mappings":";AA8HA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,YAAY,CAAA;AAGnB,KAAK,WAAW,GAAG,aAAa,CAAC;AAkEjC,KAAK,iBAAiB,GAAG;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmMT,OAAO,IAA6B;;sBAVvB,GAAG;;;;EAe7B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;6EAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UtoolsLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/UtoolsLayout/UtoolsLayout.vue"],"names":[],"mappings":";;;AA0EA,OAAO,EAAmC,KAAK,cAAc,EAAE,MAAM,YAAY,CAAA;AAEjF,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAiBJ,iBAAS,cAAc;WA0HT,OAAO,IAA6B;;+BAZd,GAAG;wBACV,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA6D46f,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;EA7CjkgB;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAhKT,MAAM;YAHL,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAiMy7f,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;kBArBhkgB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"UtoolsLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/UtoolsLayout/UtoolsLayout.vue"],"names":[],"mappings":";;;AAyEA,OAAO,EAAmC,KAAK,cAAc,EAAE,MAAM,YAAY,CAAA;AAEjF,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAiBJ,iBAAS,cAAc;WA0HT,OAAO,IAA6B;;+BAZd,GAAG;wBACV,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA6DqggB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;EA7C1pgB;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;WAhKT,MAAM;YAHL,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAiMkhgB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;kBArBzpgB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,8 +1,12 @@
1
1
  /**
2
2
  * SwitchPlus 组件的 Props 类型
3
- * 注意:modelValue 通过 defineModel 定义,不在 Props 中
4
3
  */
5
4
  export interface SwitchPlusProps {
5
+ /**
6
+ * @zh 绑定值
7
+ * @en Value
8
+ */
9
+ modelValue?: string | number | boolean;
6
10
  /**
7
11
  * @zh 默认选中状态(非受控状态)
8
12
  * @en Default selected state (uncontrolled state)
@@ -68,9 +72,9 @@ export interface SwitchPlusProps {
68
72
  }
69
73
  /**
70
74
  * SwitchPlus 组件的 Emits 类型
71
- * 注意:update:modelValue 由 defineModel 自动处理,不需要手动定义
72
75
  */
73
76
  export interface SwitchPlusEmits {
77
+ 'update:modelValue': [value: boolean | string | number];
74
78
  /**
75
79
  * @zh 值改变时触发
76
80
  * @en Trigger when the value changes
@@ -1 +1 @@
1
- {"version":3,"file":"SwitchPlus.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchPlus/SwitchPlus.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACzC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,CACb,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAChC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,OAAO,GAAG,IAAI,CAAC;IAC9C;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;IACxD;;;;OAIG;IACH,OAAO,EAAE,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;IAC1B;;;;OAIG;IACH,MAAM,EAAE,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,OAAO,CAAC,IAAI,GAAG,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,IAAI,GAAG,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,IAAI,GAAG,CAAC;IACvB;;;OAGG;IACH,gBAAgB,CAAC,IAAI,GAAG,CAAC;CAC1B"}
1
+ {"version":3,"file":"SwitchPlus.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchPlus/SwitchPlus.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACvC;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACzC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3C;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,CACb,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAChC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,GAAG,OAAO,GAAG,IAAI,CAAC;IAC9C;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,mBAAmB,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC,CAAC;IACxD;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;IACxD;;;;OAIG;IACH,OAAO,EAAE,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;IAC1B;;;;OAIG;IACH,MAAM,EAAE,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,OAAO,CAAC,IAAI,GAAG,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,IAAI,GAAG,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,IAAI,GAAG,CAAC;IACvB;;;OAGG;IACH,gBAAgB,CAAC,IAAI,GAAG,CAAC;CAC1B"}
@@ -16,11 +16,13 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
16
16
  change: (value: string | number | boolean, ev: Event) => any;
17
17
  focus: (ev: FocusEvent) => any;
18
18
  "update:value": (value: string | number | boolean) => any;
19
+ "update:modelValue": (value: string | number | boolean) => any;
19
20
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
21
  onBlur?: ((ev: FocusEvent) => any) | undefined;
21
22
  onChange?: ((value: string | number | boolean, ev: Event) => any) | undefined;
22
23
  onFocus?: ((ev: FocusEvent) => any) | undefined;
23
24
  "onUpdate:value"?: ((value: string | number | boolean) => any) | undefined;
25
+ "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
24
26
  }>, {
25
27
  size: "small" | "medium" | "large";
26
28
  type: "circle" | "round" | "line";
@@ -1 +1 @@
1
- {"version":3,"file":"SwitchPlus.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchPlus/SwitchPlus.vue"],"names":[],"mappings":";AA8LA,OAAO,KAAK,EAAE,eAAe,EAAmB,eAAe,EAAE,MAAM,cAAc,CAAC;AAatF,KAAK,WAAW,GAAG,eAAe,CAAC;AA8InC,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACnC,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkFT,OAAO,IAA6B;;;;EAKjD;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;2FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SwitchPlus.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchPlus/SwitchPlus.vue"],"names":[],"mappings":";AA8LA,OAAO,KAAK,EAAE,eAAe,EAAmB,eAAe,EAAE,MAAM,cAAc,CAAC;AAatF,KAAK,WAAW,GAAG,eAAe,CAAC;AA8InC,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACnC,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkFT,OAAO,IAA6B;;;;EAKjD;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;2FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SwitchPlusEnable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchPlus/SwitchPlusEnable.vue"],"names":[],"mappings":";AA4CA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AASnD,KAAK,WAAW,GAAG,eAAe,CAAC;AA2BnC,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACnC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;AA0EhB,wBASG"}
1
+ {"version":3,"file":"SwitchPlusEnable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchPlus/SwitchPlusEnable.vue"],"names":[],"mappings":";AAwCA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AASnD,KAAK,WAAW,GAAG,eAAe,CAAC;AA2BnC,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACnC,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;AAwEhB,wBASG"}
@@ -1,3 +1,4 @@
1
1
  export * from './SwitchEnable';
2
2
  export * from './SwitchPlus';
3
+ export * from './SwitchPlus';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
package/dist/index.es.js CHANGED
@@ -1,23 +1,23 @@
1
1
  import { Aside as e, Avatar as t, Button as n, Content as r, Divider as i, HeadMenu as a, Header as o, Icon as s, Layout as c, Menu as l, MenuItem as u, Submenu as d, Switch as f } from "tdesign-vue-next";
2
- import { Fragment as p, Teleport as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as b, createTextVNode as x, createVNode as S, defineComponent as C, getCurrentInstance as w, getCurrentScope as T, inject as E, mergeModels as D, mergeProps as O, nextTick as k, normalizeClass as A, normalizeStyle as j, onMounted as M, onScopeDispose as N, onUnmounted as P, openBlock as F, provide as I, reactive as L, ref as R, renderList as z, renderSlot as B, resolveComponent as V, resolveDynamicComponent as ee, toDisplayString as H, toHandlers as U, toRefs as W, toValue as G, unref as K, useAttrs as te, useModel as q, useSlots as ne, useTemplateRef as re, watch as ie, withCtx as J, withModifiers as Y } from "vue";
3
- import { useRoute as ae, useRouter as oe } from "vue-router";
4
- const se = "u-web";
2
+ import { Fragment as p, Teleport as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as b, createTextVNode as x, createVNode as S, defineComponent as C, getCurrentInstance as w, getCurrentScope as T, inject as E, mergeModels as D, mergeProps as O, nextTick as k, normalizeClass as A, normalizeStyle as j, onMounted as M, onScopeDispose as N, onUnmounted as P, openBlock as F, provide as I, reactive as L, ref as R, renderList as z, renderSlot as B, resolveComponent as V, resolveDynamicComponent as ee, toDisplayString as H, toHandlers as U, toRefs as W, toValue as G, unref as K, useAttrs as te, useModel as q, useSlots as ne, watch as re, withCtx as J, withModifiers as Y } from "vue";
3
+ import { useRoute as ie, useRouter as ae } from "vue-router";
4
+ const oe = "u-web";
5
5
  function X(...e) {
6
- return se + "-" + e.join("-");
6
+ return oe + "-" + e.join("-");
7
7
  }
8
8
  function Z(...e) {
9
9
  let t = e.join("-");
10
10
  return (...e) => X(t, ...e);
11
11
  }
12
- function ce(e) {
12
+ function se(e) {
13
13
  return e.substring(0, 1).toUpperCase() + e.substring(1);
14
14
  }
15
- const Q = "on", le = [
15
+ const Q = "on", ce = [
16
16
  "Capture",
17
17
  "Passive",
18
18
  "Once"
19
- ], ue = /* @__PURE__ */ RegExp(`^(${le.join("|")})*$`);
20
- function de(...e) {
19
+ ], le = /* @__PURE__ */ RegExp(`^(${ce.join("|")})*$`);
20
+ function ue(...e) {
21
21
  if (!e.length) return !1;
22
22
  let t = w();
23
23
  if (!t) return !1;
@@ -25,25 +25,25 @@ function de(...e) {
25
25
  if (!r) return !1;
26
26
  let i = r.props || {}, a = [...Object.keys(n).filter((e) => e.startsWith(Q)), ...Object.keys(i).filter((e) => e.startsWith(Q))];
27
27
  for (let t of e) {
28
- let e = t.startsWith(Q) ? t : `${Q}${ce(t)}`;
28
+ let e = t.startsWith(Q) ? t : `${Q}${se(t)}`;
29
29
  if (a.includes(e)) return !0;
30
30
  for (let t of a) if (t.startsWith(e)) {
31
31
  let n = t.slice(e.length);
32
- if (n && ue.test(n)) return !0;
32
+ if (n && le.test(n)) return !0;
33
33
  }
34
34
  }
35
35
  return !1;
36
36
  }
37
- function fe(e) {
37
+ function de(e) {
38
38
  return typeof e == "function";
39
39
  }
40
- function pe(e) {
40
+ function fe(e) {
41
41
  return e === null;
42
42
  }
43
- function me(e) {
43
+ function pe(e) {
44
44
  return e === void 0;
45
45
  }
46
- var he = /* @__PURE__ */ C({
46
+ var me = /* @__PURE__ */ C({
47
47
  __name: "WebBaseLayout",
48
48
  setup(t) {
49
49
  return (t, n) => {
@@ -69,71 +69,71 @@ var he = /* @__PURE__ */ C({
69
69
  });
70
70
  };
71
71
  }
72
- }), ge = he;
73
- let _e = /* @__PURE__ */ function(e) {
72
+ }), he = me;
73
+ let ge = /* @__PURE__ */ function(e) {
74
74
  return e.Refresh = "u:leftMenu:refresh", e;
75
75
  }({});
76
- const ve = { refresh: () => {
77
- window.dispatchEvent(new CustomEvent(_e.Refresh));
76
+ const _e = { refresh: () => {
77
+ window.dispatchEvent(new CustomEvent(ge.Refresh));
78
78
  } };
79
- function ye(e) {
79
+ function ve(e) {
80
80
  return T() ? (N(e), !0) : !1;
81
81
  }
82
82
  const $ = typeof window < "u" && typeof document < "u";
83
83
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
84
- const be = Object.prototype.toString, xe = (e) => be.call(e) === "[object Object]";
85
- function Se(e) {
84
+ const ye = Object.prototype.toString, be = (e) => ye.call(e) === "[object Object]";
85
+ function xe(e) {
86
86
  return Array.isArray(e) ? e : [e];
87
87
  }
88
- function Ce(e) {
88
+ function Se(e) {
89
89
  let t = /* @__PURE__ */ Object.create(null);
90
90
  return (n) => {
91
91
  let r = t[n];
92
92
  return r || (t[n] = e(n));
93
93
  };
94
94
  }
95
- const we = /\B([A-Z])/g;
96
- Ce((e) => e.replace(we, "-$1").toLowerCase());
97
- const Te = /-(\w)/g;
98
- Ce((e) => e.replace(Te, (e, t) => t ? t.toUpperCase() : ""));
99
- function Ee(e, t, n) {
100
- return ie(e, t, {
95
+ const Ce = /\B([A-Z])/g;
96
+ Se((e) => e.replace(Ce, "-$1").toLowerCase());
97
+ const we = /-(\w)/g;
98
+ Se((e) => e.replace(we, (e, t) => t ? t.toUpperCase() : ""));
99
+ function Te(e, t, n) {
100
+ return re(e, t, {
101
101
  ...n,
102
102
  immediate: !0
103
103
  });
104
104
  }
105
- const De = $ ? window : void 0;
105
+ const Ee = $ ? window : void 0;
106
106
  $ && window.document, $ && window.navigator, $ && window.location;
107
- function Oe(e) {
107
+ function De(e) {
108
108
  var t;
109
109
  let n = G(e);
110
110
  return (t = n?.$el) ?? n;
111
111
  }
112
- function ke(...e) {
112
+ function Oe(...e) {
113
113
  let t = [], n = () => {
114
114
  t.forEach((e) => e()), t.length = 0;
115
115
  }, r = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), i = h(() => {
116
- let t = Se(G(e[0])).filter((e) => e != null);
116
+ let t = xe(G(e[0])).filter((e) => e != null);
117
117
  return t.every((e) => typeof e != "string") ? t : void 0;
118
- }), a = Ee(() => {
118
+ }), a = Te(() => {
119
119
  var t, n;
120
120
  return [
121
- (n = (t = i.value)?.map((e) => Oe(e))) ?? [De].filter((e) => e != null),
122
- Se(G(i.value ? e[1] : e[0])),
123
- Se(K(i.value ? e[2] : e[1])),
121
+ (n = (t = i.value)?.map((e) => De(e))) ?? [Ee].filter((e) => e != null),
122
+ xe(G(i.value ? e[1] : e[0])),
123
+ xe(K(i.value ? e[2] : e[1])),
124
124
  G(i.value ? e[3] : e[2])
125
125
  ];
126
126
  }, ([e, i, a, o]) => {
127
127
  if (n(), !e?.length || !i?.length || !a?.length) return;
128
- let s = xe(o) ? { ...o } : o;
128
+ let s = be(o) ? { ...o } : o;
129
129
  t.push(...e.flatMap((e) => i.flatMap((t) => a.map((n) => r(e, t, n, s)))));
130
130
  }, { flush: "post" }), o = () => {
131
131
  a(), n();
132
132
  };
133
- return ye(n), o;
133
+ return ve(n), o;
134
134
  }
135
135
  Symbol("vueuse-ssr-width");
136
- var Ae = /* @__PURE__ */ C({
136
+ var ke = /* @__PURE__ */ C({
137
137
  __name: "LeftMenu",
138
138
  props: /* @__PURE__ */ D({
139
139
  hideOperations: {
@@ -158,7 +158,7 @@ var Ae = /* @__PURE__ */ C({
158
158
  function a() {
159
159
  i.value = !i.value;
160
160
  }
161
- let o = oe(), c = ae(), f = R([]);
161
+ let o = ae(), c = ie(), f = R([]);
162
162
  function m() {
163
163
  f.value = o.getRoutes().filter((e) => e.meta).filter((e) => e.path.split("/").length <= 2).filter((e) => e.meta.menu);
164
164
  }
@@ -174,7 +174,7 @@ var Ae = /* @__PURE__ */ C({
174
174
  function y(e) {
175
175
  return e.children ? e.children.filter((e) => e.meta?.menu) : [];
176
176
  }
177
- return r.refreshEventListener && ke(document, _e.Refresh, h), t({
177
+ return r.refreshEventListener && Oe(document, ge.Refresh, h), t({
178
178
  changeCollapsed: a,
179
179
  refreshRouter: h
180
180
  }), (e, t) => {
@@ -196,7 +196,10 @@ var Ae = /* @__PURE__ */ C({
196
196
  value: String(e.name),
197
197
  onClick: (t) => _(e)
198
198
  }, {
199
- icon: J(() => [S(r, { class: A(e.meta.icon) }, null, 8, ["class"])]),
199
+ icon: J(() => [S(r, {
200
+ class: A(e.meta.icon),
201
+ size: "small"
202
+ }, null, 8, ["class"])]),
200
203
  default: J(() => [x(" " + H(e.meta.title), 1)]),
201
204
  _: 2
202
205
  }, 1032, ["value", "onClick"]))), 128))]),
@@ -229,7 +232,7 @@ var Ae = /* @__PURE__ */ C({
229
232
  } : void 0]), 1032, ["value", "collapsed"]);
230
233
  };
231
234
  }
232
- }), je = Ae, Me = /* @__PURE__ */ C({
235
+ }), Ae = ke, je = /* @__PURE__ */ C({
233
236
  __name: "ContextMenu",
234
237
  props: { hideOnSelect: {
235
238
  type: Boolean,
@@ -292,7 +295,7 @@ var Ae = /* @__PURE__ */ C({
292
295
  }, null, 34)) : _("", !0)]))
293
296
  ], 64));
294
297
  }
295
- }), Ne = Me, Pe = /* @__PURE__ */ C({
298
+ }), Me = je, Ne = /* @__PURE__ */ C({
296
299
  __name: "ContextMenuItem",
297
300
  props: {
298
301
  label: {},
@@ -336,7 +339,7 @@ var Ae = /* @__PURE__ */ C({
336
339
  class: A([K(i)("icon"), e.icon])
337
340
  }, H(e.icon), 3)) : _("", !0), y("span", { class: A(K(i)("label")) }, H(e.label), 3)], 34));
338
341
  }
339
- }), Fe = Pe, Ie = /* @__PURE__ */ C({
342
+ }), Pe = Ne, Fe = /* @__PURE__ */ C({
340
343
  __name: "ContextMenuGroup",
341
344
  props: { title: {} },
342
345
  setup(e) {
@@ -346,12 +349,12 @@ var Ae = /* @__PURE__ */ C({
346
349
  class: A(K(t)("title"))
347
350
  }, H(e.title), 3)) : _("", !0), B(e.$slots, "default")], 2));
348
351
  }
349
- }), Le = Ie, Re = /* @__PURE__ */ C({
352
+ }), Ie = Fe, Le = /* @__PURE__ */ C({
350
353
  __name: "ContextMenuDivider",
351
354
  setup(e) {
352
355
  return (e, t) => (F(), v("div", { class: A(K(X)("context-menu-divider")) }, null, 2));
353
356
  }
354
- }), ze = Re, Be = /* @__PURE__ */ C({
357
+ }), Re = Le, ze = /* @__PURE__ */ C({
355
358
  __name: "ContextMenuSubmenu",
356
359
  props: {
357
360
  label: {},
@@ -464,12 +467,12 @@ var Ae = /* @__PURE__ */ C({
464
467
  }, [B(e.$slots, "default")], 38)) : _("", !0)
465
468
  ], 34));
466
469
  }
467
- }), Ve = Be, He = /* @__PURE__ */ C({
470
+ }), Be = ze, Ve = /* @__PURE__ */ C({
468
471
  __name: "WebLayout",
469
472
  setup(e) {
470
473
  return (e, t) => {
471
474
  let n = a, r = V("router-view");
472
- return F(), g(ge, null, {
475
+ return F(), g(he, null, {
473
476
  header: J(() => [S(n, {
474
477
  value: "item1",
475
478
  height: "60px"
@@ -482,13 +485,13 @@ var Ae = /* @__PURE__ */ C({
482
485
  fn: J(() => [B(e.$slots, "operations")]),
483
486
  key: "1"
484
487
  } : void 0]), 1024)]),
485
- left: J(() => [B(e.$slots, "left", {}, () => [S(K(je))])]),
488
+ left: J(() => [B(e.$slots, "left", {}, () => [S(K(Ae))])]),
486
489
  default: J(() => [B(e.$slots, "default", {}, () => [y("div", { class: A([K(X)("main-content-inner")]) }, [S(r)], 2)])]),
487
490
  _: 3
488
491
  });
489
492
  };
490
493
  }
491
- }), Ue = He, We = /* @__PURE__ */ C({
494
+ }), He = Ve, Ue = /* @__PURE__ */ C({
492
495
  __name: "SplitPanel",
493
496
  props: {
494
497
  component: { default: "div" },
@@ -510,7 +513,7 @@ var Ae = /* @__PURE__ */ C({
510
513
  ],
511
514
  setup(e, { emit: t }) {
512
515
  let n = e, r = t, { direction: i, size: a, defaultSize: o, min: s, max: c } = W(n), l = R(0), u = R(), d = R(), f = X("split-panel"), p = X("split-trigger"), m = R(o.value);
513
- ie(a, (e) => {
516
+ re(a, (e) => {
514
517
  e !== void 0 && (m.value = e);
515
518
  }, { immediate: !0 });
516
519
  function b(e) {
@@ -640,7 +643,7 @@ var Ae = /* @__PURE__ */ C({
640
643
  _: 3
641
644
  }, 8, ["class"]));
642
645
  }
643
- }), Ge = We, Ke = /* @__PURE__ */ C({
646
+ }), We = Ue, Ge = /* @__PURE__ */ C({
644
647
  __name: "UtoolsBaseLayout",
645
648
  setup(t) {
646
649
  return (t, n) => {
@@ -660,12 +663,12 @@ var Ae = /* @__PURE__ */ C({
660
663
  });
661
664
  };
662
665
  }
663
- }), qe = Ke;
664
- const Je = { class: "utools" }, Ye = { class: "title" }, Xe = { class: "flex justify-end h-full pr-3" }, Ze = { class: "content" }, Qe = { class: "content-inner" }, $e = {
666
+ }), Ke = Ge;
667
+ const qe = { class: "utools" }, Je = { class: "title" }, Ye = { class: "flex justify-end h-full pr-3" }, Xe = { class: "content" }, Ze = { class: "content-inner" }, Qe = {
665
668
  class: "flex items-center justify-center",
666
669
  style: { "font-size": "10px" }
667
670
  };
668
- var et = /* @__PURE__ */ C({
671
+ var $e = /* @__PURE__ */ C({
669
672
  __name: "UtoolsLayout",
670
673
  props: {
671
674
  avatar: { default: "https://www.u-tools.cn/assets/favicon.png" },
@@ -674,14 +677,14 @@ var et = /* @__PURE__ */ C({
674
677
  title: { default: "utools demo" }
675
678
  },
676
679
  setup(e) {
677
- let n = re("leftMenuRef"), r = R(!0);
680
+ let n = R(), r = R(!0);
678
681
  return (e, i) => {
679
682
  let a = t, o = V("router-view");
680
- return F(), v("div", Je, [S(qe, null, {
683
+ return F(), v("div", qe, [S(Ke, null, {
681
684
  left: J(() => [y("div", { class: A(K(X)("utools", "left-menu")) }, [y("div", {
682
685
  class: A(["flex items-center justify-center", K(X)("utools", "left-menu", "collapse")]),
683
686
  onClick: i[0] ||= (e) => n.value?.changeCollapsed()
684
- }, [y("div", { class: A(["text-lg font-bold", r.value ? "i-u-expandLeft" : "i-u-expandRight"]) }, null, 2)], 2), S(K(je), O({
687
+ }, [y("div", { class: A(["w-5 h-5 font-bold", r.value ? "i-u-expandLeft" : "i-u-expandRight"]) }, null, 2)], 2), S(K(Ae), O({
685
688
  ref_key: "leftMenuRef",
686
689
  ref: n
687
690
  }, {
@@ -692,19 +695,19 @@ var et = /* @__PURE__ */ C({
692
695
  "onUpdate:collapsed": i[1] ||= (e) => r.value = e,
693
696
  hideOperations: ""
694
697
  }), {
695
- logo: J(() => [S(a, { image: e.avatar }, null, 8, ["image"]), y("div", Ye, H(e.title), 1)]),
698
+ logo: J(() => [S(a, { image: e.avatar }, null, 8, ["image"]), y("div", Je, H(e.title), 1)]),
696
699
  _: 1
697
700
  }, 16, ["collapsed"])], 2)]),
698
701
  default: J(() => [y("div", { class: A(K(X)("utools", "content-wrapper")) }, [
699
- y("div", Xe, [B(e.$slots, "header-tips")]),
700
- y("div", Ze, [y("div", Qe, [S(o)])]),
701
- B(e.$slots, "footer", {}, () => [y("div", $e, " © " + H((/* @__PURE__ */ new Date()).getFullYear()) + " [xiaou]。保留所有权利 ", 1)])
702
+ y("div", Ye, [B(e.$slots, "header-tips")]),
703
+ y("div", Xe, [y("div", Ze, [S(o)])]),
704
+ B(e.$slots, "footer", {}, () => [y("div", Qe, " © " + H((/* @__PURE__ */ new Date()).getFullYear()) + " [xiaou]。保留所有权利 ", 1)])
702
705
  ], 2)]),
703
706
  _: 3
704
707
  })]);
705
708
  };
706
709
  }
707
- }), tt = et, nt = /* @__PURE__ */ C({
710
+ }), et = $e, tt = /* @__PURE__ */ C({
708
711
  __name: "PageHeader",
709
712
  props: {
710
713
  title: { default: "" },
@@ -716,7 +719,7 @@ var et = /* @__PURE__ */ C({
716
719
  let t = e, r = Z("page-header"), a = h(() => {
717
720
  let e = [r()];
718
721
  return t.size !== "default" && e.push(r(t.size)), e;
719
- }), o = h(() => de("onBack"));
722
+ }), o = h(() => ue("onBack"));
720
723
  return (e, t) => {
721
724
  let c = s, l = n, u = i;
722
725
  return F(), v("div", { class: A(a.value) }, [y("div", { class: A(["flex items-center", K(r)("header")]) }, [
@@ -741,9 +744,9 @@ var et = /* @__PURE__ */ C({
741
744
  }, [B(e.$slots, "extra")], 2)) : _("", !0)], 2);
742
745
  };
743
746
  }
744
- }), rt = nt;
745
- const it = { class: "flex justify-between items-center" };
746
- var at = /* @__PURE__ */ C({
747
+ }), nt = tt;
748
+ const rt = { class: "flex justify-between items-center" };
749
+ var it = /* @__PURE__ */ C({
747
750
  __name: "SettingItem",
748
751
  props: {
749
752
  title: {},
@@ -758,22 +761,22 @@ var at = /* @__PURE__ */ C({
758
761
  let e = [];
759
762
  return e.push(X("setting-item")), n.value && e.push("cursor-pointer"), e;
760
763
  });
761
- return (e, t) => (F(), v("div", O({ class: r.value }, U({ ...n.value && { click: e.$attrs.onClick || e.$attrs.onClickCapture } }, !0)), [y("div", it, [y("div", null, [y("div", { class: A(["u-fx u-gap5 u-fac", K(X)("setting-item-title")]) }, [B(e.$slots, "title", {}, () => [x(H(e.title), 1)])], 2), B(e.$slots, "desc", {}, () => [y("div", { class: A(K(X)("setting-item-desc")) }, H(e.desc), 3)])]), y("div", null, [B(e.$slots, "default")])]), y("div", null, [B(e.$slots, "extra")])], 16));
764
+ return (e, t) => (F(), v("div", O({ class: r.value }, U({ ...n.value && { click: e.$attrs.onClick || e.$attrs.onClickCapture } }, !0)), [y("div", rt, [y("div", null, [y("div", { class: A(["u-fx u-gap5 u-fac", K(X)("setting-item-title")]) }, [B(e.$slots, "title", {}, () => [x(H(e.title), 1)])], 2), B(e.$slots, "desc", {}, () => [y("div", { class: A(K(X)("setting-item-desc")) }, H(e.desc), 3)])]), y("div", null, [B(e.$slots, "default")])]), y("div", null, [B(e.$slots, "extra")])], 16));
762
765
  }
763
- }), ot = at, st = /* @__PURE__ */ C({
766
+ }), at = it, ot = /* @__PURE__ */ C({
764
767
  __name: "SettingDivision",
765
768
  setup(e) {
766
769
  return (e, t) => (F(), v("div", { class: A(K(X)("setting-division")) }, null, 2));
767
770
  }
768
- }), ct = st;
769
- const lt = { key: 0 };
770
- var ut = /* @__PURE__ */ C({
771
+ }), st = ot;
772
+ const ct = { key: 0 };
773
+ var lt = /* @__PURE__ */ C({
771
774
  __name: "SettingGroup",
772
775
  props: { title: {} },
773
776
  setup(e) {
774
- return (e, t) => (F(), v("div", { class: A([K(X)("setting-group")]) }, [y("div", { class: A(K(X)("setting-group-header")) }, [y("div", { class: A(K(X)("setting-group-title")) }, H(e.title), 3), e.$slots.desc ? (F(), v("div", lt, [B(e.$slots, "desc")])) : _("", !0)], 2), y("div", null, [B(e.$slots, "default")])], 2));
777
+ return (e, t) => (F(), v("div", { class: A([K(X)("setting-group")]) }, [y("div", { class: A(K(X)("setting-group-header")) }, [y("div", { class: A(K(X)("setting-group-title")) }, H(e.title), 3), e.$slots.desc ? (F(), v("div", ct, [B(e.$slots, "desc")])) : _("", !0)], 2), y("div", null, [B(e.$slots, "default")])], 2));
775
778
  }
776
- }), dt = ut, ft = /* @__PURE__ */ C({
779
+ }), ut = lt, dt = /* @__PURE__ */ C({
777
780
  name: "SwitchEnable",
778
781
  inheritAttrs: !1,
779
782
  __name: "SwitchEnable",
@@ -820,12 +823,17 @@ var ut = /* @__PURE__ */ C({
820
823
  }), null, 16, ["class", "modelValue"]);
821
824
  };
822
825
  }
823
- }), pt = ft;
824
- const mt = ["aria-checked", "disabled"];
825
- var ht = /* @__PURE__ */ C({
826
+ }), ft = dt;
827
+ const pt = ["aria-checked", "disabled"];
828
+ var mt = /* @__PURE__ */ C({
826
829
  name: "SwitchPlus",
827
830
  __name: "SwitchPlus",
828
831
  props: /* @__PURE__ */ D({
832
+ modelValue: { type: [
833
+ String,
834
+ Number,
835
+ Boolean
836
+ ] },
829
837
  defaultChecked: {
830
838
  type: Boolean,
831
839
  default: !1
@@ -839,7 +847,7 @@ var ht = /* @__PURE__ */ C({
839
847
  default: !1
840
848
  },
841
849
  type: { default: "circle" },
842
- size: { default: "large" },
850
+ size: { default: "medium" },
843
851
  checkedValue: {
844
852
  type: [
845
853
  String,
@@ -873,6 +881,7 @@ var ht = /* @__PURE__ */ C({
873
881
  valueModifiers: {}
874
882
  }),
875
883
  emits: /* @__PURE__ */ D([
884
+ "update:modelValue",
876
885
  "change",
877
886
  "focus",
878
887
  "blur"
@@ -886,7 +895,7 @@ var ht = /* @__PURE__ */ C({
886
895
  }, b = async (e) => {
887
896
  if (m.value || l.value) return;
888
897
  let t = !d.value, n = t ? r.checkedValue : r.uncheckedValue, i = r.beforeChange;
889
- if (fe(i)) {
898
+ if (de(i)) {
890
899
  f.value = !0;
891
900
  try {
892
901
  let r = await i(n);
@@ -900,8 +909,8 @@ var ht = /* @__PURE__ */ C({
900
909
  }, C = (e) => {
901
910
  i("blur", e);
902
911
  };
903
- ie(n, (e) => {
904
- (me(e) || pe(e)) && (n.value = r.uncheckedValue);
912
+ re(n, (e) => {
913
+ (pe(e) || fe(e)) && (n.value = r.uncheckedValue);
905
914
  });
906
915
  let w = h(() => [
907
916
  c,
@@ -939,11 +948,16 @@ var ht = /* @__PURE__ */ C({
939
948
  }, [y("span", { class: A(`${K(c)}-handle-icon`) }, [m.value ? (F(), v("span", {
940
949
  key: 0,
941
950
  class: A(["i-u-loading", `${K(c)}-loading-icon`])
942
- }, null, 2)) : (F(), v(p, { key: 1 }, [d.value ? B(e.$slots, "checked-icon", { key: 0 }) : B(e.$slots, "unchecked-icon", { key: 1 })], 64))], 2)], 6), e.type !== "line" && K(o) !== "small" && (K(a).checked || e.checkedText || K(a).unchecked || e.uncheckedText) ? (F(), v(p, { key: 0 }, [y("span", { class: A(`${K(c)}-text-holder`) }, [d.value ? B(e.$slots, "checked", { key: 0 }, () => [x(H(e.checkedText), 1)]) : B(e.$slots, "unchecked", { key: 1 }, () => [x(H(e.uncheckedText), 1)])], 2), y("span", { class: A(`${K(c)}-text`) }, [d.value ? B(e.$slots, "checked", { key: 0 }, () => [x(H(e.checkedText), 1)]) : B(e.$slots, "unchecked", { key: 1 }, () => [x(H(e.uncheckedText), 1)])], 2)], 64)) : _("", !0)], 46, mt));
951
+ }, null, 2)) : (F(), v(p, { key: 1 }, [d.value ? B(e.$slots, "checked-icon", { key: 0 }) : B(e.$slots, "unchecked-icon", { key: 1 })], 64))], 2)], 6), e.type !== "line" && K(o) !== "small" && (K(a).checked || e.checkedText || K(a).unchecked || e.uncheckedText) ? (F(), v(p, { key: 0 }, [y("span", { class: A(`${K(c)}-text-holder`) }, [d.value ? B(e.$slots, "checked", { key: 0 }, () => [x(H(e.checkedText), 1)]) : B(e.$slots, "unchecked", { key: 1 }, () => [x(H(e.uncheckedText), 1)])], 2), y("span", { class: A(`${K(c)}-text`) }, [d.value ? B(e.$slots, "checked", { key: 0 }, () => [x(H(e.checkedText), 1)]) : B(e.$slots, "unchecked", { key: 1 }, () => [x(H(e.uncheckedText), 1)])], 2)], 64)) : _("", !0)], 46, pt));
943
952
  }
944
- }), gt = ht, _t = /* @__PURE__ */ C({
953
+ }), ht = mt, gt = /* @__PURE__ */ C({
945
954
  __name: "SwitchPlusEnable",
946
955
  props: /* @__PURE__ */ D({
956
+ modelValue: { type: [
957
+ String,
958
+ Number,
959
+ Boolean
960
+ ] },
947
961
  defaultChecked: {
948
962
  type: Boolean,
949
963
  default: !1
@@ -992,19 +1006,19 @@ var ht = /* @__PURE__ */ C({
992
1006
  }),
993
1007
  emits: ["update:value"],
994
1008
  setup(e) {
995
- let t = q(e, "value");
996
- return (e, n) => (F(), g(gt, O({
1009
+ let t = q(e, "value"), n = e;
1010
+ return (e, r) => (F(), g(ht, O({
997
1011
  value: t.value,
998
- "onUpdate:value": n[0] ||= (e) => t.value = e
999
- }, e.$props), {
1000
- "checked-icon": J(() => n[1] ||= [y("span", {
1012
+ "onUpdate:value": r[0] ||= (e) => t.value = e
1013
+ }, n), {
1014
+ "checked-icon": J(() => r[1] ||= [y("span", {
1001
1015
  style: {
1002
1016
  width: "14px",
1003
1017
  height: "14px"
1004
1018
  },
1005
1019
  class: "i-u-checkSmall"
1006
1020
  }, null, -1)]),
1007
- "unchecked-icon": J(() => n[2] ||= [y("span", {
1021
+ "unchecked-icon": J(() => r[2] ||= [y("span", {
1008
1022
  style: {
1009
1023
  width: "14px",
1010
1024
  height: "14px"
@@ -1014,5 +1028,5 @@ var ht = /* @__PURE__ */ C({
1014
1028
  _: 1
1015
1029
  }, 16, ["value"]));
1016
1030
  }
1017
- }), vt = _t;
1018
- export { Ne as ContextMenu, ze as ContextMenuDivider, Le as ContextMenuGroup, Fe as ContextMenuItem, Ve as ContextMenuSubmenu, je as LeftMenu, ve as LeftMenuEventDispatch, _e as LeftMenuEvents, rt as PageHeader, ct as SettingDivision, dt as SettingGroup, ot as SettingItem, Ge as SplitPanel, pt as SwitchEnable, gt as SwitchPlus, vt as SwitchPlusEnable, qe as UtoolsBaseLayout, tt as UtoolsLayout, ge as WebBaseLayout, Ue as WebLayout, Z as getBuildCurrentClassPrefix, X as getClassPrefix, de as isEventExist, fe as isFunction, pe as isNull, me as isUndefined };
1031
+ }), _t = gt;
1032
+ export { Me as ContextMenu, Re as ContextMenuDivider, Ie as ContextMenuGroup, Pe as ContextMenuItem, Be as ContextMenuSubmenu, Ae as LeftMenu, _e as LeftMenuEventDispatch, ge as LeftMenuEvents, nt as PageHeader, st as SettingDivision, ut as SettingGroup, at as SettingItem, We as SplitPanel, ft as SwitchEnable, ht as SwitchPlus, _t as SwitchPlusEnable, Ke as UtoolsBaseLayout, et as UtoolsLayout, he as WebBaseLayout, He as WebLayout, Z as getBuildCurrentClassPrefix, X as getClassPrefix, ue as isEventExist, de as isFunction, fe as isNull, pe as isUndefined };
package/dist/u-web-ui.css CHANGED
@@ -1,2 +1,2 @@
1
- :root{--red-1:255,236,232;--red-2:253,205,197;--red-3:251,172,163;--red-4:249,137,129;--red-5:247,101,96;--red-6:245,63,63;--red-7:203,39,45;--red-8:161,21,30;--red-9:119,8,19;--red-10:77,0,10;--gray-1:247,248,250;--gray-2:242,243,245;--gray-3:229,230,235;--gray-4:201,205,212;--gray-5:169,174,184;--gray-6:134,144,156;--gray-7:107,119,133;--gray-8:78,89,105;--gray-9:39,46,59;--gray-10:29,33,41;--green-1:232,255,234;--green-2:175,240,181;--green-3:123,225,136;--green-4:76,210,99;--green-5:35,195,67;--green-6:0,180,42;--green-7:0,154,41;--green-8:0,128,38;--green-9:0,102,34;--green-10:0,77,28;--blue-1:0,26,77;--blue-2:5,47,120;--blue-3:19,76,163;--blue-4:41,113,207;--blue-5:70,153,250;--blue-6:90,170,251;--blue-7:125,193,252;--blue-8:161,213,253;--blue-9:198,232,254;--blue-10:234,248,255;--u-bg-color:#f4f4f4;--u-bg-color-2:#fafbfb;--u-bg-color-3:#fff;--u-bg-color-3-hover:rgb(var(--gray-3),.5);--u-bg-color-3-active:rgb(var(--gray-3),.8);--u-blue-7:13,66,210;--u-blue-6:22,93,255;--u-blue-5:64,128,255;--u-wechat-color:#2ba471;--u-color-neutral-1:#f7f8fa;--u-color-neutral-2:#f2f3f5;--u-color-neutral-3:#e5e6ec;--u-shadow-sm:#0000001a 0px 1px 2px 0px;--u-shadow-lg:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;--u-radius-small:4px;--u-radius-default:6px;--u-radius-medium:8px;--u-radius-large:10px;--u-radius-circle:50%;--u-text-color:var(--td-font-gray-1);--u-text-color-tips:#8a939f;--u-text-color-3:#86909c;--u-text-color-hover:#0052d9;--u-text-color-primary:var(--td-font-gray-1);--u-text-color-secondary:var(--td-font-gray-2);--u-text-color-placeholder:var(--td-font-gray-3);--u-text-color-disabled:var(--td-font-gray-4);--u-text-color-anti:#fff;--u-text-color-brand:var(--td-brand-color-7);--u-text-color-link:var(--td-brand-color-8);--u-text-color-danger:rgb(var(--red-6))}html[theme-mode=dark]{--red-1:77,0,10;--red-2:119,6,17;--red-3:161,22,31;--red-4:203,46,52;--red-5:245,78,78;--red-6:247,105,101;--red-7:249,141,134;--red-8:251,176,167;--red-9:253,209,202;--red-10:255,240,236;--gray-1:23,23,26;--gray-2:46,46,48;--gray-3:72,72,73;--gray-4:95,95,96;--gray-5:120,120,122;--gray-6:146,146,147;--gray-7:171,171,172;--gray-8:197,197,197;--gray-9:223,223,223;--gray-10:246,246,246;--green-1:0,77,28;--green-2:4,102,37;--green-3:10,128,45;--green-4:18,154,55;--green-5:29,180,64;--green-6:39,195,70;--green-7:80,210,102;--green-8:126,225,139;--green-9:178,240,183;--green-10:235,255,236;--blue-1:232,247,255;--blue-2:195,231,254;--blue-3:159,212,253;--blue-4:123,192,252;--blue-5:87,169,251;--blue-6:52,145,250;--blue-7:32,108,207;--blue-8:17,75,163;--blue-9:6,48,120;--blue-10:0,26,77;--u-bg-color:#303133;--u-bg-color-2:#2e2e30;--u-bg-color-3:#2a2a2b;--u-bg-color-3-hover:rgb(var(--gray-3),.65);--u-color-neutral-1:#f7f8fa;--u-color-neutral-2:#484849;--u-color-neutral-3:#e5e6ec;--u-text-color:var(--td-font-white-1);--u-text-color-tips:#8a939f;--u-text-color-primary:var(--td-font-white-1);--u-text-color-secondary:var(--td-font-white-2);--u-text-color-placeholder:var(--td-font-white-3);--u-text-color-disabled:var(--td-font-white-4);--u-text-color-anti:#fff;--u-text-color-brand:var(--td-brand-color-8);--u-text-color-link:var(--td-brand-color-8);--u-text-color-danger:rgb(var(--red-6))}.u-t-input .t-input{border-color:#0000;transition:border-color .25s linear}.u-t-input .t-input:hover{border-color:var(--td-border-level-2-color)}.u-t-input .t-input:focus{box-shadow:none}.u-t-input .t-input--focused{box-shadow:none;border-color:var(--td-brand-color)!important}.u-t-collapse{background-color:#0000;border:none}.u-t-collapse .t-collapse-panel__header{border-bottom:none;padding:8px 13px}.u-t-collapse .t-collapse-panel__body{background:0 0;border-bottom:none}.u-t-collapse .t-collapse-panel__body .t-collapse-panel__content{color:var(--u-text-color);padding:0 6px 0 14px}.u-slider-green .t-slider__button{background:rgb(var(--green-4));border-color:rgb(var(--green-4))}.u-slider-green .t-slider__button--dragging,.u-slider-green .t-slider__button:hover{background-color:rgb(var(--green-5));border-color:rgb(var(--green-5))}.u-slider-blue .t-slider__button{background:rgb(var(--blue-5));border-color:rgb(var(--blue-5))}.u-slider-blue .t-slider__button--dragging,.u-slider-blue .t-slider__button:hover{border-color:rgb(var(--blue-6));background-color:rgb(var(--blue-6))!important}.u-slider-no-fill .t-slider__track{background:0 0}.u-slider .t-slider__rail,.u-slider .t-slider__track{height:8px}.u-slider .t-slider__button{transition:all .2s linear}.u-slider .t-slider__button--dragging{box-shadow:none;transform:scale(1.25)}*,:before,:after{box-sizing:border-box;margin:0;padding:0;font-weight:400}*,:before,:after,::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 #0000;--un-ring-shadow:0 0 #0000;--un-shadow-inset: ;--un-shadow:0 0 #0000;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:#93c5fd80;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-u-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M43 11L16.875 37L5 25.1818' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-checkSmall{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 24L20 34L40 14' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 8L40 40' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 40L40 8' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-closeSmall{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 14L34 34' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 34L34 14' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-expandLeft{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9C6 7.34315 7.34315 6 9 6H39C40.6569 6 42 7.34315 42 9V39C42 40.6569 40.6569 42 39 42H9C7.34315 42 6 40.6569 6 39V9Z' fill='none' stroke='currentColor' stroke-width='4' stroke-linejoin='round'/%3E%3Cpath d='M32 6V42' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 20L20 24L16 28' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M26 6H38' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M26 42H38' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-expandRight{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='6' width='36' height='36' rx='3' fill='none' stroke='currentColor' stroke-width='4' stroke-linejoin='round'/%3E%3Cpath d='M18 6V42' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11 6H36' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11 42H36' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M32 20L28 24L32 28' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31 36L19 24L31 12' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-loading{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.visible{visibility:visible}.h-full{height:100%}.h-screen{height:100vh}.min-h-0{min-height:0}.flex{display:flex}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden{overflow:hidden}.p-1{padding:.25rem}.px{padding-left:1rem;padding-right:1rem}.pr-3{padding-right:.75rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.blur{--un-blur:blur(8px);filter:var(--un-blur)var(--un-brightness)var(--un-contrast)var(--un-drop-shadow)var(--un-grayscale)var(--un-hue-rotate)var(--un-invert)var(--un-saturate)var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:800px){.ut\:p-2{padding:.5rem}}@media (min-width:1280px){.xl\:p-4{padding:1rem}}.u-web-main-content{background:var(--u-bg-color)}.u-web-main-content-inner{background-color:var(--u-bg-color);border-radius:.5rem;height:100%;padding:4px;overflow:hidden auto}.u-web-context-menu-trigger{display:contents}.u-web-context-menu-mask{z-index:999;background:0 0;position:fixed;inset:0}.u-web-context-menu-menu{z-index:1000;background:var(--u-bg-color-3);border:1px solid var(--gray-3);border-radius:var(--u-radius-default);width:max-content;min-width:100px;box-shadow:var(--u-shadow-lg);-webkit-user-select:none;user-select:none;padding:4px 0;position:fixed}.u-web-context-menu-submenu-popup{z-index:1001;position:absolute;top:0;left:100%}.u-web-context-menu-item{color:var(--u-text-color);cursor:pointer;white-space:nowrap;border-radius:4px;align-items:center;margin:0 4px;padding:6px 12px;font-size:14px;line-height:22px;transition:all .2s;display:flex;position:relative}.u-web-context-menu-item:hover{background-color:var(--u-bg-color-3-hover)}.u-web-context-menu-item:active{background-color:var(--u-bg-color-3-active)}.u-web-context-menu-item-disabled{color:var(--u-text-color-disabled);cursor:not-allowed}.u-web-context-menu-item-disabled:hover{background-color:#0000}.u-web-context-menu-item-danger{color:var(--u-text-color-danger)}.u-web-context-menu-item-danger:hover{background-color:rgba(var(--red-5),.1)}.u-web-context-menu-item-icon{margin-right:8px;font-size:14px}.u-web-context-menu-item-label{flex:1}.u-web-context-menu-submenu{position:relative}.u-web-context-menu-submenu-arrow{color:rgb(var(--gray-4));margin-left:8px;font-size:10px;transition:color 90ms linear}.u-web-context-menu-submenu-active{background-color:#0000000a}.u-web-context-menu-submenu-active>.u-web-context-menu-submenu-arrow{color:rgb(var(--gray-6))}.u-web-context-menu-submenu-disabled .u-web-context-menu-submenu-arrow{color:rgb(var(--gray-3))}.u-web-context-menu-group-title{color:var(--u-text-color-secondary);padding:4px 6px;font-size:12px;font-weight:500;line-height:20px}.u-web-context-menu-group:not(:first-child){border-top:1px solid var(--u-color-neutral-2);margin-top:2px;padding-top:2px}.u-web-context-menu-divider{background-color:var(--u-color-neutral-2);height:1px;margin:4px 0}.u-web-split-panel{width:100%;height:100%;display:flex}.u-web-split-panel-horizontal{flex-direction:row}.u-web-split-panel-vertical{flex-direction:column}.u-web-split-panel-pane{overflow:hidden}.u-web-split-panel-pane-second{flex:1;min-width:0;min-height:0}.u-web-split-trigger{background:var(--u-bg-color-2,#f0f0f0);border:1px solid var(--u-color-neutral-3,#e0e0e0);-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;transition:background-color .2s;display:flex;position:relative}.u-web-split-trigger:hover:not(.u-web-split-trigger-disabled){background:var(--u-bg-color-3-hover,#e8e8e8)}.u-web-split-trigger-horizontal{cursor:col-resize;width:6px;margin:0 1px}.u-web-split-trigger-horizontal .u-web-split-trigger-icon{flex-direction:column;gap:2px;display:flex}.u-web-split-trigger-horizontal .u-web-split-trigger-line{background:var(--u-text-color-placeholder,#999);border-radius:1px;width:2px;height:12px}.u-web-split-trigger-vertical{cursor:row-resize;height:6px;margin:1px 0}.u-web-split-trigger-vertical .u-web-split-trigger-icon{flex-direction:row;gap:2px;display:flex}.u-web-split-trigger-vertical .u-web-split-trigger-line{background:var(--u-text-color-placeholder,#999);border-radius:1px;width:12px;height:2px}.u-web-split-trigger-disabled{cursor:not-allowed;opacity:.5}.u-web-split-trigger-disabled:hover{background:var(--u-bg-color-2,#f0f0f0)}.utools{height:100%}.utools .t-is-collapsed .t-menu__logo .title{display:none}.utools .t-is-collapsed .t-menu__logo>*{margin-left:0!important}.utools .t-is-collapsed .t-menu__logo:not(:empty){border-bottom:none;justify-content:center}.utools .t-menu__logo{padding:0 8px}.utools .t-default-menu__inner .t-menu{padding:12px 6px}.utools .t-default-menu{background:var(--u-bg-color)}.utools .t-default-menu .t-menu__item.t-is-active:not(.t-is-opened),.utools .t-default-menu .t-menu__item:hover:not(.t-is-active):not(.t-is-disabled){background:var(--u-bg-color-2)}.u-web-utools-left-menu{width:100%;height:100%;position:relative}.u-web-utools-left-menu .u-web-utools-left-menu-collapse{z-index:888;border-radius:var(--u-radius-circle);background-color:var(--u-bg-color-2);cursor:pointer;width:32px;height:32px;color:var(--u-text-color-3);padding:4px;transition:all .28s linear;position:absolute;top:8px;right:-32px}.u-web-utools-left-menu .u-web-utools-left-menu-collapse:hover{color:var(--u-text-color-hover);box-shadow:0 1px 2px #0000001a}.u-web-utools-content-wrapper{box-sizing:border-box;background:var(--u-bg-color);grid-template-rows:24px calc(100vh - 39px) 15px;width:100%;height:100%;min-height:100vh;display:grid;overflow:hidden}.u-web-utools-content-wrapper .content{padding:4px}.u-web-utools-content-wrapper .content .content-inner{border-radius:var(--u-radius-medium);background-color:var(--u-bg-color-2);height:100%;overflow-y:auto;box-shadow:0 1px 2px #0000001a}.u-web-page-header{background:var(--u-bg-color-2);border-bottom:1px solid var(--u-color-neutral-2);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.u-web-page-header-small{padding:14px 16px 12px}.u-web-page-header-small .u-web-page-header-title{font-size:16px}.u-web-page-header-small .u-web-page-header-header-back .t-icon{font-size:18px}.u-web-page-header-large{padding:20px 24px}.u-web-page-header-large .u-web-page-header-title{font-size:20px}.u-web-page-header-large .u-web-page-header-header-back .t-icon{font-size:24px}.u-web-page-header-header{gap:6px}.u-web-page-header-header-back .t-icon{font-size:20px}.u-web-page-header-subtitle{color:var(--u-text-color-secondary)}.u-web-page-header-divider{height:20px}.u-web-page-header-title{color:var(--u-text-color);font-size:18px;font-weight:500;line-height:1.5}.u-web-page-header-extra{align-items:center;gap:16px;display:flex}.u-web-setting-item{background:var(--u-bg-color-3);-webkit-user-select:none;user-select:none;padding:15px 10px;transition:all .28s linear}.u-web-setting-item:hover{background:rgb(var(--gray-2),.5)}.u-web-setting-item-title{margin-bottom:.25rem;font-size:1rem;font-weight:700}.u-web-setting-item-desc{color:var(--u-text-color-tips);font-size:12px}.u-web-division{border-bottom:1px dashed var(--u-color-neutral-2)}.u-web-setting-group>div:last-child{border-radius:6px;transition:all .26s linear;overflow:hidden}.u-web-setting-group>div:last-child:hover{box-shadow:0 3px 5px #0000000a}.u-web-setting-group-header,.u-web-setting-group-title{margin-bottom:.5rem}.u-web-setting-group-title{border-left:2px solid rgb(var(--u-blue-5));padding-left:.5rem;font-size:1.25rem;font-weight:600;line-height:1.75rem}.u-web-switch-green{transition:background-color .2s linear}.u-web-switch-green.t-is-checked{background-color:rgba(var(--green-5))}.u-web-switch-green.t-is-checked:hover{background-color:rgba(var(--green-6))}@keyframes switch-loading-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.switch-slide-text-enter-from{left:-100%!important}.switch-slide-text-enter-to{left:8px!important}.switch-slide-text-enter-active{transition:left .2s}.switch-slide-text-leave-from{left:100%!important}.switch-slide-text-leave-to{left:30px!important}.switch-slide-text-leave-active{transition:left .2s}.u-web-switch-plus{box-sizing:border-box;vertical-align:middle;background-color:rgb(var(--gray-4));cursor:pointer;border:none;border-radius:14px;outline:none;min-width:44px;height:28px;padding:0;line-height:28px;transition:background-color .2s;position:relative;overflow:hidden}.u-web-switch-plus-handle{width:20px;height:20px;color:rgb(var(--gray-6));background-color:var(--u-bg-color-3);box-shadow:var(--u-shadow-sm);border-radius:50%;justify-content:center;align-items:center;font-size:12px;transition:all .2s;display:flex;position:absolute;top:4px;left:4px}.u-web-switch-plus-checked{background-color:rgb(var(--blue-5))}.u-web-switch-plus-checked .u-web-switch-plus-handle{color:rgb(var(--blue-5));left:calc(100% - 24px)}.u-web-switch-plus[disabled] .u-web-switch-plus-handle,.u-web-switch-plus[disabled].u-web-switch-plus-checked .u-web-switch-plus-handle{color:rgb(var(--gray-5))}.u-web-switch-plus-text-holder{opacity:0;margin:0 8px 0 30px;font-size:12px}.u-web-switch-plus-text{color:rgb(var(--gray-6));font-size:12px;position:absolute;top:0;left:30px}.u-web-switch-plus-checked .u-web-switch-plus-text-holder{margin:0 30px 0 8px}.u-web-switch-plus-checked .u-web-switch-plus-text{color:var(--u-bg-color-3);left:8px}.u-web-switch-plus[disabled]{background-color:rgb(var(--gray-3));cursor:not-allowed}.u-web-switch-plus[disabled] .u-web-switch-plus-text{color:rgb(var(--gray-5))}.u-web-switch-plus[disabled].u-web-switch-plus-checked{background-color:rgb(var(--gray-4))}.u-web-switch-plus[disabled].u-web-switch-plus-checked .u-web-switch-plus-text{color:rgb(var(--gray-5))}.u-web-switch-plus-loading{background-color:rgb(var(--gray-4))}.u-web-switch-plus-loading .u-web-switch-plus-handle,.u-web-switch-plus-loading .u-web-switch-plus-text{color:rgb(var(--gray-6))}.u-web-switch-plus-loading.u-web-switch-plus-checked{background-color:rgb(var(--blue-6))}.u-web-switch-plus-loading.u-web-switch-plus-checked .u-web-switch-plus-handle{color:rgb(var(--blue-5))}.u-web-switch-plus-loading.u-web-switch-plus-checked .u-web-switch-plus-text{color:var(--u-bg-color-3)}.u-web-switch-plus-loading-icon{animation:1s linear infinite switch-loading-spin;display:inline-block}.u-web-switch-plus-medium{min-width:38px;height:24px;line-height:24px}.u-web-switch-plus-medium.u-web-switch-plus-checked{padding-left:-4px}.u-web-switch-plus-medium .u-web-switch-plus-handle{border-radius:12px;width:16px;height:16px;top:4px;left:4px}.u-web-switch-plus-medium .u-web-switch-plus-handle-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.8)}.u-web-switch-plus-medium.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 20px)}.u-web-switch-plus-medium .u-web-switch-plus-text-holder{margin:0 8px 0 26px}.u-web-switch-plus-medium .u-web-switch-plus-text{left:26px}.u-web-switch-plus-medium.u-web-switch-plus-checked .u-web-switch-plus-text-holder{margin:0 26px 0 8px}.u-web-switch-plus-medium.u-web-switch-plus-checked .u-web-switch-plus-text{left:8px}.u-web-switch-plus-small{min-width:32px;height:20px;line-height:20px}.u-web-switch-plus-small.u-web-switch-plus-checked{padding-left:-3px}.u-web-switch-plus-small .u-web-switch-plus-handle{border-radius:10px;width:14px;height:14px;top:3px;left:3px}.u-web-switch-plus-small .u-web-switch-plus-handle-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.66667)}.u-web-switch-plus-small.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 17px)}.u-web-switch-plus-type-round{border-radius:var(--u-radius-small);min-width:44px}.u-web-switch-plus-type-round .u-web-switch-plus-handle{border-radius:2px}.u-web-switch-plus-type-round.u-web-switch-plus-medium{border-radius:var(--u-radius-small);min-width:38px}.u-web-switch-plus-type-round.u-web-switch-plus-medium .u-web-switch-plus-handle{border-radius:2px}.u-web-switch-plus-type-round.u-web-switch-plus-small{border-radius:2px;min-width:32px;height:20px;line-height:20px}.u-web-switch-plus-type-round.u-web-switch-plus-small .u-web-switch-plus-handle{border-radius:1px}.u-web-switch-plus-type-line{min-width:44px;overflow:unset;background-color:#0000}.u-web-switch-plus-type-line:after{background-color:rgb(var(--gray-4));content:"";border-radius:2px;width:100%;height:4px;transition:background-color .2s;display:block}.u-web-switch-plus-type-line .u-web-switch-plus-handle{background-color:var(--u-bg-color-3);width:18px;height:18px;box-shadow:var(--u-shadow-sm);border-radius:9px;top:5px;left:0}.u-web-switch-plus-type-line.u-web-switch-plus-checked{background-color:#0000}.u-web-switch-plus-type-line.u-web-switch-plus-checked:after{background-color:rgb(var(--blue-5))}.u-web-switch-plus-type-line.u-web-switch-plus-custom-color{--custom-color:rgb(var(--gray-4))}.u-web-switch-plus-type-line.u-web-switch-plus-custom-color:after{background-color:var(--custom-color)}.u-web-switch-plus-type-line.u-web-switch-plus-custom-color.u-web-switch-plus-checked{--custom-color:rgb(var(--blue-5))}.u-web-switch-plus-type-line.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 18px)}.u-web-switch-plus-type-line.u-web-switch-plus-medium{min-width:38px}.u-web-switch-plus-type-line.u-web-switch-plus-medium .u-web-switch-plus-handle{border-radius:7px;width:14px;height:14px;top:5px}.u-web-switch-plus-type-line.u-web-switch-plus-medium.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 14px)}.u-web-switch-plus-type-line[disabled]{cursor:not-allowed;background-color:#0000}.u-web-switch-plus-type-line[disabled]:after{background-color:rgb(var(--gray-3))}.u-web-switch-plus-type-line[disabled].u-web-switch-plus-checked{background-color:#0000}.u-web-switch-plus-type-line[disabled].u-web-switch-plus-checked:after{background-color:rgb(var(--gray-4))}.u-web-switch-plus-type-line.u-web-switch-plus-loading{background-color:#0000}.u-web-switch-plus-type-line.u-web-switch-plus-loading:after{background-color:rgb(var(--gray-4))}.u-web-switch-plus-type-line.u-web-switch-plus-loading.u-web-switch-plus-checked{background-color:#0000}.u-web-switch-plus-type-line.u-web-switch-plus-loading.u-web-switch-plus-checked:after{background-color:rgb(var(--blue-6))}.u-web-switch-plus-type-line.u-web-switch-plus-small{min-width:32px;height:20px;line-height:20px}.u-web-switch-plus-type-line.u-web-switch-plus-small.u-web-switch-plus-checked{padding-left:-4px}.u-web-switch-plus-type-line.u-web-switch-plus-small .u-web-switch-plus-handle{border-radius:10px;width:12px;height:12px;top:4px}.u-web-switch-plus-type-line.u-web-switch-plus-small .u-web-switch-plus-handle-icon{transform:translate(-50%,-50%)scale(1)}.u-web-switch-plus-type-line.u-web-switch-plus-small.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 12px)}
1
+ :root{--red-1:255,236,232;--red-2:253,205,197;--red-3:251,172,163;--red-4:249,137,129;--red-5:247,101,96;--red-6:245,63,63;--red-7:203,39,45;--red-8:161,21,30;--red-9:119,8,19;--red-10:77,0,10;--gray-1:247,248,250;--gray-2:242,243,245;--gray-3:229,230,235;--gray-4:201,205,212;--gray-5:169,174,184;--gray-6:134,144,156;--gray-7:107,119,133;--gray-8:78,89,105;--gray-9:39,46,59;--gray-10:29,33,41;--green-1:232,255,234;--green-2:175,240,181;--green-3:123,225,136;--green-4:76,210,99;--green-5:35,195,67;--green-6:0,180,42;--green-7:0,154,41;--green-8:0,128,38;--green-9:0,102,34;--green-10:0,77,28;--blue-1:0,26,77;--blue-2:5,47,120;--blue-3:19,76,163;--blue-4:41,113,207;--blue-5:70,153,250;--blue-6:90,170,251;--blue-7:125,193,252;--blue-8:161,213,253;--blue-9:198,232,254;--blue-10:234,248,255;--u-bg-color:#f4f4f4;--u-bg-color-2:#fafbfb;--u-bg-color-3:#fff;--u-bg-color-3-hover:rgb(var(--gray-3),.5);--u-bg-color-3-active:rgb(var(--gray-3),.8);--u-blue-7:13,66,210;--u-blue-6:22,93,255;--u-blue-5:64,128,255;--u-wechat-color:#2ba471;--u-color-neutral-1:#f7f8fa;--u-color-neutral-2:#f2f3f5;--u-color-neutral-3:#e5e6ec;--u-shadow-sm:#0000001a 0px 1px 2px 0px;--u-shadow-lg:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;--u-radius-small:4px;--u-radius-default:6px;--u-radius-medium:8px;--u-radius-large:10px;--u-radius-circle:50%;--u-text-color:var(--td-font-gray-1);--u-text-color-tips:#8a939f;--u-text-color-3:#86909c;--u-text-color-hover:#0052d9;--u-text-color-primary:var(--td-font-gray-1);--u-text-color-secondary:var(--td-font-gray-2);--u-text-color-placeholder:var(--td-font-gray-3);--u-text-color-disabled:var(--td-font-gray-4);--u-text-color-anti:#fff;--u-text-color-brand:var(--td-brand-color-7);--u-text-color-link:var(--td-brand-color-8);--u-text-color-danger:rgb(var(--red-6))}html[theme-mode=dark]{--red-1:77,0,10;--red-2:119,6,17;--red-3:161,22,31;--red-4:203,46,52;--red-5:245,78,78;--red-6:247,105,101;--red-7:249,141,134;--red-8:251,176,167;--red-9:253,209,202;--red-10:255,240,236;--gray-1:23,23,26;--gray-2:46,46,48;--gray-3:72,72,73;--gray-4:95,95,96;--gray-5:120,120,122;--gray-6:146,146,147;--gray-7:171,171,172;--gray-8:197,197,197;--gray-9:223,223,223;--gray-10:246,246,246;--green-1:0,77,28;--green-2:4,102,37;--green-3:10,128,45;--green-4:18,154,55;--green-5:29,180,64;--green-6:39,195,70;--green-7:80,210,102;--green-8:126,225,139;--green-9:178,240,183;--green-10:235,255,236;--blue-1:232,247,255;--blue-2:195,231,254;--blue-3:159,212,253;--blue-4:123,192,252;--blue-5:87,169,251;--blue-6:52,145,250;--blue-7:32,108,207;--blue-8:17,75,163;--blue-9:6,48,120;--blue-10:0,26,77;--u-bg-color:#303133;--u-bg-color-2:#2e2e30;--u-bg-color-3:#2a2a2b;--u-bg-color-3-hover:rgb(var(--gray-3),.65);--u-color-neutral-1:#f7f8fa;--u-color-neutral-2:#484849;--u-color-neutral-3:#e5e6ec;--u-text-color:var(--td-font-white-1);--u-text-color-tips:#8a939f;--u-text-color-primary:var(--td-font-white-1);--u-text-color-secondary:var(--td-font-white-2);--u-text-color-placeholder:var(--td-font-white-3);--u-text-color-disabled:var(--td-font-white-4);--u-text-color-anti:#fff;--u-text-color-brand:var(--td-brand-color-8);--u-text-color-link:var(--td-brand-color-8);--u-text-color-danger:rgb(var(--red-6))}.u-t-input .t-input{border-color:#0000;transition:border-color .25s linear}.u-t-input .t-input:hover{border-color:var(--td-border-level-2-color)}.u-t-input .t-input:focus{box-shadow:none}.u-t-input .t-input--focused{box-shadow:none;border-color:var(--td-brand-color)!important}.u-t-collapse{background-color:#0000;border:none}.u-t-collapse .t-collapse-panel__header{border-bottom:none;padding:8px 13px}.u-t-collapse .t-collapse-panel__body{background:0 0;border-bottom:none}.u-t-collapse .t-collapse-panel__body .t-collapse-panel__content{color:var(--u-text-color);padding:0 6px 0 14px}.u-slider-green .t-slider__button{background:rgb(var(--green-4));border-color:rgb(var(--green-4))}.u-slider-green .t-slider__button--dragging,.u-slider-green .t-slider__button:hover{background-color:rgb(var(--green-5));border-color:rgb(var(--green-5))}.u-slider-blue .t-slider__button{background:rgb(var(--blue-5));border-color:rgb(var(--blue-5))}.u-slider-blue .t-slider__button--dragging,.u-slider-blue .t-slider__button:hover{border-color:rgb(var(--blue-6));background-color:rgb(var(--blue-6))!important}.u-slider-no-fill .t-slider__track{background:0 0}.u-slider .t-slider__rail,.u-slider .t-slider__track{height:8px}.u-slider .t-slider__button{transition:all .2s linear}.u-slider .t-slider__button--dragging{box-shadow:none;transform:scale(1.25)}*,:before,:after{box-sizing:border-box;margin:0;padding:0;font-weight:400}*,:before,:after,::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 #0000;--un-ring-shadow:0 0 #0000;--un-shadow-inset: ;--un-shadow:0 0 #0000;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:#93c5fd80;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.i-u-check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M43 11L16.875 37L5 25.1818' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-checkSmall{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 24L20 34L40 14' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-close{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 8L40 40' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 40L40 8' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-closeSmall{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 14L34 34' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 34L34 14' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-expandLeft{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9C6 7.34315 7.34315 6 9 6H39C40.6569 6 42 7.34315 42 9V39C42 40.6569 40.6569 42 39 42H9C7.34315 42 6 40.6569 6 39V9Z' fill='none' stroke='currentColor' stroke-width='4' stroke-linejoin='round'/%3E%3Cpath d='M32 6V42' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 20L20 24L16 28' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M26 6H38' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M26 42H38' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-expandRight{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' y='6' width='36' height='36' rx='3' fill='none' stroke='currentColor' stroke-width='4' stroke-linejoin='round'/%3E%3Cpath d='M18 6V42' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11 6H36' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M11 42H36' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M32 20L28 24L32 28' stroke='%23333' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31 36L19 24L31 12' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-u-loading{--un-icon:url("data:image/svg+xml;utf8,%3Csvg display='inline-block' vertical-align='middle' width='24' height='24' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon)no-repeat;-webkit-mask:var(--un-icon)no-repeat;mask:var(--un-icon)no-repeat;color:inherit;vertical-align:middle;background-color:currentColor;width:24px;height:24px;display:inline-block;-webkit-mask-size:100% 100%;mask-size:100% 100%}.visible{visibility:visible}.h-5{height:1.25rem}.h-full{height:100%}.h-screen{height:100vh}.min-h-0{min-height:0}.w-5{width:1.25rem}.flex{display:flex}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden{overflow:hidden}.p-1{padding:.25rem}.px{padding-left:1rem;padding-right:1rem}.pr-3{padding-right:.75rem}.font-bold{font-weight:700}.blur{--un-blur:blur(8px);filter:var(--un-blur)var(--un-brightness)var(--un-contrast)var(--un-drop-shadow)var(--un-grayscale)var(--un-hue-rotate)var(--un-invert)var(--un-saturate)var(--un-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:800px){.ut\:p-2{padding:.5rem}}@media (min-width:1280px){.xl\:p-4{padding:1rem}}.u-web-main-content{background:var(--u-bg-color)}.u-web-main-content-inner{background-color:var(--u-bg-color);border-radius:.5rem;height:100%;padding:4px;overflow:hidden auto}.u-web-context-menu-trigger{display:contents}.u-web-context-menu-mask{z-index:999;background:0 0;position:fixed;inset:0}.u-web-context-menu-menu{z-index:1000;background:var(--u-bg-color-3);border:1px solid var(--gray-3);border-radius:var(--u-radius-default);width:max-content;min-width:100px;box-shadow:var(--u-shadow-lg);-webkit-user-select:none;user-select:none;padding:4px 0;position:fixed}.u-web-context-menu-submenu-popup{z-index:1001;position:absolute;top:0;left:100%}.u-web-context-menu-item{color:var(--u-text-color);cursor:pointer;white-space:nowrap;border-radius:4px;align-items:center;margin:0 4px;padding:6px 12px;font-size:14px;line-height:22px;transition:all .2s;display:flex;position:relative}.u-web-context-menu-item:hover{background-color:var(--u-bg-color-3-hover)}.u-web-context-menu-item:active{background-color:var(--u-bg-color-3-active)}.u-web-context-menu-item-disabled{color:var(--u-text-color-disabled);cursor:not-allowed}.u-web-context-menu-item-disabled:hover{background-color:#0000}.u-web-context-menu-item-danger{color:var(--u-text-color-danger)}.u-web-context-menu-item-danger:hover{background-color:rgba(var(--red-5),.1)}.u-web-context-menu-item-icon{margin-right:8px;font-size:14px}.u-web-context-menu-item-label{flex:1}.u-web-context-menu-submenu{position:relative}.u-web-context-menu-submenu-arrow{color:rgb(var(--gray-4));margin-left:8px;font-size:10px;transition:color 90ms linear}.u-web-context-menu-submenu-active{background-color:#0000000a}.u-web-context-menu-submenu-active>.u-web-context-menu-submenu-arrow{color:rgb(var(--gray-6))}.u-web-context-menu-submenu-disabled .u-web-context-menu-submenu-arrow{color:rgb(var(--gray-3))}.u-web-context-menu-group-title{color:var(--u-text-color-secondary);padding:4px 6px;font-size:12px;font-weight:500;line-height:20px}.u-web-context-menu-group:not(:first-child){border-top:1px solid var(--u-color-neutral-2);margin-top:2px;padding-top:2px}.u-web-context-menu-divider{background-color:var(--u-color-neutral-2);height:1px;margin:4px 0}.u-web-split-panel{width:100%;height:100%;display:flex}.u-web-split-panel-horizontal{flex-direction:row}.u-web-split-panel-vertical{flex-direction:column}.u-web-split-panel-pane{overflow:hidden}.u-web-split-panel-pane-second{flex:1;min-width:0;min-height:0}.u-web-split-trigger{background:var(--u-bg-color-2,#f0f0f0);border:1px solid var(--u-color-neutral-3,#e0e0e0);-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;transition:background-color .2s;display:flex;position:relative}.u-web-split-trigger:hover:not(.u-web-split-trigger-disabled){background:var(--u-bg-color-3-hover,#e8e8e8)}.u-web-split-trigger-horizontal{cursor:col-resize;width:6px;margin:0 1px}.u-web-split-trigger-horizontal .u-web-split-trigger-icon{flex-direction:column;gap:2px;display:flex}.u-web-split-trigger-horizontal .u-web-split-trigger-line{background:var(--u-text-color-placeholder,#999);border-radius:1px;width:2px;height:12px}.u-web-split-trigger-vertical{cursor:row-resize;height:6px;margin:1px 0}.u-web-split-trigger-vertical .u-web-split-trigger-icon{flex-direction:row;gap:2px;display:flex}.u-web-split-trigger-vertical .u-web-split-trigger-line{background:var(--u-text-color-placeholder,#999);border-radius:1px;width:12px;height:2px}.u-web-split-trigger-disabled{cursor:not-allowed;opacity:.5}.u-web-split-trigger-disabled:hover{background:var(--u-bg-color-2,#f0f0f0)}.utools{height:100%}.utools .t-is-collapsed .t-menu__logo .title{display:none}.utools .t-is-collapsed .t-menu__logo>*{margin-left:0!important}.utools .t-is-collapsed .t-menu__logo:not(:empty){border-bottom:none;justify-content:center}.utools .t-menu__logo{padding:0 8px}.utools .t-default-menu__inner .t-menu{padding:12px 6px}.utools .t-default-menu{background:var(--u-bg-color)}.utools .t-default-menu .t-menu__item.t-is-active:not(.t-is-opened),.utools .t-default-menu .t-menu__item:hover:not(.t-is-active):not(.t-is-disabled){background:var(--u-bg-color-2)}.u-web-utools-left-menu{width:100%;height:100%;position:relative}.u-web-utools-left-menu .u-web-utools-left-menu-collapse{z-index:888;border-radius:var(--u-radius-circle);background-color:var(--u-bg-color-2);cursor:pointer;width:32px;height:32px;color:var(--u-text-color-3);padding:4px;transition:all .28s linear;position:absolute;top:8px;right:-32px}.u-web-utools-left-menu .u-web-utools-left-menu-collapse:hover{color:var(--u-text-color-hover);box-shadow:0 1px 2px #0000001a}.u-web-utools-content-wrapper{box-sizing:border-box;background:var(--u-bg-color);grid-template-rows:24px calc(100vh - 39px) 15px;width:100%;height:100%;min-height:100vh;display:grid;overflow:hidden}.u-web-utools-content-wrapper .content{padding:4px}.u-web-utools-content-wrapper .content .content-inner{border-radius:var(--u-radius-medium);background-color:var(--u-bg-color-2);height:100%;overflow-y:auto;box-shadow:0 1px 2px #0000001a}.u-web-page-header{background:var(--u-bg-color-2);border-bottom:1px solid var(--u-color-neutral-2);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.u-web-page-header-small{padding:14px 16px 12px}.u-web-page-header-small .u-web-page-header-title{font-size:16px}.u-web-page-header-small .u-web-page-header-header-back .t-icon{font-size:18px}.u-web-page-header-large{padding:20px 24px}.u-web-page-header-large .u-web-page-header-title{font-size:20px}.u-web-page-header-large .u-web-page-header-header-back .t-icon{font-size:24px}.u-web-page-header-header{gap:6px}.u-web-page-header-header-back .t-icon{font-size:20px}.u-web-page-header-subtitle{color:var(--u-text-color-secondary)}.u-web-page-header-divider{height:20px}.u-web-page-header-title{color:var(--u-text-color);font-size:18px;font-weight:500;line-height:1.5}.u-web-page-header-extra{align-items:center;gap:16px;display:flex}.u-web-setting-item{background:var(--u-bg-color-3);-webkit-user-select:none;user-select:none;padding:15px 10px;transition:all .28s linear}.u-web-setting-item:hover{background:rgb(var(--gray-2),.5)}.u-web-setting-item-title{margin-bottom:.25rem;font-size:1rem;font-weight:700}.u-web-setting-item-desc{color:var(--u-text-color-tips);font-size:12px}.u-web-division{border-bottom:1px dashed var(--u-color-neutral-2)}.u-web-setting-group>div:last-child{border-radius:6px;transition:all .26s linear;overflow:hidden}.u-web-setting-group>div:last-child:hover{box-shadow:0 3px 5px #0000000a}.u-web-setting-group-header,.u-web-setting-group-title{margin-bottom:.5rem}.u-web-setting-group-title{border-left:2px solid rgb(var(--u-blue-5));padding-left:.5rem;font-size:1.25rem;font-weight:600;line-height:1.75rem}.u-web-switch-green{transition:background-color .2s linear}.u-web-switch-green.t-is-checked{background-color:rgba(var(--green-5))}.u-web-switch-green.t-is-checked:hover{background-color:rgba(var(--green-6))}@keyframes switch-loading-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.switch-slide-text-enter-from{left:-100%!important}.switch-slide-text-enter-to{left:8px!important}.switch-slide-text-enter-active{transition:left .2s}.switch-slide-text-leave-from{left:100%!important}.switch-slide-text-leave-to{left:30px!important}.switch-slide-text-leave-active{transition:left .2s}.u-web-switch-plus{box-sizing:border-box;vertical-align:middle;background-color:rgb(var(--gray-4));cursor:pointer;border:none;border-radius:14px;outline:none;min-width:44px;height:28px;padding:0;line-height:28px;transition:background-color .2s;position:relative;overflow:hidden}.u-web-switch-plus-handle{width:20px;height:20px;color:rgb(var(--gray-6));background-color:var(--u-bg-color-3);box-shadow:var(--u-shadow-sm);border-radius:50%;justify-content:center;align-items:center;font-size:12px;transition:all .2s;display:flex;position:absolute;top:4px;left:4px}.u-web-switch-plus-checked{background-color:rgb(var(--blue-5))}.u-web-switch-plus-checked .u-web-switch-plus-handle{color:rgb(var(--blue-5));left:calc(100% - 24px)}.u-web-switch-plus[disabled] .u-web-switch-plus-handle,.u-web-switch-plus[disabled].u-web-switch-plus-checked .u-web-switch-plus-handle{color:rgb(var(--gray-5))}.u-web-switch-plus-text-holder{opacity:0;margin:0 8px 0 30px;font-size:12px}.u-web-switch-plus-text{color:rgb(var(--gray-6));font-size:12px;position:absolute;top:0;left:30px}.u-web-switch-plus-checked .u-web-switch-plus-text-holder{margin:0 30px 0 8px}.u-web-switch-plus-checked .u-web-switch-plus-text{color:var(--u-bg-color-3);left:8px}.u-web-switch-plus[disabled]{background-color:rgb(var(--gray-3));cursor:not-allowed}.u-web-switch-plus[disabled] .u-web-switch-plus-text{color:rgb(var(--gray-5))}.u-web-switch-plus[disabled].u-web-switch-plus-checked{background-color:rgb(var(--gray-4))}.u-web-switch-plus[disabled].u-web-switch-plus-checked .u-web-switch-plus-text{color:rgb(var(--gray-5))}.u-web-switch-plus-loading{background-color:rgb(var(--gray-4))}.u-web-switch-plus-loading .u-web-switch-plus-handle,.u-web-switch-plus-loading .u-web-switch-plus-text{color:rgb(var(--gray-6))}.u-web-switch-plus-loading.u-web-switch-plus-checked{background-color:rgb(var(--blue-6))}.u-web-switch-plus-loading.u-web-switch-plus-checked .u-web-switch-plus-handle{color:rgb(var(--blue-5))}.u-web-switch-plus-loading.u-web-switch-plus-checked .u-web-switch-plus-text{color:var(--u-bg-color-3)}.u-web-switch-plus-loading-icon{animation:1s linear infinite switch-loading-spin;display:inline-block}.u-web-switch-plus-medium{min-width:38px;height:24px;line-height:24px}.u-web-switch-plus-medium.u-web-switch-plus-checked{padding-left:-4px}.u-web-switch-plus-medium .u-web-switch-plus-handle{border-radius:12px;width:16px;height:16px;top:4px;left:4px}.u-web-switch-plus-medium .u-web-switch-plus-handle-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.8)}.u-web-switch-plus-medium.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 20px)}.u-web-switch-plus-medium .u-web-switch-plus-text-holder{margin:0 8px 0 26px}.u-web-switch-plus-medium .u-web-switch-plus-text{left:26px}.u-web-switch-plus-medium.u-web-switch-plus-checked .u-web-switch-plus-text-holder{margin:0 26px 0 8px}.u-web-switch-plus-medium.u-web-switch-plus-checked .u-web-switch-plus-text{left:8px}.u-web-switch-plus-small{min-width:32px;height:20px;line-height:20px}.u-web-switch-plus-small.u-web-switch-plus-checked{padding-left:-3px}.u-web-switch-plus-small .u-web-switch-plus-handle{border-radius:10px;width:14px;height:14px;top:3px;left:3px}.u-web-switch-plus-small .u-web-switch-plus-handle-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(.66667)}.u-web-switch-plus-small.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 17px)}.u-web-switch-plus-type-round{border-radius:var(--u-radius-small);min-width:44px}.u-web-switch-plus-type-round .u-web-switch-plus-handle{border-radius:2px}.u-web-switch-plus-type-round.u-web-switch-plus-medium{border-radius:var(--u-radius-small);min-width:38px}.u-web-switch-plus-type-round.u-web-switch-plus-medium .u-web-switch-plus-handle{border-radius:2px}.u-web-switch-plus-type-round.u-web-switch-plus-small{border-radius:2px;min-width:32px;height:20px;line-height:20px}.u-web-switch-plus-type-round.u-web-switch-plus-small .u-web-switch-plus-handle{border-radius:1px}.u-web-switch-plus-type-line{min-width:44px;overflow:unset;background-color:#0000}.u-web-switch-plus-type-line:after{background-color:rgb(var(--gray-4));content:"";border-radius:2px;width:100%;height:4px;transition:background-color .2s;display:block}.u-web-switch-plus-type-line .u-web-switch-plus-handle{background-color:var(--u-bg-color-3);width:18px;height:18px;box-shadow:var(--u-shadow-sm);border-radius:9px;top:5px;left:0}.u-web-switch-plus-type-line.u-web-switch-plus-checked{background-color:#0000}.u-web-switch-plus-type-line.u-web-switch-plus-checked:after{background-color:rgb(var(--blue-5))}.u-web-switch-plus-type-line.u-web-switch-plus-custom-color{--custom-color:rgb(var(--gray-4))}.u-web-switch-plus-type-line.u-web-switch-plus-custom-color:after{background-color:var(--custom-color)}.u-web-switch-plus-type-line.u-web-switch-plus-custom-color.u-web-switch-plus-checked{--custom-color:rgb(var(--blue-5))}.u-web-switch-plus-type-line.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 18px)}.u-web-switch-plus-type-line.u-web-switch-plus-medium{min-width:38px}.u-web-switch-plus-type-line.u-web-switch-plus-medium .u-web-switch-plus-handle{border-radius:7px;width:14px;height:14px;top:5px}.u-web-switch-plus-type-line.u-web-switch-plus-medium.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 14px)}.u-web-switch-plus-type-line[disabled]{cursor:not-allowed;background-color:#0000}.u-web-switch-plus-type-line[disabled]:after{background-color:rgb(var(--gray-3))}.u-web-switch-plus-type-line[disabled].u-web-switch-plus-checked{background-color:#0000}.u-web-switch-plus-type-line[disabled].u-web-switch-plus-checked:after{background-color:rgb(var(--gray-4))}.u-web-switch-plus-type-line.u-web-switch-plus-loading{background-color:#0000}.u-web-switch-plus-type-line.u-web-switch-plus-loading:after{background-color:rgb(var(--gray-4))}.u-web-switch-plus-type-line.u-web-switch-plus-loading.u-web-switch-plus-checked{background-color:#0000}.u-web-switch-plus-type-line.u-web-switch-plus-loading.u-web-switch-plus-checked:after{background-color:rgb(var(--blue-6))}.u-web-switch-plus-type-line.u-web-switch-plus-small{min-width:32px;height:20px;line-height:20px}.u-web-switch-plus-type-line.u-web-switch-plus-small.u-web-switch-plus-checked{padding-left:-4px}.u-web-switch-plus-type-line.u-web-switch-plus-small .u-web-switch-plus-handle{border-radius:10px;width:12px;height:12px;top:4px}.u-web-switch-plus-type-line.u-web-switch-plus-small .u-web-switch-plus-handle-icon{transform:translate(-50%,-50%)scale(1)}.u-web-switch-plus-type-line.u-web-switch-plus-small.u-web-switch-plus-checked .u-web-switch-plus-handle{left:calc(100% - 12px)}
2
2
  /*$vite$:1*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiaou66/u-web-ui",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "web-ui",
5
5
  "main": "./dist/index.es.js",
6
6
  "module": "./dist/index.es.js",