cnhis-design-vue 3.4.0-beta.9 → 3.4.0-release.3

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 (82) hide show
  1. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +4 -2
  2. package/es/components/button-print/src/utils/print.d.ts +1 -0
  3. package/es/components/button-print/src/utils/print.js +9 -6
  4. package/es/components/callback/src/components/render/popupMaps.d.ts +81 -207
  5. package/es/components/classification/index.d.ts +39 -0
  6. package/es/components/classification/src/components/search-filter/index.vue.d.ts +39 -0
  7. package/es/components/classification/src/components/set-classification/index.vue.d.ts +39 -0
  8. package/es/components/classification/src/index.vue.d.ts +39 -0
  9. package/es/components/date-picker/index.d.ts +13 -0
  10. package/es/components/date-picker/src/DatePicker.vue.d.ts +13 -0
  11. package/es/components/date-picker/src/DatePicker.vue2.js +8 -3
  12. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +3 -1
  13. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +27 -11
  14. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +3 -1
  15. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +15 -7
  16. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +11 -12
  17. package/es/components/fabric-chart/src/interface.d.ts +1 -0
  18. package/es/components/field-set/src/FieldColor.vue.d.ts +26 -0
  19. package/es/components/field-set/src/FieldColor.vue2.js +2 -1
  20. package/es/components/field-set/src/FieldFilter.vue2.js +2 -1
  21. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  22. package/es/components/field-set/src/FieldSet.vue2.js +1 -0
  23. package/es/components/field-set/src/components/condition.vue.d.ts +13 -0
  24. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +26 -0
  25. package/es/components/field-set/src/components/edit-filter.vue.d.ts +13 -0
  26. package/es/components/field-set/src/components/table-row.vue2.js +1 -0
  27. package/es/components/form-render/src/components/renderer/textarea.d.ts +2 -2
  28. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  29. package/es/components/iho-chat/index.d.ts +26 -0
  30. package/es/components/iho-chat/src/Index.vue.d.ts +26 -0
  31. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +13 -0
  32. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +13 -0
  33. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +13 -0
  34. package/es/components/iho-table/index.d.ts +81 -207
  35. package/es/components/iho-table/src/IhoTable.vue.d.ts +81 -207
  36. package/es/components/iho-table/src/IhoTable.vue2.js +16 -12
  37. package/es/components/iho-table/src/constants/index.d.ts +3 -3
  38. package/es/components/iho-table/src/constants/index.js +0 -21
  39. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +39 -60
  40. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  41. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +13 -0
  42. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +13 -0
  43. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  44. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +25 -0
  45. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
  46. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
  47. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  48. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  49. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  50. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  51. package/es/components/select-person/src/SelectPerson.vue2.js +2 -1
  52. package/es/components/select-person/src/utils/index.js +11 -9
  53. package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +3 -0
  54. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +9 -3
  55. package/es/components/shortcut-setter/index.d.ts +1 -0
  56. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
  57. package/es/components/table-export-field/index.d.ts +6 -0
  58. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
  59. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +2 -0
  60. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +49 -18
  61. package/es/components/table-export-field/src/index.vue.d.ts +6 -0
  62. package/es/components/table-export-field/src/types/index.d.ts +1 -0
  63. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +13 -0
  64. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +13 -0
  65. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +13 -0
  66. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +13 -0
  67. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +26 -0
  68. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +13 -0
  69. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +13 -0
  70. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +26 -0
  71. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +26 -0
  72. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +13 -0
  73. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +13 -0
  74. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +13 -0
  75. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -0
  76. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +52 -0
  77. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +52 -0
  78. package/es/shared/components/CancelRadio/CancelRadio.js +3 -1
  79. package/es/shared/package.json.js +1 -1
  80. package/es/shared/utils/ho-edge.d.ts +12 -0
  81. package/es/shared/utils/ho-edge.js +58 -0
  82. package/package.json +2 -2
@@ -355,6 +355,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
355
355
  type: StringConstructor;
356
356
  default: string;
357
357
  };
358
+ updateValueOnClose: {
359
+ type: BooleanConstructor;
360
+ default: boolean;
361
+ };
358
362
  isDateDisabled: {
359
363
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
360
364
  };
@@ -390,6 +394,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
390
394
  type: StringConstructor;
391
395
  default: string;
392
396
  };
