sun-biz 0.0.4-beta.33 → 0.0.4-beta.35

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.
@@ -596,11 +596,11 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
596
596
  const changeSort = debounce(changeInputSort, 1200);
597
597
  return [
598
598
  {
599
- label: "列名称",
600
- prop: "label",
599
+ label: '列名称',
600
+ prop: 'label',
601
601
  minWidth: 170,
602
602
  render: (row)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("div", {
603
- class: "cursor-pointer",
603
+ class: 'cursor-pointer',
604
604
  onClick: (event)=>{
605
605
  event.stopPropagation();
606
606
  switch(row.ascendFlag){
@@ -620,10 +620,10 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
620
620
  class: "caret-wrapper"
621
621
  }, [
622
622
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("i", {
623
- class: `sort-caret ascending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES ? "!border-b-blue-500" : ""}`
623
+ class: `sort-caret ascending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES ? '!border-b-blue-500' : ''}`
624
624
  }, null),
625
625
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("i", {
626
- class: `sort-caret descending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.NO ? "!border-t-blue-500" : ""}`
626
+ class: `sort-caret descending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.NO ? '!border-t-blue-500' : ''}`
627
627
  }, null)
628
628
  ])
629
629
  ], 8, [
@@ -631,54 +631,56 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
631
631
  ])
632
632
  },
633
633
  {
634
- label: "属性",
635
- prop: "prop",
634
+ label: '属性',
635
+ prop: 'prop',
636
636
  supportCopyAndTips: true,
637
637
  minWidth: 170
638
638
  },
639
639
  {
640
- label: "显示标志",
641
- prop: "displayFlag",
640
+ label: '显示标志',
641
+ prop: 'displayFlag',
642
642
  minWidth: 170,
643
643
  editable: true,
644
644
  render: (row)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElCheckbox, {
645
- class: "w-full justify-center",
646
- "true-value": 1,
647
- "false-value": 0,
648
- size: "small",
645
+ class: 'w-full justify-center',
646
+ 'true-value': 1,
647
+ 'false-value': 0,
648
+ size: 'small',
649
649
  modelValue: row.displayFlag,
650
- "onUpdate:modelValue": (value)=>row.displayFlag = value
650
+ 'onUpdate:modelValue': (value)=>row.displayFlag = value
651
651
  })
652
652
  },
653
653
  {
654
- label: "列宽 (最小值)",
655
- prop: "minWidth",
654
+ label: '列宽 (最小值)',
655
+ prop: 'minWidth',
656
656
  minWidth: 170,
657
+ isDraggable: false,
657
658
  render: (row)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElInputNumber, {
658
659
  maxLength: 16,
659
660
  min: 0,
660
661
  precision: 0,
661
662
  modelValue: row.minWidth,
662
- "onUpdate:modelValue": (value)=>row.minWidth = value,
663
- size: "small",
664
- placeholder: "请输入列宽 (最小值)"
663
+ 'onUpdate:modelValue': (value)=>row.minWidth = value,
664
+ size: 'small',
665
+ placeholder: '请输入列宽 (最小值)'
665
666
  })
666
667
  },
667
668
  {
668
- label: "列排序",
669
- prop: "sort",
669
+ label: '列排序',
670
+ prop: 'sort',
671
+ isDraggable: false,
670
672
  minWidth: 170,
671
673
  render: (row, index)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElInputNumber, {
672
674
  max: length,
673
675
  min: 0,
674
676
  modelValue: row.sort,
675
677
  disabled: disabledDraggable.value,
676
- "onUpdate:modelValue": (value)=>row.sort = value,
678
+ 'onUpdate:modelValue': (value)=>row.sort = value,
677
679
  onInput: (sort)=>{
678
680
  changeSort(index, sort);
679
681
  },
680
- size: "small",
681
- placeholder: "请输入排序"
682
+ size: 'small',
683
+ placeholder: '请输入排序'
682
684
  })
683
685
  }
684
686
  ];
@@ -1878,11 +1880,11 @@ const tableColumnSetting = (options)=>{
1878
1880
  createColumnSetting(options, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_micro_app__.app?._context);
1879
1881
  };
1880
1882
  const TableSettingButtonvue_type_script_setup_true_lang_tsx_hoisted_1 = {
1881
- class: "el-dropdown-link absolute left-3 top-2.5 z-50 cursor-pointer text-primary"
1883
+ class: "el-dropdown-link absolute left-1 top-2 z-50 cursor-pointer text-primary"
1882
1884
  };
