cnhis-design-vue 3.2.15-beta.8 → 3.2.15-release.5

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 (105) hide show
  1. package/es/components/ai-chat/index.d.ts +9 -0
  2. package/es/components/ai-chat/src/Index.vue.d.ts +9 -0
  3. package/es/components/ai-chat/src/Index.vue2.js +1 -1
  4. package/es/components/ai-chat/src/components/ChatCard.js +1 -1
  5. package/es/components/ai-chat/style/index.css +1 -1
  6. package/es/components/branch-notice/index.d.ts +32 -3
  7. package/es/components/branch-notice/src/BranchNotice.vue.d.ts +9 -3
  8. package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -1
  9. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  10. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  11. package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
  12. package/es/components/classification/index.d.ts +30 -0
  13. package/es/components/classification/src/components/search-filter/index.vue.d.ts +30 -0
  14. package/es/components/classification/src/components/set-classification/index.vue.d.ts +30 -0
  15. package/es/components/classification/src/index.vue.d.ts +30 -0
  16. package/es/components/classification/src/index.vue2.js +1 -1
  17. package/es/components/date-picker/index.d.ts +10 -0
  18. package/es/components/date-picker/src/DatePicker.vue.d.ts +10 -0
  19. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  20. package/es/components/expand-field/index.d.ts +1 -1
  21. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +1 -1
  22. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +1 -1
  23. package/es/components/expand-field/src/components/form.vue.d.ts +1 -1
  24. package/es/components/expand-field/src/index.vue.d.ts +1 -1
  25. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  26. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -0
  27. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  28. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  29. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -2
  30. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  31. package/es/components/field-set/src/FieldColor.vue.d.ts +21 -1
  32. package/es/components/field-set/src/FieldFilter.vue.d.ts +3 -2
  33. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  34. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  35. package/es/components/field-set/src/components/condition.vue.d.ts +10 -0
  36. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +20 -0
  37. package/es/components/field-set/src/components/edit-filter.vue.d.ts +10 -0
  38. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  39. package/es/components/field-set/src/components/table-row.vue2.js +1 -1
  40. package/es/components/field-set/src/utils/index.js +1 -1
  41. package/es/components/form-config/index.d.ts +1021 -1
  42. package/es/components/form-config/src/FormConfig.vue.d.ts +1021 -1
  43. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -1
  44. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  45. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1019 -0
  46. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
  47. package/es/components/form-config/src/constants/index.js +1 -1
  48. package/es/components/form-config/style/index.css +1 -1
  49. package/es/components/form-render/src/components/renderer/select.d.ts +6 -0
  50. package/es/components/form-render/src/components/renderer/select.js +1 -1
  51. package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
  52. package/es/components/iho-chat/index.d.ts +300 -79
  53. package/es/components/iho-chat/src/Index.vue.d.ts +300 -79
  54. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  55. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +33 -9
  56. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  57. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +33 -10
  58. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +33 -10
  59. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +109 -33
  60. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +33 -11
  61. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +10 -1
  62. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +0 -1
  63. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +33 -11
  64. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +34 -10
  65. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  66. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +0 -1
  67. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +15 -1
  68. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  69. package/es/components/iho-chat/src/components/Video.vue.d.ts +1 -1
  70. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  71. package/es/components/iho-chat/src/hooks/useData.d.ts +4 -2
  72. package/es/components/iho-chat/src/hooks/useData.js +1 -1
  73. package/es/components/iho-chat/src/hooks/useVideo.d.ts +1 -1
  74. package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
  75. package/es/components/iho-chat/src/types/index.d.ts +13 -2
  76. package/es/components/iho-chat/style/iconfont.ttf +0 -0
  77. package/es/components/iho-chat/style/index.css +1 -1
  78. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +10 -0
  79. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  80. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +10 -0
  81. package/es/components/iho-table/style/index.css +1 -1
  82. package/es/components/index.css +1 -1
  83. package/es/components/select-person/index.d.ts +1 -1
  84. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  85. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  86. package/es/components/select-person/src/index.vue.d.ts +1 -1
  87. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +10 -0
  88. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +10 -0
  89. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +10 -0
  90. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +10 -0
  91. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +20 -0
  92. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +10 -0
  93. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +10 -0
  94. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +20 -0
  95. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -0
  96. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +10 -0
  97. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +10 -0
  98. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +10 -0
  99. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +10 -0
  100. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  101. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +40 -0
  102. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +40 -0
  103. package/es/shared/package.json.js +1 -1
  104. package/es/shared/types/business.d.ts +4 -0
  105. package/package.json +2 -2
@@ -842,6 +842,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
842
842
  type: StringConstructor;
843
843
  default: string;
844
844
  };
845
+ isDateDisabled: {
846
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
847
+ };
845
848
  }, {
846
849
  attrs: {
847
850
  [x: string]: unknown;
@@ -874,6 +877,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
874
877
  type: StringConstructor;
875
878
  default: string;
876
879
  };
880
+ isDateDisabled: {
881
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
882
+ };
877
883
  }>> & {
878
884
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
879
885
  }>>;
@@ -886,6 +892,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
886
892
  isDateTime: import("vue").ComputedRef<boolean>;
887
893
  formatRef: import("vue").ComputedRef<string>;
888
894
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
895
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
889
896
  focus: () => any;
890
897
  blur: () => any;
891
898
  handleConfirm: (target: HTMLInputElement) => void;
@@ -925,6 +932,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
925
932
  type: StringConstructor;
926
933
  default: string;
927
934
  };
935
+ isDateDisabled: {
936
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
937
+ };
928
938
  }>> & {
929
939
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
930
940
  }, {
@@ -1533,6 +1543,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1533
1543
  type: StringConstructor;
1534
1544
  default: string;
1535
1545
  };
1546
+ isDateDisabled: {
1547
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1548
+ };
1536
1549
  }, {
1537
1550
  attrs: {
1538
1551
  [x: string]: unknown;
@@ -1565,6 +1578,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1565
1578
  type: StringConstructor;
1566
1579
  default: string;
1567
1580
  };
1581
+ isDateDisabled: {
1582
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1583
+ };
1568
1584
  }>> & {
1569
1585
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1570
1586
  }>>;
@@ -1577,6 +1593,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1577
1593
  isDateTime: import("vue").ComputedRef<boolean>;
1578
1594
  formatRef: import("vue").ComputedRef<string>;
1579
1595
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1596
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1580
1597
  focus: () => any;
1581
1598
  blur: () => any;
1582
1599
  handleConfirm: (target: HTMLInputElement) => void;
@@ -1616,6 +1633,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1616
1633
  type: StringConstructor;
1617
1634
  default: string;
1618
1635
  };
1636
+ isDateDisabled: {
1637
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1638
+ };
1619
1639
  }>> & {
1620
1640
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1621
1641
  }, {
@@ -2076,6 +2096,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
2076
2096
  type: StringConstructor;
2077
2097
  default: string;
2078
2098
  };
2099
+ isDateDisabled: {
2100
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
2101
+ };
2079
2102
  }, {
2080
2103
  attrs: {
2081
2104
  [x: string]: unknown;
@@ -2108,6 +2131,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
2108
2131
  type: StringConstructor;
2109
2132
  default: string;
2110
2133
  };
2134
+ isDateDisabled: {
2135
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
2136
+ };
2111
2137
  }>> & {
2112
2138
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
2113
2139
  }>>;
@@ -2120,6 +2146,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
2120
2146
  isDateTime: import("vue").ComputedRef<boolean>;
2121
2147
  formatRef: import("vue").ComputedRef<string>;
2122
2148
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
2149
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
2123
2150
  focus: () => any;
2124
2151
  blur: () => any;
2125
2152
  handleConfirm: (target: HTMLInputElement) => void;
@@ -2159,6 +2186,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
2159
2186
  type: StringConstructor;
2160
2187
  default: string;
2161
2188
  };
