cnhis-design-vue 3.2.8-release.3 → 3.2.8-release.4

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 (27) hide show
  1. package/es/components/ai-chat/index.d.ts +12 -1
  2. package/es/components/ai-chat/src/Index.vue.d.ts +12 -1
  3. package/es/components/ai-chat/src/Index.vue2.js +1 -1
  4. package/es/components/ai-chat/src/components/ChatFooter.vue2.js +1 -1
  5. package/es/components/ai-chat/src/components/ChatMain.js +1 -1
  6. package/es/components/ai-chat/src/types/index.d.ts +14 -6
  7. package/es/components/ai-chat/style/index.css +1 -1
  8. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  9. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  10. package/es/components/iho-chat/index.d.ts +3 -1
  11. package/es/components/iho-chat/src/Index.vue.d.ts +3 -1
  12. package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
  13. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +1 -1
  14. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  15. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +2 -0
  16. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  17. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
  18. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  19. package/es/components/iho-chat/src/utils/index.js +1 -1
  20. package/es/components/iho-chat/style/index.css +1 -1
  21. package/es/components/index.css +1 -1
  22. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +3 -0
  23. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  24. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -0
  25. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -0
  26. package/es/shared/package.json.js +1 -1
  27. package/package.json +2 -2
@@ -24,6 +24,9 @@ declare const _default: import("vue").DefineComponent<{
24
24
  isMultiple: import("vue").ComputedRef<unknown>;
25
25
  isShowWhole: import("vue").ComputedRef<any>;
26
26
  optionList: import("vue").ComputedRef<any>;
27
+ renderLabel: (option: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
+ [key: string]: any;
29
+ }> | "";
27
30
  handleUpdate: (val: any) => void;
28
31
  NSelect: any;
29
32
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1 +1 @@
1
- import{defineComponent as e,useAttrs as t,computed as r,openBlock as u,createBlock as o,unref as n,mergeProps as a}from"vue";import{NSelect as i}from"naive-ui";import{WholeSelectObj as l}from"../helpers/selectExtraMap.js";import{WidgetValEnums as p}from"../../../types/enums.js";var s=e({__name:"Select",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:s}){const m=e,v=t(),f=r((()=>m.value)),c=r((()=>v.multiple)),d=r((()=>{const{widgetCfg:e}=m.componentCfg,{showWholeOption:t=!1}=e;return t})),g=r((()=>{const{widgetCfg:e}=m.componentCfg,{valueList:t=[]}=e;if(d.value){return[JSON.parse(JSON.stringify(l)),...t]}return t}));function y(e){if(d.value&&c.value&&Array.isArray(e)&&e.includes(p.WHOLE)){const t=e.slice(-1);if(t.includes(p.WHOLE))return void s("update:value",t);const r=e.filter((e=>e!==p.WHOLE));s("update:value",r)}else s("update:value",e)}return(e,t)=>(u(),o(n(i),a(n(v),{options:n(g),value:n(f),"onUpdate:value":y}),null,16,["options","value"]))}});export{s as default};
1
+ import{defineComponent as e,useAttrs as t,computed as l,openBlock as r,createBlock as a,unref as u,mergeProps as n,h as o}from"vue";import{NSelect as i}from"naive-ui";import{WholeSelectObj as p}from"../helpers/selectExtraMap.js";import{WidgetValEnums as s}from"../../../types/enums.js";var m=e({__name:"Select",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:m}){const v=e,f=t(),c=l((()=>v.value)),d=l((()=>f.multiple)),g=l((()=>{const{widgetCfg:e}=v.componentCfg,{showWholeOption:t=!1}=e;return t})),y=l((()=>{const{widgetCfg:e}=v.componentCfg,{valueList:t=[]}=e;if(g.value){return[JSON.parse(JSON.stringify(p)),...t]}return t})),O=e=>e.label?o("span",{title:e.label},e.label):"";function b(e){if(g.value&&d.value&&Array.isArray(e)&&e.includes(s.WHOLE)){const t=e.slice(-1);if(t.includes(s.WHOLE))return void m("update:value",t);const l=e.filter((e=>e!==s.WHOLE));m("update:value",l)}else m("update:value",e)}return(e,t)=>(r(),a(u(i),n(u(f),{options:u(y),value:u(c),"render-label":O,"onUpdate:value":b}),null,16,["options","value"]))}});export{m as default};
@@ -1196,6 +1196,9 @@ declare const Select: import("vue").DefineComponent<{
1196
1196
  isMultiple: import("vue").ComputedRef<unknown>;
1197
1197
  isShowWhole: import("vue").ComputedRef<any>;
1198
1198
  optionList: import("vue").ComputedRef<any>;
1199
+ renderLabel: (option: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1200
+ [key: string]: any;
1201
+ }> | "";
1199
1202
  handleUpdate: (val: any) => void;
1200
1203
  NSelect: any;
1201
1204
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -116,6 +116,9 @@ export declare const WidgetCfgMaps: Map<string, {
116
116
  isMultiple: import("vue").ComputedRef<unknown>;
117
117
  isShowWhole: import("vue").ComputedRef<any>;
118
118
  optionList: import("vue").ComputedRef<any>;
119
+ renderLabel: (option: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
120
+ [key: string]: any;
121
+ }> | "";
119
122
  handleUpdate: (val: any) => void;
120
123
  NSelect: any;
121
124
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1 +1 @@
1
- var e="@cnhis-design-vue/shared",s="3.2.8-release.3",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.8-release.3",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.8-release.4",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.8-release.4",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.8-release.3",
3
+ "version": "3.2.8-release.4",
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": "1110c0cbaf5bae3f2a45be8a3fac281e364560a5"
75
+ "gitHead": "c25d348126532a3fffad1e81f55b8667bec60ab4"
76
76
  }