halo-pc 1.0.46 → 1.0.49

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/dist/{Article-vp9nJvsL.js → Article-B4W1yDus.js} +2 -2
  2. package/dist/{ArticleFooter-BzaIAVFi.js → ArticleFooter-BZmGzE4z.js} +1 -1
  3. package/dist/{Autocomplete-DgeCNbXh.js → Autocomplete-B691jOqv.js} +1 -1
  4. package/dist/{Autocomplete-DqaRWuqm.js → Autocomplete-CLYzsHIy.js} +1 -1
  5. package/dist/{Autocomplete-C_ubys4i.js → Autocomplete-DXKXgbu8.js} +1 -1
  6. package/dist/{CSharp-DKHym_MQ.js → CSharp-Bu5b_AQ5.js} +1 -1
  7. package/dist/{Calender-CuyWf8-X.js → Calender-Df0eBgXW.js} +1 -1
  8. package/dist/{Callback-CbFMEW9i.js → Callback-Bk7xDeWh.js} +7 -7
  9. package/dist/{Cascader-B4mptNwU.js → Cascader-Bn5tdkyk.js} +1 -1
  10. package/dist/{Cascader-CoBLPVi3.js → Cascader-CCv6R_xq.js} +1 -1
  11. package/dist/{Checkbox-7XS2XSkj.js → Checkbox-DJTNEds9.js} +1 -1
  12. package/dist/{Checkbox-B0PfJmjL.js → Checkbox-l-dw3I-D.js} +1 -1
  13. package/dist/{Code-BPkep1Ji.js → Code-BIJ8L9XB.js} +1 -1
  14. package/dist/{Code-Bp1q94rL.js → Code-CC0_bYUf.js} +1 -1
  15. package/dist/{Code-Bua_p06G.js → Code-DSskK7CQ.js} +1 -1
  16. package/dist/{Code-DY3C7vrX.js → Code-DzZ4UNYj.js} +1 -1
  17. package/dist/{Code.vue_vue_type_style_index_0_lang-B93OAnNg.js → Code.vue_vue_type_style_index_0_lang-B69Ar-BV.js} +1 -1
  18. package/dist/{Column-B1jtfzmr.js → Column-Ct-WeomE.js} +1 -1
  19. package/dist/{Comment-Bkj6WRdA.js → Comment-WXfnUXm0.js} +1 -1
  20. package/dist/{Compare-BTwl6Ygd.js → Compare-C7wrM-XA.js} +1 -1
  21. package/dist/{Compare-DA7BCjKZ.js → Compare-slAZvFE_.js} +1 -1
  22. package/dist/{Copy-D6TrTD-h.js → Copy-Djf4freJ.js} +1 -1
  23. package/dist/{Custom-qtIN7b75.js → Custom-D-E5y5Vg.js} +1 -1
  24. package/dist/{DataExport-CMocShBg.js → DataExport-TrGLjcqQ.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-XfLqw8vq.js → DataExport.vue_vue_type_script_setup_true_lang-BRI71FyH.js} +1 -1
  26. package/dist/{DataImport-BmBOP46y.js → DataImport-rcDmGVKS.js} +1 -1
  27. package/dist/{DataImport.vue_vue_type_script_setup_true_lang-DuWFsm5i.js → DataImport.vue_vue_type_script_setup_true_lang-BajrFerF.js} +1 -1
  28. package/dist/{Date-BOpBMHrO.js → Date-7EWMEODI.js} +1 -1
  29. package/dist/{Date-Dtkgb14j.js → Date-Dc2vK9Yv.js} +1 -1
  30. package/dist/{DateRange-Dp8UaElP.js → DateRange-Uli5eOZ5.js} +1 -1
  31. package/dist/{DateTime-9olPZQQM.js → DateTime-C-XhFPb0.js} +1 -1
  32. package/dist/{DateTime-Dsic9kuS.js → DateTime-DfUXtsBX.js} +1 -1
  33. package/dist/{DateTimeRange-BRkPJW15.js → DateTimeRange-CnITxfZ9.js} +1 -1
  34. package/dist/{Daterange-qNvOTZ6s.js → Daterange-CPJSBRvr.js} +1 -1
  35. package/dist/{Decimal-Bw0CL7Yl.js → Decimal-BtQpSIJR.js} +1 -1
  36. package/dist/{Delete-BORgzUbB.js → Delete-r-qTGBEE.js} +1 -1
  37. package/dist/{Detail-Cme-JSWR.js → Detail-D77pFe-2.js} +1 -1
  38. package/dist/{Dictionary-BDBGE70E.js → Dictionary-ICeLwv7E.js} +1 -1
  39. package/dist/{Email-Cv-m8tOx.js → Email-BanDj216.js} +1 -1
  40. package/dist/{File-BgI_8Ixx.js → File-BrXieip7.js} +2 -2
  41. package/dist/{Image-B1-gpU95.js → Image-D_5kTXKm.js} +1 -1
  42. package/dist/{Index-D1VXwmo_.js → Index-BMBm5j5X.js} +1 -1
  43. package/dist/Index-BQmAD1mw.js +4 -0
  44. package/dist/{Index-DGpFY8js.js → Index-Bov1OTEP.js} +1 -1
  45. package/dist/Index-Ceu5HCjk.js +4 -0
  46. package/dist/{Index-CfluiuuF.js → Index-CsxTOaw6.js} +2 -2
  47. package/dist/Index-Ddz9mcly.js +4 -0
  48. package/dist/Index-DhShUw_y.js +4 -0
  49. package/dist/{Index-BGVwD-UO.js → Index-wHW-zG4G.js} +2 -2
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-1RE5xi6l.js → Index.vue_vue_type_script_setup_true_lang-BlpCvZBC.js} +1 -1
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-DQtJ9qKm.js → Index.vue_vue_type_script_setup_true_lang-C_KWQFHN.js} +1 -1
  52. package/dist/{Install-DO1WyHfe.js → Install-DhWWbGRi.js} +22 -22
  53. package/dist/{Int-BODrCoEO.js → Int-BELzPmec.js} +1 -1
  54. package/dist/{Int-Cj_jRD6I.js → Int-BZkW-0JA.js} +1 -1
  55. package/dist/{List-B-B6fjFk.js → List-9r5PDoSS.js} +1 -1
  56. package/dist/{Maintaince-BSdycbKr.js → Maintaince-CMitKNaf.js} +1 -1
  57. package/dist/{Markdown-CWEKHV8b.js → Markdown-C8urG88V.js} +1 -1
  58. package/dist/{Month-CKbHdLfO.js → Month-BNp70T17.js} +1 -1
  59. package/dist/{Month-CdHe6pdR.js → Month-CK5GNwwH.js} +1 -1
  60. package/dist/{Month-CkofAR4O.js → Month-D4gy17OL.js} +1 -1
  61. package/dist/{Normal-3xeQTyhS.js → Normal-Cvx8228I.js} +1 -1
  62. package/dist/{Paging-Ct1z6EsP.js → Paging-B3l_nJHf.js} +2 -2
  63. package/dist/{PagingHeader-C56epdKF.js → PagingHeader-CYOKAeGS.js} +1 -1
  64. package/dist/{PagingRow-sW2AOAGv.js → PagingRow-vv6z6G0t.js} +1 -1
  65. package/dist/{Racebar-HWBM8-EX.js → Racebar-B4Q4oVfM.js} +2 -2
  66. package/dist/{Radio-BBoKSy_l.js → Radio-DA8B5Rlh.js} +1 -1
  67. package/dist/{Register-_Wawv6a9.js → Register-BaFqs8vX.js} +2 -2
  68. package/dist/{RichText-4OvMQMM7.js → RichText-TV3ZnykX.js} +1 -1
  69. package/dist/{SearchForm-C3zOUIIX.js → SearchForm-zVUHuxiR.js} +1 -1
  70. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-DxDlASaQ.js → SearchForm.vue_vue_type_style_index_0_lang-BvwtZSIf.js} +1 -1
  71. package/dist/{SearchHeader-BMCHfjBo.js → SearchHeader-Dqr5IKuO.js} +1 -1
  72. package/dist/{SearchHeader.vue_vue_type_style_index_0_lang-DVqf112o.js → SearchHeader.vue_vue_type_style_index_0_lang-DjpC03Al.js} +1 -1
  73. package/dist/{Select-Bhvkxayr.js → Select-51pxexYZ.js} +1 -1
  74. package/dist/Select-BvRI4zbF.js +123 -0
  75. package/dist/{Select-BGPyIb2O.js → Select-CUvvvGNn.js} +1 -1
  76. package/dist/{Single-RZ_U-oZd.js → Single-BtAJSJLK.js} +4 -4
  77. package/dist/{Statistic-y6MyH7-F.js → Statistic-CQ2oA1vm.js} +26 -26
  78. package/dist/{Stock-B_otBoO4.js → Stock-DF5yBa1X.js} +1 -1
  79. package/dist/{Stock-B7e5G2Tr.js → Stock-DylT7df9.js} +1 -1
  80. package/dist/{Stock.vue_vue_type_style_index_0_lang-BH-u_16-.js → Stock.vue_vue_type_style_index_0_lang-BpgVbCj-.js} +8 -8
  81. package/dist/{Switch-Da93_Vfb.js → Switch-CGcPpvTj.js} +1 -1
  82. package/dist/{Table-C0KwyDgj.js → Table-1R7b4wsF.js} +2 -2
  83. package/dist/{Table-CHUXN3eS.js → Table-BlciJJMu.js} +5 -5
  84. package/dist/{Text-BmBE5HsZ.js → Text-Bx46Fcln.js} +1 -1
  85. package/dist/Text-CA8i8QjK.js +4 -0
  86. package/dist/{Text-DB2Wk3p7.js → Text-Dv_w46l8.js} +1 -1
  87. package/dist/{Text.vue_vue_type_style_index_0_lang-DSmCsQqR.js → Text.vue_vue_type_style_index_0_lang-CfmQxBpy.js} +1 -1
  88. package/dist/{TextLink-CjLZ0G1H.js → TextLink-CQj0ytVR.js} +1 -1
  89. package/dist/{Textarea-CIcZ7Bbv.js → Textarea-D6VcTq4G.js} +1 -1
  90. package/dist/{Time-CVo_1Z_K.js → Time-WN0VMSgh.js} +1 -1
  91. package/dist/{Timeline-nKgSB2Zp.js → Timeline-DckHQQHw.js} +1 -1
  92. package/dist/{Tree-BZi7zcDn.js → Tree-BWxBxlZN.js} +1 -1
  93. package/dist/{Tree-BOQxh3M_.js → Tree-DHwhhXMP.js} +1 -1
  94. package/dist/{TreeNode-BSq6po5K.js → TreeNode-CeXU-uB1.js} +1 -1
  95. package/dist/{Update-scraILBD.js → Update-Ct44IN2J.js} +1 -1
  96. package/dist/{UpdateChild-BzpxMZ3o.js → UpdateChild-Bo6yZ12Y.js} +1 -1
  97. package/dist/{Upload-CkWdwC_I.js → Upload-CfRc8s-c.js} +1 -1
  98. package/dist/{Upload-Cg-G5qFh.js → Upload-Dui004Aq.js} +1 -1
  99. package/dist/{Year-CKP56hze.js → Year-CgsNE-M5.js} +1 -1
  100. package/dist/{Year-C4K6YOBk.js → Year-oJxibej6.js} +1 -1
  101. package/dist/{main-DZkfwl3K.js → main-BJRpvr2g.js} +644 -640
  102. package/dist/main.js +22 -22
  103. package/esm/main.d.ts +2 -2
  104. package/esm/svcs/AppSvc.d.ts +1 -1
  105. package/esm/svcs/index.d.ts +2 -2
  106. package/package.json +1 -1
  107. package/dist/Index-Be5ZRMiA.js +0 -4
  108. package/dist/Index-CVS1mp3F.js +0 -4
  109. package/dist/Index-CvBbNK73.js +0 -4
  110. package/dist/Index-DKDZFU7v.js +0 -4
  111. package/dist/Select-DZAf_BZO.js +0 -117
  112. package/dist/Text-CjXlBCL6.js +0 -4
