cnhis-design-vue 3.2.7-release.1 → 3.2.7-release.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. package/README.md +87 -87
  2. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  3. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  4. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  5. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  6. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  7. package/es/components/classification/index.d.ts +60 -5
  8. package/es/components/classification/src/components/search-filter/index.vue.d.ts +60 -5
  9. package/es/components/classification/src/components/set-classification/index.vue.d.ts +60 -5
  10. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  11. package/es/components/classification/src/index.vue.d.ts +60 -5
  12. package/es/components/date-picker/index.d.ts +13 -0
  13. package/es/components/date-picker/src/DatePicker.vue.d.ts +13 -0
  14. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  16. package/es/components/field-set/src/FieldColor.vue.d.ts +26 -0
  17. package/es/components/field-set/src/components/condition.vue.d.ts +13 -0
  18. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +26 -0
  19. package/es/components/field-set/src/components/edit-filter.vue.d.ts +13 -0
  20. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  21. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  22. package/es/components/form-render/src/types/index.d.ts +1 -1
  23. package/es/components/form-render/src/utils/business.js +1 -1
  24. package/es/components/form-render/src/utils/schema.d.ts +1 -1
  25. package/es/components/form-render/src/utils/schema.js +1 -1
  26. package/es/components/iho-chat/index.d.ts +171 -85
  27. package/es/components/iho-chat/src/Index.vue.d.ts +171 -85
  28. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  29. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +34 -13
  30. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  31. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +38 -13
  32. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  33. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +48 -14
  34. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
  35. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +9 -19
  36. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  37. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +13 -0
  38. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +3 -10
  39. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  40. package/es/components/iho-chat/src/components/ContextMenu.d.ts +5 -5
  41. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  42. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +47 -22
  43. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  44. package/es/components/iho-chat/src/hooks/useSearchUserList.d.ts +11 -0
  45. package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -0
  46. package/es/components/iho-chat/src/types/index.d.ts +0 -1
  47. package/es/components/iho-chat/style/index.css +1 -1
  48. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +13 -0
  49. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +13 -0
  50. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +20 -2
  51. package/es/components/index.css +1 -1
  52. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  53. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  54. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +13 -0
  55. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +13 -0
  56. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +13 -0
  57. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +13 -0
  58. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +47 -5
  59. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +13 -0
  60. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +13 -0
  61. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +37 -19
  62. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  63. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +47 -5
  64. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  65. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +47 -5
  66. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +13 -0
  67. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +13 -0
  68. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +13 -0
  69. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -0
  70. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +33 -18
  71. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  72. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +13 -0
  73. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
  74. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +69 -4
  75. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +69 -4
  76. package/es/components/table-filter/src/tool/transformData.js +1 -1
  77. package/es/components/table-filter/src/types/index.d.ts +1 -0
  78. package/es/components/time-picker/index.d.ts +20 -2
  79. package/es/components/time-picker/src/TimePicker.vue.d.ts +21 -2
  80. package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
  81. package/es/env.d.ts +25 -25
  82. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  83. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  84. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  85. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  86. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  87. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  88. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  89. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  90. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  91. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  92. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  93. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  94. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  95. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  96. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  97. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  98. package/es/shared/assets/img/failure.png.js +1 -1
  99. package/es/shared/assets/img/no-permission.png.js +1 -1
  100. package/es/shared/assets/img/nodata.png.js +1 -1
  101. package/es/shared/assets/img/notfound.png.js +1 -1
  102. package/es/shared/assets/img/qr.png.js +1 -1
  103. package/es/shared/assets/img/success.png.js +1 -1
  104. package/es/shared/assets/img/table_style_2.png.js +1 -1
  105. package/es/shared/assets/img/video.png.js +1 -1
  106. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  107. package/es/shared/assets/img/xb_big.png.js +1 -1
  108. package/es/shared/assets/img/xb_small.png.js +1 -1
  109. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  110. package/es/shared/package.json.js +1 -1
  111. package/es/shared/utils/business.js +1 -1
  112. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  113. package/es/shared/utils/tapable/index.d.ts +139 -0
  114. package/package.json +2 -2
