cnhis-design-vue 3.2.6-beta.2 → 3.2.6-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/scale-view/index.d.ts +26 -0
- package/es/components/scale-view/src/ScaleView.vue.d.ts +26 -0
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +8 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -101,6 +101,14 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
101
101
|
extrasmall: number;
|
102
102
|
};
|
103
103
|
};
|
104
|
+
hasExtendBtn: {
|
105
|
+
type: BooleanConstructor;
|
106
|
+
default: boolean;
|
107
|
+
};
|
108
|
+
printingHideBtn: {
|
109
|
+
type: BooleanConstructor;
|
110
|
+
default: boolean;
|
111
|
+
};
|
104
112
|
}, {
|
105
113
|
ScaleViewState: {
|
106
114
|
other: string;
|
@@ -236,6 +244,14 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
236
244
|
extrasmall: number;
|
237
245
|
};
|
238
246
|
};
|
247
|
+
hasExtendBtn: {
|
248
|
+
type: BooleanConstructor;
|
249
|
+
default: boolean;
|
250
|
+
};
|
251
|
+
printingHideBtn: {
|
252
|
+
type: BooleanConstructor;
|
253
|
+
default: boolean;
|
254
|
+
};
|
239
255
|
}>> & {
|
240
256
|
onOnCloseSetting?: ((...args: any[]) => any) | undefined;
|
241
257
|
onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
|
@@ -818,6 +834,14 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
818
834
|
extrasmall: number;
|
819
835
|
};
|
820
836
|
};
|
837
|
+
hasExtendBtn: {
|
838
|
+
type: BooleanConstructor;
|
839
|
+
default: boolean;
|
840
|
+
};
|
841
|
+
printingHideBtn: {
|
842
|
+
type: BooleanConstructor;
|
843
|
+
default: boolean;
|
844
|
+
};
|
821
845
|
}>> & {
|
822
846
|
onOnCloseSetting?: ((...args: any[]) => any) | undefined;
|
823
847
|
onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
|
@@ -846,6 +870,8 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
|
|
846
870
|
ak: string;
|
847
871
|
getChunkUploadConfig: Function;
|
848
872
|
fontSizeObj: Record<string, any>;
|
873
|
+
hasExtendBtn: boolean;
|
874
|
+
printingHideBtn: boolean;
|
849
875
|
}>>;
|
850
876
|
declare const CRadio: SFCWithInstall<import("vue").DefineComponent<{
|
851
877
|
form: {
|
@@ -99,6 +99,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
99
99
|
extrasmall: number;
|
100
100
|
};
|
101
101
|
};
|
102
|
+
hasExtendBtn: {
|
103
|
+
type: BooleanConstructor;
|
104
|
+
default: boolean;
|
105
|
+
};
|
106
|
+
printingHideBtn: {
|
107
|
+
type: BooleanConstructor;
|
108
|
+
default: boolean;
|
109
|
+
};
|
102
110
|
}, {
|
103
111
|
ScaleViewState: {
|
104
112
|
other: string;
|
@@ -234,6 +242,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
234
242
|
extrasmall: number;
|
235
243
|
};
|
236
244
|
};
|
245
|
+
hasExtendBtn: {
|
246
|
+
type: BooleanConstructor;
|
247
|
+
default: boolean;
|
248
|
+
};
|
249
|
+
printingHideBtn: {
|
250
|
+
type: BooleanConstructor;
|
251
|
+
default: boolean;
|
252
|
+
};
|
237
253
|
}>> & {
|
238
254
|
onOnCloseSetting?: ((...args: any[]) => any) | undefined;
|
239
255
|
onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
|
@@ -816,6 +832,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
816
832
|
extrasmall: number;
|
817
833
|
};
|
818
834
|
};
|
835
|
+
hasExtendBtn: {
|
836
|
+
type: BooleanConstructor;
|
837
|
+
default: boolean;
|
838
|
+
};
|
839
|
+
printingHideBtn: {
|
840
|
+
type: BooleanConstructor;
|
841
|
+
default: boolean;
|
842
|
+
};
|
819
843
|
}>> & {
|
820
844
|
onOnCloseSetting?: ((...args: any[]) => any) | undefined;
|
821
845
|
onSubmitNoRequest?: ((...args: any[]) => any) | undefined;
|
@@ -844,5 +868,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
844
868
|
ak: string;
|
845
869
|
getChunkUploadConfig: Function;
|
846
870
|
fontSizeObj: Record<string, any>;
|
871
|
+
hasExtendBtn: boolean;
|
872
|
+
printingHideBtn: boolean;
|
847
873
|
}>;
|
848
874
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w}from"vue";import
|
1
|
+
import{defineComponent as e,reactive as o,ref as t,watch as a,nextTick as n,openBlock as s,createElementBlock as i,normalizeClass as l,unref as r,createCommentVNode as m,Fragment as c,createBlock as u,mergeProps as d,createElementVNode as p,normalizeStyle as v,createVNode as f,withCtx as g,renderList as h,toDisplayString as k,createTextVNode as y,resolveDynamicComponent as w,renderSlot as S}from"vue";import b from"./hooks/use-noData.js";import{ScaleViewProps as C}from"./hooks/scaleview-props.js";import{getScaleViewState as D}from"./hooks/scaleview-state.js";import{ScaleViewComputed as E}from"./hooks/scaleview-computed.js";import{ScaleViewInit as j}from"./hooks/scaleview-init.js";import{ScaleViewSubmit as _}from"./hooks/scaleview-submit.js";import{ScaleViewMethods as x}from"./hooks/scaleview-methods.js";import{handleQueryParams as P,isCollection as q}from"./utils/judge-types.js";import{useEvent as F}from"./hooks/use-event.js";import"xe-utils";import"moment";import L from"../../../shared/utils/vexutilsExpand.js";import N from"./components/NoData.vue.js";import R from"./components/EvaluateCountdown.vue.js";import T from"./components/EvaluatePage.vue.js";import A from"./components/AnswerParse.vue.js";import M from"./components/ScaleScore.js";import O from"./components/DescribeContent.vue.js";import{NForm as I,NFormItem as J,NButton as V}from"naive-ui";const B=["innerHTML"],G={key:0,class:"required-text"},W={key:1,class:"evalute-label"},H=["onClick"],Q=p("i",{class:"scale-view-iconfont icon-scale-view-dengpao"},null,-1),$={key:1,class:"footer"};var z=e({__name:"ScaleView",props:C,emits:["onCloseSetting","submitNoRequest","onSubmit","startWriteScale"],setup(e,{expose:C,emit:z}){const K=e,{ScaleViewState:U}=D(),X=o(U),Y=t(null),Z=t(null),{noDataState:ee,setNoData:oe,resetNodata:te}=b(),ae=P(),{showEvatip:ne,isFormBoldOpen:se,scaleStyle:ie,handlePageClass:le,isShowItem:re,handleShowQuestionNumber:me,hasScore:ce,isPreviewScale:ue,showEvaluateEntry:de,showEvaluateCoundownPage:pe,showSaveBtn:ve,showEvaluateLabel:fe,showAnswerParse:ge,propsConfig:he,evaluatePageProps:ke,evaluateCountdownProps:ye,isEvaluetaResSituation:we,disableEdit:Se,desStart:be,desEnd:Ce,desContent:De}=E(K,X,{query:ae}),{initForm:Ee}=j(K,X,z,{query:ae}),{submitMethod:je,onSubmitData:_e,onSubmitForm:xe,handleScoreJson:Pe}=_(K,X,z,{query:ae,formRef:Z,countdownDom:Y}),{nextLogicEvent:qe,handleDynamicDataRelation:Fe}=F(K,X),{scaleChange:Le,labelChange:Ne,vodFileList:Re,writeGuage:Te,closeEvaluateCountdown:Ae,showEvaTipModal:Me}=x(K,X,z,{nextLogicEvent:qe,handleDynamicDataRelation:Fe,isPreviewScale:ue,submitMethod:je,isEvaluetaResSituation:we,handleScoreJson:Pe,disableEdit:Se});(()=>{let{id:e}=ae;e&&(X.shareId=e)})();const Oe=e=>{try{te(),Ee(e)}catch(e){console.log(e,"--error"),X.spinning=!1,X.hasFrontAddress=!1,oe(!0,null==e?void 0:e.resultMsg,null==e?void 0:e.result)}};a((()=>K.ids),((e,o)=>{o?e.guage_id&&e.guage_id!=o.guage_id&&Oe(e):e.guage_id&&Oe(e)}),{immediate:!0}),a((()=>K.guageData),(e=>{if(!e||!Object.keys(e||{}).length)return;X.form={},X.formArray=[];const o=JSON.parse(JSON.stringify(e));n((()=>{Ee(o)}))}),{immediate:!0});const Ie=L.debounce(_e,300),Je=()=>{z("onCloseSetting")};return C({getScaleData:()=>({...X}),onSubmitForm:xe,cancel:Je}),(e,o)=>(s(),i("div",{class:l(["c-scale-view-block",{"c-scale-view-block-hasfooter":r(ve)}])},[m(' <template v-if="state.spinning">\r\n <n-spin :show="state.spinning" description="加载中"></n-spin>\r\n </template> '),X.spinning||X.hasFrontAddress?m("v-if",!0):(s(),i(c,{key:0},[r(ee).noData?(s(),u(N,{key:0,noDataImg:r(ee).noDataImg,noDataTip:r(ee).noDataTip},null,8,["noDataImg","noDataTip"])):(s(),i(c,{key:1},[r(de)?(s(),u(T,d({key:0},r(ke),{onWriteGuage:r(Te)}),null,16,["onWriteGuage"])):(s(),i(c,{key:1},[r(pe)?(s(),u(R,d({key:0,ref_key:"countdownDom",ref:Y},r(ye),{onCloseEvaluateCountdown:r(Ae)}),null,16,["onCloseEvaluateCountdown"])):m("v-if",!0),p("div",{class:l(["scale-container",{"scale-container-nopadding":r(le),"scale-container-hasfooter":r(ve)}]),style:v(r(ie))},[r(ce)?(s(),u(r(M),{key:0,config:X.config,maxScore:X.maxScore},null,8,["config","maxScore"])):m("v-if",!0),r(be)?(s(),u(O,{key:1,content:r(De)},null,8,["content"])):m("v-if",!0),f(r(I),{ref_key:"formRef",ref:Z,model:X.form,rules:X.rules,"require-mark-placement":"left",class:"main"},{default:g((()=>[(s(!0),i(c,null,h(X.formArray,((e,o)=>(s(),i(c,{key:(e.id||e.seq)+o},[r(re)(e)?(s(),u(r(J),{key:0,path:e.val_key,"show-label":!r(q)(e.type),class:"c-scle-form-item"},{label:g((()=>[p("span",{class:l({"scale-label-required":r(se)(e)}),innerHTML:r(me)(e)},null,10,B),r(se)(e)?(s(),i("span",G,"(必填)")):m("v-if",!0),r(fe)(e)?(s(),i("span",W,k(r(fe)(e)),1)):m("v-if",!0),r(ne)(e)?(s(),i("span",{key:2,class:"evalute-tip",onClick:o=>r(Me)(e)},[Q,y(" 查看提示 ")],8,H)):m("v-if",!0)])),default:g((()=>[(s(),u(w(e.renderCom),d(r(he)(e,o),{key:(e.id||e.seq)+o,onScaleChange:r(Le),onOnChange:o=>r(Ne)(o,e),onVodFileList:r(Re)}),null,16,["onScaleChange","onOnChange","onVodFileList"])),r(ge)(e)?(s(),u(A,{key:0,item:e},null,8,["item"])):m("v-if",!0)])),_:2},1032,["path","show-label"])):m("v-if",!0)],64)))),128))])),_:1},8,["model","rules"]),r(Ce)?(s(),u(O,{key:2,content:r(De)},null,8,["content"])):m("v-if",!0)],6),r(ve)?(s(),i("div",$,[m(" 分享的链接 隐藏取消按钮 "),"guage"!==K.sourceType?(s(),u(r(V),{key:0,onClick:Je},{default:g((()=>[y("取消")])),_:1})):m("v-if",!0),K.isLock?m("v-if",!0):(s(),u(r(V),{key:1,onClick:r(Ie),disabled:X.banSubmit,type:"primary"},{default:g((()=>[y(" 保存 ")])),_:1},8,["onClick","disabled"])),S(e.$slots,"extendBtn")])):m("v-if",!0)],64))],64))],64))],2))}});export{z as default};
|
@@ -1 +1 @@
|
|
1
|
-
import{computed as e}from"vue";import{isEvaluation as t}from"../utils/judge-types.js";import"xe-utils";import a from"moment";import
|
1
|
+
import{computed as e}from"vue";import{isEvaluation as t}from"../utils/judge-types.js";import"xe-utils";import a from"moment";import n from"../../../../shared/utils/vexutilsExpand.js";import{componentMapStr as i}from"./use-component.js";const o=(o,l,r)=>{const{query:s}=r,u=(new Date).getTime(),v=e((()=>{var e,t;return null==(t=null==(e=l.originConfig)?void 0:e.otherSetting)?void 0:t.desLocation})),d=e((()=>{var e,t;return null==(t=null==(e=l.originConfig)?void 0:e.otherSetting)?void 0:t.desContent})),c=e((()=>"start"===v.value&&!!d.value)),m=e((()=>"end"===v.value&&!!d.value)),p=e((()=>{var e;return s.importId||(null==(e=o.params)?void 0:e.importId)})),g=e((()=>1==(null==s?void 0:s.formBoldOpen))),f=e((()=>e=>{var a;return!p.value&&(!!t(e.type)&&(1==(null==s?void 0:s.evatip)||1==(null==(a=o.params)?void 0:a.evatip)))})),h=e((()=>{var e;return(null==(e=l.config)?void 0:e.evaluateResultSetting)||{}})),S=e((()=>{const{evaluateTime:e}=h.value;return+e})),C=e((()=>{var e;return null==(e=h.value)?void 0:e.evaluateStartTime})),E=e((()=>{const e=new Date(C.value);return!!n.isValidDate(e)&&e})),O=e((()=>{const{evaluetaResSituation:e}=h.value||{};return e})),L=e((()=>{const{evaluateZeroTip:e}=h.value||{};return e})),w=e((()=>{if(!C.value||!S.value)return!1;if(!E.value)return!1;const e=a(C.value).add(S.value,"minutes").valueOf();return u>=e})),y=e((()=>{const e=E.value;if(!e)return!1;const t=a(e).valueOf();return u<t})),b=e((()=>e=>{const t=e.required;return o.styleSetting&&Object.keys(o.styleSetting).length&&"formBoldOpen"in o.styleSetting?t&&o.styleSetting.formBoldOpen:t&&g.value})),B=e((()=>{let e=l.fontSize;if(!e||"S"===e)return;e={L:"large",M:"medium",XS:"extrasmall"}[e];const t=e&&(null==o?void 0:o.fontSizeObj[e])||1,a=Math.floor(100/t*1e4)/1e4;return{width:`${a}%`,height:`${a}%`,transform:`scale(${t})`}})),R=e((()=>!("customList"==o.type&&!o.noBtn)&&!(!o.noBtn&&!o.hideBtn))),A=e((()=>e=>ee(e))),T=e((()=>e=>{var a;const{type:n}=e||{},i=!1===(null==(a=l.config)?void 0:a.autoQuestionNumber)?e.showTitle:`${e.softcode}、${e.showTitle}`;if(!t(n))return i;const o=ae(e);return o||L.value?`${i} <span style="color:#2d7aff;" class="score-i">${o}</span>`:i})),k=e((()=>{const{config:e}=l;return!p.value&&(!(!e||!Object.keys(e).length)&&"totalScore"in e)})),j=e((()=>{var e;return(null==(e=o.ids)?void 0:e.guage_id)&&o.noBtn})),_=e((()=>{const e=o.params||{};if(!("skipCover"in e))return!1;return e.skipCover&&!y.value&&!w.value})),U=e((()=>p.value||j.value||l.isFinished||o.noBtn||o.hideBtn)),F=e((()=>l.showEvaluatePage&&l.showEvaluateSettingWrap&&!U.value&&!_.value)),P=e((()=>!k.value&&!F.value&&l.showEvaluateCountdownWrap&&!U.value)),x=e((()=>{const{evaluateResultSetting:e={}}=l.config;return(Object.values(e).filter((e=>{if(e)return!0}))||[]).length})),D=e((()=>l.paramsEvaluate&&Object.keys(l.paramsEvaluate).length)),V=e((()=>{const e=window.location.search||window.location.hash;if(!e)return;const t=["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"].find((t=>e.includes(t)));return l.paramsEvaluate||t})),$=e((()=>{var e;return 1==s.isEdit||1==(null==(e=o.params)?void 0:e.isEdit)||p.value})),I=e((()=>1==l.isFinished&&$.value)),N=e((()=>o.hasExtendBtn?!o.printingHideBtn:x.value||V.value?!o.noBtn&&!o.hideBtn&&(!l.isFinished||$.value):!o.noBtn&&!o.hideBtn)),K=e((()=>x.value||V.value?!!o.hideBtn||!!o.isLock||l.isFinished&&!$.value:!!o.hideBtn||!!o.isLock)),M=e((()=>e=>({EVALUATE_RADIO_BLOCK:"单选",EVALUATE_CHECKBOX_BLOCK:"多选"}[e.type]))),q=e((()=>e=>{var t;if(I.value)return!1;const{evaluateAnswer:i,checkAnswerMode:o,evaluateStartTime:r,evaluateTime:s}=(null==(t=l.config)?void 0:t.evaluateResultSetting)||{},u=(null==e?void 0:e.scoreConfigs)||0,v=i&&l.isFinished&&["EVALUATE_RADIO_BLOCK","EVALUATE_CHECKBOX_BLOCK","EVALUATE_SELECT","EVALUATE_INPUT"].includes(e.type)&&u;if(!r||!s||o&&1==o)return v;if(!n.isValidDate(new Date(r)))return v;const d=a(r).add(s,"minutes").diff(a(),"seconds",!0);return v&&d<=0})),J=e((()=>"customList"===o.type?"保存":"提交")),z=e((()=>({getSelectOptions:o.getSelectOptions,getSearchOptions:o.getSearchOptions,openType:o.openType}))),H=e((()=>({getCascadeOptions:o.getCascadeOptions}))),X=e((()=>({uploadPictureUrl:o.uploadPictureUrl,uploadFileUrl:o.uploadFileUrl}))),Q=e((()=>({ak:o.ak}))),W=e((()=>({source:"guage",getChunkUploadConfig:o.getChunkUploadConfig}))),Z=e((()=>({selectedList:l.labelSelectedList,selectedListObj:l.labelSelectedListObj,getLabelList:o.getLabelList,deleteLabel:o.deleteLabel,saveLabelItem:o.saveLabelItem,sourceType:o.sourceType}))),G={RSelectCom:z.value,RCascaderCom:H.value,RUploadCom:X.value,RMapCom:Q.value,RVodChunkUploadCom:W.value},Y=e((()=>(e,t)=>{var a;const n=i[e.type],o=G[n]||{},r={form:l.form,item:e,index:t,isLock:K.value,...o};return"RVodChunkUploadCom"===n&&Object.assign(r,{formData:e,limitNum:(null==(a=e.setting)?void 0:a.limitPic)||1,defFileList:l.form[e.val_key]}),"RMapCom"===n&&Object.assign(r,{locationProp:l.form[e.val_key]}),"CSelectLabelCom"===n&&(Object.assign(r,{...Z.value}),delete r.form,delete r.index),r})),ee=(e,t)=>{if(e.hide)return!1;const{form:a={},formArray:i=[]}=l;let o={};if(t){let t=e.setting;if(e.setting&&n.isJSON(e.setting)&&(t=JSON.parse(e.setting)),o=n.isString(t.callbackCondition)?JSON.parse(t.callbackCondition):t.callbackCondition,!o||!o.condition||!o.condition.length)return!0}else o=n.isString(e.relationLogic)?JSON.parse(e.relationLogic):e.relationLogic;if(!o||!Object.keys(o).length)return!0;const{relation_logic_is:r,condition:s,relation_logic:u}=o;if(r){const t=s.map((e=>{const t=i.filter((t=>t.seq==e.subject_seq))[0],o=te(t);return n.isArray(a[o])?a[o].some((t=>e.value.includes(t))):e.value.includes(a[o])}));e.isShow="OR"==u?t.some((e=>e)):"AND"==u?t.every((e=>e)):t[0]}return e.isShow},te=e=>e.databaseTitle||e.title,ae=e=>{const{maxScore:t=0,minScore:a=0,scoreType:n}=e.scoreConfigs||{};return"eachOptionScore"===n&&a<0?`(${a}-${t}分)`:t||L.value?`(${t}分)`:void 0},ne=e((()=>{var e;return{formArray:l.formArray,evaluateResultConfig:(null==(e=l.config)?void 0:e.evaluateResultConfig)||{},evaluateResultSetting:h.value,isFinished:l.isFinished,maxScore:l.maxScore,skipCover:_.value}})),ie=e((()=>{var e;return{formArray:l.formArray,evaluateResultConfig:(null==(e=l.config)?void 0:e.evaluateResultConfig)||{},evaluateResultSetting:h.value,form:l.form,isFinished:l.isFinished,currentTime:l.currentTime,showEvaluateCountdown:l.showEvaluateCountdown,isEvaluetaResSituation:O.value,evaResultObj:l.evaResultObj}}));return{showEvatip:f,isFormBoldOpen:b,scaleStyle:B,handlePageClass:R,isShowItem:A,handleShowQuestionNumber:T,hasScore:k,isPreviewScale:j,showEvaluateEntry:F,showEvaluateCoundownPage:P,hasEvaluateResultSetting:x,hasparamsEvaluate:D,hasDefault:V,showSaveBtn:N,componentDisable:K,showEvaluateLabel:M,showAnswerParse:q,tipMsg:J,propsConfig:Y,showEvent:ee,formKey:te,evaluatePageProps:ne,evaluateCountdownProps:ie,skipCover:_,scaleEdit:I,isEvaluetaResSituation:O,disableEdit:U,isImportScale:p,desStart:c,desEnd:m,desContent:d}};export{o as ScaleViewComputed};
|
@@ -1 +1 @@
|
|
1
|
-
const e={guageData:{type:Object,default:()=>({})},styleSetting:{type:Object,default:()=>({})},ids:{type:Object,default:()=>({guage_id:"",db_id:void 0})},params:{default:()=>({}),type:Object},noBtn:{type:[Boolean,String,Number],default:!1},hideBtn:{type:[Boolean,String,Number],default:!1},isLock:{type:[Boolean,String,Number],default:!1},type:{type:String,default:""},openType:{type:String,default:""},scaleApiConfig:{type:Object,default:()=>({})},getSelectOptions:{type:Function,default:()=>Promise.resolve([])},getSearchOptions:{type:Function,default:()=>Promise.resolve([])},getCascadeOptions:{type:Function,default:()=>Promise.resolve([])},getLabelList:{type:Function,default:()=>Promise.resolve([])},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},uploadPictureUrl:{type:String,default:""},uploadFileUrl:{type:String,default:""},ak:{type:String,default:"KP3BZ-OAC3W-PY6RY-OJ6DV-JYKN3-H6F72"},sourceType:{type:String,default:""},getChunkUploadConfig:{type:Function,default:()=>Promise.resolve({})},fontSizeObj:{type:Object,default:()=>({large:1.25,medium:1.1,small:1,extrasmall:.9})}};export{e as ScaleViewProps};
|
1
|
+
const e={guageData:{type:Object,default:()=>({})},styleSetting:{type:Object,default:()=>({})},ids:{type:Object,default:()=>({guage_id:"",db_id:void 0})},params:{default:()=>({}),type:Object},noBtn:{type:[Boolean,String,Number],default:!1},hideBtn:{type:[Boolean,String,Number],default:!1},isLock:{type:[Boolean,String,Number],default:!1},type:{type:String,default:""},openType:{type:String,default:""},scaleApiConfig:{type:Object,default:()=>({})},getSelectOptions:{type:Function,default:()=>Promise.resolve([])},getSearchOptions:{type:Function,default:()=>Promise.resolve([])},getCascadeOptions:{type:Function,default:()=>Promise.resolve([])},getLabelList:{type:Function,default:()=>Promise.resolve([])},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},uploadPictureUrl:{type:String,default:""},uploadFileUrl:{type:String,default:""},ak:{type:String,default:"KP3BZ-OAC3W-PY6RY-OJ6DV-JYKN3-H6F72"},sourceType:{type:String,default:""},getChunkUploadConfig:{type:Function,default:()=>Promise.resolve({})},fontSizeObj:{type:Object,default:()=>({large:1.25,medium:1.1,small:1,extrasmall:.9})},hasExtendBtn:{type:Boolean,default:!1},printingHideBtn:{type:Boolean,default:!1}};export{e as ScaleViewProps};
|
@@ -1 +1 @@
|
|
1
|
-
var e="@cnhis-design-vue/shared",i="3.2.6-beta.
|
1
|
+
var e="@cnhis-design-vue/shared",i="3.2.6-beta.3",s="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.6-beta.3",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cnhis-design-vue",
|
3
|
-
"version": "3.2.6-beta.
|
3
|
+
"version": "3.2.6-beta.3",
|
4
4
|
"license": "ISC",
|
5
5
|
"module": "./es/components/index.js",
|
6
6
|
"main": "./es/components/index.js",
|
@@ -72,5 +72,5 @@
|
|
72
72
|
"iOS 7",
|
73
73
|
"last 3 iOS versions"
|
74
74
|
],
|
75
|
-
"gitHead": "
|
75
|
+
"gitHead": "fd4759ff9e12ffdce49f90cfc7e3568d8a25e9cd"
|
76
76
|
}
|