cnhis-design-vue 3.2.15-beta.9 → 3.2.16-beta.13

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 (148) hide show
  1. package/es/components/ai-chat/index.d.ts +9 -0
  2. package/es/components/ai-chat/src/Index.vue.d.ts +9 -0
  3. package/es/components/ai-chat/src/Index.vue2.js +1 -1
  4. package/es/components/ai-chat/src/components/ChatCard.js +1 -1
  5. package/es/components/ai-chat/style/index.css +1 -1
  6. package/es/components/branch-notice/index.d.ts +32 -3
  7. package/es/components/branch-notice/src/BranchNotice.vue.d.ts +9 -3
  8. package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -1
  9. package/es/components/branch-notice/src/canstants.js +1 -1
  10. package/es/components/button-print/index.d.ts +6 -13
  11. package/es/components/button-print/src/ButtonPrint.vue.d.ts +6 -13
  12. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +6 -13
  13. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  14. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  15. package/es/components/button-print/style/index.css +1 -1
  16. package/es/components/callback/src/components/render/popupMaps.d.ts +10 -0
  17. package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
  18. package/es/components/classification/index.d.ts +30 -0
  19. package/es/components/classification/src/components/search-filter/index.vue.d.ts +30 -0
  20. package/es/components/classification/src/components/set-classification/index.vue.d.ts +30 -0
  21. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  22. package/es/components/classification/src/index.vue.d.ts +30 -0
  23. package/es/components/date-picker/index.d.ts +10 -0
  24. package/es/components/date-picker/src/DatePicker.vue.d.ts +10 -0
  25. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  26. package/es/components/expand-field/index.d.ts +27 -1
  27. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +27 -1
  28. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +27 -1
  29. package/es/components/expand-field/src/components/form.vue.d.ts +27 -1
  30. package/es/components/expand-field/src/index.vue.d.ts +27 -1
  31. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  32. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -0
  33. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  34. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  36. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  37. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -2
  38. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  39. package/es/components/fabric-chart/src/interface.d.ts +1 -0
  40. package/es/components/field-set/src/FieldColor.vue.d.ts +24 -4
  41. package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -5
  42. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  43. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  44. package/es/components/field-set/src/components/condition.vue.d.ts +10 -0
  45. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +20 -0
  46. package/es/components/field-set/src/components/edit-filter.vue.d.ts +10 -0
  47. package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
  48. package/es/components/field-set/src/components/table-row.vue2.js +1 -1
  49. package/es/components/field-set/src/utils/index.js +1 -1
  50. package/es/components/form-config/index.d.ts +1051 -1
  51. package/es/components/form-config/src/FormConfig.vue.d.ts +1051 -1
  52. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +10 -0
  53. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +10 -1
  54. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  55. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1029 -0
  56. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
  57. package/es/components/form-config/src/constants/index.js +1 -1
  58. package/es/components/form-config/style/index.css +1 -1
  59. package/es/components/form-render/index.d.ts +10 -0
  60. package/es/components/form-render/src/FormRender.vue.d.ts +10 -0
  61. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  62. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +10 -0
  63. package/es/components/form-render/src/components/renderer/input.d.ts +9 -1
  64. package/es/components/form-render/src/components/renderer/input.js +1 -1
  65. package/es/components/form-render/src/components/renderer/select.d.ts +6 -0
  66. package/es/components/form-render/src/components/renderer/select.js +1 -1
  67. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  68. package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
  69. package/es/components/iho-chat/index.d.ts +477 -102
  70. package/es/components/iho-chat/src/Index.vue.d.ts +477 -102
  71. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  72. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +33 -9
  73. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  74. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +33 -10
  75. package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
  76. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +33 -10
  77. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  78. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +133 -45
  79. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +183 -18
  80. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  81. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +10 -1
  82. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +0 -1
  83. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +45 -17
  84. package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +137 -0
  85. package/es/components/iho-chat/src/components/MessageEvent.vue.js +1 -0
  86. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +1 -0
  87. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +40 -13
  88. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  89. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +13 -7
  90. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  91. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +11 -1
  92. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  93. package/es/components/iho-chat/src/components/Video.vue.d.ts +2 -2
  94. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  95. package/es/components/iho-chat/src/constants/index.d.ts +2 -1
  96. package/es/components/iho-chat/src/constants/index.js +1 -1
  97. package/es/components/iho-chat/src/hooks/useData.d.ts +4 -2
  98. package/es/components/iho-chat/src/hooks/useData.js +1 -1
  99. package/es/components/iho-chat/src/hooks/useVideo.d.ts +3 -3
  100. package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
  101. package/es/components/iho-chat/src/types/index.d.ts +13 -2
  102. package/es/components/iho-chat/src/utils/asyncQueue.d.ts +10 -0
  103. package/es/components/iho-chat/src/utils/asyncQueue.js +1 -0
  104. package/es/components/iho-chat/style/iconfont.ttf +0 -0
  105. package/es/components/iho-chat/style/index.css +1 -1
  106. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +10 -0
  107. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  108. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
  109. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue.d.ts +1 -0
  110. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +1 -1
  111. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +10 -0
  112. package/es/components/iho-table/src/types/index.d.ts +17 -0
  113. package/es/components/iho-table/src/utils/index.js +1 -1
  114. package/es/components/iho-table/style/index.css +1 -1
  115. package/es/components/index.css +1 -1
  116. package/es/components/info-header/index.d.ts +20 -0
  117. package/es/components/info-header/src/InfoHeader.vue.d.ts +20 -0
  118. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +10 -0
  119. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +10 -0
  120. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  121. package/es/components/select-person/index.d.ts +27 -1
  122. package/es/components/select-person/src/SelectPerson.vue.d.ts +15 -1
  123. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  124. package/es/components/select-person/src/index.vue.d.ts +27 -1
  125. package/es/components/select-person/src/index.vue2.js +1 -1
  126. package/es/components/shortcut-setter/index.d.ts +10 -0
  127. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +10 -0
  128. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +10 -0
  129. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +10 -0
  130. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +10 -0
  131. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +10 -0
  132. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +20 -0
  133. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +10 -0
  134. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +10 -0
  135. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +20 -0
  136. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -0
  137. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +10 -0
  138. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +10 -0
  139. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +10 -0
  140. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +10 -0
  141. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  142. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +40 -0
  143. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +40 -0
  144. package/es/env.d.ts +25 -25
  145. package/es/shared/hooks/useDateTime.js +1 -1
  146. package/es/shared/package.json.js +1 -1
  147. package/es/shared/types/business.d.ts +4 -0
  148. package/package.json +2 -2
@@ -53,6 +53,9 @@ declare const _default: import("vue").DefineComponent<{
53
53
  type: StringConstructor;
54
54
  default: string;
55
55
  };
