@pubinfo/module-rbac 2.0.0-beta.31 → 2.0.0-beta.32

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 (228) hide show
  1. package/dist/OrgSelector-DWT1w1h-.js +27 -0
  2. package/dist/OrgUserSelector-VjiKyUET.js +1 -0
  3. package/dist/ResourceSelector-D1mJz7F1.js +1 -0
  4. package/dist/_baseClone-CBD6n26E.js +1 -0
  5. package/dist/_initCloneObject-CzZMvAGd.js +1 -0
  6. package/dist/_plugin-vue_export-helper-BP6J6hmQ.js +1 -0
  7. package/dist/animation_item-D4pH5y91.js +2 -0
  8. package/dist/assist-D6hXeP0y.js +1 -0
  9. package/dist/blackWhiteList-C0vzrSes.js +1 -0
  10. package/dist/breadcrumb_setting-105xA0or.js +1 -0
  11. package/dist/browserType-WCrQysPD.js +1 -0
  12. package/dist/chunk-oLkGOndT.js +1 -0
  13. package/dist/cloneDeep-B4mZx_tg.js +1 -0
  14. package/dist/components/GroupSelector/index.vue.d.ts +4 -4
  15. package/dist/components/OrgTree/index.vue.d.ts +1 -1
  16. package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +4 -4
  17. package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +4 -4
  18. package/dist/components/ResourceSelector/index.vue.d.ts +5 -5
  19. package/dist/composables/useLottie.d.ts +1 -1
  20. package/dist/configData-C-XgieQd.js +1 -0
  21. package/dist/data-permission-DcXUZZ1G.js +1 -0
  22. package/dist/dictionary-BafvPpvf.js +1 -0
  23. package/dist/enum-C0pwhwh3.js +1 -0
  24. package/dist/enum-CEWFYwLa.js +1 -0
  25. package/dist/enum-CFY_YSvf.js +1 -0
  26. package/dist/enum-G-OAfo9d.js +1 -0
  27. package/dist/group-C1e_vupc.js +1 -0
  28. package/dist/index.js +1 -9
  29. package/dist/interface.d.ts +1 -1
  30. package/dist/itemlist-Dy9O9k6h.js +1 -0
  31. package/dist/layout_setting-BzYjnHvF.js +1 -0
  32. package/dist/login_history-DXixU5An.js +1 -0
  33. package/dist/menu_setting-DWM1r6js.js +1 -0
  34. package/dist/not-data-D8CCqeCi.js +1 -0
  35. package/dist/operate_history-DaDVex6q.js +1 -0
  36. package/dist/organization-CsSd1lr2.js +10 -0
  37. package/dist/other_setting-Dq67iG6v.js +1 -0
  38. package/dist/page_animation_setting-Cj6N5TJq.js +1 -0
  39. package/dist/page_w_setting-Dmik-Xi7.js +1 -0
  40. package/dist/position-CzxbbVOL.js +1 -0
  41. package/dist/rbac-DJC95w7l.js +1 -0
  42. package/dist/region-DGxnlpyo.js +1 -0
  43. package/dist/request-C2x7wP-H.js +1 -0
  44. package/dist/resource-BFe47BKW.js +1 -0
  45. package/dist/role-Bo47PnSD.js +1 -0
  46. package/dist/role_group-BVPoRr1q.js +1 -0
  47. package/dist/routes/index.d.ts +1 -1
  48. package/dist/routes/modules/authority.manage.menu.d.ts +1 -1
  49. package/dist/routes/modules/log.manage.menu.d.ts +1 -1
  50. package/dist/routes/modules/safe.manage.menu.d.ts +1 -1
  51. package/dist/routes/modules/stylesetting.manage.menu.d.ts +1 -1
  52. package/dist/routes/modules/system.manage.menu.d.ts +1 -1
  53. package/dist/safe_setting-kBJgSjzd.js +1 -0
  54. package/dist/setItem-DXsVoKM_.js +1 -0
  55. package/dist/shared-DcMP4Woj.js +1 -0
  56. package/dist/stores-pP-UCq1z.js +1 -0
  57. package/dist/style.css +2 -1
  58. package/dist/tabbar_setting-C9uHCbA0.js +1 -0
  59. package/dist/tenant-BA6IO7wP.js +1 -0
  60. package/dist/theme_setting-CxoaGtjk.js +1 -0
  61. package/dist/toolbar_setting-DyiZvqwf.js +1 -0
  62. package/dist/useAppAndResource-D5u0TDHS.js +1 -0
  63. package/dist/user-B5W5JRXl.js +1 -0
  64. package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +4 -4
  65. package/dist/views/blackWhiteList/index.vue.d.ts +319 -319
  66. package/dist/views/breadcrumb_setting/index.vue.d.ts +1 -1
  67. package/dist/views/components/HCheckList.vue.d.ts +3 -3
  68. package/dist/views/components/animation_item.vue.d.ts +5 -5
  69. package/dist/views/components/setItem.vue.d.ts +17 -17
  70. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +28 -28
  71. package/dist/views/data-permission/index.vue.d.ts +343 -343
  72. package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +4 -4
  73. package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +4 -4
  74. package/dist/views/dictionary/index.vue.d.ts +319 -319
  75. package/dist/views/dictionary/itemlist.vue.d.ts +319 -319
  76. package/dist/views/group/components/drawerGroup.vue.d.ts +4 -4
  77. package/dist/views/group/index.vue.d.ts +319 -319
  78. package/dist/views/layout_setting/index.vue.d.ts +1 -1
  79. package/dist/views/log_center/components/browserType.vue.d.ts +3 -3
  80. package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +4 -4
  81. package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +4 -4
  82. package/dist/views/log_center/login_history.vue.d.ts +315 -315
  83. package/dist/views/log_center/operate_history.vue.d.ts +315 -315
  84. package/dist/views/menu_setting/index.vue.d.ts +1 -1
  85. package/dist/views/organization/components/drawerOrganization.vue.d.ts +4 -4
  86. package/dist/views/organization/components/drawerRole.vue.d.ts +7 -7
  87. package/dist/views/organization/components/roleSelect.vue.d.ts +4 -4
  88. package/dist/views/organization/index.vue.d.ts +14 -14
  89. package/dist/views/other_setting/index.vue.d.ts +1 -1
  90. package/dist/views/page_animation_setting/index.vue.d.ts +1 -1
  91. package/dist/views/page_w_setting/index.vue.d.ts +1 -1
  92. package/dist/views/position/components/drawerPosition.vue.d.ts +4 -4
  93. package/dist/views/position/index.vue.d.ts +319 -319
  94. package/dist/views/region/components/drawerRegion.vue.d.ts +4 -4
  95. package/dist/views/region/index.vue.d.ts +319 -319
  96. package/dist/views/resource/components/ResourceEdit.vue.d.ts +4 -4
  97. package/dist/views/resource/components/RoleRelation.vue.d.ts +2 -2
  98. package/dist/views/resource/index.vue.d.ts +321 -321
  99. package/dist/views/role/components/ResourceRelation.vue.d.ts +316 -316
  100. package/dist/views/role/components/drawerRole.vue.d.ts +10 -10
  101. package/dist/views/role/index.vue.d.ts +642 -642
  102. package/dist/views/role_group/components/drawerRole.vue.d.ts +7 -7
  103. package/dist/views/role_group/components/roleSelect.vue.d.ts +4 -4
  104. package/dist/views/role_group/index.vue.d.ts +322 -322
  105. package/dist/views/safe_setting/index.vue.d.ts +1 -1
  106. package/dist/views/tabbar_setting/index.vue.d.ts +1 -1
  107. package/dist/views/tenant/components/TenantEdit.vue.d.ts +10 -10
  108. package/dist/views/tenant/index.vue.d.ts +325 -325
  109. package/dist/views/theme_setting/index.vue.d.ts +1 -1
  110. package/dist/views/toolbar_setting/index.vue.d.ts +1 -1
  111. package/dist/views/user/components/OrgAndPosition.vue.d.ts +3 -3
  112. package/dist/views/user/components/UserAuthorization.vue.d.ts +7 -7
  113. package/dist/views/user/components/UserEdit.vue.d.ts +4 -4
  114. package/dist/views/user/components/roleSelect.vue.d.ts +4 -4
  115. package/dist/views/user/index.vue.d.ts +326 -326
  116. package/dist/views/watermark_setting/index.vue.d.ts +9 -9
  117. package/dist/watermark_setting-ChDfJ5of.js +1 -0
  118. package/package.json +7 -7
  119. package/src/assets/icons/browser-chrome.svg +1 -0
  120. package/src/assets/icons/browser-edge.svg +1 -0
  121. package/src/assets/icons/browser-ie.svg +1 -0
  122. package/src/assets/icons/browser-other.svg +1 -0
  123. package/src/assets/icons/browser-safari.svg +1 -0
  124. package/src/components/GroupSelector/index.vue +64 -89
  125. package/src/components/OrgTree/index.vue +2 -2
  126. package/src/components/OrgUserSelector/provider.ts +1 -1
  127. package/src/components/ResourceSelector/index.vue +33 -50
  128. package/src/routes/index.ts +1 -1
  129. package/src/views/blackWhiteList/components/drawerBlackWhiteList.vue +1 -1
  130. package/src/views/blackWhiteList/index.vue +10 -18
  131. package/src/views/breadcrumb_setting/index.vue +3 -3
  132. package/src/views/components/animation_item.vue +2 -2
  133. package/src/views/components/setItem.vue +13 -20
  134. package/src/views/data-permission/components/createAndEditDataPermission.vue +4 -4
  135. package/src/views/data-permission/enum.ts +7 -7
  136. package/src/views/data-permission/index.vue +7 -10
  137. package/src/views/dictionary/components/drawerDictionary.vue +1 -1
  138. package/src/views/dictionary/components/drawerDictionaryItem.vue +1 -1
  139. package/src/views/dictionary/index.vue +3 -3
  140. package/src/views/dictionary/itemlist.vue +1 -1
  141. package/src/views/group/components/drawerGroup.vue +2 -2
  142. package/src/views/group/index.vue +10 -16
  143. package/src/views/layout_setting/index.vue +154 -164
  144. package/src/views/log_center/components/loginHistoryDetail.vue +6 -8
  145. package/src/views/log_center/components/operateHistoryDetail.vue +6 -8
  146. package/src/views/log_center/login_history.vue +6 -11
  147. package/src/views/log_center/operate_history.vue +6 -11
  148. package/src/views/menu_setting/index.vue +3 -3
  149. package/src/views/organization/components/drawerOrganization.vue +3 -3
  150. package/src/views/organization/components/drawerRole.vue +2 -2
  151. package/src/views/organization/components/roleSelect.vue +37 -58
  152. package/src/views/organization/index.vue +23 -49
  153. package/src/views/other_setting/index.vue +2 -2
  154. package/src/views/page_animation_setting/index.vue +10 -18
  155. package/src/views/page_w_setting/index.vue +133 -116
  156. package/src/views/position/components/drawerPosition.vue +2 -2
  157. package/src/views/position/index.vue +1 -1
  158. package/src/views/region/components/drawerRegion.vue +2 -2
  159. package/src/views/region/index.vue +1 -1
  160. package/src/views/resource/components/ResourceEdit.vue +2 -2
  161. package/src/views/resource/components/RoleRelation.vue +1 -1
  162. package/src/views/resource/index.vue +1 -1
  163. package/src/views/role/components/ResourceRelation.vue +3 -4
  164. package/src/views/role/components/drawerRole.vue +3 -3
  165. package/src/views/role/index.vue +1 -1
  166. package/src/views/role_group/components/ResourceRelation.vue +3 -4
  167. package/src/views/role_group/components/drawerRole.vue +1 -1
  168. package/src/views/role_group/components/roleSelect.vue +36 -60
  169. package/src/views/role_group/index.vue +1 -1
  170. package/src/views/safe_setting/index.vue +5 -7
  171. package/src/views/tabbar_setting/index.vue +2 -2
  172. package/src/views/tenant/components/TenantEdit.vue +1 -1
  173. package/src/views/tenant/index.vue +1 -1
  174. package/src/views/theme_setting/index.vue +200 -230
  175. package/src/views/toolbar_setting/index.vue +3 -3
  176. package/src/views/user/components/OrgAndPosition.vue +1 -1
  177. package/src/views/user/components/UserAuthorization.vue +6 -6
  178. package/src/views/user/components/UserEdit.vue +1 -1
  179. package/src/views/user/components/roleSelect.vue +36 -68
  180. package/src/views/user/index.vue +1 -1
  181. package/src/views/watermark_setting/index.vue +8 -15
  182. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  183. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  184. package/dist/animation_item.vue_vue_type_script_setup_true_lang-efL_vjfY.js +0 -4864
  185. package/dist/browserType.vue_vue_type_script_setup_true_lang-Cv8wph6G.js +0 -38
  186. package/dist/cloneDeep-B4Rj61s4.js +0 -8
  187. package/dist/enum-BEHz_Q18.js +0 -74
  188. package/dist/enum-C9ihxJe7.js +0 -4
  189. package/dist/enum-CTUzwCYG.js +0 -4
  190. package/dist/enum-DDKThkSw.js +0 -24
  191. package/dist/gangweijiekou-CV7cIo_W.js +0 -46
  192. package/dist/index-B6A3qFeU.js +0 -18585
  193. package/dist/index-BChMrCkZ.js +0 -399
  194. package/dist/index-BIUkDwk2.js +0 -465
  195. package/dist/index-BOEO9CRp.js +0 -7084
  196. package/dist/index-BgdW__IO.js +0 -125
  197. package/dist/index-Bi0fucZj.js +0 -871
  198. package/dist/index-Bj3Ee1l-.js +0 -177
  199. package/dist/index-Bzjxdd-F.js +0 -702
  200. package/dist/index-CF4XGkrK.js +0 -454
  201. package/dist/index-CGAa6YPO.js +0 -273
  202. package/dist/index-CK582XAz.js +0 -317
  203. package/dist/index-Ce9x4LEV.js +0 -633
  204. package/dist/index-CkVgkVvC.js +0 -461
  205. package/dist/index-D4uw6wJ9.js +0 -181
  206. package/dist/index-DFrT08M4.js +0 -388
  207. package/dist/index-Dju21Cnm.js +0 -140
  208. package/dist/index-Dmg39liA.js +0 -168
  209. package/dist/index-DvE43Xkt.js +0 -408
  210. package/dist/index-Dx3ZDeWT.js +0 -684
  211. package/dist/index-MmfEJgmm.js +0 -860
  212. package/dist/index-RBHLCaQ9.js +0 -1626
  213. package/dist/index-Y2jyqjVz.js +0 -303
  214. package/dist/index-b_92Syzh.js +0 -131
  215. package/dist/index-g5Fyla0r.js +0 -164
  216. package/dist/index-qdAiA-PA.js +0 -286
  217. package/dist/itemlist-Og2t8W5R.js +0 -368
  218. package/dist/jiaosejiekou-0xZkLzL_.js +0 -58
  219. package/dist/login_history-BJWFChQ3.js +0 -430
  220. package/dist/operate_history-C1NKnoB5.js +0 -468
  221. package/dist/pubJiaosezukongzhiqi-BlLcThHi.js +0 -57
  222. package/dist/setItem-BRseSui6.js +0 -152
  223. package/dist/shujuquanxianzhubiaokongzhiqi-3CpYi1Zo.js +0 -65
  224. package/dist/useAppAndResource-BF7jQTCi.js +0 -55
  225. package/dist/xitongpeizhifuwu-BIR2CVXp.js +0 -23
  226. package/dist/zidianfuwu-B137v_q7.js +0 -65
  227. package/dist/ziyuanjiekou-j9nd-oaF.js +0 -69
  228. package/dist/zuzhijiaosebiaokongzhiqi-DPbRg7Qd.js +0 -28
