cnhis-design-vue 3.3.3-release.0 → 3.3.3-release.12

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 (244) hide show
  1. package/es/components/audio-sdk/index.d.ts +18 -16
  2. package/es/components/audio-sdk/src/Index.vue.d.ts +18 -16
  3. package/es/components/audio-sdk/src/Index.vue2.js +47 -12
  4. package/es/components/audio-sdk/src/audioSDK.js +1 -1
  5. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +6 -6
  6. package/es/components/audio-sdk/src/components/recording.vue.d.ts +6 -6
  7. package/es/components/audio-sdk/src/components/recording.vue2.js +17 -3
  8. package/es/components/base-search/index.d.ts +3 -0
  9. package/es/components/base-search/src/index.vue.d.ts +3 -0
  10. package/es/components/big-table/src/components/NoData.vue2.js +8 -1
  11. package/es/components/big-table/src/hooks/useTableParse.js +8 -1
  12. package/es/components/button-print/index.d.ts +9 -3
  13. package/es/components/button-print/src/ButtonPrint.vue.d.ts +9 -3
  14. package/es/components/button-print/src/ButtonPrint.vue2.js +6 -1
  15. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +11 -4
  16. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +113 -16
  17. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +9 -3
  18. package/es/components/button-print/src/utils/print.d.ts +3 -3
  19. package/es/components/button-print/src/utils/print.js +36 -23
  20. package/es/components/button-print/style/index.css +1 -1
  21. package/es/components/callback/src/components/render/popupMaps.d.ts +18 -0
  22. package/es/components/card-reader-sdk-cn/src/henan/index.js +8 -1
  23. package/es/components/classification/index.d.ts +56 -6
  24. package/es/components/classification/src/components/search-filter/index.vue.d.ts +56 -6
  25. package/es/components/classification/src/components/set-classification/index.vue.d.ts +56 -6
  26. package/es/components/classification/src/index.vue.d.ts +56 -6
  27. package/es/components/date-picker/src/DatePicker.vue2.js +8 -1
  28. package/es/components/expand-field/index.d.ts +792 -1
  29. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +792 -1
  30. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +792 -1
  31. package/es/components/expand-field/src/components/form.vue.d.ts +792 -1
  32. package/es/components/expand-field/src/components/form.vue2.js +8 -1
  33. package/es/components/expand-field/src/index.vue.d.ts +792 -1
  34. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -1
  35. package/es/components/field-editor/index.d.ts +18 -0
  36. package/es/components/field-editor/src/FieldEditor.vue.d.ts +18 -0
  37. package/es/components/field-editor/src/FieldEditor.vue2.js +2 -1
  38. package/es/components/field-editor/src/fields.d.ts +1 -0
  39. package/es/components/field-editor/src/fields.js +6 -0
  40. package/es/components/field-set/src/FieldColor.vue.d.ts +10 -5
  41. package/es/components/field-set/src/FieldFilter.vue.d.ts +10 -5
  42. package/es/components/field-set/src/FieldSet.vue.d.ts +43 -6
  43. package/es/components/field-set/src/FieldSet.vue2.js +118 -69
  44. package/es/components/field-set/src/Index.vue2.js +8 -3
  45. package/es/components/field-set/src/TableStyle.vue2.js +2 -2
  46. package/es/components/field-set/src/components/table-row.vue.d.ts +6 -5
  47. package/es/components/field-set/src/components/table-row.vue2.js +21 -6
  48. package/es/components/field-set/src/constants/index.d.ts +1 -1
  49. package/es/components/field-set/src/types/index.d.ts +2 -0
  50. package/es/components/field-set/style/index.css +1 -1
  51. package/es/components/form-config/index.d.ts +102 -0
  52. package/es/components/form-config/src/FormConfig.vue.d.ts +102 -0
  53. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +18 -0
  54. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +63 -0
  55. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +4 -4
  56. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +18 -0
  57. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +9 -2
  58. package/es/components/form-config/src/constants/index.d.ts +31 -1
  59. package/es/components/form-config/src/constants/index.js +150 -1
  60. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -2
  61. package/es/components/form-config/src/hooks/useConfigurationField.js +53 -6
  62. package/es/components/form-config/src/hooks/useLocale.d.ts +6 -0
  63. package/es/components/form-config/src/hooks/useLocale.js +34 -0
  64. package/es/components/form-config/src/types/index.d.ts +12 -0
  65. package/es/components/form-render/index.d.ts +18 -0
  66. package/es/components/form-render/src/FormRender.vue.d.ts +18 -0
  67. package/es/components/form-render/src/FormRender.vue2.js +5 -0
  68. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +18 -0
  69. package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
  70. package/es/components/form-render/src/components/renderer/formItem.js +17 -3
  71. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +4 -2
  72. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  73. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  74. package/es/components/form-render/src/components/renderer/searchCascade.js +3 -0
  75. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +12 -3
  76. package/es/components/form-render/src/hooks/useBusinessBinding.js +7 -7
  77. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +5 -2
  78. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  79. package/es/components/form-render/src/hooks/useFieldNormalize.js +15 -0
  80. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  81. package/es/components/form-render/src/hooks/useFormValidator.js +8 -1
  82. package/es/components/form-render/src/hooks/useLowCodeReactions.js +2 -1
  83. package/es/components/form-render/src/types/index.d.ts +1 -0
  84. package/es/components/form-render/src/utils/business.d.ts +3 -1
  85. package/es/components/form-render/src/utils/business.js +7 -1
  86. package/es/components/iho-chat/index.d.ts +861 -49
  87. package/es/components/iho-chat/src/Index.vue.d.ts +861 -49
  88. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +24 -1
  89. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +181 -8
  90. package/es/components/iho-chat/src/components/ChatFile.vue2.js +51 -41
  91. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +66 -6
  92. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +154 -57
  93. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +329 -15
  94. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +21 -19
  95. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +235 -20
  96. package/es/components/iho-chat/src/components/ChatMain.vue2.js +298 -279
  97. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +51 -5
  98. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +3 -3
  99. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +24 -1
  100. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +48 -2
  101. package/es/components/iho-chat/src/components/ContextMenu.js +34 -27
  102. package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +104 -0
  103. package/es/components/iho-chat/src/components/ImageLightbox.vue.js +6 -0
  104. package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +307 -0
  105. package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +24 -1
  106. package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +53 -6
  107. package/es/components/iho-chat/src/components/MessageMergeForward.vue2.js +3 -3
  108. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +64 -2
  109. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +112 -53
  110. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +24 -1
  111. package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +1 -1
  112. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +24 -1
  113. package/es/components/iho-chat/src/components/Video.vue.d.ts +24 -1
  114. package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
  115. package/es/components/iho-chat/src/hooks/index.js +1 -0
  116. package/es/components/iho-chat/src/hooks/useData.d.ts +51 -4
  117. package/es/components/iho-chat/src/hooks/useData.js +2 -7
  118. package/es/components/iho-chat/src/hooks/useDraggable.d.ts +25 -0
  119. package/es/components/iho-chat/src/hooks/useDraggable.js +160 -0
  120. package/es/components/iho-chat/src/hooks/useVideo.d.ts +24 -1
  121. package/es/components/iho-chat/src/types/index.d.ts +37 -1
  122. package/es/components/iho-chat/src/utils/emoji.d.ts +1 -1
  123. package/es/components/iho-chat/src/utils/emoji.js +1 -1
  124. package/es/components/iho-chat/src/utils/index.d.ts +3 -3
  125. package/es/components/iho-chat/src/utils/index.js +27 -39
  126. package/es/components/iho-chat/style/index.css +1 -1
  127. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +8 -1
  128. package/es/components/iho-table/src/plugins/headerPlugin/index.js +5 -2
  129. package/es/components/iho-table/src/plugins/highLightSetPlugin.js +2 -1
  130. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  131. package/es/components/index.css +1 -1
  132. package/es/components/info-header/index.d.ts +41 -0
  133. package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -0
  134. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
  135. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +56 -22
  136. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
  137. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +19 -0
  138. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +18 -0
  139. package/es/components/info-header/src/components/patientInfo/index.vue2.js +16 -2
  140. package/es/components/quick-search/index.d.ts +2 -0
  141. package/es/components/quick-search/src/index.vue.d.ts +2 -0
  142. package/es/components/scale-view/index.d.ts +67 -17
  143. package/es/components/scale-view/src/ScaleView.vue.d.ts +70 -19
  144. package/es/components/scale-view/src/ScaleView.vue2.js +84 -10
  145. package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +5 -0
  146. package/es/components/scale-view/src/components/AnswerParse.vue2.js +74 -8
  147. package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +10 -7
  148. package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +28 -4
  149. package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +10 -7
  150. package/es/components/scale-view/src/components/EvaluatePage.vue2.js +29 -8
  151. package/es/components/scale-view/src/components/NoData.vue2.js +9 -3
  152. package/es/components/scale-view/src/components/ScaleScore.d.ts +1 -1
  153. package/es/components/scale-view/src/components/ScaleScore.js +47 -4
  154. package/es/components/scale-view/src/components/formitem/r-checkbox.js +20 -2
  155. package/es/components/scale-view/src/components/formitem/r-radio.js +2 -0
  156. package/es/components/scale-view/src/components/formitem/r-sign.js +32 -4
  157. package/es/components/scale-view/src/components/formitem/r-upload.js +65 -7
  158. package/es/components/scale-view/src/components/formitem/sign-com.js +8 -1
  159. package/es/components/scale-view/src/hooks/scaleview-computed.js +20 -5
  160. package/es/components/scale-view/src/hooks/scaleview-init.js +24 -3
  161. package/es/components/scale-view/src/hooks/scaleview-methods.js +40 -5
  162. package/es/components/scale-view/src/hooks/scaleview-props.d.ts +8 -0
  163. package/es/components/scale-view/src/hooks/scaleview-props.js +8 -0
  164. package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +2 -1
  165. package/es/components/scale-view/src/hooks/scaleview-submit.js +64 -8
  166. package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +1 -1
  167. package/es/components/scale-view/src/hooks/scaleview-validate.js +157 -24
  168. package/es/components/scale-view/src/hooks/use-evaluate.js +16 -2
  169. package/es/components/scale-view/src/hooks/use-noData.js +33 -5
  170. package/es/components/scale-view/src/utils/judge-types.d.ts +2 -1
  171. package/es/components/scale-view/src/utils/judge-types.js +10 -10
  172. package/es/components/scale-view/src/utils/watch-form-change.d.ts +13 -0
  173. package/es/components/scale-view/src/utils/watch-form-change.js +71 -0
  174. package/es/components/scale-view/style/index.css +1 -1
  175. package/es/components/select-person/index.d.ts +792 -1
  176. package/es/components/select-person/src/SelectPerson.vue.d.ts +434 -341
  177. package/es/components/select-person/src/SelectPerson.vue2.js +521 -675
  178. package/es/components/select-person/src/SelectPersonRole.vue.d.ts +630 -0
  179. package/es/components/select-person/src/SelectPersonRole.vue.js +6 -0
  180. package/es/components/select-person/src/SelectPersonRole.vue2.js +942 -0
  181. package/es/components/select-person/src/components/GroupItem.vue.d.ts +19 -0
  182. package/es/components/select-person/src/components/GroupItem.vue.js +6 -0
  183. package/es/components/select-person/src/components/GroupItem.vue2.js +37 -0
  184. package/es/components/select-person/src/components/SearchGroupList.vue.d.ts +214 -0
  185. package/es/components/select-person/src/components/SearchGroupList.vue.js +6 -0
  186. package/es/components/select-person/src/components/SearchGroupList.vue2.js +145 -0
  187. package/es/components/select-person/src/components/SearchMultiple.vue2.js +1 -1
  188. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +21 -12
  189. package/es/components/select-person/src/components/TagItem.vue.d.ts +43 -0
  190. package/es/components/select-person/src/components/TagItem.vue.js +6 -0
  191. package/es/components/select-person/src/components/TagItem.vue2.js +40 -0
  192. package/es/components/select-person/src/index.vue.d.ts +793 -1
  193. package/es/components/select-person/src/index.vue2.js +21 -4
  194. package/es/components/select-person/src/types/index.d.ts +35 -0
  195. package/es/components/select-person/src/types/index.js +1 -0
  196. package/es/components/select-person/src/utils/index.d.ts +3 -0
  197. package/es/components/select-person/src/utils/index.js +29 -8
  198. package/es/components/select-person/style/index.css +1 -1
  199. package/es/components/shortcut-setter/index.d.ts +18 -0
  200. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +18 -0
  201. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -0
  202. package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +1 -0
  203. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -0
  204. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -0
  205. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +54 -6
  206. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +26 -10
  207. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +17 -2
  208. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +37 -2
  209. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +18 -2
  210. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +44 -1
  211. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -0
  212. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +36 -4
  213. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +2 -1
  214. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +55 -6
  215. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +6 -3
  216. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
  217. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -1
  218. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
  219. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +25 -6
  220. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
  221. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +12 -1
  222. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +2 -2
  223. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +2 -2
  224. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
  225. package/es/components/table-filter/src/hooks/useAdvanced.js +20 -3
  226. package/es/components/table-filter/src/hooks/useRenderWidget.js +4 -0
  227. package/es/components/table-filter/src/tool/date.d.ts +3 -0
  228. package/es/components/table-filter/src/tool/date.js +139 -0
  229. package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
  230. package/es/components/table-filter/src/tool/transformData.js +11 -8
  231. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  232. package/es/components/table-filter/src/types/enums.js +2 -1
  233. package/es/components/table-filter/src/types/index.d.ts +12 -0
  234. package/es/components/vod-chunk-upload/index.d.ts +3 -0
  235. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +1 -29
  236. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +109 -11
  237. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +15 -1
  238. package/es/components/vod-chunk-upload/src/hooks/upload-data.js +72 -9
  239. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +3 -0
  240. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +75 -9
  241. package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
  242. package/es/shared/hooks/useLevelSearchCascader.js +3 -3
  243. package/es/shared/package.json.js +1 -1
  244. package/package.json +4 -3
