cnhis-design-vue 3.1.46-beta.1 → 3.1.46-beta.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/base-search/index.d.ts +7 -2
  2. package/es/components/base-search/src/index.vue.d.ts +7 -2
  3. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  4. package/es/components/quick-search/index.d.ts +8 -2
  5. package/es/components/quick-search/src/index.vue.d.ts +8 -2
  6. package/es/components/quick-search/src/index.vue2.js +1 -1
  7. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +18 -5
  8. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -1
  9. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +18 -3
  10. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  11. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +36 -8
  12. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +4 -1
  13. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  14. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +36 -8
  15. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -0
  16. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  17. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
  18. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  19. package/es/components/table-filter/src/types/index.d.ts +1 -0
  20. package/es/shared/package.json.js +1 -1
  21. package/package.json +2 -2
  22. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
  23. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
  24. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
  25. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
  26. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
  27. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
  28. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
  29. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
  30. package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
  31. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
  32. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
  33. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
  34. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
  35. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
@@ -333,6 +333,10 @@ export declare const WidgetCfgMaps: Map<string, {
333
333
  type: StringConstructor;
334
334
  default: string;
335
335
  };
336
+ unit: {
337
+ type: StringConstructor;
338
+ default: string;
339
+ };
336
340
  }, {
337
341
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
338
342
  componentCfg: {
@@ -358,18 +362,21 @@ export declare const WidgetCfgMaps: Map<string, {
358
362
  type: StringConstructor;
359
363
  default: string;
360
364
  };
365
+ unit: {
366
+ type: StringConstructor;
367
+ default: string;
368
+ };
361
369
  }>> & {
362
370
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
371
+ "onUpdate:unit"?: ((...args: any[]) => any) | undefined;
363
372
  }>>;
364
- emit: (event: "update:value", ...args: any[]) => void;
373
+ emit: (event: "update:unit" | "update:value", ...args: any[]) => void;
365
374
  valueCp: import("vue").Ref<any>;
366
375
  isShowDateRange: import("vue").Ref<boolean>;
367
- radioValue: import("vue").Ref<string>;
368
376
  dateFormat: import("vue").ComputedRef<string>;
369
377
  showTabStr: import("vue").ComputedRef<string>;
378
+ radioValue: import("vue").ComputedRef<string>;
370
379
  optionSetting: import("vue").ComputedRef<any>;
371
- isPastTime: import("vue").ComputedRef<boolean>;
372
- isFutureTime: import("vue").ComputedRef<boolean>;
373
380
  onlyRadio: import("vue").ComputedRef<boolean>;
374
381
  defaultTime: import("vue").ComputedRef<string>;
375
382
  changeDateShowType: () => void;
@@ -490,7 +497,7 @@ export declare const WidgetCfgMaps: Map<string, {
490
497
  dateFormat: string;
491
498
  radioValue: string;
492
499
  }>;
493
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
500
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:unit" | "update:value")[], "update:unit" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
494
501
  componentCfg: {
495
502
  type: import("vue").PropType<import("../../../..").AnyObject>;
496
503
  };
@@ -514,12 +521,18 @@ export declare const WidgetCfgMaps: Map<string, {
514
521
  type: StringConstructor;
515
522
  default: string;
516
523
  };
524
+ unit: {
525
+ type: StringConstructor;
526
+ default: string;
527
+ };
517
528
  }>> & {
518
529
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
530
+ "onUpdate:unit"?: ((...args: any[]) => any) | undefined;
519
531
  }, {
520
532
  type: "date" | "datetime";
521
533
  value: string;
522
534
  placeholder: string;
535
+ unit: string;
523
536
  clearable: boolean;
524
537
  valueFormat: string;
525
538
  }>;
@@ -714,6 +727,10 @@ export declare const WidgetCfgMaps: Map<string, {
714
727
  type: StringConstructor;
715
728
  default: string;
716
729
  };