package/dist/main.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a_ as t, aC as e, aU as o, a3 as r, a5 as i, a6 as c, aD as n, bg as l, b as H, bn as b, a8 as y, ae as p, an as S, b1 as F, aF as U, aE as d, aX as v, bl as u, D as g, af as m, ao as C, a7 as T, bh as R, aG as P, a$ as D, a9 as E, aa as M, F as A, b9 as I, A as f, ab as h, ag as k, aH as x, v as w, J as O, d as q, W as B, O as G, L as K, N as j, _ as z, bu as L, a2 as V, bo as J, bv as Q, B as W, bq as N, C as X, bp as Y, bx as Z, by as _, bz as $, P as aa, bw as sa, x as ta, bA as ea, H as oa, p as ra, Q as ia, a as ca, n as na, br as la, Y as Ha, l as ba, f as ya, X as pa, E as Sa, T as Fa, bB as Ua, bC as da, Z as va, $ as ua, g as ga, a0 as ma, bs as Ca, bt as Ta, a1 as Ra, G as Pa, bD as Da, ah as Ea, ac as Ma, aI as Aa, ad as Ia, aj as fa, ak as ha, i as ka, al as xa, am as wa, I as Oa, ap as qa, aJ as Ba, aT as Ga, K as Ka, b0 as ja, bi as za, aK as La, aq as Va, ar as Ja, aL as Qa, ai as Wa, bd as Na, aM as Xa, M as Ya, aN as Za, bH as _a, aY as $a, as, a4 as ss, be as ts, b2 as es, V as os, aZ as rs, bb as is, bc as cs, R as ns, s as ls, aS as Hs, k as bs, bf as ys, bj as ps, aW as Ss, au as Fs, av as Us, aw as ds, ax as vs, at as us, ay as gs, w as ms, aO as Cs, bm as Ts, S as Rs, az as Ps, aP as Ds, aA as Es, aQ as Ms, aR as As, j as Is, aV as fs, bk as hs, aB as ks, b3 as xs, U as ws, b4 as Os, b5 as qs, o as Bs, c as Gs, h as Ks, z as js, y as zs, bE as Ls, b7 as Vs, b8 as Js, b6 as Qs, ba as Ws, bF as Ns, m as Xs, q as Ys, t as Zs, r as _s, u as $s, bG as at } from "./main-DZkfwl3K.js";
1
+ import { a_ as t, aC as e, aU as o, a3 as r, a5 as i, a6 as c, aD as n, bg as l, b as H, bn as b, a8 as y, ae as p, an as S, b1 as F, aF as d, aE as U, aX as v, bl as u, D as g, af as m, ao as C, a7 as T, bh as R, aG as P, a$ as D, a9 as A, aa as E, F as I, b9 as M, A as f, ab as h, ag as k, aH as x, v as w, J as O, d as q, W as B, O as G, L as K, N as j, _ as z, bu as L, a2 as V, bo as J, bv as Q, B as W, bq as N, C as X, bp as Y, bx as Z, by as _, bz as $, P as aa, bw as sa, x as ta, bA as ea, H as oa, p as ra, Q as ia, a as ca, n as na, br as la, Y as Ha, l as ba, f as ya, X as pa, E as Sa, T as Fa, bB as da, bC as Ua, Z as va, $ as ua, g as ga, a0 as ma, bs as Ca, bt as Ta, a1 as Ra, G as Pa, bD as Da, ah as Aa, ac as Ea, aI as Ia, ad as Ma, aj as fa, ak as ha, i as ka, al as xa, am as wa, I as Oa, ap as qa, aJ as Ba, aT as Ga, K as Ka, b0 as ja, bi as za, aK as La, aq as Va, ar as Ja, aL as Qa, ai as Wa, bd as Na, aM as Xa, M as Ya, aN as Za, bH as _a, aY as $a, as, a4 as ss, be as ts, b2 as es, V as os, aZ as rs, bb as is, bc as cs, R as ns, s as ls, aS as Hs, k as bs, bf as ys, bj as ps, aW as Ss, au as Fs, av as ds, aw as Us, ax as vs, at as us, ay as gs, w as ms, aO as Cs, bm as Ts, S as Rs, az as Ps, aP as Ds, aA as As, aQ as Es, aR as Is, j as Ms, aV as fs, bk as hs, aB as ks, b3 as xs, U as ws, b4 as Os, b5 as qs, o as Bs, c as Gs, h as Ks, z as js, y as zs, bE as Ls, b7 as Vs, b8 as Js, b6 as Qs, ba as Ws, bF as Ns, m as Xs, q as Ys, t as Zs, r as _s, u as $s, bG as at } from "./main-BJRpvr2g.js";
2
2
  import { h as tt } from "./assets/moment-h96o7c8I.js";
