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

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 (239) hide show
  1. package/es/_virtual/_virtual_i18n-methods.js +5 -1
  2. package/es/components/audio-sdk/index.d.ts +4 -4
  3. package/es/components/audio-sdk/src/Index.vue.d.ts +4 -4
  4. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +4 -4
  5. package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -4
  6. package/es/components/base-search/index.d.ts +34 -0
  7. package/es/components/base-search/src/index.vue.d.ts +34 -0
  8. package/es/components/base-search/src/index.vue2.js +9 -1
  9. package/es/components/button-print/index.d.ts +32 -0
  10. package/es/components/button-print/src/ButtonPrint.vue.d.ts +32 -0
  11. package/es/components/button-print/src/ButtonPrint.vue2.js +4 -0
  12. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +4 -0
  13. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +77 -50
  14. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +11 -0
  15. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -0
  16. package/es/components/button-print/src/utils/print.d.ts +2 -1
  17. package/es/components/button-print/src/utils/print.js +13 -8
  18. package/es/components/callback/src/components/render/popupMaps.d.ts +110 -222
  19. package/es/components/classification/index.d.ts +123 -0
  20. package/es/components/classification/src/components/search-filter/index.vue.d.ts +123 -0
  21. package/es/components/classification/src/components/set-classification/index.vue.d.ts +123 -0
  22. package/es/components/classification/src/index.vue.d.ts +123 -0
  23. package/es/components/classification/src/index.vue2.js +7 -0
  24. package/es/components/date-picker/index.d.ts +41 -0
  25. package/es/components/date-picker/src/DatePicker.vue.d.ts +41 -0
  26. package/es/components/date-picker/src/DatePicker.vue2.js +34 -4
  27. package/es/components/expand-field/index.d.ts +31 -0
  28. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +31 -0
  29. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +31 -0
  30. package/es/components/expand-field/src/components/form.vue.d.ts +31 -0
  31. package/es/components/expand-field/src/index.vue.d.ts +31 -0
  32. package/es/components/fabric-chart/index.d.ts +3 -3
  33. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +3 -3
  34. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -0
  35. package/es/components/fabric-chart/src/components/PopupMenu.d.ts +4 -4
  36. package/es/components/fabric-chart/src/components/PopupMenu.js +57 -39
  37. package/es/components/fabric-chart/src/constants/index.d.ts +19 -5
  38. package/es/components/fabric-chart/src/constants/index.js +26 -11
  39. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +4 -3
  40. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +119 -193
  41. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +69 -117
  42. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +18 -12
  43. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +1 -1
  44. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +61 -33
  45. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +2 -2
  46. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +86 -120
  47. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -0
  48. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +65 -113
  49. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +4 -3
  50. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +63 -37
  51. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +31 -14
  52. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +4 -3
  53. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +21 -14
  54. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +152 -208
  55. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +4 -3
  56. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -9
  57. package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
  58. package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +4 -3
  59. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +138 -229
  60. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +16 -14
  61. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +195 -273
  62. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
  63. package/es/components/fabric-chart/src/interface.d.ts +15 -1
  64. package/es/components/fabric-chart/src/utils/eventBus.d.ts +2 -0
  65. package/es/components/fabric-chart/src/utils/eventBus.js +5 -0
  66. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  67. package/es/components/fabric-chart/src/utils/index.js +2 -10
  68. package/es/components/fabric-chart/style/index.css +1 -1
  69. package/es/components/field-editor/index.d.ts +1 -0
  70. package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -0
  71. package/es/components/field-set/src/FieldColor.vue.d.ts +83 -1
  72. package/es/components/field-set/src/FieldColor.vue2.js +2 -1
  73. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  74. package/es/components/field-set/src/FieldFilter.vue2.js +2 -1
  75. package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
  76. package/es/components/field-set/src/FieldSet.vue2.js +4 -1
  77. package/es/components/field-set/src/components/condition.vue.d.ts +41 -0
  78. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +82 -0
  79. package/es/components/field-set/src/components/edit-filter.vue.d.ts +41 -0
  80. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  81. package/es/components/field-set/src/components/table-row.vue2.js +1 -0
  82. package/es/components/form-config/index.d.ts +24 -0
  83. package/es/components/form-config/src/FormConfig.vue.d.ts +24 -0
  84. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -0
  85. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -0
  86. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +48 -24
  87. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -0
  88. package/es/components/form-config/src/constants/index.d.ts +2 -0
  89. package/es/components/form-config/src/constants/index.js +2 -0
  90. package/es/components/form-config/src/hooks/useConfigurationField.js +20 -3
  91. package/es/components/form-render/index.d.ts +1 -0
  92. package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
  93. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -0
  94. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
  95. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -0
  96. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  97. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  98. package/es/components/form-render/src/components/renderer/radio_checkbox.js +3 -2
  99. package/es/components/form-render/src/components/renderer/textarea.d.ts +2 -2
  100. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  101. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  102. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  103. package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +8 -0
  104. package/es/components/form-render/src/types/index.d.ts +1 -0
  105. package/es/components/form-render/src/utils/index.d.ts +1 -1
  106. package/es/components/form-render/src/utils/index.js +5 -2
  107. package/es/components/iho-chat/index.d.ts +2785 -302
  108. package/es/components/iho-chat/src/Index.vue.d.ts +2785 -302
  109. package/es/components/iho-chat/src/Index.vue2.js +5 -3
  110. package/es/components/iho-chat/src/api/index.d.ts +89 -16
  111. package/es/components/iho-chat/src/api/index.js +8 -1
  112. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +104 -22
  113. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +191 -29
  114. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +191 -29
  115. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +3 -0
  116. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +796 -101
  117. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +611 -51
  118. package/es/components/iho-chat/src/components/ChatMain.vue2.js +27 -28
  119. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +217 -14
  120. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +175 -10
  121. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +2 -1
  122. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +197 -29
  123. package/es/components/iho-chat/src/components/ChatSet.vue2.js +48 -11
  124. package/es/components/iho-chat/src/components/ContextMenu.js +7 -10
  125. package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +88 -7
  126. package/es/components/iho-chat/src/components/MessageMarkdown.vue.d.ts +158 -0
  127. package/es/components/iho-chat/src/components/MessageMarkdown.vue.js +6 -0
  128. package/es/components/iho-chat/src/components/MessageMarkdown.vue2.js +51 -0
  129. package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +176 -14
  130. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +192 -29
  131. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +2 -1
  132. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +91 -8
  133. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +134 -11
  134. package/es/components/iho-chat/src/components/Video.vue.d.ts +89 -8
  135. package/es/components/iho-chat/src/components/userItemRender.js +2 -1
  136. package/es/components/iho-chat/src/constants/index.d.ts +2 -1
  137. package/es/components/iho-chat/src/constants/index.js +1 -0
  138. package/es/components/iho-chat/src/hooks/useData.d.ts +374 -27
  139. package/es/components/iho-chat/src/hooks/useData.js +31 -10
  140. package/es/components/iho-chat/src/hooks/useStreamOutput.d.ts +6 -0
  141. package/es/components/iho-chat/src/hooks/useStreamOutput.js +100 -0
  142. package/es/components/iho-chat/src/hooks/useVideo.d.ts +89 -7
  143. package/es/components/iho-chat/src/hooks/useWebSocket.js +14 -4
  144. package/es/components/iho-chat/src/types/index.d.ts +39 -7
  145. package/es/components/iho-chat/src/utils/index.d.ts +2 -1
  146. package/es/components/iho-chat/src/utils/sseClient.d.ts +22 -0
  147. package/es/components/iho-chat/src/utils/sseClient.js +97 -0
  148. package/es/components/iho-chat/style/index.css +1 -1
  149. package/es/components/iho-table/index.d.ts +109 -222
  150. package/es/components/iho-table/src/IhoTable.vue.d.ts +109 -222
  151. package/es/components/iho-table/src/IhoTable.vue2.js +23 -14
  152. package/es/components/iho-table/src/constants/index.d.ts +3 -3
  153. package/es/components/iho-table/src/constants/index.js +0 -21
  154. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +39 -60
  155. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
  156. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +1 -1
  157. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +43 -4
  158. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +22 -8
  159. package/es/components/iho-table/src/plugins/highLightSetPlugin.js +7 -2
  160. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -1
  161. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +41 -0
  162. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  163. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +25 -0
  164. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
  165. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
  166. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +2 -2
  167. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  168. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  169. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
  170. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  171. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  172. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.d.ts +1 -1
  173. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +8 -2
  174. package/es/components/iho-table/src/types/index.d.ts +3 -1
  175. package/es/components/index.css +1 -1
  176. package/es/components/info-header/index.d.ts +46 -2
  177. package/es/components/info-header/src/InfoHeader.vue.d.ts +46 -2
  178. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +41 -2
  179. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +2 -1
  180. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +41 -2
  181. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +20 -1
  182. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +20 -1
  183. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +9 -6
  184. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +42 -2
  185. package/es/components/info-header/src/components/infoDescription/index.vue2.js +1 -1
  186. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -0
  187. package/es/components/scale-view/index.d.ts +1 -1
  188. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
  189. package/es/components/scale-view/src/ScaleView.vue2.js +9 -3
  190. package/es/components/scale-view/src/hooks/use-event.js +56 -22
  191. package/es/components/select-person/index.d.ts +31 -0
  192. package/es/components/select-person/src/SelectPerson.vue.d.ts +14 -0
  193. package/es/components/select-person/src/SelectPerson.vue2.js +38 -9
  194. package/es/components/select-person/src/index.vue.d.ts +31 -0
  195. package/es/components/select-person/src/index.vue2.js +4 -0
  196. package/es/components/select-person/src/utils/index.js +11 -9
  197. package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +3 -0
  198. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +9 -3
  199. package/es/components/shortcut-setter/index.d.ts +2 -0
  200. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +2 -0
  201. package/es/components/table-export-field/index.d.ts +6 -0
  202. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
  203. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +2 -0
  204. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +49 -18
  205. package/es/components/table-export-field/src/index.vue.d.ts +6 -0
  206. package/es/components/table-export-field/src/types/index.d.ts +1 -0
  207. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +41 -0
  208. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +41 -0
  209. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +41 -0
  210. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +41 -0
  211. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +82 -0
  212. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +41 -0
  213. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +41 -0
  214. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +82 -0
  215. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +82 -0
  216. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +41 -0
  217. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +43 -0
  218. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +10 -2
  219. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +41 -0
  220. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +43 -0
  221. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +10 -2
  222. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +168 -0
  223. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +9 -9
  224. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +168 -0
  225. package/es/components/table-filter/src/constants/index.d.ts +1 -0
  226. package/es/components/table-filter/src/constants/index.js +4 -1
  227. package/es/shared/components/CancelRadio/CancelRadio.js +3 -1
  228. package/es/shared/components/Ellipsis/Ellipsis.d.ts +12 -0
  229. package/es/shared/components/Ellipsis/Ellipsis.js +86 -0
  230. package/es/shared/components/Ellipsis/index.d.ts +2 -0
  231. package/es/shared/components/Ellipsis/index.js +2 -0
  232. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +15 -0
  233. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +24 -10
  234. package/es/shared/package.json.js +1 -1
  235. package/es/shared/types/business.d.ts +3 -2
  236. package/es/shared/utils/business.js +16 -0
  237. package/es/shared/utils/ho-edge.d.ts +12 -0
  238. package/es/shared/utils/ho-edge.js +58 -0
  239. package/package.json +3 -3
