@ailaw/venus 1.15.0 → 1.19.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/en2.js CHANGED
@@ -456,6 +456,8 @@ var lang2 = {
456
456
  mustFillGroupOne: "You need to fill your passport information ",
457
457
  or: "OR",
458
458
  mustFillGroupTwo: "travel document information.",
459
+ yourCurrentPassportInfo: "Your current passport information",
460
+ sameAsLastPassport: "Same As last arrival to the U.S.",
459
461
  groupOne: "Group #1",
460
462
  groupTwo: "Group #2",
461
463
  passportNum: "Passport Number",
@@ -2702,6 +2704,7 @@ var lang2 = {
2702
2704
  inviteClient: "Invite client",
2703
2705
  invited: "Client Invited",
2704
2706
  inviteClientDesc: "The client will be granted access to this case.",
2705
- sendPasswordDesc: "The client will receive login instructions."
2707
+ sendPasswordDesc: "The client will receive login instructions.",
2708
+ travelInformationAtLastUS: "travel document information at your last arrival to the U.S."
2706
2709
  };
2707
2710
  export { lang2 as default };
package/dist/en3.js CHANGED
@@ -920,6 +920,7 @@ var lang3 = {
920
920
  intake: "Intake",
921
921
  intakeTemplateManagement: "Intake Template Management",
922
922
  submittedDate: "Submit Date",
923
- pleaseCreateIntakeTemplate: 'Click the "Create" button to add a template'
923
+ pleaseCreateIntakeTemplate: 'Click the "Create" button to add a template',
924
+ addReceipt: "Add Receipt"
924
925
  };
925
926
  export { lang3 as default };
package/dist/venus.es.js CHANGED
@@ -1020,6 +1020,13 @@ var i508 = createForm({
1020
1020
  Preparer: [GlueRoleType.PREPARERPROFILE]
1021
1021
  }
1022
1022
  });
