@ailaw/venus 0.4.3 → 0.4.7
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/en3.js +10 -1
- package/dist/style.css +1 -1
- package/dist/venus.es.js +328 -180
- package/package.json +3 -2
package/dist/en3.js
CHANGED
|
@@ -819,6 +819,7 @@ var lang3 = {
|
|
|
819
819
|
selectedEmailAddresses: "email addresses have been selected.",
|
|
820
820
|
StartDate: "Start Date",
|
|
821
821
|
caseTemplateManagement: "Case Template Management",
|
|
822
|
+
caseTemplate: "Case Template",
|
|
822
823
|
caseTemplates: "Case Templates",
|
|
823
824
|
selectSourceTemplate: "Select Source Template",
|
|
824
825
|
fromGallery: "From Gallery",
|
|
@@ -833,6 +834,11 @@ var lang3 = {
|
|
|
833
834
|
changeNotSave: "Do you want to leave this page? Your changes won't be saved.",
|
|
834
835
|
deleteCaseTemplate: "Do you confirm to delete this case template? This action is permanent and cannot be undone.",
|
|
835
836
|
noTemplateSelected: "Select a template/case to preview",
|
|
837
|
+
smart: "Smart",
|
|
838
|
+
classic: "Classic",
|
|
839
|
+
custom: "Custom",
|
|
840
|
+
gallery: "Gallery",
|
|
841
|
+
templates: "Templates",
|
|
836
842
|
taskName: "Task Name",
|
|
837
843
|
assignee: "Assignee",
|
|
838
844
|
descriptions: "Descriptions",
|
|
@@ -871,6 +877,9 @@ var lang3 = {
|
|
|
871
877
|
searchTaskPlaceholder: "Search Task name/Tag",
|
|
872
878
|
taskManagement: "Task Management",
|
|
873
879
|
addFromList: "Add from list",
|
|
874
|
-
createANewTask: "Create a new task"
|
|
880
|
+
createANewTask: "Create a new task",
|
|
881
|
+
choosePreparer: "Choose a preparer",
|
|
882
|
+
choosePetitioner: "Choose a petitioner",
|
|
883
|
+
chooseIndividual: "Choose an individual"
|
|
875
884
|
};
|
|
876
885
|
export { lang3 as default };
|
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}*,: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}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mr-2{margin-right:.5rem}.mb-5{margin-bottom:1.25rem}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.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)}}.items-center{align-items:center}.justify-end{justify-content:flex-end}.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)))}.border{border-width:1px}.p-4{padding:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.capitalize{text-transform:capitalize}.text-secondary{--tw-text-opacity: 1;color:rgba(102,102,102,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)}.
|
|
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}*,: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}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mr-2{margin-right:.5rem}.mb-5{margin-bottom:1.25rem}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.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)}}.items-center{align-items:center}.justify-end{justify-content:flex-end}.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}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.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)}.min-w-80[data-v-5ca33108]{min-width:320px}.container[data-v-38dac57e]{border:1px solid #cccccc;border-radius:6px;padding:0 4px;min-height:30px;cursor:pointer}.tags-container[data-v-18554545]{word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.taskTemplateInline[data-v-c3a26010]{float:right}a.taskTemplateInline[data-v-c3a26010]{margin-left:10px}div.taskTemplateInline[data-v-c3a26010]{margin-top:5px!important}
|
package/dist/venus.es.js
CHANGED
|
@@ -18,11 +18,11 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { defineComponent, ref, watch, computed, toRefs, getCurrentScope, shallowRef } from "vue-demi";
|
|
21
|
-
import { Select, Modal, Form, Input, Checkbox, Divider, Button, Tag, Tooltip,
|
|
21
|
+
import { Select, Modal, Form, Input, Checkbox, Divider, Button, Upload, Tag, Tooltip, Row, Col, Radio, Popconfirm, Table, Badge, Card, message } from "ant-design-vue";
|
|
22
22
|
import { useQuery, useResult, useMutation, useApolloClient } from "@vue/apollo-composable";
|
|
23
23
|
import gql from "graphql-tag";
|
|
24
24
|
import { path, uniqBy, prop } from "ramda";
|
|
25
|
-
var index$
|
|
25
|
+
var index$5 = "";
|
|
26
26
|
function __variableDynamicImportRuntime0__$1(path2) {
|
|
27
27
|
switch (path2) {
|
|
28
28
|
case "./icons/attorney.svg":
|
|
@@ -37,7 +37,7 @@ function __variableDynamicImportRuntime0__$1(path2) {
|
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
var __vue2_script$
|
|
40
|
+
var __vue2_script$k = defineComponent({
|
|
41
41
|
props: {
|
|
42
42
|
type: {
|
|
43
43
|
type: String,
|
|
@@ -64,13 +64,13 @@ var __vue2_script$h = defineComponent({
|
|
|
64
64
|
return { iconUrl };
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
|
-
var render$
|
|
67
|
+
var render$k = function() {
|
|
68
68
|
var _vm = this;
|
|
69
69
|
var _h = _vm.$createElement;
|
|
70
70
|
var _c = _vm._self._c || _h;
|
|
71
71
|
return _c("img", { staticClass: "w-6 h-6", attrs: { "src": _vm.iconUrl, "alt": _vm.type } });
|
|
72
72
|
};
|
|
73
|
-
var staticRenderFns$
|
|
73
|
+
var staticRenderFns$k = [];
|
|
74
74
|
function normalizeComponent(scriptExports, render2, staticRenderFns2, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
75
75
|
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
76
76
|
if (render2) {
|
|
@@ -122,17 +122,17 @@ function normalizeComponent(scriptExports, render2, staticRenderFns2, functional
|
|
|
122
122
|
options
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
const __cssModules$
|
|
126
|
-
var __component__$
|
|
127
|
-
function __vue2_injectStyles$
|
|
128
|
-
for (let o in __cssModules$
|
|
129
|
-
this[o] = __cssModules$
|
|
125
|
+
const __cssModules$k = {};
|
|
126
|
+
var __component__$k = /* @__PURE__ */ normalizeComponent(__vue2_script$k, render$k, staticRenderFns$k, false, __vue2_injectStyles$k, null, null, null);
|
|
127
|
+
function __vue2_injectStyles$k(context) {
|
|
128
|
+
for (let o in __cssModules$k) {
|
|
129
|
+
this[o] = __cssModules$k[o];
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
var ProfileTypeIcon = /* @__PURE__ */ function() {
|
|
133
|
-
return __component__$
|
|
133
|
+
return __component__$k.exports;
|
|
134
134
|
}();
|
|
135
|
-
var __vue2_script$
|
|
135
|
+
var __vue2_script$j = defineComponent({
|
|
136
136
|
props: {
|
|
137
137
|
source: {
|
|
138
138
|
type: Object,
|
|
@@ -141,22 +141,22 @@ var __vue2_script$g = defineComponent({
|
|
|
141
141
|
},
|
|
142
142
|
components: { ProfileTypeIcon }
|
|
143
143
|
});
|
|
144
|
-
var render$
|
|
144
|
+
var render$j = function() {
|
|
145
145
|
var _vm = this;
|
|
146
146
|
var _h = _vm.$createElement;
|
|
147
147
|
var _c = _vm._self._c || _h;
|
|
148
148
|
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);
|
|
149
149
|
};
|
|
150
|
-
var staticRenderFns$
|
|
151
|
-
const __cssModules$
|
|
152
|
-
var __component__$
|
|
153
|
-
function __vue2_injectStyles$
|
|
154
|
-
for (let o in __cssModules$
|
|
155
|
-
this[o] = __cssModules$
|
|
150
|
+
var staticRenderFns$j = [];
|
|
151
|
+
const __cssModules$j = {};
|
|
152
|
+
var __component__$j = /* @__PURE__ */ normalizeComponent(__vue2_script$j, render$j, staticRenderFns$j, false, __vue2_injectStyles$j, null, null, null);
|
|
153
|
+
function __vue2_injectStyles$j(context) {
|
|
154
|
+
for (let o in __cssModules$j) {
|
|
155
|
+
this[o] = __cssModules$j[o];
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
var ProfileSelectItem = /* @__PURE__ */ function() {
|
|
159
|
-
return __component__$
|
|
159
|
+
return __component__$j.exports;
|
|
160
160
|
}();
|
|
161
161
|
const meQuery = gql`
|
|
162
162
|
query Me {
|
|
@@ -241,7 +241,7 @@ const profileTypes = {
|
|
|
241
241
|
CLIENTPROFILE: "Company",
|
|
242
242
|
PREPARERPROFILE: "Attorney"
|
|
243
243
|
};
|
|
244
|
-
var __vue2_script$
|
|
244
|
+
var __vue2_script$i = defineComponent({
|
|
245
245
|
props: {
|
|
246
246
|
value: {
|
|
247
247
|
type: String
|
|
@@ -261,7 +261,7 @@ var __vue2_script$f = defineComponent({
|
|
|
261
261
|
return { profileTypes, handleChange };
|
|
262
262
|
}
|
|
263
263
|
});
|
|
264
|
-
var render$
|
|
264
|
+
var render$i = function() {
|
|
265
265
|
var _vm = this;
|
|
266
266
|
var _h = _vm.$createElement;
|
|
267
267
|
var _c = _vm._self._c || _h;
|
|
@@ -269,18 +269,18 @@ var render$f = function() {
|
|
|
269
269
|
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)]);
|
|
270
270
|
}), 1);
|
|
271
271
|
};
|
|
272
|
-
var staticRenderFns$
|
|
273
|
-
const __cssModules$
|
|
274
|
-
var __component__$
|
|
275
|
-
function __vue2_injectStyles$
|
|
276
|
-
for (let o in __cssModules$
|
|
277
|
-
this[o] = __cssModules$
|
|
272
|
+
var staticRenderFns$i = [];
|
|
273
|
+
const __cssModules$i = {};
|
|
274
|
+
var __component__$i = /* @__PURE__ */ normalizeComponent(__vue2_script$i, render$i, staticRenderFns$i, false, __vue2_injectStyles$i, null, null, null);
|
|
275
|
+
function __vue2_injectStyles$i(context) {
|
|
276
|
+
for (let o in __cssModules$i) {
|
|
277
|
+
this[o] = __cssModules$i[o];
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
var ProfileTypeSelect = /* @__PURE__ */ function() {
|
|
281
|
-
return __component__$
|
|
281
|
+
return __component__$i.exports;
|
|
282
282
|
}();
|
|
283
|
-
var __vue2_script$
|
|
283
|
+
var __vue2_script$h = defineComponent({
|
|
284
284
|
components: {
|
|
285
285
|
Modal,
|
|
286
286
|
Form,
|
|
@@ -317,7 +317,7 @@ var __vue2_script$e = defineComponent({
|
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
319
|
});
|
|
320
|
-
var render$
|
|
320
|
+
var render$h = function() {
|
|
321
321
|
var _vm = this;
|
|
322
322
|
var _h = _vm.$createElement;
|
|
323
323
|
var _c = _vm._self._c || _h;
|
|
@@ -331,18 +331,18 @@ var render$e = function() {
|
|
|
331
331
|
_vm.shouldSendPassword = $$v;
|
|
332
332
|
}, expression: "shouldSendPassword" } }, [_vm._v("Send client portal login password (System will email client a login password)")])], 1)], 1)], 1);
|
|
333
333
|
};
|
|
334
|
-
var staticRenderFns$
|
|
335
|
-
const __cssModules$
|
|
336
|
-
var __component__$
|
|
337
|
-
function __vue2_injectStyles$
|
|
338
|
-
for (let o in __cssModules$
|
|
339
|
-
this[o] = __cssModules$
|
|
334
|
+
var staticRenderFns$h = [];
|
|
335
|
+
const __cssModules$h = {};
|
|
336
|
+
var __component__$h = /* @__PURE__ */ normalizeComponent(__vue2_script$h, render$h, staticRenderFns$h, false, __vue2_injectStyles$h, null, null, null);
|
|
337
|
+
function __vue2_injectStyles$h(context) {
|
|
338
|
+
for (let o in __cssModules$h) {
|
|
339
|
+
this[o] = __cssModules$h[o];
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
var ProfileCreateModal = /* @__PURE__ */ function() {
|
|
343
|
-
return __component__$
|
|
343
|
+
return __component__$h.exports;
|
|
344
344
|
}();
|
|
345
|
-
var __vue2_script$
|
|
345
|
+
var __vue2_script$g = defineComponent({
|
|
346
346
|
props: {
|
|
347
347
|
value: {
|
|
348
348
|
type: Object
|
|
@@ -387,7 +387,7 @@ var __vue2_script$d = defineComponent({
|
|
|
387
387
|
};
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
|
-
var render$
|
|
390
|
+
var render$g = function() {
|
|
391
391
|
var _vm = this;
|
|
392
392
|
var _h = _vm.$createElement;
|
|
393
393
|
var _c = _vm._self._c || _h;
|
|
@@ -397,16 +397,16 @@ var render$d = function() {
|
|
|
397
397
|
return _c("Option", { key: v.id, attrs: { "value": v.id } }, [_c("ProfileSelectItem", { attrs: { "source": v } })], 1);
|
|
398
398
|
}), 1);
|
|
399
399
|
};
|
|
400
|
-
var staticRenderFns$
|
|
401
|
-
const __cssModules$
|
|
402
|
-
var __component__$
|
|
403
|
-
function __vue2_injectStyles$
|
|
404
|
-
for (let o in __cssModules$
|
|
405
|
-
this[o] = __cssModules$
|
|
400
|
+
var staticRenderFns$g = [];
|
|
401
|
+
const __cssModules$g = {};
|
|
402
|
+
var __component__$g = /* @__PURE__ */ normalizeComponent(__vue2_script$g, render$g, staticRenderFns$g, false, __vue2_injectStyles$g, null, null, null);
|
|
403
|
+
function __vue2_injectStyles$g(context) {
|
|
404
|
+
for (let o in __cssModules$g) {
|
|
405
|
+
this[o] = __cssModules$g[o];
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
var ProfileSelector = /* @__PURE__ */ function() {
|
|
409
|
-
return __component__$
|
|
409
|
+
return __component__$g.exports;
|
|
410
410
|
}();
|
|
411
411
|
function useProfiles(keywords, onlyRole, profileIds) {
|
|
412
412
|
const me = useMe();
|
|
@@ -424,7 +424,7 @@ function useProfiles(keywords, onlyRole, profileIds) {
|
|
|
424
424
|
const profiles = useResult(result, [], (data) => data.profileSearch.profileList);
|
|
425
425
|
return { profiles, loading };
|
|
426
426
|
}
|
|
427
|
-
var __vue2_script$
|
|
427
|
+
var __vue2_script$f = defineComponent({
|
|
428
428
|
components: { ProfileSelector, ProfileCreateModal },
|
|
429
429
|
props: {
|
|
430
430
|
value: {
|
|
@@ -439,7 +439,7 @@ var __vue2_script$c = defineComponent({
|
|
|
439
439
|
},
|
|
440
440
|
preLoaded: {
|
|
441
441
|
type: Array,
|
|
442
|
-
default: []
|
|
442
|
+
default: () => []
|
|
443
443
|
},
|
|
444
444
|
profileIds: {
|
|
445
445
|
type: Array
|
|
@@ -476,7 +476,7 @@ var __vue2_script$c = defineComponent({
|
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
478
|
});
|
|
479
|
-
var render$
|
|
479
|
+
var render$f = function() {
|
|
480
480
|
var _vm = this;
|
|
481
481
|
var _h = _vm.$createElement;
|
|
482
482
|
var _c = _vm._self._c || _h;
|
|
@@ -486,9 +486,153 @@ var render$c = function() {
|
|
|
486
486
|
return _vm.toggleModal(false);
|
|
487
487
|
}, "profile-created": _vm.handleProfileCreated } }) : _vm._e()], 1);
|
|
488
488
|
};
|
|
489
|
+
var staticRenderFns$f = [];
|
|
490
|
+
const __cssModules$f = {};
|
|
491
|
+
var __component__$f = /* @__PURE__ */ normalizeComponent(__vue2_script$f, render$f, staticRenderFns$f, false, __vue2_injectStyles$f, null, null, null);
|
|
492
|
+
function __vue2_injectStyles$f(context) {
|
|
493
|
+
for (let o in __cssModules$f) {
|
|
494
|
+
this[o] = __cssModules$f[o];
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
var index$4 = /* @__PURE__ */ function() {
|
|
498
|
+
return __component__$f.exports;
|
|
499
|
+
}();
|
|
500
|
+
const queryAllCaseTemplates = gql`
|
|
501
|
+
query AllCaseTemplates($lawFirmId: Int!) {
|
|
502
|
+
gallery: galleryCaseTemplateList(selfLawFirmId: $lawFirmId) {
|
|
503
|
+
id
|
|
504
|
+
isSmart
|
|
505
|
+
templateName
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
custom: customCaseTemplateList(selfLawFirmId: $lawFirmId) {
|
|
509
|
+
id
|
|
510
|
+
isSmart
|
|
511
|
+
templateName
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
`;
|
|
515
|
+
function useCaseTemplates() {
|
|
516
|
+
const me = useMe();
|
|
517
|
+
const { result, loading } = useQuery(queryAllCaseTemplates, () => {
|
|
518
|
+
var _a;
|
|
519
|
+
return {
|
|
520
|
+
lawFirmId: (_a = me.value) == null ? void 0 : _a.lawFirmId
|
|
521
|
+
};
|
|
522
|
+
}, () => ({
|
|
523
|
+
enabled: me.value != null
|
|
524
|
+
}));
|
|
525
|
+
const templates = useResult(result);
|
|
526
|
+
return { templates, loading };
|
|
527
|
+
}
|
|
528
|
+
var __vue2_script$e = defineComponent({
|
|
529
|
+
props: {
|
|
530
|
+
isSmart: {
|
|
531
|
+
type: Boolean
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
setup() {
|
|
535
|
+
}
|
|
536
|
+
});
|
|
537
|
+
var render$e = function() {
|
|
538
|
+
var _vm = this;
|
|
539
|
+
var _h = _vm.$createElement;
|
|
540
|
+
var _c = _vm._self._c || _h;
|
|
541
|
+
return _c("div", { staticClass: "border border-solid rounded px-2 leading-5", class: {
|
|
542
|
+
"text-smart bg-purple border-light-purple": _vm.isSmart,
|
|
543
|
+
"text-classic bg-blue border-light-blue": !_vm.isSmart
|
|
544
|
+
} }, [_vm._v(" " + _vm._s(_vm.isSmart ? _vm.$t("message.smart") : _vm.$t("message.classic")) + " ")]);
|
|
545
|
+
};
|
|
546
|
+
var staticRenderFns$e = [];
|
|
547
|
+
const __cssModules$e = {};
|
|
548
|
+
var __component__$e = /* @__PURE__ */ normalizeComponent(__vue2_script$e, render$e, staticRenderFns$e, false, __vue2_injectStyles$e, null, null, null);
|
|
549
|
+
function __vue2_injectStyles$e(context) {
|
|
550
|
+
for (let o in __cssModules$e) {
|
|
551
|
+
this[o] = __cssModules$e[o];
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
var CaseTemplateTypeBadge = /* @__PURE__ */ function() {
|
|
555
|
+
return __component__$e.exports;
|
|
556
|
+
}();
|
|
557
|
+
var __vue2_script$d = defineComponent({
|
|
558
|
+
props: {
|
|
559
|
+
source: {
|
|
560
|
+
type: Object,
|
|
561
|
+
required: true
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
components: { CaseTemplateTypeBadge },
|
|
565
|
+
setup() {
|
|
566
|
+
}
|
|
567
|
+
});
|
|
568
|
+
var render$d = function() {
|
|
569
|
+
var _vm = this;
|
|
570
|
+
var _h = _vm.$createElement;
|
|
571
|
+
var _c = _vm._self._c || _h;
|
|
572
|
+
return _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);
|
|
573
|
+
};
|
|
574
|
+
var staticRenderFns$d = [];
|
|
575
|
+
const __cssModules$d = {};
|
|
576
|
+
var __component__$d = /* @__PURE__ */ normalizeComponent(__vue2_script$d, render$d, staticRenderFns$d, false, __vue2_injectStyles$d, null, null, null);
|
|
577
|
+
function __vue2_injectStyles$d(context) {
|
|
578
|
+
for (let o in __cssModules$d) {
|
|
579
|
+
this[o] = __cssModules$d[o];
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
var CaseTemplateOption = /* @__PURE__ */ function() {
|
|
583
|
+
return __component__$d.exports;
|
|
584
|
+
}();
|
|
585
|
+
var __vue2_script$c = defineComponent({
|
|
586
|
+
props: {
|
|
587
|
+
value: {
|
|
588
|
+
type: Object
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
components: {
|
|
592
|
+
ASelect: Select,
|
|
593
|
+
AOption: Select.Option,
|
|
594
|
+
AOptionGroup: Select.OptGroup,
|
|
595
|
+
CaseTemplateOption
|
|
596
|
+
},
|
|
597
|
+
setup(props, { emit }) {
|
|
598
|
+
const { templates } = useCaseTemplates();
|
|
599
|
+
const customTemplates = computed(() => {
|
|
600
|
+
var _a, _b;
|
|
601
|
+
return (_b = (_a = templates.value) == null ? void 0 : _a.custom) != null ? _b : [];
|
|
602
|
+
});
|
|
603
|
+
const galleryTemplates = computed(() => {
|
|
604
|
+
var _a, _b;
|
|
605
|
+
return (_b = (_a = templates.value) == null ? void 0 : _a.gallery) != null ? _b : [];
|
|
606
|
+
});
|
|
607
|
+
const allTemplates = computed(() => [
|
|
608
|
+
...customTemplates.value,
|
|
609
|
+
...galleryTemplates.value
|
|
610
|
+
]);
|
|
611
|
+
const selectedId = computed(() => {
|
|
612
|
+
var _a;
|
|
613
|
+
return (_a = props.value) == null ? void 0 : _a.id;
|
|
614
|
+
});
|
|
615
|
+
const onChange = (value) => {
|
|
616
|
+
const result = allTemplates.value.find((v) => v.id === value);
|
|
617
|
+
emit("update:value", result);
|
|
618
|
+
};
|
|
619
|
+
return { customTemplates, galleryTemplates, selectedId, onChange };
|
|
620
|
+
}
|
|
621
|
+
});
|
|
622
|
+
var render$c = function() {
|
|
623
|
+
var _vm = this;
|
|
624
|
+
var _h = _vm.$createElement;
|
|
625
|
+
var _c = _vm._self._c || _h;
|
|
626
|
+
return _c("a-select", _vm._b({ staticClass: "min-w-80", attrs: { "value": _vm.selectedId }, on: { "change": _vm.onChange } }, "a-select", _vm.$attrs, false), [_c("a-option-group", { attrs: { "label": [_vm.$t("message.custom"), _vm.$t("message.templates")].join(" ") } }, _vm._l(_vm.customTemplates, function(v) {
|
|
627
|
+
return _c("a-option", { key: v.id, attrs: { "value": v.id } }, [_c("CaseTemplateOption", { attrs: { "source": v } })], 1);
|
|
628
|
+
}), 1), _c("a-option-group", { attrs: { "label": [_vm.$t("message.gallery"), _vm.$t("message.templates")].join(" ") } }, _vm._l(_vm.galleryTemplates, function(v) {
|
|
629
|
+
return _c("a-option", { key: v.id, attrs: { "value": v.id } }, [_c("CaseTemplateOption", { attrs: { "source": v } })], 1);
|
|
630
|
+
}), 1)], 1);
|
|
631
|
+
};
|
|
489
632
|
var staticRenderFns$c = [];
|
|
633
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$7 = "";
|
|
490
634
|
const __cssModules$c = {};
|
|
491
|
-
var __component__$c = /* @__PURE__ */ normalizeComponent(__vue2_script$c, render$c, staticRenderFns$c, false, __vue2_injectStyles$c,
|
|
635
|
+
var __component__$c = /* @__PURE__ */ normalizeComponent(__vue2_script$c, render$c, staticRenderFns$c, false, __vue2_injectStyles$c, "5ca33108", null, null);
|
|
492
636
|
function __vue2_injectStyles$c(context) {
|
|
493
637
|
for (let o in __cssModules$c) {
|
|
494
638
|
this[o] = __cssModules$c[o];
|
|
@@ -707,122 +851,6 @@ var index$2 = [
|
|
|
707
851
|
i864,
|
|
708
852
|
i864a
|
|
709
853
|
];
|
|
710
|
-
var AssigneeTypes;
|
|
711
|
-
(function(AssigneeTypes2) {
|
|
712
|
-
AssigneeTypes2[AssigneeTypes2["EMPTY_DEFAULT"] = 4] = "EMPTY_DEFAULT";
|
|
713
|
-
AssigneeTypes2[AssigneeTypes2["BENEFICIARY"] = 1] = "BENEFICIARY";
|
|
714
|
-
AssigneeTypes2[AssigneeTypes2["PETITIONER"] = 2] = "PETITIONER";
|
|
715
|
-
AssigneeTypes2[AssigneeTypes2["ATTORNEY"] = 3] = "ATTORNEY";
|
|
716
|
-
})(AssigneeTypes || (AssigneeTypes = {}));
|
|
717
|
-
var AssigneeTypesText;
|
|
718
|
-
(function(AssigneeTypesText2) {
|
|
719
|
-
AssigneeTypesText2["EMPTY_DEFAULT"] = "message.none";
|
|
720
|
-
AssigneeTypesText2["BENEFICIARY"] = "message.beneficiary";
|
|
721
|
-
AssigneeTypesText2["PETITIONER"] = "message.petitioner";
|
|
722
|
-
AssigneeTypesText2["ATTORNEY"] = "message.attorney";
|
|
723
|
-
})(AssigneeTypesText || (AssigneeTypesText = {}));
|
|
724
|
-
var SortOrder;
|
|
725
|
-
(function(SortOrder2) {
|
|
726
|
-
SortOrder2["default"] = "DEFAULT";
|
|
727
|
-
SortOrder2["desc"] = "DESC";
|
|
728
|
-
SortOrder2["asc"] = "ASC";
|
|
729
|
-
})(SortOrder || (SortOrder = {}));
|
|
730
|
-
var ResponseCode;
|
|
731
|
-
(function(ResponseCode2) {
|
|
732
|
-
ResponseCode2["success"] = "SUCCESS";
|
|
733
|
-
ResponseCode2["failed"] = "FAILED";
|
|
734
|
-
})(ResponseCode || (ResponseCode = {}));
|
|
735
|
-
var __vue2_script$b = defineComponent({
|
|
736
|
-
components: {
|
|
737
|
-
AntTag: Tag
|
|
738
|
-
},
|
|
739
|
-
props: {
|
|
740
|
-
assigneeType: {
|
|
741
|
-
type: String
|
|
742
|
-
}
|
|
743
|
-
},
|
|
744
|
-
setup() {
|
|
745
|
-
const tagColor = (key) => ["cyan", "orange", "blue", "purple"][AssigneeTypes[key]];
|
|
746
|
-
return {
|
|
747
|
-
AssigneeTypesText,
|
|
748
|
-
tagColor
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
});
|
|
752
|
-
var render$b = function() {
|
|
753
|
-
var _vm = this;
|
|
754
|
-
var _h = _vm.$createElement;
|
|
755
|
-
var _c = _vm._self._c || _h;
|
|
756
|
-
return _c("ant-tag", { attrs: { "color": _vm.tagColor(_vm.assigneeType) } }, [_vm._v(" " + _vm._s(_vm.$t(_vm.AssigneeTypesText[_vm.assigneeType])) + " ")]);
|
|
757
|
-
};
|
|
758
|
-
var staticRenderFns$b = [];
|
|
759
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
760
|
-
const __cssModules$b = {};
|
|
761
|
-
var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "145c1099", null, null);
|
|
762
|
-
function __vue2_injectStyles$b(context) {
|
|
763
|
-
for (let o in __cssModules$b) {
|
|
764
|
-
this[o] = __cssModules$b[o];
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
var AssigneeTag = /* @__PURE__ */ function() {
|
|
768
|
-
return __component__$b.exports;
|
|
769
|
-
}();
|
|
770
|
-
var __vue2_script$a = defineComponent({
|
|
771
|
-
name: "index",
|
|
772
|
-
components: {
|
|
773
|
-
AntTooltip: Tooltip
|
|
774
|
-
},
|
|
775
|
-
props: {
|
|
776
|
-
placement: {
|
|
777
|
-
type: String,
|
|
778
|
-
default: "left"
|
|
779
|
-
},
|
|
780
|
-
tags: {
|
|
781
|
-
type: Array
|
|
782
|
-
},
|
|
783
|
-
maxWidth: {
|
|
784
|
-
type: Number,
|
|
785
|
-
default: 100
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
});
|
|
789
|
-
var render$a = function() {
|
|
790
|
-
var _vm = this;
|
|
791
|
-
var _h = _vm.$createElement;
|
|
792
|
-
var _c = _vm._self._c || _h;
|
|
793
|
-
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(", ") : "-"))])])]);
|
|
794
|
-
};
|
|
795
|
-
var staticRenderFns$a = [];
|
|
796
|
-
var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
|
|
797
|
-
const __cssModules$a = {};
|
|
798
|
-
var __component__$a = /* @__PURE__ */ normalizeComponent(__vue2_script$a, render$a, staticRenderFns$a, false, __vue2_injectStyles$a, "18554545", null, null);
|
|
799
|
-
function __vue2_injectStyles$a(context) {
|
|
800
|
-
for (let o in __cssModules$a) {
|
|
801
|
-
this[o] = __cssModules$a[o];
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
var TagsWithTooltip = /* @__PURE__ */ function() {
|
|
805
|
-
return __component__$a.exports;
|
|
806
|
-
}();
|
|
807
|
-
var TaskTypes;
|
|
808
|
-
(function(TaskTypes2) {
|
|
809
|
-
TaskTypes2["clientUpload"] = "Client Upload";
|
|
810
|
-
TaskTypes2["clientReview"] = "For Client Review";
|
|
811
|
-
TaskTypes2["worksheet"] = "Worksheet";
|
|
812
|
-
})(TaskTypes || (TaskTypes = {}));
|
|
813
|
-
var TaskTemplateSortBy;
|
|
814
|
-
(function(TaskTemplateSortBy2) {
|
|
815
|
-
TaskTemplateSortBy2["default"] = "DEFAULT";
|
|
816
|
-
TaskTemplateSortBy2["id"] = "TASKTEMPLATEID";
|
|
817
|
-
TaskTemplateSortBy2["name"] = "TASKNAME";
|
|
818
|
-
TaskTemplateSortBy2["type"] = "TASKTYPE";
|
|
819
|
-
TaskTemplateSortBy2["isEmployee"] = "ISEMPLOYEE";
|
|
820
|
-
})(TaskTemplateSortBy || (TaskTemplateSortBy = {}));
|
|
821
|
-
var useChangeVal = (props, emit) => (k, v) => {
|
|
822
|
-
emit("update:value", __spreadProps(__spreadValues({}, props.value), {
|
|
823
|
-
[k]: v
|
|
824
|
-
}));
|
|
825
|
-
};
|
|
826
854
|
const acceptableFormats = [
|
|
827
855
|
".rar",
|
|
828
856
|
".zip",
|
|
@@ -833,7 +861,7 @@ const acceptableFormats = [
|
|
|
833
861
|
".jpeg",
|
|
834
862
|
".png"
|
|
835
863
|
];
|
|
836
|
-
var __vue2_script$
|
|
864
|
+
var __vue2_script$b = defineComponent({
|
|
837
865
|
name: "aFileUploader",
|
|
838
866
|
components: { AntUpload: Upload, AntTag: Tag, AntModal: Modal },
|
|
839
867
|
props: {
|
|
@@ -847,6 +875,10 @@ var __vue2_script$9 = defineComponent({
|
|
|
847
875
|
},
|
|
848
876
|
disabled: {
|
|
849
877
|
type: Boolean
|
|
878
|
+
},
|
|
879
|
+
previewMode: {
|
|
880
|
+
type: Boolean,
|
|
881
|
+
default: false
|
|
850
882
|
}
|
|
851
883
|
},
|
|
852
884
|
setup(props, { emit }) {
|
|
@@ -919,32 +951,148 @@ var __vue2_script$9 = defineComponent({
|
|
|
919
951
|
};
|
|
920
952
|
}
|
|
921
953
|
});
|
|
922
|
-
var render$
|
|
954
|
+
var render$b = function() {
|
|
923
955
|
var _vm = this;
|
|
924
956
|
var _h = _vm.$createElement;
|
|
925
957
|
var _c = _vm._self._c || _h;
|
|
926
|
-
return _c("div", {
|
|
958
|
+
return _c("div", { class: { container: !_vm.previewMode } }, [_c("ant-modal", { attrs: { "visible": !!_vm.previewImage, "footer": null }, on: { "cancel": function($event) {
|
|
927
959
|
_vm.previewImage = null;
|
|
928
|
-
} } }, [_c("img", { staticStyle: { "width": "100%" }, attrs: { "src": _vm.previewImage } })]), _c("ant-upload", { staticStyle: { "display": "inline" }, attrs: { "disabled": _vm.disabled || _vm.loading, "before-upload": _vm.beforeUpload, "action": "javascript:;", "fileList": [], "accept": _vm.acceptableFormats.join(",") } }, [_c("ant-tag", [_vm._v(" " + _vm._s(_vm.$t("message.selectFile")) + " ")]), _vm.value.length ? _c("div", { staticStyle: { "display": "inline-block" } }, _vm._l(_vm.value, function(file) {
|
|
929
|
-
return _c("ant-tag", { key: file.id, attrs: { "closable":
|
|
960
|
+
} } }, [_c("img", { staticStyle: { "width": "100%" }, attrs: { "src": _vm.previewImage } })]), _c("ant-upload", { staticStyle: { "display": "inline" }, attrs: { "disabled": _vm.disabled || _vm.loading, "before-upload": _vm.beforeUpload, "action": "javascript:;", "fileList": [], "accept": _vm.acceptableFormats.join(",") } }, [!_vm.previewMode ? _c("ant-tag", [_vm._v(" " + _vm._s(_vm.$t("message.selectFile")) + " ")]) : _vm._e(), _vm.value.length ? _c("div", { staticStyle: { "display": "inline-block" } }, _vm._l(_vm.value, function(file) {
|
|
961
|
+
return _c("ant-tag", { key: file.id, attrs: { "closable": !_vm.previewMode && !_vm.disabled }, on: { "close": function($event) {
|
|
930
962
|
return _vm.remove(file.id);
|
|
931
|
-
} } }, [_c("a", { attrs: { "href": file.link, "target": "_blank" }, on: { "click": function($event) {
|
|
963
|
+
} } }, [_c("a", { staticStyle: { "color": "#111" }, attrs: { "href": file.link, "target": "_blank" }, on: { "click": function($event) {
|
|
932
964
|
return _vm.clickItem(file, $event);
|
|
933
965
|
} } }, [_vm._v(" " + _vm._s(file.name) + " ")])]);
|
|
934
|
-
}), 1) : _c("span", { staticStyle: { "color": "#ccc" } }, [_vm._v(_vm._s(_vm.acceptableFormats.join(" ")))])], 1)], 1);
|
|
966
|
+
}), 1) : !_vm.previewMode ? _c("span", { staticStyle: { "color": "#ccc" } }, [_vm._v(_vm._s(_vm.acceptableFormats.join(" ")))]) : _vm._e()], 1)], 1);
|
|
967
|
+
};
|
|
968
|
+
var staticRenderFns$b = [];
|
|
969
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$6 = "";
|
|
970
|
+
const __cssModules$b = {};
|
|
971
|
+
var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "38dac57e", null, null);
|
|
972
|
+
function __vue2_injectStyles$b(context) {
|
|
973
|
+
for (let o in __cssModules$b) {
|
|
974
|
+
this[o] = __cssModules$b[o];
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
var AFileUploader = /* @__PURE__ */ function() {
|
|
978
|
+
return __component__$b.exports;
|
|
979
|
+
}();
|
|
980
|
+
var AssigneeTypes;
|
|
981
|
+
(function(AssigneeTypes2) {
|
|
982
|
+
AssigneeTypes2[AssigneeTypes2["EMPTY_DEFAULT"] = 4] = "EMPTY_DEFAULT";
|
|
983
|
+
AssigneeTypes2[AssigneeTypes2["BENEFICIARY"] = 1] = "BENEFICIARY";
|
|
984
|
+
AssigneeTypes2[AssigneeTypes2["PETITIONER"] = 2] = "PETITIONER";
|
|
985
|
+
AssigneeTypes2[AssigneeTypes2["ATTORNEY"] = 3] = "ATTORNEY";
|
|
986
|
+
})(AssigneeTypes || (AssigneeTypes = {}));
|
|
987
|
+
var AssigneeTypesText;
|
|
988
|
+
(function(AssigneeTypesText2) {
|
|
989
|
+
AssigneeTypesText2["EMPTY_DEFAULT"] = "message.none";
|
|
990
|
+
AssigneeTypesText2["BENEFICIARY"] = "message.beneficiary";
|
|
991
|
+
AssigneeTypesText2["PETITIONER"] = "message.petitioner";
|
|
992
|
+
AssigneeTypesText2["ATTORNEY"] = "message.attorney";
|
|
993
|
+
})(AssigneeTypesText || (AssigneeTypesText = {}));
|
|
994
|
+
var SortOrder;
|
|
995
|
+
(function(SortOrder2) {
|
|
996
|
+
SortOrder2["default"] = "DEFAULT";
|
|
997
|
+
SortOrder2["desc"] = "DESC";
|
|
998
|
+
SortOrder2["asc"] = "ASC";
|
|
999
|
+
})(SortOrder || (SortOrder = {}));
|
|
1000
|
+
var ResponseCode;
|
|
1001
|
+
(function(ResponseCode2) {
|
|
1002
|
+
ResponseCode2["success"] = "SUCCESS";
|
|
1003
|
+
ResponseCode2["failed"] = "FAILED";
|
|
1004
|
+
})(ResponseCode || (ResponseCode = {}));
|
|
1005
|
+
var __vue2_script$a = defineComponent({
|
|
1006
|
+
components: {
|
|
1007
|
+
AntTag: Tag
|
|
1008
|
+
},
|
|
1009
|
+
props: {
|
|
1010
|
+
assigneeType: {
|
|
1011
|
+
type: String
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
setup() {
|
|
1015
|
+
const tagColor = (key) => ["cyan", "orange", "blue", "purple"][AssigneeTypes[key]];
|
|
1016
|
+
return {
|
|
1017
|
+
AssigneeTypesText,
|
|
1018
|
+
tagColor
|
|
1019
|
+
};
|
|
1020
|
+
}
|
|
1021
|
+
});
|
|
1022
|
+
var render$a = function() {
|
|
1023
|
+
var _vm = this;
|
|
1024
|
+
var _h = _vm.$createElement;
|
|
1025
|
+
var _c = _vm._self._c || _h;
|
|
1026
|
+
return _c("ant-tag", { attrs: { "color": _vm.tagColor(_vm.assigneeType) } }, [_vm._v(" " + _vm._s(_vm.$t(_vm.AssigneeTypesText[_vm.assigneeType])) + " ")]);
|
|
1027
|
+
};
|
|
1028
|
+
var staticRenderFns$a = [];
|
|
1029
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$5 = "";
|
|
1030
|
+
const __cssModules$a = {};
|
|
1031
|
+
var __component__$a = /* @__PURE__ */ normalizeComponent(__vue2_script$a, render$a, staticRenderFns$a, false, __vue2_injectStyles$a, "145c1099", null, null);
|
|
1032
|
+
function __vue2_injectStyles$a(context) {
|
|
1033
|
+
for (let o in __cssModules$a) {
|
|
1034
|
+
this[o] = __cssModules$a[o];
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
var AssigneeTag = /* @__PURE__ */ function() {
|
|
1038
|
+
return __component__$a.exports;
|
|
1039
|
+
}();
|
|
1040
|
+
var __vue2_script$9 = defineComponent({
|
|
1041
|
+
name: "index",
|
|
1042
|
+
components: {
|
|
1043
|
+
AntTooltip: Tooltip
|
|
1044
|
+
},
|
|
1045
|
+
props: {
|
|
1046
|
+
placement: {
|
|
1047
|
+
type: String,
|
|
1048
|
+
default: "left"
|
|
1049
|
+
},
|
|
1050
|
+
tags: {
|
|
1051
|
+
type: Array
|
|
1052
|
+
},
|
|
1053
|
+
maxWidth: {
|
|
1054
|
+
type: Number,
|
|
1055
|
+
default: 100
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
});
|
|
1059
|
+
var render$9 = function() {
|
|
1060
|
+
var _vm = this;
|
|
1061
|
+
var _h = _vm.$createElement;
|
|
1062
|
+
var _c = _vm._self._c || _h;
|
|
1063
|
+
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(", ") : "-"))])])]);
|
|
935
1064
|
};
|
|
936
1065
|
var staticRenderFns$9 = [];
|
|
937
|
-
var
|
|
1066
|
+
var index_vue_vue_type_style_index_0_scoped_true_lang$4 = "";
|
|
938
1067
|
const __cssModules$9 = {};
|
|
939
|
-
var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "
|
|
1068
|
+
var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "18554545", null, null);
|
|
940
1069
|
function __vue2_injectStyles$9(context) {
|
|
941
1070
|
for (let o in __cssModules$9) {
|
|
942
1071
|
this[o] = __cssModules$9[o];
|
|
943
1072
|
}
|
|
944
1073
|
}
|
|
945
|
-
var
|
|
1074
|
+
var TagsWithTooltip = /* @__PURE__ */ function() {
|
|
946
1075
|
return __component__$9.exports;
|
|
947
1076
|
}();
|
|
1077
|
+
var TaskTypes;
|
|
1078
|
+
(function(TaskTypes2) {
|
|
1079
|
+
TaskTypes2["clientUpload"] = "Client Upload";
|
|
1080
|
+
TaskTypes2["clientReview"] = "For Client Review";
|
|
1081
|
+
TaskTypes2["worksheet"] = "Worksheet";
|
|
1082
|
+
})(TaskTypes || (TaskTypes = {}));
|
|
1083
|
+
var TaskTemplateSortBy;
|
|
1084
|
+
(function(TaskTemplateSortBy2) {
|
|
1085
|
+
TaskTemplateSortBy2["default"] = "DEFAULT";
|
|
1086
|
+
TaskTemplateSortBy2["id"] = "TASKTEMPLATEID";
|
|
1087
|
+
TaskTemplateSortBy2["name"] = "TASKNAME";
|
|
1088
|
+
TaskTemplateSortBy2["type"] = "TASKTYPE";
|
|
1089
|
+
TaskTemplateSortBy2["isEmployee"] = "ISEMPLOYEE";
|
|
1090
|
+
})(TaskTemplateSortBy || (TaskTemplateSortBy = {}));
|
|
1091
|
+
var useChangeVal = (props, emit) => (k, v) => {
|
|
1092
|
+
emit("update:value", __spreadProps(__spreadValues({}, props.value), {
|
|
1093
|
+
[k]: v
|
|
1094
|
+
}));
|
|
1095
|
+
};
|
|
948
1096
|
var refactorParams = (record) => {
|
|
949
1097
|
var _a;
|
|
950
1098
|
return {
|
|
@@ -1068,7 +1216,7 @@ var render$8 = function() {
|
|
|
1068
1216
|
var staticRenderFns$8 = [];
|
|
1069
1217
|
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
1070
1218
|
const __cssModules$8 = {};
|
|
1071
|
-
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "
|
|
1219
|
+
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "58dbc3e8", null, null);
|
|
1072
1220
|
function __vue2_injectStyles$8(context) {
|
|
1073
1221
|
for (let o in __cssModules$8) {
|
|
1074
1222
|
this[o] = __cssModules$8[o];
|
|
@@ -1189,7 +1337,7 @@ var render$7 = function() {
|
|
|
1189
1337
|
var staticRenderFns$7 = [];
|
|
1190
1338
|
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
1191
1339
|
const __cssModules$7 = {};
|
|
1192
|
-
var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "
|
|
1340
|
+
var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "2617d5ac", null, null);
|
|
1193
1341
|
function __vue2_injectStyles$7(context) {
|
|
1194
1342
|
for (let o in __cssModules$7) {
|
|
1195
1343
|
this[o] = __cssModules$7[o];
|
|
@@ -2071,4 +2219,4 @@ function __vue2_injectStyles(context) {
|
|
|
2071
2219
|
var index = /* @__PURE__ */ function() {
|
|
2072
2220
|
return __component__.exports;
|
|
2073
2221
|
}();
|
|
2074
|
-
export { AssigneeTag, NewTask, index$
|
|
2222
|
+
export { AFileUploader, AssigneeTag, index$3 as CaseTemplateSelect, CaseTemplateTypeBadge, NewTask, index$4 as ProfileSelect, TagsWithTooltip, index$1 as TaskCart, TaskForm, TaskTable, TaskTemplateFilter, index as TestComponent, index$2 as forms, getLanguageMessage, refactorParams as refactorTaskTemplateParams, submit as submitTaskTemplate, useCreateTaskTemplate, useMutateTaskTemplate, useSearchTaskConditions, useSearchTaskTemplates };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ailaw/venus",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"dev": "vite --open",
|
|
12
12
|
"build": "vite build",
|
|
13
|
-
"build:local": "npm run build && npm pack",
|
|
13
|
+
"build:local": "rm -f ./ailaw-venus-*.tgz && npm run build && npm pack",
|
|
14
14
|
"emit": "vue-tsc --emitDeclarationOnly -p ./tsconfig.build.json"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"@vue/composition-api": "^1.4.3",
|
|
34
34
|
"autoprefixer": "^10.4.2",
|
|
35
35
|
"js-cookie": "^3.0.1",
|
|
36
|
+
"less": "^4.1.2",
|
|
36
37
|
"nprogress": "^0.2.0",
|
|
37
38
|
"postcss": "^8.4.5",
|
|
38
39
|
"prettier": "^2.2.1",
|