@pubinfo-pr/module-rbac 0.203.4 → 0.203.5
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-A7uGTuHW.js → ComponentSelect-CYmAgdm3.js} +998 -963
- package/dist/DynamicRoutesForm-CMF3oh8h.js +171 -0
- package/dist/HCheckList-CAhQwX7m.js +39 -0
- package/dist/HoverCard-B-uU48hF.js +46 -0
- package/dist/IconSelect-CvxGRN_O.js +719 -0
- package/dist/ImportExport-CzZssb7_.js +345 -0
- package/dist/ImportExport-b1SnWRLj.js +6 -0
- package/dist/LayoutForm-Bpdyi_2o.js +129 -0
- package/dist/MetaForm-ZLzLz68d.js +39037 -0
- package/dist/OrgAndPosition-B0RE1Vc_.js +187 -0
- package/dist/OrgSelector-C2rPIonI.js +4877 -0
- package/dist/OrgSelector.css +1 -0
- package/dist/ResourceEdit-9fvxbd0K.js +383 -0
- package/dist/ResourceEdit-BMqfJ3aQ.js +13 -0
- package/dist/ResourceRelation-BrluMHdX.js +81 -0
- package/dist/ResourceRelation-IJvXnlpo.js +95 -0
- package/dist/RoleRelation-DuRuQG08.js +82 -0
- package/dist/RoleSelector-BTNYbcC6.js +282 -0
- package/dist/TenantEdit-Df3gZKLA.js +249 -0
- package/dist/UserAuthorization-DX7jNDDe.js +237 -0
- package/dist/UserEdit-BLb0n7WM.js +322 -0
- package/dist/_baseClone-C7vkGgsW.js +138 -0
- package/dist/_initCloneObject-r-eWKqzl.js +531 -0
- package/dist/add-child-DPb_m2by.js +4 -0
- package/dist/{animation_item-DBOz2rcX.js → animation_item-Coe-B0jQ.js} +24 -19
- package/dist/assist-BRMYD-oT.js +89 -0
- package/dist/authority-B9wtmsQd.js +4 -0
- package/dist/authorize-DxrutyIG.js +4 -0
- package/dist/blackWhiteList-d6TVsK48.js +214 -0
- package/dist/blacklist-disable-BKSw91qq.js +4 -0
- package/dist/blacklist-enable-CIB1fOHT.js +4 -0
- package/dist/breadcrumb_setting-DMbvWP5t.js +111 -0
- package/dist/browser-chrome-CM60RcrG.js +4 -0
- package/dist/browser-edge-4LBRzooM.js +4 -0
- package/dist/browser-ie-BF-wqbf6.js +4 -0
- package/dist/browser-other-iXJH-9iL.js +4 -0
- package/dist/browser-safari-CIpt0yPc.js +4 -0
- package/dist/browserType-Bik20-72.js +28 -0
- package/dist/chunk-WQLz0Won.js +20 -0
- package/dist/cloneDeep-REaxTPsZ.js +8 -0
- package/dist/createAndEditDataPermission-OunqmBu_.js +438 -0
- package/dist/data-permission-2pzeFLxP.js +159 -0
- package/dist/{dayjs.min-Cb7gQFd4.js → dayjs.min-CJunOGCc.js} +5 -3
- package/dist/dictionary-DGqlAhRk.js +182 -0
- package/dist/dist-DxAYQq3U.js +21 -0
- package/dist/drawerBlackWhiteList-VxyjaBkA.js +123 -0
- package/dist/drawerDictionary-DhAB-LV9.js +129 -0
- package/dist/drawerDictionaryItem-DYsJzZ2f.js +141 -0
- package/dist/drawerGroup-CTO8Lmbb.js +189 -0
- package/dist/drawerOrganization-DWhTc1fB.js +253 -0
- package/dist/drawerPosition-BmM9mLlP.js +169 -0
- package/dist/drawerRegion-BD-xc1x2.js +189 -0
- package/dist/drawerRole-B348x40k.js +214 -0
- package/dist/drawerRole-CgAPM-0g.js +172 -0
- package/dist/drawerRole-Cjp9iDsa.js +157 -0
- package/dist/edit-Drp8yjRe.js +4 -0
- package/dist/enum-CG0P82pn.js +6 -0
- package/dist/{enum-3E_sUqRF.js → enum-CR5ztb5v2.js} +15 -14
- package/dist/enum-CYCebJeC.js +62 -0
- package/dist/enum-DS4SGhiF.js +6 -0
- package/dist/enum-zdKA3Jy-.js +23 -0
- package/dist/group-C6Rj3K5I.js +178 -0
- package/dist/icard-BULUUV5m.js +4 -0
- package/dist/icon_animation-DuEY1FMm.js +4 -0
- package/dist/icon_breadcrumb-Y788iP_T.js +4 -0
- package/dist/icon_copyright-C1BER6kq.js +4 -0
- package/dist/icon_jt-ICOdrIF6.js +4 -0
- package/dist/icon_layout-D_wV9rX3.js +4 -0
- package/dist/icon_mainpage-Cz6_cxpJ.js +4 -0
- package/dist/icon_menu-y7SblUoR.js +4 -0
- package/dist/icon_page_size-BjwT656E.js +4 -0
- package/dist/icon_position_type-CPxcDgmM.js +4 -0
- package/dist/icon_safe_manage-CoqVRBLl.js +4 -0
- package/dist/icon_screen_scale-DURlkq3C.js +4 -0
- package/dist/icon_system_manage-BLXs2CQg.js +4 -0
- package/dist/icon_tabbar-_0QWhSBV.js +4 -0
- package/dist/icon_toolbar-BXpfu0iq.js +4 -0
- package/dist/icon_topbar-DrwvB8Jw.js +4 -0
- package/dist/icon_watermark-DwNqjAiA.js +4 -0
- package/dist/index.css +1 -1
- package/dist/index.js +588 -6776
- package/dist/isEmpty-2rx9iUQv.js +14 -0
- package/dist/isEqual-CNeQLaCM.js +474 -0
- package/dist/itemlist-BGe-z1IR.js +159 -0
- package/dist/json-asset-03f0a035.json +1 -0
- package/dist/json-asset-0ee63e7f.json +1 -0
- package/dist/json-asset-10eef4fe.json +1 -0
- package/dist/json-asset-13f452f1.json +1 -0
- package/dist/json-asset-14b7b290.json +1 -0
- package/dist/json-asset-15b8cef1.json +1 -0
- package/dist/json-asset-15f77960.json +1 -0
- package/dist/json-asset-1ae9b726.json +1 -0
- package/dist/json-asset-1b02359f.json +1 -0
- package/dist/json-asset-1ef286cd.json +1 -0
- package/dist/json-asset-23cfd18c.json +1 -0
- package/dist/json-asset-265a0a5d.json +1 -0
- package/dist/json-asset-28d57c49.json +1 -0
- package/dist/json-asset-2b54ed10.json +1 -0
- package/dist/json-asset-2bb6f642.json +1 -0
- package/dist/json-asset-2cdc07bd.json +1 -0
- package/dist/json-asset-31c58607.json +1 -0
- package/dist/json-asset-32884f23.json +1 -0
- package/dist/json-asset-32fca43a.json +1 -0
- package/dist/json-asset-3a75445b.json +1 -0
- package/dist/json-asset-3f27d67c.json +1 -0
- package/dist/json-asset-4189453f.json +1 -0
- package/dist/json-asset-4702b37c.json +1 -0
- package/dist/json-asset-520a5c68.json +1 -0
- package/dist/json-asset-56bea508.json +1 -0
- package/dist/json-asset-57c732a3.json +1 -0
- package/dist/json-asset-5be4a28f.json +1 -0
- package/dist/json-asset-5e6d7cfa.json +1 -0
- package/dist/json-asset-64e176c9.json +1 -0
- package/dist/json-asset-6583dca6.json +1 -0
- package/dist/json-asset-66c640c6.json +1 -0
- package/dist/json-asset-68393156.json +1 -0
- package/dist/json-asset-688465aa.json +1 -0
- package/dist/json-asset-6bf334f4.json +1 -0
- package/dist/json-asset-7b4f72ce.json +1 -0
- package/dist/json-asset-837ec087.json +1 -0
- package/dist/json-asset-838ac1ba.json +1 -0
- package/dist/json-asset-8465c2cf.json +1 -0
- package/dist/json-asset-9e9f04a4.json +1 -0
- package/dist/json-asset-a13964cb.json +1 -0
- package/dist/json-asset-ab93a057.json +1 -0
- package/dist/json-asset-abe308fc.json +1 -0
- package/dist/json-asset-b24f2cd3.json +1 -0
- package/dist/json-asset-bf00eaed.json +1 -0
- package/dist/json-asset-cb22efd7.json +1 -0
- package/dist/json-asset-cb953f20.json +1 -0
- package/dist/json-asset-cc209e34.json +1 -0
- package/dist/json-asset-cfdffceb.json +1 -0
- package/dist/json-asset-d33c0299.json +1 -0
- package/dist/json-asset-d430c8ca.json +1 -0
- package/dist/json-asset-d8cfa560.json +1 -0
- package/dist/json-asset-da91beb6.json +1 -0
- package/dist/json-asset-e2bdf85c.json +1 -0
- package/dist/json-asset-e34ad826.json +1 -0
- package/dist/json-asset-e80720aa.json +1 -0
- package/dist/json-asset-e894bc92.json +1 -0
- package/dist/json-asset-f28020f2.json +1 -0
- package/dist/json-asset-f71ebbf4.json +1 -0
- package/dist/json-asset-fb1f4917.json +1 -0
- package/dist/json-asset-ff2e97c4.json +1 -0
- package/dist/layout_setting-Cds3TCHc.js +71 -0
- package/dist/log-DOMU9MyH.js +18 -0
- package/dist/log-center-BrGlNhMd.js +4 -0
- package/dist/loginHistoryDetail-Coba_ajy.js +80 -0
- package/dist/{login_history-BiwaLpxA.js → login_history-CrXkEsHb.js} +38 -35
- package/dist/menu_setting-Br5dOEUk.js +158 -0
- package/dist/not-data-C-MacYF3.js +5 -0
- package/dist/operateHistoryDetail-DfDQL5BF.js +92 -0
- package/dist/{operate_history-sPd9IHMV.js → operate_history-BtHgPhmF.js} +38 -35
- package/dist/org-main-BRMBumDm.js +4 -0
- package/dist/org-unmain-0BHnrNdD.js +4 -0
- package/dist/organization-BbFERZ1l.js +15411 -0
- package/dist/other_setting-D92SlFvl.js +216 -0
- package/dist/page_animation_setting-Cy2R0vZy.js +111 -0
- package/dist/page_w_setting-DryWrqcx.js +66 -0
- package/dist/position-B1bqGly6.js +169 -0
- package/dist/rbac-B59CVHDt.js +460 -0
- package/dist/region-B_n1KXMG.js +182 -0
- package/dist/remove-BTME2Fhs.js +4 -0
- package/dist/request-7X2hpUru.js +5 -0
- package/dist/resource-CPNNd1l0.js +275 -0
- package/dist/resource-app-D8to3Lkn.js +4 -0
- package/dist/resource-btn-Cz-A_EQF.js +4 -0
- package/dist/resource-dynamic-BUqWxUiU.js +4 -0
- package/dist/resource-index-D2roT002.js +4 -0
- package/dist/resource-menu-BRER68rK.js +4 -0
- package/dist/resource-micro-Hyucl9de.js +4 -0
- package/dist/resource-nonmenu-7FcPEpHv.js +4 -0
- package/dist/role-CMd7WDRC.js +195 -0
- package/dist/role_group-DHh2s911.js +174 -0
- package/dist/safe_setting-CuTBmUve.js +225 -0
- package/dist/setItem-BwXZ5Uqx.js +4 -0
- package/dist/setItem-DlhIkIgh.js +78 -0
- package/dist/setting-manage-UHelpLrr.js +4 -0
- package/dist/stores-C-zbXsms.js +2 -0
- package/dist/tabbar_setting-CjW9LGPp.js +142 -0
- package/dist/tenant-B_vgufMG.js +180 -0
- package/dist/theme-check-mark-DRzx4sTs.js +4 -0
- package/dist/theme-title-BRvQ_qPg.js +4 -0
- package/dist/theme_setting-DMP0_nZ1.js +114 -0
- package/dist/toolbar_setting-ClxxvA7R.js +143 -0
- package/dist/useAppAndResource-D6WnpUPR.js +55 -0
- package/dist/user-BhytPqnx.js +348 -0
- package/dist/{vanilla-picker-Byb6q187.js → vanilla-picker-2HFham9c.js} +61 -59
- package/dist/view-Cridj7u2.js +4 -0
- package/dist/view-lBxqXfPW.js +114 -0
- package/dist/watermark_setting-b3vBYWwY.js +194 -0
- package/dist/zddata-CnvPWtIW.js +4 -0
- package/dist/zy_checked-C25HQlnr.js +4 -0
- package/dist/zy_default-B7RKtyqy.js +4 -0
- package/package.json +3 -3
- package/dist/DynamicRoutesForm-DSzy_bh5.js +0 -169
- package/dist/HCheckList-ODQHidN8.js +0 -37
- package/dist/HoverCard-CmJCoa2b.js +0 -44
- package/dist/IconSelect-DouEg3xY.js +0 -717
- package/dist/ImportExport-DisdLoY8.js +0 -342
- package/dist/LayoutForm-Bdfs5WeK.js +0 -125
- package/dist/MetaForm-CcDwS8vh.js +0 -38902
- package/dist/OrgAndPosition-jDX7m0HD.js +0 -184
- package/dist/ResourceEdit-0BYZRye_.js +0 -381
- package/dist/ResourceRelation-CU-QpUhP.js +0 -76
- package/dist/ResourceRelation-roz0a8Td.js +0 -91
- package/dist/RoleRelation-BQQFaum0.js +0 -79
- package/dist/RoleSelector-gkar_UGG.js +0 -275
- package/dist/TenantEdit-BsahDUlf.js +0 -246
- package/dist/UserAuthorization-2Fl4IGw7.js +0 -233
- package/dist/UserEdit-CX3Qau8T.js +0 -320
- package/dist/add-child-CFHHkjfg.js +0 -2
- package/dist/authority-L7SfiMdP.js +0 -2
- package/dist/authorize-qMpV_BXT.js +0 -2
- package/dist/blackWhiteList-DbG7JH8n.js +0 -211
- package/dist/blacklist-disable-BT6Xx-JG.js +0 -2
- package/dist/blacklist-enable-CJ6DK_V2.js +0 -2
- package/dist/breadcrumb_setting-Dx2Li6xt.js +0 -108
- package/dist/browser-chrome-DuAegVCe.js +0 -2
- package/dist/browser-edge-DzkWdXRd.js +0 -2
- package/dist/browser-ie-DZ9g_MXr.js +0 -2
- package/dist/browser-other-BmkifoYq.js +0 -2
- package/dist/browser-safari-CXrCuF2a.js +0 -2
- package/dist/browserType-B8A1Osvk.js +0 -26
- package/dist/chunk-DiMWNkAf.js +0 -18
- package/dist/cloneDeep-CSOSavu3.js +0 -6
- package/dist/createAndEditDataPermission-8_KNLzJT.js +0 -431
- package/dist/data-permission-LpuDLDm0.js +0 -152
- package/dist/dictionary-CEaxjqZe.js +0 -179
- package/dist/drawerBlackWhiteList-DXLdWurZ.js +0 -120
- package/dist/drawerDictionary-DYJTAZr6.js +0 -126
- package/dist/drawerDictionaryItem-BChXD2-q.js +0 -138
- package/dist/drawerGroup-CdnZkZxi.js +0 -185
- package/dist/drawerOrganization-CwtSFUj0.js +0 -247
- package/dist/drawerPosition-CfyfeQCN.js +0 -166
- package/dist/drawerRegion-DAwY_29K.js +0 -183
- package/dist/drawerRole-B7uCfHk-.js +0 -154
- package/dist/drawerRole-DK6DrinO.js +0 -209
- package/dist/drawerRole-DrzMHL0O.js +0 -167
- package/dist/edit-fZ7h_z_Z.js +0 -2
- package/dist/enum-3mYayxff.js +0 -61
- package/dist/enum-Cr7uWnB2.js +0 -23
- package/dist/enum-D2UEJsrC.js +0 -4
- package/dist/group-CaOhkh72.js +0 -172
- package/dist/icard-H-d9Pip-.js +0 -2
- package/dist/icon_animation-BCdRKkE5.js +0 -2
- package/dist/icon_breadcrumb-BR6LK8hP.js +0 -2
- package/dist/icon_copyright-BfWn1s6t.js +0 -2
- package/dist/icon_jt-DOMTq9De.js +0 -2
- package/dist/icon_layout-DKqAThpM.js +0 -2
- package/dist/icon_mainpage-CXB9JMGv.js +0 -2
- package/dist/icon_menu-BYQtWV-Q.js +0 -2
- package/dist/icon_page_size-r-z4oHWp.js +0 -2
- package/dist/icon_position_type-JDFdklRh.js +0 -2
- package/dist/icon_safe_manage-BDTIOduB.js +0 -2
- package/dist/icon_screen_scale-vEaAdr9S.js +0 -2
- package/dist/icon_system_manage-CkhQtieE.js +0 -2
- package/dist/icon_tabbar-DZNj-h-p.js +0 -2
- package/dist/icon_toolbar-BBYhGmEf.js +0 -2
- package/dist/icon_topbar-Bc379eaS.js +0 -2
- package/dist/icon_watermark-CTP8r-e2.js +0 -2
- package/dist/isEmpty-BjEzPyCa.js +0 -12
- package/dist/itemlist-CFwRUV2Y.js +0 -156
- package/dist/layout_setting-79srmFgJ.js +0 -68
- package/dist/log-BYris9iT.js +0 -14
- package/dist/log-center-CGT-BGAN.js +0 -2
- package/dist/loginHistoryDetail-CZnfmbbM.js +0 -78
- package/dist/menu_setting-ChueWHs4.js +0 -155
- package/dist/not-data-Bml86wdH.js +0 -3
- package/dist/operateHistoryDetail-HId-EZzy.js +0 -90
- package/dist/org-main-DnftBa38.js +0 -2
- package/dist/org-unmain-ByMarqFw.js +0 -2
- package/dist/organization-Dv3FbKke.js +0 -15316
- package/dist/other_setting-BEV_UK0g.js +0 -213
- package/dist/page_animation_setting-Cp5OnFpd.js +0 -108
- package/dist/page_w_setting-Q--ct16C.js +0 -63
- package/dist/position-CCZ2MSMP.js +0 -166
- package/dist/region-D3mjqB8H.js +0 -179
- package/dist/remove-DfZZBE2T.js +0 -2
- package/dist/resource-DaQ7CvM_.js +0 -271
- package/dist/resource-app-QSLZ7Hts.js +0 -2
- package/dist/resource-btn-BcB4xMgR.js +0 -2
- package/dist/resource-dynamic-D69oEbaO.js +0 -2
- package/dist/resource-index-BIHr3PZY.js +0 -2
- package/dist/resource-menu-0JSNn7S7.js +0 -2
- package/dist/resource-micro-CcX_pmaJ.js +0 -2
- package/dist/resource-nonmenu-DFItasMT.js +0 -2
- package/dist/role-4UgEw3nH.js +0 -192
- package/dist/role_group-hkRlCnyl.js +0 -171
- package/dist/safe_setting-4fv3qNRZ.js +0 -221
- package/dist/setItem-Vkcwkj-O.js +0 -77
- package/dist/setting-manage-C9whamLP.js +0 -2
- package/dist/stores-DPQF8JRt.js +0 -2
- package/dist/tabbar_setting-kbuTvrLB.js +0 -139
- package/dist/tenant-lWfGw2u1.js +0 -177
- package/dist/theme-check-mark-DG4oWCQN.js +0 -2
- package/dist/theme-title-BCYnl2jK.js +0 -2
- package/dist/theme_setting-CEb7UYQO.js +0 -111
- package/dist/toolbar_setting-BG-k2UFc.js +0 -140
- package/dist/useAppAndResource-B7FmNfKG.js +0 -52
- package/dist/user-BkUpcQC8.js +0 -339
- package/dist/view-Bnu34EJT.js +0 -2
- package/dist/watermark_setting-Cl2EtPAa.js +0 -191
- package/dist/zddata-Ceyga3_2.js +0 -2
- package/dist/zy_checked-DvD7k9F8.js +0 -2
- package/dist/zy_default-DJ2tB3Fo.js +0 -2
|
@@ -1,342 +0,0 @@
|
|
|
1
|
-
import { o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-DiMWNkAf.js";
|
|
2
|
-
import { G as postRbacResourceBackupExportResourceData, H as getRbacResourceBackupDetail, K as postRbacResourceBackupImportResourceData, Lt as useToggle, U as getRbacResourceBackupList, V as deleteRbacResourceBackupDeleteResourceBackup, W as getRbacResourceBackupRestore } from "./index.js";
|
|
3
|
-
import { i as resourceOptions, n as RESOURCE_COLOR } from "./enum-3E_sUqRF.js";
|
|
4
|
-
import { t as require_dayjs_min } from "./dayjs.min-Cb7gQFd4.js";
|
|
5
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, normalizeStyle, openBlock, reactive, ref, renderList, resolveComponent, toDisplayString, unref, vShow, withCtx, withDirectives } from "vue";
|
|
6
|
-
import { ClockCircleOutlined, CloudDownloadOutlined, CloudUploadOutlined, DeleteOutlined, UndoOutlined } from "@ant-design/icons-vue";
|
|
7
|
-
import { Upload, message, theme } from "ant-design-vue";
|
|
8
|
-
import { Button, Card as Card$1, Col, Empty as Empty$1, Modal as Modal$1, Popconfirm, Row, Space as Space$1, Spin as Spin$1, Tag as Tag$1, Tree as Tree$1, Upload as Upload$1 } from "ant-design-vue/es";
|
|
9
|
-
var require_FileSaver_min = /* @__PURE__ */ __commonJSMin(((e, t) => {
|
|
10
|
-
(function(t, n) {
|
|
11
|
-
typeof define == "function" && define.amd ? define([], n) : e === void 0 ? (n(), t.FileSaver = { exports: {} }.exports) : n();
|
|
12
|
-
})(e, function() {
|
|
13
|
-
function e(e, t) {
|
|
14
|
-
return t === void 0 ? t = { autoBom: !1 } : typeof t != "object" && (console.warn("Deprecated: Expected third argument to be a object"), t = { autoBom: !t }), t.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["", e], { type: e.type }) : e;
|
|
15
|
-
}
|
|
16
|
-
function n(e, t, n) {
|
|
17
|
-
var r = new XMLHttpRequest();
|
|
18
|
-
r.open("GET", e), r.responseType = "blob", r.onload = function() {
|
|
19
|
-
s(r.response, t, n);
|
|
20
|
-
}, r.onerror = function() {
|
|
21
|
-
console.error("could not download file");
|
|
22
|
-
}, r.send();
|
|
23
|
-
}
|
|
24
|
-
function r(e) {
|
|
25
|
-
var t = new XMLHttpRequest();
|
|
26
|
-
t.open("HEAD", e, !1);
|
|
27
|
-
try {
|
|
28
|
-
t.send();
|
|
29
|
-
} catch {}
|
|
30
|
-
return 200 <= t.status && 299 >= t.status;
|
|
31
|
-
}
|
|
32
|
-
function i(e) {
|
|
33
|
-
try {
|
|
34
|
-
e.dispatchEvent(new MouseEvent("click"));
|
|
35
|
-
} catch {
|
|
36
|
-
var t = document.createEvent("MouseEvents");
|
|
37
|
-
t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(t);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
var a = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : void 0, o = a.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), s = a.saveAs || (typeof window != "object" || window !== a ? function() {} : "download" in HTMLAnchorElement.prototype && !o ? function(e, t, o) {
|
|
41
|
-
var s = a.URL || a.webkitURL, c = document.createElement("a");
|
|
42
|
-
t = t || e.name || "download", c.download = t, c.rel = "noopener", typeof e == "string" ? (c.href = e, c.origin === location.origin ? i(c) : r(c.href) ? n(e, t, o) : i(c, c.target = "_blank")) : (c.href = s.createObjectURL(e), setTimeout(function() {
|
|
43
|
-
s.revokeObjectURL(c.href);
|
|
44
|
-
}, 4e4), setTimeout(function() {
|
|
45
|
-
i(c);
|
|
46
|
-
}, 0));
|
|
47
|
-
} : "msSaveOrOpenBlob" in navigator ? function(t, a, o) {
|
|
48
|
-
if (a = a || t.name || "download", typeof t != "string") navigator.msSaveOrOpenBlob(e(t, o), a);
|
|
49
|
-
else if (r(t)) n(t, a, o);
|
|
50
|
-
else {
|
|
51
|
-
var s = document.createElement("a");
|
|
52
|
-
s.href = t, s.target = "_blank", setTimeout(function() {
|
|
53
|
-
i(s);
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
} : function(e, t, r, i) {
|
|
57
|
-
if (i ||= open("", "_blank"), i && (i.document.title = i.document.body.innerText = "downloading..."), typeof e == "string") return n(e, t, r);
|
|
58
|
-
var s = e.type === "application/octet-stream", c = /constructor/i.test(a.HTMLElement) || a.safari, l = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
59
|
-
if ((l || s && c || o) && typeof FileReader < "u") {
|
|
60
|
-
var u = new FileReader();
|
|
61
|
-
u.onloadend = function() {
|
|
62
|
-
var e = u.result;
|
|
63
|
-
e = l ? e : e.replace(/^data:[^;]*;/, "data:attachment/file;"), i ? i.location.href = e : location = e, i = null;
|
|
64
|
-
}, u.readAsDataURL(e);
|
|
65
|
-
} else {
|
|
66
|
-
var d = a.URL || a.webkitURL, f = d.createObjectURL(e);
|
|
67
|
-
i ? i.location = f : location.href = f, i = null, setTimeout(function() {
|
|
68
|
-
d.revokeObjectURL(f);
|
|
69
|
-
}, 4e4);
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
a.saveAs = s.saveAs = s, t !== void 0 && (t.exports = s);
|
|
73
|
-
});
|
|
74
|
-
})), import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min(), 1), import_FileSaver_min = require_FileSaver_min(), _hoisted_1 = { class: "h-[70vh]" }, _hoisted_2 = { class: "size-full" }, _hoisted_3 = {
|
|
75
|
-
key: 0,
|
|
76
|
-
class: "flex flex-col items-center justify-center size-full"
|
|
77
|
-
}, _hoisted_4 = {
|
|
78
|
-
key: 1,
|
|
79
|
-
class: "flex flex-col items-center justify-center size-full"
|
|
80
|
-
}, _hoisted_5 = ["onClick"], _hoisted_6 = { class: "space-x-1" }, _hoisted_7 = { class: "text-sm truncate" }, ImportExport_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
81
|
-
name: "ImportExport",
|
|
82
|
-
__name: "ImportExport",
|
|
83
|
-
props: { dataSource: {} },
|
|
84
|
-
emits: ["submit"],
|
|
85
|
-
setup(e, { expose: t, emit: n }) {
|
|
86
|
-
let f = e, m = n, { token: g } = theme.useToken(), [_, v] = useToggle(!1), [y, b] = useToggle(!1), x = reactive({
|
|
87
|
-
selectedId: "",
|
|
88
|
-
list: [],
|
|
89
|
-
treeData: []
|
|
90
|
-
}), S = computed(() => x.selectedId ? [{
|
|
91
|
-
key: "current",
|
|
92
|
-
tab: "当前资源"
|
|
93
|
-
}, {
|
|
94
|
-
key: "history",
|
|
95
|
-
tab: "历史记录"
|
|
96
|
-
}] : [{
|
|
97
|
-
key: "current",
|
|
98
|
-
tab: "当前资源"
|
|
99
|
-
}]), C = ref([]), w = computed(() => f.dataSource), T = reactive({
|
|
100
|
-
list: S,
|
|
101
|
-
key: "current",
|
|
102
|
-
onTabChange(e) {
|
|
103
|
-
T.key = e;
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
function E() {
|
|
107
|
-
v(!0), T.key = "current", C.value = [], x.selectedId = "", k();
|
|
108
|
-
}
|
|
109
|
-
let [D, O] = useToggle(!1);
|
|
110
|
-
async function k() {
|
|
111
|
-
try {
|
|
112
|
-
O(!0);
|
|
113
|
-
let e = await getRbacResourceBackupList({ type: "0" });
|
|
114
|
-
e.success && (x.list = e?.data ?? []);
|
|
115
|
-
} finally {
|
|
116
|
-
O(!1);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
let [A, j] = useToggle(!1);
|
|
120
|
-
async function M(e) {
|
|
121
|
-
if (x.selectedId === e) {
|
|
122
|
-
x.selectedId = "", T.key = "current";
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
x.selectedId = e, T.key = "history";
|
|
126
|
-
try {
|
|
127
|
-
j(!0);
|
|
128
|
-
let t = await getRbacResourceBackupDetail({ id: e });
|
|
129
|
-
t.success && (x.treeData = t.data?.content ?? []);
|
|
130
|
-
} finally {
|
|
131
|
-
j(!1);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
async function N() {
|
|
135
|
-
if (C.value.length === 0) {
|
|
136
|
-
message.info("请选中你要导出的资源节点。");
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
try {
|
|
140
|
-
b(!0);
|
|
141
|
-
let e = await postRbacResourceBackupExportResourceData(C.value);
|
|
142
|
-
e.success && (F(e.data), message.success("导出成功!"));
|
|
143
|
-
} finally {
|
|
144
|
-
b(!1);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
async function P(e) {
|
|
148
|
-
try {
|
|
149
|
-
return b(!0), (await postRbacResourceBackupImportResourceData({ parentId: C.value[0] ?? "0" }, {}, e)).success && (message.success("导入成功!"), k()), Upload.LIST_IGNORE;
|
|
150
|
-
} catch {
|
|
151
|
-
return Upload.LIST_IGNORE;
|
|
152
|
-
} finally {
|
|
153
|
-
b(!1), m("submit");
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
function F(e, t = `资源数据_${(0, import_dayjs_min.default)().format("YYYYMMDDHHmmss")}.json`) {
|
|
157
|
-
let n = JSON.stringify(e, null, 2);
|
|
158
|
-
(0, import_FileSaver_min.saveAs)(new Blob([n], { type: "application/json;charset=utf-8" }), t);
|
|
159
|
-
}
|
|
160
|
-
let [I, L] = useToggle(!1);
|
|
161
|
-
async function R() {
|
|
162
|
-
try {
|
|
163
|
-
L(!0), (await getRbacResourceBackupRestore({ id: x.selectedId })).success && (message.success("恢复备份成功!"), k(), m("submit"));
|
|
164
|
-
} finally {
|
|
165
|
-
L(!1);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
let [z, B] = useToggle(!1);
|
|
169
|
-
async function V() {
|
|
170
|
-
try {
|
|
171
|
-
B(!0), (await deleteRbacResourceBackupDeleteResourceBackup({ id: x.selectedId })).success && (message.success("删除备份成功!"), k(), T.key = "current", x.selectedId = "");
|
|
172
|
-
} finally {
|
|
173
|
-
B(!1);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
return t({ open: E }), (e, t) => {
|
|
177
|
-
let n = Button, r = Upload$1, i = Space$1, a = Popconfirm, o = Tag$1, s = Tree$1, c = Spin$1, l = Card$1, f = Col, p = Empty$1, m = Row, h = Modal$1;
|
|
178
|
-
return openBlock(), createBlock(h, {
|
|
179
|
-
open: unref(_),
|
|
180
|
-
"onUpdate:open": t[5] ||= (e) => isRef(_) ? _.value = e : null,
|
|
181
|
-
title: "导入 / 导出",
|
|
182
|
-
centered: "",
|
|
183
|
-
width: 1e3,
|
|
184
|
-
"destroy-on-close": "",
|
|
185
|
-
"mask-closable": !1,
|
|
186
|
-
footer: null
|
|
187
|
-
}, {
|
|
188
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1, [createVNode(m, {
|
|
189
|
-
gutter: 8,
|
|
190
|
-
class: "h-full"
|
|
191
|
-
}, {
|
|
192
|
-
default: withCtx(() => [createVNode(f, {
|
|
193
|
-
span: "16",
|
|
194
|
-
class: "h-full"
|
|
195
|
-
}, {
|
|
196
|
-
default: withCtx(() => [createVNode(l, {
|
|
197
|
-
"head-style": {
|
|
198
|
-
marginBottom: 0,
|
|
199
|
-
padding: "0 12px"
|
|
200
|
-
},
|
|
201
|
-
"body-style": {
|
|
202
|
-
padding: "12px",
|
|
203
|
-
height: "calc(100% - 56px)",
|
|
204
|
-
overflow: "auto"
|
|
205
|
-
},
|
|
206
|
-
"tab-list": unref(T).list,
|
|
207
|
-
"active-tab-key": unref(T).key,
|
|
208
|
-
class: "h-full",
|
|
209
|
-
onTabChange: t[4] ||= (e) => unref(T).onTabChange(e)
|
|
210
|
-
}, {
|
|
211
|
-
tabBarExtraContent: withCtx(() => [unref(T).key === "current" ? (openBlock(), createBlock(i, { key: 0 }, {
|
|
212
|
-
default: withCtx(() => [createVNode(r, { "before-upload": P }, {
|
|
213
|
-
default: withCtx(() => [createVNode(n, {
|
|
214
|
-
type: "primary",
|
|
215
|
-
loading: unref(y)
|
|
216
|
-
}, {
|
|
217
|
-
default: withCtx(() => [createVNode(unref(CloudUploadOutlined)), t[6] ||= createTextVNode(" 导入 ", -1)]),
|
|
218
|
-
_: 1
|
|
219
|
-
}, 8, ["loading"])]),
|
|
220
|
-
_: 1
|
|
221
|
-
}), createVNode(n, {
|
|
222
|
-
disabled: unref(C).length === 0,
|
|
223
|
-
loading: unref(y),
|
|
224
|
-
onClick: t[0] ||= (e) => N()
|
|
225
|
-
}, {
|
|
226
|
-
default: withCtx(() => [createVNode(unref(CloudDownloadOutlined)), t[7] ||= createTextVNode(" 导出 ", -1)]),
|
|
227
|
-
_: 1
|
|
228
|
-
}, 8, ["disabled", "loading"])]),
|
|
229
|
-
_: 1
|
|
230
|
-
})) : createCommentVNode("", !0), unref(T).key === "history" ? (openBlock(), createBlock(i, { key: 1 }, {
|
|
231
|
-
default: withCtx(() => [createVNode(a, {
|
|
232
|
-
title: "是否使用该历史数据覆盖当前数据?",
|
|
233
|
-
onConfirm: t[1] ||= (e) => R()
|
|
234
|
-
}, {
|
|
235
|
-
default: withCtx(() => [createVNode(n, { loading: unref(I) }, {
|
|
236
|
-
default: withCtx(() => [createVNode(unref(UndoOutlined)), t[8] ||= createTextVNode(" 恢复备份 ", -1)]),
|
|
237
|
-
_: 1
|
|
238
|
-
}, 8, ["loading"])]),
|
|
239
|
-
_: 1
|
|
240
|
-
}), createVNode(a, {
|
|
241
|
-
title: "是否删除该历史数据备份?",
|
|
242
|
-
onConfirm: t[2] ||= (e) => V()
|
|
243
|
-
}, {
|
|
244
|
-
default: withCtx(() => [createVNode(n, {
|
|
245
|
-
loading: unref(z),
|
|
246
|
-
danger: ""
|
|
247
|
-
}, {
|
|
248
|
-
default: withCtx(() => [createVNode(unref(DeleteOutlined)), t[9] ||= createTextVNode(" 删除备份 ", -1)]),
|
|
249
|
-
_: 1
|
|
250
|
-
}, 8, ["loading"])]),
|
|
251
|
-
_: 1
|
|
252
|
-
})]),
|
|
253
|
-
_: 1
|
|
254
|
-
})) : createCommentVNode("", !0)]),
|
|
255
|
-
default: withCtx(() => [withDirectives(createElementVNode("div", null, [createVNode(s, {
|
|
256
|
-
key: "current",
|
|
257
|
-
"selected-keys": unref(C),
|
|
258
|
-
"onUpdate:selectedKeys": t[3] ||= (e) => isRef(C) ? C.value = e : null,
|
|
259
|
-
"field-names": {
|
|
260
|
-
children: "children",
|
|
261
|
-
title: "name",
|
|
262
|
-
key: "id"
|
|
263
|
-
},
|
|
264
|
-
"tree-data": unref(w),
|
|
265
|
-
"block-node": ""
|
|
266
|
-
}, {
|
|
267
|
-
title: withCtx((e) => [createVNode(o, {
|
|
268
|
-
color: unref(RESOURCE_COLOR)[e.type],
|
|
269
|
-
bordered: !1
|
|
270
|
-
}, {
|
|
271
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(resourceOptions).find((t) => t.value === e.type)?.label), 1)]),
|
|
272
|
-
_: 2
|
|
273
|
-
}, 1032, ["color"]), createElementVNode("span", null, toDisplayString(e.name), 1)]),
|
|
274
|
-
_: 1
|
|
275
|
-
}, 8, ["selected-keys", "tree-data"])], 512), [[vShow, unref(T).key === "current"]]), withDirectives(createElementVNode("div", _hoisted_2, [createVNode(c, { spinning: unref(A) }, {
|
|
276
|
-
default: withCtx(() => [createVNode(s, {
|
|
277
|
-
key: "history",
|
|
278
|
-
"field-names": {
|
|
279
|
-
children: "children",
|
|
280
|
-
title: "name",
|
|
281
|
-
key: "id"
|
|
282
|
-
},
|
|
283
|
-
"tree-data": unref(x).treeData,
|
|
284
|
-
selectable: !1,
|
|
285
|
-
class: "size-full"
|
|
286
|
-
}, {
|
|
287
|
-
title: withCtx((e) => [createVNode(o, {
|
|
288
|
-
color: unref(RESOURCE_COLOR)[e.type],
|
|
289
|
-
bordered: !1
|
|
290
|
-
}, {
|
|
291
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(resourceOptions).find((t) => t.value === e.type)?.label), 1)]),
|
|
292
|
-
_: 2
|
|
293
|
-
}, 1032, ["color"]), createElementVNode("span", null, toDisplayString(e.name), 1)]),
|
|
294
|
-
_: 1
|
|
295
|
-
}, 8, ["tree-data"])]),
|
|
296
|
-
_: 1
|
|
297
|
-
}, 8, ["spinning"])], 512), [[vShow, unref(T).key === "history"]])]),
|
|
298
|
-
_: 1
|
|
299
|
-
}, 8, ["tab-list", "active-tab-key"])]),
|
|
300
|
-
_: 1
|
|
301
|
-
}), createVNode(f, {
|
|
302
|
-
span: "8",
|
|
303
|
-
class: "h-full"
|
|
304
|
-
}, {
|
|
305
|
-
default: withCtx(() => [createVNode(l, {
|
|
306
|
-
title: "历史记录",
|
|
307
|
-
"head-style": {
|
|
308
|
-
marginBottom: 0,
|
|
309
|
-
padding: "0 12px"
|
|
310
|
-
},
|
|
311
|
-
"body-style": {
|
|
312
|
-
padding: "8px",
|
|
313
|
-
height: "calc(100% - 56px)",
|
|
314
|
-
overflowY: "auto"
|
|
315
|
-
},
|
|
316
|
-
class: "h-full"
|
|
317
|
-
}, {
|
|
318
|
-
default: withCtx(() => [
|
|
319
|
-
unref(D) ? (openBlock(), createElementBlock("div", _hoisted_3, [createVNode(c)])) : createCommentVNode("", !0),
|
|
320
|
-
unref(x).list.length === 0 && !unref(D) ? (openBlock(), createElementBlock("div", _hoisted_4, [createVNode(p)])) : createCommentVNode("", !0),
|
|
321
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(x).list, (e) => (openBlock(), createElementBlock("div", {
|
|
322
|
-
key: e.id,
|
|
323
|
-
class: "flex justify-between items-center space-x-2 cursor-pointer hover:bg-gray-50 py-1 px-2 rounded",
|
|
324
|
-
style: normalizeStyle({ backgroundColor: unref(x).selectedId === e.id ? unref(g).colorPrimaryBg : "" }),
|
|
325
|
-
onClick: (t) => M(e.id)
|
|
326
|
-
}, [createElementVNode("div", _hoisted_6, [createVNode(unref(ClockCircleOutlined)), createElementVNode("span", _hoisted_7, toDisplayString(e.createTime), 1)]), createElementVNode("span", {
|
|
327
|
-
class: "text-xs shrink-0",
|
|
328
|
-
style: normalizeStyle({ color: unref(g).colorTextTertiary })
|
|
329
|
-
}, toDisplayString(e.createUserName), 5)], 12, _hoisted_5))), 128))
|
|
330
|
-
]),
|
|
331
|
-
_: 1
|
|
332
|
-
})]),
|
|
333
|
-
_: 1
|
|
334
|
-
})]),
|
|
335
|
-
_: 1
|
|
336
|
-
})])]),
|
|
337
|
-
_: 1
|
|
338
|
-
}, 8, ["open"]);
|
|
339
|
-
};
|
|
340
|
-
}
|
|
341
|
-
}), ImportExport_exports = /* @__PURE__ */ __exportAll({ default: () => ImportExport_default }), ImportExport_default = ImportExport_vue_vue_type_script_setup_true_lang_default;
|
|
342
|
-
export { ImportExport_exports as n, ImportExport_default as t };
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { r as __exportAll } from "./chunk-DiMWNkAf.js";
|
|
2
|
-
import { h as _plugin_vue_export_helper_default } from "./index.js";
|
|
3
|
-
import { r as RESOURCE_TYPE } from "./enum-3E_sUqRF.js";
|
|
4
|
-
import { t as HoverCard_default } from "./HoverCard-CmJCoa2b.js";
|
|
5
|
-
import { computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, resolveComponent, unref, useModel, withCtx } from "vue";
|
|
6
|
-
import { Col, Divider, FormItem, Row, Switch } from "ant-design-vue/es";
|
|
7
|
-
import './LayoutForm.css';function useLayoutForm(e) {
|
|
8
|
-
return {
|
|
9
|
-
show: computed(() => {
|
|
10
|
-
let t = e.value.type;
|
|
11
|
-
return [RESOURCE_TYPE.APP, RESOURCE_TYPE.DYNAMIC_APP].includes(t);
|
|
12
|
-
}),
|
|
13
|
-
layoutForm: computed(() => {
|
|
14
|
-
if (!e.value.meta?.layout) return {
|
|
15
|
-
header: !0,
|
|
16
|
-
sidebar: !0,
|
|
17
|
-
tabs: !0,
|
|
18
|
-
toolbar: !0
|
|
19
|
-
};
|
|
20
|
-
let t = {
|
|
21
|
-
header: !0,
|
|
22
|
-
sidebar: !0,
|
|
23
|
-
tabs: !0,
|
|
24
|
-
toolbar: !0
|
|
25
|
-
};
|
|
26
|
-
return e.value.meta.layout = {
|
|
27
|
-
...t,
|
|
28
|
-
...e.value.meta.layout
|
|
29
|
-
}, e.value.meta.layout;
|
|
30
|
-
})
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
var _hoisted_1 = { key: 0 }, LayoutForm_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
34
|
-
name: "LayoutForm",
|
|
35
|
-
__name: "LayoutForm",
|
|
36
|
-
props: {
|
|
37
|
-
modelValue: { default: { meta: { layout: {
|
|
38
|
-
header: !0,
|
|
39
|
-
sidebar: !0,
|
|
40
|
-
tabs: !0,
|
|
41
|
-
toolbar: !0
|
|
42
|
-
} } } },
|
|
43
|
-
modelModifiers: {}
|
|
44
|
-
},
|
|
45
|
-
emits: ["update:modelValue"],
|
|
46
|
-
setup(e) {
|
|
47
|
-
let { layoutForm: t, show: n } = useLayoutForm(useModel(e, "modelValue"));
|
|
48
|
-
return (e, r) => {
|
|
49
|
-
let i = Divider, a = Switch, o = FormItem, s = Col, c = Row;
|
|
50
|
-
return unref(n) ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(i, null, {
|
|
51
|
-
default: withCtx(() => [...r[4] ||= [createTextVNode("布局配置", -1)]]),
|
|
52
|
-
_: 1
|
|
53
|
-
}), createVNode(c, { gutter: [8, 8] }, {
|
|
54
|
-
default: withCtx(() => [
|
|
55
|
-
createVNode(s, { span: 12 }, {
|
|
56
|
-
default: withCtx(() => [createVNode(o, {
|
|
57
|
-
name: "enable",
|
|
58
|
-
"label-col": { span: 0 }
|
|
59
|
-
}, {
|
|
60
|
-
default: withCtx(() => [createVNode(HoverCard_default, { class: "flex items-center justify-between" }, {
|
|
61
|
-
default: withCtx(() => [r[5] ||= createElementVNode("div", { class: "text-sm font-medium" }, " 显示 Header ", -1), createVNode(a, {
|
|
62
|
-
checked: unref(t).header,
|
|
63
|
-
"onUpdate:checked": r[0] ||= (e) => unref(t).header = e
|
|
64
|
-
}, null, 8, ["checked"])]),
|
|
65
|
-
_: 1
|
|
66
|
-
})]),
|
|
67
|
-
_: 1
|
|
68
|
-
})]),
|
|
69
|
-
_: 1
|
|
70
|
-
}),
|
|
71
|
-
createVNode(s, { span: 12 }, {
|
|
72
|
-
default: withCtx(() => [createVNode(o, {
|
|
73
|
-
name: "enable",
|
|
74
|
-
"label-col": { span: 0 }
|
|
75
|
-
}, {
|
|
76
|
-
default: withCtx(() => [createVNode(HoverCard_default, { class: "flex items-center justify-between" }, {
|
|
77
|
-
default: withCtx(() => [r[6] ||= createElementVNode("div", { class: "text-sm font-medium" }, " 显示 Sidebar ", -1), createVNode(a, {
|
|
78
|
-
checked: unref(t).sidebar,
|
|
79
|
-
"onUpdate:checked": r[1] ||= (e) => unref(t).sidebar = e
|
|
80
|
-
}, null, 8, ["checked"])]),
|
|
81
|
-
_: 1
|
|
82
|
-
})]),
|
|
83
|
-
_: 1
|
|
84
|
-
})]),
|
|
85
|
-
_: 1
|
|
86
|
-
}),
|
|
87
|
-
createVNode(s, { span: 12 }, {
|
|
88
|
-
default: withCtx(() => [createVNode(o, {
|
|
89
|
-
name: "enable",
|
|
90
|
-
"label-col": { span: 0 }
|
|
91
|
-
}, {
|
|
92
|
-
default: withCtx(() => [createVNode(HoverCard_default, { class: "flex items-center justify-between" }, {
|
|
93
|
-
default: withCtx(() => [r[7] ||= createElementVNode("div", { class: "text-sm font-medium" }, " 显示 Tabs ", -1), createVNode(a, {
|
|
94
|
-
checked: unref(t).tabs,
|
|
95
|
-
"onUpdate:checked": r[2] ||= (e) => unref(t).tabs = e
|
|
96
|
-
}, null, 8, ["checked"])]),
|
|
97
|
-
_: 1
|
|
98
|
-
})]),
|
|
99
|
-
_: 1
|
|
100
|
-
})]),
|
|
101
|
-
_: 1
|
|
102
|
-
}),
|
|
103
|
-
createVNode(s, { span: 12 }, {
|
|
104
|
-
default: withCtx(() => [createVNode(o, {
|
|
105
|
-
name: "enable",
|
|
106
|
-
"label-col": { span: 0 }
|
|
107
|
-
}, {
|
|
108
|
-
default: withCtx(() => [createVNode(HoverCard_default, { class: "flex items-center justify-between" }, {
|
|
109
|
-
default: withCtx(() => [r[8] ||= createElementVNode("div", { class: "text-sm font-medium" }, " 显示 Toolbar ", -1), createVNode(a, {
|
|
110
|
-
checked: unref(t).toolbar,
|
|
111
|
-
"onUpdate:checked": r[3] ||= (e) => unref(t).toolbar = e
|
|
112
|
-
}, null, 8, ["checked"])]),
|
|
113
|
-
_: 1
|
|
114
|
-
})]),
|
|
115
|
-
_: 1
|
|
116
|
-
})]),
|
|
117
|
-
_: 1
|
|
118
|
-
})
|
|
119
|
-
]),
|
|
120
|
-
_: 1
|
|
121
|
-
})])) : createCommentVNode("", !0);
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
}), LayoutForm_exports = /* @__PURE__ */ __exportAll({ default: () => LayoutForm_default }), LayoutForm_default = /* @__PURE__ */ _plugin_vue_export_helper_default(LayoutForm_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-8c0e12f9"]]);
|
|
125
|
-
export { LayoutForm_exports as n, LayoutForm_default as t };
|