st-comp 0.0.164 → 0.0.166

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 (145) hide show
  1. package/components.d.ts +3 -0
  2. package/es/ChartLayout.cjs +1 -1
  3. package/es/ChartLayout.js +3 -3
  4. package/es/Dialog.cjs +1 -1
  5. package/es/Dialog.js +16 -14
  6. package/es/FactorWarning.cjs +1 -1
  7. package/es/FactorWarning.js +492 -614
  8. package/es/Kline.cjs +1 -1
  9. package/es/Kline.js +16 -16
  10. package/es/KlineBasic.cjs +1 -1
  11. package/es/KlineBasic.js +477 -766
  12. package/es/KlineConfig.cjs +1 -0
  13. package/es/KlineConfig.js +703 -0
  14. package/es/KlineNew.cjs +1 -1
  15. package/es/KlineNew.js +14 -14
  16. package/es/KlinePlus.cjs +6 -0
  17. package/es/KlinePlus.js +1212 -0
  18. package/es/Pagination.cjs +1 -1
  19. package/es/Pagination.js +21 -20
  20. package/es/PasswordPrompt.cjs +1 -1
  21. package/es/PasswordPrompt.js +3 -3
  22. package/es/Table.cjs +1 -1
  23. package/es/Table.js +100 -279
  24. package/es/User.cjs +1 -1
  25. package/es/User.js +41 -39
  26. package/es/VarSelectDialog.cjs +1 -1
  27. package/es/VarSelectDialog.js +23 -22
  28. package/es/VarietySearch.cjs +1 -1
  29. package/es/VarietySearch.js +34 -32
  30. package/es/VirtualTable.cjs +5 -5
  31. package/es/VirtualTable.js +1018 -1056
  32. package/es/{_initCloneObject-47814efa.cjs → _initCloneObject-9ccbb113.cjs} +1 -1
  33. package/es/{_initCloneObject-c939f3af.js → _initCloneObject-a9305c1e.js} +3 -3
  34. package/es/base-4bcd2756.js +304 -0
  35. package/es/base-bdc10baa.cjs +5 -0
  36. package/es/{castArray-a78ae889.cjs → castArray-37eb9980.cjs} +1 -1
  37. package/es/{castArray-2440268f.js → castArray-681d750b.js} +1 -1
  38. package/es/{config-provider-722dca36.js → config-provider-93846ae3.js} +9 -9
  39. package/es/config-provider-ec6b09df.cjs +1 -0
  40. package/es/dayjs.min-19fb125f.cjs +1 -0
  41. package/es/dayjs.min-54a4e095.js +296 -0
  42. package/es/{debounce-82e23c4b.js → debounce-51046b06.js} +1 -1
  43. package/es/{debounce-cf26af24.cjs → debounce-9e323221.cjs} +1 -1
  44. package/es/{dropdown-6f8379f0.js → dropdown-65e74de8.js} +6 -6
  45. package/es/{dropdown-790d31ea.cjs → dropdown-b2dab5bb.cjs} +1 -1
  46. package/es/{el-autocomplete-75762ef9.js → el-autocomplete-5064d466.js} +9 -9
  47. package/es/{el-autocomplete-84de99ba.cjs → el-autocomplete-814993af.cjs} +1 -1
  48. package/es/el-button-960edd49.cjs +1 -0
  49. package/es/{el-button-2e878325.js → el-button-d39472d3.js} +37 -36
  50. package/es/{el-checkbox-group-45247bbf.cjs → el-checkbox-group-020b49f5.cjs} +1 -1
  51. package/es/{el-checkbox-group-5e4f32f0.js → el-checkbox-group-779f353a.js} +2 -2
  52. package/es/el-dialog-cd484c1f.cjs +1 -0
  53. package/es/el-dialog-f45ec2a1.js +267 -0
  54. package/es/el-divider-40c50ce7.cjs +1 -0
  55. package/es/el-divider-7cf13678.js +45 -0
  56. package/es/{el-empty-2ece1134.cjs → el-empty-627ec09e.cjs} +1 -1
  57. package/es/{el-empty-7f8acbdc.js → el-empty-64b2ea8a.js} +2 -2
  58. package/es/{el-form-item-45ba08ff.js → el-form-item-b31e7a98.js} +8 -8
  59. package/es/{el-form-item-47e255d4.cjs → el-form-item-e1c3104b.cjs} +2 -2
  60. package/es/{el-input-1323afd2.js → el-input-42315ac4.js} +48 -48
  61. package/es/{el-input-cb340042.cjs → el-input-5163bda3.cjs} +1 -1
  62. package/es/{el-input-number-0f194f3f.cjs → el-input-number-eb54cde4.cjs} +1 -1
  63. package/es/{el-input-number-991f8bfc.js → el-input-number-ebd64e22.js} +19 -19
  64. package/es/el-loading-15a5501c.cjs +1 -0
  65. package/es/el-loading-5d29f26d.js +187 -0
  66. package/es/{el-menu-item-4c9eb7ad.cjs → el-menu-item-ac89e804.cjs} +1 -1
  67. package/es/{el-menu-item-dbbcd01a.js → el-menu-item-d62e0a3f.js} +32 -32
  68. package/es/el-message-ad87b9dd.cjs +1 -0
  69. package/es/{el-message-03e6f342.js → el-message-bd1d2c82.js} +17 -17
  70. package/es/el-overlay-690b50aa.js +269 -0
  71. package/es/el-overlay-e5d318c3.cjs +1 -0
  72. package/es/{el-popconfirm-8372cd13.js → el-popconfirm-88bbd066.js} +13 -13
  73. package/es/{el-popconfirm-86503f8a.cjs → el-popconfirm-a497b279.cjs} +1 -1
  74. package/es/{el-popper-7adbf1c6.cjs → el-popper-14a9d493.cjs} +1 -1
  75. package/es/{el-popper-b5315f5b.js → el-popper-85365d5b.js} +63 -63
  76. package/es/{el-scrollbar-ac525239.cjs → el-scrollbar-8bf765f2.cjs} +1 -1
  77. package/es/{el-scrollbar-4dc1493a.js → el-scrollbar-bcf29780.js} +21 -21
  78. package/es/el-segmented-84707138.js +136 -0
  79. package/es/el-segmented-bccd9f2a.cjs +1 -0
  80. package/es/{el-select-31f8ac8a.cjs → el-select-1d2309a1.cjs} +1 -1
  81. package/es/{el-select-a4ad7c8b.js → el-select-d3bce4d1.js} +13 -13
  82. package/es/{el-table-column-2e7132b3.js → el-table-column-9691b26d.js} +19 -18
  83. package/es/el-table-column-be9a76bb.cjs +14 -0
  84. package/es/{el-tag-a79385c6.js → el-tag-6036f51c.js} +39 -39
  85. package/es/{el-tag-9732314f.cjs → el-tag-8d49d4d2.cjs} +1 -1
  86. package/es/{index-375e8de4.cjs → index-02ca0096.cjs} +1 -1
  87. package/es/{index-afc88a4b.cjs → index-19fa1fcf.cjs} +1 -1
  88. package/es/{index-733cd68a.js → index-21fb27eb.js} +17 -17
  89. package/es/{index-e5fe37a4.js → index-3425f2f0.js} +10 -10
  90. package/es/{index-1d85ba4b.cjs → index-5b81f4da.cjs} +1 -1
  91. package/es/index-8d3c5e96.cjs +3 -0
  92. package/es/{index-97d24ab7.js → index-8ee89b40.js} +16 -16
  93. package/es/{index-9e6e8d03.cjs → index-a99a5307.cjs} +1 -1
  94. package/es/{index-58521b9e.cjs → index-b90c746b.cjs} +1 -1
  95. package/es/index-c45ac024.js +14 -0
  96. package/es/{index-f5b9b211.js → index-cb8157f2.js} +2 -2
  97. package/es/{index-e6a36e09.js → index-d3c37134.js} +7 -7
  98. package/es/{index-65b4113e.cjs → index-d94bae37.cjs} +1 -1
  99. package/es/{index-2d9c78d4.cjs → index-e348d5e8.cjs} +1 -1
  100. package/es/{index-57a7323a.js → index-ef7c4392.js} +11 -11
  101. package/es/{index-e3353eeb.js → index-fbe85773.js} +13 -13
  102. package/es/{raf-f46caea0.cjs → raf-07cb6953.cjs} +1 -1
  103. package/es/{raf-c817c3f7.js → raf-36faa519.js} +1 -1
  104. package/es/{scroll-4fe7a76f.js → scroll-0277d145.js} +1 -1
  105. package/es/{scroll-339681d4.cjs → scroll-4769a65d.cjs} +1 -1
  106. package/es/style.css +1 -1
  107. package/es/{use-form-common-props-04fb0752.js → use-form-common-props-54c31983.js} +40 -40
  108. package/es/{use-form-common-props-74a96df2.cjs → use-form-common-props-592797e2.cjs} +1 -1
  109. package/es/use-global-config-584b62f1.cjs +1 -0
  110. package/es/use-global-config-946f61a4.js +73 -0
  111. package/es/{vnode-b15eb11b.cjs → vnode-1b827c99.cjs} +1 -1
  112. package/es/{vnode-0fd3003d.js → vnode-dfc92f20.js} +1 -1
  113. package/es/{zh-cn-cac8283b.js → zh-cn-5066f5e9.js} +2 -2
  114. package/es/{zh-cn-36f34912.cjs → zh-cn-b24a7dc9.cjs} +1 -1
  115. package/lib/bundle.js +1 -1
  116. package/lib/bundle.umd.cjs +217 -212
  117. package/lib/{index-5f63dc2e.js → index-80531492.js} +39042 -37182
  118. package/lib/{python-5918f7d5.js → python-20a1a5fc.js} +1 -1
  119. package/lib/style.css +1 -1
  120. package/package.json +1 -1
  121. package/packages/KlineConfig/config.js +39 -0
  122. package/packages/KlineConfig/index.ts +8 -0
  123. package/packages/KlineConfig/index.vue +315 -0
  124. package/packages/KlinePlus/components/SliderChart.vue +218 -0
  125. package/packages/KlinePlus/components/Tips.vue +36 -0
  126. package/packages/KlinePlus/images/buy.svg +1 -0
  127. package/packages/KlinePlus/images/sell.svg +1 -0
  128. package/packages/KlinePlus/images/t.svg +1 -0
  129. package/packages/KlinePlus/index.ts +8 -0
  130. package/packages/KlinePlus/index.vue +880 -0
  131. package/packages/KlinePlus/utils.js +705 -0
  132. package/packages/index.ts +4 -0
  133. package/src/pages/KlineConfig/index.vue +20 -0
  134. package/src/pages/KlinePlus/index.vue +180 -0
  135. package/src/router/routes.ts +10 -0
  136. package/es/base-0ca7c43a.cjs +0 -5
  137. package/es/base-b56cf478.js +0 -303
  138. package/es/config-provider-cfbb9cd8.cjs +0 -1
  139. package/es/el-button-62966947.cjs +0 -1
  140. package/es/el-message-d5ed7a4f.cjs +0 -1
  141. package/es/el-overlay-41994f67.cjs +0 -1
  142. package/es/el-overlay-47b665a0.js +0 -521
  143. package/es/el-table-column-bdc46568.cjs +0 -14
  144. package/es/index-0baeaec7.js +0 -82
  145. package/es/index-2f958e56.cjs +0 -3
