@utogether/udp-core 1.0.1 → 1.0.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/build/plugins.ts +13 -2
- package/dist/{403-JWjatlxJ.js → 403-B1rIjAAu.js} +7 -6
- package/dist/{404-BcdMJfPb.js → 404-mBqc2y4t.js} +14 -13
- package/dist/{500-bsa3F_cc.js → 500-BoI45Zdh.js} +10 -9
- package/dist/{AuthorityInfo-CqItgNs5.js → AuthorityInfo-B08NBIIn.js} +1 -1
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-BLP1SaiH.js +100 -0
- package/dist/{AuthorityPanel-BaLMwMgW.js → AuthorityPanel-BeBNiwqc.js} +1 -1
- package/dist/{AuthorityPanel.vue_vue_type_style_index_0_lang-C_bkqLD9.js → AuthorityPanel.vue_vue_type_style_index_0_lang-CIYmnP9-.js} +6 -6
- package/dist/{Company-DVff9IA7.js → Company-JGGyWEWH.js} +3 -3
- package/dist/{CompanyPanel-CNrdq4XE.js → CompanyPanel-BQ_cCmDx.js} +16 -16
- package/dist/{Department-CqcpfL4i.js → Department-z2iO6hwM.js} +10 -10
- package/dist/{DepartmentPanel-Bvti4LGu.js → DepartmentPanel-BtQe7zwU.js} +108 -78
- package/dist/{DesignPanel-CjykspE1.js → DesignPanel-7mhtVWas.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-BK9EERdd.js → DesignPanel.vue_vue_type_style_index_0_lang-4EsHemj_.js} +24 -26
- package/dist/DictView-CjchV2Yk.js +109 -0
- package/dist/InvOrganization-Pn1O_XP0.js +74 -0
- package/dist/Org-BqytV_vi.js +39 -0
- package/dist/{Preview-Cm_7RhYU.js → Preview-CLpUUMay.js} +2 -2
- package/dist/{ReportDefine-CJVlQ--7.js → ReportDefine-Cz1KtEUF.js} +1 -1
- package/dist/{ReportDesign-B0unlrkt.js → ReportDesign-BaORYud4.js} +46 -46
- package/dist/{ReportQuery-BKuMCEvF.js → ReportQuery-CPCPXiXz.js} +5 -5
- package/dist/{ReportQueryFrom-DAngMJLU.js → ReportQueryFrom-C_AcrfkJ.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CPpwmztJ.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-Bm67ejay.js} +6 -5
- package/dist/{ReportTemplate-8YH3L8Pv.js → ReportTemplate-CFiNMz79.js} +26 -26
- package/dist/{Role-MxI30-0W.js → Role-B-XDoJd5.js} +6 -6
- package/dist/{RoleAssign-BzUY_y_y.js → RoleAssign-BolW8YVs.js} +9 -9
- package/dist/{RolePanel-DS_TErTn.js → RolePanel-2kfs5tw9.js} +1 -1
- package/dist/{RolePanel-CXdcvsR5.js → RolePanel-HilSuYns.js} +1 -1
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-CE4gApUY.js +132 -0
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-Ddl-A7Zh.js → RolePanel.vue_vue_type_script_setup_true_lang-DPzgfAyV.js} +42 -36
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-DnchUgIF.js → ScrollPanel.vue_vue_type_style_index_0_lang-CCTH4RkH.js} +20 -20
- package/dist/{Staff-D7tXo_Gn.js → Staff-BTk3whFC.js} +3 -3
- package/dist/{StaffInfo-Bk8BY8PO.js → StaffInfo-d3AuSzlA.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DqKwZi5f.js → StaffInfo.vue_vue_type_script_setup_true_lang-eOL4VlfE.js} +13 -13
- package/dist/{StaffPanel-VtpGCTIq.js → StaffPanel-DV-D4jjz.js} +1 -1
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-4sFq3CEo.js +135 -0
- package/dist/{SysUser-D0Q6OvD7.js → SysUser-BnjYytws.js} +2 -2
- package/dist/{SysUserPanel-1_vrsANQ.js → SysUserPanel-CBoyD-Qi.js} +1 -1
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-PrTlTZR-.js +341 -0
- package/dist/{SystemMenu-9PG3vESE.js → SystemMenu-kYB_ZaUt.js} +49 -47
- package/dist/{UserInfo-qgXUEGwi.js → UserInfo-4dx97VBL.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-CN0C5rVk.js → UserInfo.vue_vue_type_style_index_0_lang-BpbC_ZDm.js} +35 -33
- package/dist/{childView-C7ZSA5fR.js → childView-CHPNfTEb.js} +1 -1
- package/dist/{childView-yV2QLwfA.js → childView-CKA_JgVZ.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-DdKxPGdh.js → childView.vue_vue_type_style_index_0_lang-Bym2fQRd.js} +7 -7
- package/dist/childView.vue_vue_type_style_index_0_lang-W7bCtXeu.js +177 -0
- package/dist/{code-rule-95K1jr-u.js → code-rule-CbxuZg0-.js} +42 -41
- package/dist/core.es.js +19 -10
- package/dist/{cron-task-DGrQwOHs.js → cron-task-nTOpqQYf.js} +5 -5
- package/dist/flow-task-B07st2aD.js +10 -0
- package/dist/{frameView-7SmME93D.js → frameView-Z1tPUyCh.js} +15 -14
- package/dist/img/l_img.svg +1 -1
- package/dist/img/minicolors.png +0 -0
- package/dist/img/v_img.svg +1 -1
- package/dist/index-C3q8HoJM.js +4650 -0
- package/dist/{layoutView-C6WIVWGZ.js → layoutView--MGA9zUB.js} +1776 -1764
- package/dist/{log-in-e7D5Ss1P.js → log-in-CSYJDA6m.js} +36 -29
- package/dist/log-out-DiwGCg7p.js +130 -0
- package/dist/login-C6Y0ajDp.js +251 -0
- package/dist/{login-log-CvVnyGi3.js → login-log-C0V-_l3F.js} +6 -4
- package/dist/{lov-view-DoF5LqFQ.js → lov-view-Cmv7wZZ9.js} +9 -9
- package/dist/{menuInfo-CNzGQwOD.js → menuInfo-UeutJpOa.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-51SYxVc_.js → menuInfo.vue_vue_type_style_index_0_lang-CWX4Mu67.js} +144 -121
- package/dist/pda-app-B6w99SJo.js +710 -0
- package/dist/redirect-BqegffKC.js +15 -0
- package/dist/{resource-gVFFMO9l.js → resource-BybJvUv0.js} +17 -17
- package/dist/{su-welcome-BN_s_RX_.js → su-welcome-C1bmxHoY.js} +124 -126
- package/dist/sys-config-BnmIDnCj.js +370 -0
- package/dist/udp-core.css +1 -9
- package/dist/utogether-MlnyYtNS.js +4 -0
- package/index.ts +19 -6
- package/package.json +18 -17
- package/src/App.vue +2 -7
- package/src/api/http.ts +1 -4
- package/src/api/index.ts +5 -3
- package/src/api/user.ts +2 -2
- package/src/components/SuCharts/src/UserInfo.vue +3 -3
- package/src/components/SuScrollTree/ScrollPanel.vue +4 -9
- package/src/components/udp/content/index.vue +88 -0
- package/src/components/udp/form/form.vue +109 -0
- package/src/components/udp/grid/index.vue +524 -0
- package/src/components/udp/index.ts +5 -4
- package/src/components/udp/ut-stamp-badge/index.vue +271 -0
- package/src/components/udp/utils.ts +408 -40
- package/src/directives/permission/index.ts +1 -1
- package/src/layout/components/lay-navbar/index.vue +9 -7
- package/src/layout/components/lay-panel/index.vue +3 -3
- package/src/layout/components/lay-search/index.vue +1 -1
- package/src/layout/components/lay-select-org/index.vue +4 -9
- package/src/layout/components/lay-setting/index.vue +503 -510
- package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
- package/src/layout/components/lay-sidebar/horizontal.vue +8 -6
- package/src/layout/components/lay-sidebar/mixNav.vue +260 -258
- package/src/layout/components/lay-sidebar/sidebar-logo.vue +101 -98
- package/src/layout/components/lay-tag/index.vue +598 -625
- package/src/layout/hooks/useDataThemeChange.ts +1 -1
- package/src/layout/hooks/useNav.ts +176 -173
- package/src/layout/hooks/useTag.ts +227 -233
- package/src/layout/layoutView.vue +215 -215
- package/src/layout/types.ts +93 -92
- package/src/main.ts +115 -109
- package/src/plugins/i18n/en.ts +26 -13
- package/src/plugins/i18n/module/u-workflow.ts +1 -1
- package/src/plugins/i18n/zh.ts +363 -337
- package/src/plugins/vxe-table/index.ts +74 -4
- package/src/plugins/vxe-table/render.tsx +186 -58
- package/src/router/index.ts +187 -183
- package/src/router/modules/flow.ts +35 -0
- package/src/router/modules/home.ts +32 -32
- package/src/router/modules/remaining.ts +1 -26
- package/src/router/utils.ts +420 -377
- package/src/store/modules/app.ts +2 -4
- package/src/store/modules/epTheme.ts +48 -49
- package/src/store/modules/multiTags.ts +15 -14
- package/src/store/modules/permission.ts +25 -15
- package/src/store/modules/system.ts +1 -3
- package/src/style/button.scss +11 -4
- package/src/style/login.css +1 -1
- package/src/style/tailwind.css +1 -68
- package/src/style/vxetable.scss +103 -11
- package/src/utils/authority/index.ts +1 -1
- package/src/utils/dataFormat/index.ts +223 -223
- package/src/utils/index.ts +3 -1
- package/src/utils/lifecycle.ts +39 -20
- package/src/utils/propTypes.ts +1 -6
- package/src/utils/storage/index.ts +2 -2
- package/src/utils/{http → udp/http}/index.ts +27 -30
- package/src/utils/{http → udp/http}/types.d.ts +2 -6
- package/src/views/login/login-view.vue +6 -20
- package/src/views/organization/company/CompanyPanel.vue +2 -2
- package/src/views/organization/department/Department.vue +58 -58
- package/src/views/organization/department/DepartmentPanel.vue +303 -283
- package/src/views/organization/inv-org/InvOrganization.vue +23 -9
- package/src/views/organization/org/Org.vue +9 -5
- package/src/views/organization/staff/StaffInfo.vue +127 -133
- package/src/views/organization/staff/StaffPanel.vue +162 -145
- package/src/views/system/cron/cron-task.vue +2 -12
- package/src/views/system/menu/AuthorityPanel.vue +2 -2
- package/src/views/system/menu/SystemMenu.vue +14 -20
- package/src/views/system/menu/menuInfo.vue +39 -23
- package/src/views/system/role/AuthorityInfo.vue +19 -15
- package/src/views/system/role/Role.vue +1 -5
- package/src/views/system/role/RolePanel.vue +11 -2
- package/src/views/system/role/UserInfo.vue +11 -9
- package/src/views/system/role-assign/RoleAssign.vue +2 -2
- package/src/views/system/role-assign/RolePanel.vue +12 -9
- package/src/views/system/sys/sys-config.vue +70 -21
- package/src/views/system/sysUser/SysUserPanel.vue +347 -278
- package/src/views/uapp/pda/pda-app.vue +48 -16
- package/src/views/udev/coderule/code-rule.vue +132 -121
- package/src/views/udev/dict/DictView.vue +118 -106
- package/src/views/udev/dict/childView.vue +183 -222
- package/src/views/udev/lov/childView.vue +1 -7
- package/src/views/ufile/aggregation/File.vue +5 -5
- package/src/views/ufile/file/water-mark.vue +14 -14
- package/src/views/uhome/components/menu-favorite.vue +314 -331
- package/src/views/uhome/su-welcome.vue +319 -339
- package/src/views/ulogin/login.vue +325 -316
- package/src/views/upms/interface/log-in.vue +100 -106
- package/src/views/upms/interface/log-out.vue +104 -107
- package/src/views/upms/user/login-log.vue +54 -60
- package/src/views/urpt/design/DesignPanel.vue +16 -35
- package/src/views/urpt/design/Preview.vue +1 -0
- package/src/views/urpt/design/ReportDesign.vue +17 -23
- package/src/views/urpt/static-resource/resource.vue +3 -3
- package/src/views/urpt/template/ReportTemplate.vue +7 -7
- package/src/views/utask/flow-task.vue +18 -0
- package/types/global.d.ts +231 -236
- package/vite.config.ts +13 -2
- package/dist/AuthorityInfo.vue_vue_type_style_index_0_lang-32L40GY2.js +0 -102
- package/dist/DictView-q7kR9K--.js +0 -95
- package/dist/InvOrganization-DI45LqZV.js +0 -260
- package/dist/Org-CZju_ZiR.js +0 -35
- package/dist/RolePanel.vue_vue_type_script_setup_true_lang-DJKu6PXz.js +0 -126
- package/dist/StaffPanel.vue_vue_type_script_setup_true_lang-C3Ixs12y.js +0 -111
- package/dist/SysUserPanel.vue_vue_type_script_setup_true_lang-C5XEmxsV.js +0 -288
- package/dist/childView.vue_vue_type_style_index_0_lang-bkmucBUL.js +0 -187
- package/dist/core.umd.js +0 -173
- package/dist/index-OswH7SsT.js +0 -9937
- package/dist/log-out--RRncZhN.js +0 -120
- package/dist/login-BhCMeCLS.js +0 -251
- package/dist/pda-app-nn3llDUx.js +0 -2209
- package/dist/redirect-CmMplDV4.js +0 -15
- package/dist/sys-config-DGutV-VX.js +0 -277
- package/dist/utogether-wFDCI28t.js +0 -182
- package/src/assets/images/empty.png +0 -0
- package/src/assets/images/logo.png +0 -0
- package/src/components/ReCountTo/README.md +0 -2
- package/src/components/ReCountTo/index.ts +0 -18
- package/src/components/ReCountTo/src/normal/index.tsx +0 -165
- package/src/components/ReCountTo/src/normal/props.ts +0 -37
- package/src/components/ReCountTo/src/rebound/index.tsx +0 -67
- package/src/components/ReCountTo/src/rebound/props.ts +0 -14
- package/src/components/ReCountTo/src/rebound/rebound.css +0 -77
- package/src/components/ReCropper/index.ts +0 -14
- package/src/components/ReCropper/src/index.tsx +0 -141
- package/src/components/ReFlicker/index.css +0 -39
- package/src/components/ReFlicker/index.ts +0 -50
- package/src/components/ReFlop/index.ts +0 -14
- package/src/components/ReFlop/src/Filpper.tsx +0 -99
- package/src/components/ReFlop/src/filpper.css +0 -184
- package/src/components/ReFlop/src/index.vue +0 -126
- package/src/components/ReFlowChart/index.ts +0 -24
- package/src/components/ReFlowChart/src/Control.vue +0 -139
- package/src/components/ReFlowChart/src/DataDialog.vue +0 -12
- package/src/components/ReFlowChart/src/NodePanel.vue +0 -151
- package/src/components/ReFlowChart/src/adpterForTurbo.ts +0 -160
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.css +0 -49
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.eot +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.js +0 -61
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.json +0 -58
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.svg +0 -47
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.ttf +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff +0 -0
- package/src/components/ReFlowChart/src/assets/iconfont/iconfont.woff2 +0 -0
- package/src/components/ReFlowChart/src/config.ts +0 -62
- package/src/components/ReSplitPane/index.css +0 -49
- package/src/components/ReSplitPane/index.tsx +0 -119
- package/src/components/ReSplitPane/resizer.css +0 -45
- package/src/components/ReSplitPane/resizer.tsx +0 -30
- package/src/components/SuCommon/card/components/Card.vue +0 -148
- package/src/components/SuCommon/card/components/DialogForm.vue +0 -127
- package/src/components/SuCommon/card/index.vue +0 -142
- package/src/components/SuCommon/icon-select/index.vue +0 -241
- package/src/components/SuCommon/table/index.vue +0 -208
- package/src/components/SuCommon/utils/index.ts +0 -103
- package/src/components/SuCommon/utils/slot.tsx +0 -50
- package/src/components/udp/form-upload.vue +0 -132
- package/src/components/udp/modal-form.vue +0 -180
- package/src/utils/udp/useRender.ts +0 -420
- package/src/views/components/contextmenu/basic.vue +0 -74
- package/src/views/components/contextmenu/context-menu.vue +0 -40
- package/src/views/components/contextmenu/menuDynamic.vue +0 -99
- package/src/views/components/contextmenu/menuGroup.vue +0 -71
- package/src/views/components/count-to/index.vue +0 -43
- package/src/views/components/cropping/index.vue +0 -59
- package/src/views/components/cropping/picture.jpeg +0 -0
- package/src/views/components/split-pane/index.vue +0 -82
- package/src/views/components/video/index.vue +0 -57
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "2491438",
|
|
3
|
-
"name": "liu'c'tu",
|
|
4
|
-
"font_family": "iconfont",
|
|
5
|
-
"css_prefix_text": "icon-",
|
|
6
|
-
"description": "",
|
|
7
|
-
"glyphs": [
|
|
8
|
-
{
|
|
9
|
-
"icon_id": "755619",
|
|
10
|
-
"name": "自适应图标",
|
|
11
|
-
"font_class": "full-screen-hs",
|
|
12
|
-
"unicode": "e656",
|
|
13
|
-
"unicode_decimal": 58966
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"icon_id": "14445801",
|
|
17
|
-
"name": "查看",
|
|
18
|
-
"font_class": "watch-hs",
|
|
19
|
-
"unicode": "e766",
|
|
20
|
-
"unicode_decimal": 59238
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"icon_id": "9712640",
|
|
24
|
-
"name": "下载",
|
|
25
|
-
"font_class": "download-hs",
|
|
26
|
-
"unicode": "e6af",
|
|
27
|
-
"unicode_decimal": 59055
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"icon_id": "1029099",
|
|
31
|
-
"name": "放大",
|
|
32
|
-
"font_class": "enlarge-hs",
|
|
33
|
-
"unicode": "e765",
|
|
34
|
-
"unicode_decimal": 59237
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"icon_id": "20017362",
|
|
38
|
-
"name": "上一步",
|
|
39
|
-
"font_class": "previous-hs",
|
|
40
|
-
"unicode": "e84c",
|
|
41
|
-
"unicode_decimal": 59468
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"icon_id": "1010015",
|
|
45
|
-
"name": "缩小",
|
|
46
|
-
"font_class": "zoom-out-hs",
|
|
47
|
-
"unicode": "e744",
|
|
48
|
-
"unicode_decimal": 59204
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"icon_id": "20017363",
|
|
52
|
-
"name": "下一步",
|
|
53
|
-
"font_class": "next-step-hs",
|
|
54
|
-
"unicode": "e84b",
|
|
55
|
-
"unicode_decimal": 59467
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
|
3
|
-
<!--
|
|
4
|
-
2013-9-30: Created.
|
|
5
|
-
-->
|
|
6
|
-
<svg>
|
|
7
|
-
<metadata>
|
|
8
|
-
Created by iconfont
|
|
9
|
-
</metadata>
|
|
10
|
-
<defs>
|
|
11
|
-
|
|
12
|
-
<font id="iconfont" horiz-adv-x="1024" >
|
|
13
|
-
<font-face
|
|
14
|
-
font-family="iconfont"
|
|
15
|
-
font-weight="500"
|
|
16
|
-
font-stretch="normal"
|
|
17
|
-
units-per-em="1024"
|
|
18
|
-
ascent="896"
|
|
19
|
-
descent="-128"
|
|
20
|
-
/>
|
|
21
|
-
<missing-glyph />
|
|
22
|
-
|
|
23
|
-
<glyph glyph-name="full-screen-hs" unicode="" d="M960.605-36.34500000000003v240.231c0.045 7.2-2.723 14.445-8.213 19.98-11.115 11.047-29.002 11.047-40.071 0-5.535-5.535-8.303-12.757-8.303-19.98v-171.923l-351.99 352.035 351.99 352.013v-171.855c0-7.245 2.767-14.49 8.303-20.002 11.07-11.07 28.957-11.07 40.071 0 5.49 5.511 8.257 12.78 8.213 20.002v240.187c0.045 7.223-2.723 14.468-8.213 20.003-5.58 5.511-12.803 8.279-20.025 8.302h-240.233c-7.222 0-14.467-2.79-19.98-8.302-11.115-11.049-11.115-28.957 0-40.05 5.511-5.535 12.735-8.302 19.98-8.279h171.9l-352.013-352.013-352.012 352.035h171.855c7.268-0.022 14.49 2.745 20.025 8.279 11.07 11.047 11.07 29.002 0 40.05-5.49 5.511-12.758 8.279-20.025 8.303h-240.187c-7.268 0-14.513-2.79-20.025-8.303-5.513-5.558-8.279-12.803-8.279-20.048v-240.165c0-7.245 2.79-14.512 8.279-20.002 11.07-11.07 28.98-11.07 40.028 0 5.513 5.511 8.279 12.713 8.279 20.002v171.855l352.058-352.012-352.035-352.035v171.922c0 7.2-2.745 14.445-8.279 19.98-11.07 11.047-29.002 11.047-40.028 0-5.558-5.535-8.279-12.757-8.279-19.98v-240.231c0-7.223 2.79-14.468 8.279-20.048 5.535-5.468 12.757-8.279 20.025-8.279h240.188c7.268 0 14.49 2.745 20.025 8.279 11.07 11.047 11.07 29.002 0 40.05-5.535 5.535-12.78 8.257-20.025 8.257h-171.877l352.012 352.035 352.013-352.035h-171.9c-7.222 0-14.467-2.768-19.98-8.257-11.115-11.049-11.115-29.002 0-40.05 5.511-5.468 12.735-8.279 19.98-8.279h240.255c7.2 0 14.445 2.813 20.025 8.279 5.467 5.602 8.19 12.825 8.19 20.048z" horiz-adv-x="1024" />
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<glyph glyph-name="watch-hs" unicode="" d="M511.08 265.58000000000004c0.39 0.09 0.8 0.14 1.2 0.2h-0.52zM651 405.5c0-0.2-0.09-0.4-0.13-0.59s0-0.14 0-0.2c0.03 0.29 0.07 0.53 0.13 0.79zM471.17 265.58000000000004l-0.84 0.18h-0.31c0.38-0.03 0.77-0.1 1.15-0.18zM331.49 447v-0.36c0.08 0.51 0.16 1 0.23 1.52-0.12-0.37-0.19-0.78-0.23-1.16zM468.88 265.9l1.14-0.11c-0.83 0.13-1.67 0.23-2.5 0.36a10 10 0 0 1 1.36-0.25zM331.57 403.22a11.92 11.92 0 0 1 0.24-1.36c-0.13 0.87-0.24 1.76-0.38 2.64 0.05-0.43 0.09-0.86 0.14-1.28zM331.25 405.5c0.07-0.33 0.13-0.66 0.18-1v0.23zM331.25 445.42c0.05 0.26 0.1 0.5 0.15 0.73s0 0.34 0.05 0.51c-0.06-0.42-0.12-0.84-0.2-1.24zM650.84 404.59v0.12c-0.07-0.41-0.13-0.83-0.19-1.24 0.09 0.4 0.15 0.8 0.19 1.12zM512 831C264.66 831 65 631.3399999999999 65 384s199.66-447 447-447 447 199.66 447 447S759.34 831 512 831z m213.38-684.87c-8.76-9.55-25-8.88-33.91 0l-12.3 12.3q-42.64 42.63-85.28 85.28a200 200 0 0 0-59.3-22.52 214 214 0 0 0-131.48 14.95c-37.52 16.92-69.56 46.36-90.86 81.46-22 36.33-32.73 80.15-29.4 122.54a213.12 213.12 0 0 0 48.3 119.42c54.37 66.3 150.16 92.22 230.58 62.43a214.42 214.42 0 0 0 100.68-77.16c24.62-34.5 37.4-77.11 37.56-119.37a235.67 235.67 0 0 0-2.92-34.06c-6.88-45.84-30.52-87.73-64.1-118.92l5.81-5.81L725.38 180c9.48-9.43 8.79-24.3 0-33.87zM635.31 353.9c1.2 2.36 2.34 4.74 3.44 7.15 0.28 0.61 0.54 1.22 0.81 1.83 1.5 3.86 3 7.72 4.25 11.67a183.83 183.83 0 0 1 6.56 26.9c0.11 0.66 0.2 1.34 0.29 2-0.35-1.85-0.91-3.8 0.21 1.44 0.24 2.18 0.45 4.37 0.61 6.56 0.35 4.66 0.51 9.32 0.52 14s-0.17 9.33-0.52 14q-0.26 3.45-0.64 6.88v0.08c-1 6-0.2 1.67 0 0 0-0.31 0.11-0.63 0.17-1-0.16 0.89-0.27 1.8-0.41 2.7a182.65 182.65 0 0 1-6.6 27.62c-1.38 4.27-3 8.41-4.59 12.61-0.32 0.71-0.63 1.42-1 2.13-0.92 2-1.87 4-2.87 6a184.55 184.55 0 0 1-13.85 23.12c-1.11 1.58-7 8.66-1.71 2.52-1.42 1.65-2.72 3.42-4.12 5.09q-4.2 5-8.75 9.73c-6.1 6.32-12.78 11.79-19.44 17.49 6.14-5.26-0.94 0.6-2.52 1.71-1.79 1.26-3.6 2.48-5.43 3.68q-5.52 3.59-11.27 6.78-6.07 3.36-12.38 6.26c-0.75 0.35-1.51 0.68-2.26 1-1.64 0.62-3.25 1.3-4.9 1.9a181.3 181.3 0 0 1-27.13 7.74c-2.67 0.55-5.36 1-8.05 1.46-0.9 0.14-1.81 0.25-2.71 0.41l1-0.17c1.67-0.2 6-1 0 0H512q-6.56 0.75-13.15 1a188.34 188.34 0 0 1-28.4-1c-1.1-0.2-2.25-0.31-3.34-0.49-2.24-0.37-4.48-0.78-6.7-1.24q-6.63-1.35-13.14-3.18c-4.29-1.21-8.55-2.58-12.75-4.1-2-0.72-4-1.51-6-2.28l-1.84-0.82a185.92 185.92 0 0 1-24.25-13.32q-3.3-2.16-6.51-4.44c-0.74-0.53-3.82-2.89-3.93-2.93-0.71-0.57-1.41-1.14-2.1-1.72q-2.52-2.1-5-4.27a186.27 186.27 0 0 1-18.65-19.25c-1.32-1.58-6.2-9-2-2.31-1.16-1.83-2.62-3.53-3.86-5.3q-3.78-5.37-7.17-11T346.94 497q-1.5-3-2.89-5.95c-0.86-1.86-3.23-8.91-0.78-1.56-3-8.94-6.46-17.52-8.69-26.72q-1.68-6.94-2.82-14c0-0.21-0.05-0.42-0.08-0.62 0.29 1.51 0.67 2.55-0.28-2-0.2-1.77-0.38-3.54-0.53-5.32a188.09 188.09 0 0 1-0.11-29.36c0.17-2.25 0.41-4.49 0.65-6.74 0.8-3.86 0.63-3.81 0.4-2.87l0.06-0.41q1.06-6.38 2.56-12.66a200.32 200.32 0 0 1 8.27-26c0.46-1 0.89-2 1.35-3q1.4-3 2.89-6 3-5.86 6.39-11.53 3.56-5.89 7.54-11.54c1.13-1.59 2.44-3.11 3.49-4.76-4.09 6.45-0.21 0.31 1.12-1.3a185.34 185.34 0 0 1 19-19.82q2.92-2.63 5.95-5.13c1.62-1.33 7.76-5.22 1.31-1.12 3.49-2.22 6.72-4.91 10.18-7.19a184.79 184.79 0 0 1 23.59-13.12c1-0.48 2.06-0.93 3.09-1.4 2-0.76 3.94-1.54 5.92-2.26 4.2-1.52 8.46-2.89 12.75-4.1s8.72-2.29 13.14-3.18c2.22-0.46 4.46-0.87 6.7-1.24l0.41-0.06c-0.93 0.22-1 0.39 2.81-0.39a200.31 200.31 0 0 1 27.82-1q6.83 0.25 13.61 1c4.64 1 3.6 0.58 2.08 0.28l0.62 0.09c2 0.33 4 0.69 6 1.08a183.29 183.29 0 0 1 27.22 7.55c2.26 0.81 4.49 1.87 6.76 2.64 0.75 0.34 1.51 0.67 2.25 1q5.7 2.64 11.2 5.66c7.94 4.37 15 9.82 22.58 14.65-6.69-4.25 0.74 0.64 2.31 2s3.32 2.83 4.95 4.29q4.86 4.38 9.4 9.08 4.79 5 9.17 10.23c1.26 1.51 2.43 3.1 3.7 4.59-5.06-5.91-0.2-0.17 1 1.45a185.86 185.86 0 0 1 14.31 23.66zM512.68 265.82000000000005l1.16 0.19-1.56-0.23z" horiz-adv-x="1024" />
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<glyph glyph-name="download-hs" unicode="" d="M200 62h632v-88a8 8 0 0 0-8-8H192v88a8 8 0 0 0 8 8z m239 262.037V711c0 13.255 10.745 24 24 24h104v-401.473l141.997 137.148c9.534 9.209 24.728 8.945 33.936-0.59l0.004-0.003 72.205-74.799-304.959-294.546c-9.534-9.208-24.728-8.944-33.936 0.59l-0.003 0.004-71.859 74.44-0.063-0.062-205.587 212.927c-9.206 9.534-8.941 24.724 0.59 33.932l74.782 72.246L439 324.03700000000003z" horiz-adv-x="1024" />
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<glyph glyph-name="enlarge-hs" unicode="" d="M945.159 28.389999999999986l-206.543 206.538c49.578 63.772 79.108 143.903 79.108 230.953 0 207.97-168.58 376.547-376.639 376.547-207.97 0-376.547-168.577-376.547-376.547 0-208.038 168.577-376.614 376.547-376.614 87.059 0 167.197 29.532 230.973 79.108l206.543-206.544c9.171-9.17 21.227-13.802 33.278-13.802s24.106 4.629 33.28 13.802c18.431 18.43 18.431 48.215 0 66.559v0zM158.701 465.881c0 155.737 126.65 282.39 282.39 282.39 155.826 0 282.477-126.65 282.477-282.39 0-155.805-126.65-282.458-282.477-282.458-155.739 0-282.39 126.65-282.39 282.458v0zM579.708 506.147h-98.352v98.352c0 22.272-17.991 40.268-40.268 40.352-22.185-0.086-40.267-18.078-40.267-40.352v-98.352h-98.352c-22.272 0-40.268-17.991-40.268-40.179 0-22.272 17.991-40.352 40.268-40.352h98.352v-98.352c0-22.252 18.08-40.246 40.267-40.333 22.274 0.086 40.268 18.08 40.268 40.333v98.352h98.352c22.272 0 40.355 18.079 40.267 40.352 0 22.187-17.991 40.179-40.267 40.179v0z" horiz-adv-x="1024" />
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<glyph glyph-name="previous-hs" unicode="" d="M814.933333 413.866667C716.8 512 597.333333 567.4666669999999 460.8 580.266667V768c0 17.066667-8.533333 34.133333-25.6 38.4-17.066667 8.533333-34.133333 4.266667-46.933333-8.533333L29.866667 422.4c-17.066667-17.066667-17.066667-42.666667 0-59.733333l358.4-392.533334c8.533333-8.533333 21.333333-12.8 34.133333-12.8 4.266667 0 8.533333 0 17.066667 4.266667 17.066667 4.266667 25.6 21.333333 25.6 38.4v204.8c68.266667 8.533333 128 4.266667 192-12.8 76.8-21.333333 170.666667-93.866667 273.066666-213.333333 12.8-12.8 29.866667-21.333333 51.2-12.8 17.066667 8.533333 29.866667 25.6 25.6 42.666666-21.333333 162.133333-85.333333 298.666667-192 405.333334z" horiz-adv-x="1024" />
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<glyph glyph-name="zoom-out-hs" unicode="" d="M951.643 18.452999999999975l-210.337 210.335c50.487 64.946 80.56 146.547 80.56 235.199 0 211.793-171.681 383.472-383.563 383.472-211.792 0-383.471-171.679-383.471-383.472 0-211.862 171.679-383.538 383.471-383.538 88.661 0 170.271 30.075 235.218 80.56l210.337-210.339c9.34-9.339 21.614-14.055 33.89-14.055s24.551 4.716 33.892 14.055c18.77 18.77 18.77 49.101 0 67.781v0zM150.725 463.989c0 158.601 128.978 287.58 287.58 287.58 158.691 0 287.671-128.978 287.671-287.58 0-158.668-128.978-287.651-287.671-287.651-158.601 0-287.58 128.978-287.58 287.651v0zM397.297 504.996h-100.16c-22.683 0-41.008-18.324-41.008-40.919 0-22.683 18.324-41.094 41.008-41.094h282.333c22.683 0 41.095 18.412 41.007 41.094 0 22.595-18.324 40.919-41.007 40.919v0h-182.173z" horiz-adv-x="1024" />
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<glyph glyph-name="next-step-hs" unicode="" d="M209.066667 413.866667c98.133333 98.133333 213.333333 153.6 349.866666 166.4V768c0 17.066667 8.533333 34.133333 25.6 38.4 17.066667 8.533333 34.133333 4.266667 46.933334-8.533333l358.4-375.466667c17.066667-17.066667 17.066667-42.666667 0-59.733333l-358.4-392.533334c-8.533333-8.533333-21.333333-12.8-29.866667-12.8-4.266667 0-8.533333 0-17.066667 4.266667-17.066667 4.266667-25.6 21.333333-25.6 38.4v204.8c-68.266667 8.533333-128 4.266667-192-12.8-76.8-21.333333-170.666667-93.866667-273.066666-213.333333-8.533333-17.066667-29.866667-21.333333-46.933334-12.8-17.066667 8.533333-29.866667 25.6-25.6 42.666666 17.066667 162.133333 81.066667 298.666667 187.733334 405.333334z" horiz-adv-x="1024" />
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</font>
|
|
47
|
-
</defs></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: wei.li
|
|
3
|
-
* @Date: 2022-05-24 11:26:59
|
|
4
|
-
* @LastEditors: wei.li
|
|
5
|
-
* @LastEditTime: 2022-09-13 10:53:23
|
|
6
|
-
* @Description: file content
|
|
7
|
-
*/
|
|
8
|
-
export const nodeList = [
|
|
9
|
-
{
|
|
10
|
-
text: '开始',
|
|
11
|
-
type: 'start',
|
|
12
|
-
class: 'node-start'
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
text: '矩形',
|
|
16
|
-
type: 'rect',
|
|
17
|
-
class: 'node-rect'
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
type: 'user',
|
|
21
|
-
text: '用户',
|
|
22
|
-
class: 'node-user'
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
type: 'push',
|
|
26
|
-
text: '推送',
|
|
27
|
-
class: 'node-push'
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
type: 'download',
|
|
31
|
-
text: '位置',
|
|
32
|
-
class: 'node-download'
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
type: 'end',
|
|
36
|
-
text: '结束',
|
|
37
|
-
class: 'node-end'
|
|
38
|
-
}
|
|
39
|
-
];
|
|
40
|
-
|
|
41
|
-
export const BpmnNode = [
|
|
42
|
-
{
|
|
43
|
-
type: 'bpmn:startEvent',
|
|
44
|
-
text: '开始',
|
|
45
|
-
class: 'bpmn-start'
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
type: 'bpmn:endEvent',
|
|
49
|
-
text: '结束',
|
|
50
|
-
class: 'bpmn-end'
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
type: 'bpmn:exclusiveGateway',
|
|
54
|
-
text: '网关',
|
|
55
|
-
class: 'bpmn-exclusiveGateway'
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
type: 'bpmn:userTask',
|
|
59
|
-
text: '用户',
|
|
60
|
-
class: 'bpmn-user'
|
|
61
|
-
}
|
|
62
|
-
];
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
.clearfix::after {
|
|
2
|
-
visibility: hidden;
|
|
3
|
-
display: block;
|
|
4
|
-
font-size: 0;
|
|
5
|
-
content: ' ';
|
|
6
|
-
clear: both;
|
|
7
|
-
height: 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.vue-splitter-container {
|
|
11
|
-
height: 100%;
|
|
12
|
-
position: relative;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.vue-splitter-container-mask {
|
|
16
|
-
z-index: 9999;
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 100%;
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: 0;
|
|
21
|
-
left: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.splitter-pane.vertical.splitter-paneL {
|
|
25
|
-
position: absolute;
|
|
26
|
-
left: 0;
|
|
27
|
-
height: 100%;
|
|
28
|
-
padding-right: 3px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.splitter-pane.vertical.splitter-paneR {
|
|
32
|
-
position: absolute;
|
|
33
|
-
right: 0;
|
|
34
|
-
height: 100%;
|
|
35
|
-
padding-left: 3px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.splitter-pane.horizontal.splitter-paneL {
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: 0;
|
|
41
|
-
width: 100%;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.splitter-pane.horizontal.splitter-paneR {
|
|
45
|
-
position: absolute;
|
|
46
|
-
bottom: 0;
|
|
47
|
-
width: 100%;
|
|
48
|
-
padding-top: 3px;
|
|
49
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, unref, computed, type PropType } from 'vue';
|
|
2
|
-
import resizer from './resizer';
|
|
3
|
-
import './index.css';
|
|
4
|
-
|
|
5
|
-
export interface ContextProps {
|
|
6
|
-
minPercent: number;
|
|
7
|
-
defaultPercent: number;
|
|
8
|
-
split: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/** 切割面板组件 */
|
|
12
|
-
export default defineComponent({
|
|
13
|
-
name: 'SplitPane',
|
|
14
|
-
components: { resizer },
|
|
15
|
-
props: {
|
|
16
|
-
splitSet: {
|
|
17
|
-
type: Object as PropType<ContextProps>,
|
|
18
|
-
require: true
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
emits: ['resize'],
|
|
22
|
-
setup(props, ctx) {
|
|
23
|
-
const active = ref(false);
|
|
24
|
-
const hasMoved = ref(false);
|
|
25
|
-
const percent = ref(props.splitSet?.defaultPercent);
|
|
26
|
-
const type = props.splitSet?.split === 'vertical' ? 'width' : 'height';
|
|
27
|
-
const resizeType = props.splitSet?.split === 'vertical' ? 'left' : 'top';
|
|
28
|
-
|
|
29
|
-
const leftClass = ref(['splitter-pane splitter-paneL', props.splitSet?.split]);
|
|
30
|
-
|
|
31
|
-
const rightClass = ref(['splitter-pane splitter-paneR', props.splitSet?.split]);
|
|
32
|
-
|
|
33
|
-
const cursor = computed(() => {
|
|
34
|
-
return active.value
|
|
35
|
-
? props.splitSet?.split === 'vertical'
|
|
36
|
-
? { cursor: 'col-resize' }
|
|
37
|
-
: { cursor: 'row-resize' }
|
|
38
|
-
: { cursor: 'default' };
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
const onClick = (): void => {
|
|
42
|
-
if (!hasMoved.value) {
|
|
43
|
-
percent.value = 50;
|
|
44
|
-
ctx.emit('resize', percent.value);
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const onMouseDown = (): void => {
|
|
49
|
-
active.value = true;
|
|
50
|
-
hasMoved.value = false;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
const onMouseUp = (): void => {
|
|
54
|
-
active.value = false;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
const onMouseMove = (e: any): void => {
|
|
58
|
-
if (e.buttons === 0 || e.which === 0) {
|
|
59
|
-
active.value = false;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
if (active.value) {
|
|
63
|
-
let offset = 0;
|
|
64
|
-
let target = e.currentTarget;
|
|
65
|
-
if (props.splitSet?.split === 'vertical') {
|
|
66
|
-
while (target) {
|
|
67
|
-
offset += target.offsetLeft;
|
|
68
|
-
target = target.offsetParent;
|
|
69
|
-
}
|
|
70
|
-
} else {
|
|
71
|
-
while (target) {
|
|
72
|
-
offset += target.offsetTop;
|
|
73
|
-
target = target.offsetParent;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
const currentPage = props.splitSet?.split === 'vertical' ? e.pageX : e.pageY;
|
|
78
|
-
const targetOffset =
|
|
79
|
-
props.splitSet?.split === 'vertical'
|
|
80
|
-
? e.currentTarget.offsetWidth
|
|
81
|
-
: e.currentTarget.offsetHeight;
|
|
82
|
-
const percents = Math.floor(((currentPage - offset) / targetOffset) * 10000) / 100;
|
|
83
|
-
|
|
84
|
-
if (percents > props.splitSet?.minPercent && percents < 100 - props.splitSet?.minPercent) {
|
|
85
|
-
percent.value = percents;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
ctx.emit('resize', percent.value);
|
|
89
|
-
|
|
90
|
-
hasMoved.value = true;
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
return () => (
|
|
95
|
-
<>
|
|
96
|
-
<div
|
|
97
|
-
class="vue-splitter-container clearfix"
|
|
98
|
-
style={unref(cursor)}
|
|
99
|
-
onMouseup={() => onMouseUp()}
|
|
100
|
-
onMousemove={() => onMouseMove(event)}
|
|
101
|
-
>
|
|
102
|
-
<div class={unref(leftClass)} style={{ [unref(type)]: unref(percent) + '%' }}>
|
|
103
|
-
{ctx.slots.paneL()}
|
|
104
|
-
</div>
|
|
105
|
-
<resizer
|
|
106
|
-
style={`${unref([resizeType])}:${unref(percent)}%`}
|
|
107
|
-
split={props.splitSet?.split}
|
|
108
|
-
onMousedown={() => onMouseDown()}
|
|
109
|
-
onClick={() => onClick()}
|
|
110
|
-
></resizer>
|
|
111
|
-
<div class={unref(rightClass)} style={{ [unref(type)]: 100 - unref(percent) + '%' }}>
|
|
112
|
-
{ctx.slots.paneR()}
|
|
113
|
-
</div>
|
|
114
|
-
<div v-show={unref(active)} class="vue-splitter-container-mask"></div>
|
|
115
|
-
</div>
|
|
116
|
-
</>
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
});
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
.splitter-pane-resizer {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
background: #000;
|
|
4
|
-
position: absolute;
|
|
5
|
-
opacity: 0.2;
|
|
6
|
-
z-index: 1;
|
|
7
|
-
background-clip: padding;
|
|
8
|
-
background-clip: padding-box;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.splitter-pane-resizer.horizontal {
|
|
12
|
-
height: 6px;
|
|
13
|
-
width: 100%;
|
|
14
|
-
background: #e5e6eb;
|
|
15
|
-
cursor: row-resize;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.splitter-pane-resizer.horizontal:before {
|
|
19
|
-
content: '\eda3';
|
|
20
|
-
font-family: 'iconfont';
|
|
21
|
-
font-size: 13px;
|
|
22
|
-
color: #000;
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 50%;
|
|
25
|
-
left: 50%;
|
|
26
|
-
transform: translate(-50%, -50%);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.splitter-pane-resizer.vertical {
|
|
30
|
-
width: 6px;
|
|
31
|
-
height: 100%;
|
|
32
|
-
background: #e5e6eb;
|
|
33
|
-
cursor: col-resize;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.splitter-pane-resizer.vertical:before {
|
|
37
|
-
content: '\e647';
|
|
38
|
-
font-family: 'iconfont';
|
|
39
|
-
font-size: 13px;
|
|
40
|
-
color: #000;
|
|
41
|
-
position: absolute;
|
|
42
|
-
top: 50%;
|
|
43
|
-
left: 50%;
|
|
44
|
-
transform: translate(-50%, -50%);
|
|
45
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: wei.li
|
|
3
|
-
* @Date: 2022-05-24 11:26:59
|
|
4
|
-
* @LastEditors: wei.li
|
|
5
|
-
* @LastEditTime: 2022-08-24 11:42:11
|
|
6
|
-
* @Description: file content
|
|
7
|
-
*/
|
|
8
|
-
import { computed, unref, defineComponent } from 'vue';
|
|
9
|
-
import './resizer.css';
|
|
10
|
-
|
|
11
|
-
export default defineComponent({
|
|
12
|
-
name: 'SuResizer',
|
|
13
|
-
props: {
|
|
14
|
-
split: {
|
|
15
|
-
type: String,
|
|
16
|
-
required: true
|
|
17
|
-
},
|
|
18
|
-
className: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: ''
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
setup(props) {
|
|
24
|
-
const classes = computed(() => {
|
|
25
|
-
return ['splitter-pane-resizer', props.split, props.className].join(' ');
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
return () => <div class={unref(classes)}></div>;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="cardClass">
|
|
3
|
-
<div class="list-card-item_detail bg-bg_color">
|
|
4
|
-
<el-row justify="space-between">
|
|
5
|
-
<div :class="cardLogoClass">
|
|
6
|
-
<!-- <shopIcon v-if="product.type === 1" />
|
|
7
|
-
<calendarIcon v-if="product.type === 2" />
|
|
8
|
-
<serviceIcon v-if="product.type === 3" />
|
|
9
|
-
<userAvatarIcon v-if="product.type === 4" />
|
|
10
|
-
<laptopIcon v-if="product.type === 5" /> -->
|
|
11
|
-
</div>
|
|
12
|
-
<div class="list-card-item_detail--operation">
|
|
13
|
-
<el-tag
|
|
14
|
-
:color="product.isSetup ? '#00a870' : '#eee'"
|
|
15
|
-
effect="dark"
|
|
16
|
-
class="mx-1 list-card-item_detail--operation--tag"
|
|
17
|
-
>
|
|
18
|
-
{{ product.isSetup ? '已启用' : '已停用' }}
|
|
19
|
-
</el-tag>
|
|
20
|
-
</div>
|
|
21
|
-
</el-row>
|
|
22
|
-
<p class="list-card-item_detail--name text-text_color_primary">
|
|
23
|
-
{{ product.name }}
|
|
24
|
-
</p>
|
|
25
|
-
<p class="list-card-item_detail--desc text-text_color_regular">
|
|
26
|
-
{{ product.description }}
|
|
27
|
-
</p>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
31
|
-
|
|
32
|
-
<script setup lang="ts">
|
|
33
|
-
import { computed, PropType } from 'vue';
|
|
34
|
-
// import shopIcon from '@/assets/svg/shop.svg?component';
|
|
35
|
-
// import laptopIcon from '@/assets/svg/laptop.svg?component';
|
|
36
|
-
// import serviceIcon from '@/assets/svg/service.svg?component';
|
|
37
|
-
// import calendarIcon from '@/assets/svg/calendar.svg?component';
|
|
38
|
-
// import userAvatarIcon from '@/assets/svg/user_avatar.svg?component';
|
|
39
|
-
import More2Fill from '@iconify-icons/ri/more-2-fill';
|
|
40
|
-
|
|
41
|
-
defineOptions({
|
|
42
|
-
name: 'SuCard'
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
interface CardProductType {
|
|
46
|
-
type: number;
|
|
47
|
-
isSetup: boolean;
|
|
48
|
-
description: string;
|
|
49
|
-
name: string;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
const props = defineProps({
|
|
53
|
-
product: {
|
|
54
|
-
type: Object as PropType<CardProductType>
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
const emit = defineEmits(['manage-product', 'delete-item']);
|
|
59
|
-
|
|
60
|
-
const handleClickManage = (product: CardProductType) => {
|
|
61
|
-
emit('manage-product', product);
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
const handleClickDelete = (product: CardProductType) => {
|
|
65
|
-
emit('delete-item', product);
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
const cardClass = computed(() => [
|
|
69
|
-
'list-card-item',
|
|
70
|
-
{ 'list-card-item__disabled': !props.product.isSetup }
|
|
71
|
-
]);
|
|
72
|
-
|
|
73
|
-
const cardLogoClass = computed(() => [
|
|
74
|
-
'list-card-item_detail--logo',
|
|
75
|
-
{ 'list-card-item_detail--logo__disabled': !props.product.isSetup }
|
|
76
|
-
]);
|
|
77
|
-
</script>
|
|
78
|
-
|
|
79
|
-
<style scoped lang="scss">
|
|
80
|
-
.list-card-item {
|
|
81
|
-
display: flex;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
margin-bottom: 12px;
|
|
84
|
-
overflow: hidden;
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
border-radius: 3px;
|
|
87
|
-
|
|
88
|
-
&_detail {
|
|
89
|
-
flex: 1;
|
|
90
|
-
min-height: 140px;
|
|
91
|
-
padding: 24px 32px;
|
|
92
|
-
|
|
93
|
-
&--logo {
|
|
94
|
-
display: flex;
|
|
95
|
-
align-items: center;
|
|
96
|
-
justify-content: center;
|
|
97
|
-
width: 56px;
|
|
98
|
-
height: 56px;
|
|
99
|
-
font-size: 32px;
|
|
100
|
-
color: #0052d9;
|
|
101
|
-
background: #e0ebff;
|
|
102
|
-
border-radius: 50%;
|
|
103
|
-
|
|
104
|
-
&__disabled {
|
|
105
|
-
color: #a1c4ff;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&--operation {
|
|
110
|
-
display: flex;
|
|
111
|
-
height: 100%;
|
|
112
|
-
|
|
113
|
-
&--tag {
|
|
114
|
-
border: 0;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&--name {
|
|
119
|
-
margin: 24px 0 8px;
|
|
120
|
-
font-size: 16px;
|
|
121
|
-
font-weight: 400;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&--desc {
|
|
125
|
-
display: -webkit-box;
|
|
126
|
-
height: 40px;
|
|
127
|
-
margin-bottom: 24px;
|
|
128
|
-
overflow: hidden;
|
|
129
|
-
text-overflow: ellipsis;
|
|
130
|
-
-webkit-line-clamp: 2;
|
|
131
|
-
font-size: 12px;
|
|
132
|
-
line-height: 20px;
|
|
133
|
-
-webkit-box-orient: vertical;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&__disabled {
|
|
138
|
-
.list-card-item_detail--name,
|
|
139
|
-
.list-card-item_detail--desc {
|
|
140
|
-
color: var(--el-text-color-disabled);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.list-card-item_detail--operation--tag {
|
|
144
|
-
color: #bababa;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
</style>
|