cnhis-design-vue 3.2.15-beta.8 → 3.2.15-release.5
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 +9 -0
- package/es/components/ai-chat/src/Index.vue.d.ts +9 -0
- package/es/components/ai-chat/src/Index.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatCard.js +1 -1
- package/es/components/ai-chat/style/index.css +1 -1
- package/es/components/branch-notice/index.d.ts +32 -3
- package/es/components/branch-notice/src/BranchNotice.vue.d.ts +9 -3
- package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
- package/es/components/classification/index.d.ts +30 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +30 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +30 -0
- package/es/components/classification/src/index.vue.d.ts +30 -0
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/date-picker/index.d.ts +10 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +10 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/expand-field/index.d.ts +1 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +1 -1
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +1 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +1 -1
- package/es/components/expand-field/src/index.vue.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -2
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +21 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +3 -2
- package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +10 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +20 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +10 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue2.js +1 -1
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/form-config/index.d.ts +1021 -1
- package/es/components/form-config/src/FormConfig.vue.d.ts +1021 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1019 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +6 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/iho-chat/index.d.ts +300 -79
- package/es/components/iho-chat/src/Index.vue.d.ts +300 -79
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +33 -9
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +33 -10
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +33 -10
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +109 -33
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +33 -11
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +10 -1
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +0 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +33 -11
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +34 -10
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +0 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +15 -1
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
- package/es/components/iho-chat/src/hooks/useData.d.ts +4 -2
- package/es/components/iho-chat/src/hooks/useData.js +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +1 -1
- package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
- package/es/components/iho-chat/src/types/index.d.ts +13 -2
- package/es/components/iho-chat/style/iconfont.ttf +0 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +10 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +10 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/select-person/index.d.ts +1 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +10 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +20 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +20 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +10 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +40 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +40 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +4 -0
- package/package.json +2 -2
package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts
CHANGED
@@ -129,6 +129,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
129
129
|
type: StringConstructor;
|
130
130
|
default: string;
|
131
131
|
};
|
132
|
+
isDateDisabled: {
|
133
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
134
|
+
};
|
132
135
|
}, {
|
133
136
|
attrs: {
|
134
137
|
[x: string]: unknown;
|
@@ -161,6 +164,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
161
164
|
type: StringConstructor;
|
162
165
|
default: string;
|
163
166
|
};
|
167
|
+
isDateDisabled: {
|
168
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
169
|
+
};
|
164
170
|
}>> & {
|
165
171
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
166
172
|
}>>;
|
@@ -173,6 +179,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
173
179
|
isDateTime: import("vue").ComputedRef<boolean>;
|
174
180
|
formatRef: import("vue").ComputedRef<string>;
|
175
181
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
182
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
176
183
|
focus: () => any;
|
177
184
|
blur: () => any;
|
178
185
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -212,6 +219,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
212
219
|
type: StringConstructor;
|
213
220
|
default: string;
|
214
221
|
};
|
222
|
+
isDateDisabled: {
|
223
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
224
|
+
};
|
215
225
|
}>> & {
|
216
226
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
217
227
|
}, {
|
package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts
CHANGED
@@ -96,6 +96,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
96
96
|
type: StringConstructor;
|
97
97
|
default: string;
|
98
98
|
};
|
99
|
+
isDateDisabled: {
|
100
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
101
|
+
};
|
99
102
|
}, {
|
100
103
|
attrs: {
|
101
104
|
[x: string]: unknown;
|
@@ -128,6 +131,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
128
131
|
type: StringConstructor;
|
129
132
|
default: string;
|
130
133
|
};
|
134
|
+
isDateDisabled: {
|
135
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
136
|
+
};
|
131
137
|
}>> & {
|
132
138
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
133
139
|
}>>;
|
@@ -140,6 +146,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
140
146
|
isDateTime: import("vue").ComputedRef<boolean>;
|
141
147
|
formatRef: import("vue").ComputedRef<string>;
|
142
148
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
149
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
143
150
|
focus: () => any;
|
144
151
|
blur: () => any;
|
145
152
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -179,6 +186,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
179
186
|
type: StringConstructor;
|
180
187
|
default: string;
|
181
188
|
};
|
189
|
+
isDateDisabled: {
|
190
|
+
type: PropType<(current: number, ...arg: any[]) => boolean>;
|
191
|
+
};
|
182
192
|
}>> & {
|
183
193
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
184
194
|
}, {
|
package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as u,nextTick as n,openBlock as i,createBlock as o,unref as s,mergeProps as r,isRef as v,withCtx as c,createVNode as f,h as p}from"vue";import{useMessage as d,NSelect as m,NTag as y}from"naive-ui";import{useDebounceFn as g}from"@vueuse/core";import h from"../../../hooks/useAsyncData.js";import{judgmentVariable as S}from"../helpers/setDefaultValue.js";import{WholeSelectObj as O}from"../helpers/selectExtraMap.js";import{WidgetValEnums as w}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as N}from"../../../constants/index.js";import j from"./SelectDynamicOption/index.vue.js";import{isEqual as k,cloneDeep as C}from"lodash-es";var A=e({__name:"SelectDynamic",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:A}){const J=e,L=d(),P="SQL",D="API",{getDynamicSelectData:x}=h(),I=a(),E=l(null),K=l(!1),T=t(b),$=t(N),U=l(1),W=l(),_=l([JSON.parse(JSON.stringify(O))]),M=l([]),V=l(),F=l(0),H={class:"select-dynamic-popover"},Q=u((()=>I.multiple)),R=u((()=>{const{widgetCfg:e}=J.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),q=u((()=>{const{widgetCfg:e}=J.componentCfg,{showWholeOption:a=!1}=e;return a&&1===U.value})),z=u((()=>F.value>0&&U.value>=F.value)),B=u((()=>{var e;if(Array.isArray(J.value)&&J.value.length>0){const e=J.value;if(X(e),e.includes(O.value)){const e=_.value.find((e=>e.value===O.value)),a=e||O;return Q.value?[a]:JSON.stringify(a)}if(!Q.value&&1==e.length){const a=_.value.find((a=>a.value===e[0]));return a?JSON.stringify(a):JSON.stringify({label:e[0].includes("&")?e[0].split("&")[0]:e[0],value:e[0]})}const a=_.value.filter((a=>e.includes(a.value))),l=a.map((e=>e.value)),t=e.filter((e=>!l.includes(e))).map((e=>({label:e.includes("&")?e.split("&")[0]:e,value:e})));return[...a,...t]}return X([]),J.value?JSON.stringify({label:(null==(e=J.value)?void 0:e.includes("&"))?J.value.split("&")[0]:J.value,value:J.value}):null})),G=u((()=>{if(Object.keys(R.value).length>0){const{defaultParams:e=[]}=R.value;return S(e)&&!J.value}return!1}));function X(e){_.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function Y(e){const{widgetCfg:a}=J.componentCfg,{linkageFieldKeys:l=[]}=a;k(J.value,e)||(l.forEach((e=>{const a=$.value.find((a=>a.columnName===e));a&&a.value&&(a.value=null)})),A("update:value",e))}async function Z(e){var a;U.value=e,null==(a=null==E?void 0:E.value)||a.focus(),await ee(V.value,U.value)}async function ee(e,a){try{if(K.value=!0,Object.keys(R.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:u,filterKeys:n,defaultParams:i=[],showKeys:o,valueKey:s,tableDataType:r}=R.value;let v={wordbookId:t,autograph:l,wordbookType:u,fieldKeys:n,page:a};switch(r){case P:v.keyword=e;break;case D:n.length>0&&(v[n[0]]=e)}if(S(i)){const e=i.map((e=>e.value)).filter((e=>e.includes("${")));e.map((e=>e.match(/\$\{(.+?)\}/)[1])).forEach((e=>{const a=$.value.find((a=>a.columnName===e));a&&a.value&&a.value!==w.WHOLE&&(v[e]=a.value)}))}let c=await x(v,T);if(c){const{fieldList:e=[],rows:a=[],total:l=0}=c.map,t=a.map((e=>({...e,label:e[o[0]],value:`${e[o[0]]}&${e[s]}`}))),u=C(t);q.value&&t.unshift(JSON.parse(JSON.stringify(O))),W.value=null!=e?e:[],_.value=null!=t?t:[],M.value=u,F.value=l}}}catch(e){L.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{K.value=!1}}const ae=g((async e=>{await async function(e){V.value=e.trim(),U.value=1,await ee(V.value,U.value)}(e)}),300);async function le(){Object.keys(R.value).length>0&&T&&await ee("",U.value)}async function te(){A("update:value",null),await le()}function ue(e){V.value="",e&&(U.value=1,le())}function ne({option:e,handleClose:a}){if(Q.value){const l=e.value;return p(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(J.value)&&J.value.length>0){const e=J.value,a=e.indexOf(l.value);a>-1&&(e.splice(a,1),A("update:value",e.length>0?e:null))}}},{default:()=>p("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return p("div",l.label)}return n((()=>{G.value||le()})),(e,a)=>(i(),o(s(m),r({ref_key:"selectDynamicRef",ref:E},s(I),{value:s(B),"onUpdate:value":a[0]||(a[0]=e=>v(B)?B.value=e:null),remote:"",loading:K.value,"render-tag":ne,"menu-props":H,onSearch:s(ae),onClear:te,"onUpdate:show":ue}),{empty:c((()=>[f(j,r(s(I),{oldValue:J.value,loading:K.value,dynamicOptionInfo:s(R),fieldTitleList:W.value,optionList:_.value,isMultiple:s(Q),curPage:U.value,isLastPage:s(z),isShowWhole:s(q),onUpdateSelect:Y,onUpdatePage:Z}),null,16,["oldValue","loading","dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage","isShowWhole"])])),_:1},16,["value","loading","onSearch"]))}});export{A as default};
|
1
|
+
import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as u,nextTick as n,openBlock as i,createBlock as o,unref as s,mergeProps as r,isRef as v,withCtx as c,createVNode as f,h as p}from"vue";import{useMessage as d,NSelect as m,NTag as y}from"naive-ui";import{useDebounceFn as g}from"@vueuse/core";import h from"../../../hooks/useAsyncData.js";import{judgmentVariable as S}from"../helpers/setDefaultValue.js";import{WholeSelectObj as O}from"../helpers/selectExtraMap.js";import{WidgetValEnums as w}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as N}from"../../../constants/index.js";import j from"./SelectDynamicOption/index.vue.js";import{isEqual as k,cloneDeep as C}from"lodash-es";var A=e({__name:"SelectDynamic",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:A}){const J=e,L=d(),P="SQL",D="API",{getDynamicSelectData:x}=h(),I=a(),E=l(null),K=l(!1),T=t(b),$=t(N),U=l(1),W=l(),_=l([JSON.parse(JSON.stringify(O))]),M=l([]),V=l(),F=l(0),H={class:"select-dynamic-popover"},Q=u((()=>I.multiple)),R=u((()=>{const{widgetCfg:e}=J.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),q=u((()=>{const{widgetCfg:e}=J.componentCfg,{showWholeOption:a=!1}=e;return a&&1===U.value})),z=u((()=>F.value>0&&U.value>=F.value)),B=u((()=>{var e;if(Array.isArray(J.value)&&J.value.length>0){const e=J.value;if(X(e),e.includes(O.value)){const e=_.value.find((e=>e.value===O.value)),a=e||O;return Q.value?[a]:JSON.stringify(a)}if(!Q.value&&1==e.length){const a=_.value.find((a=>a.value===e[0]));return a?JSON.stringify(a):JSON.stringify({label:"string"==typeof e[0]&&e[0].includes("&")?e[0].split("&")[0]:e[0],value:e[0]})}const a=_.value.filter((a=>e.includes(a.value))),l=a.map((e=>e.value)),t=e.filter((e=>!l.includes(e))).map((e=>({label:"string"==typeof e&&e.includes("&")?e.split("&")[0]:e,value:e})));return[...a,...t]}return X([]),J.value?JSON.stringify({label:(null==(e=J.value)?void 0:e.includes("&"))?J.value.split("&")[0]:J.value,value:J.value}):null})),G=u((()=>{if(Object.keys(R.value).length>0){const{defaultParams:e=[]}=R.value;return S(e)&&!J.value}return!1}));function X(e){_.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function Y(e){const{widgetCfg:a}=J.componentCfg,{linkageFieldKeys:l=[]}=a;k(J.value,e)||(l.forEach((e=>{const a=$.value.find((a=>a.columnName===e));a&&a.value&&(a.value=null)})),A("update:value",e))}async function Z(e){var a;U.value=e,null==(a=null==E?void 0:E.value)||a.focus(),await ee(V.value,U.value)}async function ee(e,a){try{if(K.value=!0,Object.keys(R.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:u,filterKeys:n,defaultParams:i=[],showKeys:o,valueKey:s,tableDataType:r}=R.value;let v={wordbookId:t,autograph:l,wordbookType:u,fieldKeys:n,page:a};switch(r){case P:v.keyword=e;break;case D:n.length>0&&(v[n[0]]=e)}if(S(i)){const e=i.map((e=>e.value)).filter((e=>e.includes("${")));e.map((e=>e.match(/\$\{(.+?)\}/)[1])).forEach((e=>{const a=$.value.find((a=>a.columnName===e));a&&a.value&&a.value!==w.WHOLE&&(v[e]=a.value)}))}let c=await x(v,T);if(c){const{fieldList:e=[],rows:a=[],total:l=0}=c.map,t=a.map((e=>({...e,label:e[o[0]],value:`${e[o[0]]}&${e[s]}`}))),u=C(t);q.value&&t.unshift(JSON.parse(JSON.stringify(O))),W.value=null!=e?e:[],_.value=null!=t?t:[],M.value=u,F.value=l}}}catch(e){L.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{K.value=!1}}const ae=g((async e=>{await async function(e){V.value=e.trim(),U.value=1,await ee(V.value,U.value)}(e)}),300);async function le(){Object.keys(R.value).length>0&&T&&await ee("",U.value)}async function te(){A("update:value",null),await le()}function ue(e){V.value="",e&&(U.value=1,le())}function ne({option:e,handleClose:a}){if(Q.value){const l=e.value;return p(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(J.value)&&J.value.length>0){const e=J.value,a=e.indexOf(l.value);a>-1&&(e.splice(a,1),A("update:value",e.length>0?e:null))}}},{default:()=>p("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return p("div",l.label)}return n((()=>{G.value||le()})),(e,a)=>(i(),o(s(m),r({ref_key:"selectDynamicRef",ref:E},s(I),{value:s(B),"onUpdate:value":a[0]||(a[0]=e=>v(B)?B.value=e:null),remote:"",loading:K.value,"render-tag":ne,"menu-props":H,onSearch:s(ae),onClear:te,"onUpdate:show":ue}),{empty:c((()=>[f(j,r(s(I),{oldValue:J.value,loading:K.value,dynamicOptionInfo:s(R),fieldTitleList:W.value,optionList:_.value,isMultiple:s(Q),curPage:U.value,isLastPage:s(z),isShowWhole:s(q),onUpdateSelect:Y,onUpdatePage:Z}),null,16,["oldValue","loading","dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage","isShowWhole"])])),_:1},16,["value","loading","onSearch"]))}});export{A as default};
|
@@ -216,6 +216,9 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
216
216
|
type: StringConstructor;
|
217
217
|
default: string;
|
218
218
|
};
|
219
|
+
isDateDisabled: {
|
220
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
221
|
+
};
|
219
222
|
}, {
|
220
223
|
attrs: {
|
221
224
|
[x: string]: unknown;
|
@@ -248,6 +251,9 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
248
251
|
type: StringConstructor;
|
249
252
|
default: string;
|
250
253
|
};
|
254
|
+
isDateDisabled: {
|
255
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
256
|
+
};
|
251
257
|
}>> & {
|
252
258
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
253
259
|
}>>;
|
@@ -260,6 +266,7 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
260
266
|
isDateTime: import("vue").ComputedRef<boolean>;
|
261
267
|
formatRef: import("vue").ComputedRef<string>;
|
262
268
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
269
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
263
270
|
focus: () => any;
|
264
271
|
blur: () => any;
|
265
272
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -299,6 +306,9 @@ declare const DateInner: import("vue").DefineComponent<{
|
|
299
306
|
type: StringConstructor;
|
300
307
|
default: string;
|
301
308
|
};
|
309
|
+
isDateDisabled: {
|
310
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
311
|
+
};
|
302
312
|
}>> & {
|
303
313
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
304
314
|
}, {
|
@@ -506,6 +516,9 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
506
516
|
type: StringConstructor;
|
507
517
|
default: string;
|
508
518
|
};
|
519
|
+
isDateDisabled: {
|
520
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
521
|
+
};
|
509
522
|
}, {
|
510
523
|
attrs: {
|
511
524
|
[x: string]: unknown;
|
@@ -538,6 +551,9 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
538
551
|
type: StringConstructor;
|
539
552
|
default: string;
|
540
553
|
};
|
554
|
+
isDateDisabled: {
|
555
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
556
|
+
};
|
541
557
|
}>> & {
|
542
558
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
543
559
|
}>>;
|
@@ -550,6 +566,7 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
550
566
|
isDateTime: import("vue").ComputedRef<boolean>;
|
551
567
|
formatRef: import("vue").ComputedRef<string>;
|
552
568
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
569
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
553
570
|
focus: () => any;
|
554
571
|
blur: () => any;
|
555
572
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -589,6 +606,9 @@ declare const DateOut: import("vue").DefineComponent<{
|
|
589
606
|
type: StringConstructor;
|
590
607
|
default: string;
|
591
608
|
};
|
609
|
+
isDateDisabled: {
|
610
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
611
|
+
};
|
592
612
|
}>> & {
|
593
613
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
594
614
|
}, {
|
@@ -758,6 +778,9 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
758
778
|
type: StringConstructor;
|
759
779
|
default: string;
|
760
780
|
};
|
781
|
+
isDateDisabled: {
|
782
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
783
|
+
};
|
761
784
|
}, {
|
762
785
|
attrs: {
|
763
786
|
[x: string]: unknown;
|
@@ -790,6 +813,9 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
790
813
|
type: StringConstructor;
|
791
814
|
default: string;
|
792
815
|
};
|
816
|
+
isDateDisabled: {
|
817
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
818
|
+
};
|
793
819
|
}>> & {
|
794
820
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
795
821
|
}>>;
|
@@ -802,6 +828,7 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
802
828
|
isDateTime: import("vue").ComputedRef<boolean>;
|
803
829
|
formatRef: import("vue").ComputedRef<string>;
|
804
830
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
831
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
805
832
|
focus: () => any;
|
806
833
|
blur: () => any;
|
807
834
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -841,6 +868,9 @@ declare const DateRangeInner: import("vue").DefineComponent<{
|
|
841
868
|
type: StringConstructor;
|
842
869
|
default: string;
|
843
870
|
};
|
871
|
+
isDateDisabled: {
|
872
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
873
|
+
};
|
844
874
|
}>> & {
|
845
875
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
846
876
|
}, {
|
@@ -1055,6 +1085,9 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
1055
1085
|
type: StringConstructor;
|
1056
1086
|
default: string;
|
1057
1087
|
};
|
1088
|
+
isDateDisabled: {
|
1089
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1090
|
+
};
|
1058
1091
|
}, {
|
1059
1092
|
attrs: {
|
1060
1093
|
[x: string]: unknown;
|
@@ -1087,6 +1120,9 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
1087
1120
|
type: StringConstructor;
|
1088
1121
|
default: string;
|
1089
1122
|
};
|
1123
|
+
isDateDisabled: {
|
1124
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1125
|
+
};
|
1090
1126
|
}>> & {
|
1091
1127
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1092
1128
|
}>>;
|
@@ -1099,6 +1135,7 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
1099
1135
|
isDateTime: import("vue").ComputedRef<boolean>;
|
1100
1136
|
formatRef: import("vue").ComputedRef<string>;
|
1101
1137
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
1138
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
1102
1139
|
focus: () => any;
|
1103
1140
|
blur: () => any;
|
1104
1141
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -1138,6 +1175,9 @@ declare const DateRangeOut: import("vue").DefineComponent<{
|
|
1138
1175
|
type: StringConstructor;
|
1139
1176
|
default: string;
|
1140
1177
|
};
|
1178
|
+
isDateDisabled: {
|
1179
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1180
|
+
};
|
1141
1181
|
}>> & {
|
1142
1182
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1143
1183
|
}, {
|
@@ -529,6 +529,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
529
529
|
type: StringConstructor;
|
530
530
|
default: string;
|
531
531
|
};
|
532
|
+
isDateDisabled: {
|
533
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
534
|
+
};
|
532
535
|
}, {
|
533
536
|
attrs: {
|
534
537
|
[x: string]: unknown;
|
@@ -561,6 +564,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
561
564
|
type: StringConstructor;
|
562
565
|
default: string;
|
563
566
|
};
|
567
|
+
isDateDisabled: {
|
568
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
569
|
+
};
|
564
570
|
}>> & {
|
565
571
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
566
572
|
}>>;
|
@@ -573,6 +579,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
573
579
|
isDateTime: import("vue").ComputedRef<boolean>;
|
574
580
|
formatRef: import("vue").ComputedRef<string>;
|
575
581
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
582
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
576
583
|
focus: () => any;
|
577
584
|
blur: () => any;
|
578
585
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -612,6 +619,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
612
619
|
type: StringConstructor;
|
613
620
|
default: string;
|
614
621
|
};
|
622
|
+
isDateDisabled: {
|
623
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
624
|
+
};
|
615
625
|
}>> & {
|
616
626
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
617
627
|
}, {
|
@@ -833,6 +843,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
833
843
|
type: StringConstructor;
|
834
844
|
default: string;
|
835
845
|
};
|
846
|
+
isDateDisabled: {
|
847
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
848
|
+
};
|
836
849
|
}, {
|
837
850
|
attrs: {
|
838
851
|
[x: string]: unknown;
|
@@ -865,6 +878,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
865
878
|
type: StringConstructor;
|
866
879
|
default: string;
|
867
880
|
};
|
881
|
+
isDateDisabled: {
|
882
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
883
|
+
};
|
868
884
|
}>> & {
|
869
885
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
870
886
|
}>>;
|
@@ -877,6 +893,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
877
893
|
isDateTime: import("vue").ComputedRef<boolean>;
|
878
894
|
formatRef: import("vue").ComputedRef<string>;
|
879
895
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
896
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
880
897
|
focus: () => any;
|
881
898
|
blur: () => any;
|
882
899
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -916,6 +933,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
916
933
|
type: StringConstructor;
|
917
934
|
default: string;
|
918
935
|
};
|
936
|
+
isDateDisabled: {
|
937
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
938
|
+
};
|
919
939
|
}>> & {
|
920
940
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
921
941
|
}, {
|
@@ -1099,6 +1119,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
1099
1119
|
type: StringConstructor;
|
1100
1120
|
default: string;
|
1101
1121
|
};
|
1122
|
+
isDateDisabled: {
|
1123
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1124
|
+
};
|
1102
1125
|
}, {
|
1103
1126
|
attrs: {
|
1104
1127
|
[x: string]: unknown;
|
@@ -1131,6 +1154,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
1131
1154
|
type: StringConstructor;
|
1132
1155
|
default: string;
|
1133
1156
|
};
|
1157
|
+
isDateDisabled: {
|
1158
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1159
|
+
};
|
1134
1160
|
}>> & {
|
1135
1161
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1136
1162
|
}>>;
|
@@ -1143,6 +1169,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
1143
1169
|
isDateTime: import("vue").ComputedRef<boolean>;
|
1144
1170
|
formatRef: import("vue").ComputedRef<string>;
|
1145
1171
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
1172
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
1146
1173
|
focus: () => any;
|
1147
1174
|
blur: () => any;
|
1148
1175
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -1182,6 +1209,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
1182
1209
|
type: StringConstructor;
|
1183
1210
|
default: string;
|
1184
1211
|
};
|
1212
|
+
isDateDisabled: {
|
1213
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1214
|
+
};
|
1185
1215
|
}>> & {
|
1186
1216
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1187
1217
|
}, {
|
@@ -1410,6 +1440,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
1410
1440
|
type: StringConstructor;
|
1411
1441
|
default: string;
|
1412
1442
|
};
|
1443
|
+
isDateDisabled: {
|
1444
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1445
|
+
};
|
1413
1446
|
}, {
|
1414
1447
|
attrs: {
|
1415
1448
|
[x: string]: unknown;
|
@@ -1442,6 +1475,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
1442
1475
|
type: StringConstructor;
|
1443
1476
|
default: string;
|
1444
1477
|
};
|
1478
|
+
isDateDisabled: {
|
1479
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1480
|
+
};
|
1445
1481
|
}>> & {
|
1446
1482
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1447
1483
|
}>>;
|
@@ -1454,6 +1490,7 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
1454
1490
|
isDateTime: import("vue").ComputedRef<boolean>;
|
1455
1491
|
formatRef: import("vue").ComputedRef<string>;
|
1456
1492
|
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
1493
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
1457
1494
|
focus: () => any;
|
1458
1495
|
blur: () => any;
|
1459
1496
|
handleConfirm: (target: HTMLInputElement) => void;
|
@@ -1493,6 +1530,9 @@ export declare const WidgetCfgMaps: Map<string, {
|
|
1493
1530
|
type: StringConstructor;
|
1494
1531
|
default: string;
|
1495
1532
|
};
|
1533
|
+
isDateDisabled: {
|
1534
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
1535
|
+
};
|
1496
1536
|
}>> & {
|
1497
1537
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
1498
1538
|
}, {
|
@@ -1 +1 @@
|
|
1
|
-
var e="@cnhis-design-vue/shared",
|
1
|
+
var e="@cnhis-design-vue/shared",s="3.2.15-release.5",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.15-release.5",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};
|
@@ -79,6 +79,10 @@ export declare namespace LowCodeTypes {
|
|
79
79
|
notRequiredField: string[];
|
80
80
|
enabledField: string[];
|
81
81
|
disabledField: string[];
|
82
|
+
setValueField: {
|
83
|
+
field?: string;
|
84
|
+
value?: unknown;
|
85
|
+
}[];
|
82
86
|
__oppositeBindField: reactionConfig;
|
83
87
|
__oppositeTargetField: reactionConfig;
|
84
88
|
}>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "cnhis-design-vue",
|
3
|
-
"version": "3.2.15-
|
3
|
+
"version": "3.2.15-release.5",
|
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": "62eba09083825f9b7bbaede9b9b1febdf9173548"
|
76
76
|
}
|