cnhis-design-vue 3.1.46-beta.32 → 3.1.46-beta.34
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/button-print/src/utils/print.js +1 -1
- package/es/components/form-config/index.d.ts +2 -2
- package/es/components/form-config/src/FormConfig.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +1 -1
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +3 -2
- package/es/components/iho-table/src/utils/index.d.ts +1 -1
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/info-header/index.d.ts +2 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +2 -2
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/search-cascader/src/components/SearchMenu.js +1 -1
- package/es/components/select-person/index.d.ts +20 -23
- package/es/components/select-person/src/SelectPerson.vue.d.ts +20 -23
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/tapableLess.d.ts +28 -0
- package/es/shared/utils/tapableLess.js +1 -0
- package/package.json +2 -2
- package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
- package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as l,computed as t,watch as n,openBlock as a,createBlock as u,unref as i,withCtx as r,createVNode as c,createCommentVNode as o,withKeys as s,createTextVNode as d,toDisplayString as h,withDirectives as v,vShow as p,createElementBlock as f,Fragment as y,mergeProps as k,createElementVNode as m,renderList as g}from"vue";import{NGrid as b,NGi as _,NSpace as C,NInputGroup as w,NInput as L,NIcon as S,NButton as x,NCheckbox as j,NTree as T,NTooltip as N}from"naive-ui";import{CloseCircleSharp as I}from"@vicons/ionicons5";import{searchFilterTree as
|
|
1
|
+
import{defineComponent as e,ref as l,computed as t,watch as n,openBlock as a,createBlock as u,unref as i,withCtx as r,createVNode as c,createCommentVNode as o,withKeys as s,createTextVNode as d,toDisplayString as h,withDirectives as v,vShow as p,createElementBlock as f,Fragment as y,mergeProps as k,createElementVNode as m,renderList as g}from"vue";import{NGrid as b,NGi as _,NSpace as C,NInputGroup as w,NInput as L,NIcon as S,NButton as x,NCheckbox as j,NTree as T,NTooltip as N}from"naive-ui";import{CloseCircleSharp as I}from"@vicons/ionicons5";import{searchFilterTree as F,getExpandedKeys as O}from"./utils/index.js";import{cloneDeep as D}from"lodash-es";import{SearchTypeConfig as $}from"./types/enums.js";import E from"./SearchMultiple.vue.js";import K from"./SearchOrgAndStaff.vue.js";const q={key:0},A={class:"c-select-person__scroll",style:{height:"342px"}};var B=e({__name:"SelectPerson",props:{defaultList:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},searchPlaceholder:{type:String,default:"输入关键字搜索"},searchButtonText:{type:String,default:"搜索"},wordbook:{type:Object,default:()=>({})},wordbookChild:{type:Object,default:()=>({})},showCount:{type:Boolean,default:!0},showClear:{type:Boolean,default:!0},multiple:{type:Boolean,default:!0},searchInner:{type:Boolean,default:!1},searchFilter:{type:Object,default:()=>({})},treeSetting:{type:Object,default:()=>({})},queryLoadChildData:{type:Function,default:void 0},queryTreeSearch:{type:Function,default:()=>Promise.resolve([])}},emits:["check","checkWithLevel"],setup(e,{expose:B,emit:P}){const R=e,U={isOpen:!1,multiple:!1,customTitles:["联系人","部门"],itemHeight:250},H=l(""),W=l(!1),G=l([]),z=l([]),M=l([]),J=l([]),Q=l([]),V=l(!1),X=D(function e(l){return l.forEach((l=>{var t;if(null==(t=l.children)?void 0:t.length){const t=se(l.children,[]);l.innerItemsNum=t.length,l.innerLeafs=t,e(l.children)}})),de(l,"")}(R.data));let Y=[];const Z=t((()=>!!R.queryLoadChildData)),ee=t((()=>{var e,l;return null!=(l=null==(e=null==R?void 0:R.treeSetting)?void 0:e.checkStrategy)?l:"child"})),le=t((()=>(null==R?void 0:R.searchFilter)&&Object.keys(null==R?void 0:R.searchFilter).length>0)),te=t((()=>le.value?{...D(U),...R.searchFilter}:D(U))),ne=t((()=>{let e=[];return G.value.forEach((l=>{for(let t=0;t<J.value.length;t++){const n=J.value[t];if(n.key==l){e.push(n);break}}})),e}));function ae(e){e.disabled||e.children||!e.key||Y.push(e.key)}function ue(e){e.disabled||e.tempTitle||!e.key||Y.push(e.key)}async function ie(e){if(R.queryLoadChildData){const l=await R.queryLoadChildData(e);return l.children&&(l.children=l.children.map((e=>({...e,tempTitle:l.tempTitle?`${l.title}/${l.tempTitle}`:l.title})))),l}return e}function re(e){var l;(null==(l=e.children)?void 0:l.every((e=>e.disabled)))&&(e.disabled=!0)}function ce({option:e}){var l;if((null==(l=e.children)?void 0:l.length)||Z.value&&!(null==e?void 0:e.isLeaf)){const l=R.wordbook.user_count_obj&&e[R.wordbook.user_count_obj]||"",t=l?`(${l})`:"";return c("span",null,[`${e.title}${t}`])}return c(N,{trigger:"hover"},{default:()=>c("span",null,[e.title]),trigger:()=>c("span",null,[e.title])})}function oe(e){return e[R.wordbookChild.user_name_obj]||e[R.wordbook.parent_name_obj]||e.orgName||e.title||""}function se(e,l){return e.forEach((e=>{var t;(null==(t=e.children)?void 0:t.length)?se(e.children,l):!e.disabled&&l.push(e)})),l}function de(e,l){return e&&0!==e.length?e.map((e=>{var t;const n=oe(e),a=l?`${n}/${l}`:n;return{...e,tempTitle:l,children:(null==(t=e.children)?void 0:t.length)?de(null==e?void 0:e.children,a):[]}})):[]}async function he(){if(V.value=!!H.value.trim(),Z.value)M.value=await R.queryTreeSearch(H.value);else{const e=function(){const e={[$.SEARCH_ORG_STAFF]:le.value,[$.SEARCH_ORG]:R.searchInner},l=Object.keys(e).find((l=>e[l]));return null!=l?l:""}();M.value=F(e,X,H.value)}z.value=M.value.length&&H.value?O(M.value):[]}function ve(e,l){var t,n;switch(null!=(n=null==(t=null==R?void 0:R.treeSetting)?void 0:t.checkStrategy)?n:"child"){case"child":!function(e,l){for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&(!n.children||n.isLeaf)&&(l&&!G.value.includes(n.key)&&G.value.push(n.key),!l)){const e=G.value.findIndex((e=>e===n.key));G.value.splice(e,1)}n.children&&ve(n.children,l)}}(e,l);break;case"parent":!function(e,l){G.value=[];for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&!n.tempTitle&&(l&&!G.value.includes(n.key)&&G.value.push(n.key),!l)){const e=G.value.findIndex((e=>e===n.key));G.value.splice(e,1)}}}(e,l)}}function pe(e){ve(M.value,e)}function fe(e){var l;for(let t=0,n=e.length;t<n;t++){const n=e[t],a=Q.value.map((e=>e.key));G.value.includes(n.key)&&!a.includes(n.key)&&J.value.push({key:n.key,name:n.title,parentName:n.tempTitle,innerItemsNum:n.innerItemsNum,innerLeafs:n.innerLeafs}),(null==(l=n.children)?void 0:l.length)&&fe(n.children)}}function ye(e){G.value=e}function ke(){G.value=[]}function me(e){G.value=e}function ge(){H.value="",setTimeout((()=>{he()}))}return function e(l,t){var n,a,u,i;for(let r=0,c=l.length;r<c;r++){const c=l[r];switch(c.title=oe(c),c.label=oe(c),c.parentNode=t,c.key||(c.key=c[R.wordbookChild.user_id_obj]||c[R.wordbook.parent_id_obj]||Date.now()),(null==(n=c.children)?void 0:n.length)?(e(c.children,c),re(c)):0===(null==(a=c.children)?void 0:a.length)&&Reflect.deleteProperty(c,"children"),null!=(i=null==(u=null==R?void 0:R.treeSetting)?void 0:u.checkStrategy)?i:"child"){case"child":ae(c);break;case"parent":ue(c)}}}(X,null),M.value=X,R.defaultList.length>0&&(Z.value?(R.defaultList.forEach((e=>G.value.push(e.key))),J.value=D(R.defaultList),Q.value=D(R.defaultList)):(R.defaultList.forEach((e=>G.value.push(e))),fe(X))),n((()=>G),(e=>{J.value=Q.value.filter((l=>e.value.includes(l.key))),e.value.length&&fe(Z.value?M.value:X),W.value=Y.every((e=>J.value.findIndex((l=>l.key===e))>-1));const l=J.value.filter((l=>e.value.includes(l.key)));P("check",e.value),P("checkWithLevel",l)}),{deep:!0}),n((()=>H.value),(e=>{e||ge()})),B({getCheckWithLevel:function(){const e=G.value,l=J.value.filter((l=>e.includes(l.key)));return null!=l?l:[]}}),(l,t)=>(a(),u(i(b),{cols:2,class:"c-select-person"},{default:r((()=>[c(i(_),null,{default:r((()=>[c(i(C),{vertical:"",style:{"padding-right":"12px","border-right":"1px solid #e8e8e8"}},{default:r((()=>[c(i(w),{style:{"margin-bottom":"12px"}},{default:r((()=>[o(" clearable "),c(i(L),{class:"search-input",value:H.value,"onUpdate:value":t[0]||(t[0]=e=>H.value=e),placeholder:e.searchPlaceholder,onKeyup:s(he,["enter"])},{suffix:r((()=>[H.value?(a(),u(i(S),{key:0,class:"search-clear",component:i(I),size:"16",onClick:ge},null,8,["component"])):o("v-if",!0)])),_:1},8,["value","placeholder","onKeyup"]),c(i(x),{type:"primary",onClick:he},{default:r((()=>[d(h(e.searchButtonText),1)])),_:1})])),_:1}),e.multiple&&!V.value?v((a(),u(i(j),{key:0,checked:W.value,"onUpdate:checked":[t[1]||(t[1]=e=>W.value=e),pe]},{default:r((()=>[d(" 全选 ")])),_:1},8,["checked"])),[[p,i(Y).length<1e3]]):o("v-if",!0),o(" 支持选人 "),e.searchInner&&e.multiple&&V.value&&"parent"===i(ee)?(a(),u(E,{key:1,treeData:M.value,checkedKeys:G.value,onNotifyCheck:me},null,8,["treeData","checkedKeys"])):i(le)&&e.multiple&&V.value&&"parent"===i(ee)?(a(),f(y,{key:2},[o(" 同时兼容选人和选部门 "),c(K,{treeData:M.value,checkedKeys:G.value,searchFilter:i(te),onNotifyCheck:me,onNotifyClear:ge},null,8,["treeData","checkedKeys","searchFilter"])],2112)):(a(),u(i(T),k({key:3,"virtual-scroll":"",class:"c-select-person__scroll","checked-keys":G.value,"expanded-keys":z.value,"onUpdate:expanded-keys":t[2]||(t[2]=e=>z.value=e),checkable:e.multiple,cascade:"","allow-checking-not-loaded":"",selectable:!e.multiple,"selected-keys":G.value,"onUpdate:selected-keys":t[3]||(t[3]=e=>G.value=e),data:M.value,"check-strategy":"child","render-label":ce},e.treeSetting,{"onUpdate:checkedKeys":ye,onLoad:ie}),null,16,["checked-keys","expanded-keys","checkable","selectable","selected-keys","data"]))])),_:1})])),_:1}),c(i(_),null,{default:r((()=>[c(i(C),{vertical:"",style:{"padding-left":"12px"}},{default:r((()=>[c(i(C),{justify:"space-between",style:{"margin-bottom":"20px"}},{default:r((()=>[e.showCount?(a(),f("span",q,"已选择:"+h(i(ne).length),1)):o("v-if",!0),e.showClear?(a(),f("span",{key:1,class:"c-select-person__clear-btn",onClick:ke},"清空")):o("v-if",!0)])),_:1}),m("div",A,[(a(!0),f(y,null,g(i(ne),(e=>(a(),f("span",{class:"c-select-person__tag-item",key:e.key},[d(h(e.name)+" "+h(e.parentName?`(${e.parentName})`:"")+" "+h(e.innerItemsNum?`(${e.innerItemsNum}人)`:"")+" ",1),c(i(S),{class:"tag-close",component:i(I),onClick:l=>function(e){G.value=G.value.filter((l=>l!==e.key))}(e)},null,8,["component","onClick"])])))),128))])])),_:1})])),_:1})])),_:1}))}});export{B as default};
|
|
@@ -2184,7 +2184,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2184
2184
|
"x-read-pretty"?: boolean | undefined;
|
|
2185
2185
|
"x-compile-omitted"?: string[] | undefined;
|
|
2186
2186
|
}>>;
|
|
2187
|
-
onKeydown: (event: KeyboardEvent) => void
|
|
2187
|
+
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
2188
2188
|
clearSpan: (uuid: string) => void;
|
|
2189
2189
|
exposeEvent: {
|
|
2190
2190
|
validate(path?: string): Promise<void>;
|
|
@@ -2186,7 +2186,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2186
2186
|
"x-read-pretty"?: boolean | undefined;
|
|
2187
2187
|
"x-compile-omitted"?: string[] | undefined;
|
|
2188
2188
|
}>>;
|
|
2189
|
-
onKeydown: (event: KeyboardEvent) => void
|
|
2189
|
+
onKeydown: (event: KeyboardEvent) => Promise<void>;
|
|
2190
2190
|
clearSpan: (uuid: string) => void;
|
|
2191
2191
|
exposeEvent: {
|
|
2192
2192
|
validate(path?: string): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="@cnhis-design-vue/shared",i="3.1.46-beta.
|
|
1
|
+
var e="@cnhis-design-vue/shared",i="3.1.46-beta.34",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.34",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};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare type PluginName = string | {
|
|
2
|
+
name: string;
|
|
3
|
+
stage: number;
|
|
4
|
+
};
|
|
5
|
+
declare type WithStage<T extends (...p: any[]) => any> = {
|
|
6
|
+
stage: number;
|
|
7
|
+
callback: T;
|
|
8
|
+
};
|
|
9
|
+
declare type ReplaceWithString<T extends any[]> = T extends [infer A, ...infer R] ? [string, ...ReplaceWithString<R>] : T;
|
|
10
|
+
export declare class SyncHook<T extends any[]> {
|
|
11
|
+
private args;
|
|
12
|
+
constructor(args: ReplaceWithString<T>);
|
|
13
|
+
callbackList: WithStage<(...payload: T) => any>[];
|
|
14
|
+
tap(pluginName: PluginName, callback: (...payload: T) => any): void;
|
|
15
|
+
tapPromise(pluginName: PluginName, callback: (...payload: T) => any): void;
|
|
16
|
+
call(...payload: T): void;
|
|
17
|
+
}
|
|
18
|
+
export declare class SyncWaterfallHook<T extends any[]> extends SyncHook<T> {
|
|
19
|
+
callbackList: WithStage<(...payload: T) => T[0]>[];
|
|
20
|
+
call(...payload: T): T[0];
|
|
21
|
+
}
|
|
22
|
+
export declare class AsyncParallelHook<T extends any[]> extends SyncHook<T> {
|
|
23
|
+
promise(...payload: T): void;
|
|
24
|
+
}
|
|
25
|
+
export declare class AsyncSeriesHook<T extends any[]> extends SyncHook<T> {
|
|
26
|
+
promise(...payload: T): Promise<void>;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isObject as a}from"@vueuse/core";import{isString as s,sortBy as c}from"lodash-es";class l{constructor(a){this.args=a,this.callbackList=[]}tap(l,t){var i;if(s(l))this.callbackList.push({stage:0,callback:t});else{if(!a(l))return;this.callbackList.push({stage:null!=(i=l.stage)?i:0,callback:t})}this.callbackList=c(this.callbackList,(a=>a.stage))}tapPromise(l,t){var i;if(s(l))this.callbackList.push({stage:0,callback:t});else{if(!a(l))return;this.callbackList.push({stage:null!=(i=l.stage)?i:0,callback:t})}this.callbackList=c(this.callbackList,(a=>a.stage))}call(...a){this.callbackList.forEach((({callback:s})=>s(...a)))}}class t extends l{constructor(){super(...arguments),this.callbackList=[]}call(...a){return this.callbackList.reduce(((s,{callback:c})=>c(s,...a.slice(1))),a[0])}}class i extends l{promise(...a){this.callbackList.forEach((({callback:s})=>s(...a)))}}class e extends l{promise(...a){return this.callbackList.reduce((async(s,{callback:c})=>(await s,c(...a))),Promise.resolve())}}export{i as AsyncParallelHook,e as AsyncSeriesHook,l as SyncHook,t as SyncWaterfallHook};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cnhis-design-vue",
|
|
3
|
-
"version": "3.1.46-beta.
|
|
3
|
+
"version": "3.1.46-beta.34",
|
|
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": "
|
|
64
|
+
"gitHead": "e24d24399cb450d804c50d41e041e93ba460ee30"
|
|
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,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");
|
|
@@ -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");
|