@ailaw/venus 0.2.2 → 0.3.2

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.
Files changed (2) hide show
  1. package/dist/venus.es.js +206 -106
  2. package/package.json +2 -1
package/dist/venus.es.js CHANGED
@@ -6,13 +6,13 @@ 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 prop in b || (b = {}))
10
- if (__hasOwnProp.call(b, prop))
11
- __defNormalProp(a, prop, b[prop]);
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 prop of __getOwnPropSymbols(b)) {
14
- if (__propIsEnum.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
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
  };
@@ -21,10 +21,10 @@ import { defineComponent, ref as ref$1, watch, computed, toRefs as toRefs$1, onM
21
21
  import { Select, Modal, Form, Input, Checkbox, Divider, Button, 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
- var index$3 = "";
27
+ var index$4 = "";
28
28
  function __variableDynamicImportRuntime0__$1(path2) {
29
29
  switch (path2) {
30
30
  case "./icons/attorney.svg":
@@ -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(_, { emit }) {
448
+ setup(props, { emit }) {
427
449
  const keywords = ref$1("");
428
450
  const handleSearch = (value) => keywords.value = value;
429
- const { profiles: rawProfiles } = useProfiles(keywords);
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(() => createdProfile.value ? [createdProfile.value, ...rawProfiles.value] : rawProfiles.value);
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 = {};
@@ -465,7 +494,7 @@ function __vue2_injectStyles$a(context) {
465
494
  this[o] = __cssModules$a[o];
466
495
  }
467
496
  }
468
- var index$2 = /* @__PURE__ */ function() {
497
+ var index$3 = /* @__PURE__ */ function() {
469
498
  return __component__$a.exports;
470
499
  }();
471
500
  var AssigneeTypes;
@@ -694,7 +723,7 @@ var render$8 = function() {
694
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)) + " ")])]);
695
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) {
696
725
  return _vm.changeVal("generalTaskType", $event.target.value);
697
- } } }, [_c("a-radio", { attrs: { "value": _vm.TaskTypes.clientUpload } }, [_vm._v(" " + _vm._s(_vm.$t("message.clientUpload")) + " ")]), _vm._v(" " + _vm._s(_vm.isAttorneySelected) + " "), _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) {
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) {
698
727
  return _vm.changeVal("descriptions", $event.target.value);
699
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) {
700
729
  return _vm.changeVal("sampleDocs", $event);
@@ -705,7 +734,7 @@ var render$8 = function() {
705
734
  var staticRenderFns$8 = [];
706
735
  var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
707
736
  const __cssModules$8 = {};
708
- var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "2048b6b5", null, null);
737
+ var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "7e2b3dce", null, null);
709
738
  function __vue2_injectStyles$8(context) {
710
739
  for (let o in __cssModules$8) {
711
740
  this[o] = __cssModules$8[o];
@@ -946,20 +975,20 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
946
975
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
947
976
  PERFORMANCE OF THIS SOFTWARE.
948
977
  ***************************************************************************** */
949
- var extendStatics$2 = function(d, b) {
950
- extendStatics$2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
978
+ var extendStatics$1 = function(d, b) {
979
+ extendStatics$1 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
951
980
  d2.__proto__ = b2;
952
981
  } || function(d2, b2) {
953
982
  for (var p in b2)
954
983
  if (Object.prototype.hasOwnProperty.call(b2, p))
955
984
  d2[p] = b2[p];
956
985
  };
957
- return extendStatics$2(d, b);
986
+ return extendStatics$1(d, b);
958
987
  };
959
- function __extends$2(d, b) {
988
+ function __extends$1(d, b) {
960
989
  if (typeof b !== "function" && b !== null)
961
990
  throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
962
- extendStatics$2(d, b);
991
+ extendStatics$1(d, b);
963
992
  function __2() {
964
993
  this.constructor = d;
965
994
  }
@@ -1026,7 +1055,7 @@ var EffectScopeImpl = function() {
1026
1055
  return EffectScopeImpl2;
1027
1056
  }();
1028
1057
  (function(_super) {
1029
- __extends$2(EffectScope, _super);
1058
+ __extends$1(EffectScope, _super);
1030
1059
  function EffectScope(detached) {
1031
1060
  if (detached === void 0) {
1032
1061
  detached = false;
@@ -1147,10 +1176,10 @@ function toVue3ComponentInstance(vm) {
1147
1176
  "vnode",
1148
1177
  "slots"
1149
1178
  ];
1150
- instanceProps.forEach(function(prop) {
1151
- proxy(instance, prop, {
1179
+ instanceProps.forEach(function(prop2) {
1180
+ proxy(instance, prop2, {
1152
1181
  get: function() {
1153
- return vm["$" + prop];
1182
+ return vm["$" + prop2];
1154
1183
  }
1155
1184
  });
1156
1185
  });
@@ -2308,32 +2337,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2308
2337
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2309
2338
  PERFORMANCE OF THIS SOFTWARE.
2310
2339
  ***************************************************************************** */
2311
- var extendStatics$1 = function(d, b) {
2312
- extendStatics$1 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
2340
+ var extendStatics = function(d, b) {
2341
+ extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
2313
2342
  d2.__proto__ = b2;
2314
2343
  } || function(d2, b2) {
2315
2344
  for (var p in b2)
2316
2345
  if (Object.prototype.hasOwnProperty.call(b2, p))
2317
2346
  d2[p] = b2[p];
2318
2347
  };
2319
- return extendStatics$1(d, b);
2348
+ return extendStatics(d, b);
2320
2349
  };
2321
- function __extends$1(d, b) {
2350
+ function __extends(d, b) {
2322
2351
  if (typeof b !== "function" && b !== null)
2323
2352
  throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
2324
- extendStatics$1(d, b);
2353
+ extendStatics(d, b);
2325
2354
  function __2() {
2326
2355
  this.constructor = d;
2327
2356
  }
2328
2357
  d.prototype = b === null ? Object.create(b) : (__2.prototype = b.prototype, new __2());
2329
2358
  }
2359
+ var __assign = function() {
2360
+ __assign = Object.assign || function __assign2(t) {
2361
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
2362
+ s = arguments[i];
2363
+ for (var p in s)
2364
+ if (Object.prototype.hasOwnProperty.call(s, p))
2365
+ t[p] = s[p];
2366
+ }
2367
+ return t;
2368
+ };
2369
+ return __assign.apply(this, arguments);
2370
+ };
2371
+ function __rest(s, e) {
2372
+ var t = {};
2373
+ for (var p in s)
2374
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2375
+ t[p] = s[p];
2376
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
2377
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2378
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
2379
+ t[p[i]] = s[p[i]];
2380
+ }
2381
+ return t;
2382
+ }
2383
+ function __spreadArray(to, from, pack) {
2384
+ if (pack || arguments.length === 2)
2385
+ for (var i = 0, l = from.length, ar; i < l; i++) {
2386
+ if (ar || !(i in from)) {
2387
+ if (!ar)
2388
+ ar = Array.prototype.slice.call(from, 0, i);
2389
+ ar[i] = from[i];
2390
+ }
2391
+ }
2392
+ return to.concat(ar || Array.prototype.slice.call(from));
2393
+ }
2330
2394
  var genericMessage = "Invariant Violation";
2331
2395
  var _a$3 = Object.setPrototypeOf, setPrototypeOf = _a$3 === void 0 ? function(obj, proto) {
2332
2396
  obj.__proto__ = proto;
2333
2397
  return obj;
2334
2398
  } : _a$3;
2335
2399
  var InvariantError = function(_super) {
2336
- __extends$1(InvariantError2, _super);
2400
+ __extends(InvariantError2, _super);
2337
2401
  function InvariantError2(message2) {
2338
2402
  if (message2 === void 0) {
2339
2403
  message2 = genericMessage;
@@ -2454,74 +2518,6 @@ function checkDEV() {
2454
2518
  }
2455
2519
  removeTemporaryGlobals();
2456
2520
  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
2521
  function shouldInclude(_a2, variables) {
2526
2522
  var directives = _a2.directives;
2527
2523
  if (!directives || !directives.length) {
@@ -6112,7 +6108,7 @@ function __vue2_injectStyles$1(context) {
6112
6108
  this[o] = __cssModules$1[o];
6113
6109
  }
6114
6110
  }
6115
- var index$1 = /* @__PURE__ */ function() {
6111
+ var index$2 = /* @__PURE__ */ function() {
6116
6112
  return __component__$1.exports;
6117
6113
  }();
6118
6114
  var __vue2_script = defineComponent({
@@ -6141,7 +6137,7 @@ function __vue2_injectStyles(context) {
6141
6137
  this[o] = __cssModules[o];
6142
6138
  }
6143
6139
  }
6144
- var index = /* @__PURE__ */ function() {
6140
+ var index$1 = /* @__PURE__ */ function() {
6145
6141
  return __component__.exports;
6146
6142
  }();
6147
6143
  function __variableDynamicImportRuntime0__(path2) {
@@ -6250,4 +6246,108 @@ async function getLanguageMessage(lang) {
6250
6246
  }
6251
6247
  return loaded.get(lang);
6252
6248
  }
6253
- export { NewTask, index$2 as ProfileSelect, index$1 as TaskCart, TaskForm, TaskTemplateFilter, index as TestComponent, getLanguageMessage };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailaw/venus",
3
- "version": "0.2.2",
3
+ "version": "0.3.2",
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
  },