cnhis-design-vue 3.1.46-release.0 → 3.1.46-release.1

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 (132) hide show
  1. package/es/components/base-search/index.d.ts +17 -8
  2. package/es/components/base-search/src/index.vue.d.ts +17 -8
  3. package/es/components/base-search/src/index.vue2.js +1 -1
  4. package/es/components/base-search/style/index.css +1 -1
  5. package/es/components/classification/index.d.ts +219 -18
  6. package/es/components/classification/src/components/search-filter/index.vue.d.ts +219 -18
  7. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  8. package/es/components/classification/src/components/set-classification/index.vue.d.ts +219 -18
  9. package/es/components/classification/src/index.vue.d.ts +219 -18
  10. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  11. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  13. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  17. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  18. package/es/components/fabric-chart/src/utils/index.d.ts +1 -0
  19. package/es/components/fabric-chart/src/utils/index.js +1 -1
  20. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  21. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
  22. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
  23. package/es/components/index.css +1 -1
  24. package/es/components/index.d.ts +2 -1
  25. package/es/components/index.js +1 -1
  26. package/es/components/quick-search/index.d.ts +21 -7
  27. package/es/components/quick-search/src/index.vue.d.ts +21 -7
  28. package/es/components/quick-search/src/index.vue2.js +1 -1
  29. package/es/components/quick-search/style/index.css +1 -1
  30. package/es/components/table-export-field/index.d.ts +967 -0
  31. package/es/components/table-export-field/index.js +1 -0
  32. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +192 -0
  33. package/es/components/table-export-field/src/components/ExportModal.vue.js +1 -0
  34. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
  35. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +687 -0
  36. package/es/components/table-export-field/src/components/SaveProjectModal.vue.js +1 -0
  37. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -0
  38. package/es/components/table-export-field/src/constants/index.d.ts +3 -0
  39. package/es/components/table-export-field/src/constants/index.js +1 -0
  40. package/es/components/table-export-field/src/hooks/useAsyncData.d.ts +6 -0
  41. package/es/components/table-export-field/src/hooks/useAsyncData.js +1 -0
  42. package/es/components/table-export-field/src/index.vue.d.ts +968 -0
  43. package/es/components/table-export-field/src/index.vue.js +1 -0
  44. package/es/components/table-export-field/src/index.vue2.js +1 -0
  45. package/es/components/table-export-field/src/types/index.d.ts +6 -0
  46. package/es/components/table-export-field/src/types/index.js +1 -0
  47. package/es/components/table-export-field/style/index.css +1 -0
  48. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +219 -17
  49. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
  50. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +17 -1
  51. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
  52. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +19 -0
  53. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
  54. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +178 -11
  55. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  56. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -5
  57. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue2.js +1 -1
  58. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +2 -1
  59. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
  60. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +217 -17
  61. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
  62. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +219 -17
  63. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
  64. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +231 -0
  65. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +1 -0
  66. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -0
  67. package/es/components/table-filter/src/components/render-widget/components/{Date.vue.d.ts → DateOut.vue.d.ts} +21 -2
  68. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +1 -0
  69. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +1 -0
  70. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +71 -0
  71. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +1 -0
  72. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -0
  73. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +117 -8
  74. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
  75. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -9
  76. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
  77. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +8 -6
  78. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
  79. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +7 -6
  80. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
  81. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +19 -25
  82. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  83. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +223 -0
  84. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +1 -0
  85. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -0
  86. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +158 -0
  87. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +1 -0
  88. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -0
  89. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +611 -36
  90. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  91. package/es/components/table-filter/src/components/render-widget/enums.d.ts +10 -3
  92. package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
  93. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +27 -0
  94. package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +1 -0
  95. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +55 -0
  96. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -0
  97. package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +56 -0
  98. package/es/components/table-filter/src/components/render-widget/helpers/enums.js +1 -0
  99. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +2 -6
  100. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
  101. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.d.ts +4 -0
  102. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +1 -0
  103. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +4 -0
  104. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.js +1 -0
  105. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +4 -3
  106. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  107. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +639 -35
  108. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  109. package/es/components/table-filter/src/constants/index.d.ts +3 -1
  110. package/es/components/table-filter/src/constants/index.js +1 -1
  111. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +9 -4
  112. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  113. package/es/components/table-filter/src/hooks/useAsyncData.d.ts +4 -0
  114. package/es/components/table-filter/src/hooks/useAsyncData.js +1 -0
  115. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +3 -3
  116. package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
  117. package/es/components/table-filter/src/tool/baseOptions.d.ts +0 -8
  118. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  119. package/es/components/table-filter/src/tool/transformData.d.ts +0 -1
  120. package/es/components/table-filter/src/tool/transformData.js +1 -1
  121. package/es/components/table-filter/src/types/enums.d.ts +3 -0
  122. package/es/components/table-filter/src/types/enums.js +1 -1
  123. package/es/components/table-filter/src/types/index.d.ts +7 -0
  124. package/es/shared/package.json.js +1 -1
  125. package/es/shared/utils/fabricjs/index.js +1 -1
  126. package/package.json +2 -2
  127. package/es/components/table-filter/src/components/render-widget/basicData.d.ts +0 -4
  128. package/es/components/table-filter/src/components/render-widget/basicData.js +0 -1
  129. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +0 -1
  130. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +0 -1
  131. package/es/components/table-filter/src/tool/generateDefOptions.d.ts +0 -7
  132. package/es/components/table-filter/src/tool/generateDefOptions.js +0 -1
