@dev_ailaw/venus 1.421.0 → 1.422.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 +263 -156
- 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{margin-right:.25rem}.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}.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-
|
|
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{margin-right:.25rem}.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}.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-ce2895d0]{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-ce2895d0]{color:#595959;background:#fafafa;border-color:#d9d9d9}.rule-status-row[data-v-ce2895d0]{font-size:12px;color:#999;line-height:22px;white-space:nowrap;margin-top:4px}.rule-status-ok[data-v-ce2895d0]{color:#52c41a}.rule-status-na[data-v-ce2895d0]{color:#bbb;cursor:default}.rule-status-hint[data-v-ce2895d0]{margin-left:8px;color:#bfbfbf}.taskTemplateInline[data-v-c5d917d8]{float:right}a.taskTemplateInline[data-v-c5d917d8]{margin-left:10px}div.taskTemplateInline[data-v-c5d917d8]{margin-top:5px!important}.task-cart-main-modal[data-v-e416d0ae] .ant-modal-body{padding-bottom:0}
|
package/dist/venus.es.js
CHANGED
|
@@ -38,7 +38,7 @@ function __variableDynamicImportRuntime0__$1(path2) {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
var __vue2_script$
|
|
41
|
+
var __vue2_script$l = defineComponent({
|
|
42
42
|
props: {
|
|
43
43
|
type: {
|
|
44
44
|
type: String,
|
|
@@ -65,13 +65,13 @@ var __vue2_script$k = defineComponent({
|
|
|
65
65
|
return { iconUrl };
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
|
-
var render$
|
|
68
|
+
var render$l = function() {
|
|
69
69
|
var _vm = this;
|
|
70
70
|
var _h = _vm.$createElement;
|
|
71
71
|
var _c = _vm._self._c || _h;
|
|
72
72
|
return _c("img", { staticClass: "w-6 h-6", attrs: { "src": _vm.iconUrl, "alt": _vm.type } });
|
|
73
73
|
};
|
|
74
|
-
var staticRenderFns$
|
|
74
|
+
var staticRenderFns$l = [];
|
|
75
75
|
function normalizeComponent(scriptExports, render2, staticRenderFns2, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
76
76
|
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
77
77
|
if (render2) {
|
|
@@ -123,17 +123,17 @@ function normalizeComponent(scriptExports, render2, staticRenderFns2, functional
|
|
|
123
123
|
options
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
|
-
const __cssModules$
|
|
127
|
-
var __component__$
|
|
128
|
-
function __vue2_injectStyles$
|
|
129
|
-
for (let o in __cssModules$
|
|
130
|
-
this[o] = __cssModules$
|
|
126
|
+
const __cssModules$l = {};
|
|
127
|
+
var __component__$l = /* @__PURE__ */ normalizeComponent(__vue2_script$l, render$l, staticRenderFns$l, false, __vue2_injectStyles$l, null, null, null);
|
|
128
|
+
function __vue2_injectStyles$l(context) {
|
|
129
|
+
for (let o in __cssModules$l) {
|
|
130
|
+
this[o] = __cssModules$l[o];
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
var ProfileTypeIcon = /* @__PURE__ */ function() {
|
|
134
|
-
return __component__$
|
|
134
|
+
return __component__$l.exports;
|
|
135
135
|
}();
|
|
136
|
-
var __vue2_script$
|
|
136
|
+
var __vue2_script$k = defineComponent({
|
|
137
137
|
props: {
|
|
138
138
|
source: {
|
|
139
139
|
type: Object,
|
|
@@ -142,22 +142,22 @@ var __vue2_script$j = defineComponent({
|
|
|
142
142
|
},
|
|
143
143
|
components: { ProfileTypeIcon }
|
|
144
144
|
});
|
|
145
|
-
var render$
|
|
145
|
+
var render$k = function() {
|
|
146
146
|
var _vm = this;
|
|
147
147
|
var _h = _vm.$createElement;
|
|
148
148
|
var _c = _vm._self._c || _h;
|
|
149
149
|
return _c("div", { staticClass: "flex space-x-1 items-center" }, [_c("ProfileTypeIcon", { attrs: { "type": _vm.source.profileType } }), _c("div", { staticClass: "text-secondary" }, [_vm._v(_vm._s(_vm.source.profileName))])], 1);
|
|
150
150
|
};
|
|
151
|
-
var staticRenderFns$
|
|
152
|
-
const __cssModules$
|
|
153
|
-
var __component__$
|
|
154
|
-
function __vue2_injectStyles$
|
|
155
|
-
for (let o in __cssModules$
|
|
156
|
-
this[o] = __cssModules$
|
|
151
|
+
var staticRenderFns$k = [];
|
|
152
|
+
const __cssModules$k = {};
|
|
153
|
+
var __component__$k = /* @__PURE__ */ normalizeComponent(__vue2_script$k, render$k, staticRenderFns$k, false, __vue2_injectStyles$k, null, null, null);
|
|
154
|
+
function __vue2_injectStyles$k(context) {
|
|
155
|
+
for (let o in __cssModules$k) {
|
|
156
|
+
this[o] = __cssModules$k[o];
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
var ProfileSelectItem = /* @__PURE__ */ function() {
|
|
160
|
-
return __component__$
|
|
160
|
+
return __component__$k.exports;
|
|
161
161
|
}();
|
|
162
162
|
const meQuery = gql`
|
|
163
163
|
query Me {
|
|
@@ -249,7 +249,7 @@ const profileTypes = {
|
|
|
249
249
|
CLIENTPROFILE: "Company",
|
|
250
250
|
PREPARERPROFILE: "Attorney"
|
|
251
251
|
};
|
|
252
|
-
var __vue2_script$
|
|
252
|
+
var __vue2_script$j = defineComponent({
|
|
253
253
|
props: {
|
|
254
254
|
value: {
|
|
255
255
|
type: String
|
|
@@ -269,7 +269,7 @@ var __vue2_script$i = defineComponent({
|
|
|
269
269
|
return { profileTypes, handleChange };
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
|
-
var render$
|
|
272
|
+
var render$j = function() {
|
|
273
273
|
var _vm = this;
|
|
274
274
|
var _h = _vm.$createElement;
|
|
275
275
|
var _c = _vm._self._c || _h;
|
|
@@ -277,18 +277,18 @@ var render$i = function() {
|
|
|
277
277
|
return _c("Option", { key, attrs: { "value": key } }, [_c("div", { staticClass: "flex items-center space-x-1" }, [_c("ProfileTypeIcon", { attrs: { "type": key } }), _c("div", { staticClass: "text-secondary" }, [_vm._v(_vm._s(_vm.profileTypes[key]))])], 1)]);
|
|
278
278
|
}), 1);
|
|
279
279
|
};
|
|
280
|
-
var staticRenderFns$
|
|
281
|
-
const __cssModules$
|
|
282
|
-
var __component__$
|
|
283
|
-
function __vue2_injectStyles$
|
|
284
|
-
for (let o in __cssModules$
|
|
285
|
-
this[o] = __cssModules$
|
|
280
|
+
var staticRenderFns$j = [];
|
|
281
|
+
const __cssModules$j = {};
|
|
282
|
+
var __component__$j = /* @__PURE__ */ normalizeComponent(__vue2_script$j, render$j, staticRenderFns$j, false, __vue2_injectStyles$j, null, null, null);
|
|
283
|
+
function __vue2_injectStyles$j(context) {
|
|
284
|
+
for (let o in __cssModules$j) {
|
|
285
|
+
this[o] = __cssModules$j[o];
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
var ProfileTypeSelect = /* @__PURE__ */ function() {
|
|
289
|
-
return __component__$
|
|
289
|
+
return __component__$j.exports;
|
|
290
290
|
}();
|
|
291
|
-
var __vue2_script$
|
|
291
|
+
var __vue2_script$i = defineComponent({
|
|
292
292
|
props: {
|
|
293
293
|
enabledTypes: {
|
|
294
294
|
type: Array,
|
|
@@ -351,7 +351,7 @@ var __vue2_script$h = defineComponent({
|
|
|
351
351
|
};
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
var render$
|
|
354
|
+
var render$i = function() {
|
|
355
355
|
var _vm = this;
|
|
356
356
|
var _h = _vm.$createElement;
|
|
357
357
|
var _c = _vm._self._c || _h;
|
|
@@ -365,18 +365,18 @@ var render$h = function() {
|
|
|
365
365
|
_vm.$set(_vm.value, "sendEmail", $$v);
|
|
366
366
|
}, expression: "value.sendEmail" } }, [_vm._v("Send client portal login password (System will email client a login password)")])], 1) : _vm._e()], 1)], 1);
|
|
367
367
|
};
|
|
368
|
-
var staticRenderFns$
|
|
369
|
-
const __cssModules$
|
|
370
|
-
var __component__$
|
|
371
|
-
function __vue2_injectStyles$
|
|
372
|
-
for (let o in __cssModules$
|
|
373
|
-
this[o] = __cssModules$
|
|
368
|
+
var staticRenderFns$i = [];
|
|
369
|
+
const __cssModules$i = {};
|
|
370
|
+
var __component__$i = /* @__PURE__ */ normalizeComponent(__vue2_script$i, render$i, staticRenderFns$i, false, __vue2_injectStyles$i, null, null, null);
|
|
371
|
+
function __vue2_injectStyles$i(context) {
|
|
372
|
+
for (let o in __cssModules$i) {
|
|
373
|
+
this[o] = __cssModules$i[o];
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
var ProfileCreateModal = /* @__PURE__ */ function() {
|
|
377
|
-
return __component__$
|
|
377
|
+
return __component__$i.exports;
|
|
378
378
|
}();
|
|
379
|
-
var __vue2_script$
|
|
379
|
+
var __vue2_script$h = defineComponent({
|
|
380
380
|
props: {
|
|
381
381
|
value: {
|
|
382
382
|
type: Object
|
|
@@ -419,7 +419,7 @@ var __vue2_script$g = defineComponent({
|
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
421
|
});
|
|
422
|
-
var render$
|
|
422
|
+
var render$h = function() {
|
|
423
423
|
var _vm = this;
|
|
424
424
|
var _h = _vm.$createElement;
|
|
425
425
|
var _c = _vm._self._c || _h;
|
|
@@ -427,17 +427,17 @@ var render$g = function() {
|
|
|
427
427
|
return _c("Option", { key: v.id, attrs: { "value": v.id, "name": v.profileName } }, [_c("ProfileSelectItem", { attrs: { "source": v } })], 1);
|
|
428
428
|
})], 2);
|
|
429
429
|
};
|
|
430
|
-
var staticRenderFns$
|
|
430
|
+
var staticRenderFns$h = [];
|
|
431
431
|
var profileSelector_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
432
|
-
const __cssModules$
|
|
433
|
-
var __component__$
|
|
434
|
-
function __vue2_injectStyles$
|
|
435
|
-
for (let o in __cssModules$
|
|
436
|
-
this[o] = __cssModules$
|
|
432
|
+
const __cssModules$h = {};
|
|
433
|
+
var __component__$h = /* @__PURE__ */ normalizeComponent(__vue2_script$h, render$h, staticRenderFns$h, false, __vue2_injectStyles$h, "20a86d10", null, null);
|
|
434
|
+
function __vue2_injectStyles$h(context) {
|
|
435
|
+
for (let o in __cssModules$h) {
|
|
436
|
+
this[o] = __cssModules$h[o];
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
var ProfileSelector = /* @__PURE__ */ function() {
|
|
440
|
-
return __component__$
|
|
440
|
+
return __component__$h.exports;
|
|
441
441
|
}();
|
|
442
442
|
function useProfiles(keywords, onlyRole, roleTypes, profileIds, disabledProfile) {
|
|
443
443
|
const me = useMe();
|
|
@@ -466,7 +466,7 @@ function useProfiles(keywords, onlyRole, roleTypes, profileIds, disabledProfile)
|
|
|
466
466
|
const profiles = useResult(result, [], (data) => data.profileSearch.profileList);
|
|
467
467
|
return { profiles, loading };
|
|
468
468
|
}
|
|
469
|
-
var __vue2_script$
|
|
469
|
+
var __vue2_script$g = defineComponent({
|
|
470
470
|
components: { ProfileSelector, ProfileCreateModal },
|
|
471
471
|
props: {
|
|
472
472
|
value: {
|
|
@@ -550,7 +550,7 @@ var __vue2_script$f = defineComponent({
|
|
|
550
550
|
};
|
|
551
551
|
}
|
|
552
552
|
});
|
|
553
|
-
var render$
|
|
553
|
+
var render$g = function() {
|
|
554
554
|
var _vm = this;
|
|
555
555
|
var _h = _vm.$createElement;
|
|
556
556
|
var _c = _vm._self._c || _h;
|
|
@@ -560,16 +560,16 @@ var render$f = function() {
|
|
|
560
560
|
return _vm.toggleModal(false);
|
|
561
561
|
}, "profile-created": _vm.handleProfileCreated } }) : _vm._e()], 1);
|
|
562
562
|
};
|
|
563
|
-
var staticRenderFns$
|
|
564
|
-
const __cssModules$
|
|
565
|
-
var __component__$
|
|
566
|
-
function __vue2_injectStyles$
|
|
567
|
-
for (let o in __cssModules$
|
|
568
|
-
this[o] = __cssModules$
|
|
563
|
+
var staticRenderFns$g = [];
|
|
564
|
+
const __cssModules$g = {};
|
|
565
|
+
var __component__$g = /* @__PURE__ */ normalizeComponent(__vue2_script$g, render$g, staticRenderFns$g, false, __vue2_injectStyles$g, null, null, null);
|
|
566
|
+
function __vue2_injectStyles$g(context) {
|
|
567
|
+
for (let o in __cssModules$g) {
|
|
568
|
+
this[o] = __cssModules$g[o];
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var index$4 = /* @__PURE__ */ function() {
|
|
572
|
-
return __component__$
|
|
572
|
+
return __component__$g.exports;
|
|
573
573
|
}();
|
|
574
574
|
const queryAllCaseTemplates = gql`
|
|
575
575
|
query AllCaseTemplates($lawFirmId: Int!) {
|
|
@@ -621,7 +621,7 @@ function useCaseTemplates() {
|
|
|
621
621
|
}));
|
|
622
622
|
return { templates, loading };
|
|
623
623
|
}
|
|
624
|
-
var __vue2_script$
|
|
624
|
+
var __vue2_script$f = defineComponent({
|
|
625
625
|
props: {
|
|
626
626
|
isSmart: {
|
|
627
627
|
type: Boolean
|
|
@@ -630,7 +630,7 @@ var __vue2_script$e = defineComponent({
|
|
|
630
630
|
setup() {
|
|
631
631
|
}
|
|
632
632
|
});
|
|
633
|
-
var render$
|
|
633
|
+
var render$f = function() {
|
|
634
634
|
var _vm = this;
|
|
635
635
|
var _h = _vm.$createElement;
|
|
636
636
|
var _c = _vm._self._c || _h;
|
|
@@ -639,18 +639,18 @@ var render$e = function() {
|
|
|
639
639
|
"text-classic bg-blue border-light-blue": !_vm.isSmart
|
|
640
640
|
} }, [_vm._v(" " + _vm._s(_vm.isSmart ? _vm.$t("message.smart") : _vm.$t("message.classic")) + " ")]);
|
|
641
641
|
};
|
|
642
|
-
var staticRenderFns$
|
|
643
|
-
const __cssModules$
|
|
644
|
-
var __component__$
|
|
645
|
-
function __vue2_injectStyles$
|
|
646
|
-
for (let o in __cssModules$
|
|
647
|
-
this[o] = __cssModules$
|
|
642
|
+
var staticRenderFns$f = [];
|
|
643
|
+
const __cssModules$f = {};
|
|
644
|
+
var __component__$f = /* @__PURE__ */ normalizeComponent(__vue2_script$f, render$f, staticRenderFns$f, false, __vue2_injectStyles$f, null, null, null);
|
|
645
|
+
function __vue2_injectStyles$f(context) {
|
|
646
|
+
for (let o in __cssModules$f) {
|
|
647
|
+
this[o] = __cssModules$f[o];
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
var CaseTemplateTypeBadge = /* @__PURE__ */ function() {
|
|
651
|
-
return __component__$
|
|
651
|
+
return __component__$f.exports;
|
|
652
652
|
}();
|
|
653
|
-
var __vue2_script$
|
|
653
|
+
var __vue2_script$e = defineComponent({
|
|
654
654
|
props: {
|
|
655
655
|
source: {
|
|
656
656
|
type: Object,
|
|
@@ -659,23 +659,23 @@ var __vue2_script$d = defineComponent({
|
|
|
659
659
|
},
|
|
660
660
|
components: { CaseTemplateTypeBadge, Popover }
|
|
661
661
|
});
|
|
662
|
-
var render$
|
|
662
|
+
var render$e = function() {
|
|
663
663
|
var _vm = this;
|
|
664
664
|
var _h = _vm.$createElement;
|
|
665
665
|
var _c = _vm._self._c || _h;
|
|
666
666
|
return _c("popover", [_c("div", { staticClass: "flex space-x-2 items-center" }, [_c("span", [_vm._v(_vm._s(_vm.source.templateName))]), _c("case-template-type-badge", { attrs: { "isSmart": _vm.source.isSmart } })], 1), _c("div", { attrs: { "slot": "content" }, slot: "content" }, [_c("span", [_vm._v(_vm._s(_vm.source.templateName) + " ")]), _c("b", [_vm._v("(" + _vm._s(_vm.source.isSmart ? "Smart" : "Classic") + ")")])])]);
|
|
667
667
|
};
|
|
668
|
-
var staticRenderFns$
|
|
668
|
+
var staticRenderFns$e = [];
|
|
669
669
|
var caseTemplateOption_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
670
|
-
const __cssModules$
|
|
671
|
-
var __component__$
|
|
672
|
-
function __vue2_injectStyles$
|
|
673
|
-
for (let o in __cssModules$
|
|
674
|
-
this[o] = __cssModules$
|
|
670
|
+
const __cssModules$e = {};
|
|
671
|
+
var __component__$e = /* @__PURE__ */ normalizeComponent(__vue2_script$e, render$e, staticRenderFns$e, false, __vue2_injectStyles$e, "1114aea6", null, null);
|
|
672
|
+
function __vue2_injectStyles$e(context) {
|
|
673
|
+
for (let o in __cssModules$e) {
|
|
674
|
+
this[o] = __cssModules$e[o];
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
677
|
var CaseTemplateOption = /* @__PURE__ */ function() {
|
|
678
|
-
return __component__$
|
|
678
|
+
return __component__$e.exports;
|
|
679
679
|
}();
|
|
680
680
|
const handleString = (str) => {
|
|
681
681
|
const reg = /[-/]/g;
|
|
@@ -692,7 +692,7 @@ var caseTemplateFilter = (inputKeywords, formsString, label = formsString) => {
|
|
|
692
692
|
const inputKW = inputKeywords.split(" ");
|
|
693
693
|
return inputKW.some((v) => formsString.includes(v));
|
|
694
694
|
};
|
|
695
|
-
var __vue2_script$
|
|
695
|
+
var __vue2_script$d = defineComponent({
|
|
696
696
|
props: ["value", "blackList", "exemptLawFirmList", "templateType"],
|
|
697
697
|
components: {
|
|
698
698
|
ASelect: Select,
|
|
@@ -756,7 +756,7 @@ var __vue2_script$c = defineComponent({
|
|
|
756
756
|
};
|
|
757
757
|
}
|
|
758
758
|
});
|
|
759
|
-
var render$
|
|
759
|
+
var render$d = function() {
|
|
760
760
|
var _vm = this;
|
|
761
761
|
var _h = _vm.$createElement;
|
|
762
762
|
var _c = _vm._self._c || _h;
|
|
@@ -766,18 +766,18 @@ var render$c = function() {
|
|
|
766
766
|
return _c("a-option", { key: v.id, attrs: { "value": v.id, "name": v.templateName, "forms": v.keywords } }, [_c("CaseTemplateOption", { attrs: { "source": v } })], 1);
|
|
767
767
|
}), 1)], 1);
|
|
768
768
|
};
|
|
769
|
-
var staticRenderFns$
|
|
769
|
+
var staticRenderFns$d = [];
|
|
770
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
|
-
const __cssModules$
|
|
773
|
-
var __component__$
|
|
774
|
-
function __vue2_injectStyles$
|
|
775
|
-
for (let o in __cssModules$
|
|
776
|
-
this[o] = __cssModules$
|
|
772
|
+
const __cssModules$d = {};
|
|
773
|
+
var __component__$d = /* @__PURE__ */ normalizeComponent(__vue2_script$d, render$d, staticRenderFns$d, false, __vue2_injectStyles$d, "72ef9bd2", null, null);
|
|
774
|
+
function __vue2_injectStyles$d(context) {
|
|
775
|
+
for (let o in __cssModules$d) {
|
|
776
|
+
this[o] = __cssModules$d[o];
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
779
|
var index$3 = /* @__PURE__ */ function() {
|
|
780
|
-
return __component__$
|
|
780
|
+
return __component__$d.exports;
|
|
781
781
|
}();
|
|
782
782
|
function __variableDynamicImportRuntime0__(path2) {
|
|
783
783
|
switch (path2) {
|
|
@@ -1893,7 +1893,7 @@ const acceptableFormats = [
|
|
|
1893
1893
|
".jpeg",
|
|
1894
1894
|
".png"
|
|
1895
1895
|
];
|
|
1896
|
-
var __vue2_script$
|
|
1896
|
+
var __vue2_script$c = defineComponent({
|
|
1897
1897
|
name: "aFileUploader",
|
|
1898
1898
|
components: {
|
|
1899
1899
|
AntUpload: Upload,
|
|
@@ -2020,7 +2020,7 @@ var __vue2_script$b = defineComponent({
|
|
|
2020
2020
|
};
|
|
2021
2021
|
}
|
|
2022
2022
|
});
|
|
2023
|
-
var render$
|
|
2023
|
+
var render$c = function() {
|
|
2024
2024
|
var _vm = this;
|
|
2025
2025
|
var _h = _vm.$createElement;
|
|
2026
2026
|
var _c = _vm._self._c || _h;
|
|
@@ -2047,17 +2047,17 @@ var render$b = function() {
|
|
|
2047
2047
|
return _vm.handleSelectFolderTree.apply(null, arguments);
|
|
2048
2048
|
} } }, [_vm._v(" Upload Folder Sample ")])], 1) : _vm._e()], 1);
|
|
2049
2049
|
};
|
|
2050
|
-
var staticRenderFns$
|
|
2050
|
+
var staticRenderFns$c = [];
|
|
2051
2051
|
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
2052
|
-
const __cssModules$
|
|
2053
|
-
var __component__$
|
|
2054
|
-
function __vue2_injectStyles$
|
|
2055
|
-
for (let o in __cssModules$
|
|
2056
|
-
this[o] = __cssModules$
|
|
2052
|
+
const __cssModules$c = {};
|
|
2053
|
+
var __component__$c = /* @__PURE__ */ normalizeComponent(__vue2_script$c, render$c, staticRenderFns$c, false, __vue2_injectStyles$c, "4027e57a", null, null);
|
|
2054
|
+
function __vue2_injectStyles$c(context) {
|
|
2055
|
+
for (let o in __cssModules$c) {
|
|
2056
|
+
this[o] = __cssModules$c[o];
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
2059
2059
|
var AFileUploader = /* @__PURE__ */ function() {
|
|
2060
|
-
return __component__$
|
|
2060
|
+
return __component__$c.exports;
|
|
2061
2061
|
}();
|
|
2062
2062
|
var AssigneeTypes;
|
|
2063
2063
|
(function(AssigneeTypes2) {
|
|
@@ -2084,7 +2084,7 @@ var ResponseCode;
|
|
|
2084
2084
|
ResponseCode2["success"] = "SUCCESS";
|
|
2085
2085
|
ResponseCode2["failed"] = "FAILED";
|
|
2086
2086
|
})(ResponseCode || (ResponseCode = {}));
|
|
2087
|
-
var __vue2_script$
|
|
2087
|
+
var __vue2_script$b = defineComponent({
|
|
2088
2088
|
components: {
|
|
2089
2089
|
AntTag: Tag
|
|
2090
2090
|
},
|
|
@@ -2101,25 +2101,25 @@ var __vue2_script$a = defineComponent({
|
|
|
2101
2101
|
};
|
|
2102
2102
|
}
|
|
2103
2103
|
});
|
|
2104
|
-
var render$
|
|
2104
|
+
var render$b = function() {
|
|
2105
2105
|
var _vm = this;
|
|
2106
2106
|
var _h = _vm.$createElement;
|
|
2107
2107
|
var _c = _vm._self._c || _h;
|
|
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
|
-
var staticRenderFns$
|
|
2110
|
+
var staticRenderFns$b = [];
|
|
2111
2111
|
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
2112
|
-
const __cssModules$
|
|
2113
|
-
var __component__$
|
|
2114
|
-
function __vue2_injectStyles$
|
|
2115
|
-
for (let o in __cssModules$
|
|
2116
|
-
this[o] = __cssModules$
|
|
2112
|
+
const __cssModules$b = {};
|
|
2113
|
+
var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "3f69c61c", null, null);
|
|
2114
|
+
function __vue2_injectStyles$b(context) {
|
|
2115
|
+
for (let o in __cssModules$b) {
|
|
2116
|
+
this[o] = __cssModules$b[o];
|
|
2117
2117
|
}
|
|
2118
2118
|
}
|
|
2119
2119
|
var AssigneeTag = /* @__PURE__ */ function() {
|
|
2120
|
-
return __component__$
|
|
2120
|
+
return __component__$b.exports;
|
|
2121
2121
|
}();
|
|
2122
|
-
var __vue2_script$
|
|
2122
|
+
var __vue2_script$a = defineComponent({
|
|
2123
2123
|
name: "index",
|
|
2124
2124
|
components: {
|
|
2125
2125
|
AntTooltip: Tooltip
|
|
@@ -2138,23 +2138,23 @@ var __vue2_script$9 = defineComponent({
|
|
|
2138
2138
|
}
|
|
2139
2139
|
}
|
|
2140
2140
|
});
|
|
2141
|
-
var render$
|
|
2141
|
+
var render$a = function() {
|
|
2142
2142
|
var _vm = this;
|
|
2143
2143
|
var _h = _vm.$createElement;
|
|
2144
2144
|
var _c = _vm._self._c || _h;
|
|
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
|
-
var staticRenderFns$
|
|
2147
|
+
var staticRenderFns$a = [];
|
|
2148
2148
|
var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
|
|
2149
|
-
const __cssModules$
|
|
2150
|
-
var __component__$
|
|
2151
|
-
function __vue2_injectStyles$
|
|
2152
|
-
for (let o in __cssModules$
|
|
2153
|
-
this[o] = __cssModules$
|
|
2149
|
+
const __cssModules$a = {};
|
|
2150
|
+
var __component__$a = /* @__PURE__ */ normalizeComponent(__vue2_script$a, render$a, staticRenderFns$a, false, __vue2_injectStyles$a, "18554545", null, null);
|
|
2151
|
+
function __vue2_injectStyles$a(context) {
|
|
2152
|
+
for (let o in __cssModules$a) {
|
|
2153
|
+
this[o] = __cssModules$a[o];
|
|
2154
2154
|
}
|
|
2155
2155
|
}
|
|
2156
2156
|
var TagsWithTooltip = /* @__PURE__ */ function() {
|
|
2157
|
-
return __component__$
|
|
2157
|
+
return __component__$a.exports;
|
|
2158
2158
|
}();
|
|
2159
2159
|
var TaskTypes;
|
|
2160
2160
|
(function(TaskTypes2) {
|
|
@@ -2306,6 +2306,27 @@ var belongsTo = [
|
|
|
2306
2306
|
"COMPANY_INDUSTRY_INTRODUCTION"
|
|
2307
2307
|
]
|
|
2308
2308
|
];
|
|
2309
|
+
async function ruleHashOf(name, rule) {
|
|
2310
|
+
const data = new TextEncoder().encode(`${name || ""}
|
|
2311
|
+
${rule || ""}`);
|
|
2312
|
+
const digest = await crypto.subtle.digest("SHA-1", data);
|
|
2313
|
+
return Array.from(new Uint8Array(digest)).map((b) => b.toString(16).padStart(2, "0")).join("");
|
|
2314
|
+
}
|
|
2315
|
+
async function badgeOf(record) {
|
|
2316
|
+
const rule = (record.ruleDescription || "").trim();
|
|
2317
|
+
if (!rule)
|
|
2318
|
+
return { s: "notset", types: [] };
|
|
2319
|
+
let items = null;
|
|
2320
|
+
try {
|
|
2321
|
+
items = JSON.parse(record.aiCheckItems || "null");
|
|
2322
|
+
} catch (e) {
|
|
2323
|
+
items = null;
|
|
2324
|
+
}
|
|
2325
|
+
if (items && items.hash === await ruleHashOf(record.taskName || "", rule)) {
|
|
2326
|
+
return { s: items.supported ? "ready" : "wont", types: items.types || [] };
|
|
2327
|
+
}
|
|
2328
|
+
return { s: "notchecked", types: [] };
|
|
2329
|
+
}
|
|
2309
2330
|
const roles = [
|
|
2310
2331
|
{
|
|
2311
2332
|
id: AssigneeTypes.BENEFICIARY,
|
|
@@ -2329,7 +2350,7 @@ const roles = [
|
|
|
2329
2350
|
hide: true
|
|
2330
2351
|
}
|
|
2331
2352
|
];
|
|
2332
|
-
var __vue2_script$
|
|
2353
|
+
var __vue2_script$9 = defineComponent({
|
|
2333
2354
|
name: "index",
|
|
2334
2355
|
components: {
|
|
2335
2356
|
AntForm: Form,
|
|
@@ -2433,11 +2454,29 @@ var __vue2_script$8 = defineComponent({
|
|
|
2433
2454
|
ruleCheck.value = { state: "error", types: [] };
|
|
2434
2455
|
}
|
|
2435
2456
|
};
|
|
2457
|
+
let seedSeq = 0;
|
|
2458
|
+
const seedRuleCheck = async () => {
|
|
2459
|
+
const seq = ++seedSeq;
|
|
2460
|
+
const rule = (props.value.ruleDescription || "").trim();
|
|
2461
|
+
if (!props.showAiRule || !rule || !props.value.aiCheckItems)
|
|
2462
|
+
return;
|
|
2463
|
+
const badge = await badgeOf({
|
|
2464
|
+
taskName: props.value.taskName,
|
|
2465
|
+
ruleDescription: rule,
|
|
2466
|
+
aiCheckItems: props.value.aiCheckItems
|
|
2467
|
+
});
|
|
2468
|
+
if (seq !== seedSeq || ruleCheck.value.state === "checking")
|
|
2469
|
+
return;
|
|
2470
|
+
if (badge.s === "ready" || badge.s === "wont") {
|
|
2471
|
+
ruleCheck.value = { state: badge.s, types: badge.types };
|
|
2472
|
+
}
|
|
2473
|
+
};
|
|
2436
2474
|
watch(() => [props.value.ruleDescription, props.value.taskName], () => {
|
|
2437
|
-
if (ruleCheck.value.state !== "
|
|
2475
|
+
if (ruleCheck.value.state !== "checking") {
|
|
2438
2476
|
ruleCheck.value = { state: "idle", types: [] };
|
|
2439
2477
|
}
|
|
2440
|
-
|
|
2478
|
+
seedRuleCheck();
|
|
2479
|
+
}, { immediate: true });
|
|
2441
2480
|
const changeMultiple = (event) => {
|
|
2442
2481
|
let toBeEmitted = __spreadProps(__spreadValues({}, props.value), {
|
|
2443
2482
|
isEmployee: event
|
|
@@ -2517,7 +2556,7 @@ var __vue2_script$8 = defineComponent({
|
|
|
2517
2556
|
};
|
|
2518
2557
|
}
|
|
2519
2558
|
});
|
|
2520
|
-
var render$
|
|
2559
|
+
var render$9 = function() {
|
|
2521
2560
|
var _vm = this;
|
|
2522
2561
|
var _h = _vm.$createElement;
|
|
2523
2562
|
var _c = _vm._self._c || _h;
|
|
@@ -2536,8 +2575,8 @@ var render$8 = function() {
|
|
|
2536
2575
|
}, expression: "value.assigneeTypeList" } }, [_c("a-checkbox", { attrs: { "value": 1, "disabled": _vm.value.isEmployee === "BENEFICIARY" } }, [_vm._v(_vm._s(_vm.$t("message.Beneficiary")) + " ")]), _c("a-checkbox", { attrs: { "value": 2, "disabled": _vm.value.isEmployee === "PETITIONER" } }, [_vm._v(_vm._s(_vm.$t("message.petitioner")) + " ")])], 1)], 1)], 1) : _vm._e(), _c("ant-row", { attrs: { "gutter": 40 } }, [_c("ant-col", { attrs: { "span": 12 } }, [_c("ant-form-item", { attrs: { "required": "", "label": _vm.$t("message.type"), "help": _vm.typeError ? _vm.$t("message.required") : void 0, "validate-status": _vm.typeError ? "error" : void 0 } }, [_vm.value.generalTaskType !== _vm.TaskTypes.worksheet ? _c("ant-radio-group", { attrs: { "disabled": _vm.value.presetDocs != null || _vm.disabled, "value": _vm.value.generalTaskType }, on: { "change": function($event) {
|
|
2537
2576
|
return _vm.changeVal("generalTaskType", $event.target.value);
|
|
2538
2577
|
} } }, [_c("ant-radio", { attrs: { "value": _vm.TaskTypes.clientUpload } }, [_vm._v(" " + _vm._s(_vm.$t("message.clientUpload")) + " ")]), _c("ant-radio", { attrs: { "value": _vm.TaskTypes.clientReview, "disabled": _vm.isAttorneySelected } }, [_vm._v(" " + _vm._s(_vm.$t("message.clientReview")) + " ")])], 1) : _c("div", [_vm._v(_vm._s(_vm.$t("message.worksheet")))])], 1)], 1), _vm.shouldShowBelongsTo ? _c("ant-col", { attrs: { "span": 12 } }, [_c("ant-form-item", { scopedSlots: _vm._u([{ key: "label", fn: function() {
|
|
2539
|
-
return [_vm._v(" " + _vm._s(_vm.$t("message.belongsTo")) + " "), _c("ant-popover", { attrs: { "content": _vm.$t("message.toReuseThisDoc") } }, [_c("ant-icon", { staticClass: "pt-3.5 text-classic cursor-pointer", attrs: { "type": "question-circle" } })], 1)];
|
|
2540
|
-
}, proxy: true }], null, false,
|
|
2578
|
+
return [_vm._v(" " + _vm._s(_vm.$t("message.belongsTo")) + " "), _c("ant-popover", { attrs: { "content": _vm.$t("message.toReuseThisDoc"), "overlay-style": { maxWidth: "380px" } } }, [_c("ant-icon", { staticClass: "pt-3.5 text-classic cursor-pointer", attrs: { "type": "question-circle" } })], 1)];
|
|
2579
|
+
}, proxy: true }], null, false, 1708057377) }, [_c("ant-select", { on: { "change": function($event) {
|
|
2541
2580
|
return _vm.changeVal("taskSmartType", $event);
|
|
2542
2581
|
} }, model: { value: _vm.value.taskSmartType, callback: function($$v) {
|
|
2543
2582
|
_vm.$set(_vm.value, "taskSmartType", $$v);
|
|
@@ -2546,10 +2585,10 @@ var render$8 = function() {
|
|
|
2546
2585
|
}), 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) {
|
|
2547
2586
|
return _vm.changeVal("descriptions", $event.target.value);
|
|
2548
2587
|
} } })], 1), _vm.showAiRule ? _c("ant-form-item", { scopedSlots: _vm._u([{ key: "label", fn: function() {
|
|
2549
|
-
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") } }, [_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")))])])];
|
|
2550
|
-
}, proxy: true }], null, false,
|
|
2588
|
+
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")))])])];
|
|
2589
|
+
}, 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) {
|
|
2551
2590
|
return _vm.changeRule($event.target.value);
|
|
2552
|
-
} } }), _vm.checkRuleFunc ? _c("div", { staticClass: "rule-status-row" }, [_vm.ruleCheck.state === "checking" ? [_c("ant-icon", { staticClass: "mr-1", attrs: { "type": "loading" } }), _vm._v(_vm._s(_vm.$t("message.aiCheckChecking")) + "\u2026 ")] : _vm.ruleCheck.state === "ready" ? [_c("span", { staticClass: "rule-status-ok" }, [_c("ant-icon", { staticClass: "mr-1", attrs: { "type": "check-circle" } }), _vm._v(_vm._s(_vm.$t("message.aiCheckReady")) + " \xB7 " + _vm._s(_vm.ruleCheck.types.join(", ")) + " ")], 1), _c("a", { staticClass: "ml-2", on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckAgain")))])] : _vm.ruleCheck.state === "wont" ? [_c("ant-popover", { attrs: { "content": _vm.$t("message.aiCheckWontReviewHint") } }, [_c("span", { staticClass: "rule-status-na" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckWontReview")))])])] : _vm.ruleCheck.state === "error" ? [_c("span", { staticClass: "rule-status-na" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckFailed")))]), _c("a", { staticClass: "ml-2", on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckAgain")))])] : (_vm.value.ruleDescription || "").trim() ? [_c("a", { on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckNow")))]), _c("span", { staticClass: "rule-status-hint" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckNowHint")))])] : _vm._e()], 2) : _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) {
|
|
2591
|
+
} } }), _vm.checkRuleFunc ? _c("div", { staticClass: "rule-status-row" }, [_vm.ruleCheck.state === "checking" ? [_c("ant-icon", { staticClass: "mr-1", attrs: { "type": "loading" } }), _vm._v(_vm._s(_vm.$t("message.aiCheckChecking")) + "\u2026 ")] : _vm.ruleCheck.state === "ready" ? [_c("span", { staticClass: "rule-status-ok" }, [_c("ant-icon", { staticClass: "mr-1", attrs: { "type": "check-circle" } }), _vm._v(_vm._s(_vm.$t("message.aiCheckReady")) + " \xB7 " + _vm._s(_vm.ruleCheck.types.join(", ")) + " ")], 1), _c("a", { staticClass: "ml-2", on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckAgain")))])] : _vm.ruleCheck.state === "wont" ? [_c("ant-popover", { attrs: { "content": _vm.$t("message.aiCheckWontReviewHint"), "overlay-style": { maxWidth: "380px" } } }, [_c("span", { staticClass: "rule-status-na" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckWontReview")))])])] : _vm.ruleCheck.state === "error" ? [_c("span", { staticClass: "rule-status-na" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckFailed")))]), _c("a", { staticClass: "ml-2", on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckAgain")))])] : (_vm.value.ruleDescription || "").trim() ? [_c("a", { on: { "click": _vm.checkRuleNow } }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckNow")))]), _c("span", { staticClass: "rule-status-hint" }, [_vm._v(_vm._s(_vm.$t("message.aiCheckCheckNowHint")))])] : _vm._e()], 2) : _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) {
|
|
2553
2592
|
return _vm.changeVal("sampleDocs", $event);
|
|
2554
2593
|
} } })], 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) {
|
|
2555
2594
|
return _vm.changeVal("tagList", $event);
|
|
@@ -2557,19 +2596,19 @@ var render$8 = function() {
|
|
|
2557
2596
|
return _vm.changeVal("allowSubmitWithoutFile", $event.target.checked);
|
|
2558
2597
|
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.notApplicable")) + " ")]) : _vm._e()], 1)], 1);
|
|
2559
2598
|
};
|
|
2560
|
-
var staticRenderFns$
|
|
2599
|
+
var staticRenderFns$9 = [];
|
|
2561
2600
|
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
2562
|
-
const __cssModules$
|
|
2563
|
-
var __component__$
|
|
2564
|
-
function __vue2_injectStyles$
|
|
2565
|
-
for (let o in __cssModules$
|
|
2566
|
-
this[o] = __cssModules$
|
|
2601
|
+
const __cssModules$9 = {};
|
|
2602
|
+
var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "ce2895d0", null, null);
|
|
2603
|
+
function __vue2_injectStyles$9(context) {
|
|
2604
|
+
for (let o in __cssModules$9) {
|
|
2605
|
+
this[o] = __cssModules$9[o];
|
|
2567
2606
|
}
|
|
2568
2607
|
}
|
|
2569
2608
|
var TaskForm = /* @__PURE__ */ function() {
|
|
2570
|
-
return __component__$
|
|
2609
|
+
return __component__$9.exports;
|
|
2571
2610
|
}();
|
|
2572
|
-
var __vue2_script$
|
|
2611
|
+
var __vue2_script$8 = defineComponent({
|
|
2573
2612
|
name: "NewTask",
|
|
2574
2613
|
components: {
|
|
2575
2614
|
AFileUploader,
|
|
@@ -2688,7 +2727,7 @@ var __vue2_script$7 = defineComponent({
|
|
|
2688
2727
|
};
|
|
2689
2728
|
}
|
|
2690
2729
|
});
|
|
2691
|
-
var render$
|
|
2730
|
+
var render$8 = function() {
|
|
2692
2731
|
var _vm = this;
|
|
2693
2732
|
var _h = _vm.$createElement;
|
|
2694
2733
|
var _c = _vm._self._c || _h;
|
|
@@ -2706,19 +2745,19 @@ var render$7 = function() {
|
|
|
2706
2745
|
return _vm.changeVal("allowSubmitWithoutFile", $event.target.checked);
|
|
2707
2746
|
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.allowSubmitWithoutFile")) + " ")]) : _vm._e()], 1);
|
|
2708
2747
|
};
|
|
2709
|
-
var staticRenderFns$
|
|
2748
|
+
var staticRenderFns$8 = [];
|
|
2710
2749
|
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
2711
|
-
const __cssModules$
|
|
2712
|
-
var __component__$
|
|
2713
|
-
function __vue2_injectStyles$
|
|
2714
|
-
for (let o in __cssModules$
|
|
2715
|
-
this[o] = __cssModules$
|
|
2750
|
+
const __cssModules$8 = {};
|
|
2751
|
+
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "c6f522a6", null, null);
|
|
2752
|
+
function __vue2_injectStyles$8(context) {
|
|
2753
|
+
for (let o in __cssModules$8) {
|
|
2754
|
+
this[o] = __cssModules$8[o];
|
|
2716
2755
|
}
|
|
2717
2756
|
}
|
|
2718
2757
|
var NewTask = /* @__PURE__ */ function() {
|
|
2719
|
-
return __component__$
|
|
2758
|
+
return __component__$8.exports;
|
|
2720
2759
|
}();
|
|
2721
|
-
var __vue2_script$
|
|
2760
|
+
var __vue2_script$7 = defineComponent({
|
|
2722
2761
|
name: "taskTemplateFilter",
|
|
2723
2762
|
components: {
|
|
2724
2763
|
AntInput: Input,
|
|
@@ -2764,7 +2803,7 @@ var __vue2_script$6 = defineComponent({
|
|
|
2764
2803
|
};
|
|
2765
2804
|
}
|
|
2766
2805
|
});
|
|
2767
|
-
var render$
|
|
2806
|
+
var render$7 = function() {
|
|
2768
2807
|
var _vm = this;
|
|
2769
2808
|
var _h = _vm.$createElement;
|
|
2770
2809
|
var _c = _vm._self._c || _h;
|
|
@@ -2778,17 +2817,17 @@ var render$6 = function() {
|
|
|
2778
2817
|
return _vm.changeVal("isEmployee", $event);
|
|
2779
2818
|
} } }, [_c("ant-checkbox", { attrs: { "value": _vm.AssigneeTypes.ATTORNEY } }, [_vm._v(_vm._s(_vm.$t("message.attorney")) + " ")]), _c("ant-checkbox", { attrs: { "value": _vm.AssigneeTypes.BENEFICIARY } }, [_vm._v(_vm._s(_vm.$t("message.beneficiary")) + " ")]), _c("ant-checkbox", { attrs: { "value": _vm.AssigneeTypes.PETITIONER } }, [_vm._v(_vm._s(_vm.$t("message.petitioner")) + " ")]), _c("ant-checkbox", { attrs: { "value": _vm.AssigneeTypes.EMPTY_DEFAULT } }, [_vm._v(_vm._s(_vm.$t("message.none")) + " ")])], 1)], 1)], 1);
|
|
2780
2819
|
};
|
|
2781
|
-
var staticRenderFns$
|
|
2820
|
+
var staticRenderFns$7 = [];
|
|
2782
2821
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
2783
|
-
const __cssModules$
|
|
2784
|
-
var __component__$
|
|
2785
|
-
function __vue2_injectStyles$
|
|
2786
|
-
for (let o in __cssModules$
|
|
2787
|
-
this[o] = __cssModules$
|
|
2822
|
+
const __cssModules$7 = {};
|
|
2823
|
+
var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "c5d917d8", null, null);
|
|
2824
|
+
function __vue2_injectStyles$7(context) {
|
|
2825
|
+
for (let o in __cssModules$7) {
|
|
2826
|
+
this[o] = __cssModules$7[o];
|
|
2788
2827
|
}
|
|
2789
2828
|
}
|
|
2790
2829
|
var TaskTemplateFilter = /* @__PURE__ */ function() {
|
|
2791
|
-
return __component__$
|
|
2830
|
+
return __component__$7.exports;
|
|
2792
2831
|
}();
|
|
2793
2832
|
function useVm() {
|
|
2794
2833
|
const scope = getCurrentScope();
|
|
@@ -2798,13 +2837,49 @@ function useT() {
|
|
|
2798
2837
|
const vm = useVm();
|
|
2799
2838
|
return (key) => vm.$i18n.t(key);
|
|
2800
2839
|
}
|
|
2840
|
+
var __vue2_script$6 = defineComponent({
|
|
2841
|
+
name: "AiReviewBadge",
|
|
2842
|
+
components: {
|
|
2843
|
+
AntTag: Tag,
|
|
2844
|
+
AntIcon: Icon,
|
|
2845
|
+
AntTooltip: Tooltip
|
|
2846
|
+
},
|
|
2847
|
+
props: {
|
|
2848
|
+
status: {
|
|
2849
|
+
type: String,
|
|
2850
|
+
default: "notset"
|
|
2851
|
+
},
|
|
2852
|
+
types: {
|
|
2853
|
+
type: Array,
|
|
2854
|
+
default: () => []
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
});
|
|
2858
|
+
var render$6 = function() {
|
|
2859
|
+
var _vm = this;
|
|
2860
|
+
var _h = _vm.$createElement;
|
|
2861
|
+
var _c = _vm._self._c || _h;
|
|
2862
|
+
return _c("span", { staticStyle: { "white-space": "nowrap" } }, [_vm.status === "ready" ? _c("ant-tooltip", { attrs: { "title": _vm.types.join(", ") } }, [_c("ant-tag", { staticStyle: { "margin": "0" }, attrs: { "color": "green" } }, [_c("ant-icon", { attrs: { "type": "check" } }), _vm._v(" " + _vm._s(_vm.$t("message.aiCheckReady"))), _vm.types.length ? [_vm._v(" \xB7 " + _vm._s(_vm.types.join(", ")))] : _vm._e()], 2)], 1) : _vm.status === "wont" ? _c("ant-tooltip", { attrs: { "title": _vm.$t("message.aiCheckWontReviewHint"), "overlay-style": { maxWidth: "320px" } } }, [_c("ant-tag", { staticStyle: { "margin": "0" } }, [_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);
|
|
2863
|
+
};
|
|
2864
|
+
var staticRenderFns$6 = [];
|
|
2865
|
+
const __cssModules$6 = {};
|
|
2866
|
+
var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, null, null, null);
|
|
2867
|
+
function __vue2_injectStyles$6(context) {
|
|
2868
|
+
for (let o in __cssModules$6) {
|
|
2869
|
+
this[o] = __cssModules$6[o];
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
var AiReviewBadge = /* @__PURE__ */ function() {
|
|
2873
|
+
return __component__$6.exports;
|
|
2874
|
+
}();
|
|
2801
2875
|
var __vue2_script$5 = defineComponent({
|
|
2802
2876
|
name: "TaskTablePure",
|
|
2803
2877
|
components: {
|
|
2804
2878
|
AntTable: Table,
|
|
2805
2879
|
AntButton: Button,
|
|
2806
2880
|
AssigneeTag,
|
|
2807
|
-
TagsWithTooltip
|
|
2881
|
+
TagsWithTooltip,
|
|
2882
|
+
AiReviewBadge
|
|
2808
2883
|
},
|
|
2809
2884
|
props: {
|
|
2810
2885
|
addedTasks: {
|
|
@@ -2830,12 +2905,16 @@ var __vue2_script$5 = defineComponent({
|
|
|
2830
2905
|
showEdit: {
|
|
2831
2906
|
type: Boolean,
|
|
2832
2907
|
default: true
|
|
2908
|
+
},
|
|
2909
|
+
showAiRule: {
|
|
2910
|
+
type: Boolean,
|
|
2911
|
+
default: false
|
|
2833
2912
|
}
|
|
2834
2913
|
},
|
|
2835
2914
|
setup(props) {
|
|
2836
2915
|
const { addedTasks } = toRefs(props);
|
|
2837
2916
|
const t = useT();
|
|
2838
|
-
const columns = [
|
|
2917
|
+
const columns = computed(() => [
|
|
2839
2918
|
{
|
|
2840
2919
|
title: t("message.taskName"),
|
|
2841
2920
|
dataIndex: "taskName",
|
|
@@ -2856,6 +2935,13 @@ var __vue2_script$5 = defineComponent({
|
|
|
2856
2935
|
width: 120,
|
|
2857
2936
|
scopedSlots: { customRender: "tagList" }
|
|
2858
2937
|
},
|
|
2938
|
+
...props.showAiRule ? [{
|
|
2939
|
+
title: t("message.aiCheckColumn"),
|
|
2940
|
+
dataIndex: "ruleDescription",
|
|
2941
|
+
key: "aiReview",
|
|
2942
|
+
width: 140,
|
|
2943
|
+
scopedSlots: { customRender: "aiReview" }
|
|
2944
|
+
}] : [],
|
|
2859
2945
|
{
|
|
2860
2946
|
title: "Operation",
|
|
2861
2947
|
dataIndex: "id",
|
|
@@ -2863,11 +2949,22 @@ var __vue2_script$5 = defineComponent({
|
|
|
2863
2949
|
width: 210,
|
|
2864
2950
|
scopedSlots: { customRender: "operation" }
|
|
2865
2951
|
}
|
|
2866
|
-
];
|
|
2952
|
+
]);
|
|
2953
|
+
const badgeMap = ref({});
|
|
2954
|
+
watch(() => [props.dataSource, props.showAiRule], async ([list, on]) => {
|
|
2955
|
+
if (!on || !(list == null ? void 0 : list.length))
|
|
2956
|
+
return;
|
|
2957
|
+
const entries = await Promise.all(list.map(async (r) => [r.id, await badgeOf(r)]));
|
|
2958
|
+
const next = __spreadValues({}, badgeMap.value);
|
|
2959
|
+
for (const [id, badge] of entries)
|
|
2960
|
+
next[id] = badge;
|
|
2961
|
+
badgeMap.value = next;
|
|
2962
|
+
}, { immediate: true });
|
|
2867
2963
|
const isTemplateAdded = (record) => addedTasks.value.some((added) => added.id === record.id);
|
|
2868
2964
|
return {
|
|
2869
2965
|
isTemplateAdded,
|
|
2870
|
-
columns
|
|
2966
|
+
columns,
|
|
2967
|
+
badgeMap
|
|
2871
2968
|
};
|
|
2872
2969
|
}
|
|
2873
2970
|
});
|
|
@@ -2883,6 +2980,8 @@ var render$5 = function() {
|
|
|
2883
2980
|
return _c("span", {}, [_c("span", { staticStyle: { "word-break": "break-word" } }, [_vm._v(_vm._s(taskName))])]);
|
|
2884
2981
|
} }, { key: "tagList", fn: function(tags) {
|
|
2885
2982
|
return [_c("tags-with-tooltip", { attrs: { "tags": tags } })];
|
|
2983
|
+
} }, { key: "aiReview", fn: function(_, record) {
|
|
2984
|
+
return [_c("ai-review-badge", { attrs: { "status": (_vm.badgeMap[record.id] || {}).s || "notset", "types": (_vm.badgeMap[record.id] || {}).types || [] } })];
|
|
2886
2985
|
} }, { key: "operation", fn: function(_, record) {
|
|
2887
2986
|
return [_vm.showEdit && record.isGallery ? _c("span", { staticStyle: { "width": "82px", "display": "inline-block", "color": "#999" } }, [_vm._v(" Preset ")]) : _vm.showEdit ? _c("ant-button", { staticClass: "mr-2", attrs: { "disabled": _vm.isTemplateAdded(record), "size": "small" }, on: { "click": function($event) {
|
|
2888
2987
|
return _vm.$emit("editTask", record);
|
|
@@ -2896,7 +2995,7 @@ var render$5 = function() {
|
|
|
2896
2995
|
var staticRenderFns$5 = [];
|
|
2897
2996
|
var TaskTablePure_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2898
2997
|
const __cssModules$5 = {};
|
|
2899
|
-
var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "
|
|
2998
|
+
var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "7ca72cd5", null, null);
|
|
2900
2999
|
function __vue2_injectStyles$5(context) {
|
|
2901
3000
|
for (let o in __cssModules$5) {
|
|
2902
3001
|
this[o] = __cssModules$5[o];
|
|
@@ -3056,6 +3155,10 @@ var __vue2_script$4 = defineComponent({
|
|
|
3056
3155
|
withGallery: {
|
|
3057
3156
|
type: Boolean,
|
|
3058
3157
|
default: true
|
|
3158
|
+
},
|
|
3159
|
+
showAiRule: {
|
|
3160
|
+
type: Boolean,
|
|
3161
|
+
default: false
|
|
3059
3162
|
}
|
|
3060
3163
|
},
|
|
3061
3164
|
setup(props, { emit }) {
|
|
@@ -3087,13 +3190,13 @@ var render$4 = function() {
|
|
|
3087
3190
|
var _h = _vm.$createElement;
|
|
3088
3191
|
var _c = _vm._self._c || _h;
|
|
3089
3192
|
return _c("div", [_vm._t("default", function() {
|
|
3090
|
-
return [_c("task-table-pure", { attrs: { "loading": _vm.loading, "data-source": _vm.dataSource, "pagination": _vm.pagination, "added-tasks": _vm.addedTasks }, on: { "editTask": _vm.editTask, "addTask": _vm.addTask, "removeTask": _vm.removeTask, "changePagination": _vm.changePagination } })];
|
|
3193
|
+
return [_c("task-table-pure", { attrs: { "loading": _vm.loading, "data-source": _vm.dataSource, "pagination": _vm.pagination, "added-tasks": _vm.addedTasks, "show-ai-rule": _vm.showAiRule }, on: { "editTask": _vm.editTask, "addTask": _vm.addTask, "removeTask": _vm.removeTask, "changePagination": _vm.changePagination } })];
|
|
3091
3194
|
}, { "loading": _vm.loading, "dataSource": _vm.dataSource, "pagination": _vm.pagination, "AssigneeTypesText": _vm.AssigneeTypesText, "changePagination": _vm.changePagination })], 2);
|
|
3092
3195
|
};
|
|
3093
3196
|
var staticRenderFns$4 = [];
|
|
3094
3197
|
var TaskTable_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
3095
3198
|
const __cssModules$4 = {};
|
|
3096
|
-
var __component__$4 = /* @__PURE__ */ normalizeComponent(__vue2_script$4, render$4, staticRenderFns$4, false, __vue2_injectStyles$4, "
|
|
3199
|
+
var __component__$4 = /* @__PURE__ */ normalizeComponent(__vue2_script$4, render$4, staticRenderFns$4, false, __vue2_injectStyles$4, "079a9f4b", null, null);
|
|
3097
3200
|
function __vue2_injectStyles$4(context) {
|
|
3098
3201
|
for (let o in __cssModules$4) {
|
|
3099
3202
|
this[o] = __cssModules$4[o];
|
|
@@ -3144,6 +3247,10 @@ var __vue2_script$3 = defineComponent({
|
|
|
3144
3247
|
showNewBtn: {
|
|
3145
3248
|
type: Boolean,
|
|
3146
3249
|
default: true
|
|
3250
|
+
},
|
|
3251
|
+
showAiRule: {
|
|
3252
|
+
type: Boolean,
|
|
3253
|
+
default: false
|
|
3147
3254
|
}
|
|
3148
3255
|
},
|
|
3149
3256
|
setup(props, { emit }) {
|
|
@@ -3176,11 +3283,11 @@ var render$3 = function() {
|
|
|
3176
3283
|
} } }, [_vm._v("Cancel ")]), _c("ant-badge", { attrs: { "count": _vm.addedTasks.length } }, [_c("ant-button", { attrs: { "disabled": _vm.addedTasks.length === 0, "type": "primary" }, on: { "click": function($event) {
|
|
3177
3284
|
return _vm.$emit("update:reviewModalVisible", true);
|
|
3178
3285
|
} } }, [_vm._v(" " + _vm._s(_vm.openReviewButtonText) + " ")])], 1)];
|
|
3179
|
-
}, proxy: true }]) }, [_c("task-template-filter", { attrs: { "show-task-home-page-link": true, "show-task-setting-link": _vm.showTaskSettingLink, "conditions": _vm.conditions, "inline": !!_vm.showPage, "show-new-btn": _vm.showNewBtn }, on: { "update:conditions": function($event) {
|
|
3286
|
+
}, proxy: true }]) }, [_vm._t("header"), _c("task-template-filter", { attrs: { "show-task-home-page-link": true, "show-task-setting-link": _vm.showTaskSettingLink, "conditions": _vm.conditions, "inline": !!_vm.showPage, "show-new-btn": _vm.showNewBtn }, on: { "update:conditions": function($event) {
|
|
3180
3287
|
_vm.conditions = $event;
|
|
3181
3288
|
}, "update:newTaskVisible": function($event) {
|
|
3182
3289
|
return _vm.$emit("update:newTaskVisible", true);
|
|
3183
|
-
} } }), _c("task-table", { ref: "taskTable", attrs: { "conditions": _vm.conditions, "added-tasks": _vm.addedTasks, "law-firm-id": _vm.lawFirmId, "page-size": _vm.pageSize, "with-gallery": _vm.withGallery }, on: { "update:addedTasks": function($event) {
|
|
3290
|
+
} } }), _c("task-table", { ref: "taskTable", attrs: { "conditions": _vm.conditions, "added-tasks": _vm.addedTasks, "law-firm-id": _vm.lawFirmId, "page-size": _vm.pageSize, "with-gallery": _vm.withGallery, "show-ai-rule": _vm.showAiRule }, on: { "update:addedTasks": function($event) {
|
|
3184
3291
|
return _vm.$emit("update:addedTasks", $event);
|
|
3185
3292
|
}, "editTask": function($event) {
|
|
3186
3293
|
return _vm.$emit("editTask", $event);
|
|
@@ -3190,12 +3297,12 @@ var render$3 = function() {
|
|
|
3190
3297
|
var pagination = ref2.pagination;
|
|
3191
3298
|
var changePagination = ref2.changePagination;
|
|
3192
3299
|
return [_vm._t("default", null, { "editAction": _vm.editAction, "loading": loading, "dataSource": dataSource, "pagination": pagination, "changePagination": changePagination })];
|
|
3193
|
-
} }], null, true) })],
|
|
3300
|
+
} }], null, true) })], 2);
|
|
3194
3301
|
};
|
|
3195
3302
|
var staticRenderFns$3 = [];
|
|
3196
3303
|
var MainModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
3197
3304
|
const __cssModules$3 = {};
|
|
3198
|
-
var __component__$3 = /* @__PURE__ */ normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, "
|
|
3305
|
+
var __component__$3 = /* @__PURE__ */ normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, "e416d0ae", null, null);
|
|
3199
3306
|
function __vue2_injectStyles$3(context) {
|
|
3200
3307
|
for (let o in __cssModules$3) {
|
|
3201
3308
|
this[o] = __cssModules$3[o];
|
|
@@ -3558,7 +3665,7 @@ var render$1 = function() {
|
|
|
3558
3665
|
var _vm = this;
|
|
3559
3666
|
var _h = _vm.$createElement;
|
|
3560
3667
|
var _c = _vm._self._c || _h;
|
|
3561
|
-
return _vm.lawFirmId != null ? _c("div", { attrs: { "id": "venus-component-task-cart" } }, [_c("main-modal", { ref: "mainModal", attrs: { "visible": _vm.visible, "show-page": _vm.pageMode, "page-size": _vm.pageSize, "law-firm-id": _vm.lawFirmId, "tempTask": _vm.tempTask, "show-new-btn": _vm.showNewBtn, "with-gallery": _vm.withGallery, "added-tasks": _vm.addedTasks, "newTaskVisible": _vm.newTaskVisible, "show-task-setting-link": _vm.showTaskSettingLink, "reviewModalVisible": _vm.reviewModalVisible, "open-review-button-text": _vm.openReviewButtonText }, on: { "update:tempTask": function($event) {
|
|
3668
|
+
return _vm.lawFirmId != null ? _c("div", { attrs: { "id": "venus-component-task-cart" } }, [_c("main-modal", { ref: "mainModal", attrs: { "visible": _vm.visible, "show-page": _vm.pageMode, "page-size": _vm.pageSize, "law-firm-id": _vm.lawFirmId, "tempTask": _vm.tempTask, "show-new-btn": _vm.showNewBtn, "with-gallery": _vm.withGallery, "added-tasks": _vm.addedTasks, "newTaskVisible": _vm.newTaskVisible, "show-task-setting-link": _vm.showTaskSettingLink, "reviewModalVisible": _vm.reviewModalVisible, "open-review-button-text": _vm.openReviewButtonText, "show-ai-rule": _vm.showAiRule }, on: { "update:tempTask": function($event) {
|
|
3562
3669
|
_vm.tempTask = $event;
|
|
3563
3670
|
}, "update:temp-task": function($event) {
|
|
3564
3671
|
_vm.tempTask = $event;
|
|
@@ -3582,7 +3689,7 @@ var render$1 = function() {
|
|
|
3582
3689
|
var pagination = ref2.pagination;
|
|
3583
3690
|
var changePagination = ref2.changePagination;
|
|
3584
3691
|
return [_vm._t("table", null, { "loading": loading, "dataSource": dataSource, "pagination": pagination, "changePagination": changePagination })];
|
|
3585
|
-
} }], null, true) }), _c("review-modal", { ref: "reviewModal", attrs: { "adding": _vm.adding, "sendEmail": _vm.sendEmail, "allow-clear": _vm.allowClear, "tempTask": _vm.tempTask, "review-text": _vm.reviewText, "added-tasks": _vm.addedTasks, "showSendEmail": _vm.showSendEmail, "visible": _vm.reviewModalVisible, "newTaskVisible": _vm.newTaskVisible }, on: { "update:tempTask": function($event) {
|
|
3692
|
+
} }], null, true) }, [_c("template", { slot: "header" }, [_vm._t("header")], 2)], 2), _c("review-modal", { ref: "reviewModal", attrs: { "adding": _vm.adding, "sendEmail": _vm.sendEmail, "allow-clear": _vm.allowClear, "tempTask": _vm.tempTask, "review-text": _vm.reviewText, "added-tasks": _vm.addedTasks, "showSendEmail": _vm.showSendEmail, "visible": _vm.reviewModalVisible, "newTaskVisible": _vm.newTaskVisible }, on: { "update:tempTask": function($event) {
|
|
3586
3693
|
_vm.tempTask = $event;
|
|
3587
3694
|
}, "update:temp-task": function($event) {
|
|
3588
3695
|
_vm.tempTask = $event;
|
|
@@ -3607,7 +3714,7 @@ var render$1 = function() {
|
|
|
3607
3714
|
var staticRenderFns$1 = [];
|
|
3608
3715
|
var index_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
3609
3716
|
const __cssModules$1 = {};
|
|
3610
|
-
var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "
|
|
3717
|
+
var __component__$1 = /* @__PURE__ */ normalizeComponent(__vue2_script$1, render$1, staticRenderFns$1, false, __vue2_injectStyles$1, "b3369b56", null, null);
|
|
3611
3718
|
function __vue2_injectStyles$1(context) {
|
|
3612
3719
|
for (let o in __cssModules$1) {
|
|
3613
3720
|
this[o] = __cssModules$1[o];
|