cnhis-design-vue 3.2.5-release.1 → 3.2.5-release.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  2. package/es/components/callback/src/components/render/popupMaps.d.ts +1 -0
  3. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  4. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +1 -0
  5. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  6. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  7. package/es/components/form-config/index.d.ts +2 -0
  8. package/es/components/form-config/src/FormConfig.vue.d.ts +2 -0
  9. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -0
  10. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +1 -0
  11. package/es/components/form-render/index.d.ts +1 -0
  12. package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
  13. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -0
  14. package/es/components/form-render/src/hooks/useAnchor.d.ts +1 -0
  15. package/es/components/form-render/src/hooks/useAnchor.js +1 -1
  16. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  17. package/es/components/iho-table/src/plugins/pagerScrollPlugin/index.js +1 -1
  18. package/es/components/iho-table/src/plugins/stickyFixedPlugin.js +1 -1
  19. package/es/components/iho-table/style/index.css +1 -1
  20. package/es/components/index.css +1 -1
  21. package/es/components/info-header/index.d.ts +2 -0
  22. package/es/components/info-header/src/InfoHeader.vue.d.ts +2 -0
  23. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +1 -0
  24. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -0
  25. package/es/components/scale-view/index.d.ts +4 -4
  26. package/es/components/scale-view/src/components/formitem/r-address.js +1 -1
  27. package/es/components/scale-view/src/components/formitem/r-input.js +1 -1
  28. package/es/components/scale-view/src/components/formitem/r-select.d.ts +4 -4
  29. package/es/components/scale-view/src/components/formitem/r-select.js +1 -1
  30. package/es/components/scale-view/src/hooks/scaleview-init.js +1 -1
  31. package/es/components/scale-view/src/hooks/use-component.d.ts +8 -8
  32. package/es/components/shortcut-setter/index.d.ts +1 -0
  33. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
  34. package/es/shared/package.json.js +1 -1
  35. package/package.json +2 -2
@@ -3104,6 +3104,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
3104
3104
  anchorIdList: import("vue").Ref<{
3105
3105
  name: string;
3106
3106
  title: string;
3107
+ index: number;
3107
3108
  }[]>;
3108
3109
  onScroll: (scrollEvent: Event) => void;
3109
3110
  callLifeCycle: <T extends "onSetup" | "beforeSetValue" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