@@ -1,871 +0,0 @@
1
- import { Drawer as $e, Form as be, FormItem as De, Input as ye, RangePicker as xe, Switch as Me, Button as he, Tooltip as Te, Space as _e } from "ant-design-vue/es";
2
- import { useAuth as we, PubinfoIcon as Se } from "pubinfo";
3
- import { PlusCircleOutlined as ke } from "@ant-design/icons-vue";
4
- import { defineComponent as ge, reactive as Ie, ref as J, computed as Ce, onMounted as Oe, createBlock as oe, openBlock as W, unref as d, isRef as Ee, withCtx as b, createVNode as p, createTextVNode as te, createElementVNode as ue, toDisplayString as Z, createElementBlock as G, Fragment as ce, renderList as Re, resolveDirective as Ye, createCommentVNode as Pe, withDirectives as le } from "vue";
5
- import { i as ne, u as de } from "./index-BOEO9CRp.js";
6
- import { ProTable as Ae } from "@pubinfo/pro-components";
7
- import { message as ve, Badge as fe, Modal as Ue } from "ant-design-vue";
8
- import { g as je } from "./_commonjsHelpers-C6fGbg64.js";
9
- import { _ as We } from "./index-BChMrCkZ.js";
10
- import { h as Fe } from "./ziyuanjiekou-j9nd-oaF.js";
11
- import { c as pe } from "./cloneDeep-B4Rj61s4.js";
12
- function Le(D, A) {
13
- return ne.Post("/rbac/tenant/pubTenantAdd", D, {
14
- headers: {
15
- "Content-Type": "application/json"
16
- },
17
- ...A || {}
18
- });
19
- }
20
- function He(D, A) {
21
- return ne.Get("/rbac/tenant/pubTenantDelete", {
22
- params: {
23
- ...D
24
- }
25
- });
26
- }
27
- function Ve(D, A) {
28
- return ne.Get("/rbac/tenant/pubTenantInfo", {
29
- params: {
30
- ...D
31
- }
32
- });
33
- }
34
- function qe(D, A) {
35
- return ne.Post("/rbac/tenant/pubTenantPage", D, {
36
- headers: {
37
- "Content-Type": "application/json"
38
- }
39
- });
40
- }
41
- function Be(D, A) {
42
- return ne.Post("/rbac/tenant/pubTenantUpdate", D, {
43
- headers: {
44
- "Content-Type": "application/json"
45
- },
46
- ...A || {}
47
- });
48
- }
49
- var ie = { exports: {} }, Ne = ie.exports, me;
50
- function ze() {
51
- return me || (me = 1, function(D, A) {
52
- (function(L, U) {
53
- D.exports = U();
54
- })(Ne, function() {
55
- var L = 1e3, U = 6e4, V = 36e5, M = "millisecond", R = "second", Y = "minute", C = "hour", u = "day", y = "week", $ = "month", w = "quarter", g = "year", O = "date", S = "Invalid Date", j = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|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, Q = { 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) {
56
- var r = ["th", "st", "nd", "rd"], e = s % 100;
57
- return "[" + s + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
58
- } }, K = function(s, r, e) {
59
- var n = String(s);
60
- return !n || n.length >= r ? s : "" + Array(r + 1 - n.length).join(e) + s;
61
- }, re = { s: K, z: function(s) {
62
- var r = -s.utcOffset(), e = Math.abs(r), n = Math.floor(e / 60), t = e % 60;
63
- return (r <= 0 ? "+" : "-") + K(n, 2, "0") + ":" + K(t, 2, "0");
64
- }, m: function s(r, e) {
65
- if (r.date() < e.date()) return -s(e, r);
66
- var n = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(n, $), i = e - t < 0, o = r.clone().add(n + (i ? -1 : 1), $);
67
- return +(-(n + (e - t) / (i ? t - o : o - t)) || 0);
68
- }, a: function(s) {
69
- return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
70
- }, p: function(s) {
71
- return { M: $, y: g, w: y, d: u, D: O, h: C, m: Y, s: R, ms: M, Q: w }[s] || String(s || "").toLowerCase().replace(/s$/, "");
72
- }, u: function(s) {
73
- return s === void 0;
74
- } }, h = "en", a = {};
75
- a[h] = Q;
76
- var c = "$isDayjsObject", v = function(s) {
77
- return s instanceof N || !(!s || !s[c]);
78
- }, E = function s(r, e, n) {
79
- var t;
80
- if (!r) return h;
81
- if (typeof r == "string") {
82
- var i = r.toLowerCase();
83
- a[i] && (t = i), e && (a[i] = e, t = i);
84
- var o = r.split("-");
85
- if (!t && o.length > 1) return s(o[0]);
86
- } else {
87
- var f = r.name;
88
- a[f] = r, t = f;
89
- }
90
- return !n && t && (h = t), t || !n && h;
91
- }, m = function(s, r) {
92
- if (v(s)) return s.clone();
93
- var e = typeof r == "object" ? r : {};
94
- return e.date = s, e.args = arguments, new N(e);
95
- }, l = re;
96
- l.l = E, l.i = v, l.w = function(s, r) {
97
- return m(s, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
98
- };
99
- var N = function() {
100
- function s(e) {
101
- this.$L = E(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[c] = !0;
102
- }
103
- var r = s.prototype;
104
- return r.parse = function(e) {
105
- this.$d = function(n) {
106
- var t = n.date, i = n.utc;
107
- if (t === null) return /* @__PURE__ */ new Date(NaN);
108
- if (l.u(t)) return /* @__PURE__ */ new Date();
109
- if (t instanceof Date) return new Date(t);
110
- if (typeof t == "string" && !/Z$/i.test(t)) {
111
- var o = t.match(j);
112
- if (o) {
113
- var f = o[2] - 1 || 0, _ = (o[7] || "0").substring(0, 3);
114
- return i ? new Date(Date.UTC(o[1], f, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, _)) : new Date(o[1], f, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, _);
115
- }
116
- }
117
- return new Date(t);
118
- }(e), this.init();
119
- }, r.init = function() {
120
- var e = this.$d;
121
- this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
122
- }, r.$utils = function() {
123
- return l;
124
- }, r.isValid = function() {
125
- return this.$d.toString() !== S;
126
- }, r.isSame = function(e, n) {
127
- var t = m(e);
128
- return this.startOf(n) <= t && t <= this.endOf(n);
129
- }, r.isAfter = function(e, n) {
130
- return m(e) < this.startOf(n);
131
- }, r.isBefore = function(e, n) {
132
- return this.endOf(n) < m(e);
133
- }, r.$g = function(e, n, t) {
134
- return l.u(e) ? this[n] : this.set(t, e);
135
- }, r.unix = function() {
136
- return Math.floor(this.valueOf() / 1e3);
137
- }, r.valueOf = function() {
138
- return this.$d.getTime();
139
- }, r.startOf = function(e, n) {
140
- var t = this, i = !!l.u(n) || n, o = l.p(e), f = function(B, k) {
141
- var H = l.w(t.$u ? Date.UTC(t.$y, k, B) : new Date(t.$y, k, B), t);
142
- return i ? H : H.endOf(u);
143
- }, _ = function(B, k) {
144
- return l.w(t.toDate()[B].apply(t.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(k)), t);
145
- }, x = this.$W, T = this.$M, P = this.$D, z = "set" + (this.$u ? "UTC" : "");
146
- switch (o) {
147
- case g:
148
- return i ? f(1, 0) : f(31, 11);
149
- case $:
150
- return i ? f(1, T) : f(0, T + 1);
151
- case y:
152
- var q = this.$locale().weekStart || 0, X = (x < q ? x + 7 : x) - q;
153
- return f(i ? P - X : P + (6 - X), T);
154
- case u:
155
- case O:
156
- return _(z + "Hours", 0);
157
- case C:
158
- return _(z + "Minutes", 1);
159
- case Y:
160
- return _(z + "Seconds", 2);
161
- case R:
162
- return _(z + "Milliseconds", 3);
163
- default:
164
- return this.clone();
165
- }
166
- }, r.endOf = function(e) {
167
- return this.startOf(e, !1);
168
- }, r.$set = function(e, n) {
169
- var t, i = l.p(e), o = "set" + (this.$u ? "UTC" : ""), f = (t = {}, t[u] = o + "Date", t[O] = o + "Date", t[$] = o + "Month", t[g] = o + "FullYear", t[C] = o + "Hours", t[Y] = o + "Minutes", t[R] = o + "Seconds", t[M] = o + "Milliseconds", t)[i], _ = i === u ? this.$D + (n - this.$W) : n;
170
- if (i === $ || i === g) {
171
- var x = this.clone().set(O, 1);
172
- x.$d[f](_), x.init(), this.$d = x.set(O, Math.min(this.$D, x.daysInMonth())).$d;
173
- } else f && this.$d[f](_);
174
- return this.init(), this;
175
- }, r.set = function(e, n) {
176
- return this.clone().$set(e, n);
177
- }, r.get = function(e) {
178
- return this[l.p(e)]();
179
- }, r.add = function(e, n) {
180
- var t, i = this;
181
- e = Number(e);
182
- var o = l.p(n), f = function(T) {
183
- var P = m(i);
184
- return l.w(P.date(P.date() + Math.round(T * e)), i);
185
- };
186
- if (o === $) return this.set($, this.$M + e);
187
- if (o === g) return this.set(g, this.$y + e);
188
- if (o === u) return f(1);
189
- if (o === y) return f(7);
190
- var _ = (t = {}, t[Y] = U, t[C] = V, t[R] = L, t)[o] || 1, x = this.$d.getTime() + e * _;
191
- return l.w(x, this);
192
- }, r.subtract = function(e, n) {
193
- return this.add(-1 * e, n);
194
- }, r.format = function(e) {
195
- var n = this, t = this.$locale();
196
- if (!this.isValid()) return t.invalidDate || S;
197
- var i = e || "YYYY-MM-DDTHH:mm:ssZ", o = l.z(this), f = this.$H, _ = this.$m, x = this.$M, T = t.weekdays, P = t.months, z = t.meridiem, q = function(k, H, ee, se) {
198
- return k && (k[H] || k(n, i)) || ee[H].slice(0, se);
199
- }, X = function(k) {
200
- return l.s(f % 12 || 12, k, "0");
201
- }, B = z || function(k, H, ee) {
202
- var se = k < 12 ? "AM" : "PM";
203
- return ee ? se.toLowerCase() : se;
204
- };
205
- return i.replace(F, function(k, H) {
206
- return H || function(ee) {
207
- switch (ee) {
208
- case "YY":
209
- return String(n.$y).slice(-2);
210
- case "YYYY":
211
- return l.s(n.$y, 4, "0");
212
- case "M":
213
- return x + 1;
214
- case "MM":
215
- return l.s(x + 1, 2, "0");
216
- case "MMM":
217
- return q(t.monthsShort, x, P, 3);
218
- case "MMMM":
219
- return q(P, x);
220
- case "D":
221
- return n.$D;
222
- case "DD":
223
- return l.s(n.$D, 2, "0");
224
- case "d":
225
- return String(n.$W);
226
- case "dd":
227
- return q(t.weekdaysMin, n.$W, T, 2);
228
- case "ddd":
229
- return q(t.weekdaysShort, n.$W, T, 3);
230
- case "dddd":
231
- return T[n.$W];
232
- case "H":
233
- return String(f);
234
- case "HH":
235
- return l.s(f, 2, "0");
236
- case "h":
237
- return X(1);
238
- case "hh":
239
- return X(2);
240
- case "a":
241
- return B(f, _, !0);
242
- case "A":
243
- return B(f, _, !1);
244
- case "m":
245
- return String(_);
246
- case "mm":
247
- return l.s(_, 2, "0");
248
- case "s":
249
- return String(n.$s);
250
- case "ss":
251
- return l.s(n.$s, 2, "0");
252
- case "SSS":
253
- return l.s(n.$ms, 3, "0");
254
- case "Z":
255
- return o;
256
- }
257
- return null;
258
- }(k) || o.replace(":", "");
259
- });
260
- }, r.utcOffset = function() {
261
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
262
- }, r.diff = function(e, n, t) {
263
- var i, o = this, f = l.p(n), _ = m(e), x = (_.utcOffset() - this.utcOffset()) * U, T = this - _, P = function() {
264
- return l.m(o, _);
265
- };
266
- switch (f) {
267
- case g:
268
- i = P() / 12;
269
- break;
270
- case $:
271
- i = P();
272
- break;
273
- case w:
274
- i = P() / 3;
275
- break;
276
- case y:
277
- i = (T - x) / 6048e5;
278
- break;
279
- case u:
280
- i = (T - x) / 864e5;
281
- break;
282
- case C:
283
- i = T / V;
284
- break;
285
- case Y:
286
- i = T / U;
287
- break;
288
- case R:
289
- i = T / L;
290
- break;
291
- default:
292
- i = T;
293
- }
294
- return t ? i : l.a(i);
295
- }, r.daysInMonth = function() {
296
- return this.endOf($).$D;
297
- }, r.$locale = function() {
298
- return a[this.$L];
299
- }, r.locale = function(e, n) {
300
- if (!e) return this.$L;
301
- var t = this.clone(), i = E(e, n, !0);
302
- return i && (t.$L = i), t;
303
- }, r.clone = function() {
304
- return l.w(this.$d, this);
305
- }, r.toDate = function() {
306
- return new Date(this.valueOf());
307
- }, r.toJSON = function() {
308
- return this.isValid() ? this.toISOString() : null;
309
- }, r.toISOString = function() {
310
- return this.$d.toISOString();
311
- }, r.toString = function() {
312
- return this.$d.toUTCString();
313
- }, s;
314
- }(), ae = N.prototype;
315
- return m.prototype = ae, [["$ms", M], ["$s", R], ["$m", Y], ["$H", C], ["$W", u], ["$M", $], ["$y", g], ["$D", O]].forEach(function(s) {
316
- ae[s[1]] = function(r) {
317
- return this.$g(r, s[0], s[1]);
318
- };
319
- }), m.extend = function(s, r) {
320
- return s.$i || (s(r, N, m), s.$i = !0), m;
321
- }, m.locale = E, m.isDayjs = v, m.unix = function(s) {
322
- return m(1e3 * s);
323
- }, m.en = a[h], m.Ls = a, m.p = {}, m;
324
- });
325
- }(ie)), ie.exports;
326
- }
327
- var Je = ze();
328
- const Ze = /* @__PURE__ */ je(Je);
329
- var I = /* @__PURE__ */ ((D) => (D.ADD = "新增", D.EDIT = "修改", D.REMOVE = "删除", D))(I || {});
330
- const Ge = { class: "pt-10px" }, Qe = { class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]" }, Ke = {
331
- key: 1,
332
- class: "inline-block mb-6px mr-6px bg-[#E8F3FF] rounded-2px px-8px py-3px whitespace-nowrap dark:bg-[#141414]"
333
- }, Xe = /* @__PURE__ */ ge({
334
- name: "TenantEdit",
335
- __name: "TenantEdit",
336
- emits: ["submit"],
337
- setup(D, { expose: A, emit: L }) {
338
- const U = L, V = {
339
- name: [
340
- { required: !0, message: "请输入名称", trigger: "blur" },
341
- { min: 2, max: 32, message: "租户名称长度不能少于2位,不能超过32位", trigger: "change" }
342
- ],
343
- tenantCode: [
344
- { required: !0, message: "请输入编码", trigger: "blur" },
345
- { min: 2, max: 64, message: "租户编码长度不能少于2位,不能超过64位", trigger: "change" }
346
- ],
347
- pubUserAdmin: [
348
- { required: !0, message: "请输入租户管理员", trigger: "blur" },
349
- { min: 2, max: 32, message: "租户管理员长度不能少于2位,不能超过32位", trigger: "change" }
350
- ],
351
- resourceIds: [
352
- { type: "array", required: !0, message: "请选择所属资源", trigger: "change" }
353
- ]
354
- }, M = Ie({
355
- title: "",
356
- record: {},
357
- initData: {
358
- enable: !0
359
- }
360
- }), [R, Y] = de(!1), C = J(), u = J({ enable: !0 });
361
- async function y(h, a) {
362
- if (M.title = h, u.value = pe(M.initData), h === I.EDIT) {
363
- const c = await Ve({ id: a.id });
364
- if (c.success) {
365
- const { tenantStartTime: v, tenantEndTime: E, ...m } = (c == null ? void 0 : c.data) ?? {};
366
- u.value = {
367
- ...m,
368
- tenantTime: [v, E]
369
- };
370
- }
371
- }
372
- Y(!0);
373
- }
374
- const [$, w] = de(!1);
375
- function g() {
376
- var a;
377
- const h = M.title === I.EDIT ? Be : Le;
378
- (a = C.value) == null || a.validate().then(() => {
379
- const { tenantTime: c, resourceIds: v = [], ...E } = u.value, m = {
380
- ...E,
381
- tenantStartTime: c == null ? void 0 : c[0],
382
- tenantEndTime: c == null ? void 0 : c[1],
383
- pubTenantResourcelist: v.map((l) => ({ resourceId: l }))
384
- };
385
- w(!0), h(m).then((l) => {
386
- l.success && (ve.success(`${M.title}成功!`), Y(!1), U("submit"));
387
- }).finally(() => w(!1));
388
- });
389
- }
390
- const O = J(), S = J([]), j = Ce(() => {
391
- var h;
392
- return ((h = u.value.resourceIds) == null ? void 0 : h.map((a) => {
393
- const c = re(S.value).find((v) => v.id === a);
394
- return { name: (c == null ? void 0 : c.name) ?? "" };
395
- })) ?? [];
396
- });
397
- function F() {
398
- const h = u.value.resourceIds ?? [], a = S.value, c = re(a).reduce((v, E) => (v[E.id] = E.name, v), {});
399
- O.value.open(h, a, c);
400
- }
401
- function Q(h = []) {
402
- u.value.resourceIds = h.map((a) => a.id);
403
- }
404
- function K() {
405
- Fe().then((h) => {
406
- h.success && (S.value = h.data ?? []);
407
- });
408
- }
409
- function re(h) {
410
- const a = pe(h);
411
- for (let c = 0; c < a.length; c++)
412
- a[c].children && (a.splice(c + 1, 0, ...a[c].children), a[c].children = void 0);
413
- return a;
414
- }
415
- return Oe(() => {
416
- K();
417
- }), A({
418
- open: y
419
- }), (h, a) => {
420
- const c = ye, v = De, E = xe, m = Me, l = he, N = We, ae = Te, s = be, r = _e, e = $e;
421
- return W(), oe(e, {
422
- open: d(R),
423
- "onUpdate:open": a[9] || (a[9] = (n) => Ee(R) ? R.value = n : null),
424
- title: `${d(M).title}租户`,
425
- placement: "right",
426
- width: 600,
427
- "destroy-on-close": "",
428
- "footer-style": { textAlign: "right" }
429
- }, {
430
- footer: b(() => [
431
- p(r, null, {
432
- default: b(() => [
433
- p(l, {
434
- onClick: a[7] || (a[7] = (n) => d(Y)(!1))
435
- }, {
436
- default: b(() => a[11] || (a[11] = [
437
- te(" 取消 ")
438
- ])),
439
- _: 1,
440
- __: [11]
441
- }),
442
- p(l, {
443
- type: "primary",
444
- loading: d($),
445
- onClick: a[8] || (a[8] = (n) => g())
446
- }, {
447
- default: b(() => a[12] || (a[12] = [
448
- te(" 提交 ")
449
- ])),
450
- _: 1,
451
- __: [12]
452
- }, 8, ["loading"])
453
- ]),
454
- _: 1
455
- /* STABLE */
456
- })
457
- ]),
458
- default: b(() => [
459
- p(s, {
460
- ref_key: "formRef",
461
- ref: C,
462
- model: d(u),
463
- rules: V,
464
- "label-col": { span: 6 }
465
- }, {
466
- default: b(() => [
467
- p(v, {
468
- label: "租户名称",
469
- name: "name"
470
- }, {
471
- default: b(() => [
472
- p(c, {
473
- value: d(u).name,
474
- "onUpdate:value": a[0] || (a[0] = (n) => d(u).name = n),
475
- maxlength: 32,
476
- placeholder: "请输入租户名称"
477
- }, null, 8, ["value"])
478
- ]),
479
- _: 1
480
- /* STABLE */
481
- }),
482
- p(v, {
483
- label: "租户编码",
484
- name: "tenantCode"
485
- }, {
486
- default: b(() => [
487
- p(c, {
488
- value: d(u).tenantCode,
489
- "onUpdate:value": a[1] || (a[1] = (n) => d(u).tenantCode = n),
490
- disabled: d(M).title === d(I).EDIT,
491
- maxlength: 64,
492
- placeholder: "请输入租户编码"
493
- }, null, 8, ["value", "disabled"])
494
- ]),
495
- _: 1
496
- /* STABLE */
497
- }),
498
- p(v, {
499
- label: "开始至到期时间",
500
- name: "tenantTime"
501
- }, {
502
- default: b(() => [
503
- p(E, {
504
- value: d(u).tenantTime,
505
- "onUpdate:value": a[2] || (a[2] = (n) => d(u).tenantTime = n),
506
- format: "YYYY-MM-DD",
507
- "value-format": "YYYY-MM-DD"
508
- }, null, 8, ["value"])
509
- ]),
510
- _: 1
511
- /* STABLE */
512
- }),
513
- p(v, {
514
- label: "二级域名",
515
- name: "subDomain"
516
- }, {
517
- default: b(() => [
518
- p(c, {
519
- value: d(u).subDomain,
520
- "onUpdate:value": a[3] || (a[3] = (n) => d(u).subDomain = n),
521
- maxlength: 64,
522
- placeholder: "请输入二级域名"
523
- }, null, 8, ["value"])
524
- ]),
525
- _: 1
526
- /* STABLE */
527
- }),
528
- p(v, {
529
- label: "租户管理员",
530
- name: "pubUserAdmin"
531
- }, {
532
- default: b(() => [
533
- p(c, {
534
- value: d(u).pubUserAdmin,
535
- "onUpdate:value": a[4] || (a[4] = (n) => d(u).pubUserAdmin = n),
536
- disabled: d(M).title === d(I).EDIT,
537
- maxlength: 32,
538
- placeholder: "请输入租户管理员"
539
- }, null, 8, ["value", "disabled"])
540
- ]),
541
- _: 1
542
- /* STABLE */
543
- }),
544
- p(v, { label: "是否启用" }, {
545
- default: b(() => [
546
- p(m, {
547
- checked: d(u).enable,
548
- "onUpdate:checked": a[5] || (a[5] = (n) => d(u).enable = n)
549
- }, null, 8, ["checked"])
550
- ]),
551
- _: 1
552
- /* STABLE */
553
- }),
554
- p(v, {
555
- label: "所属资源",
556
- name: "resourceIds"
557
- }, {
558
- default: b(() => {
559
- var n;
560
- return [
561
- p(l, {
562
- type: "primary",
563
- onClick: a[6] || (a[6] = (t) => F())
564
- }, {
565
- default: b(() => a[10] || (a[10] = [
566
- te(" 选择资源 ")
567
- ])),
568
- _: 1,
569
- __: [10]
570
- }),
571
- te(
572
- " (已选" + Z(((n = d(u).resourceIds) == null ? void 0 : n.length) ?? 0) + "条数据) ",
573
- 1
574
- /* TEXT */
575
- ),
576
- p(
577
- N,
578
- {
579
- ref_key: "resourceRef",
580
- ref: O,
581
- onSelect: Q
582
- },
583
- null,
584
- 512
585
- /* NEED_PATCH */
586
- ),
587
- ue("div", Ge, [
588
- (W(!0), G(
589
- ce,
590
- null,
591
- Re(d(j), (t) => {
592
- var i;
593
- return W(), G(
594
- ce,
595
- { key: t },
596
- [
597
- ((i = t.name) == null ? void 0 : i.length) > 20 ? (W(), oe(ae, {
598
- key: 0,
599
- title: t.name
600
- }, {
601
- default: b(() => {
602
- var o;
603
- return [
604
- ue(
605
- "span",
606
- Qe,
607
- Z(`${(o = t.name) == null ? void 0 : o.slice(0, 20)}...`),
608
- 1
609
- /* TEXT */
610
- )
611
- ];
612
- }),
613
- _: 2
614
- /* DYNAMIC */
615
- }, 1032, ["title"])) : (W(), G(
616
- "span",
617
- Ke,
618
- Z(t.name),
619
- 1
620
- /* TEXT */
621
- ))
622
- ],
623
- 64
624
- /* STABLE_FRAGMENT */
625
- );
626
- }),
627
- 128
628
- /* KEYED_FRAGMENT */
629
- ))
630
- ])
631
- ];
632
- }),
633
- _: 1
634
- /* STABLE */
635
- })
636
- ]),
637
- _: 1
638
- /* STABLE */
639
- }, 8, ["model"])
640
- ]),
641
- _: 1
642
- /* STABLE */
643
- }, 8, ["open", "title"]);
644
- };
645
- }
646
- }), et = {
647
- "py-10px": "",
648
- "px-10px": "",
649
- "w-full": "",
650
- "h-full": ""
651
- }, tt = ["onClick"], nt = {
652
- class: "ml-4px"
653
- }, rt = ["onClick"], at = {
654
- class: "ml-4px"
655
- }, _t = /* @__PURE__ */ ge({
656
- name: "Tenant",
657
- __name: "index",
658
- setup(D) {
659
- const {
660
- auth: A
661
- } = we(), L = J(), U = J();
662
- function V() {
663
- L.value.reload();
664
- }
665
- function M(u) {
666
- return u ? Ze(u).format("YYYY-MM-DD") : null;
667
- }
668
- async function R(u) {
669
- var j, F;
670
- const {
671
- current: y,
672
- pageSize: $,
673
- tenantStartTime: w,
674
- tenantEndTime: g,
675
- ...O
676
- } = u, S = await qe({
677
- currentPage: y,
678
- pageSize: $,
679
- tenantStartTime: M(w == null ? void 0 : w[0]),
680
- tenantStartTimeEnd: M(w == null ? void 0 : w[1]),
681
- tenantEndTimeStart: M(g == null ? void 0 : g[0]),
682
- tenantEndTimeEnd: M(g == null ? void 0 : g[1]),
683
- ...O
684
- });
685
- return {
686
- success: S.success,
687
- data: ((j = S.data) == null ? void 0 : j.records) ?? [],
688
- total: ((F = S.data) == null ? void 0 : F.total) ?? 0
689
- };
690
- }
691
- const Y = [{
692
- valueType: "a-input",
693
- minWidth: 200,
694
- title: "租户名称",
695
- dataIndex: "name",
696
- ellipsis: !0,
697
- fieldProps: {
698
- placeholder: "请输入租户名称",
699
- allowClear: !0
700
- }
701
- }, {
702
- valueType: "a-input",
703
- minWidth: 200,
704
- title: "租户编码",
705
- dataIndex: "tenantCode",
706
- ellipsis: !0,
707
- fieldProps: {
708
- placeholder: "请输入租户编码",
709
- allowClear: !0
710
- }
711
- }, {
712
- valueType: "a-range-picker",
713
- minWidth: 200,
714
- title: "开始时间",
715
- dataIndex: "tenantStartTime",
716
- ellipsis: !0,
717
- fieldProps: {
718
- allowClear: !0
719
- }
720
- }, {
721
- valueType: "a-range-picker",
722
- minWidth: 200,
723
- title: "到期时间",
724
- dataIndex: "tenantEndTime",
725
- ellipsis: !0,
726
- fieldProps: {
727
- allowClear: !0
728
- }
729
- }, {
730
- minWidth: 200,
731
- title: "二级域名",
732
- dataIndex: "subDomain",
733
- ellipsis: !0,
734
- hideInSearch: !0
735
- }, {
736
- hideInSearch: !0,
737
- minWidth: 80,
738
- title: "状态",
739
- dataIndex: "enable",
740
- customRender: ({
741
- text: u
742
- }) => u ? p(fe, {
743
- status: "success",
744
- text: "正常"
745
- }, null) : p(fe, {
746
- status: "error",
747
- text: "关闭"
748
- }, null)
749
- }, {
750
- hideInSearch: !0,
751
- width: 160,
752
- title: "操作",
753
- dataIndex: "action",
754
- fixed: "right",
755
- hideInTable() {
756
- return !A(["tenant_edit", "tenant_remove"]);
757
- }
758
- }];
759
- function C(u, y) {
760
- switch (u) {
761
- case I.EDIT:
762
- U.value.open(u, y);
763
- break;
764
- case I.ADD:
765
- U.value.open(u);
766
- break;
767
- case I.REMOVE:
768
- Ue.confirm({
769
- title: "删除",
770
- content: "确定要删除该租户吗?",
771
- onOk() {
772
- He({
773
- id: y == null ? void 0 : y.id
774
- }).then(($) => {
775
- $.success && (ve.success("删除成功"), V());
776
- });
777
- }
778
- });
779
- break;
780
- }
781
- }
782
- return (u, y) => {
783
- const $ = ke, w = he, g = Se, O = _e, S = Ye("auth");
784
- return W(), G("div", et, [p(
785
- d(Ae),
786
- {
787
- ref_key: "tableRef",
788
- ref: L,
789
- "row-key": "id",
790
- request: R,
791
- columns: Y,
792
- "auto-height": "",
793
- scroll: {
794
- x: 1100
795
- }
796
- },
797
- {
798
- toolbar: b(() => [le((W(), oe(w, {
799
- type: "primary",
800
- onClick: y[0] || (y[0] = (j) => C(d(I).ADD))
801
- }, {
802
- default: b(() => [p($), te(
803
- " " + Z(d(I).ADD),
804
- 1
805
- /* TEXT */
806
- )]),
807
- _: 1
808
- /* STABLE */
809
- })), [[S, "tenant_add"]])]),
810
- bodyCell: b(({
811
- column: j,
812
- record: F
813
- }) => [j.dataIndex === "action" ? (W(), oe(
814
- O,
815
- {
816
- key: 0
817
- },
818
- {
819
- default: b(() => [le((W(), G("a", {
820
- class: "flex items-center",
821
- onClick: (Q) => C(d(I).EDIT, F)
822
- }, [p(g, {
823
- name: "edit",
824
- class: "text-base"
825
- }), ue(
826
- "span",
827
- nt,
828
- Z(d(I).EDIT),
829
- 1
830
- /* TEXT */
831
- )], 8, tt)), [[S, "tenant_edit"]]), le((W(), G("span", {
832
- class: "flex items-center text-red-500 hover:cursor-pointer hover:opacity-80",
833
- onClick: (Q) => C(d(I).REMOVE, F)
834
- }, [p(g, {
835
- name: "remove",
836
- class: "text-base"
837
- }), ue(
838
- "span",
839
- at,
840
- Z(d(I).REMOVE),
841
- 1
842
- /* TEXT */
843
- )], 8, rt)), [[S, "tenant_remove"]])]),
844
- _: 2
845
- /* DYNAMIC */
846
- },
847
- 1024
848
- /* DYNAMIC_SLOTS */
849
- )) : Pe("v-if", !0)]),
850
- _: 1
851
- /* STABLE */
852
- },
853
- 512
854
- /* NEED_PATCH */
855
- ), p(
856
- Xe,
857
- {
858
- ref_key: "drawerRef",
859
- ref: U,
860
- onSubmit: y[1] || (y[1] = (j) => V())
861
- },
862
- null,
863
- 512
864
- /* NEED_PATCH */
865
- )]);
866
- };
867
- }
868
- });
869
- export {
870
- _t as default
871
- };