@ailaw/venus 1.262.0 → 1.264.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.
Files changed (2) hide show
  1. package/dist/venus.es.js +11 -4
  2. package/package.json +1 -1
package/dist/venus.es.js CHANGED
@@ -1947,6 +1947,7 @@ var refactorParams = (record) => {
1947
1947
  };
1948
1948
  var BELONGS_TO;
1949
1949
  (function(BELONGS_TO2) {
1950
+ BELONGS_TO2["None"] = "NONE";
1950
1951
  BELONGS_TO2["Company_Brochure"] = "COMPANY_BROCHURE";
1951
1952
  BELONGS_TO2["Company_LetterHead"] = "COMPANY_LETTERHEAD";
1952
1953
  BELONGS_TO2["Company_FEIN"] = "COMPANY_FEIN";
@@ -1954,6 +1955,7 @@ var BELONGS_TO;
1954
1955
  BELONGS_TO2["Company_Incorporation_Articles"] = "COMPANY_INCORPORATION_ARTICLES";
1955
1956
  })(BELONGS_TO || (BELONGS_TO = {}));
1956
1957
  var belongsTo = [
1958
+ ["None", BELONGS_TO.None],
1957
1959
  ["co:Company Brochure", BELONGS_TO.Company_Brochure],
1958
1960
  ["co:Company Letterhead Template", BELONGS_TO.Company_LetterHead],
1959
1961
  ["co:US Company EIN Assignment Letter", BELONGS_TO.Company_FEIN],
@@ -2123,11 +2125,13 @@ var render$8 = function() {
2123
2125
  return _vm.changeVal("assigneeTypeList", $event);
2124
2126
  } }, model: { value: _vm.value.assigneeTypeList, callback: function($$v) {
2125
2127
  _vm.$set(_vm.value, "assigneeTypeList", $$v);
2126
- }, 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-row", { attrs: { "gutter": 40 } }, [_c("ant-col", { attrs: { "span": 12 } }, [_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) {
2128
+ }, 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-row", { attrs: { "gutter": 40 } }, [_c("ant-col", { attrs: { "span": 12 } }, [_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) {
2127
2129
  return _vm.changeVal("generalTaskType", $event.target.value);
2128
2130
  } } }, [_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)], 1), _vm.shouldShowBelongsTo ? _c("ant-col", { attrs: { "span": 12 } }, [_c("ant-form-item", { scopedSlots: _vm._u([{ key: "label", fn: function() {
2129
2131
  return [_vm._v(" " + _vm._s(_vm.$t("message.belongsTo")) + " "), _c("ant-popover", { attrs: { "content": _vm.$t("message.toReuseThisDoc") } }, [_c("ant-icon", { staticClass: "pt-3.5 text-classic cursor-pointer", attrs: { "type": "question-circle" } })], 1)];
2130
- }, proxy: true }], null, false, 4216407690) }, [_c("ant-select", { model: { value: _vm.value.taskSmartType, callback: function($$v) {
2132
+ }, proxy: true }], null, false, 4216407690) }, [_c("ant-select", { on: { "change": function($event) {
2133
+ return _vm.changeVal("taskSmartType", $event);
2134
+ } }, model: { value: _vm.value.taskSmartType, callback: function($$v) {
2131
2135
  _vm.$set(_vm.value, "taskSmartType", $$v);
2132
2136
  }, expression: "value.taskSmartType" } }, _vm._l(_vm.belongsTo, function(item) {
2133
2137
  return _c("ant-select-option", { key: item[0], attrs: { "value": item[1] } }, [_vm._v(" " + _vm._s(item[0]) + " ")]);
@@ -2144,7 +2148,7 @@ var render$8 = function() {
2144
2148
  var staticRenderFns$8 = [];
2145
2149
  var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
2146
2150
  const __cssModules$8 = {};
2147
- var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "6d954350", null, null);
2151
+ var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "10c91709", null, null);
2148
2152
  function __vue2_injectStyles$8(context) {
2149
2153
  for (let o in __cssModules$8) {
2150
2154
  this[o] = __cssModules$8[o];
@@ -2505,6 +2509,7 @@ const taskTemplateFragment = gql`
2505
2509
  fragment taskTemplate on TaskTemplate {
2506
2510
  id
2507
2511
  taskName
2512
+ taskSmartType
2508
2513
  tagList
2509
2514
  isEmployee
2510
2515
  assigneeTypeList
@@ -2575,7 +2580,9 @@ var useTaskTemplateTableData = (props, emit) => {
2575
2580
  const { result, loading, variables } = useSearchTaskTemplates(initialPagination, conditions, props.lawFirmId, props.withGallery);
2576
2581
  const dataSource = computed(() => {
2577
2582
  var _a;
2578
- return ((_a = result.value) == null ? void 0 : _a.taskTemplateSearch.taskTemplateList) || [];
2583
+ return (((_a = result.value) == null ? void 0 : _a.taskTemplateSearch.taskTemplateList) || []).map((item) => __spreadProps(__spreadValues({}, item), {
2584
+ taskSmartType: item.taskSmartType || ""
2585
+ }));
2579
2586
  });
2580
2587
  const total = computed(() => {
2581
2588
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailaw/venus",
3
- "version": "1.262.0",
3
+ "version": "1.264.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],