397
+ updateValueOnClose: {
398
+ type: BooleanConstructor;
399
+ default: boolean;
400
+ };
393
401
  isDateDisabled: {
394
402
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
395
403
  };
@@ -445,6 +453,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
445
453
  type: StringConstructor;
446
454
  default: string;
447
455
  };
456
+ updateValueOnClose: {
457
+ type: BooleanConstructor;
458
+ default: boolean;
459
+ };
448
460
  isDateDisabled: {
449
461
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
450
462
  };
@@ -455,6 +467,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
455
467
  updateUnchangedValue: boolean;
456
468
  to: string | false | HTMLElement;
457
469
  holidays: Date[];
470
+ updateValueOnClose: boolean;
458
471
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
459
472
  readonly NSelect: any;
460
473
  DateOption: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -1195,6 +1208,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1195
1208
  type: StringConstructor;
1196
1209
  default: string;
1197
1210
  };
1211
+ updateValueOnClose: {
1212
+ type: BooleanConstructor;
1213
+ default: boolean;
1214
+ };
1198
1215
  isDateDisabled: {
1199
1216
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1200
1217
  };
@@ -1230,6 +1247,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1230
1247
  type: StringConstructor;
1231
1248
  default: string;
1232
1249
  };
1250
+ updateValueOnClose: {
1251
+ type: BooleanConstructor;
1252
+ default: boolean;
1253
+ };
1233
1254
  isDateDisabled: {
1234
1255
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1235
1256
  };
@@ -1285,6 +1306,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1285
1306
  type: StringConstructor;
1286
1307
  default: string;
1287
1308
  };
1309
+ updateValueOnClose: {
1310
+ type: BooleanConstructor;
1311
+ default: boolean;
1312
+ };
1288
1313
  isDateDisabled: {
1289
1314
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1290
1315
  };
@@ -1295,6 +1320,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1295
1320
  updateUnchangedValue: boolean;
1296
1321
  to: string | false | HTMLElement;
1297
1322
  holidays: Date[];
1323
+ updateValueOnClose: boolean;
1298
1324
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
1299
1325
  DateOption: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1300
1326
  filterType: {
@@ -1882,6 +1908,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1882
1908
  type: StringConstructor;
1883
1909
  default: string;
1884
1910
  };
1911
+ updateValueOnClose: {
1912
+ type: BooleanConstructor;
1913
+ default: boolean;
1914
+ };
1885
1915
  isDateDisabled: {
1886
1916
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1887
1917
  };
@@ -1917,6 +1947,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1917
1947
  type: StringConstructor;
1918
1948
  default: string;
1919
1949
  };
1950
+ updateValueOnClose: {
1951
+ type: BooleanConstructor;
1952
+ default: boolean;
1953
+ };
1920
1954
  isDateDisabled: {
1921
1955
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1922
1956
  };
@@ -1972,6 +2006,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1972
2006
  type: StringConstructor;
1973
2007
  default: string;
1974
2008
  };
2009
+ updateValueOnClose: {
2010
+ type: BooleanConstructor;
2011
+ default: boolean;
2012
+ };
1975
2013
  isDateDisabled: {
1976
2014
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1977
2015
  };
@@ -1982,6 +2020,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1982
2020
  updateUnchangedValue: boolean;
1983
2021
  to: string | false | HTMLElement;
1984
2022
  holidays: Date[];
2023
+ updateValueOnClose: boolean;
1985
2024
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
1986
2025
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1987
2026
  componentCfg: {
@@ -649,6 +649,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
649
649
  type: StringConstructor;
650
650
  default: string;
651
651
  };
652
+ updateValueOnClose: {
653
+ type: BooleanConstructor;
654
+ default: boolean;
655
+ };
652
656
  isDateDisabled: {
653
657
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
654
658
  };
@@ -684,6 +688,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
684
688
  type: StringConstructor;
685
689
  default: string;
686
690
  };
691
+ updateValueOnClose: {
692
+ type: BooleanConstructor;
693
+ default: boolean;
694
+ };
687
695
  isDateDisabled: {
688
696
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
689
697
  };
@@ -739,6 +747,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
739
747
  type: StringConstructor;
740
748
  default: string;
741
749
  };
750
+ updateValueOnClose: {
751
+ type: BooleanConstructor;
752
+ default: boolean;
753
+ };
742
754
  isDateDisabled: {
743
755
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
744
756
  };
