@ailaw/venus 0.2.3 → 0.3.3
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 +382 -307
- package/package.json +2 -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}*,: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)}.container[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}*,: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)}.container[data-v-d2a7dbe0]{border:1px solid #cccccc;border-radius:6px;padding:0 4px;min-height:30px;cursor:pointer}.taskTemplateInline[data-v-3f1928ba]{float:right}a.taskTemplateInline[data-v-3f1928ba]{margin-left:10px}div.taskTemplateInline[data-v-3f1928ba]{margin-top:5px!important}.tags-container[data-v-4d7a0102]{max-width:200px;word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
|
package/dist/venus.es.js
CHANGED
|
@@ -6,22 +6,22 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
6
6
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
7
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
8
|
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var
|
|
10
|
-
if (__hasOwnProp.call(b,
|
|
11
|
-
__defNormalProp(a,
|
|
9
|
+
for (var prop2 in b || (b = {}))
|
|
10
|
+
if (__hasOwnProp.call(b, prop2))
|
|
11
|
+
__defNormalProp(a, prop2, b[prop2]);
|
|
12
12
|
if (__getOwnPropSymbols)
|
|
13
|
-
for (var
|
|
14
|
-
if (__propIsEnum.call(b,
|
|
15
|
-
__defNormalProp(a,
|
|
13
|
+
for (var prop2 of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop2))
|
|
15
|
+
__defNormalProp(a, prop2, b[prop2]);
|
|
16
16
|
}
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { defineComponent, ref as ref$1, watch, computed, toRefs as toRefs$1, onMounted } from "vue-demi";
|
|
21
|
-
import { Select, Modal, Form, Input, Checkbox, Divider, Button, message } from "ant-design-vue";
|
|
21
|
+
import { Select, Modal, Form, Input, Checkbox, Divider, Button, Upload, Tag, Row, Col, Radio, Table, Tooltip, Badge, message } from "ant-design-vue";
|
|
22
22
|
import { useQuery, useResult, useMutation } from "@vue/apollo-composable";
|
|
23
23
|
import gql from "graphql-tag";
|
|
24
|
-
import { path } from "ramda";
|
|
24
|
+
import { path, uniqBy, prop } from "ramda";
|
|
25
25
|
import "vue";
|
|
26
26
|
import { Source, visit } from "graphql";
|
|
27
27
|
var index$4 = "";
|
|
@@ -177,12 +177,14 @@ const profilesQuery = gql`
|
|
|
177
177
|
$lawFirmId: Int!
|
|
178
178
|
$keywords: String
|
|
179
179
|
$profileType: String
|
|
180
|
+
$profileIds: [Int!]
|
|
180
181
|
) {
|
|
181
182
|
profileSearch(
|
|
182
183
|
query: {
|
|
183
184
|
lawFirmId: $lawFirmId
|
|
184
185
|
keywords: $keywords
|
|
185
186
|
profileType: $profileType
|
|
187
|
+
profileId: $profileIds
|
|
186
188
|
}
|
|
187
189
|
) {
|
|
188
190
|
numResult
|
|
@@ -352,6 +354,10 @@ var __vue2_script$b = defineComponent({
|
|
|
352
354
|
source: {
|
|
353
355
|
type: Array,
|
|
354
356
|
required: true
|
|
357
|
+
},
|
|
358
|
+
creatable: {
|
|
359
|
+
type: Boolean,
|
|
360
|
+
default: false
|
|
355
361
|
}
|
|
356
362
|
},
|
|
357
363
|
components: {
|
|
@@ -386,7 +392,7 @@ var render$b = function() {
|
|
|
386
392
|
var _h = _vm.$createElement;
|
|
387
393
|
var _c = _vm._self._c || _h;
|
|
388
394
|
return _c("Select", _vm._g(_vm._b({ staticClass: "w-72", attrs: { "allowClear": "", "showSearch": "", "optionFilterProp": "name", "value": _vm.selectedId }, on: { "select": _vm.handleSelect }, scopedSlots: _vm._u([{ key: "dropdownRender", fn: function(menu) {
|
|
389
|
-
return _c("div", {}, [_c("v-nodes", { attrs: { "vnodes": menu } }), _c("Divider", { staticClass: "my-1" }), _c("div", { staticClass: "flex justify-end px-3 py-1" }, [_c("Button", { attrs: { "size": "small" }, on: { "click": _vm.handleProfileCreate } }, [_vm._v("Create new profile")])], 1)], 1);
|
|
395
|
+
return _c("div", {}, [_c("v-nodes", { attrs: { "vnodes": menu } }), _vm.creatable ? _c("Divider", { staticClass: "my-1" }) : _vm._e(), _vm.creatable ? _c("div", { staticClass: "flex justify-end px-3 py-1" }, [_c("Button", { attrs: { "size": "small" }, on: { "click": _vm.handleProfileCreate } }, [_vm._v("Create new profile")])], 1) : _vm._e()], 1);
|
|
390
396
|
} }]) }, "Select", _vm.$attrs, false), _vm.$listeners), _vm._l(_vm.source, function(v) {
|
|
391
397
|
return _c("Option", { key: v.id, attrs: { "value": v.id } }, [_c("ProfileSelectItem", { attrs: { "source": v } })], 1);
|
|
392
398
|
}), 1);
|
|
@@ -402,13 +408,15 @@ function __vue2_injectStyles$b(context) {
|
|
|
402
408
|
var ProfileSelector = /* @__PURE__ */ function() {
|
|
403
409
|
return __component__$b.exports;
|
|
404
410
|
}();
|
|
405
|
-
function useProfiles(keywords) {
|
|
411
|
+
function useProfiles(keywords, onlyRole, profileIds) {
|
|
406
412
|
const me = useMe();
|
|
407
413
|
const { result, loading } = useQuery(profilesQuery, () => {
|
|
408
414
|
var _a2;
|
|
409
415
|
return {
|
|
410
416
|
lawFirmId: (_a2 = me.value) == null ? void 0 : _a2.lawFirmId,
|
|
411
|
-
keywords: keywords.value
|
|
417
|
+
keywords: keywords.value,
|
|
418
|
+
profileType: onlyRole.value,
|
|
419
|
+
profileIds: profileIds.value
|
|
412
420
|
};
|
|
413
421
|
}, () => ({
|
|
414
422
|
enabled: me.value != null
|
|
@@ -421,14 +429,35 @@ var __vue2_script$a = defineComponent({
|
|
|
421
429
|
props: {
|
|
422
430
|
value: {
|
|
423
431
|
type: Object
|
|
432
|
+
},
|
|
433
|
+
creatable: {
|
|
434
|
+
type: Boolean,
|
|
435
|
+
default: false
|
|
436
|
+
},
|
|
437
|
+
onlyRole: {
|
|
438
|
+
type: String
|
|
439
|
+
},
|
|
440
|
+
preLoaded: {
|
|
441
|
+
type: Array,
|
|
442
|
+
default: []
|
|
443
|
+
},
|
|
444
|
+
profileIds: {
|
|
445
|
+
type: Array
|
|
424
446
|
}
|
|
425
447
|
},
|
|
426
|
-
setup(
|
|
448
|
+
setup(props, { emit }) {
|
|
427
449
|
const keywords = ref$1("");
|
|
428
450
|
const handleSearch = (value) => keywords.value = value;
|
|
429
|
-
const {
|
|
451
|
+
const { onlyRole, profileIds } = toRefs$1(props);
|
|
452
|
+
const { profiles: rawProfiles } = useProfiles(keywords, onlyRole, profileIds);
|
|
430
453
|
const createdProfile = ref$1();
|
|
431
|
-
const profiles = computed(() =>
|
|
454
|
+
const profiles = computed(() => {
|
|
455
|
+
const list = [
|
|
456
|
+
...props.preLoaded,
|
|
457
|
+
...createdProfile.value ? [createdProfile.value, ...rawProfiles.value] : rawProfiles.value
|
|
458
|
+
];
|
|
459
|
+
return uniqBy(prop("id"), list);
|
|
460
|
+
});
|
|
432
461
|
const isModalVisible = ref$1(false);
|
|
433
462
|
const toggleModal = (value) => isModalVisible.value = value;
|
|
434
463
|
const updateValue = (value) => emit("input", value);
|
|
@@ -451,11 +480,11 @@ var render$a = function() {
|
|
|
451
480
|
var _vm = this;
|
|
452
481
|
var _h = _vm.$createElement;
|
|
453
482
|
var _c = _vm._self._c || _h;
|
|
454
|
-
return _c("div", [_c("profile-selector", _vm._g(_vm._b({ attrs: { "source": _vm.profiles, "value": _vm.value, "keywords": _vm.keywords }, on: { "search": _vm.handleSearch, "create-profile": function($event) {
|
|
483
|
+
return _c("div", [_c("profile-selector", _vm._g(_vm._b({ attrs: { "source": _vm.profiles, "value": _vm.value, "keywords": _vm.keywords, "creatable": _vm.creatable }, on: { "search": _vm.handleSearch, "create-profile": function($event) {
|
|
455
484
|
return _vm.toggleModal(true);
|
|
456
|
-
}, "input": _vm.updateValue } }, "profile-selector", _vm.$attrs, false), _vm.$listeners)), _c("profile-create-modal", { attrs: { "visible": _vm.isModalVisible }, on: { "cancel": function($event) {
|
|
485
|
+
}, "input": _vm.updateValue } }, "profile-selector", _vm.$attrs, false), _vm.$listeners)), _vm.creatable ? _c("profile-create-modal", { attrs: { "visible": _vm.isModalVisible }, on: { "cancel": function($event) {
|
|
457
486
|
return _vm.toggleModal(false);
|
|
458
|
-
}, "profile-created": _vm.handleProfileCreated } })], 1);
|
|
487
|
+
}, "profile-created": _vm.handleProfileCreated } }) : _vm._e()], 1);
|
|
459
488
|
};
|
|
460
489
|
var staticRenderFns$a = [];
|
|
461
490
|
const __cssModules$a = {};
|
|
@@ -468,6 +497,216 @@ function __vue2_injectStyles$a(context) {
|
|
|
468
497
|
var index$3 = /* @__PURE__ */ function() {
|
|
469
498
|
return __component__$a.exports;
|
|
470
499
|
}();
|
|
500
|
+
function __variableDynamicImportRuntime0__(path2) {
|
|
501
|
+
switch (path2) {
|
|
502
|
+
case "../languages/ar.ts":
|
|
503
|
+
return import("./ar.js");
|
|
504
|
+
case "../languages/ar2.ts":
|
|
505
|
+
return import("./ar2.js");
|
|
506
|
+
case "../languages/ar3.ts":
|
|
507
|
+
return import("./ar3.js");
|
|
508
|
+
case "../languages/ben.ts":
|
|
509
|
+
return import("./ben.js");
|
|
510
|
+
case "../languages/ben2.ts":
|
|
511
|
+
return import("./ben2.js");
|
|
512
|
+
case "../languages/ben3.ts":
|
|
513
|
+
return import("./ben3.js");
|
|
514
|
+
case "../languages/ch.ts":
|
|
515
|
+
return import("./ch.js");
|
|
516
|
+
case "../languages/ch2.ts":
|
|
517
|
+
return import("./ch2.js");
|
|
518
|
+
case "../languages/ch3.ts":
|
|
519
|
+
return import("./ch3.js");
|
|
520
|
+
case "../languages/en.ts":
|
|
521
|
+
return import("./en.js");
|
|
522
|
+
case "../languages/en2.ts":
|
|
523
|
+
return import("./en2.js");
|
|
524
|
+
case "../languages/en3.ts":
|
|
525
|
+
return import("./en3.js");
|
|
526
|
+
case "../languages/es.ts":
|
|
527
|
+
return import("./es.js");
|
|
528
|
+
case "../languages/es2.ts":
|
|
529
|
+
return import("./es2.js");
|
|
530
|
+
case "../languages/es3.ts":
|
|
531
|
+
return import("./es3.js");
|
|
532
|
+
case "../languages/fa.ts":
|
|
533
|
+
return import("./fa.js");
|
|
534
|
+
case "../languages/fa2.ts":
|
|
535
|
+
return import("./fa2.js");
|
|
536
|
+
case "../languages/fa3.ts":
|
|
537
|
+
return import("./fa3.js");
|
|
538
|
+
case "../languages/fr.ts":
|
|
539
|
+
return import("./fr.js");
|
|
540
|
+
case "../languages/fr2.ts":
|
|
541
|
+
return import("./fr2.js");
|
|
542
|
+
case "../languages/fr3.ts":
|
|
543
|
+
return import("./fr3.js");
|
|
544
|
+
case "../languages/hi.ts":
|
|
545
|
+
return import("./hi.js");
|
|
546
|
+
case "../languages/hi2.ts":
|
|
547
|
+
return import("./hi2.js");
|
|
548
|
+
case "../languages/hi3.ts":
|
|
549
|
+
return import("./hi3.js");
|
|
550
|
+
case "../languages/ht.ts":
|
|
551
|
+
return import("./ht.js");
|
|
552
|
+
case "../languages/ht2.ts":
|
|
553
|
+
return import("./ht2.js");
|
|
554
|
+
case "../languages/ht3.ts":
|
|
555
|
+
return import("./ht3.js");
|
|
556
|
+
case "../languages/hy.ts":
|
|
557
|
+
return import("./hy.js");
|
|
558
|
+
case "../languages/hy2.ts":
|
|
559
|
+
return import("./hy2.js");
|
|
560
|
+
case "../languages/hy3.ts":
|
|
561
|
+
return import("./hy3.js");
|
|
562
|
+
case "../languages/jp.ts":
|
|
563
|
+
return import("./jp.js");
|
|
564
|
+
case "../languages/jp2.ts":
|
|
565
|
+
return import("./jp2.js");
|
|
566
|
+
case "../languages/jp3.ts":
|
|
567
|
+
return import("./jp3.js");
|
|
568
|
+
case "../languages/ko.ts":
|
|
569
|
+
return import("./ko.js");
|
|
570
|
+
case "../languages/ko2.ts":
|
|
571
|
+
return import("./ko2.js");
|
|
572
|
+
case "../languages/ko3.ts":
|
|
573
|
+
return import("./ko3.js");
|
|
574
|
+
case "../languages/nep.ts":
|
|
575
|
+
return import("./nep.js");
|
|
576
|
+
case "../languages/nep2.ts":
|
|
577
|
+
return import("./nep2.js");
|
|
578
|
+
case "../languages/nep3.ts":
|
|
579
|
+
return import("./nep3.js");
|
|
580
|
+
case "../languages/pt.ts":
|
|
581
|
+
return import("./pt.js");
|
|
582
|
+
case "../languages/pt2.ts":
|
|
583
|
+
return import("./pt2.js");
|
|
584
|
+
case "../languages/pt3.ts":
|
|
585
|
+
return import("./pt3.js");
|
|
586
|
+
case "../languages/ru.ts":
|
|
587
|
+
return import("./ru.js");
|
|
588
|
+
case "../languages/ru2.ts":
|
|
589
|
+
return import("./ru2.js");
|
|
590
|
+
case "../languages/ru3.ts":
|
|
591
|
+
return import("./ru3.js");
|
|
592
|
+
default:
|
|
593
|
+
return new Promise(function(resolve, reject) {
|
|
594
|
+
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path2)));
|
|
595
|
+
});
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
const loaded = new Map();
|
|
599
|
+
async function getLanguageMessage(lang) {
|
|
600
|
+
if (!loaded.has(lang)) {
|
|
601
|
+
const { default: message2 } = await __variableDynamicImportRuntime0__(`../languages/${lang}.ts`);
|
|
602
|
+
loaded.set(lang, message2);
|
|
603
|
+
}
|
|
604
|
+
return loaded.get(lang);
|
|
605
|
+
}
|
|
606
|
+
const createForm = (form) => form;
|
|
607
|
+
var g1145 = createForm({
|
|
608
|
+
displayName: "G-1145",
|
|
609
|
+
roles: {
|
|
610
|
+
Petitioner: "USERPROFILE",
|
|
611
|
+
Beneficiary: "USERPROFILE",
|
|
612
|
+
Preparer: "PREPARERPROFILE"
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
var g28Person = createForm({
|
|
616
|
+
displayName: "G-28-Person",
|
|
617
|
+
roles: {
|
|
618
|
+
Petitioner: "USERPROFILE",
|
|
619
|
+
Beneficiary: "USERPROFILE",
|
|
620
|
+
Preparer: "PREPARERPROFILE"
|
|
621
|
+
}
|
|
622
|
+
});
|
|
623
|
+
var i129Attachment = createForm({
|
|
624
|
+
displayName: "I-129 Attachment",
|
|
625
|
+
roles: {
|
|
626
|
+
Beneficiary: "USERPROFILE"
|
|
627
|
+
}
|
|
628
|
+
});
|
|
629
|
+
var i129Mh = createForm({
|
|
630
|
+
displayName: "I-129_Main with H supplement",
|
|
631
|
+
roles: {
|
|
632
|
+
Petitioner: "CLIENTPROFILE",
|
|
633
|
+
Beneficiary: "USERPROFILE",
|
|
634
|
+
Preparer: "PREPARERPROFILE"
|
|
635
|
+
}
|
|
636
|
+
});
|
|
637
|
+
var i130 = createForm({
|
|
638
|
+
displayName: "I-130",
|
|
639
|
+
roles: {
|
|
640
|
+
Petitioner: "USERPROFILE",
|
|
641
|
+
Beneficiary: "USERPROFILE",
|
|
642
|
+
Preparer: "PREPARERPROFILE"
|
|
643
|
+
}
|
|
644
|
+
});
|
|
645
|
+
var i130a = createForm({
|
|
646
|
+
displayName: "I-130A",
|
|
647
|
+
roles: {
|
|
648
|
+
Beneficiary: "USERPROFILE",
|
|
649
|
+
Preparer: "PREPARERPROFILE"
|
|
650
|
+
}
|
|
651
|
+
});
|
|
652
|
+
var i131 = createForm({
|
|
653
|
+
displayName: "I-131",
|
|
654
|
+
roles: {
|
|
655
|
+
Beneficiary: "USERPROFILE",
|
|
656
|
+
Preparer: "PREPARERPROFILE"
|
|
657
|
+
}
|
|
658
|
+
});
|
|
659
|
+
var i485 = createForm({
|
|
660
|
+
displayName: "I-485",
|
|
661
|
+
roles: {
|
|
662
|
+
Beneficiary: "USERPROFILE",
|
|
663
|
+
Preparer: "PREPARERPROFILE"
|
|
664
|
+
}
|
|
665
|
+
});
|
|
666
|
+
var i485a = createForm({
|
|
667
|
+
displayName: "I-485A",
|
|
668
|
+
roles: {
|
|
669
|
+
Beneficiary: "USERPROFILE",
|
|
670
|
+
Preparer: "PREPARERPROFILE"
|
|
671
|
+
}
|
|
672
|
+
});
|
|
673
|
+
var i765 = createForm({
|
|
674
|
+
displayName: "I-765",
|
|
675
|
+
roles: {
|
|
676
|
+
Beneficiary: "USERPROFILE",
|
|
677
|
+
Preparer: "PREPARERPROFILE"
|
|
678
|
+
}
|
|
679
|
+
});
|
|
680
|
+
var i864 = createForm({
|
|
681
|
+
displayName: "I-864",
|
|
682
|
+
roles: {
|
|
683
|
+
Petitioner: "USERPROFILE",
|
|
684
|
+
Beneficiary: "USERPROFILE",
|
|
685
|
+
Preparer: "PREPARERPROFILE"
|
|
686
|
+
}
|
|
687
|
+
});
|
|
688
|
+
var i864a = createForm({
|
|
689
|
+
displayName: "I-864A",
|
|
690
|
+
roles: {
|
|
691
|
+
Petitioner: "USERPROFILE",
|
|
692
|
+
Beneficiary: "USERPROFILE",
|
|
693
|
+
Preparer: "PREPARERPROFILE"
|
|
694
|
+
}
|
|
695
|
+
});
|
|
696
|
+
var index$2 = [
|
|
697
|
+
g28Person,
|
|
698
|
+
g1145,
|
|
699
|
+
i129Attachment,
|
|
700
|
+
i129Mh,
|
|
701
|
+
i130,
|
|
702
|
+
i130a,
|
|
703
|
+
i131,
|
|
704
|
+
i485,
|
|
705
|
+
i485a,
|
|
706
|
+
i765,
|
|
707
|
+
i864,
|
|
708
|
+
i864a
|
|
709
|
+
];
|
|
471
710
|
var AssigneeTypes;
|
|
472
711
|
(function(AssigneeTypes2) {
|
|
473
712
|
AssigneeTypes2[AssigneeTypes2["EMPTY_DEFAULT"] = 4] = "EMPTY_DEFAULT";
|
|
@@ -514,6 +753,7 @@ var useChangeVal = (props, emit) => (k, v) => {
|
|
|
514
753
|
};
|
|
515
754
|
var __vue2_script$9 = defineComponent({
|
|
516
755
|
name: "aFileUploader",
|
|
756
|
+
components: { AntUpload: Upload, AntTag: Tag },
|
|
517
757
|
props: {
|
|
518
758
|
value: {
|
|
519
759
|
type: Array,
|
|
@@ -582,16 +822,16 @@ var render$9 = function() {
|
|
|
582
822
|
var _vm = this;
|
|
583
823
|
var _h = _vm.$createElement;
|
|
584
824
|
var _c = _vm._self._c || _h;
|
|
585
|
-
return _c("div", { staticClass: "container" }, [_c("
|
|
586
|
-
return _c("
|
|
825
|
+
return _c("div", { staticClass: "container" }, [_c("ant-upload", { staticStyle: { "display": "inline" }, attrs: { "disabled": _vm.loading, "before-upload": _vm.beforeUpload, "action": "javascript:;", "fileList": [] } }, [_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) {
|
|
826
|
+
return _c("ant-tag", { key: file.id, attrs: { "closable": "" }, on: { "close": function($event) {
|
|
587
827
|
return _vm.remove(file.id);
|
|
588
|
-
} } }, [_vm._v(_vm._s(file.name))]);
|
|
828
|
+
} } }, [_vm._v(_vm._s(file.name) + " ")]);
|
|
589
829
|
}), 1) : _c("span", { staticStyle: { "color": "#ccc" } }, [_vm._v(_vm._s(_vm.allowFiles.join(" ")))])], 1)], 1);
|
|
590
830
|
};
|
|
591
831
|
var staticRenderFns$9 = [];
|
|
592
832
|
var aFileUploader_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
593
833
|
const __cssModules$9 = {};
|
|
594
|
-
var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "
|
|
834
|
+
var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "d2a7dbe0", null, null);
|
|
595
835
|
function __vue2_injectStyles$9(context) {
|
|
596
836
|
for (let o in __cssModules$9) {
|
|
597
837
|
this[o] = __cssModules$9[o];
|
|
@@ -637,6 +877,19 @@ const roles = [
|
|
|
637
877
|
];
|
|
638
878
|
var __vue2_script$8 = defineComponent({
|
|
639
879
|
name: "index",
|
|
880
|
+
components: {
|
|
881
|
+
AntForm: Form,
|
|
882
|
+
AntFormItem: Form.Item,
|
|
883
|
+
AntRow: Row,
|
|
884
|
+
AntCol: Col,
|
|
885
|
+
AntSelect: Select,
|
|
886
|
+
AntSelectOption: Select.Option,
|
|
887
|
+
AntRadioGroup: Radio.Group,
|
|
888
|
+
AntRadio: Radio,
|
|
889
|
+
AntTextarea: Input.TextArea,
|
|
890
|
+
AntInput: Input,
|
|
891
|
+
AFileUploader
|
|
892
|
+
},
|
|
640
893
|
props: {
|
|
641
894
|
value: {
|
|
642
895
|
type: Object,
|
|
@@ -647,7 +900,6 @@ var __vue2_script$8 = defineComponent({
|
|
|
647
900
|
required: true
|
|
648
901
|
}
|
|
649
902
|
},
|
|
650
|
-
components: { AFileUploader },
|
|
651
903
|
setup(props, { emit }) {
|
|
652
904
|
const nameError = ref$1(false);
|
|
653
905
|
const typeError = ref$1(false);
|
|
@@ -684,28 +936,28 @@ var render$8 = function() {
|
|
|
684
936
|
var _vm = this;
|
|
685
937
|
var _h = _vm.$createElement;
|
|
686
938
|
var _c = _vm._self._c || _h;
|
|
687
|
-
return _c("
|
|
939
|
+
return _c("ant-form", { staticClass: "add-edit-task-modal", on: { "submit": function(e) {
|
|
688
940
|
return e.preventDefault();
|
|
689
|
-
} } }, [_c("
|
|
941
|
+
} } }, [_c("ant-row", { attrs: { "gutter": 20 } }, [_c("ant-col", { attrs: { "span": 12 } }, [_c("ant-form-item", { attrs: { "name": "taskName", "label": _vm.$t("message.taskName"), "help": _vm.nameError ? _vm.$t("message.required") : void 0, "validate-status": _vm.nameError ? "error" : void 0 } }, [_c("ant-input", { attrs: { "value": _vm.value.taskName }, on: { "input": function($event) {
|
|
690
942
|
return _vm.changeVal("taskName", $event.target.value);
|
|
691
|
-
} } })], 1)], 1), _c("
|
|
943
|
+
} } })], 1)], 1), _c("ant-col", { attrs: { "span": 12 } }, [_c("ant-form-item", { attrs: { "label": _vm.$t("message.assignee") + "(" + _vm.$t("message.optional") + ")" } }, [_c("ant-select", { staticStyle: { "min-width": "170px" }, attrs: { "value": _vm.value.isEmployee, "allowClear": true }, on: { "change": function($event) {
|
|
692
944
|
return _vm.changeVal("isEmployee", $event);
|
|
693
945
|
} } }, _vm._l(_vm.roles, function(role) {
|
|
694
|
-
return _c("
|
|
695
|
-
}), 1)], 1)], 1)], 1), _c("
|
|
946
|
+
return _c("ant-select-option", { key: role.id, attrs: { "value": role.key } }, [_c("span", { staticStyle: { "text-transform": "capitalize" } }, [_vm._v(" " + _vm._s(_vm.$t("message." + role.i18nKey)) + " ")])]);
|
|
947
|
+
}), 1)], 1)], 1)], 1), _c("ant-form-item", { attrs: { "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: { "value": _vm.value.generalTaskType }, on: { "change": function($event) {
|
|
696
948
|
return _vm.changeVal("generalTaskType", $event.target.value);
|
|
697
|
-
} } }, [_c("
|
|
949
|
+
} } }, [_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) : _vm._e()], 1), _c("ant-form-item", { attrs: { "label": _vm.$t("message.descriptions") + "(" + _vm.$t("message.optional") + ")" } }, [_c("ant-textarea", { attrs: { "value": _vm.value.descriptions }, on: { "input": function($event) {
|
|
698
950
|
return _vm.changeVal("descriptions", $event.target.value);
|
|
699
|
-
} } })], 1), _c("
|
|
951
|
+
} } })], 1), _c("ant-form-item", { attrs: { "label": _vm.$t("message.attachment") + "(" + _vm.$t("message.optional") + ")" } }, [_c("a-file-uploader", { attrs: { "value": _vm.value.sampleDocs, "uploadFilesFunc": _vm.uploadFilesFunc }, on: { "change": function($event) {
|
|
700
952
|
return _vm.changeVal("sampleDocs", $event);
|
|
701
|
-
} } })], 1), _c("
|
|
953
|
+
} } })], 1), _c("ant-form-item", { attrs: { "label": _vm.$t("message.tags") + "(" + _vm.$t("message.optional") + ")" } }, [_c("ant-select", { attrs: { "mode": "tags", "value": _vm.value.tagList, "options": [] }, on: { "change": function($event) {
|
|
702
954
|
return _vm.changeVal("tagList", $event);
|
|
703
955
|
} } })], 1)], 1);
|
|
704
956
|
};
|
|
705
957
|
var staticRenderFns$8 = [];
|
|
706
958
|
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
707
959
|
const __cssModules$8 = {};
|
|
708
|
-
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "
|
|
960
|
+
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "2a28abbe", null, null);
|
|
709
961
|
function __vue2_injectStyles$8(context) {
|
|
710
962
|
for (let o in __cssModules$8) {
|
|
711
963
|
this[o] = __cssModules$8[o];
|
|
@@ -716,7 +968,7 @@ var TaskForm = /* @__PURE__ */ function() {
|
|
|
716
968
|
}();
|
|
717
969
|
var __vue2_script$7 = defineComponent({
|
|
718
970
|
name: "NewTask",
|
|
719
|
-
components: { AFileUploader, TaskForm },
|
|
971
|
+
components: { AFileUploader, TaskForm, AntModal: Modal, AntCheckbox: Checkbox, AntButton: Button },
|
|
720
972
|
props: {
|
|
721
973
|
visible: {
|
|
722
974
|
type: Boolean,
|
|
@@ -804,22 +1056,22 @@ var render$7 = function() {
|
|
|
804
1056
|
var _vm = this;
|
|
805
1057
|
var _h = _vm.$createElement;
|
|
806
1058
|
var _c = _vm._self._c || _h;
|
|
807
|
-
return _c("
|
|
1059
|
+
return _c("ant-modal", { attrs: { "id": "venus-component-new-task", "visible": _vm.visible, "title": _vm.value.taskTemplateObj.id ? _vm.$t("message.editTask") : _vm.$t("message.newTask"), "width": "700px" }, on: { "cancel": function($event) {
|
|
808
1060
|
return _vm.changeVisible(false);
|
|
809
1061
|
} }, scopedSlots: _vm._u([{ key: "footer", fn: function() {
|
|
810
|
-
return [_c("div", { staticClass: "footer" }, [_vm.showSendEmail ? _c("div", { staticStyle: { "float": "left", "padding-top": "5px", "padding-left": "10px" } }, [_c("
|
|
1062
|
+
return [_c("div", { staticClass: "footer" }, [_vm.showSendEmail ? _c("div", { staticStyle: { "float": "left", "padding-top": "5px", "padding-left": "10px" } }, [_c("ant-checkbox", { attrs: { "checked": _vm.value.isNotified }, on: { "change": function($event) {
|
|
811
1063
|
return _vm.changeVal("isNotified", $event.target.checked);
|
|
812
|
-
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.sendEmail")) + " ")])], 1) : _vm._e(), _c("div", [_c("
|
|
1064
|
+
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.sendEmail")) + " ")])], 1) : _vm._e(), _c("div", [_c("ant-button", { attrs: { "loading": _vm.loading, "type": "primary" }, on: { "click": _vm.submit } }, [_vm._v(_vm._s(_vm.$t("message.submit")) + " ")]), _c("ant-button", { on: { "click": function($event) {
|
|
813
1065
|
return _vm.changeVisible(false);
|
|
814
1066
|
} } }, [_vm._v(_vm._s(_vm.$t("message.cancel")) + " ")])], 1)])];
|
|
815
|
-
}, proxy: true }]) }, [_c("task-form", { ref: "taskForm", attrs: { "upload-files-func": _vm.uploadFilesFunc, "law-firm-id": _vm.lawFirmId, "user-id": _vm.userId, "value": _vm.value.taskTemplateObj }, on: { "update:value": _vm.updateFormValue } }), _vm.showAddToList ? _c("
|
|
1067
|
+
}, proxy: true }]) }, [_c("task-form", { ref: "taskForm", attrs: { "upload-files-func": _vm.uploadFilesFunc, "law-firm-id": _vm.lawFirmId, "user-id": _vm.userId, "value": _vm.value.taskTemplateObj }, on: { "update:value": _vm.updateFormValue } }), _vm.showAddToList ? _c("ant-checkbox", { attrs: { "checked": _vm.value.isAddedToTask }, on: { "change": function($event) {
|
|
816
1068
|
return _vm.changeVal("isAddedToTask", $event.target.checked);
|
|
817
1069
|
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.addToTaskList")) + " ")]) : _vm._e()], 1);
|
|
818
1070
|
};
|
|
819
1071
|
var staticRenderFns$7 = [];
|
|
820
1072
|
var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
|
|
821
1073
|
const __cssModules$7 = {};
|
|
822
|
-
var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "
|
|
1074
|
+
var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "6a05980e", null, null);
|
|
823
1075
|
function __vue2_injectStyles$7(context) {
|
|
824
1076
|
for (let o in __cssModules$7) {
|
|
825
1077
|
this[o] = __cssModules$7[o];
|
|
@@ -830,6 +1082,12 @@ var NewTask = /* @__PURE__ */ function() {
|
|
|
830
1082
|
}();
|
|
831
1083
|
var __vue2_script$6 = defineComponent({
|
|
832
1084
|
name: "taskTemplateFilter",
|
|
1085
|
+
components: {
|
|
1086
|
+
AntInput: Input,
|
|
1087
|
+
AntButton: Button,
|
|
1088
|
+
AntCheckbox: Checkbox,
|
|
1089
|
+
AntCheckboxGroup: Checkbox.Group
|
|
1090
|
+
},
|
|
833
1091
|
props: {
|
|
834
1092
|
conditions: {
|
|
835
1093
|
type: Object,
|
|
@@ -863,20 +1121,20 @@ var render$6 = function() {
|
|
|
863
1121
|
var _vm = this;
|
|
864
1122
|
var _h = _vm.$createElement;
|
|
865
1123
|
var _c = _vm._self._c || _h;
|
|
866
|
-
return _c("div", { staticClass: "filter mb-5" }, [_c("
|
|
1124
|
+
return _c("div", { staticClass: "filter mb-5" }, [_c("ant-input", { staticStyle: { "width": "300px" }, attrs: { "value": _vm.conditions.keywords }, on: { "input": function($event) {
|
|
867
1125
|
return _vm.changeVal("keywords", $event.target.value);
|
|
868
1126
|
} }, scopedSlots: _vm._u([{ key: "suffix", fn: function() {
|
|
869
1127
|
return void 0;
|
|
870
|
-
}, proxy: true }]) }), _c("
|
|
1128
|
+
}, proxy: true }]) }), _c("ant-button", { class: { taskTemplateInline: _vm.inline }, staticStyle: { "margin-left": "20px", "float": "right" }, on: { "click": function($event) {
|
|
871
1129
|
return _vm.$emit("update:newTaskVisible", true);
|
|
872
|
-
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.newTask")) + " ")]), _vm.taskSettingPageUrl ? _c("a", { class: { taskTemplateInline: _vm.inline }, staticStyle: { "float": "right", "margin-top": "5px", "color": "dodgerblue !important" }, attrs: { "href": _vm.taskSettingPageUrl, "target": "_blank" } }, [_vm._v(" " + _vm._s(_vm.$t("message.taskSetting")) + " ")]) : _vm._e(), _c("div", { class: { taskTemplateInline: _vm.inline }, staticStyle: { "margin-top": "20px" } }, [_c("
|
|
1130
|
+
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.newTask")) + " ")]), _vm.taskSettingPageUrl ? _c("a", { class: { taskTemplateInline: _vm.inline }, staticStyle: { "float": "right", "margin-top": "5px", "color": "dodgerblue !important" }, attrs: { "href": _vm.taskSettingPageUrl, "target": "_blank" } }, [_vm._v(" " + _vm._s(_vm.$t("message.taskSetting")) + " ")]) : _vm._e(), _c("div", { class: { taskTemplateInline: _vm.inline }, staticStyle: { "margin-top": "20px" } }, [_c("ant-checkbox-group", { attrs: { "value": _vm.conditions.isEmployee }, on: { "change": function($event) {
|
|
873
1131
|
return _vm.changeVal("isEmployee", $event);
|
|
874
|
-
} } }, [_c("
|
|
1132
|
+
} } }, [_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")) + " ")])], 1)], 1)], 1);
|
|
875
1133
|
};
|
|
876
1134
|
var staticRenderFns$6 = [];
|
|
877
1135
|
var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
878
1136
|
const __cssModules$6 = {};
|
|
879
|
-
var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, "
|
|
1137
|
+
var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, "3f1928ba", null, null);
|
|
880
1138
|
function __vue2_injectStyles$6(context) {
|
|
881
1139
|
for (let o in __cssModules$6) {
|
|
882
1140
|
this[o] = __cssModules$6[o];
|
|
@@ -946,20 +1204,20 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
946
1204
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
947
1205
|
PERFORMANCE OF THIS SOFTWARE.
|
|
948
1206
|
***************************************************************************** */
|
|
949
|
-
var extendStatics$
|
|
950
|
-
extendStatics$
|
|
1207
|
+
var extendStatics$1 = function(d, b) {
|
|
1208
|
+
extendStatics$1 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
951
1209
|
d2.__proto__ = b2;
|
|
952
1210
|
} || function(d2, b2) {
|
|
953
1211
|
for (var p in b2)
|
|
954
1212
|
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
955
1213
|
d2[p] = b2[p];
|
|
956
1214
|
};
|
|
957
|
-
return extendStatics$
|
|
1215
|
+
return extendStatics$1(d, b);
|
|
958
1216
|
};
|
|
959
|
-
function __extends$
|
|
1217
|
+
function __extends$1(d, b) {
|
|
960
1218
|
if (typeof b !== "function" && b !== null)
|
|
961
1219
|
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
962
|
-
extendStatics$
|
|
1220
|
+
extendStatics$1(d, b);
|
|
963
1221
|
function __2() {
|
|
964
1222
|
this.constructor = d;
|
|
965
1223
|
}
|
|
@@ -1026,7 +1284,7 @@ var EffectScopeImpl = function() {
|
|
|
1026
1284
|
return EffectScopeImpl2;
|
|
1027
1285
|
}();
|
|
1028
1286
|
(function(_super) {
|
|
1029
|
-
__extends$
|
|
1287
|
+
__extends$1(EffectScope, _super);
|
|
1030
1288
|
function EffectScope(detached) {
|
|
1031
1289
|
if (detached === void 0) {
|
|
1032
1290
|
detached = false;
|
|
@@ -1147,10 +1405,10 @@ function toVue3ComponentInstance(vm) {
|
|
|
1147
1405
|
"vnode",
|
|
1148
1406
|
"slots"
|
|
1149
1407
|
];
|
|
1150
|
-
instanceProps.forEach(function(
|
|
1151
|
-
proxy(instance,
|
|
1408
|
+
instanceProps.forEach(function(prop2) {
|
|
1409
|
+
proxy(instance, prop2, {
|
|
1152
1410
|
get: function() {
|
|
1153
|
-
return vm["$" +
|
|
1411
|
+
return vm["$" + prop2];
|
|
1154
1412
|
}
|
|
1155
1413
|
});
|
|
1156
1414
|
});
|
|
@@ -1852,6 +2110,12 @@ function useT() {
|
|
|
1852
2110
|
}
|
|
1853
2111
|
var __vue2_script$5 = defineComponent({
|
|
1854
2112
|
name: "TaskTablePure",
|
|
2113
|
+
components: {
|
|
2114
|
+
AntTable: Table,
|
|
2115
|
+
AntTag: Tag,
|
|
2116
|
+
AntTooltip: Tooltip,
|
|
2117
|
+
AntButton: Button
|
|
2118
|
+
},
|
|
1855
2119
|
props: {
|
|
1856
2120
|
addedTasks: {
|
|
1857
2121
|
type: Array,
|
|
@@ -1922,18 +2186,18 @@ var render$5 = function() {
|
|
|
1922
2186
|
var _vm = this;
|
|
1923
2187
|
var _h = _vm.$createElement;
|
|
1924
2188
|
var _c = _vm._self._c || _h;
|
|
1925
|
-
return _c("div", [_c("
|
|
2189
|
+
return _c("div", [_c("ant-table", { attrs: { "dataSource": _vm.dataSource, "rowKey": "id", "columns": _vm.columns, "pagination": _vm.pagination, "loading": _vm.loading }, on: { "change": function($event) {
|
|
1926
2190
|
return _vm.$emit("changePagination", $event);
|
|
1927
2191
|
} }, scopedSlots: _vm._u([{ key: "taskName", fn: function(text, record) {
|
|
1928
|
-
return _c("span", {}, [_c("span", { staticStyle: { "display": "inline-block", "width": "250px" } }, [_vm._v(_vm._s(text))]), _c("
|
|
2192
|
+
return _c("span", {}, [_c("span", { staticStyle: { "display": "inline-block", "width": "250px" } }, [_vm._v(_vm._s(text))]), _c("ant-tag", { attrs: { "color": _vm.tagColor(record.isEmployee) } }, [_vm._v(" " + _vm._s(_vm.$t(_vm.AssigneeTypesText[record.isEmployee])) + " ")])], 1);
|
|
1929
2193
|
} }, { key: "tagList", fn: function(text) {
|
|
1930
|
-
return [_c("
|
|
2194
|
+
return [_c("ant-tooltip", { attrs: { "placement": "left", "title": text ? text.join(", ") : "-" } }, [_c("div", { staticClass: "tags-container" }, [_c("span", [_vm._v(_vm._s(text ? text.join(", ") : "-"))])])])];
|
|
1931
2195
|
} }, { key: "operation", fn: function(_, record) {
|
|
1932
|
-
return [_vm.showEdit ? _c("
|
|
2196
|
+
return [_vm.showEdit ? _c("ant-button", { staticClass: "mr-2", attrs: { "disabled": _vm.isTemplateAdded(record) || record.isGallery, "size": "small" }, on: { "click": function($event) {
|
|
1933
2197
|
return _vm.$emit("editTask", record);
|
|
1934
|
-
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.editTask")) + " ")]) : _vm._e(), _vm.isTemplateAdded(record) ? _c("
|
|
2198
|
+
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.editTask")) + " ")]) : _vm._e(), _vm.isTemplateAdded(record) ? _c("ant-button", { staticStyle: { "width": "70px" }, attrs: { "size": "small", "type": "danger" }, on: { "click": function($event) {
|
|
1935
2199
|
return _vm.$emit("removeTask", record);
|
|
1936
|
-
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.remove")) + " ")]) : _c("
|
|
2200
|
+
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.remove")) + " ")]) : _c("ant-button", { staticStyle: { "width": "70px" }, attrs: { "size": "small", "type": "primary" }, on: { "click": function($event) {
|
|
1937
2201
|
return _vm.$emit("addTask", record);
|
|
1938
2202
|
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.add")) + " ")])];
|
|
1939
2203
|
} }]) })], 1);
|
|
@@ -1941,7 +2205,7 @@ var render$5 = function() {
|
|
|
1941
2205
|
var staticRenderFns$5 = [];
|
|
1942
2206
|
var TaskTablePure_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
1943
2207
|
const __cssModules$5 = {};
|
|
1944
|
-
var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "
|
|
2208
|
+
var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "4d7a0102", null, null);
|
|
1945
2209
|
function __vue2_injectStyles$5(context) {
|
|
1946
2210
|
for (let o in __cssModules$5) {
|
|
1947
2211
|
this[o] = __cssModules$5[o];
|
|
@@ -2098,7 +2362,10 @@ var __vue2_script$3 = defineComponent({
|
|
|
2098
2362
|
name: "MainModal",
|
|
2099
2363
|
components: {
|
|
2100
2364
|
TaskTable,
|
|
2101
|
-
TaskTemplateFilter
|
|
2365
|
+
TaskTemplateFilter,
|
|
2366
|
+
AntModal: Modal,
|
|
2367
|
+
AntButton: Button,
|
|
2368
|
+
AntBadge: Badge
|
|
2102
2369
|
},
|
|
2103
2370
|
props: {
|
|
2104
2371
|
visible: {
|
|
@@ -2132,12 +2399,12 @@ var render$3 = function() {
|
|
|
2132
2399
|
var _vm = this;
|
|
2133
2400
|
var _h = _vm.$createElement;
|
|
2134
2401
|
var _c = _vm._self._c || _h;
|
|
2135
|
-
return _c("
|
|
2402
|
+
return _c("ant-modal", { staticClass: "task-cart-main-modal", attrs: { "zIndex": 800, "width": 900, "visible": _vm.visible, "title": _vm.$t("message.addTask") }, on: { "cancel": function($event) {
|
|
2136
2403
|
return _vm.$emit("update:visible", false);
|
|
2137
2404
|
} }, scopedSlots: _vm._u([{ key: "footer", fn: function() {
|
|
2138
|
-
return [_c("
|
|
2405
|
+
return [_c("ant-button", { staticStyle: { "margin-right": "20px" }, on: { "click": function($event) {
|
|
2139
2406
|
return _vm.$emit("update:visible", false);
|
|
2140
|
-
} } }, [_vm._v("Cancel ")]), _c("
|
|
2407
|
+
} } }, [_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) {
|
|
2141
2408
|
return _vm.$emit("update:reviewModalVisible", true);
|
|
2142
2409
|
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.reviewTasks")) + " ")])], 1)];
|
|
2143
2410
|
}, proxy: true }]) }, [_c("task-template-filter", { attrs: { "inline": true, "show-task-home-page-link": true, "task-setting-page-url": _vm.taskSettingPageUrl, "conditions": _vm.conditions }, on: { "update:conditions": function($event) {
|
|
@@ -2155,7 +2422,7 @@ var render$3 = function() {
|
|
|
2155
2422
|
var staticRenderFns$3 = [];
|
|
2156
2423
|
var MainModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2157
2424
|
const __cssModules$3 = {};
|
|
2158
|
-
var __component__$3 = /* @__PURE__ */ normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, "
|
|
2425
|
+
var __component__$3 = /* @__PURE__ */ normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, "963ab8f0", null, null);
|
|
2159
2426
|
function __vue2_injectStyles$3(context) {
|
|
2160
2427
|
for (let o in __cssModules$3) {
|
|
2161
2428
|
this[o] = __cssModules$3[o];
|
|
@@ -2167,7 +2434,10 @@ var MainModal = /* @__PURE__ */ function() {
|
|
|
2167
2434
|
var __vue2_script$2 = defineComponent({
|
|
2168
2435
|
name: "ReviewModal",
|
|
2169
2436
|
components: {
|
|
2170
|
-
TaskTablePure
|
|
2437
|
+
TaskTablePure,
|
|
2438
|
+
AntModal: Modal,
|
|
2439
|
+
AntCheckbox: Checkbox,
|
|
2440
|
+
AntButton: Button
|
|
2171
2441
|
},
|
|
2172
2442
|
props: {
|
|
2173
2443
|
visible: {
|
|
@@ -2223,11 +2493,11 @@ var render$2 = function() {
|
|
|
2223
2493
|
var _vm = this;
|
|
2224
2494
|
var _h = _vm.$createElement;
|
|
2225
2495
|
var _c = _vm._self._c || _h;
|
|
2226
|
-
return _c("
|
|
2496
|
+
return _c("ant-modal", { attrs: { "zIndex": 900, "width": "900px", "visible": _vm.visible, "title": _vm.$t("message.reviewTasksTitle") } }, [_c("task-table-pure", { attrs: { "show-edit": false, "loading": false, "no-edit": true, "data-source": _vm.addedTasks, "pagination": _vm.pagination, "added-tasks": _vm.addedTasks }, on: { "removeTask": _vm.removeTask, "changePagination": _vm.changePagination } }), _c("div", { attrs: { "slot": "footer" }, slot: "footer" }, [_vm.showSendEmail ? _c("ant-checkbox", { staticStyle: { "float": "left" }, attrs: { "checked": _vm.sendEmail }, on: { "change": function($event) {
|
|
2227
2497
|
return _vm.$emit("update:sendEmail", $event.target.checked);
|
|
2228
|
-
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.sendTaskEmail")) + " ")]) : _vm._e(), _c("
|
|
2498
|
+
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.sendTaskEmail")) + " ")]) : _vm._e(), _c("ant-button", { on: { "click": function($event) {
|
|
2229
2499
|
return _vm.$emit("update:visible", false);
|
|
2230
|
-
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.cancel")) + " ")]), _c("
|
|
2500
|
+
} } }, [_vm._v(" " + _vm._s(_vm.$t("message.cancel")) + " ")]), _c("ant-button", { attrs: { "loading": _vm.loading, "type": "primary", "disabled": !_vm.addedTasks.length }, on: { "click": function($event) {
|
|
2231
2501
|
_vm.$emit("submit", {
|
|
2232
2502
|
addedTasks: _vm.addedTasks,
|
|
2233
2503
|
addedTaskIds: _vm.addedTasks.map(function(ref2) {
|
|
@@ -2241,7 +2511,7 @@ var render$2 = function() {
|
|
|
2241
2511
|
var staticRenderFns$2 = [];
|
|
2242
2512
|
var ReviewModal_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2243
2513
|
const __cssModules$2 = {};
|
|
2244
|
-
var __component__$2 = /* @__PURE__ */ normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, "
|
|
2514
|
+
var __component__$2 = /* @__PURE__ */ normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, "8f6cc376", null, null);
|
|
2245
2515
|
function __vue2_injectStyles$2(context) {
|
|
2246
2516
|
for (let o in __cssModules$2) {
|
|
2247
2517
|
this[o] = __cssModules$2[o];
|
|
@@ -2308,32 +2578,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
2308
2578
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2309
2579
|
PERFORMANCE OF THIS SOFTWARE.
|
|
2310
2580
|
***************************************************************************** */
|
|
2311
|
-
var extendStatics
|
|
2312
|
-
extendStatics
|
|
2581
|
+
var extendStatics = function(d, b) {
|
|
2582
|
+
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
2313
2583
|
d2.__proto__ = b2;
|
|
2314
2584
|
} || function(d2, b2) {
|
|
2315
2585
|
for (var p in b2)
|
|
2316
2586
|
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
2317
2587
|
d2[p] = b2[p];
|
|
2318
2588
|
};
|
|
2319
|
-
return extendStatics
|
|
2589
|
+
return extendStatics(d, b);
|
|
2320
2590
|
};
|
|
2321
|
-
function __extends
|
|
2591
|
+
function __extends(d, b) {
|
|
2322
2592
|
if (typeof b !== "function" && b !== null)
|
|
2323
2593
|
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
2324
|
-
extendStatics
|
|
2594
|
+
extendStatics(d, b);
|
|
2325
2595
|
function __2() {
|
|
2326
2596
|
this.constructor = d;
|
|
2327
2597
|
}
|
|
2328
2598
|
d.prototype = b === null ? Object.create(b) : (__2.prototype = b.prototype, new __2());
|
|
2329
2599
|
}
|
|
2600
|
+
var __assign = function() {
|
|
2601
|
+
__assign = Object.assign || function __assign2(t) {
|
|
2602
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2603
|
+
s = arguments[i];
|
|
2604
|
+
for (var p in s)
|
|
2605
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2606
|
+
t[p] = s[p];
|
|
2607
|
+
}
|
|
2608
|
+
return t;
|
|
2609
|
+
};
|
|
2610
|
+
return __assign.apply(this, arguments);
|
|
2611
|
+
};
|
|
2612
|
+
function __rest(s, e) {
|
|
2613
|
+
var t = {};
|
|
2614
|
+
for (var p in s)
|
|
2615
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2616
|
+
t[p] = s[p];
|
|
2617
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2618
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2619
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2620
|
+
t[p[i]] = s[p[i]];
|
|
2621
|
+
}
|
|
2622
|
+
return t;
|
|
2623
|
+
}
|
|
2624
|
+
function __spreadArray(to, from, pack) {
|
|
2625
|
+
if (pack || arguments.length === 2)
|
|
2626
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
2627
|
+
if (ar || !(i in from)) {
|
|
2628
|
+
if (!ar)
|
|
2629
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
2630
|
+
ar[i] = from[i];
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
2634
|
+
}
|
|
2330
2635
|
var genericMessage = "Invariant Violation";
|
|
2331
2636
|
var _a$3 = Object.setPrototypeOf, setPrototypeOf = _a$3 === void 0 ? function(obj, proto) {
|
|
2332
2637
|
obj.__proto__ = proto;
|
|
2333
2638
|
return obj;
|
|
2334
2639
|
} : _a$3;
|
|
2335
2640
|
var InvariantError = function(_super) {
|
|
2336
|
-
__extends
|
|
2641
|
+
__extends(InvariantError2, _super);
|
|
2337
2642
|
function InvariantError2(message2) {
|
|
2338
2643
|
if (message2 === void 0) {
|
|
2339
2644
|
message2 = genericMessage;
|
|
@@ -2454,74 +2759,6 @@ function checkDEV() {
|
|
|
2454
2759
|
}
|
|
2455
2760
|
removeTemporaryGlobals();
|
|
2456
2761
|
checkDEV();
|
|
2457
|
-
/*! *****************************************************************************
|
|
2458
|
-
Copyright (c) Microsoft Corporation.
|
|
2459
|
-
|
|
2460
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
2461
|
-
purpose with or without fee is hereby granted.
|
|
2462
|
-
|
|
2463
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
2464
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
2465
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
2466
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
2467
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
2468
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
2469
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
2470
|
-
***************************************************************************** */
|
|
2471
|
-
var extendStatics = function(d, b) {
|
|
2472
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
2473
|
-
d2.__proto__ = b2;
|
|
2474
|
-
} || function(d2, b2) {
|
|
2475
|
-
for (var p in b2)
|
|
2476
|
-
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
2477
|
-
d2[p] = b2[p];
|
|
2478
|
-
};
|
|
2479
|
-
return extendStatics(d, b);
|
|
2480
|
-
};
|
|
2481
|
-
function __extends(d, b) {
|
|
2482
|
-
if (typeof b !== "function" && b !== null)
|
|
2483
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
2484
|
-
extendStatics(d, b);
|
|
2485
|
-
function __2() {
|
|
2486
|
-
this.constructor = d;
|
|
2487
|
-
}
|
|
2488
|
-
d.prototype = b === null ? Object.create(b) : (__2.prototype = b.prototype, new __2());
|
|
2489
|
-
}
|
|
2490
|
-
var __assign = function() {
|
|
2491
|
-
__assign = Object.assign || function __assign2(t) {
|
|
2492
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
2493
|
-
s = arguments[i];
|
|
2494
|
-
for (var p in s)
|
|
2495
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
2496
|
-
t[p] = s[p];
|
|
2497
|
-
}
|
|
2498
|
-
return t;
|
|
2499
|
-
};
|
|
2500
|
-
return __assign.apply(this, arguments);
|
|
2501
|
-
};
|
|
2502
|
-
function __rest(s, e) {
|
|
2503
|
-
var t = {};
|
|
2504
|
-
for (var p in s)
|
|
2505
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
2506
|
-
t[p] = s[p];
|
|
2507
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
2508
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
2509
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
2510
|
-
t[p[i]] = s[p[i]];
|
|
2511
|
-
}
|
|
2512
|
-
return t;
|
|
2513
|
-
}
|
|
2514
|
-
function __spreadArray(to, from, pack) {
|
|
2515
|
-
if (pack || arguments.length === 2)
|
|
2516
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
2517
|
-
if (ar || !(i in from)) {
|
|
2518
|
-
if (!ar)
|
|
2519
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
2520
|
-
ar[i] = from[i];
|
|
2521
|
-
}
|
|
2522
|
-
}
|
|
2523
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
2524
|
-
}
|
|
2525
2762
|
function shouldInclude(_a2, variables) {
|
|
2526
2763
|
var directives = _a2.directives;
|
|
2527
2764
|
if (!directives || !directives.length) {
|
|
@@ -6112,7 +6349,7 @@ function __vue2_injectStyles$1(context) {
|
|
|
6112
6349
|
this[o] = __cssModules$1[o];
|
|
6113
6350
|
}
|
|
6114
6351
|
}
|
|
6115
|
-
var index$
|
|
6352
|
+
var index$1 = /* @__PURE__ */ function() {
|
|
6116
6353
|
return __component__$1.exports;
|
|
6117
6354
|
}();
|
|
6118
6355
|
var __vue2_script = defineComponent({
|
|
@@ -6141,169 +6378,7 @@ function __vue2_injectStyles(context) {
|
|
|
6141
6378
|
this[o] = __cssModules[o];
|
|
6142
6379
|
}
|
|
6143
6380
|
}
|
|
6144
|
-
var index
|
|
6381
|
+
var index = /* @__PURE__ */ function() {
|
|
6145
6382
|
return __component__.exports;
|
|
6146
6383
|
}();
|
|
6147
|
-
|
|
6148
|
-
switch (path2) {
|
|
6149
|
-
case "../languages/ar.ts":
|
|
6150
|
-
return import("./ar.js");
|
|
6151
|
-
case "../languages/ar2.ts":
|
|
6152
|
-
return import("./ar2.js");
|
|
6153
|
-
case "../languages/ar3.ts":
|
|
6154
|
-
return import("./ar3.js");
|
|
6155
|
-
case "../languages/ben.ts":
|
|
6156
|
-
return import("./ben.js");
|
|
6157
|
-
case "../languages/ben2.ts":
|
|
6158
|
-
return import("./ben2.js");
|
|
6159
|
-
case "../languages/ben3.ts":
|
|
6160
|
-
return import("./ben3.js");
|
|
6161
|
-
case "../languages/ch.ts":
|
|
6162
|
-
return import("./ch.js");
|
|
6163
|
-
case "../languages/ch2.ts":
|
|
6164
|
-
return import("./ch2.js");
|
|
6165
|
-
case "../languages/ch3.ts":
|
|
6166
|
-
return import("./ch3.js");
|
|
6167
|
-
case "../languages/en.ts":
|
|
6168
|
-
return import("./en.js");
|
|
6169
|
-
case "../languages/en2.ts":
|
|
6170
|
-
return import("./en2.js");
|
|
6171
|
-
case "../languages/en3.ts":
|
|
6172
|
-
return import("./en3.js");
|
|
6173
|
-
case "../languages/es.ts":
|
|
6174
|
-
return import("./es.js");
|
|
6175
|
-
case "../languages/es2.ts":
|
|
6176
|
-
return import("./es2.js");
|
|
6177
|
-
case "../languages/es3.ts":
|
|
6178
|
-
return import("./es3.js");
|
|
6179
|
-
case "../languages/fa.ts":
|
|
6180
|
-
return import("./fa.js");
|
|
6181
|
-
case "../languages/fa2.ts":
|
|
6182
|
-
return import("./fa2.js");
|
|
6183
|
-
case "../languages/fa3.ts":
|
|
6184
|
-
return import("./fa3.js");
|
|
6185
|
-
case "../languages/fr.ts":
|
|
6186
|
-
return import("./fr.js");
|
|
6187
|
-
case "../languages/fr2.ts":
|
|
6188
|
-
return import("./fr2.js");
|
|
6189
|
-
case "../languages/fr3.ts":
|
|
6190
|
-
return import("./fr3.js");
|
|
6191
|
-
case "../languages/hi.ts":
|
|
6192
|
-
return import("./hi.js");
|
|
6193
|
-
case "../languages/hi2.ts":
|
|
6194
|
-
return import("./hi2.js");
|
|
6195
|
-
case "../languages/hi3.ts":
|
|
6196
|
-
return import("./hi3.js");
|
|
6197
|
-
case "../languages/ht.ts":
|
|
6198
|
-
return import("./ht.js");
|
|
6199
|
-
case "../languages/ht2.ts":
|
|
6200
|
-
return import("./ht2.js");
|
|
6201
|
-
case "../languages/ht3.ts":
|
|
6202
|
-
return import("./ht3.js");
|
|
6203
|
-
case "../languages/hy.ts":
|
|
6204
|
-
return import("./hy.js");
|
|
6205
|
-
case "../languages/hy2.ts":
|
|
6206
|
-
return import("./hy2.js");
|
|
6207
|
-
case "../languages/hy3.ts":
|
|
6208
|
-
return import("./hy3.js");
|
|
6209
|
-
case "../languages/jp.ts":
|
|
6210
|
-
return import("./jp.js");
|
|
6211
|
-
case "../languages/jp2.ts":
|
|
6212
|
-
return import("./jp2.js");
|
|
6213
|
-
case "../languages/jp3.ts":
|
|
6214
|
-
return import("./jp3.js");
|
|
6215
|
-
case "../languages/ko.ts":
|
|
6216
|
-
return import("./ko.js");
|
|
6217
|
-
case "../languages/ko2.ts":
|
|
6218
|
-
return import("./ko2.js");
|
|
6219
|
-
case "../languages/ko3.ts":
|
|
6220
|
-
return import("./ko3.js");
|
|
6221
|
-
case "../languages/nep.ts":
|
|
6222
|
-
return import("./nep.js");
|
|
6223
|
-
case "../languages/nep2.ts":
|
|
6224
|
-
return import("./nep2.js");
|
|
6225
|
-
case "../languages/nep3.ts":
|
|
6226
|
-
return import("./nep3.js");
|
|
6227
|
-
case "../languages/pt.ts":
|
|
6228
|
-
return import("./pt.js");
|
|
6229
|
-
case "../languages/pt2.ts":
|
|
6230
|
-
return import("./pt2.js");
|
|
6231
|
-
case "../languages/pt3.ts":
|
|
6232
|
-
return import("./pt3.js");
|
|
6233
|
-
case "../languages/ru.ts":
|
|
6234
|
-
return import("./ru.js");
|
|
6235
|
-
case "../languages/ru2.ts":
|
|
6236
|
-
return import("./ru2.js");
|
|
6237
|
-
case "../languages/ru3.ts":
|
|
6238
|
-
return import("./ru3.js");
|
|
6239
|
-
default:
|
|
6240
|
-
return new Promise(function(resolve, reject) {
|
|
6241
|
-
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path2)));
|
|
6242
|
-
});
|
|
6243
|
-
}
|
|
6244
|
-
}
|
|
6245
|
-
const loaded = new Map();
|
|
6246
|
-
async function getLanguageMessage(lang) {
|
|
6247
|
-
if (!loaded.has(lang)) {
|
|
6248
|
-
const { default: message2 } = await __variableDynamicImportRuntime0__(`../languages/${lang}.ts`);
|
|
6249
|
-
loaded.set(lang, message2);
|
|
6250
|
-
}
|
|
6251
|
-
return loaded.get(lang);
|
|
6252
|
-
}
|
|
6253
|
-
var index = [
|
|
6254
|
-
{
|
|
6255
|
-
id: 145,
|
|
6256
|
-
displayName: "I-485",
|
|
6257
|
-
isSmart: true,
|
|
6258
|
-
roles: ["Preparer", "Beneficiary"]
|
|
6259
|
-
},
|
|
6260
|
-
{
|
|
6261
|
-
id: 144,
|
|
6262
|
-
displayName: "I-129-H-Company",
|
|
6263
|
-
isSmart: true,
|
|
6264
|
-
roles: ["Preparer", "Petitioner", "Beneficiary"]
|
|
6265
|
-
},
|
|
6266
|
-
{
|
|
6267
|
-
id: 143,
|
|
6268
|
-
displayName: "I-129-Attachment",
|
|
6269
|
-
isSmart: true,
|
|
6270
|
-
roles: ["Preparer", "Beneficiary"]
|
|
6271
|
-
},
|
|
6272
|
-
{
|
|
6273
|
-
id: 142,
|
|
6274
|
-
displayName: "I-131",
|
|
6275
|
-
isSmart: true,
|
|
6276
|
-
roles: ["Preparer", "Beneficiary"]
|
|
6277
|
-
},
|
|
6278
|
-
{
|
|
6279
|
-
id: 141,
|
|
6280
|
-
displayName: "I-864",
|
|
6281
|
-
isSmart: true,
|
|
6282
|
-
roles: ["Preparer", "Petitioner", "Beneficiary"]
|
|
6283
|
-
},
|
|
6284
|
-
{
|
|
6285
|
-
id: 131,
|
|
6286
|
-
displayName: "I-130",
|
|
6287
|
-
isSmart: true,
|
|
6288
|
-
roles: ["Preparer", "Beneficiary"]
|
|
6289
|
-
},
|
|
6290
|
-
{
|
|
6291
|
-
id: 130,
|
|
6292
|
-
displayName: "G-28-Person",
|
|
6293
|
-
isSmart: true,
|
|
6294
|
-
roles: ["Preparer", "Petitioner", "Beneficiary"]
|
|
6295
|
-
},
|
|
6296
|
-
{
|
|
6297
|
-
id: 129,
|
|
6298
|
-
displayName: "I-130A",
|
|
6299
|
-
isSmart: true,
|
|
6300
|
-
roles: ["Preparer", "Beneficiary"]
|
|
6301
|
-
},
|
|
6302
|
-
{
|
|
6303
|
-
id: 126,
|
|
6304
|
-
displayName: "G-1145",
|
|
6305
|
-
isSmart: true,
|
|
6306
|
-
roles: ["Preparer", "Petitioner", "Beneficiary"]
|
|
6307
|
-
}
|
|
6308
|
-
];
|
|
6309
|
-
export { NewTask, index$3 as ProfileSelect, index$2 as TaskCart, TaskForm, TaskTemplateFilter, index$1 as TestComponent, index as forms, getLanguageMessage };
|
|
6384
|
+
export { NewTask, index$3 as ProfileSelect, index$1 as TaskCart, TaskForm, TaskTable, TaskTemplateFilter, index as TestComponent, index$2 as forms, getLanguageMessage, useSearchTaskConditions, useSearchTaskTemplates };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ailaw/venus",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"typescript": "~4.1.5",
|
|
39
39
|
"vite": "^2.7.12",
|
|
40
40
|
"vite-plugin-vue2": "^1.9.2",
|
|
41
|
+
"vue": "^2.6.14",
|
|
41
42
|
"vue-template-compiler": "^2.6.14",
|
|
42
43
|
"vue-tsc": "^0.30.2"
|
|
43
44
|
},
|