@@ -217,8 +217,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
217
217
  }
218
218
  }()
219
219
  }, {
220
- value: "\u5206",
221
- text: "\u5206"
220
+ value: function() {
221
+ var _a, _b, _c;
222
+ try {
223
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.611")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.611")) || "\u5206";
224
+ } catch (e) {
225
+ return "\u5206";
226
+ }
227
+ }(),
228
+ text: function() {
229
+ var _a, _b, _c;
230
+ try {
231
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.611")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.611")) || "\u5206";
232
+ } catch (e) {
233
+ return "\u5206";
234
+ }
235
+ }()
222
236
  }, {
223
237
  value: function() {
224
238
  var _a, _b, _c;
@@ -54,6 +54,7 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
54
54
  defaultValue: any;
55
55
  defValueUnit: any;
56
56
  optionSetting: string | undefined;
57
+ dateShortcuts: any[] | undefined;
57
58
  multiple: boolean;
58
59
  manualMapping: boolean | null | undefined;
59
60
  showWholeOption: boolean | undefined;
@@ -77,6 +78,7 @@ declare const CQuickSearch: SFCWithInstall<import("vue").DefineComponent<{
77
78
  accurateSearch: any;
78
79
  extendKey: string;
79
80
  extendType: string;
81
+ dateShortcuts: any[];
80
82
  }[];
81
83
  getCacheDef: (item: import("..").ISearchType, cacheList: string[]) => string | string[];
82
84
  transformParams: (paramsList: any[]) => any;
@@ -56,6 +56,7 @@ declare const _default: import("vue").DefineComponent<{
56
56
  defaultValue: any;
57
57
  defValueUnit: any;
58
58
  optionSetting: string | undefined;
59
+ dateShortcuts: any[] | undefined;
59
60
  multiple: boolean;
60
61
  manualMapping: boolean | null | undefined;
61
62
  showWholeOption: boolean | undefined;
@@ -79,6 +80,7 @@ declare const _default: import("vue").DefineComponent<{
79
80
  accurateSearch: any;
80
81
  extendKey: string;
81
82
  extendType: string;
83
+ dateShortcuts: any[];
82
84
  }[];
83
85
  getCacheDef: (item: ISearchType, cacheList: string[]) => string | string[];
84
86
  transformParams: (paramsList: any[]) => any;
@@ -121,7 +121,16 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
121
121
  type: ObjectConstructor;
122
122
  default: () => {};
123
123
  };
124
+ closeConfirm: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ closeConfirmText: {
129
+ type: StringConstructor;
130
+ default: string;
131
+ };
124
132
  }, {
133
+ dialog: import("naive-ui").DialogApi;
125
134
  ScaleViewState: {
126
135
  other: string;
127
136
  form: {};
@@ -276,6 +285,14 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
276
285
  type: ObjectConstructor;
277
286
  default: () => {};
278
287
  };
288
+ closeConfirm: {
289
+ type: BooleanConstructor;
290
+ default: boolean;
291
+ };
292
+ closeConfirmText: {
293
+ type: StringConstructor;
294
+ default: string;
295
+ };
279
296
  }>> & {
280
297
  onOnCloseSetting?: ((...args: any[]) => any) | undefined;
281
298
  onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
@@ -283,6 +300,15 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
283
300
  onStartWriteScale?: ((...args: any[]) => any) | undefined;
284
301
  }>>;
285
302
  state: any;
303
+ formChecker: {
304
+ setInitialSnapshot: (formData: Record<string, any>) => void;
305
+ checkFormChange: (newFormData?: Record<string, any> | null) => boolean;
306
+ getInitialSnapshot: () => Record<string, any> | null;
307
+ getFormDiff: (newFormData?: Record<string, any> | null) => Record<string, {
308
+ old: any;
309
+ new: any;
310
+ }> | null;
311
+ };
286
312
  emit: (event: "onCloseSetting" | "submitNoRequest" | "onSubmit" | "startWriteScale", ...args: any[]) => void;
287
313
  scaleViewDom: any;
288
314
  countdownDom: any;
@@ -352,7 +378,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
352
378
  };
