cnhis-design-vue 3.1.31-beta.1 → 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/README.md +123 -123
- 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.d.ts +0 -0
- package/es/components/bpmn-workflow/src/{BpmnWorkflow.js → BpmnWorkflow.vue.js} +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/button-print/index.d.ts +65 -45
- package/es/components/button-print/index.js +1 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +65 -45
- 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} +1 -1
- package/es/components/button-print/src/components/{edit.vue.d.ts → EditFormat.vue.d.ts} +66 -46
- package/es/components/button-print/src/components/EditFormat.vue.js +173 -0
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +65 -45
- package/es/components/button-print/src/components/{IdentityVerification.js → IdentityVerification.vue.js} +9 -6
- 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 +1 -1
- package/es/components/button-print/src/utils/browserPrint.js +1 -2
- package/es/components/button-print/src/utils/dialog.d.ts +5 -1
- package/es/components/button-print/src/utils/dialog.js +65 -23
- package/es/components/button-print/src/utils/print.d.ts +4 -1
- package/es/components/button-print/src/utils/print.js +13 -3
- 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.d.ts +6823 -0
- 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/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 +124 -66
- package/es/components/iho-table/index.js +1 -2
- package/es/components/iho-table/src/IhoTable.vue.d.ts +124 -66
- 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 +5 -2
- 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/icon-asc.js +1 -1
- package/es/shared/assets/img/icon-desc.js +1 -1
- 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/video_hover.js +1 -1
- package/es/shared/assets/img/video_play_hover.js +1 -1
- 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/VueDraggable/src/vuedraggable.d.ts +86 -0
- 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/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/button-print/src/components/edit.js +0 -152
- 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
|
@@ -4,23 +4,32 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4
4
|
type: import("vue").PropType<"day" | "dose" | "english">;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
drag: {
|
|
8
8
|
type: BooleanConstructor;
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
11
|
positionInitialValue: {
|
|
12
|
-
type: import("vue").PropType<
|
|
12
|
+
type: import("vue").PropType<import("@vueuse/core").Position>;
|
|
13
|
+
default: () => {
|
|
13
14
|
x: number;
|
|
14
15
|
y: number;
|
|
15
|
-
}
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
defaultValue: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
};
|
|
21
|
+
panel: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
moveOffset: {
|
|
26
|
+
type: import("vue").PropType<import("@vueuse/core").Position>;
|
|
16
27
|
default: () => {
|
|
17
28
|
x: number;
|
|
18
29
|
y: number;
|
|
19
30
|
};
|
|
20
31
|
};
|
|
21
32
|
}, {
|
|
22
|
-
NUMBERKEYS: string;
|
|
23
|
-
DAYS: number[];
|
|
24
33
|
ENGLISHKEY: string;
|
|
25
34
|
ENGLISHOTHERKEY: string[];
|
|
26
35
|
ENGLISHKEYS: string[];
|
|
@@ -30,15 +39,26 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
30
39
|
type: import("vue").PropType<"day" | "dose" | "english">;
|
|
31
40
|
default: string;
|
|
32
41
|
};
|
|
33
|
-
|
|
42
|
+
drag: {
|
|
34
43
|
type: BooleanConstructor;
|
|
35
44
|
default: boolean;
|
|
36
45
|
};
|
|
37
46
|
positionInitialValue: {
|
|
38
|
-
type: import("vue").PropType<
|
|
47
|
+
type: import("vue").PropType<import("@vueuse/core").Position>;
|
|
48
|
+
default: () => {
|
|
39
49
|
x: number;
|
|
40
50
|
y: number;
|
|
41
|
-
}
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
defaultValue: {
|
|
54
|
+
type: NumberConstructor;
|
|
55
|
+
};
|
|
56
|
+
panel: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
moveOffset: {
|
|
61
|
+
type: import("vue").PropType<import("@vueuse/core").Position>;
|
|
42
62
|
default: () => {
|
|
43
63
|
x: number;
|
|
44
64
|
y: number;
|
|
@@ -49,54 +69,68 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
49
69
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
50
70
|
}>>;
|
|
51
71
|
emit: (event: "change" | "keydown", ...args: any[]) => void;
|
|
72
|
+
isDefault: import("vue").ComputedRef<boolean>;
|
|
73
|
+
englishKeys: import("vue").Ref<string[]>;
|
|
74
|
+
popoverRef: import("vue").Ref<null>;
|
|
52
75
|
englishKeyboardRef: import("vue").Ref<HTMLElement | null>;
|
|
53
76
|
keyboardDragRef: import("vue").Ref<HTMLElement | null>;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
englishKeys: import("vue").Ref<string[]>;
|
|
58
|
-
value: import("vue").Ref<any>;
|
|
59
|
-
inputValue: import("vue").Ref<string>;
|
|
60
|
-
integerValue: import("vue").Ref<any>;
|
|
61
|
-
numeratorValue: import("vue").Ref<any>;
|
|
62
|
-
denominatorValue: import("vue").Ref<any>;
|
|
63
|
-
inputValueStatus: import("vue").Ref<string>;
|
|
64
|
-
numeratorValueStatus: import("vue").Ref<string>;
|
|
65
|
-
denominatorValueStatus: import("vue").Ref<string>;
|
|
66
|
-
isDefault: import("vue").ComputedRef<boolean>;
|
|
67
|
-
isDay: import("vue").ComputedRef<boolean>;
|
|
68
|
-
isDose: import("vue").ComputedRef<boolean>;
|
|
69
|
-
history: import("vue").Ref<import("@vueuse/core").UseRefHistoryRecord<string>[]>;
|
|
70
|
-
undo: () => void;
|
|
71
|
-
redo: () => void;
|
|
72
|
-
x: import("vue").Ref<number>;
|
|
73
|
-
y: import("vue").Ref<number>;
|
|
74
|
-
style: import("vue").ComputedRef<string>;
|
|
77
|
+
currentValue: import("vue").Ref<any>;
|
|
78
|
+
style: import("vue").ComputedRef<string> | undefined;
|
|
79
|
+
init: () => import("vue").ComputedRef<string> | undefined;
|
|
75
80
|
keydown: (key: string | number) => void;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
setInputValueStatus: () => void;
|
|
81
|
+
onchange: (value: number) => void;
|
|
82
|
+
NPopover: any;
|
|
83
|
+
NInputNumber: any;
|
|
80
84
|
NIcon: any;
|
|
81
85
|
NSpace: any;
|
|
82
86
|
ArrowUndoSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
83
87
|
Close: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
84
88
|
GitCompareOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
type:
|
|
88
|
-
default: string;
|
|
89
|
+
NumberPanel: import("vue").DefineComponent<{
|
|
90
|
+
defaultValue: {
|
|
91
|
+
type: NumberConstructor;
|
|
89
92
|
};
|
|
90
|
-
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
status: {
|
|
93
|
+
mode: {
|
|
95
94
|
type: StringConstructor;
|
|
96
|
-
default: string;
|
|
97
95
|
};
|
|
98
96
|
}, {
|
|
97
|
+
NUMBERKEYS: string;
|
|
98
|
+
DAYS: number[];
|
|
99
99
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
100
|
+
defaultValue: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
};
|
|
103
|
+
mode: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
};
|
|
106
|
+
}>> & {
|
|
107
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
}>>;
|
|
109
|
+
emit: (event: "change", ...args: any[]) => void;
|
|
110
|
+
isDay: import("vue").ComputedRef<boolean>;
|
|
111
|
+
isDose: import("vue").ComputedRef<boolean>;
|
|
112
|
+
numberKeys: import("vue").Ref<string[]>;
|
|
113
|
+
days: import("vue").Ref<number[]>;
|
|
114
|
+
doses: import("vue").Ref<number[]>;
|
|
115
|
+
inputValue: import("vue").Ref<string>;
|
|
116
|
+
integerValue: import("vue").Ref<any>;
|
|
117
|
+
numeratorValue: import("vue").Ref<any>;
|
|
118
|
+
denominatorValue: import("vue").Ref<any>;
|
|
119
|
+
inputValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
120
|
+
numeratorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
121
|
+
denominatorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
122
|
+
history: import("vue").Ref<import("@vueuse/core").UseRefHistoryRecord<string>[]>;
|
|
123
|
+
undo: () => void;
|
|
124
|
+
redo: () => void;
|
|
125
|
+
keydown: (key: string | number) => void;
|
|
126
|
+
updateFraction: (value: number) => void;
|
|
127
|
+
calculateFraction: () => void;
|
|
128
|
+
setInputStatus: (valueRef: import("vue").Ref<string>, statusRef: import("vue").Ref<string>, isInteger?: boolean | undefined) => true | undefined;
|
|
129
|
+
setInputValueStatus: () => void;
|
|
130
|
+
NIcon: any;
|
|
131
|
+
NSpace: any;
|
|
132
|
+
ArrowUndoSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
133
|
+
InputNumber: import("vue").DefineComponent<{
|
|
100
134
|
modelValue: {
|
|
101
135
|
type: StringConstructor;
|
|
102
136
|
default: string;
|
|
@@ -106,57 +140,92 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
106
140
|
default: boolean;
|
|
107
141
|
};
|
|
108
142
|
status: {
|
|
143
|
+
type: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
}, {
|
|
147
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
148
|
+
modelValue: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
integer: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
status: {
|
|
157
|
+
type: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
160
|
+
}>> & {
|
|
161
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
162
|
+
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
163
|
+
}>>;
|
|
164
|
+
emit: (event: "update:modelValue" | "update:status", ...args: any[]) => void;
|
|
165
|
+
update: (value: string | [string, string]) => void;
|
|
166
|
+
validator: (value: string) => boolean;
|
|
167
|
+
calculate: (type: string) => void;
|
|
168
|
+
NInput: any;
|
|
169
|
+
NIcon: any;
|
|
170
|
+
NSpace: any;
|
|
171
|
+
CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
172
|
+
CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
173
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
174
|
+
modelValue: {
|
|
109
175
|
type: StringConstructor;
|
|
110
176
|
default: string;
|
|
111
177
|
};
|
|
178
|
+
integer: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
182
|
+
status: {
|
|
183
|
+
type: import("vue").PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
184
|
+
default: string;
|
|
185
|
+
};
|
|
112
186
|
}>> & {
|
|
113
187
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
114
188
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
124
|
-
CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
125
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
-
modelValue: {
|
|
127
|
-
type: StringConstructor;
|
|
128
|
-
default: string;
|
|
129
|
-
};
|
|
130
|
-
integer: {
|
|
131
|
-
type: BooleanConstructor;
|
|
132
|
-
default: boolean;
|
|
189
|
+
}, {
|
|
190
|
+
modelValue: string;
|
|
191
|
+
status: import("naive-ui/es/form/src/interface").FormValidationStatus;
|
|
192
|
+
integer: boolean;
|
|
193
|
+
}>;
|
|
194
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
195
|
+
defaultValue: {
|
|
196
|
+
type: NumberConstructor;
|
|
133
197
|
};
|
|
134
|
-
|
|
198
|
+
mode: {
|
|
135
199
|
type: StringConstructor;
|
|
136
|
-
default: string;
|
|
137
200
|
};
|
|
138
201
|
}>> & {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}, {
|
|
142
|
-
modelValue: string;
|
|
143
|
-
status: string;
|
|
144
|
-
integer: boolean;
|
|
145
|
-
}>;
|
|
202
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
203
|
+
}, {}>;
|
|
146
204
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "keydown")[], "change" | "keydown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
147
205
|
mode: {
|
|
148
206
|
type: import("vue").PropType<"day" | "dose" | "english">;
|
|
149
207
|
default: string;
|
|
150
208
|
};
|
|
151
|
-
|
|
209
|
+
drag: {
|
|
152
210
|
type: BooleanConstructor;
|
|
153
211
|
default: boolean;
|
|
154
212
|
};
|
|
155
213
|
positionInitialValue: {
|
|
156
|
-
type: import("vue").PropType<
|
|
214
|
+
type: import("vue").PropType<import("@vueuse/core").Position>;
|
|
215
|
+
default: () => {
|
|
157
216
|
x: number;
|
|
158
217
|
y: number;
|
|
159
|
-
}
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
defaultValue: {
|
|
221
|
+
type: NumberConstructor;
|
|
222
|
+
};
|
|
223
|
+
panel: {
|
|
224
|
+
type: BooleanConstructor;
|
|
225
|
+
default: boolean;
|
|
226
|
+
};
|
|
227
|
+
moveOffset: {
|
|
228
|
+
type: import("vue").PropType<import("@vueuse/core").Position>;
|
|
160
229
|
default: () => {
|
|
161
230
|
x: number;
|
|
162
231
|
y: number;
|
|
@@ -166,11 +235,10 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
166
235
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
167
236
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
168
237
|
}, {
|
|
238
|
+
drag: boolean;
|
|
169
239
|
mode: "day" | "dose" | "english";
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
y: number;
|
|
174
|
-
};
|
|
240
|
+
positionInitialValue: import("@vueuse/core").Position;
|
|
241
|
+
panel: boolean;
|
|
242
|
+
moveOffset: import("@vueuse/core").Position;
|
|
175
243
|
}>>;
|
|
176
244
|
export default Keyboard;
|
|
@@ -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/Keyboard.js';
|
|
3
|
+
import script from './src/Keyboard.vue.js';
|
|
4
4
|
|
|
5
5
|
const Keyboard = script;
|
|
6
6
|
Keyboard.install = function(app) {
|
|
@@ -1,27 +1,36 @@
|
|
|
1
|
-
import { PropType
|
|
2
|
-
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
};
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Position } from '@vueuse/core';
|
|
6
3
|
declare const _default: import("vue").DefineComponent<{
|
|
7
4
|
mode: {
|
|
8
5
|
type: PropType<"day" | "dose" | "english">;
|
|
9
6
|
default: string;
|
|
10
7
|
};
|
|
11
|
-
|
|
8
|
+
drag: {
|
|
12
9
|
type: BooleanConstructor;
|
|
13
10
|
default: boolean;
|
|
14
11
|
};
|
|
15
12
|
positionInitialValue: {
|
|
16
|
-
type: PropType<
|
|
13
|
+
type: PropType<Position>;
|
|
14
|
+
default: () => {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
defaultValue: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
};
|
|
22
|
+
panel: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
moveOffset: {
|
|
27
|
+
type: PropType<Position>;
|
|
17
28
|
default: () => {
|
|
18
29
|
x: number;
|
|
19
30
|
y: number;
|
|
20
31
|
};
|
|
21
32
|
};
|
|
22
33
|
}, {
|
|
23
|
-
NUMBERKEYS: string;
|
|
24
|
-
DAYS: number[];
|
|
25
34
|
ENGLISHKEY: string;
|
|
26
35
|
ENGLISHOTHERKEY: string[];
|
|
27
36
|
ENGLISHKEYS: string[];
|
|
@@ -31,12 +40,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
40
|
type: PropType<"day" | "dose" | "english">;
|
|
32
41
|
default: string;
|
|
33
42
|
};
|
|
34
|
-
|
|
43
|
+
drag: {
|
|
35
44
|
type: BooleanConstructor;
|
|
36
45
|
default: boolean;
|
|
37
46
|
};
|
|
38
47
|
positionInitialValue: {
|
|
39
|
-
type: PropType<
|
|
48
|
+
type: PropType<Position>;
|
|
49
|
+
default: () => {
|
|
50
|
+
x: number;
|
|
51
|
+
y: number;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
defaultValue: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
};
|
|
57
|
+
panel: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
moveOffset: {
|
|
62
|
+
type: PropType<Position>;
|
|
40
63
|
default: () => {
|
|
41
64
|
x: number;
|
|
42
65
|
y: number;
|
|
@@ -47,54 +70,68 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
70
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
48
71
|
}>>;
|
|
49
72
|
emit: (event: "change" | "keydown", ...args: any[]) => void;
|
|
50
|
-
englishKeyboardRef: Ref<HTMLElement | null>;
|
|
51
|
-
keyboardDragRef: Ref<HTMLElement | null>;
|
|
52
|
-
numberKeys: Ref<string[]>;
|
|
53
|
-
days: Ref<number[]>;
|
|
54
|
-
doses: Ref<number[]>;
|
|
55
|
-
englishKeys: Ref<string[]>;
|
|
56
|
-
value: Ref<any>;
|
|
57
|
-
inputValue: Ref<string>;
|
|
58
|
-
integerValue: Ref<any>;
|
|
59
|
-
numeratorValue: Ref<any>;
|
|
60
|
-
denominatorValue: Ref<any>;
|
|
61
|
-
inputValueStatus: Ref<string>;
|
|
62
|
-
numeratorValueStatus: Ref<string>;
|
|
63
|
-
denominatorValueStatus: Ref<string>;
|
|
64
73
|
isDefault: import("vue").ComputedRef<boolean>;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
style: import("vue").ComputedRef<string>;
|
|
74
|
+
englishKeys: import("vue").Ref<string[]>;
|
|
75
|
+
popoverRef: import("vue").Ref<null>;
|
|
76
|
+
englishKeyboardRef: import("vue").Ref<HTMLElement | null>;
|
|
77
|
+
keyboardDragRef: import("vue").Ref<HTMLElement | null>;
|
|
78
|
+
currentValue: import("vue").Ref<any>;
|
|
79
|
+
style: import("vue").ComputedRef<string> | undefined;
|
|
80
|
+
init: () => import("vue").ComputedRef<string> | undefined;
|
|
73
81
|
keydown: (key: string | number) => void;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
setInputValueStatus: () => void;
|
|
82
|
+
onchange: (value: number) => void;
|
|
83
|
+
NPopover: any;
|
|
84
|
+
NInputNumber: any;
|
|
78
85
|
NIcon: any;
|
|
79
86
|
NSpace: any;
|
|
80
87
|
ArrowUndoSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
81
88
|
Close: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
82
89
|
GitCompareOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
type:
|
|
86
|
-
default: string;
|
|
90
|
+
NumberPanel: import("vue").DefineComponent<{
|
|
91
|
+
defaultValue: {
|
|
92
|
+
type: NumberConstructor;
|
|
87
93
|
};
|
|
88
|
-
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
status: {
|
|
94
|
+
mode: {
|
|
93
95
|
type: StringConstructor;
|
|
94
|
-
default: string;
|
|
95
96
|
};
|
|
96
97
|
}, {
|
|
98
|
+
NUMBERKEYS: string;
|
|
99
|
+
DAYS: number[];
|
|
97
100
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
101
|
+
defaultValue: {
|
|
102
|
+
type: NumberConstructor;
|
|
103
|
+
};
|
|
104
|
+
mode: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
};
|
|
107
|
+
}>> & {
|
|
108
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
109
|
+
}>>;
|
|
110
|
+
emit: (event: "change", ...args: any[]) => void;
|
|
111
|
+
isDay: import("vue").ComputedRef<boolean>;
|
|
112
|
+
isDose: import("vue").ComputedRef<boolean>;
|
|
113
|
+
numberKeys: import("vue").Ref<string[]>;
|
|
114
|
+
days: import("vue").Ref<number[]>;
|
|
115
|
+
doses: import("vue").Ref<number[]>;
|
|
116
|
+
inputValue: import("vue").Ref<string>;
|
|
117
|
+
integerValue: import("vue").Ref<any>;
|
|
118
|
+
numeratorValue: import("vue").Ref<any>;
|
|
119
|
+
denominatorValue: import("vue").Ref<any>;
|
|
120
|
+
inputValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
121
|
+
numeratorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
122
|
+
denominatorValueStatus: import("vue").Ref<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
123
|
+
history: import("vue").Ref<import("@vueuse/core").UseRefHistoryRecord<string>[]>;
|
|
124
|
+
undo: () => void;
|
|
125
|
+
redo: () => void;
|
|
126
|
+
keydown: (key: string | number) => void;
|
|
127
|
+
updateFraction: (value: number) => void;
|
|
128
|
+
calculateFraction: () => void;
|
|
129
|
+
setInputStatus: (valueRef: import("vue").Ref<string>, statusRef: import("vue").Ref<string>, isInteger?: boolean | undefined) => true | undefined;
|
|
130
|
+
setInputValueStatus: () => void;
|
|
131
|
+
NIcon: any;
|
|
132
|
+
NSpace: any;
|
|
133
|
+
ArrowUndoSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
134
|
+
InputNumber: import("vue").DefineComponent<{
|
|
98
135
|
modelValue: {
|
|
99
136
|
type: StringConstructor;
|
|
100
137
|
default: string;
|
|
@@ -104,54 +141,92 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
141
|
default: boolean;
|
|
105
142
|
};
|
|
106
143
|
status: {
|
|
144
|
+
type: PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
}, {
|
|
148
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
149
|
+
modelValue: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
integer: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
status: {
|
|
158
|
+
type: PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
}>> & {
|
|
162
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
163
|
+
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
164
|
+
}>>;
|
|
165
|
+
emit: (event: "update:modelValue" | "update:status", ...args: any[]) => void;
|
|
166
|
+
update: (value: string | [string, string]) => void;
|
|
167
|
+
validator: (value: string) => boolean;
|
|
168
|
+
calculate: (type: string) => void;
|
|
169
|
+
NInput: any;
|
|
170
|
+
NIcon: any;
|
|
171
|
+
NSpace: any;
|
|
172
|
+
CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
173
|
+
CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
174
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
+
modelValue: {
|
|
107
176
|
type: StringConstructor;
|
|
108
177
|
default: string;
|
|
109
178
|
};
|
|
179
|
+
integer: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
status: {
|
|
184
|
+
type: PropType<import("naive-ui/es/form/src/interface").FormValidationStatus>;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
110
187
|
}>> & {
|
|
111
188
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
112
189
|
"onUpdate:status"?: ((...args: any[]) => any) | undefined;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
CaretDown: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
122
|
-
CaretUp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
123
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:status")[], "update:modelValue" | "update:status", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
124
|
-
modelValue: {
|
|
125
|
-
type: StringConstructor;
|
|
126
|
-
default: string;
|
|
190
|
+
}, {
|
|
191
|
+
modelValue: string;
|
|
192
|
+
status: import("naive-ui/es/form/src/interface").FormValidationStatus;
|
|
193
|
+
integer: boolean;
|
|
194
|
+
}>;
|
|
195
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
196
|
+
defaultValue: {
|
|
197
|
+
type: NumberConstructor;
|
|
127
198
|
};
|
|
128
|
-
|
|
129
|
-
type: BooleanConstructor;
|
|
130
|
-
default: boolean;
|
|
131
|
-
};
|
|
132
|
-
status: {
|
|
199
|
+
mode: {
|
|
133
200
|
type: StringConstructor;
|
|
134
|
-
default: string;
|
|
135
201
|
};
|
|
136
202
|
}>> & {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}, {
|
|
140
|
-
modelValue: string;
|
|
141
|
-
status: string;
|
|
142
|
-
integer: boolean;
|
|
143
|
-
}>;
|
|
203
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
204
|
+
}, {}>;
|
|
144
205
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "keydown")[], "change" | "keydown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
145
206
|
mode: {
|
|
146
207
|
type: PropType<"day" | "dose" | "english">;
|
|
147
208
|
default: string;
|
|
148
209
|
};
|
|
149
|
-
|
|
210
|
+
drag: {
|
|
150
211
|
type: BooleanConstructor;
|
|
151
212
|
default: boolean;
|
|
152
213
|
};
|
|
153
214
|
positionInitialValue: {
|
|
154
|
-
type: PropType<
|
|
215
|
+
type: PropType<Position>;
|
|
216
|
+
default: () => {
|
|
217
|
+
x: number;
|
|
218
|
+
y: number;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
defaultValue: {
|
|
222
|
+
type: NumberConstructor;
|
|
223
|
+
};
|
|
224
|
+
panel: {
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
default: boolean;
|
|
227
|
+
};
|
|
228
|
+
moveOffset: {
|
|
229
|
+
type: PropType<Position>;
|
|
155
230
|
default: () => {
|
|
156
231
|
x: number;
|
|
157
232
|
y: number;
|
|
@@ -161,8 +236,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
161
236
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
162
237
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
163
238
|
}, {
|
|
239
|
+
drag: boolean;
|
|
164
240
|
mode: "day" | "dose" | "english";
|
|
165
|
-
|
|
166
|
-
|
|
241
|
+
positionInitialValue: Position;
|
|
242
|
+
panel: boolean;
|
|
243
|
+
moveOffset: Position;
|
|
167
244
|
}>;
|
|
168
245
|
export default _default;
|