@@ -109,6 +109,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
109
109
  type: Boolean,
110
110
  default: false
111
111
  },
112
+ onlyCheckChildNode: {
113
+ type: Boolean,
114
+ default: false
115
+ },
112
116
  itemKey: {
113
117
  type: Function,
114
118
  default: void 0
@@ -19,8 +19,8 @@ function searchFilterTree(attr, data, keyword, filterKey) {
19
19
  return searchBasisTree(data, keyword, filterKey);
20
20
  }
21
21
  function searchBasisTree(data, keyword, filterKey) {
22
- transform(data, keyword, filterKey);
23
- return filterHandle(data);
22
+ const searchItems = transform(data, keyword, filterKey);
23
+ return filterHandle(searchItems);
24
24
  }
25
25
  function getAllChildren(children, childrenKey) {
26
26
  const cache = /* @__PURE__ */ new WeakMap();
@@ -46,20 +46,22 @@ function getAllChildren(children, childrenKey) {
46
46
  return Array.from(childrenIterator(children || []));
47
47
  }
48
48
  function transform(data, keyword, filterKey) {
49
- data.forEach((item) => {
49
+ return data.map((item) => {
50
50
  var _a;
51
+ const tree = { ...item };
51
52
  const filterValue = item[filterKey] ? item[filterKey].split(",") : [item.title || item.name];
52
- item.visible = filterValue.some((item2) => item2.includes(keyword.trim()));
53
+ tree.visible = filterValue.some((item2) => item2.includes(keyword.trim()));
53
54
  if ((_a = item.children) == null ? void 0 : _a.length) {
54
- transform(item.children, keyword, filterKey);
55
- if (item.visible) {
56
- setVisible(item.children);
55
+ tree.children = transform(item.children, keyword, filterKey);
56
+ if (tree.visible) {
57
+ setVisible(tree.children);
57
58
  } else {
58
- const isVisible = item.children.some((child) => child.visible);
59
+ const isVisible = tree.children.some((child) => child.visible);
59
60
  if (isVisible)
60
- item.visible = true;
61
+ tree.visible = true;
61
62
  }
62
63
  }
64
+ return tree;
63
65
  });
64
66
  }
65
67
  function getStaffByName(data, keyword, filterKey) {
@@ -10,12 +10,14 @@ export declare class ShortcutManager {
10
10
  static log(message: string, dryRun?: boolean): string;
11
11
  constructor(environmentEle?: MaybeRef<HTMLElement | undefined>, scope?: string | Symbol);
12
12
  get traverse(): Omit<ShortcutItem, "callback">[];
13
+ remove(key: string): void;
13
14
  private query;
14
15
  update(key: string, info: KeyboardEvent | Partial<ShortcutSignatureInfo>): Promise<void>;
15
16
  register(shortcutItem: ShortcutItem): {
16
17
  stop: () => void;
17
18
  start: () => void;
18
19
  signature: () => string;
20
+ remove: () => void;
19
21
  };
20
22
  start(): this;
21
23
  destroy(): void;
@@ -26,6 +28,7 @@ export declare function useShortcuts(scope?: MaybeRef<string | Symbol | undefine
26
28
  stop: () => void;
27
29
  signature: () => string;
28
30
  start: () => void;
31
+ remove: () => void;
29
32
  };
30
33
  traverse: () => Omit<ShortcutItem, "callback">[];
31
34
  clear: () => void;
@@ -23,6 +23,10 @@ class ShortcutManager {
23
23
  get traverse() {
24
24
  return [...Object.values(this.shortcutCache.value)].sort((a, b) => (a.order || 0) - (b.order || 0));
25
25
  }
26
+ remove(key) {
27
+ Reflect.deleteProperty(this.shortcutCache.value, key);
28
+ this.shortcutCallbackMap.delete(key);
29
+ }
26
30
  query(key) {
27
31
  return this.shortcutCache.value[key];
28
32
  }
@@ -61,6 +65,7 @@ class ShortcutManager {
61
65
  }
62
66
  this.shortcutCache.value[shortcutItem.key] = omit(shortcutItem, ["callback"]);
63
67
  this.shortcutCallbackMap.set(shortcutItem.currentKeySignature, shortcutItem.callback);
68
+ const that = this;
64
69
  return createHandler(this.shortcutCache.value[shortcutItem.key]);
65
70
  function createHandler(shortcut) {
66
71
  return {
@@ -70,7 +75,8 @@ class ShortcutManager {
70
75
  start: () => {
71
76
  shortcut.status = ShortcutStatus.ACTIVE;
72
77
  },
73
- signature: () => shortcut.currentKeySignature
78
+ signature: () => shortcut.currentKeySignature,
79
+ remove: () => that.remove(shortcut.key)
74
80
  };
75
81
  }
76
82
  }
@@ -171,7 +177,7 @@ function useShortcuts(scope) {
171
177
  }
172
178
  }
173
179
  function register(shortcut) {
174
- const { stop, signature, start } = unref(manager).register(createShortcutItem(shortcut));
180
+ const { stop, signature, start, remove } = unref(manager).register(createShortcutItem(shortcut));
175
181
  if (getCurrentInstance()) {
176
182
  onBeforeUnmount(stop);
177
183
  onDeactivated(stop);
@@ -179,7 +185,7 @@ function useShortcuts(scope) {
179
185
  } else {
180
186
  onceRegisterWarn();
181
187
  }
182
- return { stop, signature, start };
188
+ return { stop, signature, start, remove };
183
189
  }
184
190
  function traverse() {
185
191
  return unref(manager).traverse;
@@ -30,6 +30,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<impor
30
30
  stop: () => void;
31
31
  signature: () => string;
32
32
  start: () => void;
33
+ remove: () => void;
33
34
  };
34
35
  traverse: () => Omit<import("..").ShortcutItem, "callback">[];
35
36
  clear: () => void;
@@ -1074,6 +1075,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<impor
1074
1075
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
1075
1076
  autoExpand: boolean;
1076
1077
  lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
1078
+ newLowCodeReactions: import("../../shared/types").LowCodeTypes.newReactionConfig[];
1077
1079
  linebarAutoHidden: boolean;
1078
1080
  labelPlacementOverwrite: boolean;
1079
1081
  bordered: string | boolean;
@@ -33,6 +33,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
33
33
  stop: () => void;
34
34
  signature: () => string;
35
35
  start: () => void;
36
+ remove: () => void;
36
37
  };
37
38
  traverse: () => Omit<import("../../../components/shortcut-provider").ShortcutItem, "callback">[];
38
39
  clear: () => void;
@@ -1077,6 +1078,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1077
1078
  enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
1078
1079
  autoExpand: boolean;
1079
1080
  lowCodeReactions: import("../../../shared/types").LowCodeTypes.reactionConfig[];
1081
+ newLowCodeReactions: import("../../../shared/types").LowCodeTypes.newReactionConfig[];
1080
1082
  linebarAutoHidden: boolean;
1081
1083
  labelPlacementOverwrite: boolean;
1082
1084
  bordered: string | boolean;
@@ -50,22 +50,26 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<imp
50
50
  schemeName: string;
51
51
  fieldKeys: string[];
52
52
  updatedTime?: string | undefined;
53
+ exportPath?: string | undefined;
53
54
  }, import("./src/types").IExportSchemeType | {
54
55
  schemeId: string;
55
56
  schemeName: string;
56
57
  fieldKeys: string[];
57
58
  updatedTime?: string | undefined;
59
+ exportPath?: string | undefined;
58
60
  }>;
59
61
  programOptions: import("vue").Ref<{
60
62
  schemeId: string;
61
63
  schemeName: string;
62
64
  fieldKeys: string[];
63
65
  updatedTime?: string | undefined;
66
+ exportPath?: string | undefined;
64
67
  }[], import("./src/types").IExportSchemeType[] | {
65
68
  schemeId: string;
66
69
  schemeName: string;
67
70
  fieldKeys: string[];
68
71
  updatedTime?: string | undefined;
72
+ exportPath?: string | undefined;
69
73
  }[]>;
70
74
  downLoadFieldList: import("vue").Ref<any[], any[]>;
71
75
  showAllFieldList: import("vue").Ref<any[], any[]>;
@@ -366,6 +370,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<imp
366
370
  formRef: import("vue").Ref<any, any>;
367
371
  formValue: {
368
372
  projectName: string;
373
+ exportPath: string;
369
374
  };
370
375
  selectProject: import("vue").Ref<any, any>;
371
376
  projectList: import("vue").Ref<any[], any[]>;
@@ -377,6 +382,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<imp
377
382
  lastUsedSchemeName: string;
378
383
  schemeId: string;
379
384
  schemeName: string;
385
+ exportPath: string;
380
386
  tableListId: string;
381
387
  };
382
388
  saveToCalss: () => void;
@@ -116,6 +116,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
116
116
  lastUsedSchemeName: curOption ? curOption.schemeName : "",
117
117
  schemeId: curOption ? curOption.schemeId : "",
118
118
  schemeName: curOption ? curOption.schemeName : "",
119
+ exportPath: (curOption == null ? void 0 : curOption.exportPath) || "",
119
120
  tableListId: props.tableListId
120
121
  };
121
122
  let res = await exportTableListScheme(params, exportApiConfig);
@@ -64,6 +64,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
64
64
  formRef: import("vue").Ref<any, any>;
65
65
  formValue: {
66
66
  projectName: string;
67
+ exportPath: string;
67
68
  };
68
69
  selectProject: import("vue").Ref<any, any>;
69
70
  projectList: import("vue").Ref<any[], any[]>;
@@ -75,6 +76,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
76
  lastUsedSchemeName: string;
76
77
  schemeId: string;
77
78
  schemeName: string;
79
+ exportPath: string;
78
80
  tableListId: string;
79
81
  };
80
82
  saveToCalss: () => void;
@@ -16,6 +16,13 @@ const _hoisted_2 = {
16
16
  const _hoisted_3 = {
17
17
  class: "save-project-content"
18
18
  };
19
+ const _hoisted_4 = {
20
+ style: {
21
+ "width": "100%",
22
+ "display": "flex",
23
+ "flex-direction": "column"
24
+ }
25
+ };
19
26
  const defaultKey = "default";
20
27
  var _sfc_main = /* @__PURE__ */ defineComponent({
21
28
  __name: "SaveProjectModal",
@@ -67,7 +74,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
67
74
  const emits = __emit;
68
75
  const formRef = ref(null);
69
76
  const formValue = reactive({
70
- projectName: ""
77
+ projectName: "",
78
+ exportPath: ""
71
79
  });
72
80
  const selectProject = ref();
73
81
  const projectList = ref([]);
@@ -96,6 +104,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
96
104
  }
97
105
  function getParams() {
98
106
  const schemeName = formValue.projectName.trim();
107
+ const exportPath = encodeURIComponent(formValue.exportPath.trim());
99
108
  const {
100
109
  fieldKeys,
101
110
  schemeId
@@ -105,6 +114,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
105
114
  lastUsedSchemeName: schemeName,
106
115
  schemeId: "",
107
116
  schemeName,
117
+ exportPath,
108
118
  tableListId: props.tableListId
109
119
  };
110
120
  if (selectProject.value === "updateProject") {
@@ -124,29 +134,34 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
124
134
  let res = await saveTableListExportScheme(params, exportApiConfig);
125
135
  if (res) {
126
136
  message.success(i18n("10010.1.438", "\u4FDD\u5B58\u5E76\u5BFC\u51FA\u6210\u529F"));
127
- emits("cancelSaveModal");
137
+ cancelSaveToCalss();
128
138
  }
129
139
  });
130
140
  }
131
141
  function cancelSaveToCalss() {
142
+ formValue.projectName = "";
143
+ formValue.exportPath = "";
132
144
  emits("cancelSaveModal");
133
145
  }
134
- watch(() => props.curProgram, async (program) => {
135
- switch (program.schemeId) {
136
- case defaultKey:
137
- projectList.value = modeList.filter((mode) => mode.value === "addProject");
138
- selectProject.value = "addProject";
139
- formValue.projectName = "";
140
- break;
141
- default:
142
- projectList.value = cloneDeep(modeList);
143
- selectProject.value = "updateProject";
144
- formValue.projectName = program.schemeName;
145
- break;
146
+ watch(() => props.visible, async (isShow) => {
147
+ if (isShow) {
148
+ const program = props.curProgram;
149
+ formValue.exportPath = decodeURIComponent((program == null ? void 0 : program.exportPath) || "");
150
+ switch (program.schemeId) {
151
+ case defaultKey:
152
+ projectList.value = modeList.filter((mode) => mode.value === "addProject");
153
+ selectProject.value = "addProject";
154
+ formValue.projectName = "";
155
+ break;
156
+ default:
157
+ projectList.value = cloneDeep(modeList);
158
+ selectProject.value = "updateProject";
159
+ formValue.projectName = program.schemeName;
160
+ break;
161
+ }
146
162
  }
147
163
  }, {
148
- immediate: true,
149
- deep: true
164
+ immediate: true
150
165
  });
151
166
  return (_ctx, _cache) => {
152
167
  return openBlock(), createBlock(unref(NModal), {
@@ -176,13 +191,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
176
191
  footer: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(unref(NButton), {
177
192
  onClick: cancelSaveToCalss
178
193
  }, {
179
- default: withCtx(() => [..._cache[2] || (_cache[2] = [createTextVNode(i18n("10010.1.28", "\u53D6\u6D88"), -1)])]),
194
+ default: withCtx(() => [..._cache[3] || (_cache[3] = [createTextVNode(i18n("10010.1.28", "\u53D6\u6D88"), -1)])]),
180
195
  _: 1
181
196
  }), createVNode(unref(NButton), {
182
197
  type: "info",
183
198
  onClick: saveToCalss
184
199
  }, {
185
- default: withCtx(() => [..._cache[3] || (_cache[3] = [createTextVNode(i18n("10010.1.428", "\u786E\u8BA4"), -1)])]),
200
+ default: withCtx(() => [..._cache[4] || (_cache[4] = [createTextVNode(i18n("10010.1.428", "\u786E\u8BA4"), -1)])]),
186
201
  _: 1
187
202
  })])]),
188
203
  default: withCtx(() => [createElementVNode("div", _hoisted_3, [createVNode(unref(NRadioGroup), {
@@ -219,6 +234,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
219
234
  maxlength: "100"
220
235
  }, null, 8, ["value"])]),
221
236
  _: 1
237
+ }), createVNode(unref(NFormItem), {
238
+ label: i18n("10010.1.683", "\u5BFC\u51FA\u8DEF\u5F84"),
239
+ path: "exportPath"
240
+ }, {
241
+ default: withCtx(() => [createElementVNode("div", _hoisted_4, [createVNode(unref(NInput), {
242
+ value: formValue.exportPath,
243
+ "onUpdate:value": _cache[2] || (_cache[2] = ($event) => formValue.exportPath = $event),
244
+ placeholder: i18n("10010.1.684", "\u8BF7\u8F93\u5165\u5BFC\u51FA\u8DEF\u5F84"),
245
+ clearable: ""
246
+ }, null, 8, ["value"]), _cache[5] || (_cache[5] = createElementVNode("span", {
247
+ style: {
248
+ "margin-top": "3px",
249
+ "color": "#d03050"
250
+ }
251
+ }, "\u5F53\u524D\u914D\u7F6E\u4EC5\u7528\u4E8E\u5C01\u88C5\u6D4F\u89C8\u5668", -1))])]),
252
+ _: 1
222
253
  })]),
223
254
  _: 1
224
255
  }, 8, ["model"])])]),