353
379
  onSubmitData: () => void;
354
380
  onSubmitForm: () => Promise<unknown>;
355
- handleScoreJson: () => {};
381
+ handleScoreJson: () => import("../../shared/types").AnyObject;
356
382
  nextLogicEvent: (choiceValue: any, formItem: any, formArray?: any[], isInit?: boolean | undefined) => void;
357
383
  handleDynamicDataRelation: (list: any[], formItem: any, formArray: any[]) => void;
358
384
  scaleChange: (val: any, item: any, config?: any) => void;
@@ -364,8 +390,11 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
364
390
  handleQuery: () => void;
365
391
  init: (configData: any) => Promise<void>;
366
392
  onSubmitDataDebounce: (this: unknown, ...args: any[]) => any;
367
- cancel: () => void;
393
+ getFormChanged: () => boolean;
394
+ beforeCloseFn: () => Promise<unknown>;
395
+ cancel: () => Promise<void>;
368
396
  getScaleData: () => any;
397
+ batchInjectFormNew: (data: import("../../shared/types").AnyObject, skipValid?: boolean) => Promise<void>;
369
398
  isCollection: (e: string) => boolean;
370
399
  NoData: import("vue").DefineComponent<{
371
400
  noDataTip: {
@@ -421,8 +450,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
421
450
  default: () => never[];
422
451
  };
423
452
  evaluateResultConfig: {
424
- type: ObjectConstructor;
425
- default: () => {};
453
+ type: ArrayConstructor;
454
+ default: () => never[];
426
455
  };
427
456
  evaluateResultSetting: {
428
457
  type: ObjectConstructor;
@@ -458,6 +487,9 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
458
487
  vDrag: {
459
488
  beforeMount(el: any, binding: any): void;
460
489
  };
490
+ str1: string;
491
+ str2: string;
492
+ str3: string;
461
493
  state: {
462
494
  source: string;
463
495
  setAnswered: number;
@@ -479,8 +511,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
479
511
  default: () => never[];
480
512
  };
481
513
  evaluateResultConfig: {
482
- type: ObjectConstructor;
483
- default: () => {};
514
+ type: ArrayConstructor;
515
+ default: () => never[];
484
516
  };
485
517
  evaluateResultSetting: {
486
518
  type: ObjectConstructor;
@@ -554,8 +586,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
554
586
  default: () => never[];
555
587
  };
556
588
  evaluateResultConfig: {
557
- type: ObjectConstructor;
558
- default: () => {};
589
+ type: ArrayConstructor;
590
+ default: () => never[];
559
591
  };
560
592
  evaluateResultSetting: {
561
593
  type: ObjectConstructor;
@@ -592,7 +624,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
592
624
  }, {
593
625
  isEvaluetaResSituation: boolean;
594
626
  formArray: unknown[];
595
- evaluateResultConfig: Record<string, any>;
627
+ evaluateResultConfig: unknown[];
596
628
  evaluateResultSetting: Record<string, any>;
597
629
  form: Record<string, any>;
598
630
  currentTime: number;
@@ -607,8 +639,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
607
639
  default: () => never[];
608
640
  };
609
641
  evaluateResultConfig: {
610
- type: ObjectConstructor;
611
- default: () => {};
642
+ type: ArrayConstructor;
643
+ default: () => never[];
612
644
  };
613
645
  evaluateResultSetting: {
614
646
  type: ObjectConstructor;
@@ -623,6 +655,9 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
623
655
  default: number;
624
656
  };
625
657
  }, {
658
+ str1: string;
659
+ str2: string;
660
+ str3: string;
626
661
  state: {
627
662
  source: string;
628
663
  timer: null;
@@ -636,8 +671,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
636
671
  default: () => never[];
637
672
  };
638
673
  evaluateResultConfig: {
639
- type: ObjectConstructor;
640
- default: () => {};
674
+ type: ArrayConstructor;
675
+ default: () => never[];
641
676
  };
642
677
  evaluateResultSetting: {
643
678
  type: ObjectConstructor;
@@ -685,8 +720,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
685
720
  default: () => never[];
686
721
  };
687
722
  evaluateResultConfig: {
688
- type: ObjectConstructor;
689
- default: () => {};
723
+ type: ArrayConstructor;
724
+ default: () => never[];
690
725
  };
691
726
  evaluateResultSetting: {
692
727
  type: ObjectConstructor;
@@ -705,7 +740,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
705
740
  onWriteGuage?: ((...args: any[]) => any) | undefined;
706
741
  }, {
707
742
  formArray: unknown[];
708
- evaluateResultConfig: Record<string, any>;
743
+ evaluateResultConfig: unknown[];
709
744
  evaluateResultSetting: Record<string, any>;
710
745
  isFinished: boolean;
711
746
  maxScore: number;
@@ -716,6 +751,10 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
716
751
  default: () => {};
717
752
  };
718
753
  }, {
754
+ str1: string;
755
+ str2: string;
756
+ str3: string;
757
+ str4: string;
719
758
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
720
759
  item: {
721
760
  type: ObjectConstructor;
@@ -729,6 +768,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
729
768
  scoreText: import("vue").ComputedRef<"" | "部分">;
730
769
  correctAnswer: import("vue").ComputedRef<any>;
731
770
  answerKeyText: import("vue").ComputedRef<any>;
771
+ answerStr: import("vue").ComputedRef<string>;
732
772
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
733
773
  item: {
734
774
  type: ObjectConstructor;
@@ -756,8 +796,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
756
796
  default: number;
757
797
  };
758
798
  }>> & {}, {
759
- maxScore: number;
760
799
  config: Record<string, any>;
800
+ maxScore: number;
761
801
  }>;
762
802
  DescribeContent: import("vue").DefineComponent<{
763
803
  content: {
@@ -903,6 +943,14 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
903
943
  type: ObjectConstructor;
904
944
  default: () => {};
905
945
  };
946
+ closeConfirm: {
947
+ type: BooleanConstructor;
948
+ default: boolean;
949
+ };
950
+ closeConfirmText: {
951
+ type: StringConstructor;
952
+ default: string;
953
+ };
906
954
  }>> & {
907
955
  onOnCloseSetting?: ((...args: any[]) => any) | undefined;
908
956
  onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
@@ -936,6 +984,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
936
984
  isGeneratePrintPdf: boolean;
937
985
  combinationParmas: Record<string, any>;
938
986
  allQuery: Record<string, any>;
987
+ closeConfirm: boolean;
988
+ closeConfirmText: string;
939
989
  }>>;
940
990
  declare const CRadio: SFCWithInstall<import("vue").DefineComponent<{
941
991
  form: {
@@ -1,3 +1,4 @@
1
+ import { AnyObject } from '../../../shared/types';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  guageData: {
3
4
  type: ObjectConstructor;
@@ -119,7 +120,16 @@ declare const _default: import("vue").DefineComponent<{
119
120
  type: ObjectConstructor;
120
121
  default: () => {};
121
122
  };
123
+ closeConfirm: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ closeConfirmText: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
122
131
  }, {
132
+ dialog: import("naive-ui").DialogApi;
123
133
  ScaleViewState: {
124
134
  other: string;
125
135
  form: {};
@@ -274,6 +284,14 @@ declare const _default: import("vue").DefineComponent<{
274
284
  type: ObjectConstructor;
275
285
  default: () => {};
276
286
  };
287
+ closeConfirm: {
288
+ type: BooleanConstructor;
289
+ default: boolean;
290
+ };
291
+ closeConfirmText: {
292
+ type: StringConstructor;
293
+ default: string;
294
+ };
277
295
  }>> & {
278
296
  onOnCloseSetting?: ((...args: any[]) => any) | undefined;
279
297
  onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
@@ -281,6 +299,15 @@ declare const _default: import("vue").DefineComponent<{
281
299
  onStartWriteScale?: ((...args: any[]) => any) | undefined;
282
300
  }>>;
283
301
  state: any;
302
+ formChecker: {
303
+ setInitialSnapshot: (formData: Record<string, any>) => void;
304
+ checkFormChange: (newFormData?: Record<string, any> | null) => boolean;
305
+ getInitialSnapshot: () => Record<string, any> | null;
306
+ getFormDiff: (newFormData?: Record<string, any> | null) => Record<string, {
307
+ old: any;
308
+ new: any;
309
+ }> | null;
310
+ };
284
311
  emit: (event: "onCloseSetting" | "submitNoRequest" | "onSubmit" | "startWriteScale", ...args: any[]) => void;
285
312
  scaleViewDom: any;
286
313
  countdownDom: any;
@@ -341,8 +368,8 @@ declare const _default: import("vue").DefineComponent<{
341
368
  desStart: import("vue").ComputedRef<boolean>;
342
369
  desEnd: import("vue").ComputedRef<boolean>;
343
370
  desContent: import("vue").ComputedRef<any>;
344
- initForm: (data: import("../../../shared/types").AnyObject) => Promise<void> | undefined;
345
- batchInjectForm: (data: import("../../../shared/types").AnyObject, skipValid?: boolean) => Promise<boolean>;
371
+ initForm: (data: AnyObject) => Promise<void> | undefined;
372
+ batchInjectForm: (data: AnyObject, skipValid?: boolean) => Promise<boolean>;
346
373
  submitMethod: () => {
347
374
  params: any;
348
375
  hasCallbackItem: any;
@@ -350,7 +377,7 @@ declare const _default: import("vue").DefineComponent<{
350
377
  };
351
378
  onSubmitData: () => void;
352
379
  onSubmitForm: () => Promise<unknown>;
353
- handleScoreJson: () => {};
380
+ handleScoreJson: () => AnyObject;
354
381
  nextLogicEvent: (choiceValue: any, formItem: any, formArray?: any[], isInit?: boolean | undefined) => void;
355
382
  handleDynamicDataRelation: (list: any[], formItem: any, formArray: any[]) => void;
356
383
  scaleChange: (val: any, item: any, config?: any) => void;
@@ -362,8 +389,11 @@ declare const _default: import("vue").DefineComponent<{
362
389
  handleQuery: () => void;
363
390
  init: (configData: any) => Promise<void>;
364
391
  onSubmitDataDebounce: (this: unknown, ...args: any[]) => any;
365
- cancel: () => void;
392
+ getFormChanged: () => boolean;
393
+ beforeCloseFn: () => Promise<unknown>;
394
+ cancel: () => Promise<void>;
366
395
  getScaleData: () => any;
396
+ batchInjectFormNew: (data: AnyObject, skipValid?: boolean) => Promise<void>;
367
397
  isCollection: (e: string) => boolean;
368
398
  NoData: import("vue").DefineComponent<{
369
399
  noDataTip: {
@@ -419,8 +449,8 @@ declare const _default: import("vue").DefineComponent<{
419
449
  default: () => never[];
420
450
  };
421
451
  evaluateResultConfig: {
422
- type: ObjectConstructor;
423
- default: () => {};
452
+ type: ArrayConstructor;
453
+ default: () => never[];
424
454
  };
425
455
  evaluateResultSetting: {
426
456
  type: ObjectConstructor;
@@ -456,6 +486,9 @@ declare const _default: import("vue").DefineComponent<{
456
486
  vDrag: {
457
487
  beforeMount(el: any, binding: any): void;
458
488
  };
489
+ str1: string;
490
+ str2: string;
491
+ str3: string;
459
492
  state: {
460
493
  source: string;
461
494
  setAnswered: number;
@@ -477,8 +510,8 @@ declare const _default: import("vue").DefineComponent<{
477
510
  default: () => never[];
478
511
  };
479
512
  evaluateResultConfig: {
480
- type: ObjectConstructor;
481
- default: () => {};
513
+ type: ArrayConstructor;
514
+ default: () => never[];
482
515
  };
483
516
  evaluateResultSetting: {
484
517
  type: ObjectConstructor;
@@ -552,8 +585,8 @@ declare const _default: import("vue").DefineComponent<{
552
585
  default: () => never[];
553
586
  };
554
587
  evaluateResultConfig: {
555
- type: ObjectConstructor;
556
- default: () => {};
588
+ type: ArrayConstructor;
589
+ default: () => never[];
557
590
  };
558
591
  evaluateResultSetting: {
559
592
  type: ObjectConstructor;
@@ -590,7 +623,7 @@ declare const _default: import("vue").DefineComponent<{
590
623
  }, {
591
624
  isEvaluetaResSituation: boolean;
592
625
  formArray: unknown[];
593
- evaluateResultConfig: Record<string, any>;
626
+ evaluateResultConfig: unknown[];
594
627
  evaluateResultSetting: Record<string, any>;
595
628
  form: Record<string, any>;
596
629
  currentTime: number;
@@ -605,8 +638,8 @@ declare const _default: import("vue").DefineComponent<{
605
638
  default: () => never[];
606
639
  };
607
640
  evaluateResultConfig: {
608
- type: ObjectConstructor;
609
- default: () => {};
641
+ type: ArrayConstructor;
642
+ default: () => never[];
610
643
  };
611
644
  evaluateResultSetting: {
612
645
  type: ObjectConstructor;
@@ -621,6 +654,9 @@ declare const _default: import("vue").DefineComponent<{
621
654
  default: number;
622
655
  };
623
656
  }, {
657
+ str1: string;
658
+ str2: string;
659
+ str3: string;
624
660
  state: {
625
661
  source: string;
626
662
  timer: null;
@@ -634,8 +670,8 @@ declare const _default: import("vue").DefineComponent<{
634
670
  default: () => never[];
635
671
  };
636
672
  evaluateResultConfig: {
637
- type: ObjectConstructor;
638
- default: () => {};
673
+ type: ArrayConstructor;
674
+ default: () => never[];
639
675
  };
640
676
  evaluateResultSetting: {
641
677
  type: ObjectConstructor;
@@ -683,8 +719,8 @@ declare const _default: import("vue").DefineComponent<{
683
719
  default: () => never[];
684
720
  };
685
721
  evaluateResultConfig: {
686
- type: ObjectConstructor;
687
- default: () => {};
722
+ type: ArrayConstructor;
723
+ default: () => never[];
688
724
  };
689
725
  evaluateResultSetting: {
690
726
  type: ObjectConstructor;
@@ -703,7 +739,7 @@ declare const _default: import("vue").DefineComponent<{
703
739
  onWriteGuage?: ((...args: any[]) => any) | undefined;
704
740
  }, {
705
741
  formArray: unknown[];
706
- evaluateResultConfig: Record<string, any>;
742
+ evaluateResultConfig: unknown[];
707
743
  evaluateResultSetting: Record<string, any>;
708
744
  isFinished: boolean;
709
745
  maxScore: number;
@@ -714,6 +750,10 @@ declare const _default: import("vue").DefineComponent<{
714
750
  default: () => {};
715
751
  };
716
752
  }, {
753
+ str1: string;
754
+ str2: string;
755
+ str3: string;
756
+ str4: string;
717
757
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
718
758
  item: {
719
759
  type: ObjectConstructor;
@@ -727,6 +767,7 @@ declare const _default: import("vue").DefineComponent<{
727
767
  scoreText: import("vue").ComputedRef<"" | "部分">;
728
768
  correctAnswer: import("vue").ComputedRef<any>;
729
769
  answerKeyText: import("vue").ComputedRef<any>;
770
+ answerStr: import("vue").ComputedRef<string>;
730
771
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
731
772
  item: {
732
773
  type: ObjectConstructor;
@@ -754,8 +795,8 @@ declare const _default: import("vue").DefineComponent<{
754
795
  default: number;
755
796
  };
756
797
  }>> & {}, {
757
- maxScore: number;
758
798
  config: Record<string, any>;
799
+ maxScore: number;
759
800
  }>;
760
801
  DescribeContent: import("vue").DefineComponent<{
761
802
  content: {
@@ -901,6 +942,14 @@ declare const _default: import("vue").DefineComponent<{
901
942
  type: ObjectConstructor;
902
943
  default: () => {};
903
944
  };
945
+ closeConfirm: {
946
+ type: BooleanConstructor;
947
+ default: boolean;
948
+ };
949
+ closeConfirmText: {
950
+ type: StringConstructor;
951
+ default: string;
952
+ };
904
953
  }>> & {
905
954
  onOnCloseSetting?: ((...args: any[]) => any) | undefined;
906
955
  onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
@@ -934,5 +983,7 @@ declare const _default: import("vue").DefineComponent<{
934
983
  isGeneratePrintPdf: boolean;
935
984
  combinationParmas: Record<string, any>;
936
985
  allQuery: Record<string, any>;
986
+ closeConfirm: boolean;
987
+ closeConfirmText: string;
937
988
  }>;
938
989
  export default _default;