@@ -28,31 +28,36 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
28
28
  field_key: string;
29
29
  con: string | undefined;
30
30
  value: any[] | null;
31
- unit: null;
31
+ unit: string;
32
32
  } | null;
33
33
  isExistDefValByRenderWidget: (cfg: import("..").ISearchType) => boolean;
34
34
  resetRenderWidgetValue: (cfg: import("..").ISearchType) => any;
35
- transformData: (advancedFilterData: import("..").IApiServerType[]) => {
35
+ transformData: (advancedFilterData: import("..").IApiServerType[], extendData: import("..").IExtendConfigurationType) => {
36
36
  fieldType: string;
37
37
  columnName: string;
38
38
  settingObj: {};
39
39
  setting: string;
40
40
  widgetCfg: {
41
41
  isRender: boolean;
42
- isInit: boolean;
43
42
  widgetType: string | null;
43
+ originType: string | null;
44
44
  valueList: {
45
45
  value: any;
46
46
  label: any;
47
47
  }[] | undefined;
48
48
  defaultValue: any;
49
49
  defValueUnit: any;
50
+ optionSetting: string | undefined;
50
51
  multiple: boolean;
51
52
  manualMapping: boolean | null | undefined;
53
+ showWholeOption: boolean | undefined;
52
54
  dynamicOptionInfo: import("..").dynamicOptionInfoType | {} | undefined;
53
55
  classifyStr: string | undefined;
56
+ linkageFieldKeys: string[];
54
57
  };
55
58
  rangeFilter: boolean | undefined;
59
+ unit: any;
60
+ _extendData: import("..").IExtendConfigurationType;
56
61
  title: string;
57
62
  alias: string | undefined;
58
63
  isShowSearch: number;
@@ -62,7 +67,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
62
67
  placeholder: string | undefined;
63
68
  advanceColWidth: number | null | undefined;
64
69
  }[];
65
- transformParams: (paramsList: any) => {};
70
+ transformParams: (paramsList: any[]) => {};
66
71
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
67
72
  showSettings: {
68
73
  type: import("vue").PropType<import("..").IsettingsType>;
@@ -111,6 +116,10 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
111
116
  setting?: any;
112
117
  widgetCfg?: any;
113
118
  rangeFilter?: boolean | undefined;
119
+ unit?: string | undefined;
120
+ _extendData?: {
121
+ _filterApiConfig: any;
122
+ } | undefined;
114
123
  _frontId?: any;
115
124
  isRender?: boolean | undefined;
116
125
  widgetType?: any;
@@ -126,7 +135,6 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
126
135
  isShowSetting: (v: string) => boolean;
127
136
  foldQuickSearch: () => void;
128
137
  outFilterChange: (config?: {}) => void;
129
- handleChangeInit: (_frontId: string, bool: boolean) => void;
130
138
  getConObjParams: () => any;
131
139
  getConObj: (arr: any) => any;
132
140
  onFilterSearch: (obj: import("..").ISearchParamsType[], transResult: object, isOutFilter?: boolean, config?: {}) => void;
@@ -144,6 +152,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
144
152
  initialProps: {};
145
153
  }, {
146
154
  valueCp(): any;
155
+ unit(): any;
147
156
  }, {
148
157
  search(): void;
149
158
  getEleWidth(cfg: any): {
@@ -154,8 +163,8 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
154
163
  [key: string]: any;
155
164
  }> | null;
156
165
  handleUpdate(val: any): void;
157
- handleChangeInitState(_frontId: any, bool: any): void;
158
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "outFilterChange" | "changeInit")[], "update:modelValue" | "outFilterChange" | "changeInit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
166
+ handleUpdateUnit(val: any): void;
167
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:unit" | "outFilterChange")[], "update:modelValue" | "update:unit" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
159
168
  cfg: {
160
169
  type: ObjectConstructor;
161
170
  required: true;
@@ -165,8 +174,8 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
165
174
  };
166
175
  }>> & {
167
176
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
177
+ "onUpdate:unit"?: ((...args: any[]) => any) | undefined;
168
178
  onOutFilterChange?: ((...args: any[]) => any) | undefined;
169
- onChangeInit?: ((...args: any[]) => any) | undefined;
170
179
  }, {}>;
171
180
  NIcon: any;
172
181
  NButton: any;