@@ -51,22 +51,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
51
51
  schemeName: string;
52
52
  fieldKeys: string[];
53
53
  updatedTime?: string | undefined;
54
+ exportPath?: string | undefined;
54
55
  }, IExportSchemeType | {
55
56
  schemeId: string;
56
57
  schemeName: string;
57
58
  fieldKeys: string[];
58
59
  updatedTime?: string | undefined;
60
+ exportPath?: string | undefined;
59
61
  }>;
60
62
  programOptions: import("vue").Ref<{
61
63
  schemeId: string;
62
64
  schemeName: string;
63
65
  fieldKeys: string[];
64
66
  updatedTime?: string | undefined;
67
+ exportPath?: string | undefined;
65
68
  }[], IExportSchemeType[] | {
66
69
  schemeId: string;
67
70
  schemeName: string;
68
71
  fieldKeys: string[];
69
72
  updatedTime?: string | undefined;
73
+ exportPath?: string | undefined;
70
74
  }[]>;
71
75
  downLoadFieldList: import("vue").Ref<any[], any[]>;
72
76
  showAllFieldList: import("vue").Ref<any[], any[]>;
@@ -367,6 +371,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
367
371
  formRef: import("vue").Ref<any, any>;
368
372
  formValue: {
369
373
  projectName: string;
374
+ exportPath: string;
370
375
  };