@@ -749,6 +761,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
749
761
  updateUnchangedValue: boolean;
750
762
  to: string | false | HTMLElement;
751
763
  holidays: Date[];
764
+ updateValueOnClose: boolean;
752
765
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
753
766
  readonly NSelect: any;
754
767
  DateOption: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -1489,6 +1502,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1489
1502
  type: StringConstructor;
1490
1503
  default: string;
1491
1504
  };
1505
+ updateValueOnClose: {
1506
+ type: BooleanConstructor;
1507
+ default: boolean;
1508
+ };
1492
1509
  isDateDisabled: {
1493
1510
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1494
1511
  };
@@ -1524,6 +1541,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1524
1541
  type: StringConstructor;
1525
1542
  default: string;
1526
1543
  };
1544
+ updateValueOnClose: {
1545
+ type: BooleanConstructor;
1546
+ default: boolean;
1547
+ };
1527
1548
  isDateDisabled: {
1528
1549
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1529
1550
  };
@@ -1579,6 +1600,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1579
1600
  type: StringConstructor;
1580
1601
  default: string;
1581
1602
  };
1603
+ updateValueOnClose: {
1604
+ type: BooleanConstructor;
1605
+ default: boolean;
1606
+ };
1582
1607
  isDateDisabled: {
1583
1608
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
1584
1609
  };
@@ -1589,6 +1614,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1589
1614
  updateUnchangedValue: boolean;
1590
1615
  to: string | false | HTMLElement;
1591
1616
  holidays: Date[];
1617
+ updateValueOnClose: boolean;
1592
1618
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
1593
1619
  DateOption: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1594
1620
  filterType: {
@@ -2176,6 +2202,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2176
2202
  type: StringConstructor;
2177
2203
  default: string;
2178
2204
  };
2205
+ updateValueOnClose: {
2206
+ type: BooleanConstructor;
2207
+ default: boolean;
2208
+ };
2179
2209
  isDateDisabled: {
2180
2210
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
2181
2211
  };
@@ -2211,6 +2241,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2211
2241
  type: StringConstructor;
2212
2242
  default: string;
2213
2243
  };
2244
+ updateValueOnClose: {
2245
+ type: BooleanConstructor;
2246
+ default: boolean;
2247
+ };
2214
2248
  isDateDisabled: {
2215
2249
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
2216
2250
  };
@@ -2266,6 +2300,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2266
2300
  type: StringConstructor;
2267
2301
  default: string;
2268
2302
  };
2303
+ updateValueOnClose: {
2304
+ type: BooleanConstructor;
2305
+ default: boolean;
2306
+ };
2269
2307
  isDateDisabled: {
2270
2308
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
2271
2309
  };
@@ -2276,6 +2314,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2276
2314
  updateUnchangedValue: boolean;
2277
2315
  to: string | false | HTMLElement;
2278
2316
  holidays: Date[];
2317
+ updateValueOnClose: boolean;
2279
2318
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
2280
2319
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2281
2320
  componentCfg: {
@@ -959,6 +959,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
959
959
  type: StringConstructor;
960
960
  default: string;
961
961
  };
962
+ updateValueOnClose: {
963
+ type: BooleanConstructor;
964
+ default: boolean;
965
+ };
962
966
  isDateDisabled: {
963
967
  type: PropType<(current: number, ...arg: any[]) => boolean>;
964
968
  };
@@ -994,6 +998,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
994
998
  type: StringConstructor;
995
999
  default: string;
996
1000
  };
1001
+ updateValueOnClose: {
1002
+ type: BooleanConstructor;
1003
+ default: boolean;
1004
+ };
997
1005
  isDateDisabled: {
998
1006
  type: PropType<(current: number, ...arg: any[]) => boolean>;
999
1007
  };
@@ -1049,6 +1057,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1049
1057
  type: StringConstructor;
1050
1058
  default: string;
1051
1059
  };
1060
+ updateValueOnClose: {
1061
+ type: BooleanConstructor;
1062
+ default: boolean;
1063
+ };
1052
1064
  isDateDisabled: {
1053
1065
  type: PropType<(current: number, ...arg: any[]) => boolean>;
1054
1066
  };
@@ -1059,6 +1071,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1059
1071
  updateUnchangedValue: boolean;
1060
1072
  to: string | false | HTMLElement;
1061
1073
  holidays: Date[];
