@pubinfo/module-rbac 2.0.0-rc.1 → 2.0.0-rc.2
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.
- package/dist/ComponentSelect-Din5Vses.js +2 -0
- package/dist/ComponentSelect-Dyqb3Uh3.js +3734 -0
- package/dist/ComponentSelect.css +1 -0
- package/dist/DynamicRoutesForm-CkmCaHum.js +4 -0
- package/dist/{DynamicRoutesForm-DmQMP8-p.js → DynamicRoutesForm-D3nGj7oA.js} +1 -1
- package/dist/HCheckList-Dd2Tx0jW.js +2 -0
- package/dist/{MetaForm-BB80P4w6.js → MetaForm-CI-T2qEE.js} +1 -1
- package/dist/MetaForm-CrsQmdOg.js +4 -0
- package/dist/{ResourceEdit-CVwNJMVm.js → ResourceEdit-BFXA953U.js} +3 -3
- package/dist/ResourceEdit-V6gt22gW.js +8 -0
- package/dist/{ResourceRelation-DJDFQYFT.js → ResourceRelation-BihfkBCe.js} +2 -2
- package/dist/ResourceRelation-BnLQZey7.js +3 -0
- package/dist/{ResourceRelation-cfGS-erP.js → ResourceRelation-CBPrqf2V.js} +2 -2
- package/dist/ResourceRelation.css +1 -0
- package/dist/ResourceRelation2.css +1 -0
- package/dist/{ResourceSelector-B4AXXCxI.js → ResourceSelector-CxZ1ae30.js} +3 -3
- package/dist/ResourceSelector.css +1 -0
- package/dist/{TenantEdit-6rMUS9EP.js → TenantEdit-Bt31IV9W.js} +1 -1
- package/dist/TenantEdit-DYHJehf0.js +6 -0
- package/dist/UserAuthorization-BdHxAQlK.js +4 -0
- package/dist/{UserAuthorization-Cx9oYms2.js → UserAuthorization-Dhp0ZamX.js} +3 -3
- package/dist/UserAuthorization.css +1 -0
- package/dist/add-child-sIXCU5sL.js +2 -0
- package/dist/animation_item-COb6VI4T.js +2 -0
- package/dist/authority-DQ4-SayE.js +2 -0
- package/dist/authorize-CR54jxEa.js +2 -0
- package/dist/{blackWhiteList-B-EAyXzG.js → blackWhiteList-B7tUj2Rx.js} +4 -4
- package/dist/blackWhiteList.css +1 -0
- package/dist/blacklist-disable-ypFSVSX1.js +2 -0
- package/dist/blacklist-enable-DlkD_15-.js +2 -0
- package/dist/breadcrumb_setting-CIm-6QHw.js +111 -0
- package/dist/breadcrumb_setting.css +1 -0
- package/dist/browser-chrome-DNH4U6iO.js +2 -0
- package/dist/browser-edge-4sSjlzO1.js +2 -0
- package/dist/browser-ie-yTwVV0GC.js +2 -0
- package/dist/browser-other-Jax-vzDs.js +2 -0
- package/dist/browser-safari-B7PIezpj.js +2 -0
- package/dist/browserType-D2cPQa0k.js +2 -0
- package/dist/createAndEditDataPermission-6pvYsJo9.js +8 -0
- package/dist/{createAndEditDataPermission-BFmD3zpY.js → createAndEditDataPermission-Bd3tlIEE.js} +7 -7
- package/dist/createAndEditDataPermission.css +1 -0
- package/dist/{data-permission-Dz4eCdAg.js → data-permission-Db1Lu9KO.js} +8 -8
- package/dist/data-permission.css +1 -0
- package/dist/{dictionary-C8UVX_8l.js → dictionary-XMJprxvM.js} +3 -3
- package/dist/{drawerBlackWhiteList-opDsd2_O.js → drawerBlackWhiteList-D-Sq4mul.js} +1 -1
- package/dist/drawerBlackWhiteList-DK4g_CpC.js +3 -0
- package/dist/{drawerDictionary-CzT9KJGw.js → drawerDictionary-Bw3w5PTm.js} +2 -2
- package/dist/drawerDictionary-DHIcxPrY.js +4 -0
- package/dist/{drawerDictionaryItem-LBeuvrE8.js → drawerDictionaryItem-4WIgL3No.js} +2 -2
- package/dist/drawerDictionaryItem-dg1sIDYE.js +4 -0
- package/dist/{drawerGroup-B_pYqrpy.js → drawerGroup-932n7Ywc.js} +1 -1
- package/dist/drawerGroup-CrF2c8UJ.js +3 -0
- package/dist/{drawerOrganization-BeDsW0ah.js → drawerOrganization-IwZZkHWM.js} +1 -1
- package/dist/drawerOrganization-b39q3V33.js +3 -0
- package/dist/{drawerPosition-DRacJCCQ.js → drawerPosition-BiO92_At.js} +1 -1
- package/dist/drawerPosition-BjoDy0cQ.js +3 -0
- package/dist/{drawerRegion-BM__zqtq.js → drawerRegion-CNOK55im.js} +1 -1
- package/dist/drawerRegion-omVT_dpq.js +3 -0
- package/dist/{drawerRole-CQURGn5D.js → drawerRole-BaQBb2-J.js} +2 -2
- package/dist/drawerRole-BqMh5l11.js +5 -0
- package/dist/drawerRole-D7VJRLmp.js +6 -0
- package/dist/{drawerRole-DhU_4L0Z.js → drawerRole-IIsKhycU.js} +2 -2
- package/dist/{drawerRole-BOf6UXMc.js → drawerRole-PnDochPg.js} +1 -1
- package/dist/drawerRole-dJ3m0_K2.js +3 -0
- package/dist/edit-CCL7qbDV.js +2 -0
- package/dist/{group-C0rajn0e.js → group-BzuuCGyR.js} +4 -4
- package/dist/group.css +1 -0
- package/dist/icard-BUuV9yW4.js +2 -0
- package/dist/icon_animation-rPC0qi0K.js +2 -0
- package/dist/icon_breadcrumb-BOiEdwRY.js +2 -0
- package/dist/icon_copyright-zk1pF8Jj.js +2 -0
- package/dist/icon_jt-BMoQoZvf.js +2 -0
- package/dist/icon_layout-KBHA8xU_.js +2 -0
- package/dist/icon_mainpage-BTdCCyi2.js +2 -0
- package/dist/icon_menu-5k8XiWt5.js +2 -0
- package/dist/icon_page_size-DUMZ6xhJ.js +2 -0
- package/dist/icon_position_type-Cnkn2IzO.js +2 -0
- package/dist/icon_safe_manage-B0PtL90p.js +2 -0
- package/dist/icon_screen_scale-CwVhfflc.js +2 -0
- package/dist/icon_system_manage-vM71UmjM.js +2 -0
- package/dist/icon_tabbar-CuMnIey0.js +2 -0
- package/dist/icon_toolbar-BoCbAU3P.js +2 -0
- package/dist/icon_topbar-DGIDBcE6.js +2 -0
- package/dist/icon_watermark-BBU-lOdN.js +2 -0
- package/dist/{style.css → index.css} +1 -2
- package/dist/index.js +712 -679
- package/dist/{itemlist-CZBPz_rC.js → itemlist-KOYuEUk4.js} +3 -3
- package/dist/{layout_setting-oQd8BfKx.js → layout_setting-DQgWzV7M.js} +4 -4
- package/dist/layout_setting.css +1 -0
- package/dist/log-center-Z3WDfhg1.js +2 -0
- package/dist/loginHistoryDetail-BNGtarOv.js +4 -0
- package/dist/{loginHistoryDetail-Abn9eS5-.js → loginHistoryDetail-DgHx6n66.js} +3 -3
- package/dist/loginHistoryDetail.css +1 -0
- package/dist/{login_history-Btv9KB0x.js → login_history-Co6JLGsd.js} +5 -5
- package/dist/login_history.css +1 -0
- package/dist/menu_setting-B0QIQ1um.js +158 -0
- package/dist/menu_setting.css +1 -0
- package/dist/not-data-DejN9beo.js +2 -0
- package/dist/not-data-uXybSS43.js +2 -0
- package/dist/{operateHistoryDetail-Br_M3mhI.js → operateHistoryDetail-BrdNmYD0.js} +3 -3
- package/dist/operateHistoryDetail-DsM4L8Nz.js +4 -0
- package/dist/operateHistoryDetail.css +1 -0
- package/dist/{operate_history-D7jq2IH-.js → operate_history-CVeIorOr.js} +5 -5
- package/dist/operate_history.css +1 -0
- package/dist/org-main-C2g7AMMY.js +2 -0
- package/dist/org-unmain-CjGtvuIa.js +2 -0
- package/dist/{organization-CeOyltjo.js → organization-CXMk4mRo.js} +9 -9
- package/dist/organization.css +1 -0
- package/dist/other_setting-DK9MHysY.js +220 -0
- package/dist/other_setting.css +1 -0
- package/dist/page_animation_setting-tSYfjx-m.js +117 -0
- package/dist/page_animation_setting.css +1 -0
- package/dist/{page_w_setting-Dr2tu_oS.js → page_w_setting-BDI5KsA-.js} +4 -4
- package/dist/page_w_setting.css +1 -0
- package/dist/{position-Bodjtnh9.js → position-BjUZQQUz.js} +2 -2
- package/dist/{region-B9xObK4Z.js → region-BsX0gK_y.js} +2 -2
- package/dist/remove-BroXCqy9.js +2 -0
- package/dist/{resource-DhkRTloI.js → resource-DKhlH74I.js} +5 -5
- package/dist/resource-app-DV2RZiRk.js +2 -0
- package/dist/resource-btn-Dw9-L0P5.js +2 -0
- package/dist/resource-dynamic-Cmk2ihZb.js +2 -0
- package/dist/resource-index-D9J-wVCc.js +2 -0
- package/dist/resource-menu-XnlgciPe.js +2 -0
- package/dist/resource-micro-DzYCcl5c.js +2 -0
- package/dist/resource-nonmenu-8bXZBBWf.js +2 -0
- package/dist/{role-DoBrQ1zG.js → role-ffXddsAo.js} +6 -6
- package/dist/{role_group-BMNZ1M1A.js → role_group-BBH28A40.js} +2 -2
- package/dist/{safe_setting-J6GWqrZx.js → safe_setting-Dis73Gsw.js} +2 -2
- package/dist/safe_setting.css +1 -0
- package/dist/{setItem-CcNK_f8V.js → setItem-CjNn98dC.js} +4 -4
- package/dist/setItem-H6NRNSt7.js +5 -0
- package/dist/setItem.css +1 -0
- package/dist/setting-manage-BPwzU94V.js +2 -0
- package/dist/tabbar_setting-DGwk_Oec.js +142 -0
- package/dist/tabbar_setting.css +1 -0
- package/dist/{tenant-pPYq3xtM.js → tenant-BhA6R8aJ.js} +4 -4
- package/dist/theme-check-mark-Dz4lGIXE.js +2 -0
- package/dist/theme-title-CPXdAbpI.js +2 -0
- package/dist/{theme_setting-DMyPJp3M.js → theme_setting-Ca1YGTdZ.js} +4 -4
- package/dist/theme_setting.css +1 -0
- package/dist/{toolbar_setting-ChcZxAJJ.js → toolbar_setting-Cmrpyxgs.js} +7 -7
- package/dist/toolbar_setting.css +1 -0
- package/dist/{useAppAndResource-DWQG9bqY.js → useAppAndResource-BgnrL15l.js} +1 -1
- package/dist/{user-BJL1Sw0q.js → user-Bnb1cvVD.js} +4 -4
- package/dist/user.css +1 -0
- package/dist/view-D4SR4EYn.js +2 -0
- package/dist/views/resource/components/ComponentSelect.vue.d.ts +3 -1
- package/dist/watermark_setting-BnBt5gdM.js +199 -0
- package/dist/watermark_setting.css +1 -0
- package/dist/zddata-Cdy8vScr.js +2 -0
- package/dist/zy_checked-xjGWlIXf.js +2 -0
- package/dist/zy_default-kwFuicHB.js +2 -0
- package/package.json +7 -5
- package/src/assets/icons/add-child.svg +1 -1
- package/src/assets/icons/authority.svg +1 -1
- package/src/assets/icons/authorize.svg +1 -1
- package/src/assets/icons/blacklist-disable.svg +1 -1
- package/src/assets/icons/blacklist-enable.svg +1 -1
- package/src/assets/icons/browser-chrome.svg +1 -1
- package/src/assets/icons/browser-edge.svg +1 -1
- package/src/assets/icons/browser-ie.svg +1 -1
- package/src/assets/icons/browser-other.svg +1 -1
- package/src/assets/icons/browser-safari.svg +1 -1
- package/src/assets/icons/edit.svg +1 -1
- package/src/assets/icons/icard.svg +1 -1
- package/src/assets/icons/icon_animation.svg +1 -1
- package/src/assets/icons/icon_breadcrumb.svg +1 -1
- package/src/assets/icons/icon_copyright.svg +1 -1
- package/src/assets/icons/icon_jt.svg +1 -1
- package/src/assets/icons/icon_layout.svg +1 -1
- package/src/assets/icons/icon_mainpage.svg +1 -1
- package/src/assets/icons/icon_menu.svg +1 -1
- package/src/assets/icons/icon_page_size.svg +1 -1
- package/src/assets/icons/icon_position_type.svg +1 -1
- package/src/assets/icons/icon_safe_manage.svg +1 -1
- package/src/assets/icons/icon_screen_scale.svg +2 -2
- package/src/assets/icons/icon_system_manage.svg +1 -1
- package/src/assets/icons/icon_tabbar.svg +1 -1
- package/src/assets/icons/icon_toolbar.svg +1 -1
- package/src/assets/icons/icon_topbar.svg +1 -1
- package/src/assets/icons/icon_watermark.svg +1 -1
- package/src/assets/icons/log-center.svg +1 -1
- package/src/assets/icons/not-data.svg +1 -1
- package/src/assets/icons/org-main.svg +1 -1
- package/src/assets/icons/org-unmain.svg +1 -1
- package/src/assets/icons/remove.svg +1 -1
- package/src/assets/icons/resource-app.svg +1 -1
- package/src/assets/icons/resource-btn.svg +1 -1
- package/src/assets/icons/resource-dynamic.svg +2 -2
- package/src/assets/icons/resource-index.svg +1 -1
- package/src/assets/icons/resource-menu.svg +1 -1
- package/src/assets/icons/resource-micro.svg +2 -2
- package/src/assets/icons/resource-nonmenu.svg +1 -1
- package/src/assets/icons/setting-manage.svg +1 -1
- package/src/assets/icons/theme-check-mark.svg +1 -1
- package/src/assets/icons/theme-title.svg +1 -1
- package/src/assets/icons/view.svg +1 -1
- package/src/assets/icons/zddata.svg +1 -1
- package/src/assets/icons/zy_checked.svg +1 -1
- package/src/assets/icons/zy_default.svg +1 -1
- package/src/views/resource/components/ComponentSelect.vue +87 -62
- package/dist/ComponentSelect-AWuDE4De.js +0 -2
- package/dist/ComponentSelect-CFoCrAFh.js +0 -483
- package/dist/DynamicRoutesForm-xXTdh5EX.js +0 -4
- package/dist/HCheckList-u43x0KiD.js +0 -2
- package/dist/MetaForm-D_na1CP8.js +0 -4
- package/dist/ResourceEdit-D1e8tLAA.js +0 -8
- package/dist/ResourceRelation-DWhWzKQJ.js +0 -3
- package/dist/TenantEdit-BhpSW4w7.js +0 -6
- package/dist/UserAuthorization-D5rSSagE.js +0 -4
- package/dist/add-child-CJM7MvB2.js +0 -2
- package/dist/animation_item-Wmcl4yBo.js +0 -2
- package/dist/authority-BofK2fFE.js +0 -2
- package/dist/authorize-Ck1i_5K5.js +0 -2
- package/dist/blacklist-disable-BgMERGDX.js +0 -2
- package/dist/blacklist-enable-D8ds6NgH.js +0 -2
- package/dist/breadcrumb_setting-Bv12pA15.js +0 -111
- package/dist/browser-chrome-BVvmyPYW.js +0 -2
- package/dist/browser-edge-Bc36eH7f.js +0 -2
- package/dist/browser-ie-BiDFft9C.js +0 -2
- package/dist/browser-other-BzyOvDmB.js +0 -2
- package/dist/browser-safari-CBxgFrI_.js +0 -2
- package/dist/browserType-pMY0VZ_3.js +0 -2
- package/dist/createAndEditDataPermission-Ll6GWW-p.js +0 -8
- package/dist/drawerBlackWhiteList-taaV8A5D.js +0 -3
- package/dist/drawerDictionary-D0Bi75vl.js +0 -4
- package/dist/drawerDictionaryItem-BqQojUNh.js +0 -4
- package/dist/drawerGroup-BI0pYuIO.js +0 -3
- package/dist/drawerOrganization-RbLK6k_c.js +0 -3
- package/dist/drawerPosition-CKZCt-Yc.js +0 -3
- package/dist/drawerRegion-CaXvxWEn.js +0 -3
- package/dist/drawerRole-27ggtdnJ.js +0 -6
- package/dist/drawerRole-D9Dt3l7O.js +0 -5
- package/dist/drawerRole-DPC9SVDe.js +0 -3
- package/dist/edit-DF7Qsxtl.js +0 -2
- package/dist/icard-CtletXtq.js +0 -2
- package/dist/icon_animation-Do8Rw-K9.js +0 -2
- package/dist/icon_breadcrumb-CmZgmswj.js +0 -2
- package/dist/icon_copyright--7CIXSE1.js +0 -2
- package/dist/icon_jt--G-Amuu4.js +0 -2
- package/dist/icon_layout-BkQems5J.js +0 -2
- package/dist/icon_mainpage-98dHnXRL.js +0 -2
- package/dist/icon_menu-8foYPA9U.js +0 -2
- package/dist/icon_page_size-CPjiZpP2.js +0 -2
- package/dist/icon_position_type-Do71e9Ov.js +0 -2
- package/dist/icon_safe_manage-DiBn-uSS.js +0 -2
- package/dist/icon_screen_scale-Ct8iHVKy.js +0 -2
- package/dist/icon_system_manage-CzBNNisy.js +0 -2
- package/dist/icon_tabbar-BajHaWfA.js +0 -2
- package/dist/icon_toolbar-DHKFZD2w.js +0 -2
- package/dist/icon_topbar-C4mu7up7.js +0 -2
- package/dist/icon_watermark-2Wtjrft3.js +0 -2
- package/dist/log-center-qtOWNEaD.js +0 -2
- package/dist/loginHistoryDetail-DDEuFbYB.js +0 -4
- package/dist/menu_setting-Cju5OkSE.js +0 -158
- package/dist/not-data-BA50qHBT.js +0 -2
- package/dist/not-data-BzaRFolb.js +0 -2
- package/dist/operateHistoryDetail-CLsHDBp7.js +0 -4
- package/dist/org-main-D0M4-Mu2.js +0 -2
- package/dist/org-unmain-Bh9hzLgK.js +0 -2
- package/dist/other_setting-rbUoVood.js +0 -220
- package/dist/page_animation_setting-Diclx4mg.js +0 -117
- package/dist/remove-B3pgrGrf.js +0 -2
- package/dist/resource-app-BKgfDs09.js +0 -2
- package/dist/resource-btn-BXLyUStb.js +0 -2
- package/dist/resource-dynamic-Dx3RhbQk.js +0 -2
- package/dist/resource-index-C2COvmY-.js +0 -2
- package/dist/resource-menu-C_Q6AEFw.js +0 -2
- package/dist/resource-micro-D_OBvoET.js +0 -2
- package/dist/resource-nonmenu-CCpeV9Km.js +0 -2
- package/dist/setItem-CqHPfTBZ.js +0 -5
- package/dist/setting-manage-Di7-Ks18.js +0 -2
- package/dist/tabbar_setting-Di3OcDig.js +0 -142
- package/dist/theme-check-mark-DhhsmM5v.js +0 -2
- package/dist/theme-title-DEVFVYNh.js +0 -2
- package/dist/view-FR2dRATN.js +0 -2
- package/dist/watermark_setting-tqYUcPzF.js +0 -199
- package/dist/zddata-D9x-CcqP.js +0 -2
- package/dist/zy_checked-B0r0BaR-.js +0 -2
- package/dist/zy_default-BHbIn4if.js +0 -2
- /package/dist/{HCheckList-DDP7S_nc.js → HCheckList-3zLNVNr0.js} +0 -0
- /package/dist/{RoleSelector-Bqv2p_7X.js → RoleSelector-DTnDRRTQ.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-Cmy-mbsL.js → _plugin-vue_export-helper-Bvl99pNT.js} +0 -0
- /package/dist/{animation_item-Bf_Y_nyf.js → animation_item-D78koyTo.js} +0 -0
- /package/dist/{browserType-BJeH2o0t.js → browserType-DZrDbVVY.js} +0 -0
- /package/dist/{configData-BoeH9I4s.js → configData-CONUFxaH.js} +0 -0
- /package/dist/{enum-CtIne-Ul.js → enum-B-lkiBy0.js} +0 -0
- /package/dist/{enum-DfCD4cL8.js → enum-Bg70i-vM.js} +0 -0
- /package/dist/{enum-BZtNAeJC.js → enum-CUMv4gQ2.js} +0 -0
- /package/dist/{enum-e5LlvaOv.js → enum-DUjQrWbG.js} +0 -0
- /package/dist/{log-CQfCPTsC.js → log-BgIwPjNu.js} +0 -0
- /package/dist/{stores-DXQ1Ibt6.js → stores-Di6SQ3pp.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -3,112 +3,112 @@ import * as a from "vue";
|
|
|
3
3
|
import { Comment as o, Fragment as s, TransitionGroup as c, cloneVNode as l, computed as u, createApp as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, customRef as v, defineComponent as y, getCurrentInstance as b, getCurrentScope as x, guardReactiveProps as S, h as C, inject as ee, isReadonly as te, isRef as ne, markRaw as re, mergeModels as ie, mergeProps as w, nextTick as ae, normalizeClass as oe, normalizeProps as T, normalizeStyle as E, onBeforeUnmount as se, onMounted as D, onScopeDispose as ce, onUnmounted as le, openBlock as O, provide as ue, reactive as de, readonly as fe, ref as k, renderList as pe, renderSlot as A, resolveDynamicComponent as me, shallowRef as j, toDisplayString as M, toRaw as N, toRef as he, toRefs as ge, toValue as P, unref as F, useAttrs as _e, useCssVars as ve, useModel as ye, useSlots as be, watch as I, watchEffect as xe, withCtx as L, withKeys as Se, withModifiers as Ce } from "vue";
|
|
4
4
|
import { LoadingOutlined as we, SearchOutlined as Te } from "@ant-design/icons-vue";
|
|
5
5
|
import { Alert as Ee, Card as De, Checkbox as Oe, Dropdown as ke, Empty as Ae, Form as je, Input as Me, Menu as Ne, MenuItem as Pe, Modal as Fe, Pagination as Ie, Spin as Le, Tree as Re, message as ze, theme as Be } from "ant-design-vue";
|
|
6
|
-
var Ve = {
|
|
6
|
+
import './index.css';var Ve = {
|
|
7
7
|
icons: {
|
|
8
|
-
"src/assets/icons/add-child.svg": () => import("./add-child-
|
|
9
|
-
"src/assets/icons/authority.svg": () => import("./authority-
|
|
10
|
-
"src/assets/icons/authorize.svg": () => import("./authorize-
|
|
11
|
-
"src/assets/icons/blacklist-disable.svg": () => import("./blacklist-disable-
|
|
12
|
-
"src/assets/icons/blacklist-enable.svg": () => import("./blacklist-enable-
|
|
13
|
-
"src/assets/icons/browser-chrome.svg": () => import("./browser-chrome-
|
|
14
|
-
"src/assets/icons/browser-edge.svg": () => import("./browser-edge-
|
|
15
|
-
"src/assets/icons/browser-ie.svg": () => import("./browser-ie-
|
|
16
|
-
"src/assets/icons/browser-other.svg": () => import("./browser-other-
|
|
17
|
-
"src/assets/icons/browser-safari.svg": () => import("./browser-safari-
|
|
18
|
-
"src/assets/icons/edit.svg": () => import("./edit-
|
|
19
|
-
"src/assets/icons/icard.svg": () => import("./icard-
|
|
20
|
-
"src/assets/icons/icon_animation.svg": () => import("./icon_animation-
|
|
21
|
-
"src/assets/icons/icon_breadcrumb.svg": () => import("./icon_breadcrumb-
|
|
22
|
-
"src/assets/icons/icon_copyright.svg": () => import("./icon_copyright
|
|
23
|
-
"src/assets/icons/icon_jt.svg": () => import("./icon_jt
|
|
24
|
-
"src/assets/icons/icon_layout.svg": () => import("./icon_layout-
|
|
25
|
-
"src/assets/icons/icon_mainpage.svg": () => import("./icon_mainpage-
|
|
26
|
-
"src/assets/icons/icon_menu.svg": () => import("./icon_menu-
|
|
27
|
-
"src/assets/icons/icon_page_size.svg": () => import("./icon_page_size-
|
|
28
|
-
"src/assets/icons/icon_position_type.svg": () => import("./icon_position_type-
|
|
29
|
-
"src/assets/icons/icon_safe_manage.svg": () => import("./icon_safe_manage-
|
|
30
|
-
"src/assets/icons/icon_screen_scale.svg": () => import("./icon_screen_scale-
|
|
31
|
-
"src/assets/icons/icon_system_manage.svg": () => import("./icon_system_manage-
|
|
32
|
-
"src/assets/icons/icon_tabbar.svg": () => import("./icon_tabbar-
|
|
33
|
-
"src/assets/icons/icon_toolbar.svg": () => import("./icon_toolbar-
|
|
34
|
-
"src/assets/icons/icon_topbar.svg": () => import("./icon_topbar-
|
|
35
|
-
"src/assets/icons/icon_watermark.svg": () => import("./icon_watermark-
|
|
36
|
-
"src/assets/icons/log-center.svg": () => import("./log-center-
|
|
37
|
-
"src/assets/icons/not-data.svg": () => import("./not-data-
|
|
38
|
-
"src/assets/icons/org-main.svg": () => import("./org-main-
|
|
39
|
-
"src/assets/icons/org-unmain.svg": () => import("./org-unmain-
|
|
40
|
-
"src/assets/icons/remove.svg": () => import("./remove-
|
|
41
|
-
"src/assets/icons/resource-app.svg": () => import("./resource-app-
|
|
42
|
-
"src/assets/icons/resource-btn.svg": () => import("./resource-btn-
|
|
43
|
-
"src/assets/icons/resource-dynamic.svg": () => import("./resource-dynamic-
|
|
44
|
-
"src/assets/icons/resource-index.svg": () => import("./resource-index-
|
|
45
|
-
"src/assets/icons/resource-menu.svg": () => import("./resource-menu-
|
|
46
|
-
"src/assets/icons/resource-micro.svg": () => import("./resource-micro-
|
|
47
|
-
"src/assets/icons/resource-nonmenu.svg": () => import("./resource-nonmenu-
|
|
48
|
-
"src/assets/icons/setting-manage.svg": () => import("./setting-manage-
|
|
49
|
-
"src/assets/icons/theme-check-mark.svg": () => import("./theme-check-mark-
|
|
50
|
-
"src/assets/icons/theme-title.svg": () => import("./theme-title-
|
|
51
|
-
"src/assets/icons/view.svg": () => import("./view-
|
|
52
|
-
"src/assets/icons/zddata.svg": () => import("./zddata-
|
|
53
|
-
"src/assets/icons/zy_checked.svg": () => import("./zy_checked-
|
|
54
|
-
"src/assets/icons/zy_default.svg": () => import("./zy_default-
|
|
8
|
+
"src/assets/icons/add-child.svg": () => import("./add-child-sIXCU5sL.js"),
|
|
9
|
+
"src/assets/icons/authority.svg": () => import("./authority-DQ4-SayE.js"),
|
|
10
|
+
"src/assets/icons/authorize.svg": () => import("./authorize-CR54jxEa.js"),
|
|
11
|
+
"src/assets/icons/blacklist-disable.svg": () => import("./blacklist-disable-ypFSVSX1.js"),
|
|
12
|
+
"src/assets/icons/blacklist-enable.svg": () => import("./blacklist-enable-DlkD_15-.js"),
|
|
13
|
+
"src/assets/icons/browser-chrome.svg": () => import("./browser-chrome-DNH4U6iO.js"),
|
|
14
|
+
"src/assets/icons/browser-edge.svg": () => import("./browser-edge-4sSjlzO1.js"),
|
|
15
|
+
"src/assets/icons/browser-ie.svg": () => import("./browser-ie-yTwVV0GC.js"),
|
|
16
|
+
"src/assets/icons/browser-other.svg": () => import("./browser-other-Jax-vzDs.js"),
|
|
17
|
+
"src/assets/icons/browser-safari.svg": () => import("./browser-safari-B7PIezpj.js"),
|
|
18
|
+
"src/assets/icons/edit.svg": () => import("./edit-CCL7qbDV.js"),
|
|
19
|
+
"src/assets/icons/icard.svg": () => import("./icard-BUuV9yW4.js"),
|
|
20
|
+
"src/assets/icons/icon_animation.svg": () => import("./icon_animation-rPC0qi0K.js"),
|
|
21
|
+
"src/assets/icons/icon_breadcrumb.svg": () => import("./icon_breadcrumb-BOiEdwRY.js"),
|
|
22
|
+
"src/assets/icons/icon_copyright.svg": () => import("./icon_copyright-zk1pF8Jj.js"),
|
|
23
|
+
"src/assets/icons/icon_jt.svg": () => import("./icon_jt-BMoQoZvf.js"),
|
|
24
|
+
"src/assets/icons/icon_layout.svg": () => import("./icon_layout-KBHA8xU_.js"),
|
|
25
|
+
"src/assets/icons/icon_mainpage.svg": () => import("./icon_mainpage-BTdCCyi2.js"),
|
|
26
|
+
"src/assets/icons/icon_menu.svg": () => import("./icon_menu-5k8XiWt5.js"),
|
|
27
|
+
"src/assets/icons/icon_page_size.svg": () => import("./icon_page_size-DUMZ6xhJ.js"),
|
|
28
|
+
"src/assets/icons/icon_position_type.svg": () => import("./icon_position_type-Cnkn2IzO.js"),
|
|
29
|
+
"src/assets/icons/icon_safe_manage.svg": () => import("./icon_safe_manage-B0PtL90p.js"),
|
|
30
|
+
"src/assets/icons/icon_screen_scale.svg": () => import("./icon_screen_scale-CwVhfflc.js"),
|
|
31
|
+
"src/assets/icons/icon_system_manage.svg": () => import("./icon_system_manage-vM71UmjM.js"),
|
|
32
|
+
"src/assets/icons/icon_tabbar.svg": () => import("./icon_tabbar-CuMnIey0.js"),
|
|
33
|
+
"src/assets/icons/icon_toolbar.svg": () => import("./icon_toolbar-BoCbAU3P.js"),
|
|
34
|
+
"src/assets/icons/icon_topbar.svg": () => import("./icon_topbar-DGIDBcE6.js"),
|
|
35
|
+
"src/assets/icons/icon_watermark.svg": () => import("./icon_watermark-BBU-lOdN.js"),
|
|
36
|
+
"src/assets/icons/log-center.svg": () => import("./log-center-Z3WDfhg1.js"),
|
|
37
|
+
"src/assets/icons/not-data.svg": () => import("./not-data-uXybSS43.js"),
|
|
38
|
+
"src/assets/icons/org-main.svg": () => import("./org-main-C2g7AMMY.js"),
|
|
39
|
+
"src/assets/icons/org-unmain.svg": () => import("./org-unmain-CjGtvuIa.js"),
|
|
40
|
+
"src/assets/icons/remove.svg": () => import("./remove-BroXCqy9.js"),
|
|
41
|
+
"src/assets/icons/resource-app.svg": () => import("./resource-app-DV2RZiRk.js"),
|
|
42
|
+
"src/assets/icons/resource-btn.svg": () => import("./resource-btn-Dw9-L0P5.js"),
|
|
43
|
+
"src/assets/icons/resource-dynamic.svg": () => import("./resource-dynamic-Cmk2ihZb.js"),
|
|
44
|
+
"src/assets/icons/resource-index.svg": () => import("./resource-index-D9J-wVCc.js"),
|
|
45
|
+
"src/assets/icons/resource-menu.svg": () => import("./resource-menu-XnlgciPe.js"),
|
|
46
|
+
"src/assets/icons/resource-micro.svg": () => import("./resource-micro-DzYCcl5c.js"),
|
|
47
|
+
"src/assets/icons/resource-nonmenu.svg": () => import("./resource-nonmenu-8bXZBBWf.js"),
|
|
48
|
+
"src/assets/icons/setting-manage.svg": () => import("./setting-manage-BPwzU94V.js"),
|
|
49
|
+
"src/assets/icons/theme-check-mark.svg": () => import("./theme-check-mark-Dz4lGIXE.js"),
|
|
50
|
+
"src/assets/icons/theme-title.svg": () => import("./theme-title-CPXdAbpI.js"),
|
|
51
|
+
"src/assets/icons/view.svg": () => import("./view-D4SR4EYn.js"),
|
|
52
|
+
"src/assets/icons/zddata.svg": () => import("./zddata-Cdy8vScr.js"),
|
|
53
|
+
"src/assets/icons/zy_checked.svg": () => import("./zy_checked-xjGWlIXf.js"),
|
|
54
|
+
"src/assets/icons/zy_default.svg": () => import("./zy_default-kwFuicHB.js")
|
|
55
55
|
},
|
|
56
56
|
layouts: {},
|
|
57
57
|
pages: {
|
|
58
|
-
"src/views/blackWhiteList/index.vue": () => import("./blackWhiteList-
|
|
59
|
-
"src/views/breadcrumb_setting/index.vue": () => import("./breadcrumb_setting-
|
|
60
|
-
"src/views/components/HCheckList.vue": () => import("./HCheckList-
|
|
61
|
-
"src/views/components/animation_item.vue": () => import("./animation_item-
|
|
62
|
-
"src/views/components/setItem.vue": () => import("./setItem-
|
|
63
|
-
"src/views/data-permission/index.vue": () => import("./data-permission-
|
|
64
|
-
"src/views/dictionary/index.vue": () => import("./dictionary-
|
|
65
|
-
"src/views/dictionary/itemlist.vue": () => import("./itemlist-
|
|
66
|
-
"src/views/group/index.vue": () => import("./group-
|
|
67
|
-
"src/views/layout_setting/index.vue": () => import("./layout_setting-
|
|
68
|
-
"src/views/log_center/login_history.vue": () => import("./login_history-
|
|
69
|
-
"src/views/log_center/operate_history.vue": () => import("./operate_history-
|
|
70
|
-
"src/views/menu_setting/index.vue": () => import("./menu_setting-
|
|
71
|
-
"src/views/organization/index.vue": () => import("./organization-
|
|
72
|
-
"src/views/other_setting/index.vue": () => import("./other_setting-
|
|
73
|
-
"src/views/page_animation_setting/index.vue": () => import("./page_animation_setting-
|
|
74
|
-
"src/views/page_w_setting/index.vue": () => import("./page_w_setting-
|
|
75
|
-
"src/views/position/index.vue": () => import("./position-
|
|
76
|
-
"src/views/
|
|
77
|
-
"src/views/
|
|
78
|
-
"src/views/role/index.vue": () => import("./role-
|
|
79
|
-
"src/views/role_group/index.vue": () => import("./role_group-
|
|
80
|
-
"src/views/safe_setting/index.vue": () => import("./safe_setting-
|
|
81
|
-
"src/views/tabbar_setting/index.vue": () => import("./tabbar_setting-
|
|
82
|
-
"src/views/tenant/index.vue": () => import("./tenant-
|
|
83
|
-
"src/views/theme_setting/index.vue": () => import("./theme_setting-
|
|
84
|
-
"src/views/toolbar_setting/index.vue": () => import("./toolbar_setting-
|
|
85
|
-
"src/views/user/index.vue": () => import("./user-
|
|
86
|
-
"src/views/watermark_setting/index.vue": () => import("./watermark_setting-
|
|
87
|
-
"src/views/blackWhiteList/components/drawerBlackWhiteList.vue": () => import("./drawerBlackWhiteList-
|
|
88
|
-
"src/views/data-permission/components/createAndEditDataPermission.vue": () => import("./createAndEditDataPermission-
|
|
89
|
-
"src/views/dictionary/components/drawerDictionary.vue": () => import("./drawerDictionary-
|
|
90
|
-
"src/views/dictionary/components/drawerDictionaryItem.vue": () => import("./drawerDictionaryItem-
|
|
91
|
-
"src/views/group/components/drawerGroup.vue": () => import("./drawerGroup-
|
|
92
|
-
"src/views/log_center/components/browserType.vue": () => import("./browserType-
|
|
93
|
-
"src/views/log_center/components/loginHistoryDetail.vue": () => import("./loginHistoryDetail-
|
|
94
|
-
"src/views/log_center/components/operateHistoryDetail.vue": () => import("./operateHistoryDetail-
|
|
95
|
-
"src/views/organization/components/drawerOrganization.vue": () => import("./drawerOrganization-
|
|
96
|
-
"src/views/organization/components/drawerRole.vue": () => import("./drawerRole-
|
|
97
|
-
"src/views/position/components/drawerPosition.vue": () => import("./drawerPosition-
|
|
98
|
-
"src/views/
|
|
99
|
-
"src/views/resource/components/
|
|
100
|
-
"src/views/resource/components/DynamicRoutesForm.vue": () => import("./DynamicRoutesForm-xXTdh5EX.js"),
|
|
58
|
+
"src/views/blackWhiteList/index.vue": () => import("./blackWhiteList-B7tUj2Rx.js"),
|
|
59
|
+
"src/views/breadcrumb_setting/index.vue": () => import("./breadcrumb_setting-CIm-6QHw.js"),
|
|
60
|
+
"src/views/components/HCheckList.vue": () => import("./HCheckList-Dd2Tx0jW.js"),
|
|
61
|
+
"src/views/components/animation_item.vue": () => import("./animation_item-COb6VI4T.js"),
|
|
62
|
+
"src/views/components/setItem.vue": () => import("./setItem-H6NRNSt7.js"),
|
|
63
|
+
"src/views/data-permission/index.vue": () => import("./data-permission-Db1Lu9KO.js"),
|
|
64
|
+
"src/views/dictionary/index.vue": () => import("./dictionary-XMJprxvM.js"),
|
|
65
|
+
"src/views/dictionary/itemlist.vue": () => import("./itemlist-KOYuEUk4.js"),
|
|
66
|
+
"src/views/group/index.vue": () => import("./group-BzuuCGyR.js"),
|
|
67
|
+
"src/views/layout_setting/index.vue": () => import("./layout_setting-DQgWzV7M.js"),
|
|
68
|
+
"src/views/log_center/login_history.vue": () => import("./login_history-Co6JLGsd.js"),
|
|
69
|
+
"src/views/log_center/operate_history.vue": () => import("./operate_history-CVeIorOr.js"),
|
|
70
|
+
"src/views/menu_setting/index.vue": () => import("./menu_setting-B0QIQ1um.js"),
|
|
71
|
+
"src/views/organization/index.vue": () => import("./organization-CXMk4mRo.js"),
|
|
72
|
+
"src/views/other_setting/index.vue": () => import("./other_setting-DK9MHysY.js"),
|
|
73
|
+
"src/views/page_animation_setting/index.vue": () => import("./page_animation_setting-tSYfjx-m.js"),
|
|
74
|
+
"src/views/page_w_setting/index.vue": () => import("./page_w_setting-BDI5KsA-.js"),
|
|
75
|
+
"src/views/position/index.vue": () => import("./position-BjUZQQUz.js"),
|
|
76
|
+
"src/views/resource/index.vue": () => import("./resource-DKhlH74I.js"),
|
|
77
|
+
"src/views/region/index.vue": () => import("./region-BsX0gK_y.js"),
|
|
78
|
+
"src/views/role/index.vue": () => import("./role-ffXddsAo.js"),
|
|
79
|
+
"src/views/role_group/index.vue": () => import("./role_group-BBH28A40.js"),
|
|
80
|
+
"src/views/safe_setting/index.vue": () => import("./safe_setting-Dis73Gsw.js"),
|
|
81
|
+
"src/views/tabbar_setting/index.vue": () => import("./tabbar_setting-DGwk_Oec.js"),
|
|
82
|
+
"src/views/tenant/index.vue": () => import("./tenant-BhA6R8aJ.js"),
|
|
83
|
+
"src/views/theme_setting/index.vue": () => import("./theme_setting-Ca1YGTdZ.js"),
|
|
84
|
+
"src/views/toolbar_setting/index.vue": () => import("./toolbar_setting-Cmrpyxgs.js"),
|
|
85
|
+
"src/views/user/index.vue": () => import("./user-Bnb1cvVD.js"),
|
|
86
|
+
"src/views/watermark_setting/index.vue": () => import("./watermark_setting-BnBt5gdM.js"),
|
|
87
|
+
"src/views/blackWhiteList/components/drawerBlackWhiteList.vue": () => import("./drawerBlackWhiteList-DK4g_CpC.js"),
|
|
88
|
+
"src/views/data-permission/components/createAndEditDataPermission.vue": () => import("./createAndEditDataPermission-6pvYsJo9.js"),
|
|
89
|
+
"src/views/dictionary/components/drawerDictionary.vue": () => import("./drawerDictionary-DHIcxPrY.js"),
|
|
90
|
+
"src/views/dictionary/components/drawerDictionaryItem.vue": () => import("./drawerDictionaryItem-dg1sIDYE.js"),
|
|
91
|
+
"src/views/group/components/drawerGroup.vue": () => import("./drawerGroup-CrF2c8UJ.js"),
|
|
92
|
+
"src/views/log_center/components/browserType.vue": () => import("./browserType-D2cPQa0k.js"),
|
|
93
|
+
"src/views/log_center/components/loginHistoryDetail.vue": () => import("./loginHistoryDetail-BNGtarOv.js"),
|
|
94
|
+
"src/views/log_center/components/operateHistoryDetail.vue": () => import("./operateHistoryDetail-DsM4L8Nz.js"),
|
|
95
|
+
"src/views/organization/components/drawerOrganization.vue": () => import("./drawerOrganization-b39q3V33.js"),
|
|
96
|
+
"src/views/organization/components/drawerRole.vue": () => import("./drawerRole-BqMh5l11.js"),
|
|
97
|
+
"src/views/position/components/drawerPosition.vue": () => import("./drawerPosition-BjoDy0cQ.js"),
|
|
98
|
+
"src/views/resource/components/ComponentSelect.vue": () => import("./ComponentSelect-Din5Vses.js"),
|
|
99
|
+
"src/views/resource/components/DynamicRoutesForm.vue": () => import("./DynamicRoutesForm-CkmCaHum.js"),
|
|
101
100
|
"src/views/resource/components/ImportExport.vue": () => import("./ImportExport-BbZkZEW_.js"),
|
|
102
|
-
"src/views/resource/components/MetaForm.vue": () => import("./MetaForm-
|
|
103
|
-
"src/views/resource/components/ResourceEdit.vue": () => import("./ResourceEdit-
|
|
101
|
+
"src/views/resource/components/MetaForm.vue": () => import("./MetaForm-CrsQmdOg.js"),
|
|
102
|
+
"src/views/resource/components/ResourceEdit.vue": () => import("./ResourceEdit-V6gt22gW.js"),
|
|
104
103
|
"src/views/resource/components/RoleRelation.vue": () => import("./RoleRelation-CAMzPMFz.js"),
|
|
105
|
-
"src/views/
|
|
106
|
-
"src/views/role/components/
|
|
107
|
-
"src/views/
|
|
108
|
-
"src/views/role_group/components/
|
|
109
|
-
"src/views/
|
|
104
|
+
"src/views/region/components/drawerRegion.vue": () => import("./drawerRegion-omVT_dpq.js"),
|
|
105
|
+
"src/views/role/components/ResourceRelation.vue": () => import("./ResourceRelation-BnLQZey7.js"),
|
|
106
|
+
"src/views/role/components/drawerRole.vue": () => import("./drawerRole-D7VJRLmp.js"),
|
|
107
|
+
"src/views/role_group/components/ResourceRelation.vue": () => import("./ResourceRelation-CBPrqf2V.js"),
|
|
108
|
+
"src/views/role_group/components/drawerRole.vue": () => import("./drawerRole-dJ3m0_K2.js"),
|
|
109
|
+
"src/views/tenant/components/TenantEdit.vue": () => import("./TenantEdit-DYHJehf0.js"),
|
|
110
110
|
"src/views/user/components/OrgAndPosition.vue": () => import("./OrgAndPosition-CDCim7yM.js"),
|
|
111
|
-
"src/views/user/components/UserAuthorization.vue": () => import("./UserAuthorization-
|
|
111
|
+
"src/views/user/components/UserAuthorization.vue": () => import("./UserAuthorization-BdHxAQlK.js"),
|
|
112
112
|
"src/views/user/components/UserEdit.vue": () => import("./UserEdit-CqrRx717.js")
|
|
113
113
|
}
|
|
114
114
|
};
|
|
@@ -1266,7 +1266,7 @@ const $d = {
|
|
|
1266
1266
|
children: [
|
|
1267
1267
|
{
|
|
1268
1268
|
path: "resource",
|
|
1269
|
-
component: () => import("./resource-
|
|
1269
|
+
component: () => import("./resource-DKhlH74I.js"),
|
|
1270
1270
|
name: "Resource",
|
|
1271
1271
|
meta: {
|
|
1272
1272
|
title: "资源管理",
|
|
@@ -1277,7 +1277,7 @@ const $d = {
|
|
|
1277
1277
|
},
|
|
1278
1278
|
{
|
|
1279
1279
|
path: "role",
|
|
1280
|
-
component: () => import("./role-
|
|
1280
|
+
component: () => import("./role-ffXddsAo.js"),
|
|
1281
1281
|
name: "Role",
|
|
1282
1282
|
meta: {
|
|
1283
1283
|
title: "角色管理",
|
|
@@ -1288,7 +1288,7 @@ const $d = {
|
|
|
1288
1288
|
},
|
|
1289
1289
|
{
|
|
1290
1290
|
path: "role-group",
|
|
1291
|
-
component: () => import("./role_group-
|
|
1291
|
+
component: () => import("./role_group-BBH28A40.js"),
|
|
1292
1292
|
name: "RoleGroup",
|
|
1293
1293
|
meta: {
|
|
1294
1294
|
title: "角色组管理",
|
|
@@ -1299,7 +1299,7 @@ const $d = {
|
|
|
1299
1299
|
},
|
|
1300
1300
|
{
|
|
1301
1301
|
path: "data-permission",
|
|
1302
|
-
component: () => import("./data-permission-
|
|
1302
|
+
component: () => import("./data-permission-Db1Lu9KO.js"),
|
|
1303
1303
|
name: "DataPermission",
|
|
1304
1304
|
meta: {
|
|
1305
1305
|
title: "数据权限管理",
|
|
@@ -1310,7 +1310,7 @@ const $d = {
|
|
|
1310
1310
|
},
|
|
1311
1311
|
{
|
|
1312
1312
|
path: "organization",
|
|
1313
|
-
component: () => import("./organization-
|
|
1313
|
+
component: () => import("./organization-CXMk4mRo.js"),
|
|
1314
1314
|
name: "Organization",
|
|
1315
1315
|
meta: {
|
|
1316
1316
|
title: "组织管理",
|
|
@@ -1321,7 +1321,7 @@ const $d = {
|
|
|
1321
1321
|
},
|
|
1322
1322
|
{
|
|
1323
1323
|
path: "user",
|
|
1324
|
-
component: () => import("./user-
|
|
1324
|
+
component: () => import("./user-Bnb1cvVD.js"),
|
|
1325
1325
|
name: "User",
|
|
1326
1326
|
meta: {
|
|
1327
1327
|
title: "用户管理",
|
|
@@ -1332,7 +1332,7 @@ const $d = {
|
|
|
1332
1332
|
},
|
|
1333
1333
|
{
|
|
1334
1334
|
path: "tenant",
|
|
1335
|
-
component: () => import("./tenant-
|
|
1335
|
+
component: () => import("./tenant-BhA6R8aJ.js"),
|
|
1336
1336
|
name: "Tenant",
|
|
1337
1337
|
meta: {
|
|
1338
1338
|
title: "租户管理",
|
|
@@ -1354,7 +1354,7 @@ const tf = {
|
|
|
1354
1354
|
},
|
|
1355
1355
|
children: [{
|
|
1356
1356
|
path: "login_history",
|
|
1357
|
-
component: () => import("./login_history-
|
|
1357
|
+
component: () => import("./login_history-Co6JLGsd.js"),
|
|
1358
1358
|
name: "LoginHistory",
|
|
1359
1359
|
meta: {
|
|
1360
1360
|
title: "登录日志",
|
|
@@ -1364,7 +1364,7 @@ const tf = {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
}, {
|
|
1366
1366
|
path: "operate_history",
|
|
1367
|
-
component: () => import("./operate_history-
|
|
1367
|
+
component: () => import("./operate_history-CVeIorOr.js"),
|
|
1368
1368
|
name: "OperateHistory",
|
|
1369
1369
|
meta: {
|
|
1370
1370
|
title: "操作日志",
|
|
@@ -1386,7 +1386,7 @@ const rf = {
|
|
|
1386
1386
|
children: [
|
|
1387
1387
|
{
|
|
1388
1388
|
path: "blacklist",
|
|
1389
|
-
component: () => import("./blackWhiteList-
|
|
1389
|
+
component: () => import("./blackWhiteList-B7tUj2Rx.js"),
|
|
1390
1390
|
name: "Blacklist",
|
|
1391
1391
|
meta: {
|
|
1392
1392
|
title: "黑名单管理",
|
|
@@ -1397,7 +1397,7 @@ const rf = {
|
|
|
1397
1397
|
},
|
|
1398
1398
|
{
|
|
1399
1399
|
path: "whitelist",
|
|
1400
|
-
component: () => import("./blackWhiteList-
|
|
1400
|
+
component: () => import("./blackWhiteList-B7tUj2Rx.js"),
|
|
1401
1401
|
name: "Whitelist",
|
|
1402
1402
|
meta: {
|
|
1403
1403
|
title: "白名单管理",
|
|
@@ -1408,7 +1408,7 @@ const rf = {
|
|
|
1408
1408
|
},
|
|
1409
1409
|
{
|
|
1410
1410
|
path: "safe-setting",
|
|
1411
|
-
component: () => import("./safe_setting-
|
|
1411
|
+
component: () => import("./safe_setting-Dis73Gsw.js"),
|
|
1412
1412
|
name: "SafeSetting",
|
|
1413
1413
|
meta: {
|
|
1414
1414
|
title: "安全配置",
|
|
@@ -1419,7 +1419,7 @@ const rf = {
|
|
|
1419
1419
|
},
|
|
1420
1420
|
{
|
|
1421
1421
|
path: "watermark-setting",
|
|
1422
|
-
component: () => import("./watermark_setting-
|
|
1422
|
+
component: () => import("./watermark_setting-BnBt5gdM.js"),
|
|
1423
1423
|
name: "WatermarkSetting",
|
|
1424
1424
|
meta: {
|
|
1425
1425
|
title: "页面水印配置",
|
|
@@ -1442,7 +1442,7 @@ const sf = {
|
|
|
1442
1442
|
children: [
|
|
1443
1443
|
{
|
|
1444
1444
|
path: "theme-setting",
|
|
1445
|
-
component: () => import("./theme_setting-
|
|
1445
|
+
component: () => import("./theme_setting-Ca1YGTdZ.js"),
|
|
1446
1446
|
name: "ThemeSetting",
|
|
1447
1447
|
meta: {
|
|
1448
1448
|
title: "主题配置",
|
|
@@ -1453,7 +1453,7 @@ const sf = {
|
|
|
1453
1453
|
},
|
|
1454
1454
|
{
|
|
1455
1455
|
path: "layout-setting",
|
|
1456
|
-
component: () => import("./layout_setting-
|
|
1456
|
+
component: () => import("./layout_setting-DQgWzV7M.js"),
|
|
1457
1457
|
name: "LayoutSetting",
|
|
1458
1458
|
meta: {
|
|
1459
1459
|
title: "布局配置",
|
|
@@ -1464,7 +1464,7 @@ const sf = {
|
|
|
1464
1464
|
},
|
|
1465
1465
|
{
|
|
1466
1466
|
path: "page-animation-setting",
|
|
1467
|
-
component: () => import("./page_animation_setting-
|
|
1467
|
+
component: () => import("./page_animation_setting-tSYfjx-m.js"),
|
|
1468
1468
|
name: "PageAnimationSetting",
|
|
1469
1469
|
meta: {
|
|
1470
1470
|
title: "页面动画配置",
|
|
@@ -1475,7 +1475,7 @@ const sf = {
|
|
|
1475
1475
|
},
|
|
1476
1476
|
{
|
|
1477
1477
|
path: "page-size-setting",
|
|
1478
|
-
component: () => import("./page_w_setting-
|
|
1478
|
+
component: () => import("./page_w_setting-BDI5KsA-.js"),
|
|
1479
1479
|
name: "PageSizeSetting",
|
|
1480
1480
|
meta: {
|
|
1481
1481
|
title: "页宽配置",
|
|
@@ -1486,7 +1486,7 @@ const sf = {
|
|
|
1486
1486
|
},
|
|
1487
1487
|
{
|
|
1488
1488
|
path: "menu-setting",
|
|
1489
|
-
component: () => import("./menu_setting-
|
|
1489
|
+
component: () => import("./menu_setting-B0QIQ1um.js"),
|
|
1490
1490
|
name: "MenuSetting",
|
|
1491
1491
|
meta: {
|
|
1492
1492
|
title: "导航栏配置",
|
|
@@ -1497,7 +1497,7 @@ const sf = {
|
|
|
1497
1497
|
},
|
|
1498
1498
|
{
|
|
1499
1499
|
path: "tabbar-setting",
|
|
1500
|
-
component: () => import("./tabbar_setting-
|
|
1500
|
+
component: () => import("./tabbar_setting-DGwk_Oec.js"),
|
|
1501
1501
|
name: "TabbarSetting",
|
|
1502
1502
|
meta: {
|
|
1503
1503
|
title: "标签栏配置",
|
|
@@ -1508,7 +1508,7 @@ const sf = {
|
|
|
1508
1508
|
},
|
|
1509
1509
|
{
|
|
1510
1510
|
path: "toolbar-setting",
|
|
1511
|
-
component: () => import("./toolbar_setting-
|
|
1511
|
+
component: () => import("./toolbar_setting-Cmrpyxgs.js"),
|
|
1512
1512
|
name: "ToolbarSetting",
|
|
1513
1513
|
meta: {
|
|
1514
1514
|
title: "工具栏配置",
|
|
@@ -1519,7 +1519,7 @@ const sf = {
|
|
|
1519
1519
|
},
|
|
1520
1520
|
{
|
|
1521
1521
|
path: "breadcrumb-setting",
|
|
1522
|
-
component: () => import("./breadcrumb_setting-
|
|
1522
|
+
component: () => import("./breadcrumb_setting-CIm-6QHw.js"),
|
|
1523
1523
|
name: "BreadcrumbSetting",
|
|
1524
1524
|
meta: {
|
|
1525
1525
|
title: "面包屑配置",
|
|
@@ -1530,7 +1530,7 @@ const sf = {
|
|
|
1530
1530
|
},
|
|
1531
1531
|
{
|
|
1532
1532
|
path: "other-setting",
|
|
1533
|
-
component: () => import("./other_setting-
|
|
1533
|
+
component: () => import("./other_setting-DK9MHysY.js"),
|
|
1534
1534
|
name: "OtherSetting",
|
|
1535
1535
|
meta: {
|
|
1536
1536
|
title: "其他配置",
|
|
@@ -1562,7 +1562,7 @@ const lf = {
|
|
|
1562
1562
|
children: [{
|
|
1563
1563
|
path: "",
|
|
1564
1564
|
name: "Dictionary",
|
|
1565
|
-
component: () => import("./dictionary-
|
|
1565
|
+
component: () => import("./dictionary-XMJprxvM.js"),
|
|
1566
1566
|
meta: {
|
|
1567
1567
|
title: "字典管理",
|
|
1568
1568
|
sidebar: !1,
|
|
@@ -1573,7 +1573,7 @@ const lf = {
|
|
|
1573
1573
|
}, {
|
|
1574
1574
|
path: "detail/:id",
|
|
1575
1575
|
name: "DictionaryItem",
|
|
1576
|
-
component: () => import("./itemlist-
|
|
1576
|
+
component: () => import("./itemlist-KOYuEUk4.js"),
|
|
1577
1577
|
meta: {
|
|
1578
1578
|
title: "字典数据",
|
|
1579
1579
|
sidebar: !1,
|
|
@@ -1584,7 +1584,7 @@ const lf = {
|
|
|
1584
1584
|
},
|
|
1585
1585
|
{
|
|
1586
1586
|
path: "position",
|
|
1587
|
-
component: () => import("./position-
|
|
1587
|
+
component: () => import("./position-BjUZQQUz.js"),
|
|
1588
1588
|
name: "Position",
|
|
1589
1589
|
meta: {
|
|
1590
1590
|
title: "岗位管理",
|
|
@@ -1595,7 +1595,7 @@ const lf = {
|
|
|
1595
1595
|
},
|
|
1596
1596
|
{
|
|
1597
1597
|
path: "region",
|
|
1598
|
-
component: () => import("./region-
|
|
1598
|
+
component: () => import("./region-BsX0gK_y.js"),
|
|
1599
1599
|
name: "Region",
|
|
1600
1600
|
meta: {
|
|
1601
1601
|
title: "区域管理",
|
|
@@ -1606,7 +1606,7 @@ const lf = {
|
|
|
1606
1606
|
},
|
|
1607
1607
|
{
|
|
1608
1608
|
path: "group",
|
|
1609
|
-
component: () => import("./group-
|
|
1609
|
+
component: () => import("./group-BzuuCGyR.js"),
|
|
1610
1610
|
name: "Group",
|
|
1611
1611
|
meta: {
|
|
1612
1612
|
title: "群组管理",
|
|
@@ -3679,26 +3679,18 @@ const Jm = y({
|
|
|
3679
3679
|
let n = qm(e);
|
|
3680
3680
|
return Hm(n), Km(n), () => t?.default?.();
|
|
3681
3681
|
}
|
|
3682
|
-
});
|
|
3683
|
-
function Xm(e) {
|
|
3684
|
-
return x() ? (ce(e), !0) : !1;
|
|
3685
|
-
}
|
|
3686
|
-
const Zm = typeof window < "u" && typeof document < "u";
|
|
3682
|
+
}), Xm = typeof window < "u" && typeof document < "u";
|
|
3687
3683
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
3688
|
-
const
|
|
3689
|
-
function
|
|
3690
|
-
var e, t;
|
|
3691
|
-
return Zm && (e = window == null ? void 0 : window.navigator)?.userAgent && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || (t = window == null ? void 0 : window.navigator)?.maxTouchPoints > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
3692
|
-
}
|
|
3693
|
-
function ah(...e) {
|
|
3684
|
+
const Zm = (e) => e !== void 0, Qm = (e, t, n) => Math.min(n, Math.max(t, e)), $m = () => {};
|
|
3685
|
+
function eh(...e) {
|
|
3694
3686
|
if (e.length !== 1) return he(...e);
|
|
3695
3687
|
let t = e[0];
|
|
3696
3688
|
return typeof t == "function" ? fe(v(() => ({
|
|
3697
3689
|
get: t,
|
|
3698
|
-
set:
|
|
3690
|
+
set: $m
|
|
3699
3691
|
}))) : k(t);
|
|
3700
3692
|
}
|
|
3701
|
-
function
|
|
3693
|
+
function th(e, t) {
|
|
3702
3694
|
function n(...n) {
|
|
3703
3695
|
return new Promise((r, i) => {
|
|
3704
3696
|
Promise.resolve(e(() => t.apply(this, n), {
|
|
@@ -3710,10 +3702,10 @@ function oh(e, t) {
|
|
|
3710
3702
|
}
|
|
3711
3703
|
return n;
|
|
3712
3704
|
}
|
|
3713
|
-
const
|
|
3714
|
-
function
|
|
3715
|
-
let n, r, i =
|
|
3716
|
-
clearTimeout(e), i(), i =
|
|
3705
|
+
const nh = (e) => e();
|
|
3706
|
+
function rh(e, t = {}) {
|
|
3707
|
+
let n, r, i = $m, a = (e) => {
|
|
3708
|
+
clearTimeout(e), i(), i = $m;
|
|
3717
3709
|
}, o, s = (s) => {
|
|
3718
3710
|
let c = P(e), l = P(t.maxWait);
|
|
3719
3711
|
return n && a(n), c <= 0 || l !== void 0 && l <= 0 ? (r && (a(r), r = void 0), Promise.resolve(s())) : new Promise((e, u) => {
|
|
@@ -3726,8 +3718,8 @@ function ch(e, t = {}) {
|
|
|
3726
3718
|
};
|
|
3727
3719
|
return s;
|
|
3728
3720
|
}
|
|
3729
|
-
function
|
|
3730
|
-
let { initialState: n = "active" } = t, r =
|
|
3721
|
+
function ih(e = nh, t = {}) {
|
|
3722
|
+
let { initialState: n = "active" } = t, r = eh(n === "active");
|
|
3731
3723
|
function i() {
|
|
3732
3724
|
r.value = !1;
|
|
3733
3725
|
}
|
|
@@ -3744,29 +3736,26 @@ function lh(e = sh, t = {}) {
|
|
|
3744
3736
|
eventFilter: o
|
|
3745
3737
|
};
|
|
3746
3738
|
}
|
|
3747
|
-
function
|
|
3748
|
-
return Array.isArray(e) ? e : [e];
|
|
3749
|
-
}
|
|
3750
|
-
function dh(e) {
|
|
3739
|
+
function ah(e) {
|
|
3751
3740
|
let t = /* @__PURE__ */ Object.create(null);
|
|
3752
3741
|
return (n) => {
|
|
3753
3742
|
let r = t[n];
|
|
3754
3743
|
return r || (t[n] = e(n));
|
|
3755
3744
|
};
|
|
3756
3745
|
}
|
|
3757
|
-
const
|
|
3758
|
-
|
|
3759
|
-
const
|
|
3760
|
-
|
|
3761
|
-
function
|
|
3746
|
+
const oh = /\B([A-Z])/g;
|
|
3747
|
+
ah((e) => e.replace(oh, "-$1").toLowerCase());
|
|
3748
|
+
const sh = /-(\w)/g;
|
|
3749
|
+
ah((e) => e.replace(sh, (e, t) => t ? t.toUpperCase() : ""));
|
|
3750
|
+
function ch(e) {
|
|
3762
3751
|
return e || b();
|
|
3763
3752
|
}
|
|
3764
|
-
function
|
|
3765
|
-
let { eventFilter: r =
|
|
3766
|
-
return I(e,
|
|
3753
|
+
function lh(e, t, n = {}) {
|
|
3754
|
+
let { eventFilter: r = nh,...i } = n;
|
|
3755
|
+
return I(e, th(r, t), i);
|
|
3767
3756
|
}
|
|
3768
|
-
function
|
|
3769
|
-
let { eventFilter: r, initialState: i = "active",...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } =
|
|
3757
|
+
function uh(e, t, n = {}) {
|
|
3758
|
+
let { eventFilter: r, initialState: i = "active",...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = ih(r, { initialState: i }), u = lh(e, t, {
|
|
3770
3759
|
...a,
|
|
3771
3760
|
eventFilter: o
|
|
3772
3761
|
});
|
|
@@ -3777,15 +3766,15 @@ function gh(e, t, n = {}) {
|
|
|
3777
3766
|
isActive: l
|
|
3778
3767
|
};
|
|
3779
3768
|
}
|
|
3780
|
-
function
|
|
3769
|
+
function dh(e, t, ...[n]) {
|
|
3781
3770
|
let { flush: r = "sync", deep: i = !1, immediate: a = !0, direction: o = "both", transform: s = {} } = n || {}, c = [], l = "ltr" in s && s.ltr || ((e) => e), u = "rtl" in s && s.rtl || ((e) => e);
|
|
3782
|
-
(o === "both" || o === "ltr") && c.push(
|
|
3771
|
+
(o === "both" || o === "ltr") && c.push(uh(e, (e) => {
|
|
3783
3772
|
c.forEach((e) => e.pause()), t.value = l(e), c.forEach((e) => e.resume());
|
|
3784
3773
|
}, {
|
|
3785
3774
|
flush: r,
|
|
3786
3775
|
deep: i,
|
|
3787
3776
|
immediate: a
|
|
3788
|
-
})), (o === "both" || o === "rtl") && c.push(
|
|
3777
|
+
})), (o === "both" || o === "rtl") && c.push(uh(t, (t) => {
|
|
3789
3778
|
c.forEach((e) => e.pause()), e.value = u(t), c.forEach((e) => e.resume());
|
|
3790
3779
|
}, {
|
|
3791
3780
|
flush: r,
|
|
@@ -3797,11 +3786,12 @@ function _h(e, t, ...[n]) {
|
|
|
3797
3786
|
};
|
|
3798
3787
|
return d;
|
|
3799
3788
|
}
|
|
3800
|
-
function
|
|
3801
|
-
let r =
|
|
3789
|
+
function fh(e, t = !0, n) {
|
|
3790
|
+
let r = ch(n);
|
|
3802
3791
|
r ? D(e, n) : t ? e() : ae(e);
|
|
3803
3792
|
}
|
|
3804
|
-
|
|
3793
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
3794
|
+
function ph(e = !1, t = {}) {
|
|
3805
3795
|
let { truthyValue: n = !0, falsyValue: r = !1 } = t, i = ne(e), a = j(e);
|
|
3806
3796
|
function o(e) {
|
|
3807
3797
|
if (arguments.length) return a.value = e, a.value;
|
|
@@ -3812,113 +3802,33 @@ function yh(e = !1, t = {}) {
|
|
|
3812
3802
|
}
|
|
3813
3803
|
return i ? o : [a, o];
|
|
3814
3804
|
}
|
|
3815
|
-
function
|
|
3805
|
+
function mh(e, t, n = {}) {
|
|
3816
3806
|
let { debounce: r = 0, maxWait: i = void 0,...a } = n;
|
|
3817
|
-
return
|
|
3807
|
+
return lh(e, t, {
|
|
3818
3808
|
...a,
|
|
3819
|
-
eventFilter:
|
|
3809
|
+
eventFilter: rh(r, { maxWait: i })
|
|
3820
3810
|
});
|
|
3821
3811
|
}
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
...n,
|
|
3825
|
-
immediate: !0
|
|
3826
|
-
});
|
|
3827
|
-
}
|
|
3828
|
-
const Sh = Zm ? window : void 0;
|
|
3829
|
-
Zm && window.document, Zm && window.navigator, Zm && window.location;
|
|
3830
|
-
function Ch(e) {
|
|
3831
|
-
var t;
|
|
3832
|
-
let n = P(e);
|
|
3833
|
-
return (t = n?.$el) ?? n;
|
|
3834
|
-
}
|
|
3835
|
-
function wh() {
|
|
3836
|
-
let e = j(!1), t = b();
|
|
3837
|
-
return t && D(() => {
|
|
3838
|
-
e.value = !0;
|
|
3839
|
-
}, t), e;
|
|
3840
|
-
}
|
|
3841
|
-
function Th(e) {
|
|
3842
|
-
let t = wh();
|
|
3843
|
-
return u(() => (t.value, !!e()));
|
|
3844
|
-
}
|
|
3845
|
-
Symbol("vueuse-ssr-width");
|
|
3846
|
-
function Eh(e) {
|
|
3812
|
+
Xm && window.document, Xm && window.navigator, Xm && window.location, Symbol("vueuse-ssr-width");
|
|
3813
|
+
function hh(e) {
|
|
3847
3814
|
return JSON.parse(JSON.stringify(e));
|
|
3848
3815
|
}
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
}, c = u(() => {
|
|
3853
|
-
let t = P(e);
|
|
3854
|
-
return Array.isArray(t) ? t.map((e) => Ch(e)) : [Ch(t)];
|
|
3855
|
-
}), l = I(c, (e) => {
|
|
3856
|
-
if (s(), o.value && r) {
|
|
3857
|
-
a = new ResizeObserver(t);
|
|
3858
|
-
for (let t of e) t && a.observe(t, i);
|
|
3859
|
-
}
|
|
3860
|
-
}, {
|
|
3861
|
-
immediate: !0,
|
|
3862
|
-
flush: "post"
|
|
3863
|
-
}), d = () => {
|
|
3864
|
-
s(), l();
|
|
3865
|
-
};
|
|
3866
|
-
return Xm(d), {
|
|
3867
|
-
isSupported: o,
|
|
3868
|
-
stop: d
|
|
3869
|
-
};
|
|
3870
|
-
}
|
|
3871
|
-
function Oh(e, t = {
|
|
3872
|
-
width: 0,
|
|
3873
|
-
height: 0
|
|
3874
|
-
}, n = {}) {
|
|
3875
|
-
let { window: r = Sh, box: i = "content-box" } = n, a = u(() => {
|
|
3876
|
-
var t, n;
|
|
3877
|
-
return (n = (t = Ch(e))?.namespaceURI)?.includes("svg");
|
|
3878
|
-
}), o = j(t.width), s = j(t.height), { stop: c } = Dh(e, ([t]) => {
|
|
3879
|
-
let n = i === "border-box" ? t.borderBoxSize : i === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
|
|
3880
|
-
if (r && a.value) {
|
|
3881
|
-
let t = Ch(e);
|
|
3882
|
-
if (t) {
|
|
3883
|
-
let e = t.getBoundingClientRect();
|
|
3884
|
-
o.value = e.width, s.value = e.height;
|
|
3885
|
-
}
|
|
3886
|
-
} else if (n) {
|
|
3887
|
-
let e = uh(n);
|
|
3888
|
-
o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), s.value = e.reduce((e, { blockSize: t }) => e + t, 0);
|
|
3889
|
-
} else o.value = t.contentRect.width, s.value = t.contentRect.height;
|
|
3890
|
-
}, n);
|
|
3891
|
-
vh(() => {
|
|
3892
|
-
let n = Ch(e);
|
|
3893
|
-
n && (o.value = "offsetWidth" in n ? n.offsetWidth : t.width, s.value = "offsetHeight" in n ? n.offsetHeight : t.height);
|
|
3894
|
-
});
|
|
3895
|
-
let l = I(() => Ch(e), (e) => {
|
|
3896
|
-
o.value = e ? t.width : 0, s.value = e ? t.height : 0;
|
|
3897
|
-
});
|
|
3898
|
-
function d() {
|
|
3899
|
-
c(), l();
|
|
3900
|
-
}
|
|
3901
|
-
return {
|
|
3902
|
-
width: o,
|
|
3903
|
-
height: s,
|
|
3904
|
-
stop: d
|
|
3905
|
-
};
|
|
3906
|
-
}
|
|
3907
|
-
function kh(e, t, n) {
|
|
3908
|
-
if (typeof e == "function" || te(e)) return u(() => th(P(e), P(t), P(n)));
|
|
3816
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
3817
|
+
function gh(e, t, n) {
|
|
3818
|
+
if (typeof e == "function" || te(e)) return u(() => Qm(P(e), P(t), P(n)));
|
|
3909
3819
|
let r = k(e);
|
|
3910
3820
|
return u({
|
|
3911
3821
|
get() {
|
|
3912
|
-
return r.value =
|
|
3822
|
+
return r.value = Qm(r.value, P(t), P(n));
|
|
3913
3823
|
},
|
|
3914
3824
|
set(e) {
|
|
3915
|
-
r.value =
|
|
3825
|
+
r.value = Qm(e, P(t), P(n));
|
|
3916
3826
|
}
|
|
3917
3827
|
});
|
|
3918
3828
|
}
|
|
3919
|
-
function
|
|
3920
|
-
let { total: t = Infinity, pageSize: n = 10, page: r = 1, onPageChange: i =
|
|
3921
|
-
ne(r) &&
|
|
3829
|
+
function _h(e) {
|
|
3830
|
+
let { total: t = Infinity, pageSize: n = 10, page: r = 1, onPageChange: i = $m, onPageSizeChange: a = $m, onPageCountChange: o = $m } = e, s = /* @__PURE__ */ gh(n, 1, Infinity), c = u(() => Math.max(1, Math.ceil(P(t) / P(s)))), l = /* @__PURE__ */ gh(r, 1, c), d = u(() => l.value === 1), f = u(() => l.value === c.value);
|
|
3831
|
+
ne(r) && dh(r, l, { direction: te(r) ? "ltr" : "both" }), ne(n) && dh(n, s, { direction: te(n) ? "ltr" : "both" });
|
|
3922
3832
|
function p() {
|
|
3923
3833
|
l.value--;
|
|
3924
3834
|
}
|
|
@@ -3942,11 +3852,12 @@ function Ah(e) {
|
|
|
3942
3852
|
o(de(h));
|
|
3943
3853
|
}), h;
|
|
3944
3854
|
}
|
|
3945
|
-
|
|
3855
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
3856
|
+
function vh(e, t, n, r = {}) {
|
|
3946
3857
|
var i, a, o;
|
|
3947
3858
|
let { clone: s = !1, passive: c = !1, eventName: l, deep: d = !1, defaultValue: f, shouldEmit: p } = r, m = b(), h = n || m?.emit || (i = m?.$emit)?.bind(m) || (o = (a = m?.proxy)?.$emit)?.bind(m?.proxy), g = l;
|
|
3948
3859
|
t ||= "modelValue", g ||= `update:${t.toString()}`;
|
|
3949
|
-
let _ = (e) => s ? typeof s == "function" ? s(e) :
|
|
3860
|
+
let _ = (e) => s ? typeof s == "function" ? s(e) : hh(e) : e, v = () => Zm(e[t]) ? _(e[t]) : f, y = (e) => {
|
|
3950
3861
|
p ? p(e) && h(g, e) : h(g, e);
|
|
3951
3862
|
};
|
|
3952
3863
|
if (c) {
|
|
@@ -3965,143 +3876,8 @@ function jh(e, t, n, r = {}) {
|
|
|
3965
3876
|
}
|
|
3966
3877
|
});
|
|
3967
3878
|
}
|
|
3968
|
-
function
|
|
3969
|
-
let
|
|
3970
|
-
return {
|
|
3971
|
-
list: o,
|
|
3972
|
-
scrollTo: i,
|
|
3973
|
-
containerProps: {
|
|
3974
|
-
ref: s,
|
|
3975
|
-
onScroll: () => {
|
|
3976
|
-
a();
|
|
3977
|
-
},
|
|
3978
|
-
style: n
|
|
3979
|
-
},
|
|
3980
|
-
wrapperProps: r
|
|
3981
|
-
};
|
|
3982
|
-
}
|
|
3983
|
-
function Nh(e) {
|
|
3984
|
-
let t = j(null), n = Oh(t), r = k([]), i = j(e), a = k({
|
|
3985
|
-
start: 0,
|
|
3986
|
-
end: 10
|
|
3987
|
-
});
|
|
3988
|
-
return {
|
|
3989
|
-
state: a,
|
|
3990
|
-
source: i,
|
|
3991
|
-
currentList: r,
|
|
3992
|
-
size: n,
|
|
3993
|
-
containerRef: t
|
|
3994
|
-
};
|
|
3995
|
-
}
|
|
3996
|
-
function Ph(e, t, n) {
|
|
3997
|
-
return (r) => {
|
|
3998
|
-
if (typeof n == "number") return Math.ceil(r / n);
|
|
3999
|
-
let { start: i = 0 } = e.value, a = 0, o = 0;
|
|
4000
|
-
for (let e = i; e < t.value.length; e++) {
|
|
4001
|
-
let t = n(e);
|
|
4002
|
-
if (a += t, o = e, a > r) break;
|
|
4003
|
-
}
|
|
4004
|
-
return o - i;
|
|
4005
|
-
};
|
|
4006
|
-
}
|
|
4007
|
-
function Fh(e, t) {
|
|
4008
|
-
return (n) => {
|
|
4009
|
-
if (typeof t == "number") return Math.floor(n / t) + 1;
|
|
4010
|
-
let r = 0, i = 0;
|
|
4011
|
-
for (let a = 0; a < e.value.length; a++) {
|
|
4012
|
-
let e = t(a);
|
|
4013
|
-
if (r += e, r >= n) {
|
|
4014
|
-
i = a;
|
|
4015
|
-
break;
|
|
4016
|
-
}
|
|
4017
|
-
}
|
|
4018
|
-
return i + 1;
|
|
4019
|
-
};
|
|
4020
|
-
}
|
|
4021
|
-
function Ih(e, t, n, r, { containerRef: i, state: a, currentList: o, source: s }) {
|
|
4022
|
-
return () => {
|
|
4023
|
-
let c = i.value;
|
|
4024
|
-
if (c) {
|
|
4025
|
-
let i = n(e === "vertical" ? c.scrollTop : c.scrollLeft), l = r(e === "vertical" ? c.clientHeight : c.clientWidth), u = i - t, d = i + l + t;
|
|
4026
|
-
a.value = {
|
|
4027
|
-
start: u < 0 ? 0 : u,
|
|
4028
|
-
end: d > s.value.length ? s.value.length : d
|
|
4029
|
-
}, o.value = s.value.slice(a.value.start, a.value.end).map((e, t) => ({
|
|
4030
|
-
data: e,
|
|
4031
|
-
index: t + a.value.start
|
|
4032
|
-
}));
|
|
4033
|
-
}
|
|
4034
|
-
};
|
|
4035
|
-
}
|
|
4036
|
-
function Lh(e, t) {
|
|
4037
|
-
return (n) => {
|
|
4038
|
-
if (typeof e == "number") {
|
|
4039
|
-
let t = n * e;
|
|
4040
|
-
return t;
|
|
4041
|
-
}
|
|
4042
|
-
let r = t.value.slice(0, n).reduce((t, n, r) => t + e(r), 0);
|
|
4043
|
-
return r;
|
|
4044
|
-
};
|
|
4045
|
-
}
|
|
4046
|
-
function Rh(e, t, n, r) {
|
|
4047
|
-
I([
|
|
4048
|
-
e.width,
|
|
4049
|
-
e.height,
|
|
4050
|
-
t,
|
|
4051
|
-
n
|
|
4052
|
-
], () => {
|
|
4053
|
-
r();
|
|
4054
|
-
});
|
|
4055
|
-
}
|
|
4056
|
-
function zh(e, t) {
|
|
4057
|
-
return u(() => typeof e == "number" ? t.value.length * e : t.value.reduce((t, n, r) => t + e(r), 0));
|
|
4058
|
-
}
|
|
4059
|
-
const Bh = {
|
|
4060
|
-
horizontal: "scrollLeft",
|
|
4061
|
-
vertical: "scrollTop"
|
|
4062
|
-
};
|
|
4063
|
-
function Vh(e, t, n, r) {
|
|
4064
|
-
return (i) => {
|
|
4065
|
-
r.value && (r.value[Bh[e]] = n(i), t());
|
|
4066
|
-
};
|
|
4067
|
-
}
|
|
4068
|
-
function Hh(e, t) {
|
|
4069
|
-
let n = Nh(t), { state: r, source: i, currentList: a, size: o, containerRef: s } = n, c = { overflowX: "auto" }, { itemWidth: l, overscan: d = 5 } = e, f = Ph(r, i, l), p = Fh(i, l), m = Ih("horizontal", d, p, f, n), h = Lh(l, i), g = u(() => h(r.value.start)), _ = zh(l, i);
|
|
4070
|
-
Rh(o, t, s, m);
|
|
4071
|
-
let v = Vh("horizontal", m, h, s), y = u(() => ({ style: {
|
|
4072
|
-
height: "100%",
|
|
4073
|
-
width: `${_.value - g.value}px`,
|
|
4074
|
-
marginLeft: `${g.value}px`,
|
|
4075
|
-
display: "flex"
|
|
4076
|
-
} }));
|
|
4077
|
-
return {
|
|
4078
|
-
scrollTo: v,
|
|
4079
|
-
calculateRange: m,
|
|
4080
|
-
wrapperProps: y,
|
|
4081
|
-
containerStyle: c,
|
|
4082
|
-
currentList: a,
|
|
4083
|
-
containerRef: s
|
|
4084
|
-
};
|
|
4085
|
-
}
|
|
4086
|
-
function Uh(e, t) {
|
|
4087
|
-
let n = Nh(t), { state: r, source: i, currentList: a, size: o, containerRef: s } = n, c = { overflowY: "auto" }, { itemHeight: l, overscan: d = 5 } = e, f = Ph(r, i, l), p = Fh(i, l), m = Ih("vertical", d, p, f, n), h = Lh(l, i), g = u(() => h(r.value.start)), _ = zh(l, i);
|
|
4088
|
-
Rh(o, t, s, m);
|
|
4089
|
-
let v = Vh("vertical", m, h, s), y = u(() => ({ style: {
|
|
4090
|
-
width: "100%",
|
|
4091
|
-
height: `${_.value - g.value}px`,
|
|
4092
|
-
marginTop: `${g.value}px`
|
|
4093
|
-
} }));
|
|
4094
|
-
return {
|
|
4095
|
-
calculateRange: m,
|
|
4096
|
-
scrollTo: v,
|
|
4097
|
-
containerStyle: c,
|
|
4098
|
-
wrapperProps: y,
|
|
4099
|
-
currentList: a,
|
|
4100
|
-
containerRef: s
|
|
4101
|
-
};
|
|
4102
|
-
}
|
|
4103
|
-
function Wh(e) {
|
|
4104
|
-
let t = k(), n = k(), [r, i] = yh();
|
|
3879
|
+
function yh(e) {
|
|
3880
|
+
let t = k(), n = k(), [r, i] = /* @__PURE__ */ ph();
|
|
4105
3881
|
async function a() {
|
|
4106
3882
|
try {
|
|
4107
3883
|
i(!0), t.value = await e?.request?.();
|
|
@@ -4118,7 +3894,7 @@ function Wh(e) {
|
|
|
4118
3894
|
fetchData: a
|
|
4119
3895
|
};
|
|
4120
3896
|
}
|
|
4121
|
-
const
|
|
3897
|
+
const bh = y({
|
|
4122
3898
|
name: "Fetcher",
|
|
4123
3899
|
props: {
|
|
4124
3900
|
request: {
|
|
@@ -4131,13 +3907,13 @@ const Gh = y({
|
|
|
4131
3907
|
}
|
|
4132
3908
|
},
|
|
4133
3909
|
setup(e, { slots: t, expose: n }) {
|
|
4134
|
-
let r = de(
|
|
3910
|
+
let r = de(yh({
|
|
4135
3911
|
request: e.request,
|
|
4136
3912
|
immediate: e.immediate
|
|
4137
3913
|
}));
|
|
4138
3914
|
return n({ fetchData: r.fetchData }), () => t?.default?.(r);
|
|
4139
3915
|
}
|
|
4140
|
-
}),
|
|
3916
|
+
}), xh = ["onClick"], Sh = {
|
|
4141
3917
|
key: 0,
|
|
4142
3918
|
fill: "none",
|
|
4143
3919
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4145,7 +3921,7 @@ const Gh = y({
|
|
|
4145
3921
|
height: "1rem",
|
|
4146
3922
|
viewBox: "0 0 17 16",
|
|
4147
3923
|
class: "design-iconfont"
|
|
4148
|
-
},
|
|
3924
|
+
}, Ch = {
|
|
4149
3925
|
key: 1,
|
|
4150
3926
|
fill: "none",
|
|
4151
3927
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4153,7 +3929,7 @@ const Gh = y({
|
|
|
4153
3929
|
height: "1rem",
|
|
4154
3930
|
viewBox: "0 0 17 16",
|
|
4155
3931
|
class: "design-iconfont"
|
|
4156
|
-
},
|
|
3932
|
+
}, wh = /* @__PURE__ */ y({
|
|
4157
3933
|
name: "FavoriteButton",
|
|
4158
3934
|
__name: "FavoriteButton",
|
|
4159
3935
|
props: {
|
|
@@ -4176,7 +3952,7 @@ const Gh = y({
|
|
|
4176
3952
|
record: t.record
|
|
4177
3953
|
}), a.value = !a.value;
|
|
4178
3954
|
}
|
|
4179
|
-
return (e, t) => F(i) ? (O(), f(F(
|
|
3955
|
+
return (e, t) => F(i) ? (O(), f(F(bh), {
|
|
4180
3956
|
key: 0,
|
|
4181
3957
|
request: o,
|
|
4182
3958
|
immediate: !1
|
|
@@ -4188,7 +3964,7 @@ const Gh = y({
|
|
|
4188
3964
|
key: 0,
|
|
4189
3965
|
size: 14,
|
|
4190
3966
|
class: "animate-spin"
|
|
4191
|
-
})) : (O(), m(s, { key: 1 }, [a.value ? (O(), m("svg",
|
|
3967
|
+
})) : (O(), m(s, { key: 1 }, [a.value ? (O(), m("svg", Sh, t[0] ||= [
|
|
4192
3968
|
h("path", {
|
|
4193
3969
|
"fill-rule": "evenodd",
|
|
4194
3970
|
"clip-rule": "evenodd",
|
|
@@ -4286,81 +4062,338 @@ const Gh = y({
|
|
|
4286
4062
|
})
|
|
4287
4063
|
])
|
|
4288
4064
|
], -1)
|
|
4289
|
-
])) : (O(), m("svg",
|
|
4065
|
+
])) : (O(), m("svg", Ch, t[1] ||= [h("path", {
|
|
4290
4066
|
"fill-rule": "evenodd",
|
|
4291
4067
|
"clip-rule": "evenodd",
|
|
4292
4068
|
d: "M4.57161 2.66634V12.8886L8.90495 10.5775L13.2383 12.8886V2.66634H4.57161ZM3.23828 2.33301C3.23828 1.78072 3.686 1.33301 4.23828 1.33301H13.5716C14.1239 1.33301 14.5716 1.78072 14.5716 2.33301V13.8886C14.5716 14.4422 13.9817 14.7961 13.4932 14.5356L8.90495 12.0886L4.31671 14.5356C3.82824 14.7961 3.23828 14.4422 3.23828 13.8886V2.33301Z",
|
|
4293
4069
|
fill: "#4E5969"
|
|
4294
|
-
}, null, -1)]))], 64))], 8,
|
|
4070
|
+
}, null, -1)]))], 64))], 8, xh)]),
|
|
4295
4071
|
_: 1
|
|
4296
4072
|
})) : p("", !0);
|
|
4297
4073
|
}
|
|
4298
|
-
})
|
|
4299
|
-
function
|
|
4074
|
+
});
|
|
4075
|
+
function Th(e) {
|
|
4076
|
+
return x() ? (ce(e), !0) : !1;
|
|
4077
|
+
}
|
|
4078
|
+
const Eh = typeof window < "u" && typeof document < "u";
|
|
4079
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
4080
|
+
const Dh = Object.prototype.toString, Oh = (e) => Dh.call(e) === "[object Object]", kh = () => {}, Ah = /* @__PURE__ */ jh();
|
|
4081
|
+
function jh() {
|
|
4082
|
+
var e, t;
|
|
4083
|
+
return Eh && (e = window == null ? void 0 : window.navigator)?.userAgent && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || (t = window == null ? void 0 : window.navigator)?.maxTouchPoints > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
|
|
4084
|
+
}
|
|
4085
|
+
function Mh(...e) {
|
|
4086
|
+
if (e.length !== 1) return he(...e);
|
|
4087
|
+
let t = e[0];
|
|
4088
|
+
return typeof t == "function" ? fe(v(() => ({
|
|
4089
|
+
get: t,
|
|
4090
|
+
set: kh
|
|
4091
|
+
}))) : k(t);
|
|
4092
|
+
}
|
|
4093
|
+
function Nh(e) {
|
|
4094
|
+
return Array.isArray(e) ? e : [e];
|
|
4095
|
+
}
|
|
4096
|
+
function Ph(e) {
|
|
4097
|
+
let t = /* @__PURE__ */ Object.create(null);
|
|
4098
|
+
return (n) => {
|
|
4099
|
+
let r = t[n];
|
|
4100
|
+
return r || (t[n] = e(n));
|
|
4101
|
+
};
|
|
4102
|
+
}
|
|
4103
|
+
const Fh = /\B([A-Z])/g;
|
|
4104
|
+
Ph((e) => e.replace(Fh, "-$1").toLowerCase());
|
|
4105
|
+
const Ih = /-(\w)/g;
|
|
4106
|
+
Ph((e) => e.replace(Ih, (e, t) => t ? t.toUpperCase() : ""));
|
|
4107
|
+
function Lh(e) {
|
|
4108
|
+
return e || b();
|
|
4109
|
+
}
|
|
4110
|
+
function Rh(e, t = !0, n) {
|
|
4111
|
+
let r = Lh(n);
|
|
4112
|
+
r ? D(e, n) : t ? e() : ae(e);
|
|
4113
|
+
}
|
|
4114
|
+
function zh(e, t, n) {
|
|
4115
|
+
return I(e, t, {
|
|
4116
|
+
...n,
|
|
4117
|
+
immediate: !0
|
|
4118
|
+
});
|
|
4119
|
+
}
|
|
4120
|
+
const Bh = Eh ? window : void 0;
|
|
4121
|
+
Eh && window.document, Eh && window.navigator, Eh && window.location;
|
|
4122
|
+
function Vh(e) {
|
|
4123
|
+
var t;
|
|
4124
|
+
let n = P(e);
|
|
4125
|
+
return (t = n?.$el) ?? n;
|
|
4126
|
+
}
|
|
4127
|
+
function Hh() {
|
|
4128
|
+
let e = j(!1), t = b();
|
|
4129
|
+
return t && D(() => {
|
|
4130
|
+
e.value = !0;
|
|
4131
|
+
}, t), e;
|
|
4132
|
+
}
|
|
4133
|
+
function Uh(e) {
|
|
4134
|
+
let t = Hh();
|
|
4135
|
+
return u(() => (t.value, !!e()));
|
|
4136
|
+
}
|
|
4137
|
+
Symbol("vueuse-ssr-width");
|
|
4138
|
+
function Wh(e, t, n = {}) {
|
|
4139
|
+
let { window: r = Bh,...i } = n, a, o = Uh(() => r && "ResizeObserver" in r), s = () => {
|
|
4140
|
+
a && (a.disconnect(), a = void 0);
|
|
4141
|
+
}, c = u(() => {
|
|
4142
|
+
let t = P(e);
|
|
4143
|
+
return Array.isArray(t) ? t.map((e) => Vh(e)) : [Vh(t)];
|
|
4144
|
+
}), l = I(c, (e) => {
|
|
4145
|
+
if (s(), o.value && r) {
|
|
4146
|
+
a = new ResizeObserver(t);
|
|
4147
|
+
for (let t of e) t && a.observe(t, i);
|
|
4148
|
+
}
|
|
4149
|
+
}, {
|
|
4150
|
+
immediate: !0,
|
|
4151
|
+
flush: "post"
|
|
4152
|
+
}), d = () => {
|
|
4153
|
+
s(), l();
|
|
4154
|
+
};
|
|
4155
|
+
return Th(d), {
|
|
4156
|
+
isSupported: o,
|
|
4157
|
+
stop: d
|
|
4158
|
+
};
|
|
4159
|
+
}
|
|
4160
|
+
function Gh(e, t = {
|
|
4161
|
+
width: 0,
|
|
4162
|
+
height: 0
|
|
4163
|
+
}, n = {}) {
|
|
4164
|
+
let { window: r = Bh, box: i = "content-box" } = n, a = u(() => {
|
|
4165
|
+
var t, n;
|
|
4166
|
+
return (n = (t = Vh(e))?.namespaceURI)?.includes("svg");
|
|
4167
|
+
}), o = j(t.width), s = j(t.height), { stop: c } = Wh(e, ([t]) => {
|
|
4168
|
+
let n = i === "border-box" ? t.borderBoxSize : i === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
|
|
4169
|
+
if (r && a.value) {
|
|
4170
|
+
let t = Vh(e);
|
|
4171
|
+
if (t) {
|
|
4172
|
+
let e = t.getBoundingClientRect();
|
|
4173
|
+
o.value = e.width, s.value = e.height;
|
|
4174
|
+
}
|
|
4175
|
+
} else if (n) {
|
|
4176
|
+
let e = Nh(n);
|
|
4177
|
+
o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), s.value = e.reduce((e, { blockSize: t }) => e + t, 0);
|
|
4178
|
+
} else o.value = t.contentRect.width, s.value = t.contentRect.height;
|
|
4179
|
+
}, n);
|
|
4180
|
+
Rh(() => {
|
|
4181
|
+
let n = Vh(e);
|
|
4182
|
+
n && (o.value = "offsetWidth" in n ? n.offsetWidth : t.width, s.value = "offsetHeight" in n ? n.offsetHeight : t.height);
|
|
4183
|
+
});
|
|
4184
|
+
let l = I(() => Vh(e), (e) => {
|
|
4185
|
+
o.value = e ? t.width : 0, s.value = e ? t.height : 0;
|
|
4186
|
+
});
|
|
4187
|
+
function d() {
|
|
4188
|
+
c(), l();
|
|
4189
|
+
}
|
|
4190
|
+
return {
|
|
4191
|
+
width: o,
|
|
4192
|
+
height: s,
|
|
4193
|
+
stop: d
|
|
4194
|
+
};
|
|
4195
|
+
}
|
|
4196
|
+
function Kh(e, t) {
|
|
4197
|
+
let { containerStyle: n, wrapperProps: r, scrollTo: i, calculateRange: a, currentList: o, containerRef: s } = "itemHeight" in t ? rg(t, e) : ng(t, e);
|
|
4198
|
+
return {
|
|
4199
|
+
list: o,
|
|
4200
|
+
scrollTo: i,
|
|
4201
|
+
containerProps: {
|
|
4202
|
+
ref: s,
|
|
4203
|
+
onScroll: () => {
|
|
4204
|
+
a();
|
|
4205
|
+
},
|
|
4206
|
+
style: n
|
|
4207
|
+
},
|
|
4208
|
+
wrapperProps: r
|
|
4209
|
+
};
|
|
4210
|
+
}
|
|
4211
|
+
function qh(e) {
|
|
4212
|
+
let t = j(null), n = Gh(t), r = k([]), i = j(e), a = k({
|
|
4213
|
+
start: 0,
|
|
4214
|
+
end: 10
|
|
4215
|
+
});
|
|
4216
|
+
return {
|
|
4217
|
+
state: a,
|
|
4218
|
+
source: i,
|
|
4219
|
+
currentList: r,
|
|
4220
|
+
size: n,
|
|
4221
|
+
containerRef: t
|
|
4222
|
+
};
|
|
4223
|
+
}
|
|
4224
|
+
function Jh(e, t, n) {
|
|
4225
|
+
return (r) => {
|
|
4226
|
+
if (typeof n == "number") return Math.ceil(r / n);
|
|
4227
|
+
let { start: i = 0 } = e.value, a = 0, o = 0;
|
|
4228
|
+
for (let e = i; e < t.value.length; e++) {
|
|
4229
|
+
let t = n(e);
|
|
4230
|
+
if (a += t, o = e, a > r) break;
|
|
4231
|
+
}
|
|
4232
|
+
return o - i;
|
|
4233
|
+
};
|
|
4234
|
+
}
|
|
4235
|
+
function Yh(e, t) {
|
|
4236
|
+
return (n) => {
|
|
4237
|
+
if (typeof t == "number") return Math.floor(n / t) + 1;
|
|
4238
|
+
let r = 0, i = 0;
|
|
4239
|
+
for (let a = 0; a < e.value.length; a++) {
|
|
4240
|
+
let e = t(a);
|
|
4241
|
+
if (r += e, r >= n) {
|
|
4242
|
+
i = a;
|
|
4243
|
+
break;
|
|
4244
|
+
}
|
|
4245
|
+
}
|
|
4246
|
+
return i + 1;
|
|
4247
|
+
};
|
|
4248
|
+
}
|
|
4249
|
+
function Xh(e, t, n, r, { containerRef: i, state: a, currentList: o, source: s }) {
|
|
4250
|
+
return () => {
|
|
4251
|
+
let c = i.value;
|
|
4252
|
+
if (c) {
|
|
4253
|
+
let i = n(e === "vertical" ? c.scrollTop : c.scrollLeft), l = r(e === "vertical" ? c.clientHeight : c.clientWidth), u = i - t, d = i + l + t;
|
|
4254
|
+
a.value = {
|
|
4255
|
+
start: u < 0 ? 0 : u,
|
|
4256
|
+
end: d > s.value.length ? s.value.length : d
|
|
4257
|
+
}, o.value = s.value.slice(a.value.start, a.value.end).map((e, t) => ({
|
|
4258
|
+
data: e,
|
|
4259
|
+
index: t + a.value.start
|
|
4260
|
+
}));
|
|
4261
|
+
}
|
|
4262
|
+
};
|
|
4263
|
+
}
|
|
4264
|
+
function Zh(e, t) {
|
|
4265
|
+
return (n) => {
|
|
4266
|
+
if (typeof e == "number") {
|
|
4267
|
+
let t = n * e;
|
|
4268
|
+
return t;
|
|
4269
|
+
}
|
|
4270
|
+
let r = t.value.slice(0, n).reduce((t, n, r) => t + e(r), 0);
|
|
4271
|
+
return r;
|
|
4272
|
+
};
|
|
4273
|
+
}
|
|
4274
|
+
function Qh(e, t, n, r) {
|
|
4275
|
+
I([
|
|
4276
|
+
e.width,
|
|
4277
|
+
e.height,
|
|
4278
|
+
t,
|
|
4279
|
+
n
|
|
4280
|
+
], () => {
|
|
4281
|
+
r();
|
|
4282
|
+
});
|
|
4283
|
+
}
|
|
4284
|
+
function $h(e, t) {
|
|
4285
|
+
return u(() => typeof e == "number" ? t.value.length * e : t.value.reduce((t, n, r) => t + e(r), 0));
|
|
4286
|
+
}
|
|
4287
|
+
const eg = {
|
|
4288
|
+
horizontal: "scrollLeft",
|
|
4289
|
+
vertical: "scrollTop"
|
|
4290
|
+
};
|
|
4291
|
+
function tg(e, t, n, r) {
|
|
4292
|
+
return (i) => {
|
|
4293
|
+
r.value && (r.value[eg[e]] = n(i), t());
|
|
4294
|
+
};
|
|
4295
|
+
}
|
|
4296
|
+
function ng(e, t) {
|
|
4297
|
+
let n = qh(t), { state: r, source: i, currentList: a, size: o, containerRef: s } = n, c = { overflowX: "auto" }, { itemWidth: l, overscan: d = 5 } = e, f = Jh(r, i, l), p = Yh(i, l), m = Xh("horizontal", d, p, f, n), h = Zh(l, i), g = u(() => h(r.value.start)), _ = $h(l, i);
|
|
4298
|
+
Qh(o, t, s, m);
|
|
4299
|
+
let v = tg("horizontal", m, h, s), y = u(() => ({ style: {
|
|
4300
|
+
height: "100%",
|
|
4301
|
+
width: `${_.value - g.value}px`,
|
|
4302
|
+
marginLeft: `${g.value}px`,
|
|
4303
|
+
display: "flex"
|
|
4304
|
+
} }));
|
|
4305
|
+
return {
|
|
4306
|
+
scrollTo: v,
|
|
4307
|
+
calculateRange: m,
|
|
4308
|
+
wrapperProps: y,
|
|
4309
|
+
containerStyle: c,
|
|
4310
|
+
currentList: a,
|
|
4311
|
+
containerRef: s
|
|
4312
|
+
};
|
|
4313
|
+
}
|
|
4314
|
+
function rg(e, t) {
|
|
4315
|
+
let n = qh(t), { state: r, source: i, currentList: a, size: o, containerRef: s } = n, c = { overflowY: "auto" }, { itemHeight: l, overscan: d = 5 } = e, f = Jh(r, i, l), p = Yh(i, l), m = Xh("vertical", d, p, f, n), h = Zh(l, i), g = u(() => h(r.value.start)), _ = $h(l, i);
|
|
4316
|
+
Qh(o, t, s, m);
|
|
4317
|
+
let v = tg("vertical", m, h, s), y = u(() => ({ style: {
|
|
4318
|
+
width: "100%",
|
|
4319
|
+
height: `${_.value - g.value}px`,
|
|
4320
|
+
marginTop: `${g.value}px`
|
|
4321
|
+
} }));
|
|
4322
|
+
return {
|
|
4323
|
+
calculateRange: m,
|
|
4324
|
+
scrollTo: v,
|
|
4325
|
+
containerStyle: c,
|
|
4326
|
+
wrapperProps: y,
|
|
4327
|
+
currentList: a,
|
|
4328
|
+
containerRef: s
|
|
4329
|
+
};
|
|
4330
|
+
}
|
|
4331
|
+
const ig = Eh ? window : void 0;
|
|
4332
|
+
function ag(e) {
|
|
4300
4333
|
var t;
|
|
4301
4334
|
let n = P(e);
|
|
4302
4335
|
return (t = n?.$el) ?? n;
|
|
4303
4336
|
}
|
|
4304
|
-
function
|
|
4337
|
+
function og(...e) {
|
|
4305
4338
|
let t = [], n = () => {
|
|
4306
4339
|
t.forEach((e) => e()), t.length = 0;
|
|
4307
4340
|
}, r = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), i = u(() => {
|
|
4308
|
-
let t =
|
|
4341
|
+
let t = Nh(P(e[0])).filter((e) => e != null);
|
|
4309
4342
|
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
4310
|
-
}), a =
|
|
4343
|
+
}), a = zh(() => {
|
|
4311
4344
|
var t, n;
|
|
4312
4345
|
return [
|
|
4313
|
-
(n = (t = i.value)?.map((e) =>
|
|
4314
|
-
|
|
4315
|
-
|
|
4346
|
+
(n = (t = i.value)?.map((e) => ag(e))) ?? [ig].filter((e) => e != null),
|
|
4347
|
+
Nh(P(i.value ? e[1] : e[0])),
|
|
4348
|
+
Nh(F(i.value ? e[2] : e[1])),
|
|
4316
4349
|
P(i.value ? e[3] : e[2])
|
|
4317
4350
|
];
|
|
4318
4351
|
}, ([e, i, a, o]) => {
|
|
4319
4352
|
if (n(), !e?.length || !i?.length || !a?.length) return;
|
|
4320
|
-
let s =
|
|
4353
|
+
let s = Oh(o) ? { ...o } : o;
|
|
4321
4354
|
t.push(...e.flatMap((e) => i.flatMap((t) => a.map((n) => r(e, t, n, s)))));
|
|
4322
4355
|
}, { flush: "post" }), o = () => {
|
|
4323
4356
|
a(), n();
|
|
4324
4357
|
};
|
|
4325
|
-
return
|
|
4358
|
+
return Th(n), o;
|
|
4326
4359
|
}
|
|
4327
4360
|
Symbol("vueuse-ssr-width");
|
|
4328
|
-
function
|
|
4361
|
+
function sg(e) {
|
|
4329
4362
|
return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
|
|
4330
4363
|
}
|
|
4331
|
-
function
|
|
4364
|
+
function cg(e) {
|
|
4332
4365
|
let t = window.getComputedStyle(e);
|
|
4333
4366
|
if (t.overflowX === "scroll" || t.overflowY === "scroll" || t.overflowX === "auto" && e.clientWidth < e.scrollWidth || t.overflowY === "auto" && e.clientHeight < e.scrollHeight) return !0;
|
|
4334
4367
|
{
|
|
4335
4368
|
let t = e.parentNode;
|
|
4336
|
-
return !t || t.tagName === "BODY" ? !1 :
|
|
4369
|
+
return !t || t.tagName === "BODY" ? !1 : cg(t);
|
|
4337
4370
|
}
|
|
4338
4371
|
}
|
|
4339
|
-
function
|
|
4372
|
+
function lg(e) {
|
|
4340
4373
|
let t = e || window.event, n = t.target;
|
|
4341
|
-
return
|
|
4374
|
+
return cg(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
|
|
4342
4375
|
}
|
|
4343
|
-
const
|
|
4344
|
-
function
|
|
4376
|
+
const ug = /* @__PURE__ */ new WeakMap();
|
|
4377
|
+
function dg(e, t = !1) {
|
|
4345
4378
|
let n = j(t), r = null, i = "";
|
|
4346
|
-
I(
|
|
4347
|
-
let t =
|
|
4379
|
+
I(Mh(e), (e) => {
|
|
4380
|
+
let t = sg(P(e));
|
|
4348
4381
|
if (t) {
|
|
4349
4382
|
let e = t;
|
|
4350
|
-
if (
|
|
4383
|
+
if (ug.get(e) || ug.set(e, e.style.overflow), e.style.overflow !== "hidden" && (i = e.style.overflow), e.style.overflow === "hidden") return n.value = !0;
|
|
4351
4384
|
if (n.value) return e.style.overflow = "hidden";
|
|
4352
4385
|
}
|
|
4353
4386
|
}, { immediate: !0 });
|
|
4354
4387
|
let a = () => {
|
|
4355
|
-
let t =
|
|
4356
|
-
!t || n.value || (
|
|
4357
|
-
|
|
4388
|
+
let t = sg(P(e));
|
|
4389
|
+
!t || n.value || (Ah && (r = og(t, "touchmove", (e) => {
|
|
4390
|
+
lg(e);
|
|
4358
4391
|
}, { passive: !1 })), t.style.overflow = "hidden", n.value = !0);
|
|
4359
4392
|
}, o = () => {
|
|
4360
|
-
let t =
|
|
4361
|
-
!t || !n.value || (
|
|
4393
|
+
let t = sg(P(e));
|
|
4394
|
+
!t || !n.value || (Ah && r?.(), t.style.overflow = i, ug.delete(t), n.value = !1);
|
|
4362
4395
|
};
|
|
4363
|
-
return
|
|
4396
|
+
return Th(o), u({
|
|
4364
4397
|
get() {
|
|
4365
4398
|
return n.value;
|
|
4366
4399
|
},
|
|
@@ -4369,17 +4402,17 @@ function rg(e, t = !1) {
|
|
|
4369
4402
|
}
|
|
4370
4403
|
});
|
|
4371
4404
|
}
|
|
4372
|
-
function
|
|
4405
|
+
function fg() {
|
|
4373
4406
|
let e = !1, t = j(!1);
|
|
4374
4407
|
return (n, r) => {
|
|
4375
4408
|
if (t.value = r.value, e) return;
|
|
4376
4409
|
e = !0;
|
|
4377
|
-
let i =
|
|
4410
|
+
let i = dg(n, r.value);
|
|
4378
4411
|
I(t, (e) => i.value = e);
|
|
4379
4412
|
};
|
|
4380
4413
|
}
|
|
4381
|
-
|
|
4382
|
-
const
|
|
4414
|
+
fg();
|
|
4415
|
+
const pg = /* @__PURE__ */ y({
|
|
4383
4416
|
name: "UseVirtualList",
|
|
4384
4417
|
props: [
|
|
4385
4418
|
"list",
|
|
@@ -4387,19 +4420,19 @@ const ag = /* @__PURE__ */ y({
|
|
|
4387
4420
|
"height"
|
|
4388
4421
|
],
|
|
4389
4422
|
setup(e, { slots: t, expose: n }) {
|
|
4390
|
-
let { list: r } = ge(e), { list: i, containerProps: a, wrapperProps: o, scrollTo: s } =
|
|
4423
|
+
let { list: r } = ge(e), { list: i, containerProps: a, wrapperProps: o, scrollTo: s } = Kh(r, e.options);
|
|
4391
4424
|
return n({ scrollTo: s }), a.style && typeof a.style == "object" && !Array.isArray(a.style) && (a.style.height = e.height || "300px"), () => C("div", { ...a }, [C("div", { ...o.value }, i.value.map((e) => C("div", { style: {
|
|
4392
4425
|
overflow: "hidden",
|
|
4393
4426
|
height: e.height
|
|
4394
4427
|
} }, t.default ? t.default(e) : "Please set content!")))]);
|
|
4395
4428
|
}
|
|
4396
|
-
}),
|
|
4429
|
+
}), mg = {
|
|
4397
4430
|
key: 0,
|
|
4398
4431
|
class: "flex size-full items-center justify-center"
|
|
4399
|
-
},
|
|
4432
|
+
}, hg = {
|
|
4400
4433
|
key: 1,
|
|
4401
4434
|
class: "flex size-full items-center justify-center"
|
|
4402
|
-
},
|
|
4435
|
+
}, gg = /* @__PURE__ */ y({
|
|
4403
4436
|
name: "Placeholder",
|
|
4404
4437
|
__name: "Placeholder",
|
|
4405
4438
|
props: {
|
|
@@ -4414,12 +4447,12 @@ const ag = /* @__PURE__ */ y({
|
|
|
4414
4447
|
},
|
|
4415
4448
|
setup(e) {
|
|
4416
4449
|
let t = C(we, { spin: !0 });
|
|
4417
|
-
return (e, n) => e.loading ? (O(), m("div",
|
|
4450
|
+
return (e, n) => e.loading ? (O(), m("div", mg, [_(F(Le), {
|
|
4418
4451
|
tip: "加载中",
|
|
4419
4452
|
indicator: F(t)
|
|
4420
|
-
}, null, 8, ["indicator"])])) : e.empty ? (O(), m("div",
|
|
4453
|
+
}, null, 8, ["indicator"])])) : e.empty ? (O(), m("div", hg, [_(F(Ae), { description: "暂无数据" })])) : A(e.$slots, "default", { key: 2 });
|
|
4421
4454
|
}
|
|
4422
|
-
}), [
|
|
4455
|
+
}), [_g, vg] = K("DataRoot"), yg = y({
|
|
4423
4456
|
name: "DataRoot",
|
|
4424
4457
|
props: {
|
|
4425
4458
|
dataSource: {
|
|
@@ -4436,7 +4469,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4436
4469
|
xe(() => {
|
|
4437
4470
|
n.value = e.dataSource;
|
|
4438
4471
|
});
|
|
4439
|
-
let [i, a] =
|
|
4472
|
+
let [i, a] = /* @__PURE__ */ ph(!1), o = {
|
|
4440
4473
|
dataSource: u(() => e.dataSource),
|
|
4441
4474
|
filter: u(() => e.filter),
|
|
4442
4475
|
listData: n,
|
|
@@ -4450,9 +4483,9 @@ const ag = /* @__PURE__ */ y({
|
|
|
4450
4483
|
r.value = e;
|
|
4451
4484
|
}
|
|
4452
4485
|
};
|
|
4453
|
-
return
|
|
4486
|
+
return vg(o), () => t?.default?.();
|
|
4454
4487
|
}
|
|
4455
|
-
}),
|
|
4488
|
+
}), bg = y({
|
|
4456
4489
|
name: "DataInputSearch",
|
|
4457
4490
|
props: {
|
|
4458
4491
|
as: {
|
|
@@ -4474,7 +4507,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4474
4507
|
},
|
|
4475
4508
|
emits: ["update:modelValue", "change"],
|
|
4476
4509
|
setup(e, { slots: t, emit: n }) {
|
|
4477
|
-
let r =
|
|
4510
|
+
let r = _g();
|
|
4478
4511
|
function i(t = "", n) {
|
|
4479
4512
|
if (typeof e.by == "string") {
|
|
4480
4513
|
let r = e.by;
|
|
@@ -4489,7 +4522,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4489
4522
|
r.searchDataChange(a), n("change", e.modelValue);
|
|
4490
4523
|
}
|
|
4491
4524
|
}
|
|
4492
|
-
return
|
|
4525
|
+
return mh(() => [e.modelValue], () => a(e.modelValue), {
|
|
4493
4526
|
deep: !0,
|
|
4494
4527
|
debounce: 500,
|
|
4495
4528
|
maxWait: 1e3
|
|
@@ -4505,7 +4538,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4505
4538
|
onSearch: a
|
|
4506
4539
|
}));
|
|
4507
4540
|
}
|
|
4508
|
-
}),
|
|
4541
|
+
}), xg = y({
|
|
4509
4542
|
name: "DataContent",
|
|
4510
4543
|
props: {
|
|
4511
4544
|
as: {
|
|
@@ -4518,10 +4551,10 @@ const ag = /* @__PURE__ */ y({
|
|
|
4518
4551
|
}
|
|
4519
4552
|
},
|
|
4520
4553
|
setup(e, { slots: t }) {
|
|
4521
|
-
let n =
|
|
4554
|
+
let n = _g();
|
|
4522
4555
|
return () => C(G, { ...e }, () => t?.default?.({ data: n.listData.value }));
|
|
4523
4556
|
}
|
|
4524
|
-
}),
|
|
4557
|
+
}), Sg = y({
|
|
4525
4558
|
name: "DataPagination",
|
|
4526
4559
|
props: {
|
|
4527
4560
|
as: {
|
|
@@ -4552,11 +4585,11 @@ const ag = /* @__PURE__ */ y({
|
|
|
4552
4585
|
"pageCountChange"
|
|
4553
4586
|
],
|
|
4554
4587
|
setup(e, { slots: t, emit: n }) {
|
|
4555
|
-
let r =
|
|
4588
|
+
let r = _g(), i = u(() => r.isSearch.value ? r.searchData.value : r.dataSource.value), a = u(() => e.total ?? i.value.length), o = /* @__PURE__ */ vh(e, "page", n, { passive: !0 });
|
|
4556
4589
|
function s(e) {
|
|
4557
4590
|
o.value = e;
|
|
4558
4591
|
}
|
|
4559
|
-
let { currentPage: c, currentPageSize: l, next: d, prev: f, pageCount: p, isFirstPage: m, isLastPage: h } =
|
|
4592
|
+
let { currentPage: c, currentPageSize: l, next: d, prev: f, pageCount: p, isFirstPage: m, isLastPage: h } = _h({
|
|
4560
4593
|
total: a,
|
|
4561
4594
|
page: o,
|
|
4562
4595
|
pageSize: e.pageSize,
|
|
@@ -4593,12 +4626,12 @@ const ag = /* @__PURE__ */ y({
|
|
|
4593
4626
|
isLastPage: h
|
|
4594
4627
|
})));
|
|
4595
4628
|
}
|
|
4596
|
-
}),
|
|
4597
|
-
Root:
|
|
4598
|
-
InputSearch:
|
|
4599
|
-
Content:
|
|
4600
|
-
Pagination:
|
|
4601
|
-
}, [
|
|
4629
|
+
}), Cg = {
|
|
4630
|
+
Root: yg,
|
|
4631
|
+
InputSearch: bg,
|
|
4632
|
+
Content: xg,
|
|
4633
|
+
Pagination: Sg
|
|
4634
|
+
}, [wg, Tg] = K("SelectorRoot"), Eg = y({
|
|
4602
4635
|
name: "SelectorRoot",
|
|
4603
4636
|
props: {
|
|
4604
4637
|
defaultValue: {
|
|
@@ -4624,7 +4657,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4624
4657
|
},
|
|
4625
4658
|
emits: ["update:modelValue"],
|
|
4626
4659
|
setup(e, { slots: t, emit: n }) {
|
|
4627
|
-
let r =
|
|
4660
|
+
let r = /* @__PURE__ */ vh(e, "modelValue", n, {
|
|
4628
4661
|
defaultValue: e.defaultValue,
|
|
4629
4662
|
passive: !0,
|
|
4630
4663
|
deep: !0
|
|
@@ -4641,9 +4674,9 @@ const ag = /* @__PURE__ */ y({
|
|
|
4641
4674
|
},
|
|
4642
4675
|
change: (t) => e.disabled || Cd(N(r.value), N(t)) ? !1 : (n("update:modelValue", t), !0)
|
|
4643
4676
|
};
|
|
4644
|
-
return
|
|
4677
|
+
return Tg(o), () => t?.default?.(de(o));
|
|
4645
4678
|
}
|
|
4646
|
-
}),
|
|
4679
|
+
}), Dg = y({
|
|
4647
4680
|
name: "SelectorItem",
|
|
4648
4681
|
props: {
|
|
4649
4682
|
as: {
|
|
@@ -4670,7 +4703,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4670
4703
|
}
|
|
4671
4704
|
},
|
|
4672
4705
|
setup(e, { slots: t, expose: n }) {
|
|
4673
|
-
let r =
|
|
4706
|
+
let r = wg(), i = u(() => r.disabled.value || e.disabled), a = u(() => r.multiple.value || e.multiple), o = u(() => {
|
|
4674
4707
|
let t = N(r.value.value), n = N(e.value);
|
|
4675
4708
|
return t.some((e) => r.compare(e, n));
|
|
4676
4709
|
});
|
|
@@ -4688,7 +4721,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4688
4721
|
onSelected: s
|
|
4689
4722
|
}));
|
|
4690
4723
|
}
|
|
4691
|
-
}),
|
|
4724
|
+
}), Og = y({
|
|
4692
4725
|
name: "SelectorClear",
|
|
4693
4726
|
props: {
|
|
4694
4727
|
as: {
|
|
@@ -4701,7 +4734,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4701
4734
|
}
|
|
4702
4735
|
},
|
|
4703
4736
|
setup(e, { slots: t }) {
|
|
4704
|
-
let n =
|
|
4737
|
+
let n = wg();
|
|
4705
4738
|
function r() {
|
|
4706
4739
|
n.change([]);
|
|
4707
4740
|
}
|
|
@@ -4710,11 +4743,11 @@ const ag = /* @__PURE__ */ y({
|
|
|
4710
4743
|
onClick: r
|
|
4711
4744
|
}, () => t?.default?.());
|
|
4712
4745
|
}
|
|
4713
|
-
}),
|
|
4714
|
-
Root:
|
|
4715
|
-
Item:
|
|
4716
|
-
Clear:
|
|
4717
|
-
},
|
|
4746
|
+
}), kg = {
|
|
4747
|
+
Root: Eg,
|
|
4748
|
+
Item: Dg,
|
|
4749
|
+
Clear: Og
|
|
4750
|
+
}, Ag = { class: "truncate" }, jg = { class: "pt-2 text-center" }, Mg = /* @__PURE__ */ y({
|
|
4718
4751
|
name: "DataList",
|
|
4719
4752
|
inheritAttrs: !1,
|
|
4720
4753
|
__name: "DataList",
|
|
@@ -4777,18 +4810,18 @@ const ag = /* @__PURE__ */ y({
|
|
|
4777
4810
|
let y = k();
|
|
4778
4811
|
return t({ fetchData: () => {
|
|
4779
4812
|
c.current = 1, y.value?.fetchData?.();
|
|
4780
|
-
} }), (e, t) => (O(), f(F(
|
|
4813
|
+
} }), (e, t) => (O(), f(F(bh), {
|
|
4781
4814
|
ref_key: "fetcher",
|
|
4782
4815
|
ref: y,
|
|
4783
4816
|
request: d,
|
|
4784
4817
|
immediate: e.immediate
|
|
4785
4818
|
}, {
|
|
4786
|
-
default: L(({ data: n, fetchData: r, loading: u }) => [_(F(
|
|
4819
|
+
default: L(({ data: n, fetchData: r, loading: u }) => [_(F(Cg).Root, {
|
|
4787
4820
|
"data-source": n?.data,
|
|
4788
4821
|
filter: e.filter
|
|
4789
4822
|
}, {
|
|
4790
4823
|
default: L(() => [h("div", w(e.$attrs, { class: "flex h-full flex-col gap-1 p-2" }), [
|
|
4791
|
-
_(F(
|
|
4824
|
+
_(F(Cg).InputSearch, {
|
|
4792
4825
|
modelValue: c.search,
|
|
4793
4826
|
"onUpdate:modelValue": t[0] ||= (e) => c.search = e,
|
|
4794
4827
|
by: o.value.label,
|
|
@@ -4817,17 +4850,17 @@ const ag = /* @__PURE__ */ y({
|
|
|
4817
4850
|
search: c.search,
|
|
4818
4851
|
data: n?.data,
|
|
4819
4852
|
loading: u
|
|
4820
|
-
})), () => [_(F(
|
|
4821
|
-
default: L(({ data: t }) => [_(
|
|
4853
|
+
})), () => [_(F(Cg).Content, { class: "flex-1 overflow-y-auto overflow-x-hidden" }, {
|
|
4854
|
+
default: L(({ data: t }) => [_(gg, {
|
|
4822
4855
|
empty: t?.length === 0,
|
|
4823
4856
|
loading: u
|
|
4824
4857
|
}, {
|
|
4825
|
-
default: L(() => [_(F(
|
|
4858
|
+
default: L(() => [_(F(pg), {
|
|
4826
4859
|
list: t,
|
|
4827
4860
|
options: { itemHeight: F(i) },
|
|
4828
4861
|
height: l(n?.total)
|
|
4829
4862
|
}, {
|
|
4830
|
-
default: L(({ data: t }) => [(O(), f(F(
|
|
4863
|
+
default: L(({ data: t }) => [(O(), f(F(kg).Item, {
|
|
4831
4864
|
key: t[o.value.value],
|
|
4832
4865
|
value: t,
|
|
4833
4866
|
style: E({ height: `${F(i)}px` })
|
|
@@ -4842,7 +4875,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4842
4875
|
onChange: (e) => r(),
|
|
4843
4876
|
onClick: (n) => e.onSelect?.(t)
|
|
4844
4877
|
}, {
|
|
4845
|
-
default: L(() => [h("span",
|
|
4878
|
+
default: L(() => [h("span", Ag, [A(e.$slots, "item", T(S(t)), () => [g(M(t[o.value.label]), 1)], !0)])]),
|
|
4846
4879
|
_: 2
|
|
4847
4880
|
}, 1064, [
|
|
4848
4881
|
"checked",
|
|
@@ -4866,7 +4899,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4866
4899
|
_: 2
|
|
4867
4900
|
}, 1032, ["empty", "loading"])]),
|
|
4868
4901
|
_: 2
|
|
4869
|
-
}, 1024)], !0), _(F(
|
|
4902
|
+
}, 1024)], !0), _(F(Cg).Pagination, {
|
|
4870
4903
|
page: c.current,
|
|
4871
4904
|
"onUpdate:page": t[1] ||= (e) => c.current = e,
|
|
4872
4905
|
"page-size": c.pageSize,
|
|
@@ -4877,7 +4910,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4877
4910
|
orientation: "horizontal",
|
|
4878
4911
|
class: "h-px w-full",
|
|
4879
4912
|
style: E({ backgroundColor: F(a).colorBorderSecondary })
|
|
4880
|
-
}, null, 8, ["style"]), h("div",
|
|
4913
|
+
}, null, 8, ["style"]), h("div", jg, [_(F(Ie), {
|
|
4881
4914
|
simple: "",
|
|
4882
4915
|
size: "small",
|
|
4883
4916
|
total: e,
|
|
@@ -4903,11 +4936,11 @@ const ag = /* @__PURE__ */ y({
|
|
|
4903
4936
|
_: 3
|
|
4904
4937
|
}, 8, ["immediate"]));
|
|
4905
4938
|
}
|
|
4906
|
-
}),
|
|
4939
|
+
}), Ng = (e, t) => {
|
|
4907
4940
|
let n = e.__vccOpts || e;
|
|
4908
4941
|
for (let [e, r] of t) n[e] = r;
|
|
4909
4942
|
return n;
|
|
4910
|
-
},
|
|
4943
|
+
}, Pg = /* @__PURE__ */ Ng(Mg, [["__scopeId", "data-v-e0e01b47"]]), Fg = { class: "flex items-center justify-between" }, Ig = { class: "flex-1 overflow-hidden" }, Lg = ["title"], Rg = ["title"], zg = /* @__PURE__ */ y({
|
|
4911
4944
|
name: "SelectItem",
|
|
4912
4945
|
__name: "SelectItem",
|
|
4913
4946
|
props: {
|
|
@@ -4921,30 +4954,30 @@ const ag = /* @__PURE__ */ y({
|
|
|
4921
4954
|
},
|
|
4922
4955
|
setup(e) {
|
|
4923
4956
|
let { itemSlot: t } = Y(), { token: n } = Be.useToken();
|
|
4924
|
-
return (e, r) => (O(), m("div",
|
|
4957
|
+
return (e, r) => (O(), m("div", Fg, [h("div", Ig, [F(t) && typeof F(t) == "function" ? (O(), f(me(F(t)), T(w({ key: 0 }, e.record)), null, 16)) : (O(), m(s, { key: 1 }, [h("div", {
|
|
4925
4958
|
title: e.record[e.fieldNames.label],
|
|
4926
4959
|
class: "truncate"
|
|
4927
|
-
}, M(e.record[e.fieldNames.label]), 9,
|
|
4960
|
+
}, M(e.record[e.fieldNames.label]), 9, Lg), h("div", {
|
|
4928
4961
|
title: e.record[e.fieldNames.info],
|
|
4929
4962
|
class: "truncate text-xs",
|
|
4930
4963
|
style: E({ color: F(n).colorTextTertiary })
|
|
4931
|
-
}, M(e.record[e.fieldNames.info] || "暂无信息"), 13,
|
|
4964
|
+
}, M(e.record[e.fieldNames.info] || "暂无信息"), 13, Rg)], 64))]), _(F(wh), {
|
|
4932
4965
|
record: e.record,
|
|
4933
4966
|
highlight: e.highlight || e.record[e.fieldNames.favorite]
|
|
4934
4967
|
}, null, 8, ["record", "highlight"])]));
|
|
4935
4968
|
}
|
|
4936
|
-
}),
|
|
4969
|
+
}), Bg = /* @__PURE__ */ y({
|
|
4937
4970
|
name: "Favorites",
|
|
4938
4971
|
__name: "Favorites",
|
|
4939
4972
|
setup(e) {
|
|
4940
4973
|
let { apis: t, required: n, fieldNames: r } = Vm(), { disabledData: i, height: a } = Y();
|
|
4941
|
-
return n("favorites"), (e, n) => (O(), f(F(
|
|
4974
|
+
return n("favorites"), (e, n) => (O(), f(F(Pg), {
|
|
4942
4975
|
request: F(t)?.favorites,
|
|
4943
4976
|
"field-names": F(r),
|
|
4944
4977
|
"disabled-data": F(i),
|
|
4945
4978
|
height: F(a)
|
|
4946
4979
|
}, {
|
|
4947
|
-
item: L((e) => [_(F(
|
|
4980
|
+
item: L((e) => [_(F(zg), {
|
|
4948
4981
|
record: e,
|
|
4949
4982
|
"field-names": F(r),
|
|
4950
4983
|
highlight: ""
|
|
@@ -4958,7 +4991,7 @@ const ag = /* @__PURE__ */ y({
|
|
|
4958
4991
|
]));
|
|
4959
4992
|
}
|
|
4960
4993
|
});
|
|
4961
|
-
function
|
|
4994
|
+
function Vg(e) {
|
|
4962
4995
|
let { selectValue: t, by: n, disabledData: r } = e;
|
|
4963
4996
|
function i(e = []) {
|
|
4964
4997
|
let i = e.filter((e) => !r(e));
|
|
@@ -4981,7 +5014,7 @@ function Ng(e) {
|
|
|
4981
5014
|
onCheck: o
|
|
4982
5015
|
};
|
|
4983
5016
|
}
|
|
4984
|
-
const
|
|
5017
|
+
const Hg = { class: "size-full" }, Ug = ["title"], Wg = /* @__PURE__ */ y({
|
|
4985
5018
|
name: "DataGroup",
|
|
4986
5019
|
__name: "DataGroup",
|
|
4987
5020
|
props: {
|
|
@@ -5022,7 +5055,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5022
5055
|
})),
|
|
5023
5056
|
total: n?.total
|
|
5024
5057
|
};
|
|
5025
|
-
}, { isAllCheck: l, isIndeterminate: d, onCheck: p } =
|
|
5058
|
+
}, { isAllCheck: l, isIndeterminate: d, onCheck: p } = Vg({
|
|
5026
5059
|
selectValue: n,
|
|
5027
5060
|
by: o.value.key,
|
|
5028
5061
|
disabledData: t.disabledData
|
|
@@ -5038,11 +5071,11 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5038
5071
|
n.dataRef.children = r, v(e, r);
|
|
5039
5072
|
}
|
|
5040
5073
|
}
|
|
5041
|
-
return (e, t) => (O(), m("div",
|
|
5074
|
+
return (e, t) => (O(), m("div", Hg, [_(Pg, {
|
|
5042
5075
|
request: c,
|
|
5043
5076
|
"field-names": a.value
|
|
5044
5077
|
}, {
|
|
5045
|
-
content: L(({ data: t, loading: n }) => [_(
|
|
5078
|
+
content: L(({ data: t, loading: n }) => [_(gg, {
|
|
5046
5079
|
empty: t?.length === 0,
|
|
5047
5080
|
loading: n
|
|
5048
5081
|
}, {
|
|
@@ -5054,7 +5087,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5054
5087
|
"load-data": s,
|
|
5055
5088
|
class: "flex-1 overflow-y-auto overflow-x-hidden"
|
|
5056
5089
|
}, {
|
|
5057
|
-
title: L((t) => [(O(), f(F(
|
|
5090
|
+
title: L((t) => [(O(), f(F(kg).Item, {
|
|
5058
5091
|
key: t[o.value.key],
|
|
5059
5092
|
value: t,
|
|
5060
5093
|
"as-child": ""
|
|
@@ -5069,7 +5102,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5069
5102
|
default: L(() => [h("span", {
|
|
5070
5103
|
title: t[o.value.title],
|
|
5071
5104
|
class: "truncate"
|
|
5072
|
-
}, [A(e.$slots, "item", T(S(t)), () => [g(M(t[o.value.title]), 1)], !0)], 8,
|
|
5105
|
+
}, [A(e.$slots, "item", T(S(t)), () => [g(M(t[o.value.title]), 1)], !0)], 8, Ug)]),
|
|
5073
5106
|
_: 2
|
|
5074
5107
|
}, 1064, [
|
|
5075
5108
|
"checked",
|
|
@@ -5086,18 +5119,18 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5086
5119
|
_: 3
|
|
5087
5120
|
}, 8, ["field-names"])]));
|
|
5088
5121
|
}
|
|
5089
|
-
}),
|
|
5122
|
+
}), Gg = /* @__PURE__ */ Ng(Wg, [["__scopeId", "data-v-e7fc22e8"]]), Kg = { key: 0 }, qg = /* @__PURE__ */ y({
|
|
5090
5123
|
name: "Groups",
|
|
5091
5124
|
__name: "Groups",
|
|
5092
5125
|
setup(e) {
|
|
5093
5126
|
let { apis: t, required: n, fieldNames: r } = Vm(), { disabledData: i } = Y();
|
|
5094
|
-
return n(["groups", "groupData"]), (e, n) => (O(), f(F(
|
|
5127
|
+
return n(["groups", "groupData"]), (e, n) => (O(), f(F(Gg), {
|
|
5095
5128
|
request: F(t)?.groups,
|
|
5096
5129
|
"request-data": F(t)?.groupData,
|
|
5097
5130
|
"field-names": F(r),
|
|
5098
5131
|
"disabled-data": F(i)
|
|
5099
5132
|
}, {
|
|
5100
|
-
item: L((e) => [e?._isGroup ? (O(), m("span",
|
|
5133
|
+
item: L((e) => [e?._isGroup ? (O(), m("span", Kg, M(e[F(r).label]), 1)) : (O(), f(F(zg), {
|
|
5101
5134
|
key: 1,
|
|
5102
5135
|
record: e,
|
|
5103
5136
|
"field-names": F(r)
|
|
@@ -5110,7 +5143,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5110
5143
|
"disabled-data"
|
|
5111
5144
|
]));
|
|
5112
5145
|
}
|
|
5113
|
-
}),
|
|
5146
|
+
}), Jg = { class: "size-full" }, Yg = { class: "truncate" }, Xg = /* @__PURE__ */ y({
|
|
5114
5147
|
name: "DataTree",
|
|
5115
5148
|
__name: "DataTree",
|
|
5116
5149
|
props: {
|
|
@@ -5154,7 +5187,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5154
5187
|
function a(e, { selected: n, node: r }) {
|
|
5155
5188
|
t?.onSelect?.(n ? r?.dataRef : void 0);
|
|
5156
5189
|
}
|
|
5157
|
-
let [o, s] =
|
|
5190
|
+
let [o, s] = /* @__PURE__ */ ph(!1);
|
|
5158
5191
|
async function c(e) {
|
|
5159
5192
|
if (!e?.dataRef?.[r.value.children]) {
|
|
5160
5193
|
e || s(!0);
|
|
@@ -5168,7 +5201,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5168
5201
|
}
|
|
5169
5202
|
return D(() => {
|
|
5170
5203
|
c();
|
|
5171
|
-
}), (e, t) => (O(), m("div",
|
|
5204
|
+
}), (e, t) => (O(), m("div", Jg, [_(Pg, {
|
|
5172
5205
|
request: e.requestSearch,
|
|
5173
5206
|
"field-names": n.value,
|
|
5174
5207
|
"selected-keys": e.selectedKeys,
|
|
@@ -5178,7 +5211,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5178
5211
|
height: e.height,
|
|
5179
5212
|
onSelect: e.onSelect
|
|
5180
5213
|
}, {
|
|
5181
|
-
default: L(({ search: t }) => [t ? p("", !0) : (O(), f(
|
|
5214
|
+
default: L(({ search: t }) => [t ? p("", !0) : (O(), f(gg, {
|
|
5182
5215
|
key: 0,
|
|
5183
5216
|
empty: i.value.length === 0,
|
|
5184
5217
|
loading: F(o)
|
|
@@ -5193,7 +5226,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5193
5226
|
class: "overflow-x-hidden",
|
|
5194
5227
|
onSelect: a
|
|
5195
5228
|
}, {
|
|
5196
|
-
title: L((t) => [(O(), f(F(
|
|
5229
|
+
title: L((t) => [(O(), f(F(kg).Item, {
|
|
5197
5230
|
key: t[r.value.key],
|
|
5198
5231
|
value: t,
|
|
5199
5232
|
"as-child": ""
|
|
@@ -5204,7 +5237,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5204
5237
|
class: "flex w-full items-center overflow-hidden",
|
|
5205
5238
|
onChange: (e) => i()
|
|
5206
5239
|
}, {
|
|
5207
|
-
default: L(() => [h("span",
|
|
5240
|
+
default: L(() => [h("span", Yg, [A(e.$slots, "item", T(S({
|
|
5208
5241
|
...t,
|
|
5209
5242
|
isSearch: !1
|
|
5210
5243
|
})), () => [g(M(t[r.value.title]), 1)], !0)])]),
|
|
@@ -5241,10 +5274,10 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5241
5274
|
"onSelect"
|
|
5242
5275
|
])]));
|
|
5243
5276
|
}
|
|
5244
|
-
}),
|
|
5277
|
+
}), Zg = /* @__PURE__ */ Ng(Xg, [["__scopeId", "data-v-c2dd1139"]]), Qg = { class: "flex w-full items-center" }, $g = {
|
|
5245
5278
|
key: 0,
|
|
5246
5279
|
class: "flex-1 overflow-hidden"
|
|
5247
|
-
},
|
|
5280
|
+
}, e_ = ["title"], t_ = { class: "text-xs" }, n_ = /* @__PURE__ */ y({
|
|
5248
5281
|
name: "OrgTree",
|
|
5249
5282
|
__name: "OrgTree",
|
|
5250
5283
|
props: {
|
|
@@ -5299,7 +5332,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5299
5332
|
function v() {
|
|
5300
5333
|
return window.document.body;
|
|
5301
5334
|
}
|
|
5302
|
-
return (e, n) => (O(), f(F(
|
|
5335
|
+
return (e, n) => (O(), f(F(Zg), {
|
|
5303
5336
|
"selected-keys": e.selectedKeys,
|
|
5304
5337
|
checkable: e.checkable,
|
|
5305
5338
|
request: F(c).orgTree,
|
|
@@ -5309,7 +5342,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5309
5342
|
height: F(o),
|
|
5310
5343
|
onSelect: e.onSelect
|
|
5311
5344
|
}, {
|
|
5312
|
-
item: L((r) => [h("span",
|
|
5345
|
+
item: L((r) => [h("span", Qg, [r.isSearch ? (O(), m("div", $g, [_(F(zg), {
|
|
5313
5346
|
record: r,
|
|
5314
5347
|
"field-names": F(u),
|
|
5315
5348
|
favorite: e.checkable
|
|
@@ -5320,7 +5353,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5320
5353
|
])])) : (O(), m(s, { key: 1 }, [h("span", {
|
|
5321
5354
|
title: r[F(u).label],
|
|
5322
5355
|
class: "mx-1 truncate"
|
|
5323
|
-
}, M(r[F(u).label]), 9,
|
|
5356
|
+
}, M(r[F(u).label]), 9, e_), e.checkable ? (O(), m(s, { key: 0 }, [_(F(wh), {
|
|
5324
5357
|
record: r,
|
|
5325
5358
|
highlight: r[F(u).favorite]
|
|
5326
5359
|
}, null, 8, ["record", "highlight"]), F(i) && !r?.isLeaf ? (O(), f(F(ke), {
|
|
@@ -5330,7 +5363,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5330
5363
|
}, {
|
|
5331
5364
|
overlay: L(() => [_(F(Ne), { onClick: (e) => g(e, r) }, {
|
|
5332
5365
|
default: L(() => [(O(), m(s, null, pe(d, (e) => _(F(Pe), { key: e.key }, {
|
|
5333
|
-
default: L(() => [h("span",
|
|
5366
|
+
default: L(() => [h("span", t_, M(e.title), 1)]),
|
|
5334
5367
|
_: 2
|
|
5335
5368
|
}, 1024)), 64))]),
|
|
5336
5369
|
_: 2
|
|
@@ -5360,18 +5393,18 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5360
5393
|
"onSelect"
|
|
5361
5394
|
]));
|
|
5362
5395
|
}
|
|
5363
|
-
}),
|
|
5396
|
+
}), r_ = /* @__PURE__ */ y({
|
|
5364
5397
|
name: "RecentlyUsed",
|
|
5365
5398
|
__name: "RecentlyUsed",
|
|
5366
5399
|
setup(e) {
|
|
5367
5400
|
let { apis: t, required: n, fieldNames: r } = Vm(), { disabledData: i, height: a } = Y();
|
|
5368
|
-
return n("recentlyUsed"), (e, n) => (O(), f(F(
|
|
5401
|
+
return n("recentlyUsed"), (e, n) => (O(), f(F(Pg), {
|
|
5369
5402
|
request: F(t)?.recentlyUsed,
|
|
5370
5403
|
"field-names": F(r),
|
|
5371
5404
|
"disabled-data": F(i),
|
|
5372
5405
|
height: F(a)
|
|
5373
5406
|
}, {
|
|
5374
|
-
item: L((e) => [_(F(
|
|
5407
|
+
item: L((e) => [_(F(zg), {
|
|
5375
5408
|
record: e,
|
|
5376
5409
|
"field-names": F(r)
|
|
5377
5410
|
}, null, 8, ["record", "field-names"])]),
|
|
@@ -5383,10 +5416,10 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5383
5416
|
"height"
|
|
5384
5417
|
]));
|
|
5385
5418
|
}
|
|
5386
|
-
}),
|
|
5419
|
+
}), i_ = {
|
|
5387
5420
|
key: 0,
|
|
5388
5421
|
class: "mr-1 shrink-0"
|
|
5389
|
-
},
|
|
5422
|
+
}, a_ = ["title"], o_ = /* @__PURE__ */ y({
|
|
5390
5423
|
name: "SelectTag",
|
|
5391
5424
|
__name: "SelectTag",
|
|
5392
5425
|
props: { title: String },
|
|
@@ -5397,11 +5430,11 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5397
5430
|
style: E({ backgroundColor: F(t).colorPrimaryBg }),
|
|
5398
5431
|
class: "flex w-full max-w-full items-center px-2 py-1"
|
|
5399
5432
|
}, [
|
|
5400
|
-
n.$slots.icon ? (O(), m("span",
|
|
5433
|
+
n.$slots.icon ? (O(), m("span", i_, [A(n.$slots, "icon")])) : p("", !0),
|
|
5401
5434
|
h("span", {
|
|
5402
5435
|
title: e.title,
|
|
5403
5436
|
class: "flex-1 truncate"
|
|
5404
|
-
}, [A(n.$slots, "default")], 8,
|
|
5437
|
+
}, [A(n.$slots, "default")], 8, a_),
|
|
5405
5438
|
_(F(xf), {
|
|
5406
5439
|
size: 14,
|
|
5407
5440
|
style: E({ color: F(t).colorPrimary }),
|
|
@@ -5410,7 +5443,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5410
5443
|
}, null, 8, ["style"])
|
|
5411
5444
|
], 4));
|
|
5412
5445
|
}
|
|
5413
|
-
}),
|
|
5446
|
+
}), s_ = { class: "flex h-full flex-1 flex-col gap-1 p-2" }, c_ = { class: "flex flex-1 flex-col gap-1 overflow-y-auto overflow-x-hidden" }, l_ = { class: "pt-2 text-center" }, u_ = /* @__PURE__ */ y({
|
|
5414
5447
|
name: "SelectedData",
|
|
5415
5448
|
__name: "SelectedData",
|
|
5416
5449
|
props: {
|
|
@@ -5420,12 +5453,12 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5420
5453
|
emits: ["update:modelValue"],
|
|
5421
5454
|
setup(e) {
|
|
5422
5455
|
let { token: t } = Be.useToken(), { multiple: n } = Y(), { fieldNames: r } = Vm(), i = ye(e, "modelValue"), a = k("");
|
|
5423
|
-
return (e, o) => (O(), f(F(
|
|
5456
|
+
return (e, o) => (O(), f(F(Cg).Root, {
|
|
5424
5457
|
"data-source": i.value,
|
|
5425
5458
|
filter: ""
|
|
5426
5459
|
}, {
|
|
5427
|
-
default: L(() => [h("div",
|
|
5428
|
-
F(n) ? (O(), f(F(
|
|
5460
|
+
default: L(() => [h("div", s_, [
|
|
5461
|
+
F(n) ? (O(), f(F(Cg).InputSearch, {
|
|
5429
5462
|
key: 0,
|
|
5430
5463
|
modelValue: a.value,
|
|
5431
5464
|
"onUpdate:modelValue": o[0] ||= (e) => a.value = e,
|
|
@@ -5447,14 +5480,14 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5447
5480
|
"show-icon": "",
|
|
5448
5481
|
style: { padding: "4px 8px" }
|
|
5449
5482
|
})),
|
|
5450
|
-
_(F(
|
|
5451
|
-
default: L(({ data: e }) => [h("div",
|
|
5483
|
+
_(F(Cg).Content, { "as-child": "" }, {
|
|
5484
|
+
default: L(({ data: e }) => [h("div", c_, [(O(!0), m(s, null, pe(e, (e) => (O(), f(F(kg).Item, {
|
|
5452
5485
|
key: e[F(r).value],
|
|
5453
5486
|
value: e,
|
|
5454
5487
|
"as-child": ""
|
|
5455
5488
|
}, {
|
|
5456
|
-
default: L(({ onSelected: t }) => [_(F(
|
|
5457
|
-
default: L(() => [_(F(
|
|
5489
|
+
default: L(({ onSelected: t }) => [_(F(o_), { onClose: (e) => t() }, {
|
|
5490
|
+
default: L(() => [_(F(zg), {
|
|
5458
5491
|
record: e,
|
|
5459
5492
|
favorite: !1,
|
|
5460
5493
|
"field-names": F(r)
|
|
@@ -5465,12 +5498,12 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5465
5498
|
}, 1032, ["value"]))), 128))])]),
|
|
5466
5499
|
_: 1
|
|
5467
5500
|
}),
|
|
5468
|
-
_(F(
|
|
5501
|
+
_(F(Cg).Pagination, null, {
|
|
5469
5502
|
default: L(({ total: e, currentPage: n, currentPageSize: r, pageCount: i, setPage: a }) => [i > 1 ? (O(), m(s, { key: 0 }, [_(F(up), {
|
|
5470
5503
|
orientation: "horizontal",
|
|
5471
5504
|
class: "h-px w-full",
|
|
5472
5505
|
style: E({ backgroundColor: F(t).colorBorderSecondary })
|
|
5473
|
-
}, null, 8, ["style"]), h("div",
|
|
5506
|
+
}, null, 8, ["style"]), h("div", l_, [_(F(Ie), {
|
|
5474
5507
|
simple: "",
|
|
5475
5508
|
total: e,
|
|
5476
5509
|
current: n,
|
|
@@ -5488,7 +5521,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5488
5521
|
_: 1
|
|
5489
5522
|
}, 8, ["data-source"]));
|
|
5490
5523
|
}
|
|
5491
|
-
}),
|
|
5524
|
+
}), d_ = { key: 0 }, f_ = /* @__PURE__ */ y({
|
|
5492
5525
|
name: "UserList",
|
|
5493
5526
|
__name: "UserList",
|
|
5494
5527
|
props: {
|
|
@@ -5505,7 +5538,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5505
5538
|
I(() => t.orgId, () => {
|
|
5506
5539
|
v.value?.fetchData?.();
|
|
5507
5540
|
});
|
|
5508
|
-
let { isAllCheck: y, isIndeterminate: b, onCheck: x } =
|
|
5541
|
+
let { isAllCheck: y, isIndeterminate: b, onCheck: x } = Vg({
|
|
5509
5542
|
selectValue: r,
|
|
5510
5543
|
by: d.value,
|
|
5511
5544
|
disabledData: o
|
|
@@ -5515,7 +5548,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5515
5548
|
i(n);
|
|
5516
5549
|
}
|
|
5517
5550
|
let C = u(() => (t.height ? t.height : s) - 30);
|
|
5518
|
-
return (e, t) => (O(), f(F(
|
|
5551
|
+
return (e, t) => (O(), f(F(Pg), {
|
|
5519
5552
|
ref_key: "dataListRef",
|
|
5520
5553
|
ref: v,
|
|
5521
5554
|
request: h,
|
|
@@ -5523,7 +5556,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5523
5556
|
"disabled-data": F(o),
|
|
5524
5557
|
height: C.value
|
|
5525
5558
|
}, {
|
|
5526
|
-
extra: L(({ data: r }) => [A(e.$slots, "extra"), F(a) ? (O(), m("div",
|
|
5559
|
+
extra: L(({ data: r }) => [A(e.$slots, "extra"), F(a) ? (O(), m("div", d_, [_(F(Oe), {
|
|
5527
5560
|
checked: F(y)(r),
|
|
5528
5561
|
indeterminate: F(b)(r),
|
|
5529
5562
|
disabled: !r?.length,
|
|
@@ -5542,7 +5575,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5542
5575
|
class: "mt-1 h-px w-full",
|
|
5543
5576
|
style: E({ backgroundColor: F(n).colorBorderSecondary })
|
|
5544
5577
|
}, null, 8, ["style"])])) : p("", !0)]),
|
|
5545
|
-
item: L((e) => [_(F(
|
|
5578
|
+
item: L((e) => [_(F(zg), {
|
|
5546
5579
|
record: e,
|
|
5547
5580
|
"field-names": F(d)
|
|
5548
5581
|
}, null, 8, ["record", "field-names"])]),
|
|
@@ -5553,7 +5586,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5553
5586
|
"height"
|
|
5554
5587
|
]));
|
|
5555
5588
|
}
|
|
5556
|
-
}),
|
|
5589
|
+
}), p_ = ["title"], m_ = /* @__PURE__ */ y({
|
|
5557
5590
|
name: "TreeUserList",
|
|
5558
5591
|
__name: "TreeUserList",
|
|
5559
5592
|
setup(e) {
|
|
@@ -5574,7 +5607,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5574
5607
|
"min-size": 40,
|
|
5575
5608
|
class: "h-full"
|
|
5576
5609
|
}, {
|
|
5577
|
-
default: L(() => [_(F(
|
|
5610
|
+
default: L(() => [_(F(n_), {
|
|
5578
5611
|
"selected-keys": [i.value[F(n).value]],
|
|
5579
5612
|
onSelect: a
|
|
5580
5613
|
}, null, 8, ["selected-keys"])]),
|
|
@@ -5589,7 +5622,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5589
5622
|
"min-size": 40,
|
|
5590
5623
|
class: "h-full"
|
|
5591
5624
|
}, {
|
|
5592
|
-
default: L(() => [_(F(
|
|
5625
|
+
default: L(() => [_(F(f_), {
|
|
5593
5626
|
"org-id": i.value[F(n).value],
|
|
5594
5627
|
height: o.value
|
|
5595
5628
|
}, {
|
|
@@ -5603,7 +5636,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5603
5636
|
}, [h("span", {
|
|
5604
5637
|
title: i.value[F(n).label],
|
|
5605
5638
|
class: "flex-1 truncate"
|
|
5606
|
-
}, " 当前组织:" + M(i.value[F(n).label]), 9,
|
|
5639
|
+
}, " 当前组织:" + M(i.value[F(n).label]), 9, p_), _(F(xf), {
|
|
5607
5640
|
size: 14,
|
|
5608
5641
|
style: E({ color: F(t).colorPrimary }),
|
|
5609
5642
|
class: "shrink-0 cursor-pointer",
|
|
@@ -5617,13 +5650,13 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5617
5650
|
_: 1
|
|
5618
5651
|
}));
|
|
5619
5652
|
}
|
|
5620
|
-
}),
|
|
5653
|
+
}), h_ = {
|
|
5621
5654
|
Root: Nm,
|
|
5622
5655
|
List: Im,
|
|
5623
5656
|
Content: Pm,
|
|
5624
5657
|
Trigger: Lm,
|
|
5625
5658
|
Indicator: Fm
|
|
5626
|
-
},
|
|
5659
|
+
}, g_ = { class: "font-normal" }, __ = /* @__PURE__ */ y({
|
|
5627
5660
|
name: "ContentSelector",
|
|
5628
5661
|
__name: "ContentSelector",
|
|
5629
5662
|
props: /* @__PURE__ */ ie({
|
|
@@ -5691,7 +5724,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5691
5724
|
borderColor: F(i).colorBorder,
|
|
5692
5725
|
height: `${e.height}px`
|
|
5693
5726
|
})
|
|
5694
|
-
}, [_(F(
|
|
5727
|
+
}, [_(F(kg).Root, {
|
|
5695
5728
|
modelValue: r.value,
|
|
5696
5729
|
"onUpdate:modelValue": t[2] ||= (e) => r.value = e,
|
|
5697
5730
|
multiple: e.multiple,
|
|
@@ -5707,7 +5740,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5707
5740
|
"min-size": 55,
|
|
5708
5741
|
class: "h-full"
|
|
5709
5742
|
}, {
|
|
5710
|
-
default: L(() => [_(F(
|
|
5743
|
+
default: L(() => [_(F(h_).Root, {
|
|
5711
5744
|
modelValue: o.value,
|
|
5712
5745
|
"onUpdate:modelValue": t[0] ||= (e) => o.value = e,
|
|
5713
5746
|
class: "h-full"
|
|
@@ -5734,8 +5767,8 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5734
5767
|
}),
|
|
5735
5768
|
class: "flex h-full flex-col"
|
|
5736
5769
|
}, {
|
|
5737
|
-
title: L(() => [_(F(
|
|
5738
|
-
default: L(() => [(O(!0), m(s, null, pe(e.tabs, (e) => (O(), f(F(
|
|
5770
|
+
title: L(() => [_(F(h_).List, { class: "inline-flex items-center space-x-1 overflow-x-auto font-normal" }, {
|
|
5771
|
+
default: L(() => [(O(!0), m(s, null, pe(e.tabs, (e) => (O(), f(F(h_).Trigger, {
|
|
5739
5772
|
key: e.value,
|
|
5740
5773
|
value: e.value,
|
|
5741
5774
|
as: "div",
|
|
@@ -5746,20 +5779,20 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5746
5779
|
}, 1032, ["value"]))), 128))]),
|
|
5747
5780
|
_: 1
|
|
5748
5781
|
})]),
|
|
5749
|
-
default: L(() => [(O(!0), m(s, null, pe(e.tabs, (t) => (O(), f(F(
|
|
5782
|
+
default: L(() => [(O(!0), m(s, null, pe(e.tabs, (t) => (O(), f(F(h_).Content, {
|
|
5750
5783
|
key: t.value,
|
|
5751
5784
|
value: t.value,
|
|
5752
5785
|
class: "h-full"
|
|
5753
5786
|
}, {
|
|
5754
5787
|
default: L(() => [A(e.$slots, "content", w({ ref_for: !0 }, { key: t.value }), () => [
|
|
5755
|
-
t.value === "RecentlyUsed" ? (O(), f(F(
|
|
5756
|
-
t.value === "Favorites" ? (O(), f(F(
|
|
5757
|
-
t.value === "OrgTree" ? (O(), f(F(
|
|
5788
|
+
t.value === "RecentlyUsed" ? (O(), f(F(r_), { key: 0 })) : p("", !0),
|
|
5789
|
+
t.value === "Favorites" ? (O(), f(F(Bg), { key: 1 })) : p("", !0),
|
|
5790
|
+
t.value === "OrgTree" ? (O(), f(F(n_), {
|
|
5758
5791
|
key: 2,
|
|
5759
5792
|
checkable: ""
|
|
5760
5793
|
})) : p("", !0),
|
|
5761
|
-
t.value === "TreeUserList" ? (O(), f(F(
|
|
5762
|
-
t.value === "Groups" ? (O(), f(F(
|
|
5794
|
+
t.value === "TreeUserList" ? (O(), f(F(m_), { key: 3 })) : p("", !0),
|
|
5795
|
+
t.value === "Groups" ? (O(), f(F(qg), { key: 4 })) : p("", !0)
|
|
5763
5796
|
], !0)]),
|
|
5764
5797
|
_: 2
|
|
5765
5798
|
}, 1032, ["value"]))), 128))]),
|
|
@@ -5798,8 +5831,8 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5798
5831
|
},
|
|
5799
5832
|
class: "flex h-full flex-col"
|
|
5800
5833
|
}, {
|
|
5801
|
-
title: L(() => [h("span",
|
|
5802
|
-
extra: L(() => [_(F(
|
|
5834
|
+
title: L(() => [h("span", g_, " 已选内容(" + M(r.value.length) + ") ", 1)]),
|
|
5835
|
+
extra: L(() => [_(F(kg).Clear, {
|
|
5803
5836
|
as: "a",
|
|
5804
5837
|
style: E({ color: F(i).colorPrimary })
|
|
5805
5838
|
}, {
|
|
@@ -5807,7 +5840,7 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5807
5840
|
_: 1,
|
|
5808
5841
|
__: [3]
|
|
5809
5842
|
}, 8, ["style"])]),
|
|
5810
|
-
default: L(() => [_(F(
|
|
5843
|
+
default: L(() => [_(F(u_), {
|
|
5811
5844
|
modelValue: r.value,
|
|
5812
5845
|
"onUpdate:modelValue": t[1] ||= (e) => r.value = e
|
|
5813
5846
|
}, null, 8, ["modelValue"])]),
|
|
@@ -5825,53 +5858,53 @@ const Pg = { class: "size-full" }, Fg = ["title"], Ig = /* @__PURE__ */ y({
|
|
|
5825
5858
|
"by"
|
|
5826
5859
|
])], 4));
|
|
5827
5860
|
}
|
|
5828
|
-
}),
|
|
5829
|
-
function
|
|
5861
|
+
}), v_ = /* @__PURE__ */ Ng(__, [["__scopeId", "data-v-5a5c2a54"]]), X = i(Ue.use, "request");
|
|
5862
|
+
function y_(e, t) {
|
|
5830
5863
|
let { id: n,...r } = e;
|
|
5831
5864
|
return X.Delete(`/group/delete/${n}`, {}, {
|
|
5832
5865
|
params: { ...r },
|
|
5833
5866
|
...t || {}
|
|
5834
5867
|
});
|
|
5835
5868
|
}
|
|
5836
|
-
function
|
|
5869
|
+
function b_(e, t) {
|
|
5837
5870
|
let { id: n,...r } = e;
|
|
5838
5871
|
return X.Get(`/group/detail/${n}`, {
|
|
5839
5872
|
params: { ...r },
|
|
5840
5873
|
...t || {}
|
|
5841
5874
|
});
|
|
5842
5875
|
}
|
|
5843
|
-
function
|
|
5876
|
+
function x_(e, t) {
|
|
5844
5877
|
return X.Post("/group/findPage", e, {
|
|
5845
5878
|
headers: { "Content-Type": "application/json" },
|
|
5846
5879
|
...t || {}
|
|
5847
5880
|
});
|
|
5848
5881
|
}
|
|
5849
|
-
function
|
|
5882
|
+
function S_(e, t) {
|
|
5850
5883
|
return X.Post("/group/list", e, {
|
|
5851
5884
|
headers: { "Content-Type": "application/json" },
|
|
5852
5885
|
...t || {}
|
|
5853
5886
|
});
|
|
5854
5887
|
}
|
|
5855
|
-
function
|
|
5888
|
+
function C_(e, t) {
|
|
5856
5889
|
return X.Post("/group/saveOrUpdate", e, {
|
|
5857
5890
|
headers: { "Content-Type": "application/json" },
|
|
5858
5891
|
...t || {}
|
|
5859
5892
|
});
|
|
5860
5893
|
}
|
|
5861
|
-
function
|
|
5894
|
+
function w_(e, t) {
|
|
5862
5895
|
return X.Post("/region/addRegion", e, {
|
|
5863
5896
|
headers: { "Content-Type": "application/json" },
|
|
5864
5897
|
...t || {}
|
|
5865
5898
|
});
|
|
5866
5899
|
}
|
|
5867
|
-
function
|
|
5900
|
+
function T_(e, t) {
|
|
5868
5901
|
let { code: n,...r } = e;
|
|
5869
5902
|
return X.Get(`/region/deleteRegion/${n}`, {
|
|
5870
5903
|
params: { ...r },
|
|
5871
5904
|
...t || {}
|
|
5872
5905
|
});
|
|
5873
5906
|
}
|
|
5874
|
-
function
|
|
5907
|
+
function E_(e, t) {
|
|
5875
5908
|
return X.Get("/region/getListByParentId", {
|
|
5876
5909
|
params: {
|
|
5877
5910
|
parentId: "0",
|
|
@@ -5880,268 +5913,268 @@ function v_(e, t) {
|
|
|
5880
5913
|
...t || {}
|
|
5881
5914
|
});
|
|
5882
5915
|
}
|
|
5883
|
-
function
|
|
5916
|
+
function D_(e, t) {
|
|
5884
5917
|
let { code: n,...r } = e;
|
|
5885
5918
|
return X.Get(`/region/getRegionDetail/${n}`, {
|
|
5886
5919
|
params: { ...r },
|
|
5887
5920
|
...t || {}
|
|
5888
5921
|
});
|
|
5889
5922
|
}
|
|
5890
|
-
function
|
|
5923
|
+
function O_(e, t) {
|
|
5891
5924
|
return X.Post("/region/updateRegion", e, {
|
|
5892
5925
|
headers: { "Content-Type": "application/json" },
|
|
5893
5926
|
...t || {}
|
|
5894
5927
|
});
|
|
5895
5928
|
}
|
|
5896
|
-
function
|
|
5929
|
+
function k_(e, t) {
|
|
5897
5930
|
let { id: n,...r } = e;
|
|
5898
5931
|
return X.Delete(`/rbac/post/delete/${n}`, {}, {
|
|
5899
5932
|
params: { ...r },
|
|
5900
5933
|
...t || {}
|
|
5901
5934
|
});
|
|
5902
5935
|
}
|
|
5903
|
-
function
|
|
5936
|
+
function A_(e, t) {
|
|
5904
5937
|
let { id: n,...r } = e;
|
|
5905
5938
|
return X.Get(`/rbac/post/detail/${n}`, {
|
|
5906
5939
|
params: { ...r },
|
|
5907
5940
|
...t || {}
|
|
5908
5941
|
});
|
|
5909
5942
|
}
|
|
5910
|
-
function
|
|
5943
|
+
function j_(e, t) {
|
|
5911
5944
|
return X.Post("/rbac/post/findPage", e, {
|
|
5912
5945
|
headers: { "Content-Type": "application/json" },
|
|
5913
5946
|
...t || {}
|
|
5914
5947
|
});
|
|
5915
5948
|
}
|
|
5916
|
-
function
|
|
5949
|
+
function M_(e, t) {
|
|
5917
5950
|
return X.Get("/rbac/post/list", {
|
|
5918
5951
|
params: { ...e },
|
|
5919
5952
|
...t || {}
|
|
5920
5953
|
});
|
|
5921
5954
|
}
|
|
5922
|
-
function
|
|
5955
|
+
function N_(e, t) {
|
|
5923
5956
|
return X.Post("/rbac/post/save", e, {
|
|
5924
5957
|
headers: { "Content-Type": "application/json" },
|
|
5925
5958
|
...t || {}
|
|
5926
5959
|
});
|
|
5927
5960
|
}
|
|
5928
|
-
function
|
|
5961
|
+
function P_(e, t) {
|
|
5929
5962
|
return X.Post("/rbac/role/addRole", e, {
|
|
5930
5963
|
headers: { "Content-Type": "application/json" },
|
|
5931
5964
|
...t || {}
|
|
5932
5965
|
});
|
|
5933
5966
|
}
|
|
5934
|
-
function
|
|
5967
|
+
function F_(e, t) {
|
|
5935
5968
|
return X.Get("/rbac/role/info", {
|
|
5936
5969
|
params: { ...e },
|
|
5937
5970
|
...t || {}
|
|
5938
5971
|
});
|
|
5939
5972
|
}
|
|
5940
|
-
function
|
|
5973
|
+
function I_(e, t) {
|
|
5941
5974
|
return X.Get("/rbac/role/roleDelete", {
|
|
5942
5975
|
params: { ...e },
|
|
5943
5976
|
...t || {}
|
|
5944
5977
|
});
|
|
5945
5978
|
}
|
|
5946
|
-
function
|
|
5979
|
+
function L_(e) {
|
|
5947
5980
|
return X.Get("/rbac/role/roleList", { ...e || {} });
|
|
5948
5981
|
}
|
|
5949
|
-
function
|
|
5982
|
+
function R_(e, t) {
|
|
5950
5983
|
return X.Post("/rbac/role/rolePage", e, {
|
|
5951
5984
|
headers: { "Content-Type": "application/json" },
|
|
5952
5985
|
...t || {}
|
|
5953
5986
|
});
|
|
5954
5987
|
}
|
|
5955
|
-
function
|
|
5988
|
+
function z_(e, t) {
|
|
5956
5989
|
return X.Post("/rbac/role/roleUpdate", e, {
|
|
5957
5990
|
headers: { "Content-Type": "application/json" },
|
|
5958
5991
|
...t || {}
|
|
5959
5992
|
});
|
|
5960
5993
|
}
|
|
5961
|
-
function
|
|
5994
|
+
function B_(e, t) {
|
|
5962
5995
|
return X.Post("/rbac/role/roleUserPage", e, {
|
|
5963
5996
|
headers: { "Content-Type": "application/json" },
|
|
5964
5997
|
...t || {}
|
|
5965
5998
|
});
|
|
5966
5999
|
}
|
|
5967
|
-
function
|
|
6000
|
+
function V_(e, t) {
|
|
5968
6001
|
return X.Delete("/rbac/pubRoleGroup/delete", {}, {
|
|
5969
6002
|
params: { ...e },
|
|
5970
6003
|
...t || {}
|
|
5971
6004
|
});
|
|
5972
6005
|
}
|
|
5973
|
-
function
|
|
6006
|
+
function H_(e, t) {
|
|
5974
6007
|
return X.Get("/rbac/pubRoleGroup/getAll", {
|
|
5975
6008
|
params: { ...e },
|
|
5976
6009
|
...t || {}
|
|
5977
6010
|
});
|
|
5978
6011
|
}
|
|
5979
|
-
function
|
|
6012
|
+
function U_(e, t) {
|
|
5980
6013
|
return X.Get("/rbac/pubRoleGroup/getById", {
|
|
5981
6014
|
params: { ...e },
|
|
5982
6015
|
...t || {}
|
|
5983
6016
|
});
|
|
5984
6017
|
}
|
|
5985
|
-
function
|
|
6018
|
+
function W_(e, t) {
|
|
5986
6019
|
return X.Post("/rbac/pubRoleGroup/pageQuery", e, {
|
|
5987
6020
|
headers: { "Content-Type": "application/json" },
|
|
5988
6021
|
...t || {}
|
|
5989
6022
|
});
|
|
5990
6023
|
}
|
|
5991
|
-
function
|
|
6024
|
+
function G_(e, t) {
|
|
5992
6025
|
return X.Post("/rbac/pubRoleGroup/save", e, {
|
|
5993
6026
|
headers: { "Content-Type": "application/json" },
|
|
5994
6027
|
...t || {}
|
|
5995
6028
|
});
|
|
5996
6029
|
}
|
|
5997
|
-
function
|
|
6030
|
+
function K_(e, t) {
|
|
5998
6031
|
return X.Post("/rbac/pubRoleGroup/update", e, {
|
|
5999
6032
|
headers: { "Content-Type": "application/json" },
|
|
6000
6033
|
...t || {}
|
|
6001
6034
|
});
|
|
6002
6035
|
}
|
|
6003
|
-
function
|
|
6036
|
+
function q_(e) {
|
|
6004
6037
|
return X.Get("/rbac/pubDataPermissions/dataPermissionList", { ...e || {} });
|
|
6005
6038
|
}
|
|
6006
|
-
function
|
|
6039
|
+
function J_(e, t) {
|
|
6007
6040
|
return X.Delete("/rbac/pubDataPermissions/delete", {}, {
|
|
6008
6041
|
params: { ...e },
|
|
6009
6042
|
...t || {}
|
|
6010
6043
|
});
|
|
6011
6044
|
}
|
|
6012
|
-
function
|
|
6045
|
+
function Y_(e, t) {
|
|
6013
6046
|
return X.Get("/rbac/pubDataPermissions/getById", {
|
|
6014
6047
|
params: { ...e },
|
|
6015
6048
|
...t || {}
|
|
6016
6049
|
});
|
|
6017
6050
|
}
|
|
6018
|
-
function
|
|
6051
|
+
function X_(e, t) {
|
|
6019
6052
|
return X.Post("/rbac/pubDataPermissions/getUserOrgDataPermissionList", {}, {
|
|
6020
6053
|
params: { ...e },
|
|
6021
6054
|
...t || {}
|
|
6022
6055
|
});
|
|
6023
6056
|
}
|
|
6024
|
-
function
|
|
6057
|
+
function Z_(e, t) {
|
|
6025
6058
|
return X.Post("/rbac/pubDataPermissions/pageQuery", e, {
|
|
6026
6059
|
headers: { "Content-Type": "application/json" },
|
|
6027
6060
|
...t || {}
|
|
6028
6061
|
});
|
|
6029
6062
|
}
|
|
6030
|
-
function
|
|
6063
|
+
function Q_(e, t) {
|
|
6031
6064
|
return X.Post("/rbac/pubDataPermissions/save", e, {
|
|
6032
6065
|
headers: { "Content-Type": "application/json" },
|
|
6033
6066
|
...t || {}
|
|
6034
6067
|
});
|
|
6035
6068
|
}
|
|
6036
|
-
function
|
|
6069
|
+
function $_(e, t) {
|
|
6037
6070
|
return X.Post("/rbac/pubDataPermissions/update", e, {
|
|
6038
6071
|
headers: { "Content-Type": "application/json" },
|
|
6039
6072
|
...t || {}
|
|
6040
6073
|
});
|
|
6041
6074
|
}
|
|
6042
|
-
function
|
|
6075
|
+
function ev(e, t) {
|
|
6043
6076
|
return X.Post("/rbac/user/grantUserRoleAndDatPermission", e, {
|
|
6044
6077
|
headers: { "Content-Type": "application/json" },
|
|
6045
6078
|
...t || {}
|
|
6046
6079
|
});
|
|
6047
6080
|
}
|
|
6048
|
-
function
|
|
6081
|
+
function tv(e, t) {
|
|
6049
6082
|
return X.Get("/rbac/user/info", {
|
|
6050
6083
|
params: { ...e },
|
|
6051
6084
|
...t || {}
|
|
6052
6085
|
});
|
|
6053
6086
|
}
|
|
6054
|
-
function
|
|
6087
|
+
function nv(e, t) {
|
|
6055
6088
|
return X.Post("/rbac/user/pubUserAdd", e, {
|
|
6056
6089
|
headers: { "Content-Type": "application/json" },
|
|
6057
6090
|
...t || {}
|
|
6058
6091
|
});
|
|
6059
6092
|
}
|
|
6060
|
-
function
|
|
6093
|
+
function rv(e, t) {
|
|
6061
6094
|
return X.Put("/rbac/user/resetPassword", {}, {
|
|
6062
6095
|
params: { ...e },
|
|
6063
6096
|
...t || {}
|
|
6064
6097
|
});
|
|
6065
6098
|
}
|
|
6066
|
-
function
|
|
6099
|
+
function iv(e, t) {
|
|
6067
6100
|
return X.Post("/rbac/user/userAndOrgList", e, {
|
|
6068
6101
|
headers: { "Content-Type": "application/json" },
|
|
6069
6102
|
...t || {}
|
|
6070
6103
|
});
|
|
6071
6104
|
}
|
|
6072
|
-
function
|
|
6105
|
+
function av(e, t) {
|
|
6073
6106
|
return X.Get("/rbac/user/userDelete", {
|
|
6074
6107
|
params: { ...e },
|
|
6075
6108
|
...t || {}
|
|
6076
6109
|
});
|
|
6077
6110
|
}
|
|
6078
|
-
function
|
|
6111
|
+
function ov(e, t) {
|
|
6079
6112
|
return X.Post("/rbac/user/userForMultiOrgPage", e, {
|
|
6080
6113
|
headers: { "Content-Type": "application/json" },
|
|
6081
6114
|
...t || {}
|
|
6082
6115
|
});
|
|
6083
6116
|
}
|
|
6084
|
-
function
|
|
6117
|
+
function sv(e, t) {
|
|
6085
6118
|
return X.Post("/rbac/user/userPage", e, {
|
|
6086
6119
|
headers: { "Content-Type": "application/json" },
|
|
6087
6120
|
...t || {}
|
|
6088
6121
|
});
|
|
6089
6122
|
}
|
|
6090
|
-
function
|
|
6123
|
+
function cv(e, t) {
|
|
6091
6124
|
return X.Post("/rbac/user/userUpdate-v2", e, {
|
|
6092
6125
|
headers: { "Content-Type": "application/json" },
|
|
6093
6126
|
...t || {}
|
|
6094
6127
|
});
|
|
6095
6128
|
}
|
|
6096
|
-
function
|
|
6129
|
+
function lv(e, t) {
|
|
6097
6130
|
return X.Post("/rbac/collect/add", e, {
|
|
6098
6131
|
headers: { "Content-Type": "application/json" },
|
|
6099
6132
|
...t || {}
|
|
6100
6133
|
});
|
|
6101
6134
|
}
|
|
6102
|
-
function
|
|
6135
|
+
function uv(e, t) {
|
|
6103
6136
|
return X.Post("/rbac/collect/findPage", e, {
|
|
6104
6137
|
headers: { "Content-Type": "application/json" },
|
|
6105
6138
|
...t || {}
|
|
6106
6139
|
});
|
|
6107
6140
|
}
|
|
6108
|
-
function
|
|
6141
|
+
function dv(e, t) {
|
|
6109
6142
|
return X.Post("/rbac/collect/removeCollect", e, {
|
|
6110
6143
|
headers: { "Content-Type": "application/json" },
|
|
6111
6144
|
...t || {}
|
|
6112
6145
|
});
|
|
6113
6146
|
}
|
|
6114
|
-
function
|
|
6147
|
+
function fv(e, t) {
|
|
6115
6148
|
return X.Post("/rbac/used/addBatch", e, {
|
|
6116
6149
|
headers: { "Content-Type": "application/json" },
|
|
6117
6150
|
...t || {}
|
|
6118
6151
|
});
|
|
6119
6152
|
}
|
|
6120
|
-
function
|
|
6153
|
+
function pv(e, t) {
|
|
6121
6154
|
return X.Post("/rbac/used/findPage", e, {
|
|
6122
6155
|
headers: { "Content-Type": "application/json" },
|
|
6123
6156
|
...t || {}
|
|
6124
6157
|
});
|
|
6125
6158
|
}
|
|
6126
|
-
function
|
|
6159
|
+
function mv(e, t) {
|
|
6127
6160
|
return X.Delete("/rbac/resource-backup/deleteResourceBackup", {}, {
|
|
6128
6161
|
params: { ...e },
|
|
6129
6162
|
...t || {}
|
|
6130
6163
|
});
|
|
6131
6164
|
}
|
|
6132
|
-
function
|
|
6165
|
+
function hv(e, t) {
|
|
6133
6166
|
return X.Get("/rbac/resource-backup/detail", {
|
|
6134
6167
|
params: { ...e },
|
|
6135
6168
|
...t || {}
|
|
6136
6169
|
});
|
|
6137
6170
|
}
|
|
6138
|
-
function
|
|
6171
|
+
function gv(e, t) {
|
|
6139
6172
|
return X.Post("/rbac/resource-backup/exportResourceData", e, {
|
|
6140
6173
|
headers: { "Content-Type": "application/json" },
|
|
6141
6174
|
...t || {}
|
|
6142
6175
|
});
|
|
6143
6176
|
}
|
|
6144
|
-
function
|
|
6177
|
+
function _v(e, t, n, r) {
|
|
6145
6178
|
let i = new FormData();
|
|
6146
6179
|
return n && i.append("file", n), Object.keys(t).forEach((e) => {
|
|
6147
6180
|
let n = t[e];
|
|
@@ -6151,133 +6184,133 @@ function lv(e, t, n, r) {
|
|
|
6151
6184
|
...r || {}
|
|
6152
6185
|
});
|
|
6153
6186
|
}
|
|
6154
|
-
function
|
|
6187
|
+
function vv(e, t) {
|
|
6155
6188
|
return X.Get("/rbac/resource-backup/list", {
|
|
6156
6189
|
params: { ...e },
|
|
6157
6190
|
...t || {}
|
|
6158
6191
|
});
|
|
6159
6192
|
}
|
|
6160
|
-
function
|
|
6193
|
+
function yv(e, t) {
|
|
6161
6194
|
return X.Get("/rbac/resource-backup/restore", {
|
|
6162
6195
|
params: { ...e },
|
|
6163
6196
|
...t || {}
|
|
6164
6197
|
});
|
|
6165
6198
|
}
|
|
6166
|
-
function
|
|
6199
|
+
function bv(e, t) {
|
|
6167
6200
|
return X.Post("/rbac/resource/addResource", e, {
|
|
6168
6201
|
headers: { "Content-Type": "application/json" },
|
|
6169
6202
|
...t || {}
|
|
6170
6203
|
});
|
|
6171
6204
|
}
|
|
6172
|
-
function
|
|
6205
|
+
function xv(e) {
|
|
6173
6206
|
return X.Get("/rbac/resource/appList", { ...e || {} });
|
|
6174
6207
|
}
|
|
6175
|
-
function
|
|
6208
|
+
function Sv(e, t) {
|
|
6176
6209
|
return X.Get("/rbac/resource/getRoleListByResourceId", {
|
|
6177
6210
|
params: { ...e },
|
|
6178
6211
|
...t || {}
|
|
6179
6212
|
});
|
|
6180
6213
|
}
|
|
6181
|
-
function
|
|
6214
|
+
function Cv(e, t) {
|
|
6182
6215
|
return X.Get("/rbac/resource/groupResourceTree", {
|
|
6183
6216
|
params: { ...e },
|
|
6184
6217
|
...t || {}
|
|
6185
6218
|
});
|
|
6186
6219
|
}
|
|
6187
|
-
function
|
|
6220
|
+
function wv(e, t) {
|
|
6188
6221
|
return X.Get("/rbac/resource/info", {
|
|
6189
6222
|
params: { ...e },
|
|
6190
6223
|
...t || {}
|
|
6191
6224
|
});
|
|
6192
6225
|
}
|
|
6193
|
-
function
|
|
6226
|
+
function Tv(e, t) {
|
|
6194
6227
|
return X.Get("/rbac/resource/resourceDelete", {
|
|
6195
6228
|
params: { ...e },
|
|
6196
6229
|
...t || {}
|
|
6197
6230
|
});
|
|
6198
6231
|
}
|
|
6199
|
-
function
|
|
6232
|
+
function Ev(e, t) {
|
|
6200
6233
|
return X.Get("/rbac/resource/resourceTree", {
|
|
6201
6234
|
params: { ...e },
|
|
6202
6235
|
...t || {}
|
|
6203
6236
|
});
|
|
6204
6237
|
}
|
|
6205
|
-
function
|
|
6238
|
+
function Dv(e, t) {
|
|
6206
6239
|
return X.Post("/rbac/resource/resourceUpdate", e, {
|
|
6207
6240
|
headers: { "Content-Type": "application/json" },
|
|
6208
6241
|
...t || {}
|
|
6209
6242
|
});
|
|
6210
6243
|
}
|
|
6211
|
-
function
|
|
6244
|
+
function Ov(e) {
|
|
6212
6245
|
return X.Get("/rbac/resource/tenantAddResourceTree", { ...e || {} });
|
|
6213
6246
|
}
|
|
6214
|
-
function
|
|
6247
|
+
function kv(e, t) {
|
|
6215
6248
|
return X.Post("/rbac/tenant/pubTenantAdd", e, {
|
|
6216
6249
|
headers: { "Content-Type": "application/json" },
|
|
6217
6250
|
...t || {}
|
|
6218
6251
|
});
|
|
6219
6252
|
}
|
|
6220
|
-
function
|
|
6253
|
+
function Av(e, t) {
|
|
6221
6254
|
return X.Get("/rbac/tenant/pubTenantDelete", {
|
|
6222
6255
|
params: { ...e },
|
|
6223
6256
|
...t || {}
|
|
6224
6257
|
});
|
|
6225
6258
|
}
|
|
6226
|
-
function
|
|
6259
|
+
function jv(e, t) {
|
|
6227
6260
|
return X.Get("/rbac/tenant/pubTenantInfo", {
|
|
6228
6261
|
params: { ...e },
|
|
6229
6262
|
...t || {}
|
|
6230
6263
|
});
|
|
6231
6264
|
}
|
|
6232
|
-
function
|
|
6265
|
+
function Mv(e, t) {
|
|
6233
6266
|
return X.Post("/rbac/tenant/pubTenantPage", e, {
|
|
6234
6267
|
headers: { "Content-Type": "application/json" },
|
|
6235
6268
|
...t || {}
|
|
6236
6269
|
});
|
|
6237
6270
|
}
|
|
6238
|
-
function
|
|
6271
|
+
function Nv(e, t) {
|
|
6239
6272
|
return X.Post("/rbac/tenant/pubTenantUpdate", e, {
|
|
6240
6273
|
headers: { "Content-Type": "application/json" },
|
|
6241
6274
|
...t || {}
|
|
6242
6275
|
});
|
|
6243
6276
|
}
|
|
6244
|
-
function
|
|
6277
|
+
function Pv(e, t) {
|
|
6245
6278
|
return X.Get("/rbac/orgRole/getByOrgId", {
|
|
6246
6279
|
params: { ...e },
|
|
6247
6280
|
...t || {}
|
|
6248
6281
|
});
|
|
6249
6282
|
}
|
|
6250
|
-
function
|
|
6283
|
+
function Fv(e, t) {
|
|
6251
6284
|
return X.Post("/rbac/orgRole/roleOrgPage", e, {
|
|
6252
6285
|
headers: { "Content-Type": "application/json" },
|
|
6253
6286
|
...t || {}
|
|
6254
6287
|
});
|
|
6255
6288
|
}
|
|
6256
|
-
function
|
|
6289
|
+
function Iv(e, t) {
|
|
6257
6290
|
return X.Post("/rbac/orgRole/saveOrgRole", e, {
|
|
6258
6291
|
headers: { "Content-Type": "application/json" },
|
|
6259
6292
|
...t || {}
|
|
6260
6293
|
});
|
|
6261
6294
|
}
|
|
6262
|
-
function
|
|
6295
|
+
function Lv(e, t) {
|
|
6263
6296
|
return X.Post("/rbac/org/addOrg", e, {
|
|
6264
6297
|
headers: { "Content-Type": "application/json" },
|
|
6265
6298
|
...t || {}
|
|
6266
6299
|
});
|
|
6267
6300
|
}
|
|
6268
|
-
function
|
|
6301
|
+
function Rv(e, t) {
|
|
6269
6302
|
return X.Get("/rbac/org/deleteOrg", {
|
|
6270
6303
|
params: { ...e },
|
|
6271
6304
|
...t || {}
|
|
6272
6305
|
});
|
|
6273
6306
|
}
|
|
6274
|
-
function
|
|
6307
|
+
function zv(e, t) {
|
|
6275
6308
|
return X.Get("/rbac/org/info", {
|
|
6276
6309
|
params: { ...e },
|
|
6277
6310
|
...t || {}
|
|
6278
6311
|
});
|
|
6279
6312
|
}
|
|
6280
|
-
function
|
|
6313
|
+
function Bv(e, t) {
|
|
6281
6314
|
return X.Get("/rbac/org/orgListByParentId", {
|
|
6282
6315
|
params: {
|
|
6283
6316
|
parentId: "0",
|
|
@@ -6286,25 +6319,25 @@ function Mv(e, t) {
|
|
|
6286
6319
|
...t || {}
|
|
6287
6320
|
});
|
|
6288
6321
|
}
|
|
6289
|
-
function
|
|
6322
|
+
function Vv(e, t) {
|
|
6290
6323
|
return X.Post("/rbac/org/search", e, {
|
|
6291
6324
|
headers: { "Content-Type": "application/json" },
|
|
6292
6325
|
...t || {}
|
|
6293
6326
|
});
|
|
6294
6327
|
}
|
|
6295
|
-
function
|
|
6328
|
+
function Hv(e, t) {
|
|
6296
6329
|
return X.Post("/rbac/org/searchOrgByIds", e, {
|
|
6297
6330
|
headers: { "Content-Type": "application/json" },
|
|
6298
6331
|
...t || {}
|
|
6299
6332
|
});
|
|
6300
6333
|
}
|
|
6301
|
-
function
|
|
6334
|
+
function Uv(e, t) {
|
|
6302
6335
|
return X.Get("/rbac/org/searchSubOrgById", {
|
|
6303
6336
|
params: { ...e },
|
|
6304
6337
|
...t || {}
|
|
6305
6338
|
});
|
|
6306
6339
|
}
|
|
6307
|
-
function
|
|
6340
|
+
function Wv(e, t) {
|
|
6308
6341
|
return X.Get("/rbac/org/searchTreeById", {
|
|
6309
6342
|
params: {
|
|
6310
6343
|
id: "0",
|
|
@@ -6313,7 +6346,7 @@ function Iv(e, t) {
|
|
|
6313
6346
|
...t || {}
|
|
6314
6347
|
});
|
|
6315
6348
|
}
|
|
6316
|
-
function
|
|
6349
|
+
function Gv(e, t) {
|
|
6317
6350
|
return X.Post("/rbac/org/updateOrg", e, {
|
|
6318
6351
|
headers: { "Content-Type": "application/json" },
|
|
6319
6352
|
...t || {}
|
|
@@ -6330,10 +6363,10 @@ const Z = {
|
|
|
6330
6363
|
favorite: "collect",
|
|
6331
6364
|
info: "fullName"
|
|
6332
6365
|
};
|
|
6333
|
-
function
|
|
6366
|
+
function Kv(e = "", t = "") {
|
|
6334
6367
|
return `${e}_${t}`;
|
|
6335
6368
|
}
|
|
6336
|
-
function
|
|
6369
|
+
function qv(e) {
|
|
6337
6370
|
let [t, n] = e?.split("_");
|
|
6338
6371
|
return {
|
|
6339
6372
|
orgId: t,
|
|
@@ -6343,10 +6376,10 @@ function zv(e) {
|
|
|
6343
6376
|
function $(e) {
|
|
6344
6377
|
return e ? { headers: { "X-ResourceMark": e } } : {};
|
|
6345
6378
|
}
|
|
6346
|
-
function
|
|
6379
|
+
function Jv({ auth: e, filter: t }) {
|
|
6347
6380
|
return {
|
|
6348
6381
|
async getSelectedData(t) {
|
|
6349
|
-
let n = await
|
|
6382
|
+
let n = await Hv(t.map((e) => e[Z.value]), $(e));
|
|
6350
6383
|
return n?.data?.map((e) => ({
|
|
6351
6384
|
...e,
|
|
6352
6385
|
[Z.value]: e.id,
|
|
@@ -6355,14 +6388,14 @@ function Bv({ auth: e, filter: t }) {
|
|
|
6355
6388
|
})) ?? [];
|
|
6356
6389
|
},
|
|
6357
6390
|
async addRecentlyUsed(t) {
|
|
6358
|
-
await
|
|
6391
|
+
await fv(t.map((e) => ({
|
|
6359
6392
|
type: "1",
|
|
6360
6393
|
orgId: e[Z.value],
|
|
6361
6394
|
orgName: e[Z.label]
|
|
6362
6395
|
})), $(e));
|
|
6363
6396
|
},
|
|
6364
6397
|
async recentlyUsed({ search: t, current: n }) {
|
|
6365
|
-
let r = await
|
|
6398
|
+
let r = await pv({
|
|
6366
6399
|
type: "1",
|
|
6367
6400
|
orgName: t,
|
|
6368
6401
|
currentPage: n,
|
|
@@ -6380,7 +6413,7 @@ function Bv({ auth: e, filter: t }) {
|
|
|
6380
6413
|
};
|
|
6381
6414
|
},
|
|
6382
6415
|
async favorites({ search: t, current: n, pageSize: r }) {
|
|
6383
|
-
let i = await
|
|
6416
|
+
let i = await uv({
|
|
6384
6417
|
type: "1",
|
|
6385
6418
|
orgName: t,
|
|
6386
6419
|
currentPage: n,
|
|
@@ -6397,14 +6430,14 @@ function Bv({ auth: e, filter: t }) {
|
|
|
6397
6430
|
};
|
|
6398
6431
|
},
|
|
6399
6432
|
async favoriteToggle({ favorite: t, record: n }) {
|
|
6400
|
-
let r = t ?
|
|
6433
|
+
let r = t ? lv : dv, i = await r({
|
|
6401
6434
|
type: "1",
|
|
6402
6435
|
orgId: n?.[Z.value]
|
|
6403
6436
|
}, $(e));
|
|
6404
6437
|
i.success && ze.success(t ? "收藏成功" : "取消收藏成功");
|
|
6405
6438
|
},
|
|
6406
6439
|
async groups({ search: e, current: t, pageSize: n }) {
|
|
6407
|
-
let r = await
|
|
6440
|
+
let r = await x_({
|
|
6408
6441
|
type: "1",
|
|
6409
6442
|
name: e,
|
|
6410
6443
|
currentPage: t,
|
|
@@ -6420,7 +6453,7 @@ function Bv({ auth: e, filter: t }) {
|
|
|
6420
6453
|
};
|
|
6421
6454
|
},
|
|
6422
6455
|
async groupData({ node: n }) {
|
|
6423
|
-
let r = await
|
|
6456
|
+
let r = await b_({
|
|
6424
6457
|
id: n?.id,
|
|
6425
6458
|
showIsCollect: !0
|
|
6426
6459
|
}, $(e));
|
|
@@ -6433,7 +6466,7 @@ function Bv({ auth: e, filter: t }) {
|
|
|
6433
6466
|
})).filter(t) ?? [];
|
|
6434
6467
|
},
|
|
6435
6468
|
async orgTree({ node: n }) {
|
|
6436
|
-
let r = await
|
|
6469
|
+
let r = await Bv({
|
|
6437
6470
|
parentId: n?.orgId,
|
|
6438
6471
|
enable: !0,
|
|
6439
6472
|
showFullName: !0,
|
|
@@ -6448,7 +6481,7 @@ function Bv({ auth: e, filter: t }) {
|
|
|
6448
6481
|
})).filter(t) ?? [];
|
|
6449
6482
|
},
|
|
6450
6483
|
async orgChildren({ node: n }) {
|
|
6451
|
-
let r = await
|
|
6484
|
+
let r = await Uv({ parentId: n?.orgId }, $(e));
|
|
6452
6485
|
return r.data?.map((e) => ({
|
|
6453
6486
|
...e,
|
|
6454
6487
|
[Z.value]: e.id,
|
|
@@ -6458,7 +6491,7 @@ function Bv({ auth: e, filter: t }) {
|
|
|
6458
6491
|
})).filter(t) ?? [];
|
|
6459
6492
|
},
|
|
6460
6493
|
async orgList({ search: n, current: r, pageSize: i }) {
|
|
6461
|
-
let a = await
|
|
6494
|
+
let a = await Vv({
|
|
6462
6495
|
keyWord: n,
|
|
6463
6496
|
currentPage: r,
|
|
6464
6497
|
pageSize: i,
|
|
@@ -6476,23 +6509,23 @@ function Bv({ auth: e, filter: t }) {
|
|
|
6476
6509
|
}
|
|
6477
6510
|
};
|
|
6478
6511
|
}
|
|
6479
|
-
function
|
|
6512
|
+
function Yv({ auth: e, filter: t }) {
|
|
6480
6513
|
return {
|
|
6481
6514
|
async getSelectedData(t) {
|
|
6482
|
-
let n = await
|
|
6515
|
+
let n = await iv(t.map((e) => ({
|
|
6483
6516
|
orgId: e.orgId,
|
|
6484
6517
|
userId: e.userId
|
|
6485
6518
|
})), $(e));
|
|
6486
6519
|
return n?.data?.map((e) => ({
|
|
6487
6520
|
...e,
|
|
6488
|
-
[Q.value]:
|
|
6521
|
+
[Q.value]: Kv(e?.orgId, e.id),
|
|
6489
6522
|
[Q.label]: e.realName,
|
|
6490
6523
|
[Q.info]: e.fullOrgName
|
|
6491
6524
|
})) ?? [];
|
|
6492
6525
|
},
|
|
6493
6526
|
async addRecentlyUsed(t) {
|
|
6494
|
-
await
|
|
6495
|
-
let t =
|
|
6527
|
+
await fv(t.map((e) => {
|
|
6528
|
+
let t = qv(e[Q.value]);
|
|
6496
6529
|
return {
|
|
6497
6530
|
type: "2",
|
|
6498
6531
|
orgId: t.orgId,
|
|
@@ -6502,7 +6535,7 @@ function Vv({ auth: e, filter: t }) {
|
|
|
6502
6535
|
}), $(e));
|
|
6503
6536
|
},
|
|
6504
6537
|
async recentlyUsed({ search: t, current: n }) {
|
|
6505
|
-
let r = await
|
|
6538
|
+
let r = await pv({
|
|
6506
6539
|
type: "2",
|
|
6507
6540
|
userName: t,
|
|
6508
6541
|
currentPage: n,
|
|
@@ -6513,14 +6546,14 @@ function Vv({ auth: e, filter: t }) {
|
|
|
6513
6546
|
total: 20,
|
|
6514
6547
|
data: r.data?.records?.map((e) => ({
|
|
6515
6548
|
...e,
|
|
6516
|
-
[Q.value]:
|
|
6549
|
+
[Q.value]: Kv(e.orgId, e.userId),
|
|
6517
6550
|
[Q.label]: e.userName,
|
|
6518
6551
|
[Q.info]: e.fullOrgName
|
|
6519
6552
|
})) ?? []
|
|
6520
6553
|
};
|
|
6521
6554
|
},
|
|
6522
6555
|
async favorites({ search: t, current: n, pageSize: r }) {
|
|
6523
|
-
let i = await
|
|
6556
|
+
let i = await uv({
|
|
6524
6557
|
type: "2",
|
|
6525
6558
|
userName: t,
|
|
6526
6559
|
currentPage: n,
|
|
@@ -6530,14 +6563,14 @@ function Vv({ auth: e, filter: t }) {
|
|
|
6530
6563
|
total: i.data?.total ?? 0,
|
|
6531
6564
|
data: i.data?.records?.map((e) => ({
|
|
6532
6565
|
...e,
|
|
6533
|
-
[Q.value]:
|
|
6566
|
+
[Q.value]: Kv(e.orgId, e.userId),
|
|
6534
6567
|
[Q.label]: e.userName,
|
|
6535
6568
|
[Q.info]: e.fullOrgName
|
|
6536
6569
|
})) ?? []
|
|
6537
6570
|
};
|
|
6538
6571
|
},
|
|
6539
6572
|
async favoriteToggle({ favorite: t, record: n }) {
|
|
6540
|
-
let r = t ?
|
|
6573
|
+
let r = t ? lv : dv, i = qv(n?.[Q.value]), a = await r({
|
|
6541
6574
|
type: "2",
|
|
6542
6575
|
orgId: i.orgId,
|
|
6543
6576
|
userId: i.userId
|
|
@@ -6545,7 +6578,7 @@ function Vv({ auth: e, filter: t }) {
|
|
|
6545
6578
|
a.success && ze.success(t ? "收藏成功" : "取消收藏成功");
|
|
6546
6579
|
},
|
|
6547
6580
|
async groups({ search: t, current: n, pageSize: r }) {
|
|
6548
|
-
let i = await
|
|
6581
|
+
let i = await x_({
|
|
6549
6582
|
type: "2",
|
|
6550
6583
|
name: t,
|
|
6551
6584
|
currentPage: n,
|
|
@@ -6561,20 +6594,20 @@ function Vv({ auth: e, filter: t }) {
|
|
|
6561
6594
|
};
|
|
6562
6595
|
},
|
|
6563
6596
|
async groupData({ node: n }) {
|
|
6564
|
-
let r = await
|
|
6597
|
+
let r = await b_({
|
|
6565
6598
|
id: n?.id,
|
|
6566
6599
|
showIsCollect: !0
|
|
6567
6600
|
}, $(e));
|
|
6568
6601
|
return r.data?.pubGroupMemberList?.map((e) => ({
|
|
6569
6602
|
...e,
|
|
6570
|
-
[Q.value]:
|
|
6603
|
+
[Q.value]: Kv(e.orgId, e.userId),
|
|
6571
6604
|
[Q.label]: e.userName,
|
|
6572
6605
|
[Q.info]: e.fullOrgName,
|
|
6573
6606
|
isLeaf: !0
|
|
6574
6607
|
})).filter(t) ?? [];
|
|
6575
6608
|
},
|
|
6576
6609
|
async userList({ orgId: n, search: r, current: i, pageSize: a }) {
|
|
6577
|
-
let o = await
|
|
6610
|
+
let o = await ov({
|
|
6578
6611
|
orgId: n,
|
|
6579
6612
|
realName: r,
|
|
6580
6613
|
currentPage: i,
|
|
@@ -6586,7 +6619,7 @@ function Vv({ auth: e, filter: t }) {
|
|
|
6586
6619
|
total: o.data?.total ?? 0,
|
|
6587
6620
|
data: o.data?.records?.map((e) => ({
|
|
6588
6621
|
...e,
|
|
6589
|
-
[Q.value]:
|
|
6622
|
+
[Q.value]: Kv(e.orgId, e.userId),
|
|
6590
6623
|
[Q.label]: e.userName,
|
|
6591
6624
|
[Q.info]: e.fullOrgName
|
|
6592
6625
|
})).filter(t) ?? []
|
|
@@ -6594,7 +6627,7 @@ function Vv({ auth: e, filter: t }) {
|
|
|
6594
6627
|
}
|
|
6595
6628
|
};
|
|
6596
6629
|
}
|
|
6597
|
-
var
|
|
6630
|
+
var Xv = /* @__PURE__ */ y({
|
|
6598
6631
|
name: "OrgSelector",
|
|
6599
6632
|
__name: "OrgSelector",
|
|
6600
6633
|
props: /* @__PURE__ */ ie({
|
|
@@ -6641,12 +6674,12 @@ var Hv = /* @__PURE__ */ y({
|
|
|
6641
6674
|
emits: ["update:open", "update:modelValue"],
|
|
6642
6675
|
setup(e, { expose: t }) {
|
|
6643
6676
|
let n = e, r = _e(), i = {
|
|
6644
|
-
...
|
|
6677
|
+
...Jv({
|
|
6645
6678
|
auth: n.auth,
|
|
6646
6679
|
filter: n.filter
|
|
6647
6680
|
}),
|
|
6648
6681
|
...n.apis
|
|
6649
|
-
}, a = ye(e, "open"), o = ye(e, "modelValue"), s = k([]), c =
|
|
6682
|
+
}, a = ye(e, "open"), o = ye(e, "modelValue"), s = k([]), c = /* @__PURE__ */ ph(a), { onFieldChange: l } = je.useInjectFormItemContext();
|
|
6650
6683
|
function u() {
|
|
6651
6684
|
c(!0);
|
|
6652
6685
|
}
|
|
@@ -6683,7 +6716,7 @@ var Hv = /* @__PURE__ */ y({
|
|
|
6683
6716
|
apis: i,
|
|
6684
6717
|
"field-names": F(Z)
|
|
6685
6718
|
}, {
|
|
6686
|
-
default: L(() => [_(F(
|
|
6719
|
+
default: L(() => [_(F(v_), {
|
|
6687
6720
|
modelValue: F(s),
|
|
6688
6721
|
"onUpdate:modelValue": t[1] ||= (e) => ne(s) ? s.value = e : null,
|
|
6689
6722
|
"default-tab": "OrgTree",
|
|
@@ -6701,7 +6734,7 @@ var Hv = /* @__PURE__ */ y({
|
|
|
6701
6734
|
_: 1
|
|
6702
6735
|
}, 16, ["open", "title"])]));
|
|
6703
6736
|
}
|
|
6704
|
-
}),
|
|
6737
|
+
}), Zv = Xv, Qv = /* @__PURE__ */ y({
|
|
6705
6738
|
name: "UserSelector",
|
|
6706
6739
|
__name: "UserSelector",
|
|
6707
6740
|
props: /* @__PURE__ */ ie({
|
|
@@ -6752,18 +6785,18 @@ var Hv = /* @__PURE__ */ y({
|
|
|
6752
6785
|
emits: ["update:open", "update:modelValue"],
|
|
6753
6786
|
setup(e, { expose: t }) {
|
|
6754
6787
|
let n = e, r = _e(), i = {
|
|
6755
|
-
...
|
|
6788
|
+
...Jv({
|
|
6756
6789
|
auth: n.auth,
|
|
6757
6790
|
filter: n.filterOrg
|
|
6758
6791
|
}),
|
|
6759
6792
|
...Wd(n.apis, ["orgTree", "orgList"])
|
|
6760
6793
|
}, a = {
|
|
6761
|
-
...
|
|
6794
|
+
...Yv({
|
|
6762
6795
|
auth: n.auth,
|
|
6763
6796
|
filter: n.filterUser
|
|
6764
6797
|
}),
|
|
6765
6798
|
...Id(n.apis, ["orgTree", "orgList"])
|
|
6766
|
-
}, o = ye(e, "open"), s = ye(e, "modelValue"), c = k([]), l =
|
|
6799
|
+
}, o = ye(e, "open"), s = ye(e, "modelValue"), c = k([]), l = /* @__PURE__ */ ph(o), { onFieldChange: u } = je.useInjectFormItemContext();
|
|
6767
6800
|
function d() {
|
|
6768
6801
|
l(!0);
|
|
6769
6802
|
}
|
|
@@ -6782,7 +6815,7 @@ var Hv = /* @__PURE__ */ y({
|
|
|
6782
6815
|
}, { immediate: !0 });
|
|
6783
6816
|
function f() {
|
|
6784
6817
|
let e = c.value?.map((e) => {
|
|
6785
|
-
let t =
|
|
6818
|
+
let t = qv(e[Q.value]);
|
|
6786
6819
|
return {
|
|
6787
6820
|
...e,
|
|
6788
6821
|
orgId: t.orgId,
|
|
@@ -6812,7 +6845,7 @@ var Hv = /* @__PURE__ */ y({
|
|
|
6812
6845
|
apis: a,
|
|
6813
6846
|
"field-names": F(Q)
|
|
6814
6847
|
}, {
|
|
6815
|
-
default: L(() => [_(F(
|
|
6848
|
+
default: L(() => [_(F(v_), {
|
|
6816
6849
|
modelValue: F(c),
|
|
6817
6850
|
"onUpdate:modelValue": t[1] ||= (e) => ne(c) ? c.value = e : null,
|
|
6818
6851
|
"default-tab": "TreeUserList",
|
|
@@ -6832,14 +6865,14 @@ var Hv = /* @__PURE__ */ y({
|
|
|
6832
6865
|
_: 1
|
|
6833
6866
|
}, 16, ["open", "title"])]));
|
|
6834
6867
|
}
|
|
6835
|
-
}),
|
|
6836
|
-
function
|
|
6837
|
-
|
|
6868
|
+
}), $v = Qv;
|
|
6869
|
+
function ey(e) {
|
|
6870
|
+
ny(Zv, e);
|
|
6838
6871
|
}
|
|
6839
|
-
function
|
|
6840
|
-
|
|
6872
|
+
function ty(e) {
|
|
6873
|
+
ny($v, e);
|
|
6841
6874
|
}
|
|
6842
|
-
function
|
|
6875
|
+
function ny(e, t) {
|
|
6843
6876
|
let n = d({ render() {
|
|
6844
6877
|
return C(e, {
|
|
6845
6878
|
...t,
|
|
@@ -6859,7 +6892,7 @@ function Jv(e, t) {
|
|
|
6859
6892
|
}, 500);
|
|
6860
6893
|
}
|
|
6861
6894
|
}
|
|
6862
|
-
function
|
|
6895
|
+
function ry(e) {
|
|
6863
6896
|
let { pages: i, sort: a, id: o = "RBAC", request: s } = e;
|
|
6864
6897
|
if (Ue.set({ request: s }), globalThis.__PUBINFO__.rbacState = { request: s }, n(o, Ve.icons), i === "dynamic") r(o, Ve.pages);
|
|
6865
6898
|
else {
|
|
@@ -6871,4 +6904,4 @@ function Yv(e) {
|
|
|
6871
6904
|
}
|
|
6872
6905
|
return { name: "pubinfo:rbac" };
|
|
6873
6906
|
}
|
|
6874
|
-
export {
|
|
6907
|
+
export { L_ as $, hv as A, vv as B, yv as C, gv as D, _v as E, tv as F, av as G, ev as H, nv as I, sv as J, cv as K, rv as L, J_ as M, q_ as N, Y_ as O, Zv as OrgSelector, X_ as P, Z_ as Q, Q_ as R, $_ as S, V_ as T, H_ as U, $v as UserSelector, U_ as V, W_ as W, G_ as X, K_ as Y, F_ as Z, I_ as _, P_ as a1, R_ as a2, z_ as a3, B_ as a4, k_ as a5, A_ as a6, M_ as a7, j_ as a8, N_ as a9, T_ as aa, E_ as ab, D_ as ac, w_ as ad, O_ as ae, y_ as af, b_ as ag, x_ as ah, S_ as ai, C_ as aj, X as ak, fh as al, ph as am, xl as an, Ws as ao, Ei as ap, mi as aq, jr as ar, Sr as as, fr as at, ar as au, V as av, Rv as b, zv as c, Bv as d, Wv as e, Lv as f, Vv as g, Gv as h, Pv as i, Fv as j, Iv as k, Av as l, jv as m, kv as n, Mv as o, Nv as p, xv as q, Sv as r, ry as rbac, Cv as s, ey as selectOrg, ty as selectUser, wv as t, Tv as u, Ev as v, Ov as w, bv as x, Dv as y, mv as z };
|