cnhis-design-vue 3.2.11-release.3 → 3.2.12-release.0
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/ai-chat/index.d.ts +36 -1
- package/es/components/ai-chat/src/Index.vue.d.ts +37 -2
- package/es/components/ai-chat/src/Index.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +28 -1
- package/es/components/ai-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatMain.js +1 -1
- package/es/components/ai-chat/src/types/index.d.ts +7 -0
- package/es/components/ai-chat/style/index.css +1 -1
- package/es/components/button-print/index.d.ts +3 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +3 -0
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +1 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +2 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +4 -0
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +233 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +233 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +319 -85
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +4 -0
- package/es/components/iho-table/index.d.ts +4 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +4 -0
- package/es/components/iho-table/src/constants/index.d.ts +4 -0
- package/es/components/iho-table/src/constants/index.js +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +14 -0
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +2 -7
- package/es/components/select-label/index.d.ts +2 -7
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +2 -7
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +2 -7
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +1 -1
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +2 -7
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +1 -1
- package/es/components/select-label/src/index.vue.d.ts +2 -7
- package/es/components/select-label/src/types/index.d.ts +2 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -1227,16 +1227,11 @@ export declare const componentMap: {
|
|
1227
1227
|
labelCode: string;
|
1228
1228
|
labelShowText: string;
|
1229
1229
|
backgroundColor: string;
|
1230
|
+
fontColor?: string | undefined;
|
1230
1231
|
}[]>;
|
1231
1232
|
showCheck: (label: import("../../../../components/select-label").IhoTabLabelItemType) => boolean;
|
1232
1233
|
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../components/select-label").IhoTabLabelItemType | undefined, categoryItem?: import("../../../../components/select-label").ICategoryLabelItemType | undefined) => void;
|
1233
|
-
formatStyle: (item: any) =>
|
1234
|
-
background: any;
|
1235
|
-
borderColor: any;
|
1236
|
-
} | {
|
1237
|
-
background?: undefined;
|
1238
|
-
borderColor?: undefined;
|
1239
|
-
};
|
1234
|
+
formatStyle: (item: any) => any;
|
1240
1235
|
NTag: any;
|
1241
1236
|
NTooltip: any;
|
1242
1237
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -730,16 +730,11 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
|
|
730
730
|
labelCode: string;
|
731
731
|
labelShowText: string;
|
732
732
|
backgroundColor: string;
|
733
|
+
fontColor?: string | undefined;
|
733
734
|
}[]>;
|
734
735
|
showCheck: (label: import("./src/types").IhoTabLabelItemType) => boolean;
|
735
736
|
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("./src/types").IhoTabLabelItemType | undefined, categoryItem?: import("./src/types").ICategoryLabelItemType | undefined) => void;
|
736
|
-
formatStyle: (item: any) =>
|
737
|
-
background: any;
|
738
|
-
borderColor: any;
|
739
|
-
} | {
|
740
|
-
background?: undefined;
|
741
|
-
borderColor?: undefined;
|
742
|
-
};
|
737
|
+
formatStyle: (item: any) => any;
|
743
738
|
NTag: any;
|
744
739
|
NTooltip: any;
|
745
740
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -80,16 +80,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
80
80
|
labelCode: string;
|
81
81
|
labelShowText: string;
|
82
82
|
backgroundColor: string;
|
83
|
+
fontColor?: string | undefined;
|
83
84
|
}[]>;
|
84
85
|
showCheck: (label: import("../../../../components/select-label/src/types").IhoTabLabelItemType) => boolean;
|
85
86
|
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../components/select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
|
86
|
-
formatStyle: (item: any) =>
|
87
|
-
background: any;
|
88
|
-
borderColor: any;
|
89
|
-
} | {
|
90
|
-
background?: undefined;
|
91
|
-
borderColor?: undefined;
|
92
|
-
};
|
87
|
+
formatStyle: (item: any) => any;
|
93
88
|
NTag: any;
|
94
89
|
NTooltip: any;
|
95
90
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -137,16 +137,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
137
137
|
labelCode: string;
|
138
138
|
labelShowText: string;
|
139
139
|
backgroundColor: string;
|
140
|
+
fontColor?: string | undefined;
|
140
141
|
}[]>;
|
141
142
|
showCheck: (label: import("../../../../components/select-label/src/types").IhoTabLabelItemType) => boolean;
|
142
143
|
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../components/select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
|
143
|
-
formatStyle: (item: any) =>
|
144
|
-
background: any;
|
145
|
-
borderColor: any;
|
146
|
-
} | {
|
147
|
-
background?: undefined;
|
148
|
-
borderColor?: undefined;
|
149
|
-
};
|
144
|
+
formatStyle: (item: any) => any;
|
150
145
|
NTag: any;
|
151
146
|
NTooltip: any;
|
152
147
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,ref as l,reactive as i,watch as a,openBlock as
|
1
|
+
import{defineComponent as e,ref as l,reactive as i,watch as a,openBlock as o,createElementBlock as t,Fragment as n,createElementVNode as s,createBlock as d,unref as c,withCtx as r,renderList as p,normalizeStyle as h,createVNode as g,toDisplayString as m,createTextVNode as u,createCommentVNode as x,normalizeClass as b}from"vue";import{NSpace as f,NTag as C,NTooltip as y,NIcon as v,NModal as w}from"naive-ui";import{AddCircleOutline as L}from"@vicons/ionicons5";import W from"./IhoLabelFormContent.vue.js";const k={class:"c-select-label"},H={key:1,class:"outexplicit"},_=s("span",null,"选择标签",-1),z={class:"svg-wrap"};var I=e({__name:"IhoSelectLabel",props:{selectedList:{type:Array,default:()=>[]},categoryList:{type:Array,default:()=>[]},explicit:{type:Boolean,default:!1}},emits:["onChange"],setup(e,{emit:I}){const S=e,V=l(null),A=l(),F=i({labelVisible:!1,isChangeWindow:!1,modalWidth:"763px",modalHeight:"404px",maxHeight:"404px"}),O=()=>{S.explicit||(F.labelVisible=!0)},N=()=>{S.explicit||(F.modalWidth="763px",F.modalHeight="404px",F.maxHeight="404px",F.isChangeWindow=!1,F.labelVisible=!1)},E=()=>{F.isChangeWindow=!F.isChangeWindow;let e=document.body.clientHeight;F.modalWidth="763px"===F.modalWidth?"100%":"763px",F.modalHeight="404px"===F.modalHeight?e-110+"px":"404px",F.maxHeight="auto"===F.modalHeight?"404px":"none"},J=()=>{var e;null==(e=V.value)||e.handleLabelForm((e=>{I("onChange",[...e]),A.value=e,N()}))},R=()=>{J()};return a((()=>S.selectedList),(e=>{if(e){let l=Array.isArray(e)?e:[];A.value=JSON.parse(JSON.stringify(l))}}),{immediate:!0,deep:!0}),(l,i)=>(o(),t(n,null,[s("div",k,[e.explicit?x("v-if",!0):(o(),d(c(f),{key:0,align:"center"},{default:r((()=>[(o(!0),t(n,null,p(A.value,(e=>{return o(),d(c(C),{bordered:!1,key:`${e.classifyId}-${e.labelCode}`,class:"select-label-active",style:h((l=e,{background:l.backgroundColor,color:(null==l?void 0:l.fontColor)||"#fff",borderColor:l.backgroundColor})),size:"small",closable:"",onClose:l=>(e=>{const l=A.value||[],i=l.findIndex((l=>l.classifyId==e.classifyId&&l.labelCode==e.labelCode));i>-1&&l.splice(i,1),A.value=l,I("onChange",[...l])})(e)},{default:r((()=>[g(c(y),{placement:"top-start",duration:0},{trigger:r((()=>[s("span",null,m(e.labelShowText),1)])),default:r((()=>[s("span",null,m(e.labelShowText),1)])),_:2},1024)])),_:2},1032,["style","onClose"]);var l})),128)),e.explicit?x("v-if",!0):(o(),t("span",{key:0,class:"form-add-icon form-add-icon-label",onClick:O},[g(c(v),{class:"add-icon",component:c(L)},null,8,["component"]),u(" 新增 ")]))])),_:1})),e.explicit?(o(),t("div",H,[g(W,{ref_key:"labelFormContentRef",ref:V,categoryList:e.categoryList,selectedList:e.selectedList,isChangeWindow:F.isChangeWindow,explicit:e.explicit,onExplicitOnChange:R},null,8,["categoryList","selectedList","isChangeWindow","explicit"])])):x("v-if",!0)]),x(" 弹窗 "),g(c(w),{preset:"dialog",class:b(["label-form-modal-wrap modal-wrap standard-modal standard-modal-white",{"modal-screen":F.isChangeWindow}]),show:F.labelVisible,"onUpdate:show":i[0]||(i[0]=e=>F.labelVisible=e),onPositiveClick:J,onNegativeClick:N,onClose:N,"mask-closable":!1,"close-on-esc":!1,"show-icon":!1,"negative-text":"取消","positive-text":"确定",style:h({width:F.modalWidth})},{header:r((()=>[_,s("div",z,[s("i",{onClick:E,class:b(["iconfont-select-label",F.isChangeWindow?"icon-select-label-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-select-label-menzhenyishengzhanxitongtubiaozuidahua"])},null,2)])])),default:r((()=>[g(W,{ref_key:"labelFormContentRef",ref:V,categoryList:e.categoryList,selectedList:A.value,isChangeWindow:F.isChangeWindow,explicit:e.explicit,onExplicitOnChange:R},null,8,["categoryList","selectedList","isChangeWindow","explicit"])])),_:1},8,["show","class","style"])],64))}});export{I as default};
|
@@ -33,16 +33,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
33
33
|
labelCode: string;
|
34
34
|
labelShowText: string;
|
35
35
|
backgroundColor: string;
|
36
|
+
fontColor?: string | undefined;
|
36
37
|
}[]>;
|
37
38
|
showCheck: (label: IhoTabLabelItemType) => boolean;
|
38
39
|
onHandleLabelChange: (isSelect?: boolean, item?: IhoTabLabelItemType, categoryItem?: ICategoryLabelItemType) => void;
|
39
|
-
formatStyle: (item: any) =>
|
40
|
-
background: any;
|
41
|
-
borderColor: any;
|
42
|
-
} | {
|
43
|
-
background?: undefined;
|
44
|
-
borderColor?: undefined;
|
45
|
-
};
|
40
|
+
formatStyle: (item: any) => any;
|
46
41
|
NTag: any;
|
47
42
|
NTooltip: any;
|
48
43
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,ref as l,openBlock as
|
1
|
+
import{defineComponent as e,ref as l,openBlock as t,createElementBlock as a,unref as o,Fragment as c,renderList as n,createBlock as d,normalizeStyle as s,withCtx as r,createVNode as i,createElementVNode as b,toDisplayString as u}from"vue";import{NTag as p,NTooltip as y}from"naive-ui";const f={class:"edit-content"},g={key:0,class:"label-disable-wrap"},h=[b("p",{class:"label-disable-title"},"无可选标签",-1),b("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],k={key:1,class:"label-content"};var m=e({__name:"iho-label-classify",props:{categoryItem:{type:Object,default:()=>({})},selectedList:{type:Array,default:()=>[]},handleLabelChange:{type:Function,default:()=>({})}},setup(e){var m;const C=e,v="rgb(85, 133, 245)";let I=l((null==(m=C.categoryItem)?void 0:m.labelList)||[]);const L=e=>C.selectedList.findIndex((l=>l.classifyId===C.categoryItem.classifyId&&l.labelCode===e.labelCode))>-1;function x(e){const l={background:e.backgroundColor||v,borderColor:e.backgroundColor||v};return e.fontColor&&(l.color=e.fontColor),L(e)?l:{}}return(l,m)=>(t(),a("div",f,[o(I)&&0!==o(I).length?(t(),a("div",k,[(t(!0),a(c,null,n(o(I),(l=>(t(),d(o(p),{checkable:"",checked:L(l),"onUpdate:checked":t=>((e,l,t)=>{C.handleLabelChange(e,l,t)})(t,l,e.categoryItem),key:l.labelCode,style:s(x(l))},{default:r((()=>[i(o(y),{placement:"top-start",duration:0},{trigger:r((()=>[b("span",null,u(l.labelShowText),1)])),default:r((()=>[b("span",null,u(l.labelShowText),1)])),_:2},1024)])),_:2},1032,["checked","onUpdate:checked","style"])))),128))])):(t(),a("div",g,h))]))}});export{m as default};
|
@@ -731,16 +731,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
731
731
|
labelCode: string;
|
732
732
|
labelShowText: string;
|
733
733
|
backgroundColor: string;
|
734
|
+
fontColor?: string | undefined;
|
734
735
|
}[]>;
|
735
736
|
showCheck: (label: import("../../../components/select-label/src/types").IhoTabLabelItemType) => boolean;
|
736
737
|
onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../components/select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
|
737
|
-
formatStyle: (item: any) =>
|
738
|
-
background: any;
|
739
|
-
borderColor: any;
|
740
|
-
} | {
|
741
|
-
background?: undefined;
|
742
|
-
borderColor?: undefined;
|
743
|
-
};
|
738
|
+
formatStyle: (item: any) => any;
|
744
739
|
NTag: any;
|
745
740
|
NTooltip: any;
|
746
741
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -7,5 +7,6 @@ export type IhoTabLabelItemType = {
|
|
7
7
|
labelCode: string;
|
8
8
|
labelShowText: string;
|
9
9
|
backgroundColor: string;
|
10
|
+
fontColor?: string;
|
10
11
|
};
|
11
|
-
export type ISelectLabelItemType = Pick<ICategoryLabelItemType, 'classifyId' | 'classifyName'> & Pick<IhoTabLabelItemType, 'labelCode' | 'labelShowText' | 'backgroundColor'>;
|
12
|
+
export type ISelectLabelItemType = Pick<ICategoryLabelItemType, 'classifyId' | 'classifyName'> & Pick<IhoTabLabelItemType, 'labelCode' | 'labelShowText' | 'backgroundColor' | 'fontColor'>;
|
@@ -1 +1 @@
|
|
1
|
-
var e="@cnhis-design-vue/shared",s="3.2.
|
1
|
+
var e="@cnhis-design-vue/shared",s="3.2.12-release.0",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.12-release.0",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.
|
3
|
+
"version": "3.2.12-release.0",
|
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": "6d7a522653bb5cbb2896de511892b3bdaf110df8"
|
76
76
|
}
|