1074
+ updateValueOnClose: boolean;
1062
1075
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
1063
1076
  readonly NSelect: any;
1064
1077
  DateOption: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -1799,6 +1812,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1799
1812
  type: StringConstructor;
1800
1813
  default: string;
1801
1814
  };
1815
+ updateValueOnClose: {
1816
+ type: BooleanConstructor;
1817
+ default: boolean;
1818
+ };
1802
1819
  isDateDisabled: {
1803
1820
  type: PropType<(current: number, ...arg: any[]) => boolean>;
1804
1821
  };
@@ -1834,6 +1851,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1834
1851
  type: StringConstructor;
1835
1852
  default: string;
1836
1853
  };
1854
+ updateValueOnClose: {
1855
+ type: BooleanConstructor;
1856
+ default: boolean;
1857
+ };
1837
1858
  isDateDisabled: {
1838
1859
  type: PropType<(current: number, ...arg: any[]) => boolean>;
1839
1860
  };
@@ -1889,6 +1910,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1889
1910
  type: StringConstructor;
1890
1911
  default: string;
1891
1912
  };
1913
+ updateValueOnClose: {
1914
+ type: BooleanConstructor;
1915
+ default: boolean;
1916
+ };
1892
1917
  isDateDisabled: {
1893
1918
  type: PropType<(current: number, ...arg: any[]) => boolean>;
1894
1919
  };
@@ -1899,6 +1924,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1899
1924
  updateUnchangedValue: boolean;
1900
1925
  to: string | false | HTMLElement;
1901
1926
  holidays: Date[];
1927
+ updateValueOnClose: boolean;
1902
1928
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
1903
1929
  DateOption: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1904
1930
  filterType: {
@@ -2486,6 +2512,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2486
2512
  type: StringConstructor;
2487
2513
  default: string;
2488
2514
  };
2515
+ updateValueOnClose: {
2516
+ type: BooleanConstructor;
2517
+ default: boolean;
2518
+ };
2489
2519
  isDateDisabled: {
2490
2520
  type: PropType<(current: number, ...arg: any[]) => boolean>;
2491
2521
  };
@@ -2521,6 +2551,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2521
2551
  type: StringConstructor;
2522
2552
  default: string;
2523
2553
  };
2554
+ updateValueOnClose: {
2555
+ type: BooleanConstructor;
2556
+ default: boolean;
2557
+ };
2524
2558
  isDateDisabled: {
2525
2559
  type: PropType<(current: number, ...arg: any[]) => boolean>;
2526
2560
  };
@@ -2576,6 +2610,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2576
2610
  type: StringConstructor;
2577
2611
  default: string;
2578
2612
  };
2613
+ updateValueOnClose: {
2614
+ type: BooleanConstructor;
2615
+ default: boolean;
2616
+ };
2579
2617
  isDateDisabled: {
2580
2618
  type: PropType<(current: number, ...arg: any[]) => boolean>;
2581
2619
  };
@@ -2586,6 +2624,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2586
2624
  updateUnchangedValue: boolean;
2587
2625
  to: string | false | HTMLElement;
2588
2626
  holidays: Date[];
2627
+ updateValueOnClose: boolean;
2589
2628
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
2590
2629
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
2591
2630
  componentCfg: {
@@ -27,6 +27,10 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<import("v
27
27
  type: StringConstructor;
28
28
  default: string;
29
29
  };
30
+ updateValueOnClose: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
30
34
  isDateDisabled: {
31
35
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
32
36
  };
@@ -62,6 +66,10 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<import("v
62
66
  type: StringConstructor;
63
67
  default: string;
64
68
  };
69
+ updateValueOnClose: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
65
73
  isDateDisabled: {
66
74
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
67
75
  };
@@ -117,6 +125,10 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<import("v
117
125
  type: StringConstructor;
118
126
  default: string;
119
127
  };
128
+ updateValueOnClose: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
120
132
  isDateDisabled: {
121
133
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
122
134
  };
@@ -127,5 +139,6 @@ declare const DatePicker: SFCWithInstall<import("vue").DefineComponent<import("v
127
139
  updateUnchangedValue: boolean;
128
140
  to: string | false | HTMLElement;
129
141
  holidays: Date[];
142
+ updateValueOnClose: boolean;
130
143
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
131
144
  export default DatePicker;
@@ -29,6 +29,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
29
29
  type: StringConstructor;
30
30
  default: string;
31
31
  };
32
+ updateValueOnClose: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
32
36
  isDateDisabled: {
33
37
  type: PropType<(current: number, ...arg: any[]) => boolean>;
34
38
  };
@@ -64,6 +68,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
64
68
  type: StringConstructor;
65
69
  default: string;
66
70
  };