371
376
  selectProject: import("vue").Ref<any, any>;
372
377
  projectList: import("vue").Ref<any[], any[]>;
@@ -378,6 +383,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
378
383
  lastUsedSchemeName: string;
379
384
  schemeId: string;
380
385
  schemeName: string;
386
+ exportPath: string;
381
387
  tableListId: string;
382
388
  };
383
389
  saveToCalss: () => void;
@@ -3,4 +3,5 @@ export type IExportSchemeType = {
3
3
  schemeName: string;
4
4
  fieldKeys: string[];
5
5
  updatedTime?: string;
6
+ exportPath?: string;
6
7
  };
@@ -96,9 +96,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
96
96
  type: StringConstructor;
97
97
  default: string;
98
98
  };
99
+ updateValueOnClose: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
99
103
  isDateDisabled: {
100
104
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
101
105
  };
106
+ propKey: {
107
+ type: StringConstructor;
108
+ };
109
+ shortcutListenerConfig: {
110
+ type: import("vue").PropType<{
111
+ enable: boolean;
112
+ callback: (value: string, propKey?: string | undefined) => void;
113
+ }>;
114
+ };
102
115
  }>, {
103
116
  attrs: {
104
117
  [x: string]: unknown;
@@ -131,9 +144,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
131
144
  type: StringConstructor;
132
145
  default: string;
133
146
  };
147
+ updateValueOnClose: {
148
+ type: BooleanConstructor;
149
+ default: boolean;
150
+ };
134
151
  isDateDisabled: {
135
152
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
136
153
  };
154
+ propKey: {
155
+ type: StringConstructor;
156
+ };
157
+ shortcutListenerConfig: {
158
+ type: import("vue").PropType<{
159
+ enable: boolean;
160
+ callback: (value: string, propKey?: string | undefined) => void;
161
+ }>;
162
+ };
137
163
  }>> & Readonly<{
138
164
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
139
165
  }> & {}>;
