@ailaw/venus 0.3.2 → 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 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-afd84cca]{border:1px solid #cccccc;border-radius:6px;padding:0 4px;min-height:30px;cursor:pointer}.taskTemplateInline[data-v-26adfbde]{float:right}a.taskTemplateInline[data-v-26adfbde]{margin-left:10px}div.taskTemplateInline[data-v-26adfbde]{margin-top:5px!important}.tags-container[data-v-2fe21258]{max-width:200px;word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
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
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
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
24
  import { path, uniqBy, prop } from "ramda";
@@ -497,6 +497,216 @@ function __vue2_injectStyles$a(context) {
497
497
  var index$3 = /* @__PURE__ */ function() {
498
498
  return __component__$a.exports;
499
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
+ ];
500
710
  var AssigneeTypes;
501
711
  (function(AssigneeTypes2) {
502
712
  AssigneeTypes2[AssigneeTypes2["EMPTY_DEFAULT"] = 4] = "EMPTY_DEFAULT";
@@ -543,6 +753,7 @@ var useChangeVal = (props, emit) => (k, v) => {
543
753
  };
544
754
  var __vue2_script$9 = defineComponent({
545
755
  name: "aFileUploader",
756
+ components: { AntUpload: Upload, AntTag: Tag },
546
757
  props: {
547
758
  value: {
548
759
  type: Array,
@@ -611,16 +822,16 @@ var render$9 = function() {
611
822
  var _vm = this;
612
823
  var _h = _vm.$createElement;
613
824
  var _c = _vm._self._c || _h;
614
- return _c("div", { staticClass: "container" }, [_c("a-upload", { staticStyle: { "display": "inline" }, attrs: { "disabled": _vm.loading, "before-upload": _vm.beforeUpload, "action": "javascript:;", "fileList": [] } }, [_c("a-tag", [_vm._v(" " + _vm._s(_vm.$t("message.selectFile")) + " ")]), _vm.value.length ? _c("div", { staticStyle: { "display": "inline-block" } }, _vm._l(_vm.value, function(file) {
615
- return _c("a-tag", { key: file.id, attrs: { "closable": "" }, on: { "close": function($event) {
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) {
616
827
  return _vm.remove(file.id);
617
- } } }, [_vm._v(_vm._s(file.name))]);
828
+ } } }, [_vm._v(_vm._s(file.name) + " ")]);
618
829
  }), 1) : _c("span", { staticStyle: { "color": "#ccc" } }, [_vm._v(_vm._s(_vm.allowFiles.join(" ")))])], 1)], 1);
619
830
  };
620
831
  var staticRenderFns$9 = [];
621
832
  var aFileUploader_vue_vue_type_style_index_0_scoped_true_lang = "";
622
833
  const __cssModules$9 = {};
623
- var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "afd84cca", null, null);
834
+ var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "d2a7dbe0", null, null);
624
835
  function __vue2_injectStyles$9(context) {
625
836
  for (let o in __cssModules$9) {
626
837
  this[o] = __cssModules$9[o];
@@ -666,6 +877,19 @@ const roles = [
666
877
  ];
667
878
  var __vue2_script$8 = defineComponent({
668
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
+ },
669
893
  props: {
670
894
  value: {
671
895
  type: Object,
@@ -676,7 +900,6 @@ var __vue2_script$8 = defineComponent({
676
900
  required: true
677
901
  }
678
902
  },
679
- components: { AFileUploader },
680
903
  setup(props, { emit }) {
681
904
  const nameError = ref$1(false);
682
905
  const typeError = ref$1(false);
@@ -713,28 +936,28 @@ var render$8 = function() {
713
936
  var _vm = this;
714
937
  var _h = _vm.$createElement;
715
938
  var _c = _vm._self._c || _h;
716
- return _c("a-form", { staticClass: "add-edit-task-modal", on: { "submit": function(e) {
939
+ return _c("ant-form", { staticClass: "add-edit-task-modal", on: { "submit": function(e) {
717
940
  return e.preventDefault();
718
- } } }, [_c("a-row", { attrs: { "gutter": 20 } }, [_c("a-col", { attrs: { "span": 12 } }, [_c("a-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("a-input", { attrs: { "value": _vm.value.taskName }, on: { "input": function($event) {
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) {
719
942
  return _vm.changeVal("taskName", $event.target.value);
720
- } } })], 1)], 1), _c("a-col", { attrs: { "span": 12 } }, [_c("a-form-item", { attrs: { "label": _vm.$t("message.assignee") + "(" + _vm.$t("message.optional") + ")" } }, [_c("a-select", { staticStyle: { "min-width": "170px" }, attrs: { "value": _vm.value.isEmployee, "allowClear": true }, on: { "change": function($event) {
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) {
721
944
  return _vm.changeVal("isEmployee", $event);
722
945
  } } }, _vm._l(_vm.roles, function(role) {
723
- return _c("a-select-option", { key: role.id, attrs: { "value": role.key } }, [_c("span", { staticStyle: { "text-transform": "capitalize" } }, [_vm._v(" " + _vm._s(_vm.$t("message." + role.i18nKey)) + " ")])]);
724
- }), 1)], 1)], 1)], 1), _c("a-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("a-radio-group", { attrs: { "value": _vm.value.generalTaskType }, on: { "change": function($event) {
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) {
725
948
  return _vm.changeVal("generalTaskType", $event.target.value);
726
- } } }, [_c("a-radio", { attrs: { "value": _vm.TaskTypes.clientUpload } }, [_vm._v(" " + _vm._s(_vm.$t("message.clientUpload")) + " ")]), _c("a-radio", { attrs: { "value": _vm.TaskTypes.clientReview, "disabled": _vm.isAttorneySelected } }, [_vm._v(" " + _vm._s(_vm.$t("message.clientReview")) + " ")])], 1) : _vm._e()], 1), _c("a-form-item", { attrs: { "label": _vm.$t("message.descriptions") + "(" + _vm.$t("message.optional") + ")" } }, [_c("a-textarea", { attrs: { "value": _vm.value.descriptions }, on: { "input": function($event) {
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) {
727
950
  return _vm.changeVal("descriptions", $event.target.value);
728
- } } })], 1), _c("a-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) {
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) {
729
952
  return _vm.changeVal("sampleDocs", $event);
730
- } } })], 1), _c("a-form-item", { attrs: { "label": _vm.$t("message.tags") + "(" + _vm.$t("message.optional") + ")" } }, [_c("a-select", { attrs: { "mode": "tags", "value": _vm.value.tagList, "options": [] }, on: { "change": function($event) {
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) {
731
954
  return _vm.changeVal("tagList", $event);
732
955
  } } })], 1)], 1);