3
3
  export {
4
4
  t as AffixUtility,
@@ -15,8 +15,8 @@ export {
15
15
  p as DefaultHttp,
16
16
  S as DefaultIdentity,
17
17
  F as DeltaUtility,
18
- U as DictionaryUtil,
19
- d as DomUtil,
18
+ d as DictionaryUtil,
19
+ U as DomUtil,
20
20
  v as DragEvent,
21
21
  u as DriverSvc,
22
22
  g as Drivers,
@@ -26,10 +26,10 @@ export {
26
26
  R as EnvSvc,
27
27
  P as EventUtil,
28
28
  D as EventUtility,
29
- E as ExcelFactory,
30
- M as ExplainerFactory,
31
- A as Factories,
32
- I as Factory,
29
+ A as ExcelFactory,
30
+ E as ExplainerFactory,
31
+ I as Factories,
32
+ M as Factory,
33
33
  f as FeOptions,
34
34
  h as FeatureFactory,
35
35
  k as FeiShuHttp,
@@ -69,8 +69,8 @@ export {
69
69
  pa as HaRow,
70
70
  Sa as HaScroller,
71
71
  Fa as HaSelect,
72
- Ua as HaSideTab,
73
- da as HaSideTabs,
72
+ da as HaSideTab,
73
+ Ua as HaSideTabs,
74
74
  va as HaSocketProgress,
75
75
  ua as HaSpinner,
76
76
  ga as HaSwitch,
@@ -80,10 +80,10 @@ export {
80
80
  Ra as HaTag,
81
81
  Pa as HaTimer,
82
82
  Da as HaWindow,
83
- Ea as HaloHttp,
84
- Ma as HasherFactory,
85
- Aa as HtmlUtil,
86
- Ia as HttpFactory,
83
+ Aa as HaloHttp,
84
+ Ea as HasherFactory,
85
+ Ia as HtmlUtil,
86
+ Ma as HttpFactory,
87
87
  fa as HttpModel,
88
88
  ha as HttpProgress,
89
89
  ka as HttpRequest,
@@ -123,21 +123,21 @@ export {
123
123
  ps as SettingSvc,
124
124
  Ss as SignUtil,
125
125
  Fs as SignerFactory,
126
- Us as SocketFactory,
127
- ds as SocketProgress,
126
+ ds as SocketFactory,
127
+ Us as SocketProgress,
128
128
  vs as SocketResponse,
129
129
  us as SqlHelper,
130
130
  gs as SsoFactory,
131
- ms as SsoUser,
131
+ ms as SsoInfo,
132
132
  Cs as StringUtil,
133
133
  Ts as SvcFactory,
134
134
  Rs as Svcs,
135
135
  Ps as TaskFactory,
136
136
  Ds as TaskUtil,
137
- Es as TemplateFactory,
138
- Ms as TimeUtil,
139
- As as TreeUtil,
140
- Is as UploadApi,
137
+ As as TemplateFactory,
138
+ Es as TimeUtil,
139
+ Is as TreeUtil,
140
+ Ms as UploadApi,
141
141
  fs as UrlUtil,
142
142
  hs as UserSvc,
143
143
  ks as UtilFactory,
@@ -149,8 +149,8 @@ export {
149
149
  Gs as componentSvc,
150
150
  Ks as controlSvc,
151
151
  js as createFeAsync,
152
- zs as createPc,
153
- Ls as createSvc,
152
+ zs as createPcAsync,
153
+ Ls as createSvcAsync,
154
154
  Vs as initDriverAsync,
155
155
  Js as initI18nsAsync,
156
156
  Qs as initOptionsAsync,
package/esm/main.d.ts CHANGED
@@ -4,10 +4,10 @@ import { CreatePcOptions } from "./@types";
4
4
  * 初始化PC框架
5
5
  * 创建前端基础框架,配置前端环境变量
6
6
  */
7
- declare let createPc: (app: App<Element>, options: CreatePcOptions) => Promise<void>;
7
+ declare let createPcAsync: (app: App<Element>, options: CreatePcOptions) => Promise<void>;
8
8
  export * from "halo-fe";
9
9
  export * from "./@types";
10
10
  export * from "./coms";
11
11
  export * from "./svcs";
12
12
  export * from "./repos";
13
- export { createPc };
13
+ export { createPcAsync };
@@ -10,7 +10,7 @@ export declare class AppSvc {
10
10
  /**
11
11
  * 初始化
12
12
  */
13
- useGlobal(app: App<Element>): Promise<void>;
13
+ useGlobalAsync(app: App<Element>): Promise<void>;
14
14
  /**
15
15
  * 注册自定义路由
16
16
  */
@@ -11,7 +11,7 @@ export * from "./Svcs";
11
11
  /**
12
12
  * 创建服务实例
13
13
  */
14
- declare let createSvc: () => Promise<void>;
14
+ declare let createSvcAsync: () => Promise<void>;
15
15
  declare let appSvc: AppSvc;
16
16
  declare let componentSvc: ComponentSvc;
17
17
  declare let controlSvc: ControlSvc;
@@ -21,4 +21,4 @@ declare let routerSvc: RouterSvc;
21
21
  declare let moduleSvc: ModuleSvc;
22
22
  declare let uploadSvc: UploadSvc;
23
23
  declare let windowSvc: WindowSvc;
24
- export { createSvc, appSvc, componentSvc, controlSvc, layoutSvc, pageSvc, routerSvc, moduleSvc, uploadSvc, windowSvc };
24
+ export { createSvcAsync, appSvc, componentSvc, controlSvc, layoutSvc, pageSvc, routerSvc, moduleSvc, uploadSvc, windowSvc };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-pc",
3
- "version": "1.0.46",
3
+ "version": "1.0.49",
4
4
  "description": "Halo pc framework",
5
5
  "scripts": {
6
6
  "halo-pc:tsc": "vue-tsc",
@@ -1,4 +0,0 @@
1
- import { b as f } from "./main-DZkfwl3K.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { a as f } from "./main-DZkfwl3K.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { x as f } from "./main-DZkfwl3K.js";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { k as f } from "./main-DZkfwl3K.js";
2
- export {
3
- f as default
4
- };
@@ -1,117 +0,0 @@
1
- import { defineComponent as I, toRefs as M, ref as f, computed as T, resolveComponent as _, openBlock as c, createBlock as y, unref as n, withKeys as A, withModifiers as L, isRef as O, withCtx as V, createElementBlock as k, Fragment as $, renderList as q, createElementVNode as z, toDisplayString as w, createCommentVNode as G, nextTick as H } from "vue";
2
- import { I as J, U as P, h as Q, D as W } from "./main-DZkfwl3K.js";
3
- import "./assets/liquidjs-BfOWWjtJ.js";
4
- import "./assets/underscore-B0BCaBxV.js";
5
- import "./assets/file-saver-CwlpTZSc.js";
6
- import "./assets/clone-BZn0cTAu.js";
7
- import "./assets/underscore.string-DVXD2SZo.js";
8
- import "./assets/moment-h96o7c8I.js";
9
- const X = { class: "option-text" }, Y = {
10
- key: 0,
11
- class: "option-suffix"
12
- }, ue = /* @__PURE__ */ I({
13
- __name: "Select",
14
- props: {
15
- schema: {},
16
- table: {},
17
- field: {},
18
- set: {},
19
- row: {},
20
- modelValue: { type: [String, Number, Boolean, Array] }
21
- },
22
- emits: ["submit", "change", "update:modelValue"],
23
- setup(C, { emit: E }) {
24
- let s = E, B = C, { schema: S, field: r, table: m, set: h, row: R, modelValue: p } = M(B), x = f(), b = f(), v = f(!1), d = f(r.value.control.data.data), j = (t) => {
25
- t == "" && (t = null);
26
- let e;
27
- if (P.object.isString(t) && r.value.control.multiple ? e = t.join(",") : e = t, u.value = e, r.value.control.text) {
28
- let a = m.value.fields.find((l) => l.name == r.value.control.text), o;
29
- e && (o = d.value.find((i) => i.value == e).text);
30
- debugger;
31
- R.value[a.name] = o;
32
- }
33
- g(m.value, r.value), s("change", t);
34
- }, D = () => {
35
- s("submit");
36
- }, K = () => {
37
- }, N = () => {
38
- v.value = !0;
39
- let t = { text: b.value, conditions: [] };
40
- r.value.control.data.conditions.forEach((e) => {
41
- let a = h.value[e.table].filter((l) => l[e.field] != null).map((l) => l[e.field]), o = a.length == 0 ? null : a.join(",");
42
- t.conditions.push({ name: e.name, value: o });
43
- }), W.http.post(r.value.control.data.route, t).then(({ data: e }) => {
44
- d.value = e;
45
- }).finally(() => {
46
- v.value = !1, H(() => {
47
- let e = d.value.find((a) => a.value == u.value);
48
- x.value.scrollToOption(e);
49
- });
50
- });
51
- }, U = (t) => {
52
- b.value = t, N();
53
- }, F = (t, e) => {
54
- let a = [];
55
- return S.value.forEach((o) => {
56
- o.fields.forEach((l) => {
57
- l.dictionary && l.dictionary.conditions.forEach((i) => {
58
- i.table == t.name && i.field == e.name && a.push({ table: o, field: l });
59
- });
60
- });
61
- }), a;
62
- }, g = (t, e) => {
63
- F(t, e).forEach((o) => {
64
- Q.setRowsValue(null, h.value, o.table, o.field), g(o.table, o.field);
65
- });
66
- }, u = T({
67
- get() {
68
- return r.value.control.multiple ? p.value == null ? [] : p.value.toString().split(",") : p.value;
69
- },
70
- set(t) {
71
- s("update:modelValue", t), s("change", t);
72
- }
73
- });
74
- return (t, e) => {
75
- const a = _("el-option"), o = _("el-select");
76
- return c(), y(o, {
77
- ref_key: "selectRef",
78
- ref: x,
79
- filterable: "",
80
- remote: "",
81
- "reserve-keyword": "",
82
- "default-first-option": "",
83
- "remote-show-suffix": "",
84
- "loading-text": "加载中",
85
- clearable: "",
86
- placeholder: n(J).field_choose_placeholder(n(m).name, n(r).name),
87
- multiple: n(r).control.multiple,
88
- "remote-method": n(U),
89
- loading: n(v),
90
- disabled: n(r).control.readonly,
91
- onKeyup: A(L(n(D), ["alt"]), ["enter", "native"]),
92
- onBlur: n(K),
93
- onChange: n(j),
94
- modelValue: n(u),
95
- "onUpdate:modelValue": e[0] || (e[0] = (l) => O(u) ? u.value = l : u = l)
96
- }, {
97
- default: V(() => [
98
- (c(!0), k($, null, q(n(d), (l, i) => (c(), y(a, {
99
- label: `${l.text}${l.suffix ? "(" + l.suffix + ")" : ""}`,
100
- value: l.value,
101
- key: l.value
102
- }, {
103
- default: V(() => [
104
- z("span", X, w(l.text), 1),
105
- l.suffix ? (c(), k("span", Y, "(" + w(l.suffix) + ")", 1)) : G("", !0)
106
- ]),
107
- _: 2
108
- }, 1032, ["label", "value"]))), 128))
109
- ]),
110
- _: 1
111
- }, 8, ["placeholder", "multiple", "remote-method", "loading", "disabled", "onKeyup", "onBlur", "onChange", "modelValue"]);
112
- };
113
- }
114
- });
115
- export {
116
- ue as default
117
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./Text.vue_vue_type_style_index_0_lang-DSmCsQqR.js";
2
- export {
3
- f as default
4
- };