@@ -150,6 +176,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
150
176
  focus: () => any;
151
177
  blur: () => any;
152
178
  handleConfirm: (target: HTMLInputElement) => void;
179
+ handleShortcutClick: (event: MouseEvent) => void;
153
180
  onUpdateShow: (show: boolean) => Promise<void>;
154
181
  watchers: import("../../../../../shared/types").AnyFn[];
155
182
  stopWatcher: () => void;
@@ -186,9 +213,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
186
213
  type: StringConstructor;
187
214
  default: string;
188
215
  };
216
+ updateValueOnClose: {
217
+ type: BooleanConstructor;
218
+ default: boolean;
219
+ };
189
220
  isDateDisabled: {
190
221
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
191
222
  };
223
+ propKey: {
224
+ type: StringConstructor;
225
+ };
226
+ shortcutListenerConfig: {
227
+ type: import("vue").PropType<{
228
+ enable: boolean;
229
+ callback: (value: string, propKey?: string | undefined) => void;
230
+ }>;
231
+ };
192
232
  }>> & Readonly<{
193
233
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
194
234
  }>, {
@@ -196,6 +236,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
196
236
  updateUnchangedValue: boolean;
197
237
  to: string | false | HTMLElement;
198
238
  holidays: Date[];
239
+ updateValueOnClose: boolean;
199
240
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
200
241
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
201
242
  componentCfg: {
@@ -59,9 +59,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
59
  type: StringConstructor;
60
60
  default: string;
61
61
  };
62
+ updateValueOnClose: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
62
66
  isDateDisabled: {
63
67
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
64
68
  };
69
+ propKey: {
70
+ type: StringConstructor;
71
+ };
72
+ shortcutListenerConfig: {
73
+ type: import("vue").PropType<{
74
+ enable: boolean;
75
+ callback: (value: string, propKey?: string | undefined) => void;
76
+ }>;
77
+ };
65
78
  }>, {
66
79
  attrs: {
67
80
  [x: string]: unknown;
@@ -94,9 +107,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
94
107
  type: StringConstructor;
95
108
  default: string;
96
109
  };
110
+ updateValueOnClose: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
97
114
  isDateDisabled: {
98
115
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
99
116
  };
117
+ propKey: {
118
+ type: StringConstructor;
119
+ };
120
+ shortcutListenerConfig: {
121
+ type: import("vue").PropType<{
122
+ enable: boolean;
123
+ callback: (value: string, propKey?: string | undefined) => void;
124
+ }>;
125
+ };
100
126
  }>> & Readonly<{
101
127
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
102
128
  }> & {}>;
