cnhis-design-vue 3.1.31-beta.0 → 3.1.31-beta.10
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.
- package/es/components/big-table/index.js +1 -1
- package/es/components/big-table/src/{BigTable.js → BigTable.vue.js} +1 -1
- package/es/components/big-table/src/{BigTable.vue_vue_type_script_setup_true_lang.js → BigTable.vue2.js} +6 -6
- package/es/components/{scale-view/src/components/NoData.js → big-table/src/components/NoData.vue.js} +4 -4
- package/es/components/big-table/src/components/edit-form/{edit-separate.js → edit-separate.vue.js} +1 -1
- package/es/components/big-table/src/components/{input-button.js → input-button.vue.js} +0 -0
- package/es/components/big-table/src/components/{separate.js → separate.vue.js} +0 -0
- package/es/components/big-table/src/hooks/useEdit.js +1 -1
- package/es/components/big-table/src/utils.js +1 -1
- package/es/components/bpmn-workflow/index.js +1 -1
- package/es/components/bpmn-workflow/src/{BpmnWorkflow.js → BpmnWorkflow.vue.js} +0 -0
- package/es/components/button-print/index.d.ts +76 -79
- package/es/components/button-print/index.js +2 -2
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +76 -79
- package/es/components/button-print/src/{ButtonPrint.js → ButtonPrint.vue.js} +1 -1
- package/es/components/button-print/src/{ButtonPrint.vue_vue_type_script_setup_true_lang.js → ButtonPrint.vue2.js} +47 -85
- package/es/components/button-print/src/components/{edit.vue.d.ts → EditFormat.vue.d.ts} +61 -54
- package/es/components/button-print/src/components/EditFormat.vue.js +173 -0
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +76 -64
- package/es/components/button-print/src/components/{IdentityVerification.js → IdentityVerification.vue.js} +22 -10
- package/es/components/button-print/src/components/Preview.vue.d.ts +41 -0
- package/es/components/button-print/src/components/Preview.vue.js +6 -0
- package/es/components/button-print/src/components/Preview.vue2.js +67 -0
- package/es/components/button-print/src/utils/browserPrint.d.ts +2 -1
- package/es/components/button-print/src/utils/browserPrint.js +6 -3
- package/es/components/button-print/src/utils/dialog.d.ts +6 -2
- package/es/components/button-print/src/utils/dialog.js +69 -25
- package/es/components/button-print/src/utils/index.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +7 -3
- package/es/components/button-print/src/utils/print.js +51 -4
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/drag-layout/index.js +1 -1
- package/es/components/drag-layout/src/{DragFormLeftItem.js → DragFormLeftItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragFormRightItem.js → DragFormRightItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragLayout.js → DragLayout.vue.js} +2 -2
- package/es/components/fabric-chart/index.js +1 -1
- package/es/components/fabric-chart/src/{FabricChart.js → FabricChart.vue.js} +1 -1
- package/es/components/fabric-chart/src/components/{PopupTip.js → PopupTip.vue.js} +0 -0
- package/es/components/fabric-chart/src/hooks/useCenter.js +5 -6
- package/es/components/fabric-chart/src/hooks/useGrid.js +3 -3
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +0 -1
- package/es/components/field-set/index.js +1 -1
- package/es/components/field-set/src/{FieldSet.js → FieldSet.vue.js} +0 -0
- package/es/components/form-config/index.js +1 -1
- package/es/components/form-config/src/{FormConfig.js → FormConfig.vue.js} +3 -3
- package/es/components/form-config/src/components/{FormConfigCreator.js → FormConfigCreator.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigDragDisplay.js → FormConfigDragDisplay.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigEdit.js → FormConfigEdit.vue.js} +0 -0
- package/es/components/form-config/src/components/index.js +6 -6
- package/es/components/form-config/src/components/renderer/{CloseButton.js → CloseButton.vue.js} +0 -0
- package/es/components/form-config/src/components/renderer/{ComplexNode.js → ComplexNode.vue.js} +2 -2
- package/es/components/form-config/src/components/renderer/{DefaultNode.js → DefaultNode.vue.js} +1 -1
- package/es/components/form-config/src/components/renderer/index.js +3 -3
- package/es/components/form-config/src/hooks/usePresetRenderer.js +2 -2
- package/es/components/form-render/index.js +2 -2
- package/es/components/form-render/src/{FormRender.js → FormRender.vue.js} +0 -0
- package/es/components/form-render/src/{FormRenderWrapper.js → FormRenderWrapper.vue.js} +1 -1
- package/es/components/form-render/src/components/renderer/checkbox.js +3 -5
- package/es/components/form-render/src/components/renderer/index.js +2 -0
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/{FormCollapse.js → FormCollapse.vue.js} +0 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.js +1 -1
- package/es/components/form-render/src/components/renderer/recommendSelect.d.ts +131 -0
- package/es/components/form-render/src/components/renderer/recommendSelect.js +213 -0
- package/es/components/form-render/src/components/renderer/remoteSearch.js +0 -1
- package/es/components/form-render/src/components/renderer/select.js +3 -5
- package/es/components/form-render/src/hooks/useAsyncQueue.js +2 -1
- package/es/components/form-render/src/hooks/useAutographOptions.js +5 -7
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +3 -2
- package/es/components/form-render/src/hooks/useBusinessBinding.js +20 -17
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +7 -0
- package/es/components/form-render/src/hooks/useFormRequest.d.ts +8 -1
- package/es/components/form-render/src/hooks/useFormRequest.js +24 -1
- package/es/components/form-render/src/utils/index.d.ts +2 -2
- package/es/components/form-render/src/utils/index.js +27 -3
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +160 -102
- package/es/components/iho-table/index.js +1 -2
- package/es/components/iho-table/src/IhoTable.vue.d.ts +160 -102
- package/es/components/iho-table/src/{IhoTable.js → IhoTable.vue.js} +2 -1
- package/es/components/iho-table/src/components/IhoTableColumn.js +14 -11
- package/es/components/iho-table/src/constants/index.d.ts +5 -3
- package/es/components/iho-table/src/constants/index.js +5 -3
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +64 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.js +17 -9
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +60 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +5 -3
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +3 -2
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterPlugin/{filter.js → filter.vue.js} +1 -0
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +14 -12
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +32 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/{editDate.js → editDate.vue.js} +0 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +10 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +11 -15
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +17 -24
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +11 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/{editSeparate.js → editSeparate.vue.js} +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +9 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +13 -17
- package/es/components/iho-table/src/types/index.d.ts +6 -6
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -1
- package/es/components/iho-table/src/utils/index.d.ts +12 -2
- package/es/components/iho-table/src/utils/index.js +33 -2
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +6 -3
- package/es/components/info-header/index.js +1 -1
- package/es/components/info-header/src/{HiddenContent.js → HiddenContent.vue.js} +1 -1
- package/es/components/info-header/src/{InfoEllipsis.js → InfoEllipsis.vue.js} +0 -0
- package/es/components/info-header/src/{InfoHeader.js → InfoHeader.vue.js} +2 -2
- package/es/components/keyboard/index.d.ts +146 -78
- package/es/components/keyboard/index.js +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +155 -78
- package/es/components/keyboard/src/Keyboard.vue.js +149 -0
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +6 -4
- package/es/components/keyboard/src/components/{InputNumber.js → InputNumber.vue.js} +0 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +118 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.js +206 -0
- package/es/components/map/index.js +1 -1
- package/es/components/map/src/{Map.js → Map.vue.js} +0 -0
- package/es/components/recommend-search/index.d.ts +813 -0
- package/es/components/recommend-search/index.js +10 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +815 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.js +62 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +119 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.js +148 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +303 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.js +103 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +63 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.js +104 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +350 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.js +156 -0
- package/es/components/recommend-search/src/constant/index.d.ts +4 -0
- package/es/components/recommend-search/src/constant/index.js +7 -0
- package/es/components/recommend-search/src/types/index.d.ts +9 -0
- package/es/components/recommend-search/src/types/index.js +1 -0
- package/es/components/recommend-search/style/index.css +1 -0
- package/es/components/scale-view/index.js +1 -1
- package/es/components/scale-view/src/{ScaleView.js → ScaleView.vue.js} +5 -5
- package/es/components/scale-view/src/components/{AnswerParse.js → AnswerParse.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluateCountdown.js → EvaluateCountdown.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluatePage.js → EvaluatePage.vue.js} +0 -0
- package/es/components/scale-view/src/components/{LoadingCom.js → LoadingCom.vue.js} +0 -0
- package/es/components/{big-table/src/components/NoData.js → scale-view/src/components/NoData.vue.js} +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-select.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.js +1 -1
- package/es/components/search-cascader/index.js +1 -1
- package/es/components/search-cascader/src/{SearchCascader.js → SearchCascader.vue.js} +0 -0
- package/es/components/search-cascader/src/components/SearchMenu.js +3 -3
- package/es/components/select-label/index.js +2 -2
- package/es/components/select-label/src/{LabelFormContent.js → LabelFormContent.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.js → SelectLabel.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.vue_vue_type_script_setup_true_lang.js → SelectLabel.vue2.js} +2 -2
- package/es/components/select-label/src/components/{label-classify.js → label-classify.vue.js} +0 -0
- package/es/components/select-person/index.js +1 -1
- package/es/components/select-person/src/{SelectPerson.js → SelectPerson.vue.js} +1 -1
- package/es/components/select-person/src/{SelectPerson.vue_vue_type_script_setup_true_lang.js → SelectPerson.vue2.js} +0 -0
- package/es/components/shortcut-provider/index.js +1 -1
- package/es/components/shortcut-provider/src/{ShortcutProvider.js → ShortcutProvider.vue.js} +0 -0
- package/es/components/shortcut-setter/index.js +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetter.js → ShortcutSetter.vue.js} +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetterItem.js → ShortcutSetterItem.vue.js} +0 -0
- package/es/components/steps-wheel/index.d.ts +3 -0
- package/es/components/steps-wheel/index.js +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +3 -0
- package/es/components/steps-wheel/src/{StepsWheel.js → StepsWheel.vue.js} +38 -9
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/time-line/index.js +1 -1
- package/es/components/time-line/src/{TimeLine.js → TimeLine.vue.js} +0 -0
- package/es/components/vod-chunk-upload/index.js +1 -1
- package/es/components/vod-chunk-upload/src/{chunk-upload-new.js → chunk-upload-new.vue.js} +0 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/{vod-chunk-upload.js → vod-chunk-upload.vue.js} +3 -3
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -1
- package/es/shared/assets/img/failure.js +1 -3
- package/es/shared/assets/img/failure.png.js +3 -0
- package/es/shared/assets/img/no-permission.js +1 -3
- package/es/shared/assets/img/no-permission.png.js +3 -0
- package/es/shared/assets/img/nodata.js +1 -3
- package/es/shared/assets/img/nodata.png.js +3 -0
- package/es/shared/assets/img/notfound.js +1 -3
- package/es/shared/assets/img/notfound.png.js +3 -0
- package/es/shared/assets/img/qr.js +1 -3
- package/es/shared/assets/img/qr.png.js +3 -0
- package/es/shared/assets/img/success.js +1 -3
- package/es/shared/assets/img/success.png.js +3 -0
- package/es/shared/assets/img/video.js +1 -3
- package/es/shared/assets/img/video.png.js +3 -0
- package/es/shared/assets/img/video_default_cover.js +1 -3
- package/es/shared/assets/img/video_default_cover.png.js +3 -0
- package/es/shared/assets/img/xb_big.js +1 -3
- package/es/shared/assets/img/xb_big.png.js +3 -0
- package/es/shared/assets/img/xb_small.js +1 -3
- package/es/shared/assets/img/xb_small.png.js +3 -0
- package/es/shared/components/SelectPage/{SelectPage.js → SelectPage.vue.js} +0 -0
- package/es/shared/components/SelectPage/index.js +2 -2
- package/es/shared/components/SvgIcon/{SvgIcon.js → SvgIcon.vue.js} +0 -0
- package/es/shared/components/SvgIcon/index.js +2 -2
- package/es/shared/components/TextOverTooltip/{TextOverTooltip.js → TextOverTooltip.vue.js} +0 -0
- package/es/shared/components/TextOverTooltip/index.js +2 -2
- package/es/shared/components/no-data/{NoData.js → NoData.vue.js} +4 -4
- package/es/shared/components/no-data/index.js +2 -2
- package/es/shared/utils/index.d.ts +1 -1
- package/es/shared/utils/index.js +3 -3
- package/package.json +2 -2
- package/es/components/button-print/src/components/edit.js +0 -142
- package/es/components/fabric-chart/index.d.ts +0 -207
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +0 -208
- package/es/components/keyboard/src/Keyboard.js +0 -285
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import { isArray } from 'lodash-es';
|
|
3
|
-
import { IdentityVerificationDialog } from './dialog.js';
|
|
3
|
+
import { IdentityVerificationDialog, PreviewDialog } from './dialog.js';
|
|
4
|
+
import { isIReport, useBrowserPrint } from './browserPrint.js';
|
|
5
|
+
import { getCurrentInstance } from 'vue';
|
|
4
6
|
|
|
5
7
|
const PRINT_ORIGIN = "http://127.0.0.1:11111";
|
|
6
8
|
const EDIT_LOCAL_URL = `${PRINT_ORIGIN}/services/print`;
|
|
@@ -13,10 +15,18 @@ const testHttpFn = axios.create({
|
|
|
13
15
|
timeout: 1e3,
|
|
14
16
|
withCredentials: false
|
|
15
17
|
});
|
|
16
|
-
const httpFn = axios.create({
|
|
18
|
+
const httpFn = axios.create({
|
|
19
|
+
withCredentials: false
|
|
20
|
+
});
|
|
21
|
+
const PROTOCOL = window.location.protocol;
|
|
22
|
+
const HOST = window.location.host;
|
|
23
|
+
const PRINTIREPORT = `${PROTOCOL}//${HOST}/fdp-api/print/assembly/printIReport`;
|
|
24
|
+
const ERRORMSG = "\u83B7\u53D6\u6587\u4EF6\u5931\u8D25\uFF01";
|
|
17
25
|
class Print {
|
|
18
26
|
constructor() {
|
|
19
27
|
this.dialog = new IdentityVerificationDialog();
|
|
28
|
+
this.dialogPreview = new PreviewDialog();
|
|
29
|
+
this.instance = null;
|
|
20
30
|
this.messageHandlerQueue = [];
|
|
21
31
|
var _a;
|
|
22
32
|
const _window = window;
|
|
@@ -55,6 +65,9 @@ class Print {
|
|
|
55
65
|
show(...args) {
|
|
56
66
|
return this.dialog.show(...args);
|
|
57
67
|
}
|
|
68
|
+
showPreview(...args) {
|
|
69
|
+
return this.dialogPreview.show(...args);
|
|
70
|
+
}
|
|
58
71
|
_testConnection() {
|
|
59
72
|
if (this.webview)
|
|
60
73
|
return Promise.resolve(true);
|
|
@@ -220,7 +233,30 @@ class Print {
|
|
|
220
233
|
};
|
|
221
234
|
return await this._queryServicesPrint(queryParams);
|
|
222
235
|
}
|
|
236
|
+
async _queryPrintFile(formatId, params = "") {
|
|
237
|
+
const { data } = await httpFn({
|
|
238
|
+
method: "post",
|
|
239
|
+
url: PRINTIREPORT,
|
|
240
|
+
responseType: "blob",
|
|
241
|
+
params: {
|
|
242
|
+
formatId: formatId.split("_")[1],
|
|
243
|
+
params
|
|
244
|
+
}
|
|
245
|
+
}) || {};
|
|
246
|
+
return data;
|
|
247
|
+
}
|
|
223
248
|
async preview({ templateId, formatId, params = "" }, successCallbackFn, errorCallbackFn) {
|
|
249
|
+
if (isIReport(formatId)) {
|
|
250
|
+
const data = await this._queryPrintFile(formatId, params);
|
|
251
|
+
if (!data)
|
|
252
|
+
return errorCallbackFn == null ? void 0 : errorCallbackFn(ERRORMSG);
|
|
253
|
+
const src = useBrowserPrint(data, "preview");
|
|
254
|
+
if (!this.instance)
|
|
255
|
+
this.instance = getCurrentInstance();
|
|
256
|
+
this.showPreview(this.instance, src);
|
|
257
|
+
successCallbackFn == null ? void 0 : successCallbackFn({ file: data });
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
224
260
|
const testResult = await this._testConnection();
|
|
225
261
|
if (!this._handleResultTest(testResult, errorCallbackFn))
|
|
226
262
|
return false;
|
|
@@ -237,7 +273,15 @@ class Print {
|
|
|
237
273
|
return false;
|
|
238
274
|
successCallbackFn && successCallbackFn(handledResult);
|
|
239
275
|
}
|
|
240
|
-
async printDirect({ templateId, formatId, params = "", print, printdlgshow, nobillnode }, successCallbackFn, errorCallbackFn) {
|
|
276
|
+
async printDirect({ templateId, formatId, params = "", print, printdlgshow, nobillnode }, successCallbackFn, errorCallbackFn, mode = "printDirect") {
|
|
277
|
+
if (isIReport(formatId)) {
|
|
278
|
+
const data = await this._queryPrintFile(formatId, params);
|
|
279
|
+
if (!data)
|
|
280
|
+
return errorCallbackFn == null ? void 0 : errorCallbackFn(ERRORMSG);
|
|
281
|
+
useBrowserPrint(data, mode);
|
|
282
|
+
successCallbackFn == null ? void 0 : successCallbackFn({ file: data });
|
|
283
|
+
return;
|
|
284
|
+
}
|
|
241
285
|
const testResult = await this._testConnection();
|
|
242
286
|
if (!this._handleResultTest(testResult, errorCallbackFn))
|
|
243
287
|
return false;
|
|
@@ -269,13 +313,16 @@ class Print {
|
|
|
269
313
|
async (res) => {
|
|
270
314
|
if (!res)
|
|
271
315
|
onReject(null);
|
|
316
|
+
if (isIReport(params.formatId))
|
|
317
|
+
return onResolve(res);
|
|
272
318
|
onResolve(await this._downloadPDF(getFiledir(res.filedir)));
|
|
273
319
|
function getFiledir(filedir) {
|
|
274
320
|
const result = JSON.parse(filedir);
|
|
275
321
|
return isArray(result) ? result[0] || "" : "";
|
|
276
322
|
}
|
|
277
323
|
},
|
|
278
|
-
(err) => onReject(err)
|
|
324
|
+
(err) => onReject(err),
|
|
325
|
+
"downloadPDF"
|
|
279
326
|
);
|
|
280
327
|
}
|
|
281
328
|
async print({ templateId, formatId, params = "" }, successCallbackFn, errorCallbackFn) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.dropdown-button{border-color:#d5d5d5!important;color:#212121}.c-dropdown .n-dropdown-menu-wrapper span.active{color:#5585f5}.login-form-button{border-radius:24px;color:#fff;font-size:16px;height:50px;width:100%}.login-form-button-print{padding-top:15px}.login-form-button-print .n-input{border-radius:6px;color:#757575;font-size:14px;height:50px;line-height:50px}.c-button-print-modal .n-form-item-feedback-wrapper{display:none}
|
|
1
|
+
.dropdown-button{border-color:#d5d5d5!important;color:#212121}.c-dropdown .n-dropdown-menu-wrapper span.active{color:#5585f5}.login-form-button{border-radius:24px;color:#fff;font-size:16px;height:50px;width:100%}.login-form-button-print{padding-top:15px}.login-form-button-print .n-input{border-radius:6px;color:#757575;font-size:14px;height:50px;line-height:50px}.c-button-print-modal .n-form-item-feedback-wrapper{display:none}.n-dialog.n-modal.c-button-preview-modal{max-width:none}.n-dialog.n-modal.c-button-preview-modal .n-dialog__content{height:98%}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
|
|
2
2
|
import { safeComponentRegister } from '../../shared/utils/index.js';
|
|
3
3
|
import '../../shared/utils/utilExpand.js';
|
|
4
|
-
import script from './src/DragLayout.js';
|
|
4
|
+
import script from './src/DragLayout.vue.js';
|
|
5
5
|
|
|
6
6
|
const DragLayout = script;
|
|
7
7
|
DragLayout.install = function(app) {
|
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, reactive, computed, onMounted, nextTick, watch, openBlock, createElementBlock, createCommentVNode, createElementVNode, createVNode, unref, withCtx, renderSlot, createTextVNode, normalizeStyle, normalizeClass, createBlock, Fragment, withDirectives, vShow, vModelCheckbox } from 'vue';
|
|
2
2
|
import { NButton, NModal, NForm, NGrid, NFormItemGi, NInput, NSelect, NCheckbox, NInputNumber } from 'naive-ui';
|
|
3
3
|
import draggableComponent from '../../../shared/components/VueDraggable/src/vuedraggable.js';
|
|
4
|
-
import DragFormLeftItem from './DragFormLeftItem.js';
|
|
5
|
-
import DragFormRightItem from './DragFormRightItem.js';
|
|
4
|
+
import DragFormLeftItem from './DragFormLeftItem.vue.js';
|
|
5
|
+
import DragFormRightItem from './DragFormRightItem.vue.js';
|
|
6
6
|
import XEUtils from 'xe-utils';
|
|
7
7
|
import 'moment';
|
|
8
8
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
|
|
2
2
|
import { safeComponentRegister } from '../../shared/utils/index.js';
|
|
3
|
-
import script from './src/FabricChart.js';
|
|
3
|
+
import script from './src/FabricChart.vue.js';
|
|
4
4
|
|
|
5
5
|
const FabricChart = script;
|
|
6
6
|
FabricChart.install = function(app) {
|
|
@@ -9,7 +9,7 @@ import { useCenter } from './hooks/useCenter.js';
|
|
|
9
9
|
import { useBottom } from './hooks/useBottom.js';
|
|
10
10
|
import { useOther } from './hooks/useOther.js';
|
|
11
11
|
import { useEvent, useCanvasEvent } from './hooks/useEvent.js';
|
|
12
|
-
import PopupTip from './components/PopupTip.js';
|
|
12
|
+
import PopupTip from './components/PopupTip.vue.js';
|
|
13
13
|
import PopupMenu from './components/PopupMenu.js';
|
|
14
14
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
15
15
|
|
|
File without changes
|
|
@@ -250,6 +250,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
function drawPolyLine(item, dataIndex, scaleValue) {
|
|
253
|
+
var _a;
|
|
253
254
|
const {
|
|
254
255
|
type,
|
|
255
256
|
riseStyle = {},
|
|
@@ -264,7 +265,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
264
265
|
const pointList = [];
|
|
265
266
|
const lineList = [];
|
|
266
267
|
const otherList = [];
|
|
267
|
-
item.list.forEach((v, index) => {
|
|
268
|
+
(_a = item.list) == null ? void 0 : _a.forEach((v, index) => {
|
|
268
269
|
const _item = type !== "temperature" ? item : dataList.find((_v) => _v.key === v.key);
|
|
269
270
|
const points = getPointer(v, scaleValue);
|
|
270
271
|
const otherObj = {};
|
|
@@ -311,7 +312,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
311
312
|
};
|
|
312
313
|
}
|
|
313
314
|
function drawOther(points, v, _item, otherObj) {
|
|
314
|
-
var
|
|
315
|
+
var _a2;
|
|
315
316
|
if (!(points == null ? void 0 : points.length) || !["temperature", "pain"].includes(type))
|
|
316
317
|
return;
|
|
317
318
|
const { lineAttr = {} } = _item;
|
|
@@ -355,7 +356,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
355
356
|
...reduceStyle.line,
|
|
356
357
|
...defaultStyle
|
|
357
358
|
});
|
|
358
|
-
reducePoint = drawPoint(((
|
|
359
|
+
reducePoint = drawPoint(((_a2 = reduceStyle == null ? void 0 : reduceStyle.point) == null ? void 0 : _a2.type) || "circle", {
|
|
359
360
|
left: points[0],
|
|
360
361
|
top: reduceY,
|
|
361
362
|
...reduceStyle.point,
|
|
@@ -658,9 +659,7 @@ function useCenter(canvas, propItems, emits, cumputedX, cumputedY, getXValue, ge
|
|
|
658
659
|
}
|
|
659
660
|
function redrawPoints() {
|
|
660
661
|
var _a;
|
|
661
|
-
|
|
662
|
-
return;
|
|
663
|
-
(_a = canvas.value) == null ? void 0 : _a.remove(...getRemovePoints([...gridPoints]));
|
|
662
|
+
gridPoints.size && ((_a = canvas.value) == null ? void 0 : _a.remove(...getRemovePoints([...gridPoints])));
|
|
664
663
|
shadowPointCache = [];
|
|
665
664
|
gridPoints.clear();
|
|
666
665
|
maiboPoints.clear();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { onMounted, nextTick } from 'vue';
|
|
2
2
|
import { fabric } from '../utils/index.js';
|
|
3
|
-
import { drawLine } from './useDraw.js';
|
|
3
|
+
import { drawLine, defaultBorderStyle } from './useDraw.js';
|
|
4
4
|
|
|
5
5
|
function useGrid(canvas, propItems) {
|
|
6
6
|
var _a, _b;
|
|
@@ -25,10 +25,10 @@ function useGrid(canvas, propItems) {
|
|
|
25
25
|
style = grid.subSecondLineStyle || {};
|
|
26
26
|
}
|
|
27
27
|
if (i % grid.subXCell === 0) {
|
|
28
|
-
style = ((_b = grid.mainLineStyle) == null ? void 0 : _b.y) || {};
|
|
28
|
+
style = i !== 0 && i !== gridXNumber ? ((_b = grid.mainLineStyle) == null ? void 0 : _b.y) || {} : defaultBorderStyle;
|
|
29
29
|
}
|
|
30
30
|
const line = drawLine([x, originY, x, endY], style);
|
|
31
|
-
if (i % grid.subXCell === 0) {
|
|
31
|
+
if (i % grid.subXCell === 0 && i !== 0 && i !== gridXNumber) {
|
|
32
32
|
mainList.add(line);
|
|
33
33
|
} else {
|
|
34
34
|
xList.push(line);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
|
|
2
1
|
var fabric = fabric || { version: "5.2.1" };
|
|
3
2
|
if (typeof document !== "undefined" && typeof window !== "undefined") {
|
|
4
3
|
if (document instanceof (typeof HTMLDocument !== "undefined" ? HTMLDocument : Document)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
|
|
2
2
|
import { safeComponentRegister } from '../../shared/utils/index.js';
|
|
3
|
-
import script from './src/FieldSet.js';
|
|
3
|
+
import script from './src/FieldSet.vue.js';
|
|
4
4
|
|
|
5
5
|
const FieldSet = script;
|
|
6
6
|
FieldSet.install = function(app) {
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
|
|
2
2
|
import { safeComponentRegister } from '../../shared/utils/index.js';
|
|
3
|
-
import script from './src/FormConfig.js';
|
|
3
|
+
import script from './src/FormConfig.vue.js';
|
|
4
4
|
|
|
5
5
|
const FormConfig = script;
|
|
6
6
|
FormConfig.install = function(app) {
|
|
@@ -2,9 +2,9 @@ import { defineComponent, ref, provide, toRaw, openBlock, createElementBlock, no
|
|
|
2
2
|
import { uuidGenerator } from '../../../shared/utils/index.js';
|
|
3
3
|
import { cloneDeep, isFunction } from 'lodash-es';
|
|
4
4
|
import draggableComponent from '../../../shared/components/VueDraggable/src/vuedraggable.js';
|
|
5
|
-
import FormConfigCreator from './components/FormConfigCreator.js';
|
|
6
|
-
import FormConfigDragDisplay from './components/FormConfigDragDisplay.js';
|
|
7
|
-
import FormConfigEdit from './components/FormConfigEdit.js';
|
|
5
|
+
import FormConfigCreator from './components/FormConfigCreator.vue.js';
|
|
6
|
+
import FormConfigDragDisplay from './components/FormConfigDragDisplay.vue.js';
|
|
7
|
+
import FormConfigEdit from './components/FormConfigEdit.vue.js';
|
|
8
8
|
import FormConfigMaterialItem from './components/FormConfigMaterialItem.js';
|
|
9
9
|
import { useDataNormalize } from './hooks/useDataNormalize.js';
|
|
10
10
|
import { InjectionFieldList, InjectionMaterialList, InjectionActiveFieldItem, FORM_CONFIG_GROUP } from './constants/index.js';
|
package/es/components/form-config/src/components/{FormConfigCreator.js → FormConfigCreator.vue.js}
RENAMED
|
File without changes
|
|
File without changes
|
package/es/components/form-config/src/components/{FormConfigEdit.js → FormConfigEdit.vue.js}
RENAMED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as FormConfigCreator } from './FormConfigCreator.js';
|
|
2
|
-
export { default as FormConfigEdit } from './FormConfigEdit.js';
|
|
3
|
-
export { default as FormConfigDragDisplay } from './FormConfigDragDisplay.js';
|
|
4
|
-
export { default as CloseButton } from './renderer/CloseButton.js';
|
|
5
|
-
export { default as ComplexNode } from './renderer/ComplexNode.js';
|
|
6
|
-
export { default as DefaultNode } from './renderer/DefaultNode.js';
|
|
1
|
+
export { default as FormConfigCreator } from './FormConfigCreator.vue.js';
|
|
2
|
+
export { default as FormConfigEdit } from './FormConfigEdit.vue.js';
|
|
3
|
+
export { default as FormConfigDragDisplay } from './FormConfigDragDisplay.vue.js';
|
|
4
|
+
export { default as CloseButton } from './renderer/CloseButton.vue.js';
|
|
5
|
+
export { default as ComplexNode } from './renderer/ComplexNode.vue.js';
|
|
6
|
+
export { default as DefaultNode } from './renderer/DefaultNode.vue.js';
|
package/es/components/form-config/src/components/renderer/{CloseButton.js → CloseButton.vue.js}
RENAMED
|
File without changes
|
package/es/components/form-config/src/components/renderer/{ComplexNode.js → ComplexNode.vue.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, openBlock, createElementBlock, createElementVNode, mergeProps, unref, withModifiers, createTextVNode, toDisplayString, createVNode } from 'vue';
|
|
2
|
-
import FormConfigDragDisplay from '../FormConfigDragDisplay.js';
|
|
3
|
-
import CloseButton from './CloseButton.js';
|
|
2
|
+
import FormConfigDragDisplay from '../FormConfigDragDisplay.vue.js';
|
|
3
|
+
import CloseButton from './CloseButton.vue.js';
|
|
4
4
|
import { InjectionActiveFieldItem } from '../../constants/index.js';
|
|
5
5
|
import { bindHover } from '../../utils/index.js';
|
|
6
6
|
import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.js';
|
package/es/components/form-config/src/components/renderer/{DefaultNode.js → DefaultNode.vue.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, openBlock, createBlock, unref, mergeProps, withModifiers, withCtx, createVNode, normalizeClass, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import { NButton, NEllipsis } from 'naive-ui';
|
|
3
|
-
import CloseButton from './CloseButton.js';
|
|
3
|
+
import CloseButton from './CloseButton.vue.js';
|
|
4
4
|
import { InjectionActiveFieldItem, WidgetTextMap } from '../../constants/index.js';
|
|
5
5
|
import { bindHover } from '../../utils/index.js';
|
|
6
6
|
import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as CloseButton } from './CloseButton.js';
|
|
2
|
-
export { default as ComplexNode } from './ComplexNode.js';
|
|
3
|
-
export { default as DefaultNode } from './DefaultNode.js';
|
|
1
|
+
export { default as CloseButton } from './CloseButton.vue.js';
|
|
2
|
+
export { default as ComplexNode } from './ComplexNode.vue.js';
|
|
3
|
+
export { default as DefaultNode } from './DefaultNode.vue.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isString, isArray, isFunction } from 'lodash-es';
|
|
2
2
|
import { computed } from 'vue';
|
|
3
|
-
import ComplexNode from '../components/renderer/ComplexNode.js';
|
|
4
|
-
import DefaultNode from '../components/renderer/DefaultNode.js';
|
|
3
|
+
import ComplexNode from '../components/renderer/ComplexNode.vue.js';
|
|
4
|
+
import DefaultNode from '../components/renderer/DefaultNode.vue.js';
|
|
5
5
|
|
|
6
6
|
function usePresetRenderer() {
|
|
7
7
|
const renderDefaultNode = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
|
|
2
2
|
import { safeComponentRegister } from '../../shared/utils/index.js';
|
|
3
|
-
import script from './src/FormRenderWrapper.js';
|
|
3
|
+
import script from './src/FormRenderWrapper.vue.js';
|
|
4
4
|
export { useFieldListAdaptor } from './src/hooks/useFieldListAdaptor.js';
|
|
5
5
|
export { useFormRequest } from './src/hooks/useFormRequest.js';
|
|
6
6
|
export { useCommonLog } from './src/hooks/useCommonLog.js';
|
|
@@ -16,7 +16,7 @@ export { useAnchor } from './src/hooks/useAnchor.js';
|
|
|
16
16
|
export { useAutographOptions } from './src/hooks/useAutographOptions.js';
|
|
17
17
|
export { useFormContext } from './src/hooks/useFormContext.js';
|
|
18
18
|
export { useCommonInjection, useSelectOptionProps } from './src/hooks/useCommonInjection.js';
|
|
19
|
-
export { combineExtendKey, createInputSlot, createSlot, createUrlConfigParams, formRenderLog, injectOrProvide, isNestedFieldType, isNestedType, mergeDeepProperties,
|
|
19
|
+
export { combineExtendKey, createInputSlot, createSlot, createUrlConfigParams, formRenderLog, injectOrProvide, isNestedFieldType, isNestedType, mergeDeepProperties, optionMatcherWithKeyword, parseNumberFromMaybeString, presetRequestHandler, splitExtendKey, validateMessageParser } from './src/utils/index.js';
|
|
20
20
|
export * from '@formily/core';
|
|
21
21
|
export { businessDateParser, isIdCard, isMobile, parseAge2Birthday, parseAge2FromContext, parseBirthday, parseIdCard, transformDateFormat } from './src/utils/business.js';
|
|
22
22
|
export { findNextWidget, queryDecorator, queryInput } from './src/utils/dom.js';
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, openBlock, createBlock, nextTick } from 'vue';
|
|
2
|
-
import FormRender from './FormRender.js';
|
|
2
|
+
import FormRender from './FormRender.vue.js';
|
|
3
3
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
4
4
|
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, createVNode } from 'vue';
|
|
2
|
+
import { useVModel } from '@vueuse/core';
|
|
2
3
|
import '../../../index.js';
|
|
3
4
|
import '../../utils/index.js';
|
|
4
5
|
import { connect, mapProps } from '@formily/vue';
|
|
@@ -39,10 +40,7 @@ const script = defineComponent({
|
|
|
39
40
|
setup(props, {
|
|
40
41
|
emit
|
|
41
42
|
}) {
|
|
42
|
-
const valueRef =
|
|
43
|
-
get: () => props.value,
|
|
44
|
-
set: (v) => emit("update:value", v)
|
|
45
|
-
});
|
|
43
|
+
const valueRef = useVModel(props, "value", emit);
|
|
46
44
|
const {
|
|
47
45
|
labelKey,
|
|
48
46
|
valueKey,
|
|
@@ -11,6 +11,7 @@ import * as labelSelect from './labelSelect.js';
|
|
|
11
11
|
import * as levelSearchCascader from './levelSearchCascader.js';
|
|
12
12
|
import * as index$1 from './lineBar/index.js';
|
|
13
13
|
import * as radio from './radio.js';
|
|
14
|
+
import * as recommendSelect from './recommendSelect.js';
|
|
14
15
|
import * as remoteSearch from './remoteSearch.js';
|
|
15
16
|
import * as search from './search.js';
|
|
16
17
|
import * as searchCascade from './searchCascade.js';
|
|
@@ -35,6 +36,7 @@ const modules = Object.assign({
|
|
|
35
36
|
"./levelSearchCascader.tsx": levelSearchCascader,
|
|
36
37
|
"./lineBar/index.ts": index$1,
|
|
37
38
|
"./radio.tsx": radio,
|
|
39
|
+
"./recommendSelect.tsx": recommendSelect,
|
|
38
40
|
"./remoteSearch.tsx": remoteSearch,
|
|
39
41
|
"./search.tsx": search,
|
|
40
42
|
"./searchCascade.tsx": searchCascade,
|
|
@@ -8,7 +8,7 @@ import { formRenderLog, mergeDeepProperties } from '../../../utils/index.js';
|
|
|
8
8
|
import { connect, mapProps } from '@formily/vue';
|
|
9
9
|
import { useDebounceFn, isObject } from '@vueuse/core';
|
|
10
10
|
import { NButton, NIcon } from 'naive-ui';
|
|
11
|
-
import FormRender from '../../../FormRender.js';
|
|
11
|
+
import FormRender from '../../../FormRender.vue.js';
|
|
12
12
|
import { assignUpdateValue } from '../../../utils/schema.js';
|
|
13
13
|
|
|
14
14
|
const script = defineComponent({
|
|
@@ -7,7 +7,7 @@ import { useCommonInjection } from '../../hooks/useCommonInjection.js';
|
|
|
7
7
|
import { formRenderLog } from '../../utils/index.js';
|
|
8
8
|
import { connect, mapProps } from '@formily/vue';
|
|
9
9
|
import SearchCascader from '../../../../search-cascader/index.js';
|
|
10
|
-
import script$1 from '../../../../../shared/components/no-data/NoData.js';
|
|
10
|
+
import script$1 from '../../../../../shared/components/no-data/NoData.vue.js';
|
|
11
11
|
import { visitedDecorator, assignUpdateValue } from '../../utils/schema.js';
|
|
12
12
|
import { useFormField } from '../../hooks/useFormField.js';
|
|
13
13
|
import { useFormRequest } from '../../hooks/useFormRequest.js';
|
|
File without changes
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { AnyObject } from '../../../../../../es/shared/types';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { RecommendIds } from '../../../../../../es/components/form-render';
|
|
4
|
+
export declare const RECOMMEND_SELECT: import("vue").DefineComponent<{
|
|
5
|
+
value: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
commonList: {
|
|
9
|
+
type: PropType<AnyObject[]>;
|
|
10
|
+
};
|
|
11
|
+
recentList: {
|
|
12
|
+
type: PropType<AnyObject[]>;
|
|
13
|
+
};
|
|
14
|
+
options: {
|
|
15
|
+
type: PropType<AnyObject[]>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
autograph: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
lazyRequest: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
requestCache: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
wordbook: {
|
|
30
|
+
type: PropType<Partial<{
|
|
31
|
+
level_num: number;
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
render_key: string[];
|
|
35
|
+
search_key: string[];
|
|
36
|
+
primary_key: string;
|
|
37
|
+
type: string;
|
|
38
|
+
value_key: string;
|
|
39
|
+
level_key: string;
|
|
40
|
+
link_key: string;
|
|
41
|
+
link_key_split: string;
|
|
42
|
+
show_key: string[];
|
|
43
|
+
conObj: AnyObject[];
|
|
44
|
+
conObjFirstLevel: AnyObject[];
|
|
45
|
+
}>>;
|
|
46
|
+
};
|
|
47
|
+
getRecommendInfo: {
|
|
48
|
+
type: PropType<() => RecommendIds>;
|
|
49
|
+
};
|
|
50
|
+
recommendNum: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
recommendCache: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
recommendDeletable: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "postRecommend" | "deleteRecommend")[], "update:value" | "postRecommend" | "deleteRecommend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
value: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
};
|
|
66
|
+
commonList: {
|
|
67
|
+
type: PropType<AnyObject[]>;
|
|
68
|
+
};
|
|
69
|
+
recentList: {
|
|
70
|
+
type: PropType<AnyObject[]>;
|
|
71
|
+
};
|
|
72
|
+
options: {
|
|
73
|
+
type: PropType<AnyObject[]>;
|
|
74
|
+
default: () => never[];
|
|
75
|
+
};
|
|
76
|
+
autograph: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
};
|
|
79
|
+
lazyRequest: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
requestCache: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
wordbook: {
|
|
88
|
+
type: PropType<Partial<{
|
|
89
|
+
level_num: number;
|
|
90
|
+
id: string;
|
|
91
|
+
name: string;
|
|
92
|
+
render_key: string[];
|
|
93
|
+
search_key: string[];
|
|
94
|
+
primary_key: string;
|
|
95
|
+
type: string;
|
|
96
|
+
value_key: string;
|
|
97
|
+
level_key: string;
|
|
98
|
+
link_key: string;
|
|
99
|
+
link_key_split: string;
|
|
100
|
+
show_key: string[];
|
|
101
|
+
conObj: AnyObject[];
|
|
102
|
+
conObjFirstLevel: AnyObject[];
|
|
103
|
+
}>>;
|
|
104
|
+
};
|
|
105
|
+
getRecommendInfo: {
|
|
106
|
+
type: PropType<() => RecommendIds>;
|
|
107
|
+
};
|
|
108
|
+
recommendNum: {
|
|
109
|
+
type: NumberConstructor;
|
|
110
|
+
default: number;
|
|
111
|
+
};
|
|
112
|
+
recommendCache: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
recommendDeletable: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
}>> & {
|
|
121
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
onPostRecommend?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
onDeleteRecommend?: ((...args: any[]) => any) | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
options: AnyObject[];
|
|
126
|
+
lazyRequest: boolean;
|
|
127
|
+
requestCache: boolean;
|
|
128
|
+
recommendDeletable: boolean;
|
|
129
|
+
recommendNum: number;
|
|
130
|
+
recommendCache: boolean;
|
|
131
|
+
}>;
|