2189
+ isDateDisabled: {
2190
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
2191
+ };
2162
2192
  }>> & {
2163
2193
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
2164
2194
  }, {
@@ -305,6 +305,9 @@ declare const _default: import("vue").DefineComponent<{
305
305
  type: StringConstructor;
306
306
  default: string;
307
307
  };
308
+ isDateDisabled: {
309
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
310
+ };
308
311
  }, {
309
312
  attrs: {
310
313
  [x: string]: unknown;
@@ -337,6 +340,9 @@ declare const _default: import("vue").DefineComponent<{
337
340
  type: StringConstructor;
338
341
  default: string;
339
342
  };
343
+ isDateDisabled: {
344
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
345
+ };
340
346
  }>> & {
341
347
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
342
348
  }>>;
@@ -349,6 +355,7 @@ declare const _default: import("vue").DefineComponent<{
349
355
  isDateTime: import("vue").ComputedRef<boolean>;
350
356
  formatRef: import("vue").ComputedRef<string>;
351
357
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
358
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
352
359
  focus: () => any;
353
360
  blur: () => any;
354
361
  handleConfirm: (target: HTMLInputElement) => void;
@@ -388,6 +395,9 @@ declare const _default: import("vue").DefineComponent<{
388
395
  type: StringConstructor;
389
396
  default: string;
390
397
  };
398
+ isDateDisabled: {
399
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
400
+ };
391
401
  }>> & {
392
402
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
393
403
  }, {
@@ -996,6 +1006,9 @@ declare const _default: import("vue").DefineComponent<{
996
1006
  type: StringConstructor;
997
1007
  default: string;
998
1008
  };
1009
+ isDateDisabled: {
1010
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1011
+ };
999
1012
  }, {
1000
1013
  attrs: {
1001
1014
  [x: string]: unknown;
@@ -1028,6 +1041,9 @@ declare const _default: import("vue").DefineComponent<{
1028
1041
  type: StringConstructor;
1029
1042
  default: string;
1030
1043
  };
1044
+ isDateDisabled: {
1045
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1046
+ };
1031
1047
  }>> & {
1032
1048
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1033
1049
  }>>;
@@ -1040,6 +1056,7 @@ declare const _default: import("vue").DefineComponent<{
1040
1056
  isDateTime: import("vue").ComputedRef<boolean>;
1041
1057
  formatRef: import("vue").ComputedRef<string>;
1042
1058
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1059
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1043
1060
  focus: () => any;
1044
1061
  blur: () => any;
1045
1062
  handleConfirm: (target: HTMLInputElement) => void;
@@ -1079,6 +1096,9 @@ declare const _default: import("vue").DefineComponent<{
1079
1096
  type: StringConstructor;
1080
1097
  default: string;
1081
1098
  };
1099
+ isDateDisabled: {
1100
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1101
+ };
1082
1102
  }>> & {
1083
1103
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1084
1104
  }, {
@@ -1539,6 +1559,9 @@ declare const _default: import("vue").DefineComponent<{
1539
1559
  type: StringConstructor;
1540
1560
  default: string;
1541
1561
  };
1562
+ isDateDisabled: {
1563
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1564
+ };
1542
1565
  }, {
1543
1566
  attrs: {
1544
1567
  [x: string]: unknown;
@@ -1571,6 +1594,9 @@ declare const _default: import("vue").DefineComponent<{
1571
1594
  type: StringConstructor;
1572
1595
  default: string;
1573
1596
  };
1597
+ isDateDisabled: {
1598
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1599
+ };
1574
1600
  }>> & {
1575
1601
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1576
1602
  }>>;
@@ -1583,6 +1609,7 @@ declare const _default: import("vue").DefineComponent<{
1583
1609
  isDateTime: import("vue").ComputedRef<boolean>;
1584
1610
  formatRef: import("vue").ComputedRef<string>;
1585
1611
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1612
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1586
1613
  focus: () => any;
1587
1614
  blur: () => any;
1588
1615
  handleConfirm: (target: HTMLInputElement) => void;
@@ -1622,6 +1649,9 @@ declare const _default: import("vue").DefineComponent<{
1622
1649
  type: StringConstructor;
1623
1650
  default: string;
1624
1651
  };
1652
+ isDateDisabled: {
1653
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1654
+ };
1625
1655
  }>> & {
1626
1656
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1627
1657
  }, {
@@ -599,6 +599,9 @@ declare const _default: import("vue").DefineComponent<{
599
599
  type: StringConstructor;
600
600
  default: string;
601
601
  };
602
+ isDateDisabled: {
603
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
604
+ };
602
605
  }, {
603
606
  attrs: {
604
607
  [x: string]: unknown;
@@ -631,6 +634,9 @@ declare const _default: import("vue").DefineComponent<{
631
634
  type: StringConstructor;
632
635
  default: string;
633
636
  };
637
+ isDateDisabled: {
638
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
639
+ };
634
640
  }>> & {
635
641
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
636
642
  }>>;
@@ -643,6 +649,7 @@ declare const _default: import("vue").DefineComponent<{
643
649
  isDateTime: import("vue").ComputedRef<boolean>;
644
650
  formatRef: import("vue").ComputedRef<string>;
645
651
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
652
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
646
653
  focus: () => any;
647
654
  blur: () => any;
648
655
  handleConfirm: (target: HTMLInputElement) => void;
@@ -682,6 +689,9 @@ declare const _default: import("vue").DefineComponent<{
682
689
  type: StringConstructor;
683
690
  default: string;
684
691
  };
692
+ isDateDisabled: {
693
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
694
+ };
685
695
  }>> & {
686
696
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
687
697
  }, {
@@ -1290,6 +1300,9 @@ declare const _default: import("vue").DefineComponent<{
1290
1300
  type: StringConstructor;
1291
1301
  default: string;
1292
1302
  };
1303
+ isDateDisabled: {
1304
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1305
+ };
1293
1306
  }, {
1294
1307
  attrs: {
1295
1308
  [x: string]: unknown;
@@ -1322,6 +1335,9 @@ declare const _default: import("vue").DefineComponent<{
1322
1335
  type: StringConstructor;
1323
1336
  default: string;
1324
1337
  };
1338
+ isDateDisabled: {
1339
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1340
+ };
1325
1341
  }>> & {
1326
1342
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1327
1343
  }>>;
@@ -1334,6 +1350,7 @@ declare const _default: import("vue").DefineComponent<{
1334
1350
  isDateTime: import("vue").ComputedRef<boolean>;
1335
1351
  formatRef: import("vue").ComputedRef<string>;
1336
1352
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1353
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1337
1354
  focus: () => any;
1338
1355
  blur: () => any;
1339
1356
  handleConfirm: (target: HTMLInputElement) => void;
@@ -1373,6 +1390,9 @@ declare const _default: import("vue").DefineComponent<{
1373
1390
  type: StringConstructor;
1374
1391
  default: string;
1375
1392
  };
1393
+ isDateDisabled: {
1394
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1395
+ };
1376
1396
  }>> & {
1377
1397
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1378
1398
  }, {
@@ -1833,6 +1853,9 @@ declare const _default: import("vue").DefineComponent<{
1833
1853
  type: StringConstructor;
1834
1854
  default: string;
1835
1855
  };
1856
+ isDateDisabled: {
1857
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1858
+ };
1836
1859
  }, {
1837
1860
  attrs: {
1838
1861
  [x: string]: unknown;
@@ -1865,6 +1888,9 @@ declare const _default: import("vue").DefineComponent<{
1865
1888
  type: StringConstructor;
1866
1889
  default: string;
1867
1890
  };
1891
+ isDateDisabled: {
1892
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1893
+ };
1868
1894
  }>> & {
1869
1895
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1870
1896
  }>>;
@@ -1877,6 +1903,7 @@ declare const _default: import("vue").DefineComponent<{
1877
1903
  isDateTime: import("vue").ComputedRef<boolean>;
1878
1904
  formatRef: import("vue").ComputedRef<string>;
1879
1905
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1906
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1880
1907
  focus: () => any;
1881
1908
  blur: () => any;
1882
1909
  handleConfirm: (target: HTMLInputElement) => void;
@@ -1916,6 +1943,9 @@ declare const _default: import("vue").DefineComponent<{
1916
1943
  type: StringConstructor;
1917
1944
  default: string;
1918
1945
  };
1946
+ isDateDisabled: {
1947
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1948
+ };
1919
1949
  }>> & {
1920
1950
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1921
1951
  }, {
@@ -844,6 +844,9 @@ declare const _default: import("vue").DefineComponent<{
844
844
  type: StringConstructor;
845
845
  default: string;
846
846
  };
847
+ isDateDisabled: {
848
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
849
+ };
847
850
  }, {
848
851
  attrs: {
849
852
  [x: string]: unknown;
@@ -876,6 +879,9 @@ declare const _default: import("vue").DefineComponent<{
876
879
  type: StringConstructor;
877
880
  default: string;
878
881
  };
882
+ isDateDisabled: {
883
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
884
+ };
879
885
  }>> & {
880
886
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
881
887
  }>>;
@@ -888,6 +894,7 @@ declare const _default: import("vue").DefineComponent<{
888
894
  isDateTime: import("vue").ComputedRef<boolean>;
889
895
  formatRef: import("vue").ComputedRef<string>;
890
896
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
897
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
891
898
  focus: () => any;
892
899
  blur: () => any;
893
900
  handleConfirm: (target: HTMLInputElement) => void;
@@ -927,6 +934,9 @@ declare const _default: import("vue").DefineComponent<{
927
934
  type: StringConstructor;
928
935
  default: string;
929
936
  };
937
+ isDateDisabled: {
938
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
939
+ };
930
940
  }>> & {
931
941
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
932
942
  }, {
@@ -1535,6 +1545,9 @@ declare const _default: import("vue").DefineComponent<{
1535
1545
  type: StringConstructor;
1536
1546
  default: string;
1537
1547
  };
1548
+ isDateDisabled: {
1549
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
1550
+ };
1538
1551
  }, {
1539
1552
  attrs: {
1540
1553
  [x: string]: unknown;
@@ -1567,6 +1580,9 @@ declare const _default: import("vue").DefineComponent<{
1567
1580
  type: StringConstructor;
1568
1581
  default: string;
1569
1582
  };
1583
+ isDateDisabled: {
1584
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
1585
+ };
1570
1586
  }>> & {
1571
1587
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1572
1588
  }>>;
@@ -1579,6 +1595,7 @@ declare const _default: import("vue").DefineComponent<{
1579
1595
  isDateTime: import("vue").ComputedRef<boolean>;
1580
1596
  formatRef: import("vue").ComputedRef<string>;
1581
1597
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1598
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
1582
1599
  focus: () => any;
1583
1600
  blur: () => any;
1584
1601
  handleConfirm: (target: HTMLInputElement) => void;
@@ -1618,6 +1635,9 @@ declare const _default: import("vue").DefineComponent<{
1618
1635
  type: StringConstructor;
1619
1636
  default: string;
1620
1637
  };
1638
+ isDateDisabled: {
1639
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
1640
+ };
1621
1641
  }>> & {
1622
1642
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1623
1643
  }, {
@@ -2078,6 +2098,9 @@ declare const _default: import("vue").DefineComponent<{
2078
2098
  type: StringConstructor;
2079
2099
  default: string;
2080
2100
  };
2101
+ isDateDisabled: {
2102
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
2103
+ };
2081
2104
  }, {
2082
2105
  attrs: {
2083
2106
  [x: string]: unknown;
@@ -2110,6 +2133,9 @@ declare const _default: import("vue").DefineComponent<{
2110
2133
  type: StringConstructor;
2111
2134
  default: string;
2112
2135
  };
2136
+ isDateDisabled: {
2137
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
2138
+ };
2113
2139
  }>> & {
2114
2140
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
2115
2141
  }>>;
@@ -2122,6 +2148,7 @@ declare const _default: import("vue").DefineComponent<{
2122
2148
  isDateTime: import("vue").ComputedRef<boolean>;
2123
2149
  formatRef: import("vue").ComputedRef<string>;
2124
2150
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
2151
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
2125
2152
  focus: () => any;
2126
2153
  blur: () => any;
2127
2154
  handleConfirm: (target: HTMLInputElement) => void;
@@ -2161,6 +2188,9 @@ declare const _default: import("vue").DefineComponent<{
2161
2188
  type: StringConstructor;
2162
2189
  default: string;
2163
2190
  };
2191
+ isDateDisabled: {
2192
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
2193
+ };
2164
2194
  }>> & {
2165
2195
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
2166
2196
  }, {
@@ -1 +1 @@
1
- import{defineComponent as e,useAttrs as i,ref as n,provide as l,computed as t,onMounted as a,onBeforeMount as o,watch as d,openBlock as s,createElementBlock as c,normalizeClass as r,unref as u,normalizeStyle as g,withDirectives as h,createVNode as f,createTextVNode as v,toDisplayString as m,createCommentVNode as p,createElementVNode as y,Fragment as w,renderList as C,createBlock as k,withCtx as b}from"vue";import{useMessage as L,NIcon as S,NTooltip as B}from"naive-ui";import{Repeat as x,SettingsOutline as N,ChevronDown as O,ChevronForward as I,Checkmark as _,Close as j,ChevronUp as z}from"@vicons/ionicons5";import M from"./components/set-classification/index.vue.js";import{vFlexibleResize as T}from"../../../shared/directive/flexibleResize.js";import{InjectionFilterApiConfig as A,InjectionClassifyfilterType as P}from"../../table-filter/src/constants/index.js";import{root_isShowResetButton as J}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"},oe=["onClick"],de={class:"number"},se={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),ge={class:"name"},he={class:"name"},fe={key:0,class:"main-wrapper"},ve=["onClick"],me={class:"number"},pe={key:0,class:"item-count"},ye={class:"tree-footer"},we=["onClick"],Ce=["onClick"],ke={class:"child-item-name"},be={class:"number"},Le={key:0,class:"item-count"},Se={key:0,class:"select-type-footer"},Be={class:"selected-num"},xe=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1);var Ne=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},showClassificationIndexs:{type:Array,default:()=>[0,1,2]},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:Ne}){var Oe,Ie;const _e=e,{handleGetConfigApi:je}=E(),{transformClassifyChild:ze}=D(),Me=i(),Te=L(),Ae=n(null);let Pe=n(150),Je=n(!1),Ee=n([]),De=n([]),Fe=n([]),Re=n(2),We=n({name:(null==(Oe=window.getLanguageByCode)?void 0:Oe.call(window,"10010.1.416"))||"全部数据",sid:"all_data"}),qe=n([]),Ge=n(""),Qe=n(!1),$e=n((null==(Ie=window.getLanguageByCode)?void 0:Ie.call(window,"10010.1.416"))||"全部数据");l(J,_e.isShowResetButton),l(A,_e.filterApiConfig),l(P,_e.filterType);let Ve=t((()=>0===Re.value?{marginRight:"8px"}:2===Re.value?{display:"inline-block"}:{})),He=t((()=>{var e;let i=De.value.filter((e=>-1!==_e.conditionSid.indexOf(e.sid)));if(-1!==_e.conditionSid.indexOf("all_data"))return(null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.416"))||"全部数据";{let e=[];return i.map((i=>{e.push(i.name)})),e.join(",")}})),Ke=t((()=>function(e){let i=0===e.digital?"(0)":e.digital?`(${e.digital})`:"";const{name:n,isPublic:l}=e;return ui(n,l)+i}));function Ue(e){e.open?e.open=!1:e.open=!0}function Xe(e,i,n){$e.value=e.name;let l=function(e){let i=[];return Ee.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,_e.conditionSid));ni(!1);const t=ze(null==e?void 0:e.conObj,_e.searchFieldList);Ne("changeSearch",Boolean("all_data"===e.sid),e,t,n,l)}function Ye(){let e="";const i=Math.max(..._e.showClassificationIndexs),n=Math.min(..._e.showClassificationIndexs);if(Re.value===i)e=n;else{let i=_e.showClassificationIndexs.indexOf(Re.value);e=_e.showClassificationIndexs[i+1]}Pe.value=150,Ze(e)}async function Ze(e,i){let n={tableId:_e.tableId,setting:JSON.stringify({classificationIndex:e,classificationWidth:i})};try{await je(n,"requestSaveListPersonaSetting",{},_e.filterApiConfig)&&Ne("setClassificationIndex",e)}catch(e){console.log(e)}}function ei(){Qe.value=!0,ni(!1)}function ii(e){Qe.value=e}function ni(e){Je.value=void 0===e?!Je.value:e}function li(){var e,i,n,l;const t={name:(null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.416"))||"全部数据",sid:"all_data"};if(!_e.tableId)return Te.warning((null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.418"))||"请传入tableId");Ee.value=[];let{displayCategoryList:a=[],conditionList:o=[],settingId:d=""}=_e.conditionMap;qe.value=JSON.parse(JSON.stringify(a))||[],Fe.value=JSON.parse(JSON.stringify(o)),De.value=JSON.parse(JSON.stringify([t,...o])),Ge.value=d;let s=[];var c;0===qe.value.length&&(qe.value=[(null==(n=window.getLanguageByCode)?void 0:n.call(window,"10010.1.378"))||"未分类"]),qe.value.forEach((e=>{let i={name:e,children:[]};De.value.forEach((n=>{var l;if(n.displayCategory===e||!n.displayCategory&&e===((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.378"))||"未分类")&&"all_data"!==n.sid){if(-1!==_e.conditionSid.indexOf(n.sid)){n.selected=!0,i.open=!0;const e=ze(null==n?void 0:n.conObj,_e.searchFieldList);Ne("changeSearch",!1,n,e)}n.isShow&&i.children.push(n)}})),i.children.length>0&&s.push(i)})),s.unshift({name:(null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.416"))||"全部数据",sid:"all_data"}),Ee.value=s,0===Re.value&&(c=!0,Ee.value.forEach((e=>{e.children&&e.children.length&&(e.open=c)}))),gi(Ee.value,_e.condiTionDigital)}function ti({distance:e}){const i=Pe.value+e;Pe.value=Math.min(Math.max(i,50),650)}function ai(){Ze(Re.value,Pe.value)}async function oi(){await ri(_e.tableId),si()}async function di(e){await ri(_e.tableId),ci()}function si(e){ci(e).then((e=>({})))}function ci(e,i={}){if(!_e.tableId)return new Promise((e=>e(!1)));let n=Object.keys(i).length>0?i:JSON.parse(JSON.stringify(_e.conditionMap));return new Promise(((i,l)=>{var t,a,o,d,s,c,r,u;if(Object.keys(n).length>0){Fe.value=n.conditionList||[],qe.value=n.displayCategoryList||[];let l={conditionList:Fe.value,displayCategoryList:qe.value};Ne("getQuickSearchListObj",l),Ge.value=null!=(t=n.settingId)?t:"";const g=Fe.value.find((e=>e.isDefault))||{name:(null==(a=window.getLanguageByCode)?void 0:a.call(window,"10010.1.416"))||"全部数据",sid:"all_data"};(null==(d=null==(o=Me.tableOptions)?void 0:o.filterCondition)?void 0:d.displayCategory)&&e&&i({name:null==(c=null==(s=Me.tableOptions)?void 0:s.filterCondition)?void 0:c.name,sid:null==(u=null==(r=Me.tableOptions)?void 0:r.filterCondition)?void 0:u.displayCategory}),i(g)}else i({})}))}async function ri(e){try{if(!e)return new Promise((e=>e(!1)));let i={tableId:e},n=await je(i,"requestTableCondiTionList",{},_e.filterApiConfig);return Promise.resolve(n)}catch(e){return Promise.resolve(!1)}}function ui(e,i){return i&&e&&"1"===i?e.replace(/\(公共\)$/,""):e}function gi(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&&gi(null==e?void 0:e.children,i)}))}function hi(e){if(!Je.value)return;let i=e.composedPath&&e.composedPath();Ae.value&&i.includes(Ae.value)||ni(!1)}return a((()=>{document.addEventListener("click",hi)})),o((()=>{document.removeEventListener("click",hi)})),d((()=>_e.tableId),(e=>{e&&si(!0)}),{immediate:!0}),d((()=>_e.curClassificationIndex),(e=>{void 0!==e&&(Re.value=e,li())}),{immediate:!0}),d((()=>_e.curClassificationWidth),(e=>{e&&(Pe.value=Number(e)||150)}),{immediate:!0}),d((()=>_e.conditionMap),(e=>{!async function(){try{await li()}catch(e){console.log(e)}}()}),{immediate:!0,deep:!0}),d((()=>_e.condiTionDigital),(e=>{gi(Ee.value,e)}),{immediate:!0,deep:!0}),(i,n)=>{var l,t,a,o,d,L,A,P,J,E,D,Ne,Oe,Ie,_e,je;return s(),c("div",{class:r(["classification-block","classificationIndex-"+u(Re)]),style:g(u(Ve))},[0===u(Re)&&e.showClassificationIndexs.includes(0)?h((s(),c("div",{key:0,class:"tree-type classify-0",style:g({width:u(Pe)+"px",paddingBottom:1!=e.hideClearConditionChange?"80px":0,position:"relative"})},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(s(),c("div",F,[1!=e.hideConditionChangeBtn?(s(),c("span",{key:0,class:"header-1",onClick:Ye},[f(u(S),{component:u(x),size:"16"},null,8,["component"]),v(" "+m((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.413"))||"切换"))])):p("v-if",!0),1!=e.hideConditionChangeSetting?(s(),c("span",{key:1,class:"header-1",onClick:ei},[f(u(S),{component:u(N),size:"16"},null,8,["component"]),v(" "+m((null==(t=window.getLanguageByCode)?void 0:t.call(window,"10010.1.414"))||"设置"))])):p("v-if",!0)])):p("v-if",!0),y("ul",R,[(s(!0),c(w,null,C(u(Ee),((i,n)=>{var l;return s(),c(w,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(s(),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?(s(),c(w,{key:1},[y("span",{class:r(["parent",{open:i.open}]),onClick:e=>Ue(i)},[y("span",null,m(i.name),1),f(u(S),{component:i.open?u(O):u(I)},null,8,["component"])],10,Q),i.open?(s(!0),c(w,{key:0},C(i.children.filter((e=>e.isShow)),((e,n)=>(s(),c("div",{key:n,class:"children",onClick:n=>Xe(e,0,i)},[e.isShow?(s(),k(u(B),{key:0,trigger:"hover",placement:"right"},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",V,[y("span",H,m(ui(e.name,null==e?void 0:e.isPublic)),1),null!=e.resultNumber?(s(),c("label",K,[v("("),y("span",null,m(e.resultNumber),1),v(")")])):p("v-if",!0)]),e.selected?(s(),k(u(S),{key:0,component:u(_),size:"20"},null,8,["component"])):p("v-if",!0)],2)])),default:b((()=>[y("span",null,[v(m(u(Ke)(e))+" ",1),null!=e.resultNumber?(s(),c(w,{key:0},[v("("+m(e.resultNumber)+")",1)],64)):p("v-if",!0)])])),_:2},1024)):p("v-if",!0)],8,$)))),128)):p("v-if",!0)],64)):(s(),c("span",{key:0,class:r(["child-item header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Xe(i)},[p((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.416"))||"全部数据"),y("span",q,m(i.name),1),null!=i.resultNumber?(s(),c("label",G,[v("("),y("span",null,m(i.resultNumber),1),v(")")])):p("v-if",!0)],10,W))],2)):p("v-if",!0)],64)})),256))]),1!=e.hideClearConditionChange?(s(),c("div",U,[y("div",X,((null==(a=window.getLanguageByCode)?void 0:a.call(window,"10010.1.39"))||"已选择")+m(e.conditionSid.filter((e=>"all_data"!==e)).length)+((null==(o=window.getLanguageByCode)?void 0:o.call(window,"10010.1.417"))||"项"),1),y("div",{class:"selected-item-del",onClick:n[0]||(n[0]=e=>{var i;return Xe({sid:"all_data",name:(null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.416"))||"全部数据",digital:u(We).digital})})},[Y,v((null==(d=window.getLanguageByCode)?void 0:d.call(window,"10010.1.415"))||"清空筛选")])])):p("v-if",!0)],4)),[[u(T),{mode:"VR",onMove:ti,onEnd:ai}]]):p("v-if",!0),1===u(Re)&&e.showClassificationIndexs.includes(1)?(s(),c(w,{key:1},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting||1!=e.hideConditionChangeSetting||u(Fe).filter((e=>e.isShow)).length>0?(s(),c("div",Z,[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(s(),c("div",ee,[y("span",{class:r(["all-data",{selected:-1!==e.conditionSid.indexOf("all_data")}]),onClick:n[1]||(n[1]=e=>{var i;return Xe({sid:"all_data",name:(null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.416"))||"全部数据",digital:u(We).digital})})},[v((null==(L=window.getLanguageByCode)?void 0:L.call(window,"10010.1.416"))||"全部数据"),null!=(null==(A=e.condiTionDigital)?void 0:A.ALL)?(s(),c("label",ie,[v("("),y("span",null,m((null==(P=e.condiTionDigital)?void 0:P.ALL)||0),1),v(")")])):p("v-if",!0),u(We).digital||0===u(We).digital?(s(),c(w,{key:1},[v(" ("+m(u(We).digital||0)+") ",1)],64)):p("v-if",!0)],2),y("div",ne,[1!=e.hideConditionChangeBtn?(s(),c("span",{key:0,class:"setting-1",onClick:Ye,style:{"margin-right":"30px"}},[f(u(S),{component:u(x),size:"16"},null,8,["component"]),v(" "+m((null==(J=window.getLanguageByCode)?void 0:J.call(window,"10010.1.413"))||"切换"))])):p("v-if",!0),1!=e.hideConditionChangeSetting?(s(),c("span",{key:1,class:"setting-1",onClick:ei},[f(u(S),{component:u(N),size:"16"},null,8,["component"]),v(" "+m((null==(E=window.getLanguageByCode)?void 0:E.call(window,"10010.1.414"))||"设置"))])):p("v-if",!0)])])):p("v-if",!0),y("ul",{class:"tile",style:g({borderBottom:1!=e.hideClearConditionChange?"1px solid #d5d5d5":0})},[(s(!0),c(w,null,C(u(Ee).slice(1),((e,i)=>(s(),c(w,null,[e.children&&e.children.length>0?(s(),c("li",{class:"tile-item",key:i},[e.children&&0!==e.children.length?(s(),c(w,{key:1},[y("span",te,m(e.name),1),y("div",ae,[(s(!0),c(w,null,C(e.children,((i,n)=>(s(),c(w,null,[i.isShow?(s(),c("span",{key:n,class:r(["child-item",{selected:i.selected}]),onClick:n=>Xe(i,0,e)},[y("span",de,m(ui(i.name,null==i?void 0:i.isPublic)),1),null!=i.resultNumber?(s(),c("label",se,[v("("),y("span",null,m(i.resultNumber),1),v(")")])):p("v-if",!0)],10,oe)):p("v-if",!0)],64)))),256))])],64)):(s(),c("span",{key:0,class:r(["child-item",{selected:e.selected}]),style:{"padding-left":"17px"},onClick:i=>Xe(e)},m(e.name)+" "+m(e.digital),11,le))])):p("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(s(),c("div",ce,[y("div",re,((null==(D=window.getLanguageByCode)?void 0:D.call(window,"10010.1.39"))||"已选择")+m(e.conditionSid.filter((e=>"all_data"!==e)).length)+((null==(Ne=window.getLanguageByCode)?void 0:Ne.call(window,"10010.1.417"))||"项"),1),(s(!0),c(w,null,C(u(Ee).slice(1),(e=>(s(),c(w,null,[e.children&&0!==e.children.length?(s(!0),c(w,{key:1},C(e.children,((i,n)=>(s(),c(w,null,[i.selected?(s(),c("div",{class:"selected-item",key:i.sid},[v(m(i.name)+" ",1),f(u(S),{component:u(j),onClick:n=>Xe(i,0,e)},null,8,["component","onClick"])])):p("v-if",!0)],64)))),256)):(s(),c("div",{class:"selected-item",key:e.sid},[v(m(e.name)+" ",1),f(u(S),{component:u(j),onClick:i=>Xe(e)},null,8,["component","onClick"])]))],64)))),256)),y("div",{class:"selected-item-del",onClick:n[2]||(n[2]=e=>{var i;return Xe({sid:"all_data",name:(null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.416"))||"全部数据",digital:u(We).digital})})},[ue,v((null==(Oe=window.getLanguageByCode)?void 0:Oe.call(window,"10010.1.415"))||"清空筛选")])])):p("v-if",!0)])):p("v-if",!0)],64)):p("v-if",!0),2===u(Re)&&e.showClassificationIndexs.includes(2)?(s(),c("div",{key:2,class:"select-type classify-2",ref_key:"selectType",ref:Ae},[y("span",{class:"title",onClick:n[3]||(n[3]=()=>ni())},[f(u(B),{trigger:"hover",placement:"top"},{trigger:b((()=>[y("span",ge,m(u(He)),1)])),default:b((()=>[y("span",he,m(u(He)),1)])),_:1}),f(u(S),{component:u(Je)?u(z):u(O)},null,8,["component"])]),u(Je)?(s(),c("div",fe,[y("ul",{class:"tree",style:g({padding:1!=e.hideClearConditionChange?"40px 0":"40px 0 0"})},[(s(!0),c(w,null,C(u(Ee),((i,n)=>{var l,t;return s(),c(w,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(s(),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?(s(),c(w,{key:1},[0!==i.children.filter((e=>e.isShow)).length?(s(),c("span",{key:0,class:r(["parent",{open:i.open}]),onClick:e=>Ue(i)},[v(m(i.name)+m(i.digital||0===i.digital?"("+i.digital+")":"")+" ",1),f(u(S),{component:i.open?u(O):u(I)},null,8,["component"])],10,we)):p("v-if",!0),i.open?(s(!0),c(w,{key:1},C(i.children.filter((e=>e.isShow)),((e,n)=>(s(),c("div",{key:n,class:"children",onClick:n=>Xe(e,0,i)},[e.isShow?(s(),k(u(B),{key:0,placement:"right",trigger:"hover","z-index":1e4},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",ke,[y("span",be,m(ui(e.name,null==e?void 0:e.isPublic)),1),null!=e.resultNumber?(s(),c("label",Le,[v("("),y("span",null,m(e.resultNumber),1),v(")")])):p("v-if",!0)]),e.selected?(s(),k(u(S),{key:0,component:u(_),size:"20"},null,8,["component"])):p("v-if",!0)],2)])),default:b((()=>[y("span",null,[v(m(u(Ke)(e)),1),null!=e.resultNumber?(s(),c(w,{key:0},[v("("+m(e.resultNumber)+")",1)],64)):p("v-if",!0)])])),_:2},1024)):p("v-if",!0)],8,Ce)))),128)):p("v-if",!0)],64)):(s(),c(w,{key:0},[y("span",{class:r(["child-item child-header header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Xe(i)},[y("span",me,m(i.name),1),null!=i.resultNumber?(s(),c("label",pe,[v("("),y("span",null,m(i.resultNumber),1),v(")")])):p("v-if",!0)],10,ve),y("div",ye,[1!=e.hideConditionChangeBtn?(s(),c("span",{key:0,class:"tree-footer-icon",onClick:Ye},[f(u(S),{component:u(x),size:"16"},null,8,["component"]),v(" "+m((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.413"))||"切换"))])):p("v-if",!0),1!=e.hideConditionChangeSetting?(s(),c("span",{key:1,class:"tree-footer-icon",onClick:ei},[f(u(S),{component:u(N),size:"16"},null,8,["component"]),v(" "+m((null==(t=window.getLanguageByCode)?void 0:t.call(window,"10010.1.414"))||"设置"))])):p("v-if",!0)])],64))],2)):p("v-if",!0)],64)})),256))],4),1!=e.hideClearConditionChange?(s(),c("div",Se,[y("div",Be,((null==(Ie=window.getLanguageByCode)?void 0:Ie.call(window,"10010.1.39"))||"已选择")+m(e.conditionSid.filter((e=>"all_data"!==e)).length)+((null==(_e=window.getLanguageByCode)?void 0:_e.call(window,"10010.1.417"))||"项"),1),y("div",{class:"selected-item-del",onClick:n[4]||(n[4]=e=>{var i;return Xe({sid:"all_data",name:(null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.416"))||"全部数据",digital:u(We).digital})})},[xe,v((null==(je=window.getLanguageByCode)?void 0:je.call(window,"10010.1.415"))||"清空筛选")])])):p("v-if",!0)])):p("v-if",!0)],512)):p("v-if",!0),p(" 弹出弹窗 "),f(M,{ref:"search",searchFieldList:e.searchFieldList,conditionList:u(Fe),displayCategoryList:u(qe),settingId:u(Ge),tableId:e.tableId,classifyModal:u(Qe),onSaveGetTableCondiTionList:di,onCondiTionListInit:oi,onSetClassifyModal:ii},null,8,["searchFieldList","conditionList","displayCategoryList","settingId","tableId","classifyModal"])],6)}}});export{Ne as default};
1
+ import{defineComponent as e,useAttrs as i,ref as n,provide as l,computed as t,onMounted as a,onBeforeUnmount as o,watch as d,openBlock as s,createElementBlock as c,normalizeClass as r,unref as u,normalizeStyle as g,withDirectives as h,createVNode as f,createTextVNode as v,toDisplayString as m,createCommentVNode as p,createElementVNode as y,Fragment as w,renderList as C,createBlock as k,withCtx as b}from"vue";import{useMessage as L,NIcon as S,NTooltip as B}from"naive-ui";import{Repeat as x,SettingsOutline as N,ChevronDown as O,ChevronForward as I,Checkmark as _,Close as j,ChevronUp as z}from"@vicons/ionicons5";import M from"./components/set-classification/index.vue.js";import{vFlexibleResize as T}from"../../../shared/directive/flexibleResize.js";import{InjectionFilterApiConfig as A,InjectionClassifyfilterType as P}from"../../table-filter/src/constants/index.js";import{root_isShowResetButton as J}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"},oe=["onClick"],de={class:"number"},se={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),ge={class:"name"},he={class:"name"},fe={key:0,class:"main-wrapper"},ve=["onClick"],me={class:"number"},pe={key:0,class:"item-count"},ye={class:"tree-footer"},we=["onClick"],Ce=["onClick"],ke={class:"child-item-name"},be={class:"number"},Le={key:0,class:"item-count"},Se={key:0,class:"select-type-footer"},Be={class:"selected-num"},xe=y("i",{class:"iconfont-table-filter icon-table-filter-menzhenyishengzhananniushanchu2"},null,-1);var Ne=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},showClassificationIndexs:{type:Array,default:()=>[0,1,2]},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:Ne}){var Oe,Ie;const _e=e,{handleGetConfigApi:je}=E(),{transformClassifyChild:ze}=D(),Me=i(),Te=L(),Ae=n(null);let Pe=n(150),Je=n(!1),Ee=n([]),De=n([]),Fe=n([]),Re=n(2),We=n({name:(null==(Oe=window.getLanguageByCode)?void 0:Oe.call(window,"10010.1.416"))||"全部数据",sid:"all_data"}),qe=n([]),Ge=n(""),Qe=n(!1),$e=n((null==(Ie=window.getLanguageByCode)?void 0:Ie.call(window,"10010.1.416"))||"全部数据");l(J,_e.isShowResetButton),l(A,_e.filterApiConfig),l(P,_e.filterType);let Ve=t((()=>0===Re.value?{marginRight:"8px"}:2===Re.value?{display:"inline-block"}:{})),He=t((()=>{var e;let i=De.value.filter((e=>-1!==_e.conditionSid.indexOf(e.sid)));if(-1!==_e.conditionSid.indexOf("all_data"))return(null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.416"))||"全部数据";{let e=[];return i.map((i=>{e.push(i.name)})),e.join(",")}})),Ke=t((()=>function(e){let i=0===e.digital?"(0)":e.digital?`(${e.digital})`:"";const{name:n,isPublic:l}=e;return ui(n,l)+i}));function Ue(e){e.open?e.open=!1:e.open=!0}function Xe(e,i,n){$e.value=e.name;let l=function(e){let i=[];return Ee.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,_e.conditionSid));ni(!1);const t=ze(null==e?void 0:e.conObj,_e.searchFieldList);Ne("changeSearch",Boolean("all_data"===e.sid),e,t,n,l)}function Ye(){let e="";const i=Math.max(..._e.showClassificationIndexs),n=Math.min(..._e.showClassificationIndexs);if(Re.value===i)e=n;else{let i=_e.showClassificationIndexs.indexOf(Re.value);e=_e.showClassificationIndexs[i+1]}Pe.value=150,Ze(e)}async function Ze(e,i){let n={tableId:_e.tableId,setting:JSON.stringify({classificationIndex:e,classificationWidth:i})};try{await je(n,"requestSaveListPersonaSetting",{},_e.filterApiConfig)&&Ne("setClassificationIndex",e)}catch(e){console.log(e)}}function ei(){Qe.value=!0,ni(!1)}function ii(e){Qe.value=e}function ni(e){Je.value=void 0===e?!Je.value:e}function li(){var e,i,n,l;const t={name:(null==(e=window.getLanguageByCode)?void 0:e.call(window,"10010.1.416"))||"全部数据",sid:"all_data"};if(!_e.tableId)return Te.warning((null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.418"))||"请传入tableId");Ee.value=[];let{displayCategoryList:a=[],conditionList:o=[],settingId:d=""}=_e.conditionMap;qe.value=JSON.parse(JSON.stringify(a))||[],Fe.value=JSON.parse(JSON.stringify(o)),De.value=JSON.parse(JSON.stringify([t,...o])),Ge.value=d;let s=[];var c;0===qe.value.length&&(qe.value=[(null==(n=window.getLanguageByCode)?void 0:n.call(window,"10010.1.378"))||"未分类"]),qe.value.forEach((e=>{let i={name:e,children:[]};De.value.forEach((n=>{var l;if(n.displayCategory===e||!n.displayCategory&&e===((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.378"))||"未分类")&&"all_data"!==n.sid){if(-1!==_e.conditionSid.indexOf(n.sid)){n.selected=!0,i.open=!0;const e=ze(null==n?void 0:n.conObj,_e.searchFieldList);Ne("changeSearch",!1,n,e)}n.isShow&&i.children.push(n)}})),i.children.length>0&&s.push(i)})),s.unshift({name:(null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.416"))||"全部数据",sid:"all_data"}),Ee.value=s,0===Re.value&&(c=!0,Ee.value.forEach((e=>{e.children&&e.children.length&&(e.open=c)}))),gi(Ee.value,_e.condiTionDigital)}function ti({distance:e}){const i=Pe.value+e;Pe.value=Math.min(Math.max(i,50),650)}function ai(){Ze(Re.value,Pe.value)}async function oi(){await ri(_e.tableId),si()}async function di(e){await ri(_e.tableId),ci()}function si(e){ci(e).then((e=>({})))}function ci(e,i={}){if(!_e.tableId)return new Promise((e=>e(!1)));let n=Object.keys(i).length>0?i:JSON.parse(JSON.stringify(_e.conditionMap));return new Promise(((i,l)=>{var t,a,o,d,s,c,r,u;if(Object.keys(n).length>0){Fe.value=n.conditionList||[],qe.value=n.displayCategoryList||[];let l={conditionList:Fe.value,displayCategoryList:qe.value};Ne("getQuickSearchListObj",l),Ge.value=null!=(t=n.settingId)?t:"";const g=Fe.value.find((e=>e.isDefault))||{name:(null==(a=window.getLanguageByCode)?void 0:a.call(window,"10010.1.416"))||"全部数据",sid:"all_data"};(null==(d=null==(o=Me.tableOptions)?void 0:o.filterCondition)?void 0:d.displayCategory)&&e&&i({name:null==(c=null==(s=Me.tableOptions)?void 0:s.filterCondition)?void 0:c.name,sid:null==(u=null==(r=Me.tableOptions)?void 0:r.filterCondition)?void 0:u.displayCategory}),i(g)}else i({})}))}async function ri(e){try{if(!e)return new Promise((e=>e(!1)));let i={tableId:e},n=await je(i,"requestTableCondiTionList",{},_e.filterApiConfig);return Promise.resolve(n)}catch(e){return Promise.resolve(!1)}}function ui(e,i){return i&&e&&"1"===i?e.replace(/\(公共\)$/,""):e}function gi(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&&gi(null==e?void 0:e.children,i)}))}function hi(e){if(!Je.value)return;let i=e.composedPath&&e.composedPath();Ae.value&&i.includes(Ae.value)||ni(!1)}return a((()=>{document.addEventListener("click",hi)})),o((()=>{document.removeEventListener("click",hi)})),d((()=>_e.tableId),(e=>{e&&si(!0)}),{immediate:!0}),d((()=>_e.curClassificationIndex),(e=>{void 0!==e&&(Re.value=e,li())}),{immediate:!0}),d((()=>_e.curClassificationWidth),(e=>{e&&(Pe.value=Number(e)||150)}),{immediate:!0}),d((()=>_e.conditionMap),(e=>{!async function(){try{await li()}catch(e){console.log(e)}}()}),{immediate:!0,deep:!0}),d((()=>_e.condiTionDigital),(e=>{gi(Ee.value,e)}),{immediate:!0,deep:!0}),(i,n)=>{var l,t,a,o,d,L,A,P,J,E,D,Ne,Oe,Ie,_e,je;return s(),c("div",{class:r(["classification-block","classificationIndex-"+u(Re)]),style:g(u(Ve))},[0===u(Re)&&e.showClassificationIndexs.includes(0)?h((s(),c("div",{key:0,class:"tree-type classify-0",style:g({width:u(Pe)+"px",paddingBottom:1!=e.hideClearConditionChange?"80px":0,position:"relative"})},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(s(),c("div",F,[1!=e.hideConditionChangeBtn?(s(),c("span",{key:0,class:"header-1",onClick:Ye},[f(u(S),{component:u(x),size:"16"},null,8,["component"]),v(" "+m((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.413"))||"切换"))])):p("v-if",!0),1!=e.hideConditionChangeSetting?(s(),c("span",{key:1,class:"header-1",onClick:ei},[f(u(S),{component:u(N),size:"16"},null,8,["component"]),v(" "+m((null==(t=window.getLanguageByCode)?void 0:t.call(window,"10010.1.414"))||"设置"))])):p("v-if",!0)])):p("v-if",!0),y("ul",R,[(s(!0),c(w,null,C(u(Ee),((i,n)=>{var l;return s(),c(w,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(s(),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?(s(),c(w,{key:1},[y("span",{class:r(["parent",{open:i.open}]),onClick:e=>Ue(i)},[y("span",null,m(i.name),1),f(u(S),{component:i.open?u(O):u(I)},null,8,["component"])],10,Q),i.open?(s(!0),c(w,{key:0},C(i.children.filter((e=>e.isShow)),((e,n)=>(s(),c("div",{key:n,class:"children",onClick:n=>Xe(e,0,i)},[e.isShow?(s(),k(u(B),{key:0,trigger:"hover",placement:"right"},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",V,[y("span",H,m(ui(e.name,null==e?void 0:e.isPublic)),1),null!=e.resultNumber?(s(),c("label",K,[v("("),y("span",null,m(e.resultNumber),1),v(")")])):p("v-if",!0)]),e.selected?(s(),k(u(S),{key:0,component:u(_),size:"20"},null,8,["component"])):p("v-if",!0)],2)])),default:b((()=>[y("span",null,[v(m(u(Ke)(e))+" ",1),null!=e.resultNumber?(s(),c(w,{key:0},[v("("+m(e.resultNumber)+")",1)],64)):p("v-if",!0)])])),_:2},1024)):p("v-if",!0)],8,$)))),128)):p("v-if",!0)],64)):(s(),c("span",{key:0,class:r(["child-item header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Xe(i)},[p((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.416"))||"全部数据"),y("span",q,m(i.name),1),null!=i.resultNumber?(s(),c("label",G,[v("("),y("span",null,m(i.resultNumber),1),v(")")])):p("v-if",!0)],10,W))],2)):p("v-if",!0)],64)})),256))]),1!=e.hideClearConditionChange?(s(),c("div",U,[y("div",X,((null==(a=window.getLanguageByCode)?void 0:a.call(window,"10010.1.39"))||"已选择")+m(e.conditionSid.filter((e=>"all_data"!==e)).length)+((null==(o=window.getLanguageByCode)?void 0:o.call(window,"10010.1.417"))||"项"),1),y("div",{class:"selected-item-del",onClick:n[0]||(n[0]=e=>{var i;return Xe({sid:"all_data",name:(null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.416"))||"全部数据",digital:u(We).digital})})},[Y,v((null==(d=window.getLanguageByCode)?void 0:d.call(window,"10010.1.415"))||"清空筛选")])])):p("v-if",!0)],4)),[[u(T),{mode:"VR",onMove:ti,onEnd:ai}]]):p("v-if",!0),1===u(Re)&&e.showClassificationIndexs.includes(1)?(s(),c(w,{key:1},[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting||1!=e.hideConditionChangeSetting||u(Fe).filter((e=>e.isShow)).length>0?(s(),c("div",Z,[1!=e.hideConditionChangeBtn||1!=e.hideConditionChangeSetting?(s(),c("div",ee,[y("span",{class:r(["all-data",{selected:-1!==e.conditionSid.indexOf("all_data")}]),onClick:n[1]||(n[1]=e=>{var i;return Xe({sid:"all_data",name:(null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.416"))||"全部数据",digital:u(We).digital})})},[v((null==(L=window.getLanguageByCode)?void 0:L.call(window,"10010.1.416"))||"全部数据"),null!=(null==(A=e.condiTionDigital)?void 0:A.ALL)?(s(),c("label",ie,[v("("),y("span",null,m((null==(P=e.condiTionDigital)?void 0:P.ALL)||0),1),v(")")])):p("v-if",!0),u(We).digital||0===u(We).digital?(s(),c(w,{key:1},[v(" ("+m(u(We).digital||0)+") ",1)],64)):p("v-if",!0)],2),y("div",ne,[1!=e.hideConditionChangeBtn?(s(),c("span",{key:0,class:"setting-1",onClick:Ye,style:{"margin-right":"30px"}},[f(u(S),{component:u(x),size:"16"},null,8,["component"]),v(" "+m((null==(J=window.getLanguageByCode)?void 0:J.call(window,"10010.1.413"))||"切换"))])):p("v-if",!0),1!=e.hideConditionChangeSetting?(s(),c("span",{key:1,class:"setting-1",onClick:ei},[f(u(S),{component:u(N),size:"16"},null,8,["component"]),v(" "+m((null==(E=window.getLanguageByCode)?void 0:E.call(window,"10010.1.414"))||"设置"))])):p("v-if",!0)])])):p("v-if",!0),y("ul",{class:"tile",style:g({borderBottom:1!=e.hideClearConditionChange?"1px solid #d5d5d5":0})},[(s(!0),c(w,null,C(u(Ee).slice(1),((e,i)=>(s(),c(w,null,[e.children&&e.children.length>0?(s(),c("li",{class:"tile-item",key:i},[e.children&&0!==e.children.length?(s(),c(w,{key:1},[y("span",te,m(e.name),1),y("div",ae,[(s(!0),c(w,null,C(e.children,((i,n)=>(s(),c(w,null,[i.isShow?(s(),c("span",{key:n,class:r(["child-item",{selected:i.selected}]),onClick:n=>Xe(i,0,e)},[y("span",de,m(ui(i.name,null==i?void 0:i.isPublic)),1),null!=i.resultNumber?(s(),c("label",se,[v("("),y("span",null,m(i.resultNumber),1),v(")")])):p("v-if",!0)],10,oe)):p("v-if",!0)],64)))),256))])],64)):(s(),c("span",{key:0,class:r(["child-item",{selected:e.selected}]),style:{"padding-left":"17px"},onClick:i=>Xe(e)},m(e.name)+" "+m(e.digital),11,le))])):p("v-if",!0)],64)))),256))],4),1!=e.hideClearConditionChange?(s(),c("div",ce,[y("div",re,((null==(D=window.getLanguageByCode)?void 0:D.call(window,"10010.1.39"))||"已选择")+m(e.conditionSid.filter((e=>"all_data"!==e)).length)+((null==(Ne=window.getLanguageByCode)?void 0:Ne.call(window,"10010.1.417"))||"项"),1),(s(!0),c(w,null,C(u(Ee).slice(1),(e=>(s(),c(w,null,[e.children&&0!==e.children.length?(s(!0),c(w,{key:1},C(e.children,((i,n)=>(s(),c(w,null,[i.selected?(s(),c("div",{class:"selected-item",key:i.sid},[v(m(i.name)+" ",1),f(u(S),{component:u(j),onClick:n=>Xe(i,0,e)},null,8,["component","onClick"])])):p("v-if",!0)],64)))),256)):(s(),c("div",{class:"selected-item",key:e.sid},[v(m(e.name)+" ",1),f(u(S),{component:u(j),onClick:i=>Xe(e)},null,8,["component","onClick"])]))],64)))),256)),y("div",{class:"selected-item-del",onClick:n[2]||(n[2]=e=>{var i;return Xe({sid:"all_data",name:(null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.416"))||"全部数据",digital:u(We).digital})})},[ue,v((null==(Oe=window.getLanguageByCode)?void 0:Oe.call(window,"10010.1.415"))||"清空筛选")])])):p("v-if",!0)])):p("v-if",!0)],64)):p("v-if",!0),2===u(Re)&&e.showClassificationIndexs.includes(2)?(s(),c("div",{key:2,class:"select-type classify-2",ref_key:"selectType",ref:Ae},[y("span",{class:"title",onClick:n[3]||(n[3]=()=>ni())},[f(u(B),{trigger:"hover",placement:"top"},{trigger:b((()=>[y("span",ge,m(u(He)),1)])),default:b((()=>[y("span",he,m(u(He)),1)])),_:1}),f(u(S),{component:u(Je)?u(z):u(O)},null,8,["component"])]),u(Je)?(s(),c("div",fe,[y("ul",{class:"tree",style:g({padding:1!=e.hideClearConditionChange?"40px 0":"40px 0 0"})},[(s(!0),c(w,null,C(u(Ee),((i,n)=>{var l,t;return s(),c(w,null,[0===n||!i.children||0===i.children.length||i.children&&0!==i.children.filter((e=>e.isShow)).length?(s(),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?(s(),c(w,{key:1},[0!==i.children.filter((e=>e.isShow)).length?(s(),c("span",{key:0,class:r(["parent",{open:i.open}]),onClick:e=>Ue(i)},[v(m(i.name)+m(i.digital||0===i.digital?"("+i.digital+")":"")+" ",1),f(u(S),{component:i.open?u(O):u(I)},null,8,["component"])],10,we)):p("v-if",!0),i.open?(s(!0),c(w,{key:1},C(i.children.filter((e=>e.isShow)),((e,n)=>(s(),c("div",{key:n,class:"children",onClick:n=>Xe(e,0,i)},[e.isShow?(s(),k(u(B),{key:0,placement:"right",trigger:"hover","z-index":1e4},{trigger:b((()=>[y("span",{class:r(["child-item",{selected:e.selected}])},[y("span",ke,[y("span",be,m(ui(e.name,null==e?void 0:e.isPublic)),1),null!=e.resultNumber?(s(),c("label",Le,[v("("),y("span",null,m(e.resultNumber),1),v(")")])):p("v-if",!0)]),e.selected?(s(),k(u(S),{key:0,component:u(_),size:"20"},null,8,["component"])):p("v-if",!0)],2)])),default:b((()=>[y("span",null,[v(m(u(Ke)(e)),1),null!=e.resultNumber?(s(),c(w,{key:0},[v("("+m(e.resultNumber)+")",1)],64)):p("v-if",!0)])])),_:2},1024)):p("v-if",!0)],8,Ce)))),128)):p("v-if",!0)],64)):(s(),c(w,{key:0},[y("span",{class:r(["child-item child-header header-item",{selected:i.selected||-1!==e.conditionSid.indexOf("all_data")}]),onClick:e=>Xe(i)},[y("span",me,m(i.name),1),null!=i.resultNumber?(s(),c("label",pe,[v("("),y("span",null,m(i.resultNumber),1),v(")")])):p("v-if",!0)],10,ve),y("div",ye,[1!=e.hideConditionChangeBtn?(s(),c("span",{key:0,class:"tree-footer-icon",onClick:Ye},[f(u(S),{component:u(x),size:"16"},null,8,["component"]),v(" "+m((null==(l=window.getLanguageByCode)?void 0:l.call(window,"10010.1.413"))||"切换"))])):p("v-if",!0),1!=e.hideConditionChangeSetting?(s(),c("span",{key:1,class:"tree-footer-icon",onClick:ei},[f(u(S),{component:u(N),size:"16"},null,8,["component"]),v(" "+m((null==(t=window.getLanguageByCode)?void 0:t.call(window,"10010.1.414"))||"设置"))])):p("v-if",!0)])],64))],2)):p("v-if",!0)],64)})),256))],4),1!=e.hideClearConditionChange?(s(),c("div",Se,[y("div",Be,((null==(Ie=window.getLanguageByCode)?void 0:Ie.call(window,"10010.1.39"))||"已选择")+m(e.conditionSid.filter((e=>"all_data"!==e)).length)+((null==(_e=window.getLanguageByCode)?void 0:_e.call(window,"10010.1.417"))||"项"),1),y("div",{class:"selected-item-del",onClick:n[4]||(n[4]=e=>{var i;return Xe({sid:"all_data",name:(null==(i=window.getLanguageByCode)?void 0:i.call(window,"10010.1.416"))||"全部数据",digital:u(We).digital})})},[xe,v((null==(je=window.getLanguageByCode)?void 0:je.call(window,"10010.1.415"))||"清空筛选")])])):p("v-if",!0)])):p("v-if",!0)],512)):p("v-if",!0),p(" 弹出弹窗 "),f(M,{ref:"search",searchFieldList:e.searchFieldList,conditionList:u(Fe),displayCategoryList:u(qe),settingId:u(Ge),tableId:e.tableId,classifyModal:u(Qe),onSaveGetTableCondiTionList:di,onCondiTionListInit:oi,onSetClassifyModal:ii},null,8,["searchFieldList","conditionList","displayCategoryList","settingId","tableId","classifyModal"])],6)}}});export{Ne as default};
@@ -27,6 +27,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
27
27
  type: StringConstructor;
28
28
  default: string;
29
29
  };
30
+ isDateDisabled: {
31
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
32
+ };
30
33
  }, {
31
34
  attrs: {
32
35
  [x: string]: unknown;
@@ -59,6 +62,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
59
62
  type: StringConstructor;
60
63
  default: string;
61
64
  };
65
+ isDateDisabled: {
66
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
67
+ };
62
68
  }>> & {
63
69
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
64
70
  }>>;
@@ -71,6 +77,7 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
71
77
  isDateTime: import("vue").ComputedRef<boolean>;
72
78
  formatRef: import("vue").ComputedRef<string>;
73
79
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
80
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
74
81
  focus: () => any;
75
82
  blur: () => any;
76
83
  handleConfirm: (target: HTMLInputElement) => void;
@@ -110,6 +117,9 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<{
110
117
  type: StringConstructor;
111
118
  default: string;
112
119
  };
120
+ isDateDisabled: {
121
+ type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
122
+ };
113
123
  }>> & {
114
124
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
115
125
  }, {
@@ -29,6 +29,9 @@ declare const _default: import("vue").DefineComponent<{
29
29
  type: StringConstructor;
30
30
  default: string;
31
31
  };
32
+ isDateDisabled: {
33
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
34
+ };
32
35
  }, {
33
36
  attrs: {
34
37
  [x: string]: unknown;
@@ -61,6 +64,9 @@ declare const _default: import("vue").DefineComponent<{
61
64
  type: StringConstructor;
62
65
  default: string;
63
66
  };
67
+ isDateDisabled: {
68
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
69
+ };
64
70
  }>> & {
65
71
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
66
72
  }>>;
@@ -73,6 +79,7 @@ declare const _default: import("vue").DefineComponent<{
73
79
  isDateTime: import("vue").ComputedRef<boolean>;
74
80
  formatRef: import("vue").ComputedRef<string>;
75
81
  panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
82
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
76
83
  focus: () => any;
77
84
  blur: () => any;
78
85
  handleConfirm: (target: HTMLInputElement) => void;
@@ -112,6 +119,9 @@ declare const _default: import("vue").DefineComponent<{
112
119
  type: StringConstructor;
113
120
  default: string;
114
121
  };
122
+ isDateDisabled: {
123
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
124
+ };
115
125
  }>> & {
116
126
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
117
127
  }, {