@@ -113,6 +139,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
113
139
  focus: () => any;
114
140
  blur: () => any;
115
141
  handleConfirm: (target: HTMLInputElement) => void;
142
+ handleShortcutClick: (event: MouseEvent) => void;
116
143
  onUpdateShow: (show: boolean) => Promise<void>;
117
144
  watchers: import("../../../../../../shared/types").AnyFn[];
118
145
  stopWatcher: () => void;
@@ -149,9 +176,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
149
176
  type: StringConstructor;
150
177
  default: string;
151
178
  };
179
+ updateValueOnClose: {
180
+ type: BooleanConstructor;
181
+ default: boolean;
182
+ };
152
183
  isDateDisabled: {
153
184
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
154
185
  };
186
+ propKey: {
187
+ type: StringConstructor;
188
+ };
189
+ shortcutListenerConfig: {
190
+ type: import("vue").PropType<{
191
+ enable: boolean;
192
+ callback: (value: string, propKey?: string | undefined) => void;
193
+ }>;
194
+ };
155
195
  }>> & Readonly<{
156
196
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
157
197
  }>, {
@@ -159,6 +199,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
159
199
  updateUnchangedValue: boolean;
160
200
  to: string | false | HTMLElement;
161
201
  holidays: Date[];
202
+ updateValueOnClose: boolean;
162
203
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
163
204
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
164
205
  componentCfg: {
@@ -59,9 +59,22 @@ declare const Date: import("vue").DefineComponent<import("vue").ExtractPropTypes
59
59
  type: StringConstructor;
60
60
  default: string;
61
61
  };
62
+ updateValueOnClose: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
62
66
  isDateDisabled: {
63
67
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
64
68
  };
69
+ propKey: {
70
+ type: StringConstructor;
71
+ };
72
+ shortcutListenerConfig: {
73
+ type: import("vue").PropType<{
74
+ enable: boolean;
75
+ callback: (value: string, propKey?: string | undefined) => void;
76
+ }>;
77
+ };
65
78
  }>, {
66
79
  attrs: {
67
80
  [x: string]: unknown;
@@ -94,9 +107,22 @@ declare const Date: import("vue").DefineComponent<import("vue").ExtractPropTypes
94
107
  type: StringConstructor;
95
108
  default: string;
96
109
  };
110
+ updateValueOnClose: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
97
114
  isDateDisabled: {
98
115
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
99
116
  };
117
+ propKey: {
118
+ type: StringConstructor;
119
+ };
120
+ shortcutListenerConfig: {
121
+ type: import("vue").PropType<{
122
+ enable: boolean;
123
+ callback: (value: string, propKey?: string | undefined) => void;
124
+ }>;
125
+ };
100
126
  }>> & Readonly<{
101
127
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
102
128
  }> & {}>;