71
+ updateValueOnClose: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
67
75
  isDateDisabled: {
68
76
  type: PropType<(current: number, ...arg: any[]) => boolean>;
69
77
  };
@@ -119,6 +127,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
119
127
  type: StringConstructor;
120
128
  default: string;
121
129
  };
130
+ updateValueOnClose: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
122
134
  isDateDisabled: {
123
135
  type: PropType<(current: number, ...arg: any[]) => boolean>;
124
136
  };
@@ -129,5 +141,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
129
141
  updateUnchangedValue: boolean;
130
142
  to: string | false | HTMLElement;
131
143
  holidays: Date[];
144
+ updateValueOnClose: boolean;
132
145
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
133
146
  export default _default;
@@ -41,6 +41,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  type: String,
42
42
  default: "date"
43
43
  },
44
+ updateValueOnClose: {
45
+ type: Boolean,
46
+ default: false
47
+ },
44
48
  isDateDisabled: {
45
49
  type: Function
46
50
  }
@@ -200,9 +204,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
200
204
  (_e = props.onConfirm) == null ? void 0 : _e.call(props, ...args);
201
205
  } else {
202
206
  await nextTick();
203
- target.focus();
207
+ !props.updateValueOnClose && target.focus();
204
208
  handleConfirm(target);
205
- target.blur();
209
+ !props.updateValueOnClose && target.blur();
206
210
  (_f = props.onConfirm) == null ? void 0 : _f.call(props, Date.parse(target.value), target.value);
207
211
  }
208
212
  if (!(target == null ? void 0 : target.value) || !props.updateUnchangedValue || props.type.includes("range"))
@@ -259,6 +263,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
259
263
  placeholder: placeholderRef.value,
260
264
  to: __props.to,
261
265
  type: __props.type,
266
+ "update-value-on-close": __props.updateValueOnClose,
262
267
  "formatted-value": currentFormattedValue.value,
263
268
  "onUpdate:formattedValue": _cache[0] || (_cache[0] = ($event) => currentFormattedValue.value = $event),
264
269
  "is-date-disabled": _isDateDisabled.value
@@ -269,7 +274,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
269
274
  name: k,
270
275
  fn: withCtx(() => [renderSlot(_ctx.$slots, k)])
271
276
  };
272
- })]), 1032, ["placeholder", "to", "type", "formatted-value", "is-date-disabled"]);
277
+ })]), 1032, ["placeholder", "to", "type", "update-value-on-close", "formatted-value", "is-date-disabled"]);
273
278
  };
274
279
  }
275
280
  });
