@ailaw/venus 1.253.0 → 1.255.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/venus.es.js +16 -7
- package/package.json +1 -1
package/dist/venus.es.js
CHANGED
|
@@ -1555,6 +1555,14 @@ var i31f = createForm({
|
|
|
1555
1555
|
Preparer: [GlueRoleType.PREPARERPROFILE]
|
|
1556
1556
|
}
|
|
1557
1557
|
});
|
|
1558
|
+
var i914b = createForm({
|
|
1559
|
+
displayName: "I-914B",
|
|
1560
|
+
roles: {
|
|
1561
|
+
Beneficiary: [GlueRoleType.USERPROFILE],
|
|
1562
|
+
Petitioner: [GlueRoleType.USERPROFILE],
|
|
1563
|
+
Preparer: [GlueRoleType.PREPARERPROFILE]
|
|
1564
|
+
}
|
|
1565
|
+
});
|
|
1558
1566
|
const formRecords = {
|
|
1559
1567
|
g28Company,
|
|
1560
1568
|
g28Person,
|
|
@@ -1652,7 +1660,8 @@ const formRecords = {
|
|
|
1652
1660
|
i929,
|
|
1653
1661
|
eta9089Niw,
|
|
1654
1662
|
eoir26a,
|
|
1655
|
-
i31f
|
|
1663
|
+
i31f,
|
|
1664
|
+
i914b
|
|
1656
1665
|
};
|
|
1657
1666
|
var index$2 = Object.values(formRecords);
|
|
1658
1667
|
const acceptableFormats = [
|
|
@@ -1998,8 +2007,8 @@ var __vue2_script$8 = defineComponent({
|
|
|
1998
2007
|
mounted() {
|
|
1999
2008
|
var _a, _b, _c;
|
|
2000
2009
|
if (!((_a = this.value) == null ? void 0 : _a.id) && !((_b = this.value) == null ? void 0 : _b.assigneeTypeList) && ((_c = this.value) == null ? void 0 : _c.isEmployee)) {
|
|
2001
|
-
this.value.assigneeTypeList = [this.value.isEmployee];
|
|
2002
|
-
this.changeVal("assigneeTypeList", [this.value.isEmployee]);
|
|
2010
|
+
this.value.assigneeTypeList = [AssigneeTypes[this.value.isEmployee]];
|
|
2011
|
+
this.changeVal("assigneeTypeList", [AssigneeTypes[this.value.isEmployee]]);
|
|
2003
2012
|
}
|
|
2004
2013
|
},
|
|
2005
2014
|
setup(props, { emit }) {
|
|
@@ -2011,8 +2020,8 @@ var __vue2_script$8 = defineComponent({
|
|
|
2011
2020
|
let toBeEmitted = __spreadProps(__spreadValues({}, props.value), {
|
|
2012
2021
|
["isEmployee"]: event
|
|
2013
2022
|
});
|
|
2014
|
-
if (event === AssigneeTypes[
|
|
2015
|
-
toBeEmitted.assigneeTypeList = [event];
|
|
2023
|
+
if (event === AssigneeTypes[AssigneeTypes.BENEFICIARY] || event === AssigneeTypes[AssigneeTypes.PETITIONER]) {
|
|
2024
|
+
toBeEmitted.assigneeTypeList = [AssigneeTypes[event]];
|
|
2016
2025
|
} else {
|
|
2017
2026
|
toBeEmitted.assigneeTypeList = [];
|
|
2018
2027
|
}
|
|
@@ -2079,7 +2088,7 @@ var render$8 = function() {
|
|
|
2079
2088
|
return _vm.changeVal("assigneeTypeList", $event);
|
|
2080
2089
|
} }, model: { value: _vm.value.assigneeTypeList, callback: function($$v) {
|
|
2081
2090
|
_vm.$set(_vm.value, "assigneeTypeList", $$v);
|
|
2082
|
-
}, expression: "value.assigneeTypeList" } }, [_c("a-checkbox", { attrs: { "value":
|
|
2091
|
+
}, expression: "value.assigneeTypeList" } }, [_c("a-checkbox", { attrs: { "value": 1, "disabled": _vm.value.isEmployee === "BENEFICIARY" } }, [_vm._v(_vm._s(_vm.$t("message.Beneficiary")))]), _c("a-checkbox", { attrs: { "value": 2, "disabled": _vm.value.isEmployee === "PETITIONER" } }, [_vm._v(_vm._s(_vm.$t("message.petitioner")))])], 1)], 1)], 1) : _vm._e(), _c("ant-form-item", { attrs: { "required": "", "label": _vm.$t("message.type"), "help": _vm.typeError ? _vm.$t("message.required") : void 0, "validate-status": _vm.typeError ? "error" : void 0 } }, [_vm.value.generalTaskType !== _vm.TaskTypes.worksheet ? _c("ant-radio-group", { attrs: { "disabled": _vm.value.presetDocs != null || _vm.disabled, "value": _vm.value.generalTaskType }, on: { "change": function($event) {
|
|
2083
2092
|
return _vm.changeVal("generalTaskType", $event.target.value);
|
|
2084
2093
|
} } }, [_c("ant-radio", { attrs: { "value": _vm.TaskTypes.clientUpload } }, [_vm._v(" " + _vm._s(_vm.$t("message.clientUpload")) + " ")]), _c("ant-radio", { attrs: { "value": _vm.TaskTypes.clientReview, "disabled": _vm.isAttorneySelected } }, [_vm._v(" " + _vm._s(_vm.$t("message.clientReview")) + " ")])], 1) : _c("div", [_vm._v(_vm._s(_vm.$t("message.worksheet")))])], 1), _c("ant-form-item", { attrs: { "label": "" + _vm.$t("message.descriptions") + " (" + _vm.$t("message.optional") + ")" } }, [_c("ant-textarea", { attrs: { "disabled": _vm.disabled, "value": _vm.value.descriptions }, on: { "input": function($event) {
|
|
2085
2094
|
return _vm.changeVal("descriptions", $event.target.value);
|
|
@@ -2094,7 +2103,7 @@ var render$8 = function() {
|
|
|
2094
2103
|
var staticRenderFns$8 = [];
|
|
2095
2104
|
var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
|
|
2096
2105
|
const __cssModules$8 = {};
|
|
2097
|
-
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "
|
|
2106
|
+
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "07e4d916", null, null);
|
|
2098
2107
|
function __vue2_injectStyles$8(context) {
|
|
2099
2108
|
for (let o in __cssModules$8) {
|
|
2100
2109
|
this[o] = __cssModules$8[o];
|