halo-pc 1.0.20 → 1.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. package/dist/Article-C_3LULzy.js +200 -0
  2. package/dist/{ArticleFooter-CsCnjrJ1.js → ArticleFooter-Do6I1mma.js} +24 -18
  3. package/dist/{Autocomplete-BGkHGSX_.js → Autocomplete-BLOOqTTn.js} +1 -1
  4. package/dist/Autocomplete-BLrbt1wN.js +53 -0
  5. package/dist/Autocomplete-C27XN8Sp.js +54 -0
  6. package/dist/{CSharp-NuDfWEq7.js → CSharp-BGn9jf2B.js} +1 -1
  7. package/dist/{Calender-C2YaNTHk.js → Calender-4bSMqUzx.js} +4 -4
  8. package/dist/Callback-BHYDtogL.js +26 -0
  9. package/dist/Cascader-D3y3WjFF.js +87 -0
  10. package/dist/Cascader-D9Y8L7X2.js +47 -0
  11. package/dist/{Checkbox-BAcK--1U.js → Checkbox-DnTLeLjt.js} +1 -1
  12. package/dist/Checkbox-dDfYBhhc.js +76 -0
  13. package/dist/{Code-CbsVyhOv.js → Code-Af5URLnL.js} +1 -1
  14. package/dist/Code-Bi9Y45vV.js +42 -0
  15. package/dist/Code-CWsSgkJq.js +60 -0
  16. package/dist/{Code-BHEes80c.js → Code-QYs-sjcG.js} +1 -1
  17. package/dist/Code.vue_vue_type_style_index_0_lang-CI6sLXKy.js +65 -0
  18. package/dist/Column-wzxM_-Vp.js +74 -0
  19. package/dist/Comment-BF8L1umD.js +104 -0
  20. package/dist/Compare-CjSQcnd3.js +43 -0
  21. package/dist/{Compare-gEOPuGLB.js → Compare-Cj_CPjIV.js} +25 -19
  22. package/dist/Copy-BNt-Dwoo.js +49 -0
  23. package/dist/Custom-CYPkAqpf.js +57 -0
  24. package/dist/{DataExport-hwoZoZUN.js → DataExport-CHQtRKzA.js} +1 -1
  25. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-Dkq4fSkZ.js → DataExport.vue_vue_type_script_setup_true_lang-Dt2BAaAO.js} +41 -36
  26. package/dist/{DataImport-CQYeF50z.js → DataImport-CDcmH3Du.js} +1 -1
  27. package/dist/DataImport.vue_vue_type_script_setup_true_lang-dULXjbl_.js +176 -0
  28. package/dist/{Date-a3T1YbHN.js → Date-BStpsA7n.js} +1 -1
  29. package/dist/Date-U1py5NaK.js +43 -0
  30. package/dist/DateRange-DxAx2gxI.js +63 -0
  31. package/dist/DateTime-B3609Ct6.js +44 -0
  32. package/dist/{DateTime-BUYojCOY.js → DateTime-CmJw1-WA.js} +1 -1
  33. package/dist/{DateTimeRange-D9K4am0p.js → DateTimeRange-aDw57sTG.js} +17 -11
  34. package/dist/Daterange-C48t6usd.js +63 -0
  35. package/dist/{Decimal-CNhxJUZg.js → Decimal-Ca0K6NoZ.js} +1 -1
  36. package/dist/Delete-FhIvONUV.js +62 -0
  37. package/dist/{Detail-BXkTd6Wh.js → Detail-qqW0J946.js} +21 -15
  38. package/dist/Dictionary-CaXytFmK.js +59 -0
  39. package/dist/Email-H2DHJhMe.js +54 -0
  40. package/dist/{File-CAnAcqJX.js → File-CjXewuui.js} +33 -27
  41. package/dist/Image-BSuCHshD.js +9 -0
  42. package/dist/Index-9KImKLrj.js +4 -0
  43. package/dist/Index-BIbR8SAU.js +178 -0
  44. package/dist/Index-BaoxkF9F.js +4 -0
  45. package/dist/{Index-DJvB04cS.js → Index-BrI9x7i7.js} +1 -1
  46. package/dist/Index-CXR5RC6-.js +4 -0
  47. package/dist/{Index-RZT6JXBO.js → Index-CpGonJ_m.js} +1 -1
  48. package/dist/{Index-CseSUp2Z.js → Index-DUgprnVp.js} +1 -1
  49. package/dist/{Index-BqjKndKz.js → Index-icEhc88J.js} +25 -20
  50. package/dist/{Index.vue_vue_type_script_setup_true_lang-DtNDN8Ex.js → Index.vue_vue_type_script_setup_true_lang-Beb5UD_S.js} +21 -15
  51. package/dist/{Index.vue_vue_type_script_setup_true_lang-C8ZEc4nU.js → Index.vue_vue_type_script_setup_true_lang-DJ8ZzZ2K.js} +22 -16
  52. package/dist/{Index.vue_vue_type_style_index_0_lang-T12lwRy6.js → Index.vue_vue_type_style_index_0_lang-D7LuD-a2.js} +40 -35
  53. package/dist/{Install-DWWpscrR.js → Install-FwXpJIWk.js} +26 -20
  54. package/dist/Int-CXl1QpEL.js +44 -0
  55. package/dist/Int-DAxz3ETu.js +46 -0
  56. package/dist/List-CV9bkdrq.js +79 -0
  57. package/dist/Maintaince-DZNq9aHX.js +20 -0
  58. package/dist/{Markdown-d8PCfAFf.js → Markdown-BhwqDlwa.js} +1 -1
  59. package/dist/{Month-COEkKDL_.js → Month-BEmnA7zU.js} +1 -1
  60. package/dist/Month-DXQBHoJU.js +43 -0
  61. package/dist/Month-bgEd_K7_.js +44 -0
  62. package/dist/{Normal-BD7sNr-b.js → Normal-Dya4aqc7.js} +56 -51
  63. package/dist/Paging-JXDzxoM0.js +99 -0
  64. package/dist/{PagingHeader-CznmI0kr.js → PagingHeader-BETGBySb.js} +31 -25
  65. package/dist/{PagingRow-BJ-VLpfV.js → PagingRow-BLqp1c9E.js} +28 -22
  66. package/dist/QueryApi-B5jI3sBl.js +20 -0
  67. package/dist/{Racebar-BkwhD-rw.js → Racebar-CozeXwLJ.js} +42 -37
  68. package/dist/{Radio-CS12bajp.js → Radio-CuAxYw7j.js} +1 -1
  69. package/dist/{Register-l_X4fDPP.js → Register-B11jE2Ox.js} +78 -73
  70. package/dist/RichText-CxBE_cVg.js +47 -0
  71. package/dist/{SearchFooter-C8N9ku25.js → SearchFooter-agTqPUGE.js} +1 -1
  72. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-6WvYHIn1.js → SearchFooter.vue_vue_type_style_index_0_lang-C-1Yr5_9.js} +1 -1
  73. package/dist/{SearchForm-DX0mN20A.js → SearchForm-DNKmE8W0.js} +1 -1
  74. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-23AxHYiw.js → SearchForm.vue_vue_type_style_index_0_lang-BzrMV0Wr.js} +40 -35
  75. package/dist/Select-BPa5rx_H.js +86 -0
  76. package/dist/Select-CRfEAtba.js +117 -0
  77. package/dist/{Select-DYjvtHyi.js → Select-MqDjnB-C.js} +1 -1
  78. package/dist/{Single-DErvX9y_.js → Single-C5Kkr9SY.js} +112 -107
  79. package/dist/{Statistic-CQxXdu-V.js → Statistic-Ce_FMw5O.js} +36 -31
  80. package/dist/{Stock-CsoHCwV6.js → Stock-BTjhpaxv.js} +1 -1
  81. package/dist/{Stock-DXLdfC3r.js → Stock-D8AJmsvb.js} +1 -1
  82. package/dist/{Stock.vue_vue_type_style_index_0_lang-B-b3Lj_h.js → Stock.vue_vue_type_style_index_0_lang-DTj2ITJ6.js} +28 -23
  83. package/dist/{Switch-BCgZXfWo.js → Switch-gwGbi34o.js} +1 -1
  84. package/dist/{Table-CAVxyUTD.js → Table-C03eUBYm.js} +69 -63
  85. package/dist/{Table-DkJYgLFt.js → Table-DA8aGGEH.js} +74 -70
  86. package/dist/{Text-Cn0cOTli.js → Text-B5uPrGof.js} +18 -12
  87. package/dist/Text-D-VS-lCk.js +59 -0
  88. package/dist/Text-NRww74M3.js +4 -0
  89. package/dist/Text.vue_vue_type_style_index_0_lang-Fsbur1tJ.js +59 -0
  90. package/dist/TextLink-B_Qg6CnF.js +65 -0
  91. package/dist/{Textarea-Pc4TfoC3.js → Textarea-gtXLL6Qe.js} +1 -1
  92. package/dist/Time-DYOIZ2Rv.js +43 -0
  93. package/dist/Timeline-B4AYezYA.js +59 -0
  94. package/dist/{Tree-01Sb-9zi.js → Tree-CRDb0vS5.js} +67 -62
  95. package/dist/Tree-CTmXjN1O.js +122 -0
  96. package/dist/TreeNode-HFcGpAOb.js +42 -0
  97. package/dist/{Update-Cy1lFPVv.js → Update-EHyhYK5k.js} +18 -12
  98. package/dist/{UpdateChild-DV_8KV9G.js → UpdateChild-CC3b9evd.js} +23 -17
  99. package/dist/Upload-CkQ-5tVg.js +72 -0
  100. package/dist/Upload-um4BYzwO.js +150 -0
  101. package/dist/UploadApi-BmdGJGjh.js +20 -0
  102. package/dist/Year-DKBG5ihv.js +47 -0
  103. package/dist/{Year-BFZPXXq0.js → Year-Lhvyb9Vk.js} +1 -1
  104. package/dist/assets/@intlify-BISCQg1h.js +2189 -0
  105. package/dist/assets/@vue-aVYGocXp.js +93 -0
  106. package/dist/assets/clone-BZn0cTAu.js +134 -0
  107. package/dist/assets/file-saver-CwlpTZSc.js +74 -0
  108. package/dist/assets/liquidjs-C-LVcoaY.js +2893 -0
  109. package/dist/assets/moment-h96o7c8I.js +2578 -0
  110. package/dist/assets/sprintf-js-BPTdvBYM.js +148 -0
  111. package/dist/assets/underscore-B0BCaBxV.js +1070 -0
  112. package/dist/assets/underscore.string-DVXD2SZo.js +425 -0
  113. package/dist/assets/util-deprecate-Dzun97re.js +28 -0
  114. package/dist/assets/vue-i18n-CLr3brPz.js +1670 -0
  115. package/dist/main-C1iALE1f.js +8947 -0
  116. package/dist/main.js +42 -41
  117. package/package.json +2 -2
  118. package/dist/Article-aps_F4Uq.js +0 -194
  119. package/dist/Autocomplete-CGoxGIM2.js +0 -48
  120. package/dist/Autocomplete-XdLV4jzi.js +0 -49
  121. package/dist/Callback-Czdr_dVp.js +0 -20
  122. package/dist/Cascader-D3Kr80fH.js +0 -81
  123. package/dist/Cascader-DRvnD4Xc.js +0 -41
  124. package/dist/Checkbox-5pSKww4M.js +0 -70
  125. package/dist/Code-BxQxsVD8.js +0 -54
  126. package/dist/Code-CtDTGfBy.js +0 -36
  127. package/dist/Code.vue_vue_type_style_index_0_lang-CPZKY3vQ.js +0 -59
  128. package/dist/Column-D3PMyaiE.js +0 -68
  129. package/dist/Comment-B3fvVYJF.js +0 -98
  130. package/dist/Compare-BXxJuIXf.js +0 -37
  131. package/dist/Copy-1znXP-dt.js +0 -43
  132. package/dist/Custom-C_15ZImX.js +0 -51
  133. package/dist/DataImport.vue_vue_type_script_setup_true_lang-ChWRjj2W.js +0 -172
  134. package/dist/Date-0bIUTNCs.js +0 -37
  135. package/dist/DateRange-Cxu9FXTE.js +0 -57
  136. package/dist/DateTime-IlsYZL-l.js +0 -38
  137. package/dist/Daterange-CX0Klog4.js +0 -57
  138. package/dist/Delete-DFl8Tr27.js +0 -56
  139. package/dist/Dictionary-DmarNVsi.js +0 -55
  140. package/dist/Email-BBjDCCOK.js +0 -48
  141. package/dist/Image-pufFvop2.js +0 -9
  142. package/dist/Index-C4D5pwwu.js +0 -173
  143. package/dist/Index-CD_KS2lO.js +0 -4
  144. package/dist/Index-CEh3KlPE.js +0 -4
  145. package/dist/Index-XmvSiC1h.js +0 -4
  146. package/dist/Int-Bi3P8XeV.js +0 -41
  147. package/dist/Int-Bn2p1DqA.js +0 -38
  148. package/dist/List-CeQRwXop.js +0 -73
  149. package/dist/Maintaince-CVMjhqSO.js +0 -14
  150. package/dist/Month-BfUSQ3xa.js +0 -38
  151. package/dist/Month-DQKfNQzN.js +0 -37
  152. package/dist/Paging-d_-VefNv.js +0 -94
  153. package/dist/QueryApi-Cdniq3mZ.js +0 -13
  154. package/dist/RichText-9MwwjuZi.js +0 -41
  155. package/dist/Select-CQE5kY-n.js +0 -111
  156. package/dist/Select-DaEqum3a.js +0 -80
  157. package/dist/Text-Dk5tNNZo.js +0 -53
  158. package/dist/Text-DvVWvaMO.js +0 -4
  159. package/dist/Text.vue_vue_type_style_index_0_lang-I01JEYAx.js +0 -53
  160. package/dist/TextLink-D3nvnLHn.js +0 -59
  161. package/dist/Time-CToG3p0T.js +0 -37
  162. package/dist/Timeline-DphvhX0U.js +0 -53
  163. package/dist/Tree-CH1RoUqu.js +0 -117
  164. package/dist/TreeNode-C54d29V-.js +0 -37
  165. package/dist/Upload-BalaO4wz.js +0 -146
  166. package/dist/Upload-DQVaPUdG.js +0 -67
  167. package/dist/UploadApi-Cfm5DM_x.js +0 -13
  168. package/dist/Year-Swm3VSzj.js +0 -41
  169. package/dist/main-BYJVoHlf.js +0 -19457