@@ -29,31 +29,36 @@ declare const _default: import("vue").DefineComponent<{
29
29
  field_key: string;
30
30
  con: string | undefined;
31
31
  value: any[] | null;
32
- unit: null;
32
+ unit: string;
33
33
  } | null;
34
34
  isExistDefValByRenderWidget: (cfg: ISearchType) => boolean;
35
35
  resetRenderWidgetValue: (cfg: ISearchType) => any;
36
- transformData: (advancedFilterData: IApiServerType[]) => {
36
+ transformData: (advancedFilterData: IApiServerType[], extendData: import("../../../../es/components/table-filter/src/types").IExtendConfigurationType) => {
37
37
  fieldType: string;
38
38
  columnName: string;
39
39
  settingObj: {};
40
40
  setting: string;
41
41
  widgetCfg: {
42
42
  isRender: boolean;
43
- isInit: boolean;
44
43
  widgetType: string | null;
44
+ originType: string | null;
45
45
  valueList: {
46
46
  value: any;
47
47
  label: any;
48
48
  }[] | undefined;
49
49
  defaultValue: any;
50
50
  defValueUnit: any;
51
+ optionSetting: string | undefined;
51
52
  multiple: boolean;
52
53
  manualMapping: boolean | null | undefined;
54
+ showWholeOption: boolean | undefined;
53
55
  dynamicOptionInfo: import("../../../../es/components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
54
56
  classifyStr: string | undefined;
57
+ linkageFieldKeys: string[];
55
58
  };
56
59
  rangeFilter: boolean | undefined;
60
+ unit: any;
61
+ _extendData: import("../../../../es/components/table-filter/src/types").IExtendConfigurationType;
57
62
  title: string;
58
63
  alias: string | undefined;
59
64
  isShowSearch: number;
@@ -63,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
63
68
  placeholder: string | undefined;
64
69
  advanceColWidth: number | null | undefined;
65
70
  }[];
66
- transformParams: (paramsList: any) => {};
71
+ transformParams: (paramsList: any[]) => {};
67
72
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
68
73
  showSettings: {
69
74
  type: PropType<IsettingsType>;
@@ -112,6 +117,10 @@ declare const _default: import("vue").DefineComponent<{
112
117
  setting?: any;
113
118
  widgetCfg?: any;
114
119
  rangeFilter?: boolean | undefined;
120
+ unit?: string | undefined;
121
+ _extendData?: {
122
+ _filterApiConfig: any;
123
+ } | undefined;
115
124
  _frontId?: any;
116
125
  isRender?: boolean | undefined;
117
126
  widgetType?: any;
@@ -127,7 +136,6 @@ declare const _default: import("vue").DefineComponent<{
127
136
  isShowSetting: (v: string) => boolean;
128
137
  foldQuickSearch: () => void;
129
138
  outFilterChange: (config?: {}) => void;
130
- handleChangeInit: (_frontId: string, bool: boolean) => void;
131
139
  getConObjParams: () => any;
132
140
  getConObj: (arr: any) => any;
133
141
  onFilterSearch: (obj: ISearchParamsType[], transResult: object, isOutFilter?: boolean, config?: {}) => void;
@@ -145,6 +153,7 @@ declare const _default: import("vue").DefineComponent<{
145
153
  initialProps: {};
146
154
  }, {
147
155
  valueCp(): any;
156
+ unit(): any;
148
157
  }, {
149
158
  search(): void;
150
159
  getEleWidth(cfg: any): {
@@ -155,8 +164,8 @@ declare const _default: import("vue").DefineComponent<{
155
164
  [key: string]: any;
156
165
  }> | null;
157
166
  handleUpdate(val: any): void;
158
- handleChangeInitState(_frontId: any, bool: any): void;
159
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "outFilterChange" | "changeInit")[], "update:modelValue" | "outFilterChange" | "changeInit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
167
+ handleUpdateUnit(val: any): void;
168
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:unit" | "outFilterChange")[], "update:modelValue" | "update:unit" | "outFilterChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
160
169
  cfg: {
161
170
  type: ObjectConstructor;
162
171
  required: true;
@@ -166,8 +175,8 @@ declare const _default: import("vue").DefineComponent<{
166
175
  };
167
176
  }>> & {
168
177
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
178
+ "onUpdate:unit"?: ((...args: any[]) => any) | undefined;
169
179
  onOutFilterChange?: ((...args: any[]) => any) | undefined;
170
- onChangeInit?: ((...args: any[]) => any) | undefined;
171
180
  }, {}>;
172
181
  NIcon: any;
173
182
  NButton: any;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as t,provide as l,computed as i,watch as a,openBlock as n,createElementBlock as r,createElementVNode as s,createCommentVNode as o,renderSlot as u,unref as c,createVNode as f,withCtx as d,createTextVNode as h,toDisplayString as m,Fragment as v,renderList as p}from"vue";import b from"../../table-filter/src/components/render-widget/index.vue.js";import g from"../../table-filter/src/hooks/useMixins.js";import y from"../../table-filter/src/hooks/useAdvanced.js";import C from"../../table-filter/src/hooks/useRenderWidget.js";import{NButton as k,NIcon as S}from"naive-ui";import{Search as j}from"@vicons/ionicons5";import{cloneDeep as x}from"lodash-es";import{InjectionFilterApiConfig as q}from"../../table-filter/src/constants/index.js";const R={class:"base-search-block"},O={class:"base-container"},F={class:"bease-left"},A={class:"base-ul"},I={key:0,class:"baseli showQuickBtn"},Q=s("i",{class:"iconfont-table-filter icon-table-filter-shaixuan",style:{color:"inherit","margin-right":"6px"}},null,-1),V={key:0,class:"qqConObjCount"},_={key:1,class:"baseli"},w={key:2,class:"baseli"},B=s("i",{class:"iconfont-table-filter icon-table-filter-reset",style:{"margin-right":"6px"}},null,-1);var E=e({__name:"index",props:{showSettings:{type:Object,default:()=>({hideQuickSearch:0,hideResetBtn:0})},searchFieldList:{type:Array,default:()=>[]},qqConObjCount:{type:Number,default:0},filterApiConfig:{type:Object}},emits:["foldQuickSearch","onFilterSearch","handleReset","getFilterParam"],setup(e,{expose:E,emit:D}){const L=e,{outQuickSearchFn:N}=g(),{isRender:P,getRenderSearchConObj:W,isExistDefValByRenderWidget:U,resetRenderWidgetValue:$}=C(),{transformData:z,transformParams:M}=y(),T=t([]),G=t(!1),H=t([]);l(q,L.filterApiConfig);const J=i((()=>X("hideQuickSearch"))),K=i((()=>X("hideResetBtn")));function X(e){return 0==L.showSettings[e]}function Y(){D("foldQuickSearch",!0)}function Z(e={}){const t=te()||[];!function(e,t,l=!1,i={}){let a=[];H.value.length>0&&(a=x(H.value));D("onFilterSearch",e,t,l,a,i)}(t,M(t),!0,e)}function ee(e,t){H.value.forEach((l=>{l._frontId===e&&(l.widgetCfg.isInit=t)}))}function te(){return function(e){if(!Array.isArray(e))return[];let t=[];for(let l=0;l<e.length;l++){let i=e[l];const a=W(i);a&&t.push(a)}return t.filter((e=>e.value))}(H.value)}function le(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{$(e)})),N.handlerInitSearchItem(e)}(H.value),D("handleReset",{targetType:"outQuickSearchReset"})}return a((()=>L.searchFieldList),(e=>{e&&e.length>0&&function(){H.value=[];let e=x(z(L.searchFieldList)).filter((e=>1==e.isShowSearch&&1==e.filterExplicit));H.value=e,N.handlerInitSearchItem(H.value),H.value.some((e=>P(e)?U(e):!!e.explicitDefaultVal))}()}),{immediate:!0,deep:!0}),a((()=>L.qqConObjCount),(e=>{const t=T.value.length||0;G.value=t+Number(e)>0&&K.value}),{immediate:!0}),a((()=>H),(()=>{T.value=te()||[];const e=M(T.value);G.value=T.value.length+Number(L.qqConObjCount)>0&&K.value,D("getFilterParam",T.value,e)}),{immediate:!0,deep:!0}),E({handleReset:le}),(t,l)=>(n(),r("div",R,[s("div",O,[s("div",F,[s("ul",A,[o(" 筛选分类插槽 "),u(t.$slots,"classification"),c(J)?(n(),r("li",I,[f(c(k),{class:"search-default",type:"default",onClick:Y},{default:d((()=>[Q,h(" 筛选"),e.qqConObjCount?(n(),r("span",V,"("+m(e.qqConObjCount)+")",1)):o("v-if",!0)])),_:1})])):o("v-if",!0),o(" start--筛选外显--start "),(n(!0),r(v,null,p(H.value,(e=>(n(),r(v,null,[e.isRender?(n(),r("li",{class:"baseli outQuickSearch-li",key:e._frontId},[f(b,{cfg:e,modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,onOutFilterChange:Z,onChangeInit:ee},null,8,["cfg","modelValue","onUpdate:modelValue"])])):o("v-if",!0)],64)))),256)),o(" end--筛选外显--end "),o(" 查询按钮 "),H.value&&H.value.length>0?(n(),r("li",_,[f(c(k),{type:"primary",onClick:Z},{default:d((()=>[f(c(S),{component:c(j),size:"16",style:{"margin-right":"6px"}},null,8,["component"]),h(" 查询 ")])),_:1})])):o("v-if",!0),o(" 重置按钮 "),G.value?(n(),r("li",w,[f(c(k),{onClick:le},{default:d((()=>[B,h(" 重置 ")])),_:1})])):o("v-if",!0),o(" 业务按钮插槽 "),u(t.$slots,"buttons")])])])]))}});export{E as default};
1
+ import{defineComponent as e,ref as t,provide as l,computed as i,watch as a,openBlock as n,createElementBlock as r,createElementVNode as s,createCommentVNode as o,renderSlot as u,unref as c,createVNode as f,withCtx as d,createTextVNode as h,toDisplayString as m,Fragment as p,renderList as v}from"vue";import b from"../../table-filter/src/components/render-widget/index.vue.js";import g from"../../table-filter/src/hooks/useMixins.js";import y from"../../table-filter/src/hooks/useAdvanced.js";import C from"../../table-filter/src/hooks/useRenderWidget.js";import{NButton as k,NIcon as S}from"naive-ui";import{Search as j}from"@vicons/ionicons5";import{cloneDeep as x}from"lodash-es";import{InjectionFilterApiConfig as q,InjectionFilterSearchConfig as R}from"../../table-filter/src/constants/index.js";const A={class:"base-search-block"},O={class:"base-container"},F={class:"bease-left"},Q={class:"base-ul"},V={key:0,class:"baseli showQuickBtn"},_=s("i",{class:"iconfont-table-filter icon-table-filter-shaixuan",style:{color:"inherit","margin-right":"6px"}},null,-1),w={key:0,class:"qqConObjCount"},I={key:1,class:"baseli"},B={key:2,class:"baseli"},D=s("i",{class:"iconfont-table-filter icon-table-filter-reset",style:{"margin-right":"6px"}},null,-1);var E=e({__name:"index",props:{showSettings:{type:Object,default:()=>({hideQuickSearch:0,hideResetBtn:0})},searchFieldList:{type:Array,default:()=>[]},qqConObjCount:{type:Number,default:0},filterApiConfig:{type:Object}},emits:["foldQuickSearch","onFilterSearch","handleReset","getFilterParam"],setup(e,{expose:E,emit:L}){const N=e,{outQuickSearchFn:P}=g(),{isRender:W,getRenderSearchConObj:U,isExistDefValByRenderWidget:$,resetRenderWidgetValue:z}=C(),{transformData:M,transformParams:T}=y(),G=t([]),H=t(!1),J=t([]);l(q,N.filterApiConfig),l(R,J);const K=i((()=>Y("hideQuickSearch"))),X=i((()=>Y("hideResetBtn")));function Y(e){return 0==N.showSettings[e]}function Z(){L("foldQuickSearch",!0)}function ee(e={}){const t=te()||[];!function(e,t,l=!1,i={}){let a=[];J.value.length>0&&(a=x(J.value));L("onFilterSearch",e,t,l,a,i)}(t,T(t),!0,e)}function te(){return function(e){if(!Array.isArray(e))return[];let t=[];for(let l=0;l<e.length;l++){let i=e[l];const a=U(i);a&&t.push(a)}return t.filter((e=>e.value))}(J.value)}function le(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{z(e)})),P.handlerInitSearchItem(e)}(J.value),L("handleReset",{targetType:"outQuickSearchReset"})}return a((()=>N.searchFieldList),(e=>{e&&e.length>0&&function(){J.value=[];let e=x(M(N.searchFieldList,{_filterApiConfig:N.filterApiConfig})).filter((e=>1==e.isShowSearch&&1==e.filterExplicit));J.value=e,P.handlerInitSearchItem(J.value),J.value.some((e=>W(e)?$(e):!!e.explicitDefaultVal))}()}),{immediate:!0,deep:!0}),a((()=>N.qqConObjCount),(e=>{const t=G.value.length||0;H.value=t+Number(e)>0&&X.value}),{immediate:!0}),a((()=>J),(()=>{G.value=te()||[];const e=T(G.value);H.value=G.value.length+Number(N.qqConObjCount)>0&&X.value,L("getFilterParam",G.value,e)}),{immediate:!0,deep:!0}),E({handleReset:le}),(t,l)=>(n(),r("div",A,[s("div",O,[s("div",F,[s("ul",Q,[o(" 筛选分类插槽 "),u(t.$slots,"classification"),c(K)?(n(),r("li",V,[f(c(k),{class:"search-default",type:"default",onClick:Z},{default:d((()=>[_,h(" 筛选"),e.qqConObjCount?(n(),r("span",w,"("+m(e.qqConObjCount)+")",1)):o("v-if",!0)])),_:1})])):o("v-if",!0),o(" start--筛选外显--start "),(n(!0),r(p,null,v(J.value,(e=>(n(),r(p,null,[e.isRender?(n(),r("li",{class:"baseli outQuickSearch-li",key:e._frontId},[f(b,{cfg:e,modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,onOutFilterChange:ee},null,8,["cfg","modelValue","onUpdate:modelValue"])])):o("v-if",!0)],64)))),256)),o(" end--筛选外显--end "),o(" 查询按钮 "),J.value&&J.value.length>0?(n(),r("li",I,[f(c(k),{type:"primary",onClick:ee},{default:d((()=>[f(c(S),{component:c(j),size:"16",style:{"margin-right":"6px"}},null,8,["component"]),h(" 查询 ")])),_:1})])):o("v-if",!0),o(" 重置按钮 "),H.value?(n(),r("li",B,[f(c(k),{onClick:le},{default:d((()=>[D,h(" 重置 ")])),_:1})])):o("v-if",!0),o(" 业务按钮插槽 "),u(t.$slots,"buttons")])])])]))}});export{E as default};
@@ -1 +1 @@
1
- @font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.n-base-select-option__content{width:100%}.n-base-select-option__content .select-widget-dynamic-option{display:flex;flex-wrap:nowrap;width:100%}.n-base-select-option__content .select-widget-dynamic-option .select-widget-dynamic-item{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;min-width:720px}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
1
+ @font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
@@ -566,7 +566,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
566
566
  bodyStyle: import("vue").Ref<{
567
567
  maxHeight: string;
568
568
  height: string;
569
- overflowY: string;
570
569
  }>;
