@dev_ailaw/venus 1.429.0 → 1.431.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/venus.es.js +16 -38
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com *//*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset{margin:0;padding:0}ol,ul{list-style:none;margin:0;padding:0}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}body{font-family:inherit;line-height:inherit}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button,[role=button]{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{border-color:currentColor}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.relative{position:relative}.mr-
|
|
1
|
+
/*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com *//*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{-moz-tab-size:4;-o-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset{margin:0;padding:0}ol,ul{list-style:none;margin:0;padding:0}html{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}body{font-family:inherit;line-height:inherit}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button,[role=button]{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{border-color:currentColor}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.relative{position:relative}.mr-2{margin-right:.5rem}.mb-0{margin-bottom:0}.mb-5{margin-bottom:1.25rem}.ml-2{margin-left:.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.contents{display:contents}.hidden{display:none}.h-6{height:1.5rem}.h-screen{height:100vh}.w-6{width:1.5rem}.w-60{width:15rem}.w-72{width:18rem}.flex-1{flex:1 1 0%}@-webkit-keyframes spin{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(360deg)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.cursor-pointer{cursor:pointer}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.rounded{border-radius:.25rem}.border{border-width:1px}.border-solid{border-style:solid}.border-light-purple{--tw-border-opacity: 1;border-color:rgba(192,150,250,var(--tw-border-opacity))}.border-light-blue{--tw-border-opacity: 1;border-color:rgba(145,213,255,var(--tw-border-opacity))}.bg-purple{--tw-bg-opacity: 1;background-color:rgba(249,240,255,var(--tw-bg-opacity))}.bg-blue{--tw-bg-opacity: 1;background-color:rgba(230,247,255,var(--tw-bg-opacity))}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.pt-3{padding-top:.75rem}.pt-3\.5{padding-top:.875rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.capitalize{text-transform:capitalize}.leading-5{line-height:1.25rem}.text-secondary{--tw-text-opacity: 1;color:rgba(102,102,102,var(--tw-text-opacity))}.text-smart{--tw-text-opacity: 1;color:rgba(114,46,209,var(--tw-text-opacity))}.text-classic{--tw-text-opacity: 1;color:rgba(24,144,255,var(--tw-text-opacity))}*,:before,:after{--tw-shadow: 0 0 #0000}*,:before,:after{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgba(59, 130, 246, .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000}.filter{--tw-blur: var(--tw-empty, );--tw-brightness: var(--tw-empty, );--tw-contrast: var(--tw-empty, );--tw-grayscale: var(--tw-empty, );--tw-hue-rotate: var(--tw-empty, );--tw-invert: var(--tw-empty, );--tw-saturate: var(--tw-empty, );--tw-sepia: var(--tw-empty, );--tw-drop-shadow: var(--tw-empty, );filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur{--tw-blur: blur(8px)}.btn-divider[data-v-20a86d10]{margin-bottom:0!important;margin-top:12px!important}.beta[data-v-1114aea6]{line-height:20px;border-radius:15px;background-color:red;color:#fff;padding:0 3.5px;margin:0 5px}.min-w-80[data-v-72ef9bd2]{min-width:320px}.ant-popover{z-index:9999!important}.ant-popover .ant-popover-inner-content{padding:8px 16px}.container[data-v-4027e57a]{border:1px solid #cccccc;border-radius:6px;padding:0 4px;min-height:30px;cursor:pointer}.block[data-v-4027e57a]{display:block}.tags-container[data-v-18554545]{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.rule-link-tag[data-v-326c6e7a]{display:inline-block;vertical-align:middle;margin-left:8px;font-size:11px;line-height:18px;padding:0 6px;border-radius:3px;color:#0958d9;background:#e6f4ff;border:1px solid #91caff}.rule-link-tag-edited[data-v-326c6e7a]{color:#595959;background:#fafafa;border-color:#d9d9d9}.rule-status[data-v-326c6e7a]{margin-top:6px;font-size:12px;line-height:20px}.rule-status-line[data-v-326c6e7a]{display:flex;align-items:center;flex-wrap:wrap;gap:6px;color:#595959}.rule-status-line .anticon[data-v-326c6e7a]{font-size:13px;line-height:1}.rule-ok[data-v-326c6e7a]{color:#52c41a}.rule-warn[data-v-326c6e7a]{color:#d46b08}.rule-types[data-v-326c6e7a]{color:#8c8c8c}.rule-action[data-v-326c6e7a]{color:#1890ff;cursor:pointer}.rule-action[data-v-326c6e7a]:hover{color:#40a9ff}.rule-hint[data-v-326c6e7a]{color:#bfbfbf}.rule-status-detail[data-v-326c6e7a]{margin:2px 0 0 19px;color:#8c8c8c;white-space:normal;line-height:18px}.taskTemplateInline[data-v-c5d917d8]{float:right}a.taskTemplateInline[data-v-c5d917d8]{margin-left:10px}div.taskTemplateInline[data-v-c5d917d8]{margin-top:5px!important}.ai-badge-tag[data-v-31937258]{margin:0;max-width:100%;display:inline-flex;align-items:center;gap:4px;overflow:hidden;vertical-align:middle}.ai-badge-verdict[data-v-31937258]{flex:0 0 auto}.ai-badge-types[data-v-31937258]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-cart-main-modal[data-v-596ec48c] .ant-modal-body{padding-bottom:0}.task-cart-header-actions[data-v-596ec48c]{display:inline-flex;align-items:center;gap:12px}
|
package/dist/venus.es.js
CHANGED
|
@@ -767,7 +767,7 @@ var render$d = function() {
|
|
|
767
767
|
}), 1)], 1);
|
|
768
768
|
};
|
|
769
769
|
var staticRenderFns$d = [];
|
|
770
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
770
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
|
|
771
771
|
var index_vue_vue_type_style_index_1_lang = "";
|
|
772
772
|
const __cssModules$d = {};
|
|
773
773
|
var __component__$d = /* @__PURE__ */ normalizeComponent(__vue2_script$d, render$d, staticRenderFns$d, false, __vue2_injectStyles$d, "72ef9bd2", null, null);
|
|
@@ -2048,7 +2048,7 @@ var render$c = function() {
|
|
|
2048
2048
|
} } }, [_vm._v(" Upload Folder Sample ")])], 1) : _vm._e()], 1);
|
|
2049
2049
|
};
|
|
2050
2050
|
var staticRenderFns$c = [];
|
|
2051
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
2051
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
2052
2052
|
const __cssModules$c = {};
|
|
2053
2053
|
var __component__$c = /* @__PURE__ */ normalizeComponent(__vue2_script$c, render$c, staticRenderFns$c, false, __vue2_injectStyles$c, "4027e57a", null, null);
|
|
2054
2054
|
function __vue2_injectStyles$c(context) {
|
|
@@ -2108,7 +2108,7 @@ var render$b = function() {
|
|
|
2108
2108
|
return _c("ant-tag", { attrs: { "color": _vm.tagColor(_vm.assigneeType || "EMPTY_DEFAULT") } }, [_vm._v(" " + _vm._s(_vm.$t(_vm.AssigneeTypesText[_vm.assigneeType])) + " ")]);
|
|
2109
2109
|
};
|
|
2110
2110
|
var staticRenderFns$b = [];
|
|
2111
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
2111
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
2112
2112
|
const __cssModules$b = {};
|
|
2113
2113
|
var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "3f69c61c", null, null);
|
|
2114
2114
|
function __vue2_injectStyles$b(context) {
|
|
@@ -2145,7 +2145,7 @@ var render$a = function() {
|
|
|
2145
2145
|
return _c("ant-tooltip", { attrs: { "placement": _vm.placement, "title": _vm.tags ? _vm.tags.join(", ") : "-" } }, [_c("div", { staticClass: "tags-container", style: "max-width:" + _vm.maxWidth + "px" }, [_c("span", [_vm._v(_vm._s(_vm.tags ? _vm.tags.join(", ") : "-"))])])]);
|
|
2146
2146
|
};
|
|
2147
2147
|
var staticRenderFns$a = [];
|
|
2148
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$
|
|
2148
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
|
|
2149
2149
|
const __cssModules$a = {};
|
|
2150
2150
|
var __component__$a = /* @__PURE__ */ normalizeComponent(__vue2_script$a, render$a, staticRenderFns$a, false, __vue2_injectStyles$a, "18554545", null, null);
|
|
2151
2151
|
function __vue2_injectStyles$a(context) {
|
|
@@ -2462,27 +2462,6 @@ var __vue2_script$9 = defineComponent({
|
|
|
2462
2462
|
ruleCheck.value = { state: "error", types: [], reason: "" };
|
|
2463
2463
|
}
|
|
2464
2464
|
};
|
|
2465
|
-
const ruleStatusHint = computed(() => {
|
|
2466
|
-
const s = ruleCheck.value.state;
|
|
2467
|
-
if (s === "checking")
|
|
2468
|
-
return null;
|
|
2469
|
-
if (s === "ready") {
|
|
2470
|
-
return { key: "aiCheckHintReady", detail: ruleCheck.value.types.join(", ") };
|
|
2471
|
-
}
|
|
2472
|
-
if (s === "wont") {
|
|
2473
|
-
return {
|
|
2474
|
-
key: "aiCheckHintWont",
|
|
2475
|
-
detail: ruleCheck.value.reason,
|
|
2476
|
-
fallbackKey: "aiCheckWontReviewHint"
|
|
2477
|
-
};
|
|
2478
|
-
}
|
|
2479
|
-
if (s === "error")
|
|
2480
|
-
return { key: "aiCheckHintError", detail: "" };
|
|
2481
|
-
if ((props.value.ruleDescription || "").trim()) {
|
|
2482
|
-
return { key: "aiCheckHintUnchecked", detail: "" };
|
|
2483
|
-
}
|
|
2484
|
-
return null;
|
|
2485
|
-
});
|
|
2486
2465
|
let seedSeq = 0;
|
|
2487
2466
|
const seedRuleCheck = async () => {
|
|
2488
2467
|
const seq = ++seedSeq;
|
|
@@ -2581,7 +2560,6 @@ var __vue2_script$9 = defineComponent({
|
|
|
2581
2560
|
ruleIsLinked,
|
|
2582
2561
|
relinkRule,
|
|
2583
2562
|
ruleCheck,
|
|
2584
|
-
ruleStatusHint,
|
|
2585
2563
|
checkRuleNow
|
|
2586
2564
|
};
|
|
2587
2565
|
}
|
|
@@ -2615,12 +2593,10 @@ var render$9 = function() {
|
|
|
2615
2593
|
}), 1)], 1)], 1) : _vm._e()], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.descriptions") + " (" + _vm.$t("message.optional") + ")" } }, [_c("ant-textarea", { attrs: { "disabled": _vm.disabled, "value": _vm.value.descriptions }, on: { "input": function($event) {
|
|
2616
2594
|
return _vm.changeVal("descriptions", $event.target.value);
|
|
2617
2595
|
} } })], 1), _vm.showAiRule ? _c("ant-form-item", { scopedSlots: _vm._u([{ key: "label", fn: function() {
|
|
2618
|
-
return [_vm._v(" " + _vm._s(_vm.$t("message.aiReviewRule")) + _vm._s(" ") + "(" + _vm._s(_vm.$t("message.optional")) + ") "), _c("ant-popover", { attrs: { "overlay-style": { maxWidth: "380px" } },
|
|
2619
|
-
|
|
2620
|
-
}, proxy: true }], null, false, 2962716351) }, [_c("ant-icon", { staticClass: "pt-3.5 text-classic cursor-pointer", attrs: { "type": "question-circle" } })], 1), _vm.ruleIsLinked ? _c("span", { staticClass: "rule-link-tag" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckLinkedToDesc")))]) : _c("span", { staticClass: "rule-link-tag rule-link-tag-edited" }, [_vm._v(" " + _vm._s(_vm.$t("message.aiCheckEditedTag")) + " \xB7 "), _c("a", { on: { "click": _vm.relinkRule } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckRelink")))])])];
|
|
2621
|
-
}, proxy: true }], null, false, 2051542834) }, [_c("ant-textarea", { attrs: { "disabled": _vm.disabled, "value": _vm.value.ruleDescription, "placeholder": _vm.$t("message.aiReviewRulePlaceholder") }, on: { "input": function($event) {
|
|
2596
|
+
return [_vm._v(" " + _vm._s(_vm.$t("message.aiReviewRule")) + _vm._s(" ") + "(" + _vm._s(_vm.$t("message.optional")) + ") "), _c("ant-popover", { attrs: { "content": _vm.$t("message.aiReviewRuleHint"), "overlay-style": { maxWidth: "380px" } } }, [_c("ant-icon", { staticClass: "pt-3.5 text-classic cursor-pointer", attrs: { "type": "question-circle" } })], 1), _vm.ruleIsLinked ? _c("span", { staticClass: "rule-link-tag" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckLinkedToDesc")))]) : _c("span", { staticClass: "rule-link-tag rule-link-tag-edited" }, [_vm._v(" " + _vm._s(_vm.$t("message.aiCheckEditedTag")) + " \xB7 "), _c("a", { on: { "click": _vm.relinkRule } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckRelink")))])])];
|
|
2597
|
+
}, proxy: true }], null, false, 2774678724) }, [_c("ant-textarea", { attrs: { "disabled": _vm.disabled, "value": _vm.value.ruleDescription, "placeholder": _vm.$t("message.aiReviewRulePlaceholder") }, on: { "input": function($event) {
|
|
2622
2598
|
return _vm.changeRule($event.target.value);
|
|
2623
|
-
} } }), _vm.checkRuleFunc ? _c("div", { staticClass: "rule-status-
|
|
2599
|
+
} } }), _vm.checkRuleFunc ? _c("div", { staticClass: "rule-status" }, [_c("div", { staticClass: "rule-status-line" }, [_vm.ruleCheck.state === "checking" ? [_c("ant-icon", { attrs: { "type": "loading" } }), _c("span", [_vm._v(_vm._s(_vm.$t("message.aiCheckChecking")) + "\u2026")])] : _vm.ruleCheck.state === "ready" ? [_c("ant-icon", { staticClass: "rule-ok", attrs: { "type": "check-circle" } }), _c("span", { staticClass: "rule-ok" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckReady")))]), _vm.ruleCheck.types.length ? _c("span", { staticClass: "rule-types" }, [_vm._v(_vm._s(_vm.ruleCheck.types.join(", ")))]) : _vm._e(), _c("a", { staticClass: "rule-action", on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckAgain")))])] : _vm.ruleCheck.state === "wont" ? [_c("ant-icon", { attrs: { "type": "minus-circle" } }), _c("span", [_vm._v(_vm._s(_vm.$t("message.aiCheckWontReview")))]), _c("a", { staticClass: "rule-action", on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckAgain")))])] : _vm.ruleCheck.state === "error" ? [_c("ant-icon", { staticClass: "rule-warn", attrs: { "type": "exclamation-circle" } }), _c("span", { staticClass: "rule-warn" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckFailed")))]), _c("a", { staticClass: "rule-action", on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckAgain")))])] : (_vm.value.ruleDescription || "").trim() ? [_c("a", { staticClass: "rule-action", on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckNow")))]), _c("span", { staticClass: "rule-hint" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckNowHint")))])] : _vm._e()], 2), _vm.ruleCheck.state === "wont" ? _c("p", { staticClass: "rule-status-detail" }, [_vm._v(" " + _vm._s(_vm.ruleCheck.reason || _vm.$t("message.aiCheckWontReviewHint")) + " ")]) : _vm._e()]) : _vm._e()], 1) : _vm._e(), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.attachment") + " (" + _vm.$t("message.optional") + ")" } }, [_c("a-file-uploader", { attrs: { "disabled": _vm.value.presetDocs != null || _vm.disabled, "value": _vm.value.presetDocs || _vm.value.sampleDocs, "uploadFilesFunc": _vm.uploadFilesFunc }, on: { "change": function($event) {
|
|
2624
2600
|
return _vm.changeVal("sampleDocs", $event);
|
|
2625
2601
|
} } })], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.tags") + " (" + _vm.$t("message.optional") + ")" } }, [_c("ant-select", { attrs: { "disabled": _vm.disabled, "mode": "tags", "value": _vm.value.tagList || [], "options": [] }, on: { "change": function($event) {
|
|
2626
2602
|
return _vm.changeVal("tagList", $event);
|
|
@@ -2629,10 +2605,9 @@ var render$9 = function() {
|
|
|
2629
2605
|
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.notApplicable")) + " ")]) : _vm._e()], 1)], 1);
|
|
2630
2606
|
};
|
|
2631
2607
|
var staticRenderFns$9 = [];
|
|
2632
|
-
var
|
|
2633
|
-
var index_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
2608
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
2634
2609
|
const __cssModules$9 = {};
|
|
2635
|
-
var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "
|
|
2610
|
+
var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "326c6e7a", null, null);
|
|
2636
2611
|
function __vue2_injectStyles$9(context) {
|
|
2637
2612
|
for (let o in __cssModules$9) {
|
|
2638
2613
|
this[o] = __cssModules$9[o];
|
|
@@ -2896,11 +2871,12 @@ var render$6 = function() {
|
|
|
2896
2871
|
var _vm = this;
|
|
2897
2872
|
var _h = _vm.$createElement;
|
|
2898
2873
|
var _c = _vm._self._c || _h;
|
|
2899
|
-
return _c("span", { staticStyle: { "white-space": "nowrap" } }, [_vm.status === "ready" ? _c("ant-tooltip", { attrs: { "title": _vm.types.join(", ") } }, [_c("ant-tag", {
|
|
2874
|
+
return _c("span", { staticStyle: { "white-space": "nowrap" } }, [_vm.status === "ready" ? _c("ant-tooltip", { attrs: { "title": _vm.types.join(", ") } }, [_c("ant-tag", { staticClass: "ai-badge-tag", attrs: { "color": "green" } }, [_c("ant-icon", { attrs: { "type": "check" } }), _c("span", { staticClass: "ai-badge-verdict" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckReady")))]), _vm.types.length ? _c("span", { staticClass: "ai-badge-types" }, [_vm._v("\xB7 " + _vm._s(_vm.types.join(", ")))]) : _vm._e()], 1)], 1) : _vm.status === "wont" ? _c("ant-tooltip", { attrs: { "title": _vm.reason || _vm.$t("message.aiCheckWontReviewHint"), "overlay-style": { maxWidth: "320px" } } }, [_c("span", { staticStyle: { "font-size": "12px", "color": "#595959", "display": "inline-flex", "align-items": "center", "gap": "4px" } }, [_c("ant-icon", { attrs: { "type": "minus-circle" } }), _vm._v(" " + _vm._s(_vm.$t("message.aiCheckWontReview")) + " ")], 1)]) : _vm.status === "notchecked" ? _c("span", { staticStyle: { "font-size": "12px", "color": "#8c8c8c" } }, [_vm._v(" " + _vm._s(_vm.$t("message.aiCheckNotChecked")) + " ")]) : _c("span", { staticStyle: { "color": "#bfbfbf" } }, [_vm._v("\u2014")])], 1);
|
|
2900
2875
|
};
|
|
2901
2876
|
var staticRenderFns$6 = [];
|
|
2877
|
+
var AiReviewBadge_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2902
2878
|
const __cssModules$6 = {};
|
|
2903
|
-
var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6,
|
|
2879
|
+
var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, "31937258", null, null);
|
|
2904
2880
|
function __vue2_injectStyles$6(context) {
|
|
2905
2881
|
for (let o in __cssModules$6) {
|
|
2906
2882
|
this[o] = __cssModules$6[o];
|
|
@@ -2951,6 +2927,7 @@ var __vue2_script$5 = defineComponent({
|
|
|
2951
2927
|
setup(props) {
|
|
2952
2928
|
const { addedTasks } = toRefs(props);
|
|
2953
2929
|
const t = useT();
|
|
2930
|
+
const AI_COLUMN_WIDTH = 140;
|
|
2954
2931
|
const columns = computed(() => [
|
|
2955
2932
|
{
|
|
2956
2933
|
title: t("message.taskName"),
|
|
@@ -2976,7 +2953,8 @@ var __vue2_script$5 = defineComponent({
|
|
|
2976
2953
|
title: t("message.aiCheckColumn"),
|
|
2977
2954
|
dataIndex: "ruleDescription",
|
|
2978
2955
|
key: "aiReview",
|
|
2979
|
-
width:
|
|
2956
|
+
width: AI_COLUMN_WIDTH,
|
|
2957
|
+
customCell: () => ({ style: { maxWidth: `${AI_COLUMN_WIDTH}px` } }),
|
|
2980
2958
|
scopedSlots: { customRender: "aiReview" }
|
|
2981
2959
|
}] : [],
|
|
2982
2960
|
{
|
|
@@ -3032,7 +3010,7 @@ var render$5 = function() {
|
|
|
3032
3010
|
var staticRenderFns$5 = [];
|
|
3033
3011
|
var TaskTablePure_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
3034
3012
|
const __cssModules$5 = {};
|
|
3035
|
-
var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "
|
|
3013
|
+
var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "24d1ec9b", null, null);
|
|
3036
3014
|
function __vue2_injectStyles$5(context) {
|
|
3037
3015
|
for (let o in __cssModules$5) {
|
|
3038
3016
|
this[o] = __cssModules$5[o];
|