@qy_better_lib/pc 0.2.18 → 0.2.20

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.
Files changed (161) hide show
  1. package/dist/@qy_better_lib/pc.min.js +1 -1
  2. package/lib/node_modules/@ctrl/tinycolor/dist/module/conversion.js +115 -0
  3. package/lib/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js +153 -0
  4. package/lib/node_modules/@ctrl/tinycolor/dist/module/format-input.js +68 -0
  5. package/lib/node_modules/@ctrl/tinycolor/dist/module/index.js +183 -0
  6. package/lib/node_modules/@ctrl/tinycolor/dist/module/util.js +32 -0
  7. package/lib/node_modules/@element-plus/icons-vue/dist/index.js +167 -0
  8. package/lib/node_modules/@vue/shared/dist/shared.esm-bundler.js +22 -0
  9. package/lib/node_modules/@vueuse/core/index.js +112 -0
  10. package/lib/node_modules/@vueuse/shared/index.js +68 -0
  11. package/lib/node_modules/element-plus/es/_virtual/plugin-vue_export-helper.js +9 -0
  12. package/lib/node_modules/element-plus/es/components/badge/index.js +7 -0
  13. package/lib/node_modules/element-plus/es/components/button/index.js +11 -0
  14. package/lib/node_modules/element-plus/es/components/icon/index.js +7 -0
  15. package/lib/node_modules/element-plus/es/components/input/index.js +7 -0
  16. package/lib/node_modules/element-plus/es/components/message/index.js +7 -0
  17. package/lib/node_modules/element-plus/es/components/message-box/index.js +10 -0
  18. package/lib/node_modules/element-plus/es/components/notification/index.js +7 -0
  19. package/lib/node_modules/element-plus/es/components/overlay/index.js +9 -0
  20. package/lib/node_modules/element-plus/es/constants/aria.js +9 -0
  21. package/lib/node_modules/element-plus/es/constants/event.js +6 -0
  22. package/lib/node_modules/element-plus/es/constants/size.js +4 -0
  23. package/lib/node_modules/element-plus/es/directives/trap-focus/index.js +32 -0
  24. package/lib/node_modules/element-plus/es/hooks/use-aria/index.js +14 -0
  25. package/lib/node_modules/element-plus/es/hooks/use-attrs/index.js +12 -0
  26. package/lib/node_modules/element-plus/es/hooks/use-composition/index.js +29 -0
  27. package/lib/node_modules/element-plus/es/hooks/use-cursor/index.js +39 -0
  28. package/lib/node_modules/element-plus/es/hooks/use-deprecated/index.js +10 -0
  29. package/lib/node_modules/element-plus/es/hooks/use-draggable/index.js +45 -0
  30. package/lib/node_modules/element-plus/es/hooks/use-empty-values/index.js +20 -0
  31. package/lib/node_modules/element-plus/es/hooks/use-escape-keydown/index.js +16 -0
  32. package/lib/node_modules/element-plus/es/hooks/use-focus-controller/index.js +34 -0
  33. package/lib/node_modules/element-plus/es/hooks/use-id/index.js +15 -0
  34. package/lib/node_modules/element-plus/es/hooks/use-locale/index.js +24 -0
  35. package/lib/node_modules/element-plus/es/hooks/use-lockscreen/index.js +30 -0
  36. package/lib/node_modules/element-plus/es/hooks/use-namespace/index.js +44 -0
  37. package/lib/node_modules/element-plus/es/hooks/use-prop/index.js +11 -0
  38. package/lib/node_modules/element-plus/es/hooks/use-same-target/index.js +16 -0
  39. package/lib/node_modules/element-plus/es/hooks/use-size/index.js +16 -0
  40. package/lib/node_modules/element-plus/es/hooks/use-z-index/index.js +22 -0
  41. package/lib/node_modules/element-plus/es/locale/lang/en.js +182 -0
  42. package/lib/node_modules/element-plus/es/utils/browser.js +6 -0
  43. package/lib/node_modules/element-plus/es/utils/dom/aria.js +29 -0
  44. package/lib/node_modules/element-plus/es/utils/dom/scroll.js +20 -0
  45. package/lib/node_modules/element-plus/es/utils/dom/style.js +45 -0
  46. package/lib/node_modules/element-plus/es/utils/error.js +14 -0
  47. package/lib/node_modules/element-plus/es/utils/i18n.js +4 -0
  48. package/lib/node_modules/element-plus/es/utils/objects.js +4 -0
  49. package/lib/node_modules/element-plus/es/utils/types.js +13 -0
  50. package/lib/node_modules/element-plus/es/utils/typescript.js +4 -0
  51. package/lib/node_modules/element-plus/es/utils/vue/icon.js +29 -0
  52. package/lib/node_modules/element-plus/es/utils/vue/install.js +17 -0
  53. package/lib/node_modules/element-plus/es/utils/vue/props/runtime.js +31 -0
  54. package/lib/node_modules/element-plus/es/utils/vue/validator.js +5 -0
  55. package/lib/node_modules/element-plus/es/utils/vue/vnode.js +5 -0
  56. package/lib/node_modules/lodash-es/_Hash.js +20 -0
  57. package/lib/node_modules/lodash-es/_ListCache.js +20 -0
  58. package/lib/node_modules/lodash-es/_Map.js +6 -0
  59. package/lib/node_modules/lodash-es/_MapCache.js +20 -0
  60. package/lib/node_modules/lodash-es/_Symbol.js +5 -0
  61. package/lib/node_modules/lodash-es/_apply.js +16 -0
  62. package/lib/node_modules/lodash-es/_arrayMap.js +8 -0
  63. package/lib/node_modules/lodash-es/_arrayPush.js +8 -0
  64. package/lib/node_modules/lodash-es/_assignValue.js +10 -0
  65. package/lib/node_modules/lodash-es/_assocIndexOf.js +10 -0
  66. package/lib/node_modules/lodash-es/_baseAssignValue.js +12 -0
  67. package/lib/node_modules/lodash-es/_baseFlatten.js +13 -0
  68. package/lib/node_modules/lodash-es/_baseGet.js +11 -0
  69. package/lib/node_modules/lodash-es/_baseGetTag.js +10 -0
  70. package/lib/node_modules/lodash-es/_baseHasIn.js +6 -0
  71. package/lib/node_modules/lodash-es/_baseIsArguments.js +9 -0
  72. package/lib/node_modules/lodash-es/_baseIsNative.js +16 -0
  73. package/lib/node_modules/lodash-es/_basePick.js +10 -0
  74. package/lib/node_modules/lodash-es/_basePickBy.js +13 -0
  75. package/lib/node_modules/lodash-es/_baseSet.js +24 -0
  76. package/lib/node_modules/lodash-es/_baseSetToString.js +14 -0
  77. package/lib/node_modules/lodash-es/_baseToString.js +18 -0
  78. package/lib/node_modules/lodash-es/_castPath.js +10 -0
  79. package/lib/node_modules/lodash-es/_coreJsData.js +5 -0
  80. package/lib/node_modules/lodash-es/_defineProperty.js +11 -0
  81. package/lib/node_modules/lodash-es/_flatRest.js +9 -0
  82. package/lib/node_modules/lodash-es/_freeGlobal.js +4 -0
  83. package/lib/node_modules/lodash-es/_getMapData.js +8 -0
  84. package/lib/node_modules/lodash-es/_getNative.js +9 -0
  85. package/lib/node_modules/lodash-es/_getRawTag.js +15 -0
  86. package/lib/node_modules/lodash-es/_getValue.js +6 -0
  87. package/lib/node_modules/lodash-es/_hasPath.js +19 -0
  88. package/lib/node_modules/lodash-es/_hashClear.js +7 -0
  89. package/lib/node_modules/lodash-es/_hashDelete.js +7 -0
  90. package/lib/node_modules/lodash-es/_hashGet.js +13 -0
  91. package/lib/node_modules/lodash-es/_hashHas.js +9 -0
  92. package/lib/node_modules/lodash-es/_hashSet.js +9 -0
  93. package/lib/node_modules/lodash-es/_isFlattenable.js +10 -0
  94. package/lib/node_modules/lodash-es/_isIndex.js +8 -0
  95. package/lib/node_modules/lodash-es/_isKey.js +12 -0
  96. package/lib/node_modules/lodash-es/_isKeyable.js +7 -0
  97. package/lib/node_modules/lodash-es/_isMasked.js +11 -0
  98. package/lib/node_modules/lodash-es/_listCacheClear.js +6 -0
  99. package/lib/node_modules/lodash-es/_listCacheDelete.js +12 -0
  100. package/lib/node_modules/lodash-es/_listCacheGet.js +8 -0
  101. package/lib/node_modules/lodash-es/_listCacheHas.js +7 -0
  102. package/lib/node_modules/lodash-es/_listCacheSet.js +8 -0
  103. package/lib/node_modules/lodash-es/_mapCacheClear.js +13 -0
  104. package/lib/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  105. package/lib/node_modules/lodash-es/_mapCacheGet.js +7 -0
  106. package/lib/node_modules/lodash-es/_mapCacheHas.js +7 -0
  107. package/lib/node_modules/lodash-es/_mapCacheSet.js +8 -0
  108. package/lib/node_modules/lodash-es/_memoizeCapped.js +11 -0
  109. package/lib/node_modules/lodash-es/_nativeCreate.js +5 -0
  110. package/lib/node_modules/lodash-es/_objectToString.js +7 -0
  111. package/lib/node_modules/lodash-es/_overRest.js +15 -0
  112. package/lib/node_modules/lodash-es/_root.js +5 -0
  113. package/lib/node_modules/lodash-es/_setToString.js +6 -0
  114. package/lib/node_modules/lodash-es/_shortOut.js +16 -0
  115. package/lib/node_modules/lodash-es/_stringToPath.js +10 -0
  116. package/lib/node_modules/lodash-es/_toKey.js +10 -0
  117. package/lib/node_modules/lodash-es/_toSource.js +17 -0
  118. package/lib/node_modules/lodash-es/constant.js +8 -0
  119. package/lib/node_modules/lodash-es/eq.js +6 -0
  120. package/lib/node_modules/lodash-es/flatten.js +8 -0
  121. package/lib/node_modules/lodash-es/fromPairs.js +10 -0
  122. package/lib/node_modules/lodash-es/get.js +8 -0
  123. package/lib/node_modules/lodash-es/hasIn.js +8 -0
  124. package/lib/node_modules/lodash-es/identity.js +6 -0
  125. package/lib/node_modules/lodash-es/isArguments.js +10 -0
  126. package/lib/node_modules/lodash-es/isArray.js +4 -0
  127. package/lib/node_modules/lodash-es/isFunction.js +12 -0
  128. package/lib/node_modules/lodash-es/isLength.js +7 -0
  129. package/lib/node_modules/lodash-es/isNil.js +6 -0
  130. package/lib/node_modules/lodash-es/isObject.js +7 -0
  131. package/lib/node_modules/lodash-es/isObjectLike.js +6 -0
  132. package/lib/node_modules/lodash-es/isSymbol.js +9 -0
  133. package/lib/node_modules/lodash-es/memoize.js +18 -0
  134. package/lib/node_modules/lodash-es/pick.js +8 -0
  135. package/lib/node_modules/lodash-es/toString.js +7 -0
  136. package/lib/{utils → src/utils}/index.js +24 -22
  137. package/lib/styles/contextMenu.scss +3 -3
  138. package/package.json +1 -1
  139. package/lib/contextMenu/src/index.vue.js +0 -104
  140. package/lib/contextMenu/src/index.vue2.js +0 -4
  141. package/lib/describeView/src/index.vue.js +0 -81
  142. package/lib/describeView/src/index.vue2.js +0 -4
  143. package/lib/simpleVirtualList/src/index.vue.js +0 -84
  144. package/lib/simpleVirtualList/src/index.vue2.js +0 -4
  145. package/lib/tableExtend/src/colVisible.vue.js +0 -103
  146. package/lib/tableExtend/src/colVisible.vue2.js +0 -4
  147. package/lib/tableExtend/src/index.vue.js +0 -220
  148. package/lib/tableExtend/src/index.vue2.js +0 -4
  149. package/lib/tableExtend/src/valueCol.vue.js +0 -26
  150. package/lib/tableExtend/src/valueCol.vue2.js +0 -4
  151. package/lib/textButton/src/index.vue.js +0 -56
  152. package/lib/textButton/src/index.vue2.js +0 -4
  153. /package/lib/{contextMenu → src/contextMenu}/index.js +0 -0
  154. /package/lib/{describeView → src/describeView}/index.js +0 -0
  155. /package/lib/{index.js → src/index.js} +0 -0
  156. /package/lib/{simpleVirtualList → src/simpleVirtualList}/index.js +0 -0
  157. /package/lib/{tableExtend → src/tableExtend}/index.js +0 -0
  158. /package/lib/{tableExtend → src/tableExtend}/props.js +0 -0
  159. /package/lib/{tableExtend → src/tableExtend}/type.js +0 -0
  160. /package/lib/{tableExtend → src/tableExtend}/useTable.js +0 -0
  161. /package/lib/{textButton → src/textButton}/index.js +0 -0
