cnhis-design-vue 3.1.42-release.9 → 3.1.43-beta.1
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 +87 -87
- package/es/components/big-table/src/hooks/useEdit.d.ts +26 -26
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +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/src/components/IdentityVerification.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +27 -2
- package/es/components/date-picker/src/DatePicker.vue.d.ts +27 -2
- package/es/components/date-picker/src/DatePicker.vue.js +1 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
- package/es/components/form-config/index.d.ts +5 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +5 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +20 -20
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -0
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +77 -0
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +93 -0
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +18 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/hooks/useChangeContext.d.ts +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -1
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +4 -0
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +3 -0
- package/es/components/iho-table/src/plugins/fieldConnectionPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/fieldConnectionPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +28 -3
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +3 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +27 -2
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +4 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +3 -0
- package/es/components/iho-table/src/types/index.d.ts +7 -7
- package/es/components/iho-table/src/types/pluginType.d.ts +21 -18
- package/es/components/iho-table/src/utils/dist/index.d.ts +44 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +4 -4
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +20 -20
- package/es/components/keyboard/index.d.ts +3 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +3 -1
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +3 -1
- package/es/components/keyboard/src/components/NumberPanel.vue.js +1 -1
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +36 -0
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +36 -0
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +82 -0
- package/es/components/scale-view/src/hooks/use-component.d.ts +1 -1
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +57 -0
- package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +57 -0
- package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
- package/es/components/select-person/index.d.ts +13 -0
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
- package/es/components/select-person/src/SelectPerson.vue.d.ts +13 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/utils/index.d.ts +1 -1
- package/es/components/select-person/src/utils/index.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
- package/es/env.d.ts +25 -25
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +15 -0
- package/es/shared/types/business.js +1 -0
- package/es/shared/types/index.d.ts +1 -1
- package/es/shared/utils/business.d.ts +11 -0
- package/es/shared/utils/business.js +1 -0
- package/es/shared/utils/index.d.ts +1 -5
- package/es/shared/utils/index.js +1 -1
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
|
@@ -264,6 +264,10 @@ export declare type FieldItem = {
|
|
|
264
264
|
* COMPLEX控件额外样式
|
|
265
265
|
*/
|
|
266
266
|
wrapperStyle: CSSProperties | Record<string, string>;
|
|
267
|
+
/**
|
|
268
|
+
* 多级表单的显示策略, checked表示展示选中的子表单, all表示任何时候都展示所有子表单
|
|
269
|
+
*/
|
|
270
|
+
childFieldStrategy?: 'checked' | 'all';
|
|
267
271
|
/**
|
|
268
272
|
* 自定义校验规则
|
|
269
273
|
* @param value 表单当前控件的值
|
|
@@ -4,6 +4,6 @@ export declare function useTableContext(): {
|
|
|
4
4
|
tableHandler: import("../types").IhoTableHandler;
|
|
5
5
|
tableEmit: import("../types").IhoTableEmits;
|
|
6
6
|
eventListener: import("./tapHooks/useEventHooks").IhoTableEventListener;
|
|
7
|
-
$table: import("vue").Ref<import("
|
|
7
|
+
$table: import("vue").Ref<import("../../..").UndefinedAble<import("vxe-table").VxeTableInstance>>;
|
|
8
8
|
uuid: string;
|
|
9
9
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function fieldConnectionPlugin(): import("../../../../../../es/components/iho-table").TablePlugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../../../../shared/utils/index.js";import"../../../index.js";import{isFunction as n}from"lodash-es";import{getBindEventSettingTrigger as o}from"../../../../../shared/utils/business.js";import{defineTablePlugin as e}from"../../hooks/useTablePlugin.js";function t(){const t="fieldConnectionPlugin";return e({name:t,apply(e){e.configHooks.config.tap(t,(e=>{const t=e.onFormChange;return e.onFormChange=function(e){var i;const{column:r,row:s}=e,l=null==(i=r.editRender)?void 0:i.props;if(l&&(null==l?void 0:l.bindEventSetting)){l.bindEventSetting.forEach((n=>{o(n.event_type)(n,{getter:n=>s[n],setter:(n,o)=>s[n]=o})}))}n(t)&&t(e)},e}))}})}export{t as fieldConnectionPlugin};
|
|
@@ -25,11 +25,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
近一个月: () => number[];
|
|
26
26
|
};
|
|
27
27
|
onConfirm: (value: [number, number], formattedValue: [string, string] | null) => void;
|
|
28
|
-
CDatePicker: import("
|
|
28
|
+
CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
|
|
29
|
+
updateUnchangedValue: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
};
|
|
32
|
+
onConfirm: {
|
|
33
|
+
type: FunctionConstructor;
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
29
36
|
attrs: {
|
|
30
37
|
[x: string]: unknown;
|
|
31
38
|
};
|
|
32
|
-
|
|
39
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
updateUnchangedValue: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
};
|
|
43
|
+
onConfirm: {
|
|
44
|
+
type: FunctionConstructor;
|
|
45
|
+
};
|
|
46
|
+
}>> & {}>>;
|
|
47
|
+
datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
|
|
33
48
|
panelInstRef: import("vue").Ref<null>;
|
|
34
49
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
35
50
|
formatRef: import("vue").ComputedRef<string>;
|
|
@@ -37,8 +52,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
52
|
focus: () => any;
|
|
38
53
|
blur: () => any;
|
|
39
54
|
onUpdateShow: (show: boolean) => void;
|
|
55
|
+
onConfirm: () => void;
|
|
40
56
|
NDatePicker: any;
|
|
41
|
-
},
|
|
57
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
|
+
updateUnchangedValue: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
};
|
|
61
|
+
onConfirm: {
|
|
62
|
+
type: FunctionConstructor;
|
|
63
|
+
};
|
|
64
|
+
}>>, {
|
|
65
|
+
updateUnchangedValue: boolean;
|
|
66
|
+
}>>;
|
|
42
67
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
68
|
payload: {
|
|
44
69
|
type: PropType<VxeColumnPropTypes.FilterSlotParams>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as e from"./anchorPlugin/index.js";import*as r from"./defaultConfigPlugin/index.js";import*as i from"./
|
|
1
|
+
import*as e from"./anchorPlugin/index.js";import*as r from"./defaultConfigPlugin/index.js";import*as i from"./fieldConnectionPlugin/index.js";import*as n from"./filterDaterangeRenderPlugin/index.js";import*as d from"./filterRenderPlugin/index.js";import*as s from"./highLightSetPlugin.js";import*as t from"./keyboardEventPlugin/index.js";import*as l from"./lowCodeFieldAdaptorPlugin/index.js";import*as g from"./maxCheckSizePlugin.js";import*as u from"./rendererPlugins/editableWidgets/dateRendererPlugin/index.js";import*as o from"./rendererPlugins/editableWidgets/inputRendererPlugin.js";import*as P from"./rendererPlugins/editableWidgets/numberRendererPlugin.js";import*as a from"./rendererPlugins/editableWidgets/selectRendererPlugin/index.js";import*as m from"./rendererPlugins/editableWidgets/separateRendererPlugin/index.js";import*as x from"./rendererPlugins/editableWidgets/timeRendererPlugin/index.js";import*as f from"./rendererPlugins/widgets/checkRendererPlugin.js";import*as p from"./rendererPlugins/widgets/colorRendererPlugin.js";import*as j from"./rendererPlugins/widgets/defaultRendererPlugin.js";import*as R from"./rendererPlugins/widgets/labelRendererPlugin.js";import*as b from"./rendererPlugins/widgets/pictureRendererPlugin.js";import*as w from"./rendererPlugins/widgets/seqRendererPlugin.js";import*as c from"./rowClickPlugin/index.js";import*as h from"./rowDragPlugin/index.js";import*as W from"./rowGroupSettingPlugin/index.js";import*as C from"./varialbleHeightPlugin/index.js";import*as k from"./virtualTreePlugin/index.js";import{separateMetaModule as v}from"../../../../shared/utils/index.js";var S=v(Object.assign({"./anchorPlugin/index.tsx":e,"./defaultConfigPlugin/index.ts":r,"./fieldConnectionPlugin/index.ts":i,"./filterDaterangeRenderPlugin/index.tsx":n,"./filterRenderPlugin/index.tsx":d,"./highLightSetPlugin.tsx":s,"./keyboardEventPlugin/index.ts":t,"./lowCodeFieldAdaptorPlugin/index.tsx":l,"./maxCheckSizePlugin.ts":g,"./rendererPlugins/editableWidgets/dateRendererPlugin/index.tsx":u,"./rendererPlugins/editableWidgets/inputRendererPlugin.tsx":o,"./rendererPlugins/editableWidgets/numberRendererPlugin.tsx":P,"./rendererPlugins/editableWidgets/selectRendererPlugin/index.tsx":a,"./rendererPlugins/editableWidgets/separateRendererPlugin/index.tsx":m,"./rendererPlugins/editableWidgets/timeRendererPlugin/index.tsx":x,"./rendererPlugins/widgets/checkRendererPlugin.tsx":f,"./rendererPlugins/widgets/colorRendererPlugin.tsx":p,"./rendererPlugins/widgets/defaultRendererPlugin.tsx":j,"./rendererPlugins/widgets/labelRendererPlugin.tsx":R,"./rendererPlugins/widgets/pictureRendererPlugin.tsx":b,"./rendererPlugins/widgets/seqRendererPlugin.tsx":w,"./rowClickPlugin/index.ts":c,"./rowDragPlugin/index.ts":h,"./rowGroupSettingPlugin/index.ts":W,"./varialbleHeightPlugin/index.tsx":C,"./virtualTreePlugin/index.ts":k}));export{S as default};
|
|
@@ -66,10 +66,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
};
|
|
67
67
|
}>;
|
|
68
68
|
dateConfig: AnyObject;
|
|
69
|
-
DatePicker: import("../../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
69
|
+
DatePicker: import("../../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
70
|
+
updateUnchangedValue: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
};
|
|
73
|
+
onConfirm: {
|
|
74
|
+
type: FunctionConstructor;
|
|
75
|
+
};
|
|
76
|
+
}, {
|
|
70
77
|
attrs: {
|
|
71
78
|
[x: string]: unknown;
|
|
72
79
|
};
|
|
80
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
+
updateUnchangedValue: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
};
|
|
84
|
+
onConfirm: {
|
|
85
|
+
type: FunctionConstructor;
|
|
86
|
+
};
|
|
87
|
+
}>> & {}>>;
|
|
73
88
|
datePickerRef: import("vue").Ref<AnyObject | null>;
|
|
74
89
|
panelInstRef: import("vue").Ref<null>;
|
|
75
90
|
isDateTime: import("vue").ComputedRef<boolean>;
|
|
@@ -78,8 +93,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
93
|
focus: () => any;
|
|
79
94
|
blur: () => any;
|
|
80
95
|
onUpdateShow: (show: boolean) => void;
|
|
96
|
+
onConfirm: () => void;
|
|
81
97
|
NDatePicker: any;
|
|
82
|
-
},
|
|
98
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
99
|
+
updateUnchangedValue: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
};
|
|
102
|
+
onConfirm: {
|
|
103
|
+
type: FunctionConstructor;
|
|
104
|
+
};
|
|
105
|
+
}>>, {
|
|
106
|
+
updateUnchangedValue: boolean;
|
|
107
|
+
}>>;
|
|
83
108
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
109
|
value: {
|
|
85
110
|
type: StringConstructor;
|
|
@@ -46,7 +46,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
formRef: import("vue").Ref<HTMLElement | null>;
|
|
47
47
|
isShow: import("vue").Ref<boolean>;
|
|
48
48
|
timePickerRef: import("vue").Ref<any>;
|
|
49
|
-
|
|
49
|
+
formattedValue: import("vue").Ref<any>;
|
|
50
|
+
__formattedValue: import("vue").Ref<any>;
|
|
50
51
|
oldValue: string | undefined;
|
|
51
52
|
placeholder: any;
|
|
52
53
|
valueFormat: any;
|
|
@@ -54,8 +55,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
55
|
timeConfig: AnyObject;
|
|
55
56
|
clickShortcutOption: (item: string) => void;
|
|
56
57
|
onUpdateFormattedValue: (value: string) => void;
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
onChange: () => void;
|
|
59
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
59
60
|
NInput: any;
|
|
60
61
|
NPopover: any;
|
|
61
62
|
NSpace: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as
|
|
1
|
+
import{defineComponent as e,useAttrs as l,ref as t,watch as a,nextTick as o,openBlock as r,createBlock as u,unref as i,mergeProps as n,withCtx as m,createVNode as c,createElementBlock as v,Fragment as d,renderList as f,createTextVNode as s,toDisplayString as p,createCommentVNode as _}from"vue";import{NPopover as k,NInput as h,NSpace as y,NScrollbar as w,NButton as g}from"naive-ui";import{useIhoTableFormEvent as b}from"../../../../utils/index.js";import{useAutoFocus as V}from"../hooks/useAutoFocus.js";import C from"../../../../../../time-picker/index.js";import{parse as F,isValid as j,format as q}from"date-fns";import x from"../../../../../../../_virtual/plugin-vue_export-helper.js";var R=x(e({__name:"editTime",props:{formattedValue:{type:String,default:void 0},column:{type:Object,required:!0},row:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},emits:["update:formattedValue","click"],setup(e,{emit:x}){const R=e,S=l(),{emitFormChangeWithParams:A}=b(R),{formRef:I,isShow:O}=V(),P=t(),$=t(),E=t();let H=R.formattedValue;const{placeholder:T="请选择",valueFormat:U="HH:mm",shortcutOptions:z=[]}=S,D={placeholder:T,valueFormat:U,format:U};function K(e){E.value=e,H!==e&&(x("update:formattedValue",e),A({oldValue:H}),H=e)}function N(){[D.valueFormat.replace(/:/,""),D.valueFormat].some((e=>{const l=F($.value||"",e,new Date);if(j(l)){return K(q(l,D.valueFormat)),!0}}))}function W(e){var l;const{key:t}=e;"Enter"===t&&(null==(l=I.value)||l.blur(),O.value=!1)}return a((()=>R.formattedValue),(e=>{$.value=e,E.value=e}),{immediate:!0}),a((()=>O.value),(async e=>{var l,t,a,r,u;e&&(await o(),null==(u=null==(r=null==(a=null==(t=null==(l=P.value)?void 0:l.$timePicker)?void 0:t.panelInstRef)?void 0:a.$el)?void 0:r.querySelectorAll(".n-time-picker-col"))||u.forEach((e=>{var l,t;return null==(t=null==(l=null==e?void 0:e.querySelector)?void 0:l.call(e,".n-time-picker-col__item--active"))?void 0:t.scrollIntoView()})))})),(e,l)=>(r(),u(i(k),n({show:i(O),trigger:"click",showArrow:!1,placement:"bottom-start",style:{padding:"0"}},e.$attrs,{onClickoutside:l[3]||(l[3]=()=>O.value=!1)}),{trigger:m((()=>[c(i(h),{ref_key:"formRef",ref:I,clearable:"",value:$.value,"onUpdate:value":l[0]||(l[0]=e=>$.value=e),onClick:l[1]||(l[1]=()=>O.value=!0),onChange:N,onKeydown:W},null,8,["value"])])),default:m((()=>[c(i(y),null,{default:m((()=>[c(i(C),n({ref_key:"timePickerRef",ref:P,show:"","formatted-value":E.value},i(D),{class:"iho-table__time-picker",to:!1,"onUpdate:formattedValue":K,onConfirm:l[2]||(l[2]=()=>O.value=!1)}),null,16,["formatted-value"]),c(i(w),{class:"iho-table__scrollbar"},{default:m((()=>[i(z).length?(r(),u(i(y),{key:0,vertical:"",wrap:!1},{default:m((()=>[(r(!0),v(d,null,f(i(z),(e=>(r(),u(i(g),{size:"tiny",key:e,onClick:l=>function(e){K(e),O.value=!1}(e)},{default:m((()=>[s(p(e),1)])),_:2},1032,["onClick"])))),128))])),_:1})):_("v-if",!0)])),_:1})])),_:1})])),_:1},16,["show"]))}}),[["__file","editTime.vue"]]);export{R as default};
|
package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createVNode as n}from"vue";import
|
|
1
|
+
import{createVNode as n}from"vue";import"../../../../../../shared/utils/index.js";import{isObject as o,isArray as r}from"lodash-es";import"../../../../index.js";import{WIDGET_TYPE as e}from"../../../constants/index.js";import{parseMergeField as t,isRichContent as i,parseRichContent as l}from"../../../utils/index.js";import{defineTablePlugin as s}from"../../../hooks/useTablePlugin.js";import{isMatchLowCodeCondition as d}from"../../../../../../shared/utils/business.js";function c(){return s({name:"defaultRendererPlugin",vxe(s){s.renderer.add(e.DEFAULT,{renderCell(e,{row:s,column:c}){const u=t(s,c),a=i(u)?function(o){const r=l(o);return[n("div",{style:{color:r.background||r.icon}},[e(r.icon),r.change_text])];function e(o){return o?o.match(/#[\da-f]{6}|[\da-f]{3}/i)?n("i",{class:"icon-dot",style:{"--table-icon-color":o,"--table-icon-shadow":o}},null):n("i",{class:r.icon},null):null}}(u):[u];return function(o,e,t,i){if(!r(o)||!o.length)return i;const l=o.find((n=>n.condition&&n.condition.find((n=>{const o=e[n.field_key||t.field];return d(o,n)}))));return l?n("div",{style:{color:l.color},class:l.icon},[i]):i}(function(n){var r,e,t;const i=null==(r=n.editRender)?void 0:r.props;if(!o(i))return;return null!=(t=i.colorAndIcon)?t:null==(e=i.settingObj)?void 0:e.colorAndIcon}(c),s,c,a)}}),s.renderer.add(e.STATUS,s.renderer.get(e.DEFAULT))}})}export{c as defaultRendererPlugin};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { AnyObject, ArrayAble, MaybeString, TupleToUnion } from '../../../../../es/shared/types';
|
|
2
|
-
import { LOW_CODE_VALUE_RELATION } from '../../../../../es/shared/utils';
|
|
1
|
+
import { AnyObject, ArrayAble, BindEventSetting, LOW_CODE_VALUE_RELATION, MaybeString, TupleToUnion } from '../../../../../es/shared/types';
|
|
3
2
|
import { VxeTableProps, VxeTableDefines, VxeTableInstance, VxeColumnPropTypes, VxeTablePropTypes } from 'vxe-table';
|
|
4
3
|
import { VxeTableListeners } from 'vxe-table/types/table';
|
|
5
4
|
import { IHO_TABLE_STRING_STATUS, IhoTableEventNameTuple, IhoTableRowGroupSequence } from '../../../../../es/components/iho-table/src/constants';
|
|
@@ -57,15 +56,15 @@ export declare namespace IhoTableLowCodeField {
|
|
|
57
56
|
type FilterSetting = Partial<{
|
|
58
57
|
daterange: boolean;
|
|
59
58
|
}>;
|
|
60
|
-
type ColorAndIconItem = {
|
|
61
|
-
condition
|
|
59
|
+
type ColorAndIconItem = Partial<{
|
|
60
|
+
condition: {
|
|
62
61
|
con: LOW_CODE_VALUE_RELATION;
|
|
63
62
|
value: unknown;
|
|
64
63
|
field_key?: string;
|
|
65
64
|
}[];
|
|
66
|
-
color
|
|
67
|
-
icon
|
|
68
|
-
}
|
|
65
|
+
color: string;
|
|
66
|
+
icon: string;
|
|
67
|
+
}>;
|
|
69
68
|
type SettingObj = Partial<{
|
|
70
69
|
attr: string;
|
|
71
70
|
isHide: MaybeString<0 | 1>;
|
|
@@ -119,6 +118,7 @@ export declare type LowCodeTableFieldItem = {
|
|
|
119
118
|
colorAndIcon: IhoTableLowCodeField.ColorAndIconItem[];
|
|
120
119
|
variableHeight: boolean;
|
|
121
120
|
filterSetting: IhoTableLowCodeField.FilterSetting;
|
|
121
|
+
bindEventSetting: BindEventSetting[];
|
|
122
122
|
}> & Partial<VxeTableDefines.ColumnInfo>;
|
|
123
123
|
export declare type IhoTableFormChangePayload = {
|
|
124
124
|
column: IhoTableFieldItem;
|
|
@@ -34,26 +34,29 @@ export declare type TableHooks = Readonly<{
|
|
|
34
34
|
exposeHooks: AbstractExposeHooks;
|
|
35
35
|
}>;
|
|
36
36
|
export declare type WithTableConfig<T = []> = T extends any[] ? [...T, IhoTableConfig] : [T, IhoTableConfig];
|
|
37
|
-
declare type ConfigHookType<T> = SyncWaterfallHook<[
|
|
37
|
+
declare type ConfigHookType<T extends keyof IhoTableConfig> = SyncWaterfallHook<[
|
|
38
|
+
...WithTableConfig<Required<IhoTableConfig>[T]>,
|
|
39
|
+
IhoTableHandlerContext
|
|
40
|
+
]>;
|
|
38
41
|
export declare abstract class AbstractConfigHooks {
|
|
39
42
|
abstract readonly config: SyncWaterfallHook<[IhoTableConfig, IhoTableHandlerContext]>;
|
|
40
|
-
abstract readonly rowConfig: ConfigHookType<
|
|
41
|
-
abstract readonly editConfig: ConfigHookType<
|
|
42
|
-
abstract readonly columnConfig: ConfigHookType<
|
|
43
|
-
abstract readonly resizableConfig: ConfigHookType<
|
|
44
|
-
abstract readonly seqConfig: ConfigHookType<
|
|
45
|
-
abstract readonly sortConfig: ConfigHookType<
|
|
46
|
-
abstract readonly filterConfig: ConfigHookType<
|
|
47
|
-
abstract readonly radioConfig: ConfigHookType<
|
|
48
|
-
abstract readonly checkboxConfig: ConfigHookType<
|
|
49
|
-
abstract readonly expandConfig: ConfigHookType<
|
|
50
|
-
abstract readonly treeConfig: ConfigHookType<
|
|
51
|
-
abstract readonly mouseConfig: ConfigHookType<
|
|
52
|
-
abstract readonly menuConfig: ConfigHookType<
|
|
53
|
-
abstract readonly keyboardConfig: ConfigHookType<
|
|
54
|
-
abstract readonly scrollY: ConfigHookType<
|
|
55
|
-
abstract readonly scrollX: ConfigHookType<
|
|
56
|
-
abstract readonly editRules: ConfigHookType<
|
|
43
|
+
abstract readonly rowConfig: ConfigHookType<'rowConfig'>;
|
|
44
|
+
abstract readonly editConfig: ConfigHookType<'editConfig'>;
|
|
45
|
+
abstract readonly columnConfig: ConfigHookType<'columnConfig'>;
|
|
46
|
+
abstract readonly resizableConfig: ConfigHookType<'resizableConfig'>;
|
|
47
|
+
abstract readonly seqConfig: ConfigHookType<'seqConfig'>;
|
|
48
|
+
abstract readonly sortConfig: ConfigHookType<'sortConfig'>;
|
|
49
|
+
abstract readonly filterConfig: ConfigHookType<'filterConfig'>;
|
|
50
|
+
abstract readonly radioConfig: ConfigHookType<'radioConfig'>;
|
|
51
|
+
abstract readonly checkboxConfig: ConfigHookType<'checkboxConfig'>;
|
|
52
|
+
abstract readonly expandConfig: ConfigHookType<'expandConfig'>;
|
|
53
|
+
abstract readonly treeConfig: ConfigHookType<'treeConfig'>;
|
|
54
|
+
abstract readonly mouseConfig: ConfigHookType<'mouseConfig'>;
|
|
55
|
+
abstract readonly menuConfig: ConfigHookType<'menuConfig'>;
|
|
56
|
+
abstract readonly keyboardConfig: ConfigHookType<'keyboardConfig'>;
|
|
57
|
+
abstract readonly scrollY: ConfigHookType<'scrollY'>;
|
|
58
|
+
abstract readonly scrollX: ConfigHookType<'scrollX'>;
|
|
59
|
+
abstract readonly editRules: ConfigHookType<'editRules'>;
|
|
57
60
|
}
|
|
58
61
|
export interface FieldHookContext {
|
|
59
62
|
index: number;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export const __esModule: true;
|
|
2
|
+
export const IhoTableUtils: Readonly<{
|
|
3
|
+
getCellType: (lowCodeField: any) => any;
|
|
4
|
+
}>;
|
|
5
|
+
export const IhoTableRenderHelper: Readonly<{
|
|
6
|
+
createDefaultRenderCell: typeof createDefaultRenderCell;
|
|
7
|
+
createRenderEdit: typeof createRenderEdit;
|
|
8
|
+
isEditableColumn: (config: any, column: any) => any;
|
|
9
|
+
hasFilter: (lowCodeField: any) => boolean;
|
|
10
|
+
hasDateFiler: (lowCodeField: any) => any;
|
|
11
|
+
}>;
|
|
12
|
+
export const IhoTableStatusHelper: Readonly<{
|
|
13
|
+
isPositive: (value: any) => boolean;
|
|
14
|
+
isNegative: (value: any) => boolean;
|
|
15
|
+
notPositive: (value: any) => boolean;
|
|
16
|
+
notNegative: (value: any) => boolean;
|
|
17
|
+
}>;
|
|
18
|
+
export function createIhoTableClearActivedInterceptor(type: any, solution: any): (_a: any) => boolean;
|
|
19
|
+
export function IhoTableLog(message: any): void;
|
|
20
|
+
export function IhoTableWarn(message: any): void;
|
|
21
|
+
export function getRowHeight(): number;
|
|
22
|
+
export function eventListener2EventName(eventListenerName: any): string;
|
|
23
|
+
export function eventName2EventListener(eventName: any): string;
|
|
24
|
+
export function useUUIDMap(creator: any, isReactive: any): {
|
|
25
|
+
getItemFromUUID: (uuid: any) => any;
|
|
26
|
+
setItemFromUUID: (uuid: any, value: any) => void;
|
|
27
|
+
removeItemFromUUID: (uuid: any) => void;
|
|
28
|
+
};
|
|
29
|
+
export function getColumnRenderWidth(column: any, $table: any): any;
|
|
30
|
+
export function useIhoTableFormEvent(payload: any): {
|
|
31
|
+
emitFormChange: () => void;
|
|
32
|
+
emitFormClick: () => void;
|
|
33
|
+
emitFormChangeWithParams: (params: any) => void;
|
|
34
|
+
emitFormClickWithParams: (params: any) => void;
|
|
35
|
+
};
|
|
36
|
+
export function getLowCodeFieldFromField(field: any): any;
|
|
37
|
+
declare function createDefaultRenderCell(): (_: any, _a: any) => any[];
|
|
38
|
+
declare function createRenderEdit(renderer: any): (_a: any, params: any) => any;
|
|
39
|
+
export function isTransformTreeType(config: any): boolean;
|
|
40
|
+
export function isRichContent(content: any): boolean;
|
|
41
|
+
export function parseRichContent(richContent: any): any;
|
|
42
|
+
export function parseMergeField(row: any, column: any): any;
|
|
43
|
+
export function isCompatibleColumn(field: any): any;
|
|
44
|
+
export {};
|
package/es/components/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from './table-filter';
|
|
|
39
39
|
export * from './config-provider';
|
|
40
40
|
export * from './field-set';
|
|
41
41
|
export * from './scale-view';
|
|
42
|
+
export * from '../../es/shared/types';
|
|
42
43
|
declare function install(app: App): void;
|
|
43
44
|
export { CGrid, CBigTable, CFieldSet, CButtonPrint, CSelectPerson, CSelectLabel, CLabelFormContent, CScaleView, CMap, CVodChunkUpload, CRadio, CCheckbox, CSelect, CDatetime, CInfoHeader, CTimeLine, CBaseSearch, CQuickSearch, CClassification, CBpmnWorkflow, CStepsWheel, CEditor, CFormRender, CFabricChart, CShortcutProvider, CShortcutSetter, CFormConfig, CIhoTable, CKeyboard, CSearchCascader, CRecommendSearch, CDatePicker, CTimePicker, CConfigProvider };
|
|
44
45
|
declare const _default: {
|
|
@@ -1795,19 +1795,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1795
1795
|
}>;
|
|
1796
1796
|
SlotRender: import("vue").DefineComponent<{
|
|
1797
1797
|
renderer: {
|
|
1798
|
-
type: import("vue").PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("
|
|
1798
|
+
type: import("vue").PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("../../../..").Func<any[], any>>;
|
|
1799
1799
|
required: true;
|
|
1800
1800
|
};
|
|
1801
1801
|
rootSlots: {
|
|
1802
|
-
type: import("vue").PropType<Record<string, import("
|
|
1802
|
+
type: import("vue").PropType<Record<string, import("../../../..").Func<any[], any>>>;
|
|
1803
1803
|
};
|
|
1804
1804
|
}, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1805
1805
|
renderer: {
|
|
1806
|
-
type: import("vue").PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("
|
|
1806
|
+
type: import("vue").PropType<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("../../../..").Func<any[], any>>;
|
|
1807
1807
|
required: true;
|
|
1808
1808
|
};
|
|
1809
1809
|
rootSlots: {
|
|
1810
|
-
type: import("vue").PropType<Record<string, import("
|
|
1810
|
+
type: import("vue").PropType<Record<string, import("../../../..").Func<any[], any>>>;
|
|
1811
1811
|
};
|
|
1812
1812
|
}>>, {}>;
|
|
1813
1813
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
NDivider: any;
|
|
49
49
|
NSpace: any;
|
|
50
50
|
NButton: any;
|
|
51
|
-
FormRender: import("
|
|
51
|
+
FormRender: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
52
52
|
formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
|
|
53
53
|
key: import("vue").Ref<number>;
|
|
54
54
|
reload: () => Promise<void>;
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
type: import("vue").PropType<FieldItem[]>;
|
|
60
60
|
};
|
|
61
61
|
initialData: {
|
|
62
|
-
type: import("vue").PropType<import("
|
|
62
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
63
63
|
default: () => {};
|
|
64
64
|
};
|
|
65
65
|
fieldVisitor: {
|
|
@@ -148,11 +148,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
148
148
|
default: () => {};
|
|
149
149
|
};
|
|
150
150
|
scope: {
|
|
151
|
-
type: import("vue").PropType<import("
|
|
151
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
152
152
|
default: () => {};
|
|
153
153
|
};
|
|
154
154
|
annotation: {
|
|
155
|
-
type: import("vue").PropType<import("
|
|
155
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
156
156
|
};
|
|
157
157
|
consumer: {
|
|
158
158
|
type: BooleanConstructor;
|
|
@@ -164,8 +164,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
164
164
|
lifeCycle: {
|
|
165
165
|
type: import("vue").PropType<Partial<{
|
|
166
166
|
onSetup(): void;
|
|
167
|
-
beforeRequest(fieldKey: string, params?: import("
|
|
168
|
-
afterRequest(fieldKey: string, payload?: any): import("
|
|
167
|
+
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
168
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../..").AnyObject[];
|
|
169
169
|
}>>;
|
|
170
170
|
};
|
|
171
171
|
requestInstance: {
|
|
@@ -191,7 +191,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
191
191
|
type: import("vue").PropType<FieldItem[]>;
|
|
192
192
|
};
|
|
193
193
|
initialData: {
|
|
194
|
-
type: import("vue").PropType<import("
|
|
194
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
195
195
|
default: () => {};
|
|
196
196
|
};
|
|
197
197
|
fieldVisitor: {
|
|
@@ -280,11 +280,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
280
280
|
default: () => {};
|
|
281
281
|
};
|
|
282
282
|
scope: {
|
|
283
|
-
type: import("vue").PropType<import("
|
|
283
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
284
284
|
default: () => {};
|
|
285
285
|
};
|
|
286
286
|
annotation: {
|
|
287
|
-
type: import("vue").PropType<import("
|
|
287
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
288
288
|
};
|
|
289
289
|
consumer: {
|
|
290
290
|
type: BooleanConstructor;
|
|
@@ -296,8 +296,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
296
296
|
lifeCycle: {
|
|
297
297
|
type: import("vue").PropType<Partial<{
|
|
298
298
|
onSetup(): void;
|
|
299
|
-
beforeRequest(fieldKey: string, params?: import("
|
|
300
|
-
afterRequest(fieldKey: string, payload?: any): import("
|
|
299
|
+
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
300
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../..").AnyObject[];
|
|
301
301
|
}>>;
|
|
302
302
|
};
|
|
303
303
|
requestInstance: {
|
|
@@ -333,7 +333,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
333
333
|
changeContextCollector: import("../../../../../../es/components/form-render").ContextCollector;
|
|
334
334
|
formUUID: string;
|
|
335
335
|
anchorBarRef: import("vue").Ref<{
|
|
336
|
-
syncBarPosition: import("
|
|
336
|
+
syncBarPosition: import("../../../..").Func<any[], any>;
|
|
337
337
|
} | undefined>;
|
|
338
338
|
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
339
339
|
generateAnchorList: (formModel: import("../../../../../../es/components/form-render").Form<any>) => Promise<void>;
|
|
@@ -472,7 +472,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
472
472
|
exposeEvent: {
|
|
473
473
|
validate(path?: string): Promise<void>;
|
|
474
474
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
475
|
-
setFormValues(values: import("
|
|
475
|
+
setFormValues(values: import("../../../..").AnyObject, needSplitExtendKey?: boolean, overwrite?: boolean): void;
|
|
476
476
|
setFieldState(path: string, handler: (field: Partial<Pick<import("../../../../../../es/components/form-render").Field<any, any, any, any>, import("../../../../../../es/components/form-render").NonFunctionPropertyNames<{
|
|
477
477
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
478
478
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -638,7 +638,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
638
638
|
type: import("vue").PropType<FieldItem[]>;
|
|
639
639
|
};
|
|
640
640
|
initialData: {
|
|
641
|
-
type: import("vue").PropType<import("
|
|
641
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
642
642
|
default: () => {};
|
|
643
643
|
};
|
|
644
644
|
fieldVisitor: {
|
|
@@ -727,11 +727,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
727
727
|
default: () => {};
|
|
728
728
|
};
|
|
729
729
|
scope: {
|
|
730
|
-
type: import("vue").PropType<import("
|
|
730
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
731
731
|
default: () => {};
|
|
732
732
|
};
|
|
733
733
|
annotation: {
|
|
734
|
-
type: import("vue").PropType<import("
|
|
734
|
+
type: import("vue").PropType<import("../../../..").AnyObject>;
|
|
735
735
|
};
|
|
736
736
|
consumer: {
|
|
737
737
|
type: BooleanConstructor;
|
|
@@ -743,8 +743,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
743
743
|
lifeCycle: {
|
|
744
744
|
type: import("vue").PropType<Partial<{
|
|
745
745
|
onSetup(): void;
|
|
746
|
-
beforeRequest(fieldKey: string, params?: import("
|
|
747
|
-
afterRequest(fieldKey: string, payload?: any): import("
|
|
746
|
+
beforeRequest(fieldKey: string, params?: import("../../../..").AnyObject | undefined): void | import("../../../..").UndefinedAble<import("../../../..").AnyObject>;
|
|
747
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../..").AnyObject[];
|
|
748
748
|
}>>;
|
|
749
749
|
};
|
|
750
750
|
requestInstance: {
|
|
@@ -773,9 +773,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
773
773
|
maxHeight: string | number;
|
|
774
774
|
column: number;
|
|
775
775
|
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
776
|
-
initialData: import("
|
|
776
|
+
initialData: import("../../../..").AnyObject;
|
|
777
777
|
parallelism: number;
|
|
778
|
-
scope: import("
|
|
778
|
+
scope: import("../../../..").AnyObject;
|
|
779
779
|
consumer: boolean;
|
|
780
780
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
781
781
|
linebarAutoHidden: boolean;
|
|
@@ -187,7 +187,9 @@ declare const Keyboard: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
187
187
|
inputRef: any;
|
|
188
188
|
style: import("vue").ComputedRef<string> | undefined;
|
|
189
189
|
init: () => import("vue").ComputedRef<string> | undefined;
|
|
190
|
-
|
|
190
|
+
setFocus: () => Promise<void>;
|
|
191
|
+
keydown: (key: string | number) => void;
|
|
192
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
191
193
|
updateValue: (key: string) => Promise<void>;
|
|
192
194
|
validator: () => boolean;
|
|
193
195
|
updateFraction: (value: number) => void;
|
|
@@ -188,7 +188,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
188
188
|
inputRef: any;
|
|
189
189
|
style: import("vue").ComputedRef<string> | undefined;
|
|
190
190
|
init: () => import("vue").ComputedRef<string> | undefined;
|
|
191
|
-
|
|
191
|
+
setFocus: () => Promise<void>;
|
|
192
|
+
keydown: (key: string | number) => void;
|
|
193
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
192
194
|
updateValue: (key: string) => Promise<void>;
|
|
193
195
|
validator: () => boolean;
|
|
194
196
|
updateFraction: (value: number) => void;
|
|
@@ -83,7 +83,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
83
|
inputRef: any;
|
|
84
84
|
style: import("vue").ComputedRef<string> | undefined;
|
|
85
85
|
init: () => import("vue").ComputedRef<string> | undefined;
|
|
86
|
-
|
|
86
|
+
setFocus: () => Promise<void>;
|
|
87
|
+
keydown: (key: string | number) => void;
|
|
88
|
+
onKeydown: (event: KeyboardEvent) => void;
|
|
87
89
|
updateValue: (key: string) => Promise<void>;
|
|
88
90
|
validator: () => boolean;
|
|
89
91
|
updateFraction: (value: number) => void;
|