cnhis-design-vue 3.1.54-beta.2 → 3.1.54-beta.20
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/body-select/src/hooks/renderCanvas.js +1 -1
- package/es/components/body-select/src/index.vue2.js +1 -1
- package/es/components/button-print/index.d.ts +13 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +16 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +54 -14
- package/es/components/chat-sdk/index.d.ts +2 -0
- package/es/components/chat-sdk/index.js +1 -0
- package/es/components/chat-sdk/src/chatSDK.d.ts +7 -0
- package/es/components/chat-sdk/src/chatSDK.js +1 -0
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/fabric-chart/index.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -0
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/constants/index.d.ts +1 -0
- package/es/components/fabric-chart/src/constants/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +18 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +5 -0
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
- package/es/components/fabric-chart/src/hooks/index.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +10 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/form-config/index.d.ts +90 -66
- package/es/components/form-config/src/FormConfig.vue.d.ts +91 -67
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +26 -14
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +38 -26
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +12 -12
- package/es/components/form-config/src/constants/index.d.ts +4 -4
- package/es/components/form-config/src/types/index.d.ts +3 -3
- package/es/components/form-render/index.d.ts +26 -14
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +27 -15
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +26 -14
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +20 -9
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -4
- package/es/components/form-render/src/hooks/useFieldVisitor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +12 -3
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -2
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +2 -2
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +7 -5
- package/es/components/form-render/src/hooks/useOperationalForm.js +1 -1
- package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +13 -4
- package/es/components/form-render/src/hooks/useWordbookSetting.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
- package/es/components/form-render/src/types/index.d.ts +6 -6
- package/es/components/iho-table/index.d.ts +28 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +28 -0
- package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -1
- 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.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +8 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +7 -5
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +62 -38
- package/es/components/info-header/src/InfoHeader.vue.d.ts +62 -38
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +28 -16
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +26 -14
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/shortcut-setter/index.d.ts +28 -16
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +28 -16
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +61 -53
- package/es/shared/utils/business.d.ts +11 -7
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/components/fabric-chart/src/hooks/electrocardiogram/constants/index.d.ts +0 -2
- package/es/components/fabric-chart/src/hooks/electrocardiogram/constants/index.js +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
|
@@ -2215,12 +2215,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2215
2215
|
enable?: boolean | undefined;
|
|
2216
2216
|
usePreset?: boolean | undefined;
|
|
2217
2217
|
} | undefined;
|
|
2218
|
+
operationalForm?: {
|
|
2219
|
+
operationFormParam: string[];
|
|
2220
|
+
operationalRule: string;
|
|
2221
|
+
operationalPrecision: string;
|
|
2222
|
+
operationalResult: string;
|
|
2223
|
+
}[] | undefined;
|
|
2218
2224
|
operationForm?: {
|
|
2219
2225
|
operationFormParam: string[];
|
|
2220
2226
|
operationalRule: string;
|
|
2221
2227
|
operationalPrecision: string;
|
|
2222
2228
|
operationalResult: string;
|
|
2223
2229
|
}[] | undefined;
|
|
2230
|
+
dateOperationalForm?: {
|
|
2231
|
+
scene: "DIFF" | "CALC";
|
|
2232
|
+
precision: string;
|
|
2233
|
+
diffValUnit: "DAY" | "MIN" | "HOUR" | "DHM";
|
|
2234
|
+
diffValField: string;
|
|
2235
|
+
startDateField: string;
|
|
2236
|
+
endDateField: string;
|
|
2237
|
+
}[] | undefined;
|
|
2224
2238
|
}>;
|
|
2225
2239
|
updateConfigRefDebounced: () => void;
|
|
2226
2240
|
updateConfigRef: () => void;
|
|
@@ -4658,12 +4672,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4658
4672
|
enable?: boolean | undefined;
|
|
4659
4673
|
usePreset?: boolean | undefined;
|
|
4660
4674
|
} | undefined;
|
|
4675
|
+
operationalForm?: {
|
|
4676
|
+
operationFormParam: string[];
|
|
4677
|
+
operationalRule: string;
|
|
4678
|
+
operationalPrecision: string;
|
|
4679
|
+
operationalResult: string;
|
|
4680
|
+
}[] | undefined;
|
|
4661
4681
|
operationForm?: {
|
|
4662
4682
|
operationFormParam: string[];
|
|
4663
4683
|
operationalRule: string;
|
|
4664
4684
|
operationalPrecision: string;
|
|
4665
4685
|
operationalResult: string;
|
|
4666
4686
|
}[] | undefined;
|
|
4687
|
+
dateOperationalForm?: {
|
|
4688
|
+
scene: "DIFF" | "CALC";
|
|
4689
|
+
precision: string;
|
|
4690
|
+
diffValUnit: "DAY" | "MIN" | "HOUR" | "DHM";
|
|
4691
|
+
diffValField: string;
|
|
4692
|
+
startDateField: string;
|
|
4693
|
+
endDateField: string;
|
|
4694
|
+
}[] | undefined;
|
|
4667
4695
|
}>;
|
|
4668
4696
|
configChanged: boolean;
|
|
4669
4697
|
fieldChanged: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../../../../shared/utils/index.js";import"../../../index.js";import{isFunction as n}from"lodash-es";import{
|
|
1
|
+
import"../../../../../shared/utils/index.js";import"../../../index.js";import{isFunction as n}from"lodash-es";import{getBindEventSettingTrigger as t}from"../../../../../shared/utils/business.js";import{defineTablePlugin as o}from"../../hooks/useTablePlugin.js";function e(){const e="bindEventSettingPlugin";return o({name:e,apply(o){o.configHooks.config.tap(e,(o=>{const e=o.onFormChange;return o.onFormChange=function(o){var i;const{column:r,row:s}=o,u=null==(i=r.editRender)?void 0:i.props;if(u&&(null==u?void 0:u.bindEventSetting)){u.bindEventSetting.forEach((n=>{t(n.event_type)(n,{getter:n=>s[n],setter:(n,t)=>s[n]=t})}))}n(e)&&e(o)},o}))}})}export{e as bindEventSettingPlugin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../../../../shared/utils/index.js";import"../../../index.js";import{isFunction as
|
|
1
|
+
import"../../../../../shared/utils/index.js";import{format as o}from"date-fns";import"../../../index.js";import{isFunction as n,isNumber as t,isDate as e}from"lodash-es";import{EDITABLE_WIDGET_TYPE as r}from"../../constants/index.js";import{getLowCodeFieldFromField as i,IhoTableUtils as s}from"../../utils/index.js";import{getOperationalFormHandler as a,getDateOperationalFormHandler as m}from"../../../../../shared/utils/business.js";import{defineTablePlugin as l}from"../../hooks/useTablePlugin.js";function u(){const u="operationalFormPlugin";return l({name:u,apply(l){l.configHooks.config.tap(u,(l=>{const u=l.onFormChange;return l.onFormChange=function(d){const{column:p,row:f,$table:c}=d;!function(n,u){const{operationalFormHandler:d}=a(l.operationalForm||l.operationForm,(o=>n[o]),((o,t)=>{u.getColumns().some((n=>n.field===o))&&(n[o]=t)})),{dateOperationalFormHandler:p}=m(l.dateOperationalForm,(o=>n[o]),((a,m)=>{const l=u.getColumns().find((o=>o.field===a));if(!l)return;const d=i(l);d&&[r.DATE,r.TIME].includes(s.getCellType(d))&&(m=t(m)||e(m)?o(new Date(m),d.valueFormat||"yyyy-MM-dd HH:mm:ss"):null),n[a]=m}));return function(o){d(o),p(o)}}(f,c)(p.field),n(u)&&u(d)},l}))}})}export{u as operationalFormPlugin};
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
emitFormChangeWithParams: (params?: AnyObject) => void;
|
|
45
45
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
46
46
|
formRef: import("vue").Ref<any>;
|
|
47
|
-
formattedValue: import("vue").WritableComputedRef<string | undefined>;
|
|
47
|
+
formattedValue: import("vue").WritableComputedRef<string | null | undefined>;
|
|
48
48
|
formatConfig: import("vue").ComputedRef<{
|
|
49
49
|
valueFormat: string;
|
|
50
50
|
format: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as t,inject as r,ref as
|
|
1
|
+
import{defineComponent as e,useAttrs as t,inject as r,ref as a,computed as i,openBlock as o,createBlock as s,unref as n,mergeProps as l,isRef as u}from"vue";import{generateTimeFormat as m}from"../../../../../../../shared/utils/index.js";import{isFunction as d}from"lodash-es";import{useIhoTableFormEvent as p}from"../../../../utils/index.js";import f from"../../../../../../date-picker/index.js";var w=e({__name:"editDate",props:{value:{type:String,default:void 0},column:{type:Object,required:!0},row:{type:Object,required:!0},rowIndex:{type:Number,required:!0}},emits:["update:value"],setup(e,{emit:w}){const c=e,D=t(),v=r("$xetable"),{emitFormChangeWithParams:b}=p({...c,$table:v}),y=a(),g=i({get:()=>c.value?c.value:null,set(e){const t=c.value;t!==e&&(w("update:value",e),b({oldValue:t}))}}),$=i((()=>{const e=D.valueFormat||"yyyy-MM-dd HH:mm:ss";return{valueFormat:e,format:e,timePickerProps:{format:m(e)}}})),{isStartDate:T=!1,isEndDate:h=!1}=D,x=D.connectField||"",j=(e,t)=>T&&x?e>t:!(!h||!x)&&e<t,F=e=>{const t=new Date(c.row[x]),r=new Date(e),{h:a,m:i,s:o}=S(t),s=(e,t,r,a)=>!(h&&r>a)&&(!(T&&r<a)&&j(e,t));return{isHourDisabled:t=>{if(!c.row[x])return!1;const i=new Date(`${c.row[x].split(" ")[0]} 00:00:00`).getTime(),{m:o,s:n}=S(r);return s(t,a,e-60*t*60*1e3-60*o*1e3-1e3*n,i)},isMinuteDisabled:t=>{if(!c.row[x])return!1;const o=new Date(`${c.row[x].split(" ")[0]} ${a}:00:00`).getTime(),{s:n}=S(r);return s(t,i,e-60*t*1e3-1e3*n,o)},isSecondDisabled:t=>{if(!c.row[x])return!1;const r=new Date(`${c.row[x].split(" ")[0]} ${a}:${i}:00`).getTime();return s(t,o,e-1e3*t,r)}}},H={type:D.type||"datetime",clearable:!0,allowedInvalidValue:"-",...D,...$.value,isDateDisabled:M(D.isDateDisabled)||(e=>!!c.row[x]&&j(e,h?new Date(`${c.row[x].split(" ")[0]} 00:00:00`).getTime():new Date(c.row[x]).getTime()))};function M(e){return d(e)?t=>e(t,c.row):null}function S(e){return{h:e.getHours(),m:e.getMinutes(),s:e.getSeconds()}}return H.type.includes("time")&&(H.isTimeDisabled=M(D.isTimeDisabled)||F),(e,t)=>(o(),s(n(f),l({ref_key:"formRef",ref:y},n(H),{"formatted-value":n(g),"onUpdate:formatted-value":t[0]||(t[0]=e=>u(g)?g.value=e:null)}),null,16,["formatted-value"]))}});export{w as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createVNode as e,mergeProps as o}from"vue";import{format as
|
|
1
|
+
import{createVNode as e,mergeProps as o}from"vue";import{format as t}from"date-fns";import{isFunction as n}from"lodash-es";import"../../../../../index.js";import{EDITABLE_WIDGET_TYPE as r}from"../../../../constants/index.js";import{useAutoFocus as i}from"../hooks/useAutoFocus.js";import{createIhoTableClearActivedInterceptor as d,IhoTableRenderHelper as l,isInvalidDate as a,getLowCodeFieldFromField as u}from"../../../../utils/index.js";import m from"./editDate.vue.js";import{defineTablePlugin as s}from"../../../../hooks/useTablePlugin.js";function c(){const c="dateRendererPlugin";return s({name:c,vxe(t){t.interceptor.add("event.clearActived",d(r.DATE,(e=>e.classList.contains("n-date-panel")))),t.renderer.add(r.DATE,{renderCell:l.createDefaultRenderCell(),renderEdit:l.createRenderEdit((({fieldItem:t,emitFormClick:n,row:r,column:i,$rowIndex:d})=>[e(m,o({value:r[i.field],"onUpdate:value":e=>r[i.field]=e,isStartDate:t.isStartDate,isEndDate:t.isEndDate,connectField:t.connectField,valueFormat:t.valueFormat},t.componentProps,{column:i,row:r,"row-index":d,onClick:n}),null)]))})},apply(e){i(e).bindAutoFocusConfig(c,r.DATE,".n-input__input-el",{after:e=>(Reflect.set(e.editRender,"autoselect",!0),e)}),e.eventHooks.onCellDblclick.tap(c,(({row:e,column:o,columnIndex:i,rowIndex:d,$rowIndex:l},m,{$table:s,emits:c})=>{var f,p,v,x;if((null==(f=o.editRender)?void 0:f.name)!==r.DATE||e[o.field])return;if(n(null==(p=m.editConfig)?void 0:p.beforeEditMethod)){if(!(null==(v=m.editConfig)?void 0:v.beforeEditMethod({row:e,column:o,columnIndex:i,rowIndex:d,$table:s,$grid:s})))return}const D=new Date;if(a(o,e,D))return;const w=e[o.field];e[o.field]=t(D,(null==(x=u(o))?void 0:x.valueFormat)||"yyyy-MM-dd HH:mm:ss"),c("formChange",{oldValue:w,index:d>-1?d:l,value:e[o.field],row:e,column:o,$table:s})}))}})}export{c as dateRendererPlugin};
|
|
@@ -54,13 +54,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
isShow: import("vue").Ref<boolean>;
|
|
55
55
|
timePickerRef: import("vue").Ref<any>;
|
|
56
56
|
inputValue: import("vue").Ref<any>;
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
inputProps: import("vue").ComputedRef<{
|
|
58
|
+
style: string;
|
|
59
|
+
} | {
|
|
60
|
+
style?: undefined;
|
|
61
|
+
}>;
|
|
62
|
+
__formattedValue: import("vue").WritableComputedRef<any>;
|
|
59
63
|
placeholder: any;
|
|
60
64
|
valueFormat: any;
|
|
61
65
|
timeConfig: AnyObject;
|
|
62
66
|
clickShortcutOption: (item: string) => void;
|
|
63
|
-
onUpdateFormattedValue: (value: string) => void;
|
|
67
|
+
onUpdateFormattedValue: (value: string | null) => void;
|
|
68
|
+
isDisabled: (value: string) => boolean;
|
|
64
69
|
onChange: () => void;
|
|
65
70
|
onKeydown: (event: KeyboardEvent) => void;
|
|
66
71
|
NInput: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as l,inject as t,ref as a,
|
|
1
|
+
import{defineComponent as e,useAttrs as l,inject as t,ref as a,computed as r,reactive as u,watch as o,nextTick as i,openBlock as n,createBlock as d,unref as c,withCtx as v,createVNode as m,mergeProps as s,isRef as f,createElementBlock as p,Fragment as h,renderList as y,createTextVNode as k,toDisplayString as b,createCommentVNode as w}from"vue";import{NPopover as _,NInput as g,NSpace as V,NScrollbar as C,NButton as F}from"naive-ui";import{useIhoTableFormEvent as x}from"../../../../utils/index.js";import D from"../../../../../../time-picker/index.js";import{parse as q,isValid as O,getHours as j,getMinutes as S,getSeconds as $,format as A}from"date-fns";var H=e({__name:"editTime",props:{formattedValue:{type:String},column:{type:Object,required:!0},row:{type:Object,required:!0},rowIndex:{type:Number,required:!0},shortcutOptions:{type:Array,default:()=>[]}},emits:["update:formattedValue","click"],setup(e,{emit:H}){const I=e,P=l(),R=t("$xetable"),{emitFormChangeWithParams:E}=x({...I,$table:R}),M=a(null),U=a(!1),z=a(),K=a(),N=r((()=>K.value&&L(K.value)?{style:"text-decoration: line-through"}:{})),T=r({get(){if(!K.value)return null;const e=q(K.value,G.valueFormat,new Date);return O(e)?K.value:I.formattedValue?I.formattedValue:null},set(e){J(e)}}),{placeholder:W="请选择",valueFormat:B="HH:mm"}=P,G=u({...P,placeholder:W,valueFormat:B,format:B});function J(e){if(K.value=e||"",e&&L(e))return;const l=I.formattedValue;l!==e&&(H("update:formattedValue",e),E({oldValue:l}))}function L(e){var l,t,a;const r=q(e,G.format,new Date),u=j(r),o=S(r),i=$(r),n=null==(l=G.isHourDisabled)?void 0:l.call(G,u),d=null==(t=G.isMinuteDisabled)?void 0:t.call(G,o,u),c=null==(a=G.isSecondDisabled)?void 0:a.call(G,i,o,u);return!!n||(!!d||!!c)}function Q(){[G.valueFormat.replace(/[^\w]/g,""),G.valueFormat].some((e=>{const l=q(K.value,e,new Date);if(!K.value||O(l)){return J(K.value?A(l,G.valueFormat):null),!0}return!1}))}function X(e){var l;const{key:t}=e;"Enter"===t&&(null==(l=M.value)||l.blur(),U.value=!1)}return o((()=>I.formattedValue),(e=>{if(!e)return"";K.value=e}),{immediate:!0}),o((()=>U.value),(async e=>{var l,t,a,r,u;e&&(await i(),null==(u=null==(r=null==(a=null==(t=null==(l=z.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()})))})),(l,t)=>(n(),d(c(_),{show:U.value,trigger:"click",showArrow:!1,placement:"bottom-start",style:{padding:"0"},onClickoutside:t[4]||(t[4]=()=>U.value=!1)},{trigger:v((()=>[m(c(g),{ref_key:"formRef",ref:M,clearable:"",placeholder:c(W),value:K.value,"onUpdate:value":t[0]||(t[0]=e=>K.value=e),valueModifiers:{trim:!0},"input-props":c(N),onClick:t[1]||(t[1]=()=>U.value=!0),onChange:Q,onKeydown:X},null,8,["placeholder","value","input-props"])])),default:v((()=>[m(c(V),null,{default:v((()=>[m(c(D),s({ref_key:"timePickerRef",ref:z,show:""},c(G),{class:"iho-table__time-picker",to:!1,"formatted-value":c(T),"onUpdate:formatted-value":t[2]||(t[2]=e=>f(T)?T.value=e:null),onConfirm:t[3]||(t[3]=()=>U.value=!1)}),null,16,["formatted-value"]),m(c(C),{class:"iho-table__scrollbar"},{default:v((()=>[e.shortcutOptions.length?(n(),d(c(V),{key:0,vertical:"",wrap:!1},{default:v((()=>[(n(!0),p(h,null,y(e.shortcutOptions,(e=>(n(),d(c(F),{size:"tiny",key:e,disabled:L(e),onClick:l=>function(e){J(e),U.value=!1}(e)},{default:v((()=>[k(b(e),1)])),_:2},1032,["disabled","onClick"])))),128))])),_:1})):w("v-if",!0)])),_:1})])),_:1})])),_:1},8,["show"]))}});export{H as default};
|
package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createVNode as n}from"vue";import"../../../../../../shared/utils/index.js";import{isObject as o,isArray as e}from"lodash-es";import"../../../../index.js";import{WIDGET_TYPE as t}from"../../../constants/index.js";import{parseMergeField as r,isRichContent as i,parseRichContent as l,getTitle as s}from"../../../utils/index.js";import{isMatchLowCodeCondition as c}from"../../../../../../shared/utils/business.js";import{defineTablePlugin as d}from"../../../hooks/useTablePlugin.js";function u(){return d({name:"defaultRendererPlugin",vxe(d){d.renderer.add(t.DEFAULT,{renderCell(t,{row:d,column:u}){const a=r(d,u),f=i(a)?function(o,e){const t=l(o);return[n("span",{title:s(e,t.change_text),style:{color:t.background||t.icon}},[r(t.icon),t.change_text])];function r(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:t.icon},null):null}}(a,u):[a];return function(o,t,r,i){if(!e(o)||!o.length)return n("span",{title:s(r,i)},[i]);const l=o.find((n=>n.condition&&n.condition.find((n=>{const o=t[n.field_key||r.field];return c(o,n)}))));return n("span",l?{title:s(r,i),style:{color:l.color},class:l.icon}:{title:s(r,i)},[i])}(function(n){var e,t,r;const i=null==(e=n.editRender)?void 0:e.props;if(!o(i))return;return null!=(r=i.colorAndIcon)?r:null==(t=i.settingObj)?void 0:t.colorAndIcon}(u),d,u,f)}}),d.renderer.add(t.STATUS,d.renderer.get(t.DEFAULT))}})}export{u as defaultRendererPlugin};
|
|
1
|
+
import{createVNode as n}from"vue";import"../../../../../../shared/utils/index.js";import{isObject as o,isArray as e}from"lodash-es";import"../../../../index.js";import{WIDGET_TYPE as t}from"../../../constants/index.js";import{parseMergeField as r,isRichContent as i,parseRichContent as l,getTitle as s}from"../../../utils/index.js";import{isMatchLowCodeCondition as c}from"../../../../../../shared/utils/business.js";import{defineTablePlugin as d}from"../../../hooks/useTablePlugin.js";function u(){return d({name:"defaultRendererPlugin",vxe(d){d.renderer.add(t.DEFAULT,{renderCell(t,{row:d,column:u}){const a=r(d,u),f=i(a)?function(o,e){const t=l(o);return[n("span",{title:s(e,t.change_text),style:{color:t.background||t.icon}},[r(t.icon),t.change_text])];function r(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:t.icon},null):null}}(a,u):[a];return function(o,t,r,i){if(!e(o)||!o.length)return n("span",{title:String(s(r,i))},[i]);const l=o.find((n=>n.condition&&n.condition.find((n=>{const o=t[n.field_key||r.field];return c(o,n)}))));return n("span",l?{title:s(r,i),style:{color:l.color},class:l.icon}:{title:s(r,i)},[i])}(function(n){var e,t,r;const i=null==(e=n.editRender)?void 0:e.props;if(!o(i))return;return null!=(r=i.colorAndIcon)?r:null==(t=i.settingObj)?void 0:t.colorAndIcon}(u),d,u,f)}}),d.renderer.add(t.STATUS,d.renderer.get(t.DEFAULT))}})}export{u as defaultRendererPlugin};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyObject, ArrayAble,
|
|
1
|
+
import { AnyObject, ArrayAble, AnyFn, MaybeString, LowCodeTypes, TupleToUnion } from '../../../../../es/shared/types';
|
|
2
2
|
import { VxeTableProps, VxeTableDefines, VxeTableInstance, VxeColumnPropTypes, VxeTablePropTypes, VxeTableConstructor } from 'vxe-table';
|
|
3
3
|
import { VxePagerEventProps } from 'vxe-table/types/pager';
|
|
4
4
|
import { VxeTableEventProps, VxeTableListeners, VxeTablePrivateMethods } from 'vxe-table/types/table';
|
|
@@ -36,7 +36,9 @@ export declare type IhoTableConfig = VxeTableProps & Partial<{
|
|
|
36
36
|
usePreset: boolean;
|
|
37
37
|
[K: string]: any;
|
|
38
38
|
}>;
|
|
39
|
-
|
|
39
|
+
operationalForm: LowCodeTypes.operationalConfig[];
|
|
40
|
+
operationForm: LowCodeTypes.operationalConfig[];
|
|
41
|
+
dateOperationalForm: LowCodeTypes.dateOperationalConfig[];
|
|
40
42
|
checkboxConfig: Partial<VxeTableProps['checkboxConfig'] & {
|
|
41
43
|
slots: VxeColumnPropTypes.Slots;
|
|
42
44
|
maxCheckSize: number;
|
|
@@ -75,7 +77,7 @@ export declare namespace IhoTableLowCodeField {
|
|
|
75
77
|
}>;
|
|
76
78
|
type ColorAndIconItem = Partial<{
|
|
77
79
|
condition: {
|
|
78
|
-
con:
|
|
80
|
+
con: LowCodeTypes.VALUE_RELATION;
|
|
79
81
|
value: unknown;
|
|
80
82
|
field_key?: string;
|
|
81
83
|
}[];
|
|
@@ -149,12 +151,12 @@ export declare type LowCodeTableFieldItem = {
|
|
|
149
151
|
colorAndIcon: IhoTableLowCodeField.ColorAndIconItem[];
|
|
150
152
|
variableHeight: boolean | '0' | '1';
|
|
151
153
|
filterSetting: IhoTableLowCodeField.FilterSetting;
|
|
152
|
-
bindEventSetting: BindEventSettingItem[];
|
|
154
|
+
bindEventSetting: LowCodeTypes.BindEventSettingItem[];
|
|
153
155
|
allowSlash: boolean | string;
|
|
154
156
|
whiteList: string[];
|
|
155
157
|
defaultValue: any;
|
|
156
158
|
autograph: string;
|
|
157
|
-
wordbook:
|
|
159
|
+
wordbook: LowCodeTypes.wordbook;
|
|
158
160
|
requestCache: boolean;
|
|
159
161
|
lazyRequest: boolean;
|
|
160
162
|
}> & Partial<VxeTableDefines.ColumnInfo>;
|
package/es/components/index.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export * from './guide';
|
|
|
53
53
|
export * from './select-label';
|
|
54
54
|
export * from './card-reader-sdk';
|
|
55
55
|
export * from './slider-tree';
|
|
56
|
+
export * from './chat-sdk';
|
|
56
57
|
declare function install(app: App): void;
|
|
57
58
|
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, CPictureClipper, CTableExportField, CExpandField, CMultiChat, CCallback, CSliderTree, CBodySelect };
|
|
58
59
|
declare const _default: {
|
package/es/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"./grid/index.js";export{default as CGrid}from"./grid/index.js";import r from"./big-table/index.js";export{default as CBigTable}from"./big-table/index.js";import o from"./field-set/index.js";export{default as CFieldSet}from"./field-set/index.js";import s from"./button-print/index.js";export{default as CButtonPrint}from"./button-print/index.js";import t from"./select-person/index.js";export{default as CSelectPerson}from"./select-person/index.js";import i,{CLabelFormContent as a}from"./select-label/index.js";export{CLabelFormContent,default as CSelectLabel}from"./select-label/index.js";import d from"./map/index.js";export{default as CMap}from"./map/index.js";import n from"./vod-chunk-upload/index.js";export{default as CVodChunkUpload}from"./vod-chunk-upload/index.js";import{CScaleView as m,CRadio as
|
|
1
|
+
import e from"./grid/index.js";export{default as CGrid}from"./grid/index.js";import r from"./big-table/index.js";export{default as CBigTable}from"./big-table/index.js";import o from"./field-set/index.js";export{default as CFieldSet}from"./field-set/index.js";import s from"./button-print/index.js";export{default as CButtonPrint}from"./button-print/index.js";import t from"./select-person/index.js";export{default as CSelectPerson}from"./select-person/index.js";import i,{CLabelFormContent as a}from"./select-label/index.js";export{CLabelFormContent,default as CSelectLabel}from"./select-label/index.js";import d from"./map/index.js";export{default as CMap}from"./map/index.js";import n from"./vod-chunk-upload/index.js";export{default as CVodChunkUpload}from"./vod-chunk-upload/index.js";import{CScaleView as m,CRadio as f,CCheckbox as p,CSelect as l,CDatetime as c}from"./scale-view/index.js";export{CCheckbox,CDatetime,CRadio,CScaleView,CSelect}from"./scale-view/index.js";import u from"./info-header/index.js";export{default as CInfoHeader}from"./info-header/index.js";import x from"./time-line/index.js";export{default as CTimeLine}from"./time-line/index.js";import C from"./base-search/index.js";export{default as CBaseSearch}from"./base-search/index.js";import h from"./quick-search/index.js";export{default as CQuickSearch}from"./quick-search/index.js";import j from"./classification/index.js";export{default as CClassification}from"./classification/index.js";import k from"./bpmn-workflow/index.js";export{default as CBpmnWorkflow}from"./bpmn-workflow/index.js";import b from"./steps-wheel/index.js";export{default as CStepsWheel}from"./steps-wheel/index.js";import S from"./editor/index.js";export{default as CEditor}from"./editor/index.js";import g from"./form-render/index.js";export{default as CFormRender}from"./form-render/index.js";import F from"./fabric-chart/index.js";export{default as CFabricChart}from"./fabric-chart/index.js";import T from"./shortcut-provider/index.js";export{default as CShortcutProvider}from"./shortcut-provider/index.js";import v from"./shortcut-setter/index.js";export{default as CShortcutSetter}from"./shortcut-setter/index.js";import y from"./form-config/index.js";export{default as CFormConfig}from"./form-config/index.js";import P from"./iho-table/index.js";export{default as CIhoTable,useIhoTablePresetPlugins}from"./iho-table/index.js";import D from"./keyboard/index.js";export{default as CKeyboard}from"./keyboard/index.js";import R from"./search-cascader/index.js";export{default as CSearchCascader}from"./search-cascader/index.js";import A from"./recommend-search/index.js";export{default as CRecommendSearch}from"./recommend-search/index.js";import E from"./date-picker/index.js";export{default as CDatePicker}from"./date-picker/index.js";import w from"./time-picker/index.js";export{default as CTimePicker}from"./time-picker/index.js";import L from"./config-provider/index.js";export{default as CConfigProvider}from"./config-provider/index.js";import B from"./picture-clipper/index.js";export{default as CPictureClipper}from"./picture-clipper/index.js";import I from"./table-export-field/index.js";export{default as CTableExportField}from"./table-export-field/index.js";import O from"./expand-field/index.js";export{default as CExpandField}from"./expand-field/index.js";import V from"./multi-chat/index.js";export{default as CMultiChat}from"./multi-chat/index.js";import H from"./callback/index.js";export{default as CCallback}from"./callback/index.js";import K from"./slider-tree/index.js";export{default as CSliderTree}from"./slider-tree/index.js";import M from"./body-select/index.js";export{default as CBodySelect}from"./body-select/index.js";export{default as CInsuranceSDK}from"./card-reader-sdk/src/insuranceSDK.js";export{default as CCardReaderSDK}from"./card-reader-sdk/src/cardReaderSDK.js";export{formatDateRangeInfo,presetValToDateRangestr,presetValToTimestamp}from"./table-filter/src/components/render-widget/helpers/presetValToTimestamp.js";export{DatePresetValEnums,DateRangeInnerValEnums,DateRangeOutDefEnums}from"./table-filter/src/components/render-widget/enums.js";export{useTheme}from"../shared/hooks/useTheme.js";export{useDateTime}from"../shared/hooks/useDateTime.js";export{AsyncQueue,ENTRY_STATE}from"../shared/hooks/useAsyncQueue/index.js";export{presetRequestHandler,useFormAsyncQueue,useFormRequest}from"../shared/hooks/useFormRequest/index.js";export{useLevelSearchCascader}from"../shared/hooks/useLevelSearchCascader.js";export{useSelectAllowModify}from"../shared/hooks/selectHooks/useSelectAllowModify.js";export{useOptionFiltered}from"../shared/hooks/selectHooks/useOptionFiltered.js";export{searchContentMatcher,useSearchContent}from"../shared/hooks/selectHooks/useSearchContent.js";export{useSelectRenders}from"../shared/hooks/selectHooks/useSelectRenders.js";export{useVersion}from"../shared/hooks/useVersion.js";export{vFlexibleResize}from"../shared/directive/flexibleResize.js";export{useGuide}from"./guide/src/useGuide.js";export{default as CChatSDK}from"./chat-sdk/src/chatSDK.js";export{useAnchor}from"./form-render/src/hooks/useAnchor.js";export{useAutoHidden}from"./form-render/src/hooks/useAutoHidden.js";export{BusinessCollector,useBusinessBinding}from"./form-render/src/hooks/useBusinessBinding.js";export{ContextCollector,useChangeContext}from"./form-render/src/hooks/useChangeContext.js";export{useCommonInjection,useSelectOptionProps}from"./form-render/src/hooks/useCommonInjection.js";export{useCommonLog}from"./form-render/src/hooks/useCommonLog.js";export{useComplexOptions,useComplexOptionsSpan}from"./form-render/src/hooks/useComplexOptions.js";export{useFieldListAdaptor}from"./form-render/src/hooks/useFieldListAdaptor.js";export{useFieldNormalize}from"./form-render/src/hooks/useFieldNormalize.js";export{useFieldVisitor}from"./form-render/src/hooks/useFieldVisitor.js";export{useFormContext}from"./form-render/src/hooks/useFormContext.js";export{useFormDomEvent,useFormExposeEvent}from"./form-render/src/hooks/useFormEvent.js";export{useFormField}from"./form-render/src/hooks/useFormField.js";export{useFormGraph}from"./form-render/src/hooks/useFormGraph.js";export{FormItemDepsCollector,useFormItemDeps}from"./form-render/src/hooks/useFormItemDeps.js";export{useFormRenderLifeCycle}from"./form-render/src/hooks/useFormRenderLifeCycle.js";export{useAutographOptions,useRecommendOptions,useUrlConfigOptions}from"./form-render/src/hooks/useFormRenderOptions.js";export{useFormValidator,validateMessageLocale}from"./form-render/src/hooks/useFormValidator.js";export{useLowCodeEvent}from"./form-render/src/hooks/useLowCodeEvent.js";export{useLowCodeReactions}from"./form-render/src/hooks/useLowCodeReactions.js";export{useNuiThemeOverrides}from"./form-render/src/hooks/useNuiThemeOverrides.js";export{useOperationalForm}from"./form-render/src/hooks/useOperationalForm.js";export{usePresetScope}from"./form-render/src/hooks/usePresetScope.js";export{useWordbookSetting,wordbookSettingHandler}from"./form-render/src/hooks/useWordbookSetting.js";export{businessDateParser,isIdCard,isMobile,parseAge2Birthday,parseAgeFromContext,parseBirthday,parseIdCard,transformDateFormat}from"./form-render/src/utils/business.js";export{findNextWidget,queryDecoratorByAddress,queryDecoratorByFieldKey,queryInput}from"./form-render/src/utils/dom.js";export{assignClearBindVisited,assignUpdateValue,assignValueBindKey,createLinebarId,createObjSchema,createVisitedSetter,dotEscape,fieldKeyEscape,getParentLinebar,traverseDependKey,traverseSchema}from"./form-render/src/utils/schema.js";export{combineExtendKey,createInputSlot,createSlot,createUrlConfigParams,formRenderLog,injectOrProvide,isNestedFieldType,isNestedType,mergeDeepProperties,parseNumberFromMaybeString,renderDescOption,splitExtendKey,validateMessageParser}from"./form-render/src/utils/index.js";export{GlobalShortcutProvider,ShortcutManager,useShortcuts}from"./shortcut-provider/src/hooks/useShortcuts.js";export{useShortcutSignature}from"./shortcut-provider/src/hooks/useShortcutSignature.js";export{defineTablePlugin,useTablePlugin}from"./iho-table/src/hooks/useTablePlugin.js";export{useColumnConfigAdaptor}from"./iho-table/src/hooks/useColumnConfigAdaptor.js";export{AbstractConfigHooks,AbstractDataHooks,AbstractDomInsertHooks,AbstractEventHooks,AbstractExposeHooks,AbstractFieldHooks,AbstractSetupHooks}from"./iho-table/src/types/pluginType.js";export{Print}from"./button-print/src/utils/print.js";export{getFileUrl,isIReport,useBrowserPrint}from"./button-print/src/utils/browserPrint.js";export{transformOriginToTree}from"./slider-tree/src/utils/index.js";const N={CGrid:e,CBigTable:r,CFieldSet:o,CButtonPrint:s,CSelectPerson:t,CSelectLabel:i,CLabelFormContent:a,CScaleView:m,CMap:d,CVodChunkUpload:n,CRadio:f,CCheckbox:p,CSelect:l,CDatetime:c,CInfoHeader:u,CTimeLine:x,CBaseSearch:C,CQuickSearch:h,CClassification:j,CBpmnWorkflow:k,CStepsWheel:b,CEditor:S,CFormRender:g,CFabricChart:F,CShortcutProvider:T,CShortcutSetter:v,CFormConfig:y,CIhoTable:P,CKeyboard:D,CSearchCascader:R,CRecommendSearch:A,CDatePicker:E,CTimePicker:w,CConfigProvider:L,CPictureClipper:B,CTableExportField:I,CExpandField:O,CMultiChat:V,CCallback:H,CSliderTree:K,CBodySelect:M};var q={install:function(e){Object.values(N).forEach((r=>{r.install(e)}))},...N};export{q as default};
|
|
@@ -154,11 +154,11 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
154
154
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
155
155
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
156
156
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
157
|
-
lowCodeReactions: import("../../../es/shared/types").
|
|
157
|
+
lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
158
158
|
linebarAutoHidden: boolean;
|
|
159
159
|
bordered: string | boolean;
|
|
160
160
|
uniqueCacheData: boolean;
|
|
161
|
-
operationalForm: import("../../../es/shared/types").
|
|
161
|
+
operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
162
162
|
outBordered: boolean;
|
|
163
163
|
forceClearable: boolean;
|
|
164
164
|
}>>>;
|
|
@@ -319,11 +319,11 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
319
319
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
320
320
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
321
321
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
322
|
-
lowCodeReactions: import("../../../es/shared/types").
|
|
322
|
+
lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
323
323
|
linebarAutoHidden: boolean;
|
|
324
324
|
bordered: string | boolean;
|
|
325
325
|
uniqueCacheData: boolean;
|
|
326
|
-
operationalForm: import("../../../es/shared/types").
|
|
326
|
+
operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
327
327
|
outBordered: boolean;
|
|
328
328
|
forceClearable: boolean;
|
|
329
329
|
}>>>;
|
|
@@ -491,11 +491,11 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
491
491
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
492
492
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
493
493
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
494
|
-
lowCodeReactions: import("../../../es/shared/types").
|
|
494
|
+
lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
495
495
|
linebarAutoHidden: boolean;
|
|
496
496
|
bordered: string | boolean;
|
|
497
497
|
uniqueCacheData: boolean;
|
|
498
|
-
operationalForm: import("../../../es/shared/types").
|
|
498
|
+
operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
499
499
|
outBordered: boolean;
|
|
500
500
|
forceClearable: boolean;
|
|
501
501
|
}>>;
|
|
@@ -736,11 +736,11 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
736
736
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
737
737
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
738
738
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
739
|
-
lowCodeReactions: import("../../../es/shared/types").
|
|
739
|
+
lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
740
740
|
linebarAutoHidden: boolean;
|
|
741
741
|
bordered: string | boolean;
|
|
742
742
|
uniqueCacheData: boolean;
|
|
743
|
-
operationalForm: import("../../../es/shared/types").
|
|
743
|
+
operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
744
744
|
outBordered: boolean;
|
|
745
745
|
forceClearable: boolean;
|
|
746
746
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
@@ -2719,10 +2719,13 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2719
2719
|
default: boolean;
|
|
2720
2720
|
};
|
|
2721
2721
|
lowCodeReactions: {
|
|
2722
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
2722
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
2723
2723
|
};
|
|
2724
2724
|
operationalForm: {
|
|
2725
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
2725
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
2726
|
+
};
|
|
2727
|
+
dateOperationalForm: {
|
|
2728
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2726
2729
|
};
|
|
2727
2730
|
linebarAutoHidden: {
|
|
2728
2731
|
type: BooleanConstructor;
|
|
@@ -2868,10 +2871,13 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2868
2871
|
default: boolean;
|
|
2869
2872
|
};
|
|
2870
2873
|
lowCodeReactions: {
|
|
2871
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
2874
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
2872
2875
|
};
|
|
2873
2876
|
operationalForm: {
|
|
2874
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
2877
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
2878
|
+
};
|
|
2879
|
+
dateOperationalForm: {
|
|
2880
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
2875
2881
|
};
|
|
2876
2882
|
linebarAutoHidden: {
|
|
2877
2883
|
type: BooleanConstructor;
|
|
@@ -2953,12 +2959,9 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2953
2959
|
}>;
|
|
2954
2960
|
lowCodeReactionsHandler: (field: string) => void;
|
|
2955
2961
|
triggerAllReactionsHandler: () => void;
|
|
2956
|
-
operationalFormHandler: (
|
|
2962
|
+
operationalFormHandler: (fieldKey: string) => void;
|
|
2957
2963
|
triggerAllOperationalFormHandler: () => void;
|
|
2958
|
-
wordbookSettingHandler:
|
|
2959
|
-
trigger: (fieldKey: string, value: unknown) => void;
|
|
2960
|
-
setDisabled: (value: boolean) => void;
|
|
2961
|
-
};
|
|
2964
|
+
wordbookSettingHandler: import("..").wordbookSettingHandler;
|
|
2962
2965
|
schemaAdaptor: (fieldList: import("..").FieldItem[], options?: Partial<{
|
|
2963
2966
|
fieldList: import("..").FieldItem[];
|
|
2964
2967
|
initialData: import("../../../es/shared/types").AnyObject;
|
|
@@ -3042,11 +3045,11 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3042
3045
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
3043
3046
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
3044
3047
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
3045
|
-
lowCodeReactions: import("../../../es/shared/types").
|
|
3048
|
+
lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
3046
3049
|
linebarAutoHidden: boolean;
|
|
3047
3050
|
bordered: string | boolean;
|
|
3048
3051
|
uniqueCacheData: boolean;
|
|
3049
|
-
operationalForm: import("../../../es/shared/types").
|
|
3052
|
+
operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
3050
3053
|
outBordered: boolean;
|
|
3051
3054
|
forceClearable: boolean;
|
|
3052
3055
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
@@ -3171,7 +3174,13 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3171
3174
|
force?: boolean | undefined;
|
|
3172
3175
|
}): Promise<void>;
|
|
3173
3176
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
3174
|
-
setFormValues(values: import("../../../es/shared/types").AnyObject,
|
|
3177
|
+
setFormValues(values: import("../../../es/shared/types").AnyObject, options?: boolean | {
|
|
3178
|
+
needSplitExtendKey?: boolean | undefined;
|
|
3179
|
+
avoidBusinessConnection?: string | boolean | undefined;
|
|
3180
|
+
avoidDependKeyConnection?: string | boolean | undefined;
|
|
3181
|
+
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
3182
|
+
overwrite?: boolean | undefined;
|
|
3183
|
+
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
3175
3184
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
3176
3185
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
3177
3186
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -3460,10 +3469,13 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3460
3469
|
default: boolean;
|
|
3461
3470
|
};
|
|
3462
3471
|
lowCodeReactions: {
|
|
3463
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
3472
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
3464
3473
|
};
|
|
3465
3474
|
operationalForm: {
|
|
3466
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
3475
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
3476
|
+
};
|
|
3477
|
+
dateOperationalForm: {
|
|
3478
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
3467
3479
|
};
|
|
3468
3480
|
linebarAutoHidden: {
|
|
3469
3481
|
type: BooleanConstructor;
|
|
@@ -3750,10 +3762,13 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3750
3762
|
default: boolean;
|
|
3751
3763
|
};
|
|
3752
3764
|
lowCodeReactions: {
|
|
3753
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
3765
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
3754
3766
|
};
|
|
3755
3767
|
operationalForm: {
|
|
3756
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
3768
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
3769
|
+
};
|
|
3770
|
+
dateOperationalForm: {
|
|
3771
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
3757
3772
|
};
|
|
3758
3773
|
linebarAutoHidden: {
|
|
3759
3774
|
type: BooleanConstructor;
|
|
@@ -3899,10 +3914,13 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3899
3914
|
default: boolean;
|
|
3900
3915
|
};
|
|
3901
3916
|
lowCodeReactions: {
|
|
3902
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
3917
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
3903
3918
|
};
|
|
3904
3919
|
operationalForm: {
|
|
3905
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
3920
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
3921
|
+
};
|
|
3922
|
+
dateOperationalForm: {
|
|
3923
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
3906
3924
|
};
|
|
3907
3925
|
linebarAutoHidden: {
|
|
3908
3926
|
type: BooleanConstructor;
|
|
@@ -3984,12 +4002,9 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3984
4002
|
}>;
|
|
3985
4003
|
lowCodeReactionsHandler: (field: string) => void;
|
|
3986
4004
|
triggerAllReactionsHandler: () => void;
|
|
3987
|
-
operationalFormHandler: (
|
|
4005
|
+
operationalFormHandler: (fieldKey: string) => void;
|
|
3988
4006
|
triggerAllOperationalFormHandler: () => void;
|
|
3989
|
-
wordbookSettingHandler:
|
|
3990
|
-
trigger: (fieldKey: string, value: unknown) => void;
|
|
3991
|
-
setDisabled: (value: boolean) => void;
|
|
3992
|
-
};
|
|
4007
|
+
wordbookSettingHandler: import("..").wordbookSettingHandler;
|
|
3993
4008
|
schemaAdaptor: (fieldList: import("..").FieldItem[], options?: Partial<{
|
|
3994
4009
|
fieldList: import("..").FieldItem[];
|
|
3995
4010
|
initialData: import("../../../es/shared/types").AnyObject;
|
|
@@ -4073,11 +4088,11 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4073
4088
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
4074
4089
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
4075
4090
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
4076
|
-
lowCodeReactions: import("../../../es/shared/types").
|
|
4091
|
+
lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
4077
4092
|
linebarAutoHidden: boolean;
|
|
4078
4093
|
bordered: string | boolean;
|
|
4079
4094
|
uniqueCacheData: boolean;
|
|
4080
|
-
operationalForm: import("../../../es/shared/types").
|
|
4095
|
+
operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
4081
4096
|
outBordered: boolean;
|
|
4082
4097
|
forceClearable: boolean;
|
|
4083
4098
|
}>) => Record<string, import("@formily/json-schema").Stringify<{
|
|
@@ -4202,7 +4217,13 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4202
4217
|
force?: boolean | undefined;
|
|
4203
4218
|
}): Promise<void>;
|
|
4204
4219
|
getFormValues(needCombineExtendKey?: boolean): any;
|
|
4205
|
-
setFormValues(values: import("../../../es/shared/types").AnyObject,
|
|
4220
|
+
setFormValues(values: import("../../../es/shared/types").AnyObject, options?: boolean | {
|
|
4221
|
+
needSplitExtendKey?: boolean | undefined;
|
|
4222
|
+
avoidBusinessConnection?: string | boolean | undefined;
|
|
4223
|
+
avoidDependKeyConnection?: string | boolean | undefined;
|
|
4224
|
+
avoidWordbookSettingConnection?: string | boolean | undefined;
|
|
4225
|
+
overwrite?: boolean | undefined;
|
|
4226
|
+
}, avoidBusinessConnection?: string | boolean, overwrite?: boolean): Promise<void>;
|
|
4206
4227
|
setFieldState(path: string, setter: (field: Partial<Pick<import("@formily/core").Field<any, any, any, any>, import("@formily/core").NonFunctionPropertyNames<{
|
|
4207
4228
|
match: (pattern: import("@formily/path").Pattern) => boolean;
|
|
4208
4229
|
validate: (triggerType?: import("@formily/validator").ValidatorTriggerType | undefined) => any;
|
|
@@ -4491,10 +4512,13 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4491
4512
|
default: boolean;
|
|
4492
4513
|
};
|
|
4493
4514
|
lowCodeReactions: {
|
|
4494
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
4515
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.reactionsConfig[]>;
|
|
4495
4516
|
};
|
|
4496
4517
|
operationalForm: {
|
|
4497
|
-
type: import("vue").PropType<import("../../../es/shared/types").
|
|
4518
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.operationalConfig[]>;
|
|
4519
|
+
};
|
|
4520
|
+
dateOperationalForm: {
|
|
4521
|
+
type: import("vue").PropType<import("../../../es/shared/types").LowCodeTypes.dateOperationalConfig[]>;
|
|
4498
4522
|
};
|
|
4499
4523
|
linebarAutoHidden: {
|
|
4500
4524
|
type: BooleanConstructor;
|
|
@@ -4701,11 +4725,11 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4701
4725
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
4702
4726
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
4703
4727
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
4704
|
-
lowCodeReactions: import("../../../es/shared/types").
|
|
4728
|
+
lowCodeReactions: import("../../../es/shared/types").LowCodeTypes.reactionsConfig[];
|
|
4705
4729
|
linebarAutoHidden: boolean;
|
|
4706
4730
|
bordered: string | boolean;
|
|
4707
4731
|
uniqueCacheData: boolean;
|
|
4708
|
-
operationalForm: import("../../../es/shared/types").
|
|
4732
|
+
operationalForm: import("../../../es/shared/types").LowCodeTypes.operationalConfig[];
|
|
4709
4733
|
outBordered: boolean;
|
|
4710
4734
|
forceClearable: boolean;
|
|
4711
4735
|
}>>>;
|