cnhis-design-vue 3.2.9-beta.23 → 3.2.9-beta.27

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 (97) hide show
  1. package/README.md +87 -87
  2. package/es/components/button-print/index.d.ts +30 -0
  3. package/es/components/button-print/src/ButtonPrint.vue.d.ts +30 -0
  4. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  5. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +9 -0
  6. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  7. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +9 -0
  8. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  9. package/es/components/button-print/src/utils/print.d.ts +2 -2
  10. package/es/components/button-print/src/utils/print.js +1 -1
  11. package/es/components/classification/index.d.ts +87 -0
  12. package/es/components/classification/src/components/search-filter/index.vue.d.ts +87 -0
  13. package/es/components/classification/src/components/set-classification/index.vue.d.ts +87 -0
  14. package/es/components/classification/src/index.vue.d.ts +87 -0
  15. package/es/components/date-picker/index.d.ts +29 -0
  16. package/es/components/date-picker/src/DatePicker.vue.d.ts +30 -1
  17. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  18. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  19. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  20. package/es/components/field-set/index.d.ts +7 -1
  21. package/es/components/field-set/src/FieldColor.vue.d.ts +62 -4
  22. package/es/components/field-set/src/FieldColor.vue2.js +1 -1
  23. package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -4
  24. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  25. package/es/components/field-set/src/FieldSet.vue.d.ts +8 -6
  26. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  27. package/es/components/field-set/src/Index.vue.d.ts +7 -1
  28. package/es/components/field-set/src/Index.vue2.js +1 -1
  29. package/es/components/field-set/src/TableStyle.vue2.js +1 -1
  30. package/es/components/field-set/src/components/condition.vue.d.ts +29 -0
  31. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +58 -0
  32. package/es/components/field-set/src/components/edit-filter.vue.d.ts +29 -0
  33. package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
  34. package/es/components/field-set/src/utils/index.js +1 -1
  35. package/es/components/field-set/style/index.css +1 -1
  36. package/es/components/iho-chat/index.d.ts +29 -0
  37. package/es/components/iho-chat/src/Index.vue.d.ts +29 -0
  38. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +29 -0
  39. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +29 -0
  40. package/es/components/iho-chat/src/hooks/useSession.js +1 -1
  41. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +29 -0
  42. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +29 -0
  43. package/es/components/index.css +1 -1
  44. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  45. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +29 -0
  46. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +29 -0
  47. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +29 -0
  48. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +29 -0
  49. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +58 -0
  50. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +29 -0
  51. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +29 -0
  52. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +58 -0
  53. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +58 -0
  54. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +29 -0
  55. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +29 -0
  56. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +29 -0
  57. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +29 -0
  58. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +116 -0
  59. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +116 -0
  60. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +1 -1
  61. package/es/shared/assets/img/ai__avatar.png.js +1 -1
  62. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  63. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  64. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  65. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  66. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  67. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  68. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  69. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  70. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  71. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  72. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  73. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  74. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  75. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  76. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  77. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  78. package/es/shared/assets/img/failure.png.js +1 -1
  79. package/es/shared/assets/img/no-permission.png.js +1 -1
  80. package/es/shared/assets/img/nodata.png.js +1 -1
  81. package/es/shared/assets/img/notfound.png.js +1 -1
  82. package/es/shared/assets/img/qr.png.js +1 -1
  83. package/es/shared/assets/img/success.png.js +1 -1
  84. package/es/shared/assets/img/table_style_2.png.js +1 -1
  85. package/es/shared/assets/img/video.png.js +1 -1
  86. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  87. package/es/shared/assets/img/xb_big.png.js +1 -1
  88. package/es/shared/assets/img/xb_small.png.js +1 -1
  89. package/es/shared/package.json.js +1 -1
  90. package/package.json +2 -2
  91. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  92. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  93. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  94. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  95. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  96. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  97. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -548,6 +548,14 @@ declare const _default: import("vue").DefineComponent<{}, {
548
548
  type: import("vue").PropType<string | false | HTMLElement>;
549
549
  default: string;
550
550
  };