730
+ unit: {
731
+ type: StringConstructor;
732
+ default: string;
733
+ };
717
734
  }, {
718
735
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
719
736
  componentCfg: {
@@ -743,14 +760,19 @@ export declare const WidgetCfgMaps: Map<string, {
743
760
  type: StringConstructor;
744
761
  default: string;
745
762
  };
763
+ unit: {
764
+ type: StringConstructor;
765
+ default: string;
766
+ };
746
767
  }>> & {
747
768
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
769
+ "onUpdate:unit"?: ((...args: any[]) => any) | undefined;
748
770
  }>>;
749
- emit: (event: "update:value", ...args: any[]) => void;
771
+ emit: (event: "update:unit" | "update:value", ...args: any[]) => void;
750
772
  isShowDateRange: import("vue").Ref<boolean>;
751
- radioValue: import("vue").Ref<string>;
752
773
  startDate: import("vue").Ref<any>;
753
774
  endDate: import("vue").Ref<any>;
775
+ radioValue: import("vue").ComputedRef<string>;
754
776
  optionSetting: import("vue").ComputedRef<any>;
755
777
  onlyRadio: import("vue").ComputedRef<boolean>;
756
778
  isPastTime: import("vue").ComputedRef<boolean>;
@@ -883,7 +905,7 @@ export declare const WidgetCfgMaps: Map<string, {
883
905
  dateFormat: string;
884
906
  radioValue: string;
885
907
  }>;
886
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
908
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:unit" | "update:value")[], "update:unit" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
887
909
  componentCfg: {
888
910
  type: import("vue").PropType<import("../../../..").AnyObject>;
889
911
  };
@@ -911,11 +933,17 @@ export declare const WidgetCfgMaps: Map<string, {
911
933
  type: StringConstructor;
912
934
  default: string;
913
935
  };
936
+ unit: {
937
+ type: StringConstructor;
938
+ default: string;
939
+ };
914
940
  }>> & {
915
941
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
942
+ "onUpdate:unit"?: ((...args: any[]) => any) | undefined;
916
943
  }, {
917
944
  type: "date" | "datetime";
918
945
  value: string;
946
+ unit: string;
919
947
  clearable: boolean;
920
948
  startPlaceholder: string;
921
949
  endPlaceholder: string;
@@ -24,6 +24,7 @@ export default function useAdvanced(): {
24
24
  linkageFieldKeys: string[];
25
25
  };
26
26
  rangeFilter: boolean | undefined;
27
+ unit: any;
27
28
  _extendData: IExtendConfigurationType;
28
29
  title: string;
29
30
  alias: string | undefined;
@@ -1 +1 @@
1
- import{WidgetOptionEnums as e,WidgetTypeEnums as i,WidgetValEnums as t}from"../types/enums.js";import{presetValToTimestamp as n}from"../components/render-widget/helpers/presetValToTimestamp.js";import{DatePresetValEnums as l}from"../components/render-widget/enums.js";const o={[e.RADIO]:"0",[e.MULTIPLE]:"1",[e.ALL]:"0",[e.SELECT_TIME]:"1",[e.PAST_TIME]:"2",[e.FUTURE_TIME]:"3"};function a(){return{transformData:function(t,n){return t.map((t=>{var l,a,u;const{optionInfo:E={list:[],manualMapping:!0,dynamicOptionInfo:{},showWholeOption:!1},type:r,defaultValue:s,optionType:T,filterExplicit:d,rangeFilter:p}=t,c={},f={title:(m=t).title,alias:m.customTitle,isShowSearch:m.isShowSearch?1:0,filterExplicit:m.filterExplicit?1:0,explicitRequired:m.explicitRequired?1:0,advanceOptionSetting:m.optionType?o[m.optionType]:"",placeholder:m.remark,advanceColWidth:m.width};var m;let v,g,L=r;d?(v=r===i.SELECT&&T===e.MULTIPLE?null==s?void 0:s.valueList:null==(l=null==s?void 0:s.valueList)?void 0:l[0],g=null==s?void 0:s.unit,r===i.LABEL&&(L="SELECTLABEL",v=null==s?void 0:s.valueList),r===i.DATE&&(L="DATE_OUT"),r===i.DATE_TIME&&(L="DATETIME_OUT")):r===i.SELECT&&(null==E?void 0:E.list)&&(null==E?void 0:E.list.length)<10&&(L="CHECKBOX_GROUP"),p&&(r===i.INPUT_NUMBER&&(L="INPUTNUMBER_RANGE"),r===i.DATE&&(L=d?"DATE_RANGE_OUT":"DATE_RANGE_INNER"),r===i.DATE_TIME&&(L=d?"DATETIME_RANGE_OUT":"DATETIME_RANGE_INNER")),r===i.SELECT&&!1===(null==E?void 0:E.manualMapping)&&(L=i.SELECTDYNAMIC);const A={isRender:!0,widgetType:L,originType:r,valueList:null==(a=null==E?void 0:E.list)?void 0:a.map((({name:e,value:i})=>({value:i,label:e}))),defaultValue:v,defValueUnit:g,optionSetting:T,multiple:T===e.MULTIPLE||L===i.SELECTLABEL,manualMapping:null==E?void 0:E.manualMapping,showWholeOption:null==E?void 0:E.showWholeOption,dynamicOptionInfo:null==E?void 0:E.dynamicOptionInfo,classifyStr:null==s?void 0:s.classifyStr,linkageFieldKeys:null!=(u=null==s?void 0:s.linkageFieldKeys)?u:[]};return{...f,fieldType:t.dataType,columnName:t.name,settingObj:c,setting:JSON.stringify(c),widgetCfg:A,rangeFilter:p,_extendData:null!=n?n:{}}}))},getCacheDef:function(e,t){const{widgetType:n,widgetCfg:l}=e;return[i.SELECT,i.CHECKBOX_GROUP,i.SELECTDYNAMIC].includes(n)&&l.multiple?t:t[0]},transformClassifyChild:function(e){const i={};return e&&e.length>0&&e.forEach((e=>{const t=e.field_key,o=e.value&&e.value.length>1?e.value:e.value.toString();if(i[t]=o,e.unit&&e.unit!==l.CUSTOM){const l=n(e.unit,"YYYY-MM-DD HH:mm:ss");i[t]=l}})),i},transformParams:function(e){const n={},l=[i.SELECT,i.SELECTDYNAMIC];return e&&e.length>0&&e.forEach((e=>{const i=e.field_key,o=l.includes(e.widgetType)||e.value&&e.value.length>1?e.value:e.value.toString();Array.isArray(o)&&o.length>0&&o.includes(t.WHOLE)||(n[i]=o)})),n}}}export{a as default};
1
+ import{WidgetOptionEnums as e,WidgetTypeEnums as i,WidgetValEnums as t}from"../types/enums.js";import{presetValToTimestamp as n}from"../components/render-widget/helpers/presetValToTimestamp.js";import{DatePresetValEnums as l}from"../components/render-widget/enums.js";const o={[e.RADIO]:"0",[e.MULTIPLE]:"1",[e.ALL]:"0",[e.SELECT_TIME]:"1",[e.PAST_TIME]:"2",[e.FUTURE_TIME]:"3"};function a(){return{transformData:function(t,n){return t.map((t=>{var l,a,u;const{optionInfo:E={list:[],manualMapping:!0,dynamicOptionInfo:{},showWholeOption:!1},type:r,defaultValue:s,optionType:T,filterExplicit:d,rangeFilter:p}=t,c={},f={title:(m=t).title,alias:m.customTitle,isShowSearch:m.isShowSearch?1:0,filterExplicit:m.filterExplicit?1:0,explicitRequired:m.explicitRequired?1:0,advanceOptionSetting:m.optionType?o[m.optionType]:"",placeholder:m.remark,advanceColWidth:m.width};var m;let v,g,L=r;d?(v=r===i.SELECT&&T===e.MULTIPLE?null==s?void 0:s.valueList:null==(l=null==s?void 0:s.valueList)?void 0:l[0],g=null==s?void 0:s.unit,r===i.LABEL&&(L="SELECTLABEL",v=null==s?void 0:s.valueList),r===i.DATE&&(L="DATE_OUT"),r===i.DATE_TIME&&(L="DATETIME_OUT")):r===i.SELECT&&(null==E?void 0:E.list)&&(null==E?void 0:E.list.length)<10&&(L="CHECKBOX_GROUP"),p&&(r===i.INPUT_NUMBER&&(L="INPUTNUMBER_RANGE"),r===i.DATE&&(L=d?"DATE_RANGE_OUT":"DATE_RANGE_INNER"),r===i.DATE_TIME&&(L=d?"DATETIME_RANGE_OUT":"DATETIME_RANGE_INNER")),r===i.SELECT&&!1===(null==E?void 0:E.manualMapping)&&(L=i.SELECTDYNAMIC);const A={isRender:!0,widgetType:L,originType:r,valueList:null==(a=null==E?void 0:E.list)?void 0:a.map((({name:e,value:i})=>({value:i,label:e}))),defaultValue:v,defValueUnit:g,optionSetting:T,multiple:T===e.MULTIPLE||L===i.SELECTLABEL,manualMapping:null==E?void 0:E.manualMapping,showWholeOption:null==E?void 0:E.showWholeOption,dynamicOptionInfo:null==E?void 0:E.dynamicOptionInfo,classifyStr:null==s?void 0:s.classifyStr,linkageFieldKeys:null!=(u=null==s?void 0:s.linkageFieldKeys)?u:[]};return{...f,fieldType:t.dataType,columnName:t.name,settingObj:c,setting:JSON.stringify(c),widgetCfg:A,rangeFilter:p,unit:null!=g?g:"",_extendData:null!=n?n:{}}}))},getCacheDef:function(e,t){const{widgetType:n,widgetCfg:l}=e;return[i.SELECT,i.CHECKBOX_GROUP,i.SELECTDYNAMIC].includes(n)&&l.multiple?t:t[0]},transformClassifyChild:function(e){const i={};return e&&e.length>0&&e.forEach((e=>{const t=e.field_key,o=e.value&&e.value.length>1?e.value:e.value.toString();if(i[t]=o,e.unit&&e.unit!==l.CUSTOM){const l=n(e.unit,"YYYY-MM-DD HH:mm:ss");i[t]=l}})),i},transformParams:function(e){const n={},l=[i.SELECT,i.SELECTDYNAMIC];return e&&e.length>0&&e.forEach((e=>{const i=e.field_key,o=l.includes(e.widgetType)||e.value&&e.value.length>1?e.value:e.value.toString();Array.isArray(o)&&o.length>0&&o.includes(t.WHOLE)||(n[i]=o)})),n}}}export{a as default};
@@ -8,7 +8,7 @@ export default function (): {
8
8
  field_key: string;
9
9
  con: string | undefined;
10
10
  value: any[] | null;
11
- unit: null;
11
+ unit: string;
12
12
  } | null;
13
13
  getDefValByRenderConObj: (conObj: ISearchConfigType, cfg: ISearchType) => any;
14
14
  isExistDefValByRenderWidget: (cfg: ISearchType) => boolean;
@@ -1 +1 @@
1
- import{WidgetCfgMaps as e}from"../components/render-widget/widgetCfgMaps.js";import{DatePresetValEnums as t,DateRangeOutDefEnums as n}from"../components/render-widget/enums.js";import{WidgetTypeEnums as r,WidgetOptionEnums as i}from"../types/enums.js";const u=[r.CHECKBOX_GROUP,r.DATE,r.DATE_TIME,r.DATE_RANGE_INNER,r.DATETIME_RANGE_INNER,r.LABEL];function l(){function l(e){var t;return null==(t=e.widgetCfg)?void 0:t.isRender}async function o(t){const{widgetType:n,defaultValue:r,defValueUnit:u,optionSetting:l,multiple:o}=t.widgetCfg||{},d=e.get(n);let a;if(d){const{setDefaultValue:e}=d;e&&(a=await e(r,u,{optSetting:null!=l?l:i.ALL,multiple:o,_cfg:t}))}return a}return{isRender:l,getDefValByRenderWidget:o,initRenderWidgetCfg:async function(e){const t=l(e);if(!t)return t;const{widgetType:n}=e.widgetCfg||{};return e._frontId||(e._frontId="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))),e.isRender=t,e.widgetType=n,e.con="EQ",u.includes(n)&&(e._isBlock=!0),1==e.filterExplicit&&(e.value=await o(e)),t},getRenderSearchConObj:function(e){if(!l(e))return null;const{columnName:i,con:u,value:o,widgetType:d}=e;let a=null;const s=[r.DATE,r.DATE_TIME],c=[r.DATE_RANGE_OUT,r.DATE_RANGE_INNER,r.DATETIME_RANGE_OUT,r.DATETIME_RANGE_INNER];s.includes(d)&&(a=t.CUSTOM),c.includes(d)&&(a=n.CUSTOM);const f=Array.isArray(o)?o:o?[o]:[];return{widgetType:d,field_key:i,con:u,value:f.length>0?f:null,unit:a}},getDefValByRenderConObj:function(e,t){if(!l(t))return null;const{widgetType:n,multiple:i}=t.widgetCfg||{},{value:u}=e;return n!==r.SELECT&&n!==r.CHECKBOX_GROUP||!i?Array.isArray(u)?u[0]:u:Array.isArray(u)?u:u?[u]:[]},isExistDefValByRenderWidget:function(e){const{defaultValue:t,defValueUnit:n}=e.widgetCfg||{};return!(!t&&!n)},resetRenderWidgetValue:function(e){const t=l(e);return t?(e.value=null,t):t}}}export{l as default};
1
+ import{WidgetCfgMaps as e}from"../components/render-widget/widgetCfgMaps.js";import{WidgetTypeEnums as t,WidgetOptionEnums as n}from"../types/enums.js";const i=[t.CHECKBOX_GROUP,t.DATE,t.DATE_TIME,t.DATE_RANGE_INNER,t.DATETIME_RANGE_INNER,t.LABEL];function r(){function r(e){var t;return null==(t=e.widgetCfg)?void 0:t.isRender}async function u(t){const{widgetType:i,defaultValue:r,defValueUnit:u,optionSetting:l,multiple:o}=t.widgetCfg||{},a=e.get(i);let d;if(a){const{setDefaultValue:e}=a;e&&(d=await e(r,u,{optSetting:null!=l?l:n.ALL,multiple:o,_cfg:t}))}return d}return{isRender:r,getDefValByRenderWidget:u,initRenderWidgetCfg:async function(e){const t=r(e);if(!t)return t;const{widgetType:n}=e.widgetCfg||{};return e._frontId||(e._frontId="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))),e.isRender=t,e.widgetType=n,e.con="EQ",i.includes(n)&&(e._isBlock=!0),1==e.filterExplicit&&(e.value=await u(e)),t},getRenderSearchConObj:function(e){if(!r(e))return null;const{columnName:t,con:n,value:i,widgetType:u,unit:l=""}=e,o=Array.isArray(i)?i:i?[i]:[];return{widgetType:u,field_key:t,con:n,value:o.length>0?o:null,unit:l}},getDefValByRenderConObj:function(e,n){if(!r(n))return null;const{widgetType:i,multiple:u}=n.widgetCfg||{},{value:l}=e;return i!==t.SELECT&&i!==t.CHECKBOX_GROUP||!u?Array.isArray(l)?l[0]:l:Array.isArray(l)?l:l?[l]:[]},isExistDefValByRenderWidget:function(e){const{defaultValue:t,defValueUnit:n}=e.widgetCfg||{};return!(!t&&!n)},resetRenderWidgetValue:function(e){const t=r(e);return t?(e.value=null,t):t}}}export{r as default};
@@ -14,6 +14,7 @@ export declare type ISearchType = {
14
14
  setting?: any;
15
15
  widgetCfg?: any;
16
16
  rangeFilter?: boolean;
17
+ unit?: string;
17
18
  _extendData?: IExtendConfigurationType;
18
19
  _frontId?: any;
19
20
  isRender?: boolean;
@@ -1 +1 @@
1
- var e="@cnhis-design-vue/shared",i="3.1.46-beta.1",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.1.46-beta.1",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};
1
+ var e="@cnhis-design-vue/shared",i="3.1.46-beta.2",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.1.46-beta.2",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.1.46-beta.1",
3
+ "version": "3.1.46-beta.2",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "1526d89ab3fc2787aafe9dc4066919adb0e14180"
64
+ "gitHead": "64ab5241346c64cf86b529eaf3641b5fd7e3db2d"
65
65
  }
@@ -1,77 +0,0 @@
1
- export const __esModule: true;
2
- export const LEVEL_SEARCH_CASCADER: vue_2.DefineComponent<{
3
- options: {
4
- type: ArrayConstructor;
5
- default: () => never[];
6
- };
7
- labelField: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- valueField: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- autograph: {
16
- type: StringConstructor;
17
- required: true;
18
- };
19
- lazyRequest: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- requestCache: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- wordbook: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- onChange: {};
32
- value: {
33
- type: (ArrayConstructor | StringConstructor)[];
34
- };
35
- }, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
36
- options: {
37
- type: ArrayConstructor;
38
- default: () => never[];
39
- };
40
- labelField: {
41
- type: StringConstructor;
42
- default: string;
43
- };
44
- valueField: {
45
- type: StringConstructor;
46
- default: string;
47
- };
48
- autograph: {
49
- type: StringConstructor;
50
- required: true;
51
- };
52
- lazyRequest: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- requestCache: {
57
- type: BooleanConstructor;
58
- default: boolean;
59
- };
60
- wordbook: {
61
- type: ObjectConstructor;
62
- required: true;
63
- };
64
- onChange: {};
65
- value: {
66
- type: (ArrayConstructor | StringConstructor)[];
67
- };
68
- }>> & {
69
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
70
- }, {
71
- options: unknown[];
72
- labelField: string;
73
- valueField: string;
74
- lazyRequest: boolean;
75
- requestCache: boolean;
76
- }>;
77
- import vue_2 = require("vue");
@@ -1,93 +0,0 @@
1
- export const __esModule: true;
2
- export const SEARCH_CASCADER: vue_2.DefineComponent<{
3
- options: {
4
- type: ArrayConstructor;
5
- default: () => never[];
6
- };
7
- depth: {
8
- type: (NumberConstructor | StringConstructor)[];
9
- };
10
- urlConfig: {
11
- type: ObjectConstructor;
12
- };
13
- lazyRequest: {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- };
17
- requestCache: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- onFocus: {
22
- type: FunctionConstructor;
23
- };
24
- filterable: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- checkStrategy: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- labelField: {
33
- type: StringConstructor;
34
- default: string;
35
- };
36
- valueField: {
37
- type: StringConstructor;
38
- default: string;
39
- };
40
- onChange: {};
41
- value: {};
42
- }, () => any, any, {}, {}, vue_2.ComponentOptionsMixin, vue_2.ComponentOptionsMixin, "update:value"[], "update:value", vue_2.VNodeProps & vue_2.AllowedComponentProps & vue_2.ComponentCustomProps, Readonly<vue_2.ExtractPropTypes<{
43
- options: {
44
- type: ArrayConstructor;
45
- default: () => never[];
46
- };
47
- depth: {
48
- type: (NumberConstructor | StringConstructor)[];
49
- };
50
- urlConfig: {
51
- type: ObjectConstructor;
52
- };
53
- lazyRequest: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- requestCache: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- onFocus: {
62
- type: FunctionConstructor;
63
- };
64
- filterable: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- checkStrategy: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- labelField: {
73
- type: StringConstructor;
74
- default: string;
75
- };
76
- valueField: {
77
- type: StringConstructor;
78
- default: string;
79
- };
80
- onChange: {};
81
- value: {};
82
- }>> & {
83
- "onUpdate:value"?: ((...args: any[]) => any) | undefined;
84
- }, {
85
- options: unknown[];
86
- checkStrategy: string;
87
- labelField: string;
88
- valueField: string;
89
- lazyRequest: boolean;
90
- requestCache: boolean;
91
- filterable: boolean;
92
- }>;
93
- import vue_2 = require("vue");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function highLightSetPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function filterRenderPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function dateRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function defaultRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function seqRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../../es/components/iho-table");
@@ -1,3 +0,0 @@
1
- export const __esModule: true;
2
- export function variableHeightRendererPlugin(): iho_table_1.TablePlugin;
3
- import iho_table_1 = require("../../../../../../../es/components/iho-table");
@@ -1,44 +0,0 @@
1
- export const __esModule: true;
2
- export const IhoTableUtils: Readonly<{
3
- getCellType: (lowCodeField: any) => any;
4
- }>;
5
- export const IhoTableRenderHelper: Readonly<{
6
- createDefaultRenderCell: typeof createDefaultRenderCell;
7
- createRenderEdit: typeof createRenderEdit;
8
- isEditableColumn: (config: any, column: any) => any;
9
- hasFilter: (lowCodeField: any) => boolean;
10
- hasDateFiler: (lowCodeField: any) => any;
11
- }>;
12
- export const IhoTableStatusHelper: Readonly<{
13
- isPositive: (value: any) => boolean;
14
- isNegative: (value: any) => boolean;
15
- notPositive: (value: any) => boolean;
16
- notNegative: (value: any) => boolean;
17
- }>;
18
- export function createIhoTableClearActivedInterceptor(type: any, solution: any): (_a: any) => boolean;
19
- export function IhoTableLog(message: any): void;
20
- export function IhoTableWarn(message: any): void;
21
- export function getRowHeight(): number;
22
- export function eventListener2EventName(eventListenerName: any): string;
23
- export function eventName2EventListener(eventName: any): string;
24
- export function useUUIDMap(creator: any, isReactive: any): {
25
- getItemFromUUID: (uuid: any) => any;
26
- setItemFromUUID: (uuid: any, value: any) => void;
27
- removeItemFromUUID: (uuid: any) => void;
28
- };
29
- export function getColumnRenderWidth(column: any, $table: any): any;
30
- export function useIhoTableFormEvent(payload: any): {
31
- emitFormChange: () => void;
32
- emitFormClick: () => void;
33
- emitFormChangeWithParams: (params: any) => void;
34
- emitFormClickWithParams: (params: any) => void;
35
- };
36
- export function getLowCodeFieldFromField(field: any): any;
37
- declare function createDefaultRenderCell(): (_: any, _a: any) => any[];
38
- declare function createRenderEdit(renderer: any): (_a: any, params: any) => any;
39
- export function isTransformTreeType(config: any): boolean;
40
- export function isRichContent(content: any): boolean;
41
- export function parseRichContent(richContent: any): any;
42
- export function parseMergeField(row: any, column: any): any;
43
- export function isCompatibleColumn(field: any): any;
44
- export {};
@@ -1,36 +0,0 @@
1
- export const __esModule: true;
2
- declare const _default: vue_1.DefineComponent<{
3
- form: {
4
- type: ObjectConstructor;
5
- default: () => void;
6
- };
7
- item: {
8
- type: ObjectConstructor;
9
- default: () => void;
10
- };
11
- isLock: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, "scaleChange"[], "scaleChange", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
16
- form: {
17
- type: ObjectConstructor;
18
- default: () => void;
19
- };
20
- item: {
21
- type: ObjectConstructor;
22
- default: () => void;
23
- };
24
- isLock: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- }>> & {
29
- onScaleChange?: ((...args: any[]) => any) | undefined;
30
- }, {
31
- item: Record<string, any>;
32
- isLock: boolean;
33
- form: Record<string, any>;
34
- }>;
35
- export default _default;
36
- import vue_1 = require("vue");
@@ -1,36 +0,0 @@
1
- export const __esModule: true;
2
- declare const _default: vue_1.DefineComponent<{
3
- form: {
4
- type: ObjectConstructor;
5
- default: () => {};
6
- };
7
- item: {
8
- type: ObjectConstructor;
9
- default: () => {};
10
- };
11
- isLock: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, "scaleChange"[], "scaleChange", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
16
- form: {
17
- type: ObjectConstructor;
18
- default: () => {};
19
- };
20
- item: {
21
- type: ObjectConstructor;
22
- default: () => {};
23
- };
24
- isLock: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- }>> & {
29
- onScaleChange?: ((...args: any[]) => any) | undefined;
30
- }, {
31
- item: Record<string, any>;
32
- isLock: boolean;
33
- form: Record<string, any>;
34
- }>;
35
- export default _default;
36
- import vue_1 = require("vue");
@@ -1,82 +0,0 @@
1
- export const __esModule: true;
2
- declare const _default: vue_1.DefineComponent<{
3
- title: {
4
- type: (StringConstructor | FunctionConstructor)[];
5
- default: string;
6
- };
7
- changeSize: {
8
- type: BooleanConstructor;
9
- default: boolean;
10
- };
11
- closable: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- modalWidth: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- modalHeight: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- handleOk: {
24
- type: FunctionConstructor;
25
- default: () => {};
26
- };
27
- cancel: {
28
- type: FunctionConstructor;
29
- default: () => {};
30
- };
31
- visible: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("update:visible" | "onClose")[], "onClose" | "update:visible", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
36
- title: {
37
- type: (StringConstructor | FunctionConstructor)[];
38
- default: string;
39
- };
40
- changeSize: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- closable: {
45
- type: BooleanConstructor;
46
- default: boolean;
47
- };
48
- modalWidth: {
49
- type: StringConstructor;
50
- default: string;
51
- };
52
- modalHeight: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- handleOk: {
57
- type: FunctionConstructor;
58
- default: () => {};
59
- };
60
- cancel: {
61
- type: FunctionConstructor;
62
- default: () => {};
63
- };
64
- visible: {
65
- type: BooleanConstructor;
66
- default: boolean;
67
- };
68
- }>> & {
69
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
70
- onOnClose?: ((...args: any[]) => any) | undefined;
71
- }, {
72
- closable: boolean;
73
- title: string | Function;
74
- visible: boolean;
75
- modalWidth: string;
76
- modalHeight: string;
77
- handleOk: Function;
78
- cancel: Function;
79
- changeSize: boolean;
80
- }>;
81
- export default _default;
82
- import vue_1 = require("vue");
@@ -1,57 +0,0 @@
1
- export const __esModule: true;
2
- export const SearchMenu: vue_1.DefineComponent<{
3
- childKey: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- options: {
8
- type: ArrayConstructor;
9
- default: () => never[];
10
- };
11
- labelKey: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- valueKey: {
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- currentNode: {
20
- type: ObjectConstructor;
21
- };
22
- cursorNode: {
23
- type: ObjectConstructor;
24
- };
25
- }, () => any, any, {}, {}, vue_1.ComponentOptionsMixin, vue_1.ComponentOptionsMixin, ("nodeClick" | "changeCursor")[], "nodeClick" | "changeCursor", vue_1.VNodeProps & vue_1.AllowedComponentProps & vue_1.ComponentCustomProps, Readonly<vue_1.ExtractPropTypes<{
26
- childKey: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- options: {
31
- type: ArrayConstructor;
32
- default: () => never[];
33
- };
34
- labelKey: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- valueKey: {
39
- type: StringConstructor;
40
- default: string;
41
- };
42
- currentNode: {
43
- type: ObjectConstructor;
44
- };
45
- cursorNode: {
46
- type: ObjectConstructor;
47
- };
48
- }>> & {
49
- onNodeClick?: ((...args: any[]) => any) | undefined;
50
- onChangeCursor?: ((...args: any[]) => any) | undefined;
51
- }, {
52
- options: unknown[];
53
- valueKey: string;
54
- childKey: string;
55
- labelKey: string;
56
- }>;
57
- import vue_1 = require("vue");