@ailaw/venus 1.261.0 → 1.263.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 +8 -3
  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],
@@ -2080,7 +2082,7 @@ var __vue2_script$8 = defineComponent({
2080
2082
  const shouldShowBelongsTo = computed(() => {
2081
2083
  if (props.value.isEmployee !== AssigneeTypes[AssigneeTypes.PETITIONER])
2082
2084
  return false;
2083
- if (props.value.id) {
2085
+ if (props.value.taskSmartType) {
2084
2086
  return belongsTo.some(([_, v]) => v === props.value.taskSmartType);
2085
2087
  }
2086
2088
  return true;
@@ -2144,7 +2146,7 @@ var render$8 = function() {
2144
2146
  var staticRenderFns$8 = [];
2145
2147
  var index_vue_vue_type_style_index_0_scoped_true_lang$3 = "";
2146
2148
  const __cssModules$8 = {};
2147
- var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "cf48ed86", null, null);
2149
+ var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "6d954350", null, null);
2148
2150
  function __vue2_injectStyles$8(context) {
2149
2151
  for (let o in __cssModules$8) {
2150
2152
  this[o] = __cssModules$8[o];
@@ -2505,6 +2507,7 @@ const taskTemplateFragment = gql`
2505
2507
  fragment taskTemplate on TaskTemplate {
2506
2508
  id
2507
2509
  taskName
2510
+ taskSmartType
2508
2511
  tagList
2509
2512
  isEmployee
2510
2513
  assigneeTypeList
@@ -2575,7 +2578,9 @@ var useTaskTemplateTableData = (props, emit) => {
2575
2578
  const { result, loading, variables } = useSearchTaskTemplates(initialPagination, conditions, props.lawFirmId, props.withGallery);
2576
2579
  const dataSource = computed(() => {
2577
2580
  var _a;
2578
- return ((_a = result.value) == null ? void 0 : _a.taskTemplateSearch.taskTemplateList) || [];
2581
+ return (((_a = result.value) == null ? void 0 : _a.taskTemplateSearch.taskTemplateList) || []).map((item) => __spreadProps(__spreadValues({}, item), {
2582
+ taskSmartType: item.taskSmartType || ""
2583
+ }));
2579
2584
  });
2580
2585
  const total = computed(() => {
2581
2586
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailaw/venus",
3
- "version": "1.261.0",
3
+ "version": "1.263.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],