733
956
  };
734
957
  var staticRenderFns$8 = [];
735
958
  var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
736
959
  const __cssModules$8 = {};
737
- var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "7e2b3dce", null, null);
960
+ var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "2a28abbe", null, null);
738
961
  function __vue2_injectStyles$8(context) {
739
962
  for (let o in __cssModules$8) {
740
963
  this[o] = __cssModules$8[o];
@@ -745,7 +968,7 @@ var TaskForm = /* @__PURE__ */ function() {
745
968
  }();
746
969
  var __vue2_script$7 = defineComponent({
747
970
  name: "NewTask",
748
- components: { AFileUploader, TaskForm },
971
+ components: { AFileUploader, TaskForm, AntModal: Modal, AntCheckbox: Checkbox, AntButton: Button },
749
972
  props: {
750
973
  visible: {
751
974
  type: Boolean,
@@ -833,22 +1056,22 @@ var render$7 = function() {
833
1056
  var _vm = this;
834
1057
  var _h = _vm.$createElement;
835
1058
  var _c = _vm._self._c || _h;
836
- return _c("a-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) {
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) {
837
1060
  return _vm.changeVisible(false);
838
1061
  } }, scopedSlots: _vm._u([{ key: "footer", fn: function() {
839
- return [_c("div", { staticClass: "footer" }, [_vm.showSendEmail ? _c("div", { staticStyle: { "float": "left", "padding-top": "5px", "padding-left": "10px" } }, [_c("a-checkbox", { attrs: { "checked": _vm.value.isNotified }, on: { "change": function($event) {
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) {
840
1063
  return _vm.changeVal("isNotified", $event.target.checked);
841
- } } }, [_vm._v(" " + _vm._s(_vm.$t("message.sendEmail")) + " ")])], 1) : _vm._e(), _c("div", [_c("a-button", { attrs: { "loading": _vm.loading, "type": "primary" }, on: { "click": _vm.submit } }, [_vm._v(_vm._s(_vm.$t("message.submit")) + " ")]), _c("a-button", { on: { "click": function($event) {
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) {
842
1065
  return _vm.changeVisible(false);
843
1066
  } } }, [_vm._v(_vm._s(_vm.$t("message.cancel")) + " ")])], 1)])];
844
- }, 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("a-checkbox", { attrs: { "checked": _vm.value.isAddedToTask }, on: { "change": function($event) {
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) {
845
1068
  return _vm.changeVal("isAddedToTask", $event.target.checked);
846
1069
  } } }, [_vm._v(" " + _vm._s(_vm.$t("message.addToTaskList")) + " ")]) : _vm._e()], 1);
847
1070
  };
848
1071
  var staticRenderFns$7 = [];
849
1072
  var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
850
1073
  const __cssModules$7 = {};
851
- var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "be167d3a", null, null);
1074
+ var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "6a05980e", null, null);
852
1075
  function __vue2_injectStyles$7(context) {
853
1076
  for (let o in __cssModules$7) {
854
1077
  this[o] = __cssModules$7[o];
@@ -859,6 +1082,12 @@ var NewTask = /* @__PURE__ */ function() {
859
1082
  }();
860
1083
  var __vue2_script$6 = defineComponent({
861
1084
  name: "taskTemplateFilter",
1085
+ components: {
1086
+ AntInput: Input,
1087
+ AntButton: Button,
1088
+ AntCheckbox: Checkbox,
1089
+ AntCheckboxGroup: Checkbox.Group
1090
+ },
862
1091
  props: {
863
1092
  conditions: {
864
1093
  type: Object,
@@ -892,20 +1121,20 @@ var render$6 = function() {
892
1121
  var _vm = this;
893
1122
  var _h = _vm.$createElement;
894
1123
  var _c = _vm._self._c || _h;
895
- return _c("div", { staticClass: "filter mb-5" }, [_c("a-input", { staticStyle: { "width": "300px" }, attrs: { "value": _vm.conditions.keywords }, on: { "input": function($event) {
1124
+ return _c("div", { staticClass: "filter mb-5" }, [_c("ant-input", { staticStyle: { "width": "300px" }, attrs: { "value": _vm.conditions.keywords }, on: { "input": function($event) {
896
1125
  return _vm.changeVal("keywords", $event.target.value);
897
1126
  } }, scopedSlots: _vm._u([{ key: "suffix", fn: function() {
898
1127
  return void 0;
899
- }, proxy: true }]) }), _c("a-button", { class: { taskTemplateInline: _vm.inline }, staticStyle: { "margin-left": "20px", "float": "right" }, on: { "click": function($event) {
1128
+ }, proxy: true }]) }), _c("ant-button", { class: { taskTemplateInline: _vm.inline }, staticStyle: { "margin-left": "20px", "float": "right" }, on: { "click": function($event) {
900
1129
  return _vm.$emit("update:newTaskVisible", true);
901
- } } }, [_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("a-checkbox-group", { attrs: { "value": _vm.conditions.isEmployee }, on: { "change": function($event) {
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) {
902
1131
  return _vm.changeVal("isEmployee", $event);
903
- } } }, [_c("a-checkbox", { attrs: { "value": _vm.AssigneeTypes.ATTORNEY } }, [_vm._v(_vm._s(_vm.$t("message.attorney")) + " ")]), _c("a-checkbox", { attrs: { "value": _vm.AssigneeTypes.BENEFICIARY } }, [_vm._v(_vm._s(_vm.$t("message.beneficiary")) + " ")]), _c("a-checkbox", { attrs: { "value": _vm.AssigneeTypes.PETITIONER } }, [_vm._v(_vm._s(_vm.$t("message.petitioner")) + " ")])], 1)], 1)], 1);
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);
904
1133
  };
905
1134
  var staticRenderFns$6 = [];
906
1135
  var index_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
907
1136
  const __cssModules$6 = {};
908
- var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, "26adfbde", null, null);
1137
+ var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, "3f1928ba", null, null);
909
1138
  function __vue2_injectStyles$6(context) {
910
1139
  for (let o in __cssModules$6) {
911
1140
  this[o] = __cssModules$6[o];
@@ -1881,6 +2110,12 @@ function useT() {
1881
2110
  }
1882
2111
  var __vue2_script$5 = defineComponent({
1883
2112
  name: "TaskTablePure",
2113
+ components: {
2114
+ AntTable: Table,
2115
+ AntTag: Tag,
2116
+ AntTooltip: Tooltip,
2117
+ AntButton: Button
2118
+ },
1884
2119
  props: {
1885
2120
  addedTasks: {
1886
2121
  type: Array,
@@ -1951,18 +2186,18 @@ var render$5 = function() {
1951
2186
  var _vm = this;
1952
2187
  var _h = _vm.$createElement;
1953
2188
  var _c = _vm._self._c || _h;
1954
- return _c("div", [_c("a-table", { attrs: { "dataSource": _vm.dataSource, "rowKey": "id", "columns": _vm.columns, "pagination": _vm.pagination, "loading": _vm.loading }, on: { "change": function($event) {
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) {
1955
2190
  return _vm.$emit("changePagination", $event);
1956
2191
  } }, scopedSlots: _vm._u([{ key: "taskName", fn: function(text, record) {
1957
- return _c("span", {}, [_c("span", { staticStyle: { "display": "inline-block", "width": "250px" } }, [_vm._v(_vm._s(text))]), _c("a-tag", { attrs: { "color": _vm.tagColor(record.isEmployee) } }, [_vm._v(" " + _vm._s(_vm.$t(_vm.AssigneeTypesText[record.isEmployee])) + " ")])], 1);
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);
1958
2193
  } }, { key: "tagList", fn: function(text) {
1959
- return [_c("a-tooltip", { attrs: { "placement": "left", "title": text ? text.join(", ") : "-" } }, [_c("div", { staticClass: "tags-container" }, [_c("span", [_vm._v(_vm._s(text ? text.join(", ") : "-"))])])])];
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(", ") : "-"))])])])];
1960
2195
  } }, { key: "operation", fn: function(_, record) {
1961
- return [_vm.showEdit ? _c("a-button", { staticClass: "mr-2", attrs: { "disabled": _vm.isTemplateAdded(record) || record.isGallery, "size": "small" }, on: { "click": function($event) {
2196
+ return [_vm.showEdit ? _c("ant-button", { staticClass: "mr-2", attrs: { "disabled": _vm.isTemplateAdded(record) || record.isGallery, "size": "small" }, on: { "click": function($event) {
1962
2197
  return _vm.$emit("editTask", record);
1963
- } } }, [_vm._v(" " + _vm._s(_vm.$t("message.editTask")) + " ")]) : _vm._e(), _vm.isTemplateAdded(record) ? _c("a-button", { staticStyle: { "width": "70px" }, attrs: { "size": "small", "type": "danger" }, on: { "click": function($event) {
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) {
1964
2199
  return _vm.$emit("removeTask", record);
1965
- } } }, [_vm._v(" " + _vm._s(_vm.$t("message.remove")) + " ")]) : _c("a-button", { staticStyle: { "width": "70px" }, attrs: { "size": "small", "type": "primary" }, on: { "click": function($event) {
2200
+ } } }, [_vm._v(" " + _vm._s(_vm.$t("message.remove")) + " ")]) : _c("ant-button", { staticStyle: { "width": "70px" }, attrs: { "size": "small", "type": "primary" }, on: { "click": function($event) {
1966
2201
  return _vm.$emit("addTask", record);
1967
2202
  } } }, [_vm._v(" " + _vm._s(_vm.$t("message.add")) + " ")])];
1968
2203
  } }]) })], 1);
@@ -1970,7 +2205,7 @@ var render$5 = function() {
1970
2205
  var staticRenderFns$5 = [];
1971
2206
  var TaskTablePure_vue_vue_type_style_index_0_scoped_true_lang = "";
1972
2207
  const __cssModules$5 = {};
1973
- var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "2fe21258", null, null);
2208
+ var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "4d7a0102", null, null);
1974
2209
  function __vue2_injectStyles$5(context) {
1975
2210
  for (let o in __cssModules$5) {
1976
2211
  this[o] = __cssModules$5[o];
@@ -2127,7 +2362,10 @@ var __vue2_script$3 = defineComponent({
2127
2362
  name: "MainModal",
2128
2363
  components: {
2129
2364
  TaskTable,
2130
- TaskTemplateFilter
2365
+ TaskTemplateFilter,
2366
+ AntModal: Modal,
2367
+ AntButton: Button,
2368
+ AntBadge: Badge
2131
2369
  },
2132
2370
  props: {
2133
2371
  visible: {
@@ -2161,12 +2399,12 @@ var render$3 = function() {
2161
2399
  var _vm = this;
2162
2400
  var _h = _vm.$createElement;
2163
2401
  var _c = _vm._self._c || _h;
2164
- return _c("a-modal", { staticClass: "task-cart-main-modal", attrs: { "zIndex": 800, "width": 900, "visible": _vm.visible, "title": _vm.$t("message.addTask") }, on: { "cancel": function($event) {
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) {
2165
2403
  return _vm.$emit("update:visible", false);
2166
2404
  } }, scopedSlots: _vm._u([{ key: "footer", fn: function() {
2167
- return [_c("a-button", { staticStyle: { "margin-right": "20px" }, on: { "click": function($event) {
2405
+ return [_c("ant-button", { staticStyle: { "margin-right": "20px" }, on: { "click": function($event) {
2168
2406
  return _vm.$emit("update:visible", false);
2169
- } } }, [_vm._v("Cancel ")]), _c("a-badge", { attrs: { "count": _vm.addedTasks.length } }, [_c("a-button", { attrs: { "disabled": _vm.addedTasks.length === 0, "type": "primary" }, on: { "click": function($event) {
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) {
2170
2408
  return _vm.$emit("update:reviewModalVisible", true);
2171
2409
  } } }, [_vm._v(" " + _vm._s(_vm.$t("message.reviewTasks")) + " ")])], 1)];
2172
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) {
@@ -2184,7 +2422,7 @@ var render$3 = function() {
2184
2422
  var staticRenderFns$3 = [];
2185
2423
  var MainModal_vue_vue_type_style_index_0_scoped_true_lang = "";
2186
2424
  const __cssModules$3 = {};
2187
- var __component__$3 = /* @__PURE__ */ normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, "81205b02", null, null);
2425
+ var __component__$3 = /* @__PURE__ */ normalizeComponent(__vue2_script$3, render$3, staticRenderFns$3, false, __vue2_injectStyles$3, "963ab8f0", null, null);
2188
2426
  function __vue2_injectStyles$3(context) {
2189
2427
  for (let o in __cssModules$3) {
2190
2428
  this[o] = __cssModules$3[o];
@@ -2196,7 +2434,10 @@ var MainModal = /* @__PURE__ */ function() {
2196
2434
  var __vue2_script$2 = defineComponent({
2197
2435
  name: "ReviewModal",
2198
2436
  components: {
2199
- TaskTablePure
2437
+ TaskTablePure,
2438
+ AntModal: Modal,
2439
+ AntCheckbox: Checkbox,
2440
+ AntButton: Button
2200
2441
  },
2201
2442
  props: {
2202
2443
  visible: {
@@ -2252,11 +2493,11 @@ var render$2 = function() {
2252
2493
  var _vm = this;
2253
2494
  var _h = _vm.$createElement;
2254
2495
  var _c = _vm._self._c || _h;
2255
- return _c("a-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("a-checkbox", { staticStyle: { "float": "left" }, attrs: { "checked": _vm.sendEmail }, on: { "change": function($event) {
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) {
2256
2497
  return _vm.$emit("update:sendEmail", $event.target.checked);
2257
- } } }, [_vm._v(" " + _vm._s(_vm.$t("message.sendTaskEmail")) + " ")]) : _vm._e(), _c("a-button", { on: { "click": function($event) {
2498
+ } } }, [_vm._v(" " + _vm._s(_vm.$t("message.sendTaskEmail")) + " ")]) : _vm._e(), _c("ant-button", { on: { "click": function($event) {
2258
2499
  return _vm.$emit("update:visible", false);
2259
- } } }, [_vm._v(" " + _vm._s(_vm.$t("message.cancel")) + " ")]), _c("a-button", { attrs: { "loading": _vm.loading, "type": "primary", "disabled": !_vm.addedTasks.length }, on: { "click": function($event) {
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) {
2260
2501
  _vm.$emit("submit", {
2261
2502
  addedTasks: _vm.addedTasks,
2262
2503
  addedTaskIds: _vm.addedTasks.map(function(ref2) {
@@ -2270,7 +2511,7 @@ var render$2 = function() {
2270
2511
  var staticRenderFns$2 = [];
2271
2512
  var ReviewModal_vue_vue_type_style_index_0_scoped_true_lang = "";
2272
2513
  const __cssModules$2 = {};
2273
- var __component__$2 = /* @__PURE__ */ normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, "08b3cbb4", null, null);
2514
+ var __component__$2 = /* @__PURE__ */ normalizeComponent(__vue2_script$2, render$2, staticRenderFns$2, false, __vue2_injectStyles$2, "8f6cc376", null, null);
2274
2515
  function __vue2_injectStyles$2(context) {
2275
2516
  for (let o in __cssModules$2) {
2276
2517
  this[o] = __cssModules$2[o];
@@ -6108,7 +6349,7 @@ function __vue2_injectStyles$1(context) {
6108
6349
  this[o] = __cssModules$1[o];
6109
6350
  }
6110
6351
  }
6111
- var index$2 = /* @__PURE__ */ function() {
6352
+ var index$1 = /* @__PURE__ */ function() {
6112
6353
  return __component__$1.exports;
6113
6354
  }();
6114
6355
  var __vue2_script = defineComponent({
@@ -6137,217 +6378,7 @@ function __vue2_injectStyles(context) {
6137
6378
  this[o] = __cssModules[o];
6138
6379
  }
6139
6380
  }
6140
- var index$1 = /* @__PURE__ */ function() {
6381
+ var index = /* @__PURE__ */ function() {
6141
6382
  return __component__.exports;
6142
6383
  }();
6143
- function __variableDynamicImportRuntime0__(path2) {
6144
- switch (path2) {
6145
- case "../languages/ar.ts":
6146
- return import("./ar.js");
6147
- case "../languages/ar2.ts":
6148
- return import("./ar2.js");
6149
- case "../languages/ar3.ts":
6150
- return import("./ar3.js");
6151
- case "../languages/ben.ts":
6152
- return import("./ben.js");
6153
- case "../languages/ben2.ts":
6154
- return import("./ben2.js");
6155
- case "../languages/ben3.ts":
6156
- return import("./ben3.js");
6157
- case "../languages/ch.ts":
6158
- return import("./ch.js");
6159
- case "../languages/ch2.ts":
6160
- return import("./ch2.js");
6161
- case "../languages/ch3.ts":
6162
- return import("./ch3.js");
6163
- case "../languages/en.ts":
6164
- return import("./en.js");
6165
- case "../languages/en2.ts":
6166
- return import("./en2.js");
6167
- case "../languages/en3.ts":
6168
- return import("./en3.js");
6169
- case "../languages/es.ts":
6170
- return import("./es.js");
6171
- case "../languages/es2.ts":
6172
- return import("./es2.js");
6173
- case "../languages/es3.ts":
6174
- return import("./es3.js");
6175
- case "../languages/fa.ts":
6176
- return import("./fa.js");
6177
- case "../languages/fa2.ts":
6178
- return import("./fa2.js");
6179
- case "../languages/fa3.ts":
6180
- return import("./fa3.js");
6181
- case "../languages/fr.ts":
6182
- return import("./fr.js");
6183
- case "../languages/fr2.ts":
6184
- return import("./fr2.js");
6185
- case "../languages/fr3.ts":
6186
- return import("./fr3.js");
6187
- case "../languages/hi.ts":
6188
- return import("./hi.js");
6189
- case "../languages/hi2.ts":
6190
- return import("./hi2.js");
6191
- case "../languages/hi3.ts":
6192
- return import("./hi3.js");
6193
- case "../languages/ht.ts":
6194
- return import("./ht.js");
6195
- case "../languages/ht2.ts":
6196
- return import("./ht2.js");
6197
- case "../languages/ht3.ts":
6198
- return import("./ht3.js");
6199
- case "../languages/hy.ts":
6200
- return import("./hy.js");
6201
- case "../languages/hy2.ts":
6202
- return import("./hy2.js");
6203
- case "../languages/hy3.ts":
6204
- return import("./hy3.js");
6205
- case "../languages/jp.ts":
6206
- return import("./jp.js");
6207
- case "../languages/jp2.ts":
6208
- return import("./jp2.js");
6209
- case "../languages/jp3.ts":
6210
- return import("./jp3.js");
6211
- case "../languages/ko.ts":
6212
- return import("./ko.js");
6213
- case "../languages/ko2.ts":
6214
- return import("./ko2.js");
6215
- case "../languages/ko3.ts":
6216
- return import("./ko3.js");
6217
- case "../languages/nep.ts":
6218
- return import("./nep.js");
6219
- case "../languages/nep2.ts":
6220
- return import("./nep2.js");
6221
- case "../languages/nep3.ts":
6222
- return import("./nep3.js");
6223
- case "../languages/pt.ts":
6224
- return import("./pt.js");
6225
- case "../languages/pt2.ts":
6226
- return import("./pt2.js");
6227
- case "../languages/pt3.ts":
6228
- return import("./pt3.js");
6229
- case "../languages/ru.ts":
6230
- return import("./ru.js");
6231
- case "../languages/ru2.ts":
6232
- return import("./ru2.js");
6233
- case "../languages/ru3.ts":
6234
- return import("./ru3.js");
6235
- default:
6236
- return new Promise(function(resolve, reject) {
6237
- (typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(reject.bind(null, new Error("Unknown variable dynamic import: " + path2)));
6238
- });
6239
- }
6240
- }
6241
- const loaded = new Map();
6242
- async function getLanguageMessage(lang) {
6243
- if (!loaded.has(lang)) {
6244
- const { default: message2 } = await __variableDynamicImportRuntime0__(`../languages/${lang}.ts`);
6245
- loaded.set(lang, message2);
6246
- }
6247
- return loaded.get(lang);
6248
- }
6249
- const createForm = (form) => form;
6250
- var g1145 = createForm({
6251
- displayName: "G-1145",
6252
- roles: {
6253
- Petitioner: "USERPROFILE",
6254
- Beneficiary: "USERPROFILE",
6255
- Preparer: "PREPARERPROFILE"
6256
- }
6257
- });
6258
- var g28Person = createForm({
6259
- displayName: "G-28-Person",
6260
- roles: {
6261
- Petitioner: "USERPROFILE",
6262
- Beneficiary: "USERPROFILE",
6263
- Preparer: "PREPARERPROFILE"
6264
- }
6265
- });
6266
- var i129Attachment = createForm({
6267
- displayName: "I-129 Attachment",
6268
- roles: {
6269
- Beneficiary: "USERPROFILE"
6270
- }
6271
- });
6272
- var i129Mh = createForm({
6273
- displayName: "I-129_Main with H supplement",
6274
- roles: {
6275
- Petitioner: "CLIENTPROFILE",
6276
- Beneficiary: "USERPROFILE",
6277
- Preparer: "PREPARERPROFILE"
6278
- }
6279
- });
6280
- var i130 = createForm({
6281
- displayName: "I-130",
6282
- roles: {
6283
- Petitioner: "USERPROFILE",
6284
- Beneficiary: "USERPROFILE",
6285
- Preparer: "PREPARERPROFILE"
6286
- }
6287
- });
6288
- var i130a = createForm({
6289
- displayName: "I-130A",
6290
- roles: {
6291
- Beneficiary: "USERPROFILE",
6292
- Preparer: "PREPARERPROFILE"
6293
- }
6294
- });
6295
- var i131 = createForm({
6296
- displayName: "I-131",
6297
- roles: {
6298
- Beneficiary: "USERPROFILE",
6299
- Preparer: "PREPARERPROFILE"
6300
- }
6301
- });
6302
- var i485 = createForm({
6303
- displayName: "I-485",
6304
- roles: {
6305
- Beneficiary: "USERPROFILE",
6306
- Preparer: "PREPARERPROFILE"
6307
- }
6308
- });
6309
- var i485a = createForm({
6310
- displayName: "I-485A",
6311
- roles: {
6312
- Beneficiary: "USERPROFILE",
6313
- Preparer: "PREPARERPROFILE"
6314
- }
6315
- });
6316
- var i765 = createForm({
6317
- displayName: "I-765",
6318
- roles: {
6319
- Beneficiary: "USERPROFILE",
6320
- Preparer: "PREPARERPROFILE"
6321
- }
6322
- });
6323
- var i864 = createForm({
6324
- displayName: "I-864",
6325
- roles: {
6326
- Petitioner: "USERPROFILE",
6327
- Beneficiary: "USERPROFILE",
6328
- Preparer: "PREPARERPROFILE"
6329
- }
6330
- });
6331
- var i864a = createForm({
6332
- displayName: "I-864A",
6333
- roles: {
6334
- Petitioner: "USERPROFILE",
6335
- Beneficiary: "USERPROFILE",
6336
- Preparer: "PREPARERPROFILE"
6337
- }
6338
- });
6339
- var index = [
6340
- g28Person,
6341
- g1145,
6342
- i129Attachment,
6343
- i129Mh,
6344
- i130,
6345
- i130a,
6346
- i131,
6347
- i485,
6348
- i485a,
6349
- i765,
6350
- i864,
6351
- i864a
6352
- ];
6353
- 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.2",
3
+ "version": "0.3.3",
4
4
  "files": [
5
5
  "dist"
6
6
  ],