cnhis-design-vue 3.1.56-release.2 → 3.1.57-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/es/components/audio-sdk/src/audioSDK.js +1 -1
  2. package/es/components/button-print/src/utils/print.d.ts +3 -0
  3. package/es/components/button-print/src/utils/print.js +1 -1
  4. package/es/components/classification/index.d.ts +19 -16
  5. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  6. package/es/components/classification/src/components/set-classification/index.vue.d.ts +0 -15
  7. package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -15
  8. package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
  9. package/es/components/classification/src/index.vue.d.ts +45 -38
  10. package/es/components/classification/src/index.vue2.js +1 -1
  11. package/es/components/classification/style/index.css +1 -1
  12. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  13. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  15. package/es/components/form-config/index.d.ts +9 -7
  16. package/es/components/form-config/src/FormConfig.vue.d.ts +9 -7
  17. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -3
  18. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -0
  19. package/es/components/form-render/src/components/renderer/switch.d.ts +16 -2
  20. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  21. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +1 -1
  22. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  23. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  24. package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
  25. package/es/components/form-render/src/types/fieldItem.d.ts +3 -8
  26. package/es/components/iho-table/src/constants/index.d.ts +1 -0
  27. package/es/components/iho-table/src/constants/index.js +1 -1
  28. package/es/components/iho-table/src/plugins/index.js +1 -1
  29. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +48 -10
  30. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
  31. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/radioRendererPlugin.js +1 -1
  32. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/switchRendererPlugin.d.ts +1 -0
  33. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/switchRendererPlugin.js +1 -0
  34. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
  35. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  36. package/es/components/iho-table/src/types/index.d.ts +3 -0
  37. package/es/components/index.css +1 -1
  38. package/es/components/shortcut-setter/index.d.ts +1 -1
  39. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
  40. package/es/components/table-filter/src/types/index.d.ts +3 -1
  41. package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +1 -1
  42. package/es/shared/hooks/selectHooks/useSelectRenders.js +1 -1
  43. package/es/shared/package.json.js +1 -1
  44. package/es/shared/types/business.d.ts +6 -0
  45. package/package.json +2 -2
