cnhis-design-vue 3.2.9-beta.9 → 3.2.9-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.
- package/es/components/ai-chat/src/components/ChatMain.js +1 -1
- package/es/components/base-search/index.d.ts +2 -0
- package/es/components/base-search/src/index.vue.d.ts +2 -0
- package/es/components/button-print/index.d.ts +30 -0
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +30 -0
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +9 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +9 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +6 -5
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/classification/index.d.ts +87 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +87 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +87 -0
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
- package/es/components/classification/src/index.vue.d.ts +87 -0
- package/es/components/date-picker/index.d.ts +29 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +30 -1
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/field-set/index.d.ts +8 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +90 -7
- package/es/components/field-set/src/FieldColor.vue2.js +1 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +32 -7
- package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +74 -31
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/Index.vue.d.ts +8 -1
- package/es/components/field-set/src/Index.vue2.js +1 -1
- package/es/components/field-set/src/TableStyle.vue2.js +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +29 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +58 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +29 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +29 -2
- package/es/components/field-set/src/components/table-row.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +4 -3
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +2 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/iho-chat/index.d.ts +316 -6
- package/es/components/iho-chat/src/Index.vue.d.ts +316 -6
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/api/index.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +5 -0
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +121 -1
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +6 -0
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +160 -2
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +122 -0
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +29 -0
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +6 -1
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +5 -0
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +1 -3
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -1
- package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -1
- package/es/components/iho-chat/src/hooks/useSession.js +1 -1
- package/es/components/iho-chat/src/hooks/useState.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useState.js +1 -1
- package/es/components/iho-chat/src/types/index.d.ts +3 -1
- package/es/components/iho-chat/src/types/index.js +1 -1
- package/es/components/iho-chat/src/utils/chatSock.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +29 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +29 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useRowHeight.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useRowHeight.js +1 -0
- package/es/components/iho-table/src/types/index.d.ts +3 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/quick-search/index.d.ts +3 -0
- package/es/components/quick-search/src/index.vue.d.ts +3 -0
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +29 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +58 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +58 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +58 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +116 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +116 -0
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +2 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/index.d.ts +1 -0
- package/es/shared/utils/index.js +1 -1
- package/package.json +76 -76
package/es/shared/utils/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{getCurrentInstance as
|
1
|
+
import{getCurrentInstance as n,defineComponent as t,provide as e,createVNode as r}from"vue";import{isObject as o}from"@vue/shared";import{useMemoize as i}from"@vueuse/core";import{isString as u,isNumber as c,isArray as s,isFunction as f}from"lodash-es";import a from"../package.json.js";export{getBindEventSettingTrigger,getDateOperationalFormHandler,getOperationalFormHandler,isConditionsMatchSqlExpression,isMatchLowCodeCondition,isMatchLowCodeConditionsWithSqlExpression,isMatchNewLowCodeConditionsWithSqlExpression}from"./business.js";function l(n,t,e="children",r){let o=!1;function i(){o=!0}!function n(t,e,r="children",u,c=0){r=p(r),t=p(t);for(let s=0;s<t.length;s++){if(e(t[s],i,u,c),o)return;for(let i=0;i<r.length;i++){const u=t[s][r[i]];if(Array.isArray(u)&&n(u,e,r,t[s],c+1),o)return}}}(n,t,e,r,0)}function d(n,t,e=t.name,r){if(!e)throw new Error(`[CUI]: invalid component name for ${t}`);const{components:i={}}=n._context;i[e]||(!Reflect.get(n,"__cnhis_version")&&o(a)&&Reflect.set(n,"__cnhis_version",a.version),r?r():n.component(e,t))}function m(n){if(!u(n))return;const t=n.match(/[Hms:]+/);return t?t[0]:void 0}function p(n){return Array.isArray(n)?n:[n]}function h(){return`key${"xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(n){const t=16*Math.random()|0;return("x"==n?t:3&t|8).toString(16)}))}`}const x={a:7.7,b:8.6,c:7.7,d:8.6,e:7.7,f:5,g:8.6,h:8.2,i:3.3,j:3.3,k:7.6,l:3.5,m:12.1,n:8.2,o:8.2,p:8.6,q:8.6,r:5.4,s:7.1,t:5,u:8.2,v:7.6,w:10.9,x:7.3,y:7.6,z:7.6,A:9.43,B:9.33,C:9.93,D:10,E:8.27,F:8.1,G:10.4,H:10.4,I:3.7,J:7.5,K:9.2,L:7.9,M:12.4,N:10.4,O:10.8,P:8.9,Q:10.8,R:9.1,S:8.8,T:8.9,U:10.4,V:9.4,W:13.5,X:9.4,Y:9.1,Z:9.1,".":4.03,",":4.03,"(":5.17,")":5.17,"-":7.51,"+":7.51,"/":4.11,"\\":4.11,"%":12.68,"‰":17.75,";":13.95,"、":13.95,",":13.95,"。":13.95},g=/\d/,v=/[\u4e00-\u9fa5():,。]/;function w(n){return x[n]?x[n]:g.test(n)?8.9:v.test(n)?13.95:void 0}const y=i((function(n){if(!n)return 0;let t="";return[...n].reduce(((n,e)=>{const r=t;return t=e," "===e?" "===r?n:n+4:n+(w(e)||6)}),0)})),E=Object.seal(Object.create(null));function O(n,t){return function n(t,e){return o(t)?s(t)?t.map((t=>n(t,e))):Object.entries(t).reduce(((t,[r,i])=>(e.includes(r)||(o(i)&&!f(i)?t[r]=n(i,e):t[r]=i),t)),{}):t}(n,t)}function b(n){return Object.values(n).reduce(((n,t)=>Object.assign(n,t)),{})}function j(n,t){if(!n)return n;if(t(n))return n;let e=n.parentElement;for(;e&&!t(e);)e=e.parentElement;return e}function C(n,t="px"){if(c(n))return`${n}${t}`;if(!n)return"";if(u(n))return n.endsWith(t)?n:`${n}${t}`;throw new Error(`invalid width value ${n}, it need to be a string or number!`)}function S(n,t){return n.some((n=>t.includes(n)))}const M=i((n=>{try{return JSON.parse(n)}catch(n){return{}}}),{getKey:n=>n});function $(n,t){if(!o(n))return n;const e={...n};for(let n=0;n<t.length;n++)Reflect.deleteProperty(e,t[n]);return e}function _(t){if(!n())throw new Error(t||"can't use this hook out of setup environment")}function I(n,t=1){const[e,r,o,i,u]=n.match(/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i)||[];if(!e)return[255,255,255,t];const s=u&&parseInt(u,16)/255;return[parseInt(r,16),parseInt(o,16),parseInt(i,16),+(c(s)?s.toFixed(2):t)]}function A(n){return t({setup(t,{slots:o}){let i=(null==n?void 0:n.parent)&&Reflect.get(n.parent,"provides");const u=[];for(;i;)Object.entries(i).forEach((([n,t])=>{u.includes(n)||(u.push(n),e(n,t))})),i=Object.getPrototypeOf(i);return()=>{var n;return r("div",null,[null==(n=o.default)?void 0:n.call(o)])}}})}const H=i((function(n,t){return!(!u(t)||!u(n))&&t.split(",").some((t=>t.trim().includes(n)))}),{getKey:(...n)=>n.reduce(((n,t)=>String(n)+"_"+String(t)),"")});function L(n){try{return n instanceof HTMLElement}catch(t){return o(n)&&1===n.nodeType&&o(n.style)&&o(n.ownerDocument)}}function N(n){let t=0;return function n(e,r=0){e.forEach((e=>{e.children?n(e.children,r+1):t=Math.max(t,r)}))}(n),t}function R(n,t){var e;(null==(e=null==window?void 0:window.$CMonitor)?void 0:e.notify)&&window.$CMonitor.notify({name:"custom_info",message:JSON.stringify(n),businessName:t||"SDK"})}export{E as DMZ,p as arrayed,_ as checkInSetupEnv,A as createProviderWrapper,O as deepOmit,R as encapBrowserLog,j as findAncestor,m as generateTimeFormat,N as getArrDepth,w as getCharWidth,y as getStringWidth,I as hex2rgba,L as isHTMLElement,M as jsonParse,H as keywordMatcher,d as safeComponentRegister,b as separateMetaModule,$ as shallowOmit,S as targetStringIncludes,l as traverse,h as uuidGenerator,C as widthAppend};
|
package/package.json
CHANGED
@@ -1,76 +1,76 @@
|
|
1
|
-
{
|
2
|
-
"name": "cnhis-design-vue",
|
3
|
-
"version": "3.2.9-
|
4
|
-
"license": "ISC",
|
5
|
-
"module": "./es/components/index.js",
|
6
|
-
"main": "./es/components/index.js",
|
7
|
-
"types": "./es/components/index.d.ts",
|
8
|
-
"sideEffects": [
|
9
|
-
"es/components/**/style/*",
|
10
|
-
"es/components/*(.css,.less)"
|
11
|
-
],
|
12
|
-
"files": [
|
13
|
-
"es",
|
14
|
-
"README.md"
|
15
|
-
],
|
16
|
-
"peerDependencies": {
|
17
|
-
"@fullcalendar/core": "^6.1.10",
|
18
|
-
"@fullcalendar/interaction": "^6.1.10",
|
19
|
-
"@fullcalendar/resource": "^6.1.10",
|
20
|
-
"@fullcalendar/resource-timegrid": "^6.1.10",
|
21
|
-
"@fullcalendar/scrollgrid": "^6.1.10",
|
22
|
-
"@fullcalendar/vue3": "^6.1.10",
|
23
|
-
"naive-ui": "^2.34.0",
|
24
|
-
"vue": "^3.2.0",
|
25
|
-
"vxe-table": "^4.2.5"
|
26
|
-
},
|
27
|
-
"dependencies": {
|
28
|
-
"@formily/core": "2.1.9",
|
29
|
-
"@formily/path": "2.1.9",
|
30
|
-
"@formily/reactive": "2.1.9",
|
31
|
-
"@formily/vue": "2.1.9",
|
32
|
-
"@vicons/ionicons5": "^0.12.0",
|
33
|
-
"@vueuse/core": "^8.6.0",
|
34
|
-
"@vueuse/shared": "^8.6.0",
|
35
|
-
"@wangeditor/editor": "^5.1.1",
|
36
|
-
"@wangeditor/editor-for-vue": "^5.1.11",
|
37
|
-
"axios": "^0.27.2",
|
38
|
-
"bpmn-js": "^9.2.2",
|
39
|
-
"bpmnlint-utils": "^1.0.2",
|
40
|
-
"date-fns": "^2.30.0",
|
41
|
-
"diagram-js": "^8.7.1",
|
42
|
-
"ids": "^1.0.0",
|
43
|
-
"inherits": "^2.0.4",
|
44
|
-
"lodash": "^4.17.21",
|
45
|
-
"lodash-es": "^4.17.21",
|
46
|
-
"lodash-unified": "^1.0.2",
|
47
|
-
"min-dash": "^3.8.1",
|
48
|
-
"min-dom": "^3.2.1",
|
49
|
-
"moment": "^2.29.1",
|
50
|
-
"naive-ui": "^2.34.0",
|
51
|
-
"recorder-core": "^1.2.23070100",
|
52
|
-
"socket.io-client": "^4.7.3",
|
53
|
-
"sockjs-client": "^1.6.1",
|
54
|
-
"sortablejs": "^1.15.0",
|
55
|
-
"spark-md5": "^3.0.2",
|
56
|
-
"stompjs": "^2.3.3",
|
57
|
-
"tiny-svg": "^2.2.4",
|
58
|
-
"trtc-sdk-v5": "^5.5.2",
|
59
|
-
"v-viewer": "^3.0.10",
|
60
|
-
"video.js": "^7.19.2",
|
61
|
-
"videojs-contrib-hls": "^5.15.0",
|
62
|
-
"viewerjs": "^1.10.5",
|
63
|
-
"vue": "^3.2.0",
|
64
|
-
"vue-simple-uploader": "^1.0.0-beta.5",
|
65
|
-
"xe-utils": "^3.5.4"
|
66
|
-
},
|
67
|
-
"browserslist": [
|
68
|
-
"defaults",
|
69
|
-
"not ie < 8",
|
70
|
-
"last 2 versions",
|
71
|
-
"> 1%",
|
72
|
-
"iOS 7",
|
73
|
-
"last 3 iOS versions"
|
74
|
-
],
|
75
|
-
"gitHead": "
|
76
|
-
}
|
1
|
+
{
|
2
|
+
"name": "cnhis-design-vue",
|
3
|
+
"version": "3.2.9-release.4",
|
4
|
+
"license": "ISC",
|
5
|
+
"module": "./es/components/index.js",
|
6
|
+
"main": "./es/components/index.js",
|
7
|
+
"types": "./es/components/index.d.ts",
|
8
|
+
"sideEffects": [
|
9
|
+
"es/components/**/style/*",
|
10
|
+
"es/components/*(.css,.less)"
|
11
|
+
],
|
12
|
+
"files": [
|
13
|
+
"es",
|
14
|
+
"README.md"
|
15
|
+
],
|
16
|
+
"peerDependencies": {
|
17
|
+
"@fullcalendar/core": "^6.1.10",
|
18
|
+
"@fullcalendar/interaction": "^6.1.10",
|
19
|
+
"@fullcalendar/resource": "^6.1.10",
|
20
|
+
"@fullcalendar/resource-timegrid": "^6.1.10",
|
21
|
+
"@fullcalendar/scrollgrid": "^6.1.10",
|
22
|
+
"@fullcalendar/vue3": "^6.1.10",
|
23
|
+
"naive-ui": "^2.34.0",
|
24
|
+
"vue": "^3.2.0",
|
25
|
+
"vxe-table": "^4.2.5"
|
26
|
+
},
|
27
|
+
"dependencies": {
|
28
|
+
"@formily/core": "2.1.9",
|
29
|
+
"@formily/path": "2.1.9",
|
30
|
+
"@formily/reactive": "2.1.9",
|
31
|
+
"@formily/vue": "2.1.9",
|
32
|
+
"@vicons/ionicons5": "^0.12.0",
|
33
|
+
"@vueuse/core": "^8.6.0",
|
34
|
+
"@vueuse/shared": "^8.6.0",
|
35
|
+
"@wangeditor/editor": "^5.1.1",
|
36
|
+
"@wangeditor/editor-for-vue": "^5.1.11",
|
37
|
+
"axios": "^0.27.2",
|
38
|
+
"bpmn-js": "^9.2.2",
|
39
|
+
"bpmnlint-utils": "^1.0.2",
|
40
|
+
"date-fns": "^2.30.0",
|
41
|
+
"diagram-js": "^8.7.1",
|
42
|
+
"ids": "^1.0.0",
|
43
|
+
"inherits": "^2.0.4",
|
44
|
+
"lodash": "^4.17.21",
|
45
|
+
"lodash-es": "^4.17.21",
|
46
|
+
"lodash-unified": "^1.0.2",
|
47
|
+
"min-dash": "^3.8.1",
|
48
|
+
"min-dom": "^3.2.1",
|
49
|
+
"moment": "^2.29.1",
|
50
|
+
"naive-ui": "^2.34.0",
|
51
|
+
"recorder-core": "^1.2.23070100",
|
52
|
+
"socket.io-client": "^4.7.3",
|
53
|
+
"sockjs-client": "^1.6.1",
|
54
|
+
"sortablejs": "^1.15.0",
|
55
|
+
"spark-md5": "^3.0.2",
|
56
|
+
"stompjs": "^2.3.3",
|
57
|
+
"tiny-svg": "^2.2.4",
|
58
|
+
"trtc-sdk-v5": "^5.5.2",
|
59
|
+
"v-viewer": "^3.0.10",
|
60
|
+
"video.js": "^7.19.2",
|
61
|
+
"videojs-contrib-hls": "^5.15.0",
|
62
|
+
"viewerjs": "^1.10.5",
|
63
|
+
"vue": "^3.2.0",
|
64
|
+
"vue-simple-uploader": "^1.0.0-beta.5",
|
65
|
+
"xe-utils": "^3.5.4"
|
66
|
+
},
|
67
|
+
"browserslist": [
|
68
|
+
"defaults",
|
69
|
+
"not ie < 8",
|
70
|
+
"last 2 versions",
|
71
|
+
"> 1%",
|
72
|
+
"iOS 7",
|
73
|
+
"last 3 iOS versions"
|
74
|
+
],
|
75
|
+
"gitHead": "8608bbfc8f8273af160171d5f3b105559efd3463"
|
76
|
+
}
|