@@ -1 +1 @@
1
- "use strict";const c=require("./use-form-common-props-74a96df2.cjs"),o=require("./el-popper-7adbf1c6.cjs"),s=require("./index-375e8de4.cjs");var a=Object.create,P=function(){function e(){}return function(n){if(!s.isObject(n))return{};if(a)return a(n);e.prototype=n;var r=new e;return e.prototype=void 0,r}}();const w=P;function A(e,n){var r=-1,t=e.length;for(n||(n=Array(t));++r<t;)n[r]=e[r];return n}function b(e,n,r,t){var O=!r;r||(r={});for(var f=-1,h=n.length;++f<h;){var i=n[f],u=t?t(r[i],e[i],i,r,e):void 0;u===void 0&&(u=e[i]),O?c.baseAssignValue(r,i,u):c.assignValue(r,i,u)}return r}function x(e){var n=[];if(e!=null)for(var r in Object(e))n.push(r);return n}var C=Object.prototype,B=C.hasOwnProperty;function I(e){if(!s.isObject(e))return x(e);var n=o.isPrototype(e),r=[];for(var t in e)t=="constructor"&&(n||!B.call(e,t))||r.push(t);return r}function T(e){return o.isArrayLike(e)?o.arrayLikeKeys(e,!0):I(e)}var U=o.overArg(Object.getPrototypeOf,Object);const y=U;var d=typeof exports=="object"&&exports&&!exports.nodeType&&exports,l=d&&typeof module=="object"&&module&&!module.nodeType&&module,m=l&&l.exports===d,p=m?s.root.Buffer:void 0,v=p?p.allocUnsafe:void 0;function q(e,n){if(n)return e.slice();var r=e.length,t=v?v(r):new e.constructor(r);return e.copy(t),t}function g(e){var n=new e.constructor(e.byteLength);return new o.Uint8Array(n).set(new o.Uint8Array(e)),n}function K(e,n){var r=n?g(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function L(e){return typeof e.constructor=="function"&&!o.isPrototype(e)?w(y(e)):{}}exports.cloneArrayBuffer=g;exports.cloneBuffer=q;exports.cloneTypedArray=K;exports.copyArray=A;exports.copyObject=b;exports.getPrototype=y;exports.initCloneObject=L;exports.keysIn=T;
1
+ "use strict";const c=require("./use-form-common-props-592797e2.cjs"),o=require("./el-popper-14a9d493.cjs"),s=require("./index-02ca0096.cjs");var a=Object.create,P=function(){function e(){}return function(n){if(!s.isObject(n))return{};if(a)return a(n);e.prototype=n;var r=new e;return e.prototype=void 0,r}}();const w=P;function A(e,n){var r=-1,t=e.length;for(n||(n=Array(t));++r<t;)n[r]=e[r];return n}function b(e,n,r,t){var O=!r;r||(r={});for(var f=-1,h=n.length;++f<h;){var i=n[f],u=t?t(r[i],e[i],i,r,e):void 0;u===void 0&&(u=e[i]),O?c.baseAssignValue(r,i,u):c.assignValue(r,i,u)}return r}function x(e){var n=[];if(e!=null)for(var r in Object(e))n.push(r);return n}var C=Object.prototype,B=C.hasOwnProperty;function I(e){if(!s.isObject(e))return x(e);var n=o.isPrototype(e),r=[];for(var t in e)t=="constructor"&&(n||!B.call(e,t))||r.push(t);return r}function T(e){return o.isArrayLike(e)?o.arrayLikeKeys(e,!0):I(e)}var U=o.overArg(Object.getPrototypeOf,Object);const y=U;var d=typeof exports=="object"&&exports&&!exports.nodeType&&exports,l=d&&typeof module=="object"&&module&&!module.nodeType&&module,m=l&&l.exports===d,p=m?s.root.Buffer:void 0,v=p?p.allocUnsafe:void 0;function q(e,n){if(n)return e.slice();var r=e.length,t=v?v(r):new e.constructor(r);return e.copy(t),t}function g(e){var n=new e.constructor(e.byteLength);return new o.Uint8Array(n).set(new o.Uint8Array(e)),n}function K(e,n){var r=n?g(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function L(e){return typeof e.constructor=="function"&&!o.isPrototype(e)?w(y(e)):{}}exports.cloneArrayBuffer=g;exports.cloneBuffer=q;exports.cloneTypedArray=K;exports.copyArray=A;exports.copyObject=b;exports.getPrototype=y;exports.initCloneObject=L;exports.keysIn=T;
@@ -1,6 +1,6 @@
1
- import { j as y, k as O } from "./use-form-common-props-04fb0752.js";
2
- import { y as p, e as m, z as x, A as w, U as i } from "./el-popper-b5315f5b.js";
3
- import { i as v, r as P } from "./index-57a7323a.js";
1
+ import { j as y, k as O } from "./use-form-common-props-54c31983.js";
2
+ import { y as p, e as m, z as x, A as w, U as i } from "./el-popper-85365d5b.js";
3
+ import { i as v, r as P } from "./index-ef7c4392.js";
4
4
  var u = Object.create, A = function() {
5
5
  function e() {
6
6
  }
@@ -0,0 +1,304 @@
1
+ import { getCurrentInstance as T, inject as z, ref as v, computed as K, unref as D, watch as x, shallowRef as L, watchEffect as U, readonly as A, customRef as W, getCurrentScope as q, onScopeDispose as J, onMounted as M, nextTick as G, warn as H } from "vue";
2
+ const h = "el", Q = "is-", y = (t, e, n, s, o) => {
3
+ let a = `${t}-${e}`;
4
+ return n && (a += `-${n}`), s && (a += `__${s}`), o && (a += `--${o}`), a;
5
+ }, Z = Symbol("namespaceContextKey"), X = (t) => {
6
+ const e = t || (T() ? z(Z, v(h)) : v(h));
7
+ return K(() => D(e) || h);
8
+ }, Et = (t, e) => {
9
+ const n = X(e);
10
+ return {
11
+ namespace: n,
12
+ b: (r = "") => y(n.value, t, r, "", ""),
13
+ e: (r) => r ? y(n.value, t, "", r, "") : "",
14
+ m: (r) => r ? y(n.value, t, "", "", r) : "",
15
+ be: (r, c) => r && c ? y(n.value, t, r, c, "") : "",
16
+ em: (r, c) => r && c ? y(n.value, t, "", r, c) : "",
17
+ bm: (r, c) => r && c ? y(n.value, t, r, "", c) : "",
18
+ bem: (r, c, p) => r && c && p ? y(n.value, t, r, c, p) : "",
19
+ is: (r, ...c) => {
20
+ const p = c.length >= 1 ? c[0] : !0;
21
+ return r && p ? `${Q}${r}` : "";
22
+ },
23
+ cssVar: (r) => {
24
+ const c = {};
25
+ for (const p in r)
26
+ r[p] && (c[`--${n.value}-${p}`] = r[p]);
27
+ return c;
28
+ },
29
+ cssVarName: (r) => `--${n.value}-${r}`,
30
+ cssVarBlock: (r) => {
31
+ const c = {};
32
+ for (const p in r)
33
+ r[p] && (c[`--${n.value}-${t}-${p}`] = r[p]);
34
+ return c;
35
+ },
36
+ cssVarBlockName: (r) => `--${n.value}-${t}-${r}`
37
+ };
38
+ };
39
+ /**
40
+ * @vue/shared v3.4.19
41
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
42
+ * @license MIT
43
+ **/
44
+ process.env.NODE_ENV !== "production" && Object.freeze({});
45
+ process.env.NODE_ENV !== "production" && Object.freeze([]);
46
+ const Y = () => {
47
+ }, k = Object.prototype.hasOwnProperty, N = (t, e) => k.call(t, e), jt = Array.isArray, w = (t) => typeof t == "function", _ = (t) => typeof t == "string", P = (t) => t !== null && typeof t == "object", St = (t) => (P(t) || w(t)) && w(t.then) && w(t.catch), tt = Object.prototype.toString, et = (t) => tt.call(t), Vt = (t) => et(t) === "[object Object]", F = (t) => {
48
+ const e = /* @__PURE__ */ Object.create(null);
49
+ return (n) => e[n] || (e[n] = t(n));
50
+ }, nt = /-(\w)/g, st = F((t) => t.replace(nt, (e, n) => n ? n.toUpperCase() : "")), rt = /\B([A-Z])/g, Ct = F(
51
+ (t) => t.replace(rt, "-$1").toLowerCase()
52
+ );
53
+ function ot(t) {
54
+ for (var e = -1, n = t == null ? 0 : t.length, s = {}; ++e < n; ) {
55
+ var o = t[e];
56
+ s[o[0]] = o[1];
57
+ }
58
+ return s;
59
+ }
60
+ function at(t) {
61
+ return t == null;
62
+ }
63
+ const Tt = (t) => t === void 0, Dt = (t) => typeof t == "boolean", ct = (t) => typeof t == "number", xt = (t) => typeof Element > "u" ? !1 : t instanceof Element, At = (t) => at(t), it = (t) => _(t) ? !Number.isNaN(Number(t)) : !1;
64
+ var ut = Object.defineProperty, lt = Object.defineProperties, ft = Object.getOwnPropertyDescriptors, E = Object.getOwnPropertySymbols, pt = Object.prototype.hasOwnProperty, dt = Object.prototype.propertyIsEnumerable, j = (t, e, n) => e in t ? ut(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, mt = (t, e) => {
65
+ for (var n in e || (e = {}))
66
+ pt.call(e, n) && j(t, n, e[n]);
67
+ if (E)
68
+ for (var n of E(e))
69
+ dt.call(e, n) && j(t, n, e[n]);
70
+ return t;
71
+ }, yt = (t, e) => lt(t, ft(e));
72
+ function Ft(t, e) {
73
+ var n;
74
+ const s = L();
75
+ return U(() => {
76
+ s.value = t();
77
+ }, yt(mt({}, e), {
78
+ flush: (n = e == null ? void 0 : e.flush) != null ? n : "sync"
79
+ })), A(s);
80
+ }
81
+ var S;
82
+ const $ = typeof window < "u", V = (t) => typeof t == "function", It = (t) => typeof t == "string", C = () => {
83
+ }, Bt = $ && ((S = window == null ? void 0 : window.navigator) == null ? void 0 : S.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
84
+ function O(t) {
85
+ return typeof t == "function" ? t() : D(t);
86
+ }
87
+ function vt(t, e) {
88
+ function n(...s) {
89
+ return new Promise((o, a) => {
90
+ Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(o).catch(a);
91
+ });
92
+ }
93
+ return n;
94
+ }
95
+ function gt(t, e = {}) {
96
+ let n, s, o = C;
97
+ const a = (l) => {
98
+ clearTimeout(l), o(), o = C;
99
+ };
100
+ return (l) => {
101
+ const f = O(t), i = O(e.maxWait);
102
+ return n && a(n), f <= 0 || i !== void 0 && i <= 0 ? (s && (a(s), s = null), Promise.resolve(l())) : new Promise((u, m) => {
103
+ o = e.rejectOnCancel ? m : u, i && !s && (s = setTimeout(() => {
104
+ n && a(n), s = null, u(l());
105
+ }, i)), n = setTimeout(() => {
106
+ s && a(s), s = null, u(l());
107
+ }, f);
108
+ });
109
+ };
110
+ }
111
+ function Rt(t) {
112
+ return t;
113
+ }
114
+ function zt(t, e) {
115
+ let n, s, o;
116
+ const a = v(!0), d = () => {
117
+ a.value = !0, o();
118
+ };
119
+ x(t, d, { flush: "sync" });
120
+ const l = V(e) ? e : e.get, f = V(e) ? void 0 : e.set, i = W((u, m) => (s = u, o = m, {
121
+ get() {
122
+ return a.value && (n = l(), a.value = !1), s(), n;
123
+ },
124
+ set(g) {
125
+ f == null || f(g);
126
+ }
127
+ }));
128
+ return Object.isExtensible(i) && (i.trigger = d), i;
129
+ }
130
+ function ht(t) {
131
+ return q() ? (J(t), !0) : !1;
132
+ }
133
+ function wt(t, e = 200, n = {}) {
134
+ return vt(gt(e, n), t);
135
+ }
136
+ function Kt(t, e = 200, n = {}) {
137
+ const s = v(t.value), o = wt(() => {
138
+ s.value = t.value;
139
+ }, e, n);
140
+ return x(t, () => o()), s;
141
+ }
142
+ function Lt(t, e = !0) {
143
+ T() ? M(t) : e ? t() : G(t);
144
+ }
145
+ function Ut(t, e, n = {}) {
146
+ const {
147
+ immediate: s = !0
148
+ } = n, o = v(!1);
149
+ let a = null;
150
+ function d() {
151
+ a && (clearTimeout(a), a = null);
152
+ }
153
+ function l() {
154
+ o.value = !1, d();
155
+ }
156
+ function f(...i) {
157
+ d(), o.value = !0, a = setTimeout(() => {
158
+ o.value = !1, a = null, t(...i);
159
+ }, O(e));
160
+ }
161
+ return s && (o.value = !0, $ && f()), ht(l), {
162
+ isPending: A(o),
163
+ start: f,
164
+ stop: l
165
+ };
166
+ }
167
+ class I extends Error {
168
+ constructor(e) {
169
+ super(e), this.name = "ElementPlusError";
170
+ }
171
+ }
172
+ function Wt(t, e) {
173
+ throw new I(`[${t}] ${e}`);
174
+ }
175
+ function Ot(t, e) {
176
+ if (process.env.NODE_ENV !== "production") {
177
+ const n = _(t) ? new I(`[${t}] ${e}`) : t;
178
+ console.warn(n);
179
+ }
180
+ }
181
+ const B = "__epPropKey", qt = (t) => t, _t = (t) => P(t) && !!t[B], Pt = (t, e) => {
182
+ if (!P(t) || _t(t))
183
+ return t;
184
+ const { values: n, required: s, default: o, type: a, validator: d } = t, f = {
185
+ type: a,
186
+ required: !!s,
187
+ validator: n || d ? (i) => {
188
+ let u = !1, m = [];
189
+ if (n && (m = Array.from(n), N(t, "default") && m.push(o), u || (u = m.includes(i))), d && (u || (u = d(i))), !u && m.length > 0) {
190
+ const g = [...new Set(m)].map((b) => JSON.stringify(b)).join(", ");
191
+ H(`Invalid prop: validation failed${e ? ` for prop "${e}"` : ""}. Expected one of [${g}], got value ${JSON.stringify(i)}.`);
192
+ }
193
+ return u;
194
+ } : void 0,
195
+ [B]: !0
196
+ };
197
+ return N(t, "default") && (f.default = o), f;
198
+ }, Jt = (t) => ot(Object.entries(t).map(([e, n]) => [
199
+ e,
200
+ Pt(n, e)
201
+ ]));
202
+ var Mt = (t, e) => {
203
+ const n = t.__vccOpts || t;
204
+ for (const [s, o] of e)
205
+ n[s] = o;
206
+ return n;
207
+ };
208
+ const $t = "utils/dom/style", R = (t = "") => t.split(" ").filter((e) => !!e.trim()), Gt = (t, e) => {
209
+ if (!t || !e)
210
+ return !1;
211
+ if (e.includes(" "))
212
+ throw new Error("className should not contain space.");
213
+ return t.classList.contains(e);
214
+ }, Ht = (t, e) => {
215
+ !t || !e.trim() || t.classList.add(...R(e));
216
+ }, Qt = (t, e) => {
217
+ !t || !e.trim() || t.classList.remove(...R(e));
218
+ }, Zt = (t, e) => {
219
+ var n;
220
+ if (!$ || !t || !e)
221
+ return "";
222
+ let s = st(e);
223
+ s === "float" && (s = "cssFloat");
224
+ try {
225
+ const o = t.style[s];
226
+ if (o)
227
+ return o;
228
+ const a = (n = document.defaultView) == null ? void 0 : n.getComputedStyle(t, "");
229
+ return a ? a[s] : "";
230
+ } catch {
231
+ return t.style[s];
232
+ }
233
+ };
234
+ function Xt(t, e = "px") {
235
+ if (!t)
236
+ return "";
237
+ if (ct(t) || it(t))
238
+ return `${t}${e}`;
239
+ if (_(t))
240
+ return t;
241
+ Ot($t, "binding value must be a string or number");
242
+ }
243
+ const Yt = (t, e) => {
244
+ if (t.install = (n) => {
245
+ for (const s of [t, ...Object.values(e ?? {})])
246
+ n.component(s.name, s);
247
+ }, e)
248
+ for (const [n, s] of Object.entries(e))
249
+ t[n] = s;
250
+ return t;
251
+ }, kt = (t, e) => (t.install = (n) => {
252
+ t._context = n._context, n.config.globalProperties[e] = t;
253
+ }, t), te = (t, e) => (t.install = (n) => {
254
+ n.directive(e, t);
255
+ }, t), ee = (t) => (t.install = Y, t);
256
+ export {
257
+ At as A,
258
+ te as B,
259
+ Kt as C,
260
+ h as D,
261
+ Bt as E,
262
+ Vt as F,
263
+ kt as G,
264
+ ot as H,
265
+ ht as I,
266
+ Pt as J,
267
+ X as K,
268
+ Z as L,
269
+ It as M,
270
+ Y as N,
271
+ C as O,
272
+ O as P,
273
+ zt as Q,
274
+ Lt as R,
275
+ Rt as S,
276
+ Ft as T,
277
+ Mt as _,
278
+ _ as a,
279
+ $ as b,
280
+ P as c,
281
+ Tt as d,
282
+ xt as e,
283
+ Ot as f,
284
+ Ht as g,
285
+ N as h,
286
+ w as i,
287
+ Gt as j,
288
+ Jt as k,
289
+ Ut as l,
290
+ qt as m,
291
+ at as n,
292
+ jt as o,
293
+ ee as p,
294
+ Xt as q,
295
+ Qt as r,
296
+ Dt as s,
297
+ Wt as t,
298
+ Et as u,
299
+ ct as v,
300
+ Yt as w,
301
+ St as x,
302
+ Zt as y,
303
+ Ct as z
304
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";const c=require("vue"),g="el",q="is-",v=(e,t,n,r,o)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),r&&(i+=`__${r}`),o&&(i+=`--${o}`),i},T=Symbol("namespaceContextKey"),V=e=>{const t=e||(c.getCurrentInstance()?c.inject(T,c.ref(g)):c.ref(g));return c.computed(()=>c.unref(t)||g)},M=(e,t)=>{const n=V(t);return{namespace:n,b:(s="")=>v(n.value,e,s,"",""),e:s=>s?v(n.value,e,"",s,""):"",m:s=>s?v(n.value,e,"","",s):"",be:(s,a)=>s&&a?v(n.value,e,s,a,""):"",em:(s,a)=>s&&a?v(n.value,e,"",s,a):"",bm:(s,a)=>s&&a?v(n.value,e,s,"",a):"",bem:(s,a,d)=>s&&a&&d?v(n.value,e,s,a,d):"",is:(s,...a)=>{const d=a.length>=1?a[0]:!0;return s&&d?`${q}${s}`:""},cssVar:s=>{const a={};for(const d in s)s[d]&&(a[`--${n.value}-${d}`]=s[d]);return a},cssVarName:s=>`--${n.value}-${s}`,cssVarBlock:s=>{const a={};for(const d in s)s[d]&&(a[`--${n.value}-${e}-${d}`]=s[d]);return a},cssVarBlockName:s=>`--${n.value}-${e}-${s}`}};/**
2
+ * @vue/shared v3.4.19
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/process.env.NODE_ENV!=="production"&&Object.freeze({});process.env.NODE_ENV!=="production"&&Object.freeze([]);const I=()=>{},G=Object.prototype.hasOwnProperty,$=(e,t)=>G.call(e,t),J=Array.isArray,w=e=>typeof e=="function",P=e=>typeof e=="string",b=e=>e!==null&&typeof e=="object",Z=e=>(b(e)||w(e))&&w(e.then)&&w(e.catch),H=Object.prototype.toString,Q=e=>H.call(e),X=e=>Q(e)==="[object Object]",A=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Y=/-(\w)/g,k=A(e=>e.replace(Y,(t,n)=>n?n.toUpperCase():"")),ee=/\B([A-Z])/g,te=A(e=>e.replace(ee,"-$1").toLowerCase());function F(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}function x(e){return e==null}const ne=e=>e===void 0,re=e=>typeof e=="boolean",B=e=>typeof e=="number",se=e=>typeof Element>"u"?!1:e instanceof Element,oe=e=>x(e),ie=e=>P(e)?!Number.isNaN(Number(e)):!1;var ce=Object.defineProperty,ae=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,j=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,C=(e,t,n)=>t in e?ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pe=(e,t)=>{for(var n in t||(t={}))le.call(t,n)&&C(e,n,t[n]);if(j)for(var n of j(t))fe.call(t,n)&&C(e,n,t[n]);return e},de=(e,t)=>ae(e,ue(t));function me(e,t){var n;const r=c.shallowRef();return c.watchEffect(()=>{r.value=e()},de(pe({},t),{flush:(n=t==null?void 0:t.flush)!=null?n:"sync"})),c.readonly(r)}var S;const _=typeof window<"u",D=e=>typeof e=="function",ye=e=>typeof e=="string",N=()=>{},ve=_&&((S=window==null?void 0:window.navigator)==null?void 0:S.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function O(e){return typeof e=="function"?e():c.unref(e)}function he(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function ge(e,t={}){let n,r,o=N;const i=f=>{clearTimeout(f),o(),o=N};return f=>{const p=O(e),u=O(t.maxWait);return n&&i(n),p<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(f())):new Promise((l,y)=>{o=t.rejectOnCancel?y:l,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,l(f())},u)),n=setTimeout(()=>{r&&i(r),r=null,l(f())},p)})}}function we(e){return e}function Oe(e,t){let n,r,o;const i=c.ref(!0),m=()=>{i.value=!0,o()};c.watch(e,m,{flush:"sync"});const f=D(t)?t:t.get,p=D(t)?void 0:t.set,u=c.customRef((l,y)=>(r=l,o=y,{get(){return i.value&&(n=f(),i.value=!1),r(),n},set(h){p==null||p(h)}}));return Object.isExtensible(u)&&(u.trigger=m),u}function U(e){return c.getCurrentScope()?(c.onScopeDispose(e),!0):!1}function Pe(e,t=200,n={}){return he(ge(t,n),e)}function be(e,t=200,n={}){const r=c.ref(e.value),o=Pe(()=>{r.value=e.value},t,n);return c.watch(e,()=>o()),r}function _e(e,t=!0){c.getCurrentInstance()?c.onMounted(e):t?e():c.nextTick(e)}function $e(e,t,n={}){const{immediate:r=!0}=n,o=c.ref(!1);let i=null;function m(){i&&(clearTimeout(i),i=null)}function f(){o.value=!1,m()}function p(...u){m(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...u)},O(t))}return r&&(o.value=!0,_&&p()),U(f),{isPending:c.readonly(o),start:p,stop:f}}class W extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Ne(e,t){throw new W(`[${e}] ${t}`)}function K(e,t){if(process.env.NODE_ENV!=="production"){const n=P(e)?new W(`[${e}] ${t}`):e;console.warn(n)}}const R="__epPropKey",Ee=e=>e,je=e=>b(e)&&!!e[R],z=(e,t)=>{if(!b(e)||je(e))return e;const{values:n,required:r,default:o,type:i,validator:m}=e,p={type:i,required:!!r,validator:n||m?u=>{let l=!1,y=[];if(n&&(y=Array.from(n),$(e,"default")&&y.push(o),l||(l=y.includes(u))),m&&(l||(l=m(u))),!l&&y.length>0){const h=[...new Set(y)].map(E=>JSON.stringify(E)).join(", ");c.warn(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${h}], got value ${JSON.stringify(u)}.`)}return l}:void 0,[R]:!0};return $(e,"default")&&(p.default=o),p},Ce=e=>F(Object.entries(e).map(([t,n])=>[t,z(n,t)]));var Se=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const De="utils/dom/style",L=(e="")=>e.split(" ").filter(t=>!!t.trim()),Te=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Ve=(e,t)=>{!e||!t.trim()||e.classList.add(...L(t))},Ie=(e,t)=>{!e||!t.trim()||e.classList.remove(...L(t))},Ae=(e,t)=>{var n;if(!_||!e||!t)return"";let r=k(t);r==="float"&&(r="cssFloat");try{const o=e.style[r];if(o)return o;const i=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return i?i[r]:""}catch{return e.style[r]}};function Fe(e,t="px"){if(!e)return"";if(B(e)||ie(e))return`${e}${t}`;if(P(e))return e;K(De,"binding value must be a string or number")}const xe=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},Be=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),Ue=(e,t)=>(e.install=n=>{n.directive(t,e)},e),We=e=>(e.install=I,e);exports.NOOP=I;exports._export_sfc=Se;exports.addClass=Ve;exports.addUnit=Fe;exports.buildProp=z;exports.buildProps=Ce;exports.computedEager=me;exports.computedWithControl=Oe;exports.debugWarn=K;exports.defaultNamespace=g;exports.definePropType=Ee;exports.fromPairs=F;exports.getStyle=Ae;exports.hasClass=Te;exports.hasOwn=$;exports.hyphenate=te;exports.identity=we;exports.isArray=J;exports.isBoolean=re;exports.isClient=_;exports.isElement=se;exports.isFunction=w;exports.isIOS=ve;exports.isNil=x;exports.isNumber=B;exports.isObject=b;exports.isPlainObject=X;exports.isPromise=Z;exports.isPropAbsent=oe;exports.isString=P;exports.isString$1=ye;exports.isUndefined=ne;exports.namespaceContextKey=T;exports.noop=N;exports.refDebounced=be;exports.removeClass=Ie;exports.resolveUnref=O;exports.throwError=Ne;exports.tryOnMounted=_e;exports.tryOnScopeDispose=U;exports.useGetDerivedNamespace=V;exports.useNamespace=M;exports.useTimeoutFn=$e;exports.withInstall=xe;exports.withInstallDirective=Ue;exports.withInstallFunction=Be;exports.withNoopInstall=We;
@@ -1 +1 @@
1
- "use strict";const t=require("./index-375e8de4.cjs");function e(){if(!arguments.length)return[];var r=arguments[0];return t.isArray(r)?r:[r]}exports.castArray=e;
1
+ "use strict";const t=require("./index-02ca0096.cjs");function e(){if(!arguments.length)return[];var r=arguments[0];return t.isArray(r)?r:[r]}exports.castArray=e;
@@ -1,4 +1,4 @@
1
- import { d as a } from "./index-57a7323a.js";
1
+ import { d as a } from "./index-ef7c4392.js";
2
2
  function e() {
3
3
  if (!arguments.length)
4
4
  return [];
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as n, watch as s, renderSlot as i } from "vue";
2
- import { p } from "./index-0baeaec7.js";
3
- import { u, p as l } from "./use-form-common-props-04fb0752.js";
4
- import { b as m, d as e } from "./base-b56cf478.js";
5
- const d = m({
2
+ import { p } from "./use-global-config-946f61a4.js";
3
+ import { f as m, p as l } from "./use-form-common-props-54c31983.js";
4
+ import { k as u, m as e } from "./base-4bcd2756.js";
5
+ const f = u({
6
6
  a11y: {
7
7
  type: Boolean,
8
8
  default: !0
@@ -10,7 +10,7 @@ const d = m({
10
10
  locale: {
11
11
  type: e(Object)
12
12
  },
13
- size: u,
13
+ size: m,
14
14
  button: {
15
15
  type: e(Object)
16
16
  },
@@ -30,12 +30,12 @@ const d = m({
30
30
  default: "el"
31
31
  },
32
32
  ...l
33
- }), f = {}, P = n({
33
+ }), d = {}, P = n({
34
34
  name: "ElConfigProvider",
35
- props: d,
35
+ props: f,
36
36
  setup(o, { slots: a }) {
37
37
  s(() => o.message, (r) => {
38
- Object.assign(f, r ?? {});
38
+ Object.assign(d, r ?? {});
39
39
  }, { immediate: !0, deep: !0 });
40
40
  const t = p(o);
41
41
  return () => i(a, "default", { config: t == null ? void 0 : t.value });
@@ -43,5 +43,5 @@ const d = m({
43
43
  });
44
44
  export {
45
45
  P as C,
46
- f as m
46
+ d as m
47
47
  };
@@ -0,0 +1 @@
1
+ "use strict";const o=require("vue"),a=require("./use-global-config-584b62f1.cjs"),i=require("./use-form-common-props-592797e2.cjs"),e=require("./base-bdc10baa.cjs"),p=e.buildProps({a11y:{type:Boolean,default:!0},locale:{type:e.definePropType(Object)},size:i.useSizeProp,button:{type:e.definePropType(Object)},experimentalFeatures:{type:e.definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:e.definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"},...i.useEmptyValuesProps}),s={},l=o.defineComponent({name:"ElConfigProvider",props:p,setup(t,{slots:u}){o.watch(()=>t.message,n=>{Object.assign(s,n??{})},{immediate:!0,deep:!0});const r=a.provideGlobalConfig(t);return()=>o.renderSlot(u,"default",{config:r==null?void 0:r.value})}});exports.ConfigProvider=l;exports.messageConfig=s;
@@ -0,0 +1 @@
1
+ "use strict";const E=require("./_commonjsHelpers-87b0abe8.cjs");var V={exports:{}};(function(q,X){(function(W,k){q.exports=k()})(E.commonjsGlobal,function(){var W=1e3,k=6e4,N=36e5,A="millisecond",S="second",w="minute",O="hour",M="day",j="week",m="month",U="quarter",y="year",_="date",J="Invalid Date",B=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,G=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,P={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var n=["th","st","nd","rd"],t=s%100;return"["+s+(n[(t-20)%10]||n[t]||n[0])+"]"}},I=function(s,n,t){var r=String(s);return!r||r.length>=n?s:""+Array(n+1-r.length).join(t)+s},Q={s:I,z:function(s){var n=-s.utcOffset(),t=Math.abs(n),r=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+I(r,2,"0")+":"+I(e,2,"0")},m:function s(n,t){if(n.date()<t.date())return-s(t,n);var r=12*(t.year()-n.year())+(t.month()-n.month()),e=n.clone().add(r,m),i=t-e<0,u=n.clone().add(r+(i?-1:1),m);return+(-(r+(t-e)/(i?e-u:u-e))||0)},a:function(s){return s<0?Math.ceil(s)||0:Math.floor(s)},p:function(s){return{M:m,y,w:j,d:M,D:_,h:O,m:w,s:S,ms:A,Q:U}[s]||String(s||"").toLowerCase().replace(/s$/,"")},u:function(s){return s===void 0}},x="en",D={};D[x]=P;var Z="$isDayjsObject",F=function(s){return s instanceof C||!(!s||!s[Z])},T=function s(n,t,r){var e;if(!n)return x;if(typeof n=="string"){var i=n.toLowerCase();D[i]&&(e=i),t&&(D[i]=t,e=i);var u=n.split("-");if(!e&&u.length>1)return s(u[0])}else{var o=n.name;D[o]=n,e=o}return!r&&e&&(x=e),e||!r&&x},f=function(s,n){if(F(s))return s.clone();var t=typeof n=="object"?n:{};return t.date=s,t.args=arguments,new C(t)},a=Q;a.l=T,a.i=F,a.w=function(s,n){return f(s,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var C=function(){function s(t){this.$L=T(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[Z]=!0}var n=s.prototype;return n.parse=function(t){this.$d=function(r){var e=r.date,i=r.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(B);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return a},n.isValid=function(){return this.$d.toString()!==J},n.isSame=function(t,r){var e=f(t);return this.startOf(r)<=e&&e<=this.endOf(r)},n.isAfter=function(t,r){return f(t)<this.startOf(r)},n.isBefore=function(t,r){return this.endOf(r)<f(t)},n.$g=function(t,r,e){return a.u(t)?this[r]:this.set(e,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,r){var e=this,i=!!a.u(r)||r,u=a.p(t),o=function(p,$){var v=a.w(e.$u?Date.UTC(e.$y,$,p):new Date(e.$y,$,p),e);return i?v:v.endOf(M)},c=function(p,$){return a.w(e.toDate()[p].apply(e.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice($)),e)},h=this.$W,d=this.$M,l=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case y:return i?o(1,0):o(31,11);case m:return i?o(1,d):o(0,d+1);case j:var g=this.$locale().weekStart||0,H=(h<g?h+7:h)-g;return o(i?l-H:l+(6-H),d);case M:case _:return c(b+"Hours",0);case O:return c(b+"Minutes",1);case w:return c(b+"Seconds",2);case S:return c(b+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,r){var e,i=a.p(t),u="set"+(this.$u?"UTC":""),o=(e={},e[M]=u+"Date",e[_]=u+"Date",e[m]=u+"Month",e[y]=u+"FullYear",e[O]=u+"Hours",e[w]=u+"Minutes",e[S]=u+"Seconds",e[A]=u+"Milliseconds",e)[i],c=i===M?this.$D+(r-this.$W):r;if(i===m||i===y){var h=this.clone().set(_,1);h.$d[o](c),h.init(),this.$d=h.set(_,Math.min(this.$D,h.daysInMonth())).$d}else o&&this.$d[o](c);return this.init(),this},n.set=function(t,r){return this.clone().$set(t,r)},n.get=function(t){return this[a.p(t)]()},n.add=function(t,r){var e,i=this;t=Number(t);var u=a.p(r),o=function(d){var l=f(i);return a.w(l.date(l.date()+Math.round(d*t)),i)};if(u===m)return this.set(m,this.$M+t);if(u===y)return this.set(y,this.$y+t);if(u===M)return o(1);if(u===j)return o(7);var c=(e={},e[w]=k,e[O]=N,e[S]=W,e)[u]||1,h=this.$d.getTime()+t*c;return a.w(h,this)},n.subtract=function(t,r){return this.add(-1*t,r)},n.format=function(t){var r=this,e=this.$locale();if(!this.isValid())return e.invalidDate||J;var i=t||"YYYY-MM-DDTHH:mm:ssZ",u=a.z(this),o=this.$H,c=this.$m,h=this.$M,d=e.weekdays,l=e.months,b=e.meridiem,g=function($,v,Y,L){return $&&($[v]||$(r,i))||Y[v].slice(0,L)},H=function($){return a.s(o%12||12,$,"0")},p=b||function($,v,Y){var L=$<12?"AM":"PM";return Y?L.toLowerCase():L};return i.replace(G,function($,v){return v||function(Y){switch(Y){case"YY":return String(r.$y).slice(-2);case"YYYY":return a.s(r.$y,4,"0");case"M":return h+1;case"MM":return a.s(h+1,2,"0");case"MMM":return g(e.monthsShort,h,l,3);case"MMMM":return g(l,h);case"D":return r.$D;case"DD":return a.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return g(e.weekdaysMin,r.$W,d,2);case"ddd":return g(e.weekdaysShort,r.$W,d,3);case"dddd":return d[r.$W];case"H":return String(o);case"HH":return a.s(o,2,"0");case"h":return H(1);case"hh":return H(2);case"a":return p(o,c,!0);case"A":return p(o,c,!1);case"m":return String(c);case"mm":return a.s(c,2,"0");case"s":return String(r.$s);case"ss":return a.s(r.$s,2,"0");case"SSS":return a.s(r.$ms,3,"0");case"Z":return u}return null}($)||u.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,r,e){var i,u=this,o=a.p(r),c=f(t),h=(c.utcOffset()-this.utcOffset())*k,d=this-c,l=function(){return a.m(u,c)};switch(o){case y:i=l()/12;break;case m:i=l();break;case U:i=l()/3;break;case j:i=(d-h)/6048e5;break;case M:i=(d-h)/864e5;break;case O:i=d/N;break;case w:i=d/k;break;case S:i=d/W;break;default:i=d}return e?i:a.a(i)},n.daysInMonth=function(){return this.endOf(m).$D},n.$locale=function(){return D[this.$L]},n.locale=function(t,r){if(!t)return this.$L;var e=this.clone(),i=T(t,r,!0);return i&&(e.$L=i),e},n.clone=function(){return a.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},s}(),z=C.prototype;return f.prototype=z,[["$ms",A],["$s",S],["$m",w],["$H",O],["$W",M],["$M",m],["$y",y],["$D",_]].forEach(function(s){z[s[1]]=function(n){return this.$g(n,s[0],s[1])}}),f.extend=function(s,n){return s.$i||(s(n,C,f),s.$i=!0),f},f.locale=T,f.isDayjs=F,f.unix=function(s){return f(1e3*s)},f.en=D[x],f.Ls=D,f.p={},f})})(V);var K=V.exports;const R=E.getDefaultExportFromCjs(K);exports.dayjs=R;