551
+ holidays: {
552
+ type: import("vue").PropType<Date[]>;
553
+ default: () => never[];
554
+ };
555
+ type: {
556
+ type: StringConstructor;
557
+ default: string;
558
+ };
551
559
  }, {
552
560
  attrs: {
553
561
  [x: string]: unknown;
@@ -572,6 +580,14 @@ declare const _default: import("vue").DefineComponent<{}, {
572
580
  type: import("vue").PropType<string | false | HTMLElement>;
573
581
  default: string;
574
582
  };
583
+ holidays: {
584
+ type: import("vue").PropType<Date[]>;
585
+ default: () => never[];
586
+ };
587
+ type: {
588
+ type: StringConstructor;
589
+ default: string;
590
+ };
575
591
  }>> & {
576
592
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
577
593
  }>>;
@@ -588,6 +604,9 @@ declare const _default: import("vue").DefineComponent<{}, {
588
604
  blur: () => any;
589
605
  handleConfirm: (target: HTMLInputElement) => void;
590
606
  onUpdateShow: (show: boolean) => Promise<void>;
607
+ watchers: import("../../../../shared/types").AnyFn[];
608
+ stopWatcher: () => void;
609
+ setHoliday: (show: boolean) => Promise<void>;
591
610
  onConfirm: (...args: any[]) => Promise<void>;
592
611
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
593
612
  setShortcutValue: (type: "month" | "week") => Promise<void>;
@@ -612,11 +631,21 @@ declare const _default: import("vue").DefineComponent<{}, {
612
631
  type: import("vue").PropType<string | false | HTMLElement>;
613
632
  default: string;
614
633
  };
634
+ holidays: {
635
+ type: import("vue").PropType<Date[]>;
636
+ default: () => never[];
637
+ };
638
+ type: {
639
+ type: StringConstructor;
640
+ default: string;
641
+ };
615
642
  }>> & {
616
643
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
617
644
  }, {
645
+ type: string;
618
646
  updateUnchangedValue: boolean;
619
647
  to: string | false | HTMLElement;
648
+ holidays: Date[];
620
649
  }>>;
621
650
  formatTime: typeof import("../utils").formatTime;
622
651
  MESSAGE_TYPE: typeof import("../constants").MESSAGE_TYPE;
@@ -65,6 +65,14 @@ declare const _default: import("vue").DefineComponent<{
65
65
  type: PropType<string | false | HTMLElement>;
66
66
  default: string;
67
67
  };
68
+ holidays: {
69
+ type: PropType<Date[]>;
70
+ default: () => never[];
71
+ };
72
+ type: {
73
+ type: StringConstructor;
74
+ default: string;
75
+ };
68
76
  }, {
69
77
  attrs: {
70
78
  [x: string]: unknown;
@@ -89,6 +97,14 @@ declare const _default: import("vue").DefineComponent<{
89
97
  type: PropType<string | false | HTMLElement>;
90
98
  default: string;
91
99
  };
100
+ holidays: {
101
+ type: PropType<Date[]>;
102
+ default: () => never[];
103
+ };
104
+ type: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
92
108
  }>> & {
93
109
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
94
110
  }>>;
@@ -105,6 +121,9 @@ declare const _default: import("vue").DefineComponent<{
105
121
  blur: () => any;
106
122
  handleConfirm: (target: HTMLInputElement) => void;
107
123
  onUpdateShow: (show: boolean) => Promise<void>;
124
+ watchers: import("../../../../shared/types").AnyFn[];
125
+ stopWatcher: () => void;
126
+ setHoliday: (show: boolean) => Promise<void>;
108
127
  onConfirm: (...args: any[]) => Promise<void>;
109
128
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
110
129
  setShortcutValue: (type: "month" | "week") => Promise<void>;
@@ -129,11 +148,21 @@ declare const _default: import("vue").DefineComponent<{
129
148
  type: PropType<string | false | HTMLElement>;
130
149
  default: string;
131
150
  };
151
+ holidays: {
152
+ type: PropType<Date[]>;
153
+ default: () => never[];
154
+ };
155
+ type: {
156
+ type: StringConstructor;
157
+ default: string;
158
+ };
132
159
  }>> & {
133
160
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
134
161
  }, {
162
+ type: string;
135
163
  updateUnchangedValue: boolean;
136
164
  to: string | false | HTMLElement;
165
+ holidays: Date[];
137
166
  }>>;
138
167
  formatTime: typeof formatTime;
139
168
  MESSAGE_TYPE: typeof MESSAGE_TYPE;
@@ -1 +1 @@
1
- import{computed as e}from"vue";import{simplifyMessage as s}from"../utils/index.js";import{cloneDeep as n,isArray as t,uniqBy as i}from"lodash-es";import{CHAT_TYPE as o}from"../constants/index.js";import{groupUserApi as r}from"../api/index.js";function a(e){return e.chatType===o.GROUP}function u(e){const{lastMessage:n,lastSenderName:t=""}=e,i=s(n)||"";return a(e)&&t?t+": "+i:i}function c(s){const c=e((()=>a(s.currentSessionItem)));function m(e){Object.assign(s.currentSessionItem,e,{lastMessageContent:Reflect.has(e,"lastMessageContent")?e.lastMessageContent:Reflect.has(e,"lastMessage")?u({...e,chatType:e.chatType||s.currentSessionItem.chatType}):s.currentSessionItem.lastMessageContent}),s.isChangeSession=!0,s.id!==s.currentSessionItem.id&&(s.msgList=[],s.id=s.currentSessionItem.id)}function d(e){s.sessionList=n(i(e,"id")),s.sessionList.forEach((e=>{Object.assign(e,{defaultName:Reflect.has(e,"defaultName")?e.defaultName:e.name||"",lastMessageContent:Reflect.has(e,"lastMessageContent")?e.lastMessageContent:u(e)}),e.receiver===s.userInfo.id&&(e.unreadNum=0),e.chatType!==o.GROUP||e.name||r({id:e.receiver}).then((s=>{t(s)&&(e.name=s.map((e=>e.name)).join(","))}))}))}return{openSession:async function(e){const i=s.currentSessionItem.sessionKey;if(m(e),i!==s.currentSessionItem.sessionKey)if(c.value){const n=await r({id:e.receiver});s.currentGroupUser=t(n)?n:[]}else s.currentGroupUser=[s.userInfo,{...n(e),id:e.receiver}]},closeSession:function(){if(!s.id)return null;const{currentSessionItem:e}=s;return s.currentSessionItem={},s.msgList=[],s.id="",s.currentGroupUser=[],e},getCurrentSession:function(){return s.id?s.currentSessionItem:null},setCurrentSessionItem:m,setUpdateSessionItem:function(e){const t=s.sessionList.find((s=>s.sessionKey===e.sessionKey)),i={...e,lastMessageContent:u({...e,chatType:e.chatType||(null==t?void 0:t.chatType)})};s.updateSessionItem=t?{...n(t),...i}:i,s.isUpdateSession=!0},setSessionList:d,isGroupChat:c,updateSessionList:function(e){!e.id||s.sessionList.map((e=>e.id)).includes(e.id)?s.sessionList.some((n=>{if(n.sessionKey===e.sessionKey){let{unreadNum:t=0}=n;return Object.assign(n,e),e.sessionKey!==s.currentSessionItem.sessionKey&&n.sender&&n.sender!==s.userInfo.id&&(n.unreadNum=++t),!0}})):d([...s.sessionList,e])}}}export{c as useSession};
1
+ import{computed as e}from"vue";import{simplifyMessage as s}from"../utils/index.js";import{cloneDeep as n,isArray as t,uniqBy as i}from"lodash-es";import{CHAT_TYPE as o}from"../constants/index.js";import{groupUserApi as r}from"../api/index.js";function a(e){return e.chatType===o.GROUP}function u(e){const{lastMessage:n,lastSenderName:t=""}=e,i=s(n)||"";return a(e)&&t?t+": "+i:i}function c(s){const c=e((()=>a(s.currentSessionItem)));function m(e){Object.assign(s.currentSessionItem,e,{lastMessageContent:Reflect.has(e,"lastMessageContent")?e.lastMessageContent:Reflect.has(e,"lastMessage")?u({...e,chatType:e.chatType||s.currentSessionItem.chatType}):s.currentSessionItem.lastMessageContent}),s.isChangeSession=!0,s.id!==s.currentSessionItem.id&&(s.msgList=[],s.id=s.currentSessionItem.id)}function d(e){s.sessionList=n(i(e,"id")),s.sessionList.forEach((e=>{Object.assign(e,{defaultName:Reflect.has(e,"defaultName")?e.defaultName:e.name||"",lastMessageContent:Reflect.has(e,"lastMessageContent")?e.lastMessageContent:u(e)}),e.receiver===s.userInfo.id&&(e.unreadNum=0),e.chatType!==o.GROUP||e.name||r({id:e.receiver}).then((s=>{t(s)&&(e.name=s.map((e=>e.name)).join(","))}))}))}return{openSession:async function(e){const o=s.currentSessionItem.sessionKey;if(m(e),o!==s.currentSessionItem.sessionKey)if(c.value){const n=await r({id:e.receiver});s.currentGroupUser=t(n)?n:[]}else s.currentGroupUser=i([s.userInfo,{...n(e),id:e.receiver}],"id")},closeSession:function(){if(!s.id)return null;const{currentSessionItem:e}=s;return s.currentSessionItem={},s.msgList=[],s.id="",s.currentGroupUser=[],e},getCurrentSession:function(){return s.id?s.currentSessionItem:null},setCurrentSessionItem:m,setUpdateSessionItem:function(e){const t=s.sessionList.find((s=>s.sessionKey===e.sessionKey)),i={...e,lastMessageContent:u({...e,chatType:e.chatType||(null==t?void 0:t.chatType)})};s.updateSessionItem=t?{...n(t),...i}:i,s.isUpdateSession=!0},setSessionList:d,isGroupChat:c,updateSessionList:function(e){!e.id||s.sessionList.map((e=>e.id)).includes(e.id)?s.sessionList.some((n=>{if(n.sessionKey===e.sessionKey){let{unreadNum:t=0}=n;return Object.assign(n,e),e.sessionKey!==s.currentSessionItem.sessionKey&&n.sender&&n.sender!==s.userInfo.id&&(n.unreadNum=++t),!0}})):d([...s.sessionList,e])}}}export{c as useSession};
@@ -45,6 +45,14 @@ declare const _default: import("vue").DefineComponent<{
45
45
  type: PropType<string | false | HTMLElement>;
46
46
  default: string;
47
47
  };
48
+ holidays: {
49
+ type: PropType<Date[]>;
50
+ default: () => never[];
51
+ };
52
+ type: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ };
48
56
  }, {
49
57
  attrs: {
50
58
  [x: string]: unknown;
@@ -69,6 +77,14 @@ declare const _default: import("vue").DefineComponent<{
69
77
  type: PropType<string | false | HTMLElement>;
70
78
  default: string;
71
79
  };
80
+ holidays: {
81
+ type: PropType<Date[]>;
82
+ default: () => never[];
83
+ };
84
+ type: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
72
88
  }>> & {
73
89
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
74
90
  }>>;
@@ -85,6 +101,9 @@ declare const _default: import("vue").DefineComponent<{
85
101
  blur: () => any;
86
102
  handleConfirm: (target: HTMLInputElement) => void;
87
103
  onUpdateShow: (show: boolean) => Promise<void>;
104
+ watchers: import("../../../../../shared/types").AnyFn[];
105
+ stopWatcher: () => void;
106
+ setHoliday: (show: boolean) => Promise<void>;
88
107
  onConfirm: (...args: any[]) => Promise<void>;
89
108
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
90
109
  setShortcutValue: (type: "month" | "week") => Promise<void>;
@@ -109,11 +128,21 @@ declare const _default: import("vue").DefineComponent<{
109
128
  type: PropType<string | false | HTMLElement>;
110
129
  default: string;
111
130
  };
131
+ holidays: {
132
+ type: PropType<Date[]>;
133
+ default: () => never[];
134
+ };
135
+ type: {
136
+ type: StringConstructor;
137
+ default: string;
138
+ };
112
139
  }>> & {
113
140
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
114
141
  }, {
142
+ type: string;
115
143
  updateUnchangedValue: boolean;
116
144
  to: string | false | HTMLElement;
145
+ holidays: Date[];
117
146
  }>>;
118
147
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
119
148
  payload: {
@@ -132,6 +132,14 @@ declare const _default: import("vue").DefineComponent<{
132
132
  type: PropType<string | false | HTMLElement>;
133
133
  default: string;
134
134
  };
135
+ holidays: {
136
+ type: PropType<Date[]>;
137
+ default: () => never[];
138
+ };
139
+ type: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
135
143
  }, {
136
144
  attrs: {
137
145
  [x: string]: unknown;
@@ -156,6 +164,14 @@ declare const _default: import("vue").DefineComponent<{
156
164
  type: PropType<string | false | HTMLElement>;
157
165
  default: string;
158
166
  };
167
+ holidays: {
168
+ type: PropType<Date[]>;
169
+ default: () => never[];
170
+ };
171
+ type: {
172
+ type: StringConstructor;
173
+ default: string;
174
+ };
159
175
  }>> & {
160
176
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
161
177
  }>>;
@@ -172,6 +188,9 @@ declare const _default: import("vue").DefineComponent<{
172
188
  blur: () => any;
173
189
  handleConfirm: (target: HTMLInputElement) => void;
174
190
  onUpdateShow: (show: boolean) => Promise<void>;
191
+ watchers: AnyFn[];
192
+ stopWatcher: () => void;
193
+ setHoliday: (show: boolean) => Promise<void>;
175
194
  onConfirm: (...args: any[]) => Promise<void>;
176
195
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
177
196
  setShortcutValue: (type: "month" | "week") => Promise<void>;
@@ -196,11 +215,21 @@ declare const _default: import("vue").DefineComponent<{
196
215
  type: PropType<string | false | HTMLElement>;
197
216
  default: string;
198
217
  };
218
+ holidays: {
219
+ type: PropType<Date[]>;
220
+ default: () => never[];
221
+ };
222
+ type: {
223
+ type: StringConstructor;
224
+ default: string;
225
+ };
199
226
  }>> & {
200
227
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
201
228
  }, {
229
+ type: string;
202
230
  updateUnchangedValue: boolean;
203
231
  to: string | false | HTMLElement;
232
+ holidays: Date[];
204
233
  }>>;
205
234
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
206
235
  value: {