571
570
  conditionApiRef: any;
572
571
  filterTimer: any;
@@ -735,6 +734,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
735
734
  presetValCp: import("vue").WritableComputedRef<string>;
736
735
  widgetType: import("vue").ComputedRef<any>;
737
736
  Date: import("vue").DefineComponent<{
737
+ componentCfg: {
738
+ type: ObjectConstructor;
739
+ };
738
740
  paramCfg: {
739
741
  type: ObjectConstructor;
740
742
  default: null;
@@ -749,6 +751,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
749
751
  };
750
752
  }, {
751
753
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
754
+ componentCfg: {
755
+ type: ObjectConstructor;
756
+ };
752
757
  paramCfg: {
753
758
  type: ObjectConstructor;
754
759
  default: null;
@@ -771,11 +776,17 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
771
776
  dateType: any;
772
777
  valueFormat: import("vue").ComputedRef<string>;
773
778
  compType: import("vue").ComputedRef<any>;
774
- mappingConfig: import("vue").ComputedRef<any>;
779
+ optionSetting: import("vue").ComputedRef<any>;
775
780
  widgetOptions: import("vue").ComputedRef<{
776
781
  label: string;
777
782
  value: string;
778
783
  }[]>;
784
+ isDateDisabled: (ts: number) => boolean;
785
+ timeDisabled: (ts: number) => {
786
+ isHourDisabled(hour: number): boolean | undefined;
787
+ isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
788
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
789
+ };
779
790
  CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
780
791
  updateUnchangedValue: {
781
792
  type: BooleanConstructor;
@@ -819,6 +830,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
819
830
  WidgetValEnums: {
820
831
  CUSTOM: string;
821
832
  FIRST_VAL: string;
833
+ WHOLE: string;
822
834
  NOW: string;
823
835
  TODAY: string;
824
836
  TODAY_START: string;
@@ -847,6 +859,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
847
859
  LAST_YEAR: string;
848
860
  };
849
861
  }, 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<{
862
+ componentCfg: {
863
+ type: ObjectConstructor;
864
+ };
850
865
  paramCfg: {
851
866
  type: ObjectConstructor;
852
867
  default: null;
@@ -954,11 +969,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
954
969
  emit: (event: "update:modelValue", ...args: any[]) => void;
955
970
  valueCp: import("vue").WritableComputedRef<any>;
956
971
  optionSetting: import("vue").ComputedRef<any>;
957
- mappingConfig: import("vue").ComputedRef<any>;
958
- widgetOptions: import("vue").ComputedRef<{
959
- label: string;
960
- value: string;
961
- }[]>;
972
+ widgetOptions: import("vue").ComputedRef<any>;
962
973
  NSelect: any;
963
974
  WidgetOptionEnums: {
964
975
  RADIO: string;
@@ -998,6 +1009,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
998
1009
  default: null;
999
1010
  };
1000
1011
  }, {
1012
+ message: import("naive-ui").MessageApi;
1001
1013
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1002
1014
  paramCfg: {
1003
1015
  type: ObjectConstructor;
@@ -1010,28 +1022,195 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1010
1022
  }>> & {
1011
1023
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1012
1024
  }>>;
1013
- handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
1014
- $attrs: {
1015
- [x: string]: unknown;
1016
- };
1025
+ getDynamicSelectData: (params: any, filterApiConfig: any) => Promise<any>;
1017
1026
  emit: (event: "update:modelValue", ...args: any[]) => void;
1018
- selectOptions: import("vue").Ref<any[]>;
1019
1027
  isLoading: import("vue").Ref<boolean>;
1020
1028
  filterApiConfig: import("../../../es/shared/types").AnyObject;
1021
- valueCp: import("vue").WritableComputedRef<any>;
1029
+ classifyFilterList: import("vue").Ref<import("../../../es/shared/types").AnyObject[]>;
1030
+ totalPage: import("vue").Ref<number>;
1031
+ menuProps: {
1032
+ class: string;
1033
+ };
1034
+ curPage: import("vue").Ref<number>;
1035
+ fieldTitleList: import("vue").Ref<any>;
1036
+ selectOptions: import("vue").Ref<any[]>;
1037
+ keywordVal: import("vue").Ref<any>;
1022
1038
  optionSetting: import("vue").ComputedRef<any>;
1023
1039
  isMultiple: import("vue").ComputedRef<boolean>;
1024
- searchOptions: (keyword: string) => Promise<any>;
1040
+ dynamicOptionInfos: import("vue").ComputedRef<any>;
1041
+ isLastPage: import("vue").ComputedRef<boolean>;
1042
+ valueCp: import("vue").ComputedRef<string | number | any[]>;
1043
+ isInitRequest: import("vue").ComputedRef<boolean>;
1044
+ setOptionActive: (selectIds: string[]) => void;
1045
+ handleUpdateSelect: (value: string[] | null) => void;
1046
+ handleUpdatePage: (page: number) => Promise<void>;
1047
+ getOptionsData: (keyword: string, curPage: number) => Promise<any>;
1048
+ isWhole: (value: string) => boolean;
1025
1049
  _handleSearch: (query: string) => Promise<void>;
1026
1050
  handleSearch: (query: string) => Promise<void>;
1027
1051
  handleInitData: () => Promise<void>;
1028
- renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1029
- [key: string]: any;
1030
- }>;
1052
+ handleClear: () => Promise<void>;
1053
+ handleUpdateShow: (show: boolean) => void;
1031
1054
  renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
1032
1055
  [key: string]: any;
1033
1056
  }>;
1057
+ init: () => void;
1034
1058
  NSelect: any;
1059
+ SelectDynamicOption: import("vue").DefineComponent<{
1060
+ dynamicOptionInfo: {
1061
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
1062
+ default: () => {};
1063
+ };
1064
+ fieldTitleList: {
1065
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
1066
+ default: () => never[];
1067
+ };
1068
+ optionList: {
1069
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
1070
+ default: () => never[];
1071
+ };
1072
+ isMultiple: {
1073
+ type: BooleanConstructor;
1074
+ default: boolean;
1075
+ };
1076
+ curPage: {
1077
+ type: NumberConstructor;
1078
+ default: number;
1079
+ };
1080
+ isLastPage: {
1081
+ type: BooleanConstructor;
1082
+ default: boolean;
1083
+ };
1084
+ isShowWhole: {
1085
+ type: BooleanConstructor;
1086
+ default: boolean;
1087
+ };
1088
+ }, {
1089
+ selectMinWidth: number;
1090
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1091
+ dynamicOptionInfo: {
1092
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
1093
+ default: () => {};
1094
+ };
1095
+ fieldTitleList: {
1096
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
1097
+ default: () => never[];
1098
+ };
1099
+ optionList: {
1100
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
1101
+ default: () => never[];
1102
+ };
1103
+ isMultiple: {
1104
+ type: BooleanConstructor;
1105
+ default: boolean;
1106
+ };
1107
+ curPage: {
1108
+ type: NumberConstructor;
1109
+ default: number;
1110
+ };
1111
+ isLastPage: {
1112
+ type: BooleanConstructor;
1113
+ default: boolean;
1114
+ };
1115
+ isShowWhole: {
1116
+ type: BooleanConstructor;
1117
+ default: boolean;
1118
+ };
1119
+ }>> & {
1120
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
1121
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
1122
+ }>>;
1123
+ emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
1124
+ dragEndWidth: import("vue").Ref<number>;
1125
+ showKeys: import("vue").ComputedRef<any>;
1126
+ titleList: import("vue").ComputedRef<string[]>;
1127
+ handleSelect: (option: any) => void;
1128
+ searchByPage: (onePage: number) => void;
1129
+ changeWidth: ({ distance }: any) => void;
1130
+ saveWidth: () => void;
1131
+ NEmpty: any;
1132
+ NButtonGroup: any;
1133
+ NButton: any;
1134
+ NIcon: any;
1135
+ NPopover: any;
1136
+ vFlexibleResize: {
1137
+ mounted(el: any, { value }: any): void;
1138
+ beforeUnmount(el: any): void;
1139
+ };
1140
+ WidgetValEnums: {
1141
+ CUSTOM: string;
1142
+ FIRST_VAL: string;
1143
+ WHOLE: string;
1144
+ NOW: string;
1145
+ TODAY: string;
1146
+ TODAY_START: string;
1147
+ TODAY_END: string;
1148
+ TOMORROW: string;
1149
+ TOMORROW_START: string;
1150
+ TOMORROW_END: string;
1151
+ YESTERDAY: string;
1152
+ YESTERDAY_START: string;
1153
+ YESTERDAY_END: string;
1154
+ THIS_WEEK: string;
1155
+ WEEK_START: string;
1156
+ WEEK_END: string;
1157
+ NEXT_WEEK: string;
1158
+ LAST_WEEK: string;
1159
+ THIS_MONTH: string;
1160
+ MONTH_START: string;
1161
+ MONTH_END: string;
1162
+ NEXT_MONTH: string;
1163
+ LAST_MONTH: string;
1164
+ THIS_QUARTER: string;
1165
+ NEXT_QUARTER: string;
1166
+ LAST_QUARTER: string;
1167
+ THIS_YEAR: string;
1168
+ NEXT_YEAR: string;
1169
+ LAST_YEAR: string;
1170
+ };
1171
+ 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<{}>>, {}>;
1172
+ 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<{}>>, {}>;
1173
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1174
+ dynamicOptionInfo: {
1175
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
1176
+ default: () => {};
1177
+ };
1178
+ fieldTitleList: {
1179
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
1180
+ default: () => never[];
1181
+ };
1182
+ optionList: {
1183
+ type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
1184
+ default: () => never[];
1185
+ };
1186
+ isMultiple: {
1187
+ type: BooleanConstructor;
1188
+ default: boolean;
1189
+ };
1190
+ curPage: {
1191
+ type: NumberConstructor;
1192
+ default: number;
1193
+ };
1194
+ isLastPage: {
1195
+ type: BooleanConstructor;
1196
+ default: boolean;
1197
+ };
1198
+ isShowWhole: {
1199
+ type: BooleanConstructor;
1200
+ default: boolean;
1201
+ };
1202
+ }>> & {
1203
+ onUpdateSelect?: ((...args: any[]) => any) | undefined;
1204
+ onUpdatePage?: ((...args: any[]) => any) | undefined;
1205
+ }, {
1206
+ dynamicOptionInfo: import("../../../es/shared/types").AnyObject;
1207
+ fieldTitleList: import("../../../es/shared/types").AnyObject[];
1208
+ optionList: import("../../../es/shared/types").AnyObject[];
1209
+ isMultiple: boolean;
1210
+ curPage: number;
1211
+ isLastPage: boolean;
1212
+ isShowWhole: boolean;
1213
+ }>;
1035
1214
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1036
1215
  paramCfg: {
1037
1216
  type: ObjectConstructor;
@@ -1137,8 +1316,15 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1137
1316
  valueFormat: import("vue").ComputedRef<string>;
1138
1317
  dateFormat: import("vue").ComputedRef<string>;
1139
1318
  compType: import("vue").ComputedRef<any>;
1319
+ optionSetting: import("vue").ComputedRef<any>;
1320
+ isPastTime: import("vue").ComputedRef<boolean>;
1321
+ isFutureTime: import("vue").ComputedRef<boolean>;
1140
1322
  startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
1141
1323
  endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
1324
+ startDefault: import("vue").ComputedRef<string>;
1325
+ endDefault: import("vue").ComputedRef<string>;
1326
+ startDateFormat: import("vue").ComputedRef<string | null>;
1327
+ endDateFormat: import("vue").ComputedRef<string | null>;
1142
1328
  dateType: any;
1143
1329
  widgetOptions: import("vue").ComputedRef<{
1144
1330
  label: string;
@@ -1147,8 +1333,19 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1147
1333
  presetValCp: import("vue").WritableComputedRef<string>;
1148
1334
  handleChange: (val: any, type: "end" | "start") => void;
1149
1335
  isStartDateDisabled: (ts: number) => boolean;
1336
+ timeStartDisabled: (ts: number) => {
1337
+ isHourDisabled(hour: number): boolean | 0;
1338
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
1339
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
1340
+ };
1150
1341
  isEndDateDisabled: (ts: number) => boolean;
1342
+ timeEndDisabled: (ts: number) => {
1343
+ isHourDisabled(hour: number): boolean | 0;
1344
+ isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
1345
+ isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
1346
+ };
1151
1347
  NSelect: any;
1348
+ NPopover: any;
1152
1349
  CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
1153
1350
  updateUnchangedValue: {
1154
1351
  type: BooleanConstructor;
@@ -1191,6 +1388,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1191
1388
  WidgetValEnums: {
1192
1389
  CUSTOM: string;
1193
1390
  FIRST_VAL: string;
1391
+ WHOLE: string;
1194
1392
  NOW: string;
1195
1393
  TODAY: string;
1196
1394
  TODAY_START: string;
@@ -1249,7 +1447,8 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1249
1447
  default: null;
1250
1448
  };
1251
1449
  }, {
1252
- handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
1450
+ getDynamicLabelData: (params: any, filterApiConfig: any) => Promise<any>;
1451
+ message: import("naive-ui").MessageApi;
1253
1452
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1254
1453
  paramCfg: {
1255
1454
  type: ObjectConstructor;
@@ -1289,7 +1488,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
1289
1488
  INPUT: string;
1290
1489
  SELECT: string;
1291
1490
  DATE: string;
1491
+ DATE_OUT: string;
1292
1492
  DATE_TIME: string;
1493
+ DATETIME_OUT: string;
1293
1494
  CHECKBOX_GROUP: string;
1294
1495
  INPUTNUMBER_RANGE: string;
1295
1496
  DATE_RANGE_OUT: string;