@@ -113,6 +139,7 @@ declare const Date: import("vue").DefineComponent<import("vue").ExtractPropTypes
113
139
  focus: () => any;
114
140
  blur: () => any;
115
141
  handleConfirm: (target: HTMLInputElement) => void;
142
+ handleShortcutClick: (event: MouseEvent) => void;
116
143
  onUpdateShow: (show: boolean) => Promise<void>;
117
144
  watchers: import("../../../../../../shared/types").AnyFn[];
118
145
  stopWatcher: () => void;
@@ -149,9 +176,22 @@ declare const Date: import("vue").DefineComponent<import("vue").ExtractPropTypes
149
176
  type: StringConstructor;
150
177
  default: string;
151
178
  };
179
+ updateValueOnClose: {
180
+ type: BooleanConstructor;
181
+ default: boolean;
182
+ };
152
183
  isDateDisabled: {
153
184
  type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
154
185
  };
186
+ propKey: {
187
+ type: StringConstructor;
188
+ };
189
+ shortcutListenerConfig: {
190
+ type: import("vue").PropType<{
191
+ enable: boolean;
192
+ callback: (value: string, propKey?: string | undefined) => void;
193
+ }>;
194
+ };
155
195
  }>> & Readonly<{
156
196
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
157
197
  }>, {
@@ -159,6 +199,7 @@ declare const Date: import("vue").DefineComponent<import("vue").ExtractPropTypes
159
199
  updateUnchangedValue: boolean;
160
200
  to: string | false | HTMLElement;
161
201
  holidays: Date[];
202
+ updateValueOnClose: boolean;
162
203
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
163
204
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
164
205
  componentCfg: {