cnhis-design-vue 3.1.45-beta.7 → 3.1.45-beta.9

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.
Files changed (100) hide show
  1. package/es/components/base-search/index.d.ts +2 -0
  2. package/es/components/base-search/src/index.vue.d.ts +2 -0
  3. package/es/components/base-search/style/index.css +1 -1
  4. package/es/components/classification/index.d.ts +165 -11
  5. package/es/components/classification/src/components/search-filter/index.vue.d.ts +165 -11
  6. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  7. package/es/components/classification/src/components/set-classification/index.vue.d.ts +165 -11
  8. package/es/components/classification/src/index.vue.d.ts +165 -11
  9. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  10. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  11. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
  13. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +1 -1
  15. package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
  16. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +77 -0
  17. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +93 -0
  18. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +3 -0
  19. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +3 -0
  20. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
  21. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +3 -0
  22. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +3 -0
  23. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +3 -0
  24. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +3 -0
  25. package/es/components/iho-table/src/utils/dist/index.d.ts +44 -0
  26. package/es/components/index.css +1 -1
  27. package/es/components/quick-search/index.d.ts +2 -0
  28. package/es/components/quick-search/src/index.vue.d.ts +2 -0
  29. package/es/components/quick-search/style/index.css +1 -1
  30. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +36 -0
  31. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +36 -0
  32. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +82 -0
  33. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +57 -0
  34. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +57 -0
  35. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +165 -10
  36. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
  37. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +16 -1
  38. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
  39. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +18 -0
  40. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
  41. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +128 -10
  42. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  43. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic1.vue.d.ts +61 -0
  44. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -0
  45. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
  46. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +163 -10
  47. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +165 -10
  48. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +218 -0
  49. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +1 -0
  50. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -0
  51. package/es/components/table-filter/src/components/render-widget/components/{Date.vue.d.ts → DateOut.vue.d.ts} +21 -2
  52. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +1 -0
  53. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +1 -0
  54. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +71 -0
  55. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +1 -0
  56. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -0
  57. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +99 -5
  58. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  59. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -9
  60. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
  61. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +7 -5
  62. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
  63. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +6 -5
  64. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
  65. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +15 -25
  66. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  67. package/es/components/table-filter/src/components/render-widget/components/Select1.vue.d.ts +45 -0
  68. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +175 -0
  69. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +1 -0
  70. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -0
  71. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +114 -0
  72. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +1 -0
  73. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -0
  74. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +520 -25
  75. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  76. package/es/components/table-filter/src/components/render-widget/enums.d.ts +10 -3
  77. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  78. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +27 -0
  79. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +1 -0
  80. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +55 -0
  81. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -0
  82. package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +56 -0
  83. package/es/components/table-filter/src/components/render-widget/helpers/enums.js +1 -0
  84. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +2 -6
  85. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
  86. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  87. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +548 -24
  88. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  89. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
  90. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  91. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  92. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  93. package/es/components/table-filter/src/types/enums.d.ts +2 -0
  94. package/es/components/table-filter/src/types/enums.js +1 -1
  95. package/es/shared/package.json.js +1 -1
  96. package/package.json +2 -2
  97. package/es/components/table-filter/src/components/render-widget/basicData.d.ts +0 -4
  98. package/es/components/table-filter/src/components/render-widget/basicData.js +0 -1
  99. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +0 -1
  100. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +0 -1