1883
- const FILE_TYPE_CODE = 'FILE_TYPE_CODE';
1884
- const COLUMN_SETTING = 'column-setting';
1885
- const EXPORT_FILE = 'export-file';
1885
+ const FILE_TYPE_CODE = "FILE_TYPE_CODE";
1886
+ const COLUMN_SETTING = "column-setting";
1887
+ const EXPORT_FILE = "export-file";
1886
1888
  /* ESM default export */ const TableSettingButtonvue_type_script_setup_true_lang_tsx = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
1887
1889
  __name: 'TableSettingButton',
1888
1890
  props: {
@@ -1894,7 +1896,7 @@ const EXPORT_FILE = 'export-file';
1894
1896
  componentDesc: {}
1895
1897
  },
1896
1898
  emits: [
1897
- 'success'
1899
+ "success"
1898
1900
  ],
1899
1901
  setup (__props, { emit: __emit }) {
1900
1902
  const dataSetList = use_fetch_dataset([
@@ -1907,7 +1909,7 @@ const EXPORT_FILE = 'export-file';
1907
1909
  let result = [
1908
1910
  {
1909
1911
  value: COLUMN_SETTING,
1910
- label: '表格设置',
1912
+ label: "表格设置",
1911
1913
  children: []
1912
1914
  }
1913
1915
  ];
@@ -1915,13 +1917,13 @@ const EXPORT_FILE = 'export-file';
1915
1917
  let list = dataSetList.value?.[FILE_TYPE_CODE] || [];
1916
1918
  if (1 === list.length) result.push({
1917
1919
  value: list[0]?.dataValueNo,
1918
- label: '导出文件',
1920
+ label: "导出文件",
1919
1921
  disabled: !props.tableData.length,
1920
1922
  children: []
1921
1923
  });
1922
1924
  if (list.length > 1) result.push({
1923
1925
  value: EXPORT_FILE,
1924
- label: '导出文件',
1926
+ label: "导出文件",
1925
1927
  disabled: !props.tableData.length,
1926
1928
  children: list.map((item)=>({
1927
1929
  value: item?.dataValueNo,
@@ -1932,15 +1934,15 @@ const EXPORT_FILE = 'export-file';
1932
1934
  return result;
1933
1935
  });
1934
1936
  const getRenderedContent = (render, row, index)=>{
1935
- const tempDiv = document.createElement('div');
1937
+ const tempDiv = document.createElement("div");
1936
1938
  const app = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createApp)({
1937
1939
  render () {
1938
- return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)('div', {}, render(row, index));
1940
+ return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("div", {}, render(row, index));
1939
1941
  }
1940
1942
  });
1941
1943
  app.use(__WEBPACK_EXTERNAL_MODULE_element_sun__["default"]);
1942
1944
  app.mount(tempDiv);
1943
- const content = tempDiv.textContent || '';
1945
+ const content = tempDiv.textContent || "";
1944
1946
  app.unmount();
1945
1947
  return content;
1946
1948
  };
@@ -1956,7 +1958,7 @@ const EXPORT_FILE = 'export-file';
1956
1958
  rowSequenceNo: index,
1957
1959
  rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && col.prop !== OPERATION).map((col)=>{
1958
1960
  let value = item[col.prop];
1959
- if ('function' == typeof col.render) try {
1961
+ if ("function" == typeof col.render) try {
1960
1962
  value = getRenderedContent(col.render, item, index) || value;
1961
1963
  } catch (error) {
1962
1964
  console.warn(`Render function error for column ${col.prop}:`, error);
@@ -1974,7 +1976,7 @@ const EXPORT_FILE = 'export-file';
1974
1976
  fileName: `${props.componentDesc}.xlsx`,
1975
1977
  data: res?.data?.fileString
1976
1978
  });
1977
- __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success('导出成功');
1979
+ __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success("导出成功");
1978
1980
  }
1979
1981
  }
1980
1982
  function hide() {
@@ -1987,7 +1989,7 @@ const EXPORT_FILE = 'export-file';
1987
1989
  componentNo: props.componentNo,
1988
1990
  columnsSetting: props.columnsSetting,
1989
1991
  success: ()=>{
1990
- emit('success');
1992
+ emit("success");
1991
1993
  }
1992
1994
  });
1993
1995
  }
@@ -2072,7 +2074,7 @@ const EXPORT_FILE = 'export-file';
2072
2074
  })) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("span", {
2073
2075
  key: 1,
2074
2076
  onClick: openColumnSetting,
2075
- class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(`el-dropdown-link absolute left-3 top-2.5 z-50 ${props.columnsSetting?.disabled ? 'cursor-not-allowed text-primary' : 'cursor-pointer text-primary-dark'}`)
2077
+ class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(`el-dropdown-link absolute left-1 top-2 z-50 ${props.columnsSetting?.disabled ? 'cursor-not-allowed text-primary' : 'cursor-pointer text-primary-dark'}`)
2076
2078
  }, [
2077
2079
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElIcon), null, {
2078
2080
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
@@ -2087,7 +2089,7 @@ const EXPORT_FILE = 'export-file';
2087
2089
  const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(TableSettingButtonvue_type_script_setup_true_lang_tsx, [
2088
2090
  [
2089
2091
  '__scopeId',
2090
- "data-v-5da819fc"
2092
+ "data-v-0aa25cee"
2091
2093
  ]
2092
2094
  ]);
2093
2095
  /* ESM default export */ const TableSettingButton = TableSettingButton_exports_;
@@ -3869,7 +3871,7 @@ const icon_combine_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(script,
3869
3871
  minWidth: 110,
3870
3872
  prop: item.dataIndex,
3871
3873
  ...__props.isPatientAccess && 'patientName' === item.dataIndex && {
3872
- render: (row)=>row?.patMainRecordId ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("div", {
3874
+ render: (row)=>row?.patMainRecordId && row?.patientId !== row?.patMainRecordId ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("div", {
3873
3875
  class: 'flex items-center justify-center gap-1'
3874
3876
  }, [
3875
3877
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", {
@@ -6,15 +6,15 @@
6
6
 
7
7
 
8
8
 
9
- [data-v-5da819fc] .el-menu-item {
9
+ [data-v-0aa25cee] .el-menu-item {
10
10
  height: 48px;
11
11
  line-height: 48px;
12
12
  }
13
- [data-v-5da819fc] .el-sub-menu__title {
13
+ [data-v-0aa25cee] .el-sub-menu__title {
14
14
  height: 48px;
15
15
  line-height: 48px;
16
16
  }
17
- [data-v-5da819fc] .el-menu-item.is-active {
17
+ [data-v-0aa25cee] .el-menu-item.is-active {
18
18
  color: inherit !important;
19
19
  background-color: #0000 !important;
20
20
  }
package/dist/index.js CHANGED
@@ -632,11 +632,11 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
632
632
  const changeSort = debounce(changeInputSort, 1200);
633
633
  return [
634
634
  {
635
- label: "列名称",
636
- prop: "label",
635
+ label: '列名称',
636
+ prop: 'label',
637
637
  minWidth: 170,
638
638
  render: (row)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("div", {
639
- class: "cursor-pointer",
639
+ class: 'cursor-pointer',
640
640
  onClick: (event)=>{
641
641
  event.stopPropagation();
642
642
  switch(row.ascendFlag){
@@ -656,10 +656,10 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
656
656
  class: "caret-wrapper"
657
657
  }, [
658
658
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("i", {
659
- class: `sort-caret ascending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES ? "!border-b-blue-500" : ""}`
659
+ class: `sort-caret ascending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES ? '!border-b-blue-500' : ''}`
660
660
  }, null),
661
661
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("i", {
662
- class: `sort-caret descending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.NO ? "!border-t-blue-500" : ""}`
662
+ class: `sort-caret descending ${row.ascendFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.NO ? '!border-t-blue-500' : ''}`
663
663
  }, null)
664
664
  ])
665
665
  ], 8, [
@@ -667,54 +667,56 @@ function useTableConfigColumn(changeInputSort, length, disabledDraggable) {
667
667
  ])
668
668
  },
669
669
  {
670
- label: "属性",
671
- prop: "prop",
670
+ label: '属性',
671
+ prop: 'prop',
672
672
  supportCopyAndTips: true,
673
673
  minWidth: 170
674
674
  },
675
675
  {
676
- label: "显示标志",
677
- prop: "displayFlag",
676
+ label: '显示标志',
677
+ prop: 'displayFlag',
678
678
  minWidth: 170,
679
679
  editable: true,
680
680
  render: (row)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElCheckbox, {
681
- class: "w-full justify-center",
682
- "true-value": 1,
683
- "false-value": 0,
684
- size: "small",
681
+ class: 'w-full justify-center',
682
+ 'true-value': 1,
683
+ 'false-value': 0,
684
+ size: 'small',
685
685
  modelValue: row.displayFlag,
686
- "onUpdate:modelValue": (value)=>row.displayFlag = value
686
+ 'onUpdate:modelValue': (value)=>row.displayFlag = value
687
687
  })
688
688
  },
689
689
  {
690
- label: "列宽 (最小值)",
691
- prop: "minWidth",
690
+ label: '列宽 (最小值)',
691
+ prop: 'minWidth',
692
692
  minWidth: 170,
693
+ isDraggable: false,
693
694
  render: (row)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElInputNumber, {
694
695
  maxLength: 16,
695
696
  min: 0,
696
697
  precision: 0,
697
698
  modelValue: row.minWidth,
698
- "onUpdate:modelValue": (value)=>row.minWidth = value,
699
- size: "small",
700
- placeholder: "请输入列宽 (最小值)"
699
+ 'onUpdate:modelValue': (value)=>row.minWidth = value,
700
+ size: 'small',
701
+ placeholder: '请输入列宽 (最小值)'
701
702
  })
702
703
  },
703
704
  {
704
- label: "列排序",
705
- prop: "sort",
705
+ label: '列排序',
706
+ prop: 'sort',
707
+ isDraggable: false,
706
708
  minWidth: 170,
707
709
  render: (row, index)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElInputNumber, {
708
710
  max: length,
709
711
  min: 0,
710
712
  modelValue: row.sort,
711
713
  disabled: disabledDraggable.value,
712
- "onUpdate:modelValue": (value)=>row.sort = value,
714
+ 'onUpdate:modelValue': (value)=>row.sort = value,
713
715
  onInput: (sort)=>{
714
716
  changeSort(index, sort);
715
717
  },
716
- size: "small",
717
- placeholder: "请输入排序"
718
+ size: 'small',
719
+ placeholder: '请输入排序'
718
720
  })
719
721
  }
720
722
  ];
@@ -1914,11 +1916,11 @@ const tableColumnSetting = (options)=>{
1914
1916
  createColumnSetting(options, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_micro_app__.app?._context);
1915
1917
  };
1916
1918
  const TableSettingButtonvue_type_script_setup_true_lang_tsx_hoisted_1 = {
1917
- class: "el-dropdown-link absolute left-3 top-2.5 z-50 cursor-pointer text-primary"
1919
+ class: "el-dropdown-link absolute left-1 top-2 z-50 cursor-pointer text-primary"
1918
1920
  };
1919
- const FILE_TYPE_CODE = 'FILE_TYPE_CODE';
1920
- const COLUMN_SETTING = 'column-setting';
1921
- const EXPORT_FILE = 'export-file';
1921
+ const FILE_TYPE_CODE = "FILE_TYPE_CODE";
1922
+ const COLUMN_SETTING = "column-setting";
1923
+ const EXPORT_FILE = "export-file";
1922
1924
  /* ESM default export */ const TableSettingButtonvue_type_script_setup_true_lang_tsx = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
1923
1925
  __name: 'TableSettingButton',
1924
1926
  props: {
@@ -1930,7 +1932,7 @@ const EXPORT_FILE = 'export-file';
1930
1932
  componentDesc: {}
1931
1933
  },
1932
1934
  emits: [
1933
- 'success'
1935
+ "success"
1934
1936
  ],
1935
1937
  setup (__props, { emit: __emit }) {
1936
1938
  const dataSetList = use_fetch_dataset([
@@ -1943,7 +1945,7 @@ const EXPORT_FILE = 'export-file';
1943
1945
  let result = [
1944
1946
  {
1945
1947
  value: COLUMN_SETTING,
1946
- label: '表格设置',
1948
+ label: "表格设置",
1947
1949
  children: []
1948
1950
  }
1949
1951
  ];
@@ -1951,13 +1953,13 @@ const EXPORT_FILE = 'export-file';
1951
1953
  let list = dataSetList.value?.[FILE_TYPE_CODE] || [];
1952
1954
  if (1 === list.length) result.push({
1953
1955
  value: list[0]?.dataValueNo,
1954
- label: '导出文件',
1956
+ label: "导出文件",
1955
1957
  disabled: !props.tableData.length,
1956
1958
  children: []
1957
1959
  });
1958
1960
  if (list.length > 1) result.push({
1959
1961
  value: EXPORT_FILE,
1960
- label: '导出文件',
1962
+ label: "导出文件",
1961
1963
  disabled: !props.tableData.length,
1962
1964
  children: list.map((item)=>({
1963
1965
  value: item?.dataValueNo,
@@ -1968,15 +1970,15 @@ const EXPORT_FILE = 'export-file';
1968
1970
  return result;
1969
1971
  });
1970
1972
  const getRenderedContent = (render, row, index)=>{
1971
- const tempDiv = document.createElement('div');
1973
+ const tempDiv = document.createElement("div");
1972
1974
  const app = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createApp)({
1973
1975
  render () {
1974
- return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)('div', {}, render(row, index));
1976
+ return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("div", {}, render(row, index));
1975
1977
  }
1976
1978
  });
1977
1979
  app.use(__WEBPACK_EXTERNAL_MODULE_element_sun__["default"]);
1978
1980
  app.mount(tempDiv);
1979
- const content = tempDiv.textContent || '';
1981
+ const content = tempDiv.textContent || "";
1980
1982
  app.unmount();
1981
1983
  return content;
1982
1984
  };
@@ -1992,7 +1994,7 @@ const EXPORT_FILE = 'export-file';
1992
1994
  rowSequenceNo: index,
1993
1995
  rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && col.prop !== OPERATION).map((col)=>{
1994
1996
  let value = item[col.prop];
1995
- if ('function' == typeof col.render) try {
1997
+ if ("function" == typeof col.render) try {
1996
1998
  value = getRenderedContent(col.render, item, index) || value;
1997
1999
  } catch (error) {
1998
2000
  console.warn(`Render function error for column ${col.prop}:`, error);
@@ -2010,7 +2012,7 @@ const EXPORT_FILE = 'export-file';
2010
2012
  fileName: `${props.componentDesc}.xlsx`,
2011
2013
  data: res?.data?.fileString
2012
2014
  });
2013
- __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success('导出成功');
2015
+ __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success("导出成功");
2014
2016
  }
2015
2017
  }
2016
2018
  function hide() {
@@ -2023,7 +2025,7 @@ const EXPORT_FILE = 'export-file';
2023
2025
  componentNo: props.componentNo,
2024
2026
  columnsSetting: props.columnsSetting,
2025
2027
  success: ()=>{
2026
- emit('success');
2028
+ emit("success");
2027
2029
  }
2028
2030
  });
2029
2031
  }
@@ -2108,7 +2110,7 @@ const EXPORT_FILE = 'export-file';
2108
2110
  })) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("span", {
2109
2111
  key: 1,
2110
2112
  onClick: openColumnSetting,
2111
- class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(`el-dropdown-link absolute left-3 top-2.5 z-50 ${props.columnsSetting?.disabled ? 'cursor-not-allowed text-primary' : 'cursor-pointer text-primary-dark'}`)
2113
+ class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(`el-dropdown-link absolute left-1 top-2 z-50 ${props.columnsSetting?.disabled ? 'cursor-not-allowed text-primary' : 'cursor-pointer text-primary-dark'}`)
2112
2114
  }, [
2113
2115
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElIcon), null, {
2114
2116
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
@@ -2123,7 +2125,7 @@ const EXPORT_FILE = 'export-file';
2123
2125
  const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(TableSettingButtonvue_type_script_setup_true_lang_tsx, [
2124
2126
  [
2125
2127
  '__scopeId',
2126
- "data-v-5da819fc"
2128
+ "data-v-0aa25cee"
2127
2129
  ]
2128
2130
  ]);
2129
2131
  /* ESM default export */ const TableSettingButton = TableSettingButton_exports_;
@@ -4361,7 +4363,7 @@ const icon_combine_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(script,
4361
4363
  minWidth: 110,
4362
4364
  prop: item.dataIndex,
4363
4365
  ...__props.isPatientAccess && 'patientName' === item.dataIndex && {
4364
- render: (row)=>row?.patMainRecordId ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("div", {
4366
+ render: (row)=>row?.patMainRecordId && row?.patientId !== row?.patMainRecordId ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("div", {
4365
4367
  class: 'flex items-center justify-center gap-1'
4366
4368
  }, [
4367
4369
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)("span", {
@@ -6,15 +6,15 @@
6
6
 
7
7
 
8
8
 
9
- [data-v-5da819fc] .el-menu-item {
9
+ [data-v-0aa25cee] .el-menu-item {
10
10
  height: 48px;
11
11
  line-height: 48px;
12
12
  }
13
- [data-v-5da819fc] .el-sub-menu__title {
13
+ [data-v-0aa25cee] .el-sub-menu__title {
14
14
  height: 48px;
15
15
  line-height: 48px;
16
16
  }
17
- [data-v-5da819fc] .el-menu-item.is-active {
17
+ [data-v-0aa25cee] .el-menu-item.is-active {
18
18
  color: inherit !important;
19
19
  background-color: #0000 !important;
20
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sun-biz",
3
- "version": "0.0.4-beta.33",
3
+ "version": "0.0.4-beta.35",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  "src/*",