@@ -4185,6 +4186,7 @@ declare const InfoHeader: SFCWithInstall<import("vue").DefineComponent<{
4185
4186
  anchorIdList: import("vue").Ref<{
4186
4187
  name: string;
4187
4188
  title: string;
4189
+ index: number;
4188
4190
  }[]>;
4189
4191
  onScroll: (scrollEvent: Event) => void;
4190
4192
  callLifeCycle: <T extends "onSetup" | "beforeSetValue" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
@@ -3099,6 +3099,7 @@ declare const _default: import("vue").DefineComponent<{
3099
3099
  anchorIdList: import("vue").Ref<{
3100
3100
  name: string;
3101
3101
  title: string;
3102
+ index: number;
3102
3103
  }[]>;
3103
3104
  onScroll: (scrollEvent: Event) => void;
3104
3105
  callLifeCycle: <T extends "onSetup" | "beforeSetValue" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
@@ -4180,6 +4181,7 @@ declare const _default: import("vue").DefineComponent<{
4180
4181
  anchorIdList: import("vue").Ref<{
4181
4182
  name: string;
4182
4183
  title: string;
4184
+ index: number;
4183
4185
  }[]>;
4184
4186
  onScroll: (scrollEvent: Event) => void;
4185
4187
  callLifeCycle: <T extends "onSetup" | "beforeSetValue" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
@@ -2597,6 +2597,7 @@ declare const _default: import("vue").DefineComponent<{
2597
2597
  anchorIdList: import("vue").Ref<{
2598
2598
  name: string;
2599
2599
  title: string;
2600
+ index: number;
2600
2601
  }[]>;
2601
2602
  onScroll: (scrollEvent: Event) => void;
2602
2603
  callLifeCycle: <T extends "onSetup" | "beforeSetValue" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
@@ -471,6 +471,7 @@ declare const _default: import("vue").DefineComponent<{
471
471
  anchorIdList: import("vue").Ref<{
472
472
  name: string;
473
473
  title: string;
474
+ index: number;
474
475
  }[]>;
475
476
  onScroll: (scrollEvent: Event) => void;
476
477
  callLifeCycle: <T extends "onSetup" | "beforeSetValue" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
@@ -1228,11 +1228,11 @@ declare const CCheckbox: SFCWithInstall<import("vue").DefineComponent<{
1228
1228
  declare const CSelect: SFCWithInstall<import("vue").DefineComponent<{
1229
1229
  form: {
1230
1230
  type: ObjectConstructor;
1231
- default: () => void;
1231
+ default: () => {};
1232
1232
  };
1233
1233
  item: {
1234
1234
  type: ObjectConstructor;
1235
- default: () => void;
1235
+ default: () => {};
1236
1236
  };
1237
1237
  isLock: {
1238
1238
  type: BooleanConstructor;
@@ -1253,11 +1253,11 @@ declare const CSelect: SFCWithInstall<import("vue").DefineComponent<{
1253
1253
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1254
1254
  form: {
1255
1255
  type: ObjectConstructor;
1256
- default: () => void;
1256
+ default: () => {};
1257
1257
  };
1258
1258
  item: {
1259
1259
  type: ObjectConstructor;
1260
- default: () => void;
1260
+ default: () => {};
1261
1261
  };
1262
1262
  isLock: {
1263
1263
  type: BooleanConstructor;
@@ -1 +1 @@
1
- import{defineComponent as e,reactive as l,computed as a,createVNode as s,resolveComponent as i}from"vue";import{NSelect as t,NInput as r}from"naive-ui";import u from"./address.js";import"xe-utils";import"moment";import d from"../../../../../shared/utils/vexutilsExpand.js";var n=e({name:"RAddress",components:{NSelect:t,NInput:r},props:{form:{type:Object,default:()=>({})},item:{type:Object,default:()=>({})},isLock:{type:Boolean,default:!1}},emits:["scaleChange"],setup(e,t){const r=l({provinceValue:-1,cityValue:-1,areaValue:-1,province:[{value:-1,label:"省/自治区/直辖市"}],city:[{value:-1,label:"市"}],area:[{value:-1,label:"区/县"}],addressValue:"",allValue:{}}),n=e.item.setting||{addressType:"province-city-district-address"},o=a((()=>{let e={addressType:"province-city-district-address"};return e=d.isJSON(n)?JSON.parse(n):n,e.addressType})),c=a((()=>o.value.includes("province"))),p=a((()=>o.value.includes("city"))),v=a((()=>o.value.includes("district"))),y=a((()=>o.value.includes("address"))),m=e=>e?Object.keys(e).map((l=>({value:l,label:e[l]}))):[],V=()=>{r.area=[{value:-1,label:"区/县"}],r.areaValue=-1;r.allValue.area={key:-1,label:"区/县"}},b=(l,a,s)=>{r.provinceValue=l,r.city=[{value:-1,label:"市"}],r.cityValue=-1,r.allValue.city={key:-1,label:"市"},V(),-1!=l&&1===r.city.length&&r.city.push(...m(u[l]));const i=r.allValue;i.province={key:l,label:null==a?void 0:a.label},i.address=r.addressValue,"no"!=s&&t.emit("scaleChange",i,e.item)},f=(l,a,s)=>{r.cityValue=l,V(),-1!=l&&1===r.area.length&&r.area.push(...m(u[l]));const i=r.allValue;i.city={key:l,label:null==a?void 0:a.label},i.address=r.addressValue,"no"!=s&&t.emit("scaleChange",i,e.item)},h=(l,a,s)=>{r.areaValue=l;r.allValue.area={key:l,label:null==a?void 0:a.label},"no"!=s&&t.emit("scaleChange",r.allValue,e.item)},k=(l,a)=>{r.addressValue=l;r.allValue.address=l,"no"!=a&&t.emit("scaleChange",r.allValue,e.item)};return(()=>{var l,a,s;r.province.push(...m(u[86]));const i=e.form[e.item.val_key];if(d.isEmpty(i))return;const t=(null==(l=i.province)?void 0:l.key)||-1,n=(null==(a=i.city)?void 0:a.key)||-1,o=(null==(s=i.area)?void 0:s.key)||-1;r.addressValue=i.address,r.allValue=JSON.parse(JSON.stringify(i)),b(t,i.province,"no"),f(n,i.city,"no"),h(o,i.area,"no")})(),()=>s("div",{class:"c-scale-address"},[s("div",{class:"field-row"},[c.value&&s(i("n-select"),{value:r.provinceValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.province,"onUpdate:value":b},null),p.value&&s(i("n-select"),{value:r.cityValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.city,"onUpdate:value":f},null),v.value&&s(i("n-select"),{value:r.areaValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.area,"onUpdate:value":h},null)]),y.value&&s(i("n-input"),{value:r.addressValue,placeholder:"请输入",disabled:e.isLock,"onUpdate:value":k},null)])}});export{n as default};
1
+ import{defineComponent as e,reactive as l,computed as a,createVNode as s,resolveComponent as i}from"vue";import{NSelect as t,NInput as r}from"naive-ui";import u from"./address.js";import"xe-utils";import"moment";import d from"../../../../../shared/utils/vexutilsExpand.js";var n=e({name:"RAddress",components:{NSelect:t,NInput:r},props:{form:{type:Object,default:()=>({})},item:{type:Object,default:()=>({})},isLock:{type:Boolean,default:!1}},emits:["scaleChange"],setup(e,t){const r=l({provinceValue:-1,cityValue:-1,areaValue:-1,province:[{value:-1,label:"省/自治区/直辖市"}],city:[{value:-1,label:"市"}],area:[{value:-1,label:"区/县"}],addressValue:"",allValue:{}}),n=e.item.setting||{addressType:"province-city-district-address"},o=a((()=>{let e={addressType:"province-city-district-address"};return e=d.isJSON(n)?JSON.parse(n):n,e.addressType})),c=a((()=>o.value.includes("province"))),p=a((()=>o.value.includes("city"))),v=a((()=>o.value.includes("district"))),y=a((()=>o.value.includes("address"))),m=e=>e?Object.keys(e).map((l=>({value:l,label:e[l]}))):[],V=()=>{r.area=[{value:-1,label:"区/县"}],r.areaValue=-1;r.allValue.area={key:-1,label:"区/县"}},b=(l,a,s)=>{r.provinceValue=l,r.city=[{value:-1,label:"市"}],r.cityValue=-1,r.allValue.city={key:-1,label:"市"},V(),-1!=l&&1===r.city.length&&r.city.push(...m(u[l]));const i=r.allValue;i.province={key:l,label:null==a?void 0:a.label},i.address=r.addressValue,"no"!=s&&t.emit("scaleChange",i,e.item)},f=(l,a,s)=>{r.cityValue=l,V(),-1!=l&&1===r.area.length&&r.area.push(...m(u[l]));const i=r.allValue;i.city={key:l,label:null==a?void 0:a.label},i.address=r.addressValue,"no"!=s&&t.emit("scaleChange",i,e.item)},h=(l,a,s)=>{r.areaValue=l;r.allValue.area={key:l,label:null==a?void 0:a.label},"no"!=s&&t.emit("scaleChange",r.allValue,e.item)},k=(l,a)=>{r.addressValue=l;r.allValue.address=l,"no"!=a&&t.emit("scaleChange",r.allValue,e.item)};return(()=>{var l,a,s;r.province.push(...m(u[86]));const i=e.form[e.item.val_key];if(d.isEmpty(i))return;const t=(null==(l=i.province)?void 0:l.key)||-1,n=(null==(a=i.city)?void 0:a.key)||-1,o=(null==(s=i.area)?void 0:s.key)||-1;r.addressValue=i.address,r.allValue=JSON.parse(JSON.stringify(i)),b(t,i.province,"no"),f(n,i.city,"no"),h(o,i.area,"no")})(),()=>s("div",{class:"c-scale-address"},[s("div",{class:"field-row"},[c.value&&s(i("n-select"),{value:r.provinceValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.province,"onUpdate:value":b},null),p.value&&s(i("n-select"),{value:r.cityValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.city,"onUpdate:value":f},null),v.value&&s(i("n-select"),{value:r.areaValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.area,"onUpdate:value":h},null)]),y.value&&s(i("n-input"),{value:r.addressValue,clearable:!0,placeholder:"请输入",disabled:e.isLock,"onUpdate:value":k},null)])}});export{n as default};
@@ -1 +1 @@
1
- import{defineComponent as e,computed as t,ref as l,watch as a,createVNode as o}from"vue";import{NInput as u}from"naive-ui";var i=e({name:"RInput",components:{NInput:u},props:{form:{type:Object,default:()=>({})},item:{type:Object,default:()=>({})},isLock:{type:Boolean,default:!1}},emits:["scaleChange"],setup(e,{emit:i}){var n,m,r,v,d,p;let s=null==(n=e.item)?void 0:n.valueType,c=(null==(m=e.item)?void 0:m.type)||"INPUT",f="INPUT"==c||"EVALUATE_INPUT"==c,y=(null==(v=null==(r=e.item)?void 0:r.setting)?void 0:v.inputRow)||1,g=null==(p=null==(d=e.item)?void 0:d.setting)?void 0:p.defaultPlaceHolder;const k=t((()=>y&&"auto"!=y?{minRows:y||1,maxRows:y||1}:{minRows:1})),w=e=>{if(!f)return;let t=e.key;e.returnValue="e"!==t&&"E"!==t&&"+"!==t&&"-"!==t},I=l(e.form[e.item.val_key]);a((()=>e.form[e.item.val_key]),(e=>{I.value=e}),{immediate:!0});const R=t=>{I.value=f&&t&&"number"===s?t.replace(/[^\d.]/gi,""):t,i("scaleChange",I.value,e.item)};return()=>(()=>{let t=f?"textarea":s||"text";return o(u,{value:I.value,type:t,autosize:k.value,placeholder:g,disabled:e.isLock,onKeydown:w,"onUpdate:value":R},null)})()}});export{i as default};
1
+ import{defineComponent as e,computed as t,ref as l,watch as a,createVNode as o}from"vue";import{NInput as u}from"naive-ui";var i=e({name:"RInput",components:{NInput:u},props:{form:{type:Object,default:()=>({})},item:{type:Object,default:()=>({})},isLock:{type:Boolean,default:!1}},emits:["scaleChange"],setup(e,{emit:i}){var n,m,r,s,v,d;const p=null==(n=e.item)?void 0:n.valueType,c=(null==(m=e.item)?void 0:m.type)||"INPUT",f="INPUT"==c||"EVALUATE_INPUT"==c,y=(null==(s=null==(r=e.item)?void 0:r.setting)?void 0:s.inputRow)||1,b=null==(d=null==(v=e.item)?void 0:v.setting)?void 0:d.defaultPlaceHolder,g=t((()=>y&&"auto"!=y?{minRows:y||1,maxRows:y||1}:{minRows:1})),k=e=>{if(!f)return;const t=e.key;e.returnValue="e"!==t&&"E"!==t&&"+"!==t&&"-"!==t},w=l(e.form[e.item.val_key]);a((()=>e.form[e.item.val_key]),(e=>{w.value=e}),{immediate:!0});const I=t=>{w.value=f&&t&&"number"===p?t.replace(/[^\d.]/gi,""):t,i("scaleChange",w.value,e.item)};return()=>(()=>{const t=f?"textarea":p||"text";return o(u,{value:w.value,clearable:!0,type:t,autosize:g.value,placeholder:b,disabled:e.isLock,onKeydown:k,"onUpdate:value":I},null)})()}});export{i as default};
@@ -1,11 +1,11 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  form: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  item: {
7
7
  type: ObjectConstructor;
8
- default: () => void;
8
+ default: () => {};
9
9
  };
10
10
  isLock: {
11
11
  type: BooleanConstructor;
@@ -26,11 +26,11 @@ declare const _default: import("vue").DefineComponent<{
26
26
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
27
  form: {
28
28
  type: ObjectConstructor;
29
- default: () => void;
29
+ default: () => {};
30
30
  };
31
31
  item: {
32
32
  type: ObjectConstructor;
33
- default: () => void;
33
+ default: () => {};
34
34
  };
35
35
  isLock: {
36
36
  type: BooleanConstructor;
@@ -1 +1 @@
1
- import{defineComponent as e,reactive as t,computed as l,watch as i,createVNode as a,resolveComponent as o}from"vue";import{NSelect as n,NEmpty as u}from"naive-ui";import s from"../LoadingCom.vue.js";var r=e({name:"RSelect",components:{NSelect:n,NEmpty:u,LoadingCom:s},props:{form:{type:Object,default:()=>{}},item:{type:Object,default:()=>{}},isLock:{type:Boolean,default:!1},getSelectOptions:{type:Function,default:()=>Promise.resolve([])},getSearchOptions:{type:Function,default:()=>Promise.resolve([])},openType:{type:String,default:""}},emits:["scaleChange"],setup(e,n){const r=t({choiceValue:[],selectParams:{tableType:"TABLE_LIST",pageSize:20,page:1},cloneItem:{},columnName:"",showField:"",curOptions:[],fieldList:[],buttonList:[],fetching:!1});e.openType;const c=l((()=>{var t,l;return!!(null==(l=null==(t=e.item)?void 0:t.setting)?void 0:l.isMultiple)})),p=l((()=>{let{targetSource:t={},options:l=[],optionType:i}=e.item||{};return!(!t.target_id||!l.length&&3!=i)})),m=l((()=>{var t;let{target_id:l,values:i}=(null==(t=e.item)?void 0:t.targetSource)||{};return l&&i?p.value?i||"value":i:"value"})),v=l((()=>{var t;let{target_id:l,showField:i}=(null==(t=e.item)?void 0:t.targetSource)||{};return l&&i?p.value?i||"label":i:"label"})),d=async()=>{const{targetSource:t,type:l,options:i=[],optionType:a=1}=r.cloneItem;if(r.showField="label",null==t?void 0:t.target_id)if(p.value)r.curOptions=(e=>e&&e.length?e.map((e=>("cascadeData"in e&&Object.assign(e,{...e.cascadeData}),m.value in e||(e[m.value]=e.value||e.label),v.value in e||(e[v.value]=e.label),e))):[])(i);else try{r.fetching=!0,r.curOptions=await e.getSelectOptions(r.cloneItem),r.fetching=!1,r.columnName=null==t?void 0:t.values,r.showField=(null==t?void 0:t.showField)||(null==t?void 0:t.values)}catch(e){r.fetching=!1}},g=t=>{let l,i={value:"",list:[]};return t&&Array.isArray(t)?(i.value=t,t.length?(t.forEach((e=>{l=f(e),l&&i.list.push(l)})),void n.emit("scaleChange",i,e.item,i)):(i.list=[],void n.emit("scaleChange",i,e.item,i))):(i.value=t,l=f(t),l&&i.list.push(l),void n.emit("scaleChange",i,e.item,i))},f=e=>r.curOptions.find((t=>t.value===e));return i((()=>e.item),(e=>{e&&Object.keys(e).length&&(e=>{var t;r.cloneItem=JSON.parse(JSON.stringify(e));let l=r.cloneItem.options||[];"EVALUATE_SELECT"===e.type&&(l=(null==(t=r.cloneItem.scoreConfigs)?void 0:t.scoreRules)||[]),r.curOptions=l,d()})(e)}),{immediate:!0}),()=>a(o("n-select"),{value:e.form[e.item.val_key],"onUpdate:value":[t=>e.form[e.item.val_key]=t,g],filterable:!0,placeholder:"请选择","value-field":m.value,"label-field":v.value,multiple:c.value,disabled:e.isLock,loading:r.fetching,options:r.curOptions},{empty:()=>r.fetching?a(s,null,null):a(u,null,null)})}});export{r as default};
1
+ import{defineComponent as e,reactive as t,computed as l,watch as i,createVNode as a,resolveComponent as o}from"vue";import{NSelect as n,NEmpty as u}from"naive-ui";import s from"../LoadingCom.vue.js";var r=e({name:"RSelect",components:{NSelect:n,NEmpty:u,LoadingCom:s},props:{form:{type:Object,default:()=>({})},item:{type:Object,default:()=>({})},isLock:{type:Boolean,default:!1},getSelectOptions:{type:Function,default:()=>Promise.resolve([])},getSearchOptions:{type:Function,default:()=>Promise.resolve([])},openType:{type:String,default:""}},emits:["scaleChange"],setup(e,n){const r=t({choiceValue:[],selectParams:{tableType:"TABLE_LIST",pageSize:20,page:1},cloneItem:{},columnName:"",showField:"",curOptions:[],fieldList:[],buttonList:[],fetching:!1});e.openType;const c=l((()=>{var t,l;return!!(null==(l=null==(t=e.item)?void 0:t.setting)?void 0:l.isMultiple)})),p=l((()=>{const{targetSource:t={},options:l=[],optionType:i}=e.item||{};return!(!t.target_id||!l.length&&3!=i)})),m=l((()=>{var t;const{target_id:l,values:i}=(null==(t=e.item)?void 0:t.targetSource)||{};return l&&i?p.value?i||"value":i:"value"})),v=l((()=>{var t;const{target_id:l,showField:i}=(null==(t=e.item)?void 0:t.targetSource)||{};return l&&i?p.value?i||"label":i:"label"})),d=async()=>{const{targetSource:t,type:l,options:i=[],optionType:a=1}=r.cloneItem;if(r.showField="label",null==t?void 0:t.target_id)if(p.value)r.curOptions=(e=>e&&e.length?e.map((e=>("cascadeData"in e&&Object.assign(e,{...e.cascadeData}),m.value in e||(e[m.value]=e.value||e.label),v.value in e||(e[v.value]=e.label),e))):[])(i);else try{r.fetching=!0,r.curOptions=await e.getSelectOptions(r.cloneItem),r.fetching=!1,r.columnName=null==t?void 0:t.values,r.showField=(null==t?void 0:t.showField)||(null==t?void 0:t.values)}catch(e){r.fetching=!1}},g=t=>{const l={value:"",list:[]};let i;return t&&Array.isArray(t)?(l.value=t,t.length?(t.forEach((e=>{i=f(e),i&&l.list.push(i)})),void n.emit("scaleChange",l,e.item,l)):(l.list=[],void n.emit("scaleChange",l,e.item,l))):(l.value=t,i=f(t),i&&l.list.push(i),void n.emit("scaleChange",l,e.item,l))},f=e=>r.curOptions.find((t=>t.value===e));return i((()=>e.item),(e=>{e&&Object.keys(e).length&&(e=>{var t;r.cloneItem=JSON.parse(JSON.stringify(e));let l=r.cloneItem.options||[];"EVALUATE_SELECT"===e.type&&(l=(null==(t=r.cloneItem.scoreConfigs)?void 0:t.scoreRules)||[]),r.curOptions=l,d()})(e)}),{immediate:!0}),()=>a(o("n-select"),{value:e.form[e.item.val_key],"onUpdate:value":[t=>e.form[e.item.val_key]=t,g],filterable:!0,clearable:!0,placeholder:"请选择","value-field":m.value,"label-field":v.value,multiple:c.value,disabled:e.isLock,loading:r.fetching,options:r.curOptions},{empty:()=>r.fetching?a(s,null,null):a(u,null,null)})}});export{r as default};
@@ -1 +1 @@
1
- import{handleQueryParams as e,getQueryVariable as t,formatMap as a}from"../utils/judge-types.js";import i from"./use-noData.js";import"xe-utils";import n from"moment";import s from"../../../../shared/utils/vexutilsExpand.js";import{componentMap as r}from"./use-component.js";import{useEvent as l}from"./use-event.js";import{ScaleViewComputed as o}from"./scaleview-computed.js";import{ScaleViewValidate as u}from"./scaleview-validate.js";import{useDialog as v}from"naive-ui";const c=(c,f,d,p)=>{const m=n(),g=v(),{setNoData:S}=i(),{hasEvaluateResultSetting:E,hasparamsEvaluate:O,hasDefault:y,formKey:C,isImportScale:A}=o(c,f,p),{formatRules:h}=u(c,f,p),{nextLogicEvent:R}=l(c,f),T=e=>{const t=null==e?void 0:e.evaluateStartTime;t&&!s.isValidDate(new Date(t))&&s.isValidDate(new Date(Number(t)))&&(e.evaluateStartTime=Number(t))},N=()=>{var t;if(!E.value)return!!y.value&&("evaluateResultSetting"in f.config||(f.config.evaluateResultSetting={}),(t=>{let a=e();if(O.value&&(a=f.paramsEvaluate),a.evaname&&(t.evaluateName=a.evaname),a.evadesc&&(t.evaluateExplain=a.evadesc),a.evast&&(t.evaluateStartTime=a.evast),a.evadur&&(t.evaluateTime=a.evadur),a.evaan){const e="true"===a.evaan||1==a.evaan;t.evaluateAnswer=e}if(a.evasit&&(t.evaluetaResSituation=!!a.evasit),a.evaztip){const e=1==a.evaan;t.evaluateZeroTip=e}T(t)})(f.config.evaluateResultSetting),f.showEvaluatePage=!0,void(f.showEvaluateCountdownWrap=!0));const{evaluateResultSetting:a={}}=f.config;if(!a||!Object.keys(a).length)return;f.showEvaluateCountdownWrap=!0;const{evaluateStartTime:i}=a,{evaluateName:n}=(null==(t=f.originConfig)?void 0:t.evaluateResultSetting)||{};if(i)return!(!s.isValidDate(new Date(i))&&!n)&&void(f.showEvaluatePage=!0);f.showEvaluatePage=!0},L=(e,t)=>{const a=e.find((e=>t===e.value));return a?a.key:t},b=(e,t)=>{if(["RADIO_BLOCK","CHECKBOX_BLOCK"].includes(t)&&e&&(e&&s.isJSON(e)&&(e=JSON.parse(e)),e.length))return!0},D=t=>{var a,i;if(!t||!t.length)return;const n=e();if((null==c?void 0:c.noBtn)||(null==n?void 0:n.noBtn))return;const r=t.find((e=>"FRONT_ADDRESS"===e.type));if(!r||!Object.keys(r).length)return;let l;if(r.setting&&s.isJSON(r.setting)&&(l=JSON.parse(r.setting)),!l||!Object.keys(l).length)return;if(1==(null==n?void 0:n.redirect)||1==(null==(a=c.params)?void 0:a.redirect)||3==n.isEdit||3==(null==(i=c.params)?void 0:i.isEdit))return;const{frontAddress:o}=l;if(o){const e=window.location.href;let t="?";o.includes("?")&&(t="&");return`${o}${t}redirect_url=${encodeURIComponent(e)}`}},w=e=>{const t=["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"],a={};for(const i in e){const n=e[i];t.includes(i)&&n&&(a[i]=n)}return a},k=t=>{if(!t||!Object.keys(t).length)return;let a=e()||{};O.value&&(a=f.paramsEvaluate);const i={evaluateName:"evaname",evaluateExplain:"evadesc",evaluateStartTime:"evast",evaluateTime:"evadur",evaluateAnswer:"evaan",evaluetaResSituation:"evasit",evaluateZeroTip:"evaztip"},n=["evaluateAnswer","evaluetaResSituation","evaluateZeroTip"];for(const e in t){const s=t[e];if(s&&"evaluateAnswer"!=e&&"string"==typeof s&&s.includes("${")&&"string"==typeof s){const i=s.replace(/\$\{([^}]+)\}/g,((e,t)=>{let i;return t.startsWith("form.")&&(i=a[t.split(".")[1]]),i||""}));t[e]=i}else{let s=a[i[e]];n.includes(e)&&(s="true"===s||1==s),a[i[e]]&&(t[e]=s)}}if(y.value){const e={evaname:"evaluateName",evadesc:"evaluateExplain",evast:"evaluateStartTime",evadur:"evaluateTime",evaan:"evaluateAnswer",evasit:"evaluetaResSituation",evaztip:"evaluateZeroTip"},i=["evaan","evasit","evaztip"];["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"].forEach((n=>{const s=e[n];if(!t[s]){let e=a[n];i.includes(n)&&(e="true"===e||1==e),a[n]&&(t[s]=e)}}))}T(t)},J=e=>{let t=1;return e.map((a=>{const i=C(a);(i||"").replace(/\n/g,""),a.showTitle=a.title,a.val_key=i,a.renderCom=r[a.type],a.isShow=!0,Object.keys(a).forEach((e=>{s.isJSON(a[e])&&"LOCATION"!=a.type&&(a[e]=JSON.parse(a[e]))}));var n;return["LINEBAR","TITLE","PROMPT","IMGCARD","RICH_TEXT"].indexOf(a.type)<0&&!a.hide&&(a.softcode=t++),("SELECT"==(n=a.type)||"RADIO_BLOCK"==n||"CHECKBOX_BLOCK"==n||"SEARCH_CASCADE"==n||"EVALUATE_RADIO_BLOCK"==n||"EVALUATE_CHECKBOX_BLOCK"==n||"EVALUATE_SELECT"==n)&&(((e,t)=>{b(e,t)&&e.forEach(((e,t)=>{"other"!==e.key&&(e.key=t+1),(e.prefix||e.suffix)&&(e.value=e.prefix||e.suffix)}))})(a.options,a.type),"SEARCH_CASCADE"!=a.type&&(a.dbValue?R(a.dbValue,a,e):a.setting.defaultValue&&R(a.setting.defaultValue,a,e))),a})).map((t=>(((e,t)=>{const a=s.isString(t.relationLogic)?JSON.parse(t.relationLogic):t.relationLogic,{condition:i}=a||{};i&&i.length&&(i.forEach((t=>{const a=e.find((e=>e.seq==t.subject_seq));if(!a)return;if(!b(a.options,a.type))return;let i=t.value;Array.isArray(i)?(i=i.map((e=>L(a.options,e))),t.value=i):t.value=L(a.options,i)})),t.relationLogic=a)})(e,t),(e=>{const{nextLogic:t,options:a,type:i}=e||{};if(!t||!b(a,i))return;const{condition:n}=t||{};n&&n.length&&n.forEach((e=>{let t=e.value;Array.isArray(t)?(t=t.map((e=>L(a,e))),e.value=t):e.value=L(a,t)}))})(t),"CHECKBOX_BLOCK"===t.type&&t.dbValue&&!Array.isArray(t.dbValue)&&"customList"===c.type&&(t.dbValue=t.dbValue.split(",").filter((e=>!!e))),t)))},_=e=>{const i={};let r;return e.forEach((e=>{var l;const o=e.val_key,{type:u}=e;let v;switch(v=e.dbValue?e.dbValue:((e,i)=>{var s,r,l,o;if(A.value)return;let u;const{defValType:v,dateType:d}=e.setting||{};if(3==v){const a=null==(r=null==(s=e.setting)?void 0:s.outDefaultValue)?void 0:r.urlKey;if(a){const i=a.split(",");if(i.length>1){const e=i.map((e=>{const a=t(e,f,c.params);return a?decodeURIComponent(a):null})).filter(Boolean);e.length&&(u=e)}else{let a=t(i[0],f,c.params);a&&(a=decodeURIComponent(a),u="CHECKBOX_BLOCK"==e.type?a.split():a)}}}if("DATETIME"===i&&4==v){const t=(null==(l=a[d])?void 0:l.replace("-dd","-DD"))||"yyyy-MM-DD HH:mm:ss",i=m.format(t);u=1==(null==(o=e.setting)?void 0:o.startToStop)?[i,n().endOf("day").format(t)]:i}return u})(e,u),u){case"LOCATION":i[o]=v||"";break;case"SEARCH_CASCADE":case"UPFILE":case"UPPICTURE":i[o]=v||[];break;case"ADDRESS":i[o]=v||"",f.defaultAddress=v||{};break;case"LABEL":{i[o]=v||{};let e=[];s.isObject(v)?e=(null==v?void 0:v.labels)||[]:Array.isArray(v)&&(e=v),f.labelSelectedList=e,f.labelSelectedListObj[o]=e;break}case"TITLE":i[o]=e.title;break;case"IMGCARD":i[o]=(null==(l=e.setting)?void 0:l.imgUrl)||"";break;case"CHECKBOX_BLOCK":v&&!Array.isArray(v)&&"customList"===c.type?i[o]=v.split(",").filter((e=>!!e)):(r=v||e.setting.defaultValue,s.isJSON(r)&&(r=JSON.parse(r)),i[o]=r);break;default:r=v||e.setting.defaultValue,s.isJSON(r)&&(r=JSON.parse(r)),i[o]=r}})),i};return{initForm:e=>{var t;let{list:a=[],map:i={},isFinished:n=!1}=e;const r=D(a);if(r)return void(window.location.href=r);if(i.maxScore&&(f.maxScore=i.maxScore),f.isFinished=n,e.isNotFilled)return f.spinning=!1,f.hasFrontAddress=!1,void S(!0,"未查询到量表填写记录");if(e.isLackCustomer&&g.info({title:"已设置填写次数限制",content:"请在包含用户信息的环境中打开此量表",maskClosable:!1,onPositiveClick(){d("onCloseSetting")}}),f.config=i,"evaluateResultConfig"in i&&s.isJSON(i.evaluateResultConfig)&&(f.config.evaluateResultConfig=JSON.parse(i.evaluateResultConfig)),"evaluateResultSetting"in i&&s.isJSON(i.evaluateResultSetting)&&(f.config.evaluateResultSetting=JSON.parse(i.evaluateResultSetting),(null==(t=f.config)?void 0:t.randomId)&&f.config.evaluateResultSetting&&(f.config.evaluateResultSetting.evaluateName=f.config.name,f.config.evaluateResultSetting.evaluateExplain=f.config.remark)),"otherSetting"in i&&s.isJSON(i.otherSetting)&&(f.config.otherSetting=JSON.parse(i.otherSetting)),f.originConfig=JSON.parse(JSON.stringify(f.config)),c.params&&Object.keys(c.params).length){const e=w(c.params);e&&Object.keys(e).length&&(f.paramsEvaluate=e)}k(f.config.evaluateResultSetting),N(),f.defaultFormArray=JSON.parse(JSON.stringify(a));const l=f.filterArr;a=a.filter((e=>!l.includes(e.type))),f.formArray=J(a||[]),f.form=_(f.formArray),f.rules=h(f.formArray),f.fontSize=e.fontSize,f.spinning=!1,f.hasFrontAddress=!1}}};export{c as ScaleViewInit};
1
+ import{handleQueryParams as e,getQueryVariable as t,formatMap as a}from"../utils/judge-types.js";import i from"./use-noData.js";import"xe-utils";import n from"moment";import s from"../../../../shared/utils/vexutilsExpand.js";import{componentMap as l}from"./use-component.js";import{useEvent as r}from"./use-event.js";import{ScaleViewComputed as o}from"./scaleview-computed.js";import{ScaleViewValidate as u}from"./scaleview-validate.js";import{useDialog as v}from"naive-ui";const c=(c,f,d,p)=>{const m=n(),g=v(),{setNoData:S}=i(),{hasEvaluateResultSetting:E,hasparamsEvaluate:O,hasDefault:y,formKey:C,isImportScale:A}=o(c,f,p),{formatRules:h}=u(c,f,p),{nextLogicEvent:R}=r(c,f),T=e=>{const t=null==e?void 0:e.evaluateStartTime;t&&!s.isValidDate(new Date(t))&&s.isValidDate(new Date(Number(t)))&&(e.evaluateStartTime=Number(t))},L=()=>{var t;if(!E.value)return!!y.value&&("evaluateResultSetting"in f.config||(f.config.evaluateResultSetting={}),(t=>{let a=e();if(O.value&&(a=f.paramsEvaluate),a.evaname&&(t.evaluateName=a.evaname),a.evadesc&&(t.evaluateExplain=a.evadesc),a.evast&&(t.evaluateStartTime=a.evast),a.evadur&&(t.evaluateTime=a.evadur),a.evaan){const e="true"===a.evaan||1==a.evaan;t.evaluateAnswer=e}if(a.evasit&&(t.evaluetaResSituation=!!a.evasit),a.evaztip){const e=1==a.evaan;t.evaluateZeroTip=e}T(t)})(f.config.evaluateResultSetting),f.showEvaluatePage=!0,void(f.showEvaluateCountdownWrap=!0));const{evaluateResultSetting:a={}}=f.config;if(!a||!Object.keys(a).length)return;f.showEvaluateCountdownWrap=!0;const{evaluateStartTime:i}=a,{evaluateName:n}=(null==(t=f.originConfig)?void 0:t.evaluateResultSetting)||{};if(i)return!(!s.isValidDate(new Date(i))&&!n)&&void(f.showEvaluatePage=!0);f.showEvaluatePage=!0},N=(e,t)=>{const a=e.find((e=>t===e.value));return a?a.key:t},b=(e,t)=>{if(["RADIO_BLOCK","CHECKBOX_BLOCK"].includes(t)&&e&&(e&&s.isJSON(e)&&(e=JSON.parse(e)),e.length))return!0},D=t=>{var a,i;if(!t||!t.length)return;const n=e();if((null==c?void 0:c.noBtn)||(null==n?void 0:n.noBtn))return;const l=t.find((e=>"FRONT_ADDRESS"===e.type));if(!l||!Object.keys(l).length)return;let r;if(l.setting&&s.isJSON(l.setting)&&(r=JSON.parse(l.setting)),!r||!Object.keys(r).length)return;if(1==(null==n?void 0:n.redirect)||1==(null==(a=c.params)?void 0:a.redirect)||3==n.isEdit||3==(null==(i=c.params)?void 0:i.isEdit))return;const{frontAddress:o}=r;if(o){const e=window.location.href;let t="?";o.includes("?")&&(t="&");return`${o}${t}redirect_url=${encodeURIComponent(e)}`}},w=e=>{const t=["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"],a={};for(const i in e){const n=e[i];t.includes(i)&&n&&(a[i]=n)}return a},k=t=>{if(!t||!Object.keys(t).length)return;let a=e()||{};O.value&&(a=f.paramsEvaluate);const i={evaluateName:"evaname",evaluateExplain:"evadesc",evaluateStartTime:"evast",evaluateTime:"evadur",evaluateAnswer:"evaan",evaluetaResSituation:"evasit",evaluateZeroTip:"evaztip"},n=["evaluateAnswer","evaluetaResSituation","evaluateZeroTip"];for(const e in t){const s=t[e];if(s&&"evaluateAnswer"!=e&&"string"==typeof s&&s.includes("${")&&"string"==typeof s){const i=s.replace(/\$\{([^}]+)\}/g,((e,t)=>{let i;return t.startsWith("form.")&&(i=a[t.split(".")[1]]),i||""}));t[e]=i}else{let s=a[i[e]];n.includes(e)&&(s="true"===s||1==s),a[i[e]]&&(t[e]=s)}}if(y.value){const e={evaname:"evaluateName",evadesc:"evaluateExplain",evast:"evaluateStartTime",evadur:"evaluateTime",evaan:"evaluateAnswer",evasit:"evaluetaResSituation",evaztip:"evaluateZeroTip"},i=["evaan","evasit","evaztip"];["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"].forEach((n=>{const s=e[n];if(!t[s]){let e=a[n];i.includes(n)&&(e="true"===e||1==e),a[n]&&(t[s]=e)}}))}T(t)},J=e=>{let t=1;return e.map((a=>{const i=C(a);(i||"").replace(/\n/g,""),a.showTitle=a.title,a.val_key=i,a.renderCom=l[a.type],a.isShow=!0,Object.keys(a).forEach((e=>{s.isJSON(a[e])&&"LOCATION"!=a.type&&(a[e]=JSON.parse(a[e]))}));var n;return["LINEBAR","TITLE","PROMPT","IMGCARD","RICH_TEXT"].indexOf(a.type)<0&&!a.hide&&(a.softcode=t++),("SELECT"==(n=a.type)||"RADIO_BLOCK"==n||"CHECKBOX_BLOCK"==n||"SEARCH_CASCADE"==n||"EVALUATE_RADIO_BLOCK"==n||"EVALUATE_CHECKBOX_BLOCK"==n||"EVALUATE_SELECT"==n)&&(((e,t)=>{b(e,t)&&e.forEach(((e,t)=>{"other"!==e.key&&(e.key=t+1),(e.prefix||e.suffix)&&(e.value=e.prefix||e.suffix)}))})(a.options,a.type),"SEARCH_CASCADE"!=a.type&&(a.dbValue?R(a.dbValue,a,e):a.setting.defaultValue&&R(a.setting.defaultValue,a,e))),a})).map((t=>(((e,t)=>{const a=s.isString(t.relationLogic)?JSON.parse(t.relationLogic):t.relationLogic,{condition:i}=a||{};i&&i.length&&(i.forEach((t=>{const a=e.find((e=>e.seq==t.subject_seq));if(!a)return;if(!b(a.options,a.type))return;let i=t.value;Array.isArray(i)?(i=i.map((e=>N(a.options,e))),t.value=i):t.value=N(a.options,i)})),t.relationLogic=a)})(e,t),(e=>{const{nextLogic:t,options:a,type:i}=e||{};if(!t||!b(a,i))return;const{condition:n}=t||{};n&&n.length&&n.forEach((e=>{let t=e.value;Array.isArray(t)?(t=t.map((e=>N(a,e))),e.value=t):e.value=N(a,t)}))})(t),"CHECKBOX_BLOCK"===t.type&&t.dbValue&&!Array.isArray(t.dbValue)&&"customList"===c.type&&(t.dbValue=t.dbValue.split(",").filter((e=>!!e))),t)))},_=e=>{const i={};let l;return e.forEach((e=>{var r;const o=e.val_key,{type:u}=e;let v;switch(v=e.dbValue?e.dbValue:((e,i)=>{var s,l,r,o;if(A.value)return;let u;const{defValType:v,dateType:d}=e.setting||{};if(3==v){const a=null==(l=null==(s=e.setting)?void 0:s.outDefaultValue)?void 0:l.urlKey;if(a){const i=a.split(",");if(i.length>1){const e=i.map((e=>{const a=t(e,f,c.params);return a?decodeURIComponent(a):null})).filter(Boolean);e.length&&(u=e)}else{let a=t(i[0],f,c.params);a&&(a=decodeURIComponent(a),u="CHECKBOX_BLOCK"==e.type?a.split():a)}}}if("DATETIME"===i&&4==v){const t=(null==(r=a[d])?void 0:r.replace("-dd","-DD"))||"yyyy-MM-DD HH:mm:ss",i=m.format(t);u=1==(null==(o=e.setting)?void 0:o.startToStop)?[i,n().endOf("day").format(t)]:i}return u})(e,u),u){case"LOCATION":i[o]=v||"";break;case"SEARCH_CASCADE":case"UPFILE":case"UPPICTURE":i[o]=v||[];break;case"ADDRESS":i[o]=v||"",f.defaultAddress=v||{};break;case"LABEL":{i[o]=v||{};let e=[];s.isObject(v)?e=(null==v?void 0:v.labels)||[]:Array.isArray(v)&&(e=v),f.labelSelectedList=e,f.labelSelectedListObj[o]=e;break}case"TITLE":i[o]=e.title;break;case"IMGCARD":i[o]=(null==(r=e.setting)?void 0:r.imgUrl)||"";break;case"CHECKBOX_BLOCK":v&&!Array.isArray(v)&&"customList"===c.type?i[o]=v.split(",").filter((e=>!!e)):(l=v||e.setting.defaultValue,s.isJSON(l)&&(l=JSON.parse(l)),i[o]=l);break;default:l=v||e.setting.defaultValue,s.isJSON(l)&&(l=JSON.parse(l)),u.includes("SELECT")&&!l&&(l=null),i[o]=l}})),i};return{initForm:e=>{var t;let{list:a=[],map:i={},isFinished:n=!1}=e;const l=D(a);if(l)return void(window.location.href=l);if(i.maxScore&&(f.maxScore=i.maxScore),f.isFinished=n,e.isNotFilled)return f.spinning=!1,f.hasFrontAddress=!1,void S(!0,"未查询到量表填写记录");if(e.isLackCustomer&&g.info({title:"已设置填写次数限制",content:"请在包含用户信息的环境中打开此量表",maskClosable:!1,onPositiveClick(){d("onCloseSetting")}}),f.config=i,"evaluateResultConfig"in i&&s.isJSON(i.evaluateResultConfig)&&(f.config.evaluateResultConfig=JSON.parse(i.evaluateResultConfig)),"evaluateResultSetting"in i&&s.isJSON(i.evaluateResultSetting)&&(f.config.evaluateResultSetting=JSON.parse(i.evaluateResultSetting),(null==(t=f.config)?void 0:t.randomId)&&f.config.evaluateResultSetting&&(f.config.evaluateResultSetting.evaluateName=f.config.name,f.config.evaluateResultSetting.evaluateExplain=f.config.remark)),"otherSetting"in i&&s.isJSON(i.otherSetting)&&(f.config.otherSetting=JSON.parse(i.otherSetting)),f.originConfig=JSON.parse(JSON.stringify(f.config)),c.params&&Object.keys(c.params).length){const e=w(c.params);e&&Object.keys(e).length&&(f.paramsEvaluate=e)}k(f.config.evaluateResultSetting),L(),f.defaultFormArray=JSON.parse(JSON.stringify(a));const r=f.filterArr;a=a.filter((e=>!r.includes(e.type))),f.formArray=J(a||[]),f.form=_(f.formArray),f.rules=h(f.formArray),f.fontSize=e.fontSize,f.spinning=!1,f.hasFrontAddress=!1}}};export{c as ScaleViewInit};
@@ -148,11 +148,11 @@ export declare const componentMap: {
148
148
  SELECT: import("vue").ShallowRef<import("vue").DefineComponent<{
149
149
  form: {
150
150
  type: ObjectConstructor;
151
- default: () => void;
151
+ default: () => {};
152
152
  };
153
153
  item: {
154
154
  type: ObjectConstructor;
155
- default: () => void;
155
+ default: () => {};
156
156
  };
157
157
  isLock: {
158
158
  type: BooleanConstructor;
@@ -173,11 +173,11 @@ export declare const componentMap: {
173
173
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
174
174
  form: {
175
175
  type: ObjectConstructor;
176
- default: () => void;
176
+ default: () => {};
177
177
  };
178
178
  item: {
179
179
  type: ObjectConstructor;
180
- default: () => void;
180
+ default: () => {};
181
181
  };
182
182
  isLock: {
183
183
  type: BooleanConstructor;
@@ -1913,11 +1913,11 @@ export declare const componentMap: {
1913
1913
  EVALUATE_SELECT: import("vue").ShallowRef<import("vue").DefineComponent<{
1914
1914
  form: {
1915
1915
  type: ObjectConstructor;
1916
- default: () => void;
1916
+ default: () => {};
1917
1917
  };
1918
1918
  item: {
1919
1919
  type: ObjectConstructor;
1920
- default: () => void;
1920
+ default: () => {};
1921
1921
  };
1922
1922
  isLock: {
1923
1923
  type: BooleanConstructor;
@@ -1938,11 +1938,11 @@ export declare const componentMap: {
1938
1938
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1939
1939
  form: {
1940
1940
  type: ObjectConstructor;
1941
- default: () => void;
1941
+ default: () => {};
1942
1942
  };
1943
1943
  item: {
1944
1944
  type: ObjectConstructor;
1945
- default: () => void;
1945
+ default: () => {};
1946
1946
  };
1947
1947
  isLock: {
1948
1948
  type: BooleanConstructor;
@@ -2205,6 +2205,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2205
2205
  anchorIdList: import("vue").Ref<{
2206
2206
  name: string;
2207
2207
  title: string;
2208
+ index: number;
2208
2209
  }[]>;
2209
2210
  onScroll: (scrollEvent: Event) => void;
2210
2211
  callLifeCycle: <T extends "onSetup" | "beforeSetValue" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
@@ -2208,6 +2208,7 @@ declare const _default: import("vue").DefineComponent<{
2208
2208
  anchorIdList: import("vue").Ref<{
2209
2209
  name: string;
2210
2210
  title: string;
2211
+ index: number;
2211
2212
  }[]>;
2212
2213
  onScroll: (scrollEvent: Event) => void;
2213
2214
  callLifeCycle: <T extends "onSetup" | "beforeSetValue" | "beforeRequest" | "afterRequest" | "afterOptionInit">(lifeCycleName: T, payload?: Parameters<Required<Partial<{
@@ -1 +1 @@
1
- var e="@cnhis-design-vue/shared",s="3.2.5-release.1",i="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.2.5-release.1",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,i as main,e as name,n as peerDependencies,s as version};
1
+ var e="@cnhis-design-vue/shared",s="3.2.5-release.2",i="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.2.5-release.2",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,i as main,e as name,n as peerDependencies,s as version};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.2.5-release.1",
3
+ "version": "3.2.5-release.2",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -71,5 +71,5 @@
71
71
  "iOS 7",
72
72
  "last 3 iOS versions"
73
73
  ],
74
- "gitHead": "b4b7af90b3eca3b23d8753b1d80a45c707b79cf6"
74
+ "gitHead": "3d03d301e1ee111bd436d14c99c5d2924ad826f4"
75
75
  }