cnhis-design-vue 3.1.46-beta.37 → 3.1.46-beta.38
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/form-config/index.d.ts +7 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +7 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -0
- package/es/components/form-render/src/components/renderer/levelSearchCascader.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +4 -0
- package/es/components/form-render/src/components/renderer/select.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/shortcut-setter/index.d.ts +1 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -0
- 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
|
@@ -135,6 +135,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
135
135
|
render_key?: string[] | undefined;
|
|
136
136
|
search_key?: string[] | undefined;
|
|
137
137
|
value_key?: string | undefined;
|
|
138
|
+
queryParams?: string[] | undefined;
|
|
138
139
|
primary_key?: string | undefined;
|
|
139
140
|
type?: string | undefined;
|
|
140
141
|
level_key?: string | undefined;
|
|
@@ -1854,6 +1855,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1854
1855
|
render_key?: string[] | undefined;
|
|
1855
1856
|
search_key?: string[] | undefined;
|
|
1856
1857
|
value_key?: string | undefined;
|
|
1858
|
+
queryParams?: string[] | undefined;
|
|
1857
1859
|
primary_key?: string | undefined;
|
|
1858
1860
|
type?: string | undefined;
|
|
1859
1861
|
level_key?: string | undefined;
|
|
@@ -3582,6 +3584,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3582
3584
|
render_key?: string[] | undefined;
|
|
3583
3585
|
search_key?: string[] | undefined;
|
|
3584
3586
|
value_key?: string | undefined;
|
|
3587
|
+
queryParams?: string[] | undefined;
|
|
3585
3588
|
primary_key?: string | undefined;
|
|
3586
3589
|
type?: string | undefined;
|
|
3587
3590
|
level_key?: string | undefined;
|
|
@@ -5301,6 +5304,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
5301
5304
|
render_key?: string[] | undefined;
|
|
5302
5305
|
search_key?: string[] | undefined;
|
|
5303
5306
|
value_key?: string | undefined;
|
|
5307
|
+
queryParams?: string[] | undefined;
|
|
5304
5308
|
primary_key?: string | undefined;
|
|
5305
5309
|
type?: string | undefined;
|
|
5306
5310
|
level_key?: string | undefined;
|
|
@@ -7996,6 +8000,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7996
8000
|
render_key?: string[] | undefined;
|
|
7997
8001
|
search_key?: string[] | undefined;
|
|
7998
8002
|
value_key?: string | undefined;
|
|
8003
|
+
queryParams?: string[] | undefined;
|
|
7999
8004
|
primary_key?: string | undefined;
|
|
8000
8005
|
type?: string | undefined;
|
|
8001
8006
|
level_key?: string | undefined;
|
|
@@ -9726,6 +9731,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9726
9731
|
render_key?: string[] | undefined;
|
|
9727
9732
|
search_key?: string[] | undefined;
|
|
9728
9733
|
value_key?: string | undefined;
|
|
9734
|
+
queryParams?: string[] | undefined;
|
|
9729
9735
|
primary_key?: string | undefined;
|
|
9730
9736
|
type?: string | undefined;
|
|
9731
9737
|
level_key?: string | undefined;
|
|
@@ -11429,6 +11435,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
11429
11435
|
render_key?: string[] | undefined;
|
|
11430
11436
|
search_key?: string[] | undefined;
|
|
11431
11437
|
value_key?: string | undefined;
|
|
11438
|
+
queryParams?: string[] | undefined;
|
|
11432
11439
|
primary_key?: string | undefined;
|
|
11433
11440
|
type?: string | undefined;
|
|
11434
11441
|
level_key?: string | undefined;
|
|
@@ -137,6 +137,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
137
|
render_key?: string[] | undefined;
|
|
138
138
|
search_key?: string[] | undefined;
|
|
139
139
|
value_key?: string | undefined;
|
|
140
|
+
queryParams?: string[] | undefined;
|
|
140
141
|
primary_key?: string | undefined;
|
|
141
142
|
type?: string | undefined;
|
|
142
143
|
level_key?: string | undefined;
|
|
@@ -1856,6 +1857,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1856
1857
|
render_key?: string[] | undefined;
|
|
1857
1858
|
search_key?: string[] | undefined;
|
|
1858
1859
|
value_key?: string | undefined;
|
|
1860
|
+
queryParams?: string[] | undefined;
|
|
1859
1861
|
primary_key?: string | undefined;
|
|
1860
1862
|
type?: string | undefined;
|
|
1861
1863
|
level_key?: string | undefined;
|
|
@@ -3584,6 +3586,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3584
3586
|
render_key?: string[] | undefined;
|
|
3585
3587
|
search_key?: string[] | undefined;
|
|
3586
3588
|
value_key?: string | undefined;
|
|
3589
|
+
queryParams?: string[] | undefined;
|
|
3587
3590
|
primary_key?: string | undefined;
|
|
3588
3591
|
type?: string | undefined;
|
|
3589
3592
|
level_key?: string | undefined;
|
|
@@ -5303,6 +5306,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5303
5306
|
render_key?: string[] | undefined;
|
|
5304
5307
|
search_key?: string[] | undefined;
|
|
5305
5308
|
value_key?: string | undefined;
|
|
5309
|
+
queryParams?: string[] | undefined;
|
|
5306
5310
|
primary_key?: string | undefined;
|
|
5307
5311
|
type?: string | undefined;
|
|
5308
5312
|
level_key?: string | undefined;
|
|
@@ -7998,6 +8002,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7998
8002
|
render_key?: string[] | undefined;
|
|
7999
8003
|
search_key?: string[] | undefined;
|
|
8000
8004
|
value_key?: string | undefined;
|
|
8005
|
+
queryParams?: string[] | undefined;
|
|
8001
8006
|
primary_key?: string | undefined;
|
|
8002
8007
|
type?: string | undefined;
|
|
8003
8008
|
level_key?: string | undefined;
|
|
@@ -9728,6 +9733,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9728
9733
|
render_key?: string[] | undefined;
|
|
9729
9734
|
search_key?: string[] | undefined;
|
|
9730
9735
|
value_key?: string | undefined;
|
|
9736
|
+
queryParams?: string[] | undefined;
|
|
9731
9737
|
primary_key?: string | undefined;
|
|
9732
9738
|
type?: string | undefined;
|
|
9733
9739
|
level_key?: string | undefined;
|
|
@@ -11431,6 +11437,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11431
11437
|
render_key?: string[] | undefined;
|
|
11432
11438
|
search_key?: string[] | undefined;
|
|
11433
11439
|
value_key?: string | undefined;
|
|
11440
|
+
queryParams?: string[] | undefined;
|
|
11434
11441
|
primary_key?: string | undefined;
|
|
11435
11442
|
type?: string | undefined;
|
|
11436
11443
|
level_key?: string | undefined;
|
|
@@ -90,6 +90,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
90
|
render_key?: string[] | undefined;
|
|
91
91
|
search_key?: string[] | undefined;
|
|
92
92
|
value_key?: string | undefined;
|
|
93
|
+
queryParams?: string[] | undefined;
|
|
93
94
|
primary_key?: string | undefined;
|
|
94
95
|
type?: string | undefined;
|
|
95
96
|
level_key?: string | undefined;
|
|
@@ -1820,6 +1821,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1820
1821
|
render_key?: string[] | undefined;
|
|
1821
1822
|
search_key?: string[] | undefined;
|
|
1822
1823
|
value_key?: string | undefined;
|
|
1824
|
+
queryParams?: string[] | undefined;
|
|
1823
1825
|
primary_key?: string | undefined;
|
|
1824
1826
|
type?: string | undefined;
|
|
1825
1827
|
level_key?: string | undefined;
|
|
@@ -3523,6 +3525,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3523
3525
|
render_key?: string[] | undefined;
|
|
3524
3526
|
search_key?: string[] | undefined;
|
|
3525
3527
|
value_key?: string | undefined;
|
|
3528
|
+
queryParams?: string[] | undefined;
|
|
3526
3529
|
primary_key?: string | undefined;
|
|
3527
3530
|
type?: string | undefined;
|
|
3528
3531
|
level_key?: string | undefined;
|
|
@@ -34,6 +34,7 @@ export declare const LEVEL_SEARCH_CASCADER: import("vue").DefineComponent<{
|
|
|
34
34
|
render_key: string[];
|
|
35
35
|
search_key: string[];
|
|
36
36
|
value_key: string;
|
|
37
|
+
queryParams: string[];
|
|
37
38
|
primary_key: string;
|
|
38
39
|
type: string;
|
|
39
40
|
level_key: string;
|
|
@@ -88,6 +89,7 @@ export declare const LEVEL_SEARCH_CASCADER: import("vue").DefineComponent<{
|
|
|
88
89
|
render_key: string[];
|
|
89
90
|
search_key: string[];
|
|
90
91
|
value_key: string;
|
|
92
|
+
queryParams: string[];
|
|
91
93
|
primary_key: string;
|
|
92
94
|
type: string;
|
|
93
95
|
level_key: string;
|
|
@@ -35,6 +35,7 @@ export declare const RADIO: import("vue").DefineComponent<{
|
|
|
35
35
|
render_key: string[];
|
|
36
36
|
search_key: string[];
|
|
37
37
|
value_key: string;
|
|
38
|
+
queryParams: string[];
|
|
38
39
|
primary_key: string;
|
|
39
40
|
type: string;
|
|
40
41
|
level_key: string;
|
|
@@ -96,6 +97,7 @@ export declare const RADIO: import("vue").DefineComponent<{
|
|
|
96
97
|
render_key: string[];
|
|
97
98
|
search_key: string[];
|
|
98
99
|
value_key: string;
|
|
100
|
+
queryParams: string[];
|
|
99
101
|
primary_key: string;
|
|
100
102
|
type: string;
|
|
101
103
|
level_key: string;
|
|
@@ -169,6 +171,7 @@ export declare const CHECKBOX: import("vue").DefineComponent<{
|
|
|
169
171
|
render_key: string[];
|
|
170
172
|
search_key: string[];
|
|
171
173
|
value_key: string;
|
|
174
|
+
queryParams: string[];
|
|
172
175
|
primary_key: string;
|
|
173
176
|
type: string;
|
|
174
177
|
level_key: string;
|
|
@@ -230,6 +233,7 @@ export declare const CHECKBOX: import("vue").DefineComponent<{
|
|
|
230
233
|
render_key: string[];
|
|
231
234
|
search_key: string[];
|
|
232
235
|
value_key: string;
|
|
236
|
+
queryParams: string[];
|
|
233
237
|
primary_key: string;
|
|
234
238
|
type: string;
|
|
235
239
|
level_key: string;
|
|
@@ -43,6 +43,7 @@ export declare const SELECT: import("vue").DefineComponent<{
|
|
|
43
43
|
render_key: string[];
|
|
44
44
|
search_key: string[];
|
|
45
45
|
value_key: string;
|
|
46
|
+
queryParams: string[];
|
|
46
47
|
primary_key: string;
|
|
47
48
|
type: string;
|
|
48
49
|
level_key: string;
|
|
@@ -124,6 +125,7 @@ export declare const SELECT: import("vue").DefineComponent<{
|
|
|
124
125
|
render_key: string[];
|
|
125
126
|
search_key: string[];
|
|
126
127
|
value_key: string;
|
|
128
|
+
queryParams: string[];
|
|
127
129
|
primary_key: string;
|
|
128
130
|
type: string;
|
|
129
131
|
level_key: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{checkInSetupEnv as e,jsonParse as n}from"../../../../shared/utils/index.js";import{useMemoize as
|
|
1
|
+
import{checkInSetupEnv as e,jsonParse as n}from"../../../../shared/utils/index.js";import{useForm as t}from"@formily/vue";import{useMemoize as l,useDebounceFn as u}from"@vueuse/core";import{identity as o,uniqBy as r,isString as a,isEqual as i,omit as c,isArray as s,isFunction as v}from"lodash-es";import{computed as m,inject as f,ref as d,toRaw as y,watch as p}from"vue";import"../../index.js";import{InjectionAsyncQueue as h,InjectionFormLifeCycleCaller as g,InjectionFormItemDepsCollector as w}from"../constants/index.js";import{createUrlConfigParams as k,formRenderLog as b,keywordMatcher as R}from"../utils/index.js";import{useFormField as C}from"./useFormField.js";import{useFormRequest as F}from"./useFormRequest.js";function K(e,n){const t=d();return m({get:()=>t.value?t.value:e[n],set(e){t.value=e}})}const q=(()=>{const e=l((e=>new RegExp(`(.*)${e.split("").map((e=>`(${function(e){return e.match(/[()\[\]{}$^\/]/)?"\\"+e:e}(e)})`)).join("(.*)")}(.*)`)),{getKey:o});return(n,t)=>t.match(e(n))})();function O(){const e=d();return{searchContent:e,optionSearchFilter:function(n,t,l){if(!e.value)return n;const u=s(l)?l.filter((e=>e&&a(e))):[];return n.filter((n=>function(n,t,l){if(!e.value)return!0;const u=n?n[t]:"";return!!a(u)&&(!!q(e.value,u)||!!R(e.value,n.keyword)||!!l.length&&l.some((t=>a(n[t])&&n[t].includes(e.value))))}(n,t,u)))}}}function j(e,t,l,u,o){const a=K(e,"commonList"),i=K(e,"recentList"),{searchContent:s,optionSearchFilter:d}=O();function y(e){return n(e.itemObj)}const p=m((()=>{var e,n;return null!=(n=null==(e=a.value)?void 0:e.map(y))?n:[]})),g=m((()=>{var e,n;return null!=(n=null==(e=i.value)?void 0:e.map(y))?n:[]})),w=m((()=>{if(!e.recommend||!p.value.length&&!g.value.length)return t.value;const n=r(p.value.concat(g.value),(e=>e[o.value])),l=t.value.filter((e=>n.every((function(n){return n[o.value]!==e[o.value]}))));return[...d(n,u.value),...l]})),{getRecommendRequestInfo:k,getHttpInstance:b}=F();function R(n){const{url:t,getRecommendIds:l}=k(),u=v(l)?l():{},o=v(e.getRecommendInfo)?e.getRecommendInfo():{};return{url:t[n],info:Object.assign({},u,o)}}const{fieldKey:q}=C(),j=f(h);return{postRecommend:async function(n){if(!e.recommend)return;const t=b();if(!t)return;const{url:u,info:r}=R("post"),a=w.value.find((e=>e[o.value]===n));a&&l("postRecommend",await t.post(u,{...r,keyword:"",itemId:o.value,itemObj:JSON.stringify(a)}))},getRecommend:async function(n){if(!e.recommend)return;if(s.value=n,a.value&&i.value&&e.recommendCache)return;const t=await j.addAsync(function(n,t){const{url:l,info:u}=R("get");return{url:l,method:"get",key:n,cache:t,params:{...u,recNum:Math.max(e.commonNum,e.recentNum),keyword:""}}}(q.value,e.recommendCache)),{commonly:l,recently:u}=t.reduce(((e,n)=>("commonly"===n.type?e.commonly.push(c(n,["type"])):"recently"===n.type&&e.recently.push(c(n,["type"])),e)),{commonly:[],recently:[]});a.value=l.slice(0,e.commonNum),i.value=u.slice(0,e.recentNum)},sortedOptions:w}}function I(n,t){e();const l=f(h),o=f(g),r=m((()=>{var e,t,l;return null!=(l=null!=(t=null==(e=n.urlConfig)?void 0:e.nameKey)?t:n.labelField)?l:"text"})),c=m((()=>{var e,t,l;return null!=(l=null!=(t=null==(e=n.urlConfig)?void 0:e.valueKey)?t:n.valueField)?l:"value"})),{searchContent:s,optionSearchFilter:v}=O(),R=d(null),{field:F,fieldKey:K}=C(),q=u((async function(e){if(s.value=e||"",!n.urlConfig)return R.value=null;try{const e=await l.addAsync(await k({config:n.urlConfig,cache:n.requestCache,field:F.value}));y(R.value)!==e&&(R.value=e,o("afterOptionInit",[K.value,R.value]))}catch(e){a(e)&&b(e)}}),300),j=m((()=>R.value?v(R.value,r.value):Array.isArray(n.options)?v(n.options,r.value):[])),I=m((()=>R.value||n.options||[])),x=f(w);return p((()=>n.urlConfig),((e,l)=>{if(!i(e,l)){if(R.value=null,!e)return R.value=null;x.setDeps(K.value,e.dependKey||[],(async()=>{R.value=null,t.value=null,!n.lazyRequest&&await q()})),(t.value||!n.lazyRequest)&&q()}}),{immediate:!0}),{labelKey:r,valueKey:c,filterOptions:j,fullOptions:I,fetchData:q}}function x(n,l){e();const o=f(h),r=f(g),c=t(),s=m((()=>{var e,t,l,u;return null!=(u=null!=(l=null==(t=null==(e=n.wordbook)?void 0:e.render_key)?void 0:t[0])?l:n.labelField)?u:"text"})),v=m((()=>{var e,t,l;return null!=(l=null!=(t=null==(e=n.wordbook)?void 0:e.value_key)?t:n.valueField)?l:"value"})),k=m((()=>{var e;return(null==(e=n.wordbook)?void 0:e.search_key)||[]})),{searchContent:R,optionSearchFilter:K}=O(),q=d(null),{fieldKey:j}=C(),{getSearchRequestInfo:I}=F(),x=u((async function(e){if(R.value=e||"",!n.autograph||!n.wordbook)return q.value=null;try{const e=await o.addAsync(function(e,t,l){var u,o,r;const a={autograph:t,wordbookId:e.id,wordbookType:e.type,fieldKeys:e.search_key,keyword:"",page:1};if(null==(u=e.queryParams)?void 0:u.length){const n=null!=(r=null==(o=c.value)?void 0:o.getFormState().values)?r:{};e.queryParams.forEach((e=>{a[e]=n[e]}))}return console.log(a),{...I(),params:a,key:l,cache:n.requestCache}}(n.wordbook,n.autograph,j.value));y(q.value)!==e&&(q.value=e,r("afterOptionInit",[j.value,q.value]))}catch(e){a(e)&&b(e)}}),300),A=m((()=>q.value?K(q.value,s.value,k.value):Array.isArray(n.options)?K(n.options,s.value):[])),S=m((()=>q.value||n.options||[])),N=f(w);return p((()=>n.wordbook),((e,t)=>{if(!i(e,t)){if(q.value=null,!e)return q.value=null;N.setDeps(j.value,e.queryParams||[],(async()=>{q.value=null,x()})),(l.value||!n.lazyRequest)&&x()}}),{immediate:!0}),{labelKey:s,valueKey:v,filterOptions:A,fullOptions:S,fetchData:x}}export{q as searchContentMatcher,x as useAutographOptions,j as useRecommendOptions,I as useUrlConfigOptions};
|
|
@@ -103,6 +103,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
103
103
|
render_key?: string[] | undefined;
|
|
104
104
|
search_key?: string[] | undefined;
|
|
105
105
|
value_key?: string | undefined;
|
|
106
|
+
queryParams?: string[] | undefined;
|
|
106
107
|
primary_key?: string | undefined;
|
|
107
108
|
type?: string | undefined;
|
|
108
109
|
level_key?: string | undefined;
|
|
@@ -105,6 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
105
|
render_key?: string[] | undefined;
|
|
106
106
|
search_key?: string[] | undefined;
|
|
107
107
|
value_key?: string | undefined;
|
|
108
|
+
queryParams?: string[] | undefined;
|
|
108
109
|
primary_key?: string | undefined;
|
|
109
110
|
type?: string | undefined;
|
|
110
111
|
level_key?: string | undefined;
|
|
@@ -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.38",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.38",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.38",
|
|
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": "b0c6e9c95c534f3783ee434cab104e02cb2b5e63"
|
|
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");
|