st-comp 0.0.178 → 0.0.180

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 (185) hide show
  1. package/es/ChartLayout.cjs +1 -1
  2. package/es/ChartLayout.js +3 -3
  3. package/es/FactorWarning.cjs +1 -1
  4. package/es/FactorWarning.js +29 -33
  5. package/es/Kline.cjs +1 -1
  6. package/es/Kline.js +14 -18
  7. package/es/KlineBasic.cjs +1 -1
  8. package/es/KlineBasic.js +25 -30
  9. package/es/KlineConfig.cjs +1 -1
  10. package/es/KlineConfig.js +457 -419
  11. package/es/KlineNew.cjs +1 -1
  12. package/es/KlineNew.js +13 -16
  13. package/es/KlinePlus.cjs +3 -3
  14. package/es/KlinePlus.js +140 -142
  15. package/es/Pagination.cjs +1 -1
  16. package/es/Pagination.js +274 -276
  17. package/es/PasswordPrompt.cjs +1 -1
  18. package/es/PasswordPrompt.js +3 -3
  19. package/es/Table.cjs +1 -1
  20. package/es/Table.js +21 -23
  21. package/es/User.cjs +1 -1
  22. package/es/User.js +472 -482
  23. package/es/VarSelectDialog.cjs +3 -3
  24. package/es/VarSelectDialog.js +440 -2878
  25. package/es/VarietySearch.cjs +12 -12
  26. package/es/VarietySearch.js +1199 -1176
  27. package/es/VirtualTable.cjs +1 -13
  28. package/es/VirtualTable.js +1547 -1567
  29. package/es/{_initCloneObject-da90eef0.js → _initCloneObject-346b7ee2.js} +25 -26
  30. package/es/_initCloneObject-e2f0deb9.cjs +1 -0
  31. package/es/base-62a70f61.js +288 -0
  32. package/es/base-ef747d02.cjs +5 -0
  33. package/es/config-provider-178bb43c.cjs +1 -0
  34. package/es/config-provider-2e733cae.js +58 -0
  35. package/es/dayjs.min-2c20abe6.cjs +1 -0
  36. package/es/{dayjs.min-54a4e095.js → dayjs.min-8313b006.js} +96 -93
  37. package/es/{debounce-9e323221.cjs → debounce-0b77a317.cjs} +1 -1
  38. package/es/{debounce-3cec4646.js → debounce-5f2ec4be.js} +19 -19
  39. package/es/{dropdown-82b80e8b.js → dropdown-d06edf54.js} +49 -39
  40. package/es/dropdown-f2fec683.cjs +1 -0
  41. package/es/el-button-5b08c08a.js +272 -0
  42. package/es/el-button-fc46a173.cjs +1 -0
  43. package/es/el-dialog-0b7166c9.cjs +1 -0
  44. package/es/el-dialog-d8d0da7a.js +276 -0
  45. package/es/{el-divider-fd2b4e2e.js → el-divider-2f300113.js} +1 -1
  46. package/es/{el-divider-40c50ce7.cjs → el-divider-4713d74c.cjs} +1 -1
  47. package/es/{el-empty-412fc297.js → el-empty-87a86f30.js} +57 -80
  48. package/es/el-empty-bb2b0235.cjs +1 -0
  49. package/es/el-form-item-caffd133.cjs +12 -0
  50. package/es/el-form-item-ff9c7d98.js +1267 -0
  51. package/es/el-input-6db30c8c.js +531 -0
  52. package/es/el-input-9c912678.cjs +1 -0
  53. package/es/el-input-number-05f150e5.js +311 -0
  54. package/es/el-input-number-6fe73563.cjs +1 -0
  55. package/es/el-loading-8514feaa.cjs +1 -0
  56. package/es/el-loading-93842445.js +203 -0
  57. package/es/el-menu-item-7a57c1be.cjs +1 -0
  58. package/es/el-menu-item-a886fbdd.js +768 -0
  59. package/es/el-message-8aa674f2.js +406 -0
  60. package/es/el-message-aad5b42b.cjs +1 -0
  61. package/es/el-message-box-2b6b2b68.js +550 -0
  62. package/es/el-message-box-53f355d7.cjs +1 -0
  63. package/es/el-overlay-540b2a02.js +324 -0
  64. package/es/el-overlay-96630a2e.cjs +1 -0
  65. package/es/el-popconfirm-2afdf6fb.cjs +1 -0
  66. package/es/el-popconfirm-c18d8035.js +162 -0
  67. package/es/el-popper-544fd77e.js +2412 -0
  68. package/es/el-popper-73466d7a.cjs +1 -0
  69. package/es/el-scrollbar-691cfc11.cjs +1 -0
  70. package/es/el-scrollbar-fae984e3.js +763 -0
  71. package/es/el-segmented-a7493831.js +142 -0
  72. package/es/el-segmented-b6bd3c0e.cjs +1 -0
  73. package/es/el-select-5959e837.cjs +1 -0
  74. package/es/el-select-ea8feecf.js +1251 -0
  75. package/es/el-table-column-9ef52443.js +3878 -0
  76. package/es/el-table-column-b824ac5c.cjs +14 -0
  77. package/es/el-tag-2fc9b9eb.js +116 -0
  78. package/es/el-tag-ecad6d02.cjs +1 -0
  79. package/es/index-2e331d74.js +10 -0
  80. package/es/{index-a8e9ec0f.js → index-34592e82.js} +176 -182
  81. package/es/index-3a74eae4.cjs +1 -0
  82. package/es/{index-1c41bd56.js → index-5d4e5c51.js} +3 -3
  83. package/es/{index-e348d5e8.cjs → index-694bb944.cjs} +1 -1
  84. package/es/{index-ee1cebbc.js → index-74fb90c7.js} +5 -5
  85. package/es/{index-d577b81b.js → index-8d7ae5dc.js} +2 -2
  86. package/es/index-a9095b4a.js +163 -0
  87. package/es/index-a93dd9c4.cjs +1 -0
  88. package/es/index-ebd2fd7e.cjs +1 -0
  89. package/es/index-f1c702f6.cjs +1 -0
  90. package/es/{index-19fa1fcf.cjs → index-f6afafaa.cjs} +1 -1
  91. package/es/{raf-bfbf42e4.js → raf-41aed4d4.js} +1 -1
  92. package/es/{raf-07cb6953.cjs → raf-8249652f.cjs} +1 -1
  93. package/es/{scroll-e3cb691f.js → scroll-7d352c1f.js} +2 -2
  94. package/es/{scroll-4769a65d.cjs → scroll-b108dabd.cjs} +1 -1
  95. package/es/style.css +1 -1
  96. package/es/use-global-config-03735617.cjs +1 -0
  97. package/es/use-global-config-4b185eb5.js +71 -0
  98. package/es/validator-0e688e4e.cjs +1 -0
  99. package/es/validator-d12a8f8c.js +5 -0
  100. package/es/vnode-4db20540.cjs +1 -0
  101. package/es/vnode-a0795a4b.js +70 -0
  102. package/es/{zh-cn-d883afa8.js → zh-cn-0ff32188.js} +5 -4
  103. package/es/{zh-cn-b24a7dc9.cjs → zh-cn-adf19c4b.cjs} +1 -1
  104. package/lib/bundle.js +1 -1
  105. package/lib/bundle.umd.cjs +226 -245
  106. package/lib/{index-0f16f8b0.js → index-9341884f.js} +44358 -46367
  107. package/lib/{python-e9c32bc9.js → python-5c9b3e4e.js} +1 -1
  108. package/lib/style.css +1 -1
  109. package/package.json +2 -2
  110. package/packages/KlinePlus/index.vue +2 -1
  111. package/packages/VarSelectDialog/index.vue +43 -67
  112. package/packages/VarietySearch/components/FactorScreen/FactorDescription.vue +4 -2
  113. package/packages/VarietySearch/components/FactorScreen/index.vue +6 -4
  114. package/packages/index.ts +0 -2
  115. package/src/pages/VarSelectDialog/index.vue +1 -1
  116. package/src/router/routes.ts +0 -5
  117. package/es/Dialog.cjs +0 -1
  118. package/es/Dialog.js +0 -95
  119. package/es/_commonjsHelpers-10dfc225.js +0 -8
  120. package/es/_commonjsHelpers-87b0abe8.cjs +0 -1
  121. package/es/_initCloneObject-9ccbb113.cjs +0 -1
  122. package/es/base-bdc10baa.cjs +0 -5
  123. package/es/base-d9284bf0.js +0 -304
  124. package/es/castArray-37eb9980.cjs +0 -1
  125. package/es/castArray-b0ab0165.js +0 -10
  126. package/es/config-provider-ec6b09df.cjs +0 -1
  127. package/es/config-provider-f0151e9f.js +0 -47
  128. package/es/dayjs.min-19fb125f.cjs +0 -1
  129. package/es/dropdown-b2dab5bb.cjs +0 -1
  130. package/es/el-button-34665425.js +0 -237
  131. package/es/el-button-960edd49.cjs +0 -1
  132. package/es/el-dialog-a412484e.js +0 -267
  133. package/es/el-dialog-cd484c1f.cjs +0 -1
  134. package/es/el-empty-627ec09e.cjs +0 -1
  135. package/es/el-form-item-668ba024.js +0 -1263
  136. package/es/el-form-item-e1c3104b.cjs +0 -12
  137. package/es/el-input-22e66e37.js +0 -523
  138. package/es/el-input-5163bda3.cjs +0 -1
  139. package/es/el-input-number-481e21c5.js +0 -284
  140. package/es/el-input-number-eb54cde4.cjs +0 -1
  141. package/es/el-loading-15a5501c.cjs +0 -1
  142. package/es/el-loading-d4e403ab.js +0 -187
  143. package/es/el-menu-item-404c10e5.js +0 -772
  144. package/es/el-menu-item-ac89e804.cjs +0 -1
  145. package/es/el-message-ad87b9dd.cjs +0 -1
  146. package/es/el-message-box-41f39f6d.js +0 -558
  147. package/es/el-message-box-6694f827.cjs +0 -1
  148. package/es/el-message-ef506caa.js +0 -375
  149. package/es/el-overlay-4a9fa4e1.js +0 -269
  150. package/es/el-overlay-e5d318c3.cjs +0 -1
  151. package/es/el-popconfirm-7b9183aa.js +0 -140
  152. package/es/el-popconfirm-a497b279.cjs +0 -1
  153. package/es/el-popper-14a9d493.cjs +0 -1
  154. package/es/el-popper-e73466eb.js +0 -2263
  155. package/es/el-scrollbar-45318df0.js +0 -201
  156. package/es/el-scrollbar-8bf765f2.cjs +0 -1
  157. package/es/el-segmented-3ba6d664.cjs +0 -1
  158. package/es/el-segmented-41820018.js +0 -135
  159. package/es/el-select-1d2309a1.cjs +0 -1
  160. package/es/el-select-d7a00294.js +0 -1130
  161. package/es/el-table-column-a2d0c635.js +0 -3805
  162. package/es/el-table-column-be9a76bb.cjs +0 -14
  163. package/es/el-tag-7f391090.js +0 -280
  164. package/es/el-tag-8d49d4d2.cjs +0 -1
  165. package/es/index-02ca0096.cjs +0 -5
  166. package/es/index-3120be08.js +0 -14
  167. package/es/index-5b81f4da.cjs +0 -1
  168. package/es/index-85a32a00.js +0 -59
  169. package/es/index-8d3c5e96.cjs +0 -3
  170. package/es/index-94f38460.js +0 -306
  171. package/es/index-a99a5307.cjs +0 -1
  172. package/es/index-b90c746b.cjs +0 -1
  173. package/es/index-d94bae37.cjs +0 -1
  174. package/es/index-d99fdc6d.js +0 -159
  175. package/es/use-form-common-props-592797e2.cjs +0 -2
  176. package/es/use-form-common-props-cc347a83.js +0 -171
  177. package/es/use-global-config-584b62f1.cjs +0 -1
  178. package/es/use-global-config-c7f0a7e3.js +0 -73
  179. package/es/validator-10fa54fe.js +0 -5
  180. package/es/validator-af488a9a.cjs +0 -1
  181. package/es/vnode-1b827c99.cjs +0 -1
  182. package/es/vnode-6be33bb1.js +0 -14
  183. package/packages/Dialog/index.ts +0 -8
  184. package/packages/Dialog/index.vue +0 -54
  185. package/src/pages/Dialog/index.vue +0 -16