56
+ isDateDisabled: {
57
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
58
+ };
56
59
  }, {
57
60
  attrs: {
58
61
  [x: string]: unknown;
@@ -85,6 +88,9 @@ declare const _default: import("vue").DefineComponent<{
85
88
  type: StringConstructor;
86
89
  default: string;
87
90
  };
91
+ isDateDisabled: {
92
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
93
+ };
88
94
  }>> & {
89
95
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
90
96
  }>>;
@@ -97,6 +103,7 @@ declare const _default: import("vue").DefineComponent<{
97
103
  isDateTime: import("vue").ComputedRef<boolean>;
98
104
  formatRef: import("vue").ComputedRef<string>;
99
105
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
106
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
100
107
  focus: () => any;
101
108
  blur: () => any;
102
109
  handleConfirm: (target: HTMLInputElement) => void;
@@ -136,6 +143,9 @@ declare const _default: import("vue").DefineComponent<{
136
143
  type: StringConstructor;
137
144
  default: string;
138
145
  };
146
+ isDateDisabled: {
147
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
148
+ };
139
149
  }>> & {
140
150
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
141
151
  }, {
@@ -1 +1 @@
1
- import{defineComponent as e,inject as l,computed as a,ref as t,onDeactivated as n,onMounted as u,toRaw as o,openBlock as i,createElementBlock as r,unref as v,createBlock as d,createCommentVNode as c,createVNode as s,isRef as p,withCtx as f,createTextVNode as m,createElementVNode as h,toDisplayString as y,mergeProps as g,normalizeProps as _,guardReactiveProps as w,Fragment as k,renderList as b,normalizeStyle as L}from"vue";import C from"../../../../../shared/components/CancelRadio/CancelRadio.js";import D from"../../../../../shared/components/SlotRender/SlotRender.js";import{keywordMatcher as F,widthAppend as R}from"../../../../../shared/utils/index.js";import{useVirtualList as B}from"@vueuse/core";import{isNumber as S,isString as j,isFunction as I,isEqual as x}from"lodash-es";import{NInput as U,NCheckbox as W,NSpin as $,NCheckboxGroup as E,NRadioGroup as O,NButtonGroup as Y,NButton as M}from"naive-ui";import{InjectionIhoTableConfig as P}from"../../constants/index.js";import{getLowCodeFieldFromField as V,isVariableHeightTable as q}from"../../utils/index.js";const z={class:"iho-table__filterWrapper"},A={key:1,class:"iho-table__filterCheckAllWrapper"},H={key:0,class:"iho-table__filterListItem"},N={class:"iho-table__filterListItem"},G=["title"],J=["title"],K={class:"iho-table__filterListItemContent"},Q={class:"iho-table__filterFooter"};var T=e({__name:"filter",props:{payload:{type:Object,required:!0}},setup(e){const T=e,X=l("$xetable"),Z=l(P),ee=a((()=>V(T.payload.column)||{})),le=a((()=>{var e;return(null==(e=null==X?void 0:X.internalData)?void 0:e.afterFullData)||[]})),ae=a((()=>{var e;return!!(null==(e=T.payload)?void 0:e.column.filterMultiple)})),te=a((()=>{var e,l,a;return null!=(a=null==(l=null==(e=T.payload)?void 0:e.column)?void 0:l.filters)?a:[]})),ne=a({get:()=>te.value.reduce(((e,l)=>(l.checked&&e.push(l.value),e)),[]),async set(e){var l,a,t,n;if(!T.payload||!X)return;const u=X.reactData.filterStore.options||[];if(ae.value?(u.forEach((l=>l._checked=e.includes(l.value))),X.checkFilterOptions()):u.forEach((l=>l._checked=l.value===e[0])),!q(X))return o();function o(){T.payload.$panel.confirmFilter(new CustomEvent("click"))}(null!=(a=null==(l=X.internalData.afterFullData)?void 0:l.length)?a:0)>(null!=(n=null==(t=Z.value.scrollY)?void 0:t.gt)?n:100)&&(X.reactData.scrollYLoad=!0),o(),X.reactData.scrollYLoad=!1}}),ue=t([...ne.value]),oe=t("");async function ie(){X&&(X.reactData.filterStore.visible=!1)}n(ie);const re=a((()=>{var e,l;if(!T.payload||!T.payload.column)return 10;const{filterCapacity:a}=null!=(l=null==(e=T.payload.column.editRender)?void 0:e.props)?l:{};return S(a)&&a>0?a:10})),ve=a((()=>{var e;return null==(e=T.payload.column.editRender.props)?void 0:e.filterOptionsFilterMethod})),de=a((()=>oe.value?te.value.filter((e=>ve.value?ve.value(oe.value,e):!!`${e.label}`.includes(oe.value)||(j(e.data)?F(oe.value,e.data):void 0))):te.value)),{list:ce,containerProps:se,wrapperProps:pe}=B(de,{itemHeight:32,overscan:3}),fe=a({get:()=>!!de.value.length&&de.value.every((e=>ue.value.includes(e.value))),set(e){ue.value=e?[...new Set([...ue.value,...de.value.map((e=>e.value))])]:ue.value.filter((e=>de.value.every((l=>l.value!==e))))}}),me=a((()=>de.value.some((e=>ue.value.includes(e.value)))&&!fe.value)),he=a({get:()=>ue.value.length===te.value.length&&0!==te.value.length,set:e=>{ue.value=e?te.value.map((e=>e.value)):[]}}),ye=a((()=>!!ue.value.length&&!he.value)),ge=a((()=>({height:R(32*re.value)})));function _e(){ne.value=ae.value?ue.value:x(ue.value[0],null)?[]:[ue.value[0]],ie()}function we(){ue.value=ae.value?[]:[null]}const ke=t(!1);return u((async()=>{var e;if(!X)return;const l=null==(e=T.payload.column.editRender.props)?void 0:e.onFilterShow;if(I(l))try{ke.value=!0,await l(T.payload);const{filterStore:e}=X.reactData;o(e.options)!==o(te.value)&&(e.options=te.value)}finally{ke.value=!1}})),(l,a)=>{var t,n;return i(),r("section",z,[v(te).length>5?(i(),d(v(U),{key:0,value:oe.value,"onUpdate:value":a[0]||(a[0]=e=>oe.value=e)},null,8,["value"])):c("v-if",!0),v(ae)?(i(),r("div",A,[v(te).length>5?(i(),r("div",H,[s(v(W),{checked:v(fe),"onUpdate:checked":a[1]||(a[1]=e=>p(fe)?fe.value=e:null),indeterminate:v(me)},{default:f((()=>{var e;return[m((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.576"))||"全选当前")]})),_:1},8,["checked","indeterminate"])])):c("v-if",!0),h("div",N,[s(v(W),{checked:v(he),"onUpdate:checked":a[2]||(a[2]=e=>p(he)?he.value=e:null),indeterminate:v(ye)},{default:f((()=>{var e;return[m(((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.577"))||"全选所有")+y(v(ee).showFilterFullNums?`(${v(le).length})`:""),1)]})),_:1},8,["checked","indeterminate"])])])):c("v-if",!0),s(v($),{show:ke.value},{default:f((()=>[v(ae)?(i(),d(v(E),{key:0,value:ue.value,"onUpdate:value":a[3]||(a[3]=e=>ue.value=e)},{default:f((()=>[h("section",g(v(se),{style:v(ge),class:"iho-table__filterListWrapper"}),[h("section",_(w(v(pe))),[(i(!0),r(k,null,b(v(ce),(l=>(i(),r("div",{class:"iho-table__filterListItem",key:l.data.value},[s(v(W),{value:l.data.value},{default:f((()=>[h("div",{class:"iho-table__filterListItemContent",title:l.data.label},[v(ee).filterLabelRender?(i(),d(v(D),g({key:0,renderer:v(ee).filterLabelRender},e.payload,{option:l.data}),null,16,["renderer","option"])):(i(),r(k,{key:1},[m(y(l.data.label),1)],64))],8,G)])),_:2},1032,["value"])])))),128))],16)],16)])),_:1},8,["value"])):(i(),d(v(O),{key:1,value:ue.value[0],"onUpdate:value":a[5]||(a[5]=e=>ue.value[0]=e)},{default:f((()=>[h("section",g(v(se),{style:v(ge),class:"iho-table__filterListWrapper"}),[h("section",_(w(v(pe))),[(i(!0),r(k,null,b(v(ce),(e=>(i(),r("div",{class:"iho-table__filterListItem",key:e.data.value,title:e.data.label},[s(v(C),{value:e.data.value,currentValue:ue.value[0],cancelable:"",onCancel:a[4]||(a[4]=e=>ue.value=[null])},{default:f((()=>[h("div",K,y(e.data.label),1)])),_:2},1032,["value","currentValue"])],8,J)))),128))],16)],16)])),_:1},8,["value"]))])),_:1},8,["show"]),h("footer",Q,[h("section",null,[v(ae)?(i(),r(k,{key:0},[m((null==(t=window.getLanguageByCode)?void 0:t.call(window,"10010.1.39"))||"已选择"),h("span",{style:L({color:"var(--c-primary-color)"})},y(ue.value.length),5),m((null==(n=window.getLanguageByCode)?void 0:n.call(window,"10010.1.417"))||"项")],64)):c("v-if",!0)]),s(v(Y),{size:"small"},{default:f((()=>[s(v(M),{onClick:we},{default:f((()=>{var e;return[m((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.509"))||"清空")]})),_:1}),s(v(M),{onClick:ie},{default:f((()=>{var e;return[m((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.28"))||"取消")]})),_:1}),s(v(M),{type:"primary",onClick:_e},{default:f((()=>{var e;return[m((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.27"))||"确定")]})),_:1})])),_:1})])])}}});export{T as default};
1
+ import{defineComponent as e,inject as l,computed as a,ref as t,onDeactivated as n,onMounted as u,toRaw as o,openBlock as i,createElementBlock as r,unref as v,createBlock as d,createCommentVNode as c,createVNode as s,isRef as p,withCtx as f,createTextVNode as m,createElementVNode as h,toDisplayString as y,mergeProps as _,normalizeProps as g,guardReactiveProps as w,Fragment as k,renderList as b,normalizeStyle as L}from"vue";import C from"../../../../../shared/components/CancelRadio/CancelRadio.js";import D from"../../../../../shared/components/SlotRender/SlotRender.js";import{keywordMatcher as F,widthAppend as R}from"../../../../../shared/utils/index.js";import{useVirtualList as S}from"@vueuse/core";import{isNumber as j,isString as B,isFunction as I,isEqual as x}from"lodash-es";import{NInput as U,NCheckbox as W,NSpin as $,NCheckboxGroup as E,NRadioGroup as O,NButtonGroup as Y,NButton as M}from"naive-ui";import{InjectionIhoTableConfig as P}from"../../constants/index.js";import{getLowCodeFieldFromField as V,isVariableHeightTable as q}from"../../utils/index.js";const z={class:"iho-table__filterWrapper"},A={key:1,class:"iho-table__filterCheckAllWrapper"},H={key:0,class:"iho-table__filterListItem"},N={class:"iho-table__filterListItem"},G=["title"],J=["title"],K={class:"iho-table__filterListItemContent"},Q={class:"iho-table__filterFooter"};var T=e({__name:"filter",props:{payload:{type:Object,required:!0}},setup(e){const T=e,X=l("$xetable"),Z=l(P),ee=a((()=>V(T.payload.column)||{})),le=a((()=>{var e;return(null==(e=null==X?void 0:X.internalData)?void 0:e.afterFullData)||[]})),ae=a((()=>{var e;return!!(null==(e=T.payload)?void 0:e.column.filterMultiple)})),te=a((()=>{var e,l,a;return null!=(a=null==(l=null==(e=T.payload)?void 0:e.column)?void 0:l.filters)?a:[]})),ne=a({get:()=>te.value.reduce(((e,l)=>(l.checked&&e.push(l.value),e)),[]),async set(e){var l,a,t,n;if(!T.payload||!X)return;const u=X.reactData.filterStore.options||[];if(ae.value?(u.forEach((l=>l._checked=e.includes(l.value))),X.checkFilterOptions()):u.forEach((l=>l._checked=l.value===e[0])),!q(X))return o();function o(){T.payload.$panel.confirmFilter(new CustomEvent("click"))}(null!=(a=null==(l=X.internalData.afterFullData)?void 0:l.length)?a:0)>(null!=(n=null==(t=Z.value.scrollY)?void 0:t.gt)?n:100)&&(X.reactData.scrollYLoad=!0),o(),X.reactData.scrollYLoad=!1}}),ue=t([...ne.value]),oe=t("");async function ie(){X&&(X.reactData.filterStore.visible=!1)}n(ie);const re=a((()=>{var e,l;if(!T.payload||!T.payload.column)return 10;const{filterCapacity:a}=null!=(l=null==(e=T.payload.column.editRender)?void 0:e.props)?l:{};return j(a)&&a>0?a:10})),ve=a((()=>{var e;return null==(e=T.payload.column.editRender.props)?void 0:e.filterOptionsFilterMethod})),de=a((()=>oe.value?te.value.filter((e=>ve.value?ve.value(oe.value,e):!!`${e.label}`.includes(oe.value)||(B(e.data)?F(oe.value,e.data):void 0))):te.value)),{list:ce,containerProps:se,wrapperProps:pe}=S(de,{itemHeight:32,overscan:3}),fe=a({get:()=>!!de.value.length&&de.value.every((e=>ue.value.includes(e.value))),set(e){ue.value=e?[...new Set([...ue.value,...de.value.map((e=>e.value))])]:ue.value.filter((e=>de.value.every((l=>l.value!==e))))}}),me=a((()=>de.value.some((e=>ue.value.includes(e.value)))&&!fe.value)),he=a({get:()=>ue.value.length===te.value.length&&0!==te.value.length,set:e=>{ue.value=e?te.value.map((e=>e.value)):[]}}),ye=a((()=>!!ue.value.length&&!he.value)),_e=a((()=>({height:R(32*re.value)})));function ge(){ne.value=ae.value?ue.value:x(ue.value[0],null)?[]:[ue.value[0]],ie()}function we(){ue.value=ae.value?[]:[null]}const ke=t(!1);return u((async()=>{var e;if(!X)return;const l=null==(e=T.payload.column.editRender.props)?void 0:e.onFilterShow;if(I(l))try{ke.value=!0,await l(T.payload);const{filterStore:e}=X.reactData;o(e.options)!==o(te.value)&&(e.options=te.value)}finally{ke.value=!1}})),(l,a)=>{var t,n;return i(),r("section",z,[v(te).length>5?(i(),d(v(U),{key:0,value:oe.value,"onUpdate:value":a[0]||(a[0]=e=>oe.value=e)},null,8,["value"])):c("v-if",!0),v(ae)?(i(),r("div",A,[v(te).length>5?(i(),r("div",H,[s(v(W),{checked:v(fe),"onUpdate:checked":a[1]||(a[1]=e=>p(fe)?fe.value=e:null),indeterminate:v(me)},{default:f((()=>[m("全选当前")])),_:1},8,["checked","indeterminate"])])):c("v-if",!0),h("div",N,[s(v(W),{checked:v(he),"onUpdate:checked":a[2]||(a[2]=e=>p(he)?he.value=e:null),indeterminate:v(ye)},{default:f((()=>{var e;return[m(((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.577"))||"全选所有")+y(v(ee).showFilterFullNums?`(${v(le).length})`:""),1)]})),_:1},8,["checked","indeterminate"])])])):c("v-if",!0),s(v($),{show:ke.value},{default:f((()=>[v(ae)?(i(),d(v(E),{key:0,value:ue.value,"onUpdate:value":a[3]||(a[3]=e=>ue.value=e)},{default:f((()=>[h("section",_(v(se),{style:v(_e),class:"iho-table__filterListWrapper"}),[h("section",g(w(v(pe))),[(i(!0),r(k,null,b(v(ce),(l=>(i(),r("div",{class:"iho-table__filterListItem",key:l.data.value},[s(v(W),{value:l.data.value},{default:f((()=>[h("div",{class:"iho-table__filterListItemContent",title:l.data.label},[v(ee).filterLabelRender?(i(),d(v(D),_({key:0,renderer:v(ee).filterLabelRender},e.payload,{option:l.data}),null,16,["renderer","option"])):(i(),r(k,{key:1},[m(y(l.data.label),1)],64))],8,G)])),_:2},1032,["value"])])))),128))],16)],16)])),_:1},8,["value"])):(i(),d(v(O),{key:1,value:ue.value[0],"onUpdate:value":a[5]||(a[5]=e=>ue.value[0]=e)},{default:f((()=>[h("section",_(v(se),{style:v(_e),class:"iho-table__filterListWrapper"}),[h("section",g(w(v(pe))),[(i(!0),r(k,null,b(v(ce),(e=>(i(),r("div",{class:"iho-table__filterListItem",key:e.data.value,title:e.data.label},[s(v(C),{value:e.data.value,currentValue:ue.value[0],cancelable:"",onCancel:a[4]||(a[4]=e=>ue.value=[null])},{default:f((()=>[h("div",K,y(e.data.label),1)])),_:2},1032,["value","currentValue"])],8,J)))),128))],16)],16)])),_:1},8,["value"]))])),_:1},8,["show"]),h("footer",Q,[h("section",null,[v(ae)?(i(),r(k,{key:0},[m((null==(t=window.getLanguageByCode)?void 0:t.call(window,"10010.1.39"))||"已选择"),h("span",{style:L({color:"var(--c-primary-color)"})},y(ue.value.length),5),m((null==(n=window.getLanguageByCode)?void 0:n.call(window,"10010.1.417"))||"项")],64)):c("v-if",!0)]),s(v(Y),{size:"small"},{default:f((()=>[s(v(M),{onClick:we},{default:f((()=>{var e;return[m((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.509"))||"清空")]})),_:1}),s(v(M),{onClick:ie},{default:f((()=>{var e;return[m((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.28"))||"取消")]})),_:1}),s(v(M),{type:"primary",onClick:ge},{default:f((()=>{var e;return[m((null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.27"))||"确定")]})),_:1})])),_:1})])])}}});export{T as default};
@@ -1 +1 @@
1
- import{createVNode as e}from"vue";import{jsonParse as i,arrayed as r}from"../../../../../shared/utils/index.js";import{isObject as l}from"@vue/shared";import{promiseTimeout as t}from"@vueuse/shared";import{isArray as o,isString as n,first as d,findLastIndex as u}from"lodash-es";import"../../../index.js";import{useUUIDMap as s,IhoTableRenderHelper as a,isCompatibleColumn as f,createIhoTableFilterMethod as c}from"../../utils/index.js";import p from"./filter.vue.js";import{defineTablePlugin as v}from"../../hooks/useTablePlugin.js";function m(){const m="filterRenderPlugin";return v({name:m,vxe(i){i.renderer.mixin({[m]:{showFilterFooter:!1,renderFilter:(i,r)=>e(p,{payload:r,key:r.column.field},null)}})},apply(e){const{getItemFromUUID:p,setItemFromUUID:v,removeItemFromUUID:g}=s((()=>[]),!1);e.fieldHooks.field.tap(m,((e,r,t,{$table:u})=>{var s,p,v,h,g,b,k,y;const F=null==(s=e.editRender)?void 0:s.props;if(!l(F))return e;if(!a.hasOptionFilter(F))return e;e.editRender={...e.editRender,props:{...null==(p=e.editRender)?void 0:p.props,sortable:e.sortable}},e.filterRender={name:m};const x=null==(v=u.value)?void 0:v.getColumnByField(e.field),R={};let C;if(x&&o(x.filters)&&x.filters.forEach((e=>{e&&(R[`${e.label}_${e.value}`]=e.checked)})),f(F))C=null!=(h=F.options)?h:[];else{C=null!=(k=null==(b=null==(g=(l(F.fieldSetting)?F.fieldSetting:n(F.fieldSetting)?i(F.fieldSetting||""):{}).mapping)?void 0:g.mappingFiled)?void 0:b.reduce(((e,i)=>{var r;const t=d(i.value);return l(t)&&e.push({label:i.key||t.key,value:t.value,data:null!=(r=t.keyword)?r:t.value}),e}),[]))?k:[]}if(e.filters=C.reduce(((e,i)=>(l(i)&&e.push({...i,checked:!!R[`${i.label}_${i.value}`]}),e)),[]),!e.filterMethod){const i=null==(y=t.treeConfig)?void 0:y.children;e.filterMethod=c(i)}return t.filterConfig={iconMatch:"iho-table--iconfont iho-table-icon-filter",iconNone:"iho-table--iconfont iho-table-icon-filter",...t.filterConfig},e})),e.fieldHooks.fieldList.tap(m,((e,i)=>i.uuid?(v(i.uuid,e),e):e)),e.fieldHooks.fieldEnd.tapPromise(m,(async(e,{$table:i})=>{var r;try{if(!i.value||!e.uuid)return;const l=p(e.uuid);if(null==(r=e.sortConfig)?void 0:r.multiple){const e=l.reduce(((e,r)=>{var l;const t=null==(l=r.editRender)?void 0:l.props;if(!r.sortable)return e;if(t&&h(t.isOrder)){const l=i.value.getColumnByField(r.field);e.push({field:r.field,order:(null==l?void 0:l.order)?l.order:t.isOrder})}return e}),[]);if(!e.length)return;await t(200),await i.value.sort(e)}else u(l,(e=>{var r;const l=null==(r=e.editRender)?void 0:r.props;if(l&&h(l.isOrder))return e&&i.value.sort(e.field,l.isOrder),!0}))}finally{e.uuid&&g(e.uuid)}})),e.exposeHooks.expose.tap(m,((e,i,{$table:l})=>(Object.assign(e,{setSort(e,i){l.value&&l.value.sort(e,i)},setFilter(e,i){if(!l.value)return;const t=l.value.getColumnByField(e);if(!t||!o(t.filters))return;const n=r(i);t.filters.forEach((e=>{e.checked=n.includes(e.value)})),l.value.updateData()}}),e)))}})}function h(e){return["asc","desc",null].includes(e)}export{m as filterRenderPlugin};
1
+ import{createVNode as e}from"vue";import{jsonParse as l,arrayed as i}from"../../../../../shared/utils/index.js";import{isObject as t}from"@vue/shared";import{promiseTimeout as r}from"@vueuse/shared";import{isArray as o,isString as n,first as u,findLastIndex as d}from"lodash-es";import"../../../index.js";import{useUUIDMap as s,IhoTableRenderHelper as a,isCompatibleColumn as f,createIhoTableFilterMethod as v}from"../../utils/index.js";import c from"./filter.vue.js";import{defineTablePlugin as p}from"../../hooks/useTablePlugin.js";function m(){const m="filterRenderPlugin";return p({name:m,vxe(l){l.renderer.mixin({[m]:{showFilterFooter:!1,renderFilter:(l,i)=>e(c,{payload:i,key:i.column.field},null)}})},apply(e){const{getItemFromUUID:c,setItemFromUUID:p,removeItemFromUUID:g}=s((()=>[]),!1);e.fieldHooks.field.tap(m,((e,i,r,{$table:d})=>{var s,c,p,h,g,b,k,y,F,x;const R=null==(s=e.editRender)?void 0:s.props;if(!t(R))return e;if(!a.hasOptionFilter(R))return e;e.editRender={...e.editRender,props:{...null==(c=e.editRender)?void 0:c.props,sortable:e.sortable}},e.filterRender={name:m};const j=null==(p=d.value)?void 0:p.getColumnByField(e.field),C={};let O;if(j&&o(j.filters)&&j.filters.forEach((e=>{e&&(C[`${e.label}_${e.value}`]=e.checked)})),f(R))O=null!=(h=R.options)?h:[];else{const e=null==(b=null==(g=R.settingObj)?void 0:g.showSetting)?void 0:b.reduce(((e,l)=>{var i,t,r;return l&&l.change_text&&null!=(null==(t=null==(i=l.filter)?void 0:i[0])?void 0:t.value)&&e.push({label:l.change_text,value:l.filter[0].value,data:null!=(r=l.filter[0].keyword)?r:l.filter[0].value}),e}),[]);if(null==e?void 0:e.length)O=e;else{O=null!=(F=null==(y=null==(k=(t(R.fieldSetting)?R.fieldSetting:n(R.fieldSetting)?l(R.fieldSetting||""):{}).mapping)?void 0:k.mappingFiled)?void 0:y.reduce(((e,l)=>{var i;const r=u(l.value);return t(r)&&e.push({label:l.key||r.key,value:r.value,data:null!=(i=r.keyword)?i:r.value}),e}),[]))?F:[]}}if(e.filters=O.reduce(((e,l)=>(t(l)&&e.push({...l,checked:!!C[`${l.label}_${l.value}`]}),e)),[]),!e.filterMethod){const l=null==(x=r.treeConfig)?void 0:x.children;e.filterMethod=v(l)}return r.filterConfig={iconMatch:"iho-table--iconfont iho-table-icon-filter",iconNone:"iho-table--iconfont iho-table-icon-filter",...r.filterConfig},e})),e.fieldHooks.fieldList.tap(m,((e,l)=>l.uuid?(p(l.uuid,e),e):e)),e.fieldHooks.fieldEnd.tapPromise(m,(async(e,{$table:l})=>{var i;try{if(!l.value||!e.uuid)return;const t=c(e.uuid);if(null==(i=e.sortConfig)?void 0:i.multiple){const e=t.reduce(((e,i)=>{var t;const r=null==(t=i.editRender)?void 0:t.props;if(!i.sortable)return e;if(r&&h(r.isOrder)){const t=l.value.getColumnByField(i.field);e.push({field:i.field,order:(null==t?void 0:t.order)?t.order:r.isOrder})}return e}),[]);if(!e.length)return;await r(200),await l.value.sort(e)}else d(t,(e=>{var i;const t=null==(i=e.editRender)?void 0:i.props;if(t&&h(t.isOrder))return e&&l.value.sort(e.field,t.isOrder),!0}))}finally{e.uuid&&g(e.uuid)}})),e.exposeHooks.expose.tap(m,((e,l,{$table:t})=>(Object.assign(e,{setSort(e,l){t.value&&t.value.sort(e,l)},setFilter(e,l){if(!t.value)return;const r=t.value.getColumnByField(e);if(!r||!o(r.filters))return;const n=i(l);r.filters.forEach((e=>{e.checked=n.includes(e.value)})),t.value.updateData()}}),e)))}})}function h(e){return["asc","desc",null].includes(e)}export{m as filterRenderPlugin};
@@ -13,6 +13,7 @@ declare const _default: import("vue").DefineComponent<{
13
13
  };
14
14
  }>> & {}>>;
15
15
  valueRef: import("vue").Ref<string>;
16
+ inputProps: import("vue").ComputedRef<import("../../../../../shared/types").AnyObject>;
16
17
  onUpdateValue: (value: string) => void;
17
18
  $table: (VxeTableConstructor & VxeTablePrivateMethods & VxeTableMethods) | undefined;
18
19
  close: () => void;
@@ -1 +1 @@
1
- import{defineComponent as a,ref as l,inject as e,openBlock as t,createBlock as n,unref as o,withCtx as u,createVNode as i,createTextVNode as r}from"vue";import{cloneDeep as d}from"lodash-es";import{NSpace as p,NInput as v,NButtonGroup as c,NButton as f}from"naive-ui";var s=a({__name:"filter",props:{payload:{type:Object,required:!0}},setup(a){var s;const m=a,y=l(d((null==(s=m.payload.column.filters)?void 0:s[0])||{}).data);function w(a){y.value=a}const g=e("$xetable");function _(){g&&(g.reactData.filterStore.visible=!1)}function C(){var a,l;const e=null==(a=m.payload.column.filters)?void 0:a[0];if(!e)return _();e.data=y.value,(null==(l=m.payload)?void 0:l.$panel)&&(m.payload.$panel.changeOption(null,!!y.value,e),m.payload.$panel.confirmFilter(new CustomEvent("click")))}return(a,l)=>(t(),n(o(p),{vertical:"",style:{padding:"8px 12px"}},{default:u((()=>[i(o(v),{clearable:"",value:y.value,"onUpdate:value":w},null,8,["value"]),i(o(p),{justify:"end"},{default:u((()=>[i(o(c),{size:"small"},{default:u((()=>[i(o(f),{onClick:_},{default:u((()=>{var a;return[r((null==(a=window.getLanguageByCode)?void 0:a.call(window,"10010.1.28"))||"取消")]})),_:1}),i(o(f),{type:"primary",onClick:C},{default:u((()=>{var a;return[r((null==(a=window.getLanguageByCode)?void 0:a.call(window,"10010.1.27"))||"确定")]})),_:1})])),_:1})])),_:1})])),_:1}))}});export{s as default};
1
+ import{defineComponent as l,ref as a,computed as e,inject as t,openBlock as n,createBlock as o,unref as i,withCtx as u,createVNode as r,mergeProps as d,createTextVNode as p}from"vue";import{cloneDeep as v}from"lodash-es";import{NSpace as c,NInput as f,NButtonGroup as s,NButton as m}from"naive-ui";import{getLowCodeFieldFromField as y}from"../../utils/index.js";var g=l({__name:"filter",props:{payload:{type:Object,required:!0}},setup(l){var g;const w=l,_=a(v((null==(g=w.payload.column.filters)?void 0:g[0])||{}).data),x=e((()=>{var l,a;const e=y(w.payload.column);return e&&(null==(a=null==(l=e.filterSetting)?void 0:l.text)?void 0:a.inputProps)||{}}));function C(l){_.value=l}const b=t("$xetable");function $(){b&&(b.reactData.filterStore.visible=!1)}function j(){var l,a;const e=null==(l=w.payload.column.filters)?void 0:l[0];if(!e)return $();e.data=_.value,(null==(a=w.payload)?void 0:a.$panel)&&(w.payload.$panel.changeOption(null,!!_.value,e),w.payload.$panel.confirmFilter(new CustomEvent("click")))}return(l,a)=>(n(),o(i(c),{vertical:"",style:{padding:"8px 12px"}},{default:u((()=>[r(i(f),d({clearable:""},i(x),{value:_.value,"onUpdate:value":C}),null,16,["value"]),r(i(c),{justify:"end"},{default:u((()=>[r(i(s),{size:"small"},{default:u((()=>[r(i(m),{onClick:$},{default:u((()=>{var l;return[p((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.28"))||"取消")]})),_:1}),r(i(m),{type:"primary",onClick:j},{default:u((()=>{var l;return[p((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.27"))||"确定")]})),_:1})])),_:1})])),_:1})])),_:1}))}});export{g as default};
@@ -140,6 +140,9 @@ declare const _default: import("vue").DefineComponent<{
140
140
  type: StringConstructor;
141
141
  default: string;
142
142
  };
143
+ isDateDisabled: {
144
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
145
+ };
143
146
  }, {
144
147
  attrs: {
145
148
  [x: string]: unknown;
@@ -172,6 +175,9 @@ declare const _default: import("vue").DefineComponent<{
172
175
  type: StringConstructor;
173
176
  default: string;
174
177
  };
178
+ isDateDisabled: {
179
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
180
+ };
175
181
  }>> & {
176
182
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
177
183
  }>>;
@@ -184,6 +190,7 @@ declare const _default: import("vue").DefineComponent<{
184
190
  isDateTime: import("vue").ComputedRef<boolean>;
185
191
  formatRef: import("vue").ComputedRef<string>;
186
192
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
193
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
187
194
  focus: () => any;
188
195
  blur: () => any;
189
196
  handleConfirm: (target: HTMLInputElement) => void;
@@ -223,6 +230,9 @@ declare const _default: import("vue").DefineComponent<{
223
230
  type: StringConstructor;
224
231
  default: string;
225
232
  };
233
+ isDateDisabled: {
234
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
235
+ };
226
236
  }>> & {
227
237
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
228
238
  }, {
@@ -158,6 +158,9 @@ export declare namespace IhoTableLowCodeField {
158
158
  type FilterSetting = Partial<{
159
159
  daterange: boolean;
160
160
  type: 'daterange' | 'text';
161
+ text: Partial<{
162
+ inputProps: AnyObject;
163
+ }>;
161
164
  }>;
162
165
  type ColorAndIconItem = Partial<{
163
166
  condition: {
@@ -176,6 +179,20 @@ export declare namespace IhoTableLowCodeField {
176
179
  colorAndIcon: ColorAndIconItem[];
177
180
  fieldDescribe: string;
178
181
  fieldDescDev: string;
182
+ showSetting: Partial<{
183
+ filter: Partial<{
184
+ con: string;
185
+ conName: string;
186
+ field_key: string;
187
+ keyword: string;
188
+ i18n: string;
189
+ key: string;
190
+ value: string;
191
+ }>[];
192
+ change_text: string;
193
+ field_key: string;
194
+ sqlExpression: string;
195
+ }>[];
179
196
  [K: string]: unknown;
180
197
  }>;
181
198
  type QueryOptions = (payload: {
@@ -1 +1 @@
1
- import{reactive as e,inject as t,unref as n,toRaw as r,normalizeStyle as i,createVNode as o}from"vue";import{jsonParse as l}from"../../../../shared/utils/index.js";import{promiseTimeout as u}from"@vueuse/shared";import{parse as a,isValid as c,compareDesc as s}from"date-fns";import{isNumber as d,isFunction as f,isString as p,isObject as m,isArray as v}from"lodash-es";import{InjectionIhoTableEmits as h,InjectionIhoTableConfig as I,IHO_TABLE_STRING_STATUS as g,IHO_TABLE_NUMBER_STATUS as E,IHO_TABLE_TREE_TYPE as T,EDITABLE_WIDGET_TYPE as w,InjectionIhoTableUUID as F}from"../constants/index.js";import{getSeparateInfo as R}from"./separateMap.js";export{deleteSeparateInfo,getSeparateInfo,setSeparateInfo}from"./separateMap.js";function S(e){return console.warn(`[IhoTable]: ${e}`)}const C=Object.freeze({getCellType(e){var t;return((null==(t=e.settingObj)?void 0:t.attr)||e.formType||"DEFAULT").toUpperCase()}});function D(){var e,n,r;const i=t(I);return i||S("this function(getRowHeight) only can be used in setup environment"),null!=(r=null==(n=null==(e=null==i?void 0:i.value)?void 0:e.rowConfig)?void 0:n.height)?r:32}function P(e){const t=e.slice(2);return`${t[0].toLowerCase()}${t.slice(1)}`}function b(e){return`on${e[0].toUpperCase()}${e.slice(1)}`}function O(t,n=!0){const r=n?e(new Map):new Map;return{uuidMap:r,getItemFromUUID:function(e){return r.get(e)||r.set(e,t()),r.get(e)},setItemFromUUID:function(e,t){r.set(e,t)},removeItemFromUUID:function(e){r.delete(e)}}}async function x(e,t,r,i,o=2){const l=function(){var o;const l=null==(o=n(i))?void 0:o.getColumnByField(e.field);if(!l)return;const u=y(l);return u?f(u.separateWidth)?u.separateWidth({column:l,row:t,rowIndex:r,$table:n(i)}):d(u.separateWidth)?u.separateWidth:l.renderWidth:l.renderWidth}();return d(l)&&l>0?l:o<=0?function(){const t=+e.colWidth;return d(t)?t:64}():(await u(0),x(e,t,r,i,o-1))}function A(e){const i=t(h);function o(){var t;const r=n(e);return{$table:r.$table,value:r.row[r.column.field],row:r.row,column:{...r.column,...null==(t=r.column.editRender)?void 0:t.props},index:r.rowIndex>-1?r.rowIndex:r.$rowIndex}}function l(e={}){i("formChange",{...o(),...r(e)})}function u(e={}){i("formClick",{...o(),...r(e)})}return{emitFormChange:function(){l()},emitFormClick:function(){u()},emitFormChangeWithParams:l,emitFormClickWithParams:u}}function y(e){var t;return null==(t=e.editRender)?void 0:t.props}const $=Object.freeze({createDefaultRenderCell:function(){return function({props:e},{row:n,column:r}){if("bottom"!==(null==e?void 0:e.separatePlacement))return c(n[r.field]);const i=t(F),l=R(i,n);if(!l)return c(n[r.field]);const{originalData:u=n,isLastRow:a}=l;return c(a?u[r.field]:null);function c(e){return[o("span",{title:j(r,e),class:"iho-table__colorAndIcon"},[e])]}}},createRenderEdit:function(e){return function({props:t},n){return e({...n,fieldItem:t||{},...A(n)})}},isEditableColumn(e,t){var n;return!1!==(null==(n=e.editConfig)?void 0:n.showIcon)&&t.editRender&&!1!==t.editRender.enabled},hasFilter(e){return this.hasDateFilter(e)||this.hasOptionFilter(e)||this.hasTextFilter(e)},hasDynamicFilter:e=>e.optionInfo&&(e.optionInfo.dynamicOptionInfo||e.optionInfo.list),hasOptionFilter(e){if(U(e))return!0;let t=e.fieldSetting;return p(t)&&(t=l(t||"")),m(t)&&((n=t).notParticipatingSearch!==g.POSITIVE&&"manual"===(null==(r=n.mapping)?void 0:r.type));var n,r},hasDateFilter(e){var t;return"daterange"===(null==(t=null==e?void 0:e.filterSetting)?void 0:t.type)},hasTextFilter(e){var t;return"text"===(null==(t=null==e?void 0:e.filterSetting)?void 0:t.type)},hasTitlePrefix(e){var t,n;return e&&((null==(t=e.titlePrefix)?void 0:t.content)||(null==(n=e.titlePrefix)?void 0:n.useHTML))}}),N=Object.freeze({isPositive:e=>e===E.POSITIVE||e===g.POSITIVE,isNegative:e=>e===E.NEGATIVE||e===g.NEGATIVE,notPositive:e=>e!==E.POSITIVE&&e!==g.POSITIVE,notNegative:e=>e!==E.NEGATIVE&&e!==g.NEGATIVE});function _(e){return[T.TRANSFORM_WITH_SPAN_METHOD,T.TRANSFORM_TREE_TYPE].includes(`${e.isTree}`)}function H(e){return p(e)&&!!e.match(/^###\{[^{}]+}$/)}function V(e){try{return JSON.parse(e.replace(/^###/,""))}catch(e){return{}}}function W(e,t){if(e.$__SEPARATE||!t.editRender||!t.editRender.props)return e[t.field];const{fieldSetting:n}=t.editRender.props;if(!p(n))return e[t.field];const{mergedFeildExpression:r}=l(n);return r&&p(r)?r.replace(/#{(.+?)}/g,(function(t,n){let r=n?e[n.trim()]:null;H(r)&&(r=V(r).change_text);return r||(null==r?"--":r)})):e[t.field]}const M=["SEARCH","SELECT","RADIO","CHECKBOX"];function U(e){return e.notParticipatingSearch===E.NEGATIVE&&M.includes(C.getCellType(e))&&v(e.options)&&e.options.length}function j(e,t=""){return"tooltip"!==e.showOverflow&&p(t)?t:""}function G(e,t){var r,i,o;t=n(t)||"";const l=null!=(i=null==(r=e.editRender)?void 0:r.props)?i:{},u=a(t,(null==(o=null==l?void 0:l.componentProps)?void 0:o.valueFormat)||"HH:mm",new Date);return!c(u)}function L(e,t,r){var i,o;const l=null!=(o=null==(i=e.editRender)?void 0:i.props)?o:{};return r=n(r)||"",!c(new Date(r))||p(l.connectField)&&t[l.connectField]&&(l.isStartDate&&s(new Date(r),new Date(t[l.connectField]))<0||l.isEndDate&&s(new Date(r),new Date(t[l.connectField]))>0)}function k(e){var t,n;return(!0===e.variableHeight||"1"===e.variableHeight)&&(null!=(n=null==(t=e.editRender)?void 0:t.name)?n:C.getCellType(e))!==w.SEPARATE}function z(e){const t=e.internalData.tableFullColumn;return!!v(t)&&t.some((e=>{var t,n;return k(null!=(n=null==(t=e.editRender)?void 0:t.props)?n:{})}))}function B(e,t){return t?e?n=>[f(e)?e(n):e,f(t)?t(n):t]:t:e}function J(e,t){return t?e?n=>i([f(e)?e(n):e,f(t)?t(n):t]):t:e}function K(e){return function({option:t,column:n,row:r}){if(e&&v(r[e])&&r[e].length)return!1;const i=r[n.field];if(v(i))return i.some((e=>[t.label,t.value].includes(e)));if(p(i)){if(i===t.value||i===t.label)return!0;const{value:e,change_text:n}=V(i);return n===t.label||e===t.value}return null!=i&&t.value===i}}export{$ as IhoTableRenderHelper,N as IhoTableStatusHelper,C as IhoTableUtils,S as IhoTableWarn,K as createIhoTableFilterMethod,P as eventListener2EventName,b as eventName2EventListener,x as getColumnRenderWidth,y as getLowCodeFieldFromField,D as getRowHeight,j as getTitle,U as isCompatibleColumn,L as isInvalidDate,G as isInvalidTime,H as isRichContent,_ as isTransformTreeType,k as isVariableHeightColumn,z as isVariableHeightTable,B as mergeVxeClass,J as mergeVxeStyle,W as parseMergeField,V as parseRichContent,A as useIhoTableFormEvent,O as useUUIDMap};
1
+ import{reactive as e,inject as t,unref as n,toRaw as r,normalizeStyle as i,createVNode as o}from"vue";import{jsonParse as l}from"../../../../shared/utils/index.js";import{promiseTimeout as u}from"@vueuse/shared";import{parse as a,isValid as c,compareDesc as s}from"date-fns";import{isNumber as d,isFunction as f,isString as p,isObject as m,isArray as v}from"lodash-es";import{InjectionIhoTableEmits as h,InjectionIhoTableConfig as g,IHO_TABLE_STRING_STATUS as I,IHO_TABLE_NUMBER_STATUS as E,IHO_TABLE_TREE_TYPE as T,EDITABLE_WIDGET_TYPE as w,InjectionIhoTableUUID as F}from"../constants/index.js";import{getSeparateInfo as R}from"./separateMap.js";export{deleteSeparateInfo,getSeparateInfo,setSeparateInfo}from"./separateMap.js";function S(e){return console.warn(`[IhoTable]: ${e}`)}const C=Object.freeze({getCellType(e){var t;return((null==(t=e.settingObj)?void 0:t.attr)||e.formType||"DEFAULT").toUpperCase()}});function b(){var e,n,r;const i=t(g);return i||S("this function(getRowHeight) only can be used in setup environment"),null!=(r=null==(n=null==(e=null==i?void 0:i.value)?void 0:e.rowConfig)?void 0:n.height)?r:32}function D(e){const t=e.slice(2);return`${t[0].toLowerCase()}${t.slice(1)}`}function O(e){return`on${e[0].toUpperCase()}${e.slice(1)}`}function P(t,n=!0){const r=n?e(new Map):new Map;return{uuidMap:r,getItemFromUUID:function(e){return r.get(e)||r.set(e,t()),r.get(e)},setItemFromUUID:function(e,t){r.set(e,t)},removeItemFromUUID:function(e){r.delete(e)}}}async function x(e,t,r,i,o=2){const l=function(){var o;const l=null==(o=n(i))?void 0:o.getColumnByField(e.field);if(!l)return;const u=y(l);return u?f(u.separateWidth)?u.separateWidth({column:l,row:t,rowIndex:r,$table:n(i)}):d(u.separateWidth)?u.separateWidth:l.renderWidth:l.renderWidth}();return d(l)&&l>0?l:o<=0?function(){const t=+e.colWidth;return d(t)?t:64}():(await u(0),x(e,t,r,i,o-1))}function A(e){const i=t(h);function o(){var t;const r=n(e);return{$table:r.$table,value:r.row[r.column.field],row:r.row,column:{...r.column,...null==(t=r.column.editRender)?void 0:t.props},index:r.rowIndex>-1?r.rowIndex:r.$rowIndex}}function l(e={}){i("formChange",{...o(),...r(e)})}function u(e={}){i("formClick",{...o(),...r(e)})}return{emitFormChange:function(){l()},emitFormClick:function(){u()},emitFormChangeWithParams:l,emitFormClickWithParams:u}}function y(e){var t;return null==(t=e.editRender)?void 0:t.props}const $=Object.freeze({createDefaultRenderCell:function(){return function({props:e},{row:n,column:r}){if("bottom"!==(null==e?void 0:e.separatePlacement))return c(n[r.field]);const i=t(F),l=R(i,n);if(!l)return c(n[r.field]);const{originalData:u=n,isLastRow:a}=l;return c(a?u[r.field]:null);function c(e){return[o("span",{title:U(r,e),class:"iho-table__colorAndIcon"},[e])]}}},createRenderEdit:function(e){return function({props:t},n){return e({...n,fieldItem:t||{},...A(n)})}},isEditableColumn(e,t){var n;return!1!==(null==(n=e.editConfig)?void 0:n.showIcon)&&t.editRender&&!1!==t.editRender.enabled},hasFilter(e){return this.hasDateFilter(e)||this.hasOptionFilter(e)||this.hasTextFilter(e)},hasDynamicFilter:e=>e.optionInfo&&(e.optionInfo.dynamicOptionInfo||e.optionInfo.list),hasOptionFilter(e){var t;if(M(e))return!0;const n=null==(t=e.settingObj)?void 0:t.showSetting;if(n&&n.length)return n.some((e=>{var t;return e.change_text&&(null==(t=e.filter)?void 0:t.length)}));let r=e.fieldSetting;return p(r)&&(r=l(r||"")),m(r)&&((i=r).notParticipatingSearch!==I.POSITIVE&&"manual"===(null==(o=i.mapping)?void 0:o.type));var i,o},hasDateFilter(e){var t;return"daterange"===(null==(t=null==e?void 0:e.filterSetting)?void 0:t.type)},hasTextFilter(e){var t;return"text"===(null==(t=null==e?void 0:e.filterSetting)?void 0:t.type)},hasTitlePrefix(e){var t,n;return e&&((null==(t=e.titlePrefix)?void 0:t.content)||(null==(n=e.titlePrefix)?void 0:n.useHTML))}}),_=Object.freeze({isPositive:e=>e===E.POSITIVE||e===I.POSITIVE,isNegative:e=>e===E.NEGATIVE||e===I.NEGATIVE,notPositive:e=>e!==E.POSITIVE&&e!==I.POSITIVE,notNegative:e=>e!==E.NEGATIVE&&e!==I.NEGATIVE});function N(e){return[T.TRANSFORM_WITH_SPAN_METHOD,T.TRANSFORM_TREE_TYPE].includes(`${e.isTree}`)}function H(e){return p(e)&&!!e.match(/^###\{[^{}]+}$/)}function V(e){try{return JSON.parse(e.replace(/^###/,""))}catch(e){return{}}}function W(e,t){if(e.$__SEPARATE||!t.editRender||!t.editRender.props)return e[t.field];const{fieldSetting:n}=t.editRender.props;if(!p(n))return e[t.field];const{mergedFeildExpression:r}=l(n);return r&&p(r)?r.replace(/#{(.+?)}/g,(function(t,n){let r=n?e[n.trim()]:null;H(r)&&(r=V(r).change_text);return r||(null==r?"--":r)})):e[t.field]}const j=["SEARCH","SELECT","RADIO","CHECKBOX"];function M(e){return e.notParticipatingSearch===E.NEGATIVE&&j.includes(C.getCellType(e))&&v(e.options)&&e.options.length}function U(e,t=""){return"tooltip"!==e.showOverflow&&p(t)?t:""}function G(e,t){var r,i,o;t=n(t)||"";const l=null!=(i=null==(r=e.editRender)?void 0:r.props)?i:{},u=a(t,(null==(o=null==l?void 0:l.componentProps)?void 0:o.valueFormat)||"HH:mm",new Date);return!c(u)}function L(e,t,r){var i,o;const l=null!=(o=null==(i=e.editRender)?void 0:i.props)?o:{};return r=n(r)||"",!c(new Date(r))||p(l.connectField)&&t[l.connectField]&&(l.isStartDate&&s(new Date(r),new Date(t[l.connectField]))<0||l.isEndDate&&s(new Date(r),new Date(t[l.connectField]))>0)}function k(e){var t,n;return(!0===e.variableHeight||"1"===e.variableHeight)&&(null!=(n=null==(t=e.editRender)?void 0:t.name)?n:C.getCellType(e))!==w.SEPARATE}function z(e){const t=e.internalData.tableFullColumn;return!!v(t)&&t.some((e=>{var t,n;return k(null!=(n=null==(t=e.editRender)?void 0:t.props)?n:{})}))}function B(e,t){return t?e?n=>[f(e)?e(n):e,f(t)?t(n):t]:t:e}function J(e,t){return t?e?n=>i([f(e)?e(n):e,f(t)?t(n):t]):t:e}function K(e){return function({option:t,column:n,row:r}){if(e&&v(r[e])&&r[e].length)return!1;const i=r[n.field];if(v(i))return i.some((e=>[t.label,t.value].includes(e)));if(p(i)){if(i===t.value||i===t.label)return!0;const{value:e,change_text:n}=V(i);return n===t.label||e===t.value}return null!=i&&t.value===i}}export{$ as IhoTableRenderHelper,_ as IhoTableStatusHelper,C as IhoTableUtils,S as IhoTableWarn,K as createIhoTableFilterMethod,D as eventListener2EventName,O as eventName2EventListener,x as getColumnRenderWidth,y as getLowCodeFieldFromField,b as getRowHeight,U as getTitle,M as isCompatibleColumn,L as isInvalidDate,G as isInvalidTime,H as isRichContent,N as isTransformTreeType,k as isVariableHeightColumn,z as isVariableHeightTable,B as mergeVxeClass,J as mergeVxeStyle,W as parseMergeField,V as parseRichContent,A as useIhoTableFormEvent,P as useUUIDMap};
@@ -1 +1 @@
1
- .iho-table{height:100%;position:relative}.iho-table i{font-style:normal}.iho-table .vxe-header--column{font-weight:400;text-shadow:0 0 1px}.iho-table .vxe-body--column.col--drag{cursor:move}.iho-table .iho-table__headerHeight.vxe-header--row .vxe-header--column{height:var(--iho-table-header-height)}.iho-table .vxe-table.size--mini{font-size:14px}.iho-table .vxe-table.size--mini .vxe-body--column:not(.col--ellipsis),.iho-table .vxe-table.size--mini .vxe-footer--column:not(.col--ellipsis),.iho-table .vxe-table.size--mini .vxe-header--column:not(.col--ellipsis){padding:4px 0}.iho-table .vxe-table.size--mini .vxe-sort--asc-btn{top:-2px}.iho-table .vxe-table.size--mini .vxe-sort--desc-btn{bottom:0}.iho-table__headerWrapper{display:inline-flex;flex-wrap:nowrap}.iho-table__boldCell{font-weight:700}.iho-table .vxe-table .vxe-table--header-wrapper,.iho-table .vxe-table.vxe-table--render-default{color:#212121}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#b2b2b2;border:3px dashed transparent;border-radius:5px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.iho-table .vxe-table--empty-content{height:100%;width:100%}.iho-table .vxe-table--empty-content>div,.iho-table .vxe-tree-cell{height:100%}.iho-table .vxe-table--header{background-color:var(--c-head-bg-color)}.iho-table .vxe-table--header .checkbox-cell--disable{border:2px solid #c0c4cc;border-radius:50%;box-sizing:border-box;cursor:not-allowed;display:inline-block;height:18px;left:-2px;position:relative;top:3px;width:18px}.iho-table .vxe-table--header .checkbox-cell--disable:before{background-color:#c0c4cc;content:"";height:16px;left:50%;position:absolute;top:-2px;transform:translate(-60%) rotate(-45deg);width:2px}.iho-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.iho-table .vxe-table--render-default .vxe-body--column.col--selected{box-shadow:inset 0 0 0 2px var(--c-primary-color)}.iho-table .vxe-table--render-default .vxe-body--row.row--hover,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--stripe{background-color:var(--c-hover-color)}.iho-table .vxe-table--render-default .vxe-body--row.row--stripe{background-color:var(--c-stripe-color)}.iho-table .vxe-table--render-default .vxe-body--row.row--checked,.iho-table .vxe-table--render-default .vxe-body--row.row--current,.iho-table .vxe-table--render-default .vxe-body--row.row--radio{background-color:var(--c-primary-color-opacity2);text-shadow:0 0 1px}.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--checked,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--current,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--radio{background-color:var(--c-primary-color-opacity3);text-shadow:0 0 1px}.iho-table .vxe-body--expanded-column,.iho-table .vxe-table--border-line{border-color:var(--c-border-color)!important}.iho-table .vxe-table--footer-wrapper{border-top-color:var(--c-border-color)!important}.iho-table .border--default .vxe-body--column,.iho-table .border--default .vxe-footer--column,.iho-table .border--default .vxe-header--column,.iho-table .border--inner .vxe-body--column,.iho-table .border--inner .vxe-footer--column,.iho-table .border--inner .vxe-header--column{background-image:linear-gradient(var(--c-border-color),var(--c-border-color))!important}.iho-table .border--full .vxe-body--column,.iho-table .border--full .vxe-footer--column,.iho-table .border--full .vxe-header--column{background-image:linear-gradient(var(--c-border-color),var(--c-border-color)),linear-gradient(var(--c-border-color),var(--c-border-color))!important}.iho-table .border--default .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--full .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--inner .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--outer .vxe-header--row:last-child .vxe-header--gutter{background-image:linear-gradient(var(--c-border-color),var(--c-border-color))!important}.iho-table .vxe-table--header-border-line{border-bottom-color:var(--c-border-color)!important}.iho-table .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)!important}.iho-table .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)!important}.iho-table .icon-dot{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.iho-table .icon-dot,.iho-table .icon-dot-red{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.iho-table .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.iho-table .icon-dot-blue,.iho-table .icon-dot-green{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.iho-table .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.iho-table .icon-dot-gray,.iho-table .icon-dot-yellow{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.iho-table .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.iho-table .icon-dot-huifu,.iho-table .icon-dot-resolved{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.iho-table .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.iho-table .icon-dot-audit,.iho-table .icon-dot-close{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.iho-table .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.iho-table .icon-dot-design,.iho-table .icon-dot-develop{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.iho-table .icon-dot-develop-complete{background:#6381f9;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .is--filter-active .vxe-cell--filter .vxe-filter--btn{color:var(--c-primary-color)}.iho-table__filterIcon{cursor:pointer;padding:0 4px}.iho-table__filterIcon:hover{opacity:.7}.iho-table__filterIcon.is-active{color:var(--c-primary-color)}.iho-table__filterTable .vxe-table--empty-placeholder{display:none!important}.iho-table__filterWrapper{display:flex;flex-direction:column;gap:8px;margin:8px 12px;width:280px}.iho-table__filterCheckAllWrapper{display:flex;justify-content:space-between}.iho-table__filterCheckAllWrapper>div{flex:1}.iho-table__filterButton{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:30px;padding:0 8px}.iho-table__filterButton--active{color:var(--c-primary-color)}.iho-table__filterButton:hover{background:rgba(0,0,0,.05)}.iho-table__filterListWrapper{border:1px solid rgba(0,0,0,.05);overflow-x:hidden}.iho-table__filterListItem{align-items:center;border-radius:4px;display:flex;padding:0 8px}.iho-table__filterListItem:hover{background:var(--c-primary-color-opacity2)}.iho-table__filterListItem .n-checkbox,.iho-table__filterListItem .n-radio{width:100%}.iho-table__filterListItem>*{padding:5px 0}.iho-table__filterListItemContent{overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:190px}.iho-table__filterFooter{display:flex;justify-content:space-between}.iho-table__time-picker{position:unset}.iho-table__time-picker .n-input{display:none}.iho-table__time-picker .v-binder-follower-container{height:auto;position:unset}.iho-table__time-picker .v-binder-follower-container .v-binder-follower-content{position:unset;transform:none!important}.iho-table__time-picker .v-binder-follower-container .v-binder-follower-content .n-time-picker-panel{box-shadow:none}.iho-table__scrollbar{margin:8px 8px 8px 0;max-height:255px}.iho-table .variable-height .vxe-cell,.iho-table .variable-height .vxe-cell--tree-node,.iho-table .variable-height .vxe-tree-cell{line-height:1.3;max-height:fit-content!important;white-space:break-spaces!important}.iho-table__selectMenu .n-scrollbar-rail__scrollbar{display:none!important}.iho-table__selectMenu .n-virtual-list::-webkit-scrollbar,.iho-table__selectMenu .n-virtual-list::-webkit-scrollbar-thumb{display:unset!important;height:6px;width:6px}.iho-table__selectMenu .n-virtual-list::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:4px}.iho-table__selectMenu .v-vl-items{min-width:100%;width:max-content}.iho-table__selectOption .n-base-select-option__content{overflow:visible!important;text-overflow:unset!important;word-break:keep-all!important}.iho-table__selectOptionWrapper{align-items:center;display:flex}.iho-select-menu-width{width:var(--iho-select-menu-width)!important}.iho-table .is--checked.vxe-checkbox,.iho-table .is--checked.vxe-checkbox .vxe-checkbox--icon,.iho-table .is--checked.vxe-custom--option,.iho-table .is--checked.vxe-custom--option .vxe-checkbox--icon,.iho-table .is--checked.vxe-export--panel-column-option,.iho-table .is--checked.vxe-export--panel-column-option .vxe-checkbox--icon,.iho-table .is--checked.vxe-table--filter-option,.iho-table .is--checked.vxe-table--filter-option .vxe-checkbox--icon,.iho-table .is--indeterminate.vxe-checkbox,.iho-table .is--indeterminate.vxe-checkbox .vxe-checkbox--icon,.iho-table .is--indeterminate.vxe-custom--option,.iho-table .is--indeterminate.vxe-custom--option .vxe-checkbox--icon,.iho-table .is--indeterminate.vxe-export--panel-column-option,.iho-table .is--indeterminate.vxe-export--panel-column-option .vxe-checkbox--icon,.iho-table .is--indeterminate.vxe-table--filter-option,.iho-table .is--indeterminate.vxe-table--filter-option .vxe-checkbox--icon,.iho-table .vxe-checkbox:not(.is--disabled):hover .vxe-checkbox--icon,.iho-table .vxe-custom--option:not(.is--disabled):hover .vxe-checkbox--icon,.iho-table .vxe-export--panel-column-option:not(.is--disabled):hover .vxe-checkbox--icon,.iho-table .vxe-table .vxe-sort--asc-btn.sort--active,.iho-table .vxe-table .vxe-sort--desc-btn.sort--active,.iho-table .vxe-table--filter-option:not(.is--disabled):hover .vxe-checkbox--icon,.iho-table .vxe-table--render-default .is--checked.vxe-cell--checkbox,.iho-table .vxe-table--render-default .is--checked.vxe-cell--checkbox .vxe-checkbox--icon,.iho-table .vxe-table--render-default .is--indeterminate.vxe-cell--checkbox,.iho-table .vxe-table--render-default .is--indeterminate.vxe-cell--checkbox .vxe-checkbox--icon,.iho-table .vxe-table--render-default .vxe-cell--checkbox:not(.is--disabled):hover .vxe-checkbox--icon{color:var(--c-primary-color)}.iho-table .vxe-header--column [annotation-hover-show=true]{visibility:hidden}.iho-table .vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}@font-face{font-family:iho-table-iconfont;src:url(iconfont.ttf) format("truetype")}.iho-table .iho-table--iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iho-table-iconfont!important;font-size:15px;font-style:normal}.iho-table .iho-table-icon-filter{display:inline-block;font-size:17px;transform:translateY(-1px);vertical-align:middle}.iho-table .iho-table-icon-filter:before{content:"\c2001"}.iho-table .iho-table-icon-date-filter{display:inline-block;transform:translateY(-1px)}.iho-table .iho-table-icon-date-filter:before{content:"\c2002"}.iho-table .row--custom{background-color:var(--row-background-color)}.iho-table__colorAndIcon{background-color:var(--color-and-icon-background-color-type);color:var(--color-and-icon-color-type)}.iho-table__htmlRender *{display:inline!important}.iho-table__ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iho-table .vxe-grid[vertical] .vxe-table--header-wrapper.body--wrapper{background:transparent}.iho-table .vxe-grid[vertical] .vxe-cell{min-height:var(--iho-table-vertical-table-min-height,unset)}.iho-table__pagerScrollWrapper{background:#fff;height:30px;overflow:auto;position:absolute;right:1px;width:9px;z-index:3000}.iho-table__pagerScrollWrapper::-webkit-scrollbar{background-color:transparent;height:8px;width:8px}.iho-table__pagerScrollWrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#b2b2b2;border:2px dashed transparent;border-radius:5px}.iho-table__pagerScrollWrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.iho-table--fixed-left,.iho-table--fixed-right{position:sticky!important;width:calc(var(--iho-table-fixed-width)*1px);z-index:5}.iho-table--fixed-left.vxe-header--column .vxe-resizable.is--line:before,.iho-table--fixed-right.vxe-header--column .vxe-resizable.is--line:before{width:2px}.iho-table--fixed-left{left:calc(var(--iho-table-fixed-left)*1px + 1px)}.iho-table--fixed-right.vxe-header--column{right:calc(var(--iho-table-fixed-right)*1px + var(--c-scrollbar-width))}.iho-table--fixed-right.vxe-body--column{right:calc(var(--iho-table-fixed-right)*1px)}.iho-table tr:not(.row--current,.row--hover,.row--checked,.row--radio) .iho-table--fixed-left.vxe-body--column,.iho-table tr:not(.row--current,.row--hover,.row--checked,.row--radio) .iho-table--fixed-right.vxe-body--column{background-color:#fff}.iho-table tr:not(.row--current,.row--hover,.row--checked,.row--radio) .iho-table--fixed-left.vxe-header--column,.iho-table tr:not(.row--current,.row--hover,.row--checked,.row--radio) .iho-table--fixed-right.vxe-header--column{background-color:var(--c-head-bg-color)}.iho-table tr.row--hover .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--hover.row--stripe .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover.row--stripe .iho-table--fixed-right.vxe-body--column{background-color:var(--c-hover-color)}.iho-table tr.row--stripe .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--stripe .iho-table--fixed-right.vxe-body--column{background-color:var(--c-stripe-color)}.iho-table tr.row--checked .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--checked .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--current .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--current .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--radio .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--radio .iho-table--fixed-right.vxe-body--column{background-color:var(--c-primary-color-opacity2)}.iho-table tr.row--hover.row--checked .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover.row--checked .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--hover.row--current .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover.row--current .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--hover.row--radio .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover.row--radio .iho-table--fixed-right.vxe-body--column{background-color:var(--c-primary-color-opacity3)}.iho-table__fixedLeftBorderLeft{border-left:1px solid var(--c-border-color);height:calc(100% - 8px);left:0;overflow:hidden;position:absolute;width:0;z-index:5}.iho-table__fixedLeftShadow{height:calc(100% - 8px);position:absolute;top:0;width:3px;z-index:5}.iho-table__fixedLeftShadow.scrolling--middle{box-shadow:4px 3px 4px 0 rgba(0,0,0,.12)}.iho-table__fixedLeftBorderTop{background:var(--c-border-color);height:1px;left:0;position:absolute;top:0;z-index:6}.iho-table__fixedRightBorderLeft{border-left:1px solid var(--c-border-color);height:calc(100% - 8px);overflow:hidden;position:absolute;top:0;width:3px;z-index:5}.iho-table__fixedRightBorderLeft.scrolling--middle{box-shadow:-4px 3px 4px 0 rgba(0,0,0,.12)}.iho-table__fixedRightBorderTop{background:var(--c-border-color);height:1px;position:absolute;right:0;top:0;z-index:6}.iho-table__fixedRightBorderTop:after{background:var(--c-head-bg-color);content:"";height:var(--c-header-height);position:absolute;right:1px;top:1px;width:calc(var(--c-scrollbar-width) - 1px)}
1
+ .iho-table{height:100%;position:relative}.iho-table i{font-style:normal}.iho-table .vxe-header--column{font-weight:400;text-shadow:0 0 1px}.iho-table .vxe-body--column.col--drag{cursor:move}.iho-table .iho-table__headerHeight.vxe-header--row .vxe-header--column{height:var(--iho-table-header-height)}.iho-table .vxe-table.size--mini{font-size:14px}.iho-table .vxe-table.size--mini .vxe-body--column:not(.col--ellipsis),.iho-table .vxe-table.size--mini .vxe-footer--column:not(.col--ellipsis),.iho-table .vxe-table.size--mini .vxe-header--column:not(.col--ellipsis){padding:4px 0}.iho-table .vxe-table.size--mini .vxe-sort--asc-btn{top:-2px}.iho-table .vxe-table.size--mini .vxe-sort--desc-btn{bottom:0}.iho-table__headerWrapper{display:inline-flex;flex-wrap:nowrap}.iho-table__boldCell{font-weight:700}.iho-table .vxe-table .vxe-table--header-wrapper,.iho-table .vxe-table.vxe-table--render-default{color:#212121}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#b2b2b2;border:3px dashed transparent;border-radius:5px}.iho-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.iho-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.iho-table .vxe-table--empty-content{height:100%;width:100%}.iho-table .vxe-table--empty-content>div,.iho-table .vxe-tree-cell{height:100%}.iho-table .vxe-table--header{background-color:var(--c-head-bg-color)}.iho-table .vxe-table--header .checkbox-cell--disable{border:2px solid #c0c4cc;border-radius:50%;box-sizing:border-box;cursor:not-allowed;display:inline-block;height:18px;left:-2px;position:relative;top:3px;width:18px}.iho-table .vxe-table--header .checkbox-cell--disable:before{background-color:#c0c4cc;content:"";height:16px;left:50%;position:absolute;top:-2px;transform:translate(-60%) rotate(-45deg);width:2px}.iho-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.iho-table .vxe-table--render-default .vxe-body--column.col--selected{box-shadow:inset 0 0 0 2px var(--c-primary-color)}.iho-table .vxe-table--render-default .vxe-body--row.row--hover,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--stripe{background-color:var(--c-hover-color)}.iho-table .vxe-table--render-default .vxe-body--row.row--stripe{background-color:var(--c-stripe-color)}.iho-table .vxe-table--render-default .vxe-body--row.row--checked,.iho-table .vxe-table--render-default .vxe-body--row.row--current,.iho-table .vxe-table--render-default .vxe-body--row.row--radio{background-color:var(--c-primary-color-opacity2);text-shadow:0 0 1px}.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--checked,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--current,.iho-table .vxe-table--render-default .vxe-body--row.row--hover.row--radio{background-color:var(--c-primary-color-opacity3);text-shadow:0 0 1px}.iho-table .vxe-body--expanded-column,.iho-table .vxe-table--border-line{border-color:var(--c-border-color)!important}.iho-table .vxe-table--footer-wrapper{border-top-color:var(--c-border-color)!important}.iho-table .border--default .vxe-body--column,.iho-table .border--default .vxe-footer--column,.iho-table .border--default .vxe-header--column,.iho-table .border--inner .vxe-body--column,.iho-table .border--inner .vxe-footer--column,.iho-table .border--inner .vxe-header--column{background-image:linear-gradient(var(--c-border-color),var(--c-border-color))!important}.iho-table .border--full .vxe-body--column,.iho-table .border--full .vxe-footer--column,.iho-table .border--full .vxe-header--column{background-image:linear-gradient(var(--c-border-color),var(--c-border-color)),linear-gradient(var(--c-border-color),var(--c-border-color))!important}.iho-table .border--default .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--full .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--inner .vxe-header--row:last-child .vxe-header--gutter,.iho-table .border--outer .vxe-header--row:last-child .vxe-header--gutter{background-image:linear-gradient(var(--c-border-color),var(--c-border-color))!important}.iho-table .vxe-table--header-border-line{border-bottom-color:var(--c-border-color)!important}.iho-table .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)!important}.iho-table .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)!important}.iho-table .icon-dot{background:var(--table-icon-color);box-shadow:0 2px 4px 0 var(--table-icon-shadow)}.iho-table .icon-dot,.iho-table .icon-dot-red{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-red{background:red;box-shadow:0 2px 4px 0 rgba(255,0,0,.5)}.iho-table .icon-dot-blue{background:blue;box-shadow:0 2px 4px 0 rgba(0,0,255,.5)}.iho-table .icon-dot-blue,.iho-table .icon-dot-green{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-green{background:green;box-shadow:0 2px 4px 0 rgba(0,128,0,.5)}.iho-table .icon-dot-gray{background:gray;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5)}.iho-table .icon-dot-gray,.iho-table .icon-dot-yellow{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-yellow{background:#ff0;box-shadow:0 2px 4px 0 rgba(255,255,0,.5)}.iho-table .icon-dot-resolved{background:#36be8c;box-shadow:0 2px 4px 0 rgba(54,190,140,.5)}.iho-table .icon-dot-huifu,.iho-table .icon-dot-resolved{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-huifu{background:#42d0f6;box-shadow:0 2px 4px 0 rgba(66,208,246,.5)}.iho-table .icon-dot-close{background:#718391;box-shadow:0 2px 4px 0 rgba(113,131,145,.5)}.iho-table .icon-dot-audit,.iho-table .icon-dot-close{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-audit{background:#f4ba32;box-shadow:0 2px 4px 0 rgba(244,186,50,.5)}.iho-table .icon-dot-design{background:#927ce1;box-shadow:0 2px 4px 0 rgba(146,124,225,.5)}.iho-table .icon-dot-design,.iho-table .icon-dot-develop{border-radius:50%;display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .icon-dot-develop{background:#4eb0ef;box-shadow:0 2px 4px 0 rgba(78,176,239,.5)}.iho-table .icon-dot-develop-complete{background:#6381f9;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.iho-table .is--filter-active .vxe-cell--filter .vxe-filter--btn{color:var(--c-primary-color)}.iho-table__filterIcon{cursor:pointer;padding:0 4px}.iho-table__filterIcon:hover{opacity:.7}.iho-table__filterIcon.is-active{color:var(--c-primary-color)}.iho-table__filterTable .vxe-table--empty-placeholder{display:none!important}.iho-table__filterWrapper{display:flex;flex-direction:column;gap:8px;margin:8px 12px;min-width:280px}.iho-table__filterCheckAllWrapper{display:flex;justify-content:space-between}.iho-table__filterCheckAllWrapper>div{flex:1}.iho-table__filterButton{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:30px;padding:0 8px}.iho-table__filterButton--active{color:var(--c-primary-color)}.iho-table__filterButton:hover{background:rgba(0,0,0,.05)}.iho-table__filterListWrapper{border:1px solid rgba(0,0,0,.05);overflow-x:hidden}.iho-table__filterListItem{align-items:center;border-radius:4px;display:flex;padding:0 8px}.iho-table__filterListItem:hover{background:var(--c-primary-color-opacity2)}.iho-table__filterListItem .n-checkbox,.iho-table__filterListItem .n-radio{width:100%}.iho-table__filterListItem>*{padding:5px 0}.iho-table__filterListItemContent{overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:190px}.iho-table__filterFooter{display:flex;gap:8px;justify-content:space-between}.iho-table__time-picker{position:unset}.iho-table__time-picker .n-input{display:none}.iho-table__time-picker .v-binder-follower-container{height:auto;position:unset}.iho-table__time-picker .v-binder-follower-container .v-binder-follower-content{position:unset;transform:none!important}.iho-table__time-picker .v-binder-follower-container .v-binder-follower-content .n-time-picker-panel{box-shadow:none}.iho-table__scrollbar{margin:8px 8px 8px 0;max-height:255px}.iho-table .variable-height .vxe-cell,.iho-table .variable-height .vxe-cell--tree-node,.iho-table .variable-height .vxe-tree-cell{line-height:1.3;max-height:fit-content!important;white-space:break-spaces!important}.iho-table__selectMenu .n-scrollbar-rail__scrollbar{display:none!important}.iho-table__selectMenu .n-virtual-list::-webkit-scrollbar,.iho-table__selectMenu .n-virtual-list::-webkit-scrollbar-thumb{display:unset!important;height:6px;width:6px}.iho-table__selectMenu .n-virtual-list::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:4px}.iho-table__selectMenu .v-vl-items{min-width:100%;width:max-content}.iho-table__selectOption .n-base-select-option__content{overflow:visible!important;text-overflow:unset!important;word-break:keep-all!important}.iho-table__selectOptionWrapper{align-items:center;display:flex}.iho-select-menu-width{width:var(--iho-select-menu-width)!important}.iho-table .is--checked.vxe-checkbox,.iho-table .is--checked.vxe-checkbox .vxe-checkbox--icon,.iho-table .is--checked.vxe-custom--option,.iho-table .is--checked.vxe-custom--option .vxe-checkbox--icon,.iho-table .is--checked.vxe-export--panel-column-option,.iho-table .is--checked.vxe-export--panel-column-option .vxe-checkbox--icon,.iho-table .is--checked.vxe-table--filter-option,.iho-table .is--checked.vxe-table--filter-option .vxe-checkbox--icon,.iho-table .is--indeterminate.vxe-checkbox,.iho-table .is--indeterminate.vxe-checkbox .vxe-checkbox--icon,.iho-table .is--indeterminate.vxe-custom--option,.iho-table .is--indeterminate.vxe-custom--option .vxe-checkbox--icon,.iho-table .is--indeterminate.vxe-export--panel-column-option,.iho-table .is--indeterminate.vxe-export--panel-column-option .vxe-checkbox--icon,.iho-table .is--indeterminate.vxe-table--filter-option,.iho-table .is--indeterminate.vxe-table--filter-option .vxe-checkbox--icon,.iho-table .vxe-checkbox:not(.is--disabled):hover .vxe-checkbox--icon,.iho-table .vxe-custom--option:not(.is--disabled):hover .vxe-checkbox--icon,.iho-table .vxe-export--panel-column-option:not(.is--disabled):hover .vxe-checkbox--icon,.iho-table .vxe-table .vxe-sort--asc-btn.sort--active,.iho-table .vxe-table .vxe-sort--desc-btn.sort--active,.iho-table .vxe-table--filter-option:not(.is--disabled):hover .vxe-checkbox--icon,.iho-table .vxe-table--render-default .is--checked.vxe-cell--checkbox,.iho-table .vxe-table--render-default .is--checked.vxe-cell--checkbox .vxe-checkbox--icon,.iho-table .vxe-table--render-default .is--indeterminate.vxe-cell--checkbox,.iho-table .vxe-table--render-default .is--indeterminate.vxe-cell--checkbox .vxe-checkbox--icon,.iho-table .vxe-table--render-default .vxe-cell--checkbox:not(.is--disabled):hover .vxe-checkbox--icon{color:var(--c-primary-color)}.iho-table .vxe-header--column [annotation-hover-show=true]{visibility:hidden}.iho-table .vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}@font-face{font-family:iho-table-iconfont;src:url(iconfont.ttf) format("truetype")}.iho-table .iho-table--iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iho-table-iconfont!important;font-size:15px;font-style:normal}.iho-table .iho-table-icon-filter{display:inline-block;font-size:17px;transform:translateY(-1px);vertical-align:middle}.iho-table .iho-table-icon-filter:before{content:"\c2001"}.iho-table .iho-table-icon-date-filter{display:inline-block;transform:translateY(-1px)}.iho-table .iho-table-icon-date-filter:before{content:"\c2002"}.iho-table .row--custom{background-color:var(--row-background-color)}.iho-table__colorAndIcon{background-color:var(--color-and-icon-background-color-type);color:var(--color-and-icon-color-type)}.iho-table__htmlRender *{display:inline!important}.iho-table__ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iho-table .vxe-grid[vertical] .vxe-table--header-wrapper.body--wrapper{background:transparent}.iho-table .vxe-grid[vertical] .vxe-cell{min-height:var(--iho-table-vertical-table-min-height,unset)}.iho-table__pagerScrollWrapper{background:#fff;height:30px;overflow:auto;position:absolute;right:1px;width:9px;z-index:3000}.iho-table__pagerScrollWrapper::-webkit-scrollbar{background-color:transparent;height:8px;width:8px}.iho-table__pagerScrollWrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#b2b2b2;border:2px dashed transparent;border-radius:5px}.iho-table__pagerScrollWrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.iho-table--fixed-left,.iho-table--fixed-right{position:sticky!important;width:calc(var(--iho-table-fixed-width)*1px);z-index:5}.iho-table--fixed-left.vxe-header--column .vxe-resizable.is--line:before,.iho-table--fixed-right.vxe-header--column .vxe-resizable.is--line:before{width:2px}.iho-table--fixed-left{left:calc(var(--iho-table-fixed-left)*1px + 1px)}.iho-table--fixed-right.vxe-header--column{right:calc(var(--iho-table-fixed-right)*1px + var(--c-scrollbar-width))}.iho-table--fixed-right.vxe-body--column{right:calc(var(--iho-table-fixed-right)*1px)}.iho-table tr:not(.row--current,.row--hover,.row--checked,.row--radio) .iho-table--fixed-left.vxe-body--column,.iho-table tr:not(.row--current,.row--hover,.row--checked,.row--radio) .iho-table--fixed-right.vxe-body--column{background-color:#fff}.iho-table tr:not(.row--current,.row--hover,.row--checked,.row--radio) .iho-table--fixed-left.vxe-header--column,.iho-table tr:not(.row--current,.row--hover,.row--checked,.row--radio) .iho-table--fixed-right.vxe-header--column{background-color:var(--c-head-bg-color)}.iho-table tr.row--hover .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--hover.row--stripe .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover.row--stripe .iho-table--fixed-right.vxe-body--column{background-color:var(--c-hover-color)}.iho-table tr.row--stripe .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--stripe .iho-table--fixed-right.vxe-body--column{background-color:var(--c-stripe-color)}.iho-table tr.row--checked .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--checked .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--current .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--current .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--radio .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--radio .iho-table--fixed-right.vxe-body--column{background-color:var(--c-primary-color-opacity2)}.iho-table tr.row--hover.row--checked .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover.row--checked .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--hover.row--current .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover.row--current .iho-table--fixed-right.vxe-body--column,.iho-table tr.row--hover.row--radio .iho-table--fixed-left.vxe-body--column,.iho-table tr.row--hover.row--radio .iho-table--fixed-right.vxe-body--column{background-color:var(--c-primary-color-opacity3)}.iho-table__fixedLeftBorderLeft{border-left:1px solid var(--c-border-color);height:calc(100% - 8px);left:0;overflow:hidden;position:absolute;width:0;z-index:5}.iho-table__fixedLeftShadow{height:calc(100% - 8px);position:absolute;top:0;width:3px;z-index:5}.iho-table__fixedLeftShadow.scrolling--middle{box-shadow:4px 3px 4px 0 rgba(0,0,0,.12)}.iho-table__fixedLeftBorderTop{background:var(--c-border-color);height:1px;left:0;position:absolute;top:0;z-index:6}.iho-table__fixedRightBorderLeft{border-left:1px solid var(--c-border-color);height:calc(100% - 8px);overflow:hidden;position:absolute;top:0;width:3px;z-index:5}.iho-table__fixedRightBorderLeft.scrolling--middle{box-shadow:-4px 3px 4px 0 rgba(0,0,0,.12)}.iho-table__fixedRightBorderTop{background:var(--c-border-color);height:1px;position:absolute;right:0;top:0;z-index:6}.iho-table__fixedRightBorderTop:after{background:var(--c-head-bg-color);content:"";height:var(--c-header-height);position:absolute;right:1px;top:1px;width:calc(var(--c-scrollbar-width) - 1px)}