@@ -1,6 +1,8 @@
1
+ import { PropType } from 'vue';
2
+ import { AnyObject } from '../../../../../../shared/types';
1
3
  declare const _default: import("vue").DefineComponent<{
2
4
  value: {
3
- type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
5
+ type: PropType<AnyObject[]>;
4
6
  };
5
7
  componentCfg: {
6
8
  type: ObjectConstructor;
@@ -13,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
13
15
  };
14
16
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
15
17
  value: {
16
- type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
18
+ type: PropType<AnyObject[]>;
17
19
  };
18
20
  componentCfg: {
19
21
  type: ObjectConstructor;
@@ -28,8 +30,8 @@ declare const _default: import("vue").DefineComponent<{
28
30
  emit: (event: "update:value", ...args: any[]) => void;
29
31
  selectDynamicRef: any;
30
32
  isLoading: import("vue").Ref<boolean>;
31
- filterApiConfig: import("../../../../../../shared/types").AnyObject;
32
- searchFilterList: import("vue").Ref<import("../../../../../../shared/types").AnyObject[]>;
33
+ filterApiConfig: AnyObject;
34
+ searchFilterList: import("vue").Ref<AnyObject[]>;
33
35
  curPage: import("vue").Ref<number>;
34
36
  fieldTitleList: import("vue").Ref<any>;
35
37
  selectOptions: import("vue").Ref<any[]>;
@@ -43,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
43
45
  dynamicOptionInfos: import("vue").ComputedRef<any>;
44
46
  isShowWhole: import("vue").ComputedRef<any>;
45
47
  isLastPage: import("vue").ComputedRef<boolean>;
46
- valueCp: import("vue").ComputedRef<string | number | any[] | {
48
+ valueCp: import("vue").ComputedRef<string | any[] | {
47
49
  label: any;
48
50
  value: any;
49
51
  } | null>;
@@ -64,16 +66,20 @@ declare const _default: import("vue").DefineComponent<{
64
66
  init: () => void;
65
67
  NSelect: any;
66
68
  SelectDynamicOption: import("vue").DefineComponent<{
69
+ oldValue: {
70
+ type: PropType<AnyObject[]>;
71
+ default: () => never[];
72
+ };
67
73
  dynamicOptionInfo: {
68
- type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
74
+ type: PropType<AnyObject>;
69
75
  default: () => {};
70
76
  };
71
77
  fieldTitleList: {
72
- type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
78
+ type: PropType<AnyObject[]>;
73
79
  default: () => never[];
74
80
  };
75
81
  optionList: {
76
- type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
82
+ type: PropType<AnyObject[]>;
77
83
  default: () => never[];
78
84
  };
79
85
  isMultiple: {
@@ -99,16 +105,20 @@ declare const _default: import("vue").DefineComponent<{
99
105
  }, {
100
106
  selectMinWidth: number;
101
107
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
108
+ oldValue: {
109
+ type: PropType<AnyObject[]>;
110
+ default: () => never[];
111
+ };
102
112
  dynamicOptionInfo: {
103
- type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
113
+ type: PropType<AnyObject>;
104
114
  default: () => {};
105
115
  };
106
116
  fieldTitleList: {
107
- type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
117
+ type: PropType<AnyObject[]>;
108
118
  default: () => never[];
109
119
  };
110
120
  optionList: {
111
- type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
121
+ type: PropType<AnyObject[]>;
112
122
  default: () => never[];
113
123
  };
114
124
  isMultiple: {
@@ -187,16 +197,20 @@ declare const _default: import("vue").DefineComponent<{
187
197
  ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
188
198
  ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
189
199
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
200
+ oldValue: {
201
+ type: PropType<AnyObject[]>;
202
+ default: () => never[];
203
+ };
190
204
  dynamicOptionInfo: {
191
- type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
205
+ type: PropType<AnyObject>;
192
206
  default: () => {};
193
207
  };
194
208
  fieldTitleList: {
195
- type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
209
+ type: PropType<AnyObject[]>;
196
210
  default: () => never[];
197
211
  };
198
212
  optionList: {
199
- type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
213
+ type: PropType<AnyObject[]>;
200
214
  default: () => never[];
201
215
  };
202
216
  isMultiple: {
@@ -225,16 +239,17 @@ declare const _default: import("vue").DefineComponent<{
225
239
  }, {
226
240
  isMultiple: boolean;
227
241
  loading: boolean;
228
- dynamicOptionInfo: import("../../../../../../shared/types").AnyObject;
229
- fieldTitleList: import("../../../../../../shared/types").AnyObject[];
230
- optionList: import("../../../../../../shared/types").AnyObject[];
242
+ oldValue: AnyObject[];
243
+ dynamicOptionInfo: AnyObject;
244
+ fieldTitleList: AnyObject[];
245
+ optionList: AnyObject[];
231
246
  curPage: number;
232
247
  isLastPage: boolean;
233
248
  isShowWhole: boolean;
234
249
  }>;
235
250
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
236
251
  value: {
237
- type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
252
+ type: PropType<AnyObject[]>;
238
253
  };
239
254
  componentCfg: {
240
255
  type: ObjectConstructor;
@@ -1 +1 @@
1
- import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as u,nextTick as n,openBlock as o,createBlock as i,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 w}from"../helpers/setDefaultValue.js";import{WholeSelectObj as S}from"../helpers/selectExtraMap.js";import{WidgetValEnums as O}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as j}from"../../../constants/index.js";import k from"./SelectDynamicOption/index.vue.js";import{isEqual as C,cloneDeep as N}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 L=e,P=d(),D="SQL",J="API",{getDynamicSelectData:x}=h(),I=a(),E=l(null),K=l(!1),T=t(b),$=t(j),U=l(1),W=l(),_=l([JSON.parse(JSON.stringify(S))]),M=l([]),F=l(),H=l(0),Q={class:"select-dynamic-popover"},R=u((()=>I.multiple)),V=u((()=>{const{widgetCfg:e}=L.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),q=u((()=>{const{widgetCfg:e}=L.componentCfg,{showWholeOption:a=!1}=e;return a&&1===U.value})),z=u((()=>H.value>0&&U.value>=H.value)),B=u((()=>{var e;if(Array.isArray(L.value)&&L.value.length>0){const e=L.value;if(X(e),e.includes(S.value)){const e=_.value.find((e=>e.value===S.value)),a=e||S;return R.value?[a]:JSON.stringify(a)}if(!R.value&&1==e.length){const a=_.value.find((a=>a.value===e[0]));return a?JSON.stringify(a):{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([]),null!=(e=L.value)?e:null})),G=u((()=>{if(Object.keys(V.value).length>0){const{defaultParams:e=[]}=V.value;return w(e)&&!L.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}=L.componentCfg,{linkageFieldKeys:l=[]}=a;C(L.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(F.value,U.value)}async function ee(e,a){try{if(K.value=!0,Object.keys(V.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:u,filterKeys:n,defaultParams:o=[],showKeys:i,valueKey:s,tableDataType:r}=V.value;let v={wordbookId:t,autograph:l,wordbookType:u,fieldKeys:n,page:a};switch(r){case D:v.keyword=e;break;case J:n.length>0&&(v[n[0]]=e)}if(w(o)){const e=o.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!==O.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[i[0]],value:`${e[i[0]]}&${e[s]}`}))),u=N(t);q.value&&t.unshift(JSON.parse(JSON.stringify(S))),W.value=null!=e?e:[],_.value=null!=t?t:[],M.value=u,H.value=l}}}catch(e){P.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{K.value=!1}}const ae=g((async e=>{await async function(e){F.value=e.trim(),U.value=1,await ee(F.value,U.value)}(e)}),300);async function le(){Object.keys(V.value).length>0&&T&&await ee("",U.value)}async function te(){A("update:value",null),await le()}function ue(e){F.value="",e&&(U.value=1,le())}function ne({option:e,handleClose:a}){if(R.value){const l=e.value;return p(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(L.value)&&L.value.length>0){const e=L.value,a=e.indexOf(l.value);if(a>-1){const l=e.splice(0,a);A("update:value",l.length>0?l: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)=>(o(),i(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":Q,onSearch:s(ae),onClear:te,"onUpdate:show":ue}),{empty:c((()=>[f(k,r(s(I),{loading:K.value,dynamicOptionInfo:s(V),fieldTitleList:W.value,optionList:_.value,isMultiple:s(R),curPage:U.value,isLastPage:s(z),isShowWhole:s(q),onUpdateSelect:Y,onUpdatePage:Z}),null,16,["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 o,createBlock as i,unref as s,mergeProps as r,isRef as v,withCtx as c,createVNode as p,h as f}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 w}from"../helpers/setDefaultValue.js";import{WholeSelectObj as O}from"../helpers/selectExtraMap.js";import{WidgetValEnums as S}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as j}from"../../../constants/index.js";import k from"./SelectDynamicOption/index.vue.js";import{isEqual as C,cloneDeep as A}from"lodash-es";var L=e({__name:"SelectDynamic",props:{value:{type:Array},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:L}){const N=e,P=d(),D="SQL",J="API",{getDynamicSelectData:x}=h(),I=a(),E=l(null),K=l(!1),T=t(b),$=t(j),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}=N.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),q=u((()=>{const{widgetCfg:e}=N.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(N.value)&&N.value.length>0){const e=N.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):{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([]),null!=(e=N.value)?e:null})),G=u((()=>{if(Object.keys(R.value).length>0){const{defaultParams:e=[]}=R.value;return w(e)&&!N.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}=N.componentCfg,{linkageFieldKeys:l=[]}=a;C(N.value,e)||(l.forEach((e=>{const a=$.value.find((a=>a.columnName===e));a&&a.value&&(a.value=null)})),L("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:o=[],showKeys:i,valueKey:s,tableDataType:r}=R.value;let v={wordbookId:t,autograph:l,wordbookType:u,fieldKeys:n,page:a};switch(r){case D:v.keyword=e;break;case J:n.length>0&&(v[n[0]]=e)}if(w(o)){const e=o.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!==S.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[i[0]],value:`${e[i[0]]}&${e[s]}`}))),u=A(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){P.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(){L("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 f(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(N.value)&&N.value.length>0){const e=N.value,a=e.indexOf(l.value);a>-1&&(e.splice(a,1),L("update:value",e.length>0?e:null))}}},{default:()=>f("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return f("div",l.label)}return n((()=>{G.value||le()})),(e,a)=>(o(),i(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((()=>[p(k,r(s(I),{oldValue:N.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{L as default};
@@ -1,6 +1,10 @@
1
1
  import { PropType } from 'vue';
2
2
  import { AnyObject } from '../../../../../../../shared/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
+ oldValue: {
5
+ type: PropType<AnyObject[]>;
6
+ default: () => never[];
7
+ };
4
8
  dynamicOptionInfo: {
5
9
  type: PropType<AnyObject>;
6
10
  default: () => {};
@@ -36,6 +40,10 @@ declare const _default: import("vue").DefineComponent<{
36
40
  }, {
37
41
  selectMinWidth: number;
38
42
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
43
+ oldValue: {
44
+ type: PropType<AnyObject[]>;
45
+ default: () => never[];
46
+ };
39
47
  dynamicOptionInfo: {
40
48
  type: PropType<AnyObject>;
41
49
  default: () => {};
@@ -124,6 +132,10 @@ declare const _default: import("vue").DefineComponent<{
124
132
  ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
125
133
  ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
126
134
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
135
+ oldValue: {
136
+ type: PropType<AnyObject[]>;
137
+ default: () => never[];
138
+ };
127
139
  dynamicOptionInfo: {
128
140
  type: PropType<AnyObject>;
129
141
  default: () => {};
@@ -162,6 +174,7 @@ declare const _default: import("vue").DefineComponent<{
162
174
  }, {
163
175
  isMultiple: boolean;
164
176
  loading: boolean;
177
+ oldValue: AnyObject[];
165
178
  dynamicOptionInfo: AnyObject;
166
179
  fieldTitleList: AnyObject[];
167
180
  optionList: AnyObject[];
@@ -1 +1 @@
1
- import{defineComponent as e,ref as t,computed as i,withDirectives as a,openBlock as l,createElementBlock as n,normalizeStyle as o,createBlock as s,unref as c,Fragment as d,renderList as u,toDisplayString as r,createCommentVNode as p,createElementVNode as v,normalizeClass as m,withCtx as f,createTextVNode as y,createVNode as h}from"vue";import{NEmpty as g,NPopover as k,NButtonGroup as L,NButton as b,NIcon as E}from"naive-ui";import{vFlexibleResize as P}from"../../../../../../../shared/directive/flexibleResize.js";import{WidgetValEnums as x}from"../../../../types/enums.js";import{ArrowBack as M,ArrowForward as O}from"@vicons/ionicons5";import{WholeSelectObj as W}from"../../helpers/selectExtraMap.js";const _={key:0,class:"dynamic-header"},S={class:"dynamic-content"},j=["onClick"],w={key:0,class:"content"},B={class:"content"},C={class:"dynamic-pagination"};var z=e({__name:"index",props:{dynamicOptionInfo:{type:Object,default:()=>({})},fieldTitleList:{type:Array,default:()=>[]},optionList:{type:Array,default:()=>[]},isMultiple:{type:Boolean,default:!1},curPage:{type:Number,default:1},isLastPage:{type:Boolean,default:!1},isShowWhole:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["updateSelect","updatePage"],setup(e,{emit:z}){const H=e,A=t(200),I=i((()=>{var e,t;return null!=(t=null==(e=H.dynamicOptionInfo)?void 0:e.showKeys)?t:[]})),N=i((()=>I.value&&I.value.length>0?I.value.map((e=>{let t="";return H.fieldTitleList.forEach((i=>{i.columnName===e&&(t=i.title)})),t})):[])),R=i((()=>!H.optionList.filter((e=>e.label!=W.label)).length));function T(e){const t=H.curPage+e;z("updatePage",t)}function K({distance:e}){const t=A.value+e;A.value=Math.min(Math.max(t,200),1e3)}function V(){}return(t,i)=>a((l(),n("div",{class:"select-dynamic-options",style:o({minWidth:A.value+"px",position:"relative"})},[e.loading?(l(),s(c(g),{key:0,"show-icon":!1,description:"加载中..."})):(l(),n(d,{key:1},[c(R)?(l(),s(c(g),{key:0,description:"无数据"})):(l(),n(d,{key:1},[c(N)&&c(N).length>1?(l(),n("div",_,[(l(!0),n(d,null,u(c(N),(e=>(l(),n("span",{key:e,class:"name"},r(e),1)))),128))])):p("v-if",!0),v("ul",S,[(l(!0),n(d,null,u(e.optionList,(t=>(l(),n("li",{class:m(t.actived?"actived":""),key:t.value,onClick:e=>function(e){var t,i,a;if(!H.isMultiple||e.value===x.WHOLE)return null==(t=H.optionList)||t.forEach((e=>{e.actived=!1})),e.actived=!0,void z("updateSelect",[e.value]);null==(i=H.optionList)||i.forEach((e=>{e.value===x.WHOLE&&(e.actived=!1)})),e.actived?e.actived=!1:e.actived=!0;const l=null==(a=H.optionList)?void 0:a.filter((e=>e.actived)).map((e=>e.value));z("updateSelect",l)}(t)},[e.isShowWhole&&t.value===c(x).WHOLE?(l(),n("span",w,r(t.label),1)):(l(!0),n(d,{key:1},u(c(I),(e=>(l(),s(c(k),{key:e,trigger:"hover",duration:0},{trigger:f((()=>[v("span",B,r(t[e]),1)])),default:f((()=>[y(" "+r(t[e]),1)])),_:2},1024)))),128))],10,j)))),128))]),v("div",C,[h(c(L),null,{default:f((()=>[h(c(b),{onClick:i[0]||(i[0]=e=>T(-1)),disabled:e.curPage<=1},{icon:f((()=>[h(c(E),{component:c(M),size:"16"},null,8,["component"])])),default:f((()=>[y(" 上一页 ")])),_:1},8,["disabled"]),h(c(b),{"icon-placement":"right",onClick:i[1]||(i[1]=e=>T(1)),disabled:e.isLastPage},{icon:f((()=>[h(c(E),{component:c(O),size:"16"},null,8,["component"])])),default:f((()=>[y(" 下一页 ")])),_:1},8,["disabled"])])),_:1})])],64))],64))],4)),[[c(P),{mode:"VR",onMove:K,onEnd:V}]])}});export{z as default};
1
+ import{defineComponent as e,ref as t,computed as l,withDirectives as a,openBlock as i,createElementBlock as n,normalizeStyle as o,createBlock as s,unref as c,Fragment as d,renderList as u,toDisplayString as r,createCommentVNode as p,createElementVNode as v,normalizeClass as f,withCtx as m,createTextVNode as y,createVNode as h}from"vue";import{NEmpty as g,NPopover as k,NButtonGroup as L,NButton as b,NIcon as E}from"naive-ui";import{vFlexibleResize as S}from"../../../../../../../shared/directive/flexibleResize.js";import{WidgetValEnums as P}from"../../../../types/enums.js";import{ArrowBack as x,ArrowForward as M}from"@vicons/ionicons5";import{WholeSelectObj as O}from"../../helpers/selectExtraMap.js";const W={key:0,class:"dynamic-header"},_={class:"dynamic-content"},w=["onClick"],V={key:0,class:"content"},j={class:"content"},B={class:"dynamic-pagination"};var C=e({__name:"index",props:{oldValue:{type:Array,default:()=>[]},dynamicOptionInfo:{type:Object,default:()=>({})},fieldTitleList:{type:Array,default:()=>[]},optionList:{type:Array,default:()=>[]},isMultiple:{type:Boolean,default:!1},curPage:{type:Number,default:1},isLastPage:{type:Boolean,default:!1},isShowWhole:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["updateSelect","updatePage"],setup(e,{emit:C}){const z=e,A=t(200),H=l((()=>{var e,t;return null!=(t=null==(e=z.dynamicOptionInfo)?void 0:e.showKeys)?t:[]})),I=l((()=>H.value&&H.value.length>0?H.value.map((e=>{let t="";return z.fieldTitleList.forEach((l=>{l.columnName===e&&(t=l.title)})),t})):[])),N=l((()=>!z.optionList.filter((e=>e.label!=O.label)).length));function R(e){const t=z.curPage+e;C("updatePage",t)}function T({distance:e}){const t=A.value+e;A.value=Math.min(Math.max(t,200),1e3)}function K(){}return(t,l)=>a((i(),n("div",{class:"select-dynamic-options",style:o({minWidth:A.value+"px",position:"relative"})},[e.loading?(i(),s(c(g),{key:0,"show-icon":!1,description:"加载中..."})):(i(),n(d,{key:1},[c(N)?(i(),s(c(g),{key:0,description:"无数据"})):(i(),n(d,{key:1},[c(I)&&c(I).length>1?(i(),n("div",W,[(i(!0),n(d,null,u(c(I),(e=>(i(),n("span",{key:e,class:"name"},r(e),1)))),128))])):p("v-if",!0),v("ul",_,[(i(!0),n(d,null,u(e.optionList,(t=>(i(),n("li",{class:f(t.actived?"actived":""),key:t.value,onClick:e=>function(e){var t,l,a,i;if(!z.isMultiple||e.value===P.WHOLE)return null==(t=z.optionList)||t.forEach((e=>{e.actived=!1})),e.actived=!0,void C("updateSelect",[e.value]);null==(l=z.optionList)||l.forEach((e=>{e.value===P.WHOLE&&(e.actived=!1)})),e.actived?e.actived=!1:e.actived=!0;const n=null==(a=z.optionList)?void 0:a.filter((e=>e.actived)).map((e=>e.value));if(z.oldValue&&(null==(i=z.oldValue)?void 0:i.length)>0){const t=[...new Set([...z.oldValue,...n])];return e.actived?C("updateSelect",t):C("updateSelect",t.filter((t=>t!=e.value)))}C("updateSelect",n)}(t)},[e.isShowWhole&&t.value===c(P).WHOLE?(i(),n("span",V,r(t.label),1)):(i(!0),n(d,{key:1},u(c(H),(e=>(i(),s(c(k),{key:e,trigger:"hover",duration:0},{trigger:m((()=>[v("span",j,r(t[e]),1)])),default:m((()=>[y(" "+r(t[e]),1)])),_:2},1024)))),128))],10,w)))),128))]),v("div",B,[h(c(L),null,{default:m((()=>[h(c(b),{onClick:l[0]||(l[0]=e=>R(-1)),disabled:e.curPage<=1},{icon:m((()=>[h(c(E),{component:c(x),size:"16"},null,8,["component"])])),default:m((()=>[y(" 上一页 ")])),_:1},8,["disabled"]),h(c(b),{"icon-placement":"right",onClick:l[1]||(l[1]=e=>R(1)),disabled:e.isLastPage},{icon:m((()=>[h(c(E),{component:c(M),size:"16"},null,8,["component"])])),default:m((()=>[y(" 下一页 ")])),_:1},8,["disabled"])])),_:1})])],64))],64))],4)),[[c(S),{mode:"VR",onMove:T,onEnd:K}]])}});export{C as default};
@@ -204,6 +204,10 @@ declare const DateInner: import("vue").DefineComponent<{
204
204
  allowedInvalidValue: {
205
205
  type: StringConstructor;
206
206
  };
207
+ to: {
208
+ type: import("vue").PropType<string | false | HTMLElement>;
209
+ default: string;
210
+ };
207
211
  }, {
208
212
  attrs: {
209
213
  [x: string]: unknown;
@@ -224,6 +228,10 @@ declare const DateInner: import("vue").DefineComponent<{
224
228
  allowedInvalidValue: {
225
229
  type: StringConstructor;
226
230
  };
231
+ to: {
232
+ type: import("vue").PropType<string | false | HTMLElement>;
233
+ default: string;
234
+ };
227
235
  }>> & {
228
236
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
229
237
  }>>;
@@ -260,10 +268,15 @@ declare const DateInner: import("vue").DefineComponent<{
260
268
  allowedInvalidValue: {
261
269
  type: StringConstructor;
262
270
  };
271
+ to: {
272
+ type: import("vue").PropType<string | false | HTMLElement>;
273
+ default: string;
274
+ };
263
275
  }>> & {
264
276
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
265
277
  }, {
266
278
  updateUnchangedValue: boolean;
279
+ to: string | false | HTMLElement;
267
280
  }>>;
268
281
  DateQuickBtn: import("vue").DefineComponent<{
269
282
  componentCfg: {
@@ -452,6 +465,10 @@ declare const DateOut: import("vue").DefineComponent<{
452
465
  allowedInvalidValue: {
453
466
  type: StringConstructor;
454
467
  };
468
+ to: {
469
+ type: import("vue").PropType<string | false | HTMLElement>;
470
+ default: string;
471
+ };
455
472
  }, {
456
473
  attrs: {
457
474
  [x: string]: unknown;
@@ -472,6 +489,10 @@ declare const DateOut: import("vue").DefineComponent<{
472
489
  allowedInvalidValue: {
473
490
  type: StringConstructor;
474
491
  };
492
+ to: {
493
+ type: import("vue").PropType<string | false | HTMLElement>;
494
+ default: string;
495
+ };
475
496
  }>> & {
476
497
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
477
498
  }>>;
@@ -508,10 +529,15 @@ declare const DateOut: import("vue").DefineComponent<{
508
529
  allowedInvalidValue: {
509
530
  type: StringConstructor;
510
531
  };
532
+ to: {
533
+ type: import("vue").PropType<string | false | HTMLElement>;
534
+ default: string;
535
+ };
511
536
  }>> & {
512
537
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
513
538
  }, {
514
539
  updateUnchangedValue: boolean;
540
+ to: string | false | HTMLElement;
515
541
  }>>;
516
542
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
517
543
  componentCfg: {
@@ -662,6 +688,10 @@ declare const DateRangeInner: import("vue").DefineComponent<{
662
688
  allowedInvalidValue: {
663
689
  type: StringConstructor;
664
690
  };
691
+ to: {
692
+ type: import("vue").PropType<string | false | HTMLElement>;
693
+ default: string;
694
+ };
665
695
  }, {
666
696
  attrs: {
667
697
  [x: string]: unknown;
@@ -682,6 +712,10 @@ declare const DateRangeInner: import("vue").DefineComponent<{
682
712
  allowedInvalidValue: {
683
713
  type: StringConstructor;
684
714
  };
715
+ to: {
716
+ type: import("vue").PropType<string | false | HTMLElement>;
717
+ default: string;
718
+ };
685
719
  }>> & {
686
720
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
687
721
  }>>;
@@ -718,10 +752,15 @@ declare const DateRangeInner: import("vue").DefineComponent<{
718
752
  allowedInvalidValue: {
719
753
  type: StringConstructor;
720
754
  };
755
+ to: {
756
+ type: import("vue").PropType<string | false | HTMLElement>;
757
+ default: string;
758
+ };
721
759
  }>> & {
722
760
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
723
761
  }, {
724
762
  updateUnchangedValue: boolean;
763
+ to: string | false | HTMLElement;
725
764
  }>>;
726
765
  DateQuickBtn: import("vue").DefineComponent<{
727
766
  componentCfg: {
@@ -917,6 +956,10 @@ declare const DateRangeOut: import("vue").DefineComponent<{
917
956
  allowedInvalidValue: {
918
957
  type: StringConstructor;
919
958
  };
959
+ to: {
960
+ type: import("vue").PropType<string | false | HTMLElement>;
961
+ default: string;
962
+ };
920
963
  }, {
921
964
  attrs: {
922
965
  [x: string]: unknown;
@@ -937,6 +980,10 @@ declare const DateRangeOut: import("vue").DefineComponent<{
937
980
  allowedInvalidValue: {
938
981
  type: StringConstructor;
939
982
  };
983
+ to: {
984
+ type: import("vue").PropType<string | false | HTMLElement>;
985
+ default: string;
986
+ };
940
987
  }>> & {
941
988
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
942
989
  }>>;
@@ -973,10 +1020,15 @@ declare const DateRangeOut: import("vue").DefineComponent<{
973
1020
  allowedInvalidValue: {
974
1021
  type: StringConstructor;
975
1022
  };
1023
+ to: {
1024
+ type: import("vue").PropType<string | false | HTMLElement>;
1025
+ default: string;
1026
+ };
976
1027
  }>> & {
977
1028
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
978
1029
  }, {
979
1030
  updateUnchangedValue: boolean;
1031
+ to: string | false | HTMLElement;
980
1032
  }>>;
981
1033
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
982
1034
  type: {
@@ -1158,7 +1210,7 @@ declare const Select: import("vue").DefineComponent<{
1158
1210
  }, {}>;
1159
1211
  declare const SelectDynamic: import("vue").DefineComponent<{
1160
1212
  value: {
1161
- type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1213
+ type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
1162
1214
  };
1163
1215
  componentCfg: {
1164
1216
  type: ObjectConstructor;
@@ -1171,7 +1223,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1171
1223
  };
1172
1224
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1173
1225
  value: {
1174
- type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1226
+ type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
1175
1227
  };
1176
1228
  componentCfg: {
1177
1229
  type: ObjectConstructor;
@@ -1201,7 +1253,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1201
1253
  dynamicOptionInfos: import("vue").ComputedRef<any>;
1202
1254
  isShowWhole: import("vue").ComputedRef<any>;
1203
1255
  isLastPage: import("vue").ComputedRef<boolean>;
1204
- valueCp: import("vue").ComputedRef<string | number | any[] | {
1256
+ valueCp: import("vue").ComputedRef<string | any[] | {
1205
1257
  label: any;
1206
1258
  value: any;
1207
1259
  } | null>;
@@ -1222,6 +1274,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1222
1274
  init: () => void;
1223
1275
  NSelect: any;
1224
1276
  SelectDynamicOption: import("vue").DefineComponent<{
1277
+ oldValue: {
1278
+ type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
1279
+ default: () => never[];
1280
+ };
1225
1281
  dynamicOptionInfo: {
1226
1282
  type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
1227
1283
  default: () => {};
@@ -1257,6 +1313,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1257
1313
  }, {
1258
1314
  selectMinWidth: number;
1259
1315
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1316
+ oldValue: {
1317
+ type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
1318
+ default: () => never[];
1319
+ };
1260
1320
  dynamicOptionInfo: {
1261
1321
  type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
1262
1322
  default: () => {};
@@ -1345,6 +1405,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1345
1405
  ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1346
1406
  ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1347
1407
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1408
+ oldValue: {
1409
+ type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
1410
+ default: () => never[];
1411
+ };
1348
1412
  dynamicOptionInfo: {
1349
1413
  type: import("vue").PropType<import("../../../../../../shared/types").AnyObject>;
1350
1414
  default: () => {};
@@ -1383,6 +1447,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1383
1447
  }, {
1384
1448
  isMultiple: boolean;
1385
1449
  loading: boolean;
1450
+ oldValue: import("../../../../../../shared/types").AnyObject[];
1386
1451
  dynamicOptionInfo: import("../../../../../../shared/types").AnyObject;
1387
1452
  fieldTitleList: import("../../../../../../shared/types").AnyObject[];
1388
1453
  optionList: import("../../../../../../shared/types").AnyObject[];
@@ -1392,7 +1457,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
1392
1457
  }>;
1393
1458
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1394
1459
  value: {
1395
- type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1460
+ type: import("vue").PropType<import("../../../../../../shared/types").AnyObject[]>;
1396
1461
  };
1397
1462
  componentCfg: {
1398
1463
  type: ObjectConstructor;