package/dist/main.js CHANGED
@@ -1,4 +1,5 @@
1
- import { n as e, a0 as r, a1 as t, a2 as o, a3 as H, M as c, a4 as l, bq as i, a5 as n, v as p, a6 as b, a7 as S, a8 as d, a9 as v, aa as y, ab as F, $ as m, ac as g, O as u, S as T, u as C, ad as _, ae as h, af as P, ag as R, f as M, b5 as f, b7 as w, b6 as D, ah as E, b9 as k, ai as x, b8 as O, bf as U, bg as I, bh as q, W as j, bi as B, H as G, E as L, aj as V, a as W, A as z, bb as A, ak as J, x as K, h as N, al as Q, am as X, an as Y, bj as Z, bk as $, ao as aa, be as sa, i as ea, ap as ra, bc as ta, bd as oa, aq as Ha, ba as ca, bl as la, ar as ia, as as na, J as pa, at as ba, m as Sa, au as da, av as va, T as ya, aw as Fa, ax as ma, ay as ga, F as ua, az as Ta, aA as Ca, aB as _a, aC as ha, B as Pa, t as Ra, aD as Ma, aE as fa, aF as wa, aG as Da, aH as Ea, aI as ka, X as xa, w as Oa, aJ as Ua, aK as Ia, aL as qa, aM as ja, aN as Ba, Q as Ga, aO as La, aP as Va, aQ as Wa, aR as za, l as Aa, j as Ja, U as Ka, K as Na, aS as Qa, aT as Xa, D as Ya, d as Za, y as $a, e as as, Y as ss, k as es, aU as rs, Z as ts, bm as os, aV as Hs, aW as cs, L as ls, G as is, aX as ns, aY as ps, bn as bs, aZ as Ss, a_ as ds, b as vs, a$ as ys, C as Fs, bo as ms, r as gs, I as us, o as Ts, b0 as Cs, s as _s, b1 as hs, P as Ps, b2 as Rs, b3 as Ms, N as fs, q as ws, V as Ds, b4 as Es, c as ks, R as xs, z as Os, p as Us, _ as Is, bp as qs } from "./main-BYJVoHlf.js";
1
+ import { A as e, aM as r, ag as t, ai as o, aj as H, Q as c, aZ as l, bp as i, aG as n, D as p, b1 as b, ak as S, aH as d, a_ as v, al as y, am as F, R as m, an as g, F as u, X as T, k as C, ab as h, a7 as _, a5 as P, a6 as R, _ as f, b4 as M, b6 as w, b5 as x, a1 as D, b8 as E, a2 as k, b7 as O, be as U, bf as I, bg as j, Z as q, bh as B, H as G, N as L, a8 as V, a as W, J as z, ba as A, ad as J, I as K, p as N, ac as Q, a3 as X, a9 as Y, bi as Z, bj as $, ae as aa, bd as sa, q as ea, af as ra, bb as ta, bc as oa, a4 as Ha, b9 as ca, bk as la, ar as ia, ao as na, G as pa, ap as ba, y as Sa, aq as da, aY as va, Y as ya, aL as Fa, a$ as ma, b0 as ga, P as ua, as as Ta, at as Ca, aJ as ha, aI as _a, M as Pa, O as Ra, b2 as fa, au as Ma, ah as wa, aa as xa, b3 as Da, aO as Ea, V as ka, E as Oa, aN as Ua, aw as Ia, av as ja, ax as qa, ay as Ba, S as Ga, aX as La, az as Va, aK as Wa, aA as za, n as Aa, T as Ja, v as Ka, U as Na, aB as Qa, aC as Xa, L as Ya, c as Za, l as $a, d as as, C as ss, w as es, a0 as rs, $ as ts, bl as os, aQ as Hs, aR as cs, h as ls, i as is, aF as ns, aP as ps, bm as bs, aS as Ss, aD as ds, m as vs, K as ys, bn as Fs, r as ms, x as gs, z as us, aT as Ts, s as Cs, aE as hs, t as _s, aV as Ps, aU as Rs, f as fs, j as Ms, g as ws, aW as xs, b as Ds, W as Es, e as ks, B as Os, u as Us, bo as Is } from "./main-C1iALE1f.js";
2
+ import { h as qs } from "./assets/moment-h96o7c8I.js";
2
3
  export {
3
4
  e as ArrayHelper,
4
5
  r as BrowserHelper,
@@ -21,22 +22,22 @@ export {
21
22
  u as FileHelper,
22
23
  T as HaCaptcha,
23
24
  C as HaCode,
24
- _ as HaCol,
25
- h as HaCompare,
25
+ h as HaCol,
26
+ _ as HaCompare,
26
27
  P as HaCondition,
27
28
  R as HaConditionGroup,
28
- M as HaContainer,
29
- f as HaCrud,
29
+ f as HaContainer,
30
+ M as HaCrud,
30
31
  w as HaDrawer,
31
- D as HaDriver,
32
- E as HaEmpty,
33
- k as HaFeedback,
34
- x as HaFill,
32
+ x as HaDriver,
33
+ D as HaEmpty,
34
+ E as HaFeedback,
35
+ k as HaFill,
35
36
  O as HaForm,
36
37
  U as HaGroup,
37
38
  I as HaHeaderTab,
38
- q as HaHeaderTabs,
39
- j as HaLayout,
39
+ j as HaHeaderTabs,
40
+ q as HaLayout,
40
41
  B as HaMenu,
41
42
  G as HaMissComponent,
42
43
  L as HaOperation,
@@ -75,22 +76,22 @@ export {
75
76
  ua as MathHelper,
76
77
  Ta as Messenger,
77
78
  Ca as MessengerFactory,
78
- _a as MicroHelper,
79
- ha as MountHelper,
79
+ ha as MicroHelper,
80
+ _a as MountHelper,
80
81
  Pa as MouseUtility,
81
82
  Ra as ObjectHelper,
82
- Ma as Position,
83
- fa as ProviderFactory,
83
+ fa as Position,
84
+ Ma as ProviderFactory,
84
85
  wa as ProviderTable,
85
- Da as Range,
86
- Ea as Rect,
87
- ka as Ref,
88
- xa as ScrollHelper,
86
+ xa as Range,
87
+ Da as Rect,
88
+ Ea as Ref,
89
+ ka as ScrollHelper,
89
90
  Oa as SearchIndex,
90
91
  Ua as SignHelper,
91
92
  Ia as SignerFactory,
92
- qa as SqlHelper,
93
- ja as SsoFactory,
93
+ ja as SqlHelper,
94
+ qa as SsoFactory,
94
95
  Ba as SsoUser,
95
96
  Ga as StringHelper,
96
97
  La as SvcFactory,
@@ -122,26 +123,26 @@ export {
122
123
  Ss as logSvc,
123
124
  ds as md5,
124
125
  vs as messenger,
125
- ys as moment,
126
- Fs as pageSvc,
127
- ms as pcI18nSvc,
128
- gs as routerSvc,
129
- us as settingRepo,
130
- Ts as settingSvc,
131
- Cs as socketSvc,
132
- _s as standardSvc,
126
+ qs as moment,
127
+ ys as pageSvc,
128
+ Fs as pcI18nSvc,
129
+ ms as routerSvc,
130
+ gs as settingRepo,
131
+ us as settingSvc,
132
+ Ts as socketSvc,
133
+ Cs as standardSvc,
133
134
  hs as storage,
134
- Ps as t,
135
- Rs as t_enum,
136
- Ms as t_exists,
135
+ _s as t,
136
+ Ps as t_enum,
137
+ Rs as t_exists,
137
138
  fs as t_field,
138
- ws as t_field_choose_placeholder,
139
- Ds as t_field_placeholder,
140
- Es as t_menu,
141
- ks as t_module,
142
- xs as t_sys,
143
- Os as t_table,
144
- Us as uploadSvc,
145
- Is as userSvc,
146
- qs as windowSvc
139
+ Ms as t_field_choose_placeholder,
140
+ ws as t_field_placeholder,
141
+ xs as t_menu,
142
+ Ds as t_module,
143
+ Es as t_sys,
144
+ ks as t_table,
145
+ Os as uploadSvc,
146
+ Us as userSvc,
147
+ Is as windowSvc
147
148
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-pc",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Halo pc framework",
5
5
  "scripts": {
6
6
  "halo-pc:tsc": "vue-tsc",
@@ -40,7 +40,7 @@
40
40
  "clipboard": "2.0.11",
41
41
  "echarts": "5.5.1",
42
42
  "intro.js": "8.0.0-beta.1",
43
- "halo-fe": "1.0.16",
43
+ "halo-fe": "1.0.17",
44
44
  "sortablejs": "1.15.2",
45
45
  "vue-canvas-nest": "2.0.0",
46
46
  "vue-router": "4.4.3"
@@ -1,194 +0,0 @@
1
- import { defineComponent as ae, toRefs as oe, ref as c, onMounted as ne, computed as re, resolveComponent as b, openBlock as u, createElementBlock as f, unref as e, createBlock as k, createCommentVNode as _, createVNode as w, normalizeStyle as se, withCtx as C, createElementVNode as i, Fragment as ie, renderList as ue, withModifiers as H, toDisplayString as d, resolveDynamicComponent as ce, createTextVNode as N } from "vue";
2
- import { e as de, J as D, K as pe, P as me, a as ve, L as ge, b as fe, v as E } from "./main-BYJVoHlf.js";
3
- import { _ as he } from "./SearchForm.vue_vue_type_style_index_0_lang-23AxHYiw.js";
4
- const _e = { class: "article-layout" }, ye = ["href", "onClick"], be = ["src"], ke = { class: "article-title" }, we = {
5
- key: 0,
6
- class: "article-content"
7
- }, Ce = { class: "article-time" }, Re = {
8
- key: 1,
9
- class: "article-view-count"
10
- }, xe = ["href"], $e = /* @__PURE__ */ i("i", { class: "fa fa-plus" }, null, -1), Be = { class: "el-drawer__title" }, Se = ["href"], Ne = /* @__PURE__ */ ae({
11
- __name: "Article",
12
- props: {
13
- searchData: {},
14
- module: {},
15
- schema: {},
16
- table: {},
17
- layout: {},
18
- next: {},
19
- set: {}
20
- },
21
- emits: ["page-change", "navigate", "search", "succeed", "close"],
22
- setup(M, { expose: P, emit: U }) {
23
- let p = U, K = M, { module: F, schema: J, table: n, layout: r, next: m, set: R, searchData: L } = oe(K), x = c(), y = c(), $ = c(), B = c(), h = c();
24
- c({ layout: "prev, pager, next", count: 5 });
25
- let a = c({ page: null, url: null, row: null, visible: !1, appendToBody: !1 }), S = (t) => {
26
- g("insert", null, t);
27
- }, j = (t, l) => {
28
- g("detail", t, l);
29
- }, A = (t, l) => {
30
- g("update", t, l);
31
- }, q = (t, l) => {
32
- g("copy", t, l);
33
- }, G = (t, l) => {
34
- g("delete", t, l);
35
- }, I = (t) => {
36
- let l = t.map((s) => s[n.value.key.name]);
37
- ge.post(m.value.delete.route, l).then((s) => {
38
- fe.success(s.message), T();
39
- });
40
- }, g = (t, l, s) => {
41
- let v = z(t, l);
42
- s.ctrlKey ? (a.value.row = null, p("navigate", v)) : (a.value.appendToBody = s.altKey, a.value.page = t, a.value.url = v, a.value.row = l, a.value.visible = !0);
43
- }, z = (t, l = null) => {
44
- let s = `${m.value[t].route}`;
45
- if (l != null) {
46
- let v = l[n.value.key.name];
47
- s += `?id=${v}`;
48
- }
49
- return s;
50
- }, O = () => {
51
- a.value.visible = !1, p("close");
52
- }, T = (t = null) => {
53
- a.value.visible = !1, p("succeed", t);
54
- }, Q = (t) => {
55
- p("page-change", t);
56
- }, W = (t) => {
57
- p("navigate", t);
58
- }, X = () => {
59
- p("search");
60
- }, Y = () => {
61
- V();
62
- }, Z = (t, l) => {
63
- if (!h.value || !h.value.keyboard)
64
- return !1;
65
- h.value.keyboard(t, l);
66
- }, ee = (t) => {
67
- V();
68
- }, V = () => {
69
- if (y.value == null)
70
- return;
71
- let t = E.getHeight(x.value), l = E.getHeight([y.value.$el, $.value]);
72
- B.value = t - l;
73
- };
74
- ne(() => {
75
- });
76
- let te = re(() => {
77
- let t = `/${n.value.name}/article-footer`;
78
- return de.getComponent(t, "partial", "article-footer");
79
- });
80
- return P({ keyboard: Z, resize: ee }), (t, l) => {
81
- const s = b("el-scrollbar"), v = b("el-pagination"), le = b("el-drawer");
82
- return u(), f("div", {
83
- ref_key: "pagingRef",
84
- ref: x,
85
- class: "paging-article"
86
- }, [
87
- e(n).search.length > 0 ? (u(), k(he, {
88
- key: 0,
89
- ref_key: "searchRef",
90
- ref: y,
91
- schema: e(J),
92
- table: e(n),
93
- layout: e(r),
94
- "search-data": e(L),
95
- onSubmit: e(X),
96
- onMounted: e(Y)
97
- }, null, 8, ["schema", "table", "layout", "search-data", "onSubmit", "onMounted"])) : _("", !0),
98
- w(s, {
99
- class: "article-scroller",
100
- style: se({ height: e(B) + "px" })
101
- }, {
102
- default: C(() => [
103
- i("div", _e, [
104
- (u(!0), f(ie, null, ue(e(R)[e(n).name], (o) => (u(), f("a", {
105
- class: "article",
106
- href: `${e(m).detail.route}?id=${o[e(n).key.name]}`,
107
- onClick: H((ze) => e(W)(`${e(m).detail.route}?id=${o[e(n).key.name]}`), ["prevent"]),
108
- key: o[e(n).key.name]
109
- }, [
110
- i("img", {
111
- class: "article-image",
112
- src: o[e(r).image]
113
- }, null, 8, be),
114
- i("div", ke, d(o[e(r).title]), 1),
115
- e(D).getText(o[e(r).content]) ? (u(), f("div", we, d(e(D).getText(o[e(r).content])), 1)) : _("", !0),
116
- i("div", Ce, d(o[e(r).time]), 1),
117
- o[e(r).viewCount] ? (u(), f("div", Re, d(o[e(r).viewCount]), 1)) : _("", !0),
118
- (u(), k(ce(e(te)), {
119
- table: e(n),
120
- next: e(m),
121
- set: e(R),
122
- row: o,
123
- onPreview: e(j),
124
- onEdit: e(A),
125
- onCopy: e(q),
126
- onBeforeRemove: e(G),
127
- onRemove: e(I)
128
- }, null, 40, ["table", "next", "set", "row", "onPreview", "onEdit", "onCopy", "onBeforeRemove", "onRemove"]))
129
- ], 8, ye))), 128)),
130
- i("a", {
131
- href: e(z)("insert"),
132
- class: "article-add",
133
- onClick: l[0] || (l[0] = H(
134
- //@ts-ignore
135
- (...o) => e(S) && e(S)(...o),
136
- ["prevent"]
137
- ))
138
- }, [
139
- $e,
140
- N(" 添加新" + d(e(n).title), 1)
141
- ], 8, xe)
142
- ])
143
- ]),
144
- _: 1
145
- }, 8, ["style"]),
146
- i("div", {
147
- ref_key: "footerRef",
148
- ref: $,
149
- class: "article-bottom"
150
- }, [
151
- w(v, {
152
- background: "",
153
- layout: "total, prev, pager, next, jumper",
154
- "current-page": e(r).page,
155
- "page-size": e(r).pageSize,
156
- total: e(r).count,
157
- onCurrentChange: e(Q)
158
- }, null, 8, ["current-page", "page-size", "total", "onCurrentChange"])
159
- ], 512),
160
- e(a).page ? (u(), k(le, {
161
- key: 1,
162
- "destroy-on-close": "",
163
- "append-to-body": e(a).appendToBody,
164
- size: `${e(F).width ?? "60%"}`,
165
- modelValue: e(a).visible,
166
- "onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).visible = o)
167
- }, {
168
- header: C(() => [
169
- i("div", Be, [
170
- N(d(e(m)[e(a).page].title) + " ", 1),
171
- i("a", {
172
- class: "drawer-copy",
173
- href: e(pe).getToUrl(e(a).url)
174
- }, d(e(me)("common.link")), 9, Se)
175
- ])
176
- ]),
177
- default: C(() => [
178
- w(e(ve), {
179
- ref_key: "pageRef",
180
- ref: h,
181
- url: e(a).url,
182
- onSucceed: e(T),
183
- onClose: e(O)
184
- }, null, 8, ["url", "onSucceed", "onClose"])
185
- ]),
186
- _: 1
187
- }, 8, ["append-to-body", "size", "modelValue"])) : _("", !0)
188
- ], 512);
189
- };
190
- }
191
- });
192
- export {
193
- Ne as default
194
- };
@@ -1,48 +0,0 @@
1
- import { defineComponent as V, toRefs as v, ref as _, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as a, isRef as B } from "vue";
2
- import { V as D, Q as R, L as A } from "./main-BYJVoHlf.js";
3
- const S = /* @__PURE__ */ V({
4
- __name: "Autocomplete",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- searchData: {},
10
- modelValue: {}
11
- },
12
- emits: ["submit", "change", "update:modelValue"],
13
- setup(p, { emit: c }) {
14
- let m = c, d = p, { table: i, field: r, searchData: I, modelValue: f } = v(d), o = _([]), g = null, h = (l, e) => {
15
- if (o.value.length) {
16
- let t = o.value.filter((s) => R.containsIgnoreCase(l, s.value));
17
- e(t);
18
- return;
19
- }
20
- let n = { text: g, conditions: [] };
21
- A.post(r.value.control.data.route, n).then(({ data: t }) => {
22
- o.value = t.map((s) => ({ value: s.text })), e(o.value);
23
- }).catch(() => {
24
- e([]);
25
- });
26
- }, u = x({
27
- get() {
28
- return f.value;
29
- },
30
- set(l) {
31
- m("update:modelValue", l), m("change", l);
32
- }
33
- });
34
- return (l, e) => {
35
- const n = C("el-autocomplete");
36
- return b(), k(n, {
37
- clearable: "",
38
- placeholder: a(D)(a(i).name, a(r).name),
39
- "fetch-suggestions": a(h),
40
- modelValue: a(u),
41
- "onUpdate:modelValue": e[0] || (e[0] = (t) => B(u) ? u.value = t : u = t)
42
- }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
43
- };
44
- }
45
- });
46
- export {
47
- S as default
48
- };
@@ -1,49 +0,0 @@
1
- import { defineComponent as V, toRefs as v, ref as _, computed as x, resolveComponent as C, openBlock as b, createBlock as k, unref as o, isRef as B } from "vue";
2
- import { V as R, Q as w, L as A } from "./main-BYJVoHlf.js";
3
- const S = /* @__PURE__ */ V({
4
- __name: "Autocomplete",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- emits: ["submit", "change", "update:modelValue"],
14
- setup(p, { emit: d }) {
15
- let m = d, c = p, { table: i, field: r, set: I, modelValue: f } = v(c), a = _([]), g = null, h = (l, e) => {
16
- if (a.value.length) {
17
- let t = a.value.filter((s) => w.containsIgnoreCase(l, s.value));
18
- e(t);
19
- return;
20
- }
21
- let n = { text: g, conditions: [] };
22
- A.post(r.value.control.data.route, n).then(({ data: t }) => {
23
- a.value = t.map((s) => ({ value: s.text })), e(a.value);
24
- }).catch(() => {
25
- e([]);
26
- });
27
- }, u = x({
28
- get() {
29
- return f.value;
30
- },
31
- set(l) {
32
- m("update:modelValue", l), m("change", l);
33
- }
34
- });
35
- return (l, e) => {
36
- const n = C("el-autocomplete");
37
- return b(), k(n, {
38
- clearable: "",
39
- placeholder: o(R)(o(i).name, o(r).name),
40
- "fetch-suggestions": o(h),
41
- modelValue: o(u),
42
- "onUpdate:modelValue": e[0] || (e[0] = (t) => B(u) ? u.value = t : u = t)
43
- }, null, 8, ["placeholder", "fetch-suggestions", "modelValue"]);
44
- };
45
- }
46
- });
47
- export {
48
- S as default
49
- };
@@ -1,20 +0,0 @@
1
- import { defineComponent as o } from "vue";
2
- import { useRouter as i, useRoute as n } from "vue-router";
3
- import { b as s, $ as u } from "./main-BYJVoHlf.js";
4
- const y = /* @__PURE__ */ o({
5
- __name: "Callback",
6
- setup(a) {
7
- let r = i(), t = n().query;
8
- return (async () => {
9
- if (!t.type) {
10
- s.error("缺失type参数");
11
- return;
12
- }
13
- let e = await u.sso.create(t.type.toString());
14
- t.identity = JSON.parse(t.identity.toString()), e.login(t), r.push(t.return_url.toString());
15
- })(), (e, l) => " 登录完毕,处理回调中... ";
16
- }
17
- });
18
- export {
19
- y as default
20
- };
@@ -1,81 +0,0 @@
1
- import { defineComponent as E, toRefs as j, ref as q, computed as w, resolveComponent as N, openBlock as c, createBlock as R, unref as a, isRef as S, withCtx as D, createElementVNode as I, createTextVNode as P, toDisplayString as i, createElementBlock as m, createCommentVNode as f } from "vue";
2
- import { q as L, j as h, L as T } from "./main-BYJVoHlf.js";
3
- const U = {
4
- key: 0,
5
- class: "cascader-suffix"
6
- }, z = {
7
- key: 0,
8
- class: "cascader-length"
9
- }, J = /* @__PURE__ */ E({
10
- __name: "Cascader",
11
- props: {
12
- schema: {},
13
- table: {},
14
- field: {},
15
- set: {},
16
- row: {},
17
- modelValue: {}
18
- },
19
- emits: ["submit", "change", "update:modelValue"],
20
- setup(v, { emit: g }) {
21
- let d = g, V = v, { table: b, field: t, set: A, row: F, modelValue: _ } = j(V), n = q(), p = null, x = () => {
22
- n.value || (n.value = t.value.control.data.data);
23
- let e = _.value, l = [];
24
- return t.value.control.multiple ? (e ? e.toString().split(",") : [e]).forEach((s) => {
25
- let o = h.getParentsById(s, "value", n.value, "children", !0);
26
- o.length > 0 && l.push(o.map((B) => B.value));
27
- }) : h.getParentsById(e, "value", n.value, "children", !0).forEach((s) => {
28
- l.push(s.value);
29
- }), l;
30
- }, C = (e) => {
31
- let l;
32
- t.value.control.multiple ? l = e.map((r) => r[r.length - 1]).join(",") : l = e[e.length - 1], d("update:modelValue", l), d("change", l);
33
- }, y = (e) => {
34
- e && (p = null, k());
35
- }, k = () => {
36
- let e = { text: p, conditions: [] };
37
- t.value.control.data.conditions.forEach((l) => {
38
- e.conditions.push({ name: l.name, value: null });
39
- }), T.post(t.value.control.data.route, e).then(({ data: l }) => {
40
- n.value = l;
41
- });
42
- }, u = w({
43
- get() {
44
- return x();
45
- },
46
- set(e) {
47
- C(e);
48
- }
49
- });
50
- return (e, l) => {
51
- const r = N("el-cascader");
52
- return c(), R(r, {
53
- ref: "cascaderRef",
54
- placeholder: a(L)(a(b).name, a(t).name),
55
- filterable: "",
56
- "collapse-tags": "",
57
- "collapse-tags-tooltip": "",
58
- "max-collapse-tags": 6,
59
- options: a(n),
60
- disabled: a(t).readonly,
61
- props: { label: "text", checkStrictly: !0, multiple: a(t).control.multiple },
62
- clearable: !a(t).control.required,
63
- onVisibleChange: a(y),
64
- modelValue: a(u),
65
- "onUpdate:modelValue": l[0] || (l[0] = (s) => S(u) ? u.value = s : u = s)
66
- }, {
67
- default: D(({ node: s, data: o }) => [
68
- I("span", null, [
69
- P(i(o.text), 1),
70
- o.suffix ? (c(), m("span", U, "(" + i(o.suffix) + ")", 1)) : f("", !0)
71
- ]),
72
- o.children ? (c(), m("span", z, i(o.children.length), 1)) : f("", !0)
73
- ]),
74
- _: 1
75
- }, 8, ["placeholder", "options", "disabled", "props", "clearable", "onVisibleChange", "modelValue"]);
76
- };
77
- }
78
- });
79
- export {
80
- J as default
81
- };
@@ -1,41 +0,0 @@
1
- import { defineComponent as y, toRefs as k, computed as p, openBlock as e, createElementBlock as t, Fragment as d, renderList as m, unref as f, normalizeStyle as x, toDisplayString as h, createCommentVNode as b } from "vue";
2
- import { j as B } from "./main-BYJVoHlf.js";
3
- const C = { class: "text-cascader" }, S = {
4
- key: 0,
5
- class: "cascader-seperator"
6
- }, F = /* @__PURE__ */ y({
7
- __name: "Cascader",
8
- props: {
9
- schema: {},
10
- table: {},
11
- field: {},
12
- set: {},
13
- row: {},
14
- modelValue: {}
15
- },
16
- emits: ["submit", "change"],
17
- setup(_, { emit: V }) {
18
- let v = _, { table: j, field: s, set: w, row: E, modelValue: a } = k(v), u = p(() => s.value.control.multiple ? a.value ? a.value.toString().split(",") : [] : a.value), c = p(() => {
19
- if (u.value.length > 0) {
20
- let i = s.value.control.data.data, n = [];
21
- return u.value.forEach((r) => {
22
- let l = B.getParentsById(r, "value", i, "children", !0);
23
- l.length > 0 && n.push(l);
24
- }), n;
25
- }
26
- return [];
27
- });
28
- return (i, n) => (e(), t("div", C, [
29
- (e(!0), t(d, null, m(f(c), (r, l) => (e(), t("span", null, [
30
- (e(!0), t(d, null, m(r, (o, g) => (e(), t("span", {
31
- style: x({ color: o.color }),
32
- key: o.value
33
- }, h(o.text) + h(g == r.length - 1 ? "" : " / "), 5))), 128)),
34
- l != f(c).length - 1 ? (e(), t("span", S, ",")) : b("", !0)
35
- ]))), 256))
36
- ]));
37
- }
38
- });
39
- export {
40
- F as default
41
- };
@@ -1,70 +0,0 @@
1
- import { defineComponent as N, toRefs as w, ref as p, computed as A, resolveComponent as g, openBlock as s, createElementBlock as f, createVNode as v, unref as t, isRef as _, withCtx as m, Fragment as E, renderList as P, createBlock as R, createTextVNode as V, toDisplayString as k, createElementVNode as S } from "vue";
2
- import { P as U } from "./main-BYJVoHlf.js";
3
- const D = { class: "control-checkbox" }, F = { class: "check-all" }, z = /* @__PURE__ */ N({
4
- __name: "Checkbox",
5
- props: {
6
- schema: {},
7
- table: {},
8
- field: {},
9
- set: {},
10
- row: {},
11
- modelValue: {}
12
- },
13
- emits: ["change", "update:modelValue"],
14
- setup(x, { emit: b }) {
15
- let i = b, C = x, { field: r, table: L, set: T, modelValue: h } = w(C), u = p(!1), c = p(!1), y = (n) => {
16
- o.value = n ? r.value.control.data.data.map((e) => e.value) : [], c.value = !1;
17
- }, B = (n) => {
18
- let e = r.value.control.data.data.map((d) => d.value), a = n.filter((d) => e.includes(d));
19
- u.value = a.length == e.length, c.value = a.length > 0 && a.length < e.length, o.value = a;
20
- }, o = A({
21
- get() {
22
- return h.value ? h.value.split(",") : [];
23
- },
24
- set(n) {
25
- let e = n.toString();
26
- i("update:modelValue", e), i("change", e);
27
- }
28
- });
29
- return (n, e) => {
30
- const a = g("el-checkbox"), d = g("el-checkbox-group");
31
- return s(), f("div", D, [
32
- v(d, {
33
- onChange: t(B),
34
- modelValue: t(o),
35
- "onUpdate:modelValue": e[0] || (e[0] = (l) => _(o) ? o.value = l : o = l)
36
- }, {
37
- default: m(() => [
38
- (s(!0), f(E, null, P(t(r).control.data.data, (l) => (s(), R(a, {
39
- disabled: t(r).control.readonly,
40
- value: l.value,
41
- key: l.value
42
- }, {
43
- default: m(() => [
44
- V(k(l.text), 1)
45
- ]),
46
- _: 2
47
- }, 1032, ["disabled", "value"]))), 128))
48
- ]),
49
- _: 1
50
- }, 8, ["onChange", "modelValue"]),
51
- S("div", F, [
52
- v(a, {
53
- indeterminate: t(c),
54
- onChange: t(y),
55
- modelValue: t(u),
56
- "onUpdate:modelValue": e[1] || (e[1] = (l) => _(u) ? u.value = l : u = l)
57
- }, {
58
- default: m(() => [
59
- V(k(t(U)("common.select_all")), 1)
60
- ]),
61
- _: 1
62
- }, 8, ["indeterminate", "onChange", "modelValue"])
63
- ])
64
- ]);
65
- };
66
- }
67
- });
68
- export {
69
- z as default
70
- };