workflow-editor 0.0.81-up-tmp18 → 0.0.81-up-tmp20

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.
@@ -1,6 +1,6 @@
1
1
  !function(e, t) {
2
- "object" == typeof exports && "undefined" != typeof module ? t(exports, require("vuex"), require("agilebuilder-ui"), require("vue-i18n"), require("vue"), require("xml-js"), require("file-saver"), require("prismjs"), require("async-validator")) : "function" == typeof define && define.amd ? define(["exports", "vuex", "agilebuilder-ui", "vue-i18n", "vue", "xml-js", "file-saver", "prismjs", "async-validator"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).wfEditor = {}, e.vuex, e.agilebuilderUi, e.vueI18n, e.vue, e.convert, e.FileSaver, e.Prism, e.Validator);
3
- }(this, function(e, t, o, l, r, i, n, a, s) {
2
+ "object" == typeof exports && "undefined" != typeof module ? t(exports, require("vuex"), require("agilebuilder-ui"), require("vue-i18n"), require("vue"), require("@element-plus/icons-vue"), require("xml-js"), require("file-saver"), require("prismjs"), require("async-validator")) : "function" == typeof define && define.amd ? define(["exports", "vuex", "agilebuilder-ui", "vue-i18n", "vue", "@element-plus/icons-vue", "xml-js", "file-saver", "prismjs", "async-validator"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).wfEditor = {}, e.vuex, e.agilebuilderUi, e.vueI18n, e.vue, e.iconsVue, e.convert, e.FileSaver, e.Prism, e.Validator);
3
+ }(this, function(e, t, o, l, r, i, n, a, s, d) {
4
4
  "use strict";
5
5
  !function(e2) {
6
6
  var t2, o2 = '<svg><symbol id="icon-switch" viewBox="0 0 1024 1024"><path d="M701.74225 917.574059c-7.419408 0-14.960447-2.675852-20.9203-8.149187-12.649483-11.554816-13.500891-31.13719-2.067704-43.786673l119.318684-130.75187L679.119135 608.634755c-11.798076-12.527854-11.189928-32.110227 1.337926-43.786673 12.527854-11.798076 32.110227-11.189928 43.786673 1.337926l138.657798 147.171873c11.068298 11.798076 11.311557 30.164153 0.364889 42.205488l-138.657798 152.037059c-6.081482 6.568001-14.473928 9.973631-22.866373 9.973631z" fill="" ></path><path d="M806.343746 786.21404h-581.389713c-82.100012 0-148.996318-66.896306-148.996318-148.996318v-245.691888c0-17.14978 13.86578-31.01556 31.01556-31.01556s31.01556 13.86578 31.01556 31.01556v245.691888c0 47.922081 39.043117 86.965198 86.965198 86.965198h581.389713c17.14978 0 31.01556 13.86578 31.01556 31.01556s-13.86578 31.01556-31.01556 31.01556z" fill="" ></path><path d="M322.25775 468.76066c-8.270816 0-16.420002-3.284-22.623114-9.730371l-138.657798-147.171874c-11.068298-11.798076-11.311557-30.164153-0.364889-42.205487l138.657798-152.037059c11.554816-12.649483 31.13719-13.500891 43.786673-2.067704 12.649483 11.554816 13.500891 31.13719 2.067704 43.786673l-119.197054 130.8735 118.953795 126.251574c11.798076 12.527854 11.189928 32.110227-1.337926 43.786673-5.959853 5.716593-13.62252 8.514075-21.285189 8.514075z" fill="" ></path><path d="M917.026725 664.584392c-17.14978 0-31.01556-13.86578-31.01556-31.01556v-245.691887c0-47.922081-39.043117-86.965198-86.965198-86.965198h-581.389713c-17.14978 0-31.01556-13.86578-31.01556-31.01556s13.86578-31.01556 31.01556-31.01556h581.389713c82.100012 0 148.996318 66.896306 148.996318 148.996318v245.691887c0 17.14978-13.86578 31.01556-31.01556 31.01556z" fill="" ></path></symbol><symbol id="icon-properties" viewBox="0 0 1024 1024"><path d="M512.980327 64.636113c-246.706845 0-447.421192 200.714348-447.421192 447.421192 0 246.700705 200.714348 447.415053 447.421192 447.415053s447.421192-200.714348 447.421193-447.415053c0-246.706845-200.715371-447.421192-447.421193-447.421192z m0 833.54532c-212.913181 0-386.130268-173.21811-386.130267-386.125151 0-212.913181 173.21811-386.130268 386.130267-386.130268s386.130268 173.21811 386.130268 386.130268c0 212.908064-173.21811 386.125151-386.130268 386.125151z" ></path><path d="M606.931093 640.392182c-11.621688 0-55.209416 68.771293-79.423911 68.771293-6.780427 0-9.685593-5.813403-9.685593-11.624758 0-13.558807 8.715499-33.899064 13.558807-45.520753l57.147558-156.913773c28.088732-77.487815-8.717546-98.795097-42.617633-98.795097-46.491871 0-88.142479 23.245424-120.105449 54.240345-10.654664 10.654664-45.523823 44.554752-45.523823 59.083654 0 4.844332 4.843308 10.655687 10.655688 10.655687 14.528901 0 52.302203-69.739341 82.328053-69.739341 5.814426 0 13.561877 6.780427 7.751545 21.309329L426.773943 612.304474c-5.811356 13.558807-32.93204 79.423911-32.93204 118.167306 0 30.994921 19.373233 44.554752 48.432059 44.554752 80.391958 0 174.34477-99.765191 174.34477-123.009591-0.002047-6.780427-5.814426-11.624758-9.687639-11.624759zM590.464049 249.081938c-35.836183 0-65.86408 28.088732-65.86408 63.927985 0 32.93204 21.310352 55.210439 54.242392 54.239322 36.805254 0 66.832128-27.120684 66.832128-63.927985 0-32.92897-23.24747-54.239322-55.21044-54.239322z" ></path></symbol><symbol id="icon-delete" viewBox="0 0 1024 1024"><path d="M409.6 163.84h163.84v40.96h-163.84zM532.48 368.64h40.96v368.64h-40.96zM409.6 368.64h40.96v368.64h-40.96z" ></path><path d="M286.72 245.76v614.4h409.6V245.76H286.72z m450.56 0v655.36H245.76V245.76H204.8V204.8h573.44v40.96h-40.96z" ></path></symbol><symbol id="icon-custom-task" viewBox="0 0 1024 1024"><path d="M756.63132445 483.81952l220.74709333-209.7152a112.86755555 112.86755555 0 0 0 0-159.61656889l-55.08664889-55.08664889a112.86755555 112.86755555 0 0 0-157.54126222-2.00248889L549.13706667 262.12579555 339.71313778 38.39317333l-1.71121778-1.78403555a73.76440889 73.76440889 0 0 0-104.34787555-0.43690667L76.44046222 193.38581333a73.728 73.728 0 0 0-1.27431111 102.56384L281.49532445 516.36906667 86.41649778 701.69031111A112.94037333 112.94037333 0 0 0 54.26744889 757.76L21.28099555 898.55317333a74.67463111 74.67463111 0 0 0 93.7528889 88.65564445L250.76622222 947.23185778a113.48650667 113.48650667 0 0 0 45.8752-26.43285333l192.34816-182.73621334 231.66976 247.50762667 1.71121778 1.78403555a73.76440889 73.76440889 0 0 0 104.34787555 0.43690667L983.93201778 830.57777778a73.728 73.728 0 0 0 1.27431111-102.56384L756.63132445 483.81952zM292.89130667 823.95136l-102.52743112-102.52743111a35.82634667 35.82634667 0 0 0-11.14112-7.39100444l509.2511289-483.80131556 107.26058666 107.26058666c1.60199111 1.60199111 3.60448 2.36657778 5.42492444 3.60448l-508.26808888 482.85468445z m521.99424-713.83267555a40.04977778 40.04977778 0 0 1 55.88764444 0.72817777l55.08664889 55.08664889c15.65582222 15.65582222 15.65582222 40.99640889-0.72817778 57.344l-73.32750222 69.65020444c-1.45635555-2.36657778-2.54862222-4.87879111-4.62392889-6.95409777l-105.94986666-105.94986667 73.65518222-69.90506666z m-557.16522667 274.34097777c9.10222222-0.14563555 18.20444445-3.60448 25.15854222-10.55857777l54.61333333-54.61333334a36.37248 36.37248 0 1 0-51.48216888-51.48216889l-54.61333334 54.61333333a36.0448 36.0448 0 0 0-10.15808 23.04682667L128.35953778 246.21511111c-0.58254222-0.58254222-0.58254222-1.16508445-0.40049778-1.31072L285.17262222 87.6544c0.14563555-0.14563555 0.76458667-0.14563555 1.41994667 0.47331555l209.78801778 224.13312L334.32462222 466.23402667l-76.60430222-81.77436445zM94.46286222 917.37656889a1.82044445 1.82044445 0 0 1-2.29376-2.18453334L125.15555555 774.39886222c1.12867555-4.73315555 3.34961778-9.06581333 6.04387556-13.07079111a36.19043555 36.19043555 0 0 0 7.68227556 11.54161778l100.45212444 100.45212444a39.90414222 39.90414222 0 0 1-9.10222222 4.04138667l-135.76874667 40.01336889zM775.23626667 936.3456c-0.14563555 0.14563555-0.76458667 0.14563555-1.41994667-0.47331555l-142.90488889-152.66247112a35.53507555 35.53507555 0 0 0 16.01991111-8.77454222l54.61333333-54.61333333a36.37248 36.37248 0 1 0-51.48216888-51.48216889l-54.61333334 54.61333333a36.0448 36.0448 0 0 0-8.30122666 13.54410667l-45.40188445-48.53304889 162.05596445-153.97319111 228.21091555 243.83032889c0.54613333 0.58254222 0.54613333 1.16508445 0.40049778 1.31072L775.23626667 936.3456z" ></path></symbol><symbol id="icon-join" viewBox="0 0 1024 1024"><path d="M987.136 552.96c5.46133333-5.46133333 10.92266667-13.65333333 10.92266667-24.576 0-8.192-2.73066667-16.384-10.92266667-24.576L817.83466667 329.04533333c-5.46133333-2.73066667-13.65333333-8.192-24.576-8.192-8.192 0-19.11466667 2.73066667-24.576 10.92266667l-177.49333334 174.76266667C585.728 512 580.26666667 520.192 580.26666667 531.11466667s2.73066667 19.11466667 10.92266666 24.576l177.49333334 172.032c5.46133333 5.46133333 13.65333333 10.92266667 24.576 10.92266666 8.192 0 16.384-2.73066667 24.576-10.92266666L987.136 552.96zM25.94133333 970.752c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667h270.336c8.192 0 16.384-2.73066667 24.576-10.92266667 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576v-68.26666667h152.91733333c8.192 0 16.384-2.73066667 24.576-10.92266666 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576v-682.66666667c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H367.27466667V47.78666667c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H61.44c-8.192 0-16.384 2.73066667-24.576 10.92266667-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v221.184c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266666h270.336c8.192 0 16.384-2.73066667 24.576-10.92266666 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576V252.58666667h68.26666666c8.192 0 16.384 2.73066667 24.576 10.92266666 5.46133333 5.46133333 10.92266667 16.384 10.92266667 24.576V785.06666667c0 8.192-2.73066667 16.384-10.92266667 24.576-5.46133333 5.46133333-16.384 10.92266667-24.576 10.92266666h-68.26666666v-68.26666666c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H61.44c-8.192 0-16.384 2.73066667-24.576 10.92266667-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v218.45333333z" ></path></symbol><symbol id="icon-fork" viewBox="0 0 1024 1024"><path d="M36.864 471.04c-5.46133333 5.46133333-10.92266667 13.65333333-10.92266667 24.576 0 8.192 2.73066667 16.384 10.92266667 24.576l169.30133333 174.76266667c5.46133333 2.73066667 13.65333333 8.192 24.576 8.192 8.192 0 19.11466667-2.73066667 24.576-10.92266667l177.49333334-174.76266667c5.46133333-5.46133333 10.92266667-13.65333333 10.92266666-24.576s-2.73066667-19.11466667-10.92266666-24.576l-177.49333334-172.032c-5.46133333-5.46133333-13.65333333-10.92266667-24.576-10.92266666-8.192 0-16.384 2.73066667-24.576 10.92266666L36.864 471.04zM998.05866667 53.248c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266667H692.224c-8.192 0-16.384 2.73066667-24.576 10.92266667-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v68.26666667H503.808c-8.192 0-16.384 2.73066667-24.576 10.92266666-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v682.66666667c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667h152.91733333v101.03466666c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667H962.56c8.192 0 16.384-2.73066667 24.576-10.92266667 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576V755.02933333c0-8.192-2.73066667-16.384-10.92266667-24.576-5.46133333-5.46133333-16.384-10.92266667-24.576-10.92266666H692.224c-8.192 0-16.384 2.73066667-24.576 10.92266666-5.46133333 5.46133333-10.92266667 16.384-10.92266667 24.576v16.384h-68.26666666c-8.192 0-16.384-2.73066667-24.576-10.92266666-5.46133333-5.46133333-10.92266667-16.384-10.92266667-24.576V238.93333333c0-8.192 2.73066667-16.384 10.92266667-24.576 5.46133333-5.46133333 16.384-10.92266667 24.576-10.92266666h68.26666666v68.26666666c0 8.192 2.73066667 16.384 10.92266667 24.576 5.46133333 5.46133333 16.384 10.92266667 24.576 10.92266667H962.56c8.192 0 16.384-2.73066667 24.576-10.92266667 5.46133333-5.46133333 10.92266667-16.384 10.92266667-24.576V53.248z" ></path></symbol><symbol id="icon-copy-task" viewBox="0 0 1024 1024"><path d="M636.30222222 513.25155555c11.71911111-6.82666667 21.16266667-26.39644445 1.36533334-35.72622222-6.71288889-3.072-13.65333333-5.91644445-20.59377778-8.64711111C666.45333334 424.61866667 697.74222222 360.56177778 697.74222222 288.99555555c0-133.34755555-108.20266667-241.55022222-241.55022222-241.55022222S214.64177778 155.648 214.64177778 288.99555555c0 71.56622222 31.28888889 135.62311111 80.66844444 179.88266667-146.31822222 57.45777778-254.29333333 191.03288889-275.34222222 352.02844445-0.22755555 1.93422222-0.34133333 3.86844445-0.34133333 5.80266666 0 30.37866667 24.576 55.06844445 55.06844445 55.06844445H532.76444445c-21.04888889-38.912-33.10933333-83.51288889-33.10933333-130.84444445 0.11377778-101.48977778 55.06844445-190.00888889 136.6471111-237.68177778z m31.63022223 227.8968889l78.05155555 37.09155555 98.98666667-98.98666667z m133.91644444 133.91644444l56.88888889-171.23555556-94.09422222 94.09422222z" ></path><path d="M774.76977778 524.97066667c-124.47288889 0-225.84888889 101.26222222-225.84888889 225.84888888 0 124.47288889 101.26222222 225.84888889 225.84888889 225.8488889s225.84888889-101.26222222 225.84888889-225.8488889c0-124.47288889-101.26222222-225.84888889-225.84888889-225.84888888z m129.47911111 128l-87.15377777 262.25777778c-1.70666667 5.23377778-6.48533333 8.87466667-11.94666667 9.216h-0.91022223c-5.12 0-10.01244445-2.95822222-12.17422222-7.62311112l-54.49955555-112.64-110.93333333-52.90666666c-3.29955555-1.59288889-5.80266667-4.32355555-6.94044445-7.73688889-2.50311111-7.05422222 1.25155555-14.79111111 8.30577778-17.29422223l258.95822222-90.45333333c1.47911111-0.45511111 2.95822222-0.79644445 4.43733333-0.79644444 3.64088889 0 6.94044445 1.36533333 9.55733334 3.86844444 3.52711111 3.75466667 4.89244445 9.216 3.29955555 14.10844445z" ></path></symbol><symbol id="icon-subprocess" viewBox="0 0 1024 1024"><path d="M1023.78666667 129.49333333c-0.32-6.93333333-1.28-13.86666667-2.56-20.48s-3.2-13.12-5.54666667-19.41333333c-0.74666667-2.13333333-1.6-4.16-2.45333333-6.18666667-3.73333333-8.85333333-8.42666667-17.28-13.86666667-25.06666666-0.32-0.53333333-0.74666667-1.06666667-1.06666667-1.49333334-0.96-1.28-1.92-2.66666667-2.98666666-3.94666666-0.32-0.32-0.53333333-0.74666667-0.85333334-1.06666667-2.56-3.2-5.22666667-6.29333333-8-9.28l-0.21333333-0.21333333c-5.97333333-6.29333333-12.58666667-12.05333333-19.73333333-17.06666667-1.49333333-1.06666667-2.98666667-2.02666667-4.48-3.09333333-1.6-1.06666667-3.2-2.02666667-4.90666667-3.09333334-0.85333333-0.53333333-1.81333333-1.06666667-2.66666667-1.6-1.28-0.74666667-2.45333333-1.38666667-3.73333333-2.02666666-0.64-0.32-1.28-0.64-2.02666667-1.06666667-1.28-0.64-2.66666667-1.28-4.05333333-1.92-2.56-1.17333333-5.22666667-2.34666667-7.89333333-3.41333333-1.49333333-0.64-3.09333333-1.17333333-4.58666667-1.70666667-2.34666667-0.85333333-4.8-1.6-7.25333333-2.24-3.2-0.96-6.50666667-1.70666667-9.81333334-2.45333333-5.54666667-1.17333333-11.2-1.92-16.96-2.34666667-3.52-0.21333333-6.93333333-0.42666667-10.45333333-0.42666667s-7.04 0.10666667-10.45333333 0.42666667c-5.76 0.42666667-11.41333333 1.28-16.96 2.34666667-3.30666667 0.64-6.61333333 1.49333333-9.81333334 2.45333333-2.45333333 0.64-4.8 1.49333333-7.25333333 2.24-1.49333333 0.53333333-3.09333333 1.06666667-4.58666667 1.70666667-2.66666667 1.06666667-5.33333333 2.13333333-7.89333333 3.41333333-1.38666667 0.64-2.66666667 1.28-4.05333333 1.92-0.64 0.32-1.28 0.64-2.02666667 1.06666667-1.28 0.64-2.56 1.38666667-3.73333333 2.02666666-0.96 0.53333333-1.81333333 1.06666667-2.66666667 1.6-1.6 0.96-3.30666667 2.02666667-4.90666667 3.09333334-1.49333333 0.96-2.98666667 2.02666667-4.48 3.09333333-7.14666667 5.01333333-13.76 10.77333333-19.73333333 17.06666667l-0.21333333 0.21333333c-2.77333333 2.98666667-5.44 6.08-8 9.28-0.32 0.32-0.53333333 0.74666667-0.85333334 1.06666667-0.96 1.28-2.02666667 2.56-2.98666666 3.94666666-0.32 0.53333333-0.74666667 1.06666667-1.06666667 1.49333334-5.44 7.78666667-10.13333333 16.21333333-13.86666667 25.06666666-0.85333333 2.02666667-1.70666667 4.16-2.45333333 6.18666667-2.34666667 6.29333333-4.16 12.8-5.54666667 19.41333333s-2.24 13.54666667-2.56 20.48c-0.10666667 2.34666667-0.21333333 4.69333333-0.21333333 7.04 0 3.52 0.10666667 7.04 0.42666667 10.45333334 0.42666667 5.76 1.28 11.41333333 2.34666666 16.96 0.64 3.30666667 1.49333333 6.61333333 2.45333334 9.81333333 5.22666667 18.34666667 14.18666667 35.09333333 26.02666666 49.49333333 0.74666667 0.85333333 1.38666667 1.70666667 2.13333334 2.45333334 4.16 4.8 8.74666667 9.38666667 13.54666666 13.65333333l-105.81333333 306.98666667c-3.09333333-0.21333333-6.18666667-0.32-9.28-0.32-14.93333333 0-29.33333333 2.45333333-42.77333333 6.82666666-0.64 0.21333333-1.28 0.42666667-1.81333334 0.64-1.49333333 0.53333333-3.09333333 1.06666667-4.58666666 1.70666667-2.34666667 0.96-4.69333333 1.92-7.04 2.98666667L466.56 395.62666667c2.34666667-5.44 4.37333333-11.2 6.08-16.96 0.96-3.2 1.70666667-6.50666667 2.45333333-9.81333334 1.17333333-5.54666667 1.92-11.2 2.34666667-16.96 0.21333333-3.52 0.42666667-6.93333333 0.42666667-10.45333333 0-2.34666667-0.10666667-4.69333333-0.21333334-7.04-0.32-6.93333333-1.28-13.86666667-2.56-20.48-7.04-34.45333333-27.09333333-64.10666667-54.72-83.84-0.85333333-0.64-1.81333333-1.28-2.66666666-1.92-6.4-4.26666667-13.12-8.10666667-20.16-11.30666667-2.02666667-0.96-4.05333333-1.81333333-6.08-2.56s-4.16-1.6-6.29333334-2.34666666c-13.76-4.69333333-28.48-7.14666667-43.84-7.14666667-3.52 0-7.04 0.10666667-10.45333333 0.42666667-5.76 0.42666667-11.41333333 1.28-16.96 2.34666666-3.30666667 0.64-6.61333333 1.49333333-9.81333333 2.45333334-2.45333333 0.64-4.8 1.49333333-7.25333334 2.24-1.49333333 0.53333333-3.09333333 1.06666667-4.58666666 1.70666666-2.66666667 1.06666667-5.33333333 2.13333333-7.89333334 3.41333334-1.38666667 0.64-2.66666667 1.28-4.05333333 1.92-0.64 0.32-1.28 0.64-2.02666667 1.06666666-1.28 0.64-2.56 1.38666667-3.73333333 2.02666667-0.96 0.53333333-1.81333333 1.06666667-2.66666667 1.6-1.6 0.96-3.30666667 2.02666667-4.90666666 3.09333333-1.49333333 0.96-2.98666667 2.02666667-4.48 3.09333334-7.14666667 5.01333333-13.76 10.77333333-19.73333334 17.06666666l-0.21333333 0.21333334c-2.77333333 2.98666667-5.44 6.08-8 9.28-0.32 0.32-0.53333333 0.74666667-0.85333333 1.06666666-0.96 1.28-2.02666667 2.56-2.98666667 3.94666667-0.32 0.53333333-0.74666667 1.06666667-1.06666667 1.49333333-5.44 7.78666667-10.13333333 16.21333333-13.86666666 25.06666667-0.85333333 2.02666667-1.70666667 4.16-2.45333334 6.18666667-2.34666667 6.29333333-4.16 12.8-5.54666666 19.41333333s-2.24 13.54666667-2.56 20.48c-0.10666667 2.34666667-0.21333333 4.69333333-0.21333334 7.04 0 3.52 0.10666667 7.04 0.42666667 10.45333333 0.42666667 5.76 1.28 11.41333333 2.34666667 16.96 0.64 3.30666667 1.49333333 6.61333333 2.45333333 9.81333334 5.22666667 18.34666667 14.18666667 35.09333333 26.02666667 49.49333333 0.74666667 0.85333333 1.38666667 1.70666667 2.13333333 2.45333333 0.64 0.74666667 1.28 1.49333333 1.92 2.13333334L129.6 751.04c-12.48 0.64-24.53333333 2.88-35.84 6.61333333-0.64 0.21333333-1.28 0.42666667-1.81333333 0.64-1.49333333 0.53333333-3.09333333 1.06666667-4.58666667 1.70666667-2.66666667 1.06666667-5.33333333 2.13333333-7.89333333 3.41333333-3.30666667 1.49333333-6.61333333 3.2-9.81333334 5.01333334-0.96 0.53333333-1.81333333 1.06666667-2.66666666 1.6-1.6 0.96-3.30666667 2.02666667-4.90666667 3.09333333-1.49333333 0.96-2.98666667 2.02666667-4.48 3.09333333-1.81333333 1.28-3.52 2.56-5.22666667 3.94666667-0.85333333 0.64-1.70666667 1.38666667-2.56 2.02666667-2.56 2.13333333-5.01333333 4.26666667-7.36 6.50666666-0.74666667 0.74666667-1.6 1.49333333-2.34666666 2.24-1.49333333 1.49333333-3.09333333 3.09333333-4.48 4.69333334-1.49333333 1.6-2.88 3.30666667-4.26666667 4.90666666-2.77333333 3.41333333-5.44 6.82666667-7.89333333 10.56-4.90666667 7.25333333-9.17333333 15.04-12.58666667 23.14666667-0.85333333 2.02666667-1.70666667 4.16-2.45333333 6.18666667-0.74666667 2.13333333-1.49333333 4.16-2.13333334 6.29333333-1.28 4.26666667-2.45333333 8.64-3.41333333 13.12s-1.6 8.96-2.02666667 13.54666667c-0.42666667 4.58666667-0.74666667 9.28-0.74666666 13.97333333 0 75.41333333 61.12 136.53333333 136.53333333 136.53333333s136.53333333-61.12 136.53333333-136.53333333c0-4.69333333-0.21333333-9.38666667-0.74666666-13.97333333-0.42666667-4.58666667-1.17333333-9.06666667-2.02666667-13.54666667s-2.02666667-8.85333333-3.41333333-13.12c-0.64-2.13333333-1.38666667-4.26666667-2.13333334-6.29333333-0.74666667-2.13333333-1.6-4.16-2.45333333-6.18666667-3.41333333-8.21333333-7.68-15.89333333-12.58666667-23.14666667-2.45333333-3.62666667-5.12-7.14666667-7.89333333-10.56-1.38666667-1.70666667-2.77333333-3.30666667-4.26666667-4.90666666s-2.98666667-3.2-4.48-4.69333334c-0.74666667-0.74666667-1.6-1.49333333-2.34666666-2.24-1.38666667-1.38666667-2.88-2.66666667-4.37333334-3.94666666l106.45333334-307.2c2.77333333 0.21333333 5.65333333 0.32 8.42666666 0.32 16.53333333 0 32.32-2.88 46.93333334-8.32 1.81333333-0.64 3.52-1.38666667 5.33333333-2.13333334l162.13333333 164.8c-0.42666667 1.17333333-0.85333333 2.24-1.28 3.41333334-0.74666667 2.13333333-1.49333333 4.16-2.13333333 6.29333333-1.28 4.26666667-2.45333333 8.64-3.41333333 13.12s-1.6 8.96-2.02666667 13.54666667c-0.42666667 4.58666667-0.74666667 9.28-0.74666667 13.97333333 0 75.41333333 61.12 136.53333333 136.53333334 136.53333333s136.53333333-61.12 136.53333333-136.53333333c0-4.69333333-0.21333333-9.38666667-0.74666667-13.97333333-0.42666667-4.58666667-1.17333333-9.06666667-2.02666666-13.54666667s-2.02666667-8.85333333-3.41333334-13.12c-0.64-2.13333333-1.38666667-4.26666667-2.13333333-6.29333333-0.74666667-2.13333333-1.6-4.16-2.45333333-6.18666667-3.41333333-8.21333333-7.68-15.89333333-12.58666667-23.14666667-2.45333333-3.62666667-5.12-7.14666667-7.89333333-10.56-1.06666667-1.38666667-2.24-2.66666667-3.41333334-3.94666666l109.97333334-318.93333334c1.17333333-0.10666667 2.24-0.10666667 3.41333333-0.21333333 5.76-0.42666667 11.41333333-1.28 16.96-2.34666667 3.30666667-0.64 6.61333333-1.49333333 9.81333333-2.45333333 18.34666667-5.22666667 35.09333333-14.18666667 49.49333334-26.02666667 0.85333333-0.74666667 1.70666667-1.38666667 2.45333333-2.13333333 4.90666667-4.26666667 9.6-8.96 13.86666667-13.86666667 0.74666667-0.85333333 1.38666667-1.70666667 2.13333333-2.45333333 11.84-14.29333333 20.8-31.14666667 26.02666667-49.49333333 0.96-3.2 1.70666667-6.50666667 2.45333333-9.81333334 1.17333333-5.54666667 1.92-11.2 2.34666667-16.96 0.21333333-3.52 0.42666667-6.93333333 0.42666666-10.45333333 0.10666667-2.45333333 0-4.8-0.10666666-7.14666667z" ></path></symbol><symbol id="icon-human-decision" viewBox="0 0 1024 1024"><path d="M519.5 594.47733333c-4.1 10.399-6.1 21.398-6.1 32.197 0 23.198 8.899 46.395 26.497 64.294l29.897 29.997 1.7 1.4c17.398 16.798 39.996 24.997 62.494 24.997 22.998 0 46.396-8.7 63.794-26.397h0.2l176.883-176.983 1.6-1.5c16.698-17.598 24.797-40.196 24.797-62.794 0-23.197-8.8-46.195-26.397-63.794h0.1l0.1-0.4-29.898-29.797c-17.598-17.498-40.796-26.297-64.293-26.297-11 0-21.998 1.9-32.497 5.9L557.696 174.41733333c4.2-10.399 6.099-21.498 6.099-32.497 0-23.198-9-46.395-26.697-64.293L507.2 47.83033333C489.602 30.23333333 466.404 21.33333333 443.107 21.33333333c-23.198 0-46.696 8.9-64.294 26.497L201.93 224.81333333l-1.5 1.5c-16.398 17.698-24.797 40.296-24.797 62.494 0 23.398 8.799 46.595 26.397 64.394l29.897 29.897 1.7 1.4c17.598 16.898 40.096 25.097 62.494 25.097 10.999 0 21.898-2.2 32.497-6l18.898 18.999L31.546 738.86333333C10.55 759.86133333 0.05 787.45833333 0.05 814.95533333c0 27.798 10.499 55.495 31.497 76.393 21.198 21.098 48.795 31.597 76.392 31.597 27.698 0 55.195-10.499 76.293-31.597l315.97-316.07 19.297 19.199zM959.956 981.33933333H512c-35.197 0-63.994-28.797-63.994-63.994 0-35.196 28.797-63.993 63.994-63.993h447.956c35.197 0 63.994 28.797 63.994 63.993 0 35.197-28.797 63.994-63.994 63.994z" ></path></symbol><symbol id="icon-human-task" viewBox="0 0 1024 1024"><path d="M924.33066667 123.33511111H776.87466667v163.84h-546.13333334v-163.84H99.66933333c-19.11466667 0-32.768 19.11466667-32.768 38.22933334v813.73866666c0 21.84533333 16.384 38.22933333 35.49866667 38.22933334h816.46933333c19.11466667 0 35.49866667-16.384 35.49866667-38.22933334V161.56444445c0-21.84533333-16.384-38.22933333-35.49866667-38.22933334h5.46133334zM790.528 445.55377778L471.04 838.76977778c2.73066667 5.46133333-5.46133333 5.46133333-10.92266667 2.73066667l-232.10666666-191.14666667c-5.46133333-2.73066667-5.46133333-10.92266667-2.73066667-16.384l38.22933333-49.152c2.73066667-5.46133333 10.92266667-5.46133333 16.384-2.73066667l174.76266667 147.456 273.06666667-338.60266666c2.73066667-8.192 10.92266667-8.192 16.384-2.73066667l43.69066666 38.22933333c8.192 2.73066667 10.92266667 8.192 2.73066667 19.11466667zM643.072 74.18311111V41.41511111c0-30.03733333-27.30666667-49.152-57.344-49.152H419.15733333c-30.03733333 0-57.344 19.11466667-57.344 49.152v32.768h-65.536v163.84h412.33066667v-163.84h-65.536z m-139.264 98.304c-32.768 0-60.07466667-27.30666667-60.07466667-60.07466666s27.30666667-60.07466667 60.07466667-60.07466667 60.07466667 27.30666667 60.07466667 60.07466667c0 38.22933333-27.30666667 60.07466667-60.07466667 60.07466666z m0 0" ></path></symbol><symbol id="icon-decision" viewBox="0 0 1024 1024"><path d="M580.175027 28.57919l414.065896 414.065896a97.58526 97.58526 0 0 1 0 138.00065l-414.065896 414.065896a97.58526 97.58526 0 0 1-138.000649 0l-414.065897-414.065896a97.58526 97.58526 0 0 1 0-138.00065l414.065897-414.065896a97.58526 97.58526 0 0 1 138.000649 0z" ></path></symbol><symbol id="icon-end" viewBox="0 0 1024 1024"><path d="M512 25.6C243.2 25.6 25.6 243.2 25.6 512S243.2 998.4 512 998.4 998.4 780.8 998.4 512 780.8 25.6 512 25.6z m162.304 615.936c0 17.92-14.336 32.256-32.256 32.256H382.464c-17.92 0-32.256-14.336-32.256-32.256V381.952c0-17.92 14.336-32.256 32.256-32.256h259.584c17.92 0 32.256 14.336 32.256 32.256v259.584z m0 0" ></path></symbol><symbol id="icon-start" viewBox="0 0 1024 1024"><path d="M960.62577778 322.33244445c-24.46222222-57.91288889-59.61955555-110.02311111-104.33422223-154.73777778s-96.82488889-79.872-154.73777777-104.33422222C641.59288889 37.888 577.87733333 25.03111111 512.11377778 25.03111111c-65.64977778 0-129.47911111 12.85688889-189.44 38.22933334-57.91288889 24.46222222-110.02311111 59.61955555-154.73777778 104.33422222s-79.872 96.82488889-104.33422222 154.73777778C38.22933333 382.29333333 25.37244445 446.00888889 25.37244445 511.77244445c0 65.64977778 12.85688889 129.47911111 38.22933333 189.44 24.46222222 57.91288889 59.61955555 110.02311111 104.33422222 154.73777777s96.82488889 79.872 154.73777778 104.33422223c59.96088889 25.37244445 123.67644445 38.22933333 189.44 38.22933333 65.64977778 0 129.47911111-12.97066667 189.44-38.22933333 57.91288889-24.46222222 110.02311111-59.61955555 154.73777777-104.33422223s79.872-96.82488889 104.33422223-154.73777777c25.37244445-59.96088889 38.22933333-123.67644445 38.22933333-189.44 0-65.64977778-12.85688889-129.47911111-38.22933333-189.44z m-236.65777778 233.13066666L464.09955555 755.14311111C422.11555555 797.01333333 350.43555555 767.31733333 350.43555555 708.03911111V308.79288889c0-59.27822222 71.68-88.97422222 113.664-47.104l259.86844445 199.56622222c26.05511111 26.05511111 26.05511111 68.15288889 0 94.208z" ></path></symbol><symbol id="icon-virtual-human-task" viewBox="0 0 1496 1024"><path d="M864 1024H160C70.4 1024 0 953.6 0 864V160C0 70.4 70.4 0 160 0h704c89.6 0 160 70.4 160 160v704c0 89.6-70.4 160-160 160zM160 64c-51.2 0-96 44.8-96 96v704c0 51.2 44.8 96 96 96h704c51.2 0 96-44.8 96-96V160c0-51.2-44.8-96-96-96H160z" fill="#C9CED6" ></path></symbol><symbol id="icon-fuzhi" viewBox="0 0 1024 1024"><path d="M394.667 106.667h448a74.667 74.667 0 0 1 74.666 74.666v448A74.667 74.667 0 0 1 842.667 704h-448A74.667 74.667 0 0 1 320 629.333v-448a74.667 74.667 0 0 1 74.667-74.666z m0 64A10.667 10.667 0 0 0 384 181.333v448A10.667 10.667 0 0 0 394.667 640h448a10.667 10.667 0 0 0 10.666-10.667v-448a10.667 10.667 0 0 0-10.666-10.666h-448zM640 768a32 32 0 0 1 64 0v74.667a74.667 74.667 0 0 1-74.667 74.666h-448a74.667 74.667 0 0 1-74.666-74.666v-448A74.667 74.667 0 0 1 181.333 320H256a32 32 0 0 1 0 64h-74.667a10.667 10.667 0 0 0-10.666 10.667v448a10.667 10.667 0 0 0 10.666 10.666h448A10.667 10.667 0 0 0 640 842.667V768z" ></path></symbol></svg>';
@@ -45,22 +45,22 @@
45
45
  }(t3, document.body));
46
46
  });
47
47
  }(window);
48
- const d = { workflowEditorPublicModel: { add: "Add", insert: "Insert", delete: "Delete", viewConditions: "View Conditions", agree: "Agree", disagree: "Disagree", andOr: "And / Or", mail: "Mail", message: "Message", App: "App", dingding: "DingTalk", qiwei: "Weixin", feishu: "Lark", determine: "Determine", cancel: "Cancel", choice: "Choice", empty: "Empty", save: "Save", export: "Export", open: "Open", return: "Return", flowChart: "Flow Chart", close: "Close", selectPage: "Select Page", search: "Search", adminSave: "Admin Save", tipTitle: "Tip", i18nSet: "I18n Setting", i18nZh: "Chinese", i18nEn: "English", i18nKey: "I18n Key", subprocessTitle: "Subprocess History", custom: "Custom", enable: "Enable" }, workflowEditorMessage: { requiredAndMustBeADate: "Required And Must Be A Date", requiredAndMustBeAnInteger: "Required And Must Be An Integer", requiredAndMustBeDecimal: "Required And Must Be Decimal", mustFill: "Must Fill", recordLine: "Record Line {row}", pageRecordLine: "Record in row {row} of page {pageNum}", currentHandlingPersonnel: "Current Handling Personnel", pleaseSelect: "Please Select", pleaseSelectARow: "Please Select A Row", conditionsHaveNotBeenSet: "Conditions Have Not Been Set", viewConditions: "View Conditions", fieldSettings: "Field Settings", valueSetting: "Value Setting", pleaseEnterContent: "Please Enter Content", theFieldNameOrFieldValueInLineCannotBeEmpty: "The Field Name Or Field Value In Line {row} Cannot Be Empty", fieldNameCannotBeEmpty: "Field Name Cannot Be Empty", fieldValueCannotBeEmpty: "Field Value Cannot Be Empty", pleaseEnterASubject: "Please Enter A Subject", selectStandardFields: "Select Standard Fields", pleaseEnterTheRoleName: "Please Enter The Role Name", queryResultIsEmpty: "Query Result Is Empty", selectRole: "Select Role", enterText: "Enter Text", selectField: "Select Field", pleaseSelectPersonnel: "Please Select Personnel", pleaseSelectAValue: "Please Select A Value", pleaseSelectAValueInTheCurrentTab: "Please Select A Value In The Current Tab", variableNameCannotBeEmpty: "Variable Name Cannot Be Empty", variableValueCannotBeEmpty: "Variable Value Cannot Be Empty", variableNameOrValueOnLineCannotBeEmpty: "Variable Name Or Value On Line {row} Cannot Be Empty", whenThereAreMultipleManagers: "When There Are Multiple Managers", duplicateOperationTypeWithLinePleaseReselect: "Duplicate Operation Type With Line {row}, Please Reselect", theOperationTypeOrNameInLineIsEmpty: "The Operation Type Or Name In Line {row} Is Empty", readOnly: "Read Only", pleaseEnterFieldName: "Please Enter Field Name", dataInLineCannotBeEmpty: "{data1} Or {data2} In Line {row} Cannot Be Empty", dataCannotBeEmpty: "{data} Cannot Be Empty", theStartAndEndOfTheFlowDirectionCannotBeTheSame: "The Start And End Of The Flow Direction Cannot Be The Same", onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows: "Only Condition Judgment, Branch And Manual Judgment Can Have Multiple Outbound Flows", startAndEndNodesCannotBeConnectedDirectly: "Start And End Nodes Cannot Be Connected Directly", endNodeCannotHaveOutFlowDirection: "End Node Cannot Have Out Flow Direction", itIsTheSameAsTheExistingLink: "It Is The Same As The Existing Link: {name}", updateSuccessful: "Update Successful", savedSuccessfully: "Saved Successfully", exportSucceeded: "Export Succeeded", pleaseSelectRole: "Please select role", subTableMustInputDatas: "The [{subtable}] subtable must enter data", pleaseEnterTheNameOrCode: "Please Enter The Name Or Describe", updateVersionSuccessful: "Version updated successfully", addVersionSuccessful: "Version added successfully", adminSaveTip: "The version must be added in the following cases:", adminSaveTip1: "1.The process name or code has been modified", adminSaveTip2: "2.The node name or code has been modified", adminSaveTip3: "3.Added node or flow direction", adminSaveTip4: "4.Node or flow direction removed", adminSaveTip5: 'Please select "Add Version" or "Update Current Version"?', updateVersion: "Update Current Version", addVersion: "Add Version", pleaseInputCode: "Please input the code first, and then do the international configuration", blankFieldNameOrValue: "Blank Field Name Or Value", enabledSuccessfully: "Enabled Successfully", additionalParam: "Request parameter" }, workflowEditor: { main: { tacheType: "Tache Type", straightLine: "Straight Line", curveLine: "Curve Line", brokenLine: "Broken Line" }, common: { remove: "Remove", attribute: "Attribute", fieldName: "Field Name(*)", operator: "Operator", value: "Value(*)", name: "Name", fieldValue: "Field Value", separator: "Separator", fillInMethod: "Fill In Method", cover: "Cover", append: "Append", insertToFront: "Insert To Front", fillInTime: "Fill In Time", fillInBeforeHandling: "Fill In Before Handling", fillInAfterHandling: "Fill In After Handling", type: "Type(*)", user: "User", role: "Role", department: "Department", workgroup: "Workgroup", selectFormField: "Select Form Field", notificationMethod: "Notification Method", addressee: "Addressee", theme: "Theme", content: "Content", notifyPersonnel: "Notify Personnel", selectusers: "Select Users", selectDepartment: "Select Department", selectTeam: "Select Team", selectRole: "Select Role", organizationStructure: "Organization Structure", formField: "Form Field", variableName: "Variable Name", variableValue: "Variable Value", selectField: "Select Field", taskNotice: "Task Notice", reminderNotice: "Reminder Notice", customMsg: "Custom Notice Message", canNotBeEmpty: "can Not Be Empty", copy: "Copy" }, process: { processInitiator: "Process Initiator", processInitiatorRole: "Process Initiator Role", processInitiatorDepartment: "ProcessInitiator Department", processInitiatorSuperiorDepartment: "Process Initiator Superior Ddepartment", processInitiatorTopDepartment: "Process Initiator Top Department", processInitiatorWorkingGroup: "Process Initiator Working Group", nameOfTheDirectSuperiorOfTheProcessInitiator: "Name Of The Direct Superior Of The Process Initiator", processInitiatorsDirectSuperiorDepartment: "Process initiator`s Direct Superior Department", directSuperiorRoleOfProcessInitiator: "Direct Superior Role Of Process Initiator", ProcessInitiatorsImmediateSuperiorWorkingGroup: "Process Initiator`s Immediate Superior Working Group", nameOfCurrentHandler: "Name Of Current Handler", currentHandlerRole: "Current Handler Role", currentHandlerDepartment: "Current Handler Department", currentHandlerSuperiorDepartment: "Current Handler`s Superior Department", topDepartmentOfCurrentHandler: "Top Department Of current Handler", currentHandlerWorkingGroup: "Current Handler Working Group", nameOfTheImmediateSuperiorOfTheCurrentHandler: "Name Of The Immediate Superior Of The Current Handler", currentHandlerDirectSuperiorDepartment: "Current handler`s Direct Superior Department", currentManagerDirectSuperiorRole: "Current Manager`s Direct Superior Role", workingGroupDirectlyUnderTheCurrentHandler: "Working Group Directly Under The Current Handler", topDepartments: "Top Departments", approvalResults: "Approval Results", totalNnumberOfPersonsWhoDisagreeWithTheCountersignature: "Total Number O Persons Who Disagree With The Countersignature", totalNumberOfCountersignedAndAgreedPersonnel: "Total Number Of Countersigned And Agreed Personnel", percentageOfPersonsWhoDisagreeWithTheCountersignature: "Percntage Of Persons Who Disagree With The Countersignature", percentageOfCountersignedAndAgreedPersonnel: "Percentage Of Countersigned And Agreed Personnel", percentageOfAbstentions: "Percentage Of Abstentions", percentageOfVotesAgainst: "Percentage Of Votes Against", percentageOfAffirmativeVotes: "Percentage Of Affirmative Votes", totalNumberOfAbstentions: "Total Number Of Abstentions", totalVotesAgainst: "Total Votes Against", totalNumberOfAffirmativeVotes: "Total Number Of Affirmative Votes", standardFields: "Standard Fields", perhaps: "Perhaps", also: "Also", greaterThan: "Greater Than", lessThan: "Less Than", beEqualTo: "Be Equal To", notGreaterThan: "Not Greater Than", notLessThan: "Not Less Than", notEqualTo: "Not Equal To", contain: "Contain", notIncluded: "Not Included", laterThan: "Later Than", earlierThan: "Earlier Than", noLaterThan: "No Later Than", noEarlierThan: "No Earlier Than", handlingTimeOfThisLink: "Handling Time Of This Link", handlerIDOfThisLink: "Handler ID Of This Link", currentHandlerPrincipalDepartmentID: "Current Handler Principal Department ID", iDOfTheImmediateSuperiorOfTheCurrentHandler: "ID Of The Immediate Superior Of The Current Handler", iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler: "ID Of The Superior Department Directly Under The Current Handler", loginNameOfTheHandlerInThisLink: "Login Name Of The Handler In This Link", NameOfCurrentHandler: "Name Of Current Handler", CurrentHandlerDepartment: "Current Handler Department", CurrentHandlerDepartmentID: "Current Handler Department ID", CurrentManagersPrincipalDepartment: "Current Manager`s Principal Department", iDOfSsuperiorDepartmentOfCurrentHandler: "ID Of Superior Department Of Current Handler", CurrentHandlersSuperiorDepartment: "Current Handler`s Superior Department", TopDepartmentOfCurrentHandler: "Top Department Of Current Handler", TopDepartmentIDOfCurrentHandler: "Top Department ID Of Current Handler", CurrentHandlerRole: "Current Handler Role", CurrentHandlerRoleID: "Current Handler Role ID", CurrentHandlerWorkingGroupID: "Current Handler Working Group ID", LoginNameOfTheImmediateSuperiorOfTheCurrentHandler: "Login Name Of The Immediate Superior Of The Current Handler", currentHandlersDirectSuperiorDepartment: "Current handler`s Direct Superior Department", currentManagersDirectSuperiorDepartment: "Current Manager`s Direct Superior Department", currentManagersDirectSuperiorRole: "Current manager`s Direct Superior Role", currentHandlersDirectSuperiorRoleID: "Current Handler`s Direct Superior Role ID", currentManagersDirectSuperiorWork: "Current Manager`s Direct Superior Work", iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler: "ID Of The Working Group Directly Under The Current Handler", operationsPerformedInThisPhase: "Operations Performed In This Phase", handlerIDOfThePreviousLink: "Handler ID Of The Previous Link", lastLinkHandlerLogin: "Last Link Handler Login", nameOfHandlerInThePreviousLink: "Name Of Handler In The Previous Link", currentManagersIdDirectlyUnderTheSuperior: "Current Manager`s Id Directly Under The Ssuperior", appointmentOfHandlerInThePreviousLink: "Appointment Of Handler In The Previous Link", personSpecifiedInFormField: "Person Specified In Form Field", filterByCriteria: "Filter by Criteria", additionalConditions: "Additional Conditions", handlingYyThePersonnelOfTheDepartmentOfTheInitiator: "Handling By The Personnel Of The Department Of The Initiator", personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling: "Personnel Of The Department Where The Initiator Works Participate In The Handling", selectSpecificHandler: "Select Specific Handler", selectOneFromDept: "Only one person is required to handle the same department", generateOneInstanceFromDept: "Generate an instance from the same department", selectionMethod: "Selection Method", manualSelection: "Manual Selection", autoSelect: "Auto Select", callbackURL: "Callback URL", cannotBeEmpty: "Cannot Be Empty", selectURL: "Select URL", fieldName: "Field Name", processAdministrator: "Process Administrator", currentHandler: "Current Handler", allHandlingPersonnel: "All Handling Personnel", designatedPersonnel: "Designated Personnel", listOfDesignatedPersons: "List Of Designated Persons", processName: "Process Name", processCode: "Process Code", creater: "Creater", correspondingForm: "Corresponding Form", processType: "Process Type", system: "System", affiliatedBranch: "Affiliated Branch", customCategory: "Custom Category", initiationProcess: "Initiation Process", deleteProcess: "Delete Process", cancelProcess: "Cancel Process", endProcess: "End Process", pauseProcess: "Pause Process", continueTheProcess: "Continue The Process", jumpLink: "Jump Link", modificationHandler: "Modification Handler", addHandler: "Add Handler", decreaseOofHandler: "Decrease Of Handler", appointedTask: "Appointed Task", returnTask: "Return Task", retrieveTask: "Retrieve Task", processTaskParameterSettings: "Process Task Parameter Settings", uRLForProcessingTask: "URL For Processing Task", parametersForReceivingTaskID: "Parameters For Receiving Task ID", viewFormParameterSettings: "View Form Parameter Settings", viewTheURLOfTheForm: "View The URL Of The Form", parametersOfReceivingEntityID: "Parameters Of Receiving Entity ID", emergencyTreatmentParameterSetting: "Emergency Treatment Parameter Setting", uRLOfEmergencyHandling: "URL Of Emergency Handling", initiateProcessParameterSettings: "Initiate Process Parameter Settings", uRLOfTheInitiatingProcess: "URL Of The Initiating Process", parametersForReceivingProcessName: "Parameters For Receiving Process Name", customParameterValue: "Custom Parameter Value", ViewFlowHistoryPersonnel: "View Flow History Personnel", ViewCountersignatureResultPersonnel: "View Countersignature Result Personnel", ViewVotingResultsBy: "View Voting Results By", name: "Name", code: "Code", subprocess: "Subprocess", transferValueFromMainFormToSubForm: "Transfer Value From Main Form To Sub Form", fieldsOfTheMainForm: "Fields Of The Main Form", fieldsOfSubform: "Fields Of Subform", subformReturnsResultsToMainForm: "Subform Returns Results To Main Form", eventsTriggeredBeforeStartingASubprocess: "Events Triggered Before Starting A Subprocess", triggerSubprocessEndEvent: "Trigger Subprocess End Event", setTheHandlerOfTheFirstPhaseOfTheSubProcess: "Set The Handler Of The First Phase Of The Sub Process", keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly: "Keep The Handler Unchanged When The Target Link Is Handled Repeatedly", branchingCondition: "Branching Condition", processProperties: "Process Properties", basicProperties: "Basic Properties", permissionSettings: "Permission Settings", notificationSettings: "Notification Settings", sendNotificationAfterProcessEnds: "Send Notification After Process Ends", reminderSettings: "Notice And Reminder Settings", parameterSsetting: "Parameter Setting", event: "Event", processVariables: "Process Variables", propertiesOfSubprocesses: "Properties Of Subprocesses", settingOfHandler: "Setting Of Handler", eventProcessing: "Event Processing", sponsorsImmediateSuperior: "Sponsor`s Immediate Superior", sponsorsSuperiorDepartment: "Sponsor`s Superior Department", sponsorTopDepartment: "Sponsor Top Department", superiorDepartmentDirectlyUnderTheInitiator: "Superior Department Directly Under The Initiator", sponsorsImmediateSuperiorWorkingGroup: "Sponsor`s Immediate Superior Working Group", lastLinkHandlerDepartment: "Last Link Handler Department", previousLinkHandlerSuperiorDepartment: "Previous Link Handler Superior Department", topDepartmentOfHandlerInThePreviousLink: "Top Department Of Handler In The Previous Link", previousLinkHandlersDirectSuperiorDepartment: "Previous Link Handler`s Direct Superior Department", previousLinkHandlerWorkingGroup: "Previous Link Handler Working Group", workingGroupDirectlyUnderTheManagerInThePreviousLink: "Working Group Directly Under The Manager In The Previous Link", getSubprocessEntityBean: "Get subprocess entity bean", getSubprocessEntityBeanPlaceholder: "The format is:xxxServiceImpl,for example:exampleServiceImpl", getSubprocessEntityBeanInfo: 'The bean needs to implement the interface "tech.imatrix.wf.core.OnStartingSubProcess"', isNull: "Is Null", isNotNull: "Is Not Null", defaultMailTemplate: "Default Mail Template", defaultCommonTemplate: "Default Common Template", trustTask: "Trust Task", subprocessIsSharedForm: "Main process and subprocess shared form", generateForParttimeDept: "Generate tasks for part-time department personnel", deptSpecifiedInFormField: "Dept Specified In Form Field", activateOneVoteVeto: "Activate one vote veto", systemVersion: "System Version", tableCode: "DataTable Name", deptApprover: "Authorized approver of the drafting department", superiorDeptApprover: "Drafted by the authorized approver of the superior department", superiorDeptLeader: "Drafted by the superior department head" }, task: { newCc: "New Cc", judge: "Judge", end: "End", branch: "Branch", manualJudgment: "Manual Judgment", newTask: "New Task", converge: "Converge", newProcess: "New Process", start: "Start", subprocess: "Subprocess", needToBeUrged: "Need To Be Urged", urgingMethod: "Urging Method", timeLimitForHandling: "Time Limit For Handling", day: "Day", urgingInterval: "Urging Interval", hour: "Hour", alwaysUrging: "Always Urging", limitedUrging: "Limited Urging", timesOfUrging: "Times Of Urging", includingHandoverPersonnel: "Including Handover Personnel", handoverPersonnel: "Handover Personnel", includeNotifyPeople: "Include Notify People", name: "Name", code: "Code", taskTitle: "Task Title", emailNotification: "Email Notification", handlingPage: "Handling Page", remarks: "Remarks", allowViews: "Allow Views", allowToViewCountersignatureResults: "Allow To View Countersignature Results", allowToViewVotingResults: "Allow To View Voting Results", allowToViewFlowHistory: "Allow To View Flow History", allowFormsToPrint: "Allow Forms To Print", attachmentAuthority: "Attachment Authority", downloadAttachment: "Download Attachment", bodyPermission: "Body Permission(Temporarily Closed)", additionalConditions: "Additional Conditions", setConditions: "Set Conditions", HandlingMethod: "Handling Method", editorial: "Editorial", approvalType: "Approval Type", countersign: "Countersign", voting: "Voting", anyOneCanHandleIt: "Any One Can Handle It", forAll: "For All", passRate: "Pass Rate", modifyOperationName: "Modify Operation Name", operationType: "Operation Type", visibleOrNot: "Visible Or Not", save: "Save", submission: "Submission", agree: "Agree", disagree: "Disagree", favor: "Favor", opposition: "Opposition", waiver: "Waiver", receive: "Receive", giveUp: "Give Up", additionalSignature: "Additional Signature", reductionOfSignature: "Reduction Of Signature", assignTask: "Assign Task", copyTask: "Copy Task", retrieveTask: "Retrieve Task", exportReport: "Export Report", readTask: "Read", selectEditableField: "Select Editable Field", optionalField: "Optional Field", selectedFields: "Selected Fields", editingMethod: "Editing Method", propertyName: "Property Name", condition: "Condition", nothing: "Nothing", beforeSubmission: "Before Submission", executionURL: "Execution URL", errorMessage: "Error Message", afterSubmission: "After Submission", allowEditingForms: "Allow Editing Forms", commentsAllowed: "Comments Allowed", commentsAreRequired: "Comments Are Required", deletePermission: "Delete Permission", addAttachment: "Add Attachment", deleteAttachment: "Delete Attachment", propertiesOfCCTask: "Properties Of CC Task", basicProperties: "Basic Properties", settingOfHandler: "Setting Of Handler", permissionSettings: "Permission Settings", attributeOfConditionJudgment: "Attribute Of Condition Judgment", allBranchFlows: "All Branch Flows", targetLink: "Target Link", propertiesOfBranches: "Properties Of Branches", attributesOfManualJudgment: "Attributes of manual Judgment", linkAttribute: "Link Attribute", autoFillInFieldSettings: "Auto Fill In Field Settings", reminderSettings: "Notice And Reminder Settings", eventProcessing: "Event Processing", linkVariable: "Link Variable", convergedProperties: "Converged Properties", humanTask: "Human Task", conditionJudgment: "Condition Judgment", cCtask: "CC Task", canItBeRejected: "Can It Be Rejected", selectNoticeTemplate: "Select Notice Template", selectMailTemplate: "Select Email Template", selectTemplate: "Select Template", autoTask: "Auto Task", newAutoTask: "New Auto Task", propertiesOfAutoTask: "Properties Of Auto Task", custombeanName: "Custom Bean Name", baseField: "Base Field", reminderTipTemplateMsg: "Template Description:", reminderTipRemindMsg: "Reminder Description:", reminderTipTemplateNotice: 'Notification templates: DingTalk, Enterprise WeChat, Feishu, and Customization all use notification templates. When using email, if "email template" is not selected, use notification template', reminderTipTemplateEmail: "Email Template: Customized Email Template", reminderTipRemindImmediately: "The reminder method, notification template, email template, maximum number of reminders, notification method, notification personnel, and transfer personnel will take effect immediately after modification", reminderTipRemindHistory: "The processing time limit, processing time granularity (days/hours), reminder interval, reminder interval time granularity (days/hours) are only effective for newly initiated processes. If historical data also requires the latest configuration, please contact the operation and maintenance personnel to adjust" }, transition: { flowProperties: "Flow Properties", basicProperties: "Basic Properties", notificationSettings: "Notification Settings", sendNotificationAfterFlow: "Send Notification After Flow", autoFillInFieldSettings: "Auto Fill In Field Settings", eventProcessing: "Event Processing", triggerFlowThroughEvent: "Trigger Flow Through Event", beanName: "Bean Name" }, condition: { combinationCondition: "Combination Condition", currentUserId: "Current User ID", currentUserLogin: "Current User Login", currentUserName: "Current User Name", fillInManually: "Fill In Manually", environmentVariable: "Environment Variable", databaseFields: "Database fields", requestParameters: "Request Parameters", currentTime: "Current Time", currentDate: "Current Date", currentTransactor: "Current Transactor", currentTransactorName: "Current Transactor Name", currentTransactorId: "Current Transactor Id", currentTransactorMainDepartmentId: "Current Transactor Main Department Id", currentTransactorMainDepartment: "Current Transactor Main Department", currentTransactorRoleId: "Current Transactor Role Id", currentTransactorRole: "Current Transactor Role", currentTransactorWorkGroupId: "Current Transactor Work Group Id", currentTransactorWorkGroup: "Current Transactor Work Group", whenTheVariableIsEmpty: "When The Variable Is Empty", ignore11: "Ignore (1 = 1)", nonConformity: "Non Conformity (1 < > 1)", currentHandler: "Current Handler", currentTaskClient: "Current Task Client", currentAssignor: "Current Assignor", rowsCanBeAdded: "Rows Can Be Added", deleteLine: "Delete Line", modifiableHistoricalData: "Modifiable Historical Data", controlByField: "Control By Field", allReadOnly: "All Read Only", allRequired: "All Required", mainTableField: "Main Table Field", linkName: "Link Name", linkCode: "Link Code", taskFields: "Task Fields", systemParameter: "System Parameter", personnelScope: "Personnel Scope", mainTableConditions: "Main Table Conditions", subtableCondition: "Subtable Condition", accessControl: "Access Control", formBindingModel: "Form Binding Model", allFields: "All Fields", tableDataNotEmpty: "Table Data Not Empty" } } }, c = { workflowEditorPublicModel: { add: "添加", insert: "插入", delete: "删除", viewConditions: "查看条件", agree: "同意", disagree: "不同意", andOr: "并且/或者", mail: "邮件", message: "短信", App: "App", dingding: "钉钉", qiwei: "企业微信", feishu: "飞书", determine: "确定", cancel: "取消", choice: "选择", empty: "清空", save: "保存", export: "导出", open: "打开", return: "返回", flowChart: "流程图", close: "关闭", selectPage: "选择页面", search: "查询", adminSave: "管理员保存", tipTitle: "提示", i18nSet: "国际化设置", i18nZh: "中文", i18nEn: "英文", i18nKey: "国际化key", subprocessTitle: "子流程流转历史", custom: "自定义", enable: "启用" }, workflowEditorMessage: { requiredAndMustBeADate: "必填且必须为日期", requiredAndMustBeAnInteger: "必填且必须为整数", requiredAndMustBeDecimal: "必填且必须为小数", mustFill: "必填", recordLine: "第{row}行记录", pageRecordLine: "第{pageNum}页第{row}行记录", currentHandlingPersonnel: "当前办理人员", pleaseSelect: "请选择", pleaseSelectARow: "请选中一行", conditionsHaveNotBeenSet: "还未设置条件", viewConditions: "查看条件", fieldSettings: "字段设置", valueSetting: "值设置", pleaseEnterContent: "请输入内容", theFieldNameOrFieldValueInLineCannotBeEmpty: "第{row}行的字段名或者字段值不能为空", fieldNameCannotBeEmpty: "字段名不能为空", fieldValueCannotBeEmpty: "字段值不能为空", pleaseEnterASubject: "请输入主题", selectStandardFields: "选择标准字段", pleaseEnterTheRoleName: "请输入角色名称", queryResultIsEmpty: "查询结果为空", selectRole: "选择角色", enterText: "输入文字", selectField: "选择字段", pleaseSelectPersonnel: "请选择人员", pleaseSelectAValue: "请选择值", pleaseSelectAValueInTheCurrentTab: "请在当前页签中选中一个值", variableNameCannotBeEmpty: "变量名不能为空", variableValueCannotBeEmpty: "变量值不能为空", variableNameOrValueOnLineCannotBeEmpty: "第{row}行的变量名或者变量值不能为空", whenThereAreMultipleManagers: "多个办理人时", duplicateOperationTypeWithLinePleaseReselect: "与第{row}行的操作类型重复了,请重新选择", theOperationTypeOrNameInLineIsEmpty: "第{row}行的操作类型或者名称为空", readOnly: "只读", pleaseEnterFieldName: "请输入字段名", dataInLineCannotBeEmpty: "第{row}行的{data1}或{data2}不能为空", dataCannotBeEmpty: "{data}不能为空", theStartAndEndOfTheFlowDirectionCannotBeTheSame: "流向的起点和终点不能相同", onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows: "只有条件判断、分支以及人工判断才能有多条外出流向", startAndEndNodesCannotBeConnectedDirectly: "开始节点和结束节点不能直接相连", endNodeCannotHaveOutFlowDirection: "结束节点不能有外出流向", itIsTheSameAsTheExistingLink: "与已有环节:{name}的编码重复", updateSuccessful: "更新成功", savedSuccessfully: "保存成功", exportSucceeded: "导出成功", pleaseSelectRole: "请选择角色", subTableMustInputDatas: "[{subTable}] 子表必须录入数据", pleaseEnterTheNameOrCode: "请输入字段名或字段描述", updateVersionSuccessful: "成功更新版本", addVersionSuccessful: "成功增加版本", adminSaveTip: "有以下几种情况时必须增加版本:", adminSaveTip1: "1、修改了流程名称或编码", adminSaveTip2: "2、修改了节点名称或编码", adminSaveTip3: "3、增加了节点或流向", adminSaveTip4: "4、移除了节点或流向", adminSaveTip5: "请选择“增加版本”或“更新当前版本”?", updateVersion: "更新当前版本", addVersion: "增加版本", pleaseInputCode: "请先输入编码,再做国际化配置", blankFieldNameOrValue: "字段名或值有空白", enabledSuccessfully: "启用成功", additionalParam: "请求参数" }, workflowEditor: { main: { tacheType: "环节类型", straightLine: "直线", curveLine: "曲线", brokenLine: "折线" }, common: { remove: "移除", attribute: "属性", fieldName: "字段名(*)", operator: "操作符", value: "值(*)", name: "字段名", fieldValue: "字段值", separator: "分隔符", fillInMethod: "填写方式", cover: "覆盖", append: "追加", insertToFront: "插入到最前", fillInTime: "填写时间", fillInBeforeHandling: "办理前填写", fillInAfterHandling: "办理后填写", type: "类别(*)", user: "用户", role: "角色", department: "部门", workgroup: "工作组", selectFormField: "选择表单字段", notificationMethod: "通知方式", addressee: "收件人", theme: "主题", content: "内容", notifyPersonnel: "通知人员", selectusers: "选择用户", selectDepartment: "选择部门", selectTeam: "选择工作组", selectRole: "选择角色", organizationStructure: "组织结构", formField: "表单字段", variableName: "变量名", variableValue: "变量值", selectField: "选择字段", taskNotice: "待办通知", reminderNotice: "催办通知", customMsg: "自定义消息内容", canNotBeEmpty: "不能为空", copy: "复制" }, process: { processInitiator: "起草人", processInitiatorRole: "起草人角色", processInitiatorDepartment: "起草人部门", processInitiatorSuperiorDepartment: "起草人上级部门", processInitiatorTopDepartment: "起草人顶级部门", processInitiatorWorkingGroup: "起草人工作组", nameOfTheDirectSuperiorOfTheProcessInitiator: "起草人直属上级姓名", processInitiatorsDirectSuperiorDepartment: "起草人直属上级部门", directSuperiorRoleOfProcessInitiator: "起草人直属上级角色", ProcessInitiatorsImmediateSuperiorWorkingGroup: "起草人直属上级工作组", nameOfCurrentHandler: "当前办理人姓名", currentHandlerRole: "当前办理人角色", currentHandlerDepartment: "当前办理人部门", currentHandlerSuperiorDepartment: "当前办理人上级部门", topDepartmentOfCurrentHandler: "当前办理人顶级部门", currentHandlerWorkingGroup: "当前办理人工作组", nameOfTheImmediateSuperiorOfTheCurrentHandler: "当前办理人直属上级姓名", currentHandlerDirectSuperiorDepartment: "当前办理人直属上级部门", currentManagerDirectSuperiorRole: "当前办理人直属上级角色", workingGroupDirectlyUnderTheCurrentHandler: "当前办理人直属上级工作组", topDepartments: "顶级部门", approvalResults: "审批结果", totalNnumberOfPersonsWhoDisagreeWithTheCountersignature: "会签不同意人员总数", totalNumberOfCountersignedAndAgreedPersonnel: "会签同意人员总数", percentageOfPersonsWhoDisagreeWithTheCountersignature: "会签不同意人员百分比", percentageOfCountersignedAndAgreedPersonnel: "会签同意人员百分比", percentageOfAbstentions: "弃权票百分比", percentageOfVotesAgainst: "反对票百分比", percentageOfAffirmativeVotes: "赞成票百分比", totalNumberOfAbstentions: "弃权票总数", totalVotesAgainst: "反对票总数", totalNumberOfAffirmativeVotes: "赞成票总数", standardFields: "标准字段", perhaps: "或者", also: "并且", greaterThan: "大于", lessThan: "小于", beEqualTo: "等于", notGreaterThan: "不大于", notLessThan: "不小于", notEqualTo: "不等于", contain: "包含", notIncluded: "不包含", laterThan: "晚于", earlierThan: "早于", noLaterThan: "不晚于", noEarlierThan: "不早于", handlingTimeOfThisLink: "本环节办理时间", handlerIDOfThisLink: "本环节办理人id", currentHandlerPrincipalDepartmentID: "当前办理人正职部门id", iDOfTheImmediateSuperiorOfTheCurrentHandler: "当前办理人直属上级id", iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler: "当前办理人直属上级正职部门id", loginNameOfTheHandlerInThisLink: "本环节办理人登录名", NameOfCurrentHandler: "当前办理人姓名", CurrentHandlerDepartment: "当前办理人部门", CurrentHandlerDepartmentID: "当前办理人部门id", CurrentManagersPrincipalDepartment: "当前办理人正职部门", iDOfSsuperiorDepartmentOfCurrentHandler: "当前办理人上级部门id", CurrentHandlersSuperiorDepartment: "当前办理人上级部门", TopDepartmentOfCurrentHandler: "当前办理人顶级部门", TopDepartmentIDOfCurrentHandler: "当前办理人顶级部门id", CurrentHandlerRole: "当前办理人角色", CurrentHandlerRoleID: "当前办理人角色id", CurrentHandlerWorkingGroupID: "当前办理人工作组id", LoginNameOfTheImmediateSuperiorOfTheCurrentHandler: "当前办理人直属上级登录名", currentHandlersDirectSuperiorDepartment: "当前办理人直属上级部门", currentManagersDirectSuperiorDepartment: "当前办理人直属上级正职部门", currentManagersDirectSuperiorRole: "当前办理人直属上级角色", currentHandlersDirectSuperiorRoleID: "当前办理人直属上级角色id", currentManagersDirectSuperiorWork: "当前办理人直属上级工作", iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler: "当前办理人直属上级工作组id", operationsPerformedInThisPhase: "本环节执行的操作", handlerIDOfThePreviousLink: "上一环节办理人id", lastLinkHandlerLogin: "上一环节办理人登录名", nameOfHandlerInThePreviousLink: "上一环节办理人姓名", currentManagersIdDirectlyUnderTheSuperior: "当前办理人直属上级部门id", appointmentOfHandlerInThePreviousLink: "上一环节办理人指定", personSpecifiedInFormField: "表单字段中指定的人员", filterByCriteria: "按条件筛选", additionalConditions: "附加条件", handlingYyThePersonnelOfTheDepartmentOfTheInitiator: "起草人所在部门人员办理", personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling: "起草人所在部门人员参与办理", selectSpecificHandler: "选择具体办理人", selectOneFromDept: "同一部门仅需一人办理", generateOneInstanceFromDept: "同一部门生成一个实例", selectionMethod: "选择方式", manualSelection: "人工选择", autoSelect: "自动选择", callbackURL: "回调URL", cannotBeEmpty: "不能为空", selectURL: "选人URL", fieldName: "字段名称", processAdministrator: "流程管理员", currentHandler: "当前办理人", allHandlingPersonnel: "所有办理人员", designatedPersonnel: "指定人员", listOfDesignatedPersons: "指定人员列表", processName: "流程名称", processCode: "流程编码", creater: "创建人", correspondingForm: "对应表单", processType: "流程类型", system: "所属系统", affiliatedBranch: "所属分支机构", customCategory: "自定义类别", initiationProcess: "发起流程", deleteProcess: "删除流程", cancelProcess: "取消流程", endProcess: "结束流程", pauseProcess: "暂停流程", continueTheProcess: "继续流程", jumpLink: "跳转环节", modificationHandler: "修改办理人", addHandler: "增加办理人", decreaseOofHandler: "减少办理人", appointedTask: "指派任务", returnTask: "退回任务", retrieveTask: "取回任务", processTaskParameterSettings: "办理任务参数设置", uRLForProcessingTask: "办理任务的url", parametersForReceivingTaskID: "接收任务id的参数", viewFormParameterSettings: "查看表单参数设置", viewTheURLOfTheForm: "查看表单的url", parametersOfReceivingEntityID: "接收实体id的参数", emergencyTreatmentParameterSetting: "应急处理参数设置", uRLOfEmergencyHandling: "应急处理的url", initiateProcessParameterSettings: "发起流程参数设置", uRLOfTheInitiatingProcess: "发起流程的url", parametersForReceivingProcessName: "接收流程名称的参数", customParameterValue: "自定义参数值", ViewFlowHistoryPersonnel: "查看流转历史人员", ViewCountersignatureResultPersonnel: "查看会签结果人员", ViewVotingResultsBy: "查看投票结果人员", name: "名称", code: "编码", subprocess: "子流程", transferValueFromMainFormToSubForm: "主表单给子表单传值", fieldsOfTheMainForm: "主表单的字段", fieldsOfSubform: "子表单的字段", subformReturnsResultsToMainForm: "子表单返回结果给主表单", eventsTriggeredBeforeStartingASubprocess: "启动子流程前事件", triggerSubprocessEndEvent: "触发子流程结束事件", setTheHandlerOfTheFirstPhaseOfTheSubProcess: "设置子流程第一环节办理人", keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly: "目标环节重复办理时保持办理人不变", branchingCondition: "分支条件", processProperties: "流程属性", basicProperties: "基本属性", permissionSettings: "权限设置", notificationSettings: "通知设置", sendNotificationAfterProcessEnds: "流程结束后发送通知", reminderSettings: "通知与催办", parameterSsetting: "参数设置", event: "事件", processVariables: "流程变量", propertiesOfSubprocesses: "子流程的属性", settingOfHandler: "办理人设置", eventProcessing: "事件处理", sponsorsImmediateSuperior: "起草人直属上级", sponsorsSuperiorDepartment: "起草人上级部门", sponsorTopDepartment: "起草人顶级部门", superiorDepartmentDirectlyUnderTheInitiator: "起草人直属上级部门", sponsorsImmediateSuperiorWorkingGroup: "起草人直属上级工作组", lastLinkHandlerDepartment: "上一环节办理人部门", previousLinkHandlerSuperiorDepartment: "上一环节办理人上级部门", topDepartmentOfHandlerInThePreviousLink: "上一环节办理人顶级部门", previousLinkHandlersDirectSuperiorDepartment: "上一环节办理人直属上级部门", previousLinkHandlerWorkingGroup: "上一环节办理人工作组", workingGroupDirectlyUnderTheManagerInThePreviousLink: "上一环节办理人直属上级工作组", getSubprocessEntityBean: "获得子流程实体bean", getSubprocessEntityBeanPlaceholder: "格式为:xxxServiceImpl,例如:exampleServiceImpl", getSubprocessEntityBeanInfo: "该bean需要实现接口tech.imatrix.wf.core.OnStartingSubProcess", isNull: "等于Null", isNotNull: "不等于Null", defaultMailTemplate: "默认邮件模板", defaultCommonTemplate: "默认通知模板", trustTask: "委托任务", subprocessIsSharedForm: "主子流程共用表单", generateForParttimeDept: "为兼职部门人员生成任务", deptSpecifiedInFormField: "表单字段中指定的部门", activateOneVoteVeto: "一票否决", systemVersion: "系统版本", tableCode: "对应数据表", deptApprover: "起草人部门授权审批人", superiorDeptApprover: "起草人上级部门授权审批人", superiorDeptLeader: "起草人上级部门负责人" }, task: { newCc: "新抄送", judge: "判断", end: "结束", branch: "分支", manualJudgment: "人工判断", newTask: "新任务", converge: "汇聚", newProcess: "新流程", start: "开始", subprocess: "子流程", needToBeUrged: "需要催办", urgingMethod: "催办方式", timeLimitForHandling: "办理时限", day: "天", urgingInterval: "催办间隔", hour: "小时", alwaysUrging: "一直催办", limitedUrging: "限次催办", timesOfUrging: "催办次数", includingHandoverPersonnel: "包含移交人员", handoverPersonnel: "移交人员", includeNotifyPeople: "包含通知人员", name: "名称", code: "编码", taskTitle: "任务标题", emailNotification: "邮件通知", handlingPage: "办理页面", remarks: "备注", allowViews: "允许查看意见", allowToViewCountersignatureResults: "允许查看会签结果", allowToViewVotingResults: "允许查看投票结果", allowToViewFlowHistory: "允许查看流转历史", allowFormsToPrint: "允许打印表单", attachmentAuthority: "附件权限", downloadAttachment: "下载附件", bodyPermission: "正文权限(暂不开放)", additionalConditions: "附加条件", setConditions: "设置条件", HandlingMethod: "办理方式", editorial: "编辑式", approvalType: "审批式", countersign: "会签式", voting: "投票式", anyOneCanHandleIt: "任意一人办理即可", forAll: "所有人均需办理", passRate: "通过率", modifyOperationName: "修改操作名称", operationType: "操作类型", visibleOrNot: "是否可见", save: "保存", submission: "提交", agree: "同意", disagree: "不同意", favor: "赞成", opposition: "反对", waiver: "弃权", receive: "领取", giveUp: "放弃", additionalSignature: "加签", reductionOfSignature: "减签", assignTask: "指派", copyTask: "抄送", retrieveTask: "取回", exportReport: "导出报告", readTask: "阅", selectEditableField: "选择可编辑字段", optionalField: "可选字段", selectedFields: "已选字段", editingMethod: "编辑方式", propertyName: "属性名", condition: "条件", nothing: "无", beforeSubmission: "提交前", executionURL: "执行url", errorMessage: "出错信息", afterSubmission: "提交后", allowEditingForms: "允许编辑表单", commentsAllowed: "允许填写意见", commentsAreRequired: "必须填写意见", deletePermission: "删除权限", addAttachment: "添加附件", deleteAttachment: "删除附件", propertiesOfCCTask: "抄送任务的属性", basicProperties: "基本属性", settingOfHandler: "办理人设置", permissionSettings: "权限设置", attributeOfConditionJudgment: "条件判断的属性", allBranchFlows: "所有分支流向", targetLink: "目标环节", propertiesOfBranches: "分支的属性", attributesOfManualJudgment: "人工判断的属性", linkAttribute: "环节属性", autoFillInFieldSettings: "自动填写字段设置", reminderSettings: "通知与催办", eventProcessing: "事件处理", linkVariable: "环节变量", convergedProperties: "汇聚的属性", humanTask: "人工任务", conditionJudgment: "条件判断", cCtask: "抄送任务", canItBeRejected: "是否可驳回", selectNoticeTemplate: "选择通知模板", selectMailTemplate: "选择邮件模板", selectTemplate: "选择模板", autoTask: "自动任务", newAutoTask: "新自动任务", propertiesOfAutoTask: "自动任务的属性", custombeanName: "自定义bean", baseField: "基础字段", reminderTipTemplateMsg: "模板说明:", reminderTipRemindMsg: "催办说明:", reminderTipTemplateNotice: "通知模板:钉钉、企微、飞书、自定义都使用通知模板。邮件方式时,如果没有选“邮件模板”,则使用通知模板", reminderTipTemplateEmail: "邮件模板:邮件方式特制模板", reminderTipRemindImmediately: "催办方式、通知模板、邮件模板、催办次数、通知方式、通知人员、移交人员 修改后立即生效", reminderTipRemindHistory: "办理时限、办理时限的时间粒度(天/小时)、催办间隔、催办间隔的时间粒度(天/小时)仅对新发起的流程生效,如历史数据也需要应用最新配置,请联系运维人员调整" }, transition: { flowProperties: "流向属性", basicProperties: "基本属性", notificationSettings: "通知设置", sendNotificationAfterFlow: "流过后发送通知", autoFillInFieldSettings: "自动填写字段设置", eventProcessing: "事件处理", triggerFlowThroughEvent: "触发流过事件", beanName: "bean名称" }, condition: { combinationCondition: "组合条件", currentUserId: "当前用户ID", currentUserLogin: "当前用户登录名", currentUserName: "当前用户姓名", fillInManually: "手动填写", environmentVariable: "环境变量", databaseFields: "数据库字段", requestParameters: "请求参数", currentTime: "当前时间", currentDate: "当前日期", currentTransactor: "当前用户登录名", currentTransactorName: "当前用户姓名", currentTransactorId: "当前用户id", currentTransactorMainDepartmentId: "当前用户部门id", currentTransactorMainDepartment: "当前用户部门名称", currentTransactorRoleId: "当前用户角色id", currentTransactorRole: "当前用户角色名称", currentTransactorWorkGroupId: "当前用户工作组id", currentTransactorWorkGroup: "当前用户工作组名称", whenTheVariableIsEmpty: "变量为空时", ignore11: "忽略(1=1)", nonConformity: "不符合(1<>1)", currentHandler: "当前办理人", currentTaskClient: "当前任务委托人", currentAssignor: "当前指派人", rowsCanBeAdded: "可添加行", deleteLine: "可删除行", modifiableHistoricalData: "可修改历史数据", controlByField: "按字段控制", allReadOnly: "全部只读", allRequired: "全部必填", mainTableField: "主表字段", linkName: "环节名称", linkCode: "环节编码", taskFields: "任务字段", systemParameter: "系统参数", personnelScope: "人员范围", mainTableConditions: "主表条件", subtableCondition: "子表条件", accessControl: "进行权限控制", formBindingModel: "表单绑定model", allFields: "全部字段", tableDataNotEmpty: "表格数据不为空" } } }, m = { en: d, cn: c }, u = l.createI18n({ locale: "cn", messages: m, legacy: false });
49
- function p() {
50
- return { attr: { id: "newHumanTask", name: u.global.t("workflowEditor.task.newTask") }, g: {}, basicProperties: { processingMode: { type: "EDIT", passRate: 0, moreTransactor: false, actions: { action: [] } }, taskCode: "", taskTitle: "", remark: "", mailNotice: false, taskUrl: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, permissionSettings: { editForm: { permission: false, field: [], subTablePermission: [{ tableName: "sub_table1", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }, { tableName: "sub_table2", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } }, autoFilledFields: { field: [] }, reminder: null, events: { afterComplete: false }, variables: { variable: [] } };
51
- }
48
+ const c = { workflowEditorPublicModel: { add: "Add", insert: "Insert", delete: "Delete", viewConditions: "View Conditions", agree: "Agree", disagree: "Disagree", andOr: "And / Or", mail: "Mail", message: "Message", App: "App", dingding: "DingTalk", qiwei: "Weixin", feishu: "Lark", determine: "Determine", cancel: "Cancel", choice: "Choice", empty: "Empty", save: "Save", export: "Export", open: "Open", return: "Return", flowChart: "Flow Chart", close: "Close", selectPage: "Select Page", search: "Search", adminSave: "Admin Save", tipTitle: "Tip", i18nSet: "I18n Setting", i18nZh: "Chinese", i18nEn: "English", i18nKey: "I18n Key", subprocessTitle: "Subprocess History", custom: "Custom", enable: "Enable" }, workflowEditorMessage: { requiredAndMustBeADate: "Required And Must Be A Date", requiredAndMustBeAnInteger: "Required And Must Be An Integer", requiredAndMustBeDecimal: "Required And Must Be Decimal", mustFill: "Must Fill", recordLine: "Record Line {row}", pageRecordLine: "Record in row {row} of page {pageNum}", currentHandlingPersonnel: "Current Handling Personnel", pleaseSelect: "Please Select", pleaseSelectARow: "Please Select A Row", conditionsHaveNotBeenSet: "Conditions Have Not Been Set", viewConditions: "View Conditions", fieldSettings: "Field Settings", valueSetting: "Value Setting", pleaseEnterContent: "Please Enter Content", theFieldNameOrFieldValueInLineCannotBeEmpty: "The Field Name Or Field Value In Line {row} Cannot Be Empty", fieldNameCannotBeEmpty: "Field Name Cannot Be Empty", fieldValueCannotBeEmpty: "Field Value Cannot Be Empty", pleaseEnterASubject: "Please Enter A Subject", selectStandardFields: "Select Standard Fields", pleaseEnterTheRoleName: "Please Enter The Role Name", queryResultIsEmpty: "Query Result Is Empty", selectRole: "Select Role", enterText: "Enter Text", selectField: "Select Field", pleaseSelectPersonnel: "Please Select Personnel", pleaseSelectAValue: "Please Select A Value", pleaseSelectAValueInTheCurrentTab: "Please Select A Value In The Current Tab", variableNameCannotBeEmpty: "Variable Name Cannot Be Empty", variableValueCannotBeEmpty: "Variable Value Cannot Be Empty", variableNameOrValueOnLineCannotBeEmpty: "Variable Name Or Value On Line {row} Cannot Be Empty", whenThereAreMultipleManagers: "When There Are Multiple Managers", duplicateOperationTypeWithLinePleaseReselect: "Duplicate Operation Type With Line {row}, Please Reselect", theOperationTypeOrNameInLineIsEmpty: "The Operation Type Or Name In Line {row} Is Empty", readOnly: "Read Only", pleaseEnterFieldName: "Please Enter Field Name", dataInLineCannotBeEmpty: "{data1} Or {data2} In Line {row} Cannot Be Empty", dataCannotBeEmpty: "{data} Cannot Be Empty", theStartAndEndOfTheFlowDirectionCannotBeTheSame: "The Start And End Of The Flow Direction Cannot Be The Same", onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows: "Only Condition Judgment, Branch And Manual Judgment Can Have Multiple Outbound Flows", startAndEndNodesCannotBeConnectedDirectly: "Start And End Nodes Cannot Be Connected Directly", endNodeCannotHaveOutFlowDirection: "End Node Cannot Have Out Flow Direction", itIsTheSameAsTheExistingLink: "It Is The Same As The Existing Link: {name}", updateSuccessful: "Update Successful", savedSuccessfully: "Saved Successfully", exportSucceeded: "Export Succeeded", pleaseSelectRole: "Please select role", subTableMustInputDatas: "The [{subtable}] subtable must enter data", pleaseEnterTheNameOrCode: "Please Enter The Name Or Describe", updateVersionSuccessful: "Version updated successfully", addVersionSuccessful: "Version added successfully", adminSaveTip: "The version must be added in the following cases:", adminSaveTip1: "1.The process name or code has been modified", adminSaveTip2: "2.The node name or code has been modified", adminSaveTip3: "3.Added node or flow direction", adminSaveTip4: "4.Node or flow direction removed", adminSaveTip5: 'Please select "Add Version" or "Update Current Version"?', updateVersion: "Update Current Version", addVersion: "Add Version", pleaseInputCode: "Please input the code first, and then do the international configuration", blankFieldNameOrValue: "Blank Field Name Or Value", enabledSuccessfully: "Enabled Successfully", additionalParam: "Request parameter" }, workflowEditor: { main: { tacheType: "Tache Type", straightLine: "Straight Line", curveLine: "Curve Line", brokenLine: "Broken Line" }, common: { remove: "Remove", attribute: "Attribute", fieldName: "Field Name(*)", operator: "Operator", value: "Value(*)", name: "Name", fieldValue: "Field Value", separator: "Separator", fillInMethod: "Fill In Method", cover: "Cover", append: "Append", insertToFront: "Insert To Front", fillInTime: "Fill In Time", fillInBeforeHandling: "Fill In Before Handling", fillInAfterHandling: "Fill In After Handling", type: "Type(*)", user: "User", role: "Role", department: "Department", workgroup: "Workgroup", selectFormField: "Select Form Field", notificationMethod: "Notification Method", addressee: "Addressee", theme: "Theme", content: "Content", notifyPersonnel: "Notify Personnel", selectusers: "Select Users", selectDepartment: "Select Department", selectTeam: "Select Team", selectRole: "Select Role", organizationStructure: "Organization Structure", formField: "Form Field", variableName: "Variable Name", variableValue: "Variable Value", selectField: "Select Field", taskNotice: "Task Notice", reminderNotice: "Reminder Notice", customMsg: "Custom Notice Message", canNotBeEmpty: "can Not Be Empty", copy: "Copy" }, process: { processInitiator: "Process Initiator", processInitiatorRole: "Process Initiator Role", processInitiatorDepartment: "ProcessInitiator Department", processInitiatorSuperiorDepartment: "Process Initiator Superior Ddepartment", processInitiatorTopDepartment: "Process Initiator Top Department", processInitiatorWorkingGroup: "Process Initiator Working Group", nameOfTheDirectSuperiorOfTheProcessInitiator: "Name Of The Direct Superior Of The Process Initiator", processInitiatorsDirectSuperiorDepartment: "Process initiator`s Direct Superior Department", directSuperiorRoleOfProcessInitiator: "Direct Superior Role Of Process Initiator", ProcessInitiatorsImmediateSuperiorWorkingGroup: "Process Initiator`s Immediate Superior Working Group", nameOfCurrentHandler: "Name Of Current Handler", currentHandlerRole: "Current Handler Role", currentHandlerDepartment: "Current Handler Department", currentHandlerSuperiorDepartment: "Current Handler`s Superior Department", topDepartmentOfCurrentHandler: "Top Department Of current Handler", currentHandlerWorkingGroup: "Current Handler Working Group", nameOfTheImmediateSuperiorOfTheCurrentHandler: "Name Of The Immediate Superior Of The Current Handler", currentHandlerDirectSuperiorDepartment: "Current handler`s Direct Superior Department", currentManagerDirectSuperiorRole: "Current Manager`s Direct Superior Role", workingGroupDirectlyUnderTheCurrentHandler: "Working Group Directly Under The Current Handler", topDepartments: "Top Departments", approvalResults: "Approval Results", totalNnumberOfPersonsWhoDisagreeWithTheCountersignature: "Total Number O Persons Who Disagree With The Countersignature", totalNumberOfCountersignedAndAgreedPersonnel: "Total Number Of Countersigned And Agreed Personnel", percentageOfPersonsWhoDisagreeWithTheCountersignature: "Percntage Of Persons Who Disagree With The Countersignature", percentageOfCountersignedAndAgreedPersonnel: "Percentage Of Countersigned And Agreed Personnel", percentageOfAbstentions: "Percentage Of Abstentions", percentageOfVotesAgainst: "Percentage Of Votes Against", percentageOfAffirmativeVotes: "Percentage Of Affirmative Votes", totalNumberOfAbstentions: "Total Number Of Abstentions", totalVotesAgainst: "Total Votes Against", totalNumberOfAffirmativeVotes: "Total Number Of Affirmative Votes", standardFields: "Standard Fields", perhaps: "Perhaps", also: "Also", greaterThan: "Greater Than", lessThan: "Less Than", beEqualTo: "Be Equal To", notGreaterThan: "Not Greater Than", notLessThan: "Not Less Than", notEqualTo: "Not Equal To", contain: "Contain", notIncluded: "Not Included", laterThan: "Later Than", earlierThan: "Earlier Than", noLaterThan: "No Later Than", noEarlierThan: "No Earlier Than", handlingTimeOfThisLink: "Handling Time Of This Link", handlerIDOfThisLink: "Handler ID Of This Link", currentHandlerPrincipalDepartmentID: "Current Handler Principal Department ID", iDOfTheImmediateSuperiorOfTheCurrentHandler: "ID Of The Immediate Superior Of The Current Handler", iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler: "ID Of The Superior Department Directly Under The Current Handler", loginNameOfTheHandlerInThisLink: "Login Name Of The Handler In This Link", NameOfCurrentHandler: "Name Of Current Handler", CurrentHandlerDepartment: "Current Handler Department", CurrentHandlerDepartmentID: "Current Handler Department ID", CurrentManagersPrincipalDepartment: "Current Manager`s Principal Department", iDOfSsuperiorDepartmentOfCurrentHandler: "ID Of Superior Department Of Current Handler", CurrentHandlersSuperiorDepartment: "Current Handler`s Superior Department", TopDepartmentOfCurrentHandler: "Top Department Of Current Handler", TopDepartmentIDOfCurrentHandler: "Top Department ID Of Current Handler", CurrentHandlerRole: "Current Handler Role", CurrentHandlerRoleID: "Current Handler Role ID", CurrentHandlerWorkingGroupID: "Current Handler Working Group ID", LoginNameOfTheImmediateSuperiorOfTheCurrentHandler: "Login Name Of The Immediate Superior Of The Current Handler", currentHandlersDirectSuperiorDepartment: "Current handler`s Direct Superior Department", currentManagersDirectSuperiorDepartment: "Current Manager`s Direct Superior Department", currentManagersDirectSuperiorRole: "Current manager`s Direct Superior Role", currentHandlersDirectSuperiorRoleID: "Current Handler`s Direct Superior Role ID", currentManagersDirectSuperiorWork: "Current Manager`s Direct Superior Work", iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler: "ID Of The Working Group Directly Under The Current Handler", operationsPerformedInThisPhase: "Operations Performed In This Phase", handlerIDOfThePreviousLink: "Handler ID Of The Previous Link", lastLinkHandlerLogin: "Last Link Handler Login", nameOfHandlerInThePreviousLink: "Name Of Handler In The Previous Link", currentManagersIdDirectlyUnderTheSuperior: "Current Manager`s Id Directly Under The Ssuperior", appointmentOfHandlerInThePreviousLink: "Appointment Of Handler In The Previous Link", personSpecifiedInFormField: "Person Specified In Form Field", filterByCriteria: "Filter by Criteria", additionalConditions: "Additional Conditions", handlingYyThePersonnelOfTheDepartmentOfTheInitiator: "Handling By The Personnel Of The Department Of The Initiator", personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling: "Personnel Of The Department Where The Initiator Works Participate In The Handling", selectSpecificHandler: "Select Specific Handler", selectOneFromDept: "Only one person is required to handle the same department", generateOneInstanceFromDept: "Generate an instance from the same department", selectionMethod: "Selection Method", manualSelection: "Manual Selection", autoSelect: "Auto Select", callbackURL: "Callback URL", cannotBeEmpty: "Cannot Be Empty", selectURL: "Select URL", fieldName: "Field Name", processAdministrator: "Process Administrator", currentHandler: "Current Handler", allHandlingPersonnel: "All Handling Personnel", designatedPersonnel: "Designated Personnel", listOfDesignatedPersons: "List Of Designated Persons", processName: "Process Name", processCode: "Process Code", creater: "Creater", correspondingForm: "Corresponding Form", processType: "Process Type", system: "System", affiliatedBranch: "Affiliated Branch", customCategory: "Custom Category", initiationProcess: "Initiation Process", deleteProcess: "Delete Process", cancelProcess: "Cancel Process", endProcess: "End Process", pauseProcess: "Pause Process", continueTheProcess: "Continue The Process", jumpLink: "Jump Link", modificationHandler: "Modification Handler", addHandler: "Add Handler", decreaseOofHandler: "Decrease Of Handler", appointedTask: "Appointed Task", returnTask: "Return Task", retrieveTask: "Retrieve Task", processTaskParameterSettings: "Process Task Parameter Settings", uRLForProcessingTask: "URL For Processing Task", parametersForReceivingTaskID: "Parameters For Receiving Task ID", viewFormParameterSettings: "View Form Parameter Settings", viewTheURLOfTheForm: "View The URL Of The Form", parametersOfReceivingEntityID: "Parameters Of Receiving Entity ID", emergencyTreatmentParameterSetting: "Emergency Treatment Parameter Setting", uRLOfEmergencyHandling: "URL Of Emergency Handling", initiateProcessParameterSettings: "Initiate Process Parameter Settings", uRLOfTheInitiatingProcess: "URL Of The Initiating Process", parametersForReceivingProcessName: "Parameters For Receiving Process Name", customParameterValue: "Custom Parameter Value", ViewFlowHistoryPersonnel: "View Flow History Personnel", ViewCountersignatureResultPersonnel: "View Countersignature Result Personnel", ViewVotingResultsBy: "View Voting Results By", name: "Name", code: "Code", subprocess: "Subprocess", transferValueFromMainFormToSubForm: "Transfer Value From Main Form To Sub Form", fieldsOfTheMainForm: "Fields Of The Main Form", fieldsOfSubform: "Fields Of Subform", subformReturnsResultsToMainForm: "Subform Returns Results To Main Form", eventsTriggeredBeforeStartingASubprocess: "Events Triggered Before Starting A Subprocess", triggerSubprocessEndEvent: "Trigger Subprocess End Event", setTheHandlerOfTheFirstPhaseOfTheSubProcess: "Set The Handler Of The First Phase Of The Sub Process", keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly: "Keep The Handler Unchanged When The Target Link Is Handled Repeatedly", branchingCondition: "Branching Condition", processProperties: "Process Properties", basicProperties: "Basic Properties", permissionSettings: "Permission Settings", notificationSettings: "Notification Settings", sendNotificationAfterProcessEnds: "Send Notification After Process Ends", reminderSettings: "Notice And Reminder Settings", parameterSsetting: "Parameter Setting", event: "Event", processVariables: "Process Variables", propertiesOfSubprocesses: "Properties Of Subprocesses", settingOfHandler: "Setting Of Handler", eventProcessing: "Event Processing", sponsorsImmediateSuperior: "Sponsor`s Immediate Superior", sponsorsSuperiorDepartment: "Sponsor`s Superior Department", sponsorTopDepartment: "Sponsor Top Department", superiorDepartmentDirectlyUnderTheInitiator: "Superior Department Directly Under The Initiator", sponsorsImmediateSuperiorWorkingGroup: "Sponsor`s Immediate Superior Working Group", lastLinkHandlerDepartment: "Last Link Handler Department", previousLinkHandlerSuperiorDepartment: "Previous Link Handler Superior Department", topDepartmentOfHandlerInThePreviousLink: "Top Department Of Handler In The Previous Link", previousLinkHandlersDirectSuperiorDepartment: "Previous Link Handler`s Direct Superior Department", previousLinkHandlerWorkingGroup: "Previous Link Handler Working Group", workingGroupDirectlyUnderTheManagerInThePreviousLink: "Working Group Directly Under The Manager In The Previous Link", getSubprocessEntityBean: "Get subprocess entity bean", getSubprocessEntityBeanPlaceholder: "The format is:xxxServiceImpl,for example:exampleServiceImpl", getSubprocessEntityBeanInfo: 'The bean needs to implement the interface "tech.imatrix.wf.core.OnStartingSubProcess"', isNull: "Is Null", isNotNull: "Is Not Null", defaultMailTemplate: "Default Mail Template", defaultCommonTemplate: "Default Common Template", trustTask: "Trust Task", subprocessIsSharedForm: "Main process and subprocess shared form", generateForParttimeDept: "Generate tasks for part-time department personnel", deptSpecifiedInFormField: "Dept Specified In Form Field", activateOneVoteVeto: "Activate one vote veto", systemVersion: "System Version", tableCode: "DataTable Name", deptApprover: "Authorized approver of the drafting department", superiorDeptApprover: "Drafted by the authorized approver of the superior department", superiorDeptLeader: "Drafted by the superior department head" }, task: { newCc: "New Cc", judge: "Judge", end: "End", branch: "Branch", manualJudgment: "Manual Judgment", newTask: "New Task", converge: "Converge", newProcess: "New Process", start: "Start", subprocess: "Subprocess", needToBeUrged: "Need To Be Urged", urgingMethod: "Urging Method", timeLimitForHandling: "Time Limit For Handling", day: "Day", urgingInterval: "Urging Interval", hour: "Hour", alwaysUrging: "Always Urging", limitedUrging: "Limited Urging", timesOfUrging: "Times Of Urging", includingHandoverPersonnel: "Including Handover Personnel", handoverPersonnel: "Handover Personnel", includeNotifyPeople: "Include Notify People", name: "Name", code: "Code", taskTitle: "Task Title", emailNotification: "Email Notification", handlingPage: "Handling Page", remarks: "Remarks", allowViews: "Allow Views", allowToViewCountersignatureResults: "Allow To View Countersignature Results", allowToViewVotingResults: "Allow To View Voting Results", allowToViewFlowHistory: "Allow To View Flow History", allowFormsToPrint: "Allow Forms To Print", attachmentAuthority: "Attachment Authority", downloadAttachment: "Download Attachment", bodyPermission: "Body Permission(Temporarily Closed)", additionalConditions: "Additional Conditions", setConditions: "Set Conditions", HandlingMethod: "Handling Method", editorial: "Editorial", approvalType: "Approval Type", countersign: "Countersign", voting: "Voting", anyOneCanHandleIt: "Any One Can Handle It", forAll: "For All", passRate: "Pass Rate", modifyOperationName: "Modify Operation Name", operationType: "Operation Type", visibleOrNot: "Visible Or Not", save: "Save", submission: "Submission", agree: "Agree", disagree: "Disagree", favor: "Favor", opposition: "Opposition", waiver: "Waiver", receive: "Receive", giveUp: "Give Up", additionalSignature: "Additional Signature", reductionOfSignature: "Reduction Of Signature", assignTask: "Assign Task", copyTask: "Copy Task", retrieveTask: "Retrieve Task", exportReport: "Export Report", readTask: "Read", selectEditableField: "Select Editable Field", optionalField: "Optional Field", selectedFields: "Selected Fields", editingMethod: "Editing Method", propertyName: "Property Name", condition: "Condition", nothing: "Nothing", beforeSubmission: "Before Submission", executionURL: "Execution URL", errorMessage: "Error Message", afterSubmission: "After Submission", allowEditingForms: "Allow Editing Forms", commentsAllowed: "Comments Allowed", commentsAreRequired: "Comments Are Required", deletePermission: "Delete Permission", addAttachment: "Add Attachment", deleteAttachment: "Delete Attachment", propertiesOfCCTask: "Properties Of CC Task", basicProperties: "Basic Properties", settingOfHandler: "Setting Of Handler", permissionSettings: "Permission Settings", attributeOfConditionJudgment: "Attribute Of Condition Judgment", allBranchFlows: "All Branch Flows", targetLink: "Target Link", propertiesOfBranches: "Properties Of Branches", attributesOfManualJudgment: "Attributes of manual Judgment", linkAttribute: "Link Attribute", autoFillInFieldSettings: "Auto Fill In Field Settings", reminderSettings: "Notice And Reminder Settings", eventProcessing: "Event Processing", linkVariable: "Link Variable", convergedProperties: "Converged Properties", humanTask: "Human Task", conditionJudgment: "Condition Judgment", cCtask: "CC Task", canItBeRejected: "Can It Be Rejected", selectNoticeTemplate: "Select Notice Template", selectMailTemplate: "Select Email Template", selectTemplate: "Select Template", autoTask: "Auto Task", newAutoTask: "New Auto Task", propertiesOfAutoTask: "Properties Of Auto Task", custombeanName: "Custom Bean Name", baseField: "Base Field", reminderTipTemplateMsg: "Template Description:", reminderTipRemindMsg: "Reminder Description:", reminderTipTemplateNotice: 'Notification templates: DingTalk, Enterprise WeChat, Feishu, and Customization all use notification templates. When using email, if "email template" is not selected, use notification template', reminderTipTemplateEmail: "Email Template: Customized Email Template", reminderTipRemindImmediately: "The reminder method, notification template, email template, maximum number of reminders, notification method, notification personnel, and transfer personnel will take effect immediately after modification", reminderTipRemindHistory: "The processing time limit, processing time granularity (days/hours), reminder interval, reminder interval time granularity (days/hours) are only effective for newly initiated processes. If historical data also requires the latest configuration, please contact the operation and maintenance personnel to adjust" }, transition: { flowProperties: "Flow Properties", basicProperties: "Basic Properties", notificationSettings: "Notification Settings", sendNotificationAfterFlow: "Send Notification After Flow", autoFillInFieldSettings: "Auto Fill In Field Settings", eventProcessing: "Event Processing", triggerFlowThroughEvent: "Trigger Flow Through Event", beanName: "Bean Name" }, condition: { combinationCondition: "Combination Condition", currentUserId: "Current User ID", currentUserLogin: "Current User Login", currentUserName: "Current User Name", fillInManually: "Fill In Manually", environmentVariable: "Environment Variable", databaseFields: "Database fields", requestParameters: "Request Parameters", currentTime: "Current Time", currentDate: "Current Date", currentTransactor: "Current Transactor", currentTransactorName: "Current Transactor Name", currentTransactorId: "Current Transactor Id", currentTransactorMainDepartmentId: "Current Transactor Main Department Id", currentTransactorMainDepartment: "Current Transactor Main Department", currentTransactorRoleId: "Current Transactor Role Id", currentTransactorRole: "Current Transactor Role", currentTransactorWorkGroupId: "Current Transactor Work Group Id", currentTransactorWorkGroup: "Current Transactor Work Group", whenTheVariableIsEmpty: "When The Variable Is Empty", ignore11: "Ignore (1 = 1)", nonConformity: "Non Conformity (1 < > 1)", currentHandler: "Current Handler", currentTaskClient: "Current Task Client", currentAssignor: "Current Assignor", rowsCanBeAdded: "Rows Can Be Added", deleteLine: "Delete Line", modifiableHistoricalData: "Modifiable Historical Data", controlByField: "Control By Field", allReadOnly: "All Read Only", allRequired: "All Required", mainTableField: "Main Table Field", linkName: "Link Name", linkCode: "Link Code", taskFields: "Task Fields", systemParameter: "System Parameter", personnelScope: "Personnel Scope", mainTableConditions: "Main Table Conditions", subtableCondition: "Subtable Condition", accessControl: "Access Control", formBindingModel: "Form Binding Model", allFields: "All Fields", tableDataNotEmpty: "Table Data Not Empty" } } }, m = { workflowEditorPublicModel: { add: "添加", insert: "插入", delete: "删除", viewConditions: "查看条件", agree: "同意", disagree: "不同意", andOr: "并且/或者", mail: "邮件", message: "短信", App: "App", dingding: "钉钉", qiwei: "企业微信", feishu: "飞书", determine: "确定", cancel: "取消", choice: "选择", empty: "清空", save: "保存", export: "导出", open: "打开", return: "返回", flowChart: "流程图", close: "关闭", selectPage: "选择页面", search: "查询", adminSave: "管理员保存", tipTitle: "提示", i18nSet: "国际化设置", i18nZh: "中文", i18nEn: "英文", i18nKey: "国际化key", subprocessTitle: "子流程流转历史", custom: "自定义", enable: "启用" }, workflowEditorMessage: { requiredAndMustBeADate: "必填且必须为日期", requiredAndMustBeAnInteger: "必填且必须为整数", requiredAndMustBeDecimal: "必填且必须为小数", mustFill: "必填", recordLine: "第{row}行记录", pageRecordLine: "第{pageNum}页第{row}行记录", currentHandlingPersonnel: "当前办理人员", pleaseSelect: "请选择", pleaseSelectARow: "请选中一行", conditionsHaveNotBeenSet: "还未设置条件", viewConditions: "查看条件", fieldSettings: "字段设置", valueSetting: "值设置", pleaseEnterContent: "请输入内容", theFieldNameOrFieldValueInLineCannotBeEmpty: "第{row}行的字段名或者字段值不能为空", fieldNameCannotBeEmpty: "字段名不能为空", fieldValueCannotBeEmpty: "字段值不能为空", pleaseEnterASubject: "请输入主题", selectStandardFields: "选择标准字段", pleaseEnterTheRoleName: "请输入角色名称", queryResultIsEmpty: "查询结果为空", selectRole: "选择角色", enterText: "输入文字", selectField: "选择字段", pleaseSelectPersonnel: "请选择人员", pleaseSelectAValue: "请选择值", pleaseSelectAValueInTheCurrentTab: "请在当前页签中选中一个值", variableNameCannotBeEmpty: "变量名不能为空", variableValueCannotBeEmpty: "变量值不能为空", variableNameOrValueOnLineCannotBeEmpty: "第{row}行的变量名或者变量值不能为空", whenThereAreMultipleManagers: "多个办理人时", duplicateOperationTypeWithLinePleaseReselect: "与第{row}行的操作类型重复了,请重新选择", theOperationTypeOrNameInLineIsEmpty: "第{row}行的操作类型或者名称为空", readOnly: "只读", pleaseEnterFieldName: "请输入字段名", dataInLineCannotBeEmpty: "第{row}行的{data1}或{data2}不能为空", dataCannotBeEmpty: "{data}不能为空", theStartAndEndOfTheFlowDirectionCannotBeTheSame: "流向的起点和终点不能相同", onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows: "只有条件判断、分支以及人工判断才能有多条外出流向", startAndEndNodesCannotBeConnectedDirectly: "开始节点和结束节点不能直接相连", endNodeCannotHaveOutFlowDirection: "结束节点不能有外出流向", itIsTheSameAsTheExistingLink: "与已有环节:{name}的编码重复", updateSuccessful: "更新成功", savedSuccessfully: "保存成功", exportSucceeded: "导出成功", pleaseSelectRole: "请选择角色", subTableMustInputDatas: "[{subTable}] 子表必须录入数据", pleaseEnterTheNameOrCode: "请输入字段名或字段描述", updateVersionSuccessful: "成功更新版本", addVersionSuccessful: "成功增加版本", adminSaveTip: "有以下几种情况时必须增加版本:", adminSaveTip1: "1、修改了流程名称或编码", adminSaveTip2: "2、修改了节点名称或编码", adminSaveTip3: "3、增加了节点或流向", adminSaveTip4: "4、移除了节点或流向", adminSaveTip5: "请选择“增加版本”或“更新当前版本”?", updateVersion: "更新当前版本", addVersion: "增加版本", pleaseInputCode: "请先输入编码,再做国际化配置", blankFieldNameOrValue: "字段名或值有空白", enabledSuccessfully: "启用成功", additionalParam: "请求参数" }, workflowEditor: { main: { tacheType: "环节类型", straightLine: "直线", curveLine: "曲线", brokenLine: "折线" }, common: { remove: "移除", attribute: "属性", fieldName: "字段名(*)", operator: "操作符", value: "值(*)", name: "字段名", fieldValue: "字段值", separator: "分隔符", fillInMethod: "填写方式", cover: "覆盖", append: "追加", insertToFront: "插入到最前", fillInTime: "填写时间", fillInBeforeHandling: "办理前填写", fillInAfterHandling: "办理后填写", type: "类别(*)", user: "用户", role: "角色", department: "部门", workgroup: "工作组", selectFormField: "选择表单字段", notificationMethod: "通知方式", addressee: "收件人", theme: "主题", content: "内容", notifyPersonnel: "通知人员", selectusers: "选择用户", selectDepartment: "选择部门", selectTeam: "选择工作组", selectRole: "选择角色", organizationStructure: "组织结构", formField: "表单字段", variableName: "变量名", variableValue: "变量值", selectField: "选择字段", taskNotice: "待办通知", reminderNotice: "催办通知", customMsg: "自定义消息内容", canNotBeEmpty: "不能为空", copy: "复制" }, process: { processInitiator: "起草人", processInitiatorRole: "起草人角色", processInitiatorDepartment: "起草人部门", processInitiatorSuperiorDepartment: "起草人上级部门", processInitiatorTopDepartment: "起草人顶级部门", processInitiatorWorkingGroup: "起草人工作组", nameOfTheDirectSuperiorOfTheProcessInitiator: "起草人直属上级姓名", processInitiatorsDirectSuperiorDepartment: "起草人直属上级部门", directSuperiorRoleOfProcessInitiator: "起草人直属上级角色", ProcessInitiatorsImmediateSuperiorWorkingGroup: "起草人直属上级工作组", nameOfCurrentHandler: "当前办理人姓名", currentHandlerRole: "当前办理人角色", currentHandlerDepartment: "当前办理人部门", currentHandlerSuperiorDepartment: "当前办理人上级部门", topDepartmentOfCurrentHandler: "当前办理人顶级部门", currentHandlerWorkingGroup: "当前办理人工作组", nameOfTheImmediateSuperiorOfTheCurrentHandler: "当前办理人直属上级姓名", currentHandlerDirectSuperiorDepartment: "当前办理人直属上级部门", currentManagerDirectSuperiorRole: "当前办理人直属上级角色", workingGroupDirectlyUnderTheCurrentHandler: "当前办理人直属上级工作组", topDepartments: "顶级部门", approvalResults: "审批结果", totalNnumberOfPersonsWhoDisagreeWithTheCountersignature: "会签不同意人员总数", totalNumberOfCountersignedAndAgreedPersonnel: "会签同意人员总数", percentageOfPersonsWhoDisagreeWithTheCountersignature: "会签不同意人员百分比", percentageOfCountersignedAndAgreedPersonnel: "会签同意人员百分比", percentageOfAbstentions: "弃权票百分比", percentageOfVotesAgainst: "反对票百分比", percentageOfAffirmativeVotes: "赞成票百分比", totalNumberOfAbstentions: "弃权票总数", totalVotesAgainst: "反对票总数", totalNumberOfAffirmativeVotes: "赞成票总数", standardFields: "标准字段", perhaps: "或者", also: "并且", greaterThan: "大于", lessThan: "小于", beEqualTo: "等于", notGreaterThan: "不大于", notLessThan: "不小于", notEqualTo: "不等于", contain: "包含", notIncluded: "不包含", laterThan: "晚于", earlierThan: "早于", noLaterThan: "不晚于", noEarlierThan: "不早于", handlingTimeOfThisLink: "本环节办理时间", handlerIDOfThisLink: "本环节办理人id", currentHandlerPrincipalDepartmentID: "当前办理人正职部门id", iDOfTheImmediateSuperiorOfTheCurrentHandler: "当前办理人直属上级id", iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler: "当前办理人直属上级正职部门id", loginNameOfTheHandlerInThisLink: "本环节办理人登录名", NameOfCurrentHandler: "当前办理人姓名", CurrentHandlerDepartment: "当前办理人部门", CurrentHandlerDepartmentID: "当前办理人部门id", CurrentManagersPrincipalDepartment: "当前办理人正职部门", iDOfSsuperiorDepartmentOfCurrentHandler: "当前办理人上级部门id", CurrentHandlersSuperiorDepartment: "当前办理人上级部门", TopDepartmentOfCurrentHandler: "当前办理人顶级部门", TopDepartmentIDOfCurrentHandler: "当前办理人顶级部门id", CurrentHandlerRole: "当前办理人角色", CurrentHandlerRoleID: "当前办理人角色id", CurrentHandlerWorkingGroupID: "当前办理人工作组id", LoginNameOfTheImmediateSuperiorOfTheCurrentHandler: "当前办理人直属上级登录名", currentHandlersDirectSuperiorDepartment: "当前办理人直属上级部门", currentManagersDirectSuperiorDepartment: "当前办理人直属上级正职部门", currentManagersDirectSuperiorRole: "当前办理人直属上级角色", currentHandlersDirectSuperiorRoleID: "当前办理人直属上级角色id", currentManagersDirectSuperiorWork: "当前办理人直属上级工作", iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler: "当前办理人直属上级工作组id", operationsPerformedInThisPhase: "本环节执行的操作", handlerIDOfThePreviousLink: "上一环节办理人id", lastLinkHandlerLogin: "上一环节办理人登录名", nameOfHandlerInThePreviousLink: "上一环节办理人姓名", currentManagersIdDirectlyUnderTheSuperior: "当前办理人直属上级部门id", appointmentOfHandlerInThePreviousLink: "上一环节办理人指定", personSpecifiedInFormField: "表单字段中指定的人员", filterByCriteria: "按条件筛选", additionalConditions: "附加条件", handlingYyThePersonnelOfTheDepartmentOfTheInitiator: "起草人所在部门人员办理", personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling: "起草人所在部门人员参与办理", selectSpecificHandler: "选择具体办理人", selectOneFromDept: "同一部门仅需一人办理", generateOneInstanceFromDept: "同一部门生成一个实例", selectionMethod: "选择方式", manualSelection: "人工选择", autoSelect: "自动选择", callbackURL: "回调URL", cannotBeEmpty: "不能为空", selectURL: "选人URL", fieldName: "字段名称", processAdministrator: "流程管理员", currentHandler: "当前办理人", allHandlingPersonnel: "所有办理人员", designatedPersonnel: "指定人员", listOfDesignatedPersons: "指定人员列表", processName: "流程名称", processCode: "流程编码", creater: "创建人", correspondingForm: "对应表单", processType: "流程类型", system: "所属系统", affiliatedBranch: "所属分支机构", customCategory: "自定义类别", initiationProcess: "发起流程", deleteProcess: "删除流程", cancelProcess: "取消流程", endProcess: "结束流程", pauseProcess: "暂停流程", continueTheProcess: "继续流程", jumpLink: "跳转环节", modificationHandler: "修改办理人", addHandler: "增加办理人", decreaseOofHandler: "减少办理人", appointedTask: "指派任务", returnTask: "退回任务", retrieveTask: "取回任务", processTaskParameterSettings: "办理任务参数设置", uRLForProcessingTask: "办理任务的url", parametersForReceivingTaskID: "接收任务id的参数", viewFormParameterSettings: "查看表单参数设置", viewTheURLOfTheForm: "查看表单的url", parametersOfReceivingEntityID: "接收实体id的参数", emergencyTreatmentParameterSetting: "应急处理参数设置", uRLOfEmergencyHandling: "应急处理的url", initiateProcessParameterSettings: "发起流程参数设置", uRLOfTheInitiatingProcess: "发起流程的url", parametersForReceivingProcessName: "接收流程名称的参数", customParameterValue: "自定义参数值", ViewFlowHistoryPersonnel: "查看流转历史人员", ViewCountersignatureResultPersonnel: "查看会签结果人员", ViewVotingResultsBy: "查看投票结果人员", name: "名称", code: "编码", subprocess: "子流程", transferValueFromMainFormToSubForm: "主表单给子表单传值", fieldsOfTheMainForm: "主表单的字段", fieldsOfSubform: "子表单的字段", subformReturnsResultsToMainForm: "子表单返回结果给主表单", eventsTriggeredBeforeStartingASubprocess: "启动子流程前事件", triggerSubprocessEndEvent: "触发子流程结束事件", setTheHandlerOfTheFirstPhaseOfTheSubProcess: "设置子流程第一环节办理人", keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly: "目标环节重复办理时保持办理人不变", branchingCondition: "分支条件", processProperties: "流程属性", basicProperties: "基本属性", permissionSettings: "权限设置", notificationSettings: "通知设置", sendNotificationAfterProcessEnds: "流程结束后发送通知", reminderSettings: "通知与催办", parameterSsetting: "参数设置", event: "事件", processVariables: "流程变量", propertiesOfSubprocesses: "子流程的属性", settingOfHandler: "办理人设置", eventProcessing: "事件处理", sponsorsImmediateSuperior: "起草人直属上级", sponsorsSuperiorDepartment: "起草人上级部门", sponsorTopDepartment: "起草人顶级部门", superiorDepartmentDirectlyUnderTheInitiator: "起草人直属上级部门", sponsorsImmediateSuperiorWorkingGroup: "起草人直属上级工作组", lastLinkHandlerDepartment: "上一环节办理人部门", previousLinkHandlerSuperiorDepartment: "上一环节办理人上级部门", topDepartmentOfHandlerInThePreviousLink: "上一环节办理人顶级部门", previousLinkHandlersDirectSuperiorDepartment: "上一环节办理人直属上级部门", previousLinkHandlerWorkingGroup: "上一环节办理人工作组", workingGroupDirectlyUnderTheManagerInThePreviousLink: "上一环节办理人直属上级工作组", getSubprocessEntityBean: "获得子流程实体bean", getSubprocessEntityBeanPlaceholder: "格式为:xxxServiceImpl,例如:exampleServiceImpl", getSubprocessEntityBeanInfo: "该bean需要实现接口tech.imatrix.wf.core.OnStartingSubProcess", isNull: "等于Null", isNotNull: "不等于Null", defaultMailTemplate: "默认邮件模板", defaultCommonTemplate: "默认通知模板", trustTask: "委托任务", subprocessIsSharedForm: "主子流程共用表单", generateForParttimeDept: "为兼职部门人员生成任务", deptSpecifiedInFormField: "表单字段中指定的部门", activateOneVoteVeto: "一票否决", systemVersion: "系统版本", tableCode: "对应数据表", deptApprover: "起草人部门授权审批人", superiorDeptApprover: "起草人上级部门授权审批人", superiorDeptLeader: "起草人上级部门负责人" }, task: { newCc: "新抄送", judge: "判断", end: "结束", branch: "分支", manualJudgment: "人工判断", newTask: "新任务", converge: "汇聚", newProcess: "新流程", start: "开始", subprocess: "子流程", needToBeUrged: "需要催办", urgingMethod: "催办方式", timeLimitForHandling: "办理时限", day: "天", urgingInterval: "催办间隔", hour: "小时", alwaysUrging: "一直催办", limitedUrging: "限次催办", timesOfUrging: "催办次数", includingHandoverPersonnel: "包含移交人员", handoverPersonnel: "移交人员", includeNotifyPeople: "包含通知人员", name: "名称", code: "编码", taskTitle: "任务标题", emailNotification: "邮件通知", handlingPage: "办理页面", remarks: "备注", allowViews: "允许查看意见", allowToViewCountersignatureResults: "允许查看会签结果", allowToViewVotingResults: "允许查看投票结果", allowToViewFlowHistory: "允许查看流转历史", allowFormsToPrint: "允许打印表单", attachmentAuthority: "附件权限", downloadAttachment: "下载附件", bodyPermission: "正文权限(暂不开放)", additionalConditions: "附加条件", setConditions: "设置条件", HandlingMethod: "办理方式", editorial: "编辑式", approvalType: "审批式", countersign: "会签式", voting: "投票式", anyOneCanHandleIt: "任意一人办理即可", forAll: "所有人均需办理", passRate: "通过率", modifyOperationName: "修改操作名称", operationType: "操作类型", visibleOrNot: "是否可见", save: "保存", submission: "提交", agree: "同意", disagree: "不同意", favor: "赞成", opposition: "反对", waiver: "弃权", receive: "领取", giveUp: "放弃", additionalSignature: "加签", reductionOfSignature: "减签", assignTask: "指派", copyTask: "抄送", retrieveTask: "取回", exportReport: "导出报告", readTask: "阅", selectEditableField: "选择可编辑字段", optionalField: "可选字段", selectedFields: "已选字段", editingMethod: "编辑方式", propertyName: "属性名", condition: "条件", nothing: "无", beforeSubmission: "提交前", executionURL: "执行url", errorMessage: "出错信息", afterSubmission: "提交后", allowEditingForms: "允许编辑表单", commentsAllowed: "允许填写意见", commentsAreRequired: "必须填写意见", deletePermission: "删除权限", addAttachment: "添加附件", deleteAttachment: "删除附件", propertiesOfCCTask: "抄送任务的属性", basicProperties: "基本属性", settingOfHandler: "办理人设置", permissionSettings: "权限设置", attributeOfConditionJudgment: "条件判断的属性", allBranchFlows: "所有分支流向", targetLink: "目标环节", propertiesOfBranches: "分支的属性", attributesOfManualJudgment: "人工判断的属性", linkAttribute: "环节属性", autoFillInFieldSettings: "自动填写字段设置", reminderSettings: "通知与催办", eventProcessing: "事件处理", linkVariable: "环节变量", convergedProperties: "汇聚的属性", humanTask: "人工任务", conditionJudgment: "条件判断", cCtask: "抄送任务", canItBeRejected: "是否可驳回", selectNoticeTemplate: "选择通知模板", selectMailTemplate: "选择邮件模板", selectTemplate: "选择模板", autoTask: "自动任务", newAutoTask: "新自动任务", propertiesOfAutoTask: "自动任务的属性", custombeanName: "自定义bean", baseField: "基础字段", reminderTipTemplateMsg: "模板说明:", reminderTipRemindMsg: "催办说明:", reminderTipTemplateNotice: "通知模板:钉钉、企微、飞书、自定义都使用通知模板。邮件方式时,如果没有选“邮件模板”,则使用通知模板", reminderTipTemplateEmail: "邮件模板:邮件方式特制模板", reminderTipRemindImmediately: "催办方式、通知模板、邮件模板、催办次数、通知方式、通知人员、移交人员 修改后立即生效", reminderTipRemindHistory: "办理时限、办理时限的时间粒度(天/小时)、催办间隔、催办间隔的时间粒度(天/小时)仅对新发起的流程生效,如历史数据也需要应用最新配置,请联系运维人员调整" }, transition: { flowProperties: "流向属性", basicProperties: "基本属性", notificationSettings: "通知设置", sendNotificationAfterFlow: "流过后发送通知", autoFillInFieldSettings: "自动填写字段设置", eventProcessing: "事件处理", triggerFlowThroughEvent: "触发流过事件", beanName: "bean名称" }, condition: { combinationCondition: "组合条件", currentUserId: "当前用户ID", currentUserLogin: "当前用户登录名", currentUserName: "当前用户姓名", fillInManually: "手动填写", environmentVariable: "环境变量", databaseFields: "数据库字段", requestParameters: "请求参数", currentTime: "当前时间", currentDate: "当前日期", currentTransactor: "当前用户登录名", currentTransactorName: "当前用户姓名", currentTransactorId: "当前用户id", currentTransactorMainDepartmentId: "当前用户部门id", currentTransactorMainDepartment: "当前用户部门名称", currentTransactorRoleId: "当前用户角色id", currentTransactorRole: "当前用户角色名称", currentTransactorWorkGroupId: "当前用户工作组id", currentTransactorWorkGroup: "当前用户工作组名称", whenTheVariableIsEmpty: "变量为空时", ignore11: "忽略(1=1)", nonConformity: "不符合(1<>1)", currentHandler: "当前办理人", currentTaskClient: "当前任务委托人", currentAssignor: "当前指派人", rowsCanBeAdded: "可添加行", deleteLine: "可删除行", modifiableHistoricalData: "可修改历史数据", controlByField: "按字段控制", allReadOnly: "全部只读", allRequired: "全部必填", mainTableField: "主表字段", linkName: "环节名称", linkCode: "环节编码", taskFields: "任务字段", systemParameter: "系统参数", personnelScope: "人员范围", mainTableConditions: "主表条件", subtableCondition: "子表条件", accessControl: "进行权限控制", formBindingModel: "表单绑定model", allFields: "全部字段", tableDataNotEmpty: "表格数据不为空" } } }, u = { en: c, cn: m }, p = l.createI18n({ locale: "cn", messages: u, legacy: false });
52
49
  function h() {
53
- return window.$store;
50
+ return { attr: { id: "newHumanTask", name: p.global.t("workflowEditor.task.newTask") }, g: {}, basicProperties: { processingMode: { type: "EDIT", passRate: 0, moreTransactor: false, actions: { action: [] } }, taskCode: "", taskTitle: "", remark: "", mailNotice: false, taskUrl: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, permissionSettings: { editForm: { permission: false, field: [], subTablePermission: [{ tableName: "sub_table1", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }, { tableName: "sub_table2", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } }, autoFilledFields: { field: [] }, reminder: null, events: { afterComplete: false }, variables: { variable: [] } };
54
51
  }
55
52
  function f() {
56
- return window.$locale ? u.locale = window.$locale : u.locale = "cn", u.global;
53
+ return window.$store;
57
54
  }
58
55
  function w() {
59
- return [{ name: "Start", label: f().t("workflowEditor.task.start"), icon: "start", type: "primary", class: "", round: true, width: 48, height: 48, color: "#67C23A" }, { name: "HumanTask", label: f().t("workflowEditor.task.humanTask"), icon: "human-task", type: "", class: "", round: true, width: 80, height: 40, color: "#000" }, { name: "Decision", label: f().t("workflowEditor.task.conditionJudgment"), icon: "decision", type: "", class: "", round: true, width: 48, height: 48, color: "#999" }, { name: "Fork", label: f().t("workflowEditor.task.branch"), icon: "fork", type: "", class: "", round: true, width: 48, height: 48, color: "#999" }, { name: "Join", label: f().t("workflowEditor.task.converge"), icon: "join", type: "", class: "", round: true, width: 48, height: 48, color: "#999" }, { name: "Subprocess", label: f().t("workflowEditor.task.subprocess"), icon: "subprocess", type: "warning", class: "", round: true, width: 80, height: 40, color: "#0777D4" }, { name: "HumanDecision", label: f().t("workflowEditor.task.manualJudgment"), icon: "human-decision", type: "", class: "", round: true, width: 48, height: 48, color: "#999" }, { name: "CopyTask", label: f().t("workflowEditor.task.cCtask"), icon: "copy-task", type: "", class: "", round: true, width: 80, height: 40, color: "#0777D4" }, { name: "AutoTask", label: f().t("workflowEditor.task.autoTask"), icon: "human-task", type: "", class: "", round: true, width: 80, height: 40, color: "#0777D4" }, { name: "End", label: f().t("workflowEditor.task.end"), icon: "end", type: "danger", class: "workflow-end-button", round: true, width: 48, height: 48, color: "#F56C6C" }];
56
+ return window.$locale ? p.locale = window.$locale : p.locale = "cn", p.global;
57
+ }
58
+ function g() {
59
+ return [{ name: "Start", label: w().t("workflowEditor.task.start"), icon: "start", type: "primary", class: "", round: true, width: 48, height: 48, color: "#67C23A" }, { name: "HumanTask", label: w().t("workflowEditor.task.humanTask"), icon: "human-task", type: "", class: "", round: true, width: 80, height: 40, color: "#000" }, { name: "Decision", label: w().t("workflowEditor.task.conditionJudgment"), icon: "decision", type: "", class: "", round: true, width: 48, height: 48, color: "#999" }, { name: "Fork", label: w().t("workflowEditor.task.branch"), icon: "fork", type: "", class: "", round: true, width: 48, height: 48, color: "#999" }, { name: "Join", label: w().t("workflowEditor.task.converge"), icon: "join", type: "", class: "", round: true, width: 48, height: 48, color: "#999" }, { name: "Subprocess", label: w().t("workflowEditor.task.subprocess"), icon: "subprocess", type: "warning", class: "", round: true, width: 80, height: 40, color: "#0777D4" }, { name: "HumanDecision", label: w().t("workflowEditor.task.manualJudgment"), icon: "human-decision", type: "", class: "", round: true, width: 48, height: 48, color: "#999" }, { name: "CopyTask", label: w().t("workflowEditor.task.cCtask"), icon: "copy-task", type: "", class: "", round: true, width: 80, height: 40, color: "#0777D4" }, { name: "AutoTask", label: w().t("workflowEditor.task.autoTask"), icon: "human-task", type: "", class: "", round: true, width: 80, height: 40, color: "#0777D4" }, { name: "End", label: w().t("workflowEditor.task.end"), icon: "end", type: "danger", class: "workflow-end-button", round: true, width: 48, height: 48, color: "#F56C6C" }];
60
60
  }
61
- function g(e2, t2) {
61
+ function C(e2, t2) {
62
62
  switch ("string" == typeof e2 && (e2 = function(e3) {
63
- return h().getters["wfEditor/taches"].filter((t3) => t3.id === e3)[0];
63
+ return f().getters["wfEditor/taches"].filter((t3) => t3.id === e3)[0];
64
64
  }(e2)), t2) {
65
65
  case "up":
66
66
  case "top":
@@ -76,44 +76,44 @@
76
76
  return { position: "", x: e2.x, y: e2.y };
77
77
  }
78
78
  }
79
- function C(e2) {
79
+ function k(e2) {
80
80
  const t2 = document.getElementById("svg").getScreenCTM();
81
81
  return { x: (e2.clientX - t2.e) / t2.a, y: (e2.clientY - t2.f) / t2.d };
82
82
  }
83
- function k() {
83
+ function b() {
84
84
  !function() {
85
- for (const e2 of h().getters["wfEditor/selectedTaches"])
85
+ for (const e2 of f().getters["wfEditor/selectedTaches"])
86
86
  e2.isSelected = false;
87
- h().commit("wfEditor/setSelectedTaches", []);
88
- }(), h().getters["wfEditor/selectedTransition"] && (h().getters["wfEditor/selectedTransition"].isSelected = false), h().commit("wfEditor/setSelectedTransition", null);
87
+ f().commit("wfEditor/setSelectedTaches", []);
88
+ }(), f().getters["wfEditor/selectedTransition"] && (f().getters["wfEditor/selectedTransition"].isSelected = false), f().commit("wfEditor/setSelectedTransition", null);
89
89
  }
90
- function b(e2) {
90
+ function V(e2) {
91
91
  Object.getOwnPropertyNames(e2).forEach(function(t2) {
92
92
  if ("object" == typeof e2[t2]) {
93
93
  if (void 0 !== e2[t2]._text)
94
94
  return void (e2[t2] = e2[t2]._text);
95
95
  if (Object.keys(e2[t2]).length > 0)
96
- b(e2[t2]);
96
+ V(e2[t2]);
97
97
  else {
98
98
  ["variables", "events", "autoFilledFields"].indexOf(t2) < 0 && (e2[t2] = "");
99
99
  }
100
100
  }
101
101
  });
102
102
  }
103
- function V(e2, t2) {
103
+ function y(e2, t2) {
104
104
  t2 || (t2 = []), Array.isArray(t2) || (t2 = [t2]);
105
- const o2 = h().getters["wfEditor/taches"];
105
+ const o2 = f().getters["wfEditor/taches"];
106
106
  for (const l2 of t2) {
107
107
  const t3 = { id: l2.attr.id, name: l2.attr.name, x: l2.g.x, y: l2.g.y, width: l2.g.width, height: l2.g.height, type: e2, isSelected: false, ref: l2 };
108
108
  o2.push(t3);
109
109
  }
110
110
  }
111
- function y(e2) {
112
- e2 && (V("HumanTask", e2.humanTask), V("Decision", e2.decision), V("Fork", e2.fork), V("Join", e2.join), V("Subprocess", e2.subprocess), V("HumanDecision", e2.humanDecision), V("CopyTask", e2.copyTask), V("AutoTask", e2.autoTask), V("Start", e2.start), V("End", e2.end), function(e3, t2) {
111
+ function v(e2) {
112
+ e2 && (y("HumanTask", e2.humanTask), y("Decision", e2.decision), y("Fork", e2.fork), y("Join", e2.join), y("Subprocess", e2.subprocess), y("HumanDecision", e2.humanDecision), y("CopyTask", e2.copyTask), y("AutoTask", e2.autoTask), y("Start", e2.start), y("End", e2.end), function(e3, t2) {
113
113
  t2 || (t2 = []), Array.isArray(t2) || (t2 = [t2]);
114
- const o2 = h().getters["wfEditor/transitions"];
114
+ const o2 = f().getters["wfEditor/transitions"];
115
115
  for (const e4 of t2) {
116
- const t3 = e4.basicProperties.remark || "", l2 = { id: e4.attr.id, startJoint: { parent: T(e4.attr.from), position: e4.g.fromJoint }, endJoint: { parent: T(e4.attr.to), position: e4.g.toJoint }, isSelected: false, remark: t3, lineInfo: { type: e4.g.lineType, controlPoint: null }, ref: e4 };
116
+ const t3 = e4.basicProperties.remark || "", l2 = { id: e4.attr.id, startJoint: { parent: N(e4.attr.from), position: e4.g.fromJoint }, endJoint: { parent: N(e4.attr.to), position: e4.g.toJoint }, isSelected: false, remark: t3, lineInfo: { type: e4.g.lineType, controlPoint: null }, ref: e4 };
117
117
  if ("CurveLine" === e4.g.lineType && e4.g.coordinate) {
118
118
  const t4 = e4.g.coordinate.split(",");
119
119
  l2.lineInfo.controlPoint = { x: t4[0], y: t4[1] };
@@ -130,32 +130,32 @@
130
130
  }
131
131
  }(0, e2.transition));
132
132
  }
133
- function v(e2) {
134
- return h().getters["wfEditor/transitions"].filter((t2) => t2.startJoint.parent.id === e2 || t2.ref.attr.from === e2);
135
- }
136
133
  function T(e2) {
137
- const t2 = h().getters["wfEditor/taches"].filter((t3) => t3.ref.attr.id === e2);
138
- return t2.length > 0 ? t2[0] : null;
134
+ return f().getters["wfEditor/transitions"].filter((t2) => t2.startJoint.parent.id === e2 || t2.ref.attr.from === e2);
139
135
  }
140
136
  function N(e2) {
137
+ const t2 = f().getters["wfEditor/taches"].filter((t3) => t3.ref.attr.id === e2);
138
+ return t2.length > 0 ? t2[0] : null;
139
+ }
140
+ function x(e2) {
141
141
  return JSON.parse(JSON.stringify(e2));
142
142
  }
143
- function x(e2, t2) {
143
+ function E(e2, t2) {
144
144
  var o2;
145
- (o2 = t2, h().getters["wfEditor/transitions"].filter((e3) => e3.endJoint.parent.id === o2 || e3.ref.attr.to === o2)).map((t3) => {
145
+ (o2 = t2, f().getters["wfEditor/transitions"].filter((e3) => e3.endJoint.parent.id === o2 || e3.ref.attr.to === o2)).map((t3) => {
146
146
  t3.ref.attr.to = e2, t3.ref.attr.id = "flow_" + t3.ref.attr.from + "_to_" + t3.ref.attr.to, t3.id = t3.ref.attr.id;
147
147
  });
148
- return v(t2).map((t3) => {
148
+ return T(t2).map((t3) => {
149
149
  t3.ref.attr.from = e2, t3.ref.attr.id = "flow_" + t3.ref.attr.from + "_to_" + t3.ref.attr.to, t3.id = t3.ref.attr.id;
150
150
  }), true;
151
151
  }
152
- function E(e2) {
153
- const t2 = T(e2.formModel.id);
152
+ function S(e2) {
153
+ const t2 = N(e2.formModel.id);
154
154
  if (t2 && t2.id !== e2.id)
155
- return e2.$alert(f().t("workflowEditorMessage.itIsTheSameAsTheExistingLink", { name: t2.name })), void (e2.formModel.id = e2.id);
156
- x(e2.formModel.id, e2.id), e2.$emit("update:id", e2.formModel.id);
155
+ return e2.$alert(w().t("workflowEditorMessage.itIsTheSameAsTheExistingLink", { name: t2.name })), void (e2.formModel.id = e2.id);
156
+ E(e2.formModel.id, e2.id), e2.$emit("update:id", e2.formModel.id);
157
157
  }
158
- function S(e2, t2) {
158
+ function M(e2, t2) {
159
159
  let l2 = "";
160
160
  if (e2.processI18n && e2.model.ref && e2.model.ref.basicProperties && e2.model.ref.basicProperties.i18nKey) {
161
161
  const r2 = e2.model.ref.basicProperties.i18nKey, i2 = o.getLanguageWithLocale();
@@ -164,47 +164,47 @@
164
164
  l2 = t2;
165
165
  return l2;
166
166
  }
167
- const M = { newProcess: function() {
168
- const e2 = p();
169
- return e2.g = { x: 200, y: 150, width: 80, height: 40 }, { attr: { name: u.global.t("workflowEditor.task.newProcess"), code: "" }, properties: { basicProperties: { admin: "", formVersion: 1, formCode: "", processTypeCode: "", systemCode: "", creator: "", customType: "", branchCode: "" }, permissionSettings: { viewFlowHistory: "", viewSubscribeResult: "", viewVoteResult: "" }, reminder: null, parameterSettings: { doTask: { url: "", parameterName: "" }, viewForm: { url: "", parameterName: "" }, startProcess: { url: "", parameterName: "", parameterValue: "" }, handleEmergency: { url: "", parameterName: "" } }, events: { event: [] }, variables: { variable: [] } }, start: { attr: { id: "start" }, g: { x: 50, y: 50, width: 48, height: 48 } }, humanTask: e2, end: { attr: { id: "end" }, g: { x: 500, y: 300, width: 48, height: 48 } } };
170
- }, newHumanTask: p, newDecision: function() {
171
- return { attr: { id: "t3", name: u.global.t("workflowEditor.task.judge") }, g: {} };
167
+ const D = { newProcess: function() {
168
+ const e2 = h();
169
+ return e2.g = { x: 200, y: 150, width: 80, height: 40 }, { attr: { name: p.global.t("workflowEditor.task.newProcess"), code: "" }, properties: { basicProperties: { admin: "", formVersion: 1, formCode: "", processTypeCode: "", systemCode: "", creator: "", customType: "", branchCode: "" }, permissionSettings: { viewFlowHistory: "", viewSubscribeResult: "", viewVoteResult: "" }, reminder: null, parameterSettings: { doTask: { url: "", parameterName: "" }, viewForm: { url: "", parameterName: "" }, startProcess: { url: "", parameterName: "", parameterValue: "" }, handleEmergency: { url: "", parameterName: "" } }, events: { event: [] }, variables: { variable: [] } }, start: { attr: { id: "start" }, g: { x: 50, y: 50, width: 48, height: 48 } }, humanTask: e2, end: { attr: { id: "end" }, g: { x: 500, y: 300, width: 48, height: 48 } } };
170
+ }, newHumanTask: h, newDecision: function() {
171
+ return { attr: { id: "t3", name: p.global.t("workflowEditor.task.judge") }, g: {} };
172
172
  }, newStart: function() {
173
- return { attr: { id: "", name: u.global.t("workflowEditor.task.start") }, g: {} };
173
+ return { attr: { id: "", name: p.global.t("workflowEditor.task.start") }, g: {} };
174
174
  }, newEnd: function() {
175
- return { attr: { id: "", name: u.global.t("workflowEditor.task.end") }, g: {} };
175
+ return { attr: { id: "", name: p.global.t("workflowEditor.task.end") }, g: {} };
176
176
  }, newTransition: function() {
177
177
  return { attr: { id: "", from: "", to: "" }, g: {}, basicProperties: { remark: "", isOriginalUser: false, condition: "" }, inform: { informType: "mail", userCondition: "", subject: "", content: "" }, autoFilledFields: { field: [] }, onTransit: false };
178
178
  }, newSubprocess: function() {
179
- return { attr: { id: "", name: u.global.t("workflowEditor.task.subprocess"), taskTitle: "" }, g: {}, processCode: "", processVersion: "", events: { beforeStart: "", end: false }, transactorSettings: { userCondition: "", additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, parameters: { field: [] }, result: { field: [] } };
179
+ return { attr: { id: "", name: p.global.t("workflowEditor.task.subprocess"), taskTitle: "" }, g: {}, processCode: "", processVersion: "", events: { beforeStart: "", end: false }, transactorSettings: { userCondition: "", additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, parameters: { field: [] }, result: { field: [] } };
180
180
  }, newFork: function() {
181
- return { attr: { id: "", name: u.global.t("workflowEditor.task.branch") }, g: {} };
181
+ return { attr: { id: "", name: p.global.t("workflowEditor.task.branch") }, g: {} };
182
182
  }, newJoin: function() {
183
- return { attr: { id: "", name: u.global.t("workflowEditor.task.converge") }, g: {} };
183
+ return { attr: { id: "", name: p.global.t("workflowEditor.task.converge") }, g: {} };
184
184
  }, newHumanDecision: function() {
185
- return { attr: { name: u.global.t("workflowEditor.task.manualJudgment") }, g: {} };
185
+ return { attr: { name: p.global.t("workflowEditor.task.manualJudgment") }, g: {} };
186
186
  }, newCopyTask: function() {
187
- return { attr: { id: "", name: u.global.t("workflowEditor.task.newCc") }, g: {}, taskNotice: {}, basicProperties: { taskTitle: "", remark: "", taskUrl: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, events: {}, permissionSettings: { editForm: { permission: false, field: [] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } } };
187
+ return { attr: { id: "", name: p.global.t("workflowEditor.task.newCc") }, g: {}, taskNotice: {}, basicProperties: { taskTitle: "", remark: "", taskUrl: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, events: {}, permissionSettings: { editForm: { permission: false, field: [] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } } };
188
188
  }, newAutoTask: function() {
189
- return { attr: { id: "", name: u.global.t("workflowEditor.task.newAutoTask") }, g: {}, taskNotice: {}, basicProperties: { beanName: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, events: {}, permissionSettings: { editForm: { permission: false, field: [] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } } };
190
- } }, D = (e2, t2) => {
189
+ return { attr: { id: "", name: p.global.t("workflowEditor.task.newAutoTask") }, g: {}, taskNotice: {}, basicProperties: { beanName: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, events: {}, permissionSettings: { editForm: { permission: false, field: [] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } } };
190
+ } }, $ = (e2, t2) => {
191
191
  const o2 = e2.__vccOpts || e2;
192
192
  for (const [e3, l2] of t2)
193
193
  o2[e3] = l2;
194
194
  return o2;
195
- }, $ = { class: "svg-icon", "aria-hidden": "true" }, F = ["xlink:href"];
196
- const P = D({ name: "IconSvg", props: { icon: { type: String, required: true } }, computed: { iconName() {
195
+ }, F = { class: "svg-icon", "aria-hidden": "true" }, P = ["xlink:href"];
196
+ const B = $({ name: "IconSvg", props: { icon: { type: String, required: true } }, computed: { iconName() {
197
197
  return `#icon-${this.icon}`;
198
198
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
199
- return r.openBlock(), r.createElementBlock("svg", $, [r.createElementVNode("use", { "xlink:href": n2.iconName }, null, 8, F)]);
200
- }]]), B = { name: "Toolbox", components: { IconSvg: P }, data: () => ({ componentList: w() }), computed: { ...t.mapGetters("wfEditor", ["componentToDraw"]) }, methods: { ...t.mapMutations("wfEditor", ["setComponentToDraw"]), select(e2) {
199
+ return r.openBlock(), r.createElementBlock("svg", F, [r.createElementVNode("use", { "xlink:href": n2.iconName }, null, 8, P)]);
200
+ }]]), O = { name: "Toolbox", components: { IconSvg: B }, data: () => ({ componentList: g() }), computed: { ...t.mapGetters("wfEditor", ["componentToDraw"]) }, methods: { ...t.mapMutations("wfEditor", ["setComponentToDraw"]), select(e2) {
201
201
  this.setComponentToDraw(e2);
202
- } } }, O = { style: { height: "calc(100vh - 98px)", "background-color": "#FFFFFF" } };
203
- const I = D(B, [["render", function(e2, t2, o2, l2, i2, n2) {
202
+ } } }, I = { style: { height: "calc(100vh - 98px)", "background-color": "#FFFFFF" } };
203
+ const _ = $(O, [["render", function(e2, t2, o2, l2, i2, n2) {
204
204
  const a2 = r.resolveComponent("icon-svg"), s2 = r.resolveComponent("el-button");
205
- return r.openBlock(), r.createElementBlock("div", O, [r.createElementVNode("h3", null, r.toDisplayString(e2.$t("workflowEditor.main.tacheType")), 1), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.componentList, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3.name, type: e3.type, class: r.normalizeClass(e3.class), round: e3.round, onMousedown: (t3) => n2.select(e3.name) }, { default: r.withCtx(() => [r.createVNode(a2, { icon: e3.icon }, null, 8, ["icon"]), r.createTextVNode(" " + r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["type", "class", "round", "onMousedown"]))), 128))]);
206
- }], ["__scopeId", "data-v-0d941719"]]), _ = { name: "Joint", props: { parent: { type: Object, default: null }, position: { type: String, default: null } }, data: () => ({ isActivated: false }), computed: { ...t.mapGetters("wfEditor", ["transitions", "startJoint", "endJoint", "draggerToMove"]), joint() {
207
- return g(this.parent, this.position);
205
+ return r.openBlock(), r.createElementBlock("div", I, [r.createElementVNode("h3", null, r.toDisplayString(e2.$t("workflowEditor.main.tacheType")), 1), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.componentList, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3.name, type: e3.type, class: r.normalizeClass(e3.class), round: e3.round, onMousedown: (t3) => n2.select(e3.name) }, { default: r.withCtx(() => [r.createVNode(a2, { icon: e3.icon }, null, 8, ["icon"]), r.createTextVNode(" " + r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["type", "class", "round", "onMousedown"]))), 128))]);
206
+ }], ["__scopeId", "data-v-0d941719"]]), R = { name: "Joint", props: { parent: { type: Object, default: null }, position: { type: String, default: null } }, data: () => ({ isActivated: false }), computed: { ...t.mapGetters("wfEditor", ["transitions", "startJoint", "endJoint", "draggerToMove"]), joint() {
207
+ return C(this.parent, this.position);
208
208
  }, jointContainer() {
209
209
  return { x: this.joint.x - 10, y: this.joint.y - 10 };
210
210
  } }, methods: { ...t.mapMutations("wfEditor", ["setStartJoint", "setEndJoint", "stopDrawingLine", "setDraggerToMove", "setContextMenuVisible"]), isValidTransition(e2, t2) {
@@ -215,7 +215,7 @@
215
215
  if ("Decision" !== e2.parent.type && "Fork" !== e2.parent.type && "HumanDecision" !== e2.parent.type) {
216
216
  let t3 = 0;
217
217
  this.draggerToMove && (t3 = 1);
218
- if (v(e2.parent.id).length > t3)
218
+ if (T(e2.parent.id).length > t3)
219
219
  return this.$alert(this.$t("workflowEditorMessage.onlyConditionJudgmentBranchAndManualJudgmentCanHaveMultipleOutboundFlows")), false;
220
220
  }
221
221
  return "Start" === e2.parent.type && "End" === t2.parent.type ? (this.$alert(this.$t("workflowEditorMessage.startAndEndNodesCannotBeConnectedDirectly")), false) : "End" !== e2.parent.type || (this.$alert(this.$t("workflowEditorMessage.endNodeCannotHaveOutFlowDirection")), false);
@@ -235,40 +235,40 @@
235
235
  if (this.isValidTransition(this.startJoint, e2)) {
236
236
  this.setEndJoint(e2);
237
237
  const t2 = { id: "flow_" + this.startJoint.parent.id + "_to_" + this.endJoint.parent.id, startJoint: this.startJoint, endJoint: this.endJoint, isSelected: false, lineInfo: { type: "StraightLine", controlPoint: null } };
238
- t2.ref = M.newTransition(), t2.ref.attr = { id: t2.id, from: this.startJoint.parent.id, to: this.endJoint.parent.id }, this.transitions.push(t2);
238
+ t2.ref = D.newTransition(), t2.ref.attr = { id: t2.id, from: this.startJoint.parent.id, to: this.endJoint.parent.id }, this.transitions.push(t2);
239
239
  }
240
240
  this.stopDrawingLine();
241
241
  }, enterJoint() {
242
242
  this.isActivated = true, this.$emit("enter-joint");
243
243
  }, leaveJoint() {
244
244
  this.isActivated = false, this.$emit("leave-joint");
245
- } } }, R = ["x", "y"], A = ["cx", "cy"];
246
- const U = D(_, [["render", function(e2, t2, o2, l2, i2, n2) {
245
+ } } }, A = ["x", "y"], U = ["cx", "cy"];
246
+ const L = $(R, [["render", function(e2, t2, o2, l2, i2, n2) {
247
247
  return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[4] || (t2[4] = r.withModifiers(() => {
248
248
  }, ["stop"])) }, [r.createElementVNode("rect", { x: n2.jointContainer.x, y: n2.jointContainer.y, class: r.normalizeClass({ "joint-container": true, "joint-activated": i2.isActivated }), width: "20", height: "20", rx: "3", ry: "3", onMousemove: t2[0] || (t2[0] = r.withModifiers((...e3) => n2.enterJoint && n2.enterJoint(...e3), ["stop"])), onMouseout: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.leaveJoint && n2.leaveJoint(...e3), ["stop"])), onMousedown: t2[2] || (t2[2] = r.withModifiers((t3) => {
249
249
  e2.setContextMenuVisible(false), e2.setStartJoint({ parent: o2.parent, position: o2.position });
250
- }, ["stop"])), onMouseup: t2[3] || (t2[3] = (...e3) => n2.mouseup && n2.mouseup(...e3)) }, null, 42, R), r.withDirectives(r.createElementVNode("circle", { cx: n2.joint.x, cy: n2.joint.y, r: "3", class: "joint" }, null, 8, A), [[r.vShow, !i2.isActivated]])], 32);
251
- }]]), L = { startDrag(e2) {
250
+ }, ["stop"])), onMouseup: t2[3] || (t2[3] = (...e3) => n2.mouseup && n2.mouseup(...e3)) }, null, 42, A), r.withDirectives(r.createElementVNode("circle", { cx: n2.joint.x, cy: n2.joint.y, r: "3", class: "joint" }, null, 8, U), [[r.vShow, !i2.isActivated]])], 32);
251
+ }]]), H = { startDrag(e2) {
252
252
  this.model.name, this.setContextMenuVisible(false), function(e3, t2) {
253
- k(), t2.$parent.region = null, t2.$parent.showHistory || (t2.model.isSelected = true), h().getters["wfEditor/selectedTaches"].push(t2.model);
254
- const o2 = C(e3);
255
- h().commit("wfEditor/setMouseDownPosition", o2), h().commit("wfEditor/setMovingTache", true);
253
+ b(), t2.$parent.region = null, t2.$parent.showHistory || (t2.model.isSelected = true), f().getters["wfEditor/selectedTaches"].push(t2.model);
254
+ const o2 = k(e3);
255
+ f().commit("wfEditor/setMouseDownPosition", o2), f().commit("wfEditor/setMovingTache", true);
256
256
  }(e2, this);
257
257
  }, endDrag() {
258
- this.model.name, h().commit("wfEditor/setMovingTache", false), h().commit("wfEditor/setMouseDownPosition", null);
258
+ this.model.name, f().commit("wfEditor/setMovingTache", false), f().commit("wfEditor/setMouseDownPosition", null);
259
259
  }, showJoints() {
260
260
  this.$parent.showHistory || (this.jointPoints = ["up", "right", "down", "left"]);
261
261
  }, hideJoints() {
262
262
  this.jointPoints = [];
263
- } }, H = { name: "Start", components: { Joint: U }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]) }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, z = ["width", "height", "x", "y"], W = ["x", "y", "width", "height"];
264
- const j = D(H, [["render", function(e2, t2, o2, l2, i2, n2) {
263
+ } }, W = { name: "Start", components: { Joint: L }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]) }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, z = ["width", "height", "x", "y"], j = ["x", "y", "width", "height"];
264
+ const J = $(W, [["render", function(e2, t2, o2, l2, i2, n2) {
265
265
  const a2 = r.resolveComponent("joint");
266
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor(""), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, start: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, z), r.createElementVNode("use", { "xlink:href": "#icon-start", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#67C23A", class: "draggable" }, null, 8, W), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
267
- }]]), J = { name: "End", components: { Joint: U }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]) }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, G = ["width", "height", "x", "y"], q = ["x", "y", "width", "height"];
268
- const K = D(J, [["render", function(e2, t2, o2, l2, i2, n2) {
266
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor(""), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, start: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, z), r.createElementVNode("use", { "xlink:href": "#icon-start", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#67C23A", class: "draggable" }, null, 8, j), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
267
+ }]]), G = { name: "End", components: { Joint: L }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]) }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, q = ["width", "height", "x", "y"], K = ["x", "y", "width", "height"];
268
+ const X = $(G, [["render", function(e2, t2, o2, l2, i2, n2) {
269
269
  const a2 = r.resolveComponent("joint");
270
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor(""), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, end: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, G), r.createElementVNode("use", { "xlink:href": "#icon-end", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#F56C6C", class: "draggable" }, null, 8, q), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
271
- }]]), X = { name: "TacheResizer", props: { owner: { type: Object, default: null }, position: { type: String, default: "" } }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]), area() {
270
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor(""), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, end: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, q), r.createElementVNode("use", { "xlink:href": "#icon-end", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#F56C6C", class: "draggable" }, null, 8, K), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
271
+ }]]), Y = { name: "TacheResizer", props: { owner: { type: Object, default: null }, position: { type: String, default: "" } }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]), area() {
272
272
  let e2, t2;
273
273
  switch (this.position) {
274
274
  case "NW":
@@ -285,131 +285,131 @@
285
285
  }
286
286
  e2 -= 4, t2 -= 4;
287
287
  return { x: e2, y: t2, width: 8, height: 8, cursor: this.position.toLowerCase() + "-resize" };
288
- } }, methods: { ...t.mapMutations("wfEditor", ["setMovingResizer", "setResizerToMove", "setContextMenuVisible"]) } }, Y = ["x", "y", "width", "height"];
289
- const Q = D(X, [["render", function(e2, t2, o2, l2, i2, n2) {
288
+ } }, methods: { ...t.mapMutations("wfEditor", ["setMovingResizer", "setResizerToMove", "setContextMenuVisible"]) } }, Q = ["x", "y", "width", "height"];
289
+ const Z = $(Y, [["render", function(e2, t2, o2, l2, i2, n2) {
290
290
  return o2.owner.isSelected && 1 == e2.selectedTaches.length ? (r.openBlock(), r.createElementBlock("rect", { key: 0, x: n2.area.x, y: n2.area.y, width: n2.area.width, height: n2.area.height, style: r.normalizeStyle({ cursor: n2.area.cursor }), class: "resizer", onMousedown: t2[0] || (t2[0] = r.withModifiers((t3) => {
291
291
  e2.setContextMenuVisible(false), e2.setResizerToMove({ owner: o2.owner, position: o2.position });
292
- }, ["stop"])), onMouseup: t2[1] || (t2[1] = r.withModifiers((t3) => e2.setResizerToMove(null), ["stop"])) }, null, 44, Y)) : r.createCommentVNode("", true);
293
- }]]), Z = { name: "HumanTask", components: { Joint: U, TacheResizer: Q }, props: { model: { type: Object, default: null } }, data() {
292
+ }, ["stop"])), onMouseup: t2[1] || (t2[1] = r.withModifiers((t3) => e2.setResizerToMove(null), ["stop"])) }, null, 44, Q)) : r.createCommentVNode("", true);
293
+ }]]), ee = { name: "HumanTask", components: { Joint: L, TacheResizer: Z }, props: { model: { type: Object, default: null } }, data() {
294
294
  return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
295
295
  }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches", "processI18n"]), text() {
296
296
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height / 2 };
297
297
  } }, created() {
298
- this.name = S(this, this.name);
298
+ this.name = M(this, this.name);
299
299
  }, mounted() {
300
300
  this.$watch("model.name", function(e2) {
301
- this.name = S(this, e2);
301
+ this.name = M(this, e2);
302
302
  });
303
- }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, ee = ["width", "height", "x", "y"], te = ["x", "y"];
304
- const oe = D(Z, [["render", function(e2, t2, o2, l2, i2, n2) {
303
+ }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, te = ["width", "height", "x", "y"], oe = ["x", "y"];
304
+ const le = $(ee, [["render", function(e2, t2, o2, l2, i2, n2) {
305
305
  const a2 = r.resolveComponent("joint"), s2 = r.resolveComponent("tache-resizer");
306
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("HumanTask"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass(["draggable", "task-tache", { selected: o2.model.isSelected }]), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, ee), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, te), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
307
- }]]), le = { name: "Decision", components: { Joint: U }, props: { model: { type: Object, default: null } }, data() {
306
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("HumanTask"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass(["draggable", "task-tache", { selected: o2.model.isSelected }]), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, te), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, oe), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
307
+ }]]), re = { name: "Decision", components: { Joint: L }, props: { model: { type: Object, default: null } }, data() {
308
308
  return { jointPoints: [], name: this.model.name };
309
309
  }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches", "processI18n"]), text() {
310
310
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height + 12 };
311
311
  } }, created() {
312
- this.name = S(this, this.name);
312
+ this.name = M(this, this.name);
313
313
  }, mounted() {
314
314
  this.$watch("model.name", function(e2) {
315
- this.name = S(this, e2);
315
+ this.name = M(this, e2);
316
316
  });
317
- }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, re = ["width", "height", "x", "y"], ie = ["x", "y", "width", "height"], ne = ["x", "y"];
318
- const ae = D(le, [["render", function(e2, t2, o2, l2, i2, n2) {
317
+ }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, ie = ["width", "height", "x", "y"], ne = ["x", "y", "width", "height"], ae = ["x", "y"];
318
+ const se = $(re, [["render", function(e2, t2, o2, l2, i2, n2) {
319
319
  const a2 = r.resolveComponent("joint");
320
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("Decision"), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, decision: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, re), r.createElementVNode("use", { "xlink:href": "#icon-decision", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, ie), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, ne), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
321
- }]]), se = { name: "Subprocess", components: { Joint: U, TacheResizer: Q }, props: { model: { type: Object, default: null } }, data() {
320
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("Decision"), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, decision: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, ie), r.createElementVNode("use", { "xlink:href": "#icon-decision", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, ne), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, ae), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
321
+ }]]), de = { name: "Subprocess", components: { Joint: L, TacheResizer: Z }, props: { model: { type: Object, default: null } }, data() {
322
322
  return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
323
323
  }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches", "processI18n"]), text() {
324
324
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height / 2 };
325
325
  } }, created() {
326
- this.name = S(this, this.name);
326
+ this.name = M(this, this.name);
327
327
  }, mounted() {
328
328
  this.$watch("model.name", function(e2) {
329
- this.name = S(this, e2);
329
+ this.name = M(this, e2);
330
330
  });
331
- }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, de = ["width", "height", "x", "y"], ce = ["x", "y"];
332
- const me = D(se, [["render", function(e2, t2, o2, l2, i2, n2) {
331
+ }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, ce = ["width", "height", "x", "y"], me = ["x", "y"];
332
+ const ue = $(de, [["render", function(e2, t2, o2, l2, i2, n2) {
333
333
  const a2 = r.resolveComponent("joint"), s2 = r.resolveComponent("tache-resizer");
334
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("Subprocess"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, de), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, ce), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
335
- }]]), ue = { name: "CustomTask", components: { Joint: U, TacheResizer: Q }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [], resizers: ["NW", "NE", "SW", "SE"] }), computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]), text() {
334
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("Subprocess"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, ce), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, me), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
335
+ }]]), pe = { name: "CustomTask", components: { Joint: L, TacheResizer: Z }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [], resizers: ["NW", "NE", "SW", "SE"] }), computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]), text() {
336
336
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height / 2 };
337
- } }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, pe = ["width", "height", "x", "y"], he = ["x", "y"];
338
- const fe = D(ue, [["render", function(e2, t2, o2, l2, i2, n2) {
337
+ } }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, he = ["width", "height", "x", "y"], fe = ["x", "y"];
338
+ const we = $(pe, [["render", function(e2, t2, o2, l2, i2, n2) {
339
339
  const a2 = r.resolveComponent("joint"), s2 = r.resolveComponent("tache-resizer");
340
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("HumanTask"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, pe), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(o2.model.name), 9, he), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
341
- }]]), we = { name: "Fork", components: { Joint: U }, props: { model: { type: Object, default: null } }, data() {
340
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("HumanTask"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, he), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(o2.model.name), 9, fe), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
341
+ }]]), ge = { name: "Fork", components: { Joint: L }, props: { model: { type: Object, default: null } }, data() {
342
342
  return { jointPoints: [], name: this.model.name };
343
343
  }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches", "processI18n"]), text() {
344
344
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height + 12 };
345
345
  } }, created() {
346
- this.name = S(this, this.name);
346
+ this.name = M(this, this.name);
347
347
  }, mounted() {
348
348
  this.$watch("model.name", function(e2) {
349
- this.name = S(this, e2);
349
+ this.name = M(this, e2);
350
350
  });
351
- }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, ge = ["width", "height", "x", "y"], Ce = ["x", "y", "width", "height"], ke = ["x", "y"];
352
- const be = D(we, [["render", function(e2, t2, o2, l2, i2, n2) {
351
+ }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, Ce = ["width", "height", "x", "y"], ke = ["x", "y", "width", "height"], be = ["x", "y"];
352
+ const Ve = $(ge, [["render", function(e2, t2, o2, l2, i2, n2) {
353
353
  const a2 = r.resolveComponent("joint");
354
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("Fork"), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, decision: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, ge), r.createElementVNode("use", { "xlink:href": "#icon-fork", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, Ce), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, ke), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
355
- }]]), Ve = { name: "Join", components: { Joint: U }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]), text() {
354
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("Fork"), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, decision: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, Ce), r.createElementVNode("use", { "xlink:href": "#icon-fork", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, ke), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, be), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
355
+ }]]), ye = { name: "Join", components: { Joint: L }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]), text() {
356
356
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height + 12 };
357
- } }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, ye = ["width", "height", "x", "y"], ve = ["x", "y", "width", "height"], Te = ["x", "y"];
358
- const Ne = D(Ve, [["render", function(e2, t2, o2, l2, i2, n2) {
357
+ } }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, ve = ["width", "height", "x", "y"], Te = ["x", "y", "width", "height"], Ne = ["x", "y"];
358
+ const xe = $(ye, [["render", function(e2, t2, o2, l2, i2, n2) {
359
359
  const a2 = r.resolveComponent("joint");
360
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("Join"), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, decision: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, ye), r.createElementVNode("use", { "xlink:href": "#icon-join", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, ve), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(o2.model.name), 9, Te), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
361
- }]]), xe = { name: "HumanDecision", components: { Joint: U }, props: { model: { type: Object, default: null } }, data() {
360
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("Join"), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, decision: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, ve), r.createElementVNode("use", { "xlink:href": "#icon-join", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, Te), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(o2.model.name), 9, Ne), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
361
+ }]]), Ee = { name: "HumanDecision", components: { Joint: L }, props: { model: { type: Object, default: null } }, data() {
362
362
  return { jointPoints: [], name: this.model.name };
363
363
  }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches", "processI18n"]), text() {
364
364
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height + 12 };
365
365
  } }, created() {
366
- this.name = S(this, this.name);
366
+ this.name = M(this, this.name);
367
367
  }, mounted() {
368
368
  this.$watch("model.name", function(e2) {
369
- this.name = S(this, e2);
369
+ this.name = M(this, e2);
370
370
  });
371
- }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, Ee = ["width", "height", "x", "y"], Se = ["x", "y", "width", "height"], Me = ["x", "y"];
372
- const De = D(xe, [["render", function(e2, t2, o2, l2, i2, n2) {
371
+ }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, Se = ["width", "height", "x", "y"], Me = ["x", "y", "width", "height"], De = ["x", "y"];
372
+ const $e = $(Ee, [["render", function(e2, t2, o2, l2, i2, n2) {
373
373
  const a2 = r.resolveComponent("joint");
374
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("HumanDecision"), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "human-decision": !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, Ee), r.createElementVNode("use", { "xlink:href": "#icon-human-decision", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, Se), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, Me), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
375
- }]]), $e = { name: "CopyTask", components: { Joint: U, TacheResizer: Q }, props: { model: { type: Object, default: null } }, data() {
374
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("HumanDecision"), ["stop"])) }, [r.createElementVNode("rect", { width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "human-decision": !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, Se), r.createElementVNode("use", { "xlink:href": "#icon-human-decision", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, Me), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, De), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
375
+ }]]), Fe = { name: "CopyTask", components: { Joint: L, TacheResizer: Z }, props: { model: { type: Object, default: null } }, data() {
376
376
  return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
377
377
  }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches", "processI18n"]), text() {
378
378
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height / 2 };
379
379
  } }, created() {
380
- this.name = S(this, this.name);
380
+ this.name = M(this, this.name);
381
381
  }, mounted() {
382
382
  this.$watch("model.name", function(e2) {
383
- this.name = S(this, e2);
383
+ this.name = M(this, e2);
384
384
  });
385
- }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, Fe = ["width", "height", "x", "y"], Pe = ["x", "y"];
386
- const Be = D($e, [["render", function(e2, t2, o2, l2, i2, n2) {
385
+ }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, Pe = ["width", "height", "x", "y"], Be = ["x", "y"];
386
+ const Oe = $(Fe, [["render", function(e2, t2, o2, l2, i2, n2) {
387
387
  const a2 = r.resolveComponent("joint"), s2 = r.resolveComponent("tache-resizer");
388
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("CopyTask"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, Fe), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, Pe), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
389
- }]]), Oe = { name: "AutoTask", components: { Joint: U, TacheResizer: Q }, props: { model: { type: Object, default: null } }, data() {
388
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("CopyTask"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, Pe), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, Be), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
389
+ }]]), Ie = { name: "AutoTask", components: { Joint: L, TacheResizer: Z }, props: { model: { type: Object, default: null } }, data() {
390
390
  return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
391
391
  }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches", "processI18n"]), text() {
392
392
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height / 2 };
393
393
  } }, created() {
394
- this.name = S(this, this.name);
394
+ this.name = M(this, this.name);
395
395
  }, mounted() {
396
396
  this.$watch("model.name", function(e2) {
397
- this.name = S(this, e2);
397
+ this.name = M(this, e2);
398
398
  });
399
- }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...L } }, Ie = ["width", "height", "x", "y"], _e = ["x", "y"];
400
- const Re = D(Oe, [["render", function(e2, t2, o2, l2, i2, n2) {
399
+ }, methods: { ...t.mapMutations("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...H } }, _e = ["width", "height", "x", "y"], Re = ["x", "y"];
400
+ const Ae = $(Ie, [["render", function(e2, t2, o2, l2, i2, n2) {
401
401
  const a2 = r.resolveComponent("joint"), s2 = r.resolveComponent("tache-resizer");
402
- return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("AutoTask"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, Ie), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, _e), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
403
- }]]), Ae = ["d"];
404
- const Ue = D({ name: "StraightLine", props: { owner: { type: Object, default: null } }, computed: { path() {
405
- const e2 = g(this.owner.startJoint.parent, this.owner.startJoint.position), t2 = g(this.owner.endJoint.parent, this.owner.endJoint.position);
402
+ return r.openBlock(), r.createElementBlock("g", { onMousedown: t2[0] || (t2[0] = r.withModifiers((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r.withModifiers((t3) => e2.setPropertiesEditorFor("AutoTask"), ["stop"])) }, [r.createElementVNode("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: r.normalizeClass({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, _e), r.createElementVNode("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, Re), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.jointPoints, (e3) => (r.openBlock(), r.createBlock(a2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.resizers, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
403
+ }]]), Ue = ["d"];
404
+ const Le = $({ name: "StraightLine", props: { owner: { type: Object, default: null } }, computed: { path() {
405
+ const e2 = C(this.owner.startJoint.parent, this.owner.startJoint.position), t2 = C(this.owner.endJoint.parent, this.owner.endJoint.position);
406
406
  return "M" + e2.x + " " + e2.y + " L" + t2.x + " " + t2.y;
407
407
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
408
- return r.openBlock(), r.createElementBlock("path", { d: n2.path, "marker-end": "url(#arrow)" }, null, 8, Ae);
409
- }]]), Le = { name: "CurveLine", props: { owner: { type: Object, default: null } }, computed: { startPoint() {
410
- return g(this.owner.startJoint.parent, this.owner.startJoint.position);
408
+ return r.openBlock(), r.createElementBlock("path", { d: n2.path, "marker-end": "url(#arrow)" }, null, 8, Ue);
409
+ }]]), He = { name: "CurveLine", props: { owner: { type: Object, default: null } }, computed: { startPoint() {
410
+ return C(this.owner.startJoint.parent, this.owner.startJoint.position);
411
411
  }, endPoint() {
412
- return g(this.owner.endJoint.parent, this.owner.endJoint.position);
412
+ return C(this.owner.endJoint.parent, this.owner.endJoint.position);
413
413
  }, controlPoint() {
414
414
  return this.owner.lineInfo.controlPoint;
415
415
  }, path() {
@@ -427,13 +427,13 @@
427
427
  this.setControlPointToMove({ owner: this.owner });
428
428
  }, endDrag() {
429
429
  this.setControlPointToMove(null);
430
- } } }, He = ["d"], ze = ["d"], We = ["d"], je = ["cx", "cy"];
431
- const Je = D(Le, [["render", function(e2, t2, o2, l2, i2, n2) {
432
- return r.openBlock(), r.createElementBlock("g", null, [r.createElementVNode("path", { d: n2.path, "marker-end": "url(#arrow)" }, null, 8, He), o2.owner.isSelected ? (r.openBlock(), r.createElementBlock(r.Fragment, { key: 0 }, [r.createElementVNode("path", { d: n2.pathToStartPoint, class: "control-line" }, null, 8, ze), r.createElementVNode("path", { d: n2.pathToEndPoint, class: "control-line" }, null, 8, We), r.createElementVNode("circle", { cx: n2.controlPoint.x, cy: n2.controlPoint.y, r: "3", class: "control-point", onMousedown: t2[0] || (t2[0] = r.withModifiers((...e3) => n2.startDrag && n2.startDrag(...e3), ["stop"])), onMouseup: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.endDrag && n2.endDrag(...e3), ["stop"])) }, null, 40, je)], 64)) : r.createCommentVNode("", true)]);
433
- }], ["__scopeId", "data-v-0ff53a0a"]]), Ge = { name: "BrokenLine", props: { owner: { type: Object, default: null } }, computed: { startPoint() {
434
- return g(this.owner.startJoint.parent, this.owner.startJoint.position);
430
+ } } }, We = ["d"], ze = ["d"], je = ["d"], Je = ["cx", "cy"];
431
+ const Ge = $(He, [["render", function(e2, t2, o2, l2, i2, n2) {
432
+ return r.openBlock(), r.createElementBlock("g", null, [r.createElementVNode("path", { d: n2.path, "marker-end": "url(#arrow)" }, null, 8, We), o2.owner.isSelected ? (r.openBlock(), r.createElementBlock(r.Fragment, { key: 0 }, [r.createElementVNode("path", { d: n2.pathToStartPoint, class: "control-line" }, null, 8, ze), r.createElementVNode("path", { d: n2.pathToEndPoint, class: "control-line" }, null, 8, je), r.createElementVNode("circle", { cx: n2.controlPoint.x, cy: n2.controlPoint.y, r: "3", class: "control-point", onMousedown: t2[0] || (t2[0] = r.withModifiers((...e3) => n2.startDrag && n2.startDrag(...e3), ["stop"])), onMouseup: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.endDrag && n2.endDrag(...e3), ["stop"])) }, null, 40, Je)], 64)) : r.createCommentVNode("", true)]);
433
+ }], ["__scopeId", "data-v-0ff53a0a"]]), qe = { name: "BrokenLine", props: { owner: { type: Object, default: null } }, computed: { startPoint() {
434
+ return C(this.owner.startJoint.parent, this.owner.startJoint.position);
435
435
  }, endPoint() {
436
- return g(this.owner.endJoint.parent, this.owner.endJoint.position);
436
+ return C(this.owner.endJoint.parent, this.owner.endJoint.position);
437
437
  }, controlPoint() {
438
438
  return this.owner.lineInfo.controlPoint;
439
439
  }, path() {
@@ -450,24 +450,24 @@
450
450
  this.setControlPointToMove({ owner: this.owner, pointIndex: e2 });
451
451
  }, endDrag() {
452
452
  this.setControlPointToMove(null);
453
- } } }, qe = ["d"], Ke = ["cx", "cy", "onMousedown"];
454
- const Xe = { name: "Transition", components: { StraightLine: Ue, CurveLine: Je, BrokenLine: D(Ge, [["render", function(e2, t2, o2, l2, i2, n2) {
455
- return r.openBlock(), r.createElementBlock("g", null, [r.createElementVNode("path", { d: n2.path, "marker-end": "url(#arrow)" }, null, 8, qe), o2.owner.isSelected ? (r.openBlock(), r.createElementBlock(r.Fragment, { key: 0 }, [n2.controlPoint ? (r.openBlock(true), r.createElementBlock(r.Fragment, { key: 0 }, r.renderList(n2.controlPoint, (e3, o3) => (r.openBlock(), r.createElementBlock("circle", { key: e3.x + e3.y, cx: e3.x, cy: e3.y, r: "3", class: "control-point", onMousedown: r.withModifiers((e4) => n2.startDrag(o3, e4), ["stop"]), onMouseup: t2[0] || (t2[0] = r.withModifiers((...e4) => n2.endDrag && n2.endDrag(...e4), ["stop"])) }, null, 40, Ke))), 128)) : r.createCommentVNode("", true)], 64)) : r.createCommentVNode("", true)]);
453
+ } } }, Ke = ["d"], Xe = ["cx", "cy", "onMousedown"];
454
+ const Ye = { name: "Transition", components: { StraightLine: Le, CurveLine: Ge, BrokenLine: $(qe, [["render", function(e2, t2, o2, l2, i2, n2) {
455
+ return r.openBlock(), r.createElementBlock("g", null, [r.createElementVNode("path", { d: n2.path, "marker-end": "url(#arrow)" }, null, 8, Ke), o2.owner.isSelected ? (r.openBlock(), r.createElementBlock(r.Fragment, { key: 0 }, [n2.controlPoint ? (r.openBlock(true), r.createElementBlock(r.Fragment, { key: 0 }, r.renderList(n2.controlPoint, (e3, o3) => (r.openBlock(), r.createElementBlock("circle", { key: e3.x + e3.y, cx: e3.x, cy: e3.y, r: "3", class: "control-point", onMousedown: r.withModifiers((e4) => n2.startDrag(o3, e4), ["stop"]), onMouseup: t2[0] || (t2[0] = r.withModifiers((...e4) => n2.endDrag && n2.endDrag(...e4), ["stop"])) }, null, 40, Xe))), 128)) : r.createCommentVNode("", true)], 64)) : r.createCommentVNode("", true)]);
456
456
  }], ["__scopeId", "data-v-788fb0ae"]]) }, props: { model: { type: Object, default: null } }, data() {
457
457
  const e2 = this.getTextPoint();
458
458
  return { text: { x: e2.x, y: e2.y }, name: this.model.remark };
459
459
  }, computed: { ...t.mapGetters("wfEditor", ["draggerToMove", "processI18n"]), draggers() {
460
- const e2 = g(this.model.startJoint.parent, this.model.startJoint.position);
460
+ const e2 = C(this.model.startJoint.parent, this.model.startJoint.position);
461
461
  e2.position = "start";
462
- const t2 = g(this.model.endJoint.parent, this.model.endJoint.position);
462
+ const t2 = C(this.model.endJoint.parent, this.model.endJoint.position);
463
463
  return t2.position = "end", [e2, t2];
464
464
  }, path() {
465
465
  return "M" + this.draggers[0].x + " " + this.draggers[0].y + " L" + this.draggers[1].x + " " + this.draggers[1].y;
466
466
  } }, created() {
467
- this.name = S(this, this.name);
467
+ this.name = M(this, this.name);
468
468
  }, mounted() {
469
469
  this.$watch("model.remark", function(e2) {
470
- if (this.name = S(this, e2), this.name && "" !== this.name) {
470
+ if (this.name = M(this, e2), this.name && "" !== this.name) {
471
471
  const e3 = this.getTextPoint();
472
472
  this.text.x = e3.x, this.text.y = e3.y;
473
473
  }
@@ -491,7 +491,7 @@
491
491
  this.text.x = t2.x, this.text.y = t2.y;
492
492
  });
493
493
  }, methods: { ...t.mapMutations("wfEditor", ["setMouseDownPosition", "setDraggerToMove", "setSelectedTransition", "setPropertiesEditorFor"]), getTextPoint() {
494
- const e2 = g(this.model.startJoint.parent, this.model.startJoint.position), t2 = g(this.model.endJoint.parent, this.model.endJoint.position);
494
+ const e2 = C(this.model.startJoint.parent, this.model.startJoint.position), t2 = C(this.model.endJoint.parent, this.model.endJoint.position);
495
495
  let o2 = e2.x < t2.x ? e2.x : t2.x, l2 = e2.y < t2.y ? e2.y : t2.y, r2 = o2 + Math.abs(e2.x - t2.x) / 2, i2 = l2 + Math.abs(e2.y - t2.y) / 2;
496
496
  if ("CurveLine" === this.model.lineInfo.type) {
497
497
  const t3 = this.model.lineInfo.controlPoint;
@@ -502,32 +502,32 @@
502
502
  }
503
503
  return { x: r2, y: i2 };
504
504
  }, select(e2) {
505
- k(), this.model.isSelected = true, this.setSelectedTransition(this.model);
505
+ b(), this.model.isSelected = true, this.setSelectedTransition(this.model);
506
506
  }, startDrag(e2, t2) {
507
- this.setMouseDownPosition(C(e2)), this.setDraggerToMove({ owner: this.model, position: t2, originStartJoint: this.model.startJoint, originEndJoint: this.model.endJoint });
507
+ this.setMouseDownPosition(k(e2)), this.setDraggerToMove({ owner: this.model, position: t2, originStartJoint: this.model.startJoint, originEndJoint: this.model.endJoint });
508
508
  }, endDrag() {
509
509
  }, showPropertiesEditor() {
510
510
  "Decision" !== this.model.endJoint.parent.type && this.setPropertiesEditorFor("Transition");
511
- } } }, Ye = ["x", "y"], Qe = { key: 0 }, Ze = ["cx", "cy", "onMousedown"];
512
- const et = D(Xe, [["render", function(e2, t2, o2, l2, i2, n2) {
513
- return r.openBlock(), r.createElementBlock("g", { class: r.normalizeClass({ "no-events": null != e2.draggerToMove }), onMousedown: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.select && n2.select(...e3), ["stop"])), onDblclick: t2[2] || (t2[2] = r.withModifiers((...e3) => n2.showPropertiesEditor && n2.showPropertiesEditor(...e3), ["stop"])) }, [r.createElementVNode("text", { x: i2.text.x, y: i2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, Ye), (r.openBlock(), r.createBlock(r.resolveDynamicComponent(o2.model.lineInfo.type), { owner: o2.model, class: r.normalizeClass({ transition: true, selected: o2.model.isSelected || o2.model.startJoint.parent.isSelected && o2.model.endJoint.parent.isSelected }) }, null, 8, ["owner", "class"])), o2.model.isSelected ? (r.openBlock(), r.createElementBlock("g", Qe, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.draggers, (e3) => (r.openBlock(), r.createElementBlock("circle", { key: e3.position, cx: e3.x, cy: e3.y, class: "transition-dragger", r: "4", onMousedown: r.withModifiers((t3) => n2.startDrag(t3, e3.position), ["stop"]), onMouseup: t2[0] || (t2[0] = (...e4) => n2.endDrag && n2.endDrag(...e4)) }, null, 40, Ze))), 128))])) : r.createCommentVNode("", true)], 34);
514
- }], ["__scopeId", "data-v-a1576cad"]]), tt = { name: "VirtualTransition", props: { toPosition: { type: Object, default: null } }, computed: { ...t.mapGetters("wfEditor", ["startJoint"]), path() {
511
+ } } }, Qe = ["x", "y"], Ze = { key: 0 }, et = ["cx", "cy", "onMousedown"];
512
+ const tt = $(Ye, [["render", function(e2, t2, o2, l2, i2, n2) {
513
+ return r.openBlock(), r.createElementBlock("g", { class: r.normalizeClass({ "no-events": null != e2.draggerToMove }), onMousedown: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.select && n2.select(...e3), ["stop"])), onDblclick: t2[2] || (t2[2] = r.withModifiers((...e3) => n2.showPropertiesEditor && n2.showPropertiesEditor(...e3), ["stop"])) }, [r.createElementVNode("text", { x: i2.text.x, y: i2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, Qe), (r.openBlock(), r.createBlock(r.resolveDynamicComponent(o2.model.lineInfo.type), { owner: o2.model, class: r.normalizeClass({ transition: true, selected: o2.model.isSelected || o2.model.startJoint.parent.isSelected && o2.model.endJoint.parent.isSelected }) }, null, 8, ["owner", "class"])), o2.model.isSelected ? (r.openBlock(), r.createElementBlock("g", Ze, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.draggers, (e3) => (r.openBlock(), r.createElementBlock("circle", { key: e3.position, cx: e3.x, cy: e3.y, class: "transition-dragger", r: "4", onMousedown: r.withModifiers((t3) => n2.startDrag(t3, e3.position), ["stop"]), onMouseup: t2[0] || (t2[0] = (...e4) => n2.endDrag && n2.endDrag(...e4)) }, null, 40, et))), 128))])) : r.createCommentVNode("", true)], 34);
514
+ }], ["__scopeId", "data-v-a1576cad"]]), ot = { name: "VirtualTransition", props: { toPosition: { type: Object, default: null } }, computed: { ...t.mapGetters("wfEditor", ["startJoint"]), path() {
515
515
  if (!this.startJoint)
516
516
  return null;
517
- const e2 = g(this.startJoint.parent, this.startJoint.position), t2 = this.toPosition;
517
+ const e2 = C(this.startJoint.parent, this.startJoint.position), t2 = this.toPosition;
518
518
  return "M" + e2.x + " " + e2.y + " L" + t2.x + " " + t2.y;
519
- } }, methods: {} }, ot = ["d"];
520
- const lt = D(tt, [["render", function(e2, t2, o2, l2, i2, n2) {
521
- return r.openBlock(), r.createElementBlock("g", null, [r.withDirectives(r.createElementVNode("path", { d: n2.path, class: "virtual-transition", "marker-end": "url(#arrow)" }, null, 8, ot), [[r.vShow, n2.path]])]);
522
- }]]), rt = { name: "SelectionRegion", props: { region: { type: Object, default: null } }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]) }, methods: { ...t.mapMutations("wfEditor", ["setDrawingRegion", "setMovingRegion", "setMouseDownPosition"]), startDrag(e2) {
523
- const t2 = C(e2);
519
+ } }, methods: {} }, lt = ["d"];
520
+ const rt = $(ot, [["render", function(e2, t2, o2, l2, i2, n2) {
521
+ return r.openBlock(), r.createElementBlock("g", null, [r.withDirectives(r.createElementVNode("path", { d: n2.path, class: "virtual-transition", "marker-end": "url(#arrow)" }, null, 8, lt), [[r.vShow, n2.path]])]);
522
+ }]]), it = { name: "SelectionRegion", props: { region: { type: Object, default: null } }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]) }, methods: { ...t.mapMutations("wfEditor", ["setDrawingRegion", "setMovingRegion", "setMouseDownPosition"]), startDrag(e2) {
523
+ const t2 = k(e2);
524
524
  this.setMouseDownPosition(t2), this.setMovingRegion(true);
525
525
  }, endDrag(e2) {
526
526
  this.setMovingRegion(false), this.setMouseDownPosition(null);
527
- } } }, it = ["x", "y", "width", "height"];
528
- const nt = D(rt, [["render", function(e2, t2, o2, l2, i2, n2) {
529
- return r.openBlock(), r.createElementBlock("g", null, [o2.region ? (r.openBlock(), r.createElementBlock("rect", { key: 0, x: o2.region.x, y: o2.region.y, width: o2.region.width, height: o2.region.height, class: r.normalizeClass({ draggable: true, "selection-region": true, dashed: e2.selectedTaches.length < 1 }), onMousedown: t2[0] || (t2[0] = r.withModifiers((...e3) => n2.startDrag && n2.startDrag(...e3), ["stop"])), onMouseup: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.endDrag && n2.endDrag(...e3), ["stop"])) }, null, 42, it)) : r.createCommentVNode("", true)]);
530
- }]]), at = { name: "FormFields", props: { fields: { type: Array, default: null } }, data: () => ({ selectedField: null, copyShowFields: [], showFields: [], searchFormCode: "", dialogVisible: true }), computed: { ...t.mapGetters("wfEditor", ["formFields"]), allFields() {
527
+ } } }, nt = ["x", "y", "width", "height"];
528
+ const at = $(it, [["render", function(e2, t2, o2, l2, i2, n2) {
529
+ return r.openBlock(), r.createElementBlock("g", null, [o2.region ? (r.openBlock(), r.createElementBlock("rect", { key: 0, x: o2.region.x, y: o2.region.y, width: o2.region.width, height: o2.region.height, class: r.normalizeClass({ draggable: true, "selection-region": true, dashed: e2.selectedTaches.length < 1 }), onMousedown: t2[0] || (t2[0] = r.withModifiers((...e3) => n2.startDrag && n2.startDrag(...e3), ["stop"])), onMouseup: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.endDrag && n2.endDrag(...e3), ["stop"])) }, null, 42, nt)) : r.createCommentVNode("", true)]);
530
+ }]]), st = { name: "FormFields", props: { fields: { type: Array, default: null } }, data: () => ({ selectedField: null, copyShowFields: [], showFields: [], searchFormCode: "", dialogVisible: true }), computed: { ...t.mapGetters("wfEditor", ["formFields"]), allFields() {
531
531
  return this.fields ? this.fields : this.formFields;
532
532
  } }, mounted() {
533
533
  this.copyAllFields = this.allFields, this.showFields = this.allFields;
@@ -535,22 +535,22 @@
535
535
  this.$emit("close", this.selectedField);
536
536
  }, searchForm() {
537
537
  this.searchFormCode && "" !== this.searchFormCode ? this.showFields = this.copyAllFields.filter((e2) => e2.name.indexOf(this.searchFormCode) > -1 || e2.label.indexOf(this.searchFormCode) > -1) : this.showFields = this.copyAllFields;
538
- } } }, st = { style: { "padding-bottom": "10px" } }, dt = { style: { float: "left", width: "70%" } }, ct = { class: "item-content" };
539
- const mt = D(at, [["render", function(e2, t2, o2, l2, i2, n2) {
538
+ } } }, dt = { style: { "padding-bottom": "10px" } }, ct = { style: { float: "left", width: "70%" } }, mt = { class: "item-content" };
539
+ const ut = $(st, [["render", function(e2, t2, o2, l2, i2, n2) {
540
540
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-button"), d2 = r.resolveComponent("el-radio"), c2 = r.resolveComponent("el-radio-group"), m2 = r.resolveComponent("el-dialog");
541
- return r.openBlock(), r.createBlock(m2, { width: "60%", title: e2.$t("workflowEditor.common.selectFormField"), modelValue: i2.dialogVisible, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.dialogVisible = e3), center: "", top: "5vh", "append-to-body": "", class: "properties-editor-noTab", onClose: t2[4] || (t2[4] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(s2, { type: "primary", size: "small", onClick: n2.setField }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(s2, { size: "small", onClick: t2[2] || (t2[2] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createElementVNode("div", st, [r.createElementVNode("span", dt, [r.createVNode(a2, { modelValue: i2.searchFormCode, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.searchFormCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseEnterTheNameOrCode") }, null, 8, ["modelValue", "placeholder"])]), r.createElementVNode("span", null, [r.createVNode(s2, { style: { "margin-left": "10px" }, type: "primary", onClick: n2.searchForm }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.search")), 1)]), _: 1 }, 8, ["onClick"])])]), r.createElementVNode("div", ct, [r.createVNode(c2, { modelValue: i2.selectedField, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.selectedField = e3), class: "group" }, { default: r.withCtx(() => [r.createElementVNode("ul", null, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.showFields, (e3) => (r.openBlock(), r.createElementBlock("li", { key: e3.name, class: "item" }, [r.createVNode(d2, { label: e3.name }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]))), 128))])]), _: 1 }, 8, ["modelValue"])])]), _: 1 }, 8, ["title", "modelValue"]);
541
+ return r.openBlock(), r.createBlock(m2, { width: "60%", title: e2.$t("workflowEditor.common.selectFormField"), modelValue: i2.dialogVisible, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.dialogVisible = e3), center: "", top: "5vh", "append-to-body": "", class: "properties-editor-noTab", onClose: t2[4] || (t2[4] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(s2, { type: "primary", size: "small", onClick: n2.setField }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(s2, { size: "small", onClick: t2[2] || (t2[2] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createElementVNode("div", dt, [r.createElementVNode("span", ct, [r.createVNode(a2, { modelValue: i2.searchFormCode, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.searchFormCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseEnterTheNameOrCode") }, null, 8, ["modelValue", "placeholder"])]), r.createElementVNode("span", null, [r.createVNode(s2, { style: { "margin-left": "10px" }, type: "primary", onClick: n2.searchForm }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.search")), 1)]), _: 1 }, 8, ["onClick"])])]), r.createElementVNode("div", mt, [r.createVNode(c2, { modelValue: i2.selectedField, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.selectedField = e3), class: "group" }, { default: r.withCtx(() => [r.createElementVNode("ul", null, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.showFields, (e3) => (r.openBlock(), r.createElementBlock("li", { key: e3.name, class: "item" }, [r.createVNode(d2, { label: e3.name }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]))), 128))])]), _: 1 }, 8, ["modelValue"])])]), _: 1 }, 8, ["title", "modelValue"]);
542
542
  }], ["__scopeId", "data-v-98300543"]]);
543
- function ut(e2) {
544
- const t2 = pt(e2);
543
+ function pt(e2) {
544
+ const t2 = ht(e2);
545
545
  return t2 ? t2.label : e2;
546
546
  }
547
- function pt(e2) {
547
+ function ht(e2) {
548
548
  const t2 = window.$store.getters["wfEditor/formFields"];
549
549
  e2 && (e2.indexOf("${field[") >= 0 || e2.indexOf("${deptField[") >= 0) && (e2 = e2.substring(e2.indexOf("[") + 1, e2.lastIndexOf("]")));
550
550
  const o2 = t2.filter((t3) => t3.name === e2);
551
551
  return o2.length > 0 ? o2[0] : null;
552
552
  }
553
- const ht = D({ name: "TaskTitle", components: { FormFields: mt }, props: { modelValue: { type: String, default: null } }, data() {
553
+ const ft = $({ name: "TaskTitle", components: { FormFields: ut }, props: { modelValue: { type: String, default: null } }, data() {
554
554
  const e2 = [];
555
555
  if (this.modelValue) {
556
556
  const t2 = /\$\{(.+?)\}/g, o2 = this.modelValue.match(t2);
@@ -563,7 +563,7 @@
563
563
  let t2 = e2;
564
564
  if (e2.indexOf("${field[") >= 0) {
565
565
  const e3 = t2.substring(t2.indexOf("[") + 1, t2.lastIndexOf("]"));
566
- t2 = ut(e3), t2 = "[" + t2 + "]";
566
+ t2 = pt(e3), t2 = "[" + t2 + "]";
567
567
  } else if (e2.indexOf("${writeTitle[") >= 0) {
568
568
  const o2 = e2.indexOf("${writeTitle[");
569
569
  t2 = t2.substring(o2 + 13), t2 = t2.substring(0, t2.indexOf("]"));
@@ -587,28 +587,12 @@
587
587
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
588
588
  const a2 = r.resolveComponent("el-tag"), s2 = r.resolveComponent("el-input"), d2 = r.resolveComponent("el-button"), c2 = r.resolveComponent("el-button-group"), m2 = r.resolveComponent("form-fields");
589
589
  return r.openBlock(), r.createElementBlock("div", null, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.dynamicTags, (e3, t3) => (r.openBlock(), r.createBlock(a2, { key: t3 + e3, type: n2.getType(e3), closable: "", "disable-transitions": false, onClose: (t4) => n2.handleClose(e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(n2.showText(e3)), 1)]), _: 2 }, 1032, ["type", "onClose"]))), 128)), i2.inputVisible || i2.isShowAdditionalParam ? (r.openBlock(), r.createBlock(s2, { key: 0, ref: "saveTagInput", modelValue: i2.inputValue, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.inputValue = e3), class: "input-new-tag", size: "small", onKeyup: r.withKeys(n2.handleInputConfirm, ["enter", "native"]), onBlur: n2.handleInputConfirm }, null, 8, ["modelValue", "onKeyup", "onBlur"])) : r.createCommentVNode("", true), i2.inputVisible ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(c2, { key: 1 }, { default: r.withCtx(() => [r.createVNode(d2, { class: "button-new-tag", size: "small", icon: "EditPen", onClick: n2.showInput }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.enterText")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(d2, { class: "button-new-tag", size: "small", icon: "Search", onClick: t2[1] || (t2[1] = (e3) => i2.showFormFields = true) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.selectField")), 1)]), _: 1 }), r.createVNode(d2, { class: "button-new-tag", size: "small", icon: "EditPen", onClick: n2.showAdditionalParam }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.additionalParam")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 })), i2.showFormFields ? (r.openBlock(), r.createBlock(m2, { key: 2, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]);
590
- }], ["__scopeId", "data-v-aaf48aff"]]);
591
- var ft = (e2, t2) => {
592
- let o2 = e2.__vccOpts || e2;
593
- for (let [e3, l2] of t2)
594
- o2[e3] = l2;
595
- return o2;
596
- }, wt = { name: "CirclePlus" }, gt = { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1024 1024" }, Ct = [r.createElementVNode("path", { fill: "currentColor", d: "M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64z" }, null, -1), r.createElementVNode("path", { fill: "currentColor", d: "M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0z" }, null, -1), r.createElementVNode("path", { fill: "currentColor", d: "M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z" }, null, -1)];
597
- var kt = ft(wt, [["render", function(e2, t2, o2, l2, i2, n2) {
598
- return r.openBlock(), r.createElementBlock("svg", gt, Ct);
599
- }], ["__file", "circle-plus.vue"]]), bt = { name: "Delete" }, Vt = { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1024 1024" }, yt = [r.createElementVNode("path", { fill: "currentColor", d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z" }, null, -1)];
600
- var vt = ft(bt, [["render", function(e2, t2, o2, l2, i2, n2) {
601
- return r.openBlock(), r.createElementBlock("svg", Vt, yt);
602
- }], ["__file", "delete.vue"]]), Tt = { name: "Search" }, Nt = { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1024 1024" }, xt = [r.createElementVNode("path", { fill: "currentColor", d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704z" }, null, -1)];
603
- var Et = ft(Tt, [["render", function(e2, t2, o2, l2, i2, n2) {
604
- return r.openBlock(), r.createElementBlock("svg", Nt, xt);
605
- }], ["__file", "search.vue"]]);
606
- const St = [{ name: "${approvalResult}", label: f().t("workflowEditor.process.approvalResults"), orgType: "other" }, { name: "${instanceCreatorName}", label: f().t("workflowEditor.process.processInitiator"), orgType: "user" }, { name: "${instanceCreatorRole}", label: f().t("workflowEditor.process.processInitiatorRole"), orgType: "role" }, { name: "${instanceCreatorDepartment}", label: f().t("workflowEditor.process.processInitiatorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${superiorDepartment}", label: f().t("workflowEditor.process.processInitiatorSuperiorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${instanceCreatorUpstageDepartment}", label: f().t("workflowEditor.process.processInitiatorTopDepartment"), orgType: "department" }, { name: "${instanceCreatorWorkGroup}", label: f().t("workflowEditor.process.processInitiatorWorkingGroup"), orgType: "workgroup" }, { name: "${instanceCreatorDirectSuperiorName}", label: f().t("workflowEditor.process.sponsorsImmediateSuperior"), orgType: "user" }, { name: "${instanceCreatorDeptApprover}", label: f().t("workflowEditor.process.deptApprover"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDeptApprover}", label: f().t("workflowEditor.process.superiorDeptApprover"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDeptLeader}", label: f().t("workflowEditor.process.superiorDeptLeader"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDepartment}", label: f().t("workflowEditor.process.processInitiatorsDirectSuperiorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${instanceCreatorDirectSuperiorRole}", label: f().t("workflowEditor.process.directSuperiorRoleOfProcessInitiator"), orgType: "role" }, { name: "${instanceCreatorDirectSuperiorWorkGroup}", label: f().t("workflowEditor.process.ProcessInitiatorsImmediateSuperiorWorkingGroup"), orgType: "workgroup" }, { name: "${currentTransactorName}", label: f().t("workflowEditor.process.nameOfCurrentHandler"), orgType: "user", relatedFields: ["instanceCreatorName", "instanceCreatorDirectSuperiorName"] }, { name: "${currentTransactorRole}", label: f().t("workflowEditor.process.currentHandlerRole"), orgType: "role" }, { name: "${currentTransactorDepartment}", label: f().t("workflowEditor.process.currentHandlerDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorSuperiorDepartment}", label: f().t("workflowEditor.process.currentHandlerSuperiorDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorUpstageDepartment}", label: f().t("workflowEditor.process.topDepartmentOfCurrentHandler"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment"] }, { name: "${currentTransactorWorkGroup}", label: f().t("workflowEditor.process.currentHandlerWorkingGroup"), orgType: "workgroup" }, { name: "${currentTransactorDirectSuperiorName}", label: f().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"), orgType: "user", relatedFields: ["instanceCreatorName", "instanceCreatorDirectSuperiorName"] }, { name: "${currentTransactorDirectSuperiorDepartment}", label: f().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorDirectSuperiorRole}", label: f().t("workflowEditor.process.currentManagerDirectSuperiorRole"), orgType: "role" }, { name: "${currentTransactorDirectSuperiorWorkGroup}", label: f().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler"), orgType: "workgroup" }, { name: "${upstageDepartment}", label: f().t("workflowEditor.process.topDepartments"), orgType: "department" }, { name: "${countersignatureDisagreeCount}", label: f().t("workflowEditor.process.totalNnumberOfPersonsWhoDisagreeWithTheCountersignature"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureAgreeCount}", label: f().t("workflowEditor.process.totalNumberOfCountersignedAndAgreedPersonnel"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureDisagreePercentage}", label: f().t("workflowEditor.process.percentageOfPersonsWhoDisagreeWithTheCountersignature"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureAgreePercentage}", label: f().t("workflowEditor.process.percentageOfCountersignedAndAgreedPersonnel"), orgType: "other", dataType: "INTEGER" }, { name: "${abstentionPercentage}", label: f().t("workflowEditor.process.percentageOfAbstentions"), orgType: "other", dataType: "INTEGER" }, { name: "${againstPercentage}", label: f().t("workflowEditor.process.percentageOfVotesAgainst"), orgType: "other", dataType: "INTEGER" }, { name: "${favorPercentage}", label: f().t("workflowEditor.process.percentageOfAffirmativeVotes"), orgType: "other", dataType: "INTEGER" }, { name: "${abstentionCount}", label: f().t("workflowEditor.process.totalNumberOfAbstentions"), orgType: "other", dataType: "INTEGER" }, { name: "${againstCount}", label: f().t("workflowEditor.process.totalVotesAgainst"), orgType: "other", dataType: "INTEGER" }, { name: "${favorCount}", label: f().t("workflowEditor.process.totalNumberOfAffirmativeVotes"), orgType: "other", dataType: "INTEGER" }], Mt = { "condition.operator.or": f().t("workflowEditor.process.perhaps"), "condition.operator.and": f().t("workflowEditor.process.also") };
607
- const Dt = [{ name: "operator.number.gt", label: f().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: f().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: f().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: f().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: f().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: f().t("workflowEditor.process.notEqualTo") }];
608
- const $t = [{ name: "operator.text.eq", label: f().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: f().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: f().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: f().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: f().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: f().t("workflowEditor.process.isNotNull") }];
609
- const Ft = [{ name: "operator.date.gt", label: f().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: f().t("workflowEditor.process.earlierThan") }, { name: "operator.date.et", label: f().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: f().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: f().t("workflowEditor.process.noEarlierThan") }, { name: "operator.date.ne", label: f().t("workflowEditor.process.notEqualTo") }], Pt = [{ name: "operator.text.eq", label: f().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: f().t("workflowEditor.process.notEqualTo") }];
610
- const Bt = [{ name: "operator.text.eq", label: f().t("workflowEditor.process.beEqualTo") }], Ot = [...Dt, ...Ft, ...$t, ...Pt];
611
- function It(e2, t2) {
590
+ }], ["__scopeId", "data-v-aaf48aff"]]), wt = [{ name: "${approvalResult}", label: w().t("workflowEditor.process.approvalResults"), orgType: "other" }, { name: "${instanceCreatorName}", label: w().t("workflowEditor.process.processInitiator"), orgType: "user" }, { name: "${instanceCreatorRole}", label: w().t("workflowEditor.process.processInitiatorRole"), orgType: "role" }, { name: "${instanceCreatorDepartment}", label: w().t("workflowEditor.process.processInitiatorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${superiorDepartment}", label: w().t("workflowEditor.process.processInitiatorSuperiorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${instanceCreatorUpstageDepartment}", label: w().t("workflowEditor.process.processInitiatorTopDepartment"), orgType: "department" }, { name: "${instanceCreatorWorkGroup}", label: w().t("workflowEditor.process.processInitiatorWorkingGroup"), orgType: "workgroup" }, { name: "${instanceCreatorDirectSuperiorName}", label: w().t("workflowEditor.process.sponsorsImmediateSuperior"), orgType: "user" }, { name: "${instanceCreatorDeptApprover}", label: w().t("workflowEditor.process.deptApprover"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDeptApprover}", label: w().t("workflowEditor.process.superiorDeptApprover"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDeptLeader}", label: w().t("workflowEditor.process.superiorDeptLeader"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDepartment}", label: w().t("workflowEditor.process.processInitiatorsDirectSuperiorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${instanceCreatorDirectSuperiorRole}", label: w().t("workflowEditor.process.directSuperiorRoleOfProcessInitiator"), orgType: "role" }, { name: "${instanceCreatorDirectSuperiorWorkGroup}", label: w().t("workflowEditor.process.ProcessInitiatorsImmediateSuperiorWorkingGroup"), orgType: "workgroup" }, { name: "${currentTransactorName}", label: w().t("workflowEditor.process.nameOfCurrentHandler"), orgType: "user", relatedFields: ["instanceCreatorName", "instanceCreatorDirectSuperiorName"] }, { name: "${currentTransactorRole}", label: w().t("workflowEditor.process.currentHandlerRole"), orgType: "role" }, { name: "${currentTransactorDepartment}", label: w().t("workflowEditor.process.currentHandlerDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorSuperiorDepartment}", label: w().t("workflowEditor.process.currentHandlerSuperiorDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorUpstageDepartment}", label: w().t("workflowEditor.process.topDepartmentOfCurrentHandler"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment"] }, { name: "${currentTransactorWorkGroup}", label: w().t("workflowEditor.process.currentHandlerWorkingGroup"), orgType: "workgroup" }, { name: "${currentTransactorDirectSuperiorName}", label: w().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"), orgType: "user", relatedFields: ["instanceCreatorName", "instanceCreatorDirectSuperiorName"] }, { name: "${currentTransactorDirectSuperiorDepartment}", label: w().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorDirectSuperiorRole}", label: w().t("workflowEditor.process.currentManagerDirectSuperiorRole"), orgType: "role" }, { name: "${currentTransactorDirectSuperiorWorkGroup}", label: w().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler"), orgType: "workgroup" }, { name: "${upstageDepartment}", label: w().t("workflowEditor.process.topDepartments"), orgType: "department" }, { name: "${countersignatureDisagreeCount}", label: w().t("workflowEditor.process.totalNnumberOfPersonsWhoDisagreeWithTheCountersignature"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureAgreeCount}", label: w().t("workflowEditor.process.totalNumberOfCountersignedAndAgreedPersonnel"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureDisagreePercentage}", label: w().t("workflowEditor.process.percentageOfPersonsWhoDisagreeWithTheCountersignature"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureAgreePercentage}", label: w().t("workflowEditor.process.percentageOfCountersignedAndAgreedPersonnel"), orgType: "other", dataType: "INTEGER" }, { name: "${abstentionPercentage}", label: w().t("workflowEditor.process.percentageOfAbstentions"), orgType: "other", dataType: "INTEGER" }, { name: "${againstPercentage}", label: w().t("workflowEditor.process.percentageOfVotesAgainst"), orgType: "other", dataType: "INTEGER" }, { name: "${favorPercentage}", label: w().t("workflowEditor.process.percentageOfAffirmativeVotes"), orgType: "other", dataType: "INTEGER" }, { name: "${abstentionCount}", label: w().t("workflowEditor.process.totalNumberOfAbstentions"), orgType: "other", dataType: "INTEGER" }, { name: "${againstCount}", label: w().t("workflowEditor.process.totalVotesAgainst"), orgType: "other", dataType: "INTEGER" }, { name: "${favorCount}", label: w().t("workflowEditor.process.totalNumberOfAffirmativeVotes"), orgType: "other", dataType: "INTEGER" }], gt = { "condition.operator.or": w().t("workflowEditor.process.perhaps"), "condition.operator.and": w().t("workflowEditor.process.also") };
591
+ const Ct = [{ name: "operator.number.gt", label: w().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: w().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: w().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: w().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: w().t("workflowEditor.process.notEqualTo") }];
592
+ const kt = [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: w().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: w().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }];
593
+ const bt = [{ name: "operator.date.gt", label: w().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: w().t("workflowEditor.process.earlierThan") }, { name: "operator.date.et", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: w().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: w().t("workflowEditor.process.noEarlierThan") }, { name: "operator.date.ne", label: w().t("workflowEditor.process.notEqualTo") }], Vt = [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }];
594
+ const yt = [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }], vt = [...Ct, ...bt, ...kt, ...Vt];
595
+ function Tt(e2, t2) {
612
596
  if (t2 && 0 !== t2.length) {
613
597
  let o2 = t2.replace(/ condition.operator.or /g, " condition.operator.or^_^");
614
598
  o2 = o2.replace(/ condition.operator.and /g, " condition.operator.and^_^");
@@ -629,28 +613,28 @@
629
613
  return r2;
630
614
  }
631
615
  }
632
- function _t(e2) {
633
- const t2 = St.filter((t3) => t3.name === e2);
616
+ function Nt(e2) {
617
+ const t2 = wt.filter((t3) => t3.name === e2);
634
618
  return t2.length > 0 ? t2[0] : null;
635
619
  }
636
- function Rt(e2) {
637
- return e2 ? e2.indexOf("${field[") >= 0 ? ut(e2) : e2.indexOf("${") >= 0 ? function(e3) {
638
- const t2 = _t(e3);
620
+ function xt(e2) {
621
+ return e2 ? e2.indexOf("${field[") >= 0 ? pt(e2) : e2.indexOf("${") >= 0 ? function(e3) {
622
+ const t2 = Nt(e3);
639
623
  return t2 ? t2.label : e3;
640
624
  }(e2) : e2.indexOf("[") >= 0 ? e2.substring(0, e2.indexOf("[")) : e2 : "";
641
625
  }
642
- function At(e2) {
643
- const t2 = Ot.filter((t3) => t3.name === e2);
626
+ function Et(e2) {
627
+ const t2 = vt.filter((t3) => t3.name === e2);
644
628
  return t2.length > 0 ? t2[0].label : "";
645
629
  }
646
- function Ut(e2) {
630
+ function St(e2) {
647
631
  let t2 = "";
648
632
  for (const o3 of e2)
649
- 0 !== o3.key.length && void 0 !== o3.operator && "" !== o3.operator && null !== o3.operator && ("operator.text.is.null" === o3.operator || "operator.text.not.null" === o3.operator || "" !== o3.value && void 0 !== o3.value && null !== o3.value) && (t2 = t2 + o3.leftBracket + Rt(o3.key) + " " + At(o3.operator) + " " + Rt(o3.value) + o3.rightBracket + " " + Mt[o3.logicOperator] + " ");
633
+ 0 !== o3.key.length && void 0 !== o3.operator && "" !== o3.operator && null !== o3.operator && ("operator.text.is.null" === o3.operator || "operator.text.not.null" === o3.operator || "" !== o3.value && void 0 !== o3.value && null !== o3.value) && (t2 = t2 + o3.leftBracket + xt(o3.key) + " " + Et(o3.operator) + " " + xt(o3.value) + o3.rightBracket + " " + gt[o3.logicOperator] + " ");
650
634
  const o2 = " 或者 ", l2 = " 并且 ";
651
635
  return t2.lastIndexOf(o2) + 4 === t2.length ? t2 = t2.substring(0, t2.lastIndexOf(o2)) : t2.lastIndexOf(l2) + 4 === t2.length && (t2 = t2.substring(0, t2.lastIndexOf(l2))), t2;
652
636
  }
653
- const Lt = { name: "InlineSystemRoleTree", props: { multiple: { type: Boolean, default: false } }, data: () => ({ systemRoleTrees: null, filterText: "", defaultProps: { id: "id", label: "label", children: "children", isLeaf: "leaf" }, containBranch: false, tenantInfo: null, tenantNodeId: -1, allSearchNodeIds: [], allExpandNodeIds: [], isClickNode: false, searchValue: null, selectNodeInfo: null }), computed: {}, watch: { filterText(e2) {
637
+ const Mt = { name: "InlineSystemRoleTree", props: { multiple: { type: Boolean, default: false } }, data: () => ({ systemRoleTrees: null, filterText: "", defaultProps: { id: "id", label: "label", children: "children", isLeaf: "leaf" }, containBranch: false, tenantInfo: null, tenantNodeId: -1, allSearchNodeIds: [], allExpandNodeIds: [], isClickNode: false, searchValue: null, selectNodeInfo: null }), computed: {}, watch: { filterText(e2) {
654
638
  e2 || (this.searchValue = e2, this.loadRole(this.tenantNodeId, this.tenantNodeId + ""));
655
639
  } }, created() {
656
640
  }, methods: { loadNode(e2, t2) {
@@ -735,13 +719,13 @@
735
719
  }
736
720
  }, renderContent(e2, { node: t2, data: o2, store: l2 }) {
737
721
  return o2.nodeType && "ROLE" === o2.nodeType && this.searchValue && o2.label.indexOf(this.searchValue) > -1 ? e2("span", {}, [e2("span", { class: "searchResult" }, t2.label)]) : e2("span", {}, [e2("span", {}, t2.label)]);
738
- } } }, Ht = Object.assign(Lt, { setup: (e2) => (t2, o2) => {
739
- const l2 = r.resolveComponent("el-button"), i2 = r.resolveComponent("el-input"), n2 = r.resolveComponent("el-tree");
740
- return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(i2, { modelValue: t2.filterText, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => t2.filterText = e3), placeholder: t2.$t("workflowEditorMessage.pleaseEnterTheRoleName"), onKeyup: r.withKeys(t2.clickSearch, ["enter"]) }, { append: r.withCtx(() => [r.createVNode(l2, { icon: r.unref(Et), onClick: t2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "placeholder", "onKeyup"]), r.createVNode(n2, { ref: "roleTree", props: t2.defaultProps, load: t2.loadNode, lazy: "", "highlight-current": true, "node-key": "nodeId", "show-checkbox": e2.multiple, "check-strictly": "", "render-content": t2.renderContent, "filter-node-method": t2.filterNode, onCheck: t2.handleCheckNode, onNodeClick: t2.handleNodeClick }, null, 8, ["props", "load", "show-checkbox", "render-content", "filter-node-method", "onCheck", "onNodeClick"])]);
722
+ } } }, Dt = Object.assign(Mt, { setup: (e2) => (t2, o2) => {
723
+ const l2 = r.resolveComponent("el-button"), n2 = r.resolveComponent("el-input"), a2 = r.resolveComponent("el-tree");
724
+ return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(n2, { modelValue: t2.filterText, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => t2.filterText = e3), placeholder: t2.$t("workflowEditorMessage.pleaseEnterTheRoleName"), onKeyup: r.withKeys(t2.clickSearch, ["enter"]) }, { append: r.withCtx(() => [r.createVNode(l2, { icon: r.unref(i.Search), onClick: t2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "placeholder", "onKeyup"]), r.createVNode(a2, { ref: "roleTree", props: t2.defaultProps, load: t2.loadNode, lazy: "", "highlight-current": true, "node-key": "nodeId", "show-checkbox": e2.multiple, "check-strictly": "", "render-content": t2.renderContent, "filter-node-method": t2.filterNode, onCheck: t2.handleCheckNode, onNodeClick: t2.handleNodeClick }, null, 8, ["props", "load", "show-checkbox", "render-content", "filter-node-method", "onCheck", "onNodeClick"])]);
741
725
  } });
742
- const zt = D({ name: "ValueSelectionDialog", components: { InlineSystemRoleTree: Ht }, props: { standardFields: { type: [Object, Array], default: null }, title: { type: String, default: "" }, showOrganization: { type: Boolean, default: true }, showFormFields: { type: Boolean, default: true }, orgType: { type: String, default: "" } }, data() {
726
+ const $t = $({ name: "ValueSelectionDialog", components: { InlineSystemRoleTree: Dt }, props: { standardFields: { type: [Object, Array], default: null }, title: { type: String, default: "" }, showOrganization: { type: Boolean, default: true }, showFormFields: { type: Boolean, default: true }, orgType: { type: String, default: "" } }, data() {
743
727
  let e2 = this.title, t2 = "organization";
744
- return this.showOrganization || (t2 = "standardFields"), this.title && "" !== this.title || (e2 = f().t("workflowEditorMessage.pleaseSelectAValue")), { selectedValue: "", activeTab: t2, titleName: e2, dialogVisible: true, activeNames: ["baseField"] };
728
+ return this.showOrganization || (t2 = "standardFields"), this.title && "" !== this.title || (e2 = w().t("workflowEditorMessage.pleaseSelectAValue")), { selectedValue: "", activeTab: t2, titleName: e2, dialogVisible: true, activeNames: ["baseField"] };
745
729
  }, computed: { ...t.mapGetters("wfEditor", ["formFields"]), customFormFields() {
746
730
  return this.formFields.filter((e2) => !e2.baseField);
747
731
  }, baseFormFields() {
@@ -789,23 +773,23 @@
789
773
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
790
774
  const a2 = r.resolveComponent("el-radio"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-tab-pane"), c2 = r.resolveComponent("inline-department-user-tree"), m2 = r.resolveComponent("inline-department-tree"), u2 = r.resolveComponent("inline-workgroup-tree"), p2 = r.resolveComponent("inline-system-role-tree"), h2 = r.resolveComponent("el-col"), f2 = r.resolveComponent("el-collapse-item"), w2 = r.resolveComponent("el-collapse"), g2 = r.resolveComponent("el-radio-group"), C2 = r.resolveComponent("el-tabs"), k2 = r.resolveComponent("el-button"), b2 = r.resolveComponent("el-dialog");
791
775
  return r.openBlock(), r.createBlock(b2, { title: i2.titleName, "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-valueSelect", center: "", onClose: t2[5] || (t2[5] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(k2, { type: "primary", size: "small", onClick: n2.setValue }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(k2, { size: "small", onClick: t2[4] || (t2[4] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createVNode(C2, { id: "custTabOne", modelValue: i2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.activeTab = e3), type: "border-card" }, { default: r.withCtx(() => [n2.options.length > 0 ? (r.openBlock(), r.createBlock(d2, { key: 0, label: e2.$t("workflowEditor.process.standardFields"), name: "standardFields" }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.options, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3.name }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.selectedValue, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => i2.selectedValue = e4), label: e3.name, border: "" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["modelValue", "label"])]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), o2.showOrganization ? (r.openBlock(), r.createBlock(d2, { key: 1, label: e2.$t("workflowEditor.common.organizationStructure"), name: "organization" }, { default: r.withCtx(() => ["user" === o2.orgType ? (r.openBlock(), r.createBlock(c2, { key: 0, ref: "organizationTree", multiple: false, onResult: n2.orgSelect }, null, 8, ["onResult"])) : r.createCommentVNode("", true), "department" === o2.orgType ? (r.openBlock(), r.createBlock(m2, { key: 1, ref: "organizationTree", multiple: false, onResult: n2.orgSelect }, null, 8, ["onResult"])) : r.createCommentVNode("", true), "workgroup" === o2.orgType ? (r.openBlock(), r.createBlock(u2, { key: 2, ref: "organizationTree", multiple: false, onResult: n2.orgSelect }, null, 8, ["onResult"])) : r.createCommentVNode("", true), "role" === o2.orgType ? (r.openBlock(), r.createBlock(p2, { key: 3, ref: "organizationTree", multiple: false, onResult: n2.orgSelect }, null, 8, ["onResult"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(d2, { label: e2.$t("workflowEditor.common.formField"), name: "formFields" }, { default: r.withCtx(() => [r.createVNode(g2, { modelValue: i2.selectedValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.selectedValue = e3), class: "group" }, { default: r.withCtx(() => [r.createVNode(s2, { style: { width: "100%" } }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.customFormFields, (e3) => (r.openBlock(), r.createBlock(h2, { key: e3.name, span: 8 }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${field[" + e3.name + "]}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]), _: 2 }, 1024))), 128))]), _: 1 }), r.createVNode(w2, { modelValue: i2.activeNames, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.activeNames = e3), style: { width: "100%" } }, { default: r.withCtx(() => [r.createVNode(f2, { title: e2.$t("workflowEditor.task.baseField"), name: "baseField" }, { default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.baseFormFields, (e3) => (r.openBlock(), r.createBlock(h2, { key: e3.name, span: 8 }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${field[" + e3.name + "]}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["title"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["title"]);
792
- }], ["__scopeId", "data-v-7feaa2da"]]), Wt = { name: "AdditionalCondition", components: { ValueSelectionDialog: zt }, props: { modelValue: { type: String, default: null }, isTransition: { type: Boolean, default: false } }, data() {
793
- const e2 = [], t2 = It(e2, this.modelValue);
794
- return { standardFields: St, tableData: e2, count: t2, currentRow: null, currentInput: null, options: [], valueDialogTitle: null, showOrganization: true, orgType: null };
776
+ }], ["__scopeId", "data-v-7feaa2da"]]), Ft = { name: "AdditionalCondition", components: { ValueSelectionDialog: $t }, props: { modelValue: { type: String, default: null }, isTransition: { type: Boolean, default: false } }, data() {
777
+ const e2 = [], t2 = Tt(e2, this.modelValue);
778
+ return { standardFields: wt, tableData: e2, count: t2, currentRow: null, currentInput: null, options: [], valueDialogTitle: null, showOrganization: true, orgType: null };
795
779
  }, computed: { ...t.mapGetters("wfEditor", ["formFields"]), availableStandardFields() {
796
780
  return "key" === this.currentInput ? function(e2) {
797
781
  if (e2)
798
- return St;
782
+ return wt;
799
783
  const t2 = [];
800
- return St.forEach((o2) => {
784
+ return wt.forEach((o2) => {
801
785
  e2 || "other" === o2.orgType || t2.push(o2);
802
786
  }), t2;
803
787
  }(this.isTransition) : function(e2) {
804
- const t2 = St.filter((t3) => t3.name === e2);
788
+ const t2 = wt.filter((t3) => t3.name === e2);
805
789
  let o2 = [];
806
790
  t2.length > 0 && (o2 = t2[0].relatedFields || []);
807
791
  const l2 = [];
808
- return St.forEach((e3) => {
792
+ return wt.forEach((e3) => {
809
793
  o2.indexOf(e3.name.substring(2, e3.name.length - 1)) >= 0 && l2.push(e3);
810
794
  }), l2;
811
795
  }(this.currentRow.key);
@@ -819,16 +803,16 @@
819
803
  return t3.lastIndexOf(o2) + 23 === t3.length ? t3 = t3.substring(0, t3.lastIndexOf(o2)) : t3.lastIndexOf(l2) + 24 === t3.length && (t3 = t3.substring(0, t3.lastIndexOf(l2))), t3;
820
804
  }(this.tableData));
821
805
  }, { deep: true });
822
- }, methods: { format: (e2, t2) => "" === e2 || null == e2 ? "" : Rt(e2), getOperatorOptions: (e2) => function(e3) {
823
- const t2 = pt(e3) || _t(e3);
806
+ }, methods: { format: (e2, t2) => "" === e2 || null == e2 ? "" : xt(e2), getOperatorOptions: (e2) => function(e3) {
807
+ const t2 = ht(e3) || Nt(e3);
824
808
  if (t2)
825
- return o2 = t2.dataType, ["NUMBER", "DOUBLE", "FLOAT", "LONG", "INTEGER", "AMOUNT"].indexOf(o2) >= 0 ? Dt : function(e4) {
809
+ return o2 = t2.dataType, ["NUMBER", "DOUBLE", "FLOAT", "LONG", "INTEGER", "AMOUNT"].indexOf(o2) >= 0 ? Ct : function(e4) {
826
810
  return ["DATE", "TIME"].indexOf(e4) >= 0;
827
- }(t2.dataType) ? Ft : function(e4) {
811
+ }(t2.dataType) ? bt : function(e4) {
828
812
  return ["STRING", "TEXT"].indexOf(e4) >= 0;
829
- }(t2.dataType) ? $t : function(e4) {
813
+ }(t2.dataType) ? kt : function(e4) {
830
814
  return "${approvalResult}" === e4;
831
- }(e3) ? Bt : Pt;
815
+ }(e3) ? yt : Vt;
832
816
  var o2;
833
817
  }(e2), selectRow(e2) {
834
818
  this.$refs.table.setCurrentRow(e2);
@@ -858,7 +842,7 @@
858
842
  let e2 = this.getRowIndex(this.currentRow);
859
843
  this.tableData.splice(e2, 1), this.tableData.length > 0 && (e2 = e2 <= this.tableData.length - 1 ? e2 : this.tableData.length - 1, this.$refs.table.setCurrentRow(this.tableData[e2]));
860
844
  }, view() {
861
- let e2 = Ut(this.tableData);
845
+ let e2 = St(this.tableData);
862
846
  "" === e2 && (e2 = this.$t("workflowEditorMessage.conditionsHaveNotBeenSet")), this.$confirm(e2, this.$t("workflowEditorMessage.viewConditions"), { showConfirmButton: false, showCancelButton: false, callback: function() {
863
847
  } });
864
848
  }, selectField(e2) {
@@ -871,17 +855,17 @@
871
855
  }, isTransitionOtherField: (e2) => function(e3) {
872
856
  if ("${approvalResult}" === e3)
873
857
  return false;
874
- const t2 = St.filter((t3) => t3.name === e3);
858
+ const t2 = wt.filter((t3) => t3.name === e3);
875
859
  let o2 = false;
876
860
  return t2.length > 0 && t2.forEach((t3) => {
877
861
  e3 === t3.name && "other" === t3.orgType && (o2 = true);
878
862
  }), o2;
879
- }(e2) } }, jt = { style: { overflow: "auto", width: "100%" } };
880
- const Jt = D(Wt, [["render", function(e2, t2, o2, l2, i2, n2) {
863
+ }(e2) } }, Pt = { style: { overflow: "auto", width: "100%" } };
864
+ const Bt = $(Ft, [["render", function(e2, t2, o2, l2, i2, n2) {
881
865
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-option"), c2 = r.resolveComponent("el-select"), m2 = r.resolveComponent("el-table-column"), u2 = r.resolveComponent("el-input"), p2 = r.resolveComponent("el-table"), h2 = r.resolveComponent("value-selection-dialog");
882
- return r.openBlock(), r.createElementBlock("div", jt, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "ArrowRight", onClick: n2.insert }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.insert")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "View", onClick: n2.view }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.viewConditions")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.tableData, "row-key": "id", border: "", style: { width: "100%", "padding-top": "10px" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(m2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: "(", value: "(" }), r.createVNode(d2, { label: "((", value: "((" }), r.createVNode(d2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(m2, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.format(e3.row.key), onClick: (t3) => n2.selectField(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.operator"), width: "130" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.operator, "onUpdate:modelValue": (t3) => e3.row.operator = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.getOperatorOptions(e3.row.key), (e4) => (r.openBlock(), r.createBlock(d2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((t3) => [t3.row.key.indexOf("${field[") >= 0 || n2.isTransitionOtherField(t3.row.key) ? (r.openBlock(), r.createBlock(u2, { key: 0, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true } }, null, 8, ["modelValue", "onUpdate:modelValue"])) : "${approvalResult}" === t3.row.key ? (r.openBlock(), r.createBlock(c2, { key: 1, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true } }, { default: r.withCtx(() => [r.createVNode(d2, { value: "同意", label: e2.$t("workflowEditorPublicModel.agree") }, null, 8, ["label"]), r.createVNode(d2, { value: "不同意", label: e2.$t("workflowEditorPublicModel.disagree") }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (r.openBlock(), r.createBlock(u2, { key: 2, value: n2.format(t3.row.value, t3.row), readonly: "", onClick: n2.selectValue }, null, 8, ["value", "onClick"]))]), _: 1 }, 8, ["label"]), r.createVNode(m2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[0] || (t2[0] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, placeholder: "" }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: ")", value: ")" }), r.createVNode(d2, { label: "))", value: "))" }), r.createVNode(d2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(m2, { prop: "logicOperator", label: e2.$t("workflowEditorPublicModel.andOr"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.currentInput ? (r.openBlock(), r.createBlock(h2, { key: 0, title: i2.valueDialogTitle, "show-organization": i2.showOrganization, "standard-fields": n2.availableStandardFields, "org-type": i2.orgType, onClose: n2.closeValueDialog }, null, 8, ["title", "show-organization", "standard-fields", "org-type", "onClose"])) : r.createCommentVNode("", true)]);
866
+ return r.openBlock(), r.createElementBlock("div", Pt, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "ArrowRight", onClick: n2.insert }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.insert")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "View", onClick: n2.view }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.viewConditions")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.tableData, "row-key": "id", border: "", style: { width: "100%", "padding-top": "10px" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(m2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: "(", value: "(" }), r.createVNode(d2, { label: "((", value: "((" }), r.createVNode(d2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(m2, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.format(e3.row.key), onClick: (t3) => n2.selectField(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.operator"), width: "130" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.operator, "onUpdate:modelValue": (t3) => e3.row.operator = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.getOperatorOptions(e3.row.key), (e4) => (r.openBlock(), r.createBlock(d2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((t3) => [t3.row.key.indexOf("${field[") >= 0 || n2.isTransitionOtherField(t3.row.key) ? (r.openBlock(), r.createBlock(u2, { key: 0, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true } }, null, 8, ["modelValue", "onUpdate:modelValue"])) : "${approvalResult}" === t3.row.key ? (r.openBlock(), r.createBlock(c2, { key: 1, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true } }, { default: r.withCtx(() => [r.createVNode(d2, { value: "同意", label: e2.$t("workflowEditorPublicModel.agree") }, null, 8, ["label"]), r.createVNode(d2, { value: "不同意", label: e2.$t("workflowEditorPublicModel.disagree") }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (r.openBlock(), r.createBlock(u2, { key: 2, value: n2.format(t3.row.value, t3.row), readonly: "", onClick: n2.selectValue }, null, 8, ["value", "onClick"]))]), _: 1 }, 8, ["label"]), r.createVNode(m2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[0] || (t2[0] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, placeholder: "" }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: ")", value: ")" }), r.createVNode(d2, { label: "))", value: "))" }), r.createVNode(d2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(m2, { prop: "logicOperator", label: e2.$t("workflowEditorPublicModel.andOr"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.currentInput ? (r.openBlock(), r.createBlock(h2, { key: 0, title: i2.valueDialogTitle, "show-organization": i2.showOrganization, "standard-fields": n2.availableStandardFields, "org-type": i2.orgType, onClose: n2.closeValueDialog }, null, 8, ["title", "show-organization", "standard-fields", "org-type", "onClose"])) : r.createCommentVNode("", true)]);
883
867
  }]]);
884
- const Gt = D({ name: "AdditionalConditionDialog", components: { AdditionalCondition: Jt }, props: { modelValue: { type: String, default: "" } }, data() {
868
+ const Ot = $({ name: "AdditionalConditionDialog", components: { AdditionalCondition: Bt }, props: { modelValue: { type: String, default: "" } }, data() {
885
869
  return { condition: this.modelValue, dialogVisible: true };
886
870
  }, watch: { value(e2) {
887
871
  this.condition = e2;
@@ -890,7 +874,7 @@
890
874
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
891
875
  const a2 = r.resolveComponent("additional-condition"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-button"), c2 = r.resolveComponent("el-dialog");
892
876
  return r.openBlock(), r.createBlock(c2, { width: "50%", title: e2.$t("workflowEditor.task.setConditions"), "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", center: "", onClose: t2[2] || (t2[2] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(d2, { type: "primary", size: "small", onClick: n2.setConditions }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(d2, { size: "small", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.condition, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.condition = e3) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["title"]);
893
- }]]), qt = { name: "CustomActions", components: { AdditionalConditionDialog: Gt }, props: { model: { type: Object, default: null } }, data() {
877
+ }]]), It = { name: "CustomActions", components: { AdditionalConditionDialog: Ot }, props: { model: { type: Object, default: null } }, data() {
894
878
  const e2 = [];
895
879
  let t2 = 1;
896
880
  if (this.model.action)
@@ -899,7 +883,7 @@
899
883
  e2.push({ ...o2, id: t2 }), t2++;
900
884
  else
901
885
  e2.push({ ...this.model.action, id: t2 }), t2++;
902
- return { actions: e2, actionTypes: [{ type: "SAVE", label: f().t("workflowEditor.task.save") }, { type: "SUBMIT", label: f().t("workflowEditor.task.submission") }, { type: "APPROVE", label: f().t("workflowEditor.task.agree") }, { type: "REFUSE", label: f().t("workflowEditor.task.disagree") }, { type: "AGREEMENT", label: f().t("workflowEditor.task.favor") }, { type: "OPPOSE", label: f().t("workflowEditor.task.opposition") }, { type: "KIKEN", label: f().t("workflowEditor.task.waiver") }, { type: "DRAW", label: f().t("workflowEditor.task.receive") }, { type: "ABANDON_DRAW", label: f().t("workflowEditor.task.giveUp") }, { type: "ADD_SIGN", label: f().t("workflowEditor.task.additionalSignature") }, { type: "REMOVE_SIGN", label: f().t("workflowEditor.task.reductionOfSignature") }, { type: "ASSIGN_TASK", label: f().t("workflowEditor.task.assignTask") }, { type: "COPY", label: f().t("workflowEditor.task.copyTask") }, { type: "GET_BACK_BUTTON", label: f().t("workflowEditor.task.retrieveTask") }, { type: "READED", label: f().t("workflowEditor.task.readTask") }, { type: "EXPORT_REPORT", label: f().t("workflowEditor.task.exportReport") }], currentRow: null, count: t2, showAdditionalCondition: false };
886
+ return { actions: e2, actionTypes: [{ type: "SAVE", label: w().t("workflowEditor.task.save") }, { type: "SUBMIT", label: w().t("workflowEditor.task.submission") }, { type: "APPROVE", label: w().t("workflowEditor.task.agree") }, { type: "REFUSE", label: w().t("workflowEditor.task.disagree") }, { type: "AGREEMENT", label: w().t("workflowEditor.task.favor") }, { type: "OPPOSE", label: w().t("workflowEditor.task.opposition") }, { type: "KIKEN", label: w().t("workflowEditor.task.waiver") }, { type: "DRAW", label: w().t("workflowEditor.task.receive") }, { type: "ABANDON_DRAW", label: w().t("workflowEditor.task.giveUp") }, { type: "ADD_SIGN", label: w().t("workflowEditor.task.additionalSignature") }, { type: "REMOVE_SIGN", label: w().t("workflowEditor.task.reductionOfSignature") }, { type: "ASSIGN_TASK", label: w().t("workflowEditor.task.assignTask") }, { type: "COPY", label: w().t("workflowEditor.task.copyTask") }, { type: "GET_BACK_BUTTON", label: w().t("workflowEditor.task.retrieveTask") }, { type: "READED", label: w().t("workflowEditor.task.readTask") }, { type: "EXPORT_REPORT", label: w().t("workflowEditor.task.exportReport") }], currentRow: null, count: t2, showAdditionalCondition: false };
903
887
  }, mounted() {
904
888
  this.actions.length > 0 && this.selectRow(this.actions[this.actions.length - 1]), this.$watch("actions", function(e2, t2) {
905
889
  const o2 = [];
@@ -937,15 +921,15 @@
937
921
  if ("" === e2 || !e2)
938
922
  return this.$t("workflowEditor.task.nothing");
939
923
  const t2 = [];
940
- return It(t2, e2), Ut(t2);
924
+ return Tt(t2, e2), St(t2);
941
925
  }, selectCondition(e2) {
942
926
  this.selectRow(e2), this.currentRow || (this.currentRow.condition = ""), this.showAdditionalCondition = true;
943
- } } }, Kt = Object.assign(qt, { setup: (e2) => (e3, t2) => {
944
- const o2 = r.resolveComponent("el-button"), l2 = r.resolveComponent("el-table-column"), i2 = r.resolveComponent("el-option"), n2 = r.resolveComponent("el-select"), a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-checkbox"), d2 = r.resolveComponent("el-table"), c2 = r.resolveComponent("el-row");
945
- return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(c2, null, { default: r.withCtx(() => [r.createVNode(o2, { type: "primary", size: "small", plain: "", icon: r.unref(kt), onClick: e3.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["icon", "onClick"]), r.createVNode(o2, { type: "primary", size: "small", plain: "", icon: r.unref(vt), onClick: e3.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["icon", "onClick"]), r.createVNode(d2, { ref: "table", data: e3.actions, "row-key": "type", border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: e3.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(l2, { type: "index" }), r.createVNode(l2, { label: e3.$t("workflowEditor.task.operationType"), width: "180" }, { default: r.withCtx((t3) => [r.createVNode(n2, { modelValue: t3.row.type, "onUpdate:modelValue": (e4) => t3.row.type = e4, onChange: e3.isDuplicated }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e3.actionTypes, (e4) => (r.openBlock(), r.createBlock(i2, { key: e4.id, value: e4.type, label: e4.label }, null, 8, ["value", "label"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "label", label: e3.$t("workflowEditor.task.name"), width: "180" }, { default: r.withCtx((e4) => [r.createVNode(a2, { modelValue: e4.row.label, "onUpdate:modelValue": (t3) => e4.row.label = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "visible", label: e3.$t("workflowEditor.task.visibleOrNot") }, { default: r.withCtx((e4) => [r.createVNode(s2, { modelValue: e4.row.visible, "onUpdate:modelValue": (t3) => e4.row.visible = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "condition", label: e3.$t("workflowEditor.task.condition") }, { default: r.withCtx((t3) => [r.createVNode(a2, { value: e3.formatCondition(t3.row.condition), type: "textarea", autosize: "", onFocus: (o3) => e3.selectCondition(t3.row) }, null, 8, ["value", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]), _: 1 }), e3.showAdditionalCondition ? (r.openBlock(), r.createBlock(r.unref(Gt), { key: 0, modelValue: e3.currentRow.condition, "onUpdate:modelValue": t2[0] || (t2[0] = (t3) => e3.currentRow.condition = t3), onClose: t2[1] || (t2[1] = (t3) => e3.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]);
946
- } }), Xt = { name: "I18nSet", props: { value: { type: Object, default: null } }, data() {
927
+ } } }, _t = Object.assign(It, { setup: (e2) => (e3, t2) => {
928
+ const o2 = r.resolveComponent("el-button"), l2 = r.resolveComponent("el-table-column"), n2 = r.resolveComponent("el-option"), a2 = r.resolveComponent("el-select"), s2 = r.resolveComponent("el-input"), d2 = r.resolveComponent("el-checkbox"), c2 = r.resolveComponent("el-table"), m2 = r.resolveComponent("el-row");
929
+ return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(o2, { type: "primary", size: "small", plain: "", icon: r.unref(i.CirclePlus), onClick: e3.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["icon", "onClick"]), r.createVNode(o2, { type: "primary", size: "small", plain: "", icon: r.unref(i.Delete), onClick: e3.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["icon", "onClick"]), r.createVNode(c2, { ref: "table", data: e3.actions, "row-key": "type", border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: e3.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(l2, { type: "index" }), r.createVNode(l2, { label: e3.$t("workflowEditor.task.operationType"), width: "180" }, { default: r.withCtx((t3) => [r.createVNode(a2, { modelValue: t3.row.type, "onUpdate:modelValue": (e4) => t3.row.type = e4, onChange: e3.isDuplicated }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e3.actionTypes, (e4) => (r.openBlock(), r.createBlock(n2, { key: e4.id, value: e4.type, label: e4.label }, null, 8, ["value", "label"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "label", label: e3.$t("workflowEditor.task.name"), width: "180" }, { default: r.withCtx((e4) => [r.createVNode(s2, { modelValue: e4.row.label, "onUpdate:modelValue": (t3) => e4.row.label = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "visible", label: e3.$t("workflowEditor.task.visibleOrNot") }, { default: r.withCtx((e4) => [r.createVNode(d2, { modelValue: e4.row.visible, "onUpdate:modelValue": (t3) => e4.row.visible = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "condition", label: e3.$t("workflowEditor.task.condition") }, { default: r.withCtx((t3) => [r.createVNode(s2, { value: e3.formatCondition(t3.row.condition), type: "textarea", autosize: "", onFocus: (o3) => e3.selectCondition(t3.row) }, null, 8, ["value", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]), _: 1 }), e3.showAdditionalCondition ? (r.openBlock(), r.createBlock(r.unref(Ot), { key: 0, modelValue: e3.currentRow.condition, "onUpdate:modelValue": t2[0] || (t2[0] = (t3) => e3.currentRow.condition = t3), onClose: t2[1] || (t2[1] = (t3) => e3.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]);
930
+ } }), Rt = { name: "I18nSet", props: { value: { type: Object, default: null } }, data() {
947
931
  let e2 = {};
948
- return this.value && (e2 = JSON.parse(JSON.stringify(this.value))), { requiredRule: { required: true, message: f().t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }, i18nModel: e2, bundleCode: null, isShow: false, i18nKey: null, languages: {}, dialogVisible: true, isNewI18n: false };
932
+ return this.value && (e2 = JSON.parse(JSON.stringify(this.value))), { requiredRule: { required: true, message: w().t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }, i18nModel: e2, bundleCode: null, isShow: false, i18nKey: null, languages: {}, dialogVisible: true, isNewI18n: false };
949
933
  }, computed: { ...t.mapGetters("wfEditor", ["systemCode", "processCode", "isHandleCreate"]) }, created() {
950
934
  this.isHandleCreate && "true" === this.isHandleCreate ? this.isNewI18n = false : this.isNewI18n = true, this.isNewI18n || (this.bundleCode = this.systemCode + ".workflow." + this.processCode), this.getI18nSet();
951
935
  }, methods: { getI18nSet() {
@@ -967,10 +951,10 @@
967
951
  });
968
952
  }, goBack() {
969
953
  this.$emit("close");
970
- } } }, Yt = { class: "operation-area" };
971
- const Qt = { name: "I18nInput", components: { I18nSet: D(Xt, [["render", function(e2, t2, o2, l2, i2, n2) {
954
+ } } }, At = { class: "operation-area" };
955
+ const Ut = { name: "I18nInput", components: { I18nSet: $(Rt, [["render", function(e2, t2, o2, l2, i2, n2) {
972
956
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-input"), d2 = r.resolveComponent("el-form-item"), c2 = r.resolveComponent("el-col"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("el-form"), p2 = r.resolveComponent("el-dialog");
973
- return i2.isShow ? (r.openBlock(), r.createBlock(p2, { key: 0, "close-on-click-modal": false, width: "30%", title: e2.$t("workflowEditorPublicModel.i18nSet"), "append-to-body": "", "model-value": "", top: "5vh", onOpen: t2[2] || (t2[2] = (t3) => e2.$emit("open")), onOpend: t2[3] || (t2[3] = (t3) => e2.$emit("opend")), onClose: t2[4] || (t2[4] = (t3) => e2.$emit("close")), onClosed: t2[5] || (t2[5] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createElementVNode("div", Yt, [r.createVNode(a2, { type: "primary", size: "small", onClick: t2[0] || (t2[0] = (e3) => n2.saveI18nSet("form")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }), r.createVNode(a2, { size: "small", onClick: n2.goBack }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }, 8, ["onClick"])]), r.createVNode(u2, { ref: "form", model: i2.i18nModel, "label-width": "100px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(c2, { span: 24 }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditorPublicModel.i18nKey"), prop: "key", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.i18nModel.key, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.i18nModel.key = e3), style: { width: "80%" } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })]), _: 1 }), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(Object.keys(i2.languages), (e3) => (r.openBlock(), r.createBlock(m2, { key: e3 }, { default: r.withCtx(() => [r.createVNode(c2, { span: 24 }, { default: r.withCtx(() => [r.createVNode(d2, { label: i2.languages[e3], prop: e3 }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.i18nModel.values[e3], "onUpdate:modelValue": (t3) => i2.i18nModel.values[e3] = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "prop"])]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"])) : r.createCommentVNode("", true);
957
+ return i2.isShow ? (r.openBlock(), r.createBlock(p2, { key: 0, "close-on-click-modal": false, width: "30%", title: e2.$t("workflowEditorPublicModel.i18nSet"), "append-to-body": "", "model-value": "", top: "5vh", onOpen: t2[2] || (t2[2] = (t3) => e2.$emit("open")), onOpend: t2[3] || (t2[3] = (t3) => e2.$emit("opend")), onClose: t2[4] || (t2[4] = (t3) => e2.$emit("close")), onClosed: t2[5] || (t2[5] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createElementVNode("div", At, [r.createVNode(a2, { type: "primary", size: "small", onClick: t2[0] || (t2[0] = (e3) => n2.saveI18nSet("form")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }), r.createVNode(a2, { size: "small", onClick: n2.goBack }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }, 8, ["onClick"])]), r.createVNode(u2, { ref: "form", model: i2.i18nModel, "label-width": "100px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(c2, { span: 24 }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditorPublicModel.i18nKey"), prop: "key", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.i18nModel.key, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.i18nModel.key = e3), style: { width: "80%" } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })]), _: 1 }), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(Object.keys(i2.languages), (e3) => (r.openBlock(), r.createBlock(m2, { key: e3 }, { default: r.withCtx(() => [r.createVNode(c2, { span: 24 }, { default: r.withCtx(() => [r.createVNode(d2, { label: i2.languages[e3], prop: e3 }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.i18nModel.values[e3], "onUpdate:modelValue": (t3) => i2.i18nModel.values[e3] = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "prop"])]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"])) : r.createCommentVNode("", true);
974
958
  }]]) }, model: { prop: "value", event: "input" }, props: { modelValue: { type: String, default: "" }, i18nKey: { type: String, default: "" } }, data() {
975
959
  const e2 = this.modelValue;
976
960
  return { isShowI18n: false, myI18nKey: this.i18nKey, zh: e2, isNewI18n: false };
@@ -984,12 +968,12 @@
984
968
  this.myI18nKey ? this.isShowI18n = true : this.$message({ showClose: true, type: "warning", message: this.$t("workflowEditorMessage.pleaseInputCode") });
985
969
  }, closeI18nSet(e2) {
986
970
  e2 && this.$emit("setI18n", e2), this.isShowI18n = false;
987
- } } }, Zt = { style: { float: "left", "padding-right": "5px" } };
988
- const eo = D(Qt, [["render", function(e2, t2, o2, l2, i2, n2) {
971
+ } } }, Lt = { style: { float: "left", "padding-right": "5px" } };
972
+ const Ht = $(Ut, [["render", function(e2, t2, o2, l2, i2, n2) {
989
973
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("i18n-set");
990
- return r.openBlock(), r.createElementBlock("span", null, [r.createElementVNode("div", Zt, [r.createVNode(a2, { modelValue: i2.zh, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.zh = e3) }, { append: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-cog", onClick: t2[0] || (t2[0] = (...e3) => n2.i18nSet && n2.i18nSet(...e3)) })]), _: 1 }, 8, ["modelValue"])]), i2.isShowI18n ? (r.openBlock(), r.createBlock(s2, { key: 0, value: { values: { zh_CN: i2.zh }, key: i2.myI18nKey }, onClose: n2.closeI18nSet }, null, 8, ["value", "onClose"])) : r.createCommentVNode("", true)]);
991
- }]]), to = { style: { width: "100%" } };
992
- const oo = D({ name: "SelectMailTemplates", model: { prop: "value", event: "input" }, props: { modelValue: { type: [String, Number], default: "" } }, data() {
974
+ return r.openBlock(), r.createElementBlock("span", null, [r.createElementVNode("div", Lt, [r.createVNode(a2, { modelValue: i2.zh, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.zh = e3) }, { append: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-cog", onClick: t2[0] || (t2[0] = (...e3) => n2.i18nSet && n2.i18nSet(...e3)) })]), _: 1 }, 8, ["modelValue"])]), i2.isShowI18n ? (r.openBlock(), r.createBlock(s2, { key: 0, value: { values: { zh_CN: i2.zh }, key: i2.myI18nKey }, onClose: n2.closeI18nSet }, null, 8, ["value", "onClose"])) : r.createCommentVNode("", true)]);
975
+ }]]), Wt = { style: { width: "100%" } };
976
+ const zt = $({ name: "SelectMailTemplates", model: { prop: "value", event: "input" }, props: { modelValue: { type: [String, Number], default: "" } }, data() {
993
977
  return { baseURL: "", optionUrl: "", multiSelectData: [], showMailTemplateFlag: false, code: this.modelValue, options: { showColumns: "code,name" }, dialogVisible: true };
994
978
  }, created() {
995
979
  this.baseURL = window.$vueApp.config.globalProperties.baseAPI, this.optionUrl = "/mc/email-templates/list/0";
@@ -1001,8 +985,8 @@
1001
985
  this.code = null, this.$emit("set-value", null);
1002
986
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1003
987
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("super-grid"), d2 = r.resolveComponent("el-button"), c2 = r.resolveComponent("el-dialog");
1004
- return r.openBlock(), r.createElementBlock("span", to, [r.createVNode(a2, { readonly: "", modelValue: i2.code, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.code = e3), onClick: t2[3] || (t2[3] = (e3) => i2.showMailTemplateFlag = true) }, { append: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-search", onClick: t2[0] || (t2[0] = (e3) => i2.showMailTemplateFlag = true) }), r.createElementVNode("i", { style: { "padding-left": "10px" }, class: "fa fa-trash", onClick: t2[1] || (t2[1] = (e3) => n2.clearVal()) })]), _: 1 }, 8, ["modelValue"]), r.createVNode(c2, { width: "40%", title: e2.$t("workflowEditor.task.selectTemplate"), modelValue: i2.showMailTemplateFlag, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.showMailTemplateFlag = e3), center: "", top: "5vh", "append-to-body": "", class: "properties-editor-noTab" }, { footer: r.withCtx(() => [r.createVNode(d2, { onClick: t2[4] || (t2[4] = (e3) => i2.showMailTemplateFlag = false) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 }), r.createVNode(d2, { type: "primary", onClick: n2.selectTemplate }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"])]), default: r.withCtx(() => [r.createVNode(s2, { ref: "reportGrid", url: i2.baseURL + i2.optionUrl, code: "BS_EMAIL_TEMPLATE", options: i2.options, onSelect: n2.selectData }, null, 8, ["url", "options", "onSelect"])]), _: 1 }, 8, ["title", "modelValue"])]);
1005
- }]]), lo = { name: "BasicProperties", components: { TaskTitle: ht, CustomActions: Kt, i18nInput: eo, SelectMailTemplates: oo }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
988
+ return r.openBlock(), r.createElementBlock("span", Wt, [r.createVNode(a2, { readonly: "", modelValue: i2.code, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.code = e3), onClick: t2[3] || (t2[3] = (e3) => i2.showMailTemplateFlag = true) }, { append: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-search", onClick: t2[0] || (t2[0] = (e3) => i2.showMailTemplateFlag = true) }), r.createElementVNode("i", { style: { "padding-left": "10px" }, class: "fa fa-trash", onClick: t2[1] || (t2[1] = (e3) => n2.clearVal()) })]), _: 1 }, 8, ["modelValue"]), r.createVNode(c2, { width: "40%", title: e2.$t("workflowEditor.task.selectTemplate"), modelValue: i2.showMailTemplateFlag, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.showMailTemplateFlag = e3), center: "", top: "5vh", "append-to-body": "", class: "properties-editor-noTab" }, { footer: r.withCtx(() => [r.createVNode(d2, { onClick: t2[4] || (t2[4] = (e3) => i2.showMailTemplateFlag = false) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 }), r.createVNode(d2, { type: "primary", onClick: n2.selectTemplate }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"])]), default: r.withCtx(() => [r.createVNode(s2, { ref: "reportGrid", url: i2.baseURL + i2.optionUrl, code: "BS_EMAIL_TEMPLATE", options: i2.options, onSelect: n2.selectData }, null, 8, ["url", "options", "onSelect"])]), _: 1 }, 8, ["title", "modelValue"])]);
989
+ }]]), jt = { name: "BasicProperties", components: { TaskTitle: ft, CustomActions: _t, i18nInput: Ht, SelectMailTemplates: zt }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
1006
990
  let e2 = false;
1007
991
  const t2 = this.model.processingMode.actions.action;
1008
992
  return t2 && (e2 = !Array.isArray(t2) || 0 !== t2.length), { showActions: e2, formModel: { name: this.name, id: this.id, tache: this.model } };
@@ -1015,7 +999,7 @@
1015
999
  this.$emit("update:name", e2);
1016
1000
  });
1017
1001
  }, methods: { validateId() {
1018
- E(this);
1002
+ S(this);
1019
1003
  }, setMailTemplateCode(e2) {
1020
1004
  this.tache.mailTemplateCode = e2;
1021
1005
  }, setMailPointTemplateCode(e2) {
@@ -1024,11 +1008,11 @@
1024
1008
  this.tache.i18nKey = e2;
1025
1009
  }, updateAction(e2) {
1026
1010
  this.tache.processingMode.actions.action = e2;
1027
- } } }, ro = ((e2) => (r.pushScopeId("data-v-a219b06d"), e2 = e2(), r.popScopeId(), e2))(() => r.createElementVNode("span", { class: "percent" }, " % ", -1));
1028
- const io = D(lo, [["render", function(e2, t2, o2, l2, i2, n2) {
1011
+ } } }, Jt = ((e2) => (r.pushScopeId("data-v-a219b06d"), e2 = e2(), r.popScopeId(), e2))(() => r.createElementVNode("span", { class: "percent" }, " % ", -1));
1012
+ const Gt = $(jt, [["render", function(e2, t2, o2, l2, i2, n2) {
1029
1013
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("task-title"), p2 = r.resolveComponent("el-switch"), h2 = r.resolveComponent("select-mail-templates"), f2 = r.resolveComponent("el-radio"), w2 = r.resolveComponent("el-radio-group"), g2 = r.resolveComponent("el-input-number"), C2 = r.resolveComponent("custom-actions"), k2 = r.resolveComponent("el-form");
1030
- return r.openBlock(), r.createBlock(k2, { model: i2.formModel, "label-width": "110px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), "i18n-key": n2.tache.i18nKey ? n2.tache.i18nKey : "name." + i2.formModel.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.code") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.id = e3), onBlur: n2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: n2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => n2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.canItBeRejected") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.rebuttable, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => n2.tache.rebuttable = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.emailNotification") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.mailNotice, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => n2.tache.mailNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n2.tache.mailNotice ? (r.openBlock(), r.createBlock(s2, { key: 0, label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: n2.tache.mailTemplateCode, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => n2.tache.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), n2.tache.mailNotice ? (r.openBlock(), r.createBlock(s2, { key: 1, label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: n2.tache.mailPointTemplateCode, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => n2.tache.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.HandlingMethod") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: n2.tache.processingMode.type, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => n2.tache.processingMode.type = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: "EDIT" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.editorial")), 1)]), _: 1 }), r.createVNode(f2, { label: "APPROVE" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.approvalType")), 1)]), _: 1 }), r.createVNode(f2, { label: "COUNTERSIGN" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.countersign")), 1)]), _: 1 }), r.createVNode(f2, { label: "VOTE" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.voting")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), "EDIT" === n2.tache.processingMode.type || "APPROVE" === n2.tache.processingMode.type ? (r.openBlock(), r.createBlock(s2, { key: 2, label: e2.$t("workflowEditorMessage.whenThereAreMultipleManagers") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: n2.tache.processingMode.moreTransactor, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => n2.tache.processingMode.moreTransactor = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), r.createVNode(f2, { label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), "COUNTERSIGN" === n2.tache.processingMode.type || "VOTE" === n2.tache.processingMode.type ? (r.openBlock(), r.createBlock(s2, { key: 3, label: e2.$t("workflowEditor.task.passRate") }, { default: r.withCtx(() => [r.createVNode(g2, { modelValue: n2.tache.processingMode.passRate, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => n2.tache.processingMode.passRate = e3), step: 10, size: "small", min: 0, max: 100 }, null, 8, ["modelValue"]), ro]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.modifyOperationName") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.showActions, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.showActions = e3) }, null, 8, ["modelValue"]), i2.showActions ? (r.openBlock(), r.createBlock(C2, { key: 0, model: n2.tache.processingMode.actions, onUpdateAction: n2.updateAction }, null, 8, ["model", "onUpdateAction"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.handlingPage") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.taskUrl, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => n2.tache.taskUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.remarks") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.remark, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => n2.tache.remark = e3), type: "textarea", autosize: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1031
- }], ["__scopeId", "data-v-a219b06d"]]), no = { name: "EditableFieldSelection", components: { AdditionalCondition: Jt }, props: { value: { type: Array, default: null }, disabledFields: { type: Array, default: null } }, data: () => ({ availableFields: [], formModel: { selectedFields: [], constraintRule: "REQUIRED", showCondition: false, condition: "" }, availableFieldsCount: null, orange: -1, pin: false, dialogVisible: true, activeNames: ["baseField"] }), computed: { ...t.mapGetters("wfEditor", ["formFieldsWithSub"]) }, created() {
1014
+ return r.openBlock(), r.createBlock(k2, { model: i2.formModel, "label-width": "110px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), "i18n-key": n2.tache.i18nKey ? n2.tache.i18nKey : "name." + i2.formModel.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.code") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.id = e3), onBlur: n2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: n2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => n2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.canItBeRejected") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.rebuttable, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => n2.tache.rebuttable = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.emailNotification") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.mailNotice, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => n2.tache.mailNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n2.tache.mailNotice ? (r.openBlock(), r.createBlock(s2, { key: 0, label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: n2.tache.mailTemplateCode, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => n2.tache.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), n2.tache.mailNotice ? (r.openBlock(), r.createBlock(s2, { key: 1, label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: n2.tache.mailPointTemplateCode, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => n2.tache.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.HandlingMethod") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: n2.tache.processingMode.type, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => n2.tache.processingMode.type = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: "EDIT" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.editorial")), 1)]), _: 1 }), r.createVNode(f2, { label: "APPROVE" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.approvalType")), 1)]), _: 1 }), r.createVNode(f2, { label: "COUNTERSIGN" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.countersign")), 1)]), _: 1 }), r.createVNode(f2, { label: "VOTE" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.voting")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), "EDIT" === n2.tache.processingMode.type || "APPROVE" === n2.tache.processingMode.type ? (r.openBlock(), r.createBlock(s2, { key: 2, label: e2.$t("workflowEditorMessage.whenThereAreMultipleManagers") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: n2.tache.processingMode.moreTransactor, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => n2.tache.processingMode.moreTransactor = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), r.createVNode(f2, { label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), "COUNTERSIGN" === n2.tache.processingMode.type || "VOTE" === n2.tache.processingMode.type ? (r.openBlock(), r.createBlock(s2, { key: 3, label: e2.$t("workflowEditor.task.passRate") }, { default: r.withCtx(() => [r.createVNode(g2, { modelValue: n2.tache.processingMode.passRate, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => n2.tache.processingMode.passRate = e3), step: 10, size: "small", min: 0, max: 100 }, null, 8, ["modelValue"]), Jt]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.modifyOperationName") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.showActions, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.showActions = e3) }, null, 8, ["modelValue"]), i2.showActions ? (r.openBlock(), r.createBlock(C2, { key: 0, model: n2.tache.processingMode.actions, onUpdateAction: n2.updateAction }, null, 8, ["model", "onUpdateAction"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.handlingPage") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.taskUrl, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => n2.tache.taskUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.remarks") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.remark, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => n2.tache.remark = e3), type: "textarea", autosize: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1015
+ }], ["__scopeId", "data-v-a219b06d"]]), qt = { name: "EditableFieldSelection", components: { AdditionalCondition: Bt }, props: { value: { type: Array, default: null }, disabledFields: { type: Array, default: null } }, data: () => ({ availableFields: [], formModel: { selectedFields: [], constraintRule: "REQUIRED", showCondition: false, condition: "" }, availableFieldsCount: null, orange: -1, pin: false, dialogVisible: true, activeNames: ["baseField"] }), computed: { ...t.mapGetters("wfEditor", ["formFieldsWithSub"]) }, created() {
1032
1016
  let e2 = 0;
1033
1017
  this.formFieldsWithSub.map((t3) => {
1034
1018
  this.disabledFields.indexOf(t3.name) < 0 && (t3.index = e2, this.availableFields.push(t3), e2++);
@@ -1058,11 +1042,11 @@
1058
1042
  }
1059
1043
  } else
1060
1044
  this.origin = t2;
1061
- } } }, ao = ["title"], so = ["title"], co = ["title"], mo = ["title"], uo = ["title"], po = ["title"], ho = ["title"], fo = ["title"], wo = ["title"], go = ["title"], Co = ["title"], ko = ["title"];
1062
- const bo = { name: "EditableFields", components: { EditableFieldSelection: D(no, [["render", function(e2, t2, o2, l2, i2, n2) {
1045
+ } } }, Kt = ["title"], Xt = ["title"], Yt = ["title"], Qt = ["title"], Zt = ["title"], eo = ["title"], to = ["title"], oo = ["title"], lo = ["title"], ro = ["title"], io = ["title"], no = ["title"];
1046
+ const ao = { name: "EditableFields", components: { EditableFieldSelection: $(qt, [["render", function(e2, t2, o2, l2, i2, n2) {
1063
1047
  const a2 = r.resolveComponent("el-checkbox"), s2 = r.resolveComponent("el-col"), d2 = r.resolveComponent("el-row"), c2 = r.resolveComponent("el-collapse-item"), m2 = r.resolveComponent("el-collapse"), u2 = r.resolveComponent("el-checkbox-group"), p2 = r.resolveComponent("el-radio"), h2 = r.resolveComponent("el-radio-group"), f2 = r.resolveComponent("el-form-item"), w2 = r.resolveComponent("el-switch"), g2 = r.resolveComponent("additional-condition"), C2 = r.resolveComponent("el-form"), k2 = r.resolveComponent("el-button"), b2 = r.resolveComponent("el-dialog");
1064
- return r.openBlock(), r.createBlock(b2, { id: "appContainer", width: "60%", title: e2.$t("workflowEditor.task.selectEditableField"), "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", center: "", onClose: t2[6] || (t2[6] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(k2, { type: "primary", size: "small", onClick: n2.setSelectedFields }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(k2, { size: "small", onClick: t2[5] || (t2[5] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createVNode(C2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.selectedFields, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.selectedFields = e3) }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.availableFieldsCount, (e3, t3) => (r.openBlock(), r.createElementBlock(r.Fragment, { key: e3.prop }, [i2.availableFields[3 * t3 + 0] && !i2.availableFields[3 * t3 + 0].baseField ? (r.openBlock(), r.createBlock(s2, { key: 0, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 0].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, ao)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, so)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 1] && !i2.availableFields[3 * t3 + 1].baseField ? (r.openBlock(), r.createBlock(s2, { key: 1, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 1].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, co)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, mo)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 2] && !i2.availableFields[3 * t3 + 2].baseField ? (r.openBlock(), r.createBlock(s2, { key: 2, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 2].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, uo)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, po)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true)], 64))), 128))]), _: 1 }), r.createVNode(m2, { modelValue: i2.activeNames, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.activeNames = e3) }, { default: r.withCtx(() => [r.createVNode(c2, { title: e2.$t("workflowEditor.task.baseField"), name: "baseField" }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.availableFieldsCount, (e3, t3) => (r.openBlock(), r.createElementBlock("span", { key: e3.prop }, [r.createVNode(d2, null, { default: r.withCtx(() => [i2.availableFields[3 * t3 + 0] && i2.availableFields[3 * t3 + 0].baseField ? (r.openBlock(), r.createBlock(s2, { key: 0, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 0].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, ho)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, fo)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 1] && i2.availableFields[3 * t3 + 1].baseField ? (r.openBlock(), r.createBlock(s2, { key: 1, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 1].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, wo)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, go)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 2] && i2.availableFields[3 * t3 + 2].baseField ? (r.openBlock(), r.createBlock(s2, { key: 2, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 2].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, Co)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, ko)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]), _: 1 }, 8, ["title"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"]), r.createVNode(f2, { label: e2.$t("workflowEditor.task.editingMethod") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.formModel.constraintRule, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.constraintRule = e3) }, { default: r.withCtx(() => [r.createVNode(p2, { label: "REQUIRED" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r.createVNode(p2, { label: "READ_ONLY" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(f2, { label: e2.$t("workflowEditor.task.additionalConditions") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.formModel.showCondition, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.showCondition = e3) }, null, 8, ["modelValue"]), i2.formModel.showCondition ? (r.openBlock(), r.createBlock(g2, { key: 0, modelValue: i2.formModel.condition, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"]);
1065
- }], ["__scopeId", "data-v-9458f3bf"]]), AdditionalConditionDialog: Gt }, props: { modelValue: { type: [Array, Object], default: null } }, data() {
1048
+ return r.openBlock(), r.createBlock(b2, { id: "appContainer", width: "60%", title: e2.$t("workflowEditor.task.selectEditableField"), "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", center: "", onClose: t2[6] || (t2[6] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(k2, { type: "primary", size: "small", onClick: n2.setSelectedFields }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(k2, { size: "small", onClick: t2[5] || (t2[5] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createVNode(C2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.selectedFields, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.selectedFields = e3) }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.availableFieldsCount, (e3, t3) => (r.openBlock(), r.createElementBlock(r.Fragment, { key: e3.prop }, [i2.availableFields[3 * t3 + 0] && !i2.availableFields[3 * t3 + 0].baseField ? (r.openBlock(), r.createBlock(s2, { key: 0, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 0].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, Kt)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, Xt)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 1] && !i2.availableFields[3 * t3 + 1].baseField ? (r.openBlock(), r.createBlock(s2, { key: 1, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 1].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, Yt)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, Qt)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 2] && !i2.availableFields[3 * t3 + 2].baseField ? (r.openBlock(), r.createBlock(s2, { key: 2, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 2].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, Zt)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, eo)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true)], 64))), 128))]), _: 1 }), r.createVNode(m2, { modelValue: i2.activeNames, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.activeNames = e3) }, { default: r.withCtx(() => [r.createVNode(c2, { title: e2.$t("workflowEditor.task.baseField"), name: "baseField" }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.availableFieldsCount, (e3, t3) => (r.openBlock(), r.createElementBlock("span", { key: e3.prop }, [r.createVNode(d2, null, { default: r.withCtx(() => [i2.availableFields[3 * t3 + 0] && i2.availableFields[3 * t3 + 0].baseField ? (r.openBlock(), r.createBlock(s2, { key: 0, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 0].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, to)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, oo)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 1] && i2.availableFields[3 * t3 + 1].baseField ? (r.openBlock(), r.createBlock(s2, { key: 1, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 1].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, lo)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, ro)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 2] && i2.availableFields[3 * t3 + 2].baseField ? (r.openBlock(), r.createBlock(s2, { key: 2, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 2].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, io)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, no)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]), _: 1 }, 8, ["title"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"]), r.createVNode(f2, { label: e2.$t("workflowEditor.task.editingMethod") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.formModel.constraintRule, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.constraintRule = e3) }, { default: r.withCtx(() => [r.createVNode(p2, { label: "REQUIRED" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r.createVNode(p2, { label: "READ_ONLY" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(f2, { label: e2.$t("workflowEditor.task.additionalConditions") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.formModel.showCondition, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.showCondition = e3) }, null, 8, ["modelValue"]), i2.formModel.showCondition ? (r.openBlock(), r.createBlock(g2, { key: 0, modelValue: i2.formModel.condition, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"]);
1049
+ }], ["__scopeId", "data-v-9458f3bf"]]), AdditionalConditionDialog: Ot }, props: { modelValue: { type: [Array, Object], default: null } }, data() {
1066
1050
  let e2 = [];
1067
1051
  "" !== this.modelValue && null !== this.modelValue && void 0 !== this.modelValue && (Array.isArray(this.modelValue) ? e2 = this.modelValue : e2.push(this.modelValue));
1068
1052
  return { showFieldSelection: false, showAdditionalCondition: false, selectedFields: e2, currentRow: null, multipleSelection: [], disabledFields: this.getDisabledFields(this.modelValue) };
@@ -1109,17 +1093,17 @@
1109
1093
  if ("" === e2 || !e2)
1110
1094
  return this.$t("workflowEditor.task.nothing");
1111
1095
  const t2 = [];
1112
- return It(t2, e2), Ut(t2);
1096
+ return Tt(t2, e2), St(t2);
1113
1097
  }, getFieldLabel(e2) {
1114
1098
  const t2 = this.formFieldsWithSub.filter((t3) => t3.name === e2.name);
1115
1099
  return t2.length > 0 ? t2[0].label : "";
1116
1100
  }, selectCondition(e2) {
1117
1101
  this.selectRow(e2), this.showAdditionalCondition = true;
1118
- } } }, Vo = { style: { width: "100%" } };
1119
- const yo = D(bo, [["render", function(e2, t2, o2, l2, i2, n2) {
1102
+ } } }, so = { style: { width: "100%" } };
1103
+ const co = $(ao, [["render", function(e2, t2, o2, l2, i2, n2) {
1120
1104
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-radio"), m2 = r.resolveComponent("el-radio-group"), u2 = r.resolveComponent("el-input"), p2 = r.resolveComponent("el-table"), h2 = r.resolveComponent("editable-field-selection"), f2 = r.resolveComponent("additional-condition-dialog");
1121
- return r.openBlock(), r.createElementBlock("div", Vo, [r.createVNode(s2, { style: { "padding-bottom": "10px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.selectedFields, border: "", "highlight-current-row": "", onSelectionChange: n2.handleSelectionChange, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "selection", width: "55" }), r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { label: e2.$t("workflowEditor.common.name"), width: "180" }, { default: r.withCtx((e3) => [r.createElementVNode("span", { style: r.normalizeStyle({ color: e3.row.name && 0 === e3.row.name.indexOf("$") ? "#409EFF" : "" }) }, r.toDisplayString(n2.getFieldLabel(e3.row)), 5)]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "name", label: e2.$t("workflowEditor.task.propertyName"), width: "180" }, null, 8, ["label"]), r.createVNode(d2, { prop: "constraintRule", label: e2.$t("workflowEditor.task.editingMethod") }, { default: r.withCtx((t3) => [r.createVNode(m2, { modelValue: t3.row.constraintRule, "onUpdate:modelValue": (e3) => t3.row.constraintRule = e3 }, { default: r.withCtx(() => [r.createVNode(c2, { label: "REQUIRED" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r.createVNode(c2, { label: "READ_ONLY" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "condition", label: e2.$t("workflowEditor.task.condition") }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.formatCondition(e3.row.condition), type: "textarea", autosize: "", onClick: (t3) => n2.selectCondition(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onSelectionChange", "onCurrentChange"]), i2.showFieldSelection ? (r.openBlock(), r.createBlock(h2, { key: 0, "disabled-fields": i2.disabledFields, onInputValue: n2.setSelectedFields, onClose: t2[0] || (t2[0] = (e3) => i2.showFieldSelection = false) }, null, 8, ["disabled-fields", "onInputValue"])) : r.createCommentVNode("", true), i2.showAdditionalCondition ? (r.openBlock(), r.createBlock(f2, { key: 1, modelValue: i2.currentRow.condition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.currentRow.condition = e3), onClose: t2[2] || (t2[2] = (e3) => i2.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]);
1122
- }]]), vo = { xmlToData(e2) {
1105
+ return r.openBlock(), r.createElementBlock("div", so, [r.createVNode(s2, { style: { "padding-bottom": "10px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.selectedFields, border: "", "highlight-current-row": "", onSelectionChange: n2.handleSelectionChange, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "selection", width: "55" }), r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { label: e2.$t("workflowEditor.common.name"), width: "180" }, { default: r.withCtx((e3) => [r.createElementVNode("span", { style: r.normalizeStyle({ color: e3.row.name && 0 === e3.row.name.indexOf("$") ? "#409EFF" : "" }) }, r.toDisplayString(n2.getFieldLabel(e3.row)), 5)]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "name", label: e2.$t("workflowEditor.task.propertyName"), width: "180" }, null, 8, ["label"]), r.createVNode(d2, { prop: "constraintRule", label: e2.$t("workflowEditor.task.editingMethod") }, { default: r.withCtx((t3) => [r.createVNode(m2, { modelValue: t3.row.constraintRule, "onUpdate:modelValue": (e3) => t3.row.constraintRule = e3 }, { default: r.withCtx(() => [r.createVNode(c2, { label: "REQUIRED" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r.createVNode(c2, { label: "READ_ONLY" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "condition", label: e2.$t("workflowEditor.task.condition") }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.formatCondition(e3.row.condition), type: "textarea", autosize: "", onClick: (t3) => n2.selectCondition(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onSelectionChange", "onCurrentChange"]), i2.showFieldSelection ? (r.openBlock(), r.createBlock(h2, { key: 0, "disabled-fields": i2.disabledFields, onInputValue: n2.setSelectedFields, onClose: t2[0] || (t2[0] = (e3) => i2.showFieldSelection = false) }, null, 8, ["disabled-fields", "onInputValue"])) : r.createCommentVNode("", true), i2.showAdditionalCondition ? (r.openBlock(), r.createBlock(f2, { key: 1, modelValue: i2.currentRow.condition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.currentRow.condition = e3), onClose: t2[2] || (t2[2] = (e3) => i2.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]);
1106
+ }]]), mo = { xmlToData(e2) {
1123
1107
  const t2 = [];
1124
1108
  if (e2) {
1125
1109
  const r2 = e2.split(" ");
@@ -1198,11 +1182,11 @@
1198
1182
  }
1199
1183
  }
1200
1184
  return t2;
1201
- }, getOperators: (e2) => e2 ? "INTEGER" === e2.type || "LONG" === e2.type || "DOUBLE" === e2.type || "FLOAT" === e2.type ? [{ name: "operator.number.gt", label: f().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: f().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: f().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: f().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: f().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: f().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: f().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: f().t("workflowEditor.process.isNotNull") }] : "DATE" === e2.type || "TIME" === e2.type ? [{ name: "operator.date.gt", label: f().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: f().t("workflowEditor.process.earlierThan") }, { name: "operator.date.eq", label: f().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: f().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: f().t("workflowEditor.process.noEarlierThan") }, { name: "operator.text.is.null", label: f().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: f().t("workflowEditor.process.isNotNull") }] : "TEXT" === e2.type ? [{ name: "operator.text.eq", label: f().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: f().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: f().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: f().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: f().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: f().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: f().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: f().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: f().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: f().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: f().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: f().t("workflowEditor.process.notEqualTo") }] }, To = { "${instanceCreatorName}": f().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": f().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": f().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": f().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": f().t("workflowEditor.process.superiorDeptLeader"), "${currentTransactorName}": f().t("workflowEditor.process.nameOfCurrentHandler"), "${currentTransactorDirectSuperiorName}": f().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler") }, No = { "${instanceCreatorDepartment}": f().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": f().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": f().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": f().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${currentTransactorDepartment}": f().t("workflowEditor.process.currentHandlerDepartment"), "${currentTransactorSuperiorDepartment}": f().t("workflowEditor.process.currentHandlerSuperiorDepartment"), "${currentTransactorUpstageDepartment}": f().t("workflowEditor.process.topDepartmentOfCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": f().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment") }, xo = { "${instanceCreatorrWorkGroup}": f().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": f().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${currentTransactorWorkGroup}": f().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorDirectSuperiorWorkGroup}": f().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler") }, Eo = { "${user}": f().t("workflowEditor.common.user"), "${department}": f().t("workflowEditor.common.department"), "${role}": f().t("workflowEditor.common.role"), "${workgroup}": f().t("workflowEditor.common.workgroup") }, So = { "condition.operator.or": f().t("workflowEditor.process.perhaps"), "condition.operator.and": f().t("workflowEditor.process.also") }, Mo = { "operator.text.eq": f().t("workflowEditor.process.beEqualTo"), "operator.text.neq": f().t("workflowEditor.process.notEqualTo") }, Do = { ...To, ...No, ...xo }, $o = { "${instanceCreatorName}": f().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": f().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": f().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": f().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": f().t("workflowEditor.process.superiorDeptLeader") }, Fo = { "${upstageDepartment}": f().t("workflowEditor.process.topDepartments"), "${instanceCreatorDepartment}": f().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": f().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": f().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": f().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${previousTransactorDepartment}": f().t("workflowEditor.process.lastLinkHandlerDepartment"), "${previousTransactorSuperiorDepartment}": f().t("workflowEditor.process.previousLinkHandlerSuperiorDepartment"), "${previousTransactorUpstageDepartment}": f().t("workflowEditor.process.topDepartmentOfHandlerInThePreviousLink"), "${previousTransactorDirectSuperiorDepartment}": f().t("workflowEditor.process.previousLinkHandlersDirectSuperiorDepartment") }, Po = { "${instanceCreatorrWorkGroup}": f().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": f().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${previousTransactorWorkGroup}": f().t("workflowEditor.process.previousLinkHandlerWorkingGroup"), "${previousTransactorDirectSuperiorWorkGroup}": f().t("workflowEditor.process.workingGroupDirectlyUnderTheManagerInThePreviousLink") };
1202
- function Bo(e2) {
1203
- return void 0 !== Do[e2] ? Do[e2] : "";
1185
+ }, getOperators: (e2) => e2 ? "INTEGER" === e2.type || "LONG" === e2.type || "DOUBLE" === e2.type || "FLOAT" === e2.type ? [{ name: "operator.number.gt", label: w().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: w().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: w().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: w().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : "DATE" === e2.type || "TIME" === e2.type ? [{ name: "operator.date.gt", label: w().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: w().t("workflowEditor.process.earlierThan") }, { name: "operator.date.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: w().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: w().t("workflowEditor.process.noEarlierThan") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : "TEXT" === e2.type ? [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: w().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: w().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }] }, uo = { "${instanceCreatorName}": w().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": w().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": w().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": w().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": w().t("workflowEditor.process.superiorDeptLeader"), "${currentTransactorName}": w().t("workflowEditor.process.nameOfCurrentHandler"), "${currentTransactorDirectSuperiorName}": w().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler") }, po = { "${instanceCreatorDepartment}": w().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": w().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": w().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": w().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${currentTransactorDepartment}": w().t("workflowEditor.process.currentHandlerDepartment"), "${currentTransactorSuperiorDepartment}": w().t("workflowEditor.process.currentHandlerSuperiorDepartment"), "${currentTransactorUpstageDepartment}": w().t("workflowEditor.process.topDepartmentOfCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": w().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment") }, ho = { "${instanceCreatorrWorkGroup}": w().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${currentTransactorWorkGroup}": w().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler") }, fo = { "${user}": w().t("workflowEditor.common.user"), "${department}": w().t("workflowEditor.common.department"), "${role}": w().t("workflowEditor.common.role"), "${workgroup}": w().t("workflowEditor.common.workgroup") }, wo = { "condition.operator.or": w().t("workflowEditor.process.perhaps"), "condition.operator.and": w().t("workflowEditor.process.also") }, go = { "operator.text.eq": w().t("workflowEditor.process.beEqualTo"), "operator.text.neq": w().t("workflowEditor.process.notEqualTo") }, Co = { ...uo, ...po, ...ho }, ko = { "${instanceCreatorName}": w().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": w().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": w().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": w().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": w().t("workflowEditor.process.superiorDeptLeader") }, bo = { "${upstageDepartment}": w().t("workflowEditor.process.topDepartments"), "${instanceCreatorDepartment}": w().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": w().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": w().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": w().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${previousTransactorDepartment}": w().t("workflowEditor.process.lastLinkHandlerDepartment"), "${previousTransactorSuperiorDepartment}": w().t("workflowEditor.process.previousLinkHandlerSuperiorDepartment"), "${previousTransactorUpstageDepartment}": w().t("workflowEditor.process.topDepartmentOfHandlerInThePreviousLink"), "${previousTransactorDirectSuperiorDepartment}": w().t("workflowEditor.process.previousLinkHandlersDirectSuperiorDepartment") }, Vo = { "${instanceCreatorrWorkGroup}": w().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${previousTransactorWorkGroup}": w().t("workflowEditor.process.previousLinkHandlerWorkingGroup"), "${previousTransactorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.workingGroupDirectlyUnderTheManagerInThePreviousLink") };
1186
+ function yo(e2) {
1187
+ return void 0 !== Co[e2] ? Co[e2] : "";
1204
1188
  }
1205
- const Oo = { name: "CommonUserCondition", components: { ValueSelectionDialog: zt }, props: { modelValue: { type: String, default: null }, usedIn: { type: String, default: "reminder" } }, data() {
1189
+ const vo = { name: "CommonUserCondition", components: { ValueSelectionDialog: $t }, props: { modelValue: { type: String, default: null }, usedIn: { type: String, default: "reminder" } }, data() {
1206
1190
  const e2 = [];
1207
1191
  let t2 = 0;
1208
1192
  return this.modelValue && "" !== this.modelValue && (t2 = function(e3, t3) {
@@ -1221,8 +1205,8 @@
1221
1205
  return r2;
1222
1206
  }(e2, this.modelValue)), { users: e2, count: t2, currentRow: null, showValueDialog: false };
1223
1207
  }, computed: { standardFields() {
1224
- let e2 = "reminder" === this.usedIn ? To : $o;
1225
- return "${department}" === this.currentRow.key ? e2 = "reminder" === this.usedIn ? No : Fo : "${workgroup}" === this.currentRow.key ? e2 = "reminder" === this.usedIn ? xo : Po : "${role}" === this.currentRow.key && (e2 = {}), e2;
1208
+ let e2 = "reminder" === this.usedIn ? uo : ko;
1209
+ return "${department}" === this.currentRow.key ? e2 = "reminder" === this.usedIn ? po : bo : "${workgroup}" === this.currentRow.key ? e2 = "reminder" === this.usedIn ? ho : Vo : "${role}" === this.currentRow.key && (e2 = {}), e2;
1226
1210
  } }, mounted() {
1227
1211
  this.users.length > 0 && this.$refs.table.setCurrentRow(this.users[this.users.length - 1]), this.$watch("users", function(e2, t2) {
1228
1212
  this.$emit("update:modelValue", function(e3) {
@@ -1233,7 +1217,7 @@
1233
1217
  return t3.lastIndexOf(o2) + 23 === t3.length ? t3 = t3.substring(0, t3.lastIndexOf(o2)) : t3.lastIndexOf(l2) + 24 === t3.length && (t3 = t3.substring(0, t3.lastIndexOf(l2))), t3;
1234
1218
  }(this.users));
1235
1219
  }, { deep: true });
1236
- }, methods: { format: (e2) => e2.indexOf("${field[") >= 0 ? ut(e2) : e2.indexOf("${") >= 0 ? Bo(e2) : e2.substring(0, e2.indexOf("[")), selectRow(e2) {
1220
+ }, methods: { format: (e2) => e2.indexOf("${field[") >= 0 ? pt(e2) : e2.indexOf("${") >= 0 ? yo(e2) : e2.substring(0, e2.indexOf("[")), selectRow(e2) {
1237
1221
  this.$refs.table.setCurrentRow(e2);
1238
1222
  }, openValueDialog(e2) {
1239
1223
  this.showValueDialog = true, this.selectRow(e2);
@@ -1263,8 +1247,8 @@
1263
1247
  let e2 = function(e3) {
1264
1248
  let t2 = "";
1265
1249
  for (const o3 of e3)
1266
- "" !== o3.value && (t2 = t2 + o3.leftBracket + Eo[o3.key] + " " + Mo[o3.operator] + " " + Bo(o3.value) + o3.rightBracket + " " + So[o3.logicOperator] + " ");
1267
- const o2 = " " + f().t("workflowEditor.process.perhaps") + " ", l2 = " " + f().t("workflowEditor.process.also") + " ";
1250
+ "" !== o3.value && (t2 = t2 + o3.leftBracket + fo[o3.key] + " " + go[o3.operator] + " " + yo(o3.value) + o3.rightBracket + " " + wo[o3.logicOperator] + " ");
1251
+ const o2 = " " + w().t("workflowEditor.process.perhaps") + " ", l2 = " " + w().t("workflowEditor.process.also") + " ";
1268
1252
  return t2.lastIndexOf(o2) + o2.length === t2.length ? t2 = t2.substring(0, t2.lastIndexOf(o2)) : t2.lastIndexOf(l2) + l2.length === t2.length && (t2 = t2.substring(0, t2.lastIndexOf(l2))), t2;
1269
1253
  }(this.users);
1270
1254
  "" === e2 && (e2 = this.$t("workflowEditorMessage.conditionsHaveNotBeenSet")), this.$confirm(e2, this.$t("workflowEditorPublicModel.viewConditions"), { showConfirmButton: false, showCancelButton: false, callback: function() {
@@ -1272,17 +1256,17 @@
1272
1256
  }, handleKeyChange(e2) {
1273
1257
  this.currentRow.value = "";
1274
1258
  } } };
1275
- const Io = D(Oo, [["render", function(e2, t2, o2, l2, i2, n2) {
1259
+ const To = $(vo, [["render", function(e2, t2, o2, l2, i2, n2) {
1276
1260
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-option"), c2 = r.resolveComponent("el-select"), m2 = r.resolveComponent("el-table-column"), u2 = r.resolveComponent("el-input"), p2 = r.resolveComponent("el-table"), h2 = r.resolveComponent("value-selection-dialog");
1277
1261
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "ArrowRight", onClick: n2.insert }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.insert")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "View", onClick: n2.view }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.viewConditions")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.users, "row-key": "id", border: "", style: { width: "100%", "padding-top": "10px" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(m2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: "(", value: "(" }), r.createVNode(d2, { label: "((", value: "((" }), r.createVNode(d2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(m2, { label: e2.$t("workflowEditor.common.type"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.key, "onUpdate:modelValue": (e3) => t3.row.key = e3, placeholder: "", onFocus: (e3) => n2.selectRow(t3.row), onChange: n2.handleKeyChange }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.common.user"), value: "${user}" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.common.role"), value: "${role}" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.common.department"), value: "${department}" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.common.workgroup"), value: "${workgroup}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.operator"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.operator, "onUpdate:modelValue": (e3) => t3.row.operator = e3, placeholder: "", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.process.beEqualTo"), value: "operator.text.eq" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.process.notEqualTo"), value: "operator.text.neq" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.format(e3.row.value), readonly: "", onClick: (t3) => n2.openValueDialog(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[0] || (t2[0] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, placeholder: "" }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: ")", value: ")" }), r.createVNode(d2, { label: "))", value: "))" }), r.createVNode(d2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(m2, { prop: "logicOperator", label: e2.$t("workflowEditorPublicModel.andOr"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.showValueDialog ? (r.openBlock(), r.createBlock(h2, { key: 0, "standard-fields": n2.standardFields, "org-type": i2.currentRow.key.substring(i2.currentRow.key.indexOf("{") + 1, i2.currentRow.key.lastIndexOf("}")), onClose: n2.closeValueDialog }, null, 8, ["standard-fields", "org-type", "onClose"])) : r.createCommentVNode("", true)]);
1278
- }]]), _o = { components: { AdditionalCondition: Jt, CommonUserCondition: Io }, props: { conditionList: { type: [Array, String], default: null }, userCondition: { type: String, default: null }, parentCondition: { type: String, default: null }, attributeMap: { type: Object, default: null }, buttonType: { type: Object, default: null } }, data() {
1262
+ }]]), No = { components: { AdditionalCondition: Bt, CommonUserCondition: To }, props: { conditionList: { type: [Array, String], default: null }, userCondition: { type: String, default: null }, parentCondition: { type: String, default: null }, attributeMap: { type: Object, default: null }, buttonType: { type: Object, default: null } }, data() {
1279
1263
  let e2, t2;
1280
1264
  return this.userCondition && "" !== this.userCondition && (e2 = this.userCondition), this.parentCondition && "" !== this.parentCondition && (t2 = this.parentCondition), { myUserCondition: e2, myParentCondition: t2, tableData: null, attributeArr: [], fieldMap: {}, fieldNameMap: {}, queryList: [], operationArr: [], parentAttributeArr: [], dialogVisible: true };
1281
1265
  }, created() {
1282
1266
  this.getAttributeArr();
1283
1267
  }, computed: { ...t.mapGetters("wfEditor", ["propSettingKeyList"]) }, mounted() {
1284
1268
  this.conditionList && ("object" == typeof this.conditionList ? this.tableData = this.conditionList : this.tableData = this.xmlToData(this.conditionList), this.getOperatorsArr(this.tableData));
1285
- }, methods: { ...vo, add() {
1269
+ }, methods: { ...mo, add() {
1286
1270
  this.tableData || (this.tableData = []), this.tableData.push({ leftBracket: "", propName: "", operator: "", propValue: "", rightBracket: "", logicOperator: "condition.operator.or", dataType: "", propDbName: "" }), this.operationArr.push([]);
1287
1271
  }, remove() {
1288
1272
  if (null === this.currentRow)
@@ -1317,10 +1301,10 @@
1317
1301
  this.savebuttonSetting(), this.$emit("close", null);
1318
1302
  }, changePropValue(e2) {
1319
1303
  this.tableData[e2] && this.tableData[e2].propValue ? this.tableData[e2].propValueType && ("request" === this.tableData[e2].propValueType && (-1 === this.tableData[e2].propValue.indexOf("${request.") && (this.tableData[e2].propValue = "${request." + this.tableData[e2].propValue), -1 === this.tableData[e2].propValue.indexOf("}") && (this.tableData[e2].propValue = this.tableData[e2].propValue + "}")), "input" === this.tableData[e2].propValueType && (-1 === this.tableData[e2].propValue.indexOf("${input.") && (this.tableData[e2].propValue = "${input." + this.tableData[e2].propValue), -1 === this.tableData[e2].propValue.indexOf("}") && (this.tableData[e2].propValue = this.tableData[e2].propValue + "}"))) : this.tableData[e2].propValueType = null;
1320
- } } }, Ro = { style: { "overflow-y": "auto", "max-height": "500px" } }, Ao = { class: "operation-area" }, Uo = { class: "clearfix" }, Lo = { class: "clearfix" };
1321
- const Ho = { name: "EditableChildFields", components: { editableChildFieldSetting: D({ name: "EditableChildFieldSetting", components: { selectionConditions: D(_o, [["render", function(e2, t2, o2, l2, i2, n2) {
1304
+ } } }, xo = { style: { "overflow-y": "auto", "max-height": "500px" } }, Eo = { class: "operation-area" }, So = { class: "clearfix" }, Mo = { class: "clearfix" };
1305
+ const Do = { name: "EditableChildFields", components: { editableChildFieldSetting: $({ name: "EditableChildFieldSetting", components: { selectionConditions: $(No, [["render", function(e2, t2, o2, l2, i2, n2) {
1322
1306
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("common-user-condition"), d2 = r.resolveComponent("el-card"), c2 = r.resolveComponent("additional-condition"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("el-option"), p2 = r.resolveComponent("el-select"), h2 = r.resolveComponent("el-table-column"), f2 = r.resolveComponent("el-date-picker"), w2 = r.resolveComponent("el-input"), g2 = r.resolveComponent("el-table"), C2 = r.resolveComponent("el-dialog");
1323
- return r.openBlock(), r.createBlock(C2, { "show-close": true, "append-to-body": true, style: { width: "100%" }, title: e2.$t("workflowEditor.condition.combinationCondition"), "model-value": "", onClose: n2.closeButtonSetting }, { default: r.withCtx(() => [r.createElementVNode("div", Ro, [r.createElementVNode("div", Ao, [r.createVNode(a2, { size: "small", type: "primary", onClick: n2.savebuttonSetting }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])]), r.createElementVNode("div", null, [r.createVNode(d2, { class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", Uo, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.personnelScope")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(s2, { modelValue: i2.myUserCondition, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.myUserCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])]), _: 1 }), r.createVNode(d2, { class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", Lo, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.mainTableConditions")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(c2, { modelValue: i2.myParentCondition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.myParentCondition = e3) }, null, 8, ["modelValue"])])]), _: 1 }), "notEmpty" !== o2.buttonType && "add" !== o2.buttonType ? (r.openBlock(), r.createBlock(d2, { key: 0, class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", null, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.subtableCondition")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(m2, { style: { "padding-bottom": "8px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(g2, { id: "tableDataDialog", ref: "table", data: i2.tableData, border: "", style: { width: "100%" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(h2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: "", value: "" }), r.createVNode(u2, { label: "(", value: "(" }), r.createVNode(u2, { label: "((", value: "((" }), r.createVNode(u2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(h2, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.propName, "onUpdate:modelValue": (t3) => e3.row.propName = t3, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onFocus: (t3) => n2.selectRow(e3.row), onChange: (t3) => n2.changeFieldName(e3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.attributeArr, (e4) => (r.openBlock(), r.createBlock(u2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "filter-method", "onFocus", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(h2, { label: e2.$t("workflowEditor.common.operator"), width: "110" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.operator, "onUpdate:modelValue": (t3) => e3.row.operator = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.operationArr[e3.$index], (e4) => (r.openBlock(), r.createBlock(u2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(h2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((t3) => [t3.row.propValueType ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(p2, { key: 0, modelValue: t3.row.propValueType, "onUpdate:modelValue": (e3) => t3.row.propValueType = e3, size: "small", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.fillInManually"), value: "input" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.environmentVariable"), value: "context" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.requestParameters"), value: "request" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.mainTableField"), value: "obj" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.databaseFields"), value: "subObj" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.taskFields"), value: "task" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.systemParameter"), value: "custom" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])), "context" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 1, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTime"), value: "${context.currentTime}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactor"), value: "${context.currentTransactor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorName"), value: "${context.currentTransactorName}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorId"), value: "${context.currentTransactorId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartmentId"), value: "${context.currentTransactorMainDepartmentId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartment"), value: "${context.currentTransactorMainDepartment}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorRoleId"), value: "${context.currentTransactorRoleId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorRole"), value: "${context.currentTransactorRole}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroupId"), value: "${context.currentTransactorWorkGroupId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroup"), value: "${context.currentTransactorWorkGroup}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : r.createCommentVNode("", true), "task" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 2, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentHandler"), value: "${task.transactor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTaskClient"), value: "${task.trustor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentAssignor"), value: "${task.assigner}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.linkName"), value: "${task.name}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.linkCode"), value: "${task.nodeId}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : r.createCommentVNode("", true), "DATE" === t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(f2, { key: 3, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", clearable: "", "value-format": "YYYY-MM-DD", title: t3.row.propValue, type: "date", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "TIME" === t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(f2, { key: 4, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", title: t3.row.propValue, clearable: "", "value-format": "YYYY-MM-DD HH:mm:ss", type: "datetime", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "TIME" !== t3.row.dataType && "DATE" !== t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(w2, { key: 5, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "request" === t3.row.propValueType ? (r.openBlock(), r.createBlock(w2, { key: 6, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "subObj" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 7, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.attributeArr, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${subObj." + e3.value + "}", label: e3.label, value: "${subObj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "filter-method", "onChange"])) : r.createCommentVNode("", true), "obj" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 8, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.parentAttributeArr, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${obj." + e3.value + "}", label: e3.label, value: "${obj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "custom" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 9, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.propSettingKeyList, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${custom." + e3 + "}", label: e3, value: "${custom." + e3 + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(h2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[2] || (t2[2] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, size: "small", clearable: "" }, { default: r.withCtx(() => [r.createVNode(u2, { label: "", value: "" }), r.createVNode(u2, { label: ")", value: ")" }), r.createVNode(u2, { label: "))", value: "))" }), r.createVNode(u2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(h2, { label: e2.$t("workflowEditorPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: r.withCtx((t3) => [r.createVNode(p2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, size: "small", clearable: "", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])])]), _: 1 })) : r.createCommentVNode("", true)])])]), _: 1 }, 8, ["title", "onClose"]);
1307
+ return r.openBlock(), r.createBlock(C2, { "show-close": true, "append-to-body": true, style: { width: "100%" }, title: e2.$t("workflowEditor.condition.combinationCondition"), "model-value": "", onClose: n2.closeButtonSetting }, { default: r.withCtx(() => [r.createElementVNode("div", xo, [r.createElementVNode("div", Eo, [r.createVNode(a2, { size: "small", type: "primary", onClick: n2.savebuttonSetting }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])]), r.createElementVNode("div", null, [r.createVNode(d2, { class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", So, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.personnelScope")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(s2, { modelValue: i2.myUserCondition, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.myUserCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])]), _: 1 }), r.createVNode(d2, { class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", Mo, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.mainTableConditions")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(c2, { modelValue: i2.myParentCondition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.myParentCondition = e3) }, null, 8, ["modelValue"])])]), _: 1 }), "notEmpty" !== o2.buttonType && "add" !== o2.buttonType ? (r.openBlock(), r.createBlock(d2, { key: 0, class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", null, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.subtableCondition")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(m2, { style: { "padding-bottom": "8px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(g2, { id: "tableDataDialog", ref: "table", data: i2.tableData, border: "", style: { width: "100%" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(h2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: "", value: "" }), r.createVNode(u2, { label: "(", value: "(" }), r.createVNode(u2, { label: "((", value: "((" }), r.createVNode(u2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(h2, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.propName, "onUpdate:modelValue": (t3) => e3.row.propName = t3, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onFocus: (t3) => n2.selectRow(e3.row), onChange: (t3) => n2.changeFieldName(e3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.attributeArr, (e4) => (r.openBlock(), r.createBlock(u2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "filter-method", "onFocus", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(h2, { label: e2.$t("workflowEditor.common.operator"), width: "110" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.operator, "onUpdate:modelValue": (t3) => e3.row.operator = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.operationArr[e3.$index], (e4) => (r.openBlock(), r.createBlock(u2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(h2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((t3) => [t3.row.propValueType ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(p2, { key: 0, modelValue: t3.row.propValueType, "onUpdate:modelValue": (e3) => t3.row.propValueType = e3, size: "small", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.fillInManually"), value: "input" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.environmentVariable"), value: "context" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.requestParameters"), value: "request" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.mainTableField"), value: "obj" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.databaseFields"), value: "subObj" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.taskFields"), value: "task" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.systemParameter"), value: "custom" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])), "context" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 1, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTime"), value: "${context.currentTime}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactor"), value: "${context.currentTransactor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorName"), value: "${context.currentTransactorName}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorId"), value: "${context.currentTransactorId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartmentId"), value: "${context.currentTransactorMainDepartmentId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartment"), value: "${context.currentTransactorMainDepartment}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorRoleId"), value: "${context.currentTransactorRoleId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorRole"), value: "${context.currentTransactorRole}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroupId"), value: "${context.currentTransactorWorkGroupId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroup"), value: "${context.currentTransactorWorkGroup}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : r.createCommentVNode("", true), "task" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 2, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentHandler"), value: "${task.transactor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTaskClient"), value: "${task.trustor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentAssignor"), value: "${task.assigner}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.linkName"), value: "${task.name}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.linkCode"), value: "${task.nodeId}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : r.createCommentVNode("", true), "DATE" === t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(f2, { key: 3, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", clearable: "", "value-format": "YYYY-MM-DD", title: t3.row.propValue, type: "date", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "TIME" === t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(f2, { key: 4, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", title: t3.row.propValue, clearable: "", "value-format": "YYYY-MM-DD HH:mm:ss", type: "datetime", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "TIME" !== t3.row.dataType && "DATE" !== t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(w2, { key: 5, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "request" === t3.row.propValueType ? (r.openBlock(), r.createBlock(w2, { key: 6, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "subObj" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 7, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.attributeArr, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${subObj." + e3.value + "}", label: e3.label, value: "${subObj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "filter-method", "onChange"])) : r.createCommentVNode("", true), "obj" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 8, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.parentAttributeArr, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${obj." + e3.value + "}", label: e3.label, value: "${obj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "custom" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 9, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.propSettingKeyList, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${custom." + e3 + "}", label: e3, value: "${custom." + e3 + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(h2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[2] || (t2[2] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, size: "small", clearable: "" }, { default: r.withCtx(() => [r.createVNode(u2, { label: "", value: "" }), r.createVNode(u2, { label: ")", value: ")" }), r.createVNode(u2, { label: "))", value: "))" }), r.createVNode(u2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(h2, { label: e2.$t("workflowEditorPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: r.withCtx((t3) => [r.createVNode(p2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, size: "small", clearable: "", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])])]), _: 1 })) : r.createCommentVNode("", true)])])]), _: 1 }, 8, ["title", "onClose"]);
1324
1308
  }]]) }, props: { setting: { type: Object, default: null }, tableName: { type: String, default: null } }, data() {
1325
1309
  let e2 = [];
1326
1310
  this.setting && this.setting.actionArr && (e2 = this.setting.actionArr);
@@ -1332,7 +1316,7 @@
1332
1316
  this.subtableConditionMap && this.tableName && (this.subtableConditionItem = this.subtableConditionMap[this.tableName], this.getAttributeArr());
1333
1317
  }, mounted() {
1334
1318
  this.subtableConditionMap && this.tableName && (this.subtableConditionItem = this.subtableConditionMap[this.tableName], this.subtableConditionMap[this.tableName] && (this.attributeArr = this.subtableConditionItem.attributeArr));
1335
- }, methods: { ...vo, getAttributeArr() {
1319
+ }, methods: { ...mo, getAttributeArr() {
1336
1320
  this.subtableConditionItem && this.subtableConditionItem.attributeArr && (this.queryList = this.subtableConditionItem.attributeArr, this.fieldMap = this.subtableConditionItem.fieldMap, this.fieldNameMap = this.subtableConditionItem.fieldNameMap);
1337
1321
  }, savebuttonSetting(e2) {
1338
1322
  e2 && (this.currentRow.condition = e2.condition, this.currentRow.userCondition = e2.userCondition, this.currentRow.parentCondition = e2.parentCondition, this.combinationParameters()), this.showAdditionalCondition = false;
@@ -1436,7 +1420,7 @@
1436
1420
  }
1437
1421
  }
1438
1422
  }, mounted() {
1439
- }, methods: { ...vo, combinationParameters(e2) {
1423
+ }, methods: { ...mo, combinationParameters(e2) {
1440
1424
  if (e2 && e2.tableName) {
1441
1425
  if (this.selectedFields && this.selectedFields.length > 0) {
1442
1426
  const t2 = this.selectedFields.findIndex((t3) => t3.tableName === e2.tableName);
@@ -1465,12 +1449,12 @@
1465
1449
  null != t2 && -1 !== t2 ? this.selectedFields[t2].permission = true : this.selectedFields[this.selectedFields.length] = { permission: true, tableName: e2 };
1466
1450
  }
1467
1451
  this.$emit("update:modelValue", this.selectedFields);
1468
- } } }, zo = { style: { width: "100%", "margin-top": "10px" } }, Wo = { class: "clearfix" }, jo = { key: 0 }, Jo = { style: { color: "cornflowerblue" } }, Go = { style: { "padding-left": "5px" } }, qo = { key: 0 };
1469
- const Ko = D(Ho, [["render", function(e2, t2, o2, l2, i2, n2) {
1452
+ } } }, $o = { style: { width: "100%", "margin-top": "10px" } }, Fo = { class: "clearfix" }, Po = { key: 0 }, Bo = { style: { color: "cornflowerblue" } }, Oo = { style: { "padding-left": "5px" } }, Io = { key: 0 };
1453
+ const _o = $(Do, [["render", function(e2, t2, o2, l2, i2, n2) {
1470
1454
  const a2 = r.resolveComponent("el-col"), s2 = r.resolveComponent("el-switch"), d2 = r.resolveComponent("el-row"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-button"), u2 = r.resolveComponent("editable-child-field-setting"), p2 = r.resolveComponent("el-card");
1471
- return r.openBlock(), r.createElementBlock("div", zo, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.subtableConditionMap, (t3, o3) => (r.openBlock(), r.createElementBlock("span", { key: o3 }, [r.createVNode(p2, { class: "box-card" }, { default: r.withCtx(() => [r.createElementVNode("div", Wo, [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(a2, { span: 12 }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(o3), 1)]), _: 2 }, 1024), i2.selectedFieldMap[o3] ? (r.openBlock(), r.createBlock(a2, { key: 0, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.selectedFieldMap[o3].sumPermission, "onUpdate:modelValue": (e3) => i2.selectedFieldMap[o3].sumPermission = e3, "inactive-text": e2.$t("workflowEditor.condition.accessControl"), onChange: (e3) => n2.changeSumPermission(o3) }, null, 8, ["modelValue", "onUpdate:modelValue", "inactive-text", "onChange"])]), _: 2 }, 1024)) : r.createCommentVNode("", true)]), _: 2 }, 1024), r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(a2, null, { default: r.withCtx(() => [i2.selectedFieldMap[o3] && i2.selectedFieldMap[o3].sumPermission ? (r.openBlock(), r.createElementBlock("span", jo, [r.createElementVNode("span", Jo, r.toDisplayString(e2.$t("workflowEditor.condition.formBindingModel")) + ":", 1), r.createElementVNode("span", Go, [r.createVNode(c2, { modelValue: i2.selectedFieldMap[o3].modelName, "onUpdate:modelValue": (e3) => i2.selectedFieldMap[o3].modelName = e3, style: { width: "300px" } }, null, 8, ["modelValue", "onUpdate:modelValue"])]), r.createVNode(m2, { icon: "el-icon-refresh", type: "text", onClick: (e3) => n2.refreshModelName(o3) }, null, 8, ["onClick"])])) : r.createCommentVNode("", true)]), _: 2 }, 1024)]), _: 2 }, 1024)]), i2.selectedFieldMap[o3] && i2.selectedFieldMap[o3].sumPermission ? (r.openBlock(), r.createElementBlock("div", qo, [r.createVNode(u2, { setting: i2.selectedFieldMap[o3], "table-name": o3, onCombinationParameters: n2.combinationParameters }, null, 8, ["setting", "table-name", "onCombinationParameters"])])) : r.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]);
1455
+ return r.openBlock(), r.createElementBlock("div", $o, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.subtableConditionMap, (t3, o3) => (r.openBlock(), r.createElementBlock("span", { key: o3 }, [r.createVNode(p2, { class: "box-card" }, { default: r.withCtx(() => [r.createElementVNode("div", Fo, [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(a2, { span: 12 }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(o3), 1)]), _: 2 }, 1024), i2.selectedFieldMap[o3] ? (r.openBlock(), r.createBlock(a2, { key: 0, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.selectedFieldMap[o3].sumPermission, "onUpdate:modelValue": (e3) => i2.selectedFieldMap[o3].sumPermission = e3, "inactive-text": e2.$t("workflowEditor.condition.accessControl"), onChange: (e3) => n2.changeSumPermission(o3) }, null, 8, ["modelValue", "onUpdate:modelValue", "inactive-text", "onChange"])]), _: 2 }, 1024)) : r.createCommentVNode("", true)]), _: 2 }, 1024), r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(a2, null, { default: r.withCtx(() => [i2.selectedFieldMap[o3] && i2.selectedFieldMap[o3].sumPermission ? (r.openBlock(), r.createElementBlock("span", Po, [r.createElementVNode("span", Bo, r.toDisplayString(e2.$t("workflowEditor.condition.formBindingModel")) + ":", 1), r.createElementVNode("span", Oo, [r.createVNode(c2, { modelValue: i2.selectedFieldMap[o3].modelName, "onUpdate:modelValue": (e3) => i2.selectedFieldMap[o3].modelName = e3, style: { width: "300px" } }, null, 8, ["modelValue", "onUpdate:modelValue"])]), r.createVNode(m2, { icon: "el-icon-refresh", type: "text", onClick: (e3) => n2.refreshModelName(o3) }, null, 8, ["onClick"])])) : r.createCommentVNode("", true)]), _: 2 }, 1024)]), _: 2 }, 1024)]), i2.selectedFieldMap[o3] && i2.selectedFieldMap[o3].sumPermission ? (r.openBlock(), r.createElementBlock("div", Io, [r.createVNode(u2, { setting: i2.selectedFieldMap[o3], "table-name": o3, onCombinationParameters: n2.combinationParameters }, null, 8, ["setting", "table-name", "onCombinationParameters"])])) : r.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]);
1472
1456
  }]]);
1473
- const Xo = { name: "UserSelection", components: { SystemRoleTree: D({ name: "SystemRoleTree", components: { InlineSystemRoleTree: Ht }, props: { multiple: { type: Boolean, default: false } }, data: () => ({ dialogVisible: true }), computed: {}, watch: {}, created() {
1457
+ const Ro = { name: "UserSelection", components: { SystemRoleTree: $({ name: "SystemRoleTree", components: { InlineSystemRoleTree: Dt }, props: { multiple: { type: Boolean, default: false } }, data: () => ({ dialogVisible: true }), computed: {}, watch: {}, created() {
1474
1458
  }, methods: { roleResult(e2) {
1475
1459
  e2 ? this.$emit("close", e2) : this.$emit("close");
1476
1460
  }, selectRoles() {
@@ -1478,7 +1462,7 @@
1478
1462
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1479
1463
  const a2 = r.resolveComponent("inline-system-role-tree"), s2 = r.resolveComponent("el-button"), d2 = r.resolveComponent("el-dialog");
1480
1464
  return r.openBlock(), r.createBlock(d2, { "model-value": "", title: e2.$t("workflowEditorMessage.selectRole"), width: "30%", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", "close-on-click-modal": false, onClose: t2[1] || (t2[1] = (t3) => e2.$emit("close")) }, r.createSlots({ default: r.withCtx(() => [r.createVNode(a2, { ref: "systemRoleTree", multiple: o2.multiple, onResult: n2.roleResult }, null, 8, ["multiple", "onResult"])]), _: 2 }, [o2.multiple ? { name: "footer", fn: r.withCtx(() => [r.createVNode(s2, { type: "primary", size: "small", onClick: n2.selectRoles }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(s2, { size: "small", onClick: t2[0] || (t2[0] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), key: "0" } : void 0]), 1032, ["title"]);
1481
- }]]), FormFields: mt }, props: { label: { type: String, default: "" }, labelWidth: { type: String, default: null }, modelValue: { type: String, default: "" }, currentTransactor: { type: Boolean, default: false } }, data() {
1465
+ }]]), FormFields: ut }, props: { label: { type: String, default: "" }, labelWidth: { type: String, default: null }, modelValue: { type: String, default: "" }, currentTransactor: { type: Boolean, default: false } }, data() {
1482
1466
  let e2 = false, t2 = "";
1483
1467
  const o2 = this.modelValue.split("; "), l2 = o2[0].split(" condition.operator.or ");
1484
1468
  return 2 === o2.length && (e2 = true, t2 = o2[1].split(" condition.operator.or "), l2.push("assignUser")), { checkList: l2, showUserList: e2, selectedUsers: t2, showSelectUser: false, selectedUsersShowValue: null, showSelectDepartment: false, showSelectWorkgroup: false, showSelectRole: false, showSelectField: false };
@@ -1488,7 +1472,7 @@
1488
1472
  this.$emit("update:modelValue", this.getValue());
1489
1473
  } }, created() {
1490
1474
  this.checkList, this.getSelectedUsersShowValue();
1491
- }, methods: { formatLabel: (e2) => ut(e2), getValue() {
1475
+ }, methods: { formatLabel: (e2) => pt(e2), getValue() {
1492
1476
  let e2 = this.checkList.filter((e3) => "" !== e3 && "assignUser" !== e3).join(" condition.operator.or ");
1493
1477
  return this.showUserList && this.selectedUsers && 0 !== this.selectedUsers.length && (e2 = e2 + "; " + this.selectedUsers.join(" condition.operator.or ")), e2;
1494
1478
  }, toggleUserList() {
@@ -1581,13 +1565,13 @@
1581
1565
  this.selectedUsers = [], this.selectedUsers.push(o2);
1582
1566
  }, setField(e2) {
1583
1567
  void 0 !== e2 && (this.packageSelectedFieldConditions(e2, "${user}"), this.getSelectedUsersShowValue()), this.showSelectField = false;
1584
- } } }, Yo = { key: 0, style: { width: "100%", "vertical-align": "middle" } }, Qo = { class: "el-dropdown-link" }, Zo = r.createElementVNode("i", { class: "fa fa-search" }, null, -1);
1585
- const el = D(Xo, [["render", function(e2, t2, o2, l2, i2, n2) {
1568
+ } } }, Ao = { key: 0, style: { width: "100%", "vertical-align": "middle" } }, Uo = { class: "el-dropdown-link" }, Lo = r.createElementVNode("i", { class: "fa fa-search" }, null, -1);
1569
+ const Ho = $(Ro, [["render", function(e2, t2, o2, l2, i2, n2) {
1586
1570
  const a2 = r.resolveComponent("el-checkbox"), s2 = r.resolveComponent("el-checkbox-group"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-dropdown-item"), m2 = r.resolveComponent("el-dropdown-menu"), u2 = r.resolveComponent("el-dropdown"), p2 = r.resolveComponent("el-button"), h2 = r.resolveComponent("el-row"), f2 = r.resolveComponent("el-input"), w2 = r.resolveComponent("department-user-tree"), g2 = r.resolveComponent("department-tree"), C2 = r.resolveComponent("workgroup-tree"), k2 = r.resolveComponent("system-role-tree"), b2 = r.resolveComponent("form-fields"), V2 = r.resolveComponent("el-form-item");
1587
- return r.openBlock(), r.createBlock(V2, { label: o2.label, "label-width": o2.labelWidth }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.checkList, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.checkList = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${instanceCreator}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processInitiator")), 1)]), _: 1 }), r.createVNode(a2, { label: "${processAdmin}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processAdministrator")), 1)]), _: 1 }), o2.currentTransactor ? (r.openBlock(), r.createBlock(a2, { key: 0, label: "${currentTransactor}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.currentHandler")), 1)]), _: 1 })) : (r.openBlock(), r.createBlock(a2, { key: 1, label: "${allHandleTransactors}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.allHandlingPersonnel")), 1)]), _: 1 })), r.createVNode(a2, { label: "assignUser", onChange: n2.toggleUserList }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.designatedPersonnel")), 1)]), _: 1 }, 8, ["onChange"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i2.showUserList ? (r.openBlock(), r.createElementBlock("div", Yo, [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 4 }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.listOfDesignatedPersons")), 1)]), _: 1 }), r.createVNode(d2, { style: { display: "flex", "justify-content": "center", "align-items": "center" }, span: 5 }, { default: r.withCtx(() => [r.createVNode(u2, { size: "small", "split-button": "", type: "primary", plain: "", onCommand: n2.handleCommand }, { dropdown: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(c2, { command: "selectUser", onClick: t2[1] || (t2[1] = (e3) => n2.selectPointUser()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectusers")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectDepartment", onClick: t2[2] || (t2[2] = (e3) => n2.selectPointDepartment()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectDepartment")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectWorkgroup", onClick: t2[3] || (t2[3] = (e3) => n2.selectPointWorkgroup()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectTeam")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectRole", onClick: t2[4] || (t2[4] = (e3) => n2.selectPointRole()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectRole")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectField", onClick: t2[5] || (t2[5] = (e3) => n2.selectPointField()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectField")), 1)]), _: 1 })]), _: 1 })]), default: r.withCtx(() => [r.createElementVNode("span", Qo, [Zo, r.createTextVNode(" " + r.toDisplayString(e2.$t("workflowEditorPublicModel.choice")), 1)])]), _: 1 }, 8, ["onCommand"])]), _: 1 }), r.createVNode(d2, { span: 3 }, { default: r.withCtx(() => [r.createVNode(p2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.resetSelectedUsers }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.empty")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }), r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.selectedUsersShowValue, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.selectedUsersShowValue = e3), type: "textarea", rows: 2, placeholder: e2.$t("workflowEditorMessage.pleaseSelectPersonnel") }, null, 8, ["modelValue", "placeholder"])]), _: 1 })]), _: 1 })]), _: 1 }), i2.showSelectUser ? (r.openBlock(), r.createBlock(w2, { key: 0, width: "60%", multiple: true, onClose: n2.addPointUsers }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectDepartment ? (r.openBlock(), r.createBlock(g2, { key: 1, width: "30%", multiple: true, onClose: n2.addPointDepartments }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectWorkgroup ? (r.openBlock(), r.createBlock(C2, { key: 2, width: "30%", multiple: true, onClose: n2.addPointWorkgroups }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectRole ? (r.openBlock(), r.createBlock(k2, { key: 3, multiple: true, onClose: n2.addPointRoles }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectField ? (r.openBlock(), r.createBlock(b2, { key: 4, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label", "label-width"]);
1571
+ return r.openBlock(), r.createBlock(V2, { label: o2.label, "label-width": o2.labelWidth }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.checkList, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.checkList = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${instanceCreator}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processInitiator")), 1)]), _: 1 }), r.createVNode(a2, { label: "${processAdmin}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processAdministrator")), 1)]), _: 1 }), o2.currentTransactor ? (r.openBlock(), r.createBlock(a2, { key: 0, label: "${currentTransactor}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.currentHandler")), 1)]), _: 1 })) : (r.openBlock(), r.createBlock(a2, { key: 1, label: "${allHandleTransactors}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.allHandlingPersonnel")), 1)]), _: 1 })), r.createVNode(a2, { label: "assignUser", onChange: n2.toggleUserList }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.designatedPersonnel")), 1)]), _: 1 }, 8, ["onChange"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i2.showUserList ? (r.openBlock(), r.createElementBlock("div", Ao, [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 4 }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.listOfDesignatedPersons")), 1)]), _: 1 }), r.createVNode(d2, { style: { display: "flex", "justify-content": "center", "align-items": "center" }, span: 5 }, { default: r.withCtx(() => [r.createVNode(u2, { size: "small", "split-button": "", type: "primary", plain: "", onCommand: n2.handleCommand }, { dropdown: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(c2, { command: "selectUser", onClick: t2[1] || (t2[1] = (e3) => n2.selectPointUser()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectusers")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectDepartment", onClick: t2[2] || (t2[2] = (e3) => n2.selectPointDepartment()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectDepartment")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectWorkgroup", onClick: t2[3] || (t2[3] = (e3) => n2.selectPointWorkgroup()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectTeam")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectRole", onClick: t2[4] || (t2[4] = (e3) => n2.selectPointRole()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectRole")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectField", onClick: t2[5] || (t2[5] = (e3) => n2.selectPointField()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectField")), 1)]), _: 1 })]), _: 1 })]), default: r.withCtx(() => [r.createElementVNode("span", Uo, [Lo, r.createTextVNode(" " + r.toDisplayString(e2.$t("workflowEditorPublicModel.choice")), 1)])]), _: 1 }, 8, ["onCommand"])]), _: 1 }), r.createVNode(d2, { span: 3 }, { default: r.withCtx(() => [r.createVNode(p2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.resetSelectedUsers }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.empty")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }), r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.selectedUsersShowValue, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.selectedUsersShowValue = e3), type: "textarea", rows: 2, placeholder: e2.$t("workflowEditorMessage.pleaseSelectPersonnel") }, null, 8, ["modelValue", "placeholder"])]), _: 1 })]), _: 1 })]), _: 1 }), i2.showSelectUser ? (r.openBlock(), r.createBlock(w2, { key: 0, width: "60%", multiple: true, onClose: n2.addPointUsers }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectDepartment ? (r.openBlock(), r.createBlock(g2, { key: 1, width: "30%", multiple: true, onClose: n2.addPointDepartments }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectWorkgroup ? (r.openBlock(), r.createBlock(C2, { key: 2, width: "30%", multiple: true, onClose: n2.addPointWorkgroups }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectRole ? (r.openBlock(), r.createBlock(k2, { key: 3, multiple: true, onClose: n2.addPointRoles }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectField ? (r.openBlock(), r.createBlock(b2, { key: 4, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label", "label-width"]);
1588
1572
  }]]);
1589
- const tl = D({ name: "PermissionSettings", components: { EditableFields: yo, UserSelection: el, AdditionalCondition: Jt, editableChildFields: Ko }, props: { modelValue: { type: Object, default: null } }, data() {
1590
- const e2 = N(this.modelValue), t2 = ["viewOpinion", "editOpinion", "requireOpinion", "viewMeetingResult", "viewVoteResult", "viewFlowHistory", "printForm"];
1573
+ const Wo = $({ name: "PermissionSettings", components: { EditableFields: co, UserSelection: Ho, AdditionalCondition: Bt, editableChildFields: _o }, props: { modelValue: { type: Object, default: null } }, data() {
1574
+ const e2 = x(this.modelValue), t2 = ["viewOpinion", "editOpinion", "requireOpinion", "viewMeetingResult", "viewVoteResult", "viewFlowHistory", "printForm"];
1591
1575
  t2.forEach((t3) => {
1592
1576
  e2[t3 + "Checkbox"] = !!this.modelValue[t3].condition;
1593
1577
  });
@@ -1607,7 +1591,7 @@
1607
1591
  }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
1608
1592
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("editable-fields"), c2 = r.resolveComponent("editable-child-fields"), m2 = r.resolveComponent("el-checkbox"), u2 = r.resolveComponent("additional-condition"), p2 = r.resolveComponent("user-selection"), h2 = r.resolveComponent("el-card"), f2 = r.resolveComponent("el-form");
1609
1593
  return r.openBlock(), r.createBlock(f2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowEditingForms") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.editForm.permission, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.editForm.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [i2.formModel.editForm.permission ? (r.openBlock(), r.createBlock(d2, { key: 0, modelValue: i2.formModel.editForm.field, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.editForm.field = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.editForm.permission ? (r.openBlock(), r.createBlock(c2, { key: 1, modelValue: i2.formModel.editForm.subTablePermission, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.editForm.subTablePermission = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 512), [[r.vShow, i2.formModel.editForm.permission]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowViews") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewOpinion.permission, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.viewOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewOpinion.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.viewOpinionCheckbox, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.viewOpinionCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.viewOpinion.condition, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.viewOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.viewOpinion.permission && i2.formModel.viewOpinionCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.commentsAllowed") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.editOpinion.permission, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.editOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.editOpinion.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.editOpinionCheckbox, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.editOpinionCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.editOpinion.condition, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.formModel.editOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.editOpinion.permission && i2.formModel.editOpinionCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.commentsAreRequired") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.requireOpinion.permission, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.formModel.requireOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.requireOpinion.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.requireOpinionCheckbox, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.formModel.requireOpinionCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.requireOpinion.condition, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.formModel.requireOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.requireOpinion.permission && i2.formModel.requireOpinionCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowToViewCountersignatureResults") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewMeetingResult.permission, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.formModel.viewMeetingResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewMeetingResult.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.viewMeetingResultCheckbox, "onUpdate:modelValue": t2[13] || (t2[13] = (e3) => i2.formModel.viewMeetingResultCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.viewMeetingResult.condition, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => i2.formModel.viewMeetingResult.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.viewMeetingResult.permission && i2.formModel.viewMeetingResultCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowToViewVotingResults") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewVoteResult.permission, "onUpdate:modelValue": t2[15] || (t2[15] = (e3) => i2.formModel.viewVoteResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewVoteResult.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.viewVoteResultCheckbox, "onUpdate:modelValue": t2[16] || (t2[16] = (e3) => i2.formModel.viewVoteResultCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.viewVoteResult.condition, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => i2.formModel.viewVoteResult.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.viewVoteResult.permission && i2.formModel.viewVoteResultCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowToViewFlowHistory") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewFlowHistory.permission, "onUpdate:modelValue": t2[18] || (t2[18] = (e3) => i2.formModel.viewFlowHistory.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewFlowHistory.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.viewFlowHistoryCheckbox, "onUpdate:modelValue": t2[19] || (t2[19] = (e3) => i2.formModel.viewFlowHistoryCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.viewFlowHistory.condition, "onUpdate:modelValue": t2[20] || (t2[20] = (e3) => i2.formModel.viewFlowHistory.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.viewFlowHistory.permission && i2.formModel.viewFlowHistoryCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowFormsToPrint") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.printForm.permission, "onUpdate:modelValue": t2[21] || (t2[21] = (e3) => i2.formModel.printForm.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.printForm.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.printFormCheckbox, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => i2.formModel.printFormCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.printForm.condition, "onUpdate:modelValue": t2[23] || (t2[23] = (e3) => i2.formModel.printForm.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.printForm.permission && i2.formModel.printFormCheckbox]]), r.createVNode(p2, { modelValue: i2.formModel.deleteInstance.userCondition, "onUpdate:modelValue": t2[24] || (t2[24] = (e3) => i2.formModel.deleteInstance.userCondition = e3), label: e2.$t("workflowEditor.task.deletePermission"), "label-width": "100px", "current-transactor": true }, null, 8, ["modelValue", "label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.attachmentAuthority") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.permission, "onUpdate:modelValue": t2[25] || (t2[25] = (e3) => i2.formModel.attachment.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.attachment.permission ? (r.openBlock(), r.createBlock(h2, { key: 0, class: "box-card" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.addAttachment") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.add.permission, "onUpdate:modelValue": t2[26] || (t2[26] = (e3) => i2.formModel.attachment.add.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.add.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.attachment.addCheckbox, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => i2.formModel.attachment.addCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.attachment.add.permission && i2.formModel.attachment.addCheckbox ? (r.openBlock(), r.createBlock(u2, { key: 1, modelValue: i2.formModel.attachment.add.condition, "onUpdate:modelValue": t2[28] || (t2[28] = (e3) => i2.formModel.attachment.add.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.deleteAttachment") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.delete.permission, "onUpdate:modelValue": t2[29] || (t2[29] = (e3) => i2.formModel.attachment.delete.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.delete.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.attachment.deleteCheckbox, "onUpdate:modelValue": t2[30] || (t2[30] = (e3) => i2.formModel.attachment.deleteCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.attachment.delete.permission && i2.formModel.attachment.deleteCheckbox ? (r.openBlock(), r.createBlock(u2, { key: 1, modelValue: i2.formModel.attachment.delete.condition, "onUpdate:modelValue": t2[31] || (t2[31] = (e3) => i2.formModel.attachment.delete.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.downloadAttachment") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.download.permission, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => i2.formModel.attachment.download.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.download.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.attachment.downloadCheckbox, "onUpdate:modelValue": t2[33] || (t2[33] = (e3) => i2.formModel.attachment.downloadCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.attachment.download.permission && i2.formModel.attachment.downloadCheckbox ? (r.openBlock(), r.createBlock(u2, { key: 1, modelValue: i2.formModel.attachment.download.condition, "onUpdate:modelValue": t2[34] || (t2[34] = (e3) => i2.formModel.attachment.download.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.bodyPermission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.officialText.permission, "onUpdate:modelValue": t2[35] || (t2[35] = (e3) => i2.formModel.officialText.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1610
- }], ["__scopeId", "data-v-c019538f"]]), ol = { name: "TransactorSettings", components: { CommonUserCondition: Io, FormFields: mt }, props: { model: { type: Object, default: null }, usedIn: { type: String, default: "HumanTask" }, isSubprocess: { type: Boolean, default: false }, basicProperties: { type: Object, default: null } }, data() {
1594
+ }], ["__scopeId", "data-v-c019538f"]]), zo = { name: "TransactorSettings", components: { CommonUserCondition: To, FormFields: ut }, props: { model: { type: Object, default: null }, usedIn: { type: String, default: "HumanTask" }, isSubprocess: { type: Boolean, default: false }, basicProperties: { type: Object, default: null } }, data() {
1611
1595
  const e2 = { selectedField: "" };
1612
1596
  return this.initFormModel(e2), { showFormFields: false, formModel: e2, isCountersign: false };
1613
1597
  }, mounted() {
@@ -1618,7 +1602,7 @@
1618
1602
  }, { deep: true }), this.$watch("basicProperties", function() {
1619
1603
  this.showActivateOneVoteVeto();
1620
1604
  }, { deep: true }), this.showActivateOneVoteVeto();
1621
- }, methods: { formatLabel: (e2) => ut(e2), initFormModel(e2) {
1605
+ }, methods: { formatLabel: (e2) => pt(e2), initFormModel(e2) {
1622
1606
  e2.userCondition = "";
1623
1607
  const t2 = this.model.userCondition;
1624
1608
  void 0 === t2 || "" === t2 || null === t2 ? (e2.transactor = "${instanceCreator}", this.model.userCondition = "${instanceCreator}") : "${instanceCreator}" === t2 || "${previousTransactorAssignment}" === t2 ? e2.transactor = t2 : t2.startsWith("${field[") && t2.indexOf("${field[") >= 0 && t2.indexOf('"selectedField": "${field[') < 2 ? (e2.transactor = "byField", e2.selectedField = t2) : t2.startsWith("${deptField[") ? (e2.transactor = "byDeptField", e2.selectedField = t2) : (e2.transactor = "byCondition", e2.userCondition = t2), this.initAdditionalCondition(e2), void 0 !== this.model.url ? e2.url = this.model.url : e2.url = "";
@@ -1637,12 +1621,12 @@
1637
1621
  this.basicProperties && this.basicProperties.processingMode && ("COUNTERSIGN" === this.basicProperties.processingMode.type ? this.isCountersign = true : (this.isCountersign = false, this.formModel.additionalCondition.activateOneVoteVeto = false));
1638
1622
  }, transactorChange() {
1639
1623
  this.formModel.selectedField = null;
1640
- } } }, ll = { key: 0, style: { width: "100%" } }, rl = { key: 1 }, il = { key: 0 };
1641
- const nl = D(ol, [["render", function(e2, t2, o2, l2, i2, n2) {
1624
+ } } }, jo = { key: 0, style: { width: "100%" } }, Jo = { key: 1 }, Go = { key: 0 };
1625
+ const qo = $(zo, [["render", function(e2, t2, o2, l2, i2, n2) {
1642
1626
  const a2 = r.resolveComponent("el-radio"), s2 = r.resolveComponent("el-radio-group"), d2 = r.resolveComponent("common-user-condition"), c2 = r.resolveComponent("el-form-item"), m2 = r.resolveComponent("el-input"), u2 = r.resolveComponent("form-fields"), p2 = r.resolveComponent("el-checkbox"), h2 = r.resolveComponent("el-form");
1643
- return r.openBlock(), r.createBlock(h2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(c2, { label: "" }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.formModel.transactor, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.transactor = e3), onChange: n2.transactorChange }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${instanceCreator}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processInitiator")), 1)]), _: 1 }), "HumanTask" === o2.usedIn ? (r.openBlock(), r.createBlock(a2, { key: 0, label: "${previousTransactorAssignment}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.appointmentOfHandlerInThePreviousLink")), 1)]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(a2, { label: "byField" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.personSpecifiedInFormField")), 1)]), _: 1 }), r.createVNode(a2, { label: "byDeptField" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.deptSpecifiedInFormField")), 1)]), _: 1 }), r.createVNode(a2, { label: "byCondition" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.filterByCriteria")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue", "onChange"]), "byCondition" === i2.formModel.transactor ? (r.openBlock(), r.createElementBlock("div", ll, [r.createVNode(d2, { modelValue: i2.formModel.userCondition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.userCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])) : r.createCommentVNode("", true)]), _: 1 }), "byField" === i2.formModel.transactor || "byDeptField" === i2.formModel.transactor ? (r.openBlock(), r.createBlock(c2, { key: 0, prop: "selectedField", rules: [{ required: true, message: e2.$t("workflowEditor.process.fieldName") + e2.$t("workflowEditor.common.canNotBeEmpty"), trigger: "focus" }], label: e2.$t("workflowEditor.process.fieldName"), "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(m2, { value: n2.formatLabel(i2.formModel.selectedField), onClick: t2[2] || (t2[2] = (e3) => i2.showFormFields = true) }, null, 8, ["value"]), i2.showFormFields ? (r.openBlock(), r.createBlock(u2, { key: 0, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["rules", "label"])) : r.createCommentVNode("", true), "byCondition" === i2.formModel.transactor || "byField" === i2.formModel.transactor || "byDeptField" === i2.formModel.transactor ? (r.openBlock(), r.createElementBlock("div", rl, [r.createVNode(c2, { label: e2.$t("workflowEditor.process.additionalConditions") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.onlyInCreatorDepartment, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.additionalCondition.onlyInCreatorDepartment = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.handlingYyThePersonnelOfTheDepartmentOfTheInitiator")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.withCreatorDepartment, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.additionalCondition.withCreatorDepartment = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.selectOneFromMultiple, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.additionalCondition.selectOneFromMultiple = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.selectSpecificHandler")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.selectOneFromDept, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.additionalCondition.selectOneFromDept = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.selectOneFromDept")), 1)]), _: 1 }, 8, ["modelValue"]), o2.isSubprocess ? (r.openBlock(), r.createBlock(p2, { key: 0, modelValue: i2.formModel.additionalCondition.generateOneInstanceFromDept, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.additionalCondition.generateOneInstanceFromDept = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.generateOneInstanceFromDept")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.isCountersign ? (r.openBlock(), r.createBlock(p2, { key: 1, modelValue: i2.formModel.additionalCondition.activateOneVoteVeto, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.formModel.additionalCondition.activateOneVoteVeto = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.activateOneVoteVeto")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), i2.formModel.additionalCondition.selectOneFromMultiple ? (r.openBlock(), r.createElementBlock("div", il, [r.createVNode(c2, { label: e2.$t("workflowEditor.process.selectionMethod") }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.formModel.additionalCondition.selectType, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.formModel.additionalCondition.selectType = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "customType" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.manualSelection")), 1)]), _: 1 }), r.createVNode(a2, { label: "autoType" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.autoSelect")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(c2, { prop: "additionalCondition.selectUrl", label: e2.$t("workflowEditor.process.callbackURL"), rules: [{ required: true, message: this.$t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }] }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.formModel.additionalCondition.selectUrl, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.formModel.additionalCondition.selectUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"]), [[r.vShow, "autoType" === i2.formModel.additionalCondition.selectType]])])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true), "HumanTask" === o2.usedIn && "${previousTransactorAssignment}" === i2.formModel.transactor ? (r.openBlock(), r.createBlock(c2, { key: 2, prop: "url", rules: [{ required: true, message: this.$t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }], label: e2.$t("workflowEditor.process.selectURL"), "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.formModel.url, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.formModel.url = e3), modelModifiers: { trim: true }, onChange: n2.handleUrlChange }, null, 8, ["modelValue", "onChange"])]), _: 1 }, 8, ["rules", "label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1644
- }]]), al = { "${currentTime}": f().t("workflowEditor.process.handlingTimeOfThisLink"), "${currentTransactorId}": f().t("workflowEditor.process.handlerIDOfThisLink"), "${currentTransactorMainDepartmentId}": f().t("workflowEditor.process.currentHandlerPrincipalDepartmentID"), "${currentTransactorDirectSuperiorId}": f().t("workflowEditor.process.iDOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorMainDepartmentId}": f().t("workflowEditor.process.iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler"), "${currentTransactor}": f().t("workflowEditor.process.loginNameOfTheHandlerInThisLink"), "${currentTransactorName }": f().t("workflowEditor.process.NameOfCurrentHandler"), "${currentTransactorDepartment }": f().t("workflowEditor.process.CurrentHandlerDepartment"), "${currentTransactorDepartmentId}": f().t("workflowEditor.process.CurrentHandlerDepartmentID"), "${currentTransactorMainDepartment}": f().t("workflowEditor.process.CurrentManagersPrincipalDepartment"), "${currentTransactorSuperiorDepartmentId}": f().t("workflowEditor.process.iDOfSsuperiorDepartmentOfCurrentHandler"), "${currentTransactorSuperiorDepartment}": f().t("workflowEditor.process.CurrentHandlersSuperiorDepartment"), "${currentTransactorUpstageDepartment}": f().t("workflowEditor.process.TopDepartmentOfCurrentHandler"), "${currentTransactorUpstageDepartmentId}": f().t("workflowEditor.process.TopDepartmentIDOfCurrentHandler"), "${currentTransactorRole}": f().t("workflowEditor.process.CurrentHandlerRole"), "${currentTransactorRoleId}": f().t("workflowEditor.process.CurrentHandlerRoleID"), "${currentTransactorWorkGroup}": f().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorWorkGroupId}": f().t("workflowEditor.process.CurrentHandlerWorkingGroupID"), "${currentTransactorDirectSuperior}": f().t("workflowEditor.process.LoginNameOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorName}": f().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": f().t("workflowEditor.process.currentHandlersDirectSuperiorDepartment"), "${currentTransactorDirectSuperiorDepartmentId}": f().t("workflowEditor.process.currentManagersIdDirectlyUnderTheSuperior"), "${currentTransactorDirectSuperiorMainDepartment}": f().t("workflowEditor.process.currentManagersDirectSuperiorDepartment"), "${currentTransactorDirectSuperiorRole}": f().t("workflowEditor.process.currentManagersDirectSuperiorRole"), "${currentTransactorDirectSuperiorRoleId}": f().t("workflowEditor.process.currentHandlersDirectSuperiorRoleID"), "${currentTransactorDirectSuperiorWorkGroup}": f().t("workflowEditor.process.currentManagersDirectSuperiorWork"), "${currentTransactorDirectSuperiorWorkGroupId}": f().t("workflowEditor.process.iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler"), "${currentOperation}": f().t("workflowEditor.process.operationsPerformedInThisPhase"), "${previousTransactorId}": f().t("workflowEditor.process.handlerIDOfThePreviousLink"), "${previousTransactor}": f().t("workflowEditor.process.lastLinkHandlerLogin"), "${previousTransactorName}": f().t("workflowEditor.process.nameOfHandlerInThePreviousLink") };
1645
- const sl = D({ name: "AutoFilledFields", components: { FormFields: mt }, props: { modelValue: { type: Object, default: () => ({}) }, opinionSetting: { type: Object, default: () => ({}) } }, data() {
1627
+ return r.openBlock(), r.createBlock(h2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(c2, { label: "" }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.formModel.transactor, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.transactor = e3), onChange: n2.transactorChange }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${instanceCreator}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processInitiator")), 1)]), _: 1 }), "HumanTask" === o2.usedIn ? (r.openBlock(), r.createBlock(a2, { key: 0, label: "${previousTransactorAssignment}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.appointmentOfHandlerInThePreviousLink")), 1)]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(a2, { label: "byField" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.personSpecifiedInFormField")), 1)]), _: 1 }), r.createVNode(a2, { label: "byDeptField" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.deptSpecifiedInFormField")), 1)]), _: 1 }), r.createVNode(a2, { label: "byCondition" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.filterByCriteria")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue", "onChange"]), "byCondition" === i2.formModel.transactor ? (r.openBlock(), r.createElementBlock("div", jo, [r.createVNode(d2, { modelValue: i2.formModel.userCondition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.userCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])) : r.createCommentVNode("", true)]), _: 1 }), "byField" === i2.formModel.transactor || "byDeptField" === i2.formModel.transactor ? (r.openBlock(), r.createBlock(c2, { key: 0, prop: "selectedField", rules: [{ required: true, message: e2.$t("workflowEditor.process.fieldName") + e2.$t("workflowEditor.common.canNotBeEmpty"), trigger: "focus" }], label: e2.$t("workflowEditor.process.fieldName"), "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(m2, { value: n2.formatLabel(i2.formModel.selectedField), onClick: t2[2] || (t2[2] = (e3) => i2.showFormFields = true) }, null, 8, ["value"]), i2.showFormFields ? (r.openBlock(), r.createBlock(u2, { key: 0, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["rules", "label"])) : r.createCommentVNode("", true), "byCondition" === i2.formModel.transactor || "byField" === i2.formModel.transactor || "byDeptField" === i2.formModel.transactor ? (r.openBlock(), r.createElementBlock("div", Jo, [r.createVNode(c2, { label: e2.$t("workflowEditor.process.additionalConditions") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.onlyInCreatorDepartment, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.additionalCondition.onlyInCreatorDepartment = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.handlingYyThePersonnelOfTheDepartmentOfTheInitiator")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.withCreatorDepartment, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.additionalCondition.withCreatorDepartment = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.selectOneFromMultiple, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.additionalCondition.selectOneFromMultiple = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.selectSpecificHandler")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.selectOneFromDept, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.additionalCondition.selectOneFromDept = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.selectOneFromDept")), 1)]), _: 1 }, 8, ["modelValue"]), o2.isSubprocess ? (r.openBlock(), r.createBlock(p2, { key: 0, modelValue: i2.formModel.additionalCondition.generateOneInstanceFromDept, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.additionalCondition.generateOneInstanceFromDept = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.generateOneInstanceFromDept")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.isCountersign ? (r.openBlock(), r.createBlock(p2, { key: 1, modelValue: i2.formModel.additionalCondition.activateOneVoteVeto, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.formModel.additionalCondition.activateOneVoteVeto = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.activateOneVoteVeto")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), i2.formModel.additionalCondition.selectOneFromMultiple ? (r.openBlock(), r.createElementBlock("div", Go, [r.createVNode(c2, { label: e2.$t("workflowEditor.process.selectionMethod") }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.formModel.additionalCondition.selectType, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.formModel.additionalCondition.selectType = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "customType" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.manualSelection")), 1)]), _: 1 }), r.createVNode(a2, { label: "autoType" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.autoSelect")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(c2, { prop: "additionalCondition.selectUrl", label: e2.$t("workflowEditor.process.callbackURL"), rules: [{ required: true, message: this.$t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }] }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.formModel.additionalCondition.selectUrl, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.formModel.additionalCondition.selectUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"]), [[r.vShow, "autoType" === i2.formModel.additionalCondition.selectType]])])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true), "HumanTask" === o2.usedIn && "${previousTransactorAssignment}" === i2.formModel.transactor ? (r.openBlock(), r.createBlock(c2, { key: 2, prop: "url", rules: [{ required: true, message: this.$t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }], label: e2.$t("workflowEditor.process.selectURL"), "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.formModel.url, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.formModel.url = e3), modelModifiers: { trim: true }, onChange: n2.handleUrlChange }, null, 8, ["modelValue", "onChange"])]), _: 1 }, 8, ["rules", "label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1628
+ }]]), Ko = { "${currentTime}": w().t("workflowEditor.process.handlingTimeOfThisLink"), "${currentTransactorId}": w().t("workflowEditor.process.handlerIDOfThisLink"), "${currentTransactorMainDepartmentId}": w().t("workflowEditor.process.currentHandlerPrincipalDepartmentID"), "${currentTransactorDirectSuperiorId}": w().t("workflowEditor.process.iDOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorMainDepartmentId}": w().t("workflowEditor.process.iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler"), "${currentTransactor}": w().t("workflowEditor.process.loginNameOfTheHandlerInThisLink"), "${currentTransactorName }": w().t("workflowEditor.process.NameOfCurrentHandler"), "${currentTransactorDepartment }": w().t("workflowEditor.process.CurrentHandlerDepartment"), "${currentTransactorDepartmentId}": w().t("workflowEditor.process.CurrentHandlerDepartmentID"), "${currentTransactorMainDepartment}": w().t("workflowEditor.process.CurrentManagersPrincipalDepartment"), "${currentTransactorSuperiorDepartmentId}": w().t("workflowEditor.process.iDOfSsuperiorDepartmentOfCurrentHandler"), "${currentTransactorSuperiorDepartment}": w().t("workflowEditor.process.CurrentHandlersSuperiorDepartment"), "${currentTransactorUpstageDepartment}": w().t("workflowEditor.process.TopDepartmentOfCurrentHandler"), "${currentTransactorUpstageDepartmentId}": w().t("workflowEditor.process.TopDepartmentIDOfCurrentHandler"), "${currentTransactorRole}": w().t("workflowEditor.process.CurrentHandlerRole"), "${currentTransactorRoleId}": w().t("workflowEditor.process.CurrentHandlerRoleID"), "${currentTransactorWorkGroup}": w().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorWorkGroupId}": w().t("workflowEditor.process.CurrentHandlerWorkingGroupID"), "${currentTransactorDirectSuperior}": w().t("workflowEditor.process.LoginNameOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorName}": w().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": w().t("workflowEditor.process.currentHandlersDirectSuperiorDepartment"), "${currentTransactorDirectSuperiorDepartmentId}": w().t("workflowEditor.process.currentManagersIdDirectlyUnderTheSuperior"), "${currentTransactorDirectSuperiorMainDepartment}": w().t("workflowEditor.process.currentManagersDirectSuperiorDepartment"), "${currentTransactorDirectSuperiorRole}": w().t("workflowEditor.process.currentManagersDirectSuperiorRole"), "${currentTransactorDirectSuperiorRoleId}": w().t("workflowEditor.process.currentHandlersDirectSuperiorRoleID"), "${currentTransactorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.currentManagersDirectSuperiorWork"), "${currentTransactorDirectSuperiorWorkGroupId}": w().t("workflowEditor.process.iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler"), "${currentOperation}": w().t("workflowEditor.process.operationsPerformedInThisPhase"), "${previousTransactorId}": w().t("workflowEditor.process.handlerIDOfThePreviousLink"), "${previousTransactor}": w().t("workflowEditor.process.lastLinkHandlerLogin"), "${previousTransactorName}": w().t("workflowEditor.process.nameOfHandlerInThePreviousLink") };
1629
+ const Xo = $({ name: "AutoFilledFields", components: { FormFields: ut }, props: { modelValue: { type: Object, default: () => ({}) }, opinionSetting: { type: Object, default: () => ({}) } }, data() {
1646
1630
  const e2 = [];
1647
1631
  if (void 0 !== this.modelValue.field && null !== this.modelValue.field)
1648
1632
  if (Array.isArray(this.modelValue.field))
@@ -1655,7 +1639,7 @@
1655
1639
  "string" == typeof this.modelValue.field.value && -1 !== this.modelValue.field.value.indexOf("+") ? t3.value = this.modelValue.field.value.split("+") : (t3.value = [], t3.value.push(this.modelValue.field.value)), e2.push(t3);
1656
1640
  }
1657
1641
  let t2 = {};
1658
- return this.opinionSetting && this.opinionSetting.opinionSourceField && (t2 = { ...this.opinionSetting }), { tableData: e2, currentRow: null, standardValues: al, showFormFields: false, isSelectOpinionField: false, opinionAutoSetting: t2 };
1642
+ return this.opinionSetting && this.opinionSetting.opinionSourceField && (t2 = { ...this.opinionSetting }), { tableData: e2, currentRow: null, standardValues: Ko, showFormFields: false, isSelectOpinionField: false, opinionAutoSetting: t2 };
1659
1643
  }, computed: { keys() {
1660
1644
  return Object.keys(this.standardValues);
1661
1645
  } }, watch: { opinionAutoSetting: { deep: true, handler(e2) {
@@ -1698,7 +1682,7 @@
1698
1682
  0 === e2.length && this.$alert(this.$t("workflowEditorMessage.fieldValueCannotBeEmpty"));
1699
1683
  }, setField(e2) {
1700
1684
  this.isSelectOpinionField ? this.opinionAutoSetting.opinionSourceField = e2 : void 0 !== e2 && (this.currentRow.name = e2), this.showFormFields = false, this.isSelectOpinionField = false;
1701
- }, getFieldLabel: (e2) => ut(e2), selectOpinionField() {
1685
+ }, getFieldLabel: (e2) => pt(e2), selectOpinionField() {
1702
1686
  this.showFormFields = true, this.isSelectOpinionField = true;
1703
1687
  }, clearOpinionField() {
1704
1688
  delete this.opinionAutoSetting.opinionSourceField;
@@ -1706,7 +1690,7 @@
1706
1690
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-option"), u2 = r.resolveComponent("el-select"), p2 = r.resolveComponent("el-table"), h2 = r.resolveComponent("el-card"), f2 = r.resolveComponent("el-form-item"), w2 = r.resolveComponent("form-fields");
1707
1691
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(h2, { class: "box-card" }, { header: r.withCtx(() => [r.createTextVNode(" 表单自动填充字段设置 ")]), default: r.withCtx(() => [r.createVNode(s2, { style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.tableData, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "name", label: e2.$t("workflowEditor.common.name"), width: "150" }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.getFieldLabel(o3.row.name), placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent"), readonly: "", onClick: t2[0] || (t2[0] = (e3) => i2.showFormFields = true), onBlur: (e3) => n2.checkName(o3.row.name) }, null, 8, ["value", "placeholder", "onBlur"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "value", label: e2.$t("workflowEditor.common.fieldValue"), width: "200" }, { default: r.withCtx((t3) => [r.createVNode(u2, { modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, multiple: "", filterable: "", "allow-create": "", "default-first-option": "", placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onBlur: (e3) => n2.checkValue(t3.row.value) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.keys, (e3) => (r.openBlock(), r.createBlock(m2, { key: e3, label: i2.standardValues[e3], value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onBlur"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "separator", label: e2.$t("workflowEditor.common.separator") }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.separator, "onUpdate:modelValue": (t3) => e3.row.separator = t3, modelModifiers: { trim: true } }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "fillType", label: e2.$t("workflowEditor.common.fillInMethod") }, { default: r.withCtx((t3) => [r.createVNode(u2, { modelValue: t3.row.fillType, "onUpdate:modelValue": (e3) => t3.row.fillType = e3 }, { default: r.withCtx(() => [r.createVNode(m2, { label: e2.$t("workflowEditor.common.cover"), value: "cover" }, null, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.append"), value: "append" }, null, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.insertToFront"), value: "prepend" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "fillTime", label: e2.$t("workflowEditor.common.fillInTime") }, { default: r.withCtx((t3) => [r.createVNode(u2, { modelValue: t3.row.fillTime, "onUpdate:modelValue": (e3) => t3.row.fillTime = e3 }, { default: r.withCtx(() => [r.createVNode(m2, { label: e2.$t("workflowEditor.common.fillInBeforeHandling"), value: "before" }, null, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.fillInAfterHandling"), value: "after" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]), _: 1 }), r.createVNode(h2, { class: "box-card", style: { "margin-top": "10px" } }, { header: r.withCtx(() => [r.createTextVNode(" 办理意见 ")]), default: r.withCtx(() => [r.createVNode(f2, { label: "意见来源字段", "label-width": "100" }, { default: r.withCtx(() => [r.createVNode(c2, { value: n2.getFieldLabel(i2.opinionAutoSetting.opinionSourceField), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), readonly: "", clearable: true, onClick: n2.selectOpinionField }, { append: r.withCtx(() => [r.createVNode(a2, { icon: "Delete", onClick: n2.clearOpinionField }, null, 8, ["onClick"])]), _: 1 }, 8, ["value", "placeholder", "onClick"])]), _: 1 })]), _: 1 }), i2.showFormFields ? (r.openBlock(), r.createBlock(w2, { key: 0, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]);
1708
1692
  }]]);
1709
- const dl = D({ name: "Variables", props: { modelValue: { type: Object, default: null } }, data() {
1693
+ const Yo = $({ name: "Variables", props: { modelValue: { type: Object, default: null } }, data() {
1710
1694
  let e2 = [];
1711
1695
  return this.modelValue && (Array.isArray(this.modelValue.variable) ? e2 = this.modelValue.variable : this.modelValue.variable && e2.push(this.modelValue.variable)), { variables: e2, currentRow: null };
1712
1696
  }, watch: {}, mounted() {
@@ -1741,8 +1725,8 @@
1741
1725
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1742
1726
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-table");
1743
1727
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(m2, { ref: "table", data: i2.variables, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "name", label: e2.$t("workflowEditor.common.variableName") }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.name, "onUpdate:modelValue": (e3) => t3.row.name = e3, modelModifiers: { trim: true }, placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent"), onBlur: (e3) => n2.checkName(t3.row.name) }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onBlur"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "value", label: e2.$t("workflowEditor.common.variableValue") }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true }, placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent"), onBlur: (e3) => n2.checkValue(t3.row.value) }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]);
1744
- }]]), cl = { key: 0 };
1745
- const ml = D({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
1728
+ }]]), Qo = { key: 0 };
1729
+ const Zo = $({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
1746
1730
  const e2 = { beforeSubmitEnabled: false, beforeSubmit: {} };
1747
1731
  return this.modelValue.beforeSubmit && (e2.beforeSubmitEnabled = true, e2.beforeSubmit = { ...this.modelValue.beforeSubmit }), e2.afterComplete = this.modelValue.afterComplete, { formModel: e2 };
1748
1732
  }, mounted() {
@@ -1752,9 +1736,9 @@
1752
1736
  }, { deep: true });
1753
1737
  } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1754
1738
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-input"), c2 = r.resolveComponent("el-form");
1755
- return r.openBlock(), r.createBlock(c2, { model: i2.formModel, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.beforeSubmission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.beforeSubmitEnabled, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.beforeSubmitEnabled = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.beforeSubmitEnabled ? (r.openBlock(), r.createElementBlock("div", cl, [r.createVNode(s2, { label: e2.$t("workflowEditor.task.executionURL") }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.formModel.beforeSubmit.url, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.beforeSubmit.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.errorMessage") }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.formModel.beforeSubmit.errorMessage, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.beforeSubmit.errorMessage = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.afterSubmission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.afterComplete, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.afterComplete = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1739
+ return r.openBlock(), r.createBlock(c2, { model: i2.formModel, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.beforeSubmission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.beforeSubmitEnabled, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.beforeSubmitEnabled = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.beforeSubmitEnabled ? (r.openBlock(), r.createElementBlock("div", Qo, [r.createVNode(s2, { label: e2.$t("workflowEditor.task.executionURL") }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.formModel.beforeSubmit.url, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.beforeSubmit.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.errorMessage") }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.formModel.beforeSubmit.errorMessage, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.beforeSubmit.errorMessage = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.afterSubmission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.afterComplete, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.afterComplete = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1756
1740
  }]]);
1757
- const ul = D({ name: "CommonNoticeTool", props: { label: { type: String, default: null }, modelValue: { type: String, default: null }, customMsg: { type: String, default: null } }, data() {
1741
+ const el = $({ name: "CommonNoticeTool", props: { label: { type: String, default: null }, modelValue: { type: String, default: null }, customMsg: { type: String, default: null } }, data() {
1758
1742
  let e2 = [];
1759
1743
  this.modelValue && "" !== this.modelValue && null !== this.modelValue && (e2 = this.modelValue.split(","));
1760
1744
  let t2 = "";
@@ -1766,7 +1750,7 @@
1766
1750
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1767
1751
  const a2 = r.resolveComponent("el-checkbox"), s2 = r.resolveComponent("el-checkbox-group"), d2 = r.resolveComponent("el-form-item"), c2 = r.resolveComponent("el-input");
1768
1752
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(d2, { label: o2.label }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.tools, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.tools = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "mail" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.mail")), 1)]), _: 1 }), r.createVNode(a2, { label: "DINGDING" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.dingding")), 1)]), _: 1 }), r.createVNode(a2, { label: "QIWEI" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.qiwei")), 1)]), _: 1 }), r.createVNode(a2, { label: "FEISHU" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.feishu")), 1)]), _: 1 }), r.createVNode(a2, { label: "custom" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.custom")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.tools.indexOf("custom") >= 0 ? (r.openBlock(), r.createBlock(d2, { key: 0, "label-width": "110", label: e2.$t("workflowEditor.common.customMsg") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.myCustomMsg, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.myCustomMsg = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true)]);
1769
- }]]), pl = { name: "Reminder", components: { CommonNoticeTool: ul, CommonUserCondition: Io, SelectMailTemplates: oo }, props: { modelValue: { type: [Object, String], default: null }, isProcess: { type: Boolean, default: false } }, data() {
1753
+ }]]), tl = { name: "Reminder", components: { CommonNoticeTool: el, CommonUserCondition: To, SelectMailTemplates: zt }, props: { modelValue: { type: [Object, String], default: null }, isProcess: { type: Boolean, default: false } }, data() {
1770
1754
  let e2 = false, t2 = false, o2 = { dueDate: 1, dueTimeUnit: "day", repeat: 1, containTransferUser: false, containNoticeUser: false, remindType: "mail", timeUnit: "day", remindTimes: 0, noticeType: "", noticeUserCondition: "", transferUserCondition: "" };
1771
1755
  return null !== this.modelValue && void 0 !== this.modelValue && "" !== this.modelValue && (o2 = this.modelValue, e2 = true, this.modelValue.remindTimes > 0 && (t2 = true), o2.dueTimeUnit || (o2.dueTimeUnit = "day")), { showReminder: e2, showNotice: t2, model: o2, showMailTemplateFlag: false, baseURL: "", optionUrl: "", multiSelectData: [], options: { showColumns: "code,name" } };
1772
1756
  }, watch: { showReminder(e2) {
@@ -1788,11 +1772,11 @@
1788
1772
  this.model.reminderCustomMsg = e2;
1789
1773
  }, setNoticeCustomMsg(e2) {
1790
1774
  this.model.noticeCustomMsg = e2;
1791
- } } }, hl = { key: 0 }, fl = { key: 2 };
1792
- const wl = { name: "NoticeReminder", components: { Reminder: D(pl, [["render", function(e2, t2, o2, l2, i2, n2) {
1775
+ } } }, ol = { key: 0 }, ll = { key: 2 };
1776
+ const rl = { name: "NoticeReminder", components: { Reminder: $(tl, [["render", function(e2, t2, o2, l2, i2, n2) {
1793
1777
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("common-notice-tool"), c2 = r.resolveComponent("select-mail-templates"), m2 = r.resolveComponent("el-input-number"), u2 = r.resolveComponent("el-option"), p2 = r.resolveComponent("el-select"), h2 = r.resolveComponent("el-radio"), f2 = r.resolveComponent("el-checkbox"), w2 = r.resolveComponent("common-user-condition"), g2 = r.resolveComponent("el-form");
1794
- return r.openBlock(), r.createBlock(g2, { model: i2.model, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.needToBeUrged") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.showReminder, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.showReminder = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.showReminder ? (r.openBlock(), r.createElementBlock("div", hl, [r.createVNode(d2, { modelValue: i2.model.remindType, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.remindType = e3), label: e2.$t("workflowEditor.task.urgingMethod"), "custom-msg": i2.model.reminderCustomMsg, onInputMsg: n2.setReminderCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.model.remindType && i2.model.remindType.length > 0 ? (r.openBlock(), r.createBlock(s2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.remindType && i2.model.remindType.length > 0 && -1 !== i2.model.remindType.indexOf("mail") ? (r.openBlock(), r.createBlock(s2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailPointTemplateCode, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.model.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.timeLimitForHandling"), size: "small" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.model.dueDate, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.model.dueDate = e3), "controls-position": "right", min: 1, max: 30, style: { width: "90px" } }, null, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.model.dueTimeUnit, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.model.dueTimeUnit = e3), style: { width: "70px" } }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.task.day"), value: "day" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.task.hour"), value: "hour" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue"]), r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.task.urgingInterval")), 1), r.createVNode(m2, { modelValue: i2.model.repeat, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.model.repeat = e3), "controls-position": "right", min: 1, max: 30, style: { width: "90px" } }, null, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.model.timeUnit, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.model.timeUnit = e3), style: { width: "70px" } }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.task.day"), value: "day" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.task.hour"), value: "hour" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.showNotice = e3), label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.alwaysUrging")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(h2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.showNotice = e3), label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.limitedUrging")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i2.showNotice ? (r.openBlock(), r.createElementBlock("div", fl, [r.createVNode(s2, { label: e2.$t("workflowEditor.task.timesOfUrging"), size: "small" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.model.remindTimes, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.model.remindTimes = e3), "controls-position": "right", min: 1, max: 99, style: { width: "90px" } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { modelValue: i2.model.noticeType, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.model.noticeType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.model.noticeCustomMsg, onInputMsg: n2.setNoticeCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 0, label: e2.$t("workflowEditor.common.notifyPersonnel"), style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.model.containTransferUser, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.model.containTransferUser = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.includingHandoverPersonnel")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])), r.createVNode(s2, { "label-width": "0" }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.model.noticeUserCondition, "onUpdate:modelValue": t2[13] || (t2[13] = (e3) => i2.model.noticeUserCondition = e3) }, null, 8, ["modelValue"])]), _: 1 }), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 1, label: e2.$t("workflowEditor.task.handoverPersonnel"), style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.model.containNoticeUser, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => i2.model.containNoticeUser = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.includeNotifyPeople")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 2, "label-width": "0" }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.model.transferUserCondition, "onUpdate:modelValue": t2[15] || (t2[15] = (e3) => i2.model.transferUserCondition = e3) }, null, 8, ["modelValue"])]), _: 1 }))])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1795
- }], ["__scopeId", "data-v-4e29ea06"]]), CommonNoticeTool: ul, SelectMailTemplates: oo }, props: { reminderValue: { type: [Object, String], default: null }, taskNoticeValue: { type: Object, default: null }, isProcess: { type: Boolean, default: false } }, data() {
1778
+ return r.openBlock(), r.createBlock(g2, { model: i2.model, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.needToBeUrged") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.showReminder, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.showReminder = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.showReminder ? (r.openBlock(), r.createElementBlock("div", ol, [r.createVNode(d2, { modelValue: i2.model.remindType, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.remindType = e3), label: e2.$t("workflowEditor.task.urgingMethod"), "custom-msg": i2.model.reminderCustomMsg, onInputMsg: n2.setReminderCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.model.remindType && i2.model.remindType.length > 0 ? (r.openBlock(), r.createBlock(s2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.remindType && i2.model.remindType.length > 0 && -1 !== i2.model.remindType.indexOf("mail") ? (r.openBlock(), r.createBlock(s2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailPointTemplateCode, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.model.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.timeLimitForHandling"), size: "small" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.model.dueDate, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.model.dueDate = e3), "controls-position": "right", min: 1, max: 30, style: { width: "90px" } }, null, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.model.dueTimeUnit, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.model.dueTimeUnit = e3), style: { width: "70px" } }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.task.day"), value: "day" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.task.hour"), value: "hour" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue"]), r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.task.urgingInterval")), 1), r.createVNode(m2, { modelValue: i2.model.repeat, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.model.repeat = e3), "controls-position": "right", min: 1, max: 30, style: { width: "90px" } }, null, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.model.timeUnit, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.model.timeUnit = e3), style: { width: "70px" } }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.task.day"), value: "day" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.task.hour"), value: "hour" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.showNotice = e3), label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.alwaysUrging")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(h2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.showNotice = e3), label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.limitedUrging")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i2.showNotice ? (r.openBlock(), r.createElementBlock("div", ll, [r.createVNode(s2, { label: e2.$t("workflowEditor.task.timesOfUrging"), size: "small" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.model.remindTimes, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.model.remindTimes = e3), "controls-position": "right", min: 1, max: 99, style: { width: "90px" } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { modelValue: i2.model.noticeType, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.model.noticeType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.model.noticeCustomMsg, onInputMsg: n2.setNoticeCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 0, label: e2.$t("workflowEditor.common.notifyPersonnel"), style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.model.containTransferUser, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.model.containTransferUser = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.includingHandoverPersonnel")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])), r.createVNode(s2, { "label-width": "0" }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.model.noticeUserCondition, "onUpdate:modelValue": t2[13] || (t2[13] = (e3) => i2.model.noticeUserCondition = e3) }, null, 8, ["modelValue"])]), _: 1 }), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 1, label: e2.$t("workflowEditor.task.handoverPersonnel"), style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.model.containNoticeUser, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => i2.model.containNoticeUser = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.includeNotifyPeople")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 2, "label-width": "0" }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.model.transferUserCondition, "onUpdate:modelValue": t2[15] || (t2[15] = (e3) => i2.model.transferUserCondition = e3) }, null, 8, ["modelValue"])]), _: 1 }))])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1779
+ }], ["__scopeId", "data-v-4e29ea06"]]), CommonNoticeTool: el, SelectMailTemplates: zt }, props: { reminderValue: { type: [Object, String], default: null }, taskNoticeValue: { type: Object, default: null }, isProcess: { type: Boolean, default: false } }, data() {
1796
1780
  let e2 = null;
1797
1781
  null !== this.reminderValue && void 0 !== this.reminderValue && "" !== this.reminderValue && (e2 = this.reminderValue);
1798
1782
  let t2 = {};
@@ -1805,12 +1789,12 @@
1805
1789
  this.noticeObj.mailTemplateCode = e2;
1806
1790
  }, setCustomMsg(e2) {
1807
1791
  this.noticeObj.customMsg = e2;
1808
- } } }, gl = { class: "clearfix" }, Cl = { class: "sub-li" }, kl = { class: "sub-li" }, bl = { class: "clearfix" }, Vl = { class: "sub-li" }, yl = { class: "sub-li" }, vl = { class: "sub-li" }, Tl = { class: "sub-li" };
1809
- const Nl = D(wl, [["render", function(e2, t2, o2, l2, i2, n2) {
1792
+ } } }, il = { class: "clearfix" }, nl = { class: "sub-li" }, al = { class: "sub-li" }, sl = { class: "clearfix" }, dl = { class: "sub-li" }, cl = { class: "sub-li" }, ml = { class: "sub-li" }, ul = { class: "sub-li" };
1793
+ const pl = $(rl, [["render", function(e2, t2, o2, l2, i2, n2) {
1810
1794
  const a2 = r.resolveComponent("Warning"), s2 = r.resolveComponent("el-icon"), d2 = r.resolveComponent("el-tooltip"), c2 = r.resolveComponent("common-notice-tool"), m2 = r.resolveComponent("select-mail-templates"), u2 = r.resolveComponent("el-form-item"), p2 = r.resolveComponent("el-form"), h2 = r.resolveComponent("el-card"), f2 = r.resolveComponent("reminder");
1811
- return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(h2, { class: "box-card" }, { header: r.withCtx(() => [r.createElementVNode("div", gl, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.common.taskNotice")), 1), r.createVNode(d2, null, { content: r.withCtx(() => [r.createElementVNode("ul", null, [r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateMsg")), 1), r.createElementVNode("li", Cl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateNotice")), 1), r.createElementVNode("li", kl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateEmail")), 1)])]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })]), _: 1 })])]), default: r.withCtx(() => [r.createVNode(p2, { model: i2.noticeObj, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.noticeObj.informType, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.noticeObj.informType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.noticeObj.customMsg, onInputMsg: n2.setCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.noticeObj.informType && i2.noticeObj.informType.length > 0 ? (r.openBlock(), r.createBlock(u2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.noticeObj.mailTemplateCode, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.noticeObj.mailTemplateCode = e3), onSetValue: n2.setNoticeCommonTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.noticeObj.informType && i2.noticeObj.informType.length > 0 && i2.noticeObj.informType.indexOf("mail") >= 0 ? (r.openBlock(), r.createBlock(u2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.noticeObj.mailPointTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.noticeObj.mailPointTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"])]), _: 1 }), r.createVNode(h2, { class: "box-card", style: { "margin-top": "10px" } }, { header: r.withCtx(() => [r.createElementVNode("div", bl, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.common.reminderNotice")), 1), r.createVNode(d2, null, { content: r.withCtx(() => [r.createElementVNode("ul", null, [r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateMsg")), 1), r.createElementVNode("li", Vl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateNotice")), 1), r.createElementVNode("li", yl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateEmail")), 1), r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindMsg")), 1), r.createElementVNode("li", vl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindImmediately")), 1), r.createElementVNode("li", Tl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindHistory")), 1)])]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })]), _: 1 })])]), default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.reminderObj, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.reminderObj = e3), isProcess: o2.isProcess }, null, 8, ["modelValue", "isProcess"])]), _: 1 })]);
1795
+ return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(h2, { class: "box-card" }, { header: r.withCtx(() => [r.createElementVNode("div", il, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.common.taskNotice")), 1), r.createVNode(d2, null, { content: r.withCtx(() => [r.createElementVNode("ul", null, [r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateMsg")), 1), r.createElementVNode("li", nl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateNotice")), 1), r.createElementVNode("li", al, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateEmail")), 1)])]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })]), _: 1 })])]), default: r.withCtx(() => [r.createVNode(p2, { model: i2.noticeObj, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.noticeObj.informType, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.noticeObj.informType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.noticeObj.customMsg, onInputMsg: n2.setCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.noticeObj.informType && i2.noticeObj.informType.length > 0 ? (r.openBlock(), r.createBlock(u2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.noticeObj.mailTemplateCode, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.noticeObj.mailTemplateCode = e3), onSetValue: n2.setNoticeCommonTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.noticeObj.informType && i2.noticeObj.informType.length > 0 && i2.noticeObj.informType.indexOf("mail") >= 0 ? (r.openBlock(), r.createBlock(u2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.noticeObj.mailPointTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.noticeObj.mailPointTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"])]), _: 1 }), r.createVNode(h2, { class: "box-card", style: { "margin-top": "10px" } }, { header: r.withCtx(() => [r.createElementVNode("div", sl, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.common.reminderNotice")), 1), r.createVNode(d2, null, { content: r.withCtx(() => [r.createElementVNode("ul", null, [r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateMsg")), 1), r.createElementVNode("li", dl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateNotice")), 1), r.createElementVNode("li", cl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateEmail")), 1), r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindMsg")), 1), r.createElementVNode("li", ml, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindImmediately")), 1), r.createElementVNode("li", ul, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindHistory")), 1)])]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })]), _: 1 })])]), default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.reminderObj, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.reminderObj = e3), isProcess: o2.isProcess }, null, 8, ["modelValue", "isProcess"])]), _: 1 })]);
1812
1796
  }], ["__scopeId", "data-v-39fac73c"]]);
1813
- const xl = D({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: io, TransactorSettings: nl, PermissionSettings: tl, AutoFilledFields: sl, Events: ml, Variables: dl, NoticeReminder: Nl }, props: { model: { type: Object, default: null } }, data() {
1797
+ const hl = $({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: Gt, TransactorSettings: qo, PermissionSettings: Wo, AutoFilledFields: Xo, Events: Zo, Variables: Yo, NoticeReminder: pl }, props: { model: { type: Object, default: null } }, data() {
1814
1798
  return this.model.ref.taskNotice || (this.model.ref.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
1815
1799
  }, computed: { formModel() {
1816
1800
  return this.model.ref;
@@ -1825,25 +1809,25 @@
1825
1809
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("transactor-settings"), c2 = r.resolveComponent("permission-settings"), m2 = r.resolveComponent("auto-filled-fields"), u2 = r.resolveComponent("notice-reminder"), p2 = r.resolveComponent("events"), h2 = r.resolveComponent("variables"), f2 = r.resolveComponent("el-tabs"), w2 = r.resolveComponent("el-dialog");
1826
1810
  return r.openBlock(), r.createBlock(w2, { "model-value": "", top: "10vh", title: e2.$t("workflowEditor.task.linkAttribute"), center: true, "append-to-body": "", class: "properties-editor", onOpen: t2[9] || (t2[9] = (t3) => e2.$emit("open")), onOpend: t2[10] || (t2[10] = (t3) => e2.$emit("opend")), onClose: t2[11] || (t2[11] = (t3) => e2.$emit("close")), onClosed: t2[12] || (t2[12] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref.basicProperties }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.settingOfHandler"), name: "transactors" }, { default: r.withCtx(() => [r.createVNode(d2, { model: o2.model.ref.transactorSettings, "basic-properties": o2.model.ref.basicProperties }, null, 8, ["model", "basic-properties"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.permissionSettings"), name: "permissions" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.ref.permissionSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.autoFillInFieldSettings"), name: "autoFilledFields" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: o2.model.ref.autoFilledFields, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.autoFilledFields = e3), "opinion-setting": o2.model.ref.opinionSetting, "onUpdate:opinionSetting": t2[4] || (t2[4] = (e3) => o2.model.ref.opinionSetting = e3) }, null, 8, ["modelValue", "opinion-setting"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.reminderSettings"), name: "reminders" }, { default: r.withCtx(() => [r.createVNode(u2, { "reminder-value": o2.model.ref.reminder, "onUpdate:reminderValue": t2[5] || (t2[5] = (e3) => o2.model.ref.reminder = e3), "task-notice-value": o2.model.ref.taskNotice }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.eventProcessing"), name: "events" }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.linkVariable"), name: "variables" }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: o2.model.ref.variables, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.model.ref.variables = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
1827
1811
  }], ["__scopeId", "data-v-1651d82a"]]);
1828
- function El() {
1812
+ function fl() {
1829
1813
  return window.$store;
1830
1814
  }
1831
- function Sl() {
1815
+ function wl() {
1832
1816
  return window.$http;
1833
1817
  }
1834
- const Ml = { fetchFormFields: (e2, t2, o2, l2) => new Promise((r2, i2) => {
1818
+ const gl = { fetchFormFields: (e2, t2, o2, l2) => new Promise((r2, i2) => {
1835
1819
  let n2;
1836
- e2 ? n2 = Sl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields?formCode=" + e2 + "&formVersion=" + t2 + "&publishVersion=" + l2) : o2 && (n2 = Sl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/table-fields?tableName=" + o2 + "&publishVersion=" + l2)), n2 ? n2.then((t3) => {
1820
+ e2 ? n2 = wl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields?formCode=" + e2 + "&formVersion=" + t2 + "&publishVersion=" + l2) : o2 && (n2 = wl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/table-fields?tableName=" + o2 + "&publishVersion=" + l2)), n2 ? n2.then((t3) => {
1837
1821
  const o3 = t3.formFields;
1838
- t3.subFormFields, El().commit("wfEditor/setFormCode", e2), El().commit("wfEditor/setTableCode", t3.tableCode), El().commit("wfEditor/setFormFields", o3), El().commit("wfEditor/setFormFieldsWithSub", o3);
1822
+ t3.subFormFields, fl().commit("wfEditor/setFormCode", e2), fl().commit("wfEditor/setTableCode", t3.tableCode), fl().commit("wfEditor/setFormFields", o3), fl().commit("wfEditor/setFormFieldsWithSub", o3);
1839
1823
  const l3 = t3.subtableConditionMap;
1840
- El().commit("wfEditor/setSubtableConditionMap", l3);
1824
+ fl().commit("wfEditor/setSubtableConditionMap", l3);
1841
1825
  const i3 = t3.systemPropSettingList;
1842
- El().commit("wfEditor/setPropSettingKeyList", i3), r2(t3);
1826
+ fl().commit("wfEditor/setPropSettingKeyList", i3), r2(t3);
1843
1827
  }) : r2({});
1844
- }), fetchSubprocessFormFields: (e2, t2) => Sl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields-with-processes?processCode=" + e2 + "&processVersion=" + t2) };
1845
- const Dl = D({ name: "BasicProperties", components: { i18nInput: eo }, props: { model: { type: Object, default: null }, name: { type: String, default: null }, code: { type: String, default: null } }, data() {
1846
- return { formModel: { name: this.name, code: this.code, model: this.model }, allForms: [], allProcessTypes: [], allSystems: [], allBranches: [], nameError: null, codeError: null, systemError: null, adminError: null, formError: null, requiredRule: { required: true, message: f().t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }, isSelectAdmin: false, selectedForm: [], systemPublishVersion: null, sysCode: null, systems: [], isShowFormAndSystem: true, tableName: null };
1828
+ }), fetchSubprocessFormFields: (e2, t2) => wl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields-with-processes?processCode=" + e2 + "&processVersion=" + t2) };
1829
+ const Cl = $({ name: "BasicProperties", components: { i18nInput: Ht }, props: { model: { type: Object, default: null }, name: { type: String, default: null }, code: { type: String, default: null } }, data() {
1830
+ return { formModel: { name: this.name, code: this.code, model: this.model }, allForms: [], allProcessTypes: [], allSystems: [], allBranches: [], nameError: null, codeError: null, systemError: null, adminError: null, formError: null, requiredRule: { required: true, message: w().t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }, isSelectAdmin: false, selectedForm: [], systemPublishVersion: null, sysCode: null, systems: [], isShowFormAndSystem: true, tableName: null };
1847
1831
  }, computed: { ...t.mapGetters("wfEditor", ["systemVersion", "systemCode", "tableCode", "isCreateDefinition", "isHandleCreate"]) }, created() {
1848
1832
  this.getAdminNameWhenUpdate(), this.listAllProcessTypes(), this.listAllSystems(), this.listAllBranches(), this.model.creator || (this.model.creator = o.getUsername()), this.setProcessCode(this.formModel.code), this.model.systemCode ? this.setSystemCode(this.model.systemCode) : this.model.systemCode = this.systemCode, this.systemPublishVersion = parseInt(o.authApi.getSessionCache("wf_editor_systemVersion")), this.changeSystem(this.systemCode, this.systemPublishVersion), this.listAllForms(this.systemCode, this.systemPublishVersion), this.tableName = this.tableCode, this.isCreateDefinition, this.isHandleCreate, this.isHandleCreate && "true" === this.isHandleCreate || this.isCreateDefinition && "true" === this.isCreateDefinition ? this.isShowFormAndSystem = true : this.isShowFormAndSystem = false;
1849
1833
  }, mounted() {
@@ -1858,7 +1842,7 @@
1858
1842
  });
1859
1843
  }, methods: { ...t.mapMutations("wfEditor", ["setFormFields", "setSystemCode", "setSystemVersion", "setProcessCode"]), handleChange(e2) {
1860
1844
  const t2 = e2[1];
1861
- this.model.formCode = t2.substring(t2.indexOf("/") + 1, t2.lastIndexOf("/")), this.model.formVersion = t2.substring(t2.lastIndexOf("/") + 1), Ml.fetchFormFields(this.model.formCode, this.model.formVersion, null, this.systemPublishVersion).then((e3) => {
1845
+ this.model.formCode = t2.substring(t2.indexOf("/") + 1, t2.lastIndexOf("/")), this.model.formVersion = t2.substring(t2.lastIndexOf("/") + 1), gl.fetchFormFields(this.model.formCode, this.model.formVersion, null, this.systemPublishVersion).then((e3) => {
1862
1846
  this.tableName = e3.tableCode;
1863
1847
  });
1864
1848
  }, selectAdmin() {
@@ -1920,10 +1904,10 @@
1920
1904
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("department-user-tree"), u2 = r.resolveComponent("el-option"), p2 = r.resolveComponent("el-select"), h2 = r.resolveComponent("el-cascader"), f2 = r.resolveComponent("el-row"), w2 = r.resolveComponent("el-form");
1921
1905
  return r.openBlock(), r.createBlock(w2, { model: i2.formModel, "label-width": "100px" }, { default: r.withCtx(() => [r.createVNode(f2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.processName"), prop: "name", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), modelModifiers: { trim: true }, "i18n-key": o2.model.i18nKey ? o2.model.i18nKey : "processName", onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.processCode"), prop: "code", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.code, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.code = e3), modelModifiers: { trim: true } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.processAdministrator"), rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.adminName, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.adminName = e3), readonly: "", "suffix-icon": "el-icon-search", onClick: n2.selectAdmin }, null, 8, ["modelValue", "onClick"]), i2.isSelectAdmin ? (r.openBlock(), r.createBlock(m2, { key: 0, width: "30%", multiple: false, onClose: n2.addAdmin }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.creater") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.creator, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.creator = e3), readonly: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), i2.isShowFormAndSystem ? (r.openBlock(), r.createBlock(d2, { key: 0, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.system"), prop: "model.systemCode", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.systemCode, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => o2.model.systemCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onChange: t2[5] || (t2[5] = (e3) => n2.changeSystem(o2.model.systemCode, null)) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.allSystems, (e3) => (r.openBlock(), r.createBlock(u2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : r.createCommentVNode("", true), i2.isShowFormAndSystem ? (r.openBlock(), r.createBlock(d2, { key: 1, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.systemVersion"), rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.systemPublishVersion, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.systemPublishVersion = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onChange: n2.changeVersion }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.systems, (e3) => (r.openBlock(), r.createBlock(u2, { key: e3.publishVersion, label: e3.publishVersion, value: e3.publishVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder", "onChange"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : r.createCommentVNode("", true), i2.isShowFormAndSystem ? (r.openBlock(), r.createBlock(d2, { key: 2, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.correspondingForm"), rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.selectedForm, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.selectedForm = e3), "show-all-levels": false, options: i2.allForms, onChange: n2.handleChange }, null, 8, ["modelValue", "options", "onChange"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.tableCode") }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(i2.tableName), 1)]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.processType") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.processTypeCode, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => o2.model.processTypeCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect") }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.allProcessTypes, (e3) => (r.openBlock(), r.createBlock(u2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.affiliatedBranch") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.branchCode, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => o2.model.branchCode = e3), clearable: "", placeholder: e2.$t("workflowEditorMessage.pleaseSelect") }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.allBranches, (e3, t3) => (r.openBlock(), r.createBlock(u2, { key: e3.code + "-" + t3, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.process.customCategory") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.customType, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => o2.model.customType = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1922
1906
  }]]);
1923
- const $l = D({ name: "PermissionSettings", components: { UserSelection: el }, props: { modelValue: { type: Object, default: null } }, data: () => ({ showNotice: false }) }, [["render", function(e2, t2, o2, l2, i2, n2) {
1907
+ const kl = $({ name: "PermissionSettings", components: { UserSelection: Ho }, props: { modelValue: { type: Object, default: null } }, data: () => ({ showNotice: false }) }, [["render", function(e2, t2, o2, l2, i2, n2) {
1924
1908
  const a2 = r.resolveComponent("user-selection"), s2 = r.resolveComponent("el-form");
1925
1909
  return r.openBlock(), r.createBlock(s2, { model: o2.modelValue, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.modelValue.viewFlowHistory, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.modelValue.viewFlowHistory = e3), label: e2.$t("workflowEditor.process.ViewFlowHistoryPersonnel"), "label-width": "130px" }, null, 8, ["modelValue", "label"]), r.createVNode(a2, { modelValue: o2.modelValue.viewSubscribeResult, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => o2.modelValue.viewSubscribeResult = e3), label: e2.$t("workflowEditor.process.ViewCountersignatureResultPersonnel"), "label-width": "130px" }, null, 8, ["modelValue", "label"]), r.createVNode(a2, { modelValue: o2.modelValue.viewVoteResult, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.modelValue.viewVoteResult = e3), label: e2.$t("workflowEditor.process.ViewVotingResultsBy"), "label-width": "130px" }, null, 8, ["modelValue", "label"])]), _: 1 }, 8, ["model"]);
1926
- }]]), Fl = { props: { pageFormCode: { type: String, default: null } }, data: () => ({ baseURL: "", listURL: "", selection: [], dialogVisible: true }), computed: { ...t.mapGetters("wfEditor", ["systemVersion"]) }, watch: { conditionList: { handler(e2, t2) {
1910
+ }]]), bl = { props: { pageFormCode: { type: String, default: null } }, data: () => ({ baseURL: "", listURL: "", selection: [], dialogVisible: true }), computed: { ...t.mapGetters("wfEditor", ["systemVersion"]) }, watch: { conditionList: { handler(e2, t2) {
1927
1911
  this.judgeHeavyData = e2;
1928
1912
  } } }, created() {
1929
1913
  this.baseURL = window.$vueApp.config.globalProperties.baseURL, this.pageFormCode && (this.listURL = "/wf-editor/workflow-editors/modulePages/" + this.pageFormCode + "/" + parseInt(o.authApi.getSessionCache("wf_editor_systemVersion")));
@@ -1939,10 +1923,10 @@
1939
1923
  this.$emit("setPage", "");
1940
1924
  }, select(e2, t2) {
1941
1925
  this.selection = e2;
1942
- } } }, Pl = { style: { "overflow-y": "auto", "max-height": "500px" } }, Bl = { class: "operation-area" };
1943
- const Ol = D({ name: "ParameterSettings", components: { selectPage: D(Fl, [["render", function(e2, t2, o2, l2, i2, n2) {
1926
+ } } }, Vl = { style: { "overflow-y": "auto", "max-height": "500px" } }, yl = { class: "operation-area" };
1927
+ const vl = $({ name: "ParameterSettings", components: { selectPage: $(bl, [["render", function(e2, t2, o2, l2, i2, n2) {
1944
1928
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("super-grid"), d2 = r.resolveComponent("el-dialog");
1945
- return r.openBlock(), r.createBlock(d2, { "show-close": true, "append-to-body": true, title: e2.$t("workflowEditorPublicModel.selectPage"), width: "60%", "model-value": "", onClose: n2.savePage }, { default: r.withCtx(() => [r.createElementVNode("div", Pl, [r.createElementVNode("div", Bl, [r.createVNode(a2, { size: "small", onClick: n2.savePage }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditorPublicModel.close")), 1)]), _: 1 }, 8, ["onClick"])]), r.createElementVNode("div", null, [r.createVNode(s2, { ref: "grid", url: i2.baseURL + i2.listURL, code: "MMS_MODULE_PAGE", onSelect: n2.select }, null, 8, ["url", "onSelect"])])])]), _: 1 }, 8, ["title", "onClose"]);
1929
+ return r.openBlock(), r.createBlock(d2, { "show-close": true, "append-to-body": true, title: e2.$t("workflowEditorPublicModel.selectPage"), width: "60%", "model-value": "", onClose: n2.savePage }, { default: r.withCtx(() => [r.createElementVNode("div", Vl, [r.createElementVNode("div", yl, [r.createVNode(a2, { size: "small", onClick: n2.savePage }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditorPublicModel.close")), 1)]), _: 1 }, 8, ["onClick"])]), r.createElementVNode("div", null, [r.createVNode(s2, { ref: "grid", url: i2.baseURL + i2.listURL, code: "MMS_MODULE_PAGE", onSelect: n2.select }, null, 8, ["url", "onSelect"])])])]), _: 1 }, 8, ["title", "onClose"]);
1946
1930
  }]]) }, props: { model: { type: Object, default: null } }, data: () => ({ selectPageFlag: false, pageFormCode: null }), computed: { ...t.mapGetters("wfEditor", ["formCode", "pageCode"]) }, created() {
1947
1931
  this.pageCode && (this.model.doTask.url = "page:" + this.pageCode);
1948
1932
  }, methods: { openSelectPage() {
@@ -1953,7 +1937,7 @@
1953
1937
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-card"), c2 = r.resolveComponent("select-page"), m2 = r.resolveComponent("el-form");
1954
1938
  return r.openBlock(), r.createBlock(m2, { model: o2.model, "label-width": "150px" }, { default: r.withCtx(() => [r.createVNode(d2, null, { header: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.process.processTaskParameterSettings")), 1)]), default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.uRLForProcessingTask") }, { default: r.withCtx(() => [e2.pageCode ? (r.openBlock(), r.createBlock(a2, { key: 0, disabled: "", modelValue: o2.model.doTask.url, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.model.doTask.url = e3) }, null, 8, ["modelValue"])) : (r.openBlock(), r.createBlock(a2, { key: 1, modelValue: o2.model.doTask.url, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.doTask.url = e3) }, { suffix: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-search", onClick: t2[1] || (t2[1] = (...e3) => n2.openSelectPage && n2.openSelectPage(...e3)) })]), _: 1 }, 8, ["modelValue"]))]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parametersForReceivingTaskID") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.doTask.parameterName, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.doTask.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, null, { header: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.process.viewFormParameterSettings")), 1)]), default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.viewTheURLOfTheForm") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.viewForm.url, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => o2.model.viewForm.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parametersOfReceivingEntityID") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.viewForm.parameterName, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => o2.model.viewForm.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, null, { header: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.process.emergencyTreatmentParameterSetting")), 1)]), default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.uRLOfEmergencyHandling") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.handleEmergency.url, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => o2.model.handleEmergency.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parametersOfReceivingEntityID") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.handleEmergency.parameterName, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.model.handleEmergency.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, null, { header: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.process.initiateProcessParameterSettings")), 1)]), default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.uRLOfTheInitiatingProcess") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.startProcess.url, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => o2.model.startProcess.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parametersForReceivingProcessName") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.startProcess.parameterName, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => o2.model.startProcess.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.customParameterValue") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.startProcess.parameterValue, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => o2.model.startProcess.parameterValue = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), i2.selectPageFlag ? (r.openBlock(), r.createBlock(c2, { key: 0, "page-form-code": i2.pageFormCode, onSetPage: n2.setPage }, null, 8, ["page-form-code", "onSetPage"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1955
1939
  }]]);
1956
- const Il = D({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
1940
+ const Tl = $({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
1957
1941
  const e2 = [], t2 = this.modelValue.event;
1958
1942
  if (void 0 !== t2 && t2.length && t2.length > 0) {
1959
1943
  let o2 = [];
@@ -1961,14 +1945,14 @@
1961
1945
  e2.push(t3);
1962
1946
  });
1963
1947
  }
1964
- return { events: [{ name: "START_INSTANCE", label: f().t("workflowEditor.process.initiationProcess") }, { name: "DELETE_INSTANCE", label: f().t("workflowEditor.process.deleteProcess") }, { name: "CANCEL_INSTANCE", label: f().t("workflowEditor.process.cancelProcess") }, { name: "END_INSTANCE", label: f().t("workflowEditor.process.endProcess") }, { name: "STOP_INSTANCE", label: f().t("workflowEditor.process.pauseProcess") }, { name: "RESUME_INSTANCE", label: f().t("workflowEditor.process.continueTheProcess") }, { name: "JUMP_TACHE", label: f().t("workflowEditor.process.jumpLink") }, { name: "CHANGE_TRANSACTOR", label: f().t("workflowEditor.process.modificationHandler") }, { name: "ADD_TRANSACTOR", label: f().t("workflowEditor.process.addHandler") }, { name: "REMOVE_TRANSACTOR", label: f().t("workflowEditor.process.decreaseOofHandler") }, { name: "ASSIGN_TASK", label: f().t("workflowEditor.process.appointedTask") }, { name: "RETURN_TASK", label: f().t("workflowEditor.process.returnTask") }, { name: "WITHDRAW_TASK", label: f().t("workflowEditor.process.retrieveTask") }, { name: "TRUST_TASK", label: f().t("workflowEditor.process.trustTask") }], selectedEvents: e2 };
1948
+ return { events: [{ name: "START_INSTANCE", label: w().t("workflowEditor.process.initiationProcess") }, { name: "DELETE_INSTANCE", label: w().t("workflowEditor.process.deleteProcess") }, { name: "CANCEL_INSTANCE", label: w().t("workflowEditor.process.cancelProcess") }, { name: "END_INSTANCE", label: w().t("workflowEditor.process.endProcess") }, { name: "STOP_INSTANCE", label: w().t("workflowEditor.process.pauseProcess") }, { name: "RESUME_INSTANCE", label: w().t("workflowEditor.process.continueTheProcess") }, { name: "JUMP_TACHE", label: w().t("workflowEditor.process.jumpLink") }, { name: "CHANGE_TRANSACTOR", label: w().t("workflowEditor.process.modificationHandler") }, { name: "ADD_TRANSACTOR", label: w().t("workflowEditor.process.addHandler") }, { name: "REMOVE_TRANSACTOR", label: w().t("workflowEditor.process.decreaseOofHandler") }, { name: "ASSIGN_TASK", label: w().t("workflowEditor.process.appointedTask") }, { name: "RETURN_TASK", label: w().t("workflowEditor.process.returnTask") }, { name: "WITHDRAW_TASK", label: w().t("workflowEditor.process.retrieveTask") }, { name: "TRUST_TASK", label: w().t("workflowEditor.process.trustTask") }], selectedEvents: e2 };
1965
1949
  }, watch: { selectedEvents(e2) {
1966
1950
  this.$emit("update:modelValue", { event: this.selectedEvents });
1967
1951
  } }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
1968
1952
  const a2 = r.resolveComponent("el-checkbox"), s2 = r.resolveComponent("el-card"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-row"), m2 = r.resolveComponent("el-checkbox-group");
1969
1953
  return r.openBlock(), r.createBlock(m2, { modelValue: i2.selectedEvents, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.selectedEvents = e3) }, { default: r.withCtx(() => [r.createVNode(c2, { gutter: 12 }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.events, (e3) => (r.openBlock(), r.createBlock(d2, { key: e3.name, span: 8, style: { "margin-bottom": "12px" } }, { default: r.withCtx(() => [r.createVNode(s2, { shadow: "always" }, { default: r.withCtx(() => [r.createVNode(a2, { label: e3.name }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
1970
- }]]), _l = { key: 0 };
1971
- const Rl = D({ name: "Notice", components: { UserSelection: el, CommonNoticeTool: ul, SelectMailTemplates: oo }, props: { modelValue: { type: [Object, String], default: null }, switchLabel: { type: String, default: "" } }, data() {
1954
+ }]]), Nl = { key: 0 };
1955
+ const xl = $({ name: "Notice", components: { UserSelection: Ho, CommonNoticeTool: el, SelectMailTemplates: zt }, props: { modelValue: { type: [Object, String], default: null }, switchLabel: { type: String, default: "" } }, data() {
1972
1956
  let e2 = false, t2 = { informType: "", userCondition: "", subject: null, content: null };
1973
1957
  return null !== this.modelValue && void 0 !== this.modelValue && "" !== this.modelValue && (t2 = this.modelValue, t2.informType && "" !== t2.informType && (e2 = true)), { showNotice: e2, model: t2, options: { showColumns: "code,name" } };
1974
1958
  }, watch: { showNotice(e2) {
@@ -1988,9 +1972,9 @@
1988
1972
  this.model.customMsg = e2;
1989
1973
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1990
1974
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("common-notice-tool"), c2 = r.resolveComponent("select-mail-templates"), m2 = r.resolveComponent("user-selection"), u2 = r.resolveComponent("el-input"), p2 = r.resolveComponent("el-form");
1991
- return r.openBlock(), r.createBlock(p2, { model: i2.model, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: o2.switchLabel, "label-width": "150" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.showNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.showNotice ? (r.openBlock(), r.createElementBlock("div", _l, [r.createVNode(d2, { modelValue: i2.model.informType, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.informType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.model.customMsg, onInputMsg: n2.setCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.model.informType && i2.model.informType.length > 0 ? (r.openBlock(), r.createBlock(s2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.informType && i2.model.informType.length > 0 && -1 !== i2.model.informType.indexOf("mail") ? (r.openBlock(), r.createBlock(s2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailPointTemplateCode, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.model.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(m2, { modelValue: i2.model.userCondition, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.model.userCondition = e3), label: e2.$t("workflowEditor.common.addressee") }, null, 8, ["modelValue", "label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.common.theme") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.model.subject, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.model.subject = e3), placeholder: e2.$t("workflowEditorMessage.pleaseEnterASubject") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.common.content") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.model.content, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.model.content = e3), type: "textarea", autosize: { minRows: 4, maxRows: 10 }, placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1975
+ return r.openBlock(), r.createBlock(p2, { model: i2.model, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: o2.switchLabel, "label-width": "150" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.showNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.showNotice ? (r.openBlock(), r.createElementBlock("div", Nl, [r.createVNode(d2, { modelValue: i2.model.informType, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.informType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.model.customMsg, onInputMsg: n2.setCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.model.informType && i2.model.informType.length > 0 ? (r.openBlock(), r.createBlock(s2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.informType && i2.model.informType.length > 0 && -1 !== i2.model.informType.indexOf("mail") ? (r.openBlock(), r.createBlock(s2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailPointTemplateCode, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.model.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(m2, { modelValue: i2.model.userCondition, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.model.userCondition = e3), label: e2.$t("workflowEditor.common.addressee") }, null, 8, ["modelValue", "label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.common.theme") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.model.subject, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.model.subject = e3), placeholder: e2.$t("workflowEditorMessage.pleaseEnterASubject") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.common.content") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.model.content, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.model.content = e3), type: "textarea", autosize: { minRows: 4, maxRows: 10 }, placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1992
1976
  }]]);
1993
- const Al = D({ name: "ProcessPropertiesEditor", components: { BasicProperties: Dl, PermissionSettings: $l, ParameterSettings: Ol, Events: Il, Variables: dl, NoticeSettings: D({ name: "NoticeSettings", components: { Notice: Rl, SelectMailTemplates: oo }, props: { modelValue: { type: [Object, String], default: null } }, data() {
1977
+ const El = $({ name: "ProcessPropertiesEditor", components: { BasicProperties: Cl, PermissionSettings: kl, ParameterSettings: vl, Events: Tl, Variables: Yo, NoticeSettings: $({ name: "NoticeSettings", components: { Notice: xl, SelectMailTemplates: zt }, props: { modelValue: { type: [Object, String], default: null } }, data() {
1994
1978
  let e2 = { informType: "", userCondition: "", subject: null, content: null, defaultMailTemplateCode: "" };
1995
1979
  return null !== this.modelValue && void 0 !== this.modelValue && "" !== this.modelValue && (e2 = this.modelValue), { showMailTemplateFlag: false, model: e2 };
1996
1980
  }, created() {
@@ -2007,7 +1991,7 @@
2007
1991
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2008
1992
  const a2 = r.resolveComponent("notice"), s2 = r.resolveComponent("select-mail-templates"), d2 = r.resolveComponent("el-form-item"), c2 = r.resolveComponent("el-form");
2009
1993
  return i2.model ? (r.openBlock(), r.createBlock(c2, { key: 0, model: i2.model, "label-width": "100px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.model, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.model = e3), "switch-label": e2.$t("workflowEditor.process.sendNotificationAfterProcessEnds") }, null, 8, ["modelValue", "switch-label"]), i2.model.informType && i2.model.informType.length > 0 ? (r.openBlock(), r.createBlock(d2, { key: 0, label: e2.$t("workflowEditor.process.defaultCommonTemplate") }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.model.defaultMailTemplateCode, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.defaultMailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.informType && i2.model.informType.length > 0 && -1 !== i2.model.informType.indexOf("mail") ? (r.openBlock(), r.createBlock(d2, { key: 1, label: e2.$t("workflowEditor.process.defaultMailTemplate") }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.model.defaultMailPointTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.defaultMailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"])) : r.createCommentVNode("", true);
2010
- }]]), NoticeReminder: Nl }, props: { model: { type: Object, default: null } }, data() {
1994
+ }]]), NoticeReminder: pl }, props: { model: { type: Object, default: null } }, data() {
2011
1995
  return void 0 === this.model.properties.taskNotice && (this.model.properties.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
2012
1996
  }, computed: { basicProperties() {
2013
1997
  return this.model.properties.basicProperties;
@@ -2022,16 +2006,16 @@
2022
2006
  }, variables() {
2023
2007
  return this.model.properties.variables;
2024
2008
  } }, methods: { toXml() {
2025
- i.js2xml({ basicProperties: this.basicProperties }, { compact: true, ignoreComment: true, spaces: 4 });
2009
+ n.js2xml({ basicProperties: this.basicProperties }, { compact: true, ignoreComment: true, spaces: 4 });
2026
2010
  }, handleClick(e2, t2) {
2027
2011
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2028
2012
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("permission-settings"), c2 = r.resolveComponent("notice-settings"), m2 = r.resolveComponent("notice-reminder"), u2 = r.resolveComponent("parameter-settings"), p2 = r.resolveComponent("events"), h2 = r.resolveComponent("variables"), f2 = r.resolveComponent("el-tabs"), w2 = r.resolveComponent("el-dialog");
2029
2013
  return r.openBlock(), r.createBlock(w2, { "model-value": "", title: e2.$t("workflowEditor.process.processProperties"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[7] || (t2[7] = (t3) => e2.$emit("open")), onOpend: t2[8] || (t2[8] = (t3) => e2.$emit("opend")), onClose: t2[9] || (t2[9] = (t3) => e2.$emit("close")), onClosed: t2[10] || (t2[10] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { name: o2.model.attr.name, "onUpdate:name": t2[0] || (t2[0] = (e3) => o2.model.attr.name = e3), code: o2.model.attr.code, "onUpdate:code": t2[1] || (t2[1] = (e3) => o2.model.attr.code = e3), model: o2.model.properties.basicProperties }, null, 8, ["name", "code", "model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.permissionSettings"), name: "permissions" }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: o2.model.properties.permissionSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.properties.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.notificationSettings"), name: "inform" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.properties.inform, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.properties.inform = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.reminderSettings"), name: "reminders" }, { default: r.withCtx(() => [r.createVNode(m2, { "reminder-value": o2.model.properties.reminder, "onUpdate:reminderValue": t2[4] || (t2[4] = (e3) => o2.model.properties.reminder = e3), "task-notice-value": o2.model.properties.taskNotice, isProcess: true }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parameterSsetting"), name: "parameterSettings" }, { default: r.withCtx(() => [r.createVNode(u2, { model: o2.model.properties.parameterSettings }, null, 8, ["model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.event"), name: "events" }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.properties.events, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => o2.model.properties.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.processVariables"), name: "variables" }, { default: r.withCtx(() => [r.createVNode(h2, { model: o2.model.properties.variables }, null, 8, ["model"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
2030
2014
  }]]);
2031
- const Ul = D({ name: "DecisionPropertiesEditor", components: { i18nInput: eo }, props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2015
+ const Sl = $({ name: "DecisionPropertiesEditor", components: { i18nInput: Ht }, props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2032
2016
  return this.model.ref;
2033
2017
  }, transitions() {
2034
- const e2 = v(this.formModel.attr.id), t2 = [];
2018
+ const e2 = T(this.formModel.attr.id), t2 = [];
2035
2019
  return e2.map((e3) => {
2036
2020
  t2.push({ to: e3.ref.attr.to, condition: e3.ref.basicProperties.condition });
2037
2021
  }), t2;
@@ -2045,7 +2029,7 @@
2045
2029
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-table"), m2 = r.resolveComponent("el-form"), u2 = r.resolveComponent("el-dialog");
2046
2030
  return r.openBlock(), r.createBlock(u2, { "model-value": "", title: e2.$t("workflowEditor.task.attributeOfConditionJudgment"), center: true, "append-to-body": "", onOpen: t2[1] || (t2[1] = (t3) => e2.$emit("open")), onOpend: t2[2] || (t2[2] = (t3) => e2.$emit("opend")), onClose: t2[3] || (t2[3] = (t3) => e2.$emit("close")), onClosed: t2[4] || (t2[4] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: n2.formModel.attr.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.formModel.attr.name = e3), modelModifiers: { trim: true }, "i18n-key": n2.formModel.basicProperties && n2.formModel.basicProperties.i18nKey ? n2.formModel.basicProperties.i18nKey : "name." + n2.formModel.attr.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.task.allBranchFlows")), 1), r.createVNode(c2, { border: "", data: n2.transitions, style: { width: "100%" } }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "to", label: e2.$t("workflowEditor.task.targetLink") }, null, 8, ["label"]), r.createVNode(d2, { prop: "condition", label: e2.$t("workflowEditor.task.condition") }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["title"]);
2047
2031
  }]]);
2048
- const Ll = D({ name: "TransitionPropertiesEditor", components: { Notice: Rl, AutoFilledFields: sl, BasicProperties: D({ name: "BasicProperties", components: { AdditionalCondition: Jt, i18nInput: eo }, props: { model: { type: Object, default: null }, sourceTacheType: { type: String, default: null }, id: { type: String, default: null } }, created() {
2032
+ const Ml = $({ name: "TransitionPropertiesEditor", components: { Notice: xl, AutoFilledFields: Xo, BasicProperties: $({ name: "BasicProperties", components: { AdditionalCondition: Bt, i18nInput: Ht }, props: { model: { type: Object, default: null }, sourceTacheType: { type: String, default: null }, id: { type: String, default: null } }, created() {
2049
2033
  }, methods: { setI18nValue(e2) {
2050
2034
  this.model.i18nKey = e2;
2051
2035
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
@@ -2059,10 +2043,10 @@
2059
2043
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("notice"), c2 = r.resolveComponent("auto-filled-fields"), m2 = r.resolveComponent("el-switch"), u2 = r.resolveComponent("el-form-item"), p2 = r.resolveComponent("el-input"), h2 = r.resolveComponent("el-form"), f2 = r.resolveComponent("el-tabs"), w2 = r.resolveComponent("el-dialog");
2060
2044
  return r.openBlock(), r.createBlock(w2, { "model-value": "", title: e2.$t("workflowEditor.transition.flowProperties"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (t3) => e2.$emit("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.activeTab = e3), type: "border-card" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.transition.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, model: o2.model.ref.basicProperties, "source-tache-type": o2.model.startJoint.parent.type }, null, 8, ["id", "model", "source-tache-type"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.transition.notificationSettings"), name: "inform" }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: o2.model.ref.inform, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.model.ref.inform = e3), "switch-label": e2.$t("workflowEditor.transition.sendNotificationAfterFlow") }, null, 8, ["modelValue", "switch-label"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.transition.autoFillInFieldSettings"), name: "autoFilledFields" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.ref.autoFilledFields, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => o2.model.ref.autoFilledFields = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.transition.eventProcessing"), name: "events" }, { default: r.withCtx(() => [r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.transition.triggerFlowThroughEvent") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: o2.model.ref.onTransit, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.onTransit = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.transition.beanName") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.ref.beanName, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.beanName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["title"]);
2061
2045
  }], ["__scopeId", "data-v-0e44fe8c"]]);
2062
- const Hl = D({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2046
+ const Dl = $({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2063
2047
  return this.model.ref;
2064
2048
  }, transitions() {
2065
- const e2 = v(this.formModel.attr.id), t2 = [];
2049
+ const e2 = T(this.formModel.attr.id), t2 = [];
2066
2050
  return e2.map((e3) => {
2067
2051
  t2.push({ to: e3.endJoint.parent.name });
2068
2052
  }), t2;
@@ -2074,7 +2058,7 @@
2074
2058
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-table"), m2 = r.resolveComponent("el-form"), u2 = r.resolveComponent("el-dialog");
2075
2059
  return r.openBlock(), r.createBlock(u2, { "model-value": "", title: e2.$t("workflowEditor.task.propertiesOfBranches"), center: true, "append-to-body": "", onOpen: t2[1] || (t2[1] = (t3) => e2.$emit("open")), onOpend: t2[2] || (t2[2] = (t3) => e2.$emit("opend")), onClose: t2[3] || (t2[3] = (t3) => e2.$emit("close")), onClosed: t2[4] || (t2[4] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: n2.formModel.attr.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.formModel.attr.name = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.task.allBranchFlows")), 1), r.createVNode(c2, { border: "", data: n2.transitions, style: { width: "100%" } }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "to", label: e2.$t("workflowEditor.task.targetLink") }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["title"]);
2076
2060
  }]]);
2077
- const zl = D({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2061
+ const $l = $({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2078
2062
  return this.model.ref;
2079
2063
  } }, mounted() {
2080
2064
  this.$watch("model.ref.attr.name", function(e2) {
@@ -2084,7 +2068,7 @@
2084
2068
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-form"), c2 = r.resolveComponent("el-dialog");
2085
2069
  return r.openBlock(), r.createBlock(c2, { "model-value": "", title: e2.$t("workflowEditor.task.convergedProperties"), center: true, "append-to-body": "", onOpen: t2[1] || (t2[1] = (t3) => e2.$emit("open")), onOpend: t2[2] || (t2[2] = (t3) => e2.$emit("opend")), onClose: t2[3] || (t2[3] = (t3) => e2.$emit("close")), onClosed: t2[4] || (t2[4] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: n2.formModel.attr.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.formModel.attr.name = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["title"]);
2086
2070
  }]]);
2087
- const Wl = D({ name: "HumanDecisionPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2071
+ const Fl = $({ name: "HumanDecisionPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2088
2072
  return this.model.ref;
2089
2073
  } }, mounted() {
2090
2074
  this.$watch("model.ref.attr.name", function(e2) {
@@ -2094,7 +2078,7 @@
2094
2078
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-form"), c2 = r.resolveComponent("el-dialog");
2095
2079
  return r.openBlock(), r.createBlock(c2, { "model-value": "", title: e2.$t("workflowEditor.task.attributesOfManualJudgment"), center: true, "append-to-body": "", onOpen: t2[1] || (t2[1] = (t3) => e2.$emit("open")), onOpend: t2[2] || (t2[2] = (t3) => e2.$emit("opend")), onClose: t2[3] || (t2[3] = (t3) => e2.$emit("close")), onClosed: t2[4] || (t2[4] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: n2.formModel.attr.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.formModel.attr.name = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["title"]);
2096
2080
  }]]);
2097
- const jl = D({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: D({ name: "BasicProperties", components: { TaskTitle: ht, i18nInput: eo }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2081
+ const Pl = $({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: $({ name: "BasicProperties", components: { TaskTitle: ft, i18nInput: Ht }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2098
2082
  return { formModel: { name: this.name, id: this.id, tache: this.model } };
2099
2083
  }, computed: { tache() {
2100
2084
  return this.model;
@@ -2103,14 +2087,14 @@
2103
2087
  this.$emit("update:name", e2);
2104
2088
  });
2105
2089
  }, methods: { validateId() {
2106
- E(this);
2090
+ S(this);
2107
2091
  }, setI18nValue(e2) {
2108
2092
  this.tache.i18nKey = e2;
2109
2093
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2110
2094
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("task-title"), p2 = r.resolveComponent("el-switch"), h2 = r.resolveComponent("el-form");
2111
2095
  return r.openBlock(), r.createBlock(h2, { model: i2.formModel, "label-width": "110px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), "i18n-key": n2.tache.i18nKey ? n2.tache.i18nKey : "name." + i2.formModel.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.code") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.id = e3), onBlur: n2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: n2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => n2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.emailNotification") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.mailNotice, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => n2.tache.mailNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.handlingPage") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.taskUrl, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => n2.tache.taskUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.remarks") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.remark, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => n2.tache.remark = e3), type: "textarea", autosize: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
2112
- }], ["__scopeId", "data-v-c1c7385b"]]), TransactorSettings: nl, PermissionSettings: D({ name: "PermissionSettings", components: { AdditionalCondition: Jt }, props: { modelValue: { type: Object, default: null } }, data() {
2113
- const e2 = N(this.modelValue), t2 = ["viewOpinion", "viewMeetingResult", "viewVoteResult", "viewFlowHistory", "printForm"];
2096
+ }], ["__scopeId", "data-v-c1c7385b"]]), TransactorSettings: qo, PermissionSettings: $({ name: "PermissionSettings", components: { AdditionalCondition: Bt }, props: { modelValue: { type: Object, default: null } }, data() {
2097
+ const e2 = x(this.modelValue), t2 = ["viewOpinion", "viewMeetingResult", "viewVoteResult", "viewFlowHistory", "printForm"];
2114
2098
  t2.forEach((t3) => {
2115
2099
  e2[t3 + "Checkbox"] = !!this.modelValue[t3].condition;
2116
2100
  });
@@ -2130,7 +2114,7 @@
2130
2114
  }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
2131
2115
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-checkbox"), d2 = r.resolveComponent("additional-condition"), c2 = r.resolveComponent("el-form-item"), m2 = r.resolveComponent("el-card"), u2 = r.resolveComponent("el-form");
2132
2116
  return r.openBlock(), r.createBlock(u2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowViews") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewOpinion.permission, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.viewOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewOpinion.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.viewOpinionCheckbox, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.viewOpinionCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.viewOpinion.permission && i2.formModel.viewOpinionCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.viewOpinion.condition, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.viewOpinion.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowToViewCountersignatureResults") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewMeetingResult.permission, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.viewMeetingResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewMeetingResult.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.viewMeetingResultCheckbox, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.viewMeetingResultCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.viewMeetingResult.permission && i2.formModel.viewMeetingResultCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.viewMeetingResult.condition, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.viewMeetingResult.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowToViewVotingResults") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewVoteResult.permission, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.viewVoteResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewVoteResult.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.viewVoteResultCheckbox, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.viewVoteResultCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.viewVoteResult.permission && i2.formModel.viewVoteResultCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.viewVoteResult.condition, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.formModel.viewVoteResult.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowToViewFlowHistory") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewFlowHistory.permission, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.formModel.viewFlowHistory.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewFlowHistory.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.viewFlowHistoryCheckbox, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.formModel.viewFlowHistoryCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.viewFlowHistory.permission && i2.formModel.viewFlowHistoryCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.viewFlowHistory.condition, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.formModel.viewFlowHistory.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowFormsToPrint") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.printForm.permission, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.formModel.printForm.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.printForm.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.printFormCheckbox, "onUpdate:modelValue": t2[13] || (t2[13] = (e3) => i2.formModel.printFormCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.printForm.permission && i2.formModel.printFormCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.printForm.condition, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => i2.formModel.printForm.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.attachmentAuthority") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.permission, "onUpdate:modelValue": t2[15] || (t2[15] = (e3) => i2.formModel.attachment.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.attachment.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, class: "box-card" }, { default: r.withCtx(() => [r.createVNode(c2, { label: e2.$t("workflowEditor.task.downloadAttachment") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.download.permission, "onUpdate:modelValue": t2[16] || (t2[16] = (e3) => i2.formModel.attachment.download.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.download.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.attachment.downloadCheckbox, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => i2.formModel.attachment.downloadCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.attachment.download.permission && i2.formModel.attachment.downloadCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.attachment.download.condition, "onUpdate:modelValue": t2[18] || (t2[18] = (e3) => i2.formModel.attachment.download.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(c2, { label: e2.$t("workflowEditor.task.bodyPermission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.officialText.permission, "onUpdate:modelValue": t2[19] || (t2[19] = (e3) => i2.formModel.officialText.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
2133
- }], ["__scopeId", "data-v-5fb29fef"]]), NoticeReminder: Nl, Events: ml }, props: { model: { type: Object, default: null } }, data() {
2117
+ }], ["__scopeId", "data-v-5fb29fef"]]), NoticeReminder: pl, Events: Zo }, props: { model: { type: Object, default: null } }, data() {
2134
2118
  return this.model, this.model.ref.taskNotice || (this.model.ref.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
2135
2119
  }, computed: { formModel() {
2136
2120
  return this.model.ref;
@@ -2145,7 +2129,7 @@
2145
2129
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("transactor-settings"), c2 = r.resolveComponent("notice-reminder"), m2 = r.resolveComponent("events"), u2 = r.resolveComponent("permission-settings"), p2 = r.resolveComponent("el-tabs"), h2 = r.resolveComponent("el-dialog");
2146
2130
  return r.openBlock(), r.createBlock(h2, { "model-value": "", title: e2.$t("workflowEditor.task.propertiesOfCCTask"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (t3) => e2.$emit("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref.basicProperties }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.settingOfHandler"), name: "transactors" }, { default: r.withCtx(() => [r.createVNode(d2, { model: o2.model.ref.transactorSettings, "used-in": "CopyTask" }, null, 8, ["model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.reminderSettings"), name: "reminders" }, { default: r.withCtx(() => [r.createVNode(c2, { "reminder-value": o2.model.ref.reminder, "task-notice-value": o2.model.ref.taskNotice }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.eventProcessing"), name: "events" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.permissionSettings"), name: "permissions" }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: o2.model.ref.permissionSettings, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
2147
2131
  }], ["__scopeId", "data-v-af76d417"]]);
2148
- const Jl = D({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: D({ name: "BasicProperties", components: { TaskTitle: ht, i18nInput: eo }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2132
+ const Bl = $({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: $({ name: "BasicProperties", components: { TaskTitle: ft, i18nInput: Ht }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2149
2133
  return { formModel: { name: this.name, id: this.id, tache: this.model } };
2150
2134
  }, computed: { tache() {
2151
2135
  return this.model;
@@ -2154,7 +2138,7 @@
2154
2138
  this.$emit("update:name", e2);
2155
2139
  });
2156
2140
  }, methods: { validateId() {
2157
- E(this);
2141
+ S(this);
2158
2142
  }, setI18nValue(e2) {
2159
2143
  this.tache.i18nKey = e2;
2160
2144
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
@@ -2174,8 +2158,8 @@
2174
2158
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2175
2159
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("el-tabs"), c2 = r.resolveComponent("el-dialog");
2176
2160
  return r.openBlock(), r.createBlock(c2, { "model-value": "", title: e2.$t("workflowEditor.task.propertiesOfAutoTask"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[3] || (t2[3] = (t3) => e2.$emit("open")), onOpend: t2[4] || (t2[4] = (t3) => e2.$emit("opend")), onClose: t2[5] || (t2[5] = (t3) => e2.$emit("close")), onClosed: t2[6] || (t2[6] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref.basicProperties }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
2177
- }], ["__scopeId", "data-v-adb7c2ff"]]), Gl = { style: { width: "100%" } }, ql = { key: 0, style: { "margin-right": "12px" } };
2178
- const Kl = D({ name: "BasicProperties", components: { FieldMappings: D({ name: "FieldMappings", components: { FormFields: mt }, props: { modelValue: { type: Object, default: null }, srcLabel: { type: String, default: null }, targetLabel: { type: String, default: null }, srcFields: { type: Array, default: null }, targetFields: { type: Array, default: null }, labelTittle: { type: String, default: null } }, data() {
2161
+ }], ["__scopeId", "data-v-adb7c2ff"]]), Ol = { style: { width: "100%" } }, Il = { key: 0, style: { "margin-right": "12px" } };
2162
+ const _l = $({ name: "BasicProperties", components: { FieldMappings: $({ name: "FieldMappings", components: { FormFields: ut }, props: { modelValue: { type: Object, default: null }, srcLabel: { type: String, default: null }, targetLabel: { type: String, default: null }, srcFields: { type: Array, default: null }, targetFields: { type: Array, default: null }, labelTittle: { type: String, default: null } }, data() {
2179
2163
  let e2 = [];
2180
2164
  return void 0 !== this.modelValue.field && (Array.isArray(this.modelValue.field) ? e2 = this.modelValue.field : e2.push(this.modelValue.field)), { tableData: e2, currentRow: null, showSourceFields: false, showTargetFields: false };
2181
2165
  }, computed: { formFields() {
@@ -2189,9 +2173,9 @@
2189
2173
  const t2 = (this.srcFields || this.targetFields).filter((t3) => t3.name === e2);
2190
2174
  return t2.length > 0 ? t2[0].label : e2;
2191
2175
  }, showSourceFieldLabel(e2) {
2192
- return this.srcFields ? this.getSubFormFieldLabel(e2) : ut(e2);
2176
+ return this.srcFields ? this.getSubFormFieldLabel(e2) : pt(e2);
2193
2177
  }, showTargetFieldLabel(e2) {
2194
- return this.targetFields ? this.getSubFormFieldLabel(e2) : ut(e2);
2178
+ return this.targetFields ? this.getSubFormFieldLabel(e2) : pt(e2);
2195
2179
  }, add() {
2196
2180
  for (let e3 = 0; e3 < this.tableData.length; e3++)
2197
2181
  if ("" === this.tableData[e3].source || "" === this.tableData[e3].target)
@@ -2220,8 +2204,8 @@
2220
2204
  this.showSourceFields && (this.currentRow.source = e2, this.showSourceFields = false), this.showTargetFields && (this.currentRow.target = e2, this.showTargetFields = false), this.tableData, this.srcFields, this.targetFields;
2221
2205
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2222
2206
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-table"), u2 = r.resolveComponent("form-fields");
2223
- return r.openBlock(), r.createElementBlock("div", Gl, [r.createVNode(s2, { style: { "align-items": "center" } }, { default: r.withCtx(() => [o2.labelTittle ? (r.openBlock(), r.createElementBlock("span", ql, r.toDisplayString(o2.labelTittle), 1)) : r.createCommentVNode("", true), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(m2, { ref: "table", data: i2.tableData, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "source", label: o2.srcLabel }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.showSourceFieldLabel(o3.row.source), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[0] || (t2[0] = (e3) => i2.showSourceFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "target", label: o2.targetLabel }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.showTargetFieldLabel(o3.row.target), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[1] || (t2[1] = (e3) => i2.showTargetFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.showSourceFields || i2.showTargetFields ? (r.openBlock(), r.createBlock(u2, { key: 0, fields: n2.formFields, onClose: n2.selectField }, null, 8, ["fields", "onClose"])) : r.createCommentVNode("", true)]);
2224
- }]]), i18nInput: eo, TaskTitle: ht }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2207
+ return r.openBlock(), r.createElementBlock("div", Ol, [r.createVNode(s2, { style: { "align-items": "center" } }, { default: r.withCtx(() => [o2.labelTittle ? (r.openBlock(), r.createElementBlock("span", Il, r.toDisplayString(o2.labelTittle), 1)) : r.createCommentVNode("", true), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(m2, { ref: "table", data: i2.tableData, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "source", label: o2.srcLabel }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.showSourceFieldLabel(o3.row.source), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[0] || (t2[0] = (e3) => i2.showSourceFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "target", label: o2.targetLabel }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.showTargetFieldLabel(o3.row.target), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[1] || (t2[1] = (e3) => i2.showTargetFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.showSourceFields || i2.showTargetFields ? (r.openBlock(), r.createBlock(u2, { key: 0, fields: n2.formFields, onClose: n2.selectField }, null, 8, ["fields", "onClose"])) : r.createCommentVNode("", true)]);
2208
+ }]]), i18nInput: Ht, TaskTitle: ft }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2225
2209
  return { selectedProcess: [], processes: [], subprocessFormFields: [], formModel: { name: this.name, id: this.id, tache: this.model } };
2226
2210
  }, computed: { tache() {
2227
2211
  return this.model;
@@ -2234,7 +2218,7 @@
2234
2218
  this.$emit("update:name", e2);
2235
2219
  });
2236
2220
  }, methods: { fetchSubprocessFormFields() {
2237
- this.model.processCode && Ml.fetchSubprocessFormFields(this.model.processCode, this.model.processVersion).then((e2) => {
2221
+ this.model.processCode && gl.fetchSubprocessFormFields(this.model.processCode, this.model.processVersion).then((e2) => {
2238
2222
  this.subprocessFormFields = e2;
2239
2223
  });
2240
2224
  }, handleChange(e2) {
@@ -2268,21 +2252,21 @@
2268
2252
  const o2 = t2.value, l2 = o2.substring(o2.indexOf("/") + 1);
2269
2253
  return e2 === l2;
2270
2254
  }, validateId() {
2271
- E(this);
2255
+ S(this);
2272
2256
  }, setI18nValue(e2) {
2273
2257
  this.formModel.tache.i18nKey = e2;
2274
2258
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2275
2259
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("task-title"), p2 = r.resolveComponent("el-cascader"), h2 = r.resolveComponent("el-switch"), f2 = r.resolveComponent("el-radio"), w2 = r.resolveComponent("el-radio-group"), g2 = r.resolveComponent("field-mappings"), C2 = r.resolveComponent("el-form");
2276
2260
  return r.openBlock(), r.createBlock(C2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.name"), "label-width": "50px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), "i18n-key": i2.formModel.tache.i18nKey ? i2.formModel.tache.i18nKey : "name." + i2.formModel.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.code"), "label-width": "50px" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.id = e3), onBlur: n2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: n2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => n2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.subprocess"), "label-width": "60px" }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.selectedProcess, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.selectedProcess = e3), "show-all-levels": false, options: i2.processes, onChange: n2.handleChange }, null, 8, ["modelValue", "options", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.subprocessIsSharedForm"), "label-width": "140px" }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.formModel.tache.isSharedForm, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.tache.isSharedForm = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(w2, { modelValue: i2.formModel.tache.moreTransactor, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.tache.moreTransactor = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), r.createVNode(f2, { label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(g2, { "label-tittle": e2.$t("workflowEditor.process.transferValueFromMainFormToSubForm"), modelValue: i2.formModel.tache.parameters, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.tache.parameters = e3), "src-label": e2.$t("workflowEditor.process.fieldsOfTheMainForm"), "target-label": e2.$t("workflowEditor.process.fieldsOfSubform"), "target-fields": i2.subprocessFormFields }, null, 8, ["label-tittle", "modelValue", "src-label", "target-label", "target-fields"])]), _: 1 }), r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(g2, { "label-tittle": e2.$t("workflowEditor.process.subformReturnsResultsToMainForm"), modelValue: i2.formModel.tache.result, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.tache.result = e3), "src-label": e2.$t("workflowEditor.process.fieldsOfSubform"), "target-label": e2.$t("workflowEditor.process.fieldsOfTheMainForm"), "src-fields": i2.subprocessFormFields }, null, 8, ["label-tittle", "modelValue", "src-label", "target-label", "src-fields"])]), _: 1 })]), _: 1 }, 8, ["model"]);
2277
2261
  }]]);
2278
- const Xl = D({ name: "Events", props: { modelValue: { type: Object, default: null } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2262
+ const Rl = $({ name: "Events", props: { modelValue: { type: Object, default: null } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2279
2263
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-form");
2280
2264
  return r.openBlock(), r.createBlock(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.eventsTriggeredBeforeStartingASubprocess"), "label-width": "150px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.modelValue.beforeStart, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.modelValue.beforeStart = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.triggerSubprocessEndEvent") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.modelValue.end, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => o2.modelValue.end = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 });
2281
2265
  }]]);
2282
- const Yl = D({ name: "SubprocessPropertiesEditor", components: { BasicProperties: Kl, SubprocessTransactorSettings: D({ name: "SubprocessTransactorSettings", components: { TransactorSettings: nl }, props: { modelValue: { type: Object, default: null } }, data() {
2266
+ const Al = $({ name: "SubprocessPropertiesEditor", components: { BasicProperties: _l, SubprocessTransactorSettings: $({ name: "SubprocessTransactorSettings", components: { TransactorSettings: qo }, props: { modelValue: { type: Object, default: null } }, data() {
2283
2267
  let e2 = false;
2284
2268
  this.modelValue.userCondition && (e2 = true);
2285
- let t2 = N(this.modelValue);
2269
+ let t2 = x(this.modelValue);
2286
2270
  return t2.userCondition || (t2 = { userCondition: "${instanceCreator}", additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }), { model: { showTransactorSettings: e2, transactorSettings: t2 } };
2287
2271
  }, mounted() {
2288
2272
  this.$watch("model", function(e2) {
@@ -2291,7 +2275,7 @@
2291
2275
  } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2292
2276
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("transactor-settings", true);
2293
2277
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.setTheHandlerOfTheFirstPhaseOfTheSubProcess")), 1), r.createVNode(a2, { modelValue: i2.model.showTransactorSettings, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.model.showTransactorSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }), i2.model.showTransactorSettings ? (r.openBlock(), r.createBlock(d2, { key: 0, "is-subprocess": true, model: i2.model.transactorSettings }, null, 8, ["model"])) : r.createCommentVNode("", true)]);
2294
- }]]), Events: Xl }, props: { model: { type: Object, default: null } }, data: () => ({ activeTab: "basicProperties", dialogVisible: true }), computed: { formModel() {
2278
+ }]]), Events: Rl }, props: { model: { type: Object, default: null } }, data: () => ({ activeTab: "basicProperties", dialogVisible: true }), computed: { formModel() {
2295
2279
  return this.model.ref;
2296
2280
  } }, mounted() {
2297
2281
  this.$watch("model.ref.attr.id", function(e2, t2) {
@@ -2303,18 +2287,18 @@
2303
2287
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2304
2288
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("subprocess-transactor-settings"), c2 = r.resolveComponent("events"), m2 = r.resolveComponent("el-tabs"), u2 = r.resolveComponent("el-dialog");
2305
2289
  return r.openBlock(), r.createBlock(u2, { "model-value": "", title: e2.$t("workflowEditor.process.propertiesOfSubprocesses"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (t3) => e2.$emit("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.settingOfHandler"), name: "transactors" }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: o2.model.ref.transactorSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.transactorSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.eventProcessing"), name: "events" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
2306
- }], ["__scopeId", "data-v-bd66d235"]]), Ql = { class: "tooltip" }, Zl = ["innerHTML"];
2307
- const er = D({ name: "TacheHistoryTooltip", props: { content: { type: String, default: "" } }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
2308
- return r.openBlock(), r.createElementBlock("div", Ql, [r.createElementVNode("div", { innerHTML: o2.content }, null, 8, Zl)]);
2309
- }], ["__scopeId", "data-v-ac799913"]]), tr = { name: "Canvas", components: { Start: j, End: K, HumanTask: oe, Decision: ae, Subprocess: me, CustomTask: fe, Fork: be, Join: Ne, HumanDecision: De, CopyTask: Be, Transition: et, VirtualTransition: lt, SelectionRegion: nt, HumanTaskPropertiesEditor: xl, ProcessPropertiesEditor: Al, DecisionPropertiesEditor: Ul, TransitionPropertiesEditor: Ll, ForkPropertiesEditor: Hl, JoinPropertiesEditor: zl, HumanDecisionPropertiesEditor: Wl, CopyTaskPropertiesEditor: jl, SubprocessPropertiesEditor: Yl, TacheHistoryTooltip: er, AutoTask: Re, AutoTaskPropertiesEditor: Jl }, props: { process: { type: Object, default: null }, showHistory: { type: Boolean, default: false } }, data: function() {
2290
+ }], ["__scopeId", "data-v-bd66d235"]]), Ul = { class: "tooltip" }, Ll = ["innerHTML"];
2291
+ const Hl = $({ name: "TacheHistoryTooltip", props: { content: { type: String, default: "" } }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
2292
+ return r.openBlock(), r.createElementBlock("div", Ul, [r.createElementVNode("div", { innerHTML: o2.content }, null, 8, Ll)]);
2293
+ }], ["__scopeId", "data-v-ac799913"]]), Wl = { name: "Canvas", components: { Start: J, End: X, HumanTask: le, Decision: se, Subprocess: ue, CustomTask: we, Fork: Ve, Join: xe, HumanDecision: $e, CopyTask: Oe, Transition: tt, VirtualTransition: rt, SelectionRegion: at, HumanTaskPropertiesEditor: hl, ProcessPropertiesEditor: El, DecisionPropertiesEditor: Sl, TransitionPropertiesEditor: Ml, ForkPropertiesEditor: Dl, JoinPropertiesEditor: $l, HumanDecisionPropertiesEditor: Fl, CopyTaskPropertiesEditor: Pl, SubprocessPropertiesEditor: Al, TacheHistoryTooltip: Hl, AutoTask: Ae, AutoTaskPropertiesEditor: Bl }, props: { process: { type: Object, default: null }, showHistory: { type: Boolean, default: false } }, data: function() {
2310
2294
  return { inputArea: null, currentPosition: null, originPosition: null, offset: null, startPoint: null, region: null, endPoint: null, transitionsInRegion: [], showTacheHistory: false, tooltipPosition: null };
2311
2295
  }, computed: { ...t.mapGetters("wfEditor", ["taches", "transitions", "isMovingTache", "mouseDownPosition", "startJoint", "endJoint", "isDrawingRegion", "isMovingRegion", "selectedTransition", "selectedTaches", "resizerToMove", "draggerToMove", "controlPointToMove", "propertiesEditorFor", "contextMenuVisible"]) }, watch: { propertiesEditorFor(e2, t2) {
2312
2296
  } }, mounted: function() {
2313
2297
  }, methods: { ...t.mapMutations("wfEditor", ["setTaches", "setTransitions", "resetState", "setMovingTache", "stopDrawingLine", "setSelectedTaches", "setDrawingRegion", "setResizerToMove", "setDraggerToMove", "setControlPointToMove", "setPropertiesEditorFor"]), forbidSelection: () => false, add: function() {
2314
2298
  }, mousedown(e2) {
2315
- this.unselectAll(), this.setDrawingRegion(true), this.startPoint = C(e2);
2299
+ this.unselectAll(), this.setDrawingRegion(true), this.startPoint = k(e2);
2316
2300
  }, mousemove(e2) {
2317
- this.showHistory || (!this.originPosition && this.mouseDownPosition && (this.originPosition = this.mouseDownPosition), this.currentPosition = C(e2), this.isMovingTache && this.moveTache(this.selectedTaches[0]), this.drawVirtualSelectionRegion(), this.moveSelectionRegion(), this.resizeSelectedTache(), this.moveTransition(), this.adjustCurveLine(), this.originPosition = this.currentPosition);
2301
+ this.showHistory || (!this.originPosition && this.mouseDownPosition && (this.originPosition = this.mouseDownPosition), this.currentPosition = k(e2), this.isMovingTache && this.moveTache(this.selectedTaches[0]), this.drawVirtualSelectionRegion(), this.moveSelectionRegion(), this.resizeSelectedTache(), this.moveTransition(), this.adjustCurveLine(), this.originPosition = this.currentPosition);
2318
2302
  }, mouseup(e2) {
2319
2303
  this.isMovingTache && this.setMovingTache(false), this.startJoint && this.stopDrawingLine(), this.drawRegionWhenNeeded(), this.resizerToMove && this.setResizerToMove(null), this.resetMovedTransition();
2320
2304
  }, mouseleave(e2) {
@@ -2324,7 +2308,7 @@
2324
2308
  }, resetMovedTransition() {
2325
2309
  this.draggerToMove && (this.draggerToMove.owner.startJoint = this.draggerToMove.originStartJoint, this.draggerToMove.owner.endJoint = this.draggerToMove.originEndJoint, this.setDraggerToMove(null));
2326
2310
  }, unselectAll() {
2327
- k(), this.transitionsInRegion = [], this.startPoint = null, this.region = null;
2311
+ b(), this.transitionsInRegion = [], this.startPoint = null, this.region = null;
2328
2312
  }, selectComponents() {
2329
2313
  if (!this.startPoint || !this.region)
2330
2314
  return this.startPoint = null, void (this.region = null);
@@ -2408,13 +2392,13 @@
2408
2392
  }, hideTacheHistoryTooltip() {
2409
2393
  this.showTacheHistory = false;
2410
2394
  }, updateTacheHistoryTooltipPosition(e2) {
2411
- const t2 = C(e2);
2395
+ const t2 = k(e2);
2412
2396
  this.tooltipPosition = { left: t2.x + "px", top: t2.y + "px" };
2413
- } } }, or = { ref: "svgContainer", style: { position: "relative" } }, lr = r.createElementVNode("defs", null, [r.createElementVNode("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [r.createElementVNode("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
2414
- const rr = D(tr, [["render", function(e2, t2, o2, l2, i2, n2) {
2397
+ } } }, zl = { ref: "svgContainer", style: { position: "relative" } }, jl = r.createElementVNode("defs", null, [r.createElementVNode("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [r.createElementVNode("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
2398
+ const Jl = $(Wl, [["render", function(e2, t2, o2, l2, i2, n2) {
2415
2399
  const a2 = r.resolveComponent("virtual-transition"), s2 = r.resolveComponent("selection-region"), d2 = r.resolveComponent("tache-history-tooltip");
2416
- return r.openBlock(), r.createElementBlock("div", or, [(r.openBlock(), r.createElementBlock("svg", { id: "svg", width: "2000", height: "2000", onMousedown: t2[0] || (t2[0] = (...e3) => n2.mousedown && n2.mousedown(...e3)), onMousemove: t2[1] || (t2[1] = (...e3) => n2.mousemove && n2.mousemove(...e3)), onMouseup: t2[2] || (t2[2] = (...e3) => n2.mouseup && n2.mouseup(...e3)), onMouseleave: t2[3] || (t2[3] = (...e3) => n2.mouseleave && n2.mouseleave(...e3)), onDblclick: t2[4] || (t2[4] = (t3) => e2.setPropertiesEditorFor("Process")) }, [lr, (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.taches, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e3.type), { key: e3.id, model: e3, onMouseenter: n2.showTacheHistoryTooltip, onMouseleave: n2.hideTacheHistoryTooltip, onMousemove: n2.updateTacheHistoryTooltipPosition }, null, 40, ["model", "onMouseenter", "onMouseleave", "onMousemove"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.transitions, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent("transition"), { key: e3.id, model: e3 }, null, 8, ["model"]))), 128)), r.createVNode(a2, { toPosition: e2.currentPosition }, null, 8, ["toPosition"]), r.createVNode(s2, { region: e2.region }, null, 8, ["region"])], 32)), !o2.showHistory && e2.propertiesEditorFor ? (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e2.propertiesEditorFor + "PropertiesEditor"), { key: 0, model: e2.selectedTaches[0] || e2.selectedTransition || o2.process, onClose: t2[5] || (t2[5] = (t3) => e2.setPropertiesEditorFor("")) }, null, 40, ["model"])) : r.createCommentVNode("", true), o2.showHistory && e2.showTacheHistory ? (r.openBlock(), r.createBlock(d2, { key: 1, style: r.normalizeStyle(e2.tooltipPosition) }, null, 8, ["style"])) : r.createCommentVNode("", true)], 512);
2417
- }]]), ir = { name: "ContextMenu", components: { IconSvg: P }, data() {
2400
+ return r.openBlock(), r.createElementBlock("div", zl, [(r.openBlock(), r.createElementBlock("svg", { id: "svg", width: "2000", height: "2000", onMousedown: t2[0] || (t2[0] = (...e3) => n2.mousedown && n2.mousedown(...e3)), onMousemove: t2[1] || (t2[1] = (...e3) => n2.mousemove && n2.mousemove(...e3)), onMouseup: t2[2] || (t2[2] = (...e3) => n2.mouseup && n2.mouseup(...e3)), onMouseleave: t2[3] || (t2[3] = (...e3) => n2.mouseleave && n2.mouseleave(...e3)), onDblclick: t2[4] || (t2[4] = (t3) => e2.setPropertiesEditorFor("Process")) }, [jl, (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.taches, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e3.type), { key: e3.id, model: e3, onMouseenter: n2.showTacheHistoryTooltip, onMouseleave: n2.hideTacheHistoryTooltip, onMousemove: n2.updateTacheHistoryTooltipPosition }, null, 40, ["model", "onMouseenter", "onMouseleave", "onMousemove"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.transitions, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent("transition"), { key: e3.id, model: e3 }, null, 8, ["model"]))), 128)), r.createVNode(a2, { toPosition: e2.currentPosition }, null, 8, ["toPosition"]), r.createVNode(s2, { region: e2.region }, null, 8, ["region"])], 32)), !o2.showHistory && e2.propertiesEditorFor ? (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e2.propertiesEditorFor + "PropertiesEditor"), { key: 0, model: e2.selectedTaches[0] || e2.selectedTransition || o2.process, onClose: t2[5] || (t2[5] = (t3) => e2.setPropertiesEditorFor("")) }, null, 40, ["model"])) : r.createCommentVNode("", true), o2.showHistory && e2.showTacheHistory ? (r.openBlock(), r.createBlock(d2, { key: 1, style: r.normalizeStyle(e2.tooltipPosition) }, null, 8, ["style"])) : r.createCommentVNode("", true)], 512);
2401
+ }]]), Gl = { name: "ContextMenu", components: { IconSvg: B }, data() {
2418
2402
  return { menusForTransition: [{ name: "switch-line-type-StraightLine", label: this.$t("workflowEditor.main.straightLine"), icon: "switch" }, { name: "switch-line-type-CurveLine", label: this.$t("workflowEditor.main.curveLine"), icon: "switch" }, { name: "switch-line-type-BrokenLine", label: this.$t("workflowEditor.main.brokenLine"), icon: "switch" }, { name: "remove", label: this.$t("workflowEditor.common.remove"), icon: "delete" }, { name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], menusForTache: [{ name: "remove", label: this.$t("workflowEditor.common.remove"), icon: "delete" }, { name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], menusForProcess: [{ name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], componentsWithoutPropertiesEditor: ["Start", "End"] };
2419
2403
  }, computed: { ...t.mapGetters("wfEditor", ["taches", "transitions", "selectedTransition", "selectedTaches"]), menuType() {
2420
2404
  let e2 = "";
@@ -2434,11 +2418,11 @@
2434
2418
  this.switchLineType(t2);
2435
2419
  }
2436
2420
  "remove" === e2 && ("Tache" === this.menuType ? this.taches.splice(this.taches.indexOf(this.selectedTaches[0]), 1) : "Transition" === this.menuType && this.transitions.splice(this.transitions.indexOf(this.selectedTransition), 1)), "properties" === e2 && ("Tache" === this.menuType ? this.setPropertiesEditorFor(this.componentsWithoutPropertiesEditor.indexOf(this.selectedTaches[0].type) >= 0 ? "" : this.selectedTaches[0].type) : "Transition" === this.menuType ? this.setPropertiesEditorFor("Transition") : this.setPropertiesEditorFor("Process")), "copy" === e2 && this.setSourceComponentForCopy(this.componentsWithoutPropertiesEditor.indexOf(this.selectedTaches[0].type) >= 0 ? "" : this.selectedTaches[0].type), this.setContextMenuVisible(false);
2437
- } } }, nr = { class: "context-menu" }, ar = ["onMousedown"];
2438
- const sr = { name: "WorkflowEditor", components: { WorkflowCanvas: rr, Toolbox: I, IconSvg: P, ContextMenu: D(ir, [["render", function(e2, t2, o2, l2, i2, n2) {
2421
+ } } }, ql = { class: "context-menu" }, Kl = ["onMousedown"];
2422
+ const Xl = { name: "WorkflowEditor", components: { WorkflowCanvas: Jl, Toolbox: _, IconSvg: B, ContextMenu: $(Gl, [["render", function(e2, t2, o2, l2, i2, n2) {
2439
2423
  const a2 = r.resolveComponent("icon-svg");
2440
- return r.openBlock(), r.createElementBlock("ul", nr, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.menus, (e3) => (r.openBlock(), r.createElementBlock("li", { key: e3.name, onMousedown: r.withModifiers((t3) => n2.execute(e3.name), ["stop"]) }, [r.createVNode(a2, { icon: e3.icon }, null, 8, ["icon"]), r.createElementVNode("span", null, r.toDisplayString(e3.label), 1)], 40, ar))), 128))]);
2441
- }], ["__scopeId", "data-v-7e8a1cf6"]]), AdminSaveDialog: D({ name: "AdminSaveDialog", data: () => ({ dialogVisible: true }), methods: { updateWfVersion() {
2424
+ return r.openBlock(), r.createElementBlock("ul", ql, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.menus, (e3) => (r.openBlock(), r.createElementBlock("li", { key: e3.name, onMousedown: r.withModifiers((t3) => n2.execute(e3.name), ["stop"]) }, [r.createVNode(a2, { icon: e3.icon }, null, 8, ["icon"]), r.createElementVNode("span", null, r.toDisplayString(e3.label), 1)], 40, Kl))), 128))]);
2425
+ }], ["__scopeId", "data-v-7e8a1cf6"]]), AdminSaveDialog: $({ name: "AdminSaveDialog", data: () => ({ dialogVisible: true }), methods: { updateWfVersion() {
2442
2426
  this.$emit("update");
2443
2427
  }, addWfVersion() {
2444
2428
  this.$emit("add");
@@ -2449,17 +2433,17 @@
2449
2433
  return { activeTab: "canvas", count: 1, currentPosition: { x: 0, y: 0 }, process: null, definitionId: null, xml: "", contextMenuPosition: null, isAdminSave: false, isShowEnable: false, defVersion: 0, workflowDefVersionList: [], isShowDefVersionList: false, canvasKey: 0 };
2450
2434
  }, computed: { ...t.mapGetters("wfEditor", ["componentToDraw", "taches", "selectedTaches", "transitions", "contextMenuVisible", "systemVersion", "tableCode", "pageCode", "sourceComponentType"]), ...t.mapGetters(["sidebar"]), componentInfo() {
2451
2435
  return function(e2) {
2452
- const t2 = w().filter((t3) => t3.name === e2);
2436
+ const t2 = g().filter((t3) => t3.name === e2);
2453
2437
  return t2.length > 0 ? t2[0] : null;
2454
2438
  }(this.componentToDraw);
2455
2439
  } }, watch: { activeTab(e2) {
2456
2440
  "xml" === e2 && (this.xml = this.getProcessXml(), this.$nextTick(function() {
2457
- a.highlightElement(this.$refs.xml);
2441
+ s.highlightElement(this.$refs.xml);
2458
2442
  }));
2459
2443
  }, sourceComponentType(e2) {
2460
2444
  e2 && this.copyTache();
2461
2445
  } }, created: function() {
2462
- o.authApi.setSessionCache("wf_editor_systemVersion", this.systemPublishVersion), this.setPageCode(this.pageCode), this.systemCode && this.setSystemCode(this.systemCode), this.systemCode && this.getWorkflowDefVersionList(), this.clearCanvas(), this.id && (this.definitionId = this.id), this.code, this.id, this.code || this.id ? this.initShowDefinitionWhenUpdate(this.id, this.code, this.version) : (this.isShowEnable = false, window.$store.commit("wfEditor/setIsCreateDefinition", "true"), this.process = M.newProcess(), y(this.process));
2446
+ o.authApi.setSessionCache("wf_editor_systemVersion", this.systemPublishVersion), this.setPageCode(this.pageCode), this.systemCode && this.setSystemCode(this.systemCode), this.systemCode && this.getWorkflowDefVersionList(), this.clearCanvas(), this.id && (this.definitionId = this.id), this.code, this.id, this.code || this.id ? this.initShowDefinitionWhenUpdate(this.id, this.code, this.version) : (this.isShowEnable = false, window.$store.commit("wfEditor/setIsCreateDefinition", "true"), this.process = D.newProcess(), v(this.process));
2463
2447
  }, mounted: function() {
2464
2448
  }, methods: { ...t.mapMutations("wfEditor", ["setComponentToDraw", "clearCanvas", "setContextMenuVisible", "setSystemCode", "setSystemVersion", "setProcessCode", "setPageCode", "setSourceComponentForCopy"]), initShowDefinitionWhenUpdate(e2, t2, o2) {
2465
2449
  window.$store.commit("wfEditor/setIsCreateDefinition", "false");
@@ -2492,16 +2476,16 @@
2492
2476
  }
2493
2477
  }, initProcessByXml(e2, t2) {
2494
2478
  if (e2) {
2495
- const t3 = { nativeType: true, attributesKey: "attr", compact: true, ignoreComment: true, spaces: 4 }, o2 = i.xml2js(e2, t3);
2496
- b(o2.process), this.process = o2.process;
2479
+ const t3 = { nativeType: true, attributesKey: "attr", compact: true, ignoreComment: true, spaces: 4 }, o2 = n.xml2js(e2, t3);
2480
+ V(o2.process), this.process = o2.process;
2497
2481
  } else
2498
- this.process = M.newProcess(), this.initProcessBaseInfo(t2);
2499
- this.process && this.process.properties && this.process.properties.basicProperties ? this.setSystemCode(this.process.properties.basicProperties.systemCode) : this.setSystemCode(this.systemCode), this.process && this.process.attr && this.setProcessCode(this.process.attr.code), this.fetchFormFields(), this.clearCanvas(), y(this.process), this.count = this.getMaxCount() + 1;
2482
+ this.process = D.newProcess(), this.initProcessBaseInfo(t2);
2483
+ this.process && this.process.properties && this.process.properties.basicProperties ? this.setSystemCode(this.process.properties.basicProperties.systemCode) : this.setSystemCode(this.systemCode), this.process && this.process.attr && this.setProcessCode(this.process.attr.code), this.fetchFormFields(), this.clearCanvas(), v(this.process), this.count = this.getMaxCount() + 1;
2500
2484
  }, initProcessBaseInfo(e2) {
2501
2485
  this.process.attr.name = e2.name, this.process.attr.code = e2.code, this.process.properties.basicProperties.systemCode = e2.systemCode, this.pageCode && (this.process.properties.parameterSettings || (this.process.properties.parameterSettings = {}), this.process.properties.parameterSettings.doTask || (this.process.properties.parameterSettings.doTask = {}), this.process.properties.parameterSettings.doTask.url = "page:" + this.pageCode);
2502
2486
  }, fetchFormFields() {
2503
2487
  const e2 = this.process.properties.basicProperties, t2 = e2.formCode, o2 = e2.formVersion;
2504
- this.tableCode, t2 && "" !== t2 && o2 ? Ml.fetchFormFields(e2.formCode, e2.formVersion, null, this.systemPublishVersion) : this.tableCode && Ml.fetchFormFields(null, null, this.tableCode, this.systemPublishVersion);
2488
+ this.tableCode, t2 && "" !== t2 && o2 ? gl.fetchFormFields(e2.formCode, e2.formVersion, null, this.systemPublishVersion) : this.tableCode && gl.fetchFormFields(null, null, this.tableCode, this.systemPublishVersion);
2505
2489
  }, packageUrlParam: (e2, t2, o2, l2) => (t2 ? e2 = e2 + "?id=" + t2 : o2 && (e2 = e2 + "?code=" + o2 + "&version=" + l2), e2), getProcessXml() {
2506
2490
  const e2 = { start: [], humanTask: [], decision: [], transition: [], fork: [], join: [], subprocess: [], humanDecision: [], copyTask: [], autoTask: [], end: [] };
2507
2491
  e2.attr = this.process.attr, e2.properties = this.process.properties, this.taches.map((t3) => {
@@ -2517,7 +2501,7 @@
2517
2501
  }), t3.ref.g.coordinate = e3;
2518
2502
  }
2519
2503
  });
2520
- let t2 = i.json2xml({ process: e2 }, { attributesKey: "attr", compact: true, ignoreComment: true, spaces: 4 });
2504
+ let t2 = n.json2xml({ process: e2 }, { attributesKey: "attr", compact: true, ignoreComment: true, spaces: 4 });
2521
2505
  return t2 = '<?xml version="1.0" encoding="utf-8"?>\n' + t2, t2;
2522
2506
  }, saveXml() {
2523
2507
  const e2 = this.getProcessXml();
@@ -2568,7 +2552,7 @@
2568
2552
  });
2569
2553
  }, exportProcessFromClient() {
2570
2554
  const e2 = new Blob([this.getProcessXml()], { type: "text/xml;charset=utf-8" });
2571
- n.saveAs(e2, this.process.attr.name + ".xml");
2555
+ a.saveAs(e2, this.process.attr.name + ".xml");
2572
2556
  }, exportProcess() {
2573
2557
  const e2 = this.getProcessXml();
2574
2558
  this.$http({ method: "post", url: this.baseAPI + "/wf-editor/save-as-xmls", data: { xmlContent: e2 } }).then((e3) => {
@@ -2595,7 +2579,7 @@
2595
2579
  this.componentToDraw && this.setComponentToDraw("");
2596
2580
  }, addTache(e2) {
2597
2581
  if (this.componentToDraw) {
2598
- const t2 = C(e2), o2 = M["new" + this.componentToDraw]();
2582
+ const t2 = k(e2), o2 = D["new" + this.componentToDraw]();
2599
2583
  o2.attr.id = this.componentToDraw.charAt(0).toLowerCase() + this.componentToDraw.substring(1) + "_" + this.count;
2600
2584
  const l2 = { id: o2.attr.id, name: o2.attr.name, x: t2.x - this.componentInfo.width / 2, y: t2.y - this.componentInfo.height / 2, width: this.componentInfo.width, height: this.componentInfo.height, type: this.componentToDraw, isSelected: false };
2601
2585
  l2.ref = o2, this.taches.push(l2), this.count++;
@@ -2629,19 +2613,19 @@
2629
2613
  this.definitionId && this.$http.put(this.baseAPI + "/wf-editor/workflow-editors/" + this.definitionId + "/states").then(() => {
2630
2614
  this.getWorkflowDefVersionList(), this.isShowEnable = false, this.$alert(this.$t("workflowEditorMessage.enabledSuccessfully"));
2631
2615
  });
2632
- } } }, dr = { style: { width: "100%", height: "100%", background: "#fff" } }, cr = { key: 0, class: "xml line-numbers" };
2633
- const mr = D(sr, [["render", function(e2, t2, o2, l2, i2, n2) {
2616
+ } } }, Yl = { style: { width: "100%", height: "100%", background: "#fff" } }, Ql = { key: 0, class: "xml line-numbers" };
2617
+ const Zl = $(Xl, [["render", function(e2, t2, o2, l2, i2, n2) {
2634
2618
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-option"), d2 = r.resolveComponent("el-select"), c2 = r.resolveComponent("el-row"), m2 = r.resolveComponent("toolbox"), u2 = r.resolveComponent("workflow-canvas"), p2 = r.resolveComponent("el-tab-pane"), h2 = r.resolveComponent("el-tabs"), f2 = r.resolveComponent("icon-svg"), w2 = r.resolveComponent("context-menu"), g2 = r.resolveComponent("admin-save-dialog"), C2 = r.resolveDirective("permission");
2635
- return r.openBlock(), r.createElementBlock("div", { ref: "wfEditor", style: { position: "relative", height: "100%" }, onMousedown: t2[9] || (t2[9] = (t3) => e2.setContextMenuVisible(false)), onMousewheel: t2[10] || (t2[10] = (t3) => e2.setContextMenuVisible(false)) }, [r.createVNode(c2, { class: "button-area" }, { default: r.withCtx(() => [o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(a2, { key: 0, type: "primary", onClick: n2.saveXml }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])), o2.readonly ? r.createCommentVNode("", true) : r.withDirectives((r.openBlock(), r.createBlock(a2, { key: 1, class: "button--default", onClick: n2.adminSave }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.adminSave")), 1)]), _: 1 }, 8, ["onClick"])), [[C2, "wf.workflowDefinition.adminSave"]]), e2.isShowEnable ? (r.openBlock(), r.createBlock(a2, { key: 2, class: "button--default", onClick: n2.enableWf }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.enable")), 1)]), _: 1 }, 8, ["onClick"])) : r.createCommentVNode("", true), r.createVNode(a2, { class: "button--default", onClick: n2.exportProcessFromClient }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.export")), 1)]), _: 1 }, 8, ["onClick"]), o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(a2, { key: 3, class: "button--default", onClick: n2.selectProcessFile }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.open")) + " ", 1), r.createElementVNode("input", { ref: "processFile", type: "file", name: "processFile", accept: ".xml", style: { display: "none" }, onChange: t2[0] || (t2[0] = (...e3) => n2.openXmlFromClient && n2.openXmlFromClient(...e3)) }, null, 544)]), _: 1 }, 8, ["onClick"])), r.createVNode(a2, { type: "primary", class: "button--return", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("back")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }), e2.isShowDefVersionList ? (r.openBlock(), r.createBlock(d2, { key: 4, modelValue: e2.defVersion, "onUpdate:modelValue": t2[2] || (t2[2] = (t3) => e2.defVersion = t3), style: { "padding-left": "10px", width: "200px" }, onChange: n2.changeDefVersion }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.workflowDefVersionList, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3.definitionVersion, label: e3.definitionVersion, value: e3.definitionVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onChange"])) : r.createCommentVNode("", true)]), _: 1 }), r.createElementVNode("div", { class: "main", onMousedown: t2[4] || (t2[4] = (...e3) => n2.startDrag && n2.startDrag(...e3)), onMousemove: t2[5] || (t2[5] = (...e3) => n2.drag && n2.drag(...e3)), onMouseup: t2[6] || (t2[6] = (...e3) => n2.endDrag && n2.endDrag(...e3)), onMouseleave: t2[7] || (t2[7] = (...e3) => n2.clearStatus && n2.clearStatus(...e3)) }, [o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(m2, { key: 0, class: "toolbox", onselectstart: "return false", oncontextmenu: "return false" })), (r.openBlock(), r.createElementBlock("section", { class: "tabBox", key: e2.canvasKey }, [r.createVNode(h2, { modelValue: e2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (t3) => e2.activeTab = t3), class: "tabs" }, { default: r.withCtx(() => [r.createVNode(p2, { label: e2.$t("workflowEditorPublicModel.flowChart"), name: "canvas", class: "tab-pane" }, { default: r.withCtx(() => [r.createVNode(u2, { onselectstart: "return false", process: e2.process, class: "canvas", onMouseup: n2.addTache, onContextmenu: r.withModifiers(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "onMouseup", "onContextmenu"])]), _: 1 }, 8, ["label"]), r.createVNode(p2, { label: "XML", name: "xml", class: "tab-pane" }, { default: r.withCtx(() => [r.createElementVNode("div", dr, ["xml" === e2.activeTab ? (r.openBlock(), r.createElementBlock("pre", cr, [r.createElementVNode("code", { ref: "xml", class: "language-xml" }, r.toDisplayString(e2.xml), 513)])) : r.createCommentVNode("", true)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]))], 32), e2.componentToDraw ? (r.openBlock(), r.createBlock(f2, { key: 0, style: r.normalizeStyle({ height: n2.componentInfo.height, width: n2.componentInfo.width, color: n2.componentInfo.color, left: e2.currentPosition.x + "px", top: e2.currentPosition.y + "px" }), icon: n2.componentInfo.icon, class: "component-icon" }, null, 8, ["style", "icon"])) : r.createCommentVNode("", true), e2.contextMenuVisible ? (r.openBlock(), r.createBlock(w2, { key: 1, style: r.normalizeStyle({ position: "absolute", left: e2.contextMenuPosition.x + "px", top: e2.contextMenuPosition.y + "px" }) }, null, 8, ["style"])) : r.createCommentVNode("", true), e2.isAdminSave ? (r.openBlock(), r.createBlock(g2, { key: 2, onClose: t2[8] || (t2[8] = (t3) => e2.isAdminSave = false), onUpdate: n2.updateWfVersion, onAdd: n2.addWfVersion }, null, 8, ["onUpdate", "onAdd"])) : r.createCommentVNode("", true)], 544);
2619
+ return r.openBlock(), r.createElementBlock("div", { ref: "wfEditor", style: { position: "relative", height: "100%" }, onMousedown: t2[9] || (t2[9] = (t3) => e2.setContextMenuVisible(false)), onMousewheel: t2[10] || (t2[10] = (t3) => e2.setContextMenuVisible(false)) }, [r.createVNode(c2, { class: "button-area" }, { default: r.withCtx(() => [o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(a2, { key: 0, type: "primary", onClick: n2.saveXml }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])), o2.readonly ? r.createCommentVNode("", true) : r.withDirectives((r.openBlock(), r.createBlock(a2, { key: 1, class: "button--default", onClick: n2.adminSave }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.adminSave")), 1)]), _: 1 }, 8, ["onClick"])), [[C2, "wf.workflowDefinition.adminSave"]]), e2.isShowEnable ? (r.openBlock(), r.createBlock(a2, { key: 2, class: "button--default", onClick: n2.enableWf }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.enable")), 1)]), _: 1 }, 8, ["onClick"])) : r.createCommentVNode("", true), r.createVNode(a2, { class: "button--default", onClick: n2.exportProcessFromClient }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.export")), 1)]), _: 1 }, 8, ["onClick"]), o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(a2, { key: 3, class: "button--default", onClick: n2.selectProcessFile }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.open")) + " ", 1), r.createElementVNode("input", { ref: "processFile", type: "file", name: "processFile", accept: ".xml", style: { display: "none" }, onChange: t2[0] || (t2[0] = (...e3) => n2.openXmlFromClient && n2.openXmlFromClient(...e3)) }, null, 544)]), _: 1 }, 8, ["onClick"])), r.createVNode(a2, { type: "primary", class: "button--return", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("back")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }), e2.isShowDefVersionList ? (r.openBlock(), r.createBlock(d2, { key: 4, modelValue: e2.defVersion, "onUpdate:modelValue": t2[2] || (t2[2] = (t3) => e2.defVersion = t3), style: { "padding-left": "10px", width: "200px" }, onChange: n2.changeDefVersion }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.workflowDefVersionList, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3.definitionVersion, label: e3.definitionVersion, value: e3.definitionVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onChange"])) : r.createCommentVNode("", true)]), _: 1 }), r.createElementVNode("div", { class: "main", onMousedown: t2[4] || (t2[4] = (...e3) => n2.startDrag && n2.startDrag(...e3)), onMousemove: t2[5] || (t2[5] = (...e3) => n2.drag && n2.drag(...e3)), onMouseup: t2[6] || (t2[6] = (...e3) => n2.endDrag && n2.endDrag(...e3)), onMouseleave: t2[7] || (t2[7] = (...e3) => n2.clearStatus && n2.clearStatus(...e3)) }, [o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(m2, { key: 0, class: "toolbox", onselectstart: "return false", oncontextmenu: "return false" })), (r.openBlock(), r.createElementBlock("section", { class: "tabBox", key: e2.canvasKey }, [r.createVNode(h2, { modelValue: e2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (t3) => e2.activeTab = t3), class: "tabs" }, { default: r.withCtx(() => [r.createVNode(p2, { label: e2.$t("workflowEditorPublicModel.flowChart"), name: "canvas", class: "tab-pane" }, { default: r.withCtx(() => [r.createVNode(u2, { onselectstart: "return false", process: e2.process, class: "canvas", onMouseup: n2.addTache, onContextmenu: r.withModifiers(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "onMouseup", "onContextmenu"])]), _: 1 }, 8, ["label"]), r.createVNode(p2, { label: "XML", name: "xml", class: "tab-pane" }, { default: r.withCtx(() => [r.createElementVNode("div", Yl, ["xml" === e2.activeTab ? (r.openBlock(), r.createElementBlock("pre", Ql, [r.createElementVNode("code", { ref: "xml", class: "language-xml" }, r.toDisplayString(e2.xml), 513)])) : r.createCommentVNode("", true)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]))], 32), e2.componentToDraw ? (r.openBlock(), r.createBlock(f2, { key: 0, style: r.normalizeStyle({ height: n2.componentInfo.height, width: n2.componentInfo.width, color: n2.componentInfo.color, left: e2.currentPosition.x + "px", top: e2.currentPosition.y + "px" }), icon: n2.componentInfo.icon, class: "component-icon" }, null, 8, ["style", "icon"])) : r.createCommentVNode("", true), e2.contextMenuVisible ? (r.openBlock(), r.createBlock(w2, { key: 1, style: r.normalizeStyle({ position: "absolute", left: e2.contextMenuPosition.x + "px", top: e2.contextMenuPosition.y + "px" }) }, null, 8, ["style"])) : r.createCommentVNode("", true), e2.isAdminSave ? (r.openBlock(), r.createBlock(g2, { key: 2, onClose: t2[8] || (t2[8] = (t3) => e2.isAdminSave = false), onUpdate: n2.updateWfVersion, onAdd: n2.addWfVersion }, null, 8, ["onUpdate", "onAdd"])) : r.createCommentVNode("", true)], 544);
2636
2620
  }], ["__scopeId", "data-v-865cb4ee"]]);
2637
- mr.install = function(e2) {
2638
- e2.component(mr.name, mr);
2621
+ Zl.install = function(e2) {
2622
+ e2.component(Zl.name, Zl);
2639
2623
  };
2640
- const ur = { WorkflowEditor: mr }, pr = ["src"];
2641
- const hr = { name: "WfHistoryCanvas", components: { Start: j, End: K, HumanTask: oe, Decision: ae, Subprocess: me, CustomTask: fe, Fork: be, Join: Ne, HumanDecision: De, CopyTask: Be, Transition: et, TacheHistoryTooltip: er, TacheSubprocessHistoryDialog: D({ name: "TacheSubprocessHistoryDialog", props: { workflowId: { type: Number, default: null } }, data: () => ({ dialogVisible: true }) }, [["render", function(e2, t2, o2, l2, i2, n2) {
2624
+ const er = { WorkflowEditor: Zl }, tr = ["src"];
2625
+ const or = { name: "WfHistoryCanvas", components: { Start: J, End: X, HumanTask: le, Decision: se, Subprocess: ue, CustomTask: we, Fork: Ve, Join: xe, HumanDecision: $e, CopyTask: Oe, Transition: tt, TacheHistoryTooltip: Hl, TacheSubprocessHistoryDialog: $({ name: "TacheSubprocessHistoryDialog", props: { workflowId: { type: Number, default: null } }, data: () => ({ dialogVisible: true }) }, [["render", function(e2, t2, o2, l2, i2, n2) {
2642
2626
  const a2 = r.resolveComponent("el-dialog");
2643
- return r.openBlock(), r.createBlock(a2, { "model-value": "", title: e2.$t("workflowEditorPublicModel.subprocessTitle"), "close-on-click-modal": false, "append-to-body": "", width: "90%", top: "5vh", onOpen: t2[0] || (t2[0] = (t3) => e2.$emit("open")), onOpend: t2[1] || (t2[1] = (t3) => e2.$emit("opend")), onClose: t2[2] || (t2[2] = (t3) => e2.$emit("close")), onClosed: t2[3] || (t2[3] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createElementVNode("iframe", { id: "_subprocess-content", src: "#/show-sub-wf-history?workflowId=" + o2.workflowId, name: "_subprocess-content", title: "Subprocess Content", frameborder: "0" }, null, 8, pr)]), _: 1 }, 8, ["title"]);
2644
- }], ["__scopeId", "data-v-2b195c05"]]), AutoTask: Re }, props: { process: { type: Object, default: null }, histories: { type: Array, default: null }, currentTasks: { type: Array, default: null }, allProcessI18n: { type: Object, default: null } }, data: function() {
2627
+ return r.openBlock(), r.createBlock(a2, { "model-value": "", title: e2.$t("workflowEditorPublicModel.subprocessTitle"), "close-on-click-modal": false, "append-to-body": "", width: "90%", top: "5vh", onOpen: t2[0] || (t2[0] = (t3) => e2.$emit("open")), onOpend: t2[1] || (t2[1] = (t3) => e2.$emit("opend")), onClose: t2[2] || (t2[2] = (t3) => e2.$emit("close")), onClosed: t2[3] || (t2[3] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createElementVNode("iframe", { id: "_subprocess-content", src: "#/show-sub-wf-history?workflowId=" + o2.workflowId, name: "_subprocess-content", title: "Subprocess Content", frameborder: "0" }, null, 8, tr)]), _: 1 }, 8, ["title"]);
2628
+ }], ["__scopeId", "data-v-2b195c05"]]), AutoTask: Ae }, props: { process: { type: Object, default: null }, histories: { type: Array, default: null }, currentTasks: { type: Array, default: null }, allProcessI18n: { type: Object, default: null } }, data: function() {
2645
2629
  return { showHistory: false, tooltipPosition: null, tacheHistoryInfo: null, showSubprocessDialog: false, subWorkflowId: null };
2646
2630
  }, computed: { ...t.mapGetters("wfEditor", ["taches", "transitions", "processI18n"]) }, mounted: function() {
2647
2631
  }, methods: { getTacheClass(e2) {
@@ -2692,25 +2676,25 @@
2692
2676
  }, hideTacheHistoryTooltip() {
2693
2677
  this.showHistory = false;
2694
2678
  }, updateTacheHistoryTooltipPosition(e2) {
2695
- const t2 = C(e2);
2679
+ const t2 = k(e2);
2696
2680
  this.tooltipPosition = { left: t2.x + 5 + "px", top: t2.y + 5 + "px" };
2697
2681
  }, showSubprocessHistory(e2) {
2698
2682
  const t2 = this.getPassedTache(e2);
2699
2683
  t2 && void 0 !== t2.hasChildren && true === t2.hasChildren && (t2.children && t2.children.length > 0 && (this.subWorkflowId = t2.children[0].workflowId), this.showSubprocessDialog = true);
2700
2684
  }, closeSubprocessHistory() {
2701
2685
  this.showSubprocessDialog = false;
2702
- } } }, fr = { ref: "svgContainer", style: { position: "relative" } }, wr = r.createElementVNode("defs", null, [r.createElementVNode("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [r.createElementVNode("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
2703
- const gr = D(hr, [["render", function(e2, t2, o2, l2, i2, n2) {
2686
+ } } }, lr = { ref: "svgContainer", style: { position: "relative" } }, rr = r.createElementVNode("defs", null, [r.createElementVNode("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [r.createElementVNode("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
2687
+ const ir = $(or, [["render", function(e2, t2, o2, l2, i2, n2) {
2704
2688
  const a2 = r.resolveComponent("tache-history-tooltip"), s2 = r.resolveComponent("tache-subprocess-history-dialog");
2705
- return r.openBlock(), r.createElementBlock("div", fr, [(r.openBlock(), r.createElementBlock("svg", { id: "svg", width: "2000", height: "2000", onMousedown: t2[0] || (t2[0] = (...e3) => n2.mousedown && n2.mousedown(...e3)), onMousemove: t2[1] || (t2[1] = (...e3) => n2.mousemove && n2.mousemove(...e3)), onMouseup: t2[2] || (t2[2] = (...e3) => n2.mouseup && n2.mouseup(...e3)), onMouseleave: t2[3] || (t2[3] = (...e3) => n2.mouseleave && n2.mouseleave(...e3)) }, [wr, (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.taches, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e3.type), { key: e3.id, model: e3, class: r.normalizeClass([n2.getTacheClass(e3)]), "display-mode": e3.displayMode, onMouseenter: (t3) => n2.showTacheHistoryTooltip(e3, t3), onMouseleave: (t3) => n2.hideTacheHistoryTooltip(e3), onMousemove: n2.updateTacheHistoryTooltipPosition, onClick: (t3) => n2.showSubprocessHistory(e3) }, null, 40, ["model", "class", "display-mode", "onMouseenter", "onMouseleave", "onMousemove", "onClick"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.transitions, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent("transition"), { key: e3.id, model: e3 }, null, 8, ["model"]))), 128))], 32)), e2.showHistory && e2.tacheHistoryInfo ? (r.openBlock(), r.createBlock(a2, { key: 0, style: r.normalizeStyle(e2.tooltipPosition), content: e2.tacheHistoryInfo }, null, 8, ["style", "content"])) : r.createCommentVNode("", true), e2.showSubprocessDialog ? (r.openBlock(), r.createBlock(s2, { key: 1, "workflow-id": e2.subWorkflowId, onClose: n2.closeSubprocessHistory }, null, 8, ["workflow-id", "onClose"])) : r.createCommentVNode("", true)], 512);
2706
- }]]), Cr = { refresh() {
2689
+ return r.openBlock(), r.createElementBlock("div", lr, [(r.openBlock(), r.createElementBlock("svg", { id: "svg", width: "2000", height: "2000", onMousedown: t2[0] || (t2[0] = (...e3) => n2.mousedown && n2.mousedown(...e3)), onMousemove: t2[1] || (t2[1] = (...e3) => n2.mousemove && n2.mousemove(...e3)), onMouseup: t2[2] || (t2[2] = (...e3) => n2.mouseup && n2.mouseup(...e3)), onMouseleave: t2[3] || (t2[3] = (...e3) => n2.mouseleave && n2.mouseleave(...e3)) }, [rr, (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.taches, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e3.type), { key: e3.id, model: e3, class: r.normalizeClass([n2.getTacheClass(e3)]), "display-mode": e3.displayMode, onMouseenter: (t3) => n2.showTacheHistoryTooltip(e3, t3), onMouseleave: (t3) => n2.hideTacheHistoryTooltip(e3), onMousemove: n2.updateTacheHistoryTooltipPosition, onClick: (t3) => n2.showSubprocessHistory(e3) }, null, 40, ["model", "class", "display-mode", "onMouseenter", "onMouseleave", "onMousemove", "onClick"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.transitions, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent("transition"), { key: e3.id, model: e3 }, null, 8, ["model"]))), 128))], 32)), e2.showHistory && e2.tacheHistoryInfo ? (r.openBlock(), r.createBlock(a2, { key: 0, style: r.normalizeStyle(e2.tooltipPosition), content: e2.tacheHistoryInfo }, null, 8, ["style", "content"])) : r.createCommentVNode("", true), e2.showSubprocessDialog ? (r.openBlock(), r.createBlock(s2, { key: 1, "workflow-id": e2.subWorkflowId, onClose: n2.closeSubprocessHistory }, null, 8, ["workflow-id", "onClose"])) : r.createCommentVNode("", true)], 512);
2690
+ }]]), nr = { refresh() {
2707
2691
  this.showHistory();
2708
- } }, kr = { name: "WorkflowHistory", components: { WfHistoryCanvas: gr }, props: { id: { type: Number, default: null } }, data: function() {
2692
+ } }, ar = { name: "WorkflowHistory", components: { WfHistoryCanvas: ir }, props: { id: { type: Number, default: null } }, data: function() {
2709
2693
  return { process: null, histories: [], currentTasks: [], allProcessI18n: null };
2710
2694
  }, computed: { ...t.mapGetters("wfEditor", ["componentToDraw", "taches", "transitions", "contextMenuVisible"]), ...t.mapGetters(["sidebar"]) }, watch: {}, created: function() {
2711
2695
  this.showHistory();
2712
2696
  }, mounted: function() {
2713
- }, methods: { ...Cr, ...t.mapMutations("wfEditor", ["setComponentToDraw", "clearCanvas", "setContextMenuVisible", "setProcessI18n"]), showHistory() {
2697
+ }, methods: { ...nr, ...t.mapMutations("wfEditor", ["setComponentToDraw", "clearCanvas", "setContextMenuVisible", "setProcessI18n"]), showHistory() {
2714
2698
  this.clearCanvas(), this.id ? this.$http.get(this.baseAPI + "/wf-editor/i18n-settings/get-bundle-info?workflowId=" + this.id).then((e2) => {
2715
2699
  this.allProcessI18n = e2;
2716
2700
  const t2 = this.baseAPI + "/wf-editor/instance-histories/" + this.id;
@@ -2718,20 +2702,20 @@
2718
2702
  let o2;
2719
2703
  this.initProcessByXml(t3.xml), t3.histories && t3.histories.length > 0 && (o2 = t3.histories[0].bundleCode), !o2 && t3.currentTasks && t3.currentTasks.length > 0 && (o2 = t3.currentTasks[0].bundleCode), o2 && this.setProcessI18n(e2[o2]), this.histories = t3.histories, this.currentTasks = t3.currentTasks;
2720
2704
  });
2721
- }) : (this.process = M.newProcess(), y(this.process));
2705
+ }) : (this.process = D.newProcess(), v(this.process));
2722
2706
  }, showContextMenu(e2) {
2723
2707
  }, initProcessByXml(e2) {
2724
- const t2 = i.xml2js(e2, { nativeType: true, attributesKey: "attr", compact: true, ignoreComment: true, spaces: 4 });
2725
- b(t2.process), this.process = t2.process, y(this.process);
2726
- } } }, br = { ref: "wfEditor", style: { position: "relative", height: "100%" } }, Vr = { class: "main" };
2727
- const yr = D(kr, [["render", function(e2, t2, o2, l2, i2, n2) {
2708
+ const t2 = n.xml2js(e2, { nativeType: true, attributesKey: "attr", compact: true, ignoreComment: true, spaces: 4 });
2709
+ V(t2.process), this.process = t2.process, v(this.process);
2710
+ } } }, sr = { ref: "wfEditor", style: { position: "relative", height: "100%" } }, dr = { class: "main" };
2711
+ const cr = $(ar, [["render", function(e2, t2, o2, l2, i2, n2) {
2728
2712
  const a2 = r.resolveComponent("wf-history-canvas");
2729
- return r.openBlock(), r.createElementBlock("div", br, [r.createElementVNode("div", Vr, [r.createElementVNode("section", null, [r.createVNode(a2, { onselectstart: "return false", process: e2.process, histories: e2.histories, "current-tasks": e2.currentTasks, "all-process-i18n": e2.allProcessI18n, "show-history": true, class: "canvas", onContextmenu: r.withModifiers(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "histories", "current-tasks", "all-process-i18n", "onContextmenu"])])])], 512);
2713
+ return r.openBlock(), r.createElementBlock("div", sr, [r.createElementVNode("div", dr, [r.createElementVNode("section", null, [r.createVNode(a2, { onselectstart: "return false", process: e2.process, histories: e2.histories, "current-tasks": e2.currentTasks, "all-process-i18n": e2.allProcessI18n, "show-history": true, class: "canvas", onContextmenu: r.withModifiers(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "histories", "current-tasks", "all-process-i18n", "onContextmenu"])])])], 512);
2730
2714
  }], ["__scopeId", "data-v-14c5e870"]]);
2731
2715
  WorkflowEditor.install = function(e2) {
2732
- e2.component(yr.name, yr);
2716
+ e2.component(cr.name, cr);
2733
2717
  };
2734
- const vr = { WorkflowHistory: yr }, Tr = { namespaced: true, state: { taches: [], transitions: [], startJoint: null, endJoint: null, isMovingTache: false, mouseDownPosition: null, isDrawingRegion: false, isMovingRegion: false, selectedTaches: [], selectedTransition: null, resizerToMove: null, draggerToMove: null, propertiesEditorFor: "", componentToDraw: "", controlPointToMove: null, formFields: [], formFieldsWithSub: [], contextMenuVisible: false, formCode: null, systemCode: null, systemVersion: null, processCode: null, processI18n: null, subtableConditionMap: null, propSettingKeyList: null, tableCode: null, isCreateDefinition: "", isHandleCreate: "", pageCode: null, sourceComponentType: "" }, getters: { taches: (e2) => e2.taches, transitions: (e2) => e2.transitions, startJoint: (e2) => e2.startJoint, endJoint: (e2) => e2.endJoint, isMovingTache: (e2) => e2.isMovingTache, mouseDownPosition: (e2) => e2.mouseDownPosition, isDrawingRegion: (e2) => e2.isDrawingRegion, isMovingRegion: (e2) => e2.isMovingRegion, selectedTaches: (e2) => e2.selectedTaches, selectedTransition: (e2) => e2.selectedTransition, resizerToMove: (e2) => e2.resizerToMove, draggerToMove: (e2) => e2.draggerToMove, propertiesEditorFor: (e2) => e2.propertiesEditorFor, componentToDraw: (e2) => e2.componentToDraw, controlPointToMove: (e2) => e2.controlPointToMove, formFields: (e2) => e2.formFields, formCode: (e2) => e2.formCode, formFieldsWithSub: (e2) => e2.formFieldsWithSub, contextMenuVisible: (e2) => e2.contextMenuVisible, systemCode: (e2) => e2.systemCode, processCode: (e2) => e2.processCode, processI18n: (e2) => e2.processI18n, subtableConditionMap: (e2) => e2.subtableConditionMap, propSettingKeyList: (e2) => e2.propSettingKeyList, systemVersion: (e2) => e2.systemVersion, tableCode: (e2) => e2.tableCode, isHandleCreate: (e2) => e2.isHandleCreate, isCreateDefinition: (e2) => e2.isCreateDefinition, pageCode: (e2) => e2.pageCode, sourceComponentType: (e2) => e2.sourceComponentType }, mutations: { setTaches(e2, t2) {
2718
+ const mr = { WorkflowHistory: cr }, ur = { namespaced: true, state: { taches: [], transitions: [], startJoint: null, endJoint: null, isMovingTache: false, mouseDownPosition: null, isDrawingRegion: false, isMovingRegion: false, selectedTaches: [], selectedTransition: null, resizerToMove: null, draggerToMove: null, propertiesEditorFor: "", componentToDraw: "", controlPointToMove: null, formFields: [], formFieldsWithSub: [], contextMenuVisible: false, formCode: null, systemCode: null, systemVersion: null, processCode: null, processI18n: null, subtableConditionMap: null, propSettingKeyList: null, tableCode: null, isCreateDefinition: "", isHandleCreate: "", pageCode: null, sourceComponentType: "" }, getters: { taches: (e2) => e2.taches, transitions: (e2) => e2.transitions, startJoint: (e2) => e2.startJoint, endJoint: (e2) => e2.endJoint, isMovingTache: (e2) => e2.isMovingTache, mouseDownPosition: (e2) => e2.mouseDownPosition, isDrawingRegion: (e2) => e2.isDrawingRegion, isMovingRegion: (e2) => e2.isMovingRegion, selectedTaches: (e2) => e2.selectedTaches, selectedTransition: (e2) => e2.selectedTransition, resizerToMove: (e2) => e2.resizerToMove, draggerToMove: (e2) => e2.draggerToMove, propertiesEditorFor: (e2) => e2.propertiesEditorFor, componentToDraw: (e2) => e2.componentToDraw, controlPointToMove: (e2) => e2.controlPointToMove, formFields: (e2) => e2.formFields, formCode: (e2) => e2.formCode, formFieldsWithSub: (e2) => e2.formFieldsWithSub, contextMenuVisible: (e2) => e2.contextMenuVisible, systemCode: (e2) => e2.systemCode, processCode: (e2) => e2.processCode, processI18n: (e2) => e2.processI18n, subtableConditionMap: (e2) => e2.subtableConditionMap, propSettingKeyList: (e2) => e2.propSettingKeyList, systemVersion: (e2) => e2.systemVersion, tableCode: (e2) => e2.tableCode, isHandleCreate: (e2) => e2.isHandleCreate, isCreateDefinition: (e2) => e2.isCreateDefinition, pageCode: (e2) => e2.pageCode, sourceComponentType: (e2) => e2.sourceComponentType }, mutations: { setTaches(e2, t2) {
2735
2719
  e2.taches = t2;
2736
2720
  }, setTransitions(e2, t2) {
2737
2721
  e2.transitions = t2;
@@ -2800,11 +2784,11 @@
2800
2784
  }, setSourceComponentForCopy(e2, t2) {
2801
2785
  e2.sourceComponentType = t2;
2802
2786
  } } };
2803
- function Nr(e2, t2) {
2787
+ function pr(e2, t2) {
2804
2788
  const o2 = {}, l2 = e2.dataType;
2805
- return "DATE" === l2 || "TIME" === l2 ? (o2.type = "date", xr(o2), o2.message = e2.label + " " + f().t("workflowEditorMessage.requiredAndMustBeADate")) : "INTEGER" === l2 || "LONG" === l2 ? (o2.pattern = /^-?\d+$/, o2.message = e2.label + " " + f().t("workflowEditorMessage.requiredAndMustBeAnInteger")) : "FLOAT" === l2 || "DOUBLE" === l2 ? (o2.pattern = new RegExp("^(-?\\d+)(\\.\\d+)?$"), o2.message = e2.label + " " + f().t("workflowEditorMessage.requiredAndMustBeDecimal")) : "BOOLEAN" === l2 ? (o2.type = "boolean", o2.message = e2.label + " " + f().t("workflowEditorMessage.mustFill"), xr(o2)) : o2.message = e2.label + " " + f().t("workflowEditorMessage.mustFill"), e2.canEdit && (o2.required = true, o2.trigger = "blur"), e2.rowIndexes && (o2.rowIndexes = e2.rowIndexes), e2.condition && (o2.condition = e2.condition), t2[e2.name] = e2.dataType, o2;
2789
+ return "DATE" === l2 || "TIME" === l2 ? (o2.type = "date", hr(o2), o2.message = e2.label + " " + w().t("workflowEditorMessage.requiredAndMustBeADate")) : "INTEGER" === l2 || "LONG" === l2 ? (o2.pattern = /^-?\d+$/, o2.message = e2.label + " " + w().t("workflowEditorMessage.requiredAndMustBeAnInteger")) : "FLOAT" === l2 || "DOUBLE" === l2 ? (o2.pattern = new RegExp("^(-?\\d+)(\\.\\d+)?$"), o2.message = e2.label + " " + w().t("workflowEditorMessage.requiredAndMustBeDecimal")) : "BOOLEAN" === l2 ? (o2.type = "boolean", o2.message = e2.label + " " + w().t("workflowEditorMessage.mustFill"), hr(o2)) : o2.message = e2.label + " " + w().t("workflowEditorMessage.mustFill"), e2.canEdit && (o2.required = true, o2.trigger = "blur"), e2.rowIndexes && (o2.rowIndexes = e2.rowIndexes), e2.condition && (o2.condition = e2.condition), t2[e2.name] = e2.dataType, o2;
2806
2790
  }
2807
- function xr(e2) {
2791
+ function hr(e2) {
2808
2792
  e2 && e2.type && "boolean" === e2.type ? e2.validator = function(e3, t2, o2) {
2809
2793
  return null == t2 ? !e3.required : "number" == typeof t2 && (1 === t2 || 0 === t2) || "boolean" == typeof t2 && (true === t2 || false === t2);
2810
2794
  } : e2 && e2.type && "date" === e2.type && (e2.validator = function(e3, t2, o2) {
@@ -2816,7 +2800,7 @@
2816
2800
  }
2817
2801
  });
2818
2802
  }
2819
- function Er(e2, t2, o2) {
2803
+ function fr(e2, t2, o2) {
2820
2804
  let l2;
2821
2805
  for (let r2 = 0; r2 < t2.length; r2++) {
2822
2806
  const i2 = t2[r2];
@@ -2825,7 +2809,7 @@
2825
2809
  }
2826
2810
  return l2;
2827
2811
  }
2828
- function Sr(e2, t2, o2) {
2812
+ function wr(e2, t2, o2) {
2829
2813
  let l2;
2830
2814
  for (let r2 = 0; r2 < t2.length; r2++)
2831
2815
  if (l2 = 0 === r2 ? e2[t2[r2]] : l2.fields[t2[r2]], r2 !== t2.length - 1) {
@@ -2834,7 +2818,7 @@
2834
2818
  }
2835
2819
  return l2;
2836
2820
  }
2837
- function Mr(e2, t2, o2, l2, r2) {
2821
+ function gr(e2, t2, o2, l2, r2) {
2838
2822
  let i2 = e2.name;
2839
2823
  const n2 = i2.substring(0, i2.indexOf("."));
2840
2824
  if (o2) {
@@ -2862,40 +2846,40 @@
2862
2846
  const i4 = n3[o4];
2863
2847
  let a2;
2864
2848
  if (o4 === n3.length - 1)
2865
- a2 = Sr(r3, n3, i4), a2.fields[i4] = Nr(e3, l4);
2849
+ a2 = wr(r3, n3, i4), a2.fields[i4] = pr(e3, l4);
2866
2850
  else {
2867
2851
  let e4;
2868
- 0 === o4 ? a2 = t3 : (e4 = Er(r3, n3, n3[o4 - 1]), a2 = e4.fields), a2[i4] || (a2[i4] = { type: "object", required: true, fields: {} }), 0 === o4 ? r3[i4] = a2[i4] : e4.fields[i4] = a2[i4];
2852
+ 0 === o4 ? a2 = t3 : (e4 = fr(r3, n3, n3[o4 - 1]), a2 = e4.fields), a2[i4] || (a2[i4] = { type: "object", required: true, fields: {} }), 0 === o4 ? r3[i4] = a2[i4] : e4.fields[i4] = a2[i4];
2869
2853
  }
2870
2854
  }
2871
2855
  }(e2, t2, 0, r2);
2872
2856
  }
2873
2857
  }
2874
- function Dr(e2, t2, o2, l2, r2, i2, n2) {
2875
- return $r(e2, t2, o2, true, l2, r2, i2, n2);
2858
+ function Cr(e2, t2, o2, l2, r2, i2, n2) {
2859
+ return kr(e2, t2, o2, true, l2, r2, i2, n2);
2876
2860
  }
2877
- function $r(e2, t2, o2, l2, r2, i2, n2, a2) {
2878
- let d2 = false;
2861
+ function kr(e2, t2, o2, l2, r2, i2, n2, a2) {
2862
+ let s2 = false;
2879
2863
  let c2;
2880
- if (new s(t2).validate(e2, { first: true }, (a3, s2) => {
2864
+ if (new d(t2).validate(e2, { first: true }, (a3, d2) => {
2881
2865
  if (a3) {
2882
2866
  const e3 = a3[0].message;
2883
- c2 = a3[0].field, d2 = null != o2 ? void 0 !== i2 && void 0 !== n2 ? f().t("workflowEditorMessage.pageRecordLine", { pageNum: i2, row: n2 }) + "," + e3 : f().t("workflowEditorMessage.recordLine", { row: o2 + 1 }) + "," + e3 : e3;
2867
+ c2 = a3[0].field, s2 = null != o2 ? void 0 !== i2 && void 0 !== n2 ? w().t("workflowEditorMessage.pageRecordLine", { pageNum: i2, row: n2 }) + "," + e3 : w().t("workflowEditorMessage.recordLine", { row: o2 + 1 }) + "," + e3 : e3;
2884
2868
  } else
2885
- d2 = true;
2869
+ s2 = true;
2886
2870
  if (c2 && true === l2) {
2887
2871
  if (void 0 !== r2 && true === r2 && /[A-Z]+/.test(c2) && void 0 !== e2[c2.toLowerCase()]) {
2888
2872
  const l3 = JSON.parse(JSON.stringify(e2));
2889
- l3[c2.toUpperCase()] = e2[c2.toLowerCase()], delete l3[c2.toLowerCase()], d2 = $r(l3, t2, o2, false, r2, i2, n2);
2873
+ l3[c2.toUpperCase()] = e2[c2.toLowerCase()], delete l3[c2.toLowerCase()], s2 = kr(l3, t2, o2, false, r2, i2, n2);
2890
2874
  }
2891
2875
  }
2892
2876
  }), a2) {
2893
- let e3 = { msg: d2, field: c2 };
2877
+ let e3 = { msg: s2, field: c2 };
2894
2878
  return void 0 !== i2 && void 0 !== n2 ? (e3.pageNum = i2, e3.rowIndex = n2) : e3.rowIndex = o2, e3;
2895
2879
  }
2896
- return d2;
2880
+ return s2;
2897
2881
  }
2898
- function Fr(e2, t2, l2, r2, i2, n2, a2, s2, d2) {
2882
+ function br(e2, t2, l2, r2, i2, n2, a2, s2, d2) {
2899
2883
  const c2 = function(e3) {
2900
2884
  return e3 && e3.id ? e3.id : e3 && e3.ID ? e3.ID : void 0;
2901
2885
  }(l2), m2 = {};
@@ -2914,15 +2898,15 @@
2914
2898
  }
2915
2899
  return m2;
2916
2900
  }
2917
- function Pr(e2, t2, o2) {
2901
+ function Vr(e2, t2, o2) {
2918
2902
  let l2 = t2[o2];
2919
2903
  return l2 || (l2 = []), 0 !== l2.length || !e2 || !e2[o2] || void 0 === e2[o2].required || true !== e2[o2].required || e2[o2].message;
2920
2904
  }
2921
- const Br = function(e2, t2, o2, l2, r2, i2, n2, a2) {
2905
+ const yr = function(e2, t2, o2, l2, r2, i2, n2, a2) {
2922
2906
  const s2 = Object.keys(t2);
2923
2907
  if (s2.indexOf("rules") >= 0 && s2.indexOf("subRules") >= 0 && s2.indexOf("totalSubRules") >= 0) {
2924
2908
  const s3 = t2.rules, d2 = t2.subRules, c2 = t2.totalSubRules, m2 = t2.dataTypeMap;
2925
- let u2 = Dr(e2, s3, null, o2, null, null, a2);
2909
+ let u2 = Cr(e2, s3, null, o2, null, null, a2);
2926
2910
  return (!a2 && true === u2 || a2 && true === u2.msg) && (d2 || c2) && (u2 = function(e3, t3, o3, l3, r3, i3, n3, a3, s4, d3) {
2927
2911
  let c3 = {};
2928
2912
  if (o3 && (c3 = JSON.parse(JSON.stringify(o3))), t3) {
@@ -2931,13 +2915,13 @@
2931
2915
  const u3 = o4[m3], p2 = t3[u3], h2 = Object.keys(p2);
2932
2916
  let f2 = e3[u3];
2933
2917
  f2 || (f2 = []);
2934
- const w2 = Pr(c3, e3, u3);
2918
+ const w2 = Vr(c3, e3, u3);
2935
2919
  if (true !== w2)
2936
2920
  return delete c3[u3], d3 ? { msg: w2, listCode: u3 } : w2;
2937
2921
  let g2, C2 = [];
2938
2922
  s4 && s4[u3] && (g2 = s4[u3].pageSize, C2 = s4[u3].fields || []);
2939
2923
  for (let t4 = 0; t4 < f2.length; t4++) {
2940
- const o5 = f2[t4], s5 = Fr(h2, p2, f2[t4], r3, e3, i3, n3, a3, C2);
2924
+ const o5 = f2[t4], s5 = br(h2, p2, f2[t4], r3, e3, i3, n3, a3, C2);
2941
2925
  let c4, m4;
2942
2926
  void 0 !== g2 && g2 > 0 && (c4 = Math.ceil((t4 + 1) / g2), m4 = t4 + 1 - (c4 - 1) * g2), Object.keys(s5).forEach((l4) => {
2943
2927
  const r4 = s5[l4];
@@ -2946,22 +2930,22 @@
2946
2930
  "function" == typeof i4 && false === i4({ row: o5, parent: e3, rowIndex: t4 }) && (s5[l4] = []);
2947
2931
  }
2948
2932
  });
2949
- const w3 = Dr(o5, s5, t4, l3, c4, m4, d3);
2933
+ const w3 = Cr(o5, s5, t4, l3, c4, m4, d3);
2950
2934
  if (!d3 && true !== w3 || d3 && true !== w3.msg)
2951
2935
  return d3 && (w3.listCode = u3), w3;
2952
2936
  }
2953
2937
  }
2954
2938
  }
2955
2939
  for (const t4 in c3) {
2956
- const o4 = Pr(c3, e3, t4);
2940
+ const o4 = Vr(c3, e3, t4);
2957
2941
  if (true !== o4)
2958
2942
  return d3 ? { msg: o4, listCode: t4 } : o4;
2959
2943
  }
2960
2944
  return !d3 || { msg: true };
2961
2945
  }(e2, d2, c2, o2, m2, l2, r2, i2, n2, a2)), u2;
2962
2946
  }
2963
- return Dr(e2, t2, null, o2, null, null, a2);
2964
- }, Or = function(e2, t2, l2, r2, i2, n2) {
2947
+ return Cr(e2, t2, null, o2, null, null, a2);
2948
+ }, vr = function(e2, t2, l2, r2, i2, n2) {
2965
2949
  void 0 === l2 && (l2 = false);
2966
2950
  const a2 = {}, s2 = {}, d2 = {}, c2 = {};
2967
2951
  return e2 && e2.forEach((e3) => {
@@ -2985,26 +2969,26 @@
2985
2969
  if (d3.name = s3, s3.indexOf(".") > 0) {
2986
2970
  if (void 0 !== a3 && null === a3 && 0 === a3.length) {
2987
2971
  const e5 = a3[0];
2988
- Mr(d3, t3[n3], e5, l3, r3);
2972
+ gr(d3, t3[n3], e5, l3, r3);
2989
2973
  }
2990
2974
  } else
2991
- t3[n3][s3] = Nr(d3, r3);
2992
- }(e3, c2, t2, l2, s2) : Mr(e3, a2, t2, l2, s2);
2975
+ t3[n3][s3] = pr(d3, r3);
2976
+ }(e3, c2, t2, l2, s2) : gr(e3, a2, t2, l2, s2);
2993
2977
  else if (0 === m3.indexOf("$")) {
2994
2978
  const t3 = m3.substring(m3.indexOf("$") + 1);
2995
- d2[t3] = { required: true, message: f().t("workflowEditorMessage.subTableMustInputDatas", { subTable: e3.label }) };
2979
+ d2[t3] = { required: true, message: w().t("workflowEditorMessage.subTableMustInputDatas", { subTable: e3.label }) };
2996
2980
  } else
2997
- o2 = Nr(e3, s2), a2[m3] = o2;
2981
+ o2 = pr(e3, s2), a2[m3] = o2;
2998
2982
  }
2999
2983
  }
3000
2984
  }
3001
2985
  }), Object.keys(c2).length > 0 || Object.keys(d2).length > 0 ? { rules: a2, subRules: c2, totalSubRules: d2, dataTypeMap: s2 } : a2;
3002
- }, Ir = { install: function(e2, t2) {
3003
- e2.config.globalProperties.$formValidator = Br, e2.config.globalProperties.$getValidator = Or;
3004
- } }, _r = [ur, vr], Rr = function(e2) {
3005
- Rr.installed || (_r.forEach((t2) => {
2986
+ }, Tr = { install: function(e2, t2) {
2987
+ e2.config.globalProperties.$formValidator = yr, e2.config.globalProperties.$getValidator = vr;
2988
+ } }, Nr = [er, mr], xr = function(e2) {
2989
+ xr.installed || (Nr.forEach((t2) => {
3006
2990
  e2.component(t2.name, t2);
3007
- }), e2.use(Ir));
2991
+ }), e2.use(Tr));
3008
2992
  };
3009
- e.WorkflowEditor = ur, e.WorkflowHistory = vr, e.wfEditorCn = c, e.wfEditorEn = d, e.wfEditorInstall = Rr, e.wfEditorStore = Tr, Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
2993
+ e.WorkflowEditor = er, e.WorkflowHistory = mr, e.wfEditorCn = m, e.wfEditorEn = c, e.wfEditorInstall = xr, e.wfEditorStore = ur, Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
3010
2994
  });