1023
+ var i526 = createForm({
1024
+ displayName: "I-508",
1025
+ roles: {
1026
+ Beneficiary: [GlueRoleType.USERPROFILE],
1027
+ Preparer: [GlueRoleType.PREPARERPROFILE]
1028
+ }
1029
+ });
1023
1030
  var i539 = createForm({
1024
1031
  displayName: "I-539",
1025
1032
  roles: {
@@ -1121,6 +1128,20 @@ var i765WS = createForm({
1121
1128
  Beneficiary: [GlueRoleType.USERPROFILE]
1122
1129
  }
1123
1130
  });
1131
+ var i129OP = createForm({
1132
+ displayName: "I-129 O and P Classifications Supplement",
1133
+ roles: {
1134
+ Beneficiary: [GlueRoleType.USERPROFILE],
1135
+ Petitioner: [GlueRoleType.CLIENTPROFILE, GlueRoleType.USERPROFILE]
1136
+ }
1137
+ });
1138
+ var i129R1 = createForm({
1139
+ displayName: "I-129 R-1 Classification Supplement",
1140
+ roles: {
1141
+ Beneficiary: [GlueRoleType.USERPROFILE],
1142
+ Petitioner: [GlueRoleType.CLIENTPROFILE, GlueRoleType.USERPROFILE]
1143
+ }
1144
+ });
1124
1145
  const formRecords = {
1125
1146
  g28Company,
1126
1147
  g28Person,
@@ -1142,6 +1163,7 @@ const formRecords = {
1142
1163
  i485A,
1143
1164
  i485J,
1144
1165
  i508,
1166
+ i526,
1145
1167
  i539,
1146
1168
  i539A,
1147
1169
  i589,
@@ -1155,7 +1177,9 @@ const formRecords = {
1155
1177
  i918,
1156
1178
  i918A,
1157
1179
  i918B,
1158
- i765WS
1180
+ i765WS,
1181
+ i129OP,
1182
+ i129R1
1159
1183
  };
1160
1184
  var index$2 = Object.values(formRecords);
1161
1185
  const acceptableFormats = [
@@ -1498,7 +1522,7 @@ var __vue2_script$8 = defineComponent({
1498
1522
  const validFields = (callback) => {
1499
1523
  var _a;
1500
1524
  const data = refactorParams(props.value);
1501
- if (!data.taskName) {
1525
+ if (!data.taskName || !data.taskName.trim()) {
1502
1526
  nameError.value = true;
1503
1527
  nameErrorContent.value = "message.required";
1504
1528
  } else if (((_a = data.taskName) == null ? void 0 : _a.length) > 150) {
@@ -1559,7 +1583,7 @@ var render$8 = function() {
1559
1583
  var staticRenderFns$8 = [];
1560
1584
  var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
1561
1585
  const __cssModules$8 = {};
1562
- var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "55282ee4", null, null);
1586
+ var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "fe264b44", null, null);
1563
1587
  function __vue2_injectStyles$8(context) {
1564
1588
  for (let o in __cssModules$8) {
1565
1589
  this[o] = __cssModules$8[o];
@@ -1626,9 +1650,11 @@ var __vue2_script$7 = defineComponent({
1626
1650
  const changeVal = useChangeVal(props, emit);
1627
1651
  const submit2 = () => {
1628
1652
  taskForm.value.validFields((passed, ts) => {
1653
+ var _a;
1629
1654
  if (passed) {
1630
1655
  const data = {
1631
1656
  taskTemplateObj: __spreadProps(__spreadValues({}, ts), {
1657
+ taskName: (_a = ts.taskName) == null ? void 0 : _a.trim(),
1632
1658
  taskType: props.value.taskTemplateObj.taskType,
1633
1659
  tagList: ts.tagList || [],
1634
1660
  descriptions: ts.descriptions || ""
@@ -1688,7 +1714,7 @@ var render$7 = function() {
1688
1714
  var staticRenderFns$7 = [];
1689
1715
  var index_vue_vue_type_style_index_0_scoped_true_lang$2 = "";
1690
1716
  const __cssModules$7 = {};
1691
- var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "554f679c", null, null);
1717
+ var __component__$7 = /* @__PURE__ */ normalizeComponent(__vue2_script$7, render$7, staticRenderFns$7, false, __vue2_injectStyles$7, "988d3f96", null, null);
1692
1718
  function __vue2_injectStyles$7(context) {
1693
1719
  for (let o in __cssModules$7) {
1694
1720
  this[o] = __cssModules$7[o];
@@ -1863,7 +1889,7 @@ var render$5 = function() {
1863
1889
  } }, { key: "tagList", fn: function(tags) {
1864
1890
  return [_c("tags-with-tooltip", { attrs: { "tags": tags } })];
1865
1891
  } }, { key: "operation", fn: function(_, record) {
1866
- return [record.isGallery ? _c("span", { staticStyle: { "width": "82px", "display": "inline-block", "color": "#999" } }, [_vm._v(" Preset ")]) : _vm.showEdit ? _c("ant-button", { staticClass: "mr-2", attrs: { "disabled": _vm.isTemplateAdded(record), "size": "small" }, on: { "click": function($event) {
1892
+ return [_vm.showEdit && record.isGallery ? _c("span", { staticStyle: { "width": "82px", "display": "inline-block", "color": "#999" } }, [_vm._v(" Preset ")]) : _vm.showEdit ? _c("ant-button", { staticClass: "mr-2", attrs: { "disabled": _vm.isTemplateAdded(record), "size": "small" }, on: { "click": function($event) {
1867
1893
  return _vm.$emit("editTask", record);
1868
1894
  } } }, [_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) {
1869
1895
  return _vm.$emit("removeTask", record);
@@ -1875,7 +1901,7 @@ var render$5 = function() {
1875
1901
  var staticRenderFns$5 = [];
1876
1902
  var TaskTablePure_vue_vue_type_style_index_0_scoped_true_lang = "";
1877
1903
  const __cssModules$5 = {};
1878
- var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "3272d34e", null, null);
1904
+ var __component__$5 = /* @__PURE__ */ normalizeComponent(__vue2_script$5, render$5, staticRenderFns$5, false, __vue2_injectStyles$5, "58f5c207", null, null);
1879
1905
  function __vue2_injectStyles$5(context) {
1880
1906
  for (let o in __cssModules$5) {
1881
1907
  this[o] = __cssModules$5[o];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailaw/venus",
3
- "version": "1.15.0",
3
+ "version": "1.19.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],