@@ -1,171 +0,0 @@
1
- import { l as T, e as V, i as _, p as Z, t as A, a as h } from "./index-a8e9ec0f.js";
2
- import { ref as v, getCurrentInstance as f, inject as i, computed as d, unref as p, onMounted as L, watch as U, toRef as w, onUnmounted as D } from "vue";
3
- import { m as J, p as R, n as S, J as Y, b as j, y, d as q } from "./base-d9284bf0.js";
4
- import { l as X, h as $, o as B, c as x, x as z, y as g, j as F, i as P } from "./index-ee1cebbc.js";
5
- var M = function() {
6
- try {
7
- var n = T(Object, "defineProperty");
8
- return n({}, "", {}), n;
9
- } catch {
10
- }
11
- }();
12
- const C = M;
13
- var W = 9007199254740991, H = /^(?:0|[1-9]\d*)$/;
14
- function Q(n, e) {
15
- var s = typeof n;
16
- return e = e ?? W, !!e && (s == "number" || s != "symbol" && H.test(n)) && n > -1 && n % 1 == 0 && n < e;
17
- }
18
- function G(n, e, s) {
19
- e == "__proto__" && C ? C(n, e, {
20
- configurable: !0,
21
- enumerable: !0,
22
- value: s,
23
- writable: !0
24
- }) : n[e] = s;
25
- }
26
- var k = Object.prototype, ee = k.hasOwnProperty;
27
- function ne(n, e, s) {
28
- var t = n[e];
29
- (!(ee.call(n, e) && V(t, s)) || s === void 0 && !(e in n)) && G(n, e, s);
30
- }
31
- function me(n, e, s, t) {
32
- if (!_(n))
33
- return n;
34
- e = Z(e, n);
35
- for (var o = -1, r = e.length, l = r - 1, a = n; a != null && ++o < r; ) {
36
- var u = A(e[o]), c = s;
37
- if (u === "__proto__" || u === "constructor" || u === "prototype")
38
- return n;
39
- if (o != l) {
40
- var m = a[u];
41
- c = t ? t(m, u, a) : void 0, c === void 0 && (c = _(m) ? m : Q(e[o + 1]) ? [] : {});
42
- }
43
- ne(a, u, c), a = a[u];
44
- }
45
- return n;
46
- }
47
- const b = {
48
- current: 0
49
- }, E = v(0), se = 2e3, O = Symbol("elZIndexContextKey"), te = Symbol("zIndexContextKey"), ye = (n) => {
50
- const e = f() ? i(O, b) : b, s = n || (f() ? i(te, void 0) : void 0), t = d(() => {
51
- const l = p(s);
52
- return J(l) ? l : se;
53
- }), o = d(() => t.value + E.value), r = () => (e.current++, E.value = e.current, o.value);
54
- return !R && !i(O) && S("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
55
- usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
56
- initialZIndex: t,
57
- currentZIndex: o,
58
- nextZIndex: r
59
- };
60
- }, oe = ["", "default", "small", "large"], Ie = Y({
61
- type: String,
62
- values: oe,
63
- required: !1
64
- }), re = Symbol("size"), ae = () => {
65
- const n = i(re, {});
66
- return d(() => p(n.size) || "");
67
- }, le = Symbol("emptyValuesContextKey"), ue = "use-empty-values", ie = ["", void 0, null], ce = void 0, _e = j({
68
- emptyValues: Array,
69
- valueOnClear: {
70
- type: [String, Number, Boolean, Function],
71
- default: void 0,
72
- validator: (n) => y(n) ? !n() : !n
73
- }
74
- }), Ce = (n, e) => {
75
- const s = f() ? i(le, v({})) : v({}), t = d(() => n.emptyValues || s.value.emptyValues || ie), o = d(() => y(n.valueOnClear) ? n.valueOnClear() : n.valueOnClear !== void 0 ? n.valueOnClear : y(s.value.valueOnClear) ? s.value.valueOnClear() : s.value.valueOnClear !== void 0 ? s.value.valueOnClear : e !== void 0 ? e : ce), r = (l) => t.value.includes(l);
76
- return t.value.includes(o.value) || S(ue, "value-on-clear should be a value of empty-values"), {
77
- emptyValues: t,
78
- valueOnClear: o,
79
- isEmptyValue: r
80
- };
81
- }, be = q([
82
- String,
83
- Object,
84
- Function
85
- ]), Ee = {
86
- Close: x
87
- }, Oe = {
88
- Close: x,
89
- SuccessFilled: z,
90
- InfoFilled: P,
91
- WarningFilled: g,
92
- CircleCloseFilled: F
93
- }, Se = {
94
- success: z,
95
- warning: g,
96
- error: F,
97
- info: P
98
- }, xe = {
99
- validating: X,
100
- success: $,
101
- error: B
102
- }, I = Symbol("formContextKey"), K = Symbol("formItemContextKey"), ze = () => {
103
- const n = i(I, void 0), e = i(K, void 0);
104
- return {
105
- form: n,
106
- formItem: e
107
- };
108
- }, ge = (n, {
109
- formItemContext: e,
110
- disableIdGeneration: s,
111
- disableIdManagement: t
112
- }) => {
113
- s || (s = v(!1)), t || (t = v(!1));
114
- const o = v();
115
- let r;
116
- const l = d(() => {
117
- var a;
118
- return !!(!(n.label || n.ariaLabel) && e && e.inputIds && ((a = e.inputIds) == null ? void 0 : a.length) <= 1);
119
- });
120
- return L(() => {
121
- r = U([w(n, "id"), s], ([a, u]) => {
122
- const c = a ?? (u ? void 0 : h().value);
123
- c !== o.value && (e != null && e.removeInputId && (o.value && e.removeInputId(o.value), !(t != null && t.value) && !u && c && e.addInputId(c)), o.value = c);
124
- }, { immediate: !0 });
125
- }), D(() => {
126
- r && r(), e != null && e.removeInputId && o.value && e.removeInputId(o.value);
127
- }), {
128
- isLabeledByFormItem: l,
129
- inputId: o
130
- };
131
- }, N = (n) => {
132
- const e = f();
133
- return d(() => {
134
- var s, t;
135
- return (t = (s = e == null ? void 0 : e.proxy) == null ? void 0 : s.$props) == null ? void 0 : t[n];
136
- });
137
- }, Fe = (n, e = {}) => {
138
- const s = v(void 0), t = e.prop ? s : N("size"), o = e.global ? s : ae(), r = e.form ? { size: void 0 } : i(I, void 0), l = e.formItem ? { size: void 0 } : i(K, void 0);
139
- return d(() => t.value || p(n) || (l == null ? void 0 : l.size) || (r == null ? void 0 : r.size) || o.value || "");
140
- }, Pe = (n) => {
141
- const e = N("disabled"), s = i(I, void 0);
142
- return d(() => e.value || p(n) || (s == null ? void 0 : s.disabled) || !1);
143
- };
144
- export {
145
- Ee as C,
146
- re as S,
147
- Oe as T,
148
- xe as V,
149
- Fe as a,
150
- ge as b,
151
- Pe as c,
152
- Ie as d,
153
- oe as e,
154
- ae as f,
155
- Se as g,
156
- Q as h,
157
- be as i,
158
- G as j,
159
- ne as k,
160
- I as l,
161
- K as m,
162
- ye as n,
163
- Ce as o,
164
- _e as p,
165
- C as q,
166
- me as r,
167
- le as s,
168
- se as t,
169
- ze as u,
170
- te as z
171
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("vue"),i=require("./base-bdc10baa.cjs"),s=require("./use-form-common-props-592797e2.cjs"),d=require("./index-02ca0096.cjs"),g=Symbol();function x(o,u,t){return o==null?o:s.baseSet(o,u,t)}const m=o=>Object.keys(o),y=(o,u,t)=>({get value(){return d.get(o,u,t)},set value(l){x(o,u,l)}}),v=n.ref();function p(o,u=void 0){const t=n.getCurrentInstance()?n.inject(g,v):v;return o?n.computed(()=>{var l,r;return(r=(l=t.value)==null?void 0:l[o])!=null?r:u}):t}function b(o,u){const t=p(),l=i.useNamespace(o,n.computed(()=>{var e;return((e=t.value)==null?void 0:e.namespace)||i.defaultNamespace})),r=d.useLocale(n.computed(()=>{var e;return(e=t.value)==null?void 0:e.locale})),c=s.useZIndex(n.computed(()=>{var e;return((e=t.value)==null?void 0:e.zIndex)||s.defaultInitialZIndex})),a=n.computed(()=>{var e;return n.unref(u)||((e=t.value)==null?void 0:e.size)||""});return C(n.computed(()=>n.unref(t)||{})),{ns:l,locale:r,zIndex:c,size:a}}const C=(o,u,t=!1)=>{var l;const r=!!n.getCurrentInstance(),c=r?p():void 0,a=(l=u==null?void 0:u.provide)!=null?l:r?n.provide:void 0;if(!a){i.debugWarn("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const e=n.computed(()=>{const f=n.unref(o);return c!=null&&c.value?I(c.value,f):f});return a(g,e),a(d.localeContextKey,n.computed(()=>e.value.locale)),a(i.namespaceContextKey,n.computed(()=>e.value.namespace)),a(s.zIndexContextKey,n.computed(()=>e.value.zIndex)),a(s.SIZE_INJECTION_KEY,{size:n.computed(()=>e.value.size||"")}),a(s.emptyValuesContextKey,n.computed(()=>({emptyValues:e.value.emptyValues,valueOnClear:e.value.valueOnClear}))),(t||!v.value)&&(v.value=e.value),e},I=(o,u)=>{const t=[...new Set([...m(o),...m(u)])],l={};for(const r of t)l[r]=u[r]!==void 0?u[r]:o[r];return l};exports.getProp=y;exports.provideGlobalConfig=C;exports.useGlobalComponentSettings=b;exports.useGlobalConfig=p;
@@ -1,73 +0,0 @@
1
- import { ref as m, getCurrentInstance as f, provide as C, computed as s, unref as v, inject as x } from "vue";
2
- import { n as y, L as I, u as z, D as _ } from "./base-d9284bf0.js";
3
- import { r as b, z as S, S as K, s as G, n as O, t as N } from "./use-form-common-props-cc347a83.js";
4
- import { h as k, w as E, u as V } from "./index-a8e9ec0f.js";
5
- const p = Symbol();
6
- function Z(n, a, o) {
7
- return n == null ? n : b(n, a, o);
8
- }
9
- const d = (n) => Object.keys(n), T = (n, a, o) => ({
10
- get value() {
11
- return k(n, a, o);
12
- },
13
- set value(t) {
14
- Z(n, a, t);
15
- }
16
- }), i = m();
17
- function g(n, a = void 0) {
18
- const o = f() ? x(p, i) : i;
19
- return n ? s(() => {
20
- var t, l;
21
- return (l = (t = o.value) == null ? void 0 : t[n]) != null ? l : a;
22
- }) : o;
23
- }
24
- function W(n, a) {
25
- const o = g(), t = z(n, s(() => {
26
- var e;
27
- return ((e = o.value) == null ? void 0 : e.namespace) || _;
28
- })), l = V(s(() => {
29
- var e;
30
- return (e = o.value) == null ? void 0 : e.locale;
31
- })), r = O(s(() => {
32
- var e;
33
- return ((e = o.value) == null ? void 0 : e.zIndex) || N;
34
- })), u = s(() => {
35
- var e;
36
- return v(a) || ((e = o.value) == null ? void 0 : e.size) || "";
37
- });
38
- return w(s(() => v(o) || {})), {
39
- ns: t,
40
- locale: l,
41
- zIndex: r,
42
- size: u
43
- };
44
- }
45
- const w = (n, a, o = !1) => {
46
- var t;
47
- const l = !!f(), r = l ? g() : void 0, u = (t = a == null ? void 0 : a.provide) != null ? t : l ? C : void 0;
48
- if (!u) {
49
- y("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
50
- return;
51
- }
52
- const e = s(() => {
53
- const c = v(n);
54
- return r != null && r.value ? L(r.value, c) : c;
55
- });
56
- return u(p, e), u(E, s(() => e.value.locale)), u(I, s(() => e.value.namespace)), u(S, s(() => e.value.zIndex)), u(K, {
57
- size: s(() => e.value.size || "")
58
- }), u(G, s(() => ({
59
- emptyValues: e.value.emptyValues,
60
- valueOnClear: e.value.valueOnClear
61
- }))), (o || !i.value) && (i.value = e.value), e;
62
- }, L = (n, a) => {
63
- const o = [.../* @__PURE__ */ new Set([...d(n), ...d(a)])], t = {};
64
- for (const l of o)
65
- t[l] = a[l] !== void 0 ? a[l] : n[l];
66
- return t;
67
- };
68
- export {
69
- g as a,
70
- T as g,
71
- w as p,
72
- W as u
73
- };
@@ -1,5 +0,0 @@
1
- import { e } from "./use-form-common-props-cc347a83.js";
2
- const n = (o) => ["", ...e].includes(o);
3
- export {
4
- n as i
5
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("./use-form-common-props-592797e2.cjs"),i=o=>["",...e.componentSizes].includes(o);exports.isValidComponentSize=i;
@@ -1 +0,0 @@
1
- "use strict";const N=require("vue"),A=require("./base-bdc10baa.cjs");var _=(E=>(E[E.TEXT=1]="TEXT",E[E.CLASS=2]="CLASS",E[E.STYLE=4]="STYLE",E[E.PROPS=8]="PROPS",E[E.FULL_PROPS=16]="FULL_PROPS",E[E.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",E[E.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",E[E.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",E[E.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",E[E.NEED_PATCH=512]="NEED_PATCH",E[E.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",E[E.HOISTED=-1]="HOISTED",E[E.BAIL=-2]="BAIL",E))(_||{});const r=E=>{const n=A.isArray(E)?E:[E],T=[];return n.forEach(e=>{var S;A.isArray(e)?T.push(...r(e)):N.isVNode(e)&&((S=e.component)!=null&&S.subTree)?T.push(e,...r(e.component.subTree)):N.isVNode(e)&&A.isArray(e.children)?T.push(...r(e.children)):T.push(e)}),T};exports.PatchFlags=_;exports.flattedChildren=r;
@@ -1,14 +0,0 @@
1
- import { isVNode as o } from "vue";
2
- import { g as S } from "./base-d9284bf0.js";
3
- var _ = /* @__PURE__ */ ((E) => (E[E.TEXT = 1] = "TEXT", E[E.CLASS = 2] = "CLASS", E[E.STYLE = 4] = "STYLE", E[E.PROPS = 8] = "PROPS", E[E.FULL_PROPS = 16] = "FULL_PROPS", E[E.HYDRATE_EVENTS = 32] = "HYDRATE_EVENTS", E[E.STABLE_FRAGMENT = 64] = "STABLE_FRAGMENT", E[E.KEYED_FRAGMENT = 128] = "KEYED_FRAGMENT", E[E.UNKEYED_FRAGMENT = 256] = "UNKEYED_FRAGMENT", E[E.NEED_PATCH = 512] = "NEED_PATCH", E[E.DYNAMIC_SLOTS = 1024] = "DYNAMIC_SLOTS", E[E.HOISTED = -1] = "HOISTED", E[E.BAIL = -2] = "BAIL", E))(_ || {});
4
- const A = (E) => {
5
- const N = S(E) ? E : [E], e = [];
6
- return N.forEach((T) => {
7
- var r;
8
- S(T) ? e.push(...A(T)) : o(T) && ((r = T.component) != null && r.subTree) ? e.push(T, ...A(T.component.subTree)) : o(T) && S(T.children) ? e.push(...A(T.children)) : e.push(T);
9
- }), e;
10
- };
11
- export {
12
- _ as P,
13
- A as f
14
- };
@@ -1,8 +0,0 @@
1
- import { App } from "vue";
2
- import StDialog from "./index.vue";
3
-
4
- export default {
5
- install(app: App) {
6
- app.component("st-dialog", StDialog);
7
- },
8
- }
@@ -1,54 +0,0 @@
1
- <template>
2
- <el-config-provider :locale="zhCn">
3
- <el-dialog
4
- v-model="visible"
5
- :title="title"
6
- width="30%"
7
- :before-close="handleClose"
8
- :style="style"
9
- >
10
- <span>This is a message</span>
11
- <template #footer>
12
- <span class="dialog-footer">
13
- <el-button @click="visible = false">Cancel</el-button>
14
- <el-button type="primary" @click="visible = false">
15
- Confirm
16
- </el-button>
17
- </span>
18
- </template>
19
- </el-dialog>
20
- </el-config-provider>
21
- </template>
22
- <script setup lang="ts">
23
- import zhCn from "element-plus/es/locale/lang/zh-cn";
24
- import {computed} from "vue"
25
-
26
- const emit = defineEmits(["update:modelValue"]);
27
- const props = defineProps({
28
- modelValue: {
29
- type: Boolean,
30
- required: true,
31
- },
32
- title: {
33
- type: String,
34
- default: () => "",
35
- },
36
- style: {
37
- type: String,
38
- default: () => "",
39
- },
40
- });
41
- const visible = computed({
42
- get() {
43
- return props.modelValue;
44
- },
45
- set(val) {
46
- emit("update:modelValue", val);
47
- },
48
- });
49
- const handleClose = (done: () => viod) => {
50
- // done()
51
- emit('update:modelValue', false)
52
-
53
- };
54
- </script>
@@ -1,16 +0,0 @@
1
- <template>
2
- <div :style="{ width: '100%', height: '600px' }">
3
- <el-button @click="dialogVisible = true">
4
- click to open the Dialog
5
- </el-button>
6
- <st-dialog v-model="dialogVisible"> </st-dialog>
7
- </div>
8
- </template>
9
-
10
- <script setup lang="ts">
11
- import { ref } from 'vue'
12
- const dialogVisible = ref(false);
13
-
14
- </script>
15
-
16
- <style lang="scss" scoped></style>