@@ -35,8 +35,15 @@ declare const _default: import("vue").DefineComponent<{
35
35
  valueFormat: import("vue").ComputedRef<string>;
36
36
  dateFormat: import("vue").ComputedRef<string>;
37
37
  compType: import("vue").ComputedRef<any>;
38
+ optionSetting: import("vue").ComputedRef<any>;
39
+ isPastTime: import("vue").ComputedRef<boolean>;
40
+ isFutureTime: import("vue").ComputedRef<boolean>;
38
41
  startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
39
42
  endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
43
+ startDefault: import("vue").ComputedRef<string>;
44
+ endDefault: import("vue").ComputedRef<string>;
45
+ startDateFormat: import("vue").ComputedRef<string | null>;
46
+ endDateFormat: import("vue").ComputedRef<string | null>;
40
47
  dateType: any;
41
48
  widgetOptions: import("vue").ComputedRef<{
42
49
  label: string;
@@ -45,8 +52,19 @@ declare const _default: import("vue").DefineComponent<{
45
52
  presetValCp: import("vue").WritableComputedRef<string>;
46
53
  handleChange: (val: any, type: 'start' | 'end') => void;
47
54
  isStartDateDisabled: (ts: number) => boolean;
55
+ timeStartDisabled: (ts: number) => {
56
+ isHourDisabled(hour: number): boolean | 0;
57
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
58
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
59
+ };
48
60
  isEndDateDisabled: (ts: number) => boolean;
61
+ timeEndDisabled: (ts: number) => {
62
+ isHourDisabled(hour: number): boolean | 0;
63
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
64
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
65
+ };
49
66
  NSelect: any;
67
+ NPopover: any;
50
68
  CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
51
69
  updateUnchangedValue: {
52
70
  type: BooleanConstructor;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as a,computed as l,watch as t,openBlock as u,createElementBlock as r,Fragment as o,createVNode as s,unref as n,isRef as m,createCommentVNode as i}from"vue";import{NSelect as v}from"naive-ui";import d from"../../../../../date-picker/index.js";import p from"moment";import{cloneDeep as f,isString as c}from"lodash-es";import{WidgetTypeEnums as y,WidgetValEnums as b}from"../../../types/enums.js";import{widgetDateRangeOptions as D}from"../../../tool/baseOptions.js";const M={key:0,style:{display:"flex"}};var T=e({__name:"DateRange",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:T}){const h=e,E=a(),A=a(),V=l((()=>{let e="";switch(g.value){case y.DATE:e="yyyy-MM-dd";break;case y.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),Y=l((()=>{let e="";switch(g.value){case y.DATE:e="YYYY-MM-DD";break;case y.DATE_TIME:e="YYYY-MM-DD HH:mm:ss"}return e})),g=l((()=>h.paramCfg._rawData.type)),w=l((()=>g.value===y.DATE?"初始日期":"初始时间")),C=l((()=>g.value===y.DATE?"截止日期":"截止时间")),O=l((()=>g.value.toLowerCase()||y.DATE.toLowerCase())),k=l((()=>{const e=f(D);return e.unshift({label:"自定义输入",value:b.CUSTOM}),e})),x=l({set(e){T("update:presetVal",e)},get:()=>h.presetVal});function U(e,a){switch(a){case"start":E.value=e;break;case"end":A.value=e}const l=E.value?p(E.value).format(Y.value):null,t=A.value?p(A.value).format(Y.value):null;T("update:modelValue",l||t?`${null!=l?l:""} ~ ${null!=t?t:""}`:"")}function _(e){return!!A.value&&e>A.value}function j(e){return!!E.value&&e<E.value}return t((()=>h.modelValue),(e=>{if(e&&c(e)&&e.includes("~")){const[a,l]=e.split("~");return a.trim()&&(E.value=p(a.trim()).valueOf()),void(l.trim()&&(A.value=p(l.trim()).valueOf()))}E.value=A.value=null}),{immediate:!0}),(e,a)=>(u(),r(o,null,[s(n(v),{style:{width:"120px"},class:"form-item",to:"body",value:n(x),"onUpdate:value":a[0]||(a[0]=e=>m(x)?x.value=e:null),options:n(k)},null,8,["value","options"]),n(x)===n(b).CUSTOM?(u(),r("div",M,[s(n(d),{type:n(O),"default-time":"00:00:00",clearable:"",to:"body",valueFormat:n(V),placeholder:n(w),value:E.value,"is-date-disabled":_,"onUpdate:value":a[1]||(a[1]=e=>U(e,"start"))},null,8,["type","valueFormat","placeholder","value"]),s(n(d),{style:{"margin-left":"5px"},type:n(O),"default-time":"23:59:59",clearable:"",to:"body",valueFormat:n(V),placeholder:n(C),value:A.value,"is-date-disabled":j,"onUpdate:value":a[2]||(a[2]=e=>U(e,"end"))},null,8,["type","valueFormat","placeholder","value"])])):i("v-if",!0)],64))}});export{T as default};
1
+ import{defineComponent as e,ref as a,computed as l,watch as t,openBlock as u,createElementBlock as r,createVNode as i,unref as d,isRef as o,withCtx as s,toDisplayString as v,createCommentVNode as n}from"vue";import{NSelect as m,NPopover as p}from"naive-ui";import f from"../../../../../date-picker/index.js";import c from"moment";import{isString as y}from"lodash-es";import{WidgetOptionEnums as b,WidgetTypeEnums as g,WidgetValEnums as T}from"../../../types/enums.js";import{WidgetDateOptionEnums as h}from"../../render-widget/helpers/enums.js";import{widgetDateValOptions as D}from"../../render-widget/helpers/dateExtraMap.js";import{dateDisabledCollect as M,isStartDateRangeDisabled as E,isTimeStartRangeDisabled as _,isEndDateRangeDisabled as w,isTimeEndRangeDisabled as A}from"../../render-widget/helpers/dateDisabled.js";const V={style:{display:"flex"}},Y={key:0,style:{display:"flex"}},k={key:0},x={key:0};var C=e({__name:"DateRange",props:{paramCfg:{type:Object,default:null},modelValue:{type:[String,Number,Array],default:null},presetVal:{type:String,default:null}},emits:["update:modelValue","update:presetVal"],setup(e,{emit:C}){const U=e,j=a(),F=a(),O=l((()=>{let e="";switch(H.value){case g.DATE:e="yyyy-MM-dd";break;case g.DATE_TIME:e="yyyy-MM-dd HH:mm:ss"}return e})),S=l((()=>{let e="";switch(H.value){case g.DATE:e="YYYY-MM-DD";break;case g.DATE_TIME:e="YYYY-MM-DD HH:mm:ss"}return e})),H=l((()=>U.paramCfg._rawData.type)),I=l((()=>{var e,a;return null==(a=null==(e=U.paramCfg)?void 0:e._rawData)?void 0:a.optionType})),L=l((()=>I.value===b.PAST_TIME)),$=l((()=>I.value===b.FUTURE_TIME)),R=l((()=>H.value===g.DATE?"初始日期":"初始时间")),N=l((()=>H.value===g.DATE?"截止日期":"截止时间")),G=l((()=>$.value?M.curTime:"00:00:00")),P=l((()=>L.value?M.curTime:"23:59:59")),q=l((()=>j.value?c(j.value).format(S.value):null)),z=l((()=>F.value?c(F.value).format(S.value):null)),B=l((()=>H.value.toLowerCase()||g.DATE.toLowerCase())),J=l((()=>{var e;const a=I.value||b.ALL;if(H.value&&a){const l=`${H.value}_${a}_RANGE`,t=h[l];let u=(null!=(e=D[t])?e:[]).map((e=>({label:e.title,value:e.con})));return u.unshift({label:"自定义输入",value:T.CUSTOM}),u}return[]})),K=l({set(e){C("update:presetVal",e)},get:()=>U.presetVal});function Q(e,a){var l,t;switch(a){case"start":j.value=e;break;case"end":F.value=e}const u=q.value||z.value?`${null!=(l=q.value)?l:""} ~ ${null!=(t=z.value)?t:""}`:"";C("update:modelValue",u)}function W(e){return E(e,I.value,F.value)}function X(e){return _(e,I.value,F.value)}function Z(e){return w(e,I.value,j.value)}function ee(e){return A(e,I.value,j.value)}return t((()=>U.modelValue),(e=>{if(e&&y(e)&&e.includes("~")){const[a,l]=e.split("~");return a.trim()&&(j.value=c(a.trim()).valueOf()),void(l.trim()&&(F.value=c(l.trim()).valueOf()))}j.value=F.value=null}),{immediate:!0}),(e,a)=>(u(),r("div",V,[i(d(m),{style:{width:"120px"},class:"form-item",to:"body",value:d(K),"onUpdate:value":a[0]||(a[0]=e=>o(K)?K.value=e:null),options:d(J)},null,8,["value","options"]),d(K)===d(T).CUSTOM?(u(),r("div",Y,[i(d(p),{trigger:"hover",disabled:!d(q)},{trigger:s((()=>[i(d(f),{type:d(B),"default-time":d(G),clearable:"",to:"body",valueFormat:d(O),placeholder:d(R),value:j.value,"is-date-disabled":W,"is-time-disabled":X,"onUpdate:value":a[1]||(a[1]=e=>Q(e,"start"))},null,8,["type","default-time","valueFormat","placeholder","value"])])),default:s((()=>[d(q)?(u(),r("span",k,v(d(q)),1)):n("v-if",!0)])),_:1},8,["disabled"]),i(d(p),{trigger:"hover",disabled:!d(z)},{trigger:s((()=>[i(d(f),{style:{"margin-left":"5px"},type:d(B),"default-time":d(P),clearable:"",to:"body",valueFormat:d(O),placeholder:d(N),value:F.value,"is-date-disabled":Z,"is-time-disabled":ee,"onUpdate:value":a[2]||(a[2]=e=>Q(e,"end"))},null,8,["type","default-time","valueFormat","placeholder","value"])])),default:s((()=>[d(z)?(u(),r("span",x,v(d(z)),1)):n("v-if",!0)])),_:1},8,["disabled"])])):n("v-if",!0)]))}});export{C as default};
@@ -1,4 +1,3 @@
1
- import { SelectOption } from 'naive-ui';
2
1
  declare const _default: import("vue").DefineComponent<{
3
2
  paramCfg: {
4
3
  type: ObjectConstructor;
@@ -9,6 +8,7 @@ declare const _default: import("vue").DefineComponent<{
9
8
  default: null;
10
9
  };
11
10
  }, {
11
+ message: import("naive-ui").MessageApi;
12
12
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
13
13
  paramCfg: {
14
14
  type: ObjectConstructor;
@@ -22,27 +22,145 @@ declare const _default: import("vue").DefineComponent<{
22
22
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
23
  }>>;
24
24
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
25
- $attrs: {
26
- [x: string]: unknown;
27
- };
28
25
  emit: (event: "update:modelValue", ...args: any[]) => void;
29
- selectOptions: import("vue").Ref<any[]>;
30
26
  isLoading: import("vue").Ref<boolean>;
31
27
  filterApiConfig: import("../../../../..").AnyObject;
32
- valueCp: import("vue").WritableComputedRef<any>;
28
+ totalPage: import("vue").Ref<number>;
29
+ menuProps: {
30
+ class: string;
31
+ };
32
+ curPage: import("vue").Ref<number>;
33
+ fieldTitleList: import("vue").Ref<any>;
34
+ selectOptions: import("vue").Ref<any[]>;
35
+ keywordVal: import("vue").Ref<any>;
33
36
  optionSetting: import("vue").ComputedRef<any>;
34
37
  isMultiple: import("vue").ComputedRef<boolean>;
35
- searchOptions: (keyword: string) => Promise<any>;
38
+ dynamicOptionInfos: import("vue").ComputedRef<any>;
39
+ isLastPage: import("vue").ComputedRef<boolean>;
40
+ valueCp: import("vue").ComputedRef<string | number | any[]>;
41
+ setOptionActive: (selectIds: string[]) => void;
42
+ handleUpdateSelect: (value: string[] | null) => void;
43
+ handleUpdatePage: (page: number) => Promise<void>;
44
+ getOptionsData: (keyword: string, curPage: number) => Promise<any>;
36
45
  _handleSearch: (query: string) => Promise<void>;
37
46
  handleSearch: (query: string) => Promise<void>;
38
47
  handleInitData: () => Promise<void>;
39
- renderLabel: (option: SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
- [key: string]: any;
41
- }>;
48
+ handleClear: () => Promise<void>;
42
49
  renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
50
  [key: string]: any;
44
51
  }>;
45
52
  NSelect: any;
53
+ SelectDynamicOption: import("vue").DefineComponent<{
54
+ dynamicOptionInfo: {
55
+ type: import("vue").PropType<import("../../../../..").AnyObject>;
56
+ default: () => {};
57
+ };
58
+ fieldTitleList: {
59
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
60
+ default: () => never[];
61
+ };
62
+ optionList: {
63
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
64
+ default: () => never[];
65
+ };
66
+ isMultiple: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ curPage: {
71
+ type: NumberConstructor;
72
+ default: number;
73
+ };
74
+ isLastPage: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ }, {
79
+ selectMinWidth: number;
80
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
81
+ dynamicOptionInfo: {
82
+ type: import("vue").PropType<import("../../../../..").AnyObject>;
83
+ default: () => {};
84
+ };
85
+ fieldTitleList: {
86
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
87
+ default: () => never[];
88
+ };
89
+ optionList: {
90
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
91
+ default: () => never[];
92
+ };
93
+ isMultiple: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
96
+ };
97
+ curPage: {
98
+ type: NumberConstructor;
99
+ default: number;
100
+ };
101
+ isLastPage: {
102
+ type: BooleanConstructor;
103
+ default: boolean;
104
+ };
105
+ }>> & {
106
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
107
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
108
+ }>>;
109
+ emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
110
+ dragEndWidth: import("vue").Ref<number>;
111
+ showKeys: import("vue").ComputedRef<any>;
112
+ titleList: import("vue").ComputedRef<string[]>;
113
+ handleSelect: (option: any) => void;
114
+ searchByPage: (onePage: number) => void;
115
+ changeWidth: ({ distance }: any) => void;
116
+ saveWidth: () => void;
117
+ NEmpty: any;
118
+ NButtonGroup: any;
119
+ NButton: any;
120
+ NIcon: any;
121
+ NPopover: any;
122
+ vFlexibleResize: {
123
+ mounted(el: any, { value }: any): void;
124
+ beforeUnmount(el: any): void;
125
+ };
126
+ 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<{}>>, {}>;
127
+ 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<{}>>, {}>;
128
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
129
+ dynamicOptionInfo: {
130
+ type: import("vue").PropType<import("../../../../..").AnyObject>;
131
+ default: () => {};
132
+ };
133
+ fieldTitleList: {
134
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
135
+ default: () => never[];
136
+ };
137
+ optionList: {
138
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
139
+ default: () => never[];
140
+ };
141
+ isMultiple: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ curPage: {
146
+ type: NumberConstructor;
147
+ default: number;
148
+ };
149
+ isLastPage: {
150
+ type: BooleanConstructor;
151
+ default: boolean;
152
+ };
153
+ }>> & {
154
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
155
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
156
+ }, {
157
+ dynamicOptionInfo: import("../../../../..").AnyObject;
158
+ fieldTitleList: import("../../../../..").AnyObject[];
159
+ optionList: import("../../../../..").AnyObject[];
160
+ isMultiple: boolean;
161
+ curPage: number;
162
+ isLastPage: boolean;
163
+ }>;
46
164
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
165
  paramCfg: {
48
166
  type: ObjectConstructor;
@@ -1 +1 @@
1
- import{defineComponent as e,useAttrs as a,ref as t,inject as o,computed as n,openBlock as l,createBlock as i,unref as r,isRef as s,h as u}from"vue";import{NSelect as p,NTag as c}from"naive-ui";import{WidgetOptionEnums as d}from"../../../types/enums.js";import{useDebounceFn as m}from"@vueuse/core";import f from"../../../hooks/useMixins.js";import{InjectionFilterApiConfig as y}from"../../../constants/index.js";var g=e({__name:"SelectDynamic",props:{paramCfg:{type:Object,default:null},modelValue:{type:[Array,String,Number],default:null}},emits:["update:modelValue"],setup(e,{emit:g}){const v=e,{handleGetConfigApi:b}=f(),h=a(),w=t([]),C=t(!1),I=o(y),S=n({set(e){g("update:modelValue",e)},get:()=>v.modelValue}),x=n((()=>{var e;return null==(e=v.paramCfg)?void 0:e.optionSetting})),j=n((()=>x.value===d.MULTIPLE));async function K(e){try{const{dynamicOptionInfo:a}=v.paramCfg.optionInfo;if(a){const{autograph:t,dataSourceId:o,dataSourceType:n,filterKeys:l,showKeys:i,valueKey:r}=a;let s={wordbookId:o,autograph:t,wordbookType:n,fieldKeys:l,page:1};l.length>0&&(s[l[0]]=e),C.value=!0;let u=await b(s,"requestDynamicSelect",{},I);if(u){const{fieldList:e=[],rows:a=[]}=u,t=a.map((e=>({...e,label:e[i[0]],value:e[r]})));return w.value=t,t}}}catch(e){console.log(e)}finally{C.value=!1}}const O=m((async e=>{await async function(e){const{manualMapping:a}=h;if(!a){const a=e.trim();await K(a)}}(e)}),300);async function k(){const{dynamicOptionInfo:e}=v.paramCfg.optionInfo;Object.keys(e).length>0&&I&&await K("")}function T(e){const{dynamicOptionInfo:a}=v.paramCfg.optionInfo,{showKeys:t=[]}=a;return a&&t.length>0?u("div",{class:"select-widget-dynamic-option"},t.map((a=>u("span",{class:"select-widget-dynamic-item"},e[a])))):u("div",e.label)}function V({option:e,handleClose:a}){return j.value?u(c,{style:{padding:"0 8px"},closable:!0,onClose:e=>{e.stopPropagation(),a()}},{default:()=>u("div",e.label)}):u("div",e.label)}return k(),(e,a)=>(l(),i(r(p),{to:"body",value:r(S),"onUpdate:value":a[0]||(a[0]=e=>s(S)?S.value=e:null),loading:C.value,options:w.value,remote:!0,"render-label":T,"render-tag":V,multiple:r(j),clearable:"",filterable:"",maxTagCount:"responsive",style:{width:"200px"},onSearch:r(O),onClear:k},null,8,["value","loading","options","multiple","onSearch"]))}});export{g as default};
1
+ import{defineComponent as e,ref as a,inject as l,computed as t,openBlock as n,createBlock as o,unref as u,isRef as i,withModifiers as r,withCtx as s,createVNode as c,h as p}from"vue";import{useMessage as d,NSelect as v,NTag as m}from"naive-ui";import{WidgetOptionEnums as f}from"../../../types/enums.js";import{useDebounceFn as y}from"@vueuse/core";import g from"../../../hooks/useMixins.js";import{InjectionFilterApiConfig as h}from"../../../constants/index.js";import b from"../../render-widget/components/SelectDynamicOption/index.vue.js";var w=e({__name:"SelectDynamic",props:{paramCfg:{type:Object,default:null},modelValue:{type:[Array,String,Number],default:null}},emits:["update:modelValue"],setup(e,{emit:w}){const S=e,V=d(),{handleGetConfigApi:O}=g(),C=a(!1),L=l(h),x=a(0),A={class:"select-dynamic-popover"},P=a(1),j=a(),I=a([]),k=a(),T=t((()=>{var e;return null==(e=S.paramCfg)?void 0:e.optionSetting})),K=t((()=>T.value===f.MULTIPLE)),M=t((()=>{const{dynamicOptionInfo:e={}}=S.paramCfg.optionInfo;return e})),U=t((()=>x.value>0&&P.value>=x.value)),D=t((()=>{var e;if(Array.isArray(S.modelValue)&&S.modelValue.length>0){const e=S.modelValue;if(N(e),!K.value&&1==e.length){const a=I.value.find((a=>a.value===e[0]));return JSON.stringify(a)}return I.value.filter((a=>e.includes(a.value)))}return N([]),null!=(e=S.modelValue)?e:null}));function N(e){I.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function _(e){w("update:modelValue",e)}async function E(e){P.value=e,await J(k.value,P.value)}async function J(e,a){try{if(Object.keys(M.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:n,filterKeys:o,showKeys:u,valueKey:i}=M.value;let r={wordbookId:t,autograph:l,wordbookType:n,fieldKeys:o,page:a};o.length>0&&(r[o[0]]=e),C.value=!0;let s=await O(r,"requestDynamicSelect",{},L);if(s){const{fieldList:e=[],rows:a=[],total:l=0}=s.map,t=a.map((e=>({...e,label:e[u[0]],value:e[i]})));return j.value=null!=e?e:[],I.value=null!=t?t:[],x.value=l,t}}}catch(e){V.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{C.value=!1}}const q=y((async e=>{await async function(e){k.value=e.trim(),P.value=1,await J(k.value,P.value)}(e)}),300);async function G(){Object.keys(M.value).length>0&&L&&await J("",P.value)}async function $(){w("update:modelValue",null),await G()}function z({option:e,handleClose:a}){if(K.value){const l=e.value;return p(m,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(S.modelValue)&&S.modelValue.length>0){const e=S.modelValue,a=e.indexOf(l.value);if(a>-1){const l=e.splice(0,a);w("update:modelValue",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 G(),(e,a)=>(n(),o(u(v),{id:"select-dynamic-popover",style:{width:"200px"},value:u(D),"onUpdate:value":a[0]||(a[0]=e=>i(D)?D.value=e:null),remote:"",clearable:"",filterable:"",maxTagCount:"responsive",loading:C.value,multiple:u(K),menuProps:A,"render-tag":z,onSearch:u(q),onClear:$,onClick:a[1]||(a[1]=r((()=>{}),["stop"]))},{empty:s((()=>[c(b,{dynamicOptionInfo:u(M),fieldTitleList:j.value,optionList:I.value,isMultiple:u(K),curPage:P.value,isLastPage:u(U),onUpdateSelect:_,onUpdatePage:E},null,8,["dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage"])])),_:1},8,["value","loading","multiple","onSearch"]))}});export{w as default};
@@ -0,0 +1,61 @@
1
+ import { SelectOption } from 'naive-ui';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ paramCfg: {
4
+ type: ObjectConstructor;
5
+ default: null;
6
+ };
7
+ modelValue: {
8
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
9
+ default: null;
10
+ };
11
+ }, {
12
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
13
+ paramCfg: {
14
+ type: ObjectConstructor;
15
+ default: null;
16
+ };
17
+ modelValue: {
18
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
19
+ default: null;
20
+ };
21
+ }>> & {
22
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
23
+ }>>;
24
+ handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
25
+ $attrs: {
26
+ [x: string]: unknown;
27
+ };
28
+ emit: (event: "update:modelValue", ...args: any[]) => void;
29
+ selectOptions: import("vue").Ref<any[]>;
30
+ isLoading: import("vue").Ref<boolean>;
31
+ filterApiConfig: import("../../../../..").AnyObject;
32
+ valueCp: import("vue").WritableComputedRef<any>;
33
+ optionSetting: import("vue").ComputedRef<any>;
34
+ isMultiple: import("vue").ComputedRef<boolean>;
35
+ searchOptions: (keyword: string) => Promise<any>;
36
+ _handleSearch: (query: string) => Promise<void>;
37
+ handleSearch: (query: string) => Promise<void>;
38
+ handleInitData: () => Promise<void>;
39
+ renderLabel: (option: SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
+ [key: string]: any;
41
+ }>;
42
+ renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
+ [key: string]: any;
44
+ }>;
45
+ NSelect: any;
46
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
47
+ paramCfg: {
48
+ type: ObjectConstructor;
49
+ default: null;
50
+ };
51
+ modelValue: {
52
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
53
+ default: null;
54
+ };
55
+ }>> & {
56
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
57
+ }, {
58
+ modelValue: string | number | unknown[];
59
+ paramCfg: Record<string, any>;
60
+ }>;
61
+ export default _default;
@@ -10,6 +10,7 @@ declare const _default: import("vue").DefineComponent<{
10
10
  };
11
11
  }, {
12
12
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
13
+ message: import("naive-ui").MessageApi;
13
14
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
14
15
  paramCfg: {
15
16
  type: ObjectConstructor;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as l,inject as t,computed as a,openBlock as o,createBlock as u,unref as s,isRef as i}from"vue";import{NSelect as n}from"naive-ui";import r from"../../../hooks/useMixins.js";import{InjectionFilterApiConfig as p}from"../../../constants/index.js";var m=e({__name:"SelectLabel",props:{paramCfg:{type:Object,default:null},modelValue:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:m}){const f=e,{handleGetConfigApi:d}=r(),c=l([]),h=t(p),v=a({set(e){const l=e?e.join("|#|"):e;m("update:modelValue",l)},get:()=>f.modelValue?f.modelValue.split("|#|"):[]}),b=a((()=>{if(c.value&&c.value.length>0){let e=[],l=[];return c.value.forEach((t=>{t.labelList.forEach((t=>{e.includes(t.labelShowText)||(e.push(t.labelShowText),l.push({label:t.labelShowText,value:t.labelShowText}))}))})),l}return[]}));return(async()=>{try{const{defaultValue:e={}}=f.paramCfg._rawData,{classifyStr:l=""}=e;let t=await d({classifyStr:l},"requestListByClassify",{},h);if(t){const{data:e}=t,{list:l=[]}=e;c.value=l}}catch(e){console.log(e)}})(),(e,l)=>(o(),u(s(n),{to:"body",multiple:"",clearable:"",filterable:"",maxTagCount:"responsive",value:s(v),"onUpdate:value":l[0]||(l[0]=e=>i(v)?v.value=e:null),options:s(b),style:{width:"200px"}},null,8,["value","options"]))}});export{m as default};
1
+ import{defineComponent as e,ref as l,inject as t,computed as a,openBlock as o,createBlock as u,unref as s,isRef as r}from"vue";import{useMessage as i,NSelect as n}from"naive-ui";import p from"../../../hooks/useMixins.js";import{InjectionFilterApiConfig as m}from"../../../constants/index.js";var f=e({__name:"SelectLabel",props:{paramCfg:{type:Object,default:null},modelValue:{type:String,default:null}},emits:["update:modelValue"],setup(e,{emit:f}){const c=e,{handleGetConfigApi:d}=p(),h=i(),v=l([]),b=t(m),y=a({set(e){const l=e?e.join("|#|"):e;f("update:modelValue",l)},get:()=>c.modelValue?c.modelValue.split("|#|"):[]}),x=a((()=>{if(v.value&&v.value.length>0){let e=[],l=[];return v.value.forEach((t=>{t.labelList.forEach((t=>{e.includes(t.labelShowText)||(e.push(t.labelShowText),l.push({label:t.labelShowText,value:t.labelShowText}))}))})),l}return[]}));return(async()=>{try{const{defaultValue:e={}}=c.paramCfg._rawData,{classifyStr:l=""}=e;let t=await d({classifyStr:l},"requestListByClassify",{},b);if(t){const{list:e=[]}=t;v.value=e}}catch(e){h.error(`获取标签数据请求失败:${e}`),console.log(e)}})(),(e,l)=>(o(),u(s(n),{to:"body",multiple:"",clearable:"",filterable:"",maxTagCount:"responsive",value:s(y),"onUpdate:value":l[0]||(l[0]=e=>r(y)?y.value=e:null),options:s(x),style:{width:"200px"}},null,8,["value","options"]))}});export{f as default};
@@ -1,4 +1,7 @@
1
1
  declare const Date: import("vue").DefineComponent<{
2
+ componentCfg: {
3
+ type: ObjectConstructor;
4
+ };
2
5
  paramCfg: {
3
6
  type: ObjectConstructor;
4
7
  default: null;
@@ -13,6 +16,9 @@ declare const Date: import("vue").DefineComponent<{
13
16
  };
14
17
  }, {
15
18
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
19
+ componentCfg: {
20
+ type: ObjectConstructor;
21
+ };
16
22
  paramCfg: {
17
23
  type: ObjectConstructor;
18
24
  default: null;
@@ -35,11 +41,17 @@ declare const Date: import("vue").DefineComponent<{
35
41
  dateType: any;
36
42
  valueFormat: import("vue").ComputedRef<string>;
37
43
  compType: import("vue").ComputedRef<any>;
38
- mappingConfig: import("vue").ComputedRef<any>;
44
+ optionSetting: import("vue").ComputedRef<any>;
39
45
  widgetOptions: import("vue").ComputedRef<{
40
46
  label: string;
41
47
  value: string;
42
48
  }[]>;
49
+ isDateDisabled: (ts: number) => boolean;
50
+ timeDisabled: (ts: number) => {
51
+ isHourDisabled(hour: number): boolean | undefined;
52
+ isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
53
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
54
+ };
43
55
  CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
44
56
  updateUnchangedValue: {
45
57
  type: BooleanConstructor;
@@ -111,6 +123,9 @@ declare const Date: import("vue").DefineComponent<{
111
123
  LAST_YEAR: string;
112
124
  };
113
125
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
126
+ componentCfg: {
127
+ type: ObjectConstructor;
128
+ };
114
129
  paramCfg: {
115
130
  type: ObjectConstructor;
116
131
  default: null;
@@ -262,6 +277,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
262
277
  default: null;
263
278
  };
264
279
  }, {
280
+ message: import("naive-ui").MessageApi;
265
281
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
266
282
  paramCfg: {
267
283
  type: ObjectConstructor;
@@ -275,27 +291,145 @@ declare const SelectDynamic: import("vue").DefineComponent<{
275
291
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
276
292
  }>>;
277
293
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
278
- $attrs: {
279
- [x: string]: unknown;
280
- };
281
294
  emit: (event: "update:modelValue", ...args: any[]) => void;
282
- selectOptions: import("vue").Ref<any[]>;
283
295
  isLoading: import("vue").Ref<boolean>;
284
296
  filterApiConfig: import("../../../../..").AnyObject;
285
- valueCp: import("vue").WritableComputedRef<any>;
297
+ totalPage: import("vue").Ref<number>;
298
+ menuProps: {
299
+ class: string;
300
+ };
301
+ curPage: import("vue").Ref<number>;
302
+ fieldTitleList: import("vue").Ref<any>;
303
+ selectOptions: import("vue").Ref<any[]>;
304
+ keywordVal: import("vue").Ref<any>;
286
305
  optionSetting: import("vue").ComputedRef<any>;
287
306
  isMultiple: import("vue").ComputedRef<boolean>;
288
- searchOptions: (keyword: string) => Promise<any>;
307
+ dynamicOptionInfos: import("vue").ComputedRef<any>;
308
+ isLastPage: import("vue").ComputedRef<boolean>;
309
+ valueCp: import("vue").ComputedRef<string | number | any[]>;
310
+ setOptionActive: (selectIds: string[]) => void;
311
+ handleUpdateSelect: (value: string[] | null) => void;
312
+ handleUpdatePage: (page: number) => Promise<void>;
313
+ getOptionsData: (keyword: string, curPage: number) => Promise<any>;
289
314
  _handleSearch: (query: string) => Promise<void>;
290
315
  handleSearch: (query: string) => Promise<void>;
291
316
  handleInitData: () => Promise<void>;
292
- renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
293
- [key: string]: any;
294
- }>;
317
+ handleClear: () => Promise<void>;
295
318
  renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
296
319
  [key: string]: any;
297
320
  }>;
298
321
  NSelect: any;
322
+ SelectDynamicOption: import("vue").DefineComponent<{
323
+ dynamicOptionInfo: {
324
+ type: import("vue").PropType<import("../../../../..").AnyObject>;
325
+ default: () => {};
326
+ };
327
+ fieldTitleList: {
328
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
329
+ default: () => never[];
330
+ };
331
+ optionList: {
332
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
333
+ default: () => never[];
334
+ };
335
+ isMultiple: {
336
+ type: BooleanConstructor;
337
+ default: boolean;
338
+ };
339
+ curPage: {
340
+ type: NumberConstructor;
341
+ default: number;
342
+ };
343
+ isLastPage: {
344
+ type: BooleanConstructor;
345
+ default: boolean;
346
+ };
347
+ }, {
348
+ selectMinWidth: number;
349
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
350
+ dynamicOptionInfo: {
351
+ type: import("vue").PropType<import("../../../../..").AnyObject>;
352
+ default: () => {};
353
+ };
354
+ fieldTitleList: {
355
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
356
+ default: () => never[];
357
+ };
358
+ optionList: {
359
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
360
+ default: () => never[];
361
+ };
362
+ isMultiple: {
363
+ type: BooleanConstructor;
364
+ default: boolean;
365
+ };
366
+ curPage: {
367
+ type: NumberConstructor;
368
+ default: number;
369
+ };
370
+ isLastPage: {
371
+ type: BooleanConstructor;
372
+ default: boolean;
373
+ };
374
+ }>> & {
375
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
376
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
377
+ }>>;
378
+ emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
379
+ dragEndWidth: import("vue").Ref<number>;
380
+ showKeys: import("vue").ComputedRef<any>;
381
+ titleList: import("vue").ComputedRef<string[]>;
382
+ handleSelect: (option: any) => void;
383
+ searchByPage: (onePage: number) => void;
384
+ changeWidth: ({ distance }: any) => void;
385
+ saveWidth: () => void;
386
+ NEmpty: any;
387
+ NButtonGroup: any;
388
+ NButton: any;
389
+ NIcon: any;
390
+ NPopover: any;
391
+ vFlexibleResize: {
392
+ mounted(el: any, { value }: any): void;
393
+ beforeUnmount(el: any): void;
394
+ };
395
+ 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<{}>>, {}>;
396
+ 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<{}>>, {}>;
397
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
398
+ dynamicOptionInfo: {
399
+ type: import("vue").PropType<import("../../../../..").AnyObject>;
400
+ default: () => {};
401
+ };
402
+ fieldTitleList: {
403
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
404
+ default: () => never[];
405
+ };
406
+ optionList: {
407
+ type: import("vue").PropType<import("../../../../..").AnyObject[]>;
408
+ default: () => never[];
409
+ };
410
+ isMultiple: {
411
+ type: BooleanConstructor;
412
+ default: boolean;
413
+ };
414
+ curPage: {
415
+ type: NumberConstructor;
416
+ default: number;
417
+ };
418
+ isLastPage: {
419
+ type: BooleanConstructor;
420
+ default: boolean;
421
+ };
422
+ }>> & {
423
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
424
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
425
+ }, {
426
+ dynamicOptionInfo: import("../../../../..").AnyObject;
427
+ fieldTitleList: import("../../../../..").AnyObject[];
428
+ optionList: import("../../../../..").AnyObject[];
429
+ isMultiple: boolean;
430
+ curPage: number;
431
+ isLastPage: boolean;
432
+ }>;
299
433
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
300
434
  paramCfg: {
301
435
  type: ObjectConstructor;
@@ -401,8 +535,15 @@ declare const DateRange: import("vue").DefineComponent<{
401
535
  valueFormat: import("vue").ComputedRef<string>;
402
536
  dateFormat: import("vue").ComputedRef<string>;
403
537
  compType: import("vue").ComputedRef<any>;
538
+ optionSetting: import("vue").ComputedRef<any>;
539
+ isPastTime: import("vue").ComputedRef<boolean>;
540
+ isFutureTime: import("vue").ComputedRef<boolean>;
404
541
  startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
405
542
  endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
543
+ startDefault: import("vue").ComputedRef<string>;
544
+ endDefault: import("vue").ComputedRef<string>;
545
+ startDateFormat: import("vue").ComputedRef<string | null>;
546
+ endDateFormat: import("vue").ComputedRef<string | null>;
406
547
  dateType: any;
407
548
  widgetOptions: import("vue").ComputedRef<{
408
549
  label: string;
@@ -411,8 +552,19 @@ declare const DateRange: import("vue").DefineComponent<{
411
552
  presetValCp: import("vue").WritableComputedRef<string>;
412
553
  handleChange: (val: any, type: "end" | "start") => void;
413
554
  isStartDateDisabled: (ts: number) => boolean;
555
+ timeStartDisabled: (ts: number) => {
556
+ isHourDisabled(hour: number): boolean | 0;
557
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
558
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
559
+ };
414
560
  isEndDateDisabled: (ts: number) => boolean;
561
+ timeEndDisabled: (ts: number) => {
562
+ isHourDisabled(hour: number): boolean | 0;
563
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
564
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
565
+ };
415
566
  NSelect: any;
567
+ NPopover: any;
416
568
  CDatePicker: import("../../../../..").SFCWithInstall<import("vue").DefineComponent<{
417
569
  updateUnchangedValue: {
418
570
  type: BooleanConstructor;
@@ -514,6 +666,7 @@ declare const SelectLabel: import("vue").DefineComponent<{
514
666
  };
515
667
  }, {
516
668
  handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
669
+ message: import("naive-ui").MessageApi;
517
670
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
518
671
  paramCfg: {
519
672
  type: ObjectConstructor;