@@ -0,0 +1,20 @@
1
+ import "vue";
2
+ import { buildProps as o, definePropType as t } from "../../utils/vue/props/runtime.js";
3
+ import { isFunction as r } from "../../../../@vue/shared/dist/shared.esm-bundler.js";
4
+ const m = Symbol("emptyValuesContextKey"), u = o({
5
+ emptyValues: Array,
6
+ valueOnClear: {
7
+ type: t([
8
+ String,
9
+ Number,
10
+ Boolean,
11
+ Function
12
+ ]),
13
+ default: void 0,
14
+ validator: (e) => r(e) ? !e() : !e
15
+ }
16
+ });
17
+ export {
18
+ m as emptyValuesContextKey,
19
+ u as useEmptyValuesProps
20
+ };
@@ -0,0 +1,16 @@
1
+ import { onMounted as i, onBeforeUnmount as d } from "vue";
2
+ import { EVENT_CODE as s } from "../../constants/aria.js";
3
+ import { isClient as t } from "../../../../@vueuse/shared/index.js";
4
+ let e = [];
5
+ const r = (o) => {
6
+ o.code === s.esc && e.forEach((n) => n(o));
7
+ }, E = (o) => {
8
+ i(() => {
9
+ e.length === 0 && document.addEventListener("keydown", r), t && e.push(o);
10
+ }), d(() => {
11
+ e = e.filter((n) => n !== o), e.length === 0 && t && document.removeEventListener("keydown", r);
12
+ });
13
+ };
14
+ export {
15
+ E as useEscapeKeydown
16
+ };
@@ -0,0 +1,34 @@
1
+ import { getCurrentInstance as b, shallowRef as w, ref as x, watch as C, unref as l } from "vue";
2
+ import { useEventListener as c } from "../../../../@vueuse/core/index.js";
3
+ import { isFocusable as E } from "../../utils/dom/aria.js";
4
+ import { isFunction as p } from "../../../../@vue/shared/dist/shared.esm-bundler.js";
5
+ function T(h, {
6
+ disabled: r,
7
+ beforeFocus: a,
8
+ afterFocus: i,
9
+ beforeBlur: s,
10
+ afterBlur: f
11
+ } = {}) {
12
+ const g = b(), { emit: m } = g, n = w(), u = x(!1), v = (t) => {
13
+ const e = p(a) ? a(t) : !1;
14
+ l(r) || u.value || e || (u.value = !0, m("focus", t), i?.());
15
+ }, d = (t) => {
16
+ var e;
17
+ const o = p(s) ? s(t) : !1;
18
+ l(r) || t.relatedTarget && ((e = n.value) != null && e.contains(t.relatedTarget)) || o || (u.value = !1, m("blur", t), f?.());
19
+ }, F = (t) => {
20
+ var e, o;
21
+ l(r) || E(t.target) || (e = n.value) != null && e.contains(document.activeElement) && n.value !== document.activeElement || (o = h.value) == null || o.focus();
22
+ };
23
+ return C([n, () => l(r)], ([t, e]) => {
24
+ t && (e ? t.removeAttribute("tabindex") : t.setAttribute("tabindex", "-1"));
25
+ }), c(n, "focus", v, !0), c(n, "blur", d, !0), c(n, "click", F, !0), {
26
+ isFocused: u,
27
+ wrapperRef: n,
28
+ handleFocus: v,
29
+ handleBlur: d
30
+ };
31
+ }
32
+ export {
33
+ T as useFocusController
34
+ };
@@ -0,0 +1,15 @@
1
+ import { inject as o, getCurrentInstance as c, unref as i } from "vue";
2
+ import { useGetDerivedNamespace as s } from "../use-namespace/index.js";
3
+ import { computedEager as d } from "../../../../@vueuse/shared/index.js";
4
+ const t = {
5
+ prefix: Math.floor(Math.random() * 1e4),
6
+ current: 0
7
+ }, u = Symbol("elIdInjection"), I = () => c() ? o(u, t) : t, j = (n) => {
8
+ const e = I(), r = s();
9
+ return d(() => i(n) || `${r.value}-id-${e.prefix}-${e.current++}`);
10
+ };
11
+ export {
12
+ u as ID_INJECTION_KEY,
13
+ j as useId,
14
+ I as useIdInjection
15
+ };
@@ -0,0 +1,24 @@
1
+ import { inject as a, ref as l, computed as c, unref as s, isRef as u } from "vue";
2
+ import m from "../../locale/lang/en.js";
3
+ import i from "../../../../lodash-es/get.js";
4
+ const f = (t) => (e, o) => d(e, o, s(t)), d = (t, e, o) => i(o, t, t).replace(/\{(\w+)\}/g, (x, n) => {
5
+ var r;
6
+ return `${(r = e?.[n]) != null ? r : `{${n}}`}`;
7
+ }), g = (t) => {
8
+ const e = c(() => s(t).name), o = u(t) ? t : l(t);
9
+ return {
10
+ lang: e,
11
+ locale: o,
12
+ t: f(t)
13
+ };
14
+ }, p = Symbol("localeContextKey"), y = (t) => {
15
+ const e = t || a(p, l());
16
+ return g(c(() => e.value || m));
17
+ };
18
+ export {
19
+ g as buildLocaleContext,
20
+ f as buildTranslator,
21
+ p as localeContextKey,
22
+ d as translate,
23
+ y as useLocale
24
+ };
@@ -0,0 +1,30 @@
1
+ import { isRef as a, computed as f, watch as p, onScopeDispose as y } from "vue";
2
+ import { useNamespace as h } from "../use-namespace/index.js";
3
+ import { throwError as b } from "../../utils/error.js";
4
+ import { hasClass as r, addClass as v, getStyle as w, removeClass as C } from "../../utils/dom/style.js";
5
+ import { getScrollBarWidth as H } from "../../utils/dom/scroll.js";
6
+ import { isClient as S } from "../../../../@vueuse/shared/index.js";
7
+ const E = (d, l = {}) => {
8
+ a(d) || b("[useLockscreen]", "You need to pass a ref param to this function");
9
+ const n = l.ns || h("popup"), e = f(() => n.bm("parent", "hidden"));
10
+ if (!S || r(document.body, e.value))
11
+ return;
12
+ let t = 0, o = !1, s = "0";
13
+ const c = () => {
14
+ setTimeout(() => {
15
+ typeof document > "u" || o && document && (document.body.style.width = s, C(document.body, e.value));
16
+ }, 200);
17
+ };
18
+ p(d, (i) => {
19
+ if (!i) {
20
+ c();
21
+ return;
22
+ }
23
+ o = !r(document.body, e.value), o && (s = document.body.style.width, v(document.body, e.value)), t = H(n.namespace.value);
24
+ const m = document.documentElement.clientHeight < document.body.scrollHeight, u = w(document.body, "overflowY");
25
+ t > 0 && (m || u === "scroll") && o && (document.body.style.width = `calc(100% - ${t}px)`);
26
+ }), y(() => c());
27
+ };
28
+ export {
29
+ E as useLockscreen
30
+ };
@@ -0,0 +1,44 @@
1
+ import { getCurrentInstance as p, inject as N, ref as v, computed as V, unref as y } from "vue";
2
+ const m = "el", l = "is-", c = (a, r, t, o, $) => {
3
+ let u = `${a}-${r}`;
4
+ return t && (u += `-${t}`), o && (u += `__${o}`), $ && (u += `--${$}`), u;
5
+ }, B = Symbol("namespaceContextKey"), C = (a) => {
6
+ const r = a || (p() ? N(B, v(m)) : v(m));
7
+ return V(() => y(r) || m);
8
+ }, q = (a, r) => {
9
+ const t = C(r);
10
+ return {
11
+ namespace: t,
12
+ b: (s = "") => c(t.value, a, s, "", ""),
13
+ e: (s) => s ? c(t.value, a, "", s, "") : "",
14
+ m: (s) => s ? c(t.value, a, "", "", s) : "",
15
+ be: (s, e) => s && e ? c(t.value, a, s, e, "") : "",
16
+ em: (s, e) => s && e ? c(t.value, a, "", s, e) : "",
17
+ bm: (s, e) => s && e ? c(t.value, a, s, "", e) : "",
18
+ bem: (s, e, n) => s && e && n ? c(t.value, a, s, e, n) : "",
19
+ is: (s, ...e) => {
20
+ const n = e.length >= 1 ? e[0] : !0;
21
+ return s && n ? `${l}${s}` : "";
22
+ },
23
+ cssVar: (s) => {
24
+ const e = {};
25
+ for (const n in s)
26
+ s[n] && (e[`--${t.value}-${n}`] = s[n]);
27
+ return e;
28
+ },
29
+ cssVarName: (s) => `--${t.value}-${s}`,
30
+ cssVarBlock: (s) => {
31
+ const e = {};
32
+ for (const n in s)
33
+ s[n] && (e[`--${t.value}-${a}-${n}`] = s[n]);
34
+ return e;
35
+ },
36
+ cssVarBlockName: (s) => `--${t.value}-${a}-${s}`
37
+ };
38
+ };
39
+ export {
40
+ m as defaultNamespace,
41
+ B as namespaceContextKey,
42
+ C as useGetDerivedNamespace,
43
+ q as useNamespace
44
+ };
@@ -0,0 +1,11 @@
1
+ import { getCurrentInstance as e, computed as u } from "vue";
2
+ const l = (t) => {
3
+ const r = e();
4
+ return u(() => {
5
+ var o, n;
6
+ return (n = (o = r?.proxy) == null ? void 0 : o.$props) == null ? void 0 : n[t];
7
+ });
8
+ };
9
+ export {
10
+ l as useProp
11
+ };
@@ -0,0 +1,16 @@
1
+ import { NOOP as n } from "../../../../@vue/shared/dist/shared.esm-bundler.js";
2
+ const g = (r) => {
3
+ if (!r)
4
+ return { onClick: n, onMousedown: n, onMouseup: n };
5
+ let e = !1, t = !1;
6
+ return { onClick: (o) => {
7
+ e && t && r(o), e = t = !1;
8
+ }, onMousedown: (o) => {
9
+ e = o.target === o.currentTarget;
10
+ }, onMouseup: (o) => {
11
+ t = o.target === o.currentTarget;
12
+ } };
13
+ };
14
+ export {
15
+ g as useSameTarget
16
+ };
@@ -0,0 +1,16 @@
1
+ import { inject as o, computed as r, unref as t } from "vue";
2
+ import { buildProp as i } from "../../utils/vue/props/runtime.js";
3
+ import { componentSizes as n } from "../../constants/size.js";
4
+ const c = i({
5
+ type: String,
6
+ values: n,
7
+ required: !1
8
+ }), s = Symbol("size"), S = () => {
9
+ const e = o(s, {});
10
+ return r(() => t(e.size) || "");
11
+ };
12
+ export {
13
+ s as SIZE_INJECTION_KEY,
14
+ S as useGlobalSize,
15
+ c as useSizeProp
16
+ };
@@ -0,0 +1,22 @@
1
+ import { getCurrentInstance as c, inject as n, computed as i, unref as m, ref as a } from "vue";
2
+ import { isNumber as f } from "../../utils/types.js";
3
+ import { isClient as Z } from "../../../../@vueuse/shared/index.js";
4
+ const I = {
5
+ current: 0
6
+ }, s = a(0), v = 2e3, u = Symbol("elZIndexContextKey"), C = Symbol("zIndexContextKey"), j = (x) => {
7
+ const e = c() ? n(u, I) : I, d = x || (c() ? n(C, void 0) : void 0), t = i(() => {
8
+ const r = m(d);
9
+ return f(r) ? r : v;
10
+ }), o = i(() => t.value + s.value), l = () => (e.current++, s.value = e.current, o.value);
11
+ return !Z && n(u), {
12
+ initialZIndex: t,
13
+ currentZIndex: o,
14
+ nextZIndex: l
15
+ };
16
+ };
17
+ export {
18
+ u as ZINDEX_INJECTION_KEY,
19
+ v as defaultInitialZIndex,
20
+ j as useZIndex,
21
+ C as zIndexContextKey
22
+ };
@@ -0,0 +1,182 @@
1
+ var e = {
2
+ name: "en",
3
+ el: {
4
+ breadcrumb: {
5
+ label: "Breadcrumb"
6
+ },
7
+ colorpicker: {
8
+ confirm: "OK",
9
+ clear: "Clear",
10
+ defaultLabel: "color picker",
11
+ description: "current color is {color}. press enter to select a new color.",
12
+ alphaLabel: "pick alpha value"
13
+ },
14
+ datepicker: {
15
+ now: "Now",
16
+ today: "Today",
17
+ cancel: "Cancel",
18
+ clear: "Clear",
19
+ confirm: "OK",
20
+ dateTablePrompt: "Use the arrow keys and enter to select the day of the month",
21
+ monthTablePrompt: "Use the arrow keys and enter to select the month",
22
+ yearTablePrompt: "Use the arrow keys and enter to select the year",
23
+ selectedDate: "Selected date",
24
+ selectDate: "Select date",
25
+ selectTime: "Select time",
26
+ startDate: "Start Date",
27
+ startTime: "Start Time",
28
+ endDate: "End Date",
29
+ endTime: "End Time",
30
+ prevYear: "Previous Year",
31
+ nextYear: "Next Year",
32
+ prevMonth: "Previous Month",
33
+ nextMonth: "Next Month",
34
+ year: "",
35
+ month1: "January",
36
+ month2: "February",
37
+ month3: "March",
38
+ month4: "April",
39
+ month5: "May",
40
+ month6: "June",
41
+ month7: "July",
42
+ month8: "August",
43
+ month9: "September",
44
+ month10: "October",
45
+ month11: "November",
46
+ month12: "December",
47
+ weeks: {
48
+ sun: "Sun",
49
+ mon: "Mon",
50
+ tue: "Tue",
51
+ wed: "Wed",
52
+ thu: "Thu",
53
+ fri: "Fri",
54
+ sat: "Sat"
55
+ },
56
+ weeksFull: {
57
+ sun: "Sunday",
58
+ mon: "Monday",
59
+ tue: "Tuesday",
60
+ wed: "Wednesday",
61
+ thu: "Thursday",
62
+ fri: "Friday",
63
+ sat: "Saturday"
64
+ },
65
+ months: {
66
+ jan: "Jan",
67
+ feb: "Feb",
68
+ mar: "Mar",
69
+ apr: "Apr",
70
+ may: "May",
71
+ jun: "Jun",
72
+ jul: "Jul",
73
+ aug: "Aug",
74
+ sep: "Sep",
75
+ oct: "Oct",
76
+ nov: "Nov",
77
+ dec: "Dec"
78
+ }
79
+ },
80
+ inputNumber: {
81
+ decrease: "decrease number",
82
+ increase: "increase number"
83
+ },
84
+ select: {
85
+ loading: "Loading",
86
+ noMatch: "No matching data",
87
+ noData: "No data",
88
+ placeholder: "Select"
89
+ },
90
+ mention: {
91
+ loading: "Loading"
92
+ },
93
+ dropdown: {
94
+ toggleDropdown: "Toggle Dropdown"
95
+ },
96
+ cascader: {
97
+ noMatch: "No matching data",
98
+ loading: "Loading",
99
+ placeholder: "Select",
100
+ noData: "No data"
101
+ },
102
+ pagination: {
103
+ goto: "Go to",
104
+ pagesize: "/page",
105
+ total: "Total {total}",
106
+ pageClassifier: "",
107
+ page: "Page",
108
+ prev: "Go to previous page",
109
+ next: "Go to next page",
110
+ currentPage: "page {pager}",
111
+ prevPages: "Previous {pager} pages",
112
+ nextPages: "Next {pager} pages",
113
+ deprecationWarning: "Deprecated usages detected, please refer to the el-pagination documentation for more details"
114
+ },
115
+ dialog: {
116
+ close: "Close this dialog"
117
+ },
118
+ drawer: {
119
+ close: "Close this dialog"
120
+ },
121
+ messagebox: {
122
+ title: "Message",
123
+ confirm: "OK",
124
+ cancel: "Cancel",
125
+ error: "Illegal input",
126
+ close: "Close this dialog"
127
+ },
128
+ upload: {
129
+ deleteTip: "press delete to remove",
130
+ delete: "Delete",
131
+ preview: "Preview",
132
+ continue: "Continue"
133
+ },
134
+ slider: {
135
+ defaultLabel: "slider between {min} and {max}",
136
+ defaultRangeStartLabel: "pick start value",
137
+ defaultRangeEndLabel: "pick end value"
138
+ },
139
+ table: {
140
+ emptyText: "No Data",
141
+ confirmFilter: "Confirm",
142
+ resetFilter: "Reset",
143
+ clearFilter: "All",
144
+ sumText: "Sum"
145
+ },
146
+ tour: {
147
+ next: "Next",
148
+ previous: "Previous",
149
+ finish: "Finish",
150
+ close: "Close this dialog"
151
+ },
152
+ tree: {
153
+ emptyText: "No Data"
154
+ },
155
+ transfer: {
156
+ noMatch: "No matching data",
157
+ noData: "No data",
158
+ titles: ["List 1", "List 2"],
159
+ filterPlaceholder: "Enter keyword",
160
+ noCheckedFormat: "{total} items",
161
+ hasCheckedFormat: "{checked}/{total} checked"
162
+ },
163
+ image: {
164
+ error: "FAILED"
165
+ },
166
+ pageHeader: {
167
+ title: "Back"
168
+ },
169
+ popconfirm: {
170
+ confirmButtonText: "Yes",
171
+ cancelButtonText: "No"
172
+ },
173
+ carousel: {
174
+ leftArrow: "Carousel arrow left",
175
+ rightArrow: "Carousel arrow right",
176
+ indicator: "Carousel switch to index {index}"
177
+ }
178
+ }
179
+ };
180
+ export {
181
+ e as default
182
+ };
@@ -0,0 +1,6 @@
1
+ import { isClient as i } from "../../../@vueuse/shared/index.js";
2
+ const t = () => i && /firefox/i.test(window.navigator.userAgent);
3
+ export {
4
+ i as isClient,
5
+ t as isFirefox
6
+ };
@@ -0,0 +1,29 @@
1
+ const s = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])', n = (t) => typeof Element > "u" ? !1 : t instanceof Element, a = (t) => getComputedStyle(t).position === "fixed" ? !1 : t.offsetParent !== null, u = (t) => Array.from(t.querySelectorAll(s)).filter((e) => i(e) && a(e)), i = (t) => {
2
+ if (t.tabIndex > 0 || t.tabIndex === 0 && t.getAttribute("tabIndex") !== null)
3
+ return !0;
4
+ if (t.tabIndex < 0 || t.hasAttribute("disabled") || t.getAttribute("aria-disabled") === "true")
5
+ return !1;
6
+ switch (t.nodeName) {
7
+ case "A":
8
+ return !!t.href && t.rel !== "ignore";
9
+ case "INPUT":
10
+ return !(t.type === "hidden" || t.type === "file");
11
+ case "BUTTON":
12
+ case "SELECT":
13
+ case "TEXTAREA":
14
+ return !0;
15
+ default:
16
+ return !1;
17
+ }
18
+ }, o = (t, e) => {
19
+ if (!t || !t.focus)
20
+ return;
21
+ let r = !1;
22
+ n(t) && !i(t) && !t.getAttribute("tabindex") && (t.setAttribute("tabindex", "-1"), r = !0), t.focus(e), n(t) && r && t.removeAttribute("tabindex");
23
+ };
24
+ export {
25
+ o as focusElement,
26
+ i as isFocusable,
27
+ a as isVisible,
28
+ u as obtainAllFocusableElements
29
+ };
@@ -0,0 +1,20 @@
1
+ import { isClient as n } from "../../../../@vueuse/shared/index.js";
2
+ let e;
3
+ const c = (i) => {
4
+ var l;
5
+ if (!n)
6
+ return 0;
7
+ if (e !== void 0)
8
+ return e;
9
+ const t = document.createElement("div");
10
+ t.className = `${i}-scrollbar__wrap`, t.style.visibility = "hidden", t.style.width = "100px", t.style.position = "absolute", t.style.top = "-9999px", document.body.appendChild(t);
11
+ const r = t.offsetWidth;
12
+ t.style.overflow = "scroll";
13
+ const o = document.createElement("div");
14
+ o.style.width = "100%", t.appendChild(o);
15
+ const d = o.offsetWidth;
16
+ return (l = t.parentNode) == null || l.removeChild(t), e = r - d, e;
17
+ };
18
+ export {
19
+ c as getScrollBarWidth
20
+ };
@@ -0,0 +1,45 @@
1
+ import { isNumber as a, isStringNumber as c } from "../types.js";
2
+ import { camelize as f, isString as u } from "../../../../@vue/shared/dist/shared.esm-bundler.js";
3
+ import { isClient as m } from "../../../../@vueuse/shared/index.js";
4
+ const e = (t = "") => t.split(" ").filter((r) => !!r.trim()), y = (t, r) => {
5
+ if (!t || !r)
6
+ return !1;
7
+ if (r.includes(" "))
8
+ throw new Error("className should not contain space.");
9
+ return t.classList.contains(r);
10
+ }, C = (t, r) => {
11
+ !t || !r.trim() || t.classList.add(...e(r));
12
+ }, g = (t, r) => {
13
+ !t || !r.trim() || t.classList.remove(...e(r));
14
+ }, h = (t, r) => {
15
+ var n;
16
+ if (!m || !t || !r)
17
+ return "";
18
+ let s = f(r);
19
+ s === "float" && (s = "cssFloat");
20
+ try {
21
+ const i = t.style[s];
22
+ if (i)
23
+ return i;
24
+ const o = (n = document.defaultView) == null ? void 0 : n.getComputedStyle(t, "");
25
+ return o ? o[s] : "";
26
+ } catch {
27
+ return t.style[s];
28
+ }
29
+ };
30
+ function S(t, r = "px") {
31
+ if (!t)
32
+ return "";
33
+ if (a(t) || c(t))
34
+ return `${t}${r}`;
35
+ if (u(t))
36
+ return t;
37
+ }
38
+ export {
39
+ C as addClass,
40
+ S as addUnit,
41
+ e as classNameToArray,
42
+ h as getStyle,
43
+ y as hasClass,
44
+ g as removeClass
45
+ };
@@ -0,0 +1,14 @@
1
+ class o extends Error {
2
+ constructor(r) {
3
+ super(r), this.name = "ElementPlusError";
4
+ }
5
+ }
6
+ function n(e, r) {
7
+ throw new o(`[${e}] ${r}`);
8
+ }
9
+ function s(e, r) {
10
+ }
11
+ export {
12
+ s as debugWarn,
13
+ n as throwError
14
+ };
@@ -0,0 +1,4 @@
1
+ const u = (t) => /([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(t);
2
+ export {
3
+ u as isKorean
4
+ };
@@ -0,0 +1,4 @@
1
+ const s = (e) => Object.keys(e);
2
+ export {
3
+ s as keysOf
4
+ };
@@ -0,0 +1,13 @@
1
+ import { isString as n } from "../../../@vue/shared/dist/shared.esm-bundler.js";
2
+ import { isFunction as c, isObject as b } from "../../../@vue/shared/dist/shared.esm-bundler.js";
3
+ const o = (e) => e === void 0, r = (e) => typeof e == "boolean", i = (e) => typeof e == "number", s = (e) => typeof Element > "u" ? !1 : e instanceof Element, f = (e) => n(e) ? !Number.isNaN(Number(e)) : !1;
4
+ export {
5
+ r as isBoolean,
6
+ s as isElement,
7
+ c as isFunction,
8
+ i as isNumber,
9
+ b as isObject,
10
+ n as isString,
11
+ f as isStringNumber,
12
+ o as isUndefined
13
+ };
@@ -0,0 +1,4 @@
1
+ const e = (t) => t;
2
+ export {
3
+ e as mutable
4
+ };
@@ -0,0 +1,29 @@
1
+ import { CircleCloseFilled as l, WarningFilled as i, InfoFilled as e, SuccessFilled as s, Close as o, CircleClose as c, CircleCheck as n, Loading as a } from "../../../../@element-plus/icons-vue/dist/index.js";
2
+ import { definePropType as r } from "./props/runtime.js";
3
+ const f = r([
4
+ String,
5
+ Object,
6
+ Function
7
+ ]), p = {
8
+ Close: o,
9
+ SuccessFilled: s,
10
+ InfoFilled: e,
11
+ WarningFilled: i,
12
+ CircleCloseFilled: l
13
+ }, _ = {
14
+ primary: e,
15
+ success: s,
16
+ warning: i,
17
+ error: l,
18
+ info: e
19
+ }, u = {
20
+ validating: a,
21
+ success: n,
22
+ error: c
23
+ };
24
+ export {
25
+ p as TypeComponents,
26
+ _ as TypeComponentsMap,
27
+ u as ValidateComponentsMap,
28
+ f as iconPropType
29
+ };
@@ -0,0 +1,17 @@
1
+ import { NOOP as s } from "../../../../@vue/shared/dist/shared.esm-bundler.js";
2
+ const e = (t, o) => {
3
+ if (t.install = (l) => {
4
+ for (const n of [t, ...Object.values(o ?? {})])
5
+ l.component(n.name, n);
6
+ }, o)
7
+ for (const [l, n] of Object.entries(o))
8
+ t[l] = n;
9
+ return t;
10
+ }, r = (t, o) => (t.install = (l) => {
11
+ t._context = l._context, l.config.globalProperties[o] = t;
12
+ }, t), i = (t) => (t.install = s, t);
13
+ export {
14
+ e as withInstall,
15
+ r as withInstallFunction,
16
+ i as withNoopInstall
17
+ };
@@ -0,0 +1,31 @@
1
+ import { warn as v } from "vue";
2
+ import { isObject as d, hasOwn as s } from "../../../../../@vue/shared/dist/shared.esm-bundler.js";
3
+ import w from "../../../../../lodash-es/fromPairs.js";
4
+ const u = "__epPropKey", h = (e) => e, y = (e) => d(e) && !!e[u], O = (e, r) => {
5
+ if (!d(e) || y(e))
6
+ return e;
7
+ const { values: o, required: p, default: n, type: c, validator: a } = e, f = {
8
+ type: c,
9
+ required: !!p,
10
+ validator: o || a ? (l) => {
11
+ let t = !1, i = [];
12
+ if (o && (i = Array.from(o), s(e, "default") && i.push(n), t || (t = i.includes(l))), a && (t || (t = a(l))), !t && i.length > 0) {
13
+ const m = [...new Set(i)].map((P) => JSON.stringify(P)).join(", ");
14
+ v(`Invalid prop: validation failed${r ? ` for prop "${r}"` : ""}. Expected one of [${m}], got value ${JSON.stringify(l)}.`);
15
+ }
16
+ return t;
17
+ } : void 0,
18
+ [u]: !0
19
+ };
20
+ return s(e, "default") && (f.default = n), f;
21
+ }, j = (e) => w(Object.entries(e).map(([r, o]) => [
22
+ r,
23
+ O(o, r)
24
+ ]));
25
+ export {
26
+ O as buildProp,
27
+ j as buildProps,
28
+ h as definePropType,
29
+ u as epPropKey,
30
+ y as isEpProp
31
+ };