@@ -210,6 +210,7 @@ function useDetailEvent(polyline, options) {
210
210
  function createScaleText() {
211
211
  return new fabric.Text(`x${scale}`, {
212
212
  ...defaultStyle,
213
+ objectCaching: false,
213
214
  fill: "black",
214
215
  fontSize: 20,
215
216
  left: offset.x + 10,
@@ -218,6 +219,7 @@ function useDetailEvent(polyline, options) {
218
219
  }
219
220
  function createNumberText(points2, targetIdx2) {
220
221
  const defaultTextOptions = {
222
+ objectCaching: false,
221
223
  fontSize: 16,
222
224
  left: offset.x + renderWidth / 2 + 10
223
225
  };
@@ -240,7 +242,7 @@ function useDetailEvent(polyline, options) {
240
242
  fill: CURRENT_COLOR,
241
243
  top: offset.y + renderHeight - SPACE * 3
242
244
  });
243
- return new fabric.Group([maxText, minText, currentText]);
245
+ return new fabric.Group([maxText, minText, currentText], { objectCaching: false });
244
246
  }
245
247
  });
246
248
  polyline.on("mouseup", async (event) => {
@@ -34,6 +34,7 @@ function useElectrocardiogram(canvas, propItems, flag) {
34
34
  rowNumber,
35
35
  lineStyle,
36
36
  titleStyle,
37
+ titleOffset,
37
38
  config,
38
39
  calibrationLineHeight
39
40
  } = propItems;
@@ -65,10 +66,15 @@ function useElectrocardiogram(canvas, propItems, flag) {
65
66
  dataList.forEach((lineItem, idx) => {
66
67
  if (idx === dataList.length - 1 && arguments.length)
67
68
  return;
68
- const { x, y, rowIdx } = lineItem.origin;
69
+ const { x, y, rowIdx, limitX } = lineItem.origin;
69
70
  const showLength = getShowLength(lineItem.data);
70
71
  const points = lineItem.data.reduce((res, value, _idx) => {
71
- const _res = idx < ECG.MAXLINENUMBER - 1 && _idx >= startIdx && _idx <= startIdx + showLength || idx === ECG.MAXLINENUMBER - 1 ? [{ x: computedX(res.length + 1), y: computedY(-+value) + y }] : [];
72
+ let _res = idx < ECG.MAXLINENUMBER - 1 && _idx >= startIdx && _idx <= startIdx + showLength || idx === ECG.MAXLINENUMBER - 1 ? [{ x: computedX(res.length + 1), y: computedY(-+value) + y }] : [];
73
+ if (_res.length) {
74
+ if (idx < ECG.MAXLINENUMBER - 1 && _res[0].x > limitX) {
75
+ _res = [];
76
+ }
77
+ }
72
78
  return res.concat(_res);
73
79
  }, []);
74
80
  const polyline = new fabric.Polyline(points, {
@@ -81,7 +87,7 @@ function useElectrocardiogram(canvas, propItems, flag) {
81
87
  hoverCursor: "default",
82
88
  lockMovementX: true,
83
89
  lockMovementY: true,
84
- objectCaching: true,
90
+ objectCaching: false,
85
91
  evented: true,
86
92
  selectable: true
87
93
  });
@@ -105,18 +111,28 @@ function useElectrocardiogram(canvas, propItems, flag) {
105
111
  if (arguments.length)
106
112
  return;
107
113
  drawCalibrationLine({ x, y }, lineStyle);
108
- const title = new fabric.Text(String(lineItem.title), {
109
- ...titleStyle,
110
- left: x + (columnNumber === 4 ? xCellWidth : xCellWidth / 2),
111
- top: y,
112
- originX: "left",
113
- originY: "bottom"
114
- });
115
- fixedPointsCache.add(title);
114
+ drawTitle(lineItem, x, y);
116
115
  });
117
116
  const renderObjects = arguments.length ? [...gridPoints] : [...gridPoints, ...fixedPointsCache];
118
117
  canvas.value.add(...renderObjects);
119
118
  }
119
+ function drawTitle(lineItem, x, y) {
120
+ var _a, _b;
121
+ if (!lineItem.title)
122
+ return;
123
+ const titleOriginX = x + (columnNumber === 4 ? xCellWidth : xCellWidth / 2);
124
+ const titleX = titleOriginX + ((_a = titleOffset == null ? void 0 : titleOffset.x) != null ? _a : 0);
125
+ const titleY = y + ((_b = titleOffset == null ? void 0 : titleOffset.y) != null ? _b : 0);
126
+ const title = new fabric.Text(String(lineItem.title), {
127
+ ...titleStyle,
128
+ left: titleX,
129
+ top: titleY,
130
+ originX: "left",
131
+ originY: "bottom",
132
+ objectCaching: false
133
+ });
134
+ fixedPointsCache.add(title);
135
+ }
120
136
  function bindPointEvent(polyline, options) {
121
137
  useDetailEvent(polyline, options);
122
138
  }
@@ -102,7 +102,8 @@ function useElectrocardiogramChart(canvas, props, emits, canvasRef, pointTipProp
102
102
  origin: {
103
103
  x: itemColumnIdx * columnWidth + baseX,
104
104
  y: itemRowIdx * (yCellHeight.value * rowSpace.value) + baseY,
105
- rowIdx: itemRowIdx
105
+ rowIdx: itemRowIdx,
106
+ limitX: columnWidth - baseX
106
107
  }
107
108
  };
108
109
  });
@@ -137,6 +138,7 @@ function useElectrocardiogramChart(canvas, props, emits, canvasRef, pointTipProp
137
138
  borderStyle: { ...defaultBorderStyle, ...props.data.borderStyle },
138
139
  lineStyle: { ...defaultLineStyle, ...props.data.lineStyle },
139
140
  titleStyle: { ...defaultTextStyle, ...props.data.titleStyle },
141
+ titleOffset: props.data.titleOffset,
140
142
  measureLineStyle: { ...defaultLineStyle, ...props.data.measureLineStyle },
141
143
  measureTextStyle: { ...defaultTextStyle, ...props.data.measureTextStyle },
142
144
  grid: props.data.grid,
@@ -295,11 +295,14 @@ function useOther(canvas, propItems, emits, pointTipProps, pointMenuProps, moveL
295
295
  const _endY = endY + extracorporealCirculationHeight;
296
296
  let prevLeft = 0;
297
297
  const pointerObj = {};
298
+ const xList = [];
298
299
  dataList.forEach((markItem, dataIndex) => {
299
300
  const { time, list = [] } = markItem;
300
301
  const x = computedX(time);
301
302
  if (!isLimitX(x))
302
303
  return;
304
+ pointerObj[`x_${x}`] = [];
305
+ pointerObj[`originx_${x}`] = [];
303
306
  let startTop = _endY + 1;
304
307
  list.forEach((item, index) => {
305
308
  var _a;
@@ -327,8 +330,12 @@ function useOther(canvas, propItems, emits, pointTipProps, pointMenuProps, moveL
327
330
  }
328
331
  const { topObj, startTop: _startTop, oldStartTop } = computedTop(startTop, pointHeight);
329
332
  startTop = _startTop;
330
- if (!pointerObj[`x_${x}`])
331
- pointerObj[`x_${x}`] = [];
333
+ xList.forEach((_x) => {
334
+ if (x - _x < xCellWidth) {
335
+ pointerObj[`x_${x}`].push(...pointerObj[`originx_${_x}`]);
336
+ }
337
+ });
338
+ pointerObj[`originx_${x}`].push([oldStartTop, startTop]);
332
339
  pointerObj[`x_${x}`].push([oldStartTop, startTop]);
333
340
  point.set("top", topObj.y2);
334
341
  gridPointsMap.get(key).push(point);
@@ -336,6 +343,7 @@ function useOther(canvas, propItems, emits, pointTipProps, pointMenuProps, moveL
336
343
  canvas.value.add(point);
337
344
  });
338
345
  prevLeft = x;
346
+ xList.push(x);
339
347
  });
340
348
  function computedTop(startTop, lineHeight) {
341
349
  const topObj = {};
@@ -368,7 +376,7 @@ function useOther(canvas, propItems, emits, pointTipProps, pointMenuProps, moveL
368
376
  return (_b = (_a = point.origin) == null ? void 0 : _a.data) == null ? void 0 : _b.isStart;
369
377
  };
370
378
  const startPoint = __arr.find((point) => isStart(point));
371
- const firstPoint = __arr.find((point) => !isStart(point) && point.left > startPoint.left);
379
+ const firstPoint = __arr.find((point) => !isStart(point) && point.left > (startPoint == null ? void 0 : startPoint.left));
372
380
  const otherPoints = __arr.filter((point) => !isStart(point));
373
381
  __arr.forEach((point) => {
374
382
  const limitX = {
@@ -376,10 +384,10 @@ function useOther(canvas, propItems, emits, pointTipProps, pointMenuProps, moveL
376
384
  x2: endX
377
385
  };
378
386
  if (isStart(point)) {
379
- limitX.x2 = firstPoint.left;
387
+ limitX.x2 = firstPoint == null ? void 0 : firstPoint.left;
380
388
  point.otherPoints = otherPoints;
381
389
  } else {
382
- limitX.x1 = startPoint.left;
390
+ limitX.x1 = startPoint == null ? void 0 : startPoint.left;
383
391
  point.startPoint = startPoint;
384
392
  }
385
393
  point.limitX = limitX;
@@ -541,8 +549,8 @@ function useOther(canvas, propItems, emits, pointTipProps, pointMenuProps, moveL
541
549
  point.otherPoints.forEach((_point) => {
542
550
  _point.limitX.x1 = point.left;
543
551
  });
544
- } else {
545
- const otherPointsLeft = point.startPoint.otherPoints.map((_point) => _point.left);
552
+ } else if (point.startPoint) {
553
+ const otherPointsLeft = point.startPoint.otherPoints.map((_point) => _point.left) || [];
546
554
  const minLeft = Math.min(...otherPointsLeft);
547
555
  point.startPoint.limitX.x2 = minLeft;
548
556
  }