@@ -1,5 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { IClassifyListType, ITreeDataType, IConditionMapType, IClassifyItemType } from '../../../components/table-filter/src/types';
3
+ import { AnyObject } from '../../../shared/types';
3
4
  declare const _default: import("vue").DefineComponent<{
4
5
  tableId: {
5
6
  type: StringConstructor;
@@ -44,6 +45,10 @@ declare const _default: import("vue").DefineComponent<{
44
45
  type: ObjectConstructor;
45
46
  default: () => {};
46
47
  };
48
+ condiTionDigital: {
49
+ type: ObjectConstructor;
50
+ default: () => {};
51
+ };
47
52
  filterType: {
48
53
  type: StringConstructor;
49
54
  default: string;
@@ -97,6 +102,10 @@ declare const _default: import("vue").DefineComponent<{
97
102
  type: ObjectConstructor;
98
103
  default: () => {};
99
104
  };
105
+ condiTionDigital: {
106
+ type: ObjectConstructor;
107
+ default: () => {};
108
+ };
100
109
  filterType: {
101
110
  type: StringConstructor;
102
111
  default: string;
@@ -111,9 +120,11 @@ declare const _default: import("vue").DefineComponent<{
111
120
  classificationWidth: import("vue").Ref<number>;
112
121
  selectShow: import("vue").Ref<boolean>;
113
122
  treeData: import("vue").Ref<{
123
+ [x: string]: any;
114
124
  name: string;
115
- sid?: string | undefined;
125
+ sid: string;
116
126
  children: {
127
+ [x: string]: any;
117
128
  displayCategory: string;
118
129
  isDefault: boolean;
119
130
  isEdit: boolean;
@@ -137,6 +148,7 @@ declare const _default: import("vue").DefineComponent<{
137
148
  selected?: boolean | undefined;
138
149
  }[]>;
139
150
  conditionLists: import("vue").Ref<{
151
+ [x: string]: any;
140
152
  displayCategory: string;
141
153
  isDefault: boolean;
142
154
  isEdit: boolean;
@@ -156,6 +168,7 @@ declare const _default: import("vue").DefineComponent<{
156
168
  from?: string | undefined;
157
169
  }[]>;
158
170
  originConditionList: import("vue").Ref<{
171
+ [x: string]: any;
159
172
  displayCategory: string;
160
173
  isDefault: boolean;
161
174
  isEdit: boolean;
@@ -212,6 +225,7 @@ declare const _default: import("vue").DefineComponent<{
212
225
  handleGetTableCondiTionList: (first?: boolean, conditionMapVal?: {}) => Promise<unknown>;
213
226
  getTableCondiTionListNew: (tableIdVal: any) => Promise<any>;
214
227
  fmtChildName: (name: string, isPublic?: string) => string;
228
+ mergeDigitalMapToTreeData: (list: any[], digitalObj: AnyObject) => void;
215
229
  NIcon: any;
216
230
  NTooltip: any;
217
231
  SettingsOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -264,7 +278,7 @@ declare const _default: import("vue").DefineComponent<{
264
278
  newSearchFieldList: any;
265
279
  saveLoading: import("vue").Ref<boolean>;
266
280
  searchFilter: any;
267
- filterApiConfig: import("../..").AnyObject;
281
+ filterApiConfig: AnyObject;
268
282
  attrs: {
269
283
  [x: string]: unknown;
270
284
  };
@@ -318,12 +332,6 @@ declare const _default: import("vue").DefineComponent<{
318
332
  default: () => HTMLElement;
319
333
  };
320
334
  }, {
321
- instance: import("axios").AxiosInstance;
322
- attrs: {
323
- [x: string]: unknown;
324
- };
325
- $message: import("naive-ui").MessageApi;
326
- $dialog: import("naive-ui").DialogApi;
327
335
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
328
336
  visibleIn: {
329
337
  type: BooleanConstructor;
@@ -368,7 +376,6 @@ declare const _default: import("vue").DefineComponent<{
368
376
  onFinishSubmit?: ((...args: any[]) => any) | undefined;
369
377
  }>>;
370
378
  emits: (event: "close" | "handleOk" | "resetPopconfirm" | "finishSubmit", ...args: any[]) => void;
371
- isAdmin: import("vue").ComputedRef<unknown>;
372
379
  homeList: any;
373
380
  visible: import("vue").Ref<boolean>;
374
381
  isChangeWindow: import("vue").Ref<boolean>;
@@ -376,23 +383,15 @@ declare const _default: import("vue").DefineComponent<{
376
383
  modalHeight: import("vue").Ref<string>;
377
384
  isShowResetButton: boolean;
378
385
  handleOk: () => void;
379
- rinkTo: () => void;
380
386
  close: () => void;
381
387
  resetChangeWindow: () => void;
382
388
  clickli: (item: IClassifyListType) => void;
383
389
  clickChecked: (item: IClassifyListType) => void;
384
390
  changeSwitch: (item: IClassifyListType) => void;
385
- changecommonSwitch: (item: IClassifyListType) => void;
386
391
  formatParams: (type: string) => {
387
392
  id: string;
388
393
  tableId: string;
389
394
  setting: string;
390
- type?: undefined;
391
- } | {
392
- type: string;
393
- tableId: string;
394
- setting: string;
395
- id?: undefined;
396
395
  } | undefined;
397
396
  changeModalWindow: () => void;
398
397
  popconfirm: (e: any) => void;
@@ -700,6 +699,9 @@ declare const _default: import("vue").DefineComponent<{
700
699
  handleInitConditions: () => Promise<void>;
701
700
  validate: () => Promise<unknown>;
702
701
  saveAdd: () => void;
702
+ /**
703
+ * 改变展示方式
704
+ */
703
705
  cancelSaveAdd: () => void;
704
706
  checkActionList: () => boolean;
705
707
  NSpin: any;
@@ -808,7 +810,7 @@ declare const _default: import("vue").DefineComponent<{
808
810
  isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
809
811
  isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
810
812
  };
811
- CDatePicker: import("../..").SFCWithInstall<import("vue").DefineComponent<{
813
+ CDatePicker: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
812
814
  updateUnchangedValue: {
813
815
  type: BooleanConstructor;
814
816
  };
@@ -848,7 +850,7 @@ declare const _default: import("vue").DefineComponent<{
848
850
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
849
851
  }>>;
850
852
  emit: (event: "update:formatted-value", ...args: any[]) => void;
851
- datePickerRef: import("vue").Ref<import("../..").AnyObject | null>;
853
+ datePickerRef: import("vue").Ref<AnyObject | null>;
852
854
  panelInstRef: import("vue").Ref<null>;
853
855
  placeholderRef: import("vue").Ref<any>;
854
856
  currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
@@ -1114,8 +1116,8 @@ declare const _default: import("vue").DefineComponent<{
1114
1116
  getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
1115
1117
  emit: (event: "update:modelValue", ...args: any[]) => void;
1116
1118
  isLoading: import("vue").Ref<boolean>;
1117
- filterApiConfig: import("../..").AnyObject;
1118
- classifyFilterList: import("vue").Ref<import("../..").AnyObject[]>;
1119
+ filterApiConfig: AnyObject;
1120
+ classifyFilterList: import("vue").Ref<AnyObject[]>;
1119
1121
  totalPage: import("vue").Ref<number>;
1120
1122
  menuProps: {
1121
1123
  class: string;
@@ -1147,15 +1149,15 @@ declare const _default: import("vue").DefineComponent<{
1147
1149
  NSelect: any;
1148
1150
  SelectDynamicOption: import("vue").DefineComponent<{
1149
1151
  dynamicOptionInfo: {
1150
- type: PropType<import("../..").AnyObject>;
1152
+ type: PropType<AnyObject>;
1151
1153
  default: () => {};
1152
1154
  };
1153
1155
  fieldTitleList: {
1154
- type: PropType<import("../..").AnyObject[]>;
1156
+ type: PropType<AnyObject[]>;
1155
1157
  default: () => never[];
1156
1158
  };
1157
1159
  optionList: {
1158
- type: PropType<import("../..").AnyObject[]>;
1160
+ type: PropType<AnyObject[]>;
1159
1161
  default: () => never[];
1160
1162
  };
1161
1163
  isMultiple: {
@@ -1182,15 +1184,15 @@ declare const _default: import("vue").DefineComponent<{
1182
1184
  selectMinWidth: number;
1183
1185
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1184
1186
  dynamicOptionInfo: {
1185
- type: PropType<import("../..").AnyObject>;
1187
+ type: PropType<AnyObject>;
1186
1188
  default: () => {};
1187
1189
  };
1188
1190
  fieldTitleList: {
1189
- type: PropType<import("../..").AnyObject[]>;
1191
+ type: PropType<AnyObject[]>;
1190
1192
  default: () => never[];
1191
1193
  };
1192
1194
  optionList: {
1193
- type: PropType<import("../..").AnyObject[]>;
1195
+ type: PropType<AnyObject[]>;
1194
1196
  default: () => never[];
1195
1197
  };
1196
1198
  isMultiple: {
@@ -1270,15 +1272,15 @@ declare const _default: import("vue").DefineComponent<{
1270
1272
  ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1271
1273
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1272
1274
  dynamicOptionInfo: {
1273
- type: PropType<import("../..").AnyObject>;
1275
+ type: PropType<AnyObject>;
1274
1276
  default: () => {};
1275
1277
  };
1276
1278
  fieldTitleList: {
1277
- type: PropType<import("../..").AnyObject[]>;
1279
+ type: PropType<AnyObject[]>;
1278
1280
  default: () => never[];
1279
1281
  };
1280
1282
  optionList: {
1281
- type: PropType<import("../..").AnyObject[]>;
1283
+ type: PropType<AnyObject[]>;
1282
1284
  default: () => never[];
1283
1285
  };
1284
1286
  isMultiple: {
@@ -1306,9 +1308,9 @@ declare const _default: import("vue").DefineComponent<{
1306
1308
  onUpdatePage?: ((...args: any[]) => any) | undefined;
1307
1309
  }, {
1308
1310
  loading: boolean;
1309
- dynamicOptionInfo: import("../..").AnyObject;
1310
- fieldTitleList: import("../..").AnyObject[];
1311
- optionList: import("../..").AnyObject[];
1311
+ dynamicOptionInfo: AnyObject;
1312
+ fieldTitleList: AnyObject[];
1313
+ optionList: AnyObject[];
1312
1314
  isMultiple: boolean;
1313
1315
  curPage: number;
1314
1316
  isLastPage: boolean;
@@ -1449,7 +1451,7 @@ declare const _default: import("vue").DefineComponent<{
1449
1451
  };
1450
1452
  NSelect: any;
1451
1453
  NPopover: any;
1452
- CDatePicker: import("../..").SFCWithInstall<import("vue").DefineComponent<{
1454
+ CDatePicker: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
1453
1455
  updateUnchangedValue: {
1454
1456
  type: BooleanConstructor;
1455
1457
  };
@@ -1489,7 +1491,7 @@ declare const _default: import("vue").DefineComponent<{
1489
1491
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1490
1492
  }>>;
1491
1493
  emit: (event: "update:formatted-value", ...args: any[]) => void;
1492
- datePickerRef: import("vue").Ref<import("../..").AnyObject | null>;
1494
+ datePickerRef: import("vue").Ref<AnyObject | null>;
1493
1495
  panelInstRef: import("vue").Ref<null>;
1494
1496
  placeholderRef: import("vue").Ref<any>;
1495
1497
  currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
@@ -1602,7 +1604,7 @@ declare const _default: import("vue").DefineComponent<{
1602
1604
  }>>;
1603
1605
  emit: (event: "update:modelValue", ...args: any[]) => void;
1604
1606
  tagList: import("vue").Ref<never[]>;
1605
- filterApiConfig: import("../..").AnyObject;
1607
+ filterApiConfig: AnyObject;
1606
1608
  valueCp: import("vue").WritableComputedRef<string[]>;
1607
1609
  optionList: import("vue").ComputedRef<import("naive-ui").SelectOption[]>;
1608
1610
  initTagList: () => Promise<void>;
@@ -1896,7 +1898,7 @@ declare const _default: import("vue").DefineComponent<{
1896
1898
  dateType: any;
1897
1899
  valueFormat: import("vue").ComputedRef<string>;
1898
1900
  compType: import("vue").ComputedRef<any>;
1899
- CDatePicker: import("../..").SFCWithInstall<import("vue").DefineComponent<{
1901
+ CDatePicker: import("../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
1900
1902
  updateUnchangedValue: {
1901
1903
  type: BooleanConstructor;
1902
1904
  };
@@ -1936,7 +1938,7 @@ declare const _default: import("vue").DefineComponent<{
1936
1938
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1937
1939
  }>>;
1938
1940
  emit: (event: "update:formatted-value", ...args: any[]) => void;
1939
- datePickerRef: import("vue").Ref<import("../..").AnyObject | null>;
1941
+ datePickerRef: import("vue").Ref<AnyObject | null>;
1940
1942
  panelInstRef: import("vue").Ref<null>;
1941
1943
  placeholderRef: import("vue").Ref<any>;
1942
1944
  currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
@@ -2277,6 +2279,10 @@ declare const _default: import("vue").DefineComponent<{
2277
2279
  type: ObjectConstructor;
2278
2280
  default: () => {};
2279
2281
  };
2282
+ condiTionDigital: {
2283
+ type: ObjectConstructor;
2284
+ default: () => {};
2285
+ };
2280
2286
  filterType: {
2281
2287
  type: StringConstructor;
2282
2288
  default: string;
@@ -2296,6 +2302,7 @@ declare const _default: import("vue").DefineComponent<{
2296
2302
  hideConditionChangeSetting: number;
2297
2303
  hideClearConditionChange: number;
2298
2304
  isShowResetButton: boolean;
2305
+ condiTionDigital: Record<string, any>;
2299
2306
  filterType: string;
2300
2307
  }>;
2301
2308
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as e,useAttrs as i,ref as n,provide as l,computed as t,onMounted as a,nextTick as s,watch as o,openBlock as d,createElementBlock as c,normalizeClass as r,unref as h,normalizeStyle as u,withDirectives as f,createVNode as p,createTextVNode as m,toDisplayString as g,createCommentVNode as v,createElementVNode as y,Fragment as C,renderList as k,createBlock as S,withCtx as b}from"vue";import{useMessage as x,NIcon as O,NTooltip as _}from"naive-ui";import{Repeat as I,SettingsOutline as w,ChevronDown as L,ChevronForward as N,Checkmark as z,Close as j,ChevronUp as B}from"@vicons/ionicons5";import P from"./components/set-classification/index.vue.js";import{vFlexibleResize as J}from"../../../shared/directive/flexibleResize.js";import{InjectionFilterApiConfig as M,InjectionClassifyfilterType as A}from"../../table-filter/src/constants/index.js";import{root_isShowResetButton as T}from"./const/index.js";import E from"../../table-filter/src/hooks/useMixins.js";import F from"../../table-filter/src/hooks/useAdvanced.js";const R={key:0,class:"header"},W={class:"tree"},q=["onClick"],G=["onClick"],Q=["onClick"],$={class:"child-item-name"},D={key:1,class:"tree-type-footer"},V={class:"selected-num"},H=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),K={key:0,class:"tile-type classify-1"},U={key:0,class:"header"},X={class:"right-setting"},Y=["onClick"],Z={class:"parent ellips"},ee={class:"children"},ie=["onClick"],ne={key:1,class:"selected-list"},le={class:"selected-num"},te=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),ae={class:"name"},se={class:"name"},oe={key:0,class:"main-wrapper"},de=["onClick"],ce={class:"tree-footer"},re=["onClick"],he=["onClick"],ue={key:0,class:"select-type-footer"},fe={class:"selected-num"},pe=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1);var me=e({__name:"index",props:{tableId:{type:String,default:""},searchFieldList:{type:Array,default:()=>[]},conditionMap:{type:Object,default:()=>({})},conditionSid:{type:Array,default:()=>["all_data"]},curClassificationIndex:{type:Number,default:0},curClassificationWidth:{type:Number},hideConditionChangeBtn:{type:Number,default:0},hideConditionChangeSetting:{type:Number,default:0},hideClearConditionChange:{type:Number,default:1},isShowResetButton:{type:Boolean,default:!0},filterApiConfig:{type:Object,default:()=>({})},filterType:{type:String,default:"1"}},emits:["changeSearch","setClassificationIndex","getQuickSearchListObj"],setup(e,{emit:me}){const ge=e,{handleGetConfigApi:ve}=E(),{transformClassifyChild:ye}=F(),Ce=i(),ke=x(),Se=n(null);let be=n(150),xe=n(!1),Oe=n([]),_e=n([]),Ie=n([]),we=n(2),Le=n({name:"全部数据",sid:"all_data"}),Ne=n([]),ze=n(""),je=n(!1),Be=n("全部数据");l(T,ge.isShowResetButton),l(M,ge.filterApiConfig),l(A,ge.filterType);let Pe=t((()=>0===we.value?{marginRight:"8px"}:2===we.value?{display:"inline-block"}:{})),Je=t((()=>{let e=_e.value.filter((e=>-1!==ge.conditionSid.indexOf(e.sid)));if(-1!==ge.conditionSid.indexOf("all_data"))return"全部数据";{let i=[];return e.map((e=>{i.push(e.name)})),i.join(",")}})),Me=t((()=>function(e){let i=0===e.digital?"(0)":e.digital?`(${e.digital})`:"";const{name:n,isPublic:l}=e;return Xe(n,l)+i}));function Ae(e){e.open?e.open=!1:e.open=!0}function Te(e,i,n){Be.value=e.name;let l=function(e){let i=[];return Oe.value.forEach((n=>{n.children?n.children.forEach((n=>{-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})):-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})),i}(function(e,i,n){let l=JSON.parse(JSON.stringify(i));l="all_data"===e||-1!==l.indexOf(e)?["all_data"]:[e];return l}(e.sid,ge.conditionSid));qe(!1);const t=ye(null==e?void 0:e.conObj,ge.searchFieldList);me("changeSearch",Boolean("all_data"===e.sid),e,t,n,l)}function Ee(){let e="";if(2===we.value)e=0;else{let i=we.value;e=++i}be.value=150,Fe(e)}async function Fe(e,i){let n={tableId:ge.tableId,setting:JSON.stringify({classificationIndex:e,classificationWidth:i})};try{await ve(n,"requestSaveListPersonaSetting",{},ge.filterApiConfig)&&me("setClassificationIndex",e)}catch(e){console.log(e)}}function Re(){je.value=!0,qe(!1)}function We(e){je.value=e}function qe(e){xe.value=void 0===e?!xe.value:e}function Ge(){if(!ge.tableId)return ke.warning("请传入tableId");Oe.value=[];let{displayCategoryList:e=[],conditionList:i=[],settingId:n=""}=ge.conditionMap;Ne.value=JSON.parse(JSON.stringify(e))||[],Ie.value=JSON.parse(JSON.stringify(i)),_e.value=JSON.parse(JSON.stringify([{name:"全部数据",sid:"all_data"},...i])),ze.value=n;let l=[];var t;0===Ne.value.length&&(Ne.value=["未分类"]),Ne.value.forEach((e=>{let i={name:e,children:[]};_e.value.forEach((n=>{if(n.displayCategory===e||!n.displayCategory&&"未分类"===e&&"all_data"!==n.sid){if(-1!==ge.conditionSid.indexOf(n.sid)){n.selected=!0,i.open=!0;const e=ye(null==n?void 0:n.conObj,ge.searchFieldList);me("changeSearch",!1,n,e)}n.isShow&&i.children.push(n)}})),i.children.length>0&&l.push(i)})),l.unshift({name:"全部数据",sid:"all_data"}),Oe.value=l,0===we.value&&(t=!0,Oe.value.forEach((e=>{e.children&&e.children.length&&(e.open=t)})))}function Qe({distance:e}){const i=be.value+e;be.value=Math.min(Math.max(i,50),650)}function $e(){Fe(we.value,be.value)}async function De(){await Ue(ge.tableId),He()}async function Ve(e){await Ue(ge.tableId),Ke()}function He(e){Ke(e).then((e=>({})))}function Ke(e,i={}){if(!ge.tableId)return new Promise((e=>e(!1)));let n=Object.keys(i).length>0?i:JSON.parse(JSON.stringify(ge.conditionMap));return new Promise(((i,l)=>{var t,a,s,o,d,c,r;if(Object.keys(n).length>0){Ie.value=n.conditionList||[],Ne.value=n.displayCategoryList||[];let l={conditionList:Ie.value,displayCategoryList:Ne.value};me("getQuickSearchListObj",l),ze.value=null!=(t=n.settingId)?t:"";const h=Ie.value.find((e=>e.isDefault))||{name:"全部数据",sid:"all_data"};(null==(s=null==(a=Ce.tableOptions)?void 0:a.filterCondition)?void 0:s.displayCategory)&&e&&i({name:null==(d=null==(o=Ce.tableOptions)?void 0:o.filterCondition)?void 0:d.name,sid:null==(r=null==(c=Ce.tableOptions)?void 0:c.filterCondition)?void 0:r.displayCategory}),i(h)}else i({})}))}async function Ue(e){try{if(!e)return new Promise((e=>e(!1)));let i={tableId:e},n=await ve(i,"requestTableCondiTionList",{},ge.filterApiConfig);return Promise.resolve(n)}catch(e){return Promise.resolve(!1)}}function Xe(e,i){return i&&e&&"1"===i?e.replace(/\(公共\)$/,""):e}return a((()=>{document.addEventListener("click",(e=>{s((()=>{let i=e.composedPath&&e.composedPath();Se.value&&i.includes(Se.value)||qe(!1)}))}))})),o((()=>ge.tableId),(e=>{e&&He(!0)}),{immediate:!0}),o((()=>ge.curClassificationIndex),(e=>{void 0!==e&&(we.value=e,Ge())}),{immediate:!0}),o((()=>ge.curClassificationWidth),(e=>{e&&(be.value=Number(e)||150)}),{immediate:!0}),o((()=>ge.conditionMap),(e=>{!async function(){try{await Ge()}catch(e){console.log(e)}}()}),{immediate:!0,deep:!0}),(i,n)=>(d(),c("div",{class:r(["classification-block","classificationIndex-"+h(we)]),style:u(h(Pe))},[0===h(we)?f((d(),c("div",{key:0,class:"tree-type classify-0",style:u({width:h(be)+"px",paddingBottom:1!=e.hideClearConditionChange?"80px":0,position:"relative"})},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",R,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"header-1",onClick:Ee},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"header-1",onClick:Re},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])):v("v-if",!0),y("ul",W,[(d(!0),c(C,null,k(h(Oe),((i,n)=>(d(),c(C,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(C,{key:1},[y("span",{class:r(["parent",{open:i.open}]),onClick:e=>Ae(i)},[y("span",null,g(i.name),1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,G),i.open?(d(!0),c(C,{key:0},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Te(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,trigger:"hover",placement:"right"},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",$,g(Xe(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[y("span",null,g(h(Me)(e)),1)])),_:2},1024)):v("v-if",!0)],8,Q)))),128)):v("v-if",!0)],64)):(d(),c("span",{key:0,class:r(["child-item header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Te(i)},g(i.name),11,q))],2)):v("v-if",!0)],64)))),256))]),1!=e.hideClearConditionChange?(d(),c("div",D,[y("div",V,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),y("div",{class:"selected-item-del",onClick:n[0]||(n[0]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[H,m(" 清空筛选 ")])])):v("v-if",!0)],4)),[[h(J),{mode:"VR",onMove:Qe,onEnd:$e}]]):v("v-if",!0),1===h(we)?(d(),c(C,{key:1},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting||1!=e.hideConditionChangeSetting||h(Ie).filter((e=>e.isShow)).length>0?(d(),c("div",K,[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",U,[y("span",{class:r(["all-data",{selected:-1!==e.conditionSid.indexOf("all_data")}]),onClick:n[1]||(n[1]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[m(" 全部数据 "),h(Le).digital||0===h(Le).digital?(d(),c(C,{key:0},[m(" ("+g(h(Le).digital||0)+") ",1)],64)):v("v-if",!0)],2),y("div",X,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"setting-1",onClick:Ee,style:{"margin-right":"30px"}},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"setting-1",onClick:Re},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])])):v("v-if",!0),y("ul",{class:"tile",style:u({borderBottom:1!=e.hideClearConditionChange?"1px solid #d5d5d5":0})},[(d(!0),c(C,null,k(h(Oe).slice(1),((e,i)=>(d(),c(C,null,[e.children&&e.children.length>0?(d(),c("li",{class:"tile-item",key:i},[e.children&&0!==e.children.length?(d(),c(C,{key:1},[y("span",Z,g(e.name),1),y("div",ee,[(d(!0),c(C,null,k(e.children,((i,n)=>(d(),c(C,null,[i.isShow?(d(),c("span",{key:n,class:r(["child-item",{selected:i.selected}]),onClick:n=>Te(i,0,e)},g(Xe(i.name,null==i?void 0:i.isPublic)),11,ie)):v("v-if",!0)],64)))),256))])],64)):(d(),c("span",{key:0,class:r(["child-item",{selected:e.selected}]),style:{"padding-left":"17px"},onClick:i=>Te(e)},g(e.name)+" "+g(e.digital),11,Y))])):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",ne,[y("div",le,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),(d(!0),c(C,null,k(h(Oe).slice(1),(e=>(d(),c(C,null,[e.children&&0!==e.children.length?(d(!0),c(C,{key:1},k(e.children,((i,n)=>(d(),c(C,null,[i.selected?(d(),c("div",{class:"selected-item",key:i.sid},[m(g(i.name)+" ",1),p(h(O),{component:h(j),onClick:n=>Te(i,0,e)},null,8,["component","onClick"])])):v("v-if",!0)],64)))),256)):(d(),c("div",{class:"selected-item",key:e.sid},[m(g(e.name)+" ",1),p(h(O),{component:h(j),onClick:i=>Te(e)},null,8,["component","onClick"])]))],64)))),256)),y("div",{class:"selected-item-del",onClick:n[2]||(n[2]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[te,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],64)):v("v-if",!0),2===h(we)?(d(),c("div",{key:2,class:"select-type classify-2",ref_key:"selectType",ref:Se},[y("span",{class:"title",onClick:n[3]||(n[3]=()=>qe())},[p(h(_),{trigger:"hover",placement:"top"},{trigger:b((()=>[y("span",ae,g(h(Je)),1)])),default:b((()=>[y("span",se,g(h(Je)),1)])),_:1}),p(h(O),{component:h(xe)?h(B):h(L)},null,8,["component"])]),h(xe)?(d(),c("div",oe,[y("ul",{class:"tree",style:u({padding:1!=e.hideClearConditionChange?"40px 0":"40px 0 0"})},[(d(!0),c(C,null,k(h(Oe),((i,n)=>(d(),c(C,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(C,{key:1},[0!==i.children.filter((e=>e.isShow)).length?(d(),c("span",{key:0,class:r(["parent",{open:i.open}]),onClick:e=>Ae(i)},[m(g(i.name)+g(i.digital||0===i.digital?"("+i.digital+")":"")+" ",1),p(h(O),{component:i.open?h(L):h(N)},null,8,["component"])],10,re)):v("v-if",!0),i.open?(d(!0),c(C,{key:1},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Te(e,0,i)},[e.isShow?(d(),S(h(_),{key:0,placement:"right",trigger:"hover","z-index":1e4},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",null,g(Xe(e.name,null==e?void 0:e.isPublic)),1),e.selected?(d(),S(h(O),{key:0,component:h(z),size:"20"},null,8,["component"])):v("v-if",!0)],2)])),default:b((()=>[y("span",null,g(h(Me)(e)),1)])),_:2},1024)):v("v-if",!0)],8,he)))),128)):v("v-if",!0)],64)):(d(),c(C,{key:0},[y("span",{class:r(["child-item child-header header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Te(i)},g(i.name),11,de),y("div",ce,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"tree-footer-icon",onClick:Ee},[p(h(O),{component:h(I),size:"16"},null,8,["component"]),m(" "+g("切换"))])):v("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"tree-footer-icon",onClick:Re},[p(h(O),{component:h(w),size:"16"},null,8,["component"]),m(" "+g("设置"))])):v("v-if",!0)])],64))],2)):v("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",ue,[y("div",fe,"已选择"+g(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),y("div",{class:"selected-item-del",onClick:n[4]||(n[4]=e=>Te({sid:"all_data",name:"全部数据",digital:h(Le).digital}))},[pe,m(" 清空筛选 ")])])):v("v-if",!0)])):v("v-if",!0)],512)):v("v-if",!0),v(" 弹出弹窗 "),p(P,{ref:"search",searchFieldList:e.searchFieldList,conditionList:h(Ie),displayCategoryList:h(Ne),settingId:h(ze),tableId:e.tableId,classifyModal:h(je),onSaveGetTableCondiTionList:Ve,onCondiTionListInit:De,onSetClassifyModal:We},null,8,["searchFieldList","conditionList","displayCategoryList","settingId","tableId","classifyModal"])],6))}});export{me as default};
1
+ import{defineComponent as e,useAttrs as i,ref as n,provide as l,computed as t,onMounted as a,nextTick as s,watch as o,openBlock as d,createElementBlock as c,normalizeClass as r,unref as u,normalizeStyle as h,withDirectives as f,createVNode as p,createTextVNode as m,toDisplayString as v,createCommentVNode as g,createElementVNode as y,Fragment as C,renderList as k,createBlock as b,withCtx as S}from"vue";import{useMessage as N,NIcon as O,NTooltip as x}from"naive-ui";import{Repeat as L,SettingsOutline as _,ChevronDown as I,ChevronForward as w,Checkmark as j,Close as z,ChevronUp as B}from"@vicons/ionicons5";import T from"./components/set-classification/index.vue.js";import{vFlexibleResize as P}from"../../../shared/directive/flexibleResize.js";import{InjectionFilterApiConfig as A,InjectionClassifyfilterType as J}from"../../table-filter/src/constants/index.js";import{root_isShowResetButton as M}from"./const/index.js";import E from"../../table-filter/src/hooks/useMixins.js";import D from"../../table-filter/src/hooks/useAdvanced.js";const F={key:0,class:"header"},R={class:"tree"},W=["onClick"],q={class:"number"},G={key:0,class:"item-count"},Q=["onClick"],$=["onClick"],V={class:"child-item-name"},H={class:"number"},K={key:0,class:"item-count"},U={key:1,class:"tree-type-footer"},X={class:"selected-num"},Y=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),Z={key:0,class:"tile-type classify-1"},ee={key:0,class:"header"},ie={key:0,class:"item-count"},ne={class:"right-setting"},le=["onClick"],te={class:"parent ellips"},ae={class:"children"},se=["onClick"],oe={class:"number"},de={key:0,class:"item-count"},ce={key:1,class:"selected-list"},re={class:"selected-num"},ue=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1),he={class:"name"},fe={class:"name"},pe={key:0,class:"main-wrapper"},me=["onClick"],ve={class:"number"},ge={key:0,class:"item-count"},ye={class:"tree-footer"},Ce=["onClick"],ke=["onClick"],be={class:"child-item-name"},Se={class:"number"},Ne={key:0,class:"item-count"},Oe={key:0,class:"select-type-footer"},xe={class:"selected-num"},Le=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1);var _e=e({__name:"index",props:{tableId:{type:String,default:""},searchFieldList:{type:Array,default:()=>[]},conditionMap:{type:Object,default:()=>({})},conditionSid:{type:Array,default:()=>["all_data"]},curClassificationIndex:{type:Number,default:0},curClassificationWidth:{type:Number},hideConditionChangeBtn:{type:Number,default:0},hideConditionChangeSetting:{type:Number,default:0},hideClearConditionChange:{type:Number,default:1},isShowResetButton:{type:Boolean,default:!0},filterApiConfig:{type:Object,default:()=>({})},condiTionDigital:{type:Object,default:()=>({})},filterType:{type:String,default:"1"}},emits:["changeSearch","setClassificationIndex","getQuickSearchListObj"],setup(e,{emit:_e}){const Ie=e,{handleGetConfigApi:we}=E(),{transformClassifyChild:je}=D(),ze=i(),Be=N(),Te=n(null);let Pe=n(150),Ae=n(!1),Je=n([]),Me=n([]),Ee=n([]),De=n(2),Fe=n({name:"全部数据",sid:"all_data"}),Re=n([]),We=n(""),qe=n(!1),Ge=n("全部数据");l(M,Ie.isShowResetButton),l(A,Ie.filterApiConfig),l(J,Ie.filterType);let Qe=t((()=>0===De.value?{marginRight:"8px"}:2===De.value?{display:"inline-block"}:{})),$e=t((()=>{let e=Me.value.filter((e=>-1!==Ie.conditionSid.indexOf(e.sid)));if(-1!==Ie.conditionSid.indexOf("all_data"))return"全部数据";{let i=[];return e.map((e=>{i.push(e.name)})),i.join(",")}})),Ve=t((()=>function(e){let i=0===e.digital?"(0)":e.digital?`(${e.digital})`:"";const{name:n,isPublic:l}=e;return ci(n,l)+i}));function He(e){e.open?e.open=!1:e.open=!0}function Ke(e,i,n){Ge.value=e.name;let l=function(e){let i=[];return Je.value.forEach((n=>{n.children?n.children.forEach((n=>{-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})):-1!==e.indexOf(n.sid)?(n.selected=!0,i.push(n)):n.selected=!1})),i}(function(e,i,n){let l=JSON.parse(JSON.stringify(i));l="all_data"===e||-1!==l.indexOf(e)?["all_data"]:[e];return l}(e.sid,Ie.conditionSid));ei(!1);const t=je(null==e?void 0:e.conObj,Ie.searchFieldList);_e("changeSearch",Boolean("all_data"===e.sid),e,t,n,l)}function Ue(){let e="";if(2===De.value)e=0;else{let i=De.value;e=++i}Pe.value=150,Xe(e)}async function Xe(e,i){let n={tableId:Ie.tableId,setting:JSON.stringify({classificationIndex:e,classificationWidth:i})};try{await we(n,"requestSaveListPersonaSetting",{},Ie.filterApiConfig)&&_e("setClassificationIndex",e)}catch(e){console.log(e)}}function Ye(){qe.value=!0,ei(!1)}function Ze(e){qe.value=e}function ei(e){Ae.value=void 0===e?!Ae.value:e}function ii(){if(!Ie.tableId)return Be.warning("请传入tableId");Je.value=[];let{displayCategoryList:e=[],conditionList:i=[],settingId:n=""}=Ie.conditionMap;Re.value=JSON.parse(JSON.stringify(e))||[],Ee.value=JSON.parse(JSON.stringify(i)),Me.value=JSON.parse(JSON.stringify([{name:"全部数据",sid:"all_data"},...i])),We.value=n;let l=[];var t;0===Re.value.length&&(Re.value=["未分类"]),Re.value.forEach((e=>{let i={name:e,children:[]};Me.value.forEach((n=>{if(n.displayCategory===e||!n.displayCategory&&"未分类"===e&&"all_data"!==n.sid){if(-1!==Ie.conditionSid.indexOf(n.sid)){n.selected=!0,i.open=!0;const e=je(null==n?void 0:n.conObj,Ie.searchFieldList);_e("changeSearch",!1,n,e)}n.isShow&&i.children.push(n)}})),i.children.length>0&&l.push(i)})),l.unshift({name:"全部数据",sid:"all_data"}),Je.value=l,0===De.value&&(t=!0,Je.value.forEach((e=>{e.children&&e.children.length&&(e.open=t)}))),ri(Je.value,Ie.condiTionDigital)}function ni({distance:e}){const i=Pe.value+e;Pe.value=Math.min(Math.max(i,50),650)}function li(){Xe(De.value,Pe.value)}async function ti(){await di(Ie.tableId),si()}async function ai(e){await di(Ie.tableId),oi()}function si(e){oi(e).then((e=>({})))}function oi(e,i={}){if(!Ie.tableId)return new Promise((e=>e(!1)));let n=Object.keys(i).length>0?i:JSON.parse(JSON.stringify(Ie.conditionMap));return new Promise(((i,l)=>{var t,a,s,o,d,c,r;if(Object.keys(n).length>0){Ee.value=n.conditionList||[],Re.value=n.displayCategoryList||[];let l={conditionList:Ee.value,displayCategoryList:Re.value};_e("getQuickSearchListObj",l),We.value=null!=(t=n.settingId)?t:"";const u=Ee.value.find((e=>e.isDefault))||{name:"全部数据",sid:"all_data"};(null==(s=null==(a=ze.tableOptions)?void 0:a.filterCondition)?void 0:s.displayCategory)&&e&&i({name:null==(d=null==(o=ze.tableOptions)?void 0:o.filterCondition)?void 0:d.name,sid:null==(r=null==(c=ze.tableOptions)?void 0:c.filterCondition)?void 0:r.displayCategory}),i(u)}else i({})}))}async function di(e){try{if(!e)return new Promise((e=>e(!1)));let i={tableId:e},n=await we(i,"requestTableCondiTionList",{},Ie.filterApiConfig);return Promise.resolve(n)}catch(e){return Promise.resolve(!1)}}function ci(e,i){return i&&e&&"1"===i?e.replace(/\(公共\)$/,""):e}function ri(e,i){const n=Object.keys(i);e.forEach((e=>{var l;e.resultNumber=void 0,"all_data"===e.sid&&(e.resultNumber=i.ALL),n.includes(null==e?void 0:e.sid)&&(e.resultNumber=i[e.sid]),(null==(l=null==e?void 0:e.children)?void 0:l.length)>0&&ri(null==e?void 0:e.children,i)}))}return a((()=>{document.addEventListener("click",(e=>{s((()=>{let i=e.composedPath&&e.composedPath();Te.value&&i.includes(Te.value)||ei(!1)}))}))})),o((()=>Ie.tableId),(e=>{e&&si(!0)}),{immediate:!0}),o((()=>Ie.curClassificationIndex),(e=>{void 0!==e&&(De.value=e,ii())}),{immediate:!0}),o((()=>Ie.curClassificationWidth),(e=>{e&&(Pe.value=Number(e)||150)}),{immediate:!0}),o((()=>Ie.conditionMap),(e=>{!async function(){try{await ii()}catch(e){console.log(e)}}()}),{immediate:!0,deep:!0}),o((()=>Ie.condiTionDigital),(e=>{ri(Je.value,e)}),{immediate:!0,deep:!0}),(i,n)=>{var l,t;return d(),c("div",{class:r(["classification-block","classificationIndex-"+u(De)]),style:h(u(Qe))},[0===u(De)?f((d(),c("div",{key:0,class:"tree-type classify-0",style:h({width:u(Pe)+"px",paddingBottom:1!=e.hideClearConditionChange?"80px":0,position:"relative"})},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",F,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"header-1",onClick:Ue},[p(u(O),{component:u(L),size:"16"},null,8,["component"]),m(" "+v("切换"))])):g("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"header-1",onClick:Ye},[p(u(O),{component:u(_),size:"16"},null,8,["component"]),m(" "+v("设置"))])):g("v-if",!0)])):g("v-if",!0),y("ul",R,[(d(!0),c(C,null,k(u(Je),((i,n)=>(d(),c(C,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(C,{key:1},[y("span",{class:r(["parent",{open:i.open}]),onClick:e=>He(i)},[y("span",null,v(i.name),1),p(u(O),{component:i.open?u(I):u(w)},null,8,["component"])],10,Q),i.open?(d(!0),c(C,{key:0},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Ke(e,0,i)},[e.isShow?(d(),b(u(x),{key:0,trigger:"hover",placement:"right"},{trigger:S((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",V,[y("span",H,v(ci(e.name,null==e?void 0:e.isPublic)),1),null!=e.resultNumber?(d(),c("label",K,[m("("),y("span",null,v(e.resultNumber),1),m(")")])):g("v-if",!0)]),e.selected?(d(),b(u(O),{key:0,component:u(j),size:"20"},null,8,["component"])):g("v-if",!0)],2)])),default:S((()=>[y("span",null,[m(v(u(Ve)(e))+" ",1),null!=e.resultNumber?(d(),c(C,{key:0},[m("("+v(e.resultNumber)+")",1)],64)):g("v-if",!0)])])),_:2},1024)):g("v-if",!0)],8,$)))),128)):g("v-if",!0)],64)):(d(),c("span",{key:0,class:r(["child-item header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Ke(i)},[g("全部数据 "),y("span",q,v(i.name),1),null!=i.resultNumber?(d(),c("label",G,[m("("),y("span",null,v(i.resultNumber),1),m(")")])):g("v-if",!0)],10,W))],2)):g("v-if",!0)],64)))),256))]),1!=e.hideClearConditionChange?(d(),c("div",U,[y("div",X,"已选择"+v(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),y("div",{class:"selected-item-del",onClick:n[0]||(n[0]=e=>Ke({sid:"all_data",name:"全部数据",digital:u(Fe).digital}))},[Y,m(" 清空筛选 ")])])):g("v-if",!0)],4)),[[u(P),{mode:"VR",onMove:ni,onEnd:li}]]):g("v-if",!0),1===u(De)?(d(),c(C,{key:1},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting||1!=e.hideConditionChangeSetting||u(Ee).filter((e=>e.isShow)).length>0?(d(),c("div",Z,[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(d(),c("div",ee,[y("span",{class:r(["all-data",{selected:-1!==e.conditionSid.indexOf("all_data")}]),onClick:n[1]||(n[1]=e=>Ke({sid:"all_data",name:"全部数据",digital:u(Fe).digital}))},[m(" 全部数据 "),null!=(null==(l=e.condiTionDigital)?void 0:l.ALL)?(d(),c("label",ie,[m("("),y("span",null,v((null==(t=e.condiTionDigital)?void 0:t.ALL)||0),1),m(")")])):g("v-if",!0),u(Fe).digital||0===u(Fe).digital?(d(),c(C,{key:1},[m(" ("+v(u(Fe).digital||0)+") ",1)],64)):g("v-if",!0)],2),y("div",ne,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"setting-1",onClick:Ue,style:{"margin-right":"30px"}},[p(u(O),{component:u(L),size:"16"},null,8,["component"]),m(" "+v("切换"))])):g("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"setting-1",onClick:Ye},[p(u(O),{component:u(_),size:"16"},null,8,["component"]),m(" "+v("设置"))])):g("v-if",!0)])])):g("v-if",!0),y("ul",{class:"tile",style:h({borderBottom:1!=e.hideClearConditionChange?"1px solid #d5d5d5":0})},[(d(!0),c(C,null,k(u(Je).slice(1),((e,i)=>(d(),c(C,null,[e.children&&e.children.length>0?(d(),c("li",{class:"tile-item",key:i},[e.children&&0!==e.children.length?(d(),c(C,{key:1},[y("span",te,v(e.name),1),y("div",ae,[(d(!0),c(C,null,k(e.children,((i,n)=>(d(),c(C,null,[i.isShow?(d(),c("span",{key:n,class:r(["child-item",{selected:i.selected}]),onClick:n=>Ke(i,0,e)},[y("span",oe,v(ci(i.name,null==i?void 0:i.isPublic)),1),null!=i.resultNumber?(d(),c("label",de,[m("("),y("span",null,v(i.resultNumber),1),m(")")])):g("v-if",!0)],10,se)):g("v-if",!0)],64)))),256))])],64)):(d(),c("span",{key:0,class:r(["child-item",{selected:e.selected}]),style:{"padding-left":"17px"},onClick:i=>Ke(e)},v(e.name)+" "+v(e.digital),11,le))])):g("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",ce,[y("div",re,"已选择"+v(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),(d(!0),c(C,null,k(u(Je).slice(1),(e=>(d(),c(C,null,[e.children&&0!==e.children.length?(d(!0),c(C,{key:1},k(e.children,((i,n)=>(d(),c(C,null,[i.selected?(d(),c("div",{class:"selected-item",key:i.sid},[m(v(i.name)+" ",1),p(u(O),{component:u(z),onClick:n=>Ke(i,0,e)},null,8,["component","onClick"])])):g("v-if",!0)],64)))),256)):(d(),c("div",{class:"selected-item",key:e.sid},[m(v(e.name)+" ",1),p(u(O),{component:u(z),onClick:i=>Ke(e)},null,8,["component","onClick"])]))],64)))),256)),y("div",{class:"selected-item-del",onClick:n[2]||(n[2]=e=>Ke({sid:"all_data",name:"全部数据",digital:u(Fe).digital}))},[ue,m(" 清空筛选 ")])])):g("v-if",!0)])):g("v-if",!0)],64)):g("v-if",!0),2===u(De)?(d(),c("div",{key:2,class:"select-type classify-2",ref_key:"selectType",ref:Te},[y("span",{class:"title",onClick:n[3]||(n[3]=()=>ei())},[p(u(x),{trigger:"hover",placement:"top"},{trigger:S((()=>[y("span",he,v(u($e)),1)])),default:S((()=>[y("span",fe,v(u($e)),1)])),_:1}),p(u(O),{component:u(Ae)?u(B):u(I)},null,8,["component"])]),u(Ae)?(d(),c("div",pe,[y("ul",{class:"tree",style:h({padding:1!=e.hideClearConditionChange?"40px 0":"40px 0 0"})},[(d(!0),c(C,null,k(u(Je),((i,n)=>(d(),c(C,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(d(),c("li",{key:n,class:r(["tree-item",{"tree-header":0===n||!i.children||0===i.children.length}])},[0!==n&&i.children&&0!==i.children.length?(d(),c(C,{key:1},[0!==i.children.filter((e=>e.isShow)).length?(d(),c("span",{key:0,class:r(["parent",{open:i.open}]),onClick:e=>He(i)},[m(v(i.name)+v(i.digital||0===i.digital?"("+i.digital+")":"")+" ",1),p(u(O),{component:i.open?u(I):u(w)},null,8,["component"])],10,Ce)):g("v-if",!0),i.open?(d(!0),c(C,{key:1},k(i.children.filter((e=>e.isShow)),((e,n)=>(d(),c("div",{key:n,class:"children",onClick:n=>Ke(e,0,i)},[e.isShow?(d(),b(u(x),{key:0,placement:"right",trigger:"hover","z-index":1e4},{trigger:S((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",be,[y("span",Se,v(ci(e.name,null==e?void 0:e.isPublic)),1),null!=e.resultNumber?(d(),c("label",Ne,[m("("),y("span",null,v(e.resultNumber),1),m(")")])):g("v-if",!0)]),e.selected?(d(),b(u(O),{key:0,component:u(j),size:"20"},null,8,["component"])):g("v-if",!0)],2)])),default:S((()=>[y("span",null,[m(v(u(Ve)(e)),1),null!=e.resultNumber?(d(),c(C,{key:0},[m("("+v(e.resultNumber)+")",1)],64)):g("v-if",!0)])])),_:2},1024)):g("v-if",!0)],8,ke)))),128)):g("v-if",!0)],64)):(d(),c(C,{key:0},[y("span",{class:r(["child-item child-header header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Ke(i)},[y("span",ve,v(i.name),1),null!=i.resultNumber?(d(),c("label",ge,[m("("),y("span",null,v(i.resultNumber),1),m(")")])):g("v-if",!0)],10,me),y("div",ye,[1!=e.hideConditionChangeBtn?(d(),c("span",{key:0,class:"tree-footer-icon",onClick:Ue},[p(u(O),{component:u(L),size:"16"},null,8,["component"]),m(" "+v("切换"))])):g("v-if",!0),1!=e.hideConditionChangeSetting?(d(),c("span",{key:1,class:"tree-footer-icon",onClick:Ye},[p(u(O),{component:u(_),size:"16"},null,8,["component"]),m(" "+v("设置"))])):g("v-if",!0)])],64))],2)):g("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(d(),c("div",Oe,[y("div",xe,"已选择"+v(e.conditionSid.filter((e=>"all_data"!==e)).length)+"项",1),y("div",{class:"selected-item-del",onClick:n[4]||(n[4]=e=>Ke({sid:"all_data",name:"全部数据",digital:u(Fe).digital}))},[Le,m(" 清空筛选 ")])])):g("v-if",!0)])):g("v-if",!0)],512)):g("v-if",!0),g(" 弹出弹窗 "),p(T,{ref:"search",searchFieldList:e.searchFieldList,conditionList:u(Ee),displayCategoryList:u(Re),settingId:u(We),tableId:e.tableId,classifyModal:u(qe),onSaveGetTableCondiTionList:ai,onCondiTionListInit:ti,onSetClassifyModal:Ze},null,8,["searchFieldList","conditionList","displayCategoryList","settingId","tableId","classifyModal"])],6)}}});export{_e as default};
@@ -1 +1 @@
1
- @font-face{font-family:classification-iconfont;src:url(classification-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:classification-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter{cursor:pointer;font-size:18px}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter:last-child{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-name{align-items:center;display:flex}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-input{margin-bottom:10px;margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;display:flex;justify-content:center;margin-bottom:10px;margin-right:10px;max-width:120px;padding:0 10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;display:flex;justify-content:center;line-height:1;width:18px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding:12px 0 0}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .delete-item-icon{color:red;cursor:pointer;font-size:18px;margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .filter-expression{display:flex;flex-direction:column}.classification-modal-block .n-card__content .class-filter-content .filter-expression .textarea{margin-top:6px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.classification-block .tree-type{border:1px solid #d5d5d5;border-radius:4px;height:100%;line-height:32px;margin-top:0;padding-bottom:80px;width:150px}.classification-block .tree-type .header{border-bottom:1px solid #e6eaef;display:flex;font-size:14px;justify-content:space-between;padding:0 10px}.classification-block .tree-type .header .header-1{align-items:center;cursor:pointer;display:flex}.classification-block .tree-type .tree{height:calc(100% - 32px);line-height:32px;margin:0;overflow:auto;padding-left:0}.classification-block .tree-type .tree::-webkit-scrollbar{width:5px}.classification-block .tree-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer}.classification-block .tree-type .tree .tree-item.tree-header{box-sizing:border-box;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .tree-type .tree .tree-item .header-item{box-sizing:border-box;line-height:1.4}.classification-block .tree-type .tree .tree-item .header-item.selected,.classification-block .tree-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children{align-items:center;display:flex;height:32px;padding-left:23px;padding-right:10px}.classification-block .tree-type .tree .tree-item .children .child-item{align-items:center;border-bottom:1px solid transparent;color:#7c7c7c;display:flex;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .tree-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-content{align-items:center;display:flex}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item .digital-span{flex:1;margin-left:5px;text-align:left}.classification-block .tree-type .tree .tree-item:last-child{border-bottom:none}.classification-block .tree-type .tree-type-footer{border-top:1px solid #d5d5d5;bottom:0;height:80px;line-height:20px;padding-left:16px;position:absolute;width:100%}.classification-block .tree-type .tree-type-footer .selected-num{margin:10px}.classification-block .tree-type .tree-type-footer .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;justify-content:center;margin-left:0}.classification-block .tile-type{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:8px;padding:0 17px}.classification-block .tile-type .header{align-items:center;border-bottom:1px solid #d5d5d5;display:inline-flex;justify-content:space-between;line-height:44px;width:100%}.classification-block .tile-type .header .all-data{border-bottom:1px solid transparent;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:500;line-height:1.4;margin-right:auto}.classification-block .tile-type .header .all-data:hover{color:#2d7aff}.classification-block .tile-type .header .all-data:active{border-color:transparent;color:#000}.classification-block .tile-type .header .selected{color:#2d7aff}.classification-block .tile-type .header .right-setting{display:flex}.classification-block .tile-type .header .right-setting .setting-1{align-items:center;cursor:pointer;display:flex}.classification-block .tile-type .header .right-setting .setting-1 .n-icon{margin-right:6px}.classification-block .tile-type .header .right-setting .upack-up-btn{color:#2d7aff}.classification-block .tile-type .tile{border-bottom:1px solid #d5d5d5;margin:0;padding:9px 0}.classification-block .tile-type .tile .tile-item{cursor:pointer;display:flex;line-height:38px}.classification-block .tile-type .tile .tile-item .parent{box-sizing:border-box;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:600;max-width:135px;padding-right:16px;width:135px}.classification-block .tile-type .tile .tile-item .children{flex:1}.classification-block .tile-type .tile .tile-item .children .child-item{border-bottom:1px solid transparent;border-radius:4px;color:#7c7c7c;display:inline-block;font-size:14px;line-height:1.5;margin:0 5px;padding:1px 6px}.classification-block .tile-type .tile .tile-item .children .child-item.selected,.classification-block .tile-type .tile .tile-item .children .child-item:hover{background-color:rgba(45,122,255,.1);color:#2d7aff}.classification-block .tile-type .tile .tile-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tile-type .tile .tile-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tile-type .tile .tile-item .child-item.selected{color:#2d7aff}.classification-block .tile-type .selected-list{align-items:center;display:flex;padding:12px 6px}.classification-block .tile-type .selected-list .selected-num{font-size:14px;line-height:20px;margin-right:8px}.classification-block .tile-type .selected-list .selected-item{align-items:center;background-color:rgba(45,122,255,.1);border-radius:4px;color:#2d7aff;cursor:pointer;display:flex;margin-left:8px;padding:1px 8px}.classification-block .tile-type .selected-list .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;font-size:14px;line-height:20px;margin-left:22px}.classification-block .select-type{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px;position:relative;width:100px}.classification-block .select-type .title{align-items:center;border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;color:#969696;cursor:pointer;display:flex;font-size:12px;height:100%;justify-content:space-between;padding:0 8px;width:100%}.classification-block .select-type .title>.name{color:#212121;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .main-wrapper{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;min-width:270px;position:absolute;top:39px;width:100%;z-index:3000}.classification-block .select-type .main-wrapper::-webkit-scrollbar{width:5px}.classification-block .select-type .tree{margin:0;max-height:300px;overflow:auto;padding:32px 0}.classification-block .select-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer;line-height:32px}.classification-block .select-type .tree .tree-item.tree-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:40px;padding:0 10px;position:absolute;top:0;width:100%;z-index:1}.classification-block .select-type .tree .tree-item .tree-footer{align-items:center;color:rgba(0,0,0,.6);display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon{align-items:center;cursor:pointer;display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon .n-icon{margin-right:6px}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon:first-child{margin-right:16px}.classification-block .select-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .select-type .tree .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .select-type .tree .tree-item .header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6);flex:1}.classification-block .select-type .tree .tree-item .header-item.selected,.classification-block .select-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children{align-items:center;display:flex;height:32px;line-height:32px;padding-left:23px;padding-right:10px}.classification-block .select-type .tree .tree-item .children .child-item{border-bottom:1px solid transparent;color:#7c7c7c;display:inline-block;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .tree .tree-item .children .child-item.child-header{padding:0 10px}.classification-block .select-type .tree .tree-item .children .child-item.header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree .tree-item .children .child-item.header-item.selected,.classification-block .select-type .tree .tree-item .children .child-item.header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .select-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .select-type .tree .tree-item:last-child{border-bottom:0}.classification-block .select-type .select-type-footer{align-items:center;background-color:#fff;border-top:1px solid #d5d5d5;bottom:0;display:flex;height:40px;justify-content:space-between;padding:0 12px;position:absolute;width:100%}.classification-block .select-type .select-type-footer .selected-num{color:rgba(0,0,0,.6)}.classification-block .select-type .select-type-footer .selected-item-del{color:#2474ff;cursor:pointer}
1
+ @font-face{font-family:classification-iconfont;src:url(classification-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:classification-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter{cursor:pointer;font-size:18px}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter:last-child{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-name{align-items:center;display:flex}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .parent-input{margin-bottom:10px;margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;display:flex;justify-content:center;margin-bottom:10px;margin-right:10px;max-width:120px;padding:0 10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;display:flex;justify-content:center;line-height:1;width:18px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding:12px 0 0}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .delete-item-icon{color:red;cursor:pointer;font-size:18px;margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .filter-expression{display:flex;flex-direction:column}.classification-modal-block .n-card__content .class-filter-content .filter-expression .textarea{margin-top:6px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.classification-block .tree-type{border:1px solid #d5d5d5;border-radius:4px;height:100%;line-height:32px;margin-top:0;padding-bottom:80px;width:150px}.classification-block .tree-type .header{border-bottom:1px solid #e6eaef;display:flex;font-size:14px;justify-content:space-between;padding:0 10px}.classification-block .tree-type .header .header-1{align-items:center;cursor:pointer;display:flex}.classification-block .tree-type .tree{height:calc(100% - 32px);line-height:32px;margin:0;overflow:auto;padding-left:0}.classification-block .tree-type .tree::-webkit-scrollbar{width:5px}.classification-block .tree-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer}.classification-block .tree-type .tree .tree-item.tree-header{box-sizing:border-box;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .tree-type .tree .tree-item .header-item{box-sizing:border-box;line-height:1.4}.classification-block .tree-type .tree .tree-item .header-item.selected,.classification-block .tree-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children{align-items:center;display:flex;height:32px;padding-left:23px;padding-right:10px}.classification-block .tree-type .tree .tree-item .children .child-item{align-items:center;border-bottom:1px solid transparent;color:#7c7c7c;display:flex;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .tree-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-content{align-items:center;display:flex}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-name{display:flex;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-name .number{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item .digital-span{flex:1;margin-left:5px;text-align:left}.classification-block .tree-type .tree .tree-item:last-child{border-bottom:none}.classification-block .tree-type .tree-type-footer{border-top:1px solid #d5d5d5;bottom:0;height:80px;line-height:20px;padding-left:16px;position:absolute;width:100%}.classification-block .tree-type .tree-type-footer .selected-num{margin:10px}.classification-block .tree-type .tree-type-footer .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;justify-content:center;margin-left:0}.classification-block .tile-type{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:8px;padding:0 17px}.classification-block .tile-type .header{align-items:center;border-bottom:1px solid #d5d5d5;display:inline-flex;justify-content:space-between;line-height:44px;width:100%}.classification-block .tile-type .header .all-data{border-bottom:1px solid transparent;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:500;line-height:1.4;margin-right:auto}.classification-block .tile-type .header .all-data:hover{color:#2d7aff}.classification-block .tile-type .header .all-data:active{border-color:transparent;color:#000}.classification-block .tile-type .header .selected{color:#2d7aff}.classification-block .tile-type .header .right-setting{display:flex}.classification-block .tile-type .header .right-setting .setting-1{align-items:center;cursor:pointer;display:flex}.classification-block .tile-type .header .right-setting .setting-1 .n-icon{margin-right:6px}.classification-block .tile-type .header .right-setting .upack-up-btn{color:#2d7aff}.classification-block .tile-type .tile{border-bottom:1px solid #d5d5d5;margin:0;padding:9px 0}.classification-block .tile-type .tile .tile-item{cursor:pointer;display:flex;line-height:38px}.classification-block .tile-type .tile .tile-item .parent{box-sizing:border-box;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:600;max-width:135px;padding-right:16px;width:135px}.classification-block .tile-type .tile .tile-item .children{flex:1}.classification-block .tile-type .tile .tile-item .children .child-item{border-bottom:1px solid transparent;border-radius:4px;color:#7c7c7c;display:inline-block;font-size:14px;line-height:1.5;margin:0 5px;padding:1px 6px}.classification-block .tile-type .tile .tile-item .children .child-item.selected,.classification-block .tile-type .tile .tile-item .children .child-item:hover{background-color:rgba(45,122,255,.1);color:#2d7aff}.classification-block .tile-type .tile .tile-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tile-type .tile .tile-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tile-type .tile .tile-item .child-item.selected{color:#2d7aff}.classification-block .tile-type .selected-list{align-items:center;display:flex;padding:12px 6px}.classification-block .tile-type .selected-list .selected-num{font-size:14px;line-height:20px;margin-right:8px}.classification-block .tile-type .selected-list .selected-item{align-items:center;background-color:rgba(45,122,255,.1);border-radius:4px;color:#2d7aff;cursor:pointer;display:flex;margin-left:8px;padding:1px 8px}.classification-block .tile-type .selected-list .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;font-size:14px;line-height:20px;margin-left:22px}.classification-block .select-type{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px;position:relative;width:100px}.classification-block .select-type .title{align-items:center;border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;color:#969696;cursor:pointer;display:flex;font-size:12px;height:100%;justify-content:space-between;padding:0 8px;width:100%}.classification-block .select-type .title>.name{color:#212121;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .main-wrapper{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;min-width:270px;position:absolute;top:39px;width:100%;z-index:3000}.classification-block .select-type .main-wrapper::-webkit-scrollbar{width:5px}.classification-block .select-type .tree{margin:0;max-height:300px;overflow:auto;padding:32px 0}.classification-block .select-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer;line-height:32px}.classification-block .select-type .tree .tree-item.tree-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:40px;padding:0 10px;position:absolute;top:0;width:100%;z-index:1}.classification-block .select-type .tree .tree-item .tree-footer{align-items:center;color:rgba(0,0,0,.6);display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon{align-items:center;cursor:pointer;display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon .n-icon{margin-right:6px}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon:first-child{margin-right:16px}.classification-block .select-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .select-type .tree .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .select-type .tree .tree-item .header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6);flex:1}.classification-block .select-type .tree .tree-item .header-item.selected,.classification-block .select-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children{align-items:center;display:flex;height:32px;line-height:32px;padding-left:23px;padding-right:10px}.classification-block .select-type .tree .tree-item .children .child-item{border-bottom:1px solid transparent;color:#7c7c7c;display:inline-block;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .tree .tree-item .children .child-item .child-item-name{display:flex;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .tree .tree-item .children .child-item .child-item-name .number{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .tree .tree-item .children .child-item.child-header{padding:0 10px}.classification-block .select-type .tree .tree-item .children .child-item.header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree .tree-item .children .child-item.header-item.selected,.classification-block .select-type .tree .tree-item .children .child-item.header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .select-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .select-type .tree .tree-item:last-child{border-bottom:0}.classification-block .select-type .select-type-footer{align-items:center;background-color:#fff;border-top:1px solid #d5d5d5;bottom:0;display:flex;height:40px;justify-content:space-between;padding:0 12px;position:absolute;width:100%}.classification-block .select-type .select-type-footer .selected-num{color:rgba(0,0,0,.6)}.classification-block .select-type .select-type-footer .selected-item-del{color:#2474ff;cursor:pointer}.classification-block .item-count span{color:#db0a0a}
@@ -1 +1 @@
1
- import{fabric as e}from"../../../../../shared/utils/fabricjs/index.js";import{useThrottleFn as t}from"@vueuse/core";import{range as r}from"lodash-es";import{useDetailEvent as o}from"./hooks/useDetailEvent.js";import{defaultTextStyle as i,drawLine as n}from"../useDraw.js";import{useGrid as s}from"../useGrid.js";import{useElectrocardiogramCumputedPoint as a}from"../useCumputedPoint.js";import"../useEvent.js";import"vue";import"date-fns";import"../temperature/useShadow.js";import{ECG as l}from"../../constants/index.js";import"naive-ui";function d(d,u,m){const{computedX:c,computedY:h}=a(u),{borderStyle:f,originX:g,originY:p,xCellWidth:L,yCellHeight:E,canvasWidth:M,canvasHeight:v,dataList:N,columnNumber:C,gridYNumber:x,gridXNumber:b,rowNumber:S}=u,w=new Set,j=new Set;function R(t=0){N.forEach(((r,o)=>{if(o===N.length-1&&arguments.length)return;const{x:n,y:s,rowIdx:a}=r.origin,d=~~(r.data.length/C),f=r.data.reduce(((e,r,i)=>{const n=o<l.MAXLINENUMBER-1&&i>=t&&i<=t+d||o===l.MAXLINENUMBER-1?[{x:c(e.length+1),y:h(-+r)}]:[];return e.concat(n)}),[]),g=new e.Polyline(f,{fill:"transparent",stroke:"red",strokeWidth:1,left:n,top:s,hasControls:!1,hasBorders:!1,hoverCursor:"default",lockMovementX:!0,lockMovementY:!0,objectCaching:!0});if(A(g,{...u.config,...u,lineStartIndex:t,points:r.data,scale:4,showScaleText:!0,showNumberText:!0,detailRadius:370,beforeEvent:()=>m.value&&Promise.reject()}),g.startIdx=t,o<N.length-1?w.add(g):j.add(g),arguments.length)return;const p=new e.Text(String(r.title),{...i,left:n+L,top:s,originX:"left",originY:"top"});j.add(p)}));const r=arguments.length?[...w]:[...w,...j];d.value.add(...r)}function A(e,t){o(e,t)}s(d,{...u,gridXNumber:b*l.SMALLCELLNUMBER,gridYNumber:x*l.SMALLCELLNUMBER,xCellWidth:L/l.SMALLCELLNUMBER,yCellHeight:E/l.SMALLCELLNUMBER,grid:{...u.grid,subXCell:l.SMALLCELLNUMBER,subYCell:l.SMALLCELLNUMBER}}),function(){const{strokeWidth:t}=f,r=new e.Rect({...f,width:M-t,height:v-t,left:g,top:p,fill:"transparent"});d.value.add(r)}(),function(){const e=M/C,t=[];r(C).forEach((r=>{if(r+1>=C)return;const o=(r+1)*e,i=n([o,0,o,v],{stroke:"#000"});t.push(i)})),d.value.add(...t)}(),R();return{updatePolyline:t((t=>{if(1===C)return;const r=N[N.length-1].data.length,o=~~(r/C),i=t/100*r-o/2,n=i+o>r?r-o:Math.max(0,i);e.util.requestAnimFrame((()=>{if(w.size){const[e]=[...w];if(e.startIdx===n)return;[...w].forEach((e=>d.value.remove(e))),w.clear()}R(n)}))}),150)}}export{d as useElectrocardiogram};
1
+ import{fabric as e}from"../../../../../shared/utils/fabricjs/index.js";import{useThrottleFn as t}from"@vueuse/core";import{range as r}from"lodash-es";import{useDetailEvent as o}from"./hooks/useDetailEvent.js";import{drawLine as i}from"../useDraw.js";import{useGrid as n}from"../useGrid.js";import{useElectrocardiogramCumputedPoint as s}from"../useCumputedPoint.js";import"../useEvent.js";import"vue";import"date-fns";import"../temperature/useShadow.js";import{ECG as a}from"../../constants/index.js";import"naive-ui";function l(l,d,u){const{computedX:c,computedY:m}=s(d),{borderStyle:f,originX:h,originY:g,xCellWidth:L,yCellHeight:p,canvasWidth:E,canvasHeight:M,dataList:v,columnNumber:N,gridYNumber:C,gridXNumber:x,rowNumber:S,lineStyle:b,titleStyle:w}=d,j=new Set,R=new Set;function y(t=0){v.forEach(((r,o)=>{if(o===v.length-1&&arguments.length)return;const{x:i,y:n,offsetY:s,rowIdx:l}=r.origin,f=~~(r.data.length/N),h=r.data.reduce(((e,r,i)=>{const n=o<a.MAXLINENUMBER-1&&i>=t&&i<=t+f||o===a.MAXLINENUMBER-1?[{x:c(e.length+1),y:m(-+r)+s}]:[];return e.concat(n)}),[]),g=new e.Polyline(h,{...b,fill:"transparent",strokeWidth:1,left:i,hasControls:!1,hasBorders:!1,hoverCursor:"default",lockMovementX:!0,lockMovementY:!0,objectCaching:!0,evented:!0,selectable:!0});if(A(g,{...d.config,...d,lineStartIndex:t,points:r.data,scale:4,showScaleText:!0,showNumberText:!0,detailRadius:370,beforeEvent:()=>u.value&&Promise.reject()}),g.startIdx=t,o<v.length-1?j.add(g):R.add(g),arguments.length)return;const p=new e.Text(String(r.title),{...w,left:i+L,top:n,originX:"left",originY:"top"});R.add(p)}));const r=arguments.length?[...j]:[...j,...R];l.value.add(...r)}function A(e,t){o(e,t)}n(l,{...d,gridXNumber:x*a.SMALLCELLNUMBER,gridYNumber:C*a.SMALLCELLNUMBER,xCellWidth:L/a.SMALLCELLNUMBER,yCellHeight:p/a.SMALLCELLNUMBER,grid:{...d.grid,subXCell:a.SMALLCELLNUMBER,subYCell:a.SMALLCELLNUMBER}}),function(){const{strokeWidth:t}=f,r=new e.Rect({...f,width:E-t,height:M-t,left:h,top:g,fill:"transparent"});l.value.add(r)}(),function(){const e=E/N,t=[];r(N).forEach((r=>{if(r+1>=N)return;const o=(r+1)*e,n=i([o,0,o,M],{stroke:"#000"});t.push(n)})),l.value.add(...t)}(),y();return{updatePolyline:t((t=>{if(1===N)return;const r=v[v.length-1].data.length,o=~~(r/N),i=t/100*r-o/2,n=i+o>r?r-o:Math.max(0,i);e.util.requestAnimFrame((()=>{if(j.size){const[e]=[...j];if(e.startIdx===n)return;[...j].forEach((e=>l.value.remove(e))),j.clear()}y(n)}))}),150)}}export{l as useElectrocardiogram};
@@ -1 +1 @@
1
- import{ref as e,computed as a,reactive as t,unref as r,watch as u}from"vue";import{defaultBorderStyle as l}from"../useDraw.js";import"../../../../../shared/utils/fabricjs/index.js";import"date-fns";import"lodash-es";import"../useEvent.js";import"../temperature/useShadow.js";import{ECG as i}from"../../constants/index.js";import"naive-ui";import"@vueuse/core";import{useElectrocardiogram as n}from"./useElectrocardiogram.js";import{useMeasureInstrument as o}from"./useMeasureInstrument.js";function d(d,s,m,v,c,g){const h=e(),p=e(),f=e(),N=e(),b=a((()=>s.data.width)),M=a((()=>s.data.height)),C=a((()=>(b.value-0)/L.value)),w=a((()=>(M.value-0)/j.value)),L=a((()=>{const{dataList:e,config:a}=s.data,t=e[e.length-1].data.length/a.hz;return Math.ceil(t/a.mainXCellValue)})),j=a((()=>{const{config:e}=s.data;return Math.ceil(26*E.value/e.mainYCellValue)})),E=a((()=>{const{dataList:e,config:a}=s.data,t=e[e.length-1].data,r=Math.max(...t)-Math.min(...t);return"uv"===a.valueUnit?.001*r:"v"===a.valueUnit?1e3*r:r})),x=a((()=>{var e;return(null==(e=s.data.grid)?void 0:e.event)||{selectable:!0,evented:!0}})),R=a((()=>{const{mode:e="2-6"}=s.data,[a,t]=e.split("-").map((e=>+e));return{columnNumber:a,rowNumber:t}})),y=a((()=>{const{dataList:e,width:a,config:t}=s.data,{columnNumber:r,rowNumber:u}=R.value,l=a/r,n=E.value/t.mainYCellValue*w.value+w.value,o=w.value,d=e.length;return e.map(((e,a)=>{const t=i.MAXLINENUMBER===d&&a===d-1?u:a%u;return{...e,origin:{x:(i.MAXLINENUMBER===d&&a===d-1?0:Math.floor(a/u))*l,y:t*n+o,rowIdx:t}}}))})),I=t({canvasWidth:s.data.width,canvasHeight:s.data.height,borderStyle:{...l,...s.data.borderStyle||{}},grid:s.data.grid,originX:0,endX:b.value,originY:0,endY:M.value,xCellWidth:C.value,yCellHeight:w.value,gridXNumber:L.value,gridYNumber:j.value,event:x.value,dataList:y.value,columnNumber:r(R).columnNumber,rowNumber:r(R).rowNumber,config:s.data.config});return u((()=>d.value),(e=>{e&&function(){const{useMeasureRuler:e,flag:a,useCaliper:t,useCaliperRuler:r}=o(d,I),{updatePolyline:u}=n(d,I,a);p.value=e,f.value=t,N.value=r,h.value=u}()}),{immediate:!0}),{propItems:I,updatePolyline:h,useMeasureRuler:p,useCaliper:f,useCaliperRuler:N,getGridInfo:function(){return{cellWidth:C.value,cellHeight:w.value,smallCellNumber:i.SMALLCELLNUMBER}}}}export{d as useElectrocardiogramChart};
1
+ import{ref as e,computed as t,reactive as a,unref as r,watch as l}from"vue";import{defaultBorderStyle as u,defaultLineStyle as i,defaultTextStyle as n}from"../useDraw.js";import"../../../../../shared/utils/fabricjs/index.js";import"date-fns";import"lodash-es";import"../useEvent.js";import"../temperature/useShadow.js";import{ECG as o}from"../../constants/index.js";import"naive-ui";import"@vueuse/core";import{useElectrocardiogram as s}from"./useElectrocardiogram.js";import{useMeasureInstrument as d}from"./useMeasureInstrument.js";function m(m,v,c,g,h,p){const f=e(),N=e(),b=e(),y=e(),M=t((()=>v.data.width)),L=t((()=>v.data.height)),S=t((()=>(M.value-0)/C.value)),w=t((()=>(L.value-0)/x.value)),C=t((()=>{const{dataList:e,config:t}=v.data,a=e[e.length-1].data.length/t.hz;return Math.ceil(a/t.mainXCellValue)})),x=t((()=>{const{config:e}=v.data;return Math.ceil(26*j.value/e.mainYCellValue)})),j=t((()=>{const{dataList:e,config:t}=v.data,a=e[e.length-1].data,r=Math.max(...a)-Math.min(...a);return"uv"===t.valueUnit?.001*r:"v"===t.valueUnit?1e3*r:r})),E=t((()=>{var e;return(null==(e=v.data.grid)?void 0:e.event)||{selectable:!0,evented:!0}})),R=t((()=>{const{mode:e="2-6"}=v.data,[t,a]=e.split("-").map((e=>+e));return{columnNumber:t,rowNumber:a}})),I=t((()=>{const{dataList:e,width:t,config:a}=v.data,{columnNumber:r,rowNumber:l}=R.value,u=t/r,i=e.length;return e.map(((e,t)=>{const a=o.MAXLINENUMBER===i&&t===i-1?l:t%l;return{...e,origin:{x:(o.MAXLINENUMBER===i&&t===i-1?0:Math.floor(t/l))*u,y:a*(2*w.value)+w.value,offsetY:(a+1)*(2*w.value),rowIdx:a}}}))})),X=a({canvasWidth:v.data.width,canvasHeight:v.data.height,borderStyle:{...u,...v.data.borderStyle},lineStyle:{...i,...v.data.lineStyle},titleStyle:{...n,...v.data.titleStyle},measureLineStyle:{...i,...v.data.measureLineStyle},measureTextStyle:{...n,...v.data.measureTextStyle},grid:v.data.grid,originX:0,endX:M.value,originY:0,endY:L.value,xCellWidth:S.value,yCellHeight:w.value,gridXNumber:C.value,gridYNumber:x.value,event:E.value,dataList:I.value,columnNumber:r(R).columnNumber,rowNumber:r(R).rowNumber,config:v.data.config});return l((()=>m.value),(e=>{e&&function(){const{useMeasureRuler:e,flag:t,useCaliper:a,useCaliperRuler:r}=d(m,X),{updatePolyline:l}=s(m,X,t);N.value=e,b.value=a,y.value=r,f.value=l}()}),{immediate:!0}),{propItems:X,updatePolyline:f,useMeasureRuler:N,useCaliper:b,useCaliperRuler:y,getGridInfo:function(){return{cellWidth:S.value,cellHeight:w.value,smallCellNumber:o.SMALLCELLNUMBER}}}}export{m as useElectrocardiogramChart};
@@ -1 +1 @@
1
- import{ref as e}from"vue";import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawLine as o,drawText as r}from"../useDraw.js";import{useElectrocardiogramCumputedPoint as i}from"../useCumputedPoint.js";import"../useEvent.js";import"lodash-es";import"date-fns";import"../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";function l(l,n){const{getXValue:s,getYValue:u}=i(n),{yCellHeight:a,xCellWidth:f}=n,c=e(!1),h={origin:{x:0,y:0},line:null,rendering:!1},d={origin:{x:300,y:0},caliper:{width:4*f,height:60,rect:null},caliperRuler:{width:6*f,height:120,rect:null}};function v(e){m();const{width:o,height:i,rect:n}=d[e];if(n)return;const{x:s,y:u}=d.origin,a=d.caliper.height;d[e].rect=new t.Rect({left:s+2,top:u,width:o-4,height:i,strokeWidth:0,fill:"transparent",hasControls:!1,hasBorders:!1,hoverCursor:"move"});const f={hasControls:!1,hasBorders:!1,hoverCursor:"e-resize",stroke:"blue",strokeWidth:2,__type:e},c=new t.Line([s,u,s,i],{...f,lockMovementY:!0}),h=new t.Line([s+o,u,s+o,i],{...f,lockMovementY:!0}),v=new t.Line([s,a,s+o+2,a],{...f,lockMovementX:!0,evented:"caliper"===e,hoverCursor:"caliper"===e?"n-resize":"default"}),g=r([s,v.top+10],{value:p(v.x1,v.x2),fill:"blue",originX:"left",originY:"top"});c.rect=d[e].rect,h.rect=d[e].rect,v.rect=d[e].rect,Object.assign(d[e].rect,{leftLine:c,rightLine:h,horizontalLine:v,text:g}),function(e,t){e.on("moving",(()=>{const{leftLine:o,rightLine:r,horizontalLine:i,text:l}=e;null==o||o.setCoords().set({x1:e.left-2,y1:e.top,x2:e.left-2,y2:e.top+e.height}),null==r||r.setCoords().set({x1:e.left+e.width,y1:e.top,x2:e.left+e.width,y2:e.top+e.height});const n="caliper"===t?e.top+e.height:e.top+e.height/2;null==i||i.setCoords().set({x1:e.left-2,y1:n,x2:e.left+e.width+2,y2:n}),l.setCoords().set({left:e.left,top:n+10})})),e.on("mouseup",(t=>{1===t.button&&(l.value.discardActiveObject(),e.leftLine.bringToFront(),e.rightLine.bringToFront(),e.horizontalLine.bringToFront())}))}(d[e].rect,e),x(c,"left"),x(h,"right"),"caliper"===e&&x(v,"horizontal"),l.value.add(d[e].rect,c,h,v,g)}function p(e,t){return`${1e3*s(t-e)}ms`}function x(e,t){e.on("moving",(()=>{const{rect:o}=e;if(!o)return;const{leftLine:r,rightLine:i,horizontalLine:l,text:n}=o;if("horizontal"===t)return e.top<=o.top+1?e.setCoords().set({y1:o.top+1,y2:o.top+1}):e.setCoords().set({y1:e.top,y2:e.top}),o.setCoords().set({height:e.top-o.top}),null==r||r.setCoords().set({y2:e.top}),null==i||i.setCoords().set({y2:e.top}),void n.setCoords().set({top:e.top+10});"left"===t&&(e.left>=i.left-1?e.setCoords().set({x1:i.left-1,x2:i.left-1}):e.setCoords().set({x1:e.left,x2:e.left}),o.setCoords().set({left:e.left+2,width:i.left-e.left-4}),l.setCoords().set({x1:e.left}),n.setCoords().set({left:e.left})),"right"===t&&(e.left<=r.left+1?e.setCoords().set({x1:r.left+1,x2:r.left+1}):e.setCoords().set({x1:e.left,x2:e.left}),o.setCoords().set({width:e.left-r.left-4}),l.setCoords().set({x2:e.left+2})),n.set("text",p(l.x1,l.x2))}))}function m(){Object.values(d).forEach((e=>{const{rect:t}=e;t&&(l.value.remove(t),l.value.remove(t.leftLine),l.value.remove(t.rightLine),l.value.remove(t.horizontalLine),l.value.remove(t.text),e.rect=null)})),h.line&&(l.value.remove(h.line),h.line.text&&l.value.remove(h.line.text),h.line=null)}return l.value.on("mouse:down",(e=>{if(1===e.button&&c.value){const{x:t=0,y:o=0}=e.pointer||{};h.origin={x:t,y:o},h.rendering=!0}})),l.value.on("mouse:up",(e=>{const{button:t}=e;1===t&&c.value&&setTimeout((()=>{c.value=!1,h.rendering=!1})),3===t&&m()})),l.value.on("mouse:move",(e=>{var t;if(1===e.button&&c.value&&h.rendering){const{x:i=0,y:n=0}=e.pointer||{};h.line&&l.value.remove(h.line),(null==(t=h.line)?void 0:t.text)&&l.value.remove(h.line.text);const{x:f,y:c}=h.origin;h.line=o([f,c,i,n],{stroke:"blue"});const d=-u(n-c).toFixed(2),v=1e3*s(i-f),p=r([i,n+2*a],{value:`${d}mv\n${v}ms`,fill:"blue"});h.line.text=p,l.value.add(h.line,p)}})),{flag:c,useMeasureRuler:function(){c.value||(c.value=!0)},useCaliper:function(){v("caliper")},useCaliperRuler:function(){v("caliperRuler")}}}export{l as useMeasureInstrument};
1
+ import{ref as e}from"vue";import{fabric as t}from"../../../../../shared/utils/fabricjs/index.js";import{drawLine as o,drawText as r}from"../useDraw.js";import{useElectrocardiogramCumputedPoint as i}from"../useCumputedPoint.js";import"../useEvent.js";import"lodash-es";import"date-fns";import"../temperature/useShadow.js";import"naive-ui";import"@vueuse/core";function n(n,l){const{getXValue:s,getYValue:u}=i(l),{yCellHeight:a,xCellWidth:c,measureLineStyle:f,measureTextStyle:h}=l,d=e(!1),v={origin:{x:0,y:0},line:null,rendering:!1},p={origin:{x:300,y:0},caliper:{width:4*c,height:60,rect:null},caliperRuler:{width:6*c,height:120,rect:null}};function m(e){C();const{width:o,height:i,rect:l}=p[e];if(l)return;const{x:s,y:u}=p.origin,a=p.caliper.height;p[e].rect=new t.Rect({left:s,top:u,width:o,height:i,strokeWidth:0,fill:"transparent",hasControls:!1,hasBorders:!1,hoverCursor:"move"});const c={...f,hasControls:!1,hasBorders:!1,hoverCursor:"e-resize",strokeWidth:2,__type:e,evented:!0,selectable:!0},d=new t.Line([s,u,s,i],{...c,lockMovementY:!0,originX:"center"}),v=new t.Line([s+o,u,s+o,i],{...c,lockMovementY:!0,originX:"center"}),m=new t.Line([s,a,s+o,a],{...c,lockMovementX:!0,evented:"caliper"===e,hoverCursor:"caliper"===e?"n-resize":"default",originY:"center"}),y=r([s,m.top+10],{value:x(m.x1,m.x2),...h,originX:"left",originY:"top"});d.rect=p[e].rect,v.rect=p[e].rect,m.rect=p[e].rect,Object.assign(p[e].rect,{leftLine:d,rightLine:v,horizontalLine:m,text:y}),function(e,t){e.on("moving",(()=>{const{leftLine:o,rightLine:r,horizontalLine:i,text:n}=e;null==o||o.setCoords().set({x1:e.left,y1:e.top,x2:e.left,y2:e.top+e.height}),null==r||r.setCoords().set({x1:e.left+e.width,y1:e.top,x2:e.left+e.width,y2:e.top+e.height});const l="caliper"===t?e.top+e.height:e.top+e.height/2;null==i||i.setCoords().set({x1:e.left,y1:l,x2:e.left+e.width,y2:l}),n.setCoords().set({left:e.left,top:l+10})})),e.on("mouseup",(t=>{1===t.button&&(n.value.discardActiveObject(),e.leftLine.bringToFront(),e.rightLine.bringToFront(),e.horizontalLine.bringToFront())}))}(p[e].rect,e),g(d,"left"),g(v,"right"),"caliper"===e&&g(m,"horizontal"),n.value.add(p[e].rect,d,v,m,y)}function x(e,t){return`${1e3*s(t-e)}ms`}function g(e,t){e.on("moving",(()=>{const{rect:o}=e;if(!o)return;const{leftLine:r,rightLine:i,horizontalLine:n,text:l}=o;if("horizontal"===t)return e.top<=o.top?e.setCoords().set({y1:o.top,y2:o.top}):e.setCoords().set({y1:e.top,y2:e.top}),o.setCoords().set({height:e.top-o.top}),null==r||r.setCoords().set({y2:e.top}),null==i||i.setCoords().set({y2:e.top}),void l.setCoords().set({top:e.top+10});"left"===t&&(e.left>=i.left?e.setCoords().set({x1:i.left,x2:i.left}):e.setCoords().set({x1:e.left,x2:e.left}),o.setCoords().set({left:e.left,width:i.left-e.left}),n.setCoords().set({x1:e.left}),l.setCoords().set({left:e.left})),"right"===t&&(e.left<=r.left?e.setCoords().set({x1:r.left,x2:r.left}):e.setCoords().set({x1:e.left,x2:e.left}),o.setCoords().set({width:e.left-r.left}),n.setCoords().set({x2:e.left})),l.set("text",x(n.x1,n.x2))}))}function C(){Object.values(p).forEach((e=>{const{rect:t}=e;t&&(n.value.remove(t),n.value.remove(t.leftLine),n.value.remove(t.rightLine),n.value.remove(t.horizontalLine),n.value.remove(t.text),e.rect=null)})),v.line&&(n.value.remove(v.line),v.line.text&&n.value.remove(v.line.text),v.line=null)}return n.value.on("mouse:down",(e=>{if(1===e.button&&d.value){const{x:t=0,y:o=0}=e.pointer||{};v.origin={x:t,y:o},v.rendering=!0}})),n.value.on("mouse:up",(e=>{const{button:t}=e;1===t&&d.value&&setTimeout((()=>{d.value=!1,v.rendering=!1})),3===t&&C()})),n.value.on("mouse:move",(e=>{var t;if(1===e.button&&d.value&&v.rendering){const{x:i=0,y:l=0}=e.pointer||{};v.line&&n.value.remove(v.line),(null==(t=v.line)?void 0:t.text)&&n.value.remove(v.line.text);const{x:c,y:d}=v.origin;v.line=o([c,d,i,l],f);const p=-u(l-d).toFixed(2),m=1e3*s(i-c),x=r([i,l+2*a],{value:`${p}mv\n${m}ms`,...h});v.line.text=x,n.value.add(v.line,x)}})),{flag:d,useMeasureRuler:function(){d.value||(d.value=!0)},useCaliper:function(){m("caliper")},useCaliperRuler:function(){m("caliperRuler")}}}export{n as useMeasureInstrument};
@@ -410,7 +410,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
410
410
  NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
411
411
  } | undefined;
412
412
  }[] | undefined;
413
- show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
413
+ show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
414
414
  is_allow_check_mid?: import("..").FormCommonState | undefined;
415
415
  allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
416
416
  prefix?: string | import("../../shared/types").AnyObject | (() => any) | undefined;
@@ -2160,7 +2160,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
2160
2160
  NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
2161
2161
  } | undefined;
2162
2162
  }[] | undefined;
2163
- show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
2163
+ show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
2164
2164
  is_allow_check_mid?: import("..").FormCommonState | undefined;
2165
2165
  allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
2166
2166
  prefix?: string | import("../../shared/types").AnyObject | (() => any) | undefined;
@@ -3766,6 +3766,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
3766
3766
  NEQ?: ((v1: any, v2: any) => boolean) | undefined;
3767
3767
  NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
3768
3768
  } | undefined;
3769
+ isRestoreDefault?: boolean | undefined;
3769
3770
  sqlExpression?: string | undefined;
3770
3771
  showField?: string[] | undefined;
3771
3772
  hideField?: string[] | undefined;
@@ -3947,7 +3948,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
3947
3948
  NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
3948
3949
  } | undefined;
3949
3950
  }[] | undefined;
3950
- show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
3951
+ show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
3951
3952
  is_allow_check_mid?: import("..").FormCommonState | undefined;
3952
3953
  allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
3953
3954
  prefix?: string | import("../../shared/types").AnyObject | (() => any) | undefined;
@@ -5697,7 +5698,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
5697
5698
  NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
5698
5699
  } | undefined;
5699
5700
  }[] | undefined;
5700
- show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
5701
+ show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
5701
5702
  is_allow_check_mid?: import("..").FormCommonState | undefined;
5702
5703
  allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
5703
5704
  prefix?: string | import("../../shared/types").AnyObject | (() => any) | undefined;
@@ -8698,7 +8699,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8698
8699
  NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
8699
8700
  } | undefined;
8700
8701
  }[] | undefined;
8701
- show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
8702
+ show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
8702
8703
  is_allow_check_mid?: import("..").FormCommonState | undefined;
8703
8704
  allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
8704
8705
  prefix?: string | import("../../shared/types").AnyObject | (() => any) | undefined;
@@ -10459,7 +10460,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
10459
10460
  NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
10460
10461
  } | undefined;
10461
10462
  }[] | undefined;
10462
- show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
10463
+ show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
10463
10464
  is_allow_check_mid?: import("..").FormCommonState | undefined;
10464
10465
  allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
10465
10466
  prefix?: string | import("../../shared/types").AnyObject | (() => any) | undefined;
@@ -12193,7 +12194,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
12193
12194
  NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
12194
12195
  } | undefined;
12195
12196
  }[] | undefined;
12196
- show_mode?: ("DROPDOWN" | "H_TILE" | "V_TILE" | "TILE") | undefined;
12197
+ show_mode?: import("../../shared/types").LowCodeTypes.showModeType | undefined;
12197
12198
  is_allow_check_mid?: import("..").FormCommonState | undefined;
12198
12199
  allow_check_mid_level?: "1" | "2" | "3" | "4" | undefined;
12199
12200
  prefix?: string | import("../../shared/types").AnyObject | (() => any) | undefined;
@@ -14776,6 +14777,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14776
14777
  NEQ?: ((v1: any, v2: any) => boolean) | undefined;
14777
14778
  NOT_NULL?: ((v1: any, v2: any) => boolean) | undefined;
14778
14779
  } | undefined;
14780
+ isRestoreDefault?: boolean | undefined;
14779
14781
  sqlExpression?: string | undefined;
14780
14782
  showField?: string[] | undefined;
14781
14783
  hideField?: string[] | undefined;